[03:05:41]OFD Sender: No OFD packet to send [03:05:46]OFD Sender: No OFD packet to send [03:05:51]OFD Sender: No OFD packet to send [03:05:56]OFD Sender: No OFD packet to send [03:06:01]OFD Sender: No OFD packet to send [03:06:06]OFD Sender: No OFD packet to send [03:06:11]OFD Sender: No OFD packet to send [03:06:16]OFD Sender: No OFD packet to send [03:06:21]OFD Sender: No OFD packet to send [03:06:26]OFD Sender: No OFD packet to send [03:06:31]OFD Sender: No OFD packet to send [03:06:36]OFD Sender: No OFD packet to send [03:06:41]OFD Sender: No OFD packet to send [03:06:46]OFD Sender: No OFD packet to send [03:06:51]OFD Sender: No OFD packet to send [03:06:56]OFD Sender: No OFD packet to send [03:07:01]OFD Sender: No OFD packet to send [03:07:06]OFD Sender: No OFD packet to send [03:07:11]OFD Sender: No OFD packet to send [03:07:16]OFD Sender: No OFD packet to send [03:07:21]OFD Sender: No OFD packet to send [03:07:26]OFD Sender: No OFD packet to send [03:07:31]OFD Sender: No OFD packet to send [03:07:36]OFD Sender: No OFD packet to send [03:07:41]OFD Sender: No OFD packet to send [03:07:46]OFD Sender: No OFD packet to send [03:07:51]OFD Sender: No OFD packet to send [03:07:56]OFD Sender: No OFD packet to send [03:08:01]OFD Sender: No OFD packet to send [03:08:06]OFD Sender: No OFD packet to send [03:08:11]OFD Sender: No OFD packet to send [03:08:16]OFD Sender: No OFD packet to send [03:08:21]OFD Sender: No OFD packet to send [03:08:26]OFD Sender: No OFD packet to send [03:08:31]OFD Sender: No OFD packet to send [03:08:36]OFD Sender: No OFD packet to send [03:08:42]OFD Sender: No OFD packet to send [03:08:47]OFD Sender: No OFD packet to send [03:08:52]OFD Sender: No OFD packet to send [03:08:57]OFD Sender: No OFD packet to send [03:09:02]OFD Sender: No OFD packet to send [03:09:07]OFD Sender: No OFD packet to send [03:09:12]OFD Sender: No OFD packet to send [03:09:17]OFD Sender: No OFD packet to send [03:09:22]OFD Sender: No OFD packet to send [03:09:27]OFD Sender: No OFD packet to send [03:09:32]OFD Sender: No OFD packet to send [03:09:37]OFD Sender: No OFD packet to send [03:09:42]OFD Sender: No OFD packet to send [03:09:47]OFD Sender: No OFD packet to send [03:09:52]OFD Sender: No OFD packet to send [03:09:57]OFD Sender: No OFD packet to send [03:10:02]OFD Sender: No OFD packet to send [03:10:07]OFD Sender: No OFD packet to send [03:10:12]OFD Sender: No OFD packet to send [03:10:17]OFD Sender: No OFD packet to send [03:10:22]OFD Sender: No OFD packet to send [03:10:27]OFD Sender: No OFD packet to send [03:10:32]OFD Sender: No OFD packet to send [03:10:37]OFD Sender: No OFD packet to send [03:10:42]OFD Sender: No OFD packet to send [03:10:47]OFD Sender: No OFD packet to send [03:10:52]OFD Sender: No OFD packet to send [03:10:57]OFD Sender: No OFD packet to send [03:11:02]OFD Sender: No OFD packet to send [03:11:07]OFD Sender: No OFD packet to send [03:11:12]OFD Sender: No OFD packet to send [03:11:17]OFD Sender: No OFD packet to send [03:11:22]OFD Sender: No OFD packet to send [03:11:27]OFD Sender: No OFD packet to send [03:11:32]OFD Sender: No OFD packet to send [03:11:37]OFD Sender: No OFD packet to send [03:11:42]OFD Sender: No OFD packet to send [03:11:47]OFD Sender: No OFD packet to send [03:11:52]OFD Sender: No OFD packet to send [03:11:57]OFD Sender: No OFD packet to send [03:12:02]OFD Sender: No OFD packet to send [03:12:07]OFD Sender: No OFD packet to send [03:12:12]OFD Sender: No OFD packet to send [03:12:17]OFD Sender: No OFD packet to send [03:12:22]OFD Sender: No OFD packet to send [03:12:27]OFD Sender: No OFD packet to send [03:12:32]OFD Sender: No OFD packet to send [03:12:37]OFD Sender: No OFD packet to send [03:12:42]OFD Sender: No OFD packet to send [03:12:47]OFD Sender: No OFD packet to send [03:12:52]OFD Sender: No OFD packet to send [03:12:57]OFD Sender: No OFD packet to send [03:13:02]OFD Sender: No OFD packet to send [03:13:07]OFD Sender: No OFD packet to send [03:13:12]OFD Sender: No OFD packet to send [03:13:17]OFD Sender: No OFD packet to send [03:13:22]OFD Sender: No OFD packet to send [03:13:27]OFD Sender: No OFD packet to send [03:13:32]OFD Sender: No OFD packet to send [03:13:37]OFD Sender: No OFD packet to send [03:13:42]OFD Sender: No OFD packet to send [03:13:47]OFD Sender: No OFD packet to send [03:13:52]OFD Sender: No OFD packet to send [03:13:57]OFD Sender: No OFD packet to send [03:14:02]OFD Sender: No OFD packet to send [03:14:07]OFD Sender: No OFD packet to send [03:14:12]OFD Sender: No OFD packet to send [03:14:17]OFD Sender: No OFD packet to send [03:14:22]OFD Sender: No OFD packet to send [03:14:27]OFD Sender: No OFD packet to send [03:14:32]OFD Sender: No OFD packet to send [03:14:37]OFD Sender: No OFD packet to send [03:14:42]OFD Sender: No OFD packet to send [03:14:47]OFD Sender: No OFD packet to send [03:14:52]OFD Sender: No OFD packet to send [03:14:57]OFD Sender: No OFD packet to send [03:15:02]OFD Sender: No OFD packet to send [03:15:07]OFD Sender: No OFD packet to send [03:15:12]OFD Sender: No OFD packet to send [03:15:17]OFD Sender: No OFD packet to send [03:15:22]OFD Sender: No OFD packet to send [03:15:27]OFD Sender: No OFD packet to send [03:15:32]OFD Sender: No OFD packet to send [03:15:37]OFD Sender: No OFD packet to send [03:15:42]OFD Sender: No OFD packet to send [03:15:47]OFD Sender: No OFD packet to send [03:15:52]OFD Sender: No OFD packet to send [03:15:57]OFD Sender: No OFD packet to send [03:16:02]OFD Sender: No OFD packet to send [03:16:07]OFD Sender: No OFD packet to send [03:16:12]OFD Sender: No OFD packet to send [03:16:17]OFD Sender: No OFD packet to send [03:16:22]OFD Sender: No OFD packet to send [03:16:27]OFD Sender: No OFD packet to send [03:16:32]OFD Sender: No OFD packet to send [03:16:37]OFD Sender: No OFD packet to send [03:16:42]OFD Sender: No OFD packet to send [03:16:47]OFD Sender: No OFD packet to send [03:16:52]OFD Sender: No OFD packet to send [03:16:57]OFD Sender: No OFD packet to send [03:17:02]OFD Sender: No OFD packet to send [03:17:07]OFD Sender: No OFD packet to send [03:17:12]OFD Sender: No OFD packet to send [03:17:17]OFD Sender: No OFD packet to send [03:17:22]OFD Sender: No OFD packet to send [03:17:27]OFD Sender: No OFD packet to send [03:17:32]OFD Sender: No OFD packet to send [03:17:37]OFD Sender: No OFD packet to send [03:17:42]OFD Sender: No OFD packet to send [03:17:47]OFD Sender: No OFD packet to send [03:17:52]OFD Sender: No OFD packet to send [03:17:57]OFD Sender: No OFD packet to send [03:18:02]OFD Sender: No OFD packet to send [03:18:07]OFD Sender: No OFD packet to send [03:18:12]OFD Sender: No OFD packet to send [03:18:17]OFD Sender: No OFD packet to send [03:18:22]OFD Sender: No OFD packet to send [03:18:27]OFD Sender: No OFD packet to send [03:18:32]OFD Sender: No OFD packet to send [03:18:37]OFD Sender: No OFD packet to send [03:18:42]OFD Sender: No OFD packet to send [03:18:47]OFD Sender: No OFD packet to send [03:18:52]OFD Sender: No OFD packet to send [03:18:57]OFD Sender: No OFD packet to send [03:19:02]OFD Sender: No OFD packet to send [03:19:07]OFD Sender: No OFD packet to send [03:19:12]OFD Sender: No OFD packet to send [03:19:17]OFD Sender: No OFD packet to send [03:19:22]OFD Sender: No OFD packet to send [03:19:27]OFD Sender: No OFD packet to send [03:19:32]OFD Sender: No OFD packet to send [03:19:37]OFD Sender: No OFD packet to send [03:19:42]OFD Sender: No OFD packet to send [03:19:47]OFD Sender: No OFD packet to send [03:19:52]OFD Sender: No OFD packet to send [03:19:57]OFD Sender: No OFD packet to send [03:20:02]OFD Sender: No OFD packet to send [03:20:07]OFD Sender: No OFD packet to send [03:20:12]OFD Sender: No OFD packet to send [03:20:17]OFD Sender: No OFD packet to send [03:20:22]OFD Sender: No OFD packet to send [03:20:27]OFD Sender: No OFD packet to send [03:20:32]OFD Sender: No OFD packet to send [03:20:37]OFD Sender: No OFD packet to send [03:20:42]OFD Sender: No OFD packet to send [03:20:47]OFD Sender: No OFD packet to send [03:20:52]OFD Sender: No OFD packet to send [03:20:57]OFD Sender: No OFD packet to send [03:21:02]OFD Sender: No OFD packet to send [03:21:07]OFD Sender: No OFD packet to send [03:21:12]OFD Sender: No OFD packet to send [03:21:17]OFD Sender: No OFD packet to send [03:21:22]OFD Sender: No OFD packet to send [03:21:27]OFD Sender: No OFD packet to send [03:21:32]OFD Sender: No OFD packet to send [03:21:37]OFD Sender: No OFD packet to send [03:21:42]OFD Sender: No OFD packet to send [03:21:47]OFD Sender: No OFD packet to send [03:21:52]OFD Sender: No OFD packet to send [03:21:57]OFD Sender: No OFD packet to send [03:22:02]OFD Sender: No OFD packet to send [03:22:07]OFD Sender: No OFD packet to send [03:22:12]OFD Sender: No OFD packet to send [03:22:17]OFD Sender: No OFD packet to send [03:22:22]OFD Sender: No OFD packet to send [03:22:27]OFD Sender: No OFD packet to send [03:22:32]OFD Sender: No OFD packet to send [03:22:37]OFD Sender: No OFD packet to send [03:22:42]OFD Sender: No OFD packet to send [03:22:47]OFD Sender: No OFD packet to send [03:22:52]OFD Sender: No OFD packet to send [03:22:57]OFD Sender: No OFD packet to send [03:23:02]OFD Sender: No OFD packet to send [03:23:07]OFD Sender: No OFD packet to send [03:23:12]OFD Sender: No OFD packet to send [03:23:17]OFD Sender: No OFD packet to send [03:23:21]accept exits with 9 [03:23:21]New connection [03:23:21]New thread 3067411812 created [03:23:21]Thread 3067555172 joined [03:23:21]Waiting for new connection... [03:23:21] Sock 9.Parse request [03:23:21]Sock 9.Check first char [03:23:21]Sock 9.First char is OK [03:23:21]request: POST /json_proto HTTP/1.0 [03:23:21]Method: POST [03:23:21]URL: /json_proto [03:23:21]Method is POST - this is cgi request [03:23:21]url: /json_proto [03:23:21]query_string will be loaded in cgi processing [03:23:21]execute_cgi json_proto POST (null) [03:23:21]execute_cgi path=json_proto method=POST [03:23:21]POST find Content-Length [03:23:21]Host: 172.17.36.131:8080 [03:23:21]Content-Length: 632 [03:23:21]Content-Type: application/json [03:23:21] [03:23:21]POST finish read [03:23:21]Found Content-Length = 632 [03:23:21]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100022", "tax_sys" : 0, "items" : [ { "code": "4700000160211", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 0,5\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 40.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [03:23:21]execute_script... [03:23:21]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100022", "tax_sys" : 0, "items" : [ { "code": "4700000160211", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 0,5\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 40.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [03:23:21]POST & json_proto [03:23:21]process_json_proto [03:23:21]json parsed OK: [03:23:21]protocol is kg_v1.0 [03:23:21]action value=close_receipt [03:23:21]process_action close_receipt [03:23:21]cmd_close_receipt [03:23:21]MH_GetDate [03:23:21]Write to MH i2c: F0 00 00 CC 30 EB [03:23:21]Write i2c OK [03:23:21]MH_I2C_Read... [03:23:21]Read from MH i2c: F0 [03:23:21]MH_I2C_Read... [03:23:21]Read from MH i2c: F0 09 00 [03:23:21]MH_I2C_Read... [03:23:21]Read from MH i2c: F0 09 00 CC 30 00 B4 88 5E 66 A7 4C 98 65 E4 [03:23:21]GetLastDocTimeStamp 1717463794 [03:23:21]current date 1717471412 [03:23:21]FM_GetShiftState [03:23:21]SAM_PROTO_GetShiftState [03:23:21]wFMCommunicate request_size=4 [03:23:21]MH_SAM_APDU [03:23:21]CAPDU: 80 13 01 00 [03:23:21]Write to MH i2c: E2 08 00 CD 30 80 13 01 00 00 00 00 00 7A [03:23:21]Write i2c OK [03:23:21]MH_I2C_Read... [03:23:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:23:21]Read from MH i2c: E2 [03:23:21]MH_I2C_Read... [03:23:21]Read from MH i2c: E2 0E 00 [03:23:21]MH_I2C_Read... [03:23:21]Read from MH i2c: E2 0E 00 CD 30 00 09 00 01 35 5B 5E 66 00 00 00 00 90 00 DA [03:23:21]RAPDU: 09 00 01 35 5B 5E 66 00 00 00 00 90 00 [03:23:21]wFMCommunicate OK [03:23:21]SAM_PROTO_GetShiftState done [03:23:21]FM_GetShiftState done [03:23:21]opened in 1717459765 [03:23:21]opened+sec_in_day 1717546165 [03:23:21]quantity*price = 4000 [03:23:21]sum+1 = 4001 [03:23:21]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 40.00 НСП 1% : 0.35 НДС 12% : 4.25 Наличными: 40.00 Безнал.: 0.00 Место: АЗС № 62 "Партнер Нефть" Адрес: 720001, г. Балыкчы, ул. Абдрахманова 325 Б, 42.462761, 76.214931 СНО: Общий режим Чек 4 04.06.2024 03:23 Смена: 368 ФФД: 1.0 ЗНМ: 0300000080 РНМ: 0000000000096838 Версия ККМ: 001 ФМ: 0000000000874859 ФД: 34660 ФПД: 163507852590792 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T032332&type=1&operation_type=1&fn_number=0000000000874859&fd_number=34660&fm=163507852590792&tin=02508201610067®Number=0000000000096838&sum=4000 0 [03:23:22]StoreToDocumentArchive [03:23:22]shift 368 fd 34660 [03:23:22]save to /storage/0368/doc_00034660 [03:23:22]save last doc name /storage/0368/doc_00034660 to /storage/kkm_last_doc_name [03:23:22]save OK [03:23:22]Clear old archive folders... [03:23:22]ProcessDocumentItem done err = 0, tmpTLVsize=271 [03:23:22]tlvbuf is 01F5D450 [03:23:22]SAM_PROTO_ClearQueue [03:23:22]wFMCommunicate request_size=4 [03:23:22]MH_SAM_APDU [03:23:22]CAPDU: 80 09 00 00 [03:23:22]Write to MH i2c: E2 08 00 DA 30 80 09 00 00 00 00 00 00 7C [03:23:22]Write i2c OK [03:23:22]MH_I2C_Read... [03:23:22]OFD Sender: No OFD packet to send [03:23:22]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [03:23:22]Read from MH i2c: E2 [03:23:22]MH_I2C_Read... [03:23:22]Read from MH i2c: E2 03 00 [03:23:22]MH_I2C_Read... [03:23:22]Read from MH i2c: E2 03 00 DA 30 00 90 00 7E [03:23:22]RAPDU: 90 00 [03:23:22]wFMCommunicate OK [03:23:22]SAM_PROTO_ClearQueue done [03:23:22]KKMCreateOFDPacket [03:23:22]OFDProtocolAddRootSTLVToBuf [03:23:22]FM_MakeSignedData [03:23:22]FM_MakeSignedData [03:23:22]SAM_PROTO_SignData [03:23:22]wFMCommunicate request_size=4 [03:23:22]MH_SAM_APDU [03:23:22]CAPDU: 80 0D 01 02 [03:23:22]Write to MH i2c: E2 08 00 DB 30 80 0D 01 02 00 00 00 00 84 [03:23:22]Write i2c OK [03:23:22]MH_I2C_Read... [03:23:22]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [03:23:22]Read from MH i2c: E2 [03:23:22]MH_I2C_Read... [03:23:22]Read from MH i2c: E2 03 00 [03:23:22]MH_I2C_Read... [03:23:22]Read from MH i2c: E2 03 00 DB 30 00 90 00 7F [03:23:22]RAPDU: 90 00 [03:23:22]wFMCommunicate OK [03:23:22]wFMCommunicate request_size=255 [03:23:22]MH_SAM_APDU [03:23:22]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 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 B4 88 5E 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 30 30 30 30 30 30 30 30 30 [03:23:22]Write to MH i2c: E2 02 01 DC 30 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 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 B4 88 5E 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 30 30 30 30 30 30 30 30 30 00 00 E7 [03:23:22]Write i2c OK [03:23:22]MH_I2C_Read... [03:23:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:23:23]Read from MH i2c: E2 [03:23:23]MH_I2C_Read... [03:23:23]Read from MH i2c: E2 03 00 [03:23:23]MH_I2C_Read... [03:23:23]Read from MH i2c: E2 03 00 DC 30 00 90 00 80 [03:23:23]RAPDU: 90 00 [03:23:23]wFMCommunicate OK [03:23:23]wFMCommunicate request_size=30 [03:23:23]MH_SAM_APDU [03:23:23]CAPDU: 80 0D 02 02 19 30 38 37 34 38 35 39 10 04 04 00 64 87 00 00 35 04 06 00 94 B5 A3 78 BE C8 [03:23:23]Write to MH i2c: E2 21 00 DD 30 80 0D 02 02 19 00 30 38 37 34 38 35 39 10 04 04 00 64 87 00 00 35 04 06 00 94 B5 A3 78 BE C8 00 00 5E [03:23:23]Write i2c OK [03:23:23]MH_I2C_Read... [03:23:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:23:23]Read from MH i2c: E2 [03:23:23]MH_I2C_Read... [03:23:23]Read from MH i2c: E2 03 00 [03:23:23]MH_I2C_Read... [03:23:23]Read from MH i2c: E2 03 00 DD 30 00 90 00 81 [03:23:23]RAPDU: 90 00 [03:23:23]wFMCommunicate OK [03:23:23]wFMCommunicate request_size=4 [03:23:23]MH_SAM_APDU [03:23:23]CAPDU: 80 0D 03 02 [03:23:23]Write to MH i2c: E2 08 00 DE 30 80 0D 03 02 00 00 00 00 89 [03:23:23]Write i2c OK [03:23:23]MH_I2C_Read... [03:23:23]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [03:23:23]Read from MH i2c: E2 [03:23:23]MH_I2C_Read... [03:23:23]Read from MH i2c: E2 0B 00 [03:23:23]MH_I2C_Read... [03:23:23]Read from MH i2c: E2 0B 00 DE 30 00 8F A0 E5 21 A6 57 01 D3 90 00 90 [03:23:23]RAPDU: 8F A0 E5 21 A6 57 01 D3 90 00 [03:23:23]wFMCommunicate OK [03:23:23]SAM_PROTO_SignData done [03:23:23]FM_MakeSignedData done [03:23:23]CreateOFDProtocolMessage [03:23:23]wFMCommunicate request_size=4 [03:23:23]MH_SAM_APDU [03:23:23]CAPDU: 80 11 00 00 [03:23:23]Write to MH i2c: E2 08 00 DF 30 80 11 00 00 00 00 00 00 89 [03:23:23]Write i2c OK [03:23:23]MH_I2C_Read... [03:23:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [03:23:23]Read from MH i2c: E2 [03:23:23]MH_I2C_Read... [03:23:23]Read from MH i2c: E2 17 00 [03:23:23]MH_I2C_Read... [03:23:23]Read from MH i2c: E2 17 00 DF 30 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 E5 [03:23:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 [03:23:23]wFMCommunicate OK [03:23:23]CreateOFDProtocolMessage done [03:23:23]OFDSenderStorePacket 34660 [03:23:23]StoreOFDPacket docnum=34660 [03:23:23]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 23 01 00 00 2A 41 1B 01 43 DD 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 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 B4 88 5E 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 64 87 00 00 35 04 06 00 94 B5 A3 78 BE C8 8F A0 E5 21 A6 57 01 D3 [03:23:23]CheckFolder [03:23:23]dirname=/storage/ofd_packets [03:23:23]CheckFolder done [03:23:23]ProducePacketName [03:23:23]name=ofd_packets/00034660 [03:23:23]NVStorageSaveData ofd_packets/00034660 [03:23:23]File name is /storage/ofd_packets/00034660 [03:23:23]Write 321 bytes [03:23:23]NVStorageSaveData done [03:23:23]OFDSenderStorePacket done [03:23:23]KKMCreateOFDPacket done [03:23:23]NVStorageSaveData kkm_last_timestamp [03:23:23]File name is /storage/kkm_last_timestamp [03:23:23]Write 4 bytes [03:23:23]NVStorageSaveData done [03:23:23]ExternCall_PrintAddStr [03:23:23]wPrintStart [03:23:23]Write to MH i2c: 01 00 00 E0 30 10 [03:23:23]OFD Sender: Processing packet 34660 [packets to send 17, broken 16] [03:23:23]ProducePacketName [03:23:23]name=ofd_packets/00034660 [03:23:23]OFD Sender: To server: pG, [03:23:23]CommunicateWithHost lk.salyk.kg:30040 [03:23:23]ConnectInit lk.salyk.kg [03:23:23]Write i2c OK [03:23:23]MH_I2C_Read... [03:23:23]Read from MH i2c: 01 [03:23:23]MH_I2C_Read... [03:23:23]Read from MH i2c: 01 07 00 [03:23:23]MH_I2C_Read... [03:23:23]Read from MH i2c: 01 07 00 E0 30 00 00 00 00 00 FF 0F 25 [03:23:23]RasterBufferAndPrint [03:23:23]line Счет N : (3)100022 [03:23:23]line ИНН: 02508201610067 [03:23:23]line Контрольно-Кассовый Чек [03:23:23]line ПРОДАЖА [03:23:23]line Товар: 4700000160211 [03:23:23]line Вода Легенда 0,5л [03:23:23]line 1.000 * 40.00 [03:23:23]line = 40.00 [03:23:23]line НДС 12% НСП 1% [03:23:23]line > о реализуемом товаре [03:23:23]line ИТОГО: 40.00 [03:23:23]line НСП 1% : 0.35 [03:23:23]line НДС 12% : 4.25 [03:23:23]line Наличными: 40.00 [03:23:23]line Безнал.: 0.00 [03:23:23]line Место: АЗС № 62 "Партнер Нефть" [03:23:23]line Адрес: 720001, г. Балыкчы, ул. Абдрахманова 325 Б, 42.462761, 76.214931 [03:23:23]line СНО: Общий режим [03:23:23]line Чек 4 04.06.2024 03:23 [03:23:23]line Смена: 368 ФФД: 1.0 [03:23:23]line ЗНМ: 0300000080 [03:23:23]line РНМ: 0000000000096838 [03:23:23]line Версия ККМ: 001 [03:23:23]line ФМ: 0000000000874859 [03:23:23]line ФД: 34660 [03:23:23]line ФПД: 163507852590792 [03:23:23]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T032332&type=1&operation_type=1&fn_number=0000000000874859&fd_number=34660&fm=163507852590792&tin=02508201610067®Number=0000000000096838&sum=4000 [03:23:23]line 0 [03:23:23]Connected sock=10 [03:23:23]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 23 01 00 00 2A 41 1B 01 43 DD 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 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 B4 88 5E 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 64 87 00 00 35 04 06 00 94 B5 A3 78 BE C8 8F A0 E5 21 A6 57 01 D3 [03:23:23]written 0, free lines is 4095 [03:23:23]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 4F 00 00 00 58 AE 47 00 3A 46 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 64 87 00 00 F4 03 04 00 F5 32 5E 66 B6 04 01 00 00 65 22 D7 64 73 D0 6E 8D [03:23:23]CommunicateWithHost err = 0 [03:23:23]CheckOFDResponse [03:23:23]1017 (14) - 77093643461234 [03:23:23]1041 (16) - 0000000000874859 [03:23:23]1040 (4) - 34660 [03:23:23]1012 (4) - 03.06.2024 21:17 [03:23:23]1206 (1) - 0 [03:23:23]OFD Sender: Remove packet 34660 [03:23:23]ProducePacketName [03:23:23]name=ofd_packets/00034660 [03:23:23]NVStorageDeleteData [03:23:24]Write to MH i2c: 01 00 00 08 31 39 [03:23:24]Write i2c OK [03:23:24]MH_I2C_Read... [03:23:24]Read from MH i2c: 01 [03:23:24]MH_I2C_Read... [03:23:24]Read from MH i2c: 01 07 00 [03:23:24]MH_I2C_Read... [03:23:24]Read from MH i2c: 01 07 00 08 31 00 00 00 00 00 1D 0D 6A [03:23:24]RasterBufferAndPrint [03:23:24]line [03:23:24]line [03:23:24]line [03:23:24]line [03:23:24]line [03:23:24]written 0, free lines is 3365 [03:23:24]MH_Cut [03:23:24]Write to MH i2c: D1 01 00 0F 31 01 12 [03:23:24]Write i2c OK [03:23:24]MH_I2C_Read... [03:23:24]Read from MH i2c: D1 [03:23:24]MH_I2C_Read... [03:23:24]Read from MH i2c: D1 01 00 [03:23:24]MH_I2C_Read... [03:23:24]Read from MH i2c: D1 01 00 0F 31 00 11 [03:23:24]Write to MH i2c: 01 00 00 10 31 41 [03:23:24]Write i2c OK [03:23:24]MH_I2C_Read... [03:23:24]OFD Sender: No OFD packet to send [03:23:24]*** Cut start [03:23:24]*** Partial cut [03:23:24]*** CUTSNS_PIN = 1 [03:23:24]*** CUTSNS_PIN = 0 [03:23:24]*** Brake cut motor [03:23:25]Read from MH i2c: 01 [03:23:25]MH_I2C_Read... [03:23:25]*** Stop cut motor [03:23:25]*** Cut end [03:23:25]Read from MH i2c: 01 07 00 [03:23:25]MH_I2C_Read... [03:23:25]Read from MH i2c: 01 07 00 10 31 00 00 00 00 00 FF 0F 56 [03:23:25]process_action close_receipt done [03:23:25]requested_data is exist [03:23:25]produce_requested_data [03:23:25]requested_item fm.sn is exist - process it [03:23:25]wFMCommunicate request_size=4 [03:23:25]MH_SAM_APDU [03:23:25]CAPDU: 80 11 00 00 [03:23:25]Write to MH i2c: E2 08 00 11 31 80 11 00 00 00 00 00 00 BC [03:23:25]Write i2c OK [03:23:25]MH_I2C_Read... [03:23:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [03:23:25]Read from MH i2c: E2 [03:23:25]MH_I2C_Read... [03:23:25]Read from MH i2c: E2 17 00 [03:23:25]MH_I2C_Read... [03:23:25]Read from MH i2c: E2 17 00 11 31 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 18 [03:23:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 [03:23:25]wFMCommunicate OK [03:23:25]requested_item fd.num is exist - process it [03:23:25]SAM_PROTO_GetFieldsCounters [03:23:25]wFMCommunicate request_size=4 [03:23:25]MH_SAM_APDU [03:23:25]CAPDU: 80 13 00 00 [03:23:25]Write to MH i2c: E2 08 00 12 31 80 13 00 00 00 00 00 00 BF [03:23:25]Write i2c OK [03:23:25]MH_I2C_Read... [03:23:25]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [03:23:25]Read from MH i2c: E2 [03:23:25]MH_I2C_Read... [03:23:25]Read from MH i2c: E2 62 00 [03:23:25]MH_I2C_Read... [03:23:25]Read from MH i2c: E2 62 00 12 31 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 10 04 04 00 64 87 00 00 0E 04 04 00 70 01 00 00 12 04 04 00 04 00 00 00 5E 04 04 00 04 00 00 00 57 04 04 00 05 00 00 00 19 04 04 00 00 00 00 00 90 00 5A [03:23:25]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 10 04 04 00 64 87 00 00 0E 04 04 00 70 01 00 00 12 04 04 00 04 00 00 00 5E 04 04 00 04 00 00 00 57 04 04 00 05 00 00 00 19 04 04 00 00 00 00 00 90 00 [03:23:25]wFMCommunicate OK [03:23:25]SAM_PROTO_GetFieldsCounters done [03:23:25]requested_item shift.num is exist - process it [03:23:25]requested_item shift.opened is exist - process it [03:23:25]req_shift_opened [03:23:25]FM_GetShiftState [03:23:25]SAM_PROTO_GetShiftState [03:23:25]wFMCommunicate request_size=4 [03:23:25]MH_SAM_APDU [03:23:25]CAPDU: 80 13 01 00 [03:23:25]Write to MH i2c: E2 08 00 13 31 80 13 01 00 00 00 00 00 C1 [03:23:25]Write i2c OK [03:23:25]MH_I2C_Read... [03:23:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:23:25]Read from MH i2c: E2 [03:23:25]MH_I2C_Read... [03:23:25]Read from MH i2c: E2 0E 00 [03:23:25]MH_I2C_Read... [03:23:25]Read from MH i2c: E2 0E 00 13 31 00 09 00 01 35 5B 5E 66 00 00 00 00 90 00 21 [03:23:25]RAPDU: 09 00 01 35 5B 5E 66 00 00 00 00 90 00 [03:23:25]wFMCommunicate OK [03:23:25]SAM_PROTO_GetShiftState done [03:23:25]FM_GetShiftState done [03:23:25]req_shift_opened done [03:23:25]requested_item shift.open_date is exist - process it [03:23:25]req_shift_open_date [03:23:25]req_shift_open_date done [03:23:25]produce_requested_data done [03:23:25]produce_requested_data return {"fm.sn":"0000000000874859","fd.num":34660,"shift.num":368,"shift.opened":1,"shift.open_date":1717459765} [03:23:25]process_action_free close_receipt [03:23:25]json_value_free [03:23:25]json_value_free done [03:23:25]process_json_proto returns [03:23:25]Send response to host [03:23:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874859","fd.num":34660,"shift.num":368,"shift.opened":1,"shift.open_date":1717459765}}} [03:23:25]free response buf [03:23:25]execute_script done [03:23:25]execute_script returns [03:23:25]free content buf [03:23:25]Sock 9.Close socket [03:23:25]Sock 9.Thread stoped [03:23:29]OFD Sender: No OFD packet to send [03:23:34]OFD Sender: No OFD packet to send [03:23:39]OFD Sender: No OFD packet to send [03:23:44]OFD Sender: No OFD packet to send [03:23:49]OFD Sender: No OFD packet to send [03:23:54]OFD Sender: No OFD packet to send [03:23:59]OFD Sender: No OFD packet to send [03:24:04]OFD Sender: No OFD packet to send [03:24:09]OFD Sender: No OFD packet to send [03:24:14]OFD Sender: No OFD packet to send [03:24:19]OFD Sender: No OFD packet to send [03:24:24]OFD Sender: No OFD packet to send [03:24:29]OFD Sender: No OFD packet to send [03:24:34]OFD Sender: No OFD packet to send [03:24:39]OFD Sender: No OFD packet to send [03:24:44]OFD Sender: No OFD packet to send [03:24:49]OFD Sender: No OFD packet to send [03:24:54]OFD Sender: No OFD packet to send [03:24:59]OFD Sender: No OFD packet to send [03:25:04]OFD Sender: No OFD packet to send [03:25:09]OFD Sender: No OFD packet to send [03:25:14]OFD Sender: No OFD packet to send [03:25:19]OFD Sender: No OFD packet to send [03:25:24]OFD Sender: No OFD packet to send [03:25:29]OFD Sender: No OFD packet to send [03:25:34]OFD Sender: No OFD packet to send [03:25:39]OFD Sender: No OFD packet to send [03:25:44]OFD Sender: No OFD packet to send [03:25:49]OFD Sender: No OFD packet to send [03:25:54]OFD Sender: No OFD packet to send [03:25:59]OFD Sender: No OFD packet to send [03:26:04]OFD Sender: No OFD packet to send [03:26:09]OFD Sender: No OFD packet to send [03:26:14]OFD Sender: No OFD packet to send [03:26:19]OFD Sender: No OFD packet to send [03:26:24]OFD Sender: No OFD packet to send [03:26:29]OFD Sender: No OFD packet to send [03:26:34]OFD Sender: No OFD packet to send [03:26:39]OFD Sender: No OFD packet to send [03:26:44]OFD Sender: No OFD packet to send [03:26:49]OFD Sender: No OFD packet to send [03:26:54]OFD Sender: No OFD packet to send [03:26:59]OFD Sender: No OFD packet to send [03:27:04]OFD Sender: No OFD packet to send [03:27:09]OFD Sender: No OFD packet to send [03:27:14]OFD Sender: No OFD packet to send [03:27:19]OFD Sender: No OFD packet to send [03:27:24]OFD Sender: No OFD packet to send [03:27:29]OFD Sender: No OFD packet to send [03:27:34]OFD Sender: No OFD packet to send [03:27:39]OFD Sender: No OFD packet to send [03:27:44]OFD Sender: No OFD packet to send [03:27:49]OFD Sender: No OFD packet to send [03:27:54]OFD Sender: No OFD packet to send [03:27:59]OFD Sender: No OFD packet to send [03:28:04]OFD Sender: No OFD packet to send [03:28:09]OFD Sender: No OFD packet to send [03:28:14]OFD Sender: No OFD packet to send [03:28:19]OFD Sender: No OFD packet to send [03:28:24]OFD Sender: No OFD packet to send [03:28:29]OFD Sender: No OFD packet to send [03:28:34]OFD Sender: No OFD packet to send [03:28:39]OFD Sender: No OFD packet to send [03:28:44]OFD Sender: No OFD packet to send [03:28:49]OFD Sender: No OFD packet to send [03:28:54]OFD Sender: No OFD packet to send [03:28:59]OFD Sender: No OFD packet to send [03:29:04]OFD Sender: No OFD packet to send [03:29:09]OFD Sender: No OFD packet to send [03:29:14]OFD Sender: No OFD packet to send [03:29:19]OFD Sender: No OFD packet to send [03:29:24]OFD Sender: No OFD packet to send [03:29:29]OFD Sender: No OFD packet to send [03:29:34]OFD Sender: No OFD packet to send [03:29:39]OFD Sender: No OFD packet to send [03:29:44]OFD Sender: No OFD packet to send [03:29:49]OFD Sender: No OFD packet to send [03:29:54]OFD Sender: No OFD packet to send [03:29:59]OFD Sender: No OFD packet to send [03:30:04]OFD Sender: No OFD packet to send [03:30:09]OFD Sender: No OFD packet to send [03:30:14]OFD Sender: No OFD packet to send [03:30:19]OFD Sender: No OFD packet to send [03:30:24]OFD Sender: No OFD packet to send [03:30:29]OFD Sender: No OFD packet to send [03:30:34]OFD Sender: No OFD packet to send [03:30:39]OFD Sender: No OFD packet to send [03:30:44]OFD Sender: No OFD packet to send [03:30:49]OFD Sender: No OFD packet to send [03:30:54]OFD Sender: No OFD packet to send [03:30:59]OFD Sender: No OFD packet to send [03:31:04]OFD Sender: No OFD packet to send [03:31:09]OFD Sender: No OFD packet to send [03:31:14]OFD Sender: No OFD packet to send [03:31:19]OFD Sender: No OFD packet to send [03:31:24]OFD Sender: No OFD packet to send [03:31:29]OFD Sender: No OFD packet to send [03:31:34]OFD Sender: No OFD packet to send [03:31:39]OFD Sender: No OFD packet to send [03:31:44]OFD Sender: No OFD packet to send [03:31:49]OFD Sender: No OFD packet to send [03:31:54]OFD Sender: No OFD packet to send [03:31:59]OFD Sender: No OFD packet to send [03:32:04]OFD Sender: No OFD packet to send [03:32:09]OFD Sender: No OFD packet to send [03:32:14]OFD Sender: No OFD packet to send [03:32:19]OFD Sender: No OFD packet to send [03:32:24]OFD Sender: No OFD packet to send [03:32:29]OFD Sender: No OFD packet to send [03:32:34]OFD Sender: No OFD packet to send [03:32:39]OFD Sender: No OFD packet to send [03:32:44]OFD Sender: No OFD packet to send [03:32:49]OFD Sender: No OFD packet to send [03:32:54]OFD Sender: No OFD packet to send [03:32:59]OFD Sender: No OFD packet to send [03:33:04]OFD Sender: No OFD packet to send [03:33:09]OFD Sender: No OFD packet to send [03:33:14]OFD Sender: No OFD packet to send [03:33:19]OFD Sender: No OFD packet to send [03:33:24]OFD Sender: No OFD packet to send [03:33:29]OFD Sender: No OFD packet to send [03:33:34]OFD Sender: No OFD packet to send [03:33:39]OFD Sender: No OFD packet to send [03:33:44]OFD Sender: No OFD packet to send [03:33:49]OFD Sender: No OFD packet to send [03:33:54]OFD Sender: No OFD packet to send [03:33:59]OFD Sender: No OFD packet to send [03:34:04]OFD Sender: No OFD packet to send [03:34:09]OFD Sender: No OFD packet to send [03:34:14]OFD Sender: No OFD packet to send [03:34:19]OFD Sender: No OFD packet to send [03:34:24]OFD Sender: No OFD packet to send [03:34:29]OFD Sender: No OFD packet to send [03:34:34]OFD Sender: No OFD packet to send [03:34:39]OFD Sender: No OFD packet to send [03:34:44]OFD Sender: No OFD packet to send [03:34:49]OFD Sender: No OFD packet to send [03:34:54]OFD Sender: No OFD packet to send [03:34:59]OFD Sender: No OFD packet to send [03:35:04]OFD Sender: No OFD packet to send [03:35:09]OFD Sender: No OFD packet to send [03:35:14]OFD Sender: No OFD packet to send [03:35:19]OFD Sender: No OFD packet to send [03:35:24]OFD Sender: No OFD packet to send [03:35:29]OFD Sender: No OFD packet to send [03:35:34]OFD Sender: No OFD packet to send [03:35:39]OFD Sender: No OFD packet to send [03:35:44]OFD Sender: No OFD packet to send [03:35:49]OFD Sender: No OFD packet to send [03:35:54]OFD Sender: No OFD packet to send [03:35:59]OFD Sender: No OFD packet to send [03:36:04]OFD Sender: No OFD packet to send [03:36:09]OFD Sender: No OFD packet to send [03:36:14]OFD Sender: No OFD packet to send [03:36:19]OFD Sender: No OFD packet to send [03:36:24]OFD Sender: No OFD packet to send [03:36:29]OFD Sender: No OFD packet to send [03:36:34]OFD Sender: No OFD packet to send [03:36:39]OFD Sender: No OFD packet to send [03:36:44]OFD Sender: No OFD packet to send [03:36:49]OFD Sender: No OFD packet to send [03:36:54]OFD Sender: No OFD packet to send [03:36:59]OFD Sender: No OFD packet to send [03:37:04]OFD Sender: No OFD packet to send [03:37:09]OFD Sender: No OFD packet to send [03:37:14]OFD Sender: No OFD packet to send [03:37:19]OFD Sender: No OFD packet to send [03:37:24]OFD Sender: No OFD packet to send [03:37:30]OFD Sender: No OFD packet to send [03:37:35]OFD Sender: No OFD packet to send [03:37:40]OFD Sender: No OFD packet to send [03:37:45]OFD Sender: No OFD packet to send [03:37:50]OFD Sender: No OFD packet to send [03:37:55]OFD Sender: No OFD packet to send [03:38:00]OFD Sender: No OFD packet to send [03:38:05]OFD Sender: No OFD packet to send [03:38:10]OFD Sender: No OFD packet to send [03:38:15]OFD Sender: No OFD packet to send [03:38:20]OFD Sender: No OFD packet to send [03:38:25]OFD Sender: No OFD packet to send [03:38:30]OFD Sender: No OFD packet to send [03:38:35]OFD Sender: No OFD packet to send [03:38:40]OFD Sender: No OFD packet to send [03:38:45]OFD Sender: No OFD packet to send [03:38:50]OFD Sender: No OFD packet to send [03:38:55]OFD Sender: No OFD packet to send [03:39:00]OFD Sender: No OFD packet to send [03:39:05]OFD Sender: No OFD packet to send [03:39:10]OFD Sender: No OFD packet to send [03:39:15]OFD Sender: No OFD packet to send [03:39:20]OFD Sender: No OFD packet to send [03:39:25]OFD Sender: No OFD packet to send [03:39:30]OFD Sender: No OFD packet to send [03:39:35]OFD Sender: No OFD packet to send [03:39:40]OFD Sender: No OFD packet to send [03:39:45]OFD Sender: No OFD packet to send [03:39:50]OFD Sender: No OFD packet to send [03:39:55]OFD Sender: No OFD packet to send [03:40:00]OFD Sender: No OFD packet to send [03:40:05]OFD Sender: No OFD packet to send [03:40:10]OFD Sender: No OFD packet to send [03:40:15]OFD Sender: No OFD packet to send [03:40:20]OFD Sender: No OFD packet to send [03:40:25]OFD Sender: No OFD packet to send [03:40:30]OFD Sender: No OFD packet to send [03:40:35]OFD Sender: No OFD packet to send [03:40:40]OFD Sender: No OFD packet to send [03:40:45]OFD Sender: No OFD packet to send [03:40:50]OFD Sender: No OFD packet to send [03:40:55]OFD Sender: No OFD packet to send [03:41:00]OFD Sender: No OFD packet to send [03:41:05]OFD Sender: No OFD packet to send [03:41:10]OFD Sender: No OFD packet to send [03:41:15]OFD Sender: No OFD packet to send [03:41:20]OFD Sender: No OFD packet to send [03:41:25]OFD Sender: No OFD packet to send [03:41:30]OFD Sender: No OFD packet to send [03:41:35]OFD Sender: No OFD packet to send [03:41:40]OFD Sender: No OFD packet to send [03:41:45]OFD Sender: No OFD packet to send [03:41:50]OFD Sender: No OFD packet to send [03:41:55]OFD Sender: No OFD packet to send [03:42:00]OFD Sender: No OFD packet to send [03:42:05]OFD Sender: No OFD packet to send [03:42:10]OFD Sender: No OFD packet to send [03:42:15]OFD Sender: No OFD packet to send [03:42:20]OFD Sender: No OFD packet to send [03:42:25]OFD Sender: No OFD packet to send [03:42:30]OFD Sender: No OFD packet to send [03:42:35]OFD Sender: No OFD packet to send [03:42:40]OFD Sender: No OFD packet to send [03:42:45]OFD Sender: No OFD packet to send [03:42:50]OFD Sender: No OFD packet to send [03:42:55]OFD Sender: No OFD packet to send [03:43:00]OFD Sender: No OFD packet to send [03:43:05]OFD Sender: No OFD packet to send [03:43:10]OFD Sender: No OFD packet to send [03:43:15]OFD Sender: No OFD packet to send [03:43:20]OFD Sender: No OFD packet to send [03:43:25]OFD Sender: No OFD packet to send [03:43:30]OFD Sender: No OFD packet to send [03:43:35]OFD Sender: No OFD packet to send [03:43:40]OFD Sender: No OFD packet to send [03:43:45]OFD Sender: No OFD packet to send [03:43:50]OFD Sender: No OFD packet to send [03:43:55]OFD Sender: No OFD packet to send [03:44:00]OFD Sender: No OFD packet to send [03:44:05]OFD Sender: No OFD packet to send [03:44:10]OFD Sender: No OFD packet to send [03:44:15]OFD Sender: No OFD packet to send [03:44:20]OFD Sender: No OFD packet to send [03:44:25]OFD Sender: No OFD packet to send [03:44:30]OFD Sender: No OFD packet to send [03:44:35]OFD Sender: No OFD packet to send [03:44:40]OFD Sender: No OFD packet to send [03:44:45]OFD Sender: No OFD packet to send [03:44:50]OFD Sender: No OFD packet to send [03:44:55]OFD Sender: No OFD packet to send [03:45:00]OFD Sender: No OFD packet to send [03:45:05]OFD Sender: No OFD packet to send [03:45:10]OFD Sender: No OFD packet to send [03:45:15]OFD Sender: No OFD packet to send [03:45:20]OFD Sender: No OFD packet to send [03:45:25]OFD Sender: No OFD packet to send [03:45:30]OFD Sender: No OFD packet to send [03:45:35]OFD Sender: No OFD packet to send [03:45:40]OFD Sender: No OFD packet to send [03:45:45]OFD Sender: No OFD packet to send [03:45:50]OFD Sender: No OFD packet to send [03:45:55]OFD Sender: No OFD packet to send [03:46:00]OFD Sender: No OFD packet to send [03:46:05]OFD Sender: No OFD packet to send [03:46:10]OFD Sender: No OFD packet to send [03:46:15]OFD Sender: No OFD packet to send [03:46:20]OFD Sender: No OFD packet to send [03:46:25]OFD Sender: No OFD packet to send [03:46:30]OFD Sender: No OFD packet to send [03:46:35]OFD Sender: No OFD packet to send [03:46:40]OFD Sender: No OFD packet to send [03:46:45]OFD Sender: No OFD packet to send [03:46:50]OFD Sender: No OFD packet to send [03:46:55]OFD Sender: No OFD packet to send [03:47:00]OFD Sender: No OFD packet to send [03:47:05]OFD Sender: No OFD packet to send [03:47:10]OFD Sender: No OFD packet to send [03:47:15]OFD Sender: No OFD packet to send [03:47:20]OFD Sender: No OFD packet to send [03:47:25]OFD Sender: No OFD packet to send [03:47:30]OFD Sender: No OFD packet to send [03:47:35]OFD Sender: No OFD packet to send [03:47:40]OFD Sender: No OFD packet to send [03:47:45]OFD Sender: No OFD packet to send [03:47:50]OFD Sender: No OFD packet to send [03:47:55]OFD Sender: No OFD packet to send [03:48:00]OFD Sender: No OFD packet to send [03:48:05]OFD Sender: No OFD packet to send [03:48:10]OFD Sender: No OFD packet to send [03:48:15]OFD Sender: No OFD packet to send [03:48:20]OFD Sender: No OFD packet to send [03:48:25]OFD Sender: No OFD packet to send [03:48:30]OFD Sender: No OFD packet to send [03:48:35]OFD Sender: No OFD packet to send [03:48:40]OFD Sender: No OFD packet to send [03:48:45]OFD Sender: No OFD packet to send [03:48:50]OFD Sender: No OFD packet to send [03:48:55]OFD Sender: No OFD packet to send [03:49:00]OFD Sender: No OFD packet to send [03:49:05]OFD Sender: No OFD packet to send [03:49:10]OFD Sender: No OFD packet to send [03:49:15]OFD Sender: No OFD packet to send [03:49:20]OFD Sender: No OFD packet to send [03:49:25]OFD Sender: No OFD packet to send [03:49:30]OFD Sender: No OFD packet to send [03:49:35]OFD Sender: No OFD packet to send [03:49:40]OFD Sender: No OFD packet to send [03:49:45]OFD Sender: No OFD packet to send [03:49:50]OFD Sender: No OFD packet to send [03:49:55]OFD Sender: No OFD packet to send [03:50:00]OFD Sender: No OFD packet to send [03:50:05]OFD Sender: No OFD packet to send [03:50:10]OFD Sender: No OFD packet to send [03:50:15]OFD Sender: No OFD packet to send [03:50:20]OFD Sender: No OFD packet to send [03:50:25]OFD Sender: No OFD packet to send [03:50:30]OFD Sender: No OFD packet to send [03:50:35]OFD Sender: No OFD packet to send [03:50:40]OFD Sender: No OFD packet to send [03:50:45]OFD Sender: No OFD packet to send [03:50:50]OFD Sender: No OFD packet to send [03:50:55]OFD Sender: No OFD packet to send [03:51:00]OFD Sender: No OFD packet to send [03:51:05]OFD Sender: No OFD packet to send [03:51:10]OFD Sender: No OFD packet to send [03:51:15]OFD Sender: No OFD packet to send [03:51:20]OFD Sender: No OFD packet to send [03:51:25]OFD Sender: No OFD packet to send [03:51:30]OFD Sender: No OFD packet to send [03:51:35]OFD Sender: No OFD packet to send [03:51:40]OFD Sender: No OFD packet to send [03:51:45]OFD Sender: No OFD packet to send [03:51:50]OFD Sender: No OFD packet to send [03:51:55]OFD Sender: No OFD packet to send [03:52:00]OFD Sender: No OFD packet to send [03:52:05]OFD Sender: No OFD packet to send [03:52:10]OFD Sender: No OFD packet to send [03:52:15]OFD Sender: No OFD packet to send [03:52:20]OFD Sender: No OFD packet to send [03:52:25]OFD Sender: No OFD packet to send [03:52:30]OFD Sender: No OFD packet to send [03:52:35]OFD Sender: No OFD packet to send [03:52:40]OFD Sender: No OFD packet to send [03:52:45]OFD Sender: No OFD packet to send [03:52:50]OFD Sender: No OFD packet to send [03:52:55]OFD Sender: No OFD packet to send [03:53:00]OFD Sender: No OFD packet to send [03:53:05]OFD Sender: No OFD packet to send [03:53:10]OFD Sender: No OFD packet to send [03:53:15]OFD Sender: No OFD packet to send [03:53:20]OFD Sender: No OFD packet to send [03:53:25]OFD Sender: No OFD packet to send [03:53:30]OFD Sender: No OFD packet to send [03:53:35]OFD Sender: No OFD packet to send [03:53:40]OFD Sender: No OFD packet to send [03:53:45]OFD Sender: No OFD packet to send [03:53:50]OFD Sender: No OFD packet to send [03:53:55]OFD Sender: No OFD packet to send [03:54:00]OFD Sender: No OFD packet to send [03:54:05]OFD Sender: No OFD packet to send [03:54:10]OFD Sender: No OFD packet to send [03:54:15]OFD Sender: No OFD packet to send [03:54:20]OFD Sender: No OFD packet to send [03:54:25]OFD Sender: No OFD packet to send [03:54:30]OFD Sender: No OFD packet to send [03:54:35]OFD Sender: No OFD packet to send [03:54:40]OFD Sender: No OFD packet to send [03:54:45]OFD Sender: No OFD packet to send [03:54:50]OFD Sender: No OFD packet to send [03:54:55]OFD Sender: No OFD packet to send [03:55:00]OFD Sender: No OFD packet to send [03:55:05]OFD Sender: No OFD packet to send [03:55:10]OFD Sender: No OFD packet to send [03:55:15]OFD Sender: No OFD packet to send [03:55:20]OFD Sender: No OFD packet to send [03:55:25]OFD Sender: No OFD packet to send [03:55:30]OFD Sender: No OFD packet to send [03:55:35]OFD Sender: No OFD packet to send [03:55:40]OFD Sender: No OFD packet to send [03:55:45]OFD Sender: No OFD packet to send [03:55:50]OFD Sender: No OFD packet to send [03:55:55]OFD Sender: No OFD packet to send [03:56:00]OFD Sender: No OFD packet to send [03:56:05]OFD Sender: No OFD packet to send [03:56:10]OFD Sender: No OFD packet to send [03:56:15]OFD Sender: No OFD packet to send [03:56:20]OFD Sender: No OFD packet to send [03:56:25]OFD Sender: No OFD packet to send [03:56:30]OFD Sender: No OFD packet to send [03:56:35]OFD Sender: No OFD packet to send [03:56:40]OFD Sender: No OFD packet to send [03:56:45]OFD Sender: No OFD packet to send [03:56:50]OFD Sender: No OFD packet to send [03:56:55]OFD Sender: No OFD packet to send [03:57:00]OFD Sender: No OFD packet to send [03:57:05]OFD Sender: No OFD packet to send [03:57:10]OFD Sender: No OFD packet to send [03:57:15]OFD Sender: No OFD packet to send [03:57:20]OFD Sender: No OFD packet to send [03:57:25]OFD Sender: No OFD packet to send [03:57:30]OFD Sender: No OFD packet to send [03:57:35]OFD Sender: No OFD packet to send [03:57: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:01]OFD Sender: No OFD packet to send [03:58:06]OFD Sender: No OFD packet to send [03:58:11]OFD Sender: No OFD packet to send [03:58:16]OFD Sender: No OFD packet to send [03:58:21]OFD Sender: No OFD packet to send [03:58:26]OFD Sender: No OFD packet to send [03:58:31]OFD Sender: No OFD packet to send [03:58:36]OFD Sender: No OFD packet to send [03:58:41]OFD Sender: No OFD packet to send [03:58:46]OFD Sender: No OFD packet to send [03:58:51]OFD Sender: No OFD packet to send [03:58:56]OFD Sender: No OFD packet to send [03:59:01]OFD Sender: No OFD packet to send [03:59:06]OFD Sender: No OFD packet to send [03:59:11]OFD Sender: No OFD packet to send [03:59:16]OFD Sender: No OFD packet to send [03:59:21]OFD Sender: No OFD packet to send [03:59:26]OFD Sender: No OFD packet to send [03:59:31]OFD Sender: No OFD packet to send [03:59:36]OFD Sender: No OFD packet to send [03:59:41]OFD Sender: No OFD packet to send [03:59:46]OFD Sender: No OFD packet to send [03:59:51]OFD Sender: No OFD packet to send [03:59:56]OFD Sender: No OFD packet to send [04:00:01]OFD Sender: No OFD packet to send [04:00:06]OFD Sender: No OFD packet to send [04:00:11]OFD Sender: No OFD packet to send [04:00:16]OFD Sender: No OFD packet to send [04:00:21]OFD Sender: No OFD packet to send [04:00:26]OFD Sender: No OFD packet to send [04:00:31]OFD Sender: No OFD packet to send [04:00:36]OFD Sender: No OFD packet to send [04:00:41]OFD Sender: No OFD packet to send [04:00:46]OFD Sender: No OFD packet to send [04:00:51]OFD Sender: No OFD packet to send [04:00:56]OFD Sender: No OFD packet to send [04:01:01]OFD Sender: No OFD packet to send [04:01:06]OFD Sender: No OFD packet to send [04:01:11]OFD Sender: No OFD packet to send [04:01:16]OFD Sender: No OFD packet to send [04:01:21]OFD Sender: No OFD packet to send [04:01:26]OFD Sender: No OFD packet to send [04:01:31]OFD Sender: No OFD packet to send [04:01:36]OFD Sender: No OFD packet to send [04:01:41]OFD Sender: No OFD packet to send [04:01:46]OFD Sender: No OFD packet to send [04:01:51]OFD Sender: No OFD packet to send [04:01:56]OFD Sender: No OFD packet to send [04:02:01]OFD Sender: No OFD packet to send [04:02:06]OFD Sender: No OFD packet to send [04:02:11]OFD Sender: No OFD packet to send [04:02:16]OFD Sender: No OFD packet to send [04:02:21]OFD Sender: No OFD packet to send [04:02:26]OFD Sender: No OFD packet to send [04:02:31]OFD Sender: No OFD packet to send [04:02:36]OFD Sender: No OFD packet to send [04:02:41]OFD Sender: No OFD packet to send [04:02:46]OFD Sender: No OFD packet to send [04:02:51]OFD Sender: No OFD packet to send [04:02:56]OFD Sender: No OFD packet to send [04:03:01]OFD Sender: No OFD packet to send [04:03:06]OFD Sender: No OFD packet to send [04:03:11]OFD Sender: No OFD packet to send [04:03:16]OFD Sender: No OFD packet to send [04:03:21]OFD Sender: No OFD packet to send [04:03:26]OFD Sender: No OFD packet to send [04:03:31]OFD Sender: No OFD packet to send [04:03:36]OFD Sender: No OFD packet to send [04:03:41]OFD Sender: No OFD packet to send [04:03:46]OFD Sender: No OFD packet to send [04:03:51]OFD Sender: No OFD packet to send [04:03:56]OFD Sender: No OFD packet to send [04:04:01]OFD Sender: No OFD packet to send [04:04:06]OFD Sender: No OFD packet to send [04:04:11]OFD Sender: No OFD packet to send [04:04:16]OFD Sender: No OFD packet to send [04:04:21]OFD Sender: No OFD packet to send [04:04:26]OFD Sender: No OFD packet to send [04:04:31]OFD Sender: No OFD packet to send [04:04:36]OFD Sender: No OFD packet to send [04:04:41]OFD Sender: No OFD packet to send [04:04:46]OFD Sender: No OFD packet to send [04:04:51]OFD Sender: No OFD packet to send [04:04:56]OFD Sender: No OFD packet to send [04:05:01]OFD Sender: No OFD packet to send [04:05:06]OFD Sender: No OFD packet to send [04:05:11]OFD Sender: No OFD packet to send [04:05:16]OFD Sender: No OFD packet to send [04:05:21]OFD Sender: No OFD packet to send [04:05:26]OFD Sender: No OFD packet to send [04:05:31]OFD Sender: No OFD packet to send [04:05:36]OFD Sender: No OFD packet to send [04:05:41]OFD Sender: No OFD packet to send [04:05:46]OFD Sender: No OFD packet to send [04:05:51]OFD Sender: No OFD packet to send [04:05:56]OFD Sender: No OFD packet to send [04:06:01]OFD Sender: No OFD packet to send [04:06:06]OFD Sender: No OFD packet to send [04:06:11]OFD Sender: No OFD packet to send [04:06:16]OFD Sender: No OFD packet to send [04:06:21]OFD Sender: No OFD packet to send [04:06:26]OFD Sender: No OFD packet to send [04:06:31]OFD Sender: No OFD packet to send [04:06:36]OFD Sender: No OFD packet to send [04:06:41]OFD Sender: No OFD packet to send [04:06:46]OFD Sender: No OFD packet to send [04:06:51]OFD Sender: No OFD packet to send [04:06:56]OFD Sender: No OFD packet to send [04:07:01]OFD Sender: No OFD packet to send [04:07:06]OFD Sender: No OFD packet to send [04:07:11]OFD Sender: No OFD packet to send [04:07:16]OFD Sender: No OFD packet to send [04:07:21]OFD Sender: No OFD packet to send [04:07:26]OFD Sender: No OFD packet to send [04:07:31]OFD Sender: No OFD packet to send [04:07:36]OFD Sender: No OFD packet to send [04:07:41]OFD Sender: No OFD packet to send [04:07:46]OFD Sender: No OFD packet to send [04:07:51]OFD Sender: No OFD packet to send [04:07:56]OFD Sender: No OFD packet to send [04:08:01]OFD Sender: No OFD packet to send [04:08:06]OFD Sender: No OFD packet to send [04:08:11]OFD Sender: No OFD packet to send [04:08:16]OFD Sender: No OFD packet to send [04:08:21]OFD Sender: No OFD packet to send [04:08:26]OFD Sender: No OFD packet to send [04:08:31]OFD Sender: No OFD packet to send [04:08:36]OFD Sender: No OFD packet to send [04:08:41]OFD Sender: No OFD packet to send [04:08:46]OFD Sender: No OFD packet to send [04:08:51]OFD Sender: No OFD packet to send [04:08:56]OFD Sender: No OFD packet to send [04:09:01]OFD Sender: No OFD packet to send [04:09:06]OFD Sender: No OFD packet to send [04:09:11]OFD Sender: No OFD packet to send [04:09:16]OFD Sender: No OFD packet to send [04:09:21]OFD Sender: No OFD packet to send [04:09:26]OFD Sender: No OFD packet to send [04:09:31]OFD Sender: No OFD packet to send [04:09:36]OFD Sender: No OFD packet to send [04:09:41]OFD Sender: No OFD packet to send [04:09:46]OFD Sender: No OFD packet to send [04:09:51]OFD Sender: No OFD packet to send [04:09:56]OFD Sender: No OFD packet to send [04:10:01]OFD Sender: No OFD packet to send [04:10:06]OFD Sender: No OFD packet to send [04:10:11]OFD Sender: No OFD packet to send [04:10:16]OFD Sender: No OFD packet to send [04:10:21]OFD Sender: No OFD packet to send [04:10:26]OFD Sender: No OFD packet to send [04:10:31]OFD Sender: No OFD packet to send [04:10:36]OFD Sender: No OFD packet to send [04:10:41]OFD Sender: No OFD packet to send [04:10:46]OFD Sender: No OFD packet to send [04:10:51]OFD Sender: No OFD packet to send [04:10:56]OFD Sender: No OFD packet to send [04:11:01]OFD Sender: No OFD packet to send [04:11:06]OFD Sender: No OFD packet to send [04:11:11]OFD Sender: No OFD packet to send [04:11:16]OFD Sender: No OFD packet to send [04:11:21]OFD Sender: No OFD packet to send [04:11:26]OFD Sender: No OFD packet to send [04:11:31]OFD Sender: No OFD packet to send [04:11:36]OFD Sender: No OFD packet to send [04:11:41]OFD Sender: No OFD packet to send [04:11:46]OFD Sender: No OFD packet to send [04:11:51]OFD Sender: No OFD packet to send [04:11:56]OFD Sender: No OFD packet to send [04:12:01]OFD Sender: No OFD packet to send [04:12:06]OFD Sender: No OFD packet to send [04:12:11]OFD Sender: No OFD packet to send [04:12:16]OFD Sender: No OFD packet to send [04:12:21]OFD Sender: No OFD packet to send [04:12:26]OFD Sender: No OFD packet to send [04:12:31]OFD Sender: No OFD packet to send [04:12:36]OFD Sender: No OFD packet to send [04:12:41]OFD Sender: No OFD packet to send [04:12:46]OFD Sender: No OFD packet to send [04:12:51]OFD Sender: No OFD packet to send [04:12:56]OFD Sender: No OFD packet to send [04:13:01]OFD Sender: No OFD packet to send [04:13:06]OFD Sender: No OFD packet to send [04:13:11]OFD Sender: No OFD packet to send [04:13:16]OFD Sender: No OFD packet to send [04:13:21]OFD Sender: No OFD packet to send [04:13:26]OFD Sender: No OFD packet to send [04:13:31]OFD Sender: No OFD packet to send [04:13:36]OFD Sender: No OFD packet to send [04:13:41]OFD Sender: No OFD packet to send [04:13:46]OFD Sender: No OFD packet to send [04:13:51]OFD Sender: No OFD packet to send [04:13:56]OFD Sender: No OFD packet to send [04:14:01]OFD Sender: No OFD packet to send [04:14:06]OFD Sender: No OFD packet to send [04:14:11]OFD Sender: No OFD packet to send [04:14:16]OFD Sender: No OFD packet to send [04:14:21]OFD Sender: No OFD packet to send [04:14:26]OFD Sender: No OFD packet to send [04:14:31]OFD Sender: No OFD packet to send [04:14:36]OFD Sender: No OFD packet to send [04:14:41]OFD Sender: No OFD packet to send [04:14:46]OFD Sender: No OFD packet to send [04:14:51]OFD Sender: No OFD packet to send [04:14:56]OFD Sender: No OFD packet to send [04:15:01]OFD Sender: No OFD packet to send [04:15:06]OFD Sender: No OFD packet to send [04:15:11]OFD Sender: No OFD packet to send [04:15:16]OFD Sender: No OFD packet to send [04:15:21]OFD Sender: No OFD packet to send [04:15:26]OFD Sender: No OFD packet to send [04:15:31]OFD Sender: No OFD packet to send [04:15:36]OFD Sender: No OFD packet to send [04:15:41]OFD Sender: No OFD packet to send [04:15:46]OFD Sender: No OFD packet to send [04:15:51]OFD Sender: No OFD packet to send [04:15:56]OFD Sender: No OFD packet to send [04:16:01]OFD Sender: No OFD packet to send [04:16:06]OFD Sender: No OFD packet to send [04:16:11]OFD Sender: No OFD packet to send [04:16:16]OFD Sender: No OFD packet to send [04:16:21]OFD Sender: No OFD packet to send [04:16:26]OFD Sender: No OFD packet to send [04:16:31]OFD Sender: No OFD packet to send [04:16:36]OFD Sender: No OFD packet to send [04:16:41]OFD Sender: No OFD packet to send [04:16:46]OFD Sender: No OFD packet to send [04:16:51]OFD Sender: No OFD packet to send [04:16:56]OFD Sender: No OFD packet to send [04:17:01]OFD Sender: No OFD packet to send [04:17:06]OFD Sender: No OFD packet to send [04:17:11]OFD Sender: No OFD packet to send [04:17:16]OFD Sender: No OFD packet to send [04:17:21]OFD Sender: No OFD packet to send [04:17:26]OFD Sender: No OFD packet to send [04:17:31]OFD Sender: No OFD packet to send [04:17:36]OFD Sender: No OFD packet to send [04:17:41]OFD Sender: No OFD packet to send [04:17:46]OFD Sender: No OFD packet to send [04:17:51]OFD Sender: No OFD packet to send [04:17:56]OFD Sender: No OFD packet to send [04:18:01]OFD Sender: No OFD packet to send [04:18:06]OFD Sender: No OFD packet to send [04:18:11]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:07]OFD Sender: No OFD packet to send [04:28:12]OFD Sender: No OFD packet to send [04:28:17]OFD Sender: No OFD packet to send [04:28:22]OFD Sender: No OFD packet to send [04:28:27]OFD Sender: No OFD packet to send [04:28:32]OFD Sender: No OFD packet to send [04:28:37]OFD Sender: No OFD packet to send [04:28:42]OFD Sender: No OFD packet to send [04:28:47]OFD Sender: No OFD packet to send [04:28:52]OFD Sender: No OFD packet to send [04:28:57]OFD Sender: No OFD packet to send [04:29:02]OFD Sender: No OFD packet to send [04:29:07]OFD Sender: No OFD packet to send [04:29:12]OFD Sender: No OFD packet to send [04:29:17]OFD Sender: No OFD packet to send [04:29:22]OFD Sender: No OFD packet to send [04:29:27]OFD Sender: No OFD packet to send [04:29:32]OFD Sender: No OFD packet to send [04:29:37]OFD Sender: No OFD packet to send [04:29:42]OFD Sender: No OFD packet to send [04:29:47]OFD Sender: No OFD packet to send [04:29:52]OFD Sender: No OFD packet to send [04:29:57]OFD Sender: No OFD packet to send [04:30:02]OFD Sender: No OFD packet to send [04:30:07]OFD Sender: No OFD packet to send [04:30:12]OFD Sender: No OFD packet to send [04:30:17]OFD Sender: No OFD packet to send [04:30:22]OFD Sender: No OFD packet to send [04:30:27]OFD Sender: No OFD packet to send [04:30:32]OFD Sender: No OFD packet to send [04:30:37]OFD Sender: No OFD packet to send [04:30:42]OFD Sender: No OFD packet to send [04:30:47]OFD Sender: No OFD packet to send [04:30:52]OFD Sender: No OFD packet to send [04:30:57]OFD Sender: No OFD packet to send [04:31:02]OFD Sender: No OFD packet to send [04:31:07]OFD Sender: No OFD packet to send [04:31:12]OFD Sender: No OFD packet to send [04:31:17]OFD Sender: No OFD packet to send [04:31:22]OFD Sender: No OFD packet to send [04:31:27]OFD Sender: No OFD packet to send [04:31:32]OFD Sender: No OFD packet to send [04:31:37]OFD Sender: No OFD packet to send [04:31:42]OFD Sender: No OFD packet to send [04:31:47]OFD Sender: No OFD packet to send [04:31:52]OFD Sender: No OFD packet to send [04:31:57]OFD Sender: No OFD packet to send [04:32:02]OFD Sender: No OFD packet to send [04:32:07]OFD Sender: No OFD packet to send [04:32:12]OFD Sender: No OFD packet to send [04:32:17]OFD Sender: No OFD packet to send [04:32:22]OFD Sender: No OFD packet to send [04:32:27]OFD Sender: No OFD packet to send [04:32:32]OFD Sender: No OFD packet to send [04:32:37]OFD Sender: No OFD packet to send [04:32:42]OFD Sender: No OFD packet to send [04:32:47]OFD Sender: No OFD packet to send [04:32:52]OFD Sender: No OFD packet to send [04:32:57]OFD Sender: No OFD packet to send [04:33:02]OFD Sender: No OFD packet to send [04:33:07]OFD Sender: No OFD packet to send [04:33:12]OFD Sender: No OFD packet to send [04:33:17]OFD Sender: No OFD packet to send [04:33:22]OFD Sender: No OFD packet to send [04:33:27]OFD Sender: No OFD packet to send [04:33:32]OFD Sender: No OFD packet to send [04:33:37]OFD Sender: No OFD packet to send [04:33:42]OFD Sender: No OFD packet to send [04:33:47]OFD Sender: No OFD packet to send [04:33:52]OFD Sender: No OFD packet to send [04:33:57]OFD Sender: No OFD packet to send [04:34:02]OFD Sender: No OFD packet to send [04:34:07]OFD Sender: No OFD packet to send [04:34:12]OFD Sender: No OFD packet to send [04:34:17]OFD Sender: No OFD packet to send [04:34:22]OFD Sender: No OFD packet to send [04:34:27]OFD Sender: No OFD packet to send [04:34:32]OFD Sender: No OFD packet to send [04:34:37]OFD Sender: No OFD packet to send [04:34:42]OFD Sender: No OFD packet to send [04:34:47]OFD Sender: No OFD packet to send [04:34:52]OFD Sender: No OFD packet to send [04:34:57]OFD Sender: No OFD packet to send [04:35:02]OFD Sender: No OFD packet to send [04:35:07]OFD Sender: No OFD packet to send [04:35:12]OFD Sender: No OFD packet to send [04:35:17]OFD Sender: No OFD packet to send [04:35:22]OFD Sender: No OFD packet to send [04:35:27]OFD Sender: No OFD packet to send [04:35:32]OFD Sender: No OFD packet to send [04:35:37]OFD Sender: No OFD packet to send [04:35:42]OFD Sender: No OFD packet to send [04:35:47]OFD Sender: No OFD packet to send [04:35:52]OFD Sender: No OFD packet to send [04:35:57]OFD Sender: No OFD packet to send [04:36:02]OFD Sender: No OFD packet to send [04:36:07]OFD Sender: No OFD packet to send [04:36:12]OFD Sender: No OFD packet to send [04:36:17]OFD Sender: No OFD packet to send [04:36:22]OFD Sender: No OFD packet to send [04:36:27]OFD Sender: No OFD packet to send [04:36:32]OFD Sender: No OFD packet to send [04:36:37]OFD Sender: No OFD packet to send [04:36:42]OFD Sender: No OFD packet to send [04:36:47]OFD Sender: No OFD packet to send [04:36:52]OFD Sender: No OFD packet to send [04:36:57]OFD Sender: No OFD packet to send [04:37:02]OFD Sender: No OFD packet to send [04:37:07]OFD Sender: No OFD packet to send [04:37:12]OFD Sender: No OFD packet to send [04:37:17]OFD Sender: No OFD packet to send [04:37:22]OFD Sender: No OFD packet to send [04:37:27]OFD Sender: No OFD packet to send [04:37:32]OFD Sender: No OFD packet to send [04:37:37]OFD Sender: No OFD packet to send [04:37:42]OFD Sender: No OFD packet to send [04:37:47]OFD Sender: No OFD packet to send [04:37:52]OFD Sender: No OFD packet to send [04:37:57]OFD Sender: No OFD packet to send [04:38:02]OFD Sender: No OFD packet to send [04:38:07]OFD Sender: No OFD packet to send [04:38:12]OFD Sender: No OFD packet to send [04:38:17]OFD Sender: No OFD packet to send [04:38:22]OFD Sender: No OFD packet to send [04:38:27]OFD Sender: No OFD packet to send [04:38:32]OFD Sender: No OFD packet to send [04:38:37]OFD Sender: No OFD packet to send [04:38:42]OFD Sender: No OFD packet to send [04:38:47]OFD Sender: No OFD packet to send [04:38:53]OFD Sender: No OFD packet to send [04:38:58]OFD Sender: No OFD packet to send [04:39:03]OFD Sender: No OFD packet to send [04:39:08]OFD Sender: No OFD packet to send [04:39:13]OFD Sender: No OFD packet to send [04:39:18]OFD Sender: No OFD packet to send [04:39:23]OFD Sender: No OFD packet to send [04:39:28]OFD Sender: No OFD packet to send [04:39:33]OFD Sender: No OFD packet to send [04:39:38]OFD Sender: No OFD packet to send [04:39:43]OFD Sender: No OFD packet to send [04:39:48]OFD Sender: No OFD packet to send [04:39:53]OFD Sender: No OFD packet to send [04:39:58]OFD Sender: No OFD packet to send [04:40:03]OFD Sender: No OFD packet to send [04:40:08]OFD Sender: No OFD packet to send [04:40:13]OFD Sender: No OFD packet to send [04:40:18]OFD Sender: No OFD packet to send [04:40:23]OFD Sender: No OFD packet to send [04:40:28]OFD Sender: No OFD packet to send [04:40:33]OFD Sender: No OFD packet to send [04:40:38]OFD Sender: No OFD packet to send [04:40:43]OFD Sender: No OFD packet to send [04:40:48]OFD Sender: No OFD packet to send [04:40:53]OFD Sender: No OFD packet to send [04:40:58]OFD Sender: No OFD packet to send [04:41:03]OFD Sender: No OFD packet to send [04:41:08]OFD Sender: No OFD packet to send [04:41:13]OFD Sender: No OFD packet to send [04:41:18]OFD Sender: No OFD packet to send [04:41:23]OFD Sender: No OFD packet to send [04:41:28]OFD Sender: No OFD packet to send [04:41:33]OFD Sender: No OFD packet to send [04:41:38]OFD Sender: No OFD packet to send [04:41:43]OFD Sender: No OFD packet to send [04:41:48]OFD Sender: No OFD packet to send [04:41:53]OFD Sender: No OFD packet to send [04:41:58]OFD Sender: No OFD packet to send [04:42:03]OFD Sender: No OFD packet to send [04:42:08]OFD Sender: No OFD packet to send [04:42:13]OFD Sender: No OFD packet to send [04:42:18]OFD Sender: No OFD packet to send [04:42:23]OFD Sender: No OFD packet to send [04:42:28]OFD Sender: No OFD packet to send [04:42:33]OFD Sender: No OFD packet to send [04:42:38]OFD Sender: No OFD packet to send [04:42:43]OFD Sender: No OFD packet to send [04:42:48]OFD Sender: No OFD packet to send [04:42:53]OFD Sender: No OFD packet to send [04:42:58]OFD Sender: No OFD packet to send [04:43:03]OFD Sender: No OFD packet to send [04:43:08]OFD Sender: No OFD packet to send [04:43:13]OFD Sender: No OFD packet to send [04:43:18]OFD Sender: No OFD packet to send [04:43:23]OFD Sender: No OFD packet to send [04:43:28]OFD Sender: No OFD packet to send [04:43:33]OFD Sender: No OFD packet to send [04:43:38]OFD Sender: No OFD packet to send [04:43:43]OFD Sender: No OFD packet to send [04:43:48]OFD Sender: No OFD packet to send [04:43:53]OFD Sender: No OFD packet to send [04:43:58]OFD Sender: No OFD packet to send [04:44:03]OFD Sender: No OFD packet to send [04:44:08]OFD Sender: No OFD packet to send [04:44:13]OFD Sender: No OFD packet to send [04:44:18]OFD Sender: No OFD packet to send [04:44:23]OFD Sender: No OFD packet to send [04:44:28]OFD Sender: No OFD packet to send [04:44:33]OFD Sender: No OFD packet to send [04:44:38]OFD Sender: No OFD packet to send [04:44:43]OFD Sender: No OFD packet to send [04:44:48]OFD Sender: No OFD packet to send [04:44:53]OFD Sender: No OFD packet to send [04:44:58]OFD Sender: No OFD packet to send [04:45:03]OFD Sender: No OFD packet to send [04:45:08]OFD Sender: No OFD packet to send [04:45:13]OFD Sender: No OFD packet to send [04:45:18]OFD Sender: No OFD packet to send [04:45:23]OFD Sender: No OFD packet to send [04:45:28]OFD Sender: No OFD packet to send [04:45:33]OFD Sender: No OFD packet to send [04:45:38]OFD Sender: No OFD packet to send [04:45:43]OFD Sender: No OFD packet to send [04:45:48]OFD Sender: No OFD packet to send [04:45:53]OFD Sender: No OFD packet to send [04:45:58]OFD Sender: No OFD packet to send [04:46:03]OFD Sender: No OFD packet to send [04:46:08]OFD Sender: No OFD packet to send [04:46:13]OFD Sender: No OFD packet to send [04:46:18]OFD Sender: No OFD packet to send [04:46:23]OFD Sender: No OFD packet to send [04:46:28]OFD Sender: No OFD packet to send [04:46:33]OFD Sender: No OFD packet to send [04:46:38]OFD Sender: No OFD packet to send [04:46:43]OFD Sender: No OFD packet to send [04:46:48]OFD Sender: No OFD packet to send [04:46:53]OFD Sender: No OFD packet to send [04:46:58]OFD Sender: No OFD packet to send [04:47:03]OFD Sender: No OFD packet to send [04:47:08]OFD Sender: No OFD packet to send [04:47:13]OFD Sender: No OFD packet to send [04:47:18]OFD Sender: No OFD packet to send [04:47:23]OFD Sender: No OFD packet to send [04:47:28]OFD Sender: No OFD packet to send [04:47:33]OFD Sender: No OFD packet to send [04:47:38]OFD Sender: No OFD packet to send [04:47:43]OFD Sender: No OFD packet to send [04:47:48]OFD Sender: No OFD packet to send [04:47:53]OFD Sender: No OFD packet to send [04:47:58]OFD Sender: No OFD packet to send [04:48:03]OFD Sender: No OFD packet to send [04:48:08]OFD Sender: No OFD packet to send [04:48:13]OFD Sender: No OFD packet to send [04:48:18]OFD Sender: No OFD packet to send [04:48:23]OFD Sender: No OFD packet to send [04:48:28]OFD Sender: No OFD packet to send [04:48:33]OFD Sender: No OFD packet to send [04:48:38]OFD Sender: No OFD packet to send [04:48:43]OFD Sender: No OFD packet to send [04:48:48]OFD Sender: No OFD packet to send [04:48:53]OFD Sender: No OFD packet to send [04:48:58]OFD Sender: No OFD packet to send [04:49:03]OFD Sender: No OFD packet to send [04:49:08]OFD Sender: No OFD packet to send [04:49:13]OFD Sender: No OFD packet to send [04:49:18]OFD Sender: No OFD packet to send [04:49:23]OFD Sender: No OFD packet to send [04:49:28]OFD Sender: No OFD packet to send [04:49:33]OFD Sender: No OFD packet to send [04:49:38]OFD Sender: No OFD packet to send [04:49:43]OFD Sender: No OFD packet to send [04:49:48]OFD Sender: No OFD packet to send [04:49:53]OFD Sender: No OFD packet to send [04:49:58]OFD Sender: No OFD packet to send [04:50:03]OFD Sender: No OFD packet to send [04:50:08]OFD Sender: No OFD packet to send [04:50:13]OFD Sender: No OFD packet to send [04:50:18]OFD Sender: No OFD packet to send [04:50:23]OFD Sender: No OFD packet to send [04:50:28]OFD Sender: No OFD packet to send [04:50:33]OFD Sender: No OFD packet to send [04:50:38]OFD Sender: No OFD packet to send [04:50:43]OFD Sender: No OFD packet to send [04:50:48]OFD Sender: No OFD packet to send [04:50:53]OFD Sender: No OFD packet to send [04:50:58]OFD Sender: No OFD packet to send [04:51:03]OFD Sender: No OFD packet to send [04:51:08]OFD Sender: No OFD packet to send [04:51:13]OFD Sender: No OFD packet to send [04:51:18]OFD Sender: No OFD packet to send [04:51:23]OFD Sender: No OFD packet to send [04:51:28]OFD Sender: No OFD packet to send [04:51:33]OFD Sender: No OFD packet to send [04:51:38]OFD Sender: No OFD packet to send [04:51:43]OFD Sender: No OFD packet to send [04:51:48]OFD Sender: No OFD packet to send [04:51:53]OFD Sender: No OFD packet to send [04:51:58]OFD Sender: No OFD packet to send [04:52:03]OFD Sender: No OFD packet to send [04:52:08]OFD Sender: No OFD packet to send [04:52:13]OFD Sender: No OFD packet to send [04:52:18]OFD Sender: No OFD packet to send [04:52:23]OFD Sender: No OFD packet to send [04:52:28]OFD Sender: No OFD packet to send [04:52:33]OFD Sender: No OFD packet to send [04:52:38]OFD Sender: No OFD packet to send [04:52:43]OFD Sender: No OFD packet to send [04:52:48]OFD Sender: No OFD packet to send [04:52:53]OFD Sender: No OFD packet to send [04:52:58]OFD Sender: No OFD packet to send [04:53:03]OFD Sender: No OFD packet to send [04:53:08]OFD Sender: No OFD packet to send [04:53:13]OFD Sender: No OFD packet to send [04:53:18]OFD Sender: No OFD packet to send [04:53:23]OFD Sender: No OFD packet to send [04:53:28]OFD Sender: No OFD packet to send [04:53:33]OFD Sender: No OFD packet to send [04:53:38]OFD Sender: No OFD packet to send [04:53:43]OFD Sender: No OFD packet to send [04:53:48]OFD Sender: No OFD packet to send [04:53:53]OFD Sender: No OFD packet to send [04:53:58]OFD Sender: No OFD packet to send [04:54:03]OFD Sender: No OFD packet to send [04:54:08]OFD Sender: No OFD packet to send [04:54:13]OFD Sender: No OFD packet to send [04:54:18]OFD Sender: No OFD packet to send [04:54:23]OFD Sender: No OFD packet to send [04:54:28]OFD Sender: No OFD packet to send [04:54:33]OFD Sender: No OFD packet to send [04:54:38]OFD Sender: No OFD packet to send [04:54:43]OFD Sender: No OFD packet to send [04:54:48]OFD Sender: No OFD packet to send [04:54:53]OFD Sender: No OFD packet to send [04:54:58]OFD Sender: No OFD packet to send [04:55:03]OFD Sender: No OFD packet to send [04:55:08]OFD Sender: No OFD packet to send [04:55:13]OFD Sender: No OFD packet to send [04:55:18]OFD Sender: No OFD packet to send [04:55:23]OFD Sender: No OFD packet to send [04:55:28]OFD Sender: No OFD packet to send [04:55:33]OFD Sender: No OFD packet to send [04:55:38]OFD Sender: No OFD packet to send [04:55:43]OFD Sender: No OFD packet to send [04:55:48]OFD Sender: No OFD packet to send [04:55:53]OFD Sender: No OFD packet to send [04:55:58]OFD Sender: No OFD packet to send [04:56:03]OFD Sender: No OFD packet to send [04:56:08]OFD Sender: No OFD packet to send [04:56:13]OFD Sender: No OFD packet to send [04:56:18]OFD Sender: No OFD packet to send [04:56:23]OFD Sender: No OFD packet to send [04:56:28]OFD Sender: No OFD packet to send [04:56:33]OFD Sender: No OFD packet to send [04:56:38]OFD Sender: No OFD packet to send [04:56:43]OFD Sender: No OFD packet to send [04:56:48]OFD Sender: No OFD packet to send [04:56:53]OFD Sender: No OFD packet to send [04:56:58]OFD Sender: No OFD packet to send [04:57:03]OFD Sender: No OFD packet to send [04:57:08]OFD Sender: No OFD packet to send [04:57:13]OFD Sender: No OFD packet to send [04:57:18]OFD Sender: No OFD packet to send [04:57:23]OFD Sender: No OFD packet to send [04:57:28]OFD Sender: No OFD packet to send [04:57:33]OFD Sender: No OFD packet to send [04:57:38]OFD Sender: No OFD packet to send [04:57:43]OFD Sender: No OFD packet to send [04:57:48]OFD Sender: No OFD packet to send [04:57:53]OFD Sender: No OFD packet to send [04:57:58]OFD Sender: No OFD packet to send [04:58:03]OFD Sender: No OFD packet to send [04:58:08]OFD Sender: No OFD packet to send [04:58:13]OFD Sender: No OFD packet to send [04:58:18]OFD Sender: No OFD packet to send [04:58:23]OFD Sender: No OFD packet to send [04:58:28]OFD Sender: No OFD packet to send [04:58:33]OFD Sender: No OFD packet to send [04:58:38]OFD Sender: No OFD packet to send [04:58:43]OFD Sender: No OFD packet to send [04:58:48]OFD Sender: No OFD packet to send [04:58:53]OFD Sender: No OFD packet to send [04:58:58]OFD Sender: No OFD packet to send [04:59:03]OFD Sender: No OFD packet to send [04:59:09]OFD Sender: No OFD packet to send [04:59:14]OFD Sender: No OFD packet to send [04:59:19]OFD Sender: No OFD packet to send [04:59:24]OFD Sender: No OFD packet to send [04:59:29]OFD Sender: No OFD packet to send [04:59:34]OFD Sender: No OFD packet to send [04:59:39]OFD Sender: No OFD packet to send [04:59:44]OFD Sender: No OFD packet to send [04:59:49]OFD Sender: No OFD packet to send [04:59:54]OFD Sender: No OFD packet to send [04:59:59]OFD Sender: No OFD packet to send [05:00:04]OFD Sender: No OFD packet to send [05:00:09]OFD Sender: No OFD packet to send [05:00:14]OFD Sender: No OFD packet to send [05:00:19]OFD Sender: No OFD packet to send [05:00:24]OFD Sender: No OFD packet to send [05:00:29]OFD Sender: No OFD packet to send [05:00:34]OFD Sender: No OFD packet to send [05:00:39]OFD Sender: No OFD packet to send [05:00:44]OFD Sender: No OFD packet to send [05:00:49]OFD Sender: No OFD packet to send [05:00:54]OFD Sender: No OFD packet to send [05:00:59]OFD Sender: No OFD packet to send [05:01:04]OFD Sender: No OFD packet to send [05:01:09]OFD Sender: No OFD packet to send [05:01:14]OFD Sender: No OFD packet to send [05:01:19]OFD Sender: No OFD packet to send [05:01:24]OFD Sender: No OFD packet to send [05:01:29]OFD Sender: No OFD packet to send [05:01:34]OFD Sender: No OFD packet to send [05:01:39]OFD Sender: No OFD packet to send [05:01:44]OFD Sender: No OFD packet to send [05:01:49]OFD Sender: No OFD packet to send [05:01:54]OFD Sender: No OFD packet to send [05:01:59]OFD Sender: No OFD packet to send [05:02:04]OFD Sender: No OFD packet to send [05:02:09]OFD Sender: No OFD packet to send [05:02:14]OFD Sender: No OFD packet to send [05:02:19]OFD Sender: No OFD packet to send [05:02:24]OFD Sender: No OFD packet to send [05:02:29]OFD Sender: No OFD packet to send [05:02:34]OFD Sender: No OFD packet to send [05:02:39]OFD Sender: No OFD packet to send [05:02:44]OFD Sender: No OFD packet to send [05:02:49]OFD Sender: No OFD packet to send [05:02:54]OFD Sender: No OFD packet to send [05:02:59]OFD Sender: No OFD packet to send [05:03:04]OFD Sender: No OFD packet to send [05:03:09]OFD Sender: No OFD packet to send [05:03:14]OFD Sender: No OFD packet to send [05:03:19]OFD Sender: No OFD packet to send [05:03:24]OFD Sender: No OFD packet to send [05:03:29]OFD Sender: No OFD packet to send [05:03:34]OFD Sender: No OFD packet to send [05:03:39]OFD Sender: No OFD packet to send [05:03:44]OFD Sender: No OFD packet to send [05:03:49]OFD Sender: No OFD packet to send [05:03:54]OFD Sender: No OFD packet to send [05:03:59]OFD Sender: No OFD packet to send [05:04:04]OFD Sender: No OFD packet to send [05:04:09]OFD Sender: No OFD packet to send [05:04:14]OFD Sender: No OFD packet to send [05:04:19]OFD Sender: No OFD packet to send [05:04:24]OFD Sender: No OFD packet to send [05:04:29]OFD Sender: No OFD packet to send [05:04:34]OFD Sender: No OFD packet to send [05:04:39]OFD Sender: No OFD packet to send [05:04:44]OFD Sender: No OFD packet to send [05:04:49]OFD Sender: No OFD packet to send [05:04:54]OFD Sender: No OFD packet to send [05:04:59]OFD Sender: No OFD packet to send [05:05:04]OFD Sender: No OFD packet to send [05:05:09]OFD Sender: No OFD packet to send [05:05:14]OFD Sender: No OFD packet to send [05:05:19]OFD Sender: No OFD packet to send [05:05:24]OFD Sender: No OFD packet to send [05:05:29]OFD Sender: No OFD packet to send [05:05:34]OFD Sender: No OFD packet to send [05:05:39]OFD Sender: No OFD packet to send [05:05:44]OFD Sender: No OFD packet to send [05:05:49]OFD Sender: No OFD packet to send [05:05:54]OFD Sender: No OFD packet to send [05:05:59]OFD Sender: No OFD packet to send [05:06:04]OFD Sender: No OFD packet to send [05:06:09]OFD Sender: No OFD packet to send [05:06:14]OFD Sender: No OFD packet to send [05:06:19]OFD Sender: No OFD packet to send [05:06:24]OFD Sender: No OFD packet to send [05:06:29]OFD Sender: No OFD packet to send [05:06:34]OFD Sender: No OFD packet to send [05:06:39]OFD Sender: No OFD packet to send [05:06:44]OFD Sender: No OFD packet to send [05:06:49]OFD Sender: No OFD packet to send [05:06:54]OFD Sender: No OFD packet to send [05:06:59]OFD Sender: No OFD packet to send [05:07:04]OFD Sender: No OFD packet to send [05:07:09]OFD Sender: No OFD packet to send [05:07:14]OFD Sender: No OFD packet to send [05:07:19]OFD Sender: No OFD packet to send [05:07:24]OFD Sender: No OFD packet to send [05:07:29]OFD Sender: No OFD packet to send [05:07:34]OFD Sender: No OFD packet to send [05:07:39]OFD Sender: No OFD packet to send [05:07:44]OFD Sender: No OFD packet to send [05:07:49]OFD Sender: No OFD packet to send [05:07:54]OFD Sender: No OFD packet to send [05:07:59]OFD Sender: No OFD packet to send [05:08:04]OFD Sender: No OFD packet to send [05:08:09]OFD Sender: No OFD packet to send [05:08:14]OFD Sender: No OFD packet to send [05:08:19]OFD Sender: No OFD packet to send [05:08:24]OFD Sender: No OFD packet to send [05:08:29]OFD Sender: No OFD packet to send [05:08:34]OFD Sender: No OFD packet to send [05:08:39]OFD Sender: No OFD packet to send [05:08:44]OFD Sender: No OFD packet to send [05:08:49]OFD Sender: No OFD packet to send [05:08:54]OFD Sender: No OFD packet to send [05:08:59]OFD Sender: No OFD packet to send [05:09:04]OFD Sender: No OFD packet to send [05:09:09]OFD Sender: No OFD packet to send [05:09:14]OFD Sender: No OFD packet to send [05:09:19]OFD Sender: No OFD packet to send [05:09:24]OFD Sender: No OFD packet to send [05:09:29]OFD Sender: No OFD packet to send [05:09:34]OFD Sender: No OFD packet to send [05:09:39]OFD Sender: No OFD packet to send [05:09:44]OFD Sender: No OFD packet to send [05:09:49]OFD Sender: No OFD packet to send [05:09:54]OFD Sender: No OFD packet to send [05:09:59]OFD Sender: No OFD packet to send [05:10:04]OFD Sender: No OFD packet to send [05:10:09]OFD Sender: No OFD packet to send [05:10:14]OFD Sender: No OFD packet to send [05:10:19]OFD Sender: No OFD packet to send [05:10:24]OFD Sender: No OFD packet to send [05:10:29]OFD Sender: No OFD packet to send [05:10:34]OFD Sender: No OFD packet to send [05:10:39]OFD Sender: No OFD packet to send [05:10:44]OFD Sender: No OFD packet to send [05:10:49]OFD Sender: No OFD packet to send [05:10:54]OFD Sender: No OFD packet to send [05:10:59]OFD Sender: No OFD packet to send [05:11:04]OFD Sender: No OFD packet to send [05:11:09]OFD Sender: No OFD packet to send [05:11:14]OFD Sender: No OFD packet to send [05:11:19]OFD Sender: No OFD packet to send [05:11:24]OFD Sender: No OFD packet to send [05:11:29]OFD Sender: No OFD packet to send [05:11:34]OFD Sender: No OFD packet to send [05:11:39]OFD Sender: No OFD packet to send [05:11:44]OFD Sender: No OFD packet to send [05:11:49]OFD Sender: No OFD packet to send [05:11:54]OFD Sender: No OFD packet to send [05:11:59]OFD Sender: No OFD packet to send [05:12:04]OFD Sender: No OFD packet to send [05:12:09]OFD Sender: No OFD packet to send [05:12:14]OFD Sender: No OFD packet to send [05:12:19]OFD Sender: No OFD packet to send [05:12:24]OFD Sender: No OFD packet to send [05:12:29]OFD Sender: No OFD packet to send [05:12:34]OFD Sender: No OFD packet to send [05:12:39]OFD Sender: No OFD packet to send [05:12:44]OFD Sender: No OFD packet to send [05:12:49]OFD Sender: No OFD packet to send [05:12:54]OFD Sender: No OFD packet to send [05:12:59]OFD Sender: No OFD packet to send [05:13:04]OFD Sender: No OFD packet to send [05:13:09]OFD Sender: No OFD packet to send [05:13:14]OFD Sender: No OFD packet to send [05:13:19]OFD Sender: No OFD packet to send [05:13:24]OFD Sender: No OFD packet to send [05:13:29]OFD Sender: No OFD packet to send [05:13:34]OFD Sender: No OFD packet to send [05:13:39]OFD Sender: No OFD packet to send [05:13:44]OFD Sender: No OFD packet to send [05:13:49]OFD Sender: No OFD packet to send [05:13:54]OFD Sender: No OFD packet to send [05:13:59]OFD Sender: No OFD packet to send [05:14:04]OFD Sender: No OFD packet to send [05:14:09]OFD Sender: No OFD packet to send [05:14:14]OFD Sender: No OFD packet to send [05:14:19]OFD Sender: No OFD packet to send [05:14:24]OFD Sender: No OFD packet to send [05:14:29]OFD Sender: No OFD packet to send [05:14:34]OFD Sender: No OFD packet to send [05:14:39]OFD Sender: No OFD packet to send [05:14:44]OFD Sender: No OFD packet to send [05:14:49]OFD Sender: No OFD packet to send [05:14:54]OFD Sender: No OFD packet to send [05:14:59]OFD Sender: No OFD packet to send [05:15:04]OFD Sender: No OFD packet to send [05:15:09]OFD Sender: No OFD packet to send [05:15:14]OFD Sender: No OFD packet to send [05:15:19]OFD Sender: No OFD packet to send [05:15:24]OFD Sender: No OFD packet to send [05:15:29]OFD Sender: No OFD packet to send [05:15:34]OFD Sender: No OFD packet to send [05:15:39]OFD Sender: No OFD packet to send [05:15:44]OFD Sender: No OFD packet to send [05:15:49]OFD Sender: No OFD packet to send [05:15:54]OFD Sender: No OFD packet to send [05:15:59]OFD Sender: No OFD packet to send [05:16:04]OFD Sender: No OFD packet to send [05:16:09]OFD Sender: No OFD packet to send [05:16:14]OFD Sender: No OFD packet to send [05:16:19]OFD Sender: No OFD packet to send [05:16:24]OFD Sender: No OFD packet to send [05:16:29]OFD Sender: No OFD packet to send [05:16:34]OFD Sender: No OFD packet to send [05:16:39]OFD Sender: No OFD packet to send [05:16:44]OFD Sender: No OFD packet to send [05:16:49]OFD Sender: No OFD packet to send [05:16:54]OFD Sender: No OFD packet to send [05:16:59]OFD Sender: No OFD packet to send [05:17:04]OFD Sender: No OFD packet to send [05:17:09]OFD Sender: No OFD packet to send [05:17:14]OFD Sender: No OFD packet to send [05:17:19]OFD Sender: No OFD packet to send [05:17:24]OFD Sender: No OFD packet to send [05:17:29]OFD Sender: No OFD packet to send [05:17:34]OFD Sender: No OFD packet to send [05:17:39]OFD Sender: No OFD packet to send [05:17:44]OFD Sender: No OFD packet to send [05:17:49]OFD Sender: No OFD packet to send [05:17:54]OFD Sender: No OFD packet to send [05:17:59]OFD Sender: No OFD packet to send [05:18:04]OFD Sender: No OFD packet to send [05:18:09]OFD Sender: No OFD packet to send [05:18:14]OFD Sender: No OFD packet to send [05:18:19]OFD Sender: No OFD packet to send [05:18:24]OFD Sender: No OFD packet to send [05:18:29]OFD Sender: No OFD packet to send [05:18:34]OFD Sender: No OFD packet to send [05:18:39]OFD Sender: No OFD packet to send [05:18:44]OFD Sender: No OFD packet to send [05:18:49]OFD Sender: No OFD packet to send [05:18:54]OFD Sender: No OFD packet to send [05:18:59]OFD Sender: No OFD packet to send [05:19:04]OFD Sender: No OFD packet to send [05:19:09]OFD Sender: No OFD packet to send [05:19:14]OFD Sender: No OFD packet to send [05:19:19]OFD Sender: No OFD packet to send [05:19:24]OFD Sender: No OFD packet to send [05:19:29]OFD Sender: No OFD packet to send [05:19:34]OFD Sender: No OFD packet to send [05:19:40]OFD Sender: No OFD packet to send [05:19:45]OFD Sender: No OFD packet to send [05:19:50]OFD Sender: No OFD packet to send [05:19:55]OFD Sender: No OFD packet to send [05:20:00]OFD Sender: No OFD packet to send [05:20:05]OFD Sender: No OFD packet to send [05:20:10]OFD Sender: No OFD packet to send [05:20:15]OFD Sender: No OFD packet to send [05:20:20]OFD Sender: No OFD packet to send [05:20:25]OFD Sender: No OFD packet to send [05:20:30]OFD Sender: No OFD packet to send [05:20:35]OFD Sender: No OFD packet to send [05:20:40]OFD Sender: No OFD packet to send [05:20:45]OFD Sender: No OFD packet to send [05:20:50]OFD Sender: No OFD packet to send [05:20:55]OFD Sender: No OFD packet to send [05:21:00]OFD Sender: No OFD packet to send [05:21:05]OFD Sender: No OFD packet to send [05:21:10]OFD Sender: No OFD packet to send [05:21:15]OFD Sender: No OFD packet to send [05:21:20]OFD Sender: No OFD packet to send [05:21:25]OFD Sender: No OFD packet to send [05:21:30]OFD Sender: No OFD packet to send [05:21:35]OFD Sender: No OFD packet to send [05:21:40]OFD Sender: No OFD packet to send [05:21:45]OFD Sender: No OFD packet to send [05:21:50]OFD Sender: No OFD packet to send [05:21:55]OFD Sender: No OFD packet to send [05:22:00]OFD Sender: No OFD packet to send [05:22:05]OFD Sender: No OFD packet to send [05:22:10]OFD Sender: No OFD packet to send [05:22:15]OFD Sender: No OFD packet to send [05:22:20]OFD Sender: No OFD packet to send [05:22:25]OFD Sender: No OFD packet to send [05:22:30]OFD Sender: No OFD packet to send [05:22:35]OFD Sender: No OFD packet to send [05:22:40]OFD Sender: No OFD packet to send [05:22:45]OFD Sender: No OFD packet to send [05:22:50]OFD Sender: No OFD packet to send [05:22:55]OFD Sender: No OFD packet to send [05:23:00]OFD Sender: No OFD packet to send [05:23:05]OFD Sender: No OFD packet to send [05:23:10]OFD Sender: No OFD packet to send [05:23:15]OFD Sender: No OFD packet to send [05:23:20]OFD Sender: No OFD packet to send [05:23:25]OFD Sender: No OFD packet to send [05:23:30]OFD Sender: No OFD packet to send [05:23:35]OFD Sender: No OFD packet to send [05:23:40]OFD Sender: No OFD packet to send [05:23:45]OFD Sender: No OFD packet to send [05:23:50]OFD Sender: No OFD packet to send [05:23:55]OFD Sender: No OFD packet to send [05:24:00]OFD Sender: No OFD packet to send [05:24:05]OFD Sender: No OFD packet to send [05:24:10]OFD Sender: No OFD packet to send [05:24:15]OFD Sender: No OFD packet to send [05:24:20]OFD Sender: No OFD packet to send [05:24:25]OFD Sender: No OFD packet to send [05:24:30]OFD Sender: No OFD packet to send [05:24:35]OFD Sender: No OFD packet to send [05:24:40]OFD Sender: No OFD packet to send [05:24:45]OFD Sender: No OFD packet to send [05:24:50]OFD Sender: No OFD packet to send [05:24:55]OFD Sender: No OFD packet to send [05:25:00]OFD Sender: No OFD packet to send [05:25:05]OFD Sender: No OFD packet to send [05:25:10]OFD Sender: No OFD packet to send [05:25:15]OFD Sender: No OFD packet to send [05:25:20]OFD Sender: No OFD packet to send [05:25:25]OFD Sender: No OFD packet to send [05:25:30]OFD Sender: No OFD packet to send [05:25:35]OFD Sender: No OFD packet to send [05:25:40]OFD Sender: No OFD packet to send [05:25:45]OFD Sender: No OFD packet to send [05:25:50]OFD Sender: No OFD packet to send [05:25:55]OFD Sender: No OFD packet to send [05:26:00]OFD Sender: No OFD packet to send [05:26:05]OFD Sender: No OFD packet to send [05:26:10]OFD Sender: No OFD packet to send [05:26:15]OFD Sender: No OFD packet to send [05:26:20]OFD Sender: No OFD packet to send [05:26:25]OFD Sender: No OFD packet to send [05:26:30]OFD Sender: No OFD packet to send [05:26:35]OFD Sender: No OFD packet to send [05:26:40]OFD Sender: No OFD packet to send [05:26:45]OFD Sender: No OFD packet to send [05:26:50]OFD Sender: No OFD packet to send [05:26:55]OFD Sender: No OFD packet to send [05:27:00]OFD Sender: No OFD packet to send [05:27:05]OFD Sender: No OFD packet to send [05:27:10]OFD Sender: No OFD packet to send [05:27:15]OFD Sender: No OFD packet to send [05:27:20]OFD Sender: No OFD packet to send [05:27:25]OFD Sender: No OFD packet to send [05:27:30]OFD Sender: No OFD packet to send [05:27:35]OFD Sender: No OFD packet to send [05:27:40]OFD Sender: No OFD packet to send [05:27:45]OFD Sender: No OFD packet to send [05:27:50]OFD Sender: No OFD packet to send [05:27:55]OFD Sender: No OFD packet to send [05:28:00]OFD Sender: No OFD packet to send [05:28:05]OFD Sender: No OFD packet to send [05:28:10]OFD Sender: No OFD packet to send [05:28:15]OFD Sender: No OFD packet to send [05:28:20]OFD Sender: No OFD packet to send [05:28:25]OFD Sender: No OFD packet to send [05:28:30]OFD Sender: No OFD packet to send [05:28:35]OFD Sender: No OFD packet to send [05:28:40]OFD Sender: No OFD packet to send [05:28:45]OFD Sender: No OFD packet to send [05:28:50]OFD Sender: No OFD packet to send [05:28:55]OFD Sender: No OFD packet to send [05:29:00]OFD Sender: No OFD packet to send [05:29:05]OFD Sender: No OFD packet to send [05:29:10]OFD Sender: No OFD packet to send [05:29:15]OFD Sender: No OFD packet to send [05:29:20]OFD Sender: No OFD packet to send [05:29:25]OFD Sender: No OFD packet to send [05:29:30]OFD Sender: No OFD packet to send [05:29:35]OFD Sender: No OFD packet to send [05:29:40]OFD Sender: No OFD packet to send [05:29:45]OFD Sender: No OFD packet to send [05:29:50]OFD Sender: No OFD packet to send [05:29:55]OFD Sender: No OFD packet to send [05:30:00]OFD Sender: No OFD packet to send [05:30:05]OFD Sender: No OFD packet to send [05:30:10]OFD Sender: No OFD packet to send [05:30:15]OFD Sender: No OFD packet to send [05:30:20]OFD Sender: No OFD packet to send [05:30:25]OFD Sender: No OFD packet to send [05:30:30]OFD Sender: No OFD packet to send [05:30:35]OFD Sender: No OFD packet to send [05:30:40]OFD Sender: No OFD packet to send [05:30:45]OFD Sender: No OFD packet to send [05:30:50]OFD Sender: No OFD packet to send [05:30:55]OFD Sender: No OFD packet to send [05:31:00]OFD Sender: No OFD packet to send [05:31:05]OFD Sender: No OFD packet to send [05:31:10]OFD Sender: No OFD packet to send [05:31:15]OFD Sender: No OFD packet to send [05:31:20]OFD Sender: No OFD packet to send [05:31:25]OFD Sender: No OFD packet to send [05:31:30]OFD Sender: No OFD packet to send [05:31:35]OFD Sender: No OFD packet to send [05:31:40]OFD Sender: No OFD packet to send [05:31:45]OFD Sender: No OFD packet to send [05:31:50]OFD Sender: No OFD packet to send [05:31:55]OFD Sender: No OFD packet to send [05:32:00]OFD Sender: No OFD packet to send [05:32:05]OFD Sender: No OFD packet to send [05:32:10]OFD Sender: No OFD packet to send [05:32:15]OFD Sender: No OFD packet to send [05:32:20]OFD Sender: No OFD packet to send [05:32:25]OFD Sender: No OFD packet to send [05:32:30]OFD Sender: No OFD packet to send [05:32:35]OFD Sender: No OFD packet to send [05:32:40]OFD Sender: No OFD packet to send [05:32:45]OFD Sender: No OFD packet to send [05:32:50]OFD Sender: No OFD packet to send [05:32:55]OFD Sender: No OFD packet to send [05:33:00]OFD Sender: No OFD packet to send [05:33:05]OFD Sender: No OFD packet to send [05:33:10]OFD Sender: No OFD packet to send [05:33:15]OFD Sender: No OFD packet to send [05:33:20]OFD Sender: No OFD packet to send [05:33:25]OFD Sender: No OFD packet to send [05:33:30]OFD Sender: No OFD packet to send [05:33:35]OFD Sender: No OFD packet to send [05:33:40]OFD Sender: No OFD packet to send [05:33:45]OFD Sender: No OFD packet to send [05:33:50]OFD Sender: No OFD packet to send [05:33:55]OFD Sender: No OFD packet to send [05:34:00]OFD Sender: No OFD packet to send [05:34:05]OFD Sender: No OFD packet to send [05:34:10]OFD Sender: No OFD packet to send [05:34:15]OFD Sender: No OFD packet to send [05:34:20]OFD Sender: No OFD packet to send [05:34:25]OFD Sender: No OFD packet to send [05:34:30]OFD Sender: No OFD packet to send [05:34:35]OFD Sender: No OFD packet to send [05:34:40]OFD Sender: No OFD packet to send [05:34:45]OFD Sender: No OFD packet to send [05:34:50]OFD Sender: No OFD packet to send [05:34:55]OFD Sender: No OFD packet to send [05:35:00]OFD Sender: No OFD packet to send [05:35:05]OFD Sender: No OFD packet to send [05:35:10]OFD Sender: No OFD packet to send [05:35:15]OFD Sender: No OFD packet to send [05:35:20]OFD Sender: No OFD packet to send [05:35:25]OFD Sender: No OFD packet to send [05:35:30]OFD Sender: No OFD packet to send [05:35:35]OFD Sender: No OFD packet to send [05:35:40]OFD Sender: No OFD packet to send [05:35:45]OFD Sender: No OFD packet to send [05:35:50]OFD Sender: No OFD packet to send [05:35:55]OFD Sender: No OFD packet to send [05:36:00]OFD Sender: No OFD packet to send [05:36:05]OFD Sender: No OFD packet to send [05:36:10]OFD Sender: No OFD packet to send [05:36:15]OFD Sender: No OFD packet to send [05:36:20]OFD Sender: No OFD packet to send [05:36:25]OFD Sender: No OFD packet to send [05:36:30]OFD Sender: No OFD packet to send [05:36:35]OFD Sender: No OFD packet to send [05:36:40]OFD Sender: No OFD packet to send [05:36:45]OFD Sender: No OFD packet to send [05:36:50]OFD Sender: No OFD packet to send [05:36:55]OFD Sender: No OFD packet to send [05:37:00]OFD Sender: No OFD packet to send [05:37:05]OFD Sender: No OFD packet to send [05:37:10]OFD Sender: No OFD packet to send [05:37:15]OFD Sender: No OFD packet to send [05:37:20]OFD Sender: No OFD packet to send [05:37:25]OFD Sender: No OFD packet to send [05:37:30]OFD Sender: No OFD packet to send [05:37:35]OFD Sender: No OFD packet to send [05:37:40]OFD Sender: No OFD packet to send [05:37:45]OFD Sender: No OFD packet to send [05:37:50]OFD Sender: No OFD packet to send [05:37:55]OFD Sender: No OFD packet to send [05:38:00]OFD Sender: No OFD packet to send [05:38:05]OFD Sender: No OFD packet to send [05:38:10]OFD Sender: No OFD packet to send [05:38:15]OFD Sender: No OFD packet to send [05:38:20]OFD Sender: No OFD packet to send [05:38:25]OFD Sender: No OFD packet to send [05:38:30]OFD Sender: No OFD packet to send [05:38:35]OFD Sender: No OFD packet to send [05:38:40]OFD Sender: No OFD packet to send [05:38:45]OFD Sender: No OFD packet to send [05:38:50]OFD Sender: No OFD packet to send [05:38:55]OFD Sender: No OFD packet to send [05:39:00]OFD Sender: No OFD packet to send [05:39:05]OFD Sender: No OFD packet to send [05:39:10]OFD Sender: No OFD packet to send [05:39:15]OFD Sender: No OFD packet to send [05:39:20]OFD Sender: No OFD packet to send [05:39:25]OFD Sender: No OFD packet to send [05:39:30]OFD Sender: No OFD packet to send [05:39:35]OFD Sender: No OFD packet to send [05:39:40]OFD Sender: No OFD packet to send [05:39:45]OFD Sender: No OFD packet to send [05:39:50]OFD Sender: No OFD packet to send [05:39:55]OFD Sender: No OFD packet to send [05:40:00]OFD Sender: No OFD packet to send [05:40:06]OFD Sender: No OFD packet to send [05:40:11]OFD Sender: No OFD packet to send [05:40:16]OFD Sender: No OFD packet to send [05:40:21]OFD Sender: No OFD packet to send [05:40:26]OFD Sender: No OFD packet to send [05:40:31]OFD Sender: No OFD packet to send [05:40:36]OFD Sender: No OFD packet to send [05:40:41]OFD Sender: No OFD packet to send [05:40:46]OFD Sender: No OFD packet to send [05:40:51]OFD Sender: No OFD packet to send [05:40:56]OFD Sender: No OFD packet to send [05:41:01]OFD Sender: No OFD packet to send [05:41:06]OFD Sender: No OFD packet to send [05:41:11]OFD Sender: No OFD packet to send [05:41:16]OFD Sender: No OFD packet to send [05:41:21]OFD Sender: No OFD packet to send [05:41:26]OFD Sender: No OFD packet to send [05:41:31]OFD Sender: No OFD packet to send [05:41:36]OFD Sender: No OFD packet to send [05:41:41]OFD Sender: No OFD packet to send [05:41:46]OFD Sender: No OFD packet to send [05:41:51]OFD Sender: No OFD packet to send [05:41:56]OFD Sender: No OFD packet to send [05:42:01]OFD Sender: No OFD packet to send [05:42:06]OFD Sender: No OFD packet to send [05:42:11]OFD Sender: No OFD packet to send [05:42:16]OFD Sender: No OFD packet to send [05:42:21]OFD Sender: No OFD packet to send [05:42:26]OFD Sender: No OFD packet to send [05:42:31]OFD Sender: No OFD packet to send [05:42:36]OFD Sender: No OFD packet to send [05:42:41]OFD Sender: No OFD packet to send [05:42:46]OFD Sender: No OFD packet to send [05:42:51]OFD Sender: No OFD packet to send [05:42:56]OFD Sender: No OFD packet to send [05:43:01]OFD Sender: No OFD packet to send [05:43:06]OFD Sender: No OFD packet to send [05:43:11]OFD Sender: No OFD packet to send [05:43:16]OFD Sender: No OFD packet to send [05:43:21]OFD Sender: No OFD packet to send [05:43:26]OFD Sender: No OFD packet to send [05:43:31]OFD Sender: No OFD packet to send [05:43:36]OFD Sender: No OFD packet to send [05:43:41]OFD Sender: No OFD packet to send [05:43:46]OFD Sender: No OFD packet to send [05:43:51]OFD Sender: No OFD packet to send [05:43:56]OFD Sender: No OFD packet to send [05:44:01]OFD Sender: No OFD packet to send [05:44:06]OFD Sender: No OFD packet to send [05:44:11]OFD Sender: No OFD packet to send [05:44:16]OFD Sender: No OFD packet to send [05:44:21]OFD Sender: No OFD packet to send [05:44:26]OFD Sender: No OFD packet to send [05:44:31]OFD Sender: No OFD packet to send [05:44:36]OFD Sender: No OFD packet to send [05:44:41]OFD Sender: No OFD packet to send [05:44:46]OFD Sender: No OFD packet to send [05:44:51]OFD Sender: No OFD packet to send [05:44:56]OFD Sender: No OFD packet to send [05:45:01]OFD Sender: No OFD packet to send [05:45:06]OFD Sender: No OFD packet to send [05:45:11]OFD Sender: No OFD packet to send [05:45:16]OFD Sender: No OFD packet to send [05:45:21]OFD Sender: No OFD packet to send [05:45:26]OFD Sender: No OFD packet to send [05:45:31]OFD Sender: No OFD packet to send [05:45:36]OFD Sender: No OFD packet to send [05:45:41]OFD Sender: No OFD packet to send [05:45:46]OFD Sender: No OFD packet to send [05:45:51]OFD Sender: No OFD packet to send [05:45:56]OFD Sender: No OFD packet to send [05:46:01]OFD Sender: No OFD packet to send [05:46:06]OFD Sender: No OFD packet to send [05:46:11]OFD Sender: No OFD packet to send [05:46:16]OFD Sender: No OFD packet to send [05:46:21]OFD Sender: No OFD packet to send [05:46:26]OFD Sender: No OFD packet to send [05:46:31]OFD Sender: No OFD packet to send [05:46:36]OFD Sender: No OFD packet to send [05:46:41]OFD Sender: No OFD packet to send [05:46:46]OFD Sender: No OFD packet to send [05:46:51]OFD Sender: No OFD packet to send [05:46:56]OFD Sender: No OFD packet to send [05:47:01]OFD Sender: No OFD packet to send [05:47:06]OFD Sender: No OFD packet to send [05:47:11]OFD Sender: No OFD packet to send [05:47:16]OFD Sender: No OFD packet to send [05:47:21]OFD Sender: No OFD packet to send [05:47:26]OFD Sender: No OFD packet to send [05:47:31]OFD Sender: No OFD packet to send [05:47:36]OFD Sender: No OFD packet to send [05:47:41]OFD Sender: No OFD packet to send [05:47:46]OFD Sender: No OFD packet to send [05:47:51]OFD Sender: No OFD packet to send [05:47:56]OFD Sender: No OFD packet to send [05:48:01]OFD Sender: No OFD packet to send [05:48:06]OFD Sender: No OFD packet to send [05:48:11]OFD Sender: No OFD packet to send [05:48:16]OFD Sender: No OFD packet to send [05:48:21]OFD Sender: No OFD packet to send [05:48:26]OFD Sender: No OFD packet to send [05:48:31]OFD Sender: No OFD packet to send [05:48:36]OFD Sender: No OFD packet to send [05:48:41]OFD Sender: No OFD packet to send [05:48:46]OFD Sender: No OFD packet to send [05:48:51]OFD Sender: No OFD packet to send [05:48:56]OFD Sender: No OFD packet to send [05:49:01]OFD Sender: No OFD packet to send [05:49:06]OFD Sender: No OFD packet to send [05:49:11]OFD Sender: No OFD packet to send [05:49:16]OFD Sender: No OFD packet to send [05:49:21]OFD Sender: No OFD packet to send [05:49:26]OFD Sender: No OFD packet to send [05:49:31]OFD Sender: No OFD packet to send [05:49:36]OFD Sender: No OFD packet to send [05:49:41]OFD Sender: No OFD packet to send [05:49:46]OFD Sender: No OFD packet to send [05:49:51]OFD Sender: No OFD packet to send [05:49:56]OFD Sender: No OFD packet to send [05:50:01]OFD Sender: No OFD packet to send [05:50:06]OFD Sender: No OFD packet to send [05:50:11]OFD Sender: No OFD packet to send [05:50:16]OFD Sender: No OFD packet to send [05:50:21]OFD Sender: No OFD packet to send [05:50:26]OFD Sender: No OFD packet to send [05:50:31]OFD Sender: No OFD packet to send [05:50:36]OFD Sender: No OFD packet to send [05:50:41]OFD Sender: No OFD packet to send [05:50:46]OFD Sender: No OFD packet to send [05:50:51]OFD Sender: No OFD packet to send [05:50:56]OFD Sender: No OFD packet to send [05:51:01]OFD Sender: No OFD packet to send [05:51:06]OFD Sender: No OFD packet to send [05:51:11]OFD Sender: No OFD packet to send [05:51:16]OFD Sender: No OFD packet to send [05:51:21]OFD Sender: No OFD packet to send [05:51:26]OFD Sender: No OFD packet to send [05:51:31]OFD Sender: No OFD packet to send [05:51:36]OFD Sender: No OFD packet to send [05:51:41]OFD Sender: No OFD packet to send [05:51:46]OFD Sender: No OFD packet to send [05:51:51]OFD Sender: No OFD packet to send [05:51:56]OFD Sender: No OFD packet to send [05:52:01]OFD Sender: No OFD packet to send [05:52:06]OFD Sender: No OFD packet to send [05:52:11]OFD Sender: No OFD packet to send [05:52:16]OFD Sender: No OFD packet to send [05:52:21]OFD Sender: No OFD packet to send [05:52:26]OFD Sender: No OFD packet to send [05:52:31]OFD Sender: No OFD packet to send [05:52:36]OFD Sender: No OFD packet to send [05:52:41]OFD Sender: No OFD packet to send [05:52:46]OFD Sender: No OFD packet to send [05:52:51]OFD Sender: No OFD packet to send [05:52:56]OFD Sender: No OFD packet to send [05:53:01]OFD Sender: No OFD packet to send [05:53:06]OFD Sender: No OFD packet to send [05:53:11]OFD Sender: No OFD packet to send [05:53:16]OFD Sender: No OFD packet to send [05:53:21]OFD Sender: No OFD packet to send [05:53:26]OFD Sender: No OFD packet to send [05:53:31]OFD Sender: No OFD packet to send [05:53:36]OFD Sender: No OFD packet to send [05:53:41]OFD Sender: No OFD packet to send [05:53:46]OFD Sender: No OFD packet to send [05:53:51]OFD Sender: No OFD packet to send [05:53:56]OFD Sender: No OFD packet to send [05:54:01]OFD Sender: No OFD packet to send [05:54:06]OFD Sender: No OFD packet to send [05:54:11]OFD Sender: No OFD packet to send [05:54:16]OFD Sender: No OFD packet to send [05:54:21]OFD Sender: No OFD packet to send [05:54:26]OFD Sender: No OFD packet to send [05:54:31]OFD Sender: No OFD packet to send [05:54:36]OFD Sender: No OFD packet to send [05:54:41]OFD Sender: No OFD packet to send [05:54:46]OFD Sender: No OFD packet to send [05:54:51]OFD Sender: No OFD packet to send [05:54:56]OFD Sender: No OFD packet to send [05:55:01]OFD Sender: No OFD packet to send [05:55:06]OFD Sender: No OFD packet to send [05:55:11]OFD Sender: No OFD packet to send [05:55:16]OFD Sender: No OFD packet to send [05:55:21]OFD Sender: No OFD packet to send [05:55:26]OFD Sender: No OFD packet to send [05:55:31]OFD Sender: No OFD packet to send [05:55:36]OFD Sender: No OFD packet to send [05:55:41]OFD Sender: No OFD packet to send [05:55:46]OFD Sender: No OFD packet to send [05:55:51]OFD Sender: No OFD packet to send [05:55:56]OFD Sender: No OFD packet to send [05:56:01]OFD Sender: No OFD packet to send [05:56:06]OFD Sender: No OFD packet to send [05:56:11]OFD Sender: No OFD packet to send [05:56:16]OFD Sender: No OFD packet to send [05:56:21]OFD Sender: No OFD packet to send [05:56:26]OFD Sender: No OFD packet to send [05:56:31]OFD Sender: No OFD packet to send [05:56:36]OFD Sender: No OFD packet to send [05:56:41]OFD Sender: No OFD packet to send [05:56:46]OFD Sender: No OFD packet to send [05:56:51]OFD Sender: No OFD packet to send [05:56:56]OFD Sender: No OFD packet to send [05:57:01]OFD Sender: No OFD packet to send [05:57:06]OFD Sender: No OFD packet to send [05:57:11]OFD Sender: No OFD packet to send [05:57:16]OFD Sender: No OFD packet to send [05:57:21]OFD Sender: No OFD packet to send [05:57:26]OFD Sender: No OFD packet to send [05:57:31]OFD Sender: No OFD packet to send [05:57:36]OFD Sender: No OFD packet to send [05:57:41]OFD Sender: No OFD packet to send [05:57:46]OFD Sender: No OFD packet to send [05:57:51]OFD Sender: No OFD packet to send [05:57:56]OFD Sender: No OFD packet to send [05:58:01]OFD Sender: No OFD packet to send [05:58:06]OFD Sender: No OFD packet to send [05:58:11]OFD Sender: No OFD packet to send [05:58:16]OFD Sender: No OFD packet to send [05:58:21]OFD Sender: No OFD packet to send [05:58:26]OFD Sender: No OFD packet to send [05:58:31]OFD Sender: No OFD packet to send [05:58:36]OFD Sender: No OFD packet to send [05:58:41]OFD Sender: No OFD packet to send [05:58:46]OFD Sender: No OFD packet to send [05:58:51]OFD Sender: No OFD packet to send [05:58:56]OFD Sender: No OFD packet to send [05:59: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:32]OFD Sender: No OFD packet to send [06:00:37]OFD Sender: No OFD packet to send [06:00:42]OFD Sender: No OFD packet to send [06:00:47]OFD Sender: No OFD packet to send [06:00:52]OFD Sender: No OFD packet to send [06:00:57]OFD Sender: No OFD packet to send [06:01:02]OFD Sender: No OFD packet to send [06:01:07]OFD Sender: No OFD packet to send [06:01:12]OFD Sender: No OFD packet to send [06:01:17]OFD Sender: No OFD packet to send [06:01:22]OFD Sender: No OFD packet to send [06:01:27]OFD Sender: No OFD packet to send [06:01:32]OFD Sender: No OFD packet to send [06:01:37]OFD Sender: No OFD packet to send [06:01:42]OFD Sender: No OFD packet to send [06:01:47]OFD Sender: No OFD packet to send [06:01:52]OFD Sender: No OFD packet to send [06:01:57]OFD Sender: No OFD packet to send [06:02:02]OFD Sender: No OFD packet to send [06:02:07]OFD Sender: No OFD packet to send [06:02:12]OFD Sender: No OFD packet to send [06:02:17]OFD Sender: No OFD packet to send [06:02:22]OFD Sender: No OFD packet to send [06:02:27]OFD Sender: No OFD packet to send [06:02:32]OFD Sender: No OFD packet to send [06:02:37]OFD Sender: No OFD packet to send [06:02:42]OFD Sender: No OFD packet to send [06:02:47]OFD Sender: No OFD packet to send [06:02:52]OFD Sender: No OFD packet to send [06:02:57]OFD Sender: No OFD packet to send [06:03:02]OFD Sender: No OFD packet to send [06:03:07]OFD Sender: No OFD packet to send [06:03:12]OFD Sender: No OFD packet to send [06:03:17]OFD Sender: No OFD packet to send [06:03:22]OFD Sender: No OFD packet to send [06:03:27]OFD Sender: No OFD packet to send [06:03:32]OFD Sender: No OFD packet to send [06:03:37]OFD Sender: No OFD packet to send [06:03:42]OFD Sender: No OFD packet to send [06:03:47]OFD Sender: No OFD packet to send [06:03:52]OFD Sender: No OFD packet to send [06:03:57]OFD Sender: No OFD packet to send [06:04:02]OFD Sender: No OFD packet to send [06:04:07]OFD Sender: No OFD packet to send [06:04:12]OFD Sender: No OFD packet to send [06:04:17]OFD Sender: No OFD packet to send [06:04:22]OFD Sender: No OFD packet to send [06:04:27]OFD Sender: No OFD packet to send [06:04:32]OFD Sender: No OFD packet to send [06:04:37]OFD Sender: No OFD packet to send [06:04:42]OFD Sender: No OFD packet to send [06:04:47]OFD Sender: No OFD packet to send [06:04:52]OFD Sender: No OFD packet to send [06:04:57]OFD Sender: No OFD packet to send [06:05:02]OFD Sender: No OFD packet to send [06:05:07]OFD Sender: No OFD packet to send [06:05:12]OFD Sender: No OFD packet to send [06:05:17]OFD Sender: No OFD packet to send [06:05:22]OFD Sender: No OFD packet to send [06:05:27]OFD Sender: No OFD packet to send [06:05:32]OFD Sender: No OFD packet to send [06:05:37]OFD Sender: No OFD packet to send [06:05:42]OFD Sender: No OFD packet to send [06:05:47]OFD Sender: No OFD packet to send [06:05:52]OFD Sender: No OFD packet to send [06:05:57]OFD Sender: No OFD packet to send [06:06:02]OFD Sender: No OFD packet to send [06:06:07]OFD Sender: No OFD packet to send [06:06:12]OFD Sender: No OFD packet to send [06:06:17]OFD Sender: No OFD packet to send [06:06:22]OFD Sender: No OFD packet to send [06:06:27]OFD Sender: No OFD packet to send [06:06:32]OFD Sender: No OFD packet to send [06:06:37]OFD Sender: No OFD packet to send [06:06:42]OFD Sender: No OFD packet to send [06:06:47]OFD Sender: No OFD packet to send [06:06:52]OFD Sender: No OFD packet to send [06:06:57]OFD Sender: No OFD packet to send [06:07:02]OFD Sender: No OFD packet to send [06:07:07]OFD Sender: No OFD packet to send [06:07:12]OFD Sender: No OFD packet to send [06:07:17]OFD Sender: No OFD packet to send [06:07:22]OFD Sender: No OFD packet to send [06:07:27]OFD Sender: No OFD packet to send [06:07:32]OFD Sender: No OFD packet to send [06:07:37]OFD Sender: No OFD packet to send [06:07:42]OFD Sender: No OFD packet to send [06:07:47]OFD Sender: No OFD packet to send [06:07:52]OFD Sender: No OFD packet to send [06:07:57]OFD Sender: No OFD packet to send [06:08:02]OFD Sender: No OFD packet to send [06:08:07]OFD Sender: No OFD packet to send [06:08:12]OFD Sender: No OFD packet to send [06:08:17]OFD Sender: No OFD packet to send [06:08:22]OFD Sender: No OFD packet to send [06:08:27]OFD Sender: No OFD packet to send [06:08:32]OFD Sender: No OFD packet to send [06:08:37]OFD Sender: No OFD packet to send [06:08:42]OFD Sender: No OFD packet to send [06:08:47]OFD Sender: No OFD packet to send [06:08:52]OFD Sender: No OFD packet to send [06:08:57]OFD Sender: No OFD packet to send [06:09:02]OFD Sender: No OFD packet to send [06:09:07]OFD Sender: No OFD packet to send [06:09:12]OFD Sender: No OFD packet to send [06:09:17]OFD Sender: No OFD packet to send [06:09:22]OFD Sender: No OFD packet to send [06:09:27]OFD Sender: No OFD packet to send [06:09:32]OFD Sender: No OFD packet to send [06:09:37]OFD Sender: No OFD packet to send [06:09:42]OFD Sender: No OFD packet to send [06:09:47]OFD Sender: No OFD packet to send [06:09:52]OFD Sender: No OFD packet to send [06:09:57]OFD Sender: No OFD packet to send [06:10:02]OFD Sender: No OFD packet to send [06:10:03]accept exits with 8 [06:10:03]New connection [06:10:03]New thread 3067555172 created [06:10:03]Thread 3067411812 joined [06:10:03]Waiting for new connection... [06:10:03] Sock 8.Parse request [06:10:03]Sock 8.Check first char [06:10:03]Sock 8.First char is OK [06:10:03]request: POST /json_proto HTTP/1.0 [06:10:03]Method: POST [06:10:03]URL: /json_proto [06:10:03]Method is POST - this is cgi request [06:10:03]url: /json_proto [06:10:03]query_string will be loaded in cgi processing [06:10:03]execute_cgi json_proto POST (null) [06:10:03]execute_cgi path=json_proto method=POST [06:10:03]POST find Content-Length [06:10:03]Host: 172.17.36.131:8080 [06:10:03]Content-Length: 624 [06:10:03]Content-Type: application/json [06:10:03] [06:10:03]POST finish read [06:10:03]Found Content-Length = 624 [06:10:03]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100023", "tax_sys" : 0, "items" : [ { "code": "48744683", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Caster+", "price" : 143.00, "quantity" : 1.000, "sum" : 143.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 143.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [06:10:03]execute_script... [06:10:03]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100023", "tax_sys" : 0, "items" : [ { "code": "48744683", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Caster+", "price" : 143.00, "quantity" : 1.000, "sum" : 143.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 143.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [06:10:03]POST & json_proto [06:10:03]process_json_proto [06:10:03]json parsed OK: [06:10:03]protocol is kg_v1.0 [06:10:03]action value=close_receipt [06:10:03]process_action close_receipt [06:10:03]cmd_close_receipt [06:10:03]MH_GetDate [06:10:03]Write to MH i2c: F0 00 00 14 31 34 [06:10:03]Write i2c OK [06:10:03]MH_I2C_Read... [06:10:03]Read from MH i2c: F0 [06:10:03]MH_I2C_Read... [06:10:03]Read from MH i2c: F0 09 00 [06:10:03]MH_I2C_Read... [06:10:03]Read from MH i2c: F0 09 00 14 31 00 C6 AF 5E 66 A7 4C 98 65 66 [06:10:03]GetLastDocTimeStamp 1717471412 [06:10:03]current date 1717481414 [06:10:03]FM_GetShiftState [06:10:03]SAM_PROTO_GetShiftState [06:10:03]wFMCommunicate request_size=4 [06:10:03]MH_SAM_APDU [06:10:03]CAPDU: 80 13 01 00 [06:10:03]Write to MH i2c: E2 08 00 15 31 80 13 01 00 00 00 00 00 C3 [06:10:03]Write i2c OK [06:10:03]MH_I2C_Read... [06:10:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:10:03]Read from MH i2c: E2 [06:10:03]MH_I2C_Read... [06:10:03]Read from MH i2c: E2 0E 00 [06:10:03]MH_I2C_Read... [06:10:03]Read from MH i2c: E2 0E 00 15 31 00 09 00 01 35 5B 5E 66 00 00 00 00 90 00 23 [06:10:03]RAPDU: 09 00 01 35 5B 5E 66 00 00 00 00 90 00 [06:10:03]wFMCommunicate OK [06:10:03]SAM_PROTO_GetShiftState done [06:10:03]FM_GetShiftState done [06:10:03]opened in 1717459765 [06:10:03]opened+sec_in_day 1717546165 [06:10:03]quantity*price = 14300 [06:10:03]sum+1 = 14301 [06:10:03]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 143.00 НСП 1% : 1.26 НДС 12% : 15.19 Наличными: 143.00 Безнал.: 0.00 Место: АЗС № 62 "Партнер Нефть" Адрес: 720001, г. Балыкчы, ул. Абдрахманова 325 Б, 42.462761, 76.214931 СНО: Общий режим Чек 5 04.06.2024 06:10 Смена: 368 ФФД: 1.0 ЗНМ: 0300000080 РНМ: 0000000000096838 Версия ККМ: 001 ФМ: 0000000000874859 ФД: 34661 ФПД: 198432815286969 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T061014&type=1&operation_type=1&fn_number=0000000000874859&fd_number=34661&fm=198432815286969&tin=02508201610067®Number=0000000000096838&sum=14300 0 [06:10:04]StoreToDocumentArchive [06:10:04]shift 368 fd 34661 [06:10:04]save to /storage/0368/doc_00034661 [06:10:04]save last doc name /storage/0368/doc_00034661 to /storage/kkm_last_doc_name [06:10:04]save OK [06:10:04]Clear old archive folders... [06:10:04]ProcessDocumentItem done err = 0, tmpTLVsize=276 [06:10:04]tlvbuf is 01F473C0 [06:10:04]SAM_PROTO_ClearQueue [06:10:04]wFMCommunicate request_size=4 [06:10:04]MH_SAM_APDU [06:10:04]CAPDU: 80 09 00 00 [06:10:04]Write to MH i2c: E2 08 00 22 31 80 09 00 00 00 00 00 00 C5 [06:10:04]Write i2c OK [06:10:04]MH_I2C_Read... [06:10:04]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [06:10:04]Read from MH i2c: E2 [06:10:04]MH_I2C_Read... [06:10:04]Read from MH i2c: E2 03 00 [06:10:04]MH_I2C_Read... [06:10:04]Read from MH i2c: E2 03 00 22 31 00 90 00 C7 [06:10:04]RAPDU: 90 00 [06:10:04]wFMCommunicate OK [06:10:04]SAM_PROTO_ClearQueue done [06:10:04]KKMCreateOFDPacket [06:10:04]OFDProtocolAddRootSTLVToBuf [06:10:04]FM_MakeSignedData [06:10:04]FM_MakeSignedData [06:10:04]SAM_PROTO_SignData [06:10:04]wFMCommunicate request_size=4 [06:10:04]MH_SAM_APDU [06:10:04]CAPDU: 80 0D 01 02 [06:10:04]Write to MH i2c: E2 08 00 23 31 80 0D 01 02 00 00 00 00 CD [06:10:04]Write i2c OK [06:10:04]MH_I2C_Read... [06:10:04]Read from MH i2c: E2 [06:10:04]MH_I2C_Read... [06:10:04]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [06:10:04]Read from MH i2c: E2 03 00 [06:10:04]MH_I2C_Read... [06:10:04]Read from MH i2c: E2 03 00 23 31 00 90 00 C8 [06:10:04]RAPDU: 90 00 [06:10:04]wFMCommunicate OK [06:10:04]wFMCommunicate request_size=255 [06:10:04]MH_SAM_APDU [06:10:04]CAPDU: 80 0D 02 02 FA 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 34 36 38 33 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 43 61 73 74 65 72 2B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 37 00 00 00 00 13 04 06 00 DC 37 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 37 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EF 05 00 00 00 00 07 04 06 00 DC 37 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 C6 AF 5E 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 30 30 30 30 [06:10:04]Write to MH i2c: E2 02 01 24 31 80 0D 02 02 FA 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 34 36 38 33 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 43 61 73 74 65 72 2B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 37 00 00 00 00 13 04 06 00 DC 37 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 37 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EF 05 00 00 00 00 07 04 06 00 DC 37 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 C6 AF 5E 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 30 30 30 30 00 00 D4 [06:10:04]Write i2c OK [06:10:04]MH_I2C_Read... [06:10:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:10:04]Read from MH i2c: E2 [06:10:04]MH_I2C_Read... [06:10:04]Read from MH i2c: E2 03 00 [06:10:04]MH_I2C_Read... [06:10:04]Read from MH i2c: E2 03 00 24 31 00 90 00 C9 [06:10:04]RAPDU: 90 00 [06:10:04]wFMCommunicate OK [06:10:04]wFMCommunicate request_size=35 [06:10:04]MH_SAM_APDU [06:10:04]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 65 87 00 00 35 04 06 00 B4 79 3D 77 8A B9 [06:10:04]Write to MH i2c: E2 26 00 25 31 80 0D 02 02 1E 00 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 65 87 00 00 35 04 06 00 B4 79 3D 77 8A B9 00 00 DC [06:10:04]Write i2c OK [06:10:04]MH_I2C_Read... [06:10:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:10:04]Read from MH i2c: E2 [06:10:04]MH_I2C_Read... [06:10:04]Read from MH i2c: E2 03 00 [06:10:04]MH_I2C_Read... [06:10:04]Read from MH i2c: E2 03 00 25 31 00 90 00 CA [06:10:04]RAPDU: 90 00 [06:10:04]wFMCommunicate OK [06:10:04]wFMCommunicate request_size=4 [06:10:04]MH_SAM_APDU [06:10:04]CAPDU: 80 0D 03 02 [06:10:04]Write to MH i2c: E2 08 00 26 31 80 0D 03 02 00 00 00 00 D2 [06:10:04]Write i2c OK [06:10:04]MH_I2C_Read... [06:10:04]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [06:10:04]Read from MH i2c: E2 [06:10:04]MH_I2C_Read... [06:10:04]Read from MH i2c: E2 0B 00 [06:10:04]MH_I2C_Read... [06:10:04]Read from MH i2c: E2 0B 00 26 31 00 E7 18 9E ED DD 6A 2E 18 90 00 EA [06:10:04]RAPDU: E7 18 9E ED DD 6A 2E 18 90 00 [06:10:04]wFMCommunicate OK [06:10:04]SAM_PROTO_SignData done [06:10:04]FM_MakeSignedData done [06:10:04]CreateOFDProtocolMessage [06:10:04]wFMCommunicate request_size=4 [06:10:04]MH_SAM_APDU [06:10:04]CAPDU: 80 11 00 00 [06:10:04]Write to MH i2c: E2 08 00 27 31 80 11 00 00 00 00 00 00 D2 [06:10:04]Write i2c OK [06:10:04]MH_I2C_Read... [06:10:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:10:04]Read from MH i2c: E2 [06:10:04]MH_I2C_Read... [06:10:04]Read from MH i2c: E2 17 00 [06:10:04]MH_I2C_Read... [06:10:04]Read from MH i2c: E2 17 00 27 31 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 2E [06:10:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 [06:10:04]wFMCommunicate OK [06:10:04]CreateOFDProtocolMessage done [06:10:04]OFDSenderStorePacket 34661 [06:10:04]StoreOFDPacket docnum=34661 [06:10:04]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 28 01 00 00 11 F0 20 01 86 4D 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 34 36 38 33 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 43 61 73 74 65 72 2B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 37 00 00 00 00 13 04 06 00 DC 37 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 37 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EF 05 00 00 00 00 07 04 06 00 DC 37 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 C6 AF 5E 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 65 87 00 00 35 04 06 00 B4 79 3D 77 8A B9 E7 18 9E ED DD 6A 2E 18 [06:10:04]CheckFolder [06:10:04]dirname=/storage/ofd_packets [06:10:04]CheckFolder done [06:10:04]ProducePacketName [06:10:04]name=ofd_packets/00034661 [06:10:04]NVStorageSaveData ofd_packets/00034661 [06:10:04]File name is /storage/ofd_packets/00034661 [06:10:04]Write 326 bytes [06:10:04]NVStorageSaveData done [06:10:04]OFDSenderStorePacket done [06:10:04]KKMCreateOFDPacket done [06:10:04]NVStorageSaveData kkm_last_timestamp [06:10:04]File name is /storage/kkm_last_timestamp [06:10:04]Write 4 bytes [06:10:04]NVStorageSaveData done [06:10:04]ExternCall_PrintAddStr [06:10:04]wPrintStart [06:10:04]Write to MH i2c: 01 00 00 28 31 59 [06:10:04]Write i2c OK [06:10:04]MH_I2C_Read... [06:10:04]Read from MH i2c: 01 [06:10:04]MH_I2C_Read... [06:10:04]Read from MH i2c: 01 07 00 [06:10:04]MH_I2C_Read... [06:10:04]Read from MH i2c: 01 07 00 28 31 00 00 00 00 00 FF 0F 6E [06:10:04]RasterBufferAndPrint [06:10:04]line Счет N : (3)100023 [06:10:04]line ИНН: 02508201610067 [06:10:04]line Контрольно-Кассовый Чек [06:10:04]line ПРОДАЖА [06:10:04]line Товар: 48744683 [06:10:04]line Сигареты Winston XStyle Caster+ [06:10:04]line 1.000 * 143.00 [06:10:04]line = 143.00 [06:10:04]line НДС 12% НСП 1% [06:10:04]line > о реализуемом товаре [06:10:04]line ИТОГО: 143.00 [06:10:04]line НСП 1% : 1.26 [06:10:04]line НДС 12% : 15.19 [06:10:04]line Наличными: 143.00 [06:10:04]line Безнал.: 0.00 [06:10:04]line Место: АЗС № 62 "Партнер Нефть" [06:10:05]line Адрес: 720001, г. Балыкчы, ул. Абдрахманова 325 Б, 42.462761, 76.214931 [06:10:05]line СНО: Общий режим [06:10:05]line Чек 5 04.06.2024 06:10 [06:10:05]line Смена: 368 ФФД: 1.0 [06:10:05]line ЗНМ: 0300000080 [06:10:05]line РНМ: 0000000000096838 [06:10:05]line Версия ККМ: 001 [06:10:05]line ФМ: 0000000000874859 [06:10:05]line ФД: 34661 [06:10:05]line ФПД: 198432815286969 [06:10:05]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T061014&type=1&operation_type=1&fn_number=0000000000874859&fd_number=34661&fm=198432815286969&tin=02508201610067®Number=0000000000096838&sum=14300 [06:10:05]line 0 [06:10:05]OFD Sender: Processing packet 34661 [packets to send 17, broken 16] [06:10:05]ProducePacketName [06:10:05]name=ofd_packets/00034661 [06:10:05]OFD Sender: To server: pG, [06:10:05]CommunicateWithHost lk.salyk.kg:30040 [06:10:05]ConnectInit lk.salyk.kg [06:10:05]written 0, free lines is 4095 [06:10:05]Connected sock=10 [06:10:05]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 28 01 00 00 11 F0 20 01 86 4D 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 34 36 38 33 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 43 61 73 74 65 72 2B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 37 00 00 00 00 13 04 06 00 DC 37 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 37 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EF 05 00 00 00 00 07 04 06 00 DC 37 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 C6 AF 5E 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 65 87 00 00 35 04 06 00 B4 79 3D 77 8A B9 E7 18 9E ED DD 6A 2E 18 [06:10:05]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 4F 00 00 00 66 35 47 00 B5 77 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 65 87 00 00 F4 03 04 00 07 5A 5E 66 B6 04 01 00 00 4F 6B 36 B0 44 C9 A0 6F [06:10:05]CommunicateWithHost err = 0 [06:10:05]CheckOFDResponse [06:10:05]1017 (14) - 77093643461234 [06:10:05]1041 (16) - 0000000000874859 [06:10:05]1040 (4) - 34661 [06:10:05]1012 (4) - 04.06.2024 00:04 [06:10:05]1206 (1) - 0 [06:10:05]OFD Sender: Remove packet 34661 [06:10:05]ProducePacketName [06:10:05]name=ofd_packets/00034661 [06:10:05]NVStorageDeleteData [06:10:05]Write to MH i2c: 01 00 00 51 31 82 [06:10:05]Write i2c OK [06:10:05]MH_I2C_Read... [06:10:05]Read from MH i2c: 01 [06:10:05]MH_I2C_Read... [06:10:05]Read from MH i2c: 01 07 00 [06:10:05]MH_I2C_Read... [06:10:05]Read from MH i2c: 01 07 00 51 31 00 00 00 00 00 FD 0C 92 [06:10:05]RasterBufferAndPrint [06:10:05]line [06:10:05]line [06:10:05]line [06:10:05]line [06:10:05]line [06:10:05]written 0, free lines is 3330 [06:10:05]MH_Cut [06:10:05]Write to MH i2c: D1 01 00 58 31 01 5B [06:10:05]Write i2c OK [06:10:05]MH_I2C_Read... [06:10:05]Read from MH i2c: D1 [06:10:05]MH_I2C_Read... [06:10:05]Read from MH i2c: D1 01 00 [06:10:05]MH_I2C_Read... [06:10:05]Read from MH i2c: D1 01 00 58 31 00 5A [06:10:05]Write to MH i2c: 01 00 00 59 31 8A [06:10:05]Write i2c OK [06:10:05]MH_I2C_Read... [06:10:06]OFD Sender: No OFD packet to send [06:10:06]*** Cut start [06:10:06]*** Partial cut [06:10:06]*** CUTSNS_PIN = 1 [06:10:06]*** CUTSNS_PIN = 0 [06:10:06]*** Brake cut motor [06:10:07]Read from MH i2c: 01 [06:10:07]MH_I2C_Read... [06:10:07]*** Stop cut motor [06:10:07]*** Cut end [06:10:07]Read from MH i2c: 01 07 00 [06:10:07]MH_I2C_Read... [06:10:07]Read from MH i2c: 01 07 00 59 31 00 00 00 00 00 FF 0F 9F [06:10:07]process_action close_receipt done [06:10:07]requested_data is exist [06:10:07]produce_requested_data [06:10:07]requested_item fm.sn is exist - process it [06:10:07]wFMCommunicate request_size=4 [06:10:07]MH_SAM_APDU [06:10:07]CAPDU: 80 11 00 00 [06:10:07]Write to MH i2c: E2 08 00 5A 31 80 11 00 00 00 00 00 00 05 [06:10:07]Write i2c OK [06:10:07]MH_I2C_Read... [06:10:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:10:07]Read from MH i2c: E2 [06:10:07]MH_I2C_Read... [06:10:07]Read from MH i2c: E2 17 00 [06:10:07]MH_I2C_Read... [06:10:07]Read from MH i2c: E2 17 00 5A 31 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 61 [06:10:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 [06:10:07]wFMCommunicate OK [06:10:07]requested_item fd.num is exist - process it [06:10:07]SAM_PROTO_GetFieldsCounters [06:10:07]wFMCommunicate request_size=4 [06:10:07]MH_SAM_APDU [06:10:07]CAPDU: 80 13 00 00 [06:10:07]Write to MH i2c: E2 08 00 5B 31 80 13 00 00 00 00 00 00 08 [06:10:07]Write i2c OK [06:10:07]MH_I2C_Read... [06:10:07]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [06:10:07]Read from MH i2c: E2 [06:10:07]MH_I2C_Read... [06:10:07]Read from MH i2c: E2 62 00 [06:10:07]MH_I2C_Read... [06:10:07]Read from MH i2c: E2 62 00 5B 31 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 10 04 04 00 65 87 00 00 0E 04 04 00 70 01 00 00 12 04 04 00 05 00 00 00 5E 04 04 00 05 00 00 00 57 04 04 00 06 00 00 00 19 04 04 00 00 00 00 00 90 00 A7 [06:10:07]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 10 04 04 00 65 87 00 00 0E 04 04 00 70 01 00 00 12 04 04 00 05 00 00 00 5E 04 04 00 05 00 00 00 57 04 04 00 06 00 00 00 19 04 04 00 00 00 00 00 90 00 [06:10:07]wFMCommunicate OK [06:10:07]SAM_PROTO_GetFieldsCounters done [06:10:07]requested_item shift.num is exist - process it [06:10:07]requested_item shift.opened is exist - process it [06:10:07]req_shift_opened [06:10:07]FM_GetShiftState [06:10:07]SAM_PROTO_GetShiftState [06:10:07]wFMCommunicate request_size=4 [06:10:07]MH_SAM_APDU [06:10:07]CAPDU: 80 13 01 00 [06:10:07]Write to MH i2c: E2 08 00 5C 31 80 13 01 00 00 00 00 00 0A [06:10:07]Write i2c OK [06:10:07]MH_I2C_Read... [06:10:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:10:07]Read from MH i2c: E2 [06:10:07]MH_I2C_Read... [06:10:07]Read from MH i2c: E2 0E 00 [06:10:07]MH_I2C_Read... [06:10:07]Read from MH i2c: E2 0E 00 5C 31 00 09 00 01 35 5B 5E 66 00 00 00 00 90 00 6A [06:10:07]RAPDU: 09 00 01 35 5B 5E 66 00 00 00 00 90 00 [06:10:07]wFMCommunicate OK [06:10:07]SAM_PROTO_GetShiftState done [06:10:07]FM_GetShiftState done [06:10:07]req_shift_opened done [06:10:07]requested_item shift.open_date is exist - process it [06:10:07]req_shift_open_date [06:10:07]req_shift_open_date done [06:10:07]produce_requested_data done [06:10:07]produce_requested_data return {"fm.sn":"0000000000874859","fd.num":34661,"shift.num":368,"shift.opened":1,"shift.open_date":1717459765} [06:10:07]process_action_free close_receipt [06:10:07]json_value_free [06:10:07]json_value_free done [06:10:07]process_json_proto returns [06:10:07]Send response to host [06:10:07]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874859","fd.num":34661,"shift.num":368,"shift.opened":1,"shift.open_date":1717459765}}} [06:10:07]free response buf [06:10:07]execute_script done [06:10:07]execute_script returns [06:10:07]free content buf [06:10:07]Sock 8.Close socket [06:10:07]Sock 8.Thread stoped [06:10:11]OFD Sender: No OFD packet to send [06:10:16]OFD Sender: No OFD packet to send [06:10:21]OFD Sender: No OFD packet to send [06:10:26]OFD Sender: No OFD packet to send [06:10:31]OFD Sender: No OFD packet to send [06:10:36]OFD Sender: No OFD packet to send [06:10:41]OFD Sender: No OFD packet to send [06:10:46]OFD Sender: No OFD packet to send [06:10:51]OFD Sender: No OFD packet to send [06:10:56]OFD Sender: No OFD packet to send [06:11:01]OFD Sender: No OFD packet to send [06:11:06]OFD Sender: No OFD packet to send [06:11:11]OFD Sender: No OFD packet to send [06:11:16]OFD Sender: No OFD packet to send [06:11:21]OFD Sender: No OFD packet to send [06:11:26]OFD Sender: No OFD packet to send [06:11:31]OFD Sender: No OFD packet to send [06:11:36]OFD Sender: No OFD packet to send [06:11:41]OFD Sender: No OFD packet to send [06:11:46]OFD Sender: No OFD packet to send [06:11:51]OFD Sender: No OFD packet to send [06:11:56]OFD Sender: No OFD packet to send [06:12:01]OFD Sender: No OFD packet to send [06:12:06]OFD Sender: No OFD packet to send [06:12:11]OFD Sender: No OFD packet to send [06:12:16]OFD Sender: No OFD packet to send [06:12:21]OFD Sender: No OFD packet to send [06:12:26]OFD Sender: No OFD packet to send [06:12:31]OFD Sender: No OFD packet to send [06:12:36]OFD Sender: No OFD packet to send [06:12:41]OFD Sender: No OFD packet to send [06:12:46]OFD Sender: No OFD packet to send [06:12:51]OFD Sender: No OFD packet to send [06:12:56]OFD Sender: No OFD packet to send [06:13:01]OFD Sender: No OFD packet to send [06:13:06]OFD Sender: No OFD packet to send [06:13:11]OFD Sender: No OFD packet to send [06:13:16]OFD Sender: No OFD packet to send [06:13:21]OFD Sender: No OFD packet to send [06:13:26]OFD Sender: No OFD packet to send [06:13:31]OFD Sender: No OFD packet to send [06:13:36]OFD Sender: No OFD packet to send [06:13:41]OFD Sender: No OFD packet to send [06:13:46]OFD Sender: No OFD packet to send [06:13:51]OFD Sender: No OFD packet to send [06:13:56]OFD Sender: No OFD packet to send [06:14:01]OFD Sender: No OFD packet to send [06:14:06]OFD Sender: No OFD packet to send [06:14:11]OFD Sender: No OFD packet to send [06:14:16]OFD Sender: No OFD packet to send [06:14:21]OFD Sender: No OFD packet to send [06:14:26]OFD Sender: No OFD packet to send [06:14:31]OFD Sender: No OFD packet to send [06:14:36]OFD Sender: No OFD packet to send [06:14:41]OFD Sender: No OFD packet to send [06:14:46]OFD Sender: No OFD packet to send [06:14:51]OFD Sender: No OFD packet to send [06:14:56]OFD Sender: No OFD packet to send [06:15:01]OFD Sender: No OFD packet to send [06:15:06]OFD Sender: No OFD packet to send [06:15:11]OFD Sender: No OFD packet to send [06:15:16]OFD Sender: No OFD packet to send [06:15:21]OFD Sender: No OFD packet to send [06:15:26]OFD Sender: No OFD packet to send [06:15:31]OFD Sender: No OFD packet to send [06:15:36]OFD Sender: No OFD packet to send [06:15:41]OFD Sender: No OFD packet to send [06:15:46]OFD Sender: No OFD packet to send [06:15:51]OFD Sender: No OFD packet to send [06:15:56]OFD Sender: No OFD packet to send [06:16:01]OFD Sender: No OFD packet to send [06:16:06]OFD Sender: No OFD packet to send [06:16:11]OFD Sender: No OFD packet to send [06:16:16]OFD Sender: No OFD packet to send [06:16:21]OFD Sender: No OFD packet to send [06:16:26]OFD Sender: No OFD packet to send [06:16:31]OFD Sender: No OFD packet to send [06:16:36]OFD Sender: No OFD packet to send [06:16:41]OFD Sender: No OFD packet to send [06:16:46]OFD Sender: No OFD packet to send [06:16:51]OFD Sender: No OFD packet to send [06:16:56]OFD Sender: No OFD packet to send [06:17:01]OFD Sender: No OFD packet to send [06:17:06]OFD Sender: No OFD packet to send [06:17:11]OFD Sender: No OFD packet to send [06:17:16]OFD Sender: No OFD packet to send [06:17:21]OFD Sender: No OFD packet to send [06:17:26]OFD Sender: No OFD packet to send [06:17:31]OFD Sender: No OFD packet to send [06:17:36]OFD Sender: No OFD packet to send [06:17:41]OFD Sender: No OFD packet to send [06:17:46]OFD Sender: No OFD packet to send [06:17:51]OFD Sender: No OFD packet to send [06:17:56]OFD Sender: No OFD packet to send [06:18:01]OFD Sender: No OFD packet to send [06:18:06]OFD Sender: No OFD packet to send [06:18:11]OFD Sender: No OFD packet to send [06:18:16]OFD Sender: No OFD packet to send [06:18:21]OFD Sender: No OFD packet to send [06:18:26]OFD Sender: No OFD packet to send [06:18:31]OFD Sender: No OFD packet to send [06:18:36]OFD Sender: No OFD packet to send [06:18:41]OFD Sender: No OFD packet to send [06:18:46]OFD Sender: No OFD packet to send [06:18:51]OFD Sender: No OFD packet to send [06:18:56]OFD Sender: No OFD packet to send [06:19:01]OFD Sender: No OFD packet to send [06:19:06]OFD Sender: No OFD packet to send [06:19:11]OFD Sender: No OFD packet to send [06:19:16]OFD Sender: No OFD packet to send [06:19:21]OFD Sender: No OFD packet to send [06:19:26]OFD Sender: No OFD packet to send [06:19:31]OFD Sender: No OFD packet to send [06:19:36]OFD Sender: No OFD packet to send [06:19:41]OFD Sender: No OFD packet to send [06:19:46]OFD Sender: No OFD packet to send [06:19:51]OFD Sender: No OFD packet to send [06:19:56]OFD Sender: No OFD packet to send [06:20:01]OFD Sender: No OFD packet to send [06:20:06]OFD Sender: No OFD packet to send [06:20:11]OFD Sender: No OFD packet to send [06:20:16]OFD Sender: No OFD packet to send [06:20:21]OFD Sender: No OFD packet to send [06:20:26]OFD Sender: No OFD packet to send [06:20:31]OFD Sender: No OFD packet to send [06:20:36]OFD Sender: No OFD packet to send [06:20:41]OFD Sender: No OFD packet to send [06:20:46]OFD Sender: No OFD packet to send [06:20:51]OFD Sender: No OFD packet to send [06:20:56]OFD Sender: No OFD packet to send [06:21:01]OFD Sender: No OFD packet to send [06:21:06]OFD Sender: No OFD packet to send [06:21:11]OFD Sender: No OFD packet to send [06:21:16]OFD Sender: No OFD packet to send [06:21:21]OFD Sender: No OFD packet to send [06:21:26]OFD Sender: No OFD packet to send [06:21:31]OFD Sender: No OFD packet to send [06:21:36]OFD Sender: No OFD packet to send [06:21:41]OFD Sender: No OFD packet to send [06:21:46]OFD Sender: No OFD packet to send [06:21:51]OFD Sender: No OFD packet to send [06:21:56]OFD Sender: No OFD packet to send [06:22:01]OFD Sender: No OFD packet to send [06:22:06]OFD Sender: No OFD packet to send [06:22:11]OFD Sender: No OFD packet to send [06:22:16]OFD Sender: No OFD packet to send [06:22:21]OFD Sender: No OFD packet to send [06:22:26]OFD Sender: No OFD packet to send [06:22:31]OFD Sender: No OFD packet to send [06:22:36]OFD Sender: No OFD packet to send [06:22:41]OFD Sender: No OFD packet to send [06:22:46]OFD Sender: No OFD packet to send [06:22:51]OFD Sender: No OFD packet to send [06:22:56]OFD Sender: No OFD packet to send [06:23:01]OFD Sender: No OFD packet to send [06:23:06]OFD Sender: No OFD packet to send [06:23:11]OFD Sender: No OFD packet to send [06:23:16]OFD Sender: No OFD packet to send [06:23:21]OFD Sender: No OFD packet to send [06:23:26]OFD Sender: No OFD packet to send [06:23:31]OFD Sender: No OFD packet to send [06:23:36]OFD Sender: No OFD packet to send [06:23:41]OFD Sender: No OFD packet to send [06:23:46]OFD Sender: No OFD packet to send [06:23:51]OFD Sender: No OFD packet to send [06:23:56]OFD Sender: No OFD packet to send [06:24:01]OFD Sender: No OFD packet to send [06:24:06]OFD Sender: No OFD packet to send [06:24:11]OFD Sender: No OFD packet to send [06:24:16]OFD Sender: No OFD packet to send [06:24:21]OFD Sender: No OFD packet to send [06:24:26]OFD Sender: No OFD packet to send [06:24:31]OFD Sender: No OFD packet to send [06:24:36]OFD Sender: No OFD packet to send [06:24:41]OFD Sender: No OFD packet to send [06:24:46]OFD Sender: No OFD packet to send [06:24:51]OFD Sender: No OFD packet to send [06:24:56]OFD Sender: No OFD packet to send [06:25:01]OFD Sender: No OFD packet to send [06:25:06]OFD Sender: No OFD packet to send [06:25:11]OFD Sender: No OFD packet to send [06:25:16]OFD Sender: No OFD packet to send [06:25:21]OFD Sender: No OFD packet to send [06:25:26]OFD Sender: No OFD packet to send [06:25:31]OFD Sender: No OFD packet to send [06:25:36]OFD Sender: No OFD packet to send [06:25:41]OFD Sender: No OFD packet to send [06:25:46]OFD Sender: No OFD packet to send [06:25:51]OFD Sender: No OFD packet to send [06:25:56]OFD Sender: No OFD packet to send [06:26:01]OFD Sender: No OFD packet to send [06:26:06]OFD Sender: No OFD packet to send [06:26:11]OFD Sender: No OFD packet to send [06:26:16]OFD Sender: No OFD packet to send [06:26:21]OFD Sender: No OFD packet to send [06:26:26]OFD Sender: No OFD packet to send [06:26:31]OFD Sender: No OFD packet to send [06:26:36]OFD Sender: No OFD packet to send [06:26:41]OFD Sender: No OFD packet to send [06:26:46]OFD Sender: No OFD packet to send [06:26:51]OFD Sender: No OFD packet to send [06:26:56]OFD Sender: No OFD packet to send [06:27:01]OFD Sender: No OFD packet to send [06:27:06]OFD Sender: No OFD packet to send [06:27:11]OFD Sender: No OFD packet to send [06:27:16]OFD Sender: No OFD packet to send [06:27:21]OFD Sender: No OFD packet to send [06:27:26]OFD Sender: No OFD packet to send [06:27:31]OFD Sender: No OFD packet to send [06:27:36]OFD Sender: No OFD packet to send [06:27:41]OFD Sender: No OFD packet to send [06:27:46]OFD Sender: No OFD packet to send [06:27:51]OFD Sender: No OFD packet to send [06:27:56]OFD Sender: No OFD packet to send [06:28:01]OFD Sender: No OFD packet to send [06:28:06]OFD Sender: No OFD packet to send [06:28:11]OFD Sender: No OFD packet to send [06:28:17]OFD Sender: No OFD packet to send [06:28:22]OFD Sender: No OFD packet to send [06:28:27]OFD Sender: No OFD packet to send [06:28:32]OFD Sender: No OFD packet to send [06:28:37]OFD Sender: No OFD packet to send [06:28:42]OFD Sender: No OFD packet to send [06:28:47]OFD Sender: No OFD packet to send [06:28:52]OFD Sender: No OFD packet to send [06:28:57]OFD Sender: No OFD packet to send [06:29:02]OFD Sender: No OFD packet to send [06:29:07]OFD Sender: No OFD packet to send [06:29:12]OFD Sender: No OFD packet to send [06:29:17]OFD Sender: No OFD packet to send [06:29:22]OFD Sender: No OFD packet to send [06:29:27]OFD Sender: No OFD packet to send [06:29:32]OFD Sender: No OFD packet to send [06:29:37]OFD Sender: No OFD packet to send [06:29:42]OFD Sender: No OFD packet to send [06:29:47]OFD Sender: No OFD packet to send [06:29:52]OFD Sender: No OFD packet to send [06:29:57]OFD Sender: No OFD packet to send [06:30:02]OFD Sender: No OFD packet to send [06:30:07]OFD Sender: No OFD packet to send [06:30:12]OFD Sender: No OFD packet to send [06:30:17]OFD Sender: No OFD packet to send [06:30:22]OFD Sender: No OFD packet to send [06:30:27]OFD Sender: No OFD packet to send [06:30:32]OFD Sender: No OFD packet to send [06:30:37]OFD Sender: No OFD packet to send [06:30:42]OFD Sender: No OFD packet to send [06:30:47]OFD Sender: No OFD packet to send [06:30:52]OFD Sender: No OFD packet to send [06:30:57]OFD Sender: No OFD packet to send [06:31:02]OFD Sender: No OFD packet to send [06:31:07]OFD Sender: No OFD packet to send [06:31:12]OFD Sender: No OFD packet to send [06:31:17]OFD Sender: No OFD packet to send [06:31:18]accept exits with 9 [06:31:18]New connection [06:31:18]New thread 3067411812 created [06:31:18]Thread 3067555172 joined [06:31:18]Waiting for new connection... [06:31:18] Sock 9.Parse request [06:31:18]Sock 9.Check first char [06:31:18]Sock 9.First char is OK [06:31:18]request: POST /json_proto HTTP/1.0 [06:31:18]Method: POST [06:31:18]URL: /json_proto [06:31:18]Method is POST - this is cgi request [06:31:18]url: /json_proto [06:31:18]query_string will be loaded in cgi processing [06:31:18]execute_cgi json_proto POST (null) [06:31:18]execute_cgi path=json_proto method=POST [06:31:18]POST find Content-Length [06:31:18]Host: 172.17.36.131:8080 [06:31:18]Content-Length: 952 [06:31:18]Content-Type: application/json [06:31:18] [06:31:18]POST finish read [06:31:18]Found Content-Length = 952 [06:31:18]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100024", "tax_sys" : 0, "items" : [ { "code": "5449000176448", "name": "\u0421\u043E\u043A Piko Pulpy \u0430\u043F\u0435\u043B\u044C\u0441\u0438\u043D \u041F\u042D\u0422 1\u043B", "price" : 180.00, "quantity" : 1.000, "sum" : 180.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46214621", "name": "\u0420/\u0436 mentos \u0442\u0443\u0442\u0442\u0438-\u0444\u0440\u0443\u0442\u0442\u0438 \u0440\u043E\u043B\u043B 16\u0433", "price" : 49.00, "quantity" : 1.000, "sum" : 49.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 229.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [06:31:18]execute_script... [06:31:18]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100024", "tax_sys" : 0, "items" : [ { "code": "5449000176448", "name": "\u0421\u043E\u043A Piko Pulpy \u0430\u043F\u0435\u043B\u044C\u0441\u0438\u043D \u041F\u042D\u0422 1\u043B", "price" : 180.00, "quantity" : 1.000, "sum" : 180.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46214621", "name": "\u0420/\u0436 mentos \u0442\u0443\u0442\u0442\u0438-\u0444\u0440\u0443\u0442\u0442\u0438 \u0440\u043E\u043B\u043B 16\u0433", "price" : 49.00, "quantity" : 1.000, "sum" : 49.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 229.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [06:31:18]POST & json_proto [06:31:18]process_json_proto [06:31:18]json parsed OK: [06:31:18]protocol is kg_v1.0 [06:31:18]action value=close_receipt [06:31:18]process_action close_receipt [06:31:18]cmd_close_receipt [06:31:18]MH_GetDate [06:31:18]Write to MH i2c: F0 00 00 5D 31 7D [06:31:18]Write i2c OK [06:31:18]MH_I2C_Read... [06:31:18]Read from MH i2c: F0 [06:31:18]MH_I2C_Read... [06:31:18]Read from MH i2c: F0 09 00 [06:31:18]MH_I2C_Read... [06:31:18]Read from MH i2c: F0 09 00 5D 31 00 C1 B4 5E 66 A7 4C 98 65 AF [06:31:18]GetLastDocTimeStamp 1717481414 [06:31:18]current date 1717482689 [06:31:18]FM_GetShiftState [06:31:18]SAM_PROTO_GetShiftState [06:31:18]wFMCommunicate request_size=4 [06:31:18]MH_SAM_APDU [06:31:18]CAPDU: 80 13 01 00 [06:31:18]Write to MH i2c: E2 08 00 5E 31 80 13 01 00 00 00 00 00 0C [06:31:18]Write i2c OK [06:31:18]MH_I2C_Read... [06:31:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:31:18]Read from MH i2c: E2 [06:31:18]MH_I2C_Read... [06:31:18]Read from MH i2c: E2 0E 00 [06:31:18]MH_I2C_Read... [06:31:18]Read from MH i2c: E2 0E 00 5E 31 00 09 00 01 35 5B 5E 66 00 00 00 00 90 00 6C [06:31:18]RAPDU: 09 00 01 35 5B 5E 66 00 00 00 00 90 00 [06:31:18]wFMCommunicate OK [06:31:18]SAM_PROTO_GetShiftState done [06:31:18]FM_GetShiftState done [06:31:18]opened in 1717459765 [06:31:18]opened+sec_in_day 1717546165 [06:31:18]quantity*price = 18000 [06:31:18]sum+1 = 18001 [06:31:18]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 46214621 Р/ж mentos тутти-фрутти ролл 16г 1.000 * 49.00 = 49.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 229.00 НСП 1% : 2.02 НДС 12% : 24.31 Наличными: 229.00 Безнал.: 0.00 Место: АЗС № 62 "Партнер Нефть" Адрес: 720001, г. Балыкчы, ул. Абдрахманова 325 Б, 42.462761, 76.214931 СНО: Общий режим Чек 6 04.06.2024 06:31 Смена: 368 ФФД: 1.0 ЗНМ: 0300000080 РНМ: 0000000000096838 Версия ККМ: 001 ФМ: 0000000000874859 ФД: 34662 ФПД: 25260532013875 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T063129&type=1&operation_type=1&fn_number=0000000000874859&fd_number=34662&fm=25260532013875&tin=02508201610067®Number=0000000000096838&sum=22900 0 [06:31:19]StoreToDocumentArchive [06:31:19]shift 368 fd 34662 [06:31:19]save to /storage/0368/doc_00034662 [06:31:19]save last doc name /storage/0368/doc_00034662 to /storage/kkm_last_doc_name [06:31:19]save OK [06:31:19]Clear old archive folders... [06:31:19]ProcessDocumentItem done err = 0, tmpTLVsize=404 [06:31:19]tlvbuf is 01F1EBD0 [06:31:19]SAM_PROTO_ClearQueue [06:31:19]wFMCommunicate request_size=4 [06:31:19]MH_SAM_APDU [06:31:19]CAPDU: 80 09 00 00 [06:31:19]Write to MH i2c: E2 08 00 6B 31 80 09 00 00 00 00 00 00 0E [06:31:19]Write i2c OK [06:31:19]MH_I2C_Read... [06:31:19]*** iso7816_exchange 80 09 00 00... 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 6B 31 00 90 00 10 [06:31:19]RAPDU: 90 00 [06:31:19]wFMCommunicate OK [06:31:19]SAM_PROTO_ClearQueue done [06:31:19]KKMCreateOFDPacket [06:31:19]OFDProtocolAddRootSTLVToBuf [06:31:19]FM_MakeSignedData [06:31:19]FM_MakeSignedData [06:31:19]SAM_PROTO_SignData [06:31:19]wFMCommunicate request_size=4 [06:31:19]MH_SAM_APDU [06:31:19]CAPDU: 80 0D 01 02 [06:31:19]Write to MH i2c: E2 08 00 6C 31 80 0D 01 02 00 00 00 00 16 [06:31:19]Write i2c OK [06:31:19]MH_I2C_Read... [06:31:19]*** iso7816_exchange 80 0D 01 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 6C 31 00 90 00 11 [06:31:19]RAPDU: 90 00 [06:31:19]wFMCommunicate OK [06:31:19]wFMCommunicate request_size=255 [06:31:19]MH_SAM_APDU [06:31:19]CAPDU: 80 0D 02 02 FA 03 00 94 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 37 36 34 34 38 06 04 2D 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 50 46 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 08 00 34 36 32 31 34 36 32 31 06 04 32 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 D1 82 D1 83 D1 82 D1 82 D0 B8 2D D1 84 D1 80 D1 83 D1 82 D1 82 D0 B8 20 D1 80 D0 BE D0 BB D0 BB 20 31 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 74 59 00 [06:31:19]Write to MH i2c: E2 02 01 6D 31 80 0D 02 02 FA 00 03 00 94 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 37 36 34 34 38 06 04 2D 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 50 46 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 08 00 34 36 32 31 34 36 32 31 06 04 32 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 D1 82 D1 83 D1 82 D1 82 D0 B8 2D D1 84 D1 80 D1 83 D1 82 D1 82 D0 B8 20 D1 80 D0 BE D0 BB D0 BB 20 31 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 74 59 00 00 00 72 [06:31:19]Write i2c OK [06:31:19]MH_I2C_Read... [06:31:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:31:20]Read from MH i2c: E2 [06:31:20]MH_I2C_Read... [06:31:20]Read from MH i2c: E2 03 00 [06:31:20]MH_I2C_Read... [06:31:20]Read from MH i2c: E2 03 00 6D 31 00 90 00 12 [06:31:20]RAPDU: 90 00 [06:31:20]wFMCommunicate OK [06:31:20]wFMCommunicate request_size=163 [06:31:20]MH_SAM_APDU [06:31:20]CAPDU: 80 0D 02 02 9E 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7F 09 00 00 00 00 07 04 06 00 74 59 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 C1 B4 5E 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 66 87 00 00 35 04 06 00 16 F9 6D 09 9B 33 [06:31:20]Write to MH i2c: E2 A6 00 6E 31 80 0D 02 02 9E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7F 09 00 00 00 00 07 04 06 00 74 59 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 C1 B4 5E 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 66 87 00 00 35 04 06 00 16 F9 6D 09 9B 33 00 00 B3 [06:31:20]Write i2c OK [06:31:20]MH_I2C_Read... [06:31:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:31:20]Read from MH i2c: E2 [06:31:20]MH_I2C_Read... [06:31:20]Read from MH i2c: E2 03 00 [06:31:20]MH_I2C_Read... [06:31:20]Read from MH i2c: E2 03 00 6E 31 00 90 00 13 [06:31:20]RAPDU: 90 00 [06:31:20]wFMCommunicate OK [06:31:20]wFMCommunicate request_size=4 [06:31:20]MH_SAM_APDU [06:31:20]CAPDU: 80 0D 03 02 [06:31:20]Write to MH i2c: E2 08 00 6F 31 80 0D 03 02 00 00 00 00 1B [06:31:20]Write i2c OK [06:31:20]MH_I2C_Read... [06:31:20]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [06:31:20]Read from MH i2c: E2 [06:31:20]MH_I2C_Read... [06:31:20]Read from MH i2c: E2 0B 00 [06:31:20]MH_I2C_Read... [06:31:20]Read from MH i2c: E2 0B 00 6F 31 00 BA F2 6E 38 82 23 7A 24 90 00 B1 [06:31:20]RAPDU: BA F2 6E 38 82 23 7A 24 90 00 [06:31:20]wFMCommunicate OK [06:31:20]SAM_PROTO_SignData done [06:31:20]FM_MakeSignedData done [06:31:20]CreateOFDProtocolMessage [06:31:20]wFMCommunicate request_size=4 [06:31:20]MH_SAM_APDU [06:31:20]CAPDU: 80 11 00 00 [06:31:20]Write to MH i2c: E2 08 00 70 31 80 11 00 00 00 00 00 00 1B [06:31:20]Write i2c OK [06:31:20]MH_I2C_Read... [06:31:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:31:20]Read from MH i2c: E2 [06:31:20]MH_I2C_Read... [06:31:20]Read from MH i2c: E2 17 00 [06:31:20]MH_I2C_Read... [06:31:20]Read from MH i2c: E2 17 00 70 31 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 77 [06:31:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 [06:31:20]wFMCommunicate OK [06:31:20]CreateOFDProtocolMessage done [06:31:20]OFDSenderStorePacket 34662 [06:31:20]StoreOFDPacket docnum=34662 [06:31:20]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 A8 01 00 00 B4 29 A0 01 AE 6D 5A 03 01 00 03 00 94 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 37 36 34 34 38 06 04 2D 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 50 46 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 08 00 34 36 32 31 34 36 32 31 06 04 32 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 D1 82 D1 83 D1 82 D1 82 D0 B8 2D D1 84 D1 80 D1 83 D1 82 D1 82 D0 B8 20 D1 80 D0 BE D0 BB D0 BB 20 31 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 74 59 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7F 09 00 00 00 00 07 04 06 00 74 59 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 C1 B4 5E 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 66 87 00 00 35 04 06 00 16 F9 6D 09 9B 33 BA F2 6E 38 82 23 7A 24 [06:31:20]CheckFolder [06:31:20]dirname=/storage/ofd_packets [06:31:20]CheckFolder done [06:31:20]ProducePacketName [06:31:20]name=ofd_packets/00034662 [06:31:20]NVStorageSaveData ofd_packets/00034662 [06:31:20]File name is /storage/ofd_packets/00034662 [06:31:20]Write 454 bytes [06:31:20]NVStorageSaveData done [06:31:20]OFDSenderStorePacket done [06:31:20]KKMCreateOFDPacket done [06:31:20]NVStorageSaveData kkm_last_timestamp [06:31:20]File name is /storage/kkm_last_timestamp [06:31:20]Write 4 bytes [06:31:20]NVStorageSaveData done [06:31:20]ExternCall_PrintAddStr [06:31:20]wPrintStart [06:31:20]Write to MH i2c: 01 00 00 71 31 A2 [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]OFD Sender: Processing packet 34662 [packets to send 17, broken 16] [06:31:20]ProducePacketName [06:31:20]name=ofd_packets/00034662 [06:31:20]OFD Sender: To server: pG, [06:31:20]CommunicateWithHost lk.salyk.kg:30040 [06:31:20]ConnectInit lk.salyk.kg [06:31:20]Read from MH i2c: 01 07 00 71 31 00 00 00 00 00 FF 0F B7 [06:31:20]RasterBufferAndPrint [06:31:20]line Счет N : (3)100024 [06:31:20]line ИНН: 02508201610067 [06:31:20]line Контрольно-Кассовый Чек [06:31:20]line ПРОДАЖА [06:31:20]line Товар: 5449000176448 [06:31:20]line Сок Piko Pulpy апельсин ПЭТ 1л [06:31:20]line 1.000 * 180.00 [06:31:20]line = 180.00 [06:31:20]line НДС 12% НСП 1% [06:31:20]line > о реализуемом товаре [06:31:20]line Товар: 46214621 [06:31:20]line Р/ж mentos тутти-фрутти ролл 16г [06:31:20]line 1.000 * 49.00 [06:31:20]line = 49.00 [06:31:20]line НДС 12% НСП 1% [06:31:20]line > о реализуемом товаре [06:31:20]line ИТОГО: 229.00 [06:31:20]line НСП 1% : 2.02 [06:31:20]line НДС 12% : 24.31 [06:31:20]line Наличными: 229.00 [06:31:20]line Безнал.: 0.00 [06:31:20]line Место: АЗС № 62 "Партнер Нефть" [06:31:20]line Адрес: 720001, г. Балыкчы, ул. Абдрахманова 325 Б, 42.462761, 76.214931 [06:31:20]line СНО: Общий режим [06:31:20]line Чек 6 04.06.2024 06:31 [06:31:20]line Смена: 368 ФФД: 1.0 [06:31:20]line ЗНМ: 0300000080 [06:31:20]line РНМ: 0000000000096838 [06:31:20]line Версия ККМ: 001 [06:31:20]line ФМ: 0000000000874859 [06:31:20]line ФД: 34662 [06:31:20]line ФПД: 25260532013875 [06:31:20]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T063129&type=1&operation_type=1&fn_number=0000000000874859&fd_number=34662&fm=25260532013875&tin=02508201610067®Number=0000000000096838&sum=22900 [06:31:20]line 0 [06:31:20]written 0, free lines is 4095 [06:31:20]Connected sock=10 [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 34 38 35 39 A8 01 00 00 B4 29 A0 01 AE 6D 5A 03 01 00 03 00 94 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 37 36 34 34 38 06 04 2D 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 50 46 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 08 00 34 36 32 31 34 36 32 31 06 04 32 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 D1 82 D1 83 D1 82 D1 82 D0 B8 2D D1 84 D1 80 D1 83 D1 82 D1 82 D0 B8 20 D1 80 D0 BE D0 BB D0 BB 20 31 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 74 59 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7F 09 00 00 00 00 07 04 06 00 74 59 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 C1 B4 5E 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 66 87 00 00 35 04 06 00 16 F9 6D 09 9B 33 BA F2 6E 38 82 23 7A 24 [06:31:20]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 4F 00 00 00 86 98 47 00 22 6C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 66 87 00 00 F4 03 04 00 02 5F 5E 66 B6 04 01 00 00 A4 7A 16 55 E2 09 81 4A [06:31:20]CommunicateWithHost err = 0 [06:31:20]CheckOFDResponse [06:31:20]1017 (14) - 77093643461234 [06:31:20]1041 (16) - 0000000000874859 [06:31:20]1040 (4) - 34662 [06:31:20]1012 (4) - 04.06.2024 00:25 [06:31:20]1206 (1) - 0 [06:31:20]OFD Sender: Remove packet 34662 [06:31:20]ProducePacketName [06:31:20]name=ofd_packets/00034662 [06:31:20]NVStorageDeleteData [06:31:21]Write to MH i2c: 01 00 00 A1 31 D2 [06:31:21]Write i2c OK [06:31:21]MH_I2C_Read... [06:31:21]Read from MH i2c: 01 [06:31:21]MH_I2C_Read... [06:31:21]Read from MH i2c: 01 07 00 [06:31:21]MH_I2C_Read... [06:31:21]Read from MH i2c: 01 07 00 A1 31 00 00 00 00 00 B1 0C 96 [06:31:21]RasterBufferAndPrint [06:31:21]line [06:31:21]line [06:31:21]line [06:31:21]line [06:31:21]line [06:31:21]written 0, free lines is 3255 [06:31:21]MH_Cut [06:31:21]Write to MH i2c: D1 01 00 A8 31 01 AB [06:31:21]Write i2c OK [06:31:21]MH_I2C_Read... [06:31:21]Read from MH i2c: D1 [06:31:21]MH_I2C_Read... [06:31:21]Read from MH i2c: D1 01 00 [06:31:21]MH_I2C_Read... [06:31:21]Read from MH i2c: D1 01 00 A8 31 00 AA [06:31:21]Write to MH i2c: 01 00 00 A9 31 DA [06:31:21]Write i2c OK [06:31:21]MH_I2C_Read... [06:31:21]OFD Sender: No OFD packet to send [06:31:21]*** Cut start [06:31:21]*** Partial cut [06:31:21]*** CUTSNS_PIN = 1 [06:31:21]*** CUTSNS_PIN = 0 [06:31:22]*** Brake cut motor [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 A9 31 00 00 00 00 00 FF 0F EF [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 AA 31 80 11 00 00 00 00 00 00 55 [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 AA 31 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 B1 [06:31:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 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 AB 31 80 13 00 00 00 00 00 00 58 [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 AB 31 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 10 04 04 00 66 87 00 00 0E 04 04 00 70 01 00 00 12 04 04 00 06 00 00 00 5E 04 04 00 06 00 00 00 57 04 04 00 07 00 00 00 19 04 04 00 00 00 00 00 90 00 FB [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 34 38 35 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 10 04 04 00 66 87 00 00 0E 04 04 00 70 01 00 00 12 04 04 00 06 00 00 00 5E 04 04 00 06 00 00 00 57 04 04 00 07 00 00 00 19 04 04 00 00 00 00 00 90 00 [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 AC 31 80 13 01 00 00 00 00 00 5A [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 AC 31 00 09 00 01 35 5B 5E 66 00 00 00 00 90 00 BA [06:31:22]RAPDU: 09 00 01 35 5B 5E 66 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":"0000000000874859","fd.num":34662,"shift.num":368,"shift.opened":1,"shift.open_date":1717459765} [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":"0000000000874859","fd.num":34662,"shift.num":368,"shift.opened":1,"shift.open_date":1717459765}}} [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 9.Close socket [06:31:22]Sock 9.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:21]OFD Sender: No OFD packet to send [06:32:26]OFD Sender: No OFD packet to send [06:32:31]OFD Sender: No OFD packet to send [06:32:36]OFD Sender: No OFD packet to send [06:32:41]OFD Sender: No OFD packet to send [06:32:46]OFD Sender: No OFD packet to send [06:32:51]OFD Sender: No OFD packet to send [06:32:56]OFD Sender: No OFD packet to send [06:33:01]OFD Sender: No OFD packet to send [06:33:06]OFD Sender: No OFD packet to send [06:33:11]OFD Sender: No OFD packet to send [06:33:16]OFD Sender: No OFD packet to send [06:33:21]OFD Sender: No OFD packet to send [06:33:26]OFD Sender: No OFD packet to send [06:33:31]OFD Sender: No OFD packet to send [06:33:36]OFD Sender: No OFD packet to send [06:33:41]OFD Sender: No OFD packet to send [06:33:46]OFD Sender: No OFD packet to send [06:33:51]OFD Sender: No OFD packet to send [06:33:56]OFD Sender: No OFD packet to send [06:34:01]OFD Sender: No OFD packet to send [06:34:06]OFD Sender: No OFD packet to send [06:34:11]OFD Sender: No OFD packet to send [06:34:16]OFD Sender: No OFD packet to send [06:34:21]OFD Sender: No OFD packet to send [06:34:26]OFD Sender: No OFD packet to send [06:34:31]OFD Sender: No OFD packet to send [06:34:36]OFD Sender: No OFD packet to send [06:34:41]OFD Sender: No OFD packet to send [06:34:46]OFD Sender: No OFD packet to send [06:34:51]OFD Sender: No OFD packet to send [06:34:56]OFD Sender: No OFD packet to send [06:35:01]OFD Sender: No OFD packet to send [06:35:06]OFD Sender: No OFD packet to send [06:35:11]OFD Sender: No OFD packet to send [06:35:16]OFD Sender: No OFD packet to send [06:35:21]OFD Sender: No OFD packet to send [06:35:26]OFD Sender: No OFD packet to send [06:35:31]OFD Sender: No OFD packet to send [06:35:36]OFD Sender: No OFD packet to send [06:35:41]OFD Sender: No OFD packet to send [06:35:46]OFD Sender: No OFD packet to send [06:35:51]OFD Sender: No OFD packet to send [06:35:56]OFD Sender: No OFD packet to send [06:36:01]OFD Sender: No OFD packet to send [06:36:06]OFD Sender: No OFD packet to send [06:36:11]OFD Sender: No OFD packet to send [06:36:16]OFD Sender: No OFD packet to send [06:36:21]OFD Sender: No OFD packet to send [06:36:26]OFD Sender: No OFD packet to send [06:36:31]OFD Sender: No OFD packet to send [06:36:36]OFD Sender: No OFD packet to send [06:36:41]OFD Sender: No OFD packet to send [06:36:46]OFD Sender: No OFD packet to send [06:36:51]OFD Sender: No OFD packet to send [06:36:56]OFD Sender: No OFD packet to send [06:37:01]OFD Sender: No OFD packet to send [06:37:06]OFD Sender: No OFD packet to send [06:37:11]OFD Sender: No OFD packet to send [06:37:16]OFD Sender: No OFD packet to send [06:37:21]OFD Sender: No OFD packet to send [06:37:26]OFD Sender: No OFD packet to send [06:37:31]OFD Sender: No OFD packet to send [06:37:36]OFD Sender: No OFD packet to send [06:37:41]OFD Sender: No OFD packet to send [06:37:46]OFD Sender: No OFD packet to send [06:37:51]OFD Sender: No OFD packet to send [06:37:56]OFD Sender: No OFD packet to send [06:38:01]OFD Sender: No OFD packet to send [06:38:06]OFD Sender: No OFD packet to send [06:38:11]OFD Sender: No OFD packet to send [06:38:16]OFD Sender: No OFD packet to send [06:38:21]OFD Sender: No OFD packet to send [06:38:26]OFD Sender: No OFD packet to send [06:38:31]OFD Sender: No OFD packet to send [06:38:36]OFD Sender: No OFD packet to send [06:38:41]OFD Sender: No OFD packet to send [06:38:46]OFD Sender: No OFD packet to send [06:38:51]OFD Sender: No OFD packet to send [06:38:56]OFD Sender: No OFD packet to send [06:39:01]OFD Sender: No OFD packet to send [06:39:06]OFD Sender: No OFD packet to send [06:39:11]OFD Sender: No OFD packet to send [06:39:16]OFD Sender: No OFD packet to send [06:39:21]OFD Sender: No OFD packet to send [06:39:26]OFD Sender: No OFD packet to send [06:39:31]OFD Sender: No OFD packet to send [06:39:36]OFD Sender: No OFD packet to send [06:39:41]OFD Sender: No OFD packet to send [06:39:46]OFD Sender: No OFD packet to send [06:39:51]OFD Sender: No OFD packet to send [06:39:56]OFD Sender: No OFD packet to send [06:40:01]OFD Sender: No OFD packet to send [06:40:06]OFD Sender: No OFD packet to send [06:40:11]OFD Sender: No OFD packet to send [06:40:16]OFD Sender: No OFD packet to send [06:40:21]OFD Sender: No OFD packet to send [06:40:26]OFD Sender: No OFD packet to send [06:40:31]OFD Sender: No OFD packet to send [06:40:36]OFD Sender: No OFD packet to send [06:40:41]OFD Sender: No OFD packet to send [06:40:46]OFD Sender: No OFD packet to send [06:40:51]OFD Sender: No OFD packet to send [06:40:56]OFD Sender: No OFD packet to send [06:41:01]OFD Sender: No OFD packet to send [06:41:06]OFD Sender: No OFD packet to send [06:41:11]OFD Sender: No OFD packet to send [06:41:16]OFD Sender: No OFD packet to send [06:41:21]OFD Sender: No OFD packet to send [06:41:26]OFD Sender: No OFD packet to send [06:41:31]OFD Sender: No OFD packet to send [06:41:36]OFD Sender: No OFD packet to send [06:41:41]OFD Sender: No OFD packet to send [06:41:46]OFD Sender: No OFD packet to send [06:41: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:07]OFD Sender: No OFD packet to send [06:51:12]OFD Sender: No OFD packet to send [06:51:17]OFD Sender: No OFD packet to send [06:51:22]OFD Sender: No OFD packet to send [06:51:23]accept exits with 8 [06:51:23]New connection [06:51:23]New thread 3067555172 created [06:51:23]Thread 3067411812 joined [06:51:23]Waiting for new connection... [06:51:23] Sock 8.Parse request [06:51:23]Sock 8.Check first char [06:51:23]Sock 8.First char is OK [06:51:23]request: POST /json_proto HTTP/1.0 [06:51:23]Method: POST [06:51:23]URL: /json_proto [06:51:23]Method is POST - this is cgi request [06:51:23]url: /json_proto [06:51:23]query_string will be loaded in cgi processing [06:51:23]execute_cgi json_proto POST (null) [06:51:23]execute_cgi path=json_proto method=POST [06:51:23]POST find Content-Length [06:51:23]Host: 172.17.36.131:8080 [06:51:23]Content-Length: 787 [06:51:23]Content-Type: application/json [06:51:23] [06:51:23]POST finish read [06:51:23]Found Content-Length = 787 [06:51:23]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100025", "tax_sys" : 0, "items" : [ { "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [06:51:23]execute_script... [06:51: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)100025", "tax_sys" : 0, "items" : [ { "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [06:51:23]POST & json_proto [06:51:23]process_json_proto [06:51:23]json parsed OK: [06:51:23]protocol is kg_v1.0 [06:51:23]action value=close_receipt [06:51:23]process_action close_receipt [06:51:23]cmd_close_receipt [06:51:23]MH_GetDate [06:51:23]Write to MH i2c: F0 00 00 AD 31 CD [06:51:23]Write i2c OK [06:51:23]MH_I2C_Read... [06:51:23]Read from MH i2c: F0 [06:51:23]MH_I2C_Read... [06:51:23]Read from MH i2c: F0 09 00 [06:51:23]MH_I2C_Read... [06:51:23]Read from MH i2c: F0 09 00 AD 31 00 76 B9 5E 66 A7 4C 98 65 B9 [06:51:23]GetLastDocTimeStamp 1717482689 [06:51:23]current date 1717483894 [06:51:23]FM_GetShiftState [06:51:23]SAM_PROTO_GetShiftState [06:51:23]wFMCommunicate request_size=4 [06:51:23]MH_SAM_APDU [06:51:23]CAPDU: 80 13 01 00 [06:51:23]Write to MH i2c: E2 08 00 AE 31 80 13 01 00 00 00 00 00 5C [06:51:23]Write i2c OK [06:51:23]MH_I2C_Read... [06:51:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:51:23]Read from MH i2c: E2 [06:51:23]MH_I2C_Read... [06:51:23]Read from MH i2c: E2 0E 00 [06:51:23]MH_I2C_Read... [06:51:23]Read from MH i2c: E2 0E 00 AE 31 00 09 00 01 35 5B 5E 66 00 00 00 00 90 00 BC [06:51:23]RAPDU: 09 00 01 35 5B 5E 66 00 00 00 00 90 00 [06:51:23]wFMCommunicate OK [06:51:23]SAM_PROTO_GetShiftState done [06:51:23]FM_GetShiftState done [06:51:23]opened in 1717459765 [06:51:23]opened+sec_in_day 1717546165 [06:51:23]quantity*price = 11500 [06:51:23]sum+1 = 11501 [06:51:23]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 115.00 НСП 1% : 1.02 НДС 12% : 12.21 Наличными: 0.00 Безнал.: 115.00 Место: АЗС № 62 "Партнер Нефть" Адрес: 720001, г. Балыкчы, ул. Абдрахманова 325 Б, 42.462761, 76.214931 СНО: Общий режим Чек 7 04.06.2024 06:51 Смена: 368 ФФД: 1.0 ЗНМ: 0300000080 РНМ: 0000000000096838 Версия ККМ: 001 Платежная система: O! деньги ФМ: 0000000000874859 ФД: 34663 ФПД: 263461380228680 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T065134&type=1&operation_type=1&fn_number=0000000000874859&fd_number=34663&fm=263461380228680&tin=02508201610067®Number=0000000000096838&sum=11500 0 [06:51:24]StoreToDocumentArchive [06:51:24]shift 368 fd 34663 [06:51:24]save to /storage/0368/doc_00034663 [06:51:24]save last doc name /storage/0368/doc_00034663 to /storage/kkm_last_doc_name [06:51:24]save OK [06:51:24]Clear old archive folders... [06:51:24]ProcessDocumentItem done err = 0, tmpTLVsize=274 [06:51:24]tlvbuf is 01F61CF0 [06:51:24]SAM_PROTO_ClearQueue [06:51:24]wFMCommunicate request_size=4 [06:51:24]MH_SAM_APDU [06:51:24]CAPDU: 80 09 00 00 [06:51:24]Write to MH i2c: E2 08 00 BB 31 80 09 00 00 00 00 00 00 5E [06:51:24]Write i2c OK [06:51:24]MH_I2C_Read... [06:51:24]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [06:51:24]Read from MH i2c: E2 [06:51:24]MH_I2C_Read... [06:51:24]Read from MH i2c: E2 03 00 [06:51:24]MH_I2C_Read... [06:51:24]Read from MH i2c: E2 03 00 BB 31 00 90 00 60 [06:51:24]RAPDU: 90 00 [06:51:24]wFMCommunicate OK [06:51:24]SAM_PROTO_ClearQueue done [06:51:24]KKMCreateOFDPacket [06:51:24]OFDProtocolAddRootSTLVToBuf [06:51:24]FM_MakeSignedData [06:51:24]FM_MakeSignedData [06:51:24]SAM_PROTO_SignData [06:51:24]wFMCommunicate request_size=4 [06:51:24]MH_SAM_APDU [06:51:24]CAPDU: 80 0D 01 02 [06:51:24]Write to MH i2c: E2 08 00 BC 31 80 0D 01 02 00 00 00 00 66 [06:51:24]Write i2c OK [06:51:24]MH_I2C_Read... [06:51:24]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [06:51:24]Read from MH i2c: E2 [06:51:24]MH_I2C_Read... [06:51:24]Read from MH i2c: E2 03 00 [06:51:24]MH_I2C_Read... [06:51:24]Read from MH i2c: E2 03 00 BC 31 00 90 00 61 [06:51:24]RAPDU: 90 00 [06:51:24]wFMCommunicate OK [06:51:24]wFMCommunicate request_size=255 [06:51:24]MH_SAM_APDU [06:51:24]CAPDU: 80 0D 02 02 FA 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 EC 2C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 76 B9 5E 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 30 30 30 30 30 30 [06:51:24]Write to MH i2c: E2 02 01 BD 31 80 0D 02 02 FA 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 EC 2C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 76 B9 5E 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 30 30 30 30 30 30 00 00 76 [06:51:24]Write i2c OK [06:51:24]MH_I2C_Read... [06:51:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:51:24]Read from MH i2c: E2 [06:51:24]MH_I2C_Read... [06:51:24]Read from MH i2c: E2 03 00 [06:51:24]MH_I2C_Read... [06:51:24]Read from MH i2c: E2 03 00 BD 31 00 90 00 62 [06:51:24]RAPDU: 90 00 [06:51:24]wFMCommunicate OK [06:51:24]wFMCommunicate request_size=33 [06:51:24]MH_SAM_APDU [06:51:24]CAPDU: 80 0D 02 02 1C 30 30 30 30 38 37 34 38 35 39 10 04 04 00 67 87 00 00 35 04 06 00 EF 9D E1 FB 06 48 [06:51:24]Write to MH i2c: E2 24 00 BE 31 80 0D 02 02 1C 00 30 30 30 30 38 37 34 38 35 39 10 04 04 00 67 87 00 00 35 04 06 00 EF 9D E1 FB 06 48 00 00 A5 [06:51:24]Write i2c OK [06:51:24]MH_I2C_Read... [06:51:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:51:24]Read from MH i2c: E2 [06:51:24]MH_I2C_Read... [06:51:24]Read from MH i2c: E2 03 00 [06:51:24]MH_I2C_Read... [06:51:24]Read from MH i2c: E2 03 00 BE 31 00 90 00 63 [06:51:24]RAPDU: 90 00 [06:51:24]wFMCommunicate OK [06:51:24]wFMCommunicate request_size=4 [06:51:24]MH_SAM_APDU [06:51:24]CAPDU: 80 0D 03 02 [06:51:24]Write to MH i2c: E2 08 00 BF 31 80 0D 03 02 00 00 00 00 6B [06:51:24]Write i2c OK [06:51:24]MH_I2C_Read... [06:51:24]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [06:51:24]Read from MH i2c: E2 [06:51:24]MH_I2C_Read... [06:51:24]Read from MH i2c: E2 0B 00 [06:51:24]MH_I2C_Read... [06:51:24]Read from MH i2c: E2 0B 00 BF 31 00 23 AA F4 45 76 6D 2B 4A 90 00 CA [06:51:24]RAPDU: 23 AA F4 45 76 6D 2B 4A 90 00 [06:51:24]wFMCommunicate OK [06:51:24]SAM_PROTO_SignData done [06:51:24]FM_MakeSignedData done [06:51:24]CreateOFDProtocolMessage [06:51:24]wFMCommunicate request_size=4 [06:51:24]MH_SAM_APDU [06:51:24]CAPDU: 80 11 00 00 [06:51:24]Write to MH i2c: E2 08 00 C0 31 80 11 00 00 00 00 00 00 6B [06:51:24]Write i2c OK [06:51:24]MH_I2C_Read... [06:51:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:51:24]Read from MH i2c: E2 [06:51:24]MH_I2C_Read... [06:51:24]Read from MH i2c: E2 17 00 [06:51:24]MH_I2C_Read... [06:51:24]Read from MH i2c: E2 17 00 C0 31 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 C7 [06:51:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 [06:51:24]wFMCommunicate OK [06:51:24]CreateOFDProtocolMessage done [06:51:24]OFDSenderStorePacket 34663 [06:51:24]StoreOFDPacket docnum=34663 [06:51:24]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 26 01 00 00 BB 91 1E 01 63 7C 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 EC 2C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 76 B9 5E 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 67 87 00 00 35 04 06 00 EF 9D E1 FB 06 48 23 AA F4 45 76 6D 2B 4A [06:51:24]CheckFolder [06:51:24]dirname=/storage/ofd_packets [06:51:24]CheckFolder done [06:51:24]ProducePacketName [06:51:24]name=ofd_packets/00034663 [06:51:24]NVStorageSaveData ofd_packets/00034663 [06:51:24]File name is /storage/ofd_packets/00034663 [06:51:24]Write 324 bytes [06:51:24]NVStorageSaveData done [06:51:24]OFDSenderStorePacket done [06:51:24]KKMCreateOFDPacket done [06:51:24]NVStorageSaveData kkm_last_timestamp [06:51:24]File name is /storage/kkm_last_timestamp [06:51:24]Write 4 bytes [06:51:24]NVStorageSaveData done [06:51:24]ExternCall_PrintAddStr [06:51:24]wPrintStart [06:51:24]Write to MH i2c: 01 00 00 C1 31 F2 [06:51:24]Write i2c OK [06:51:24]MH_I2C_Read... [06:51:24]Read from MH i2c: 01 [06:51:24]MH_I2C_Read... [06:51:24]Read from MH i2c: 01 07 00 [06:51:24]MH_I2C_Read... [06:51:24]Read from MH i2c: 01 07 00 C1 31 00 00 00 00 00 FF 0F 07 [06:51:24]RasterBufferAndPrint [06:51:24]line Счет N : (3)100025 [06:51:24]line ИНН: 02508201610067 [06:51:24]line Контрольно-Кассовый Чек [06:51:24]line ПРОДАЖА [06:51:24]line Товар: 2000036240010 [06:51:24]line Кофе Латте (GABB TRADE) [06:51:24]line 1.000 * 115.00 [06:51:24]line = 115.00 [06:51:24]line НДС 12% НСП 1% [06:51:24]line > о реализуемом товаре [06:51:24]line ИТОГО: 115.00 [06:51:24]line НСП 1% : 1.02 [06:51:24]line НДС 12% : 12.21 [06:51:24]line Наличными: 0.00 [06:51:24]line Безнал.: 115.00 [06:51:24]line Место: АЗС № 62 "Партнер Нефть" [06:51:24]line Адрес: 720001, г. Балыкчы, ул. Абдрахманова 325 Б, 42.462761, 76.214931 [06:51:24]line СНО: Общий режим [06:51:24]line Чек 7 04.06.2024 06:51 [06:51:24]line Смена: 368 ФФД: 1.0 [06:51:24]line ЗНМ: 0300000080 [06:51:24]line РНМ: 0000000000096838 [06:51:24]line Версия ККМ: 001 [06:51:24]line Платежная система: O! деньги [06:51:24]line ФМ: 0000000000874859 [06:51:24]line ФД: 34663 [06:51:24]line ФПД: 263461380228680 [06:51:25]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T065134&type=1&operation_type=1&fn_number=0000000000874859&fd_number=34663&fm=263461380228680&tin=02508201610067®Number=0000000000096838&sum=11500 [06:51:25]line 0 [06:51:25]OFD Sender: Processing packet 34663 [packets to send 17, broken 16] [06:51:25]ProducePacketName [06:51:25]name=ofd_packets/00034663 [06:51:25]OFD Sender: To server: pG, [06:51:25]CommunicateWithHost lk.salyk.kg:30040 [06:51:25]ConnectInit lk.salyk.kg [06:51:25]written 0, free lines is 4095 [06:51:25]Connected sock=10 [06:51:25]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 26 01 00 00 BB 91 1E 01 63 7C 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 EC 2C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 76 B9 5E 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 67 87 00 00 35 04 06 00 EF 9D E1 FB 06 48 23 AA F4 45 76 6D 2B 4A [06:51:25]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 4F 00 00 00 E1 8D 47 00 E9 F8 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 67 87 00 00 F4 03 04 00 B7 63 5E 66 B6 04 01 00 00 1A EF 9E EE 41 B0 5D 3E [06:51:25]CommunicateWithHost err = 0 [06:51:25]CheckOFDResponse [06:51:25]1017 (14) - 77093643461234 [06:51:25]1041 (16) - 0000000000874859 [06:51:25]1040 (4) - 34663 [06:51:25]1012 (4) - 04.06.2024 00:45 [06:51:25]1206 (1) - 0 [06:51:25]OFD Sender: Remove packet 34663 [06:51:25]ProducePacketName [06:51:25]name=ofd_packets/00034663 [06:51:25]NVStorageDeleteData [06:51:25]Write to MH i2c: 01 00 00 EB 31 1C [06:51:25]Write i2c OK [06:51:25]MH_I2C_Read... [06:51:25]Read from MH i2c: 01 [06:51:25]MH_I2C_Read... [06:51:25]Read from MH i2c: 01 07 00 [06:51:25]MH_I2C_Read... [06:51:25]Read from MH i2c: 01 07 00 EB 31 00 00 00 00 00 05 0D 35 [06:51:25]RasterBufferAndPrint [06:51:25]line [06:51:25]line [06:51:25]line [06:51:25]line [06:51:25]line [06:51:25]written 0, free lines is 3339 [06:51:25]MH_Cut [06:51:25]Write to MH i2c: D1 01 00 F2 31 01 F5 [06:51:25]Write i2c OK [06:51:25]MH_I2C_Read... [06:51:25]Read from MH i2c: D1 [06:51:25]MH_I2C_Read... [06:51:25]Read from MH i2c: D1 01 00 [06:51:25]MH_I2C_Read... [06:51:25]Read from MH i2c: D1 01 00 F2 31 00 F4 [06:51:25]Write to MH i2c: 01 00 00 F3 31 24 [06:51:25]Write i2c OK [06:51:25]MH_I2C_Read... [06:51:25]OFD Sender: No OFD packet to send [06:51:26]*** Cut start [06:51:26]*** Partial cut [06:51:26]*** CUTSNS_PIN = 1 [06:51:26]*** CUTSNS_PIN = 0 [06:51:26]*** Brake cut motor [06:51:26]Read from MH i2c: 01 [06:51:26]MH_I2C_Read... [06:51:26]*** Stop cut motor [06:51:26]*** Cut end [06:51:26]Read from MH i2c: 01 07 00 [06:51:26]MH_I2C_Read... [06:51:26]Read from MH i2c: 01 07 00 F3 31 00 00 00 00 00 FF 0F 39 [06:51:26]process_action close_receipt done [06:51:26]requested_data is exist [06:51:26]produce_requested_data [06:51:26]requested_item fm.sn is exist - process it [06:51:26]wFMCommunicate request_size=4 [06:51:26]MH_SAM_APDU [06:51:26]CAPDU: 80 11 00 00 [06:51:26]Write to MH i2c: E2 08 00 F4 31 80 11 00 00 00 00 00 00 9F [06:51:26]Write i2c OK [06:51:26]MH_I2C_Read... [06:51:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:51:27]Read from MH i2c: E2 [06:51:27]MH_I2C_Read... [06:51:27]Read from MH i2c: E2 17 00 [06:51:27]MH_I2C_Read... [06:51:27]Read from MH i2c: E2 17 00 F4 31 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 FB [06:51:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 [06:51:27]wFMCommunicate OK [06:51:27]requested_item fd.num is exist - process it [06:51:27]SAM_PROTO_GetFieldsCounters [06:51:27]wFMCommunicate request_size=4 [06:51:27]MH_SAM_APDU [06:51:27]CAPDU: 80 13 00 00 [06:51:27]Write to MH i2c: E2 08 00 F5 31 80 13 00 00 00 00 00 00 A2 [06:51:27]Write i2c OK [06:51:27]MH_I2C_Read... [06:51:27]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [06:51:27]Read from MH i2c: E2 [06:51:27]MH_I2C_Read... [06:51:27]Read from MH i2c: E2 62 00 [06:51:27]MH_I2C_Read... [06:51:27]Read from MH i2c: E2 62 00 F5 31 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 10 04 04 00 67 87 00 00 0E 04 04 00 70 01 00 00 12 04 04 00 07 00 00 00 5E 04 04 00 07 00 00 00 57 04 04 00 08 00 00 00 19 04 04 00 00 00 00 00 90 00 49 [06:51:27]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 10 04 04 00 67 87 00 00 0E 04 04 00 70 01 00 00 12 04 04 00 07 00 00 00 5E 04 04 00 07 00 00 00 57 04 04 00 08 00 00 00 19 04 04 00 00 00 00 00 90 00 [06:51:27]wFMCommunicate OK [06:51:27]SAM_PROTO_GetFieldsCounters done [06:51:27]requested_item shift.num is exist - process it [06:51:27]requested_item shift.opened is exist - process it [06:51:27]req_shift_opened [06:51:27]FM_GetShiftState [06:51:27]SAM_PROTO_GetShiftState [06:51:27]wFMCommunicate request_size=4 [06:51:27]MH_SAM_APDU [06:51:27]CAPDU: 80 13 01 00 [06:51:27]Write to MH i2c: E2 08 00 F6 31 80 13 01 00 00 00 00 00 A4 [06:51:27]Write i2c OK [06:51:27]MH_I2C_Read... [06:51:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:51:27]Read from MH i2c: E2 [06:51:27]MH_I2C_Read... [06:51:27]Read from MH i2c: E2 0E 00 [06:51:27]MH_I2C_Read... [06:51:27]Read from MH i2c: E2 0E 00 F6 31 00 09 00 01 35 5B 5E 66 00 00 00 00 90 00 04 [06:51:27]RAPDU: 09 00 01 35 5B 5E 66 00 00 00 00 90 00 [06:51:27]wFMCommunicate OK [06:51:27]SAM_PROTO_GetShiftState done [06:51:27]FM_GetShiftState done [06:51:27]req_shift_opened done [06:51:27]requested_item shift.open_date is exist - process it [06:51:27]req_shift_open_date [06:51:27]req_shift_open_date done [06:51:27]produce_requested_data done [06:51:27]produce_requested_data return {"fm.sn":"0000000000874859","fd.num":34663,"shift.num":368,"shift.opened":1,"shift.open_date":1717459765} [06:51:27]process_action_free close_receipt [06:51:27]json_value_free [06:51:27]json_value_free done [06:51:27]process_json_proto returns [06:51:27]Send response to host [06:51:27]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874859","fd.num":34663,"shift.num":368,"shift.opened":1,"shift.open_date":1717459765}}} [06:51:27]free response buf [06:51:27]execute_script done [06:51:27]execute_script returns [06:51:27]free content buf [06:51:27]Sock 8.Close socket [06:51:27]Sock 8.Thread stoped [06:51:29]int [06:51:29]Write to MH i2c: 01 00 00 F7 31 28 [06:51:29]*** FLAG_PRN_KEY set [06:51:29]Write i2c OK [06:51:29]MH_I2C_Read... [06:51:29]Read from MH i2c: 01 [06:51:29]MH_I2C_Read... [06:51:29]Read from MH i2c: 01 07 00 [06:51:29]MH_I2C_Read... [06:51:29]Read from MH i2c: 01 07 00 F7 31 00 08 00 00 00 FF 0F 45 [06:51:29]state=0 [06:51:29]Key pressed [06:51:29]Feed [06:51:29]Write to MH i2c: D8 00 00 F8 31 00 [06:51:29]Write i2c OK [06:51:29]MH_I2C_Read... [06:51:29]Read from MH i2c: D8 [06:51:29]MH_I2C_Read... [06:51:29]Read from MH i2c: D8 01 00 [06:51:29]MH_I2C_Read... [06:51:29]Read from MH i2c: D8 01 00 F8 31 00 01 [06:51:29]int [06:51:29]Write to MH i2c: 01 00 00 F9 31 2A [06:51:29]Write i2c OK [06:51:29]MH_I2C_Read... [06:51:29]Read from MH i2c: 01 [06:51:29]MH_I2C_Read... [06:51:29]Read from MH i2c: 01 07 00 [06:51:29]MH_I2C_Read... [06:51:29]Read from MH i2c: 01 07 00 F9 31 00 48 00 00 00 3C 00 B5 [06:51:29]state=2 [06:51:29]Key pressed [06:51:30]int [06:51:30]Write to MH i2c: 01 00 00 FA 31 2B [06:51:30]*** FLAG_PRN_KEY reset [06:51:30]Write i2c OK [06:51:30]MH_I2C_Read... [06:51:30]Read from MH i2c: 01 [06:51:30]MH_I2C_Read... [06:51:30]Read from MH i2c: 01 07 00 [06:51:30]MH_I2C_Read... [06:51:30]Read from MH i2c: 01 07 00 FA 31 00 00 00 00 00 FF 0F 40 [06:51:30]state=2 [06:51:30]Stop feed [06:51:30]int [06:51:30]Write to MH i2c: 01 00 00 FB 31 2C [06:51:30]*** FLAG_PRN_KEY set [06:51:30]Write i2c OK [06:51:30]MH_I2C_Read... [06:51:30]Read from MH i2c: 01 [06:51:30]MH_I2C_Read... [06:51:30]Read from MH i2c: 01 07 00 [06:51:30]MH_I2C_Read... [06:51:30]Read from MH i2c: 01 07 00 FB 31 00 08 00 00 00 FF 0F 49 [06:51:30]state=0 [06:51:30]Key pressed [06:51:30]Feed [06:51:30]Write to MH i2c: D8 00 00 FC 31 04 [06:51:30]Write i2c OK [06:51:30]MH_I2C_Read... [06:51:30]Read from MH i2c: D8 [06:51:30]MH_I2C_Read... [06:51:30]Read from MH i2c: D8 01 00 [06:51:30]MH_I2C_Read... [06:51:30]Read from MH i2c: D8 01 00 FC 31 00 05 [06:51:30]int [06:51:30]Write to MH i2c: 01 00 00 FD 31 2E [06:51:30]Write i2c OK [06:51:30]MH_I2C_Read... [06:51:30]Read from MH i2c: 01 [06:51:30]MH_I2C_Read... [06:51:30]Read from MH i2c: 01 07 00 [06:51:30]MH_I2C_Read... [06:51:30]Read from MH i2c: 01 07 00 FD 31 00 48 00 00 00 3D 00 BA [06:51:30]state=2 [06:51:30]Key pressed [06:51:31]OFD Sender: No OFD packet to send [06:51:31]int [06:51:31]Write to MH i2c: 01 00 00 FE 31 2F [06:51:31]*** FLAG_PRN_KEY reset [06:51:31]Write i2c OK [06:51:31]MH_I2C_Read... [06:51:31]Read from MH i2c: 01 [06:51:31]MH_I2C_Read... [06:51:31]Read from MH i2c: 01 07 00 [06:51:31]MH_I2C_Read... [06:51:31]Read from MH i2c: 01 07 00 FE 31 00 00 00 00 00 F7 0F 3C [06:51:31]state=2 [06:51:31]Stop feed [06:51:36]OFD Sender: No OFD packet to send [06:51:41]OFD Sender: No OFD packet to send [06:51:46]OFD Sender: No OFD packet to send [06:51:51]OFD Sender: No OFD packet to send [06:51:56]OFD Sender: No OFD packet to send [06:52:01]OFD Sender: No OFD packet to send [06:52:06]OFD Sender: No OFD packet to send [00:00:10] *** EcrCore started. Build 196 *** [00:00:10]/dev/ttyS4 opened [00:00:10]MH_InterfaceInit /dev/i2c-1 [00:00:10]Malloc ok [00:00:10]MH_GetMetrics [00:00:10]Write to MH i2c: 00 00 00 01 00 00 [00:00:10]Write i2c OK [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 00 29 00 [00:00:10]MH_I2C_Read... [00:00:11]Read from MH i2c: 00 29 00 01 00 00 03 9C 77 C0 01 31 39 30 33 53 51 38 38 54 00 00 00 00 57 25 A4 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 01 03 00 49 [00:00:11]Are we in boot? [00:00:11]We are in boot - try to switch [00:00:11]Write to MH i2c: A0 00 00 02 00 A1 [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]*** Check firmware version 30620, crc_r 49A1A6DB, crc_c: 49A1A6DB, size: 53248 [00:00:11]*** [00:00:11]Read from MH i2c: A0 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: A0 01 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: A0 01 00 02 00 00 A2 [00:00:11]*** Starting fw at address 01020100 (2007E328 010249C5) [00:00:11]*** Waiting for read because exit forced [00:00:11]*** 10 ms more... [00:00:11]*** MH1903S init start (LINUX_LIGHT) [00:00:11]*** Compilation Date Jun 20 2023 Time 12:36:20 [00:00:11]*** Serial: 3139303353513838 54000000005725A4 (1903SQ88T) [00:00:11]*** User serial: FFFFFFFFFFFFFFFF FFFFFFFFFFFFFFFF () [00:00:11]*** step 0: 5000 (2650, 2350 REF) [00:00:11]*** step 1: 4835 (2500, 2335 REF) [00:00:11]*** step 2: 4676 (2440, 2236 REF) [00:00:11]*** step 3: 4523 (2280, 2243 REF) [00:00:11]*** step 4: 4376 (2160, 2216 REF) [00:00:11]*** step 5: 4235 (2050, 2185 REF) [00:00:11]*** step 6: 4098 (1950, 2148 REF) [00:00:11]*** step 7: 3967 (1870, 2097 REF) [00:00:11]*** step 8: 3840 (1828, 2012 REF) [00:00:11]*** step 9: 3719 (1728, 1991 REF) [00:00:11]*** step 10: 3601 (1675, 1926 REF) [00:00:11]*** step 11: 3488 (1635, 1853 REF) [00:00:11]*** step 12: 3379 (1595, 1784 REF) [00:00:11]*** step 13: 3275 (1565, 1710 REF) [00:00:11]*** step 14: 3174 (1543, 1631 REF) [00:00:11]*** step 15: 3077 (1523, 1554 REF) [00:00:11]*** step 16: 2983 (1503, 1480 REF) [00:00:11]*** step 17: 2893 (1486, 1407 REF) [00:00:11]*** step 18: 2806 (1466, 1340 REF) [00:00:11]*** step 19: 2723 (1426, 1297 REF) [00:00:11]*** step 20: 2642 (1406, 1236 REF) [00:00:11]*** step 21: 2565 (1384, 1181 REF) [00:00:11]*** step 22: 2490 (1364, 1126 REF) [00:00:11]*** step 23: 2418 (1344, 1074 REF) [00:00:11]*** step 24: 2349 (1322, 1027 REF) [00:00:11]*** step 25: 2283 (1302, 981 REF) [00:00:11]*** step 26: 2218 (1282, 936 REF) [00:00:11]*** step 27: 2157 (1262, 895 REF) [00:00:11]*** step 28: 2097 (1242, 855 REF) [00:00:11]*** step 29: 2040 (1222, 818 REF) [00:00:11]*** step 30: 1985 (1202, 783 REF) [00:00:11]*** step 31: 1932 (1191, 741 REF) [00:00:11]*** step 32: 1880 (1181, 699 REF) [00:00:11]*** step 33: 1831 (1171, 660 REF) [00:00:11]*** step 34: 1784 (1161, 623 REF) [00:00:11]*** step 35: 1738 (1151, 587 REF) [00:00:11]*** step 36: 1694 (1141, 553 REF) [00:00:11]*** step 37: 1652 (1131, 521 REF) [00:00:11]*** step 38: 1611 (1121, 490 REF) [00:00:11]*** step 39: 1572 (1111, 461 REF) [00:00:11]*** step 40: 1534 (1103, 431 REF) [00:00:11]*** step 41: 1497 (1093, 404 REF) [00:00:11]*** step 42: 1462 (1083, 379 REF) [00:00:11]*** step 43: 1428 (1073, 355 REF) [00:00:11]*** step 44: 1396 (1063, 333 REF) [00:00:11]*** step 45: 1365 (1053, 312 REF) [00:00:11]*** step 46: 1334 (1043, 291 REF) [00:00:11]*** step 47: 1305 (1033, 272 REF) [00:00:11]*** step 48: 1277 (1023, 254 REF) [00:00:11]*** step 49: 1250 (1013, 237 REF) [00:00:11]*** step 50: 1224 (990, 234 REF) [00:00:11]*** step 51: 1199 (980, 219 REF) [00:00:11]*** step 52: 1175 (970, 205 REF) [00:00:11]*** step 53: 1152 (960, 192 REF) [00:00:11]*** step 54: 1130 (950, 180 REF) [00:00:11]*** step 55: 1108 (940, 168 REF) [00:00:11]*** step 56: 1088 (930, 158 REF) [00:00:11]*** step 57: 1068 (920, 148 REF) [00:00:11]*** step 58: 1049 (910, 139 REF) [00:00:11]*** step 59: 1030 (900, 130 REF) [00:00:11]*** step 60: 1012 (890, 122 REF) [00:00:11]*** step 61: 995 (880, 115 REF) [00:00:11]*** step 62: 979 (870, 109 REF) [00:00:11]*** step 63: 963 (860, 103 REF) [00:00:11]*** step 64: 948 (850, 98 REF) [00:00:11]*** step 65: 933 (840, 93 REF) [00:00:11]*** step 66: 919 (830, 89 REF) [00:00:11]*** step 67: 905 (820, 85 REF) [00:00:11]*** step 68: 892 (810, 82 REF) [00:00:11]*** step 69: 879 (800, 79 REF) [00:00:11]*** step 70: 867 (790, 77 REF) [00:00:11]*** step 71: 855 (780, 75 REF) [00:00:11]*** step 72: 844 (770, 74 REF) [00:00:11]*** step 73: 833 (760, 73 REF) [00:00:11]*** step 74: 822 (750, 72 REF) [00:00:11]*** step 75: 812 (740, 72 REF) [00:00:11]*** step 76: 803 (730, 73 REF) [00:00:11]*** step 77: 793 (720, 73 REF) [00:00:11]*** step 78: 784 (710, 74 REF) [00:00:11]*** step 79: 776 (700, 76 REF) [00:00:11]*** step 80: 767 (690, 77 REF) [00:00:11]*** step 81: 759 (680, 79 REF) [00:00:11]*** step 82: 751 (670, 81 REF) [00:00:11]*** step 83: 744 (660, 84 REF) [00:00:11]*** step 84: 737 (650, 87 REF) [00:00:11]*** step 85: 730 (640, 90 REF) [00:00:11]*** step 86: 723 (630, 93 REF) [00:00:11]*** step 87: 717 (620, 97 REF) [00:00:11]*** step 88: 710 (610, 100 REF) [00:00:11]*** step 89: 705 (600, 105 REF) [00:00:11]*** step 90: 699 [00:00:11]*** step 91: 693 [00:00:11]*** step 92: 688 [00:00:11]*** step 93: 683 [00:00:11]*** step 94: 678 [00:00:11]*** step 95: 673 [00:00:11]*** step 96: 669 [00:00:11]*** step 97: 664 [00:00:11]*** step 98: 660 [00:00:11]*** step 99: 656 [00:00:11]*** step 100: 652 [00:00:11]*** step 101: 648 [00:00:11]*** step 102: 644 [00:00:11]*** step 103: 641 [00:00:11]*** step 104: 638 [00:00:11]*** step 105: 634 [00:00:11]*** step 106: 631 [00:00:11]*** step 107: 628 [00:00:11]*** step 108: 625 [00:00:11]*** step 109: 622 [00:00:11]*** step 110: 620 [00:00:11]*** step 111: 617 [00:00:11]*** step 112: 615 [00:00:11]*** step 113: 612 [00:00:11]*** step 114: 610 [00:00:11]*** step 115: 608 [00:00:11]*** step 116: 605 [00:00:11]*** step 117: 603 [00:00:11]*** step 118: 601 [00:00:11]*** step 119: 599 [00:00:11]*** printer: Printer HW initialized [00:00:11]*** initSamCard finished [00:00:11]*** RTC: 13004048+1704479911=1717483959 [00:00:11]*** BPK Status Register BPK_RDY = 0x0 [00:00:11]*** SEN State Register SEN_STATE = 0x20ff [00:00:11]*** 32K Frequency Sensor Enable SEN_XTAL32_EN = 0x80000055 [00:00:11]*** Analog Control Register 0 SEN_ANA0 = 0x33530623 [00:00:11]*** Is cutter blocked? [00:00:12]MH_GetMetrics [00:00:12]Write to MH i2c: 00 00 00 03 00 02 [00:00:12]Write i2c OK [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: 00 [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: 00 29 00 [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: 00 29 00 03 00 00 03 9C 77 C0 01 31 39 30 33 53 51 38 38 54 00 00 00 00 57 25 A4 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 00 03 00 4A [00:00:12]Are we in boot? [00:00:12]We are not in boot now [00:00:12]Write to MH i2c: 01 00 00 04 00 04 [00:00:12]Write i2c OK [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: 01 [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: 01 07 00 [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: 01 07 00 04 00 00 00 00 00 00 FF 0F 19 [00:00:12]Model is 3 [00:00:12]MH firmware is 30620 [00:00:12]MH boot firmware is 3 [00:00:12]MH_SetPrinterDots 448 [00:00:12]HeadWidthInBytes 56 [00:00:12]maxmasksize 7 [00:00:12]Write to MH i2c: D6 06 00 05 00 47 00 60 00 FF FF 85 [00:00:12]Write i2c OK [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: D6 [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: D6 01 00 [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: D6 01 00 05 00 00 DB [00:00:12]Write to MH i2c: D5 00 00 06 00 DA [00:00:12]Write i2c OK [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: D5 [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: D5 01 00 [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: D5 01 00 06 00 00 DB [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]ExternCall_SetCallbacks [00:00:12]NVStorageInit [00:00:12]MH_GetDate [00:00:12]Write to MH i2c: F0 00 00 07 00 F6 [00:00:12]Write i2c OK [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: F0 [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: F0 09 00 [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: F0 09 00 07 00 00 B7 B9 5E 66 A7 4C 98 65 23 [06:52:39]Current date/time: 04.06.2024 06:52 [06:52:39]FM_Init [06:52:39]wFMConnect [06:52:39]MH_SAM_On [06:52:39]Write to MH i2c: E0 00 00 08 00 E7 [06:52:39]Write i2c OK [06:52:39]MH_I2C_Read... [06:52:39]*** iso7816_init finished! [06:52:39]*** atr: [06:52:39]*** 0F 3B D5 18 FF 81 91 FE [06:52:39]*** 1F C3 80 73 C8 21 10 0A [06:52:39]*** 00 00 00 00 00 00 00 00 [06:52:39]*** 00 00 00 00 00 00 00 00 [06:52:39]*** 00 00 00 00 00 00 00 00 [06:52:39]*** 00 00 00 00 00 00 00 00 [06:52:39]*** 00 00 00 00 00 00 00 00 [06:52:39]*** 00 00 00 00 00 00 00 00 [06:52:39]Read from MH i2c: E0 [06:52:39]MH_I2C_Read... [06:52:39]Read from MH i2c: E0 10 00 [06:52:39]MH_I2C_Read... [06:52:39]Read from MH i2c: E0 10 00 08 00 00 3B D5 18 FF 81 91 FE 1F C3 80 73 C8 21 10 0A 06 [06:52:39]ATR: 3B D5 18 FF 81 91 FE 1F C3 80 73 C8 21 10 0A [06:52:39]wFMCommunicate request_size=10 [06:52:39]MH_SAM_APDU [06:52:39]CAPDU: 00 A4 04 00 05 01 02 03 04 05 [06:52:39]Write to MH i2c: E2 0D 00 09 00 00 A4 04 00 05 00 01 02 03 04 05 00 00 B3 [06:52:39]Write i2c OK [06:52:39]MH_I2C_Read... [06:52:39]*** iso7816_exchange 00 A4 04 00... Resp OK rsp.len_out = 0! [06:52:39]Read from MH i2c: E2 [06:52:39]MH_I2C_Read... [06:52:39]Read from MH i2c: E2 03 00 [06:52:39]MH_I2C_Read... [06:52:39]Read from MH i2c: E2 03 00 09 00 00 90 00 7D [06:52:39]RAPDU: 90 00 [06:52:39]wFMCommunicate OK [06:52:39]wFMCommunicate request_size=4 [06:52:39]MH_SAM_APDU [06:52:39]CAPDU: 80 11 00 00 [06:52:39]Write to MH i2c: E2 08 00 0A 00 80 11 00 00 00 00 00 00 84 [06:52:39]Write i2c OK [06:52:39]MH_I2C_Read... [06:52:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:52:39]Read from MH i2c: E2 [06:52:39]MH_I2C_Read... [06:52:39]Read from MH i2c: E2 17 00 [06:52:39]MH_I2C_Read... [06:52:39]Read from MH i2c: E2 17 00 0A 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 E0 [06:52:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 [06:52:39]wFMCommunicate OK [06:52:39]Detected FM SN is 0000000000874859 [06:52:39]Stored FM SN is 0000000000874859 [06:52:39]wFMCommunicate request_size=9 [06:52:39]MH_SAM_APDU [06:52:39]CAPDU: 80 16 00 00 04 64 64 00 00 [06:52:39]Write to MH i2c: E2 0C 00 0B 00 80 16 00 00 04 00 64 64 00 00 00 00 5A [06:52:39]Write i2c OK [06:52:39]MH_I2C_Read... [06:52:39]*** iso7816_exchange 80 16 00 00... Resp OK rsp.len_out = 0! [06:52:39]Read from MH i2c: E2 [06:52:39]MH_I2C_Read... [06:52:39]Read from MH i2c: E2 03 00 [06:52:39]MH_I2C_Read... [06:52:39]Read from MH i2c: E2 03 00 0B 00 00 90 00 7F [06:52:39]RAPDU: 90 00 [06:52:39]wFMCommunicate OK [06:52:39]FM PIN OK [06:52:39]wFMCommunicate request_size=8 [06:52:39]MH_SAM_APDU [06:52:39]CAPDU: 80 14 04 00 03 02 00 01 [06:52:39]Write to MH i2c: E2 0B 00 0C 00 80 14 04 00 03 00 02 00 01 00 00 96 [06:52:39]Write i2c OK [06:52:39]MH_I2C_Read... [06:52:39]*** iso7816_exchange 80 14 04 00... Resp OK rsp.len_out = 0! [06:52:39]Read from MH i2c: E2 [06:52:39]MH_I2C_Read... [06:52:39]Read from MH i2c: E2 03 00 [06:52:39]MH_I2C_Read... [06:52:39]Read from MH i2c: E2 03 00 0C 00 00 90 00 80 [06:52:39]RAPDU: 90 00 [06:52:39]wFMCommunicate OK [06:52:39]wFMCommunicate request_size=13 [06:52:39]MH_SAM_APDU [06:52:39]CAPDU: 80 14 04 01 08 07 00 01 02 03 04 05 06 [06:52:39]Write to MH i2c: E2 10 00 0D 00 80 14 04 01 08 00 07 00 01 02 03 04 05 06 00 00 BB [06:52:39]Write i2c OK [06:52:39]MH_I2C_Read... [06:52:39]*** iso7816_exchange 80 14 04 01... Resp OK rsp.len_out = 0! [06:52:39]Read from MH i2c: E2 [06:52:39]MH_I2C_Read... [06:52:39]Read from MH i2c: E2 03 00 [06:52:39]MH_I2C_Read... [06:52:39]Read from MH i2c: E2 03 00 0D 00 00 90 00 81 [06:52:39]RAPDU: 90 00 [06:52:39]wFMCommunicate OK [06:52:39]wFMCommunicate request_size=4 [06:52:39]MH_SAM_APDU [06:52:39]CAPDU: 80 11 00 00 [06:52:39]Write to MH i2c: E2 08 00 0E 00 80 11 00 00 00 00 00 00 88 [06:52:39]Write i2c OK [06:52:39]MH_I2C_Read... [06:52:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:52:39]Read from MH i2c: E2 [06:52:39]MH_I2C_Read... [06:52:39]Read from MH i2c: E2 17 00 [06:52:39]MH_I2C_Read... [06:52:39]Read from MH i2c: E2 17 00 0E 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 E4 [06:52:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 [06:52:39]wFMCommunicate OK [06:52:39]DocumentArchiveInit [06:52:39]Start Httpd... [06:52:39]Httpd thread 3067456868 created [06:52:39]Write to MH i2c: 01 00 00 0F 00 0F [06:52:39]Write i2c OK [06:52:39]MH_I2C_Read... [06:52:39]Read from MH i2c: 01 [06:52:39]MH_I2C_Read... [06:52:39]Read from MH i2c: 01 07 00 [06:52:39]MH_I2C_Read... [06:52:39]Read from MH i2c: 01 07 00 0F 00 00 00 00 00 00 FF 0F 24 [06:52:39]MH Int Process started [06:52:39]Allocated Socket 8 [06:52:39]Bind OK [06:52:39]Listen OK [06:52:39]httpd running on port 8080 [06:52:39]Waiting for new connection... [06:52:39]OFD Sender: No OFD packet to send [06:52:40]accept exits with 9 [06:52:40]New connection [06:52:40]New thread 3067170148 created [06:52:40]Waiting for new connection... [06:52:40] Sock 9.Parse request [06:52:40]Sock 9.Check first char [06:52:40]Sock 9.First char is OK [06:52:40]request: POST /json_proto HTTP/1.0 [06:52:40]Method: POST [06:52:40]URL: /json_proto [06:52:40]Method is POST - this is cgi request [06:52:40]url: /json_proto [06:52:40]query_string will be loaded in cgi processing [06:52:40]execute_cgi json_proto POST (null) [06:52:40]execute_cgi path=json_proto method=POST [06:52:40]POST find Content-Length [06:52:40]Host: 172.17.36.131:8080 [06:52:40]Content-Length: 215 [06:52:40]Content-Type: application/json [06:52:40] [06:52:40]POST finish read [06:52:40]Found Content-Length = 215 [06:52:40]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" ] } } [06:52:40]execute_script... [06:52:40]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" ] } } [06:52:40]POST & json_proto [06:52:40]process_json_proto [06:52:40]json parsed OK: [06:52:40]protocol is kg_v1.0 [06:52:40]action value=get_value [06:52:40]process_action get_value [06:52:40]cmd_get_value [06:52:40]process_action get_value done [06:52:40]requested_data is exist [06:52:40]produce_requested_data [06:52:40]requested_item kkm.sn is exist - process it [06:52:40]requested_item kkm.ver is exist - process it [06:52:40]requested_item fm.sn is exist - process it [06:52:40]wFMCommunicate request_size=4 [06:52:40]MH_SAM_APDU [06:52:40]CAPDU: 80 11 00 00 [06:52:40]Write to MH i2c: E2 08 00 10 00 80 11 00 00 00 00 00 00 8A [06:52:40]Write i2c OK [06:52:40]MH_I2C_Read... [06:52:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:52:40]Read from MH i2c: E2 [06:52:40]MH_I2C_Read... [06:52:40]Read from MH i2c: E2 17 00 [06:52:40]MH_I2C_Read... [06:52:40]Read from MH i2c: E2 17 00 10 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 E6 [06:52:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 [06:52:40]wFMCommunicate OK [06:52:40]requested_item fd.num is exist - process it [06:52:40]SAM_PROTO_GetFieldsCounters [06:52:40]wFMCommunicate request_size=4 [06:52:40]MH_SAM_APDU [06:52:40]CAPDU: 80 13 00 00 [06:52:40]Write to MH i2c: E2 08 00 11 00 80 13 00 00 00 00 00 00 8D [06:52:40]Write i2c OK [06:52:40]MH_I2C_Read... [06:52:40]Read from MH i2c: E2 [06:52:40]MH_I2C_Read... [06:52:40]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [06:52:40]Read from MH i2c: E2 62 00 [06:52:40]MH_I2C_Read... [06:52:40]Read from MH i2c: E2 62 00 11 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 10 04 04 00 67 87 00 00 0E 04 04 00 70 01 00 00 12 04 04 00 07 00 00 00 5E 04 04 00 07 00 00 00 57 04 04 00 08 00 00 00 19 04 04 00 00 00 00 00 90 00 34 [06:52:40]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 10 04 04 00 67 87 00 00 0E 04 04 00 70 01 00 00 12 04 04 00 07 00 00 00 5E 04 04 00 07 00 00 00 57 04 04 00 08 00 00 00 19 04 04 00 00 00 00 00 90 00 [06:52:40]wFMCommunicate OK [06:52:40]SAM_PROTO_GetFieldsCounters done [06:52:40]requested_item shift.num is exist - process it [06:52:40]requested_item shift.opened is exist - process it [06:52:40]req_shift_opened [06:52:40]FM_GetShiftState [06:52:40]SAM_PROTO_GetShiftState [06:52:40]wFMCommunicate request_size=4 [06:52:40]MH_SAM_APDU [06:52:40]CAPDU: 80 13 01 00 [06:52:40]Write to MH i2c: E2 08 00 12 00 80 13 01 00 00 00 00 00 8F [06:52:40]Write i2c OK [06:52:40]MH_I2C_Read... [06:52:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:52:40]Read from MH i2c: E2 [06:52:40]MH_I2C_Read... [06:52:40]Read from MH i2c: E2 0E 00 [06:52:40]MH_I2C_Read... [06:52:40]Read from MH i2c: E2 0E 00 12 00 00 09 00 01 35 5B 5E 66 00 00 00 00 90 00 EF [06:52:40]RAPDU: 09 00 01 35 5B 5E 66 00 00 00 00 90 00 [06:52:40]wFMCommunicate OK [06:52:40]SAM_PROTO_GetShiftState done [06:52:40]FM_GetShiftState done [06:52:40]req_shift_opened done [06:52:40]requested_item shift.open_date is exist - process it [06:52:40]req_shift_open_date [06:52:40]req_shift_open_date done [06:52:40]produce_requested_data done [06:52:40]produce_requested_data return {"kkm.sn":"0300000080","kkm.ver":"001","fm.sn":"0000000000874859","fd.num":34663,"shift.num":368,"shift.opened":1,"shift.open_date":1717459765} [06:52:40]process_action_free get_value [06:52:40]json_value_free [06:52:40]json_value_free done [06:52:40]process_json_proto returns [06:52:40]Send response to host [06:52:40]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000080","kkm.ver":"001","fm.sn":"0000000000874859","fd.num":34663,"shift.num":368,"shift.opened":1,"shift.open_date":1717459765}}} [06:52:40]free response buf [06:52:40]execute_script done [06:52:40]execute_script returns [06:52:40]free content buf [06:52:40]Sock 9.Close socket [06:52:40]Sock 9.Thread stoped [06:52:40]accept exits with 7 [06:52:40]New connection [06:52:40]New thread 3067026788 created [06:52:40]Thread 3067170148 joined [06:52:40]Waiting for new connection... [06:52:40] Sock 7.Parse request [06:52:40]Sock 7.Check first char [06:52:40]Sock 7.First char is OK [06:52:40]request: POST /json_proto HTTP/1.0 [06:52:40]Method: POST [06:52:40]URL: /json_proto [06:52:40]Method is POST - this is cgi request [06:52:40]url: /json_proto [06:52:40]query_string will be loaded in cgi processing [06:52:40]execute_cgi json_proto POST (null) [06:52:40]execute_cgi path=json_proto method=POST [06:52:40]POST find Content-Length [06:52:40]Host: 172.17.36.131:8080 [06:52:40]Content-Length: 331 [06:52:40]Content-Type: application/json [06:52:40] [06:52:40]POST finish read [06:52:40]Found Content-Length = 331 [06:52:40]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" ] } } [06:52:40]execute_script... [06:52:40]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" ] } } [06:52:40]POST & json_proto [06:52:40]process_json_proto [06:52:40]json parsed OK: [06:52:40]protocol is kg_v1.0 [06:52:40]action value=get_value [06:52:40]process_action get_value [06:52:40]cmd_get_value [06:52:40]process_action get_value done [06:52:40]requested_data is exist [06:52:40]produce_requested_data [06:52:40]requested_item fm.sale.total is exist - process it [06:52:40]SAM_PROTO_GetFMData [06:52:40]wFMCommunicate request_size=4 [06:52:40]MH_SAM_APDU [06:52:40]CAPDU: 80 13 03 00 [06:52:40]Write to MH i2c: E2 08 00 13 00 80 13 03 00 00 00 00 00 92 [06:52:40]Write i2c OK [06:52:40]MH_I2C_Read... [06:52:41]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [06:52:41]Read from MH i2c: E2 [06:52:41]MH_I2C_Read... [06:52:41]Read from MH i2c: E2 FD 00 [06:52:41]MH_I2C_Read... [06:52:41]Read from MH i2c: E2 FD 00 13 00 00 C4 04 85 04 C0 04 6E 04 04 00 87 84 00 00 69 04 A0 00 6F 04 04 00 19 83 00 00 B1 04 04 00 B8 D2 98 5E 70 04 04 00 10 6B E0 53 72 04 04 00 A8 67 B8 0A 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 D3 53 0C 0A EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 B5 51 D6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 6E 01 00 00 B1 04 04 00 58 48 44 02 70 04 04 00 50 6A 39 02 72 04 03 00 08 DE 0A 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 3B A1 3D EF 03 09 00 90 00 BF [06:52:41]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 87 84 00 00 69 04 A0 00 6F 04 04 00 19 83 00 00 B1 04 04 00 B8 D2 98 5E 70 04 04 00 10 6B E0 53 72 04 04 00 A8 67 B8 0A 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 D3 53 0C 0A EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 B5 51 D6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 6E 01 00 00 B1 04 04 00 58 48 44 02 70 04 04 00 50 6A 39 02 72 04 03 00 08 DE 0A 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 3B A1 3D EF 03 09 00 90 00 [06:52:41]wFMCommunicate OK [06:52:41]wFMCommunicate request_size=4 [06:52:41]MH_SAM_APDU [06:52:41]CAPDU: 80 17 00 00 [06:52:41]Write to MH i2c: E2 08 00 14 00 80 17 00 00 00 00 00 00 94 [06:52:41]Write i2c OK [06:52:41]MH_I2C_Read... [06:52:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [06:52:41]Read from MH i2c: E2 [06:52:41]MH_I2C_Read... [06:52:41]Read from MH i2c: E2 FD 00 [06:52:41]MH_I2C_Read... [06:52:41]Read from MH i2c: E2 FD 00 14 00 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 9B 22 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 0C [06:52:41]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 9B 22 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [06:52:41]wFMCommunicate OK [06:52:41]wFMCommunicate request_size=4 [06:52:41]MH_SAM_APDU [06:52:41]CAPDU: 80 17 00 00 [06:52:41]Write to MH i2c: E2 08 00 15 00 80 17 00 00 00 00 00 00 95 [06:52:41]Write i2c OK [06:52:41]MH_I2C_Read... [06:52:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [06:52:41]Read from MH i2c: E2 [06:52:41]MH_I2C_Read... [06:52:41]Read from MH i2c: E2 FD 00 [06:52:41]MH_I2C_Read... [06:52:41]Read from MH i2c: E2 FD 00 15 00 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 AA [06:52:41]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [06:52:41]wFMCommunicate OK [06:52:41]wFMCommunicate request_size=4 [06:52:41]MH_SAM_APDU [06:52:41]CAPDU: 80 17 00 00 [06:52:41]Write to MH i2c: E2 08 00 16 00 80 17 00 00 00 00 00 00 96 [06:52:41]Write i2c OK [06:52:41]MH_I2C_Read... [06:52:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [06:52:41]Read from MH i2c: E2 [06:52:41]MH_I2C_Read... [06:52:41]Read from MH i2c: E2 FD 00 [06:52:41]MH_I2C_Read... [06:52:41]Read from MH i2c: E2 FD 00 16 00 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 0E [06:52:41]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [06:52:41]wFMCommunicate OK [06:52:41]wFMCommunicate request_size=4 [06:52:41]MH_SAM_APDU [06:52:41]CAPDU: 80 17 00 00 [06:52:41]Write to MH i2c: E2 08 00 17 00 80 17 00 00 00 00 00 00 97 [06:52:41]Write i2c OK [06:52:41]MH_I2C_Read... [06:52:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [06:52:42]Read from MH i2c: E2 [06:52:42]MH_I2C_Read... [06:52:42]Read from MH i2c: E2 E1 00 [06:52:42]MH_I2C_Read... [06:52:42]Read from MH i2c: E2 E1 00 17 00 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 85 [06:52:42]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [06:52:42]wFMCommunicate OK [06:52:42]SAM_PROTO_GetFMData done [06:52:42]requested_item fm.sale_refund.total is exist - process it [06:52:42]requested_item fm.buy.total is exist - process it [06:52:42]requested_item shift.sale.total is exist - process it [06:52:42]SAM_PROTO_GetShiftData [06:52:42]wFMCommunicate request_size=4 [06:52:42]MH_SAM_APDU [06:52:42]CAPDU: 80 13 02 00 [06:52:42]Write to MH i2c: E2 08 00 18 00 80 13 02 00 00 00 00 00 96 [06:52:42]Write i2c OK [06:52:42]MH_I2C_Read... [06:52:42]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [06:52:42]Read from MH i2c: E2 [06:52:42]MH_I2C_Read... [06:52:42]Read from MH i2c: E2 FD 00 [06:52:42]MH_I2C_Read... [06:52:42]Read from MH i2c: E2 FD 00 18 00 00 AC 04 AA 04 A8 04 6E 04 04 00 07 00 00 00 69 04 99 00 6F 04 04 00 07 00 00 00 B1 04 03 00 C4 CB 01 70 04 03 00 D8 9E 01 72 04 02 00 EC 2C 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 D3 30 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 10 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 90 00 94 [06:52:42]RAPDU: AC 04 AA 04 A8 04 6E 04 04 00 07 00 00 00 69 04 99 00 6F 04 04 00 07 00 00 00 B1 04 03 00 C4 CB 01 70 04 03 00 D8 9E 01 72 04 02 00 EC 2C 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 D3 30 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 10 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 90 00 [06:52:42]wFMCommunicate OK [06:52:42]wFMCommunicate request_size=4 [06:52:42]MH_SAM_APDU [06:52:42]CAPDU: 80 17 00 00 [06:52:42]Write to MH i2c: E2 08 00 19 00 80 17 00 00 00 00 00 00 99 [06:52:42]Write i2c OK [06:52:42]MH_I2C_Read... [06:52:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [06:52:42]Read from MH i2c: E2 [06:52:42]MH_I2C_Read... [06:52:42]Read from MH i2c: E2 FD 00 [06:52:42]MH_I2C_Read... [06:52:42]Read from MH i2c: E2 FD 00 19 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 90 00 AE [06:52:42]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 [06:52:42]wFMCommunicate OK [06:52:42]wFMCommunicate request_size=4 [06:52:42]MH_SAM_APDU [06:52:42]CAPDU: 80 17 00 00 [06:52:42]Write to MH i2c: E2 08 00 1A 00 80 17 00 00 00 00 00 00 9A [06:52:42]Write i2c OK [06:52:42]MH_I2C_Read... [06:52:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [06:52:43]Read from MH i2c: E2 [06:52:43]MH_I2C_Read... [06:52:43]Read from MH i2c: E2 FD 00 [06:52:43]MH_I2C_Read... [06:52:43]Read from MH i2c: E2 FD 00 1A 00 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 5B [06:52:43]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 [06:52:43]wFMCommunicate OK [06:52:43]wFMCommunicate request_size=4 [06:52:43]MH_SAM_APDU [06:52:43]CAPDU: 80 17 00 00 [06:52:43]Write to MH i2c: E2 08 00 1B 00 80 17 00 00 00 00 00 00 9B [06:52:43]Write i2c OK [06:52:43]MH_I2C_Read... [06:52:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [06:52:43]Read from MH i2c: E2 [06:52:43]MH_I2C_Read... [06:52:43]Read from MH i2c: E2 FD 00 [06:52:43]MH_I2C_Read... [06:52:43]Read from MH i2c: E2 FD 00 1B 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 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 10 [06:52:43]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 [06:52:43]wFMCommunicate OK [06:52:43]wFMCommunicate request_size=4 [06:52:43]MH_SAM_APDU [06:52:43]CAPDU: 80 17 00 00 [06:52:43]Write to MH i2c: E2 08 00 1C 00 80 17 00 00 00 00 00 00 9C [06:52:43]Write i2c OK [06:52:43]MH_I2C_Read... [06:52:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 198! [06:52:43]Read from MH i2c: E2 [06:52:43]MH_I2C_Read... [06:52:43]Read from MH i2c: E2 C9 00 [06:52:43]MH_I2C_Read... [06:52:43]Read from MH i2c: E2 C9 00 1C 00 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 80 [06:52:43]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 [06:52:43]wFMCommunicate OK [06:52:43]SAM_PROTO_GetShiftData done [06:52:43]requested_item shift.sale.total_cash is exist - process it [06:52:43]requested_item shift.sale_refund.total is exist - process it [06:52:43]requested_item shift.sale_refund.total_cash is exist - process it [06:52:43]requested_item shift.buy.total is exist - process it [06:52:43]requested_item shift.buy.total_cash is exist - process it [06:52:43]produce_requested_data done [06:52:43]produce_requested_data return {"fm.sale.total":15870737.20,"fm.sale_refund.total":380294.00,"fm.buy.total":0.00,"shift.sale.total":1177.00,"shift.sale.total_cash":1062.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} [06:52:43]process_action_free get_value [06:52:43]json_value_free [06:52:43]json_value_free done [06:52:43]process_json_proto returns [06:52:43]Send response to host [06:52:43]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":15870737.20,"fm.sale_refund.total":380294.00,"fm.buy.total":0.00,"shift.sale.total":1177.00,"shift.sale.total_cash":1062.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}}} [06:52:43]free response buf [06:52:43]execute_script done [06:52:43]execute_script returns [06:52:43]free content buf [06:52:43]Sock 7.Close socket [06:52:43]Sock 7.Thread stoped [06:52:44]OFD Sender: No OFD packet to send [06:52:49]OFD Sender: No OFD packet to send [06:52:54]OFD Sender: No OFD packet to send [06:52:59]OFD Sender: No OFD packet to send [06:53:04]OFD Sender: No OFD packet to send [06:53:09]OFD Sender: No OFD packet to send [06:53:14]OFD Sender: No OFD packet to send [06:53:19]OFD Sender: No OFD packet to send [06:53:24]OFD Sender: No OFD packet to send [06:53:29]OFD Sender: No OFD packet to send [06:53:34]OFD Sender: No OFD packet to send [06:53:39]OFD Sender: No OFD packet to send [06:53:44]OFD Sender: No OFD packet to send [06:53:49]OFD Sender: No OFD packet to send [06:53:54]OFD Sender: No OFD packet to send [06:53:59]OFD Sender: No OFD packet to send [06:54:04]OFD Sender: No OFD packet to send [06:54:09]OFD Sender: No OFD packet to send [06:54:14]OFD Sender: No OFD packet to send [06:54:19]OFD Sender: No OFD packet to send [06:54:24]OFD Sender: No OFD packet to send [06:54:29]OFD Sender: No OFD packet to send [06:54:34]OFD Sender: No OFD packet to send [06:54:39]OFD Sender: No OFD packet to send [06:54:44]OFD Sender: No OFD packet to send [06:54:49]OFD Sender: No OFD packet to send [06:54:54]OFD Sender: No OFD packet to send [06:54:59]OFD Sender: No OFD packet to send [06:55:04]OFD Sender: No OFD packet to send [06:55:09]OFD Sender: No OFD packet to send [06:55:14]OFD Sender: No OFD packet to send [06:55:19]OFD Sender: No OFD packet to send [06:55:24]OFD Sender: No OFD packet to send [06:55:29]OFD Sender: No OFD packet to send [06:55:34]OFD Sender: No OFD packet to send [06:55:39]OFD Sender: No OFD packet to send [06:55:44]OFD Sender: No OFD packet to send [06:55:49]OFD Sender: No OFD packet to send [06:55:54]OFD Sender: No OFD packet to send [06:55:59]OFD Sender: No OFD packet to send [06:56:04]OFD Sender: No OFD packet to send [06:56:09]OFD Sender: No OFD packet to send [06:56:14]OFD Sender: No OFD packet to send [06:56:19]OFD Sender: No OFD packet to send [06:56:24]OFD Sender: No OFD packet to send [06:56:29]OFD Sender: No OFD packet to send [06:56:34]OFD Sender: No OFD packet to send [06:56:39]OFD Sender: No OFD packet to send [06:56:44]OFD Sender: No OFD packet to send [06:56:49]OFD Sender: No OFD packet to send [06:56:54]OFD Sender: No OFD packet to send [06:56:59]OFD Sender: No OFD packet to send [06:57:04]OFD Sender: No OFD packet to send [06:57:09]OFD Sender: No OFD packet to send [06:57:14]OFD Sender: No OFD packet to send [06:57:19]OFD Sender: No OFD packet to send [06:57:24]OFD Sender: No OFD packet to send [06:57:29]OFD Sender: No OFD packet to send [06:57:34]OFD Sender: No OFD packet to send [06:57:39]OFD Sender: No OFD packet to send [06:57:44]OFD Sender: No OFD packet to send [06:57:49]OFD Sender: No OFD packet to send [06:57:54]OFD Sender: No OFD packet to send [06:57:59]OFD Sender: No OFD packet to send [06:58:04]OFD Sender: No OFD packet to send [06:58:09]OFD Sender: No OFD packet to send [06:58:14]OFD Sender: No OFD packet to send [06:58:19]OFD Sender: No OFD packet to send [06:58:24]OFD Sender: No OFD packet to send [06:58:29]OFD Sender: No OFD packet to send [06:58:34]OFD Sender: No OFD packet to send [06:58:39]OFD Sender: No OFD packet to send [06:58:44]OFD Sender: No OFD packet to send [06:58:49]OFD Sender: No OFD packet to send [06:58:54]OFD Sender: No OFD packet to send [06:58:59]OFD Sender: No OFD packet to send [06:59:04]OFD Sender: No OFD packet to send [06:59:09]OFD Sender: No OFD packet to send [06:59:14]OFD Sender: No OFD packet to send [06:59:19]OFD Sender: No OFD packet to send [06:59:24]OFD Sender: No OFD packet to send [06:59:29]OFD Sender: No OFD packet to send [06:59:34]OFD Sender: No OFD packet to send [06:59:39]OFD Sender: No OFD packet to send [06:59:44]OFD Sender: No OFD packet to send [06:59:49]OFD Sender: No OFD packet to send [06:59:54]OFD Sender: No OFD packet to send [06:59:59]OFD Sender: No OFD packet to send [07:00:04]OFD Sender: No OFD packet to send [07:00:09]OFD Sender: No OFD packet to send [07:00:14]OFD Sender: No OFD packet to send [07:00:19]OFD Sender: No OFD packet to send [07:00:24]OFD Sender: No OFD packet to send [07:00:29]OFD Sender: No OFD packet to send [07:00:34]OFD Sender: No OFD packet to send [07:00:39]OFD Sender: No OFD packet to send [07:00:44]OFD Sender: No OFD packet to send [07:00:49]OFD Sender: No OFD packet to send [07:00:54]OFD Sender: No OFD packet to send [07:00:59]OFD Sender: No OFD packet to send [07:01:04]OFD Sender: No OFD packet to send [07:01:09]OFD Sender: No OFD packet to send [07:01:14]OFD Sender: No OFD packet to send [07:01:19]OFD Sender: No OFD packet to send [07:01:21]accept exits with 9 [07:01:21]New connection [07:01:21]New thread 3067170148 created [07:01:21]Thread 3067026788 joined [07:01:21]Waiting for new connection... [07:01:21] Sock 9.Parse request [07:01:21]Sock 9.Check first char [07:01:21]Sock 9.First char is OK [07:01:21]request: POST /json_proto HTTP/1.0 [07:01:21]Method: POST [07:01:21]URL: /json_proto [07:01:21]Method is POST - this is cgi request [07:01:21]url: /json_proto [07:01:21]query_string will be loaded in cgi processing [07:01:21]execute_cgi json_proto POST (null) [07:01:21]execute_cgi path=json_proto method=POST [07:01:21]POST find Content-Length [07:01:21]Host: 172.17.36.131:8080 [07:01:21]Content-Length: 650 [07:01:21]Content-Type: application/json [07:01:21] [07:01:21]POST finish read [07:01:21]Found Content-Length = 650 [07:01:21]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100026", "tax_sys" : 0, "items" : [ { "code": "8590042701239", "name": "\u0421\u0430\u043B\u0444\u0435\u0442\u043A\u0438 \u0432\u043B\u0430\u0436\u043D\u044B\u0435 VOK", "price" : 36.00, "quantity" : 1.000, "sum" : 36.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 36.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:01:21]execute_script... [07:01:21]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100026", "tax_sys" : 0, "items" : [ { "code": "8590042701239", "name": "\u0421\u0430\u043B\u0444\u0435\u0442\u043A\u0438 \u0432\u043B\u0430\u0436\u043D\u044B\u0435 VOK", "price" : 36.00, "quantity" : 1.000, "sum" : 36.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 36.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:01:21]POST & json_proto [07:01:21]process_json_proto [07:01:21]json parsed OK: [07:01:21]protocol is kg_v1.0 [07:01:21]action value=close_receipt [07:01:21]process_action close_receipt [07:01:21]cmd_close_receipt [07:01:21]MH_GetDate [07:01:21]Write to MH i2c: F0 00 00 1D 00 0C [07:01:21]Write i2c OK [07:01:21]MH_I2C_Read... [07:01:21]Read from MH i2c: F0 [07:01:21]MH_I2C_Read... [07:01:21]Read from MH i2c: F0 09 00 [07:01:21]MH_I2C_Read... [07:01:21]Read from MH i2c: F0 09 00 1D 00 00 C1 BB 5E 66 A7 4C 98 65 45 [07:01:21]GetLastDocTimeStamp 1717483894 [07:01:21]current date 1717484481 [07:01:21]FM_GetShiftState [07:01:21]SAM_PROTO_GetShiftState [07:01:21]wFMCommunicate request_size=4 [07:01:21]MH_SAM_APDU [07:01:21]CAPDU: 80 13 01 00 [07:01:21]Write to MH i2c: E2 08 00 1E 00 80 13 01 00 00 00 00 00 9B [07:01:21]Write i2c OK [07:01:21]MH_I2C_Read... [07:01:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:01:21]Read from MH i2c: E2 [07:01:21]MH_I2C_Read... [07:01:21]Read from MH i2c: E2 0E 00 [07:01:21]MH_I2C_Read... [07:01:21]Read from MH i2c: E2 0E 00 1E 00 00 09 00 01 35 5B 5E 66 00 00 00 00 90 00 FB [07:01:21]RAPDU: 09 00 01 35 5B 5E 66 00 00 00 00 90 00 [07:01:21]wFMCommunicate OK [07:01:21]SAM_PROTO_GetShiftState done [07:01:21]FM_GetShiftState done [07:01:21]opened in 1717459765 [07:01:21]opened+sec_in_day 1717546165 [07:01:21]quantity*price = 3600 [07:01:21]sum+1 = 3601 [07:01:21]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 36.00 НСП 1% : 0.32 НДС 12% : 3.82 Наличными: 36.00 Безнал.: 0.00 Место: АЗС № 62 "Партнер Нефть" Адрес: 720001, г. Балыкчы, ул. Абдрахманова 325 Б, 42.462761, 76.214931 СНО: Общий режим Чек 8 04.06.2024 07:01 Смена: 368 ФФД: 1.0 ЗНМ: 0300000080 РНМ: 0000000000096838 Версия ККМ: 001 ФМ: 0000000000874859 ФД: 34664 ФПД: 62131988595577 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T070121&type=1&operation_type=1&fn_number=0000000000874859&fd_number=34664&fm=62131988595577&tin=02508201610067®Number=0000000000096838&sum=3600 0 [07:01:22]StoreToDocumentArchive [07:01:22]shift 368 fd 34664 [07:01:22]save to /storage/0368/doc_00034664 [07:01:22]save last doc name /storage/0368/doc_00034664 to /storage/kkm_last_doc_name [07:01:22]save OK [07:01:22]Clear old archive folders... [07:01:22]ProcessDocumentItem done err = 0, tmpTLVsize=277 [07:01:22]tlvbuf is 01B256F0 [07:01:22]SAM_PROTO_ClearQueue [07:01:22]wFMCommunicate request_size=4 [07:01:22]MH_SAM_APDU [07:01:22]CAPDU: 80 09 00 00 [07:01:22]Write to MH i2c: E2 08 00 2B 00 80 09 00 00 00 00 00 00 9D [07:01:22]Write i2c OK [07:01:22]MH_I2C_Read... [07:01:22]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:01:22]Read from MH i2c: E2 [07:01:22]MH_I2C_Read... [07:01:22]Read from MH i2c: E2 03 00 [07:01:22]MH_I2C_Read... [07:01:22]Read from MH i2c: E2 03 00 2B 00 00 90 00 9F [07:01:22]RAPDU: 90 00 [07:01:22]wFMCommunicate OK [07:01:22]SAM_PROTO_ClearQueue done [07:01:22]KKMCreateOFDPacket [07:01:22]OFDProtocolAddRootSTLVToBuf [07:01:22]FM_MakeSignedData [07:01:22]FM_MakeSignedData [07:01:22]SAM_PROTO_SignData [07:01:22]wFMCommunicate request_size=4 [07:01:22]MH_SAM_APDU [07:01:22]CAPDU: 80 0D 01 02 [07:01:22]Write to MH i2c: E2 08 00 2C 00 80 0D 01 02 00 00 00 00 A5 [07:01:22]Write i2c OK [07:01:22]MH_I2C_Read... [07:01:22]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:01:22]Read from MH i2c: E2 [07:01:22]MH_I2C_Read... [07:01:22]Read from MH i2c: E2 03 00 [07:01:22]MH_I2C_Read... [07:01:22]Read from MH i2c: E2 03 00 2C 00 00 90 00 A0 [07:01:22]RAPDU: 90 00 [07:01:22]wFMCommunicate OK [07:01:22]wFMCommunicate request_size=255 [07:01:22]MH_SAM_APDU [07:01:22]CAPDU: 80 0D 02 02 FA 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 38 35 39 30 30 34 32 37 30 31 32 33 39 06 04 23 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 D1 8B D0 B5 20 56 4F 4B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 0E 00 00 00 00 13 04 06 00 10 0E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 0E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 20 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7E 01 00 00 00 00 07 04 06 00 10 0E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 C1 BB 5E 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 30 30 30 [07:01:22]Write to MH i2c: E2 02 01 2D 00 80 0D 02 02 FA 00 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 38 35 39 30 30 34 32 37 30 31 32 33 39 06 04 23 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 D1 8B D0 B5 20 56 4F 4B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 0E 00 00 00 00 13 04 06 00 10 0E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 0E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 20 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7E 01 00 00 00 00 07 04 06 00 10 0E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 C1 BB 5E 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 30 30 30 00 00 7B [07:01:22]Write i2c OK [07:01:22]MH_I2C_Read... [07:01:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:01:22]Read from MH i2c: E2 [07:01:22]MH_I2C_Read... [07:01:22]Read from MH i2c: E2 03 00 [07:01:22]MH_I2C_Read... [07:01:22]Read from MH i2c: E2 03 00 2D 00 00 90 00 A1 [07:01:22]RAPDU: 90 00 [07:01:22]wFMCommunicate OK [07:01:22]wFMCommunicate request_size=36 [07:01:22]MH_SAM_APDU [07:01:22]CAPDU: 80 0D 02 02 1F 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 68 87 00 00 35 04 06 00 38 82 3B 1C 03 79 [07:01:22]Write to MH i2c: E2 27 00 2E 00 80 0D 02 02 1F 00 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 68 87 00 00 35 04 06 00 38 82 3B 1C 03 79 00 00 52 [07:01:22]Write i2c OK [07:01:22]MH_I2C_Read... [07:01:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:01:22]Read from MH i2c: E2 [07:01:22]MH_I2C_Read... [07:01:22]Read from MH i2c: E2 03 00 [07:01:22]MH_I2C_Read... [07:01:22]Read from MH i2c: E2 03 00 2E 00 00 90 00 A2 [07:01:22]RAPDU: 90 00 [07:01:22]wFMCommunicate OK [07:01:22]wFMCommunicate request_size=4 [07:01:22]MH_SAM_APDU [07:01:22]CAPDU: 80 0D 03 02 [07:01:22]Write to MH i2c: E2 08 00 2F 00 80 0D 03 02 00 00 00 00 AA [07:01:22]Write i2c OK [07:01:22]MH_I2C_Read... [07:01:22]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:01:22]Read from MH i2c: E2 [07:01:22]MH_I2C_Read... [07:01:22]Read from MH i2c: E2 0B 00 [07:01:22]MH_I2C_Read... [07:01:22]Read from MH i2c: E2 0B 00 2F 00 00 13 E3 04 DA CC CA 7B 08 90 00 98 [07:01:22]RAPDU: 13 E3 04 DA CC CA 7B 08 90 00 [07:01:22]wFMCommunicate OK [07:01:22]SAM_PROTO_SignData done [07:01:22]FM_MakeSignedData done [07:01:22]CreateOFDProtocolMessage [07:01:22]wFMCommunicate request_size=4 [07:01:22]MH_SAM_APDU [07:01:22]CAPDU: 80 11 00 00 [07:01:22]Write to MH i2c: E2 08 00 30 00 80 11 00 00 00 00 00 00 AA [07:01:22]Write i2c OK [07:01:22]MH_I2C_Read... [07:01:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:01:22]Read from MH i2c: E2 [07:01:22]MH_I2C_Read... [07:01:22]Read from MH i2c: E2 17 00 [07:01:22]MH_I2C_Read... [07:01:22]Read from MH i2c: E2 17 00 30 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 06 [07:01:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 [07:01:22]wFMCommunicate OK [07:01:22]CreateOFDProtocolMessage done [07:01:22]OFDSenderStorePacket 34664 [07:01:22]StoreOFDPacket docnum=34664 [07:01:22]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 29 01 00 00 2B 70 21 01 72 0D 5A 03 01 00 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 38 35 39 30 30 34 32 37 30 31 32 33 39 06 04 23 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 D1 8B D0 B5 20 56 4F 4B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 0E 00 00 00 00 13 04 06 00 10 0E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 0E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 20 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7E 01 00 00 00 00 07 04 06 00 10 0E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 C1 BB 5E 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 68 87 00 00 35 04 06 00 38 82 3B 1C 03 79 13 E3 04 DA CC CA 7B 08 [07:01:22]CheckFolder [07:01:22]dirname=/storage/ofd_packets [07:01:22]CheckFolder done [07:01:22]ProducePacketName [07:01:22]name=ofd_packets/00034664 [07:01:22]NVStorageSaveData ofd_packets/00034664 [07:01:22]File name is /storage/ofd_packets/00034664 [07:01:22]Write 327 bytes [07:01:22]NVStorageSaveData done [07:01:22]OFDSenderStorePacket done [07:01:22]KKMCreateOFDPacket done [07:01:22]NVStorageSaveData kkm_last_timestamp [07:01:22]File name is /storage/kkm_last_timestamp [07:01:22]Write 4 bytes [07:01:22]NVStorageSaveData done [07:01:22]ExternCall_PrintAddStr [07:01:22]wPrintStart [07:01:22]Write to MH i2c: 01 00 00 31 00 31 [07:01:22]OFD Sender: Processing packet 34664 [packets to send 17, broken 16] [07:01:22]ProducePacketName [07:01:22]name=ofd_packets/00034664 [07:01:22]OFD Sender: To server: pG, [07:01:22]CommunicateWithHost lk.salyk.kg:30040 [07:01:22]ConnectInit lk.salyk.kg [07:01:22]Write i2c OK [07:01:22]MH_I2C_Read... [07:01:22]Read from MH i2c: 01 [07:01:22]MH_I2C_Read... [07:01:22]Read from MH i2c: 01 07 00 [07:01:22]MH_I2C_Read... [07:01:22]Read from MH i2c: 01 07 00 31 00 00 00 00 00 00 FF 0F 46 [07:01:22]RasterBufferAndPrint [07:01:22]line Счет N : (3)100026 [07:01:22]line ИНН: 02508201610067 [07:01:22]line Контрольно-Кассовый Чек [07:01:22]line ПРОДАЖА [07:01:22]line Товар: 8590042701239 [07:01:22]line Салфетки влажные VOK [07:01:22]line 1.000 * 36.00 [07:01:22]line = 36.00 [07:01:22]line НДС 12% НСП 1% [07:01:22]line > о реализуемом товаре [07:01:22]line ИТОГО: 36.00 [07:01:22]line НСП 1% : 0.32 [07:01:22]line НДС 12% : 3.82 [07:01:22]line Наличными: 36.00 [07:01:22]line Безнал.: 0.00 [07:01:22]line Место: АЗС № 62 "Партнер Нефть" [07:01:22]line Адрес: 720001, г. Балыкчы, ул. Абдрахманова 325 Б, 42.462761, 76.214931 [07:01:22]line СНО: Общий режим [07:01:22]line Чек 8 04.06.2024 07:01 [07:01:22]line Смена: 368 ФФД: 1.0 [07:01:22]line ЗНМ: 0300000080 [07:01:22]line РНМ: 0000000000096838 [07:01:22]line Версия ККМ: 001 [07:01:22]line ФМ: 0000000000874859 [07:01:22]line ФД: 34664 [07:01:22]line ФПД: 62131988595577 [07:01:22]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T070121&type=1&operation_type=1&fn_number=0000000000874859&fd_number=34664&fm=62131988595577&tin=02508201610067®Number=0000000000096838&sum=3600 [07:01:22]line 0 [07:01:22]written 0, free lines is 4095 [07:01:22]Connected sock=10 [07:01:22]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 29 01 00 00 2B 70 21 01 72 0D 5A 03 01 00 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 38 35 39 30 30 34 32 37 30 31 32 33 39 06 04 23 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 D1 8B D0 B5 20 56 4F 4B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 0E 00 00 00 00 13 04 06 00 10 0E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 0E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 20 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7E 01 00 00 00 00 07 04 06 00 10 0E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 C1 BB 5E 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 68 87 00 00 35 04 06 00 38 82 3B 1C 03 79 13 E3 04 DA CC CA 7B 08 [07:01:23]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 4F 00 00 00 B2 DD 47 00 5C C3 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 68 87 00 00 F4 03 04 00 02 66 5E 66 B6 04 01 00 00 4E 13 05 D7 1C 63 D5 9F [07:01:23]CommunicateWithHost err = 0 [07:01:23]CheckOFDResponse [07:01:23]1017 (14) - 77093643461234 [07:01:23]1041 (16) - 0000000000874859 [07:01:23]1040 (4) - 34664 [07:01:23]1012 (4) - 04.06.2024 00:55 [07:01:23]1206 (1) - 0 [07:01:23]OFD Sender: Remove packet 34664 [07:01:23]ProducePacketName [07:01:23]name=ofd_packets/00034664 [07:01:23]NVStorageDeleteData [07:01:23]Write to MH i2c: 01 00 00 59 00 59 [07:01:23]Write i2c OK [07:01:23]MH_I2C_Read... [07:01:23]Read from MH i2c: 01 [07:01:23]MH_I2C_Read... [07:01:23]Read from MH i2c: 01 07 00 [07:01:23]MH_I2C_Read... [07:01:23]Read from MH i2c: 01 07 00 59 00 00 00 00 00 00 23 0D 90 [07:01:23]RasterBufferAndPrint [07:01:23]line [07:01:23]line [07:01:23]line [07:01:23]line [07:01:23]line [07:01:23]written 0, free lines is 3369 [07:01:23]MH_Cut [07:01:23]Write to MH i2c: D1 01 00 60 00 01 32 [07:01:23]Write i2c OK [07:01:23]MH_I2C_Read... [07:01:23]Read from MH i2c: D1 [07:01:23]MH_I2C_Read... [07:01:23]Read from MH i2c: D1 01 00 [07:01:23]MH_I2C_Read... [07:01:23]Read from MH i2c: D1 01 00 60 00 00 31 [07:01:23]Write to MH i2c: 01 00 00 61 00 61 [07:01:23]Write i2c OK [07:01:23]MH_I2C_Read... [07:01:23]OFD Sender: No OFD packet to send [07:01:23]*** Cut start [07:01:23]*** Partial cut [07:01:23]*** CUTSNS_PIN = 1 [07:01:23]*** CUTSNS_PIN = 0 [07:01:24]*** Brake cut motor [07:01:24]Read from MH i2c: 01 [07:01:24]MH_I2C_Read... [07:01:24]*** Stop cut motor [07:01:24]*** Cut end [07:01:24]Read from MH i2c: 01 07 00 [07:01:24]MH_I2C_Read... [07:01:24]Read from MH i2c: 01 07 00 61 00 00 00 00 00 00 FF 0F 76 [07:01:24]process_action close_receipt done [07:01:24]requested_data is exist [07:01:24]produce_requested_data [07:01:24]requested_item fm.sn is exist - process it [07:01:24]wFMCommunicate request_size=4 [07:01:24]MH_SAM_APDU [07:01:24]CAPDU: 80 11 00 00 [07:01:24]Write to MH i2c: E2 08 00 62 00 80 11 00 00 00 00 00 00 DC [07:01:24]Write i2c OK [07:01:24]MH_I2C_Read... [07:01:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:01:24]Read from MH i2c: E2 [07:01:24]MH_I2C_Read... [07:01:24]Read from MH i2c: E2 17 00 [07:01:24]MH_I2C_Read... [07:01:24]Read from MH i2c: E2 17 00 62 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 38 [07:01:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 [07:01:24]wFMCommunicate OK [07:01:24]requested_item fd.num is exist - process it [07:01:24]SAM_PROTO_GetFieldsCounters [07:01:24]wFMCommunicate request_size=4 [07:01:24]MH_SAM_APDU [07:01:24]CAPDU: 80 13 00 00 [07:01:24]Write to MH i2c: E2 08 00 63 00 80 13 00 00 00 00 00 00 DF [07:01:24]Write i2c OK [07:01:24]MH_I2C_Read... [07:01:24]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:01:24]Read from MH i2c: E2 [07:01:24]MH_I2C_Read... [07:01:24]Read from MH i2c: E2 62 00 [07:01:24]MH_I2C_Read... [07:01:24]Read from MH i2c: E2 62 00 63 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 10 04 04 00 68 87 00 00 0E 04 04 00 70 01 00 00 12 04 04 00 08 00 00 00 5E 04 04 00 08 00 00 00 57 04 04 00 09 00 00 00 19 04 04 00 00 00 00 00 90 00 8A [07:01:24]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 10 04 04 00 68 87 00 00 0E 04 04 00 70 01 00 00 12 04 04 00 08 00 00 00 5E 04 04 00 08 00 00 00 57 04 04 00 09 00 00 00 19 04 04 00 00 00 00 00 90 00 [07:01:24]wFMCommunicate OK [07:01:24]SAM_PROTO_GetFieldsCounters done [07:01:24]requested_item shift.num is exist - process it [07:01:24]requested_item shift.opened is exist - process it [07:01:24]req_shift_opened [07:01:24]FM_GetShiftState [07:01:24]SAM_PROTO_GetShiftState [07:01:24]wFMCommunicate request_size=4 [07:01:24]MH_SAM_APDU [07:01:24]CAPDU: 80 13 01 00 [07:01:24]Write to MH i2c: E2 08 00 64 00 80 13 01 00 00 00 00 00 E1 [07:01:24]Write i2c OK [07:01:24]MH_I2C_Read... [07:01:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:01:24]Read from MH i2c: E2 [07:01:24]MH_I2C_Read... [07:01:24]Read from MH i2c: E2 0E 00 [07:01:24]MH_I2C_Read... [07:01:24]Read from MH i2c: E2 0E 00 64 00 00 09 00 01 35 5B 5E 66 00 00 00 00 90 00 41 [07:01:24]RAPDU: 09 00 01 35 5B 5E 66 00 00 00 00 90 00 [07:01:24]wFMCommunicate OK [07:01:24]SAM_PROTO_GetShiftState done [07:01:24]FM_GetShiftState done [07:01:24]req_shift_opened done [07:01:24]requested_item shift.open_date is exist - process it [07:01:24]req_shift_open_date [07:01:24]req_shift_open_date done [07:01:24]produce_requested_data done [07:01:24]produce_requested_data return {"fm.sn":"0000000000874859","fd.num":34664,"shift.num":368,"shift.opened":1,"shift.open_date":1717459765} [07:01:24]process_action_free close_receipt [07:01:24]json_value_free [07:01:24]json_value_free done [07:01:24]process_json_proto returns [07:01:24]Send response to host [07:01:24]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874859","fd.num":34664,"shift.num":368,"shift.opened":1,"shift.open_date":1717459765}}} [07:01:24]free response buf [07:01:24]execute_script done [07:01:24]execute_script returns [07:01:24]free content buf [07:01:24]Sock 9.Close socket [07:01:24]Sock 9.Thread stoped [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:09]OFD Sender: No OFD packet to send [07:09:14]OFD Sender: No OFD packet to send [07:09:19]OFD Sender: No OFD packet to send [07:09:24]OFD Sender: No OFD packet to send [07:09:29]OFD Sender: No OFD packet to send [07:09:34]OFD Sender: No OFD packet to send [07:09:39]OFD Sender: No OFD packet to send [07:09:44]OFD Sender: No OFD packet to send [07:09:49]OFD Sender: No OFD packet to send [07:09:54]OFD Sender: No OFD packet to send [07:09:59]OFD Sender: No OFD packet to send [07:10:04]OFD Sender: No OFD packet to send [07:10:09]OFD Sender: No OFD packet to send [07:10:14]OFD Sender: No OFD packet to send [07:10:19]OFD Sender: No OFD packet to send [07:10:24]OFD Sender: No OFD packet to send [07:10:29]OFD Sender: No OFD packet to send [07:10:34]OFD Sender: No OFD packet to send [07:10:39]OFD Sender: No OFD packet to send [07:10:44]OFD Sender: No OFD packet to send [07:10:49]OFD Sender: No OFD packet to send [07:10:54]OFD Sender: No OFD packet to send [07:10:59]OFD Sender: No OFD packet to send [07:11:04]OFD Sender: No OFD packet to send [07:11:09]OFD Sender: No OFD packet to send [07:11:14]OFD Sender: No OFD packet to send [07:11:19]OFD Sender: No OFD packet to send [07:11:24]OFD Sender: No OFD packet to send [07:11:29]OFD Sender: No OFD packet to send [07:11:34]OFD Sender: No OFD packet to send [07:11:39]OFD Sender: No OFD packet to send [07:11:44]OFD Sender: No OFD packet to send [07:11:49]OFD Sender: No OFD packet to send [07:11:54]OFD Sender: No OFD packet to send [07:11:59]OFD Sender: No OFD packet to send [07:12:04]OFD Sender: No OFD packet to send [07:12:09]OFD Sender: No OFD packet to send [07:12:14]OFD Sender: No OFD packet to send [07:12:19]OFD Sender: No OFD packet to send [07:12:24]OFD Sender: No OFD packet to send [07:12:29]OFD Sender: No OFD packet to send [07:12:34]OFD Sender: No OFD packet to send [07:12:39]OFD Sender: No OFD packet to send [07:12:44]OFD Sender: No OFD packet to send [07:12:49]OFD Sender: No OFD packet to send [07:12:54]OFD Sender: No OFD packet to send [07:12:59]OFD Sender: No OFD packet to send [07:13:04]OFD Sender: No OFD packet to send [07:13:09]OFD Sender: No OFD packet to send [07:13:14]OFD Sender: No OFD packet to send [07:13:19]OFD Sender: No OFD packet to send [07:13:24]OFD Sender: No OFD packet to send [07:13:29]OFD Sender: No OFD packet to send [07:13: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:44]OFD Sender: No OFD packet to send [07:28:49]OFD Sender: No OFD packet to send [07:28:54]OFD Sender: No OFD packet to send [07:28:59]OFD Sender: No OFD packet to send [07:29:04]OFD Sender: No OFD packet to send [07:29:09]OFD Sender: No OFD packet to send [07:29:14]OFD Sender: No OFD packet to send [07:29:19]OFD Sender: No OFD packet to send [07:29:24]OFD Sender: No OFD packet to send [07:29:29]OFD Sender: No OFD packet to send [07:29: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:50]OFD Sender: No OFD packet to send [07:42:55]OFD Sender: No OFD packet to send [07:43:00]OFD Sender: No OFD packet to send [07:43:05]OFD Sender: No OFD packet to send [07:43:10]OFD Sender: No OFD packet to send [07:43:15]OFD Sender: No OFD packet to send [07:43:20]OFD Sender: No OFD packet to send [07:43:25]OFD Sender: No OFD packet to send [07:43:30]OFD Sender: No OFD packet to send [07:43:35]OFD Sender: No OFD packet to send [07:43:40]OFD Sender: No OFD packet to send [07:43:45]OFD Sender: No OFD packet to send [07:43:50]OFD Sender: No OFD packet to send [07:43:55]OFD Sender: No OFD packet to send [07:44:00]OFD Sender: No OFD packet to send [07:44:05]OFD Sender: No OFD packet to send [07:44:10]OFD Sender: No OFD packet to send [07:44:15]OFD Sender: No OFD packet to send [07:44:20]OFD Sender: No OFD packet to send [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:56]OFD Sender: No OFD packet to send [07:50:01]OFD Sender: No OFD packet to send [07:50:06]OFD Sender: No OFD packet to send [07:50:11]OFD Sender: No OFD packet to send [07:50:16]OFD Sender: No OFD packet to send [07:50:21]OFD Sender: No OFD packet to send [07:50:26]OFD Sender: No OFD packet to send [07:50:31]OFD Sender: No OFD packet to send [07:50:36]OFD Sender: No OFD packet to send [07:50:41]OFD Sender: No OFD packet to send [07:50:46]OFD Sender: No OFD packet to send [07:50:51]OFD Sender: No OFD packet to send [07:50:56]OFD Sender: No OFD packet to send [07:51:01]OFD Sender: No OFD packet to send [07:51:06]OFD Sender: No OFD packet to send [07:51:11]OFD Sender: No OFD packet to send [07:51:16]OFD Sender: No OFD packet to send [07:51:21]OFD Sender: No OFD packet to send [07:51:25]accept exits with 7 [07:51:25]New connection [07:51:25]New thread 3067026788 created [07:51:25]Thread 3067170148 joined [07:51:25]Waiting for new connection... [07:51:25] Sock 7.Parse request [07:51:25]Sock 7.Check first char [07:51:25]Sock 7.First char is OK [07:51:25]request: POST /json_proto HTTP/1.0 [07:51:25]Method: POST [07:51:25]URL: /json_proto [07:51:25]Method is POST - this is cgi request [07:51:25]url: /json_proto [07:51:25]query_string will be loaded in cgi processing [07:51:25]execute_cgi json_proto POST (null) [07:51:25]execute_cgi path=json_proto method=POST [07:51:25]POST find Content-Length [07:51:25]Host: 172.17.36.131:8080 [07:51:25]Content-Length: 630 [07:51:25]Content-Type: application/json [07:51:25] [07:51:25]POST finish read [07:51:25]Found Content-Length = 630 [07:51:25]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100027", "tax_sys" : 0, "items" : [ { "code": "4700000180165", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B West Silver hard box CUTPR", "price" : 96.00, "quantity" : 1.000, "sum" : 96.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 96.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:51:25]execute_script... [07:51:25]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100027", "tax_sys" : 0, "items" : [ { "code": "4700000180165", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B West Silver hard box CUTPR", "price" : 96.00, "quantity" : 1.000, "sum" : 96.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 96.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:51:25]POST & json_proto [07:51:25]process_json_proto [07:51:25]json parsed OK: [07:51:25]protocol is kg_v1.0 [07:51:25]action value=close_receipt [07:51:25]process_action close_receipt [07:51:25]cmd_close_receipt [07:51:25]MH_GetDate [07:51:25]Write to MH i2c: F0 00 00 65 00 54 [07:51:25]Write i2c OK [07:51:25]MH_I2C_Read... [07:51:25]Read from MH i2c: F0 [07:51:25]MH_I2C_Read... [07:51:25]Read from MH i2c: F0 09 00 [07:51:25]MH_I2C_Read... [07:51:25]Read from MH i2c: F0 09 00 65 00 00 7E C7 5E 66 A7 4C 98 65 56 [07:51:25]GetLastDocTimeStamp 1717484481 [07:51:25]current date 1717487486 [07:51:25]FM_GetShiftState [07:51:25]SAM_PROTO_GetShiftState [07:51:25]wFMCommunicate request_size=4 [07:51:25]MH_SAM_APDU [07:51:25]CAPDU: 80 13 01 00 [07:51:25]Write to MH i2c: E2 08 00 66 00 80 13 01 00 00 00 00 00 E3 [07:51:25]Write i2c OK [07:51:25]MH_I2C_Read... [07:51:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:51:25]Read from MH i2c: E2 [07:51:25]MH_I2C_Read... [07:51:25]Read from MH i2c: E2 0E 00 [07:51:25]MH_I2C_Read... [07:51:25]Read from MH i2c: E2 0E 00 66 00 00 09 00 01 35 5B 5E 66 00 00 00 00 90 00 43 [07:51:25]RAPDU: 09 00 01 35 5B 5E 66 00 00 00 00 90 00 [07:51:25]wFMCommunicate OK [07:51:25]SAM_PROTO_GetShiftState done [07:51:25]FM_GetShiftState done [07:51:25]opened in 1717459765 [07:51:25]opened+sec_in_day 1717546165 [07:51:25]quantity*price = 9600 [07:51:25]sum+1 = 9601 [07:51:25]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 96.00 НСП 1% : 0.85 НДС 12% : 10.19 Наличными: 96.00 Безнал.: 0.00 Место: АЗС № 62 "Партнер Нефть" Адрес: 720001, г. Балыкчы, ул. Абдрахманова 325 Б, 42.462761, 76.214931 СНО: Общий режим Чек 9 04.06.2024 07:51 Смена: 368 ФФД: 1.0 ЗНМ: 0300000080 РНМ: 0000000000096838 Версия ККМ: 001 ФМ: 0000000000874859 ФД: 34665 ФПД: 20410767767592 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T075126&type=1&operation_type=1&fn_number=0000000000874859&fd_number=34665&fm=20410767767592&tin=02508201610067®Number=0000000000096838&sum=9600 0 [07:51:27]StoreToDocumentArchive [07:51:27]shift 368 fd 34665 [07:51:27]save to /storage/0368/doc_00034665 [07:51:27]save last doc name /storage/0368/doc_00034665 to /storage/kkm_last_doc_name [07:51:27]save OK [07:51:27]Clear old archive folders... [07:51:27]ProcessDocumentItem done err = 0, tmpTLVsize=285 [07:51:27]tlvbuf is 01B4D000 [07:51:27]SAM_PROTO_ClearQueue [07:51:27]wFMCommunicate request_size=4 [07:51:27]MH_SAM_APDU [07:51:27]CAPDU: 80 09 00 00 [07:51:27]Write to MH i2c: E2 08 00 73 00 80 09 00 00 00 00 00 00 E5 [07:51:27]Write i2c OK [07:51:27]MH_I2C_Read... [07:51:27]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:51:27]Read from MH i2c: E2 [07:51:27]MH_I2C_Read... [07:51:27]Read from MH i2c: E2 03 00 [07:51:27]MH_I2C_Read... [07:51:27]Read from MH i2c: E2 03 00 73 00 00 90 00 E7 [07:51:27]RAPDU: 90 00 [07:51:27]wFMCommunicate OK [07:51:27]SAM_PROTO_ClearQueue done [07:51:27]KKMCreateOFDPacket [07:51:27]OFDProtocolAddRootSTLVToBuf [07:51:27]FM_MakeSignedData [07:51:27]FM_MakeSignedData [07:51:27]SAM_PROTO_SignData [07:51:27]wFMCommunicate request_size=4 [07:51:27]MH_SAM_APDU [07:51:27]CAPDU: 80 0D 01 02 [07:51:27]Write to MH i2c: E2 08 00 74 00 80 0D 01 02 00 00 00 00 ED [07:51:27]Write i2c OK [07:51:27]MH_I2C_Read... [07:51:27]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:51:27]Read from MH i2c: E2 [07:51:27]MH_I2C_Read... [07:51:27]Read from MH i2c: E2 03 00 [07:51:27]MH_I2C_Read... [07:51:27]Read from MH i2c: E2 03 00 74 00 00 90 00 E8 [07:51:27]RAPDU: 90 00 [07:51:27]wFMCommunicate OK [07:51:27]wFMCommunicate request_size=255 [07:51:27]MH_SAM_APDU [07:51:27]CAPDU: 80 0D 02 02 FA 03 00 1D 01 1E 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 38 30 31 36 35 06 04 2B 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 65 73 74 20 53 69 6C 76 65 72 20 68 61 72 64 20 62 6F 78 20 43 55 54 50 52 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 80 25 00 00 00 00 13 04 06 00 80 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 55 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FB 03 00 00 00 00 07 04 06 00 80 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 09 00 00 00 F4 03 04 00 7E C7 5E 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 [07:51:27]Write to MH i2c: E2 02 01 75 00 80 0D 02 02 FA 00 03 00 1D 01 1E 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 38 30 31 36 35 06 04 2B 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 65 73 74 20 53 69 6C 76 65 72 20 68 61 72 64 20 62 6F 78 20 43 55 54 50 52 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 80 25 00 00 00 00 13 04 06 00 80 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 55 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FB 03 00 00 00 00 07 04 06 00 80 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 09 00 00 00 F4 03 04 00 7E C7 5E 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 00 00 B9 [07:51:27]Write i2c OK [07:51:27]MH_I2C_Read... [07:51:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:51:27]Read from MH i2c: E2 [07:51:27]MH_I2C_Read... [07:51:27]Read from MH i2c: E2 03 00 [07:51:27]MH_I2C_Read... [07:51:27]Read from MH i2c: E2 03 00 75 00 00 90 00 E9 [07:51:27]RAPDU: 90 00 [07:51:27]wFMCommunicate OK [07:51:27]wFMCommunicate request_size=44 [07:51:27]MH_SAM_APDU [07:51:27]CAPDU: 80 0D 02 02 27 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 69 87 00 00 35 04 06 00 12 90 40 8F F8 28 [07:51:27]Write to MH i2c: E2 2F 00 76 00 80 0D 02 02 27 00 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 69 87 00 00 35 04 06 00 12 90 40 8F F8 28 00 00 9C [07:51:27]Write i2c OK [07:51:27]MH_I2C_Read... [07:51:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:51:27]Read from MH i2c: E2 [07:51:27]MH_I2C_Read... [07:51:27]Read from MH i2c: E2 03 00 [07:51:27]MH_I2C_Read... [07:51:27]Read from MH i2c: E2 03 00 76 00 00 90 00 EA [07:51:27]RAPDU: 90 00 [07:51:27]wFMCommunicate OK [07:51:27]wFMCommunicate request_size=4 [07:51:27]MH_SAM_APDU [07:51:27]CAPDU: 80 0D 03 02 [07:51:27]Write to MH i2c: E2 08 00 77 00 80 0D 03 02 00 00 00 00 F2 [07:51:27]Write i2c OK [07:51:27]MH_I2C_Read... [07:51:27]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:51:27]Read from MH i2c: E2 [07:51:27]MH_I2C_Read... [07:51:27]Read from MH i2c: E2 0B 00 [07:51:27]MH_I2C_Read... [07:51:27]Read from MH i2c: E2 0B 00 77 00 00 ED D5 92 DE BB BB 55 09 90 00 F9 [07:51:27]RAPDU: ED D5 92 DE BB BB 55 09 90 00 [07:51:27]wFMCommunicate OK [07:51:27]SAM_PROTO_SignData done [07:51:27]FM_MakeSignedData done [07:51:27]CreateOFDProtocolMessage [07:51:27]wFMCommunicate request_size=4 [07:51:27]MH_SAM_APDU [07:51:27]CAPDU: 80 11 00 00 [07:51:27]Write to MH i2c: E2 08 00 78 00 80 11 00 00 00 00 00 00 F2 [07:51:27]Write i2c OK [07:51:27]MH_I2C_Read... [07:51:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:51:27]Read from MH i2c: E2 [07:51:27]MH_I2C_Read... [07:51:27]Read from MH i2c: E2 17 00 [07:51:27]MH_I2C_Read... [07:51:27]Read from MH i2c: E2 17 00 78 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 4E [07:51:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 [07:51:27]wFMCommunicate OK [07:51:27]CreateOFDProtocolMessage done [07:51:27]OFDSenderStorePacket 34665 [07:51:27]StoreOFDPacket docnum=34665 [07:51:27]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 31 01 00 00 61 AC 29 01 CA D1 5A 03 01 00 03 00 1D 01 1E 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 38 30 31 36 35 06 04 2B 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 65 73 74 20 53 69 6C 76 65 72 20 68 61 72 64 20 62 6F 78 20 43 55 54 50 52 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 80 25 00 00 00 00 13 04 06 00 80 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 55 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FB 03 00 00 00 00 07 04 06 00 80 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 09 00 00 00 F4 03 04 00 7E C7 5E 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 69 87 00 00 35 04 06 00 12 90 40 8F F8 28 ED D5 92 DE BB BB 55 09 [07:51:27]CheckFolder [07:51:27]dirname=/storage/ofd_packets [07:51:27]CheckFolder done [07:51:27]ProducePacketName [07:51:27]name=ofd_packets/00034665 [07:51:27]NVStorageSaveData ofd_packets/00034665 [07:51:27]File name is /storage/ofd_packets/00034665 [07:51:27]Write 335 bytes [07:51:27]NVStorageSaveData done [07:51:27]OFDSenderStorePacket done [07:51:27]KKMCreateOFDPacket done [07:51:27]NVStorageSaveData kkm_last_timestamp [07:51:27]File name is /storage/kkm_last_timestamp [07:51:27]Write 4 bytes [07:51:27]NVStorageSaveData done [07:51:27]ExternCall_PrintAddStr [07:51:27]wPrintStart [07:51:27]Write to MH i2c: 01 00 00 79 00 79 [07:51:27]Write i2c OK [07:51:27]MH_I2C_Read... [07:51:27]Read from MH i2c: 01 [07:51:27]MH_I2C_Read... [07:51:27]Read from MH i2c: 01 07 00 [07:51:27]MH_I2C_Read... [07:51:27]Read from MH i2c: 01 07 00 79 00 00 00 00 00 00 FF 0F 8E [07:51:27]RasterBufferAndPrint [07:51:27]line Счет N : (3)100027 [07:51:27]line ИНН: 02508201610067 [07:51:27]line Контрольно-Кассовый Чек [07:51:27]line ПРОДАЖА [07:51:27]line Товар: 4700000180165 [07:51:27]line Сигареты West Silver hard box CUTPR [07:51:27]line 1.000 * 96.00 [07:51:27]line = 96.00 [07:51:27]line НДС 12% НСП 1% [07:51:27]line > о реализуемом товаре [07:51:27]line ИТОГО: 96.00 [07:51:27]line НСП 1% : 0.85 [07:51:27]line НДС 12% : 10.19 [07:51:27]line Наличными: 96.00 [07:51:27]line Безнал.: 0.00 [07:51:27]line Место: АЗС № 62 "Партнер Нефть" [07:51:27]line Адрес: 720001, г. Балыкчы, ул. Абдрахманова 325 Б, 42.462761, 76.214931 [07:51:27]line СНО: Общий режим [07:51:27]line Чек 9 04.06.2024 07:51 [07:51:27]line Смена: 368 ФФД: 1.0 [07:51:27]line ЗНМ: 0300000080 [07:51:27]line РНМ: 0000000000096838 [07:51:27]line Версия ККМ: 001 [07:51:27]line ФМ: 0000000000874859 [07:51:27]line ФД: 34665 [07:51:27]line ФПД: 20410767767592 [07:51:27]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T075126&type=1&operation_type=1&fn_number=0000000000874859&fd_number=34665&fm=20410767767592&tin=02508201610067®Number=0000000000096838&sum=9600 [07:51:27]line 0 [07:51:27]OFD Sender: Processing packet 34665 [packets to send 17, broken 16] [07:51:27]ProducePacketName [07:51:27]name=ofd_packets/00034665 [07:51:27]OFD Sender: To server: pG, [07:51:27]CommunicateWithHost lk.salyk.kg:30040 [07:51:27]ConnectInit lk.salyk.kg [07:51:27]written 0, free lines is 4095 [07:51:28]Connected sock=10 [07:51:28]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 31 01 00 00 61 AC 29 01 CA D1 5A 03 01 00 03 00 1D 01 1E 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 38 30 31 36 35 06 04 2B 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 65 73 74 20 53 69 6C 76 65 72 20 68 61 72 64 20 62 6F 78 20 43 55 54 50 52 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 80 25 00 00 00 00 13 04 06 00 80 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 55 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FB 03 00 00 00 00 07 04 06 00 80 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 09 00 00 00 F4 03 04 00 7E C7 5E 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 69 87 00 00 35 04 06 00 12 90 40 8F F8 28 ED D5 92 DE BB BB 55 09 [07:51:28]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 4F 00 00 00 3F A3 47 00 C7 F2 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 69 87 00 00 F4 03 04 00 BF 71 5E 66 B6 04 01 00 00 48 9D F6 95 6B 1E E1 CC [07:51:28]CommunicateWithHost err = 0 [07:51:28]CheckOFDResponse [07:51:28]1017 (14) - 77093643461234 [07:51:28]1041 (16) - 0000000000874859 [07:51:28]1040 (4) - 34665 [07:51:28]1012 (4) - 04.06.2024 01:45 [07:51:28]1206 (1) - 0 [07:51:28]OFD Sender: Remove packet 34665 [07:51:28]ProducePacketName [07:51:28]name=ofd_packets/00034665 [07:51:28]NVStorageDeleteData [07:51:28]Write to MH i2c: 01 00 00 A2 00 A2 [07:51:28]Write i2c OK [07:51:28]MH_I2C_Read... [07:51:28]Read from MH i2c: 01 [07:51:28]MH_I2C_Read... [07:51:28]Read from MH i2c: 01 07 00 [07:51:28]MH_I2C_Read... [07:51:28]Read from MH i2c: 01 07 00 A2 00 00 00 00 00 00 02 0D B8 [07:51:28]RasterBufferAndPrint [07:51:28]line [07:51:28]line [07:51:28]line [07:51:28]line [07:51:28]line [07:51:28]written 0, free lines is 3336 [07:51:28]MH_Cut [07:51:28]Write to MH i2c: D1 01 00 A9 00 01 7B [07:51:28]Write i2c OK [07:51:28]MH_I2C_Read... [07:51:28]Read from MH i2c: D1 [07:51:28]MH_I2C_Read... [07:51:28]Read from MH i2c: D1 01 00 [07:51:28]MH_I2C_Read... [07:51:28]Read from MH i2c: D1 01 00 A9 00 00 7A [07:51:28]Write to MH i2c: 01 00 00 AA 00 AA [07:51:28]Write i2c OK [07:51:28]MH_I2C_Read... [07:51:28]OFD Sender: No OFD packet to send [07:51:29]*** Cut start [07:51:29]*** Partial cut [07:51:29]*** CUTSNS_PIN = 1 [07:51:29]*** CUTSNS_PIN = 0 [07:51:29]*** Brake cut motor [07:51:29]Read from MH i2c: 01 [07:51:29]MH_I2C_Read... [07:51:29]*** Stop cut motor [07:51:29]*** Cut end [07:51:29]Read from MH i2c: 01 07 00 [07:51:29]MH_I2C_Read... [07:51:29]Read from MH i2c: 01 07 00 AA 00 00 00 00 00 00 FF 0F BF [07:51:29]process_action close_receipt done [07:51:29]requested_data is exist [07:51:29]produce_requested_data [07:51:29]requested_item fm.sn is exist - process it [07:51:29]wFMCommunicate request_size=4 [07:51:29]MH_SAM_APDU [07:51:29]CAPDU: 80 11 00 00 [07:51:29]Write to MH i2c: E2 08 00 AB 00 80 11 00 00 00 00 00 00 25 [07:51:29]Write i2c OK [07:51:29]MH_I2C_Read... [07:51:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:51:29]Read from MH i2c: E2 [07:51:29]MH_I2C_Read... [07:51:29]Read from MH i2c: E2 17 00 [07:51:29]MH_I2C_Read... [07:51:29]Read from MH i2c: E2 17 00 AB 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 81 [07:51:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 [07:51:29]wFMCommunicate OK [07:51:29]requested_item fd.num is exist - process it [07:51:29]SAM_PROTO_GetFieldsCounters [07:51:29]wFMCommunicate request_size=4 [07:51:29]MH_SAM_APDU [07:51:29]CAPDU: 80 13 00 00 [07:51:29]Write to MH i2c: E2 08 00 AC 00 80 13 00 00 00 00 00 00 28 [07:51:29]Write i2c OK [07:51:29]MH_I2C_Read... [07:51:29]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:51:29]Read from MH i2c: E2 [07:51:29]MH_I2C_Read... [07:51:29]Read from MH i2c: E2 62 00 [07:51:29]MH_I2C_Read... [07:51:29]Read from MH i2c: E2 62 00 AC 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 10 04 04 00 69 87 00 00 0E 04 04 00 70 01 00 00 12 04 04 00 09 00 00 00 5E 04 04 00 09 00 00 00 57 04 04 00 0A 00 00 00 19 04 04 00 00 00 00 00 90 00 D7 [07:51:29]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 10 04 04 00 69 87 00 00 0E 04 04 00 70 01 00 00 12 04 04 00 09 00 00 00 5E 04 04 00 09 00 00 00 57 04 04 00 0A 00 00 00 19 04 04 00 00 00 00 00 90 00 [07:51:29]wFMCommunicate OK [07:51:29]SAM_PROTO_GetFieldsCounters done [07:51:29]requested_item shift.num is exist - process it [07:51:29]requested_item shift.opened is exist - process it [07:51:29]req_shift_opened [07:51:29]FM_GetShiftState [07:51:29]SAM_PROTO_GetShiftState [07:51:29]wFMCommunicate request_size=4 [07:51:29]MH_SAM_APDU [07:51:29]CAPDU: 80 13 01 00 [07:51:29]Write to MH i2c: E2 08 00 AD 00 80 13 01 00 00 00 00 00 2A [07:51:29]Write i2c OK [07:51:29]MH_I2C_Read... [07:51:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:51:29]Read from MH i2c: E2 [07:51:29]MH_I2C_Read... [07:51:29]Read from MH i2c: E2 0E 00 [07:51:29]MH_I2C_Read... [07:51:29]Read from MH i2c: E2 0E 00 AD 00 00 09 00 01 35 5B 5E 66 00 00 00 00 90 00 8A [07:51:29]RAPDU: 09 00 01 35 5B 5E 66 00 00 00 00 90 00 [07:51:29]wFMCommunicate OK [07:51:29]SAM_PROTO_GetShiftState done [07:51:29]FM_GetShiftState done [07:51:29]req_shift_opened done [07:51:29]requested_item shift.open_date is exist - process it [07:51:29]req_shift_open_date [07:51:29]req_shift_open_date done [07:51:29]produce_requested_data done [07:51:29]produce_requested_data return {"fm.sn":"0000000000874859","fd.num":34665,"shift.num":368,"shift.opened":1,"shift.open_date":1717459765} [07:51:29]process_action_free close_receipt [07:51:29]json_value_free [07:51:29]json_value_free done [07:51:29]process_json_proto returns [07:51:29]Send response to host [07:51:29]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874859","fd.num":34665,"shift.num":368,"shift.opened":1,"shift.open_date":1717459765}}} [07:51:29]free response buf [07:51:29]execute_script done [07:51:29]execute_script returns [07:51:29]free content buf [07:51:29]Sock 7.Close socket [07:51:29]Sock 7.Thread stoped [07:51:33]OFD Sender: No OFD packet to send [07:51:38]OFD Sender: No OFD packet to send [07:51:43]OFD Sender: No OFD packet to send [07:51:48]OFD Sender: No OFD packet to send [07:51:53]OFD Sender: No OFD packet to send [07:51:58]OFD Sender: No OFD packet to send [07:52:03]OFD Sender: No OFD packet to send [07:52:08]OFD Sender: No OFD packet to send [07:52:13]OFD Sender: No OFD packet to send [07:52:18]OFD Sender: No OFD packet to send [07:52:23]OFD Sender: No OFD packet to send [07:52:28]OFD Sender: No OFD packet to send [07:52:33]OFD Sender: No OFD packet to send [07:52:38]OFD Sender: No OFD packet to send [07:52:43]OFD Sender: No OFD packet to send [07:52:48]OFD Sender: No OFD packet to send [07:52:53]OFD Sender: No OFD packet to send [07:52:58]OFD Sender: No OFD packet to send [07:53:03]OFD Sender: No OFD packet to send [07:53:08]OFD Sender: No OFD packet to send [07:53:13]OFD Sender: No OFD packet to send [07:53:18]OFD Sender: No OFD packet to send [07:53:23]OFD Sender: No OFD packet to send [07:53:28]OFD Sender: No OFD packet to send [07:53:33]OFD Sender: No OFD packet to send [07:53:38]OFD Sender: No OFD packet to send [07:53:43]OFD Sender: No OFD packet to send [07:53:48]OFD Sender: No OFD packet to send [07:53:53]OFD Sender: No OFD packet to send [07:53:58]OFD Sender: No OFD packet to send [07:54:03]OFD Sender: No OFD packet to send [07:54:08]OFD Sender: No OFD packet to send [07:54:13]OFD Sender: No OFD packet to send [07:54:18]OFD Sender: No OFD packet to send [07:54:23]OFD Sender: No OFD packet to send [07:54:28]OFD Sender: No OFD packet to send [07:54:33]OFD Sender: No OFD packet to send [07:54:38]OFD Sender: No OFD packet to send [07:54:43]OFD Sender: No OFD packet to send [07:54:48]OFD Sender: No OFD packet to send [07:54:53]OFD Sender: No OFD packet to send [07:54:58]OFD Sender: No OFD packet to send [07:55:03]OFD Sender: No OFD packet to send [07:55:08]OFD Sender: No OFD packet to send [07:55:13]OFD Sender: No OFD packet to send [07:55:18]OFD Sender: No OFD packet to send [07:55:23]OFD Sender: No OFD packet to send [07:55:28]OFD Sender: No OFD packet to send [07:55:33]OFD Sender: No OFD packet to send [07:55:38]OFD Sender: No OFD packet to send [07:55:43]OFD Sender: No OFD packet to send [07:55:48]OFD Sender: No OFD packet to send [07:55:53]OFD Sender: No OFD packet to send [07:55:58]OFD Sender: No OFD packet to send [07:56:03]OFD Sender: No OFD packet to send [07:56:08]OFD Sender: No OFD packet to send [07:56:13]OFD Sender: No OFD packet to send [07:56:18]OFD Sender: No OFD packet to send [07:56:23]OFD Sender: No OFD packet to send [07:56:28]OFD Sender: No OFD packet to send [07:56:33]OFD Sender: No OFD packet to send [07:56:38]OFD Sender: No OFD packet to send [07:56:43]OFD Sender: No OFD packet to send [07:56:48]OFD Sender: No OFD packet to send [07:56:53]OFD Sender: No OFD packet to send [07:56:58]OFD Sender: No OFD packet to send [07:57:03]OFD Sender: No OFD packet to send [07:57:08]OFD Sender: No OFD packet to send [07:57:14]OFD Sender: No OFD packet to send [07:57:19]OFD Sender: No OFD packet to send [07:57:24]OFD Sender: No OFD packet to send [07:57:29]OFD Sender: No OFD packet to send [07:57:34]OFD Sender: No OFD packet to send [07:57:39]OFD Sender: No OFD packet to send [07:57:44]OFD Sender: No OFD packet to send [07:57:49]OFD Sender: No OFD packet to send [07:57:54]OFD Sender: No OFD packet to send [07:57:59]OFD Sender: No OFD packet to send [07:58:04]OFD Sender: No OFD packet to send [07:58:09]OFD Sender: No OFD packet to send [07:58:14]OFD Sender: No OFD packet to send [07:58:19]OFD Sender: No OFD packet to send [07:58:24]OFD Sender: No OFD packet to send [07:58:29]OFD Sender: No OFD packet to send [07:58:34]OFD Sender: No OFD packet to send [07:58:39]OFD Sender: No OFD packet to send [07:58:44]OFD Sender: No OFD packet to send [07:58:49]OFD Sender: No OFD packet to send [07:58:54]OFD Sender: No OFD packet to send [07:58:59]OFD Sender: No OFD packet to send [07:59:04]OFD Sender: No OFD packet to send [07:59:09]OFD Sender: No OFD packet to send [07:59:14]OFD Sender: No OFD packet to send [07:59:19]OFD Sender: No OFD packet to send [07:59:24]OFD Sender: No OFD packet to send [07:59:29]OFD Sender: No OFD packet to send [07:59:34]OFD Sender: No OFD packet to send [07:59:39]OFD Sender: No OFD packet to send [07:59:44]OFD Sender: No OFD packet to send [07:59:49]OFD Sender: No OFD packet to send [07:59:54]OFD Sender: No OFD packet to send [07:59:59]OFD Sender: No OFD packet to send [08:00:04]OFD Sender: No OFD packet to send [08:00:09]OFD Sender: No OFD packet to send [08:00:14]OFD Sender: No OFD packet to send [08:00:19]OFD Sender: No OFD packet to send [08:00:24]OFD Sender: No OFD packet to send [08:00:29]OFD Sender: No OFD packet to send [08:00:34]OFD Sender: No OFD packet to send [08:00:39]OFD Sender: No OFD packet to send [08:00:44]OFD Sender: No OFD packet to send [08:00:49]OFD Sender: No OFD packet to send [08:00:54]OFD Sender: No OFD packet to send [08:00:59]OFD Sender: No OFD packet to send [08:01:04]OFD Sender: No OFD packet to send [08:01:09]OFD Sender: No OFD packet to send [08:01:14]OFD Sender: No OFD packet to send [08:01:19]OFD Sender: No OFD packet to send [08:01:24]OFD Sender: No OFD packet to send [08:01:29]OFD Sender: No OFD packet to send [08:01:34]OFD Sender: No OFD packet to send [08:01:39]OFD Sender: No OFD packet to send [08:01:44]OFD Sender: No OFD packet to send [08:01:49]OFD Sender: No OFD packet to send [08:01:52]accept exits with 9 [08:01:52]New connection [08:01:52]New thread 3067170148 created [08:01:52]Thread 3067026788 joined [08:01:52]Waiting for new connection... [08:01:52] Sock 9.Parse request [08:01:52]Sock 9.Check first char [08:01:52]Sock 9.First char is OK [08:01:52]request: POST /json_proto HTTP/1.0 [08:01:52]Method: POST [08:01:52]URL: /json_proto [08:01:52]Method is POST - this is cgi request [08:01:52]url: /json_proto [08:01:52]query_string will be loaded in cgi processing [08:01:52]execute_cgi json_proto POST (null) [08:01:52]execute_cgi path=json_proto method=POST [08:01:52]POST find Content-Length [08:01:52]Host: 172.17.36.131:8080 [08:01:52]Content-Length: 626 [08:01:52]Content-Type: application/json [08:01:52] [08:01:52]POST finish read [08:01:52]Found Content-Length = 626 [08:01:52]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100028", "tax_sys" : 0, "items" : [ { "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:01:52]execute_script... [08:01:52]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100028", "tax_sys" : 0, "items" : [ { "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:01:52]POST & json_proto [08:01:52]process_json_proto [08:01:52]json parsed OK: [08:01:52]protocol is kg_v1.0 [08:01:52]action value=close_receipt [08:01:52]process_action close_receipt [08:01:52]cmd_close_receipt [08:01:52]MH_GetDate [08:01:52]Write to MH i2c: F0 00 00 AE 00 9D [08:01:52]Write i2c OK [08:01:52]MH_I2C_Read... [08:01:52]Read from MH i2c: F0 [08:01:52]MH_I2C_Read... [08:01:52]Read from MH i2c: F0 09 00 [08:01:52]MH_I2C_Read... [08:01:52]Read from MH i2c: F0 09 00 AE 00 00 F1 C9 5E 66 A7 4C 98 65 14 [08:01:52]GetLastDocTimeStamp 1717487486 [08:01:52]current date 1717488113 [08:01:52]FM_GetShiftState [08:01:52]SAM_PROTO_GetShiftState [08:01:52]wFMCommunicate request_size=4 [08:01:52]MH_SAM_APDU [08:01:52]CAPDU: 80 13 01 00 [08:01:52]Write to MH i2c: E2 08 00 AF 00 80 13 01 00 00 00 00 00 2C [08:01:52]Write i2c OK [08:01:52]MH_I2C_Read... [08:01:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:01:52]Read from MH i2c: E2 [08:01:52]MH_I2C_Read... [08:01:52]Read from MH i2c: E2 0E 00 [08:01:52]MH_I2C_Read... [08:01:52]Read from MH i2c: E2 0E 00 AF 00 00 09 00 01 35 5B 5E 66 00 00 00 00 90 00 8C [08:01:52]RAPDU: 09 00 01 35 5B 5E 66 00 00 00 00 90 00 [08:01:52]wFMCommunicate OK [08:01:52]SAM_PROTO_GetShiftState done [08:01:52]FM_GetShiftState done [08:01:52]opened in 1717459765 [08:01:52]opened+sec_in_day 1717546165 [08:01:52]quantity*price = 11500 [08:01:52]sum+1 = 11501 [08:01:52]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 115.00 НСП 1% : 1.02 НДС 12% : 12.21 Наличными: 115.00 Безнал.: 0.00 Место: АЗС № 62 "Партнер Нефть" Адрес: 720001, г. Балыкчы, ул. Абдрахманова 325 Б, 42.462761, 76.214931 СНО: Общий режим Чек 10 04.06.2024 08:01 Смена: 368 ФФД: 1.0 ЗНМ: 0300000080 РНМ: 0000000000096838 Версия ККМ: 001 ФМ: 0000000000874859 ФД: 34666 ФПД: 131533523130563 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T080153&type=1&operation_type=1&fn_number=0000000000874859&fd_number=34666&fm=131533523130563&tin=02508201610067®Number=0000000000096838&sum=11500 0 [08:01:54]StoreToDocumentArchive [08:01:54]shift 368 fd 34666 [08:01:54]save to /storage/0368/doc_00034666 [08:01:54]save last doc name /storage/0368/doc_00034666 to /storage/kkm_last_doc_name [08:01:54]save OK [08:01:54]Clear old archive folders... [08:01:54]ProcessDocumentItem done err = 0, tmpTLVsize=274 [08:01:54]tlvbuf is 01B57000 [08:01:54]SAM_PROTO_ClearQueue [08:01:54]wFMCommunicate request_size=4 [08:01:54]MH_SAM_APDU [08:01:54]CAPDU: 80 09 00 00 [08:01:54]Write to MH i2c: E2 08 00 BC 00 80 09 00 00 00 00 00 00 2E [08:01:54]Write i2c OK [08:01:54]MH_I2C_Read... [08:01:54]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:01:54]Read from MH i2c: E2 [08:01:54]MH_I2C_Read... [08:01:54]Read from MH i2c: E2 03 00 [08:01:54]MH_I2C_Read... [08:01:54]Read from MH i2c: E2 03 00 BC 00 00 90 00 30 [08:01:54]RAPDU: 90 00 [08:01:54]wFMCommunicate OK [08:01:54]SAM_PROTO_ClearQueue done [08:01:54]KKMCreateOFDPacket [08:01:54]OFDProtocolAddRootSTLVToBuf [08:01:54]FM_MakeSignedData [08:01:54]FM_MakeSignedData [08:01:54]SAM_PROTO_SignData [08:01:54]wFMCommunicate request_size=4 [08:01:54]MH_SAM_APDU [08:01:54]CAPDU: 80 0D 01 02 [08:01:54]Write to MH i2c: E2 08 00 BD 00 80 0D 01 02 00 00 00 00 36 [08:01:54]Write i2c OK [08:01:54]MH_I2C_Read... [08:01:54]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:01:54]Read from MH i2c: E2 [08:01:54]MH_I2C_Read... [08:01:54]Read from MH i2c: E2 03 00 [08:01:54]MH_I2C_Read... [08:01:54]Read from MH i2c: E2 03 00 BD 00 00 90 00 31 [08:01:54]RAPDU: 90 00 [08:01:54]wFMCommunicate OK [08:01:54]wFMCommunicate request_size=255 [08:01:54]MH_SAM_APDU [08:01:54]CAPDU: 80 0D 02 02 FA 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 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 F1 C9 5E 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 30 30 30 30 30 30 [08:01:54]Write to MH i2c: E2 02 01 BE 00 80 0D 02 02 FA 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 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 F1 C9 5E 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 30 30 30 30 30 30 00 00 D4 [08:01:54]Write i2c OK [08:01:54]MH_I2C_Read... [08:01:54]OFD Sender: No OFD packet to send [08:01:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:01:54]Read from MH i2c: E2 [08:01:54]MH_I2C_Read... [08:01:54]Read from MH i2c: E2 03 00 [08:01:54]MH_I2C_Read... [08:01:54]Read from MH i2c: E2 03 00 BE 00 00 90 00 32 [08:01:54]RAPDU: 90 00 [08:01:54]wFMCommunicate OK [08:01:54]wFMCommunicate request_size=33 [08:01:54]MH_SAM_APDU [08:01:54]CAPDU: 80 0D 02 02 1C 30 30 30 30 38 37 34 38 35 39 10 04 04 00 6A 87 00 00 35 04 06 00 77 A1 08 EC 18 C3 [08:01:54]Write to MH i2c: E2 24 00 BF 00 80 0D 02 02 1C 00 30 30 30 30 38 37 34 38 35 39 10 04 04 00 6A 87 00 00 35 04 06 00 77 A1 08 EC 18 C3 00 00 A9 [08:01:54]Write i2c OK [08:01:54]MH_I2C_Read... [08:01:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:01:54]Read from MH i2c: E2 [08:01:54]MH_I2C_Read... [08:01:54]Read from MH i2c: E2 03 00 [08:01:54]MH_I2C_Read... [08:01:54]Read from MH i2c: E2 03 00 BF 00 00 90 00 33 [08:01:54]RAPDU: 90 00 [08:01:54]wFMCommunicate OK [08:01:54]wFMCommunicate request_size=4 [08:01:54]MH_SAM_APDU [08:01:54]CAPDU: 80 0D 03 02 [08:01:54]Write to MH i2c: E2 08 00 C0 00 80 0D 03 02 00 00 00 00 3B [08:01:54]Write i2c OK [08:01:54]MH_I2C_Read... [08:01:54]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:01:54]Read from MH i2c: E2 [08:01:54]MH_I2C_Read... [08:01:54]Read from MH i2c: E2 0B 00 [08:01:54]MH_I2C_Read... [08:01:54]Read from MH i2c: E2 0B 00 C0 00 00 E4 BF 52 96 FA DF D4 35 90 00 A9 [08:01:54]RAPDU: E4 BF 52 96 FA DF D4 35 90 00 [08:01:54]wFMCommunicate OK [08:01:54]SAM_PROTO_SignData done [08:01:54]FM_MakeSignedData done [08:01:54]CreateOFDProtocolMessage [08:01:54]wFMCommunicate request_size=4 [08:01:54]MH_SAM_APDU [08:01:54]CAPDU: 80 11 00 00 [08:01:54]Write to MH i2c: E2 08 00 C1 00 80 11 00 00 00 00 00 00 3B [08:01:54]Write i2c OK [08:01:54]MH_I2C_Read... [08:01:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:01:54]Read from MH i2c: E2 [08:01:54]MH_I2C_Read... [08:01:54]Read from MH i2c: E2 17 00 [08:01:54]MH_I2C_Read... [08:01:54]Read from MH i2c: E2 17 00 C1 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 97 [08:01:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 [08:01:54]wFMCommunicate OK [08:01:54]CreateOFDProtocolMessage done [08:01:54]OFDSenderStorePacket 34666 [08:01:54]StoreOFDPacket docnum=34666 [08:01:54]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 26 01 00 00 54 4E 1E 01 81 29 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 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 F1 C9 5E 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 6A 87 00 00 35 04 06 00 77 A1 08 EC 18 C3 E4 BF 52 96 FA DF D4 35 [08:01:54]CheckFolder [08:01:54]dirname=/storage/ofd_packets [08:01:54]CheckFolder done [08:01:54]ProducePacketName [08:01:54]name=ofd_packets/00034666 [08:01:54]NVStorageSaveData ofd_packets/00034666 [08:01:54]File name is /storage/ofd_packets/00034666 [08:01:54]Write 324 bytes [08:01:54]NVStorageSaveData done [08:01:54]OFDSenderStorePacket done [08:01:54]KKMCreateOFDPacket done [08:01:54]NVStorageSaveData kkm_last_timestamp [08:01:54]File name is /storage/kkm_last_timestamp [08:01:54]Write 4 bytes [08:01:54]NVStorageSaveData done [08:01:54]ExternCall_PrintAddStr [08:01:54]wPrintStart [08:01:54]Write to MH i2c: 01 00 00 C2 00 C2 [08:01:54]Write i2c OK [08:01:54]MH_I2C_Read... [08:01:54]Read from MH i2c: 01 [08:01:54]MH_I2C_Read... [08:01:54]Read from MH i2c: 01 07 00 [08:01:54]MH_I2C_Read... [08:01:54]Read from MH i2c: 01 07 00 C2 00 00 00 00 00 00 FF 0F D7 [08:01:54]RasterBufferAndPrint [08:01:54]line Счет N : (3)100028 [08:01:54]line ИНН: 02508201610067 [08:01:54]line Контрольно-Кассовый Чек [08:01:54]line ПРОДАЖА [08:01:54]line Товар: 2000036240010 [08:01:54]line Кофе Латте (GABB TRADE) [08:01:54]line 1.000 * 115.00 [08:01:54]line = 115.00 [08:01:54]line НДС 12% НСП 1% [08:01:54]line > о реализуемом товаре [08:01:54]line ИТОГО: 115.00 [08:01:54]line НСП 1% : 1.02 [08:01:54]line НДС 12% : 12.21 [08:01:54]line Наличными: 115.00 [08:01:54]line Безнал.: 0.00 [08:01:54]line Место: АЗС № 62 "Партнер Нефть" [08:01:54]line Адрес: 720001, г. Балыкчы, ул. Абдрахманова 325 Б, 42.462761, 76.214931 [08:01:54]line СНО: Общий режим [08:01:54]line Чек 10 04.06.2024 08:01 [08:01:54]line Смена: 368 ФФД: 1.0 [08:01:54]line ЗНМ: 0300000080 [08:01:54]line РНМ: 0000000000096838 [08:01:54]line Версия ККМ: 001 [08:01:54]line ФМ: 0000000000874859 [08:01:54]line ФД: 34666 [08:01:54]line ФПД: 131533523130563 [08:01:54]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T080153&type=1&operation_type=1&fn_number=0000000000874859&fd_number=34666&fm=131533523130563&tin=02508201610067®Number=0000000000096838&sum=11500 [08:01:54]line 0 [08:01:54]OFD Sender: Processing packet 34666 [packets to send 17, broken 16] [08:01:54]ProducePacketName [08:01:54]name=ofd_packets/00034666 [08:01:54]OFD Sender: To server: pG, [08:01:54]CommunicateWithHost lk.salyk.kg:30040 [08:01:54]ConnectInit lk.salyk.kg [08:01:54]written 0, free lines is 4095 [08:01:54]Connected sock=10 [08:01:54]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 26 01 00 00 54 4E 1E 01 81 29 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 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 F1 C9 5E 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 6A 87 00 00 35 04 06 00 77 A1 08 EC 18 C3 E4 BF 52 96 FA DF D4 35 [08:01:55]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 4F 00 00 00 4F 15 47 00 4C FB A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 6A 87 00 00 F4 03 04 00 32 74 5E 66 B6 04 01 00 00 98 6B A6 3A 9C B2 E4 6C [08:01:55]CommunicateWithHost err = 0 [08:01:55]CheckOFDResponse [08:01:55]1017 (14) - 77093643461234 [08:01:55]1041 (16) - 0000000000874859 [08:01:55]1040 (4) - 34666 [08:01:55]1012 (4) - 04.06.2024 01:56 [08:01:55]1206 (1) - 0 [08:01:55]OFD Sender: Remove packet 34666 [08:01:55]ProducePacketName [08:01:55]name=ofd_packets/00034666 [08:01:55]NVStorageDeleteData [08:01:55]Write to MH i2c: 01 00 00 EA 00 EA [08:01:55]Write i2c OK [08:01:55]MH_I2C_Read... [08:01:55]Read from MH i2c: 01 [08:01:55]MH_I2C_Read... [08:01:55]Read from MH i2c: 01 07 00 [08:01:55]MH_I2C_Read... [08:01:55]Read from MH i2c: 01 07 00 EA 00 00 00 00 00 00 2C 0D 2A [08:01:55]RasterBufferAndPrint [08:01:55]line [08:01:55]line [08:01:55]line [08:01:55]line [08:01:55]line [08:01:55]written 0, free lines is 3378 [08:01:55]MH_Cut [08:01:55]Write to MH i2c: D1 01 00 F1 00 01 C3 [08:01:55]Write i2c OK [08:01:55]MH_I2C_Read... [08:01:55]Read from MH i2c: D1 [08:01:55]MH_I2C_Read... [08:01:55]Read from MH i2c: D1 01 00 [08:01:55]MH_I2C_Read... [08:01:55]Read from MH i2c: D1 01 00 F1 00 00 C2 [08:01:55]Write to MH i2c: 01 00 00 F2 00 F2 [08:01:55]Write i2c OK [08:01:55]MH_I2C_Read... [08:01:55]OFD Sender: No OFD packet to send [08:01:55]*** Cut start [08:01:55]*** Partial cut [08:01:55]*** CUTSNS_PIN = 1 [08:01:56]*** CUTSNS_PIN = 0 [08:01:56]*** Brake cut motor [08:01:56]Read from MH i2c: 01 [08:01:56]MH_I2C_Read... [08:01:56]*** Stop cut motor [08:01:56]*** Cut end [08:01:56]Read from MH i2c: 01 07 00 [08:01:56]MH_I2C_Read... [08:01:56]Read from MH i2c: 01 07 00 F2 00 00 00 00 00 00 FF 0F 07 [08:01:56]process_action close_receipt done [08:01:56]requested_data is exist [08:01:56]produce_requested_data [08:01:56]requested_item fm.sn is exist - process it [08:01:56]wFMCommunicate request_size=4 [08:01:56]MH_SAM_APDU [08:01:56]CAPDU: 80 11 00 00 [08:01:56]Write to MH i2c: E2 08 00 F3 00 80 11 00 00 00 00 00 00 6D [08:01:56]Write i2c OK [08:01:56]MH_I2C_Read... [08:01:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:01:56]Read from MH i2c: E2 [08:01:56]MH_I2C_Read... [08:01:56]Read from MH i2c: E2 17 00 [08:01:56]MH_I2C_Read... [08:01:56]Read from MH i2c: E2 17 00 F3 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 C9 [08:01:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 [08:01:56]wFMCommunicate OK [08:01:56]requested_item fd.num is exist - process it [08:01:56]SAM_PROTO_GetFieldsCounters [08:01:56]wFMCommunicate request_size=4 [08:01:56]MH_SAM_APDU [08:01:56]CAPDU: 80 13 00 00 [08:01:56]Write to MH i2c: E2 08 00 F4 00 80 13 00 00 00 00 00 00 70 [08:01:56]Write i2c OK [08:01:56]MH_I2C_Read... [08:01:56]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:01:56]Read from MH i2c: E2 [08:01:56]MH_I2C_Read... [08:01:56]Read from MH i2c: E2 62 00 [08:01:56]MH_I2C_Read... [08:01:56]Read from MH i2c: E2 62 00 F4 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 10 04 04 00 6A 87 00 00 0E 04 04 00 70 01 00 00 12 04 04 00 0A 00 00 00 5E 04 04 00 0A 00 00 00 57 04 04 00 0B 00 00 00 19 04 04 00 00 00 00 00 90 00 23 [08:01:56]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 10 04 04 00 6A 87 00 00 0E 04 04 00 70 01 00 00 12 04 04 00 0A 00 00 00 5E 04 04 00 0A 00 00 00 57 04 04 00 0B 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:01:56]wFMCommunicate OK [08:01:56]SAM_PROTO_GetFieldsCounters done [08:01:56]requested_item shift.num is exist - process it [08:01:56]requested_item shift.opened is exist - process it [08:01:56]req_shift_opened [08:01:56]FM_GetShiftState [08:01:56]SAM_PROTO_GetShiftState [08:01:56]wFMCommunicate request_size=4 [08:01:56]MH_SAM_APDU [08:01:56]CAPDU: 80 13 01 00 [08:01:56]Write to MH i2c: E2 08 00 F5 00 80 13 01 00 00 00 00 00 72 [08:01:56]Write i2c OK [08:01:56]MH_I2C_Read... [08:01:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:01:56]Read from MH i2c: E2 [08:01:56]MH_I2C_Read... [08:01:56]Read from MH i2c: E2 0E 00 [08:01:56]MH_I2C_Read... [08:01:56]Read from MH i2c: E2 0E 00 F5 00 00 09 00 01 35 5B 5E 66 00 00 00 00 90 00 D2 [08:01:56]RAPDU: 09 00 01 35 5B 5E 66 00 00 00 00 90 00 [08:01:56]wFMCommunicate OK [08:01:56]SAM_PROTO_GetShiftState done [08:01:56]FM_GetShiftState done [08:01:56]req_shift_opened done [08:01:56]requested_item shift.open_date is exist - process it [08:01:56]req_shift_open_date [08:01:56]req_shift_open_date done [08:01:56]produce_requested_data done [08:01:56]produce_requested_data return {"fm.sn":"0000000000874859","fd.num":34666,"shift.num":368,"shift.opened":1,"shift.open_date":1717459765} [08:01:56]process_action_free close_receipt [08:01:56]json_value_free [08:01:56]json_value_free done [08:01:56]process_json_proto returns [08:01:56]Send response to host [08:01:56]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874859","fd.num":34666,"shift.num":368,"shift.opened":1,"shift.open_date":1717459765}}} [08:01:56]free response buf [08:01:56]execute_script done [08:01:56]execute_script returns [08:01:56]free content buf [08:01:56]Sock 9.Close socket [08:01:56]Sock 9.Thread stoped [08:02:00]OFD Sender: No OFD packet to send [08:02:05]OFD Sender: No OFD packet to send [08:02:10]OFD Sender: No OFD packet to send [08:02:15]OFD Sender: No OFD packet to send [08:02:20]OFD Sender: No OFD packet to send [08:02:25]OFD Sender: No OFD packet to send [08:02:30]OFD Sender: No OFD packet to send [08:02:35]OFD Sender: No OFD packet to send [08:02:40]OFD Sender: No OFD packet to send [08:02:45]OFD Sender: No OFD packet to send [08:02:50]OFD Sender: No OFD packet to send [08:02:55]OFD Sender: No OFD packet to send [08:03:00]OFD Sender: No OFD packet to send [08:03:05]OFD Sender: No OFD packet to send [08:03:10]OFD Sender: No OFD packet to send [08:03:15]OFD Sender: No OFD packet to send [08:03:20]OFD Sender: No OFD packet to send [08:03:25]OFD Sender: No OFD packet to send [08:03:30]OFD Sender: No OFD packet to send [08:03:35]OFD Sender: No OFD packet to send [08:03:40]OFD Sender: No OFD packet to send [08:03:45]OFD Sender: No OFD packet to send [08:03:50]OFD Sender: No OFD packet to send [08:03:55]OFD Sender: No OFD packet to send [08:04:00]OFD Sender: No OFD packet to send [08:04:05]OFD Sender: No OFD packet to send [08:04:10]OFD Sender: No OFD packet to send [08:04:15]OFD Sender: No OFD packet to send [08:04:20]OFD Sender: No OFD packet to send [08:04:25]OFD Sender: No OFD packet to send [08:04:30]OFD Sender: No OFD packet to send [08:04:35]OFD Sender: No OFD packet to send [08:04:40]OFD Sender: No OFD packet to send [08:04:45]OFD Sender: No OFD packet to send [08:04:50]OFD Sender: No OFD packet to send [08:04:55]OFD Sender: No OFD packet to send [08:05:00]OFD Sender: No OFD packet to send [08:05:05]OFD Sender: No OFD packet to send [08:05:10]OFD Sender: No OFD packet to send [08:05:15]OFD Sender: No OFD packet to send [08:05:20]OFD Sender: No OFD packet to send [08:05:25]OFD Sender: No OFD packet to send [08:05:30]OFD Sender: No OFD packet to send [08:05:35]OFD Sender: No OFD packet to send [08:05:40]OFD Sender: No OFD packet to send [08:05:45]OFD Sender: No OFD packet to send [08:05:50]OFD Sender: No OFD packet to send [08:05:55]OFD Sender: No OFD packet to send [08:06:00]OFD Sender: No OFD packet to send [08:06:05]OFD Sender: No OFD packet to send [08:06:10]OFD Sender: No OFD packet to send [08:06:15]OFD Sender: No OFD packet to send [08:06:20]OFD Sender: No OFD packet to send [08:06:25]OFD Sender: No OFD packet to send [08:06:30]OFD Sender: No OFD packet to send [08:06:35]OFD Sender: No OFD packet to send [08:06:40]OFD Sender: No OFD packet to send [08:06:45]OFD Sender: No OFD packet to send [08:06:50]OFD Sender: No OFD packet to send [08:06:55]OFD Sender: No OFD packet to send [08:07:00]OFD Sender: No OFD packet to send [08:07:05]OFD Sender: No OFD packet to send [08:07:10]OFD Sender: No OFD packet to send [08:07:15]OFD Sender: No OFD packet to send [08:07:20]OFD Sender: No OFD packet to send [08:07:25]OFD Sender: No OFD packet to send [08:07:30]OFD Sender: No OFD packet to send [08:07: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:21]OFD Sender: No OFD packet to send [08:13:26]OFD Sender: No OFD packet to send [08:13:31]OFD Sender: No OFD packet to send [08:13:36]OFD Sender: No OFD packet to send [08:13:41]OFD Sender: No OFD packet to send [08:13:46]OFD Sender: No OFD packet to send [08:13:51]OFD Sender: No OFD packet to send [08:13:56]OFD Sender: No OFD packet to send [08:14:01]OFD Sender: No OFD packet to send [08:14:06]OFD Sender: No OFD packet to send [08:14:11]OFD Sender: No OFD packet to send [08:14:16]OFD Sender: No OFD packet to send [08:14:21]OFD Sender: No OFD packet to send [08:14:26]OFD Sender: No OFD packet to send [08:14:31]OFD Sender: No OFD packet to send [08:14:36]OFD Sender: No OFD packet to send [08:14:41]OFD Sender: No OFD packet to send [08:14:46]OFD Sender: No OFD packet to send [08:14:51]OFD Sender: No OFD packet to send [08:14:56]OFD Sender: No OFD packet to send [08:15:01]OFD Sender: No OFD packet to send [08:15:06]OFD Sender: No OFD packet to send [08:15:11]OFD Sender: No OFD packet to send [08:15:16]OFD Sender: No OFD packet to send [08:15:21]OFD Sender: No OFD packet to send [08:15:26]OFD Sender: No OFD packet to send [08:15:31]OFD Sender: No OFD packet to send [08:15:36]OFD Sender: No OFD packet to send [08:15:41]OFD Sender: No OFD packet to send [08:15:46]OFD Sender: No OFD packet to send [08:15:51]OFD Sender: No OFD packet to send [08:15:56]OFD Sender: No OFD packet to send [08:16:01]OFD Sender: No OFD packet to send [08:16:06]OFD Sender: No OFD packet to send [08:16:11]OFD Sender: No OFD packet to send [08:16:16]OFD Sender: No OFD packet to send [08:16:21]OFD Sender: No OFD packet to send [08:16:26]OFD Sender: No OFD packet to send [08:16:31]OFD Sender: No OFD packet to send [08:16:36]OFD Sender: No OFD packet to send [08:16:41]OFD Sender: No OFD packet to send [08:16:46]OFD Sender: No OFD packet to send [08:16:51]OFD Sender: No OFD packet to send [08:16:56]OFD Sender: No OFD packet to send [08:17:01]OFD Sender: No OFD packet to send [08:17:06]OFD Sender: No OFD packet to send [08:17:11]OFD Sender: No OFD packet to send [08:17:16]OFD Sender: No OFD packet to send [08:17:21]OFD Sender: No OFD packet to send [08:17:26]OFD Sender: No OFD packet to send [08:17:31]OFD Sender: No OFD packet to send [08:17:36]OFD Sender: No OFD packet to send [08:17:41]OFD Sender: No OFD packet to send [08:17:46]OFD Sender: No OFD packet to send [08:17:51]OFD Sender: No OFD packet to send [08:17:56]OFD Sender: No OFD packet to send [08:18:01]OFD Sender: No OFD packet to send [08:18:06]OFD Sender: No OFD packet to send [08:18:11]OFD Sender: No OFD packet to send [08:18:16]OFD Sender: No OFD packet to send [08:18:21]OFD Sender: No OFD packet to send [08:18:26]OFD Sender: No OFD packet to send [08:18:31]OFD Sender: No OFD packet to send [08:18:36]OFD Sender: No OFD packet to send [08:18:41]OFD Sender: No OFD packet to send [08:18:46]OFD Sender: No OFD packet to send [08:18:51]OFD Sender: No OFD packet to send [08:18:56]OFD Sender: No OFD packet to send [08:19:01]OFD Sender: No OFD packet to send [08:19:06]OFD Sender: No OFD packet to send [08:19:11]OFD Sender: No OFD packet to send [08:19:16]OFD Sender: No OFD packet to send [08:19:21]OFD Sender: No OFD packet to send [08:19:26]OFD Sender: No OFD packet to send [08:19:31]OFD Sender: No OFD packet to send [08:19:36]OFD Sender: No OFD packet to send [08:19:41]OFD Sender: No OFD packet to send [08:19:46]OFD Sender: No OFD packet to send [08:19:51]OFD Sender: No OFD packet to send [08:19:56]OFD Sender: No OFD packet to send [08:20:01]OFD Sender: No OFD packet to send [08:20:06]OFD Sender: No OFD packet to send [08:20:11]OFD Sender: No OFD packet to send [08:20:16]OFD Sender: No OFD packet to send [08:20:21]OFD Sender: No OFD packet to send [08:20:26]OFD Sender: No OFD packet to send [08:20:31]OFD Sender: No OFD packet to send [08:20:36]OFD Sender: No OFD packet to send [08:20:41]OFD Sender: No OFD packet to send [08:20:46]OFD Sender: No OFD packet to send [08:20:51]OFD Sender: No OFD packet to send [08:20:56]OFD Sender: No OFD packet to send [08:21:01]OFD Sender: No OFD packet to send [08:21:06]OFD Sender: No OFD packet to send [08:21:11]OFD Sender: No OFD packet to send [08:21:16]OFD Sender: No OFD packet to send [08:21:21]OFD Sender: No OFD packet to send [08:21:26]OFD Sender: No OFD packet to send [08:21:31]OFD Sender: No OFD packet to send [08:21:36]OFD Sender: No OFD packet to send [08:21:41]OFD Sender: No OFD packet to send [08:21:46]OFD Sender: No OFD packet to send [08:21:51]OFD Sender: No OFD packet to send [08:21:56]OFD Sender: No OFD packet to send [08:22:01]OFD Sender: No OFD packet to send [08:22:06]OFD Sender: No OFD packet to send [08:22:11]OFD Sender: No OFD packet to send [08:22:16]OFD Sender: No OFD packet to send [08:22:21]OFD Sender: No OFD packet to send [08:22:26]OFD Sender: No OFD packet to send [08:22:31]OFD Sender: No OFD packet to send [08:22:36]OFD Sender: No OFD packet to send [08:22:41]OFD Sender: No OFD packet to send [08:22:46]OFD Sender: No OFD packet to send [08:22:51]OFD Sender: No OFD packet to send [08:22:56]OFD Sender: No OFD packet to send [08:23:01]OFD Sender: No OFD packet to send [08:23:06]OFD Sender: No OFD packet to send [08:23:11]OFD Sender: No OFD packet to send [08:23:16]OFD Sender: No OFD packet to send [08:23:21]OFD Sender: No OFD packet to send [08:23:26]OFD Sender: No OFD packet to send [08:23:31]OFD Sender: No OFD packet to send [08:23:36]OFD Sender: No OFD packet to send [08:23:41]OFD Sender: No OFD packet to send [08:23:46]OFD Sender: No OFD packet to send [08:23:51]OFD Sender: No OFD packet to send [08:23:56]OFD Sender: No OFD packet to send [08:24:01]OFD Sender: No OFD packet to send [08:24:06]OFD Sender: No OFD packet to send [08:24:11]OFD Sender: No OFD packet to send [08:24:16]OFD Sender: No OFD packet to send [08:24:21]OFD Sender: No OFD packet to send [08:24:26]OFD Sender: No OFD packet to send [08:24:31]OFD Sender: No OFD packet to send [08:24:36]OFD Sender: No OFD packet to send [08:24:41]OFD Sender: No OFD packet to send [08:24:46]OFD Sender: No OFD packet to send [08:24:51]OFD Sender: No OFD packet to send [08:24:56]OFD Sender: No OFD packet to send [08:25:01]OFD Sender: No OFD packet to send [08:25:06]OFD Sender: No OFD packet to send [08:25:11]OFD Sender: No OFD packet to send [08:25:16]OFD Sender: No OFD packet to send [08:25:21]OFD Sender: No OFD packet to send [08:25:26]OFD Sender: No OFD packet to send [08:25:31]OFD Sender: No OFD packet to send [08:25:36]OFD Sender: No OFD packet to send [08:25:41]OFD Sender: No OFD packet to send [08:25:46]OFD Sender: No OFD packet to send [08:25:51]OFD Sender: No OFD packet to send [08:25:56]OFD Sender: No OFD packet to send [08:26:01]OFD Sender: No OFD packet to send [08:26:06]OFD Sender: No OFD packet to send [08:26:11]OFD Sender: No OFD packet to send [08:26:16]OFD Sender: No OFD packet to send [08:26:21]OFD Sender: No OFD packet to send [08:26:26]OFD Sender: No OFD packet to send [08:26:31]OFD Sender: No OFD packet to send [08:26:36]OFD Sender: No OFD packet to send [08:26:41]OFD Sender: No OFD packet to send [08:26:46]OFD Sender: No OFD packet to send [08:26:51]OFD Sender: No OFD packet to send [08:26:56]OFD Sender: No OFD packet to send [08:27:01]OFD Sender: No OFD packet to send [08:27:06]OFD Sender: No OFD packet to send [08:27:11]OFD Sender: No OFD packet to send [08:27:16]OFD Sender: No OFD packet to send [08:27:21]OFD Sender: No OFD packet to send [08:27:26]OFD Sender: No OFD packet to send [08:27:31]OFD Sender: No OFD packet to send [08:27:36]OFD Sender: No OFD packet to send [08:27:41]OFD Sender: No OFD packet to send [08:27:46]OFD Sender: No OFD packet to send [08:27: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:12]OFD Sender: No OFD packet to send [08:32:17]OFD Sender: No OFD packet to send [08:32:22]OFD Sender: No OFD packet to send [08:32:27]OFD Sender: No OFD packet to send [08:32:32]OFD Sender: No OFD packet to send [08:32:37]OFD Sender: No OFD packet to send [08:32:42]OFD Sender: No OFD packet to send [08:32:47]OFD Sender: No OFD packet to send [08:32:52]OFD Sender: No OFD packet to send [08:32:57]OFD Sender: No OFD packet to send [08:33:02]OFD Sender: No OFD packet to send [08:33:07]OFD Sender: No OFD packet to send [08:33:12]OFD Sender: No OFD packet to send [08:33:17]OFD Sender: No OFD packet to send [08:33:22]OFD Sender: No OFD packet to send [08:33:27]OFD Sender: No OFD packet to send [08:33:32]OFD Sender: No OFD packet to send [08:33:37]OFD Sender: No OFD packet to send [08:33:42]OFD Sender: No OFD packet to send [08:33:47]OFD Sender: No OFD packet to send [08:33:52]OFD Sender: No OFD packet to send [08:33:57]OFD Sender: No OFD packet to send [08:34:02]OFD Sender: No OFD packet to send [08:34:07]OFD Sender: No OFD packet to send [08:34:12]OFD Sender: No OFD packet to send [08:34:17]OFD Sender: No OFD packet to send [08:34:22]OFD Sender: No OFD packet to send [08:34:27]OFD Sender: No OFD packet to send [08:34:32]OFD Sender: No OFD packet to send [08:34:37]OFD Sender: No OFD packet to send [08:34:42]OFD Sender: No OFD packet to send [08:34:47]OFD Sender: No OFD packet to send [08:34:52]OFD Sender: No OFD packet to send [08:34:57]OFD Sender: No OFD packet to send [08:35:02]OFD Sender: No OFD packet to send [08:35:07]OFD Sender: No OFD packet to send [08:35:12]OFD Sender: No OFD packet to send [08:35:17]OFD Sender: No OFD packet to send [08:35:22]OFD Sender: No OFD packet to send [08:35:27]OFD Sender: No OFD packet to send [08:35:32]OFD Sender: No OFD packet to send [08:35:37]OFD Sender: No OFD packet to send [08:35:42]OFD Sender: No OFD packet to send [08:35:47]OFD Sender: No OFD packet to send [08:35:52]OFD Sender: No OFD packet to send [08:35:57]OFD Sender: No OFD packet to send [08:36:02]OFD Sender: No OFD packet to send [08:36:07]OFD Sender: No OFD packet to send [08:36:12]OFD Sender: No OFD packet to send [08:36:17]OFD Sender: No OFD packet to send [08:36:22]OFD Sender: No OFD packet to send [08:36:27]OFD Sender: No OFD packet to send [08:36:32]OFD Sender: No OFD packet to send [08:36:37]OFD Sender: No OFD packet to send [08:36:42]OFD Sender: No OFD packet to send [08:36:47]OFD Sender: No OFD packet to send [08:36:52]OFD Sender: No OFD packet to send [08:36:57]OFD Sender: No OFD packet to send [08:37:02]OFD Sender: No OFD packet to send [08:37:07]OFD Sender: No OFD packet to send [08:37:12]OFD Sender: No OFD packet to send [08:37:17]OFD Sender: No OFD packet to send [08:37:22]OFD Sender: No OFD packet to send [08:37:27]OFD Sender: No OFD packet to send [08:37:32]OFD Sender: No OFD packet to send [08:37:37]OFD Sender: No OFD packet to send [08:37:40]accept exits with 7 [08:37:40]New connection [08:37:40]New thread 3067026788 created [08:37:40]Thread 3067170148 joined [08:37:40]Waiting for new connection... [08:37:40] Sock 7.Parse request [08:37:40]Sock 7.Check first char [08:37:40]Sock 7.First char is OK [08:37:40]request: POST /json_proto HTTP/1.0 [08:37:40]Method: POST [08:37:40]URL: /json_proto [08:37:40]Method is POST - this is cgi request [08:37:40]url: /json_proto [08:37:40]query_string will be loaded in cgi processing [08:37:40]execute_cgi json_proto POST (null) [08:37:40]execute_cgi path=json_proto method=POST [08:37:40]POST find Content-Length [08:37:40]Host: 172.17.36.131:8080 [08:37:40]Content-Length: 621 [08:37:40]Content-Type: application/json [08:37:40] [08:37:40]POST finish read [08:37:40]Found Content-Length = 621 [08:37:40]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100029", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:37:40]execute_script... [08:37:40]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100029", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:37:40]POST & json_proto [08:37:40]process_json_proto [08:37:40]json parsed OK: [08:37:40]protocol is kg_v1.0 [08:37:40]action value=close_receipt [08:37:40]process_action close_receipt [08:37:40]cmd_close_receipt [08:37:40]MH_GetDate [08:37:40]Write to MH i2c: F0 00 00 F6 00 E5 [08:37:40]Write i2c OK [08:37:40]MH_I2C_Read... [08:37:40]Read from MH i2c: F0 [08:37:40]MH_I2C_Read... [08:37:40]Read from MH i2c: F0 09 00 [08:37:40]MH_I2C_Read... [08:37:40]Read from MH i2c: F0 09 00 F6 00 00 55 D2 5E 66 A7 4C 98 65 C9 [08:37:40]GetLastDocTimeStamp 1717488113 [08:37:40]current date 1717490261 [08:37:40]FM_GetShiftState [08:37:40]SAM_PROTO_GetShiftState [08:37:40]wFMCommunicate request_size=4 [08:37:40]MH_SAM_APDU [08:37:40]CAPDU: 80 13 01 00 [08:37:40]Write to MH i2c: E2 08 00 F7 00 80 13 01 00 00 00 00 00 74 [08:37:40]Write i2c OK [08:37:40]MH_I2C_Read... [08:37:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:37:40]Read from MH i2c: E2 [08:37:40]MH_I2C_Read... [08:37:40]Read from MH i2c: E2 0E 00 [08:37:40]MH_I2C_Read... [08:37:40]Read from MH i2c: E2 0E 00 F7 00 00 09 00 01 35 5B 5E 66 00 00 00 00 90 00 D4 [08:37:40]RAPDU: 09 00 01 35 5B 5E 66 00 00 00 00 90 00 [08:37:40]wFMCommunicate OK [08:37:40]SAM_PROTO_GetShiftState done [08:37:40]FM_GetShiftState done [08:37:40]opened in 1717459765 [08:37:40]opened+sec_in_day 1717546165 [08:37:40]quantity*price = 14000 [08:37:40]sum+1 = 14001 [08:37:40]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 140.00 НСП 1% : 1.24 НДС 12% : 14.87 Наличными: 140.00 Безнал.: 0.00 Место: АЗС № 62 "Партнер Нефть" Адрес: 720001, г. Балыкчы, ул. Абдрахманова 325 Б, 42.462761, 76.214931 СНО: Общий режим Чек 11 04.06.2024 08:37 Смена: 368 ФФД: 1.0 ЗНМ: 0300000080 РНМ: 0000000000096838 Версия ККМ: 001 ФМ: 0000000000874859 ФД: 34667 ФПД: 242859055300670 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T083741&type=1&operation_type=1&fn_number=0000000000874859&fd_number=34667&fm=242859055300670&tin=02508201610067®Number=0000000000096838&sum=14000 0 [08:37:41]StoreToDocumentArchive [08:37:41]shift 368 fd 34667 [08:37:41]save to /storage/0368/doc_00034667 [08:37:41]save last doc name /storage/0368/doc_00034667 to /storage/kkm_last_doc_name [08:37:41]save OK [08:37:41]Clear old archive folders... [08:37:41]ProcessDocumentItem done err = 0, tmpTLVsize=273 [08:37:41]tlvbuf is 01B471F0 [08:37:41]SAM_PROTO_ClearQueue [08:37:41]wFMCommunicate request_size=4 [08:37:41]MH_SAM_APDU [08:37:41]CAPDU: 80 09 00 00 [08:37:41]Write to MH i2c: E2 08 00 04 01 80 09 00 00 00 00 00 00 77 [08:37:41]Write i2c OK [08:37:41]MH_I2C_Read... [08:37:41]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:37:41]Read from MH i2c: E2 [08:37:41]MH_I2C_Read... [08:37:41]Read from MH i2c: E2 03 00 [08:37:41]MH_I2C_Read... [08:37:41]Read from MH i2c: E2 03 00 04 01 00 90 00 79 [08:37:41]RAPDU: 90 00 [08:37:41]wFMCommunicate OK [08:37:41]SAM_PROTO_ClearQueue done [08:37:41]KKMCreateOFDPacket [08:37:41]OFDProtocolAddRootSTLVToBuf [08:37:41]FM_MakeSignedData [08:37:41]FM_MakeSignedData [08:37:41]SAM_PROTO_SignData [08:37:41]wFMCommunicate request_size=4 [08:37:41]MH_SAM_APDU [08:37:41]CAPDU: 80 0D 01 02 [08:37:41]Write to MH i2c: E2 08 00 05 01 80 0D 01 02 00 00 00 00 7F [08:37:41]Write i2c OK [08:37:41]MH_I2C_Read... [08:37:41]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:37:42]Read from MH i2c: E2 [08:37:42]MH_I2C_Read... [08:37:42]Read from MH i2c: E2 03 00 [08:37:42]MH_I2C_Read... [08:37:42]Read from MH i2c: E2 03 00 05 01 00 90 00 7A [08:37:42]RAPDU: 90 00 [08:37:42]wFMCommunicate OK [08:37:42]wFMCommunicate request_size=255 [08:37:42]MH_SAM_APDU [08:37:42]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 55 D2 5E 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 30 30 30 30 30 30 30 [08:37:42]Write to MH i2c: E2 02 01 06 01 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 55 D2 5E 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 30 30 30 30 30 30 30 00 00 E4 [08:37:42]Write i2c OK [08:37:42]MH_I2C_Read... [08:37:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:37:42]Read from MH i2c: E2 [08:37:42]MH_I2C_Read... [08:37:42]Read from MH i2c: E2 03 00 [08:37:42]MH_I2C_Read... [08:37:42]Read from MH i2c: E2 03 00 06 01 00 90 00 7B [08:37:42]RAPDU: 90 00 [08:37:42]wFMCommunicate OK [08:37:42]wFMCommunicate request_size=32 [08:37:42]MH_SAM_APDU [08:37:42]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 34 38 35 39 10 04 04 00 6B 87 00 00 35 04 06 00 DC E1 07 B8 C0 3E [08:37:42]Write to MH i2c: E2 23 00 07 01 80 0D 02 02 1B 00 30 30 30 38 37 34 38 35 39 10 04 04 00 6B 87 00 00 35 04 06 00 DC E1 07 B8 C0 3E 00 00 54 [08:37:42]Write i2c OK [08:37:42]MH_I2C_Read... [08:37:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:37:42]Read from MH i2c: E2 [08:37:42]MH_I2C_Read... [08:37:42]Read from MH i2c: E2 03 00 [08:37:42]MH_I2C_Read... [08:37:42]Read from MH i2c: E2 03 00 07 01 00 90 00 7C [08:37:42]RAPDU: 90 00 [08:37:42]wFMCommunicate OK [08:37:42]wFMCommunicate request_size=4 [08:37:42]MH_SAM_APDU [08:37:42]CAPDU: 80 0D 03 02 [08:37:42]Write to MH i2c: E2 08 00 08 01 80 0D 03 02 00 00 00 00 84 [08:37:42]Write i2c OK [08:37:42]MH_I2C_Read... [08:37:42]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:37:42]Read from MH i2c: E2 [08:37:42]MH_I2C_Read... [08:37:42]Read from MH i2c: E2 0B 00 [08:37:42]MH_I2C_Read... [08:37:42]Read from MH i2c: E2 0B 00 08 01 00 CD C0 F9 73 DF 5B 88 CD 90 00 0D [08:37:42]RAPDU: CD C0 F9 73 DF 5B 88 CD 90 00 [08:37:42]wFMCommunicate OK [08:37:42]SAM_PROTO_SignData done [08:37:42]FM_MakeSignedData done [08:37:42]CreateOFDProtocolMessage [08:37:42]wFMCommunicate request_size=4 [08:37:42]MH_SAM_APDU [08:37:42]CAPDU: 80 11 00 00 [08:37:42]Write to MH i2c: E2 08 00 09 01 80 11 00 00 00 00 00 00 84 [08:37:42]Write i2c OK [08:37:42]MH_I2C_Read... [08:37:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:37:42]Read from MH i2c: E2 [08:37:42]MH_I2C_Read... [08:37:42]Read from MH i2c: E2 17 00 [08:37:42]MH_I2C_Read... [08:37:42]Read from MH i2c: E2 17 00 09 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 E0 [08:37:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 [08:37:42]wFMCommunicate OK [08:37:42]CreateOFDProtocolMessage done [08:37:42]OFDSenderStorePacket 34667 [08:37:42]StoreOFDPacket docnum=34667 [08:37:42]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 25 01 00 00 08 B8 1D 01 38 C7 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 55 D2 5E 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 6B 87 00 00 35 04 06 00 DC E1 07 B8 C0 3E CD C0 F9 73 DF 5B 88 CD [08:37:42]CheckFolder [08:37:42]dirname=/storage/ofd_packets [08:37:42]CheckFolder done [08:37:42]ProducePacketName [08:37:42]name=ofd_packets/00034667 [08:37:42]NVStorageSaveData ofd_packets/00034667 [08:37:42]File name is /storage/ofd_packets/00034667 [08:37:42]Write 323 bytes [08:37:42]NVStorageSaveData done [08:37:42]OFDSenderStorePacket done [08:37:42]KKMCreateOFDPacket done [08:37:42]NVStorageSaveData kkm_last_timestamp [08:37:42]File name is /storage/kkm_last_timestamp [08:37:42]Write 4 bytes [08:37:42]NVStorageSaveData done [08:37:42]ExternCall_PrintAddStr [08:37:42]wPrintStart [08:37:42]Write to MH i2c: 01 00 00 0A 01 0B [08:37:42]Write i2c OK [08:37:42]MH_I2C_Read... [08:37:42]Read from MH i2c: 01 [08:37:42]MH_I2C_Read... [08:37:42]Read from MH i2c: 01 07 00 [08:37:42]MH_I2C_Read... [08:37:42]Read from MH i2c: 01 07 00 0A 01 00 00 00 00 00 FF 0F 20 [08:37:42]RasterBufferAndPrint [08:37:42]line Счет N : (3)100029 [08:37:42]line ИНН: 02508201610067 [08:37:42]line Контрольно-Кассовый Чек [08:37:42]line ПРОДАЖА [08:37:42]line Товар: 48743570 [08:37:42]line Сигареты Winston XStyle Blue [08:37:42]line 1.000 * 140.00 [08:37:42]line = 140.00 [08:37:42]line НДС 12% НСП 1% [08:37:42]line > о реализуемом товаре [08:37:42]line ИТОГО: 140.00 [08:37:42]line НСП 1% : 1.24 [08:37:42]line НДС 12% : 14.87 [08:37:42]line Наличными: 140.00 [08:37:42]line Безнал.: 0.00 [08:37:42]line Место: АЗС № 62 "Партнер Нефть" [08:37:42]line Адрес: 720001, г. Балыкчы, ул. Абдрахманова 325 Б, 42.462761, 76.214931 [08:37:42]line СНО: Общий режим [08:37:42]line Чек 11 04.06.2024 08:37 [08:37:42]line Смена: 368 ФФД: 1.0 [08:37:42]line ЗНМ: 0300000080 [08:37:42]line РНМ: 0000000000096838 [08:37:42]line Версия ККМ: 001 [08:37:42]line ФМ: 0000000000874859 [08:37:42]line ФД: 34667 [08:37:42]line ФПД: 242859055300670 [08:37:42]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T083741&type=1&operation_type=1&fn_number=0000000000874859&fd_number=34667&fm=242859055300670&tin=02508201610067®Number=0000000000096838&sum=14000 [08:37:42]line 0 [08:37:42]OFD Sender: Processing packet 34667 [packets to send 17, broken 16] [08:37:42]ProducePacketName [08:37:42]name=ofd_packets/00034667 [08:37:42]OFD Sender: To server: pG, [08:37:42]CommunicateWithHost lk.salyk.kg:30040 [08:37:42]ConnectInit lk.salyk.kg [08:37:42]written 0, free lines is 4095 [08:37:43]Connected sock=10 [08:37:43]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 25 01 00 00 08 B8 1D 01 38 C7 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 55 D2 5E 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 6B 87 00 00 35 04 06 00 DC E1 07 B8 C0 3E CD C0 F9 73 DF 5B 88 CD [08:37:43]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 4F 00 00 00 4D 3C 47 00 A1 54 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 6B 87 00 00 F4 03 04 00 96 7C 5E 66 B6 04 01 00 00 7E C4 1F DF CF 6B 84 1C [08:37:43]CommunicateWithHost err = 0 [08:37:43]CheckOFDResponse [08:37:43]1017 (14) - 77093643461234 [08:37:43]1041 (16) - 0000000000874859 [08:37:43]1040 (4) - 34667 [08:37:43]1012 (4) - 04.06.2024 02:31 [08:37:43]1206 (1) - 0 [08:37:43]OFD Sender: Remove packet 34667 [08:37:43]ProducePacketName [08:37:43]name=ofd_packets/00034667 [08:37:43]NVStorageDeleteData [08:37:43]Write to MH i2c: 01 00 00 32 01 33 [08:37:43]Write i2c OK [08:37:43]MH_I2C_Read... [08:37:43]Read from MH i2c: 01 [08:37:43]MH_I2C_Read... [08:37:43]Read from MH i2c: 01 07 00 [08:37:43]MH_I2C_Read... [08:37:43]Read from MH i2c: 01 07 00 32 01 00 00 00 00 00 14 0D 5B [08:37:43]RasterBufferAndPrint [08:37:43]line [08:37:43]line [08:37:43]line [08:37:43]line [08:37:43]line [08:37:43]written 0, free lines is 3354 [08:37:43]MH_Cut [08:37:43]Write to MH i2c: D1 01 00 39 01 01 0C [08:37:43]Write i2c OK [08:37:43]MH_I2C_Read... [08:37:43]Read from MH i2c: D1 [08:37:43]MH_I2C_Read... [08:37:43]Read from MH i2c: D1 01 00 [08:37:43]MH_I2C_Read... [08:37:43]Read from MH i2c: D1 01 00 39 01 00 0B [08:37:43]Write to MH i2c: 01 00 00 3A 01 3B [08:37:43]Write i2c OK [08:37:43]MH_I2C_Read... [08:37:43]OFD Sender: No OFD packet to send [08:37:43]*** Cut start [08:37:43]*** Partial cut [08:37:43]*** CUTSNS_PIN = 1 [08:37:43]*** CUTSNS_PIN = 0 [08:37:44]*** Brake cut motor [08:37:44]Read from MH i2c: 01 [08:37:44]MH_I2C_Read... [08:37:44]*** Stop cut motor [08:37:44]*** Cut end [08:37:44]Read from MH i2c: 01 07 00 [08:37:44]MH_I2C_Read... [08:37:44]Read from MH i2c: 01 07 00 3A 01 00 00 00 00 00 FF 0F 50 [08:37:44]process_action close_receipt done [08:37:44]requested_data is exist [08:37:44]produce_requested_data [08:37:44]requested_item fm.sn is exist - process it [08:37:44]wFMCommunicate request_size=4 [08:37:44]MH_SAM_APDU [08:37:44]CAPDU: 80 11 00 00 [08:37:44]Write to MH i2c: E2 08 00 3B 01 80 11 00 00 00 00 00 00 B6 [08:37:44]Write i2c OK [08:37:44]MH_I2C_Read... [08:37:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:37:44]Read from MH i2c: E2 [08:37:44]MH_I2C_Read... [08:37:44]Read from MH i2c: E2 17 00 [08:37:44]MH_I2C_Read... [08:37:44]Read from MH i2c: E2 17 00 3B 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 12 [08:37:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 [08:37:44]wFMCommunicate OK [08:37:44]requested_item fd.num is exist - process it [08:37:44]SAM_PROTO_GetFieldsCounters [08:37:44]wFMCommunicate request_size=4 [08:37:44]MH_SAM_APDU [08:37:44]CAPDU: 80 13 00 00 [08:37:44]Write to MH i2c: E2 08 00 3C 01 80 13 00 00 00 00 00 00 B9 [08:37:44]Write i2c OK [08:37:44]MH_I2C_Read... [08:37:44]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:37:44]Read from MH i2c: E2 [08:37:44]MH_I2C_Read... [08:37:44]Read from MH i2c: E2 62 00 [08:37:44]MH_I2C_Read... [08:37:44]Read from MH i2c: E2 62 00 3C 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 10 04 04 00 6B 87 00 00 0E 04 04 00 70 01 00 00 12 04 04 00 0B 00 00 00 5E 04 04 00 0B 00 00 00 57 04 04 00 0C 00 00 00 19 04 04 00 00 00 00 00 90 00 70 [08:37:44]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 10 04 04 00 6B 87 00 00 0E 04 04 00 70 01 00 00 12 04 04 00 0B 00 00 00 5E 04 04 00 0B 00 00 00 57 04 04 00 0C 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:37:44]wFMCommunicate OK [08:37:44]SAM_PROTO_GetFieldsCounters done [08:37:44]requested_item shift.num is exist - process it [08:37:44]requested_item shift.opened is exist - process it [08:37:44]req_shift_opened [08:37:44]FM_GetShiftState [08:37:44]SAM_PROTO_GetShiftState [08:37:44]wFMCommunicate request_size=4 [08:37:44]MH_SAM_APDU [08:37:44]CAPDU: 80 13 01 00 [08:37:44]Write to MH i2c: E2 08 00 3D 01 80 13 01 00 00 00 00 00 BB [08:37:44]Write i2c OK [08:37:44]MH_I2C_Read... [08:37:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:37:44]Read from MH i2c: E2 [08:37:44]MH_I2C_Read... [08:37:44]Read from MH i2c: E2 0E 00 [08:37:44]MH_I2C_Read... [08:37:44]Read from MH i2c: E2 0E 00 3D 01 00 09 00 01 35 5B 5E 66 00 00 00 00 90 00 1B [08:37:44]RAPDU: 09 00 01 35 5B 5E 66 00 00 00 00 90 00 [08:37:44]wFMCommunicate OK [08:37:44]SAM_PROTO_GetShiftState done [08:37:44]FM_GetShiftState done [08:37:44]req_shift_opened done [08:37:44]requested_item shift.open_date is exist - process it [08:37:44]req_shift_open_date [08:37:44]req_shift_open_date done [08:37:44]produce_requested_data done [08:37:44]produce_requested_data return {"fm.sn":"0000000000874859","fd.num":34667,"shift.num":368,"shift.opened":1,"shift.open_date":1717459765} [08:37:44]process_action_free close_receipt [08:37:44]json_value_free [08:37:44]json_value_free done [08:37:44]process_json_proto returns [08:37:44]Send response to host [08:37:44]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874859","fd.num":34667,"shift.num":368,"shift.opened":1,"shift.open_date":1717459765}}} [08:37:44]free response buf [08:37:44]execute_script done [08:37:44]execute_script returns [08:37:44]free content buf [08:37:44]Sock 7.Close socket [08:37:44]Sock 7.Thread stoped [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:49]OFD Sender: No OFD packet to send [08:43:54]OFD Sender: No OFD packet to send [08:43:59]OFD Sender: No OFD packet to send [08:44:04]OFD Sender: No OFD packet to send [08:44:09]OFD Sender: No OFD packet to send [08:44:14]OFD Sender: No OFD packet to send [08:44:19]OFD Sender: No OFD packet to send [08:44:24]OFD Sender: No OFD packet to send [08:44:29]OFD Sender: No OFD packet to send [08:44:34]OFD Sender: No OFD packet to send [08:44:39]OFD Sender: No OFD packet to send [08:44:44]OFD Sender: No OFD packet to send [08:44:49]OFD Sender: No OFD packet to send [08:44:54]OFD Sender: No OFD packet to send [08:44:59]OFD Sender: No OFD packet to send [08:45:04]OFD Sender: No OFD packet to send [08:45:09]OFD Sender: No OFD packet to send [08:45:14]OFD Sender: No OFD packet to send [08:45:19]OFD Sender: No OFD packet to send [08:45:24]OFD Sender: No OFD packet to send [08:45:29]OFD Sender: No OFD packet to send [08:45:34]OFD Sender: No OFD packet to send [08:45:39]OFD Sender: No OFD packet to send [08:45:44]OFD Sender: No OFD packet to send [08:45:49]OFD Sender: No OFD packet to send [08:45:54]OFD Sender: No OFD packet to send [08:45:59]OFD Sender: No OFD packet to send [08:46:04]OFD Sender: No OFD packet to send [08:46:09]OFD Sender: No OFD packet to send [08:46:14]OFD Sender: No OFD packet to send [08:46:19]OFD Sender: No OFD packet to send [08:46:24]OFD Sender: No OFD packet to send [08:46:29]OFD Sender: No OFD packet to send [08:46:34]OFD Sender: No OFD packet to send [08:46:39]OFD Sender: No OFD packet to send [08:46:44]OFD Sender: No OFD packet to send [08:46:49]OFD Sender: No OFD packet to send [08:46:54]OFD Sender: No OFD packet to send [08:46:59]OFD Sender: No OFD packet to send [08:47:04]OFD Sender: No OFD packet to send [08:47:09]OFD Sender: No OFD packet to send [08:47:14]OFD Sender: No OFD packet to send [08:47:19]OFD Sender: No OFD packet to send [08:47:24]OFD Sender: No OFD packet to send [08:47:29]OFD Sender: No OFD packet to send [08:47:34]OFD Sender: No OFD packet to send [08:47:39]OFD Sender: No OFD packet to send [08:47:44]OFD Sender: No OFD packet to send [08:47:49]OFD Sender: No OFD packet to send [08:47:54]OFD Sender: No OFD packet to send [08:47:59]OFD Sender: No OFD packet to send [08:48:04]OFD Sender: No OFD packet to send [08:48:09]OFD Sender: No OFD packet to send [08:48:14]OFD Sender: No OFD packet to send [08:48:19]OFD Sender: No OFD packet to send [08:48:24]OFD Sender: No OFD packet to send [08:48:29]OFD Sender: No OFD packet to send [08:48:34]OFD Sender: No OFD packet to send [08:48:39]OFD Sender: No OFD packet to send [08:48:44]OFD Sender: No OFD packet to send [08:48:49]OFD Sender: No OFD packet to send [08:48:54]OFD Sender: No OFD packet to send [08:48:59]OFD Sender: No OFD packet to send [08:49:04]OFD Sender: No OFD packet to send [08:49:09]OFD Sender: No OFD packet to send [08:49:14]OFD Sender: No OFD packet to send [08:49:19]OFD Sender: No OFD packet to send [08:49:24]OFD Sender: No OFD packet to send [08:49:29]OFD Sender: No OFD packet to send [08:49:34]OFD Sender: No OFD packet to send [08:49:39]OFD Sender: No OFD packet to send [08:49:44]OFD Sender: No OFD packet to send [08:49:49]OFD Sender: No OFD packet to send [08:49:54]OFD Sender: No OFD packet to send [08:49:59]OFD Sender: No OFD packet to send [08:50:04]OFD Sender: No OFD packet to send [08:50:09]OFD Sender: No OFD packet to send [08:50:14]OFD Sender: No OFD packet to send [08:50:19]OFD Sender: No OFD packet to send [08:50:24]OFD Sender: No OFD packet to send [08:50:29]OFD Sender: No OFD packet to send [08:50:34]OFD Sender: No OFD packet to send [08:50:39]OFD Sender: No OFD packet to send [08:50:44]OFD Sender: No OFD packet to send [08:50:49]OFD Sender: No OFD packet to send [08:50:54]OFD Sender: No OFD packet to send [08:50:59]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:34]OFD Sender: No OFD packet to send [08:55:39]OFD Sender: No OFD packet to send [08:55:44]OFD Sender: No OFD packet to send [08:55:49]OFD Sender: No OFD packet to send [08:55:54]OFD Sender: No OFD packet to send [08:55:59]OFD Sender: No OFD packet to send [08:56:04]OFD Sender: No OFD packet to send [08:56:09]OFD Sender: No OFD packet to send [08:56:14]OFD Sender: No OFD packet to send [08:56:19]OFD Sender: No OFD packet to send [08:56:24]OFD Sender: No OFD packet to send [08:56:29]OFD Sender: No OFD packet to send [08:56:34]OFD Sender: No OFD packet to send [08:56:39]OFD Sender: No OFD packet to send [08:56:44]OFD Sender: No OFD packet to send [08:56:49]OFD Sender: No OFD packet to send [08:56:54]OFD Sender: No OFD packet to send [08:56:59]OFD Sender: No OFD packet to send [08:57:04]OFD Sender: No OFD packet to send [08:57:09]OFD Sender: No OFD packet to send [08:57:14]OFD Sender: No OFD packet to send [08:57:19]OFD Sender: No OFD packet to send [08:57:24]OFD Sender: No OFD packet to send [08:57:29]OFD Sender: No OFD packet to send [08:57:34]OFD Sender: No OFD packet to send [08:57:39]OFD Sender: No OFD packet to send [08:57:44]OFD Sender: No OFD packet to send [08:57:49]OFD Sender: No OFD packet to send [08:57:54]OFD Sender: No OFD packet to send [08:57:59]OFD Sender: No OFD packet to send [08:58:04]OFD Sender: No OFD packet to send [08:58:09]OFD Sender: No OFD packet to send [08:58:14]OFD Sender: No OFD packet to send [08:58:19]OFD Sender: No OFD packet to send [08:58:24]OFD Sender: No OFD packet to send [08:58:29]OFD Sender: No OFD packet to send [08:58:34]OFD Sender: No OFD packet to send [08:58:39]OFD Sender: No OFD packet to send [08:58:44]OFD Sender: No OFD packet to send [08:58:49]OFD Sender: No OFD packet to send [08:58:54]OFD Sender: No OFD packet to send [08:58:59]OFD Sender: No OFD packet to send [08:59:04]OFD Sender: No OFD packet to send [08:59:09]OFD Sender: No OFD packet to send [08:59:14]OFD Sender: No OFD packet to send [08:59:19]OFD Sender: No OFD packet to send [08:59:24]OFD Sender: No OFD packet to send [08:59:29]OFD Sender: No OFD packet to send [08:59:34]OFD Sender: No OFD packet to send [08:59:39]OFD Sender: No OFD packet to send [08:59:44]OFD Sender: No OFD packet to send [08:59:49]OFD Sender: No OFD packet to send [08:59:54]OFD Sender: No OFD packet to send [08:59:59]OFD Sender: No OFD packet to send [09:00:04]OFD Sender: No OFD packet to send [09:00:09]OFD Sender: No OFD packet to send [09:00:14]OFD Sender: No OFD packet to send [09:00:19]OFD Sender: No OFD packet to send [09:00:24]OFD Sender: No OFD packet to send [09:00:29]OFD Sender: No OFD packet to send [09:00:34]OFD Sender: No OFD packet to send [09:00:39]OFD Sender: No OFD packet to send [09:00:44]OFD Sender: No OFD packet to send [09:00:49]OFD Sender: No OFD packet to send [09:00:54]OFD Sender: No OFD packet to send [09:00:59]OFD Sender: No OFD packet to send [09:01:04]OFD Sender: No OFD packet to send [09:01:09]OFD Sender: No OFD packet to send [09:01:14]OFD Sender: No OFD packet to send [09:01:19]OFD Sender: No OFD packet to send [09:01:24]OFD Sender: No OFD packet to send [09:01:29]OFD Sender: No OFD packet to send [09:01:34]OFD Sender: No OFD packet to send [09:01:39]OFD Sender: No OFD packet to send [09:01:44]OFD Sender: No OFD packet to send [09:01:49]OFD Sender: No OFD packet to send [09:01:54]OFD Sender: No OFD packet to send [09:01:59]OFD Sender: No OFD packet to send [09:02:04]OFD Sender: No OFD packet to send [09:02:09]OFD Sender: No OFD packet to send [09:02:14]OFD Sender: No OFD packet to send [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:25]OFD Sender: No OFD packet to send [09:04:30]OFD Sender: No OFD packet to send [09:04:35]OFD Sender: No OFD packet to send [09:04:40]OFD Sender: No OFD packet to send [09:04:45]OFD Sender: No OFD packet to send [09:04:50]OFD Sender: No OFD packet to send [09:04:55]OFD Sender: No OFD packet to send [09:05:00]OFD Sender: No OFD packet to send [09:05:05]OFD Sender: No OFD packet to send [09:05:10]OFD Sender: No OFD packet to send [09:05:15]OFD Sender: No OFD packet to send [09:05:20]OFD Sender: No OFD packet to send [09:05:25]OFD Sender: No OFD packet to send [09:05:30]OFD Sender: No OFD packet to send [09:05:35]OFD Sender: No OFD packet to send [09:05:40]OFD Sender: No OFD packet to send [09:05:45]OFD Sender: No OFD packet to send [09:05:50]OFD Sender: No OFD packet to send [09:05:55]OFD Sender: No OFD packet to send [09:06:00]OFD Sender: No OFD packet to send [09:06:05]OFD Sender: No OFD packet to send [09:06:10]OFD Sender: No OFD packet to send [09:06:15]OFD Sender: No OFD packet to send [09:06:20]OFD Sender: No OFD packet to send [09:06:25]OFD Sender: No OFD packet to send [09:06:30]OFD Sender: No OFD packet to send [09:06:35]OFD Sender: No OFD packet to send [09:06:40]OFD Sender: No OFD packet to send [09:06:45]OFD Sender: No OFD packet to send [09:06:50]OFD Sender: No OFD packet to send [09:06:55]OFD Sender: No OFD packet to send [09:07:00]OFD Sender: No OFD packet to send [09:07:05]OFD Sender: No OFD packet to send [09:07:10]OFD Sender: No OFD packet to send [09:07:15]OFD Sender: No OFD packet to send [09:07:20]OFD Sender: No OFD packet to send [09:07:25]OFD Sender: No OFD packet to send [09:07:30]OFD Sender: No OFD packet to send [09:07:35]OFD Sender: No OFD packet to send [09:07:40]OFD Sender: No OFD packet to send [09:07:45]OFD Sender: No OFD packet to send [09:07:50]OFD Sender: No OFD packet to send [09:07:55]OFD Sender: No OFD packet to send [09:08:00]OFD Sender: No OFD packet to send [09:08:05]OFD Sender: No OFD packet to send [09:08:10]OFD Sender: No OFD packet to send [09:08:15]OFD Sender: No OFD packet to send [09:08:20]OFD Sender: No OFD packet to send [09:08:25]OFD Sender: No OFD packet to send [09:08:30]OFD Sender: No OFD packet to send [09:08:35]OFD Sender: No OFD packet to send [09:08:40]OFD Sender: No OFD packet to send [09:08:45]OFD Sender: No OFD packet to send [09:08:50]OFD Sender: No OFD packet to send [09:08:55]OFD Sender: No OFD packet to send [09:09:00]OFD Sender: No OFD packet to send [09:09:05]OFD Sender: No OFD packet to send [09:09:10]OFD Sender: No OFD packet to send [09:09:15]OFD Sender: No OFD packet to send [09:09:20]OFD Sender: No OFD packet to send [09:09:25]OFD Sender: No OFD packet to send [09:09:30]OFD Sender: No OFD packet to send [09:09:35]OFD Sender: No OFD packet to send [09:09:40]OFD Sender: No OFD packet to send [09:09:45]OFD Sender: No OFD packet to send [09:09:50]OFD Sender: No OFD packet to send [09:09:55]OFD Sender: No OFD packet to send [09:10:00]OFD Sender: No OFD packet to send [09:10:05]OFD Sender: No OFD packet to send [09:10:10]OFD Sender: No OFD packet to send [09:10:15]OFD Sender: No OFD packet to send [09:10:20]OFD Sender: No OFD packet to send [09:10:25]OFD Sender: No OFD packet to send [09:10:30]OFD Sender: No OFD packet to send [09:10:35]OFD Sender: No OFD packet to send [09:10:40]OFD Sender: No OFD packet to send [09:10:45]OFD Sender: No OFD packet to send [09:10:50]OFD Sender: No OFD packet to send [09:10:55]OFD Sender: No OFD packet to send [09:11:00]OFD Sender: No OFD packet to send [09:11:05]OFD Sender: No OFD packet to send [09:11:10]OFD Sender: No OFD packet to send [09:11:15]OFD Sender: No OFD packet to send [09:11:20]OFD Sender: No OFD packet to send [09:11:25]OFD Sender: No OFD packet to send [09:11:30]OFD Sender: No OFD packet to send [09:11:35]OFD Sender: No OFD packet to send [09:11:40]OFD Sender: No OFD packet to send [09:11:45]OFD Sender: No OFD packet to send [09:11:50]OFD Sender: No OFD packet to send [09:11:55]OFD Sender: No OFD packet to send [09:12:00]OFD Sender: No OFD packet to send [09:12:05]OFD Sender: No OFD packet to send [09:12:10]OFD Sender: No OFD packet to send [09:12:15]OFD Sender: No OFD packet to send [09:12:20]OFD Sender: No OFD packet to send [09:12:25]OFD Sender: No OFD packet to send [09:12:30]OFD Sender: No OFD packet to send [09:12:35]OFD Sender: No OFD packet to send [09:12:40]OFD Sender: No OFD packet to send [09:12:45]OFD Sender: No OFD packet to send [09:12:50]OFD Sender: No OFD packet to send [09:12:55]OFD Sender: No OFD packet to send [09:13:00]OFD Sender: No OFD packet to send [09:13:05]OFD Sender: No OFD packet to send [09:13:10]OFD Sender: No OFD packet to send [09:13:15]OFD Sender: No OFD packet to send [09:13:20]OFD Sender: No OFD packet to send [09:13:25]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:06]OFD Sender: No OFD packet to send [09:25:11]OFD Sender: No OFD packet to send [09:25:16]OFD Sender: No OFD packet to send [09:25:21]OFD Sender: No OFD packet to send [09:25:26]OFD Sender: No OFD packet to send [09:25:31]OFD Sender: No OFD packet to send [09:25:36]OFD Sender: No OFD packet to send [09:25:41]OFD Sender: No OFD packet to send [09:25:46]OFD Sender: No OFD packet to send [09:25:51]OFD Sender: No OFD packet to send [09:25:56]OFD Sender: No OFD packet to send [09:26:01]OFD Sender: No OFD packet to send [09:26:06]OFD Sender: No OFD packet to send [09:26:11]OFD Sender: No OFD packet to send [09:26:16]OFD Sender: No OFD packet to send [09:26:21]OFD Sender: No OFD packet to send [09:26:26]OFD Sender: No OFD packet to send [09:26:31]OFD Sender: No OFD packet to send [09:26:36]OFD Sender: No OFD packet to send [09:26:41]OFD Sender: No OFD packet to send [09:26:46]OFD Sender: No OFD packet to send [09:26:51]OFD Sender: No OFD packet to send [09:26:56]OFD Sender: No OFD packet to send [09:27:01]OFD Sender: No OFD packet to send [09:27:06]OFD Sender: No OFD packet to send [09:27:11]OFD Sender: No OFD packet to send [09:27:16]OFD Sender: No OFD packet to send [09:27:21]OFD Sender: No OFD packet to send [09:27:26]OFD Sender: No OFD packet to send [09:27:31]OFD Sender: No OFD packet to send [09:27:36]OFD Sender: No OFD packet to send [09:27:41]OFD Sender: No OFD packet to send [09:27:46]OFD Sender: No OFD packet to send [09:27:51]OFD Sender: No OFD packet to send [09:27:56]OFD Sender: No OFD packet to send [09:28:01]OFD Sender: No OFD packet to send [09:28:06]OFD Sender: No OFD packet to send [09:28:11]OFD Sender: No OFD packet to send [09:28:16]OFD Sender: No OFD packet to send [09:28:21]OFD Sender: No OFD packet to send [09:28:26]OFD Sender: No OFD packet to send [09:28:31]OFD Sender: No OFD packet to send [09:28:36]OFD Sender: No OFD packet to send [09:28:41]OFD Sender: No OFD packet to send [09:28:46]OFD Sender: No OFD packet to send [09:28:51]OFD Sender: No OFD packet to send [09:28:56]OFD Sender: No OFD packet to send [09:29:01]OFD Sender: No OFD packet to send [09:29:06]OFD Sender: No OFD packet to send [09:29:11]OFD Sender: No OFD packet to send [09:29:16]OFD Sender: No OFD packet to send [09:29:21]OFD Sender: No OFD packet to send [09:29:26]OFD Sender: No OFD packet to send [09:29:31]OFD Sender: No OFD packet to send [09:29:36]OFD Sender: No OFD packet to send [09:29:41]OFD Sender: No OFD packet to send [09:29:46]OFD Sender: No OFD packet to send [09:29:51]OFD Sender: No OFD packet to send [09:29:56]OFD Sender: No OFD packet to send [09:30:01]OFD Sender: No OFD packet to send [09:30:06]OFD Sender: No OFD packet to send [09:30:11]OFD Sender: No OFD packet to send [09:30:16]OFD Sender: No OFD packet to send [09:30:21]OFD Sender: No OFD packet to send [09:30:26]OFD Sender: No OFD packet to send [09:30:31]OFD Sender: No OFD packet to send [09:30:36]OFD Sender: No OFD packet to send [09:30:41]OFD Sender: No OFD packet to send [09:30:46]OFD Sender: No OFD packet to send [09:30:51]OFD Sender: No OFD packet to send [09:30:56]OFD Sender: No OFD packet to send [09:31:01]OFD Sender: No OFD packet to send [09:31:06]OFD Sender: No OFD packet to send [09:31:11]OFD Sender: No OFD packet to send [09:31:16]OFD Sender: No OFD packet to send [09:31:21]OFD Sender: No OFD packet to send [09:31:26]OFD Sender: No OFD packet to send [09:31:31]OFD Sender: No OFD packet to send [09:31:36]OFD Sender: No OFD packet to send [09:31:41]OFD Sender: No OFD packet to send [09:31:46]OFD Sender: No OFD packet to send [09:31:51]OFD Sender: No OFD packet to send [09:31:56]OFD Sender: No OFD packet to send [09:32:01]OFD Sender: No OFD packet to send [09:32:06]OFD Sender: No OFD packet to send [09:32:11]OFD Sender: No OFD packet to send [09:32:16]OFD Sender: No OFD packet to send [09:32:21]OFD Sender: No OFD packet to send [09:32:26]OFD Sender: No OFD packet to send [09:32:31]OFD Sender: No OFD packet to send [09:32:36]OFD Sender: No OFD packet to send [09:32:41]OFD Sender: No OFD packet to send [09:32:46]OFD Sender: No OFD packet to send [09:32:51]OFD Sender: No OFD packet to send [09:32:56]OFD Sender: No OFD packet to send [09:33:01]OFD Sender: No OFD packet to send [09:33:06]OFD Sender: No OFD packet to send [09:33:11]OFD Sender: No OFD packet to send [09:33:16]OFD Sender: No OFD packet to send [09:33:21]OFD Sender: No OFD packet to send [09:33:26]OFD Sender: No OFD packet to send [09:33:31]OFD Sender: No OFD packet to send [09:33:36]OFD Sender: No OFD packet to send [09:33:41]OFD Sender: No OFD packet to send [09:33:46]OFD Sender: No OFD packet to send [09:33:51]OFD Sender: No OFD packet to send [09:33:56]OFD Sender: No OFD packet to send [09:34:01]OFD Sender: No OFD packet to send [09:34:06]OFD Sender: No OFD packet to send [09:34:11]OFD Sender: No OFD packet to send [09:34:16]OFD Sender: No OFD packet to send [09:34:21]OFD Sender: No OFD packet to send [09:34:26]OFD Sender: No OFD packet to send [09:34:31]OFD Sender: No OFD packet to send [09:34:36]OFD Sender: No OFD packet to send [09:34:41]OFD Sender: No OFD packet to send [09:34:46]OFD Sender: No OFD packet to send [09:34:51]OFD Sender: No OFD packet to send [09:34:56]OFD Sender: No OFD packet to send [09:35:01]OFD Sender: No OFD packet to send [09:35:06]OFD Sender: No OFD packet to send [09:35:11]OFD Sender: No OFD packet to send [09:35:16]OFD Sender: No OFD packet to send [09:35:21]OFD Sender: No OFD packet to send [09:35:26]OFD Sender: No OFD packet to send [09:35:31]OFD Sender: No OFD packet to send [09:35:36]OFD Sender: No OFD packet to send [09:35:41]OFD Sender: No OFD packet to send [09:35:46]OFD Sender: No OFD packet to send [09:35:51]OFD Sender: No OFD packet to send [09:35:56]OFD Sender: No OFD packet to send [09:36:01]OFD Sender: No OFD packet to send [09:36:06]OFD Sender: No OFD packet to send [09:36:11]OFD Sender: No OFD packet to send [09:36:16]OFD Sender: No OFD packet to send [09:36:21]OFD Sender: No OFD packet to send [09:36:26]OFD Sender: No OFD packet to send [09:36:31]OFD Sender: No OFD packet to send [09:36:36]OFD Sender: No OFD packet to send [09:36:41]OFD Sender: No OFD packet to send [09:36:46]OFD Sender: No OFD packet to send [09:36:51]OFD Sender: No OFD packet to send [09:36:56]OFD Sender: No OFD packet to send [09:37:01]OFD Sender: No OFD packet to send [09:37:06]OFD Sender: No OFD packet to send [09:37:11]OFD Sender: No OFD packet to send [09:37:16]OFD Sender: No OFD packet to send [09:37:21]OFD Sender: No OFD packet to send [09:37:26]OFD Sender: No OFD packet to send [09:37:31]OFD Sender: No OFD packet to send [09:37:36]OFD Sender: No OFD packet to send [09:37:41]OFD Sender: No OFD packet to send [09:37:46]OFD Sender: No OFD packet to send [09:37:51]OFD Sender: No OFD packet to send [09:37:56]OFD Sender: No OFD packet to send [09:38:01]OFD Sender: No OFD packet to send [09:38:06]OFD Sender: No OFD packet to send [09:38:11]OFD Sender: No OFD packet to send [09:38:16]OFD Sender: No OFD packet to send [09:38:21]OFD Sender: No OFD packet to send [09:38:26]OFD Sender: No OFD packet to send [09:38:31]OFD Sender: No OFD packet to send [09:38:36]OFD Sender: No OFD packet to send [09:38:41]OFD Sender: No OFD packet to send [09:38:46]OFD Sender: No OFD packet to send [09:38:51]OFD Sender: No OFD packet to send [09:38:56]OFD Sender: No OFD packet to send [09:39:01]OFD Sender: No OFD packet to send [09:39:06]OFD Sender: No OFD packet to send [09:39:11]OFD Sender: No OFD packet to send [09:39:16]OFD Sender: No OFD packet to send [09:39:21]OFD Sender: No OFD packet to send [09:39:26]OFD Sender: No OFD packet to send [09:39:31]OFD Sender: No OFD packet to send [09:39:36]OFD Sender: No OFD packet to send [09:39:41]OFD Sender: No OFD packet to send [09:39:46]OFD Sender: No OFD packet to send [09:39:51]OFD Sender: No OFD packet to send [09:39:56]OFD Sender: No OFD packet to send [09:40:01]OFD Sender: No OFD packet to send [09:40:06]OFD Sender: No OFD packet to send [09:40:11]OFD Sender: No OFD packet to send [09:40:16]OFD Sender: No OFD packet to send [09:40:21]OFD Sender: No OFD packet to send [09:40:26]OFD Sender: No OFD packet to send [09:40:31]OFD Sender: No OFD packet to send [09:40:36]OFD Sender: No OFD packet to send [09:40:41]OFD Sender: No OFD packet to send [09:40:46]OFD Sender: No OFD packet to send [09:40:51]OFD Sender: No OFD packet to send [09:40:56]OFD Sender: No OFD packet to send [09:41:01]OFD Sender: No OFD packet to send [09:41:06]OFD Sender: No OFD packet to send [09:41:11]OFD Sender: No OFD packet to send [09:41:16]OFD Sender: No OFD packet to send [09:41:21]OFD Sender: No OFD packet to send [09:41:26]OFD Sender: No OFD packet to send [09:41:31]OFD Sender: No OFD packet to send [09:41:36]OFD Sender: No OFD packet to send [09:41:41]OFD Sender: No OFD packet to send [09:41:46]OFD Sender: No OFD packet to send [09:41:51]OFD Sender: No OFD packet to send [09:41:56]OFD Sender: No OFD packet to send [09:42:01]OFD Sender: No OFD packet to send [09:42:06]OFD Sender: No OFD packet to send [09:42:11]OFD Sender: No OFD packet to send [09:42:16]OFD Sender: No OFD packet to send [09:42:21]OFD Sender: No OFD packet to send [09:42:26]OFD Sender: No OFD packet to send [09:42:31]OFD Sender: No OFD packet to send [09:42:36]OFD Sender: No OFD packet to send [09:42:41]OFD Sender: No OFD packet to send [09:42:46]OFD Sender: No OFD packet to send [09:42:51]OFD Sender: No OFD packet to send [09:42:56]OFD Sender: No OFD packet to send [09:43:01]OFD Sender: No OFD packet to send [09:43:06]OFD Sender: No OFD packet to send [09:43:11]OFD Sender: No OFD packet to send [09:43:16]OFD Sender: No OFD packet to send [09:43:21]OFD Sender: No OFD packet to send [09:43:26]OFD Sender: No OFD packet to send [09:43:31]OFD Sender: No OFD packet to send [09:43:36]OFD Sender: No OFD packet to send [09:43:41]OFD Sender: No OFD packet to send [09:43:46]OFD Sender: No OFD packet to send [09:43:51]OFD Sender: No OFD packet to send [09:43:56]OFD Sender: No OFD packet to send [09:44:01]OFD Sender: No OFD packet to send [09:44:06]OFD Sender: No OFD packet to send [09:44:11]OFD Sender: No OFD packet to send [09:44:16]OFD Sender: No OFD packet to send [09:44:21]OFD Sender: No OFD packet to send [09:44:26]OFD Sender: No OFD packet to send [09:44:31]OFD Sender: No OFD packet to send [09:44:36]OFD Sender: No OFD packet to send [09:44:41]OFD Sender: No OFD packet to send [09:44:46]OFD Sender: No OFD packet to send [09:44:51]OFD Sender: No OFD packet to send [09:44:56]OFD Sender: No OFD packet to send [09:45:01]OFD Sender: No OFD packet to send [09:45:06]OFD Sender: No OFD packet to send [09:45:11]OFD Sender: No OFD packet to send [09:45:16]OFD Sender: No OFD packet to send [09:45:21]OFD Sender: No OFD packet to send [09:45:26]OFD Sender: No OFD packet to send [09:45:31]OFD Sender: No OFD packet to send [09:45:36]OFD Sender: No OFD packet to send [09:45:41]OFD Sender: No OFD packet to send [09:45:47]OFD Sender: No OFD packet to send [09:45:52]OFD Sender: No OFD packet to send [09:45:57]OFD Sender: No OFD packet to send [09:46:02]OFD Sender: No OFD packet to send [09:46:06]accept exits with 9 [09:46:06]New connection [09:46:06]New thread 3067170148 created [09:46:06]Thread 3067026788 joined [09:46:06]Waiting for new connection... [09:46:06] Sock 9.Parse request [09:46:06]Sock 9.Check first char [09:46:06]Sock 9.First char is OK [09:46:06]request: POST /json_proto HTTP/1.0 [09:46:06]Method: POST [09:46:06]URL: /json_proto [09:46:06]Method is POST - this is cgi request [09:46:06]url: /json_proto [09:46:06]query_string will be loaded in cgi processing [09:46:06]execute_cgi json_proto POST (null) [09:46:06]execute_cgi path=json_proto method=POST [09:46:06]POST find Content-Length [09:46:06]Host: 172.17.36.131:8080 [09:46:06]Content-Length: 1422 [09:46:06]Content-Type: application/json [09:46:06] [09:46:06]POST finish read [09:46:06]Found Content-Length = 1422 [09:46:06]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100030", "tax_sys" : 0, "items" : [ { "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 2.000, "sum" : 230.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" : 5.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4011100977952", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0422\u0432\u0438\u043A\u0441 55\u0433", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46241634", "name": "\u041C\u0435\u043D\u0442\u043E\u0441 \u041F\u0424 \u0440\u043E\u043B\u043B \u0421\u041C XXL 8*24*23,3\u0433", "price" : 62.00, "quantity" : 1.000, "sum" : 62.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 402.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:46:06]execute_script... [09:46: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)100030", "tax_sys" : 0, "items" : [ { "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 2.000, "sum" : 230.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" : 5.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4011100977952", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0422\u0432\u0438\u043A\u0441 55\u0433", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46241634", "name": "\u041C\u0435\u043D\u0442\u043E\u0441 \u041F\u0424 \u0440\u043E\u043B\u043B \u0421\u041C XXL 8*24*23,3\u0433", "price" : 62.00, "quantity" : 1.000, "sum" : 62.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 402.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:46:06]POST & json_proto [09:46:06]process_json_proto [09:46:06]json parsed OK: [09:46:06]protocol is kg_v1.0 [09:46:06]action value=close_receipt [09:46:06]process_action close_receipt [09:46:06]cmd_close_receipt [09:46:06]MH_GetDate [09:46:06]Write to MH i2c: F0 00 00 3E 01 2E [09:46:06]Write i2c OK [09:46:06]MH_I2C_Read... [09:46:06]Read from MH i2c: F0 [09:46:06]MH_I2C_Read... [09:46:06]Read from MH i2c: F0 09 00 [09:46:06]MH_I2C_Read... [09:46:06]Read from MH i2c: F0 09 00 3E 01 00 5F E2 5E 66 A7 4C 98 65 2C [09:46:06]GetLastDocTimeStamp 1717490261 [09:46:06]current date 1717494367 [09:46:06]FM_GetShiftState [09:46:06]SAM_PROTO_GetShiftState [09:46:06]wFMCommunicate request_size=4 [09:46:06]MH_SAM_APDU [09:46:06]CAPDU: 80 13 01 00 [09:46:06]Write to MH i2c: E2 08 00 3F 01 80 13 01 00 00 00 00 00 BD [09:46:06]Write i2c OK [09:46:06]MH_I2C_Read... [09:46:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:46:06]Read from MH i2c: E2 [09:46:06]MH_I2C_Read... [09:46:06]Read from MH i2c: E2 0E 00 [09:46:06]MH_I2C_Read... [09:46:06]Read from MH i2c: E2 0E 00 3F 01 00 09 00 01 35 5B 5E 66 00 00 00 00 90 00 1D [09:46:06]RAPDU: 09 00 01 35 5B 5E 66 00 00 00 00 90 00 [09:46:06]wFMCommunicate OK [09:46:06]SAM_PROTO_GetShiftState done [09:46:06]FM_GetShiftState done [09:46:06]opened in 1717459765 [09:46:06]opened+sec_in_day 1717546165 [09:46:06]quantity*price = 23000 [09:46:06]sum+1 = 23001 [09:46:06]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 46226624 Mentos ПВ Клубника 6*100*2 5.000 * 10.00 = 50.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4011100977952 Шок Батончик Твикс 55г 1.000 * 60.00 = 60.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 46241634 Ментос ПФ ролл СМ XXL 8*24*23,3г 1.000 * 62.00 = 62.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 402.00 НСП 1% : 3.55 НДС 12% : 42.68 Наличными: 402.00 Безнал.: 0.00 Место: АЗС № 62 "Партнер Нефть" Адрес: 720001, г. Балыкчы, ул. Абдрахманова 325 Б, 42.462761, 76.214931 СНО: Общий режим Чек 12 04.06.2024 09:46 Смена: 368 ФФД: 1.0 ЗНМ: 0300000080 РНМ: 0000000000096838 Версия ККМ: 001 ФМ: 0000000000874859 ФД: 34668 ФПД: 138348588915867 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T094607&type=1&operation_type=1&fn_number=0000000000874859&fd_number=34668&fm=138348588915867&tin=02508201610067®Number=0000000000096838&sum=40200 0 [09:46:07]StoreToDocumentArchive [09:46:07]shift 368 fd 34668 [09:46:07]save to /storage/0368/doc_00034668 [09:46:07]save last doc name /storage/0368/doc_00034668 to /storage/kkm_last_doc_name [09:46:07]save OK [09:46:07]Clear old archive folders... [09:46:07]ProcessDocumentItem done err = 0, tmpTLVsize=602 [09:46:07]tlvbuf is 01B4EDF0 [09:46:07]SAM_PROTO_ClearQueue [09:46:07]wFMCommunicate request_size=4 [09:46:07]MH_SAM_APDU [09:46:07]CAPDU: 80 09 00 00 [09:46:07]Write to MH i2c: E2 08 00 4C 01 80 09 00 00 00 00 00 00 BF [09:46:07]Write i2c OK [09:46:07]MH_I2C_Read... [09:46:07]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:46:07]Read from MH i2c: E2 [09:46:07]MH_I2C_Read... [09:46:07]Read from MH i2c: E2 03 00 [09:46:07]MH_I2C_Read... [09:46:07]Read from MH i2c: E2 03 00 4C 01 00 90 00 C1 [09:46:07]RAPDU: 90 00 [09:46:07]wFMCommunicate OK [09:46:07]SAM_PROTO_ClearQueue done [09:46:07]KKMCreateOFDPacket [09:46:07]OFDProtocolAddRootSTLVToBuf [09:46:07]FM_MakeSignedData [09:46:07]FM_MakeSignedData [09:46:07]SAM_PROTO_SignData [09:46:07]wFMCommunicate request_size=4 [09:46:07]MH_SAM_APDU [09:46:07]CAPDU: 80 0D 01 02 [09:46:07]Write to MH i2c: E2 08 00 4D 01 80 0D 01 02 00 00 00 00 C7 [09:46:07]Write i2c OK [09:46:07]MH_I2C_Read... [09:46:07]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:46:07]Read from MH i2c: E2 [09:46:07]MH_I2C_Read... [09:46:07]Read from MH i2c: E2 03 00 [09:46:07]MH_I2C_Read... [09:46:07]Read from MH i2c: E2 03 00 4D 01 00 90 00 C2 [09:46:07]RAPDU: 90 00 [09:46:07]wFMCommunicate OK [09:46:07]wFMCommunicate request_size=255 [09:46:07]MH_SAM_APDU [09:46:07]CAPDU: 80 0D 02 02 FA 03 00 5A 02 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 D8 59 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 88 13 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 30 31 31 31 30 30 39 37 37 39 35 32 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 91 [09:46:07]Write to MH i2c: E2 02 01 4E 01 80 0D 02 02 FA 00 03 00 5A 02 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 D8 59 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 88 13 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 30 31 31 31 30 30 39 37 37 39 35 32 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 91 00 00 7F [09:46:07]Write i2c OK [09:46:07]MH_I2C_Read... [09:46:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:46:08]Read from MH i2c: E2 [09:46:08]MH_I2C_Read... [09:46:08]Read from MH i2c: E2 03 00 [09:46:08]MH_I2C_Read... [09:46:08]Read from MH i2c: E2 03 00 4E 01 00 90 00 C3 [09:46:08]RAPDU: 90 00 [09:46:08]wFMCommunicate OK [09:46:08]wFMCommunicate request_size=255 [09:46:08]MH_SAM_APDU [09:46:08]CAPDU: 80 0D 02 02 FA D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A2 D0 B2 D0 B8 D0 BA D1 81 20 35 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6E 00 8A 04 08 00 34 36 32 34 31 36 33 34 06 04 2F 00 D0 9C D0 B5 D0 BD D1 82 D0 BE D1 81 20 D0 9F D0 A4 20 D1 80 D0 BE D0 BB D0 BB 20 D0 A1 D0 9C 20 58 58 4C 20 38 2A 32 34 2A 32 33 2C 33 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 38 18 00 00 00 00 13 04 06 00 38 18 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 9D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 63 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AC 10 00 00 00 00 07 04 06 00 08 9D 00 [09:46:08]Write to MH i2c: E2 02 01 4F 01 80 0D 02 02 FA 00 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A2 D0 B2 D0 B8 D0 BA D1 81 20 35 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6E 00 8A 04 08 00 34 36 32 34 31 36 33 34 06 04 2F 00 D0 9C D0 B5 D0 BD D1 82 D0 BE D1 81 20 D0 9F D0 A4 20 D1 80 D0 BE D0 BB D0 BB 20 D0 A1 D0 9C 20 58 58 4C 20 38 2A 32 34 2A 32 33 2C 33 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 38 18 00 00 00 00 13 04 06 00 38 18 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 9D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 63 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AC 10 00 00 00 00 07 04 06 00 08 9D 00 00 00 1E [09:46:08]Write i2c OK [09:46:08]MH_I2C_Read... [09:46:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:46:08]Read from MH i2c: E2 [09:46:08]MH_I2C_Read... [09:46:08]Read from MH i2c: E2 03 00 [09:46:08]MH_I2C_Read... [09:46:08]Read from MH i2c: E2 03 00 4F 01 00 90 00 C4 [09:46:08]RAPDU: 90 00 [09:46:08]wFMCommunicate OK [09:46:08]wFMCommunicate request_size=111 [09:46:08]MH_SAM_APDU [09:46:08]CAPDU: 80 0D 02 02 6A 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 5F E2 5E 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 6C 87 00 00 35 04 06 00 7D D3 CA 7F 5C 9B [09:46:08]Write to MH i2c: E2 72 00 50 01 80 0D 02 02 6A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 5F E2 5E 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 6C 87 00 00 35 04 06 00 7D D3 CA 7F 5C 9B 00 00 DF [09:46:08]Write i2c OK [09:46:08]MH_I2C_Read... [09:46:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:46:08]Read from MH i2c: E2 [09:46:08]MH_I2C_Read... [09:46:08]Read from MH i2c: E2 03 00 [09:46:08]MH_I2C_Read... [09:46:08]Read from MH i2c: E2 03 00 50 01 00 90 00 C5 [09:46:08]RAPDU: 90 00 [09:46:08]wFMCommunicate OK [09:46:08]wFMCommunicate request_size=4 [09:46:08]MH_SAM_APDU [09:46:08]CAPDU: 80 0D 03 02 [09:46:08]Write to MH i2c: E2 08 00 51 01 80 0D 03 02 00 00 00 00 CD [09:46:08]Write i2c OK [09:46:08]MH_I2C_Read... [09:46:08]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:46:08]Read from MH i2c: E2 [09:46:08]MH_I2C_Read... [09:46:08]Read from MH i2c: E2 0B 00 [09:46:08]MH_I2C_Read... [09:46:08]Read from MH i2c: E2 0B 00 51 01 00 C2 49 75 5A 06 43 E1 6B 90 00 3D [09:46:08]RAPDU: C2 49 75 5A 06 43 E1 6B 90 00 [09:46:08]wFMCommunicate OK [09:46:08]SAM_PROTO_SignData done [09:46:08]FM_MakeSignedData done [09:46:08]CreateOFDProtocolMessage [09:46:08]wFMCommunicate request_size=4 [09:46:08]MH_SAM_APDU [09:46:08]CAPDU: 80 11 00 00 [09:46:08]Write to MH i2c: E2 08 00 52 01 80 11 00 00 00 00 00 00 CD [09:46:08]Write i2c OK [09:46:08]MH_I2C_Read... [09:46:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:46:08]Read from MH i2c: E2 [09:46:08]MH_I2C_Read... [09:46:08]Read from MH i2c: E2 17 00 [09:46:08]MH_I2C_Read... [09:46:08]Read from MH i2c: E2 17 00 52 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 29 [09:46:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 [09:46:08]wFMCommunicate OK [09:46:08]CreateOFDProtocolMessage done [09:46:08]OFDSenderStorePacket 34668 [09:46:08]StoreOFDPacket docnum=34668 [09:46:08]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 6E 02 00 00 80 47 66 02 06 50 5A 03 01 00 03 00 5A 02 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 D8 59 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 88 13 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 30 31 31 31 30 30 39 37 37 39 35 32 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A2 D0 B2 D0 B8 D0 BA D1 81 20 35 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6E 00 8A 04 08 00 34 36 32 34 31 36 33 34 06 04 2F 00 D0 9C D0 B5 D0 BD D1 82 D0 BE D1 81 20 D0 9F D0 A4 20 D1 80 D0 BE D0 BB D0 BB 20 D0 A1 D0 9C 20 58 58 4C 20 38 2A 32 34 2A 32 33 2C 33 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 38 18 00 00 00 00 13 04 06 00 38 18 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 9D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 63 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AC 10 00 00 00 00 07 04 06 00 08 9D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 5F E2 5E 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 6C 87 00 00 35 04 06 00 7D D3 CA 7F 5C 9B C2 49 75 5A 06 43 E1 6B [09:46:08]CheckFolder [09:46:08]dirname=/storage/ofd_packets [09:46:08]CheckFolder done [09:46:08]ProducePacketName [09:46:08]name=ofd_packets/00034668 [09:46:08]NVStorageSaveData ofd_packets/00034668 [09:46:08]File name is /storage/ofd_packets/00034668 [09:46:08]Write 652 bytes [09:46:08]NVStorageSaveData done [09:46:08]OFDSenderStorePacket done [09:46:08]KKMCreateOFDPacket done [09:46:08]NVStorageSaveData kkm_last_timestamp [09:46:08]File name is /storage/kkm_last_timestamp [09:46:08]Write 4 bytes [09:46:08]NVStorageSaveData done [09:46:08]ExternCall_PrintAddStr [09:46:08]wPrintStart [09:46:08]Write to MH i2c: 01 00 00 53 01 54 [09:46:08]Write i2c OK [09:46:08]MH_I2C_Read... [09:46:08]Read from MH i2c: 01 [09:46:08]MH_I2C_Read... [09:46:08]Read from MH i2c: 01 07 00 [09:46:08]MH_I2C_Read... [09:46:08]Read from MH i2c: 01 07 00 53 01 00 00 00 00 00 FF 0F 69 [09:46:08]RasterBufferAndPrint [09:46:08]line Счет N : (3)100030 [09:46:08]line ИНН: 02508201610067 [09:46:08]line Контрольно-Кассовый Чек [09:46:08]line ПРОДАЖА [09:46:08]line Товар: 2000036240010 [09:46:08]line Кофе Латте (GABB TRADE) [09:46:08]line 2.000 * 115.00 [09:46:08]line = 230.00 [09:46:08]line НДС 12% НСП 1% [09:46:08]line > о реализуемом товаре [09:46:08]line Товар: 46226624 [09:46:08]line Mentos ПВ Клубника 6*100*2 [09:46:08]line 5.000 * 10.00 [09:46:08]line = 50.00 [09:46:08]line НДС 12% НСП 1% [09:46:09]line > о реализуемом товаре [09:46:09]line Товар: 4011100977952 [09:46:09]line Шок Батончик Твикс 55г [09:46:09]line 1.000 * 60.00 [09:46:09]line = 60.00 [09:46:09]line НДС 12% НСП 1% [09:46:09]line > о реализуемом товаре [09:46:09]line Товар: 46241634 [09:46:09]line Ментос ПФ ролл СМ XXL 8*24*23,3г [09:46:09]line 1.000 * 62.00 [09:46:09]line = 62.00 [09:46:09]line НДС 12% НСП 1% [09:46:09]line > о реализуемом товаре [09:46:09]line ИТОГО: 402.00 [09:46:09]line НСП 1% : 3.55 [09:46:09]line НДС 12% : 42.68 [09:46:09]line Наличными: 402.00 [09:46:09]line Безнал.: 0.00 [09:46:09]line Место: АЗС № 62 "Партнер Нефть" [09:46:09]line Адрес: 720001, г. Балыкчы, ул. Абдрахманова 325 Б, 42.462761, 76.214931 [09:46:09]line СНО: Общий режим [09:46:09]line Чек 12 04.06.2024 09:46 [09:46:09]line Смена: 368 ФФД: 1.0 [09:46:09]line ЗНМ: 0300000080 [09:46:09]line РНМ: 0000000000096838 [09:46:09]line Версия ККМ: 001 [09:46:09]line ФМ: 0000000000874859 [09:46:09]line ФД: 34668 [09:46:09]line ФПД: 138348588915867 [09:46:09]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T094607&type=1&operation_type=1&fn_number=0000000000874859&fd_number=34668&fm=138348588915867&tin=02508201610067®Number=0000000000096838&sum=40200 [09:46:09]line 0 [09:46:09]OFD Sender: Processing packet 34668 [packets to send 17, broken 16] [09:46:09]ProducePacketName [09:46:09]name=ofd_packets/00034668 [09:46:09]OFD Sender: To server: pG, [09:46:09]CommunicateWithHost lk.salyk.kg:30040 [09:46:09]ConnectInit lk.salyk.kg [09:46:09]written 0, free lines is 4095 [09:46:09]Connected sock=10 [09:46:09]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 6E 02 00 00 80 47 66 02 06 50 5A 03 01 00 03 00 5A 02 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 D8 59 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 88 13 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 30 31 31 31 30 30 39 37 37 39 35 32 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A2 D0 B2 D0 B8 D0 BA D1 81 20 35 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6E 00 8A 04 08 00 34 36 32 34 31 36 33 34 06 04 2F 00 D0 9C D0 B5 D0 BD D1 82 D0 BE D1 81 20 D0 9F D0 A4 20 D1 80 D0 BE D0 BB D0 BB 20 D0 A1 D0 9C 20 58 58 4C 20 38 2A 32 34 2A 32 33 2C 33 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 38 18 00 00 00 00 13 04 06 00 38 18 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 9D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 63 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AC 10 00 00 00 00 07 04 06 00 08 9D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 5F E2 5E 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 6C 87 00 00 35 04 06 00 7D D3 CA 7F 5C 9B C2 49 75 5A 06 43 E1 6B [09:46:09]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 4F 00 00 00 DC 3D 47 00 6C B2 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 6C 87 00 00 F4 03 04 00 A0 8C 5E 66 B6 04 01 00 00 B0 E1 02 BD 52 4A 4B 7E [09:46:09]CommunicateWithHost err = 0 [09:46:09]CheckOFDResponse [09:46:09]1017 (14) - 77093643461234 [09:46:09]1041 (16) - 0000000000874859 [09:46:09]1040 (4) - 34668 [09:46:09]1012 (4) - 04.06.2024 03:40 [09:46:09]1206 (1) - 0 [09:46:09]OFD Sender: Remove packet 34668 [09:46:09]ProducePacketName [09:46:09]name=ofd_packets/00034668 [09:46:09]NVStorageDeleteData [09:46:09]Write to MH i2c: 01 00 00 8E 01 8F [09:46:09]Write i2c OK [09:46:09]MH_I2C_Read... [09:46:09]Read from MH i2c: 01 [09:46:09]MH_I2C_Read... [09:46:09]Read from MH i2c: 01 07 00 [09:46:09]MH_I2C_Read... [09:46:09]Read from MH i2c: 01 07 00 8E 01 00 00 00 00 00 45 0C E7 [09:46:09]RasterBufferAndPrint [09:46:09]line [09:46:09]line [09:46:09]line [09:46:09]line [09:46:09]line [09:46:09]written 0, free lines is 3150 [09:46:09]MH_Cut [09:46:09]Write to MH i2c: D1 01 00 95 01 01 68 [09:46:09]Write i2c OK [09:46:09]MH_I2C_Read... [09:46:09]Read from MH i2c: D1 [09:46:09]MH_I2C_Read... [09:46:09]Read from MH i2c: D1 01 00 [09:46:09]MH_I2C_Read... [09:46:09]Read from MH i2c: D1 01 00 95 01 00 67 [09:46:09]Write to MH i2c: 01 00 00 96 01 97 [09:46:09]Write i2c OK [09:46:09]MH_I2C_Read... [09:46:09]OFD Sender: No OFD packet to send [09:46:10]*** Cut start [09:46:10]*** Partial cut [09:46:10]*** CUTSNS_PIN = 1 [09:46:10]*** CUTSNS_PIN = 0 [09:46:10]*** Brake cut motor [09:46:11]Read from MH i2c: 01 [09:46:11]MH_I2C_Read... [09:46:11]*** Stop cut motor [09:46:11]*** Cut end [09:46:11]Read from MH i2c: 01 07 00 [09:46:11]MH_I2C_Read... [09:46:11]Read from MH i2c: 01 07 00 96 01 00 00 00 00 00 FF 0F AC [09:46:11]process_action close_receipt done [09:46:11]requested_data is exist [09:46:11]produce_requested_data [09:46:11]requested_item fm.sn is exist - process it [09:46:11]wFMCommunicate request_size=4 [09:46:11]MH_SAM_APDU [09:46:11]CAPDU: 80 11 00 00 [09:46:11]Write to MH i2c: E2 08 00 97 01 80 11 00 00 00 00 00 00 12 [09:46:11]Write i2c OK [09:46:11]MH_I2C_Read... [09:46:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:46:11]Read from MH i2c: E2 [09:46:11]MH_I2C_Read... [09:46:11]Read from MH i2c: E2 17 00 [09:46:11]MH_I2C_Read... [09:46:11]Read from MH i2c: E2 17 00 97 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 6E [09:46:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 [09:46:11]wFMCommunicate OK [09:46:11]requested_item fd.num is exist - process it [09:46:11]SAM_PROTO_GetFieldsCounters [09:46:11]wFMCommunicate request_size=4 [09:46:11]MH_SAM_APDU [09:46:11]CAPDU: 80 13 00 00 [09:46:11]Write to MH i2c: E2 08 00 98 01 80 13 00 00 00 00 00 00 15 [09:46:11]Write i2c OK [09:46:11]MH_I2C_Read... [09:46:11]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:46:11]Read from MH i2c: E2 [09:46:11]MH_I2C_Read... [09:46:11]Read from MH i2c: E2 62 00 [09:46:11]MH_I2C_Read... [09:46:11]Read from MH i2c: E2 62 00 98 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 10 04 04 00 6C 87 00 00 0E 04 04 00 70 01 00 00 12 04 04 00 0C 00 00 00 5E 04 04 00 0C 00 00 00 57 04 04 00 0D 00 00 00 19 04 04 00 00 00 00 00 90 00 D0 [09:46:11]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 10 04 04 00 6C 87 00 00 0E 04 04 00 70 01 00 00 12 04 04 00 0C 00 00 00 5E 04 04 00 0C 00 00 00 57 04 04 00 0D 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:46:11]wFMCommunicate OK [09:46:11]SAM_PROTO_GetFieldsCounters done [09:46:11]requested_item shift.num is exist - process it [09:46:11]requested_item shift.opened is exist - process it [09:46:11]req_shift_opened [09:46:11]FM_GetShiftState [09:46:11]SAM_PROTO_GetShiftState [09:46:11]wFMCommunicate request_size=4 [09:46:11]MH_SAM_APDU [09:46:11]CAPDU: 80 13 01 00 [09:46:11]Write to MH i2c: E2 08 00 99 01 80 13 01 00 00 00 00 00 17 [09:46:11]Write i2c OK [09:46:11]MH_I2C_Read... [09:46:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:46:11]Read from MH i2c: E2 [09:46:11]MH_I2C_Read... [09:46:11]Read from MH i2c: E2 0E 00 [09:46:11]MH_I2C_Read... [09:46:11]Read from MH i2c: E2 0E 00 99 01 00 09 00 01 35 5B 5E 66 00 00 00 00 90 00 77 [09:46:11]RAPDU: 09 00 01 35 5B 5E 66 00 00 00 00 90 00 [09:46:11]wFMCommunicate OK [09:46:11]SAM_PROTO_GetShiftState done [09:46:11]FM_GetShiftState done [09:46:11]req_shift_opened done [09:46:11]requested_item shift.open_date is exist - process it [09:46:11]req_shift_open_date [09:46:11]req_shift_open_date done [09:46:11]produce_requested_data done [09:46:11]produce_requested_data return {"fm.sn":"0000000000874859","fd.num":34668,"shift.num":368,"shift.opened":1,"shift.open_date":1717459765} [09:46:11]process_action_free close_receipt [09:46:11]json_value_free [09:46:11]json_value_free done [09:46:11]process_json_proto returns [09:46:11]Send response to host [09:46:11]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874859","fd.num":34668,"shift.num":368,"shift.opened":1,"shift.open_date":1717459765}}} [09:46:11]free response buf [09:46:11]execute_script done [09:46:11]execute_script returns [09:46:11]free content buf [09:46:11]Sock 9.Close socket [09:46:11]Sock 9.Thread stoped [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:40]OFD Sender: No OFD packet to send [09:49:45]OFD Sender: No OFD packet to send [09:49:50]OFD Sender: No OFD packet to send [09:49:55]OFD Sender: No OFD packet to send [09:50:00]OFD Sender: No OFD packet to send [09:50:05]OFD Sender: No OFD packet to send [09:50:10]OFD Sender: No OFD packet to send [09:50:15]OFD Sender: No OFD packet to send [09:50:20]OFD Sender: No OFD packet to send [09:50:25]OFD Sender: No OFD packet to send [09:50:30]OFD Sender: No OFD packet to send [09:50:35]OFD Sender: No OFD packet to send [09:50:40]OFD Sender: No OFD packet to send [09:50:45]OFD Sender: No OFD packet to send [09:50:50]OFD Sender: No OFD packet to send [09:50:55]OFD Sender: No OFD packet to send [09:51:00]OFD Sender: No OFD packet to send [09:51:05]OFD Sender: No OFD packet to send [09:51:10]OFD Sender: No OFD packet to send [09:51:15]OFD Sender: No OFD packet to send [09:51:20]OFD Sender: No OFD packet to send [09:51:25]OFD Sender: No OFD packet to send [09:51:30]OFD Sender: No OFD packet to send [09:51:35]OFD Sender: No OFD packet to send [09:51:40]OFD Sender: No OFD packet to send [09:51:45]OFD Sender: No OFD packet to send [09:51:50]OFD Sender: No OFD packet to send [09:51:55]OFD Sender: No OFD packet to send [09:52:00]OFD Sender: No OFD packet to send [09:52:05]OFD Sender: No OFD packet to send [09:52:10]OFD Sender: No OFD packet to send [09:52:15]OFD Sender: No OFD packet to send [09:52:20]OFD Sender: No OFD packet to send [09:52:25]OFD Sender: No OFD packet to send [09:52:30]OFD Sender: No OFD packet to send [09:52:35]OFD Sender: No OFD packet to send [09:52:40]OFD Sender: No OFD packet to send [09:52:45]OFD Sender: No OFD packet to send [09:52:50]OFD Sender: No OFD packet to send [09:52:55]OFD Sender: No OFD packet to send [09:53:00]OFD Sender: No OFD packet to send [09:53:05]OFD Sender: No OFD packet to send [09:53:10]OFD Sender: No OFD packet to send [09:53:15]OFD Sender: No OFD packet to send [09:53:20]OFD Sender: No OFD packet to send [09:53:25]OFD Sender: No OFD packet to send [09:53:30]OFD Sender: No OFD packet to send [09:53:35]OFD Sender: No OFD packet to send [09:53:40]OFD Sender: No OFD packet to send [09:53:45]OFD Sender: No OFD packet to send [09:53:50]OFD Sender: No OFD packet to send [09:53:55]OFD Sender: No OFD packet to send [09:54:00]OFD Sender: No OFD packet to send [09:54:05]OFD Sender: No OFD packet to send [09:54:10]OFD Sender: No OFD packet to send [09:54:15]OFD Sender: No OFD packet to send [09:54:20]OFD Sender: No OFD packet to send [09:54:25]OFD Sender: No OFD packet to send [09:54:30]OFD Sender: No OFD packet to send [09:54:35]OFD Sender: No OFD packet to send [09:54:40]OFD Sender: No OFD packet to send [09:54:45]OFD Sender: No OFD packet to send [09:54:50]OFD Sender: No OFD packet to send [09:54:55]OFD Sender: No OFD packet to send [09:55:00]OFD Sender: No OFD packet to send [09:55:05]OFD Sender: No OFD packet to send [09:55:10]OFD Sender: No OFD packet to send [09:55:15]OFD Sender: No OFD packet to send [09:55:20]OFD Sender: No OFD packet to send [09:55:25]OFD Sender: No OFD packet to send [09:55:30]OFD Sender: No OFD packet to send [09:55:35]OFD Sender: No OFD packet to send [09:55:40]OFD Sender: No OFD packet to send [09:55:45]OFD Sender: No OFD packet to send [09:55:50]OFD Sender: No OFD packet to send [09:55:55]OFD Sender: No OFD packet to send [09:56:00]OFD Sender: No OFD packet to send [09:56:05]OFD Sender: No OFD packet to send [09:56:10]OFD Sender: No OFD packet to send [09:56:15]OFD Sender: No OFD packet to send [09:56:20]OFD Sender: No OFD packet to send [09:56:25]OFD Sender: No OFD packet to send [09:56:30]OFD Sender: No OFD packet to send [09:56:35]OFD Sender: No OFD packet to send [09:56:40]OFD Sender: No OFD packet to send [09:56:45]OFD Sender: No OFD packet to send [09:56:50]OFD Sender: No OFD packet to send [09:56:55]OFD Sender: No OFD packet to send [09:57:00]OFD Sender: No OFD packet to send [09:57:05]OFD Sender: No OFD packet to send [09:57:10]OFD Sender: No OFD packet to send [09:57:15]OFD Sender: No OFD packet to send [09:57:20]OFD Sender: No OFD packet to send [09:57:25]OFD Sender: No OFD packet to send [09:57:30]OFD Sender: No OFD packet to send [09:57:35]OFD Sender: No OFD packet to send [09:57:40]OFD Sender: No OFD packet to send [09:57:45]OFD Sender: No OFD packet to send [09:57:50]OFD Sender: No OFD packet to send [09:57:55]OFD Sender: No OFD packet to send [09:58:00]OFD Sender: No OFD packet to send [09:58:05]OFD Sender: No OFD packet to send [09:58:10]OFD Sender: No OFD packet to send [09:58:15]OFD Sender: No OFD packet to send [09:58:20]OFD Sender: No OFD packet to send [09:58:25]OFD Sender: No OFD packet to send [09:58:30]OFD Sender: No OFD packet to send [09:58:35]OFD Sender: No OFD packet to send [09:58:40]OFD Sender: No OFD packet to send [09:58:45]OFD Sender: No OFD packet to send [09:58:50]OFD Sender: No OFD packet to send [09:58:55]OFD Sender: No OFD packet to send [09:59:00]OFD Sender: No OFD packet to send [09:59:05]OFD Sender: No OFD packet to send [09:59:10]OFD Sender: No OFD packet to send [09:59:15]OFD Sender: No OFD packet to send [09:59:20]OFD Sender: No OFD packet to send [09:59:25]OFD Sender: No OFD packet to send [09:59:30]OFD Sender: No OFD packet to send [09:59:35]OFD Sender: No OFD packet to send [09:59:40]OFD Sender: No OFD packet to send [09:59:45]OFD Sender: No OFD packet to send [09:59:50]OFD Sender: No OFD packet to send [09:59:55]OFD Sender: No OFD packet to send [10:00:00]OFD Sender: No OFD packet to send [10:00:05]OFD Sender: No OFD packet to send [10:00:10]OFD Sender: No OFD packet to send [10:00:15]OFD Sender: No OFD packet to send [10:00:20]OFD Sender: No OFD packet to send [10:00:25]OFD Sender: No OFD packet to send [10:00:30]OFD Sender: No OFD packet to send [10:00:35]OFD Sender: No OFD packet to send [10:00:40]OFD Sender: No OFD packet to send [10:00:45]OFD Sender: No OFD packet to send [10:00:50]OFD Sender: No OFD packet to send [10:00:55]OFD Sender: No OFD packet to send [10:01:00]OFD Sender: No OFD packet to send [10:01:05]OFD Sender: No OFD packet to send [10:01:10]OFD Sender: No OFD packet to send [10:01:15]OFD Sender: No OFD packet to send [10:01:20]OFD Sender: No OFD packet to send [10:01:25]OFD Sender: No OFD packet to send [10:01:30]OFD Sender: No OFD packet to send [10:01:35]OFD Sender: No OFD packet to send [10:01:40]OFD Sender: No OFD packet to send [10:01:45]OFD Sender: No OFD packet to send [10:01:50]OFD Sender: No OFD packet to send [10:01:55]OFD Sender: No OFD packet to send [10:02:00]OFD Sender: No OFD packet to send [10:02:05]OFD Sender: No OFD packet to send [10:02:10]OFD Sender: No OFD packet to send [10:02:15]OFD Sender: No OFD packet to send [10:02:20]OFD Sender: No OFD packet to send [10:02:25]OFD Sender: No OFD packet to send [10:02:30]OFD Sender: No OFD packet to send [10:02:35]OFD Sender: No OFD packet to send [10:02:40]OFD Sender: No OFD packet to send [10:02:45]OFD Sender: No OFD packet to send [10:02:50]OFD Sender: No OFD packet to send [10:02:55]OFD Sender: No OFD packet to send [10:03:00]OFD Sender: No OFD packet to send [10:03:05]OFD Sender: No OFD packet to send [10:03:10]OFD Sender: No OFD packet to send [10:03:15]OFD Sender: No OFD packet to send [10:03:20]OFD Sender: No OFD packet to send [10:03:25]OFD Sender: No OFD packet to send [10:03:30]OFD Sender: No OFD packet to send [10:03:35]OFD Sender: No OFD packet to send [10:03:40]OFD Sender: No OFD packet to send [10:03:45]OFD Sender: No OFD packet to send [10:03:50]OFD Sender: No OFD packet to send [10:03:55]OFD Sender: No OFD packet to send [10:04:00]OFD Sender: No OFD packet to send [10:04:05]OFD Sender: No OFD packet to send [10:04:10]OFD Sender: No OFD packet to send [10:04:15]OFD Sender: No OFD packet to send [10:04:20]OFD Sender: No OFD packet to send [10:04:25]OFD Sender: No OFD packet to send [10:04:30]OFD Sender: No OFD packet to send [10:04:35]OFD Sender: No OFD packet to send [10:04:40]OFD Sender: No OFD packet to send [10:04:45]OFD Sender: No OFD packet to send [10:04:50]OFD Sender: No OFD packet to send [10:04:55]OFD Sender: No OFD packet to send [10:05:00]OFD Sender: No OFD packet to send [10:05:05]OFD Sender: No OFD packet to send [10:05:10]OFD Sender: No OFD packet to send [10:05:15]OFD Sender: No OFD packet to send [10:05:20]OFD Sender: No OFD packet to send [10:05:25]OFD Sender: No OFD packet to send [10:05:30]OFD Sender: No OFD packet to send [10:05:35]OFD Sender: No OFD packet to send [10:05:40]OFD Sender: No OFD packet to send [10:05:45]OFD Sender: No OFD packet to send [10:05:50]OFD Sender: No OFD packet to send [10:05:55]OFD Sender: No OFD packet to send [10:06:00]OFD Sender: No OFD packet to send [10:06:05]OFD Sender: No OFD packet to send [10:06:10]OFD Sender: No OFD packet to send [10:06:15]OFD Sender: No OFD packet to send [10:06:20]OFD Sender: No OFD packet to send [10:06:25]OFD Sender: No OFD packet to send [10:06:30]OFD Sender: No OFD packet to send [10:06:35]OFD Sender: No OFD packet to send [10:06:40]OFD Sender: No OFD packet to send [10:06:45]OFD Sender: No OFD packet to send [10:06:50]OFD Sender: No OFD packet to send [10:06:55]OFD Sender: No OFD packet to send [10:07:00]OFD Sender: No OFD packet to send [10:07:05]OFD Sender: No OFD packet to send [10:07:10]OFD Sender: No OFD packet to send [10:07:15]OFD Sender: No OFD packet to send [10:07:20]OFD Sender: No OFD packet to send [10:07:25]OFD Sender: No OFD packet to send [10:07:30]OFD Sender: No OFD packet to send [10:07:35]OFD Sender: No OFD packet to send [10:07:40]OFD Sender: No OFD packet to send [10:07:45]OFD Sender: No OFD packet to send [10:07:50]OFD Sender: No OFD packet to send [10:07:55]OFD Sender: No OFD packet to send [10:08:00]OFD Sender: No OFD packet to send [10:08:05]OFD Sender: No OFD packet to send [10:08:10]OFD Sender: No OFD packet to send [10:08:15]OFD Sender: No OFD packet to send [10:08:20]OFD Sender: No OFD packet to send [10:08:25]OFD Sender: No OFD packet to send [10:08:30]OFD Sender: No OFD packet to send [10:08:35]OFD Sender: No OFD packet to send [10:08:40]OFD Sender: No OFD packet to send [10:08:45]OFD Sender: No OFD packet to send [10:08:50]OFD Sender: No OFD packet to send [10:08:55]OFD Sender: No OFD packet to send [10:09:00]OFD Sender: No OFD packet to send [10:09:05]OFD Sender: No OFD packet to send [10:09:10]OFD Sender: No OFD packet to send [10:09:15]OFD Sender: No OFD packet to send [10:09:20]OFD Sender: No OFD packet to send [10:09:25]OFD Sender: No OFD packet to send [10:09:30]OFD Sender: No OFD packet to send [10:09:35]OFD Sender: No OFD packet to send [10:09:40]OFD Sender: No OFD packet to send [10:09:45]OFD Sender: No OFD packet to send [10:09:50]OFD Sender: No OFD packet to send [10:09:55]OFD Sender: No OFD packet to send [10:10:00]OFD Sender: No OFD packet to send [10:10:05]OFD Sender: No OFD packet to send [10:10:11]OFD Sender: No OFD packet to send [10:10:16]OFD Sender: No OFD packet to send [10:10:21]OFD Sender: No OFD packet to send [10:10:26]OFD Sender: No OFD packet to send [10:10:31]OFD Sender: No OFD packet to send [10:10:36]OFD Sender: No OFD packet to send [10:10:41]OFD Sender: No OFD packet to send [10:10:46]OFD Sender: No OFD packet to send [10:10:51]OFD Sender: No OFD packet to send [10:10:56]OFD Sender: No OFD packet to send [10:11:01]OFD Sender: No OFD packet to send [10:11:06]OFD Sender: No OFD packet to send [10:11:11]OFD Sender: No OFD packet to send [10:11:16]OFD Sender: No OFD packet to send [10:11:21]OFD Sender: No OFD packet to send [10:11:26]OFD Sender: No OFD packet to send [10:11:31]OFD Sender: No OFD packet to send [10:11:36]OFD Sender: No OFD packet to send [10:11:41]OFD Sender: No OFD packet to send [10:11:46]OFD Sender: No OFD packet to send [10:11:51]OFD Sender: No OFD packet to send [10:11:56]OFD Sender: No OFD packet to send [10:12:01]OFD Sender: No OFD packet to send [10:12:06]OFD Sender: No OFD packet to send [10:12:11]OFD Sender: No OFD packet to send [10:12:16]OFD Sender: No OFD packet to send [10:12:21]OFD Sender: No OFD packet to send [10:12:26]OFD Sender: No OFD packet to send [10:12:31]OFD Sender: No OFD packet to send [10:12:36]OFD Sender: No OFD packet to send [10:12:41]OFD Sender: No OFD packet to send [10:12:46]OFD Sender: No OFD packet to send [10:12:51]OFD Sender: No OFD packet to send [10:12:56]OFD Sender: No OFD packet to send [10:13:01]OFD Sender: No OFD packet to send [10:13:06]OFD Sender: No OFD packet to send [10:13:11]OFD Sender: No OFD packet to send [10:13:16]OFD Sender: No OFD packet to send [10:13:21]OFD Sender: No OFD packet to send [10:13:26]OFD Sender: No OFD packet to send [10:13:31]OFD Sender: No OFD packet to send [10:13:36]OFD Sender: No OFD packet to send [10:13:41]OFD Sender: No OFD packet to send [10:13:46]OFD Sender: No OFD packet to send [10:13:51]OFD Sender: No OFD packet to send [10:13:56]OFD Sender: No OFD packet to send [10:14:01]OFD Sender: No OFD packet to send [10:14:06]OFD Sender: No OFD packet to send [10:14:11]OFD Sender: No OFD packet to send [10:14:16]OFD Sender: No OFD packet to send [10:14:21]OFD Sender: No OFD packet to send [10:14:26]OFD Sender: No OFD packet to send [10:14:31]OFD Sender: No OFD packet to send [10:14:36]OFD Sender: No OFD packet to send [10:14:41]OFD Sender: No OFD packet to send [10:14:46]OFD Sender: No OFD packet to send [10:14:51]OFD Sender: No OFD packet to send [10:14:56]OFD Sender: No OFD packet to send [10:15:01]OFD Sender: No OFD packet to send [10:15:06]OFD Sender: No OFD packet to send [10:15:11]OFD Sender: No OFD packet to send [10:15:16]OFD Sender: No OFD packet to send [10:15:21]OFD Sender: No OFD packet to send [10:15:26]OFD Sender: No OFD packet to send [10:15:31]OFD Sender: No OFD packet to send [10:15:36]OFD Sender: No OFD packet to send [10:15:41]OFD Sender: No OFD packet to send [10:15:46]OFD Sender: No OFD packet to send [10:15:51]OFD Sender: No OFD packet to send [10:15:56]OFD Sender: No OFD packet to send [10:16:01]OFD Sender: No OFD packet to send [10:16:06]OFD Sender: No OFD packet to send [10:16:11]OFD Sender: No OFD packet to send [10:16:16]OFD Sender: No OFD packet to send [10:16:21]OFD Sender: No OFD packet to send [10:16:26]OFD Sender: No OFD packet to send [10:16:31]OFD Sender: No OFD packet to send [10:16:36]OFD Sender: No OFD packet to send [10:16:41]OFD Sender: No OFD packet to send [10:16:46]OFD Sender: No OFD packet to send [10:16:51]OFD Sender: No OFD packet to send [10:16:56]OFD Sender: No OFD packet to send [10:17:01]OFD Sender: No OFD packet to send [10:17:06]OFD Sender: No OFD packet to send [10:17:11]OFD Sender: No OFD packet to send [10:17:16]OFD Sender: No OFD packet to send [10:17:21]OFD Sender: No OFD packet to send [10:17:26]OFD Sender: No OFD packet to send [10:17:31]OFD Sender: No OFD packet to send [10:17:36]OFD Sender: No OFD packet to send [10:17:41]OFD Sender: No OFD packet to send [10:17:46]OFD Sender: No OFD packet to send [10:17:51]OFD Sender: No OFD packet to send [10:17:56]OFD Sender: No OFD packet to send [10:18:01]OFD Sender: No OFD packet to send [10:18:06]OFD Sender: No OFD packet to send [10:18:11]OFD Sender: No OFD packet to send [10:18:16]OFD Sender: No OFD packet to send [10:18:21]OFD Sender: No OFD packet to send [10:18:26]OFD Sender: No OFD packet to send [10:18:31]OFD Sender: No OFD packet to send [10:18:36]OFD Sender: No OFD packet to send [10:18:41]OFD Sender: No OFD packet to send [10:18:46]OFD Sender: No OFD packet to send [10:18:51]OFD Sender: No OFD packet to send [10:18:56]OFD Sender: No OFD packet to send [10:19:01]OFD Sender: No OFD packet to send [10:19:06]OFD Sender: No OFD packet to send [10:19:11]OFD Sender: No OFD packet to send [10:19:16]OFD Sender: No OFD packet to send [10:19:21]OFD Sender: No OFD packet to send [10:19:26]OFD Sender: No OFD packet to send [10:19:31]OFD Sender: No OFD packet to send [10:19:36]OFD Sender: No OFD packet to send [10:19:41]OFD Sender: No OFD packet to send [10:19:46]OFD Sender: No OFD packet to send [10:19:51]OFD Sender: No OFD packet to send [10:19:56]OFD Sender: No OFD packet to send [10:20:01]OFD Sender: No OFD packet to send [10:20:06]OFD Sender: No OFD packet to send [10:20:11]OFD Sender: No OFD packet to send [10:20:16]OFD Sender: No OFD packet to send [10:20:21]OFD Sender: No OFD packet to send [10:20:26]OFD Sender: No OFD packet to send [10:20:31]OFD Sender: No OFD packet to send [10:20:36]OFD Sender: No OFD packet to send [10:20:41]OFD Sender: No OFD packet to send [10:20:46]OFD Sender: No OFD packet to send [10:20:51]OFD Sender: No OFD packet to send [10:20:56]OFD Sender: No OFD packet to send [10:21:01]OFD Sender: No OFD packet to send [10:21:06]OFD Sender: No OFD packet to send [10:21:11]OFD Sender: No OFD packet to send [10:21:16]OFD Sender: No OFD packet to send [10:21:21]OFD Sender: No OFD packet to send [10:21:26]OFD Sender: No OFD packet to send [10:21:31]OFD Sender: No OFD packet to send [10:21:36]OFD Sender: No OFD packet to send [10:21:41]OFD Sender: No OFD packet to send [10:21:46]OFD Sender: No OFD packet to send [10:21:51]OFD Sender: No OFD packet to send [10:21:56]OFD Sender: No OFD packet to send [10:22:01]OFD Sender: No OFD packet to send [10:22:06]OFD Sender: No OFD packet to send [10:22:11]OFD Sender: No OFD packet to send [10:22:16]OFD Sender: No OFD packet to send [10:22:21]OFD Sender: No OFD packet to send [10:22:26]OFD Sender: No OFD packet to send [10:22:31]OFD Sender: No OFD packet to send [10:22:36]OFD Sender: No OFD packet to send [10:22:41]OFD Sender: No OFD packet to send [10:22:46]OFD Sender: No OFD packet to send [10:22:51]OFD Sender: No OFD packet to send [10:22:56]OFD Sender: No OFD packet to send [10:23:01]OFD Sender: No OFD packet to send [10:23:06]OFD Sender: No OFD packet to send [10:23:11]OFD Sender: No OFD packet to send [10:23:16]OFD Sender: No OFD packet to send [10:23:21]OFD Sender: No OFD packet to send [10:23:26]OFD Sender: No OFD packet to send [10:23:31]OFD Sender: No OFD packet to send [10:23:36]OFD Sender: No OFD packet to send [10:23:41]OFD Sender: No OFD packet to send [10:23:46]OFD Sender: No OFD packet to send [10:23:51]OFD Sender: No OFD packet to send [10:23:56]OFD Sender: No OFD packet to send [10:24:01]OFD Sender: No OFD packet to send [10:24:06]OFD Sender: No OFD packet to send [10:24:11]OFD Sender: No OFD packet to send [10:24:16]OFD Sender: No OFD packet to send [10:24:21]OFD Sender: No OFD packet to send [10:24:26]OFD Sender: No OFD packet to send [10:24:31]OFD Sender: No OFD packet to send [10:24:36]OFD Sender: No OFD packet to send [10:24:41]OFD Sender: No OFD packet to send [10:24:46]OFD Sender: No OFD packet to send [10:24:51]OFD Sender: No OFD packet to send [10:24:56]OFD Sender: No OFD packet to send [10:25:01]OFD Sender: No OFD packet to send [10:25:06]OFD Sender: No OFD packet to send [10:25:11]OFD Sender: No OFD packet to send [10:25:16]OFD Sender: No OFD packet to send [10:25:21]OFD Sender: No OFD packet to send [10:25:26]OFD Sender: No OFD packet to send [10:25:31]OFD Sender: No OFD packet to send [10:25:36]OFD Sender: No OFD packet to send [10:25:41]OFD Sender: No OFD packet to send [10:25:46]OFD Sender: No OFD packet to send [10:25:51]OFD Sender: No OFD packet to send [10:25:56]OFD Sender: No OFD packet to send [10:26:01]OFD Sender: No OFD packet to send [10:26:06]OFD Sender: No OFD packet to send [10:26:11]OFD Sender: No OFD packet to send [10:26:16]OFD Sender: No OFD packet to send [10:26:21]OFD Sender: No OFD packet to send [10:26:26]OFD Sender: No OFD packet to send [10:26:31]OFD Sender: No OFD packet to send [10:26:36]OFD Sender: No OFD packet to send [10:26:41]OFD Sender: No OFD packet to send [10:26:46]OFD Sender: No OFD packet to send [10:26:51]OFD Sender: No OFD packet to send [10:26:56]OFD Sender: No OFD packet to send [10:27:01]OFD Sender: No OFD packet to send [10:27:06]OFD Sender: No OFD packet to send [10:27:11]OFD Sender: No OFD packet to send [10:27:16]OFD Sender: No OFD packet to send [10:27:21]OFD Sender: No OFD packet to send [10:27:26]OFD Sender: No OFD packet to send [10:27:31]OFD Sender: No OFD packet to send [10:27:36]OFD Sender: No OFD packet to send [10:27:41]OFD Sender: No OFD packet to send [10:27:46]OFD Sender: No OFD packet to send [10:27:51]OFD Sender: No OFD packet to send [10:27:56]OFD Sender: No OFD packet to send [10:28:01]OFD Sender: No OFD packet to send [10:28:06]OFD Sender: No OFD packet to send [10:28:11]OFD Sender: No OFD packet to send [10:28:16]OFD Sender: No OFD packet to send [10:28:21]OFD Sender: No OFD packet to send [10:28:26]OFD Sender: No OFD packet to send [10:28:31]OFD Sender: No OFD packet to send [10:28:36]OFD Sender: No OFD packet to send [10:28:41]OFD Sender: No OFD packet to send [10:28:45]accept exits with 7 [10:28:45]New connection [10:28:45]New thread 3067026788 created [10:28:45]Thread 3067170148 joined [10:28:45]Waiting for new connection... [10:28:45] Sock 7.Parse request [10:28:45]Sock 7.Check first char [10:28:45]Sock 7.First char is OK [10:28:45]request: POST /json_proto HTTP/1.0 [10:28:45]Method: POST [10:28:45]URL: /json_proto [10:28:45]Method is POST - this is cgi request [10:28:45]url: /json_proto [10:28:45]query_string will be loaded in cgi processing [10:28:45]execute_cgi json_proto POST (null) [10:28:45]execute_cgi path=json_proto method=POST [10:28:45]POST find Content-Length [10:28:45]Host: 172.17.36.131:8080 [10:28:45]Content-Length: 646 [10:28:45]Content-Type: application/json [10:28:45] [10:28:45]POST finish read [10:28:45]Found Content-Length = 646 [10:28:45]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100031", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 125.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:28:45]execute_script... [10:28:45]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100031", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 125.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:28:45]POST & json_proto [10:28:45]process_json_proto [10:28:45]json parsed OK: [10:28:45]protocol is kg_v1.0 [10:28:45]action value=close_receipt [10:28:45]process_action close_receipt [10:28:45]cmd_close_receipt [10:28:45]MH_GetDate [10:28:45]Write to MH i2c: F0 00 00 9A 01 8A [10:28:45]Write i2c OK [10:28:45]MH_I2C_Read... [10:28:45]Read from MH i2c: F0 [10:28:45]MH_I2C_Read... [10:28:45]Read from MH i2c: F0 09 00 [10:28:45]MH_I2C_Read... [10:28:45]Read from MH i2c: F0 09 00 9A 01 00 5E EC 5E 66 A7 4C 98 65 91 [10:28:45]GetLastDocTimeStamp 1717494367 [10:28:45]current date 1717496926 [10:28:45]FM_GetShiftState [10:28:45]SAM_PROTO_GetShiftState [10:28:45]wFMCommunicate request_size=4 [10:28:45]MH_SAM_APDU [10:28:45]CAPDU: 80 13 01 00 [10:28:45]Write to MH i2c: E2 08 00 9B 01 80 13 01 00 00 00 00 00 19 [10:28:45]Write i2c OK [10:28:45]MH_I2C_Read... [10:28:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:28:45]Read from MH i2c: E2 [10:28:45]MH_I2C_Read... [10:28:45]Read from MH i2c: E2 0E 00 [10:28:45]MH_I2C_Read... [10:28:45]Read from MH i2c: E2 0E 00 9B 01 00 09 00 01 35 5B 5E 66 00 00 00 00 90 00 79 [10:28:45]RAPDU: 09 00 01 35 5B 5E 66 00 00 00 00 90 00 [10:28:45]wFMCommunicate OK [10:28:45]SAM_PROTO_GetShiftState done [10:28:45]FM_GetShiftState done [10:28:45]opened in 1717459765 [10:28:45]opened+sec_in_day 1717546165 [10:28:45]quantity*price = 12500 [10:28:45]sum+1 = 12501 [10:28:45]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 125.00 НСП 1% : 1.11 НДС 12% : 13.27 Наличными: 125.00 Безнал.: 0.00 Место: АЗС № 62 "Партнер Нефть" Адрес: 720001, г. Балыкчы, ул. Абдрахманова 325 Б, 42.462761, 76.214931 СНО: Общий режим Чек 13 04.06.2024 10:28 Смена: 368 ФФД: 1.0 ЗНМ: 0300000080 РНМ: 0000000000096838 Версия ККМ: 001 ФМ: 0000000000874859 ФД: 34669 ФПД: 110700586667481 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T102847&type=1&operation_type=1&fn_number=0000000000874859&fd_number=34669&fm=110700586667481&tin=02508201610067®Number=0000000000096838&sum=12500 0 [10:28:46]StoreToDocumentArchive [10:28:46]shift 368 fd 34669 [10:28:46]save to /storage/0368/doc_00034669 [10:28:46]save last doc name /storage/0368/doc_00034669 to /storage/kkm_last_doc_name [10:28:46]save OK [10:28:46]Clear old archive folders... [10:28:46]ProcessDocumentItem done err = 0, tmpTLVsize=282 [10:28:46]tlvbuf is 01B12A40 [10:28:46]SAM_PROTO_ClearQueue [10:28:46]wFMCommunicate request_size=4 [10:28:46]MH_SAM_APDU [10:28:46]CAPDU: 80 09 00 00 [10:28:46]Write to MH i2c: E2 08 00 A8 01 80 09 00 00 00 00 00 00 1B [10:28:46]Write i2c OK [10:28:46]MH_I2C_Read... [10:28:46]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:28:46]Read from MH i2c: E2 [10:28:46]MH_I2C_Read... [10:28:46]Read from MH i2c: E2 03 00 [10:28:46]MH_I2C_Read... [10:28:46]Read from MH i2c: E2 03 00 A8 01 00 90 00 1D [10:28:46]RAPDU: 90 00 [10:28:46]wFMCommunicate OK [10:28:46]SAM_PROTO_ClearQueue done [10:28:46]KKMCreateOFDPacket [10:28:46]OFDProtocolAddRootSTLVToBuf [10:28:46]FM_MakeSignedData [10:28:46]FM_MakeSignedData [10:28:46]SAM_PROTO_SignData [10:28:46]wFMCommunicate request_size=4 [10:28:46]MH_SAM_APDU [10:28:46]CAPDU: 80 0D 01 02 [10:28:46]Write to MH i2c: E2 08 00 A9 01 80 0D 01 02 00 00 00 00 23 [10:28:46]Write i2c OK [10:28:46]MH_I2C_Read... [10:28:46]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:28:46]Read from MH i2c: E2 [10:28:46]MH_I2C_Read... [10:28:46]Read from MH i2c: E2 03 00 [10:28:46]MH_I2C_Read... [10:28:46]Read from MH i2c: E2 03 00 A9 01 00 90 00 1E [10:28:46]RAPDU: 90 00 [10:28:46]wFMCommunicate OK [10:28:46]wFMCommunicate request_size=255 [10:28:46]MH_SAM_APDU [10:28:46]CAPDU: 80 0D 02 02 FA 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 5F EC 5E 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 [10:28:46]Write to MH i2c: E2 02 01 AA 01 80 0D 02 02 FA 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 5F EC 5E 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 00 00 B7 [10:28:46]Write i2c OK [10:28:46]MH_I2C_Read... [10:28:46]OFD Sender: No OFD packet to send [10:28:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:28:47]Read from MH i2c: E2 [10:28:47]MH_I2C_Read... [10:28:47]Read from MH i2c: E2 03 00 [10:28:47]MH_I2C_Read... [10:28:47]Read from MH i2c: E2 03 00 AA 01 00 90 00 1F [10:28:47]RAPDU: 90 00 [10:28:47]wFMCommunicate OK [10:28:47]wFMCommunicate request_size=41 [10:28:47]MH_SAM_APDU [10:28:47]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 6D 87 00 00 35 04 06 00 64 AE 7D 25 0D D9 [10:28:47]Write to MH i2c: E2 2C 00 AB 01 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 6D 87 00 00 35 04 06 00 64 AE 7D 25 0D D9 00 00 8C [10:28:47]Write i2c OK [10:28:47]MH_I2C_Read... [10:28:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:28:47]Read from MH i2c: E2 [10:28:47]MH_I2C_Read... [10:28:47]Read from MH i2c: E2 03 00 [10:28:47]MH_I2C_Read... [10:28:47]Read from MH i2c: E2 03 00 AB 01 00 90 00 20 [10:28:47]RAPDU: 90 00 [10:28:47]wFMCommunicate OK [10:28:47]wFMCommunicate request_size=4 [10:28:47]MH_SAM_APDU [10:28:47]CAPDU: 80 0D 03 02 [10:28:47]Write to MH i2c: E2 08 00 AC 01 80 0D 03 02 00 00 00 00 28 [10:28:47]Write i2c OK [10:28:47]MH_I2C_Read... [10:28:47]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:28:47]Read from MH i2c: E2 [10:28:47]MH_I2C_Read... [10:28:47]Read from MH i2c: E2 0B 00 [10:28:47]MH_I2C_Read... [10:28:47]Read from MH i2c: E2 0B 00 AC 01 00 9E 2C F2 55 02 B0 D2 50 90 00 0E [10:28:47]RAPDU: 9E 2C F2 55 02 B0 D2 50 90 00 [10:28:47]wFMCommunicate OK [10:28:47]SAM_PROTO_SignData done [10:28:47]FM_MakeSignedData done [10:28:47]CreateOFDProtocolMessage [10:28:47]wFMCommunicate request_size=4 [10:28:47]MH_SAM_APDU [10:28:47]CAPDU: 80 11 00 00 [10:28:47]Write to MH i2c: E2 08 00 AD 01 80 11 00 00 00 00 00 00 28 [10:28:47]Write i2c OK [10:28:47]MH_I2C_Read... [10:28:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:28:47]Read from MH i2c: E2 [10:28:47]MH_I2C_Read... [10:28:47]Read from MH i2c: E2 17 00 [10:28:47]MH_I2C_Read... [10:28:47]Read from MH i2c: E2 17 00 AD 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 84 [10:28:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 [10:28:47]wFMCommunicate OK [10:28:47]CreateOFDProtocolMessage done [10:28:47]OFDSenderStorePacket 34669 [10:28:47]StoreOFDPacket docnum=34669 [10:28:47]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 2E 01 00 00 51 57 26 01 C8 3A 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 5F EC 5E 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 6D 87 00 00 35 04 06 00 64 AE 7D 25 0D D9 9E 2C F2 55 02 B0 D2 50 [10:28:47]CheckFolder [10:28:47]dirname=/storage/ofd_packets [10:28:47]CheckFolder done [10:28:47]ProducePacketName [10:28:47]name=ofd_packets/00034669 [10:28:47]NVStorageSaveData ofd_packets/00034669 [10:28:47]File name is /storage/ofd_packets/00034669 [10:28:47]Write 332 bytes [10:28:47]NVStorageSaveData done [10:28:47]OFDSenderStorePacket done [10:28:47]KKMCreateOFDPacket done [10:28:47]NVStorageSaveData kkm_last_timestamp [10:28:47]File name is /storage/kkm_last_timestamp [10:28:47]Write 4 bytes [10:28:47]NVStorageSaveData done [10:28:47]ExternCall_PrintAddStr [10:28:47]wPrintStart [10:28:47]Write to MH i2c: 01 00 00 AE 01 AF [10:28:47]Write i2c OK [10:28:47]MH_I2C_Read... [10:28:47]Read from MH i2c: 01 [10:28:47]MH_I2C_Read... [10:28:47]Read from MH i2c: 01 07 00 [10:28:47]MH_I2C_Read... [10:28:47]Read from MH i2c: 01 07 00 AE 01 00 00 00 00 00 FF 0F C4 [10:28:47]RasterBufferAndPrint [10:28:47]line Счет N : (3)100031 [10:28:47]line ИНН: 02508201610067 [10:28:47]line Контрольно-Кассовый Чек [10:28:47]line ПРОДАЖА [10:28:47]line Товар: 2000036220012 [10:28:47]line Кофе Капучино XL(GABB TRADE) [10:28:47]line 1.000 * 125.00 [10:28:47]line = 125.00 [10:28:47]line НДС 12% НСП 1% [10:28:47]line > о реализуемом товаре [10:28:47]line ИТОГО: 125.00 [10:28:47]line НСП 1% : 1.11 [10:28:47]line НДС 12% : 13.27 [10:28:47]line Наличными: 125.00 [10:28:47]line Безнал.: 0.00 [10:28:47]line Место: АЗС № 62 "Партнер Нефть" [10:28:47]line Адрес: 720001, г. Балыкчы, ул. Абдрахманова 325 Б, 42.462761, 76.214931 [10:28:47]line СНО: Общий режим [10:28:47]line Чек 13 04.06.2024 10:28 [10:28:47]line Смена: 368 ФФД: 1.0 [10:28:47]line ЗНМ: 0300000080 [10:28:47]line РНМ: 0000000000096838 [10:28:47]line Версия ККМ: 001 [10:28:47]line ФМ: 0000000000874859 [10:28:47]line ФД: 34669 [10:28:47]line ФПД: 110700586667481 [10:28:47]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T102847&type=1&operation_type=1&fn_number=0000000000874859&fd_number=34669&fm=110700586667481&tin=02508201610067®Number=0000000000096838&sum=12500 [10:28:47]line 0 [10:28:47]OFD Sender: Processing packet 34669 [packets to send 17, broken 16] [10:28:47]ProducePacketName [10:28:47]name=ofd_packets/00034669 [10:28:47]OFD Sender: To server: pG, [10:28:47]CommunicateWithHost lk.salyk.kg:30040 [10:28:47]ConnectInit lk.salyk.kg [10:28:47]written 0, free lines is 4095 [10:28:47]Connected sock=10 [10:28:47]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 2E 01 00 00 51 57 26 01 C8 3A 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 5F EC 5E 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 6D 87 00 00 35 04 06 00 64 AE 7D 25 0D D9 9E 2C F2 55 02 B0 D2 50 [10:28:47]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 4F 00 00 00 A1 3E 47 00 20 0D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 6D 87 00 00 F4 03 04 00 9F 96 5E 66 B6 04 01 00 00 B4 5D 84 D0 93 8C C9 13 [10:28:47]CommunicateWithHost err = 0 [10:28:47]CheckOFDResponse [10:28:47]1017 (14) - 77093643461234 [10:28:47]1041 (16) - 0000000000874859 [10:28:47]1040 (4) - 34669 [10:28:47]1012 (4) - 04.06.2024 04:22 [10:28:47]1206 (1) - 0 [10:28:47]OFD Sender: Remove packet 34669 [10:28:47]ProducePacketName [10:28:47]name=ofd_packets/00034669 [10:28:47]NVStorageDeleteData [10:28:48]Write to MH i2c: 01 00 00 D7 01 D8 [10:28:48]Write i2c OK [10:28:48]MH_I2C_Read... [10:28:48]Read from MH i2c: 01 [10:28:48]MH_I2C_Read... [10:28:48]Read from MH i2c: 01 07 00 [10:28:48]MH_I2C_Read... [10:28:48]Read from MH i2c: 01 07 00 D7 01 00 00 00 00 00 1E 0D 0A [10:28:48]RasterBufferAndPrint [10:28:48]line [10:28:48]line [10:28:48]line [10:28:48]line [10:28:48]line [10:28:48]written 0, free lines is 3364 [10:28:48]MH_Cut [10:28:48]Write to MH i2c: D1 01 00 DE 01 01 B1 [10:28:48]Write i2c OK [10:28:48]MH_I2C_Read... [10:28:48]Read from MH i2c: D1 [10:28:48]MH_I2C_Read... [10:28:48]Read from MH i2c: D1 01 00 [10:28:48]MH_I2C_Read... [10:28:48]Read from MH i2c: D1 01 00 DE 01 00 B0 [10:28:48]Write to MH i2c: 01 00 00 DF 01 E0 [10:28:48]Write i2c OK [10:28:48]MH_I2C_Read... [10:28:48]OFD Sender: No OFD packet to send [10:28:48]*** Cut start [10:28:48]*** Partial cut [10:28:48]*** CUTSNS_PIN = 1 [10:28:48]*** CUTSNS_PIN = 0 [10:28:48]*** Brake cut motor [10:28:49]Read from MH i2c: 01 [10:28:49]MH_I2C_Read... [10:28:49]*** Stop cut motor [10:28:49]*** Cut end [10:28:49]Read from MH i2c: 01 07 00 [10:28:49]MH_I2C_Read... [10:28:49]Read from MH i2c: 01 07 00 DF 01 00 00 00 00 00 FF 0F F5 [10:28:49]process_action close_receipt done [10:28:49]requested_data is exist [10:28:49]produce_requested_data [10:28:49]requested_item fm.sn is exist - process it [10:28:49]wFMCommunicate request_size=4 [10:28:49]MH_SAM_APDU [10:28:49]CAPDU: 80 11 00 00 [10:28:49]Write to MH i2c: E2 08 00 E0 01 80 11 00 00 00 00 00 00 5B [10:28:49]Write i2c OK [10:28:49]MH_I2C_Read... [10:28:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:28:49]Read from MH i2c: E2 [10:28:49]MH_I2C_Read... [10:28:49]Read from MH i2c: E2 17 00 [10:28:49]MH_I2C_Read... [10:28:49]Read from MH i2c: E2 17 00 E0 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 B7 [10:28:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 [10:28:49]wFMCommunicate OK [10:28:49]requested_item fd.num is exist - process it [10:28:49]SAM_PROTO_GetFieldsCounters [10:28:49]wFMCommunicate request_size=4 [10:28:49]MH_SAM_APDU [10:28:49]CAPDU: 80 13 00 00 [10:28:49]Write to MH i2c: E2 08 00 E1 01 80 13 00 00 00 00 00 00 5E [10:28:49]Write i2c OK [10:28:49]MH_I2C_Read... [10:28:49]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:28:49]Read from MH i2c: E2 [10:28:49]MH_I2C_Read... [10:28:49]Read from MH i2c: E2 62 00 [10:28:49]MH_I2C_Read... [10:28:49]Read from MH i2c: E2 62 00 E1 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 10 04 04 00 6D 87 00 00 0E 04 04 00 70 01 00 00 12 04 04 00 0D 00 00 00 5E 04 04 00 0D 00 00 00 57 04 04 00 0E 00 00 00 19 04 04 00 00 00 00 00 90 00 1D [10:28:49]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 10 04 04 00 6D 87 00 00 0E 04 04 00 70 01 00 00 12 04 04 00 0D 00 00 00 5E 04 04 00 0D 00 00 00 57 04 04 00 0E 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:28:49]wFMCommunicate OK [10:28:49]SAM_PROTO_GetFieldsCounters done [10:28:49]requested_item shift.num is exist - process it [10:28:49]requested_item shift.opened is exist - process it [10:28:49]req_shift_opened [10:28:49]FM_GetShiftState [10:28:49]SAM_PROTO_GetShiftState [10:28:49]wFMCommunicate request_size=4 [10:28:49]MH_SAM_APDU [10:28:49]CAPDU: 80 13 01 00 [10:28:49]Write to MH i2c: E2 08 00 E2 01 80 13 01 00 00 00 00 00 60 [10:28:49]Write i2c OK [10:28:49]MH_I2C_Read... [10:28:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:28:49]Read from MH i2c: E2 [10:28:49]MH_I2C_Read... [10:28:49]Read from MH i2c: E2 0E 00 [10:28:49]MH_I2C_Read... [10:28:49]Read from MH i2c: E2 0E 00 E2 01 00 09 00 01 35 5B 5E 66 00 00 00 00 90 00 C0 [10:28:49]RAPDU: 09 00 01 35 5B 5E 66 00 00 00 00 90 00 [10:28:49]wFMCommunicate OK [10:28:49]SAM_PROTO_GetShiftState done [10:28:49]FM_GetShiftState done [10:28:49]req_shift_opened done [10:28:49]requested_item shift.open_date is exist - process it [10:28:49]req_shift_open_date [10:28:49]req_shift_open_date done [10:28:49]produce_requested_data done [10:28:49]produce_requested_data return {"fm.sn":"0000000000874859","fd.num":34669,"shift.num":368,"shift.opened":1,"shift.open_date":1717459765} [10:28:49]process_action_free close_receipt [10:28:49]json_value_free [10:28:49]json_value_free done [10:28:49]process_json_proto returns [10:28:49]Send response to host [10:28:49]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874859","fd.num":34669,"shift.num":368,"shift.opened":1,"shift.open_date":1717459765}}} [10:28:49]free response buf [10:28:49]execute_script done [10:28:49]execute_script returns [10:28:49]free content buf [10:28:49]Sock 7.Close socket [10:28:49]Sock 7.Thread stoped [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: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:58]OFD Sender: No OFD packet to send [10:31:03]OFD Sender: No OFD packet to send [10:31:08]OFD Sender: No OFD packet to send [10:31:13]OFD Sender: No OFD packet to send [10:31:18]OFD Sender: No OFD packet to send [10:31:23]OFD Sender: No OFD packet to send [10:31:28]OFD Sender: No OFD packet to send [10:31:33]OFD Sender: No OFD packet to send [10:31:38]OFD Sender: No OFD packet to send [10:31:43]OFD Sender: No OFD packet to send [10:31:48]OFD Sender: No OFD packet to send [10:31:53]OFD Sender: No OFD packet to send [10:31:58]OFD Sender: No OFD packet to send [10:32:03]OFD Sender: No OFD packet to send [10:32:08]OFD Sender: No OFD packet to send [10:32:13]OFD Sender: No OFD packet to send [10:32:18]OFD Sender: No OFD packet to send [10:32:23]OFD Sender: No OFD packet to send [10:32:28]OFD Sender: No OFD packet to send [10:32:33]OFD Sender: No OFD packet to send [10:32:38]OFD Sender: No OFD packet to send [10:32:43]OFD Sender: No OFD packet to send [10:32:48]OFD Sender: No OFD packet to send [10:32:53]OFD Sender: No OFD packet to send [10:32:58]OFD Sender: No OFD packet to send [10:33:03]OFD Sender: No OFD packet to send [10:33:08]OFD Sender: No OFD packet to send [10:33:13]OFD Sender: No OFD packet to send [10:33:18]OFD Sender: No OFD packet to send [10:33:23]OFD Sender: No OFD packet to send [10:33:28]OFD Sender: No OFD packet to send [10:33:33]OFD Sender: No OFD packet to send [10:33:38]OFD Sender: No OFD packet to send [10:33:43]OFD Sender: No OFD packet to send [10:33:48]OFD Sender: No OFD packet to send [10:33:53]OFD Sender: No OFD packet to send [10:33:58]OFD Sender: No OFD packet to send [10:34:03]OFD Sender: No OFD packet to send [10:34:08]OFD Sender: No OFD packet to send [10:34:13]OFD Sender: No OFD packet to send [10:34:18]OFD Sender: No OFD packet to send [10:34:23]OFD Sender: No OFD packet to send [10:34:28]OFD Sender: No OFD packet to send [10:34:33]OFD Sender: No OFD packet to send [10:34:38]OFD Sender: No OFD packet to send [10:34:43]OFD Sender: No OFD packet to send [10:34:48]OFD Sender: No OFD packet to send [10:34:53]OFD Sender: No OFD packet to send [10:34:58]OFD Sender: No OFD packet to send [10:35:03]OFD Sender: No OFD packet to send [10:35:08]OFD Sender: No OFD packet to send [10:35:13]OFD Sender: No OFD packet to send [10:35:18]OFD Sender: No OFD packet to send [10:35:23]OFD Sender: No OFD packet to send [10:35:28]OFD Sender: No OFD packet to send [10:35:33]OFD Sender: No OFD packet to send [10:35:38]OFD Sender: No OFD packet to send [10:35:43]OFD Sender: No OFD packet to send [10:35:48]OFD Sender: No OFD packet to send [10:35:53]OFD Sender: No OFD packet to send [10:35:58]OFD Sender: No OFD packet to send [10:36:03]OFD Sender: No OFD packet to send [10:36:08]OFD Sender: No OFD packet to send [10:36:13]OFD Sender: No OFD packet to send [10:36:18]OFD Sender: No OFD packet to send [10:36:23]OFD Sender: No OFD packet to send [10:36:28]OFD Sender: No OFD packet to send [10:36:33]OFD Sender: No OFD packet to send [10:36:38]OFD Sender: No OFD packet to send [10:36:43]OFD Sender: No OFD packet to send [10:36:48]OFD Sender: No OFD packet to send [10:36:53]OFD Sender: No OFD packet to send [10:36:58]OFD Sender: No OFD packet to send [10:37:03]OFD Sender: No OFD packet to send [10:37:08]OFD Sender: No OFD packet to send [10:37:13]OFD Sender: No OFD packet to send [10:37:18]OFD Sender: No OFD packet to send [10:37:23]OFD Sender: No OFD packet to send [10:37:28]OFD Sender: No OFD packet to send [10:37:33]OFD Sender: No OFD packet to send [10:37:38]OFD Sender: No OFD packet to send [10:37:43]OFD Sender: No OFD packet to send [10:37:48]OFD Sender: No OFD packet to send [10:37:50]accept exits with 9 [10:37:50]New connection [10:37:50]New thread 3067170148 created [10:37:50]Thread 3067026788 joined [10:37:50]Waiting for new connection... [10:37:50] Sock 9.Parse request [10:37:50]Sock 9.Check first char [10:37:50]Sock 9.First char is OK [10:37:50]request: POST /json_proto HTTP/1.0 [10:37:50]Method: POST [10:37:50]URL: /json_proto [10:37:50]Method is POST - this is cgi request [10:37:50]url: /json_proto [10:37:50]query_string will be loaded in cgi processing [10:37:50]execute_cgi json_proto POST (null) [10:37:50]execute_cgi path=json_proto method=POST [10:37:50]POST find Content-Length [10:37:50]Host: 172.17.36.131:8080 [10:37:50]Content-Length: 630 [10:37:50]Content-Type: application/json [10:37:50] [10:37:50]POST finish read [10:37:50]Found Content-Length = 630 [10:37:50]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100032", "tax_sys" : 0, "items" : [ { "code": "4700000480814", "name": "\u041F\u0438\u0432\u043E \u0416\u0438\u0432\u043E\u0435 0,5 \u0441\u0442", "price" : 100.00, "quantity" : 1.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 100.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:37:50]execute_script... [10:37:50]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100032", "tax_sys" : 0, "items" : [ { "code": "4700000480814", "name": "\u041F\u0438\u0432\u043E \u0416\u0438\u0432\u043E\u0435 0,5 \u0441\u0442", "price" : 100.00, "quantity" : 1.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 100.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:37:50]POST & json_proto [10:37:50]process_json_proto [10:37:50]json parsed OK: [10:37:50]protocol is kg_v1.0 [10:37:50]action value=close_receipt [10:37:50]process_action close_receipt [10:37:50]cmd_close_receipt [10:37:50]MH_GetDate [10:37:50]Write to MH i2c: F0 00 00 E3 01 D3 [10:37:50]Write i2c OK [10:37:50]MH_I2C_Read... [10:37:50]Read from MH i2c: F0 [10:37:50]MH_I2C_Read... [10:37:50]Read from MH i2c: F0 09 00 [10:37:50]MH_I2C_Read... [10:37:50]Read from MH i2c: F0 09 00 E3 01 00 80 EE 5E 66 A7 4C 98 65 FE [10:37:50]GetLastDocTimeStamp 1717496927 [10:37:50]current date 1717497472 [10:37:50]FM_GetShiftState [10:37:50]SAM_PROTO_GetShiftState [10:37:50]wFMCommunicate request_size=4 [10:37:50]MH_SAM_APDU [10:37:50]CAPDU: 80 13 01 00 [10:37:50]Write to MH i2c: E2 08 00 E4 01 80 13 01 00 00 00 00 00 62 [10:37:50]Write i2c OK [10:37:50]MH_I2C_Read... [10:37:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:37:50]Read from MH i2c: E2 [10:37:50]MH_I2C_Read... [10:37:50]Read from MH i2c: E2 0E 00 [10:37:50]MH_I2C_Read... [10:37:50]Read from MH i2c: E2 0E 00 E4 01 00 09 00 01 35 5B 5E 66 00 00 00 00 90 00 C2 [10:37:50]RAPDU: 09 00 01 35 5B 5E 66 00 00 00 00 90 00 [10:37:50]wFMCommunicate OK [10:37:50]SAM_PROTO_GetShiftState done [10:37:50]FM_GetShiftState done [10:37:50]opened in 1717459765 [10:37:50]opened+sec_in_day 1717546165 [10:37:50]quantity*price = 10000 [10:37:50]sum+1 = 10001 [10:37:50]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 100.00 НСП 1% : 0.88 НДС 12% : 10.62 Наличными: 100.00 Безнал.: 0.00 Место: АЗС № 62 "Партнер Нефть" Адрес: 720001, г. Балыкчы, ул. Абдрахманова 325 Б, 42.462761, 76.214931 СНО: Общий режим Чек 14 04.06.2024 10:37 Смена: 368 ФФД: 1.0 ЗНМ: 0300000080 РНМ: 0000000000096838 Версия ККМ: 001 ФМ: 0000000000874859 ФД: 34670 ФПД: 176363737123163 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T103752&type=1&operation_type=1&fn_number=0000000000874859&fd_number=34670&fm=176363737123163&tin=02508201610067®Number=0000000000096838&sum=10000 0 [10:37:51]StoreToDocumentArchive [10:37:51]shift 368 fd 34670 [10:37:51]save to /storage/0368/doc_00034670 [10:37:51]save last doc name /storage/0368/doc_00034670 to /storage/kkm_last_doc_name [10:37:51]save OK [10:37:51]Clear old archive folders... [10:37:51]ProcessDocumentItem done err = 0, tmpTLVsize=270 [10:37:51]tlvbuf is 01B4A5E0 [10:37:51]SAM_PROTO_ClearQueue [10:37:51]wFMCommunicate request_size=4 [10:37:51]MH_SAM_APDU [10:37:51]CAPDU: 80 09 00 00 [10:37:51]Write to MH i2c: E2 08 00 F1 01 80 09 00 00 00 00 00 00 64 [10:37:51]Write i2c OK [10:37:51]MH_I2C_Read... [10:37:51]Read from MH i2c: E2 [10:37:51]MH_I2C_Read... [10:37:51]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:37:51]Read from MH i2c: E2 03 00 [10:37:51]MH_I2C_Read... [10:37:51]Read from MH i2c: E2 03 00 F1 01 00 90 00 66 [10:37:51]RAPDU: 90 00 [10:37:51]wFMCommunicate OK [10:37:51]SAM_PROTO_ClearQueue done [10:37:51]KKMCreateOFDPacket [10:37:51]OFDProtocolAddRootSTLVToBuf [10:37:51]FM_MakeSignedData [10:37:51]FM_MakeSignedData [10:37:51]SAM_PROTO_SignData [10:37:51]wFMCommunicate request_size=4 [10:37:51]MH_SAM_APDU [10:37:51]CAPDU: 80 0D 01 02 [10:37:51]Write to MH i2c: E2 08 00 F2 01 80 0D 01 02 00 00 00 00 6C [10:37:51]Write i2c OK [10:37:51]MH_I2C_Read... [10:37:51]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:37:51]Read from MH i2c: E2 [10:37:51]MH_I2C_Read... [10:37:51]Read from MH i2c: E2 03 00 [10:37:51]MH_I2C_Read... [10:37:51]Read from MH i2c: E2 03 00 F2 01 00 90 00 67 [10:37:51]RAPDU: 90 00 [10:37:51]wFMCommunicate OK [10:37:51]wFMCommunicate request_size=255 [10:37:51]MH_SAM_APDU [10:37:51]CAPDU: 80 0D 02 02 FA 03 00 0E 01 1E 04 01 00 01 23 04 60 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 38 31 34 06 04 1C 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B8 D0 B2 D0 BE D0 B5 20 30 2C 35 20 D1 81 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 26 04 00 00 00 00 07 04 06 00 10 27 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 80 EE 5E 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 [10:37:51]Write to MH i2c: E2 02 01 F3 01 80 0D 02 02 FA 00 03 00 0E 01 1E 04 01 00 01 23 04 60 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 38 31 34 06 04 1C 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B8 D0 B2 D0 BE D0 B5 20 30 2C 35 20 D1 81 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 26 04 00 00 00 00 07 04 06 00 10 27 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 80 EE 5E 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 00 00 62 [10:37:51]Write i2c OK [10:37:51]MH_I2C_Read... [10:37:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:37:52]Read from MH i2c: E2 [10:37:52]MH_I2C_Read... [10:37:52]Read from MH i2c: E2 03 00 [10:37:52]MH_I2C_Read... [10:37:52]Read from MH i2c: E2 03 00 F3 01 00 90 00 68 [10:37:52]RAPDU: 90 00 [10:37:52]wFMCommunicate OK [10:37:52]wFMCommunicate request_size=29 [10:37:52]MH_SAM_APDU [10:37:52]CAPDU: 80 0D 02 02 18 38 37 34 38 35 39 10 04 04 00 6E 87 00 00 35 04 06 00 A0 66 E1 E7 09 5B [10:37:52]Write to MH i2c: E2 20 00 F4 01 80 0D 02 02 18 00 38 37 34 38 35 39 10 04 04 00 6E 87 00 00 35 04 06 00 A0 66 E1 E7 09 5B 00 00 66 [10:37:52]Write i2c OK [10:37:52]MH_I2C_Read... [10:37:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:37:52]Read from MH i2c: E2 [10:37:52]MH_I2C_Read... [10:37:52]Read from MH i2c: E2 03 00 [10:37:52]MH_I2C_Read... [10:37:52]Read from MH i2c: E2 03 00 F4 01 00 90 00 69 [10:37:52]RAPDU: 90 00 [10:37:52]wFMCommunicate OK [10:37:52]wFMCommunicate request_size=4 [10:37:52]MH_SAM_APDU [10:37:52]CAPDU: 80 0D 03 02 [10:37:52]Write to MH i2c: E2 08 00 F5 01 80 0D 03 02 00 00 00 00 71 [10:37:52]Write i2c OK [10:37:52]MH_I2C_Read... [10:37:52]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:37:52]Read from MH i2c: E2 [10:37:52]MH_I2C_Read... [10:37:52]Read from MH i2c: E2 0B 00 [10:37:52]MH_I2C_Read... [10:37:52]Read from MH i2c: E2 0B 00 F5 01 00 15 60 2B 73 20 63 F1 99 90 00 92 [10:37:52]RAPDU: 15 60 2B 73 20 63 F1 99 90 00 [10:37:52]wFMCommunicate OK [10:37:52]SAM_PROTO_SignData done [10:37:52]FM_MakeSignedData done [10:37:52]CreateOFDProtocolMessage [10:37:52]wFMCommunicate request_size=4 [10:37:52]MH_SAM_APDU [10:37:52]CAPDU: 80 11 00 00 [10:37:52]Write to MH i2c: E2 08 00 F6 01 80 11 00 00 00 00 00 00 71 [10:37:52]Write i2c OK [10:37:52]MH_I2C_Read... [10:37:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:37:52]Read from MH i2c: E2 [10:37:52]MH_I2C_Read... [10:37:52]Read from MH i2c: E2 17 00 [10:37:52]MH_I2C_Read... [10:37:52]Read from MH i2c: E2 17 00 F6 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 CD [10:37:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 [10:37:52]wFMCommunicate OK [10:37:52]CreateOFDProtocolMessage done [10:37:52]OFDSenderStorePacket 34670 [10:37:52]StoreOFDPacket docnum=34670 [10:37:52]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 22 01 00 00 FD 10 1A 01 89 87 5A 03 01 00 03 00 0E 01 1E 04 01 00 01 23 04 60 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 38 31 34 06 04 1C 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B8 D0 B2 D0 BE D0 B5 20 30 2C 35 20 D1 81 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 26 04 00 00 00 00 07 04 06 00 10 27 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 80 EE 5E 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 6E 87 00 00 35 04 06 00 A0 66 E1 E7 09 5B 15 60 2B 73 20 63 F1 99 [10:37:52]CheckFolder [10:37:52]dirname=/storage/ofd_packets [10:37:52]CheckFolder done [10:37:52]ProducePacketName [10:37:52]name=ofd_packets/00034670 [10:37:52]NVStorageSaveData ofd_packets/00034670 [10:37:52]File name is /storage/ofd_packets/00034670 [10:37:52]Write 320 bytes [10:37:52]NVStorageSaveData done [10:37:52]OFDSenderStorePacket done [10:37:52]KKMCreateOFDPacket done [10:37:52]NVStorageSaveData kkm_last_timestamp [10:37:52]File name is /storage/kkm_last_timestamp [10:37:52]Write 4 bytes [10:37:52]NVStorageSaveData done [10:37:52]ExternCall_PrintAddStr [10:37:52]wPrintStart [10:37:52]Write to MH i2c: 01 00 00 F7 01 F8 [10:37:52]Write i2c OK [10:37:52]MH_I2C_Read... [10:37:52]Read from MH i2c: 01 [10:37:52]MH_I2C_Read... [10:37:52]Read from MH i2c: 01 07 00 [10:37:52]MH_I2C_Read... [10:37:52]Read from MH i2c: 01 07 00 F7 01 00 00 00 00 00 FF 0F 0D [10:37:52]RasterBufferAndPrint [10:37:52]line Счет N : (3)100032 [10:37:52]line ИНН: 02508201610067 [10:37:52]line Контрольно-Кассовый Чек [10:37:52]line ПРОДАЖА [10:37:52]line Товар: 4700000480814 [10:37:52]line Пиво Живое 0,5 ст [10:37:52]line 1.000 * 100.00 [10:37:52]line = 100.00 [10:37:52]line НДС 12% НСП 1% [10:37:52]line > о реализуемом товаре [10:37:52]line ИТОГО: 100.00 [10:37:52]line НСП 1% : 0.88 [10:37:52]line НДС 12% : 10.62 [10:37:52]line Наличными: 100.00 [10:37:52]line Безнал.: 0.00 [10:37:52]line Место: АЗС № 62 "Партнер Нефть" [10:37:52]line Адрес: 720001, г. Балыкчы, ул. Абдрахманова 325 Б, 42.462761, 76.214931 [10:37:52]line СНО: Общий режим [10:37:52]line Чек 14 04.06.2024 10:37 [10:37:52]line Смена: 368 ФФД: 1.0 [10:37:52]line ЗНМ: 0300000080 [10:37:52]line РНМ: 0000000000096838 [10:37:52]line Версия ККМ: 001 [10:37:52]line ФМ: 0000000000874859 [10:37:52]line ФД: 34670 [10:37:52]line ФПД: 176363737123163 [10:37:52]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T103752&type=1&operation_type=1&fn_number=0000000000874859&fd_number=34670&fm=176363737123163&tin=02508201610067®Number=0000000000096838&sum=10000 [10:37:52]line 0 [10:37:52]written 0, free lines is 4095 [10:37:52]OFD Sender: Processing packet 34670 [packets to send 17, broken 16] [10:37:52]ProducePacketName [10:37:52]name=ofd_packets/00034670 [10:37:52]OFD Sender: To server: pG, [10:37:52]CommunicateWithHost lk.salyk.kg:30040 [10:37:52]ConnectInit lk.salyk.kg [10:37:52]Connected sock=11 [10:37:52]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 22 01 00 00 FD 10 1A 01 89 87 5A 03 01 00 03 00 0E 01 1E 04 01 00 01 23 04 60 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 38 31 34 06 04 1C 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B8 D0 B2 D0 BE D0 B5 20 30 2C 35 20 D1 81 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 26 04 00 00 00 00 07 04 06 00 10 27 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 80 EE 5E 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 6E 87 00 00 35 04 06 00 A0 66 E1 E7 09 5B 15 60 2B 73 20 63 F1 99 [10:37:52]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 4F 00 00 00 17 A5 47 00 DE 20 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 6E 87 00 00 F4 03 04 00 BF 98 5E 66 B6 04 01 00 00 21 19 57 95 6D CF 01 BA [10:37:52]CommunicateWithHost err = 0 [10:37:52]CheckOFDResponse [10:37:52]1017 (14) - 77093643461234 [10:37:52]1041 (16) - 0000000000874859 [10:37:52]1040 (4) - 34670 [10:37:52]1012 (4) - 04.06.2024 04:31 [10:37:52]1206 (1) - 0 [10:37:52]OFD Sender: Remove packet 34670 [10:37:52]ProducePacketName [10:37:52]name=ofd_packets/00034670 [10:37:52]NVStorageDeleteData [10:37:52]Write to MH i2c: 01 00 00 1F 02 21 [10:37:52]Write i2c OK [10:37:52]MH_I2C_Read... [10:37:52]Read from MH i2c: 01 [10:37:52]MH_I2C_Read... [10:37:52]Read from MH i2c: 01 07 00 [10:37:52]MH_I2C_Read... [10:37:52]Read from MH i2c: 01 07 00 1F 02 00 00 00 00 00 2A 0D 5F [10:37:52]RasterBufferAndPrint [10:37:52]line [10:37:52]line [10:37:52]line [10:37:52]line [10:37:52]line [10:37:52]written 0, free lines is 3378 [10:37:52]MH_Cut [10:37:52]Write to MH i2c: D1 01 00 26 02 01 FA [10:37:52]Write i2c OK [10:37:52]MH_I2C_Read... [10:37:52]Read from MH i2c: D1 [10:37:52]MH_I2C_Read... [10:37:52]Read from MH i2c: D1 01 00 [10:37:52]MH_I2C_Read... [10:37:52]Read from MH i2c: D1 01 00 26 02 00 F9 [10:37:52]Write to MH i2c: 01 00 00 27 02 29 [10:37:52]Write i2c OK [10:37:52]MH_I2C_Read... [10:37:53]OFD Sender: No OFD packet to send [10:37:53]*** Cut start [10:37:53]*** Partial cut [10:37:53]*** CUTSNS_PIN = 1 [10:37:53]*** CUTSNS_PIN = 0 [10:37:53]*** Brake cut motor [10:37:53]Read from MH i2c: 01 [10:37:54]MH_I2C_Read... [10:37:54]*** Stop cut motor [10:37:54]*** Cut end [10:37:54]Read from MH i2c: 01 07 00 [10:37:54]MH_I2C_Read... [10:37:54]Read from MH i2c: 01 07 00 27 02 00 00 00 00 00 FF 0F 3E [10:37:54]process_action close_receipt done [10:37:54]requested_data is exist [10:37:54]produce_requested_data [10:37:54]requested_item fm.sn is exist - process it [10:37:54]wFMCommunicate request_size=4 [10:37:54]MH_SAM_APDU [10:37:54]CAPDU: 80 11 00 00 [10:37:54]Write to MH i2c: E2 08 00 28 02 80 11 00 00 00 00 00 00 A4 [10:37:54]Write i2c OK [10:37:54]MH_I2C_Read... [10:37:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:37:54]Read from MH i2c: E2 [10:37:54]MH_I2C_Read... [10:37:54]Read from MH i2c: E2 17 00 [10:37:54]MH_I2C_Read... [10:37:54]Read from MH i2c: E2 17 00 28 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 00 [10:37:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 [10:37:54]wFMCommunicate OK [10:37:54]requested_item fd.num is exist - process it [10:37:54]SAM_PROTO_GetFieldsCounters [10:37:54]wFMCommunicate request_size=4 [10:37:54]MH_SAM_APDU [10:37:54]CAPDU: 80 13 00 00 [10:37:54]Write to MH i2c: E2 08 00 29 02 80 13 00 00 00 00 00 00 A7 [10:37:54]Write i2c OK [10:37:54]MH_I2C_Read... [10:37:54]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:37:54]Read from MH i2c: E2 [10:37:54]MH_I2C_Read... [10:37:54]Read from MH i2c: E2 62 00 [10:37:54]MH_I2C_Read... [10:37:54]Read from MH i2c: E2 62 00 29 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 10 04 04 00 6E 87 00 00 0E 04 04 00 70 01 00 00 12 04 04 00 0E 00 00 00 5E 04 04 00 0E 00 00 00 57 04 04 00 0F 00 00 00 19 04 04 00 00 00 00 00 90 00 6A [10:37:54]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 10 04 04 00 6E 87 00 00 0E 04 04 00 70 01 00 00 12 04 04 00 0E 00 00 00 5E 04 04 00 0E 00 00 00 57 04 04 00 0F 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:37:54]wFMCommunicate OK [10:37:54]SAM_PROTO_GetFieldsCounters done [10:37:54]requested_item shift.num is exist - process it [10:37:54]requested_item shift.opened is exist - process it [10:37:54]req_shift_opened [10:37:54]FM_GetShiftState [10:37:54]SAM_PROTO_GetShiftState [10:37:54]wFMCommunicate request_size=4 [10:37:54]MH_SAM_APDU [10:37:54]CAPDU: 80 13 01 00 [10:37:54]Write to MH i2c: E2 08 00 2A 02 80 13 01 00 00 00 00 00 A9 [10:37:54]Write i2c OK [10:37:54]MH_I2C_Read... [10:37:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:37:54]Read from MH i2c: E2 [10:37:54]MH_I2C_Read... [10:37:54]Read from MH i2c: E2 0E 00 [10:37:54]MH_I2C_Read... [10:37:54]Read from MH i2c: E2 0E 00 2A 02 00 09 00 01 35 5B 5E 66 00 00 00 00 90 00 09 [10:37:54]RAPDU: 09 00 01 35 5B 5E 66 00 00 00 00 90 00 [10:37:54]wFMCommunicate OK [10:37:54]SAM_PROTO_GetShiftState done [10:37:54]FM_GetShiftState done [10:37:54]req_shift_opened done [10:37:54]requested_item shift.open_date is exist - process it [10:37:54]req_shift_open_date [10:37:54]req_shift_open_date done [10:37:54]produce_requested_data done [10:37:54]produce_requested_data return {"fm.sn":"0000000000874859","fd.num":34670,"shift.num":368,"shift.opened":1,"shift.open_date":1717459765} [10:37:54]process_action_free close_receipt [10:37:54]json_value_free [10:37:54]json_value_free done [10:37:54]process_json_proto returns [10:37:54]Send response to host [10:37:54]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874859","fd.num":34670,"shift.num":368,"shift.opened":1,"shift.open_date":1717459765}}} [10:37:54]free response buf [10:37:54]execute_script done [10:37:54]execute_script returns [10:37:54]free content buf [10:37:54]Sock 9.Close socket [10:37:54]Sock 9.Thread stoped [10:37:58]OFD Sender: No OFD packet to send [10:38:03]OFD Sender: No OFD packet to send [10:38:08]OFD Sender: No OFD packet to send [10:38:13]OFD Sender: No OFD packet to send [10:38:18]OFD Sender: No OFD packet to send [10:38:23]OFD Sender: No OFD packet to send [10:38:28]OFD Sender: No OFD packet to send [10:38:33]OFD Sender: No OFD packet to send [10:38:38]OFD Sender: No OFD packet to send [10:38:43]OFD Sender: No OFD packet to send [10:38:48]OFD Sender: No OFD packet to send [10:38:53]OFD Sender: No OFD packet to send [10:38:58]OFD Sender: No OFD packet to send [10:39:03]OFD Sender: No OFD packet to send [10:39:08]OFD Sender: No OFD packet to send [10:39:13]OFD Sender: No OFD packet to send [10:39:18]OFD Sender: No OFD packet to send [10:39:23]OFD Sender: No OFD packet to send [10:39:28]OFD Sender: No OFD packet to send [10:39:33]OFD Sender: No OFD packet to send [10:39:38]OFD Sender: No OFD packet to send [10:39:43]OFD Sender: No OFD packet to send [10:39:48]OFD Sender: No OFD packet to send [10:39:53]OFD Sender: No OFD packet to send [10:39:58]OFD Sender: No OFD packet to send [10:40:03]OFD Sender: No OFD packet to send [10:40:08]OFD Sender: No OFD packet to send [10:40:13]OFD Sender: No OFD packet to send [10:40:18]OFD Sender: No OFD packet to send [10:40:23]OFD Sender: No OFD packet to send [10:40:28]OFD Sender: No OFD packet to send [10:40:33]OFD Sender: No OFD packet to send [10:40:38]OFD Sender: No OFD packet to send [10:40:43]OFD Sender: No OFD packet to send [10:40:48]OFD Sender: No OFD packet to send [10:40:53]OFD Sender: No OFD packet to send [10:40:58]OFD Sender: No OFD packet to send [10:41:03]OFD Sender: No OFD packet to send [10:41:08]OFD Sender: No OFD packet to send [10:41:13]OFD Sender: No OFD packet to send [10:41:18]OFD Sender: No OFD packet to send [10:41:23]OFD Sender: No OFD packet to send [10:41:28]OFD Sender: No OFD packet to send [10:41:33]OFD Sender: No OFD packet to send [10:41:38]OFD Sender: No OFD packet to send [10:41:43]OFD Sender: No OFD packet to send [10:41:48]OFD Sender: No OFD packet to send [10:41:53]OFD Sender: No OFD packet to send [10:41:58]OFD Sender: No OFD packet to send [10:42:03]OFD Sender: No OFD packet to send [10:42:08]OFD Sender: No OFD packet to send [10:42:13]OFD Sender: No OFD packet to send [10:42:18]OFD Sender: No OFD packet to send [10:42:23]OFD Sender: No OFD packet to send [10:42:28]OFD Sender: No OFD packet to send [10:42:33]OFD Sender: No OFD packet to send [10:42:38]OFD Sender: No OFD packet to send [10:42:43]OFD Sender: No OFD packet to send [10:42:48]OFD Sender: No OFD packet to send [10:42:53]OFD Sender: No OFD packet to send [10:42:58]OFD Sender: No OFD packet to send [10:43:03]OFD Sender: No OFD packet to send [10:43:08]OFD Sender: No OFD packet to send [10:43:13]OFD Sender: No OFD packet to send [10:43:18]OFD Sender: No OFD packet to send [10:43:23]OFD Sender: No OFD packet to send [10:43:28]OFD Sender: No OFD packet to send [10:43:33]OFD Sender: No OFD packet to send [10:43:38]OFD Sender: No OFD packet to send [10:43:43]OFD Sender: No OFD packet to send [10:43:48]OFD Sender: No OFD packet to send [10:43:53]OFD Sender: No OFD packet to send [10:43:58]OFD Sender: No OFD packet to send [10:44:03]OFD Sender: No OFD packet to send [10:44:08]OFD Sender: No OFD packet to send [10:44:13]OFD Sender: No OFD packet to send [10:44:18]OFD Sender: No OFD packet to send [10:44:23]OFD Sender: No OFD packet to send [10:44:28]OFD Sender: No OFD packet to send [10:44:33]OFD Sender: No OFD packet to send [10:44:38]OFD Sender: No OFD packet to send [10:44:43]OFD Sender: No OFD packet to send [10:44:48]OFD Sender: No OFD packet to send [10:44:53]OFD Sender: No OFD packet to send [10:44:58]OFD Sender: No OFD packet to send [10:45:03]OFD Sender: No OFD packet to send [10:45:08]OFD Sender: No OFD packet to send [10:45:13]OFD Sender: No OFD packet to send [10:45:18]OFD Sender: No OFD packet to send [10:45:23]OFD Sender: No OFD packet to send [10:45:28]OFD Sender: No OFD packet to send [10:45:33]OFD Sender: No OFD packet to send [10:45:38]OFD Sender: No OFD packet to send [10:45:43]OFD Sender: No OFD packet to send [10:45:48]OFD Sender: No OFD packet to send [10:45:53]OFD Sender: No OFD packet to send [10:45:58]OFD Sender: No OFD packet to send [10:46:03]OFD Sender: No OFD packet to send [10:46:08]OFD Sender: No OFD packet to send [10:46:13]OFD Sender: No OFD packet to send [10:46:18]OFD Sender: No OFD packet to send [10:46:23]OFD Sender: No OFD packet to send [10:46:28]OFD Sender: No OFD packet to send [10:46:33]OFD Sender: No OFD packet to send [10:46:38]OFD Sender: No OFD packet to send [10:46:43]OFD Sender: No OFD packet to send [10:46:48]OFD Sender: No OFD packet to send [10:46:53]OFD Sender: No OFD packet to send [10:46:58]OFD Sender: No OFD packet to send [10:47:03]OFD Sender: No OFD packet to send [10:47:08]OFD Sender: No OFD packet to send [10:47:13]OFD Sender: No OFD packet to send [10:47:18]OFD Sender: No OFD packet to send [10:47:23]OFD Sender: No OFD packet to send [10:47:28]OFD Sender: No OFD packet to send [10:47:33]OFD Sender: No OFD packet to send [10:47:38]OFD Sender: No OFD packet to send [10:47:43]OFD Sender: No OFD packet to send [10:47:48]OFD Sender: No OFD packet to send [10:47:53]OFD Sender: No OFD packet to send [10:47:58]OFD Sender: No OFD packet to send [10:48:03]OFD Sender: No OFD packet to send [10:48:08]OFD Sender: No OFD packet to send [10:48:13]OFD Sender: No OFD packet to send [10:48:18]OFD Sender: No OFD packet to send [10:48:23]OFD Sender: No OFD packet to send [10:48:28]OFD Sender: No OFD packet to send [10:48:33]OFD Sender: No OFD packet to send [10:48:38]OFD Sender: No OFD packet to send [10:48:43]OFD Sender: No OFD packet to send [10:48:48]OFD Sender: No OFD packet to send [10:48:53]OFD Sender: No OFD packet to send [10:48:58]OFD Sender: No OFD packet to send [10:49:03]OFD Sender: No OFD packet to send [10:49:08]OFD Sender: No OFD packet to send [10:49:13]OFD Sender: No OFD packet to send [10:49:18]OFD Sender: No OFD packet to send [10:49:23]OFD Sender: No OFD packet to send [10:49:28]OFD Sender: No OFD packet to send [10:49:33]OFD Sender: No OFD packet to send [10:49:38]OFD Sender: No OFD packet to send [10:49:43]OFD Sender: No OFD packet to send [10:49:48]OFD Sender: No OFD packet to send [10:49:53]OFD Sender: No OFD packet to send [10:49:58]OFD Sender: No OFD packet to send [10:50:03]OFD Sender: No OFD packet to send [10:50:08]OFD Sender: No OFD packet to send [10:50:13]OFD Sender: No OFD packet to send [10:50:18]OFD Sender: No OFD packet to send [10:50:23]OFD Sender: No OFD packet to send [10:50:28]OFD Sender: No OFD packet to send [10:50:33]OFD Sender: No OFD packet to send [10:50:38]OFD Sender: No OFD packet to send [10:50:43]OFD Sender: No OFD packet to send [10:50:48]OFD Sender: No OFD packet to send [10:50:53]OFD Sender: No OFD packet to send [10:50:58]OFD Sender: No OFD packet to send [10:51:03]OFD Sender: No OFD packet to send [10:51:08]OFD Sender: No OFD packet to send [10:51:13]OFD Sender: No OFD packet to send [10:51:18]OFD Sender: No OFD packet to send [10:51:23]OFD Sender: No OFD packet to send [10:51:28]OFD Sender: No OFD packet to send [10:51:33]OFD Sender: No OFD packet to send [10:51:38]OFD Sender: No OFD packet to send [10:51:43]OFD Sender: No OFD packet to send [10:51:48]OFD Sender: No OFD packet to send [10:51:53]OFD Sender: No OFD packet to send [10:51:58]OFD Sender: No OFD packet to send [10:52:03]OFD Sender: No OFD packet to send [10:52:08]OFD Sender: No OFD packet to send [10:52:13]OFD Sender: No OFD packet to send [10:52:18]OFD Sender: No OFD packet to send [10:52:23]OFD Sender: No OFD packet to send [10:52:28]OFD Sender: No OFD packet to send [10:52:33]OFD Sender: No OFD packet to send [10:52:38]OFD Sender: No OFD packet to send [10:52:43]OFD Sender: No OFD packet to send [10:52:48]OFD Sender: No OFD packet to send [10:52:53]OFD Sender: No OFD packet to send [10:52:58]OFD Sender: No OFD packet to send [10:53:03]OFD Sender: No OFD packet to send [10:53:08]OFD Sender: No OFD packet to send [10:53:13]OFD Sender: No OFD packet to send [10:53:18]OFD Sender: No OFD packet to send [10:53:23]OFD Sender: No OFD packet to send [10:53:28]OFD Sender: No OFD packet to send [10:53:33]OFD Sender: No OFD packet to send [10:53:38]OFD Sender: No OFD packet to send [10:53:43]OFD Sender: No OFD packet to send [10:53:48]OFD Sender: No OFD packet to send [10:53:53]OFD Sender: No OFD packet to send [10:53:58]OFD Sender: No OFD packet to send [10:54:03]OFD Sender: No OFD packet to send [10:54:08]OFD Sender: No OFD packet to send [10:54:13]OFD Sender: No OFD packet to send [10:54:18]OFD Sender: No OFD packet to send [10:54:23]OFD Sender: No OFD packet to send [10:54:28]OFD Sender: No OFD packet to send [10:54:33]OFD Sender: No OFD packet to send [10:54:38]OFD Sender: No OFD packet to send [10:54:43]OFD Sender: No OFD packet to send [10:54:48]OFD Sender: No OFD packet to send [10:54:53]OFD Sender: No OFD packet to send [10:54:58]OFD Sender: No OFD packet to send [10:55:03]OFD Sender: No OFD packet to send [10:55:08]OFD Sender: No OFD packet to send [10:55:13]OFD Sender: No OFD packet to send [10:55:18]OFD Sender: No OFD packet to send [10:55:23]OFD Sender: No OFD packet to send [10:55:28]OFD Sender: No OFD packet to send [10:55:33]OFD Sender: No OFD packet to send [10:55:38]OFD Sender: No OFD packet to send [10:55:43]OFD Sender: No OFD packet to send [10:55:48]OFD Sender: No OFD packet to send [10:55:53]OFD Sender: No OFD packet to send [10:55:59]OFD Sender: No OFD packet to send [10:56:04]OFD Sender: No OFD packet to send [10:56:09]OFD Sender: No OFD packet to send [10:56:14]OFD Sender: No OFD packet to send [10:56:19]OFD Sender: No OFD packet to send [10:56:24]OFD Sender: No OFD packet to send [10:56:29]OFD Sender: No OFD packet to send [10:56:34]OFD Sender: No OFD packet to send [10:56:39]OFD Sender: No OFD packet to send [10:56:44]OFD Sender: No OFD packet to send [10:56:49]OFD Sender: No OFD packet to send [10:56:54]OFD Sender: No OFD packet to send [10:56:59]OFD Sender: No OFD packet to send [10:57:04]OFD Sender: No OFD packet to send [10:57:09]OFD Sender: No OFD packet to send [10:57:14]OFD Sender: No OFD packet to send [10:57:19]OFD Sender: No OFD packet to send [10:57:24]OFD Sender: No OFD packet to send [10:57:29]OFD Sender: No OFD packet to send [10:57:34]OFD Sender: No OFD packet to send [10:57:39]OFD Sender: No OFD packet to send [10:57:44]OFD Sender: No OFD packet to send [10:57:49]OFD Sender: No OFD packet to send [10:57:54]OFD Sender: No OFD packet to send [10:57:59]OFD Sender: No OFD packet to send [10:58:04]OFD Sender: No OFD packet to send [10:58:09]OFD Sender: No OFD packet to send [10:58:14]OFD Sender: No OFD packet to send [10:58:19]OFD Sender: No OFD packet to send [10:58:24]OFD Sender: No OFD packet to send [10:58:29]OFD Sender: No OFD packet to send [10:58:34]OFD Sender: No OFD packet to send [10:58:39]OFD Sender: No OFD packet to send [10:58:44]OFD Sender: No OFD packet to send [10:58:49]OFD Sender: No OFD packet to send [10:58:54]OFD Sender: No OFD packet to send [10:58:59]OFD Sender: No OFD packet to send [10:59:04]OFD Sender: No OFD packet to send [10:59:09]OFD Sender: No OFD packet to send [10:59:14]OFD Sender: No OFD packet to send [10:59:19]OFD Sender: No OFD packet to send [10:59:24]OFD Sender: No OFD packet to send [10:59:29]OFD Sender: No OFD packet to send [10:59:34]OFD Sender: No OFD packet to send [10:59:39]OFD Sender: No OFD packet to send [10:59:44]OFD Sender: No OFD packet to send [10:59:49]OFD Sender: No OFD packet to send [10:59:54]OFD Sender: No OFD packet to send [10:59:59]OFD Sender: No OFD packet to send [11:00:04]OFD Sender: No OFD packet to send [11:00:09]OFD Sender: No OFD packet to send [11:00:14]OFD Sender: No OFD packet to send [11:00:19]OFD Sender: No OFD packet to send [11:00:24]OFD Sender: No OFD packet to send [11:00:29]OFD Sender: No OFD packet to send [11:00:34]OFD Sender: No OFD packet to send [11:00:39]OFD Sender: No OFD packet to send [11:00:44]OFD Sender: No OFD packet to send [11:00:49]OFD Sender: No OFD packet to send [11:00:54]OFD Sender: No OFD packet to send [11:00:59]OFD Sender: No OFD packet to send [11:01:04]OFD Sender: No OFD packet to send [11:01:09]OFD Sender: No OFD packet to send [11:01:14]OFD Sender: No OFD packet to send [11:01:19]OFD Sender: No OFD packet to send [11:01:24]OFD Sender: No OFD packet to send [11:01:29]OFD Sender: No OFD packet to send [11:01:34]OFD Sender: No OFD packet to send [11:01:39]OFD Sender: No OFD packet to send [11:01:44]OFD Sender: No OFD packet to send [11:01:49]OFD Sender: No OFD packet to send [11:01:54]OFD Sender: No OFD packet to send [11:01:59]OFD Sender: No OFD packet to send [11:02:04]OFD Sender: No OFD packet to send [11:02:09]OFD Sender: No OFD packet to send [11:02:14]OFD Sender: No OFD packet to send [11:02:19]OFD Sender: No OFD packet to send [11:02:24]OFD Sender: No OFD packet to send [11:02:29]OFD Sender: No OFD packet to send [11:02:34]OFD Sender: No OFD packet to send [11:02:39]OFD Sender: No OFD packet to send [11:02:44]OFD Sender: No OFD packet to send [11:02:49]OFD Sender: No OFD packet to send [11:02:54]OFD Sender: No OFD packet to send [11:02:59]OFD Sender: No OFD packet to send [11:03:04]OFD Sender: No OFD packet to send [11:03:09]OFD Sender: No OFD packet to send [11:03:14]OFD Sender: No OFD packet to send [11:03:19]OFD Sender: No OFD packet to send [11:03:24]OFD Sender: No OFD packet to send [11:03:29]OFD Sender: No OFD packet to send [11:03:34]OFD Sender: No OFD packet to send [11:03:39]OFD Sender: No OFD packet to send [11:03:44]OFD Sender: No OFD packet to send [11:03:49]OFD Sender: No OFD packet to send [11:03:54]OFD Sender: No OFD packet to send [11:03:59]OFD Sender: No OFD packet to send [11:04:04]OFD Sender: No OFD packet to send [11:04:09]OFD Sender: No OFD packet to send [11:04:14]OFD Sender: No OFD packet to send [11:04:19]OFD Sender: No OFD packet to send [11:04:24]OFD Sender: No OFD packet to send [11:04:29]OFD Sender: No OFD packet to send [11:04:34]OFD Sender: No OFD packet to send [11:04:39]OFD Sender: No OFD packet to send [11:04:44]OFD Sender: No OFD packet to send [11:04:49]OFD Sender: No OFD packet to send [11:04:54]OFD Sender: No OFD packet to send [11:04:59]OFD Sender: No OFD packet to send [11:05:04]OFD Sender: No OFD packet to send [11:05:09]OFD Sender: No OFD packet to send [11:05:14]OFD Sender: No OFD packet to send [11:05:19]OFD Sender: No OFD packet to send [11:05:24]OFD Sender: No OFD packet to send [11:05:29]OFD Sender: No OFD packet to send [11:05:34]OFD Sender: No OFD packet to send [11:05:39]OFD Sender: No OFD packet to send [11:05:44]OFD Sender: No OFD packet to send [11:05:49]OFD Sender: No OFD packet to send [11:05:54]OFD Sender: No OFD packet to send [11:05:59]OFD Sender: No OFD packet to send [11:06:04]OFD Sender: No OFD packet to send [11:06:09]OFD Sender: No OFD packet to send [11:06:14]OFD Sender: No OFD packet to send [11:06:19]OFD Sender: No OFD packet to send [11:06:24]OFD Sender: No OFD packet to send [11:06:29]OFD Sender: No OFD packet to send [11:06:34]OFD Sender: No OFD packet to send [11:06:39]OFD Sender: No OFD packet to send [11:06:44]OFD Sender: No OFD packet to send [11:06:49]OFD Sender: No OFD packet to send [11:06:54]OFD Sender: No OFD packet to send [11:06:59]OFD Sender: No OFD packet to send [11:07:04]OFD Sender: No OFD packet to send [11:07:09]OFD Sender: No OFD packet to send [11:07:14]OFD Sender: No OFD packet to send [11:07:19]OFD Sender: No OFD packet to send [11:07:24]OFD Sender: No OFD packet to send [11:07:29]OFD Sender: No OFD packet to send [11:07:34]OFD Sender: No OFD packet to send [11:07:39]OFD Sender: No OFD packet to send [11:07:44]OFD Sender: No OFD packet to send [11:07:49]OFD Sender: No OFD packet to send [11:07:54]OFD Sender: No OFD packet to send [11:07:59]OFD Sender: No OFD packet to send [11:08:04]OFD Sender: No OFD packet to send [11:08:09]OFD Sender: No OFD packet to send [11:08:14]OFD Sender: No OFD packet to send [11:08:19]OFD Sender: No OFD packet to send [11:08:24]OFD Sender: No OFD packet to send [11:08:29]OFD Sender: No OFD packet to send [11:08:34]OFD Sender: No OFD packet to send [11:08:39]OFD Sender: No OFD packet to send [11:08:44]OFD Sender: No OFD packet to send [11:08:49]OFD Sender: No OFD packet to send [11:08:54]OFD Sender: No OFD packet to send [11:08:59]OFD Sender: No OFD packet to send [11:09:04]OFD Sender: No OFD packet to send [11:09:09]OFD Sender: No OFD packet to send [11:09:12]accept exits with 7 [11:09:12]New connection [11:09:12]New thread 3067026788 created [11:09:12]Thread 3067170148 joined [11:09:12]Waiting for new connection... [11:09:12] Sock 7.Parse request [11:09:12]Sock 7.Check first char [11:09:12]Sock 7.First char is OK [11:09:12]request: POST /json_proto HTTP/1.0 [11:09:12]Method: POST [11:09:12]URL: /json_proto [11:09:12]Method is POST - this is cgi request [11:09:12]url: /json_proto [11:09:12]query_string will be loaded in cgi processing [11:09:12]execute_cgi json_proto POST (null) [11:09:12]execute_cgi path=json_proto method=POST [11:09:12]POST find Content-Length [11:09:12]Host: 172.17.36.131:8080 [11:09:12]Content-Length: 630 [11:09:12]Content-Type: application/json [11:09:12] [11:09:12]POST finish read [11:09:12]Found Content-Length = 630 [11:09:12]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100033", "tax_sys" : 0, "items" : [ { "code": "4700000480814", "name": "\u041F\u0438\u0432\u043E \u0416\u0438\u0432\u043E\u0435 0,5 \u0441\u0442", "price" : 100.00, "quantity" : 1.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 100.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:09:12]execute_script... [11:09: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)100033", "tax_sys" : 0, "items" : [ { "code": "4700000480814", "name": "\u041F\u0438\u0432\u043E \u0416\u0438\u0432\u043E\u0435 0,5 \u0441\u0442", "price" : 100.00, "quantity" : 1.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 100.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:09:12]POST & json_proto [11:09:12]process_json_proto [11:09:12]json parsed OK: [11:09:12]protocol is kg_v1.0 [11:09:12]action value=close_receipt [11:09:12]process_action close_receipt [11:09:12]cmd_close_receipt [11:09:12]MH_GetDate [11:09:12]Write to MH i2c: F0 00 00 2B 02 1C [11:09:12]Write i2c OK [11:09:12]MH_I2C_Read... [11:09:12]Read from MH i2c: F0 [11:09:12]MH_I2C_Read... [11:09:12]Read from MH i2c: F0 09 00 [11:09:12]MH_I2C_Read... [11:09:12]Read from MH i2c: F0 09 00 2B 02 00 DA F5 5E 66 A7 4C 98 65 A8 [11:09:12]GetLastDocTimeStamp 1717497472 [11:09:12]current date 1717499354 [11:09:12]FM_GetShiftState [11:09:12]SAM_PROTO_GetShiftState [11:09:12]wFMCommunicate request_size=4 [11:09:12]MH_SAM_APDU [11:09:12]CAPDU: 80 13 01 00 [11:09:12]Write to MH i2c: E2 08 00 2C 02 80 13 01 00 00 00 00 00 AB [11:09:12]Write i2c OK [11:09:12]MH_I2C_Read... [11:09:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:09:12]Read from MH i2c: E2 [11:09:12]MH_I2C_Read... [11:09:12]Read from MH i2c: E2 0E 00 [11:09:12]MH_I2C_Read... [11:09:12]Read from MH i2c: E2 0E 00 2C 02 00 09 00 01 35 5B 5E 66 00 00 00 00 90 00 0B [11:09:12]RAPDU: 09 00 01 35 5B 5E 66 00 00 00 00 90 00 [11:09:12]wFMCommunicate OK [11:09:12]SAM_PROTO_GetShiftState done [11:09:12]FM_GetShiftState done [11:09:12]opened in 1717459765 [11:09:12]opened+sec_in_day 1717546165 [11:09:12]quantity*price = 10000 [11:09:12]sum+1 = 10001 [11:09:12]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 100.00 НСП 1% : 0.88 НДС 12% : 10.62 Наличными: 100.00 Безнал.: 0.00 Место: АЗС № 62 "Партнер Нефть" Адрес: 720001, г. Балыкчы, ул. Абдрахманова 325 Б, 42.462761, 76.214931 СНО: Общий режим Чек 15 04.06.2024 11:09 Смена: 368 ФФД: 1.0 ЗНМ: 0300000080 РНМ: 0000000000096838 Версия ККМ: 001 ФМ: 0000000000874859 ФД: 34671 ФПД: 14597534328332 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T110914&type=1&operation_type=1&fn_number=0000000000874859&fd_number=34671&fm=14597534328332&tin=02508201610067®Number=0000000000096838&sum=10000 0 [11:09:13]StoreToDocumentArchive [11:09:13]shift 368 fd 34671 [11:09:13]save to /storage/0368/doc_00034671 [11:09:13]save last doc name /storage/0368/doc_00034671 to /storage/kkm_last_doc_name [11:09:13]save OK [11:09:13]Clear old archive folders... [11:09:13]ProcessDocumentItem done err = 0, tmpTLVsize=270 [11:09:13]tlvbuf is 01B4AE50 [11:09:13]SAM_PROTO_ClearQueue [11:09:13]wFMCommunicate request_size=4 [11:09:13]MH_SAM_APDU [11:09:13]CAPDU: 80 09 00 00 [11:09:13]Write to MH i2c: E2 08 00 39 02 80 09 00 00 00 00 00 00 AD [11:09:13]Write i2c OK [11:09:13]MH_I2C_Read... [11:09:13]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:09:13]Read from MH i2c: E2 [11:09:13]MH_I2C_Read... [11:09:13]Read from MH i2c: E2 03 00 [11:09:13]MH_I2C_Read... [11:09:13]Read from MH i2c: E2 03 00 39 02 00 90 00 AF [11:09:13]RAPDU: 90 00 [11:09:13]wFMCommunicate OK [11:09:13]SAM_PROTO_ClearQueue done [11:09:13]KKMCreateOFDPacket [11:09:13]OFDProtocolAddRootSTLVToBuf [11:09:13]FM_MakeSignedData [11:09:13]FM_MakeSignedData [11:09:13]SAM_PROTO_SignData [11:09:13]wFMCommunicate request_size=4 [11:09:13]MH_SAM_APDU [11:09:13]CAPDU: 80 0D 01 02 [11:09:13]Write to MH i2c: E2 08 00 3A 02 80 0D 01 02 00 00 00 00 B5 [11:09:13]Write i2c OK [11:09:13]MH_I2C_Read... [11:09:13]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:09:13]Read from MH i2c: E2 [11:09:13]MH_I2C_Read... [11:09:13]Read from MH i2c: E2 03 00 [11:09:13]MH_I2C_Read... [11:09:13]Read from MH i2c: E2 03 00 3A 02 00 90 00 B0 [11:09:13]RAPDU: 90 00 [11:09:13]wFMCommunicate OK [11:09:13]wFMCommunicate request_size=255 [11:09:13]MH_SAM_APDU [11:09:13]CAPDU: 80 0D 02 02 FA 03 00 0E 01 1E 04 01 00 01 23 04 60 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 38 31 34 06 04 1C 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B8 D0 B2 D0 BE D0 B5 20 30 2C 35 20 D1 81 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 26 04 00 00 00 00 07 04 06 00 10 27 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 DA F5 5E 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 [11:09:13]Write to MH i2c: E2 02 01 3B 02 80 0D 02 02 FA 00 03 00 0E 01 1E 04 01 00 01 23 04 60 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 38 31 34 06 04 1C 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B8 D0 B2 D0 BE D0 B5 20 30 2C 35 20 D1 81 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 26 04 00 00 00 00 07 04 06 00 10 27 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 DA F5 5E 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 00 00 0D [11:09:13]Write i2c OK [11:09:13]MH_I2C_Read... [11:09:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:09:14]Read from MH i2c: E2 [11:09:14]MH_I2C_Read... [11:09:14]Read from MH i2c: E2 03 00 [11:09:14]MH_I2C_Read... [11:09:14]Read from MH i2c: E2 03 00 3B 02 00 90 00 B1 [11:09:14]RAPDU: 90 00 [11:09:14]wFMCommunicate OK [11:09:14]wFMCommunicate request_size=29 [11:09:14]MH_SAM_APDU [11:09:14]CAPDU: 80 0D 02 02 18 38 37 34 38 35 39 10 04 04 00 6F 87 00 00 35 04 06 00 0D 46 C0 D9 26 0C [11:09:14]Write to MH i2c: E2 20 00 3C 02 80 0D 02 02 18 00 38 37 34 38 35 39 10 04 04 00 6F 87 00 00 35 04 06 00 0D 46 C0 D9 26 0C 00 00 9C [11:09:14]Write i2c OK [11:09:14]MH_I2C_Read... [11:09:14]Read from MH i2c: E2 [11:09:14]MH_I2C_Read... [11:09:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:09:14]Read from MH i2c: E2 03 00 [11:09:14]MH_I2C_Read... [11:09:14]Read from MH i2c: E2 03 00 3C 02 00 90 00 B2 [11:09:14]RAPDU: 90 00 [11:09:14]wFMCommunicate OK [11:09:14]wFMCommunicate request_size=4 [11:09:14]MH_SAM_APDU [11:09:14]CAPDU: 80 0D 03 02 [11:09:14]Write to MH i2c: E2 08 00 3D 02 80 0D 03 02 00 00 00 00 BA [11:09:14]Write i2c OK [11:09:14]MH_I2C_Read... [11:09:14]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:09:14]Read from MH i2c: E2 [11:09:14]MH_I2C_Read... [11:09:14]Read from MH i2c: E2 0B 00 [11:09:14]MH_I2C_Read... [11:09:14]Read from MH i2c: E2 0B 00 3D 02 00 16 69 75 CA F7 E6 B6 BE 90 00 CA [11:09:14]RAPDU: 16 69 75 CA F7 E6 B6 BE 90 00 [11:09:14]wFMCommunicate OK [11:09:14]SAM_PROTO_SignData done [11:09:14]FM_MakeSignedData done [11:09:14]CreateOFDProtocolMessage [11:09:14]wFMCommunicate request_size=4 [11:09:14]MH_SAM_APDU [11:09:14]CAPDU: 80 11 00 00 [11:09:14]Write to MH i2c: E2 08 00 3E 02 80 11 00 00 00 00 00 00 BA [11:09:14]Write i2c OK [11:09:14]MH_I2C_Read... [11:09:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:09:14]Read from MH i2c: E2 [11:09:14]MH_I2C_Read... [11:09:14]Read from MH i2c: E2 17 00 [11:09:14]MH_I2C_Read... [11:09:14]Read from MH i2c: E2 17 00 3E 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 16 [11:09:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 [11:09:14]wFMCommunicate OK [11:09:14]CreateOFDProtocolMessage done [11:09:14]OFDSenderStorePacket 34671 [11:09:14]StoreOFDPacket docnum=34671 [11:09:14]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 22 01 00 00 C8 EC 1A 01 21 02 5A 03 01 00 03 00 0E 01 1E 04 01 00 01 23 04 60 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 38 31 34 06 04 1C 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B8 D0 B2 D0 BE D0 B5 20 30 2C 35 20 D1 81 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 26 04 00 00 00 00 07 04 06 00 10 27 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 DA F5 5E 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 6F 87 00 00 35 04 06 00 0D 46 C0 D9 26 0C 16 69 75 CA F7 E6 B6 BE [11:09:14]CheckFolder [11:09:14]dirname=/storage/ofd_packets [11:09:14]CheckFolder done [11:09:14]ProducePacketName [11:09:14]name=ofd_packets/00034671 [11:09:14]NVStorageSaveData ofd_packets/00034671 [11:09:14]File name is /storage/ofd_packets/00034671 [11:09:14]Write 320 bytes [11:09:14]NVStorageSaveData done [11:09:14]OFDSenderStorePacket done [11:09:14]KKMCreateOFDPacket done [11:09:14]NVStorageSaveData kkm_last_timestamp [11:09:14]File name is /storage/kkm_last_timestamp [11:09:14]Write 4 bytes [11:09:14]NVStorageSaveData done [11:09:14]ExternCall_PrintAddStr [11:09:14]wPrintStart [11:09:14]Write to MH i2c: 01 00 00 3F 02 41 [11:09:14]Write i2c OK [11:09:14]MH_I2C_Read... [11:09:14]Read from MH i2c: 01 [11:09:14]MH_I2C_Read... [11:09:14]Read from MH i2c: 01 07 00 [11:09:14]MH_I2C_Read... [11:09:14]Read from MH i2c: 01 07 00 3F 02 00 00 00 00 00 FF 0F 56 [11:09:14]RasterBufferAndPrint [11:09:14]line Счет N : (3)100033 [11:09:14]line ИНН: 02508201610067 [11:09:14]line Контрольно-Кассовый Чек [11:09:14]line ПРОДАЖА [11:09:14]line Товар: 4700000480814 [11:09:14]line Пиво Живое 0,5 ст [11:09:14]line 1.000 * 100.00 [11:09:14]line = 100.00 [11:09:14]line НДС 12% НСП 1% [11:09:14]line > о реализуемом товаре [11:09:14]line ИТОГО: 100.00 [11:09:14]line НСП 1% : 0.88 [11:09:14]line НДС 12% : 10.62 [11:09:14]line Наличными: 100.00 [11:09:14]line Безнал.: 0.00 [11:09:14]line Место: АЗС № 62 "Партнер Нефть" [11:09:14]line Адрес: 720001, г. Балыкчы, ул. Абдрахманова 325 Б, 42.462761, 76.214931 [11:09:14]line СНО: Общий режим [11:09:14]line Чек 15 04.06.2024 11:09 [11:09:14]line Смена: 368 ФФД: 1.0 [11:09:14]line ЗНМ: 0300000080 [11:09:14]line РНМ: 0000000000096838 [11:09:14]line Версия ККМ: 001 [11:09:14]line ФМ: 0000000000874859 [11:09:14]line ФД: 34671 [11:09:14]line ФПД: 14597534328332 [11:09:14]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T110914&type=1&operation_type=1&fn_number=0000000000874859&fd_number=34671&fm=14597534328332&tin=02508201610067®Number=0000000000096838&sum=10000 [11:09:14]line 0 [11:09:14]OFD Sender: Processing packet 34671 [packets to send 17, broken 16] [11:09:14]ProducePacketName [11:09:14]name=ofd_packets/00034671 [11:09:14]OFD Sender: To server: pG, [11:09:14]CommunicateWithHost lk.salyk.kg:30040 [11:09:14]ConnectInit lk.salyk.kg [11:09:14]written 0, free lines is 4095 [11:09:14]Connected sock=10 [11:09:14]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 22 01 00 00 C8 EC 1A 01 21 02 5A 03 01 00 03 00 0E 01 1E 04 01 00 01 23 04 60 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 38 31 34 06 04 1C 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B8 D0 B2 D0 BE D0 B5 20 30 2C 35 20 D1 81 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 26 04 00 00 00 00 07 04 06 00 10 27 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 DA F5 5E 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 6F 87 00 00 35 04 06 00 0D 46 C0 D9 26 0C 16 69 75 CA F7 E6 B6 BE [11:09:14]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 4F 00 00 00 6A C9 47 00 86 D2 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 6F 87 00 00 F4 03 04 00 1A A0 5E 66 B6 04 01 00 00 17 B7 1B 44 CB A7 1A B1 [11:09:14]CommunicateWithHost err = 0 [11:09:14]CheckOFDResponse [11:09:14]1017 (14) - 77093643461234 [11:09:14]1041 (16) - 0000000000874859 [11:09:14]1040 (4) - 34671 [11:09:14]1012 (4) - 04.06.2024 05:03 [11:09:14]1206 (1) - 0 [11:09:14]OFD Sender: Remove packet 34671 [11:09:14]ProducePacketName [11:09:14]name=ofd_packets/00034671 [11:09:14]NVStorageDeleteData [11:09:14]Write to MH i2c: 01 00 00 67 02 69 [11:09:14]Write i2c OK [11:09:14]MH_I2C_Read... [11:09:14]Read from MH i2c: 01 [11:09:14]MH_I2C_Read... [11:09:14]Read from MH i2c: 01 07 00 [11:09:14]MH_I2C_Read... [11:09:14]Read from MH i2c: 01 07 00 67 02 00 00 00 00 00 10 0D 8D [11:09:14]RasterBufferAndPrint [11:09:14]line [11:09:14]line [11:09:14]line [11:09:14]line [11:09:14]line [11:09:14]written 0, free lines is 3350 [11:09:14]MH_Cut [11:09:14]Write to MH i2c: D1 01 00 6E 02 01 42 [11:09:14]Write i2c OK [11:09:14]MH_I2C_Read... [11:09:14]Read from MH i2c: D1 [11:09:14]MH_I2C_Read... [11:09:14]Read from MH i2c: D1 01 00 [11:09:14]MH_I2C_Read... [11:09:14]Read from MH i2c: D1 01 00 6E 02 00 41 [11:09:14]Write to MH i2c: 01 00 00 6F 02 71 [11:09:14]Write i2c OK [11:09:14]MH_I2C_Read... [11:09:15]OFD Sender: No OFD packet to send [11:09:15]*** Cut start [11:09:15]*** Partial cut [11:09:15]*** CUTSNS_PIN = 1 [11:09:15]*** CUTSNS_PIN = 0 [11:09:15]*** Brake cut motor [11:09:16]Read from MH i2c: 01 [11:09:16]MH_I2C_Read... [11:09:16]*** Stop cut motor [11:09:16]*** Cut end [11:09:16]Read from MH i2c: 01 07 00 [11:09:16]MH_I2C_Read... [11:09:16]Read from MH i2c: 01 07 00 6F 02 00 00 00 00 00 FF 0F 86 [11:09:16]process_action close_receipt done [11:09:16]requested_data is exist [11:09:16]produce_requested_data [11:09:16]requested_item fm.sn is exist - process it [11:09:16]wFMCommunicate request_size=4 [11:09:16]MH_SAM_APDU [11:09:16]CAPDU: 80 11 00 00 [11:09:16]Write to MH i2c: E2 08 00 70 02 80 11 00 00 00 00 00 00 EC [11:09:16]Write i2c OK [11:09:16]MH_I2C_Read... [11:09:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:09:16]Read from MH i2c: E2 [11:09:16]MH_I2C_Read... [11:09:16]Read from MH i2c: E2 17 00 [11:09:16]MH_I2C_Read... [11:09:16]Read from MH i2c: E2 17 00 70 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 48 [11:09:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 [11:09:16]wFMCommunicate OK [11:09:16]requested_item fd.num is exist - process it [11:09:16]SAM_PROTO_GetFieldsCounters [11:09:16]wFMCommunicate request_size=4 [11:09:16]MH_SAM_APDU [11:09:16]CAPDU: 80 13 00 00 [11:09:16]Write to MH i2c: E2 08 00 71 02 80 13 00 00 00 00 00 00 EF [11:09:16]Write i2c OK [11:09:16]MH_I2C_Read... [11:09:16]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:09:16]Read from MH i2c: E2 [11:09:16]MH_I2C_Read... [11:09:16]Read from MH i2c: E2 62 00 [11:09:16]MH_I2C_Read... [11:09:16]Read from MH i2c: E2 62 00 71 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 10 04 04 00 6F 87 00 00 0E 04 04 00 70 01 00 00 12 04 04 00 0F 00 00 00 5E 04 04 00 0F 00 00 00 57 04 04 00 10 00 00 00 19 04 04 00 00 00 00 00 90 00 B6 [11:09:16]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 10 04 04 00 6F 87 00 00 0E 04 04 00 70 01 00 00 12 04 04 00 0F 00 00 00 5E 04 04 00 0F 00 00 00 57 04 04 00 10 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:09:16]wFMCommunicate OK [11:09:16]SAM_PROTO_GetFieldsCounters done [11:09:16]requested_item shift.num is exist - process it [11:09:16]requested_item shift.opened is exist - process it [11:09:16]req_shift_opened [11:09:16]FM_GetShiftState [11:09:16]SAM_PROTO_GetShiftState [11:09:16]wFMCommunicate request_size=4 [11:09:16]MH_SAM_APDU [11:09:16]CAPDU: 80 13 01 00 [11:09:16]Write to MH i2c: E2 08 00 72 02 80 13 01 00 00 00 00 00 F1 [11:09:16]Write i2c OK [11:09:16]MH_I2C_Read... [11:09:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:09:16]Read from MH i2c: E2 [11:09:16]MH_I2C_Read... [11:09:16]Read from MH i2c: E2 0E 00 [11:09:16]MH_I2C_Read... [11:09:16]Read from MH i2c: E2 0E 00 72 02 00 09 00 01 35 5B 5E 66 00 00 00 00 90 00 51 [11:09:16]RAPDU: 09 00 01 35 5B 5E 66 00 00 00 00 90 00 [11:09:16]wFMCommunicate OK [11:09:16]SAM_PROTO_GetShiftState done [11:09:16]FM_GetShiftState done [11:09:16]req_shift_opened done [11:09:16]requested_item shift.open_date is exist - process it [11:09:16]req_shift_open_date [11:09:16]req_shift_open_date done [11:09:16]produce_requested_data done [11:09:16]produce_requested_data return {"fm.sn":"0000000000874859","fd.num":34671,"shift.num":368,"shift.opened":1,"shift.open_date":1717459765} [11:09:16]process_action_free close_receipt [11:09:16]json_value_free [11:09:16]json_value_free done [11:09:16]process_json_proto returns [11:09:16]Send response to host [11:09:16]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874859","fd.num":34671,"shift.num":368,"shift.opened":1,"shift.open_date":1717459765}}} [11:09:16]free response buf [11:09:16]execute_script done [11:09:16]execute_script returns [11:09:16]free content buf [11:09:16]Sock 7.Close socket [11:09:16]Sock 7.Thread stoped [11:09:20]OFD Sender: No OFD packet to send [11:09:25]OFD Sender: No OFD packet to send [11:09:30]OFD Sender: No OFD packet to send [11:09:35]OFD Sender: No OFD packet to send [11:09:40]OFD Sender: No OFD packet to send [11:09:45]OFD Sender: No OFD packet to send [11:09:50]OFD Sender: No OFD packet to send [11:09:55]OFD Sender: No OFD packet to send [11:10:00]OFD Sender: No OFD packet to send [11:10:05]OFD Sender: No OFD packet to send [11:10:10]OFD Sender: No OFD packet to send [11:10:15]OFD Sender: No OFD packet to send [11:10:20]OFD Sender: No OFD packet to send [11:10:25]OFD Sender: No OFD packet to send [11:10:30]OFD Sender: No OFD packet to send [11:10:35]OFD Sender: No OFD packet to send [11:10:40]OFD Sender: No OFD packet to send [11:10:45]OFD Sender: No OFD packet to send [11:10:50]OFD Sender: No OFD packet to send [11:10:55]OFD Sender: No OFD packet to send [11:11:00]OFD Sender: No OFD packet to send [11:11:05]OFD Sender: No OFD packet to send [11:11:10]OFD Sender: No OFD packet to send [11:11:15]OFD Sender: No OFD packet to send [11:11:20]OFD Sender: No OFD packet to send [11:11:25]OFD Sender: No OFD packet to send [11:11:30]OFD Sender: No OFD packet to send [11:11:35]OFD Sender: No OFD packet to send [11:11:40]OFD Sender: No OFD packet to send [11:11:45]OFD Sender: No OFD packet to send [11:11:50]OFD Sender: No OFD packet to send [11:11:55]OFD Sender: No OFD packet to send [11:12:00]OFD Sender: No OFD packet to send [11:12:05]OFD Sender: No OFD packet to send [11:12:10]OFD Sender: No OFD packet to send [11:12:15]OFD Sender: No OFD packet to send [11:12:20]OFD Sender: No OFD packet to send [11:12:25]OFD Sender: No OFD packet to send [11:12:30]OFD Sender: No OFD packet to send [11:12:35]OFD Sender: No OFD packet to send [11:12:40]OFD Sender: No OFD packet to send [11:12:45]OFD Sender: No OFD packet to send [11:12:50]OFD Sender: No OFD packet to send [11:12:55]OFD Sender: No OFD packet to send [11:13:00]OFD Sender: No OFD packet to send [11:13:05]OFD Sender: No OFD packet to send [11:13:10]OFD Sender: No OFD packet to send [11:13:15]OFD Sender: No OFD packet to send [11:13:20]OFD Sender: No OFD packet to send [11:13:25]OFD Sender: No OFD packet to send [11:13:30]OFD Sender: No OFD packet to send [11:13:35]OFD Sender: No OFD packet to send [11:13:40]OFD Sender: No OFD packet to send [11:13:45]OFD Sender: No OFD packet to send [11:13:50]OFD Sender: No OFD packet to send [11:13:55]OFD Sender: No OFD packet to send [11:14:00]OFD Sender: No OFD packet to send [11:14:05]OFD Sender: No OFD packet to send [11:14:10]OFD Sender: No OFD packet to send [11:14:15]OFD Sender: No OFD packet to send [11:14:20]OFD Sender: No OFD packet to send [11:14:25]OFD Sender: No OFD packet to send [11:14:30]OFD Sender: No OFD packet to send [11:14:35]OFD Sender: No OFD packet to send [11:14:40]OFD Sender: No OFD packet to send [11:14:45]OFD Sender: No OFD packet to send [11:14:50]OFD Sender: No OFD packet to send [11:14:55]OFD Sender: No OFD packet to send [11:15:00]OFD Sender: No OFD packet to send [11:15:05]OFD Sender: No OFD packet to send [11:15:10]OFD Sender: No OFD packet to send [11:15:15]OFD Sender: No OFD packet to send [11:15:20]OFD Sender: No OFD packet to send [11:15:25]OFD Sender: No OFD packet to send [11:15:30]OFD Sender: No OFD packet to send [11:15:35]OFD Sender: No OFD packet to send [11:15:40]OFD Sender: No OFD packet to send [11:15:45]OFD Sender: No OFD packet to send [11:15:50]OFD Sender: No OFD packet to send [11:15:55]OFD Sender: No OFD packet to send [11:16:00]OFD Sender: No OFD packet to send [11:16:05]OFD Sender: No OFD packet to send [11:16:10]OFD Sender: No OFD packet to send [11:16:15]OFD Sender: No OFD packet to send [11:16:20]OFD Sender: No OFD packet to send [11:16:25]OFD Sender: No OFD packet to send [11:16:30]OFD Sender: No OFD packet to send [11:16:35]OFD Sender: No OFD packet to send [11:16:40]OFD Sender: No OFD packet to send [11:16:45]OFD Sender: No OFD packet to send [11:16:50]OFD Sender: No OFD packet to send [11:16:55]OFD Sender: No OFD packet to send [11:17:00]OFD Sender: No OFD packet to send [11:17:05]OFD Sender: No OFD packet to send [11:17:10]OFD Sender: No OFD packet to send [11:17:15]OFD Sender: No OFD packet to send [11:17:20]OFD Sender: No OFD packet to send [11:17:25]OFD Sender: No OFD packet to send [11:17:30]OFD Sender: No OFD packet to send [11:17:35]OFD Sender: No OFD packet to send [11:17:40]OFD Sender: No OFD packet to send [11:17:45]OFD Sender: No OFD packet to send [11:17:50]OFD Sender: No OFD packet to send [11:17:51]accept exits with 9 [11:17:51]New connection [11:17:51]New thread 3067170148 created [11:17:51]Thread 3067026788 joined [11:17:51]Waiting for new connection... [11:17:51] Sock 9.Parse request [11:17:51]Sock 9.Check first char [11:17:51]Sock 9.First char is OK [11:17:51]request: POST /json_proto HTTP/1.0 [11:17:51]Method: POST [11:17:51]URL: /json_proto [11:17:51]Method is POST - this is cgi request [11:17:51]url: /json_proto [11:17:51]query_string will be loaded in cgi processing [11:17:51]execute_cgi json_proto POST (null) [11:17:51]execute_cgi path=json_proto method=POST [11:17:51]POST find Content-Length [11:17:51]Host: 172.17.36.131:8080 [11:17:51]Content-Length: 927 [11:17:51]Content-Type: application/json [11:17:51] [11:17:51]POST finish read [11:17:51]Found Content-Length = 927 [11:17:51]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100034", "tax_sys" : 0, "items" : [ { "code": "4650243871828", "name": "Gorilla \u044D\u043D \u043D\u0430\u043F \u043C\u0430\u043D\u0433\u043E-\u043A\u043E\u043A\u043E\u0441 0,45 \u0436/\u0431", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160211", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 0,5\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 150.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:17:51]execute_script... [11:17: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)100034", "tax_sys" : 0, "items" : [ { "code": "4650243871828", "name": "Gorilla \u044D\u043D \u043D\u0430\u043F \u043C\u0430\u043D\u0433\u043E-\u043A\u043E\u043A\u043E\u0441 0,45 \u0436/\u0431", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160211", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 0,5\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 150.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:17:51]POST & json_proto [11:17:51]process_json_proto [11:17:51]json parsed OK: [11:17:51]protocol is kg_v1.0 [11:17:51]action value=close_receipt [11:17:51]process_action close_receipt [11:17:51]cmd_close_receipt [11:17:51]MH_GetDate [11:17:51]Write to MH i2c: F0 00 00 73 02 64 [11:17:51]Write i2c OK [11:17:51]MH_I2C_Read... [11:17:51]Read from MH i2c: F0 [11:17:51]MH_I2C_Read... [11:17:51]Read from MH i2c: F0 09 00 [11:17:51]MH_I2C_Read... [11:17:51]Read from MH i2c: F0 09 00 73 02 00 E1 F7 5E 66 A7 4C 98 65 F9 [11:17:51]GetLastDocTimeStamp 1717499354 [11:17:51]current date 1717499873 [11:17:51]FM_GetShiftState [11:17:51]SAM_PROTO_GetShiftState [11:17:51]wFMCommunicate request_size=4 [11:17:51]MH_SAM_APDU [11:17:51]CAPDU: 80 13 01 00 [11:17:51]Write to MH i2c: E2 08 00 74 02 80 13 01 00 00 00 00 00 F3 [11:17:51]Write i2c OK [11:17:51]MH_I2C_Read... [11:17:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:17:51]Read from MH i2c: E2 [11:17:51]MH_I2C_Read... [11:17:51]Read from MH i2c: E2 0E 00 [11:17:51]MH_I2C_Read... [11:17:51]Read from MH i2c: E2 0E 00 74 02 00 09 00 01 35 5B 5E 66 00 00 00 00 90 00 53 [11:17:51]RAPDU: 09 00 01 35 5B 5E 66 00 00 00 00 90 00 [11:17:51]wFMCommunicate OK [11:17:51]SAM_PROTO_GetShiftState done [11:17:51]FM_GetShiftState done [11:17:51]opened in 1717459765 [11:17:51]opened+sec_in_day 1717546165 [11:17:51]quantity*price = 11000 [11:17:51]sum+1 = 11001 [11:17:51]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000160211 Вода Легенда 0,5л 1.000 * 40.00 = 40.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 150.00 НСП 1% : 1.32 НДС 12% : 15.93 Наличными: 150.00 Безнал.: 0.00 Место: АЗС № 62 "Партнер Нефть" Адрес: 720001, г. Балыкчы, ул. Абдрахманова 325 Б, 42.462761, 76.214931 СНО: Общий режим Чек 16 04.06.2024 11:17 Смена: 368 ФФД: 1.0 ЗНМ: 0300000080 РНМ: 0000000000096838 Версия ККМ: 001 ФМ: 0000000000874859 ФД: 34672 ФПД: 238070609016609 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T111753&type=1&operation_type=1&fn_number=0000000000874859&fd_number=34672&fm=238070609016609&tin=02508201610067®Number=0000000000096838&sum=15000 0 [11:17:52]StoreToDocumentArchive [11:17:52]shift 368 fd 34672 [11:17:52]save to /storage/0368/doc_00034672 [11:17:52]save last doc name /storage/0368/doc_00034672 to /storage/kkm_last_doc_name [11:17:52]save OK [11:17:52]Clear old archive folders... [11:17:52]ProcessDocumentItem done err = 0, tmpTLVsize=395 [11:17:52]tlvbuf is 01B4A800 [11:17:52]SAM_PROTO_ClearQueue [11:17:52]wFMCommunicate request_size=4 [11:17:52]MH_SAM_APDU [11:17:52]CAPDU: 80 09 00 00 [11:17:52]Write to MH i2c: E2 08 00 81 02 80 09 00 00 00 00 00 00 F5 [11:17:52]Write i2c OK [11:17:52]MH_I2C_Read... [11:17:52]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:17:52]Read from MH i2c: E2 [11:17:52]MH_I2C_Read... [11:17:52]Read from MH i2c: E2 03 00 [11:17:52]MH_I2C_Read... [11:17:52]Read from MH i2c: E2 03 00 81 02 00 90 00 F7 [11:17:52]RAPDU: 90 00 [11:17:52]wFMCommunicate OK [11:17:52]SAM_PROTO_ClearQueue done [11:17:52]KKMCreateOFDPacket [11:17:52]OFDProtocolAddRootSTLVToBuf [11:17:52]FM_MakeSignedData [11:17:52]FM_MakeSignedData [11:17:52]SAM_PROTO_SignData [11:17:52]wFMCommunicate request_size=4 [11:17:52]MH_SAM_APDU [11:17:52]CAPDU: 80 0D 01 02 [11:17:52]Write to MH i2c: E2 08 00 82 02 80 0D 01 02 00 00 00 00 FD [11:17:52]Write i2c OK [11:17:52]MH_I2C_Read... [11:17:53]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:17:53]Read from MH i2c: E2 [11:17:53]MH_I2C_Read... [11:17:53]Read from MH i2c: E2 03 00 [11:17:53]MH_I2C_Read... [11:17:53]Read from MH i2c: E2 03 00 82 02 00 90 00 F8 [11:17:53]RAPDU: 90 00 [11:17:53]wFMCommunicate OK [11:17:53]wFMCommunicate request_size=255 [11:17:53]MH_SAM_APDU [11:17:53]CAPDU: 80 0D 02 02 FA 03 00 8B 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 35 30 32 34 33 38 37 31 38 32 38 06 04 34 00 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BE D0 BA D0 BE D1 81 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 [11:17:53]Write to MH i2c: E2 02 01 83 02 80 0D 02 02 FA 00 03 00 8B 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 35 30 32 34 33 38 37 31 38 32 38 06 04 34 00 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BE D0 BA D0 BE D1 81 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 00 00 4A [11:17:53]Write i2c OK [11:17:53]MH_I2C_Read... [11:17:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:17:53]Read from MH i2c: E2 [11:17:53]MH_I2C_Read... [11:17:53]Read from MH i2c: E2 03 00 [11:17:53]MH_I2C_Read... [11:17:53]Read from MH i2c: E2 03 00 83 02 00 90 00 F9 [11:17:53]RAPDU: 90 00 [11:17:53]wFMCommunicate OK [11:17:53]wFMCommunicate request_size=154 [11:17:53]MH_SAM_APDU [11:17:53]CAPDU: 80 0D 02 02 95 0F 00 F6 03 01 00 01 F7 03 06 00 84 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 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 E1 F7 5E 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 70 87 00 00 35 04 06 00 D8 86 22 14 F7 21 [11:17:53]Write to MH i2c: E2 9D 00 84 02 80 0D 02 02 95 00 0F 00 F6 03 01 00 01 F7 03 06 00 84 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 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 E1 F7 5E 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 70 87 00 00 35 04 06 00 D8 86 22 14 F7 21 00 00 C8 [11:17:53]Write i2c OK [11:17:53]MH_I2C_Read... [11:17:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:17:53]Read from MH i2c: E2 [11:17:53]MH_I2C_Read... [11:17:53]Read from MH i2c: E2 03 00 [11:17:53]MH_I2C_Read... [11:17:53]Read from MH i2c: E2 03 00 84 02 00 90 00 FA [11:17:53]RAPDU: 90 00 [11:17:53]wFMCommunicate OK [11:17:53]wFMCommunicate request_size=4 [11:17:53]MH_SAM_APDU [11:17:53]CAPDU: 80 0D 03 02 [11:17:53]Write to MH i2c: E2 08 00 85 02 80 0D 03 02 00 00 00 00 02 [11:17:53]Write i2c OK [11:17:53]MH_I2C_Read... [11:17:53]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:17:53]Read from MH i2c: E2 [11:17:53]MH_I2C_Read... [11:17:53]Read from MH i2c: E2 0B 00 [11:17:53]MH_I2C_Read... [11:17:53]Read from MH i2c: E2 0B 00 85 02 00 EC 4E 97 83 B1 DA DA DB 90 00 97 [11:17:53]RAPDU: EC 4E 97 83 B1 DA DA DB 90 00 [11:17:53]wFMCommunicate OK [11:17:53]SAM_PROTO_SignData done [11:17:53]FM_MakeSignedData done [11:17:53]CreateOFDProtocolMessage [11:17:53]wFMCommunicate request_size=4 [11:17:53]MH_SAM_APDU [11:17:53]CAPDU: 80 11 00 00 [11:17:53]Write to MH i2c: E2 08 00 86 02 80 11 00 00 00 00 00 00 02 [11:17:53]Write i2c OK [11:17:53]MH_I2C_Read... [11:17:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:17:53]Read from MH i2c: E2 [11:17:53]MH_I2C_Read... [11:17:53]Read from MH i2c: E2 17 00 [11:17:53]MH_I2C_Read... [11:17:53]Read from MH i2c: E2 17 00 86 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 5E [11:17:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 [11:17:53]wFMCommunicate OK [11:17:53]CreateOFDProtocolMessage done [11:17:53]OFDSenderStorePacket 34672 [11:17:53]StoreOFDPacket docnum=34672 [11:17:53]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 9F 01 00 00 68 B9 97 01 CE 75 5A 03 01 00 03 00 8B 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 35 30 32 34 33 38 37 31 38 32 38 06 04 34 00 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BE D0 BA D0 BE D1 81 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 84 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 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 E1 F7 5E 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 70 87 00 00 35 04 06 00 D8 86 22 14 F7 21 EC 4E 97 83 B1 DA DA DB [11:17:53]CheckFolder [11:17:53]dirname=/storage/ofd_packets [11:17:53]CheckFolder done [11:17:53]ProducePacketName [11:17:53]name=ofd_packets/00034672 [11:17:53]NVStorageSaveData ofd_packets/00034672 [11:17:53]File name is /storage/ofd_packets/00034672 [11:17:53]Write 445 bytes [11:17:53]NVStorageSaveData done [11:17:53]OFDSenderStorePacket done [11:17:53]KKMCreateOFDPacket done [11:17:53]NVStorageSaveData kkm_last_timestamp [11:17:53]File name is /storage/kkm_last_timestamp [11:17:53]Write 4 bytes [11:17:53]NVStorageSaveData done [11:17:53]ExternCall_PrintAddStr [11:17:53]wPrintStart [11:17:53]Write to MH i2c: 01 00 00 87 02 89 [11:17:53]Write i2c OK [11:17:53]MH_I2C_Read... [11:17:53]Read from MH i2c: 01 [11:17:53]MH_I2C_Read... [11:17:53]Read from MH i2c: 01 07 00 [11:17:53]MH_I2C_Read... [11:17:53]OFD Sender: Processing packet 34672 [packets to send 17, broken 16] [11:17:53]ProducePacketName [11:17:53]name=ofd_packets/00034672 [11:17:53]Read from MH i2c: 01 07 00 87 02 00 00 00 00 00 FF 0F 9E [11:17:53]RasterBufferAndPrint [11:17:53]line Счет N : (3)100034 [11:17:53]line ИНН: 02508201610067 [11:17:53]line Контрольно-Кассовый Чек [11:17:53]line ПРОДАЖА [11:17:53]line Товар: 4650243871828 [11:17:53]line Gorilla эн нап манго-кокос 0,45 ж/б [11:17:53]line 1.000 * 110.00 [11:17:53]line = 110.00 [11:17:53]line НДС 12% НСП 1% [11:17:53]line > о реализуемом товаре [11:17:53]line Товар: 4700000160211 [11:17:53]line Вода Легенда 0,5л [11:17:53]line 1.000 * 40.00 [11:17:53]line = 40.00 [11:17:53]line НДС 12% НСП 1% [11:17:53]line > о реализуемом товаре [11:17:53]line ИТОГО: 150.00 [11:17:53]line НСП 1% : 1.32 [11:17:53]line НДС 12% : 15.93 [11:17:53]line Наличными: 150.00 [11:17:53]line Безнал.: 0.00 [11:17:53]line Место: АЗС № 62 "Партнер Нефть" [11:17:53]line Адрес: 720001, г. Балыкчы, ул. Абдрахманова 325 Б, 42.462761, 76.214931 [11:17:53]line СНО: Общий режим [11:17:53]line Чек 16 04.06.2024 11:17 [11:17:53]line Смена: 368 ФФД: 1.0 [11:17:53]line ЗНМ: 0300000080 [11:17:53]line РНМ: 0000000000096838 [11:17:53]line Версия ККМ: 001 [11:17:53]line ФМ: 0000000000874859 [11:17:53]line ФД: 34672 [11:17:53]line ФПД: 238070609016609 [11:17:53]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T111753&type=1&operation_type=1&fn_number=0000000000874859&fd_number=34672&fm=238070609016609&tin=02508201610067®Number=0000000000096838&sum=15000 [11:17:53]OFD Sender: To server: pG, [11:17:53]CommunicateWithHost lk.salyk.kg:30040 [11:17:53]ConnectInit lk.salyk.kg [11:17:53]line 0 [11:17:53]written 0, free lines is 4095 [11:17:53]Connected sock=11 [11:17:53]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 9F 01 00 00 68 B9 97 01 CE 75 5A 03 01 00 03 00 8B 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 35 30 32 34 33 38 37 31 38 32 38 06 04 34 00 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BE D0 BA D0 BE D1 81 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 84 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 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 E1 F7 5E 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 70 87 00 00 35 04 06 00 D8 86 22 14 F7 21 EC 4E 97 83 B1 DA DA DB [11:17:54]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 4F 00 00 00 7B 1B 47 00 44 14 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 70 87 00 00 F4 03 04 00 21 A2 5E 66 B6 04 01 00 00 14 DF 30 6E 60 0F 85 1D [11:17:54]CommunicateWithHost err = 0 [11:17:54]CheckOFDResponse [11:17:54]1017 (14) - 77093643461234 [11:17:54]1041 (16) - 0000000000874859 [11:17:54]1040 (4) - 34672 [11:17:54]1012 (4) - 04.06.2024 05:12 [11:17:54]1206 (1) - 0 [11:17:54]OFD Sender: Remove packet 34672 [11:17:54]ProducePacketName [11:17:54]name=ofd_packets/00034672 [11:17:54]NVStorageDeleteData [11:17:54]Write to MH i2c: 01 00 00 B6 02 B8 [11:17:54]Write i2c OK [11:17:54]MH_I2C_Read... [11:17:54]Read from MH i2c: 01 [11:17:54]MH_I2C_Read... [11:17:54]Read from MH i2c: 01 07 00 [11:17:54]MH_I2C_Read... [11:17:54]Read from MH i2c: 01 07 00 B6 02 00 00 00 00 00 C0 0C 8B [11:17:54]RasterBufferAndPrint [11:17:54]line [11:17:54]line [11:17:54]line [11:17:54]line [11:17:54]line [11:17:54]written 0, free lines is 3270 [11:17:54]MH_Cut [11:17:54]Write to MH i2c: D1 01 00 BD 02 01 91 [11:17:54]Write i2c OK [11:17:54]MH_I2C_Read... [11:17:54]Read from MH i2c: D1 [11:17:54]MH_I2C_Read... [11:17:54]Read from MH i2c: D1 01 00 [11:17:54]MH_I2C_Read... [11:17:54]Read from MH i2c: D1 01 00 BD 02 00 90 [11:17:54]Write to MH i2c: 01 00 00 BE 02 C0 [11:17:54]Write i2c OK [11:17:54]MH_I2C_Read... [11:17:54]OFD Sender: No OFD packet to send [11:17:55]*** Cut start [11:17:55]*** Partial cut [11:17:55]*** CUTSNS_PIN = 1 [11:17:55]*** CUTSNS_PIN = 0 [11:17:55]*** Brake cut motor [11:17:55]Read from MH i2c: 01 [11:17:55]MH_I2C_Read... [11:17:55]*** Stop cut motor [11:17:55]*** Cut end [11:17:55]Read from MH i2c: 01 07 00 [11:17:55]MH_I2C_Read... [11:17:55]Read from MH i2c: 01 07 00 BE 02 00 00 00 00 00 FF 0F D5 [11:17:55]process_action close_receipt done [11:17:55]requested_data is exist [11:17:55]produce_requested_data [11:17:55]requested_item fm.sn is exist - process it [11:17:55]wFMCommunicate request_size=4 [11:17:55]MH_SAM_APDU [11:17:55]CAPDU: 80 11 00 00 [11:17:55]Write to MH i2c: E2 08 00 BF 02 80 11 00 00 00 00 00 00 3B [11:17:55]Write i2c OK [11:17:55]MH_I2C_Read... [11:17:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:17:55]Read from MH i2c: E2 [11:17:55]MH_I2C_Read... [11:17:55]Read from MH i2c: E2 17 00 [11:17:55]MH_I2C_Read... [11:17:55]Read from MH i2c: E2 17 00 BF 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 97 [11:17:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 [11:17:55]wFMCommunicate OK [11:17:55]requested_item fd.num is exist - process it [11:17:55]SAM_PROTO_GetFieldsCounters [11:17:55]wFMCommunicate request_size=4 [11:17:55]MH_SAM_APDU [11:17:55]CAPDU: 80 13 00 00 [11:17:55]Write to MH i2c: E2 08 00 C0 02 80 13 00 00 00 00 00 00 3E [11:17:55]Write i2c OK [11:17:55]MH_I2C_Read... [11:17:55]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:17:55]Read from MH i2c: E2 [11:17:55]MH_I2C_Read... [11:17:55]Read from MH i2c: E2 62 00 [11:17:55]MH_I2C_Read... [11:17:55]Read from MH i2c: E2 62 00 C0 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 10 04 04 00 70 87 00 00 0E 04 04 00 70 01 00 00 12 04 04 00 10 00 00 00 5E 04 04 00 10 00 00 00 57 04 04 00 11 00 00 00 19 04 04 00 00 00 00 00 90 00 09 [11:17:55]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 10 04 04 00 70 87 00 00 0E 04 04 00 70 01 00 00 12 04 04 00 10 00 00 00 5E 04 04 00 10 00 00 00 57 04 04 00 11 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:17:55]wFMCommunicate OK [11:17:55]SAM_PROTO_GetFieldsCounters done [11:17:55]requested_item shift.num is exist - process it [11:17:55]requested_item shift.opened is exist - process it [11:17:55]req_shift_opened [11:17:55]FM_GetShiftState [11:17:55]SAM_PROTO_GetShiftState [11:17:55]wFMCommunicate request_size=4 [11:17:55]MH_SAM_APDU [11:17:55]CAPDU: 80 13 01 00 [11:17:55]Write to MH i2c: E2 08 00 C1 02 80 13 01 00 00 00 00 00 40 [11:17:55]Write i2c OK [11:17:55]MH_I2C_Read... [11:17:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:17:55]Read from MH i2c: E2 [11:17:55]MH_I2C_Read... [11:17:55]Read from MH i2c: E2 0E 00 [11:17:55]MH_I2C_Read... [11:17:55]Read from MH i2c: E2 0E 00 C1 02 00 09 00 01 35 5B 5E 66 00 00 00 00 90 00 A0 [11:17:55]RAPDU: 09 00 01 35 5B 5E 66 00 00 00 00 90 00 [11:17:55]wFMCommunicate OK [11:17:55]SAM_PROTO_GetShiftState done [11:17:55]FM_GetShiftState done [11:17:55]req_shift_opened done [11:17:55]requested_item shift.open_date is exist - process it [11:17:55]req_shift_open_date [11:17:55]req_shift_open_date done [11:17:55]produce_requested_data done [11:17:55]produce_requested_data return {"fm.sn":"0000000000874859","fd.num":34672,"shift.num":368,"shift.opened":1,"shift.open_date":1717459765} [11:17:55]process_action_free close_receipt [11:17:55]json_value_free [11:17:55]json_value_free done [11:17:55]process_json_proto returns [11:17:55]Send response to host [11:17:55]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874859","fd.num":34672,"shift.num":368,"shift.opened":1,"shift.open_date":1717459765}}} [11:17:55]free response buf [11:17:55]execute_script done [11:17:55]execute_script returns [11:17:55]free content buf [11:17:55]Sock 9.Close socket [11:17:55]Sock 9.Thread stoped [11:17:59]OFD Sender: No OFD packet to send [11:18:04]OFD Sender: No OFD packet to send [11:18:09]OFD Sender: No OFD packet to send [11:18:14]OFD Sender: No OFD packet to send [11:18:19]OFD Sender: No OFD packet to send [11:18:24]OFD Sender: No OFD packet to send [11:18:29]OFD Sender: No OFD packet to send [11:18:34]OFD Sender: No OFD packet to send [11:18:39]OFD Sender: No OFD packet to send [11:18:44]OFD Sender: No OFD packet to send [11:18:49]OFD Sender: No OFD packet to send [11:18:54]OFD Sender: No OFD packet to send [11:18:59]OFD Sender: No OFD packet to send [11:19:04]OFD Sender: No OFD packet to send [11:19:09]OFD Sender: No OFD packet to send [11:19:14]OFD Sender: No OFD packet to send [11:19:19]OFD Sender: No OFD packet to send [11:19:24]OFD Sender: No OFD packet to send [11:19:29]OFD Sender: No OFD packet to send [11:19:34]OFD Sender: No OFD packet to send [11:19:39]OFD Sender: No OFD packet to send [11:19:43]accept exits with 7 [11:19:43]New connection [11:19:43]New thread 3067026788 created [11:19:43]Thread 3067170148 joined [11:19:43]Waiting for new connection... [11:19:43] Sock 7.Parse request [11:19:43]Sock 7.Check first char [11:19:43]Sock 7.First char is OK [11:19:43]request: POST /json_proto HTTP/1.0 [11:19:43]Method: POST [11:19:43]URL: /json_proto [11:19:43]Method is POST - this is cgi request [11:19:43]url: /json_proto [11:19:43]query_string will be loaded in cgi processing [11:19:43]execute_cgi json_proto POST (null) [11:19:43]execute_cgi path=json_proto method=POST [11:19:43]POST find Content-Length [11:19:43]Host: 172.17.36.131:8080 [11:19:43]Content-Length: 870 [11:19:43]Content-Type: application/json [11:19:43] [11:19:43]POST finish read [11:19:43]Found Content-Length = 870 [11:19:43]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100035", "tax_sys" : 0, "items" : [ { "code": "4870022003305", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Gorilla \u044D\u043D \u043D\u0430\u0442 \u0436/\u0431 0,5/0,45\u043B", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 110.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:19:43]execute_script... [11:19: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)100035", "tax_sys" : 0, "items" : [ { "code": "4870022003305", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Gorilla \u044D\u043D \u043D\u0430\u0442 \u0436/\u0431 0,5/0,45\u043B", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 110.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:19:43]POST & json_proto [11:19:43]process_json_proto [11:19:43]json parsed OK: [11:19:43]protocol is kg_v1.0 [11:19:43]action value=close_receipt [11:19:43]process_action close_receipt [11:19:43]cmd_close_receipt [11:19:43]MH_GetDate [11:19:43]Write to MH i2c: F0 00 00 C2 02 B3 [11:19:43]Write i2c OK [11:19:43]MH_I2C_Read... [11:19:43]Read from MH i2c: F0 [11:19:43]MH_I2C_Read... [11:19:43]Read from MH i2c: F0 09 00 [11:19:43]MH_I2C_Read... [11:19:43]Read from MH i2c: F0 09 00 C2 02 00 51 F8 5E 66 A7 4C 98 65 B9 [11:19:43]GetLastDocTimeStamp 1717499873 [11:19:43]current date 1717499985 [11:19:43]FM_GetShiftState [11:19:43]SAM_PROTO_GetShiftState [11:19:43]wFMCommunicate request_size=4 [11:19:43]MH_SAM_APDU [11:19:43]CAPDU: 80 13 01 00 [11:19:43]Write to MH i2c: E2 08 00 C3 02 80 13 01 00 00 00 00 00 42 [11:19:43]Write i2c OK [11:19:43]MH_I2C_Read... [11:19:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:19:43]Read from MH i2c: E2 [11:19:43]MH_I2C_Read... [11:19:43]Read from MH i2c: E2 0E 00 [11:19:43]MH_I2C_Read... [11:19:43]Read from MH i2c: E2 0E 00 C3 02 00 09 00 01 35 5B 5E 66 00 00 00 00 90 00 A2 [11:19:43]RAPDU: 09 00 01 35 5B 5E 66 00 00 00 00 90 00 [11:19:43]wFMCommunicate OK [11:19:43]SAM_PROTO_GetShiftState done [11:19:43]FM_GetShiftState done [11:19:43]opened in 1717459765 [11:19:43]opened+sec_in_day 1717546165 [11:19:43]quantity*price = 11000 [11:19:43]sum+1 = 11001 [11:19:43]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 110.00 НСП 1% : 0.97 НДС 12% : 11.68 Наличными: 0.00 Безнал.: 110.00 Место: АЗС № 62 "Партнер Нефть" Адрес: 720001, г. Балыкчы, ул. Абдрахманова 325 Б, 42.462761, 76.214931 СНО: Общий режим Чек 17 04.06.2024 11:19 Смена: 368 ФФД: 1.0 ЗНМ: 0300000080 РНМ: 0000000000096838 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000874859 ФД: 34673 ФПД: 190719437551420 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T111945&type=1&operation_type=1&fn_number=0000000000874859&fd_number=34673&fm=190719437551420&tin=02508201610067®Number=0000000000096838&sum=11000 0 [11:19:44]StoreToDocumentArchive [11:19:44]shift 368 fd 34673 [11:19:44]save to /storage/0368/doc_00034673 [11:19:44]save last doc name /storage/0368/doc_00034673 to /storage/kkm_last_doc_name [11:19:44]save OK [11:19:44]Clear old archive folders... [11:19:44]ProcessDocumentItem done err = 0, tmpTLVsize=293 [11:19:44]tlvbuf is 01B129A0 [11:19:44]SAM_PROTO_ClearQueue [11:19:44]wFMCommunicate request_size=4 [11:19:44]MH_SAM_APDU [11:19:44]CAPDU: 80 09 00 00 [11:19:44]Write to MH i2c: E2 08 00 D0 02 80 09 00 00 00 00 00 00 44 [11:19:44]Write i2c OK [11:19:44]MH_I2C_Read... [11:19:44]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:19:44]Read from MH i2c: E2 [11:19:44]MH_I2C_Read... [11:19:44]Read from MH i2c: E2 03 00 [11:19:44]MH_I2C_Read... [11:19:44]Read from MH i2c: E2 03 00 D0 02 00 90 00 46 [11:19:44]RAPDU: 90 00 [11:19:44]wFMCommunicate OK [11:19:44]SAM_PROTO_ClearQueue done [11:19:44]KKMCreateOFDPacket [11:19:44]OFDProtocolAddRootSTLVToBuf [11:19:44]FM_MakeSignedData [11:19:44]FM_MakeSignedData [11:19:44]SAM_PROTO_SignData [11:19:44]wFMCommunicate request_size=4 [11:19:44]MH_SAM_APDU [11:19:44]CAPDU: 80 0D 01 02 [11:19:44]Write to MH i2c: E2 08 00 D1 02 80 0D 01 02 00 00 00 00 4C [11:19:44]Write i2c OK [11:19:44]MH_I2C_Read... [11:19:44]Read from MH i2c: E2 [11:19:44]MH_I2C_Read... [11:19:44]Read from MH i2c: E2 03 00 [11:19:44]MH_I2C_Read... [11:19:44]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:19:44]Read from MH i2c: E2 03 00 D1 02 00 90 00 47 [11:19:44]RAPDU: 90 00 [11:19:44]wFMCommunicate OK [11:19:44]wFMCommunicate request_size=255 [11:19:44]MH_SAM_APDU [11:19:44]CAPDU: 80 0D 02 02 FA 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 30 35 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D1 82 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 F8 2A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 51 F8 5E 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 [11:19:44]Write to MH i2c: E2 02 01 D2 02 80 0D 02 02 FA 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 30 35 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D1 82 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 F8 2A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 51 F8 5E 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 00 00 F5 [11:19:44]Write i2c OK [11:19:44]MH_I2C_Read... [11:19:44]OFD Sender: No OFD packet to send [11:19:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:19:44]Read from MH i2c: E2 [11:19:45]MH_I2C_Read... [11:19:45]Read from MH i2c: E2 03 00 [11:19:45]MH_I2C_Read... [11:19:45]Read from MH i2c: E2 03 00 D2 02 00 90 00 48 [11:19:45]RAPDU: 90 00 [11:19:45]wFMCommunicate OK [11:19:45]wFMCommunicate request_size=52 [11:19:45]MH_SAM_APDU [11:19:45]CAPDU: 80 0D 02 02 2F 30 30 30 30 39 36 38 33 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 71 87 00 00 35 04 06 00 AD 75 54 53 B7 3C [11:19:45]Write to MH i2c: E2 37 00 D3 02 80 0D 02 02 2F 00 30 30 30 30 39 36 38 33 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 71 87 00 00 35 04 06 00 AD 75 54 53 B7 3C 00 00 D8 [11:19:45]Write i2c OK [11:19:45]MH_I2C_Read... [11:19:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:19:45]Read from MH i2c: E2 [11:19:45]MH_I2C_Read... [11:19:45]Read from MH i2c: E2 03 00 [11:19:45]MH_I2C_Read... [11:19:45]Read from MH i2c: E2 03 00 D3 02 00 90 00 49 [11:19:45]RAPDU: 90 00 [11:19:45]wFMCommunicate OK [11:19:45]wFMCommunicate request_size=4 [11:19:45]MH_SAM_APDU [11:19:45]CAPDU: 80 0D 03 02 [11:19:45]Write to MH i2c: E2 08 00 D4 02 80 0D 03 02 00 00 00 00 51 [11:19:45]Write i2c OK [11:19:45]MH_I2C_Read... [11:19:45]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:19:45]Read from MH i2c: E2 [11:19:45]MH_I2C_Read... [11:19:45]Read from MH i2c: E2 0B 00 [11:19:45]MH_I2C_Read... [11:19:45]Read from MH i2c: E2 0B 00 D4 02 00 C8 89 E7 C7 20 27 37 87 90 00 56 [11:19:45]RAPDU: C8 89 E7 C7 20 27 37 87 90 00 [11:19:45]wFMCommunicate OK [11:19:45]SAM_PROTO_SignData done [11:19:45]FM_MakeSignedData done [11:19:45]CreateOFDProtocolMessage [11:19:45]wFMCommunicate request_size=4 [11:19:45]MH_SAM_APDU [11:19:45]CAPDU: 80 11 00 00 [11:19:45]Write to MH i2c: E2 08 00 D5 02 80 11 00 00 00 00 00 00 51 [11:19:45]Write i2c OK [11:19:45]MH_I2C_Read... [11:19:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:19:45]Read from MH i2c: E2 [11:19:45]MH_I2C_Read... [11:19:45]Read from MH i2c: E2 17 00 [11:19:45]MH_I2C_Read... [11:19:45]Read from MH i2c: E2 17 00 D5 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 AD [11:19:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 [11:19:45]wFMCommunicate OK [11:19:45]CreateOFDProtocolMessage done [11:19:45]OFDSenderStorePacket 34673 [11:19:45]StoreOFDPacket docnum=34673 [11:19:45]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 39 01 00 00 48 96 31 01 8F FB 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 30 35 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D1 82 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 F8 2A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 51 F8 5E 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 71 87 00 00 35 04 06 00 AD 75 54 53 B7 3C C8 89 E7 C7 20 27 37 87 [11:19:45]CheckFolder [11:19:45]dirname=/storage/ofd_packets [11:19:45]CheckFolder done [11:19:45]ProducePacketName [11:19:45]name=ofd_packets/00034673 [11:19:45]NVStorageSaveData ofd_packets/00034673 [11:19:45]File name is /storage/ofd_packets/00034673 [11:19:45]Write 343 bytes [11:19:45]NVStorageSaveData done [11:19:45]OFDSenderStorePacket done [11:19:45]KKMCreateOFDPacket done [11:19:45]NVStorageSaveData kkm_last_timestamp [11:19:45]File name is /storage/kkm_last_timestamp [11:19:45]Write 4 bytes [11:19:45]NVStorageSaveData done [11:19:45]ExternCall_PrintAddStr [11:19:45]wPrintStart [11:19:45]Write to MH i2c: 01 00 00 D6 02 D8 [11:19:45]Write i2c OK [11:19:45]MH_I2C_Read... [11:19:45]Read from MH i2c: 01 [11:19:45]MH_I2C_Read... [11:19:45]Read from MH i2c: 01 07 00 [11:19:45]MH_I2C_Read... [11:19:45]Read from MH i2c: 01 07 00 D6 02 00 00 00 00 00 FF 0F ED [11:19:45]RasterBufferAndPrint [11:19:45]line Счет N : (3)100035 [11:19:45]line ИНН: 02508201610067 [11:19:45]line Контрольно-Кассовый Чек [11:19:45]line ПРОДАЖА [11:19:45]line Товар: 4870022003305 [11:19:45]line Напиток Gorilla эн нат ж/б 0,5/0,45л [11:19:45]line 1.000 * 110.00 [11:19:45]line = 110.00 [11:19:45]line НДС 12% НСП 1% [11:19:45]line > о реализуемом товаре [11:19:45]line ИТОГО: 110.00 [11:19:45]line НСП 1% : 0.97 [11:19:45]line НДС 12% : 11.68 [11:19:45]line Наличными: 0.00 [11:19:45]line Безнал.: 110.00 [11:19:45]line Место: АЗС № 62 "Партнер Нефть" [11:19:45]line Адрес: 720001, г. Балыкчы, ул. Абдрахманова 325 Б, 42.462761, 76.214931 [11:19:45]line СНО: Общий режим [11:19:45]line Чек 17 04.06.2024 11:19 [11:19:45]line Смена: 368 ФФД: 1.0 [11:19:45]line ЗНМ: 0300000080 [11:19:45]line РНМ: 0000000000096838 [11:19:45]line Версия ККМ: 001 [11:19:45]line Платежная система: АКБ Кыргызстан [11:19:45]line ФМ: 0000000000874859 [11:19:45]line ФД: 34673 [11:19:45]line ФПД: 190719437551420 [11:19:45]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T111945&type=1&operation_type=1&fn_number=0000000000874859&fd_number=34673&fm=190719437551420&tin=02508201610067®Number=0000000000096838&sum=11000 [11:19:45]line 0 [11:19:45]OFD Sender: Processing packet 34673 [packets to send 17, broken 16] [11:19:45]ProducePacketName [11:19:45]name=ofd_packets/00034673 [11:19:45]OFD Sender: To server: pG, [11:19:45]CommunicateWithHost lk.salyk.kg:30040 [11:19:45]ConnectInit lk.salyk.kg [11:19:45]written 0, free lines is 4095 [11:19:45]Connected sock=10 [11:19:45]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 39 01 00 00 48 96 31 01 8F FB 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 30 35 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D1 82 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 F8 2A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 51 F8 5E 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 71 87 00 00 35 04 06 00 AD 75 54 53 B7 3C C8 89 E7 C7 20 27 37 87 [11:19:45]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 4F 00 00 00 A6 41 47 00 3B 15 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 71 87 00 00 F4 03 04 00 91 A2 5E 66 B6 04 01 00 00 B6 57 44 8A 79 08 B8 D4 [11:19:45]CommunicateWithHost err = 0 [11:19:45]CheckOFDResponse [11:19:45]1017 (14) - 77093643461234 [11:19:45]1041 (16) - 0000000000874859 [11:19:45]1040 (4) - 34673 [11:19:45]1012 (4) - 04.06.2024 05:13 [11:19:45]1206 (1) - 0 [11:19:45]OFD Sender: Remove packet 34673 [11:19:45]ProducePacketName [11:19:45]name=ofd_packets/00034673 [11:19:45]NVStorageDeleteData [11:19:45]Write to MH i2c: 01 00 00 01 03 04 [11:19:45]Write i2c OK [11:19:45]MH_I2C_Read... [11:19:45]Read from MH i2c: 01 [11:19:45]MH_I2C_Read... [11:19:45]Read from MH i2c: 01 07 00 [11:19:45]MH_I2C_Read... [11:19:45]Read from MH i2c: 01 07 00 01 03 00 00 00 00 00 EB 0C 02 [11:19:45]RasterBufferAndPrint [11:19:45]line [11:19:45]line [11:19:45]line [11:19:45]line [11:19:45]line [11:19:45]written 0, free lines is 3313 [11:19:45]MH_Cut [11:19:45]Write to MH i2c: D1 01 00 08 03 01 DD [11:19:45]Write i2c OK [11:19:45]MH_I2C_Read... [11:19:45]Read from MH i2c: D1 [11:19:45]MH_I2C_Read... [11:19:45]Read from MH i2c: D1 01 00 [11:19:45]MH_I2C_Read... [11:19:45]Read from MH i2c: D1 01 00 08 03 00 DC [11:19:45]Write to MH i2c: 01 00 00 09 03 0C [11:19:45]Write i2c OK [11:19:45]MH_I2C_Read... [11:19:46]OFD Sender: No OFD packet to send [11:19:46]*** Cut start [11:19:46]*** Partial cut [11:19:46]*** CUTSNS_PIN = 1 [11:19:46]*** CUTSNS_PIN = 0 [11:19:46]*** Brake cut motor [11:19:47]Read from MH i2c: 01 [11:19:47]MH_I2C_Read... [11:19:47]*** Stop cut motor [11:19:47]*** Cut end [11:19:47]Read from MH i2c: 01 07 00 [11:19:47]MH_I2C_Read... [11:19:47]Read from MH i2c: 01 07 00 09 03 00 00 00 00 00 FF 0F 21 [11:19:47]process_action close_receipt done [11:19:47]requested_data is exist [11:19:47]produce_requested_data [11:19:47]requested_item fm.sn is exist - process it [11:19:47]wFMCommunicate request_size=4 [11:19:47]MH_SAM_APDU [11:19:47]CAPDU: 80 11 00 00 [11:19:47]Write to MH i2c: E2 08 00 0A 03 80 11 00 00 00 00 00 00 87 [11:19:47]Write i2c OK [11:19:47]MH_I2C_Read... [11:19:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:19:47]Read from MH i2c: E2 [11:19:47]MH_I2C_Read... [11:19:47]Read from MH i2c: E2 17 00 [11:19:47]MH_I2C_Read... [11:19:47]Read from MH i2c: E2 17 00 0A 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 E3 [11:19:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 [11:19:47]wFMCommunicate OK [11:19:47]requested_item fd.num is exist - process it [11:19:47]SAM_PROTO_GetFieldsCounters [11:19:47]wFMCommunicate request_size=4 [11:19:47]MH_SAM_APDU [11:19:47]CAPDU: 80 13 00 00 [11:19:47]Write to MH i2c: E2 08 00 0B 03 80 13 00 00 00 00 00 00 8A [11:19:47]Write i2c OK [11:19:47]MH_I2C_Read... [11:19:47]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:19:47]Read from MH i2c: E2 [11:19:47]MH_I2C_Read... [11:19:47]Read from MH i2c: E2 62 00 [11:19:47]MH_I2C_Read... [11:19:47]Read from MH i2c: E2 62 00 0B 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 10 04 04 00 71 87 00 00 0E 04 04 00 70 01 00 00 12 04 04 00 11 00 00 00 5E 04 04 00 11 00 00 00 57 04 04 00 12 00 00 00 19 04 04 00 00 00 00 00 90 00 59 [11:19:47]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 10 04 04 00 71 87 00 00 0E 04 04 00 70 01 00 00 12 04 04 00 11 00 00 00 5E 04 04 00 11 00 00 00 57 04 04 00 12 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:19:47]wFMCommunicate OK [11:19:47]SAM_PROTO_GetFieldsCounters done [11:19:47]requested_item shift.num is exist - process it [11:19:47]requested_item shift.opened is exist - process it [11:19:47]req_shift_opened [11:19:47]FM_GetShiftState [11:19:47]SAM_PROTO_GetShiftState [11:19:47]wFMCommunicate request_size=4 [11:19:47]MH_SAM_APDU [11:19:47]CAPDU: 80 13 01 00 [11:19:47]Write to MH i2c: E2 08 00 0C 03 80 13 01 00 00 00 00 00 8C [11:19:47]Write i2c OK [11:19:47]MH_I2C_Read... [11:19:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:19:47]Read from MH i2c: E2 [11:19:47]MH_I2C_Read... [11:19:47]Read from MH i2c: E2 0E 00 [11:19:47]MH_I2C_Read... [11:19:47]Read from MH i2c: E2 0E 00 0C 03 00 09 00 01 35 5B 5E 66 00 00 00 00 90 00 EC [11:19:47]RAPDU: 09 00 01 35 5B 5E 66 00 00 00 00 90 00 [11:19:47]wFMCommunicate OK [11:19:47]SAM_PROTO_GetShiftState done [11:19:47]FM_GetShiftState done [11:19:47]req_shift_opened done [11:19:47]requested_item shift.open_date is exist - process it [11:19:47]req_shift_open_date [11:19:47]req_shift_open_date done [11:19:47]produce_requested_data done [11:19:47]produce_requested_data return {"fm.sn":"0000000000874859","fd.num":34673,"shift.num":368,"shift.opened":1,"shift.open_date":1717459765} [11:19:47]process_action_free close_receipt [11:19:47]json_value_free [11:19:47]json_value_free done [11:19:47]process_json_proto returns [11:19:47]Send response to host [11:19:47]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874859","fd.num":34673,"shift.num":368,"shift.opened":1,"shift.open_date":1717459765}}} [11:19:47]free response buf [11:19:47]execute_script done [11:19:47]execute_script returns [11:19:47]free content buf [11:19:47]Sock 7.Close socket [11:19:47]Sock 7.Thread stoped [11:19:51]OFD Sender: No OFD packet to send [11:19:56]OFD Sender: No OFD packet to send [11:20:01]OFD Sender: No OFD packet to send [11:20:06]OFD Sender: No OFD packet to send [11:20:11]OFD Sender: No OFD packet to send [11:20:16]OFD Sender: No OFD packet to send [11:20:21]OFD Sender: No OFD packet to send [11:20:26]OFD Sender: No OFD packet to send [11:20:31]OFD Sender: No OFD packet to send [11:20:36]OFD Sender: No OFD packet to send [11:20:41]OFD Sender: No OFD packet to send [11:20:46]OFD Sender: No OFD packet to send [11:20:51]OFD Sender: No OFD packet to send [11:20:56]OFD Sender: No OFD packet to send [11:21:01]OFD Sender: No OFD packet to send [11:21:06]OFD Sender: No OFD packet to send [11:21:11]OFD Sender: No OFD packet to send [11:21:16]OFD Sender: No OFD packet to send [11:21:21]OFD Sender: No OFD packet to send [11:21:26]OFD Sender: No OFD packet to send [11:21:31]OFD Sender: No OFD packet to send [11:21:36]OFD Sender: No OFD packet to send [11:21:41]OFD Sender: No OFD packet to send [11:21:46]OFD Sender: No OFD packet to send [11:21:51]OFD Sender: No OFD packet to send [11:21:56]OFD Sender: No OFD packet to send [11:22:01]OFD Sender: No OFD packet to send [11:22:06]OFD Sender: No OFD packet to send [11:22:11]OFD Sender: No OFD packet to send [11:22:16]OFD Sender: No OFD packet to send [11:22:21]OFD Sender: No OFD packet to send [11:22:26]OFD Sender: No OFD packet to send [11:22:31]OFD Sender: No OFD packet to send [11:22:36]OFD Sender: No OFD packet to send [11:22:41]OFD Sender: No OFD packet to send [11:22:46]OFD Sender: No OFD packet to send [11:22:51]OFD Sender: No OFD packet to send [11:22:56]OFD Sender: No OFD packet to send [11:23:01]OFD Sender: No OFD packet to send [11:23:06]OFD Sender: No OFD packet to send [11:23:11]OFD Sender: No OFD packet to send [11:23:16]OFD Sender: No OFD packet to send [11:23:21]OFD Sender: No OFD packet to send [11:23:26]OFD Sender: No OFD packet to send [11:23:31]OFD Sender: No OFD packet to send [11:23:36]OFD Sender: No OFD packet to send [11:23:41]OFD Sender: No OFD packet to send [11:23:46]OFD Sender: No OFD packet to send [11:23:51]OFD Sender: No OFD packet to send [11:23:56]OFD Sender: No OFD packet to send [11:24:01]OFD Sender: No OFD packet to send [11:24:06]OFD Sender: No OFD packet to send [11:24:11]OFD Sender: No OFD packet to send [11:24:16]OFD Sender: No OFD packet to send [11:24:21]OFD Sender: No OFD packet to send [11:24:26]OFD Sender: No OFD packet to send [11:24:31]OFD Sender: No OFD packet to send [11:24:36]OFD Sender: No OFD packet to send [11:24:41]OFD Sender: No OFD packet to send [11:24:46]OFD Sender: No OFD packet to send [11:24:51]OFD Sender: No OFD packet to send [11:24:56]OFD Sender: No OFD packet to send [11:25:01]OFD Sender: No OFD packet to send [11:25:06]OFD Sender: No OFD packet to send [11:25:11]OFD Sender: No OFD packet to send [11:25:16]OFD Sender: No OFD packet to send [11:25:21]OFD Sender: No OFD packet to send [11:25:26]OFD Sender: No OFD packet to send [11:25:31]OFD Sender: No OFD packet to send [11:25:36]OFD Sender: No OFD packet to send [11:25:41]OFD Sender: No OFD packet to send [11:25:46]OFD Sender: No OFD packet to send [11:25:51]OFD Sender: No OFD packet to send [11:25:56]OFD Sender: No OFD packet to send [11:26:01]OFD Sender: No OFD packet to send [11:26:06]OFD Sender: No OFD packet to send [11:26:11]OFD Sender: No OFD packet to send [11:26:16]OFD Sender: No OFD packet to send [11:26:21]OFD Sender: No OFD packet to send [11:26:26]OFD Sender: No OFD packet to send [11:26:31]OFD Sender: No OFD packet to send [11:26:36]OFD Sender: No OFD packet to send [11:26:41]OFD Sender: No OFD packet to send [11:26:46]OFD Sender: No OFD packet to send [11:26:51]OFD Sender: No OFD packet to send [11:26:56]OFD Sender: No OFD packet to send [11:27:01]OFD Sender: No OFD packet to send [11:27:06]OFD Sender: No OFD packet to send [11:27:11]OFD Sender: No OFD packet to send [11:27:16]OFD Sender: No OFD packet to send [11:27:21]OFD Sender: No OFD packet to send [11:27:26]OFD Sender: No OFD packet to send [11:27:31]OFD Sender: No OFD packet to send [11:27:36]OFD Sender: No OFD packet to send [11:27:41]OFD Sender: No OFD packet to send [11:27:46]OFD Sender: No OFD packet to send [11:27:51]OFD Sender: No OFD packet to send [11:27:56]OFD Sender: No OFD packet to send [11:28:01]OFD Sender: No OFD packet to send [11:28:06]OFD Sender: No OFD packet to send [11:28:11]OFD Sender: No OFD packet to send [11:28:16]OFD Sender: No OFD packet to send [11:28:21]OFD Sender: No OFD packet to send [11:28:26]OFD Sender: No OFD packet to send [11:28:31]OFD Sender: No OFD packet to send [11:28:36]OFD Sender: No OFD packet to send [11:28:41]OFD Sender: No OFD packet to send [11:28:46]OFD Sender: No OFD packet to send [11:28:51]OFD Sender: No OFD packet to send [11:28:56]OFD Sender: No OFD packet to send [11:29:01]OFD Sender: No OFD packet to send [11:29:06]OFD Sender: No OFD packet to send [11:29:11]OFD Sender: No OFD packet to send [11:29:16]OFD Sender: No OFD packet to send [11:29:21]OFD Sender: No OFD packet to send [11:29:26]OFD Sender: No OFD packet to send [11:29:31]OFD Sender: No OFD packet to send [11:29:36]OFD Sender: No OFD packet to send [11:29:41]OFD Sender: No OFD packet to send [11:29:46]OFD Sender: No OFD packet to send [11:29:51]OFD Sender: No OFD packet to send [11:29:56]OFD Sender: No OFD packet to send [11:30:01]OFD Sender: No OFD packet to send [11:30:06]OFD Sender: No OFD packet to send [11:30:11]OFD Sender: No OFD packet to send [11:30:16]OFD Sender: No OFD packet to send [11:30:21]OFD Sender: No OFD packet to send [11:30:26]OFD Sender: No OFD packet to send [11:30:31]OFD Sender: No OFD packet to send [11:30:36]OFD Sender: No OFD packet to send [11:30:41]OFD Sender: No OFD packet to send [11:30:46]OFD Sender: No OFD packet to send [11:30:51]OFD Sender: No OFD packet to send [11:30:56]OFD Sender: No OFD packet to send [11:31:01]OFD Sender: No OFD packet to send [11:31:06]OFD Sender: No OFD packet to send [11:31:11]OFD Sender: No OFD packet to send [11:31:16]OFD Sender: No OFD packet to send [11:31:21]OFD Sender: No OFD packet to send [11:31:26]OFD Sender: No OFD packet to send [11:31:31]OFD Sender: No OFD packet to send [11:31:36]OFD Sender: No OFD packet to send [11:31:41]OFD Sender: No OFD packet to send [11:31:46]OFD Sender: No OFD packet to send [11:31:51]OFD Sender: No OFD packet to send [11:31:56]OFD Sender: No OFD packet to send [11:32:01]OFD Sender: No OFD packet to send [11:32:06]OFD Sender: No OFD packet to send [11:32:11]OFD Sender: No OFD packet to send [11:32:16]OFD Sender: No OFD packet to send [11:32:21]OFD Sender: No OFD packet to send [11:32:26]OFD Sender: No OFD packet to send [11:32:31]OFD Sender: No OFD packet to send [11:32:36]OFD Sender: No OFD packet to send [11:32:41]OFD Sender: No OFD packet to send [11:32:46]OFD Sender: No OFD packet to send [11:32:51]OFD Sender: No OFD packet to send [11:32:56]OFD Sender: No OFD packet to send [11:33:01]OFD Sender: No OFD packet to send [11:33:06]OFD Sender: No OFD packet to send [11:33:11]OFD Sender: No OFD packet to send [11:33:16]OFD Sender: No OFD packet to send [11:33:21]OFD Sender: No OFD packet to send [11:33:26]OFD Sender: No OFD packet to send [11:33:31]OFD Sender: No OFD packet to send [11:33:36]OFD Sender: No OFD packet to send [11:33:41]OFD Sender: No OFD packet to send [11:33:46]OFD Sender: No OFD packet to send [11:33:51]OFD Sender: No OFD packet to send [11:33:56]OFD Sender: No OFD packet to send [11:34:01]OFD Sender: No OFD packet to send [11:34:06]OFD Sender: No OFD packet to send [11:34:11]OFD Sender: No OFD packet to send [11:34:16]OFD Sender: No OFD packet to send [11:34:21]OFD Sender: No OFD packet to send [11:34:26]OFD Sender: No OFD packet to send [11:34:31]OFD Sender: No OFD packet to send [11:34:36]OFD Sender: No OFD packet to send [11:34:41]OFD Sender: No OFD packet to send [11:34:46]OFD Sender: No OFD packet to send [11:34:51]OFD Sender: No OFD packet to send [11:34:56]OFD Sender: No OFD packet to send [11:35:01]OFD Sender: No OFD packet to send [11:35:07]OFD Sender: No OFD packet to send [11:35:12]OFD Sender: No OFD packet to send [11:35:17]OFD Sender: No OFD packet to send [11:35:22]OFD Sender: No OFD packet to send [11:35:27]OFD Sender: No OFD packet to send [11:35:32]OFD Sender: No OFD packet to send [11:35:37]OFD Sender: No OFD packet to send [11:35:42]OFD Sender: No OFD packet to send [11:35:47]OFD Sender: No OFD packet to send [11:35:52]OFD Sender: No OFD packet to send [11:35:57]OFD Sender: No OFD packet to send [11:36:02]OFD Sender: No OFD packet to send [11:36:07]OFD Sender: No OFD packet to send [11:36:12]OFD Sender: No OFD packet to send [11:36:17]OFD Sender: No OFD packet to send [11:36:22]OFD Sender: No OFD packet to send [11:36:27]OFD Sender: No OFD packet to send [11:36:32]OFD Sender: No OFD packet to send [11:36:37]OFD Sender: No OFD packet to send [11:36:42]OFD Sender: No OFD packet to send [11:36:47]OFD Sender: No OFD packet to send [11:36:52]OFD Sender: No OFD packet to send [11:36:57]OFD Sender: No OFD packet to send [11:37:02]OFD Sender: No OFD packet to send [11:37:07]OFD Sender: No OFD packet to send [11:37:12]OFD Sender: No OFD packet to send [11:37:17]OFD Sender: No OFD packet to send [11:37:22]OFD Sender: No OFD packet to send [11:37:27]OFD Sender: No OFD packet to send [11:37:32]OFD Sender: No OFD packet to send [11:37:37]OFD Sender: No OFD packet to send [11:37:42]OFD Sender: No OFD packet to send [11:37:47]OFD Sender: No OFD packet to send [11:37:52]OFD Sender: No OFD packet to send [11:37:57]OFD Sender: No OFD packet to send [11:38:02]OFD Sender: No OFD packet to send [11:38:07]OFD Sender: No OFD packet to send [11:38:12]OFD Sender: No OFD packet to send [11:38:17]OFD Sender: No OFD packet to send [11:38:22]OFD Sender: No OFD packet to send [11:38:27]OFD Sender: No OFD packet to send [11:38:32]OFD Sender: No OFD packet to send [11:38:37]OFD Sender: No OFD packet to send [11:38:42]OFD Sender: No OFD packet to send [11:38:47]OFD Sender: No OFD packet to send [11:38:52]OFD Sender: No OFD packet to send [11:38:57]OFD Sender: No OFD packet to send [11:39:02]OFD Sender: No OFD packet to send [11:39:07]OFD Sender: No OFD packet to send [11:39:12]OFD Sender: No OFD packet to send [11:39:17]OFD Sender: No OFD packet to send [11:39:22]OFD Sender: No OFD packet to send [11:39:27]OFD Sender: No OFD packet to send [11:39:32]OFD Sender: No OFD packet to send [11:39:37]OFD Sender: No OFD packet to send [11:39:42]OFD Sender: No OFD packet to send [11:39:47]OFD Sender: No OFD packet to send [11:39:52]OFD Sender: No OFD packet to send [11:39:57]OFD Sender: No OFD packet to send [11:40:02]OFD Sender: No OFD packet to send [11:40:07]OFD Sender: No OFD packet to send [11:40:12]OFD Sender: No OFD packet to send [11:40:17]OFD Sender: No OFD packet to send [11:40:22]OFD Sender: No OFD packet to send [11:40:27]OFD Sender: No OFD packet to send [11:40:32]OFD Sender: No OFD packet to send [11:40:37]OFD Sender: No OFD packet to send [11:40:42]OFD Sender: No OFD packet to send [11:40:47]OFD Sender: No OFD packet to send [11:40:52]OFD Sender: No OFD packet to send [11:40:57]OFD Sender: No OFD packet to send [11:41:02]OFD Sender: No OFD packet to send [11:41:07]OFD Sender: No OFD packet to send [11:41:12]OFD Sender: No OFD packet to send [11:41:17]OFD Sender: No OFD packet to send [11:41:22]OFD Sender: No OFD packet to send [11:41:27]OFD Sender: No OFD packet to send [11:41:32]OFD Sender: No OFD packet to send [11:41:37]OFD Sender: No OFD packet to send [11:41:42]OFD Sender: No OFD packet to send [11:41:47]OFD Sender: No OFD packet to send [11:41:52]OFD Sender: No OFD packet to send [11:41:57]OFD Sender: No OFD packet to send [11:42:02]OFD Sender: No OFD packet to send [11:42:07]OFD Sender: No OFD packet to send [11:42:12]OFD Sender: No OFD packet to send [11:42:17]OFD Sender: No OFD packet to send [11:42:22]OFD Sender: No OFD packet to send [11:42:27]OFD Sender: No OFD packet to send [11:42:32]OFD Sender: No OFD packet to send [11:42:37]OFD Sender: No OFD packet to send [11:42:42]OFD Sender: No OFD packet to send [11:42:47]OFD Sender: No OFD packet to send [11:42:52]OFD Sender: No OFD packet to send [11:42:57]OFD Sender: No OFD packet to send [11:43:02]OFD Sender: No OFD packet to send [11:43:07]OFD Sender: No OFD packet to send [11:43:12]OFD Sender: No OFD packet to send [11:43:17]OFD Sender: No OFD packet to send [11:43:22]OFD Sender: No OFD packet to send [11:43:27]OFD Sender: No OFD packet to send [11:43:32]OFD Sender: No OFD packet to send [11:43:37]OFD Sender: No OFD packet to send [11:43:42]OFD Sender: No OFD packet to send [11:43:47]OFD Sender: No OFD packet to send [11:43:52]OFD Sender: No OFD packet to send [11:43:57]OFD Sender: No OFD packet to send [11:44:02]OFD Sender: No OFD packet to send [11:44:07]OFD Sender: No OFD packet to send [11:44:12]OFD Sender: No OFD packet to send [11:44:17]OFD Sender: No OFD packet to send [11:44:22]OFD Sender: No OFD packet to send [11:44:27]OFD Sender: No OFD packet to send [11:44:32]OFD Sender: No OFD packet to send [11:44:37]OFD Sender: No OFD packet to send [11:44:42]OFD Sender: No OFD packet to send [11:44:47]OFD Sender: No OFD packet to send [11:44:52]OFD Sender: No OFD packet to send [11:44:57]OFD Sender: No OFD packet to send [11:45:02]OFD Sender: No OFD packet to send [11:45:07]OFD Sender: No OFD packet to send [11:45:12]OFD Sender: No OFD packet to send [11:45:17]OFD Sender: No OFD packet to send [11:45:22]OFD Sender: No OFD packet to send [11:45:27]OFD Sender: No OFD packet to send [11:45:32]OFD Sender: No OFD packet to send [11:45:37]OFD Sender: No OFD packet to send [11:45:42]OFD Sender: No OFD packet to send [11:45:47]OFD Sender: No OFD packet to send [11:45:52]OFD Sender: No OFD packet to send [11:45:57]OFD Sender: No OFD packet to send [11:46:02]OFD Sender: No OFD packet to send [11:46:07]OFD Sender: No OFD packet to send [11:46:12]OFD Sender: No OFD packet to send [11:46:17]OFD Sender: No OFD packet to send [11:46:22]OFD Sender: No OFD packet to send [11:46:27]OFD Sender: No OFD packet to send [11:46:32]OFD Sender: No OFD packet to send [11:46:37]OFD Sender: No OFD packet to send [11:46:42]OFD Sender: No OFD packet to send [11:46:47]OFD Sender: No OFD packet to send [11:46:52]OFD Sender: No OFD packet to send [11:46:57]OFD Sender: No OFD packet to send [11:47:02]OFD Sender: No OFD packet to send [11:47:07]OFD Sender: No OFD packet to send [11:47:12]OFD Sender: No OFD packet to send [11:47:17]OFD Sender: No OFD packet to send [11:47:22]OFD Sender: No OFD packet to send [11:47:27]OFD Sender: No OFD packet to send [11:47:32]OFD Sender: No OFD packet to send [11:47:37]OFD Sender: No OFD packet to send [11:47:42]OFD Sender: No OFD packet to send [11:47:47]OFD Sender: No OFD packet to send [11:47:52]OFD Sender: No OFD packet to send [11:47:57]OFD Sender: No OFD packet to send [11:48:02]OFD Sender: No OFD packet to send [11:48:07]OFD Sender: No OFD packet to send [11:48:12]OFD Sender: No OFD packet to send [11:48:17]OFD Sender: No OFD packet to send [11:48:22]OFD Sender: No OFD packet to send [11:48:27]OFD Sender: No OFD packet to send [11:48:32]OFD Sender: No OFD packet to send [11:48:37]OFD Sender: No OFD packet to send [11:48:42]OFD Sender: No OFD packet to send [11:48:47]OFD Sender: No OFD packet to send [11:48:52]OFD Sender: No OFD packet to send [11:48:57]OFD Sender: No OFD packet to send [11:49:02]OFD Sender: No OFD packet to send [11:49:07]OFD Sender: No OFD packet to send [11:49:12]OFD Sender: No OFD packet to send [11:49:17]OFD Sender: No OFD packet to send [11:49:22]OFD Sender: No OFD packet to send [11:49:27]OFD Sender: No OFD packet to send [11:49:32]OFD Sender: No OFD packet to send [11:49:37]OFD Sender: No OFD packet to send [11:49:42]OFD Sender: No OFD packet to send [11:49:47]OFD Sender: No OFD packet to send [11:49:52]OFD Sender: No OFD packet to send [11:49:57]OFD Sender: No OFD packet to send [11:50:02]OFD Sender: No OFD packet to send [11:50:07]OFD Sender: No OFD packet to send [11:50:12]OFD Sender: No OFD packet to send [11:50:17]OFD Sender: No OFD packet to send [11:50:22]OFD Sender: No OFD packet to send [11:50:27]OFD Sender: No OFD packet to send [11:50:32]OFD Sender: No OFD packet to send [11:50:37]OFD Sender: No OFD packet to send [11:50:42]OFD Sender: No OFD packet to send [11:50:47]OFD Sender: No OFD packet to send [11:50:52]OFD Sender: No OFD packet to send [11:50:57]OFD Sender: No OFD packet to send [11:51:02]OFD Sender: No OFD packet to send [11:51:07]OFD Sender: No OFD packet to send [11:51:12]OFD Sender: No OFD packet to send [11:51:17]OFD Sender: No OFD packet to send [11:51:22]OFD Sender: No OFD packet to send [11:51:27]OFD Sender: No OFD packet to send [11:51:32]OFD Sender: No OFD packet to send [11:51:37]OFD Sender: No OFD packet to send [11:51:42]OFD Sender: No OFD packet to send [11:51:47]OFD Sender: No OFD packet to send [11:51:52]OFD Sender: No OFD packet to send [11:51:57]OFD Sender: No OFD packet to send [11:52:02]OFD Sender: No OFD packet to send [11:52:07]OFD Sender: No OFD packet to send [11:52:12]OFD Sender: No OFD packet to send [11:52:17]OFD Sender: No OFD packet to send [11:52:22]OFD Sender: No OFD packet to send [11:52:27]OFD Sender: No OFD packet to send [11:52:32]OFD Sender: No OFD packet to send [11:52:37]OFD Sender: No OFD packet to send [11:52:42]OFD Sender: No OFD packet to send [11:52:47]OFD Sender: No OFD packet to send [11:52:52]OFD Sender: No OFD packet to send [11:52:57]OFD Sender: No OFD packet to send [11:53:02]OFD Sender: No OFD packet to send [11:53:07]OFD Sender: No OFD packet to send [11:53:12]OFD Sender: No OFD packet to send [11:53:17]OFD Sender: No OFD packet to send [11:53:22]OFD Sender: No OFD packet to send [11:53:27]OFD Sender: No OFD packet to send [11:53:32]OFD Sender: No OFD packet to send [11:53:37]OFD Sender: No OFD packet to send [11:53:42]OFD Sender: No OFD packet to send [11:53:47]OFD Sender: No OFD packet to send [11:53:52]OFD Sender: No OFD packet to send [11:53:57]OFD Sender: No OFD packet to send [11:54:02]OFD Sender: No OFD packet to send [11:54:07]OFD Sender: No OFD packet to send [11:54:12]OFD Sender: No OFD packet to send [11:54:17]OFD Sender: No OFD packet to send [11:54:22]OFD Sender: No OFD packet to send [11:54:24]accept exits with 9 [11:54:24]New connection [11:54:24]New thread 3067170148 created [11:54:24]Thread 3067026788 joined [11:54:24]Waiting for new connection... [11:54:24] Sock 9.Parse request [11:54:24]Sock 9.Check first char [11:54:24]Sock 9.First char is OK [11:54:24]request: POST /json_proto HTTP/1.0 [11:54:24]Method: POST [11:54:24]URL: /json_proto [11:54:24]Method is POST - this is cgi request [11:54:24]url: /json_proto [11:54:24]query_string will be loaded in cgi processing [11:54:24]execute_cgi json_proto POST (null) [11:54:24]execute_cgi path=json_proto method=POST [11:54:24]POST find Content-Length [11:54:24]Host: 172.17.36.131:8080 [11:54:24]Content-Length: 658 [11:54:24]Content-Type: application/json [11:54:24] [11:54:24]POST finish read [11:54:24]Found Content-Length = 658 [11:54:24]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100036", "tax_sys" : 0, "items" : [ { "code": "4700026030017", "name": "\u041A\u0443\u0440\u0443\u0442 \u043A\u043B\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043A\u0438\u0439", "price" : 49.00, "quantity" : 2.000, "sum" : 98.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 98.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:54:24]execute_script... [11:54:24]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100036", "tax_sys" : 0, "items" : [ { "code": "4700026030017", "name": "\u041A\u0443\u0440\u0443\u0442 \u043A\u043B\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043A\u0438\u0439", "price" : 49.00, "quantity" : 2.000, "sum" : 98.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 98.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:54:24]POST & json_proto [11:54:24]process_json_proto [11:54:24]json parsed OK: [11:54:24]protocol is kg_v1.0 [11:54:24]action value=close_receipt [11:54:24]process_action close_receipt [11:54:24]cmd_close_receipt [11:54:24]MH_GetDate [11:54:24]Write to MH i2c: F0 00 00 0D 03 FF [11:54:24]Write i2c OK [11:54:24]MH_I2C_Read... [11:54:24]Read from MH i2c: F0 [11:54:24]MH_I2C_Read... [11:54:24]Read from MH i2c: F0 09 00 [11:54:24]MH_I2C_Read... [11:54:24]Read from MH i2c: F0 09 00 0D 03 00 72 00 5F 66 A7 4C 98 65 2F [11:54:24]GetLastDocTimeStamp 1717499985 [11:54:24]current date 1717502066 [11:54:24]FM_GetShiftState [11:54:24]SAM_PROTO_GetShiftState [11:54:24]wFMCommunicate request_size=4 [11:54:24]MH_SAM_APDU [11:54:24]CAPDU: 80 13 01 00 [11:54:24]Write to MH i2c: E2 08 00 0E 03 80 13 01 00 00 00 00 00 8E [11:54:24]Write i2c OK [11:54:24]MH_I2C_Read... [11:54:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:54:24]Read from MH i2c: E2 [11:54:24]MH_I2C_Read... [11:54:24]Read from MH i2c: E2 0E 00 [11:54:24]MH_I2C_Read... [11:54:24]Read from MH i2c: E2 0E 00 0E 03 00 09 00 01 35 5B 5E 66 00 00 00 00 90 00 EE [11:54:24]RAPDU: 09 00 01 35 5B 5E 66 00 00 00 00 90 00 [11:54:24]wFMCommunicate OK [11:54:24]SAM_PROTO_GetShiftState done [11:54:24]FM_GetShiftState done [11:54:24]opened in 1717459765 [11:54:24]opened+sec_in_day 1717546165 [11:54:24]quantity*price = 9800 [11:54:24]sum+1 = 9801 [11:54:24]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 98.00 НСП 1% : 0.87 НДС 12% : 10.41 Наличными: 98.00 Безнал.: 0.00 Место: АЗС № 62 "Партнер Нефть" Адрес: 720001, г. Балыкчы, ул. Абдрахманова 325 Б, 42.462761, 76.214931 СНО: Общий режим Чек 18 04.06.2024 11:54 Смена: 368 ФФД: 1.0 ЗНМ: 0300000080 РНМ: 0000000000096838 Версия ККМ: 001 ФМ: 0000000000874859 ФД: 34674 ФПД: 244216650613117 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T115426&type=1&operation_type=1&fn_number=0000000000874859&fd_number=34674&fm=244216650613117&tin=02508201610067®Number=0000000000096838&sum=9800 0 [11:54:25]StoreToDocumentArchive [11:54:25]shift 368 fd 34674 [11:54:25]save to /storage/0368/doc_00034674 [11:54:25]save last doc name /storage/0368/doc_00034674 to /storage/kkm_last_doc_name [11:54:25]save OK [11:54:25]Clear old archive folders... [11:54:25]ProcessDocumentItem done err = 0, tmpTLVsize=277 [11:54:25]tlvbuf is 01B4ED60 [11:54:25]SAM_PROTO_ClearQueue [11:54:25]wFMCommunicate request_size=4 [11:54:25]MH_SAM_APDU [11:54:25]CAPDU: 80 09 00 00 [11:54:25]Write to MH i2c: E2 08 00 1B 03 80 09 00 00 00 00 00 00 90 [11:54:25]Write i2c OK [11:54:25]MH_I2C_Read... [11:54:25]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:54:25]Read from MH i2c: E2 [11:54:25]MH_I2C_Read... [11:54:25]Read from MH i2c: E2 03 00 [11:54:25]MH_I2C_Read... [11:54:25]Read from MH i2c: E2 03 00 1B 03 00 90 00 92 [11:54:25]RAPDU: 90 00 [11:54:25]wFMCommunicate OK [11:54:25]SAM_PROTO_ClearQueue done [11:54:25]KKMCreateOFDPacket [11:54:25]OFDProtocolAddRootSTLVToBuf [11:54:25]FM_MakeSignedData [11:54:25]FM_MakeSignedData [11:54:25]SAM_PROTO_SignData [11:54:25]wFMCommunicate request_size=4 [11:54:25]MH_SAM_APDU [11:54:25]CAPDU: 80 0D 01 02 [11:54:25]Write to MH i2c: E2 08 00 1C 03 80 0D 01 02 00 00 00 00 98 [11:54:25]Write i2c OK [11:54:25]MH_I2C_Read... [11:54:25]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:54:25]Read from MH i2c: E2 [11:54:25]MH_I2C_Read... [11:54:25]Read from MH i2c: E2 03 00 [11:54:25]MH_I2C_Read... [11:54:25]Read from MH i2c: E2 03 00 1C 03 00 90 00 93 [11:54:25]RAPDU: 90 00 [11:54:25]wFMCommunicate OK [11:54:25]wFMCommunicate request_size=255 [11:54:25]MH_SAM_APDU [11:54:25]CAPDU: 80 0D 02 02 FA 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 34 37 30 30 30 32 36 30 33 30 30 31 37 06 04 23 00 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 BA D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 48 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 48 26 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 57 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 11 04 00 00 00 00 07 04 06 00 48 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 12 00 00 00 F4 03 04 00 72 00 5F 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 30 30 30 [11:54:25]Write to MH i2c: E2 02 01 1D 03 80 0D 02 02 FA 00 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 34 37 30 30 30 32 36 30 33 30 30 31 37 06 04 23 00 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 BA D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 48 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 48 26 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 57 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 11 04 00 00 00 00 07 04 06 00 48 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 12 00 00 00 F4 03 04 00 72 00 5F 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 30 30 30 00 00 12 [11:54:25]Write i2c OK [11:54:25]MH_I2C_Read... [11:54:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:54:25]Read from MH i2c: E2 [11:54:25]MH_I2C_Read... [11:54:25]Read from MH i2c: E2 03 00 [11:54:25]MH_I2C_Read... [11:54:25]Read from MH i2c: E2 03 00 1D 03 00 90 00 94 [11:54:25]RAPDU: 90 00 [11:54:25]wFMCommunicate OK [11:54:25]wFMCommunicate request_size=36 [11:54:25]MH_SAM_APDU [11:54:25]CAPDU: 80 0D 02 02 1F 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 72 87 00 00 35 04 06 00 DE 1D 1E B5 41 7D [11:54:25]Write to MH i2c: E2 27 00 1E 03 80 0D 02 02 1F 00 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 72 87 00 00 35 04 06 00 DE 1D 1E B5 41 7D 00 00 4E [11:54:25]Write i2c OK [11:54:25]MH_I2C_Read... [11:54:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:54:25]Read from MH i2c: E2 [11:54:25]MH_I2C_Read... [11:54:25]Read from MH i2c: E2 03 00 [11:54:25]MH_I2C_Read... [11:54:25]Read from MH i2c: E2 03 00 1E 03 00 90 00 95 [11:54:25]RAPDU: 90 00 [11:54:25]wFMCommunicate OK [11:54:25]wFMCommunicate request_size=4 [11:54:25]MH_SAM_APDU [11:54:25]CAPDU: 80 0D 03 02 [11:54:25]Write to MH i2c: E2 08 00 1F 03 80 0D 03 02 00 00 00 00 9D [11:54:25]Write i2c OK [11:54:25]MH_I2C_Read... [11:54:26]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:54:26]Read from MH i2c: E2 [11:54:26]MH_I2C_Read... [11:54:26]Read from MH i2c: E2 0B 00 [11:54:26]MH_I2C_Read... [11:54:26]Read from MH i2c: E2 0B 00 1F 03 00 58 12 09 C7 EA BA BE 3D 90 00 77 [11:54:26]RAPDU: 58 12 09 C7 EA BA BE 3D 90 00 [11:54:26]wFMCommunicate OK [11:54:26]SAM_PROTO_SignData done [11:54:26]FM_MakeSignedData done [11:54:26]CreateOFDProtocolMessage [11:54:26]wFMCommunicate request_size=4 [11:54:26]MH_SAM_APDU [11:54:26]CAPDU: 80 11 00 00 [11:54:26]Write to MH i2c: E2 08 00 20 03 80 11 00 00 00 00 00 00 9D [11:54:26]Write i2c OK [11:54:26]MH_I2C_Read... [11:54:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:54:26]Read from MH i2c: E2 [11:54:26]MH_I2C_Read... [11:54:26]Read from MH i2c: E2 17 00 [11:54:26]MH_I2C_Read... [11:54:26]Read from MH i2c: E2 17 00 20 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 F9 [11:54:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 [11:54:26]wFMCommunicate OK [11:54:26]CreateOFDProtocolMessage done [11:54:26]OFDSenderStorePacket 34674 [11:54:26]StoreOFDPacket docnum=34674 [11:54:26]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 29 01 00 00 44 B0 21 01 26 82 5A 03 01 00 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 34 37 30 30 30 32 36 30 33 30 30 31 37 06 04 23 00 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 BA D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 48 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 48 26 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 57 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 11 04 00 00 00 00 07 04 06 00 48 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 12 00 00 00 F4 03 04 00 72 00 5F 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 72 87 00 00 35 04 06 00 DE 1D 1E B5 41 7D 58 12 09 C7 EA BA BE 3D [11:54:26]CheckFolder [11:54:26]dirname=/storage/ofd_packets [11:54:26]CheckFolder done [11:54:26]ProducePacketName [11:54:26]name=ofd_packets/00034674 [11:54:26]NVStorageSaveData ofd_packets/00034674 [11:54:26]File name is /storage/ofd_packets/00034674 [11:54:26]Write 327 bytes [11:54:26]NVStorageSaveData done [11:54:26]OFDSenderStorePacket done [11:54:26]KKMCreateOFDPacket done [11:54:26]NVStorageSaveData kkm_last_timestamp [11:54:26]File name is /storage/kkm_last_timestamp [11:54:26]Write 4 bytes [11:54:26]NVStorageSaveData done [11:54:26]ExternCall_PrintAddStr [11:54:26]wPrintStart [11:54:26]Write to MH i2c: 01 00 00 21 03 24 [11:54:26]Write i2c OK [11:54:26]MH_I2C_Read... [11:54:26]Read from MH i2c: 01 [11:54:26]MH_I2C_Read... [11:54:26]Read from MH i2c: 01 07 00 [11:54:26]MH_I2C_Read... [11:54:26]Read from MH i2c: 01 07 00 21 03 00 00 00 00 00 FF 0F 39 [11:54:26]RasterBufferAndPrint [11:54:26]line Счет N : (3)100036 [11:54:26]line ИНН: 02508201610067 [11:54:26]line Контрольно-Кассовый Чек [11:54:26]line ПРОДАЖА [11:54:26]line Товар: 4700026030017 [11:54:26]line Курут классический [11:54:26]line 2.000 * 49.00 [11:54:26]line = 98.00 [11:54:26]line НДС 12% НСП 1% [11:54:26]line > о реализуемом товаре [11:54:26]line ИТОГО: 98.00 [11:54:26]line НСП 1% : 0.87 [11:54:26]line НДС 12% : 10.41 [11:54:26]line Наличными: 98.00 [11:54:26]line Безнал.: 0.00 [11:54:26]line Место: АЗС № 62 "Партнер Нефть" [11:54:26]line Адрес: 720001, г. Балыкчы, ул. Абдрахманова 325 Б, 42.462761, 76.214931 [11:54:26]line СНО: Общий режим [11:54:26]line Чек 18 04.06.2024 11:54 [11:54:26]line Смена: 368 ФФД: 1.0 [11:54:26]line ЗНМ: 0300000080 [11:54:26]line РНМ: 0000000000096838 [11:54:26]line Версия ККМ: 001 [11:54:26]line ФМ: 0000000000874859 [11:54:26]line ФД: 34674 [11:54:26]line ФПД: 244216650613117 [11:54:26]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T115426&type=1&operation_type=1&fn_number=0000000000874859&fd_number=34674&fm=244216650613117&tin=02508201610067®Number=0000000000096838&sum=9800 [11:54:26]line 0 [11:54:26]OFD Sender: Processing packet 34674 [packets to send 17, broken 16] [11:54:26]ProducePacketName [11:54:26]name=ofd_packets/00034674 [11:54:26]OFD Sender: To server: pG, [11:54:26]CommunicateWithHost lk.salyk.kg:30040 [11:54:26]ConnectInit lk.salyk.kg [11:54:26]written 0, free lines is 4095 [11:54:26]Connected sock=10 [11:54:26]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 29 01 00 00 44 B0 21 01 26 82 5A 03 01 00 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 34 37 30 30 30 32 36 30 33 30 30 31 37 06 04 23 00 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 BA D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 48 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 48 26 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 57 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 11 04 00 00 00 00 07 04 06 00 48 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 12 00 00 00 F4 03 04 00 72 00 5F 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 72 87 00 00 35 04 06 00 DE 1D 1E B5 41 7D 58 12 09 C7 EA BA BE 3D [11:54:26]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 4F 00 00 00 62 A4 47 00 6D 73 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 72 87 00 00 F4 03 04 00 B2 AA 5E 66 B6 04 01 00 00 EF 84 4B 0A 5C 1B CA ED [11:54:26]CommunicateWithHost err = 0 [11:54:26]CheckOFDResponse [11:54:26]1017 (14) - 77093643461234 [11:54:26]1041 (16) - 0000000000874859 [11:54:26]1040 (4) - 34674 [11:54:26]1012 (4) - 04.06.2024 05:48 [11:54:26]1206 (1) - 0 [11:54:26]OFD Sender: Remove packet 34674 [11:54:26]ProducePacketName [11:54:26]name=ofd_packets/00034674 [11:54:26]NVStorageDeleteData [11:54:26]Write to MH i2c: 01 00 00 49 03 4C [11:54:26]Write i2c OK [11:54:26]MH_I2C_Read... [11:54:26]Read from MH i2c: 01 [11:54:26]MH_I2C_Read... [11:54:26]Read from MH i2c: 01 07 00 [11:54:26]MH_I2C_Read... [11:54:26]Read from MH i2c: 01 07 00 49 03 00 00 00 00 00 14 0D 74 [11:54:26]RasterBufferAndPrint [11:54:26]line [11:54:26]line [11:54:26]line [11:54:26]line [11:54:26]line [11:54:26]written 0, free lines is 3358 [11:54:26]MH_Cut [11:54:26]Write to MH i2c: D1 01 00 50 03 01 25 [11:54:26]Write i2c OK [11:54:26]MH_I2C_Read... [11:54:26]Read from MH i2c: D1 [11:54:26]MH_I2C_Read... [11:54:26]Read from MH i2c: D1 01 00 [11:54:26]MH_I2C_Read... [11:54:26]Read from MH i2c: D1 01 00 50 03 00 24 [11:54:26]Write to MH i2c: 01 00 00 51 03 54 [11:54:26]Write i2c OK [11:54:26]MH_I2C_Read... [11:54:27]OFD Sender: No OFD packet to send [11:54:27]*** Cut start [11:54:27]*** Partial cut [11:54:27]*** CUTSNS_PIN = 1 [11:54:27]*** CUTSNS_PIN = 0 [11:54:27]*** Brake cut motor [11:54:28]Read from MH i2c: 01 [11:54:28]MH_I2C_Read... [11:54:28]*** Stop cut motor [11:54:28]*** Cut end [11:54:28]Read from MH i2c: 01 07 00 [11:54:28]MH_I2C_Read... [11:54:28]Read from MH i2c: 01 07 00 51 03 00 00 00 00 00 FF 0F 69 [11:54:28]process_action close_receipt done [11:54:28]requested_data is exist [11:54:28]produce_requested_data [11:54:28]requested_item fm.sn is exist - process it [11:54:28]wFMCommunicate request_size=4 [11:54:28]MH_SAM_APDU [11:54:28]CAPDU: 80 11 00 00 [11:54:28]Write to MH i2c: E2 08 00 52 03 80 11 00 00 00 00 00 00 CF [11:54:28]Write i2c OK [11:54:28]MH_I2C_Read... [11:54:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:54:28]Read from MH i2c: E2 [11:54:28]MH_I2C_Read... [11:54:28]Read from MH i2c: E2 17 00 [11:54:28]MH_I2C_Read... [11:54:28]Read from MH i2c: E2 17 00 52 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 2B [11:54:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 [11:54:28]wFMCommunicate OK [11:54:28]requested_item fd.num is exist - process it [11:54:28]SAM_PROTO_GetFieldsCounters [11:54:28]wFMCommunicate request_size=4 [11:54:28]MH_SAM_APDU [11:54:28]CAPDU: 80 13 00 00 [11:54:28]Write to MH i2c: E2 08 00 53 03 80 13 00 00 00 00 00 00 D2 [11:54:28]Write i2c OK [11:54:28]MH_I2C_Read... [11:54:28]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:54:28]Read from MH i2c: E2 [11:54:28]MH_I2C_Read... [11:54:28]Read from MH i2c: E2 62 00 [11:54:28]MH_I2C_Read... [11:54:28]Read from MH i2c: E2 62 00 53 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 10 04 04 00 72 87 00 00 0E 04 04 00 70 01 00 00 12 04 04 00 12 00 00 00 5E 04 04 00 12 00 00 00 57 04 04 00 13 00 00 00 19 04 04 00 00 00 00 00 90 00 A5 [11:54:28]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 10 04 04 00 72 87 00 00 0E 04 04 00 70 01 00 00 12 04 04 00 12 00 00 00 5E 04 04 00 12 00 00 00 57 04 04 00 13 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:54:28]wFMCommunicate OK [11:54:28]SAM_PROTO_GetFieldsCounters done [11:54:28]requested_item shift.num is exist - process it [11:54:28]requested_item shift.opened is exist - process it [11:54:28]req_shift_opened [11:54:28]FM_GetShiftState [11:54:28]SAM_PROTO_GetShiftState [11:54:28]wFMCommunicate request_size=4 [11:54:28]MH_SAM_APDU [11:54:28]CAPDU: 80 13 01 00 [11:54:28]Write to MH i2c: E2 08 00 54 03 80 13 01 00 00 00 00 00 D4 [11:54:28]Write i2c OK [11:54:28]MH_I2C_Read... [11:54:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:54:28]Read from MH i2c: E2 [11:54:28]MH_I2C_Read... [11:54:28]Read from MH i2c: E2 0E 00 [11:54:28]MH_I2C_Read... [11:54:28]Read from MH i2c: E2 0E 00 54 03 00 09 00 01 35 5B 5E 66 00 00 00 00 90 00 34 [11:54:28]RAPDU: 09 00 01 35 5B 5E 66 00 00 00 00 90 00 [11:54:28]wFMCommunicate OK [11:54:28]SAM_PROTO_GetShiftState done [11:54:28]FM_GetShiftState done [11:54:28]req_shift_opened done [11:54:28]requested_item shift.open_date is exist - process it [11:54:28]req_shift_open_date [11:54:28]req_shift_open_date done [11:54:28]produce_requested_data done [11:54:28]produce_requested_data return {"fm.sn":"0000000000874859","fd.num":34674,"shift.num":368,"shift.opened":1,"shift.open_date":1717459765} [11:54:28]process_action_free close_receipt [11:54:28]json_value_free [11:54:28]json_value_free done [11:54:28]process_json_proto returns [11:54:28]Send response to host [11:54:28]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874859","fd.num":34674,"shift.num":368,"shift.opened":1,"shift.open_date":1717459765}}} [11:54:28]free response buf [11:54:28]execute_script done [11:54:28]execute_script returns [11:54:28]free content buf [11:54:28]Sock 9.Close socket [11:54:28]Sock 9.Thread stoped [11:54:32]OFD Sender: No OFD packet to send [11:54:37]OFD Sender: No OFD packet to send [11:54:42]OFD Sender: No OFD packet to send [11:54:47]OFD Sender: No OFD packet to send [11:54:52]OFD Sender: No OFD packet to send [11:54:57]OFD Sender: No OFD packet to send [11:55:02]OFD Sender: No OFD packet to send [11:55:07]OFD Sender: No OFD packet to send [11:55:12]OFD Sender: No OFD packet to send [11:55:17]OFD Sender: No OFD packet to send [11:55:22]OFD Sender: No OFD packet to send [11:55:27]OFD Sender: No OFD packet to send [11:55:32]OFD Sender: No OFD packet to send [11:55:37]OFD Sender: No OFD packet to send [11:55:42]OFD Sender: No OFD packet to send [11:55:47]OFD Sender: No OFD packet to send [11:55:50]accept exits with 7 [11:55:50]New connection [11:55:50]New thread 3067026788 created [11:55:50]Thread 3067170148 joined [11:55:50]Waiting for new connection... [11:55:50] Sock 7.Parse request [11:55:50]Sock 7.Check first char [11:55:50]Sock 7.First char is OK [11:55:50]request: POST /json_proto HTTP/1.0 [11:55:50]Method: POST [11:55:50]URL: /json_proto [11:55:50]Method is POST - this is cgi request [11:55:50]url: /json_proto [11:55:50]query_string will be loaded in cgi processing [11:55:50]execute_cgi json_proto POST (null) [11:55:50]execute_cgi path=json_proto method=POST [11:55:50]POST find Content-Length [11:55:50]Host: 172.17.36.131:8080 [11:55:50]Content-Length: 664 [11:55:50]Content-Type: application/json [11:55:50] [11:55:50]POST finish read [11:55:50]Found Content-Length = 664 [11:55:50]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100037", "tax_sys" : 0, "items" : [ { "code": "4700003010803", "name": "\u0427\u0430\u0439 \u041B\u0435\u0442\u0441 \u0413\u043E\u0443 \u041C\u0430\u043B\u0438\u043D\u0430 0,9\u043B", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 85.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:55:50]execute_script... [11:55:50]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100037", "tax_sys" : 0, "items" : [ { "code": "4700003010803", "name": "\u0427\u0430\u0439 \u041B\u0435\u0442\u0441 \u0413\u043E\u0443 \u041C\u0430\u043B\u0438\u043D\u0430 0,9\u043B", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 85.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:55:50]POST & json_proto [11:55:50]process_json_proto [11:55:50]json parsed OK: [11:55:50]protocol is kg_v1.0 [11:55:50]action value=close_receipt [11:55:50]process_action close_receipt [11:55:50]cmd_close_receipt [11:55:50]MH_GetDate [11:55:50]Write to MH i2c: F0 00 00 55 03 47 [11:55:50]Write i2c OK [11:55:50]MH_I2C_Read... [11:55:50]Read from MH i2c: F0 [11:55:50]MH_I2C_Read... [11:55:50]Read from MH i2c: F0 09 00 [11:55:50]MH_I2C_Read... [11:55:50]Read from MH i2c: F0 09 00 55 03 00 C8 00 5F 66 A7 4C 98 65 CD [11:55:50]GetLastDocTimeStamp 1717502066 [11:55:50]current date 1717502152 [11:55:50]FM_GetShiftState [11:55:50]SAM_PROTO_GetShiftState [11:55:50]wFMCommunicate request_size=4 [11:55:50]MH_SAM_APDU [11:55:50]CAPDU: 80 13 01 00 [11:55:50]Write to MH i2c: E2 08 00 56 03 80 13 01 00 00 00 00 00 D6 [11:55:50]Write i2c OK [11:55:50]MH_I2C_Read... [11:55:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:55:50]Read from MH i2c: E2 [11:55:50]MH_I2C_Read... [11:55:50]Read from MH i2c: E2 0E 00 [11:55:50]MH_I2C_Read... [11:55:50]Read from MH i2c: E2 0E 00 56 03 00 09 00 01 35 5B 5E 66 00 00 00 00 90 00 36 [11:55:50]RAPDU: 09 00 01 35 5B 5E 66 00 00 00 00 90 00 [11:55:50]wFMCommunicate OK [11:55:50]SAM_PROTO_GetShiftState done [11:55:50]FM_GetShiftState done [11:55:50]opened in 1717459765 [11:55:50]opened+sec_in_day 1717546165 [11:55:50]quantity*price = 8500 [11:55:50]sum+1 = 8501 [11:55:50]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 85.00 НСП 1% : 0.75 НДС 12% : 9.03 Наличными: 85.00 Безнал.: 0.00 Место: АЗС № 62 "Партнер Нефть" Адрес: 720001, г. Балыкчы, ул. Абдрахманова 325 Б, 42.462761, 76.214931 СНО: Общий режим Чек 19 04.06.2024 11:55 Смена: 368 ФФД: 1.0 ЗНМ: 0300000080 РНМ: 0000000000096838 Версия ККМ: 001 ФМ: 0000000000874859 ФД: 34675 ФПД: 169675263397661 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T115552&type=1&operation_type=1&fn_number=0000000000874859&fd_number=34675&fm=169675263397661&tin=02508201610067®Number=0000000000096838&sum=8500 0 [11:55:51]StoreToDocumentArchive [11:55:51]shift 368 fd 34675 [11:55:51]save to /storage/0368/doc_00034675 [11:55:51]save last doc name /storage/0368/doc_00034675 to /storage/kkm_last_doc_name [11:55:51]save OK [11:55:51]Clear old archive folders... [11:55:51]ProcessDocumentItem done err = 0, tmpTLVsize=283 [11:55:51]tlvbuf is 01B3CDF0 [11:55:51]SAM_PROTO_ClearQueue [11:55:51]wFMCommunicate request_size=4 [11:55:51]MH_SAM_APDU [11:55:51]CAPDU: 80 09 00 00 [11:55:51]Write to MH i2c: E2 08 00 63 03 80 09 00 00 00 00 00 00 D8 [11:55:51]Write i2c OK [11:55:51]MH_I2C_Read... [11:55:51]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:55:51]Read from MH i2c: E2 [11:55:51]MH_I2C_Read... [11:55:51]Read from MH i2c: E2 03 00 [11:55:51]MH_I2C_Read... [11:55:51]Read from MH i2c: E2 03 00 63 03 00 90 00 DA [11:55:51]RAPDU: 90 00 [11:55:51]wFMCommunicate OK [11:55:51]SAM_PROTO_ClearQueue done [11:55:51]KKMCreateOFDPacket [11:55:51]OFDProtocolAddRootSTLVToBuf [11:55:51]FM_MakeSignedData [11:55:51]FM_MakeSignedData [11:55:51]SAM_PROTO_SignData [11:55:51]wFMCommunicate request_size=4 [11:55:51]MH_SAM_APDU [11:55:51]CAPDU: 80 0D 01 02 [11:55:51]Write to MH i2c: E2 08 00 64 03 80 0D 01 02 00 00 00 00 E0 [11:55:51]Write i2c OK [11:55:51]MH_I2C_Read... [11:55:51]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:55:51]Read from MH i2c: E2 [11:55:51]MH_I2C_Read... [11:55:51]Read from MH i2c: E2 03 00 [11:55:51]MH_I2C_Read... [11:55:51]Read from MH i2c: E2 03 00 64 03 00 90 00 DB [11:55:51]RAPDU: 90 00 [11:55:51]wFMCommunicate OK [11:55:51]wFMCommunicate request_size=255 [11:55:51]MH_SAM_APDU [11:55:51]CAPDU: 80 0D 02 02 FA 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 38 30 33 06 04 29 00 D0 A7 D0 B0 D0 B9 20 D0 9B D0 B5 D1 82 D1 81 20 D0 93 D0 BE D1 83 20 D0 9C D0 B0 D0 BB D0 B8 D0 BD D0 B0 20 30 2C 39 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 34 21 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 C8 00 5F 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 [11:55:51]Write to MH i2c: E2 02 01 65 03 80 0D 02 02 FA 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 38 30 33 06 04 29 00 D0 A7 D0 B0 D0 B9 20 D0 9B D0 B5 D1 82 D1 81 20 D0 93 D0 BE D1 83 20 D0 9C D0 B0 D0 BB D0 B8 D0 BD D0 B0 20 30 2C 39 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 34 21 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 C8 00 5F 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 00 00 10 [11:55:51]Write i2c OK [11:55:51]MH_I2C_Read... [11:55:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:55:52]Read from MH i2c: E2 [11:55:52]MH_I2C_Read... [11:55:52]Read from MH i2c: E2 03 00 [11:55:52]MH_I2C_Read... [11:55:52]Read from MH i2c: E2 03 00 65 03 00 90 00 DC [11:55:52]RAPDU: 90 00 [11:55:52]wFMCommunicate OK [11:55:52]wFMCommunicate request_size=42 [11:55:52]MH_SAM_APDU [11:55:52]CAPDU: 80 0D 02 02 25 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 73 87 00 00 35 04 06 00 9A 51 99 CD 4F 1D [11:55:52]Write to MH i2c: E2 2D 00 66 03 80 0D 02 02 25 00 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 73 87 00 00 35 04 06 00 9A 51 99 CD 4F 1D 00 00 78 [11:55:52]Write i2c OK [11:55:52]MH_I2C_Read... [11:55:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:55:52]Read from MH i2c: E2 [11:55:52]MH_I2C_Read... [11:55:52]Read from MH i2c: E2 03 00 [11:55:52]MH_I2C_Read... [11:55:52]Read from MH i2c: E2 03 00 66 03 00 90 00 DD [11:55:52]RAPDU: 90 00 [11:55:52]wFMCommunicate OK [11:55:52]wFMCommunicate request_size=4 [11:55:52]MH_SAM_APDU [11:55:52]CAPDU: 80 0D 03 02 [11:55:52]Write to MH i2c: E2 08 00 67 03 80 0D 03 02 00 00 00 00 E5 [11:55:52]Write i2c OK [11:55:52]MH_I2C_Read... [11:55:52]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:55:52]Read from MH i2c: E2 [11:55:52]MH_I2C_Read... [11:55:52]Read from MH i2c: E2 0B 00 [11:55:52]MH_I2C_Read... [11:55:52]Read from MH i2c: E2 0B 00 67 03 00 75 42 64 CE 19 42 E5 10 90 00 1F [11:55:52]RAPDU: 75 42 64 CE 19 42 E5 10 90 00 [11:55:52]wFMCommunicate OK [11:55:52]SAM_PROTO_SignData done [11:55:52]FM_MakeSignedData done [11:55:52]CreateOFDProtocolMessage [11:55:52]wFMCommunicate request_size=4 [11:55:52]MH_SAM_APDU [11:55:52]CAPDU: 80 11 00 00 [11:55:52]Write to MH i2c: E2 08 00 68 03 80 11 00 00 00 00 00 00 E5 [11:55:52]Write i2c OK [11:55:52]MH_I2C_Read... [11:55:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:55:52]Read from MH i2c: E2 [11:55:52]MH_I2C_Read... [11:55:52]Read from MH i2c: E2 17 00 [11:55:52]MH_I2C_Read... [11:55:52]Read from MH i2c: E2 17 00 68 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 41 [11:55:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 [11:55:52]wFMCommunicate OK [11:55:52]CreateOFDProtocolMessage done [11:55:52]OFDSenderStorePacket 34675 [11:55:52]StoreOFDPacket docnum=34675 [11:55:52]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 2F 01 00 00 E4 61 27 01 0B 1F 5A 03 01 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 38 30 33 06 04 29 00 D0 A7 D0 B0 D0 B9 20 D0 9B D0 B5 D1 82 D1 81 20 D0 93 D0 BE D1 83 20 D0 9C D0 B0 D0 BB D0 B8 D0 BD D0 B0 20 30 2C 39 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 34 21 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 C8 00 5F 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 73 87 00 00 35 04 06 00 9A 51 99 CD 4F 1D 75 42 64 CE 19 42 E5 10 [11:55:52]CheckFolder [11:55:52]dirname=/storage/ofd_packets [11:55:52]CheckFolder done [11:55:52]ProducePacketName [11:55:52]name=ofd_packets/00034675 [11:55:52]NVStorageSaveData ofd_packets/00034675 [11:55:52]File name is /storage/ofd_packets/00034675 [11:55:52]Write 333 bytes [11:55:52]NVStorageSaveData done [11:55:52]OFDSenderStorePacket done [11:55:52]KKMCreateOFDPacket done [11:55:52]NVStorageSaveData kkm_last_timestamp [11:55:52]File name is /storage/kkm_last_timestamp [11:55:52]Write 4 bytes [11:55:52]NVStorageSaveData done [11:55:52]ExternCall_PrintAddStr [11:55:52]wPrintStart [11:55:52]Write to MH i2c: 01 00 00 69 03 6C [11:55:52]Write i2c OK [11:55:52]MH_I2C_Read... [11:55:52]Read from MH i2c: 01 [11:55:52]MH_I2C_Read... [11:55:52]Read from MH i2c: 01 07 00 [11:55:52]MH_I2C_Read... [11:55:52]Read from MH i2c: 01 07 00 69 03 00 00 00 00 00 FF 0F 81 [11:55:52]RasterBufferAndPrint [11:55:52]line Счет N : (3)100037 [11:55:52]line ИНН: 02508201610067 [11:55:52]line Контрольно-Кассовый Чек [11:55:52]line ПРОДАЖА [11:55:52]line Товар: 4700003010803 [11:55:52]line Чай Летс Гоу Малина 0,9л [11:55:52]line 1.000 * 85.00 [11:55:52]line = 85.00 [11:55:52]line НДС 12% НСП 1% [11:55:52]line > о реализуемом товаре [11:55:52]line ИТОГО: 85.00 [11:55:52]line НСП 1% : 0.75 [11:55:52]line НДС 12% : 9.03 [11:55:52]line Наличными: 85.00 [11:55:52]line Безнал.: 0.00 [11:55:52]line Место: АЗС № 62 "Партнер Нефть" [11:55:52]line Адрес: 720001, г. Балыкчы, ул. Абдрахманова 325 Б, 42.462761, 76.214931 [11:55:52]line СНО: Общий режим [11:55:52]line Чек 19 04.06.2024 11:55 [11:55:52]line Смена: 368 ФФД: 1.0 [11:55:52]line ЗНМ: 0300000080 [11:55:52]line РНМ: 0000000000096838 [11:55:52]line Версия ККМ: 001 [11:55:52]line ФМ: 0000000000874859 [11:55:52]line ФД: 34675 [11:55:52]line ФПД: 169675263397661 [11:55:52]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T115552&type=1&operation_type=1&fn_number=0000000000874859&fd_number=34675&fm=169675263397661&tin=02508201610067®Number=0000000000096838&sum=8500 [11:55:52]line 0 [11:55:52]OFD Sender: Processing packet 34675 [packets to send 17, broken 16] [11:55:52]ProducePacketName [11:55:52]name=ofd_packets/00034675 [11:55:52]OFD Sender: To server: pG, [11:55:52]CommunicateWithHost lk.salyk.kg:30040 [11:55:52]ConnectInit lk.salyk.kg [11:55:52]written 0, free lines is 4095 [11:55:52]Connected sock=10 [11:55:52]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 2F 01 00 00 E4 61 27 01 0B 1F 5A 03 01 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 38 30 33 06 04 29 00 D0 A7 D0 B0 D0 B9 20 D0 9B D0 B5 D1 82 D1 81 20 D0 93 D0 BE D1 83 20 D0 9C D0 B0 D0 BB D0 B8 D0 BD D0 B0 20 30 2C 39 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 34 21 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 C8 00 5F 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 73 87 00 00 35 04 06 00 9A 51 99 CD 4F 1D 75 42 64 CE 19 42 E5 10 [11:55:52]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 4F 00 00 00 9F DE 47 00 D0 BB A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 73 87 00 00 F4 03 04 00 08 AB 5E 66 B6 04 01 00 00 0C 29 2C DA 64 31 6F 8D [11:55:52]CommunicateWithHost err = 0 [11:55:52]CheckOFDResponse [11:55:52]1017 (14) - 77093643461234 [11:55:52]1041 (16) - 0000000000874859 [11:55:52]1040 (4) - 34675 [11:55:52]1012 (4) - 04.06.2024 05:50 [11:55:52]1206 (1) - 0 [11:55:52]OFD Sender: Remove packet 34675 [11:55:52]ProducePacketName [11:55:52]name=ofd_packets/00034675 [11:55:52]NVStorageDeleteData [11:55:52]Write to MH i2c: 01 00 00 91 03 94 [11:55:52]Write i2c OK [11:55:52]MH_I2C_Read... [11:55:52]Read from MH i2c: 01 [11:55:52]MH_I2C_Read... [11:55:52]Read from MH i2c: 01 07 00 [11:55:52]MH_I2C_Read... [11:55:52]Read from MH i2c: 01 07 00 91 03 00 00 00 00 00 23 0D CB [11:55:52]RasterBufferAndPrint [11:55:52]line [11:55:52]line [11:55:52]line [11:55:52]line [11:55:52]line [11:55:52]written 0, free lines is 3370 [11:55:52]MH_Cut [11:55:52]Write to MH i2c: D1 01 00 98 03 01 6D [11:55:52]Write i2c OK [11:55:52]MH_I2C_Read... [11:55:52]Read from MH i2c: D1 [11:55:52]MH_I2C_Read... [11:55:52]Read from MH i2c: D1 01 00 [11:55:52]MH_I2C_Read... [11:55:52]Read from MH i2c: D1 01 00 98 03 00 6C [11:55:52]Write to MH i2c: 01 00 00 99 03 9C [11:55:52]Write i2c OK [11:55:52]MH_I2C_Read... [11:55:53]OFD Sender: No OFD packet to send [11:55:53]*** Cut start [11:55:53]*** Partial cut [11:55:53]*** CUTSNS_PIN = 1 [11:55:53]*** CUTSNS_PIN = 0 [11:55:53]*** Brake cut motor [11:55:54]Read from MH i2c: 01 [11:55:54]MH_I2C_Read... [11:55:54]*** Stop cut motor [11:55:54]*** Cut end [11:55:54]Read from MH i2c: 01 07 00 [11:55:54]MH_I2C_Read... [11:55:54]Read from MH i2c: 01 07 00 99 03 00 00 00 00 00 FF 0F B1 [11:55:54]process_action close_receipt done [11:55:54]requested_data is exist [11:55:54]produce_requested_data [11:55:54]requested_item fm.sn is exist - process it [11:55:54]wFMCommunicate request_size=4 [11:55:54]MH_SAM_APDU [11:55:54]CAPDU: 80 11 00 00 [11:55:54]Write to MH i2c: E2 08 00 9A 03 80 11 00 00 00 00 00 00 17 [11:55:54]Write i2c OK [11:55:54]MH_I2C_Read... [11:55:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:55:54]Read from MH i2c: E2 [11:55:54]MH_I2C_Read... [11:55:54]Read from MH i2c: E2 17 00 [11:55:54]MH_I2C_Read... [11:55:54]Read from MH i2c: E2 17 00 9A 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 73 [11:55:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 [11:55:54]wFMCommunicate OK [11:55:54]requested_item fd.num is exist - process it [11:55:54]SAM_PROTO_GetFieldsCounters [11:55:54]wFMCommunicate request_size=4 [11:55:54]MH_SAM_APDU [11:55:54]CAPDU: 80 13 00 00 [11:55:54]Write to MH i2c: E2 08 00 9B 03 80 13 00 00 00 00 00 00 1A [11:55:54]Write i2c OK [11:55:54]MH_I2C_Read... [11:55:54]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:55:54]Read from MH i2c: E2 [11:55:54]MH_I2C_Read... [11:55:54]Read from MH i2c: E2 62 00 [11:55:54]MH_I2C_Read... [11:55:54]Read from MH i2c: E2 62 00 9B 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 10 04 04 00 73 87 00 00 0E 04 04 00 70 01 00 00 12 04 04 00 13 00 00 00 5E 04 04 00 13 00 00 00 57 04 04 00 14 00 00 00 19 04 04 00 00 00 00 00 90 00 F1 [11:55:54]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 10 04 04 00 73 87 00 00 0E 04 04 00 70 01 00 00 12 04 04 00 13 00 00 00 5E 04 04 00 13 00 00 00 57 04 04 00 14 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:55:54]wFMCommunicate OK [11:55:54]SAM_PROTO_GetFieldsCounters done [11:55:54]requested_item shift.num is exist - process it [11:55:54]requested_item shift.opened is exist - process it [11:55:54]req_shift_opened [11:55:54]FM_GetShiftState [11:55:54]SAM_PROTO_GetShiftState [11:55:54]wFMCommunicate request_size=4 [11:55:54]MH_SAM_APDU [11:55:54]CAPDU: 80 13 01 00 [11:55:54]Write to MH i2c: E2 08 00 9C 03 80 13 01 00 00 00 00 00 1C [11:55:54]Write i2c OK [11:55:54]MH_I2C_Read... [11:55:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:55:54]Read from MH i2c: E2 [11:55:54]MH_I2C_Read... [11:55:54]Read from MH i2c: E2 0E 00 [11:55:54]MH_I2C_Read... [11:55:54]Read from MH i2c: E2 0E 00 9C 03 00 09 00 01 35 5B 5E 66 00 00 00 00 90 00 7C [11:55:54]RAPDU: 09 00 01 35 5B 5E 66 00 00 00 00 90 00 [11:55:54]wFMCommunicate OK [11:55:54]SAM_PROTO_GetShiftState done [11:55:54]FM_GetShiftState done [11:55:54]req_shift_opened done [11:55:54]requested_item shift.open_date is exist - process it [11:55:54]req_shift_open_date [11:55:54]req_shift_open_date done [11:55:54]produce_requested_data done [11:55:54]produce_requested_data return {"fm.sn":"0000000000874859","fd.num":34675,"shift.num":368,"shift.opened":1,"shift.open_date":1717459765} [11:55:54]process_action_free close_receipt [11:55:54]json_value_free [11:55:54]json_value_free done [11:55:54]process_json_proto returns [11:55:54]Send response to host [11:55:54]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874859","fd.num":34675,"shift.num":368,"shift.opened":1,"shift.open_date":1717459765}}} [11:55:54]free response buf [11:55:54]execute_script done [11:55:54]execute_script returns [11:55:54]free content buf [11:55:54]Sock 7.Close socket [11:55:54]Sock 7.Thread stoped [11:55:58]OFD Sender: No OFD packet to send [11:56:03]OFD Sender: No OFD packet to send [11:56:08]OFD Sender: No OFD packet to send [11:56:13]OFD Sender: No OFD packet to send [11:56:18]OFD Sender: No OFD packet to send [11:56:23]OFD Sender: No OFD packet to send [11:56:28]OFD Sender: No OFD packet to send [11:56:33]OFD Sender: No OFD packet to send [11:56:38]OFD Sender: No OFD packet to send [11:56:43]OFD Sender: No OFD packet to send [11:56:48]OFD Sender: No OFD packet to send [11:56:53]OFD Sender: No OFD packet to send [11:56:58]OFD Sender: No OFD packet to send [11:57:03]OFD Sender: No OFD packet to send [11:57:08]OFD Sender: No OFD packet to send [11:57:13]OFD Sender: No OFD packet to send [11:57:18]OFD Sender: No OFD packet to send [11:57:23]OFD Sender: No OFD packet to send [11:57:28]OFD Sender: No OFD packet to send [11:57:33]OFD Sender: No OFD packet to send [11:57:38]OFD Sender: No OFD packet to send [11:57:43]OFD Sender: No OFD packet to send [11:57:48]OFD Sender: No OFD packet to send [11:57:53]OFD Sender: No OFD packet to send [11:57:58]OFD Sender: No OFD packet to send [11:58:03]OFD Sender: No OFD packet to send [11:58:08]OFD Sender: No OFD packet to send [11:58:13]OFD Sender: No OFD packet to send [11:58:18]OFD Sender: No OFD packet to send [11:58:23]OFD Sender: No OFD packet to send [11:58:28]OFD Sender: No OFD packet to send [11:58:33]OFD Sender: No OFD packet to send [11:58:38]OFD Sender: No OFD packet to send [11:58:43]OFD Sender: No OFD packet to send [11:58:48]OFD Sender: No OFD packet to send [11:58:53]OFD Sender: No OFD packet to send [11:58:58]OFD Sender: No OFD packet to send [11:59:03]OFD Sender: No OFD packet to send [11:59:08]OFD Sender: No OFD packet to send [11:59:13]OFD Sender: No OFD packet to send [11:59:18]OFD Sender: No OFD packet to send [11:59:23]OFD Sender: No OFD packet to send [11:59:28]OFD Sender: No OFD packet to send [11:59:33]OFD Sender: No OFD packet to send [11:59:38]OFD Sender: No OFD packet to send [11:59:43]OFD Sender: No OFD packet to send [11:59:48]OFD Sender: No OFD packet to send [11:59:53]OFD Sender: No OFD packet to send [11:59:58]OFD Sender: No OFD packet to send [12:00:03]OFD Sender: No OFD packet to send [12:00:08]OFD Sender: No OFD packet to send [12:00:13]OFD Sender: No OFD packet to send [12:00:18]OFD Sender: No OFD packet to send [12:00:23]OFD Sender: No OFD packet to send [12:00:28]OFD Sender: No OFD packet to send [12:00:33]OFD Sender: No OFD packet to send [12:00:38]OFD Sender: No OFD packet to send [12:00:43]OFD Sender: No OFD packet to send [12:00:48]OFD Sender: No OFD packet to send [12:00:53]OFD Sender: No OFD packet to send [12:00:58]OFD Sender: No OFD packet to send [12:01:03]OFD Sender: No OFD packet to send [12:01:08]OFD Sender: No OFD packet to send [12:01:13]OFD Sender: No OFD packet to send [12:01:18]OFD Sender: No OFD packet to send [12:01:23]OFD Sender: No OFD packet to send [12:01:28]OFD Sender: No OFD packet to send [12:01:33]OFD Sender: No OFD packet to send [12:01:38]OFD Sender: No OFD packet to send [12:01:43]OFD Sender: No OFD packet to send [12:01:48]OFD Sender: No OFD packet to send [12:01:53]OFD Sender: No OFD packet to send [12:01:58]OFD Sender: No OFD packet to send [12:02:03]OFD Sender: No OFD packet to send [12:02:08]OFD Sender: No OFD packet to send [12:02:13]OFD Sender: No OFD packet to send [12:02:18]OFD Sender: No OFD packet to send [12:02:23]OFD Sender: No OFD packet to send [12:02:28]OFD Sender: No OFD packet to send [12:02:33]OFD Sender: No OFD packet to send [12:02:38]OFD Sender: No OFD packet to send [12:02:43]OFD Sender: No OFD packet to send [12:02:48]OFD Sender: No OFD packet to send [12:02:53]OFD Sender: No OFD packet to send [12:02:58]OFD Sender: No OFD packet to send [12:03:03]OFD Sender: No OFD packet to send [12:03:08]OFD Sender: No OFD packet to send [12:03:13]OFD Sender: No OFD packet to send [12:03:18]OFD Sender: No OFD packet to send [12:03:23]OFD Sender: No OFD packet to send [12:03:28]OFD Sender: No OFD packet to send [12:03:33]OFD Sender: No OFD packet to send [12:03:38]OFD Sender: No OFD packet to send [12:03:43]OFD Sender: No OFD packet to send [12:03:48]OFD Sender: No OFD packet to send [12:03:53]OFD Sender: No OFD packet to send [12:03:58]OFD Sender: No OFD packet to send [12:04:03]OFD Sender: No OFD packet to send [12:04:08]OFD Sender: No OFD packet to send [12:04:09]accept exits with 9 [12:04:09]New connection [12:04:09]New thread 3067170148 created [12:04:09]Thread 3067026788 joined [12:04:09]Waiting for new connection... [12:04:09] Sock 9.Parse request [12:04:09]Sock 9.Check first char [12:04:09]Sock 9.First char is OK [12:04:09]request: POST /json_proto HTTP/1.0 [12:04:09]Method: POST [12:04:09]URL: /json_proto [12:04:09]Method is POST - this is cgi request [12:04:09]url: /json_proto [12:04:09]query_string will be loaded in cgi processing [12:04:09]execute_cgi json_proto POST (null) [12:04:09]execute_cgi path=json_proto method=POST [12:04:09]POST find Content-Length [12:04:09]Host: 172.17.36.131:8080 [12:04:09]Content-Length: 852 [12:04:09]Content-Type: application/json [12:04:09] [12:04:09]POST finish read [12:04:09]Found Content-Length = 852 [12:04:09]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100038", "tax_sys" : 0, "items" : [ { "code": "2000036190018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E XL(GABB TRADE)", "price" : 95.00, "quantity" : 3.000, "sum" : 285.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 285.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:04:09]execute_script... [12:04:09]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100038", "tax_sys" : 0, "items" : [ { "code": "2000036190018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E XL(GABB TRADE)", "price" : 95.00, "quantity" : 3.000, "sum" : 285.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 285.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:04:09]POST & json_proto [12:04:09]process_json_proto [12:04:09]json parsed OK: [12:04:09]protocol is kg_v1.0 [12:04:09]action value=close_receipt [12:04:09]process_action close_receipt [12:04:09]cmd_close_receipt [12:04:09]MH_GetDate [12:04:09]Write to MH i2c: F0 00 00 9D 03 8F [12:04:09]Write i2c OK [12:04:09]MH_I2C_Read... [12:04:09]Read from MH i2c: F0 [12:04:09]MH_I2C_Read... [12:04:09]Read from MH i2c: F0 09 00 [12:04:09]MH_I2C_Read... [12:04:09]Read from MH i2c: F0 09 00 9D 03 00 BB 02 5F 66 A7 4C 98 65 0A [12:04:09]GetLastDocTimeStamp 1717502152 [12:04:09]current date 1717502651 [12:04:09]FM_GetShiftState [12:04:09]SAM_PROTO_GetShiftState [12:04:09]wFMCommunicate request_size=4 [12:04:09]MH_SAM_APDU [12:04:09]CAPDU: 80 13 01 00 [12:04:09]Write to MH i2c: E2 08 00 9E 03 80 13 01 00 00 00 00 00 1E [12:04:09]Write i2c OK [12:04:09]MH_I2C_Read... [12:04:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:04:09]Read from MH i2c: E2 [12:04:09]MH_I2C_Read... [12:04:09]Read from MH i2c: E2 0E 00 [12:04:09]MH_I2C_Read... [12:04:09]Read from MH i2c: E2 0E 00 9E 03 00 09 00 01 35 5B 5E 66 00 00 00 00 90 00 7E [12:04:09]RAPDU: 09 00 01 35 5B 5E 66 00 00 00 00 90 00 [12:04:09]wFMCommunicate OK [12:04:09]SAM_PROTO_GetShiftState done [12:04:09]FM_GetShiftState done [12:04:09]opened in 1717459765 [12:04:09]opened+sec_in_day 1717546165 [12:04:09]quantity*price = 28500 [12:04:09]sum+1 = 28501 [12:04:09]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 285.00 НСП 1% : 2.52 НДС 12% : 30.26 Наличными: 0.00 Безнал.: 285.00 Место: АЗС № 62 "Партнер Нефть" Адрес: 720001, г. Балыкчы, ул. Абдрахманова 325 Б, 42.462761, 76.214931 СНО: Общий режим Чек 20 04.06.2024 12:04 Смена: 368 ФФД: 1.0 ЗНМ: 0300000080 РНМ: 0000000000096838 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000874859 ФД: 34676 ФПД: 30137887292659 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T120411&type=1&operation_type=1&fn_number=0000000000874859&fd_number=34676&fm=30137887292659&tin=02508201610067®Number=0000000000096838&sum=28500 0 [12:04:10]StoreToDocumentArchive [12:04:10]shift 368 fd 34676 [12:04:10]save to /storage/0368/doc_00034676 [12:04:10]save last doc name /storage/0368/doc_00034676 to /storage/kkm_last_doc_name [12:04:10]save OK [12:04:10]Clear old archive folders... [12:04:10]ProcessDocumentItem done err = 0, tmpTLVsize=284 [12:04:10]tlvbuf is 01AF6D00 [12:04:10]SAM_PROTO_ClearQueue [12:04:10]wFMCommunicate request_size=4 [12:04:10]MH_SAM_APDU [12:04:10]CAPDU: 80 09 00 00 [12:04:10]Write to MH i2c: E2 08 00 AB 03 80 09 00 00 00 00 00 00 20 [12:04:10]Write i2c OK [12:04:10]MH_I2C_Read... [12:04:10]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:04:10]Read from MH i2c: E2 [12:04:10]MH_I2C_Read... [12:04:10]Read from MH i2c: E2 03 00 [12:04:10]MH_I2C_Read... [12:04:10]Read from MH i2c: E2 03 00 AB 03 00 90 00 22 [12:04:10]RAPDU: 90 00 [12:04:10]wFMCommunicate OK [12:04:10]SAM_PROTO_ClearQueue done [12:04:10]KKMCreateOFDPacket [12:04:10]OFDProtocolAddRootSTLVToBuf [12:04:10]FM_MakeSignedData [12:04:10]FM_MakeSignedData [12:04:10]SAM_PROTO_SignData [12:04:10]wFMCommunicate request_size=4 [12:04:10]MH_SAM_APDU [12:04:10]CAPDU: 80 0D 01 02 [12:04:10]Write to MH i2c: E2 08 00 AC 03 80 0D 01 02 00 00 00 00 28 [12:04:10]Write i2c OK [12:04:10]MH_I2C_Read... [12:04:10]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:04:10]Read from MH i2c: E2 [12:04:10]MH_I2C_Read... [12:04:10]Read from MH i2c: E2 03 00 [12:04:10]MH_I2C_Read... [12:04:10]Read from MH i2c: E2 03 00 AC 03 00 90 00 23 [12:04:10]RAPDU: 90 00 [12:04:10]wFMCommunicate OK [12:04:10]wFMCommunicate request_size=255 [12:04:10]MH_SAM_APDU [12:04:10]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 B8 0B 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 54 6F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 54 6F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FC 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D2 0B 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 54 6F 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 BB 02 5F 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 [12:04:10]Write to MH i2c: E2 02 01 AD 03 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 B8 0B 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 54 6F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 54 6F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FC 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D2 0B 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 54 6F 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 BB 02 5F 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 00 00 62 [12:04:10]Write i2c OK [12:04:10]MH_I2C_Read... [12:04:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:04:10]Read from MH i2c: E2 [12:04:10]MH_I2C_Read... [12:04:10]Read from MH i2c: E2 03 00 [12:04:10]MH_I2C_Read... [12:04:10]Read from MH i2c: E2 03 00 AD 03 00 90 00 24 [12:04:10]RAPDU: 90 00 [12:04:10]wFMCommunicate OK [12:04:10]wFMCommunicate request_size=43 [12:04:10]MH_SAM_APDU [12:04:10]CAPDU: 80 0D 02 02 26 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 74 87 00 00 35 04 06 00 1B 69 06 10 FC F3 [12:04:10]Write to MH i2c: E2 2E 00 AE 03 80 0D 02 02 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 74 87 00 00 35 04 06 00 1B 69 06 10 FC F3 00 00 A0 [12:04:10]Write i2c OK [12:04:10]MH_I2C_Read... [12:04:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:04:11]Read from MH i2c: E2 [12:04:11]MH_I2C_Read... [12:04:11]Read from MH i2c: E2 03 00 [12:04:11]MH_I2C_Read... [12:04:11]Read from MH i2c: E2 03 00 AE 03 00 90 00 25 [12:04:11]RAPDU: 90 00 [12:04:11]wFMCommunicate OK [12:04:11]wFMCommunicate request_size=4 [12:04:11]MH_SAM_APDU [12:04:11]CAPDU: 80 0D 03 02 [12:04:11]Write to MH i2c: E2 08 00 AF 03 80 0D 03 02 00 00 00 00 2D [12:04:11]Write i2c OK [12:04:11]MH_I2C_Read... [12:04:11]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:04:11]Read from MH i2c: E2 [12:04:11]MH_I2C_Read... [12:04:11]Read from MH i2c: E2 0B 00 [12:04:11]MH_I2C_Read... [12:04:11]Read from MH i2c: E2 0B 00 AF 03 00 3E 74 9C BC CF 13 B8 38 90 00 0A [12:04:11]RAPDU: 3E 74 9C BC CF 13 B8 38 90 00 [12:04:11]wFMCommunicate OK [12:04:11]SAM_PROTO_SignData done [12:04:11]FM_MakeSignedData done [12:04:11]CreateOFDProtocolMessage [12:04:11]wFMCommunicate request_size=4 [12:04:11]MH_SAM_APDU [12:04:11]CAPDU: 80 11 00 00 [12:04:11]Write to MH i2c: E2 08 00 B0 03 80 11 00 00 00 00 00 00 2D [12:04:11]Write i2c OK [12:04:11]MH_I2C_Read... [12:04:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:04:11]Read from MH i2c: E2 [12:04:11]MH_I2C_Read... [12:04:11]Read from MH i2c: E2 17 00 [12:04:11]MH_I2C_Read... [12:04:11]Read from MH i2c: E2 17 00 B0 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 89 [12:04:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 [12:04:11]wFMCommunicate OK [12:04:11]CreateOFDProtocolMessage done [12:04:11]OFDSenderStorePacket 34676 [12:04:11]StoreOFDPacket docnum=34676 [12:04:11]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 30 01 00 00 BE 14 28 01 00 AE 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 B8 0B 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 54 6F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 54 6F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FC 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D2 0B 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 54 6F 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 BB 02 5F 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 74 87 00 00 35 04 06 00 1B 69 06 10 FC F3 3E 74 9C BC CF 13 B8 38 [12:04:11]CheckFolder [12:04:11]dirname=/storage/ofd_packets [12:04:11]CheckFolder done [12:04:11]ProducePacketName [12:04:11]name=ofd_packets/00034676 [12:04:11]NVStorageSaveData ofd_packets/00034676 [12:04:11]File name is /storage/ofd_packets/00034676 [12:04:11]Write 334 bytes [12:04:11]NVStorageSaveData done [12:04:11]OFDSenderStorePacket done [12:04:11]KKMCreateOFDPacket done [12:04:11]NVStorageSaveData kkm_last_timestamp [12:04:11]File name is /storage/kkm_last_timestamp [12:04:11]Write 4 bytes [12:04:11]NVStorageSaveData done [12:04:11]ExternCall_PrintAddStr [12:04:11]wPrintStart [12:04:11]Write to MH i2c: 01 00 00 B1 03 B4 [12:04:11]Write i2c OK [12:04:11]MH_I2C_Read... [12:04:11]Read from MH i2c: 01 [12:04:11]MH_I2C_Read... [12:04:11]Read from MH i2c: 01 07 00 [12:04:11]MH_I2C_Read... [12:04:11]Read from MH i2c: 01 07 00 B1 03 00 00 00 00 00 FF 0F C9 [12:04:11]RasterBufferAndPrint [12:04:11]line Счет N : (3)100038 [12:04:11]line ИНН: 02508201610067 [12:04:11]line Контрольно-Кассовый Чек [12:04:11]line ПРОДАЖА [12:04:11]line Товар: 2000036190018 [12:04:11]line Кофе Американо XL(GABB TRADE) [12:04:11]line 3.000 * 95.00 [12:04:11]line = 285.00 [12:04:11]line НДС 12% НСП 1% [12:04:11]line > о реализуемом товаре [12:04:11]line ИТОГО: 285.00 [12:04:11]line НСП 1% : 2.52 [12:04:11]line НДС 12% : 30.26 [12:04:11]line Наличными: 0.00 [12:04:11]line Безнал.: 285.00 [12:04:11]line Место: АЗС № 62 "Партнер Нефть" [12:04:11]line Адрес: 720001, г. Балыкчы, ул. Абдрахманова 325 Б, 42.462761, 76.214931 [12:04:11]line СНО: Общий режим [12:04:11]line Чек 20 04.06.2024 12:04 [12:04:11]line Смена: 368 ФФД: 1.0 [12:04:11]line ЗНМ: 0300000080 [12:04:11]line РНМ: 0000000000096838 [12:04:11]line Версия ККМ: 001 [12:04:11]line Платежная система: АКБ Кыргызстан [12:04:11]line ФМ: 0000000000874859 [12:04:11]line ФД: 34676 [12:04:11]line ФПД: 30137887292659 [12:04:11]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T120411&type=1&operation_type=1&fn_number=0000000000874859&fd_number=34676&fm=30137887292659&tin=02508201610067®Number=0000000000096838&sum=28500 [12:04:11]line 0 [12:04:11]OFD Sender: Processing packet 34676 [packets to send 17, broken 16] [12:04:11]ProducePacketName [12:04:11]name=ofd_packets/00034676 [12:04:11]OFD Sender: To server: pG, [12:04:11]CommunicateWithHost lk.salyk.kg:30040 [12:04:11]ConnectInit lk.salyk.kg [12:04:11]written 0, free lines is 4095 [12:04:11]Connected sock=10 [12:04:11]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 30 01 00 00 BE 14 28 01 00 AE 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 B8 0B 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 54 6F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 54 6F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FC 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D2 0B 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 54 6F 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 BB 02 5F 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 74 87 00 00 35 04 06 00 1B 69 06 10 FC F3 3E 74 9C BC CF 13 B8 38 [12:04:11]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 4F 00 00 00 9E DF 47 00 C3 CF A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 74 87 00 00 F4 03 04 00 FB AC 5E 66 B6 04 01 00 00 3A FE 74 25 AE 4F DB E8 [12:04:11]CommunicateWithHost err = 0 [12:04:11]CheckOFDResponse [12:04:11]1017 (14) - 77093643461234 [12:04:11]1041 (16) - 0000000000874859 [12:04:11]1040 (4) - 34676 [12:04:11]1012 (4) - 04.06.2024 05:58 [12:04:11]1206 (1) - 0 [12:04:11]OFD Sender: Remove packet 34676 [12:04:11]ProducePacketName [12:04:11]name=ofd_packets/00034676 [12:04:11]NVStorageDeleteData [12:04:11]Write to MH i2c: 01 00 00 DC 03 DF [12:04:11]Write i2c OK [12:04:11]MH_I2C_Read... [12:04:11]Read from MH i2c: 01 [12:04:11]MH_I2C_Read... [12:04:11]Read from MH i2c: 01 07 00 [12:04:11]MH_I2C_Read... [12:04:11]Read from MH i2c: 01 07 00 DC 03 00 00 00 00 00 F2 0C E4 [12:04:11]RasterBufferAndPrint [12:04:11]line [12:04:11]line [12:04:11]line [12:04:11]line [12:04:11]line [12:04:11]written 0, free lines is 3322 [12:04:11]MH_Cut [12:04:11]Write to MH i2c: D1 01 00 E3 03 01 B8 [12:04:11]Write i2c OK [12:04:11]MH_I2C_Read... [12:04:11]Read from MH i2c: D1 [12:04:11]MH_I2C_Read... [12:04:11]Read from MH i2c: D1 01 00 [12:04:11]MH_I2C_Read... [12:04:11]Read from MH i2c: D1 01 00 E3 03 00 B7 [12:04:11]Write to MH i2c: 01 00 00 E4 03 E7 [12:04:11]Write i2c OK [12:04:11]MH_I2C_Read... [12:04:12]OFD Sender: No OFD packet to send [12:04:12]*** Cut start [12:04:12]*** Partial cut [12:04:12]*** CUTSNS_PIN = 1 [12:04:12]*** CUTSNS_PIN = 0 [12:04:12]*** Brake cut motor [12:04:13]Read from MH i2c: 01 [12:04:13]MH_I2C_Read... [12:04:13]*** Stop cut motor [12:04:13]*** Cut end [12:04:13]Read from MH i2c: 01 07 00 [12:04:13]MH_I2C_Read... [12:04:13]Read from MH i2c: 01 07 00 E4 03 00 00 00 00 00 FF 0F FC [12:04:13]process_action close_receipt done [12:04:13]requested_data is exist [12:04:13]produce_requested_data [12:04:13]requested_item fm.sn is exist - process it [12:04:13]wFMCommunicate request_size=4 [12:04:13]MH_SAM_APDU [12:04:13]CAPDU: 80 11 00 00 [12:04:13]Write to MH i2c: E2 08 00 E5 03 80 11 00 00 00 00 00 00 62 [12:04:13]Write i2c OK [12:04:13]MH_I2C_Read... [12:04:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:04:13]Read from MH i2c: E2 [12:04:13]MH_I2C_Read... [12:04:13]Read from MH i2c: E2 17 00 [12:04:13]MH_I2C_Read... [12:04:13]Read from MH i2c: E2 17 00 E5 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 BE [12:04:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 [12:04:13]wFMCommunicate OK [12:04:13]requested_item fd.num is exist - process it [12:04:13]SAM_PROTO_GetFieldsCounters [12:04:13]wFMCommunicate request_size=4 [12:04:13]MH_SAM_APDU [12:04:13]CAPDU: 80 13 00 00 [12:04:13]Write to MH i2c: E2 08 00 E6 03 80 13 00 00 00 00 00 00 65 [12:04:13]Write i2c OK [12:04:13]MH_I2C_Read... [12:04:13]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:04:13]Read from MH i2c: E2 [12:04:13]MH_I2C_Read... [12:04:13]Read from MH i2c: E2 62 00 [12:04:13]MH_I2C_Read... [12:04:13]Read from MH i2c: E2 62 00 E6 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 10 04 04 00 74 87 00 00 0E 04 04 00 70 01 00 00 12 04 04 00 14 00 00 00 5E 04 04 00 14 00 00 00 57 04 04 00 15 00 00 00 19 04 04 00 00 00 00 00 90 00 40 [12:04:13]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 10 04 04 00 74 87 00 00 0E 04 04 00 70 01 00 00 12 04 04 00 14 00 00 00 5E 04 04 00 14 00 00 00 57 04 04 00 15 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:04:13]wFMCommunicate OK [12:04:13]SAM_PROTO_GetFieldsCounters done [12:04:13]requested_item shift.num is exist - process it [12:04:13]requested_item shift.opened is exist - process it [12:04:13]req_shift_opened [12:04:13]FM_GetShiftState [12:04:13]SAM_PROTO_GetShiftState [12:04:13]wFMCommunicate request_size=4 [12:04:13]MH_SAM_APDU [12:04:13]CAPDU: 80 13 01 00 [12:04:13]Write to MH i2c: E2 08 00 E7 03 80 13 01 00 00 00 00 00 67 [12:04:13]Write i2c OK [12:04:13]MH_I2C_Read... [12:04:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:04:13]Read from MH i2c: E2 [12:04:13]MH_I2C_Read... [12:04:13]Read from MH i2c: E2 0E 00 [12:04:13]MH_I2C_Read... [12:04:13]Read from MH i2c: E2 0E 00 E7 03 00 09 00 01 35 5B 5E 66 00 00 00 00 90 00 C7 [12:04:13]RAPDU: 09 00 01 35 5B 5E 66 00 00 00 00 90 00 [12:04:13]wFMCommunicate OK [12:04:13]SAM_PROTO_GetShiftState done [12:04:13]FM_GetShiftState done [12:04:13]req_shift_opened done [12:04:13]requested_item shift.open_date is exist - process it [12:04:13]req_shift_open_date [12:04:13]req_shift_open_date done [12:04:13]produce_requested_data done [12:04:13]produce_requested_data return {"fm.sn":"0000000000874859","fd.num":34676,"shift.num":368,"shift.opened":1,"shift.open_date":1717459765} [12:04:13]process_action_free close_receipt [12:04:13]json_value_free [12:04:13]json_value_free done [12:04:13]process_json_proto returns [12:04:13]Send response to host [12:04:13]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874859","fd.num":34676,"shift.num":368,"shift.opened":1,"shift.open_date":1717459765}}} [12:04:13]free response buf [12:04:13]execute_script done [12:04:13]execute_script returns [12:04:13]free content buf [12:04:13]Sock 9.Close socket [12:04:13]Sock 9.Thread stoped [12:04:17]OFD Sender: No OFD packet to send [12:04:22]OFD Sender: No OFD packet to send [12:04:27]OFD Sender: No OFD packet to send [12:04:32]OFD Sender: No OFD packet to send [12:04:37]OFD Sender: No OFD packet to send [12:04:42]OFD Sender: No OFD packet to send [12:04:47]OFD Sender: No OFD packet to send [12:04:52]OFD Sender: No OFD packet to send [12:04:57]OFD Sender: No OFD packet to send [12:05:02]OFD Sender: No OFD packet to send [12:05:07]OFD Sender: No OFD packet to send [12:05:12]OFD Sender: No OFD packet to send [12:05:17]OFD Sender: No OFD packet to send [12:05:22]OFD Sender: No OFD packet to send [12:05:27]OFD Sender: No OFD packet to send [12:05:32]OFD Sender: No OFD packet to send [12:05:37]OFD Sender: No OFD packet to send [12:05:42]OFD Sender: No OFD packet to send [12:05:47]OFD Sender: No OFD packet to send [12:05:52]OFD Sender: No OFD packet to send [12:05:57]OFD Sender: No OFD packet to send [12:06:02]OFD Sender: No OFD packet to send [12:06:07]OFD Sender: No OFD packet to send [12:06:12]OFD Sender: No OFD packet to send [12:06:17]OFD Sender: No OFD packet to send [12:06:22]OFD Sender: No OFD packet to send [12:06:27]OFD Sender: No OFD packet to send [12:06:32]OFD Sender: No OFD packet to send [12:06:37]OFD Sender: No OFD packet to send [12:06:42]OFD Sender: No OFD packet to send [12:06:47]OFD Sender: No OFD packet to send [12:06:52]OFD Sender: No OFD packet to send [12:06:57]OFD Sender: No OFD packet to send [12:07:02]OFD Sender: No OFD packet to send [12:07:07]OFD Sender: No OFD packet to send [12:07:12]OFD Sender: No OFD packet to send [12:07:17]OFD Sender: No OFD packet to send [12:07:22]OFD Sender: No OFD packet to send [12:07:27]OFD Sender: No OFD packet to send [12:07:32]OFD Sender: No OFD packet to send [12:07:37]OFD Sender: No OFD packet to send [12:07:42]OFD Sender: No OFD packet to send [12:07:47]OFD Sender: No OFD packet to send [12:07:52]OFD Sender: No OFD packet to send [12:07:57]OFD Sender: No OFD packet to send [12:08:02]OFD Sender: No OFD packet to send [12:08:07]OFD Sender: No OFD packet to send [12:08:12]OFD Sender: No OFD packet to send [12:08:17]OFD Sender: No OFD packet to send [12:08:22]OFD Sender: No OFD packet to send [12:08:27]OFD Sender: No OFD packet to send [12:08:32]OFD Sender: No OFD packet to send [12:08:37]OFD Sender: No OFD packet to send [12:08:42]OFD Sender: No OFD packet to send [12:08:47]OFD Sender: No OFD packet to send [12:08:51]accept exits with 7 [12:08:51]New connection [12:08:51]New thread 3067026788 created [12:08:51]Thread 3067170148 joined [12:08:51]Waiting for new connection... [12:08:51] Sock 7.Parse request [12:08:51]Sock 7.Check first char [12:08:51]Sock 7.First char is OK [12:08:51]request: POST /json_proto HTTP/1.0 [12:08:51]Method: POST [12:08:51]URL: /json_proto [12:08:51]Method is POST - this is cgi request [12:08:51]url: /json_proto [12:08:51]query_string will be loaded in cgi processing [12:08:51]execute_cgi json_proto POST (null) [12:08:51]execute_cgi path=json_proto method=POST [12:08:51]POST find Content-Length [12:08:51]Host: 172.17.36.131:8080 [12:08:51]Content-Length: 644 [12:08:51]Content-Type: application/json [12:08:51] [12:08:51]POST finish read [12:08:51]Found Content-Length = 644 [12:08:51]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100039", "tax_sys" : 0, "items" : [ { "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 115.00, "quantity" : 2.000, "sum" : 230.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 230.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:08:51]execute_script... [12:08: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)100039", "tax_sys" : 0, "items" : [ { "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 115.00, "quantity" : 2.000, "sum" : 230.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 230.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:08:51]POST & json_proto [12:08:51]process_json_proto [12:08:51]json parsed OK: [12:08:51]protocol is kg_v1.0 [12:08:51]action value=close_receipt [12:08:51]process_action close_receipt [12:08:51]cmd_close_receipt [12:08:51]MH_GetDate [12:08:51]Write to MH i2c: F0 00 00 E8 03 DA [12:08:51]Write i2c OK [12:08:51]MH_I2C_Read... [12:08:51]Read from MH i2c: F0 [12:08:51]MH_I2C_Read... [12:08:51]Read from MH i2c: F0 09 00 [12:08:51]MH_I2C_Read... [12:08:51]Read from MH i2c: F0 09 00 E8 03 00 D5 03 5F 66 A7 4C 98 65 70 [12:08:51]GetLastDocTimeStamp 1717502651 [12:08:51]current date 1717502933 [12:08:51]FM_GetShiftState [12:08:51]SAM_PROTO_GetShiftState [12:08:51]wFMCommunicate request_size=4 [12:08:51]MH_SAM_APDU [12:08:51]CAPDU: 80 13 01 00 [12:08:51]Write to MH i2c: E2 08 00 E9 03 80 13 01 00 00 00 00 00 69 [12:08:51]Write i2c OK [12:08:51]MH_I2C_Read... [12:08:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:08:51]Read from MH i2c: E2 [12:08:51]MH_I2C_Read... [12:08:51]Read from MH i2c: E2 0E 00 [12:08:51]MH_I2C_Read... [12:08:51]Read from MH i2c: E2 0E 00 E9 03 00 09 00 01 35 5B 5E 66 00 00 00 00 90 00 C9 [12:08:51]RAPDU: 09 00 01 35 5B 5E 66 00 00 00 00 90 00 [12:08:51]wFMCommunicate OK [12:08:51]SAM_PROTO_GetShiftState done [12:08:51]FM_GetShiftState done [12:08:51]opened in 1717459765 [12:08:51]opened+sec_in_day 1717546165 [12:08:51]quantity*price = 23000 [12:08:51]sum+1 = 23001 [12:08:51]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 230.00 НСП 1% : 2.03 НДС 12% : 24.42 Наличными: 230.00 Безнал.: 0.00 Место: АЗС № 62 "Партнер Нефть" Адрес: 720001, г. Балыкчы, ул. Абдрахманова 325 Б, 42.462761, 76.214931 СНО: Общий режим Чек 21 04.06.2024 12:08 Смена: 368 ФФД: 1.0 ЗНМ: 0300000080 РНМ: 0000000000096838 Версия ККМ: 001 ФМ: 0000000000874859 ФД: 34677 ФПД: 24075770063039 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T120853&type=1&operation_type=1&fn_number=0000000000874859&fd_number=34677&fm=24075770063039&tin=02508201610067®Number=0000000000096838&sum=23000 0 [12:08:52]StoreToDocumentArchive [12:08:52]shift 368 fd 34677 [12:08:52]save to /storage/0368/doc_00034677 [12:08:52]save last doc name /storage/0368/doc_00034677 to /storage/kkm_last_doc_name [12:08:52]save OK [12:08:52]Clear old archive folders... [12:08:52]ProcessDocumentItem done err = 0, tmpTLVsize=280 [12:08:52]tlvbuf is 01B12630 [12:08:52]SAM_PROTO_ClearQueue [12:08:52]wFMCommunicate request_size=4 [12:08:52]MH_SAM_APDU [12:08:52]CAPDU: 80 09 00 00 [12:08:52]Write to MH i2c: E2 08 00 F6 03 80 09 00 00 00 00 00 00 6B [12:08:52]Write i2c OK [12:08:52]MH_I2C_Read... [12:08:52]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:08:52]Read from MH i2c: E2 [12:08:52]MH_I2C_Read... [12:08:52]Read from MH i2c: E2 03 00 [12:08:52]MH_I2C_Read... [12:08:52]Read from MH i2c: E2 03 00 F6 03 00 90 00 6D [12:08:52]RAPDU: 90 00 [12:08:52]wFMCommunicate OK [12:08:52]SAM_PROTO_ClearQueue done [12:08:52]KKMCreateOFDPacket [12:08:52]OFDProtocolAddRootSTLVToBuf [12:08:52]FM_MakeSignedData [12:08:52]FM_MakeSignedData [12:08:52]SAM_PROTO_SignData [12:08:52]wFMCommunicate request_size=4 [12:08:52]MH_SAM_APDU [12:08:52]CAPDU: 80 0D 01 02 [12:08:52]Write to MH i2c: E2 08 00 F7 03 80 0D 01 02 00 00 00 00 73 [12:08:52]Write i2c OK [12:08:52]MH_I2C_Read... [12:08:52]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:08:52]Read from MH i2c: E2 [12:08:52]MH_I2C_Read... [12:08:52]Read from MH i2c: E2 03 00 [12:08:52]MH_I2C_Read... [12:08:52]Read from MH i2c: E2 03 00 F7 03 00 90 00 6E [12:08:52]RAPDU: 90 00 [12:08:52]wFMCommunicate OK [12:08:52]wFMCommunicate request_size=255 [12:08:52]MH_SAM_APDU [12:08:52]CAPDU: 80 0D 02 02 FA 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 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 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 EC 2C 00 00 00 00 13 04 06 00 D8 59 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D8 59 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CB 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8A 09 00 00 00 00 07 04 06 00 D8 59 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 D5 03 5F 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 [12:08:52]Write to MH i2c: E2 02 01 F8 03 80 0D 02 02 FA 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 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 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 EC 2C 00 00 00 00 13 04 06 00 D8 59 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D8 59 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CB 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8A 09 00 00 00 00 07 04 06 00 D8 59 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 D5 03 5F 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 00 00 45 [12:08:52]Write i2c OK [12:08:52]MH_I2C_Read... [12:08:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:08:52]Read from MH i2c: E2 [12:08:52]MH_I2C_Read... [12:08:52]Read from MH i2c: E2 03 00 [12:08:52]MH_I2C_Read... [12:08:52]Read from MH i2c: E2 03 00 F8 03 00 90 00 6F [12:08:52]RAPDU: 90 00 [12:08:52]wFMCommunicate OK [12:08:52]wFMCommunicate request_size=39 [12:08:52]MH_SAM_APDU [12:08:52]CAPDU: 80 0D 02 02 22 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 75 87 00 00 35 04 06 00 15 E5 93 B8 E8 BF [12:08:52]Write to MH i2c: E2 2A 00 F9 03 80 0D 02 02 22 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 75 87 00 00 35 04 06 00 15 E5 93 B8 E8 BF 00 00 22 [12:08:52]Write i2c OK [12:08:52]MH_I2C_Read... [12:08:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:08:53]Read from MH i2c: E2 [12:08:53]MH_I2C_Read... [12:08:53]Read from MH i2c: E2 03 00 [12:08:53]MH_I2C_Read... [12:08:53]Read from MH i2c: E2 03 00 F9 03 00 90 00 70 [12:08:53]RAPDU: 90 00 [12:08:53]wFMCommunicate OK [12:08:53]wFMCommunicate request_size=4 [12:08:53]MH_SAM_APDU [12:08:53]CAPDU: 80 0D 03 02 [12:08:53]Write to MH i2c: E2 08 00 FA 03 80 0D 03 02 00 00 00 00 78 [12:08:53]Write i2c OK [12:08:53]MH_I2C_Read... [12:08:53]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:08:53]Read from MH i2c: E2 [12:08:53]MH_I2C_Read... [12:08:53]Read from MH i2c: E2 0B 00 [12:08:53]MH_I2C_Read... [12:08:53]Read from MH i2c: E2 0B 00 FA 03 00 AD FB 01 54 2E 24 DF 65 90 00 0C [12:08:53]RAPDU: AD FB 01 54 2E 24 DF 65 90 00 [12:08:53]wFMCommunicate OK [12:08:53]SAM_PROTO_SignData done [12:08:53]FM_MakeSignedData done [12:08:53]CreateOFDProtocolMessage [12:08:53]wFMCommunicate request_size=4 [12:08:53]MH_SAM_APDU [12:08:53]CAPDU: 80 11 00 00 [12:08:53]Write to MH i2c: E2 08 00 FB 03 80 11 00 00 00 00 00 00 78 [12:08:53]Write i2c OK [12:08:53]MH_I2C_Read... [12:08:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:08:53]Read from MH i2c: E2 [12:08:53]MH_I2C_Read... [12:08:53]Read from MH i2c: E2 17 00 [12:08:53]MH_I2C_Read... [12:08:53]Read from MH i2c: E2 17 00 FB 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 D4 [12:08:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 [12:08:53]wFMCommunicate OK [12:08:53]CreateOFDProtocolMessage done [12:08:53]OFDSenderStorePacket 34677 [12:08:53]StoreOFDPacket docnum=34677 [12:08:53]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 2C 01 00 00 DC 87 24 01 0B DB 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 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 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 EC 2C 00 00 00 00 13 04 06 00 D8 59 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D8 59 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CB 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8A 09 00 00 00 00 07 04 06 00 D8 59 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 D5 03 5F 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 75 87 00 00 35 04 06 00 15 E5 93 B8 E8 BF AD FB 01 54 2E 24 DF 65 [12:08:53]CheckFolder [12:08:53]dirname=/storage/ofd_packets [12:08:53]CheckFolder done [12:08:53]ProducePacketName [12:08:53]name=ofd_packets/00034677 [12:08:53]NVStorageSaveData ofd_packets/00034677 [12:08:53]File name is /storage/ofd_packets/00034677 [12:08:53]Write 330 bytes [12:08:53]NVStorageSaveData done [12:08:53]OFDSenderStorePacket done [12:08:53]KKMCreateOFDPacket done [12:08:53]NVStorageSaveData kkm_last_timestamp [12:08:53]File name is /storage/kkm_last_timestamp [12:08:53]Write 4 bytes [12:08:53]NVStorageSaveData done [12:08:53]ExternCall_PrintAddStr [12:08:53]wPrintStart [12:08:53]Write to MH i2c: 01 00 00 FC 03 FF [12:08:53]Write i2c OK [12:08:53]MH_I2C_Read... [12:08:53]Read from MH i2c: 01 [12:08:53]MH_I2C_Read... [12:08:53]Read from MH i2c: 01 07 00 [12:08:53]MH_I2C_Read... [12:08:53]Read from MH i2c: 01 07 00 FC 03 00 00 00 00 00 FF 0F 14 [12:08:53]RasterBufferAndPrint [12:08:53]line Счет N : (3)100039 [12:08:53]line ИНН: 02508201610067 [12:08:53]line Контрольно-Кассовый Чек [12:08:53]line ПРОДАЖА [12:08:53]line Товар: 2000036210013 [12:08:53]line Кофе Капучино (GABB TRADE) [12:08:53]line 2.000 * 115.00 [12:08:53]line = 230.00 [12:08:53]line НДС 12% НСП 1% [12:08:53]line > о реализуемом товаре [12:08:53]line ИТОГО: 230.00 [12:08:53]line НСП 1% : 2.03 [12:08:53]line НДС 12% : 24.42 [12:08:53]line Наличными: 230.00 [12:08:53]line Безнал.: 0.00 [12:08:53]line Место: АЗС № 62 "Партнер Нефть" [12:08:53]line Адрес: 720001, г. Балыкчы, ул. Абдрахманова 325 Б, 42.462761, 76.214931 [12:08:53]line СНО: Общий режим [12:08:53]line Чек 21 04.06.2024 12:08 [12:08:53]line Смена: 368 ФФД: 1.0 [12:08:53]line ЗНМ: 0300000080 [12:08:53]line РНМ: 0000000000096838 [12:08:53]line Версия ККМ: 001 [12:08:53]line ФМ: 0000000000874859 [12:08:53]line ФД: 34677 [12:08:53]line ФПД: 24075770063039 [12:08:53]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T120853&type=1&operation_type=1&fn_number=0000000000874859&fd_number=34677&fm=24075770063039&tin=02508201610067®Number=0000000000096838&sum=23000 [12:08:53]line 0 [12:08:53]OFD Sender: Processing packet 34677 [packets to send 17, broken 16] [12:08:53]ProducePacketName [12:08:53]name=ofd_packets/00034677 [12:08:53]OFD Sender: To server: pG, [12:08:53]CommunicateWithHost lk.salyk.kg:30040 [12:08:53]ConnectInit lk.salyk.kg [12:08:53]written 0, free lines is 4095 [12:08:53]Connected sock=10 [12:08:53]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 2C 01 00 00 DC 87 24 01 0B DB 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 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 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 EC 2C 00 00 00 00 13 04 06 00 D8 59 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D8 59 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CB 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8A 09 00 00 00 00 07 04 06 00 D8 59 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 D5 03 5F 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 75 87 00 00 35 04 06 00 15 E5 93 B8 E8 BF AD FB 01 54 2E 24 DF 65 [12:08:53]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 4F 00 00 00 54 0E 47 00 85 4E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 75 87 00 00 F4 03 04 00 15 AE 5E 66 B6 04 01 00 00 AB BA 5E 3F B5 F9 56 3D [12:08:53]CommunicateWithHost err = 0 [12:08:53]CheckOFDResponse [12:08:53]1017 (14) - 77093643461234 [12:08:53]1041 (16) - 0000000000874859 [12:08:53]1040 (4) - 34677 [12:08:53]1012 (4) - 04.06.2024 06:03 [12:08:53]1206 (1) - 0 [12:08:53]OFD Sender: Remove packet 34677 [12:08:53]ProducePacketName [12:08:53]name=ofd_packets/00034677 [12:08:53]NVStorageDeleteData [12:08:53]Write to MH i2c: 01 00 00 24 04 28 [12:08:53]Write i2c OK [12:08:53]MH_I2C_Read... [12:08:53]Read from MH i2c: 01 [12:08:53]MH_I2C_Read... [12:08:53]Read from MH i2c: 01 07 00 [12:08:53]MH_I2C_Read... [12:08:53]Read from MH i2c: 01 07 00 24 04 00 00 00 00 00 30 0D 6C [12:08:53]RasterBufferAndPrint [12:08:53]line [12:08:53]line [12:08:53]line [12:08:53]line [12:08:53]line [12:08:53]written 0, free lines is 3383 [12:08:53]MH_Cut [12:08:53]Write to MH i2c: D1 01 00 2B 04 01 01 [12:08:53]Write i2c OK [12:08:53]MH_I2C_Read... [12:08:53]Read from MH i2c: D1 [12:08:53]MH_I2C_Read... [12:08:53]Read from MH i2c: D1 01 00 [12:08:53]MH_I2C_Read... [12:08:53]Read from MH i2c: D1 01 00 2B 04 00 00 [12:08:53]Write to MH i2c: 01 00 00 2C 04 30 [12:08:53]Write i2c OK [12:08:53]MH_I2C_Read... [12:08:54]OFD Sender: No OFD packet to send [12:08:54]*** Cut start [12:08:54]*** Partial cut [12:08:54]*** CUTSNS_PIN = 1 [12:08:54]*** CUTSNS_PIN = 0 [12:08:54]*** Brake cut motor [12:08:55]Read from MH i2c: 01 [12:08:55]MH_I2C_Read... [12:08:55]*** Stop cut motor [12:08:55]*** Cut end [12:08:55]Read from MH i2c: 01 07 00 [12:08:55]MH_I2C_Read... [12:08:55]Read from MH i2c: 01 07 00 2C 04 00 00 00 00 00 FF 0F 45 [12:08:55]process_action close_receipt done [12:08:55]requested_data is exist [12:08:55]produce_requested_data [12:08:55]requested_item fm.sn is exist - process it [12:08:55]wFMCommunicate request_size=4 [12:08:55]MH_SAM_APDU [12:08:55]CAPDU: 80 11 00 00 [12:08:55]Write to MH i2c: E2 08 00 2D 04 80 11 00 00 00 00 00 00 AB [12:08:55]Write i2c OK [12:08:55]MH_I2C_Read... [12:08:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:08:55]Read from MH i2c: E2 [12:08:55]MH_I2C_Read... [12:08:55]Read from MH i2c: E2 17 00 [12:08:55]MH_I2C_Read... [12:08:55]Read from MH i2c: E2 17 00 2D 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 07 [12:08:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 [12:08:55]wFMCommunicate OK [12:08:55]requested_item fd.num is exist - process it [12:08:55]SAM_PROTO_GetFieldsCounters [12:08:55]wFMCommunicate request_size=4 [12:08:55]MH_SAM_APDU [12:08:55]CAPDU: 80 13 00 00 [12:08:55]Write to MH i2c: E2 08 00 2E 04 80 13 00 00 00 00 00 00 AE [12:08:55]Write i2c OK [12:08:55]MH_I2C_Read... [12:08:55]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:08:55]Read from MH i2c: E2 [12:08:55]MH_I2C_Read... [12:08:55]Read from MH i2c: E2 62 00 [12:08:55]MH_I2C_Read... [12:08:55]Read from MH i2c: E2 62 00 2E 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 10 04 04 00 75 87 00 00 0E 04 04 00 70 01 00 00 12 04 04 00 15 00 00 00 5E 04 04 00 15 00 00 00 57 04 04 00 16 00 00 00 19 04 04 00 00 00 00 00 90 00 8D [12:08:55]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 10 04 04 00 75 87 00 00 0E 04 04 00 70 01 00 00 12 04 04 00 15 00 00 00 5E 04 04 00 15 00 00 00 57 04 04 00 16 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:08:55]wFMCommunicate OK [12:08:55]SAM_PROTO_GetFieldsCounters done [12:08:55]requested_item shift.num is exist - process it [12:08:55]requested_item shift.opened is exist - process it [12:08:55]req_shift_opened [12:08:55]FM_GetShiftState [12:08:55]SAM_PROTO_GetShiftState [12:08:55]wFMCommunicate request_size=4 [12:08:55]MH_SAM_APDU [12:08:55]CAPDU: 80 13 01 00 [12:08:55]Write to MH i2c: E2 08 00 2F 04 80 13 01 00 00 00 00 00 B0 [12:08:55]Write i2c OK [12:08:55]MH_I2C_Read... [12:08:55]Read from MH i2c: E2 [12:08:55]MH_I2C_Read... [12:08:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:08:55]Read from MH i2c: E2 0E 00 [12:08:55]MH_I2C_Read... [12:08:55]Read from MH i2c: E2 0E 00 2F 04 00 09 00 01 35 5B 5E 66 00 00 00 00 90 00 10 [12:08:55]RAPDU: 09 00 01 35 5B 5E 66 00 00 00 00 90 00 [12:08:55]wFMCommunicate OK [12:08:55]SAM_PROTO_GetShiftState done [12:08:55]FM_GetShiftState done [12:08:55]req_shift_opened done [12:08:55]requested_item shift.open_date is exist - process it [12:08:55]req_shift_open_date [12:08:55]req_shift_open_date done [12:08:55]produce_requested_data done [12:08:55]produce_requested_data return {"fm.sn":"0000000000874859","fd.num":34677,"shift.num":368,"shift.opened":1,"shift.open_date":1717459765} [12:08:55]process_action_free close_receipt [12:08:55]json_value_free [12:08:55]json_value_free done [12:08:55]process_json_proto returns [12:08:55]Send response to host [12:08:55]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874859","fd.num":34677,"shift.num":368,"shift.opened":1,"shift.open_date":1717459765}}} [12:08:55]free response buf [12:08:55]execute_script done [12:08:55]execute_script returns [12:08:55]free content buf [12:08:55]Sock 7.Close socket [12:08:55]Sock 7.Thread stoped [12:08:59]OFD Sender: No OFD packet to send [12:09:04]OFD Sender: No OFD packet to send [12:09:09]OFD Sender: No OFD packet to send [12:09:14]OFD Sender: No OFD packet to send [12:09:19]OFD Sender: No OFD packet to send [12:09:24]OFD Sender: No OFD packet to send [12:09:29]OFD Sender: No OFD packet to send [12:09:34]OFD Sender: No OFD packet to send [12:09:39]OFD Sender: No OFD packet to send [12:09:44]OFD Sender: No OFD packet to send [12:09:49]OFD Sender: No OFD packet to send [12:09:54]OFD Sender: No OFD packet to send [12:09:59]OFD Sender: No OFD packet to send [12:10:04]OFD Sender: No OFD packet to send [12:10:09]OFD Sender: No OFD packet to send [12:10:14]OFD Sender: No OFD packet to send [12:10:19]OFD Sender: No OFD packet to send [12:10:24]OFD Sender: No OFD packet to send [12:10:29]OFD Sender: No OFD packet to send [12:10:34]OFD Sender: No OFD packet to send [12:10:39]OFD Sender: No OFD packet to send [12:10:44]OFD Sender: No OFD packet to send [12:10:49]OFD Sender: No OFD packet to send [12:10:54]OFD Sender: No OFD packet to send [12:10:59]OFD Sender: No OFD packet to send [12:11:04]OFD Sender: No OFD packet to send [12:11:09]OFD Sender: No OFD packet to send [12:11:14]OFD Sender: No OFD packet to send [12:11:19]OFD Sender: No OFD packet to send [12:11:24]OFD Sender: No OFD packet to send [12:11:29]OFD Sender: No OFD packet to send [12:11:34]OFD Sender: No OFD packet to send [12:11:39]OFD Sender: No OFD packet to send [12:11:44]OFD Sender: No OFD packet to send [12:11:49]OFD Sender: No OFD packet to send [12:11:54]OFD Sender: No OFD packet to send [12:11:59]OFD Sender: No OFD packet to send [12:12:04]OFD Sender: No OFD packet to send [12:12:09]OFD Sender: No OFD packet to send [12:12:14]OFD Sender: No OFD packet to send [12:12:19]OFD Sender: No OFD packet to send [12:12:24]OFD Sender: No OFD packet to send [12:12:29]OFD Sender: No OFD packet to send [12:12:34]OFD Sender: No OFD packet to send [12:12:39]OFD Sender: No OFD packet to send [12:12:44]OFD Sender: No OFD packet to send [12:12:49]OFD Sender: No OFD packet to send [12:12:54]OFD Sender: No OFD packet to send [12:12:59]OFD Sender: No OFD packet to send [12:13:04]OFD Sender: No OFD packet to send [12:13:09]OFD Sender: No OFD packet to send [12:13:14]OFD Sender: No OFD packet to send [12:13:19]OFD Sender: No OFD packet to send [12:13:24]OFD Sender: No OFD packet to send [12:13:29]OFD Sender: No OFD packet to send [12:13:34]OFD Sender: No OFD packet to send [12:13:39]OFD Sender: No OFD packet to send [12:13:44]OFD Sender: No OFD packet to send [12:13:49]OFD Sender: No OFD packet to send [12:13:54]OFD Sender: No OFD packet to send [12:13:59]OFD Sender: No OFD packet to send [12:14:04]OFD Sender: No OFD packet to send [12:14:09]OFD Sender: No OFD packet to send [12:14:14]OFD Sender: No OFD packet to send [12:14:19]OFD Sender: No OFD packet to send [12:14:24]OFD Sender: No OFD packet to send [12:14:29]OFD Sender: No OFD packet to send [12:14:34]OFD Sender: No OFD packet to send [12:14:39]OFD Sender: No OFD packet to send [12:14:44]OFD Sender: No OFD packet to send [12:14:49]OFD Sender: No OFD packet to send [12:14:54]OFD Sender: No OFD packet to send [12:14:59]OFD Sender: No OFD packet to send [12:15:04]OFD Sender: No OFD packet to send [12:15:09]OFD Sender: No OFD packet to send [12:15:14]OFD Sender: No OFD packet to send [12:15:19]OFD Sender: No OFD packet to send [12:15:24]OFD Sender: No OFD packet to send [12:15:29]OFD Sender: No OFD packet to send [12:15:34]OFD Sender: No OFD packet to send [12:15:39]OFD Sender: No OFD packet to send [12:15:44]OFD Sender: No OFD packet to send [12:15:49]OFD Sender: No OFD packet to send [12:15:54]OFD Sender: No OFD packet to send [12:15:59]OFD Sender: No OFD packet to send [12:16:04]OFD Sender: No OFD packet to send [12:16:09]OFD Sender: No OFD packet to send [12:16:14]OFD Sender: No OFD packet to send [12:16:19]OFD Sender: No OFD packet to send [12:16:24]OFD Sender: No OFD packet to send [12:16:29]OFD Sender: No OFD packet to send [12:16:34]OFD Sender: No OFD packet to send [12:16:39]OFD Sender: No OFD packet to send [12:16:44]OFD Sender: No OFD packet to send [12:16:49]OFD Sender: No OFD packet to send [12:16:54]OFD Sender: No OFD packet to send [12:16:59]OFD Sender: No OFD packet to send [12:17:04]OFD Sender: No OFD packet to send [12:17:09]OFD Sender: No OFD packet to send [12:17:14]OFD Sender: No OFD packet to send [12:17:19]OFD Sender: No OFD packet to send [12:17:24]OFD Sender: No OFD packet to send [12:17:29]OFD Sender: No OFD packet to send [12:17:34]OFD Sender: No OFD packet to send [12:17:39]OFD Sender: No OFD packet to send [12:17:44]OFD Sender: No OFD packet to send [12:17:49]OFD Sender: No OFD packet to send [12:17:54]OFD Sender: No OFD packet to send [12:17:59]OFD Sender: No OFD packet to send [12:18:04]OFD Sender: No OFD packet to send [12:18:09]OFD Sender: No OFD packet to send [12:18:14]OFD Sender: No OFD packet to send [12:18:19]OFD Sender: No OFD packet to send [12:18:24]OFD Sender: No OFD packet to send [12:18:29]OFD Sender: No OFD packet to send [12:18:34]OFD Sender: No OFD packet to send [12:18:39]OFD Sender: No OFD packet to send [12:18:44]OFD Sender: No OFD packet to send [12:18:49]OFD Sender: No OFD packet to send [12:18:54]OFD Sender: No OFD packet to send [12:18:59]OFD Sender: No OFD packet to send [12:19:04]OFD Sender: No OFD packet to send [12:19:09]OFD Sender: No OFD packet to send [12:19:14]OFD Sender: No OFD packet to send [12:19:19]OFD Sender: No OFD packet to send [12:19:24]OFD Sender: No OFD packet to send [12:19:29]OFD Sender: No OFD packet to send [12:19:34]OFD Sender: No OFD packet to send [12:19:39]OFD Sender: No OFD packet to send [12:19:44]OFD Sender: No OFD packet to send [12:19:49]OFD Sender: No OFD packet to send [12:19:54]OFD Sender: No OFD packet to send [12:19:59]OFD Sender: No OFD packet to send [12:20:04]OFD Sender: No OFD packet to send [12:20:09]OFD Sender: No OFD packet to send [12:20:14]OFD Sender: No OFD packet to send [12:20:19]OFD Sender: No OFD packet to send [12:20:24]OFD Sender: No OFD packet to send [12:20:29]OFD Sender: No OFD packet to send [12:20:34]OFD Sender: No OFD packet to send [12:20:39]OFD Sender: No OFD packet to send [12:20:44]OFD Sender: No OFD packet to send [12:20:49]OFD Sender: No OFD packet to send [12:20:54]OFD Sender: No OFD packet to send [12:20:59]OFD Sender: No OFD packet to send [12:21:04]OFD Sender: No OFD packet to send [12:21:09]OFD Sender: No OFD packet to send [12:21:14]OFD Sender: No OFD packet to send [12:21:19]OFD Sender: No OFD packet to send [12:21:24]OFD Sender: No OFD packet to send [12:21:29]OFD Sender: No OFD packet to send [12:21:34]OFD Sender: No OFD packet to send [12:21:39]OFD Sender: No OFD packet to send [12:21:44]OFD Sender: No OFD packet to send [12:21:49]OFD Sender: No OFD packet to send [12:21:54]OFD Sender: No OFD packet to send [12:21:59]OFD Sender: No OFD packet to send [12:22:04]OFD Sender: No OFD packet to send [12:22:09]OFD Sender: No OFD packet to send [12:22:14]OFD Sender: No OFD packet to send [12:22:19]OFD Sender: No OFD packet to send [12:22:24]OFD Sender: No OFD packet to send [12:22:29]OFD Sender: No OFD packet to send [12:22:34]OFD Sender: No OFD packet to send [12:22:39]OFD Sender: No OFD packet to send [12:22:44]OFD Sender: No OFD packet to send [12:22:49]OFD Sender: No OFD packet to send [12:22:54]OFD Sender: No OFD packet to send [12:22:59]OFD Sender: No OFD packet to send [12:23:04]OFD Sender: No OFD packet to send [12:23:09]OFD Sender: No OFD packet to send [12:23:14]OFD Sender: No OFD packet to send [12:23:19]OFD Sender: No OFD packet to send [12:23:24]OFD Sender: No OFD packet to send [12:23:29]OFD Sender: No OFD packet to send [12:23:34]OFD Sender: No OFD packet to send [12:23:39]OFD Sender: No OFD packet to send [12:23:44]OFD Sender: No OFD packet to send [12:23:49]OFD Sender: No OFD packet to send [12:23:54]OFD Sender: No OFD packet to send [12:23:59]OFD Sender: No OFD packet to send [12:24:04]OFD Sender: No OFD packet to send [12:24:09]OFD Sender: No OFD packet to send [12:24:10]accept exits with 9 [12:24:10]New connection [12:24:10]New thread 3067170148 created [12:24:10]Thread 3067026788 joined [12:24:10]Waiting for new connection... [12:24:10] Sock 9.Parse request [12:24:10]Sock 9.Check first char [12:24:10]Sock 9.First char is OK [12:24:10]request: POST /json_proto HTTP/1.0 [12:24:10]Method: POST [12:24:10]URL: /json_proto [12:24:10]Method is POST - this is cgi request [12:24:10]url: /json_proto [12:24:10]query_string will be loaded in cgi processing [12:24:10]execute_cgi json_proto POST (null) [12:24:10]execute_cgi path=json_proto method=POST [12:24:10]POST find Content-Length [12:24:10]Host: 172.17.36.131:8080 [12:24:10]Content-Length: 625 [12:24:10]Content-Type: application/json [12:24:10] [12:24:10]POST finish read [12:24:10]Found Content-Length = 625 [12:24:10]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100040", "tax_sys" : 0, "items" : [ { "code": "46230607", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Richmond Bronze Edition", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 150.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:24:10]execute_script... [12:24:10]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100040", "tax_sys" : 0, "items" : [ { "code": "46230607", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Richmond Bronze Edition", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 150.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:24:10]POST & json_proto [12:24:10]process_json_proto [12:24:10]json parsed OK: [12:24:10]protocol is kg_v1.0 [12:24:10]action value=close_receipt [12:24:10]process_action close_receipt [12:24:10]cmd_close_receipt [12:24:10]MH_GetDate [12:24:10]Write to MH i2c: F0 00 00 30 04 23 [12:24:10]Write i2c OK [12:24:10]MH_I2C_Read... [12:24:10]Read from MH i2c: F0 [12:24:10]MH_I2C_Read... [12:24:10]Read from MH i2c: F0 09 00 [12:24:10]MH_I2C_Read... [12:24:10]Read from MH i2c: F0 09 00 30 04 00 6C 07 5F 66 A7 4C 98 65 54 [12:24:10]GetLastDocTimeStamp 1717502933 [12:24:10]current date 1717503852 [12:24:10]FM_GetShiftState [12:24:10]SAM_PROTO_GetShiftState [12:24:10]wFMCommunicate request_size=4 [12:24:10]MH_SAM_APDU [12:24:10]CAPDU: 80 13 01 00 [12:24:10]Write to MH i2c: E2 08 00 31 04 80 13 01 00 00 00 00 00 B2 [12:24:10]Write i2c OK [12:24:10]MH_I2C_Read... [12:24:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:24:10]Read from MH i2c: E2 [12:24:10]MH_I2C_Read... [12:24:10]Read from MH i2c: E2 0E 00 [12:24:10]MH_I2C_Read... [12:24:10]Read from MH i2c: E2 0E 00 31 04 00 09 00 01 35 5B 5E 66 00 00 00 00 90 00 12 [12:24:10]RAPDU: 09 00 01 35 5B 5E 66 00 00 00 00 90 00 [12:24:10]wFMCommunicate OK [12:24:10]SAM_PROTO_GetShiftState done [12:24:10]FM_GetShiftState done [12:24:10]opened in 1717459765 [12:24:10]opened+sec_in_day 1717546165 [12:24:10]quantity*price = 15000 [12:24:10]sum+1 = 15001 [12:24:10]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 150.00 НСП 1% : 1.33 НДС 12% : 15.93 Наличными: 150.00 Безнал.: 0.00 Место: АЗС № 62 "Партнер Нефть" Адрес: 720001, г. Балыкчы, ул. Абдрахманова 325 Б, 42.462761, 76.214931 СНО: Общий режим Чек 22 04.06.2024 12:24 Смена: 368 ФФД: 1.0 ЗНМ: 0300000080 РНМ: 0000000000096838 Версия ККМ: 001 ФМ: 0000000000874859 ФД: 34678 ФПД: 241324450313282 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T122412&type=1&operation_type=1&fn_number=0000000000874859&fd_number=34678&fm=241324450313282&tin=02508201610067®Number=0000000000096838&sum=15000 0 [12:24:11]StoreToDocumentArchive [12:24:11]shift 368 fd 34678 [12:24:11]save to /storage/0368/doc_00034678 [12:24:11]save last doc name /storage/0368/doc_00034678 to /storage/kkm_last_doc_name [12:24:11]save OK [12:24:11]Clear old archive folders... [12:24:11]ProcessDocumentItem done err = 0, tmpTLVsize=277 [12:24:11]tlvbuf is 01B4A5E0 [12:24:11]SAM_PROTO_ClearQueue [12:24:11]wFMCommunicate request_size=4 [12:24:11]MH_SAM_APDU [12:24:11]CAPDU: 80 09 00 00 [12:24:11]Write to MH i2c: E2 08 00 3E 04 80 09 00 00 00 00 00 00 B4 [12:24:11]Write i2c OK [12:24:11]MH_I2C_Read... [12:24:11]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:24:11]Read from MH i2c: E2 [12:24:11]MH_I2C_Read... [12:24:11]Read from MH i2c: E2 03 00 [12:24:11]MH_I2C_Read... [12:24:11]Read from MH i2c: E2 03 00 3E 04 00 90 00 B6 [12:24:11]RAPDU: 90 00 [12:24:11]wFMCommunicate OK [12:24:11]SAM_PROTO_ClearQueue done [12:24:11]KKMCreateOFDPacket [12:24:11]OFDProtocolAddRootSTLVToBuf [12:24:11]FM_MakeSignedData [12:24:11]FM_MakeSignedData [12:24:11]SAM_PROTO_SignData [12:24:11]wFMCommunicate request_size=4 [12:24:11]MH_SAM_APDU [12:24:11]CAPDU: 80 0D 01 02 [12:24:11]Write to MH i2c: E2 08 00 3F 04 80 0D 01 02 00 00 00 00 BC [12:24:11]Write i2c OK [12:24:11]MH_I2C_Read... [12:24:11]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:24:11]Read from MH i2c: E2 [12:24:11]MH_I2C_Read... [12:24:11]Read from MH i2c: E2 03 00 [12:24:11]MH_I2C_Read... [12:24:11]Read from MH i2c: E2 03 00 3F 04 00 90 00 B7 [12:24:11]RAPDU: 90 00 [12:24:11]wFMCommunicate OK [12:24:11]wFMCommunicate request_size=255 [12:24:11]MH_SAM_APDU [12:24:11]CAPDU: 80 0D 02 02 FA 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 08 00 34 36 32 33 30 36 30 37 06 04 28 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 42 72 6F 6E 7A 65 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 6C 07 5F 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 30 30 30 [12:24:11]Write to MH i2c: E2 02 01 40 04 80 0D 02 02 FA 00 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 08 00 34 36 32 33 30 36 30 37 06 04 28 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 42 72 6F 6E 7A 65 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 6C 07 5F 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 30 30 30 00 00 6C [12:24:11]Write i2c OK [12:24:11]MH_I2C_Read... [12:24:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:24:12]Read from MH i2c: E2 [12:24:12]MH_I2C_Read... [12:24:12]Read from MH i2c: E2 03 00 [12:24:12]MH_I2C_Read... [12:24:12]Read from MH i2c: E2 03 00 40 04 00 90 00 B8 [12:24:12]RAPDU: 90 00 [12:24:12]wFMCommunicate OK [12:24:12]wFMCommunicate request_size=36 [12:24:12]MH_SAM_APDU [12:24:12]CAPDU: 80 0D 02 02 1F 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 76 87 00 00 35 04 06 00 DB 7B BA 22 F4 42 [12:24:12]Write to MH i2c: E2 27 00 41 04 80 0D 02 02 1F 00 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 76 87 00 00 35 04 06 00 DB 7B BA 22 F4 42 00 00 52 [12:24:12]Write i2c OK [12:24:12]MH_I2C_Read... [12:24:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:24:12]Read from MH i2c: E2 [12:24:12]MH_I2C_Read... [12:24:12]Read from MH i2c: E2 03 00 [12:24:12]MH_I2C_Read... [12:24:12]Read from MH i2c: E2 03 00 41 04 00 90 00 B9 [12:24:12]RAPDU: 90 00 [12:24:12]wFMCommunicate OK [12:24:12]wFMCommunicate request_size=4 [12:24:12]MH_SAM_APDU [12:24:12]CAPDU: 80 0D 03 02 [12:24:12]Write to MH i2c: E2 08 00 42 04 80 0D 03 02 00 00 00 00 C1 [12:24:12]Write i2c OK [12:24:12]MH_I2C_Read... [12:24:12]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:24:12]Read from MH i2c: E2 [12:24:12]MH_I2C_Read... [12:24:12]Read from MH i2c: E2 0B 00 [12:24:12]MH_I2C_Read... [12:24:12]Read from MH i2c: E2 0B 00 42 04 00 D8 58 86 EC F2 25 D6 E3 90 00 34 [12:24:12]RAPDU: D8 58 86 EC F2 25 D6 E3 90 00 [12:24:12]wFMCommunicate OK [12:24:12]SAM_PROTO_SignData done [12:24:12]FM_MakeSignedData done [12:24:12]CreateOFDProtocolMessage [12:24:12]wFMCommunicate request_size=4 [12:24:12]MH_SAM_APDU [12:24:12]CAPDU: 80 11 00 00 [12:24:12]Write to MH i2c: E2 08 00 43 04 80 11 00 00 00 00 00 00 C1 [12:24:12]Write i2c OK [12:24:12]MH_I2C_Read... [12:24:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:24:12]Read from MH i2c: E2 [12:24:12]MH_I2C_Read... [12:24:12]Read from MH i2c: E2 17 00 [12:24:12]MH_I2C_Read... [12:24:12]Read from MH i2c: E2 17 00 43 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 1D [12:24:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 [12:24:12]wFMCommunicate OK [12:24:12]CreateOFDProtocolMessage done [12:24:12]OFDSenderStorePacket 34678 [12:24:12]StoreOFDPacket docnum=34678 [12:24:12]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 29 01 00 00 23 A3 21 01 3B 25 5A 03 01 00 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 08 00 34 36 32 33 30 36 30 37 06 04 28 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 42 72 6F 6E 7A 65 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 6C 07 5F 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 76 87 00 00 35 04 06 00 DB 7B BA 22 F4 42 D8 58 86 EC F2 25 D6 E3 [12:24:12]CheckFolder [12:24:12]dirname=/storage/ofd_packets [12:24:12]CheckFolder done [12:24:12]ProducePacketName [12:24:12]name=ofd_packets/00034678 [12:24:12]NVStorageSaveData ofd_packets/00034678 [12:24:12]File name is /storage/ofd_packets/00034678 [12:24:12]Write 327 bytes [12:24:12]NVStorageSaveData done [12:24:12]OFDSenderStorePacket done [12:24:12]KKMCreateOFDPacket done [12:24:12]NVStorageSaveData kkm_last_timestamp [12:24:12]File name is /storage/kkm_last_timestamp [12:24:12]Write 4 bytes [12:24:12]NVStorageSaveData done [12:24:12]ExternCall_PrintAddStr [12:24:12]wPrintStart [12:24:12]Write to MH i2c: 01 00 00 44 04 48 [12:24:12]Write i2c OK [12:24:12]MH_I2C_Read... [12:24:12]Read from MH i2c: 01 [12:24:12]MH_I2C_Read... [12:24:12]Read from MH i2c: 01 07 00 [12:24:12]MH_I2C_Read... [12:24:12]Read from MH i2c: 01 07 00 44 04 00 00 00 00 00 FF 0F 5D [12:24:12]RasterBufferAndPrint [12:24:12]line Счет N : (3)100040 [12:24:12]line ИНН: 02508201610067 [12:24:12]line Контрольно-Кассовый Чек [12:24:12]line ПРОДАЖА [12:24:12]line Товар: 46230607 [12:24:12]line Сигареты Richmond Bronze Edition [12:24:12]line 1.000 * 150.00 [12:24:12]line = 150.00 [12:24:12]line НДС 12% НСП 1% [12:24:12]line > о реализуемом товаре [12:24:12]line ИТОГО: 150.00 [12:24:12]line НСП 1% : 1.33 [12:24:12]line НДС 12% : 15.93 [12:24:12]line Наличными: 150.00 [12:24:12]line Безнал.: 0.00 [12:24:12]line Место: АЗС № 62 "Партнер Нефть" [12:24:12]line Адрес: 720001, г. Балыкчы, ул. Абдрахманова 325 Б, 42.462761, 76.214931 [12:24:12]line СНО: Общий режим [12:24:12]line Чек 22 04.06.2024 12:24 [12:24:12]line Смена: 368 ФФД: 1.0 [12:24:12]line ЗНМ: 0300000080 [12:24:12]line РНМ: 0000000000096838 [12:24:12]line Версия ККМ: 001 [12:24:12]line ФМ: 0000000000874859 [12:24:12]line ФД: 34678 [12:24:12]line ФПД: 241324450313282 [12:24:12]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T122412&type=1&operation_type=1&fn_number=0000000000874859&fd_number=34678&fm=241324450313282&tin=02508201610067®Number=0000000000096838&sum=15000 [12:24:12]line 0 [12:24:12]OFD Sender: Processing packet 34678 [packets to send 17, broken 16] [12:24:12]ProducePacketName [12:24:12]name=ofd_packets/00034678 [12:24:12]OFD Sender: To server: pG, [12:24:12]CommunicateWithHost lk.salyk.kg:30040 [12:24:12]ConnectInit lk.salyk.kg [12:24:12]written 0, free lines is 4095 [12:24:12]Connected sock=10 [12:24:12]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 29 01 00 00 23 A3 21 01 3B 25 5A 03 01 00 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 08 00 34 36 32 33 30 36 30 37 06 04 28 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 42 72 6F 6E 7A 65 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 6C 07 5F 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 76 87 00 00 35 04 06 00 DB 7B BA 22 F4 42 D8 58 86 EC F2 25 D6 E3 [12:24:12]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 4F 00 00 00 1C C7 47 00 5D F7 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 76 87 00 00 F4 03 04 00 AC B1 5E 66 B6 04 01 00 00 B9 26 F9 53 04 FD CA FA [12:24:12]CommunicateWithHost err = 0 [12:24:12]CheckOFDResponse [12:24:12]1017 (14) - 77093643461234 [12:24:12]1041 (16) - 0000000000874859 [12:24:12]1040 (4) - 34678 [12:24:12]1012 (4) - 04.06.2024 06:18 [12:24:12]1206 (1) - 0 [12:24:12]OFD Sender: Remove packet 34678 [12:24:12]ProducePacketName [12:24:12]name=ofd_packets/00034678 [12:24:12]NVStorageDeleteData [12:24:12]Write to MH i2c: 01 00 00 6D 04 71 [12:24:12]Write i2c OK [12:24:12]MH_I2C_Read... [12:24:12]Read from MH i2c: 01 [12:24:12]MH_I2C_Read... [12:24:12]Read from MH i2c: 01 07 00 [12:24:12]MH_I2C_Read... [12:24:12]Read from MH i2c: 01 07 00 6D 04 00 00 00 00 00 EC 0C 70 [12:24:12]RasterBufferAndPrint [12:24:12]line [12:24:12]line [12:24:12]line [12:24:12]line [12:24:12]line [12:24:12]written 0, free lines is 3314 [12:24:12]MH_Cut [12:24:12]Write to MH i2c: D1 01 00 74 04 01 4A [12:24:12]Write i2c OK [12:24:12]MH_I2C_Read... [12:24:12]Read from MH i2c: D1 [12:24:12]MH_I2C_Read... [12:24:12]Read from MH i2c: D1 01 00 [12:24:12]MH_I2C_Read... [12:24:12]Read from MH i2c: D1 01 00 74 04 00 49 [12:24:12]Write to MH i2c: 01 00 00 75 04 79 [12:24:12]Write i2c OK [12:24:12]MH_I2C_Read... [12:24:13]OFD Sender: No OFD packet to send [12:24:13]*** Cut start [12:24:13]*** Partial cut [12:24:13]*** CUTSNS_PIN = 1 [12:24:13]*** CUTSNS_PIN = 0 [12:24:13]*** Brake cut motor [12:24:14]Read from MH i2c: 01 [12:24:14]MH_I2C_Read... [12:24:14]*** Stop cut motor [12:24:14]*** Cut end [12:24:14]Read from MH i2c: 01 07 00 [12:24:14]MH_I2C_Read... [12:24:14]Read from MH i2c: 01 07 00 75 04 00 00 00 00 00 FF 0F 8E [12:24:14]process_action close_receipt done [12:24:14]requested_data is exist [12:24:14]produce_requested_data [12:24:14]requested_item fm.sn is exist - process it [12:24:14]wFMCommunicate request_size=4 [12:24:14]MH_SAM_APDU [12:24:14]CAPDU: 80 11 00 00 [12:24:14]Write to MH i2c: E2 08 00 76 04 80 11 00 00 00 00 00 00 F4 [12:24:14]Write i2c OK [12:24:14]MH_I2C_Read... [12:24:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:24:14]Read from MH i2c: E2 [12:24:14]MH_I2C_Read... [12:24:14]Read from MH i2c: E2 17 00 [12:24:14]MH_I2C_Read... [12:24:14]Read from MH i2c: E2 17 00 76 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 50 [12:24:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 [12:24:14]wFMCommunicate OK [12:24:14]requested_item fd.num is exist - process it [12:24:14]SAM_PROTO_GetFieldsCounters [12:24:14]wFMCommunicate request_size=4 [12:24:14]MH_SAM_APDU [12:24:14]CAPDU: 80 13 00 00 [12:24:14]Write to MH i2c: E2 08 00 77 04 80 13 00 00 00 00 00 00 F7 [12:24:14]Write i2c OK [12:24:14]MH_I2C_Read... [12:24:14]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:24:14]Read from MH i2c: E2 [12:24:14]MH_I2C_Read... [12:24:14]Read from MH i2c: E2 62 00 [12:24:14]MH_I2C_Read... [12:24:14]Read from MH i2c: E2 62 00 77 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 10 04 04 00 76 87 00 00 0E 04 04 00 70 01 00 00 12 04 04 00 16 00 00 00 5E 04 04 00 16 00 00 00 57 04 04 00 17 00 00 00 19 04 04 00 00 00 00 00 90 00 DA [12:24:14]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 10 04 04 00 76 87 00 00 0E 04 04 00 70 01 00 00 12 04 04 00 16 00 00 00 5E 04 04 00 16 00 00 00 57 04 04 00 17 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:24:14]wFMCommunicate OK [12:24:14]SAM_PROTO_GetFieldsCounters done [12:24:14]requested_item shift.num is exist - process it [12:24:14]requested_item shift.opened is exist - process it [12:24:14]req_shift_opened [12:24:14]FM_GetShiftState [12:24:14]SAM_PROTO_GetShiftState [12:24:14]wFMCommunicate request_size=4 [12:24:14]MH_SAM_APDU [12:24:14]CAPDU: 80 13 01 00 [12:24:14]Write to MH i2c: E2 08 00 78 04 80 13 01 00 00 00 00 00 F9 [12:24:14]Write i2c OK [12:24:14]MH_I2C_Read... [12:24:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:24:14]Read from MH i2c: E2 [12:24:14]MH_I2C_Read... [12:24:14]Read from MH i2c: E2 0E 00 [12:24:14]MH_I2C_Read... [12:24:14]Read from MH i2c: E2 0E 00 78 04 00 09 00 01 35 5B 5E 66 00 00 00 00 90 00 59 [12:24:14]RAPDU: 09 00 01 35 5B 5E 66 00 00 00 00 90 00 [12:24:14]wFMCommunicate OK [12:24:14]SAM_PROTO_GetShiftState done [12:24:14]FM_GetShiftState done [12:24:14]req_shift_opened done [12:24:14]requested_item shift.open_date is exist - process it [12:24:14]req_shift_open_date [12:24:14]req_shift_open_date done [12:24:14]produce_requested_data done [12:24:14]produce_requested_data return {"fm.sn":"0000000000874859","fd.num":34678,"shift.num":368,"shift.opened":1,"shift.open_date":1717459765} [12:24:14]process_action_free close_receipt [12:24:14]json_value_free [12:24:14]json_value_free done [12:24:14]process_json_proto returns [12:24:14]Send response to host [12:24:14]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874859","fd.num":34678,"shift.num":368,"shift.opened":1,"shift.open_date":1717459765}}} [12:24:14]free response buf [12:24:14]execute_script done [12:24:14]execute_script returns [12:24:14]free content buf [12:24:14]Sock 9.Close socket [12:24:14]Sock 9.Thread stoped [12:24:18]OFD Sender: No OFD packet to send [12:24:23]OFD Sender: No OFD packet to send [12:24:28]OFD Sender: No OFD packet to send [12:24:33]OFD Sender: No OFD packet to send [12:24:38]OFD Sender: No OFD packet to send [12:24:43]OFD Sender: No OFD packet to send [12:24:48]OFD Sender: No OFD packet to send [12:24:53]OFD Sender: No OFD packet to send [12:24:58]OFD Sender: No OFD packet to send [12:25:03]OFD Sender: No OFD packet to send [12:25:08]OFD Sender: No OFD packet to send [12:25:13]OFD Sender: No OFD packet to send [12:25:18]OFD Sender: No OFD packet to send [12:25:23]OFD Sender: No OFD packet to send [12:25:28]OFD Sender: No OFD packet to send [12:25:33]OFD Sender: No OFD packet to send [12:25:38]OFD Sender: No OFD packet to send [12:25:43]OFD Sender: No OFD packet to send [12:25:48]OFD Sender: No OFD packet to send [12:25:53]OFD Sender: No OFD packet to send [12:25:58]OFD Sender: No OFD packet to send [12:26:03]OFD Sender: No OFD packet to send [12:26:08]OFD Sender: No OFD packet to send [12:26:13]OFD Sender: No OFD packet to send [12:26:18]OFD Sender: No OFD packet to send [12:26:23]OFD Sender: No OFD packet to send [12:26:28]OFD Sender: No OFD packet to send [12:26:33]OFD Sender: No OFD packet to send [12:26:38]OFD Sender: No OFD packet to send [12:26:43]OFD Sender: No OFD packet to send [12:26:48]OFD Sender: No OFD packet to send [12:26:53]OFD Sender: No OFD packet to send [12:26:58]OFD Sender: No OFD packet to send [12:27:03]OFD Sender: No OFD packet to send [12:27:08]OFD Sender: No OFD packet to send [12:27:13]OFD Sender: No OFD packet to send [12:27:18]OFD Sender: No OFD packet to send [12:27:23]OFD Sender: No OFD packet to send [12:27:28]OFD Sender: No OFD packet to send [12:27:33]OFD Sender: No OFD packet to send [12:27:38]OFD Sender: No OFD packet to send [12:27:43]OFD Sender: No OFD packet to send [12:27:48]OFD Sender: No OFD packet to send [12:27:53]OFD Sender: No OFD packet to send [12:27:58]OFD Sender: No OFD packet to send [12:28:03]OFD Sender: No OFD packet to send [12:28:08]OFD Sender: No OFD packet to send [12:28:13]OFD Sender: No OFD packet to send [12:28:18]OFD Sender: No OFD packet to send [12:28:23]OFD Sender: No OFD packet to send [12:28:28]OFD Sender: No OFD packet to send [12:28:33]OFD Sender: No OFD packet to send [12:28:38]OFD Sender: No OFD packet to send [12:28:43]OFD Sender: No OFD packet to send [12:28:48]OFD Sender: No OFD packet to send [12:28:53]OFD Sender: No OFD packet to send [12:28:58]OFD Sender: No OFD packet to send [12:29:03]OFD Sender: No OFD packet to send [12:29:08]OFD Sender: No OFD packet to send [12:29:13]OFD Sender: No OFD packet to send [12:29:18]OFD Sender: No OFD packet to send [12:29:23]OFD Sender: No OFD packet to send [12:29:28]OFD Sender: No OFD packet to send [12:29:33]OFD Sender: No OFD packet to send [12:29:38]OFD Sender: No OFD packet to send [12:29:43]OFD Sender: No OFD packet to send [12:29:48]OFD Sender: No OFD packet to send [12:29:53]OFD Sender: No OFD packet to send [12:29:58]OFD Sender: No OFD packet to send [12:30:03]OFD Sender: No OFD packet to send [12:30:08]OFD Sender: No OFD packet to send [12:30:13]OFD Sender: No OFD packet to send [12:30:18]OFD Sender: No OFD packet to send [12:30:23]OFD Sender: No OFD packet to send [12:30:28]OFD Sender: No OFD packet to send [12:30:33]OFD Sender: No OFD packet to send [12:30:38]OFD Sender: No OFD packet to send [12:30:43]OFD Sender: No OFD packet to send [12:30:48]OFD Sender: No OFD packet to send [12:30:53]OFD Sender: No OFD packet to send [12:30:58]OFD Sender: No OFD packet to send [12:31:03]OFD Sender: No OFD packet to send [12:31:08]OFD Sender: No OFD packet to send [12:31:13]OFD Sender: No OFD packet to send [12:31:18]OFD Sender: No OFD packet to send [12:31:23]OFD Sender: No OFD packet to send [12:31:28]OFD Sender: No OFD packet to send [12:31:33]OFD Sender: No OFD packet to send [12:31:38]OFD Sender: No OFD packet to send [12:31:43]OFD Sender: No OFD packet to send [12:31:48]OFD Sender: No OFD packet to send [12:31:53]OFD Sender: No OFD packet to send [12:31:58]OFD Sender: No OFD packet to send [12:32:03]OFD Sender: No OFD packet to send [12:32:08]OFD Sender: No OFD packet to send [12:32:13]OFD Sender: No OFD packet to send [12:32:18]OFD Sender: No OFD packet to send [12:32:23]OFD Sender: No OFD packet to send [12:32:28]OFD Sender: No OFD packet to send [12:32:33]OFD Sender: No OFD packet to send [12:32:38]OFD Sender: No OFD packet to send [12:32:43]OFD Sender: No OFD packet to send [12:32:48]OFD Sender: No OFD packet to send [12:32:53]OFD Sender: No OFD packet to send [12:32:58]OFD Sender: No OFD packet to send [12:33:03]OFD Sender: No OFD packet to send [12:33:08]OFD Sender: No OFD packet to send [12:33:13]OFD Sender: No OFD packet to send [12:33:18]OFD Sender: No OFD packet to send [12:33:23]OFD Sender: No OFD packet to send [12:33:28]OFD Sender: No OFD packet to send [12:33:33]OFD Sender: No OFD packet to send [12:33:38]OFD Sender: No OFD packet to send [12:33:43]OFD Sender: No OFD packet to send [12:33:48]OFD Sender: No OFD packet to send [12:33:53]OFD Sender: No OFD packet to send [12:33:58]OFD Sender: No OFD packet to send [12:34:03]OFD Sender: No OFD packet to send [12:34:08]OFD Sender: No OFD packet to send [12:34:13]OFD Sender: No OFD packet to send [12:34:18]OFD Sender: No OFD packet to send [12:34:23]OFD Sender: No OFD packet to send [12:34:28]OFD Sender: No OFD packet to send [12:34:33]OFD Sender: No OFD packet to send [12:34:38]OFD Sender: No OFD packet to send [12:34:43]OFD Sender: No OFD packet to send [12:34:48]OFD Sender: No OFD packet to send [12:34:53]OFD Sender: No OFD packet to send [12:34:58]OFD Sender: No OFD packet to send [12:35:03]OFD Sender: No OFD packet to send [12:35:08]OFD Sender: No OFD packet to send [12:35:13]OFD Sender: No OFD packet to send [12:35:18]OFD Sender: No OFD packet to send [12:35:23]OFD Sender: No OFD packet to send [12:35:28]OFD Sender: No OFD packet to send [12:35:33]OFD Sender: No OFD packet to send [12:35:38]OFD Sender: No OFD packet to send [12:35:43]OFD Sender: No OFD packet to send [12:35:48]OFD Sender: No OFD packet to send [12:35:53]OFD Sender: No OFD packet to send [12:35:58]OFD Sender: No OFD packet to send [12:36:03]OFD Sender: No OFD packet to send [12:36:08]OFD Sender: No OFD packet to send [12:36:13]OFD Sender: No OFD packet to send [12:36:18]OFD Sender: No OFD packet to send [12:36:23]OFD Sender: No OFD packet to send [12:36:28]OFD Sender: No OFD packet to send [12:36:33]OFD Sender: No OFD packet to send [12:36:38]OFD Sender: No OFD packet to send [12:36:43]OFD Sender: No OFD packet to send [12:36:48]OFD Sender: No OFD packet to send [12:36:53]OFD Sender: No OFD packet to send [12:36:58]OFD Sender: No OFD packet to send [12:37:03]OFD Sender: No OFD packet to send [12:37:08]OFD Sender: No OFD packet to send [12:37:13]OFD Sender: No OFD packet to send [12:37:18]OFD Sender: No OFD packet to send [12:37:23]OFD Sender: No OFD packet to send [12:37:28]OFD Sender: No OFD packet to send [12:37:33]OFD Sender: No OFD packet to send [12:37:38]OFD Sender: No OFD packet to send [12:37:43]OFD Sender: No OFD packet to send [12:37:48]OFD Sender: No OFD packet to send [12:37:53]OFD Sender: No OFD packet to send [12:37:58]OFD Sender: No OFD packet to send [12:38:03]OFD Sender: No OFD packet to send [12:38:08]OFD Sender: No OFD packet to send [12:38:14]OFD Sender: No OFD packet to send [12:38:19]OFD Sender: No OFD packet to send [12:38:24]OFD Sender: No OFD packet to send [12:38:29]OFD Sender: No OFD packet to send [12:38:34]OFD Sender: No OFD packet to send [12:38:39]OFD Sender: No OFD packet to send [12:38:44]OFD Sender: No OFD packet to send [12:38:49]OFD Sender: No OFD packet to send [12:38:54]OFD Sender: No OFD packet to send [12:38:59]OFD Sender: No OFD packet to send [12:39:04]OFD Sender: No OFD packet to send [12:39:09]OFD Sender: No OFD packet to send [12:39:14]OFD Sender: No OFD packet to send [12:39:19]OFD Sender: No OFD packet to send [12:39:24]OFD Sender: No OFD packet to send [12:39:29]OFD Sender: No OFD packet to send [12:39:34]OFD Sender: No OFD packet to send [12:39:39]OFD Sender: No OFD packet to send [12:39:44]OFD Sender: No OFD packet to send [12:39:49]OFD Sender: No OFD packet to send [12:39:54]OFD Sender: No OFD packet to send [12:39:59]OFD Sender: No OFD packet to send [12:40:04]OFD Sender: No OFD packet to send [12:40:09]OFD Sender: No OFD packet to send [12:40:14]OFD Sender: No OFD packet to send [12:40:19]OFD Sender: No OFD packet to send [12:40:24]OFD Sender: No OFD packet to send [12:40:29]OFD Sender: No OFD packet to send [12:40:34]OFD Sender: No OFD packet to send [12:40:39]OFD Sender: No OFD packet to send [12:40:44]OFD Sender: No OFD packet to send [12:40:49]OFD Sender: No OFD packet to send [12:40:54]OFD Sender: No OFD packet to send [12:40:59]OFD Sender: No OFD packet to send [12:41:04]OFD Sender: No OFD packet to send [12:41:09]OFD Sender: No OFD packet to send [12:41:14]OFD Sender: No OFD packet to send [12:41:19]OFD Sender: No OFD packet to send [12:41:24]OFD Sender: No OFD packet to send [12:41:29]OFD Sender: No OFD packet to send [12:41:34]OFD Sender: No OFD packet to send [12:41:39]OFD Sender: No OFD packet to send [12:41:44]OFD Sender: No OFD packet to send [12:41:49]OFD Sender: No OFD packet to send [12:41:54]OFD Sender: No OFD packet to send [12:41:59]OFD Sender: No OFD packet to send [12:42:04]OFD Sender: No OFD packet to send [12:42:09]OFD Sender: No OFD packet to send [12:42:14]OFD Sender: No OFD packet to send [12:42:19]OFD Sender: No OFD packet to send [12:42:24]OFD Sender: No OFD packet to send [12:42:29]OFD Sender: No OFD packet to send [12:42:34]OFD Sender: No OFD packet to send [12:42:39]OFD Sender: No OFD packet to send [12:42:44]OFD Sender: No OFD packet to send [12:42:49]OFD Sender: No OFD packet to send [12:42:54]OFD Sender: No OFD packet to send [12:42:59]OFD Sender: No OFD packet to send [12:43:04]OFD Sender: No OFD packet to send [12:43:09]OFD Sender: No OFD packet to send [12:43:14]OFD Sender: No OFD packet to send [12:43:19]OFD Sender: No OFD packet to send [12:43:24]OFD Sender: No OFD packet to send [12:43:29]OFD Sender: No OFD packet to send [12:43:34]OFD Sender: No OFD packet to send [12:43:39]OFD Sender: No OFD packet to send [12:43:40]accept exits with 7 [12:43:40]New connection [12:43:40]New thread 3067026788 created [12:43:40]Thread 3067170148 joined [12:43:40]Waiting for new connection... [12:43:40] Sock 7.Parse request [12:43:40]Sock 7.Check first char [12:43:40]Sock 7.First char is OK [12:43:40]request: POST /json_proto HTTP/1.0 [12:43:40]Method: POST [12:43:40]URL: /json_proto [12:43:40]Method is POST - this is cgi request [12:43:40]url: /json_proto [12:43:40]query_string will be loaded in cgi processing [12:43:40]execute_cgi json_proto POST (null) [12:43:40]execute_cgi path=json_proto method=POST [12:43:40]POST find Content-Length [12:43:40]Host: 172.17.36.131:8080 [12:43:40]Content-Length: 658 [12:43:40]Content-Type: application/json [12:43:40] [12:43:40]POST finish read [12:43:40]Found Content-Length = 658 [12:43:40]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100041", "tax_sys" : 0, "items" : [ { "code": "5449000054227", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 1\u043B", "price" : 113.00, "quantity" : 1.000, "sum" : 113.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 113.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:43:40]execute_script... [12:43:40]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100041", "tax_sys" : 0, "items" : [ { "code": "5449000054227", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 1\u043B", "price" : 113.00, "quantity" : 1.000, "sum" : 113.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 113.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:43:40]POST & json_proto [12:43:40]process_json_proto [12:43:40]json parsed OK: [12:43:40]protocol is kg_v1.0 [12:43:40]action value=close_receipt [12:43:40]process_action close_receipt [12:43:40]cmd_close_receipt [12:43:40]MH_GetDate [12:43:40]Write to MH i2c: F0 00 00 79 04 6C [12:43:40]Write i2c OK [12:43:40]MH_I2C_Read... [12:43:40]Read from MH i2c: F0 [12:43:40]MH_I2C_Read... [12:43:40]Read from MH i2c: F0 09 00 [12:43:40]MH_I2C_Read... [12:43:40]Read from MH i2c: F0 09 00 79 04 00 FE 0B 5F 66 A7 4C 98 65 33 [12:43:40]GetLastDocTimeStamp 1717503852 [12:43:40]current date 1717505022 [12:43:40]FM_GetShiftState [12:43:40]SAM_PROTO_GetShiftState [12:43:40]wFMCommunicate request_size=4 [12:43:40]MH_SAM_APDU [12:43:40]CAPDU: 80 13 01 00 [12:43:40]Write to MH i2c: E2 08 00 7A 04 80 13 01 00 00 00 00 00 FB [12:43:40]Write i2c OK [12:43:40]MH_I2C_Read... [12:43:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:43:40]Read from MH i2c: E2 [12:43:40]MH_I2C_Read... [12:43:40]Read from MH i2c: E2 0E 00 [12:43:40]MH_I2C_Read... [12:43:40]Read from MH i2c: E2 0E 00 7A 04 00 09 00 01 35 5B 5E 66 00 00 00 00 90 00 5B [12:43:40]RAPDU: 09 00 01 35 5B 5E 66 00 00 00 00 90 00 [12:43:40]wFMCommunicate OK [12:43:40]SAM_PROTO_GetShiftState done [12:43:40]FM_GetShiftState done [12:43:40]opened in 1717459765 [12:43:40]opened+sec_in_day 1717546165 [12:43:40]quantity*price = 11300 [12:43:40]sum+1 = 11301 [12:43:40]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 113.00 НСП 1% : 1.00 НДС 12% : 12.00 Наличными: 113.00 Безнал.: 0.00 Место: АЗС № 62 "Партнер Нефть" Адрес: 720001, г. Балыкчы, ул. Абдрахманова 325 Б, 42.462761, 76.214931 СНО: Общий режим Чек 23 04.06.2024 12:43 Смена: 368 ФФД: 1.0 ЗНМ: 0300000080 РНМ: 0000000000096838 Версия ККМ: 001 ФМ: 0000000000874859 ФД: 34679 ФПД: 233538644477961 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T124342&type=1&operation_type=1&fn_number=0000000000874859&fd_number=34679&fm=233538644477961&tin=02508201610067®Number=0000000000096838&sum=11300 0 [12:43:41]StoreToDocumentArchive [12:43:41]shift 368 fd 34679 [12:43:41]save to /storage/0368/doc_00034679 [12:43:41]save last doc name /storage/0368/doc_00034679 to /storage/kkm_last_doc_name [12:43:41]save OK [12:43:41]Clear old archive folders... [12:43:41]ProcessDocumentItem done err = 0, tmpTLVsize=278 [12:43:41]tlvbuf is 01B36210 [12:43:41]SAM_PROTO_ClearQueue [12:43:41]wFMCommunicate request_size=4 [12:43:41]MH_SAM_APDU [12:43:41]CAPDU: 80 09 00 00 [12:43:41]Write to MH i2c: E2 08 00 87 04 80 09 00 00 00 00 00 00 FD [12:43:41]Write i2c OK [12:43:41]MH_I2C_Read... [12:43:41]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:43:41]Read from MH i2c: E2 [12:43:41]MH_I2C_Read... [12:43:41]Read from MH i2c: E2 03 00 [12:43:41]MH_I2C_Read... [12:43:41]Read from MH i2c: E2 03 00 87 04 00 90 00 FF [12:43:41]RAPDU: 90 00 [12:43:41]wFMCommunicate OK [12:43:41]SAM_PROTO_ClearQueue done [12:43:41]KKMCreateOFDPacket [12:43:41]OFDProtocolAddRootSTLVToBuf [12:43:41]FM_MakeSignedData [12:43:41]FM_MakeSignedData [12:43:41]SAM_PROTO_SignData [12:43:41]wFMCommunicate request_size=4 [12:43:41]MH_SAM_APDU [12:43:41]CAPDU: 80 0D 01 02 [12:43:41]Write to MH i2c: E2 08 00 88 04 80 0D 01 02 00 00 00 00 05 [12:43:41]Write i2c OK [12:43:41]MH_I2C_Read... [12:43:41]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:43:41]Read from MH i2c: E2 [12:43:41]MH_I2C_Read... [12:43:41]Read from MH i2c: E2 03 00 [12:43:41]MH_I2C_Read... [12:43:41]Read from MH i2c: E2 03 00 88 04 00 90 00 00 [12:43:41]RAPDU: 90 00 [12:43:41]wFMCommunicate OK [12:43:41]wFMCommunicate request_size=255 [12:43:41]MH_SAM_APDU [12:43:41]CAPDU: 80 0D 02 02 FA 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 2C 00 00 00 00 13 04 06 00 24 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 24 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 64 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B0 04 00 00 00 00 07 04 06 00 24 2C 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 FE 0B 5F 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 30 30 [12:43:41]Write to MH i2c: E2 02 01 89 04 80 0D 02 02 FA 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 2C 00 00 00 00 13 04 06 00 24 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 24 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 64 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B0 04 00 00 00 00 07 04 06 00 24 2C 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 FE 0B 5F 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 30 30 00 00 B5 [12:43:41]Write i2c OK [12:43:41]MH_I2C_Read... [12:43:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:43:41]Read from MH i2c: E2 [12:43:41]MH_I2C_Read... [12:43:41]Read from MH i2c: E2 03 00 [12:43:41]MH_I2C_Read... [12:43:41]Read from MH i2c: E2 03 00 89 04 00 90 00 01 [12:43:41]RAPDU: 90 00 [12:43:41]wFMCommunicate OK [12:43:41]wFMCommunicate request_size=37 [12:43:41]MH_SAM_APDU [12:43:41]CAPDU: 80 0D 02 02 20 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 77 87 00 00 35 04 06 00 D4 66 F3 F2 08 09 [12:43:41]Write to MH i2c: E2 28 00 8A 04 80 0D 02 02 20 00 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 77 87 00 00 35 04 06 00 D4 66 F3 F2 08 09 00 00 96 [12:43:41]Write i2c OK [12:43:41]MH_I2C_Read... [12:43:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:43:41]Read from MH i2c: E2 [12:43:41]MH_I2C_Read... [12:43:41]Read from MH i2c: E2 03 00 [12:43:41]MH_I2C_Read... [12:43:41]Read from MH i2c: E2 03 00 8A 04 00 90 00 02 [12:43:41]RAPDU: 90 00 [12:43:41]wFMCommunicate OK [12:43:41]wFMCommunicate request_size=4 [12:43:41]MH_SAM_APDU [12:43:41]CAPDU: 80 0D 03 02 [12:43:41]Write to MH i2c: E2 08 00 8B 04 80 0D 03 02 00 00 00 00 0A [12:43:41]Write i2c OK [12:43:41]MH_I2C_Read... [12:43:41]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:43:41]Read from MH i2c: E2 [12:43:41]MH_I2C_Read... [12:43:41]Read from MH i2c: E2 0B 00 [12:43:41]MH_I2C_Read... [12:43:41]Read from MH i2c: E2 0B 00 8B 04 00 A5 48 AA 6F 31 50 4C B1 90 00 8F [12:43:41]RAPDU: A5 48 AA 6F 31 50 4C B1 90 00 [12:43:41]wFMCommunicate OK [12:43:41]SAM_PROTO_SignData done [12:43:41]FM_MakeSignedData done [12:43:41]CreateOFDProtocolMessage [12:43:41]wFMCommunicate request_size=4 [12:43:41]MH_SAM_APDU [12:43:41]CAPDU: 80 11 00 00 [12:43:41]Write to MH i2c: E2 08 00 8C 04 80 11 00 00 00 00 00 00 0A [12:43:41]Write i2c OK [12:43:41]MH_I2C_Read... [12:43:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:43:41]Read from MH i2c: E2 [12:43:41]MH_I2C_Read... [12:43:41]Read from MH i2c: E2 17 00 [12:43:41]MH_I2C_Read... [12:43:41]Read from MH i2c: E2 17 00 8C 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 66 [12:43:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 [12:43:41]wFMCommunicate OK [12:43:41]CreateOFDProtocolMessage done [12:43:41]OFDSenderStorePacket 34679 [12:43:41]StoreOFDPacket docnum=34679 [12:43:41]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 2A 01 00 00 87 DF 22 01 DB F7 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 2C 00 00 00 00 13 04 06 00 24 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 24 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 64 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B0 04 00 00 00 00 07 04 06 00 24 2C 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 FE 0B 5F 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 77 87 00 00 35 04 06 00 D4 66 F3 F2 08 09 A5 48 AA 6F 31 50 4C B1 [12:43:41]CheckFolder [12:43:41]dirname=/storage/ofd_packets [12:43:41]CheckFolder done [12:43:41]ProducePacketName [12:43:41]name=ofd_packets/00034679 [12:43:41]NVStorageSaveData ofd_packets/00034679 [12:43:41]File name is /storage/ofd_packets/00034679 [12:43:41]Write 328 bytes [12:43:41]NVStorageSaveData done [12:43:41]OFDSenderStorePacket done [12:43:41]KKMCreateOFDPacket done [12:43:41]NVStorageSaveData kkm_last_timestamp [12:43:41]File name is /storage/kkm_last_timestamp [12:43:41]Write 4 bytes [12:43:41]NVStorageSaveData done [12:43:41]ExternCall_PrintAddStr [12:43:41]wPrintStart [12:43:41]Write to MH i2c: 01 00 00 8D 04 91 [12:43:41]Write i2c OK [12:43:41]MH_I2C_Read... [12:43:41]Read from MH i2c: 01 [12:43:41]MH_I2C_Read... [12:43:42]Read from MH i2c: 01 07 00 [12:43:42]MH_I2C_Read... [12:43:42]Read from MH i2c: 01 07 00 8D 04 00 00 00 00 00 FF 0F A6 [12:43:42]RasterBufferAndPrint [12:43:42]line Счет N : (3)100041 [12:43:42]line ИНН: 02508201610067 [12:43:42]line Контрольно-Кассовый Чек [12:43:42]line ПРОДАЖА [12:43:42]line Товар: 5449000054227 [12:43:42]line Напиток Кока-Кола 1л [12:43:42]line 1.000 * 113.00 [12:43:42]line = 113.00 [12:43:42]line НДС 12% НСП 1% [12:43:42]line > о реализуемом товаре [12:43:42]line ИТОГО: 113.00 [12:43:42]line НСП 1% : 1.00 [12:43:42]line НДС 12% : 12.00 [12:43:42]line Наличными: 113.00 [12:43:42]line Безнал.: 0.00 [12:43:42]line Место: АЗС № 62 "Партнер Нефть" [12:43:42]line Адрес: 720001, г. Балыкчы, ул. Абдрахманова 325 Б, 42.462761, 76.214931 [12:43:42]line СНО: Общий режим [12:43:42]line Чек 23 04.06.2024 12:43 [12:43:42]line Смена: 368 ФФД: 1.0 [12:43:42]line ЗНМ: 0300000080 [12:43:42]line РНМ: 0000000000096838 [12:43:42]line Версия ККМ: 001 [12:43:42]line ФМ: 0000000000874859 [12:43:42]line ФД: 34679 [12:43:42]line ФПД: 233538644477961 [12:43:42]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T124342&type=1&operation_type=1&fn_number=0000000000874859&fd_number=34679&fm=233538644477961&tin=02508201610067®Number=0000000000096838&sum=11300 [12:43:42]line 0 [12:43:42]OFD Sender: Processing packet 34679 [packets to send 17, broken 16] [12:43:42]ProducePacketName [12:43:42]name=ofd_packets/00034679 [12:43:42]OFD Sender: To server: pG, [12:43:42]CommunicateWithHost lk.salyk.kg:30040 [12:43:42]ConnectInit lk.salyk.kg [12:43:42]written 0, free lines is 4095 [12:43:42]Connected sock=9 [12:43:42]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 2A 01 00 00 87 DF 22 01 DB F7 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 2C 00 00 00 00 13 04 06 00 24 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 24 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 64 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B0 04 00 00 00 00 07 04 06 00 24 2C 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 FE 0B 5F 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 77 87 00 00 35 04 06 00 D4 66 F3 F2 08 09 A5 48 AA 6F 31 50 4C B1 [12:43:42]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 4F 00 00 00 5E C8 47 00 04 0A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 77 87 00 00 F4 03 04 00 3E B6 5E 66 B6 04 01 00 00 EC AC 90 56 C8 32 C5 C8 [12:43:42]CommunicateWithHost err = 0 [12:43:42]CheckOFDResponse [12:43:42]1017 (14) - 77093643461234 [12:43:42]1041 (16) - 0000000000874859 [12:43:42]1040 (4) - 34679 [12:43:42]1012 (4) - 04.06.2024 06:37 [12:43:42]1206 (1) - 0 [12:43:42]OFD Sender: Remove packet 34679 [12:43:42]ProducePacketName [12:43:42]name=ofd_packets/00034679 [12:43:42]NVStorageDeleteData [12:43:42]Write to MH i2c: 01 00 00 B5 04 B9 [12:43:42]Write i2c OK [12:43:42]MH_I2C_Read... [12:43:42]Read from MH i2c: 01 [12:43:42]MH_I2C_Read... [12:43:42]Read from MH i2c: 01 07 00 [12:43:42]MH_I2C_Read... [12:43:42]Read from MH i2c: 01 07 00 B5 04 00 00 00 00 00 16 0D E3 [12:43:42]RasterBufferAndPrint [12:43:42]line [12:43:42]line [12:43:42]line [12:43:42]line [12:43:42]line [12:43:42]written 0, free lines is 3358 [12:43:42]MH_Cut [12:43:42]Write to MH i2c: D1 01 00 BC 04 01 92 [12:43:42]Write i2c OK [12:43:42]MH_I2C_Read... [12:43:42]Read from MH i2c: D1 [12:43:42]MH_I2C_Read... [12:43:42]Read from MH i2c: D1 01 00 [12:43:42]MH_I2C_Read... [12:43:42]Read from MH i2c: D1 01 00 BC 04 00 91 [12:43:42]Write to MH i2c: 01 00 00 BD 04 C1 [12:43:42]Write i2c OK [12:43:42]MH_I2C_Read... [12:43:43]OFD Sender: No OFD packet to send [12:43:43]*** Cut start [12:43:43]*** Partial cut [12:43:43]*** CUTSNS_PIN = 1 [12:43:43]*** CUTSNS_PIN = 0 [12:43:43]*** Brake cut motor [12:43:44]Read from MH i2c: 01 [12:43:44]MH_I2C_Read... [12:43:44]*** Stop cut motor [12:43:44]*** Cut end [12:43:44]Read from MH i2c: 01 07 00 [12:43:44]MH_I2C_Read... [12:43:44]Read from MH i2c: 01 07 00 BD 04 00 00 00 00 00 FF 0F D6 [12:43:44]process_action close_receipt done [12:43:44]requested_data is exist [12:43:44]produce_requested_data [12:43:44]requested_item fm.sn is exist - process it [12:43:44]wFMCommunicate request_size=4 [12:43:44]MH_SAM_APDU [12:43:44]CAPDU: 80 11 00 00 [12:43:44]Write to MH i2c: E2 08 00 BE 04 80 11 00 00 00 00 00 00 3C [12:43:44]Write i2c OK [12:43:44]MH_I2C_Read... [12:43:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:43:44]Read from MH i2c: E2 [12:43:44]MH_I2C_Read... [12:43:44]Read from MH i2c: E2 17 00 [12:43:44]MH_I2C_Read... [12:43:44]Read from MH i2c: E2 17 00 BE 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 98 [12:43:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 [12:43:44]wFMCommunicate OK [12:43:44]requested_item fd.num is exist - process it [12:43:44]SAM_PROTO_GetFieldsCounters [12:43:44]wFMCommunicate request_size=4 [12:43:44]MH_SAM_APDU [12:43:44]CAPDU: 80 13 00 00 [12:43:44]Write to MH i2c: E2 08 00 BF 04 80 13 00 00 00 00 00 00 3F [12:43:44]Write i2c OK [12:43:44]MH_I2C_Read... [12:43:44]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:43:44]Read from MH i2c: E2 [12:43:44]MH_I2C_Read... [12:43:44]Read from MH i2c: E2 62 00 [12:43:44]MH_I2C_Read... [12:43:44]Read from MH i2c: E2 62 00 BF 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 10 04 04 00 77 87 00 00 0E 04 04 00 70 01 00 00 12 04 04 00 17 00 00 00 5E 04 04 00 17 00 00 00 57 04 04 00 18 00 00 00 19 04 04 00 00 00 00 00 90 00 26 [12:43:44]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 10 04 04 00 77 87 00 00 0E 04 04 00 70 01 00 00 12 04 04 00 17 00 00 00 5E 04 04 00 17 00 00 00 57 04 04 00 18 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:43:44]wFMCommunicate OK [12:43:44]SAM_PROTO_GetFieldsCounters done [12:43:44]requested_item shift.num is exist - process it [12:43:44]requested_item shift.opened is exist - process it [12:43:44]req_shift_opened [12:43:44]FM_GetShiftState [12:43:44]SAM_PROTO_GetShiftState [12:43:44]wFMCommunicate request_size=4 [12:43:44]MH_SAM_APDU [12:43:44]CAPDU: 80 13 01 00 [12:43:44]Write to MH i2c: E2 08 00 C0 04 80 13 01 00 00 00 00 00 41 [12:43:44]Write i2c OK [12:43:44]MH_I2C_Read... [12:43:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:43:44]Read from MH i2c: E2 [12:43:44]MH_I2C_Read... [12:43:44]Read from MH i2c: E2 0E 00 [12:43:44]MH_I2C_Read... [12:43:44]Read from MH i2c: E2 0E 00 C0 04 00 09 00 01 35 5B 5E 66 00 00 00 00 90 00 A1 [12:43:44]RAPDU: 09 00 01 35 5B 5E 66 00 00 00 00 90 00 [12:43:44]wFMCommunicate OK [12:43:44]SAM_PROTO_GetShiftState done [12:43:44]FM_GetShiftState done [12:43:44]req_shift_opened done [12:43:44]requested_item shift.open_date is exist - process it [12:43:44]req_shift_open_date [12:43:44]req_shift_open_date done [12:43:44]produce_requested_data done [12:43:44]produce_requested_data return {"fm.sn":"0000000000874859","fd.num":34679,"shift.num":368,"shift.opened":1,"shift.open_date":1717459765} [12:43:44]process_action_free close_receipt [12:43:44]json_value_free [12:43:44]json_value_free done [12:43:44]process_json_proto returns [12:43:44]Send response to host [12:43:44]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874859","fd.num":34679,"shift.num":368,"shift.opened":1,"shift.open_date":1717459765}}} [12:43:44]free response buf [12:43:44]execute_script done [12:43:44]execute_script returns [12:43:44]free content buf [12:43:44]Sock 7.Close socket [12:43:44]Sock 7.Thread stoped [12:43:48]OFD Sender: No OFD packet to send [12:43:53]OFD Sender: No OFD packet to send [12:43:58]OFD Sender: No OFD packet to send [12:44:03]OFD Sender: No OFD packet to send [12:44:08]OFD Sender: No OFD packet to send [12:44:13]OFD Sender: No OFD packet to send [12:44:18]OFD Sender: No OFD packet to send [12:44:23]OFD Sender: No OFD packet to send [12:44:28]OFD Sender: No OFD packet to send [12:44:33]OFD Sender: No OFD packet to send [12:44:38]OFD Sender: No OFD packet to send [12:44:43]OFD Sender: No OFD packet to send [12:44:48]OFD Sender: No OFD packet to send [12:44:53]OFD Sender: No OFD packet to send [12:44:58]OFD Sender: No OFD packet to send [12:45:03]OFD Sender: No OFD packet to send [12:45:08]OFD Sender: No OFD packet to send [12:45:13]OFD Sender: No OFD packet to send [12:45:18]OFD Sender: No OFD packet to send [12:45:23]OFD Sender: No OFD packet to send [12:45:28]OFD Sender: No OFD packet to send [12:45:33]OFD Sender: No OFD packet to send [12:45:38]OFD Sender: No OFD packet to send [12:45:43]OFD Sender: No OFD packet to send [12:45:48]OFD Sender: No OFD packet to send [12:45:53]OFD Sender: No OFD packet to send [12:45:58]OFD Sender: No OFD packet to send [12:46:03]OFD Sender: No OFD packet to send [12:46:08]OFD Sender: No OFD packet to send [12:46:13]OFD Sender: No OFD packet to send [12:46:18]OFD Sender: No OFD packet to send [12:46:23]OFD Sender: No OFD packet to send [12:46:28]OFD Sender: No OFD packet to send [12:46:33]OFD Sender: No OFD packet to send [12:46:38]OFD Sender: No OFD packet to send [12:46:43]OFD Sender: No OFD packet to send [12:46:48]OFD Sender: No OFD packet to send [12:46:53]OFD Sender: No OFD packet to send [12:46:58]OFD Sender: No OFD packet to send [12:47:03]OFD Sender: No OFD packet to send [12:47:08]OFD Sender: No OFD packet to send [12:47:13]OFD Sender: No OFD packet to send [12:47:18]OFD Sender: No OFD packet to send [12:47:23]OFD Sender: No OFD packet to send [12:47:28]OFD Sender: No OFD packet to send [12:47:33]OFD Sender: No OFD packet to send [12:47:38]OFD Sender: No OFD packet to send [12:47:43]OFD Sender: No OFD packet to send [12:47:48]OFD Sender: No OFD packet to send [12:47:53]OFD Sender: No OFD packet to send [12:47:58]OFD Sender: No OFD packet to send [12:48:03]OFD Sender: No OFD packet to send [12:48:08]OFD Sender: No OFD packet to send [12:48:13]OFD Sender: No OFD packet to send [12:48:18]OFD Sender: No OFD packet to send [12:48:23]OFD Sender: No OFD packet to send [12:48:28]OFD Sender: No OFD packet to send [12:48:33]OFD Sender: No OFD packet to send [12:48:38]OFD Sender: No OFD packet to send [12:48:43]OFD Sender: No OFD packet to send [12:48:48]OFD Sender: No OFD packet to send [12:48:53]OFD Sender: No OFD packet to send [12:48:58]OFD Sender: No OFD packet to send [12:49:03]OFD Sender: No OFD packet to send [12:49:08]OFD Sender: No OFD packet to send [12:49:13]OFD Sender: No OFD packet to send [12:49:18]OFD Sender: No OFD packet to send [12:49:23]OFD Sender: No OFD packet to send [12:49:28]OFD Sender: No OFD packet to send [12:49:33]OFD Sender: No OFD packet to send [12:49:38]OFD Sender: No OFD packet to send [12:49:43]OFD Sender: No OFD packet to send [12:49:48]OFD Sender: No OFD packet to send [12:49:53]OFD Sender: No OFD packet to send [12:49:58]OFD Sender: No OFD packet to send [12:50:03]OFD Sender: No OFD packet to send [12:50:08]OFD Sender: No OFD packet to send [12:50:13]OFD Sender: No OFD packet to send [12:50:18]OFD Sender: No OFD packet to send [12:50:23]OFD Sender: No OFD packet to send [12:50:28]OFD Sender: No OFD packet to send [12:50:33]OFD Sender: No OFD packet to send [12:50:38]OFD Sender: No OFD packet to send [12:50:43]OFD Sender: No OFD packet to send [12:50:48]OFD Sender: No OFD packet to send [12:50:53]OFD Sender: No OFD packet to send [12:50:58]OFD Sender: No OFD packet to send [12:51:03]OFD Sender: No OFD packet to send [12:51:08]OFD Sender: No OFD packet to send [12:51:13]OFD Sender: No OFD packet to send [12:51:18]OFD Sender: No OFD packet to send [12:51:23]OFD Sender: No OFD packet to send [12:51:28]OFD Sender: No OFD packet to send [12:51:33]OFD Sender: No OFD packet to send [12:51:38]OFD Sender: No OFD packet to send [12:51:43]OFD Sender: No OFD packet to send [12:51:48]OFD Sender: No OFD packet to send [12:51:53]OFD Sender: No OFD packet to send [12:51:58]OFD Sender: No OFD packet to send [12:52:03]OFD Sender: No OFD packet to send [12:52:08]OFD Sender: No OFD packet to send [12:52:13]OFD Sender: No OFD packet to send [12:52:18]OFD Sender: No OFD packet to send [12:52:23]OFD Sender: No OFD packet to send [12:52:28]OFD Sender: No OFD packet to send [12:52:33]OFD Sender: No OFD packet to send [12:52:38]OFD Sender: No OFD packet to send [12:52:43]OFD Sender: No OFD packet to send [12:52:48]OFD Sender: No OFD packet to send [12:52:53]OFD Sender: No OFD packet to send [12:52:58]OFD Sender: No OFD packet to send [12:53:03]OFD Sender: No OFD packet to send [12:53:08]OFD Sender: No OFD packet to send [12:53:13]OFD Sender: No OFD packet to send [12:53:18]OFD Sender: No OFD packet to send [12:53:23]OFD Sender: No OFD packet to send [12:53:28]OFD Sender: No OFD packet to send [12:53:33]OFD Sender: No OFD packet to send [12:53:38]OFD Sender: No OFD packet to send [12:53:42]accept exits with 10 [12:53:42]New connection [12:53:42]New thread 3067170148 created [12:53:42]Thread 3067026788 joined [12:53:42]Waiting for new connection... [12:53:42] Sock 10.Parse request [12:53:42]Sock 10.Check first char [12:53:42]Sock 10.First char is OK [12:53:42]request: POST /json_proto HTTP/1.0 [12:53:42]Method: POST [12:53:42]URL: /json_proto [12:53:42]Method is POST - this is cgi request [12:53:42]url: /json_proto [12:53:42]query_string will be loaded in cgi processing [12:53:42]execute_cgi json_proto POST (null) [12:53:42]execute_cgi path=json_proto method=POST [12:53:42]POST find Content-Length [12:53:42]Host: 172.17.36.131:8080 [12:53:42]Content-Length: 891 [12:53:42]Content-Type: application/json [12:53:42] [12:53:42]POST finish read [12:53:42]Found Content-Length = 891 [12:53:42]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100042", "tax_sys" : 0, "items" : [ { "code": "4640030092499", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE SENSE Himalaya", "price" : 138.00, "quantity" : 1.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4860019001339", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u0440\u0436\u043E\u043C\u0438 0,33\u043B \u0441\u0442", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 248.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:53:42]execute_script... [12:53:42]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100042", "tax_sys" : 0, "items" : [ { "code": "4640030092499", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE SENSE Himalaya", "price" : 138.00, "quantity" : 1.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4860019001339", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u0440\u0436\u043E\u043C\u0438 0,33\u043B \u0441\u0442", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 248.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:53:42]POST & json_proto [12:53:42]process_json_proto [12:53:42]json parsed OK: [12:53:42]protocol is kg_v1.0 [12:53:42]action value=close_receipt [12:53:42]process_action close_receipt [12:53:42]cmd_close_receipt [12:53:42]MH_GetDate [12:53:42]Write to MH i2c: F0 00 00 C1 04 B4 [12:53:42]Write i2c OK [12:53:42]MH_I2C_Read... [12:53:42]Read from MH i2c: F0 [12:53:42]MH_I2C_Read... [12:53:42]Read from MH i2c: F0 09 00 [12:53:42]MH_I2C_Read... [12:53:42]Read from MH i2c: F0 09 00 C1 04 00 58 0E 5F 66 A7 4C 98 65 D8 [12:53:42]GetLastDocTimeStamp 1717505022 [12:53:42]current date 1717505624 [12:53:42]FM_GetShiftState [12:53:42]SAM_PROTO_GetShiftState [12:53:42]wFMCommunicate request_size=4 [12:53:42]MH_SAM_APDU [12:53:42]CAPDU: 80 13 01 00 [12:53:42]Write to MH i2c: E2 08 00 C2 04 80 13 01 00 00 00 00 00 43 [12:53:42]Write i2c OK [12:53:42]MH_I2C_Read... [12:53:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:53:42]Read from MH i2c: E2 [12:53:42]MH_I2C_Read... [12:53:42]Read from MH i2c: E2 0E 00 [12:53:42]MH_I2C_Read... [12:53:42]Read from MH i2c: E2 0E 00 C2 04 00 09 00 01 35 5B 5E 66 00 00 00 00 90 00 A3 [12:53:42]RAPDU: 09 00 01 35 5B 5E 66 00 00 00 00 90 00 [12:53:42]wFMCommunicate OK [12:53:42]SAM_PROTO_GetShiftState done [12:53:42]FM_GetShiftState done [12:53:42]opened in 1717459765 [12:53:42]opened+sec_in_day 1717546165 [12:53:42]quantity*price = 13800 [12:53:42]sum+1 = 13801 [12:53:42]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4860019001339 Вода Боржоми 0,33л ст 1.000 * 110.00 = 110.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 248.00 НСП 1% : 2.19 НДС 12% : 26.33 Наличными: 248.00 Безнал.: 0.00 Место: АЗС № 62 "Партнер Нефть" Адрес: 720001, г. Балыкчы, ул. Абдрахманова 325 Б, 42.462761, 76.214931 СНО: Общий режим Чек 24 04.06.2024 12:53 Смена: 368 ФФД: 1.0 ЗНМ: 0300000080 РНМ: 0000000000096838 Версия ККМ: 001 ФМ: 0000000000874859 ФД: 34680 ФПД: 55233677174234 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T125344&type=1&operation_type=1&fn_number=0000000000874859&fd_number=34680&fm=55233677174234&tin=02508201610067®Number=0000000000096838&sum=24800 0 [12:53:43]StoreToDocumentArchive [12:53:43]shift 368 fd 34680 [12:53:43]save to /storage/0368/doc_00034680 [12:53:43]save last doc name /storage/0368/doc_00034680 to /storage/kkm_last_doc_name [12:53:43]save OK [12:53:43]Clear old archive folders... [12:53:43]ProcessDocumentItem done err = 0, tmpTLVsize=385 [12:53:43]tlvbuf is B6EDD920 [12:53:43]SAM_PROTO_ClearQueue [12:53:43]wFMCommunicate request_size=4 [12:53:43]MH_SAM_APDU [12:53:43]CAPDU: 80 09 00 00 [12:53:43]Write to MH i2c: E2 08 00 CF 04 80 09 00 00 00 00 00 00 45 [12:53:43]Write i2c OK [12:53:43]MH_I2C_Read... [12:53:43]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:53:43]Read from MH i2c: E2 [12:53:43]MH_I2C_Read... [12:53:43]Read from MH i2c: E2 03 00 [12:53:43]MH_I2C_Read... [12:53:43]Read from MH i2c: E2 03 00 CF 04 00 90 00 47 [12:53:43]RAPDU: 90 00 [12:53:43]wFMCommunicate OK [12:53:43]SAM_PROTO_ClearQueue done [12:53:43]KKMCreateOFDPacket [12:53:43]OFDProtocolAddRootSTLVToBuf [12:53:43]FM_MakeSignedData [12:53:43]FM_MakeSignedData [12:53:43]SAM_PROTO_SignData [12:53:43]wFMCommunicate request_size=4 [12:53:43]MH_SAM_APDU [12:53:43]CAPDU: 80 0D 01 02 [12:53:43]Write to MH i2c: E2 08 00 D0 04 80 0D 01 02 00 00 00 00 4D [12:53:43]Write i2c OK [12:53:43]MH_I2C_Read... [12:53:43]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:53:43]Read from MH i2c: E2 [12:53:43]MH_I2C_Read... [12:53:43]Read from MH i2c: E2 03 00 [12:53:43]MH_I2C_Read... [12:53:43]Read from MH i2c: E2 03 00 D0 04 00 90 00 48 [12:53:43]RAPDU: 90 00 [12:53:43]wFMCommunicate OK [12:53:43]wFMCommunicate request_size=255 [12:53:43]MH_SAM_APDU [12:53:43]CAPDU: 80 0D 02 02 FA 03 00 81 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 32 34 39 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 53 45 4E 53 45 20 48 69 6D 61 6C 61 79 61 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 67 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 33 33 39 06 04 23 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D1 80 D0 B6 D0 BE D0 BC D0 B8 20 30 2C 33 33 D0 BB 20 D1 81 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 60 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 [12:53:43]Write to MH i2c: E2 02 01 D1 04 80 0D 02 02 FA 00 03 00 81 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 32 34 39 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 53 45 4E 53 45 20 48 69 6D 61 6C 61 79 61 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 67 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 33 33 39 06 04 23 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D1 80 D0 B6 D0 BE D0 BC D0 B8 20 30 2C 33 33 D0 BB 20 D1 81 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 60 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 23 [12:53:43]Write i2c OK [12:53:43]MH_I2C_Read... [12:53:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:53:44]Read from MH i2c: E2 [12:53:44]MH_I2C_Read... [12:53:44]Read from MH i2c: E2 03 00 [12:53:44]MH_I2C_Read... [12:53:44]Read from MH i2c: E2 03 00 D1 04 00 90 00 49 [12:53:44]RAPDU: 90 00 [12:53:44]wFMCommunicate OK [12:53:44]wFMCommunicate request_size=144 [12:53:44]MH_SAM_APDU [12:53:44]CAPDU: 80 0D 02 02 8B 00 DB 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 49 0A 00 00 00 00 07 04 06 00 E0 60 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 58 0E 5F 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 78 87 00 00 35 04 06 00 32 3C 17 B5 25 DA [12:53:44]Write to MH i2c: E2 93 00 D2 04 80 0D 02 02 8B 00 00 DB 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 49 0A 00 00 00 00 07 04 06 00 E0 60 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 58 0E 5F 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 78 87 00 00 35 04 06 00 32 3C 17 B5 25 DA 00 00 FF [12:53:44]Write i2c OK [12:53:44]MH_I2C_Read... [12:53:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:53:44]Read from MH i2c: E2 [12:53:44]MH_I2C_Read... [12:53:44]Read from MH i2c: E2 03 00 [12:53:44]MH_I2C_Read... [12:53:44]Read from MH i2c: E2 03 00 D2 04 00 90 00 4A [12:53:44]RAPDU: 90 00 [12:53:44]wFMCommunicate OK [12:53:44]wFMCommunicate request_size=4 [12:53:44]MH_SAM_APDU [12:53:44]CAPDU: 80 0D 03 02 [12:53:44]Write to MH i2c: E2 08 00 D3 04 80 0D 03 02 00 00 00 00 52 [12:53:44]Write i2c OK [12:53:44]MH_I2C_Read... [12:53:44]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:53:44]Read from MH i2c: E2 [12:53:44]MH_I2C_Read... [12:53:44]Read from MH i2c: E2 0B 00 [12:53:44]MH_I2C_Read... [12:53:44]Read from MH i2c: E2 0B 00 D3 04 00 73 FA 7A A9 35 B1 72 03 90 00 3E [12:53:44]RAPDU: 73 FA 7A A9 35 B1 72 03 90 00 [12:53:44]wFMCommunicate OK [12:53:44]SAM_PROTO_SignData done [12:53:44]FM_MakeSignedData done [12:53:44]CreateOFDProtocolMessage [12:53:44]wFMCommunicate request_size=4 [12:53:44]MH_SAM_APDU [12:53:44]CAPDU: 80 11 00 00 [12:53:44]Write to MH i2c: E2 08 00 D4 04 80 11 00 00 00 00 00 00 52 [12:53:44]Write i2c OK [12:53:44]MH_I2C_Read... [12:53:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:53:44]Read from MH i2c: E2 [12:53:44]MH_I2C_Read... [12:53:44]Read from MH i2c: E2 17 00 [12:53:44]MH_I2C_Read... [12:53:44]Read from MH i2c: E2 17 00 D4 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 AE [12:53:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 [12:53:44]wFMCommunicate OK [12:53:44]CreateOFDProtocolMessage done [12:53:44]OFDSenderStorePacket 34680 [12:53:44]StoreOFDPacket docnum=34680 [12:53:44]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 95 01 00 00 12 55 8D 01 C4 29 5A 03 01 00 03 00 81 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 32 34 39 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 53 45 4E 53 45 20 48 69 6D 61 6C 61 79 61 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 67 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 33 33 39 06 04 23 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D1 80 D0 B6 D0 BE D0 BC D0 B8 20 30 2C 33 33 D0 BB 20 D1 81 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 60 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DB 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 49 0A 00 00 00 00 07 04 06 00 E0 60 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 58 0E 5F 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 78 87 00 00 35 04 06 00 32 3C 17 B5 25 DA 73 FA 7A A9 35 B1 72 03 [12:53:44]CheckFolder [12:53:44]dirname=/storage/ofd_packets [12:53:44]CheckFolder done [12:53:44]ProducePacketName [12:53:44]name=ofd_packets/00034680 [12:53:44]NVStorageSaveData ofd_packets/00034680 [12:53:44]File name is /storage/ofd_packets/00034680 [12:53:44]Write 435 bytes [12:53:44]NVStorageSaveData done [12:53:44]OFDSenderStorePacket done [12:53:44]KKMCreateOFDPacket done [12:53:44]NVStorageSaveData kkm_last_timestamp [12:53:44]File name is /storage/kkm_last_timestamp [12:53:44]Write 4 bytes [12:53:44]NVStorageSaveData done [12:53:44]ExternCall_PrintAddStr [12:53:44]wPrintStart [12:53:44]Write to MH i2c: 01 00 00 D5 04 D9 [12:53:44]Write i2c OK [12:53:44]MH_I2C_Read... [12:53:44]Read from MH i2c: 01 [12:53:44]MH_I2C_Read... [12:53:44]Read from MH i2c: 01 07 00 [12:53:44]MH_I2C_Read... [12:53:44]Read from MH i2c: 01 07 00 D5 04 00 00 00 00 00 FF 0F EE [12:53:44]RasterBufferAndPrint [12:53:44]line Счет N : (3)100042 [12:53:44]line ИНН: 02508201610067 [12:53:44]line Контрольно-Кассовый Чек [12:53:44]line ПРОДАЖА [12:53:44]line Товар: 4640030092499 [12:53:44]line Сигареты ESSE SENSE Himalaya [12:53:44]line 1.000 * 138.00 [12:53:44]line = 138.00 [12:53:44]line НДС 12% НСП 1% [12:53:44]line > о реализуемом товаре [12:53:44]line Товар: 4860019001339 [12:53:44]line Вода Боржоми 0,33л ст [12:53:44]line 1.000 * 110.00 [12:53:44]line = 110.00 [12:53:44]line НДС 12% НСП 1% [12:53:44]line > о реализуемом товаре [12:53:44]line ИТОГО: 248.00 [12:53:44]line НСП 1% : 2.19 [12:53:44]line НДС 12% : 26.33 [12:53:44]line Наличными: 248.00 [12:53:44]line Безнал.: 0.00 [12:53:44]line Место: АЗС № 62 "Партнер Нефть" [12:53:44]line Адрес: 720001, г. Балыкчы, ул. Абдрахманова 325 Б, 42.462761, 76.214931 [12:53:44]line СНО: Общий режим [12:53:44]line Чек 24 04.06.2024 12:53 [12:53:44]line Смена: 368 ФФД: 1.0 [12:53:44]line ЗНМ: 0300000080 [12:53:44]line РНМ: 0000000000096838 [12:53:44]line Версия ККМ: 001 [12:53:44]line ФМ: 0000000000874859 [12:53:44]line ФД: 34680 [12:53:44]line ФПД: 55233677174234 [12:53:44]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T125344&type=1&operation_type=1&fn_number=0000000000874859&fd_number=34680&fm=55233677174234&tin=02508201610067®Number=0000000000096838&sum=24800 [12:53:44]line 0 [12:53:44]OFD Sender: Processing packet 34680 [packets to send 17, broken 16] [12:53:44]ProducePacketName [12:53:44]name=ofd_packets/00034680 [12:53:44]OFD Sender: To server: pG, [12:53:44]CommunicateWithHost lk.salyk.kg:30040 [12:53:44]ConnectInit lk.salyk.kg [12:53:44]written 0, free lines is 4095 [12:53:44]Connected sock=9 [12:53:44]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 95 01 00 00 12 55 8D 01 C4 29 5A 03 01 00 03 00 81 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 32 34 39 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 53 45 4E 53 45 20 48 69 6D 61 6C 61 79 61 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 67 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 33 33 39 06 04 23 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D1 80 D0 B6 D0 BE D0 BC D0 B8 20 30 2C 33 33 D0 BB 20 D1 81 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 60 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DB 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 49 0A 00 00 00 00 07 04 06 00 E0 60 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 58 0E 5F 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 78 87 00 00 35 04 06 00 32 3C 17 B5 25 DA 73 FA 7A A9 35 B1 72 03 [12:53:44]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 4F 00 00 00 EF 86 47 00 7A EF A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 78 87 00 00 F4 03 04 00 98 B8 5E 66 B6 04 01 00 00 6B 8B 7F 76 7F 86 9B 1B [12:53:44]CommunicateWithHost err = 0 [12:53:44]CheckOFDResponse [12:53:44]1017 (14) - 77093643461234 [12:53:44]1041 (16) - 0000000000874859 [12:53:44]1040 (4) - 34680 [12:53:44]1012 (4) - 04.06.2024 06:47 [12:53:44]1206 (1) - 0 [12:53:44]OFD Sender: Remove packet 34680 [12:53:44]ProducePacketName [12:53:44]name=ofd_packets/00034680 [12:53:44]NVStorageDeleteData [12:53:45]Write to MH i2c: 01 00 00 04 05 09 [12:53:45]Write i2c OK [12:53:45]MH_I2C_Read... [12:53:45]Read from MH i2c: 01 [12:53:45]MH_I2C_Read... [12:53:45]Read from MH i2c: 01 07 00 [12:53:45]MH_I2C_Read... [12:53:45]Read from MH i2c: 01 07 00 04 05 00 00 00 00 00 AC 0C C8 [12:53:45]RasterBufferAndPrint [12:53:45]line [12:53:45]line [12:53:45]line [12:53:45]line [12:53:45]line [12:53:45]written 0, free lines is 3250 [12:53:45]MH_Cut [12:53:45]Write to MH i2c: D1 01 00 0B 05 01 E2 [12:53:45]Write i2c OK [12:53:45]MH_I2C_Read... [12:53:45]Read from MH i2c: D1 [12:53:45]MH_I2C_Read... [12:53:45]Read from MH i2c: D1 01 00 [12:53:45]MH_I2C_Read... [12:53:45]Read from MH i2c: D1 01 00 0B 05 00 E1 [12:53:45]Write to MH i2c: 01 00 00 0C 05 11 [12:53:45]Write i2c OK [12:53:45]MH_I2C_Read... [12:53:45]OFD Sender: No OFD packet to send [12:53:45]*** Cut start [12:53:45]*** Partial cut [12:53:45]*** CUTSNS_PIN = 1 [12:53:45]*** CUTSNS_PIN = 0 [12:53:46]*** Brake cut motor [12:53:46]Read from MH i2c: 01 [12:53:46]MH_I2C_Read... [12:53:46]*** Stop cut motor [12:53:46]*** Cut end [12:53:46]Read from MH i2c: 01 07 00 [12:53:46]MH_I2C_Read... [12:53:46]Read from MH i2c: 01 07 00 0C 05 00 00 00 00 00 FF 0F 26 [12:53:46]process_action close_receipt done [12:53:46]requested_data is exist [12:53:46]produce_requested_data [12:53:46]requested_item fm.sn is exist - process it [12:53:46]wFMCommunicate request_size=4 [12:53:46]MH_SAM_APDU [12:53:46]CAPDU: 80 11 00 00 [12:53:46]Write to MH i2c: E2 08 00 0D 05 80 11 00 00 00 00 00 00 8C [12:53:46]Write i2c OK [12:53:46]MH_I2C_Read... [12:53:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:53:46]Read from MH i2c: E2 [12:53:46]MH_I2C_Read... [12:53:46]Read from MH i2c: E2 17 00 [12:53:46]MH_I2C_Read... [12:53:46]Read from MH i2c: E2 17 00 0D 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 E8 [12:53:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 [12:53:46]wFMCommunicate OK [12:53:46]requested_item fd.num is exist - process it [12:53:46]SAM_PROTO_GetFieldsCounters [12:53:46]wFMCommunicate request_size=4 [12:53:46]MH_SAM_APDU [12:53:46]CAPDU: 80 13 00 00 [12:53:46]Write to MH i2c: E2 08 00 0E 05 80 13 00 00 00 00 00 00 8F [12:53:46]Write i2c OK [12:53:46]MH_I2C_Read... [12:53:46]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:53:46]Read from MH i2c: E2 [12:53:46]MH_I2C_Read... [12:53:46]Read from MH i2c: E2 62 00 [12:53:46]MH_I2C_Read... [12:53:46]Read from MH i2c: E2 62 00 0E 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 10 04 04 00 78 87 00 00 0E 04 04 00 70 01 00 00 12 04 04 00 18 00 00 00 5E 04 04 00 18 00 00 00 57 04 04 00 19 00 00 00 19 04 04 00 00 00 00 00 90 00 7A [12:53:46]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 10 04 04 00 78 87 00 00 0E 04 04 00 70 01 00 00 12 04 04 00 18 00 00 00 5E 04 04 00 18 00 00 00 57 04 04 00 19 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:53:46]wFMCommunicate OK [12:53:46]SAM_PROTO_GetFieldsCounters done [12:53:46]requested_item shift.num is exist - process it [12:53:46]requested_item shift.opened is exist - process it [12:53:46]req_shift_opened [12:53:46]FM_GetShiftState [12:53:46]SAM_PROTO_GetShiftState [12:53:46]wFMCommunicate request_size=4 [12:53:46]MH_SAM_APDU [12:53:46]CAPDU: 80 13 01 00 [12:53:46]Write to MH i2c: E2 08 00 0F 05 80 13 01 00 00 00 00 00 91 [12:53:46]Write i2c OK [12:53:46]MH_I2C_Read... [12:53:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:53:46]Read from MH i2c: E2 [12:53:46]MH_I2C_Read... [12:53:46]Read from MH i2c: E2 0E 00 [12:53:46]MH_I2C_Read... [12:53:46]Read from MH i2c: E2 0E 00 0F 05 00 09 00 01 35 5B 5E 66 00 00 00 00 90 00 F1 [12:53:46]RAPDU: 09 00 01 35 5B 5E 66 00 00 00 00 90 00 [12:53:46]wFMCommunicate OK [12:53:46]SAM_PROTO_GetShiftState done [12:53:46]FM_GetShiftState done [12:53:46]req_shift_opened done [12:53:46]requested_item shift.open_date is exist - process it [12:53:46]req_shift_open_date [12:53:46]req_shift_open_date done [12:53:46]produce_requested_data done [12:53:46]produce_requested_data return {"fm.sn":"0000000000874859","fd.num":34680,"shift.num":368,"shift.opened":1,"shift.open_date":1717459765} [12:53:46]process_action_free close_receipt [12:53:46]json_value_free [12:53:46]json_value_free done [12:53:46]process_json_proto returns [12:53:46]Send response to host [12:53:46]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874859","fd.num":34680,"shift.num":368,"shift.opened":1,"shift.open_date":1717459765}}} [12:53:46]free response buf [12:53:46]execute_script done [12:53:46]execute_script returns [12:53:46]free content buf [12:53:46]Sock 10.Close socket [12:53:46]Sock 10.Thread stoped [12:53:50]OFD Sender: No OFD packet to send [12:53:55]OFD Sender: No OFD packet to send [12:54:00]OFD Sender: No OFD packet to send [12:54:05]OFD Sender: No OFD packet to send [12:54:10]OFD Sender: No OFD packet to send [12:54:15]OFD Sender: No OFD packet to send [12:54:20]OFD Sender: No OFD packet to send [12:54:25]OFD Sender: No OFD packet to send [12:54:30]OFD Sender: No OFD packet to send [12:54:35]OFD Sender: No OFD packet to send [12:54:40]OFD Sender: No OFD packet to send [12:54:45]OFD Sender: No OFD packet to send [12:54:50]OFD Sender: No OFD packet to send [12:54:55]OFD Sender: No OFD packet to send [12:55:00]OFD Sender: No OFD packet to send [12:55:05]OFD Sender: No OFD packet to send [12:55:10]OFD Sender: No OFD packet to send [12:55:15]OFD Sender: No OFD packet to send [12:55:20]OFD Sender: No OFD packet to send [12:55:25]OFD Sender: No OFD packet to send [12:55:30]OFD Sender: No OFD packet to send [12:55:35]OFD Sender: No OFD packet to send [12:55:40]OFD Sender: No OFD packet to send [12:55:45]OFD Sender: No OFD packet to send [12:55:50]OFD Sender: No OFD packet to send [12:55:55]OFD Sender: No OFD packet to send [12:56:00]OFD Sender: No OFD packet to send [12:56:05]OFD Sender: No OFD packet to send [12:56:10]OFD Sender: No OFD packet to send [12:56:15]OFD Sender: No OFD packet to send [12:56:20]OFD Sender: No OFD packet to send [12:56:25]OFD Sender: No OFD packet to send [12:56:30]OFD Sender: No OFD packet to send [12:56:35]OFD Sender: No OFD packet to send [12:56:40]OFD Sender: No OFD packet to send [12:56:45]OFD Sender: No OFD packet to send [12:56:50]OFD Sender: No OFD packet to send [12:56:55]OFD Sender: No OFD packet to send [12:57:00]OFD Sender: No OFD packet to send [12:57:05]OFD Sender: No OFD packet to send [12:57:10]OFD Sender: No OFD packet to send [12:57:15]OFD Sender: No OFD packet to send [12:57:20]OFD Sender: No OFD packet to send [12:57:25]OFD Sender: No OFD packet to send [12:57:30]OFD Sender: No OFD packet to send [12:57:35]OFD Sender: No OFD packet to send [12:57:40]OFD Sender: No OFD packet to send [12:57:45]OFD Sender: No OFD packet to send [12:57:50]OFD Sender: No OFD packet to send [12:57:55]OFD Sender: No OFD packet to send [12:58:00]OFD Sender: No OFD packet to send [12:58:05]OFD Sender: No OFD packet to send [12:58:10]OFD Sender: No OFD packet to send [12:58:15]OFD Sender: No OFD packet to send [12:58:20]OFD Sender: No OFD packet to send [12:58:25]OFD Sender: No OFD packet to send [12:58:30]OFD Sender: No OFD packet to send [12:58:35]OFD Sender: No OFD packet to send [12:58:40]OFD Sender: No OFD packet to send [12:58:45]OFD Sender: No OFD packet to send [12:58:50]OFD Sender: No OFD packet to send [12:58:55]OFD Sender: No OFD packet to send [12:59:00]OFD Sender: No OFD packet to send [12:59:05]OFD Sender: No OFD packet to send [12:59:10]OFD Sender: No OFD packet to send [12:59:15]OFD Sender: No OFD packet to send [12:59:20]OFD Sender: No OFD packet to send [12:59:25]OFD Sender: No OFD packet to send [12:59:30]OFD Sender: No OFD packet to send [12:59:35]OFD Sender: No OFD packet to send [12:59:40]OFD Sender: No OFD packet to send [12:59:45]OFD Sender: No OFD packet to send [12:59:50]OFD Sender: No OFD packet to send [12:59:55]OFD Sender: No OFD packet to send [13:00:00]OFD Sender: No OFD packet to send [13:00:05]OFD Sender: No OFD packet to send [13:00:10]OFD Sender: No OFD packet to send [13:00:15]OFD Sender: No OFD packet to send [13:00:20]OFD Sender: No OFD packet to send [13:00:25]OFD Sender: No OFD packet to send [13:00:30]OFD Sender: No OFD packet to send [13:00:35]OFD Sender: No OFD packet to send [13:00:40]OFD Sender: No OFD packet to send [13:00:45]OFD Sender: No OFD packet to send [13:00:50]OFD Sender: No OFD packet to send [13:00:55]OFD Sender: No OFD packet to send [13:01:00]OFD Sender: No OFD packet to send [13:01:05]OFD Sender: No OFD packet to send [13:01:10]OFD Sender: No OFD packet to send [13:01:15]OFD Sender: No OFD packet to send [13:01:20]OFD Sender: No OFD packet to send [13:01:25]OFD Sender: No OFD packet to send [13:01:30]OFD Sender: No OFD packet to send [13:01:35]OFD Sender: No OFD packet to send [13:01:40]OFD Sender: No OFD packet to send [13:01:45]OFD Sender: No OFD packet to send [13:01:50]OFD Sender: No OFD packet to send [13:01:55]OFD Sender: No OFD packet to send [13:02:00]OFD Sender: No OFD packet to send [13:02:05]OFD Sender: No OFD packet to send [13:02:10]OFD Sender: No OFD packet to send [13:02:15]OFD Sender: No OFD packet to send [13:02:20]OFD Sender: No OFD packet to send [13:02:25]OFD Sender: No OFD packet to send [13:02:30]OFD Sender: No OFD packet to send [13:02:35]OFD Sender: No OFD packet to send [13:02:40]OFD Sender: No OFD packet to send [13:02:45]OFD Sender: No OFD packet to send [13:02:50]OFD Sender: No OFD packet to send [13:02:55]OFD Sender: No OFD packet to send [13:03:00]OFD Sender: No OFD packet to send [13:03:05]OFD Sender: No OFD packet to send [13:03:10]OFD Sender: No OFD packet to send [13:03:15]OFD Sender: No OFD packet to send [13:03:20]OFD Sender: No OFD packet to send [13:03:25]OFD Sender: No OFD packet to send [13:03:30]OFD Sender: No OFD packet to send [13:03:35]OFD Sender: No OFD packet to send [13:03:40]OFD Sender: No OFD packet to send [13:03:45]OFD Sender: No OFD packet to send [13:03:50]OFD Sender: No OFD packet to send [13:03:55]OFD Sender: No OFD packet to send [13:04:00]OFD Sender: No OFD packet to send [13:04:05]OFD Sender: No OFD packet to send [13:04:10]OFD Sender: No OFD packet to send [13:04:15]OFD Sender: No OFD packet to send [13:04:20]OFD Sender: No OFD packet to send [13:04:25]OFD Sender: No OFD packet to send [13:04:30]OFD Sender: No OFD packet to send [13:04:35]OFD Sender: No OFD packet to send [13:04:40]OFD Sender: No OFD packet to send [13:04:45]OFD Sender: No OFD packet to send [13:04:50]OFD Sender: No OFD packet to send [13:04:55]OFD Sender: No OFD packet to send [13:05:00]OFD Sender: No OFD packet to send [13:05:05]OFD Sender: No OFD packet to send [13:05:10]OFD Sender: No OFD packet to send [13:05:16]OFD Sender: No OFD packet to send [13:05:21]OFD Sender: No OFD packet to send [13:05:26]OFD Sender: No OFD packet to send [13:05:31]OFD Sender: No OFD packet to send [13:05:36]OFD Sender: No OFD packet to send [13:05:41]OFD Sender: No OFD packet to send [13:05:46]OFD Sender: No OFD packet to send [13:05:51]OFD Sender: No OFD packet to send [13:05:56]OFD Sender: No OFD packet to send [13:06:01]OFD Sender: No OFD packet to send [13:06:06]OFD Sender: No OFD packet to send [13:06:11]OFD Sender: No OFD packet to send [13:06:16]OFD Sender: No OFD packet to send [13:06:21]OFD Sender: No OFD packet to send [13:06:26]OFD Sender: No OFD packet to send [13:06:31]OFD Sender: No OFD packet to send [13:06:36]OFD Sender: No OFD packet to send [13:06:41]OFD Sender: No OFD packet to send [13:06:46]OFD Sender: No OFD packet to send [13:06:51]OFD Sender: No OFD packet to send [13:06:56]OFD Sender: No OFD packet to send [13:07:01]OFD Sender: No OFD packet to send [13:07:06]OFD Sender: No OFD packet to send [13:07:11]OFD Sender: No OFD packet to send [13:07:16]OFD Sender: No OFD packet to send [13:07:21]OFD Sender: No OFD packet to send [13:07:26]OFD Sender: No OFD packet to send [13:07:31]OFD Sender: No OFD packet to send [13:07:36]OFD Sender: No OFD packet to send [13:07:41]OFD Sender: No OFD packet to send [13:07:46]OFD Sender: No OFD packet to send [13:07:51]OFD Sender: No OFD packet to send [13:07:56]OFD Sender: No OFD packet to send [13:08:01]OFD Sender: No OFD packet to send [13:08:06]OFD Sender: No OFD packet to send [13:08:11]OFD Sender: No OFD packet to send [13:08:16]OFD Sender: No OFD packet to send [13:08:21]OFD Sender: No OFD packet to send [13:08:26]OFD Sender: No OFD packet to send [13:08:31]OFD Sender: No OFD packet to send [13:08:36]OFD Sender: No OFD packet to send [13:08:41]OFD Sender: No OFD packet to send [13:08:46]OFD Sender: No OFD packet to send [13:08:51]OFD Sender: No OFD packet to send [13:08:56]OFD Sender: No OFD packet to send [13:09:01]OFD Sender: No OFD packet to send [13:09:06]OFD Sender: No OFD packet to send [13:09:11]OFD Sender: No OFD packet to send [13:09:16]OFD Sender: No OFD packet to send [13:09:21]OFD Sender: No OFD packet to send [13:09:26]OFD Sender: No OFD packet to send [13:09:31]OFD Sender: No OFD packet to send [13:09:36]OFD Sender: No OFD packet to send [13:09:41]OFD Sender: No OFD packet to send [13:09:46]OFD Sender: No OFD packet to send [13:09:50]accept exits with 7 [13:09:50]New connection [13:09:50]New thread 3067026788 created [13:09:50]Thread 3067170148 joined [13:09:50]Waiting for new connection... [13:09:50] Sock 7.Parse request [13:09:50]Sock 7.Check first char [13:09:50]Sock 7.First char is OK [13:09:50]request: POST /json_proto HTTP/1.0 [13:09:50]Method: POST [13:09:50]URL: /json_proto [13:09:50]Method is POST - this is cgi request [13:09:50]url: /json_proto [13:09:50]query_string will be loaded in cgi processing [13:09:50]execute_cgi json_proto POST (null) [13:09:50]execute_cgi path=json_proto method=POST [13:09:50]POST find Content-Length [13:09:50]Host: 172.17.36.131:8080 [13:09:50]Content-Length: 644 [13:09:50]Content-Type: application/json [13:09:50] [13:09:50]POST finish read [13:09:50]Found Content-Length = 644 [13:09:50]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100043", "tax_sys" : 0, "items" : [ { "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:09:50]execute_script... [13:09:50]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100043", "tax_sys" : 0, "items" : [ { "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:09:50]POST & json_proto [13:09:50]process_json_proto [13:09:50]json parsed OK: [13:09:50]protocol is kg_v1.0 [13:09:50]action value=close_receipt [13:09:50]process_action close_receipt [13:09:50]cmd_close_receipt [13:09:50]MH_GetDate [13:09:50]Write to MH i2c: F0 00 00 10 05 04 [13:09:50]Write i2c OK [13:09:50]MH_I2C_Read... [13:09:50]Read from MH i2c: F0 [13:09:50]MH_I2C_Read... [13:09:50]Read from MH i2c: F0 09 00 [13:09:50]MH_I2C_Read... [13:09:50]Read from MH i2c: F0 09 00 10 05 00 20 12 5F 66 A7 4C 98 65 F4 [13:09:50]GetLastDocTimeStamp 1717505624 [13:09:50]current date 1717506592 [13:09:50]FM_GetShiftState [13:09:50]SAM_PROTO_GetShiftState [13:09:50]wFMCommunicate request_size=4 [13:09:50]MH_SAM_APDU [13:09:50]CAPDU: 80 13 01 00 [13:09:50]Write to MH i2c: E2 08 00 11 05 80 13 01 00 00 00 00 00 93 [13:09:50]Write i2c OK [13:09:50]MH_I2C_Read... [13:09:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:09:50]Read from MH i2c: E2 [13:09:50]MH_I2C_Read... [13:09:50]Read from MH i2c: E2 0E 00 [13:09:50]MH_I2C_Read... [13:09:50]Read from MH i2c: E2 0E 00 11 05 00 09 00 01 35 5B 5E 66 00 00 00 00 90 00 F3 [13:09:50]RAPDU: 09 00 01 35 5B 5E 66 00 00 00 00 90 00 [13:09:50]wFMCommunicate OK [13:09:50]SAM_PROTO_GetShiftState done [13:09:50]FM_GetShiftState done [13:09:50]opened in 1717459765 [13:09:50]opened+sec_in_day 1717546165 [13:09:50]quantity*price = 11500 [13:09:50]sum+1 = 11501 [13:09:50]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 115.00 НСП 1% : 1.02 НДС 12% : 12.21 Наличными: 115.00 Безнал.: 0.00 Место: АЗС № 62 "Партнер Нефть" Адрес: 720001, г. Балыкчы, ул. Абдрахманова 325 Б, 42.462761, 76.214931 СНО: Общий режим Чек 25 04.06.2024 13:09 Смена: 368 ФФД: 1.0 ЗНМ: 0300000080 РНМ: 0000000000096838 Версия ККМ: 001 ФМ: 0000000000874859 ФД: 34681 ФПД: 2034365412653 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T130952&type=1&operation_type=1&fn_number=0000000000874859&fd_number=34681&fm=2034365412653&tin=02508201610067®Number=0000000000096838&sum=11500 0 [13:09:51]StoreToDocumentArchive [13:09:51]shift 368 fd 34681 [13:09:51]save to /storage/0368/doc_00034681 [13:09:51]save last doc name /storage/0368/doc_00034681 to /storage/kkm_last_doc_name [13:09:51]save OK [13:09:51]Clear old archive folders... [13:09:51]ProcessDocumentItem done err = 0, tmpTLVsize=280 [13:09:51]tlvbuf is 01AF7660 [13:09:51]SAM_PROTO_ClearQueue [13:09:51]wFMCommunicate request_size=4 [13:09:51]MH_SAM_APDU [13:09:51]CAPDU: 80 09 00 00 [13:09:51]Write to MH i2c: E2 08 00 1E 05 80 09 00 00 00 00 00 00 95 [13:09:51]Write i2c OK [13:09:51]MH_I2C_Read... [13:09:51]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:09:51]Read from MH i2c: E2 [13:09:51]MH_I2C_Read... [13:09:51]Read from MH i2c: E2 03 00 [13:09:51]MH_I2C_Read... [13:09:51]Read from MH i2c: E2 03 00 1E 05 00 90 00 97 [13:09:51]RAPDU: 90 00 [13:09:51]wFMCommunicate OK [13:09:51]SAM_PROTO_ClearQueue done [13:09:51]KKMCreateOFDPacket [13:09:51]OFDProtocolAddRootSTLVToBuf [13:09:51]FM_MakeSignedData [13:09:51]FM_MakeSignedData [13:09:51]SAM_PROTO_SignData [13:09:51]wFMCommunicate request_size=4 [13:09:51]MH_SAM_APDU [13:09:51]CAPDU: 80 0D 01 02 [13:09:51]Write to MH i2c: E2 08 00 1F 05 80 0D 01 02 00 00 00 00 9D [13:09:51]Write i2c OK [13:09:51]MH_I2C_Read... [13:09:51]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:09:51]Read from MH i2c: E2 [13:09:51]MH_I2C_Read... [13:09:51]Read from MH i2c: E2 03 00 [13:09:51]MH_I2C_Read... [13:09:51]Read from MH i2c: E2 03 00 1F 05 00 90 00 98 [13:09:51]RAPDU: 90 00 [13:09:51]wFMCommunicate OK [13:09:51]wFMCommunicate request_size=255 [13:09:51]MH_SAM_APDU [13:09:51]CAPDU: 80 0D 02 02 FA 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 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 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 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 20 12 5F 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 [13:09:51]Write to MH i2c: E2 02 01 20 05 80 0D 02 02 FA 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 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 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 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 20 12 5F 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 00 00 67 [13:09:51]Write i2c OK [13:09:51]MH_I2C_Read... [13:09:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:09:51]Read from MH i2c: E2 [13:09:51]MH_I2C_Read... [13:09:51]Read from MH i2c: E2 03 00 [13:09:51]MH_I2C_Read... [13:09:51]Read from MH i2c: E2 03 00 20 05 00 90 00 99 [13:09:51]RAPDU: 90 00 [13:09:51]wFMCommunicate OK [13:09:51]wFMCommunicate request_size=39 [13:09:51]MH_SAM_APDU [13:09:51]CAPDU: 80 0D 02 02 22 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 79 87 00 00 35 04 06 00 01 D9 A9 A0 B5 2D [13:09:51]Write to MH i2c: E2 2A 00 21 05 80 0D 02 02 22 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 79 87 00 00 35 04 06 00 01 D9 A9 A0 B5 2D 00 00 69 [13:09:51]Write i2c OK [13:09:51]MH_I2C_Read... [13:09:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:09:51]Read from MH i2c: E2 [13:09:51]MH_I2C_Read... [13:09:51]Read from MH i2c: E2 03 00 [13:09:51]MH_I2C_Read... [13:09:51]Read from MH i2c: E2 03 00 21 05 00 90 00 9A [13:09:51]RAPDU: 90 00 [13:09:51]wFMCommunicate OK [13:09:51]wFMCommunicate request_size=4 [13:09:51]MH_SAM_APDU [13:09:51]CAPDU: 80 0D 03 02 [13:09:51]Write to MH i2c: E2 08 00 22 05 80 0D 03 02 00 00 00 00 A2 [13:09:51]Write i2c OK [13:09:51]MH_I2C_Read... [13:09:51]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:09:51]Read from MH i2c: E2 [13:09:51]MH_I2C_Read... [13:09:51]Read from MH i2c: E2 0B 00 [13:09:51]MH_I2C_Read... [13:09:51]Read from MH i2c: E2 0B 00 22 05 00 16 9A 26 58 A1 C2 B7 7F 90 00 6A [13:09:51]RAPDU: 16 9A 26 58 A1 C2 B7 7F 90 00 [13:09:51]wFMCommunicate OK [13:09:51]SAM_PROTO_SignData done [13:09:51]FM_MakeSignedData done [13:09:51]CreateOFDProtocolMessage [13:09:51]wFMCommunicate request_size=4 [13:09:51]MH_SAM_APDU [13:09:51]CAPDU: 80 11 00 00 [13:09:51]Write to MH i2c: E2 08 00 23 05 80 11 00 00 00 00 00 00 A2 [13:09:51]Write i2c OK [13:09:51]MH_I2C_Read... [13:09:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:09:52]Read from MH i2c: E2 [13:09:52]MH_I2C_Read... [13:09:52]Read from MH i2c: E2 17 00 [13:09:52]MH_I2C_Read... [13:09:52]Read from MH i2c: E2 17 00 23 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 FE [13:09:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 [13:09:52]wFMCommunicate OK [13:09:52]CreateOFDProtocolMessage done [13:09:52]OFDSenderStorePacket 34681 [13:09:52]StoreOFDPacket docnum=34681 [13:09:52]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 2C 01 00 00 E9 ED 24 01 B0 CF 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 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 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 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 20 12 5F 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 79 87 00 00 35 04 06 00 01 D9 A9 A0 B5 2D 16 9A 26 58 A1 C2 B7 7F [13:09:52]CheckFolder [13:09:52]dirname=/storage/ofd_packets [13:09:52]CheckFolder done [13:09:52]ProducePacketName [13:09:52]name=ofd_packets/00034681 [13:09:52]NVStorageSaveData ofd_packets/00034681 [13:09:52]File name is /storage/ofd_packets/00034681 [13:09:52]Write 330 bytes [13:09:52]NVStorageSaveData done [13:09:52]OFDSenderStorePacket done [13:09:52]KKMCreateOFDPacket done [13:09:52]NVStorageSaveData kkm_last_timestamp [13:09:52]File name is /storage/kkm_last_timestamp [13:09:52]Write 4 bytes [13:09:52]NVStorageSaveData done [13:09:52]ExternCall_PrintAddStr [13:09:52]wPrintStart [13:09:52]Write to MH i2c: 01 00 00 24 05 29 [13:09:52]Write i2c OK [13:09:52]MH_I2C_Read... [13:09:52]Read from MH i2c: 01 [13:09:52]MH_I2C_Read... [13:09:52]Read from MH i2c: 01 07 00 [13:09:52]MH_I2C_Read... [13:09:52]Read from MH i2c: 01 07 00 24 05 00 00 00 00 00 FF 0F 3E [13:09:52]RasterBufferAndPrint [13:09:52]line Счет N : (3)100043 [13:09:52]line ИНН: 02508201610067 [13:09:52]line Контрольно-Кассовый Чек [13:09:52]line ПРОДАЖА [13:09:52]line Товар: 2000036210013 [13:09:52]line Кофе Капучино (GABB TRADE) [13:09:52]line 1.000 * 115.00 [13:09:52]line = 115.00 [13:09:52]line НДС 12% НСП 1% [13:09:52]line > о реализуемом товаре [13:09:52]line ИТОГО: 115.00 [13:09:52]line НСП 1% : 1.02 [13:09:52]line НДС 12% : 12.21 [13:09:52]line Наличными: 115.00 [13:09:52]line Безнал.: 0.00 [13:09:52]line Место: АЗС № 62 "Партнер Нефть" [13:09:52]line Адрес: 720001, г. Балыкчы, ул. Абдрахманова 325 Б, 42.462761, 76.214931 [13:09:52]line СНО: Общий режим [13:09:52]line Чек 25 04.06.2024 13:09 [13:09:52]line Смена: 368 ФФД: 1.0 [13:09:52]line ЗНМ: 0300000080 [13:09:52]line РНМ: 0000000000096838 [13:09:52]line Версия ККМ: 001 [13:09:52]line ФМ: 0000000000874859 [13:09:52]line ФД: 34681 [13:09:52]line ФПД: 2034365412653 [13:09:52]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T130952&type=1&operation_type=1&fn_number=0000000000874859&fd_number=34681&fm=2034365412653&tin=02508201610067®Number=0000000000096838&sum=11500 [13:09:52]line 0 [13:09:52]OFD Sender: Processing packet 34681 [packets to send 17, broken 16] [13:09:52]ProducePacketName [13:09:52]name=ofd_packets/00034681 [13:09:52]OFD Sender: To server: pG, [13:09:52]CommunicateWithHost lk.salyk.kg:30040 [13:09:52]ConnectInit lk.salyk.kg [13:09:52]written 0, free lines is 4095 [13:09:52]Connected sock=10 [13:09:52]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 2C 01 00 00 E9 ED 24 01 B0 CF 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 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 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 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 20 12 5F 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 79 87 00 00 35 04 06 00 01 D9 A9 A0 B5 2D 16 9A 26 58 A1 C2 B7 7F [13:09:52]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 4F 00 00 00 29 76 47 00 95 0B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 79 87 00 00 F4 03 04 00 60 BC 5E 66 B6 04 01 00 00 54 F9 19 D7 C7 22 12 9B [13:09:52]CommunicateWithHost err = 0 [13:09:52]CheckOFDResponse [13:09:52]1017 (14) - 77093643461234 [13:09:52]1041 (16) - 0000000000874859 [13:09:52]1040 (4) - 34681 [13:09:52]1012 (4) - 04.06.2024 07:04 [13:09:52]1206 (1) - 0 [13:09:52]OFD Sender: Remove packet 34681 [13:09:52]ProducePacketName [13:09:52]name=ofd_packets/00034681 [13:09:52]NVStorageDeleteData [13:09:52]Write to MH i2c: 01 00 00 4C 05 51 [13:09:52]Write i2c OK [13:09:52]MH_I2C_Read... [13:09:52]Read from MH i2c: 01 [13:09:52]MH_I2C_Read... [13:09:52]Read from MH i2c: 01 07 00 [13:09:52]MH_I2C_Read... [13:09:52]Read from MH i2c: 01 07 00 4C 05 00 00 00 00 00 1D 0D 82 [13:09:52]RasterBufferAndPrint [13:09:52]line [13:09:52]line [13:09:52]line [13:09:52]line [13:09:52]line [13:09:52]written 0, free lines is 3363 [13:09:52]MH_Cut [13:09:52]Write to MH i2c: D1 01 00 53 05 01 2A [13:09:52]Write i2c OK [13:09:52]MH_I2C_Read... [13:09:52]Read from MH i2c: D1 [13:09:52]MH_I2C_Read... [13:09:52]Read from MH i2c: D1 01 00 [13:09:52]MH_I2C_Read... [13:09:52]Read from MH i2c: D1 01 00 53 05 00 29 [13:09:52]Write to MH i2c: 01 00 00 54 05 59 [13:09:52]Write i2c OK [13:09:52]MH_I2C_Read... [13:09:53]OFD Sender: No OFD packet to send [13:09:53]*** Cut start [13:09:53]*** Partial cut [13:09:53]*** CUTSNS_PIN = 1 [13:09:53]*** CUTSNS_PIN = 0 [13:09:53]*** Brake cut motor [13:09:54]Read from MH i2c: 01 [13:09:54]*** Stop cut motor [13:09:54]*** Cut end [13:09:54]MH_I2C_Read... [13:09:54]Read from MH i2c: 01 07 00 [13:09:54]MH_I2C_Read... [13:09:54]Read from MH i2c: 01 07 00 54 05 00 00 00 00 00 FF 0F 6E [13:09:54]process_action close_receipt done [13:09:54]requested_data is exist [13:09:54]produce_requested_data [13:09:54]requested_item fm.sn is exist - process it [13:09:54]wFMCommunicate request_size=4 [13:09:54]MH_SAM_APDU [13:09:54]CAPDU: 80 11 00 00 [13:09:54]Write to MH i2c: E2 08 00 55 05 80 11 00 00 00 00 00 00 D4 [13:09:54]Write i2c OK [13:09:54]MH_I2C_Read... [13:09:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:09:54]Read from MH i2c: E2 [13:09:54]MH_I2C_Read... [13:09:54]Read from MH i2c: E2 17 00 [13:09:54]MH_I2C_Read... [13:09:54]Read from MH i2c: E2 17 00 55 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 30 [13:09:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 [13:09:54]wFMCommunicate OK [13:09:54]requested_item fd.num is exist - process it [13:09:54]SAM_PROTO_GetFieldsCounters [13:09:54]wFMCommunicate request_size=4 [13:09:54]MH_SAM_APDU [13:09:54]CAPDU: 80 13 00 00 [13:09:54]Write to MH i2c: E2 08 00 56 05 80 13 00 00 00 00 00 00 D7 [13:09:54]Write i2c OK [13:09:54]MH_I2C_Read... [13:09:54]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:09:54]Read from MH i2c: E2 [13:09:54]MH_I2C_Read... [13:09:54]Read from MH i2c: E2 62 00 [13:09:54]MH_I2C_Read... [13:09:54]Read from MH i2c: E2 62 00 56 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 10 04 04 00 79 87 00 00 0E 04 04 00 70 01 00 00 12 04 04 00 19 00 00 00 5E 04 04 00 19 00 00 00 57 04 04 00 1A 00 00 00 19 04 04 00 00 00 00 00 90 00 C6 [13:09:54]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 10 04 04 00 79 87 00 00 0E 04 04 00 70 01 00 00 12 04 04 00 19 00 00 00 5E 04 04 00 19 00 00 00 57 04 04 00 1A 00 00 00 19 04 04 00 00 00 00 00 90 00 [13:09:54]wFMCommunicate OK [13:09:54]SAM_PROTO_GetFieldsCounters done [13:09:54]requested_item shift.num is exist - process it [13:09:54]requested_item shift.opened is exist - process it [13:09:54]req_shift_opened [13:09:54]FM_GetShiftState [13:09:54]SAM_PROTO_GetShiftState [13:09:54]wFMCommunicate request_size=4 [13:09:54]MH_SAM_APDU [13:09:54]CAPDU: 80 13 01 00 [13:09:54]Write to MH i2c: E2 08 00 57 05 80 13 01 00 00 00 00 00 D9 [13:09:54]Write i2c OK [13:09:54]MH_I2C_Read... [13:09:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:09:54]Read from MH i2c: E2 [13:09:54]MH_I2C_Read... [13:09:54]Read from MH i2c: E2 0E 00 [13:09:54]MH_I2C_Read... [13:09:54]Read from MH i2c: E2 0E 00 57 05 00 09 00 01 35 5B 5E 66 00 00 00 00 90 00 39 [13:09:54]RAPDU: 09 00 01 35 5B 5E 66 00 00 00 00 90 00 [13:09:54]wFMCommunicate OK [13:09:54]SAM_PROTO_GetShiftState done [13:09:54]FM_GetShiftState done [13:09:54]req_shift_opened done [13:09:54]requested_item shift.open_date is exist - process it [13:09:54]req_shift_open_date [13:09:54]req_shift_open_date done [13:09:54]produce_requested_data done [13:09:54]produce_requested_data return {"fm.sn":"0000000000874859","fd.num":34681,"shift.num":368,"shift.opened":1,"shift.open_date":1717459765} [13:09:54]process_action_free close_receipt [13:09:54]json_value_free [13:09:54]json_value_free done [13:09:54]process_json_proto returns [13:09:54]Send response to host [13:09:54]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874859","fd.num":34681,"shift.num":368,"shift.opened":1,"shift.open_date":1717459765}}} [13:09:54]free response buf [13:09:54]execute_script done [13:09:54]execute_script returns [13:09:54]free content buf [13:09:54]Sock 7.Close socket [13:09:54]Sock 7.Thread stoped [13:09:58]OFD Sender: No OFD packet to send [13:10:03]OFD Sender: No OFD packet to send [13:10:08]OFD Sender: No OFD packet to send [13:10:13]OFD Sender: No OFD packet to send [13:10:18]OFD Sender: No OFD packet to send [13:10:23]OFD Sender: No OFD packet to send [13:10:28]OFD Sender: No OFD packet to send [13:10:33]OFD Sender: No OFD packet to send [13:10:38]OFD Sender: No OFD packet to send [13:10:43]OFD Sender: No OFD packet to send [13:10:48]OFD Sender: No OFD packet to send [13:10:53]OFD Sender: No OFD packet to send [13:10:58]OFD Sender: No OFD packet to send [13:11:03]OFD Sender: No OFD packet to send [13:11:08]OFD Sender: No OFD packet to send [13:11:13]OFD Sender: No OFD packet to send [13:11:18]OFD Sender: No OFD packet to send [13:11:23]OFD Sender: No OFD packet to send [13:11:28]OFD Sender: No OFD packet to send [13:11:33]OFD Sender: No OFD packet to send [13:11:38]OFD Sender: No OFD packet to send [13:11:43]OFD Sender: No OFD packet to send [13:11:48]OFD Sender: No OFD packet to send [13:11:53]OFD Sender: No OFD packet to send [13:11:58]OFD Sender: No OFD packet to send [13:12:03]OFD Sender: No OFD packet to send [13:12:08]OFD Sender: No OFD packet to send [13:12:13]OFD Sender: No OFD packet to send [13:12:18]OFD Sender: No OFD packet to send [13:12:23]OFD Sender: No OFD packet to send [13:12:28]OFD Sender: No OFD packet to send [13:12:33]OFD Sender: No OFD packet to send [13:12:38]OFD Sender: No OFD packet to send [13:12:43]OFD Sender: No OFD packet to send [13:12:48]OFD Sender: No OFD packet to send [13:12:53]OFD Sender: No OFD packet to send [13:12:58]OFD Sender: No OFD packet to send [13:13:03]OFD Sender: No OFD packet to send [13:13:08]OFD Sender: No OFD packet to send [13:13:13]OFD Sender: No OFD packet to send [13:13:18]OFD Sender: No OFD packet to send [13:13:23]OFD Sender: No OFD packet to send [13:13:28]OFD Sender: No OFD packet to send [13:13:33]OFD Sender: No OFD packet to send [13:13:38]OFD Sender: No OFD packet to send [13:13:43]OFD Sender: No OFD packet to send [13:13:48]OFD Sender: No OFD packet to send [13:13:53]OFD Sender: No OFD packet to send [13:13:58]OFD Sender: No OFD packet to send [13:14:03]OFD Sender: No OFD packet to send [13:14:08]OFD Sender: No OFD packet to send [13:14:13]OFD Sender: No OFD packet to send [13:14:18]OFD Sender: No OFD packet to send [13:14:23]OFD Sender: No OFD packet to send [13:14:28]OFD Sender: No OFD packet to send [13:14:33]OFD Sender: No OFD packet to send [13:14:38]OFD Sender: No OFD packet to send [13:14:43]OFD Sender: No OFD packet to send [13:14:48]OFD Sender: No OFD packet to send [13:14:53]OFD Sender: No OFD packet to send [13:14:58]OFD Sender: No OFD packet to send [13:15:03]OFD Sender: No OFD packet to send [13:15:08]OFD Sender: No OFD packet to send [13:15:13]OFD Sender: No OFD packet to send [13:15:18]OFD Sender: No OFD packet to send [13:15:23]OFD Sender: No OFD packet to send [13:15:28]OFD Sender: No OFD packet to send [13:15:33]OFD Sender: No OFD packet to send [13:15:38]OFD Sender: No OFD packet to send [13:15:43]OFD Sender: No OFD packet to send [13:15:48]OFD Sender: No OFD packet to send [13:15:53]OFD Sender: No OFD packet to send [13:15:58]OFD Sender: No OFD packet to send [13:16:03]OFD Sender: No OFD packet to send [13:16:08]OFD Sender: No OFD packet to send [13:16:13]OFD Sender: No OFD packet to send [13:16:18]OFD Sender: No OFD packet to send [13:16:23]OFD Sender: No OFD packet to send [13:16:28]OFD Sender: No OFD packet to send [13:16:33]OFD Sender: No OFD packet to send [13:16:38]OFD Sender: No OFD packet to send [13:16:43]OFD Sender: No OFD packet to send [13:16:48]OFD Sender: No OFD packet to send [13:16:53]OFD Sender: No OFD packet to send [13:16:58]OFD Sender: No OFD packet to send [13:17:03]OFD Sender: No OFD packet to send [13:17:08]OFD Sender: No OFD packet to send [13:17:13]OFD Sender: No OFD packet to send [13:17:18]OFD Sender: No OFD packet to send [13:17:23]OFD Sender: No OFD packet to send [13:17:28]OFD Sender: No OFD packet to send [13:17:33]OFD Sender: No OFD packet to send [13:17:38]OFD Sender: No OFD packet to send [13:17:43]OFD Sender: No OFD packet to send [13:17:48]OFD Sender: No OFD packet to send [13:17:53]OFD Sender: No OFD packet to send [13:17:58]OFD Sender: No OFD packet to send [13:18:03]OFD Sender: No OFD packet to send [13:18:08]OFD Sender: No OFD packet to send [13:18:13]OFD Sender: No OFD packet to send [13:18:18]OFD Sender: No OFD packet to send [13:18:23]OFD Sender: No OFD packet to send [13:18:28]OFD Sender: No OFD packet to send [13:18:33]OFD Sender: No OFD packet to send [13:18:38]OFD Sender: No OFD packet to send [13:18:43]OFD Sender: No OFD packet to send [13:18:48]OFD Sender: No OFD packet to send [13:18:53]OFD Sender: No OFD packet to send [13:18:58]OFD Sender: No OFD packet to send [13:19:03]OFD Sender: No OFD packet to send [13:19:08]OFD Sender: No OFD packet to send [13:19:13]OFD Sender: No OFD packet to send [13:19:18]OFD Sender: No OFD packet to send [13:19:23]OFD Sender: No OFD packet to send [13:19:28]OFD Sender: No OFD packet to send [13:19:33]OFD Sender: No OFD packet to send [13:19:38]OFD Sender: No OFD packet to send [13:19:43]OFD Sender: No OFD packet to send [13:19:48]OFD Sender: No OFD packet to send [13:19:53]OFD Sender: No OFD packet to send [13:19:58]OFD Sender: No OFD packet to send [13:20:03]OFD Sender: No OFD packet to send [13:20:08]OFD Sender: No OFD packet to send [13:20:13]OFD Sender: No OFD packet to send [13:20:18]OFD Sender: No OFD packet to send [13:20:23]OFD Sender: No OFD packet to send [13:20:28]OFD Sender: No OFD packet to send [13:20:33]OFD Sender: No OFD packet to send [13:20:38]OFD Sender: No OFD packet to send [13:20:43]OFD Sender: No OFD packet to send [13:20:48]OFD Sender: No OFD packet to send [13:20:53]OFD Sender: No OFD packet to send [13:20:58]OFD Sender: No OFD packet to send [13:21:03]OFD Sender: No OFD packet to send [13:21:08]OFD Sender: No OFD packet to send [13:21:13]OFD Sender: No OFD packet to send [13:21:18]OFD Sender: No OFD packet to send [13:21:23]OFD Sender: No OFD packet to send [13:21:28]OFD Sender: No OFD packet to send [13:21:33]OFD Sender: No OFD packet to send [13:21:38]OFD Sender: No OFD packet to send [13:21:43]OFD Sender: No OFD packet to send [13:21:48]OFD Sender: No OFD packet to send [13:21:53]OFD Sender: No OFD packet to send [13:21:58]OFD Sender: No OFD packet to send [13:22:03]OFD Sender: No OFD packet to send [13:22:08]OFD Sender: No OFD packet to send [13:22:13]OFD Sender: No OFD packet to send [13:22:18]OFD Sender: No OFD packet to send [13:22:23]OFD Sender: No OFD packet to send [13:22:28]OFD Sender: No OFD packet to send [13:22:33]OFD Sender: No OFD packet to send [13:22:38]OFD Sender: No OFD packet to send [13:22:43]OFD Sender: No OFD packet to send [13:22:48]OFD Sender: No OFD packet to send [13:22:53]OFD Sender: No OFD packet to send [13:22:58]OFD Sender: No OFD packet to send [13:23:03]OFD Sender: No OFD packet to send [13:23:08]OFD Sender: No OFD packet to send [13:23:13]OFD Sender: No OFD packet to send [13:23:18]OFD Sender: No OFD packet to send [13:23:23]OFD Sender: No OFD packet to send [13:23:28]OFD Sender: No OFD packet to send [13:23:33]OFD Sender: No OFD packet to send [13:23:38]OFD Sender: No OFD packet to send [13:23:43]OFD Sender: No OFD packet to send [13:23:48]OFD Sender: No OFD packet to send [13:23:53]OFD Sender: No OFD packet to send [13:23:58]OFD Sender: No OFD packet to send [13:24:03]OFD Sender: No OFD packet to send [13:24:08]OFD Sender: No OFD packet to send [13:24:13]OFD Sender: No OFD packet to send [13:24:18]OFD Sender: No OFD packet to send [13:24:23]OFD Sender: No OFD packet to send [13:24:28]OFD Sender: No OFD packet to send [13:24:33]OFD Sender: No OFD packet to send [13:24:38]OFD Sender: No OFD packet to send [13:24:43]OFD Sender: No OFD packet to send [13:24:48]OFD Sender: No OFD packet to send [13:24:53]OFD Sender: No OFD packet to send [13:24:58]OFD Sender: No OFD packet to send [13:25:03]OFD Sender: No OFD packet to send [13:25:08]OFD Sender: No OFD packet to send [13:25:13]OFD Sender: No OFD packet to send [13:25:18]OFD Sender: No OFD packet to send [13:25:23]OFD Sender: No OFD packet to send [13:25:28]OFD Sender: No OFD packet to send [13:25:33]OFD Sender: No OFD packet to send [13:25:38]OFD Sender: No OFD packet to send [13:25:43]OFD Sender: No OFD packet to send [13:25:48]OFD Sender: No OFD packet to send [13:25:53]OFD Sender: No OFD packet to send [13:25:58]OFD Sender: No OFD packet to send [13:26:03]OFD Sender: No OFD packet to send [13:26:08]OFD Sender: No OFD packet to send [13:26:13]OFD Sender: No OFD packet to send [13:26:18]OFD Sender: No OFD packet to send [13:26:23]OFD Sender: No OFD packet to send [13:26:28]OFD Sender: No OFD packet to send [13:26:33]OFD Sender: No OFD packet to send [13:26:38]OFD Sender: No OFD packet to send [13:26:43]OFD Sender: No OFD packet to send [13:26:48]OFD Sender: No OFD packet to send [13:26:53]OFD Sender: No OFD packet to send [13:26:58]OFD Sender: No OFD packet to send [13:27:03]OFD Sender: No OFD packet to send [13:27:09]OFD Sender: No OFD packet to send [13:27:14]OFD Sender: No OFD packet to send [13:27:19]OFD Sender: No OFD packet to send [13:27:24]OFD Sender: No OFD packet to send [13:27:29]OFD Sender: No OFD packet to send [13:27:34]OFD Sender: No OFD packet to send [13:27:39]OFD Sender: No OFD packet to send [13:27:44]OFD Sender: No OFD packet to send [13:27:49]OFD Sender: No OFD packet to send [13:27:54]OFD Sender: No OFD packet to send [13:27:59]OFD Sender: No OFD packet to send [13:28:04]OFD Sender: No OFD packet to send [13:28:09]OFD Sender: No OFD packet to send [13:28:14]OFD Sender: No OFD packet to send [13:28:19]OFD Sender: No OFD packet to send [13:28:24]OFD Sender: No OFD packet to send [13:28:29]OFD Sender: No OFD packet to send [13:28:34]OFD Sender: No OFD packet to send [13:28:39]OFD Sender: No OFD packet to send [13:28:44]OFD Sender: No OFD packet to send [13:28:49]OFD Sender: No OFD packet to send [13:28:54]OFD Sender: No OFD packet to send [13:28:59]OFD Sender: No OFD packet to send [13:29:04]OFD Sender: No OFD packet to send [13:29:09]OFD Sender: No OFD packet to send [13:29:14]OFD Sender: No OFD packet to send [13:29:19]OFD Sender: No OFD packet to send [13:29:24]OFD Sender: No OFD packet to send [13:29:29]OFD Sender: No OFD packet to send [13:29:34]OFD Sender: No OFD packet to send [13:29:39]OFD Sender: No OFD packet to send [13:29:44]OFD Sender: No OFD packet to send [13:29:49]OFD Sender: No OFD packet to send [13:29:54]OFD Sender: No OFD packet to send [13:29:59]OFD Sender: No OFD packet to send [13:30:04]OFD Sender: No OFD packet to send [13:30:09]OFD Sender: No OFD packet to send [13:30:14]OFD Sender: No OFD packet to send [13:30:19]OFD Sender: No OFD packet to send [13:30:24]OFD Sender: No OFD packet to send [13:30:29]OFD Sender: No OFD packet to send [13:30:34]OFD Sender: No OFD packet to send [13:30:39]OFD Sender: No OFD packet to send [13:30:44]OFD Sender: No OFD packet to send [13:30:49]OFD Sender: No OFD packet to send [13:30:54]OFD Sender: No OFD packet to send [13:30:59]OFD Sender: No OFD packet to send [13:31:04]OFD Sender: No OFD packet to send [13:31:09]OFD Sender: No OFD packet to send [13:31:14]OFD Sender: No OFD packet to send [13:31:19]OFD Sender: No OFD packet to send [13:31:24]OFD Sender: No OFD packet to send [13:31:29]OFD Sender: No OFD packet to send [13:31:34]OFD Sender: No OFD packet to send [13:31:39]OFD Sender: No OFD packet to send [13:31:44]OFD Sender: No OFD packet to send [13:31:49]OFD Sender: No OFD packet to send [13:31:54]OFD Sender: No OFD packet to send [13:31:59]OFD Sender: No OFD packet to send [13:32:04]OFD Sender: No OFD packet to send [13:32:09]OFD Sender: No OFD packet to send [13:32:14]OFD Sender: No OFD packet to send [13:32:19]OFD Sender: No OFD packet to send [13:32:24]OFD Sender: No OFD packet to send [13:32:29]OFD Sender: No OFD packet to send [13:32:34]OFD Sender: No OFD packet to send [13:32:39]OFD Sender: No OFD packet to send [13:32:44]OFD Sender: No OFD packet to send [13:32:49]OFD Sender: No OFD packet to send [13:32:54]OFD Sender: No OFD packet to send [13:32:59]OFD Sender: No OFD packet to send [13:33:04]OFD Sender: No OFD packet to send [13:33:09]OFD Sender: No OFD packet to send [13:33:14]OFD Sender: No OFD packet to send [13:33:19]OFD Sender: No OFD packet to send [13:33:24]OFD Sender: No OFD packet to send [13:33:29]OFD Sender: No OFD packet to send [13:33:34]OFD Sender: No OFD packet to send [13:33:39]OFD Sender: No OFD packet to send [13:33:44]OFD Sender: No OFD packet to send [13:33:49]OFD Sender: No OFD packet to send [13:33:54]OFD Sender: No OFD packet to send [13:33:59]OFD Sender: No OFD packet to send [13:34:04]OFD Sender: No OFD packet to send [13:34:09]OFD Sender: No OFD packet to send [13:34:14]OFD Sender: No OFD packet to send [13:34:19]OFD Sender: No OFD packet to send [13:34:24]OFD Sender: No OFD packet to send [13:34:29]OFD Sender: No OFD packet to send [13:34:34]OFD Sender: No OFD packet to send [13:34:39]OFD Sender: No OFD packet to send [13:34:44]OFD Sender: No OFD packet to send [13:34:49]OFD Sender: No OFD packet to send [13:34:54]OFD Sender: No OFD packet to send [13:34:59]OFD Sender: No OFD packet to send [13:35:04]OFD Sender: No OFD packet to send [13:35:09]OFD Sender: No OFD packet to send [13:35:14]OFD Sender: No OFD packet to send [13:35:19]OFD Sender: No OFD packet to send [13:35:24]OFD Sender: No OFD packet to send [13:35:29]OFD Sender: No OFD packet to send [13:35:34]OFD Sender: No OFD packet to send [13:35:39]OFD Sender: No OFD packet to send [13:35:44]OFD Sender: No OFD packet to send [13:35:49]OFD Sender: No OFD packet to send [13:35:54]OFD Sender: No OFD packet to send [13:35:59]OFD Sender: No OFD packet to send [13:36:04]OFD Sender: No OFD packet to send [13:36:09]OFD Sender: No OFD packet to send [13:36:14]OFD Sender: No OFD packet to send [13:36:19]OFD Sender: No OFD packet to send [13:36:24]OFD Sender: No OFD packet to send [13:36:29]OFD Sender: No OFD packet to send [13:36:34]OFD Sender: No OFD packet to send [13:36:39]OFD Sender: No OFD packet to send [13:36:44]OFD Sender: No OFD packet to send [13:36:49]OFD Sender: No OFD packet to send [13:36:54]OFD Sender: No OFD packet to send [13:36:59]OFD Sender: No OFD packet to send [13:37:04]OFD Sender: No OFD packet to send [13:37:09]OFD Sender: No OFD packet to send [13:37:14]OFD Sender: No OFD packet to send [13:37:19]OFD Sender: No OFD packet to send [13:37:24]OFD Sender: No OFD packet to send [13:37:29]OFD Sender: No OFD packet to send [13:37:34]OFD Sender: No OFD packet to send [13:37:39]OFD Sender: No OFD packet to send [13:37:44]OFD Sender: No OFD packet to send [13:37:49]OFD Sender: No OFD packet to send [13:37:54]OFD Sender: No OFD packet to send [13:37:59]OFD Sender: No OFD packet to send [13:38:04]OFD Sender: No OFD packet to send [13:38:09]OFD Sender: No OFD packet to send [13:38:14]OFD Sender: No OFD packet to send [13:38:19]OFD Sender: No OFD packet to send [13:38:24]OFD Sender: No OFD packet to send [13:38:29]OFD Sender: No OFD packet to send [13:38:34]OFD Sender: No OFD packet to send [13:38:39]OFD Sender: No OFD packet to send [13:38:44]OFD Sender: No OFD packet to send [13:38:49]OFD Sender: No OFD packet to send [13:38:54]OFD Sender: No OFD packet to send [13:38:59]OFD Sender: No OFD packet to send [13:39:04]OFD Sender: No OFD packet to send [13:39:09]OFD Sender: No OFD packet to send [13:39:14]OFD Sender: No OFD packet to send [13:39:19]OFD Sender: No OFD packet to send [13:39:24]OFD Sender: No OFD packet to send [13:39:29]OFD Sender: No OFD packet to send [13:39:34]OFD Sender: No OFD packet to send [13:39:39]OFD Sender: No OFD packet to send [13:39:44]OFD Sender: No OFD packet to send [13:39:49]OFD Sender: No OFD packet to send [13:39:54]OFD Sender: No OFD packet to send [13:39:59]OFD Sender: No OFD packet to send [13:40:04]OFD Sender: No OFD packet to send [13:40:09]OFD Sender: No OFD packet to send [13:40:14]OFD Sender: No OFD packet to send [13:40:19]OFD Sender: No OFD packet to send [13:40:24]OFD Sender: No OFD packet to send [13:40:29]OFD Sender: No OFD packet to send [13:40:34]OFD Sender: No OFD packet to send [13:40:39]OFD Sender: No OFD packet to send [13:40:44]OFD Sender: No OFD packet to send [13:40:49]OFD Sender: No OFD packet to send [13:40:54]OFD Sender: No OFD packet to send [13:40:59]OFD Sender: No OFD packet to send [13:41:04]OFD Sender: No OFD packet to send [13:41:09]OFD Sender: No OFD packet to send [13:41:14]OFD Sender: No OFD packet to send [13:41:19]OFD Sender: No OFD packet to send [13:41:24]OFD Sender: No OFD packet to send [13:41:29]OFD Sender: No OFD packet to send [13:41:34]OFD Sender: No OFD packet to send [13:41:39]OFD Sender: No OFD packet to send [13:41:44]OFD Sender: No OFD packet to send [13:41:49]OFD Sender: No OFD packet to send [13:41:54]OFD Sender: No OFD packet to send [13:41:59]OFD Sender: No OFD packet to send [13:42:04]OFD Sender: No OFD packet to send [13:42:09]OFD Sender: No OFD packet to send [13:42:14]OFD Sender: No OFD packet to send [13:42:19]OFD Sender: No OFD packet to send [13:42:24]OFD Sender: No OFD packet to send [13:42:29]OFD Sender: No OFD packet to send [13:42:34]OFD Sender: No OFD packet to send [13:42:39]OFD Sender: No OFD packet to send [13:42:44]OFD Sender: No OFD packet to send [13:42:49]OFD Sender: No OFD packet to send [13:42:54]OFD Sender: No OFD packet to send [13:42:59]OFD Sender: No OFD packet to send [13:43:04]OFD Sender: No OFD packet to send [13:43:09]OFD Sender: No OFD packet to send [13:43:14]OFD Sender: No OFD packet to send [13:43:19]OFD Sender: No OFD packet to send [13:43:24]OFD Sender: No OFD packet to send [13:43:29]OFD Sender: No OFD packet to send [13:43:34]OFD Sender: No OFD packet to send [13:43:39]OFD Sender: No OFD packet to send [13:43:44]OFD Sender: No OFD packet to send [13:43:49]OFD Sender: No OFD packet to send [13:43:54]OFD Sender: No OFD packet to send [13:43:59]OFD Sender: No OFD packet to send [13:44:04]OFD Sender: No OFD packet to send [13:44:09]OFD Sender: No OFD packet to send [13:44:14]OFD Sender: No OFD packet to send [13:44:19]OFD Sender: No OFD packet to send [13:44:24]OFD Sender: No OFD packet to send [13:44:29]OFD Sender: No OFD packet to send [13:44:34]OFD Sender: No OFD packet to send [13:44:39]OFD Sender: No OFD packet to send [13:44:44]OFD Sender: No OFD packet to send [13:44:49]OFD Sender: No OFD packet to send [13:44:54]OFD Sender: No OFD packet to send [13:44:59]OFD Sender: No OFD packet to send [13:45:04]OFD Sender: No OFD packet to send [13:45:09]OFD Sender: No OFD packet to send [13:45:14]OFD Sender: No OFD packet to send [13:45:19]OFD Sender: No OFD packet to send [13:45:24]OFD Sender: No OFD packet to send [13:45:29]OFD Sender: No OFD packet to send [13:45:34]OFD Sender: No OFD packet to send [13:45:39]OFD Sender: No OFD packet to send [13:45:44]OFD Sender: No OFD packet to send [13:45:49]OFD Sender: No OFD packet to send [13:45:54]OFD Sender: No OFD packet to send [13:45:59]OFD Sender: No OFD packet to send [13:46:04]OFD Sender: No OFD packet to send [13:46:09]OFD Sender: No OFD packet to send [13:46:14]OFD Sender: No OFD packet to send [13:46:19]OFD Sender: No OFD packet to send [13:46:24]OFD Sender: No OFD packet to send [13:46:29]OFD Sender: No OFD packet to send [13:46:34]OFD Sender: No OFD packet to send [13:46:39]OFD Sender: No OFD packet to send [13:46:44]OFD Sender: No OFD packet to send [13:46:49]OFD Sender: No OFD packet to send [13:46:54]OFD Sender: No OFD packet to send [13:46:59]OFD Sender: No OFD packet to send [13:47:04]OFD Sender: No OFD packet to send [13:47:09]OFD Sender: No OFD packet to send [13:47:14]OFD Sender: No OFD packet to send [13:47:19]OFD Sender: No OFD packet to send [13:47:24]OFD Sender: No OFD packet to send [13:47:30]OFD Sender: No OFD packet to send [13:47:35]OFD Sender: No OFD packet to send [13:47:40]OFD Sender: No OFD packet to send [13:47:45]OFD Sender: No OFD packet to send [13:47:50]OFD Sender: No OFD packet to send [13:47:55]OFD Sender: No OFD packet to send [13:48:00]OFD Sender: No OFD packet to send [13:48:05]OFD Sender: No OFD packet to send [13:48:10]OFD Sender: No OFD packet to send [13:48:15]OFD Sender: No OFD packet to send [13:48:20]OFD Sender: No OFD packet to send [13:48:25]OFD Sender: No OFD packet to send [13:48:30]OFD Sender: No OFD packet to send [13:48:35]OFD Sender: No OFD packet to send [13:48:40]OFD Sender: No OFD packet to send [13:48:45]OFD Sender: No OFD packet to send [13:48:50]OFD Sender: No OFD packet to send [13:48:55]OFD Sender: No OFD packet to send [13:49:00]OFD Sender: No OFD packet to send [13:49:05]OFD Sender: No OFD packet to send [13:49:10]OFD Sender: No OFD packet to send [13:49:15]OFD Sender: No OFD packet to send [13:49:20]OFD Sender: No OFD packet to send [13:49:25]OFD Sender: No OFD packet to send [13:49:30]OFD Sender: No OFD packet to send [13:49:35]OFD Sender: No OFD packet to send [13:49:40]OFD Sender: No OFD packet to send [13:49:45]OFD Sender: No OFD packet to send [13:49:50]OFD Sender: No OFD packet to send [13:49:55]OFD Sender: No OFD packet to send [13:50:00]OFD Sender: No OFD packet to send [13:50:05]OFD Sender: No OFD packet to send [13:50:10]OFD Sender: No OFD packet to send [13:50:15]OFD Sender: No OFD packet to send [13:50:20]OFD Sender: No OFD packet to send [13:50:25]OFD Sender: No OFD packet to send [13:50:30]OFD Sender: No OFD packet to send [13:50:35]OFD Sender: No OFD packet to send [13:50:40]OFD Sender: No OFD packet to send [13:50:45]OFD Sender: No OFD packet to send [13:50:50]OFD Sender: No OFD packet to send [13:50:55]OFD Sender: No OFD packet to send [13:51:00]OFD Sender: No OFD packet to send [13:51:05]OFD Sender: No OFD packet to send [13:51:10]OFD Sender: No OFD packet to send [13:51:15]OFD Sender: No OFD packet to send [13:51:20]OFD Sender: No OFD packet to send [13:51:25]OFD Sender: No OFD packet to send [13:51:30]OFD Sender: No OFD packet to send [13:51:35]OFD Sender: No OFD packet to send [13:51:40]OFD Sender: No OFD packet to send [13:51:45]OFD Sender: No OFD packet to send [13:51:50]OFD Sender: No OFD packet to send [13:51:55]OFD Sender: No OFD packet to send [13:52:00]OFD Sender: No OFD packet to send [13:52:05]OFD Sender: No OFD packet to send [13:52:10]OFD Sender: No OFD packet to send [13:52:15]OFD Sender: No OFD packet to send [13:52:20]OFD Sender: No OFD packet to send [13:52:25]OFD Sender: No OFD packet to send [13:52:30]OFD Sender: No OFD packet to send [13:52:35]OFD Sender: No OFD packet to send [13:52:40]OFD Sender: No OFD packet to send [13:52:45]OFD Sender: No OFD packet to send [13:52:50]OFD Sender: No OFD packet to send [13:52:55]OFD Sender: No OFD packet to send [13:53:00]OFD Sender: No OFD packet to send [13:53:05]OFD Sender: No OFD packet to send [13:53:10]OFD Sender: No OFD packet to send [13:53:15]OFD Sender: No OFD packet to send [13:53:20]OFD Sender: No OFD packet to send [13:53:25]OFD Sender: No OFD packet to send [13:53:30]OFD Sender: No OFD packet to send [13:53:35]OFD Sender: No OFD packet to send [13:53:40]OFD Sender: No OFD packet to send [13:53:45]OFD Sender: No OFD packet to send [13:53:50]OFD Sender: No OFD packet to send [13:53:55]OFD Sender: No OFD packet to send [13:54:00]OFD Sender: No OFD packet to send [13:54:05]OFD Sender: No OFD packet to send [13:54:10]OFD Sender: No OFD packet to send [13:54:15]OFD Sender: No OFD packet to send [13:54:20]OFD Sender: No OFD packet to send [13:54:25]OFD Sender: No OFD packet to send [13:54:30]OFD Sender: No OFD packet to send [13:54:35]OFD Sender: No OFD packet to send [13:54:40]OFD Sender: No OFD packet to send [13:54:45]OFD Sender: No OFD packet to send [13:54:50]OFD Sender: No OFD packet to send [13:54:55]OFD Sender: No OFD packet to send [13:55:00]OFD Sender: No OFD packet to send [13:55:05]OFD Sender: No OFD packet to send [13:55:10]OFD Sender: No OFD packet to send [13:55:15]OFD Sender: No OFD packet to send [13:55:20]OFD Sender: No OFD packet to send [13:55:25]OFD Sender: No OFD packet to send [13:55:30]OFD Sender: No OFD packet to send [13:55:35]OFD Sender: No OFD packet to send [13:55:40]OFD Sender: No OFD packet to send [13:55:45]OFD Sender: No OFD packet to send [13:55:50]OFD Sender: No OFD packet to send [13:55:55]OFD Sender: No OFD packet to send [13:56:00]OFD Sender: No OFD packet to send [13:56:05]OFD Sender: No OFD packet to send [13:56:10]OFD Sender: No OFD packet to send [13:56:15]OFD Sender: No OFD packet to send [13:56:20]OFD Sender: No OFD packet to send [13:56:25]OFD Sender: No OFD packet to send [13:56:30]OFD Sender: No OFD packet to send [13:56:35]OFD Sender: No OFD packet to send [13:56:40]OFD Sender: No OFD packet to send [13:56:45]OFD Sender: No OFD packet to send [13:56:50]OFD Sender: No OFD packet to send [13:56:55]OFD Sender: No OFD packet to send [13:57:00]OFD Sender: No OFD packet to send [13:57:05]OFD Sender: No OFD packet to send [13:57:10]OFD Sender: No OFD packet to send [13:57:15]OFD Sender: No OFD packet to send [13:57:20]OFD Sender: No OFD packet to send [13:57:25]OFD Sender: No OFD packet to send [13:57:30]OFD Sender: No OFD packet to send [13:57:35]OFD Sender: No OFD packet to send [13:57:40]OFD Sender: No OFD packet to send [13:57:45]OFD Sender: No OFD packet to send [13:57:50]OFD Sender: No OFD packet to send [13:57:55]OFD Sender: No OFD packet to send [13:58:00]OFD Sender: No OFD packet to send [13:58:05]OFD Sender: No OFD packet to send [13:58:10]OFD Sender: No OFD packet to send [13:58:15]OFD Sender: No OFD packet to send [13:58:20]OFD Sender: No OFD packet to send [13:58:25]OFD Sender: No OFD packet to send [13:58:30]OFD Sender: No OFD packet to send [13:58:35]OFD Sender: No OFD packet to send [13:58:40]OFD Sender: No OFD packet to send [13:58:45]OFD Sender: No OFD packet to send [13:58:50]OFD Sender: No OFD packet to send [13:58:55]OFD Sender: No OFD packet to send [13:59:00]OFD Sender: No OFD packet to send [13:59:05]OFD Sender: No OFD packet to send [13:59:10]OFD Sender: No OFD packet to send [13:59:15]OFD Sender: No OFD packet to send [13:59:20]OFD Sender: No OFD packet to send [13:59:25]OFD Sender: No OFD packet to send [13:59:30]OFD Sender: No OFD packet to send [13:59:35]OFD Sender: No OFD packet to send [13:59:40]OFD Sender: No OFD packet to send [13:59:45]OFD Sender: No OFD packet to send [13:59:50]OFD Sender: No OFD packet to send [13:59:55]OFD Sender: No OFD packet to send [14:00:00]OFD Sender: No OFD packet to send [14:00:05]OFD Sender: No OFD packet to send [14:00:10]OFD Sender: No OFD packet to send [14:00:15]OFD Sender: No OFD packet to send [14:00:20]OFD Sender: No OFD packet to send [14:00:25]OFD Sender: No OFD packet to send [14:00:30]OFD Sender: No OFD packet to send [14:00:35]OFD Sender: No OFD packet to send [14:00:40]OFD Sender: No OFD packet to send [14:00:45]OFD Sender: No OFD packet to send [14:00:50]OFD Sender: No OFD packet to send [14:00:55]OFD Sender: No OFD packet to send [14:01:00]OFD Sender: No OFD packet to send [14:01:05]OFD Sender: No OFD packet to send [14:01:10]OFD Sender: No OFD packet to send [14:01:15]OFD Sender: No OFD packet to send [14:01:20]OFD Sender: No OFD packet to send [14:01:25]OFD Sender: No OFD packet to send [14:01:30]OFD Sender: No OFD packet to send [14:01:35]OFD Sender: No OFD packet to send [14:01:40]OFD Sender: No OFD packet to send [14:01:45]OFD Sender: No OFD packet to send [14:01:50]OFD Sender: No OFD packet to send [14:01:55]OFD Sender: No OFD packet to send [14:02:00]OFD Sender: No OFD packet to send [14:02:05]OFD Sender: No OFD packet to send [14:02:10]OFD Sender: No OFD packet to send [14:02:15]OFD Sender: No OFD packet to send [14:02:20]OFD Sender: No OFD packet to send [14:02:25]OFD Sender: No OFD packet to send [14:02:30]OFD Sender: No OFD packet to send [14:02:35]OFD Sender: No OFD packet to send [14:02:40]OFD Sender: No OFD packet to send [14:02:45]OFD Sender: No OFD packet to send [14:02:50]OFD Sender: No OFD packet to send [14:02:55]OFD Sender: No OFD packet to send [14:03:00]OFD Sender: No OFD packet to send [14:03:05]OFD Sender: No OFD packet to send [14:03:10]OFD Sender: No OFD packet to send [14:03:15]OFD Sender: No OFD packet to send [14:03:20]OFD Sender: No OFD packet to send [14:03:25]OFD Sender: No OFD packet to send [14:03:30]OFD Sender: No OFD packet to send [14:03:35]OFD Sender: No OFD packet to send [14:03:40]OFD Sender: No OFD packet to send [14:03:45]OFD Sender: No OFD packet to send [14:03:50]OFD Sender: No OFD packet to send [14:03:55]OFD Sender: No OFD packet to send [14:04:00]OFD Sender: No OFD packet to send [14:04:05]OFD Sender: No OFD packet to send [14:04:10]OFD Sender: No OFD packet to send [14:04:15]OFD Sender: No OFD packet to send [14:04:20]OFD Sender: No OFD packet to send [14:04:25]OFD Sender: No OFD packet to send [14:04:30]OFD Sender: No OFD packet to send [14:04:35]OFD Sender: No OFD packet to send [14:04:40]OFD Sender: No OFD packet to send [14:04:45]OFD Sender: No OFD packet to send [14:04:50]OFD Sender: No OFD packet to send [14:04:55]OFD Sender: No OFD packet to send [14:05:00]OFD Sender: No OFD packet to send [14:05:05]OFD Sender: No OFD packet to send [14:05:10]OFD Sender: No OFD packet to send [14:05:15]OFD Sender: No OFD packet to send [14:05:20]OFD Sender: No OFD packet to send [14:05:25]OFD Sender: No OFD packet to send [14:05:30]OFD Sender: No OFD packet to send [14:05:35]OFD Sender: No OFD packet to send [14:05:40]OFD Sender: No OFD packet to send [14:05:45]OFD Sender: No OFD packet to send [14:05:50]OFD Sender: No OFD packet to send [14:05:55]OFD Sender: No OFD packet to send [14:06:00]OFD Sender: No OFD packet to send [14:06:05]OFD Sender: No OFD packet to send [14:06:10]OFD Sender: No OFD packet to send [14:06:15]OFD Sender: No OFD packet to send [14:06:20]OFD Sender: No OFD packet to send [14:06:25]OFD Sender: No OFD packet to send [14:06:30]OFD Sender: No OFD packet to send [14:06:35]OFD Sender: No OFD packet to send [14:06:40]OFD Sender: No OFD packet to send [14:06:45]OFD Sender: No OFD packet to send [14:06:50]OFD Sender: No OFD packet to send [14:06:55]OFD Sender: No OFD packet to send [14:07:00]OFD Sender: No OFD packet to send [14:07:05]OFD Sender: No OFD packet to send [14:07:10]OFD Sender: No OFD packet to send [14:07:15]OFD Sender: No OFD packet to send [14:07:20]OFD Sender: No OFD packet to send [14:07:25]OFD Sender: No OFD packet to send [14:07:30]OFD Sender: No OFD packet to send [14:07:35]OFD Sender: No OFD packet to send [14:07:40]OFD Sender: No OFD packet to send [14:07:45]OFD Sender: No OFD packet to send [14:07:51]OFD Sender: No OFD packet to send [14:07:56]OFD Sender: No OFD packet to send [14:08:01]OFD Sender: No OFD packet to send [14:08:06]OFD Sender: No OFD packet to send [14:08:11]OFD Sender: No OFD packet to send [14:08:16]OFD Sender: No OFD packet to send [14:08:21]OFD Sender: No OFD packet to send [14:08:26]OFD Sender: No OFD packet to send [14:08:31]OFD Sender: No OFD packet to send [14:08:36]OFD Sender: No OFD packet to send [14:08:41]OFD Sender: No OFD packet to send [14:08:46]OFD Sender: No OFD packet to send [14:08:51]OFD Sender: No OFD packet to send [14:08:56]OFD Sender: No OFD packet to send [14:09:01]OFD Sender: No OFD packet to send [14:09:06]OFD Sender: No OFD packet to send [14:09:11]OFD Sender: No OFD packet to send [14:09:16]OFD Sender: No OFD packet to send [14:09:21]OFD Sender: No OFD packet to send [14:09:26]OFD Sender: No OFD packet to send [14:09:31]OFD Sender: No OFD packet to send [14:09:36]OFD Sender: No OFD packet to send [00:00:11] *** EcrCore started. Build 196 *** [00:00:11]MH_InterfaceInit /dev/i2c-1 [00:00:11]/dev/ttyS4 opened [00:00:11]Malloc ok [00:00:11]MH_GetMetrics [00:00:11]Write to MH i2c: 00 00 00 01 00 00 [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 00 29 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 00 29 00 01 00 00 03 9C 77 C0 01 31 39 30 33 53 51 38 38 54 00 00 00 00 57 25 A4 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 01 03 00 49 [00:00:11]Are we in boot? [00:00:11]We are in boot - try to switch [00:00:11]Write to MH i2c: A0 00 00 02 00 A1 [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: A0 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: A0 01 00 [00:00:11]*** Check firmware version 30620, crc_r 49A1A6DB, crc_c: 49A1A6DB, size: 53248 [00:00:11]MH_I2C_Read... [00:00:11]*** [00:00:11]Read from MH i2c: A0 01 00 02 00 00 A2 [00:00:11]*** Starting fw at address 01020100 (2007E328 010249C5) [00:00:11]*** Waiting for read because exit forced [00:00:11]*** 10 ms more... [00:00:11]*** MH1903S init start (LINUX_LIGHT) [00:00:11]*** Compilation Date Jun 20 2023 Time 12:36:20 [00:00:11]*** Serial: 3139303353513838 54000000005725A4 (1903SQ88T) [00:00:11]*** User serial: FFFFFFFFFFFFFFFF FFFFFFFFFFFFFFFF () [00:00:11]*** step 0: 5000 (2650, 2350 REF) [00:00:11]*** step 1: 4835 (2500, 2335 REF) [00:00:11]*** step 2: 4676 (2440, 2236 REF) [00:00:11]*** step 3: 4523 (2280, 2243 REF) [00:00:11]*** step 4: 4376 (2160, 2216 REF) [00:00:11]*** step 5: 4235 (2050, 2185 REF) [00:00:11]*** step 6: 4098 (1950, 2148 REF) [00:00:11]*** step 7: 3967 (1870, 2097 REF) [00:00:11]*** step 8: 3840 (1828, 2012 REF) [00:00:11]*** step 9: 3719 (1728, 1991 REF) [00:00:11]*** step 10: 3601 (1675, 1926 REF) [00:00:11]*** step 11: 3488 (1635, 1853 REF) [00:00:11]*** step 12: 3379 (1595, 1784 REF) [00:00:11]*** step 13: 3275 (1565, 1710 REF) [00:00:11]*** step 14: 3174 (1543, 1631 REF) [00:00:11]*** step 15: 3077 (1523, 1554 REF) [00:00:11]*** step 16: 2983 (1503, 1480 REF) [00:00:11]*** step 17: 2893 (1486, 1407 REF) [00:00:11]*** step 18: 2806 (1466, 1340 REF) [00:00:11]*** step 19: 2723 (1426, 1297 REF) [00:00:11]*** step 20: 2642 (1406, 1236 REF) [00:00:11]*** step 21: 2565 (1384, 1181 REF) [00:00:11]*** step 22: 2490 (1364, 1126 REF) [00:00:11]*** step 23: 2418 (1344, 1074 REF) [00:00:11]*** step 24: 2349 (1322, 1027 REF) [00:00:11]*** step 25: 2283 (1302, 981 REF) [00:00:11]*** step 26: 2218 (1282, 936 REF) [00:00:11]*** step 27: 2157 (1262, 895 REF) [00:00:11]*** step 28: 2097 (1242, 855 REF) [00:00:11]*** step 29: 2040 (1222, 818 REF) [00:00:11]*** step 30: 1985 (1202, 783 REF) [00:00:11]*** step 31: 1932 (1191, 741 REF) [00:00:11]*** step 32: 1880 (1181, 699 REF) [00:00:11]*** step 33: 1831 (1171, 660 REF) [00:00:11]*** step 34: 1784 (1161, 623 REF) [00:00:11]*** step 35: 1738 (1151, 587 REF) [00:00:11]*** step 36: 1694 (1141, 553 REF) [00:00:11]*** step 37: 1652 (1131, 521 REF) [00:00:11]*** step 38: 1611 (1121, 490 REF) [00:00:11]*** step 39: 1572 (1111, 461 REF) [00:00:11]*** step 40: 1534 (1103, 431 REF) [00:00:11]*** step 41: 1497 (1093, 404 REF) [00:00:11]*** step 42: 1462 (1083, 379 REF) [00:00:11]*** step 43: 1428 (1073, 355 REF) [00:00:11]*** step 44: 1396 (1063, 333 REF) [00:00:11]*** step 45: 1365 (1053, 312 REF) [00:00:11]*** step 46: 1334 (1043, 291 REF) [00:00:11]*** step 47: 1305 (1033, 272 REF) [00:00:11]*** step 48: 1277 (1023, 254 REF) [00:00:11]*** step 49: 1250 (1013, 237 REF) [00:00:11]*** step 50: 1224 (990, 234 REF) [00:00:11]*** step 51: 1199 (980, 219 REF) [00:00:11]*** step 52: 1175 (970, 205 REF) [00:00:11]*** step 53: 1152 (960, 192 REF) [00:00:11]*** step 54: 1130 (950, 180 REF) [00:00:11]*** step 55: 1108 (940, 168 REF) [00:00:11]*** step 56: 1088 (930, 158 REF) [00:00:11]*** step 57: 1068 (920, 148 REF) [00:00:11]*** step 58: 1049 (910, 139 REF) [00:00:11]*** step 59: 1030 (900, 130 REF) [00:00:11]*** step 60: 1012 (890, 122 REF) [00:00:11]*** step 61: 995 (880, 115 REF) [00:00:11]*** step 62: 979 (870, 109 REF) [00:00:11]*** step 63: 963 (860, 103 REF) [00:00:11]*** step 64: 948 (850, 98 REF) [00:00:11]*** step 65: 933 (840, 93 REF) [00:00:11]*** step 66: 919 (830, 89 REF) [00:00:11]*** step 67: 905 (820, 85 REF) [00:00:11]*** step 68: 892 (810, 82 REF) [00:00:11]*** step 69: 879 (800, 79 REF) [00:00:11]*** step 70: 867 (790, 77 REF) [00:00:11]*** step 71: 855 (780, 75 REF) [00:00:11]*** step 72: 844 (770, 74 REF) [00:00:11]*** step 73: 833 (760, 73 REF) [00:00:11]*** step 74: 822 (750, 72 REF) [00:00:11]*** step 75: 812 (740, 72 REF) [00:00:11]*** step 76: 803 (730, 73 REF) [00:00:11]*** step 77: 793 (720, 73 REF) [00:00:11]*** step 78: 784 (710, 74 REF) [00:00:11]*** step 79: 776 (700, 76 REF) [00:00:11]*** step 80: 767 (690, 77 REF) [00:00:11]*** step 81: 759 (680, 79 REF) [00:00:11]*** step 82: 751 (670, 81 REF) [00:00:11]*** step 83: 744 (660, 84 REF) [00:00:11]*** step 84: 737 (650, 87 REF) [00:00:11]*** step 85: 730 (640, 90 REF) [00:00:11]*** step 86: 723 (630, 93 REF) [00:00:11]*** step 87: 717 (620, 97 REF) [00:00:11]*** step 88: 710 (610, 100 REF) [00:00:11]*** step 89: 705 (600, 105 REF) [00:00:11]*** step 90: 699 [00:00:11]*** step 91: 693 [00:00:11]*** step 92: 688 [00:00:11]*** step 93: 683 [00:00:11]*** step 94: 678 [00:00:11]*** step 95: 673 [00:00:11]*** step 96: 669 [00:00:11]*** step 97: 664 [00:00:11]*** step 98: 660 [00:00:11]*** step 99: 656 [00:00:11]*** step 100: 652 [00:00:11]*** step 101: 648 [00:00:11]*** step 102: 644 [00:00:11]*** step 103: 641 [00:00:11]*** step 104: 638 [00:00:11]*** step 105: 634 [00:00:11]*** step 106: 631 [00:00:11]*** step 107: 628 [00:00:11]*** step 108: 625 [00:00:11]*** step 109: 622 [00:00:11]*** step 110: 620 [00:00:11]*** step 111: 617 [00:00:11]*** step 112: 615 [00:00:11]*** step 113: 612 [00:00:11]*** step 114: 610 [00:00:11]*** step 115: 608 [00:00:11]*** step 116: 605 [00:00:11]*** step 117: 603 [00:00:11]*** step 118: 601 [00:00:11]*** step 119: 599 [00:00:11]*** printer: Printer HW initialized [00:00:11]*** initSamCard finished [00:00:11]*** RTC: 13030301+1704479911=1717510212 [00:00:11]*** BPK Status Register BPK_RDY = 0x0 [00:00:11]*** SEN State Register SEN_STATE = 0x20ff [00:00:11]*** 32K Frequency Sensor Enable SEN_XTAL32_EN = 0x80000055 [00:00:11]*** Analog Control Register 0 SEN_ANA0 = 0x33530623 [00:00:11]*** Is cutter blocked? [00:00:12]MH_GetMetrics [00:00:12]Write to MH i2c: 00 00 00 03 00 02 [00:00:12]Write i2c OK [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: 00 [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: 00 29 00 [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: 00 29 00 03 00 00 03 9C 77 C0 01 31 39 30 33 53 51 38 38 54 00 00 00 00 57 25 A4 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 00 03 00 4A [00:00:12]Are we in boot? [00:00:12]We are not in boot now [00:00:12]Write to MH i2c: 01 00 00 04 00 04 [00:00:12]Write i2c OK [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: 01 [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: 01 07 00 [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: 01 07 00 04 00 00 00 00 00 00 FF 0F 19 [00:00:12]Model is 3 [00:00:12]MH firmware is 30620 [00:00:12]MH boot firmware is 3 [00:00:12]MH_SetPrinterDots 448 [00:00:12]HeadWidthInBytes 56 [00:00:12]maxmasksize 7 [00:00:12]Write to MH i2c: D6 06 00 05 00 47 00 60 00 FF FF 85 [00:00:12]Write i2c OK [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: D6 [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: D6 01 00 [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: D6 01 00 05 00 00 DB [00:00:12]Write to MH i2c: D5 00 00 06 00 DA [00:00:12]Write i2c OK [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: D5 [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: D5 01 00 [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: D5 01 00 06 00 00 DB [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]ExternCall_SetCallbacks [00:00:12]NVStorageInit [00:00:12]MH_GetDate [00:00:12]Write to MH i2c: F0 00 00 07 00 F6 [00:00:12]Write i2c OK [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: F0 [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: F0 09 00 [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: F0 09 00 07 00 00 45 20 5F 66 A7 4C 98 65 19 [14:10:13]Current date/time: 04.06.2024 14:10 [14:10:13]FM_Init [14:10:13]wFMConnect [14:10:13]MH_SAM_On [14:10:13]Write to MH i2c: E0 00 00 08 00 E7 [14:10:13]Write i2c OK [14:10:13]MH_I2C_Read... [14:10:13]*** iso7816_init finished! [14:10:13]*** atr: [14:10:13]*** 0F 3B D5 18 FF 81 91 FE [14:10:13]*** 1F C3 80 73 C8 21 10 0A [14:10:13]*** 00 00 00 00 00 00 00 00 [14:10:13]*** 00 00 00 00 00 00 00 00 [14:10:13]*** 00 00 00 00 00 00 00 00 [14:10:13]*** 00 00 00 00 00 00 00 00 [14:10:13]*** 00 00 00 00 00 00 00 00 [14:10:13]*** 00 00 00 00 00 00 00 00 [14:10:13]Read from MH i2c: E0 [14:10:13]MH_I2C_Read... [14:10:13]Read from MH i2c: E0 10 00 [14:10:13]MH_I2C_Read... [14:10:13]Read from MH i2c: E0 10 00 08 00 00 3B D5 18 FF 81 91 FE 1F C3 80 73 C8 21 10 0A 06 [14:10:13]ATR: 3B D5 18 FF 81 91 FE 1F C3 80 73 C8 21 10 0A [14:10:13]wFMCommunicate request_size=10 [14:10:13]MH_SAM_APDU [14:10:13]CAPDU: 00 A4 04 00 05 01 02 03 04 05 [14:10:13]Write to MH i2c: E2 0D 00 09 00 00 A4 04 00 05 00 01 02 03 04 05 00 00 B3 [14:10:13]Write i2c OK [14:10:13]MH_I2C_Read... [14:10:13]*** iso7816_exchange 00 A4 04 00... Resp OK rsp.len_out = 0! [14:10:13]Read from MH i2c: E2 [14:10:13]MH_I2C_Read... [14:10:13]Read from MH i2c: E2 03 00 [14:10:13]MH_I2C_Read... [14:10:13]Read from MH i2c: E2 03 00 09 00 00 90 00 7D [14:10:13]RAPDU: 90 00 [14:10:13]wFMCommunicate OK [14:10:13]wFMCommunicate request_size=4 [14:10:13]MH_SAM_APDU [14:10:13]CAPDU: 80 11 00 00 [14:10:13]Write to MH i2c: E2 08 00 0A 00 80 11 00 00 00 00 00 00 84 [14:10:13]Write i2c OK [14:10:13]MH_I2C_Read... [14:10:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:10:13]Read from MH i2c: E2 [14:10:13]MH_I2C_Read... [14:10:13]Read from MH i2c: E2 17 00 [14:10:13]MH_I2C_Read... [14:10:13]Read from MH i2c: E2 17 00 0A 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 E0 [14:10:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 [14:10:13]wFMCommunicate OK [14:10:13]Detected FM SN is 0000000000874859 [14:10:13]Stored FM SN is 0000000000874859 [14:10:13]wFMCommunicate request_size=9 [14:10:13]MH_SAM_APDU [14:10:13]CAPDU: 80 16 00 00 04 64 64 00 00 [14:10:13]Write to MH i2c: E2 0C 00 0B 00 80 16 00 00 04 00 64 64 00 00 00 00 5A [14:10:13]Write i2c OK [14:10:13]MH_I2C_Read... [14:10:13]*** iso7816_exchange 80 16 00 00... Resp OK rsp.len_out = 0! [14:10:13]Read from MH i2c: E2 [14:10:13]MH_I2C_Read... [14:10:13]Read from MH i2c: E2 03 00 [14:10:13]MH_I2C_Read... [14:10:13]Read from MH i2c: E2 03 00 0B 00 00 90 00 7F [14:10:13]RAPDU: 90 00 [14:10:13]wFMCommunicate OK [14:10:13]FM PIN OK [14:10:13]wFMCommunicate request_size=8 [14:10:13]MH_SAM_APDU [14:10:13]CAPDU: 80 14 04 00 03 02 00 01 [14:10:13]Write to MH i2c: E2 0B 00 0C 00 80 14 04 00 03 00 02 00 01 00 00 96 [14:10:13]Write i2c OK [14:10:13]MH_I2C_Read... [14:10:13]*** iso7816_exchange 80 14 04 00... Resp OK rsp.len_out = 0! [14:10:13]Read from MH i2c: E2 [14:10:13]MH_I2C_Read... [14:10:13]Read from MH i2c: E2 03 00 [14:10:13]MH_I2C_Read... [14:10:13]Read from MH i2c: E2 03 00 0C 00 00 90 00 80 [14:10:13]RAPDU: 90 00 [14:10:13]wFMCommunicate OK [14:10:13]wFMCommunicate request_size=13 [14:10:13]MH_SAM_APDU [14:10:13]CAPDU: 80 14 04 01 08 07 00 01 02 03 04 05 06 [14:10:13]Write to MH i2c: E2 10 00 0D 00 80 14 04 01 08 00 07 00 01 02 03 04 05 06 00 00 BB [14:10:13]Write i2c OK [14:10:13]MH_I2C_Read... [14:10:13]*** iso7816_exchange 80 14 04 01... Resp OK rsp.len_out = 0! [14:10:13]Read from MH i2c: E2 [14:10:13]MH_I2C_Read... [14:10:13]Read from MH i2c: E2 03 00 [14:10:13]MH_I2C_Read... [14:10:13]Read from MH i2c: E2 03 00 0D 00 00 90 00 81 [14:10:13]RAPDU: 90 00 [14:10:13]wFMCommunicate OK [14:10:13]wFMCommunicate request_size=4 [14:10:13]MH_SAM_APDU [14:10:13]CAPDU: 80 11 00 00 [14:10:13]Write to MH i2c: E2 08 00 0E 00 80 11 00 00 00 00 00 00 88 [14:10:13]Write i2c OK [14:10:13]MH_I2C_Read... [14:10:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:10:13]Read from MH i2c: E2 [14:10:13]MH_I2C_Read... [14:10:13]Read from MH i2c: E2 17 00 [14:10:13]MH_I2C_Read... [14:10:13]Read from MH i2c: E2 17 00 0E 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 E4 [14:10:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 [14:10:13]wFMCommunicate OK [14:10:13]DocumentArchiveInit [14:10:13]Start Httpd... [14:10:13]Httpd thread 3067022692 created [14:10:13]Write to MH i2c: 01 00 00 0F 00 0F [14:10:13]Write i2c OK [14:10:13]MH_I2C_Read... [14:10:13]Read from MH i2c: 01 [14:10:13]MH_I2C_Read... [14:10:13]Read from MH i2c: 01 07 00 [14:10:13]MH_I2C_Read... [14:10:13]Read from MH i2c: 01 07 00 0F 00 00 00 00 00 00 FF 0F 24 [14:10:13]MH Int Process started [14:10:13]Allocated Socket 8 [14:10:13]Bind OK [14:10:13]Listen OK [14:10:13]httpd running on port 8080 [14:10:13]Waiting for new connection... [14:10:13]OFD Sender: No OFD packet to send [14:10:14]accept exits with 9 [14:10:14]New connection [14:10:14]New thread 3066735972 created [14:10:14]Waiting for new connection... [14:10:14] Sock 9.Parse request [14:10:14]Sock 9.Check first char [14:10:14]Sock 9.First char is OK [14:10:14]request: POST /json_proto HTTP/1.0 [14:10:14]Method: POST [14:10:14]URL: /json_proto [14:10:14]Method is POST - this is cgi request [14:10:14]url: /json_proto [14:10:14]query_string will be loaded in cgi processing [14:10:14]execute_cgi json_proto POST (null) [14:10:14]execute_cgi path=json_proto method=POST [14:10:14]POST find Content-Length [14:10:14]Host: 172.17.36.131:8080 [14:10:14]Content-Length: 215 [14:10:14]Content-Type: application/json [14:10:14] [14:10:14]POST finish read [14:10:14]Found Content-Length = 215 [14:10:14]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:10:14]execute_script... [14:10:14]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:10:14]POST & json_proto [14:10:14]process_json_proto [14:10:14]json parsed OK: [14:10:14]protocol is kg_v1.0 [14:10:14]action value=get_value [14:10:14]process_action get_value [14:10:14]cmd_get_value [14:10:14]process_action get_value done [14:10:14]requested_data is exist [14:10:14]produce_requested_data [14:10:14]requested_item kkm.sn is exist - process it [14:10:14]requested_item kkm.ver is exist - process it [14:10:14]requested_item fm.sn is exist - process it [14:10:14]wFMCommunicate request_size=4 [14:10:14]MH_SAM_APDU [14:10:14]CAPDU: 80 11 00 00 [14:10:14]Write to MH i2c: E2 08 00 10 00 80 11 00 00 00 00 00 00 8A [14:10:14]Write i2c OK [14:10:14]MH_I2C_Read... [14:10:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:10:14]Read from MH i2c: E2 [14:10:14]MH_I2C_Read... [14:10:14]Read from MH i2c: E2 17 00 [14:10:14]MH_I2C_Read... [14:10:14]Read from MH i2c: E2 17 00 10 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 E6 [14:10:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 [14:10:14]wFMCommunicate OK [14:10:14]requested_item fd.num is exist - process it [14:10:14]SAM_PROTO_GetFieldsCounters [14:10:14]wFMCommunicate request_size=4 [14:10:14]MH_SAM_APDU [14:10:14]CAPDU: 80 13 00 00 [14:10:14]Write to MH i2c: E2 08 00 11 00 80 13 00 00 00 00 00 00 8D [14:10:14]Write i2c OK [14:10:14]MH_I2C_Read... [14:10:14]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:10:15]Read from MH i2c: E2 [14:10:15]MH_I2C_Read... [14:10:15]Read from MH i2c: E2 62 00 [14:10:15]MH_I2C_Read... [14:10:15]Read from MH i2c: E2 62 00 11 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 10 04 04 00 79 87 00 00 0E 04 04 00 70 01 00 00 12 04 04 00 19 00 00 00 5E 04 04 00 19 00 00 00 57 04 04 00 1A 00 00 00 19 04 04 00 00 00 00 00 90 00 7C [14:10:15]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 10 04 04 00 79 87 00 00 0E 04 04 00 70 01 00 00 12 04 04 00 19 00 00 00 5E 04 04 00 19 00 00 00 57 04 04 00 1A 00 00 00 19 04 04 00 00 00 00 00 90 00 [14:10:15]wFMCommunicate OK [14:10:15]SAM_PROTO_GetFieldsCounters done [14:10:15]requested_item shift.num is exist - process it [14:10:15]requested_item shift.opened is exist - process it [14:10:15]req_shift_opened [14:10:15]FM_GetShiftState [14:10:15]SAM_PROTO_GetShiftState [14:10:15]wFMCommunicate request_size=4 [14:10:15]MH_SAM_APDU [14:10:15]CAPDU: 80 13 01 00 [14:10:15]Write to MH i2c: E2 08 00 12 00 80 13 01 00 00 00 00 00 8F [14:10:15]Write i2c OK [14:10:15]MH_I2C_Read... [14:10:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:10:15]Read from MH i2c: E2 [14:10:15]MH_I2C_Read... [14:10:15]Read from MH i2c: E2 0E 00 [14:10:15]MH_I2C_Read... [14:10:15]Read from MH i2c: E2 0E 00 12 00 00 09 00 01 35 5B 5E 66 00 00 00 00 90 00 EF [14:10:15]RAPDU: 09 00 01 35 5B 5E 66 00 00 00 00 90 00 [14:10:15]wFMCommunicate OK [14:10:15]SAM_PROTO_GetShiftState done [14:10:15]FM_GetShiftState done [14:10:15]req_shift_opened done [14:10:15]requested_item shift.open_date is exist - process it [14:10:15]req_shift_open_date [14:10:15]req_shift_open_date done [14:10:15]produce_requested_data done [14:10:15]produce_requested_data return {"kkm.sn":"0300000080","kkm.ver":"001","fm.sn":"0000000000874859","fd.num":34681,"shift.num":368,"shift.opened":1,"shift.open_date":1717459765} [14:10:15]process_action_free get_value [14:10:15]json_value_free [14:10:15]json_value_free done [14:10:15]process_json_proto returns [14:10:15]Send response to host [14:10:15]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000080","kkm.ver":"001","fm.sn":"0000000000874859","fd.num":34681,"shift.num":368,"shift.opened":1,"shift.open_date":1717459765}}} [14:10:15]free response buf [14:10:15]execute_script done [14:10:15]execute_script returns [14:10:15]free content buf [14:10:15]Sock 9.Close socket [14:10:15]Sock 9.Thread stoped [14:10:15]accept exits with 6 [14:10:15]New connection [14:10:15]New thread 3066592612 created [14:10:15]Thread 3066735972 joined [14:10:15]Waiting for new connection... [14:10:15] Sock 6.Parse request [14:10:15]Sock 6.Check first char [14:10:15]Sock 6.First char is OK [14:10:15]request: POST /json_proto HTTP/1.0 [14:10:15]Method: POST [14:10:15]URL: /json_proto [14:10:15]Method is POST - this is cgi request [14:10:15]url: /json_proto [14:10:15]query_string will be loaded in cgi processing [14:10:15]execute_cgi json_proto POST (null) [14:10:15]execute_cgi path=json_proto method=POST [14:10:15]POST find Content-Length [14:10:15]Host: 172.17.36.131:8080 [14:10:15]Content-Length: 331 [14:10:15]Content-Type: application/json [14:10:15] [14:10:15]POST finish read [14:10:15]Found Content-Length = 331 [14:10:15]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [14:10:15]execute_script... [14:10:15]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [14:10:15]POST & json_proto [14:10:15]process_json_proto [14:10:15]json parsed OK: [14:10:15]protocol is kg_v1.0 [14:10:15]action value=get_value [14:10:15]process_action get_value [14:10:15]cmd_get_value [14:10:15]process_action get_value done [14:10:15]requested_data is exist [14:10:15]produce_requested_data [14:10:15]requested_item fm.sale.total is exist - process it [14:10:15]SAM_PROTO_GetFMData [14:10:15]wFMCommunicate request_size=4 [14:10:15]MH_SAM_APDU [14:10:15]CAPDU: 80 13 03 00 [14:10:15]Write to MH i2c: E2 08 00 13 00 80 13 03 00 00 00 00 00 92 [14:10:15]Write i2c OK [14:10:15]MH_I2C_Read... [14:10:15]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [14:10:15]Read from MH i2c: E2 [14:10:15]MH_I2C_Read... [14:10:15]Read from MH i2c: E2 FD 00 [14:10:15]MH_I2C_Read... [14:10:15]Read from MH i2c: E2 FD 00 13 00 00 C4 04 85 04 C0 04 6E 04 04 00 99 84 00 00 69 04 A0 00 6F 04 04 00 2B 83 00 00 B1 04 04 00 A0 F0 9C 5E 70 04 04 00 AC EE E3 53 72 04 04 00 F4 01 B9 0A 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 BB C3 0C 0A EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 06 5B D6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 6E 01 00 00 B1 04 04 00 58 48 44 02 70 04 04 00 50 6A 39 02 72 04 03 00 08 DE 0A 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 3B A1 3D EF 03 09 00 90 00 A9 [14:10:15]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 99 84 00 00 69 04 A0 00 6F 04 04 00 2B 83 00 00 B1 04 04 00 A0 F0 9C 5E 70 04 04 00 AC EE E3 53 72 04 04 00 F4 01 B9 0A 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 BB C3 0C 0A EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 06 5B D6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 6E 01 00 00 B1 04 04 00 58 48 44 02 70 04 04 00 50 6A 39 02 72 04 03 00 08 DE 0A 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 3B A1 3D EF 03 09 00 90 00 [14:10:15]wFMCommunicate OK [14:10:15]wFMCommunicate request_size=4 [14:10:15]MH_SAM_APDU [14:10:15]CAPDU: 80 17 00 00 [14:10:15]Write to MH i2c: E2 08 00 14 00 80 17 00 00 00 00 00 00 94 [14:10:15]Write i2c OK [14:10:15]MH_I2C_Read... [14:10:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:10:16]Read from MH i2c: E2 [14:10:16]MH_I2C_Read... [14:10:16]Read from MH i2c: E2 FD 00 [14:10:16]MH_I2C_Read... [14:10:16]Read from MH i2c: E2 FD 00 14 00 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 9B 22 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 0C [14:10:16]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 9B 22 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [14:10:16]wFMCommunicate OK [14:10:16]wFMCommunicate request_size=4 [14:10:16]MH_SAM_APDU [14:10:16]CAPDU: 80 17 00 00 [14:10:16]Write to MH i2c: E2 08 00 15 00 80 17 00 00 00 00 00 00 95 [14:10:16]Write i2c OK [14:10:16]MH_I2C_Read... [14:10:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:10:16]Read from MH i2c: E2 [14:10:16]MH_I2C_Read... [14:10:16]Read from MH i2c: E2 FD 00 [14:10:16]MH_I2C_Read... [14:10:16]Read from MH i2c: E2 FD 00 15 00 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 AA [14:10:16]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [14:10:16]wFMCommunicate OK [14:10:16]wFMCommunicate request_size=4 [14:10:16]MH_SAM_APDU [14:10:16]CAPDU: 80 17 00 00 [14:10:16]Write to MH i2c: E2 08 00 16 00 80 17 00 00 00 00 00 00 96 [14:10:16]Write i2c OK [14:10:16]MH_I2C_Read... [14:10:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:10:16]Read from MH i2c: E2 [14:10:16]MH_I2C_Read... [14:10:16]Read from MH i2c: E2 FD 00 [14:10:16]MH_I2C_Read... [14:10:16]Read from MH i2c: E2 FD 00 16 00 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 0E [14:10:16]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [14:10:16]wFMCommunicate OK [14:10:16]wFMCommunicate request_size=4 [14:10:16]MH_SAM_APDU [14:10:16]CAPDU: 80 17 00 00 [14:10:16]Write to MH i2c: E2 08 00 17 00 80 17 00 00 00 00 00 00 97 [14:10:16]Write i2c OK [14:10:16]MH_I2C_Read... [14:10:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [14:10:16]Read from MH i2c: E2 [14:10:16]MH_I2C_Read... [14:10:16]Read from MH i2c: E2 E1 00 [14:10:16]MH_I2C_Read... [14:10:16]Read from MH i2c: E2 E1 00 17 00 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 85 [14:10:16]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [14:10:16]wFMCommunicate OK [14:10:16]SAM_PROTO_GetFMData done [14:10:16]requested_item fm.sale_refund.total is exist - process it [14:10:16]requested_item fm.buy.total is exist - process it [14:10:16]requested_item shift.sale.total is exist - process it [14:10:16]SAM_PROTO_GetShiftData [14:10:16]wFMCommunicate request_size=4 [14:10:16]MH_SAM_APDU [14:10:16]CAPDU: 80 13 02 00 [14:10:16]Write to MH i2c: E2 08 00 18 00 80 13 02 00 00 00 00 00 96 [14:10:16]Write i2c OK [14:10:16]MH_I2C_Read... [14:10:17]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [14:10:17]Read from MH i2c: E2 [14:10:17]MH_I2C_Read... [14:10:17]Read from MH i2c: E2 FD 00 [14:10:17]MH_I2C_Read... [14:10:17]Read from MH i2c: E2 FD 00 18 00 00 AC 04 AA 04 A8 04 6E 04 04 00 19 00 00 00 69 04 99 00 6F 04 04 00 19 00 00 00 B1 04 03 00 AC E9 05 70 04 03 00 74 22 05 72 04 02 00 38 C7 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 BB A0 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 61 0D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 90 00 7F [14:10:17]RAPDU: AC 04 AA 04 A8 04 6E 04 04 00 19 00 00 00 69 04 99 00 6F 04 04 00 19 00 00 00 B1 04 03 00 AC E9 05 70 04 03 00 74 22 05 72 04 02 00 38 C7 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 BB A0 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 61 0D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 90 00 [14:10:17]wFMCommunicate OK [14:10:17]wFMCommunicate request_size=4 [14:10:17]MH_SAM_APDU [14:10:17]CAPDU: 80 17 00 00 [14:10:17]Write to MH i2c: E2 08 00 19 00 80 17 00 00 00 00 00 00 99 [14:10:17]Write i2c OK [14:10:17]MH_I2C_Read... [14:10:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:10:17]Read from MH i2c: E2 [14:10:17]MH_I2C_Read... [14:10:17]Read from MH i2c: E2 FD 00 [14:10:17]MH_I2C_Read... [14:10:17]Read from MH i2c: E2 FD 00 19 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 90 00 AE [14:10:17]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 [14:10:17]wFMCommunicate OK [14:10:17]wFMCommunicate request_size=4 [14:10:17]MH_SAM_APDU [14:10:17]CAPDU: 80 17 00 00 [14:10:17]Write to MH i2c: E2 08 00 1A 00 80 17 00 00 00 00 00 00 9A [14:10:17]Write i2c OK [14:10:17]MH_I2C_Read... [14:10:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:10:17]Read from MH i2c: E2 [14:10:17]MH_I2C_Read... [14:10:17]Read from MH i2c: E2 FD 00 [14:10:17]MH_I2C_Read... [14:10:17]Read from MH i2c: E2 FD 00 1A 00 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 5B [14:10:17]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 [14:10:18]wFMCommunicate OK [14:10:18]wFMCommunicate request_size=4 [14:10:18]MH_SAM_APDU [14:10:18]CAPDU: 80 17 00 00 [14:10:18]Write to MH i2c: E2 08 00 1B 00 80 17 00 00 00 00 00 00 9B [14:10:18]Write i2c OK [14:10:18]MH_I2C_Read... [14:10:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:10:18]Read from MH i2c: E2 [14:10:18]MH_I2C_Read... [14:10:18]Read from MH i2c: E2 FD 00 [14:10:18]MH_I2C_Read... [14:10:18]Read from MH i2c: E2 FD 00 1B 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 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 10 [14:10:18]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 [14:10:18]wFMCommunicate OK [14:10:18]wFMCommunicate request_size=4 [14:10:18]MH_SAM_APDU [14:10:18]CAPDU: 80 17 00 00 [14:10:18]Write to MH i2c: E2 08 00 1C 00 80 17 00 00 00 00 00 00 9C [14:10:18]Write i2c OK [14:10:18]MH_I2C_Read... [14:10:18]OFD Sender: No OFD packet to send [14:10:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 198! [14:10:18]Read from MH i2c: E2 [14:10:18]MH_I2C_Read... [14:10:18]Read from MH i2c: E2 C9 00 [14:10:18]MH_I2C_Read... [14:10:18]Read from MH i2c: E2 C9 00 1C 00 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 80 [14:10:18]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 [14:10:18]wFMCommunicate OK [14:10:18]SAM_PROTO_GetShiftData done [14:10:18]requested_item shift.sale.total_cash is exist - process it [14:10:18]requested_item shift.sale_refund.total is exist - process it [14:10:18]requested_item shift.sale_refund.total_cash is exist - process it [14:10:18]requested_item shift.buy.total is exist - process it [14:10:18]requested_item shift.buy.total_cash is exist - process it [14:10:18]produce_requested_data done [14:10:18]produce_requested_data return {"fm.sale.total":15873435.20,"fm.sale_refund.total":380294.00,"fm.buy.total":0.00,"shift.sale.total":3875.00,"shift.sale.total_cash":3365.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} [14:10:18]process_action_free get_value [14:10:18]json_value_free [14:10:18]json_value_free done [14:10:18]process_json_proto returns [14:10:18]Send response to host [14:10:18]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":15873435.20,"fm.sale_refund.total":380294.00,"fm.buy.total":0.00,"shift.sale.total":3875.00,"shift.sale.total_cash":3365.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}}} [14:10:18]free response buf [14:10:18]execute_script done [14:10:18]execute_script returns [14:10:18]free content buf [14:10:18]Sock 6.Close socket [14:10:18]Sock 6.Thread stoped [14:10:23]OFD Sender: No OFD packet to send [14:10:28]OFD Sender: No OFD packet to send [14:10:33]OFD Sender: No OFD packet to send [14:10:38]OFD Sender: No OFD packet to send [14:10:43]OFD Sender: No OFD packet to send [14:10:48]OFD Sender: No OFD packet to send [14:10:53]OFD Sender: No OFD packet to send [14:10:58]OFD Sender: No OFD packet to send [14:11:03]OFD Sender: No OFD packet to send [14:11:08]OFD Sender: No OFD packet to send [14:11:13]OFD Sender: No OFD packet to send [14:11:18]OFD Sender: No OFD packet to send [14:11:23]OFD Sender: No OFD packet to send [14:11:28]OFD Sender: No OFD packet to send [14:11:33]OFD Sender: No OFD packet to send [14:11:38]OFD Sender: No OFD packet to send [14:11:43]OFD Sender: No OFD packet to send [14:11:48]OFD Sender: No OFD packet to send [14:11:53]OFD Sender: No OFD packet to send [14:11:58]OFD Sender: No OFD packet to send [14:12:03]OFD Sender: No OFD packet to send [14:12:08]OFD Sender: No OFD packet to send [14:12:13]OFD Sender: No OFD packet to send [14:12:18]OFD Sender: No OFD packet to send [14:12:23]OFD Sender: No OFD packet to send [14:12:28]OFD Sender: No OFD packet to send [14:12:33]OFD Sender: No OFD packet to send [14:12:38]OFD Sender: No OFD packet to send [14:12:43]OFD Sender: No OFD packet to send [14:12:48]OFD Sender: No OFD packet to send [14:12:53]OFD Sender: No OFD packet to send [14:12:58]OFD Sender: No OFD packet to send [14:13:03]OFD Sender: No OFD packet to send [14:13:08]OFD Sender: No OFD packet to send [14:13:13]OFD Sender: No OFD packet to send [14:13:18]OFD Sender: No OFD packet to send [14:13:23]OFD Sender: No OFD packet to send [14:13:28]OFD Sender: No OFD packet to send [14:13:33]OFD Sender: No OFD packet to send [14:13:38]OFD Sender: No OFD packet to send [14:13:43]OFD Sender: No OFD packet to send [14:13:48]OFD Sender: No OFD packet to send [14:13:53]OFD Sender: No OFD packet to send [14:13:58]OFD Sender: No OFD packet to send [14:14:03]OFD Sender: No OFD packet to send [14:14:08]OFD Sender: No OFD packet to send [14:14:13]OFD Sender: No OFD packet to send [14:14:18]OFD Sender: No OFD packet to send [14:14:23]OFD Sender: No OFD packet to send [14:14:28]OFD Sender: No OFD packet to send [14:14:33]OFD Sender: No OFD packet to send [14:14:38]OFD Sender: No OFD packet to send [14:14:43]OFD Sender: No OFD packet to send [14:14:48]OFD Sender: No OFD packet to send [14:14:53]OFD Sender: No OFD packet to send [14:14:58]OFD Sender: No OFD packet to send [14:15:03]OFD Sender: No OFD packet to send [14:15:08]OFD Sender: No OFD packet to send [14:15:13]OFD Sender: No OFD packet to send [14:15:18]OFD Sender: No OFD packet to send [14:15:23]OFD Sender: No OFD packet to send [14:15:28]OFD Sender: No OFD packet to send [14:15:33]OFD Sender: No OFD packet to send [14:15:38]OFD Sender: No OFD packet to send [14:15:43]OFD Sender: No OFD packet to send [14:15:48]OFD Sender: No OFD packet to send [14:15:53]OFD Sender: No OFD packet to send [14:15:58]OFD Sender: No OFD packet to send [14:16:03]OFD Sender: No OFD packet to send [14:16:08]OFD Sender: No OFD packet to send [14:16:13]OFD Sender: No OFD packet to send [14:16:18]OFD Sender: No OFD packet to send [14:16:23]OFD Sender: No OFD packet to send [14:16:28]OFD Sender: No OFD packet to send [14:16:33]OFD Sender: No OFD packet to send [14:16:38]OFD Sender: No OFD packet to send [14:16:43]OFD Sender: No OFD packet to send [14:16:48]OFD Sender: No OFD packet to send [14:16:53]OFD Sender: No OFD packet to send [14:16:58]OFD Sender: No OFD packet to send [14:17:03]OFD Sender: No OFD packet to send [14:17:08]OFD Sender: No OFD packet to send [14:17:13]OFD Sender: No OFD packet to send [14:17:18]OFD Sender: No OFD packet to send [14:17:23]OFD Sender: No OFD packet to send [14:17:28]OFD Sender: No OFD packet to send [14:17:33]OFD Sender: No OFD packet to send [14:17:38]OFD Sender: No OFD packet to send [14:17:43]OFD Sender: No OFD packet to send [14:17:48]OFD Sender: No OFD packet to send [14:17:53]OFD Sender: No OFD packet to send [14:17:58]OFD Sender: No OFD packet to send [14:18:03]OFD Sender: No OFD packet to send [14:18:08]OFD Sender: No OFD packet to send [14:18:13]OFD Sender: No OFD packet to send [14:18:18]OFD Sender: No OFD packet to send [14:18:23]OFD Sender: No OFD packet to send [14:18:28]OFD Sender: No OFD packet to send [14:18:33]OFD Sender: No OFD packet to send [14:18:38]OFD Sender: No OFD packet to send [14:18:43]OFD Sender: No OFD packet to send [14:18:48]OFD Sender: No OFD packet to send [14:18:53]OFD Sender: No OFD packet to send [14:18:58]OFD Sender: No OFD packet to send [14:19:03]OFD Sender: No OFD packet to send [14:19:08]OFD Sender: No OFD packet to send [14:19:13]OFD Sender: No OFD packet to send [14:19:18]OFD Sender: No OFD packet to send [14:19:23]OFD Sender: No OFD packet to send [14:19:28]OFD Sender: No OFD packet to send [14:19:33]OFD Sender: No OFD packet to send [14:19:38]OFD Sender: No OFD packet to send [14:19:43]OFD Sender: No OFD packet to send [14:19:48]OFD Sender: No OFD packet to send [14:19:53]OFD Sender: No OFD packet to send [14:19:58]OFD Sender: No OFD packet to send [14:20:03]OFD Sender: No OFD packet to send [14:20:08]OFD Sender: No OFD packet to send [14:20:13]OFD Sender: No OFD packet to send [14:20:18]OFD Sender: No OFD packet to send [14:20:23]OFD Sender: No OFD packet to send [14:20:28]OFD Sender: No OFD packet to send [14:20:33]OFD Sender: No OFD packet to send [14:20:38]OFD Sender: No OFD packet to send [14:20:43]OFD Sender: No OFD packet to send [14:20:48]OFD Sender: No OFD packet to send [14:20:53]OFD Sender: No OFD packet to send [14:20:58]OFD Sender: No OFD packet to send [14:21:03]OFD Sender: No OFD packet to send [14:21:08]OFD Sender: No OFD packet to send [14:21:13]OFD Sender: No OFD packet to send [14:21:18]OFD Sender: No OFD packet to send [14:21:23]OFD Sender: No OFD packet to send [14:21:29]OFD Sender: No OFD packet to send [14:21:34]OFD Sender: No OFD packet to send [14:21:39]OFD Sender: No OFD packet to send [14:21:44]OFD Sender: No OFD packet to send [14:21:49]OFD Sender: No OFD packet to send [14:21:54]OFD Sender: No OFD packet to send [14:21:59]OFD Sender: No OFD packet to send [14:22:04]OFD Sender: No OFD packet to send [14:22:09]OFD Sender: No OFD packet to send [14:22:14]OFD Sender: No OFD packet to send [14:22:19]OFD Sender: No OFD packet to send [14:22:24]OFD Sender: No OFD packet to send [14:22:29]OFD Sender: No OFD packet to send [14:22:34]OFD Sender: No OFD packet to send [14:22:39]OFD Sender: No OFD packet to send [14:22:44]OFD Sender: No OFD packet to send [14:22:49]OFD Sender: No OFD packet to send [14:22:54]OFD Sender: No OFD packet to send [14:22:59]OFD Sender: No OFD packet to send [14:23:04]OFD Sender: No OFD packet to send [14:23:09]OFD Sender: No OFD packet to send [14:23:14]OFD Sender: No OFD packet to send [14:23:19]OFD Sender: No OFD packet to send [14:23:24]OFD Sender: No OFD packet to send [14:23:29]OFD Sender: No OFD packet to send [14:23:34]OFD Sender: No OFD packet to send [14:23:39]OFD Sender: No OFD packet to send [14:23:44]OFD Sender: No OFD packet to send [14:23:49]OFD Sender: No OFD packet to send [14:23:54]OFD Sender: No OFD packet to send [14:23:59]OFD Sender: No OFD packet to send [14:24:04]OFD Sender: No OFD packet to send [14:24:09]OFD Sender: No OFD packet to send [14:24:14]OFD Sender: No OFD packet to send [14:24:19]OFD Sender: No OFD packet to send [14:24:24]OFD Sender: No OFD packet to send [14:24:29]OFD Sender: No OFD packet to send [14:24:34]OFD Sender: No OFD packet to send [14:24:39]OFD Sender: No OFD packet to send [14:24:44]OFD Sender: No OFD packet to send [14:24:49]OFD Sender: No OFD packet to send [14:24:54]OFD Sender: No OFD packet to send [14:24:59]OFD Sender: No OFD packet to send [14:25:04]OFD Sender: No OFD packet to send [14:25:09]OFD Sender: No OFD packet to send [14:25:14]OFD Sender: No OFD packet to send [14:25:19]OFD Sender: No OFD packet to send [14:25:24]OFD Sender: No OFD packet to send [14:25:29]OFD Sender: No OFD packet to send [14:25:34]OFD Sender: No OFD packet to send [14:25:39]OFD Sender: No OFD packet to send [14:25:44]OFD Sender: No OFD packet to send [14:25:49]OFD Sender: No OFD packet to send [14:25:54]OFD Sender: No OFD packet to send [14:25:59]OFD Sender: No OFD packet to send [14:26:04]OFD Sender: No OFD packet to send [14:26:09]OFD Sender: No OFD packet to send [14:26:14]OFD Sender: No OFD packet to send [14:26:19]OFD Sender: No OFD packet to send [14:26:24]OFD Sender: No OFD packet to send [14:26:29]OFD Sender: No OFD packet to send [14:26:34]OFD Sender: No OFD packet to send [14:26:39]OFD Sender: No OFD packet to send [14:26:44]OFD Sender: No OFD packet to send [14:26:49]OFD Sender: No OFD packet to send [14:26:54]OFD Sender: No OFD packet to send [14:26:59]OFD Sender: No OFD packet to send [14:27:04]OFD Sender: No OFD packet to send [14:27:09]OFD Sender: No OFD packet to send [14:27:14]OFD Sender: No OFD packet to send [14:27:19]OFD Sender: No OFD packet to send [14:27:24]OFD Sender: No OFD packet to send [14:27:29]OFD Sender: No OFD packet to send [14:27:34]OFD Sender: No OFD packet to send [14:27:39]OFD Sender: No OFD packet to send [14:27:44]OFD Sender: No OFD packet to send [14:27:49]OFD Sender: No OFD packet to send [14:27:54]OFD Sender: No OFD packet to send [14:27:59]OFD Sender: No OFD packet to send [14:28:04]OFD Sender: No OFD packet to send [14:28:09]OFD Sender: No OFD packet to send [14:28:14]OFD Sender: No OFD packet to send [14:28:19]OFD Sender: No OFD packet to send [14:28:24]OFD Sender: No OFD packet to send [14:28:29]OFD Sender: No OFD packet to send [14:28:34]OFD Sender: No OFD packet to send [14:28:39]OFD Sender: No OFD packet to send [14:28:44]OFD Sender: No OFD packet to send [14:28:49]OFD Sender: No OFD packet to send [14:28:54]OFD Sender: No OFD packet to send [14:28:59]OFD Sender: No OFD packet to send [14:29:04]OFD Sender: No OFD packet to send [14:29:09]OFD Sender: No OFD packet to send [14:29:14]OFD Sender: No OFD packet to send [14:29:19]OFD Sender: No OFD packet to send [14:29:24]OFD Sender: No OFD packet to send [14:29:29]OFD Sender: No OFD packet to send [14:29:34]OFD Sender: No OFD packet to send [14:29:39]OFD Sender: No OFD packet to send [14:29:44]OFD Sender: No OFD packet to send [14:29:49]OFD Sender: No OFD packet to send [14:29:54]OFD Sender: No OFD packet to send [14:29:59]OFD Sender: No OFD packet to send [14:30:04]OFD Sender: No OFD packet to send [14:30:09]OFD Sender: No OFD packet to send [14:30:14]OFD Sender: No OFD packet to send [14:30:19]OFD Sender: No OFD packet to send [14:30:24]OFD Sender: No OFD packet to send [14:30:29]OFD Sender: No OFD packet to send [14:30:34]OFD Sender: No OFD packet to send [14:30:39]OFD Sender: No OFD packet to send [14:30:44]OFD Sender: No OFD packet to send [14:30:49]OFD Sender: No OFD packet to send [14:30:54]OFD Sender: No OFD packet to send [14:30:59]OFD Sender: No OFD packet to send [14:31:04]OFD Sender: No OFD packet to send [14:31:09]OFD Sender: No OFD packet to send [14:31:14]OFD Sender: No OFD packet to send [14:31:19]OFD Sender: No OFD packet to send [14:31:24]OFD Sender: No OFD packet to send [14:31:29]OFD Sender: No OFD packet to send [14:31:34]OFD Sender: No OFD packet to send [14:31:39]OFD Sender: No OFD packet to send [14:31:44]OFD Sender: No OFD packet to send [14:31:49]OFD Sender: No OFD packet to send [14:31:54]OFD Sender: No OFD packet to send [14:31:59]OFD Sender: No OFD packet to send [14:32:04]OFD Sender: No OFD packet to send [14:32:09]OFD Sender: No OFD packet to send [14:32:14]OFD Sender: No OFD packet to send [14:32:19]OFD Sender: No OFD packet to send [14:32:24]OFD Sender: No OFD packet to send [14:32:29]OFD Sender: No OFD packet to send [14:32:34]OFD Sender: No OFD packet to send [14:32:39]OFD Sender: No OFD packet to send [14:32:44]OFD Sender: No OFD packet to send [14:32:49]OFD Sender: No OFD packet to send [14:32:54]OFD Sender: No OFD packet to send [14:32:59]OFD Sender: No OFD packet to send [14:33:04]OFD Sender: No OFD packet to send [14:33:09]OFD Sender: No OFD packet to send [14:33:14]OFD Sender: No OFD packet to send [14:33:19]OFD Sender: No OFD packet to send [14:33:24]OFD Sender: No OFD packet to send [14:33:29]OFD Sender: No OFD packet to send [14:33:34]OFD Sender: No OFD packet to send [14:33:39]OFD Sender: No OFD packet to send [14:33:44]OFD Sender: No OFD packet to send [14:33:49]OFD Sender: No OFD packet to send [14:33:54]OFD Sender: No OFD packet to send [14:33:59]OFD Sender: No OFD packet to send [14:34:04]OFD Sender: No OFD packet to send [14:34:09]OFD Sender: No OFD packet to send [14:34:14]OFD Sender: No OFD packet to send [14:34:19]OFD Sender: No OFD packet to send [14:34:24]OFD Sender: No OFD packet to send [14:34:29]OFD Sender: No OFD packet to send [14:34:34]OFD Sender: No OFD packet to send [14:34:39]OFD Sender: No OFD packet to send [14:34:44]OFD Sender: No OFD packet to send [14:34:49]OFD Sender: No OFD packet to send [14:34:54]OFD Sender: No OFD packet to send [14:34:59]OFD Sender: No OFD packet to send [14:35:04]OFD Sender: No OFD packet to send [14:35:09]OFD Sender: No OFD packet to send [14:35:14]OFD Sender: No OFD packet to send [14:35:19]OFD Sender: No OFD packet to send [14:35:24]OFD Sender: No OFD packet to send [14:35:29]OFD Sender: No OFD packet to send [14:35:34]OFD Sender: No OFD packet to send [14:35:39]OFD Sender: No OFD packet to send [14:35:44]OFD Sender: No OFD packet to send [14:35:49]OFD Sender: No OFD packet to send [14:35:54]OFD Sender: No OFD packet to send [14:35:59]OFD Sender: No OFD packet to send [14:36:04]OFD Sender: No OFD packet to send [14:36:09]OFD Sender: No OFD packet to send [14:36:14]OFD Sender: No OFD packet to send [14:36:19]OFD Sender: No OFD packet to send [14:36:24]OFD Sender: No OFD packet to send [14:36:29]OFD Sender: No OFD packet to send [14:36:34]OFD Sender: No OFD packet to send [14:36:39]OFD Sender: No OFD packet to send [14:36:44]OFD Sender: No OFD packet to send [14:36:49]OFD Sender: No OFD packet to send [14:36:54]OFD Sender: No OFD packet to send [14:36:59]OFD Sender: No OFD packet to send [14:37:04]OFD Sender: No OFD packet to send [14:37:09]OFD Sender: No OFD packet to send [14:37:14]OFD Sender: No OFD packet to send [14:37:19]OFD Sender: No OFD packet to send [14:37:24]OFD Sender: No OFD packet to send [14:37:29]OFD Sender: No OFD packet to send [14:37:34]OFD Sender: No OFD packet to send [14:37:39]OFD Sender: No OFD packet to send [14:37:44]OFD Sender: No OFD packet to send [14:37:49]OFD Sender: No OFD packet to send [14:37:54]OFD Sender: No OFD packet to send [14:37:59]OFD Sender: No OFD packet to send [14:38:04]OFD Sender: No OFD packet to send [14:38:09]OFD Sender: No OFD packet to send [14:38:14]OFD Sender: No OFD packet to send [14:38:19]OFD Sender: No OFD packet to send [14:38:24]OFD Sender: No OFD packet to send [14:38:29]OFD Sender: No OFD packet to send [14:38:34]OFD Sender: No OFD packet to send [14:38:39]OFD Sender: No OFD packet to send [14:38:44]OFD Sender: No OFD packet to send [14:38:49]OFD Sender: No OFD packet to send [14:38:54]OFD Sender: No OFD packet to send [14:38:59]OFD Sender: No OFD packet to send [14:39:04]OFD Sender: No OFD packet to send [14:39:09]OFD Sender: No OFD packet to send [14:39:14]OFD Sender: No OFD packet to send [14:39:19]OFD Sender: No OFD packet to send [14:39:24]OFD Sender: No OFD packet to send [14:39:29]OFD Sender: No OFD packet to send [14:39:34]OFD Sender: No OFD packet to send [14:39:39]OFD Sender: No OFD packet to send [14:39:44]OFD Sender: No OFD packet to send [14:39:49]OFD Sender: No OFD packet to send [14:39:54]OFD Sender: No OFD packet to send [14:39:59]OFD Sender: No OFD packet to send [14:40:04]OFD Sender: No OFD packet to send [14:40:09]OFD Sender: No OFD packet to send [14:40:14]OFD Sender: No OFD packet to send [14:40:19]OFD Sender: No OFD packet to send [14:40:24]OFD Sender: No OFD packet to send [14:40:29]OFD Sender: No OFD packet to send [14:40:34]OFD Sender: No OFD packet to send [14:40:39]OFD Sender: No OFD packet to send [14:40:44]OFD Sender: No OFD packet to send [14:40:49]OFD Sender: No OFD packet to send [14:40:54]OFD Sender: No OFD packet to send [14:40:59]OFD Sender: No OFD packet to send [14:41:04]OFD Sender: No OFD packet to send [14:41:09]OFD Sender: No OFD packet to send [14:41:14]OFD Sender: No OFD packet to send [14:41:19]OFD Sender: No OFD packet to send [14:41:24]OFD Sender: No OFD packet to send [14:41:29]OFD Sender: No OFD packet to send [14:41:34]OFD Sender: No OFD packet to send [14:41:39]OFD Sender: No OFD packet to send [14:41:44]OFD Sender: No OFD packet to send [14:41:49]OFD Sender: No OFD packet to send [14:41:54]OFD Sender: No OFD packet to send [14:41:59]OFD Sender: No OFD packet to send [14:42:05]OFD Sender: No OFD packet to send [14:42:10]OFD Sender: No OFD packet to send [14:42:15]OFD Sender: No OFD packet to send [14:42:20]OFD Sender: No OFD packet to send [14:42:25]OFD Sender: No OFD packet to send [14:42:30]OFD Sender: No OFD packet to send [14:42:35]OFD Sender: No OFD packet to send [14:42:40]OFD Sender: No OFD packet to send [14:42:45]OFD Sender: No OFD packet to send [14:42:50]OFD Sender: No OFD packet to send [14:42:55]OFD Sender: No OFD packet to send [14:43:00]OFD Sender: No OFD packet to send [14:43:05]OFD Sender: No OFD packet to send [14:43:10]OFD Sender: No OFD packet to send [14:43:15]OFD Sender: No OFD packet to send [14:43:20]OFD Sender: No OFD packet to send [14:43:25]OFD Sender: No OFD packet to send [14:43:30]OFD Sender: No OFD packet to send [14:43:35]OFD Sender: No OFD packet to send [14:43:40]OFD Sender: No OFD packet to send [14:43:45]OFD Sender: No OFD packet to send [14:43:50]OFD Sender: No OFD packet to send [14:43:55]OFD Sender: No OFD packet to send [14:44:00]OFD Sender: No OFD packet to send [14:44:05]OFD Sender: No OFD packet to send [14:44:10]OFD Sender: No OFD packet to send [14:44:15]OFD Sender: No OFD packet to send [14:44:20]OFD Sender: No OFD packet to send [14:44:25]OFD Sender: No OFD packet to send [14:44:30]OFD Sender: No OFD packet to send [14:44:35]OFD Sender: No OFD packet to send [14:44:40]OFD Sender: No OFD packet to send [14:44:45]OFD Sender: No OFD packet to send [14:44:50]OFD Sender: No OFD packet to send [14:44:55]OFD Sender: No OFD packet to send [14:45:00]OFD Sender: No OFD packet to send [14:45:05]OFD Sender: No OFD packet to send [14:45:10]OFD Sender: No OFD packet to send [14:45:15]OFD Sender: No OFD packet to send [14:45:20]OFD Sender: No OFD packet to send [14:45:25]OFD Sender: No OFD packet to send [14:45:30]OFD Sender: No OFD packet to send [14:45:35]OFD Sender: No OFD packet to send [14:45:40]OFD Sender: No OFD packet to send [14:45:45]OFD Sender: No OFD packet to send [14:45:50]OFD Sender: No OFD packet to send [14:45:55]OFD Sender: No OFD packet to send [14:46:00]OFD Sender: No OFD packet to send [14:46:05]OFD Sender: No OFD packet to send [14:46:10]OFD Sender: No OFD packet to send [14:46:15]OFD Sender: No OFD packet to send [14:46:20]OFD Sender: No OFD packet to send [14:46:25]OFD Sender: No OFD packet to send [14:46:30]OFD Sender: No OFD packet to send [14:46:35]OFD Sender: No OFD packet to send [14:46:40]OFD Sender: No OFD packet to send [14:46:45]OFD Sender: No OFD packet to send [14:46:50]OFD Sender: No OFD packet to send [14:46:55]OFD Sender: No OFD packet to send [14:46:57]accept exits with 9 [14:46:57]New connection [14:46:57]New thread 3066735972 created [14:46:57]Thread 3066592612 joined [14:46:57]Waiting for new connection... [14:46:57] Sock 9.Parse request [14:46:57]Sock 9.Check first char [14:46:57]Sock 9.First char is OK [14:46:57]request: POST /json_proto HTTP/1.0 [14:46:57]Method: POST [14:46:57]URL: /json_proto [14:46:57]Method is POST - this is cgi request [14:46:57]url: /json_proto [14:46:57]query_string will be loaded in cgi processing [14:46:57]execute_cgi json_proto POST (null) [14:46:57]execute_cgi path=json_proto method=POST [14:46:57]POST find Content-Length [14:46:57]Host: 172.17.36.131:8080 [14:46:57]Content-Length: 630 [14:46:57]Content-Type: application/json [14:46:57] [14:46:57]POST finish read [14:46:57]Found Content-Length = 630 [14:46:57]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100044", "tax_sys" : 0, "items" : [ { "code": "4700000180165", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B West Silver hard box CUTPR", "price" : 96.00, "quantity" : 1.000, "sum" : 96.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 96.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:46:57]execute_script... [14:46:57]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100044", "tax_sys" : 0, "items" : [ { "code": "4700000180165", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B West Silver hard box CUTPR", "price" : 96.00, "quantity" : 1.000, "sum" : 96.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 96.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:46:57]POST & json_proto [14:46:57]process_json_proto [14:46:57]json parsed OK: [14:46:57]protocol is kg_v1.0 [14:46:57]action value=close_receipt [14:46:57]process_action close_receipt [14:46:57]cmd_close_receipt [14:46:57]MH_GetDate [14:46:57]Write to MH i2c: F0 00 00 1D 00 0C [14:46:57]Write i2c OK [14:46:57]MH_I2C_Read... [14:46:57]Read from MH i2c: F0 [14:46:57]MH_I2C_Read... [14:46:57]Read from MH i2c: F0 09 00 [14:46:57]MH_I2C_Read... [14:46:57]Read from MH i2c: F0 09 00 1D 00 00 E2 28 5F 66 A7 4C 98 65 D4 [14:46:57]GetLastDocTimeStamp 1717506592 [14:46:57]current date 1717512418 [14:46:57]FM_GetShiftState [14:46:57]SAM_PROTO_GetShiftState [14:46:57]wFMCommunicate request_size=4 [14:46:57]MH_SAM_APDU [14:46:57]CAPDU: 80 13 01 00 [14:46:57]Write to MH i2c: E2 08 00 1E 00 80 13 01 00 00 00 00 00 9B [14:46:57]Write i2c OK [14:46:57]MH_I2C_Read... [14:46:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:46:57]Read from MH i2c: E2 [14:46:57]MH_I2C_Read... [14:46:57]Read from MH i2c: E2 0E 00 [14:46:57]MH_I2C_Read... [14:46:57]Read from MH i2c: E2 0E 00 1E 00 00 09 00 01 35 5B 5E 66 00 00 00 00 90 00 FB [14:46:57]RAPDU: 09 00 01 35 5B 5E 66 00 00 00 00 90 00 [14:46:57]wFMCommunicate OK [14:46:57]SAM_PROTO_GetShiftState done [14:46:57]FM_GetShiftState done [14:46:57]opened in 1717459765 [14:46:57]opened+sec_in_day 1717546165 [14:46:57]quantity*price = 9600 [14:46:57]sum+1 = 9601 [14:46:57]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 96.00 НСП 1% : 0.85 НДС 12% : 10.19 Наличными: 96.00 Безнал.: 0.00 Место: АЗС № 62 "Партнер Нефть" Адрес: 720001, г. Балыкчы, ул. Абдрахманова 325 Б, 42.462761, 76.214931 СНО: Общий режим Чек 26 04.06.2024 14:46 Смена: 368 ФФД: 1.0 ЗНМ: 0300000080 РНМ: 0000000000096838 Версия ККМ: 001 ФМ: 0000000000874859 ФД: 34682 ФПД: 138934804424581 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T144658&type=1&operation_type=1&fn_number=0000000000874859&fd_number=34682&fm=138934804424581&tin=02508201610067®Number=0000000000096838&sum=9600 0 [14:46:58]StoreToDocumentArchive [14:46:58]shift 368 fd 34682 [14:46:58]save to /storage/0368/doc_00034682 [14:46:58]save last doc name /storage/0368/doc_00034682 to /storage/kkm_last_doc_name [14:46:58]save OK [14:46:58]Clear old archive folders... [14:46:58]ProcessDocumentItem done err = 0, tmpTLVsize=285 [14:46:58]tlvbuf is 00AF36F0 [14:46:58]SAM_PROTO_ClearQueue [14:46:58]wFMCommunicate request_size=4 [14:46:58]MH_SAM_APDU [14:46:58]CAPDU: 80 09 00 00 [14:46:58]Write to MH i2c: E2 08 00 2B 00 80 09 00 00 00 00 00 00 9D [14:46:58]Write i2c OK [14:46:58]MH_I2C_Read... [14:46:59]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:46:59]Read from MH i2c: E2 [14:46:59]MH_I2C_Read... [14:46:59]Read from MH i2c: E2 03 00 [14:46:59]MH_I2C_Read... [14:46:59]Read from MH i2c: E2 03 00 2B 00 00 90 00 9F [14:46:59]RAPDU: 90 00 [14:46:59]wFMCommunicate OK [14:46:59]SAM_PROTO_ClearQueue done [14:46:59]KKMCreateOFDPacket [14:46:59]OFDProtocolAddRootSTLVToBuf [14:46:59]FM_MakeSignedData [14:46:59]FM_MakeSignedData [14:46:59]SAM_PROTO_SignData [14:46:59]wFMCommunicate request_size=4 [14:46:59]MH_SAM_APDU [14:46:59]CAPDU: 80 0D 01 02 [14:46:59]Write to MH i2c: E2 08 00 2C 00 80 0D 01 02 00 00 00 00 A5 [14:46:59]Write i2c OK [14:46:59]MH_I2C_Read... [14:46:59]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:46:59]Read from MH i2c: E2 [14:46:59]MH_I2C_Read... [14:46:59]Read from MH i2c: E2 03 00 [14:46:59]MH_I2C_Read... [14:46:59]Read from MH i2c: E2 03 00 2C 00 00 90 00 A0 [14:46:59]RAPDU: 90 00 [14:46:59]wFMCommunicate OK [14:46:59]wFMCommunicate request_size=255 [14:46:59]MH_SAM_APDU [14:46:59]CAPDU: 80 0D 02 02 FA 03 00 1D 01 1E 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 38 30 31 36 35 06 04 2B 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 65 73 74 20 53 69 6C 76 65 72 20 68 61 72 64 20 62 6F 78 20 43 55 54 50 52 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 80 25 00 00 00 00 13 04 06 00 80 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 55 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FB 03 00 00 00 00 07 04 06 00 80 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 1A 00 00 00 F4 03 04 00 E2 28 5F 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 [14:46:59]Write to MH i2c: E2 02 01 2D 00 80 0D 02 02 FA 00 03 00 1D 01 1E 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 38 30 31 36 35 06 04 2B 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 65 73 74 20 53 69 6C 76 65 72 20 68 61 72 64 20 62 6F 78 20 43 55 54 50 52 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 80 25 00 00 00 00 13 04 06 00 80 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 55 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FB 03 00 00 00 00 07 04 06 00 80 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 1A 00 00 00 F4 03 04 00 E2 28 5F 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 00 00 48 [14:46:59]Write i2c OK [14:46:59]MH_I2C_Read... [14:46:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:46:59]Read from MH i2c: E2 [14:46:59]MH_I2C_Read... [14:46:59]Read from MH i2c: E2 03 00 [14:46:59]MH_I2C_Read... [14:46:59]Read from MH i2c: E2 03 00 2D 00 00 90 00 A1 [14:46:59]RAPDU: 90 00 [14:46:59]wFMCommunicate OK [14:46:59]wFMCommunicate request_size=44 [14:46:59]MH_SAM_APDU [14:46:59]CAPDU: 80 0D 02 02 27 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 7A 87 00 00 35 04 06 00 7E 5C 47 AA 27 85 [14:46:59]Write to MH i2c: E2 2F 00 2E 00 80 0D 02 02 27 00 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 7A 87 00 00 35 04 06 00 7E 5C 47 AA 27 85 00 00 4B [14:46:59]Write i2c OK [14:46:59]MH_I2C_Read... [14:46:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:46:59]Read from MH i2c: E2 [14:46:59]MH_I2C_Read... [14:46:59]Read from MH i2c: E2 03 00 [14:46:59]MH_I2C_Read... [14:46:59]Read from MH i2c: E2 03 00 2E 00 00 90 00 A2 [14:46:59]RAPDU: 90 00 [14:46:59]wFMCommunicate OK [14:46:59]wFMCommunicate request_size=4 [14:46:59]MH_SAM_APDU [14:46:59]CAPDU: 80 0D 03 02 [14:46:59]Write to MH i2c: E2 08 00 2F 00 80 0D 03 02 00 00 00 00 AA [14:46:59]Write i2c OK [14:46:59]MH_I2C_Read... [14:46:59]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:46:59]Read from MH i2c: E2 [14:46:59]MH_I2C_Read... [14:46:59]Read from MH i2c: E2 0B 00 [14:46:59]MH_I2C_Read... [14:46:59]Read from MH i2c: E2 0B 00 2F 00 00 D6 D1 28 74 3A 9D 54 7A 90 00 93 [14:46:59]RAPDU: D6 D1 28 74 3A 9D 54 7A 90 00 [14:46:59]wFMCommunicate OK [14:46:59]SAM_PROTO_SignData done [14:46:59]FM_MakeSignedData done [14:46:59]CreateOFDProtocolMessage [14:46:59]wFMCommunicate request_size=4 [14:46:59]MH_SAM_APDU [14:46:59]CAPDU: 80 11 00 00 [14:46:59]Write to MH i2c: E2 08 00 30 00 80 11 00 00 00 00 00 00 AA [14:46:59]Write i2c OK [14:46:59]MH_I2C_Read... [14:46:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:46:59]Read from MH i2c: E2 [14:46:59]MH_I2C_Read... [14:46:59]Read from MH i2c: E2 17 00 [14:46:59]MH_I2C_Read... [14:46:59]Read from MH i2c: E2 17 00 30 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 06 [14:46:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 [14:46:59]wFMCommunicate OK [14:46:59]CreateOFDProtocolMessage done [14:46:59]OFDSenderStorePacket 34682 [14:46:59]StoreOFDPacket docnum=34682 [14:46:59]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 31 01 00 00 EF B8 29 01 7A C7 5A 03 01 00 03 00 1D 01 1E 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 38 30 31 36 35 06 04 2B 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 65 73 74 20 53 69 6C 76 65 72 20 68 61 72 64 20 62 6F 78 20 43 55 54 50 52 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 80 25 00 00 00 00 13 04 06 00 80 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 55 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FB 03 00 00 00 00 07 04 06 00 80 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 1A 00 00 00 F4 03 04 00 E2 28 5F 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 7A 87 00 00 35 04 06 00 7E 5C 47 AA 27 85 D6 D1 28 74 3A 9D 54 7A [14:46:59]CheckFolder [14:46:59]dirname=/storage/ofd_packets [14:46:59]CheckFolder done [14:46:59]ProducePacketName [14:46:59]name=ofd_packets/00034682 [14:46:59]NVStorageSaveData ofd_packets/00034682 [14:46:59]File name is /storage/ofd_packets/00034682 [14:46:59]Write 335 bytes [14:46:59]NVStorageSaveData done [14:46:59]OFDSenderStorePacket done [14:46:59]KKMCreateOFDPacket done [14:46:59]NVStorageSaveData kkm_last_timestamp [14:46:59]File name is /storage/kkm_last_timestamp [14:46:59]Write 4 bytes [14:46:59]NVStorageSaveData done [14:46:59]ExternCall_PrintAddStr [14:46:59]wPrintStart [14:46:59]Write to MH i2c: 01 00 00 31 00 31 [14:46:59]Write i2c OK [14:46:59]MH_I2C_Read... [14:46:59]Read from MH i2c: 01 [14:46:59]MH_I2C_Read... [14:46:59]Read from MH i2c: 01 07 00 [14:46:59]MH_I2C_Read... [14:46:59]Read from MH i2c: 01 07 00 31 00 00 00 00 00 00 FF 0F 46 [14:46:59]RasterBufferAndPrint [14:46:59]line Счет N : (3)100044 [14:46:59]line ИНН: 02508201610067 [14:46:59]line Контрольно-Кассовый Чек [14:46:59]line ПРОДАЖА [14:46:59]line Товар: 4700000180165 [14:46:59]line Сигареты West Silver hard box CUTPR [14:46:59]line 1.000 * 96.00 [14:46:59]line = 96.00 [14:46:59]line НДС 12% НСП 1% [14:46:59]line > о реализуемом товаре [14:46:59]line ИТОГО: 96.00 [14:46:59]line НСП 1% : 0.85 [14:46:59]line НДС 12% : 10.19 [14:46:59]line Наличными: 96.00 [14:46:59]line Безнал.: 0.00 [14:46:59]line Место: АЗС № 62 "Партнер Нефть" [14:46:59]line Адрес: 720001, г. Балыкчы, ул. Абдрахманова 325 Б, 42.462761, 76.214931 [14:46:59]line СНО: Общий режим [14:46:59]line Чек 26 04.06.2024 14:46 [14:46:59]line Смена: 368 ФФД: 1.0 [14:46:59]line ЗНМ: 0300000080 [14:46:59]line РНМ: 0000000000096838 [14:46:59]line Версия ККМ: 001 [14:46:59]line ФМ: 0000000000874859 [14:46:59]line ФД: 34682 [14:46:59]line ФПД: 138934804424581 [14:46:59]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T144658&type=1&operation_type=1&fn_number=0000000000874859&fd_number=34682&fm=138934804424581&tin=02508201610067®Number=0000000000096838&sum=9600 [14:46:59]OFD Sender: Processing packet 34682 [packets to send 17, broken 16] [14:46:59]ProducePacketName [14:46:59]name=ofd_packets/00034682 [14:46:59]OFD Sender: To server: pG, [14:46:59]CommunicateWithHost lk.salyk.kg:30040 [14:46:59]ConnectInit lk.salyk.kg [14:46:59]line 0 [14:46:59]written 0, free lines is 4095 [14:46:59]Connected sock=7 [14:46:59]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 31 01 00 00 EF B8 29 01 7A C7 5A 03 01 00 03 00 1D 01 1E 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 38 30 31 36 35 06 04 2B 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 65 73 74 20 53 69 6C 76 65 72 20 68 61 72 64 20 62 6F 78 20 43 55 54 50 52 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 80 25 00 00 00 00 13 04 06 00 80 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 55 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FB 03 00 00 00 00 07 04 06 00 80 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 1A 00 00 00 F4 03 04 00 E2 28 5F 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 7A 87 00 00 35 04 06 00 7E 5C 47 AA 27 85 D6 D1 28 74 3A 9D 54 7A [14:47:00]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 4F 00 00 00 B9 B0 47 00 76 5E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 7A 87 00 00 F4 03 04 00 22 D3 5E 66 B6 04 01 00 00 F3 AE 93 12 A0 CF B2 AF [14:47:00]CommunicateWithHost err = 0 [14:47:00]CheckOFDResponse [14:47:00]1017 (14) - 77093643461234 [14:47:00]1041 (16) - 0000000000874859 [14:47:00]1040 (4) - 34682 [14:47:00]1012 (4) - 04.06.2024 08:41 [14:47:00]1206 (1) - 0 [14:47:00]OFD Sender: Remove packet 34682 [14:47:00]ProducePacketName [14:47:00]name=ofd_packets/00034682 [14:47:00]NVStorageDeleteData [14:47:00]Write to MH i2c: 01 00 00 5A 00 5A [14:47:00]Write i2c OK [14:47:00]MH_I2C_Read... [14:47:00]Read from MH i2c: 01 [14:47:00]MH_I2C_Read... [14:47:00]Read from MH i2c: 01 07 00 [14:47:00]MH_I2C_Read... [14:47:00]Read from MH i2c: 01 07 00 5A 00 00 00 00 00 00 08 0D 76 [14:47:00]RasterBufferAndPrint [14:47:00]line [14:47:00]line [14:47:00]line [14:47:00]line [14:47:00]line [14:47:00]written 0, free lines is 3345 [14:47:00]MH_Cut [14:47:00]Write to MH i2c: D1 01 00 61 00 01 33 [14:47:00]Write i2c OK [14:47:00]MH_I2C_Read... [14:47:00]Read from MH i2c: D1 [14:47:00]MH_I2C_Read... [14:47:00]Read from MH i2c: D1 01 00 [14:47:00]MH_I2C_Read... [14:47:00]Read from MH i2c: D1 01 00 61 00 00 32 [14:47:00]Write to MH i2c: 01 00 00 62 00 62 [14:47:00]Write i2c OK [14:47:00]MH_I2C_Read... [14:47:00]OFD Sender: No OFD packet to send [14:47:00]*** Cut start [14:47:00]*** Partial cut [14:47:00]*** CUTSNS_PIN = 1 [14:47:01]*** CUTSNS_PIN = 0 [14:47:01]*** Brake cut motor [14:47:01]Read from MH i2c: 01 [14:47:01]MH_I2C_Read... [14:47:01]*** Stop cut motor [14:47:01]*** Cut end [14:47:01]Read from MH i2c: 01 07 00 [14:47:01]MH_I2C_Read... [14:47:01]Read from MH i2c: 01 07 00 62 00 00 00 00 00 00 FF 0F 77 [14:47:01]process_action close_receipt done [14:47:01]requested_data is exist [14:47:01]produce_requested_data [14:47:01]requested_item fm.sn is exist - process it [14:47:01]wFMCommunicate request_size=4 [14:47:01]MH_SAM_APDU [14:47:01]CAPDU: 80 11 00 00 [14:47:01]Write to MH i2c: E2 08 00 63 00 80 11 00 00 00 00 00 00 DD [14:47:01]Write i2c OK [14:47:01]MH_I2C_Read... [14:47:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:47:01]Read from MH i2c: E2 [14:47:01]MH_I2C_Read... [14:47:01]Read from MH i2c: E2 17 00 [14:47:01]MH_I2C_Read... [14:47:01]Read from MH i2c: E2 17 00 63 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 39 [14:47:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 [14:47:01]wFMCommunicate OK [14:47:01]requested_item fd.num is exist - process it [14:47:01]SAM_PROTO_GetFieldsCounters [14:47:01]wFMCommunicate request_size=4 [14:47:01]MH_SAM_APDU [14:47:01]CAPDU: 80 13 00 00 [14:47:01]Write to MH i2c: E2 08 00 64 00 80 13 00 00 00 00 00 00 E0 [14:47:01]Write i2c OK [14:47:01]MH_I2C_Read... [14:47:01]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:47:01]Read from MH i2c: E2 [14:47:01]MH_I2C_Read... [14:47:01]Read from MH i2c: E2 62 00 [14:47:01]MH_I2C_Read... [14:47:01]Read from MH i2c: E2 62 00 64 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 10 04 04 00 7A 87 00 00 0E 04 04 00 70 01 00 00 12 04 04 00 1A 00 00 00 5E 04 04 00 1A 00 00 00 57 04 04 00 1B 00 00 00 19 04 04 00 00 00 00 00 90 00 D3 [14:47:01]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 10 04 04 00 7A 87 00 00 0E 04 04 00 70 01 00 00 12 04 04 00 1A 00 00 00 5E 04 04 00 1A 00 00 00 57 04 04 00 1B 00 00 00 19 04 04 00 00 00 00 00 90 00 [14:47:01]wFMCommunicate OK [14:47:01]SAM_PROTO_GetFieldsCounters done [14:47:01]requested_item shift.num is exist - process it [14:47:01]requested_item shift.opened is exist - process it [14:47:01]req_shift_opened [14:47:01]FM_GetShiftState [14:47:01]SAM_PROTO_GetShiftState [14:47:01]wFMCommunicate request_size=4 [14:47:01]MH_SAM_APDU [14:47:01]CAPDU: 80 13 01 00 [14:47:01]Write to MH i2c: E2 08 00 65 00 80 13 01 00 00 00 00 00 E2 [14:47:01]Write i2c OK [14:47:01]MH_I2C_Read... [14:47:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:47:01]Read from MH i2c: E2 [14:47:01]MH_I2C_Read... [14:47:01]Read from MH i2c: E2 0E 00 [14:47:01]MH_I2C_Read... [14:47:01]Read from MH i2c: E2 0E 00 65 00 00 09 00 01 35 5B 5E 66 00 00 00 00 90 00 42 [14:47:01]RAPDU: 09 00 01 35 5B 5E 66 00 00 00 00 90 00 [14:47:01]wFMCommunicate OK [14:47:01]SAM_PROTO_GetShiftState done [14:47:01]FM_GetShiftState done [14:47:01]req_shift_opened done [14:47:01]requested_item shift.open_date is exist - process it [14:47:01]req_shift_open_date [14:47:01]req_shift_open_date done [14:47:01]produce_requested_data done [14:47:01]produce_requested_data return {"fm.sn":"0000000000874859","fd.num":34682,"shift.num":368,"shift.opened":1,"shift.open_date":1717459765} [14:47:01]process_action_free close_receipt [14:47:01]json_value_free [14:47:01]json_value_free done [14:47:01]process_json_proto returns [14:47:01]Send response to host [14:47:01]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874859","fd.num":34682,"shift.num":368,"shift.opened":1,"shift.open_date":1717459765}}} [14:47:01]free response buf [14:47:01]execute_script done [14:47:01]execute_script returns [14:47:01]free content buf [14:47:01]Sock 9.Close socket [14:47:01]Sock 9.Thread stoped [14:47:05]OFD Sender: No OFD packet to send [14:47:10]OFD Sender: No OFD packet to send [14:47:15]OFD Sender: No OFD packet to send [14:47:20]OFD Sender: No OFD packet to send [14:47:25]OFD Sender: No OFD packet to send [14:47:30]OFD Sender: No OFD packet to send [14:47:35]OFD Sender: No OFD packet to send [14:47:40]OFD Sender: No OFD packet to send [14:47:45]OFD Sender: No OFD packet to send [14:47:50]OFD Sender: No OFD packet to send [14:47:55]OFD Sender: No OFD packet to send [14:48:00]OFD Sender: No OFD packet to send [14:48:05]OFD Sender: No OFD packet to send [14:48:10]OFD Sender: No OFD packet to send [14:48:15]OFD Sender: No OFD packet to send [14:48:20]OFD Sender: No OFD packet to send [14:48:25]OFD Sender: No OFD packet to send [14:48:30]OFD Sender: No OFD packet to send [14:48:35]OFD Sender: No OFD packet to send [14:48:40]OFD Sender: No OFD packet to send [14:48:45]OFD Sender: No OFD packet to send [14:48:50]OFD Sender: No OFD packet to send [14:48:55]OFD Sender: No OFD packet to send [14:49:00]OFD Sender: No OFD packet to send [14:49:05]OFD Sender: No OFD packet to send [14:49:10]OFD Sender: No OFD packet to send [14:49:15]OFD Sender: No OFD packet to send [14:49:20]OFD Sender: No OFD packet to send [14:49:25]OFD Sender: No OFD packet to send [14:49:30]OFD Sender: No OFD packet to send [14:49:35]OFD Sender: No OFD packet to send [14:49:40]OFD Sender: No OFD packet to send [14:49:45]OFD Sender: No OFD packet to send [14:49:50]OFD Sender: No OFD packet to send [14:49:55]OFD Sender: No OFD packet to send [14:50:00]OFD Sender: No OFD packet to send [14:50:05]OFD Sender: No OFD packet to send [14:50:10]OFD Sender: No OFD packet to send [14:50:15]OFD Sender: No OFD packet to send [14:50:20]OFD Sender: No OFD packet to send [14:50:25]OFD Sender: No OFD packet to send [14:50:30]OFD Sender: No OFD packet to send [14:50:35]OFD Sender: No OFD packet to send [14:50:40]OFD Sender: No OFD packet to send [14:50:45]OFD Sender: No OFD packet to send [14:50:50]OFD Sender: No OFD packet to send [14:50:55]OFD Sender: No OFD packet to send [14:51:00]OFD Sender: No OFD packet to send [14:51:05]OFD Sender: No OFD packet to send [14:51:10]OFD Sender: No OFD packet to send [14:51:15]OFD Sender: No OFD packet to send [14:51:20]OFD Sender: No OFD packet to send [14:51:25]OFD Sender: No OFD packet to send [14:51:30]OFD Sender: No OFD packet to send [14:51:35]OFD Sender: No OFD packet to send [14:51:40]OFD Sender: No OFD packet to send [14:51:45]OFD Sender: No OFD packet to send [14:51:50]OFD Sender: No OFD packet to send [14:51:55]OFD Sender: No OFD packet to send [14:52:00]OFD Sender: No OFD packet to send [14:52:05]OFD Sender: No OFD packet to send [14:52:10]OFD Sender: No OFD packet to send [14:52:15]OFD Sender: No OFD packet to send [14:52:20]OFD Sender: No OFD packet to send [14:52:25]OFD Sender: No OFD packet to send [14:52:30]OFD Sender: No OFD packet to send [14:52:35]OFD Sender: No OFD packet to send [14:52:40]OFD Sender: No OFD packet to send [14:52:45]OFD Sender: No OFD packet to send [14:52:50]OFD Sender: No OFD packet to send [14:52:55]OFD Sender: No OFD packet to send [14:53:00]OFD Sender: No OFD packet to send [14:53:05]OFD Sender: No OFD packet to send [14:53:10]OFD Sender: No OFD packet to send [14:53:15]OFD Sender: No OFD packet to send [14:53:20]OFD Sender: No OFD packet to send [14:53:25]OFD Sender: No OFD packet to send [14:53:30]OFD Sender: No OFD packet to send [14:53:35]OFD Sender: No OFD packet to send [14:53:40]OFD Sender: No OFD packet to send [14:53:45]OFD Sender: No OFD packet to send [14:53:50]OFD Sender: No OFD packet to send [14:53:55]OFD Sender: No OFD packet to send [14:54:01]OFD Sender: No OFD packet to send [14:54:06]OFD Sender: No OFD packet to send [14:54:11]OFD Sender: No OFD packet to send [14:54:16]OFD Sender: No OFD packet to send [14:54:21]OFD Sender: No OFD packet to send [14:54:26]OFD Sender: No OFD packet to send [14:54:31]OFD Sender: No OFD packet to send [14:54:36]OFD Sender: No OFD packet to send [14:54:41]OFD Sender: No OFD packet to send [14:54:46]OFD Sender: No OFD packet to send [14:54:51]OFD Sender: No OFD packet to send [14:54:56]OFD Sender: No OFD packet to send [14:55:01]OFD Sender: No OFD packet to send [14:55:06]OFD Sender: No OFD packet to send [14:55:11]OFD Sender: No OFD packet to send [14:55:16]OFD Sender: No OFD packet to send [14:55:21]OFD Sender: No OFD packet to send [14:55:26]OFD Sender: No OFD packet to send [14:55:31]OFD Sender: No OFD packet to send [14:55:36]OFD Sender: No OFD packet to send [14:55:41]OFD Sender: No OFD packet to send [14:55:46]OFD Sender: No OFD packet to send [14:55:51]OFD Sender: No OFD packet to send [14:55:56]OFD Sender: No OFD packet to send [14:56:01]OFD Sender: No OFD packet to send [14:56:06]OFD Sender: No OFD packet to send [14:56:11]OFD Sender: No OFD packet to send [14:56:16]OFD Sender: No OFD packet to send [14:56:21]OFD Sender: No OFD packet to send [14:56:26]OFD Sender: No OFD packet to send [14:56:31]OFD Sender: No OFD packet to send [14:56:36]OFD Sender: No OFD packet to send [14:56:41]OFD Sender: No OFD packet to send [14:56:46]OFD Sender: No OFD packet to send [14:56:51]OFD Sender: No OFD packet to send [14:56:56]OFD Sender: No OFD packet to send [14:57:01]OFD Sender: No OFD packet to send [14:57:06]OFD Sender: No OFD packet to send [14:57:09]accept exits with 10 [14:57:09]New connection [14:57:09]New thread 3066592612 created [14:57:09]Thread 3066735972 joined [14:57:09]Waiting for new connection... [14:57:09] Sock 10.Parse request [14:57:09]Sock 10.Check first char [14:57:09]Sock 10.First char is OK [14:57:09]request: POST /json_proto HTTP/1.0 [14:57:09]Method: POST [14:57:09]URL: /json_proto [14:57:09]Method is POST - this is cgi request [14:57:09]url: /json_proto [14:57:09]query_string will be loaded in cgi processing [14:57:09]execute_cgi json_proto POST (null) [14:57:09]execute_cgi path=json_proto method=POST [14:57:09]POST find Content-Length [14:57:09]Host: 172.17.36.131:8080 [14:57:09]Content-Length: 1135 [14:57:09]Content-Type: application/json [14:57:09] [14:57:09]POST finish read [14:57:09]Found Content-Length = 1135 [14:57:09]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100045", "tax_sys" : 0, "items" : [ { "code": "4700002083266", "name": "\u0412\u043E\u0434\u043A\u0430 \u0410\u0442\u0438\u043B\u043B\u0430 \u0413\u0443\u043D\u043D 0,5\u043B", "price" : 450.00, "quantity" : 1.000, "sum" : 450.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000054227", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 1\u043B", "price" : 113.00, "quantity" : 1.000, "sum" : 113.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 563.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:57:09]execute_script... [14:57:09]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100045", "tax_sys" : 0, "items" : [ { "code": "4700002083266", "name": "\u0412\u043E\u0434\u043A\u0430 \u0410\u0442\u0438\u043B\u043B\u0430 \u0413\u0443\u043D\u043D 0,5\u043B", "price" : 450.00, "quantity" : 1.000, "sum" : 450.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000054227", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 1\u043B", "price" : 113.00, "quantity" : 1.000, "sum" : 113.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 563.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:57:09]POST & json_proto [14:57:09]process_json_proto [14:57:09]json parsed OK: [14:57:09]protocol is kg_v1.0 [14:57:09]action value=close_receipt [14:57:09]process_action close_receipt [14:57:09]cmd_close_receipt [14:57:09]MH_GetDate [14:57:09]Write to MH i2c: F0 00 00 66 00 55 [14:57:09]Write i2c OK [14:57:09]MH_I2C_Read... [14:57:09]Read from MH i2c: F0 [14:57:09]MH_I2C_Read... [14:57:09]Read from MH i2c: F0 09 00 [14:57:09]MH_I2C_Read... [14:57:09]Read from MH i2c: F0 09 00 66 00 00 46 2B 5F 66 A7 4C 98 65 84 [14:57:09]GetLastDocTimeStamp 1717512418 [14:57:09]current date 1717513030 [14:57:09]FM_GetShiftState [14:57:09]SAM_PROTO_GetShiftState [14:57:09]wFMCommunicate request_size=4 [14:57:09]MH_SAM_APDU [14:57:09]CAPDU: 80 13 01 00 [14:57:09]Write to MH i2c: E2 08 00 67 00 80 13 01 00 00 00 00 00 E4 [14:57:09]Write i2c OK [14:57:09]MH_I2C_Read... [14:57:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:57:10]Read from MH i2c: E2 [14:57:10]MH_I2C_Read... [14:57:10]Read from MH i2c: E2 0E 00 [14:57:10]MH_I2C_Read... [14:57:10]Read from MH i2c: E2 0E 00 67 00 00 09 00 01 35 5B 5E 66 00 00 00 00 90 00 44 [14:57:10]RAPDU: 09 00 01 35 5B 5E 66 00 00 00 00 90 00 [14:57:10]wFMCommunicate OK [14:57:10]SAM_PROTO_GetShiftState done [14:57:10]FM_GetShiftState done [14:57:10]opened in 1717459765 [14:57:10]opened+sec_in_day 1717546165 [14:57:10]quantity*price = 45000 [14:57:10]sum+1 = 45001 [14:57:10]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 5449000054227 Напиток Кока-Кола 1л 1.000 * 113.00 = 113.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 563.00 НСП 1% : 4.98 НДС 12% : 59.79 Наличными: 0.00 Безнал.: 563.00 Место: АЗС № 62 "Партнер Нефть" Адрес: 720001, г. Балыкчы, ул. Абдрахманова 325 Б, 42.462761, 76.214931 СНО: Общий режим Чек 27 04.06.2024 14:57 Смена: 368 ФФД: 1.0 ЗНМ: 0300000080 РНМ: 0000000000096838 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000874859 ФД: 34683 ФПД: 99961800500716 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T145710&type=1&operation_type=1&fn_number=0000000000874859&fd_number=34683&fm=99961800500716&tin=02508201610067®Number=0000000000096838&sum=56300 0 [14:57:11]StoreToDocumentArchive [14:57:11]shift 368 fd 34683 [14:57:11]save to /storage/0368/doc_00034683 [14:57:11]save last doc name /storage/0368/doc_00034683 to /storage/kkm_last_doc_name [14:57:11]save OK [14:57:11]Clear old archive folders... [14:57:11]ProcessDocumentItem done err = 0, tmpTLVsize=388 [14:57:11]tlvbuf is 00B1B6F0 [14:57:11]SAM_PROTO_ClearQueue [14:57:11]wFMCommunicate request_size=4 [14:57:11]MH_SAM_APDU [14:57:11]CAPDU: 80 09 00 00 [14:57:11]Write to MH i2c: E2 08 00 74 00 80 09 00 00 00 00 00 00 E6 [14:57:11]Write i2c OK [14:57:11]MH_I2C_Read... [14:57:11]Read from MH i2c: E2 [14:57:11]MH_I2C_Read... [14:57:11]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:57:11]Read from MH i2c: E2 03 00 [14:57:11]MH_I2C_Read... [14:57:11]Read from MH i2c: E2 03 00 74 00 00 90 00 E8 [14:57:11]RAPDU: 90 00 [14:57:11]wFMCommunicate OK [14:57:11]SAM_PROTO_ClearQueue done [14:57:11]KKMCreateOFDPacket [14:57:11]OFDProtocolAddRootSTLVToBuf [14:57:11]FM_MakeSignedData [14:57:11]FM_MakeSignedData [14:57:11]SAM_PROTO_SignData [14:57:11]wFMCommunicate request_size=4 [14:57:11]MH_SAM_APDU [14:57:11]CAPDU: 80 0D 01 02 [14:57:11]Write to MH i2c: E2 08 00 75 00 80 0D 01 02 00 00 00 00 EE [14:57:11]Write i2c OK [14:57:11]MH_I2C_Read... [14:57:11]OFD Sender: No OFD packet to send [14:57:11]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:57:11]Read from MH i2c: E2 [14:57:11]MH_I2C_Read... [14:57:11]Read from MH i2c: E2 03 00 [14:57:11]MH_I2C_Read... [14:57:11]Read from MH i2c: E2 03 00 75 00 00 90 00 E9 [14:57:11]RAPDU: 90 00 [14:57:11]wFMCommunicate OK [14:57:11]wFMCommunicate request_size=255 [14:57:11]MH_SAM_APDU [14:57:11]CAPDU: 80 0D 02 02 FA 03 00 84 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 33 32 36 36 06 04 26 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 90 D1 82 D0 B8 D0 BB D0 BB D0 B0 20 D0 93 D1 83 D0 BD D0 BD 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 AF 00 00 00 00 13 04 06 00 C8 AF 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 24 2C 00 00 00 00 13 04 06 00 24 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC DB 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 [14:57:11]Write to MH i2c: E2 02 01 76 00 80 0D 02 02 FA 00 03 00 84 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 33 32 36 36 06 04 26 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 90 D1 82 D0 B8 D0 BB D0 BB D0 B0 20 D0 93 D1 83 D0 BD D0 BD 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 AF 00 00 00 00 13 04 06 00 C8 AF 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 24 2C 00 00 00 00 13 04 06 00 24 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC DB 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 00 00 2C [14:57:11]Write i2c OK [14:57:11]MH_I2C_Read... [14:57:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:57:11]Read from MH i2c: E2 [14:57:11]MH_I2C_Read... [14:57:11]Read from MH i2c: E2 03 00 [14:57:11]MH_I2C_Read... [14:57:11]Read from MH i2c: E2 03 00 76 00 00 90 00 EA [14:57:11]RAPDU: 90 00 [14:57:11]wFMCommunicate OK [14:57:11]wFMCommunicate request_size=147 [14:57:11]MH_SAM_APDU [14:57:11]CAPDU: 80 0D 02 02 8E F7 03 06 00 F2 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 17 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 EC DB 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 46 2B 5F 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 7B 87 00 00 35 04 06 00 5A EA 2B 9C 25 EC [14:57:11]Write to MH i2c: E2 96 00 77 00 80 0D 02 02 8E 00 F7 03 06 00 F2 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 17 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 EC DB 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 46 2B 5F 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 7B 87 00 00 35 04 06 00 5A EA 2B 9C 25 EC 00 00 58 [14:57:11]Write i2c OK [14:57:11]MH_I2C_Read... [14:57:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:57:11]Read from MH i2c: E2 [14:57:11]MH_I2C_Read... [14:57:11]Read from MH i2c: E2 03 00 [14:57:11]MH_I2C_Read... [14:57:11]Read from MH i2c: E2 03 00 77 00 00 90 00 EB [14:57:11]RAPDU: 90 00 [14:57:11]wFMCommunicate OK [14:57:11]wFMCommunicate request_size=4 [14:57:11]MH_SAM_APDU [14:57:11]CAPDU: 80 0D 03 02 [14:57:11]Write to MH i2c: E2 08 00 78 00 80 0D 03 02 00 00 00 00 F3 [14:57:11]Write i2c OK [14:57:11]MH_I2C_Read... [14:57:11]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:57:11]Read from MH i2c: E2 [14:57:11]MH_I2C_Read... [14:57:11]Read from MH i2c: E2 0B 00 [14:57:11]MH_I2C_Read... [14:57:11]Read from MH i2c: E2 0B 00 78 00 00 55 59 3B D6 67 ED 9F C4 90 00 6A [14:57:11]RAPDU: 55 59 3B D6 67 ED 9F C4 90 00 [14:57:11]wFMCommunicate OK [14:57:11]SAM_PROTO_SignData done [14:57:11]FM_MakeSignedData done [14:57:11]CreateOFDProtocolMessage [14:57:11]wFMCommunicate request_size=4 [14:57:11]MH_SAM_APDU [14:57:11]CAPDU: 80 11 00 00 [14:57:11]Write to MH i2c: E2 08 00 79 00 80 11 00 00 00 00 00 00 F3 [14:57:11]Write i2c OK [14:57:11]MH_I2C_Read... [14:57:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:57:11]Read from MH i2c: E2 [14:57:11]MH_I2C_Read... [14:57:11]Read from MH i2c: E2 17 00 [14:57:11]MH_I2C_Read... [14:57:11]Read from MH i2c: E2 17 00 79 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 4F [14:57:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 [14:57:11]wFMCommunicate OK [14:57:11]CreateOFDProtocolMessage done [14:57:11]OFDSenderStorePacket 34683 [14:57:11]StoreOFDPacket docnum=34683 [14:57:11]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 98 01 00 00 B3 3F 90 01 CF 16 5A 03 01 00 03 00 84 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 33 32 36 36 06 04 26 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 90 D1 82 D0 B8 D0 BB D0 BB D0 B0 20 D0 93 D1 83 D0 BD D0 BD 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 AF 00 00 00 00 13 04 06 00 C8 AF 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 24 2C 00 00 00 00 13 04 06 00 24 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC DB 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F2 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 17 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 EC DB 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 46 2B 5F 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 7B 87 00 00 35 04 06 00 5A EA 2B 9C 25 EC 55 59 3B D6 67 ED 9F C4 [14:57:11]CheckFolder [14:57:11]dirname=/storage/ofd_packets [14:57:11]CheckFolder done [14:57:11]ProducePacketName [14:57:11]name=ofd_packets/00034683 [14:57:11]NVStorageSaveData ofd_packets/00034683 [14:57:11]File name is /storage/ofd_packets/00034683 [14:57:11]Write 438 bytes [14:57:11]NVStorageSaveData done [14:57:11]OFDSenderStorePacket done [14:57:11]KKMCreateOFDPacket done [14:57:11]NVStorageSaveData kkm_last_timestamp [14:57:11]File name is /storage/kkm_last_timestamp [14:57:11]Write 4 bytes [14:57:11]NVStorageSaveData done [14:57:11]ExternCall_PrintAddStr [14:57:11]wPrintStart [14:57:11]Write to MH i2c: 01 00 00 7A 00 7A [14:57:11]Write i2c OK [14:57:11]MH_I2C_Read... [14:57:11]Read from MH i2c: 01 [14:57:11]MH_I2C_Read... [14:57:11]Read from MH i2c: 01 07 00 [14:57:11]MH_I2C_Read... [14:57:11]Read from MH i2c: 01 07 00 7A 00 00 00 00 00 00 FF 0F 8F [14:57:11]RasterBufferAndPrint [14:57:11]line Счет N : (3)100045 [14:57:11]line ИНН: 02508201610067 [14:57:11]line Контрольно-Кассовый Чек [14:57:11]line ПРОДАЖА [14:57:11]line Товар: 4700002083266 [14:57:11]line Водка Атилла Гунн 0,5л [14:57:11]line 1.000 * 450.00 [14:57:11]line = 450.00 [14:57:11]line НДС 12% НСП 1% [14:57:11]line > о реализуемом товаре [14:57:11]line Товар: 5449000054227 [14:57:11]line Напиток Кока-Кола 1л [14:57:11]line 1.000 * 113.00 [14:57:11]line = 113.00 [14:57:11]line НДС 12% НСП 1% [14:57:11]line > о реализуемом товаре [14:57:11]line ИТОГО: 563.00 [14:57:11]line НСП 1% : 4.98 [14:57:11]line НДС 12% : 59.79 [14:57:11]line Наличными: 0.00 [14:57:11]line Безнал.: 563.00 [14:57:11]line Место: АЗС № 62 "Партнер Нефть" [14:57:11]line Адрес: 720001, г. Балыкчы, ул. Абдрахманова 325 Б, 42.462761, 76.214931 [14:57:11]line СНО: Общий режим [14:57:11]line Чек 27 04.06.2024 14:57 [14:57:11]line Смена: 368 ФФД: 1.0 [14:57:11]line ЗНМ: 0300000080 [14:57:11]line РНМ: 0000000000096838 [14:57:11]line Версия ККМ: 001 [14:57:11]line Платежная система: АКБ Кыргызстан [14:57:11]line ФМ: 0000000000874859 [14:57:11]line ФД: 34683 [14:57:11]line ФПД: 99961800500716 [14:57:11]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T145710&type=1&operation_type=1&fn_number=0000000000874859&fd_number=34683&fm=99961800500716&tin=02508201610067®Number=0000000000096838&sum=56300 [14:57:11]line 0 [14:57:11]written 0, free lines is 4095 [14:57:11]OFD Sender: Processing packet 34683 [packets to send 17, broken 16] [14:57:11]ProducePacketName [14:57:11]name=ofd_packets/00034683 [14:57:11]OFD Sender: To server: pG, [14:57:11]CommunicateWithHost lk.salyk.kg:30040 [14:57:11]ConnectInit lk.salyk.kg [14:57:11]Connected sock=9 [14:57:11]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 98 01 00 00 B3 3F 90 01 CF 16 5A 03 01 00 03 00 84 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 33 32 36 36 06 04 26 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 90 D1 82 D0 B8 D0 BB D0 BB D0 B0 20 D0 93 D1 83 D0 BD D0 BD 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 AF 00 00 00 00 13 04 06 00 C8 AF 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 24 2C 00 00 00 00 13 04 06 00 24 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC DB 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F2 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 17 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 EC DB 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 46 2B 5F 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 7B 87 00 00 35 04 06 00 5A EA 2B 9C 25 EC 55 59 3B D6 67 ED 9F C4 [14:57:12]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 4F 00 00 00 77 1E 47 00 AC 01 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 7B 87 00 00 F4 03 04 00 86 D5 5E 66 B6 04 01 00 00 77 6E 15 36 FC B4 21 99 [14:57:12]CommunicateWithHost err = 0 [14:57:12]CheckOFDResponse [14:57:12]1017 (14) - 77093643461234 [14:57:12]1041 (16) - 0000000000874859 [14:57:12]1040 (4) - 34683 [14:57:12]1012 (4) - 04.06.2024 08:51 [14:57:12]1206 (1) - 0 [14:57:12]OFD Sender: Remove packet 34683 [14:57:12]ProducePacketName [14:57:12]name=ofd_packets/00034683 [14:57:12]NVStorageDeleteData [14:57:12]Write to MH i2c: 01 00 00 AA 00 AA [14:57:12]Write i2c OK [14:57:12]MH_I2C_Read... [14:57:12]Read from MH i2c: 01 [14:57:12]MH_I2C_Read... [14:57:12]Read from MH i2c: 01 07 00 [14:57:12]MH_I2C_Read... [14:57:12]Read from MH i2c: 01 07 00 AA 00 00 00 00 00 00 E1 0C 9E [14:57:12]RasterBufferAndPrint [14:57:12]line [14:57:12]line [14:57:12]line [14:57:12]line [14:57:12]line [14:57:12]written 0, free lines is 3303 [14:57:12]MH_Cut [14:57:12]Write to MH i2c: D1 01 00 B1 00 01 83 [14:57:12]Write i2c OK [14:57:12]MH_I2C_Read... [14:57:12]Read from MH i2c: D1 [14:57:12]MH_I2C_Read... [14:57:12]Read from MH i2c: D1 01 00 [14:57:12]MH_I2C_Read... [14:57:12]Read from MH i2c: D1 01 00 B1 00 00 82 [14:57:12]Write to MH i2c: 01 00 00 B2 00 B2 [14:57:12]Write i2c OK [14:57:12]MH_I2C_Read... [14:57:12]OFD Sender: No OFD packet to send [14:57:13]*** Cut start [14:57:13]*** Partial cut [14:57:13]*** CUTSNS_PIN = 1 [14:57:13]*** CUTSNS_PIN = 0 [14:57:13]*** Brake cut motor [14:57:13]Read from MH i2c: 01 [14:57:13]MH_I2C_Read... [14:57:13]*** Stop cut motor [14:57:13]*** Cut end [14:57:13]Read from MH i2c: 01 07 00 [14:57:13]MH_I2C_Read... [14:57:13]Read from MH i2c: 01 07 00 B2 00 00 00 00 00 00 FF 0F C7 [14:57:13]process_action close_receipt done [14:57:13]requested_data is exist [14:57:13]produce_requested_data [14:57:13]requested_item fm.sn is exist - process it [14:57:13]wFMCommunicate request_size=4 [14:57:13]MH_SAM_APDU [14:57:13]CAPDU: 80 11 00 00 [14:57:13]Write to MH i2c: E2 08 00 B3 00 80 11 00 00 00 00 00 00 2D [14:57:13]Write i2c OK [14:57:13]MH_I2C_Read... [14:57:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:57:13]Read from MH i2c: E2 [14:57:13]MH_I2C_Read... [14:57:13]Read from MH i2c: E2 17 00 [14:57:13]MH_I2C_Read... [14:57:13]Read from MH i2c: E2 17 00 B3 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 89 [14:57:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 [14:57:13]wFMCommunicate OK [14:57:13]requested_item fd.num is exist - process it [14:57:13]SAM_PROTO_GetFieldsCounters [14:57:13]wFMCommunicate request_size=4 [14:57:13]MH_SAM_APDU [14:57:13]CAPDU: 80 13 00 00 [14:57:13]Write to MH i2c: E2 08 00 B4 00 80 13 00 00 00 00 00 00 30 [14:57:13]Write i2c OK [14:57:13]MH_I2C_Read... [14:57:13]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:57:13]Read from MH i2c: E2 [14:57:13]MH_I2C_Read... [14:57:13]Read from MH i2c: E2 62 00 [14:57:13]MH_I2C_Read... [14:57:13]Read from MH i2c: E2 62 00 B4 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 10 04 04 00 7B 87 00 00 0E 04 04 00 70 01 00 00 12 04 04 00 1B 00 00 00 5E 04 04 00 1B 00 00 00 57 04 04 00 1C 00 00 00 19 04 04 00 00 00 00 00 90 00 27 [14:57:13]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 10 04 04 00 7B 87 00 00 0E 04 04 00 70 01 00 00 12 04 04 00 1B 00 00 00 5E 04 04 00 1B 00 00 00 57 04 04 00 1C 00 00 00 19 04 04 00 00 00 00 00 90 00 [14:57:13]wFMCommunicate OK [14:57:13]SAM_PROTO_GetFieldsCounters done [14:57:13]requested_item shift.num is exist - process it [14:57:13]requested_item shift.opened is exist - process it [14:57:13]req_shift_opened [14:57:13]FM_GetShiftState [14:57:13]SAM_PROTO_GetShiftState [14:57:13]wFMCommunicate request_size=4 [14:57:13]MH_SAM_APDU [14:57:13]CAPDU: 80 13 01 00 [14:57:13]Write to MH i2c: E2 08 00 B5 00 80 13 01 00 00 00 00 00 32 [14:57:13]Write i2c OK [14:57:13]MH_I2C_Read... [14:57:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:57:13]Read from MH i2c: E2 [14:57:13]MH_I2C_Read... [14:57:13]Read from MH i2c: E2 0E 00 [14:57:13]MH_I2C_Read... [14:57:13]Read from MH i2c: E2 0E 00 B5 00 00 09 00 01 35 5B 5E 66 00 00 00 00 90 00 92 [14:57:13]RAPDU: 09 00 01 35 5B 5E 66 00 00 00 00 90 00 [14:57:13]wFMCommunicate OK [14:57:13]SAM_PROTO_GetShiftState done [14:57:13]FM_GetShiftState done [14:57:13]req_shift_opened done [14:57:13]requested_item shift.open_date is exist - process it [14:57:13]req_shift_open_date [14:57:13]req_shift_open_date done [14:57:13]produce_requested_data done [14:57:13]produce_requested_data return {"fm.sn":"0000000000874859","fd.num":34683,"shift.num":368,"shift.opened":1,"shift.open_date":1717459765} [14:57:13]process_action_free close_receipt [14:57:13]json_value_free [14:57:13]json_value_free done [14:57:13]process_json_proto returns [14:57:13]Send response to host [14:57:13]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874859","fd.num":34683,"shift.num":368,"shift.opened":1,"shift.open_date":1717459765}}} [14:57:13]free response buf [14:57:13]execute_script done [14:57:13]execute_script returns [14:57:13]free content buf [14:57:13]Sock 10.Close socket [14:57:13]Sock 10.Thread stoped [14:57:17]OFD Sender: No OFD packet to send [14:57:22]OFD Sender: No OFD packet to send [14:57:27]OFD Sender: No OFD packet to send [14:57:32]OFD Sender: No OFD packet to send [14:57:37]OFD Sender: No OFD packet to send [14:57:42]OFD Sender: No OFD packet to send [14:57:47]OFD Sender: No OFD packet to send [14:57:52]OFD Sender: No OFD packet to send [14:57:57]OFD Sender: No OFD packet to send [14:58:02]OFD Sender: No OFD packet to send [14:58:07]OFD Sender: No OFD packet to send [14:58:12]OFD Sender: No OFD packet to send [14:58:17]OFD Sender: No OFD packet to send [14:58:22]OFD Sender: No OFD packet to send [14:58:27]OFD Sender: No OFD packet to send [14:58:32]OFD Sender: No OFD packet to send [14:58:37]OFD Sender: No OFD packet to send [14:58:42]OFD Sender: No OFD packet to send [14:58:47]OFD Sender: No OFD packet to send [14:58:52]OFD Sender: No OFD packet to send [14:58:57]OFD Sender: No OFD packet to send [14:59:02]OFD Sender: No OFD packet to send [14:59:07]OFD Sender: No OFD packet to send [14:59:12]OFD Sender: No OFD packet to send [14:59:17]OFD Sender: No OFD packet to send [14:59:22]OFD Sender: No OFD packet to send [14:59:27]OFD Sender: No OFD packet to send [14:59:32]OFD Sender: No OFD packet to send [14:59:37]OFD Sender: No OFD packet to send [14:59:42]OFD Sender: No OFD packet to send [14:59:47]OFD Sender: No OFD packet to send [14:59:52]OFD Sender: No OFD packet to send [14:59:57]OFD Sender: No OFD packet to send [15:00:02]OFD Sender: No OFD packet to send [15:00:07]OFD Sender: No OFD packet to send [15:00:12]OFD Sender: No OFD packet to send [15:00:17]OFD Sender: No OFD packet to send [15:00:22]OFD Sender: No OFD packet to send [15:00:27]OFD Sender: No OFD packet to send [15:00:32]OFD Sender: No OFD packet to send [15:00:37]OFD Sender: No OFD packet to send [15:00:42]OFD Sender: No OFD packet to send [15:00:47]OFD Sender: No OFD packet to send [15:00:52]OFD Sender: No OFD packet to send [15:00:57]OFD Sender: No OFD packet to send [15:01:02]OFD Sender: No OFD packet to send [15:01:07]OFD Sender: No OFD packet to send [15:01:12]OFD Sender: No OFD packet to send [15:01:17]OFD Sender: No OFD packet to send [15:01:22]OFD Sender: No OFD packet to send [15:01:27]OFD Sender: No OFD packet to send [15:01:32]OFD Sender: No OFD packet to send [15:01:37]OFD Sender: No OFD packet to send [15:01:42]OFD Sender: No OFD packet to send [15:01:47]OFD Sender: No OFD packet to send [15:01:52]OFD Sender: No OFD packet to send [15:01:57]OFD Sender: No OFD packet to send [15:02:02]OFD Sender: No OFD packet to send [15:02:07]OFD Sender: No OFD packet to send [15:02:12]OFD Sender: No OFD packet to send [15:02:17]OFD Sender: No OFD packet to send [15:02:22]OFD Sender: No OFD packet to send [15:02:27]OFD Sender: No OFD packet to send [15:02:32]OFD Sender: No OFD packet to send [15:02:37]OFD Sender: No OFD packet to send [15:02:42]OFD Sender: No OFD packet to send [15:02:47]OFD Sender: No OFD packet to send [15:02:52]OFD Sender: No OFD packet to send [15:02:57]OFD Sender: No OFD packet to send [15:03:02]OFD Sender: No OFD packet to send [15:03:07]OFD Sender: No OFD packet to send [15:03:12]OFD Sender: No OFD packet to send [15:03:17]OFD Sender: No OFD packet to send [15:03:22]OFD Sender: No OFD packet to send [15:03:27]OFD Sender: No OFD packet to send [15:03:32]OFD Sender: No OFD packet to send [15:03:37]OFD Sender: No OFD packet to send [15:03:42]OFD Sender: No OFD packet to send [15:03:47]OFD Sender: No OFD packet to send [15:03:52]OFD Sender: No OFD packet to send [15:03:57]OFD Sender: No OFD packet to send [15:04:02]OFD Sender: No OFD packet to send [15:04:07]OFD Sender: No OFD packet to send [15:04:12]OFD Sender: No OFD packet to send [15:04:17]OFD Sender: No OFD packet to send [15:04:22]OFD Sender: No OFD packet to send [15:04:27]OFD Sender: No OFD packet to send [15:04:32]OFD Sender: No OFD packet to send [15:04:37]OFD Sender: No OFD packet to send [15:04:42]OFD Sender: No OFD packet to send [15:04:47]OFD Sender: No OFD packet to send [15:04:52]OFD Sender: No OFD packet to send [15:04:57]OFD Sender: No OFD packet to send [15:05:02]OFD Sender: No OFD packet to send [15:05:07]OFD Sender: No OFD packet to send [15:05:12]OFD Sender: No OFD packet to send [15:05:17]OFD Sender: No OFD packet to send [15:05:22]OFD Sender: No OFD packet to send [15:05:27]OFD Sender: No OFD packet to send [15:05:32]OFD Sender: No OFD packet to send [15:05:38]OFD Sender: No OFD packet to send [15:05:43]OFD Sender: No OFD packet to send [15:05:48]OFD Sender: No OFD packet to send [15:05:53]OFD Sender: No OFD packet to send [15:05:58]OFD Sender: No OFD packet to send [15:06:03]OFD Sender: No OFD packet to send [15:06:08]OFD Sender: No OFD packet to send [15:06:13]OFD Sender: No OFD packet to send [15:06:18]OFD Sender: No OFD packet to send [15:06:23]OFD Sender: No OFD packet to send [15:06:28]OFD Sender: No OFD packet to send [15:06:33]OFD Sender: No OFD packet to send [15:06:38]OFD Sender: No OFD packet to send [15:06:43]OFD Sender: No OFD packet to send [15:06:48]OFD Sender: No OFD packet to send [15:06:53]OFD Sender: No OFD packet to send [15:06:58]OFD Sender: No OFD packet to send [15:07:03]OFD Sender: No OFD packet to send [15:07:08]OFD Sender: No OFD packet to send [15:07:13]OFD Sender: No OFD packet to send [15:07:18]OFD Sender: No OFD packet to send [15:07:23]OFD Sender: No OFD packet to send [15:07:28]OFD Sender: No OFD packet to send [15:07:33]OFD Sender: No OFD packet to send [15:07:38]OFD Sender: No OFD packet to send [15:07:43]OFD Sender: No OFD packet to send [15:07:48]OFD Sender: No OFD packet to send [15:07:53]OFD Sender: No OFD packet to send [15:07:58]OFD Sender: No OFD packet to send [15:08:03]OFD Sender: No OFD packet to send [15:08:08]OFD Sender: No OFD packet to send [15:08:13]OFD Sender: No OFD packet to send [15:08:18]OFD Sender: No OFD packet to send [15:08:23]OFD Sender: No OFD packet to send [15:08:28]OFD Sender: No OFD packet to send [15:08:33]OFD Sender: No OFD packet to send [15:08:38]OFD Sender: No OFD packet to send [15:08:43]OFD Sender: No OFD packet to send [15:08:48]OFD Sender: No OFD packet to send [15:08:53]OFD Sender: No OFD packet to send [15:08:58]OFD Sender: No OFD packet to send [15:09:03]OFD Sender: No OFD packet to send [15:09:08]OFD Sender: No OFD packet to send [15:09:13]OFD Sender: No OFD packet to send [15:09:18]OFD Sender: No OFD packet to send [15:09:23]OFD Sender: No OFD packet to send [15:09:28]OFD Sender: No OFD packet to send [15:09:33]OFD Sender: No OFD packet to send [15:09:38]OFD Sender: No OFD packet to send [15:09:43]OFD Sender: No OFD packet to send [15:09:48]OFD Sender: No OFD packet to send [15:09:53]OFD Sender: No OFD packet to send [15:09:58]OFD Sender: No OFD packet to send [15:10:03]OFD Sender: No OFD packet to send [15:10:08]OFD Sender: No OFD packet to send [15:10:13]OFD Sender: No OFD packet to send [15:10:18]OFD Sender: No OFD packet to send [15:10:23]OFD Sender: No OFD packet to send [15:10:28]OFD Sender: No OFD packet to send [15:10:33]OFD Sender: No OFD packet to send [15:10:38]OFD Sender: No OFD packet to send [15:10:43]OFD Sender: No OFD packet to send [15:10:48]OFD Sender: No OFD packet to send [15:10:53]OFD Sender: No OFD packet to send [15:10:58]OFD Sender: No OFD packet to send [15:11:03]OFD Sender: No OFD packet to send [15:11:08]OFD Sender: No OFD packet to send [15:11:13]OFD Sender: No OFD packet to send [15:11:18]OFD Sender: No OFD packet to send [15:11:23]OFD Sender: No OFD packet to send [15:11:28]OFD Sender: No OFD packet to send [15:11:33]OFD Sender: No OFD packet to send [15:11:38]OFD Sender: No OFD packet to send [15:11:43]OFD Sender: No OFD packet to send [15:11:48]OFD Sender: No OFD packet to send [15:11:53]OFD Sender: No OFD packet to send [15:11:58]OFD Sender: No OFD packet to send [15:12:03]OFD Sender: No OFD packet to send [15:12:08]OFD Sender: No OFD packet to send [15:12:13]OFD Sender: No OFD packet to send [15:12:18]OFD Sender: No OFD packet to send [15:12:23]OFD Sender: No OFD packet to send [15:12:28]OFD Sender: No OFD packet to send [15:12:33]OFD Sender: No OFD packet to send [15:12:38]OFD Sender: No OFD packet to send [15:12:43]OFD Sender: No OFD packet to send [15:12:48]OFD Sender: No OFD packet to send [15:12:53]OFD Sender: No OFD packet to send [15:12:58]OFD Sender: No OFD packet to send [15:13:03]OFD Sender: No OFD packet to send [15:13:08]OFD Sender: No OFD packet to send [15:13:13]OFD Sender: No OFD packet to send [15:13:18]OFD Sender: No OFD packet to send [15:13:23]OFD Sender: No OFD packet to send [15:13:28]OFD Sender: No OFD packet to send [15:13:33]OFD Sender: No OFD packet to send [15:13:38]OFD Sender: No OFD packet to send [15:13:43]OFD Sender: No OFD packet to send [15:13:48]OFD Sender: No OFD packet to send [15:13:53]OFD Sender: No OFD packet to send [15:13:58]OFD Sender: No OFD packet to send [15:14:03]OFD Sender: No OFD packet to send [15:14:08]OFD Sender: No OFD packet to send [15:14:13]OFD Sender: No OFD packet to send [15:14:18]OFD Sender: No OFD packet to send [15:14:23]OFD Sender: No OFD packet to send [15:14:28]OFD Sender: No OFD packet to send [15:14:33]OFD Sender: No OFD packet to send [15:14:38]OFD Sender: No OFD packet to send [15:14:43]OFD Sender: No OFD packet to send [15:14:48]OFD Sender: No OFD packet to send [15:14:53]OFD Sender: No OFD packet to send [15:14:58]OFD Sender: No OFD packet to send [15:15:03]OFD Sender: No OFD packet to send [15:15:08]OFD Sender: No OFD packet to send [15:15:13]OFD Sender: No OFD packet to send [15:15:18]OFD Sender: No OFD packet to send [15:15:23]OFD Sender: No OFD packet to send [15:15:28]OFD Sender: No OFD packet to send [15:15:33]OFD Sender: No OFD packet to send [15:15:38]OFD Sender: No OFD packet to send [15:15:43]OFD Sender: No OFD packet to send [15:15:48]OFD Sender: No OFD packet to send [15:15:53]OFD Sender: No OFD packet to send [15:15:58]OFD Sender: No OFD packet to send [15:16:03]OFD Sender: No OFD packet to send [15:16:08]OFD Sender: No OFD packet to send [15:16:13]OFD Sender: No OFD packet to send [15:16:18]OFD Sender: No OFD packet to send [15:16:23]OFD Sender: No OFD packet to send [15:16:28]OFD Sender: No OFD packet to send [15:16:33]OFD Sender: No OFD packet to send [15:16:38]OFD Sender: No OFD packet to send [15:16:43]OFD Sender: No OFD packet to send [15:16:48]OFD Sender: No OFD packet to send [15:16:53]OFD Sender: No OFD packet to send [15:16:58]OFD Sender: No OFD packet to send [15:17:03]OFD Sender: No OFD packet to send [15:17:08]OFD Sender: No OFD packet to send [15:17:13]OFD Sender: No OFD packet to send [15:17:18]OFD Sender: No OFD packet to send [15:17:23]OFD Sender: No OFD packet to send [15:17:28]OFD Sender: No OFD packet to send [15:17:33]OFD Sender: No OFD packet to send [15:17:38]OFD Sender: No OFD packet to send [15:17:43]OFD Sender: No OFD packet to send [15:17:48]OFD Sender: No OFD packet to send [15:17:53]OFD Sender: No OFD packet to send [15:17:58]OFD Sender: No OFD packet to send [15:18:03]OFD Sender: No OFD packet to send [15:18:08]OFD Sender: No OFD packet to send [15:18:13]OFD Sender: No OFD packet to send [15:18:18]OFD Sender: No OFD packet to send [15:18:23]OFD Sender: No OFD packet to send [15:18:28]OFD Sender: No OFD packet to send [15:18:33]OFD Sender: No OFD packet to send [15:18:38]OFD Sender: No OFD packet to send [15:18:43]OFD Sender: No OFD packet to send [15:18:48]OFD Sender: No OFD packet to send [15:18:53]OFD Sender: No OFD packet to send [15:18:58]OFD Sender: No OFD packet to send [15:19:03]OFD Sender: No OFD packet to send [15:19:08]OFD Sender: No OFD packet to send [15:19:13]OFD Sender: No OFD packet to send [15:19:18]OFD Sender: No OFD packet to send [15:19:23]OFD Sender: No OFD packet to send [15:19:28]OFD Sender: No OFD packet to send [15:19:33]OFD Sender: No OFD packet to send [15:19:38]OFD Sender: No OFD packet to send [15:19:43]OFD Sender: No OFD packet to send [15:19:48]OFD Sender: No OFD packet to send [15:19:53]OFD Sender: No OFD packet to send [15:19:58]OFD Sender: No OFD packet to send [15:20:03]OFD Sender: No OFD packet to send [15:20:08]OFD Sender: No OFD packet to send [15:20:13]OFD Sender: No OFD packet to send [15:20:18]OFD Sender: No OFD packet to send [15:20:23]OFD Sender: No OFD packet to send [15:20:28]OFD Sender: No OFD packet to send [15:20:33]OFD Sender: No OFD packet to send [15:20:38]OFD Sender: No OFD packet to send [15:20:43]OFD Sender: No OFD packet to send [15:20:48]OFD Sender: No OFD packet to send [15:20:53]OFD Sender: No OFD packet to send [15:20:58]OFD Sender: No OFD packet to send [15:21:03]OFD Sender: No OFD packet to send [15:21:08]OFD Sender: No OFD packet to send [15:21:13]OFD Sender: No OFD packet to send [15:21:18]OFD Sender: No OFD packet to send [15:21:23]OFD Sender: No OFD packet to send [15:21:28]OFD Sender: No OFD packet to send [15:21:33]OFD Sender: No OFD packet to send [15:21:38]OFD Sender: No OFD packet to send [15:21:43]OFD Sender: No OFD packet to send [15:21:48]OFD Sender: No OFD packet to send [15:21:53]OFD Sender: No OFD packet to send [15:21:58]OFD Sender: No OFD packet to send [15:22:03]OFD Sender: No OFD packet to send [15:22:08]OFD Sender: No OFD packet to send [15:22:13]OFD Sender: No OFD packet to send [15:22:18]OFD Sender: No OFD packet to send [15:22:23]OFD Sender: No OFD packet to send [15:22:28]OFD Sender: No OFD packet to send [15:22:33]OFD Sender: No OFD packet to send [15:22:38]OFD Sender: No OFD packet to send [15:22:43]OFD Sender: No OFD packet to send [15:22:48]OFD Sender: No OFD packet to send [15:22:53]OFD Sender: No OFD packet to send [15:22:58]OFD Sender: No OFD packet to send [15:23:03]OFD Sender: No OFD packet to send [15:23:08]OFD Sender: No OFD packet to send [15:23:13]OFD Sender: No OFD packet to send [15:23:18]OFD Sender: No OFD packet to send [15:23:23]OFD Sender: No OFD packet to send [15:23:28]OFD Sender: No OFD packet to send [15:23:33]OFD Sender: No OFD packet to send [15:23:38]OFD Sender: No OFD packet to send [15:23:43]OFD Sender: No OFD packet to send [15:23:48]OFD Sender: No OFD packet to send [15:23:53]OFD Sender: No OFD packet to send [15:23:58]OFD Sender: No OFD packet to send [15:24:03]OFD Sender: No OFD packet to send [15:24:08]OFD Sender: No OFD packet to send [15:24:13]OFD Sender: No OFD packet to send [15:24:18]OFD Sender: No OFD packet to send [15:24:23]OFD Sender: No OFD packet to send [15:24:28]OFD Sender: No OFD packet to send [15:24:33]OFD Sender: No OFD packet to send [15:24:38]OFD Sender: No OFD packet to send [15:24:43]OFD Sender: No OFD packet to send [15:24:48]OFD Sender: No OFD packet to send [15:24:53]OFD Sender: No OFD packet to send [15:24:58]OFD Sender: No OFD packet to send [15:25:03]OFD Sender: No OFD packet to send [15:25:08]OFD Sender: No OFD packet to send [15:25:13]OFD Sender: No OFD packet to send [15:25:18]OFD Sender: No OFD packet to send [15:25:23]OFD Sender: No OFD packet to send [15:25:28]OFD Sender: No OFD packet to send [15:25:33]OFD Sender: No OFD packet to send [15:25:38]OFD Sender: No OFD packet to send [15:25:43]OFD Sender: No OFD packet to send [15:25:48]OFD Sender: No OFD packet to send [15:25:53]OFD Sender: No OFD packet to send [15:25:58]OFD Sender: No OFD packet to send [15:26:03]OFD Sender: No OFD packet to send [15:26:08]OFD Sender: No OFD packet to send [15:26:13]OFD Sender: No OFD packet to send [15:26:19]OFD Sender: No OFD packet to send [15:26:24]OFD Sender: No OFD packet to send [15:26:29]OFD Sender: No OFD packet to send [15:26:34]OFD Sender: No OFD packet to send [15:26:39]OFD Sender: No OFD packet to send [15:26:44]OFD Sender: No OFD packet to send [15:26:49]OFD Sender: No OFD packet to send [15:26:54]OFD Sender: No OFD packet to send [15:26:59]OFD Sender: No OFD packet to send [15:27:04]OFD Sender: No OFD packet to send [15:27:09]OFD Sender: No OFD packet to send [15:27:14]OFD Sender: No OFD packet to send [15:27:19]OFD Sender: No OFD packet to send [15:27:24]OFD Sender: No OFD packet to send [15:27:29]OFD Sender: No OFD packet to send [15:27:34]OFD Sender: No OFD packet to send [15:27:39]OFD Sender: No OFD packet to send [15:27:44]OFD Sender: No OFD packet to send [15:27:49]OFD Sender: No OFD packet to send [15:27:54]OFD Sender: No OFD packet to send [15:27:59]OFD Sender: No OFD packet to send [15:28:04]OFD Sender: No OFD packet to send [15:28:09]OFD Sender: No OFD packet to send [15:28:14]OFD Sender: No OFD packet to send [15:28:19]OFD Sender: No OFD packet to send [15:28:24]OFD Sender: No OFD packet to send [15:28:29]OFD Sender: No OFD packet to send [15:28:34]OFD Sender: No OFD packet to send [15:28:39]OFD Sender: No OFD packet to send [15:28:44]OFD Sender: No OFD packet to send [15:28:49]OFD Sender: No OFD packet to send [15:28:54]OFD Sender: No OFD packet to send [15:28:59]OFD Sender: No OFD packet to send [15:29:04]OFD Sender: No OFD packet to send [15:29:09]OFD Sender: No OFD packet to send [15:29:14]OFD Sender: No OFD packet to send [15:29:19]OFD Sender: No OFD packet to send [15:29:24]OFD Sender: No OFD packet to send [15:29:29]OFD Sender: No OFD packet to send [15:29:34]OFD Sender: No OFD packet to send [15:29:39]OFD Sender: No OFD packet to send [15:29:44]OFD Sender: No OFD packet to send [15:29:49]OFD Sender: No OFD packet to send [15:29:54]OFD Sender: No OFD packet to send [15:29:59]OFD Sender: No OFD packet to send [15:30:04]OFD Sender: No OFD packet to send [15:30:09]OFD Sender: No OFD packet to send [15:30:14]OFD Sender: No OFD packet to send [15:30:19]OFD Sender: No OFD packet to send [15:30:24]OFD Sender: No OFD packet to send [15:30:29]OFD Sender: No OFD packet to send [15:30:34]OFD Sender: No OFD packet to send [15:30:39]OFD Sender: No OFD packet to send [15:30:44]OFD Sender: No OFD packet to send [15:30:49]OFD Sender: No OFD packet to send [15:30:54]OFD Sender: No OFD packet to send [15:30:59]OFD Sender: No OFD packet to send [15:31:04]OFD Sender: No OFD packet to send [15:31:09]OFD Sender: No OFD packet to send [15:31:14]OFD Sender: No OFD packet to send [15:31:19]OFD Sender: No OFD packet to send [15:31:24]OFD Sender: No OFD packet to send [15:31:29]OFD Sender: No OFD packet to send [15:31:34]OFD Sender: No OFD packet to send [15:31:39]OFD Sender: No OFD packet to send [15:31:44]OFD Sender: No OFD packet to send [15:31:49]OFD Sender: No OFD packet to send [15:31:54]OFD Sender: No OFD packet to send [15:31:59]OFD Sender: No OFD packet to send [15:32:04]OFD Sender: No OFD packet to send [15:32:09]OFD Sender: No OFD packet to send [15:32:14]OFD Sender: No OFD packet to send [15:32:19]OFD Sender: No OFD packet to send [15:32:24]OFD Sender: No OFD packet to send [15:32:29]OFD Sender: No OFD packet to send [15:32:34]OFD Sender: No OFD packet to send [15:32:39]OFD Sender: No OFD packet to send [15:32:44]OFD Sender: No OFD packet to send [15:32:49]OFD Sender: No OFD packet to send [15:32:54]OFD Sender: No OFD packet to send [15:32:59]OFD Sender: No OFD packet to send [15:33:04]OFD Sender: No OFD packet to send [15:33:09]OFD Sender: No OFD packet to send [15:33:14]OFD Sender: No OFD packet to send [15:33:19]OFD Sender: No OFD packet to send [15:33:24]OFD Sender: No OFD packet to send [15:33:29]OFD Sender: No OFD packet to send [15:33:34]OFD Sender: No OFD packet to send [15:33:39]OFD Sender: No OFD packet to send [15:33:44]OFD Sender: No OFD packet to send [15:33:49]OFD Sender: No OFD packet to send [15:33:54]OFD Sender: No OFD packet to send [15:33:59]OFD Sender: No OFD packet to send [15:34:04]OFD Sender: No OFD packet to send [15:34:09]OFD Sender: No OFD packet to send [15:34:14]OFD Sender: No OFD packet to send [15:34:19]OFD Sender: No OFD packet to send [15:34:24]OFD Sender: No OFD packet to send [15:34:29]OFD Sender: No OFD packet to send [15:34:34]OFD Sender: No OFD packet to send [15:34:39]OFD Sender: No OFD packet to send [15:34:44]OFD Sender: No OFD packet to send [15:34:49]OFD Sender: No OFD packet to send [15:34:54]OFD Sender: No OFD packet to send [15:34:59]OFD Sender: No OFD packet to send [15:35:04]OFD Sender: No OFD packet to send [15:35:09]OFD Sender: No OFD packet to send [15:35:14]OFD Sender: No OFD packet to send [15:35:19]OFD Sender: No OFD packet to send [15:35:24]OFD Sender: No OFD packet to send [15:35:29]OFD Sender: No OFD packet to send [15:35:34]OFD Sender: No OFD packet to send [15:35:39]OFD Sender: No OFD packet to send [15:35:44]OFD Sender: No OFD packet to send [15:35:49]OFD Sender: No OFD packet to send [15:35:54]OFD Sender: No OFD packet to send [15:35:59]OFD Sender: No OFD packet to send [15:36:04]OFD Sender: No OFD packet to send [15:36:09]OFD Sender: No OFD packet to send [15:36:14]OFD Sender: No OFD packet to send [15:36:19]OFD Sender: No OFD packet to send [15:36:24]OFD Sender: No OFD packet to send [15:36:29]OFD Sender: No OFD packet to send [15:36:34]OFD Sender: No OFD packet to send [15:36:39]OFD Sender: No OFD packet to send [15:36:44]OFD Sender: No OFD packet to send [15:36:49]OFD Sender: No OFD packet to send [15:36:54]OFD Sender: No OFD packet to send [15:36:59]OFD Sender: No OFD packet to send [15:37:04]OFD Sender: No OFD packet to send [15:37:09]OFD Sender: No OFD packet to send [15:37:14]OFD Sender: No OFD packet to send [15:37:19]OFD Sender: No OFD packet to send [15:37:24]OFD Sender: No OFD packet to send [15:37:29]OFD Sender: No OFD packet to send [15:37:34]OFD Sender: No OFD packet to send [15:37:39]OFD Sender: No OFD packet to send [15:37:44]OFD Sender: No OFD packet to send [15:37:49]OFD Sender: No OFD packet to send [15:37:54]OFD Sender: No OFD packet to send [15:37:59]OFD Sender: No OFD packet to send [15:38:04]OFD Sender: No OFD packet to send [15:38:09]OFD Sender: No OFD packet to send [15:38:14]OFD Sender: No OFD packet to send [15:38:19]OFD Sender: No OFD packet to send [15:38:19]accept exits with 7 [15:38:19]New connection [15:38:19]New thread 3066735972 created [15:38:19]Thread 3066592612 joined [15:38:19]Waiting for new connection... [15:38:19] Sock 7.Parse request [15:38:19]Sock 7.Check first char [15:38:19]Sock 7.First char is OK [15:38:19]request: POST /json_proto HTTP/1.0 [15:38:19]Method: POST [15:38:19]URL: /json_proto [15:38:19]Method is POST - this is cgi request [15:38:19]url: /json_proto [15:38:19]query_string will be loaded in cgi processing [15:38:19]execute_cgi json_proto POST (null) [15:38:19]execute_cgi path=json_proto method=POST [15:38:19]POST find Content-Length [15:38:19]Host: 172.17.36.131:8080 [15:38:19]Content-Length: 644 [15:38:19]Content-Type: application/json [15:38:19] [15:38:19]POST finish read [15:38:19]Found Content-Length = 644 [15:38:19]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100046", "tax_sys" : 0, "items" : [ { "code": "5449000005489", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u043D\u0430\u043A\u0432\u0430 1\u043B \u0431/\u0433", "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" ] } } [15:38:19]execute_script... [15:38: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)100046", "tax_sys" : 0, "items" : [ { "code": "5449000005489", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u043D\u0430\u043A\u0432\u0430 1\u043B \u0431/\u0433", "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" ] } } [15:38:19]POST & json_proto [15:38:19]process_json_proto [15:38:19]json parsed OK: [15:38:19]protocol is kg_v1.0 [15:38:19]action value=close_receipt [15:38:19]process_action close_receipt [15:38:19]cmd_close_receipt [15:38:19]MH_GetDate [15:38:19]Write to MH i2c: F0 00 00 B6 00 A5 [15:38:19]Write i2c OK [15:38:19]MH_I2C_Read... [15:38:19]Read from MH i2c: F0 [15:38:19]MH_I2C_Read... [15:38:19]Read from MH i2c: F0 09 00 [15:38:19]MH_I2C_Read... [15:38:19]Read from MH i2c: F0 09 00 B6 00 00 EC 34 5F 66 A7 4C 98 65 83 [15:38:19]GetLastDocTimeStamp 1717513030 [15:38:19]current date 1717515500 [15:38:19]FM_GetShiftState [15:38:19]SAM_PROTO_GetShiftState [15:38:19]wFMCommunicate request_size=4 [15:38:19]MH_SAM_APDU [15:38:19]CAPDU: 80 13 01 00 [15:38:19]Write to MH i2c: E2 08 00 B7 00 80 13 01 00 00 00 00 00 34 [15:38:19]Write i2c OK [15:38:19]MH_I2C_Read... [15:38:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:38:19]Read from MH i2c: E2 [15:38:19]MH_I2C_Read... [15:38:19]Read from MH i2c: E2 0E 00 [15:38:19]MH_I2C_Read... [15:38:19]Read from MH i2c: E2 0E 00 B7 00 00 09 00 01 35 5B 5E 66 00 00 00 00 90 00 94 [15:38:19]RAPDU: 09 00 01 35 5B 5E 66 00 00 00 00 90 00 [15:38:19]wFMCommunicate OK [15:38:19]SAM_PROTO_GetShiftState done [15:38:19]FM_GetShiftState done [15:38:19]opened in 1717459765 [15:38:19]opened+sec_in_day 1717546165 [15:38:19]quantity*price = 5000 [15:38:19]sum+1 = 5001 [15:38:19]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 50.00 НСП 1% : 0.44 НДС 12% : 5.31 Наличными: 50.00 Безнал.: 0.00 Место: АЗС № 62 "Партнер Нефть" Адрес: 720001, г. Балыкчы, ул. Абдрахманова 325 Б, 42.462761, 76.214931 СНО: Общий режим Чек 28 04.06.2024 15:38 Смена: 368 ФФД: 1.0 ЗНМ: 0300000080 РНМ: 0000000000096838 Версия ККМ: 001 ФМ: 0000000000874859 ФД: 34684 ФПД: 213593833857279 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T153820&type=1&operation_type=1&fn_number=0000000000874859&fd_number=34684&fm=213593833857279&tin=02508201610067®Number=0000000000096838&sum=5000 0 [15:38:20]StoreToDocumentArchive [15:38:20]shift 368 fd 34684 [15:38:20]save to /storage/0368/doc_00034684 [15:38:20]save last doc name /storage/0368/doc_00034684 to /storage/kkm_last_doc_name [15:38:20]save OK [15:38:20]Clear old archive folders... [15:38:20]ProcessDocumentItem done err = 0, tmpTLVsize=275 [15:38:20]tlvbuf is 00ADE420 [15:38:20]SAM_PROTO_ClearQueue [15:38:20]wFMCommunicate request_size=4 [15:38:20]MH_SAM_APDU [15:38:20]CAPDU: 80 09 00 00 [15:38:20]Write to MH i2c: E2 08 00 C4 00 80 09 00 00 00 00 00 00 36 [15:38:20]Write i2c OK [15:38:20]MH_I2C_Read... [15:38:20]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:38:20]Read from MH i2c: E2 [15:38:20]MH_I2C_Read... [15:38:20]Read from MH i2c: E2 03 00 [15:38:20]MH_I2C_Read... [15:38:20]Read from MH i2c: E2 03 00 C4 00 00 90 00 38 [15:38:20]RAPDU: 90 00 [15:38:20]wFMCommunicate OK [15:38:20]SAM_PROTO_ClearQueue done [15:38:20]KKMCreateOFDPacket [15:38:20]OFDProtocolAddRootSTLVToBuf [15:38:20]FM_MakeSignedData [15:38:20]FM_MakeSignedData [15:38:20]SAM_PROTO_SignData [15:38:20]wFMCommunicate request_size=4 [15:38:20]MH_SAM_APDU [15:38:20]CAPDU: 80 0D 01 02 [15:38:20]Write to MH i2c: E2 08 00 C5 00 80 0D 01 02 00 00 00 00 3E [15:38:20]Write i2c OK [15:38:20]MH_I2C_Read... [15:38:20]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:38:21]Read from MH i2c: E2 [15:38:21]MH_I2C_Read... [15:38:21]Read from MH i2c: E2 03 00 [15:38:21]MH_I2C_Read... [15:38:21]Read from MH i2c: E2 03 00 C5 00 00 90 00 39 [15:38:21]RAPDU: 90 00 [15:38:21]wFMCommunicate OK [15:38:21]wFMCommunicate request_size=255 [15:38:21]MH_SAM_APDU [15:38:21]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 35 34 38 39 06 04 21 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 EC 34 5F 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 30 30 30 30 30 [15:38:21]Write to MH i2c: E2 02 01 C6 00 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 35 34 38 39 06 04 21 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 EC 34 5F 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 30 30 30 30 30 00 00 1A [15:38:21]Write i2c OK [15:38:21]MH_I2C_Read... [15:38:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:38:21]Read from MH i2c: E2 [15:38:21]MH_I2C_Read... [15:38:21]Read from MH i2c: E2 03 00 [15:38:21]MH_I2C_Read... [15:38:21]Read from MH i2c: E2 03 00 C6 00 00 90 00 3A [15:38:21]RAPDU: 90 00 [15:38:21]wFMCommunicate OK [15:38:21]wFMCommunicate request_size=34 [15:38:21]MH_SAM_APDU [15:38:21]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 7C 87 00 00 35 04 06 00 C2 43 30 97 E0 FF [15:38:21]Write to MH i2c: E2 25 00 C7 00 80 0D 02 02 1D 00 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 7C 87 00 00 35 04 06 00 C2 43 30 97 E0 FF 00 00 B9 [15:38:21]Write i2c OK [15:38:21]MH_I2C_Read... [15:38:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:38:21]Read from MH i2c: E2 [15:38:21]MH_I2C_Read... [15:38:21]Read from MH i2c: E2 03 00 [15:38:21]MH_I2C_Read... [15:38:21]Read from MH i2c: E2 03 00 C7 00 00 90 00 3B [15:38:21]RAPDU: 90 00 [15:38:21]wFMCommunicate OK [15:38:21]wFMCommunicate request_size=4 [15:38:21]MH_SAM_APDU [15:38:21]CAPDU: 80 0D 03 02 [15:38:21]Write to MH i2c: E2 08 00 C8 00 80 0D 03 02 00 00 00 00 43 [15:38:21]Write i2c OK [15:38:21]MH_I2C_Read... [15:38:21]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:38:21]Read from MH i2c: E2 [15:38:21]MH_I2C_Read... [15:38:21]Read from MH i2c: E2 0B 00 [15:38:21]MH_I2C_Read... [15:38:21]Read from MH i2c: E2 0B 00 C8 00 00 2B 88 CD BB D6 43 D3 B5 90 00 20 [15:38:21]RAPDU: 2B 88 CD BB D6 43 D3 B5 90 00 [15:38:21]wFMCommunicate OK [15:38:21]SAM_PROTO_SignData done [15:38:21]FM_MakeSignedData done [15:38:21]CreateOFDProtocolMessage [15:38:21]wFMCommunicate request_size=4 [15:38:21]MH_SAM_APDU [15:38:21]CAPDU: 80 11 00 00 [15:38:21]Write to MH i2c: E2 08 00 C9 00 80 11 00 00 00 00 00 00 43 [15:38:21]Write i2c OK [15:38:21]MH_I2C_Read... [15:38:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:38:21]Read from MH i2c: E2 [15:38:21]MH_I2C_Read... [15:38:21]Read from MH i2c: E2 17 00 [15:38:21]MH_I2C_Read... [15:38:21]Read from MH i2c: E2 17 00 C9 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 9F [15:38:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 [15:38:21]wFMCommunicate OK [15:38:21]CreateOFDProtocolMessage done [15:38:21]OFDSenderStorePacket 34684 [15:38:21]StoreOFDPacket docnum=34684 [15:38:21]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 27 01 00 00 CC F9 1F 01 F8 71 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 35 34 38 39 06 04 21 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 EC 34 5F 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 7C 87 00 00 35 04 06 00 C2 43 30 97 E0 FF 2B 88 CD BB D6 43 D3 B5 [15:38:21]CheckFolder [15:38:21]dirname=/storage/ofd_packets [15:38:21]CheckFolder done [15:38:21]ProducePacketName [15:38:21]name=ofd_packets/00034684 [15:38:21]NVStorageSaveData ofd_packets/00034684 [15:38:21]File name is /storage/ofd_packets/00034684 [15:38:21]Write 325 bytes [15:38:21]NVStorageSaveData done [15:38:21]OFDSenderStorePacket done [15:38:21]KKMCreateOFDPacket done [15:38:21]NVStorageSaveData kkm_last_timestamp [15:38:21]File name is /storage/kkm_last_timestamp [15:38:21]Write 4 bytes [15:38:21]NVStorageSaveData done [15:38:21]ExternCall_PrintAddStr [15:38:21]wPrintStart [15:38:21]Write to MH i2c: 01 00 00 CA 00 CA [15:38:21]Write i2c OK [15:38:21]MH_I2C_Read... [15:38:21]Read from MH i2c: 01 [15:38:21]MH_I2C_Read... [15:38:21]Read from MH i2c: 01 07 00 [15:38:21]MH_I2C_Read... [15:38:21]Read from MH i2c: 01 07 00 CA 00 00 00 00 00 00 FF 0F DF [15:38:21]RasterBufferAndPrint [15:38:21]line Счет N : (3)100046 [15:38:21]line ИНН: 02508201610067 [15:38:21]line Контрольно-Кассовый Чек [15:38:21]line ПРОДАЖА [15:38:21]line Товар: 5449000005489 [15:38:21]line Вода Бонаква 1л б/г [15:38:21]line 1.000 * 50.00 [15:38:21]line = 50.00 [15:38:21]line НДС 12% НСП 1% [15:38:21]line > о реализуемом товаре [15:38:21]line ИТОГО: 50.00 [15:38:21]line НСП 1% : 0.44 [15:38:21]line НДС 12% : 5.31 [15:38:21]line Наличными: 50.00 [15:38:21]line Безнал.: 0.00 [15:38:21]line Место: АЗС № 62 "Партнер Нефть" [15:38:21]line Адрес: 720001, г. Балыкчы, ул. Абдрахманова 325 Б, 42.462761, 76.214931 [15:38:21]line СНО: Общий режим [15:38:21]line Чек 28 04.06.2024 15:38 [15:38:21]line Смена: 368 ФФД: 1.0 [15:38:21]line ЗНМ: 0300000080 [15:38:21]line РНМ: 0000000000096838 [15:38:21]line Версия ККМ: 001 [15:38:21]line ФМ: 0000000000874859 [15:38:21]line ФД: 34684 [15:38:21]line ФПД: 213593833857279 [15:38:21]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T153820&type=1&operation_type=1&fn_number=0000000000874859&fd_number=34684&fm=213593833857279&tin=02508201610067®Number=0000000000096838&sum=5000 [15:38:21]line 0 [15:38:21]OFD Sender: Processing packet 34684 [packets to send 17, broken 16] [15:38:21]ProducePacketName [15:38:21]name=ofd_packets/00034684 [15:38:21]OFD Sender: To server: pG, [15:38:21]CommunicateWithHost lk.salyk.kg:30040 [15:38:21]ConnectInit lk.salyk.kg [15:38:21]written 0, free lines is 4095 [15:38:21]Connected sock=10 [15:38:21]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 27 01 00 00 CC F9 1F 01 F8 71 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 35 34 38 39 06 04 21 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 EC 34 5F 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 7C 87 00 00 35 04 06 00 C2 43 30 97 E0 FF 2B 88 CD BB D6 43 D3 B5 [15:38:22]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 4F 00 00 00 A6 06 47 00 56 45 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 7C 87 00 00 F4 03 04 00 2C DF 5E 66 B6 04 01 00 00 CB 83 49 B4 23 C6 F0 EF [15:38:22]CommunicateWithHost err = 0 [15:38:22]CheckOFDResponse [15:38:22]1017 (14) - 77093643461234 [15:38:22]1041 (16) - 0000000000874859 [15:38:22]1040 (4) - 34684 [15:38:22]1012 (4) - 04.06.2024 09:32 [15:38:22]1206 (1) - 0 [15:38:22]OFD Sender: Remove packet 34684 [15:38:22]ProducePacketName [15:38:22]name=ofd_packets/00034684 [15:38:22]NVStorageDeleteData [15:38:22]Write to MH i2c: 01 00 00 F2 00 F2 [15:38:22]Write i2c OK [15:38:22]MH_I2C_Read... [15:38:22]Read from MH i2c: 01 [15:38:22]MH_I2C_Read... [15:38:22]Read from MH i2c: 01 07 00 [15:38:22]MH_I2C_Read... [15:38:22]Read from MH i2c: 01 07 00 F2 00 00 00 00 00 00 17 0D 1D [15:38:22]RasterBufferAndPrint [15:38:22]line [15:38:22]line [15:38:22]line [15:38:22]line [15:38:22]line [15:38:22]written 0, free lines is 3357 [15:38:22]MH_Cut [15:38:22]Write to MH i2c: D1 01 00 F9 00 01 CB [15:38:22]Write i2c OK [15:38:22]MH_I2C_Read... [15:38:22]Read from MH i2c: D1 [15:38:22]MH_I2C_Read... [15:38:22]Read from MH i2c: D1 01 00 [15:38:22]MH_I2C_Read... [15:38:22]Read from MH i2c: D1 01 00 F9 00 00 CA [15:38:22]Write to MH i2c: 01 00 00 FA 00 FA [15:38:22]Write i2c OK [15:38:22]MH_I2C_Read... [15:38:22]OFD Sender: No OFD packet to send [15:38:22]*** Cut start [15:38:22]*** Partial cut [15:38:22]*** CUTSNS_PIN = 1 [15:38:22]*** CUTSNS_PIN = 0 [15:38:23]*** Brake cut motor [15:38:23]Read from MH i2c: 01 [15:38:23]MH_I2C_Read... [15:38:23]*** Stop cut motor [15:38:23]*** Cut end [15:38:23]Read from MH i2c: 01 07 00 [15:38:23]MH_I2C_Read... [15:38:23]Read from MH i2c: 01 07 00 FA 00 00 00 00 00 00 FF 0F 0F [15:38:23]process_action close_receipt done [15:38:23]requested_data is exist [15:38:23]produce_requested_data [15:38:23]requested_item fm.sn is exist - process it [15:38:23]wFMCommunicate request_size=4 [15:38:23]MH_SAM_APDU [15:38:23]CAPDU: 80 11 00 00 [15:38:23]Write to MH i2c: E2 08 00 FB 00 80 11 00 00 00 00 00 00 75 [15:38:23]Write i2c OK [15:38:23]MH_I2C_Read... [15:38:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:38:23]Read from MH i2c: E2 [15:38:23]MH_I2C_Read... [15:38:23]Read from MH i2c: E2 17 00 [15:38:23]MH_I2C_Read... [15:38:23]Read from MH i2c: E2 17 00 FB 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 D1 [15:38:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 [15:38:23]wFMCommunicate OK [15:38:23]requested_item fd.num is exist - process it [15:38:23]SAM_PROTO_GetFieldsCounters [15:38:23]wFMCommunicate request_size=4 [15:38:23]MH_SAM_APDU [15:38:23]CAPDU: 80 13 00 00 [15:38:23]Write to MH i2c: E2 08 00 FC 00 80 13 00 00 00 00 00 00 78 [15:38:23]Write i2c OK [15:38:23]MH_I2C_Read... [15:38:23]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:38:23]Read from MH i2c: E2 [15:38:23]MH_I2C_Read... [15:38:23]Read from MH i2c: E2 62 00 [15:38:23]MH_I2C_Read... [15:38:23]Read from MH i2c: E2 62 00 FC 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 10 04 04 00 7C 87 00 00 0E 04 04 00 70 01 00 00 12 04 04 00 1C 00 00 00 5E 04 04 00 1C 00 00 00 57 04 04 00 1D 00 00 00 19 04 04 00 00 00 00 00 90 00 73 [15:38:23]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 10 04 04 00 7C 87 00 00 0E 04 04 00 70 01 00 00 12 04 04 00 1C 00 00 00 5E 04 04 00 1C 00 00 00 57 04 04 00 1D 00 00 00 19 04 04 00 00 00 00 00 90 00 [15:38:23]wFMCommunicate OK [15:38:23]SAM_PROTO_GetFieldsCounters done [15:38:23]requested_item shift.num is exist - process it [15:38:23]requested_item shift.opened is exist - process it [15:38:23]req_shift_opened [15:38:23]FM_GetShiftState [15:38:23]SAM_PROTO_GetShiftState [15:38:23]wFMCommunicate request_size=4 [15:38:23]MH_SAM_APDU [15:38:23]CAPDU: 80 13 01 00 [15:38:23]Write to MH i2c: E2 08 00 FD 00 80 13 01 00 00 00 00 00 7A [15:38:23]Write i2c OK [15:38:23]MH_I2C_Read... [15:38:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:38:23]Read from MH i2c: E2 [15:38:23]MH_I2C_Read... [15:38:23]Read from MH i2c: E2 0E 00 [15:38:23]MH_I2C_Read... [15:38:23]Read from MH i2c: E2 0E 00 FD 00 00 09 00 01 35 5B 5E 66 00 00 00 00 90 00 DA [15:38:23]RAPDU: 09 00 01 35 5B 5E 66 00 00 00 00 90 00 [15:38:23]wFMCommunicate OK [15:38:23]SAM_PROTO_GetShiftState done [15:38:23]FM_GetShiftState done [15:38:23]req_shift_opened done [15:38:23]requested_item shift.open_date is exist - process it [15:38:23]req_shift_open_date [15:38:23]req_shift_open_date done [15:38:23]produce_requested_data done [15:38:23]produce_requested_data return {"fm.sn":"0000000000874859","fd.num":34684,"shift.num":368,"shift.opened":1,"shift.open_date":1717459765} [15:38:23]process_action_free close_receipt [15:38:23]json_value_free [15:38:23]json_value_free done [15:38:23]process_json_proto returns [15:38:23]Send response to host [15:38:23]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874859","fd.num":34684,"shift.num":368,"shift.opened":1,"shift.open_date":1717459765}}} [15:38:23]free response buf [15:38:23]execute_script done [15:38:23]execute_script returns [15:38:23]free content buf [15:38:23]Sock 7.Close socket [15:38:23]Sock 7.Thread stoped [15:38:27]OFD Sender: No OFD packet to send [15:38:32]OFD Sender: No OFD packet to send [15:38:37]OFD Sender: No OFD packet to send [15:38:42]OFD Sender: No OFD packet to send [15:38:47]OFD Sender: No OFD packet to send [15:38:52]OFD Sender: No OFD packet to send [15:38:56]accept exits with 9 [15:38:56]New connection [15:38:56]New thread 3066592612 created [15:38:56]Thread 3066735972 joined [15:38:56]Waiting for new connection... [15:38:56] Sock 9.Parse request [15:38:56]Sock 9.Check first char [15:38:56]Sock 9.First char is OK [15:38:56]request: POST /json_proto HTTP/1.0 [15:38:56]Method: POST [15:38:56]URL: /json_proto [15:38:56]Method is POST - this is cgi request [15:38:56]url: /json_proto [15:38:56]query_string will be loaded in cgi processing [15:38:56]execute_cgi json_proto POST (null) [15:38:56]execute_cgi path=json_proto method=POST [15:38:56]POST find Content-Length [15:38:56]Host: 172.17.36.131:8080 [15:38:56]Content-Length: 626 [15:38:56]Content-Type: application/json [15:38:56] [15:38:56]POST finish read [15:38:56]Found Content-Length = 626 [15:38:56]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100047", "tax_sys" : 0, "items" : [ { "code": "4640030092499", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE SENSE Himalaya", "price" : 138.00, "quantity" : 1.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 138.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:38:56]execute_script... [15:38:56]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100047", "tax_sys" : 0, "items" : [ { "code": "4640030092499", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE SENSE Himalaya", "price" : 138.00, "quantity" : 1.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 138.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:38:56]POST & json_proto [15:38:56]process_json_proto [15:38:56]json parsed OK: [15:38:56]protocol is kg_v1.0 [15:38:56]action value=close_receipt [15:38:56]process_action close_receipt [15:38:56]cmd_close_receipt [15:38:56]MH_GetDate [15:38:56]Write to MH i2c: F0 00 00 FE 00 ED [15:38:56]Write i2c OK [15:38:56]MH_I2C_Read... [15:38:56]Read from MH i2c: F0 [15:38:56]MH_I2C_Read... [15:38:56]Read from MH i2c: F0 09 00 [15:38:56]MH_I2C_Read... [15:38:56]Read from MH i2c: F0 09 00 FE 00 00 11 35 5F 66 A7 4C 98 65 F1 [15:38:56]GetLastDocTimeStamp 1717515500 [15:38:56]current date 1717515537 [15:38:56]FM_GetShiftState [15:38:56]SAM_PROTO_GetShiftState [15:38:56]wFMCommunicate request_size=4 [15:38:56]MH_SAM_APDU [15:38:56]CAPDU: 80 13 01 00 [15:38:56]Write to MH i2c: E2 08 00 FF 00 80 13 01 00 00 00 00 00 7C [15:38:56]Write i2c OK [15:38:56]MH_I2C_Read... [15:38:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:38:56]Read from MH i2c: E2 [15:38:56]MH_I2C_Read... [15:38:56]Read from MH i2c: E2 0E 00 [15:38:56]MH_I2C_Read... [15:38:56]Read from MH i2c: E2 0E 00 FF 00 00 09 00 01 35 5B 5E 66 00 00 00 00 90 00 DC [15:38:56]RAPDU: 09 00 01 35 5B 5E 66 00 00 00 00 90 00 [15:38:56]wFMCommunicate OK [15:38:56]SAM_PROTO_GetShiftState done [15:38:56]FM_GetShiftState done [15:38:56]opened in 1717459765 [15:38:56]opened+sec_in_day 1717546165 [15:38:56]quantity*price = 13800 [15:38:56]sum+1 = 13801 [15:38:56]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 138.00 НСП 1% : 1.22 НДС 12% : 14.65 Наличными: 138.00 Безнал.: 0.00 Место: АЗС № 62 "Партнер Нефть" Адрес: 720001, г. Балыкчы, ул. Абдрахманова 325 Б, 42.462761, 76.214931 СНО: Общий режим Чек 29 04.06.2024 15:38 Смена: 368 ФФД: 1.0 ЗНМ: 0300000080 РНМ: 0000000000096838 Версия ККМ: 001 ФМ: 0000000000874859 ФД: 34685 ФПД: 22209804614171 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T153857&type=1&operation_type=1&fn_number=0000000000874859&fd_number=34685&fm=22209804614171&tin=02508201610067®Number=0000000000096838&sum=13800 0 [15:38:57]StoreToDocumentArchive [15:38:57]shift 368 fd 34685 [15:38:57]save to /storage/0368/doc_00034685 [15:38:57]save last doc name /storage/0368/doc_00034685 to /storage/kkm_last_doc_name [15:38:57]save OK [15:38:57]Clear old archive folders... [15:38:57]ProcessDocumentItem done err = 0, tmpTLVsize=278 [15:38:57]tlvbuf is 00B0AD70 [15:38:57]SAM_PROTO_ClearQueue [15:38:57]wFMCommunicate request_size=4 [15:38:57]MH_SAM_APDU [15:38:57]CAPDU: 80 09 00 00 [15:38:57]Write to MH i2c: E2 08 00 0C 01 80 09 00 00 00 00 00 00 7F [15:38:57]Write i2c OK [15:38:57]MH_I2C_Read... [15:38:57]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:38:57]Read from MH i2c: E2 [15:38:57]MH_I2C_Read... [15:38:57]Read from MH i2c: E2 03 00 [15:38:57]MH_I2C_Read... [15:38:57]Read from MH i2c: E2 03 00 0C 01 00 90 00 81 [15:38:57]RAPDU: 90 00 [15:38:57]wFMCommunicate OK [15:38:57]SAM_PROTO_ClearQueue done [15:38:57]KKMCreateOFDPacket [15:38:57]OFDProtocolAddRootSTLVToBuf [15:38:57]FM_MakeSignedData [15:38:57]FM_MakeSignedData [15:38:57]SAM_PROTO_SignData [15:38:57]wFMCommunicate request_size=4 [15:38:57]MH_SAM_APDU [15:38:57]CAPDU: 80 0D 01 02 [15:38:57]Write to MH i2c: E2 08 00 0D 01 80 0D 01 02 00 00 00 00 87 [15:38:57]Write i2c OK [15:38:57]MH_I2C_Read... [15:38:57]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:38:57]Read from MH i2c: E2 [15:38:57]MH_I2C_Read... [15:38:57]Read from MH i2c: E2 03 00 [15:38:57]MH_I2C_Read... [15:38:57]Read from MH i2c: E2 03 00 0D 01 00 90 00 82 [15:38:57]RAPDU: 90 00 [15:38:57]wFMCommunicate OK [15:38:57]wFMCommunicate request_size=255 [15:38:57]MH_SAM_APDU [15:38:57]CAPDU: 80 0D 02 02 FA 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 32 34 39 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 53 45 4E 53 45 20 48 69 6D 61 6C 61 79 61 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 35 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 11 35 5F 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 30 30 [15:38:57]Write to MH i2c: E2 02 01 0E 01 80 0D 02 02 FA 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 32 34 39 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 53 45 4E 53 45 20 48 69 6D 61 6C 61 79 61 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 35 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 11 35 5F 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 30 30 00 00 EE [15:38:57]Write i2c OK [15:38:57]MH_I2C_Read... [15:38:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:38:58]Read from MH i2c: E2 [15:38:58]MH_I2C_Read... [15:38:58]Read from MH i2c: E2 03 00 [15:38:58]MH_I2C_Read... [15:38:58]Read from MH i2c: E2 03 00 0E 01 00 90 00 83 [15:38:58]RAPDU: 90 00 [15:38:58]wFMCommunicate OK [15:38:58]wFMCommunicate request_size=37 [15:38:58]MH_SAM_APDU [15:38:58]CAPDU: 80 0D 02 02 20 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 7D 87 00 00 35 04 06 00 14 33 1F 83 BA 1B [15:38:58]Write to MH i2c: E2 28 00 0F 01 80 0D 02 02 20 00 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 7D 87 00 00 35 04 06 00 14 33 1F 83 BA 1B 00 00 AC [15:38:58]Write i2c OK [15:38:58]MH_I2C_Read... [15:38:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:38:58]Read from MH i2c: E2 [15:38:58]MH_I2C_Read... [15:38:58]Read from MH i2c: E2 03 00 [15:38:58]MH_I2C_Read... [15:38:58]Read from MH i2c: E2 03 00 0F 01 00 90 00 84 [15:38:58]RAPDU: 90 00 [15:38:58]wFMCommunicate OK [15:38:58]wFMCommunicate request_size=4 [15:38:58]MH_SAM_APDU [15:38:58]CAPDU: 80 0D 03 02 [15:38:58]Write to MH i2c: E2 08 00 10 01 80 0D 03 02 00 00 00 00 8C [15:38:58]Write i2c OK [15:38:58]MH_I2C_Read... [15:38:58]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:38:58]Read from MH i2c: E2 [15:38:58]MH_I2C_Read... [15:38:58]Read from MH i2c: E2 0B 00 [15:38:58]MH_I2C_Read... [15:38:58]Read from MH i2c: E2 0B 00 10 01 00 ED 27 91 FB B1 A4 D3 B9 90 00 0E [15:38:58]RAPDU: ED 27 91 FB B1 A4 D3 B9 90 00 [15:38:58]wFMCommunicate OK [15:38:58]SAM_PROTO_SignData done [15:38:58]FM_MakeSignedData done [15:38:58]CreateOFDProtocolMessage [15:38:58]wFMCommunicate request_size=4 [15:38:58]MH_SAM_APDU [15:38:58]CAPDU: 80 11 00 00 [15:38:58]Write to MH i2c: E2 08 00 11 01 80 11 00 00 00 00 00 00 8C [15:38:58]Write i2c OK [15:38:58]MH_I2C_Read... [15:38:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:38:58]Read from MH i2c: E2 [15:38:58]MH_I2C_Read... [15:38:58]Read from MH i2c: E2 17 00 [15:38:58]MH_I2C_Read... [15:38:58]Read from MH i2c: E2 17 00 11 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 E8 [15:38:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 [15:38:58]wFMCommunicate OK [15:38:58]CreateOFDProtocolMessage done [15:38:58]OFDSenderStorePacket 34685 [15:38:58]StoreOFDPacket docnum=34685 [15:38:58]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 2A 01 00 00 ED F1 22 01 46 53 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 32 34 39 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 53 45 4E 53 45 20 48 69 6D 61 6C 61 79 61 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 35 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 11 35 5F 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 7D 87 00 00 35 04 06 00 14 33 1F 83 BA 1B ED 27 91 FB B1 A4 D3 B9 [15:38:58]CheckFolder [15:38:58]dirname=/storage/ofd_packets [15:38:58]CheckFolder done [15:38:58]ProducePacketName [15:38:58]name=ofd_packets/00034685 [15:38:58]NVStorageSaveData ofd_packets/00034685 [15:38:58]File name is /storage/ofd_packets/00034685 [15:38:58]Write 328 bytes [15:38:58]NVStorageSaveData done [15:38:58]OFDSenderStorePacket done [15:38:58]KKMCreateOFDPacket done [15:38:58]NVStorageSaveData kkm_last_timestamp [15:38:58]File name is /storage/kkm_last_timestamp [15:38:58]Write 4 bytes [15:38:58]NVStorageSaveData done [15:38:58]ExternCall_PrintAddStr [15:38:58]wPrintStart [15:38:58]Write to MH i2c: 01 00 00 12 01 13 [15:38:58]Write i2c OK [15:38:58]MH_I2C_Read... [15:38:58]Read from MH i2c: 01 [15:38:58]MH_I2C_Read... [15:38:58]Read from MH i2c: 01 07 00 [15:38:58]MH_I2C_Read... [15:38:58]Read from MH i2c: 01 07 00 12 01 00 00 00 00 00 FF 0F 28 [15:38:58]RasterBufferAndPrint [15:38:58]line Счет N : (3)100047 [15:38:58]line ИНН: 02508201610067 [15:38:58]line Контрольно-Кассовый Чек [15:38:58]line ПРОДАЖА [15:38:58]line Товар: 4640030092499 [15:38:58]line Сигареты ESSE SENSE Himalaya [15:38:58]line 1.000 * 138.00 [15:38:58]line = 138.00 [15:38:58]line НДС 12% НСП 1% [15:38:58]line > о реализуемом товаре [15:38:58]line ИТОГО: 138.00 [15:38:58]line НСП 1% : 1.22 [15:38:58]line НДС 12% : 14.65 [15:38:58]line Наличными: 138.00 [15:38:58]line Безнал.: 0.00 [15:38:58]line Место: АЗС № 62 "Партнер Нефть" [15:38:58]line Адрес: 720001, г. Балыкчы, ул. Абдрахманова 325 Б, 42.462761, 76.214931 [15:38:58]line СНО: Общий режим [15:38:58]line Чек 29 04.06.2024 15:38 [15:38:58]line Смена: 368 ФФД: 1.0 [15:38:58]line ЗНМ: 0300000080 [15:38:58]line РНМ: 0000000000096838 [15:38:58]line Версия ККМ: 001 [15:38:58]line ФМ: 0000000000874859 [15:38:58]line ФД: 34685 [15:38:58]line ФПД: 22209804614171 [15:38:58]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T153857&type=1&operation_type=1&fn_number=0000000000874859&fd_number=34685&fm=22209804614171&tin=02508201610067®Number=0000000000096838&sum=13800 [15:38:58]line 0 [15:38:58]OFD Sender: Processing packet 34685 [packets to send 17, broken 16] [15:38:58]ProducePacketName [15:38:58]name=ofd_packets/00034685 [15:38:58]OFD Sender: To server: pG, [15:38:58]CommunicateWithHost lk.salyk.kg:30040 [15:38:58]ConnectInit lk.salyk.kg [15:38:58]written 0, free lines is 4095 [15:38:58]Connected sock=10 [15:38:58]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 2A 01 00 00 ED F1 22 01 46 53 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 32 34 39 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 53 45 4E 53 45 20 48 69 6D 61 6C 61 79 61 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 35 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 11 35 5F 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 7D 87 00 00 35 04 06 00 14 33 1F 83 BA 1B ED 27 91 FB B1 A4 D3 B9 [15:38:59]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 4F 00 00 00 FE AE 47 00 F2 BE A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 7D 87 00 00 F4 03 04 00 51 DF 5E 66 B6 04 01 00 00 42 C6 DD AF 1F A2 59 7E [15:38:59]CommunicateWithHost err = 0 [15:38:59]CheckOFDResponse [15:38:59]1017 (14) - 77093643461234 [15:38:59]1041 (16) - 0000000000874859 [15:38:59]1040 (4) - 34685 [15:38:59]1012 (4) - 04.06.2024 09:33 [15:38:59]1206 (1) - 0 [15:38:59]OFD Sender: Remove packet 34685 [15:38:59]ProducePacketName [15:38:59]name=ofd_packets/00034685 [15:38:59]NVStorageDeleteData [15:38:59]Write to MH i2c: 01 00 00 3B 01 3C [15:38:59]Write i2c OK [15:38:59]MH_I2C_Read... [15:38:59]Read from MH i2c: 01 [15:38:59]MH_I2C_Read... [15:38:59]Read from MH i2c: 01 07 00 [15:38:59]MH_I2C_Read... [15:38:59]Read from MH i2c: 01 07 00 3B 01 00 00 00 00 00 FD 0C 4C [15:38:59]RasterBufferAndPrint [15:38:59]line [15:38:59]line [15:38:59]line [15:38:59]line [15:38:59]line [15:38:59]written 0, free lines is 3331 [15:38:59]MH_Cut [15:38:59]Write to MH i2c: D1 01 00 42 01 01 15 [15:38:59]Write i2c OK [15:38:59]MH_I2C_Read... [15:38:59]Read from MH i2c: D1 [15:38:59]MH_I2C_Read... [15:38:59]Read from MH i2c: D1 01 00 [15:38:59]MH_I2C_Read... [15:38:59]Read from MH i2c: D1 01 00 42 01 00 14 [15:38:59]Write to MH i2c: 01 00 00 43 01 44 [15:38:59]Write i2c OK [15:38:59]MH_I2C_Read... [15:38:59]OFD Sender: No OFD packet to send [15:38:59]*** Cut start [15:38:59]*** Partial cut [15:38:59]*** CUTSNS_PIN = 1 [15:38:59]*** CUTSNS_PIN = 0 [15:39:00]*** Brake cut motor [15:39:00]Read from MH i2c: 01 [15:39:00]MH_I2C_Read... [15:39:00]*** Stop cut motor [15:39:00]*** Cut end [15:39:00]Read from MH i2c: 01 07 00 [15:39:00]MH_I2C_Read... [15:39:00]Read from MH i2c: 01 07 00 43 01 00 00 00 00 00 FF 0F 59 [15:39:00]process_action close_receipt done [15:39:00]requested_data is exist [15:39:00]produce_requested_data [15:39:00]requested_item fm.sn is exist - process it [15:39:00]wFMCommunicate request_size=4 [15:39:00]MH_SAM_APDU [15:39:00]CAPDU: 80 11 00 00 [15:39:00]Write to MH i2c: E2 08 00 44 01 80 11 00 00 00 00 00 00 BF [15:39:00]Write i2c OK [15:39:00]MH_I2C_Read... [15:39:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:39:00]Read from MH i2c: E2 [15:39:00]MH_I2C_Read... [15:39:00]Read from MH i2c: E2 17 00 [15:39:00]MH_I2C_Read... [15:39:00]Read from MH i2c: E2 17 00 44 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 1B [15:39:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 [15:39:00]wFMCommunicate OK [15:39:00]requested_item fd.num is exist - process it [15:39:00]SAM_PROTO_GetFieldsCounters [15:39:00]wFMCommunicate request_size=4 [15:39:00]MH_SAM_APDU [15:39:00]CAPDU: 80 13 00 00 [15:39:00]Write to MH i2c: E2 08 00 45 01 80 13 00 00 00 00 00 00 C2 [15:39:00]Write i2c OK [15:39:00]MH_I2C_Read... [15:39:00]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:39:00]Read from MH i2c: E2 [15:39:00]MH_I2C_Read... [15:39:00]Read from MH i2c: E2 62 00 [15:39:00]MH_I2C_Read... [15:39:00]Read from MH i2c: E2 62 00 45 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 10 04 04 00 7D 87 00 00 0E 04 04 00 70 01 00 00 12 04 04 00 1D 00 00 00 5E 04 04 00 1D 00 00 00 57 04 04 00 1E 00 00 00 19 04 04 00 00 00 00 00 90 00 C1 [15:39:00]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 10 04 04 00 7D 87 00 00 0E 04 04 00 70 01 00 00 12 04 04 00 1D 00 00 00 5E 04 04 00 1D 00 00 00 57 04 04 00 1E 00 00 00 19 04 04 00 00 00 00 00 90 00 [15:39:00]wFMCommunicate OK [15:39:00]SAM_PROTO_GetFieldsCounters done [15:39:00]requested_item shift.num is exist - process it [15:39:00]requested_item shift.opened is exist - process it [15:39:00]req_shift_opened [15:39:00]FM_GetShiftState [15:39:00]SAM_PROTO_GetShiftState [15:39:00]wFMCommunicate request_size=4 [15:39:00]MH_SAM_APDU [15:39:00]CAPDU: 80 13 01 00 [15:39:00]Write to MH i2c: E2 08 00 46 01 80 13 01 00 00 00 00 00 C4 [15:39:00]Write i2c OK [15:39:00]MH_I2C_Read... [15:39:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:39:00]Read from MH i2c: E2 [15:39:00]MH_I2C_Read... [15:39:00]Read from MH i2c: E2 0E 00 [15:39:00]MH_I2C_Read... [15:39:00]Read from MH i2c: E2 0E 00 46 01 00 09 00 01 35 5B 5E 66 00 00 00 00 90 00 24 [15:39:00]RAPDU: 09 00 01 35 5B 5E 66 00 00 00 00 90 00 [15:39:00]wFMCommunicate OK [15:39:00]SAM_PROTO_GetShiftState done [15:39:00]FM_GetShiftState done [15:39:00]req_shift_opened done [15:39:00]requested_item shift.open_date is exist - process it [15:39:00]req_shift_open_date [15:39:00]req_shift_open_date done [15:39:00]produce_requested_data done [15:39:00]produce_requested_data return {"fm.sn":"0000000000874859","fd.num":34685,"shift.num":368,"shift.opened":1,"shift.open_date":1717459765} [15:39:00]process_action_free close_receipt [15:39:00]json_value_free [15:39:00]json_value_free done [15:39:00]process_json_proto returns [15:39:00]Send response to host [15:39:00]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874859","fd.num":34685,"shift.num":368,"shift.opened":1,"shift.open_date":1717459765}}} [15:39:00]free response buf [15:39:00]execute_script done [15:39:00]execute_script returns [15:39:00]free content buf [15:39:00]Sock 9.Close socket [15:39:00]Sock 9.Thread stoped [15:39:04]OFD Sender: No OFD packet to send [15:39:09]OFD Sender: No OFD packet to send [15:39:14]OFD Sender: No OFD packet to send [15:39:19]OFD Sender: No OFD packet to send [15:39:24]OFD Sender: No OFD packet to send [15:39:29]OFD Sender: No OFD packet to send [15:39:34]OFD Sender: No OFD packet to send [15:39:39]OFD Sender: No OFD packet to send [15:39:44]OFD Sender: No OFD packet to send [15:39:49]OFD Sender: No OFD packet to send [15:39:54]OFD Sender: No OFD packet to send [15:39:59]OFD Sender: No OFD packet to send [15:40:04]OFD Sender: No OFD packet to send [15:40:09]OFD Sender: No OFD packet to send [15:40:14]OFD Sender: No OFD packet to send [15:40:19]OFD Sender: No OFD packet to send [15:40:24]OFD Sender: No OFD packet to send [15:40:29]OFD Sender: No OFD packet to send [15:40:34]OFD Sender: No OFD packet to send [15:40:39]OFD Sender: No OFD packet to send [15:40:44]OFD Sender: No OFD packet to send [15:40:49]OFD Sender: No OFD packet to send [15:40:54]OFD Sender: No OFD packet to send [15:40:59]OFD Sender: No OFD packet to send [15:41:04]OFD Sender: No OFD packet to send [15:41:09]OFD Sender: No OFD packet to send [15:41:14]OFD Sender: No OFD packet to send [15:41:19]OFD Sender: No OFD packet to send [15:41:24]OFD Sender: No OFD packet to send [15:41:29]OFD Sender: No OFD packet to send [15:41:34]OFD Sender: No OFD packet to send [15:41:39]OFD Sender: No OFD packet to send [15:41:44]OFD Sender: No OFD packet to send [15:41:49]OFD Sender: No OFD packet to send [15:41:54]OFD Sender: No OFD packet to send [15:41:59]OFD Sender: No OFD packet to send [15:42:04]OFD Sender: No OFD packet to send [15:42:09]OFD Sender: No OFD packet to send [15:42:14]OFD Sender: No OFD packet to send [15:42:19]OFD Sender: No OFD packet to send [15:42:24]OFD Sender: No OFD packet to send [15:42:29]OFD Sender: No OFD packet to send [15:42:34]OFD Sender: No OFD packet to send [15:42:39]OFD Sender: No OFD packet to send [15:42:44]OFD Sender: No OFD packet to send [15:42:49]OFD Sender: No OFD packet to send [15:42:54]OFD Sender: No OFD packet to send [15:42:59]OFD Sender: No OFD packet to send [15:43:04]OFD Sender: No OFD packet to send [15:43:09]OFD Sender: No OFD packet to send [15:43:14]OFD Sender: No OFD packet to send [15:43:19]OFD Sender: No OFD packet to send [15:43:24]OFD Sender: No OFD packet to send [15:43:29]OFD Sender: No OFD packet to send [15:43:34]OFD Sender: No OFD packet to send [15:43:39]OFD Sender: No OFD packet to send [15:43:44]OFD Sender: No OFD packet to send [15:43:49]OFD Sender: No OFD packet to send [15:43:54]OFD Sender: No OFD packet to send [15:43:59]OFD Sender: No OFD packet to send [15:44:04]OFD Sender: No OFD packet to send [15:44:09]OFD Sender: No OFD packet to send [15:44:14]OFD Sender: No OFD packet to send [15:44:19]OFD Sender: No OFD packet to send [15:44:24]OFD Sender: No OFD packet to send [15:44:29]OFD Sender: No OFD packet to send [15:44:34]OFD Sender: No OFD packet to send [15:44:39]OFD Sender: No OFD packet to send [15:44:44]OFD Sender: No OFD packet to send [15:44:49]OFD Sender: No OFD packet to send [15:44:54]OFD Sender: No OFD packet to send [15:44:59]OFD Sender: No OFD packet to send [15:45:04]OFD Sender: No OFD packet to send [15:45:09]OFD Sender: No OFD packet to send [15:45:14]OFD Sender: No OFD packet to send [15:45:19]OFD Sender: No OFD packet to send [15:45:24]OFD Sender: No OFD packet to send [15:45:29]OFD Sender: No OFD packet to send [15:45:34]OFD Sender: No OFD packet to send [15:45:39]OFD Sender: No OFD packet to send [15:45:44]OFD Sender: No OFD packet to send [15:45:49]OFD Sender: No OFD packet to send [15:45:54]OFD Sender: No OFD packet to send [15:45:59]OFD Sender: No OFD packet to send [15:46:04]OFD Sender: No OFD packet to send [15:46:09]OFD Sender: No OFD packet to send [15:46:14]OFD Sender: No OFD packet to send [15:46:19]OFD Sender: No OFD packet to send [15:46:24]OFD Sender: No OFD packet to send [15:46:29]OFD Sender: No OFD packet to send [15:46:34]OFD Sender: No OFD packet to send [15:46:39]OFD Sender: No OFD packet to send [15:46:44]OFD Sender: No OFD packet to send [15:46:49]OFD Sender: No OFD packet to send [15:46:54]OFD Sender: No OFD packet to send [15:46:59]OFD Sender: No OFD packet to send [15:47:04]OFD Sender: No OFD packet to send [15:47:09]OFD Sender: No OFD packet to send [15:47:14]OFD Sender: No OFD packet to send [15:47:19]OFD Sender: No OFD packet to send [15:47:24]OFD Sender: No OFD packet to send [15:47:29]OFD Sender: No OFD packet to send [15:47:34]OFD Sender: No OFD packet to send [15:47:39]OFD Sender: No OFD packet to send [15:47:44]OFD Sender: No OFD packet to send [15:47:49]OFD Sender: No OFD packet to send [15:47:54]OFD Sender: No OFD packet to send [15:47:59]OFD Sender: No OFD packet to send [15:48:04]OFD Sender: No OFD packet to send [15:48:09]OFD Sender: No OFD packet to send [15:48:14]OFD Sender: No OFD packet to send [15:48:19]OFD Sender: No OFD packet to send [15:48:24]OFD Sender: No OFD packet to send [15:48:29]OFD Sender: No OFD packet to send [15:48:34]OFD Sender: No OFD packet to send [15:48:40]OFD Sender: No OFD packet to send [15:48:45]OFD Sender: No OFD packet to send [15:48:50]OFD Sender: No OFD packet to send [15:48:55]OFD Sender: No OFD packet to send [15:49:00]OFD Sender: No OFD packet to send [15:49:05]OFD Sender: No OFD packet to send [15:49:10]OFD Sender: No OFD packet to send [15:49:15]OFD Sender: No OFD packet to send [15:49:20]OFD Sender: No OFD packet to send [15:49:25]OFD Sender: No OFD packet to send [15:49:30]OFD Sender: No OFD packet to send [15:49:35]OFD Sender: No OFD packet to send [15:49:40]OFD Sender: No OFD packet to send [15:49:45]OFD Sender: No OFD packet to send [15:49:50]OFD Sender: No OFD packet to send [15:49:55]OFD Sender: No OFD packet to send [15:50:00]OFD Sender: No OFD packet to send [15:50:05]OFD Sender: No OFD packet to send [15:50:10]OFD Sender: No OFD packet to send [15:50:15]OFD Sender: No OFD packet to send [15:50:20]OFD Sender: No OFD packet to send [15:50:25]OFD Sender: No OFD packet to send [15:50:30]OFD Sender: No OFD packet to send [15:50:35]OFD Sender: No OFD packet to send [15:50:40]OFD Sender: No OFD packet to send [15:50:45]OFD Sender: No OFD packet to send [15:50:50]OFD Sender: No OFD packet to send [15:50:55]OFD Sender: No OFD packet to send [15:51:00]OFD Sender: No OFD packet to send [15:51:05]OFD Sender: No OFD packet to send [15:51:10]OFD Sender: No OFD packet to send [15:51:15]OFD Sender: No OFD packet to send [15:51:20]OFD Sender: No OFD packet to send [15:51:25]OFD Sender: No OFD packet to send [15:51:30]OFD Sender: No OFD packet to send [15:51:35]OFD Sender: No OFD packet to send [15:51:40]OFD Sender: No OFD packet to send [15:51:45]OFD Sender: No OFD packet to send [15:51:50]OFD Sender: No OFD packet to send [15:51:55]OFD Sender: No OFD packet to send [15:52:00]OFD Sender: No OFD packet to send [15:52:05]OFD Sender: No OFD packet to send [15:52:10]OFD Sender: No OFD packet to send [15:52:15]OFD Sender: No OFD packet to send [15:52:20]OFD Sender: No OFD packet to send [15:52:25]OFD Sender: No OFD packet to send [15:52:30]OFD Sender: No OFD packet to send [15:52:35]OFD Sender: No OFD packet to send [15:52:40]OFD Sender: No OFD packet to send [15:52:45]OFD Sender: No OFD packet to send [15:52:50]OFD Sender: No OFD packet to send [15:52:55]OFD Sender: No OFD packet to send [15:53:00]OFD Sender: No OFD packet to send [15:53:05]OFD Sender: No OFD packet to send [15:53:10]OFD Sender: No OFD packet to send [15:53:15]OFD Sender: No OFD packet to send [15:53:20]OFD Sender: No OFD packet to send [15:53:25]OFD Sender: No OFD packet to send [15:53:30]OFD Sender: No OFD packet to send [15:53:35]OFD Sender: No OFD packet to send [15:53:40]OFD Sender: No OFD packet to send [15:53:45]OFD Sender: No OFD packet to send [15:53:50]OFD Sender: No OFD packet to send [15:53:55]OFD Sender: No OFD packet to send [15:54:00]OFD Sender: No OFD packet to send [15:54:05]OFD Sender: No OFD packet to send [15:54:10]OFD Sender: No OFD packet to send [15:54:15]OFD Sender: No OFD packet to send [15:54:20]OFD Sender: No OFD packet to send [15:54:25]OFD Sender: No OFD packet to send [15:54:30]OFD Sender: No OFD packet to send [15:54:35]OFD Sender: No OFD packet to send [15:54:40]OFD Sender: No OFD packet to send [15:54:45]OFD Sender: No OFD packet to send [15:54:50]OFD Sender: No OFD packet to send [15:54:55]OFD Sender: No OFD packet to send [15:55:00]OFD Sender: No OFD packet to send [15:55:05]OFD Sender: No OFD packet to send [15:55:10]OFD Sender: No OFD packet to send [15:55:15]OFD Sender: No OFD packet to send [15:55:20]OFD Sender: No OFD packet to send [15:55:25]OFD Sender: No OFD packet to send [15:55:30]OFD Sender: No OFD packet to send [15:55:35]OFD Sender: No OFD packet to send [15:55:40]OFD Sender: No OFD packet to send [15:55:45]OFD Sender: No OFD packet to send [15:55:50]OFD Sender: No OFD packet to send [15:55:55]OFD Sender: No OFD packet to send [15:56:00]OFD Sender: No OFD packet to send [15:56:05]OFD Sender: No OFD packet to send [15:56:10]OFD Sender: No OFD packet to send [15:56:15]OFD Sender: No OFD packet to send [15:56:20]OFD Sender: No OFD packet to send [15:56:25]OFD Sender: No OFD packet to send [15:56:30]OFD Sender: No OFD packet to send [15:56:35]OFD Sender: No OFD packet to send [15:56:40]OFD Sender: No OFD packet to send [15:56:45]OFD Sender: No OFD packet to send [15:56:50]OFD Sender: No OFD packet to send [15:56:55]OFD Sender: No OFD packet to send [15:57:00]OFD Sender: No OFD packet to send [15:57:05]OFD Sender: No OFD packet to send [15:57:10]OFD Sender: No OFD packet to send [15:57:15]OFD Sender: No OFD packet to send [15:57:20]OFD Sender: No OFD packet to send [15:57:25]OFD Sender: No OFD packet to send [15:57:30]OFD Sender: No OFD packet to send [15:57:35]OFD Sender: No OFD packet to send [15:57:40]OFD Sender: No OFD packet to send [15:57:45]OFD Sender: No OFD packet to send [15:57:50]OFD Sender: No OFD packet to send [15:57:55]OFD Sender: No OFD packet to send [15:58:00]OFD Sender: No OFD packet to send [15:58:05]OFD Sender: No OFD packet to send [15:58:10]OFD Sender: No OFD packet to send [15:58:15]OFD Sender: No OFD packet to send [15:58:20]OFD Sender: No OFD packet to send [15:58:25]OFD Sender: No OFD packet to send [15:58:30]OFD Sender: No OFD packet to send [15:58:35]OFD Sender: No OFD packet to send [15:58:40]OFD Sender: No OFD packet to send [15:58:45]OFD Sender: No OFD packet to send [15:58:50]OFD Sender: No OFD packet to send [15:58:55]OFD Sender: No OFD packet to send [15:59:00]OFD Sender: No OFD packet to send [15:59:05]OFD Sender: No OFD packet to send [15:59:10]OFD Sender: No OFD packet to send [15:59:15]OFD Sender: No OFD packet to send [15:59:20]OFD Sender: No OFD packet to send [15:59:25]OFD Sender: No OFD packet to send [15:59:30]OFD Sender: No OFD packet to send [15:59:35]OFD Sender: No OFD packet to send [15:59:40]OFD Sender: No OFD packet to send [15:59:45]OFD Sender: No OFD packet to send [15:59:50]OFD Sender: No OFD packet to send [15:59:55]OFD Sender: No OFD packet to send [16:00:00]OFD Sender: No OFD packet to send [16:00:05]OFD Sender: No OFD packet to send [16:00:10]OFD Sender: No OFD packet to send [16:00:15]OFD Sender: No OFD packet to send [16:00:20]OFD Sender: No OFD packet to send [16:00:25]OFD Sender: No OFD packet to send [16:00:30]OFD Sender: No OFD packet to send [16:00:35]OFD Sender: No OFD packet to send [16:00:40]OFD Sender: No OFD packet to send [16:00:45]OFD Sender: No OFD packet to send [16:00:50]OFD Sender: No OFD packet to send [16:00:55]OFD Sender: No OFD packet to send [16:01:00]OFD Sender: No OFD packet to send [16:01:05]OFD Sender: No OFD packet to send [16:01:10]OFD Sender: No OFD packet to send [16:01:15]OFD Sender: No OFD packet to send [16:01:20]OFD Sender: No OFD packet to send [16:01:25]OFD Sender: No OFD packet to send [16:01:30]OFD Sender: No OFD packet to send [16:01:35]OFD Sender: No OFD packet to send [16:01:40]OFD Sender: No OFD packet to send [16:01:45]OFD Sender: No OFD packet to send [16:01:50]OFD Sender: No OFD packet to send [16:01:55]OFD Sender: No OFD packet to send [16:02:00]OFD Sender: No OFD packet to send [16:02:05]OFD Sender: No OFD packet to send [16:02:10]OFD Sender: No OFD packet to send [16:02:15]OFD Sender: No OFD packet to send [16:02:20]OFD Sender: No OFD packet to send [16:02:25]OFD Sender: No OFD packet to send [16:02:30]OFD Sender: No OFD packet to send [16:02:35]OFD Sender: No OFD packet to send [16:02:40]OFD Sender: No OFD packet to send [16:02:45]OFD Sender: No OFD packet to send [16:02:50]OFD Sender: No OFD packet to send [16:02:55]OFD Sender: No OFD packet to send [16:03:00]OFD Sender: No OFD packet to send [16:03:05]OFD Sender: No OFD packet to send [16:03:10]OFD Sender: No OFD packet to send [16:03:15]OFD Sender: No OFD packet to send [16:03:20]OFD Sender: No OFD packet to send [16:03:25]OFD Sender: No OFD packet to send [16:03:30]OFD Sender: No OFD packet to send [16:03:35]OFD Sender: No OFD packet to send [16:03:40]OFD Sender: No OFD packet to send [16:03:45]OFD Sender: No OFD packet to send [16:03:50]OFD Sender: No OFD packet to send [16:03:55]OFD Sender: No OFD packet to send [16:04:00]OFD Sender: No OFD packet to send [16:04:05]OFD Sender: No OFD packet to send [16:04:10]OFD Sender: No OFD packet to send [16:04:15]OFD Sender: No OFD packet to send [16:04:20]OFD Sender: No OFD packet to send [16:04:25]OFD Sender: No OFD packet to send [16:04:30]OFD Sender: No OFD packet to send [16:04:35]OFD Sender: No OFD packet to send [16:04:40]OFD Sender: No OFD packet to send [16:04:45]OFD Sender: No OFD packet to send [16:04:50]OFD Sender: No OFD packet to send [16:04:55]OFD Sender: No OFD packet to send [16:05:00]OFD Sender: No OFD packet to send [16:05:05]OFD Sender: No OFD packet to send [16:05:10]OFD Sender: No OFD packet to send [16:05:15]OFD Sender: No OFD packet to send [16:05:20]OFD Sender: No OFD packet to send [16:05:25]OFD Sender: No OFD packet to send [16:05:30]OFD Sender: No OFD packet to send [16:05:35]OFD Sender: No OFD packet to send [16:05:40]OFD Sender: No OFD packet to send [16:05:45]OFD Sender: No OFD packet to send [16:05:50]OFD Sender: No OFD packet to send [16:05:55]OFD Sender: No OFD packet to send [16:06:00]OFD Sender: No OFD packet to send [16:06:05]OFD Sender: No OFD packet to send [16:06:10]OFD Sender: No OFD packet to send [16:06:15]OFD Sender: No OFD packet to send [16:06:20]OFD Sender: No OFD packet to send [16:06:25]OFD Sender: No OFD packet to send [16:06:30]OFD Sender: No OFD packet to send [16:06:35]OFD Sender: No OFD packet to send [16:06:40]OFD Sender: No OFD packet to send [16:06:45]OFD Sender: No OFD packet to send [16:06:50]OFD Sender: No OFD packet to send [16:06:55]OFD Sender: No OFD packet to send [16:07:00]OFD Sender: No OFD packet to send [16:07:05]OFD Sender: No OFD packet to send [16:07:10]OFD Sender: No OFD packet to send [16:07:15]OFD Sender: No OFD packet to send [16:07:20]OFD Sender: No OFD packet to send [16:07:25]OFD Sender: No OFD packet to send [16:07:30]OFD Sender: No OFD packet to send [16:07:35]OFD Sender: No OFD packet to send [16:07:40]OFD Sender: No OFD packet to send [16:07:45]OFD Sender: No OFD packet to send [16:07:50]OFD Sender: No OFD packet to send [16:07:55]OFD Sender: No OFD packet to send [16:08:00]OFD Sender: No OFD packet to send [16:08:05]OFD Sender: No OFD packet to send [16:08:10]OFD Sender: No OFD packet to send [16:08:15]OFD Sender: No OFD packet to send [16:08:20]OFD Sender: No OFD packet to send [16:08:25]OFD Sender: No OFD packet to send [16:08:30]OFD Sender: No OFD packet to send [16:08:35]OFD Sender: No OFD packet to send [16:08:40]OFD Sender: No OFD packet to send [16:08:45]OFD Sender: No OFD packet to send [16:08:50]OFD Sender: No OFD packet to send [16:08:55]OFD Sender: No OFD packet to send [16:09:00]OFD Sender: No OFD packet to send [16:09:05]OFD Sender: No OFD packet to send [16:09:10]OFD Sender: No OFD packet to send [16:09:16]OFD Sender: No OFD packet to send [16:09:21]OFD Sender: No OFD packet to send [16:09:26]OFD Sender: No OFD packet to send [16:09:31]OFD Sender: No OFD packet to send [16:09:36]OFD Sender: No OFD packet to send [16:09:41]OFD Sender: No OFD packet to send [16:09:46]OFD Sender: No OFD packet to send [16:09:51]OFD Sender: No OFD packet to send [16:09:56]OFD Sender: No OFD packet to send [16:10:01]OFD Sender: No OFD packet to send [16:10:06]OFD Sender: No OFD packet to send [16:10:11]OFD Sender: No OFD packet to send [16:10:16]OFD Sender: No OFD packet to send [16:10:21]OFD Sender: No OFD packet to send [16:10:26]OFD Sender: No OFD packet to send [16:10:31]OFD Sender: No OFD packet to send [16:10:36]OFD Sender: No OFD packet to send [16:10:41]OFD Sender: No OFD packet to send [16:10:46]OFD Sender: No OFD packet to send [16:10:51]OFD Sender: No OFD packet to send [16:10:56]OFD Sender: No OFD packet to send [16:11:01]OFD Sender: No OFD packet to send [16:11:06]OFD Sender: No OFD packet to send [16:11:11]OFD Sender: No OFD packet to send [16:11:16]OFD Sender: No OFD packet to send [16:11:21]OFD Sender: No OFD packet to send [16:11:26]OFD Sender: No OFD packet to send [16:11:31]OFD Sender: No OFD packet to send [16:11:36]OFD Sender: No OFD packet to send [16:11:41]OFD Sender: No OFD packet to send [16:11:46]OFD Sender: No OFD packet to send [16:11:51]OFD Sender: No OFD packet to send [16:11:56]OFD Sender: No OFD packet to send [16:12:01]OFD Sender: No OFD packet to send [16:12:06]OFD Sender: No OFD packet to send [16:12:11]OFD Sender: No OFD packet to send [16:12:16]OFD Sender: No OFD packet to send [16:12:21]OFD Sender: No OFD packet to send [16:12:26]OFD Sender: No OFD packet to send [16:12:31]OFD Sender: No OFD packet to send [16:12:36]OFD Sender: No OFD packet to send [16:12:41]OFD Sender: No OFD packet to send [16:12:46]OFD Sender: No OFD packet to send [16:12:51]OFD Sender: No OFD packet to send [16:12:56]OFD Sender: No OFD packet to send [16:13:01]OFD Sender: No OFD packet to send [16:13:06]OFD Sender: No OFD packet to send [16:13:11]OFD Sender: No OFD packet to send [16:13:16]OFD Sender: No OFD packet to send [16:13:21]OFD Sender: No OFD packet to send [16:13:26]OFD Sender: No OFD packet to send [16:13:31]OFD Sender: No OFD packet to send [16:13:36]OFD Sender: No OFD packet to send [16:13:41]OFD Sender: No OFD packet to send [16:13:46]OFD Sender: No OFD packet to send [16:13:51]OFD Sender: No OFD packet to send [16:13:56]OFD Sender: No OFD packet to send [16:14:01]OFD Sender: No OFD packet to send [16:14:06]OFD Sender: No OFD packet to send [16:14:11]OFD Sender: No OFD packet to send [16:14:16]OFD Sender: No OFD packet to send [16:14:17]accept exits with 7 [16:14:17]New connection [16:14:17]New thread 3066735972 created [16:14:17]Thread 3066592612 joined [16:14:17]Waiting for new connection... [16:14:17] Sock 7.Parse request [16:14:17]Sock 7.Check first char [16:14:17]Sock 7.First char is OK [16:14:17]request: POST /json_proto HTTP/1.0 [16:14:17]Method: POST [16:14:17]URL: /json_proto [16:14:17]Method is POST - this is cgi request [16:14:17]url: /json_proto [16:14:17]query_string will be loaded in cgi processing [16:14:17]execute_cgi json_proto POST (null) [16:14:17]execute_cgi path=json_proto method=POST [16:14:17]POST find Content-Length [16:14:17]Host: 172.17.36.131:8080 [16:14:17]Content-Length: 821 [16:14:17]Content-Type: application/json [16:14:17] [16:14:17]POST finish read [16:14:17]Found Content-Length = 821 [16:14:17]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100048", "tax_sys" : 0, "items" : [ { "code": "48745000", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Purple Mix", "price" : 135.00, "quantity" : 1.000, "sum" : 135.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:14:17]execute_script... [16:14: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)100048", "tax_sys" : 0, "items" : [ { "code": "48745000", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Purple Mix", "price" : 135.00, "quantity" : 1.000, "sum" : 135.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:14:17]POST & json_proto [16:14:17]process_json_proto [16:14:17]json parsed OK: [16:14:17]protocol is kg_v1.0 [16:14:17]action value=close_receipt [16:14:17]process_action close_receipt [16:14:17]cmd_close_receipt [16:14:17]MH_GetDate [16:14:17]Write to MH i2c: F0 00 00 47 01 37 [16:14:17]Write i2c OK [16:14:17]MH_I2C_Read... [16:14:17]Read from MH i2c: F0 [16:14:17]MH_I2C_Read... [16:14:17]Read from MH i2c: F0 09 00 [16:14:17]MH_I2C_Read... [16:14:17]Read from MH i2c: F0 09 00 47 01 00 5A 3D 5F 66 A7 4C 98 65 8C [16:14:17]GetLastDocTimeStamp 1717515537 [16:14:17]current date 1717517658 [16:14:17]FM_GetShiftState [16:14:17]SAM_PROTO_GetShiftState [16:14:17]wFMCommunicate request_size=4 [16:14:17]MH_SAM_APDU [16:14:17]CAPDU: 80 13 01 00 [16:14:17]Write to MH i2c: E2 08 00 48 01 80 13 01 00 00 00 00 00 C6 [16:14:17]Write i2c OK [16:14:17]MH_I2C_Read... [16:14:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:14:17]Read from MH i2c: E2 [16:14:17]MH_I2C_Read... [16:14:17]Read from MH i2c: E2 0E 00 [16:14:17]MH_I2C_Read... [16:14:17]Read from MH i2c: E2 0E 00 48 01 00 09 00 01 35 5B 5E 66 00 00 00 00 90 00 26 [16:14:17]RAPDU: 09 00 01 35 5B 5E 66 00 00 00 00 90 00 [16:14:17]wFMCommunicate OK [16:14:17]SAM_PROTO_GetShiftState done [16:14:17]FM_GetShiftState done [16:14:17]opened in 1717459765 [16:14:17]opened+sec_in_day 1717546165 [16:14:17]quantity*price = 13500 [16:14:17]sum+1 = 13501 [16:14:17]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 135.00 НСП 1% : 1.19 НДС 12% : 14.34 Наличными: 0.00 Безнал.: 135.00 Место: АЗС № 62 "Партнер Нефть" Адрес: 720001, г. Балыкчы, ул. Абдрахманова 325 Б, 42.462761, 76.214931 СНО: Общий режим Чек 30 04.06.2024 16:14 Смена: 368 ФФД: 1.0 ЗНМ: 0300000080 РНМ: 0000000000096838 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000874859 ФД: 34686 ФПД: 192282572280426 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T161418&type=1&operation_type=1&fn_number=0000000000874859&fd_number=34686&fm=192282572280426&tin=02508201610067®Number=0000000000096838&sum=13500 0 [16:14:18]StoreToDocumentArchive [16:14:18]shift 368 fd 34686 [16:14:18]save to /storage/0368/doc_00034686 [16:14:18]save last doc name /storage/0368/doc_00034686 to /storage/kkm_last_doc_name [16:14:18]save OK [16:14:18]Clear old archive folders... [16:14:18]ProcessDocumentItem done err = 0, tmpTLVsize=272 [16:14:18]tlvbuf is 00AF7E40 [16:14:18]SAM_PROTO_ClearQueue [16:14:18]wFMCommunicate request_size=4 [16:14:18]MH_SAM_APDU [16:14:18]CAPDU: 80 09 00 00 [16:14:18]Write to MH i2c: E2 08 00 55 01 80 09 00 00 00 00 00 00 C8 [16:14:18]Write i2c OK [16:14:18]MH_I2C_Read... [16:14:18]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:14:18]Read from MH i2c: E2 [16:14:18]MH_I2C_Read... [16:14:18]Read from MH i2c: E2 03 00 [16:14:18]MH_I2C_Read... [16:14:18]Read from MH i2c: E2 03 00 55 01 00 90 00 CA [16:14:18]RAPDU: 90 00 [16:14:18]wFMCommunicate OK [16:14:18]SAM_PROTO_ClearQueue done [16:14:18]KKMCreateOFDPacket [16:14:18]OFDProtocolAddRootSTLVToBuf [16:14:18]FM_MakeSignedData [16:14:18]FM_MakeSignedData [16:14:18]SAM_PROTO_SignData [16:14:18]wFMCommunicate request_size=4 [16:14:18]MH_SAM_APDU [16:14:18]CAPDU: 80 0D 01 02 [16:14:18]Write to MH i2c: E2 08 00 56 01 80 0D 01 02 00 00 00 00 D0 [16:14:18]Write i2c OK [16:14:18]MH_I2C_Read... [16:14:18]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:14:18]Read from MH i2c: E2 [16:14:18]MH_I2C_Read... [16:14:18]Read from MH i2c: E2 03 00 [16:14:18]MH_I2C_Read... [16:14:18]Read from MH i2c: E2 03 00 56 01 00 90 00 CB [16:14:18]RAPDU: 90 00 [16:14:18]wFMCommunicate OK [16:14:18]wFMCommunicate request_size=255 [16:14:18]MH_SAM_APDU [16:14: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 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 BC 34 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 5A 3D 5F 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 30 30 30 30 30 30 30 30 [16:14:19]Write to MH i2c: E2 02 01 57 01 80 0D 02 02 FA 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 BC 34 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 5A 3D 5F 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 30 30 30 30 30 30 30 30 00 00 7F [16:14:19]Write i2c OK [16:14:19]MH_I2C_Read... [16:14:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:14:19]Read from MH i2c: E2 [16:14:19]MH_I2C_Read... [16:14:19]Read from MH i2c: E2 03 00 [16:14:19]MH_I2C_Read... [16:14:19]Read from MH i2c: E2 03 00 57 01 00 90 00 CC [16:14:19]RAPDU: 90 00 [16:14:19]wFMCommunicate OK [16:14:19]wFMCommunicate request_size=31 [16:14:19]MH_SAM_APDU [16:14:19]CAPDU: 80 0D 02 02 1A 30 30 38 37 34 38 35 39 10 04 04 00 7E 87 00 00 35 04 06 00 AE E1 46 6A D2 6A [16:14:19]Write to MH i2c: E2 22 00 58 01 80 0D 02 02 1A 00 30 30 38 37 34 38 35 39 10 04 04 00 7E 87 00 00 35 04 06 00 AE E1 46 6A D2 6A 00 00 87 [16:14:19]Write i2c OK [16:14:19]MH_I2C_Read... [16:14:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:14:19]Read from MH i2c: E2 [16:14:19]MH_I2C_Read... [16:14:19]Read from MH i2c: E2 03 00 [16:14:19]MH_I2C_Read... [16:14:19]Read from MH i2c: E2 03 00 58 01 00 90 00 CD [16:14:19]RAPDU: 90 00 [16:14:19]wFMCommunicate OK [16:14:19]wFMCommunicate request_size=4 [16:14:19]MH_SAM_APDU [16:14:19]CAPDU: 80 0D 03 02 [16:14:19]Write to MH i2c: E2 08 00 59 01 80 0D 03 02 00 00 00 00 D5 [16:14:19]Write i2c OK [16:14:19]MH_I2C_Read... [16:14:19]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:14:19]Read from MH i2c: E2 [16:14:19]MH_I2C_Read... [16:14:19]Read from MH i2c: E2 0B 00 [16:14:19]MH_I2C_Read... [16:14:19]Read from MH i2c: E2 0B 00 59 01 00 E3 65 48 54 8F 2B 3C 35 90 00 E5 [16:14:19]RAPDU: E3 65 48 54 8F 2B 3C 35 90 00 [16:14:19]wFMCommunicate OK [16:14:19]SAM_PROTO_SignData done [16:14:19]FM_MakeSignedData done [16:14:19]CreateOFDProtocolMessage [16:14:19]wFMCommunicate request_size=4 [16:14:19]MH_SAM_APDU [16:14:19]CAPDU: 80 11 00 00 [16:14:19]Write to MH i2c: E2 08 00 5A 01 80 11 00 00 00 00 00 00 D5 [16:14:19]Write i2c OK [16:14:19]MH_I2C_Read... [16:14:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:14:19]Read from MH i2c: E2 [16:14:19]MH_I2C_Read... [16:14:19]Read from MH i2c: E2 17 00 [16:14:19]MH_I2C_Read... [16:14:19]Read from MH i2c: E2 17 00 5A 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 31 [16:14:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 [16:14:19]wFMCommunicate OK [16:14:19]CreateOFDProtocolMessage done [16:14:19]OFDSenderStorePacket 34686 [16:14:19]StoreOFDPacket docnum=34686 [16:14:19]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 24 01 00 00 4B 6A 1C 01 9C 47 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 BC 34 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 5A 3D 5F 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 7E 87 00 00 35 04 06 00 AE E1 46 6A D2 6A E3 65 48 54 8F 2B 3C 35 [16:14:19]CheckFolder [16:14:19]dirname=/storage/ofd_packets [16:14:19]CheckFolder done [16:14:19]ProducePacketName [16:14:19]name=ofd_packets/00034686 [16:14:19]NVStorageSaveData ofd_packets/00034686 [16:14:19]File name is /storage/ofd_packets/00034686 [16:14:19]Write 322 bytes [16:14:19]NVStorageSaveData done [16:14:19]OFDSenderStorePacket done [16:14:19]KKMCreateOFDPacket done [16:14:19]NVStorageSaveData kkm_last_timestamp [16:14:19]File name is /storage/kkm_last_timestamp [16:14:19]Write 4 bytes [16:14:19]NVStorageSaveData done [16:14:19]ExternCall_PrintAddStr [16:14:19]wPrintStart [16:14:19]Write to MH i2c: 01 00 00 5B 01 5C [16:14:19]Write i2c OK [16:14:19]MH_I2C_Read... [16:14:19]Read from MH i2c: 01 [16:14:19]MH_I2C_Read... [16:14:19]Read from MH i2c: 01 07 00 [16:14:19]MH_I2C_Read... [16:14:19]Read from MH i2c: 01 07 00 5B 01 00 00 00 00 00 FF 0F 71 [16:14:19]RasterBufferAndPrint [16:14:19]line Счет N : (3)100048 [16:14:19]line ИНН: 02508201610067 [16:14:19]line Контрольно-Кассовый Чек [16:14:19]line ПРОДАЖА [16:14:19]line Товар: 48745000 [16:14:19]line Сигареты Winston Purple Mix [16:14:19]line 1.000 * 135.00 [16:14:19]line = 135.00 [16:14:19]line НДС 12% НСП 1% [16:14:19]line > о реализуемом товаре [16:14:19]line ИТОГО: 135.00 [16:14:19]line НСП 1% : 1.19 [16:14:19]line НДС 12% : 14.34 [16:14:19]line Наличными: 0.00 [16:14:19]line Безнал.: 135.00 [16:14:19]line Место: АЗС № 62 "Партнер Нефть" [16:14:19]line Адрес: 720001, г. Балыкчы, ул. Абдрахманова 325 Б, 42.462761, 76.214931 [16:14:19]line СНО: Общий режим [16:14:19]line Чек 30 04.06.2024 16:14 [16:14:19]line Смена: 368 ФФД: 1.0 [16:14:19]line ЗНМ: 0300000080 [16:14:19]line РНМ: 0000000000096838 [16:14:19]line Версия ККМ: 001 [16:14:19]line Платежная система: АКБ Кыргызстан [16:14:19]line ФМ: 0000000000874859 [16:14:19]line ФД: 34686 [16:14:19]line ФПД: 192282572280426 [16:14:19]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T161418&type=1&operation_type=1&fn_number=0000000000874859&fd_number=34686&fm=192282572280426&tin=02508201610067®Number=0000000000096838&sum=13500 [16:14:19]OFD Sender: Processing packet 34686 [packets to send 17, broken 16] [16:14:19]ProducePacketName [16:14:19]name=ofd_packets/00034686 [16:14:19]OFD Sender: To server: pG, [16:14:19]CommunicateWithHost lk.salyk.kg:30040 [16:14:19]ConnectInit lk.salyk.kg [16:14:19]line 0 [16:14:19]written 0, free lines is 4095 [16:14:19]Connected sock=10 [16:14:19]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 24 01 00 00 4B 6A 1C 01 9C 47 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 BC 34 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 5A 3D 5F 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 7E 87 00 00 35 04 06 00 AE E1 46 6A D2 6A E3 65 48 54 8F 2B 3C 35 [16:14:20]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 4F 00 00 00 05 5C 47 00 73 1A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 7E 87 00 00 F4 03 04 00 9A E7 5E 66 B6 04 01 00 00 42 97 C4 92 DB 53 A3 1D [16:14:20]CommunicateWithHost err = 0 [16:14:20]CheckOFDResponse [16:14:20]1017 (14) - 77093643461234 [16:14:20]1041 (16) - 0000000000874859 [16:14:20]1040 (4) - 34686 [16:14:20]1012 (4) - 04.06.2024 10:08 [16:14:20]1206 (1) - 0 [16:14:20]OFD Sender: Remove packet 34686 [16:14:20]ProducePacketName [16:14:20]name=ofd_packets/00034686 [16:14:20]NVStorageDeleteData [16:14:20]Write to MH i2c: 01 00 00 85 01 86 [16:14:20]Write i2c OK [16:14:20]MH_I2C_Read... [16:14:20]Read from MH i2c: 01 [16:14:20]MH_I2C_Read... [16:14:20]Read from MH i2c: 01 07 00 [16:14:20]MH_I2C_Read... [16:14:20]Read from MH i2c: 01 07 00 85 01 00 00 00 00 00 F2 0C 8B [16:14:20]RasterBufferAndPrint [16:14:20]line [16:14:20]line [16:14:20]line [16:14:20]line [16:14:20]line [16:14:20]written 0, free lines is 3321 [16:14:20]MH_Cut [16:14:20]Write to MH i2c: D1 01 00 8C 01 01 5F [16:14:20]Write i2c OK [16:14:20]MH_I2C_Read... [16:14:20]Read from MH i2c: D1 [16:14:20]MH_I2C_Read... [16:14:20]Read from MH i2c: D1 01 00 [16:14:20]MH_I2C_Read... [16:14:20]Read from MH i2c: D1 01 00 8C 01 00 5E [16:14:20]Write to MH i2c: 01 00 00 8D 01 8E [16:14:20]Write i2c OK [16:14:20]MH_I2C_Read... [16:14:20]OFD Sender: No OFD packet to send [16:14:20]*** Cut start [16:14:20]*** Partial cut [16:14:20]*** CUTSNS_PIN = 1 [16:14:20]*** CUTSNS_PIN = 0 [16:14:21]*** Brake cut motor [16:14:21]Read from MH i2c: 01 [16:14:21]MH_I2C_Read... [16:14:21]*** Stop cut motor [16:14:21]*** Cut end [16:14:21]Read from MH i2c: 01 07 00 [16:14:21]MH_I2C_Read... [16:14:21]Read from MH i2c: 01 07 00 8D 01 00 00 00 00 00 FF 0F A3 [16:14:21]process_action close_receipt done [16:14:21]requested_data is exist [16:14:21]produce_requested_data [16:14:21]requested_item fm.sn is exist - process it [16:14:21]wFMCommunicate request_size=4 [16:14:21]MH_SAM_APDU [16:14:21]CAPDU: 80 11 00 00 [16:14:21]Write to MH i2c: E2 08 00 8E 01 80 11 00 00 00 00 00 00 09 [16:14:21]Write i2c OK [16:14:21]MH_I2C_Read... [16:14:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:14:21]Read from MH i2c: E2 [16:14:21]MH_I2C_Read... [16:14:21]Read from MH i2c: E2 17 00 [16:14:21]MH_I2C_Read... [16:14:21]Read from MH i2c: E2 17 00 8E 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 65 [16:14:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 [16:14:21]wFMCommunicate OK [16:14:21]requested_item fd.num is exist - process it [16:14:21]SAM_PROTO_GetFieldsCounters [16:14:21]wFMCommunicate request_size=4 [16:14:21]MH_SAM_APDU [16:14:21]CAPDU: 80 13 00 00 [16:14:21]Write to MH i2c: E2 08 00 8F 01 80 13 00 00 00 00 00 00 0C [16:14:21]Write i2c OK [16:14:21]MH_I2C_Read... [16:14:21]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:14:21]Read from MH i2c: E2 [16:14:21]MH_I2C_Read... [16:14:21]Read from MH i2c: E2 62 00 [16:14:21]MH_I2C_Read... [16:14:21]Read from MH i2c: E2 62 00 8F 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 10 04 04 00 7E 87 00 00 0E 04 04 00 70 01 00 00 12 04 04 00 1E 00 00 00 5E 04 04 00 1E 00 00 00 57 04 04 00 1F 00 00 00 19 04 04 00 00 00 00 00 90 00 0F [16:14: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 34 38 35 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 10 04 04 00 7E 87 00 00 0E 04 04 00 70 01 00 00 12 04 04 00 1E 00 00 00 5E 04 04 00 1E 00 00 00 57 04 04 00 1F 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:14:21]wFMCommunicate OK [16:14:21]SAM_PROTO_GetFieldsCounters done [16:14:21]requested_item shift.num is exist - process it [16:14:21]requested_item shift.opened is exist - process it [16:14:21]req_shift_opened [16:14:21]FM_GetShiftState [16:14:21]SAM_PROTO_GetShiftState [16:14:21]wFMCommunicate request_size=4 [16:14:21]MH_SAM_APDU [16:14:21]CAPDU: 80 13 01 00 [16:14:21]Write to MH i2c: E2 08 00 90 01 80 13 01 00 00 00 00 00 0E [16:14:21]Write i2c OK [16:14:21]MH_I2C_Read... [16:14:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:14:21]Read from MH i2c: E2 [16:14:21]MH_I2C_Read... [16:14:21]Read from MH i2c: E2 0E 00 [16:14:21]MH_I2C_Read... [16:14:21]Read from MH i2c: E2 0E 00 90 01 00 09 00 01 35 5B 5E 66 00 00 00 00 90 00 6E [16:14:21]RAPDU: 09 00 01 35 5B 5E 66 00 00 00 00 90 00 [16:14:21]wFMCommunicate OK [16:14:21]SAM_PROTO_GetShiftState done [16:14:21]FM_GetShiftState done [16:14:21]req_shift_opened done [16:14:21]requested_item shift.open_date is exist - process it [16:14:21]req_shift_open_date [16:14:21]req_shift_open_date done [16:14:21]produce_requested_data done [16:14:21]produce_requested_data return {"fm.sn":"0000000000874859","fd.num":34686,"shift.num":368,"shift.opened":1,"shift.open_date":1717459765} [16:14:21]process_action_free close_receipt [16:14:21]json_value_free [16:14:21]json_value_free done [16:14:21]process_json_proto returns [16:14:21]Send response to host [16:14:21]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874859","fd.num":34686,"shift.num":368,"shift.opened":1,"shift.open_date":1717459765}}} [16:14:21]free response buf [16:14:21]execute_script done [16:14:21]execute_script returns [16:14:21]free content buf [16:14:21]Sock 7.Close socket [16:14:21]Sock 7.Thread stoped [16:14:25]OFD Sender: No OFD packet to send [16:14:30]OFD Sender: No OFD packet to send [16:14:35]OFD Sender: No OFD packet to send [16:14:40]OFD Sender: No OFD packet to send [16:14:45]OFD Sender: No OFD packet to send [16:14:50]OFD Sender: No OFD packet to send [16:14:55]OFD Sender: No OFD packet to send [16:15:00]OFD Sender: No OFD packet to send [16:15:05]OFD Sender: No OFD packet to send [16:15:10]OFD Sender: No OFD packet to send [16:15:15]OFD Sender: No OFD packet to send [16:15:20]OFD Sender: No OFD packet to send [16:15:25]OFD Sender: No OFD packet to send [16:15:30]OFD Sender: No OFD packet to send [16:15:35]OFD Sender: No OFD packet to send [16:15:40]OFD Sender: No OFD packet to send [16:15:45]OFD Sender: No OFD packet to send [16:15:50]OFD Sender: No OFD packet to send [16:15:55]OFD Sender: No OFD packet to send [16:16:00]OFD Sender: No OFD packet to send [16:16:05]OFD Sender: No OFD packet to send [16:16:10]OFD Sender: No OFD packet to send [16:16:15]OFD Sender: No OFD packet to send [16:16:20]OFD Sender: No OFD packet to send [16:16:25]OFD Sender: No OFD packet to send [16:16:30]OFD Sender: No OFD packet to send [16:16:35]OFD Sender: No OFD packet to send [16:16:40]OFD Sender: No OFD packet to send [16:16:45]OFD Sender: No OFD packet to send [16:16:50]OFD Sender: No OFD packet to send [16:16:55]OFD Sender: No OFD packet to send [16:17:00]OFD Sender: No OFD packet to send [16:17:05]OFD Sender: No OFD packet to send [16:17:10]OFD Sender: No OFD packet to send [16:17:15]OFD Sender: No OFD packet to send [16:17:20]OFD Sender: No OFD packet to send [16:17:25]OFD Sender: No OFD packet to send [16:17:30]OFD Sender: No OFD packet to send [16:17:35]OFD Sender: No OFD packet to send [16:17:40]OFD Sender: No OFD packet to send [16:17:45]OFD Sender: No OFD packet to send [16:17:50]OFD Sender: No OFD packet to send [16:17:55]OFD Sender: No OFD packet to send [16:18:00]OFD Sender: No OFD packet to send [16:18:05]OFD Sender: No OFD packet to send [16:18:10]OFD Sender: No OFD packet to send [16:18:15]OFD Sender: No OFD packet to send [16:18:20]OFD Sender: No OFD packet to send [16:18:25]OFD Sender: No OFD packet to send [16:18:30]OFD Sender: No OFD packet to send [16:18:35]OFD Sender: No OFD packet to send [16:18:40]OFD Sender: No OFD packet to send [16:18:45]OFD Sender: No OFD packet to send [16:18:50]OFD Sender: No OFD packet to send [16:18:55]OFD Sender: No OFD packet to send [16:19:00]OFD Sender: No OFD packet to send [16:19:05]OFD Sender: No OFD packet to send [16:19:10]OFD Sender: No OFD packet to send [16:19:15]OFD Sender: No OFD packet to send [16:19:20]OFD Sender: No OFD packet to send [16:19:25]OFD Sender: No OFD packet to send [16:19:30]OFD Sender: No OFD packet to send [16:19:35]OFD Sender: No OFD packet to send [16:19:40]OFD Sender: No OFD packet to send [16:19:45]OFD Sender: No OFD packet to send [16:19:50]OFD Sender: No OFD packet to send [16:19:55]OFD Sender: No OFD packet to send [16:20:00]OFD Sender: No OFD packet to send [16:20:05]OFD Sender: No OFD packet to send [16:20:10]OFD Sender: No OFD packet to send [16:20:15]OFD Sender: No OFD packet to send [16:20:20]OFD Sender: No OFD packet to send [16:20:25]OFD Sender: No OFD packet to send [16:20:30]OFD Sender: No OFD packet to send [16:20:35]OFD Sender: No OFD packet to send [16:20:40]OFD Sender: No OFD packet to send [16:20:45]OFD Sender: No OFD packet to send [16:20:50]OFD Sender: No OFD packet to send [16:20:55]OFD Sender: No OFD packet to send [16:21:00]OFD Sender: No OFD packet to send [16:21:05]OFD Sender: No OFD packet to send [16:21:10]OFD Sender: No OFD packet to send [16:21:15]OFD Sender: No OFD packet to send [16:21:20]OFD Sender: No OFD packet to send [16:21:25]OFD Sender: No OFD packet to send [16:21:30]OFD Sender: No OFD packet to send [16:21:35]OFD Sender: No OFD packet to send [16:21:40]OFD Sender: No OFD packet to send [16:21:45]OFD Sender: No OFD packet to send [16:21:50]OFD Sender: No OFD packet to send [16:21:55]OFD Sender: No OFD packet to send [16:22:00]OFD Sender: No OFD packet to send [16:22:05]OFD Sender: No OFD packet to send [16:22:10]OFD Sender: No OFD packet to send [16:22:15]OFD Sender: No OFD packet to send [16:22:20]OFD Sender: No OFD packet to send [16:22:25]OFD Sender: No OFD packet to send [16:22:30]OFD Sender: No OFD packet to send [16:22:35]OFD Sender: No OFD packet to send [16:22:40]OFD Sender: No OFD packet to send [16:22:45]OFD Sender: No OFD packet to send [16:22:50]OFD Sender: No OFD packet to send [16:22:55]OFD Sender: No OFD packet to send [16:23:00]OFD Sender: No OFD packet to send [16:23:05]OFD Sender: No OFD packet to send [16:23:10]OFD Sender: No OFD packet to send [16:23:16]OFD Sender: No OFD packet to send [16:23:21]OFD Sender: No OFD packet to send [16:23:26]OFD Sender: No OFD packet to send [16:23:31]OFD Sender: No OFD packet to send [16:23:36]OFD Sender: No OFD packet to send [16:23:41]OFD Sender: No OFD packet to send [16:23:46]OFD Sender: No OFD packet to send [16:23:51]OFD Sender: No OFD packet to send [16:23:56]OFD Sender: No OFD packet to send [16:24:01]OFD Sender: No OFD packet to send [16:24:06]OFD Sender: No OFD packet to send [16:24:11]OFD Sender: No OFD packet to send [16:24:16]OFD Sender: No OFD packet to send [16:24:21]OFD Sender: No OFD packet to send [16:24:26]OFD Sender: No OFD packet to send [16:24:31]OFD Sender: No OFD packet to send [16:24:34]accept exits with 9 [16:24:34]New connection [16:24:34]New thread 3066592612 created [16:24:34]Thread 3066735972 joined [16:24:34]Waiting for new connection... [16:24:34] Sock 9.Parse request [16:24:34]Sock 9.Check first char [16:24:34]Sock 9.First char is OK [16:24:34]request: POST /json_proto HTTP/1.0 [16:24:34]Method: POST [16:24:34]URL: /json_proto [16:24:34]Method is POST - this is cgi request [16:24:34]url: /json_proto [16:24:34]query_string will be loaded in cgi processing [16:24:34]execute_cgi json_proto POST (null) [16:24:34]execute_cgi path=json_proto method=POST [16:24:34]POST find Content-Length [16:24:34]Host: 172.17.36.131:8080 [16:24:34]Content-Length: 628 [16:24:34]Content-Type: application/json [16:24:34] [16:24:34]POST finish read [16:24:34]Found Content-Length = 628 [16:24:34]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100049", "tax_sys" : 0, "items" : [ { "code": "2000036230011", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:24:34]execute_script... [16:24:34]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100049", "tax_sys" : 0, "items" : [ { "code": "2000036230011", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:24:34]POST & json_proto [16:24:34]process_json_proto [16:24:34]json parsed OK: [16:24:34]protocol is kg_v1.0 [16:24:34]action value=close_receipt [16:24:34]process_action close_receipt [16:24:34]cmd_close_receipt [16:24:34]MH_GetDate [16:24:34]Write to MH i2c: F0 00 00 91 01 81 [16:24:34]Write i2c OK [16:24:34]MH_I2C_Read... [16:24:34]Read from MH i2c: F0 [16:24:34]MH_I2C_Read... [16:24:34]Read from MH i2c: F0 09 00 [16:24:34]MH_I2C_Read... [16:24:34]Read from MH i2c: F0 09 00 91 01 00 C3 3F 5F 66 A7 4C 98 65 41 [16:24:34]GetLastDocTimeStamp 1717517658 [16:24:34]current date 1717518275 [16:24:34]FM_GetShiftState [16:24:34]SAM_PROTO_GetShiftState [16:24:34]wFMCommunicate request_size=4 [16:24:34]MH_SAM_APDU [16:24:34]CAPDU: 80 13 01 00 [16:24:34]Write to MH i2c: E2 08 00 92 01 80 13 01 00 00 00 00 00 10 [16:24:34]Write i2c OK [16:24:34]MH_I2C_Read... [16:24:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:24:34]Read from MH i2c: E2 [16:24:34]MH_I2C_Read... [16:24:34]Read from MH i2c: E2 0E 00 [16:24:34]MH_I2C_Read... [16:24:34]Read from MH i2c: E2 0E 00 92 01 00 09 00 01 35 5B 5E 66 00 00 00 00 90 00 70 [16:24:34]RAPDU: 09 00 01 35 5B 5E 66 00 00 00 00 90 00 [16:24:34]wFMCommunicate OK [16:24:34]SAM_PROTO_GetShiftState done [16:24:34]FM_GetShiftState done [16:24:34]opened in 1717459765 [16:24:34]opened+sec_in_day 1717546165 [16:24:34]quantity*price = 13000 [16:24:34]sum+1 = 13001 [16:24:34]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 130.00 Безнал.: 0.00 Место: АЗС № 62 "Партнер Нефть" Адрес: 720001, г. Балыкчы, ул. Абдрахманова 325 Б, 42.462761, 76.214931 СНО: Общий режим Чек 31 04.06.2024 16:24 Смена: 368 ФФД: 1.0 ЗНМ: 0300000080 РНМ: 0000000000096838 Версия ККМ: 001 ФМ: 0000000000874859 ФД: 34687 ФПД: 239355668107178 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T162435&type=1&operation_type=1&fn_number=0000000000874859&fd_number=34687&fm=239355668107178&tin=02508201610067®Number=0000000000096838&sum=13000 0 [16:24:35]StoreToDocumentArchive [16:24:35]shift 368 fd 34687 [16:24:35]save to /storage/0368/doc_00034687 [16:24:35]save last doc name /storage/0368/doc_00034687 to /storage/kkm_last_doc_name [16:24:35]save OK [16:24:35]Clear old archive folders... [16:24:35]ProcessDocumentItem done err = 0, tmpTLVsize=276 [16:24:35]tlvbuf is 00AF9520 [16:24:35]SAM_PROTO_ClearQueue [16:24:35]wFMCommunicate request_size=4 [16:24:35]MH_SAM_APDU [16:24:35]CAPDU: 80 09 00 00 [16:24:35]Write to MH i2c: E2 08 00 9F 01 80 09 00 00 00 00 00 00 12 [16:24:35]Write i2c OK [16:24:35]MH_I2C_Read... [16:24:35]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:24:35]Read from MH i2c: E2 [16:24:35]MH_I2C_Read... [16:24:35]Read from MH i2c: E2 03 00 [16:24:35]MH_I2C_Read... [16:24:35]Read from MH i2c: E2 03 00 9F 01 00 90 00 14 [16:24:35]RAPDU: 90 00 [16:24:35]wFMCommunicate OK [16:24:35]SAM_PROTO_ClearQueue done [16:24:35]KKMCreateOFDPacket [16:24:35]OFDProtocolAddRootSTLVToBuf [16:24:35]FM_MakeSignedData [16:24:35]FM_MakeSignedData [16:24:35]SAM_PROTO_SignData [16:24:35]wFMCommunicate request_size=4 [16:24:35]MH_SAM_APDU [16:24:35]CAPDU: 80 0D 01 02 [16:24:35]Write to MH i2c: E2 08 00 A0 01 80 0D 01 02 00 00 00 00 1A [16:24:35]Write i2c OK [16:24:35]MH_I2C_Read... [16:24:35]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:24:35]Read from MH i2c: E2 [16:24:35]MH_I2C_Read... [16:24:35]Read from MH i2c: E2 03 00 [16:24:35]MH_I2C_Read... [16:24:35]Read from MH i2c: E2 03 00 A0 01 00 90 00 15 [16:24:35]RAPDU: 90 00 [16:24:35]wFMCommunicate OK [16:24:35]wFMCommunicate request_size=255 [16:24:35]MH_SAM_APDU [16:24:35]CAPDU: 80 0D 02 02 FA 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 1F 00 00 00 F4 03 04 00 C3 3F 5F 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 30 30 30 30 [16:24:35]Write to MH i2c: E2 02 01 A1 01 80 0D 02 02 FA 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 1F 00 00 00 F4 03 04 00 C3 3F 5F 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 30 30 30 30 00 00 95 [16:24:35]Write i2c OK [16:24:35]MH_I2C_Read... [16:24:36]OFD Sender: No OFD packet to send [16:24:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:24:36]Read from MH i2c: E2 [16:24:36]MH_I2C_Read... [16:24:36]Read from MH i2c: E2 03 00 [16:24:36]MH_I2C_Read... [16:24:36]Read from MH i2c: E2 03 00 A1 01 00 90 00 16 [16:24:36]RAPDU: 90 00 [16:24:36]wFMCommunicate OK [16:24:36]wFMCommunicate request_size=35 [16:24:36]MH_SAM_APDU [16:24:36]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 7F 87 00 00 35 04 06 00 D9 B1 55 92 8F AA [16:24:36]Write to MH i2c: E2 26 00 A2 01 80 0D 02 02 1E 00 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 7F 87 00 00 35 04 06 00 D9 B1 55 92 8F AA 00 00 C9 [16:24:36]Write i2c OK [16:24:36]MH_I2C_Read... [16:24:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:24:36]Read from MH i2c: E2 [16:24:36]MH_I2C_Read... [16:24:36]Read from MH i2c: E2 03 00 [16:24:36]MH_I2C_Read... [16:24:36]Read from MH i2c: E2 03 00 A2 01 00 90 00 17 [16:24:36]RAPDU: 90 00 [16:24:36]wFMCommunicate OK [16:24:36]wFMCommunicate request_size=4 [16:24:36]MH_SAM_APDU [16:24:36]CAPDU: 80 0D 03 02 [16:24:36]Write to MH i2c: E2 08 00 A3 01 80 0D 03 02 00 00 00 00 1F [16:24:36]Write i2c OK [16:24:36]MH_I2C_Read... [16:24:36]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:24:36]Read from MH i2c: E2 [16:24:36]MH_I2C_Read... [16:24:36]Read from MH i2c: E2 0B 00 [16:24:36]MH_I2C_Read... [16:24:36]Read from MH i2c: E2 0B 00 A3 01 00 E6 17 4E 4C 32 1C 84 A3 90 00 2C [16:24:36]RAPDU: E6 17 4E 4C 32 1C 84 A3 90 00 [16:24:36]wFMCommunicate OK [16:24:36]SAM_PROTO_SignData done [16:24:36]FM_MakeSignedData done [16:24:36]CreateOFDProtocolMessage [16:24:36]wFMCommunicate request_size=4 [16:24:36]MH_SAM_APDU [16:24:36]CAPDU: 80 11 00 00 [16:24:36]Write to MH i2c: E2 08 00 A4 01 80 11 00 00 00 00 00 00 1F [16:24:36]Write i2c OK [16:24:36]MH_I2C_Read... [16:24:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:24:36]Read from MH i2c: E2 [16:24:36]MH_I2C_Read... [16:24:36]Read from MH i2c: E2 17 00 [16:24:36]MH_I2C_Read... [16:24:36]Read from MH i2c: E2 17 00 A4 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 7B [16:24:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 [16:24:36]wFMCommunicate OK [16:24:36]CreateOFDProtocolMessage done [16:24:36]OFDSenderStorePacket 34687 [16:24:36]StoreOFDPacket docnum=34687 [16:24:36]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 28 01 00 00 7A D6 20 01 8A BC 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 1F 00 00 00 F4 03 04 00 C3 3F 5F 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 7F 87 00 00 35 04 06 00 D9 B1 55 92 8F AA E6 17 4E 4C 32 1C 84 A3 [16:24:36]CheckFolder [16:24:36]dirname=/storage/ofd_packets [16:24:36]CheckFolder done [16:24:36]ProducePacketName [16:24:36]name=ofd_packets/00034687 [16:24:36]NVStorageSaveData ofd_packets/00034687 [16:24:36]File name is /storage/ofd_packets/00034687 [16:24:36]Write 326 bytes [16:24:36]NVStorageSaveData done [16:24:36]OFDSenderStorePacket done [16:24:36]KKMCreateOFDPacket done [16:24:36]NVStorageSaveData kkm_last_timestamp [16:24:36]File name is /storage/kkm_last_timestamp [16:24:36]Write 4 bytes [16:24:36]NVStorageSaveData done [16:24:36]ExternCall_PrintAddStr [16:24:36]wPrintStart [16:24:36]Write to MH i2c: 01 00 00 A5 01 A6 [16:24:36]Write i2c OK [16:24:36]MH_I2C_Read... [16:24:36]Read from MH i2c: 01 [16:24:36]MH_I2C_Read... [16:24:36]Read from MH i2c: 01 07 00 [16:24:36]MH_I2C_Read... [16:24:36]Read from MH i2c: 01 07 00 A5 01 00 00 00 00 00 FF 0F BB [16:24:36]RasterBufferAndPrint [16:24:36]line Счет N : (3)100049 [16:24:36]line ИНН: 02508201610067 [16:24:36]line Контрольно-Кассовый Чек [16:24:36]line ПРОДАЖА [16:24:36]line Товар: 2000036230011 [16:24:36]line Кофе Латте XL(GABB TRADE) [16:24:36]line 1.000 * 130.00 [16:24:36]line = 130.00 [16:24:36]line НДС 12% НСП 1% [16:24:36]line > о реализуемом товаре [16:24:36]line ИТОГО: 130.00 [16:24:36]line НСП 1% : 1.15 [16:24:36]line НДС 12% : 13.80 [16:24:36]line Наличными: 130.00 [16:24:36]line Безнал.: 0.00 [16:24:36]line Место: АЗС № 62 "Партнер Нефть" [16:24:36]line Адрес: 720001, г. Балыкчы, ул. Абдрахманова 325 Б, 42.462761, 76.214931 [16:24:36]line СНО: Общий режим [16:24:36]line Чек 31 04.06.2024 16:24 [16:24:36]line Смена: 368 ФФД: 1.0 [16:24:36]line ЗНМ: 0300000080 [16:24:36]line РНМ: 0000000000096838 [16:24:36]line Версия ККМ: 001 [16:24:36]line ФМ: 0000000000874859 [16:24:36]line ФД: 34687 [16:24:36]line ФПД: 239355668107178 [16:24:36]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T162435&type=1&operation_type=1&fn_number=0000000000874859&fd_number=34687&fm=239355668107178&tin=02508201610067®Number=0000000000096838&sum=13000 [16:24:36]line 0 [16:24:36]OFD Sender: Processing packet 34687 [packets to send 17, broken 16] [16:24:36]ProducePacketName [16:24:36]name=ofd_packets/00034687 [16:24:36]OFD Sender: To server: pG, [16:24:36]CommunicateWithHost lk.salyk.kg:30040 [16:24:36]ConnectInit lk.salyk.kg [16:24:36]written 0, free lines is 4095 [16:24:36]Connected sock=10 [16:24:36]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 28 01 00 00 7A D6 20 01 8A BC 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 1F 00 00 00 F4 03 04 00 C3 3F 5F 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 7F 87 00 00 35 04 06 00 D9 B1 55 92 8F AA E6 17 4E 4C 32 1C 84 A3 [16:24:36]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 4F 00 00 00 78 24 47 00 40 22 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 7F 87 00 00 F4 03 04 00 03 EA 5E 66 B6 04 01 00 00 0C C6 C9 2E 8A 15 8C A2 [16:24:36]CommunicateWithHost err = 0 [16:24:36]CheckOFDResponse [16:24:36]1017 (14) - 77093643461234 [16:24:36]1041 (16) - 0000000000874859 [16:24:36]1040 (4) - 34687 [16:24:36]1012 (4) - 04.06.2024 10:18 [16:24:36]1206 (1) - 0 [16:24:36]OFD Sender: Remove packet 34687 [16:24:36]ProducePacketName [16:24:36]name=ofd_packets/00034687 [16:24:36]NVStorageDeleteData [16:24:37]Write to MH i2c: 01 00 00 CD 01 CE [16:24:37]Write i2c OK [16:24:37]MH_I2C_Read... [16:24:37]Read from MH i2c: 01 [16:24:37]MH_I2C_Read... [16:24:37]Read from MH i2c: 01 07 00 [16:24:37]MH_I2C_Read... [16:24:37]Read from MH i2c: 01 07 00 CD 01 00 00 00 00 00 1E 0D 00 [16:24:37]RasterBufferAndPrint [16:24:37]line [16:24:37]line [16:24:37]line [16:24:37]line [16:24:37]line [16:24:37]written 0, free lines is 3364 [16:24:37]MH_Cut [16:24:37]Write to MH i2c: D1 01 00 D4 01 01 A7 [16:24:37]Write i2c OK [16:24:37]MH_I2C_Read... [16:24:37]Read from MH i2c: D1 [16:24:37]MH_I2C_Read... [16:24:37]Read from MH i2c: D1 01 00 [16:24:37]MH_I2C_Read... [16:24:37]Read from MH i2c: D1 01 00 D4 01 00 A6 [16:24:37]Write to MH i2c: 01 00 00 D5 01 D6 [16:24:37]Write i2c OK [16:24:37]MH_I2C_Read... [16:24:37]OFD Sender: No OFD packet to send [16:24:37]*** Cut start [16:24:37]*** Partial cut [16:24:37]*** CUTSNS_PIN = 1 [16:24:37]*** CUTSNS_PIN = 0 [16:24:38]*** Brake cut motor [16:24:38]Read from MH i2c: 01 [16:24:38]MH_I2C_Read... [16:24:38]*** Stop cut motor [16:24:38]*** Cut end [16:24:38]Read from MH i2c: 01 07 00 [16:24:38]MH_I2C_Read... [16:24:38]Read from MH i2c: 01 07 00 D5 01 00 00 00 00 00 FF 0F EB [16:24:38]process_action close_receipt done [16:24:38]requested_data is exist [16:24:38]produce_requested_data [16:24:38]requested_item fm.sn is exist - process it [16:24:38]wFMCommunicate request_size=4 [16:24:38]MH_SAM_APDU [16:24:38]CAPDU: 80 11 00 00 [16:24:38]Write to MH i2c: E2 08 00 D6 01 80 11 00 00 00 00 00 00 51 [16:24:38]Write i2c OK [16:24:38]MH_I2C_Read... [16:24:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:24:38]Read from MH i2c: E2 [16:24:38]MH_I2C_Read... [16:24:38]Read from MH i2c: E2 17 00 [16:24:38]MH_I2C_Read... [16:24:38]Read from MH i2c: E2 17 00 D6 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 AD [16:24:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 [16:24:38]wFMCommunicate OK [16:24:38]requested_item fd.num is exist - process it [16:24:38]SAM_PROTO_GetFieldsCounters [16:24:38]wFMCommunicate request_size=4 [16:24:38]MH_SAM_APDU [16:24:38]CAPDU: 80 13 00 00 [16:24:38]Write to MH i2c: E2 08 00 D7 01 80 13 00 00 00 00 00 00 54 [16:24:38]Write i2c OK [16:24:38]MH_I2C_Read... [16:24:38]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:24:38]Read from MH i2c: E2 [16:24:38]MH_I2C_Read... [16:24:38]Read from MH i2c: E2 62 00 [16:24:38]MH_I2C_Read... [16:24:38]Read from MH i2c: E2 62 00 D7 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 10 04 04 00 7F 87 00 00 0E 04 04 00 70 01 00 00 12 04 04 00 1F 00 00 00 5E 04 04 00 1F 00 00 00 57 04 04 00 20 00 00 00 19 04 04 00 00 00 00 00 90 00 5B [16:24:38]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 10 04 04 00 7F 87 00 00 0E 04 04 00 70 01 00 00 12 04 04 00 1F 00 00 00 5E 04 04 00 1F 00 00 00 57 04 04 00 20 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:24:38]wFMCommunicate OK [16:24:38]SAM_PROTO_GetFieldsCounters done [16:24:38]requested_item shift.num is exist - process it [16:24:38]requested_item shift.opened is exist - process it [16:24:38]req_shift_opened [16:24:38]FM_GetShiftState [16:24:38]SAM_PROTO_GetShiftState [16:24:38]wFMCommunicate request_size=4 [16:24:38]MH_SAM_APDU [16:24:38]CAPDU: 80 13 01 00 [16:24:38]Write to MH i2c: E2 08 00 D8 01 80 13 01 00 00 00 00 00 56 [16:24:38]Write i2c OK [16:24:38]MH_I2C_Read... [16:24:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:24:38]Read from MH i2c: E2 [16:24:38]MH_I2C_Read... [16:24:38]Read from MH i2c: E2 0E 00 [16:24:38]MH_I2C_Read... [16:24:38]Read from MH i2c: E2 0E 00 D8 01 00 09 00 01 35 5B 5E 66 00 00 00 00 90 00 B6 [16:24:38]RAPDU: 09 00 01 35 5B 5E 66 00 00 00 00 90 00 [16:24:38]wFMCommunicate OK [16:24:38]SAM_PROTO_GetShiftState done [16:24:38]FM_GetShiftState done [16:24:38]req_shift_opened done [16:24:38]requested_item shift.open_date is exist - process it [16:24:38]req_shift_open_date [16:24:38]req_shift_open_date done [16:24:38]produce_requested_data done [16:24:38]produce_requested_data return {"fm.sn":"0000000000874859","fd.num":34687,"shift.num":368,"shift.opened":1,"shift.open_date":1717459765} [16:24:38]process_action_free close_receipt [16:24:38]json_value_free [16:24:38]json_value_free done [16:24:38]process_json_proto returns [16:24:38]Send response to host [16:24:38]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874859","fd.num":34687,"shift.num":368,"shift.opened":1,"shift.open_date":1717459765}}} [16:24:38]free response buf [16:24:38]execute_script done [16:24:38]execute_script returns [16:24:38]free content buf [16:24:38]Sock 9.Close socket [16:24:38]Sock 9.Thread stoped [16:24:42]OFD Sender: No OFD packet to send [16:24:47]OFD Sender: No OFD packet to send [16:24:52]OFD Sender: No OFD packet to send [16:24:57]OFD Sender: No OFD packet to send [16:25:02]OFD Sender: No OFD packet to send [16:25:07]OFD Sender: No OFD packet to send [16:25:12]OFD Sender: No OFD packet to send [16:25:17]OFD Sender: No OFD packet to send [16:25:22]OFD Sender: No OFD packet to send [16:25:27]OFD Sender: No OFD packet to send [16:25:32]OFD Sender: No OFD packet to send [16:25:37]OFD Sender: No OFD packet to send [16:25:42]OFD Sender: No OFD packet to send [16:25:47]OFD Sender: No OFD packet to send [16:25:52]OFD Sender: No OFD packet to send [16:25:57]OFD Sender: No OFD packet to send [16:26:02]OFD Sender: No OFD packet to send [16:26:07]OFD Sender: No OFD packet to send [16:26:12]OFD Sender: No OFD packet to send [16:26:17]OFD Sender: No OFD packet to send [16:26:22]OFD Sender: No OFD packet to send [16:26:27]OFD Sender: No OFD packet to send [16:26:32]OFD Sender: No OFD packet to send [16:26:37]OFD Sender: No OFD packet to send [16:26:42]OFD Sender: No OFD packet to send [16:26:47]OFD Sender: No OFD packet to send [16:26:52]OFD Sender: No OFD packet to send [16:26:57]OFD Sender: No OFD packet to send [16:27:02]OFD Sender: No OFD packet to send [16:27:07]OFD Sender: No OFD packet to send [16:27:12]OFD Sender: No OFD packet to send [16:27:17]OFD Sender: No OFD packet to send [16:27:22]OFD Sender: No OFD packet to send [16:27:27]OFD Sender: No OFD packet to send [16:27:32]OFD Sender: No OFD packet to send [16:27:37]OFD Sender: No OFD packet to send [16:27:42]OFD Sender: No OFD packet to send [16:27:47]OFD Sender: No OFD packet to send [16:27:52]OFD Sender: No OFD packet to send [16:27:57]OFD Sender: No OFD packet to send [16:28:02]OFD Sender: No OFD packet to send [16:28:07]OFD Sender: No OFD packet to send [16:28:12]OFD Sender: No OFD packet to send [16:28:17]OFD Sender: No OFD packet to send [16:28:22]OFD Sender: No OFD packet to send [16:28:27]OFD Sender: No OFD packet to send [16:28:31]accept exits with 7 [16:28:31]New connection [16:28:31]New thread 3066735972 created [16:28:31]Thread 3066592612 joined [16:28:31]Waiting for new connection... [16:28:31] Sock 7.Parse request [16:28:31]Sock 7.Check first char [16:28:31]Sock 7.First char is OK [16:28:31]request: POST /json_proto HTTP/1.0 [16:28:31]Method: POST [16:28:31]URL: /json_proto [16:28:31]Method is POST - this is cgi request [16:28:31]url: /json_proto [16:28:31]query_string will be loaded in cgi processing [16:28:31]execute_cgi json_proto POST (null) [16:28:31]execute_cgi path=json_proto method=POST [16:28:31]POST find Content-Length [16:28:31]Host: 172.17.36.131:8080 [16:28:31]Content-Length: 658 [16:28:31]Content-Type: application/json [16:28:31] [16:28:31]POST finish read [16:28:31]Found Content-Length = 658 [16:28:31]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)100050", "tax_sys" : 0, "items" : [ { "code": "5449000000996", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 0,33\u043B", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 85.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:28:31]execute_script... [16:28: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)100050", "tax_sys" : 0, "items" : [ { "code": "5449000000996", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 0,33\u043B", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 85.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:28:31]POST & json_proto [16:28:31]process_json_proto [16:28:31]json parsed OK: [16:28:31]protocol is kg_v1.0 [16:28:31]action value=close_receipt [16:28:31]process_action close_receipt [16:28:31]cmd_close_receipt [16:28:31]MH_GetDate [16:28:31]Write to MH i2c: F0 00 00 D9 01 C9 [16:28:31]Write i2c OK [16:28:31]MH_I2C_Read... [16:28:31]Read from MH i2c: F0 [16:28:31]MH_I2C_Read... [16:28:31]Read from MH i2c: F0 09 00 [16:28:31]MH_I2C_Read... [16:28:31]Read from MH i2c: F0 09 00 D9 01 00 B0 40 5F 66 A7 4C 98 65 77 [16:28:31]GetLastDocTimeStamp 1717518275 [16:28:31]current date 1717518512 [16:28:31]FM_GetShiftState [16:28:31]SAM_PROTO_GetShiftState [16:28:31]wFMCommunicate request_size=4 [16:28:31]MH_SAM_APDU [16:28:31]CAPDU: 80 13 01 00 [16:28:31]Write to MH i2c: E2 08 00 DA 01 80 13 01 00 00 00 00 00 58 [16:28:31]Write i2c OK [16:28:31]MH_I2C_Read... [16:28:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:28:31]Read from MH i2c: E2 [16:28:31]MH_I2C_Read... [16:28:31]Read from MH i2c: E2 0E 00 [16:28:31]MH_I2C_Read... [16:28:31]Read from MH i2c: E2 0E 00 DA 01 00 09 00 01 35 5B 5E 66 00 00 00 00 90 00 B8 [16:28:31]RAPDU: 09 00 01 35 5B 5E 66 00 00 00 00 90 00 [16:28:31]wFMCommunicate OK [16:28:31]SAM_PROTO_GetShiftState done [16:28:31]FM_GetShiftState done [16:28:31]opened in 1717459765 [16:28:31]opened+sec_in_day 1717546165 [16:28:31]quantity*price = 8500 [16:28:31]sum+1 = 8501 [16:28:31]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 85.00 НСП 1% : 0.75 НДС 12% : 9.03 Наличными: 85.00 Безнал.: 0.00 Место: АЗС № 62 "Партнер Нефть" Адрес: 720001, г. Балыкчы, ул. Абдрахманова 325 Б, 42.462761, 76.214931 СНО: Общий режим Чек 32 04.06.2024 16:28 Смена: 368 ФФД: 1.0 ЗНМ: 0300000080 РНМ: 0000000000096838 Версия ККМ: 001 ФМ: 0000000000874859 ФД: 34688 ФПД: 53266385956791 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T162832&type=1&operation_type=1&fn_number=0000000000874859&fd_number=34688&fm=53266385956791&tin=02508201610067®Number=0000000000096838&sum=8500 0 [16:28:32]StoreToDocumentArchive [16:28:32]shift 368 fd 34688 [16:28:32]save to /storage/0368/doc_00034688 [16:28:32]save last doc name /storage/0368/doc_00034688 to /storage/kkm_last_doc_name [16:28:32]save OK [16:28:32]Clear old archive folders... [16:28:32]ProcessDocumentItem done err = 0, tmpTLVsize=281 [16:28:32]tlvbuf is 00AFA290 [16:28:32]SAM_PROTO_ClearQueue [16:28:32]wFMCommunicate request_size=4 [16:28:32]MH_SAM_APDU [16:28:32]CAPDU: 80 09 00 00 [16:28:32]Write to MH i2c: E2 08 00 E7 01 80 09 00 00 00 00 00 00 5A [16:28:32]Write i2c OK [16:28:32]MH_I2C_Read... [16:28:32]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:28:32]Read from MH i2c: E2 [16:28:32]MH_I2C_Read... [16:28:32]Read from MH i2c: E2 03 00 [16:28:32]MH_I2C_Read... [16:28:32]Read from MH i2c: E2 03 00 E7 01 00 90 00 5C [16:28:32]RAPDU: 90 00 [16:28:32]wFMCommunicate OK [16:28:32]SAM_PROTO_ClearQueue done [16:28:32]KKMCreateOFDPacket [16:28:32]OFDProtocolAddRootSTLVToBuf [16:28:32]FM_MakeSignedData [16:28:32]FM_MakeSignedData [16:28:32]SAM_PROTO_SignData [16:28:32]wFMCommunicate request_size=4 [16:28:32]MH_SAM_APDU [16:28:32]CAPDU: 80 0D 01 02 [16:28:32]Write to MH i2c: E2 08 00 E8 01 80 0D 01 02 00 00 00 00 62 [16:28:32]Write i2c OK [16:28:32]MH_I2C_Read... [16:28:32]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:28:32]Read from MH i2c: E2 [16:28:32]MH_I2C_Read... [16:28:32]Read from MH i2c: E2 03 00 [16:28:32]MH_I2C_Read... [16:28:32]Read from MH i2c: E2 03 00 E8 01 00 90 00 5D [16:28:32]RAPDU: 90 00 [16:28:32]wFMCommunicate OK [16:28:32]wFMCommunicate request_size=255 [16:28:32]MH_SAM_APDU [16:28:32]CAPDU: 80 0D 02 02 FA 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 39 39 36 06 04 27 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 33 33 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 34 21 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 B0 40 5F 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 [16:28:32]Write to MH i2c: E2 02 01 E9 01 80 0D 02 02 FA 00 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 39 39 36 06 04 27 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 33 33 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 34 21 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 B0 40 5F 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 00 11 [16:28:32]Write i2c OK [16:28:32]MH_I2C_Read... [16:28:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:28:33]Read from MH i2c: E2 [16:28:33]MH_I2C_Read... [16:28:33]Read from MH i2c: E2 03 00 [16:28:33]MH_I2C_Read... [16:28:33]Read from MH i2c: E2 03 00 E9 01 00 90 00 5E [16:28:33]RAPDU: 90 00 [16:28:33]wFMCommunicate OK [16:28:33]wFMCommunicate request_size=40 [16:28:33]MH_SAM_APDU [16:28:33]CAPDU: 80 0D 02 02 23 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 80 87 00 00 35 04 06 00 30 72 0C 03 6F B7 [16:28:33]Write to MH i2c: E2 2B 00 EA 01 80 0D 02 02 23 00 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 80 87 00 00 35 04 06 00 30 72 0C 03 6F B7 00 00 09 [16:28:33]Write i2c OK [16:28:33]MH_I2C_Read... [16:28:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:28:33]Read from MH i2c: E2 [16:28:33]MH_I2C_Read... [16:28:33]Read from MH i2c: E2 03 00 [16:28:33]MH_I2C_Read... [16:28:33]Read from MH i2c: E2 03 00 EA 01 00 90 00 5F [16:28:33]RAPDU: 90 00 [16:28:33]wFMCommunicate OK [16:28:33]wFMCommunicate request_size=4 [16:28:33]MH_SAM_APDU [16:28:33]CAPDU: 80 0D 03 02 [16:28:33]Write to MH i2c: E2 08 00 EB 01 80 0D 03 02 00 00 00 00 67 [16:28:33]Write i2c OK [16:28:33]MH_I2C_Read... [16:28:33]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:28:33]Read from MH i2c: E2 [16:28:33]MH_I2C_Read... [16:28:33]Read from MH i2c: E2 0B 00 [16:28:33]MH_I2C_Read... [16:28:33]Read from MH i2c: E2 0B 00 EB 01 00 ED 43 34 E1 31 67 08 06 90 00 53 [16:28:33]RAPDU: ED 43 34 E1 31 67 08 06 90 00 [16:28:33]wFMCommunicate OK [16:28:33]SAM_PROTO_SignData done [16:28:33]FM_MakeSignedData done [16:28:33]CreateOFDProtocolMessage [16:28:33]wFMCommunicate request_size=4 [16:28:33]MH_SAM_APDU [16:28:33]CAPDU: 80 11 00 00 [16:28:33]Write to MH i2c: E2 08 00 EC 01 80 11 00 00 00 00 00 00 67 [16:28:33]Write i2c OK [16:28:33]MH_I2C_Read... [16:28:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:28:33]Read from MH i2c: E2 [16:28:33]MH_I2C_Read... [16:28:33]Read from MH i2c: E2 17 00 [16:28:33]MH_I2C_Read... [16:28:33]Read from MH i2c: E2 17 00 EC 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 C3 [16:28:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 [16:28:33]wFMCommunicate OK [16:28:33]CreateOFDProtocolMessage done [16:28:33]OFDSenderStorePacket 34688 [16:28:33]StoreOFDPacket docnum=34688 [16:28:33]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 2D 01 00 00 C9 1B 25 01 1B 50 5A 03 01 00 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 39 39 36 06 04 27 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 33 33 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 34 21 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 B0 40 5F 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 80 87 00 00 35 04 06 00 30 72 0C 03 6F B7 ED 43 34 E1 31 67 08 06 [16:28:33]CheckFolder [16:28:33]dirname=/storage/ofd_packets [16:28:33]CheckFolder done [16:28:33]ProducePacketName [16:28:33]name=ofd_packets/00034688 [16:28:33]NVStorageSaveData ofd_packets/00034688 [16:28:33]File name is /storage/ofd_packets/00034688 [16:28:33]Write 331 bytes [16:28:33]NVStorageSaveData done [16:28:33]OFDSenderStorePacket done [16:28:33]KKMCreateOFDPacket done [16:28:33]NVStorageSaveData kkm_last_timestamp [16:28:33]File name is /storage/kkm_last_timestamp [16:28:33]Write 4 bytes [16:28:33]NVStorageSaveData done [16:28:33]ExternCall_PrintAddStr [16:28:33]wPrintStart [16:28:33]Write to MH i2c: 01 00 00 ED 01 EE [16:28:33]Write i2c OK [16:28:33]MH_I2C_Read... [16:28:33]Read from MH i2c: 01 [16:28:33]MH_I2C_Read... [16:28:33]Read from MH i2c: 01 07 00 [16:28:33]MH_I2C_Read... [16:28:33]Read from MH i2c: 01 07 00 ED 01 00 00 00 00 00 FF 0F 03 [16:28:33]RasterBufferAndPrint [16:28:33]line Счет N : (3)100050 [16:28:33]line ИНН: 02508201610067 [16:28:33]line Контрольно-Кассовый Чек [16:28:33]line ПРОДАЖА [16:28:33]line Товар: 5449000000996 [16:28:33]line Напиток Кока-Кола 0,33л [16:28:33]line 1.000 * 85.00 [16:28:33]line = 85.00 [16:28:33]line НДС 12% НСП 1% [16:28:33]line > о реализуемом товаре [16:28:33]line ИТОГО: 85.00 [16:28:33]line НСП 1% : 0.75 [16:28:33]line НДС 12% : 9.03 [16:28:33]line Наличными: 85.00 [16:28:33]line Безнал.: 0.00 [16:28:33]line Место: АЗС № 62 "Партнер Нефть" [16:28:33]line Адрес: 720001, г. Балыкчы, ул. Абдрахманова 325 Б, 42.462761, 76.214931 [16:28:33]line СНО: Общий режим [16:28:33]line Чек 32 04.06.2024 16:28 [16:28:33]line Смена: 368 ФФД: 1.0 [16:28:33]line ЗНМ: 0300000080 [16:28:33]line РНМ: 0000000000096838 [16:28:33]line Версия ККМ: 001 [16:28:33]line ФМ: 0000000000874859 [16:28:33]line ФД: 34688 [16:28:33]line ФПД: 53266385956791 [16:28:33]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240604T162832&type=1&operation_type=1&fn_number=0000000000874859&fd_number=34688&fm=53266385956791&tin=02508201610067®Number=0000000000096838&sum=8500 [16:28:33]line 0 [16:28:33]OFD Sender: Processing packet 34688 [packets to send 17, broken 16] [16:28:33]ProducePacketName [16:28:33]name=ofd_packets/00034688 [16:28:33]OFD Sender: To server: pG, [16:28:33]CommunicateWithHost lk.salyk.kg:30040 [16:28:33]ConnectInit lk.salyk.kg [16:28:33]written 0, free lines is 4095 [16:28:33]Connected sock=10 [16:28:33]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 2D 01 00 00 C9 1B 25 01 1B 50 5A 03 01 00 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 39 39 36 06 04 27 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 33 33 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 34 21 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 B0 40 5F 66 0E 04 04 00 70 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 80 87 00 00 35 04 06 00 30 72 0C 03 6F B7 ED 43 34 E1 31 67 08 06 [16:28:34]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 4F 00 00 00 F4 7F 47 00 EC 90 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 80 87 00 00 F4 03 04 00 F0 EA 5E 66 B6 04 01 00 00 4A 9E DF FB E8 78 FF 41 [16:28:34]CommunicateWithHost err = 0 [16:28:34]CheckOFDResponse [16:28:34]1017 (14) - 77093643461234 [16:28:34]1041 (16) - 0000000000874859 [16:28:34]1040 (4) - 34688 [16:28:34]1012 (4) - 04.06.2024 10:22 [16:28:34]1206 (1) - 0 [16:28:34]OFD Sender: Remove packet 34688 [16:28:34]ProducePacketName [16:28:34]name=ofd_packets/00034688 [16:28:34]NVStorageDeleteData [16:28:34]Write to MH i2c: 01 00 00 15 02 17 [16:28:34]Write i2c OK [16:28:34]MH_I2C_Read... [16:28:34]Read from MH i2c: 01 [16:28:34]MH_I2C_Read... [16:28:34]Read from MH i2c: 01 07 00 [16:28:34]MH_I2C_Read... [16:28:34]Read from MH i2c: 01 07 00 15 02 00 00 00 00 00 21 0D 4C [16:28:34]RasterBufferAndPrint [16:28:34]line [16:28:34]line [16:28:34]line [16:28:34]line [16:28:34]line [16:28:34]written 0, free lines is 3366 [16:28:34]MH_Cut [16:28:34]Write to MH i2c: D1 01 00 1C 02 01 F0 [16:28:34]Write i2c OK [16:28:34]MH_I2C_Read... [16:28:34]Read from MH i2c: D1 [16:28:34]MH_I2C_Read... [16:28:34]Read from MH i2c: D1 01 00 [16:28:34]MH_I2C_Read... [16:28:34]Read from MH i2c: D1 01 00 1C 02 00 EF [16:28:34]Write to MH i2c: 01 00 00 1D 02 1F [16:28:34]Write i2c OK [16:28:34]MH_I2C_Read... [16:28:34]OFD Sender: No OFD packet to send [16:28:34]*** Cut start [16:28:34]*** Partial cut [16:28:34]*** CUTSNS_PIN = 1 [16:28:34]*** CUTSNS_PIN = 0 [16:28:35]*** Brake cut motor [16:28:35]Read from MH i2c: 01 [16:28:35]MH_I2C_Read... [16:28:35]*** Stop cut motor [16:28:35]*** Cut end [16:28:35]Read from MH i2c: 01 07 00 [16:28:35]MH_I2C_Read... [16:28:35]Read from MH i2c: 01 07 00 1D 02 00 00 00 00 00 FF 0F 34 [16:28:35]process_action close_receipt done [16:28:35]requested_data is exist [16:28:35]produce_requested_data [16:28:35]requested_item fm.sn is exist - process it [16:28:35]wFMCommunicate request_size=4 [16:28:35]MH_SAM_APDU [16:28:35]CAPDU: 80 11 00 00 [16:28:35]Write to MH i2c: E2 08 00 1E 02 80 11 00 00 00 00 00 00 9A [16:28:35]Write i2c OK [16:28:35]MH_I2C_Read... [16:28:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:28:35]Read from MH i2c: E2 [16:28:35]MH_I2C_Read... [16:28:35]Read from MH i2c: E2 17 00 [16:28:35]MH_I2C_Read... [16:28:35]Read from MH i2c: E2 17 00 1E 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 F6 [16:28:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 [16:28:35]wFMCommunicate OK [16:28:35]requested_item fd.num is exist - process it [16:28:35]SAM_PROTO_GetFieldsCounters [16:28:35]wFMCommunicate request_size=4 [16:28:35]MH_SAM_APDU [16:28:35]CAPDU: 80 13 00 00 [16:28:35]Write to MH i2c: E2 08 00 1F 02 80 13 00 00 00 00 00 00 9D [16:28:35]Write i2c OK [16:28:35]MH_I2C_Read... [16:28:35]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:28:35]Read from MH i2c: E2 [16:28:35]MH_I2C_Read... [16:28:35]Read from MH i2c: E2 62 00 [16:28:35]MH_I2C_Read... [16:28:35]Read from MH i2c: E2 62 00 1F 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 10 04 04 00 80 87 00 00 0E 04 04 00 70 01 00 00 12 04 04 00 20 00 00 00 5E 04 04 00 20 00 00 00 57 04 04 00 21 00 00 00 19 04 04 00 00 00 00 00 90 00 A8 [16:28:35]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 10 04 04 00 80 87 00 00 0E 04 04 00 70 01 00 00 12 04 04 00 20 00 00 00 5E 04 04 00 20 00 00 00 57 04 04 00 21 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:28:35]wFMCommunicate OK [16:28:35]SAM_PROTO_GetFieldsCounters done [16:28:35]requested_item shift.num is exist - process it [16:28:35]requested_item shift.opened is exist - process it [16:28:35]req_shift_opened [16:28:35]FM_GetShiftState [16:28:35]SAM_PROTO_GetShiftState [16:28:35]wFMCommunicate request_size=4 [16:28:35]MH_SAM_APDU [16:28:35]CAPDU: 80 13 01 00 [16:28:35]Write to MH i2c: E2 08 00 20 02 80 13 01 00 00 00 00 00 9F [16:28:35]Write i2c OK [16:28:35]MH_I2C_Read... [16:28:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:28:35]Read from MH i2c: E2 [16:28:35]MH_I2C_Read... [16:28:35]Read from MH i2c: E2 0E 00 [16:28:35]MH_I2C_Read... [16:28:35]Read from MH i2c: E2 0E 00 20 02 00 09 00 01 35 5B 5E 66 00 00 00 00 90 00 FF [16:28:35]RAPDU: 09 00 01 35 5B 5E 66 00 00 00 00 90 00 [16:28:35]wFMCommunicate OK [16:28:35]SAM_PROTO_GetShiftState done [16:28:35]FM_GetShiftState done [16:28:35]req_shift_opened done [16:28:35]requested_item shift.open_date is exist - process it [16:28:35]req_shift_open_date [16:28:35]req_shift_open_date done [16:28:35]produce_requested_data done [16:28:35]produce_requested_data return {"fm.sn":"0000000000874859","fd.num":34688,"shift.num":368,"shift.opened":1,"shift.open_date":1717459765} [16:28:35]process_action_free close_receipt [16:28:35]json_value_free [16:28:35]json_value_free done [16:28:35]process_json_proto returns [16:28:35]Send response to host [16:28:35]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874859","fd.num":34688,"shift.num":368,"shift.opened":1,"shift.open_date":1717459765}}} [16:28:35]free response buf [16:28:35]execute_script done [16:28:35]execute_script returns [16:28:35]free content buf [16:28:35]Sock 7.Close socket [16:28:35]Sock 7.Thread stoped [16:28:39]OFD Sender: No OFD packet to send [16:28:44]OFD Sender: No OFD packet to send [16:28:49]OFD Sender: No OFD packet to send [16:28:54]OFD Sender: No OFD packet to send [16:28:59]OFD Sender: No OFD packet to send [16:29:04]OFD Sender: No OFD packet to send [16:29:09]OFD Sender: No OFD packet to send [16:29:14]OFD Sender: No OFD packet to send [16:29:19]OFD Sender: No OFD packet to send [16:29:24]OFD Sender: No OFD packet to send [16:29:29]OFD Sender: No OFD packet to send [16:29:34]OFD Sender: No OFD packet to send [16:29:39]OFD Sender: No OFD packet to send [16:29:44]OFD Sender: No OFD packet to send [16:29:49]OFD Sender: No OFD packet to send [16:29:54]OFD Sender: No OFD packet to send [16:29:59]OFD Sender: No OFD packet to send [16:30:04]OFD Sender: No OFD packet to send [16:30:09]OFD Sender: No OFD packet to send [16:30:14]OFD Sender: No OFD packet to send [16:30:19]OFD Sender: No OFD packet to send [16:30:24]OFD Sender: No OFD packet to send [16:30:29]OFD Sender: No OFD packet to send [16:30:34]OFD Sender: No OFD packet to send [16:30:39]OFD Sender: No OFD packet to send [16:30:44]OFD Sender: No OFD packet to send [16:30:49]OFD Sender: No OFD packet to send [16:30:54]OFD Sender: No OFD packet to send [16:30:59]OFD Sender: No OFD packet to send [16:31:04]OFD Sender: No OFD packet to send [16:31:09]OFD Sender: No OFD packet to send [16:31:14]OFD Sender: No OFD packet to send [16:31:19]OFD Sender: No OFD packet to send [16:31:24]OFD Sender: No OFD packet to send [16:31:29]OFD Sender: No OFD packet to send [16:31:34]OFD Sender: No OFD packet to send [16:31:39]OFD Sender: No OFD packet to send [16:31:44]OFD Sender: No OFD packet to send [16:31:49]OFD Sender: No OFD packet to send [16:31:54]OFD Sender: No OFD packet to send [16:31:59]OFD Sender: No OFD packet to send [16:32:04]OFD Sender: No OFD packet to send [16:32:09]OFD Sender: No OFD packet to send [16:32:14]OFD Sender: No OFD packet to send [16:32:19]OFD Sender: No OFD packet to send [16:32:24]OFD Sender: No OFD packet to send [16:32:29]OFD Sender: No OFD packet to send [16:32:34]OFD Sender: No OFD packet to send [16:32:39]OFD Sender: No OFD packet to send [16:32:44]OFD Sender: No OFD packet to send [16:32:49]OFD Sender: No OFD packet to send [16:32:54]OFD Sender: No OFD packet to send [16:32:59]OFD Sender: No OFD packet to send [16:33:04]OFD Sender: No OFD packet to send [16:33:09]OFD Sender: No OFD packet to send [16:33:14]OFD Sender: No OFD packet to send [16:33:19]OFD Sender: No OFD packet to send [16:33:24]OFD Sender: No OFD packet to send [16:33:29]OFD Sender: No OFD packet to send [16:33:34]OFD Sender: No OFD packet to send [16:33:39]OFD Sender: No OFD packet to send [16:33:44]OFD Sender: No OFD packet to send [16:33:45]accept exits with 9 [16:33:45]New connection [16:33:45]New thread 3066592612 created [16:33:45]Thread 3066735972 joined [16:33:45]Waiting for new connection... [16:33:45] Sock 9.Parse request [16:33:45]Sock 9.Check first char [16:33:45]Sock 9.First char is OK [16:33:45]request: POST /json_proto HTTP/1.0 [16:33:45]Method: POST [16:33:45]URL: /json_proto [16:33:45]Method is POST - this is cgi request [16:33:45]url: /json_proto [16:33:45]query_string will be loaded in cgi processing [16:33:45]execute_cgi json_proto POST (null) [16:33:45]execute_cgi path=json_proto method=POST [16:33:45]POST find Content-Length [16:33:45]Host: 172.17.36.131:8080 [16:33:45]Content-Length: 215 [16:33:45]Content-Type: application/json [16:33:45] [16:33:45]POST finish read [16:33:45]Found Content-Length = 215 [16:33:45]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" ] } } [16:33:45]execute_script... [16:33:45]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" ] } } [16:33:45]POST & json_proto [16:33:45]process_json_proto [16:33:45]json parsed OK: [16:33:45]protocol is kg_v1.0 [16:33:45]action value=get_value [16:33:45]process_action get_value [16:33:45]cmd_get_value [16:33:45]process_action get_value done [16:33:45]requested_data is exist [16:33:45]produce_requested_data [16:33:45]requested_item kkm.sn is exist - process it [16:33:45]requested_item kkm.ver is exist - process it [16:33:45]requested_item fm.sn is exist - process it [16:33:45]wFMCommunicate request_size=4 [16:33:45]MH_SAM_APDU [16:33:45]CAPDU: 80 11 00 00 [16:33:45]Write to MH i2c: E2 08 00 21 02 80 11 00 00 00 00 00 00 9D [16:33:45]Write i2c OK [16:33:45]MH_I2C_Read... [16:33:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:33:46]Read from MH i2c: E2 [16:33:46]MH_I2C_Read... [16:33:46]Read from MH i2c: E2 17 00 [16:33:46]MH_I2C_Read... [16:33:46]Read from MH i2c: E2 17 00 21 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 F9 [16:33:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 [16:33:46]wFMCommunicate OK [16:33:46]requested_item fd.num is exist - process it [16:33:46]SAM_PROTO_GetFieldsCounters [16:33:46]wFMCommunicate request_size=4 [16:33:46]MH_SAM_APDU [16:33:46]CAPDU: 80 13 00 00 [16:33:46]Write to MH i2c: E2 08 00 22 02 80 13 00 00 00 00 00 00 A0 [16:33:46]Write i2c OK [16:33:46]MH_I2C_Read... [16:33:46]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:33:46]Read from MH i2c: E2 [16:33:46]MH_I2C_Read... [16:33:46]Read from MH i2c: E2 62 00 [16:33:46]MH_I2C_Read... [16:33:46]Read from MH i2c: E2 62 00 22 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 10 04 04 00 80 87 00 00 0E 04 04 00 70 01 00 00 12 04 04 00 20 00 00 00 5E 04 04 00 20 00 00 00 57 04 04 00 21 00 00 00 19 04 04 00 00 00 00 00 90 00 AB [16:33:46]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 10 04 04 00 80 87 00 00 0E 04 04 00 70 01 00 00 12 04 04 00 20 00 00 00 5E 04 04 00 20 00 00 00 57 04 04 00 21 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:33:46]wFMCommunicate OK [16:33:46]SAM_PROTO_GetFieldsCounters done [16:33:46]requested_item shift.num is exist - process it [16:33:46]requested_item shift.opened is exist - process it [16:33:46]req_shift_opened [16:33:46]FM_GetShiftState [16:33:46]SAM_PROTO_GetShiftState [16:33:46]wFMCommunicate request_size=4 [16:33:46]MH_SAM_APDU [16:33:46]CAPDU: 80 13 01 00 [16:33:46]Write to MH i2c: E2 08 00 23 02 80 13 01 00 00 00 00 00 A2 [16:33:46]Write i2c OK [16:33:46]MH_I2C_Read... [16:33:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:33:46]Read from MH i2c: E2 [16:33:46]MH_I2C_Read... [16:33:46]Read from MH i2c: E2 0E 00 [16:33:46]MH_I2C_Read... [16:33:46]Read from MH i2c: E2 0E 00 23 02 00 09 00 01 35 5B 5E 66 00 00 00 00 90 00 02 [16:33:46]RAPDU: 09 00 01 35 5B 5E 66 00 00 00 00 90 00 [16:33:46]wFMCommunicate OK [16:33:46]SAM_PROTO_GetShiftState done [16:33:46]FM_GetShiftState done [16:33:46]req_shift_opened done [16:33:46]requested_item shift.open_date is exist - process it [16:33:46]req_shift_open_date [16:33:46]req_shift_open_date done [16:33:46]produce_requested_data done [16:33:46]produce_requested_data return {"kkm.sn":"0300000080","kkm.ver":"001","fm.sn":"0000000000874859","fd.num":34688,"shift.num":368,"shift.opened":1,"shift.open_date":1717459765} [16:33:46]process_action_free get_value [16:33:46]json_value_free [16:33:46]json_value_free done [16:33:46]process_json_proto returns [16:33:46]Send response to host [16:33:46]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000080","kkm.ver":"001","fm.sn":"0000000000874859","fd.num":34688,"shift.num":368,"shift.opened":1,"shift.open_date":1717459765}}} [16:33:46]free response buf [16:33:46]execute_script done [16:33:46]execute_script returns [16:33:46]free content buf [16:33:46]Sock 9.Close socket [16:33:46]Sock 9.Thread stoped [16:33:49]accept exits with 7 [16:33:49]New connection [16:33:49]New thread 3066735972 created [16:33:49]Thread 3066592612 joined [16:33:49]Waiting for new connection... [16:33:49] Sock 7.Parse request [16:33:49]Sock 7.Check first char [16:33:49]Sock 7.First char is OK [16:33:49]request: POST /json_proto HTTP/1.0 [16:33:49]Method: POST [16:33:49]URL: /json_proto [16:33:49]Method is POST - this is cgi request [16:33:49]url: /json_proto [16:33:49]query_string will be loaded in cgi processing [16:33:49]execute_cgi json_proto POST (null) [16:33:49]execute_cgi path=json_proto method=POST [16:33:49]POST find Content-Length [16:33:49]Host: 172.17.36.131:8080 [16:33:49]Content-Length: 331 [16:33:49]Content-Type: application/json [16:33:49] [16:33:49]POST finish read [16:33:49]Found Content-Length = 331 [16:33:49]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [16:33:49]execute_script... [16:33:49]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [16:33:49]POST & json_proto [16:33:49]process_json_proto [16:33:49]json parsed OK: [16:33:49]protocol is kg_v1.0 [16:33:49]action value=get_value [16:33:49]process_action get_value [16:33:49]cmd_get_value [16:33:49]process_action get_value done [16:33:49]requested_data is exist [16:33:49]produce_requested_data [16:33:49]requested_item fm.sale.total is exist - process it [16:33:49]SAM_PROTO_GetFMData [16:33:49]wFMCommunicate request_size=4 [16:33:49]MH_SAM_APDU [16:33:49]CAPDU: 80 13 03 00 [16:33:49]Write to MH i2c: E2 08 00 24 02 80 13 03 00 00 00 00 00 A5 [16:33:49]Write i2c OK [16:33:49]MH_I2C_Read... [16:33:49]OFD Sender: No OFD packet to send [16:33:49]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [16:33:49]Read from MH i2c: E2 [16:33:49]MH_I2C_Read... [16:33:49]Read from MH i2c: E2 FD 00 [16:33:49]MH_I2C_Read... [16:33:49]Read from MH i2c: E2 FD 00 24 02 00 C4 04 85 04 C0 04 6E 04 04 00 A0 84 00 00 69 04 A0 00 6F 04 04 00 32 83 00 00 B1 04 04 00 34 C4 9E 5E 70 04 04 00 98 B1 E4 53 72 04 04 00 9C 12 BA 0A 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 62 F5 0C 0A EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 28 5F D6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 6E 01 00 00 B1 04 04 00 58 48 44 02 70 04 04 00 50 6A 39 02 72 04 03 00 08 DE 0A 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 3B A1 3D EF 03 09 00 90 00 9D [16:33:49]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 A0 84 00 00 69 04 A0 00 6F 04 04 00 32 83 00 00 B1 04 04 00 34 C4 9E 5E 70 04 04 00 98 B1 E4 53 72 04 04 00 9C 12 BA 0A 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 62 F5 0C 0A EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 28 5F D6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 6E 01 00 00 B1 04 04 00 58 48 44 02 70 04 04 00 50 6A 39 02 72 04 03 00 08 DE 0A 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 3B A1 3D EF 03 09 00 90 00 [16:33:49]wFMCommunicate OK [16:33:49]wFMCommunicate request_size=4 [16:33:49]MH_SAM_APDU [16:33:49]CAPDU: 80 17 00 00 [16:33:49]Write to MH i2c: E2 08 00 25 02 80 17 00 00 00 00 00 00 A7 [16:33:49]Write i2c OK [16:33:49]MH_I2C_Read... [16:33:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:33:50]Read from MH i2c: E2 [16:33:50]MH_I2C_Read... [16:33:50]Read from MH i2c: E2 FD 00 [16:33:50]MH_I2C_Read... [16:33:50]Read from MH i2c: E2 FD 00 25 02 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 9B 22 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 1F [16:33:50]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 9B 22 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [16:33:50]wFMCommunicate OK [16:33:50]wFMCommunicate request_size=4 [16:33:50]MH_SAM_APDU [16:33:50]CAPDU: 80 17 00 00 [16:33:50]Write to MH i2c: E2 08 00 26 02 80 17 00 00 00 00 00 00 A8 [16:33:50]Write i2c OK [16:33:50]MH_I2C_Read... [16:33:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:33:50]Read from MH i2c: E2 [16:33:50]MH_I2C_Read... [16:33:50]Read from MH i2c: E2 FD 00 [16:33:50]MH_I2C_Read... [16:33:50]Read from MH i2c: E2 FD 00 26 02 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 BD [16:33:50]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [16:33:50]wFMCommunicate OK [16:33:50]wFMCommunicate request_size=4 [16:33:50]MH_SAM_APDU [16:33:50]CAPDU: 80 17 00 00 [16:33:50]Write to MH i2c: E2 08 00 27 02 80 17 00 00 00 00 00 00 A9 [16:33:50]Write i2c OK [16:33:50]MH_I2C_Read... [16:33:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:33:50]Read from MH i2c: E2 [16:33:50]MH_I2C_Read... [16:33:50]Read from MH i2c: E2 FD 00 [16:33:50]MH_I2C_Read... [16:33:50]Read from MH i2c: E2 FD 00 27 02 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 21 [16:33:50]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [16:33:50]wFMCommunicate OK [16:33:50]wFMCommunicate request_size=4 [16:33:50]MH_SAM_APDU [16:33:50]CAPDU: 80 17 00 00 [16:33:50]Write to MH i2c: E2 08 00 28 02 80 17 00 00 00 00 00 00 AA [16:33:50]Write i2c OK [16:33:50]MH_I2C_Read... [16:33:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [16:33:50]Read from MH i2c: E2 [16:33:50]MH_I2C_Read... [16:33:50]Read from MH i2c: E2 E1 00 [16:33:50]MH_I2C_Read... [16:33:50]Read from MH i2c: E2 E1 00 28 02 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 98 [16:33:50]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [16:33:50]wFMCommunicate OK [16:33:50]SAM_PROTO_GetFMData done [16:33:50]requested_item fm.sale_refund.total is exist - process it [16:33:50]requested_item fm.buy.total is exist - process it [16:33:50]requested_item shift.sale.total is exist - process it [16:33:50]SAM_PROTO_GetShiftData [16:33:50]wFMCommunicate request_size=4 [16:33:50]MH_SAM_APDU [16:33:50]CAPDU: 80 13 02 00 [16:33:50]Write to MH i2c: E2 08 00 29 02 80 13 02 00 00 00 00 00 A9 [16:33:50]Write i2c OK [16:33:50]MH_I2C_Read... [16:33:51]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [16:33:51]Read from MH i2c: E2 [16:33:51]MH_I2C_Read... [16:33:51]Read from MH i2c: E2 FD 00 [16:33:51]MH_I2C_Read... [16:33:51]Read from MH i2c: E2 FD 00 29 02 00 AD 04 AA 04 A9 04 6E 04 04 00 20 00 00 00 69 04 9A 00 6F 04 04 00 20 00 00 00 B1 04 03 00 40 BD 07 70 04 03 00 60 E5 05 72 04 03 00 E0 D7 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 62 D2 EF 03 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 11 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 75 [16:33:51]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 20 00 00 00 69 04 9A 00 6F 04 04 00 20 00 00 00 B1 04 03 00 40 BD 07 70 04 03 00 60 E5 05 72 04 03 00 E0 D7 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 62 D2 EF 03 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 11 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 [16:33:51]wFMCommunicate OK [16:33:51]wFMCommunicate request_size=4 [16:33:51]MH_SAM_APDU [16:33:51]CAPDU: 80 17 00 00 [16:33:51]Write to MH i2c: E2 08 00 2A 02 80 17 00 00 00 00 00 00 AC [16:33:51]Write i2c OK [16:33:51]MH_I2C_Read... [16:33:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:33:51]Read from MH i2c: E2 [16:33:51]MH_I2C_Read... [16:33:51]Read from MH i2c: E2 FD 00 [16:33:51]MH_I2C_Read... [16:33:51]Read from MH i2c: E2 FD 00 2A 02 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 BE [16:33:51]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 [16:33:51]wFMCommunicate OK [16:33:51]wFMCommunicate request_size=4 [16:33:51]MH_SAM_APDU [16:33:51]CAPDU: 80 17 00 00 [16:33:51]Write to MH i2c: E2 08 00 2B 02 80 17 00 00 00 00 00 00 AD [16:33:51]Write i2c OK [16:33:51]MH_I2C_Read... [16:33:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:33:51]Read from MH i2c: E2 [16:33:51]MH_I2C_Read... [16:33:51]Read from MH i2c: E2 FD 00 [16:33:51]MH_I2C_Read... [16:33:51]Read from MH i2c: E2 FD 00 2B 02 00 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 71 [16:33:51]RAPDU: 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 [16:33:51]wFMCommunicate OK [16:33:51]wFMCommunicate request_size=4 [16:33:51]MH_SAM_APDU [16:33:51]CAPDU: 80 17 00 00 [16:33:51]Write to MH i2c: E2 08 00 2C 02 80 17 00 00 00 00 00 00 AE [16:33:51]Write i2c OK [16:33:51]MH_I2C_Read... [16:33:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:33:52]Read from MH i2c: E2 [16:33:52]MH_I2C_Read... [16:33:52]Read from MH i2c: E2 FD 00 [16:33:52]MH_I2C_Read... [16:33:52]Read from MH i2c: E2 FD 00 2C 02 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 23 [16:33:52]RAPDU: 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 [16:33:52]wFMCommunicate OK [16:33:52]wFMCommunicate request_size=4 [16:33:52]MH_SAM_APDU [16:33:52]CAPDU: 80 17 00 00 [16:33:52]Write to MH i2c: E2 08 00 2D 02 80 17 00 00 00 00 00 00 AF [16:33:52]Write i2c OK [16:33:52]MH_I2C_Read... [16:33:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [16:33:52]Read from MH i2c: E2 [16:33:52]MH_I2C_Read... [16:33:52]Read from MH i2c: E2 CA 00 [16:33:52]MH_I2C_Read... [16:33:52]Read from MH i2c: E2 CA 00 2D 02 00 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 94 [16:33:52]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [16:33:52]wFMCommunicate OK [16:33:52]SAM_PROTO_GetShiftData done [16:33:52]requested_item shift.sale.total_cash is exist - process it [16:33:52]requested_item shift.sale_refund.total is exist - process it [16:33:52]requested_item shift.sale_refund.total_cash is exist - process it [16:33:52]requested_item shift.buy.total is exist - process it [16:33:52]requested_item shift.buy.total_cash is exist - process it [16:33:52]produce_requested_data done [16:33:52]produce_requested_data return {"fm.sale.total":15874632.20,"fm.sale_refund.total":380294.00,"fm.buy.total":0.00,"shift.sale.total":5072.00,"shift.sale.total_cash":3864.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} [16:33:52]process_action_free get_value [16:33:52]json_value_free [16:33:52]json_value_free done [16:33:52]process_json_proto returns [16:33:52]Send response to host [16:33:52]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":15874632.20,"fm.sale_refund.total":380294.00,"fm.buy.total":0.00,"shift.sale.total":5072.00,"shift.sale.total_cash":3864.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}}} [16:33:52]free response buf [16:33:52]execute_script done [16:33:52]execute_script returns [16:33:52]free content buf [16:33:52]Sock 7.Close socket [16:33:52]Sock 7.Thread stoped [16:33:54]OFD Sender: No OFD packet to send [16:33:59]OFD Sender: No OFD packet to send [16:34:04]OFD Sender: No OFD packet to send [16:34:09]OFD Sender: No OFD packet to send [16:34:14]OFD Sender: No OFD packet to send [16:34:19]OFD Sender: No OFD packet to send [16:34:24]OFD Sender: No OFD packet to send [16:34:29]OFD Sender: No OFD packet to send [16:34:34]OFD Sender: No OFD packet to send [16:34:39]OFD Sender: No OFD packet to send [16:34:44]OFD Sender: No OFD packet to send [16:34:49]OFD Sender: No OFD packet to send [16:34:54]OFD Sender: No OFD packet to send [16:34:59]OFD Sender: No OFD packet to send [16:35:04]OFD Sender: No OFD packet to send [16:35:09]OFD Sender: No OFD packet to send [16:35:14]OFD Sender: No OFD packet to send [16:35:19]OFD Sender: No OFD packet to send [16:35:24]OFD Sender: No OFD packet to send [16:35:29]OFD Sender: No OFD packet to send [16:35:34]OFD Sender: No OFD packet to send [16:35:39]OFD Sender: No OFD packet to send [16:35:44]OFD Sender: No OFD packet to send [16:35:49]OFD Sender: No OFD packet to send [16:35:54]OFD Sender: No OFD packet to send [16:35:59]OFD Sender: No OFD packet to send [16:36:04]OFD Sender: No OFD packet to send [16:36:09]OFD Sender: No OFD packet to send [16:36:14]OFD Sender: No OFD packet to send [16:36:19]OFD Sender: No OFD packet to send [16:36:24]OFD Sender: No OFD packet to send [16:36:29]OFD Sender: No OFD packet to send [16:36:34]OFD Sender: No OFD packet to send [16:36:39]OFD Sender: No OFD packet to send [16:36:44]OFD Sender: No OFD packet to send [16:36:49]OFD Sender: No OFD packet to send [16:36:54]OFD Sender: No OFD packet to send [16:37:00]OFD Sender: No OFD packet to send [16:37:05]OFD Sender: No OFD packet to send [16:37:10]OFD Sender: No OFD packet to send [16:37:15]OFD Sender: No OFD packet to send [16:37:20]OFD Sender: No OFD packet to send [16:37:25]OFD Sender: No OFD packet to send [16:37:30]OFD Sender: No OFD packet to send [16:37:35]OFD Sender: No OFD packet to send [16:37:40]OFD Sender: No OFD packet to send [16:37:45]OFD Sender: No OFD packet to send [16:37:50]OFD Sender: No OFD packet to send [16:37:55]OFD Sender: No OFD packet to send [16:38:00]OFD Sender: No OFD packet to send [16:38:05]OFD Sender: No OFD packet to send [16:38:10]OFD Sender: No OFD packet to send [16:38:15]OFD Sender: No OFD packet to send [16:38:20]OFD Sender: No OFD packet to send [16:38:25]OFD Sender: No OFD packet to send [16:38:30]OFD Sender: No OFD packet to send [16:38:35]OFD Sender: No OFD packet to send [16:38:40]OFD Sender: No OFD packet to send [16:38:45]OFD Sender: No OFD packet to send [16:38:50]OFD Sender: No OFD packet to send [16:38:55]OFD Sender: No OFD packet to send [16:39:00]OFD Sender: No OFD packet to send [16:39:05]OFD Sender: No OFD packet to send [16:39:10]OFD Sender: No OFD packet to send [16:39:15]OFD Sender: No OFD packet to send [16:39:20]OFD Sender: No OFD packet to send [16:39:25]OFD Sender: No OFD packet to send [16:39:30]OFD Sender: No OFD packet to send [16:39:35]OFD Sender: No OFD packet to send [16:39:40]OFD Sender: No OFD packet to send [16:39:45]OFD Sender: No OFD packet to send [16:39:50]OFD Sender: No OFD packet to send [16:39:55]OFD Sender: No OFD packet to send [16:40:00]OFD Sender: No OFD packet to send [16:40:05]OFD Sender: No OFD packet to send [16:40:10]OFD Sender: No OFD packet to send [16:40:15]OFD Sender: No OFD packet to send [16:40:20]OFD Sender: No OFD packet to send [16:40:25]OFD Sender: No OFD packet to send [16:40:30]OFD Sender: No OFD packet to send [16:40:35]OFD Sender: No OFD packet to send [16:40:40]OFD Sender: No OFD packet to send [16:40:45]OFD Sender: No OFD packet to send [16:40:50]OFD Sender: No OFD packet to send [16:40:55]OFD Sender: No OFD packet to send [16:41:00]OFD Sender: No OFD packet to send [16:41:05]OFD Sender: No OFD packet to send [16:41:10]OFD Sender: No OFD packet to send [16:41:15]OFD Sender: No OFD packet to send [16:41:20]OFD Sender: No OFD packet to send [16:41:25]OFD Sender: No OFD packet to send [16:41:30]OFD Sender: No OFD packet to send [16:41:35]OFD Sender: No OFD packet to send [16:41:40]OFD Sender: No OFD packet to send [16:41:45]OFD Sender: No OFD packet to send [16:41:50]OFD Sender: No OFD packet to send [16:41:55]OFD Sender: No OFD packet to send [16:42:00]OFD Sender: No OFD packet to send [16:42:05]OFD Sender: No OFD packet to send [16:42:10]OFD Sender: No OFD packet to send [16:42:15]OFD Sender: No OFD packet to send [16:42:20]OFD Sender: No OFD packet to send [16:42:25]OFD Sender: No OFD packet to send [16:42:30]OFD Sender: No OFD packet to send [16:42:35]OFD Sender: No OFD packet to send [16:42:40]OFD Sender: No OFD packet to send [16:42:45]OFD Sender: No OFD packet to send [16:42:50]OFD Sender: No OFD packet to send [16:42:55]OFD Sender: No OFD packet to send [16:43:00]OFD Sender: No OFD packet to send [16:43:05]OFD Sender: No OFD packet to send [16:43:10]OFD Sender: No OFD packet to send [16:43:15]OFD Sender: No OFD packet to send [16:43:20]OFD Sender: No OFD packet to send [16:43:25]OFD Sender: No OFD packet to send [16:43:30]OFD Sender: No OFD packet to send [16:43:35]OFD Sender: No OFD packet to send [16:43:40]OFD Sender: No OFD packet to send [16:43:45]OFD Sender: No OFD packet to send [16:43:50]OFD Sender: No OFD packet to send [16:43:55]OFD Sender: No OFD packet to send [16:44:00]OFD Sender: No OFD packet to send [16:44:05]OFD Sender: No OFD packet to send [16:44:10]OFD Sender: No OFD packet to send [16:44:15]OFD Sender: No OFD packet to send [16:44:20]OFD Sender: No OFD packet to send [16:44:25]OFD Sender: No OFD packet to send [16:44:30]OFD Sender: No OFD packet to send [16:44:35]OFD Sender: No OFD packet to send [16:44:40]OFD Sender: No OFD packet to send [16:44:45]OFD Sender: No OFD packet to send [16:44:50]OFD Sender: No OFD packet to send [16:44:55]OFD Sender: No OFD packet to send [16:45:00]OFD Sender: No OFD packet to send [16:45:05]OFD Sender: No OFD packet to send [16:45:10]OFD Sender: No OFD packet to send [16:45:15]OFD Sender: No OFD packet to send [16:45:20]OFD Sender: No OFD packet to send [16:45:25]OFD Sender: No OFD packet to send [16:45:30]OFD Sender: No OFD packet to send [16:45:35]OFD Sender: No OFD packet to send [16:45:40]OFD Sender: No OFD packet to send [16:45:45]OFD Sender: No OFD packet to send [16:45:50]OFD Sender: No OFD packet to send [16:45:55]OFD Sender: No OFD packet to send [16:46:00]OFD Sender: No OFD packet to send [16:46:05]OFD Sender: No OFD packet to send [16:46:10]OFD Sender: No OFD packet to send [16:46:15]OFD Sender: No OFD packet to send [16:46:20]OFD Sender: No OFD packet to send [16:46:25]OFD Sender: No OFD packet to send [16:46:30]OFD Sender: No OFD packet to send [16:46:35]OFD Sender: No OFD packet to send [16:46:40]OFD Sender: No OFD packet to send [16:46:45]OFD Sender: No OFD packet to send [16:46:50]OFD Sender: No OFD packet to send [16:46:55]OFD Sender: No OFD packet to send [16:47:00]OFD Sender: No OFD packet to send [16:47:05]OFD Sender: No OFD packet to send [16:47:10]OFD Sender: No OFD packet to send [16:47:15]OFD Sender: No OFD packet to send [16:47:20]OFD Sender: No OFD packet to send [16:47:25]OFD Sender: No OFD packet to send [16:47:30]OFD Sender: No OFD packet to send [16:47:35]OFD Sender: No OFD packet to send [16:47:40]OFD Sender: No OFD packet to send [16:47:45]OFD Sender: No OFD packet to send [16:47:50]OFD Sender: No OFD packet to send [16:47:55]OFD Sender: No OFD packet to send [16:48:00]OFD Sender: No OFD packet to send [16:48:05]OFD Sender: No OFD packet to send [16:48:10]OFD Sender: No OFD packet to send [16:48:15]OFD Sender: No OFD packet to send [16:48:20]OFD Sender: No OFD packet to send [16:48:25]OFD Sender: No OFD packet to send [16:48:30]OFD Sender: No OFD packet to send [16:48:35]OFD Sender: No OFD packet to send [16:48:40]OFD Sender: No OFD packet to send [16:48:45]OFD Sender: No OFD packet to send [16:48:50]OFD Sender: No OFD packet to send [16:48:55]OFD Sender: No OFD packet to send [16:49:00]OFD Sender: No OFD packet to send [16:49:05]OFD Sender: No OFD packet to send [16:49:10]OFD Sender: No OFD packet to send [16:49:15]OFD Sender: No OFD packet to send [16:49:20]OFD Sender: No OFD packet to send [16:49:25]OFD Sender: No OFD packet to send [16:49:30]OFD Sender: No OFD packet to send [16:49:35]OFD Sender: No OFD packet to send [16:49:40]OFD Sender: No OFD packet to send [16:49:45]OFD Sender: No OFD packet to send [16:49:50]OFD Sender: No OFD packet to send [16:49:55]OFD Sender: No OFD packet to send [16:50:00]OFD Sender: No OFD packet to send [16:50:05]OFD Sender: No OFD packet to send [16:50:10]OFD Sender: No OFD packet to send [16:50:15]OFD Sender: No OFD packet to send [16:50:20]OFD Sender: No OFD packet to send [16:50:25]OFD Sender: No OFD packet to send [16:50:30]OFD Sender: No OFD packet to send [16:50:35]OFD Sender: No OFD packet to send [16:50:40]OFD Sender: No OFD packet to send [16:50:45]OFD Sender: No OFD packet to send [16:50:50]OFD Sender: No OFD packet to send [16:50:55]OFD Sender: No OFD packet to send [16:51:00]OFD Sender: No OFD packet to send [16:51:05]OFD Sender: No OFD packet to send [16:51:10]OFD Sender: No OFD packet to send [16:51:15]OFD Sender: No OFD packet to send [16:51:20]OFD Sender: No OFD packet to send [16:51:25]OFD Sender: No OFD packet to send [16:51:30]OFD Sender: No OFD packet to send [16:51:35]OFD Sender: No OFD packet to send [16:51:40]OFD Sender: No OFD packet to send [16:51:45]OFD Sender: No OFD packet to send [16:51:50]OFD Sender: No OFD packet to send [16:51:55]OFD Sender: No OFD packet to send [16:52:00]OFD Sender: No OFD packet to send [16:52:05]OFD Sender: No OFD packet to send [16:52:10]OFD Sender: No OFD packet to send [16:52:15]OFD Sender: No OFD packet to send [16:52:20]OFD Sender: No OFD packet to send [16:52:25]OFD Sender: No OFD packet to send [16:52:30]OFD Sender: No OFD packet to send [16:52:35]OFD Sender: No OFD packet to send [16:52:40]OFD Sender: No OFD packet to send [16:52:45]OFD Sender: No OFD packet to send [16:52:50]OFD Sender: No OFD packet to send [16:52:55]OFD Sender: No OFD packet to send [16:53:00]OFD Sender: No OFD packet to send [16:53:05]OFD Sender: No OFD packet to send [16:53:10]OFD Sender: No OFD packet to send [16:53:15]OFD Sender: No OFD packet to send [16:53:20]OFD Sender: No OFD packet to send [16:53:25]OFD Sender: No OFD packet to send [16:53:30]OFD Sender: No OFD packet to send [16:53:35]OFD Sender: No OFD packet to send [16:53:40]OFD Sender: No OFD packet to send [16:53:45]OFD Sender: No OFD packet to send [16:53:50]OFD Sender: No OFD packet to send [16:53:55]OFD Sender: No OFD packet to send [16:54:00]OFD Sender: No OFD packet to send [16:54:05]OFD Sender: No OFD packet to send [16:54:10]OFD Sender: No OFD packet to send [16:54:15]OFD Sender: No OFD packet to send [16:54:20]OFD Sender: No OFD packet to send [16:54:25]OFD Sender: No OFD packet to send [16:54:30]OFD Sender: No OFD packet to send [16:54:35]OFD Sender: No OFD packet to send [16:54:40]OFD Sender: No OFD packet to send [16:54:45]OFD Sender: No OFD packet to send [16:54:50]OFD Sender: No OFD packet to send [16:54:55]OFD Sender: No OFD packet to send [16:55:00]OFD Sender: No OFD packet to send [16:55:05]OFD Sender: No OFD packet to send [16:55:10]OFD Sender: No OFD packet to send [16:55:15]OFD Sender: No OFD packet to send [16:55:20]OFD Sender: No OFD packet to send [16:55:25]OFD Sender: No OFD packet to send [16:55:30]OFD Sender: No OFD packet to send [16:55:35]OFD Sender: No OFD packet to send [16:55:40]OFD Sender: No OFD packet to send [16:55:45]OFD Sender: No OFD packet to send [16:55:50]OFD Sender: No OFD packet to send [16:55:55]OFD Sender: No OFD packet to send [16:56:00]OFD Sender: No OFD packet to send [16:56:05]OFD Sender: No OFD packet to send [16:56:10]OFD Sender: No OFD packet to send [16:56:15]OFD Sender: No OFD packet to send [16:56:20]OFD Sender: No OFD packet to send [16:56:25]OFD Sender: No OFD packet to send [16:56:30]OFD Sender: No OFD packet to send [16:56:35]OFD Sender: No OFD packet to send [16:56:40]OFD Sender: No OFD packet to send [16:56:45]OFD Sender: No OFD packet to send [16:56:50]OFD Sender: No OFD packet to send [16:56:55]OFD Sender: No OFD packet to send [16:57:00]OFD Sender: No OFD packet to send [16:57:05]OFD Sender: No OFD packet to send [16:57:10]OFD Sender: No OFD packet to send [16:57:15]OFD Sender: No OFD packet to send [16:57:20]OFD Sender: No OFD packet to send [16:57:25]OFD Sender: No OFD packet to send [16:57:30]OFD Sender: No OFD packet to send [16:57:35]OFD Sender: No OFD packet to send [16:57:40]OFD Sender: No OFD packet to send [16:57:46]OFD Sender: No OFD packet to send [16:57:51]OFD Sender: No OFD packet to send [16:57:56]OFD Sender: No OFD packet to send [16:58:01]OFD Sender: No OFD packet to send [16:58:06]OFD Sender: No OFD packet to send [16:58:11]OFD Sender: No OFD packet to send [16:58:16]OFD Sender: No OFD packet to send [16:58:21]OFD Sender: No OFD packet to send [16:58:26]OFD Sender: No OFD packet to send [16:58:31]OFD Sender: No OFD packet to send [16:58:36]OFD Sender: No OFD packet to send [16:58:41]OFD Sender: No OFD packet to send [16:58:46]OFD Sender: No OFD packet to send [16:58:51]OFD Sender: No OFD packet to send [16:58:56]OFD Sender: No OFD packet to send [16:59:01]OFD Sender: No OFD packet to send [16:59:06]OFD Sender: No OFD packet to send [16:59:11]OFD Sender: No OFD packet to send [16:59:16]OFD Sender: No OFD packet to send [16:59:21]OFD Sender: No OFD packet to send [16:59:26]OFD Sender: No OFD packet to send [16:59:31]OFD Sender: No OFD packet to send [16:59:36]OFD Sender: No OFD packet to send [16:59:41]OFD Sender: No OFD packet to send [16:59:46]OFD Sender: No OFD packet to send [16:59:51]OFD Sender: No OFD packet to send [16:59:56]OFD Sender: No OFD packet to send [17:00:01]OFD Sender: No OFD packet to send [17:00:01]accept exits with 9 [17:00:01]New connection [17:00:01]New thread 3066592612 created [17:00:01]Thread 3066735972 joined [17:00:01]Waiting for new connection... [17:00:01] Sock 9.Parse request [17:00:01]Sock 9.Check first char [17:00:01]Sock 9.First char is OK [17:00:01]request: POST /json_proto HTTP/1.0 [17:00:01]Method: POST [17:00:01]URL: /json_proto [17:00:01]Method is POST - this is cgi request [17:00:01]url: /json_proto [17:00:01]query_string will be loaded in cgi processing [17:00:01]execute_cgi json_proto POST (null) [17:00:01]execute_cgi path=json_proto method=POST [17:00:01]POST find Content-Length [17:00:01]Host: 172.17.36.131:8080 [17:00:01]Content-Length: 215 [17:00:01]Content-Type: application/json [17:00:01] [17:00:01]POST finish read [17:00:01]Found Content-Length = 215 [17:00:01]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:00:01]execute_script... [17:00:01]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:00:01]POST & json_proto [17:00:01]process_json_proto [17:00:01]json parsed OK: [17:00:01]protocol is kg_v1.0 [17:00:01]action value=get_value [17:00:01]process_action get_value [17:00:01]cmd_get_value [17:00:01]process_action get_value done [17:00:01]requested_data is exist [17:00:01]produce_requested_data [17:00:01]requested_item kkm.sn is exist - process it [17:00:01]requested_item kkm.ver is exist - process it [17:00:01]requested_item fm.sn is exist - process it [17:00:01]wFMCommunicate request_size=4 [17:00:01]MH_SAM_APDU [17:00:01]CAPDU: 80 11 00 00 [17:00:01]Write to MH i2c: E2 08 00 2E 02 80 11 00 00 00 00 00 00 AA [17:00:01]Write i2c OK [17:00:01]MH_I2C_Read... [17:00:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:00:01]Read from MH i2c: E2 [17:00:01]MH_I2C_Read... [17:00:01]Read from MH i2c: E2 17 00 [17:00:01]MH_I2C_Read... [17:00:01]Read from MH i2c: E2 17 00 2E 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 06 [17:00:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 [17:00:01]wFMCommunicate OK [17:00:01]requested_item fd.num is exist - process it [17:00:01]SAM_PROTO_GetFieldsCounters [17:00:01]wFMCommunicate request_size=4 [17:00:01]MH_SAM_APDU [17:00:01]CAPDU: 80 13 00 00 [17:00:01]Write to MH i2c: E2 08 00 2F 02 80 13 00 00 00 00 00 00 AD [17:00:01]Write i2c OK [17:00:01]MH_I2C_Read... [17:00:02]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:00:02]Read from MH i2c: E2 [17:00:02]MH_I2C_Read... [17:00:02]Read from MH i2c: E2 62 00 [17:00:02]MH_I2C_Read... [17:00:02]Read from MH i2c: E2 62 00 2F 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 10 04 04 00 80 87 00 00 0E 04 04 00 70 01 00 00 12 04 04 00 20 00 00 00 5E 04 04 00 20 00 00 00 57 04 04 00 21 00 00 00 19 04 04 00 00 00 00 00 90 00 B8 [17:00:02]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 10 04 04 00 80 87 00 00 0E 04 04 00 70 01 00 00 12 04 04 00 20 00 00 00 5E 04 04 00 20 00 00 00 57 04 04 00 21 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:00:02]wFMCommunicate OK [17:00:02]SAM_PROTO_GetFieldsCounters done [17:00:02]requested_item shift.num is exist - process it [17:00:02]requested_item shift.opened is exist - process it [17:00:02]req_shift_opened [17:00:02]FM_GetShiftState [17:00:02]SAM_PROTO_GetShiftState [17:00:02]wFMCommunicate request_size=4 [17:00:02]MH_SAM_APDU [17:00:02]CAPDU: 80 13 01 00 [17:00:02]Write to MH i2c: E2 08 00 30 02 80 13 01 00 00 00 00 00 AF [17:00:02]Write i2c OK [17:00:02]MH_I2C_Read... [17:00:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:00:02]Read from MH i2c: E2 [17:00:02]MH_I2C_Read... [17:00:02]Read from MH i2c: E2 0E 00 [17:00:02]MH_I2C_Read... [17:00:02]Read from MH i2c: E2 0E 00 30 02 00 09 00 01 35 5B 5E 66 00 00 00 00 90 00 0F [17:00:02]RAPDU: 09 00 01 35 5B 5E 66 00 00 00 00 90 00 [17:00:02]wFMCommunicate OK [17:00:02]SAM_PROTO_GetShiftState done [17:00:02]FM_GetShiftState done [17:00:02]req_shift_opened done [17:00:02]requested_item shift.open_date is exist - process it [17:00:02]req_shift_open_date [17:00:02]req_shift_open_date done [17:00:02]produce_requested_data done [17:00:02]produce_requested_data return {"kkm.sn":"0300000080","kkm.ver":"001","fm.sn":"0000000000874859","fd.num":34688,"shift.num":368,"shift.opened":1,"shift.open_date":1717459765} [17:00:02]process_action_free get_value [17:00:02]json_value_free [17:00:02]json_value_free done [17:00:02]process_json_proto returns [17:00:02]Send response to host [17:00:02]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000080","kkm.ver":"001","fm.sn":"0000000000874859","fd.num":34688,"shift.num":368,"shift.opened":1,"shift.open_date":1717459765}}} [17:00:02]free response buf [17:00:02]execute_script done [17:00:02]execute_script returns [17:00:02]free content buf [17:00:02]Sock 9.Close socket [17:00:02]Sock 9.Thread stoped [17:00:02]accept exits with 7 [17:00:02]New connection [17:00:02]New thread 3066735972 created [17:00:02]Thread 3066592612 joined [17:00:02]Waiting for new connection... [17:00:02] Sock 7.Parse request [17:00:02]Sock 7.Check first char [17:00:02]Sock 7.First char is OK [17:00:02]request: POST /json_proto HTTP/1.0 [17:00:02]Method: POST [17:00:02]URL: /json_proto [17:00:02]Method is POST - this is cgi request [17:00:02]url: /json_proto [17:00:02]query_string will be loaded in cgi processing [17:00:02]execute_cgi json_proto POST (null) [17:00:02]execute_cgi path=json_proto method=POST [17:00:02]POST find Content-Length [17:00:02]Host: 172.17.36.131:8080 [17:00:02]Content-Length: 331 [17:00:02]Content-Type: application/json [17:00:02] [17:00:02]POST finish read [17:00:02]Found Content-Length = 331 [17:00:02]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [17:00:02]execute_script... [17:00:02]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [17:00:02]POST & json_proto [17:00:02]process_json_proto [17:00:02]json parsed OK: [17:00:02]protocol is kg_v1.0 [17:00:02]action value=get_value [17:00:02]process_action get_value [17:00:02]cmd_get_value [17:00:02]process_action get_value done [17:00:02]requested_data is exist [17:00:02]produce_requested_data [17:00:02]requested_item fm.sale.total is exist - process it [17:00:02]SAM_PROTO_GetFMData [17:00:02]wFMCommunicate request_size=4 [17:00:02]MH_SAM_APDU [17:00:02]CAPDU: 80 13 03 00 [17:00:02]Write to MH i2c: E2 08 00 31 02 80 13 03 00 00 00 00 00 B2 [17:00:02]Write i2c OK [17:00:02]MH_I2C_Read... [17:00:02]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [17:00:02]Read from MH i2c: E2 [17:00:02]MH_I2C_Read... [17:00:02]Read from MH i2c: E2 FD 00 [17:00:02]MH_I2C_Read... [17:00:02]Read from MH i2c: E2 FD 00 31 02 00 C4 04 85 04 C0 04 6E 04 04 00 A0 84 00 00 69 04 A0 00 6F 04 04 00 32 83 00 00 B1 04 04 00 34 C4 9E 5E 70 04 04 00 98 B1 E4 53 72 04 04 00 9C 12 BA 0A 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 62 F5 0C 0A EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 28 5F D6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 6E 01 00 00 B1 04 04 00 58 48 44 02 70 04 04 00 50 6A 39 02 72 04 03 00 08 DE 0A 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 3B A1 3D EF 03 09 00 90 00 AA [17:00:02]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 A0 84 00 00 69 04 A0 00 6F 04 04 00 32 83 00 00 B1 04 04 00 34 C4 9E 5E 70 04 04 00 98 B1 E4 53 72 04 04 00 9C 12 BA 0A 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 62 F5 0C 0A EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 28 5F D6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 6E 01 00 00 B1 04 04 00 58 48 44 02 70 04 04 00 50 6A 39 02 72 04 03 00 08 DE 0A 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 3B A1 3D EF 03 09 00 90 00 [17:00:02]wFMCommunicate OK [17:00:02]wFMCommunicate request_size=4 [17:00:02]MH_SAM_APDU [17:00:02]CAPDU: 80 17 00 00 [17:00:02]Write to MH i2c: E2 08 00 32 02 80 17 00 00 00 00 00 00 B4 [17:00:02]Write i2c OK [17:00:02]MH_I2C_Read... [17:00:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:00:03]Read from MH i2c: E2 [17:00:03]MH_I2C_Read... [17:00:03]Read from MH i2c: E2 FD 00 [17:00:03]MH_I2C_Read... [17:00:03]Read from MH i2c: E2 FD 00 32 02 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 9B 22 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 2C [17:00:03]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 9B 22 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [17:00:03]wFMCommunicate OK [17:00:03]wFMCommunicate request_size=4 [17:00:03]MH_SAM_APDU [17:00:03]CAPDU: 80 17 00 00 [17:00:03]Write to MH i2c: E2 08 00 33 02 80 17 00 00 00 00 00 00 B5 [17:00:03]Write i2c OK [17:00:03]MH_I2C_Read... [17:00:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:00:03]Read from MH i2c: E2 [17:00:03]MH_I2C_Read... [17:00:03]Read from MH i2c: E2 FD 00 [17:00:03]MH_I2C_Read... [17:00:03]Read from MH i2c: E2 FD 00 33 02 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 CA [17:00:03]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [17:00:03]wFMCommunicate OK [17:00:03]wFMCommunicate request_size=4 [17:00:03]MH_SAM_APDU [17:00:03]CAPDU: 80 17 00 00 [17:00:03]Write to MH i2c: E2 08 00 34 02 80 17 00 00 00 00 00 00 B6 [17:00:03]Write i2c OK [17:00:03]MH_I2C_Read... [17:00:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:00:03]Read from MH i2c: E2 [17:00:03]MH_I2C_Read... [17:00:03]Read from MH i2c: E2 FD 00 [17:00:03]MH_I2C_Read... [17:00:03]Read from MH i2c: E2 FD 00 34 02 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 2E [17:00:03]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [17:00:03]wFMCommunicate OK [17:00:03]wFMCommunicate request_size=4 [17:00:03]MH_SAM_APDU [17:00:03]CAPDU: 80 17 00 00 [17:00:03]Write to MH i2c: E2 08 00 35 02 80 17 00 00 00 00 00 00 B7 [17:00:03]Write i2c OK [17:00:03]MH_I2C_Read... [17:00:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [17:00:03]Read from MH i2c: E2 [17:00:03]MH_I2C_Read... [17:00:03]Read from MH i2c: E2 E1 00 [17:00:03]MH_I2C_Read... [17:00:03]Read from MH i2c: E2 E1 00 35 02 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 A5 [17:00:03]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [17:00:03]wFMCommunicate OK [17:00:03]SAM_PROTO_GetFMData done [17:00:03]requested_item fm.sale_refund.total is exist - process it [17:00:03]requested_item fm.buy.total is exist - process it [17:00:03]requested_item shift.sale.total is exist - process it [17:00:03]SAM_PROTO_GetShiftData [17:00:03]wFMCommunicate request_size=4 [17:00:03]MH_SAM_APDU [17:00:03]CAPDU: 80 13 02 00 [17:00:03]Write to MH i2c: E2 08 00 36 02 80 13 02 00 00 00 00 00 B6 [17:00:03]Write i2c OK [17:00:03]MH_I2C_Read... [17:00:04]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [17:00:04]Read from MH i2c: E2 [17:00:04]MH_I2C_Read... [17:00:04]Read from MH i2c: E2 FD 00 [17:00:04]MH_I2C_Read... [17:00:04]Read from MH i2c: E2 FD 00 36 02 00 AD 04 AA 04 A9 04 6E 04 04 00 20 00 00 00 69 04 9A 00 6F 04 04 00 20 00 00 00 B1 04 03 00 40 BD 07 70 04 03 00 60 E5 05 72 04 03 00 E0 D7 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 62 D2 EF 03 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 11 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 82 [17:00:04]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 20 00 00 00 69 04 9A 00 6F 04 04 00 20 00 00 00 B1 04 03 00 40 BD 07 70 04 03 00 60 E5 05 72 04 03 00 E0 D7 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 62 D2 EF 03 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 11 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 [17:00:04]wFMCommunicate OK [17:00:04]wFMCommunicate request_size=4 [17:00:04]MH_SAM_APDU [17:00:04]CAPDU: 80 17 00 00 [17:00:04]Write to MH i2c: E2 08 00 37 02 80 17 00 00 00 00 00 00 B9 [17:00:04]Write i2c OK [17:00:04]MH_I2C_Read... [17:00:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:00:04]Read from MH i2c: E2 [17:00:04]MH_I2C_Read... [17:00:04]Read from MH i2c: E2 FD 00 [17:00:04]MH_I2C_Read... [17:00:04]Read from MH i2c: E2 FD 00 37 02 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 CB [17:00:04]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 [17:00:04]wFMCommunicate OK [17:00:04]wFMCommunicate request_size=4 [17:00:04]MH_SAM_APDU [17:00:04]CAPDU: 80 17 00 00 [17:00:04]Write to MH i2c: E2 08 00 38 02 80 17 00 00 00 00 00 00 BA [17:00:04]Write i2c OK [17:00:04]MH_I2C_Read... [17:00:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:00:04]Read from MH i2c: E2 [17:00:04]MH_I2C_Read... [17:00:04]Read from MH i2c: E2 FD 00 [17:00:04]MH_I2C_Read... [17:00:04]Read from MH i2c: E2 FD 00 38 02 00 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 7E [17:00:04]RAPDU: 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 [17:00:04]wFMCommunicate OK [17:00:04]wFMCommunicate request_size=4 [17:00:04]MH_SAM_APDU [17:00:04]CAPDU: 80 17 00 00 [17:00:04]Write to MH i2c: E2 08 00 39 02 80 17 00 00 00 00 00 00 BB [17:00:04]Write i2c OK [17:00:04]MH_I2C_Read... [17:00:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:00:05]Read from MH i2c: E2 [17:00:05]MH_I2C_Read... [17:00:05]Read from MH i2c: E2 FD 00 [17:00:05]MH_I2C_Read... [17:00:05]Read from MH i2c: E2 FD 00 39 02 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 30 [17:00:05]RAPDU: 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 [17:00:05]wFMCommunicate OK [17:00:05]wFMCommunicate request_size=4 [17:00:05]MH_SAM_APDU [17:00:05]CAPDU: 80 17 00 00 [17:00:05]Write to MH i2c: E2 08 00 3A 02 80 17 00 00 00 00 00 00 BC [17:00:05]Write i2c OK [17:00:05]MH_I2C_Read... [17:00:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [17:00:05]Read from MH i2c: E2 [17:00:05]MH_I2C_Read... [17:00:05]Read from MH i2c: E2 CA 00 [17:00:05]MH_I2C_Read... [17:00:05]Read from MH i2c: E2 CA 00 3A 02 00 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 A1 [17:00:05]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [17:00:05]wFMCommunicate OK [17:00:05]SAM_PROTO_GetShiftData done [17:00:05]requested_item shift.sale.total_cash is exist - process it [17:00:05]requested_item shift.sale_refund.total is exist - process it [17:00:05]requested_item shift.sale_refund.total_cash is exist - process it [17:00:05]requested_item shift.buy.total is exist - process it [17:00:05]requested_item shift.buy.total_cash is exist - process it [17:00:05]produce_requested_data done [17:00:05]produce_requested_data return {"fm.sale.total":15874632.20,"fm.sale_refund.total":380294.00,"fm.buy.total":0.00,"shift.sale.total":5072.00,"shift.sale.total_cash":3864.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [17:00:05]process_action_free get_value [17:00:05]json_value_free [17:00:05]json_value_free done [17:00:05]process_json_proto returns [17:00:05]Send response to host [17:00:05]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":15874632.20,"fm.sale_refund.total":380294.00,"fm.buy.total":0.00,"shift.sale.total":5072.00,"shift.sale.total_cash":3864.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [17:00:05]free response buf [17:00:05]execute_script done [17:00:05]execute_script returns [17:00:05]free content buf [17:00:05]Sock 7.Close socket [17:00:05]Sock 7.Thread stoped [17:00:05]accept exits with 9 [17:00:05]New connection [17:00:05]New thread 3066592612 created [17:00:05]Thread 3066735972 joined [17:00:05]Waiting for new connection... [17:00:05] Sock 9.Parse request [17:00:05]Sock 9.Check first char [17:00:05]Sock 9.First char is OK [17:00:05]request: POST /json_proto HTTP/1.0 [17:00:05]Method: POST [17:00:05]URL: /json_proto [17:00:05]Method is POST - this is cgi request [17:00:05]url: /json_proto [17:00:05]query_string will be loaded in cgi processing [17:00:05]execute_cgi json_proto POST (null) [17:00:05]execute_cgi path=json_proto method=POST [17:00:05]POST find Content-Length [17:00:05]Host: 172.17.36.131:8080 [17:00:05]Content-Length: 331 [17:00:05]Content-Type: application/json [17:00:05] [17:00:05]POST finish read [17:00:05]Found Content-Length = 331 [17:00:05]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [17:00:05]execute_script... [17:00:05]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [17:00:05]POST & json_proto [17:00:05]process_json_proto [17:00:05]json parsed OK: [17:00:05]protocol is kg_v1.0 [17:00:05]action value=get_value [17:00:05]process_action get_value [17:00:05]cmd_get_value [17:00:05]process_action get_value done [17:00:05]requested_data is exist [17:00:05]produce_requested_data [17:00:05]requested_item fm.sale.total is exist - process it [17:00:05]SAM_PROTO_GetFMData [17:00:05]wFMCommunicate request_size=4 [17:00:05]MH_SAM_APDU [17:00:05]CAPDU: 80 13 03 00 [17:00:05]Write to MH i2c: E2 08 00 3B 02 80 13 03 00 00 00 00 00 BC [17:00:05]Write i2c OK [17:00:05]MH_I2C_Read... [17:00:06]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [17:00:06]Read from MH i2c: E2 [17:00:06]MH_I2C_Read... [17:00:06]Read from MH i2c: E2 FD 00 [17:00:06]MH_I2C_Read... [17:00:06]Read from MH i2c: E2 FD 00 3B 02 00 C4 04 85 04 C0 04 6E 04 04 00 A0 84 00 00 69 04 A0 00 6F 04 04 00 32 83 00 00 B1 04 04 00 34 C4 9E 5E 70 04 04 00 98 B1 E4 53 72 04 04 00 9C 12 BA 0A 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 62 F5 0C 0A EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 28 5F D6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 6E 01 00 00 B1 04 04 00 58 48 44 02 70 04 04 00 50 6A 39 02 72 04 03 00 08 DE 0A 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 3B A1 3D EF 03 09 00 90 00 B4 [17:00:06]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 A0 84 00 00 69 04 A0 00 6F 04 04 00 32 83 00 00 B1 04 04 00 34 C4 9E 5E 70 04 04 00 98 B1 E4 53 72 04 04 00 9C 12 BA 0A 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 62 F5 0C 0A EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 28 5F D6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 6E 01 00 00 B1 04 04 00 58 48 44 02 70 04 04 00 50 6A 39 02 72 04 03 00 08 DE 0A 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 3B A1 3D EF 03 09 00 90 00 [17:00:06]wFMCommunicate OK [17:00:06]wFMCommunicate request_size=4 [17:00:06]MH_SAM_APDU [17:00:06]CAPDU: 80 17 00 00 [17:00:06]Write to MH i2c: E2 08 00 3C 02 80 17 00 00 00 00 00 00 BE [17:00:06]Write i2c OK [17:00:06]MH_I2C_Read... [17:00:06]OFD Sender: No OFD packet to send [17:00:06]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:00:06]Read from MH i2c: E2 [17:00:06]MH_I2C_Read... [17:00:06]Read from MH i2c: E2 FD 00 [17:00:06]MH_I2C_Read... [17:00:06]Read from MH i2c: E2 FD 00 3C 02 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 9B 22 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 36 [17:00:06]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 9B 22 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [17:00:06]wFMCommunicate OK [17:00:06]wFMCommunicate request_size=4 [17:00:06]MH_SAM_APDU [17:00:06]CAPDU: 80 17 00 00 [17:00:06]Write to MH i2c: E2 08 00 3D 02 80 17 00 00 00 00 00 00 BF [17:00:06]Write i2c OK [17:00:06]MH_I2C_Read... [17:00:06]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:00:06]Read from MH i2c: E2 [17:00:06]MH_I2C_Read... [17:00:06]Read from MH i2c: E2 FD 00 [17:00:06]MH_I2C_Read... [17:00:06]Read from MH i2c: E2 FD 00 3D 02 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 D4 [17:00:06]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [17:00:06]wFMCommunicate OK [17:00:06]wFMCommunicate request_size=4 [17:00:06]MH_SAM_APDU [17:00:06]CAPDU: 80 17 00 00 [17:00:06]Write to MH i2c: E2 08 00 3E 02 80 17 00 00 00 00 00 00 C0 [17:00:06]Write i2c OK [17:00:06]MH_I2C_Read... [17:00:07]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:00:07]Read from MH i2c: E2 [17:00:07]MH_I2C_Read... [17:00:07]Read from MH i2c: E2 FD 00 [17:00:07]MH_I2C_Read... [17:00:07]Read from MH i2c: E2 FD 00 3E 02 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 38 [17:00:07]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [17:00:07]wFMCommunicate OK [17:00:07]wFMCommunicate request_size=4 [17:00:07]MH_SAM_APDU [17:00:07]CAPDU: 80 17 00 00 [17:00:07]Write to MH i2c: E2 08 00 3F 02 80 17 00 00 00 00 00 00 C1 [17:00:07]Write i2c OK [17:00:07]MH_I2C_Read... [17:00:07]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [17:00:07]Read from MH i2c: E2 [17:00:07]MH_I2C_Read... [17:00:07]Read from MH i2c: E2 E1 00 [17:00:07]MH_I2C_Read... [17:00:07]Read from MH i2c: E2 E1 00 3F 02 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 AF [17:00:07]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [17:00:07]wFMCommunicate OK [17:00:07]SAM_PROTO_GetFMData done [17:00:07]requested_item fm.sale_refund.total is exist - process it [17:00:07]requested_item fm.buy.total is exist - process it [17:00:07]requested_item shift.sale.total is exist - process it [17:00:07]SAM_PROTO_GetShiftData [17:00:07]wFMCommunicate request_size=4 [17:00:07]MH_SAM_APDU [17:00:07]CAPDU: 80 13 02 00 [17:00:07]Write to MH i2c: E2 08 00 40 02 80 13 02 00 00 00 00 00 C0 [17:00:07]Write i2c OK [17:00:07]MH_I2C_Read... [17:00:07]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [17:00:07]Read from MH i2c: E2 [17:00:07]MH_I2C_Read... [17:00:07]Read from MH i2c: E2 FD 00 [17:00:07]MH_I2C_Read... [17:00:07]Read from MH i2c: E2 FD 00 40 02 00 AD 04 AA 04 A9 04 6E 04 04 00 20 00 00 00 69 04 9A 00 6F 04 04 00 20 00 00 00 B1 04 03 00 40 BD 07 70 04 03 00 60 E5 05 72 04 03 00 E0 D7 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 62 D2 EF 03 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 11 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 8C [17:00:08]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 20 00 00 00 69 04 9A 00 6F 04 04 00 20 00 00 00 B1 04 03 00 40 BD 07 70 04 03 00 60 E5 05 72 04 03 00 E0 D7 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 62 D2 EF 03 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 11 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 [17:00:08]wFMCommunicate OK [17:00:08]wFMCommunicate request_size=4 [17:00:08]MH_SAM_APDU [17:00:08]CAPDU: 80 17 00 00 [17:00:08]Write to MH i2c: E2 08 00 41 02 80 17 00 00 00 00 00 00 C3 [17:00:08]Write i2c OK [17:00:08]MH_I2C_Read... [17:00:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:00:08]Read from MH i2c: E2 [17:00:08]MH_I2C_Read... [17:00:08]Read from MH i2c: E2 FD 00 [17:00:08]MH_I2C_Read... [17:00:08]Read from MH i2c: E2 FD 00 41 02 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 D5 [17:00:08]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 [17:00:08]wFMCommunicate OK [17:00:08]wFMCommunicate request_size=4 [17:00:08]MH_SAM_APDU [17:00:08]CAPDU: 80 17 00 00 [17:00:08]Write to MH i2c: E2 08 00 42 02 80 17 00 00 00 00 00 00 C4 [17:00:08]Write i2c OK [17:00:08]MH_I2C_Read... [17:00:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:00:08]Read from MH i2c: E2 [17:00:08]MH_I2C_Read... [17:00:08]Read from MH i2c: E2 FD 00 [17:00:08]MH_I2C_Read... [17:00:08]Read from MH i2c: E2 FD 00 42 02 00 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 88 [17:00:08]RAPDU: 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 [17:00:08]wFMCommunicate OK [17:00:08]wFMCommunicate request_size=4 [17:00:08]MH_SAM_APDU [17:00:08]CAPDU: 80 17 00 00 [17:00:08]Write to MH i2c: E2 08 00 43 02 80 17 00 00 00 00 00 00 C5 [17:00:08]Write i2c OK [17:00:08]MH_I2C_Read... [17:00:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:00:09]Read from MH i2c: E2 [17:00:09]MH_I2C_Read... [17:00:09]Read from MH i2c: E2 FD 00 [17:00:09]MH_I2C_Read... [17:00:09]Read from MH i2c: E2 FD 00 43 02 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 3A [17:00:09]RAPDU: 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 [17:00:09]wFMCommunicate OK [17:00:09]wFMCommunicate request_size=4 [17:00:09]MH_SAM_APDU [17:00:09]CAPDU: 80 17 00 00 [17:00:09]Write to MH i2c: E2 08 00 44 02 80 17 00 00 00 00 00 00 C6 [17:00:09]Write i2c OK [17:00:09]MH_I2C_Read... [17:00:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [17:00:09]Read from MH i2c: E2 [17:00:09]MH_I2C_Read... [17:00:09]Read from MH i2c: E2 CA 00 [17:00:09]MH_I2C_Read... [17:00:09]Read from MH i2c: E2 CA 00 44 02 00 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 AB [17:00:09]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [17:00:09]wFMCommunicate OK [17:00:09]SAM_PROTO_GetShiftData done [17:00:09]requested_item shift.sale.total_cash is exist - process it [17:00:09]requested_item shift.sale_refund.total is exist - process it [17:00:09]requested_item shift.sale_refund.total_cash is exist - process it [17:00:09]requested_item shift.buy.total is exist - process it [17:00:09]requested_item shift.buy.total_cash is exist - process it [17:00:09]produce_requested_data done [17:00:09]produce_requested_data return {"fm.sale.total":15874632.20,"fm.sale_refund.total":380294.00,"fm.buy.total":0.00,"shift.sale.total":5072.00,"shift.sale.total_cash":3864.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [17:00:09]process_action_free get_value [17:00:09]json_value_free [17:00:09]json_value_free done [17:00:09]process_json_proto returns [17:00:09]Send response to host [17:00:09]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":15874632.20,"fm.sale_refund.total":380294.00,"fm.buy.total":0.00,"shift.sale.total":5072.00,"shift.sale.total_cash":3864.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [17:00:09]free response buf [17:00:09]execute_script done [17:00:09]execute_script returns [17:00:09]free content buf [17:00:09]Sock 9.Close socket [17:00:09]Sock 9.Thread stoped [17:00:09]accept exits with 10 [17:00:09]New connection [17:00:09]New thread 3066735972 created [17:00:09]Thread 3066592612 joined [17:00:09]Waiting for new connection... [17:00:09] Sock 10.Parse request [17:00:09]Sock 10.Check first char [17:00:09]Sock 10.First char is OK [17:00:09]request: POST /json_proto HTTP/1.0 [17:00:09]Method: POST [17:00:09]URL: /json_proto [17:00:09]Method is POST - this is cgi request [17:00:09]url: /json_proto [17:00:09]query_string will be loaded in cgi processing [17:00:09]execute_cgi json_proto POST (null) [17:00:09]execute_cgi path=json_proto method=POST [17:00:09]POST find Content-Length [17:00:09]Host: 172.17.36.131:8080 [17:00:09]Content-Length: 269 [17:00:09]Content-Type: application/json [17:00:09] [17:00:09]POST finish read [17:00:09]Found Content-Length = 269 [17:00:09]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u0418\u0441\u043C\u0430\u043D\u0430\u043B\u0438\u0435\u0432 \u0414. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:00:09]execute_script... [17:00:09]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u0418\u0441\u043C\u0430\u043D\u0430\u043B\u0438\u0435\u0432 \u0414. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:00:09]POST & json_proto [17:00:09]process_json_proto [17:00:09]json parsed OK: [17:00:09]protocol is kg_v1.0 [17:00:09]action value=x_report [17:00:09]process_action x_report [17:00:09]cmd_x_report [17:00:09]MH_GetDate [17:00:09]Write to MH i2c: F0 00 00 45 02 36 [17:00:09]Write i2c OK [17:00:09]MH_I2C_Read... [17:00:09]Read from MH i2c: F0 [17:00:09]MH_I2C_Read... [17:00:09]Read from MH i2c: F0 09 00 [17:00:09]MH_I2C_Read... [17:00:09]Read from MH i2c: F0 09 00 45 02 00 1A 48 5F 66 A7 4C 98 65 56 [17:00:09]GetLastDocTimeStamp 1717518512 [17:00:09]current date 1717520410 [17:00:09]FM_GetShiftState [17:00:09]SAM_PROTO_GetShiftState [17:00:09]wFMCommunicate request_size=4 [17:00:09]MH_SAM_APDU [17:00:09]CAPDU: 80 13 01 00 [17:00:09]Write to MH i2c: E2 08 00 46 02 80 13 01 00 00 00 00 00 C5 [17:00:09]Write i2c OK [17:00:09]MH_I2C_Read... [17:00:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:00:09]Read from MH i2c: E2 [17:00:09]MH_I2C_Read... [17:00:09]Read from MH i2c: E2 0E 00 [17:00:09]MH_I2C_Read... [17:00:09]Read from MH i2c: E2 0E 00 46 02 00 09 00 01 35 5B 5E 66 00 00 00 00 90 00 25 [17:00:09]RAPDU: 09 00 01 35 5B 5E 66 00 00 00 00 90 00 [17:00:09]wFMCommunicate OK [17:00:09]SAM_PROTO_GetShiftState done [17:00:09]FM_GetShiftState done [17:00:09]KKMCreateXReportDocument [17:00:09]Load OK [17:00:09]Malloc new data [17:00:09]MH_GetDate [17:00:09]Write to MH i2c: F0 00 00 47 02 38 [17:00:09]Write i2c OK [17:00:09]MH_I2C_Read... [17:00:09]Read from MH i2c: F0 [17:00:09]MH_I2C_Read... [17:00:09]Read from MH i2c: F0 09 00 [17:00:09]MH_I2C_Read... [17:00:09]Read from MH i2c: F0 09 00 47 02 00 1B 48 5F 66 A7 4C 98 65 59 [17:00:09]Malloc new data [17:00:09]Malloc new data [17:00:09]wFMCommunicate request_size=4 [17:00:09]MH_SAM_APDU [17:00:09]CAPDU: 80 11 00 00 [17:00:09]Write to MH i2c: E2 08 00 48 02 80 11 00 00 00 00 00 00 C4 [17:00:09]Write i2c OK [17:00:09]MH_I2C_Read... [17:00:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:00:09]Read from MH i2c: E2 [17:00:09]MH_I2C_Read... [17:00:09]Read from MH i2c: E2 17 00 [17:00:09]MH_I2C_Read... [17:00:09]Read from MH i2c: E2 17 00 48 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 20 [17:00:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 [17:00:09]wFMCommunicate OK [17:00:09]SAM_PROTO_GetFieldsCounters [17:00:09]wFMCommunicate request_size=4 [17:00:09]MH_SAM_APDU [17:00:09]CAPDU: 80 13 00 00 [17:00:09]Write to MH i2c: E2 08 00 49 02 80 13 00 00 00 00 00 00 C7 [17:00:09]Write i2c OK [17:00:09]MH_I2C_Read... [17:00:10]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:00:10]Read from MH i2c: E2 [17:00:10]MH_I2C_Read... [17:00:10]Read from MH i2c: E2 62 00 [17:00:10]MH_I2C_Read... [17:00:10]Read from MH i2c: E2 62 00 49 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 10 04 04 00 80 87 00 00 0E 04 04 00 70 01 00 00 12 04 04 00 20 00 00 00 5E 04 04 00 20 00 00 00 57 04 04 00 21 00 00 00 19 04 04 00 00 00 00 00 90 00 D2 [17:00:10]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 10 04 04 00 80 87 00 00 0E 04 04 00 70 01 00 00 12 04 04 00 20 00 00 00 5E 04 04 00 20 00 00 00 57 04 04 00 21 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:00:10]wFMCommunicate OK [17:00:10]SAM_PROTO_GetFieldsCounters done [17:00:10]Malloc new data [17:00:10]Malloc new data [17:00:10]Malloc new data [17:00:10]KKMCreateXReportDocument OK [17:00:10]KKMSetXReportData OK [17:00:10]KKMPrepareXReportFMData [17:00:10]SAM_PROTO_GetShiftData [17:00:10]wFMCommunicate request_size=4 [17:00:10]MH_SAM_APDU [17:00:10]CAPDU: 80 13 02 00 [17:00:10]Write to MH i2c: E2 08 00 4A 02 80 13 02 00 00 00 00 00 CA [17:00:10]Write i2c OK [17:00:10]MH_I2C_Read... [17:00:10]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [17:00:10]Read from MH i2c: E2 [17:00:10]MH_I2C_Read... [17:00:10]Read from MH i2c: E2 FD 00 [17:00:10]MH_I2C_Read... [17:00:10]Read from MH i2c: E2 FD 00 4A 02 00 AD 04 AA 04 A9 04 6E 04 04 00 20 00 00 00 69 04 9A 00 6F 04 04 00 20 00 00 00 B1 04 03 00 40 BD 07 70 04 03 00 60 E5 05 72 04 03 00 E0 D7 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 62 D2 EF 03 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 11 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 96 [17:00:10]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 20 00 00 00 69 04 9A 00 6F 04 04 00 20 00 00 00 B1 04 03 00 40 BD 07 70 04 03 00 60 E5 05 72 04 03 00 E0 D7 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 62 D2 EF 03 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 11 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 [17:00:10]wFMCommunicate OK [17:00:10]wFMCommunicate request_size=4 [17:00:10]MH_SAM_APDU [17:00:10]CAPDU: 80 17 00 00 [17:00:10]Write to MH i2c: E2 08 00 4B 02 80 17 00 00 00 00 00 00 CD [17:00:10]Write i2c OK [17:00:10]MH_I2C_Read... [17:00:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:00:11]Read from MH i2c: E2 [17:00:11]MH_I2C_Read... [17:00:11]Read from MH i2c: E2 FD 00 [17:00:11]MH_I2C_Read... [17:00:11]Read from MH i2c: E2 FD 00 4B 02 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 DF [17:00:11]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 [17:00:11]wFMCommunicate OK [17:00:11]wFMCommunicate request_size=4 [17:00:11]MH_SAM_APDU [17:00:11]CAPDU: 80 17 00 00 [17:00:11]Write to MH i2c: E2 08 00 4C 02 80 17 00 00 00 00 00 00 CE [17:00:11]Write i2c OK [17:00:11]MH_I2C_Read... [17:00:11]OFD Sender: No OFD packet to send [17:00:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:00:11]Read from MH i2c: E2 [17:00:11]MH_I2C_Read... [17:00:11]Read from MH i2c: E2 FD 00 [17:00:11]MH_I2C_Read... [17:00:11]Read from MH i2c: E2 FD 00 4C 02 00 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 92 [17:00:11]RAPDU: 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 [17:00:11]wFMCommunicate OK [17:00:11]wFMCommunicate request_size=4 [17:00:11]MH_SAM_APDU [17:00:11]CAPDU: 80 17 00 00 [17:00:11]Write to MH i2c: E2 08 00 4D 02 80 17 00 00 00 00 00 00 CF [17:00:11]Write i2c OK [17:00:11]MH_I2C_Read... [17:00:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:00:11]Read from MH i2c: E2 [17:00:11]MH_I2C_Read... [17:00:11]Read from MH i2c: E2 FD 00 [17:00:11]MH_I2C_Read... [17:00:11]Read from MH i2c: E2 FD 00 4D 02 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 44 [17:00:11]RAPDU: 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 [17:00:12]wFMCommunicate OK [17:00:12]wFMCommunicate request_size=4 [17:00:12]MH_SAM_APDU [17:00:12]CAPDU: 80 17 00 00 [17:00:12]Write to MH i2c: E2 08 00 4E 02 80 17 00 00 00 00 00 00 D0 [17:00:12]Write i2c OK [17:00:12]MH_I2C_Read... [17:00:12]Read from MH i2c: E2 [17:00:12]MH_I2C_Read... [17:00:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [17:00:12]Read from MH i2c: E2 CA 00 [17:00:12]MH_I2C_Read... [17:00:12]Read from MH i2c: E2 CA 00 4E 02 00 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 B5 [17:00:12]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [17:00:12]wFMCommunicate OK [17:00:12]SAM_PROTO_GetShiftData done [17:00:12]1194 (1193) - счетчики итогов смены [17:00:12] 1134 (4) - 32 - количество чеков со всеми признаками расчетов [17:00:12] 1129 (154) - счетчики операций «приход» [17:00:12] 1135 (4) - 32 - количество чеков по признаку расчетов [17:00:12] 1201 (3) - 5072.00 - общая итоговая сумма в чеках [17:00:12] 1136 (3) - 3864.00 - итоговая сумма в чеках наличными [17:00:12] 1138 (3) - 1208.00 - итоговая сумма в чеках безналичными [17:00:12] 1024 (121) - суммы налогов [17:00:12] 1006 (9) - суммы НДС [17:00:12] 1010 (1) - 0% - код ставки НДС [17:00:12] 1011 (0) - 0.00 - сумма НДС по ставке [17:00:12] 1006 (11) - суммы НДС [17:00:12] 1010 (1) - 12% - код ставки НДС [17:00:12] 1011 (2) - 538.58 - сумма НДС по ставке [17:00:12] 1007 (9) - суммы НСП [17:00:12] 1014 (1) - 0% - код ставки НСП [17:00:12] 1015 (0) - 0.00 - сумма НСП по ставке [17:00:12] 1007 (11) - суммы НСП [17:00:12] 1014 (1) - 1% - код ставки НСП [17:00:12] 1015 (2) - 44.83 - сумма НСП по ставке [17:00:12] 1007 (9) - суммы НСП [17:00:12] 1014 (1) - 2% - код ставки НСП [17:00:12] 1015 (0) - 0.00 - сумма НСП по ставке [17:00:12] 1007 (9) - суммы НСП [17:00:12] 1014 (1) - 3% - код ставки НСП [17:00:12] 1015 (0) - 0.00 - сумма НСП по ставке [17:00:12] 1007 (9) - суммы НСП [17:00:12] 1014 (1) - 5% - код ставки НСП [17:00:12] 1015 (0) - 0.00 - сумма НСП по ставке [17:00:12] 1007 (9) - суммы НСП [17:00:12] 1014 (1) - 0,50% - код ставки НСП [17:00:12] 1015 (0) - 0.00 - сумма НСП по ставке [17:00:12] 1007 (9) - суммы НСП [17:00:12] 1014 (1) - 1,50% - код ставки НСП [17:00:12] 1015 (0) - 0.00 - сумма НСП по ставке [17:00:12] 1130 (141) - счетчики операций «возврат прихода» [17:00:12] 1135 (4) - 0 - количество чеков по признаку расчетов [17:00:12] 1201 (0) - 0.00 - общая итоговая сумма в чеках [17:00:12] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [17:00:12] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [17:00:12] 1024 (117) - суммы налогов [17:00:12] 1006 (9) - суммы НДС [17:00:12] 1010 (1) - 0% - код ставки НДС [17:00:12] 1011 (0) - 0.00 - сумма НДС по ставке [17:00:12] 1006 (9) - суммы НДС [17:00:12] 1010 (1) - 12% - код ставки НДС [17:00:12] 1011 (0) - 0.00 - сумма НДС по ставке [17:00:12] 1007 (9) - суммы НСП [17:00:12] 1014 (1) - 0% - код ставки НСП [17:00:12] 1015 (0) - 0.00 - сумма НСП по ставке [17:00:12] 1007 (9) - суммы НСП [17:00:12] 1014 (1) - 1% - код ставки НСП [17:00:12] 1015 (0) - 0.00 - сумма НСП по ставке [17:00:12] 1007 (9) - суммы НСП [17:00:12] 1014 (1) - 2% - код ставки НСП [17:00:12] 1015 (0) - 0.00 - сумма НСП по ставке [17:00:12] 1007 (9) - суммы НСП [17:00:12] 1014 (1) - 3% - код ставки НСП [17:00:12] 1015 (0) - 0.00 - сумма НСП по ставке [17:00:12] 1007 (9) - суммы НСП [17:00:12] 1014 (1) - 5% - код ставки НСП [17:00:12] 1015 (0) - 0.00 - сумма НСП по ставке [17:00:12] 1007 (9) - суммы НСП [17:00:12] 1014 (1) - 0,50% - код ставки НСП [17:00:12] 1015 (0) - 0.00 - сумма НСП по ставке [17:00:12] 1007 (9) - суммы НСП [17:00:12] 1014 (1) - 1,50% - код ставки НСП [17:00:12] 1015 (0) - 0.00 - сумма НСП по ставке [17:00:12] 1131 (141) - счетчики операций «расход» [17:00:12] 1135 (4) - 0 - количество чеков по признаку расчетов [17:00:12] 1201 (0) - 0.00 - общая итоговая сумма в чеках [17:00:12] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [17:00:12] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [17:00:12] 1024 (117) - суммы налогов [17:00:12] 1006 (9) - суммы НДС [17:00:12] 1010 (1) - 0% - код ставки НДС [17:00:12] 1011 (0) - 0.00 - сумма НДС по ставке [17:00:12] 1006 (9) - суммы НДС [17:00:12] 1010 (1) - 12% - код ставки НДС [17:00:12] 1011 (0) - 0.00 - сумма НДС по ставке [17:00:12] 1007 (9) - суммы НСП [17:00:12] 1014 (1) - 0% - код ставки НСП [17:00:12] 1015 (0) - 0.00 - сумма НСП по ставке [17:00:12] 1007 (9) - суммы НСП [17:00:12] 1014 (1) - 1% - код ставки НСП [17:00:12] 1015 (0) - 0.00 - сумма НСП по ставке [17:00:12] 1007 (9) - суммы НСП [17:00:12] 1014 (1) - 2% - код ставки НСП [17:00:12] 1015 (0) - 0.00 - сумма НСП по ставке [17:00:12] 1007 (9) - суммы НСП [17:00:12] 1014 (1) - 3% - код ставки НСП [17:00:12] 1015 (0) - 0.00 - сумма НСП по ставке [17:00:12] 1007 (9) - суммы НСП [17:00:12] 1014 (1) - 5% - код ставки НСП [17:00:12] 1015 (0) - 0.00 - сумма НСП по ставке [17:00:12] 1007 (9) - суммы НСП [17:00:12] 1014 (1) - 0,50% - код ставки НСП [17:00:12] 1015 (0) - 0.00 - сумма НСП по ставке [17:00:12] 1007 (9) - суммы НСП [17:00:12] 1014 (1) - 1,50% - код ставки НСП [17:00:12] 1015 (0) - 0.00 - сумма НСП по ставке [17:00:12] 1132 (141) - счетчики операций «возврат расхода» [17:00:12] 1135 (4) - 0 - количество чеков по признаку расчетов [17:00:12] 1201 (0) - 0.00 - общая итоговая сумма в чеках [17:00:12] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [17:00:12] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [17:00:12] 1024 (117) - суммы налогов [17:00:12] 1006 (9) - суммы НДС [17:00:12] 1010 (1) - 0% - код ставки НДС [17:00:12] 1011 (0) - 0.00 - сумма НДС по ставке [17:00:12] 1006 (9) - суммы НДС [17:00:12] 1010 (1) - 12% - код ставки НДС [17:00:12] 1011 (0) - 0.00 - сумма НДС по ставке [17:00:12] 1007 (9) - суммы НСП [17:00:12] 1014 (1) - 0% - код ставки НСП [17:00:12] 1015 (0) - 0.00 - сумма НСП по ставке [17:00:12] 1007 (9) - суммы НСП [17:00:12] 1014 (1) - 1% - код ставки НСП [17:00:12] 1015 (0) - 0.00 - сумма НСП по ставке [17:00:12] 1007 (9) - суммы НСП [17:00:12] 1014 (1) - 2% - код ставки НСП [17:00:12] 1015 (0) - 0.00 - сумма НСП по ставке [17:00:12] 1007 (9) - суммы НСП [17:00:12] 1014 (1) - 3% - код ставки НСП [17:00:12] 1015 (0) - 0.00 - сумма НСП по ставке [17:00:12] 1007 (9) - суммы НСП [17:00:12] 1014 (1) - 5% - код ставки НСП [17:00:12] 1015 (0) - 0.00 - сумма НСП по ставке [17:00:12] 1007 (9) - суммы НСП [17:00:12] 1014 (1) - 0,50% - код ставки НСП [17:00:12] 1015 (0) - 0.00 - сумма НСП по ставке [17:00:12] 1007 (9) - суммы НСП [17:00:12] 1014 (1) - 1,50% - код ставки НСП [17:00:12] 1015 (0) - 0.00 - сумма НСП по ставке [17:00:12] 1133 (588) - - счетчики коррекции - не используются [17:00:13]SetTLVBufToDocument [17:00:13]Processing tag 1194 (04AA) [17:00:13]Load OK [17:00:13]SetTLVBufToDocument [17:00:13]Processing tag 1134 (046E) [17:00:13]Malloc new data [17:00:13]Processing tag 1129 (0469) [17:00:13]Load OK [17:00:13]SetTLVBufToDocument [17:00:13]Processing tag 1135 (046F) [17:00:13]Malloc new data [17:00:13]Processing tag 1201 (04B1) [17:00:13]Malloc new data [17:00:13]Processing tag 1136 (0470) [17:00:13]Malloc new data [17:00:13]Processing tag 1138 (0472) [17:00:13]Malloc new data [17:00:13]Processing tag 1024 (0400) [17:00:13]Load OK [17:00:13]SetTLVBufToDocument [17:00:13]Processing tag 1006 (03EE) [17:00:13]Load OK [17:00:13]SetTLVBufToDocument [17:00:13]Processing tag 1010 (03F2) [17:00:13]Malloc new data [17:00:13]Processing tag 1011 (03F3) [17:00:13]Malloc new data [17:00:13]SetTLVBufToDocument err=0 [17:00:13]Processing tag 1006 (03EE) [17:00:13]Load OK [17:00:13]SetTLVBufToDocument [17:00:13]Processing tag 1010 (03F2) [17:00:13]Malloc new data [17:00:13]Processing tag 1011 (03F3) [17:00:13]Malloc new data [17:00:13]SetTLVBufToDocument err=0 [17:00:13]Processing tag 1007 (03EF) [17:00:13]Load OK [17:00:13]SetTLVBufToDocument [17:00:13]Processing tag 1014 (03F6) [17:00:13]Malloc new data [17:00:13]Processing tag 1015 (03F7) [17:00:13]Malloc new data [17:00:13]SetTLVBufToDocument err=0 [17:00:13]Processing tag 1007 (03EF) [17:00:13]Load OK [17:00:13]SetTLVBufToDocument [17:00:13]Processing tag 1014 (03F6) [17:00:13]Malloc new data [17:00:13]Processing tag 1015 (03F7) [17:00:13]Malloc new data [17:00:13]SetTLVBufToDocument err=0 [17:00:13]Processing tag 1007 (03EF) [17:00:13]Load OK [17:00:13]SetTLVBufToDocument [17:00:13]Processing tag 1014 (03F6) [17:00:13]Malloc new data [17:00:13]Processing tag 1015 (03F7) [17:00:13]Malloc new data [17:00:13]SetTLVBufToDocument err=0 [17:00:13]Processing tag 1007 (03EF) [17:00:13]Load OK [17:00:13]SetTLVBufToDocument [17:00:13]Processing tag 1014 (03F6) [17:00:13]Malloc new data [17:00:13]Processing tag 1015 (03F7) [17:00:13]Malloc new data [17:00:13]SetTLVBufToDocument err=0 [17:00:13]Processing tag 1007 (03EF) [17:00:13]Load OK [17:00:13]SetTLVBufToDocument [17:00:13]Processing tag 1014 (03F6) [17:00:13]Malloc new data [17:00:13]Processing tag 1015 (03F7) [17:00:13]Malloc new data [17:00:13]SetTLVBufToDocument err=0 [17:00:13]Processing tag 1007 (03EF) [17:00:13]Load OK [17:00:13]SetTLVBufToDocument [17:00:13]Processing tag 1014 (03F6) [17:00:13]Malloc new data [17:00:13]Processing tag 1015 (03F7) [17:00:13]Malloc new data [17:00:13]SetTLVBufToDocument err=0 [17:00:13]Processing tag 1007 (03EF) [17:00:13]Load OK [17:00:13]SetTLVBufToDocument [17:00:13]Processing tag 1014 (03F6) [17:00:13]Malloc new data [17:00:13]Processing tag 1015 (03F7) [17:00:13]Malloc new data [17:00:13]SetTLVBufToDocument err=0 [17:00:13]SetTLVBufToDocument err=0 [17:00:13]SetTLVBufToDocument err=0 [17:00:13]Processing tag 1130 (046A) [17:00:13]Load OK [17:00:13]SetTLVBufToDocument [17:00:13]Processing tag 1135 (046F) [17:00:13]Malloc new data [17:00:13]Processing tag 1201 (04B1) [17:00:13]Malloc new data [17:00:13]Processing tag 1136 (0470) [17:00:13]Malloc new data [17:00:13]Processing tag 1138 (0472) [17:00:13]Malloc new data [17:00:13]Processing tag 1024 (0400) [17:00:13]Load OK [17:00:13]SetTLVBufToDocument [17:00:13]Processing tag 1006 (03EE) [17:00:13]Load OK [17:00:13]SetTLVBufToDocument [17:00:13]Processing tag 1010 (03F2) [17:00:13]Malloc new data [17:00:13]Processing tag 1011 (03F3) [17:00:13]Malloc new data [17:00:13]SetTLVBufToDocument err=0 [17:00:13]Processing tag 1006 (03EE) [17:00:13]Load OK [17:00:13]SetTLVBufToDocument [17:00:13]Processing tag 1010 (03F2) [17:00:13]Malloc new data [17:00:13]Processing tag 1011 (03F3) [17:00:13]Malloc new data [17:00:13]SetTLVBufToDocument err=0 [17:00:13]Processing tag 1007 (03EF) [17:00:13]Load OK [17:00:13]SetTLVBufToDocument [17:00:13]Processing tag 1014 (03F6) [17:00:13]Malloc new data [17:00:13]Processing tag 1015 (03F7) [17:00:13]Malloc new data [17:00:13]SetTLVBufToDocument err=0 [17:00:13]Processing tag 1007 (03EF) [17:00:13]Load OK [17:00:13]SetTLVBufToDocument [17:00:13]Processing tag 1014 (03F6) [17:00:13]Malloc new data [17:00:13]Processing tag 1015 (03F7) [17:00:13]Malloc new data [17:00:13]SetTLVBufToDocument err=0 [17:00:13]Processing tag 1007 (03EF) [17:00:13]Load OK [17:00:13]SetTLVBufToDocument [17:00:13]Processing tag 1014 (03F6) [17:00:13]Malloc new data [17:00:13]Processing tag 1015 (03F7) [17:00:13]Malloc new data [17:00:13]SetTLVBufToDocument err=0 [17:00:13]Processing tag 1007 (03EF) [17:00:13]Load OK [17:00:13]SetTLVBufToDocument [17:00:13]Processing tag 1014 (03F6) [17:00:13]Malloc new data [17:00:13]Processing tag 1015 (03F7) [17:00:13]Malloc new data [17:00:13]SetTLVBufToDocument err=0 [17:00:13]Processing tag 1007 (03EF) [17:00:13]Load OK [17:00:13]SetTLVBufToDocument [17:00:13]Processing tag 1014 (03F6) [17:00:13]Malloc new data [17:00:13]Processing tag 1015 (03F7) [17:00:13]Malloc new data [17:00:13]SetTLVBufToDocument err=0 [17:00:13]Processing tag 1007 (03EF) [17:00:13]Load OK [17:00:13]SetTLVBufToDocument [17:00:13]Processing tag 1014 (03F6) [17:00:13]Malloc new data [17:00:13]Processing tag 1015 (03F7) [17:00:13]Malloc new data [17:00:13]SetTLVBufToDocument err=0 [17:00:13]Processing tag 1007 (03EF) [17:00:13]Load OK [17:00:13]SetTLVBufToDocument [17:00:13]Processing tag 1014 (03F6) [17:00:13]Malloc new data [17:00:13]Processing tag 1015 (03F7) [17:00:13]Malloc new data [17:00:13]SetTLVBufToDocument err=0 [17:00:13]SetTLVBufToDocument err=0 [17:00:13]SetTLVBufToDocument err=0 [17:00:13]Processing tag 1131 (046B) [17:00:13]Load OK [17:00:13]SetTLVBufToDocument [17:00:13]Processing tag 1135 (046F) [17:00:13]Malloc new data [17:00:13]Processing tag 1201 (04B1) [17:00:13]Malloc new data [17:00:13]Processing tag 1136 (0470) [17:00:13]Malloc new data [17:00:13]Processing tag 1138 (0472) [17:00:13]Malloc new data [17:00:13]Processing tag 1024 (0400) [17:00:13]Load OK [17:00:13]SetTLVBufToDocument [17:00:13]Processing tag 1006 (03EE) [17:00:13]Load OK [17:00:13]SetTLVBufToDocument [17:00:13]Processing tag 1010 (03F2) [17:00:13]Malloc new data [17:00:13]Processing tag 1011 (03F3) [17:00:13]Malloc new data [17:00:13]SetTLVBufToDocument err=0 [17:00:13]Processing tag 1006 (03EE) [17:00:13]Load OK [17:00:13]SetTLVBufToDocument [17:00:13]Processing tag 1010 (03F2) [17:00:13]Malloc new data [17:00:13]Processing tag 1011 (03F3) [17:00:13]Malloc new data [17:00:13]SetTLVBufToDocument err=0 [17:00:13]Processing tag 1007 (03EF) [17:00:13]Load OK [17:00:13]SetTLVBufToDocument [17:00:13]Processing tag 1014 (03F6) [17:00:13]Malloc new data [17:00:13]Processing tag 1015 (03F7) [17:00:13]Malloc new data [17:00:13]SetTLVBufToDocument err=0 [17:00:13]Processing tag 1007 (03EF) [17:00:13]Load OK [17:00:13]SetTLVBufToDocument [17:00:13]Processing tag 1014 (03F6) [17:00:13]Malloc new data [17:00:13]Processing tag 1015 (03F7) [17:00:13]Malloc new data [17:00:13]SetTLVBufToDocument err=0 [17:00:13]Processing tag 1007 (03EF) [17:00:13]Load OK [17:00:13]SetTLVBufToDocument [17:00:13]Processing tag 1014 (03F6) [17:00:13]Malloc new data [17:00:13]Processing tag 1015 (03F7) [17:00:13]Malloc new data [17:00:13]SetTLVBufToDocument err=0 [17:00:13]Processing tag 1007 (03EF) [17:00:13]Load OK [17:00:13]SetTLVBufToDocument [17:00:13]Processing tag 1014 (03F6) [17:00:13]Malloc new data [17:00:13]Processing tag 1015 (03F7) [17:00:13]Malloc new data [17:00:13]SetTLVBufToDocument err=0 [17:00:13]Processing tag 1007 (03EF) [17:00:13]Load OK [17:00:13]SetTLVBufToDocument [17:00:13]Processing tag 1014 (03F6) [17:00:13]Malloc new data [17:00:13]Processing tag 1015 (03F7) [17:00:13]Malloc new data [17:00:13]SetTLVBufToDocument err=0 [17:00:13]Processing tag 1007 (03EF) [17:00:13]Load OK [17:00:13]SetTLVBufToDocument [17:00:13]Processing tag 1014 (03F6) [17:00:13]Malloc new data [17:00:13]Processing tag 1015 (03F7) [17:00:13]Malloc new data [17:00:13]SetTLVBufToDocument err=0 [17:00:13]Processing tag 1007 (03EF) [17:00:13]Load OK [17:00:13]SetTLVBufToDocument [17:00:13]Processing tag 1014 (03F6) [17:00:13]Malloc new data [17:00:13]Processing tag 1015 (03F7) [17:00:13]Malloc new data [17:00:13]SetTLVBufToDocument err=0 [17:00:13]SetTLVBufToDocument err=0 [17:00:13]SetTLVBufToDocument err=0 [17:00:13]Processing tag 1132 (046C) [17:00:13]Load OK [17:00:13]SetTLVBufToDocument [17:00:13]Processing tag 1135 (046F) [17:00:13]Malloc new data [17:00:13]Processing tag 1201 (04B1) [17:00:13]Malloc new data [17:00:13]Processing tag 1136 (0470) [17:00:13]Malloc new data [17:00:13]Processing tag 1138 (0472) [17:00:13]Malloc new data [17:00:13]Processing tag 1024 (0400) [17:00:13]Load OK [17:00:13]SetTLVBufToDocument [17:00:13]Processing tag 1006 (03EE) [17:00:13]Load OK [17:00:13]SetTLVBufToDocument [17:00:13]Processing tag 1010 (03F2) [17:00:13]Malloc new data [17:00:13]Processing tag 1011 (03F3) [17:00:13]Malloc new data [17:00:13]SetTLVBufToDocument err=0 [17:00:13]Processing tag 1006 (03EE) [17:00:13]Load OK [17:00:13]SetTLVBufToDocument [17:00:13]Processing tag 1010 (03F2) [17:00:13]Malloc new data [17:00:13]Processing tag 1011 (03F3) [17:00:13]Malloc new data [17:00:13]SetTLVBufToDocument err=0 [17:00:13]Processing tag 1007 (03EF) [17:00:13]Load OK [17:00:13]SetTLVBufToDocument [17:00:13]Processing tag 1014 (03F6) [17:00:13]Malloc new data [17:00:13]Processing tag 1015 (03F7) [17:00:13]Malloc new data [17:00:13]SetTLVBufToDocument err=0 [17:00:13]Processing tag 1007 (03EF) [17:00:13]Load OK [17:00:13]SetTLVBufToDocument [17:00:13]Processing tag 1014 (03F6) [17:00:13]Malloc new data [17:00:13]Processing tag 1015 (03F7) [17:00:13]Malloc new data [17:00:13]SetTLVBufToDocument err=0 [17:00:13]Processing tag 1007 (03EF) [17:00:13]Load OK [17:00:13]SetTLVBufToDocument [17:00:13]Processing tag 1014 (03F6) [17:00:13]Malloc new data [17:00:13]Processing tag 1015 (03F7) [17:00:13]Malloc new data [17:00:13]SetTLVBufToDocument err=0 [17:00:13]Processing tag 1007 (03EF) [17:00:13]Load OK [17:00:13]SetTLVBufToDocument [17:00:13]Processing tag 1014 (03F6) [17:00:13]Malloc new data [17:00:13]Processing tag 1015 (03F7) [17:00:13]Malloc new data [17:00:13]SetTLVBufToDocument err=0 [17:00:13]Processing tag 1007 (03EF) [17:00:13]Load OK [17:00:13]SetTLVBufToDocument [17:00:13]Processing tag 1014 (03F6) [17:00:13]Malloc new data [17:00:13]Processing tag 1015 (03F7) [17:00:13]Malloc new data [17:00:13]SetTLVBufToDocument err=0 [17:00:13]Processing tag 1007 (03EF) [17:00:13]Load OK [17:00:13]SetTLVBufToDocument [17:00:13]Processing tag 1014 (03F6) [17:00:13]Malloc new data [17:00:13]Processing tag 1015 (03F7) [17:00:13]Malloc new data [17:00:13]SetTLVBufToDocument err=0 [17:00:13]Processing tag 1007 (03EF) [17:00:13]Load OK [17:00:13]SetTLVBufToDocument [17:00:13]Processing tag 1014 (03F6) [17:00:13]Malloc new data [17:00:13]Processing tag 1015 (03F7) [17:00:13]Malloc new data [17:00:13]SetTLVBufToDocument err=0 [17:00:13]SetTLVBufToDocument err=0 [17:00:13]SetTLVBufToDocument err=0 [17:00:13]Processing tag 1133 (046D) [17:00:13]Malloc new data [17:00:13]SetTLVBufToDocument err=0 [17:00:13]SetTLVBufToDocument err=0 [17:00:13]Malloc new data [17:00:13]SAM_PROTO_GetFMData [17:00:13]wFMCommunicate request_size=4 [17:00:13]MH_SAM_APDU [17:00:13]CAPDU: 80 13 03 00 [17:00:13]Write to MH i2c: E2 08 00 4F 02 80 13 03 00 00 00 00 00 D0 [17:00:13]Write i2c OK [17:00:13]MH_I2C_Read... [17:00:13]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [17:00:13]Read from MH i2c: E2 [17:00:13]MH_I2C_Read... [17:00:13]Read from MH i2c: E2 FD 00 [17:00:13]MH_I2C_Read... [17:00:13]Read from MH i2c: E2 FD 00 4F 02 00 C4 04 85 04 C0 04 6E 04 04 00 A0 84 00 00 69 04 A0 00 6F 04 04 00 32 83 00 00 B1 04 04 00 34 C4 9E 5E 70 04 04 00 98 B1 E4 53 72 04 04 00 9C 12 BA 0A 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 62 F5 0C 0A EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 28 5F D6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 6E 01 00 00 B1 04 04 00 58 48 44 02 70 04 04 00 50 6A 39 02 72 04 03 00 08 DE 0A 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 3B A1 3D EF 03 09 00 90 00 C8 [17:00:14]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 A0 84 00 00 69 04 A0 00 6F 04 04 00 32 83 00 00 B1 04 04 00 34 C4 9E 5E 70 04 04 00 98 B1 E4 53 72 04 04 00 9C 12 BA 0A 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 62 F5 0C 0A EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 28 5F D6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 6E 01 00 00 B1 04 04 00 58 48 44 02 70 04 04 00 50 6A 39 02 72 04 03 00 08 DE 0A 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 3B A1 3D EF 03 09 00 90 00 [17:00:14]wFMCommunicate OK [17:00:14]wFMCommunicate request_size=4 [17:00:14]MH_SAM_APDU [17:00:14]CAPDU: 80 17 00 00 [17:00:14]Write to MH i2c: E2 08 00 50 02 80 17 00 00 00 00 00 00 D2 [17:00:14]Write i2c OK [17:00:14]MH_I2C_Read... [17:00:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:00:14]Read from MH i2c: E2 [17:00:14]MH_I2C_Read... [17:00:14]Read from MH i2c: E2 FD 00 [17:00:14]MH_I2C_Read... [17:00:14]Read from MH i2c: E2 FD 00 50 02 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 9B 22 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 4A [17:00:14]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 9B 22 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [17:00:14]wFMCommunicate OK [17:00:14]wFMCommunicate request_size=4 [17:00:14]MH_SAM_APDU [17:00:14]CAPDU: 80 17 00 00 [17:00:14]Write to MH i2c: E2 08 00 51 02 80 17 00 00 00 00 00 00 D3 [17:00:14]Write i2c OK [17:00:14]MH_I2C_Read... [17:00:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:00:14]Read from MH i2c: E2 [17:00:14]MH_I2C_Read... [17:00:14]Read from MH i2c: E2 FD 00 [17:00:14]MH_I2C_Read... [17:00:14]Read from MH i2c: E2 FD 00 51 02 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 E8 [17:00:15]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [17:00:15]wFMCommunicate OK [17:00:15]wFMCommunicate request_size=4 [17:00:15]MH_SAM_APDU [17:00:15]CAPDU: 80 17 00 00 [17:00:15]Write to MH i2c: E2 08 00 52 02 80 17 00 00 00 00 00 00 D4 [17:00:15]Write i2c OK [17:00:15]MH_I2C_Read... [17:00:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:00:15]Read from MH i2c: E2 [17:00:15]MH_I2C_Read... [17:00:15]Read from MH i2c: E2 FD 00 [17:00:15]MH_I2C_Read... [17:00:15]Read from MH i2c: E2 FD 00 52 02 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 4C [17:00:15]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [17:00:15]wFMCommunicate OK [17:00:15]wFMCommunicate request_size=4 [17:00:15]MH_SAM_APDU [17:00:15]CAPDU: 80 17 00 00 [17:00:15]Write to MH i2c: E2 08 00 53 02 80 17 00 00 00 00 00 00 D5 [17:00:15]Write i2c OK [17:00:15]MH_I2C_Read... [17:00:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [17:00:16]Read from MH i2c: E2 [17:00:16]MH_I2C_Read... [17:00:16]Read from MH i2c: E2 E1 00 [17:00:16]MH_I2C_Read... [17:00:16]Read from MH i2c: E2 E1 00 53 02 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 C3 [17:00:16]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [17:00:16]wFMCommunicate OK [17:00:16]SAM_PROTO_GetFMData done [17:00:16]FM_GetFMData:85 04 C0 04 6E 04 04 00 A0 84 00 00 69 04 A0 00 6F 04 04 00 32 83 00 00 B1 04 04 OFD Sender: No OFD packet to send [17:00:16]00 34 C4 9E 5E 70 04 04 00 98 B1 E4 53 72 04 04 00 9C 12 BA 0A 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 62 F5 0C 0A EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 28 5F D6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 6E 01 00 00 B1 04 04 00 58 48 44 02 70 04 04 00 50 6A 39 02 72 04 03 00 08 DE 0A 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 3B A1 3D 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 9B 22 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [17:00:16]oper:6F 04 04 00 32 83 00 00 B1 04 04 00 34 C4 9E 5E 70 04 04 00 98 B1 E4 53 72 04 04 00 9C 12 BA 0A 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 62 F5 0C 0A EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 28 5F D6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [17:00:17]total:34 C4 9E 5E [17:00:17]Malloc new data [17:00:17]oper:6F 04 04 00 6E 01 00 00 B1 04 04 00 58 48 44 02 70 04 04 00 50 6A 39 02 72 04 03 00 08 DE 0A 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 3B A1 3D 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 9B 22 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [17:00:17]total:58 48 44 02 [17:00:17]Malloc new data [17:00:17]oper:6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [17:00:17]total: [17:00:17]Malloc new data [17:00:17]oper:6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [17:00:17]total: [17:00:17]Malloc new data [17:00:17]KKMPrepareXReportFMData err=0 [17:00:17]Х отчет ИНН: 02508201610067 Кассир: Исманалиев Д. 04.06.2024 17:00 Смена: 266 РНМ: 0000000000096838 ЗНМ: 0300000080 СНО: Общий режим Всего чеков: 32 ИТОГИ ПРИХОД Чеков: 32 Общий итог: 5072.00 Итого наличными: 3864.00 Итого безнал.: 1208.00 НДС 0% : 0.00 НДС 12% : 538.58 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 44.83 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 0 Общий итог: 0.00 Итого наличными: 0.00 Итого безнал.: 0.00 НДС 0% : 0.00 НДС 12% : 0.00 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 0.00 ИТОГИ РАСХОД Чеков: 0 Общий итог: 0.00 Итого наличными: 0.00 Итого безнал.: 0.00 НДС 0% : 0.00 НДС 12% : 0.00 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 0.00 ИТОГИ ВОЗВРАТ РАСХОДА Чеков: 0 Общий итог: 0.00 Итого наличными: 0.00 Итого безнал.: 0.00 НДС 0% : 0.00 НДС 12% : 0.00 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 0.00 Сумма внесений: 0.00 Сумма выплат: 0.00 Нал. в кассе: 3864.00 НС Приход: 15874632.20 НС Возвр.Прихода: 380294.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФМ: 0000000000874859 [17:00:17]StoreToDocumentArchive [17:00:17]MH_GetDate [17:00:17]Write to MH i2c: F0 00 00 54 02 45 [17:00:17]Write i2c OK [17:00:17]MH_I2C_Read... [17:00:17]Read from MH i2c: F0 [17:00:17]MH_I2C_Read... [17:00:17]Read from MH i2c: F0 09 00 [17:00:17]MH_I2C_Read... [17:00:17]Read from MH i2c: F0 09 00 54 02 00 22 48 5F 66 A7 4C 98 65 6D [17:00:17]shift 266 fd 1717520418 [17:00:17]Create dir for shift 0266 [17:00:17]save to /storage/0266/doc_1717520418 [17:00:17]save last doc name /storage/0266/doc_1717520418 to /storage/kkm_last_doc_name [17:00:17]save OK [17:00:17]Clear old archive folders... [17:00:17]NVStorageSaveData kkm_last_timestamp [17:00:17]File name is /storage/kkm_last_timestamp [17:00:17]Write 4 bytes [17:00:17]NVStorageSaveData done [17:00:17]ExternCall_PrintAddStr [17:00:17]wPrintStart [17:00:17]Write to MH i2c: 01 00 00 55 02 57 [17:00:17]Write i2c OK [17:00:17]MH_I2C_Read... [17:00:17]Read from MH i2c: 01 [17:00:17]MH_I2C_Read... [17:00:17]Read from MH i2c: 01 07 00 [17:00:17]MH_I2C_Read... [17:00:17]Read from MH i2c: 01 07 00 55 02 00 00 00 00 00 FF 0F 6C [17:00:17]RasterBufferAndPrint [17:00:17]line Х отчет [17:00:17]line ИНН: 02508201610067 [17:00:17]line Кассир: Исманалиев Д. [17:00:17]line 04.06.2024 17:00 [17:00:17]line Смена: 266 [17:00:17]line РНМ: 0000000000096838 [17:00:17]line ЗНМ: 0300000080 [17:00:17]line СНО: Общий режим [17:00:17]line Всего чеков: 32 [17:00:17]line ИТОГИ ПРИХОД [17:00:17]line Чеков: 32 [17:00:17]line Общий итог: 5072.00 [17:00:17]line Итого наличными: 3864.00 [17:00:17]line Итого безнал.: 1208.00 [17:00:17]line НДС 0% : 0.00 [17:00:17]line НДС 12% : 538.58 [17:00:17]line НСП 0% : 0.00 [17:00:17]line НСП 1,50% : 0.00 [17:00:17]line НСП 0,50% : 0.00 [17:00:17]line НСП 5% : 0.00 [17:00:17]line НСП 3% : 0.00 [17:00:17]line НСП 2% : 0.00 [17:00:17]line НСП 1% : 44.83 [17:00:17]line ИТОГИ ВОЗВРАТ ПРИХОДА [17:00:17]line Чеков: 0 [17:00:17]line Общий итог: 0.00 [17:00:17]line Итого наличными: 0.00 [17:00:17]line Итого безнал.: 0.00 [17:00:17]line НДС 0% : 0.00 [17:00:17]line НДС 12% : 0.00 [17:00:17]line НСП 0% : 0.00 [17:00:17]line НСП 1,50% : 0.00 [17:00:17]line НСП 0,50% : 0.00 [17:00:17]line НСП 5% : 0.00 [17:00:17]line НСП 3% : 0.00 [17:00:17]line НСП 2% : 0.00 [17:00:17]line НСП 1% : 0.00 [17:00:17]line ИТОГИ РАСХОД [17:00:17]line Чеков: 0 [17:00:17]line Общий итог: 0.00 [17:00:17]line Итого наличными: 0.00 [17:00:17]line Итого безнал.: 0.00 [17:00:17]line НДС 0% : 0.00 [17:00:17]line НДС 12% : 0.00 [17:00:17]line НСП 0% : 0.00 [17:00:17]line НСП 1,50% : 0.00 [17:00:17]line НСП 0,50% : 0.00 [17:00:17]line НСП 5% : 0.00 [17:00:17]line НСП 3% : 0.00 [17:00:17]line НСП 2% : 0.00 [17:00:17]line НСП 1% : 0.00 [17:00:17]line ИТОГИ ВОЗВРАТ РАСХОДА [17:00:17]line Чеков: 0 [17:00:17]line Общий итог: 0.00 [17:00:17]line Итого наличными: 0.00 [17:00:17]line Итого безнал.: 0.00 [17:00:17]line НДС 0% : 0.00 [17:00:17]line НДС 12% : 0.00 [17:00:17]line НСП 0% : 0.00 [17:00:17]line НСП 1,50% : 0.00 [17:00:17]line НСП 0,50% : 0.00 [17:00:17]line НСП 5% : 0.00 [17:00:17]line НСП 3% : 0.00 [17:00:17]line НСП 2% : 0.00 [17:00:17]line НСП 1% : 0.00 [17:00:17]line Сумма внесений: 0.00 [17:00:17]line Сумма выплат: 0.00 [17:00:17]line Нал. в кассе: 3864.00 [17:00:17]line НС Приход: 15874632.20 [17:00:17]line НС Возвр.Прихода: 380294.00 [17:00:17]line НС Расход: 0.00 [17:00:17]line НС Возвр.Расхода: 0.00 [17:00:17]line ФМ: 0000000000874859 [17:00:17]written 0, free lines is 4095 [17:00:18]Write to MH i2c: 01 00 00 A0 02 A2 [17:00:18]Write i2c OK [17:00:18]MH_I2C_Read... [17:00:18]Read from MH i2c: 01 [17:00:18]MH_I2C_Read... [17:00:18]Read from MH i2c: 01 07 00 [17:00:18]MH_I2C_Read... [17:00:18]Read from MH i2c: 01 07 00 A0 02 00 00 00 00 00 0A 0B BE [17:00:18]RasterBufferAndPrint [17:00:18]line [17:00:18]line [17:00:18]line [17:00:18]line [17:00:18]line [17:00:18]written 0, free lines is 2863 [17:00:18]MH_Cut [17:00:18]Write to MH i2c: D1 01 00 A7 02 01 7B [17:00:18]Write i2c OK [17:00:18]MH_I2C_Read... [17:00:18]Read from MH i2c: D1 [17:00:18]MH_I2C_Read... [17:00:18]Read from MH i2c: D1 01 00 [17:00:18]MH_I2C_Read... [17:00:18]Read from MH i2c: D1 01 00 A7 02 00 7A [17:00:18]Write to MH i2c: 01 00 00 A8 02 AA [17:00:18]Write i2c OK [17:00:18]MH_I2C_Read... [17:00:19]*** Cut start [17:00:19]*** Partial cut [17:00:19]*** CUTSNS_PIN = 1 [17:00:19]*** CUTSNS_PIN = 0 [17:00:19]*** Brake cut motor [17:00:19]Read from MH i2c: 01 [17:00:19]MH_I2C_Read... [17:00:19]*** Stop cut motor [17:00:19]*** Cut end [17:00:19]Read from MH i2c: 01 07 00 [17:00:19]MH_I2C_Read... [17:00:19]Read from MH i2c: 01 07 00 A8 02 00 00 00 00 00 FF 0F BF [17:00:19]process_action x_report done [17:00:19]requested_data is exist [17:00:19]produce_requested_data [17:00:19]requested_item fd.num is exist - process it [17:00:19]SAM_PROTO_GetFieldsCounters [17:00:19]wFMCommunicate request_size=4 [17:00:19]MH_SAM_APDU [17:00:19]CAPDU: 80 13 00 00 [17:00:19]Write to MH i2c: E2 08 00 A9 02 80 13 00 00 00 00 00 00 27 [17:00:19]Write i2c OK [17:00:19]MH_I2C_Read... [17:00:19]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:00:19]Read from MH i2c: E2 [17:00:19]MH_I2C_Read... [17:00:19]Read from MH i2c: E2 62 00 [17:00:19]MH_I2C_Read... [17:00:19]Read from MH i2c: E2 62 00 A9 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 10 04 04 00 80 87 00 00 0E 04 04 00 70 01 00 00 12 04 04 00 20 00 00 00 5E 04 04 00 20 00 00 00 57 04 04 00 21 00 00 00 19 04 04 00 00 00 00 00 90 00 32 [17:00:20]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 10 04 04 00 80 87 00 00 0E 04 04 00 70 01 00 00 12 04 04 00 20 00 00 00 5E 04 04 00 20 00 00 00 57 04 04 00 21 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:00:20]wFMCommunicate OK [17:00:20]SAM_PROTO_GetFieldsCounters done [17:00:20]requested_item shift.num is exist - process it [17:00:20]requested_item shift.opened is exist - process it [17:00:20]req_shift_opened [17:00:20]FM_GetShiftState [17:00:20]SAM_PROTO_GetShiftState [17:00:20]wFMCommunicate request_size=4 [17:00:20]MH_SAM_APDU [17:00:20]CAPDU: 80 13 01 00 [17:00:20]Write to MH i2c: E2 08 00 AA 02 80 13 01 00 00 00 00 00 29 [17:00:20]Write i2c OK [17:00:20]MH_I2C_Read... [17:00:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:00:20]Read from MH i2c: E2 [17:00:20]MH_I2C_Read... [17:00:20]Read from MH i2c: E2 0E 00 [17:00:20]MH_I2C_Read... [17:00:20]Read from MH i2c: E2 0E 00 AA 02 00 09 00 01 35 5B 5E 66 00 00 00 00 90 00 89 [17:00:20]RAPDU: 09 00 01 35 5B 5E 66 00 00 00 00 90 00 [17:00:20]wFMCommunicate OK [17:00:20]SAM_PROTO_GetShiftState done [17:00:20]FM_GetShiftState done [17:00:20]req_shift_opened done [17:00:20]requested_item shift.open_date is exist - process it [17:00:20]req_shift_open_date [17:00:20]req_shift_open_date done [17:00:20]produce_requested_data done [17:00:20]produce_requested_data return {"fd.num":34688,"shift.num":368,"shift.opened":1,"shift.open_date":1717459765} [17:00:20]process_action_free x_report [17:00:20]json_value_free [17:00:20]json_value_free done [17:00:20]process_json_proto returns [17:00:20]Send response to host [17:00:20]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":34688,"shift.num":368,"shift.opened":1,"shift.open_date":1717459765}}} [17:00:20]free response buf [17:00:20]execute_script done [17:00:20]execute_script returns [17:00:20]free content buf [17:00:20]Sock 10.Close socket [17:00:20]Sock 10.Thread stoped [17:00:21]OFD Sender: No OFD packet to send [17:00:26]OFD Sender: No OFD packet to send [17:00:31]OFD Sender: No OFD packet to send [17:00:36]OFD Sender: No OFD packet to send [17:00:41]OFD Sender: No OFD packet to send [17:00:46]OFD Sender: No OFD packet to send [17:00:51]OFD Sender: No OFD packet to send [17:00:52]accept exits with 7 [17:00:52]New connection [17:00:52]New thread 3066592612 created [17:00:52]Thread 3066735972 joined [17:00:52]Waiting for new connection... [17:00:52] Sock 7.Parse request [17:00:52]Sock 7.Check first char [17:00:52]Sock 7.First char is OK [17:00:52]request: POST /json_proto HTTP/1.0 [17:00:52]Method: POST [17:00:52]URL: /json_proto [17:00:52]Method is POST - this is cgi request [17:00:52]url: /json_proto [17:00:52]query_string will be loaded in cgi processing [17:00:52]execute_cgi json_proto POST (null) [17:00:52]execute_cgi path=json_proto method=POST [17:00:52]POST find Content-Length [17:00:52]Host: 172.17.36.131:8080 [17:00:52]Content-Length: 215 [17:00:52]Content-Type: application/json [17:00:52] [17:00:52]POST finish read [17:00:52]Found Content-Length = 215 [17:00:52]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:00:52]execute_script... [17:00:52]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:00:52]POST & json_proto [17:00:52]process_json_proto [17:00:52]json parsed OK: [17:00:52]protocol is kg_v1.0 [17:00:52]action value=get_value [17:00:52]process_action get_value [17:00:52]cmd_get_value [17:00:52]process_action get_value done [17:00:52]requested_data is exist [17:00:52]produce_requested_data [17:00:52]requested_item kkm.sn is exist - process it [17:00:52]requested_item kkm.ver is exist - process it [17:00:52]requested_item fm.sn is exist - process it [17:00:52]wFMCommunicate request_size=4 [17:00:52]MH_SAM_APDU [17:00:52]CAPDU: 80 11 00 00 [17:00:52]Write to MH i2c: E2 08 00 AB 02 80 11 00 00 00 00 00 00 27 [17:00:52]Write i2c OK [17:00:52]MH_I2C_Read... [17:00:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:00:52]Read from MH i2c: E2 [17:00:52]MH_I2C_Read... [17:00:52]Read from MH i2c: E2 17 00 [17:00:52]MH_I2C_Read... [17:00:52]Read from MH i2c: E2 17 00 AB 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 83 [17:00:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 [17:00:52]wFMCommunicate OK [17:00:52]requested_item fd.num is exist - process it [17:00:52]SAM_PROTO_GetFieldsCounters [17:00:52]wFMCommunicate request_size=4 [17:00:52]MH_SAM_APDU [17:00:52]CAPDU: 80 13 00 00 [17:00:52]Write to MH i2c: E2 08 00 AC 02 80 13 00 00 00 00 00 00 2A [17:00:52]Write i2c OK [17:00:52]MH_I2C_Read... [17:00:52]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:00:52]Read from MH i2c: E2 [17:00:52]MH_I2C_Read... [17:00:52]Read from MH i2c: E2 62 00 [17:00:52]MH_I2C_Read... [17:00:52]Read from MH i2c: E2 62 00 AC 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 10 04 04 00 80 87 00 00 0E 04 04 00 70 01 00 00 12 04 04 00 20 00 00 00 5E 04 04 00 20 00 00 00 57 04 04 00 21 00 00 00 19 04 04 00 00 00 00 00 90 00 35 [17:00:52]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 10 04 04 00 80 87 00 00 0E 04 04 00 70 01 00 00 12 04 04 00 20 00 00 00 5E 04 04 00 20 00 00 00 57 04 04 00 21 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:00:52]wFMCommunicate OK [17:00:52]SAM_PROTO_GetFieldsCounters done [17:00:52]requested_item shift.num is exist - process it [17:00:52]requested_item shift.opened is exist - process it [17:00:52]req_shift_opened [17:00:52]FM_GetShiftState [17:00:52]SAM_PROTO_GetShiftState [17:00:52]wFMCommunicate request_size=4 [17:00:52]MH_SAM_APDU [17:00:52]CAPDU: 80 13 01 00 [17:00:52]Write to MH i2c: E2 08 00 AD 02 80 13 01 00 00 00 00 00 2C [17:00:52]Write i2c OK [17:00:52]MH_I2C_Read... [17:00:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:00:53]Read from MH i2c: E2 [17:00:53]MH_I2C_Read... [17:00:53]Read from MH i2c: E2 0E 00 [17:00:53]MH_I2C_Read... [17:00:53]Read from MH i2c: E2 0E 00 AD 02 00 09 00 01 35 5B 5E 66 00 00 00 00 90 00 8C [17:00:53]RAPDU: 09 00 01 35 5B 5E 66 00 00 00 00 90 00 [17:00:53]wFMCommunicate OK [17:00:53]SAM_PROTO_GetShiftState done [17:00:53]FM_GetShiftState done [17:00:53]req_shift_opened done [17:00:53]requested_item shift.open_date is exist - process it [17:00:53]req_shift_open_date [17:00:53]req_shift_open_date done [17:00:53]produce_requested_data done [17:00:53]produce_requested_data return {"kkm.sn":"0300000080","kkm.ver":"001","fm.sn":"0000000000874859","fd.num":34688,"shift.num":368,"shift.opened":1,"shift.open_date":1717459765} [17:00:53]process_action_free get_value [17:00:53]json_value_free [17:00:53]json_value_free done [17:00:53]process_json_proto returns [17:00:53]Send response to host [17:00:53]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000080","kkm.ver":"001","fm.sn":"0000000000874859","fd.num":34688,"shift.num":368,"shift.opened":1,"shift.open_date":1717459765}}} [17:00:53]free response buf [17:00:53]execute_script done [17:00:53]execute_script returns [17:00:53]free content buf [17:00:53]Sock 7.Close socket [17:00:53]Sock 7.Thread stoped [17:00:53]accept exits with 9 [17:00:53]New connection [17:00:53]New thread 3066735972 created [17:00:53]Thread 3066592612 joined [17:00:53]Waiting for new connection... [17:00:53] Sock 9.Parse request [17:00:53]Sock 9.Check first char [17:00:53]Sock 9.First char is OK [17:00:53]request: POST /json_proto HTTP/1.0 [17:00:53]Method: POST [17:00:53]URL: /json_proto [17:00:53]Method is POST - this is cgi request [17:00:53]url: /json_proto [17:00:53]query_string will be loaded in cgi processing [17:00:53]execute_cgi json_proto POST (null) [17:00:53]execute_cgi path=json_proto method=POST [17:00:53]POST find Content-Length [17:00:53]Host: 172.17.36.131:8080 [17:00:53]Content-Length: 331 [17:00:53]Content-Type: application/json [17:00:53] [17:00:53]POST finish read [17:00:53]Found Content-Length = 331 [17:00:53]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [17:00:53]execute_script... [17:00:53]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [17:00:53]POST & json_proto [17:00:53]process_json_proto [17:00:53]json parsed OK: [17:00:53]protocol is kg_v1.0 [17:00:53]action value=get_value [17:00:53]process_action get_value [17:00:53]cmd_get_value [17:00:53]process_action get_value done [17:00:53]requested_data is exist [17:00:53]produce_requested_data [17:00:53]requested_item fm.sale.total is exist - process it [17:00:53]SAM_PROTO_GetFMData [17:00:53]wFMCommunicate request_size=4 [17:00:53]MH_SAM_APDU [17:00:53]CAPDU: 80 13 03 00 [17:00:53]Write to MH i2c: E2 08 00 AE 02 80 13 03 00 00 00 00 00 2F [17:00:53]Write i2c OK [17:00:53]MH_I2C_Read... [17:00:53]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [17:00:53]Read from MH i2c: E2 [17:00:53]MH_I2C_Read... [17:00:53]Read from MH i2c: E2 FD 00 [17:00:53]MH_I2C_Read... [17:00:53]Read from MH i2c: E2 FD 00 AE 02 00 C4 04 85 04 C0 04 6E 04 04 00 A0 84 00 00 69 04 A0 00 6F 04 04 00 32 83 00 00 B1 04 04 00 34 C4 9E 5E 70 04 04 00 98 B1 E4 53 72 04 04 00 9C 12 BA 0A 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 62 F5 0C 0A EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 28 5F D6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 6E 01 00 00 B1 04 04 00 58 48 44 02 70 04 04 00 50 6A 39 02 72 04 03 00 08 DE 0A 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 3B A1 3D EF 03 09 00 90 00 27 [17:00:53]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 A0 84 00 00 69 04 A0 00 6F 04 04 00 32 83 00 00 B1 04 04 00 34 C4 9E 5E 70 04 04 00 98 B1 E4 53 72 04 04 00 9C 12 BA 0A 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 62 F5 0C 0A EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 28 5F D6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 6E 01 00 00 B1 04 04 00 58 48 44 02 70 04 04 00 50 6A 39 02 72 04 03 00 08 DE 0A 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 3B A1 3D EF 03 09 00 90 00 [17:00:53]wFMCommunicate OK [17:00:53]wFMCommunicate request_size=4 [17:00:53]MH_SAM_APDU [17:00:53]CAPDU: 80 17 00 00 [17:00:53]Write to MH i2c: E2 08 00 AF 02 80 17 00 00 00 00 00 00 31 [17:00:53]Write i2c OK [17:00:53]MH_I2C_Read... [17:00:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:00:53]Read from MH i2c: E2 [17:00:53]MH_I2C_Read... [17:00:53]Read from MH i2c: E2 FD 00 [17:00:53]MH_I2C_Read... [17:00:53]Read from MH i2c: E2 FD 00 AF 02 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 9B 22 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 A9 [17:00:53]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 9B 22 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [17:00:53]wFMCommunicate OK [17:00:53]wFMCommunicate request_size=4 [17:00:53]MH_SAM_APDU [17:00:53]CAPDU: 80 17 00 00 [17:00:53]Write to MH i2c: E2 08 00 B0 02 80 17 00 00 00 00 00 00 32 [17:00:53]Write i2c OK [17:00:53]MH_I2C_Read... [17:00:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:00:54]Read from MH i2c: E2 [17:00:54]MH_I2C_Read... [17:00:54]Read from MH i2c: E2 FD 00 [17:00:54]MH_I2C_Read... [17:00:54]Read from MH i2c: E2 FD 00 B0 02 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 47 [17:00:54]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [17:00:54]wFMCommunicate OK [17:00:54]wFMCommunicate request_size=4 [17:00:54]MH_SAM_APDU [17:00:54]CAPDU: 80 17 00 00 [17:00:54]Write to MH i2c: E2 08 00 B1 02 80 17 00 00 00 00 00 00 33 [17:00:54]Write i2c OK [17:00:54]MH_I2C_Read... [17:00:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:00:54]Read from MH i2c: E2 [17:00:54]MH_I2C_Read... [17:00:54]Read from MH i2c: E2 FD 00 [17:00:54]MH_I2C_Read... [17:00:54]Read from MH i2c: E2 FD 00 B1 02 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 AB [17:00:54]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [17:00:54]wFMCommunicate OK [17:00:54]wFMCommunicate request_size=4 [17:00:54]MH_SAM_APDU [17:00:54]CAPDU: 80 17 00 00 [17:00:54]Write to MH i2c: E2 08 00 B2 02 80 17 00 00 00 00 00 00 34 [17:00:54]Write i2c OK [17:00:54]MH_I2C_Read... [17:00:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [17:00:54]Read from MH i2c: E2 [17:00:54]MH_I2C_Read... [17:00:54]Read from MH i2c: E2 E1 00 [17:00:54]MH_I2C_Read... [17:00:54]Read from MH i2c: E2 E1 00 B2 02 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 22 [17:00:54]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [17:00:54]wFMCommunicate OK [17:00:54]SAM_PROTO_GetFMData done [17:00:54]requested_item fm.sale_refund.total is exist - process it [17:00:54]requested_item fm.buy.total is exist - process it [17:00:54]requested_item shift.sale.total is exist - process it [17:00:54]SAM_PROTO_GetShiftData [17:00:54]wFMCommunicate request_size=4 [17:00:54]MH_SAM_APDU [17:00:54]CAPDU: 80 13 02 00 [17:00:54]Write to MH i2c: E2 08 00 B3 02 80 13 02 00 00 00 00 00 33 [17:00:54]Write i2c OK [17:00:54]MH_I2C_Read... [17:00:55]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [17:00:55]Read from MH i2c: E2 [17:00:55]MH_I2C_Read... [17:00:55]Read from MH i2c: E2 FD 00 [17:00:55]MH_I2C_Read... [17:00:55]Read from MH i2c: E2 FD 00 B3 02 00 AD 04 AA 04 A9 04 6E 04 04 00 20 00 00 00 69 04 9A 00 6F 04 04 00 20 00 00 00 B1 04 03 00 40 BD 07 70 04 03 00 60 E5 05 72 04 03 00 E0 D7 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 62 D2 EF 03 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 11 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 FF [17:00:55]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 20 00 00 00 69 04 9A 00 6F 04 04 00 20 00 00 00 B1 04 03 00 40 BD 07 70 04 03 00 60 E5 05 72 04 03 00 E0 D7 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 62 D2 EF 03 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 11 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 [17:00:55]wFMCommunicate OK [17:00:55]wFMCommunicate request_size=4 [17:00:55]MH_SAM_APDU [17:00:55]CAPDU: 80 17 00 00 [17:00:55]Write to MH i2c: E2 08 00 B4 02 80 17 00 00 00 00 00 00 36 [17:00:55]Write i2c OK [17:00:55]MH_I2C_Read... [17:00:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:00:55]Read from MH i2c: E2 [17:00:55]MH_I2C_Read... [17:00:55]Read from MH i2c: E2 FD 00 [17:00:55]MH_I2C_Read... [17:00:55]Read from MH i2c: E2 FD 00 B4 02 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 48 [17:00:55]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 [17:00:55]wFMCommunicate OK [17:00:55]wFMCommunicate request_size=4 [17:00:55]MH_SAM_APDU [17:00:55]CAPDU: 80 17 00 00 [17:00:55]Write to MH i2c: E2 08 00 B5 02 80 17 00 00 00 00 00 00 37 [17:00:55]Write i2c OK [17:00:55]MH_I2C_Read... [17:00:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:00:55]Read from MH i2c: E2 [17:00:55]MH_I2C_Read... [17:00:55]Read from MH i2c: E2 FD 00 [17:00:55]MH_I2C_Read... [17:00:55]Read from MH i2c: E2 FD 00 B5 02 00 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 FB [17:00:55]RAPDU: 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 [17:00:55]wFMCommunicate OK [17:00:55]wFMCommunicate request_size=4 [17:00:55]MH_SAM_APDU [17:00:55]CAPDU: 80 17 00 00 [17:00:55]Write to MH i2c: E2 08 00 B6 02 80 17 00 00 00 00 00 00 38 [17:00:55]Write i2c OK [17:00:55]MH_I2C_Read... [17:00:56]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:00:56]Read from MH i2c: E2 [17:00:56]MH_I2C_Read... [17:00:56]Read from MH i2c: E2 FD 00 [17:00:56]MH_I2C_Read... [17:00:56]Read from MH i2c: E2 FD 00 B6 02 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 AD [17:00:56]RAPDU: 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 [17:00:56]wFMCommunicate OK [17:00:56]wFMCommunicate request_size=4 [17:00:56]MH_SAM_APDU [17:00:56]CAPDU: 80 17 00 00 [17:00:56]Write to MH i2c: E2 08 00 B7 02 80 17 00 00 00 00 00 00 39 [17:00:56]Write i2c OK [17:00:56]MH_I2C_Read... [17:00:56]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [17:00:56]Read from MH i2c: E2 [17:00:56]MH_I2C_Read... [17:00:56]Read from MH i2c: E2 CA 00 [17:00:56]MH_I2C_Read... [17:00:56]Read from MH i2c: E2 CA 00 B7 02 00 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 1E [17:00:56]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [17:00:56]wFMCommunicate OK [17:00:56]SAM_PROTO_GetShiftData done [17:00:56]requested_item shift.sale.total_cash is exist - process it [17:00:56]requested_item shift.sale_refund.total is exist - process it [17:00:56]requested_item shift.sale_refund.total_cash is exist - process it [17:00:56]requested_item shift.buy.total is exist - process it [17:00:56]requested_item shift.buy.total_cash is exist - process it [17:00:56]produce_requested_data done [17:00:56]produce_requested_data return {"fm.sale.total":15874632.20,"fm.sale_refund.total":380294.00,"fm.buy.total":0.00,"shift.sale.total":5072.00,"shift.sale.total_cash":3864.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [17:00:56]process_action_free get_value [17:00:56]json_value_free [17:00:56]json_value_free done [17:00:56]process_json_proto returns [17:00:56]Send response to host [17:00:56]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":15874632.20,"fm.sale_refund.total":380294.00,"fm.buy.total":0.00,"shift.sale.total":5072.00,"shift.sale.total_cash":3864.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [17:00:56]free response buf [17:00:56]execute_script done [17:00:56]execute_script returns [17:00:56]free content buf [17:00:56]Sock 9.Close socket [17:00:56]Sock 9.Thread stoped [17:00:56]OFD Sender: No OFD packet to send [17:00:56]accept exits with 7 [17:00:56]New connection [17:00:56]New thread 3066592612 created [17:00:56]Thread 3066735972 joined [17:00:56]Waiting for new connection... [17:00:56] Sock 7.Parse request [17:00:56]Sock 7.Check first char [17:00:56]Sock 7.First char is OK [17:00:56]request: POST /json_proto HTTP/1.0 [17:00:56]Method: POST [17:00:56]URL: /json_proto [17:00:56]Method is POST - this is cgi request [17:00:56]url: /json_proto [17:00:56]query_string will be loaded in cgi processing [17:00:56]execute_cgi json_proto POST (null) [17:00:56]execute_cgi path=json_proto method=POST [17:00:56]POST find Content-Length [17:00:56]Host: 172.17.36.131:8080 [17:00:56]Content-Length: 331 [17:00:56]Content-Type: application/json [17:00:56] [17:00:56]POST finish read [17:00:56]Found Content-Length = 331 [17:00:56]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [17:00:56]execute_script... [17:00:56]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [17:00:56]POST & json_proto [17:00:56]process_json_proto [17:00:56]json parsed OK: [17:00:56]protocol is kg_v1.0 [17:00:56]action value=get_value [17:00:56]process_action get_value [17:00:56]cmd_get_value [17:00:56]process_action get_value done [17:00:56]requested_data is exist [17:00:56]produce_requested_data [17:00:56]requested_item fm.sale.total is exist - process it [17:00:56]SAM_PROTO_GetFMData [17:00:56]wFMCommunicate request_size=4 [17:00:56]MH_SAM_APDU [17:00:56]CAPDU: 80 13 03 00 [17:00:56]Write to MH i2c: E2 08 00 B8 02 80 13 03 00 00 00 00 00 39 [17:00:56]Write i2c OK [17:00:56]MH_I2C_Read... [17:00:57]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [17:00:57]Read from MH i2c: E2 [17:00:57]MH_I2C_Read... [17:00:57]Read from MH i2c: E2 FD 00 [17:00:57]MH_I2C_Read... [17:00:57]Read from MH i2c: E2 FD 00 B8 02 00 C4 04 85 04 C0 04 6E 04 04 00 A0 84 00 00 69 04 A0 00 6F 04 04 00 32 83 00 00 B1 04 04 00 34 C4 9E 5E 70 04 04 00 98 B1 E4 53 72 04 04 00 9C 12 BA 0A 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 62 F5 0C 0A EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 28 5F D6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 6E 01 00 00 B1 04 04 00 58 48 44 02 70 04 04 00 50 6A 39 02 72 04 03 00 08 DE 0A 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 3B A1 3D EF 03 09 00 90 00 31 [17:00:57]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 A0 84 00 00 69 04 A0 00 6F 04 04 00 32 83 00 00 B1 04 04 00 34 C4 9E 5E 70 04 04 00 98 B1 E4 53 72 04 04 00 9C 12 BA 0A 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 62 F5 0C 0A EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 28 5F D6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 6E 01 00 00 B1 04 04 00 58 48 44 02 70 04 04 00 50 6A 39 02 72 04 03 00 08 DE 0A 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 3B A1 3D EF 03 09 00 90 00 [17:00:57]wFMCommunicate OK [17:00:57]wFMCommunicate request_size=4 [17:00:57]MH_SAM_APDU [17:00:57]CAPDU: 80 17 00 00 [17:00:57]Write to MH i2c: E2 08 00 B9 02 80 17 00 00 00 00 00 00 3B [17:00:57]Write i2c OK [17:00:57]MH_I2C_Read... [17:00:57]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:00:57]Read from MH i2c: E2 [17:00:57]MH_I2C_Read... [17:00:57]Read from MH i2c: E2 FD 00 [17:00:57]MH_I2C_Read... [17:00:57]Read from MH i2c: E2 FD 00 B9 02 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 9B 22 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 B3 [17:00:57]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 9B 22 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [17:00:57]wFMCommunicate OK [17:00:57]wFMCommunicate request_size=4 [17:00:57]MH_SAM_APDU [17:00:57]CAPDU: 80 17 00 00 [17:00:57]Write to MH i2c: E2 08 00 BA 02 80 17 00 00 00 00 00 00 3C [17:00:57]Write i2c OK [17:00:57]MH_I2C_Read... [17:00:57]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:00:57]Read from MH i2c: E2 [17:00:57]MH_I2C_Read... [17:00:57]Read from MH i2c: E2 FD 00 [17:00:57]MH_I2C_Read... [17:00:57]Read from MH i2c: E2 FD 00 BA 02 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 51 [17:00:58]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [17:00:58]wFMCommunicate OK [17:00:58]wFMCommunicate request_size=4 [17:00:58]MH_SAM_APDU [17:00:58]CAPDU: 80 17 00 00 [17:00:58]Write to MH i2c: E2 08 00 BB 02 80 17 00 00 00 00 00 00 3D [17:00:58]Write i2c OK [17:00:58]MH_I2C_Read... [17:00:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:00:58]Read from MH i2c: E2 [17:00:58]MH_I2C_Read... [17:00:58]Read from MH i2c: E2 FD 00 [17:00:58]MH_I2C_Read... [17:00:58]Read from MH i2c: E2 FD 00 BB 02 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 B5 [17:00:58]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [17:00:58]wFMCommunicate OK [17:00:58]wFMCommunicate request_size=4 [17:00:58]MH_SAM_APDU [17:00:58]CAPDU: 80 17 00 00 [17:00:58]Write to MH i2c: E2 08 00 BC 02 80 17 00 00 00 00 00 00 3E [17:00:58]Write i2c OK [17:00:58]MH_I2C_Read... [17:00:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [17:00:58]Read from MH i2c: E2 [17:00:58]MH_I2C_Read... [17:00:58]Read from MH i2c: E2 E1 00 [17:00:58]MH_I2C_Read... [17:00:58]Read from MH i2c: E2 E1 00 BC 02 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 2C [17:00:58]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [17:00:59]wFMCommunicate OK [17:00:59]SAM_PROTO_GetFMData done [17:00:59]requested_item fm.sale_refund.total is exist - process it [17:00:59]requested_item fm.buy.total is exist - process it [17:00:59]requested_item shift.sale.total is exist - process it [17:00:59]SAM_PROTO_GetShiftData [17:00:59]wFMCommunicate request_size=4 [17:00:59]MH_SAM_APDU [17:00:59]CAPDU: 80 13 02 00 [17:00:59]Write to MH i2c: E2 08 00 BD 02 80 13 02 00 00 00 00 00 3D [17:00:59]Write i2c OK [17:00:59]MH_I2C_Read... [17:00:59]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [17:00:59]Read from MH i2c: E2 [17:00:59]MH_I2C_Read... [17:00:59]Read from MH i2c: E2 FD 00 [17:00:59]MH_I2C_Read... [17:00:59]Read from MH i2c: E2 FD 00 BD 02 00 AD 04 AA 04 A9 04 6E 04 04 00 20 00 00 00 69 04 9A 00 6F 04 04 00 20 00 00 00 B1 04 03 00 40 BD 07 70 04 03 00 60 E5 05 72 04 03 00 E0 D7 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 62 D2 EF 03 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 11 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 09 [17:00:59]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 20 00 00 00 69 04 9A 00 6F 04 04 00 20 00 00 00 B1 04 03 00 40 BD 07 70 04 03 00 60 E5 05 72 04 03 00 E0 D7 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 62 D2 EF 03 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 11 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 [17:00:59]wFMCommunicate OK [17:00:59]wFMCommunicate request_size=4 [17:00:59]MH_SAM_APDU [17:00:59]CAPDU: 80 17 00 00 [17:00:59]Write to MH i2c: E2 08 00 BE 02 80 17 00 00 00 00 00 00 40 [17:00:59]Write i2c OK [17:00:59]MH_I2C_Read... [17:00:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:00:59]Read from MH i2c: E2 [17:00:59]MH_I2C_Read... [17:00:59]Read from MH i2c: E2 FD 00 [17:00:59]MH_I2C_Read... [17:00:59]Read from MH i2c: E2 FD 00 BE 02 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 52 [17:01:00]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 [17:01:00]wFMCommunicate OK [17:01:00]wFMCommunicate request_size=4 [17:01:00]MH_SAM_APDU [17:01:00]CAPDU: 80 17 00 00 [17:01:00]Write to MH i2c: E2 08 00 BF 02 80 17 00 00 00 00 00 00 41 [17:01:00]Write i2c OK [17:01:00]MH_I2C_Read... [17:01:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:01:00]Read from MH i2c: E2 [17:01:00]MH_I2C_Read... [17:01:00]Read from MH i2c: E2 FD 00 [17:01:00]MH_I2C_Read... [17:01:00]Read from MH i2c: E2 FD 00 BF 02 00 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 05 [17:01:00]RAPDU: 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 [17:01:00]wFMCommunicate OK [17:01:00]wFMCommunicate request_size=4 [17:01:00]MH_SAM_APDU [17:01:00]CAPDU: 80 17 00 00 [17:01:00]Write to MH i2c: E2 08 00 C0 02 80 17 00 00 00 00 00 00 42 [17:01:00]Write i2c OK [17:01:00]MH_I2C_Read... [17:01:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:01:00]Read from MH i2c: E2 [17:01:00]MH_I2C_Read... [17:01:00]Read from MH i2c: E2 FD 00 [17:01:00]MH_I2C_Read... [17:01:00]Read from MH i2c: E2 FD 00 C0 02 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 B7 [17:01:00]RAPDU: 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 [17:01:01]wFMCommunicate OK [17:01:01]wFMCommunicate request_size=4 [17:01:01]MH_SAM_APDU [17:01:01]CAPDU: 80 17 00 00 [17:01:01]Write to MH i2c: E2 08 00 C1 02 80 17 00 00 00 00 00 00 43 [17:01:01]Write i2c OK [17:01:01]MH_I2C_Read... [17:01:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [17:01:01]Read from MH i2c: E2 [17:01:01]MH_I2C_Read... [17:01:01]Read from MH i2c: E2 CA 00 [17:01:01]MH_I2C_Read... [17:01:01]Read from MH i2c: E2 CA 00 C1 02 00 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 28 [17:01:01]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [17:01:01]wFMCommunicate OK [17:01:01]SAM_PROTO_GetShiftData done [17:01:01]requested_item shift.sale.total_cash is exist - process it [17:01:01]requested_item shift.sale_refund.total is exist - process it [17:01:01]requested_item shift.sale_refund.total_cash is exist - process it [17:01:01]requested_item shift.buy.total is exist - process it [17:01:01]requested_item shift.buy.total_cash is exist - process it [17:01:01]produce_requested_data done [17:01:01]produce_requested_data return {"fm.sale.total":15874632.20,"fm.sale_refund.total":380294.00,"fm.buy.total":0.00,"shift.sale.total":5072.00,"shift.sale.total_cash":3864.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [17:01:01]process_action_free get_value [17:01:01]json_value_free [17:01:01]json_value_free done [17:01:01]process_json_proto returns [17:01:01]Send response to host [17:01:01]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":15874632.20,"fm.sale_refund.total":380294.00,"fm.buy.total":0.00,"shift.sale.total":5072.00,"shift.sale.total_cash":3864.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [17:01:01]free response buf [17:01:01]execute_script done [17:01:01]execute_script returns [17:01:01]free content buf [17:01:01]Sock 7.Close socket [17:01:01]Sock 7.Thread stoped [17:01:01]accept exits with 9 [17:01:01]New connection [17:01:01]New thread 3066735972 created [17:01:01]Thread 3066592612 joined [17:01:01]Waiting for new connection... [17:01:01] Sock 9.Parse request [17:01:01]Sock 9.Check first char [17:01:01]Sock 9.First char is OK [17:01:01]request: POST /json_proto HTTP/1.0 [17:01:01]Method: POST [17:01:01]URL: /json_proto [17:01:01]Method is POST - this is cgi request [17:01:01]url: /json_proto [17:01:01]query_string will be loaded in cgi processing [17:01:01]execute_cgi json_proto POST (null) [17:01:01]execute_cgi path=json_proto method=POST [17:01:01]POST find Content-Length [17:01:01]Host: 172.17.36.131:8080 [17:01:01]Content-Length: 272 [17:01:01]Content-Type: application/json [17:01:01] [17:01:01]POST finish read [17:01:01]Found Content-Length = 272 [17:01:01]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u0418\u0441\u043C\u0430\u043D\u0430\u043B\u0438\u0435\u0432 \u0414. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:01:01]execute_script... [17:01:01]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u0418\u0441\u043C\u0430\u043D\u0430\u043B\u0438\u0435\u0432 \u0414. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:01:01]POST & json_proto [17:01:01]process_json_proto [17:01:01]json parsed OK: [17:01:01]protocol is kg_v1.0 [17:01:01]action value=close_shift [17:01:01]process_action close_shift [17:01:01]cmd_close_shift [17:01:01]MH_GetDate [17:01:01]Write to MH i2c: F0 00 00 C2 02 B3 [17:01:01]Write i2c OK [17:01:01]MH_I2C_Read... [17:01:01]Read from MH i2c: F0 [17:01:01]MH_I2C_Read... [17:01:01]Read from MH i2c: F0 09 00 [17:01:01]MH_I2C_Read... [17:01:01]Read from MH i2c: F0 09 00 C2 02 00 4E 48 5F 66 A7 4C 98 65 07 [17:01:01]GetLastDocTimeStamp 1717520411 [17:01:01]current date 1717520462 [17:01:01]FM_GetShiftState [17:01:01]SAM_PROTO_GetShiftState [17:01:01]wFMCommunicate request_size=4 [17:01:01]MH_SAM_APDU [17:01:01]CAPDU: 80 13 01 00 [17:01:01]Write to MH i2c: E2 08 00 C3 02 80 13 01 00 00 00 00 00 42 [17:01:01]Write i2c OK [17:01:01]MH_I2C_Read... [17:01:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:01:01]Read from MH i2c: E2 [17:01:01]MH_I2C_Read... [17:01:01]Read from MH i2c: E2 0E 00 [17:01:01]MH_I2C_Read... [17:01:01]Read from MH i2c: E2 0E 00 C3 02 00 09 00 01 35 5B 5E 66 00 00 00 00 90 00 A2 [17:01:01]RAPDU: 09 00 01 35 5B 5E 66 00 00 00 00 90 00 [17:01:01]wFMCommunicate OK [17:01:01]SAM_PROTO_GetShiftState done [17:01:01]FM_GetShiftState done [17:01:01]KKMCreateCloseShiftDocument [17:01:01]Load OK [17:01:01]Malloc new data [17:01:01]MH_GetDate [17:01:01]Write to MH i2c: F0 00 00 C4 02 B5 [17:01:01]OFD Sender: No OFD packet to send [17:01:01]Write i2c OK [17:01:01]MH_I2C_Read... [17:01:01]Read from MH i2c: F0 [17:01:01]MH_I2C_Read... [17:01:01]Read from MH i2c: F0 09 00 [17:01:01]MH_I2C_Read... [17:01:01]Read from MH i2c: F0 09 00 C4 02 00 4E 48 5F 66 A7 4C 98 65 09 [17:01:01]Malloc new data [17:01:01]Malloc new data [17:01:01]Malloc new data [17:01:01]Malloc new data [17:01:01]KKMCreateCloseShiftDocument OK [17:01:01]KKMSetCloseShiftData OK [17:01:01]ProcessDocumentItem done err = 0, tmpTLVsize=75 [17:01:01]tlvbuf is 00B5E8C0 [17:01:01]KKMLoadAndSignCloseShiftData [17:01:01]SAM_PROTO_ProcessDocument [17:01:01]wFMCommunicate request_size=9 [17:01:01]MH_SAM_APDU [17:01:01]CAPDU: 80 15 01 00 04 05 00 4B 00 [17:01:01]Write to MH i2c: E2 0C 00 C5 02 80 15 01 00 04 00 05 00 4B 00 00 00 9E [17:01:01]Write i2c OK [17:01:01]MH_I2C_Read... [17:01:01]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [17:01:01]Read from MH i2c: E2 [17:01:01]MH_I2C_Read... [17:01:01]Read from MH i2c: E2 03 00 [17:01:01]MH_I2C_Read... [17:01:01]Read from MH i2c: E2 03 00 C5 02 00 90 00 3B [17:01:01]RAPDU: 90 00 [17:01:01]wFMCommunicate OK [17:01:01]wFMCommunicate request_size=23 [17:01:01]MH_SAM_APDU [17:01:01]CAPDU: 80 15 02 00 12 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 [17:01:01]Write to MH i2c: E2 1A 00 C6 02 80 15 02 00 12 00 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 00 00 3D [17:01:01]Write i2c OK [17:01:01]MH_I2C_Read... [17:01:01]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [17:01:01]Read from MH i2c: E2 [17:01:01]MH_I2C_Read... [17:01:01]Read from MH i2c: E2 03 00 [17:01:01]MH_I2C_Read... [17:01:01]Read from MH i2c: E2 03 00 C6 02 00 90 00 3C [17:01:01]RAPDU: 90 00 [17:01:01]wFMCommunicate OK [17:01:01]wFMCommunicate request_size=34 [17:01:01]MH_SAM_APDU [17:01:01]CAPDU: 80 15 02 00 1D FD 03 19 00 D0 98 D1 81 D0 BC D0 B0 D0 BD D0 B0 D0 BB D0 B8 D0 B5 D0 B2 20 D0 94 2E 20 [17:01:01]Write to MH i2c: E2 25 00 C7 02 80 15 02 00 1D 00 FD 03 19 00 D0 98 D1 81 D0 BC D0 B0 D0 BD D0 B0 D0 BB D0 B8 D0 B5 D0 B2 20 D0 94 2E 20 00 00 5B [17:01:01]Write i2c OK [17:01:01]MH_I2C_Read... [17:01:01]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [17:01:01]Read from MH i2c: E2 [17:01:01]MH_I2C_Read... [17:01:01]Read from MH i2c: E2 03 00 [17:01:01]MH_I2C_Read... [17:01:01]Read from MH i2c: E2 03 00 C7 02 00 90 00 3D [17:01:01]RAPDU: 90 00 [17:01:01]wFMCommunicate OK [17:01:01]wFMCommunicate request_size=13 [17:01:01]MH_SAM_APDU [17:01:01]CAPDU: 80 15 02 00 08 F4 03 04 00 4E 48 5F 66 [17:01:01]Write to MH i2c: E2 10 00 C8 02 80 15 02 00 08 00 F4 03 04 00 4E 48 5F 66 00 00 B0 [17:01:01]Write i2c OK [17:01:01]MH_I2C_Read... [17:01:02]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [17:01:02]Read from MH i2c: E2 [17:01:02]MH_I2C_Read... [17:01:02]Read from MH i2c: E2 03 00 [17:01:02]MH_I2C_Read... [17:01:02]Read from MH i2c: E2 03 00 C8 02 00 90 00 3E [17:01:02]RAPDU: 90 00 [17:01:02]wFMCommunicate OK [17:01:02]wFMCommunicate request_size=25 [17:01:02]MH_SAM_APDU [17:01:02]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 [17:01:02]Write to MH i2c: E2 1C 00 C9 02 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 00 00 B6 [17:01:02]Write i2c OK [17:01:02]MH_I2C_Read... [17:01:02]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [17:01:02]Read from MH i2c: E2 [17:01:02]MH_I2C_Read... [17:01:02]Read from MH i2c: E2 03 00 [17:01:02]MH_I2C_Read... [17:01:02]Read from MH i2c: E2 03 00 C9 02 00 90 00 3F [17:01:02]RAPDU: 90 00 [17:01:02]wFMCommunicate OK [17:01:02]wFMCommunicate request_size=4 [17:01:02]MH_SAM_APDU [17:01:02]CAPDU: 80 15 03 00 [17:01:02]Write to MH i2c: E2 08 00 CA 02 80 15 03 00 00 00 00 00 4D [17:01:02]Write i2c OK [17:01:02]MH_I2C_Read... [17:01:02]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 250! [17:01:02]Read from MH i2c: E2 [17:01:02]MH_I2C_Read... [17:01:02]Read from MH i2c: E2 FD 00 [17:01:02]MH_I2C_Read... [17:01:02]Read from MH i2c: E2 FD 00 CA 02 00 F0 04 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 81 87 00 00 0E 04 04 00 70 01 00 00 5E 04 04 00 20 00 00 00 57 04 04 00 22 00 00 00 AA 04 A9 04 6E 04 04 00 20 00 00 00 69 04 9A 00 6F 04 04 00 20 00 00 00 B1 04 03 00 40 BD 07 70 04 03 00 60 E5 05 72 04 03 00 E0 D7 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 62 D2 EF 03 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 11 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 90 00 EB [17:01:02]RAPDU: F0 04 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 81 87 00 00 0E 04 04 00 70 01 00 00 5E 04 04 00 20 00 00 00 57 04 04 00 22 00 00 00 AA 04 A9 04 6E 04 04 00 20 00 00 00 69 04 9A 00 6F 04 04 00 20 00 00 00 B1 04 03 00 40 BD 07 70 04 03 00 60 E5 05 72 04 03 00 E0 D7 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 62 D2 EF 03 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 11 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 90 00 [17:01:02]wFMCommunicate OK [17:01:02]SAM_PROTO_ProcessDocument answer len = 1264 [17:01:02]SAM_PROTO_ProcessDocument remain to read = 1016 [17:01:02]wFMCommunicate request_size=4 [17:01:02]MH_SAM_APDU [17:01:02]CAPDU: 80 17 00 00 [17:01:02]Write to MH i2c: E2 08 00 CB 02 80 17 00 00 00 00 00 00 4D [17:01:02]Write i2c OK [17:01:02]MH_I2C_Read... [17:01:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:01:03]Read from MH i2c: E2 [17:01:03]MH_I2C_Read... [17:01:03]Read from MH i2c: E2 FD 00 [17:01:03]MH_I2C_Read... [17:01:03]Read from MH i2c: E2 FD 00 CB 02 00 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 25 [17:01:03]RAPDU: 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 [17:01:03]wFMCommunicate OK [17:01:03]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [17:01:03]SAM_PROTO_ProcessDocument remain to read = 766 [17:01:03]wFMCommunicate request_size=4 [17:01:03]MH_SAM_APDU [17:01:03]CAPDU: 80 17 00 00 [17:01:03]Write to MH i2c: E2 08 00 CC 02 80 17 00 00 00 00 00 00 4E [17:01:03]Write i2c OK [17:01:03]MH_I2C_Read... [17:01:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:01:03]Read from MH i2c: E2 [17:01:03]MH_I2C_Read... [17:01:03]Read from MH i2c: E2 FD 00 [17:01:03]MH_I2C_Read... [17:01:03]Read from MH i2c: E2 FD 00 CC 02 00 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 B0 [17:01:03]RAPDU: 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 [17:01:03]wFMCommunicate OK [17:01:03]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [17:01:03]SAM_PROTO_ProcessDocument remain to read = 516 [17:01:03]wFMCommunicate request_size=4 [17:01:03]MH_SAM_APDU [17:01:03]CAPDU: 80 17 00 00 [17:01:03]Write to MH i2c: E2 08 00 CD 02 80 17 00 00 00 00 00 00 4F [17:01:03]Write i2c OK [17:01:03]MH_I2C_Read... [17:01:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:01:04]Read from MH i2c: E2 [17:01:04]MH_I2C_Read... [17:01:04]Read from MH i2c: E2 FD 00 [17:01:04]MH_I2C_Read... [17:01:04]Read from MH i2c: E2 FD 00 CD 02 00 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 90 00 DB [17:01:04]RAPDU: 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 90 00 [17:01:04]wFMCommunicate OK [17:01:04]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [17:01:04]SAM_PROTO_ProcessDocument remain to read = 266 [17:01:04]wFMCommunicate request_size=4 [17:01:04]MH_SAM_APDU [17:01:04]CAPDU: 80 17 00 00 [17:01:04]Write to MH i2c: E2 08 00 CE 02 80 17 00 00 00 00 00 00 50 [17:01:04]Write i2c OK [17:01:04]MH_I2C_Read... [17:01:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:01:04]Read from MH i2c: E2 [17:01:04]MH_I2C_Read... [17:01:04]Read from MH i2c: E2 FD 00 [17:01:04]MH_I2C_Read... [17:01:04]Read from MH i2c: E2 FD 00 CE 02 00 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 16 [17:01:04]RAPDU: 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 [17:01:05]wFMCommunicate OK [17:01:05]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [17:01:05]SAM_PROTO_ProcessDocument remain to read = 16 [17:01:05]wFMCommunicate request_size=4 [17:01:05]MH_SAM_APDU [17:01:05]CAPDU: 80 17 00 00 [17:01:05]Write to MH i2c: E2 08 00 CF 02 80 17 00 00 00 00 00 00 51 [17:01:05]Write i2c OK [17:01:05]MH_I2C_Read... [17:01:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 16! [17:01:05]Read from MH i2c: E2 [17:01:05]MH_I2C_Read... [17:01:05]Read from MH i2c: E2 13 00 [17:01:05]MH_I2C_Read... [17:01:05]Read from MH i2c: E2 13 00 CF 02 00 00 06 F7 03 00 00 35 04 06 00 CF 2E 65 46 F2 45 90 00 73 [17:01:05]RAPDU: 00 06 F7 03 00 00 35 04 06 00 CF 2E 65 46 F2 45 90 00 [17:01:05]wFMCommunicate OK [17:01:05]SAM_PROTO_ProcessDocument received (without SW) 16 bytes [17:01:05]SAM_PROTO_ProcessDocument done [17:01:05]1209 (1) - 1.0 - номер версии ФФД [17:01:05]1041 (16) - 0000000000874859 - номер ФМ [17:01:05]1040 (4) - 34689 - номер ФД [17:01:05]1038 (4) - 368 - номер смены [17:01:05]1118 (4) - 32 - количество кассовых чеков за смену [17:01:05]1111 (4) - 34 - общее количество ФД за смену [17:01:05]1194 (1193) - счетчики итогов смены [17:01:05] 1134 (4) - 32 - количество чеков со всеми признаками расчетов [17:01:05] 1129 (154) - счетчики операций «приход» [17:01:05] 1135 (4) - 32 - количество чеков по признаку расчетов [17:01:05] 1201 (3) - 5072.00 - общая итоговая сумма в чеках [17:01:05] 1136 (3) - 3864.00 - итоговая сумма в чеках наличными [17:01:05] 1138 (3) - 1208.00 - итоговая сумма в чеках безналичными [17:01:05] 1024 (121) - суммы налогов [17:01:05] 1006 (9) - суммы НДС [17:01:05] 1010 (1) - 0% - код ставки НДС [17:01:05] 1011 (0) - 0.00 - сумма НДС по ставке [17:01:05] 1006 (11) - суммы НДС [17:01:05] 1010 (1) - 12% - код ставки НДС [17:01:05] 1011 (2) - 538.58 - сумма НДС по ставке [17:01:05] 1007 (9) - суммы НСП [17:01:05] 1014 (1) - 0% - код ставки НСП [17:01:05] 1015 (0) - 0.00 - сумма НСП по ставке [17:01:05] 1007 (11) - суммы НСП [17:01:05] 1014 (1) - 1% - код ставки НСП [17:01:05] 1015 (2) - 44.83 - сумма НСП по ставке [17:01:05] 1007 (9) - суммы НСП [17:01:05] 1014 (1) - 2% - код ставки НСП [17:01:05] 1015 (0) - 0.00 - сумма НСП по ставке [17:01:05] 1007 (9) - суммы НСП [17:01:05] 1014 (1) - 3% - код ставки НСП [17:01:05] 1015 (0) - 0.00 - сумма НСП по ставке [17:01:05] 1007 (9) - суммы НСП [17:01:05] 1014 (1) - 5% - код ставки НСП [17:01:05] 1015 (0) - 0.00 - сумма НСП по ставке [17:01:05] 1007 (9) - суммы НСП [17:01:05] 1014 (1) - 0,50% - код ставки НСП [17:01:05] 1015 (0) - 0.00 - сумма НСП по ставке [17:01:05] 1007 (9) - суммы НСП [17:01:05] 1014 (1) - 1,50% - код ставки НСП [17:01:05] 1015 (0) - 0.00 - сумма НСП по ставке [17:01:05] 1130 (141) - счетчики операций «возврат прихода» [17:01:05] 1135 (4) - 0 - количество чеков по признаку расчетов [17:01:05] 1201 (0) - 0.00 - общая итоговая сумма в чеках [17:01:05] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [17:01:05] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [17:01:05] 1024 (117) - суммы налогов [17:01:05] 1006 (9) - суммы НДС [17:01:05] 1010 (1) - 0% - код ставки НДС [17:01:05] 1011 (0) - 0.00 - сумма НДС по ставке [17:01:05] 1006 (9) - суммы НДС [17:01:05] 1010 (1) - 12% - код ставки НДС [17:01:05] 1011 (0) - 0.00 - сумма НДС по ставке [17:01:05] 1007 (9) - суммы НСП [17:01:05] 1014 (1) - 0% - код ставки НСП [17:01:05] 1015 (0) - 0.00 - сумма НСП по ставке [17:01:05] 1007 (9) - суммы НСП [17:01:05] 1014 (1) - 1% - код ставки НСП [17:01:05] 1015 (0) - 0.00 - сумма НСП по ставке [17:01:05] 1007 (9) - суммы НСП [17:01:05] 1014 (1) - 2% - код ставки НСП [17:01:05] 1015 (0) - 0.00 - сумма НСП по ставке [17:01:05] 1007 (9) - суммы НСП [17:01:05] 1014 (1) - 3% - код ставки НСП [17:01:05] 1015 (0) - 0.00 - сумма НСП по ставке [17:01:05] 1007 (9) - суммы НСП [17:01:05] 1014 (1) - 5% - код ставки НСП [17:01:05] 1015 (0) - 0.00 - сумма НСП по ставке [17:01:05] 1007 (9) - суммы НСП [17:01:05] 1014 (1) - 0,50% - код ставки НСП [17:01:05] 1015 (0) - 0.00 - сумма НСП по ставке [17:01:05] 1007 (9) - суммы НСП [17:01:05] 1014 (1) - 1,50% - код ставки НСП [17:01:05] 1015 (0) - 0.00 - сумма НСП по ставке [17:01:05] 1131 (141) - счетчики операций «расход» [17:01:05] 1135 (4) - 0 - количество чеков по признаку расчетов [17:01:05] 1201 (0) - 0.00 - общая итоговая сумма в чеках [17:01:05] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [17:01:05] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [17:01:05] 1024 (117) - суммы налогов [17:01:05] 1006 (9) - суммы НДС [17:01:05] 1010 (1) - 0% - код ставки НДС [17:01:05] 1011 (0) - 0.00 - сумма НДС по ставке [17:01:05] 1006 (9) - суммы НДС [17:01:05] 1010 (1) - 12% - код ставки НДС [17:01:05] 1011 (0) - 0.00 - сумма НДС по ставке [17:01:05] 1007 (9) - суммы НСП [17:01:05] 1014 (1) - 0% - код ставки НСП [17:01:05] 1015 (0) - 0.00 - сумма НСП по ставке [17:01:05] 1007 (9) - суммы НСП [17:01:05] 1014 (1) - 1% - код ставки НСП [17:01:05] 1015 (0) - 0.00 - сумма НСП по ставке [17:01:05] 1007 (9) - суммы НСП [17:01:05] 1014 (1) - 2% - код ставки НСП [17:01:05] 1015 (0) - 0.00 - сумма НСП по ставке [17:01:05] 1007 (9) - суммы НСП [17:01:05] 1014 (1) - 3% - код ставки НСП [17:01:05] 1015 (0) - 0.00 - сумма НСП по ставке [17:01:05] 1007 (9) - суммы НСП [17:01:05] 1014 (1) - 5% - код ставки НСП [17:01:05] 1015 (0) - 0.00 - сумма НСП по ставке [17:01:05] 1007 (9) - суммы НСП [17:01:05] 1014 (1) - 0,50% - код ставки НСП [17:01:05] 1015 (0) - 0.00 - сумма НСП по ставке [17:01:05] 1007 (9) - суммы НСП [17:01:05] 1014 (1) - 1,50% - код ставки НСП [17:01:05] 1015 (0) - 0.00 - сумма НСП по ставке [17:01:05] 1132 (141) - счетчики операций «возврат расхода» [17:01:05] 1135 (4) - 0 - количество чеков по признаку расчетов [17:01:05] 1201 (0) - 0.00 - общая итоговая сумма в чеках [17:01:05] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [17:01:05] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [17:01:05] 1024 (117) - суммы налогов [17:01:05] 1006 (9) - суммы НДС [17:01:05] 1010 (1) - 0% - код ставки НДС [17:01:05] 1011 (0) - 0.00 - сумма НДС по ставке [17:01:05] 1006 (9) - суммы НДС [17:01:05] 1010 (1) - 12% - код ставки НДС [17:01:05] 1011 (0) - 0.00 - сумма НДС по ставке [17:01:05] 1007 (9) - суммы НСП [17:01:05] 1014 (1) - 0% - код ставки НСП [17:01:05] 1015 (0) - 0.00 - сумма НСП по ставке [17:01:05] 1007 (9) - суммы НСП [17:01:05] 1014 (1) - 1% - код ставки НСП [17:01:05] 1015 (0) - 0.00 - сумма НСП по ставке [17:01:05] 1007 (9) - суммы НСП [17:01:05] 1014 (1) - 2% - код ставки НСП [17:01:05] 1015 (0) - 0.00 - сумма НСП по ставке [17:01:05] 1007 (9) - суммы НСП [17:01:05] 1014 (1) - 3% - код ставки НСП [17:01:05] 1015 (0) - 0.00 - сумма НСП по ставке [17:01:05] 1007 (9) - суммы НСП [17:01:05] 1014 (1) - 5% - код ставки НСП [17:01:05] 1015 (0) - 0.00 - сумма НСП по ставке [17:01:05] 1007 (9) - суммы НСП [17:01:05] 1014 (1) - 0,50% - код ставки НСП [17:01:05] 1015 (0) - 0.00 - сумма НСП по ставке [17:01:05] 1007 (9) - суммы НСП [17:01:05] 1014 (1) - 1,50% - код ставки НСП [17:01:05] 1015 (0) - 0.00 - сумма НСП по ставке [17:01:05] 1133 (588) - - счетчики коррекции - не используются [17:01:05]1077 (6) - 227798174593605 - ФПД [17:01:05]SetTLVBufToDocument [17:01:05]Processing tag 1209 (04B9) [17:01:05]Malloc new data [17:01:05]Processing tag 1041 (0411) [17:01:05]Processing tag 1040 (0410) [17:01:05]Malloc new data [17:01:05]Processing tag 1038 (040E) [17:01:05]Malloc new data [17:01:05]Processing tag 1118 (045E) [17:01:05]Malloc new data [17:01:05]Processing tag 1111 (0457) [17:01:05]Malloc new data [17:01:05]Processing tag 1194 (04AA) [17:01:05]Load OK [17:01:05]SetTLVBufToDocument [17:01:05]Processing tag 1134 (046E) [17:01:05]Malloc new data [17:01:05]Processing tag 1129 (0469) [17:01:05]Load OK [17:01:05]SetTLVBufToDocument [17:01:05]Processing tag 1135 (046F) [17:01:05]Malloc new data [17:01:05]Processing tag 1201 (04B1) [17:01:05]Malloc new data [17:01:05]Processing tag 1136 (0470) [17:01:05]Malloc new data [17:01:05]Processing tag 1138 (0472) [17:01:05]Malloc new data [17:01:05]Processing tag 1024 (0400) [17:01:05]Load OK [17:01:05]SetTLVBufToDocument [17:01:05]Processing tag 1006 (03EE) [17:01:05]Load OK [17:01:05]SetTLVBufToDocument [17:01:05]Processing tag 1010 (03F2) [17:01:05]Malloc new data [17:01:05]Processing tag 1011 (03F3) [17:01:05]Malloc new data [17:01:05]SetTLVBufToDocument err=0 [17:01:05]Processing tag 1006 (03EE) [17:01:05]Load OK [17:01:05]SetTLVBufToDocument [17:01:05]Processing tag 1010 (03F2) [17:01:05]Malloc new data [17:01:05]Processing tag 1011 (03F3) [17:01:05]Malloc new data [17:01:05]SetTLVBufToDocument err=0 [17:01:05]Processing tag 1007 (03EF) [17:01:05]Load OK [17:01:05]SetTLVBufToDocument [17:01:05]Processing tag 1014 (03F6) [17:01:05]Malloc new data [17:01:05]Processing tag 1015 (03F7) [17:01:05]Malloc new data [17:01:05]SetTLVBufToDocument err=0 [17:01:05]Processing tag 1007 (03EF) [17:01:05]Load OK [17:01:05]SetTLVBufToDocument [17:01:05]Processing tag 1014 (03F6) [17:01:05]Malloc new data [17:01:05]Processing tag 1015 (03F7) [17:01:05]Malloc new data [17:01:05]SetTLVBufToDocument err=0 [17:01:05]Processing tag 1007 (03EF) [17:01:05]Load OK [17:01:05]SetTLVBufToDocument [17:01:05]Processing tag 1014 (03F6) [17:01:05]Malloc new data [17:01:05]Processing tag 1015 (03F7) [17:01:05]Malloc new data [17:01:05]SetTLVBufToDocument err=0 [17:01:05]Processing tag 1007 (03EF) [17:01:05]Load OK [17:01:05]SetTLVBufToDocument [17:01:05]Processing tag 1014 (03F6) [17:01:05]Malloc new data [17:01:05]Processing tag 1015 (03F7) [17:01:05]Malloc new data [17:01:05]SetTLVBufToDocument err=0 [17:01:05]Processing tag 1007 (03EF) [17:01:05]Load OK [17:01:05]SetTLVBufToDocument [17:01:05]Processing tag 1014 (03F6) [17:01:05]Malloc new data [17:01:05]Processing tag 1015 (03F7) [17:01:05]Malloc new data [17:01:05]SetTLVBufToDocument err=0 [17:01:05]Processing tag 1007 (03EF) [17:01:05]Load OK [17:01:05]SetTLVBufToDocument [17:01:05]Processing tag 1014 (03F6) [17:01:05]Malloc new data [17:01:05]Processing tag 1015 (03F7) [17:01:05]Malloc new data [17:01:05]SetTLVBufToDocument err=0 [17:01:05]Processing tag 1007 (03EF) [17:01:05]Load OK [17:01:05]SetTLVBufToDocument [17:01:05]Processing tag 1014 (03F6) [17:01:05]Malloc new data [17:01:05]Processing tag 1015 (03F7) [17:01:05]Malloc new data [17:01:05]SetTLVBufToDocument err=0 [17:01:05]SetTLVBufToDocument err=0 [17:01:05]SetTLVBufToDocument err=0 [17:01:05]Processing tag 1130 (046A) [17:01:05]Load OK [17:01:05]SetTLVBufToDocument [17:01:05]Processing tag 1135 (046F) [17:01:05]Malloc new data [17:01:05]Processing tag 1201 (04B1) [17:01:05]Malloc new data [17:01:05]Processing tag 1136 (0470) [17:01:05]Malloc new data [17:01:05]Processing tag 1138 (0472) [17:01:05]Malloc new data [17:01:05]Processing tag 1024 (0400) [17:01:05]Load OK [17:01:05]SetTLVBufToDocument [17:01:05]Processing tag 1006 (03EE) [17:01:05]Load OK [17:01:05]SetTLVBufToDocument [17:01:05]Processing tag 1010 (03F2) [17:01:05]Malloc new data [17:01:05]Processing tag 1011 (03F3) [17:01:05]Malloc new data [17:01:05]SetTLVBufToDocument err=0 [17:01:05]Processing tag 1006 (03EE) [17:01:05]Load OK [17:01:05]SetTLVBufToDocument [17:01:05]Processing tag 1010 (03F2) [17:01:05]Malloc new data [17:01:05]Processing tag 1011 (03F3) [17:01:05]Malloc new data [17:01:05]SetTLVBufToDocument err=0 [17:01:05]Processing tag 1007 (03EF) [17:01:05]Load OK [17:01:05]SetTLVBufToDocument [17:01:05]Processing tag 1014 (03F6) [17:01:05]Malloc new data [17:01:05]Processing tag 1015 (03F7) [17:01:05]Malloc new data [17:01:05]SetTLVBufToDocument err=0 [17:01:05]Processing tag 1007 (03EF) [17:01:05]Load OK [17:01:05]SetTLVBufToDocument [17:01:05]Processing tag 1014 (03F6) [17:01:05]Malloc new data [17:01:05]Processing tag 1015 (03F7) [17:01:05]Malloc new data [17:01:05]SetTLVBufToDocument err=0 [17:01:05]Processing tag 1007 (03EF) [17:01:05]Load OK [17:01:05]SetTLVBufToDocument [17:01:05]Processing tag 1014 (03F6) [17:01:05]Malloc new data [17:01:05]Processing tag 1015 (03F7) [17:01:05]Malloc new data [17:01:05]SetTLVBufToDocument err=0 [17:01:05]Processing tag 1007 (03EF) [17:01:05]Load OK [17:01:05]SetTLVBufToDocument [17:01:05]Processing tag 1014 (03F6) [17:01:05]Malloc new data [17:01:05]Processing tag 1015 (03F7) [17:01:05]Malloc new data [17:01:05]SetTLVBufToDocument err=0 [17:01:05]Processing tag 1007 (03EF) [17:01:05]Load OK [17:01:05]SetTLVBufToDocument [17:01:05]Processing tag 1014 (03F6) [17:01:05]Malloc new data [17:01:05]Processing tag 1015 (03F7) [17:01:05]Malloc new data [17:01:05]SetTLVBufToDocument err=0 [17:01:05]Processing tag 1007 (03EF) [17:01:05]Load OK [17:01:05]SetTLVBufToDocument [17:01:05]Processing tag 1014 (03F6) [17:01:05]Malloc new data [17:01:05]Processing tag 1015 (03F7) [17:01:05]Malloc new data [17:01:05]SetTLVBufToDocument err=0 [17:01:05]Processing tag 1007 (03EF) [17:01:05]Load OK [17:01:05]SetTLVBufToDocument [17:01:05]Processing tag 1014 (03F6) [17:01:05]Malloc new data [17:01:05]Processing tag 1015 (03F7) [17:01:05]Malloc new data [17:01:05]SetTLVBufToDocument err=0 [17:01:05]SetTLVBufToDocument err=0 [17:01:05]SetTLVBufToDocument err=0 [17:01:05]Processing tag 1131 (046B) [17:01:05]Load OK [17:01:05]SetTLVBufToDocument [17:01:05]Processing tag 1135 (046F) [17:01:05]Malloc new data [17:01:05]Processing tag 1201 (04B1) [17:01:05]Malloc new data [17:01:05]Processing tag 1136 (0470) [17:01:05]Malloc new data [17:01:05]Processing tag 1138 (0472) [17:01:05]Malloc new data [17:01:05]Processing tag 1024 (0400) [17:01:05]Load OK [17:01:05]SetTLVBufToDocument [17:01:05]Processing tag 1006 (03EE) [17:01:05]Load OK [17:01:05]SetTLVBufToDocument [17:01:05]Processing tag 1010 (03F2) [17:01:05]Malloc new data [17:01:05]Processing tag 1011 (03F3) [17:01:05]Malloc new data [17:01:05]SetTLVBufToDocument err=0 [17:01:05]Processing tag 1006 (03EE) [17:01:05]Load OK [17:01:05]SetTLVBufToDocument [17:01:05]Processing tag 1010 (03F2) [17:01:05]Malloc new data [17:01:05]Processing tag 1011 (03F3) [17:01:05]Malloc new data [17:01:05]SetTLVBufToDocument err=0 [17:01:05]Processing tag 1007 (03EF) [17:01:05]Load OK [17:01:05]SetTLVBufToDocument [17:01:05]Processing tag 1014 (03F6) [17:01:05]Malloc new data [17:01:05]Processing tag 1015 (03F7) [17:01:05]Malloc new data [17:01:05]SetTLVBufToDocument err=0 [17:01:05]Processing tag 1007 (03EF) [17:01:05]Load OK [17:01:05]SetTLVBufToDocument [17:01:05]Processing tag 1014 (03F6) [17:01:05]Malloc new data [17:01:05]Processing tag 1015 (03F7) [17:01:05]Malloc new data [17:01:05]SetTLVBufToDocument err=0 [17:01:05]Processing tag 1007 (03EF) [17:01:05]Load OK [17:01:05]SetTLVBufToDocument [17:01:05]Processing tag 1014 (03F6) [17:01:05]Malloc new data [17:01:05]Processing tag 1015 (03F7) [17:01:05]Malloc new data [17:01:05]SetTLVBufToDocument err=0 [17:01:05]Processing tag 1007 (03EF) [17:01:05]Load OK [17:01:05]SetTLVBufToDocument [17:01:05]Processing tag 1014 (03F6) [17:01:05]Malloc new data [17:01:06]Processing tag 1015 (03F7) [17:01:06]Malloc new data [17:01:06]SetTLVBufToDocument err=0 [17:01:06]Processing tag 1007 (03EF) [17:01:06]Load OK [17:01:06]SetTLVBufToDocument [17:01:06]Processing tag 1014 (03F6) [17:01:06]Malloc new data [17:01:06]Processing tag 1015 (03F7) [17:01:06]Malloc new data [17:01:06]SetTLVBufToDocument err=0 [17:01:06]Processing tag 1007 (03EF) [17:01:06]Load OK [17:01:06]SetTLVBufToDocument [17:01:06]Processing tag 1014 (03F6) [17:01:06]Malloc new data [17:01:06]Processing tag 1015 (03F7) [17:01:06]Malloc new data [17:01:06]SetTLVBufToDocument err=0 [17:01:06]Processing tag 1007 (03EF) [17:01:06]Load OK [17:01:06]SetTLVBufToDocument [17:01:06]Processing tag 1014 (03F6) [17:01:06]Malloc new data [17:01:06]Processing tag 1015 (03F7) [17:01:06]Malloc new data [17:01:06]SetTLVBufToDocument err=0 [17:01:06]SetTLVBufToDocument err=0 [17:01:06]SetTLVBufToDocument err=0 [17:01:06]Processing tag 1132 (046C) [17:01:06]Load OK [17:01:06]SetTLVBufToDocument [17:01:06]Processing tag 1135 (046F) [17:01:06]Malloc new data [17:01:06]Processing tag 1201 (04B1) [17:01:06]Malloc new data [17:01:06]Processing tag 1136 (0470) [17:01:06]Malloc new data [17:01:06]Processing tag 1138 (0472) [17:01:06]Malloc new data [17:01:06]Processing tag 1024 (0400) [17:01:06]Load OK [17:01:06]SetTLVBufToDocument [17:01:06]Processing tag 1006 (03EE) [17:01:06]Load OK [17:01:06]SetTLVBufToDocument [17:01:06]Processing tag 1010 (03F2) [17:01:06]Malloc new data [17:01:06]Processing tag 1011 (03F3) [17:01:06]Malloc new data [17:01:06]SetTLVBufToDocument err=0 [17:01:06]Processing tag 1006 (03EE) [17:01:06]Load OK [17:01:06]SetTLVBufToDocument [17:01:06]Processing tag 1010 (03F2) [17:01:06]Malloc new data [17:01:06]Processing tag 1011 (03F3) [17:01:06]Malloc new data [17:01:06]SetTLVBufToDocument err=0 [17:01:06]Processing tag 1007 (03EF) [17:01:06]Load OK [17:01:06]SetTLVBufToDocument [17:01:06]Processing tag 1014 (03F6) [17:01:06]Malloc new data [17:01:06]Processing tag 1015 (03F7) [17:01:06]Malloc new data [17:01:06]SetTLVBufToDocument err=0 [17:01:06]Processing tag 1007 (03EF) [17:01:06]Load OK [17:01:06]SetTLVBufToDocument [17:01:06]Processing tag 1014 (03F6) [17:01:06]Malloc new data [17:01:06]Processing tag 1015 (03F7) [17:01:06]Malloc new data [17:01:06]SetTLVBufToDocument err=0 [17:01:06]Processing tag 1007 (03EF) [17:01:06]Load OK [17:01:06]SetTLVBufToDocument [17:01:06]Processing tag 1014 (03F6) [17:01:06]Malloc new data [17:01:06]Processing tag 1015 (03F7) [17:01:06]Malloc new data [17:01:06]SetTLVBufToDocument err=0 [17:01:06]Processing tag 1007 (03EF) [17:01:06]Load OK [17:01:06]SetTLVBufToDocument [17:01:06]Processing tag 1014 (03F6) [17:01:06]Malloc new data [17:01:06]Processing tag 1015 (03F7) [17:01:06]Malloc new data [17:01:06]SetTLVBufToDocument err=0 [17:01:06]Processing tag 1007 (03EF) [17:01:06]Load OK [17:01:06]SetTLVBufToDocument [17:01:06]Processing tag 1014 (03F6) [17:01:06]Malloc new data [17:01:06]Processing tag 1015 (03F7) [17:01:06]Malloc new data [17:01:06]SetTLVBufToDocument err=0 [17:01:06]Processing tag 1007 (03EF) [17:01:06]Load OK [17:01:06]SetTLVBufToDocument [17:01:06]Processing tag 1014 (03F6) [17:01:06]Malloc new data [17:01:06]Processing tag 1015 (03F7) [17:01:06]Malloc new data [17:01:06]SetTLVBufToDocument err=0 [17:01:06]Processing tag 1007 (03EF) [17:01:06]Load OK [17:01:06]SetTLVBufToDocument [17:01:06]Processing tag 1014 (03F6) [17:01:06]Malloc new data [17:01:06]Processing tag 1015 (03F7) [17:01:06]Malloc new data [17:01:06]SetTLVBufToDocument err=0 [17:01:06]SetTLVBufToDocument err=0 [17:01:06]SetTLVBufToDocument err=0 [17:01:06]Processing tag 1133 (046D) [17:01:06]Malloc new data [17:01:06]SetTLVBufToDocument err=0 [17:01:06]Processing tag 1077 (0435) [17:01:06]Malloc new data [17:01:06]SetTLVBufToDocument err=0 [17:01:06]Malloc new data [17:01:06]SAM_PROTO_GetFMData [17:01:06]wFMCommunicate request_size=4 [17:01:06]MH_SAM_APDU [17:01:06]CAPDU: 80 13 03 00 [17:01:06]Write to MH i2c: E2 08 00 D0 02 80 13 03 00 00 00 00 00 51 [17:01:06]Write i2c OK [17:01:06]MH_I2C_Read... [17:01:06]OFD Sender: No OFD packet to send [17:01:06]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [17:01:06]Read from MH i2c: E2 [17:01:06]MH_I2C_Read... [17:01:06]Read from MH i2c: E2 FD 00 [17:01:06]MH_I2C_Read... [17:01:06]Read from MH i2c: E2 FD 00 D0 02 00 C4 04 85 04 C0 04 6E 04 04 00 A0 84 00 00 69 04 A0 00 6F 04 04 00 32 83 00 00 B1 04 04 00 34 C4 9E 5E 70 04 04 00 98 B1 E4 53 72 04 04 00 9C 12 BA 0A 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 62 F5 0C 0A EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 28 5F D6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 6E 01 00 00 B1 04 04 00 58 48 44 02 70 04 04 00 50 6A 39 02 72 04 03 00 08 DE 0A 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 3B A1 3D EF 03 09 00 90 00 49 [17:01:07]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 A0 84 00 00 69 04 A0 00 6F 04 04 00 32 83 00 00 B1 04 04 00 34 C4 9E 5E 70 04 04 00 98 B1 E4 53 72 04 04 00 9C 12 BA 0A 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 62 F5 0C 0A EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 28 5F D6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 6E 01 00 00 B1 04 04 00 58 48 44 02 70 04 04 00 50 6A 39 02 72 04 03 00 08 DE 0A 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 3B A1 3D EF 03 09 00 90 00 [17:01:07]wFMCommunicate OK [17:01:07]wFMCommunicate request_size=4 [17:01:07]MH_SAM_APDU [17:01:07]CAPDU: 80 17 00 00 [17:01:07]Write to MH i2c: E2 08 00 D1 02 80 17 00 00 00 00 00 00 53 [17:01:07]Write i2c OK [17:01:07]MH_I2C_Read... [17:01:07]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:01:07]Read from MH i2c: E2 [17:01:07]MH_I2C_Read... [17:01:07]Read from MH i2c: E2 FD 00 [17:01:07]MH_I2C_Read... [17:01:07]Read from MH i2c: E2 FD 00 D1 02 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 9B 22 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 CB [17:01:07]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 9B 22 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [17:01:07]wFMCommunicate OK [17:01:07]wFMCommunicate request_size=4 [17:01:07]MH_SAM_APDU [17:01:07]CAPDU: 80 17 00 00 [17:01:07]Write to MH i2c: E2 08 00 D2 02 80 17 00 00 00 00 00 00 54 [17:01:07]Write i2c OK [17:01:07]MH_I2C_Read... [17:01:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:01:08]Read from MH i2c: E2 [17:01:08]MH_I2C_Read... [17:01:08]Read from MH i2c: E2 FD 00 [17:01:08]MH_I2C_Read... [17:01:08]Read from MH i2c: E2 FD 00 D2 02 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 69 [17:01:08]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [17:01:08]wFMCommunicate OK [17:01:08]wFMCommunicate request_size=4 [17:01:08]MH_SAM_APDU [17:01:08]CAPDU: 80 17 00 00 [17:01:08]Write to MH i2c: E2 08 00 D3 02 80 17 00 00 00 00 00 00 55 [17:01:08]Write i2c OK [17:01:08]MH_I2C_Read... [17:01:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:01:08]Read from MH i2c: E2 [17:01:08]MH_I2C_Read... [17:01:08]Read from MH i2c: E2 FD 00 [17:01:08]MH_I2C_Read... [17:01:08]Read from MH i2c: E2 FD 00 D3 02 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 CD [17:01:08]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [17:01:08]wFMCommunicate OK [17:01:08]wFMCommunicate request_size=4 [17:01:08]MH_SAM_APDU [17:01:08]CAPDU: 80 17 00 00 [17:01:08]Write to MH i2c: E2 08 00 D4 02 80 17 00 00 00 00 00 00 56 [17:01:09]Write i2c OK [17:01:09]MH_I2C_Read... [17:01:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [17:01:09]Read from MH i2c: E2 [17:01:09]MH_I2C_Read... [17:01:09]Read from MH i2c: E2 E1 00 [17:01:09]MH_I2C_Read... [17:01:09]Read from MH i2c: E2 E1 00 D4 02 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 44 [17:01:09]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [17:01:09]wFMCommunicate OK [17:01:09]SAM_PROTO_GetFMData done [17:01:09]Malloc new data [17:01:09]Malloc new data [17:01:09]Malloc new data [17:01:09]Malloc new data [17:01:09]KKMLoadAndSignCloseShiftData err=0 [17:01:09]Отчет о закрытии смены ФФД: 1.0 ИНН: 02508201610067 Кассир: Исманалиев Д. 04.06.2024 17:01 Смена: 368 РНМ: 0000000000096838 ЗНМ: 0300000080 СНО: Общий режим Чеков за смену: 32 ФД за смену: 34 Всего чеков: 32 ИТОГИ ПРИХОД Чеков: 32 Общий итог: 5072.00 Итого наличными: 3864.00 Итого безнал.: 1208.00 НДС 0% : 0.00 НДС 12% : 538.58 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 44.83 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 0 Общий итог: 0.00 Итого наличными: 0.00 Итого безнал.: 0.00 НДС 0% : 0.00 НДС 12% : 0.00 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 0.00 ИТОГИ РАСХОД Чеков: 0 Общий итог: 0.00 Итого наличными: 0.00 Итого безнал.: 0.00 НДС 0% : 0.00 НДС 12% : 0.00 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 0.00 ИТОГИ ВОЗВРАТ РАСХОДА Чеков: 0 Общий итог: 0.00 Итого наличными: 0.00 Итого безнал.: 0.00 НДС 0% : 0.00 НДС 12% : 0.00 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 0.00 Сумма внесений: 0.00 Сумма выплат: 0.00 Нал. в кассе: 3864.00 НС Приход: 15874632.20 НС Возвр.Прихода: 380294.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФД: 34689 ФМ: 0000000000874859 ФПД: 227798174593605 [17:01:09]StoreToDocumentArchive [17:01:09]shift 368 fd 34689 [17:01:09]save to /storage/0368/doc_00034689 [17:01:09]save last doc name /storage/0368/doc_00034689 to /storage/kkm_last_doc_name [17:01:09]save OK [17:01:09]Clear old archive folders... [17:01:09]Remove dir /storage/0266 [17:01:09]opendir ok [17:01:09]file . [17:01:09]file .. [17:01:09]file doc_1717520418 [17:01:09]remove file /storage/0266/doc_1717520418 [17:01:09]remove dir /storage/0266 [17:01:09]NVStorageSaveData kkm_registers [17:01:09]File name is /storage/kkm_registers [17:01:09]Write 24 bytes [17:01:09]NVStorageSaveData done [17:01:09]NVStorageSaveData kkm_registers [17:01:09]File name is /storage/kkm_registers [17:01:09]Write 24 bytes [17:01:09]NVStorageSaveData done [17:01:09]ProcessDocumentItem done err = 0, tmpTLVsize=1382 [17:01:09]tlvbuf is 00B1F890 [17:01:09]SAM_PROTO_ClearQueue [17:01:09]wFMCommunicate request_size=4 [17:01:09]MH_SAM_APDU [17:01:09]CAPDU: 80 09 00 00 [17:01:09]Write to MH i2c: E2 08 00 D5 02 80 09 00 00 00 00 00 00 49 [17:01:09]Write i2c OK [17:01:09]MH_I2C_Read... [17:01:09]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:01:09]Read from MH i2c: E2 [17:01:09]MH_I2C_Read... [17:01:09]Read from MH i2c: E2 03 00 [17:01:09]MH_I2C_Read... [17:01:09]Read from MH i2c: E2 03 00 D5 02 00 90 00 4B [17:01:09]RAPDU: 90 00 [17:01:09]wFMCommunicate OK [17:01:09]SAM_PROTO_ClearQueue done [17:01:09]KKMCreateOFDPacket [17:01:09]OFDProtocolAddRootSTLVToBuf [17:01:09]FM_MakeSignedData [17:01:09]FM_MakeSignedData [17:01:09]SAM_PROTO_SignData [17:01:09]wFMCommunicate request_size=4 [17:01:09]MH_SAM_APDU [17:01:09]CAPDU: 80 0D 01 02 [17:01:09]Write to MH i2c: E2 08 00 D6 02 80 0D 01 02 00 00 00 00 51 [17:01:09]Write i2c OK [17:01:09]MH_I2C_Read... [17:01:09]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:01:09]Read from MH i2c: E2 [17:01:09]MH_I2C_Read... [17:01:09]Read from MH i2c: E2 03 00 [17:01:09]MH_I2C_Read... [17:01:09]Read from MH i2c: E2 03 00 D6 02 00 90 00 4C [17:01:09]RAPDU: 90 00 [17:01:09]wFMCommunicate OK [17:01:09]wFMCommunicate request_size=255 [17:01:09]MH_SAM_APDU [17:01:09]CAPDU: 80 0D 02 02 FA 05 00 66 05 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 19 00 D0 98 D1 81 D0 BC D0 B0 D0 BD D0 B0 D0 BB D0 B8 D0 B5 D0 B2 20 D0 94 2E 20 F4 03 04 00 4E 48 5F 66 0E 04 04 00 70 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 5E 04 04 00 20 00 00 00 57 04 04 00 22 00 00 00 AA 04 D4 04 6E 04 04 00 20 00 00 00 69 04 A1 00 6F 04 04 00 20 00 00 00 B1 04 03 00 40 BD 07 70 04 03 00 60 E5 05 72 04 03 00 E0 D7 01 00 04 80 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 62 D2 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 [17:01:09]Write to MH i2c: E2 02 01 D7 02 80 0D 02 02 FA 00 05 00 66 05 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 19 00 D0 98 D1 81 D0 BC D0 B0 D0 BD D0 B0 D0 BB D0 B8 D0 B5 D0 B2 20 D0 94 2E 20 F4 03 04 00 4E 48 5F 66 0E 04 04 00 70 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 5E 04 04 00 20 00 00 00 57 04 04 00 22 00 00 00 AA 04 D4 04 6E 04 04 00 20 00 00 00 69 04 A1 00 6F 04 04 00 20 00 00 00 B1 04 03 00 40 BD 07 70 04 03 00 60 E5 05 72 04 03 00 E0 D7 01 00 04 80 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 62 D2 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 00 0A [17:01:10]Write i2c OK [17:01:10]MH_I2C_Read... [17:01:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:01:10]Read from MH i2c: E2 [17:01:10]MH_I2C_Read... [17:01:10]Read from MH i2c: E2 03 00 [17:01:10]MH_I2C_Read... [17:01:10]Read from MH i2c: E2 03 00 D7 02 00 90 00 4D [17:01:10]RAPDU: 90 00 [17:01:10]wFMCommunicate OK [17:01:10]wFMCommunicate request_size=255 [17:01:10]MH_SAM_APDU [17:01:10]CAPDU: 80 0D 02 02 FA 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 83 11 6A 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6B 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 [17:01:10]Write to MH i2c: E2 02 01 D8 02 80 0D 02 02 FA 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 83 11 6A 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6B 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 00 55 [17:01:10]Write i2c OK [17:01:10]MH_I2C_Read... [17:01:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:01:11]Read from MH i2c: E2 [17:01:11]MH_I2C_Read... [17:01:11]Read from MH i2c: E2 03 00 [17:01:11]MH_I2C_Read... [17:01:11]Read from MH i2c: E2 03 00 D8 02 00 90 00 4E [17:01:11]RAPDU: 90 00 [17:01:11]wFMCommunicate OK [17:01:11]wFMCommunicate request_size=255 [17:01:11]MH_SAM_APDU [17:01:11]CAPDU: 80 0D 02 02 FA 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6C 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 [17:01:11]Write to MH i2c: E2 02 01 D9 02 80 0D 02 02 FA 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6C 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 00 1B [17:01:11]Write i2c OK [17:01:11]MH_I2C_Read... [17:01:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:01:11]Read from MH i2c: E2 [17:01:11]MH_I2C_Read... [17:01:11]Read from MH i2c: E2 03 00 [17:01:11]MH_I2C_Read... [17:01:11]Read from MH i2c: E2 03 00 D9 02 00 90 00 4F [17:01:11]RAPDU: 90 00 [17:01:11]wFMCommunicate OK [17:01:11]wFMCommunicate request_size=255 [17:01:11]MH_SAM_APDU [17:01:11]CAPDU: 80 0D 02 02 FA 01 F7 03 01 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE OFD Sender: No OFD packet to send [17:01:11]03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 [17:01:11]Write to MH i2c: E2 02 01 DA 02 80 0D 02 02 FA 00 01 F7 03 01 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 00 1B [17:01:12]Write i2c OK [17:01:12]MH_I2C_Read... [17:01:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:01:12]Read from MH i2c: E2 [17:01:12]MH_I2C_Read... [17:01:12]Read from MH i2c: E2 03 00 [17:01:12]MH_I2C_Read... [17:01:12]Read from MH i2c: E2 03 00 DA 02 00 90 00 50 [17:01:12]RAPDU: 90 00 [17:01:12]wFMCommunicate OK [17:01:12]wFMCommunicate request_size=255 [17:01:12]MH_SAM_APDU [17:01:12]CAPDU: 80 0D 02 02 FA 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 [17:01:12]Write to MH i2c: E2 02 01 DB 02 80 0D 02 02 FA 00 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 00 00 E1 [17:01:12]Write i2c OK [17:01:12]MH_I2C_Read... [17:01:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:01:12]Read from MH i2c: E2 [17:01:12]MH_I2C_Read... [17:01:12]Read from MH i2c: E2 03 00 [17:01:12]MH_I2C_Read... [17:01:12]Read from MH i2c: E2 03 00 DB 02 00 90 00 51 [17:01:13]RAPDU: 90 00 [17:01:13]wFMCommunicate OK [17:01:13]wFMCommunicate request_size=141 [17:01:13]MH_SAM_APDU [17:01:13]CAPDU: 80 0D 02 02 88 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 10 04 04 00 81 87 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 35 04 06 00 CF 2E 65 46 F2 45 [17:01:13]Write to MH i2c: E2 90 00 DC 02 80 0D 02 02 88 00 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 10 04 04 00 81 87 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 35 04 06 00 CF 2E 65 46 F2 45 00 00 8A [17:01:13]Write i2c OK [17:01:13]MH_I2C_Read... [17:01:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:01:13]Read from MH i2c: E2 [17:01:13]MH_I2C_Read... [17:01:13]Read from MH i2c: E2 03 00 [17:01:13]MH_I2C_Read... [17:01:13]Read from MH i2c: E2 03 00 DC 02 00 90 00 52 [17:01:13]RAPDU: 90 00 [17:01:13]wFMCommunicate OK [17:01:13]wFMCommunicate request_size=4 [17:01:13]MH_SAM_APDU [17:01:13]CAPDU: 80 0D 03 02 [17:01:13]Write to MH i2c: E2 08 00 DD 02 80 0D 03 02 00 00 00 00 5A [17:01:13]Write i2c OK [17:01:13]MH_I2C_Read... [17:01:13]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:01:13]Read from MH i2c: E2 [17:01:13]MH_I2C_Read... [17:01:13]Read from MH i2c: E2 0B 00 [17:01:13]MH_I2C_Read... [17:01:13]Read from MH i2c: E2 0B 00 DD 02 00 57 64 9D EE 4A 51 E6 E4 90 00 06 [17:01:13]RAPDU: 57 64 9D EE 4A 51 E6 E4 90 00 [17:01:13]wFMCommunicate OK [17:01:13]SAM_PROTO_SignData done [17:01:13]FM_MakeSignedData done [17:01:13]CreateOFDProtocolMessage [17:01:13]wFMCommunicate request_size=4 [17:01:13]MH_SAM_APDU [17:01:13]CAPDU: 80 11 00 00 [17:01:13]Write to MH i2c: E2 08 00 DE 02 80 11 00 00 00 00 00 00 5A [17:01:13]Write i2c OK [17:01:13]MH_I2C_Read... [17:01:13]Read from MH i2c: E2 [17:01:13]MH_I2C_Read... [17:01:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:01:13]Read from MH i2c: E2 17 00 [17:01:13]MH_I2C_Read... [17:01:13]Read from MH i2c: E2 17 00 DE 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 B6 [17:01:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 90 00 [17:01:13]wFMCommunicate OK [17:01:13]CreateOFDProtocolMessage done [17:01:13]OFDSenderStorePacket 34689 [17:01:13]StoreOFDPacket docnum=34689 [17:01:13]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 7A 05 00 00 6F DE 72 05 91 E7 5A 05 01 00 05 00 66 05 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 19 00 D0 98 D1 81 D0 BC D0 B0 D0 BD D0 B0 D0 BB D0 B8 D0 B5 D0 B2 20 D0 94 2E 20 F4 03 04 00 4E 48 5F 66 0E 04 04 00 70 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 5E 04 04 00 20 00 00 00 57 04 04 00 22 00 00 00 AA 04 D4 04 6E 04 04 00 20 00 00 00 69 04 A1 00 6F 04 04 00 20 00 00 00 B1 04 03 00 40 BD 07 70 04 03 00 60 E5 05 72 04 03 00 E0 D7 01 00 04 80 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 62 D2 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 83 11 6A 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6B 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6C 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 10 04 04 00 81 87 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 35 04 06 00 CF 2E 65 46 F2 45 57 64 9D EE 4A 51 E6 E4 [17:01:13]CheckFolder [17:01:13]dirname=/storage/ofd_packets [17:01:13]CheckFolder done [17:01:13]ProducePacketName [17:01:13]name=ofd_packets/00034689 [17:01:13]NVStorageSaveData ofd_packets/00034689 [17:01:13]File name is /storage/ofd_packets/00034689 [17:01:13]Write 1432 bytes [17:01:13]NVStorageSaveData done [17:01:13]OFDSenderStorePacket done [17:01:13]KKMCreateOFDPacket done [17:01:13]NVStorageSaveData kkm_last_timestamp [17:01:13]File name is /storage/kkm_last_timestamp [17:01:13]Write 4 bytes [17:01:13]NVStorageSaveData done [17:01:13]ExternCall_PrintAddStr [17:01:13]wPrintStart [17:01:13]Write to MH i2c: 01 00 00 DF 02 E1 [17:01:13]OFD Sender: Processing packet 34689 [packets to send 17, broken 16] [17:01:13]ProducePacketName [17:01:13]name=ofd_packets/00034689 [17:01:13]OFD Sender: To server: pG, [17:01:13]CommunicateWithHost lk.salyk.kg:30040 [17:01:13]ConnectInit lk.salyk.kg [17:01:13]Write i2c OK [17:01:13]MH_I2C_Read... [17:01:13]Read from MH i2c: 01 [17:01:13]MH_I2C_Read... [17:01:13]Read from MH i2c: 01 07 00 [17:01:14]MH_I2C_Read... [17:01:14]Read from MH i2c: 01 07 00 DF 02 00 00 00 00 00 FF 0F F6 [17:01:14]RasterBufferAndPrint [17:01:14]line Отчет о закрытии смены [17:01:14]line ФФД: 1.0 [17:01:14]line ИНН: 02508201610067 [17:01:14]line Кассир: Исманалиев Д. [17:01:14]line 04.06.2024 17:01 [17:01:14]line Смена: 368 [17:01:14]line РНМ: 0000000000096838 [17:01:14]line ЗНМ: 0300000080 [17:01:14]line СНО: Общий режим [17:01:14]line Чеков за смену: 32 [17:01:14]line ФД за смену: 34 [17:01:14]line Всего чеков: 32 [17:01:14]line ИТОГИ ПРИХОД [17:01:14]line Чеков: 32 [17:01:14]line Общий итог: 5072.00 [17:01:14]line Итого наличными: 3864.00 [17:01:14]line Итого безнал.: 1208.00 [17:01:14]line НДС 0% : 0.00 [17:01:14]line НДС 12% : 538.58 [17:01:14]line НСП 0% : 0.00 [17:01:14]line НСП 1,50% : 0.00 [17:01:14]line НСП 0,50% : 0.00 [17:01:14]line НСП 5% : 0.00 [17:01:14]line НСП 3% : 0.00 [17:01:14]line НСП 2% : 0.00 [17:01:14]line НСП 1% : 44.83 [17:01:14]line ИТОГИ ВОЗВРАТ ПРИХОДА [17:01:14]line Чеков: 0 [17:01:14]line Общий итог: 0.00 [17:01:14]line Итого наличными: 0.00 [17:01:14]line Итого безнал.: 0.00 [17:01:14]line НДС 0% : 0.00 [17:01:14]line НДС 12% : 0.00 [17:01:14]line НСП 0% : 0.00 [17:01:14]line НСП 1,50% : 0.00 [17:01:14]line НСП 0,50% : 0.00 [17:01:14]line НСП 5% : 0.00 [17:01:14]line НСП 3% : 0.00 [17:01:14]line НСП 2% : 0.00 [17:01:14]line НСП 1% : 0.00 [17:01:14]line ИТОГИ РАСХОД [17:01:14]line Чеков: 0 [17:01:14]line Общий итог: 0.00 [17:01:14]line Итого наличными: 0.00 [17:01:14]line Итого безнал.: 0.00 [17:01:14]line НДС 0% : 0.00 [17:01:14]line НДС 12% : 0.00 [17:01:14]line НСП 0% : 0.00 [17:01:14]line НСП 1,50% : 0.00 [17:01:14]line НСП 0,50% : 0.00 [17:01:14]line НСП 5% : 0.00 [17:01:14]line НСП 3% : 0.00 [17:01:14]line НСП 2% : 0.00 [17:01:14]line НСП 1% : 0.00 [17:01:14]line ИТОГИ ВОЗВРАТ РАСХОДА [17:01:14]line Чеков: 0 [17:01:14]line Общий итог: 0.00 [17:01:14]line Итого наличными: 0.00 [17:01:14]line Итого безнал.: 0.00 [17:01:14]line НДС 0% : 0.00 [17:01:14]line НДС 12% : 0.00 [17:01:14]line НСП 0% : 0.00 [17:01:14]line НСП 1,50% : 0.00 [17:01:14]line НСП 0,50% : 0.00 [17:01:14]line НСП 5% : 0.00 [17:01:14]line НСП 3% : 0.00 [17:01:14]line НСП 2% : 0.00 [17:01:14]line НСП 1% : 0.00 [17:01:14]line Сумма внесений: 0.00 [17:01:14]line Сумма выплат: 0.00 [17:01:14]line Нал. в кассе: 3864.00 [17:01:14]line НС Приход: 15874632.20 [17:01:14]line НС Возвр.Прихода: 380294.00 [17:01:14]line НС Расход: 0.00 [17:01:14]line НС Возвр.Расхода: 0.00 [17:01:14]line ФД: 34689 [17:01:14]line ФМ: 0000000000874859 [17:01:14]line ФПД: 227798174593605 [17:01:14]Connected sock=10 [17:01:14]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 7A 05 00 00 6F DE 72 05 91 E7 5A 05 01 00 05 written 0, free lines is 4095 [17:01:14]00 66 05 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 19 00 D0 98 D1 81 D0 BC D0 B0 D0 BD D0 B0 D0 BB D0 B8 D0 B5 D0 B2 20 D0 94 2E 20 F4 03 04 00 4E 48 5F 66 0E 04 04 00 70 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 5E 04 04 00 20 00 00 00 57 04 04 00 22 00 00 00 AA 04 D4 04 6E 04 04 00 20 00 00 00 69 04 A1 00 6F 04 04 00 20 00 00 00 B1 04 03 00 40 BD 07 70 04 03 00 60 E5 05 72 04 03 00 E0 D7 01 00 04 80 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 62 D2 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 83 11 6A 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6B 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6C 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 Write to MH i2c: EF 01 03 00 09 00 2F 00 F6 03 03 32 01 [17:01:15]00 05 F7 Write i2c OK [17:01:15]03 MH_I2C_Read... [17:01:15]Read from MH i2c: 01 [17:01:15]MH_I2C_Read... [17:01:15]00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 Read from MH i2c: F6 01 03 07 00 [17:01:15]MH_I2C_Read... [17:01:15]01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 Read from MH i2c: 00 01 01 07 F7 00 03 2F 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 00 00 F6 00 03 00 01 03 00 0B 03 47 F7 [17:01:15]03 RasterBufferAndPrint [17:01:15]00 line [17:01:15]00 line [17:01:15]EF line [17:01:15]03 line [17:01:15]09 line [17:01:15]00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 written 0, free lines is 3444 [17:01:15]00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 MH_Cut [17:01:15]10 Write to MH i2c: 04 D1 04 01 00 00 81 36 87 03 00 01 00 0B 11 [17:01:15]04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 35 04 06 00 CF 2E 65 46 F2 45 57 64 9D EE 4A 51 E6 E4 [17:01:15]Write i2c OK [17:01:15]MH_I2C_Read... [17:01:15]Read from MH i2c: D1 [17:01:15]MH_I2C_Read... [17:01:15]Read from MH i2c: D1 01 00 [17:01:15]MH_I2C_Read... [17:01:15]Read from MH i2c: D1 01 00 36 03 00 0A [17:01:15]Write to MH i2c: 01 00 00 37 03 3A [17:01:15]Write i2c OK [17:01:15]MH_I2C_Read... [17:01:15]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 4F 00 00 00 0A E7 47 00 89 54 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 10 04 04 00 81 87 00 00 F4 03 04 00 99 F2 5E 66 B6 04 01 00 00 8D 48 85 CB A2 F7 53 39 [17:01:15]CommunicateWithHost err = 0 [17:01:15]CheckOFDResponse [17:01:15]1017 (14) - 77093643461234 [17:01:15]1041 (16) - 0000000000874859 [17:01:15]1040 (4) - 34689 [17:01:15]1012 (4) - 04.06.2024 10:55 [17:01:15]1206 (1) - 0 [17:01:15]OFD Sender: Remove packet 34689 [17:01:15]ProducePacketName [17:01:15]name=ofd_packets/00034689 [17:01:15]NVStorageDeleteData [17:01:15]*** Cut start [17:01:15]*** Partial cut [17:01:15]*** CUTSNS_PIN = 1 [17:01:16]*** CUTSNS_PIN = 0 [17:01:16]*** Brake cut motor [17:01:16]OFD Sender: No OFD packet to send [17:01:16]Read from MH i2c: 01 [17:01:16]MH_I2C_Read... [17:01:16]*** Stop cut motor [17:01:16]*** Cut end [17:01:16]Read from MH i2c: 01 07 00 [17:01:16]MH_I2C_Read... [17:01:16]Read from MH i2c: 01 07 00 37 03 00 00 00 00 00 FF 0F 4F [17:01:16]process_action close_shift done [17:01:16]requested_data is exist [17:01:16]produce_requested_data [17:01:16]requested_item fd.num is exist - process it [17:01:16]SAM_PROTO_GetFieldsCounters [17:01:16]wFMCommunicate request_size=4 [17:01:16]MH_SAM_APDU [17:01:16]CAPDU: 80 13 00 00 [17:01:16]Write to MH i2c: E2 08 00 38 03 80 13 00 00 00 00 00 00 B7 [17:01:16]Write i2c OK [17:01:16]MH_I2C_Read... [17:01:16]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:01:16]Read from MH i2c: E2 [17:01:16]MH_I2C_Read... [17:01:16]Read from MH i2c: E2 62 00 [17:01:16]MH_I2C_Read... [17:01:16]Read from MH i2c: E2 62 00 38 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 10 04 04 00 81 87 00 00 0E 04 04 00 70 01 00 00 12 04 04 00 20 00 00 00 5E 04 04 00 20 00 00 00 57 04 04 00 22 00 00 00 19 04 04 00 00 00 00 00 90 00 C4 [17:01:16]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 36 38 33 38 10 04 04 00 81 87 00 00 0E 04 04 00 70 01 00 00 12 04 04 00 20 00 00 00 5E 04 04 00 20 00 00 00 57 04 04 00 22 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:01:16]wFMCommunicate OK [17:01:16]SAM_PROTO_GetFieldsCounters done [17:01:16]requested_item shift.num is exist - process it [17:01:16]requested_item shift.opened is exist - process it [17:01:16]req_shift_opened [17:01:16]FM_GetShiftState [17:01:16]SAM_PROTO_GetShiftState [17:01:16]wFMCommunicate request_size=4 [17:01:16]MH_SAM_APDU [17:01:16]CAPDU: 80 13 01 00 [17:01:16]Write to MH i2c: E2 08 00 39 03 80 13 01 00 00 00 00 00 B9 [17:01:16]Write i2c OK [17:01:16]MH_I2C_Read... [17:01:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:01:16]Read from MH i2c: E2 [17:01:16]MH_I2C_Read... [17:01:16]Read from MH i2c: E2 0E 00 [17:01:16]MH_I2C_Read... [17:01:16]Read from MH i2c: E2 0E 00 39 03 00 09 00 00 00 00 00 00 00 00 00 00 90 00 C4 [17:01:17]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [17:01:17]wFMCommunicate OK [17:01:17]SAM_PROTO_GetShiftState done [17:01:17]FM_GetShiftState done [17:01:17]req_shift_opened done [17:01:17]requested_item shift.open_date is exist - process it [17:01:17]req_shift_open_date [17:01:17]FM_GetShiftState [17:01:17]SAM_PROTO_GetShiftState [17:01:17]wFMCommunicate request_size=4 [17:01:17]MH_SAM_APDU [17:01:17]CAPDU: 80 13 01 00 [17:01:17]Write to MH i2c: E2 08 00 3A 03 80 13 01 00 00 00 00 00 BA [17:01:17]Write i2c OK [17:01:17]MH_I2C_Read... [17:01:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:01:17]Read from MH i2c: E2 [17:01:17]MH_I2C_Read... [17:01:17]Read from MH i2c: E2 0E 00 [17:01:17]MH_I2C_Read... [17:01:17]Read from MH i2c: E2 0E 00 3A 03 00 09 00 00 00 00 00 00 00 00 00 00 90 00 C5 [17:01:17]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [17:01:17]wFMCommunicate OK [17:01:17]SAM_PROTO_GetShiftState done [17:01:17]FM_GetShiftState done [17:01:17]req_shift_open_date done [17:01:17]produce_requested_data done [17:01:17]produce_requested_data return {"fd.num":34689,"shift.num":368,"shift.opened":0,"shift.open_date":0} [17:01:17]process_action_free close_shift [17:01:17]json_value_free [17:01:17]json_value_free done [17:01:17]process_json_proto returns [17:01:17]Send response to host [17:01:17]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":34689,"shift.num":368,"shift.opened":0,"shift.open_date":0}}} [17:01:17]free response buf [17:01:17]execute_script done [17:01:17]execute_script returns [17:01:17]free content buf [17:01:17]Sock 9.Close socket [17:01:17]Sock 9.Thread stoped [17:01:21]OFD Sender: No OFD packet to send [17:01:26]OFD Sender: No OFD packet to send [17:01:31]OFD Sender: No OFD packet to send [17:01:36]OFD Sender: No OFD packet to send [17:01:41]OFD Sender: No OFD packet to send [17:01:46]OFD Sender: No OFD packet to send [17:01:51]OFD Sender: No OFD packet to send [17:01:56]OFD Sender: No OFD packet to send [17:02:01]OFD Sender: No OFD packet to send [17:02:06]OFD Sender: No OFD packet to send [17:02:11]OFD Sender: No OFD packet to send [17:02:16]OFD Sender: No OFD packet to send [17:02:21]OFD Sender: No OFD packet to send [17:02:26]OFD Sender: No OFD packet to send [17:02:31]OFD Sender: No OFD packet to send [17:02:36]OFD Sender: No OFD packet to send [17:02:41]OFD Sender: No OFD packet to send [17:02:46]OFD Sender: No OFD packet to send [17:02:51]OFD Sender: No OFD packet to send [17:02:56]OFD Sender: No OFD packet to send [17:03:01]OFD Sender: No OFD packet to send [17:03:06]OFD Sender: No OFD packet to send [17:03:11]OFD Sender: No OFD packet to send [17:03:16]OFD Sender: No OFD packet to send [17:03:21]OFD Sender: No OFD packet to send [17:03:26]OFD Sender: No OFD packet to send [17:03:31]OFD Sender: No OFD packet to send [17:03:36]OFD Sender: No OFD packet to send [17:03:41]OFD Sender: No OFD packet to send [17:03:46]OFD Sender: No OFD packet to send [17:03:51]OFD Sender: No OFD packet to send [17:03:56]OFD Sender: No OFD packet to send [17:04:01]OFD Sender: No OFD packet to send [17:04:06]OFD Sender: No OFD packet to send [17:04:11]OFD Sender: No OFD packet to send [17:04:16]OFD Sender: No OFD packet to send [17:04:21]OFD Sender: No OFD packet to send [17:04:26]OFD Sender: No OFD packet to send [17:04:31]OFD Sender: No OFD packet to send [17:04:36]OFD Sender: No OFD packet to send [17:04:41]OFD Sender: No OFD packet to send [17:04:46]OFD Sender: No OFD packet to send [17:04:51]OFD Sender: No OFD packet to send [17:04:56]OFD Sender: No OFD packet to send [17:05:01]OFD Sender: No OFD packet to send [17:05:06]OFD Sender: No OFD packet to send [17:05:11]OFD Sender: No OFD packet to send [17:05:16]OFD Sender: No OFD packet to send [17:05:21]OFD Sender: No OFD packet to send [17:05:26]OFD Sender: No OFD packet to send [17:05:31]OFD Sender: No OFD packet to send [17:05:36]OFD Sender: No OFD packet to send [17:05:41]OFD Sender: No OFD packet to send [17:05:46]OFD Sender: No OFD packet to send [17:05:51]OFD Sender: No OFD packet to send [17:05:56]OFD Sender: No OFD packet to send [17:06:01]OFD Sender: No OFD packet to send [17:06:06]OFD Sender: No OFD packet to send [17:06:11]OFD Sender: No OFD packet to send [17:06:16]OFD Sender: No OFD packet to send [17:06:21]OFD Sender: No OFD packet to send [17:06:26]OFD Sender: No OFD packet to send [17:06:31]OFD Sender: No OFD packet to send [17:06:36]OFD Sender: No OFD packet to send [17:06:41]OFD Sender: No OFD packet to send [17:06:46]OFD Sender: No OFD packet to send [17:06:51]OFD Sender: No OFD packet to send [17:06:56]OFD Sender: No OFD packet to send [17:07:01]OFD Sender: No OFD packet to send [17:07:06]OFD Sender: No OFD packet to send [17:07:11]OFD Sender: No OFD packet to send [17:07:16]OFD Sender: No OFD packet to send [17:07:21]OFD Sender: No OFD packet to send [17:07:26]OFD Sender: No OFD packet to send [17:07:31]OFD Sender: No OFD packet to send [17:07:36]OFD Sender: No OFD packet to send [17:07:41]OFD Sender: No OFD packet to send [17:07:46]OFD Sender: No OFD packet to send [17:07:51]OFD Sender: No OFD packet to send [17:07:56]OFD Sender: No OFD packet to send [17:08:01]OFD Sender: No OFD packet to send [17:08:06]OFD Sender: No OFD packet to send [17:08:11]OFD Sender: No OFD packet to send [17:08:16]OFD Sender: No OFD packet to send [17:08:21]OFD Sender: No OFD packet to send [17:08:26]OFD Sender: No OFD packet to send [17:08:31]OFD Sender: No OFD packet to send [17:08:36]OFD Sender: No OFD packet to send [17:08:41]OFD Sender: No OFD packet to send [17:08:46]OFD Sender: No OFD packet to send [17:08:51]OFD Sender: No OFD packet to send [17:08:56]OFD Sender: No OFD packet to send [17:09:01]OFD Sender: No OFD packet to send [17:09:06]OFD Sender: No OFD packet to send [17:09:11]OFD Sender: No OFD packet to send [17:09:16]OFD Sender: No OFD packet to send [17:09:21]OFD Sender: No OFD packet to send [17:09:26]OFD Sender: No OFD packet to send [17:09:31]OFD Sender: No OFD packet to send [17:09:36]OFD Sender: No OFD packet to send [17:09:41]OFD Sender: No OFD packet to send [17:09:46]OFD Sender: No OFD packet to send [17:09:51]OFD Sender: No OFD packet to send [17:09:56]OFD Sender: No OFD packet to send [17:10:01]OFD Sender: No OFD packet to send [17:10:06]OFD Sender: No OFD packet to send [17:10:11]OFD Sender: No OFD packet to send [17:10:16]OFD Sender: No OFD packet to send [17:10:21]OFD Sender: No OFD packet to send [17:10:26]OFD Sender: No OFD packet to send [17:10:31]OFD Sender: No OFD packet to send [17:10:36]OFD Sender: No OFD packet to send [17:10:41]OFD Sender: No OFD packet to send [17:10:46]OFD Sender: No OFD packet to send [17:10:51]OFD Sender: No OFD packet to send [17:10:56]OFD Sender: No OFD packet to send [17:11:01]OFD Sender: No OFD packet to send [17:11:06]OFD Sender: No OFD packet to send [17:11:11]OFD Sender: No OFD packet to send [17:11:16]OFD Sender: No OFD packet to send [17:11:21]OFD Sender: No OFD packet to send [17:11:26]OFD Sender: No OFD packet to send [17:11:31]OFD Sender: No OFD packet to send [17:11:36]OFD Sender: No OFD packet to send [17:11:41]OFD Sender: No OFD packet to send [17:11:46]OFD Sender: No OFD packet to send [17:11:51]OFD Sender: No OFD packet to send [17:11:56]OFD Sender: No OFD packet to send [17:12:01]OFD Sender: No OFD packet to send [17:12:06]OFD Sender: No OFD packet to send [17:12:11]OFD Sender: No OFD packet to send [17:12:16]OFD Sender: No OFD packet to send [17:12:21]OFD Sender: No OFD packet to send [17:12:26]OFD Sender: No OFD packet to send [17:12:31]OFD Sender: No OFD packet to send [17:12:36]OFD Sender: No OFD packet to send [17:12:41]OFD Sender: No OFD packet to send [17:12:46]OFD Sender: No OFD packet to send [17:12:51]OFD Sender: No OFD packet to send [17:12:56]OFD Sender: No OFD packet to send [17:13:01]OFD Sender: No OFD packet to send [17:13:06]OFD Sender: No OFD packet to send [17:13:11]OFD Sender: No OFD packet to send [17:13:16]OFD Sender: No OFD packet to send [17:13:21]OFD Sender: No OFD packet to send [17:13:26]OFD Sender: No OFD packet to send [17:13:31]OFD Sender: No OFD packet to send [17:13:36]OFD Sender: No OFD packet to send [17:13:41]OFD Sender: No OFD packet to send [17:13:46]OFD Sender: No OFD packet to send [17:13:51]OFD Sender: No OFD packet to send [17:13:56]OFD Sender: No OFD packet to send [17:14:01]OFD Sender: No OFD packet to send [17:14:06]OFD Sender: No OFD packet to send [17:14:11]OFD Sender: No OFD packet to send [17:14:16]OFD Sender: No OFD packet to send [17:14:21]OFD Sender: No OFD packet to send [17:14:26]OFD Sender: No OFD packet to send [17:14:31]OFD Sender: No OFD packet to send [17:14:36]OFD Sender: No OFD packet to send [17:14:41]OFD Sender: No OFD packet to send [17:14:46]OFD Sender: No OFD packet to send [17:14:51]OFD Sender: No OFD packet to send [17:14:56]OFD Sender: No OFD packet to send [17:15:01]OFD Sender: No OFD packet to send [17:15:06]OFD Sender: No OFD packet to send [17:15:11]OFD Sender: No OFD packet to send [17:15:16]OFD Sender: No OFD packet to send [17:15:21]OFD Sender: No OFD packet to send [17:15:26]OFD Sender: No OFD packet to send [17:15:31]OFD Sender: No OFD packet to send [17:15:36]OFD Sender: No OFD packet to send [17:15:41]OFD Sender: No OFD packet to send [17:15:46]OFD Sender: No OFD packet to send [17:15:51]OFD Sender: No OFD packet to send [17:15:56]OFD Sender: No OFD packet to send [17:16:01]OFD Sender: No OFD packet to send