[21:17:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:17:04]Read from MH i2c: E2 [21:17:04]MH_I2C_Read... [21:17:04]Read from MH i2c: E2 0E 00 [21:17:04]MH_I2C_Read... [21:17:04]Read from MH i2c: E2 0E 00 03 07 00 09 00 01 54 BB 5B 66 00 00 00 00 90 00 63 [21:17:04]RAPDU: 09 00 01 54 BB 5B 66 00 00 00 00 90 00 [21:17:04]wFMCommunicate OK [21:17:04]SAM_PROTO_GetShiftState done [21:17:04]FM_GetShiftState done [21:17:04]req_shift_opened done [21:17:04]requested_item shift.open_date is exist - process it [21:17:04]req_shift_open_date [21:17:04]req_shift_open_date done [21:17:04]produce_requested_data done [21:17:04]produce_requested_data return {"fm.sn":"0000000000874882","fd.num":39866,"shift.num":375,"shift.opened":1,"shift.open_date":1717287764} [21:17:04]process_action_free close_receipt [21:17:04]json_value_free [21:17:04]json_value_free done [21:17:04]process_json_proto returns [21:17:04]Send response to host [21:17:04]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874882","fd.num":39866,"shift.num":375,"shift.opened":1,"shift.open_date":1717287764}}} [21:17:04]free response buf [21:17:04]execute_script done [21:17:04]execute_script returns [21:17:04]free content buf [21:17:04]Sock 10.Close socket [21:17:04]Sock 10.Thread stoped [21:17:09]OFD Sender: No OFD packet to send [21:17:14]OFD Sender: No OFD packet to send [21:17:19]OFD Sender: No OFD packet to send [21:17:24]OFD Sender: No OFD packet to send [21:17:29]OFD Sender: No OFD packet to send [21:17:34]OFD Sender: No OFD packet to send [21:17:39]OFD Sender: No OFD packet to send [21:17:44]OFD Sender: No OFD packet to send [21:17:49]OFD Sender: No OFD packet to send [21:17:54]OFD Sender: No OFD packet to send [21:17:59]OFD Sender: No OFD packet to send [21:18:04]OFD Sender: No OFD packet to send [21:18:09]OFD Sender: No OFD packet to send [21:18:14]OFD Sender: No OFD packet to send [21:18:19]OFD Sender: No OFD packet to send [21:18:24]OFD Sender: No OFD packet to send [21:18:29]OFD Sender: No OFD packet to send [21:18:34]OFD Sender: No OFD packet to send [21:18:39]OFD Sender: No OFD packet to send [21:18:44]OFD Sender: No OFD packet to send [21:18:49]OFD Sender: No OFD packet to send [21:18:54]OFD Sender: No OFD packet to send [21:18:59]OFD Sender: No OFD packet to send [21:19:04]OFD Sender: No OFD packet to send [21:19:09]OFD Sender: No OFD packet to send [21:19:14]OFD Sender: No OFD packet to send [21:19:16]ConnectInit Can't connect to host [21:19:19]OFD Sender: No OFD packet to send [21:19:24]OFD Sender: No OFD packet to send [21:19:29]OFD Sender: No OFD packet to send [21:19:34]OFD Sender: No OFD packet to send [21:19:39]OFD Sender: No OFD packet to send [21:19:44]OFD Sender: No OFD packet to send [21:19:49]OFD Sender: No OFD packet to send [21:19:54]OFD Sender: No OFD packet to send [21:19:59]OFD Sender: No OFD packet to send [21:20:04]OFD Sender: No OFD packet to send [21:20:09]OFD Sender: No OFD packet to send [21:20:14]OFD Sender: No OFD packet to send [21:20:19]OFD Sender: No OFD packet to send [21:20:24]OFD Sender: No OFD packet to send [21:20:29]OFD Sender: No OFD packet to send [21:20:34]OFD Sender: No OFD packet to send [21:20:39]OFD Sender: No OFD packet to send [21:20:44]OFD Sender: No OFD packet to send [21:20:49]OFD Sender: No OFD packet to send [21:20:54]OFD Sender: No OFD packet to send [21:20:59]OFD Sender: No OFD packet to send [21:21:04]OFD Sender: No OFD packet to send [21:21:09]OFD Sender: No OFD packet to send [21:21:14]OFD Sender: No OFD packet to send [21:21:19]OFD Sender: No OFD packet to send [21:21:24]OFD Sender: No OFD packet to send [21:21:29]OFD Sender: No OFD packet to send [21:21:34]OFD Sender: No OFD packet to send [21:21:35]ConnectInit Can't connect to host [21:21:39]OFD Sender: No OFD packet to send [21:21:44]OFD Sender: No OFD packet to send [21:21:49]OFD Sender: No OFD packet to send [21:21:54]OFD Sender: No OFD packet to send [21:21:59]OFD Sender: No OFD packet to send [21:22:04]OFD Sender: No OFD packet to send [21:22:09]OFD Sender: No OFD packet to send [21:22:14]OFD Sender: No OFD packet to send [21:22:19]OFD Sender: No OFD packet to send [21:22:24]OFD Sender: No OFD packet to send [21:22:29]OFD Sender: No OFD packet to send [21:22:34]OFD Sender: No OFD packet to send [21:22:39]OFD Sender: No OFD packet to send [21:22:44]OFD Sender: No OFD packet to send [21:22:49]OFD Sender: No OFD packet to send [21:22:54]OFD Sender: No OFD packet to send [21:22:59]OFD Sender: No OFD packet to send [21:23:04]OFD Sender: No OFD packet to send [21:23:09]OFD Sender: No OFD packet to send [21:23:14]OFD Sender: No OFD packet to send [21:23:19]OFD Sender: No OFD packet to send [21:23:24]OFD Sender: No OFD packet to send [21:23:29]OFD Sender: No OFD packet to send [21:23:34]OFD Sender: No OFD packet to send [21:23:39]OFD Sender: No OFD packet to send [21:23:44]OFD Sender: No OFD packet to send [21:23:49]OFD Sender: No OFD packet to send [21:23:52]accept exits with 9 [21:23:52]New connection [21:23:52]New thread 3066555748 created [21:23:52]Thread 3066699108 joined [21:23:52]Waiting for new connection... [21:23:52] Sock 9.Parse request [21:23:52]Sock 9.Check first char [21:23:52]Sock 9.First char is OK [21:23:52]request: POST /json_proto HTTP/1.0 [21:23:52]Method: POST [21:23:52]URL: /json_proto [21:23:52]Method is POST - this is cgi request [21:23:52]url: /json_proto [21:23:52]query_string will be loaded in cgi processing [21:23:52]execute_cgi json_proto POST (null) [21:23:52]execute_cgi path=json_proto method=POST [21:23:52]POST find Content-Length [21:23:52]Host: 172.17.36.199:8080 [21:23:52]Content-Length: 823 [21:23:52]Content-Type: application/json [21:23:52] [21:23:52]POST finish read [21:23:52]Found Content-Length = 823 [21:23:52]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)176427", "tax_sys" : 0, "items" : [ { "code": "90162602", "name": "\u042D\u043D\u0435\u0440\u0433 \u043D\u0430\u043F\u0438\u0442\u043E\u043A Red bull 0,25\u043B", "price" : 185.00, "quantity" : 2.000, "sum" : 370.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 370.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:23:52]execute_script... [21:23: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)176427", "tax_sys" : 0, "items" : [ { "code": "90162602", "name": "\u042D\u043D\u0435\u0440\u0433 \u043D\u0430\u043F\u0438\u0442\u043E\u043A Red bull 0,25\u043B", "price" : 185.00, "quantity" : 2.000, "sum" : 370.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 370.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:23:52]POST & json_proto [21:23:52]process_json_proto [21:23:52]json parsed OK: [21:23:52]protocol is kg_v1.0 [21:23:52]action value=close_receipt [21:23:52]process_action close_receipt [21:23:52]cmd_close_receipt [21:23:52]MH_GetDate [21:23:52]Write to MH i2c: F0 00 00 04 07 FA [21:23:52]Write i2c OK [21:23:52]MH_I2C_Read... [21:23:52]Read from MH i2c: F0 [21:23:52]MH_I2C_Read... [21:23:52]Read from MH i2c: F0 09 00 [21:23:52]MH_I2C_Read... [21:23:52]Read from MH i2c: F0 09 00 04 07 00 E9 E2 5C 66 91 46 04 65 D0 [21:23:52]GetLastDocTimeStamp 1717363017 [21:23:52]current date 1717363433 [21:23:52]FM_GetShiftState [21:23:52]SAM_PROTO_GetShiftState [21:23:52]wFMCommunicate request_size=4 [21:23:52]MH_SAM_APDU [21:23:52]CAPDU: 80 13 01 00 [21:23:52]Write to MH i2c: E2 08 00 05 07 80 13 01 00 00 00 00 00 89 [21:23:52]Write i2c OK [21:23:52]MH_I2C_Read... [21:23:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:23:52]Read from MH i2c: E2 [21:23:52]MH_I2C_Read... [21:23:52]Read from MH i2c: E2 0E 00 [21:23:52]MH_I2C_Read... [21:23:52]Read from MH i2c: E2 0E 00 05 07 00 09 00 01 54 BB 5B 66 00 00 00 00 90 00 65 [21:23:52]RAPDU: 09 00 01 54 BB 5B 66 00 00 00 00 90 00 [21:23:52]wFMCommunicate OK [21:23:52]SAM_PROTO_GetShiftState done [21:23:52]FM_GetShiftState done [21:23:52]opened in 1717287764 [21:23:52]opened+sec_in_day 1717374164 [21:23:52]quantity*price = 37000 [21:23:52]sum+1 = 37001 [21:23:52]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 370.00 НСП 1% : 3.27 НДС 12% : 39.29 Наличными: 0.00 Безнал.: 370.00 Место: АЗС № 63 "Партнер Нефть" Адрес: 720001, с. Чон Сары Ой, ул. Западная 3, 42.603516, 76.894901 СНО: Общий режим Чек 125 02.06.2024 21:23 Смена: 375 ФФД: 1.0 ЗНМ: 0300000037 РНМ: 0000000000092680 Версия ККМ: 001 Платежная система: Бакай Банк ФМ: 0000000000874882 ФД: 39867 ФПД: 134190237489176 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240602T212353&type=1&operation_type=1&fn_number=0000000000874882&fd_number=39867&fm=134190237489176&tin=02508201610067®Number=0000000000092680&sum=37000 0 [21:23:54]StoreToDocumentArchive [21:23:54]shift 375 fd 39867 [21:23:54]save to /storage/0375/doc_00039867 [21:23:54]save last doc name /storage/0375/doc_00039867 to /storage/kkm_last_doc_name [21:23:54]save OK [21:23:54]Clear old archive folders... [21:23:54]ProcessDocumentItem done err = 0, tmpTLVsize=278 [21:23:54]tlvbuf is 00D1B890 [21:23:54]SAM_PROTO_ClearQueue [21:23:54]wFMCommunicate request_size=4 [21:23:54]MH_SAM_APDU [21:23:54]CAPDU: 80 09 00 00 [21:23:54]Write to MH i2c: E2 08 00 12 07 80 09 00 00 00 00 00 00 8B [21:23:55]Write i2c OK [21:23:55]MH_I2C_Read... [21:23:55]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:23:55]Read from MH i2c: E2 [21:23:55]MH_I2C_Read... [21:23:55]Read from MH i2c: E2 03 00 [21:23:55]MH_I2C_Read... [21:23:55]Read from MH i2c: E2 03 00 12 07 00 90 00 8D [21:23:55]RAPDU: 90 00 [21:23:55]wFMCommunicate OK [21:23:55]SAM_PROTO_ClearQueue done [21:23:55]KKMCreateOFDPacket [21:23:55]OFDProtocolAddRootSTLVToBuf [21:23:55]FM_MakeSignedData [21:23:55]FM_MakeSignedData [21:23:55]SAM_PROTO_SignData [21:23:55]wFMCommunicate request_size=4 [21:23:55]MH_SAM_APDU [21:23:55]CAPDU: 80 0D 01 02 [21:23:55]Write to MH i2c: E2 08 00 13 07 80 0D 01 02 00 00 00 00 93 [21:23:55]Write i2c OK [21:23:55]MH_I2C_Read... [21:23:55]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:23:55]Read from MH i2c: E2 [21:23:55]MH_I2C_Read... [21:23:55]Read from MH i2c: E2 03 00 [21:23:55]MH_I2C_Read... [21:23:55]Read from MH i2c: E2 03 00 13 07 00 90 00 8E [21:23:55]RAPDU: 90 00 [21:23:55]wFMCommunicate OK [21:23:55]wFMCommunicate request_size=255 [21:23:55]MH_SAM_APDU [21:23:55]CAPDU: 80 0D 02 02 FA 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 39 30 31 36 32 36 30 32 06 04 29 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 62 75 6C 6C 20 30 2C 32 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 44 48 00 00 00 00 13 04 06 00 88 90 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 90 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 59 0F 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 88 90 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 7D 00 00 00 F4 03 04 00 E9 E2 5C 66 0E 04 04 00 77 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 11 04 10 00 30 30 [21:23:55]Write to MH i2c: E2 02 01 14 07 80 0D 02 02 FA 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 39 30 31 36 32 36 30 32 06 04 29 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 62 75 6C 6C 20 30 2C 32 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 44 48 00 00 00 00 13 04 06 00 88 90 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 90 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 59 0F 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 88 90 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 7D 00 00 00 F4 03 04 00 E9 E2 5C 66 0E 04 04 00 77 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 11 04 10 00 30 30 00 00 6B [21:23:56]Write i2c OK [21:23:56]MH_I2C_Read... [21:23:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:23:56]Read from MH i2c: E2 [21:23:56]MH_I2C_Read... [21:23:56]Read from MH i2c: E2 03 00 [21:23:56]MH_I2C_Read... [21:23:56]Read from MH i2c: E2 03 00 14 07 00 90 00 8F [21:23:56]RAPDU: 90 00 [21:23:56]wFMCommunicate OK [21:23:56]wFMCommunicate request_size=37 [21:23:56]MH_SAM_APDU [21:23:56]CAPDU: 80 0D 02 02 20 30 30 30 30 30 30 30 30 38 37 34 38 38 32 10 04 04 00 BB 9B 00 00 35 04 06 00 7A 0B 99 70 18 18 [21:23:56]Write to MH i2c: E2 28 00 15 07 80 0D 02 02 20 00 30 30 30 30 30 30 30 30 38 37 34 38 38 32 10 04 04 00 BB 9B 00 00 35 04 06 00 7A 0B 99 70 18 18 00 00 06 [21:23:56]Write i2c OK [21:23:56]MH_I2C_Read... [21:23:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:23:56]Read from MH i2c: E2 [21:23:56]MH_I2C_Read... [21:23:56]Read from MH i2c: E2 03 00 [21:23:56]MH_I2C_Read... [21:23:56]Read from MH i2c: E2 03 00 15 07 00 90 00 90 [21:23:56]RAPDU: 90 00 [21:23:56]wFMCommunicate OK [21:23:56]wFMCommunicate request_size=4 [21:23:56]MH_SAM_APDU [21:23:56]CAPDU: 80 0D 03 02 [21:23:56]Write to MH i2c: E2 08 00 16 07 80 0D 03 02 00 00 00 00 98 [21:23:56]Write i2c OK [21:23:56]MH_I2C_Read... [21:23:56]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:23:56]Read from MH i2c: E2 [21:23:56]MH_I2C_Read... [21:23:56]Read from MH i2c: E2 0B 00 [21:23:56]MH_I2C_Read... [21:23:56]Read from MH i2c: E2 0B 00 16 07 00 1A 00 FF A5 3A 7D 83 FA 90 00 8B [21:23:56]RAPDU: 1A 00 FF A5 3A 7D 83 FA 90 00 [21:23:56]wFMCommunicate OK [21:23:56]SAM_PROTO_SignData done [21:23:56]FM_MakeSignedData done [21:23:56]CreateOFDProtocolMessage [21:23:56]wFMCommunicate request_size=4 [21:23:56]MH_SAM_APDU [21:23:56]CAPDU: 80 11 00 00 [21:23:56]Write to MH i2c: E2 08 00 17 07 80 11 00 00 00 00 00 00 98 [21:23:56]Write i2c OK [21:23:56]MH_I2C_Read... [21:23:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:23:56]Read from MH i2c: E2 [21:23:56]MH_I2C_Read... [21:23:56]Read from MH i2c: E2 17 00 [21:23:56]MH_I2C_Read... [21:23:56]Read from MH i2c: E2 17 00 17 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 90 00 F0 [21:23:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 90 00 [21:23:57]wFMCommunicate OK [21:23:57]CreateOFDProtocolMessage done [21:23:57]OFDSenderStorePacket 39867 [21:23:57]StoreOFDPacket docnum=39867 [21:23:57]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 2A 01 00 00 0B F9 22 01 01 40 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 39 30 31 36 32 36 30 32 06 04 29 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 62 75 6C 6C 20 30 2C 32 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 44 48 00 00 00 00 13 04 06 00 88 90 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 90 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 59 0F 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 88 90 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 7D 00 00 00 F4 03 04 00 E9 E2 5C 66 0E 04 04 00 77 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 10 04 04 00 BB 9B 00 00 35 04 06 00 7A 0B 99 70 18 18 1A 00 FF A5 3A 7D 83 FA [21:23:57]CheckFolder [21:23:57]dirname=/storage/ofd_packets [21:23:57]CheckFolder done [21:23:57]ProducePacketName [21:23:57]name=ofd_packets/00039867 [21:23:57]NVStorageSaveData ofd_packets/00039867 [21:23:57]File name is /storage/ofd_packets/00039867 [21:23:57]Write 328 bytes [21:23:57]NVStorageSaveData done [21:23:57]OFDSenderStorePacket done [21:23:57]KKMCreateOFDPacket done [21:23:57]NVStorageSaveData kkm_last_timestamp [21:23:57]File name is /storage/kkm_last_timestamp [21:23:57]Write 4 bytes [21:23:57]NVStorageSaveData done [21:23:57]ExternCall_PrintAddStr [21:23:57]wPrintStart [21:23:57]Write to MH i2c: 01 00 00 18 07 1F [21:23:57]Write i2c OK [21:23:57]MH_I2C_Read... [21:23:57]Read from MH i2c: 01 [21:23:57]MH_I2C_Read... [21:23:57]Read from MH i2c: 01 07 00 [21:23:57]MH_I2C_Read... [21:23:57]Read from MH i2c: 01 07 00 18 07 00 00 00 00 00 FF 0F 34 [21:23:57]RasterBufferAndPrint [21:23:57]line Счет N : (3)176427 [21:23:57]line ИНН: 02508201610067 [21:23:57]line Контрольно-Кассовый Чек [21:23:57]line ПРОДАЖА [21:23:57]line Товар: 90162602 [21:23:57]line Энерг напиток Red bull 0,25л [21:23:57]line 2.000 * 185.00 [21:23:57]line = 370.00 [21:23:57]line НДС 12% НСП 1% [21:23:57]line > о реализуемом товаре [21:23:57]line ИТОГО: 370.00 [21:23:57]line НСП 1% : 3.27 [21:23:57]line НДС 12% : 39.29 [21:23:57]line Наличными: 0.00 [21:23:57]line Безнал.: 370.00 [21:23:57]line Место: АЗС № 63 "Партнер Нефть" [21:23:57]line Адрес: 720001, с. Чон Сары Ой, ул. Западная 3, 42.603516, 76.894901 [21:23:57]line СНО: Общий режим [21:23:57]line Чек 125 02.06.2024 21:23 [21:23:57]line Смена: 375 ФФД: 1.0 [21:23:57]line ЗНМ: 0300000037 [21:23:57]line РНМ: 0000000000092680 [21:23:57]line Версия ККМ: 001 [21:23:57]line Платежная система: Бакай Банк [21:23:57]line ФМ: 0000000000874882 [21:23:57]line ФД: 39867 [21:23:57]OFD Sender: Processing packet 39867 [packets to send 5, broken 4] [21:23:57]line ФПД: 134190237489176 [21:23:57]ProducePacketName [21:23:57]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240602T212353&type=1&operation_type=1&fn_number=0000000000874882&fd_number=39867&fm=134190237489176&tin=02508201610067®Number=0000000000092680&sum=37000 [21:23:57]name=ofd_packets/00039867 [21:23:57]line 0 [21:23:57]OFD Sender: To server: pG, [21:23:57]written 0, free lines is 4095 [21:23:57]CommunicateWithHost lk.salyk.kg:30040 [21:23:57]ConnectInit lk.salyk.kg [21:23:57]Connected sock=7 [21:23:57]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 38 32 2A 01 00 00 0B F9 22 01 01 40 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 39 30 31 36 32 36 30 32 06 04 29 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 62 75 6C 6C 20 30 2C 32 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 44 48 00 00 00 00 13 04 06 00 88 90 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 90 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 59 0F 00 00 00 00 07 04 06 00 00 00 00 00 00 00 Write to MH i2c: 39 01 04 00 06 00 00 42 07 88 49 90 [21:23:57]00 00 00 00 1F 04 02 00 Write i2c OK [21:23:57]01 MH_I2C_Read... [21:23:57]00 Read from MH i2c: 12 01 04 [21:23:57]04 MH_I2C_Read... [21:23:57]00 Read from MH i2c: 7D 01 00 07 00 00 00 [21:23:57]F4 MH_I2C_Read... [21:23:57]03 Read from MH i2c: 04 01 00 07 E9 00 E2 42 5C 07 66 00 0E 00 04 00 04 00 00 00 77 3E 01 0D 00 9B 00 [21:23:57]B9 RasterBufferAndPrint [21:23:57]04 line [21:23:57]line [21:23:57]line [21:23:57]line [21:23:57]line [21:23:57]01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 10 04 04 00 BB 9B 00 written 0, free lines is 3731 [21:23:58]00 35 04 06 00 7A 0B MH_Cut [21:23:58]99 Write to MH i2c: 70 D1 18 01 18 1A 00 FF A5 3A 7D 00 83 49 FA 07 [21:23:58]01 22 [21:23:58]Write i2c OK [21:23:58]MH_I2C_Read... [21:23:58]Read from MH i2c: D1 [21:23:58]MH_I2C_Read... [21:23:58]Read from MH i2c: D1 01 00 [21:23:58]MH_I2C_Read... [21:23:58]Read from MH i2c: D1 01 00 49 07 00 21 [21:23:58]Write to MH i2c: 01 00 00 4A 07 51 [21:23:58]Write i2c OK [21:23:58]MH_I2C_Read... [21:23:58]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 4F 00 00 00 *** Cut start [21:23:58]E4 A9 47 00 2A F7 A5 07 01 *** Partial cut [21:23:58]00 07 *** CUTSNS_PIN = 1 [21:23:58]00 3B 00 *** CUTSNS_PIN = 0 [21:23:58]F9 03 *** Brake cut motor [21:23:58]0E 00 37 37 30 39 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 38 32 10 04 04 00 BB 9B 00 00 F4 03 04 00 9B 8B 5C 66 B6 04 01 00 00 C4 2C 00 2E 5A 7F E8 51 [21:23:58]CommunicateWithHost err = 0 [21:23:58]CheckOFDResponse [21:23:58]1017 (14) - 77093643461234 [21:23:58]1041 (16) - 0000000000874882 [21:23:58]*** Stop cut motor [21:23:58]1040 (4) - 39867 [21:23:58]*** Cut end [21:23:58]1012 (4) - 02.06.2024 15:11 [21:23:59]1206 (1) - 0 [21:23:59]OFD Sender: Remove packet 39867 [21:23:59]ProducePacketName [21:23:59]name=ofd_packets/00039867 [21:23:59]NVStorageDeleteData [21:23:59]Read from MH i2c: 01 [21:23:59]MH_I2C_Read... [21:23:59]Read from MH i2c: 01 07 00 [21:23:59]MH_I2C_Read... [21:23:59]Read from MH i2c: 01 07 00 4A 07 00 00 00 00 00 FF 0F 66 [21:23:59]process_action close_receipt done [21:23:59]requested_data is exist [21:23:59]produce_requested_data [21:23:59]requested_item fm.sn is exist - process it [21:23:59]wFMCommunicate request_size=4 [21:23:59]MH_SAM_APDU [21:23:59]CAPDU: 80 11 00 00 [21:23:59]Write to MH i2c: E2 08 00 4B 07 80 11 00 00 00 00 00 00 CC [21:23:59]Write i2c OK [21:23:59]MH_I2C_Read... [21:23:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:23:59]Read from MH i2c: E2 [21:23:59]MH_I2C_Read... [21:23:59]Read from MH i2c: E2 17 00 [21:23:59]MH_I2C_Read... [21:23:59]Read from MH i2c: E2 17 00 4B 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 90 00 24 [21:23:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 90 00 [21:23:59]wFMCommunicate OK [21:23:59]requested_item fd.num is exist - process it [21:23:59]SAM_PROTO_GetFieldsCounters [21:23:59]wFMCommunicate request_size=4 [21:23:59]MH_SAM_APDU [21:23:59]CAPDU: 80 13 00 00 [21:23:59]Write to MH i2c: E2 08 00 4C 07 80 13 00 00 00 00 00 00 CF [21:23:59]Write i2c OK [21:23:59]MH_I2C_Read... [21:23:59]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:23:59]Read from MH i2c: E2 [21:23:59]MH_I2C_Read... [21:23:59]Read from MH i2c: E2 62 00 [21:23:59]MH_I2C_Read... [21:23:59]Read from MH i2c: E2 62 00 4C 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 0D 04 10 00 30 30 OFD Sender: No OFD packet to send [21:23:59]30 30 30 30 30 30 30 30 30 39 32 36 38 30 10 04 04 00 BB 9B 00 00 0E 04 04 00 77 01 00 00 12 04 04 00 7D 00 00 00 5E 04 04 00 7D 00 00 00 57 04 04 00 7E 00 00 00 19 04 04 00 00 00 00 00 90 00 3A [21:23:59]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 10 04 04 00 BB 9B 00 00 0E 04 04 00 77 01 00 00 12 04 04 00 7D 00 00 00 5E 04 04 00 7D 00 00 00 57 04 04 00 7E 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:23:59]wFMCommunicate OK [21:23:59]SAM_PROTO_GetFieldsCounters done [21:23:59]requested_item shift.num is exist - process it [21:23:59]requested_item shift.opened is exist - process it [21:23:59]req_shift_opened [21:23:59]FM_GetShiftState [21:23:59]SAM_PROTO_GetShiftState [21:23:59]wFMCommunicate request_size=4 [21:23:59]MH_SAM_APDU [21:23:59]CAPDU: 80 13 01 00 [21:23:59]Write to MH i2c: E2 08 00 4D 07 80 13 01 00 00 00 00 00 D1 [21:23:59]Write i2c OK [21:23:59]MH_I2C_Read... [21:23:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:23:59]Read from MH i2c: E2 [21:23:59]MH_I2C_Read... [21:23:59]Read from MH i2c: E2 0E 00 [21:23:59]MH_I2C_Read... [21:23:59]Read from MH i2c: E2 0E 00 4D 07 00 09 00 01 54 BB 5B 66 00 00 00 00 90 00 AD [21:23:59]RAPDU: 09 00 01 54 BB 5B 66 00 00 00 00 90 00 [21:23:59]wFMCommunicate OK [21:23:59]SAM_PROTO_GetShiftState done [21:23:59]FM_GetShiftState done [21:23:59]req_shift_opened done [21:23:59]requested_item shift.open_date is exist - process it [21:23:59]req_shift_open_date [21:23:59]req_shift_open_date done [21:23:59]produce_requested_data done [21:23:59]produce_requested_data return {"fm.sn":"0000000000874882","fd.num":39867,"shift.num":375,"shift.opened":1,"shift.open_date":1717287764} [21:23:59]process_action_free close_receipt [21:23:59]json_value_free [21:23:59]json_value_free done [21:23:59]process_json_proto returns [21:23:59]Send response to host [21:23:59]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874882","fd.num":39867,"shift.num":375,"shift.opened":1,"shift.open_date":1717287764}}} [21:24:00]free response buf [21:24:00]execute_script done [21:24:00]execute_script returns [21:24:00]free content buf [21:24:00]Sock 9.Close socket [21:24:00]Sock 9.Thread stoped [21:24:04]OFD Sender: No OFD packet to send [21:24:09]OFD Sender: No OFD packet to send [21:24:14]OFD Sender: No OFD packet to send [21:24:19]OFD Sender: No OFD packet to send [21:24:24]OFD Sender: No OFD packet to send [21:24:29]OFD Sender: No OFD packet to send [21:24:34]OFD Sender: No OFD packet to send [21:24:39]OFD Sender: No OFD packet to send [21:24:44]OFD Sender: No OFD packet to send [21:24:49]OFD Sender: No OFD packet to send [21:24:54]OFD Sender: No OFD packet to send [21:24:59]OFD Sender: No OFD packet to send [21:25:04]OFD Sender: No OFD packet to send [21:25:09]OFD Sender: No OFD packet to send [21:25:14]OFD Sender: No OFD packet to send [21:25:19]OFD Sender: No OFD packet to send [21:25:24]OFD Sender: No OFD packet to send [21:25:29]OFD Sender: No OFD packet to send [21:25:34]OFD Sender: No OFD packet to send [21:25:39]OFD Sender: No OFD packet to send [21:25:44]OFD Sender: No OFD packet to send [21:25:49]OFD Sender: No OFD packet to send [21:25:54]OFD Sender: No OFD packet to send [21:25:59]OFD Sender: No OFD packet to send [21:26:04]OFD Sender: No OFD packet to send [21:26:09]OFD Sender: No OFD packet to send [21:26:11]ConnectInit Can't connect to host [21:26:14]OFD Sender: No OFD packet to send [21:26:19]OFD Sender: No OFD packet to send [21:26:24]OFD Sender: No OFD packet to send [21:26:29]OFD Sender: No OFD packet to send [21:26:34]OFD Sender: No OFD packet to send [21:26:39]OFD Sender: No OFD packet to send [21:26:44]OFD Sender: No OFD packet to send [21:26:49]OFD Sender: No OFD packet to send [21:26:54]OFD Sender: No OFD packet to send [21:26:59]OFD Sender: No OFD packet to send [21:27:04]OFD Sender: No OFD packet to send [21:27:09]OFD Sender: No OFD packet to send [21:27:14]OFD Sender: No OFD packet to send [21:27:19]OFD Sender: No OFD packet to send [21:27:24]OFD Sender: No OFD packet to send [21:27:29]OFD Sender: No OFD packet to send [21:27:34]OFD Sender: No OFD packet to send [21:27:39]OFD Sender: No OFD packet to send [21:27:44]OFD Sender: No OFD packet to send [21:27:49]OFD Sender: No OFD packet to send [21:27:54]OFD Sender: No OFD packet to send [21:27:59]OFD Sender: No OFD packet to send [21:28:04]OFD Sender: No OFD packet to send [21:28:09]OFD Sender: No OFD packet to send [21:28:14]OFD Sender: No OFD packet to send [21:28:19]OFD Sender: No OFD packet to send [21:28:24]OFD Sender: No OFD packet to send [21:28:29]OFD Sender: No OFD packet to send [21:28:29]ConnectInit Can't connect to host [21:28:34]OFD Sender: No OFD packet to send [21:28:39]OFD Sender: No OFD packet to send [21:28:44]OFD Sender: No OFD packet to send [21:28:49]OFD Sender: No OFD packet to send [21:28:54]OFD Sender: No OFD packet to send [21:28:59]OFD Sender: No OFD packet to send [21:29:04]OFD Sender: No OFD packet to send [21:29:09]OFD Sender: No OFD packet to send [21:29:14]OFD Sender: No OFD packet to send [21:29:19]OFD Sender: No OFD packet to send [21:29:24]OFD Sender: No OFD packet to send [21:29:28]accept exits with 10 [21:29:28]New connection [21:29:28]New thread 3066699108 created [21:29:28]Thread 3066555748 joined [21:29:28]Waiting for new connection... [21:29:28] Sock 10.Parse request [21:29:28]Sock 10.Check first char [21:29:28]Sock 10.First char is OK [21:29:28]request: POST /json_proto HTTP/1.0 [21:29:28]Method: POST [21:29:28]URL: /json_proto [21:29:28]Method is POST - this is cgi request [21:29:28]url: /json_proto [21:29:28]query_string will be loaded in cgi processing [21:29:28]execute_cgi json_proto POST (null) [21:29:28]execute_cgi path=json_proto method=POST [21:29:28]POST find Content-Length [21:29:28]Host: 172.17.36.199:8080 [21:29:28]Content-Length: 847 [21:29:28]Content-Type: application/json [21:29:28] [21:29:28]POST finish read [21:29:28]Found Content-Length = 847 [21:29:28]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)176428", "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 }]} ], "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" : 125.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:29:28]execute_script... [21:29:28]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)176428", "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 }]} ], "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" : 125.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:29:28]POST & json_proto [21:29:28]process_json_proto [21:29:28]json parsed OK: [21:29:28]protocol is kg_v1.0 [21:29:28]action value=close_receipt [21:29:28]process_action close_receipt [21:29:28]cmd_close_receipt [21:29:28]MH_GetDate [21:29:28]Write to MH i2c: F0 00 00 4E 07 44 [21:29:28]Write i2c OK [21:29:28]MH_I2C_Read... [21:29:28]Read from MH i2c: F0 [21:29:28]MH_I2C_Read... [21:29:28]Read from MH i2c: F0 09 00 [21:29:28]MH_I2C_Read... [21:29:28]Read from MH i2c: F0 09 00 4E 07 00 39 E4 5C 66 91 46 04 65 6C [21:29:28]GetLastDocTimeStamp 1717363433 [21:29:28]current date 1717363769 [21:29:28]FM_GetShiftState [21:29:28]SAM_PROTO_GetShiftState [21:29:28]wFMCommunicate request_size=4 [21:29:28]MH_SAM_APDU [21:29:28]CAPDU: 80 13 01 00 [21:29:28]Write to MH i2c: E2 08 00 4F 07 80 13 01 00 00 00 00 00 D3 [21:29:28]Write i2c OK [21:29:28]MH_I2C_Read... [21:29:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:29:28]Read from MH i2c: E2 [21:29:28]MH_I2C_Read... [21:29:28]Read from MH i2c: E2 0E 00 [21:29:28]MH_I2C_Read... [21:29:28]Read from MH i2c: E2 0E 00 4F 07 00 09 00 01 54 BB 5B 66 00 00 00 00 90 00 AF [21:29:28]RAPDU: 09 00 01 54 BB 5B 66 00 00 00 00 90 00 [21:29:28]wFMCommunicate OK [21:29:28]SAM_PROTO_GetShiftState done [21:29:28]FM_GetShiftState done [21:29:28]opened in 1717287764 [21:29:28]opened+sec_in_day 1717374164 [21:29:28]quantity*price = 12500 [21:29:28]sum+1 = 12501 [21:29:28]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 125.00 НСП 1% : 1.11 НДС 12% : 13.27 Наличными: 0.00 Безнал.: 125.00 Место: АЗС № 63 "Партнер Нефть" Адрес: 720001, с. Чон Сары Ой, ул. Западная 3, 42.603516, 76.894901 СНО: Общий режим Чек 126 02.06.2024 21:29 Смена: 375 ФФД: 1.0 ЗНМ: 0300000037 РНМ: 0000000000092680 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000874882 ФД: 39868 ФПД: 203842719395828 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240602T212929&type=1&operation_type=1&fn_number=0000000000874882&fd_number=39868&fm=203842719395828&tin=02508201610067®Number=0000000000092680&sum=12500 0 [21:29:31]StoreToDocumentArchive [21:29:31]shift 375 fd 39868 [21:29:31]save to /storage/0375/doc_00039868 [21:29:31]save last doc name /storage/0375/doc_00039868 to /storage/kkm_last_doc_name [21:29:31]save OK [21:29:31]Clear old archive folders... [21:29:31]ProcessDocumentItem done err = 0, tmpTLVsize=282 [21:29:31]tlvbuf is 00CC96A0 [21:29:31]SAM_PROTO_ClearQueue [21:29:31]wFMCommunicate request_size=4 [21:29:31]MH_SAM_APDU [21:29:31]CAPDU: 80 09 00 00 [21:29:31]Write to MH i2c: E2 08 00 5C 07 80 09 00 00 00 00 00 00 D5 [21:29:31]Write i2c OK [21:29:31]MH_I2C_Read... [21:29:31]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:29:31]Read from MH i2c: E2 [21:29:31]MH_I2C_Read... [21:29:31]Read from MH i2c: E2 03 00 [21:29:31]MH_I2C_Read... [21:29:31]Read from MH i2c: E2 03 00 5C 07 00 90 00 D7 [21:29:31]RAPDU: 90 00 [21:29:31]wFMCommunicate OK [21:29:31]SAM_PROTO_ClearQueue done [21:29:31]KKMCreateOFDPacket [21:29:31]OFDProtocolAddRootSTLVToBuf [21:29:31]FM_MakeSignedData [21:29:31]FM_MakeSignedData [21:29:31]SAM_PROTO_SignData [21:29:31]wFMCommunicate request_size=4 [21:29:31]MH_SAM_APDU [21:29:31]CAPDU: 80 0D 01 02 [21:29:31]Write to MH i2c: E2 08 00 5D 07 80 0D 01 02 00 00 00 00 DD [21:29:31]Write i2c OK [21:29:31]MH_I2C_Read... [21:29:31]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:29:31]Read from MH i2c: E2 [21:29:31]MH_I2C_Read... [21:29:31]Read from MH i2c: E2 03 00 [21:29:31]MH_I2C_Read... [21:29:31]Read from MH i2c: E2 03 00 5D 07 00 90 00 D8 [21:29:31]RAPDU: 90 00 [21:29:31]wFMCommunicate OK [21:29:31]wFMCommunicate request_size=255 [21:29:31]MH_SAM_APDU [21:29:31]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 00 00 00 00 00 00 39 04 06 00 D4 30 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 7E 00 00 00 F4 03 04 00 39 E4 5C 66 0E 04 04 00 77 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 11 04 [21:29:31]Write to MH i2c: E2 02 01 5E 07 80 0D 02 02 FA 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D4 30 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 7E 00 00 00 F4 03 04 00 39 E4 5C 66 0E 04 04 00 77 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 11 04 00 00 B0 [21:29:32]Write i2c OK [21:29:32]MH_I2C_Read... [21:29:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:29:32]Read from MH i2c: E2 [21:29:32]MH_I2C_Read... [21:29:32]Read from MH i2c: E2 03 00 [21:29:32]MH_I2C_Read... [21:29:32]Read from MH i2c: E2 03 00 5E 07 00 90 00 D9 [21:29:32]RAPDU: 90 00 [21:29:32]wFMCommunicate OK [21:29:32]wFMCommunicate request_size=41 [21:29:32]MH_SAM_APDU [21:29:32]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 10 04 04 00 BC 9B 00 00 35 04 06 00 B9 64 D4 E1 2F F4 [21:29:32]Write to MH i2c: E2 2C 00 5F 07 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 10 04 04 00 BC 9B 00 00 35 04 06 00 B9 64 D4 E1 2F F4 00 00 00 [21:29:32]Write i2c OK [21:29:32]MH_I2C_Read... [21:29:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:29:32]Read from MH i2c: E2 [21:29:32]MH_I2C_Read... [21:29:32]Read from MH i2c: E2 03 00 [21:29:32]MH_I2C_Read... [21:29:32]Read from MH i2c: E2 03 00 5F 07 00 90 00 DA [21:29:32]RAPDU: 90 00 [21:29:32]wFMCommunicate OK [21:29:32]wFMCommunicate request_size=4 [21:29:32]MH_SAM_APDU [21:29:32]CAPDU: 80 0D 03 02 [21:29:32]Write to MH i2c: E2 08 00 60 07 80 0D 03 02 00 00 00 00 E2 [21:29:32]Write i2c OK [21:29:32]MH_I2C_Read... [21:29:32]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:29:32]Read from MH i2c: E2 [21:29:32]MH_I2C_Read... [21:29:32]Read from MH i2c: E2 0B 00 [21:29:32]MH_I2C_Read... [21:29:32]Read from MH i2c: E2 0B 00 60 07 00 AA 88 5C 04 C5 C3 E4 7F 90 00 60 [21:29:32]RAPDU: AA 88 5C 04 C5 C3 E4 7F 90 00 [21:29:32]wFMCommunicate OK [21:29:32]SAM_PROTO_SignData done [21:29:32]FM_MakeSignedData done [21:29:32]CreateOFDProtocolMessage [21:29:32]wFMCommunicate request_size=4 [21:29:32]MH_SAM_APDU [21:29:32]CAPDU: 80 11 00 00 [21:29:32]Write to MH i2c: E2 08 00 61 07 80 11 00 00 00 00 00 00 E2 [21:29:33]Write i2c OK [21:29:33]MH_I2C_Read... [21:29:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:29:33]Read from MH i2c: E2 [21:29:33]MH_I2C_Read... [21:29:33]Read from MH i2c: E2 17 00 [21:29:33]MH_I2C_Read... [21:29:33]Read from MH i2c: E2 17 00 61 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 90 00 3A [21:29:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 90 00 [21:29:33]wFMCommunicate OK [21:29:33]CreateOFDProtocolMessage done [21:29:33]OFDSenderStorePacket 39868 [21:29:33]StoreOFDPacket docnum=39868 [21:29:33]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 2E 01 00 00 34 E6 26 01 7C 6B 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 00 00 00 00 00 00 39 04 06 00 D4 30 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 7E 00 00 00 F4 03 04 00 39 E4 5C 66 0E 04 04 00 77 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 10 04 04 00 BC 9B 00 00 35 04 06 00 B9 64 D4 E1 2F F4 AA 88 5C 04 C5 C3 E4 7F [21:29:33]CheckFolder [21:29:33]dirname=/storage/ofd_packets [21:29:33]CheckFolder done [21:29:33]ProducePacketName [21:29:33]name=ofd_packets/00039868 [21:29:33]NVStorageSaveData ofd_packets/00039868 [21:29:33]File name is /storage/ofd_packets/00039868 [21:29:33]Write 332 bytes [21:29:33]NVStorageSaveData done [21:29:33]OFDSenderStorePacket done [21:29:33]KKMCreateOFDPacket done [21:29:33]NVStorageSaveData kkm_last_timestamp [21:29:33]File name is /storage/kkm_last_timestamp [21:29:33]Write 4 bytes [21:29:33]NVStorageSaveData done [21:29:33]ExternCall_PrintAddStr [21:29:33]wPrintStart [21:29:33]Write to MH i2c: 01 00 00 62 07 69 [21:29:33]Write i2c OK [21:29:33]MH_I2C_Read... [21:29:33]Read from MH i2c: 01 [21:29:33]MH_I2C_Read... [21:29:33]Read from MH i2c: 01 07 00 [21:29:33]MH_I2C_Read... [21:29:33]OFD Sender: Processing packet 39868 [packets to send 5, broken 4] [21:29:33]ProducePacketName [21:29:33]name=ofd_packets/00039868 [21:29:33]OFD Sender: To server: pG, [21:29:33]CommunicateWithHost lk.salyk.kg:30040 [21:29:33]ConnectInit lk.salyk.kg [21:29:33]Read from MH i2c: 01 07 00 62 07 00 00 00 00 00 FF 0F 7E [21:29:33]RasterBufferAndPrint [21:29:33]line Счет N : (3)176428 [21:29:33]line ИНН: 02508201610067 [21:29:33]line Контрольно-Кассовый Чек [21:29:33]line ПРОДАЖА [21:29:33]line Товар: 2000036220012 [21:29:33]line Кофе Капучино XL(GABB TRADE) [21:29:33]line 1.000 * 125.00 [21:29:33]line = 125.00 [21:29:33]line НДС 12% НСП 1% [21:29:33]line > о реализуемом товаре [21:29:33]line ИТОГО: 125.00 [21:29:33]line НСП 1% : 1.11 [21:29:33]line НДС 12% : 13.27 [21:29:33]line Наличными: 0.00 [21:29:33]line Безнал.: 125.00 [21:29:33]line Место: АЗС № 63 "Партнер Нефть" [21:29:33]line Адрес: 720001, с. Чон Сары Ой, ул. Западная 3, 42.603516, 76.894901 [21:29:33]line СНО: Общий режим [21:29:33]line Чек 126 02.06.2024 21:29 [21:29:33]line Смена: 375 ФФД: 1.0 [21:29:33]line ЗНМ: 0300000037 [21:29:33]line РНМ: 0000000000092680 [21:29:33]line Версия ККМ: 001 [21:29:33]line Платежная система: АКБ Кыргызстан [21:29:33]line ФМ: 0000000000874882 [21:29:33]line ФД: 39868 [21:29:33]line ФПД: 203842719395828 [21:29:33]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240602T212929&type=1&operation_type=1&fn_number=0000000000874882&fd_number=39868&fm=203842719395828&tin=02508201610067®Number=0000000000092680&sum=12500 [21:29:33]Connected sock=11 [21:29:33]Data to sent: 87 95 F6 70 line 0 [21:29:33]47 2C 01 00 30 written 0, free lines is 4095 [21:29:33]30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 2E 01 00 00 34 E6 26 01 7C 6B 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 00 00 00 00 00 00 39 04 06 Write to MH i2c: 00 D4 01 30 00 00 00 00 8D 00 07 00 94 1F [21:29:33]04 02 00 01 00 Write i2c OK [21:29:33]12 MH_I2C_Read... [21:29:33]04 04 Read from MH i2c: 00 01 7E [21:29:33]00 00 00 F4 03 04 00 MH_I2C_Read... [21:29:33]39 E4 5C 66 0E Read from MH i2c: 04 01 04 07 00 77 01 00 00 B9 00 04 [21:29:33]01 MH_I2C_Read... [21:29:33]00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 Read from MH i2c: 10 04 04 00 BC 01 9B 07 00 00 00 35 04 06 00 B9 64 8D D4 07 E1 00 2F F4 AA 88 5C 04 00 C5 C3 00 E4 00 7F 00 [21:29:34]4B 0D F3 [21:29:34]RasterBufferAndPrint [21:29:34]line [21:29:34]line [21:29:34]line [21:29:34]line [21:29:34]line [21:29:34]written 0, free lines is 3896 [21:29:34]MH_Cut [21:29:34]Write to MH i2c: D1 01 00 94 07 01 6D [21:29:34]Write i2c OK [21:29:34]MH_I2C_Read... [21:29:34]Read from MH i2c: D1 [21:29:34]MH_I2C_Read... [21:29:34]Read from MH i2c: D1 01 00 [21:29:34]MH_I2C_Read... [21:29:34]Read from MH i2c: D1 01 00 94 07 00 6C [21:29:34]Write to MH i2c: 01 00 00 95 07 9C [21:29:34]Write i2c OK [21:29:34]MH_I2C_Read... [21:29: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 38 32 4F 00 00 00 41 81 47 00 5A 2E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 10 04 04 00 BC 9B 00 00 F4 03 04 00 EB 8C 5C 66 B6 04 01 00 00 79 7F A6 94 6F B8 97 C4 [21:29:34]CommunicateWithHost err = 0 [21:29:34]CheckOFDResponse [21:29:34]1017 (14) - 77093643461234 [21:29:34]1041 (16) - 0000000000874882 [21:29:34]1040 (4) - 39868 [21:29:34]1012 (4) - 02.06.2024 15:16 [21:29:34]1206 (1) - 0 [21:29:34]OFD Sender: Remove packet 39868 [21:29:34]ProducePacketName [21:29:34]name=ofd_packets/00039868 [21:29:34]NVStorageDeleteData [21:29:34]*** Cut start [21:29:34]*** Partial cut [21:29:34]*** CUTSNS_PIN = 1 [21:29:34]*** CUTSNS_PIN = 0 [21:29:34]*** Brake cut motor [21:29:35]Read from MH i2c: 01 [21:29:35]MH_I2C_Read... [21:29:35]*** Stop cut motor [21:29:35]*** Cut end [21:29:35]Read from MH i2c: 01 07 00 [21:29:35]MH_I2C_Read... [21:29:35]Read from MH i2c: 01 07 00 95 07 00 00 00 00 00 FF 0F B1 [21:29:35]process_action close_receipt done [21:29:35]requested_data is exist [21:29:35]produce_requested_data [21:29:35]requested_item fm.sn is exist - process it [21:29:35]wFMCommunicate request_size=4 [21:29:35]MH_SAM_APDU [21:29:35]CAPDU: 80 11 00 00 [21:29:35]Write to MH i2c: E2 08 00 96 07 80 11 00 00 00 00 00 00 17 [21:29:35]OFD Sender: No OFD packet to send [21:29:35]Write i2c OK [21:29:35]MH_I2C_Read... [21:29:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:29:35]Read from MH i2c: E2 [21:29:35]MH_I2C_Read... [21:29:35]Read from MH i2c: E2 17 00 [21:29:35]MH_I2C_Read... [21:29:35]Read from MH i2c: E2 17 00 96 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 90 00 6F [21:29:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 90 00 [21:29:35]wFMCommunicate OK [21:29:35]requested_item fd.num is exist - process it [21:29:35]SAM_PROTO_GetFieldsCounters [21:29:35]wFMCommunicate request_size=4 [21:29:35]MH_SAM_APDU [21:29:35]CAPDU: 80 13 00 00 [21:29:35]Write to MH i2c: E2 08 00 97 07 80 13 00 00 00 00 00 00 1A [21:29:35]Write i2c OK [21:29:35]MH_I2C_Read... [21:29:35]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:29:35]Read from MH i2c: E2 [21:29:35]MH_I2C_Read... [21:29:35]Read from MH i2c: E2 62 00 [21:29:35]MH_I2C_Read... [21:29:35]Read from MH i2c: E2 62 00 97 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 10 04 04 00 BC 9B 00 00 0E 04 04 00 77 01 00 00 12 04 04 00 7E 00 00 00 5E 04 04 00 7E 00 00 00 57 04 04 00 7F 00 00 00 19 04 04 00 00 00 00 00 90 00 89 [21:29: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 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 10 04 04 00 BC 9B 00 00 0E 04 04 00 77 01 00 00 12 04 04 00 7E 00 00 00 5E 04 04 00 7E 00 00 00 57 04 04 00 7F 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:29:36]wFMCommunicate OK [21:29:36]SAM_PROTO_GetFieldsCounters done [21:29:36]requested_item shift.num is exist - process it [21:29:36]requested_item shift.opened is exist - process it [21:29:36]req_shift_opened [21:29:36]FM_GetShiftState [21:29:36]SAM_PROTO_GetShiftState [21:29:36]wFMCommunicate request_size=4 [21:29:36]MH_SAM_APDU [21:29:36]CAPDU: 80 13 01 00 [21:29:36]Write to MH i2c: E2 08 00 98 07 80 13 01 00 00 00 00 00 1C [21:29:36]Write i2c OK [21:29:36]MH_I2C_Read... [21:29:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:29:36]Read from MH i2c: E2 [21:29:36]MH_I2C_Read... [21:29:36]Read from MH i2c: E2 0E 00 [21:29:36]MH_I2C_Read... [21:29:36]Read from MH i2c: E2 0E 00 98 07 00 09 00 01 54 BB 5B 66 00 00 00 00 90 00 F8 [21:29:36]RAPDU: 09 00 01 54 BB 5B 66 00 00 00 00 90 00 [21:29:36]wFMCommunicate OK [21:29:36]SAM_PROTO_GetShiftState done [21:29:36]FM_GetShiftState done [21:29:36]req_shift_opened done [21:29:36]requested_item shift.open_date is exist - process it [21:29:36]req_shift_open_date [21:29:36]req_shift_open_date done [21:29:36]produce_requested_data done [21:29:36]produce_requested_data return {"fm.sn":"0000000000874882","fd.num":39868,"shift.num":375,"shift.opened":1,"shift.open_date":1717287764} [21:29:36]process_action_free close_receipt [21:29:36]json_value_free [21:29:36]json_value_free done [21:29:36]process_json_proto returns [21:29:36]Send response to host [21:29:36]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874882","fd.num":39868,"shift.num":375,"shift.opened":1,"shift.open_date":1717287764}}} [21:29:36]free response buf [21:29:36]execute_script done [21:29:36]execute_script returns [21:29:36]free content buf [21:29:36]Sock 10.Close socket [21:29:36]Sock 10.Thread stoped [21:29:40]OFD Sender: No OFD packet to send [21:29:45]OFD Sender: No OFD packet to send [21:29:50]OFD Sender: No OFD packet to send [21:29:55]OFD Sender: No OFD packet to send [21:30:00]OFD Sender: No OFD packet to send [21:30:05]OFD Sender: No OFD packet to send [21:30:10]OFD Sender: No OFD packet to send [21:30:15]OFD Sender: No OFD packet to send [21:30:20]OFD Sender: No OFD packet to send [21:30:25]OFD Sender: No OFD packet to send [21:30:30]OFD Sender: No OFD packet to send [21:30:35]OFD Sender: No OFD packet to send [21:30:40]OFD Sender: No OFD packet to send [21:30:45]OFD Sender: No OFD packet to send [21:30:48]ConnectInit Can't connect to host [21:30:50]OFD Sender: No OFD packet to send [21:30:55]OFD Sender: No OFD packet to send [21:31:00]OFD Sender: No OFD packet to send [21:31:05]OFD Sender: No OFD packet to send [21:31:10]OFD Sender: No OFD packet to send [21:31:15]OFD Sender: No OFD packet to send [21:31:15]accept exits with 9 [21:31:15]New connection [21:31:15]New thread 3066555748 created [21:31:15]Thread 3066699108 joined [21:31:15]Waiting for new connection... [21:31:15] Sock 9.Parse request [21:31:15]Sock 9.Check first char [21:31:15]Sock 9.First char is OK [21:31:15]request: POST /json_proto HTTP/1.0 [21:31:15]Method: POST [21:31:15]URL: /json_proto [21:31:15]Method is POST - this is cgi request [21:31:15]url: /json_proto [21:31:15]query_string will be loaded in cgi processing [21:31:15]execute_cgi json_proto POST (null) [21:31:15]execute_cgi path=json_proto method=POST [21:31:15]POST find Content-Length [21:31:15]Host: 172.17.36.199:8080 [21:31:15]Content-Length: 1199 [21:31:15]Content-Type: application/json [21:31:15] [21:31:15]POST finish read [21:31:15]Found Content-Length = 1199 [21:31:15]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)176429", "tax_sys" : 0, "items" : [ { "code": "4650063110756", "name": "\u041C\u0430\u0441\u043B\u043E Gazpromneft Super 10w40 1\u043B", "price" : 405.00, "quantity" : 1.000, "sum" : 405.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870202522695", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Maxi \u0427\u0430\u0439 \u0447\u0435\u0440\u043D\u044B\u0439 \u041C\u0430\u043B\u0438\u043D\u0430 0,450", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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" : 525.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:31:15]execute_script... [21:31:15]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)176429", "tax_sys" : 0, "items" : [ { "code": "4650063110756", "name": "\u041C\u0430\u0441\u043B\u043E Gazpromneft Super 10w40 1\u043B", "price" : 405.00, "quantity" : 1.000, "sum" : 405.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870202522695", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Maxi \u0427\u0430\u0439 \u0447\u0435\u0440\u043D\u044B\u0439 \u041C\u0430\u043B\u0438\u043D\u0430 0,450", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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" : 525.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:31:15]POST & json_proto [21:31:15]process_json_proto [21:31:15]json parsed OK: [21:31:15]protocol is kg_v1.0 [21:31:15]action value=close_receipt [21:31:15]process_action close_receipt [21:31:15]cmd_close_receipt [21:31:15]MH_GetDate [21:31:15]Write to MH i2c: F0 00 00 99 07 8F [21:31:15]Write i2c OK [21:31:15]MH_I2C_Read... [21:31:15]Read from MH i2c: F0 [21:31:15]MH_I2C_Read... [21:31:15]Read from MH i2c: F0 09 00 [21:31:15]MH_I2C_Read... [21:31:15]Read from MH i2c: F0 09 00 99 07 00 A4 E4 5C 66 91 46 04 65 22 [21:31:15]GetLastDocTimeStamp 1717363769 [21:31:15]current date 1717363876 [21:31:15]FM_GetShiftState [21:31:15]SAM_PROTO_GetShiftState [21:31:15]wFMCommunicate request_size=4 [21:31:15]MH_SAM_APDU [21:31:15]CAPDU: 80 13 01 00 [21:31:15]Write to MH i2c: E2 08 00 9A 07 80 13 01 00 00 00 00 00 1E [21:31:15]Write i2c OK [21:31:15]MH_I2C_Read... [21:31:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:31:15]Read from MH i2c: E2 [21:31:15]MH_I2C_Read... [21:31:15]Read from MH i2c: E2 0E 00 [21:31:15]MH_I2C_Read... [21:31:15]Read from MH i2c: E2 0E 00 9A 07 00 09 00 01 54 BB 5B 66 00 00 00 00 90 00 FA [21:31:15]RAPDU: 09 00 01 54 BB 5B 66 00 00 00 00 90 00 [21:31:15]wFMCommunicate OK [21:31:15]SAM_PROTO_GetShiftState done [21:31:15]FM_GetShiftState done [21:31:15]opened in 1717287764 [21:31:15]opened+sec_in_day 1717374164 [21:31:15]quantity*price = 40500 [21:31:15]sum+1 = 40501 [21:31:15]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870202522695 Напиток Maxi Чай черный Малина 0,450 1.000 * 70.00 = 70.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 5449000005489 Вода Бонаква 1л б/г 1.000 * 50.00 = 50.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 525.00 НСП 1% : 4.64 НДС 12% : 55.75 Наличными: 525.00 Безнал.: 0.00 Место: АЗС № 63 "Партнер Нефть" Адрес: 720001, с. Чон Сары Ой, ул. Западная 3, 42.603516, 76.894901 СНО: Общий режим Чек 127 02.06.2024 21:31 Смена: 375 ФФД: 1.0 ЗНМ: 0300000037 РНМ: 0000000000092680 Версия ККМ: 001 ФМ: 0000000000874882 ФД: 39869 ФПД: 16560836692337 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240602T213117&type=1&operation_type=1&fn_number=0000000000874882&fd_number=39869&fm=16560836692337&tin=02508201610067®Number=0000000000092680&sum=52500 0 [21:31:18]StoreToDocumentArchive [21:31:18]shift 375 fd 39869 [21:31:18]save to /storage/0375/doc_00039869 [21:31:18]save last doc name /storage/0375/doc_00039869 to /storage/kkm_last_doc_name [21:31:18]save OK [21:31:18]Clear old archive folders... [21:31:18]ProcessDocumentItem done err = 0, tmpTLVsize=515 [21:31:18]tlvbuf is 00C9C400 [21:31:18]SAM_PROTO_ClearQueue [21:31:18]wFMCommunicate request_size=4 [21:31:18]MH_SAM_APDU [21:31:18]CAPDU: 80 09 00 00 [21:31:18]Write to MH i2c: E2 08 00 A7 07 80 09 00 00 00 00 00 00 20 [21:31:18]Write i2c OK [21:31:18]MH_I2C_Read... [21:31:18]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:31:18]Read from MH i2c: E2 [21:31:18]MH_I2C_Read... [21:31:18]Read from MH i2c: E2 03 00 [21:31:18]MH_I2C_Read... [21:31:18]Read from MH i2c: E2 03 00 A7 07 00 90 00 22 [21:31:18]RAPDU: 90 00 [21:31:18]wFMCommunicate OK [21:31:18]SAM_PROTO_ClearQueue done [21:31:18]KKMCreateOFDPacket [21:31:18]OFDProtocolAddRootSTLVToBuf [21:31:18]FM_MakeSignedData [21:31:18]FM_MakeSignedData [21:31:18]SAM_PROTO_SignData [21:31:18]wFMCommunicate request_size=4 [21:31:18]MH_SAM_APDU [21:31:18]CAPDU: 80 0D 01 02 [21:31:18]Write to MH i2c: E2 08 00 A8 07 80 0D 01 02 00 00 00 00 28 [21:31:18]Write i2c OK [21:31:18]MH_I2C_Read... [21:31:18]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:31:19]Read from MH i2c: E2 [21:31:19]MH_I2C_Read... [21:31:19]Read from MH i2c: E2 03 00 [21:31:19]MH_I2C_Read... [21:31:19]Read from MH i2c: E2 03 00 A8 07 00 90 00 23 [21:31:19]RAPDU: 90 00 [21:31:19]wFMCommunicate OK [21:31:19]wFMCommunicate request_size=255 [21:31:19]MH_SAM_APDU [21:31:19]CAPDU: 80 0D 02 02 FA 03 00 03 02 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 34 36 35 30 30 36 33 31 31 30 37 35 36 06 04 26 00 D0 9C D0 B0 D1 81 D0 BB D0 BE 20 47 61 7A 70 72 6F 6D 6E 65 66 74 20 53 75 70 65 72 20 31 30 77 34 30 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 9E 00 00 00 00 13 04 06 00 34 9E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7E 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 36 39 35 06 04 3A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 61 78 69 20 D0 A7 D0 B0 D0 B9 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D0 9C D0 B0 D0 BB D0 B8 D0 BD D0 B0 20 30 2C 34 35 30 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 [21:31:19]Write to MH i2c: E2 02 01 A9 07 80 0D 02 02 FA 00 03 00 03 02 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 34 36 35 30 30 36 33 31 31 30 37 35 36 06 04 26 00 D0 9C D0 B0 D1 81 D0 BB D0 BE 20 47 61 7A 70 72 6F 6D 6E 65 66 74 20 53 75 70 65 72 20 31 30 77 34 30 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 9E 00 00 00 00 13 04 06 00 34 9E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7E 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 36 39 35 06 04 3A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 61 78 69 20 D0 A7 D0 B0 D0 B9 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D0 9C D0 B0 D0 BB D0 B8 D0 BD D0 B0 20 30 2C 34 35 30 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 00 00 56 [21:31:20]Write i2c OK [21:31:20]MH_I2C_Read... [21:31:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:31:20]Read from MH i2c: E2 [21:31:20]MH_I2C_Read... [21:31:20]Read from MH i2c: E2 03 00 [21:31:20]MH_I2C_Read... [21:31:20]Read from MH i2c: E2 03 00 A9 07 00 90 00 24 [21:31:20]RAPDU: 90 00 [21:31:20]wFMCommunicate OK [21:31:20]wFMCommunicate request_size=255 [21:31:20]MH_SAM_APDU [21:31:20]CAPDU: 80 0D 02 02 FA 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 OFD Sender: No OFD packet to send [21:31:20]00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 CD 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D0 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C7 15 00 00 00 00 07 04 06 00 14 CD 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 7F 00 00 00 F4 03 04 00 A5 E4 5C 66 0E 04 04 00 77 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 [21:31:20]Write to MH i2c: E2 02 01 AA 07 80 0D 02 02 FA 00 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 14 CD 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D0 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C7 15 00 00 00 00 07 04 06 00 14 CD 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 7F 00 00 00 F4 03 04 00 A5 E4 5C 66 0E 04 04 00 77 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 00 00 69 [21:31:21]Write i2c OK [21:31:21]MH_I2C_Read... [21:31:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:31:21]Read from MH i2c: E2 [21:31:21]MH_I2C_Read... [21:31:21]Read from MH i2c: E2 03 00 [21:31:21]MH_I2C_Read... [21:31:21]Read from MH i2c: E2 03 00 AA 07 00 90 00 25 [21:31:21]RAPDU: 90 00 [21:31:21]wFMCommunicate OK [21:31:21]wFMCommunicate request_size=24 [21:31:21]MH_SAM_APDU [21:31:21]CAPDU: 80 0D 02 02 13 32 10 04 04 00 BD 9B 00 00 35 04 06 00 0F 0F DE C9 C9 71 [21:31:21]Write to MH i2c: E2 1B 00 AB 07 80 0D 02 02 13 00 32 10 04 04 00 BD 9B 00 00 35 04 06 00 0F 0F DE C9 C9 71 00 00 32 [21:31:21]Write i2c OK [21:31:21]MH_I2C_Read... [21:31:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:31:21]Read from MH i2c: E2 [21:31:21]MH_I2C_Read... [21:31:21]Read from MH i2c: E2 03 00 [21:31:21]MH_I2C_Read... [21:31:21]Read from MH i2c: E2 03 00 AB 07 00 90 00 26 [21:31:21]RAPDU: 90 00 [21:31:21]wFMCommunicate OK [21:31:21]wFMCommunicate request_size=4 [21:31:21]MH_SAM_APDU [21:31:21]CAPDU: 80 0D 03 02 [21:31:21]Write to MH i2c: E2 08 00 AC 07 80 0D 03 02 00 00 00 00 2E [21:31:21]Write i2c OK [21:31:21]MH_I2C_Read... [21:31:21]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:31:21]Read from MH i2c: E2 [21:31:21]MH_I2C_Read... [21:31:21]Read from MH i2c: E2 0B 00 [21:31:21]MH_I2C_Read... [21:31:21]Read from MH i2c: E2 0B 00 AC 07 00 EF 72 B5 60 42 B6 8A 8D 90 00 B4 [21:31:21]RAPDU: EF 72 B5 60 42 B6 8A 8D 90 00 [21:31:21]wFMCommunicate OK [21:31:21]SAM_PROTO_SignData done [21:31:21]FM_MakeSignedData done [21:31:21]CreateOFDProtocolMessage [21:31:21]wFMCommunicate request_size=4 [21:31:21]MH_SAM_APDU [21:31:21]CAPDU: 80 11 00 00 [21:31:21]Write to MH i2c: E2 08 00 AD 07 80 11 00 00 00 00 00 00 2E [21:31:22]Write i2c OK [21:31:22]MH_I2C_Read... [21:31:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:31:22]Read from MH i2c: E2 [21:31:22]MH_I2C_Read... [21:31:22]Read from MH i2c: E2 17 00 [21:31:22]MH_I2C_Read... [21:31:22]Read from MH i2c: E2 17 00 AD 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 90 00 86 [21:31:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 90 00 [21:31:22]wFMCommunicate OK [21:31:22]CreateOFDProtocolMessage done [21:31:22]OFDSenderStorePacket 39869 [21:31:22]StoreOFDPacket docnum=39869 [21:31:22]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 17 02 00 00 50 05 0F 02 36 53 5A 03 01 00 03 00 03 02 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 34 36 35 30 30 36 33 31 31 30 37 35 36 06 04 26 00 D0 9C D0 B0 D1 81 D0 BB D0 BE 20 47 61 7A 70 72 6F 6D 6E 65 66 74 20 53 75 70 65 72 20 31 30 77 34 30 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 9E 00 00 00 00 13 04 06 00 34 9E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7E 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 36 39 35 06 04 3A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 61 78 69 20 D0 A7 D0 B0 D0 B9 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D0 9C D0 B0 D0 BB D0 B8 D0 BD D0 B0 20 30 2C 34 35 30 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 14 CD 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D0 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C7 15 00 00 00 00 07 04 06 00 14 CD 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 7F 00 00 00 F4 03 04 00 A5 E4 5C 66 0E 04 04 00 77 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 10 04 04 00 BD 9B 00 00 35 04 06 00 0F 0F DE C9 C9 71 EF 72 B5 60 42 B6 8A 8D [21:31:22]CheckFolder [21:31:22]dirname=/storage/ofd_packets [21:31:22]CheckFolder done [21:31:22]ProducePacketName [21:31:22]name=ofd_packets/00039869 [21:31:22]NVStorageSaveData ofd_packets/00039869 [21:31:22]File name is /storage/ofd_packets/00039869 [21:31:22]Write 565 bytes [21:31:22]NVStorageSaveData done [21:31:22]OFDSenderStorePacket done [21:31:22]KKMCreateOFDPacket done [21:31:22]NVStorageSaveData kkm_last_timestamp [21:31:22]File name is /storage/kkm_last_timestamp [21:31:22]Write 4 bytes [21:31:22]NVStorageSaveData done [21:31:22]ExternCall_PrintAddStr [21:31:22]wPrintStart [21:31:22]Write to MH i2c: 01 00 00 AE 07 B5 [21:31:22]OFD Sender: Processing packet 39869 [packets to send 5, broken 4] [21:31:22]ProducePacketName [21:31:22]name=ofd_packets/00039869 [21:31:22]OFD Sender: To server: pG, [21:31:22]CommunicateWithHost lk.salyk.kg:30040 [21:31:22]ConnectInit lk.salyk.kg [21:31:22]Write i2c OK [21:31:22]MH_I2C_Read... [21:31:22]Read from MH i2c: 01 [21:31:22]MH_I2C_Read... [21:31:22]Read from MH i2c: 01 07 00 [21:31:22]MH_I2C_Read... [21:31:22]Read from MH i2c: 01 07 00 AE 07 00 00 00 00 00 FF 0F CA [21:31:22]RasterBufferAndPrint [21:31:22]line Счет N : (3)176429 [21:31:22]line ИНН: 02508201610067 [21:31:22]line Контрольно-Кассовый Чек [21:31:22]line ПРОДАЖА [21:31:22]line Товар: 4650063110756 [21:31:22]line Масло Gazpromneft Super 10w40 1л [21:31:22]line 1.000 * 405.00 [21:31:22]line = 405.00 [21:31:22]line НДС 12% НСП 1% [21:31:22]line > о реализуемом товаре [21:31:22]line Товар: 4870202522695 [21:31:22]line Напиток Maxi Чай черный Малина 0,450 [21:31:22]line 1.000 * 70.00 [21:31:22]line = 70.00 [21:31:22]line НДС 12% НСП 1% [21:31:22]line > о реализуемом товаре [21:31:22]line Товар: 5449000005489 [21:31:22]line Вода Бонаква 1л б/г [21:31:22]line 1.000 * 50.00 [21:31:22]line = 50.00 [21:31:22]line НДС 12% НСП 1% [21:31:22]line > о реализуемом товаре [21:31:22]line ИТОГО: 525.00 [21:31:22]line НСП 1% : 4.64 [21:31:22]line НДС 12% : 55.75 [21:31:22]line Наличными: 525.00 [21:31:22]line Безнал.: 0.00 [21:31:22]line Место: АЗС № 63 "Партнер Нефть" [21:31:22]line Адрес: 720001, с. Чон Сары Ой, ул. Западная 3, 42.603516, 76.894901 [21:31:22]line СНО: Общий режим [21:31:22]line Чек 127 02.06.2024 21:31 [21:31:22]line Смена: 375 ФФД: 1.0 [21:31:22]line ЗНМ: 0300000037 [21:31:22]line РНМ: 0000000000092680 [21:31:22]line Версия ККМ: 001 [21:31:22]line ФМ: 0000000000874882 [21:31:22]line ФД: 39869 [21:31:22]line ФПД: 16560836692337 [21:31:22]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240602T213117&type=1&operation_type=1&fn_number=0000000000874882&fd_number=39869&fm=16560836692337&tin=02508201610067®Number=0000000000092680&sum=52500 [21:31:22]Connected sock=11 [21:31:22]Data to sent: line 0 [21:31:22]87 written 0, free lines is 4095 [21:31:22]95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 17 02 00 00 50 05 0F 02 36 53 5A 03 01 00 03 00 03 02 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 34 36 35 30 30 36 33 31 31 30 37 35 36 06 04 26 00 D0 9C D0 B0 D1 81 D0 BB D0 BE 20 47 61 7A 70 72 6F 6D 6E 65 66 74 20 53 75 70 65 72 20 31 30 77 34 30 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 9E 00 00 00 00 13 04 06 00 34 9E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7E 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 36 39 35 06 04 3A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 61 78 69 20 D0 A7 D0 B0 D0 B9 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D0 9C D0 B0 D0 BB D0 B8 D0 BD D0 B0 20 30 2C 34 35 30 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 Write to MH i2c: 58 01 1B 00 00 00 00 13 00 04 00 06 E4 00 58 1B 00 00 00 00 F2 03 01 00 01 07 F6 EB 03 [21:31:23]Write i2c OK [21:31:23]MH_I2C_Read... [21:31:23]01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 0D Read from MH i2c: 00 01 35 [21:31:23]34 MH_I2C_Read... [21:31:23]34 39 30 30 30 Read from MH i2c: 30 01 30 07 35 00 34 [21:31:23]38 MH_I2C_Read... [21:31:23]39 06 04 Read from MH i2c: 21 01 00 D0 92 D0 BE D0 07 B4 00 D0 E4 B0 07 20 D0 91 D0 BE D0 BD 00 D0 00 B0 00 D0 00 BA 00 D0 E8 0C E6 [21:31:23]RasterBufferAndPrint [21:31:23]line [21:31:23]line [21:31:23]line [21:31:23]line [21:31:23]line [21:31:23]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 written 0, free lines is 3695 [21:31:23]88 13 00 00 00 00 MH_Cut [21:31:23]F2 03 01 00 01 F6 03 Write to MH i2c: 01 D1 00 01 01 BC 04 01 00 01 00 FC EB 03 07 06 00 14 CD 00 00 01 00 C4 00 [21:31:23]EB 03 26 00 EF 03 0F Write i2c OK [21:31:23]00 MH_I2C_Read... [21:31:23]F6 03 Read from MH i2c: 01 D1 00 [21:31:23]01 MH_I2C_Read... [21:31:23]F7 03 06 00 Read from MH i2c: D0 D1 01 01 00 [21:31:23]MH_I2C_Read... [21:31:23]00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C7 15 00 00 00 00 07 04 06 00 14 CD 00 00 00 00 39 04 06 00 00 00 *** Cut start [21:31:23]00 00 00 00 1F 04 02 00 01 00 12 *** Partial cut [21:31:23]04 *** CUTSNS_PIN = 1 [21:31:23]Read from MH i2c: *** CUTSNS_PIN = 0 [21:31:23]D1 01 00 EB 07 00 C3 [21:31:23]Write to MH i2c: 01 00 00 EC 07 F3 [21:31:23]04 00 7F 00 00 00 F4 03 04 00 A5 E4 5C 66 0E 04 04 00 77 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 *** Brake cut motor [21:31:24]30 30 39 32 36 38 30 11 04 Write i2c OK [21:31:24]10 MH_I2C_Read... [21:31:24]00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 10 04 04 00 BD 9B 00 00 35 04 06 00 0F 0F DE C9 C9 71 EF 72 B5 60 42 B6 8A 8D [21:31:24]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 *** Stop cut motor [21:31:24]32 *** Cut end [21:31:24]4F Read from MH i2c: 00 01 00 [21:31:24]00 MH_I2C_Read... [21:31:24]Read from MH i2c: 01 07 00 [21:31:24]78 MH_I2C_Read... [21:31:24]3A Read from MH i2c: 47 01 00 07 B6 00 0A EC A5 07 07 00 00 00 00 00 FF 0F 01 08 00 [21:31:24]07 process_action close_receipt done [21:31:24]00 requested_data is exist [21:31:24]3B produce_requested_data [21:31:24]requested_item fm.sn is exist - process it [21:31:24]wFMCommunicate request_size=4 [21:31:24]MH_SAM_APDU [21:31:24]CAPDU: 80 00 11 F9 00 03 0E 00 00 37 [21:31:24]37 Write to MH i2c: 30 E2 39 08 00 ED 07 80 11 00 33 00 36 00 34 00 33 34 00 36 00 31 6E 32 [21:31:24]33 34 11 Write i2c OK [21:31:24]04 MH_I2C_Read... [21:31:24]10 00 30 30 30 30 30 30 30 30 30 30 38 Read from MH i2c: 37 E2 *** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:31:24] [21:31:24]34 MH_I2C_Read... [21:31:24]38 38 32 10 04 04 00 Read from MH i2c: BD E2 9B 17 00 00 F4 03 04 00 00 59 [21:31:24]8D MH_I2C_Read... [21:31:24]5C 66 B6 04 01 00 Read from MH i2c: 00 E2 74 17 9C 00 F0 ED CC 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 90 00 C6 [21:31:24]RAPDU: 11 38 04 84 10 D8 00 BF 30 [21:31:24]30 30 30 30 30 30 30 CommunicateWithHost err = 0 [21:31:24]30 CheckOFDResponse [21:31:24]30 1017 (14) - 77093643461234 [21:31:25]38 1041 (16) - 0000000000874882 [21:31:25]37 1040 (4) - 39869 [21:31:25]34 38 1012 (4) - 02.06.2024 15:18 [21:31:25]38 1206 (1) - 0 [21:31:25]32 90 00 [21:31:25]wFMCommunicate OK [21:31:25]requested_item fd.num is exist - process it [21:31:25]SAM_PROTO_GetFieldsCounters [21:31:25]wFMCommunicate request_size=4 [21:31:25]MH_SAM_APDU [21:31:25]CAPDU: 80 13 OFD Sender: Remove packet 39869 [21:31:25]00 ProducePacketName [21:31:25]00 name=ofd_packets/00039869 [21:31:25] [21:31:25]NVStorageDeleteData [21:31:25]Write to MH i2c: E2 08 00 EE 07 80 13 00 00 00 00 00 00 71 [21:31:25]Write i2c OK [21:31:25]MH_I2C_Read... [21:31:25]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:31:25]Read from MH i2c: E2 [21:31:25]MH_I2C_Read... [21:31:25]Read from MH i2c: E2 62 00 [21:31:25]MH_I2C_Read... [21:31:25]Read from MH i2c: E2 62 00 EE 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 10 04 04 00 BD 9B 00 00 0E 04 04 00 77 01 00 00 12 04 04 00 7F 00 00 00 5E 04 04 00 7F 00 00 00 57 04 04 00 80 00 00 00 19 04 04 00 00 00 00 00 90 00 E4 [21:31: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 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 10 04 04 00 BD 9B 00 00 0E 04 04 00 77 01 00 OFD Sender: No OFD packet to send [21:31:25]00 12 04 04 00 7F 00 00 00 5E 04 04 00 7F 00 00 00 57 04 04 00 80 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:31:25]wFMCommunicate OK [21:31:25]SAM_PROTO_GetFieldsCounters done [21:31:25]requested_item shift.num is exist - process it [21:31:25]requested_item shift.opened is exist - process it [21:31:25]req_shift_opened [21:31:25]FM_GetShiftState [21:31:25]SAM_PROTO_GetShiftState [21:31:25]wFMCommunicate request_size=4 [21:31:25]MH_SAM_APDU [21:31:25]CAPDU: 80 13 01 00 [21:31:25]Write to MH i2c: E2 08 00 EF 07 80 13 01 00 00 00 00 00 73 [21:31:25]Write i2c OK [21:31:25]MH_I2C_Read... [21:31:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:31:25]Read from MH i2c: E2 [21:31:25]MH_I2C_Read... [21:31:25]Read from MH i2c: E2 0E 00 [21:31:25]MH_I2C_Read... [21:31:25]Read from MH i2c: E2 0E 00 EF 07 00 09 00 01 54 BB 5B 66 00 00 00 00 90 00 4F [21:31:25]RAPDU: 09 00 01 54 BB 5B 66 00 00 00 00 90 00 [21:31:25]wFMCommunicate OK [21:31:25]SAM_PROTO_GetShiftState done [21:31:25]FM_GetShiftState done [21:31:25]req_shift_opened done [21:31:25]requested_item shift.open_date is exist - process it [21:31:25]req_shift_open_date [21:31:25]req_shift_open_date done [21:31:25]produce_requested_data done [21:31:25]produce_requested_data return {"fm.sn":"0000000000874882","fd.num":39869,"shift.num":375,"shift.opened":1,"shift.open_date":1717287764} [21:31:25]process_action_free close_receipt [21:31:25]json_value_free [21:31:25]json_value_free done [21:31:25]process_json_proto returns [21:31:25]Send response to host [21:31:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874882","fd.num":39869,"shift.num":375,"shift.opened":1,"shift.open_date":1717287764}}} [21:31:25]free response buf [21:31:25]execute_script done [21:31:25]execute_script returns [21:31:25]free content buf [21:31:25]Sock 9.Close socket [21:31:25]Sock 9.Thread stoped [21:31:30]OFD Sender: No OFD packet to send [21:31:35]OFD Sender: No OFD packet to send [21:31:40]OFD Sender: No OFD packet to send [21:31:45]OFD Sender: No OFD packet to send [21:31:50]OFD Sender: No OFD packet to send [21:31:55]OFD Sender: No OFD packet to send [21:32:00]OFD Sender: No OFD packet to send [21:32:05]OFD Sender: No OFD packet to send [21:32:10]OFD Sender: No OFD packet to send [21:32:15]OFD Sender: No OFD packet to send [21:32:20]OFD Sender: No OFD packet to send [21:32:25]OFD Sender: No OFD packet to send [21:32:30]OFD Sender: No OFD packet to send [21:32:35]OFD Sender: No OFD packet to send [21:32:40]OFD Sender: No OFD packet to send [21:32:45]OFD Sender: No OFD packet to send [21:32:50]OFD Sender: No OFD packet to send [21:32:55]OFD Sender: No OFD packet to send [21:33:00]OFD Sender: No OFD packet to send [21:33:05]OFD Sender: No OFD packet to send [21:33:06]ConnectInit Can't connect to host [21:33:10]OFD Sender: No OFD packet to send [21:33:15]OFD Sender: No OFD packet to send [21:33:20]OFD Sender: No OFD packet to send [21:33:25]OFD Sender: No OFD packet to send [21:33:30]OFD Sender: No OFD packet to send [21:33:35]OFD Sender: No OFD packet to send [21:33:40]OFD Sender: No OFD packet to send [21:33:45]OFD Sender: No OFD packet to send [21:33:50]OFD Sender: No OFD packet to send [21:33:55]OFD Sender: No OFD packet to send [21:34:00]OFD Sender: No OFD packet to send [21:34:05]OFD Sender: No OFD packet to send [21:34:10]OFD Sender: No OFD packet to send [21:34:15]OFD Sender: No OFD packet to send [21:34:20]OFD Sender: No OFD packet to send [21:34:25]OFD Sender: No OFD packet to send [21:34:30]OFD Sender: No OFD packet to send [21:34:35]OFD Sender: No OFD packet to send [21:34:40]OFD Sender: No OFD packet to send [21:34:45]OFD Sender: No OFD packet to send [21:34:50]OFD Sender: No OFD packet to send [21:34:55]OFD Sender: No OFD packet to send [21:35:00]OFD Sender: No OFD packet to send [21:35:05]OFD Sender: No OFD packet to send [21:35:10]OFD Sender: No OFD packet to send [21:35:15]OFD Sender: No OFD packet to send [21:35:20]OFD Sender: No OFD packet to send [21:35:24]ConnectInit Can't connect to host [21:35:25]OFD Sender: No OFD packet to send [21:35:30]OFD Sender: No OFD packet to send [21:35:35]OFD Sender: No OFD packet to send [21:35:40]OFD Sender: No OFD packet to send [21:35:45]OFD Sender: No OFD packet to send [21:35:50]OFD Sender: No OFD packet to send [21:35:55]OFD Sender: No OFD packet to send [21:36:00]OFD Sender: No OFD packet to send [21:36:05]OFD Sender: No OFD packet to send [21:36:10]OFD Sender: No OFD packet to send [21:36:15]OFD Sender: No OFD packet to send [21:36:20]OFD Sender: No OFD packet to send [21:36:25]OFD Sender: No OFD packet to send [21:36:30]OFD Sender: No OFD packet to send [21:36:35]OFD Sender: No OFD packet to send [21:36:40]OFD Sender: No OFD packet to send [21:36:45]OFD Sender: No OFD packet to send [21:36:50]OFD Sender: No OFD packet to send [21:36:55]OFD Sender: No OFD packet to send [21:37:00]OFD Sender: No OFD packet to send [21:37:05]OFD Sender: No OFD packet to send [21:37:10]OFD Sender: No OFD packet to send [21:37:15]OFD Sender: No OFD packet to send [21:37:20]OFD Sender: No OFD packet to send [21:37:25]OFD Sender: No OFD packet to send [21:37:30]OFD Sender: No OFD packet to send [21:37:35]OFD Sender: No OFD packet to send [21:37:40]OFD Sender: No OFD packet to send [21:37:42]ConnectInit Can't connect to host [21:37:45]OFD Sender: No OFD packet to send [21:37:50]OFD Sender: No OFD packet to send [21:37:56]OFD Sender: No OFD packet to send [21:38:01]OFD Sender: No OFD packet to send [21:38:06]OFD Sender: No OFD packet to send [21:38:11]OFD Sender: No OFD packet to send [21:38:16]OFD Sender: No OFD packet to send [21:38:21]OFD Sender: No OFD packet to send [21:38:26]OFD Sender: No OFD packet to send [21:38:31]OFD Sender: No OFD packet to send [21:38:36]OFD Sender: No OFD packet to send [21:38:41]OFD Sender: No OFD packet to send [21:38:46]OFD Sender: No OFD packet to send [21:38:51]OFD Sender: No OFD packet to send [21:38:56]OFD Sender: No OFD packet to send [21:39:01]OFD Sender: No OFD packet to send [21:39:06]OFD Sender: No OFD packet to send [21:39:11]OFD Sender: No OFD packet to send [21:39:16]OFD Sender: No OFD packet to send [21:39:21]OFD Sender: No OFD packet to send [21:39:26]OFD Sender: No OFD packet to send [21:39:31]OFD Sender: No OFD packet to send [21:39:36]OFD Sender: No OFD packet to send [21:39:41]OFD Sender: No OFD packet to send [21:39:46]OFD Sender: No OFD packet to send [21:39:51]OFD Sender: No OFD packet to send [21:39:56]OFD Sender: No OFD packet to send [21:40:01]ConnectInit Can't connect to host [21:40:01]OFD Sender: No OFD packet to send [21:40:06]OFD Sender: No OFD packet to send [21:40:11]OFD Sender: No OFD packet to send [21:40:16]OFD Sender: No OFD packet to send [21:40:21]OFD Sender: No OFD packet to send [21:40:26]OFD Sender: No OFD packet to send [21:40:31]OFD Sender: No OFD packet to send [21:40:36]OFD Sender: No OFD packet to send [21:40:41]OFD Sender: No OFD packet to send [21:40:46]OFD Sender: No OFD packet to send [21:40:51]OFD Sender: No OFD packet to send [21:40:56]OFD Sender: No OFD packet to send [21:41:01]OFD Sender: No OFD packet to send [21:41:06]OFD Sender: No OFD packet to send [21:41:11]OFD Sender: No OFD packet to send [21:41:16]OFD Sender: No OFD packet to send [21:41:21]OFD Sender: No OFD packet to send [21:41:26]OFD Sender: No OFD packet to send [21:41:31]OFD Sender: No OFD packet to send [21:41:36]OFD Sender: No OFD packet to send [21:41:41]OFD Sender: No OFD packet to send [21:41:46]OFD Sender: No OFD packet to send [21:41:51]OFD Sender: No OFD packet to send [21:41:56]OFD Sender: No OFD packet to send [21:42:01]OFD Sender: No OFD packet to send [21:42:06]OFD Sender: No OFD packet to send [21:42:11]OFD Sender: No OFD packet to send [21:42:16]OFD Sender: No OFD packet to send [21:42:19]ConnectInit Can't connect to host [21:42:21]OFD Sender: No OFD packet to send [21:42:26]OFD Sender: No OFD packet to send [21:42:31]OFD Sender: No OFD packet to send [21:42:36]OFD Sender: No OFD packet to send [21:42:41]OFD Sender: No OFD packet to send [21:42:46]OFD Sender: No OFD packet to send [21:42:51]OFD Sender: No OFD packet to send [21:42:56]OFD Sender: No OFD packet to send [21:43:01]OFD Sender: No OFD packet to send [21:43:06]OFD Sender: No OFD packet to send [21:43:11]OFD Sender: No OFD packet to send [21:43:16]OFD Sender: No OFD packet to send [21:43:21]OFD Sender: No OFD packet to send [21:43:26]OFD Sender: No OFD packet to send [21:43:31]OFD Sender: No OFD packet to send [21:43:36]OFD Sender: No OFD packet to send [21:43:41]OFD Sender: No OFD packet to send [21:43:46]OFD Sender: No OFD packet to send [21:43:51]OFD Sender: No OFD packet to send [21:43:56]OFD Sender: No OFD packet to send [21:44:01]OFD Sender: No OFD packet to send [21:44:06]OFD Sender: No OFD packet to send [21:44:11]OFD Sender: No OFD packet to send [21:44:16]OFD Sender: No OFD packet to send [21:44:21]OFD Sender: No OFD packet to send [21:44:26]OFD Sender: No OFD packet to send [21:44:31]OFD Sender: No OFD packet to send [21:44:36]OFD Sender: No OFD packet to send [21:44:37]ConnectInit Can't connect to host [21:44:41]OFD Sender: No OFD packet to send [21:44:46]OFD Sender: No OFD packet to send [21:44:51]OFD Sender: No OFD packet to send [21:44:56]OFD Sender: No OFD packet to send [21:45:01]OFD Sender: No OFD packet to send [21:45:06]OFD Sender: No OFD packet to send [21:45:11]OFD Sender: No OFD packet to send [21:45:16]OFD Sender: No OFD packet to send [21:45:21]OFD Sender: No OFD packet to send [21:45:26]OFD Sender: No OFD packet to send [21:45:31]OFD Sender: No OFD packet to send [21:45:36]OFD Sender: No OFD packet to send [21:45:41]OFD Sender: No OFD packet to send [21:45:46]OFD Sender: No OFD packet to send [21:45:51]OFD Sender: No OFD packet to send [21:45:56]OFD Sender: No OFD packet to send [21:46:01]OFD Sender: No OFD packet to send [21:46:06]OFD Sender: No OFD packet to send [21:46:11]OFD Sender: No OFD packet to send [21:46:16]OFD Sender: No OFD packet to send [21:46:21]OFD Sender: No OFD packet to send [21:46:26]OFD Sender: No OFD packet to send [21:46:31]OFD Sender: No OFD packet to send [21:46:36]OFD Sender: No OFD packet to send [21:46:41]OFD Sender: No OFD packet to send [21:46:46]OFD Sender: No OFD packet to send [21:46:51]OFD Sender: No OFD packet to send [21:46:55]ConnectInit Can't connect to host [21:46:56]OFD Sender: No OFD packet to send [21:47:01]OFD Sender: No OFD packet to send [21:47:06]OFD Sender: No OFD packet to send [21:47:11]OFD Sender: No OFD packet to send [21:47:16]OFD Sender: No OFD packet to send [21:47:21]OFD Sender: No OFD packet to send [21:47:26]OFD Sender: No OFD packet to send [21:47:31]OFD Sender: No OFD packet to send [21:47:36]OFD Sender: No OFD packet to send [21:47:41]OFD Sender: No OFD packet to send [21:47:46]OFD Sender: No OFD packet to send [21:47:51]OFD Sender: No OFD packet to send [21:47:56]OFD Sender: No OFD packet to send [21:48:01]OFD Sender: No OFD packet to send [21:48:06]OFD Sender: No OFD packet to send [21:48:11]OFD Sender: No OFD packet to send [21:48:16]OFD Sender: No OFD packet to send [21:48:21]OFD Sender: No OFD packet to send [21:48:26]OFD Sender: No OFD packet to send [21:48:31]OFD Sender: No OFD packet to send [21:48:36]OFD Sender: No OFD packet to send [21:48:41]OFD Sender: No OFD packet to send [21:48:46]OFD Sender: No OFD packet to send [21:48:51]OFD Sender: No OFD packet to send [21:48:56]OFD Sender: No OFD packet to send [21:49:01]OFD Sender: No OFD packet to send [21:49:06]OFD Sender: No OFD packet to send [21:49:11]OFD Sender: No OFD packet to send [21:49:14]ConnectInit Can't connect to host [21:49:16]OFD Sender: No OFD packet to send [21:49:21]OFD Sender: No OFD packet to send [21:49:26]OFD Sender: No OFD packet to send [21:49:31]OFD Sender: No OFD packet to send [21:49:36]OFD Sender: No OFD packet to send [21:49:41]OFD Sender: No OFD packet to send [21:49:46]OFD Sender: No OFD packet to send [21:49:51]OFD Sender: No OFD packet to send [21:49:56]OFD Sender: No OFD packet to send [21:50:01]OFD Sender: No OFD packet to send [21:50:06]OFD Sender: No OFD packet to send [21:50:11]OFD Sender: No OFD packet to send [21:50:16]OFD Sender: No OFD packet to send [21:50:21]OFD Sender: No OFD packet to send [21:50:26]OFD Sender: No OFD packet to send [21:50:31]OFD Sender: No OFD packet to send [21:50:36]OFD Sender: No OFD packet to send [21:50:41]OFD Sender: No OFD packet to send [21:50:46]OFD Sender: No OFD packet to send [21:50:51]OFD Sender: No OFD packet to send [21:50:56]OFD Sender: No OFD packet to send [21:51:01]OFD Sender: No OFD packet to send [21:51:06]OFD Sender: No OFD packet to send [21:51:11]OFD Sender: No OFD packet to send [21:51:16]OFD Sender: No OFD packet to send [21:51:21]OFD Sender: No OFD packet to send [21:51:26]OFD Sender: No OFD packet to send [21:51:31]OFD Sender: No OFD packet to send [21:51:32]ConnectInit Can't connect to host [21:51:36]OFD Sender: No OFD packet to send [21:51:41]OFD Sender: No OFD packet to send [21:51:46]OFD Sender: No OFD packet to send [21:51:51]OFD Sender: No OFD packet to send [21:51:56]OFD Sender: No OFD packet to send [21:52:01]OFD Sender: No OFD packet to send [21:52:06]OFD Sender: No OFD packet to send [21:52:11]OFD Sender: No OFD packet to send [21:52:16]OFD Sender: No OFD packet to send [21:52:21]OFD Sender: No OFD packet to send [21:52:26]OFD Sender: No OFD packet to send [21:52:31]OFD Sender: No OFD packet to send [21:52:36]OFD Sender: No OFD packet to send [21:52:41]OFD Sender: No OFD packet to send [21:52:46]OFD Sender: No OFD packet to send [21:52:51]OFD Sender: No OFD packet to send [21:52:56]OFD Sender: No OFD packet to send [21:53:01]OFD Sender: No OFD packet to send [21:53:06]OFD Sender: No OFD packet to send [21:53:12]OFD Sender: No OFD packet to send [21:53:17]OFD Sender: No OFD packet to send [21:53:22]OFD Sender: No OFD packet to send [21:53:27]OFD Sender: No OFD packet to send [21:53:32]OFD Sender: No OFD packet to send [21:53:37]OFD Sender: No OFD packet to send [21:53:42]OFD Sender: No OFD packet to send [21:53:47]OFD Sender: No OFD packet to send [21:53:50]ConnectInit Can't connect to host [21:53:52]OFD Sender: No OFD packet to send [21:53:57]OFD Sender: No OFD packet to send [21:54:02]OFD Sender: No OFD packet to send [21:54:07]OFD Sender: No OFD packet to send [21:54:12]OFD Sender: No OFD packet to send [21:54:17]OFD Sender: No OFD packet to send [21:54:22]OFD Sender: No OFD packet to send [21:54:27]OFD Sender: No OFD packet to send [21:54:32]OFD Sender: No OFD packet to send [21:54:37]OFD Sender: No OFD packet to send [21:54:42]OFD Sender: No OFD packet to send [21:54:47]OFD Sender: No OFD packet to send [21:54:52]OFD Sender: No OFD packet to send [21:54:57]OFD Sender: No OFD packet to send [21:55:02]OFD Sender: No OFD packet to send [21:55:07]OFD Sender: No OFD packet to send [21:55:12]OFD Sender: No OFD packet to send [21:55:17]OFD Sender: No OFD packet to send [21:55:22]OFD Sender: No OFD packet to send [21:55:27]OFD Sender: No OFD packet to send [21:55:32]OFD Sender: No OFD packet to send [21:55:37]OFD Sender: No OFD packet to send [21:55:42]OFD Sender: No OFD packet to send [21:55:47]OFD Sender: No OFD packet to send [21:55:52]OFD Sender: No OFD packet to send [21:55:57]OFD Sender: No OFD packet to send [21:56:02]OFD Sender: No OFD packet to send [21:56:07]OFD Sender: No OFD packet to send [21:56:08]ConnectInit Can't connect to host [21:56:12]OFD Sender: No OFD packet to send [21:56:17]OFD Sender: No OFD packet to send [21:56:22]OFD Sender: No OFD packet to send [21:56:27]OFD Sender: No OFD packet to send [21:56:32]OFD Sender: No OFD packet to send [21:56:37]OFD Sender: No OFD packet to send [21:56:42]OFD Sender: No OFD packet to send [21:56:47]OFD Sender: No OFD packet to send [21:56:52]OFD Sender: No OFD packet to send [21:56:57]OFD Sender: No OFD packet to send [21:57:02]OFD Sender: No OFD packet to send [21:57:07]OFD Sender: No OFD packet to send [21:57:12]OFD Sender: No OFD packet to send [21:57:17]OFD Sender: No OFD packet to send [21:57:22]OFD Sender: No OFD packet to send [21:57:27]OFD Sender: No OFD packet to send [21:57:32]OFD Sender: No OFD packet to send [21:57:37]OFD Sender: No OFD packet to send [21:57:42]OFD Sender: No OFD packet to send [21:57:47]OFD Sender: No OFD packet to send [21:57:52]OFD Sender: No OFD packet to send [21:57:57]OFD Sender: No OFD packet to send [21:58:02]OFD Sender: No OFD packet to send [21:58:07]OFD Sender: No OFD packet to send [21:58:12]OFD Sender: No OFD packet to send [21:58:17]OFD Sender: No OFD packet to send [21:58:22]OFD Sender: No OFD packet to send [21:58:27]ConnectInit Can't connect to host [21:58:27]OFD Sender: No OFD packet to send [21:58:32]OFD Sender: No OFD packet to send [21:58:37]OFD Sender: No OFD packet to send [21:58:42]OFD Sender: No OFD packet to send [21:58:47]OFD Sender: No OFD packet to send [21:58:52]OFD Sender: No OFD packet to send [21:58:57]OFD Sender: No OFD packet to send [21:59:02]OFD Sender: No OFD packet to send [21:59:07]OFD Sender: No OFD packet to send [21:59:12]OFD Sender: No OFD packet to send [21:59:17]OFD Sender: No OFD packet to send [21:59:22]OFD Sender: No OFD packet to send [21:59:27]OFD Sender: No OFD packet to send [21:59:32]OFD Sender: No OFD packet to send [21:59:37]OFD Sender: No OFD packet to send [21:59:42]OFD Sender: No OFD packet to send [21:59:47]OFD Sender: No OFD packet to send [21:59:52]OFD Sender: No OFD packet to send [21:59:57]OFD Sender: No OFD packet to send [22:00:02]OFD Sender: No OFD packet to send [22:00:07]OFD Sender: No OFD packet to send [22:00:12]OFD Sender: No OFD packet to send [22:00:17]OFD Sender: No OFD packet to send [22:00:22]OFD Sender: No OFD packet to send [22:00:27]OFD Sender: No OFD packet to send [22:00:32]OFD Sender: No OFD packet to send [22:00:37]OFD Sender: No OFD packet to send [22:00:42]OFD Sender: No OFD packet to send [22:00:45]ConnectInit Can't connect to host [22:00:47]OFD Sender: No OFD packet to send [22:00:52]OFD Sender: No OFD packet to send [22:00:57]OFD Sender: No OFD packet to send [22:01:02]OFD Sender: No OFD packet to send [22:01:07]OFD Sender: No OFD packet to send [22:01:12]OFD Sender: No OFD packet to send [22:01:17]OFD Sender: No OFD packet to send [22:01:22]OFD Sender: No OFD packet to send [22:01:27]OFD Sender: No OFD packet to send [22:01:32]OFD Sender: No OFD packet to send [22:01:37]OFD Sender: No OFD packet to send [22:01:42]OFD Sender: No OFD packet to send [22:01:47]OFD Sender: No OFD packet to send [22:01:52]OFD Sender: No OFD packet to send [22:01:57]OFD Sender: No OFD packet to send [22:02:02]OFD Sender: No OFD packet to send [22:02:07]OFD Sender: No OFD packet to send [22:02:12]OFD Sender: No OFD packet to send [22:02:17]OFD Sender: No OFD packet to send [22:02:22]OFD Sender: No OFD packet to send [22:02:27]OFD Sender: No OFD packet to send [22:02:32]OFD Sender: No OFD packet to send [22:02:37]OFD Sender: No OFD packet to send [22:02:42]OFD Sender: No OFD packet to send [22:02:47]OFD Sender: No OFD packet to send [22:02:52]OFD Sender: No OFD packet to send [22:02:57]OFD Sender: No OFD packet to send [22:03:02]OFD Sender: No OFD packet to send [22:03:03]ConnectInit Can't connect to host [22:03:07]OFD Sender: No OFD packet to send [22:03:12]OFD Sender: No OFD packet to send [22:03:17]OFD Sender: No OFD packet to send [22:03:22]OFD Sender: No OFD packet to send [22:03:27]OFD Sender: No OFD packet to send [22:03:32]OFD Sender: No OFD packet to send [22:03:37]OFD Sender: No OFD packet to send [22:03:42]OFD Sender: No OFD packet to send [22:03:47]OFD Sender: No OFD packet to send [22:03:52]OFD Sender: No OFD packet to send [22:03:57]OFD Sender: No OFD packet to send [22:04:02]OFD Sender: No OFD packet to send [22:04:07]OFD Sender: No OFD packet to send [22:04:12]OFD Sender: No OFD packet to send [22:04:17]OFD Sender: No OFD packet to send [22:04:22]OFD Sender: No OFD packet to send [22:04:27]OFD Sender: No OFD packet to send [22:04:32]OFD Sender: No OFD packet to send [22:04:37]OFD Sender: No OFD packet to send [22:04:42]OFD Sender: No OFD packet to send [22:04:47]OFD Sender: No OFD packet to send [22:04:52]OFD Sender: No OFD packet to send [22:04:57]OFD Sender: No OFD packet to send [22:05:02]OFD Sender: No OFD packet to send [22:05:07]OFD Sender: No OFD packet to send [22:05:12]OFD Sender: No OFD packet to send [22:05:17]OFD Sender: No OFD packet to send [22:05:21]ConnectInit Can't connect to host [22:05:22]OFD Sender: No OFD packet to send [22:05:27]OFD Sender: No OFD packet to send [22:05:32]OFD Sender: No OFD packet to send [22:05:37]OFD Sender: No OFD packet to send [22:05:42]OFD Sender: No OFD packet to send [22:05:47]OFD Sender: No OFD packet to send [22:05:52]OFD Sender: No OFD packet to send [22:05:57]OFD Sender: No OFD packet to send [22:06:02]OFD Sender: No OFD packet to send [22:06:07]OFD Sender: No OFD packet to send [22:06:12]OFD Sender: No OFD packet to send [22:06:17]OFD Sender: No OFD packet to send [22:06:22]OFD Sender: No OFD packet to send [22:06:27]OFD Sender: No OFD packet to send [22:06:32]OFD Sender: No OFD packet to send [22:06:37]OFD Sender: No OFD packet to send [22:06:42]OFD Sender: No OFD packet to send [22:06:47]OFD Sender: No OFD packet to send [22:06:52]OFD Sender: No OFD packet to send [22:06:57]OFD Sender: No OFD packet to send [22:07:02]OFD Sender: No OFD packet to send [22:07:07]OFD Sender: No OFD packet to send [22:07:12]OFD Sender: No OFD packet to send [22:07:17]OFD Sender: No OFD packet to send [22:07:20]accept exits with 10 [22:07:20]New connection [22:07:20]New thread 3066699108 created [22:07:20]Thread 3066555748 joined [22:07:20]Waiting for new connection... [22:07:20] Sock 10.Parse request [22:07:20]Sock 10.Check first char [22:07:20]Sock 10.First char is OK [22:07:20]request: POST /json_proto HTTP/1.0 [22:07:20]Method: POST [22:07:20]URL: /json_proto [22:07:20]Method is POST - this is cgi request [22:07:20]url: /json_proto [22:07:20]query_string will be loaded in cgi processing [22:07:20]execute_cgi json_proto POST (null) [22:07:20]execute_cgi path=json_proto method=POST [22:07:20]POST find Content-Length [22:07:20]Host: 172.17.36.199:8080 [22:07:20]Content-Length: 748 [22:07:20]Content-Type: application/json [22:07:20] [22:07:20]POST finish read [22:07:20]Found Content-Length = 748 [22:07:20]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)176430", "tax_sys" : 0, "items" : [ { "code": "4870202521254", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B\u043E\u0434\u043D\u044B\u0439 MAXI \u0447\u0435\u0440\u043D\u044B\u0439 \u0441\u043E \u0432\u043A\u0443\u0441\u043E\u043C \u043A\u043B\u0443\u0431\u043D", "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" ] } } [22:07:20]execute_script... [22:07:20]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)176430", "tax_sys" : 0, "items" : [ { "code": "4870202521254", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B\u043E\u0434\u043D\u044B\u0439 MAXI \u0447\u0435\u0440\u043D\u044B\u0439 \u0441\u043E \u0432\u043A\u0443\u0441\u043E\u043C \u043A\u043B\u0443\u0431\u043D", "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" ] } } [22:07:20]POST & json_proto [22:07:20]process_json_proto [22:07:20]json parsed OK: [22:07:20]protocol is kg_v1.0 [22:07:20]action value=close_receipt [22:07:20]process_action close_receipt [22:07:20]cmd_close_receipt [22:07:20]MH_GetDate [22:07:20]Write to MH i2c: F0 00 00 F0 07 E6 [22:07:20]Write i2c OK [22:07:20]MH_I2C_Read... [22:07:20]Read from MH i2c: F0 [22:07:20]MH_I2C_Read... [22:07:20]Read from MH i2c: F0 09 00 [22:07:20]MH_I2C_Read... [22:07:20]Read from MH i2c: F0 09 00 F0 07 00 19 ED 5C 66 91 46 04 65 F7 [22:07:20]GetLastDocTimeStamp 1717363877 [22:07:20]current date 1717366041 [22:07:20]FM_GetShiftState [22:07:20]SAM_PROTO_GetShiftState [22:07:20]wFMCommunicate request_size=4 [22:07:20]MH_SAM_APDU [22:07:20]CAPDU: 80 13 01 00 [22:07:20]Write to MH i2c: E2 08 00 F1 07 80 13 01 00 00 00 00 00 75 [22:07:20]Write i2c OK [22:07:20]MH_I2C_Read... [22:07:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:07:20]Read from MH i2c: E2 [22:07:20]MH_I2C_Read... [22:07:20]Read from MH i2c: E2 0E 00 [22:07:20]MH_I2C_Read... [22:07:20]Read from MH i2c: E2 0E 00 F1 07 00 09 00 01 54 BB 5B 66 00 00 00 00 90 00 51 [22:07:20]RAPDU: 09 00 01 54 BB 5B 66 00 00 00 00 90 00 [22:07:20]wFMCommunicate OK [22:07:20]SAM_PROTO_GetShiftState done [22:07:20]FM_GetShiftState done [22:07:20]opened in 1717287764 [22:07:20]opened+sec_in_day 1717374164 [22:07:20]quantity*price = 12500 [22:07:20]sum+1 = 12501 [22:07:20]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 125.00 НСП 1% : 1.11 НДС 12% : 13.27 Наличными: 125.00 Безнал.: 0.00 Место: АЗС № 63 "Партнер Нефть" Адрес: 720001, с. Чон Сары Ой, ул. Западная 3, 42.603516, 76.894901 СНО: Общий режим Чек 128 02.06.2024 22:07 Смена: 375 ФФД: 1.0 ЗНМ: 0300000037 РНМ: 0000000000092680 Версия ККМ: 001 ФМ: 0000000000874882 ФД: 39870 ФПД: 217960355634160 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240602T220721&type=1&operation_type=1&fn_number=0000000000874882&fd_number=39870&fm=217960355634160&tin=02508201610067®Number=0000000000092680&sum=12500 0 [22:07:22]StoreToDocumentArchive [22:07:22]shift 375 fd 39870 [22:07:22]save to /storage/0375/doc_00039870 [22:07:22]save last doc name /storage/0375/doc_00039870 to /storage/kkm_last_doc_name [22:07:22]save OK [22:07:22]Clear old archive folders... [22:07:22]ProcessDocumentItem done err = 0, tmpTLVsize=312 [22:07:22]tlvbuf is 00CEC950 [22:07:22]SAM_PROTO_ClearQueue [22:07:22]wFMCommunicate request_size=4 [22:07:22]MH_SAM_APDU [22:07:22]CAPDU: 80 09 00 00 [22:07:22]Write to MH i2c: E2 08 00 FE 07 80 09 00 00 00 00 00 00 77 [22:07:22]Write i2c OK [22:07:22]MH_I2C_Read... [22:07:22]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:07:22]Read from MH i2c: E2 [22:07:22]MH_I2C_Read... [22:07:22]Read from MH i2c: E2 03 00 [22:07:22]MH_I2C_Read... [22:07:22]Read from MH i2c: E2 03 00 FE 07 00 90 00 79 [22:07:22]RAPDU: 90 00 [22:07:22]wFMCommunicate OK [22:07:22]SAM_PROTO_ClearQueue done [22:07:22]KKMCreateOFDPacket [22:07:22]OFDProtocolAddRootSTLVToBuf [22:07:22]FM_MakeSignedData [22:07:22]FM_MakeSignedData [22:07:22]SAM_PROTO_SignData [22:07:22]wFMCommunicate request_size=4 [22:07:22]MH_SAM_APDU [22:07:22]CAPDU: 80 0D 01 02 [22:07:22]Write to MH i2c: E2 08 00 FF 07 80 0D 01 02 00 00 00 00 7F [22:07:22]Write i2c OK [22:07:22]MH_I2C_Read... [22:07:22]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:07:22]Read from MH i2c: E2 [22:07:22]MH_I2C_Read... [22:07:22]Read from MH i2c: E2 03 00 [22:07:22]MH_I2C_Read... [22:07:22]Read from MH i2c: E2 03 00 FF 07 00 90 00 7A [22:07:22]RAPDU: 90 00 [22:07:22]wFMCommunicate OK [22:07:22]wFMCommunicate request_size=255 [22:07:22]MH_SAM_APDU [22:07:22]CAPDU: 80 0D 02 02 FA 03 00 38 01 1E 04 01 00 01 23 04 8A 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 OFD Sender: No OFD packet to send [22:07:22]35 34 06 04 46 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 4D 41 58 49 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D1 81 D0 BE 20 D0 B2 D0 BA D1 83 D1 81 D0 BE D0 BC 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 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 80 00 00 00 F4 03 04 00 19 ED 5C 66 0E 04 04 00 77 [22:07:23]Write to MH i2c: E2 02 01 00 08 80 0D 02 02 FA 00 03 00 38 01 1E 04 01 00 01 23 04 8A 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 35 34 06 04 46 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 4D 41 58 49 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D1 81 D0 BE 20 D0 B2 D0 BA D1 83 D1 81 D0 BE D0 BC 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 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 80 00 00 00 F4 03 04 00 19 ED 5C 66 0E 04 04 00 77 00 00 5B [22:07:23]Write i2c OK [22:07:23]MH_I2C_Read... [22:07:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:07:23]Read from MH i2c: E2 [22:07:23]MH_I2C_Read... [22:07:23]Read from MH i2c: E2 03 00 [22:07:23]MH_I2C_Read... [22:07:23]Read from MH i2c: E2 03 00 00 08 00 90 00 7C [22:07:23]RAPDU: 90 00 [22:07:23]wFMCommunicate OK [22:07:23]wFMCommunicate request_size=71 [22:07:23]MH_SAM_APDU [22:07:23]CAPDU: 80 0D 02 02 42 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 10 04 04 00 BE 9B 00 00 35 04 06 00 C6 3B D9 92 9B F0 [22:07:24]Write to MH i2c: E2 4A 00 01 08 80 0D 02 02 42 00 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 10 04 04 00 BE 9B 00 00 35 04 06 00 C6 3B D9 92 9B F0 00 00 F2 [22:07:24]Write i2c OK [22:07:24]MH_I2C_Read... [22:07:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:07:24]Read from MH i2c: E2 [22:07:24]MH_I2C_Read... [22:07:24]Read from MH i2c: E2 03 00 [22:07:24]MH_I2C_Read... [22:07:24]Read from MH i2c: E2 03 00 01 08 00 90 00 7D [22:07:24]RAPDU: 90 00 [22:07:24]wFMCommunicate OK [22:07:24]wFMCommunicate request_size=4 [22:07:24]MH_SAM_APDU [22:07:24]CAPDU: 80 0D 03 02 [22:07:24]Write to MH i2c: E2 08 00 02 08 80 0D 03 02 00 00 00 00 85 [22:07:24]Write i2c OK [22:07:24]MH_I2C_Read... [22:07:24]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:07:24]Read from MH i2c: E2 [22:07:24]MH_I2C_Read... [22:07:24]Read from MH i2c: E2 0B 00 [22:07:24]MH_I2C_Read... [22:07:24]Read from MH i2c: E2 0B 00 02 08 00 F1 EC AD 40 A3 5B FB 8B 90 00 D4 [22:07:24]RAPDU: F1 EC AD 40 A3 5B FB 8B 90 00 [22:07:24]wFMCommunicate OK [22:07:24]SAM_PROTO_SignData done [22:07:24]FM_MakeSignedData done [22:07:24]CreateOFDProtocolMessage [22:07:24]wFMCommunicate request_size=4 [22:07:24]MH_SAM_APDU [22:07:24]CAPDU: 80 11 00 00 [22:07:24]Write to MH i2c: E2 08 00 03 08 80 11 00 00 00 00 00 00 85 [22:07:24]Write i2c OK [22:07:24]MH_I2C_Read... [22:07:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:07:24]Read from MH i2c: E2 [22:07:24]MH_I2C_Read... [22:07:24]Read from MH i2c: E2 17 00 [22:07:24]MH_I2C_Read... [22:07:24]Read from MH i2c: E2 17 00 03 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 90 00 DD [22:07:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 90 00 [22:07:24]wFMCommunicate OK [22:07:24]CreateOFDProtocolMessage done [22:07:24]OFDSenderStorePacket 39870 [22:07:24]StoreOFDPacket docnum=39870 [22:07:24]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 4C 01 00 00 5A 86 44 01 6B 7F 5A 03 01 00 03 00 38 01 1E 04 01 00 01 23 04 8A 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 35 34 06 04 46 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 4D 41 58 49 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D1 81 D0 BE 20 D0 B2 D0 BA D1 83 D1 81 D0 BE D0 BC 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 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 80 00 00 00 F4 03 04 00 19 ED 5C 66 0E 04 04 00 77 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 10 04 04 00 BE 9B 00 00 35 04 06 00 C6 3B D9 92 9B F0 F1 EC AD 40 A3 5B FB 8B [22:07:24]CheckFolder [22:07:24]dirname=/storage/ofd_packets [22:07:24]CheckFolder done [22:07:24]ProducePacketName [22:07:24]name=ofd_packets/00039870 [22:07:24]NVStorageSaveData ofd_packets/00039870 [22:07:24]File name is /storage/ofd_packets/00039870 [22:07:24]Write 362 bytes [22:07:24]NVStorageSaveData done [22:07:24]OFDSenderStorePacket done [22:07:24]KKMCreateOFDPacket done [22:07:24]NVStorageSaveData kkm_last_timestamp [22:07:24]File name is /storage/kkm_last_timestamp [22:07:24]Write 4 bytes [22:07:24]NVStorageSaveData done [22:07:24]ExternCall_PrintAddStr [22:07:24]wPrintStart [22:07:24]Write to MH i2c: 01 00 00 04 08 0C [22:07:24]Write i2c OK [22:07:24]MH_I2C_Read... [22:07:24]Read from MH i2c: 01 [22:07:24]MH_I2C_Read... [22:07:24]Read from MH i2c: 01 07 00 [22:07:24]MH_I2C_Read... [22:07:24]Read from MH i2c: 01 07 00 04 08 00 00 00 00 00 FF 0F 21 [22:07:24]RasterBufferAndPrint [22:07:24]line Счет N : (3)176430 [22:07:24]line ИНН: 02508201610067 [22:07:24]line Контрольно-Кассовый Чек [22:07:24]line ПРОДАЖА [22:07:24]line Товар: 4870202521254 [22:07:24]line Чай холодный MAXI черный со вкусом клубн [22:07:24]line 1.000 * 125.00 [22:07:24]line = 125.00 [22:07:24]line НДС 12% НСП 1% [22:07:24]line > о реализуемом товаре [22:07:24]line ИТОГО: 125.00 [22:07:24]line НСП 1% : 1.11 [22:07:24]line НДС 12% : 13.27 [22:07:24]line Наличными: 125.00 [22:07:24]line Безнал.: 0.00 [22:07:24]line Место: АЗС № 63 "Партнер Нефть" [22:07:24]line Адрес: 720001, с. Чон Сары Ой, ул. Западная 3, 42.603516, 76.894901 [22:07:24]line СНО: Общий режим [22:07:24]line Чек 128 02.06.2024 22:07 [22:07:24]line Смена: 375 ФФД: 1.0 [22:07:24]line ЗНМ: 0300000037 [22:07:24]line РНМ: 0000000000092680 [22:07:24]line Версия ККМ: 001 [22:07:24]line ФМ: 0000000000874882 [22:07:24]line ФД: 39870 [22:07:24]line ФПД: 217960355634160 [22:07:24]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240602T220721&type=1&operation_type=1&fn_number=0000000000874882&fd_number=39870&fm=217960355634160&tin=02508201610067®Number=0000000000092680&sum=12500 [22:07:24]line 0 [22:07:24]OFD Sender: Processing packet 39870 [packets to send 5, broken 4] [22:07:24]ProducePacketName [22:07:24]name=ofd_packets/00039870 [22:07:24]OFD Sender: To server: pG, [22:07:24]CommunicateWithHost lk.salyk.kg:30040 [22:07:24]ConnectInit lk.salyk.kg [22:07:24]written 0, free lines is 4095 [22:07:24]Connected sock=11 [22:07:24]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 38 32 4C 01 00 00 5A 86 44 01 6B 7F 5A 03 01 00 03 00 38 01 1E 04 01 00 01 23 04 8A 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 35 34 06 04 46 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 4D 41 58 49 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D1 81 D0 BE 20 D0 B2 D0 BA D1 83 D1 81 D0 BE D0 BC 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 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 Write to MH i2c: 00 01 00 00 07 00 2D 08 35 [22:07:25]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 Write i2c OK [22:07:25]12 MH_I2C_Read... [22:07:25]04 Read from MH i2c: 04 01 00 [22:07:25]80 MH_I2C_Read... [22:07:25]00 00 00 F4 03 04 00 19 ED 5C Read from MH i2c: 66 01 0E 07 04 00 04 00 77 01 00 00 B9 04 [22:07:25]01 MH_I2C_Read... [22:07:25]00 Read from MH i2c: 01 01 0D 07 04 00 10 2D 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 08 30 00 11 00 04 00 10 00 00 00 30 EC 30 0D 30 35 30 [22:07:25]30 RasterBufferAndPrint [22:07:25]line [22:07:25]30 line [22:07:25]line [22:07:25]30 line [22:07:25]30 line [22:07:25]30 30 written 0, free lines is 3932 [22:07:25]38 37 34 38 38 32 10 04 MH_Cut [22:07:25]04 Write to MH i2c: 00 D1 BE 01 9B 00 00 35 04 06 00 C6 00 3B 34 D9 08 92 01 9B F0 F1 EC AD 40 A3 5B 0E FB [22:07:25]8B [22:07:25]Write i2c OK [22:07:25]MH_I2C_Read... [22:07:25]Read from MH i2c: D1 [22:07:25]MH_I2C_Read... [22:07:25]Read from MH i2c: D1 01 00 [22:07:25]MH_I2C_Read... [22:07:25]Read from MH i2c: D1 01 00 34 08 00 0D [22:07:25]Write to MH i2c: 01 00 00 35 08 3D [22:07:25]Write i2c OK [22:07:25]MH_I2C_Read... [22:07: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 38 32 4F 00 00 00 *** Cut start [22:07:25]32 *** Partial cut [22:07:25]70 47 00 18 *** CUTSNS_PIN = 1 [22:07:25]CC A5 07 01 *** CUTSNS_PIN = 0 [22:07:25]00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 38 32 10 04 04 00 BE 9B 00 00 F4 03 04 00 CA 95 5C 66 B6 04 01 00 00 0C E3 1A CC 1D 36 4E 38 *** Brake cut motor [22:07:26] [22:07:26]CommunicateWithHost err = 0 [22:07:26]CheckOFDResponse [22:07:26]1017 (14) - 77093643461234 [22:07:26]1041 (16) - 0000000000874882 [22:07:26]1040 (4) - 39870 [22:07:26]1012 (4) - 02.06.2024 15:54 [22:07:26]1206 (1) - 0 [22:07:26]OFD Sender: Remove packet 39870 [22:07:26]ProducePacketName [22:07:26]name=ofd_packets/00039870 [22:07:26]NVStorageDeleteData [22:07:26]Read from MH i2c: 01 [22:07:26]MH_I2C_Read... [22:07:26]*** Stop cut motor [22:07:26]*** Cut end [22:07:26]Read from MH i2c: 01 07 00 [22:07:26]MH_I2C_Read... [22:07:26]Read from MH i2c: 01 07 00 35 08 00 00 00 00 00 FF 0F 52 [22:07:26]process_action close_receipt done [22:07:26]requested_data is exist [22:07:26]produce_requested_data [22:07:26]requested_item fm.sn is exist - process it [22:07:26]wFMCommunicate request_size=4 [22:07:26]MH_SAM_APDU [22:07:26]CAPDU: 80 11 00 00 [22:07:26]Write to MH i2c: E2 08 00 36 08 80 11 00 00 00 00 00 00 B8 [22:07:26]Write i2c OK [22:07:26]MH_I2C_Read... [22:07:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:07:26]Read from MH i2c: E2 [22:07:26]MH_I2C_Read... [22:07:26]Read from MH i2c: E2 17 00 [22:07:26]MH_I2C_Read... [22:07:26]Read from MH i2c: E2 17 00 36 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 90 00 10 [22:07:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 90 00 [22:07:26]wFMCommunicate OK [22:07:26]OFD Sender: No OFD packet to send [22:07:26]requested_item fd.num is exist - process it [22:07:26]SAM_PROTO_GetFieldsCounters [22:07:26]wFMCommunicate request_size=4 [22:07:26]MH_SAM_APDU [22:07:26]CAPDU: 80 13 00 00 [22:07:26]Write to MH i2c: E2 08 00 37 08 80 13 00 00 00 00 00 00 BB [22:07:26]Write i2c OK [22:07:26]MH_I2C_Read... [22:07:26]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:07:26]Read from MH i2c: E2 [22:07:26]MH_I2C_Read... [22:07:26]Read from MH i2c: E2 62 00 [22:07:26]MH_I2C_Read... [22:07:26]Read from MH i2c: E2 62 00 37 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 10 04 04 00 BE 9B 00 00 0E 04 04 00 77 01 00 00 12 04 04 00 80 00 00 00 5E 04 04 00 80 00 00 00 57 04 04 00 81 00 00 00 19 04 04 00 00 00 00 00 90 00 32 [22:07:27]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 10 04 04 00 BE 9B 00 00 0E 04 04 00 77 01 00 00 12 04 04 00 80 00 00 00 5E 04 04 00 80 00 00 00 57 04 04 00 81 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:07:27]wFMCommunicate OK [22:07:27]SAM_PROTO_GetFieldsCounters done [22:07:27]requested_item shift.num is exist - process it [22:07:27]requested_item shift.opened is exist - process it [22:07:27]req_shift_opened [22:07:27]FM_GetShiftState [22:07:27]SAM_PROTO_GetShiftState [22:07:27]wFMCommunicate request_size=4 [22:07:27]MH_SAM_APDU [22:07:27]CAPDU: 80 13 01 00 [22:07:27]Write to MH i2c: E2 08 00 38 08 80 13 01 00 00 00 00 00 BD [22:07:27]Write i2c OK [22:07:27]MH_I2C_Read... [22:07:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:07:27]Read from MH i2c: E2 [22:07:27]MH_I2C_Read... [22:07:27]Read from MH i2c: E2 0E 00 [22:07:27]MH_I2C_Read... [22:07:27]Read from MH i2c: E2 0E 00 38 08 00 09 00 01 54 BB 5B 66 00 00 00 00 90 00 99 [22:07:27]RAPDU: 09 00 01 54 BB 5B 66 00 00 00 00 90 00 [22:07:27]wFMCommunicate OK [22:07:27]SAM_PROTO_GetShiftState done [22:07:27]FM_GetShiftState done [22:07:27]req_shift_opened done [22:07:27]requested_item shift.open_date is exist - process it [22:07:27]req_shift_open_date [22:07:27]req_shift_open_date done [22:07:27]produce_requested_data done [22:07:27]produce_requested_data return {"fm.sn":"0000000000874882","fd.num":39870,"shift.num":375,"shift.opened":1,"shift.open_date":1717287764} [22:07:27]process_action_free close_receipt [22:07:27]json_value_free [22:07:27]json_value_free done [22:07:27]process_json_proto returns [22:07:27]Send response to host [22:07:27]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874882","fd.num":39870,"shift.num":375,"shift.opened":1,"shift.open_date":1717287764}}} [22:07:27]free response buf [22:07:27]execute_script done [22:07:27]execute_script returns [22:07:27]free content buf [22:07:27]Sock 10.Close socket [22:07:27]Sock 10.Thread stoped [22:07:31]OFD Sender: No OFD packet to send [22:07:36]OFD Sender: No OFD packet to send [22:07:40]ConnectInit Can't connect to host [22:07:41]OFD Sender: No OFD packet to send [22:07:46]OFD Sender: No OFD packet to send [22:07:51]OFD Sender: No OFD packet to send [22:07:56]OFD Sender: No OFD packet to send [22:07:59]accept exits with 9 [22:07:59]New connection [22:07:59]New thread 3066555748 created [22:07:59]Thread 3066699108 joined [22:07:59]Waiting for new connection... [22:07:59] Sock 9.Parse request [22:07:59]Sock 9.Check first char [22:07:59]Sock 9.First char is OK [22:07:59]request: POST /json_proto HTTP/1.0 [22:07:59]Method: POST [22:07:59]URL: /json_proto [22:07:59]Method is POST - this is cgi request [22:07:59]url: /json_proto [22:07:59]query_string will be loaded in cgi processing [22:07:59]execute_cgi json_proto POST (null) [22:07:59]execute_cgi path=json_proto method=POST [22:07:59]POST find Content-Length [22:07:59]Host: 172.17.36.199:8080 [22:07:59]Content-Length: 949 [22:07:59]Content-Type: application/json [22:07:59] [22:07:59]POST finish read [22:07:59]Found Content-Length = 949 [22:07:59]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)176431", "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 }]} ,{ "code": "5000159390729", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0422\u0432\u0438\u043A\u0441 \u042D\u043A\u0441\u0442\u0440\u0430 82\u0433", "price" : 89.00, "quantity" : 1.000, "sum" : 89.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 129.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:07:59]execute_script... [22:07:59]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)176431", "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 }]} ,{ "code": "5000159390729", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0422\u0432\u0438\u043A\u0441 \u042D\u043A\u0441\u0442\u0440\u0430 82\u0433", "price" : 89.00, "quantity" : 1.000, "sum" : 89.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 129.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:07:59]POST & json_proto [22:07:59]process_json_proto [22:07:59]json parsed OK: [22:07:59]protocol is kg_v1.0 [22:07:59]action value=close_receipt [22:07:59]process_action close_receipt [22:07:59]cmd_close_receipt [22:07:59]MH_GetDate [22:07:59]Write to MH i2c: F0 00 00 39 08 30 [22:07:59]Write i2c OK [22:07:59]MH_I2C_Read... [22:07:59]Read from MH i2c: F0 [22:07:59]MH_I2C_Read... [22:07:59]Read from MH i2c: F0 09 00 [22:07:59]MH_I2C_Read... [22:07:59]Read from MH i2c: F0 09 00 39 08 00 40 ED 5C 66 91 46 04 65 68 [22:07:59]GetLastDocTimeStamp 1717366041 [22:07:59]current date 1717366080 [22:07:59]FM_GetShiftState [22:07:59]SAM_PROTO_GetShiftState [22:07:59]wFMCommunicate request_size=4 [22:07:59]MH_SAM_APDU [22:07:59]CAPDU: 80 13 01 00 [22:07:59]Write to MH i2c: E2 08 00 3A 08 80 13 01 00 00 00 00 00 BF [22:07:59]Write i2c OK [22:07:59]MH_I2C_Read... [22:07:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:07:59]Read from MH i2c: E2 [22:07:59]MH_I2C_Read... [22:07:59]Read from MH i2c: E2 0E 00 [22:07:59]MH_I2C_Read... [22:07:59]Read from MH i2c: E2 0E 00 3A 08 00 09 00 01 54 BB 5B 66 00 00 00 00 90 00 9B [22:07:59]RAPDU: 09 00 01 54 BB 5B 66 00 00 00 00 90 00 [22:07:59]wFMCommunicate OK [22:07:59]SAM_PROTO_GetShiftState done [22:07:59]FM_GetShiftState done [22:07:59]opened in 1717287764 [22:07:59]opened+sec_in_day 1717374164 [22:07:59]quantity*price = 4000 [22:07:59]sum+1 = 4001 [22:07:59]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 5000159390729 Шок Батончик Твикс Экстра 82г 1.000 * 89.00 = 89.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 129.00 НСП 1% : 1.14 НДС 12% : 13.70 Наличными: 129.00 Безнал.: 0.00 Место: АЗС № 63 "Партнер Нефть" Адрес: 720001, с. Чон Сары Ой, ул. Западная 3, 42.603516, 76.894901 СНО: Общий режим Чек 129 02.06.2024 22:08 Смена: 375 ФФД: 1.0 ЗНМ: 0300000037 РНМ: 0000000000092680 Версия ККМ: 001 ФМ: 0000000000874882 ФД: 39871 ФПД: 138138441251801 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240602T220801&type=1&operation_type=1&fn_number=0000000000874882&fd_number=39871&fm=138138441251801&tin=02508201610067®Number=0000000000092680&sum=12900 0 [22:08:02]StoreToDocumentArchive [22:08:02]shift 375 fd 39871 [22:08:02]save to /storage/0375/doc_00039871 [22:08:02]save last doc name /storage/0375/doc_00039871 to /storage/kkm_last_doc_name [22:08:02]save OK [22:08:02]Clear old archive folders... [22:08:02]ProcessDocumentItem done err = 0, tmpTLVsize=395 [22:08:02]tlvbuf is 00AF0890 [22:08:02]SAM_PROTO_ClearQueue [22:08:02]wFMCommunicate request_size=4 [22:08:02]MH_SAM_APDU [22:08:02]CAPDU: 80 09 00 00 [22:08:02]Write to MH i2c: E2 08 00 47 08 80 09 00 00 00 00 00 00 C1 [22:08:02]Write i2c OK [22:08:02]MH_I2C_Read... [22:08:02]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:08:02]Read from MH i2c: E2 [22:08:02]MH_I2C_Read... [22:08:02]Read from MH i2c: E2 03 00 [22:08:02]MH_I2C_Read... [22:08:02]Read from MH i2c: E2 03 00 47 08 00 90 00 C3 [22:08:02]RAPDU: 90 00 [22:08:02]wFMCommunicate OK [22:08:02]SAM_PROTO_ClearQueue done [22:08:02]KKMCreateOFDPacket [22:08:02]OFDProtocolAddRootSTLVToBuf [22:08:02]FM_MakeSignedData [22:08:02]FM_MakeSignedData [22:08:02]SAM_PROTO_SignData [22:08:02]wFMCommunicate request_size=4 [22:08:02]MH_SAM_APDU [22:08:02]CAPDU: 80 0D 01 02 [22:08:02]Write to MH i2c: E2 08 00 48 08 80 0D 01 02 00 00 00 00 C9 [22:08:02]Write i2c OK [22:08:02]MH_I2C_Read... [22:08:02]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:08:02]Read from MH i2c: E2 [22:08:02]MH_I2C_Read... [22:08:02]Read from MH i2c: E2 03 00 [22:08:02]MH_I2C_Read... [22:08:02]Read from MH i2c: E2 03 00 48 08 00 90 00 C4 [22:08:02]RAPDU: 90 00 [22:08:02]wFMCommunicate OK [22:08:02]wFMCommunicate request_size=255 [22:08:02]MH_SAM_APDU [22:08:02]CAPDU: 80 0D 02 02 FA 03 00 8B 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 23 04 78 00 8A 04 0D 00 35 30 30 30 31 35 39 33 39 30 37 32 39 06 04 34 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 D0 AD D0 BA D1 81 D1 82 D1 80 D0 B0 20 38 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C4 22 00 00 00 00 13 04 06 00 C4 22 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 32 00 00 00 00 EB 03 26 00 EF 03 [22:08:02]Write to MH i2c: E2 02 01 49 08 80 0D 02 02 FA 00 03 00 8B 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 23 04 78 00 8A 04 0D 00 35 30 30 30 31 35 39 33 39 30 37 32 39 06 04 34 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 D0 AD D0 BA D1 81 D1 82 D1 80 D0 B0 20 38 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C4 22 00 00 00 00 13 04 06 00 C4 22 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 32 00 00 00 00 EB 03 26 00 EF 03 00 00 A0 [22:08:03]Write i2c OK [22:08:03]MH_I2C_Read... [22:08:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:08:03]Read from MH i2c: E2 [22:08:03]MH_I2C_Read... [22:08:03]Read from MH i2c: E2 03 00 [22:08:03]MH_I2C_Read... [22:08:03]Read from MH i2c: E2 03 00 49 08 00 90 00 C5 [22:08:03]RAPDU: 90 00 [22:08:03]wFMCommunicate OK [22:08:03]wFMCommunicate request_size=154 [22:08:03]MH_SAM_APDU [22:08:03]CAPDU: 80 0D 02 02 95 0F 00 F6 03 01 00 01 F7 03 06 00 72 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5A 05 00 00 00 00 07 04 06 00 64 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 81 00 00 00 F4 03 04 00 41 ED 5C 66 0E 04 04 00 77 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 10 04 04 00 BF 9B 00 00 35 04 06 00 7D A2 DC B8 7B D9 [22:08:03]Write to MH i2c: E2 9D 00 4A 08 80 0D 02 02 95 00 0F 00 F6 03 01 00 01 F7 03 06 00 72 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5A 05 00 00 00 00 07 04 06 00 64 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 81 00 00 00 F4 03 04 00 41 ED 5C 66 0E 04 04 00 77 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 10 04 04 00 BF 9B 00 00 35 04 06 00 7D A2 DC B8 7B D9 00 00 E3 [22:08:03]Write i2c OK [22:08:03]MH_I2C_Read... [22:08:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:08:04]Read from MH i2c: E2 [22:08:04]MH_I2C_Read... [22:08:04]Read from MH i2c: E2 03 00 [22:08:04]MH_I2C_Read... [22:08:04]Read from MH i2c: E2 03 00 4A 08 00 90 00 C6 [22:08:04]RAPDU: 90 00 [22:08:04]wFMCommunicate OK [22:08:04]wFMCommunicate request_size=4 [22:08:04]MH_SAM_APDU [22:08:04]CAPDU: 80 0D 03 02 [22:08:04]Write to MH i2c: E2 08 00 4B 08 80 0D 03 02 00 00 00 00 CE [22:08:04]Write i2c OK [22:08:04]MH_I2C_Read... [22:08:04]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:08:04]Read from MH i2c: E2 [22:08:04]MH_I2C_Read... [22:08:04]Read from MH i2c: E2 0B 00 [22:08:04]MH_I2C_Read... [22:08:04]Read from MH i2c: E2 0B 00 4B 08 00 8C 8E E5 63 8A CA 57 B2 90 00 8E [22:08:04]RAPDU: 8C 8E E5 63 8A CA 57 B2 90 00 [22:08:04]wFMCommunicate OK [22:08:04]SAM_PROTO_SignData done [22:08:04]FM_MakeSignedData done [22:08:04]CreateOFDProtocolMessage [22:08:04]wFMCommunicate request_size=4 [22:08:04]MH_SAM_APDU [22:08:04]CAPDU: 80 11 00 00 [22:08:04]Write to MH i2c: E2 08 00 4C 08 80 11 00 00 00 00 00 00 CE [22:08:04]Write i2c OK [22:08:04]MH_I2C_Read... [22:08:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:08:04]Read from MH i2c: E2 [22:08:04]MH_I2C_Read... [22:08:04]Read from MH i2c: E2 17 00 [22:08:04]MH_I2C_Read... [22:08:04]Read from MH i2c: E2 17 00 4C 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 90 00 26 [22:08:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 90 00 [22:08:04]wFMCommunicate OK [22:08:04]CreateOFDProtocolMessage done [22:08:04]OFDSenderStorePacket 39871 [22:08:04]StoreOFDPacket docnum=39871 [22:08:04]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 9F 01 00 00 2B 8D 97 01 EE 7E 5A 03 01 00 03 00 8B 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 23 04 78 00 8A 04 0D 00 35 30 30 30 31 35 39 33 39 30 37 32 39 06 04 34 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 D0 AD D0 BA D1 81 D1 82 D1 80 D0 B0 20 38 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C4 22 00 00 00 00 13 04 06 00 C4 22 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 72 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5A 05 00 00 00 00 07 04 06 00 64 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 81 00 00 00 F4 03 04 00 41 ED 5C 66 0E 04 04 00 77 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 10 04 04 00 BF 9B 00 00 35 04 06 00 7D A2 DC B8 7B D9 8C 8E E5 63 8A CA 57 B2 [22:08:04]CheckFolder [22:08:04]dirname=/storage/ofd_packets [22:08:04]CheckFolder done [22:08:04]ProducePacketName [22:08:04]name=ofd_packets/00039871 [22:08:04]NVStorageSaveData ofd_packets/00039871 [22:08:04]File name is /storage/ofd_packets/00039871 [22:08:04]Write 445 bytes [22:08:04]NVStorageSaveData done [22:08:04]OFDSenderStorePacket done [22:08:04]KKMCreateOFDPacket done [22:08:04]NVStorageSaveData kkm_last_timestamp [22:08:04]File name is /storage/kkm_last_timestamp [22:08:04]Write 4 bytes [22:08:04]NVStorageSaveData done [22:08:04]ExternCall_PrintAddStr [22:08:04]wPrintStart [22:08:04]Write to MH i2c: 01 00 00 4D 08 55 [22:08:04]OFD Sender: Processing packet 39871 [packets to send 5, broken 4] [22:08:04]ProducePacketName [22:08:04]name=ofd_packets/00039871 [22:08:04]OFD Sender: To server: pG, [22:08:04]CommunicateWithHost lk.salyk.kg:30040 [22:08:04]ConnectInit lk.salyk.kg [22:08:04]Write i2c OK [22:08:04]MH_I2C_Read... [22:08:04]Read from MH i2c: 01 [22:08:04]MH_I2C_Read... [22:08:04]Read from MH i2c: 01 07 00 [22:08:04]MH_I2C_Read... [22:08:04]Read from MH i2c: 01 07 00 4D 08 00 00 00 00 00 FF 0F 6A [22:08:04]RasterBufferAndPrint [22:08:04]line Счет N : (3)176431 [22:08:04]line ИНН: 02508201610067 [22:08:04]line Контрольно-Кассовый Чек [22:08:04]line ПРОДАЖА [22:08:04]line Товар: 4700000160211 [22:08:04]line Вода Легенда 0,5л [22:08:04]line 1.000 * 40.00 [22:08:04]line = 40.00 [22:08:04]line НДС 12% НСП 1% [22:08:04]line > о реализуемом товаре [22:08:04]line Товар: 5000159390729 [22:08:04]line Шок Батончик Твикс Экстра 82г [22:08:04]line 1.000 * 89.00 [22:08:04]line = 89.00 [22:08:04]line НДС 12% НСП 1% [22:08:04]line > о реализуемом товаре [22:08:04]line ИТОГО: 129.00 [22:08:04]line НСП 1% : 1.14 [22:08:04]line НДС 12% : 13.70 [22:08:04]line Наличными: 129.00 [22:08:04]line Безнал.: 0.00 [22:08:04]line Место: АЗС № 63 "Партнер Нефть" [22:08:04]line Адрес: 720001, с. Чон Сары Ой, ул. Западная 3, 42.603516, 76.894901 [22:08:04]line СНО: Общий режим [22:08:04]line Чек 129 02.06.2024 22:08 [22:08:04]line Смена: 375 ФФД: 1.0 [22:08:04]line ЗНМ: 0300000037 [22:08:04]line РНМ: 0000000000092680 [22:08:04]line Версия ККМ: 001 [22:08:04]line ФМ: 0000000000874882 [22:08:04]line ФД: 39871 [22:08:04]line ФПД: 138138441251801 [22:08:04]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240602T220801&type=1&operation_type=1&fn_number=0000000000874882&fd_number=39871&fm=138138441251801&tin=02508201610067®Number=0000000000092680&sum=12900 [22:08:04]line 0 [22:08:04]Connected sock=11 [22:08:04]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 38 32 9F 01 00 00 2B 8D 97 01 EE 7E 5A 03 01 00 03 written 0, free lines is 4095 [22:08:04]00 8B 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 23 04 78 00 8A 04 0D 00 35 30 30 30 31 35 39 33 39 30 37 32 39 06 04 34 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 D0 AD D0 BA D1 81 D1 82 D1 80 D0 B0 20 38 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C4 22 00 00 00 00 13 04 06 00 C4 22 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 72 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5A 05 00 00 00 00 07 04 06 00 64 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 81 00 00 00 F4 03 04 00 41 ED 5C 66 0E 04 04 00 77 01 Write to MH i2c: 00 01 00 00 B9 00 04 7C 01 08 00 84 01 0D 04 10 00 30 30 [22:08:05]30 Write i2c OK [22:08:05]30 MH_I2C_Read... [22:08:05]30 30 30 30 30 30 30 39 Read from MH i2c: 32 01 36 [22:08:05]38 MH_I2C_Read... [22:08:05]30 11 04 10 00 30 30 Read from MH i2c: 30 01 30 07 30 30 30 30 30 30 38 37 00 34 [22:08:05]38 MH_I2C_Read... [22:08:05]38 Read from MH i2c: 32 01 10 07 04 00 04 7C 00 08 BF 00 9B 00 00 35 04 06 00 00 7D 00 00 A2 00 DC B8 7B D9 8C 8E E5 63 06 8A 0D CA 9E 57 [22:08:05]B2 RasterBufferAndPrint [22:08:05] [22:08:05]line [22:08:05]line [22:08:05]line [22:08:05]line [22:08:05]line [22:08:05]written 0, free lines is 3599 [22:08:05]MH_Cut [22:08:05]Write to MH i2c: D1 01 00 83 08 01 5D [22:08:05]Write i2c OK [22:08:05]MH_I2C_Read... [22:08:05]Read from MH i2c: D1 [22:08:05]MH_I2C_Read... [22:08:05]Read from MH i2c: D1 01 00 [22:08:05]MH_I2C_Read... [22:08:05]Read from MH i2c: D1 01 00 83 08 00 5C [22:08:05]Write to MH i2c: 01 00 00 84 08 8C [22:08:05]Write i2c OK [22:08:05]MH_I2C_Read... [22:08: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 38 32 4F 00 00 00 21 65 47 00 73 7F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 10 04 04 00 BF 9B 00 00 F4 03 04 00 F2 95 5C *** Cut start [22:08:06]66 *** Partial cut [22:08:06]B6 *** CUTSNS_PIN = 1 [22:08:06]04 01 00 00 6D 67 7B 92 13 8F 57 F1 *** CUTSNS_PIN = 0 [22:08:06] [22:08:06]CommunicateWithHost err = 0 [22:08:06]CheckOFDResponse [22:08:06]1017 (14) - 77093643461234 [22:08:06]1041 (16) - 0000000000874882 [22:08:06]1040 (4) - 39871 [22:08:06]1012 (4) - 02.06.2024 15:55 [22:08:06]1206 (1) - 0 [22:08:06]OFD Sender: Remove packet 39871 [22:08:06]ProducePacketName [22:08:06]name=ofd_packets/00039871 [22:08:06]NVStorageDeleteData [22:08:06]*** Brake cut motor [22:08:06]OFD Sender: No OFD packet to send [22:08:06]Read from MH i2c: 01 [22:08:06]MH_I2C_Read... [22:08:06]*** Stop cut motor [22:08:06]*** Cut end [22:08:06]Read from MH i2c: 01 07 00 [22:08:06]MH_I2C_Read... [22:08:06]Read from MH i2c: 01 07 00 84 08 00 00 00 00 00 FF 0F A1 [22:08:06]process_action close_receipt done [22:08:06]requested_data is exist [22:08:06]produce_requested_data [22:08:06]requested_item fm.sn is exist - process it [22:08:06]wFMCommunicate request_size=4 [22:08:06]MH_SAM_APDU [22:08:06]CAPDU: 80 11 00 00 [22:08:06]Write to MH i2c: E2 08 00 85 08 80 11 00 00 00 00 00 00 07 [22:08:06]Write i2c OK [22:08:06]MH_I2C_Read... [22:08:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:08:06]Read from MH i2c: E2 [22:08:06]MH_I2C_Read... [22:08:06]Read from MH i2c: E2 17 00 [22:08:06]MH_I2C_Read... [22:08:06]Read from MH i2c: E2 17 00 85 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 90 00 5F [22:08:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 90 00 [22:08:06]wFMCommunicate OK [22:08:06]requested_item fd.num is exist - process it [22:08:06]SAM_PROTO_GetFieldsCounters [22:08:06]wFMCommunicate request_size=4 [22:08:06]MH_SAM_APDU [22:08:06]CAPDU: 80 13 00 00 [22:08:06]Write to MH i2c: E2 08 00 86 08 80 13 00 00 00 00 00 00 0A [22:08:06]Write i2c OK [22:08:06]MH_I2C_Read... [22:08:07]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:08:07]Read from MH i2c: E2 [22:08:07]MH_I2C_Read... [22:08:07]Read from MH i2c: E2 62 00 [22:08:07]MH_I2C_Read... [22:08:07]Read from MH i2c: E2 62 00 86 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 10 04 04 00 BF 9B 00 00 0E 04 04 00 77 01 00 00 12 04 04 00 81 00 00 00 5E 04 04 00 81 00 00 00 57 04 04 00 82 00 00 00 19 04 04 00 00 00 00 00 90 00 85 [22:08: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 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 10 04 04 00 BF 9B 00 00 0E 04 04 00 77 01 00 00 12 04 04 00 81 00 00 00 5E 04 04 00 81 00 00 00 57 04 04 00 82 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:08:07]wFMCommunicate OK [22:08:07]SAM_PROTO_GetFieldsCounters done [22:08:07]requested_item shift.num is exist - process it [22:08:07]requested_item shift.opened is exist - process it [22:08:07]req_shift_opened [22:08:07]FM_GetShiftState [22:08:07]SAM_PROTO_GetShiftState [22:08:07]wFMCommunicate request_size=4 [22:08:07]MH_SAM_APDU [22:08:07]CAPDU: 80 13 01 00 [22:08:07]Write to MH i2c: E2 08 00 87 08 80 13 01 00 00 00 00 00 0C [22:08:07]Write i2c OK [22:08:07]MH_I2C_Read... [22:08:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:08:07]Read from MH i2c: E2 [22:08:07]MH_I2C_Read... [22:08:07]Read from MH i2c: E2 0E 00 [22:08:07]MH_I2C_Read... [22:08:07]Read from MH i2c: E2 0E 00 87 08 00 09 00 01 54 BB 5B 66 00 00 00 00 90 00 E8 [22:08:07]RAPDU: 09 00 01 54 BB 5B 66 00 00 00 00 90 00 [22:08:07]wFMCommunicate OK [22:08:07]SAM_PROTO_GetShiftState done [22:08:07]FM_GetShiftState done [22:08:07]req_shift_opened done [22:08:07]requested_item shift.open_date is exist - process it [22:08:07]req_shift_open_date [22:08:07]req_shift_open_date done [22:08:07]produce_requested_data done [22:08:07]produce_requested_data return {"fm.sn":"0000000000874882","fd.num":39871,"shift.num":375,"shift.opened":1,"shift.open_date":1717287764} [22:08:07]process_action_free close_receipt [22:08:07]json_value_free [22:08:07]json_value_free done [22:08:07]process_json_proto returns [22:08:07]Send response to host [22:08:07]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874882","fd.num":39871,"shift.num":375,"shift.opened":1,"shift.open_date":1717287764}}} [22:08:07]free response buf [22:08:07]execute_script done [22:08:07]execute_script returns [22:08:07]free content buf [22:08:07]Sock 9.Close socket [22:08:07]Sock 9.Thread stoped [22:08:11]OFD Sender: No OFD packet to send [22:08:16]OFD Sender: No OFD packet to send [22:08:21]OFD Sender: No OFD packet to send [22:08:26]OFD Sender: No OFD packet to send [22:08:31]OFD Sender: No OFD packet to send [22:08:36]OFD Sender: No OFD packet to send [22:08:41]OFD Sender: No OFD packet to send [22:08:46]OFD Sender: No OFD packet to send [22:08:51]OFD Sender: No OFD packet to send [22:08:56]OFD Sender: No OFD packet to send [22:09:01]OFD Sender: No OFD packet to send [22:09:06]OFD Sender: No OFD packet to send [22:09:11]OFD Sender: No OFD packet to send [22:09:16]OFD Sender: No OFD packet to send [22:09:21]OFD Sender: No OFD packet to send [22:09:26]OFD Sender: No OFD packet to send [22:09:31]OFD Sender: No OFD packet to send [22:09:36]OFD Sender: No OFD packet to send [22:09:41]OFD Sender: No OFD packet to send [22:09:46]OFD Sender: No OFD packet to send [22:09:51]OFD Sender: No OFD packet to send [22:09:56]OFD Sender: No OFD packet to send [22:09:58]ConnectInit Can't connect to host [22:10:01]OFD Sender: No OFD packet to send [22:10:06]OFD Sender: No OFD packet to send [22:10:11]OFD Sender: No OFD packet to send [22:10:16]OFD Sender: No OFD packet to send [22:10:21]OFD Sender: No OFD packet to send [22:10:26]OFD Sender: No OFD packet to send [22:10:31]OFD Sender: No OFD packet to send [22:10:36]OFD Sender: No OFD packet to send [22:10:41]OFD Sender: No OFD packet to send [22:10:46]OFD Sender: No OFD packet to send [22:10:51]OFD Sender: No OFD packet to send [22:10:56]OFD Sender: No OFD packet to send [22:11:01]OFD Sender: No OFD packet to send [22:11:06]OFD Sender: No OFD packet to send [22:11:11]OFD Sender: No OFD packet to send [22:11:16]OFD Sender: No OFD packet to send [22:11:21]OFD Sender: No OFD packet to send [22:11:26]OFD Sender: No OFD packet to send [22:11:31]OFD Sender: No OFD packet to send [22:11:36]OFD Sender: No OFD packet to send [22:11:41]OFD Sender: No OFD packet to send [22:11:46]OFD Sender: No OFD packet to send [22:11:51]OFD Sender: No OFD packet to send [22:11:56]OFD Sender: No OFD packet to send [22:12:01]OFD Sender: No OFD packet to send [22:12:06]OFD Sender: No OFD packet to send [22:12:11]OFD Sender: No OFD packet to send [22:12:16]ConnectInit Can't connect to host [22:12:16]OFD Sender: No OFD packet to send [22:12:21]OFD Sender: No OFD packet to send [22:12:26]OFD Sender: No OFD packet to send [22:12:31]OFD Sender: No OFD packet to send [22:12:36]OFD Sender: No OFD packet to send [22:12:41]OFD Sender: No OFD packet to send [22:12:46]OFD Sender: No OFD packet to send [22:12:51]OFD Sender: No OFD packet to send [22:12:56]OFD Sender: No OFD packet to send [22:13:01]OFD Sender: No OFD packet to send [22:13:06]OFD Sender: No OFD packet to send [22:13:11]OFD Sender: No OFD packet to send [22:13:16]OFD Sender: No OFD packet to send [22:13:21]OFD Sender: No OFD packet to send [22:13:26]OFD Sender: No OFD packet to send [22:13:31]OFD Sender: No OFD packet to send [22:13:36]OFD Sender: No OFD packet to send [22:13:41]OFD Sender: No OFD packet to send [22:13:46]OFD Sender: No OFD packet to send [22:13:52]OFD Sender: No OFD packet to send [22:13:57]OFD Sender: No OFD packet to send [22:14:02]OFD Sender: No OFD packet to send [22:14:07]OFD Sender: No OFD packet to send [22:14:12]OFD Sender: No OFD packet to send [22:14:17]OFD Sender: No OFD packet to send [22:14:22]OFD Sender: No OFD packet to send [22:14:27]OFD Sender: No OFD packet to send [22:14:32]OFD Sender: No OFD packet to send [22:14:34]ConnectInit Can't connect to host [22:14:37]OFD Sender: No OFD packet to send [22:14:42]OFD Sender: No OFD packet to send [22:14:47]OFD Sender: No OFD packet to send [22:14:52]OFD Sender: No OFD packet to send [22:14:57]OFD Sender: No OFD packet to send [22:15:02]OFD Sender: No OFD packet to send [22:15:07]OFD Sender: No OFD packet to send [22:15:12]OFD Sender: No OFD packet to send [22:15:17]OFD Sender: No OFD packet to send [22:15:22]OFD Sender: No OFD packet to send [22:15:27]OFD Sender: No OFD packet to send [22:15:32]OFD Sender: No OFD packet to send [22:15:37]OFD Sender: No OFD packet to send [22:15:42]OFD Sender: No OFD packet to send [22:15:47]OFD Sender: No OFD packet to send [22:15:52]OFD Sender: No OFD packet to send [22:15:57]OFD Sender: No OFD packet to send [22:16:02]OFD Sender: No OFD packet to send [22:16:07]OFD Sender: No OFD packet to send [22:16:12]OFD Sender: No OFD packet to send [22:16:17]OFD Sender: No OFD packet to send [22:16:22]OFD Sender: No OFD packet to send [22:16:27]OFD Sender: No OFD packet to send [22:16:32]OFD Sender: No OFD packet to send [22:16:37]OFD Sender: No OFD packet to send [22:16:42]OFD Sender: No OFD packet to send [22:16:47]OFD Sender: No OFD packet to send [22:16:52]OFD Sender: No OFD packet to send [22:16:52]ConnectInit Can't connect to host [22:16:57]OFD Sender: No OFD packet to send [22:17:02]OFD Sender: No OFD packet to send [22:17:07]OFD Sender: No OFD packet to send [22:17:12]OFD Sender: No OFD packet to send [22:17:17]OFD Sender: No OFD packet to send [22:17:22]OFD Sender: No OFD packet to send [22:17:27]OFD Sender: No OFD packet to send [22:17:32]OFD Sender: No OFD packet to send [22:17:37]OFD Sender: No OFD packet to send [22:17:42]OFD Sender: No OFD packet to send [22:17:47]OFD Sender: No OFD packet to send [22:17:52]OFD Sender: No OFD packet to send [22:17:57]OFD Sender: No OFD packet to send [22:18:02]OFD Sender: No OFD packet to send [22:18:07]OFD Sender: No OFD packet to send [22:18:12]OFD Sender: No OFD packet to send [22:18:17]OFD Sender: No OFD packet to send [22:18:22]OFD Sender: No OFD packet to send [22:18:27]OFD Sender: No OFD packet to send [22:18:32]OFD Sender: No OFD packet to send [22:18:37]OFD Sender: No OFD packet to send [22:18:42]OFD Sender: No OFD packet to send [22:18:47]OFD Sender: No OFD packet to send [22:18:52]OFD Sender: No OFD packet to send [22:18:57]OFD Sender: No OFD packet to send [22:19:02]OFD Sender: No OFD packet to send [22:19:04]accept exits with 10 [22:19:04]New connection [22:19:04]New thread 3066699108 created [22:19:04]Thread 3066555748 joined [22:19:04]Waiting for new connection... [22:19:04] Sock 10.Parse request [22:19:04]Sock 10.Check first char [22:19:04]Sock 10.First char is OK [22:19:04]request: POST /json_proto HTTP/1.0 [22:19:04]Method: POST [22:19:04]URL: /json_proto [22:19:04]Method is POST - this is cgi request [22:19:04]url: /json_proto [22:19:04]query_string will be loaded in cgi processing [22:19:04]execute_cgi json_proto POST (null) [22:19:04]execute_cgi path=json_proto method=POST [22:19:04]POST find Content-Length [22:19:04]Host: 172.17.36.199:8080 [22:19:04]Content-Length: 632 [22:19:04]Content-Type: application/json [22:19:04] [22:19:04]POST finish read [22:19:04]Found Content-Length = 632 [22:19:04]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)176432", "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" ] } } [22:19:04]execute_script... [22:19:04]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)176432", "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" ] } } [22:19:04]POST & json_proto [22:19:04]process_json_proto [22:19:04]json parsed OK: [22:19:04]protocol is kg_v1.0 [22:19:04]action value=close_receipt [22:19:04]process_action close_receipt [22:19:04]cmd_close_receipt [22:19:04]MH_GetDate [22:19:04]Write to MH i2c: F0 00 00 88 08 7F [22:19:04]Write i2c OK [22:19:04]MH_I2C_Read... [22:19:04]Read from MH i2c: F0 [22:19:04]MH_I2C_Read... [22:19:04]Read from MH i2c: F0 09 00 [22:19:04]MH_I2C_Read... [22:19:04]Read from MH i2c: F0 09 00 88 08 00 D9 EF 5C 66 91 46 04 65 52 [22:19:04]GetLastDocTimeStamp 1717366081 [22:19:04]current date 1717366745 [22:19:04]FM_GetShiftState [22:19:04]SAM_PROTO_GetShiftState [22:19:04]wFMCommunicate request_size=4 [22:19:04]MH_SAM_APDU [22:19:04]CAPDU: 80 13 01 00 [22:19:04]Write to MH i2c: E2 08 00 89 08 80 13 01 00 00 00 00 00 0E [22:19:04]Write i2c OK [22:19:04]MH_I2C_Read... [22:19:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:19:04]Read from MH i2c: E2 [22:19:04]MH_I2C_Read... [22:19:04]Read from MH i2c: E2 0E 00 [22:19:04]MH_I2C_Read... [22:19:04]Read from MH i2c: E2 0E 00 89 08 00 09 00 01 54 BB 5B 66 00 00 00 00 90 00 EA [22:19:04]RAPDU: 09 00 01 54 BB 5B 66 00 00 00 00 90 00 [22:19:04]wFMCommunicate OK [22:19:04]SAM_PROTO_GetShiftState done [22:19:04]FM_GetShiftState done [22:19:04]opened in 1717287764 [22:19:04]opened+sec_in_day 1717374164 [22:19:04]quantity*price = 4000 [22:19:04]sum+1 = 4001 [22:19:04]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 40.00 НСП 1% : 0.35 НДС 12% : 4.25 Наличными: 40.00 Безнал.: 0.00 Место: АЗС № 63 "Партнер Нефть" Адрес: 720001, с. Чон Сары Ой, ул. Западная 3, 42.603516, 76.894901 СНО: Общий режим Чек 130 02.06.2024 22:19 Смена: 375 ФФД: 1.0 ЗНМ: 0300000037 РНМ: 0000000000092680 Версия ККМ: 001 ФМ: 0000000000874882 ФД: 39872 ФПД: 57151230887688 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240602T221905&type=1&operation_type=1&fn_number=0000000000874882&fd_number=39872&fm=57151230887688&tin=02508201610067®Number=0000000000092680&sum=4000 0 [22:19:06]StoreToDocumentArchive [22:19:06]shift 375 fd 39872 [22:19:06]save to /storage/0375/doc_00039872 [22:19:06]save last doc name /storage/0375/doc_00039872 to /storage/kkm_last_doc_name [22:19:06]save OK [22:19:06]Clear old archive folders... [22:19:06]ProcessDocumentItem done err = 0, tmpTLVsize=271 [22:19:06]tlvbuf is 00B49540 [22:19:06]SAM_PROTO_ClearQueue [22:19:06]wFMCommunicate request_size=4 [22:19:06]MH_SAM_APDU [22:19:06]CAPDU: 80 09 00 00 [22:19:06]Write to MH i2c: E2 08 00 96 08 80 09 00 00 00 00 00 00 10 [22:19:06]Write i2c OK [22:19:06]MH_I2C_Read... [22:19:06]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:19:06]Read from MH i2c: E2 [22:19:06]MH_I2C_Read... [22:19:06]Read from MH i2c: E2 03 00 [22:19:06]MH_I2C_Read... [22:19:06]Read from MH i2c: E2 03 00 96 08 00 90 00 12 [22:19:06]RAPDU: 90 00 [22:19:06]wFMCommunicate OK [22:19:06]SAM_PROTO_ClearQueue done [22:19:06]KKMCreateOFDPacket [22:19:06]OFDProtocolAddRootSTLVToBuf [22:19:06]FM_MakeSignedData [22:19:06]FM_MakeSignedData [22:19:06]SAM_PROTO_SignData [22:19:06]wFMCommunicate request_size=4 [22:19:06]MH_SAM_APDU [22:19:06]CAPDU: 80 0D 01 02 [22:19:06]Write to MH i2c: E2 08 00 97 08 80 0D 01 02 00 00 00 00 18 [22:19:06]Write i2c OK [22:19:06]MH_I2C_Read... [22:19:06]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:19:06]Read from MH i2c: E2 [22:19:06]MH_I2C_Read... [22:19:06]Read from MH i2c: E2 03 00 [22:19:06]MH_I2C_Read... [22:19:06]Read from MH i2c: E2 03 00 97 08 00 90 00 13 [22:19:06]RAPDU: 90 00 [22:19:06]wFMCommunicate OK [22:19:06]wFMCommunicate request_size=255 [22:19:06]MH_SAM_APDU [22:19:06]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 82 00 00 00 F4 03 04 00 D9 EF 5C 66 0E 04 04 00 77 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 11 04 10 00 30 30 30 30 30 30 30 30 30 [22:19:07]Write to MH i2c: E2 02 01 98 08 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 OFD Sender: No OFD packet to send [22:19:07]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 82 00 00 00 F4 03 04 00 D9 EF 5C 66 0E 04 04 00 77 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 11 04 10 00 30 30 30 30 30 30 30 30 30 00 00 81 [22:19:07]Write i2c OK [22:19:07]MH_I2C_Read... [22:19:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:19:08]Read from MH i2c: E2 [22:19:08]MH_I2C_Read... [22:19:08]Read from MH i2c: E2 03 00 [22:19:08]MH_I2C_Read... [22:19:08]Read from MH i2c: E2 03 00 98 08 00 90 00 14 [22:19:08]RAPDU: 90 00 [22:19:08]wFMCommunicate OK [22:19:08]wFMCommunicate request_size=30 [22:19:08]MH_SAM_APDU [22:19:08]CAPDU: 80 0D 02 02 19 30 38 37 34 38 38 32 10 04 04 00 C0 9B 00 00 35 04 06 00 33 FA 8E D0 C7 08 [22:19:08]Write to MH i2c: E2 21 00 99 08 80 0D 02 02 19 00 30 38 37 34 38 38 32 10 04 04 00 C0 9B 00 00 35 04 06 00 33 FA 8E D0 C7 08 00 00 CE [22:19:08]Write i2c OK [22:19:08]MH_I2C_Read... [22:19:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:19:08]Read from MH i2c: E2 [22:19:08]MH_I2C_Read... [22:19:08]Read from MH i2c: E2 03 00 [22:19:08]MH_I2C_Read... [22:19:08]Read from MH i2c: E2 03 00 99 08 00 90 00 15 [22:19:08]RAPDU: 90 00 [22:19:08]wFMCommunicate OK [22:19:08]wFMCommunicate request_size=4 [22:19:08]MH_SAM_APDU [22:19:08]CAPDU: 80 0D 03 02 [22:19:08]Write to MH i2c: E2 08 00 9A 08 80 0D 03 02 00 00 00 00 1D [22:19:08]Write i2c OK [22:19:08]MH_I2C_Read... [22:19:08]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:19:08]Read from MH i2c: E2 [22:19:08]MH_I2C_Read... [22:19:08]Read from MH i2c: E2 0B 00 [22:19:08]MH_I2C_Read... [22:19:08]Read from MH i2c: E2 0B 00 9A 08 00 CE BC 86 0F 67 A3 4B 71 90 00 03 [22:19:08]RAPDU: CE BC 86 0F 67 A3 4B 71 90 00 [22:19:08]wFMCommunicate OK [22:19:08]SAM_PROTO_SignData done [22:19:08]FM_MakeSignedData done [22:19:08]CreateOFDProtocolMessage [22:19:08]wFMCommunicate request_size=4 [22:19:08]MH_SAM_APDU [22:19:08]CAPDU: 80 11 00 00 [22:19:08]Write to MH i2c: E2 08 00 9B 08 80 11 00 00 00 00 00 00 1D [22:19:08]Write i2c OK [22:19:08]MH_I2C_Read... [22:19:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:19:08]Read from MH i2c: E2 [22:19:08]MH_I2C_Read... [22:19:08]Read from MH i2c: E2 17 00 [22:19:08]MH_I2C_Read... [22:19:08]Read from MH i2c: E2 17 00 9B 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 90 00 75 [22:19:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 90 00 [22:19:08]wFMCommunicate OK [22:19:08]CreateOFDProtocolMessage done [22:19:08]OFDSenderStorePacket 39872 [22:19:08]StoreOFDPacket docnum=39872 [22:19:08]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 23 01 00 00 B4 CD 1B 01 56 BF 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 82 00 00 00 F4 03 04 00 D9 EF 5C 66 0E 04 04 00 77 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 10 04 04 00 C0 9B 00 00 35 04 06 00 33 FA 8E D0 C7 08 CE BC 86 0F 67 A3 4B 71 [22:19:08]CheckFolder [22:19:08]dirname=/storage/ofd_packets [22:19:08]CheckFolder done [22:19:08]ProducePacketName [22:19:08]name=ofd_packets/00039872 [22:19:08]NVStorageSaveData ofd_packets/00039872 [22:19:08]File name is /storage/ofd_packets/00039872 [22:19:08]Write 321 bytes [22:19:08]NVStorageSaveData done [22:19:08]OFDSenderStorePacket done [22:19:08]KKMCreateOFDPacket done [22:19:08]NVStorageSaveData kkm_last_timestamp [22:19:08]File name is /storage/kkm_last_timestamp [22:19:08]Write 4 bytes [22:19:08]NVStorageSaveData done [22:19:08]ExternCall_PrintAddStr [22:19:08]wPrintStart [22:19:08]Write to MH i2c: 01 00 00 9C 08 A4 [22:19:08]Write i2c OK [22:19:08]MH_I2C_Read... [22:19:08]Read from MH i2c: 01 [22:19:08]MH_I2C_Read... [22:19:08]Read from MH i2c: 01 07 00 [22:19:08]MH_I2C_Read... [22:19:08]Read from MH i2c: 01 07 00 9C 08 00 00 00 00 00 FF 0F B9 [22:19:08]RasterBufferAndPrint [22:19:08]line Счет N : (3)176432 [22:19:08]line ИНН: 02508201610067 [22:19:08]line Контрольно-Кассовый Чек [22:19:08]line ПРОДАЖА [22:19:08]line Товар: 4700000160211 [22:19:08]line Вода Легенда 0,5л [22:19:08]line 1.000 * 40.00 [22:19:08]line = 40.00 [22:19:08]line НДС 12% НСП 1% [22:19:08]line > о реализуемом товаре [22:19:08]line ИТОГО: 40.00 [22:19:08]line НСП 1% : 0.35 [22:19:08]line НДС 12% : 4.25 [22:19:08]line Наличными: 40.00 [22:19:08]line Безнал.: 0.00 [22:19:08]line Место: АЗС № 63 "Партнер Нефть" [22:19:08]line Адрес: 720001, с. Чон Сары Ой, ул. Западная 3, 42.603516, 76.894901 [22:19:08]line СНО: Общий режим [22:19:08]line Чек 130 02.06.2024 22:19 [22:19:08]line Смена: 375 ФФД: 1.0 [22:19:08]line ЗНМ: 0300000037 [22:19:08]line РНМ: 0000000000092680 [22:19:08]line Версия ККМ: 001 [22:19:08]line ФМ: 0000000000874882 [22:19:08]line ФД: 39872 [22:19:08]line ФПД: 57151230887688 [22:19:08]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240602T221905&type=1&operation_type=1&fn_number=0000000000874882&fd_number=39872&fm=57151230887688&tin=02508201610067®Number=0000000000092680&sum=4000 [22:19:08]OFD Sender: Processing packet 39872 [packets to send 5, broken 4] [22:19:08]line 0 [22:19:08]ProducePacketName [22:19:08]name=ofd_packets/00039872 [22:19:08]written 0, free lines is 4095 [22:19:08]OFD Sender: To server: pG, [22:19:08]CommunicateWithHost lk.salyk.kg:30040 [22:19:08]ConnectInit lk.salyk.kg [22:19:08]Connected sock=11 [22:19:08]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 38 32 23 01 00 00 B4 CD 1B 01 56 BF 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 Write to MH i2c: 39 01 04 00 06 00 00 00 00 00 00 00 00 1F C4 04 08 02 CC 00 01 00 12 04 04 00 82 [22:19:09]00 Write i2c OK [22:19:09]00 MH_I2C_Read... [22:19:09]00 F4 03 04 00 D9 EF 5C 66 Read from MH i2c: 0E 01 04 [22:19:09]04 MH_I2C_Read... [22:19:09]00 77 01 00 00 B9 Read from MH i2c: 04 01 07 01 00 00 01 0D 04 10 00 30 30 [22:19:09]30 MH_I2C_Read... [22:19:09]30 30 30 30 30 30 30 30 39 32 Read from MH i2c: 36 01 38 07 30 00 11 C4 04 08 10 00 00 30 30 30 30 30 30 00 30 00 30 00 30 00 30 60 38 0D 37 40 34 38 38 32 10 04 04 00 [22:19:09]C0 RasterBufferAndPrint [22:19:09]9B line [22:19:09]00 line [22:19:09]00 line [22:19:09]35 line [22:19:09]04 line [22:19:09]06 00 33 FA 8E D0 C7 08 written 0, free lines is 3721 [22:19:09]CE BC 86 0F 67 A3 4B 71 [22:19:09]MH_Cut [22:19:09]Write to MH i2c: D1 01 00 CB 08 01 A5 [22:19:09]Write i2c OK [22:19:09]MH_I2C_Read... [22:19:09]Read from MH i2c: D1 [22:19:09]MH_I2C_Read... [22:19:09]Read from MH i2c: D1 01 00 [22:19:09]MH_I2C_Read... [22:19:09]Read from MH i2c: D1 01 00 CB 08 00 A4 [22:19:09]Write to MH i2c: 01 00 00 CC 08 D4 [22:19:09]Write i2c OK [22:19:09]MH_I2C_Read... [22:19: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 38 32 4F 00 00 00 2A 9D 47 00 62 BF A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 *** Cut start [22:19:09]38 38 32 10 04 04 00 C0 9B 00 00 F4 03 04 00 8A 98 5C 66 B6 04 01 00 00 CD *** Partial cut [22:19:10]B7 29 FB C7 2C 46 BC [22:19:10]CommunicateWithHost err = 0 [22:19:10]CheckOFDResponse [22:19:10]1017 (14) - 77093643461234 [22:19:10]1041 (16) - 0000000000874882 [22:19:10]*** CUTSNS_PIN = 1 [22:19:10]1040 (4) - 39872 [22:19:10]*** CUTSNS_PIN = 0 [22:19:10]1012 (4) - 02.06.2024 16:06 [22:19:10]*** Brake cut motor [22:19:10]1206 (1) - 0 [22:19:10]OFD Sender: Remove packet 39872 [22:19:10]ProducePacketName [22:19:10]name=ofd_packets/00039872 [22:19:10]NVStorageDeleteData [22:19:10]Read from MH i2c: 01 [22:19:10]MH_I2C_Read... [22:19:10]*** Stop cut motor [22:19:10]*** Cut end [22:19:10]Read from MH i2c: 01 07 00 [22:19:10]MH_I2C_Read... [22:19:10]Read from MH i2c: 01 07 00 CC 08 00 00 00 00 00 FF 0F E9 [22:19:10]process_action close_receipt done [22:19:10]requested_data is exist [22:19:10]produce_requested_data [22:19:10]requested_item fm.sn is exist - process it [22:19:10]wFMCommunicate request_size=4 [22:19:10]MH_SAM_APDU [22:19:10]CAPDU: 80 11 00 00 [22:19:10]Write to MH i2c: E2 08 00 CD 08 80 11 00 00 00 00 00 00 4F [22:19:10]Write i2c OK [22:19:10]MH_I2C_Read... [22:19:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:19:10]Read from MH i2c: E2 [22:19:10]MH_I2C_Read... [22:19:10]Read from MH i2c: E2 17 00 [22:19:10]MH_I2C_Read... [22:19:10]Read from MH i2c: E2 17 00 CD 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 90 00 A7 [22:19:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 90 00 [22:19:10]wFMCommunicate OK [22:19:10]requested_item fd.num is exist - process it [22:19:10]SAM_PROTO_GetFieldsCounters [22:19:10]wFMCommunicate request_size=4 [22:19:10]MH_SAM_APDU [22:19:10]CAPDU: 80 13 00 00 [22:19:10]Write to MH i2c: E2 08 00 CE 08 80 13 00 00 00 00 00 00 52 [22:19:10]OFD Sender: No OFD packet to send [22:19:10]Write i2c OK [22:19:10]MH_I2C_Read... [22:19:10]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:19:10]Read from MH i2c: E2 [22:19:10]MH_I2C_Read... [22:19:10]Read from MH i2c: E2 62 00 [22:19:10]MH_I2C_Read... [22:19:10]Read from MH i2c: E2 62 00 CE 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 10 04 04 00 C0 9B 00 00 0E 04 04 00 77 01 00 00 12 04 04 00 82 00 00 00 5E 04 04 00 82 00 00 00 57 04 04 00 83 00 00 00 19 04 04 00 00 00 00 00 90 00 D1 [22:19: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 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 10 04 04 00 C0 9B 00 00 0E 04 04 00 77 01 00 00 12 04 04 00 82 00 00 00 5E 04 04 00 82 00 00 00 57 04 04 00 83 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:19:11]wFMCommunicate OK [22:19:11]SAM_PROTO_GetFieldsCounters done [22:19:11]requested_item shift.num is exist - process it [22:19:11]requested_item shift.opened is exist - process it [22:19:11]req_shift_opened [22:19:11]FM_GetShiftState [22:19:11]SAM_PROTO_GetShiftState [22:19:11]wFMCommunicate request_size=4 [22:19:11]ConnectInit Can't connect to host [22:19:11]MH_SAM_APDU [22:19:11]CAPDU: 80 13 01 00 [22:19:11]Write to MH i2c: E2 08 00 CF 08 80 13 01 00 00 00 00 00 54 [22:19:11]Write i2c OK [22:19:11]MH_I2C_Read... [22:19:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:19:11]Read from MH i2c: E2 [22:19:11]MH_I2C_Read... [22:19:11]Read from MH i2c: E2 0E 00 [22:19:11]MH_I2C_Read... [22:19:11]Read from MH i2c: E2 0E 00 CF 08 00 09 00 01 54 BB 5B 66 00 00 00 00 90 00 30 [22:19:11]RAPDU: 09 00 01 54 BB 5B 66 00 00 00 00 90 00 [22:19:11]wFMCommunicate OK [22:19:11]SAM_PROTO_GetShiftState done [22:19:11]FM_GetShiftState done [22:19:11]req_shift_opened done [22:19:11]requested_item shift.open_date is exist - process it [22:19:11]req_shift_open_date [22:19:11]req_shift_open_date done [22:19:11]produce_requested_data done [22:19:11]produce_requested_data return {"fm.sn":"0000000000874882","fd.num":39872,"shift.num":375,"shift.opened":1,"shift.open_date":1717287764} [22:19:11]process_action_free close_receipt [22:19:11]json_value_free [22:19:11]json_value_free done [22:19:11]process_json_proto returns [22:19:11]Send response to host [22:19:11]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874882","fd.num":39872,"shift.num":375,"shift.opened":1,"shift.open_date":1717287764}}} [22:19:11]free response buf [22:19:11]execute_script done [22:19:11]execute_script returns [22:19:11]free content buf [22:19:11]Sock 10.Close socket [22:19:11]Sock 10.Thread stoped [22:19:15]OFD Sender: No OFD packet to send [22:19:20]OFD Sender: No OFD packet to send [22:19:25]OFD Sender: No OFD packet to send [22:19:30]OFD Sender: No OFD packet to send [22:19:35]OFD Sender: No OFD packet to send [22:19:40]OFD Sender: No OFD packet to send [22:19:45]OFD Sender: No OFD packet to send [22:19:50]OFD Sender: No OFD packet to send [22:19:55]OFD Sender: No OFD packet to send [22:20:00]OFD Sender: No OFD packet to send [22:20:05]OFD Sender: No OFD packet to send [22:20:10]OFD Sender: No OFD packet to send [22:20:15]OFD Sender: No OFD packet to send [22:20:20]OFD Sender: No OFD packet to send [22:20:25]OFD Sender: No OFD packet to send [22:20:30]OFD Sender: No OFD packet to send [22:20:35]OFD Sender: No OFD packet to send [22:20:40]OFD Sender: No OFD packet to send [22:20:45]OFD Sender: No OFD packet to send [22:20:50]OFD Sender: No OFD packet to send [22:20:55]OFD Sender: No OFD packet to send [22:21:00]OFD Sender: No OFD packet to send [22:21:05]OFD Sender: No OFD packet to send [22:21:10]OFD Sender: No OFD packet to send [22:21:15]OFD Sender: No OFD packet to send [22:21:20]OFD Sender: No OFD packet to send [22:21:25]OFD Sender: No OFD packet to send [22:21:29]ConnectInit Can't connect to host [22:21:30]OFD Sender: No OFD packet to send [22:21:35]OFD Sender: No OFD packet to send [22:21:40]OFD Sender: No OFD packet to send [22:21:45]OFD Sender: No OFD packet to send [22:21:50]OFD Sender: No OFD packet to send [22:21:55]OFD Sender: No OFD packet to send [22:22:00]OFD Sender: No OFD packet to send [22:22:05]OFD Sender: No OFD packet to send [22:22:10]OFD Sender: No OFD packet to send [22:22:15]OFD Sender: No OFD packet to send [22:22:20]OFD Sender: No OFD packet to send [22:22:25]OFD Sender: No OFD packet to send [22:22:31]OFD Sender: No OFD packet to send [22:22:36]OFD Sender: No OFD packet to send [22:22:41]OFD Sender: No OFD packet to send [22:22:46]OFD Sender: No OFD packet to send [22:22:51]OFD Sender: No OFD packet to send [22:22:56]OFD Sender: No OFD packet to send [22:23:01]OFD Sender: No OFD packet to send [22:23:06]OFD Sender: No OFD packet to send [22:23:11]OFD Sender: No OFD packet to send [22:23:16]OFD Sender: No OFD packet to send [22:23:21]OFD Sender: No OFD packet to send [22:23:26]OFD Sender: No OFD packet to send [22:23:31]OFD Sender: No OFD packet to send [22:23:36]OFD Sender: No OFD packet to send [22:23:41]OFD Sender: No OFD packet to send [22:23:46]OFD Sender: No OFD packet to send [22:23:47]ConnectInit Can't connect to host [22:23:51]OFD Sender: No OFD packet to send [22:23:56]OFD Sender: No OFD packet to send [22:24:01]OFD Sender: No OFD packet to send [22:24:06]OFD Sender: No OFD packet to send [22:24:11]OFD Sender: No OFD packet to send [22:24:16]OFD Sender: No OFD packet to send [22:24:21]OFD Sender: No OFD packet to send [22:24:26]OFD Sender: No OFD packet to send [22:24:31]OFD Sender: No OFD packet to send [22:24:36]OFD Sender: No OFD packet to send [22:24:41]OFD Sender: No OFD packet to send [22:24:46]OFD Sender: No OFD packet to send [22:24:51]OFD Sender: No OFD packet to send [22:24:56]OFD Sender: No OFD packet to send [22:25:01]OFD Sender: No OFD packet to send [22:25:06]OFD Sender: No OFD packet to send [22:25:11]OFD Sender: No OFD packet to send [22:25:16]OFD Sender: No OFD packet to send [22:25:21]OFD Sender: No OFD packet to send [22:25:26]OFD Sender: No OFD packet to send [22:25:31]OFD Sender: No OFD packet to send [22:25:36]OFD Sender: No OFD packet to send [22:25:41]OFD Sender: No OFD packet to send [22:25:46]OFD Sender: No OFD packet to send [22:25:51]OFD Sender: No OFD packet to send [22:25:56]OFD Sender: No OFD packet to send [22:26:01]OFD Sender: No OFD packet to send [22:26:05]ConnectInit Can't connect to host [22:26:06]OFD Sender: No OFD packet to send [22:26:11]OFD Sender: No OFD packet to send [22:26:16]OFD Sender: No OFD packet to send [22:26:21]OFD Sender: No OFD packet to send [22:26:26]OFD Sender: No OFD packet to send [22:26:31]OFD Sender: No OFD packet to send [22:26:36]OFD Sender: No OFD packet to send [22:26:41]OFD Sender: No OFD packet to send [22:26:46]OFD Sender: No OFD packet to send [22:26:51]OFD Sender: No OFD packet to send [22:26:56]OFD Sender: No OFD packet to send [22:27:01]OFD Sender: No OFD packet to send [22:27:06]OFD Sender: No OFD packet to send [22:27:11]OFD Sender: No OFD packet to send [22:27:16]OFD Sender: No OFD packet to send [22:27:21]OFD Sender: No OFD packet to send [22:27:26]OFD Sender: No OFD packet to send [22:27:31]OFD Sender: No OFD packet to send [22:27:36]OFD Sender: No OFD packet to send [22:27:41]OFD Sender: No OFD packet to send [22:27:46]OFD Sender: No OFD packet to send [22:27:51]OFD Sender: No OFD packet to send [22:27:56]OFD Sender: No OFD packet to send [22:28:01]OFD Sender: No OFD packet to send [22:28:06]OFD Sender: No OFD packet to send [22:28:11]OFD Sender: No OFD packet to send [22:28:16]OFD Sender: No OFD packet to send [22:28:21]OFD Sender: No OFD packet to send [22:28:24]ConnectInit Can't connect to host [22:28:26]OFD Sender: No OFD packet to send [22:28:31]OFD Sender: No OFD packet to send [22:28:36]OFD Sender: No OFD packet to send [22:28:41]OFD Sender: No OFD packet to send [22:28:46]OFD Sender: No OFD packet to send [22:28:51]OFD Sender: No OFD packet to send [22:28:56]OFD Sender: No OFD packet to send [22:29:01]OFD Sender: No OFD packet to send [22:29:06]OFD Sender: No OFD packet to send [22:29:11]OFD Sender: No OFD packet to send [22:29:16]OFD Sender: No OFD packet to send [22:29:21]OFD Sender: No OFD packet to send [22:29:26]OFD Sender: No OFD packet to send [22:29:31]OFD Sender: No OFD packet to send [22:29:36]OFD Sender: No OFD packet to send [22:29:41]OFD Sender: No OFD packet to send [22:29:46]OFD Sender: No OFD packet to send [22:29:51]OFD Sender: No OFD packet to send [22:29:56]OFD Sender: No OFD packet to send [22:30:01]OFD Sender: No OFD packet to send [22:30:06]OFD Sender: No OFD packet to send [22:30:11]OFD Sender: No OFD packet to send [22:30:16]OFD Sender: No OFD packet to send [22:30:21]OFD Sender: No OFD packet to send [22:30:26]OFD Sender: No OFD packet to send [22:30:31]OFD Sender: No OFD packet to send [22:30:36]OFD Sender: No OFD packet to send [22:30:41]OFD Sender: No OFD packet to send [22:30:42]ConnectInit Can't connect to host [22:30:46]OFD Sender: No OFD packet to send [22:30:51]OFD Sender: No OFD packet to send [22:30:56]OFD Sender: No OFD packet to send [22:31:01]OFD Sender: No OFD packet to send [22:31:06]OFD Sender: No OFD packet to send [22:31:11]OFD Sender: No OFD packet to send [22:31:16]OFD Sender: No OFD packet to send [22:31:21]OFD Sender: No OFD packet to send [22:31:26]OFD Sender: No OFD packet to send [22:31:31]OFD Sender: No OFD packet to send [22:31:36]OFD Sender: No OFD packet to send [22:31:41]OFD Sender: No OFD packet to send [22:31:46]OFD Sender: No OFD packet to send [22:31:51]OFD Sender: No OFD packet to send [22:31:56]OFD Sender: No OFD packet to send [22:32:01]OFD Sender: No OFD packet to send [22:32:06]OFD Sender: No OFD packet to send [22:32:11]OFD Sender: No OFD packet to send [22:32:16]OFD Sender: No OFD packet to send [22:32:21]OFD Sender: No OFD packet to send [22:32:26]OFD Sender: No OFD packet to send [22:32:31]OFD Sender: No OFD packet to send [22:32:36]OFD Sender: No OFD packet to send [22:32:41]OFD Sender: No OFD packet to send [22:32:46]OFD Sender: No OFD packet to send [22:32:51]OFD Sender: No OFD packet to send [22:32:56]OFD Sender: No OFD packet to send [22:33:00]ConnectInit Can't connect to host [22:33:01]OFD Sender: No OFD packet to send [22:33:06]OFD Sender: No OFD packet to send [22:33:11]OFD Sender: No OFD packet to send [22:33:16]OFD Sender: No OFD packet to send [22:33:21]OFD Sender: No OFD packet to send [22:33:26]OFD Sender: No OFD packet to send [22:33:31]OFD Sender: No OFD packet to send [22:33:36]OFD Sender: No OFD packet to send [22:33:41]OFD Sender: No OFD packet to send [22:33:46]OFD Sender: No OFD packet to send [22:33:51]OFD Sender: No OFD packet to send [22:33:56]OFD Sender: No OFD packet to send [22:34:01]OFD Sender: No OFD packet to send [22:34:06]OFD Sender: No OFD packet to send [22:34:11]OFD Sender: No OFD packet to send [22:34:16]OFD Sender: No OFD packet to send [22:34:21]OFD Sender: No OFD packet to send [22:34:26]OFD Sender: No OFD packet to send [22:34:31]OFD Sender: No OFD packet to send [22:34:36]OFD Sender: No OFD packet to send [22:34:41]OFD Sender: No OFD packet to send [22:34:46]OFD Sender: No OFD packet to send [22:34:51]OFD Sender: No OFD packet to send [22:34:56]OFD Sender: No OFD packet to send [22:35:01]OFD Sender: No OFD packet to send [22:35:06]OFD Sender: No OFD packet to send [22:35:11]OFD Sender: No OFD packet to send [22:35:16]OFD Sender: No OFD packet to send [22:35:18]ConnectInit Can't connect to host [22:35:21]OFD Sender: No OFD packet to send [22:35:26]OFD Sender: No OFD packet to send [22:35:31]OFD Sender: No OFD packet to send [22:35:36]OFD Sender: No OFD packet to send [22:35:41]OFD Sender: No OFD packet to send [22:35:46]OFD Sender: No OFD packet to send [22:35:51]OFD Sender: No OFD packet to send [22:35:56]OFD Sender: No OFD packet to send [22:36:01]OFD Sender: No OFD packet to send [22:36:06]OFD Sender: No OFD packet to send [22:36:11]OFD Sender: No OFD packet to send [22:36:16]OFD Sender: No OFD packet to send [22:36:21]OFD Sender: No OFD packet to send [22:36:26]OFD Sender: No OFD packet to send [22:36:31]OFD Sender: No OFD packet to send [22:36:36]OFD Sender: No OFD packet to send [22:36:41]OFD Sender: No OFD packet to send [22:36:46]OFD Sender: No OFD packet to send [22:36:51]OFD Sender: No OFD packet to send [22:36:56]OFD Sender: No OFD packet to send [22:37:01]OFD Sender: No OFD packet to send [22:37:06]OFD Sender: No OFD packet to send [22:37:11]OFD Sender: No OFD packet to send [22:37:16]OFD Sender: No OFD packet to send [22:37:21]OFD Sender: No OFD packet to send [22:37:26]OFD Sender: No OFD packet to send [22:37:31]OFD Sender: No OFD packet to send [22:37:36]OFD Sender: No OFD packet to send [22:37:41]OFD Sender: No OFD packet to send [22:37:46]OFD Sender: No OFD packet to send [22:37:51]OFD Sender: No OFD packet to send [22:37:56]OFD Sender: No OFD packet to send [22:38:01]OFD Sender: No OFD packet to send [22:38:06]OFD Sender: No OFD packet to send [22:38:11]OFD Sender: No OFD packet to send [22:38:16]OFD Sender: No OFD packet to send [22:38:21]OFD Sender: No OFD packet to send [22:38:26]OFD Sender: No OFD packet to send [22:38:31]OFD Sender: No OFD packet to send [22:38:36]OFD Sender: No OFD packet to send [22:38:41]OFD Sender: No OFD packet to send [22:38:46]OFD Sender: No OFD packet to send [22:38:51]OFD Sender: No OFD packet to send [22:38:56]OFD Sender: No OFD packet to send [22:39:01]OFD Sender: No OFD packet to send [22:39:06]OFD Sender: No OFD packet to send [22:39:11]OFD Sender: No OFD packet to send [22:39:16]OFD Sender: No OFD packet to send [22:39:21]OFD Sender: No OFD packet to send [22:39:27]OFD Sender: No OFD packet to send [22:39:32]OFD Sender: No OFD packet to send [22:39:37]OFD Sender: No OFD packet to send [22:39:42]OFD Sender: No OFD packet to send [22:39:47]OFD Sender: No OFD packet to send [22:39:52]OFD Sender: No OFD packet to send [22:39:57]OFD Sender: No OFD packet to send [22:40:02]OFD Sender: No OFD packet to send [22:40:07]OFD Sender: No OFD packet to send [22:40:12]OFD Sender: No OFD packet to send [22:40:17]OFD Sender: No OFD packet to send [22:40:22]OFD Sender: No OFD packet to send [22:40:27]OFD Sender: No OFD packet to send [22:40:32]OFD Sender: No OFD packet to send [22:40:37]OFD Sender: No OFD packet to send [22:40:42]OFD Sender: No OFD packet to send [22:40:47]OFD Sender: No OFD packet to send [22:40:52]OFD Sender: No OFD packet to send [22:40:57]OFD Sender: No OFD packet to send [22:41:02]OFD Sender: No OFD packet to send [22:41:07]OFD Sender: No OFD packet to send [22:41:12]OFD Sender: No OFD packet to send [22:41:17]OFD Sender: No OFD packet to send [22:41:22]OFD Sender: No OFD packet to send [22:41:27]OFD Sender: No OFD packet to send [22:41:32]OFD Sender: No OFD packet to send [22:41:37]OFD Sender: No OFD packet to send [22:41:42]OFD Sender: No OFD packet to send [22:41:47]OFD Sender: No OFD packet to send [22:41:52]OFD Sender: No OFD packet to send [22:41:57]OFD Sender: No OFD packet to send [22:42:02]OFD Sender: No OFD packet to send [22:42:07]OFD Sender: No OFD packet to send [22:42:12]OFD Sender: No OFD packet to send [22:42:17]OFD Sender: No OFD packet to send [22:42:22]OFD Sender: No OFD packet to send [22:42:27]OFD Sender: No OFD packet to send [22:42:32]OFD Sender: No OFD packet to send [22:42:37]OFD Sender: No OFD packet to send [22:42:42]OFD Sender: No OFD packet to send [22:42:47]OFD Sender: No OFD packet to send [22:42:52]OFD Sender: No OFD packet to send [22:42:57]OFD Sender: No OFD packet to send [22:43:02]OFD Sender: No OFD packet to send [22:43:07]OFD Sender: No OFD packet to send [22:43:12]OFD Sender: No OFD packet to send [22:43:17]OFD Sender: No OFD packet to send [22:43:22]OFD Sender: No OFD packet to send [22:43:27]OFD Sender: No OFD packet to send [22:43:32]OFD Sender: No OFD packet to send [22:43:37]OFD Sender: No OFD packet to send [22:43:42]OFD Sender: No OFD packet to send [22:43:47]OFD Sender: No OFD packet to send [22:43:52]OFD Sender: No OFD packet to send [22:43:57]OFD Sender: No OFD packet to send [22:44:02]OFD Sender: No OFD packet to send [22:44:07]OFD Sender: No OFD packet to send [22:44:12]OFD Sender: No OFD packet to send [22:44:17]OFD Sender: No OFD packet to send [22:44:22]OFD Sender: No OFD packet to send [22:44:27]OFD Sender: No OFD packet to send [22:44:32]OFD Sender: No OFD packet to send [22:44:37]OFD Sender: No OFD packet to send [22:44:42]OFD Sender: No OFD packet to send [22:44:47]OFD Sender: No OFD packet to send [22:44:52]OFD Sender: No OFD packet to send [22:44:57]OFD Sender: No OFD packet to send [22:45:02]OFD Sender: No OFD packet to send [22:45:07]OFD Sender: No OFD packet to send [22:45:12]OFD Sender: No OFD packet to send [22:45:17]OFD Sender: No OFD packet to send [22:45:22]OFD Sender: No OFD packet to send [22:45:27]OFD Sender: No OFD packet to send [22:45:32]OFD Sender: No OFD packet to send [22:45:37]OFD Sender: No OFD packet to send [22:45:42]OFD Sender: No OFD packet to send [22:45:47]OFD Sender: No OFD packet to send [22:45:52]OFD Sender: No OFD packet to send [22:45:57]OFD Sender: No OFD packet to send [22:46:02]OFD Sender: No OFD packet to send [22:46:07]OFD Sender: No OFD packet to send [22:46:12]OFD Sender: No OFD packet to send [22:46:17]OFD Sender: No OFD packet to send [22:46:22]OFD Sender: No OFD packet to send [22:46:27]OFD Sender: No OFD packet to send [22:46:32]OFD Sender: No OFD packet to send [22:46:37]OFD Sender: No OFD packet to send [22:46:42]OFD Sender: No OFD packet to send [22:46:47]OFD Sender: No OFD packet to send [22:46:52]OFD Sender: No OFD packet to send [22:46:57]OFD Sender: No OFD packet to send [22:47:02]OFD Sender: No OFD packet to send [22:47:07]OFD Sender: No OFD packet to send [22:47:12]OFD Sender: No OFD packet to send [22:47:17]OFD Sender: No OFD packet to send [22:47:22]OFD Sender: No OFD packet to send [22:47:27]OFD Sender: No OFD packet to send [22:47:32]OFD Sender: No OFD packet to send [22:47:37]OFD Sender: No OFD packet to send [22:47:42]OFD Sender: No OFD packet to send [22:47:47]OFD Sender: No OFD packet to send [22:47:52]OFD Sender: No OFD packet to send [22:47:57]OFD Sender: No OFD packet to send [22:48:02]OFD Sender: No OFD packet to send [22:48:07]OFD Sender: No OFD packet to send [22:48:12]OFD Sender: No OFD packet to send [22:48:17]OFD Sender: No OFD packet to send [22:48:22]OFD Sender: No OFD packet to send [22:48:27]OFD Sender: No OFD packet to send [22:48:32]OFD Sender: No OFD packet to send [22:48:37]OFD Sender: No OFD packet to send [22:48:42]OFD Sender: No OFD packet to send [22:48:47]OFD Sender: No OFD packet to send [22:48:52]OFD Sender: No OFD packet to send [22:48:57]OFD Sender: No OFD packet to send [22:49:02]OFD Sender: No OFD packet to send [22:49:07]OFD Sender: No OFD packet to send [22:49:12]OFD Sender: No OFD packet to send [22:49:17]OFD Sender: No OFD packet to send [22:49:22]OFD Sender: No OFD packet to send [22:49:27]OFD Sender: No OFD packet to send [22:49:32]OFD Sender: No OFD packet to send [22:49:37]OFD Sender: No OFD packet to send [22:49:42]OFD Sender: No OFD packet to send [22:49:47]OFD Sender: No OFD packet to send [22:49:52]OFD Sender: No OFD packet to send [22:49:57]OFD Sender: No OFD packet to send [22:50:02]OFD Sender: No OFD packet to send [22:50:07]OFD Sender: No OFD packet to send [22:50:12]OFD Sender: No OFD packet to send [22:50:17]OFD Sender: No OFD packet to send [22:50:22]OFD Sender: No OFD packet to send [22:50:27]OFD Sender: No OFD packet to send [22:50:32]OFD Sender: No OFD packet to send [22:50:37]OFD Sender: No OFD packet to send [22:50:42]OFD Sender: No OFD packet to send [22:50:47]OFD Sender: No OFD packet to send [22:50:52]OFD Sender: No OFD packet to send [22:50:57]OFD Sender: No OFD packet to send [22:51:02]OFD Sender: No OFD packet to send [22:51:07]OFD Sender: No OFD packet to send [22:51:12]OFD Sender: No OFD packet to send [22:51:17]OFD Sender: No OFD packet to send [22:51:22]OFD Sender: No OFD packet to send [22:51:27]OFD Sender: No OFD packet to send [22:51:32]OFD Sender: No OFD packet to send [22:51:37]OFD Sender: No OFD packet to send [22:51:42]OFD Sender: No OFD packet to send [22:51:47]OFD Sender: No OFD packet to send [22:51:52]OFD Sender: No OFD packet to send [22:51:57]OFD Sender: No OFD packet to send [22:52:02]OFD Sender: No OFD packet to send [22:52:07]OFD Sender: No OFD packet to send [22:52:12]OFD Sender: No OFD packet to send [22:52:17]OFD Sender: No OFD packet to send [22:52:22]OFD Sender: No OFD packet to send [22:52:27]OFD Sender: No OFD packet to send [22:52:32]OFD Sender: No OFD packet to send [22:52:37]OFD Sender: No OFD packet to send [22:52:42]OFD Sender: No OFD packet to send [22:52:47]OFD Sender: No OFD packet to send [22:52:52]OFD Sender: No OFD packet to send [22:52:57]OFD Sender: No OFD packet to send [22:53:02]OFD Sender: No OFD packet to send [22:53:07]OFD Sender: No OFD packet to send [22:53:12]OFD Sender: No OFD packet to send [22:53:17]OFD Sender: No OFD packet to send [22:53:22]OFD Sender: No OFD packet to send [22:53:27]OFD Sender: No OFD packet to send [22:53:32]OFD Sender: No OFD packet to send [22:53:37]OFD Sender: No OFD packet to send [22:53:42]OFD Sender: No OFD packet to send [22:53:47]OFD Sender: No OFD packet to send [22:53:52]OFD Sender: No OFD packet to send [22:53:57]OFD Sender: No OFD packet to send [22:54:02]OFD Sender: No OFD packet to send [22:54:07]OFD Sender: No OFD packet to send [22:54:12]OFD Sender: No OFD packet to send [22:54:17]OFD Sender: No OFD packet to send [22:54:22]OFD Sender: No OFD packet to send [22:54:27]OFD Sender: No OFD packet to send [22:54:32]OFD Sender: No OFD packet to send [22:54:37]OFD Sender: No OFD packet to send [22:54:42]OFD Sender: No OFD packet to send [22:54:47]OFD Sender: No OFD packet to send [22:54:52]OFD Sender: No OFD packet to send [22:54:57]OFD Sender: No OFD packet to send [22:55:02]OFD Sender: No OFD packet to send [22:55:07]OFD Sender: No OFD packet to send [22:55:12]OFD Sender: No OFD packet to send [22:55:17]OFD Sender: No OFD packet to send [22:55:22]OFD Sender: No OFD packet to send [22:55:27]OFD Sender: No OFD packet to send [22:55:32]OFD Sender: No OFD packet to send [22:55:37]OFD Sender: No OFD packet to send [22:55:42]OFD Sender: No OFD packet to send [22:55:47]OFD Sender: No OFD packet to send [22:55:52]OFD Sender: No OFD packet to send [22:55:57]OFD Sender: No OFD packet to send [22:56:02]OFD Sender: No OFD packet to send [22:56:07]OFD Sender: No OFD packet to send [22:56:12]OFD Sender: No OFD packet to send [22:56:17]OFD Sender: No OFD packet to send [22:56:22]OFD Sender: No OFD packet to send [22:56:27]OFD Sender: No OFD packet to send [22:56:32]OFD Sender: No OFD packet to send [22:56:37]OFD Sender: No OFD packet to send [22:56:42]OFD Sender: No OFD packet to send [22:56:47]OFD Sender: No OFD packet to send [22:56:52]OFD Sender: No OFD packet to send [22:56:57]OFD Sender: No OFD packet to send [22:57:02]OFD Sender: No OFD packet to send [22:57:07]OFD Sender: No OFD packet to send [22:57:12]OFD Sender: No OFD packet to send [22:57:17]OFD Sender: No OFD packet to send [22:57:22]OFD Sender: No OFD packet to send [22:57:27]OFD Sender: No OFD packet to send [22:57:32]OFD Sender: No OFD packet to send [22:57:37]OFD Sender: No OFD packet to send [22:57:42]OFD Sender: No OFD packet to send [22:57:47]OFD Sender: No OFD packet to send [22:57:52]OFD Sender: No OFD packet to send [22:57:57]OFD Sender: No OFD packet to send [22:58:02]OFD Sender: No OFD packet to send [22:58:07]OFD Sender: No OFD packet to send [22:58:12]OFD Sender: No OFD packet to send [22:58:17]OFD Sender: No OFD packet to send [22:58:22]OFD Sender: No OFD packet to send [22:58:27]OFD Sender: No OFD packet to send [22:58:32]OFD Sender: No OFD packet to send [22:58:37]OFD Sender: No OFD packet to send [22:58:42]OFD Sender: No OFD packet to send [22:58:47]OFD Sender: No OFD packet to send [22:58:52]OFD Sender: No OFD packet to send [22:58:57]OFD Sender: No OFD packet to send [22:59:02]OFD Sender: No OFD packet to send [22:59:07]OFD Sender: No OFD packet to send [22:59:12]OFD Sender: No OFD packet to send [22:59:17]OFD Sender: No OFD packet to send [22:59:22]OFD Sender: No OFD packet to send [22:59:27]OFD Sender: No OFD packet to send [22:59:32]OFD Sender: No OFD packet to send [22:59:37]OFD Sender: No OFD packet to send [22:59:42]OFD Sender: No OFD packet to send [22:59:47]OFD Sender: No OFD packet to send [22:59:52]OFD Sender: No OFD packet to send [22:59:57]OFD Sender: No OFD packet to send [23:00:02]OFD Sender: No OFD packet to send [23:00:07]OFD Sender: No OFD packet to send [23:00:12]OFD Sender: No OFD packet to send [23:00:17]OFD Sender: No OFD packet to send [23:00:22]OFD Sender: No OFD packet to send [23:00:27]OFD Sender: No OFD packet to send [23:00:32]OFD Sender: No OFD packet to send [23:00:37]OFD Sender: No OFD packet to send [23:00:42]OFD Sender: No OFD packet to send [23:00:47]OFD Sender: No OFD packet to send [23:00:53]OFD Sender: No OFD packet to send [23:00:58]OFD Sender: No OFD packet to send [23:01:03]OFD Sender: No OFD packet to send [23:01:08]OFD Sender: No OFD packet to send [23:01:13]OFD Sender: No OFD packet to send [23:01:18]OFD Sender: No OFD packet to send [23:01:23]OFD Sender: No OFD packet to send [23:01:28]OFD Sender: No OFD packet to send [23:01:33]OFD Sender: No OFD packet to send [23:01:38]OFD Sender: No OFD packet to send [23:01:43]OFD Sender: No OFD packet to send [23:01:48]OFD Sender: No OFD packet to send [23:01:53]OFD Sender: No OFD packet to send [23:01:58]OFD Sender: No OFD packet to send [23:02:03]OFD Sender: No OFD packet to send [23:02:08]OFD Sender: No OFD packet to send [23:02:13]OFD Sender: No OFD packet to send [23:02:18]OFD Sender: No OFD packet to send [23:02:23]OFD Sender: No OFD packet to send [23:02:28]OFD Sender: No OFD packet to send [23:02:33]OFD Sender: No OFD packet to send [23:02:38]OFD Sender: No OFD packet to send [23:02:43]OFD Sender: No OFD packet to send [23:02:48]OFD Sender: No OFD packet to send [23:02:53]OFD Sender: No OFD packet to send [23:02:58]OFD Sender: No OFD packet to send [23:03:03]OFD Sender: No OFD packet to send [23:03:08]OFD Sender: No OFD packet to send [23:03:13]OFD Sender: No OFD packet to send [23:03:18]OFD Sender: No OFD packet to send [23:03:23]OFD Sender: No OFD packet to send [23:03:28]OFD Sender: No OFD packet to send [23:03:33]OFD Sender: No OFD packet to send [23:03:38]OFD Sender: No OFD packet to send [23:03:43]OFD Sender: No OFD packet to send [23:03:48]OFD Sender: No OFD packet to send [23:03:53]OFD Sender: No OFD packet to send [23:03:58]OFD Sender: No OFD packet to send [23:04:03]OFD Sender: No OFD packet to send [23:04:08]OFD Sender: No OFD packet to send [23:04:13]OFD Sender: No OFD packet to send [23:04:18]OFD Sender: No OFD packet to send [23:04:23]OFD Sender: No OFD packet to send [23:04:28]OFD Sender: No OFD packet to send [23:04:33]OFD Sender: No OFD packet to send [23:04:38]OFD Sender: No OFD packet to send [23:04:43]OFD Sender: No OFD packet to send [23:04:48]OFD Sender: No OFD packet to send [23:04:53]OFD Sender: No OFD packet to send [23:04:58]OFD Sender: No OFD packet to send [23:05:03]OFD Sender: No OFD packet to send [23:05:08]OFD Sender: No OFD packet to send [23:05:13]OFD Sender: No OFD packet to send [23:05:18]OFD Sender: No OFD packet to send [23:05:23]OFD Sender: No OFD packet to send [23:05:28]OFD Sender: No OFD packet to send [23:05:33]OFD Sender: No OFD packet to send [23:05:38]OFD Sender: No OFD packet to send [23:05:43]OFD Sender: No OFD packet to send [23:05:48]OFD Sender: No OFD packet to send [23:05:53]OFD Sender: No OFD packet to send [23:05:58]OFD Sender: No OFD packet to send [23:06:03]OFD Sender: No OFD packet to send [23:06:08]OFD Sender: No OFD packet to send [23:06:13]OFD Sender: No OFD packet to send [23:06:18]OFD Sender: No OFD packet to send [23:06:23]OFD Sender: No OFD packet to send [23:06:28]OFD Sender: No OFD packet to send [23:06:33]OFD Sender: No OFD packet to send [23:06:38]OFD Sender: No OFD packet to send [23:06:43]OFD Sender: No OFD packet to send [23:06:48]OFD Sender: No OFD packet to send [23:06:53]OFD Sender: No OFD packet to send [23:06:58]OFD Sender: No OFD packet to send [23:07:03]OFD Sender: No OFD packet to send [23:07:08]OFD Sender: No OFD packet to send [23:07:13]OFD Sender: No OFD packet to send [23:07:18]OFD Sender: No OFD packet to send [23:07:23]OFD Sender: No OFD packet to send [23:07:28]OFD Sender: No OFD packet to send [23:07:33]OFD Sender: No OFD packet to send [23:07:38]OFD Sender: No OFD packet to send [23:07:43]OFD Sender: No OFD packet to send [23:07:48]OFD Sender: No OFD packet to send [23:07:53]OFD Sender: No OFD packet to send [23:07:58]OFD Sender: No OFD packet to send [23:08:03]OFD Sender: No OFD packet to send [23:08:08]OFD Sender: No OFD packet to send [23:08:13]OFD Sender: No OFD packet to send [23:08:18]OFD Sender: No OFD packet to send [23:08:23]OFD Sender: No OFD packet to send [23:08:28]OFD Sender: No OFD packet to send [23:08:33]OFD Sender: No OFD packet to send [23:08:38]OFD Sender: No OFD packet to send [23:08:43]OFD Sender: No OFD packet to send [23:08:48]OFD Sender: No OFD packet to send [23:08:53]OFD Sender: No OFD packet to send [23:08:58]OFD Sender: No OFD packet to send [23:09:03]OFD Sender: No OFD packet to send [23:09:08]OFD Sender: No OFD packet to send [23:09:13]OFD Sender: No OFD packet to send [23:09:18]OFD Sender: No OFD packet to send [23:09:23]OFD Sender: No OFD packet to send [23:09:28]OFD Sender: No OFD packet to send [23:09:33]OFD Sender: No OFD packet to send [23:09:38]OFD Sender: No OFD packet to send [23:09:43]OFD Sender: No OFD packet to send [23:09:48]OFD Sender: No OFD packet to send [23:09:53]OFD Sender: No OFD packet to send [23:09:58]OFD Sender: No OFD packet to send [23:10:03]OFD Sender: No OFD packet to send [23:10:08]OFD Sender: No OFD packet to send [23:10:13]OFD Sender: No OFD packet to send [23:10:18]OFD Sender: No OFD packet to send [23:10:23]OFD Sender: No OFD packet to send [23:10:28]OFD Sender: No OFD packet to send [23:10:33]OFD Sender: No OFD packet to send [23:10:38]OFD Sender: No OFD packet to send [23:10:43]OFD Sender: No OFD packet to send [23:10:48]OFD Sender: No OFD packet to send [23:10:53]OFD Sender: No OFD packet to send [23:10:58]OFD Sender: No OFD packet to send [23:11:03]OFD Sender: No OFD packet to send [23:11:08]OFD Sender: No OFD packet to send [23:11:13]OFD Sender: No OFD packet to send [23:11:18]OFD Sender: No OFD packet to send [23:11:23]OFD Sender: No OFD packet to send [23:11:28]OFD Sender: No OFD packet to send [23:11:33]OFD Sender: No OFD packet to send [23:11:35]accept exits with 9 [23:11:35]New connection [23:11:35]New thread 3066555748 created [23:11:35]Thread 3066699108 joined [23:11:35]Waiting for new connection... [23:11:35] Sock 9.Parse request [23:11:35]Sock 9.Check first char [23:11:35]Sock 9.First char is OK [23:11:35]request: POST /json_proto HTTP/1.0 [23:11:35]Method: POST [23:11:35]URL: /json_proto [23:11:35]Method is POST - this is cgi request [23:11:35]url: /json_proto [23:11:35]query_string will be loaded in cgi processing [23:11:35]execute_cgi json_proto POST (null) [23:11:35]execute_cgi path=json_proto method=POST [23:11:35]POST find Content-Length [23:11:35]Host: 172.17.36.199:8080 [23:11:35]Content-Length: 847 [23:11:35]Content-Type: application/json [23:11:35] [23:11:35]POST finish read [23:11:35]Found Content-Length = 847 [23:11:35]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)176433", "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" : 2.000, "sum" : 250.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" : 250.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:11:35]execute_script... [23:11:35]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)176433", "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" : 2.000, "sum" : 250.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" : 250.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:11:35]POST & json_proto [23:11:35]process_json_proto [23:11:35]json parsed OK: [23:11:35]protocol is kg_v1.0 [23:11:35]action value=close_receipt [23:11:35]process_action close_receipt [23:11:35]cmd_close_receipt [23:11:35]MH_GetDate [23:11:35]Write to MH i2c: F0 00 00 D0 08 C7 [23:11:35]Write i2c OK [23:11:35]MH_I2C_Read... [23:11:35]Read from MH i2c: F0 [23:11:35]MH_I2C_Read... [23:11:35]Read from MH i2c: F0 09 00 [23:11:35]MH_I2C_Read... [23:11:35]Read from MH i2c: F0 09 00 D0 08 00 28 FC 5C 66 91 46 04 65 F6 [23:11:35]GetLastDocTimeStamp 1717366745 [23:11:35]current date 1717369896 [23:11:35]FM_GetShiftState [23:11:35]SAM_PROTO_GetShiftState [23:11:35]wFMCommunicate request_size=4 [23:11:35]MH_SAM_APDU [23:11:35]CAPDU: 80 13 01 00 [23:11:35]Write to MH i2c: E2 08 00 D1 08 80 13 01 00 00 00 00 00 56 [23:11:35]Write i2c OK [23:11:35]MH_I2C_Read... [23:11:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:11:35]Read from MH i2c: E2 [23:11:35]MH_I2C_Read... [23:11:35]Read from MH i2c: E2 0E 00 [23:11:35]MH_I2C_Read... [23:11:35]Read from MH i2c: E2 0E 00 D1 08 00 09 00 01 54 BB 5B 66 00 00 00 00 90 00 32 [23:11:35]RAPDU: 09 00 01 54 BB 5B 66 00 00 00 00 90 00 [23:11:35]wFMCommunicate OK [23:11:35]SAM_PROTO_GetShiftState done [23:11:35]FM_GetShiftState done [23:11:35]opened in 1717287764 [23:11:35]opened+sec_in_day 1717374164 [23:11:35]quantity*price = 25000 [23:11:35]sum+1 = 25001 [23:11:35]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 250.00 НСП 1% : 2.21 НДС 12% : 26.55 Наличными: 0.00 Безнал.: 250.00 Место: АЗС № 63 "Партнер Нефть" Адрес: 720001, с. Чон Сары Ой, ул. Западная 3, 42.603516, 76.894901 СНО: Общий режим Чек 131 02.06.2024 23:11 Смена: 375 ФФД: 1.0 ЗНМ: 0300000037 РНМ: 0000000000092680 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000874882 ФД: 39873 ФПД: 48510584058878 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240602T231136&type=1&operation_type=1&fn_number=0000000000874882&fd_number=39873&fm=48510584058878&tin=02508201610067®Number=0000000000092680&sum=25000 0 [23:11:36]StoreToDocumentArchive [23:11:36]shift 375 fd 39873 [23:11:36]save to /storage/0375/doc_00039873 [23:11:36]save last doc name /storage/0375/doc_00039873 to /storage/kkm_last_doc_name [23:11:36]save OK [23:11:36]Clear old archive folders... [23:11:36]ProcessDocumentItem done err = 0, tmpTLVsize=282 [23:11:36]tlvbuf is 00AF0400 [23:11:36]SAM_PROTO_ClearQueue [23:11:36]wFMCommunicate request_size=4 [23:11:36]MH_SAM_APDU [23:11:36]CAPDU: 80 09 00 00 [23:11:36]Write to MH i2c: E2 08 00 DE 08 80 09 00 00 00 00 00 00 58 [23:11:36]Write i2c OK [23:11:36]MH_I2C_Read... [23:11:36]Read from MH i2c: E2 [23:11:36]MH_I2C_Read... [23:11:36]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:11:36]Read from MH i2c: E2 03 00 [23:11:36]MH_I2C_Read... [23:11:36]Read from MH i2c: E2 03 00 DE 08 00 90 00 5A [23:11:36]RAPDU: 90 00 [23:11:36]wFMCommunicate OK [23:11:36]SAM_PROTO_ClearQueue done [23:11:36]KKMCreateOFDPacket [23:11:36]OFDProtocolAddRootSTLVToBuf [23:11:36]FM_MakeSignedData [23:11:36]FM_MakeSignedData [23:11:36]SAM_PROTO_SignData [23:11:36]wFMCommunicate request_size=4 [23:11:36]MH_SAM_APDU [23:11:36]CAPDU: 80 0D 01 02 [23:11:36]Write to MH i2c: E2 08 00 DF 08 80 0D 01 02 00 00 00 00 60 [23:11:36]Write i2c OK [23:11:36]MH_I2C_Read... [23:11:36]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:11:36]Read from MH i2c: E2 [23:11:36]MH_I2C_Read... [23:11:36]Read from MH i2c: E2 03 00 [23:11:36]MH_I2C_Read... [23:11:36]Read from MH i2c: E2 03 00 DF 08 00 90 00 5B [23:11:36]RAPDU: 90 00 [23:11:36]wFMCommunicate OK [23:11:36]wFMCommunicate request_size=255 [23:11:36]MH_SAM_APDU [23:11:36]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 D0 07 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 A8 61 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A8 61 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DD 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5F 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 A8 61 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 83 00 00 00 F4 03 04 00 28 FC 5C 66 0E 04 04 00 77 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 11 04 [23:11:36]Write to MH i2c: E2 02 01 E0 08 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 D0 07 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 A8 61 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A8 61 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DD 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5F 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 A8 61 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 83 00 00 00 F4 03 04 00 28 FC 5C 66 0E 04 04 00 77 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 11 04 00 00 DD [23:11:36]Write i2c OK [23:11:36]MH_I2C_Read... [23:11:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:11:36]Read from MH i2c: E2 [23:11:36]MH_I2C_Read... [23:11:36]Read from MH i2c: E2 03 00 [23:11:36]MH_I2C_Read... [23:11:36]Read from MH i2c: E2 03 00 E0 08 00 90 00 5C [23:11:36]RAPDU: 90 00 [23:11:36]wFMCommunicate OK [23:11:36]wFMCommunicate request_size=41 [23:11:36]MH_SAM_APDU [23:11:36]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 10 04 04 00 C1 9B 00 00 35 04 06 00 2C 1E C0 21 73 FE [23:11:36]Write to MH i2c: E2 2C 00 E1 08 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 10 04 04 00 C1 9B 00 00 35 04 06 00 2C 1E C0 21 73 FE 00 00 2F [23:11:36]Write i2c OK [23:11:36]MH_I2C_Read... [23:11:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:11:36]Read from MH i2c: E2 [23:11:36]MH_I2C_Read... [23:11:36]Read from MH i2c: E2 03 00 [23:11:36]MH_I2C_Read... [23:11:36]Read from MH i2c: E2 03 00 E1 08 00 90 00 5D [23:11:36]RAPDU: 90 00 [23:11:36]wFMCommunicate OK [23:11:36]wFMCommunicate request_size=4 [23:11:36]MH_SAM_APDU [23:11:36]CAPDU: 80 0D 03 02 [23:11:36]Write to MH i2c: E2 08 00 E2 08 80 0D 03 02 00 00 00 00 65 [23:11:36]Write i2c OK [23:11:36]MH_I2C_Read... [23:11:36]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:11:36]Read from MH i2c: E2 [23:11:36]MH_I2C_Read... [23:11:36]Read from MH i2c: E2 0B 00 [23:11:36]MH_I2C_Read... [23:11:36]Read from MH i2c: E2 0B 00 E2 08 00 BA 5D 81 3A 50 0E 42 C5 90 00 9D [23:11:36]RAPDU: BA 5D 81 3A 50 0E 42 C5 90 00 [23:11:36]wFMCommunicate OK [23:11:36]SAM_PROTO_SignData done [23:11:36]FM_MakeSignedData done [23:11:36]CreateOFDProtocolMessage [23:11:36]wFMCommunicate request_size=4 [23:11:36]MH_SAM_APDU [23:11:36]CAPDU: 80 11 00 00 [23:11:36]Write to MH i2c: E2 08 00 E3 08 80 11 00 00 00 00 00 00 65 [23:11:36]Write i2c OK [23:11:36]MH_I2C_Read... [23:11:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:11:36]Read from MH i2c: E2 [23:11:36]MH_I2C_Read... [23:11:36]Read from MH i2c: E2 17 00 [23:11:36]MH_I2C_Read... [23:11:36]Read from MH i2c: E2 17 00 E3 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 90 00 BD [23:11:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 90 00 [23:11:36]wFMCommunicate OK [23:11:36]CreateOFDProtocolMessage done [23:11:36]OFDSenderStorePacket 39873 [23:11:36]StoreOFDPacket docnum=39873 [23:11:36]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 2E 01 00 00 6A E1 26 01 5C DD 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 D0 07 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 A8 61 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A8 61 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DD 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5F 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 A8 61 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 83 00 00 00 F4 03 04 00 28 FC 5C 66 0E 04 04 00 77 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 10 04 04 00 C1 9B 00 00 35 04 06 00 2C 1E C0 21 73 FE BA 5D 81 3A 50 0E 42 C5 [23:11:36]CheckFolder [23:11:36]dirname=/storage/ofd_packets [23:11:36]CheckFolder done [23:11:36]ProducePacketName [23:11:36]name=ofd_packets/00039873 [23:11:36]NVStorageSaveData ofd_packets/00039873 [23:11:36]File name is /storage/ofd_packets/00039873 [23:11:36]Write 332 bytes [23:11:36]NVStorageSaveData done [23:11:36]OFDSenderStorePacket done [23:11:36]KKMCreateOFDPacket done [23:11:36]NVStorageSaveData kkm_last_timestamp [23:11:36]File name is /storage/kkm_last_timestamp [23:11:36]Write 4 bytes [23:11:36]NVStorageSaveData done [23:11:36]ExternCall_PrintAddStr [23:11:36]wPrintStart [23:11:36]Write to MH i2c: 01 00 00 E4 08 EC [23:11:36]Write i2c OK [23:11:36]MH_I2C_Read... [23:11:36]Read from MH i2c: 01 [23:11:36]MH_I2C_Read... [23:11:36]Read from MH i2c: 01 07 00 [23:11:36]MH_I2C_Read... [23:11:36]Read from MH i2c: 01 07 00 E4 08 00 00 00 00 00 FF 0F 01 [23:11:36]RasterBufferAndPrint [23:11:36]line Счет N : (3)176433 [23:11:36]line ИНН: 02508201610067 [23:11:36]line Контрольно-Кассовый Чек [23:11:36]line ПРОДАЖА [23:11:36]line Товар: 2000036220012 [23:11:36]line Кофе Капучино XL(GABB TRADE) [23:11:36]line 2.000 * 125.00 [23:11:36]line = 250.00 [23:11:36]line НДС 12% НСП 1% [23:11:36]line > о реализуемом товаре [23:11:36]line ИТОГО: 250.00 [23:11:36]line НСП 1% : 2.21 [23:11:36]line НДС 12% : 26.55 [23:11:36]line Наличными: 0.00 [23:11:36]line Безнал.: 250.00 [23:11:36]line Место: АЗС № 63 "Партнер Нефть" [23:11:36]line Адрес: 720001, с. Чон Сары Ой, ул. Западная 3, 42.603516, 76.894901 [23:11:36]line СНО: Общий режим [23:11:36]line Чек 131 02.06.2024 23:11 [23:11:36]line Смена: 375 ФФД: 1.0 [23:11:36]line ЗНМ: 0300000037 [23:11:36]line РНМ: 0000000000092680 [23:11:36]line Версия ККМ: 001 [23:11:36]line Платежная система: АКБ Кыргызстан [23:11:36]line ФМ: 0000000000874882 [23:11:36]line ФД: 39873 [23:11:36]line ФПД: 48510584058878 [23:11:37]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240602T231136&type=1&operation_type=1&fn_number=0000000000874882&fd_number=39873&fm=48510584058878&tin=02508201610067®Number=0000000000092680&sum=25000 [23:11:37]line 0 [23:11:37]OFD Sender: Processing packet 39873 [packets to send 5, broken 4] [23:11:37]ProducePacketName [23:11:37]name=ofd_packets/00039873 [23:11:37]OFD Sender: To server: pG, [23:11:37]CommunicateWithHost lk.salyk.kg:30040 [23:11:37]ConnectInit lk.salyk.kg [23:11:37]written 0, free lines is 4095 [23:11:37]Connected sock=10 [23:11:37]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 38 32 2E 01 00 00 6A E1 26 01 5C DD 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 D0 07 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 A8 61 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A8 61 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DD 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5F 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 A8 61 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 83 00 00 00 F4 03 04 00 28 FC 5C 66 0E 04 04 00 77 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 10 04 04 00 C1 9B 00 00 35 04 06 00 2C 1E C0 21 73 FE BA 5D 81 3A 50 0E 42 C5 [23:11:37]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 4F 00 00 00 9C 22 47 00 FE 9F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 10 04 04 00 C1 9B 00 00 F4 03 04 00 D6 A4 5C 66 B6 04 01 00 00 80 5C 06 E4 87 D3 51 66 [23:11:37]CommunicateWithHost err = 0 [23:11:37]CheckOFDResponse [23:11:37]1017 (14) - 77093643461234 [23:11:37]1041 (16) - 0000000000874882 [23:11:37]1040 (4) - 39873 [23:11:37]1012 (4) - 02.06.2024 16:59 [23:11:37]1206 (1) - 0 [23:11:37]OFD Sender: Remove packet 39873 [23:11:37]ProducePacketName [23:11:37]name=ofd_packets/00039873 [23:11:37]NVStorageDeleteData [23:11:37]Write to MH i2c: 01 00 00 0F 09 18 [23:11:37]Write i2c OK [23:11:37]MH_I2C_Read... [23:11:37]Read from MH i2c: 01 [23:11:37]MH_I2C_Read... [23:11:37]Read from MH i2c: 01 07 00 [23:11:37]MH_I2C_Read... [23:11:37]Read from MH i2c: 01 07 00 0F 09 00 00 00 00 00 03 0D 2F [23:11:37]RasterBufferAndPrint [23:11:37]line [23:11:37]line [23:11:37]line [23:11:37]line [23:11:37]line [23:11:37]written 0, free lines is 3337 [23:11:37]MH_Cut [23:11:37]Write to MH i2c: D1 01 00 16 09 01 F1 [23:11:37]Write i2c OK [23:11:37]MH_I2C_Read... [23:11:37]Read from MH i2c: D1 [23:11:37]MH_I2C_Read... [23:11:37]Read from MH i2c: D1 01 00 [23:11:37]MH_I2C_Read... [23:11:37]Read from MH i2c: D1 01 00 16 09 00 F0 [23:11:37]Write to MH i2c: 01 00 00 17 09 20 [23:11:37]Write i2c OK [23:11:37]MH_I2C_Read... [23:11:38]OFD Sender: No OFD packet to send [23:11:38]*** Cut start [23:11:38]*** Partial cut [23:11:38]*** CUTSNS_PIN = 1 [23:11:38]*** CUTSNS_PIN = 0 [23:11:38]*** Brake cut motor [23:11:39]Read from MH i2c: 01 [23:11:39]MH_I2C_Read... [23:11:39]*** Stop cut motor [23:11:39]*** Cut end [23:11:39]Read from MH i2c: 01 07 00 [23:11:39]MH_I2C_Read... [23:11:39]Read from MH i2c: 01 07 00 17 09 00 00 00 00 00 FF 0F 35 [23:11:39]process_action close_receipt done [23:11:39]requested_data is exist [23:11:39]produce_requested_data [23:11:39]requested_item fm.sn is exist - process it [23:11:39]wFMCommunicate request_size=4 [23:11:39]MH_SAM_APDU [23:11:39]CAPDU: 80 11 00 00 [23:11:39]Write to MH i2c: E2 08 00 18 09 80 11 00 00 00 00 00 00 9B [23:11:39]Write i2c OK [23:11:39]MH_I2C_Read... [23:11:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:11:39]Read from MH i2c: E2 [23:11:39]MH_I2C_Read... [23:11:39]Read from MH i2c: E2 17 00 [23:11:39]MH_I2C_Read... [23:11:39]Read from MH i2c: E2 17 00 18 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 90 00 F3 [23:11:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 90 00 [23:11:39]wFMCommunicate OK [23:11:39]requested_item fd.num is exist - process it [23:11:39]SAM_PROTO_GetFieldsCounters [23:11:39]wFMCommunicate request_size=4 [23:11:39]MH_SAM_APDU [23:11:39]CAPDU: 80 13 00 00 [23:11:39]Write to MH i2c: E2 08 00 19 09 80 13 00 00 00 00 00 00 9E [23:11:39]Write i2c OK [23:11:39]MH_I2C_Read... [23:11:39]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:11:39]Read from MH i2c: E2 [23:11:39]MH_I2C_Read... [23:11:39]Read from MH i2c: E2 62 00 [23:11:39]MH_I2C_Read... [23:11:39]Read from MH i2c: E2 62 00 19 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 10 04 04 00 C1 9B 00 00 0E 04 04 00 77 01 00 00 12 04 04 00 83 00 00 00 5E 04 04 00 83 00 00 00 57 04 04 00 84 00 00 00 19 04 04 00 00 00 00 00 90 00 21 [23:11:39]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 10 04 04 00 C1 9B 00 00 0E 04 04 00 77 01 00 00 12 04 04 00 83 00 00 00 5E 04 04 00 83 00 00 00 57 04 04 00 84 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:11:39]wFMCommunicate OK [23:11:39]SAM_PROTO_GetFieldsCounters done [23:11:39]requested_item shift.num is exist - process it [23:11:39]requested_item shift.opened is exist - process it [23:11:39]req_shift_opened [23:11:39]FM_GetShiftState [23:11:39]SAM_PROTO_GetShiftState [23:11:39]wFMCommunicate request_size=4 [23:11:39]MH_SAM_APDU [23:11:39]CAPDU: 80 13 01 00 [23:11:39]Write to MH i2c: E2 08 00 1A 09 80 13 01 00 00 00 00 00 A0 [23:11:39]Write i2c OK [23:11:39]MH_I2C_Read... [23:11:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:11:39]Read from MH i2c: E2 [23:11:39]MH_I2C_Read... [23:11:39]Read from MH i2c: E2 0E 00 [23:11:39]MH_I2C_Read... [23:11:39]Read from MH i2c: E2 0E 00 1A 09 00 09 00 01 54 BB 5B 66 00 00 00 00 90 00 7C [23:11:39]RAPDU: 09 00 01 54 BB 5B 66 00 00 00 00 90 00 [23:11:39]wFMCommunicate OK [23:11:39]SAM_PROTO_GetShiftState done [23:11:39]FM_GetShiftState done [23:11:39]req_shift_opened done [23:11:39]requested_item shift.open_date is exist - process it [23:11:39]req_shift_open_date [23:11:39]req_shift_open_date done [23:11:39]produce_requested_data done [23:11:39]produce_requested_data return {"fm.sn":"0000000000874882","fd.num":39873,"shift.num":375,"shift.opened":1,"shift.open_date":1717287764} [23:11:39]process_action_free close_receipt [23:11:39]json_value_free [23:11:39]json_value_free done [23:11:39]process_json_proto returns [23:11:39]Send response to host [23:11:39]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874882","fd.num":39873,"shift.num":375,"shift.opened":1,"shift.open_date":1717287764}}} [23:11:39]free response buf [23:11:39]execute_script done [23:11:39]execute_script returns [23:11:39]free content buf [23:11:39]Sock 9.Close socket [23:11:39]Sock 9.Thread stoped [23:11:43]OFD Sender: No OFD packet to send [23:11:48]OFD Sender: No OFD packet to send [23:11:53]OFD Sender: No OFD packet to send [23:11:58]OFD Sender: No OFD packet to send [23:12:03]OFD Sender: No OFD packet to send [23:12:08]OFD Sender: No OFD packet to send [23:12:13]OFD Sender: No OFD packet to send [23:12:18]OFD Sender: No OFD packet to send [23:12:23]OFD Sender: No OFD packet to send [23:12:27]accept exits with 7 [23:12:27]New connection [23:12:27]New thread 3066699108 created [23:12:27]Thread 3066555748 joined [23:12:27]Waiting for new connection... [23:12:27] Sock 7.Parse request [23:12:27]Sock 7.Check first char [23:12:27]Sock 7.First char is OK [23:12:27]request: POST /json_proto HTTP/1.0 [23:12:27]Method: POST [23:12:27]URL: /json_proto [23:12:27]Method is POST - this is cgi request [23:12:27]url: /json_proto [23:12:27]query_string will be loaded in cgi processing [23:12:27]execute_cgi json_proto POST (null) [23:12:27]execute_cgi path=json_proto method=POST [23:12:27]POST find Content-Length [23:12:27]Host: 172.17.36.199:8080 [23:12:27]Content-Length: 646 [23:12:27]Content-Type: application/json [23:12:27] [23:12:27]POST finish read [23:12:27]Found Content-Length = 646 [23:12:27]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)176434", "tax_sys" : 0, "items" : [ { "code": "90162602", "name": "\u042D\u043D\u0435\u0440\u0433 \u043D\u0430\u043F\u0438\u0442\u043E\u043A Red bull 0,25\u043B", "price" : 185.00, "quantity" : 1.000, "sum" : 185.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 185.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:12:27]execute_script... [23:12:27]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)176434", "tax_sys" : 0, "items" : [ { "code": "90162602", "name": "\u042D\u043D\u0435\u0440\u0433 \u043D\u0430\u043F\u0438\u0442\u043E\u043A Red bull 0,25\u043B", "price" : 185.00, "quantity" : 1.000, "sum" : 185.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 185.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:12:27]POST & json_proto [23:12:27]process_json_proto [23:12:27]json parsed OK: [23:12:27]protocol is kg_v1.0 [23:12:27]action value=close_receipt [23:12:27]process_action close_receipt [23:12:27]cmd_close_receipt [23:12:27]MH_GetDate [23:12:27]Write to MH i2c: F0 00 00 1B 09 13 [23:12:27]Write i2c OK [23:12:27]MH_I2C_Read... [23:12:27]Read from MH i2c: F0 [23:12:27]MH_I2C_Read... [23:12:27]Read from MH i2c: F0 09 00 [23:12:27]MH_I2C_Read... [23:12:27]Read from MH i2c: F0 09 00 1B 09 00 5C FC 5C 66 91 46 04 65 76 [23:12:27]GetLastDocTimeStamp 1717369896 [23:12:27]current date 1717369948 [23:12:27]FM_GetShiftState [23:12:27]SAM_PROTO_GetShiftState [23:12:27]wFMCommunicate request_size=4 [23:12:27]MH_SAM_APDU [23:12:27]CAPDU: 80 13 01 00 [23:12:27]Write to MH i2c: E2 08 00 1C 09 80 13 01 00 00 00 00 00 A2 [23:12:27]Write i2c OK [23:12:27]MH_I2C_Read... [23:12:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:12:27]Read from MH i2c: E2 [23:12:27]MH_I2C_Read... [23:12:27]Read from MH i2c: E2 0E 00 [23:12:27]MH_I2C_Read... [23:12:27]Read from MH i2c: E2 0E 00 1C 09 00 09 00 01 54 BB 5B 66 00 00 00 00 90 00 7E [23:12:27]RAPDU: 09 00 01 54 BB 5B 66 00 00 00 00 90 00 [23:12:27]wFMCommunicate OK [23:12:27]SAM_PROTO_GetShiftState done [23:12:27]FM_GetShiftState done [23:12:27]opened in 1717287764 [23:12:27]opened+sec_in_day 1717374164 [23:12:27]quantity*price = 18500 [23:12:27]sum+1 = 18501 [23:12:27]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 185.00 НСП 1% : 1.64 НДС 12% : 19.65 Наличными: 185.00 Безнал.: 0.00 Место: АЗС № 63 "Партнер Нефть" Адрес: 720001, с. Чон Сары Ой, ул. Западная 3, 42.603516, 76.894901 СНО: Общий режим Чек 132 02.06.2024 23:12 Смена: 375 ФФД: 1.0 ЗНМ: 0300000037 РНМ: 0000000000092680 Версия ККМ: 001 ФМ: 0000000000874882 ФД: 39874 ФПД: 94611091747221 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240602T231228&type=1&operation_type=1&fn_number=0000000000874882&fd_number=39874&fm=94611091747221&tin=02508201610067®Number=0000000000092680&sum=18500 0 [23:12:28]StoreToDocumentArchive [23:12:28]shift 375 fd 39874 [23:12:28]save to /storage/0375/doc_00039874 [23:12:28]save last doc name /storage/0375/doc_00039874 to /storage/kkm_last_doc_name [23:12:28]save OK [23:12:28]Clear old archive folders... [23:12:28]ProcessDocumentItem done err = 0, tmpTLVsize=278 [23:12:28]tlvbuf is 00C41150 [23:12:28]SAM_PROTO_ClearQueue [23:12:28]wFMCommunicate request_size=4 [23:12:28]MH_SAM_APDU [23:12:28]CAPDU: 80 09 00 00 [23:12:28]Write to MH i2c: E2 08 00 29 09 80 09 00 00 00 00 00 00 A4 [23:12:28]Write i2c OK [23:12:28]MH_I2C_Read... [23:12:28]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:12:28]Read from MH i2c: E2 [23:12:28]MH_I2C_Read... [23:12:28]Read from MH i2c: E2 03 00 [23:12:28]MH_I2C_Read... [23:12:28]Read from MH i2c: E2 03 00 29 09 00 90 00 A6 [23:12:28]RAPDU: 90 00 [23:12:28]wFMCommunicate OK [23:12:28]SAM_PROTO_ClearQueue done [23:12:28]KKMCreateOFDPacket [23:12:28]OFDProtocolAddRootSTLVToBuf [23:12:28]FM_MakeSignedData [23:12:28]FM_MakeSignedData [23:12:28]SAM_PROTO_SignData [23:12:28]wFMCommunicate request_size=4 [23:12:28]MH_SAM_APDU [23:12:28]CAPDU: 80 0D 01 02 [23:12:28]Write to MH i2c: E2 08 00 2A 09 80 0D 01 02 00 00 00 00 AC [23:12:28]Write i2c OK [23:12:28]MH_I2C_Read... [23:12:28]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:12:28]Read from MH i2c: E2 [23:12:28]MH_I2C_Read... [23:12:28]Read from MH i2c: E2 03 00 [23:12:28]MH_I2C_Read... [23:12:28]Read from MH i2c: E2 03 00 2A 09 00 90 00 A7 [23:12:28]RAPDU: 90 00 [23:12:28]wFMCommunicate OK [23:12:28]wFMCommunicate request_size=255 [23:12:28]MH_SAM_APDU [23:12:28]CAPDU: 80 0D 02 02 FA 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 39 30 31 36 32 36 30 32 06 04 29 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 62 75 6C 6C 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 44 48 00 00 00 00 13 04 06 00 44 48 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 44 48 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A4 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AD 07 00 00 00 00 07 04 06 00 44 48 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 84 00 00 00 F4 03 04 00 5C FC 5C 66 0E 04 04 00 77 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 11 04 10 00 30 30 [23:12:28]Write to MH i2c: E2 02 01 2B 09 80 0D 02 02 FA 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 39 30 31 36 32 36 30 32 06 04 29 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 62 75 6C 6C 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 44 48 00 00 00 00 13 04 06 00 44 48 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 44 48 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A4 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AD 07 00 00 00 00 07 04 06 00 44 48 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 84 00 00 00 F4 03 04 00 5C FC 5C 66 0E 04 04 00 77 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 11 04 10 00 30 30 00 00 30 [23:12:28]Write i2c OK [23:12:28]MH_I2C_Read... [23:12:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:12:28]Read from MH i2c: E2 [23:12:28]MH_I2C_Read... [23:12:28]Read from MH i2c: E2 03 00 [23:12:28]MH_I2C_Read... [23:12:28]Read from MH i2c: E2 03 00 2B 09 00 90 00 A8 [23:12:28]RAPDU: 90 00 [23:12:28]wFMCommunicate OK [23:12:28]wFMCommunicate request_size=37 [23:12:28]MH_SAM_APDU [23:12:28]CAPDU: 80 0D 02 02 20 30 30 30 30 30 30 30 30 38 37 34 38 38 32 10 04 04 00 C2 9B 00 00 35 04 06 00 56 0C 5C 83 F1 95 [23:12:28]Write to MH i2c: E2 28 00 2C 09 80 0D 02 02 20 00 30 30 30 30 30 30 30 30 38 37 34 38 38 32 10 04 04 00 C2 9B 00 00 35 04 06 00 56 0C 5C 83 F1 95 00 00 2F [23:12:28]Write i2c OK [23:12:28]MH_I2C_Read... [23:12:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:12:28]Read from MH i2c: E2 [23:12:28]MH_I2C_Read... [23:12:28]Read from MH i2c: E2 03 00 [23:12:28]MH_I2C_Read... [23:12:28]Read from MH i2c: E2 03 00 2C 09 00 90 00 A9 [23:12:28]RAPDU: 90 00 [23:12:28]wFMCommunicate OK [23:12:28]wFMCommunicate request_size=4 [23:12:28]MH_SAM_APDU [23:12:28]CAPDU: 80 0D 03 02 [23:12:28]Write to MH i2c: E2 08 00 2D 09 80 0D 03 02 00 00 00 00 B1 [23:12:28]Write i2c OK [23:12:28]MH_I2C_Read... [23:12:28]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:12:28]Read from MH i2c: E2 [23:12:28]MH_I2C_Read... [23:12:28]Read from MH i2c: E2 0B 00 [23:12:28]MH_I2C_Read... [23:12:28]Read from MH i2c: E2 0B 00 2D 09 00 C2 A0 D1 D1 8B 5E 43 B6 90 00 98 [23:12:28]RAPDU: C2 A0 D1 D1 8B 5E 43 B6 90 00 [23:12:28]wFMCommunicate OK [23:12:28]SAM_PROTO_SignData done [23:12:28]FM_MakeSignedData done [23:12:28]CreateOFDProtocolMessage [23:12:28]wFMCommunicate request_size=4 [23:12:28]MH_SAM_APDU [23:12:28]CAPDU: 80 11 00 00 [23:12:28]Write to MH i2c: E2 08 00 2E 09 80 11 00 00 00 00 00 00 B1 [23:12:28]Write i2c OK [23:12:28]MH_I2C_Read... [23:12:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:12:28]Read from MH i2c: E2 [23:12:28]MH_I2C_Read... [23:12:28]Read from MH i2c: E2 17 00 [23:12:28]MH_I2C_Read... [23:12:28]Read from MH i2c: E2 17 00 2E 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 90 00 09 [23:12:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 90 00 [23:12:28]wFMCommunicate OK [23:12:28]CreateOFDProtocolMessage done [23:12:28]OFDSenderStorePacket 39874 [23:12:28]StoreOFDPacket docnum=39874 [23:12:28]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 2A 01 00 00 B3 4D 22 01 34 71 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 39 30 31 36 32 36 30 32 06 04 29 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 62 75 6C 6C 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 44 48 00 00 00 00 13 04 06 00 44 48 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 44 48 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A4 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AD 07 00 00 00 00 07 04 06 00 44 48 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 84 00 00 00 F4 03 04 00 5C FC 5C 66 0E 04 04 00 77 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 10 04 04 00 C2 9B 00 00 35 04 06 00 56 0C 5C 83 F1 95 C2 A0 D1 D1 8B 5E 43 B6 [23:12:28]CheckFolder [23:12:28]dirname=/storage/ofd_packets [23:12:28]CheckFolder done [23:12:28]ProducePacketName [23:12:28]name=ofd_packets/00039874 [23:12:28]NVStorageSaveData ofd_packets/00039874 [23:12:28]File name is /storage/ofd_packets/00039874 [23:12:28]Write 328 bytes [23:12:28]NVStorageSaveData done [23:12:28]OFDSenderStorePacket done [23:12:28]KKMCreateOFDPacket done [23:12:28]NVStorageSaveData kkm_last_timestamp [23:12:28]File name is /storage/kkm_last_timestamp [23:12:28]Write 4 bytes [23:12:28]NVStorageSaveData done [23:12:28]ExternCall_PrintAddStr [23:12:28]wPrintStart [23:12:28]Write to MH i2c: 01 00 00 2F 09 38 [23:12:28]Write i2c OK [23:12:28]MH_I2C_Read... [23:12:28]Read from MH i2c: 01 [23:12:28]MH_I2C_Read... [23:12:28]Read from MH i2c: 01 07 00 [23:12:28]MH_I2C_Read... [23:12:28]Read from MH i2c: 01 07 00 2F 09 00 00 00 00 00 FF 0F 4D [23:12:28]RasterBufferAndPrint [23:12:28]line Счет N : (3)176434 [23:12:28]line ИНН: 02508201610067 [23:12:28]line Контрольно-Кассовый Чек [23:12:28]line ПРОДАЖА [23:12:28]line Товар: 90162602 [23:12:28]line Энерг напиток Red bull 0,25л [23:12:28]line 1.000 * 185.00 [23:12:28]line = 185.00 [23:12:28]line НДС 12% НСП 1% [23:12:28]line > о реализуемом товаре [23:12:28]line ИТОГО: 185.00 [23:12:28]line НСП 1% : 1.64 [23:12:28]line НДС 12% : 19.65 [23:12:28]line Наличными: 185.00 [23:12:28]line Безнал.: 0.00 [23:12:28]line Место: АЗС № 63 "Партнер Нефть" [23:12:28]line Адрес: 720001, с. Чон Сары Ой, ул. Западная 3, 42.603516, 76.894901 [23:12:29]line СНО: Общий режим [23:12:29]line Чек 132 02.06.2024 23:12 [23:12:29]line Смена: 375 ФФД: 1.0 [23:12:29]line ЗНМ: 0300000037 [23:12:29]line РНМ: 0000000000092680 [23:12:29]line Версия ККМ: 001 [23:12:29]line ФМ: 0000000000874882 [23:12:29]line ФД: 39874 [23:12:29]line ФПД: 94611091747221 [23:12:29]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240602T231228&type=1&operation_type=1&fn_number=0000000000874882&fd_number=39874&fm=94611091747221&tin=02508201610067®Number=0000000000092680&sum=18500 [23:12:29]line 0 [23:12:29]OFD Sender: Processing packet 39874 [packets to send 5, broken 4] [23:12:29]ProducePacketName [23:12:29]name=ofd_packets/00039874 [23:12:29]OFD Sender: To server: pG, [23:12:29]CommunicateWithHost lk.salyk.kg:30040 [23:12:29]ConnectInit lk.salyk.kg [23:12:29]written 0, free lines is 4095 [23:12:29]Connected sock=10 [23:12:29]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 38 32 2A 01 00 00 B3 4D 22 01 34 71 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 39 30 31 36 32 36 30 32 06 04 29 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 62 75 6C 6C 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 44 48 00 00 00 00 13 04 06 00 44 48 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 44 48 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A4 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AD 07 00 00 00 00 07 04 06 00 44 48 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 84 00 00 00 F4 03 04 00 5C FC 5C 66 0E 04 04 00 77 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 10 04 04 00 C2 9B 00 00 35 04 06 00 56 0C 5C 83 F1 95 C2 A0 D1 D1 8B 5E 43 B6 [23:12:29]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 4F 00 00 00 B7 18 47 00 34 A6 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 10 04 04 00 C2 9B 00 00 F4 03 04 00 0A A5 5C 66 B6 04 01 00 00 D4 6D 77 2B 74 EE C6 8E [23:12:29]CommunicateWithHost err = 0 [23:12:29]CheckOFDResponse [23:12:29]1017 (14) - 77093643461234 [23:12:29]1041 (16) - 0000000000874882 [23:12:29]1040 (4) - 39874 [23:12:29]1012 (4) - 02.06.2024 16:59 [23:12:29]1206 (1) - 0 [23:12:29]OFD Sender: Remove packet 39874 [23:12:29]ProducePacketName [23:12:29]name=ofd_packets/00039874 [23:12:29]NVStorageDeleteData [23:12:29]Write to MH i2c: 01 00 00 57 09 60 [23:12:29]Write i2c OK [23:12:29]MH_I2C_Read... [23:12:29]Read from MH i2c: 01 [23:12:29]MH_I2C_Read... [23:12:29]Read from MH i2c: 01 07 00 [23:12:29]MH_I2C_Read... [23:12:29]Read from MH i2c: 01 07 00 57 09 00 00 00 00 00 23 0D 97 [23:12:29]RasterBufferAndPrint [23:12:29]line [23:12:29]line [23:12:29]line [23:12:29]line [23:12:29]line [23:12:29]written 0, free lines is 3370 [23:12:29]MH_Cut [23:12:29]Write to MH i2c: D1 01 00 5E 09 01 39 [23:12:29]Write i2c OK [23:12:29]MH_I2C_Read... [23:12:29]Read from MH i2c: D1 [23:12:29]MH_I2C_Read... [23:12:29]Read from MH i2c: D1 01 00 [23:12:29]MH_I2C_Read... [23:12:29]Read from MH i2c: D1 01 00 5E 09 00 38 [23:12:29]Write to MH i2c: 01 00 00 5F 09 68 [23:12:29]Write i2c OK [23:12:29]MH_I2C_Read... [23:12:30]OFD Sender: No OFD packet to send [23:12:30]*** Cut start [23:12:30]*** Partial cut [23:12:30]*** CUTSNS_PIN = 1 [23:12:30]*** CUTSNS_PIN = 0 [23:12:30]*** Brake cut motor [23:12:31]Read from MH i2c: 01 [23:12:31]MH_I2C_Read... [23:12:31]*** Stop cut motor [23:12:31]*** Cut end [23:12:31]Read from MH i2c: 01 07 00 [23:12:31]MH_I2C_Read... [23:12:31]Read from MH i2c: 01 07 00 5F 09 00 00 00 00 00 FF 0F 7D [23:12:31]process_action close_receipt done [23:12:31]requested_data is exist [23:12:31]produce_requested_data [23:12:31]requested_item fm.sn is exist - process it [23:12:31]wFMCommunicate request_size=4 [23:12:31]MH_SAM_APDU [23:12:31]CAPDU: 80 11 00 00 [23:12:31]Write to MH i2c: E2 08 00 60 09 80 11 00 00 00 00 00 00 E3 [23:12:31]Write i2c OK [23:12:31]MH_I2C_Read... [23:12:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:12:31]Read from MH i2c: E2 [23:12:31]MH_I2C_Read... [23:12:31]Read from MH i2c: E2 17 00 [23:12:31]MH_I2C_Read... [23:12:31]Read from MH i2c: E2 17 00 60 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 90 00 3B [23:12:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 90 00 [23:12:31]wFMCommunicate OK [23:12:31]requested_item fd.num is exist - process it [23:12:31]SAM_PROTO_GetFieldsCounters [23:12:31]wFMCommunicate request_size=4 [23:12:31]MH_SAM_APDU [23:12:31]CAPDU: 80 13 00 00 [23:12:31]Write to MH i2c: E2 08 00 61 09 80 13 00 00 00 00 00 00 E6 [23:12:31]Write i2c OK [23:12:31]MH_I2C_Read... [23:12:31]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:12:31]Read from MH i2c: E2 [23:12:31]MH_I2C_Read... [23:12:31]Read from MH i2c: E2 62 00 [23:12:31]MH_I2C_Read... [23:12:31]Read from MH i2c: E2 62 00 61 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 10 04 04 00 C2 9B 00 00 0E 04 04 00 77 01 00 00 12 04 04 00 84 00 00 00 5E 04 04 00 84 00 00 00 57 04 04 00 85 00 00 00 19 04 04 00 00 00 00 00 90 00 6D [23:12:31]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 10 04 04 00 C2 9B 00 00 0E 04 04 00 77 01 00 00 12 04 04 00 84 00 00 00 5E 04 04 00 84 00 00 00 57 04 04 00 85 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:12:31]wFMCommunicate OK [23:12:31]SAM_PROTO_GetFieldsCounters done [23:12:31]requested_item shift.num is exist - process it [23:12:31]requested_item shift.opened is exist - process it [23:12:31]req_shift_opened [23:12:31]FM_GetShiftState [23:12:31]SAM_PROTO_GetShiftState [23:12:31]wFMCommunicate request_size=4 [23:12:31]MH_SAM_APDU [23:12:31]CAPDU: 80 13 01 00 [23:12:31]Write to MH i2c: E2 08 00 62 09 80 13 01 00 00 00 00 00 E8 [23:12:31]Write i2c OK [23:12:31]MH_I2C_Read... [23:12:31]Read from MH i2c: E2 [23:12:31]MH_I2C_Read... [23:12:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:12:31]Read from MH i2c: E2 0E 00 [23:12:31]MH_I2C_Read... [23:12:31]Read from MH i2c: E2 0E 00 62 09 00 09 00 01 54 BB 5B 66 00 00 00 00 90 00 C4 [23:12:31]RAPDU: 09 00 01 54 BB 5B 66 00 00 00 00 90 00 [23:12:31]wFMCommunicate OK [23:12:31]SAM_PROTO_GetShiftState done [23:12:31]FM_GetShiftState done [23:12:31]req_shift_opened done [23:12:31]requested_item shift.open_date is exist - process it [23:12:31]req_shift_open_date [23:12:31]req_shift_open_date done [23:12:31]produce_requested_data done [23:12:31]produce_requested_data return {"fm.sn":"0000000000874882","fd.num":39874,"shift.num":375,"shift.opened":1,"shift.open_date":1717287764} [23:12:31]process_action_free close_receipt [23:12:31]json_value_free [23:12:31]json_value_free done [23:12:31]process_json_proto returns [23:12:31]Send response to host [23:12:31]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874882","fd.num":39874,"shift.num":375,"shift.opened":1,"shift.open_date":1717287764}}} [23:12:31]free response buf [23:12:31]execute_script done [23:12:31]execute_script returns [23:12:31]free content buf [23:12:31]Sock 7.Close socket [23:12:31]Sock 7.Thread stoped [23:12:35]OFD Sender: No OFD packet to send [23:12:40]OFD Sender: No OFD packet to send [23:12:45]OFD Sender: No OFD packet to send [23:12:50]OFD Sender: No OFD packet to send [23:12:55]OFD Sender: No OFD packet to send [23:13:00]OFD Sender: No OFD packet to send [23:13:05]OFD Sender: No OFD packet to send [23:13:10]OFD Sender: No OFD packet to send [23:13:15]OFD Sender: No OFD packet to send [23:13:20]OFD Sender: No OFD packet to send [23:13:25]OFD Sender: No OFD packet to send [23:13:30]OFD Sender: No OFD packet to send [23:13:35]OFD Sender: No OFD packet to send [23:13:40]OFD Sender: No OFD packet to send [23:13:45]OFD Sender: No OFD packet to send [23:13:50]OFD Sender: No OFD packet to send [23:13:55]OFD Sender: No OFD packet to send [23:14:00]OFD Sender: No OFD packet to send [23:14:05]OFD Sender: No OFD packet to send [23:14:10]OFD Sender: No OFD packet to send [23:14:15]OFD Sender: No OFD packet to send [23:14:20]OFD Sender: No OFD packet to send [23:14:25]OFD Sender: No OFD packet to send [23:14:30]OFD Sender: No OFD packet to send [23:14:35]OFD Sender: No OFD packet to send [23:14:40]OFD Sender: No OFD packet to send [23:14:45]OFD Sender: No OFD packet to send [23:14:50]OFD Sender: No OFD packet to send [23:14:55]OFD Sender: No OFD packet to send [23:15:00]OFD Sender: No OFD packet to send [23:15:05]OFD Sender: No OFD packet to send [23:15:10]OFD Sender: No OFD packet to send [23:15:15]OFD Sender: No OFD packet to send [23:15:20]OFD Sender: No OFD packet to send [23:15:25]OFD Sender: No OFD packet to send [23:15:30]OFD Sender: No OFD packet to send [23:15:35]OFD Sender: No OFD packet to send [23:15:40]OFD Sender: No OFD packet to send [23:15:45]OFD Sender: No OFD packet to send [23:15:50]OFD Sender: No OFD packet to send [23:15:55]OFD Sender: No OFD packet to send [23:16:00]OFD Sender: No OFD packet to send [23:16:05]OFD Sender: No OFD packet to send [23:16:10]OFD Sender: No OFD packet to send [23:16:15]OFD Sender: No OFD packet to send [23:16:20]OFD Sender: No OFD packet to send [23:16:25]OFD Sender: No OFD packet to send [23:16:30]OFD Sender: No OFD packet to send [23:16:35]OFD Sender: No OFD packet to send [23:16:40]OFD Sender: No OFD packet to send [23:16:45]OFD Sender: No OFD packet to send [23:16:50]OFD Sender: No OFD packet to send [23:16:55]OFD Sender: No OFD packet to send [23:17:00]OFD Sender: No OFD packet to send [23:17:05]OFD Sender: No OFD packet to send [23:17:10]OFD Sender: No OFD packet to send [23:17:15]OFD Sender: No OFD packet to send [23:17:20]OFD Sender: No OFD packet to send [23:17:25]OFD Sender: No OFD packet to send [23:17:30]OFD Sender: No OFD packet to send [23:17:35]OFD Sender: No OFD packet to send [23:17:40]OFD Sender: No OFD packet to send [23:17:45]OFD Sender: No OFD packet to send [23:17:50]OFD Sender: No OFD packet to send [23:17:55]OFD Sender: No OFD packet to send [23:18:00]OFD Sender: No OFD packet to send [23:18:05]OFD Sender: No OFD packet to send [23:18:10]OFD Sender: No OFD packet to send [23:18:15]OFD Sender: No OFD packet to send [23:18:20]OFD Sender: No OFD packet to send [23:18:25]OFD Sender: No OFD packet to send [23:18:30]OFD Sender: No OFD packet to send [23:18:35]OFD Sender: No OFD packet to send [23:18:40]OFD Sender: No OFD packet to send [23:18:45]OFD Sender: No OFD packet to send [23:18:50]OFD Sender: No OFD packet to send [23:18:55]OFD Sender: No OFD packet to send [23:19:00]OFD Sender: No OFD packet to send [23:19:05]OFD Sender: No OFD packet to send [23:19:10]OFD Sender: No OFD packet to send [23:19:15]OFD Sender: No OFD packet to send [23:19:20]OFD Sender: No OFD packet to send [23:19:25]OFD Sender: No OFD packet to send [23:19:30]OFD Sender: No OFD packet to send [23:19:35]OFD Sender: No OFD packet to send [23:19:40]OFD Sender: No OFD packet to send [23:19:45]OFD Sender: No OFD packet to send [23:19:50]OFD Sender: No OFD packet to send [23:19:55]OFD Sender: No OFD packet to send [23:20:00]OFD Sender: No OFD packet to send [23:20:05]OFD Sender: No OFD packet to send [23:20:10]OFD Sender: No OFD packet to send [23:20:15]OFD Sender: No OFD packet to send [23:20:20]OFD Sender: No OFD packet to send [23:20:25]OFD Sender: No OFD packet to send [23:20:30]OFD Sender: No OFD packet to send [23:20:35]OFD Sender: No OFD packet to send [23:20:40]OFD Sender: No OFD packet to send [23:20:45]OFD Sender: No OFD packet to send [23:20:50]OFD Sender: No OFD packet to send [23:20:55]OFD Sender: No OFD packet to send [23:21:00]OFD Sender: No OFD packet to send [23:21:05]OFD Sender: No OFD packet to send [23:21:10]OFD Sender: No OFD packet to send [23:21:15]OFD Sender: No OFD packet to send [23:21:20]OFD Sender: No OFD packet to send [23:21:25]OFD Sender: No OFD packet to send [23:21:30]OFD Sender: No OFD packet to send [23:21:35]OFD Sender: No OFD packet to send [23:21:40]OFD Sender: No OFD packet to send [23:21:45]OFD Sender: No OFD packet to send [23:21:50]OFD Sender: No OFD packet to send [23:21:55]OFD Sender: No OFD packet to send [23:22:00]OFD Sender: No OFD packet to send [23:22:05]OFD Sender: No OFD packet to send [23:22:10]OFD Sender: No OFD packet to send [23:22:15]OFD Sender: No OFD packet to send [23:22:20]OFD Sender: No OFD packet to send [23:22:25]OFD Sender: No OFD packet to send [23:22:30]OFD Sender: No OFD packet to send [23:22:35]OFD Sender: No OFD packet to send [23:22:40]OFD Sender: No OFD packet to send [23:22:45]OFD Sender: No OFD packet to send [23:22:50]OFD Sender: No OFD packet to send [23:22:55]OFD Sender: No OFD packet to send [23:23:00]OFD Sender: No OFD packet to send [23:23:05]OFD Sender: No OFD packet to send [23:23:10]OFD Sender: No OFD packet to send [23:23:15]OFD Sender: No OFD packet to send [23:23:20]OFD Sender: No OFD packet to send [23:23:25]OFD Sender: No OFD packet to send [23:23:30]OFD Sender: No OFD packet to send [23:23:35]OFD Sender: No OFD packet to send [23:23:40]OFD Sender: No OFD packet to send [23:23:45]OFD Sender: No OFD packet to send [23:23:50]OFD Sender: No OFD packet to send [23:23:55]OFD Sender: No OFD packet to send [23:24:00]OFD Sender: No OFD packet to send [23:24:05]OFD Sender: No OFD packet to send [23:24:06]accept exits with 9 [23:24:06]New connection [23:24:06]New thread 3066555748 created [23:24:06]Thread 3066699108 joined [23:24:06]Waiting for new connection... [23:24:06] Sock 9.Parse request [23:24:06]Sock 9.Check first char [23:24:06]Sock 9.First char is OK [23:24:06]request: POST /json_proto HTTP/1.0 [23:24:06]Method: POST [23:24:06]URL: /json_proto [23:24:06]Method is POST - this is cgi request [23:24:06]url: /json_proto [23:24:06]query_string will be loaded in cgi processing [23:24:06]execute_cgi json_proto POST (null) [23:24:06]execute_cgi path=json_proto method=POST [23:24:06]POST find Content-Length [23:24:06]Host: 172.17.36.199:8080 [23:24:06]Content-Length: 621 [23:24:06]Content-Type: application/json [23:24:06] [23:24:06]POST finish read [23:24:06]Found Content-Length = 621 [23:24:06]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)176435", "tax_sys" : 0, "items" : [ { "code": "48747059", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Legend 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" ] } } [23:24:06]execute_script... [23:24: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)176435", "tax_sys" : 0, "items" : [ { "code": "48747059", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Legend 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" ] } } [23:24:06]POST & json_proto [23:24:06]process_json_proto [23:24:06]json parsed OK: [23:24:06]protocol is kg_v1.0 [23:24:06]action value=close_receipt [23:24:06]process_action close_receipt [23:24:06]cmd_close_receipt [23:24:06]MH_GetDate [23:24:06]Write to MH i2c: F0 00 00 63 09 5B [23:24:06]Write i2c OK [23:24:06]MH_I2C_Read... [23:24:06]Read from MH i2c: F0 [23:24:06]MH_I2C_Read... [23:24:06]Read from MH i2c: F0 09 00 [23:24:06]MH_I2C_Read... [23:24:06]Read from MH i2c: F0 09 00 63 09 00 17 FF 5C 66 91 46 04 65 7C [23:24:06]GetLastDocTimeStamp 1717369948 [23:24:06]current date 1717370647 [23:24:06]FM_GetShiftState [23:24:06]SAM_PROTO_GetShiftState [23:24:06]wFMCommunicate request_size=4 [23:24:06]MH_SAM_APDU [23:24:06]CAPDU: 80 13 01 00 [23:24:06]Write to MH i2c: E2 08 00 64 09 80 13 01 00 00 00 00 00 EA [23:24:06]Write i2c OK [23:24:06]MH_I2C_Read... [23:24:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:24:06]Read from MH i2c: E2 [23:24:06]MH_I2C_Read... [23:24:06]Read from MH i2c: E2 0E 00 [23:24:06]MH_I2C_Read... [23:24:06]Read from MH i2c: E2 0E 00 64 09 00 09 00 01 54 BB 5B 66 00 00 00 00 90 00 C6 [23:24:06]RAPDU: 09 00 01 54 BB 5B 66 00 00 00 00 90 00 [23:24:06]wFMCommunicate OK [23:24:06]SAM_PROTO_GetShiftState done [23:24:06]FM_GetShiftState done [23:24:06]opened in 1717287764 [23:24:06]opened+sec_in_day 1717374164 [23:24:06]quantity*price = 14000 [23:24:06]sum+1 = 14001 [23:24:06]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 140.00 НСП 1% : 1.24 НДС 12% : 14.87 Наличными: 140.00 Безнал.: 0.00 Место: АЗС № 63 "Партнер Нефть" Адрес: 720001, с. Чон Сары Ой, ул. Западная 3, 42.603516, 76.894901 СНО: Общий режим Чек 133 02.06.2024 23:24 Смена: 375 ФФД: 1.0 ЗНМ: 0300000037 РНМ: 0000000000092680 Версия ККМ: 001 ФМ: 0000000000874882 ФД: 39875 ФПД: 51085432864842 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240602T232407&type=1&operation_type=1&fn_number=0000000000874882&fd_number=39875&fm=51085432864842&tin=02508201610067®Number=0000000000092680&sum=14000 0 [23:24:07]StoreToDocumentArchive [23:24:07]shift 375 fd 39875 [23:24:07]save to /storage/0375/doc_00039875 [23:24:07]save last doc name /storage/0375/doc_00039875 to /storage/kkm_last_doc_name [23:24:07]save OK [23:24:07]Clear old archive folders... [23:24:07]ProcessDocumentItem done err = 0, tmpTLVsize=273 [23:24:07]tlvbuf is 00AEEF70 [23:24:07]SAM_PROTO_ClearQueue [23:24:07]wFMCommunicate request_size=4 [23:24:07]MH_SAM_APDU [23:24:07]CAPDU: 80 09 00 00 [23:24:07]Write to MH i2c: E2 08 00 71 09 80 09 00 00 00 00 00 00 EC [23:24:07]Write i2c OK [23:24:07]MH_I2C_Read... [23:24:07]Read from MH i2c: E2 [23:24:07]MH_I2C_Read... [23:24:07]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:24:07]Read from MH i2c: E2 03 00 [23:24:07]MH_I2C_Read... [23:24:07]Read from MH i2c: E2 03 00 71 09 00 90 00 EE [23:24:07]RAPDU: 90 00 [23:24:07]wFMCommunicate OK [23:24:07]SAM_PROTO_ClearQueue done [23:24:07]KKMCreateOFDPacket [23:24:07]OFDProtocolAddRootSTLVToBuf [23:24:07]FM_MakeSignedData [23:24:07]FM_MakeSignedData [23:24:07]SAM_PROTO_SignData [23:24:07]wFMCommunicate request_size=4 [23:24:07]MH_SAM_APDU [23:24:07]CAPDU: 80 0D 01 02 [23:24:07]Write to MH i2c: E2 08 00 72 09 80 0D 01 02 00 00 00 00 F4 [23:24:07]Write i2c OK [23:24:07]MH_I2C_Read... [23:24:07]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:24:07]Read from MH i2c: E2 [23:24:07]MH_I2C_Read... [23:24:07]Read from MH i2c: E2 03 00 [23:24:07]MH_I2C_Read... [23:24:07]Read from MH i2c: E2 03 00 72 09 00 90 00 EF [23:24:07]RAPDU: 90 00 [23:24:07]wFMCommunicate OK [23:24:07]wFMCommunicate request_size=255 [23:24:07]MH_SAM_APDU [23:24:07]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 85 00 00 00 F4 03 04 00 17 FF 5C 66 0E 04 04 00 77 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 11 04 10 00 30 30 30 30 30 30 30 [23:24:07]Write to MH i2c: E2 02 01 73 09 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 85 00 00 00 F4 03 04 00 17 FF 5C 66 0E 04 04 00 77 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 11 04 10 00 30 30 30 30 30 30 30 00 00 AA [23:24:07]Write i2c OK [23:24:07]MH_I2C_Read... [23:24:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:24:07]Read from MH i2c: E2 [23:24:07]MH_I2C_Read... [23:24:07]Read from MH i2c: E2 03 00 [23:24:07]MH_I2C_Read... [23:24:07]Read from MH i2c: E2 03 00 73 09 00 90 00 F0 [23:24:07]RAPDU: 90 00 [23:24:07]wFMCommunicate OK [23:24:07]wFMCommunicate request_size=32 [23:24:07]MH_SAM_APDU [23:24:07]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 34 38 38 32 10 04 04 00 C3 9B 00 00 35 04 06 00 2E 76 41 14 40 4A [23:24:07]Write to MH i2c: E2 23 00 74 09 80 0D 02 02 1B 00 30 30 30 38 37 34 38 38 32 10 04 04 00 C3 9B 00 00 35 04 06 00 2E 76 41 14 40 4A 00 00 3A [23:24:07]Write i2c OK [23:24:07]MH_I2C_Read... [23:24:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:24:07]Read from MH i2c: E2 [23:24:07]MH_I2C_Read... [23:24:07]Read from MH i2c: E2 03 00 [23:24:07]MH_I2C_Read... [23:24:07]Read from MH i2c: E2 03 00 74 09 00 90 00 F1 [23:24:07]RAPDU: 90 00 [23:24:07]wFMCommunicate OK [23:24:07]wFMCommunicate request_size=4 [23:24:07]MH_SAM_APDU [23:24:07]CAPDU: 80 0D 03 02 [23:24:07]Write to MH i2c: E2 08 00 75 09 80 0D 03 02 00 00 00 00 F9 [23:24:07]Write i2c OK [23:24:07]MH_I2C_Read... [23:24:07]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:24:07]Read from MH i2c: E2 [23:24:07]MH_I2C_Read... [23:24:07]Read from MH i2c: E2 0B 00 [23:24:07]MH_I2C_Read... [23:24:07]Read from MH i2c: E2 0B 00 75 09 00 FB 7A 5D 8D 2E BD 0E 61 90 00 B3 [23:24:07]RAPDU: FB 7A 5D 8D 2E BD 0E 61 90 00 [23:24:07]wFMCommunicate OK [23:24:07]SAM_PROTO_SignData done [23:24:07]FM_MakeSignedData done [23:24:07]CreateOFDProtocolMessage [23:24:07]wFMCommunicate request_size=4 [23:24:07]MH_SAM_APDU [23:24:07]CAPDU: 80 11 00 00 [23:24:07]Write to MH i2c: E2 08 00 76 09 80 11 00 00 00 00 00 00 F9 [23:24:07]Write i2c OK [23:24:07]MH_I2C_Read... [23:24:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:24:08]Read from MH i2c: E2 [23:24:08]MH_I2C_Read... [23:24:08]Read from MH i2c: E2 17 00 [23:24:08]MH_I2C_Read... [23:24:08]Read from MH i2c: E2 17 00 76 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 90 00 51 [23:24:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 90 00 [23:24:08]wFMCommunicate OK [23:24:08]CreateOFDProtocolMessage done [23:24:08]OFDSenderStorePacket 39875 [23:24:08]StoreOFDPacket docnum=39875 [23:24:08]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 25 01 00 00 96 9B 1D 01 35 DD 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 85 00 00 00 F4 03 04 00 17 FF 5C 66 0E 04 04 00 77 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 10 04 04 00 C3 9B 00 00 35 04 06 00 2E 76 41 14 40 4A FB 7A 5D 8D 2E BD 0E 61 [23:24:08]CheckFolder [23:24:08]dirname=/storage/ofd_packets [23:24:08]CheckFolder done [23:24:08]ProducePacketName [23:24:08]name=ofd_packets/00039875 [23:24:08]NVStorageSaveData ofd_packets/00039875 [23:24:08]File name is /storage/ofd_packets/00039875 [23:24:08]Write 323 bytes [23:24:08]NVStorageSaveData done [23:24:08]OFDSenderStorePacket done [23:24:08]KKMCreateOFDPacket done [23:24:08]NVStorageSaveData kkm_last_timestamp [23:24:08]File name is /storage/kkm_last_timestamp [23:24:08]Write 4 bytes [23:24:08]NVStorageSaveData done [23:24:08]ExternCall_PrintAddStr [23:24:08]wPrintStart [23:24:08]Write to MH i2c: 01 00 00 77 09 80 [23:24:08]Write i2c OK [23:24:08]MH_I2C_Read... [23:24:08]Read from MH i2c: 01 [23:24:08]MH_I2C_Read... [23:24:08]Read from MH i2c: 01 07 00 [23:24:08]MH_I2C_Read... [23:24:08]Read from MH i2c: 01 07 00 77 09 00 00 00 00 00 FF 0F 95 [23:24:08]RasterBufferAndPrint [23:24:08]line Счет N : (3)176435 [23:24:08]line ИНН: 02508201610067 [23:24:08]line Контрольно-Кассовый Чек [23:24:08]line ПРОДАЖА [23:24:08]line Товар: 48747059 [23:24:08]line Сигареты Winston Legend Blue [23:24:08]line 1.000 * 140.00 [23:24:08]line = 140.00 [23:24:08]line НДС 12% НСП 1% [23:24:08]line > о реализуемом товаре [23:24:08]line ИТОГО: 140.00 [23:24:08]line НСП 1% : 1.24 [23:24:08]line НДС 12% : 14.87 [23:24:08]line Наличными: 140.00 [23:24:08]line Безнал.: 0.00 [23:24:08]line Место: АЗС № 63 "Партнер Нефть" [23:24:08]line Адрес: 720001, с. Чон Сары Ой, ул. Западная 3, 42.603516, 76.894901 [23:24:08]line СНО: Общий режим [23:24:08]line Чек 133 02.06.2024 23:24 [23:24:08]line Смена: 375 ФФД: 1.0 [23:24:08]line ЗНМ: 0300000037 [23:24:08]line РНМ: 0000000000092680 [23:24:08]line Версия ККМ: 001 [23:24:08]line ФМ: 0000000000874882 [23:24:08]line ФД: 39875 [23:24:08]line ФПД: 51085432864842 [23:24:08]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240602T232407&type=1&operation_type=1&fn_number=0000000000874882&fd_number=39875&fm=51085432864842&tin=02508201610067®Number=0000000000092680&sum=14000 [23:24:08]line 0 [23:24:08]OFD Sender: Processing packet 39875 [packets to send 5, broken 4] [23:24:08]ProducePacketName [23:24:08]name=ofd_packets/00039875 [23:24:08]OFD Sender: To server: pG, [23:24:08]CommunicateWithHost lk.salyk.kg:30040 [23:24:08]ConnectInit lk.salyk.kg [23:24:08]written 0, free lines is 4095 [23:24:08]Connected sock=10 [23:24:08]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 38 32 25 01 00 00 96 9B 1D 01 35 DD 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 85 00 00 00 F4 03 04 00 17 FF 5C 66 0E 04 04 00 77 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 10 04 04 00 C3 9B 00 00 35 04 06 00 2E 76 41 14 40 4A FB 7A 5D 8D 2E BD 0E 61 [23:24:08]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 4F 00 00 00 2F 2A 47 00 3F 62 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 10 04 04 00 C3 9B 00 00 F4 03 04 00 C5 A7 5C 66 B6 04 01 00 00 8D 2A BB E8 A4 CE D4 C6 [23:24:08]CommunicateWithHost err = 0 [23:24:08]CheckOFDResponse [23:24:08]1017 (14) - 77093643461234 [23:24:08]1041 (16) - 0000000000874882 [23:24:08]1040 (4) - 39875 [23:24:08]1012 (4) - 02.06.2024 17:11 [23:24:08]1206 (1) - 0 [23:24:08]OFD Sender: Remove packet 39875 [23:24:08]ProducePacketName [23:24:08]name=ofd_packets/00039875 [23:24:08]NVStorageDeleteData [23:24:08]Write to MH i2c: 01 00 00 A0 09 A9 [23:24:08]Write i2c OK [23:24:08]MH_I2C_Read... [23:24:08]Read from MH i2c: 01 [23:24:08]MH_I2C_Read... [23:24:08]Read from MH i2c: 01 07 00 [23:24:08]MH_I2C_Read... [23:24:08]Read from MH i2c: 01 07 00 A0 09 00 00 00 00 00 04 0D C1 [23:24:08]RasterBufferAndPrint [23:24:08]line [23:24:08]line [23:24:08]line [23:24:08]line [23:24:08]line [23:24:08]written 0, free lines is 3340 [23:24:08]MH_Cut [23:24:08]Write to MH i2c: D1 01 00 A7 09 01 82 [23:24:08]Write i2c OK [23:24:08]MH_I2C_Read... [23:24:08]Read from MH i2c: D1 [23:24:08]MH_I2C_Read... [23:24:08]Read from MH i2c: D1 01 00 [23:24:08]MH_I2C_Read... [23:24:08]Read from MH i2c: D1 01 00 A7 09 00 81 [23:24:08]Write to MH i2c: 01 00 00 A8 09 B1 [23:24:08]Write i2c OK [23:24:08]MH_I2C_Read... [23:24:09]OFD Sender: No OFD packet to send [23:24:09]*** Cut start [23:24:09]*** Partial cut [23:24:09]*** CUTSNS_PIN = 1 [23:24:09]*** CUTSNS_PIN = 0 [23:24:09]*** Brake cut motor [23:24:10]Read from MH i2c: 01 [23:24:10]MH_I2C_Read... [23:24:10]*** Stop cut motor [23:24:10]*** Cut end [23:24:10]Read from MH i2c: 01 07 00 [23:24:10]MH_I2C_Read... [23:24:10]Read from MH i2c: 01 07 00 A8 09 00 00 00 00 00 FF 0F C6 [23:24:10]process_action close_receipt done [23:24:10]requested_data is exist [23:24:10]produce_requested_data [23:24:10]requested_item fm.sn is exist - process it [23:24:10]wFMCommunicate request_size=4 [23:24:10]MH_SAM_APDU [23:24:10]CAPDU: 80 11 00 00 [23:24:10]Write to MH i2c: E2 08 00 A9 09 80 11 00 00 00 00 00 00 2C [23:24:10]Write i2c OK [23:24:10]MH_I2C_Read... [23:24:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:24:10]Read from MH i2c: E2 [23:24:10]MH_I2C_Read... [23:24:10]Read from MH i2c: E2 17 00 [23:24:10]MH_I2C_Read... [23:24:10]Read from MH i2c: E2 17 00 A9 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 90 00 84 [23:24:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 90 00 [23:24:10]wFMCommunicate OK [23:24:10]requested_item fd.num is exist - process it [23:24:10]SAM_PROTO_GetFieldsCounters [23:24:10]wFMCommunicate request_size=4 [23:24:10]MH_SAM_APDU [23:24:10]CAPDU: 80 13 00 00 [23:24:10]Write to MH i2c: E2 08 00 AA 09 80 13 00 00 00 00 00 00 2F [23:24:10]Write i2c OK [23:24:10]MH_I2C_Read... [23:24:10]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:24:10]Read from MH i2c: E2 [23:24:10]MH_I2C_Read... [23:24:10]Read from MH i2c: E2 62 00 [23:24:10]MH_I2C_Read... [23:24:10]Read from MH i2c: E2 62 00 AA 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 10 04 04 00 C3 9B 00 00 0E 04 04 00 77 01 00 00 12 04 04 00 85 00 00 00 5E 04 04 00 85 00 00 00 57 04 04 00 86 00 00 00 19 04 04 00 00 00 00 00 90 00 BA [23:24: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 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 10 04 04 00 C3 9B 00 00 0E 04 04 00 77 01 00 00 12 04 04 00 85 00 00 00 5E 04 04 00 85 00 00 00 57 04 04 00 86 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:24:10]wFMCommunicate OK [23:24:10]SAM_PROTO_GetFieldsCounters done [23:24:10]requested_item shift.num is exist - process it [23:24:10]requested_item shift.opened is exist - process it [23:24:10]req_shift_opened [23:24:10]FM_GetShiftState [23:24:10]SAM_PROTO_GetShiftState [23:24:10]wFMCommunicate request_size=4 [23:24:10]MH_SAM_APDU [23:24:10]CAPDU: 80 13 01 00 [23:24:10]Write to MH i2c: E2 08 00 AB 09 80 13 01 00 00 00 00 00 31 [23:24:10]Write i2c OK [23:24:10]MH_I2C_Read... [23:24:10]Read from MH i2c: E2 [23:24:10]MH_I2C_Read... [23:24:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:24:10]Read from MH i2c: E2 0E 00 [23:24:10]MH_I2C_Read... [23:24:10]Read from MH i2c: E2 0E 00 AB 09 00 09 00 01 54 BB 5B 66 00 00 00 00 90 00 0D [23:24:10]RAPDU: 09 00 01 54 BB 5B 66 00 00 00 00 90 00 [23:24:10]wFMCommunicate OK [23:24:10]SAM_PROTO_GetShiftState done [23:24:10]FM_GetShiftState done [23:24:10]req_shift_opened done [23:24:10]requested_item shift.open_date is exist - process it [23:24:10]req_shift_open_date [23:24:10]req_shift_open_date done [23:24:10]produce_requested_data done [23:24:10]produce_requested_data return {"fm.sn":"0000000000874882","fd.num":39875,"shift.num":375,"shift.opened":1,"shift.open_date":1717287764} [23:24:10]process_action_free close_receipt [23:24:10]json_value_free [23:24:10]json_value_free done [23:24:10]process_json_proto returns [23:24:10]Send response to host [23:24:10]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874882","fd.num":39875,"shift.num":375,"shift.opened":1,"shift.open_date":1717287764}}} [23:24:10]free response buf [23:24:10]execute_script done [23:24:10]execute_script returns [23:24:10]free content buf [23:24:10]Sock 9.Close socket [23:24:10]Sock 9.Thread stoped [23:24:14]OFD Sender: No OFD packet to send [23:24:19]OFD Sender: No OFD packet to send [23:24:24]OFD Sender: No OFD packet to send [23:24:29]OFD Sender: No OFD packet to send [23:24:34]OFD Sender: No OFD packet to send [23:24:39]OFD Sender: No OFD packet to send [23:24:44]OFD Sender: No OFD packet to send [23:24:49]OFD Sender: No OFD packet to send [23:24:54]OFD Sender: No OFD packet to send [23:24:59]OFD Sender: No OFD packet to send [23:25:04]OFD Sender: No OFD packet to send [23:25:09]OFD Sender: No OFD packet to send [23:25:14]OFD Sender: No OFD packet to send [23:25:19]OFD Sender: No OFD packet to send [23:25:24]OFD Sender: No OFD packet to send [23:25:29]OFD Sender: No OFD packet to send [23:25:34]OFD Sender: No OFD packet to send [23:25:39]OFD Sender: No OFD packet to send [23:25:44]OFD Sender: No OFD packet to send [23:25:49]OFD Sender: No OFD packet to send [23:25:54]OFD Sender: No OFD packet to send [23:25:59]OFD Sender: No OFD packet to send [23:26:04]OFD Sender: No OFD packet to send [23:26:09]OFD Sender: No OFD packet to send [23:26:14]OFD Sender: No OFD packet to send [23:26:19]OFD Sender: No OFD packet to send [23:26:24]OFD Sender: No OFD packet to send [23:26:29]OFD Sender: No OFD packet to send [23:26:34]OFD Sender: No OFD packet to send [23:26:39]OFD Sender: No OFD packet to send [23:26:44]OFD Sender: No OFD packet to send [23:26:49]OFD Sender: No OFD packet to send [23:26:54]OFD Sender: No OFD packet to send [23:26:59]OFD Sender: No OFD packet to send [23:27:04]OFD Sender: No OFD packet to send [23:27:09]OFD Sender: No OFD packet to send [23:27:14]OFD Sender: No OFD packet to send [23:27:19]OFD Sender: No OFD packet to send [23:27:24]OFD Sender: No OFD packet to send [23:27:29]OFD Sender: No OFD packet to send [23:27:34]OFD Sender: No OFD packet to send [23:27:39]OFD Sender: No OFD packet to send [23:27:44]OFD Sender: No OFD packet to send [23:27:49]OFD Sender: No OFD packet to send [23:27:54]OFD Sender: No OFD packet to send [23:27:59]OFD Sender: No OFD packet to send [23:28:04]OFD Sender: No OFD packet to send [23:28:09]OFD Sender: No OFD packet to send [23:28:14]OFD Sender: No OFD packet to send [23:28:19]OFD Sender: No OFD packet to send [23:28:24]OFD Sender: No OFD packet to send [23:28:29]OFD Sender: No OFD packet to send [23:28:34]OFD Sender: No OFD packet to send [23:28:39]OFD Sender: No OFD packet to send [23:28:44]OFD Sender: No OFD packet to send [23:28:49]OFD Sender: No OFD packet to send [23:28:54]OFD Sender: No OFD packet to send [23:28:59]OFD Sender: No OFD packet to send [23:29:04]OFD Sender: No OFD packet to send [23:29:09]OFD Sender: No OFD packet to send [23:29:14]OFD Sender: No OFD packet to send [23:29:19]OFD Sender: No OFD packet to send [23:29:24]OFD Sender: No OFD packet to send [23:29:29]OFD Sender: No OFD packet to send [23:29:34]OFD Sender: No OFD packet to send [23:29:39]OFD Sender: No OFD packet to send [23:29:44]OFD Sender: No OFD packet to send [23:29:49]OFD Sender: No OFD packet to send [23:29:54]OFD Sender: No OFD packet to send [23:29:59]OFD Sender: No OFD packet to send [23:30:04]OFD Sender: No OFD packet to send [23:30:09]OFD Sender: No OFD packet to send [23:30:14]OFD Sender: No OFD packet to send [23:30:19]OFD Sender: No OFD packet to send [23:30:24]OFD Sender: No OFD packet to send [23:30:29]OFD Sender: No OFD packet to send [23:30:34]OFD Sender: No OFD packet to send [23:30:39]OFD Sender: No OFD packet to send [23:30:44]OFD Sender: No OFD packet to send [23:30:49]OFD Sender: No OFD packet to send [23:30:54]OFD Sender: No OFD packet to send [23:30:59]OFD Sender: No OFD packet to send [23:31:04]OFD Sender: No OFD packet to send [23:31:09]OFD Sender: No OFD packet to send [23:31:14]OFD Sender: No OFD packet to send [23:31:19]OFD Sender: No OFD packet to send [23:31:24]OFD Sender: No OFD packet to send [23:31:29]OFD Sender: No OFD packet to send [23:31:34]OFD Sender: No OFD packet to send [23:31:39]OFD Sender: No OFD packet to send [23:31:44]OFD Sender: No OFD packet to send [23:31:49]OFD Sender: No OFD packet to send [23:31:54]OFD Sender: No OFD packet to send [23:31:59]OFD Sender: No OFD packet to send [23:32:04]OFD Sender: No OFD packet to send [23:32:09]OFD Sender: No OFD packet to send [23:32:14]OFD Sender: No OFD packet to send [23:32:19]OFD Sender: No OFD packet to send [23:32:24]OFD Sender: No OFD packet to send [23:32:29]OFD Sender: No OFD packet to send [23:32:34]OFD Sender: No OFD packet to send [23:32:39]OFD Sender: No OFD packet to send [23:32:44]OFD Sender: No OFD packet to send [23:32:49]OFD Sender: No OFD packet to send [23:32:54]OFD Sender: No OFD packet to send [23:32:59]OFD Sender: No OFD packet to send [23:33:04]OFD Sender: No OFD packet to send [23:33:09]OFD Sender: No OFD packet to send [23:33:14]OFD Sender: No OFD packet to send [23:33:19]OFD Sender: No OFD packet to send [23:33:24]OFD Sender: No OFD packet to send [23:33:29]OFD Sender: No OFD packet to send [23:33:34]OFD Sender: No OFD packet to send [23:33:39]OFD Sender: No OFD packet to send [23:33:44]OFD Sender: No OFD packet to send [23:33:49]OFD Sender: No OFD packet to send [23:33:54]OFD Sender: No OFD packet to send [23:33:59]OFD Sender: No OFD packet to send [23:34:04]OFD Sender: No OFD packet to send [23:34:09]OFD Sender: No OFD packet to send [23:34:12]accept exits with 7 [23:34:12]New connection [23:34:12]New thread 3066699108 created [23:34:12]Thread 3066555748 joined [23:34:12]Waiting for new connection... [23:34:12] Sock 7.Parse request [23:34:12]Sock 7.Check first char [23:34:12]Sock 7.First char is OK [23:34:12]request: POST /json_proto HTTP/1.0 [23:34:12]Method: POST [23:34:12]URL: /json_proto [23:34:12]Method is POST - this is cgi request [23:34:12]url: /json_proto [23:34:12]query_string will be loaded in cgi processing [23:34:12]execute_cgi json_proto POST (null) [23:34:12]execute_cgi path=json_proto method=POST [23:34:12]POST find Content-Length [23:34:12]Host: 172.17.36.199:8080 [23:34:12]Content-Length: 1667 [23:34:12]Content-Type: application/json [23:34:12] [23:34:12]POST finish read [23:34:12]Found Content-Length = 1667 [23:34:12]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)176436", "tax_sys" : 0, "items" : [ { "code": "54491472", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 0,5\u043B", "price" : 65.00, "quantity" : 1.000, "sum" : 65.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4650243871781", "name": "Gorilla \u044D\u043D \u043D\u0430\u043F Orange 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": "4630007401805", "name": "\u0410\u0440\u0430\u0445\u0438\u0441 \u0414\u0416\u0418\u041D\u041D \u0441\u043E\u043B\u044C 130\u0433", "price" : 100.00, "quantity" : 1.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "90448300", "name": "\u042D\u043D\u0435\u0440\u0433 \u043D\u0430\u043F\u0438\u0442\u043E\u043A Red Bull 0,355\u043B", "price" : 265.00, "quantity" : 1.000, "sum" : 265.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4640030091607", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange", "price" : 138.00, "quantity" : 1.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 678.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:34:12]execute_script... [23:34: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)176436", "tax_sys" : 0, "items" : [ { "code": "54491472", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 0,5\u043B", "price" : 65.00, "quantity" : 1.000, "sum" : 65.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4650243871781", "name": "Gorilla \u044D\u043D \u043D\u0430\u043F Orange 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": "4630007401805", "name": "\u0410\u0440\u0430\u0445\u0438\u0441 \u0414\u0416\u0418\u041D\u041D \u0441\u043E\u043B\u044C 130\u0433", "price" : 100.00, "quantity" : 1.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "90448300", "name": "\u042D\u043D\u0435\u0440\u0433 \u043D\u0430\u043F\u0438\u0442\u043E\u043A Red Bull 0,355\u043B", "price" : 265.00, "quantity" : 1.000, "sum" : 265.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4640030091607", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange", "price" : 138.00, "quantity" : 1.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 678.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:34:12]POST & json_proto [23:34:12]process_json_proto [23:34:12]json parsed OK: [23:34:12]protocol is kg_v1.0 [23:34:12]action value=close_receipt [23:34:12]process_action close_receipt [23:34:12]cmd_close_receipt [23:34:12]MH_GetDate [23:34:12]Write to MH i2c: F0 00 00 AC 09 A4 [23:34:12]Write i2c OK [23:34:12]MH_I2C_Read... [23:34:12]Read from MH i2c: F0 [23:34:12]MH_I2C_Read... [23:34:12]Read from MH i2c: F0 09 00 [23:34:12]MH_I2C_Read... [23:34:12]Read from MH i2c: F0 09 00 AC 09 00 76 01 5D 66 91 46 04 65 27 [23:34:12]GetLastDocTimeStamp 1717370647 [23:34:12]current date 1717371254 [23:34:12]FM_GetShiftState [23:34:12]SAM_PROTO_GetShiftState [23:34:12]wFMCommunicate request_size=4 [23:34:12]MH_SAM_APDU [23:34:12]CAPDU: 80 13 01 00 [23:34:12]Write to MH i2c: E2 08 00 AD 09 80 13 01 00 00 00 00 00 33 [23:34:12]Write i2c OK [23:34:12]MH_I2C_Read... [23:34:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:34:12]Read from MH i2c: E2 [23:34:12]MH_I2C_Read... [23:34:12]Read from MH i2c: E2 0E 00 [23:34:12]MH_I2C_Read... [23:34:12]Read from MH i2c: E2 0E 00 AD 09 00 09 00 01 54 BB 5B 66 00 00 00 00 90 00 0F [23:34:12]RAPDU: 09 00 01 54 BB 5B 66 00 00 00 00 90 00 [23:34:12]wFMCommunicate OK [23:34:12]SAM_PROTO_GetShiftState done [23:34:12]FM_GetShiftState done [23:34:12]opened in 1717287764 [23:34:12]opened+sec_in_day 1717374164 [23:34:12]quantity*price = 6500 [23:34:12]sum+1 = 6501 [23:34:12]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4650243871781 Gorilla эн нап Orange 0,45 ж/б 1.000 * 110.00 = 110.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4630007401805 Арахис ДЖИНН соль 130г 1.000 * 100.00 = 100.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 90448300 Энерг напиток Red Bull 0,355л 1.000 * 265.00 = 265.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4640030091607 Сигареты ESSE Exchange 1.000 * 138.00 = 138.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 678.00 НСП 1% : 5.98 НДС 12% : 71.99 Наличными: 678.00 Безнал.: 0.00 Место: АЗС № 63 "Партнер Нефть" Адрес: 720001, с. Чон Сары Ой, ул. Западная 3, 42.603516, 76.894901 СНО: Общий режим Чек 134 02.06.2024 23:34 Смена: 375 ФФД: 1.0 ЗНМ: 0300000037 РНМ: 0000000000092680 Версия ККМ: 001 ФМ: 0000000000874882 ФД: 39876 ФПД: 213278428279588 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240602T233414&type=1&operation_type=1&fn_number=0000000000874882&fd_number=39876&fm=213278428279588&tin=02508201610067®Number=0000000000092680&sum=67800 0 [23:34:13]StoreToDocumentArchive [23:34:13]shift 375 fd 39876 [23:34:13]save to /storage/0375/doc_00039876 [23:34:13]save last doc name /storage/0375/doc_00039876 to /storage/kkm_last_doc_name [23:34:13]save OK [23:34:13]Clear old archive folders... [23:34:13]ProcessDocumentItem done err = 0, tmpTLVsize=705 [23:34:13]tlvbuf is 00D56D80 [23:34:13]SAM_PROTO_ClearQueue [23:34:13]wFMCommunicate request_size=4 [23:34:13]MH_SAM_APDU [23:34:13]CAPDU: 80 09 00 00 [23:34:13]Write to MH i2c: E2 08 00 BA 09 80 09 00 00 00 00 00 00 35 [23:34:13]Write i2c OK [23:34:13]MH_I2C_Read... [23:34:13]Read from MH i2c: E2 [23:34:13]MH_I2C_Read... [23:34:13]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:34:13]Read from MH i2c: E2 03 00 [23:34:13]MH_I2C_Read... [23:34:13]Read from MH i2c: E2 03 00 BA 09 00 90 00 37 [23:34:13]RAPDU: 90 00 [23:34:13]wFMCommunicate OK [23:34:13]SAM_PROTO_ClearQueue done [23:34:13]KKMCreateOFDPacket [23:34:13]OFDProtocolAddRootSTLVToBuf [23:34:13]FM_MakeSignedData [23:34:13]FM_MakeSignedData [23:34:13]SAM_PROTO_SignData [23:34:13]wFMCommunicate request_size=4 [23:34:13]MH_SAM_APDU [23:34:13]CAPDU: 80 0D 01 02 [23:34:13]Write to MH i2c: E2 08 00 BB 09 80 0D 01 02 00 00 00 00 3D [23:34:13]Write i2c OK [23:34:13]MH_I2C_Read... [23:34:13]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:34:13]Read from MH i2c: E2 [23:34:13]MH_I2C_Read... [23:34:13]Read from MH i2c: E2 03 00 [23:34:13]MH_I2C_Read... [23:34:13]Read from MH i2c: E2 03 00 BB 09 00 90 00 38 [23:34:13]RAPDU: 90 00 [23:34:13]wFMCommunicate OK [23:34:13]wFMCommunicate request_size=255 [23:34:13]MH_SAM_APDU [23:34:13]CAPDU: 80 0D 02 02 FA 03 00 C1 02 1E 04 01 00 01 23 04 65 00 8A 04 08 00 35 34 34 39 31 34 37 32 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 69 00 8A 04 0D 00 34 36 35 30 32 34 33 38 37 31 37 38 31 06 04 25 00 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 4F 72 61 6E 67 65 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 6A 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 31 38 30 35 06 04 26 00 D0 90 [23:34:13]Write to MH i2c: E2 02 01 BC 09 80 0D 02 02 FA 00 03 00 C1 02 1E 04 01 00 01 23 04 65 00 8A 04 08 00 35 34 34 39 31 34 37 32 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 69 00 8A 04 0D 00 34 36 35 30 32 34 33 38 37 31 37 38 31 06 04 25 00 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 4F 72 61 6E 67 65 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 6A 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 31 38 30 35 06 04 26 00 D0 90 00 00 FF [23:34:13]Write i2c OK [23:34:13]MH_I2C_Read... [23:34:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:34:13]Read from MH i2c: E2 [23:34:13]MH_I2C_Read... [23:34:13]Read from MH i2c: E2 03 00 [23:34:13]MH_I2C_Read... [23:34:13]Read from MH i2c: E2 03 00 BC 09 00 90 00 39 [23:34:13]RAPDU: 90 00 [23:34:13]wFMCommunicate OK [23:34:13]wFMCommunicate request_size=255 [23:34:13]MH_SAM_APDU [23:34:13]CAPDU: 80 0D 02 02 FA D1 80 D0 B0 D1 85 D0 B8 D1 81 20 D0 94 D0 96 D0 98 D0 9D D0 9D 20 D1 81 D0 BE D0 BB D1 8C 20 31 33 30 D0 B3 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 23 04 69 00 8A 04 08 00 39 30 34 34 38 33 30 30 06 04 2A 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 42 75 6C 6C 20 30 2C 33 35 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 84 67 00 00 00 00 13 04 06 00 84 67 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 30 37 06 04 1E 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 FF 03 08 [23:34:13]Write to MH i2c: E2 02 01 BD 09 80 0D 02 02 FA 00 D1 80 D0 B0 D1 85 D0 B8 D1 81 20 D0 94 D0 96 D0 98 D0 9D D0 9D 20 D1 81 D0 BE D0 BB D1 8C 20 31 33 30 D0 B3 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 23 04 69 00 8A 04 08 00 39 30 34 34 38 33 30 30 06 04 2A 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 42 75 6C 6C 20 30 2C 33 35 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 84 67 00 00 00 00 13 04 06 00 84 67 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 30 37 06 04 1E 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 FF 03 08 00 00 71 [23:34:13]Write i2c OK [23:34:13]MH_I2C_Read... [23:34:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:34:14]Read from MH i2c: E2 [23:34:14]MH_I2C_Read... [23:34:14]Read from MH i2c: E2 03 00 [23:34:14]MH_I2C_Read... [23:34:14]Read from MH i2c: E2 03 00 BD 09 00 90 00 3A [23:34:14]RAPDU: 90 00 [23:34:14]wFMCommunicate OK [23:34:14]wFMCommunicate request_size=214 [23:34:14]MH_SAM_APDU [23:34:14]CAPDU: 80 0D 02 02 D1 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 D8 08 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 56 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1F 1C 00 00 00 00 07 04 06 00 D8 08 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 86 00 00 00 F4 03 04 00 76 01 5D 66 0E 04 04 00 77 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 10 04 04 00 C4 9B 00 00 35 04 06 00 C1 F9 C0 F4 B3 24 [23:34:14]Write to MH i2c: E2 D9 00 BE 09 80 0D 02 02 D1 00 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 D8 08 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 56 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1F 1C 00 00 00 00 07 04 06 00 D8 08 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 86 00 00 00 F4 03 04 00 76 01 5D 66 0E 04 04 00 77 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 10 04 04 00 C4 9B 00 00 35 04 06 00 C1 F9 C0 F4 B3 24 00 00 95 [23:34:14]Write i2c OK [23:34:14]MH_I2C_Read... [23:34:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:34:14]Read from MH i2c: E2 [23:34:14]MH_I2C_Read... [23:34:14]Read from MH i2c: E2 03 00 [23:34:14]MH_I2C_Read... [23:34:14]Read from MH i2c: E2 03 00 BE 09 00 90 00 3B [23:34:14]RAPDU: 90 00 [23:34:14]wFMCommunicate OK [23:34:14]wFMCommunicate request_size=4 [23:34:14]MH_SAM_APDU [23:34:14]CAPDU: 80 0D 03 02 [23:34:14]Write to MH i2c: E2 08 00 BF 09 80 0D 03 02 00 00 00 00 43 [23:34:14]Write i2c OK [23:34:14]MH_I2C_Read... [23:34:14]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:34:14]Read from MH i2c: E2 [23:34:14]MH_I2C_Read... [23:34:14]Read from MH i2c: E2 0B 00 [23:34:14]MH_I2C_Read... [23:34:14]Read from MH i2c: E2 0B 00 BF 09 00 42 82 30 E4 91 C3 3A 64 90 00 0E [23:34:14]RAPDU: 42 82 30 E4 91 C3 3A 64 90 00 [23:34:14]wFMCommunicate OK [23:34:14]SAM_PROTO_SignData done [23:34:14]FM_MakeSignedData done [23:34:14]CreateOFDProtocolMessage [23:34:14]wFMCommunicate request_size=4 [23:34:14]MH_SAM_APDU [23:34:14]CAPDU: 80 11 00 00 [23:34:14]Write to MH i2c: E2 08 00 C0 09 80 11 00 00 00 00 00 00 43 [23:34:14]Write i2c OK [23:34:14]MH_I2C_Read... [23:34:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:34:14]Read from MH i2c: E2 [23:34:14]MH_I2C_Read... [23:34:14]Read from MH i2c: E2 17 00 [23:34:14]MH_I2C_Read... [23:34:14]Read from MH i2c: E2 17 00 C0 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 90 00 9B [23:34:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 90 00 [23:34:14]wFMCommunicate OK [23:34:14]CreateOFDProtocolMessage done [23:34:14]OFDSenderStorePacket 39876 [23:34:14]StoreOFDPacket docnum=39876 [23:34:14]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 D5 02 00 00 AB 99 CD 02 08 6B 5A 03 01 00 03 00 C1 02 1E 04 01 00 01 23 04 65 00 8A 04 08 00 35 34 34 39 31 34 37 32 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 69 00 8A 04 0D 00 34 36 35 30 32 34 33 38 37 31 37 38 31 06 04 25 00 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 4F 72 61 6E 67 65 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 6A 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 31 38 30 35 06 04 26 00 D0 90 D1 80 D0 B0 D1 85 D0 B8 D1 81 20 D0 94 D0 96 D0 98 D0 9D D0 9D 20 D1 81 D0 BE D0 BB D1 8C 20 31 33 30 D0 B3 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 23 04 69 00 8A 04 08 00 39 30 34 34 38 33 30 30 06 04 2A 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 42 75 6C 6C 20 30 2C 33 35 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 84 67 00 00 00 00 13 04 06 00 84 67 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 30 37 06 04 1E 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 D8 08 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 56 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1F 1C 00 00 00 00 07 04 06 00 D8 08 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 86 00 00 00 F4 03 04 00 76 01 5D 66 0E 04 04 00 77 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 10 04 04 00 C4 9B 00 00 35 04 06 00 C1 F9 C0 F4 B3 24 42 82 30 E4 91 C3 3A 64 [23:34:14]CheckFolder [23:34:14]dirname=/storage/ofd_packets [23:34:14]CheckFolder done [23:34:14]ProducePacketName [23:34:14]name=ofd_packets/00039876 [23:34:14]NVStorageSaveData ofd_packets/00039876 [23:34:14]File name is /storage/ofd_packets/00039876 [23:34:14]Write 755 bytes [23:34:14]NVStorageSaveData done [23:34:14]OFDSenderStorePacket done [23:34:14]KKMCreateOFDPacket done [23:34:14]NVStorageSaveData kkm_last_timestamp [23:34:14]File name is /storage/kkm_last_timestamp [23:34:14]Write 4 bytes [23:34:14]NVStorageSaveData done [23:34:14]ExternCall_PrintAddStr [23:34:14]wPrintStart [23:34:14]Write to MH i2c: 01 00 00 C1 09 CA [23:34:14]OFD Sender: No OFD packet to send [23:34:14]Write i2c OK [23:34:14]MH_I2C_Read... [23:34:14]Read from MH i2c: 01 [23:34:14]MH_I2C_Read... [23:34:14]Read from MH i2c: 01 07 00 [23:34:14]MH_I2C_Read... [23:34:14]Read from MH i2c: 01 07 00 C1 09 00 00 00 00 00 FF 0F DF [23:34:14]RasterBufferAndPrint [23:34:14]line Счет N : (3)176436 [23:34:14]line ИНН: 02508201610067 [23:34:14]line Контрольно-Кассовый Чек [23:34:14]line ПРОДАЖА [23:34:14]line Товар: 54491472 [23:34:14]line Напиток Кока-Кола 0,5л [23:34:14]line 1.000 * 65.00 [23:34:14]line = 65.00 [23:34:14]line НДС 12% НСП 1% [23:34:14]line > о реализуемом товаре [23:34:14]line Товар: 4650243871781 [23:34:14]line Gorilla эн нап Orange 0,45 ж/б [23:34:14]line 1.000 * 110.00 [23:34:14]line = 110.00 [23:34:14]line НДС 12% НСП 1% [23:34:14]line > о реализуемом товаре [23:34:14]line Товар: 4630007401805 [23:34:14]line Арахис ДЖИНН соль 130г [23:34:14]line 1.000 * 100.00 [23:34:14]line = 100.00 [23:34:14]line НДС 12% НСП 1% [23:34:14]line > о реализуемом товаре [23:34:14]line Товар: 90448300 [23:34:14]line Энерг напиток Red Bull 0,355л [23:34:14]line 1.000 * 265.00 [23:34:14]line = 265.00 [23:34:14]line НДС 12% НСП 1% [23:34:14]line > о реализуемом товаре [23:34:14]line Товар: 4640030091607 [23:34:14]line Сигареты ESSE Exchange [23:34:14]line 1.000 * 138.00 [23:34:14]line = 138.00 [23:34:14]line НДС 12% НСП 1% [23:34:14]line > о реализуемом товаре [23:34:14]line ИТОГО: 678.00 [23:34:14]line НСП 1% : 5.98 [23:34:14]line НДС 12% : 71.99 [23:34:14]line Наличными: 678.00 [23:34:14]line Безнал.: 0.00 [23:34:14]line Место: АЗС № 63 "Партнер Нефть" [23:34:14]line Адрес: 720001, с. Чон Сары Ой, ул. Западная 3, 42.603516, 76.894901 [23:34:14]line СНО: Общий режим [23:34:14]line Чек 134 02.06.2024 23:34 [23:34:14]line Смена: 375 ФФД: 1.0 [23:34:14]line ЗНМ: 0300000037 [23:34:14]line РНМ: 0000000000092680 [23:34:14]line Версия ККМ: 001 [23:34:14]line ФМ: 0000000000874882 [23:34:14]line ФД: 39876 [23:34:14]line ФПД: 213278428279588 [23:34:14]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240602T233414&type=1&operation_type=1&fn_number=0000000000874882&fd_number=39876&fm=213278428279588&tin=02508201610067®Number=0000000000092680&sum=67800 [23:34:14]line 0 [23:34:14]written 0, free lines is 4095 [23:34:14]OFD Sender: Processing packet 39876 [packets to send 5, broken 4] [23:34:14]ProducePacketName [23:34:14]name=ofd_packets/00039876 [23:34:14]OFD Sender: To server: pG, [23:34:14]CommunicateWithHost lk.salyk.kg:30040 [23:34:14]ConnectInit lk.salyk.kg [23:34:15]Connected sock=10 [23:34:15]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 38 32 D5 02 00 00 AB 99 CD 02 08 6B 5A 03 01 00 03 00 C1 02 1E 04 01 00 01 23 04 65 00 8A 04 08 00 35 34 34 39 31 34 37 32 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 69 00 8A 04 0D 00 34 36 35 30 32 34 33 38 37 31 37 38 31 06 04 25 00 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 4F 72 61 6E 67 65 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 6A 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 31 38 30 35 06 04 26 00 D0 90 D1 80 D0 B0 D1 85 D0 B8 D1 81 20 D0 94 D0 96 D0 98 D0 9D D0 9D 20 D1 81 D0 BE D0 BB D1 8C 20 31 33 30 D0 B3 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 23 04 69 00 8A 04 08 00 39 30 34 34 38 33 30 30 06 04 2A 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 42 75 6C 6C 20 30 2C 33 35 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 84 67 00 00 00 00 13 04 06 00 84 67 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 30 37 06 04 1E 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 D8 08 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 56 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1F 1C 00 00 00 00 07 04 06 00 D8 08 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 86 00 00 00 F4 03 04 00 76 01 5D 66 0E 04 04 00 77 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 10 04 04 00 C4 9B 00 00 35 04 06 00 C1 F9 C0 F4 B3 24 42 82 30 E4 91 C3 3A 64 [23:34: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 38 32 4F 00 00 00 9D D9 47 00 84 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 38 32 10 04 04 00 C4 9B 00 00 F4 03 04 00 24 AA 5C 66 B6 04 01 00 00 39 03 41 9C 32 5E 84 DA [23:34:15]CommunicateWithHost err = 0 [23:34:15]CheckOFDResponse [23:34:15]1017 (14) - 77093643461234 [23:34:15]1041 (16) - 0000000000874882 [23:34:15]1040 (4) - 39876 [23:34:15]1012 (4) - 02.06.2024 17:21 [23:34:15]1206 (1) - 0 [23:34:15]OFD Sender: Remove packet 39876 [23:34:15]ProducePacketName [23:34:15]name=ofd_packets/00039876 [23:34:15]NVStorageDeleteData [23:34:15]Write to MH i2c: 01 00 00 01 0A 0B [23:34:15]Write i2c OK [23:34:15]MH_I2C_Read... [23:34:15]Read from MH i2c: 01 [23:34:15]MH_I2C_Read... [23:34:15]Read from MH i2c: 01 07 00 [23:34:15]MH_I2C_Read... [23:34:15]Read from MH i2c: 01 07 00 01 0A 00 00 00 00 00 1C 0C 3A [23:34:15]RasterBufferAndPrint [23:34:15]line [23:34:15]line [23:34:15]line [23:34:15]line [23:34:15]line [23:34:15]written 0, free lines is 3110 [23:34:15]MH_Cut [23:34:15]Write to MH i2c: D1 01 00 08 0A 01 E4 [23:34:15]Write i2c OK [23:34:15]MH_I2C_Read... [23:34:15]Read from MH i2c: D1 [23:34:15]MH_I2C_Read... [23:34:15]Read from MH i2c: D1 01 00 [23:34:15]MH_I2C_Read... [23:34:15]Read from MH i2c: D1 01 00 08 0A 00 E3 [23:34:15]Write to MH i2c: 01 00 00 09 0A 13 [23:34:15]Write i2c OK [23:34:15]MH_I2C_Read... [23:34:15]OFD Sender: No OFD packet to send [23:34:16]*** Cut start [23:34:16]*** Partial cut [23:34:16]*** CUTSNS_PIN = 1 [23:34:16]*** CUTSNS_PIN = 0 [23:34:16]*** Brake cut motor [23:34:16]Read from MH i2c: 01 [23:34:17]MH_I2C_Read... [23:34:17]*** Stop cut motor [23:34:17]*** Cut end [23:34:17]Read from MH i2c: 01 07 00 [23:34:17]MH_I2C_Read... [23:34:17]Read from MH i2c: 01 07 00 09 0A 00 00 00 00 00 FF 0F 28 [23:34:17]process_action close_receipt done [23:34:17]requested_data is exist [23:34:17]produce_requested_data [23:34:17]requested_item fm.sn is exist - process it [23:34:17]wFMCommunicate request_size=4 [23:34:17]MH_SAM_APDU [23:34:17]CAPDU: 80 11 00 00 [23:34:17]Write to MH i2c: E2 08 00 0A 0A 80 11 00 00 00 00 00 00 8E [23:34:17]Write i2c OK [23:34:17]MH_I2C_Read... [23:34:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:34:17]Read from MH i2c: E2 [23:34:17]MH_I2C_Read... [23:34:17]Read from MH i2c: E2 17 00 [23:34:17]MH_I2C_Read... [23:34:17]Read from MH i2c: E2 17 00 0A 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 90 00 E6 [23:34:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 90 00 [23:34:17]wFMCommunicate OK [23:34:17]requested_item fd.num is exist - process it [23:34:17]SAM_PROTO_GetFieldsCounters [23:34:17]wFMCommunicate request_size=4 [23:34:17]MH_SAM_APDU [23:34:17]CAPDU: 80 13 00 00 [23:34:17]Write to MH i2c: E2 08 00 0B 0A 80 13 00 00 00 00 00 00 91 [23:34:17]Write i2c OK [23:34:17]MH_I2C_Read... [23:34:17]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:34:17]Read from MH i2c: E2 [23:34:17]MH_I2C_Read... [23:34:17]Read from MH i2c: E2 62 00 [23:34:17]MH_I2C_Read... [23:34:17]Read from MH i2c: E2 62 00 0B 0A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 10 04 04 00 C4 9B 00 00 0E 04 04 00 77 01 00 00 12 04 04 00 86 00 00 00 5E 04 04 00 86 00 00 00 57 04 04 00 87 00 00 00 19 04 04 00 00 00 00 00 90 00 20 [23:34:17]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 10 04 04 00 C4 9B 00 00 0E 04 04 00 77 01 00 00 12 04 04 00 86 00 00 00 5E 04 04 00 86 00 00 00 57 04 04 00 87 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:34:17]wFMCommunicate OK [23:34:17]SAM_PROTO_GetFieldsCounters done [23:34:17]requested_item shift.num is exist - process it [23:34:17]requested_item shift.opened is exist - process it [23:34:17]req_shift_opened [23:34:17]FM_GetShiftState [23:34:17]SAM_PROTO_GetShiftState [23:34:17]wFMCommunicate request_size=4 [23:34:17]MH_SAM_APDU [23:34:17]CAPDU: 80 13 01 00 [23:34:17]Write to MH i2c: E2 08 00 0C 0A 80 13 01 00 00 00 00 00 93 [23:34:17]Write i2c OK [23:34:17]MH_I2C_Read... [23:34:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:34:17]Read from MH i2c: E2 [23:34:17]MH_I2C_Read... [23:34:17]Read from MH i2c: E2 0E 00 [23:34:17]MH_I2C_Read... [23:34:17]Read from MH i2c: E2 0E 00 0C 0A 00 09 00 01 54 BB 5B 66 00 00 00 00 90 00 6F [23:34:17]RAPDU: 09 00 01 54 BB 5B 66 00 00 00 00 90 00 [23:34:17]wFMCommunicate OK [23:34:17]SAM_PROTO_GetShiftState done [23:34:17]FM_GetShiftState done [23:34:17]req_shift_opened done [23:34:17]requested_item shift.open_date is exist - process it [23:34:17]req_shift_open_date [23:34:17]req_shift_open_date done [23:34:17]produce_requested_data done [23:34:17]produce_requested_data return {"fm.sn":"0000000000874882","fd.num":39876,"shift.num":375,"shift.opened":1,"shift.open_date":1717287764} [23:34:17]process_action_free close_receipt [23:34:17]json_value_free [23:34:17]json_value_free done [23:34:17]process_json_proto returns [23:34:17]Send response to host [23:34:17]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874882","fd.num":39876,"shift.num":375,"shift.opened":1,"shift.open_date":1717287764}}} [23:34:17]free response buf [23:34:17]execute_script done [23:34:17]execute_script returns [23:34:17]free content buf [23:34:17]Sock 7.Close socket [23:34:17]Sock 7.Thread stoped [23:34:20]OFD Sender: No OFD packet to send [23:34:25]OFD Sender: No OFD packet to send [23:34:30]OFD Sender: No OFD packet to send [23:34:35]OFD Sender: No OFD packet to send [23:34:40]OFD Sender: No OFD packet to send [23:34:45]OFD Sender: No OFD packet to send [23:34:50]OFD Sender: No OFD packet to send [23:34:55]OFD Sender: No OFD packet to send [23:35:00]OFD Sender: No OFD packet to send [23:35:05]OFD Sender: No OFD packet to send [23:35:10]OFD Sender: No OFD packet to send [23:35:15]OFD Sender: No OFD packet to send [23:35:20]OFD Sender: No OFD packet to send [23:35:25]OFD Sender: No OFD packet to send [23:35:30]OFD Sender: No OFD packet to send [23:35:35]OFD Sender: No OFD packet to send [23:35:40]OFD Sender: No OFD packet to send [23:35:45]OFD Sender: No OFD packet to send [23:35:50]OFD Sender: No OFD packet to send [23:35:55]OFD Sender: No OFD packet to send [23:36:00]OFD Sender: No OFD packet to send [23:36:05]OFD Sender: No OFD packet to send [23:36:10]OFD Sender: No OFD packet to send [23:36:15]OFD Sender: No OFD packet to send [23:36:20]OFD Sender: No OFD packet to send [23:36:21]accept exits with 9 [23:36:21]New connection [23:36:21]New thread 3066555748 created [23:36:21]Thread 3066699108 joined [23:36:21]Waiting for new connection... [23:36:21] Sock 9.Parse request [23:36:21]Sock 9.Check first char [23:36:21]Sock 9.First char is OK [23:36:21]request: POST /json_proto HTTP/1.0 [23:36:21]Method: POST [23:36:21]URL: /json_proto [23:36:21]Method is POST - this is cgi request [23:36:21]url: /json_proto [23:36:21]query_string will be loaded in cgi processing [23:36:21]execute_cgi json_proto POST (null) [23:36:21]execute_cgi path=json_proto method=POST [23:36:21]POST find Content-Length [23:36:21]Host: 172.17.36.199:8080 [23:36:21]Content-Length: 622 [23:36:21]Content-Type: application/json [23:36:21] [23:36:21]POST finish read [23:36:21]Found Content-Length = 622 [23:36:21]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)176437", "tax_sys" : 0, "items" : [ { "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "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" ] } } [23:36:21]execute_script... [23:36: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)176437", "tax_sys" : 0, "items" : [ { "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "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" ] } } [23:36:21]POST & json_proto [23:36:21]process_json_proto [23:36:21]json parsed OK: [23:36:21]protocol is kg_v1.0 [23:36:21]action value=close_receipt [23:36:21]process_action close_receipt [23:36:21]cmd_close_receipt [23:36:21]MH_GetDate [23:36:21]Write to MH i2c: F0 00 00 0D 0A 06 [23:36:21]Write i2c OK [23:36:21]MH_I2C_Read... [23:36:21]Read from MH i2c: F0 [23:36:21]MH_I2C_Read... [23:36:21]Read from MH i2c: F0 09 00 [23:36:21]MH_I2C_Read... [23:36:21]Read from MH i2c: F0 09 00 0D 0A 00 F6 01 5D 66 91 46 04 65 09 [23:36:21]GetLastDocTimeStamp 1717371254 [23:36:21]current date 1717371382 [23:36:21]FM_GetShiftState [23:36:21]SAM_PROTO_GetShiftState [23:36:21]wFMCommunicate request_size=4 [23:36:21]MH_SAM_APDU [23:36:21]CAPDU: 80 13 01 00 [23:36:21]Write to MH i2c: E2 08 00 0E 0A 80 13 01 00 00 00 00 00 95 [23:36:21]Write i2c OK [23:36:21]MH_I2C_Read... [23:36:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:36:21]Read from MH i2c: E2 [23:36:21]MH_I2C_Read... [23:36:21]Read from MH i2c: E2 0E 00 [23:36:21]MH_I2C_Read... [23:36:21]Read from MH i2c: E2 0E 00 0E 0A 00 09 00 01 54 BB 5B 66 00 00 00 00 90 00 71 [23:36:21]RAPDU: 09 00 01 54 BB 5B 66 00 00 00 00 90 00 [23:36:21]wFMCommunicate OK [23:36:21]SAM_PROTO_GetShiftState done [23:36:21]FM_GetShiftState done [23:36:21]opened in 1717287764 [23:36:21]opened+sec_in_day 1717374164 [23:36:21]quantity*price = 13800 [23:36:21]sum+1 = 13801 [23:36:21]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 138.00 НСП 1% : 1.22 НДС 12% : 14.65 Наличными: 138.00 Безнал.: 0.00 Место: АЗС № 63 "Партнер Нефть" Адрес: 720001, с. Чон Сары Ой, ул. Западная 3, 42.603516, 76.894901 СНО: Общий режим Чек 135 02.06.2024 23:36 Смена: 375 ФФД: 1.0 ЗНМ: 0300000037 РНМ: 0000000000092680 Версия ККМ: 001 ФМ: 0000000000874882 ФД: 39877 ФПД: 135040216402417 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240602T233622&type=1&operation_type=1&fn_number=0000000000874882&fd_number=39877&fm=135040216402417&tin=02508201610067®Number=0000000000092680&sum=13800 0 [23:36:22]StoreToDocumentArchive [23:36:22]shift 375 fd 39877 [23:36:22]save to /storage/0375/doc_00039877 [23:36:22]save last doc name /storage/0375/doc_00039877 to /storage/kkm_last_doc_name [23:36:22]save OK [23:36:22]Clear old archive folders... [23:36:22]ProcessDocumentItem done err = 0, tmpTLVsize=274 [23:36:22]tlvbuf is 00C41150 [23:36:22]SAM_PROTO_ClearQueue [23:36:22]wFMCommunicate request_size=4 [23:36:22]MH_SAM_APDU [23:36:22]CAPDU: 80 09 00 00 [23:36:22]Write to MH i2c: E2 08 00 1B 0A 80 09 00 00 00 00 00 00 97 [23:36:22]Write i2c OK [23:36:22]MH_I2C_Read... [23:36:22]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:36:22]Read from MH i2c: E2 [23:36:22]MH_I2C_Read... [23:36:22]Read from MH i2c: E2 03 00 [23:36:22]MH_I2C_Read... [23:36:22]Read from MH i2c: E2 03 00 1B 0A 00 90 00 99 [23:36:22]RAPDU: 90 00 [23:36:22]wFMCommunicate OK [23:36:22]SAM_PROTO_ClearQueue done [23:36:22]KKMCreateOFDPacket [23:36:22]OFDProtocolAddRootSTLVToBuf [23:36:22]FM_MakeSignedData [23:36:22]FM_MakeSignedData [23:36:22]SAM_PROTO_SignData [23:36:22]wFMCommunicate request_size=4 [23:36:22]MH_SAM_APDU [23:36:22]CAPDU: 80 0D 01 02 [23:36:22]Write to MH i2c: E2 08 00 1C 0A 80 0D 01 02 00 00 00 00 9F [23:36:22]Write i2c OK [23:36:22]MH_I2C_Read... [23:36:22]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:36:22]Read from MH i2c: E2 [23:36:22]MH_I2C_Read... [23:36:22]Read from MH i2c: E2 03 00 [23:36:22]MH_I2C_Read... [23:36:22]Read from MH i2c: E2 03 00 1C 0A 00 90 00 9A [23:36:22]RAPDU: 90 00 [23:36:22]wFMCommunicate OK [23:36:22]wFMCommunicate request_size=255 [23:36:22]MH_SAM_APDU [23:36:22]CAPDU: 80 0D 02 02 FA 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 87 00 00 00 F4 03 04 00 F6 01 5D 66 0E 04 04 00 77 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 11 04 10 00 30 30 30 30 30 30 [23:36:22]Write to MH i2c: E2 02 01 1D 0A 80 0D 02 02 FA 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 87 00 00 00 F4 03 04 00 F6 01 5D 66 0E 04 04 00 77 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 11 04 10 00 30 30 30 30 30 30 00 00 95 [23:36:22]Write i2c OK [23:36:22]MH_I2C_Read... [23:36:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:36:22]Read from MH i2c: E2 [23:36:22]MH_I2C_Read... [23:36:22]Read from MH i2c: E2 03 00 [23:36:22]MH_I2C_Read... [23:36:22]Read from MH i2c: E2 03 00 1D 0A 00 90 00 9B [23:36:22]RAPDU: 90 00 [23:36:22]wFMCommunicate OK [23:36:22]wFMCommunicate request_size=33 [23:36:22]MH_SAM_APDU [23:36:22]CAPDU: 80 0D 02 02 1C 30 30 30 30 38 37 34 38 38 32 10 04 04 00 C5 9B 00 00 35 04 06 00 7A D1 80 21 09 F1 [23:36:22]Write to MH i2c: E2 24 00 1E 0A 80 0D 02 02 1C 00 30 30 30 30 38 37 34 38 38 32 10 04 04 00 C5 9B 00 00 35 04 06 00 7A D1 80 21 09 F1 00 00 7C [23:36:22]Write i2c OK [23:36:22]MH_I2C_Read... [23:36:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:36:22]Read from MH i2c: E2 [23:36:22]MH_I2C_Read... [23:36:22]Read from MH i2c: E2 03 00 [23:36:22]MH_I2C_Read... [23:36:22]Read from MH i2c: E2 03 00 1E 0A 00 90 00 9C [23:36:22]RAPDU: 90 00 [23:36:22]wFMCommunicate OK [23:36:22]wFMCommunicate request_size=4 [23:36:22]MH_SAM_APDU [23:36:22]CAPDU: 80 0D 03 02 [23:36:22]Write to MH i2c: E2 08 00 1F 0A 80 0D 03 02 00 00 00 00 A4 [23:36:22]Write i2c OK [23:36:22]MH_I2C_Read... [23:36:22]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:36:22]Read from MH i2c: E2 [23:36:22]MH_I2C_Read... [23:36:22]Read from MH i2c: E2 0B 00 [23:36:22]MH_I2C_Read... [23:36:22]Read from MH i2c: E2 0B 00 1F 0A 00 D2 AD 0E 42 15 50 87 0E 90 00 6E [23:36:22]RAPDU: D2 AD 0E 42 15 50 87 0E 90 00 [23:36:22]wFMCommunicate OK [23:36:22]SAM_PROTO_SignData done [23:36:22]FM_MakeSignedData done [23:36:22]CreateOFDProtocolMessage [23:36:22]wFMCommunicate request_size=4 [23:36:22]MH_SAM_APDU [23:36:22]CAPDU: 80 11 00 00 [23:36:22]Write to MH i2c: E2 08 00 20 0A 80 11 00 00 00 00 00 00 A4 [23:36:22]Write i2c OK [23:36:22]MH_I2C_Read... [23:36:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:36:22]Read from MH i2c: E2 [23:36:22]MH_I2C_Read... [23:36:22]Read from MH i2c: E2 17 00 [23:36:22]MH_I2C_Read... [23:36:22]Read from MH i2c: E2 17 00 20 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 90 00 FC [23:36:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 90 00 [23:36:22]wFMCommunicate OK [23:36:22]CreateOFDProtocolMessage done [23:36:22]OFDSenderStorePacket 39877 [23:36:22]StoreOFDPacket docnum=39877 [23:36:22]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 26 01 00 00 89 39 1E 01 26 5E 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 87 00 00 00 F4 03 04 00 F6 01 5D 66 0E 04 04 00 77 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 10 04 04 00 C5 9B 00 00 35 04 06 00 7A D1 80 21 09 F1 D2 AD 0E 42 15 50 87 0E [23:36:22]CheckFolder [23:36:22]dirname=/storage/ofd_packets [23:36:22]CheckFolder done [23:36:22]ProducePacketName [23:36:22]name=ofd_packets/00039877 [23:36:22]NVStorageSaveData ofd_packets/00039877 [23:36:22]File name is /storage/ofd_packets/00039877 [23:36:22]Write 324 bytes [23:36:22]NVStorageSaveData done [23:36:22]OFDSenderStorePacket done [23:36:22]KKMCreateOFDPacket done [23:36:22]NVStorageSaveData kkm_last_timestamp [23:36:22]File name is /storage/kkm_last_timestamp [23:36:22]Write 4 bytes [23:36:22]NVStorageSaveData done [23:36:22]ExternCall_PrintAddStr [23:36:22]wPrintStart [23:36:22]Write to MH i2c: 01 00 00 21 0A 2B [23:36:22]Write i2c OK [23:36:22]MH_I2C_Read... [23:36:22]Read from MH i2c: 01 [23:36:22]MH_I2C_Read... [23:36:22]Read from MH i2c: 01 07 00 [23:36:22]MH_I2C_Read... [23:36:22]Read from MH i2c: 01 07 00 21 0A 00 00 00 00 00 FF 0F 40 [23:36:22]RasterBufferAndPrint [23:36:22]line Счет N : (3)176437 [23:36:22]line ИНН: 02508201610067 [23:36:22]line Контрольно-Кассовый Чек [23:36:22]line ПРОДАЖА [23:36:22]line Товар: 4640030091645 [23:36:22]line Сигареты ESSE Exchange M [23:36:22]line 1.000 * 138.00 [23:36:22]line = 138.00 [23:36:22]line НДС 12% НСП 1% [23:36:22]line > о реализуемом товаре [23:36:22]line ИТОГО: 138.00 [23:36:22]line НСП 1% : 1.22 [23:36:22]line НДС 12% : 14.65 [23:36:22]line Наличными: 138.00 [23:36:22]line Безнал.: 0.00 [23:36:22]line Место: АЗС № 63 "Партнер Нефть" [23:36:22]line Адрес: 720001, с. Чон Сары Ой, ул. Западная 3, 42.603516, 76.894901 [23:36:22]line СНО: Общий режим [23:36:22]line Чек 135 02.06.2024 23:36 [23:36:22]line Смена: 375 ФФД: 1.0 [23:36:22]line ЗНМ: 0300000037 [23:36:22]line РНМ: 0000000000092680 [23:36:22]line Версия ККМ: 001 [23:36:22]line ФМ: 0000000000874882 [23:36:22]line ФД: 39877 [23:36:22]line ФПД: 135040216402417 [23:36:23]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240602T233622&type=1&operation_type=1&fn_number=0000000000874882&fd_number=39877&fm=135040216402417&tin=02508201610067®Number=0000000000092680&sum=13800 [23:36:23]line 0 [23:36:23]OFD Sender: Processing packet 39877 [packets to send 5, broken 4] [23:36:23]ProducePacketName [23:36:23]name=ofd_packets/00039877 [23:36:23]OFD Sender: To server: pG, [23:36:23]CommunicateWithHost lk.salyk.kg:30040 [23:36:23]ConnectInit lk.salyk.kg [23:36:23]written 0, free lines is 4095 [23:36:23]Connected sock=10 [23:36: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 38 32 26 01 00 00 89 39 1E 01 26 5E 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 87 00 00 00 F4 03 04 00 F6 01 5D 66 0E 04 04 00 77 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 10 04 04 00 C5 9B 00 00 35 04 06 00 7A D1 80 21 09 F1 D2 AD 0E 42 15 50 87 0E [23:36: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 38 32 4F 00 00 00 BE E1 47 00 F7 2E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 10 04 04 00 C5 9B 00 00 F4 03 04 00 A4 AA 5C 66 B6 04 01 00 00 BA 4A 2B 1A CF DE EC 54 [23:36:23]CommunicateWithHost err = 0 [23:36:23]CheckOFDResponse [23:36:23]1017 (14) - 77093643461234 [23:36:23]1041 (16) - 0000000000874882 [23:36:23]1040 (4) - 39877 [23:36:23]1012 (4) - 02.06.2024 17:23 [23:36:23]1206 (1) - 0 [23:36:23]OFD Sender: Remove packet 39877 [23:36:23]ProducePacketName [23:36:23]name=ofd_packets/00039877 [23:36:23]NVStorageDeleteData [23:36:23]Write to MH i2c: 01 00 00 49 0A 53 [23:36:23]Write i2c OK [23:36:23]MH_I2C_Read... [23:36:23]Read from MH i2c: 01 [23:36:23]MH_I2C_Read... [23:36:23]Read from MH i2c: 01 07 00 [23:36:23]MH_I2C_Read... [23:36:23]Read from MH i2c: 01 07 00 49 0A 00 00 00 00 00 26 0D 8D [23:36:23]RasterBufferAndPrint [23:36:23]line [23:36:23]line [23:36:23]line [23:36:23]line [23:36:23]line [23:36:23]written 0, free lines is 3372 [23:36:23]MH_Cut [23:36:23]Write to MH i2c: D1 01 00 50 0A 01 2C [23:36:23]Write i2c OK [23:36:23]MH_I2C_Read... [23:36:23]Read from MH i2c: D1 [23:36:23]MH_I2C_Read... [23:36:23]Read from MH i2c: D1 01 00 [23:36:23]MH_I2C_Read... [23:36:23]Read from MH i2c: D1 01 00 50 0A 00 2B [23:36:23]Write to MH i2c: 01 00 00 51 0A 5B [23:36:23]Write i2c OK [23:36:23]MH_I2C_Read... [23:36:24]OFD Sender: No OFD packet to send [23:36:24]*** Cut start [23:36:24]*** Partial cut [23:36:24]*** CUTSNS_PIN = 1 [23:36:24]*** CUTSNS_PIN = 0 [23:36:24]*** Brake cut motor [23:36:24]Read from MH i2c: 01 [23:36:24]MH_I2C_Read... [23:36:24]*** Stop cut motor [23:36:24]*** Cut end [23:36:24]Read from MH i2c: 01 07 00 [23:36:24]MH_I2C_Read... [23:36:24]Read from MH i2c: 01 07 00 51 0A 00 00 00 00 00 FF 0F 70 [23:36:24]process_action close_receipt done [23:36:24]requested_data is exist [23:36:24]produce_requested_data [23:36:24]requested_item fm.sn is exist - process it [23:36:24]wFMCommunicate request_size=4 [23:36:24]MH_SAM_APDU [23:36:24]CAPDU: 80 11 00 00 [23:36:24]Write to MH i2c: E2 08 00 52 0A 80 11 00 00 00 00 00 00 D6 [23:36:24]Write i2c OK [23:36:24]MH_I2C_Read... [23:36:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:36:24]Read from MH i2c: E2 [23:36:24]MH_I2C_Read... [23:36:24]Read from MH i2c: E2 17 00 [23:36:24]MH_I2C_Read... [23:36:24]Read from MH i2c: E2 17 00 52 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 90 00 2E [23:36:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 90 00 [23:36:24]wFMCommunicate OK [23:36:24]requested_item fd.num is exist - process it [23:36:24]SAM_PROTO_GetFieldsCounters [23:36:24]wFMCommunicate request_size=4 [23:36:24]MH_SAM_APDU [23:36:24]CAPDU: 80 13 00 00 [23:36:24]Write to MH i2c: E2 08 00 53 0A 80 13 00 00 00 00 00 00 D9 [23:36:24]Write i2c OK [23:36:24]MH_I2C_Read... [23:36:25]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:36:25]Read from MH i2c: E2 [23:36:25]MH_I2C_Read... [23:36:25]Read from MH i2c: E2 62 00 [23:36:25]MH_I2C_Read... [23:36:25]Read from MH i2c: E2 62 00 53 0A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 10 04 04 00 C5 9B 00 00 0E 04 04 00 77 01 00 00 12 04 04 00 87 00 00 00 5E 04 04 00 87 00 00 00 57 04 04 00 88 00 00 00 19 04 04 00 00 00 00 00 90 00 6C [23:36: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 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 10 04 04 00 C5 9B 00 00 0E 04 04 00 77 01 00 00 12 04 04 00 87 00 00 00 5E 04 04 00 87 00 00 00 57 04 04 00 88 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:36:25]wFMCommunicate OK [23:36:25]SAM_PROTO_GetFieldsCounters done [23:36:25]requested_item shift.num is exist - process it [23:36:25]requested_item shift.opened is exist - process it [23:36:25]req_shift_opened [23:36:25]FM_GetShiftState [23:36:25]SAM_PROTO_GetShiftState [23:36:25]wFMCommunicate request_size=4 [23:36:25]MH_SAM_APDU [23:36:25]CAPDU: 80 13 01 00 [23:36:25]Write to MH i2c: E2 08 00 54 0A 80 13 01 00 00 00 00 00 DB [23:36:25]Write i2c OK [23:36:25]MH_I2C_Read... [23:36:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:36:25]Read from MH i2c: E2 [23:36:25]MH_I2C_Read... [23:36:25]Read from MH i2c: E2 0E 00 [23:36:25]MH_I2C_Read... [23:36:25]Read from MH i2c: E2 0E 00 54 0A 00 09 00 01 54 BB 5B 66 00 00 00 00 90 00 B7 [23:36:25]RAPDU: 09 00 01 54 BB 5B 66 00 00 00 00 90 00 [23:36:25]wFMCommunicate OK [23:36:25]SAM_PROTO_GetShiftState done [23:36:25]FM_GetShiftState done [23:36:25]req_shift_opened done [23:36:25]requested_item shift.open_date is exist - process it [23:36:25]req_shift_open_date [23:36:25]req_shift_open_date done [23:36:25]produce_requested_data done [23:36:25]produce_requested_data return {"fm.sn":"0000000000874882","fd.num":39877,"shift.num":375,"shift.opened":1,"shift.open_date":1717287764} [23:36:25]process_action_free close_receipt [23:36:25]json_value_free [23:36:25]json_value_free done [23:36:25]process_json_proto returns [23:36:25]Send response to host [23:36:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874882","fd.num":39877,"shift.num":375,"shift.opened":1,"shift.open_date":1717287764}}} [23:36:25]free response buf [23:36:25]execute_script done [23:36:25]execute_script returns [23:36:25]free content buf [23:36:25]Sock 9.Close socket [23:36:25]Sock 9.Thread stoped [23:36:29]OFD Sender: No OFD packet to send [23:36:34]OFD Sender: No OFD packet to send [23:36:39]OFD Sender: No OFD packet to send [23:36:44]OFD Sender: No OFD packet to send [23:36:49]OFD Sender: No OFD packet to send [23:36:54]OFD Sender: No OFD packet to send [23:36:59]OFD Sender: No OFD packet to send [23:37:04]OFD Sender: No OFD packet to send [23:37:09]OFD Sender: No OFD packet to send [23:37:14]OFD Sender: No OFD packet to send [23:37:19]OFD Sender: No OFD packet to send [23:37:24]OFD Sender: No OFD packet to send [23:37:24]accept exits with 7 [23:37:24]New connection [23:37:24]New thread 3066699108 created [23:37:24]Thread 3066555748 joined [23:37:24]Waiting for new connection... [23:37:24] Sock 7.Parse request [23:37:24]Sock 7.Check first char [23:37:24]Sock 7.First char is OK [23:37:24]request: POST /json_proto HTTP/1.0 [23:37:24]Method: POST [23:37:24]URL: /json_proto [23:37:24]Method is POST - this is cgi request [23:37:24]url: /json_proto [23:37:24]query_string will be loaded in cgi processing [23:37:24]execute_cgi json_proto POST (null) [23:37:24]execute_cgi path=json_proto method=POST [23:37:24]POST find Content-Length [23:37:24]Host: 172.17.36.199:8080 [23:37:24]Content-Length: 950 [23:37:24]Content-Type: application/json [23:37:24] [23:37:24]POST finish read [23:37:24]Found Content-Length = 950 [23:37:24]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)176438", "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" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000053020015", "name": "\u0411\u0443\u043C\u0430\u0436\u043D\u044B\u0435 \u0441\u0442\u0430\u043A\u0430\u043D\u044B 250\u043C\u043B 1\u0448\u0442", "price" : 7.00, "quantity" : 4.000, "sum" : 28.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 153.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:37:24]execute_script... [23:37: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)176438", "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" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000053020015", "name": "\u0411\u0443\u043C\u0430\u0436\u043D\u044B\u0435 \u0441\u0442\u0430\u043A\u0430\u043D\u044B 250\u043C\u043B 1\u0448\u0442", "price" : 7.00, "quantity" : 4.000, "sum" : 28.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 153.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:37:24]POST & json_proto [23:37:24]process_json_proto [23:37:24]json parsed OK: [23:37:24]protocol is kg_v1.0 [23:37:24]action value=close_receipt [23:37:24]process_action close_receipt [23:37:24]cmd_close_receipt [23:37:24]MH_GetDate [23:37:24]Write to MH i2c: F0 00 00 55 0A 4E [23:37:24]Write i2c OK [23:37:24]MH_I2C_Read... [23:37:24]Read from MH i2c: F0 [23:37:24]MH_I2C_Read... [23:37:24]Read from MH i2c: F0 09 00 [23:37:24]MH_I2C_Read... [23:37:24]Read from MH i2c: F0 09 00 55 0A 00 36 02 5D 66 91 46 04 65 92 [23:37:24]GetLastDocTimeStamp 1717371382 [23:37:24]current date 1717371446 [23:37:24]FM_GetShiftState [23:37:24]SAM_PROTO_GetShiftState [23:37:24]wFMCommunicate request_size=4 [23:37:24]MH_SAM_APDU [23:37:24]CAPDU: 80 13 01 00 [23:37:24]Write to MH i2c: E2 08 00 56 0A 80 13 01 00 00 00 00 00 DD [23:37:24]Write i2c OK [23:37:24]MH_I2C_Read... [23:37:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:37:24]Read from MH i2c: E2 [23:37:24]MH_I2C_Read... [23:37:24]Read from MH i2c: E2 0E 00 [23:37:24]MH_I2C_Read... [23:37:24]Read from MH i2c: E2 0E 00 56 0A 00 09 00 01 54 BB 5B 66 00 00 00 00 90 00 B9 [23:37:24]RAPDU: 09 00 01 54 BB 5B 66 00 00 00 00 90 00 [23:37:24]wFMCommunicate OK [23:37:24]SAM_PROTO_GetShiftState done [23:37:24]FM_GetShiftState done [23:37:24]opened in 1717287764 [23:37:24]opened+sec_in_day 1717374164 [23:37:24]quantity*price = 12500 [23:37:24]sum+1 = 12501 [23:37:24]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 2000053020015 Бумажные стаканы 250мл 1шт 4.000 * 7.00 = 28.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 153.00 НСП 1% : 1.36 НДС 12% : 16.24 Наличными: 153.00 Безнал.: 0.00 Место: АЗС № 63 "Партнер Нефть" Адрес: 720001, с. Чон Сары Ой, ул. Западная 3, 42.603516, 76.894901 СНО: Общий режим Чек 136 02.06.2024 23:37 Смена: 375 ФФД: 1.0 ЗНМ: 0300000037 РНМ: 0000000000092680 Версия ККМ: 001 ФМ: 0000000000874882 ФД: 39878 ФПД: 105788118384022 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240602T233726&type=1&operation_type=1&fn_number=0000000000874882&fd_number=39878&fm=105788118384022&tin=02508201610067®Number=0000000000092680&sum=15300 0 [23:37:25]StoreToDocumentArchive [23:37:25]shift 375 fd 39878 [23:37:25]save to /storage/0375/doc_00039878 [23:37:25]save last doc name /storage/0375/doc_00039878 to /storage/kkm_last_doc_name [23:37:25]save OK [23:37:25]Clear old archive folders... [23:37:25]ProcessDocumentItem done err = 0, tmpTLVsize=395 [23:37:25]tlvbuf is 00AEFC80 [23:37:25]SAM_PROTO_ClearQueue [23:37:25]wFMCommunicate request_size=4 [23:37:25]MH_SAM_APDU [23:37:25]CAPDU: 80 09 00 00 [23:37:25]Write to MH i2c: E2 08 00 63 0A 80 09 00 00 00 00 00 00 DF [23:37:25]Write i2c OK [23:37:25]MH_I2C_Read... [23:37:25]Read from MH i2c: E2 [23:37:25]MH_I2C_Read... [23:37:25]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:37:25]Read from MH i2c: E2 03 00 [23:37:25]MH_I2C_Read... [23:37:25]Read from MH i2c: E2 03 00 63 0A 00 90 00 E1 [23:37:25]RAPDU: 90 00 [23:37:25]wFMCommunicate OK [23:37:25]SAM_PROTO_ClearQueue done [23:37:25]KKMCreateOFDPacket [23:37:25]OFDProtocolAddRootSTLVToBuf [23:37:25]FM_MakeSignedData [23:37:25]FM_MakeSignedData [23:37:25]SAM_PROTO_SignData [23:37:25]wFMCommunicate request_size=4 [23:37:25]MH_SAM_APDU [23:37:25]CAPDU: 80 0D 01 02 [23:37:25]Write to MH i2c: E2 08 00 64 0A 80 0D 01 02 00 00 00 00 E7 [23:37:25]Write i2c OK [23:37:25]MH_I2C_Read... [23:37:25]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:37:25]Read from MH i2c: E2 [23:37:25]MH_I2C_Read... [23:37:25]Read from MH i2c: E2 03 00 [23:37:25]MH_I2C_Read... [23:37:25]Read from MH i2c: E2 03 00 64 0A 00 90 00 E2 [23:37:25]RAPDU: 90 00 [23:37:25]wFMCommunicate OK [23:37:25]wFMCommunicate request_size=255 [23:37:25]MH_SAM_APDU [23:37:25]CAPDU: 80 0D 02 02 FA 03 00 8B 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 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 F0 0A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C4 3B 00 00 00 00 EB 03 26 00 EF 03 [23:37:25]Write to MH i2c: E2 02 01 65 0A 80 0D 02 02 FA 00 03 00 8B 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 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 F0 0A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C4 3B 00 00 00 00 EB 03 26 00 EF 03 00 00 66 [23:37:25]Write i2c OK [23:37:25]MH_I2C_Read... [23:37:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:37:26]Read from MH i2c: E2 [23:37:26]MH_I2C_Read... [23:37:26]Read from MH i2c: E2 03 00 [23:37:26]MH_I2C_Read... [23:37:26]Read from MH i2c: E2 03 00 65 0A 00 90 00 E3 [23:37:26]RAPDU: 90 00 [23:37:26]wFMCommunicate OK [23:37:26]wFMCommunicate request_size=154 [23:37:26]MH_SAM_APDU [23:37:26]CAPDU: 80 0D 02 02 95 0F 00 F6 03 01 00 01 F7 03 06 00 88 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 58 06 00 00 00 00 07 04 06 00 C4 3B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 88 00 00 00 F4 03 04 00 36 02 5D 66 0E 04 04 00 77 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 10 04 04 00 C6 9B 00 00 35 04 06 00 60 36 B7 37 BD 96 [23:37:26]Write to MH i2c: E2 9D 00 66 0A 80 0D 02 02 95 00 0F 00 F6 03 01 00 01 F7 03 06 00 88 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 58 06 00 00 00 00 07 04 06 00 C4 3B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 88 00 00 00 F4 03 04 00 36 02 5D 66 0E 04 04 00 77 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 10 04 04 00 C6 9B 00 00 35 04 06 00 60 36 B7 37 BD 96 00 00 68 [23:37:26]Write i2c OK [23:37:26]MH_I2C_Read... [23:37:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:37:26]Read from MH i2c: E2 [23:37:26]MH_I2C_Read... [23:37:26]Read from MH i2c: E2 03 00 [23:37:26]MH_I2C_Read... [23:37:26]Read from MH i2c: E2 03 00 66 0A 00 90 00 E4 [23:37:26]RAPDU: 90 00 [23:37:26]wFMCommunicate OK [23:37:26]wFMCommunicate request_size=4 [23:37:26]MH_SAM_APDU [23:37:26]CAPDU: 80 0D 03 02 [23:37:26]Write to MH i2c: E2 08 00 67 0A 80 0D 03 02 00 00 00 00 EC [23:37:26]Write i2c OK [23:37:26]MH_I2C_Read... [23:37:26]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:37:26]Read from MH i2c: E2 [23:37:26]MH_I2C_Read... [23:37:26]Read from MH i2c: E2 0B 00 [23:37:26]MH_I2C_Read... [23:37:26]Read from MH i2c: E2 0B 00 67 0A 00 78 AA 6F 46 69 68 28 71 90 00 2E [23:37:26]RAPDU: 78 AA 6F 46 69 68 28 71 90 00 [23:37:26]wFMCommunicate OK [23:37:26]SAM_PROTO_SignData done [23:37:26]FM_MakeSignedData done [23:37:26]CreateOFDProtocolMessage [23:37:26]wFMCommunicate request_size=4 [23:37:26]MH_SAM_APDU [23:37:26]CAPDU: 80 11 00 00 [23:37:26]Write to MH i2c: E2 08 00 68 0A 80 11 00 00 00 00 00 00 EC [23:37:26]Write i2c OK [23:37:26]MH_I2C_Read... [23:37:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:37:26]Read from MH i2c: E2 [23:37:26]MH_I2C_Read... [23:37:26]Read from MH i2c: E2 17 00 [23:37:26]MH_I2C_Read... [23:37:26]Read from MH i2c: E2 17 00 68 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 90 00 44 [23:37:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 90 00 [23:37:26]wFMCommunicate OK [23:37:26]CreateOFDProtocolMessage done [23:37:26]OFDSenderStorePacket 39878 [23:37:26]StoreOFDPacket docnum=39878 [23:37:26]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 9F 01 00 00 C2 76 97 01 58 16 5A 03 01 00 03 00 8B 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 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 F0 0A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C4 3B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 88 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 58 06 00 00 00 00 07 04 06 00 C4 3B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 88 00 00 00 F4 03 04 00 36 02 5D 66 0E 04 04 00 77 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 10 04 04 00 C6 9B 00 00 35 04 06 00 60 36 B7 37 BD 96 78 AA 6F 46 69 68 28 71 [23:37:26]CheckFolder [23:37:26]dirname=/storage/ofd_packets [23:37:26]CheckFolder done [23:37:26]ProducePacketName [23:37:26]name=ofd_packets/00039878 [23:37:26]NVStorageSaveData ofd_packets/00039878 [23:37:26]File name is /storage/ofd_packets/00039878 [23:37:26]Write 445 bytes [23:37:26]NVStorageSaveData done [23:37:26]OFDSenderStorePacket done [23:37:26]KKMCreateOFDPacket done [23:37:26]NVStorageSaveData kkm_last_timestamp [23:37:26]File name is /storage/kkm_last_timestamp [23:37:26]Write 4 bytes [23:37:26]NVStorageSaveData done [23:37:26]ExternCall_PrintAddStr [23:37:26]wPrintStart [23:37:26]Write to MH i2c: 01 00 00 69 0A 73 [23:37:26]Write i2c OK [23:37:26]MH_I2C_Read... [23:37:26]Read from MH i2c: 01 [23:37:26]MH_I2C_Read... [23:37:26]Read from MH i2c: 01 07 00 [23:37:26]MH_I2C_Read... [23:37:26]Read from MH i2c: 01 07 00 69 0A 00 00 00 00 00 FF 0F 88 [23:37:26]RasterBufferAndPrint [23:37:26]line Счет N : (3)176438 [23:37:26]line ИНН: 02508201610067 [23:37:26]line Контрольно-Кассовый Чек [23:37:26]line ПРОДАЖА [23:37:26]line Товар: 5449000054227 [23:37:26]line Напиток Кока-Кола 1л [23:37:26]line 1.000 * 125.00 [23:37:26]line = 125.00 [23:37:26]line НДС 12% НСП 1% [23:37:26]line > о реализуемом товаре [23:37:26]line Товар: 2000053020015 [23:37:26]line Бумажные стаканы 250мл 1шт [23:37:26]line 4.000 * 7.00 [23:37:26]line = 28.00 [23:37:26]line НДС 12% НСП 1% [23:37:26]line > о реализуемом товаре [23:37:26]line ИТОГО: 153.00 [23:37:26]line НСП 1% : 1.36 [23:37:26]line НДС 12% : 16.24 [23:37:26]line Наличными: 153.00 [23:37:26]line Безнал.: 0.00 [23:37:26]line Место: АЗС № 63 "Партнер Нефть" [23:37:26]line Адрес: 720001, с. Чон Сары Ой, ул. Западная 3, 42.603516, 76.894901 [23:37:26]line СНО: Общий режим [23:37:26]line Чек 136 02.06.2024 23:37 [23:37:26]line Смена: 375 ФФД: 1.0 [23:37:26]line ЗНМ: 0300000037 [23:37:26]line РНМ: 0000000000092680 [23:37:26]line Версия ККМ: 001 [23:37:26]line ФМ: 0000000000874882 [23:37:26]line ФД: 39878 [23:37:26]line ФПД: 105788118384022 [23:37:26]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240602T233726&type=1&operation_type=1&fn_number=0000000000874882&fd_number=39878&fm=105788118384022&tin=02508201610067®Number=0000000000092680&sum=15300 [23:37:26]line 0 [23:37:26]written 0, free lines is 4095 [23:37:26]OFD Sender: Processing packet 39878 [packets to send 5, broken 4] [23:37:26]ProducePacketName [23:37:26]name=ofd_packets/00039878 [23:37:26]OFD Sender: To server: pG, [23:37:26]CommunicateWithHost lk.salyk.kg:30040 [23:37:26]ConnectInit lk.salyk.kg [23:37:26]Connected sock=10 [23:37: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 38 32 9F 01 00 00 C2 76 97 01 58 16 5A 03 01 00 03 00 8B 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 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 F0 0A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C4 3B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 88 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 58 06 00 00 00 00 07 04 06 00 C4 3B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 88 00 00 00 F4 03 04 00 36 02 5D 66 0E 04 04 00 77 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 10 04 04 00 C6 9B 00 00 35 04 06 00 60 36 B7 37 BD 96 78 AA 6F 46 69 68 28 71 [23:37: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 38 32 4F 00 00 00 92 C7 47 00 29 52 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 38 32 10 04 04 00 C6 9B 00 00 F4 03 04 00 E4 AA 5C 66 B6 04 01 00 00 E0 B3 0A B1 24 60 F6 D6 [23:37:26]CommunicateWithHost err = 0 [23:37:26]CheckOFDResponse [23:37:26]1017 (14) - 77093643461234 [23:37:26]1041 (16) - 0000000000874882 [23:37:26]1040 (4) - 39878 [23:37:26]1012 (4) - 02.06.2024 17:24 [23:37:26]1206 (1) - 0 [23:37:26]OFD Sender: Remove packet 39878 [23:37:26]ProducePacketName [23:37:26]name=ofd_packets/00039878 [23:37:26]NVStorageDeleteData [23:37:27]Write to MH i2c: 01 00 00 98 0A A2 [23:37:27]Write i2c OK [23:37:27]MH_I2C_Read... [23:37:27]Read from MH i2c: 01 [23:37:27]MH_I2C_Read... [23:37:27]Read from MH i2c: 01 07 00 [23:37:27]MH_I2C_Read... [23:37:27]Read from MH i2c: 01 07 00 98 0A 00 00 00 00 00 C0 0C 75 [23:37:27]RasterBufferAndPrint [23:37:27]line [23:37:27]line [23:37:27]line [23:37:27]line [23:37:27]line [23:37:27]written 0, free lines is 3273 [23:37:27]MH_Cut [23:37:27]Write to MH i2c: D1 01 00 9F 0A 01 7B [23:37:27]Write i2c OK [23:37:27]MH_I2C_Read... [23:37:27]Read from MH i2c: D1 [23:37:27]MH_I2C_Read... [23:37:27]Read from MH i2c: D1 01 00 [23:37:27]MH_I2C_Read... [23:37:27]Read from MH i2c: D1 01 00 9F 0A 00 7A [23:37:27]Write to MH i2c: 01 00 00 A0 0A AA [23:37:27]Write i2c OK [23:37:27]MH_I2C_Read... [23:37:27]OFD Sender: No OFD packet to send [23:37:27]*** Cut start [23:37:27]*** Partial cut [23:37:27]*** CUTSNS_PIN = 1 [23:37:27]*** CUTSNS_PIN = 0 [23:37:28]*** Brake cut motor [23:37:28]Read from MH i2c: 01 [23:37:28]MH_I2C_Read... [23:37:28]*** Stop cut motor [23:37:28]*** Cut end [23:37:28]Read from MH i2c: 01 07 00 [23:37:28]MH_I2C_Read... [23:37:28]Read from MH i2c: 01 07 00 A0 0A 00 00 00 00 00 FF 0F BF [23:37:28]process_action close_receipt done [23:37:28]requested_data is exist [23:37:28]produce_requested_data [23:37:28]requested_item fm.sn is exist - process it [23:37:28]wFMCommunicate request_size=4 [23:37:28]MH_SAM_APDU [23:37:28]CAPDU: 80 11 00 00 [23:37:28]Write to MH i2c: E2 08 00 A1 0A 80 11 00 00 00 00 00 00 25 [23:37:28]Write i2c OK [23:37:28]MH_I2C_Read... [23:37:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:37:28]Read from MH i2c: E2 [23:37:28]MH_I2C_Read... [23:37:28]Read from MH i2c: E2 17 00 [23:37:28]MH_I2C_Read... [23:37:28]Read from MH i2c: E2 17 00 A1 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 90 00 7D [23:37:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 90 00 [23:37:28]wFMCommunicate OK [23:37:28]requested_item fd.num is exist - process it [23:37:28]SAM_PROTO_GetFieldsCounters [23:37:28]wFMCommunicate request_size=4 [23:37:28]MH_SAM_APDU [23:37:28]CAPDU: 80 13 00 00 [23:37:28]Write to MH i2c: E2 08 00 A2 0A 80 13 00 00 00 00 00 00 28 [23:37:28]Write i2c OK [23:37:28]MH_I2C_Read... [23:37:28]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:37:28]Read from MH i2c: E2 [23:37:28]MH_I2C_Read... [23:37:28]Read from MH i2c: E2 62 00 [23:37:28]MH_I2C_Read... [23:37:28]Read from MH i2c: E2 62 00 A2 0A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 10 04 04 00 C6 9B 00 00 0E 04 04 00 77 01 00 00 12 04 04 00 88 00 00 00 5E 04 04 00 88 00 00 00 57 04 04 00 89 00 00 00 19 04 04 00 00 00 00 00 90 00 BF [23:37: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 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 10 04 04 00 C6 9B 00 00 0E 04 04 00 77 01 00 00 12 04 04 00 88 00 00 00 5E 04 04 00 88 00 00 00 57 04 04 00 89 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:37:28]wFMCommunicate OK [23:37:28]SAM_PROTO_GetFieldsCounters done [23:37:28]requested_item shift.num is exist - process it [23:37:28]requested_item shift.opened is exist - process it [23:37:28]req_shift_opened [23:37:28]FM_GetShiftState [23:37:28]SAM_PROTO_GetShiftState [23:37:28]wFMCommunicate request_size=4 [23:37:28]MH_SAM_APDU [23:37:28]CAPDU: 80 13 01 00 [23:37:28]Write to MH i2c: E2 08 00 A3 0A 80 13 01 00 00 00 00 00 2A [23:37:28]Write i2c OK [23:37:28]MH_I2C_Read... [23:37:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:37:28]Read from MH i2c: E2 [23:37:28]MH_I2C_Read... [23:37:28]Read from MH i2c: E2 0E 00 [23:37:28]MH_I2C_Read... [23:37:28]Read from MH i2c: E2 0E 00 A3 0A 00 09 00 01 54 BB 5B 66 00 00 00 00 90 00 06 [23:37:28]RAPDU: 09 00 01 54 BB 5B 66 00 00 00 00 90 00 [23:37:28]wFMCommunicate OK [23:37:28]SAM_PROTO_GetShiftState done [23:37:28]FM_GetShiftState done [23:37:28]req_shift_opened done [23:37:28]requested_item shift.open_date is exist - process it [23:37:28]req_shift_open_date [23:37:28]req_shift_open_date done [23:37:28]produce_requested_data done [23:37:28]produce_requested_data return {"fm.sn":"0000000000874882","fd.num":39878,"shift.num":375,"shift.opened":1,"shift.open_date":1717287764} [23:37:28]process_action_free close_receipt [23:37:28]json_value_free [23:37:28]json_value_free done [23:37:28]process_json_proto returns [23:37:28]Send response to host [23:37:28]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874882","fd.num":39878,"shift.num":375,"shift.opened":1,"shift.open_date":1717287764}}} [23:37:28]free response buf [23:37:28]execute_script done [23:37:28]execute_script returns [23:37:28]free content buf [23:37:28]Sock 7.Close socket [23:37:28]Sock 7.Thread stoped [23:37:32]OFD Sender: No OFD packet to send [23:37:37]OFD Sender: No OFD packet to send [23:37:42]OFD Sender: No OFD packet to send [23:37:47]OFD Sender: No OFD packet to send [23:37:52]OFD Sender: No OFD packet to send [23:37:57]OFD Sender: No OFD packet to send [23:38:02]OFD Sender: No OFD packet to send [23:38:07]OFD Sender: No OFD packet to send [23:38:12]OFD Sender: No OFD packet to send [23:38:17]OFD Sender: No OFD packet to send [23:38:22]OFD Sender: No OFD packet to send [23:38:27]OFD Sender: No OFD packet to send [23:38:32]OFD Sender: No OFD packet to send [23:38:37]OFD Sender: No OFD packet to send [23:38:42]OFD Sender: No OFD packet to send [23:38:47]OFD Sender: No OFD packet to send [23:38:52]OFD Sender: No OFD packet to send [23:38:57]OFD Sender: No OFD packet to send [23:39:02]OFD Sender: No OFD packet to send [23:39:07]OFD Sender: No OFD packet to send [23:39:12]OFD Sender: No OFD packet to send [23:39:17]OFD Sender: No OFD packet to send [23:39:22]OFD Sender: No OFD packet to send [23:39:27]OFD Sender: No OFD packet to send [23:39:32]OFD Sender: No OFD packet to send [23:39:37]OFD Sender: No OFD packet to send [23:39:42]OFD Sender: No OFD packet to send [23:39:47]OFD Sender: No OFD packet to send [23:39:52]OFD Sender: No OFD packet to send [23:39:57]OFD Sender: No OFD packet to send [23:40:02]OFD Sender: No OFD packet to send [23:40:07]OFD Sender: No OFD packet to send [23:40:12]OFD Sender: No OFD packet to send [23:40:17]OFD Sender: No OFD packet to send [23:40:22]OFD Sender: No OFD packet to send [23:40:27]OFD Sender: No OFD packet to send [23:40:32]OFD Sender: No OFD packet to send [23:40:37]OFD Sender: No OFD packet to send [23:40:42]OFD Sender: No OFD packet to send [23:40:47]OFD Sender: No OFD packet to send [23:40:52]OFD Sender: No OFD packet to send [23:40:57]OFD Sender: No OFD packet to send [23:41:02]OFD Sender: No OFD packet to send [23:41:07]OFD Sender: No OFD packet to send [23:41:12]OFD Sender: No OFD packet to send [23:41:17]OFD Sender: No OFD packet to send [23:41:22]OFD Sender: No OFD packet to send [23:41:27]OFD Sender: No OFD packet to send [23:41:32]OFD Sender: No OFD packet to send [23:41:37]OFD Sender: No OFD packet to send [23:41:42]OFD Sender: No OFD packet to send [23:41:47]OFD Sender: No OFD packet to send [23:41:52]OFD Sender: No OFD packet to send [23:41:57]OFD Sender: No OFD packet to send [23:42:02]OFD Sender: No OFD packet to send [23:42:07]OFD Sender: No OFD packet to send [23:42:12]OFD Sender: No OFD packet to send [23:42:17]OFD Sender: No OFD packet to send [23:42:22]OFD Sender: No OFD packet to send [23:42:27]OFD Sender: No OFD packet to send [23:42:32]OFD Sender: No OFD packet to send [23:42:37]OFD Sender: No OFD packet to send [23:42:42]OFD Sender: No OFD packet to send [23:42:47]OFD Sender: No OFD packet to send [23:42:52]OFD Sender: No OFD packet to send [23:42:57]OFD Sender: No OFD packet to send [23:43:02]OFD Sender: No OFD packet to send [23:43:07]OFD Sender: No OFD packet to send [23:43:12]OFD Sender: No OFD packet to send [23:43:17]OFD Sender: No OFD packet to send [23:43:22]OFD Sender: No OFD packet to send [23:43:27]OFD Sender: No OFD packet to send [23:43:32]OFD Sender: No OFD packet to send [23:43:37]OFD Sender: No OFD packet to send [23:43:42]OFD Sender: No OFD packet to send [23:43:47]OFD Sender: No OFD packet to send [23:43:52]OFD Sender: No OFD packet to send [23:43:57]OFD Sender: No OFD packet to send [23:44:02]OFD Sender: No OFD packet to send [23:44:07]OFD Sender: No OFD packet to send [23:44:12]OFD Sender: No OFD packet to send [23:44:17]OFD Sender: No OFD packet to send [23:44:22]OFD Sender: No OFD packet to send [23:44:27]OFD Sender: No OFD packet to send [23:44:32]OFD Sender: No OFD packet to send [23:44:37]OFD Sender: No OFD packet to send [23:44:42]OFD Sender: No OFD packet to send [23:44:47]OFD Sender: No OFD packet to send [23:44:52]OFD Sender: No OFD packet to send [23:44:57]OFD Sender: No OFD packet to send [23:45:02]OFD Sender: No OFD packet to send [23:45:07]OFD Sender: No OFD packet to send [23:45:12]OFD Sender: No OFD packet to send [23:45:17]OFD Sender: No OFD packet to send [23:45:22]OFD Sender: No OFD packet to send [23:45:27]OFD Sender: No OFD packet to send [23:45:32]OFD Sender: No OFD packet to send [23:45:37]OFD Sender: No OFD packet to send [23:45:42]OFD Sender: No OFD packet to send [23:45:47]OFD Sender: No OFD packet to send [23:45:52]OFD Sender: No OFD packet to send [23:45:57]OFD Sender: No OFD packet to send [23:46:02]OFD Sender: No OFD packet to send [23:46:07]OFD Sender: No OFD packet to send [23:46:12]OFD Sender: No OFD packet to send [23:46:17]OFD Sender: No OFD packet to send [23:46:22]OFD Sender: No OFD packet to send [23:46:27]OFD Sender: No OFD packet to send [23:46:32]OFD Sender: No OFD packet to send [23:46:37]OFD Sender: No OFD packet to send [23:46:42]OFD Sender: No OFD packet to send [23:46:47]OFD Sender: No OFD packet to send [23:46:52]OFD Sender: No OFD packet to send [23:46:57]OFD Sender: No OFD packet to send [23:47:02]OFD Sender: No OFD packet to send [23:47:07]OFD Sender: No OFD packet to send [23:47:12]OFD Sender: No OFD packet to send [23:47:17]OFD Sender: No OFD packet to send [23:47:22]OFD Sender: No OFD packet to send [23:47:27]OFD Sender: No OFD packet to send [23:47:32]OFD Sender: No OFD packet to send [23:47:37]OFD Sender: No OFD packet to send [23:47:42]OFD Sender: No OFD packet to send [23:47:47]OFD Sender: No OFD packet to send [23:47:52]OFD Sender: No OFD packet to send [23:47:57]OFD Sender: No OFD packet to send [23:48:02]OFD Sender: No OFD packet to send [23:48:07]OFD Sender: No OFD packet to send [23:48:12]OFD Sender: No OFD packet to send [23:48:17]OFD Sender: No OFD packet to send [23:48:22]OFD Sender: No OFD packet to send [23:48:27]OFD Sender: No OFD packet to send [23:48:32]OFD Sender: No OFD packet to send [23:48:37]OFD Sender: No OFD packet to send [23:48:42]OFD Sender: No OFD packet to send [23:48:47]OFD Sender: No OFD packet to send [23:48:52]OFD Sender: No OFD packet to send [23:48:57]OFD Sender: No OFD packet to send [23:49:02]OFD Sender: No OFD packet to send [23:49:07]OFD Sender: No OFD packet to send [23:49:13]OFD Sender: No OFD packet to send [23:49:18]OFD Sender: No OFD packet to send [23:49:23]OFD Sender: No OFD packet to send [23:49:28]OFD Sender: No OFD packet to send [23:49:33]OFD Sender: No OFD packet to send [23:49:38]OFD Sender: No OFD packet to send [23:49:43]OFD Sender: No OFD packet to send [23:49:48]OFD Sender: No OFD packet to send [23:49:53]OFD Sender: No OFD packet to send [23:49:58]OFD Sender: No OFD packet to send [23:50:03]OFD Sender: No OFD packet to send [23:50:08]OFD Sender: No OFD packet to send [23:50:13]OFD Sender: No OFD packet to send [23:50:18]OFD Sender: No OFD packet to send [23:50:23]OFD Sender: No OFD packet to send [23:50:28]OFD Sender: No OFD packet to send [23:50:33]OFD Sender: No OFD packet to send [23:50:38]OFD Sender: No OFD packet to send [23:50:43]OFD Sender: No OFD packet to send [23:50:48]OFD Sender: No OFD packet to send [23:50:53]OFD Sender: No OFD packet to send [23:50:58]OFD Sender: No OFD packet to send [23:51:03]OFD Sender: No OFD packet to send [23:51:08]OFD Sender: No OFD packet to send [23:51:13]OFD Sender: No OFD packet to send [23:51:18]OFD Sender: No OFD packet to send [23:51:23]OFD Sender: No OFD packet to send [23:51:28]OFD Sender: No OFD packet to send [23:51:33]OFD Sender: No OFD packet to send [23:51:38]OFD Sender: No OFD packet to send [23:51:43]OFD Sender: No OFD packet to send [23:51:48]OFD Sender: No OFD packet to send [23:51:53]OFD Sender: No OFD packet to send [23:51:58]OFD Sender: No OFD packet to send [23:52:03]OFD Sender: No OFD packet to send [23:52:08]OFD Sender: No OFD packet to send [23:52:13]OFD Sender: No OFD packet to send [23:52:18]OFD Sender: No OFD packet to send [23:52:23]OFD Sender: No OFD packet to send [23:52:28]OFD Sender: No OFD packet to send [23:52:33]OFD Sender: No OFD packet to send [23:52:38]OFD Sender: No OFD packet to send [23:52:43]OFD Sender: No OFD packet to send [23:52:48]OFD Sender: No OFD packet to send [23:52:53]OFD Sender: No OFD packet to send [23:52:58]OFD Sender: No OFD packet to send [23:53:03]OFD Sender: No OFD packet to send [23:53:08]OFD Sender: No OFD packet to send [23:53:13]OFD Sender: No OFD packet to send [23:53:18]OFD Sender: No OFD packet to send [23:53:22]accept exits with 9 [23:53:22]New connection [23:53:22]New thread 3066555748 created [23:53:22]Thread 3066699108 joined [23:53:22]Waiting for new connection... [23:53:22] Sock 9.Parse request [23:53:22]Sock 9.Check first char [23:53:22]Sock 9.First char is OK [23:53:22]request: POST /json_proto HTTP/1.0 [23:53:22]Method: POST [23:53:22]URL: /json_proto [23:53:22]Method is POST - this is cgi request [23:53:22]url: /json_proto [23:53:22]query_string will be loaded in cgi processing [23:53:22]execute_cgi json_proto POST (null) [23:53:22]execute_cgi path=json_proto method=POST [23:53:22]POST find Content-Length [23:53:22]Host: 172.17.36.199:8080 [23:53:22]Content-Length: 831 [23:53:22]Content-Type: application/json [23:53:22] [23:53:22]POST finish read [23:53:22]Found Content-Length = 831 [23:53:22]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)176439", "tax_sys" : 0, "items" : [ { "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:53:22]execute_script... [23:53:22]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)176439", "tax_sys" : 0, "items" : [ { "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:53:22]POST & json_proto [23:53:22]process_json_proto [23:53:22]json parsed OK: [23:53:22]protocol is kg_v1.0 [23:53:22]action value=close_receipt [23:53:22]process_action close_receipt [23:53:22]cmd_close_receipt [23:53:22]MH_GetDate [23:53:22]Write to MH i2c: F0 00 00 A4 0A 9D [23:53:22]Write i2c OK [23:53:22]MH_I2C_Read... [23:53:22]Read from MH i2c: F0 [23:53:22]MH_I2C_Read... [23:53:22]Read from MH i2c: F0 09 00 [23:53:22]MH_I2C_Read... [23:53:22]Read from MH i2c: F0 09 00 A4 0A 00 F4 05 5D 66 91 46 04 65 A2 [23:53:22]GetLastDocTimeStamp 1717371446 [23:53:22]current date 1717372404 [23:53:22]FM_GetShiftState [23:53:22]SAM_PROTO_GetShiftState [23:53:22]wFMCommunicate request_size=4 [23:53:22]MH_SAM_APDU [23:53:22]CAPDU: 80 13 01 00 [23:53:22]Write to MH i2c: E2 08 00 A5 0A 80 13 01 00 00 00 00 00 2C [23:53:22]Write i2c OK [23:53:22]MH_I2C_Read... [23:53:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:53:22]Read from MH i2c: E2 [23:53:22]MH_I2C_Read... [23:53:22]Read from MH i2c: E2 0E 00 [23:53:22]MH_I2C_Read... [23:53:22]Read from MH i2c: E2 0E 00 A5 0A 00 09 00 01 54 BB 5B 66 00 00 00 00 90 00 08 [23:53:22]RAPDU: 09 00 01 54 BB 5B 66 00 00 00 00 90 00 [23:53:22]wFMCommunicate OK [23:53:22]SAM_PROTO_GetShiftState done [23:53:22]FM_GetShiftState done [23:53:22]opened in 1717287764 [23:53:22]opened+sec_in_day 1717374164 [23:53:22]quantity*price = 9500 [23:53:22]sum+1 = 9501 [23:53:22]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 0.00 Безнал.: 95.00 Место: АЗС № 63 "Партнер Нефть" Адрес: 720001, с. Чон Сары Ой, ул. Западная 3, 42.603516, 76.894901 СНО: Общий режим Чек 137 02.06.2024 23:53 Смена: 375 ФФД: 1.0 ЗНМ: 0300000037 РНМ: 0000000000092680 Версия ККМ: 001 Платежная система: Бакай Банк ФМ: 0000000000874882 ФД: 39879 ФПД: 42902753750793 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240602T235324&type=1&operation_type=1&fn_number=0000000000874882&fd_number=39879&fm=42902753750793&tin=02508201610067®Number=0000000000092680&sum=9500 0 [23:53:23]StoreToDocumentArchive [23:53:23]shift 375 fd 39879 [23:53:23]save to /storage/0375/doc_00039879 [23:53:23]save last doc name /storage/0375/doc_00039879 to /storage/kkm_last_doc_name [23:53:23]save OK [23:53:23]Clear old archive folders... [23:53:23]ProcessDocumentItem done err = 0, tmpTLVsize=293 [23:53:23]tlvbuf is 00C4F080 [23:53:23]SAM_PROTO_ClearQueue [23:53:23]wFMCommunicate request_size=4 [23:53:23]MH_SAM_APDU [23:53:23]CAPDU: 80 09 00 00 [23:53:23]Write to MH i2c: E2 08 00 B2 0A 80 09 00 00 00 00 00 00 2E [23:53:23]Write i2c OK [23:53:23]MH_I2C_Read... [23:53:23]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:53:23]Read from MH i2c: E2 [23:53:23]MH_I2C_Read... [23:53:23]Read from MH i2c: E2 03 00 [23:53:23]MH_I2C_Read... [23:53:23]Read from MH i2c: E2 03 00 B2 0A 00 90 00 30 [23:53:23]RAPDU: 90 00 [23:53:23]wFMCommunicate OK [23:53:23]SAM_PROTO_ClearQueue done [23:53:23]KKMCreateOFDPacket [23:53:23]OFDProtocolAddRootSTLVToBuf [23:53:23]FM_MakeSignedData [23:53:23]FM_MakeSignedData [23:53:23]SAM_PROTO_SignData [23:53:23]wFMCommunicate request_size=4 [23:53:23]MH_SAM_APDU [23:53:23]CAPDU: 80 0D 01 02 [23:53:23]Write to MH i2c: E2 08 00 B3 0A 80 0D 01 02 00 00 00 00 36 [23:53:23]Write i2c OK [23:53:23]MH_I2C_Read... [23:53:23]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:53:23]Read from MH i2c: E2 [23:53:23]MH_I2C_Read... [23:53:23]Read from MH i2c: E2 03 00 [23:53:23]MH_I2C_Read... [23:53:23]Read from MH i2c: E2 03 00 B3 0A 00 90 00 31 [23:53:23]RAPDU: 90 00 [23:53:23]wFMCommunicate OK [23:53:23]wFMCommunicate request_size=255 [23:53:23]MH_SAM_APDU [23:53:23]CAPDU: 80 0D 02 02 FA 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 1C 25 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 89 00 00 00 F4 03 04 00 F4 05 5D 66 0E 04 04 00 77 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 [23:53:23]Write to MH i2c: E2 02 01 B4 0A 80 0D 02 02 FA 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 1C 25 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 89 00 00 00 F4 03 04 00 F4 05 5D 66 0E 04 04 00 77 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 00 00 93 [23:53:23]Write i2c OK [23:53:23]MH_I2C_Read... [23:53:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:53:23]Read from MH i2c: E2 [23:53:23]MH_I2C_Read... [23:53:23]Read from MH i2c: E2 03 00 [23:53:23]MH_I2C_Read... [23:53:23]Read from MH i2c: E2 03 00 B4 0A 00 90 00 32 [23:53:23]RAPDU: 90 00 [23:53:23]wFMCommunicate OK [23:53:23]wFMCommunicate request_size=52 [23:53:23]MH_SAM_APDU [23:53:23]CAPDU: 80 0D 02 02 2F 30 30 30 30 39 32 36 38 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 10 04 04 00 C7 9B 00 00 35 04 06 00 27 05 13 65 AF 09 [23:53:23]Write to MH i2c: E2 37 00 B5 0A 80 0D 02 02 2F 00 30 30 30 30 39 32 36 38 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 10 04 04 00 C7 9B 00 00 35 04 06 00 27 05 13 65 AF 09 00 00 BF [23:53:23]Write i2c OK [23:53:23]MH_I2C_Read... [23:53:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:53:23]Read from MH i2c: E2 [23:53:23]MH_I2C_Read... [23:53:23]Read from MH i2c: E2 03 00 [23:53:23]MH_I2C_Read... [23:53:23]Read from MH i2c: E2 03 00 B5 0A 00 90 00 33 [23:53:23]RAPDU: 90 00 [23:53:23]wFMCommunicate OK [23:53:23]wFMCommunicate request_size=4 [23:53:23]MH_SAM_APDU [23:53:23]CAPDU: 80 0D 03 02 [23:53:23]Write to MH i2c: E2 08 00 B6 0A 80 0D 03 02 00 00 00 00 3B [23:53:23]Write i2c OK [23:53:23]MH_I2C_Read... [23:53:23]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:53:23]Read from MH i2c: E2 [23:53:23]MH_I2C_Read... [23:53:23]Read from MH i2c: E2 0B 00 [23:53:23]MH_I2C_Read... [23:53:23]Read from MH i2c: E2 0B 00 B6 0A 00 FA A2 53 5B 3E 44 4C AE 90 00 02 [23:53:23]RAPDU: FA A2 53 5B 3E 44 4C AE 90 00 [23:53:23]wFMCommunicate OK [23:53:23]SAM_PROTO_SignData done [23:53:23]FM_MakeSignedData done [23:53:23]CreateOFDProtocolMessage [23:53:23]wFMCommunicate request_size=4 [23:53:23]MH_SAM_APDU [23:53:23]CAPDU: 80 11 00 00 [23:53:23]Write to MH i2c: E2 08 00 B7 0A 80 11 00 00 00 00 00 00 3B [23:53:23]Write i2c OK [23:53:23]MH_I2C_Read... [23:53:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:53:23]Read from MH i2c: E2 [23:53:23]MH_I2C_Read... [23:53:23]Read from MH i2c: E2 17 00 [23:53:23]MH_I2C_Read... [23:53:23]Read from MH i2c: E2 17 00 B7 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 90 00 93 [23:53:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 90 00 [23:53:23]wFMCommunicate OK [23:53:23]CreateOFDProtocolMessage done [23:53:23]OFDSenderStorePacket 39879 [23:53:23]StoreOFDPacket docnum=39879 [23:53:23]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 39 01 00 00 5B 7A 31 01 72 23 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 1C 25 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 89 00 00 00 F4 03 04 00 F4 05 5D 66 0E 04 04 00 77 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 10 04 04 00 C7 9B 00 00 35 04 06 00 27 05 13 65 AF 09 FA A2 53 5B 3E 44 4C AE [23:53:23]CheckFolder [23:53:23]dirname=/storage/ofd_packets [23:53:23]CheckFolder done [23:53:23]ProducePacketName [23:53:23]name=ofd_packets/00039879 [23:53:23]NVStorageSaveData ofd_packets/00039879 [23:53:23]File name is /storage/ofd_packets/00039879 [23:53:23]Write 343 bytes [23:53:23]NVStorageSaveData done [23:53:23]OFDSenderStorePacket done [23:53:23]KKMCreateOFDPacket done [23:53:23]NVStorageSaveData kkm_last_timestamp [23:53:23]File name is /storage/kkm_last_timestamp [23:53:23]Write 4 bytes [23:53:23]NVStorageSaveData done [23:53:23]ExternCall_PrintAddStr [23:53:23]wPrintStart [23:53:23]Write to MH i2c: 01 00 00 B8 0A C2 [23:53:23]Write i2c OK [23:53:23]MH_I2C_Read... [23:53:23]Read from MH i2c: 01 [23:53:23]MH_I2C_Read... [23:53:24]Read from MH i2c: 01 07 00 [23:53:24]MH_I2C_Read... [23:53:24]Read from MH i2c: 01 07 00 B8 0A 00 00 00 00 00 FF 0F D7 [23:53:24]RasterBufferAndPrint [23:53:24]line Счет N : (3)176439 [23:53:24]line ИНН: 02508201610067 [23:53:24]line Контрольно-Кассовый Чек [23:53:24]line ПРОДАЖА [23:53:24]line Товар: 4700000480050 [23:53:24]line Напиток Nitro Energy эн green ж/б 0,45л [23:53:24]line 1.000 * 95.00 [23:53:24]line = 95.00 [23:53:24]line НДС 12% НСП 1% [23:53:24]line > о реализуемом товаре [23:53:24]line ИТОГО: 95.00 [23:53:24]line НСП 1% : 0.84 [23:53:24]line НДС 12% : 10.09 [23:53:24]line Наличными: 0.00 [23:53:24]line Безнал.: 95.00 [23:53:24]line Место: АЗС № 63 "Партнер Нефть" [23:53:24]line Адрес: 720001, с. Чон Сары Ой, ул. Западная 3, 42.603516, 76.894901 [23:53:24]line СНО: Общий режим [23:53:24]line Чек 137 02.06.2024 23:53 [23:53:24]line Смена: 375 ФФД: 1.0 [23:53:24]line ЗНМ: 0300000037 [23:53:24]line РНМ: 0000000000092680 [23:53:24]line Версия ККМ: 001 [23:53:24]line Платежная система: Бакай Банк [23:53:24]line ФМ: 0000000000874882 [23:53:24]line ФД: 39879 [23:53:24]line ФПД: 42902753750793 [23:53:24]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240602T235324&type=1&operation_type=1&fn_number=0000000000874882&fd_number=39879&fm=42902753750793&tin=02508201610067®Number=0000000000092680&sum=9500 [23:53:24]line 0 [23:53:24]OFD Sender: Processing packet 39879 [packets to send 5, broken 4] [23:53:24]ProducePacketName [23:53:24]name=ofd_packets/00039879 [23:53:24]OFD Sender: To server: pG, [23:53:24]CommunicateWithHost lk.salyk.kg:30040 [23:53:24]ConnectInit lk.salyk.kg [23:53:24]written 0, free lines is 4095 [23:53:24]Connected sock=10 [23:53:24]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 38 32 39 01 00 00 5B 7A 31 01 72 23 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 1C 25 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 89 00 00 00 F4 03 04 00 F4 05 5D 66 0E 04 04 00 77 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 10 04 04 00 C7 9B 00 00 35 04 06 00 27 05 13 65 AF 09 FA A2 53 5B 3E 44 4C AE [23:53:24]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 4F 00 00 00 9E 08 47 00 82 17 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 10 04 04 00 C7 9B 00 00 F4 03 04 00 A1 AE 5C 66 B6 04 01 00 00 64 C4 2F 28 A0 14 37 0A [23:53:24]CommunicateWithHost err = 0 [23:53:24]CheckOFDResponse [23:53:24]1017 (14) - 77093643461234 [23:53:24]1041 (16) - 0000000000874882 [23:53:24]1040 (4) - 39879 [23:53:24]1012 (4) - 02.06.2024 17:40 [23:53:24]1206 (1) - 0 [23:53:24]OFD Sender: Remove packet 39879 [23:53:24]ProducePacketName [23:53:24]name=ofd_packets/00039879 [23:53:24]NVStorageDeleteData [23:53:24]Write to MH i2c: 01 00 00 E3 0A ED [23:53:24]Write i2c OK [23:53:24]MH_I2C_Read... [23:53:24]Read from MH i2c: 01 [23:53:24]MH_I2C_Read... [23:53:24]Read from MH i2c: 01 07 00 [23:53:24]MH_I2C_Read... [23:53:24]Read from MH i2c: 01 07 00 E3 0A 00 00 00 00 00 F7 0C F7 [23:53:24]RasterBufferAndPrint [23:53:24]line [23:53:24]line [23:53:24]line [23:53:24]line [23:53:24]line [23:53:24]written 0, free lines is 3325 [23:53:24]MH_Cut [23:53:24]Write to MH i2c: D1 01 00 EA 0A 01 C6 [23:53:24]Write i2c OK [23:53:24]MH_I2C_Read... [23:53:24]Read from MH i2c: D1 [23:53:24]MH_I2C_Read... [23:53:24]Read from MH i2c: D1 01 00 [23:53:24]MH_I2C_Read... [23:53:24]Read from MH i2c: D1 01 00 EA 0A 00 C5 [23:53:24]Write to MH i2c: 01 00 00 EB 0A F5 [23:53:24]Write i2c OK [23:53:24]MH_I2C_Read... [23:53:25]OFD Sender: No OFD packet to send [23:53:25]*** Cut start [23:53:25]*** Partial cut [23:53:25]*** CUTSNS_PIN = 1 [23:53:25]*** CUTSNS_PIN = 0 [23:53:25]*** Brake cut motor [23:53:26]Read from MH i2c: 01 [23:53:26]MH_I2C_Read... [23:53:26]*** Stop cut motor [23:53:26]*** Cut end [23:53:26]Read from MH i2c: 01 07 00 [23:53:26]MH_I2C_Read... [23:53:26]Read from MH i2c: 01 07 00 EB 0A 00 00 00 00 00 FF 0F 0A [23:53:26]process_action close_receipt done [23:53:26]requested_data is exist [23:53:26]produce_requested_data [23:53:26]requested_item fm.sn is exist - process it [23:53:26]wFMCommunicate request_size=4 [23:53:26]MH_SAM_APDU [23:53:26]CAPDU: 80 11 00 00 [23:53:26]Write to MH i2c: E2 08 00 EC 0A 80 11 00 00 00 00 00 00 70 [23:53:26]Write i2c OK [23:53:26]MH_I2C_Read... [23:53:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:53:26]Read from MH i2c: E2 [23:53:26]MH_I2C_Read... [23:53:26]Read from MH i2c: E2 17 00 [23:53:26]MH_I2C_Read... [23:53:26]Read from MH i2c: E2 17 00 EC 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 90 00 C8 [23:53:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 90 00 [23:53:26]wFMCommunicate OK [23:53:26]requested_item fd.num is exist - process it [23:53:26]SAM_PROTO_GetFieldsCounters [23:53:26]wFMCommunicate request_size=4 [23:53:26]MH_SAM_APDU [23:53:26]CAPDU: 80 13 00 00 [23:53:26]Write to MH i2c: E2 08 00 ED 0A 80 13 00 00 00 00 00 00 73 [23:53:26]Write i2c OK [23:53:26]MH_I2C_Read... [23:53:26]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:53:26]Read from MH i2c: E2 [23:53:26]MH_I2C_Read... [23:53:26]Read from MH i2c: E2 62 00 [23:53:26]MH_I2C_Read... [23:53:26]Read from MH i2c: E2 62 00 ED 0A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 10 04 04 00 C7 9B 00 00 0E 04 04 00 77 01 00 00 12 04 04 00 89 00 00 00 5E 04 04 00 89 00 00 00 57 04 04 00 8A 00 00 00 19 04 04 00 00 00 00 00 90 00 0E [23:53:26]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 10 04 04 00 C7 9B 00 00 0E 04 04 00 77 01 00 00 12 04 04 00 89 00 00 00 5E 04 04 00 89 00 00 00 57 04 04 00 8A 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:53:26]wFMCommunicate OK [23:53:26]SAM_PROTO_GetFieldsCounters done [23:53:26]requested_item shift.num is exist - process it [23:53:26]requested_item shift.opened is exist - process it [23:53:26]req_shift_opened [23:53:26]FM_GetShiftState [23:53:26]SAM_PROTO_GetShiftState [23:53:26]wFMCommunicate request_size=4 [23:53:26]MH_SAM_APDU [23:53:26]CAPDU: 80 13 01 00 [23:53:26]Write to MH i2c: E2 08 00 EE 0A 80 13 01 00 00 00 00 00 75 [23:53:26]Write i2c OK [23:53:26]MH_I2C_Read... [23:53:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:53:26]Read from MH i2c: E2 [23:53:26]MH_I2C_Read... [23:53:26]Read from MH i2c: E2 0E 00 [23:53:26]MH_I2C_Read... [23:53:26]Read from MH i2c: E2 0E 00 EE 0A 00 09 00 01 54 BB 5B 66 00 00 00 00 90 00 51 [23:53:26]RAPDU: 09 00 01 54 BB 5B 66 00 00 00 00 90 00 [23:53:26]wFMCommunicate OK [23:53:26]SAM_PROTO_GetShiftState done [23:53:26]FM_GetShiftState done [23:53:26]req_shift_opened done [23:53:26]requested_item shift.open_date is exist - process it [23:53:26]req_shift_open_date [23:53:26]req_shift_open_date done [23:53:26]produce_requested_data done [23:53:26]produce_requested_data return {"fm.sn":"0000000000874882","fd.num":39879,"shift.num":375,"shift.opened":1,"shift.open_date":1717287764} [23:53:26]process_action_free close_receipt [23:53:26]json_value_free [23:53:26]json_value_free done [23:53:26]process_json_proto returns [23:53:26]Send response to host [23:53:26]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874882","fd.num":39879,"shift.num":375,"shift.opened":1,"shift.open_date":1717287764}}} [23:53:26]free response buf [23:53:26]execute_script done [23:53:26]execute_script returns [23:53:26]free content buf [23:53:26]Sock 9.Close socket [23:53:26]Sock 9.Thread stoped [23:53:30]OFD Sender: No OFD packet to send [23:53:35]OFD Sender: No OFD packet to send [23:53:40]OFD Sender: No OFD packet to send [23:53:45]OFD Sender: No OFD packet to send [23:53:50]OFD Sender: No OFD packet to send [23:53:55]OFD Sender: No OFD packet to send [23:54:00]OFD Sender: No OFD packet to send [23:54:05]OFD Sender: No OFD packet to send [23:54:10]OFD Sender: No OFD packet to send [23:54:15]OFD Sender: No OFD packet to send [23:54:20]OFD Sender: No OFD packet to send [23:54:25]OFD Sender: No OFD packet to send [23:54:30]OFD Sender: No OFD packet to send [23:54:35]OFD Sender: No OFD packet to send [23:54:40]OFD Sender: No OFD packet to send [23:54:45]OFD Sender: No OFD packet to send [23:54:50]OFD Sender: No OFD packet to send [23:54:55]OFD Sender: No OFD packet to send [23:55:00]OFD Sender: No OFD packet to send [23:55:05]OFD Sender: No OFD packet to send [23:55:10]OFD Sender: No OFD packet to send [23:55:15]OFD Sender: No OFD packet to send [23:55:20]OFD Sender: No OFD packet to send [23:55:25]OFD Sender: No OFD packet to send [23:55:30]OFD Sender: No OFD packet to send [23:55:35]OFD Sender: No OFD packet to send [23:55:40]OFD Sender: No OFD packet to send [23:55:45]OFD Sender: No OFD packet to send [23:55:50]OFD Sender: No OFD packet to send [23:55:55]OFD Sender: No OFD packet to send [23:56:00]OFD Sender: No OFD packet to send [23:56:05]OFD Sender: No OFD packet to send [23:56:10]OFD Sender: No OFD packet to send [23:56:15]OFD Sender: No OFD packet to send [23:56:19]accept exits with 7 [23:56:19]New connection [23:56:19]New thread 3066699108 created [23:56:19]Thread 3066555748 joined [23:56:19]Waiting for new connection... [23:56:19] Sock 7.Parse request [23:56:19]Sock 7.Check first char [23:56:19]Sock 7.First char is OK [23:56:19]request: POST /json_proto HTTP/1.0 [23:56:19]Method: POST [23:56:19]URL: /json_proto [23:56:19]Method is POST - this is cgi request [23:56:19]url: /json_proto [23:56:19]query_string will be loaded in cgi processing [23:56:19]execute_cgi json_proto POST (null) [23:56:19]execute_cgi path=json_proto method=POST [23:56:19]POST find Content-Length [23:56:19]Host: 172.17.36.199:8080 [23:56:19]Content-Length: 831 [23:56:19]Content-Type: application/json [23:56:19] [23:56:19]POST finish read [23:56:19]Found Content-Length = 831 [23:56:19]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)176440", "tax_sys" : 0, "items" : [ { "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:56:19]execute_script... [23:56: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)176440", "tax_sys" : 0, "items" : [ { "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:56:19]POST & json_proto [23:56:19]process_json_proto [23:56:19]json parsed OK: [23:56:19]protocol is kg_v1.0 [23:56:19]action value=close_receipt [23:56:19]process_action close_receipt [23:56:19]cmd_close_receipt [23:56:19]MH_GetDate [23:56:19]Write to MH i2c: F0 00 00 EF 0A E8 [23:56:19]Write i2c OK [23:56:19]MH_I2C_Read... [23:56:19]Read from MH i2c: F0 [23:56:19]MH_I2C_Read... [23:56:19]Read from MH i2c: F0 09 00 [23:56:19]MH_I2C_Read... [23:56:19]Read from MH i2c: F0 09 00 EF 0A 00 A4 06 5D 66 91 46 04 65 9E [23:56:19]GetLastDocTimeStamp 1717372404 [23:56:19]current date 1717372580 [23:56:19]FM_GetShiftState [23:56:19]SAM_PROTO_GetShiftState [23:56:19]wFMCommunicate request_size=4 [23:56:19]MH_SAM_APDU [23:56:19]CAPDU: 80 13 01 00 [23:56:19]Write to MH i2c: E2 08 00 F0 0A 80 13 01 00 00 00 00 00 77 [23:56:19]Write i2c OK [23:56:19]MH_I2C_Read... [23:56:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:56:19]Read from MH i2c: E2 [23:56:19]MH_I2C_Read... [23:56:19]Read from MH i2c: E2 0E 00 [23:56:19]MH_I2C_Read... [23:56:19]Read from MH i2c: E2 0E 00 F0 0A 00 09 00 01 54 BB 5B 66 00 00 00 00 90 00 53 [23:56:19]RAPDU: 09 00 01 54 BB 5B 66 00 00 00 00 90 00 [23:56:19]wFMCommunicate OK [23:56:19]SAM_PROTO_GetShiftState done [23:56:19]FM_GetShiftState done [23:56:19]opened in 1717287764 [23:56:19]opened+sec_in_day 1717374164 [23:56:19]quantity*price = 9500 [23:56:19]sum+1 = 9501 [23:56:19]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 0.00 Безнал.: 95.00 Место: АЗС № 63 "Партнер Нефть" Адрес: 720001, с. Чон Сары Ой, ул. Западная 3, 42.603516, 76.894901 СНО: Общий режим Чек 138 02.06.2024 23:56 Смена: 375 ФФД: 1.0 ЗНМ: 0300000037 РНМ: 0000000000092680 Версия ККМ: 001 Платежная система: Бакай Банк ФМ: 0000000000874882 ФД: 39880 ФПД: 92715844938085 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240602T235620&type=1&operation_type=1&fn_number=0000000000874882&fd_number=39880&fm=92715844938085&tin=02508201610067®Number=0000000000092680&sum=9500 0 [23:56:20]StoreToDocumentArchive [23:56:20]shift 375 fd 39880 [23:56:20]save to /storage/0375/doc_00039880 [23:56:20]save last doc name /storage/0375/doc_00039880 to /storage/kkm_last_doc_name [23:56:20]save OK [23:56:20]Clear old archive folders... [23:56:20]ProcessDocumentItem done err = 0, tmpTLVsize=293 [23:56:20]tlvbuf is 00BC37E0 [23:56:20]SAM_PROTO_ClearQueue [23:56:20]wFMCommunicate request_size=4 [23:56:20]MH_SAM_APDU [23:56:20]CAPDU: 80 09 00 00 [23:56:20]Write to MH i2c: E2 08 00 FD 0A 80 09 00 00 00 00 00 00 79 [23:56:20]Write i2c OK [23:56:20]MH_I2C_Read... [23:56:20]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:56:20]Read from MH i2c: E2 [23:56:20]MH_I2C_Read... [23:56:20]Read from MH i2c: E2 03 00 [23:56:20]MH_I2C_Read... [23:56:20]Read from MH i2c: E2 03 00 FD 0A 00 90 00 7B [23:56:20]RAPDU: 90 00 [23:56:20]wFMCommunicate OK [23:56:20]SAM_PROTO_ClearQueue done [23:56:20]KKMCreateOFDPacket [23:56:20]OFDProtocolAddRootSTLVToBuf [23:56:20]FM_MakeSignedData [23:56:20]FM_MakeSignedData [23:56:20]SAM_PROTO_SignData [23:56:20]wFMCommunicate request_size=4 [23:56:20]MH_SAM_APDU [23:56:20]CAPDU: 80 0D 01 02 [23:56:20]Write to MH i2c: E2 08 00 FE 0A 80 0D 01 02 00 00 00 00 81 [23:56:20]Write i2c OK [23:56:20]MH_I2C_Read... [23:56:20]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:56:20]Read from MH i2c: E2 [23:56:20]MH_I2C_Read... [23:56:20]Read from MH i2c: E2 03 00 [23:56:20]MH_I2C_Read... [23:56:20]Read from MH i2c: E2 03 00 FE 0A 00 90 00 7C [23:56:20]RAPDU: 90 00 [23:56:20]wFMCommunicate OK [23:56:20]wFMCommunicate request_size=255 [23:56:20]MH_SAM_APDU [23:56:20]CAPDU: 80 0D 02 02 FA 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 1C 25 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 8A 00 00 00 F4 03 04 00 A4 06 5D 66 0E 04 04 00 77 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 [23:56:20]Write to MH i2c: E2 02 01 FF 0A 80 0D 02 02 FA 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 1C 25 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 8A 00 00 00 F4 03 04 00 A4 06 5D 66 0E 04 04 00 77 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 00 00 90 [23:56:20]Write i2c OK [23:56:20]MH_I2C_Read... [23:56:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:56:20]Read from MH i2c: E2 [23:56:20]MH_I2C_Read... [23:56:20]Read from MH i2c: E2 03 00 [23:56:20]MH_I2C_Read... [23:56:20]Read from MH i2c: E2 03 00 FF 0A 00 90 00 7D [23:56:20]RAPDU: 90 00 [23:56:20]wFMCommunicate OK [23:56:20]wFMCommunicate request_size=52 [23:56:20]MH_SAM_APDU [23:56:20]CAPDU: 80 0D 02 02 2F 30 30 30 30 39 32 36 38 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 10 04 04 00 C8 9B 00 00 35 04 06 00 54 53 17 00 A9 65 [23:56:20]Write to MH i2c: E2 37 00 00 0B 80 0D 02 02 2F 00 30 30 30 30 39 32 36 38 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 10 04 04 00 C8 9B 00 00 35 04 06 00 54 53 17 00 A9 65 00 00 7C [23:56:20]Write i2c OK [23:56:20]MH_I2C_Read... [23:56:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:56:20]Read from MH i2c: E2 [23:56:20]MH_I2C_Read... [23:56:20]Read from MH i2c: E2 03 00 [23:56:20]MH_I2C_Read... [23:56:20]Read from MH i2c: E2 03 00 00 0B 00 90 00 7F [23:56:20]RAPDU: 90 00 [23:56:20]wFMCommunicate OK [23:56:20]wFMCommunicate request_size=4 [23:56:20]MH_SAM_APDU [23:56:20]CAPDU: 80 0D 03 02 [23:56:20]Write to MH i2c: E2 08 00 01 0B 80 0D 03 02 00 00 00 00 87 [23:56:20]Write i2c OK [23:56:20]MH_I2C_Read... [23:56:20]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:56:20]Read from MH i2c: E2 [23:56:20]MH_I2C_Read... [23:56:20]Read from MH i2c: E2 0B 00 [23:56:20]MH_I2C_Read... [23:56:20]Read from MH i2c: E2 0B 00 01 0B 00 5C 70 A8 79 4E EB C8 D2 90 00 48 [23:56:20]RAPDU: 5C 70 A8 79 4E EB C8 D2 90 00 [23:56:20]wFMCommunicate OK [23:56:20]SAM_PROTO_SignData done [23:56:20]FM_MakeSignedData done [23:56:20]CreateOFDProtocolMessage [23:56:20]wFMCommunicate request_size=4 [23:56:20]MH_SAM_APDU [23:56:20]CAPDU: 80 11 00 00 [23:56:20]Write to MH i2c: E2 08 00 02 0B 80 11 00 00 00 00 00 00 87 [23:56:20]Write i2c OK [23:56:20]MH_I2C_Read... [23:56:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:56:20]Read from MH i2c: E2 [23:56:20]MH_I2C_Read... [23:56:20]Read from MH i2c: E2 17 00 [23:56:20]MH_I2C_Read... [23:56:20]Read from MH i2c: E2 17 00 02 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 90 00 DF [23:56:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 90 00 [23:56:20]wFMCommunicate OK [23:56:20]CreateOFDProtocolMessage done [23:56:20]OFDSenderStorePacket 39880 [23:56:20]StoreOFDPacket docnum=39880 [23:56:20]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 39 01 00 00 47 42 31 01 C2 26 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 1C 25 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 8A 00 00 00 F4 03 04 00 A4 06 5D 66 0E 04 04 00 77 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 10 04 04 00 C8 9B 00 00 35 04 06 00 54 53 17 00 A9 65 5C 70 A8 79 4E EB C8 D2 [23:56:20]CheckFolder [23:56:20]dirname=/storage/ofd_packets [23:56:20]CheckFolder done [23:56:20]ProducePacketName [23:56:20]name=ofd_packets/00039880 [23:56:20]NVStorageSaveData ofd_packets/00039880 [23:56:20]File name is /storage/ofd_packets/00039880 [23:56:20]Write 343 bytes [23:56:20]NVStorageSaveData done [23:56:20]OFDSenderStorePacket done [23:56:20]KKMCreateOFDPacket done [23:56:20]NVStorageSaveData kkm_last_timestamp [23:56:20]File name is /storage/kkm_last_timestamp [23:56:20]Write 4 bytes [23:56:20]NVStorageSaveData done [23:56:20]ExternCall_PrintAddStr [23:56:20]wPrintStart [23:56:20]Write to MH i2c: 01 00 00 03 0B 0E [23:56:20]Write i2c OK [23:56:20]MH_I2C_Read... [23:56:20]Read from MH i2c: 01 [23:56:20]MH_I2C_Read... [23:56:20]Read from MH i2c: 01 07 00 [23:56:20]MH_I2C_Read... [23:56:20]Read from MH i2c: 01 07 00 03 0B 00 00 00 00 00 FF 0F 23 [23:56:20]RasterBufferAndPrint [23:56:20]line Счет N : (3)176440 [23:56:20]line ИНН: 02508201610067 [23:56:20]line Контрольно-Кассовый Чек [23:56:20]line ПРОДАЖА [23:56:20]line Товар: 4700000480050 [23:56:20]line Напиток Nitro Energy эн green ж/б 0,45л [23:56:20]line 1.000 * 95.00 [23:56:20]line = 95.00 [23:56:20]line НДС 12% НСП 1% [23:56:20]line > о реализуемом товаре [23:56:20]line ИТОГО: 95.00 [23:56:20]line НСП 1% : 0.84 [23:56:20]line НДС 12% : 10.09 [23:56:20]line Наличными: 0.00 [23:56:20]line Безнал.: 95.00 [23:56:20]line Место: АЗС № 63 "Партнер Нефть" [23:56:20]line Адрес: 720001, с. Чон Сары Ой, ул. Западная 3, 42.603516, 76.894901 [23:56:20]line СНО: Общий режим [23:56:20]line Чек 138 02.06.2024 23:56 [23:56:20]line Смена: 375 ФФД: 1.0 [23:56:20]line ЗНМ: 0300000037 [23:56:20]line РНМ: 0000000000092680 [23:56:20]line Версия ККМ: 001 [23:56:20]line Платежная система: Бакай Банк [23:56:20]line ФМ: 0000000000874882 [23:56:20]line ФД: 39880 [23:56:20]line ФПД: 92715844938085 [23:56:21]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240602T235620&type=1&operation_type=1&fn_number=0000000000874882&fd_number=39880&fm=92715844938085&tin=02508201610067®Number=0000000000092680&sum=9500 [23:56:21]line 0 [23:56:21]OFD Sender: Processing packet 39880 [packets to send 5, broken 4] [23:56:21]ProducePacketName [23:56:21]name=ofd_packets/00039880 [23:56:21]OFD Sender: To server: pG, [23:56:21]CommunicateWithHost lk.salyk.kg:30040 [23:56:21]ConnectInit lk.salyk.kg [23:56:21]written 0, free lines is 4095 [23:56:21]Connected sock=10 [23:56: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 38 32 39 01 00 00 47 42 31 01 C2 26 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 1C 25 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 8A 00 00 00 F4 03 04 00 A4 06 5D 66 0E 04 04 00 77 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 10 04 04 00 C8 9B 00 00 35 04 06 00 54 53 17 00 A9 65 5C 70 A8 79 4E EB C8 D2 [23:56:21]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 4F 00 00 00 E7 1B 47 00 00 C1 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 38 32 10 04 04 00 C8 9B 00 00 F4 03 04 00 52 AF 5C 66 B6 04 01 00 00 A4 47 8B D2 7D CE 62 A1 [23:56:21]CommunicateWithHost err = 0 [23:56:21]CheckOFDResponse [23:56:21]1017 (14) - 77093643461234 [23:56:21]1041 (16) - 0000000000874882 [23:56:21]1040 (4) - 39880 [23:56:21]1012 (4) - 02.06.2024 17:43 [23:56:21]1206 (1) - 0 [23:56:21]OFD Sender: Remove packet 39880 [23:56:21]ProducePacketName [23:56:21]name=ofd_packets/00039880 [23:56:21]NVStorageDeleteData [23:56:21]Write to MH i2c: 01 00 00 2E 0B 39 [23:56:21]Write i2c OK [23:56:21]MH_I2C_Read... [23:56:21]Read from MH i2c: 01 [23:56:21]MH_I2C_Read... [23:56:21]Read from MH i2c: 01 07 00 [23:56:21]MH_I2C_Read... [23:56:21]Read from MH i2c: 01 07 00 2E 0B 00 00 00 00 00 02 0D 4F [23:56:21]RasterBufferAndPrint [23:56:21]line [23:56:21]line [23:56:21]line [23:56:21]line [23:56:21]line [23:56:21]written 0, free lines is 3335 [23:56:21]MH_Cut [23:56:21]Write to MH i2c: D1 01 00 35 0B 01 12 [23:56:21]Write i2c OK [23:56:21]MH_I2C_Read... [23:56:21]Read from MH i2c: D1 [23:56:21]MH_I2C_Read... [23:56:21]Read from MH i2c: D1 01 00 [23:56:21]MH_I2C_Read... [23:56:21]Read from MH i2c: D1 01 00 35 0B 00 11 [23:56:21]Write to MH i2c: 01 00 00 36 0B 41 [23:56:21]Write i2c OK [23:56:21]MH_I2C_Read... [23:56:22]OFD Sender: No OFD packet to send [23:56:22]*** Cut start [23:56:22]*** Partial cut [23:56:22]*** CUTSNS_PIN = 1 [23:56:22]*** CUTSNS_PIN = 0 [23:56:22]*** Brake cut motor [23:56:23]Read from MH i2c: 01 [23:56:23]MH_I2C_Read... [23:56:23]*** Stop cut motor [23:56:23]*** Cut end [23:56:23]Read from MH i2c: 01 07 00 [23:56:23]MH_I2C_Read... [23:56:23]Read from MH i2c: 01 07 00 36 0B 00 00 00 00 00 FF 0F 56 [23:56:23]process_action close_receipt done [23:56:23]requested_data is exist [23:56:23]produce_requested_data [23:56:23]requested_item fm.sn is exist - process it [23:56:23]wFMCommunicate request_size=4 [23:56:23]MH_SAM_APDU [23:56:23]CAPDU: 80 11 00 00 [23:56:23]Write to MH i2c: E2 08 00 37 0B 80 11 00 00 00 00 00 00 BC [23:56:23]Write i2c OK [23:56:23]MH_I2C_Read... [23:56:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:56:23]Read from MH i2c: E2 [23:56:23]MH_I2C_Read... [23:56:23]Read from MH i2c: E2 17 00 [23:56:23]MH_I2C_Read... [23:56:23]Read from MH i2c: E2 17 00 37 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 90 00 14 [23:56:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 90 00 [23:56:23]wFMCommunicate OK [23:56:23]requested_item fd.num is exist - process it [23:56:23]SAM_PROTO_GetFieldsCounters [23:56:23]wFMCommunicate request_size=4 [23:56:23]MH_SAM_APDU [23:56:23]CAPDU: 80 13 00 00 [23:56:23]Write to MH i2c: E2 08 00 38 0B 80 13 00 00 00 00 00 00 BF [23:56:23]Write i2c OK [23:56:23]MH_I2C_Read... [23:56:23]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:56:23]Read from MH i2c: E2 [23:56:23]MH_I2C_Read... [23:56:23]Read from MH i2c: E2 62 00 [23:56:23]MH_I2C_Read... [23:56:23]Read from MH i2c: E2 62 00 38 0B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 10 04 04 00 C8 9B 00 00 0E 04 04 00 77 01 00 00 12 04 04 00 8A 00 00 00 5E 04 04 00 8A 00 00 00 57 04 04 00 8B 00 00 00 19 04 04 00 00 00 00 00 90 00 5E [23:56: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 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 10 04 04 00 C8 9B 00 00 0E 04 04 00 77 01 00 00 12 04 04 00 8A 00 00 00 5E 04 04 00 8A 00 00 00 57 04 04 00 8B 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:56:23]wFMCommunicate OK [23:56:23]SAM_PROTO_GetFieldsCounters done [23:56:23]requested_item shift.num is exist - process it [23:56:23]requested_item shift.opened is exist - process it [23:56:23]req_shift_opened [23:56:23]FM_GetShiftState [23:56:23]SAM_PROTO_GetShiftState [23:56:23]wFMCommunicate request_size=4 [23:56:23]MH_SAM_APDU [23:56:23]CAPDU: 80 13 01 00 [23:56:23]Write to MH i2c: E2 08 00 39 0B 80 13 01 00 00 00 00 00 C1 [23:56:23]Write i2c OK [23:56:23]MH_I2C_Read... [23:56:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:56:23]Read from MH i2c: E2 [23:56:23]MH_I2C_Read... [23:56:23]Read from MH i2c: E2 0E 00 [23:56:23]MH_I2C_Read... [23:56:23]Read from MH i2c: E2 0E 00 39 0B 00 09 00 01 54 BB 5B 66 00 00 00 00 90 00 9D [23:56:23]RAPDU: 09 00 01 54 BB 5B 66 00 00 00 00 90 00 [23:56:23]wFMCommunicate OK [23:56:23]SAM_PROTO_GetShiftState done [23:56:23]FM_GetShiftState done [23:56:23]req_shift_opened done [23:56:23]requested_item shift.open_date is exist - process it [23:56:23]req_shift_open_date [23:56:23]req_shift_open_date done [23:56:23]produce_requested_data done [23:56:23]produce_requested_data return {"fm.sn":"0000000000874882","fd.num":39880,"shift.num":375,"shift.opened":1,"shift.open_date":1717287764} [23:56:23]process_action_free close_receipt [23:56:23]json_value_free [23:56:23]json_value_free done [23:56:23]process_json_proto returns [23:56:23]Send response to host [23:56:23]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874882","fd.num":39880,"shift.num":375,"shift.opened":1,"shift.open_date":1717287764}}} [23:56:23]free response buf [23:56:23]execute_script done [23:56:23]execute_script returns [23:56:23]free content buf [23:56:23]Sock 7.Close socket [23:56:23]Sock 7.Thread stoped [23:56:27]OFD Sender: No OFD packet to send [23:56:32]OFD Sender: No OFD packet to send [23:56:37]OFD Sender: No OFD packet to send [23:56:42]OFD Sender: No OFD packet to send [23:56:47]OFD Sender: No OFD packet to send [23:56:52]OFD Sender: No OFD packet to send [23:56:57]OFD Sender: No OFD packet to send [23:57:02]OFD Sender: No OFD packet to send [23:57:07]OFD Sender: No OFD packet to send [23:57:12]OFD Sender: No OFD packet to send [23:57:17]OFD Sender: No OFD packet to send [23:57:22]OFD Sender: No OFD packet to send [23:57:27]OFD Sender: No OFD packet to send [23:57:32]OFD Sender: No OFD packet to send [23:57:37]OFD Sender: No OFD packet to send [23:57:42]OFD Sender: No OFD packet to send [23:57:47]OFD Sender: No OFD packet to send [23:57:52]OFD Sender: No OFD packet to send [23:57:57]OFD Sender: No OFD packet to send [23:58:02]OFD Sender: No OFD packet to send [23:58:07]OFD Sender: No OFD packet to send [23:58:12]OFD Sender: No OFD packet to send [23:58:17]OFD Sender: No OFD packet to send [23:58:22]OFD Sender: No OFD packet to send [23:58:27]OFD Sender: No OFD packet to send [23:58:32]OFD Sender: No OFD packet to send [23:58:37]OFD Sender: No OFD packet to send [23:58:42]OFD Sender: No OFD packet to send [23:58:47]OFD Sender: No OFD packet to send [23:58:52]OFD Sender: No OFD packet to send [23:58:57]OFD Sender: No OFD packet to send [23:59:02]OFD Sender: No OFD packet to send [23:59:07]OFD Sender: No OFD packet to send [23:59:12]OFD Sender: No OFD packet to send [23:59:17]OFD Sender: No OFD packet to send [23:59:22]OFD Sender: No OFD packet to send [23:59:27]OFD Sender: No OFD packet to send [23:59:32]OFD Sender: No OFD packet to send [23:59:37]OFD Sender: No OFD packet to send [23:59:42]OFD Sender: No OFD packet to send [23:59:47]OFD Sender: No OFD packet to send [23:59:52]OFD Sender: No OFD packet to send [23:59:57]OFD Sender: No OFD packet to send [00:00:02]OFD Sender: No OFD packet to send [00:00:07]OFD Sender: No OFD packet to send [00:00:12]OFD Sender: No OFD packet to send [00:00:17]OFD Sender: No OFD packet to send [00:00:22]OFD Sender: No OFD packet to send [00:00:27]OFD Sender: No OFD packet to send [00:00:32]OFD Sender: No OFD packet to send [00:00:37]OFD Sender: No OFD packet to send [00:00:42]OFD Sender: No OFD packet to send [00:00:47]OFD Sender: No OFD packet to send [00:00:52]OFD Sender: No OFD packet to send [00:00:57]OFD Sender: No OFD packet to send [00:01:02]OFD Sender: No OFD packet to send [00:01:07]OFD Sender: No OFD packet to send [00:01:12]OFD Sender: No OFD packet to send [00:01:17]OFD Sender: No OFD packet to send [00:01:22]OFD Sender: No OFD packet to send [00:01:27]OFD Sender: No OFD packet to send [00:01:32]OFD Sender: No OFD packet to send [00:01:37]OFD Sender: No OFD packet to send [00:01:42]OFD Sender: No OFD packet to send [00:01:47]OFD Sender: No OFD packet to send [00:01:52]OFD Sender: No OFD packet to send [00:01:57]OFD Sender: No OFD packet to send [00:02:02]OFD Sender: No OFD packet to send [00:02:07]OFD Sender: No OFD packet to send [00:02:12]OFD Sender: No OFD packet to send [00:02:17]OFD Sender: No OFD packet to send [00:02:22]OFD Sender: No OFD packet to send [00:02:27]OFD Sender: No OFD packet to send [00:02:32]OFD Sender: No OFD packet to send [00:02:37]OFD Sender: No OFD packet to send [00:02:42]OFD Sender: No OFD packet to send [00:02:47]OFD Sender: No OFD packet to send [00:02:52]OFD Sender: No OFD packet to send [00:02:57]OFD Sender: No OFD packet to send [00:03:02]OFD Sender: No OFD packet to send [00:03:06]accept exits with 9 [00:03:06]New connection [00:03:06]New thread 3066555748 created [00:03:06]Thread 3066699108 joined [00:03:06]Waiting for new connection... [00:03:06] Sock 9.Parse request [00:03:06]Sock 9.Check first char [00:03:06]Sock 9.First char is OK [00:03:06]request: POST /json_proto HTTP/1.0 [00:03:06]Method: POST [00:03:06]URL: /json_proto [00:03:06]Method is POST - this is cgi request [00:03:06]url: /json_proto [00:03:06]query_string will be loaded in cgi processing [00:03:06]execute_cgi json_proto POST (null) [00:03:06]execute_cgi path=json_proto method=POST [00:03:06]POST find Content-Length [00:03:06]Host: 172.17.36.199:8080 [00:03:06]Content-Length: 215 [00:03:06]Content-Type: application/json [00:03:06] [00:03:06]POST finish read [00:03:06]Found Content-Length = 215 [00:03:06]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:03:06]execute_script... [00:03:06]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:03:06]POST & json_proto [00:03:06]process_json_proto [00:03:06]json parsed OK: [00:03:06]protocol is kg_v1.0 [00:03:06]action value=get_value [00:03:06]process_action get_value [00:03:06]cmd_get_value [00:03:06]process_action get_value done [00:03:06]requested_data is exist [00:03:06]produce_requested_data [00:03:06]requested_item kkm.sn is exist - process it [00:03:06]requested_item kkm.ver is exist - process it [00:03:06]requested_item fm.sn is exist - process it [00:03:06]wFMCommunicate request_size=4 [00:03:06]MH_SAM_APDU [00:03:06]CAPDU: 80 11 00 00 [00:03:06]Write to MH i2c: E2 08 00 3A 0B 80 11 00 00 00 00 00 00 BF [00:03:06]Write i2c OK [00:03:06]MH_I2C_Read... [00:03:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:03:06]Read from MH i2c: E2 [00:03:06]MH_I2C_Read... [00:03:06]Read from MH i2c: E2 17 00 [00:03:06]MH_I2C_Read... [00:03:06]Read from MH i2c: E2 17 00 3A 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 90 00 17 [00:03:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 90 00 [00:03:06]wFMCommunicate OK [00:03:06]requested_item fd.num is exist - process it [00:03:06]SAM_PROTO_GetFieldsCounters [00:03:06]wFMCommunicate request_size=4 [00:03:06]MH_SAM_APDU [00:03:06]CAPDU: 80 13 00 00 [00:03:06]Write to MH i2c: E2 08 00 3B 0B 80 13 00 00 00 00 00 00 C2 [00:03:06]Write i2c OK [00:03:06]MH_I2C_Read... [00:03:06]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:03:06]Read from MH i2c: E2 [00:03:06]MH_I2C_Read... [00:03:06]Read from MH i2c: E2 62 00 [00:03:06]MH_I2C_Read... [00:03:06]Read from MH i2c: E2 62 00 3B 0B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 10 04 04 00 C8 9B 00 00 0E 04 04 00 77 01 00 00 12 04 04 00 8A 00 00 00 5E 04 04 00 8A 00 00 00 57 04 04 00 8B 00 00 00 19 04 04 00 00 00 00 00 90 00 61 [00:03:06]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 10 04 04 00 C8 9B 00 00 0E 04 04 00 77 01 00 00 12 04 04 00 8A 00 00 00 5E 04 04 00 8A 00 00 00 57 04 04 00 8B 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:03:06]wFMCommunicate OK [00:03:06]SAM_PROTO_GetFieldsCounters done [00:03:06]requested_item shift.num is exist - process it [00:03:06]requested_item shift.opened is exist - process it [00:03:06]req_shift_opened [00:03:06]FM_GetShiftState [00:03:06]SAM_PROTO_GetShiftState [00:03:06]wFMCommunicate request_size=4 [00:03:06]MH_SAM_APDU [00:03:06]CAPDU: 80 13 01 00 [00:03:06]Write to MH i2c: E2 08 00 3C 0B 80 13 01 00 00 00 00 00 C4 [00:03:06]Write i2c OK [00:03:06]MH_I2C_Read... [00:03:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:03:06]Read from MH i2c: E2 [00:03:06]MH_I2C_Read... [00:03:06]Read from MH i2c: E2 0E 00 [00:03:06]MH_I2C_Read... [00:03:06]Read from MH i2c: E2 0E 00 3C 0B 00 09 00 01 54 BB 5B 66 00 00 00 00 90 00 A0 [00:03:06]RAPDU: 09 00 01 54 BB 5B 66 00 00 00 00 90 00 [00:03:06]wFMCommunicate OK [00:03:06]SAM_PROTO_GetShiftState done [00:03:06]FM_GetShiftState done [00:03:06]req_shift_opened done [00:03:06]requested_item shift.open_date is exist - process it [00:03:06]req_shift_open_date [00:03:06]req_shift_open_date done [00:03:06]produce_requested_data done [00:03:06]produce_requested_data return {"kkm.sn":"0300000037","kkm.ver":"001","fm.sn":"0000000000874882","fd.num":39880,"shift.num":375,"shift.opened":1,"shift.open_date":1717287764} [00:03:06]process_action_free get_value [00:03:06]json_value_free [00:03:06]json_value_free done [00:03:06]process_json_proto returns [00:03:06]Send response to host [00:03:06]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000037","kkm.ver":"001","fm.sn":"0000000000874882","fd.num":39880,"shift.num":375,"shift.opened":1,"shift.open_date":1717287764}}} [00:03:06]free response buf [00:03:06]execute_script done [00:03:06]execute_script returns [00:03:06]free content buf [00:03:06]Sock 9.Close socket [00:03:06]Sock 9.Thread stoped [00:03:06]accept exits with 7 [00:03:06]New connection [00:03:06]New thread 3066699108 created [00:03:06]Thread 3066555748 joined [00:03:06]Waiting for new connection... [00:03:06] Sock 7.Parse request [00:03:06]Sock 7.Check first char [00:03:06]Sock 7.First char is OK [00:03:06]request: POST /json_proto HTTP/1.0 [00:03:06]Method: POST [00:03:06]URL: /json_proto [00:03:06]Method is POST - this is cgi request [00:03:06]url: /json_proto [00:03:06]query_string will be loaded in cgi processing [00:03:06]execute_cgi json_proto POST (null) [00:03:06]execute_cgi path=json_proto method=POST [00:03:06]POST find Content-Length [00:03:06]Host: 172.17.36.199:8080 [00:03:06]Content-Length: 331 [00:03:06]Content-Type: application/json [00:03:06] [00:03:06]POST finish read [00:03:06]Found Content-Length = 331 [00:03:06]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:03:06]execute_script... [00:03:06]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:03:06]POST & json_proto [00:03:06]process_json_proto [00:03:06]json parsed OK: [00:03:06]protocol is kg_v1.0 [00:03:06]action value=get_value [00:03:06]process_action get_value [00:03:06]cmd_get_value [00:03:06]process_action get_value done [00:03:06]requested_data is exist [00:03:06]produce_requested_data [00:03:06]requested_item fm.sale.total is exist - process it [00:03:06]SAM_PROTO_GetFMData [00:03:06]wFMCommunicate request_size=4 [00:03:06]MH_SAM_APDU [00:03:06]CAPDU: 80 13 03 00 [00:03:06]Write to MH i2c: E2 08 00 3D 0B 80 13 03 00 00 00 00 00 C7 [00:03:06]Write i2c OK [00:03:06]MH_I2C_Read... [00:03:06]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:03:06]Read from MH i2c: E2 [00:03:06]MH_I2C_Read... [00:03:06]Read from MH i2c: E2 FD 00 [00:03:06]MH_I2C_Read... [00:03:07]Read from MH i2c: E2 FD 00 3D 0B 00 C2 04 85 04 BE 04 6E 04 04 00 DA 98 00 00 69 04 A0 00 6F 04 04 00 A7 98 00 00 B1 04 04 00 B2 45 14 36 70 04 04 00 5C DA 0C 2B 72 04 04 00 56 6B 07 0B 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 1C BE 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 C9 6E 7A EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9C 00 6F 04 04 00 33 00 00 00 B1 04 03 00 70 19 85 70 04 03 00 F4 09 84 72 04 03 00 7C 0F 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 AF 22 0E EF 03 09 00 F6 03 90 00 25 [00:03:07]RAPDU: C2 04 85 04 BE 04 6E 04 04 00 DA 98 00 00 69 04 A0 00 6F 04 04 00 A7 98 00 00 B1 04 04 00 B2 45 14 36 70 04 04 00 5C DA 0C 2B 72 04 04 00 56 6B 07 0B 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 1C BE 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 C9 6E 7A EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9C 00 6F 04 04 00 33 00 00 00 B1 04 03 00 70 19 85 70 04 03 00 F4 09 84 72 04 03 00 7C 0F 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 AF 22 0E EF 03 09 00 F6 03 90 00 [00:03:07]wFMCommunicate OK [00:03:07]wFMCommunicate request_size=4 [00:03:07]MH_SAM_APDU [00:03:07]CAPDU: 80 17 00 00 [00:03:07]Write to MH i2c: E2 08 00 3E 0B 80 17 00 00 00 00 00 00 C9 [00:03:07]Write i2c OK [00:03:07]MH_I2C_Read... [00:03:07]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:03:07]Read from MH i2c: E2 [00:03:07]MH_I2C_Read... [00:03:07]Read from MH i2c: E2 FD 00 [00:03:07]MH_I2C_Read... [00:03:07]Read from MH i2c: E2 FD 00 3E 0B 00 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 8B 2D 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 90 00 AF [00:03:07]RAPDU: 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 8B 2D 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 90 00 [00:03:07]wFMCommunicate OK [00:03:07]wFMCommunicate request_size=4 [00:03:07]MH_SAM_APDU [00:03:07]CAPDU: 80 17 00 00 [00:03:07]Write to MH i2c: E2 08 00 3F 0B 80 17 00 00 00 00 00 00 CA [00:03:07]Write i2c OK [00:03:07]MH_I2C_Read... [00:03:07]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:03:07]Read from MH i2c: E2 [00:03:07]MH_I2C_Read... [00:03:07]Read from MH i2c: E2 FD 00 [00:03:07]MH_I2C_Read... [00:03:07]Read from MH i2c: E2 FD 00 3F 0B 00 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 78 [00:03:07]RAPDU: 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:03:07]wFMCommunicate OK [00:03:07]wFMCommunicate request_size=4 [00:03:07]MH_SAM_APDU [00:03:07]CAPDU: 80 17 00 00 [00:03:07]Write to MH i2c: E2 08 00 40 0B 80 17 00 00 00 00 00 00 CB [00:03:07]OFD Sender: No OFD packet to send [00:03:07]Write i2c OK [00:03:07]MH_I2C_Read... [00:03:07]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:03:07]Read from MH i2c: E2 [00:03:07]MH_I2C_Read... [00:03:07]Read from MH i2c: E2 FD 00 [00:03:07]MH_I2C_Read... [00:03:07]Read from MH i2c: E2 FD 00 40 0B 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 46 [00:03:07]RAPDU: F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:03:07]wFMCommunicate OK [00:03:07]wFMCommunicate request_size=4 [00:03:07]MH_SAM_APDU [00:03:07]CAPDU: 80 17 00 00 [00:03:07]Write to MH i2c: E2 08 00 41 0B 80 17 00 00 00 00 00 00 CC [00:03:07]Write i2c OK [00:03:07]MH_I2C_Read... [00:03:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 220! [00:03:08]Read from MH i2c: E2 [00:03:08]MH_I2C_Read... [00:03:08]Read from MH i2c: E2 DF 00 [00:03:08]MH_I2C_Read... [00:03:08]Read from MH i2c: E2 DF 00 41 0B 00 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 AC [00:03:08]RAPDU: 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:03:08]wFMCommunicate OK [00:03:08]SAM_PROTO_GetFMData done [00:03:08]requested_item fm.sale_refund.total is exist - process it [00:03:08]requested_item fm.buy.total is exist - process it [00:03:08]requested_item shift.sale.total is exist - process it [00:03:08]SAM_PROTO_GetShiftData [00:03:08]wFMCommunicate request_size=4 [00:03:08]MH_SAM_APDU [00:03:08]CAPDU: 80 13 02 00 [00:03:08]Write to MH i2c: E2 08 00 42 0B 80 13 02 00 00 00 00 00 CB [00:03:08]Write i2c OK [00:03:08]MH_I2C_Read... [00:03:08]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:03:08]Read from MH i2c: E2 [00:03:08]MH_I2C_Read... [00:03:08]Read from MH i2c: E2 FD 00 [00:03:08]MH_I2C_Read... [00:03:08]Read from MH i2c: E2 FD 00 42 0B 00 AE 04 AA 04 AA 04 6E 04 04 00 8A 00 00 00 69 04 9B 00 6F 04 04 00 8A 00 00 00 B1 04 03 00 90 CF 31 70 04 03 00 F8 F4 21 72 04 03 00 98 DA 0F 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 1C 4A 05 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 C7 70 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 60 [00:03:08]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 8A 00 00 00 69 04 9B 00 6F 04 04 00 8A 00 00 00 B1 04 03 00 90 CF 31 70 04 03 00 F8 F4 21 72 04 03 00 98 DA 0F 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 1C 4A 05 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 C7 70 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [00:03:08]wFMCommunicate OK [00:03:08]wFMCommunicate request_size=4 [00:03:08]MH_SAM_APDU [00:03:08]CAPDU: 80 17 00 00 [00:03:08]Write to MH i2c: E2 08 00 43 0B 80 17 00 00 00 00 00 00 CE [00:03:08]Write i2c OK [00:03:08]MH_I2C_Read... [00:03:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:03:08]Read from MH i2c: E2 [00:03:08]MH_I2C_Read... [00:03:08]Read from MH i2c: E2 FD 00 [00:03:08]MH_I2C_Read... [00:03:08]Read from MH i2c: E2 FD 00 43 0B 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 F0 [00:03:08]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [00:03:08]wFMCommunicate OK [00:03:08]wFMCommunicate request_size=4 [00:03:08]MH_SAM_APDU [00:03:08]CAPDU: 80 17 00 00 [00:03:08]Write to MH i2c: E2 08 00 44 0B 80 17 00 00 00 00 00 00 CF [00:03:08]Write i2c OK [00:03:08]MH_I2C_Read... [00:03:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:03:09]Read from MH i2c: E2 [00:03:09]MH_I2C_Read... [00:03:09]Read from MH i2c: E2 FD 00 [00:03:09]MH_I2C_Read... [00:03:09]Read from MH i2c: E2 FD 00 44 0B 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 86 [00:03:09]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [00:03:09]wFMCommunicate OK [00:03:09]wFMCommunicate request_size=4 [00:03:09]MH_SAM_APDU [00:03:09]CAPDU: 80 17 00 00 [00:03:09]Write to MH i2c: E2 08 00 45 0B 80 17 00 00 00 00 00 00 D0 [00:03:09]Write i2c OK [00:03:09]MH_I2C_Read... [00:03:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:03:09]Read from MH i2c: E2 [00:03:09]MH_I2C_Read... [00:03:09]Read from MH i2c: E2 FD 00 [00:03:09]MH_I2C_Read... [00:03:09]Read from MH i2c: E2 FD 00 45 0B 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 42 [00:03:09]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [00:03:09]wFMCommunicate OK [00:03:09]wFMCommunicate request_size=4 [00:03:09]MH_SAM_APDU [00:03:09]CAPDU: 80 17 00 00 [00:03:09]Write to MH i2c: E2 08 00 46 0B 80 17 00 00 00 00 00 00 D1 [00:03:09]Write i2c OK [00:03:09]MH_I2C_Read... [00:03:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:03:09]Read from MH i2c: E2 [00:03:09]MH_I2C_Read... [00:03:09]Read from MH i2c: E2 CB 00 [00:03:09]MH_I2C_Read... [00:03:09]Read from MH i2c: E2 CB 00 46 0B 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 BA [00:03:09]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:03:09]wFMCommunicate OK [00:03:09]SAM_PROTO_GetShiftData done [00:03:09]requested_item shift.sale.total_cash is exist - process it [00:03:09]requested_item shift.sale_refund.total is exist - process it [00:03:09]requested_item shift.sale_refund.total_cash is exist - process it [00:03:09]requested_item shift.buy.total is exist - process it [00:03:09]requested_item shift.buy.total_cash is exist - process it [00:03:09]produce_requested_data done [00:03:09]produce_requested_data return {"fm.sale.total":9072982.26,"fm.sale_refund.total":87228.00,"fm.buy.total":0.00,"shift.sale.total":32644.00,"shift.sale.total_cash":22254.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:03:09]process_action_free get_value [00:03:09]json_value_free [00:03:09]json_value_free done [00:03:09]process_json_proto returns [00:03:09]Send response to host [00:03:09]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":9072982.26,"fm.sale_refund.total":87228.00,"fm.buy.total":0.00,"shift.sale.total":32644.00,"shift.sale.total_cash":22254.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:03:09]free response buf [00:03:09]execute_script done [00:03:09]execute_script returns [00:03:09]free content buf [00:03:09]Sock 7.Close socket [00:03:09]Sock 7.Thread stoped [00:03:09]accept exits with 9 [00:03:09]New connection [00:03:09]New thread 3066555748 created [00:03:09]Thread 3066699108 joined [00:03:09]Waiting for new connection... [00:03:09] Sock 9.Parse request [00:03:09]Sock 9.Check first char [00:03:09]Sock 9.First char is OK [00:03:09]request: POST /json_proto HTTP/1.0 [00:03:09]Method: POST [00:03:09]URL: /json_proto [00:03:09]Method is POST - this is cgi request [00:03:09]url: /json_proto [00:03:09]query_string will be loaded in cgi processing [00:03:09]execute_cgi json_proto POST (null) [00:03:09]execute_cgi path=json_proto method=POST [00:03:09]POST find Content-Length [00:03:09]Host: 172.17.36.199:8080 [00:03:09]Content-Length: 331 [00:03:09]Content-Type: application/json [00:03:09] [00:03:09]POST finish read [00:03:09]Found Content-Length = 331 [00:03:09]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:03:09]execute_script... [00:03:09]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:03:09]POST & json_proto [00:03:09]process_json_proto [00:03:09]json parsed OK: [00:03:09]protocol is kg_v1.0 [00:03:09]action value=get_value [00:03:09]process_action get_value [00:03:09]cmd_get_value [00:03:09]process_action get_value done [00:03:09]requested_data is exist [00:03:09]produce_requested_data [00:03:09]requested_item fm.sale.total is exist - process it [00:03:09]SAM_PROTO_GetFMData [00:03:09]wFMCommunicate request_size=4 [00:03:09]MH_SAM_APDU [00:03:09]CAPDU: 80 13 03 00 [00:03:09]Write to MH i2c: E2 08 00 47 0B 80 13 03 00 00 00 00 00 D1 [00:03:09]Write i2c OK [00:03:09]MH_I2C_Read... [00:03:10]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:03:10]Read from MH i2c: E2 [00:03:10]MH_I2C_Read... [00:03:10]Read from MH i2c: E2 FD 00 [00:03:10]MH_I2C_Read... [00:03:10]Read from MH i2c: E2 FD 00 47 0B 00 C2 04 85 04 BE 04 6E 04 04 00 DA 98 00 00 69 04 A0 00 6F 04 04 00 A7 98 00 00 B1 04 04 00 B2 45 14 36 70 04 04 00 5C DA 0C 2B 72 04 04 00 56 6B 07 0B 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 1C BE 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 C9 6E 7A EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9C 00 6F 04 04 00 33 00 00 00 B1 04 03 00 70 19 85 70 04 03 00 F4 09 84 72 04 03 00 7C 0F 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 AF 22 0E EF 03 09 00 F6 03 90 00 2F [00:03:10]RAPDU: C2 04 85 04 BE 04 6E 04 04 00 DA 98 00 00 69 04 A0 00 6F 04 04 00 A7 98 00 00 B1 04 04 00 B2 45 14 36 70 04 04 00 5C DA 0C 2B 72 04 04 00 56 6B 07 0B 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 1C BE 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 C9 6E 7A EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9C 00 6F 04 04 00 33 00 00 00 B1 04 03 00 70 19 85 70 04 03 00 F4 09 84 72 04 03 00 7C 0F 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 AF 22 0E EF 03 09 00 F6 03 90 00 [00:03:10]wFMCommunicate OK [00:03:10]wFMCommunicate request_size=4 [00:03:10]MH_SAM_APDU [00:03:10]CAPDU: 80 17 00 00 [00:03:10]Write to MH i2c: E2 08 00 48 0B 80 17 00 00 00 00 00 00 D3 [00:03:10]Write i2c OK [00:03:10]MH_I2C_Read... [00:03:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:03:10]Read from MH i2c: E2 [00:03:10]MH_I2C_Read... [00:03:10]Read from MH i2c: E2 FD 00 [00:03:10]MH_I2C_Read... [00:03:10]Read from MH i2c: E2 FD 00 48 0B 00 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 8B 2D 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 90 00 B9 [00:03:10]RAPDU: 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 8B 2D 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 90 00 [00:03:10]wFMCommunicate OK [00:03:10]wFMCommunicate request_size=4 [00:03:10]MH_SAM_APDU [00:03:10]CAPDU: 80 17 00 00 [00:03:10]Write to MH i2c: E2 08 00 49 0B 80 17 00 00 00 00 00 00 D4 [00:03:10]Write i2c OK [00:03:10]MH_I2C_Read... [00:03:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:03:10]Read from MH i2c: E2 [00:03:10]MH_I2C_Read... [00:03:10]Read from MH i2c: E2 FD 00 [00:03:10]MH_I2C_Read... [00:03:10]Read from MH i2c: E2 FD 00 49 0B 00 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 82 [00:03:10]RAPDU: 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:03:11]wFMCommunicate OK [00:03:11]wFMCommunicate request_size=4 [00:03:11]MH_SAM_APDU [00:03:11]CAPDU: 80 17 00 00 [00:03:11]Write to MH i2c: E2 08 00 4A 0B 80 17 00 00 00 00 00 00 D5 [00:03:11]Write i2c OK [00:03:11]MH_I2C_Read... [00:03:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:03:11]Read from MH i2c: E2 [00:03:11]MH_I2C_Read... [00:03:11]Read from MH i2c: E2 FD 00 [00:03:11]MH_I2C_Read... [00:03:11]Read from MH i2c: E2 FD 00 4A 0B 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 50 [00:03:11]RAPDU: F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:03:11]wFMCommunicate OK [00:03:11]wFMCommunicate request_size=4 [00:03:11]MH_SAM_APDU [00:03:11]CAPDU: 80 17 00 00 [00:03:11]Write to MH i2c: E2 08 00 4B 0B 80 17 00 00 00 00 00 00 D6 [00:03:11]Write i2c OK [00:03:11]MH_I2C_Read... [00:03:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 220! [00:03:11]Read from MH i2c: E2 [00:03:11]MH_I2C_Read... [00:03:11]Read from MH i2c: E2 DF 00 [00:03:11]MH_I2C_Read... [00:03:11]Read from MH i2c: E2 DF 00 4B 0B 00 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 B6 [00:03:11]RAPDU: 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:03:11]wFMCommunicate OK [00:03:11]SAM_PROTO_GetFMData done [00:03:11]requested_item fm.sale_refund.total is exist - process it [00:03:11]requested_item fm.buy.total is exist - process it [00:03:11]requested_item shift.sale.total is exist - process it [00:03:11]SAM_PROTO_GetShiftData [00:03:11]wFMCommunicate request_size=4 [00:03:11]MH_SAM_APDU [00:03:11]CAPDU: 80 13 02 00 [00:03:11]Write to MH i2c: E2 08 00 4C 0B 80 13 02 00 00 00 00 00 D5 [00:03:11]Write i2c OK [00:03:11]MH_I2C_Read... [00:03:12]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:03:12]Read from MH i2c: E2 [00:03:12]MH_I2C_Read... [00:03:12]Read from MH i2c: E2 FD 00 [00:03:12]MH_I2C_Read... [00:03:12]Read from MH i2c: E2 FD 00 4C 0B 00 AE 04 AA 04 AA 04 6E 04 04 00 8A 00 00 00 69 04 9B 00 6F 04 04 00 8A 00 00 00 B1 04 03 00 90 CF 31 70 04 03 00 F8 F4 21 72 04 03 00 98 DA 0F 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 1C 4A 05 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 C7 70 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 6A [00:03:12]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 8A 00 00 00 69 04 9B 00 6F 04 04 00 8A 00 00 00 B1 04 03 00 90 CF 31 70 04 03 00 F8 F4 21 72 04 03 00 98 DA 0F 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 1C 4A 05 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 C7 70 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [00:03:12]wFMCommunicate OK [00:03:12]wFMCommunicate request_size=4 [00:03:12]MH_SAM_APDU [00:03:12]CAPDU: 80 17 00 00 [00:03:12]Write to MH i2c: E2 08 00 4D 0B 80 17 00 00 00 00 00 00 D8 [00:03:12]Write i2c OK [00:03:12]MH_I2C_Read... [00:03:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:03:12]Read from MH i2c: E2 [00:03:12]MH_I2C_Read... [00:03:12]Read from MH i2c: E2 FD 00 [00:03:12]MH_I2C_Read... [00:03:12]Read from MH i2c: E2 FD 00 4D 0B 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 FA [00:03:12]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [00:03:12]wFMCommunicate OK [00:03:12]wFMCommunicate request_size=4 [00:03:12]MH_SAM_APDU [00:03:12]CAPDU: 80 17 00 00 [00:03:12]Write to MH i2c: E2 08 00 4E 0B 80 17 00 00 00 00 00 00 D9 [00:03:12]OFD Sender: No OFD packet to send [00:03:12]Write i2c OK [00:03:12]MH_I2C_Read... [00:03:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:03:13]Read from MH i2c: E2 [00:03:13]MH_I2C_Read... [00:03:13]Read from MH i2c: E2 FD 00 [00:03:13]MH_I2C_Read... [00:03:13]Read from MH i2c: E2 FD 00 4E 0B 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 90 [00:03:13]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [00:03:13]wFMCommunicate OK [00:03:13]wFMCommunicate request_size=4 [00:03:13]MH_SAM_APDU [00:03:13]CAPDU: 80 17 00 00 [00:03:13]Write to MH i2c: E2 08 00 4F 0B 80 17 00 00 00 00 00 00 DA [00:03:13]Write i2c OK [00:03:13]MH_I2C_Read... [00:03:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:03:13]Read from MH i2c: E2 [00:03:13]MH_I2C_Read... [00:03:13]Read from MH i2c: E2 FD 00 [00:03:13]MH_I2C_Read... [00:03:13]Read from MH i2c: E2 FD 00 4F 0B 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 4C [00:03:13]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [00:03:13]wFMCommunicate OK [00:03:13]wFMCommunicate request_size=4 [00:03:13]MH_SAM_APDU [00:03:13]CAPDU: 80 17 00 00 [00:03:13]Write to MH i2c: E2 08 00 50 0B 80 17 00 00 00 00 00 00 DB [00:03:13]Write i2c OK [00:03:13]MH_I2C_Read... [00:03:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:03:13]Read from MH i2c: E2 [00:03:13]MH_I2C_Read... [00:03:13]Read from MH i2c: E2 CB 00 [00:03:13]MH_I2C_Read... [00:03:13]Read from MH i2c: E2 CB 00 50 0B 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 C4 [00:03:13]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:03:13]wFMCommunicate OK [00:03:13]SAM_PROTO_GetShiftData done [00:03:13]requested_item shift.sale.total_cash is exist - process it [00:03:13]requested_item shift.sale_refund.total is exist - process it [00:03:13]requested_item shift.sale_refund.total_cash is exist - process it [00:03:13]requested_item shift.buy.total is exist - process it [00:03:13]requested_item shift.buy.total_cash is exist - process it [00:03:13]produce_requested_data done [00:03:13]produce_requested_data return {"fm.sale.total":9072982.26,"fm.sale_refund.total":87228.00,"fm.buy.total":0.00,"shift.sale.total":32644.00,"shift.sale.total_cash":22254.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:03:13]process_action_free get_value [00:03:13]json_value_free [00:03:13]json_value_free done [00:03:13]process_json_proto returns [00:03:13]Send response to host [00:03:13]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":9072982.26,"fm.sale_refund.total":87228.00,"fm.buy.total":0.00,"shift.sale.total":32644.00,"shift.sale.total_cash":22254.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:03:13]free response buf [00:03:13]execute_script done [00:03:13]execute_script returns [00:03:13]free content buf [00:03:13]Sock 9.Close socket [00:03:13]Sock 9.Thread stoped [00:03:13]accept exits with 7 [00:03:13]New connection [00:03:13]New thread 3066699108 created [00:03:13]Thread 3066555748 joined [00:03:13]Waiting for new connection... [00:03:13] Sock 7.Parse request [00:03:13]Sock 7.Check first char [00:03:13]Sock 7.First char is OK [00:03:13]request: POST /json_proto HTTP/1.0 [00:03:13]Method: POST [00:03:13]URL: /json_proto [00:03:13]Method is POST - this is cgi request [00:03:13]url: /json_proto [00:03:13]query_string will be loaded in cgi processing [00:03:13]execute_cgi json_proto POST (null) [00:03:13]execute_cgi path=json_proto method=POST [00:03:13]POST find Content-Length [00:03:13]Host: 172.17.36.199:8080 [00:03:13]Content-Length: 249 [00:03:13]Content-Type: application/json [00:03:13] [00:03:13]POST finish read [00:03:13]Found Content-Length = 249 [00:03:13]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u0428\u0430\u0440\u0448\u0435\u0435\u0432 \u0410" } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:03:13]execute_script... [00:03:13]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u0428\u0430\u0440\u0448\u0435\u0435\u0432 \u0410" } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:03:13]POST & json_proto [00:03:13]process_json_proto [00:03:13]json parsed OK: [00:03:13]protocol is kg_v1.0 [00:03:13]action value=x_report [00:03:13]process_action x_report [00:03:13]cmd_x_report [00:03:13]MH_GetDate [00:03:13]Write to MH i2c: F0 00 00 51 0B 4B [00:03:13]Write i2c OK [00:03:13]MH_I2C_Read... [00:03:13]Read from MH i2c: F0 [00:03:13]MH_I2C_Read... [00:03:13]Read from MH i2c: F0 09 00 [00:03:13]MH_I2C_Read... [00:03:13]Read from MH i2c: F0 09 00 51 0B 00 43 08 5D 66 91 46 04 65 A2 [00:03:13]GetLastDocTimeStamp 1717372580 [00:03:13]current date 1717372995 [00:03:13]FM_GetShiftState [00:03:13]SAM_PROTO_GetShiftState [00:03:13]wFMCommunicate request_size=4 [00:03:13]MH_SAM_APDU [00:03:13]CAPDU: 80 13 01 00 [00:03:13]Write to MH i2c: E2 08 00 52 0B 80 13 01 00 00 00 00 00 DA [00:03:13]Write i2c OK [00:03:13]MH_I2C_Read... [00:03:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:03:13]Read from MH i2c: E2 [00:03:13]MH_I2C_Read... [00:03:13]Read from MH i2c: E2 0E 00 [00:03:13]MH_I2C_Read... [00:03:13]Read from MH i2c: E2 0E 00 52 0B 00 09 00 01 54 BB 5B 66 00 00 00 00 90 00 B6 [00:03:13]RAPDU: 09 00 01 54 BB 5B 66 00 00 00 00 90 00 [00:03:13]wFMCommunicate OK [00:03:13]SAM_PROTO_GetShiftState done [00:03:13]FM_GetShiftState done [00:03:13]KKMCreateXReportDocument [00:03:13]Load OK [00:03:13]Malloc new data [00:03:13]MH_GetDate [00:03:13]Write to MH i2c: F0 00 00 53 0B 4D [00:03:13]Write i2c OK [00:03:13]MH_I2C_Read... [00:03:13]Read from MH i2c: F0 [00:03:13]MH_I2C_Read... [00:03:13]Read from MH i2c: F0 09 00 [00:03:13]MH_I2C_Read... [00:03:13]Read from MH i2c: F0 09 00 53 0B 00 43 08 5D 66 91 46 04 65 A4 [00:03:13]Malloc new data [00:03:13]Malloc new data [00:03:13]wFMCommunicate request_size=4 [00:03:13]MH_SAM_APDU [00:03:13]CAPDU: 80 11 00 00 [00:03:13]Write to MH i2c: E2 08 00 54 0B 80 11 00 00 00 00 00 00 D9 [00:03:13]Write i2c OK [00:03:13]MH_I2C_Read... [00:03:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:03:14]Read from MH i2c: E2 [00:03:14]MH_I2C_Read... [00:03:14]Read from MH i2c: E2 17 00 [00:03:14]MH_I2C_Read... [00:03:14]Read from MH i2c: E2 17 00 54 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 90 00 31 [00:03:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 90 00 [00:03:14]wFMCommunicate OK [00:03:14]SAM_PROTO_GetFieldsCounters [00:03:14]wFMCommunicate request_size=4 [00:03:14]MH_SAM_APDU [00:03:14]CAPDU: 80 13 00 00 [00:03:14]Write to MH i2c: E2 08 00 55 0B 80 13 00 00 00 00 00 00 DC [00:03:14]Write i2c OK [00:03:14]MH_I2C_Read... [00:03:14]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:03:14]Read from MH i2c: E2 [00:03:14]MH_I2C_Read... [00:03:14]Read from MH i2c: E2 62 00 [00:03:14]MH_I2C_Read... [00:03:14]Read from MH i2c: E2 62 00 55 0B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 10 04 04 00 C8 9B 00 00 0E 04 04 00 77 01 00 00 12 04 04 00 8A 00 00 00 5E 04 04 00 8A 00 00 00 57 04 04 00 8B 00 00 00 19 04 04 00 00 00 00 00 90 00 7B [00:03: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 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 10 04 04 00 C8 9B 00 00 0E 04 04 00 77 01 00 00 12 04 04 00 8A 00 00 00 5E 04 04 00 8A 00 00 00 57 04 04 00 8B 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:03:14]wFMCommunicate OK [00:03:14]SAM_PROTO_GetFieldsCounters done [00:03:14]Malloc new data [00:03:14]Malloc new data [00:03:14]Malloc new data [00:03:14]KKMCreateXReportDocument OK [00:03:14]KKMSetXReportData OK [00:03:14]KKMPrepareXReportFMData [00:03:14]SAM_PROTO_GetShiftData [00:03:14]wFMCommunicate request_size=4 [00:03:14]MH_SAM_APDU [00:03:14]CAPDU: 80 13 02 00 [00:03:14]Write to MH i2c: E2 08 00 56 0B 80 13 02 00 00 00 00 00 DF [00:03:14]Write i2c OK [00:03:14]MH_I2C_Read... [00:03:14]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:03:14]Read from MH i2c: E2 [00:03:14]MH_I2C_Read... [00:03:14]Read from MH i2c: E2 FD 00 [00:03:14]MH_I2C_Read... [00:03:14]Read from MH i2c: E2 FD 00 56 0B 00 AE 04 AA 04 AA 04 6E 04 04 00 8A 00 00 00 69 04 9B 00 6F 04 04 00 8A 00 00 00 B1 04 03 00 90 CF 31 70 04 03 00 F8 F4 21 72 04 03 00 98 DA 0F 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 1C 4A 05 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 C7 70 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 74 [00:03:14]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 8A 00 00 00 69 04 9B 00 6F 04 04 00 8A 00 00 00 B1 04 03 00 90 CF 31 70 04 03 00 F8 F4 21 72 04 03 00 98 DA 0F 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 1C 4A 05 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 C7 70 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [00:03:14]wFMCommunicate OK [00:03:14]wFMCommunicate request_size=4 [00:03:14]MH_SAM_APDU [00:03:14]CAPDU: 80 17 00 00 [00:03:14]Write to MH i2c: E2 08 00 57 0B 80 17 00 00 00 00 00 00 E2 [00:03:14]Write i2c OK [00:03:14]MH_I2C_Read... [00:03:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:03:15]Read from MH i2c: E2 [00:03:15]MH_I2C_Read... [00:03:15]Read from MH i2c: E2 FD 00 [00:03:15]MH_I2C_Read... [00:03:15]Read from MH i2c: E2 FD 00 57 0B 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 04 [00:03:15]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [00:03:15]wFMCommunicate OK [00:03:15]wFMCommunicate request_size=4 [00:03:15]MH_SAM_APDU [00:03:15]CAPDU: 80 17 00 00 [00:03:15]Write to MH i2c: E2 08 00 58 0B 80 17 00 00 00 00 00 00 E3 [00:03:15]Write i2c OK [00:03:15]MH_I2C_Read... [00:03:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:03:15]Read from MH i2c: E2 [00:03:15]MH_I2C_Read... [00:03:15]Read from MH i2c: E2 FD 00 [00:03:15]MH_I2C_Read... [00:03:15]Read from MH i2c: E2 FD 00 58 0B 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 9A [00:03:15]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [00:03:15]wFMCommunicate OK [00:03:15]wFMCommunicate request_size=4 [00:03:15]MH_SAM_APDU [00:03:15]CAPDU: 80 17 00 00 [00:03:15]Write to MH i2c: E2 08 00 59 0B 80 17 00 00 00 00 00 00 E4 [00:03:15]Write i2c OK [00:03:15]MH_I2C_Read... [00:03:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:03:16]Read from MH i2c: E2 [00:03:16]MH_I2C_Read... [00:03:16]Read from MH i2c: E2 FD 00 [00:03:16]MH_I2C_Read... [00:03:16]Read from MH i2c: E2 FD 00 59 0B 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 56 [00:03:16]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [00:03:16]wFMCommunicate OK [00:03:16]wFMCommunicate request_size=4 [00:03:16]MH_SAM_APDU [00:03:16]CAPDU: 80 17 00 00 [00:03:16]Write to MH i2c: E2 08 00 5A 0B 80 17 00 00 00 00 00 00 E5 [00:03:16]Write i2c OK [00:03:16]MH_I2C_Read... [00:03:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:03:16]Read from MH i2c: E2 [00:03:16]MH_I2C_Read... [00:03:16]Read from MH i2c: E2 CB 00 [00:03:16]MH_I2C_Read... [00:03:16]Read from MH i2c: E2 CB 00 5A 0B 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 CE [00:03:16]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:03:16]wFMCommunicate OK [00:03:16]SAM_PROTO_GetShiftData done [00:03:16]1194 (1194) - счетчики итогов смены [00:03:16] 1134 (4) - 138 - количество чеков со всеми признаками расчетов [00:03:16] 1129 (155) - счетчики операций «приход» [00:03:16] 1135 (4) - 138 - количество чеков по признаку расчетов [00:03:16] 1201 (3) - 32644.00 - общая итоговая сумма в чеках [00:03:16] 1136 (3) - 22254.00 - итоговая сумма в чеках наличными [00:03:16] 1138 (3) - 10390.00 - итоговая сумма в чеках безналичными [00:03:16] 1024 (122) - суммы налогов [00:03:16] 1006 (9) - суммы НДС [00:03:16] 1010 (1) - 0% - код ставки НДС [00:03:16] 1011 (0) - 0.00 - сумма НДС по ставке [00:03:16] 1006 (12) - суммы НДС [00:03:16] 1010 (1) - 12% - код ставки НДС [00:03:16] 1011 (3) - 3466.52 - сумма НДС по ставке [00:03:16] 1007 (9) - суммы НСП [00:03:16] 1014 (1) - 0% - код ставки НСП [00:03:16] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:16] 1007 (11) - суммы НСП [00:03:16] 1014 (1) - 1% - код ставки НСП [00:03:16] 1015 (2) - 288.71 - сумма НСП по ставке [00:03:16] 1007 (9) - суммы НСП [00:03:16] 1014 (1) - 2% - код ставки НСП [00:03:16] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:16] 1007 (9) - суммы НСП [00:03:16] 1014 (1) - 3% - код ставки НСП [00:03:16] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:16] 1007 (9) - суммы НСП [00:03:16] 1014 (1) - 5% - код ставки НСП [00:03:16] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:16] 1007 (9) - суммы НСП [00:03:16] 1014 (1) - 0,50% - код ставки НСП [00:03:16] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:16] 1007 (9) - суммы НСП [00:03:16] 1014 (1) - 1,50% - код ставки НСП [00:03:16] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:16] 1130 (141) - счетчики операций «возврат прихода» [00:03:16] 1135 (4) - 0 - количество чеков по признаку расчетов [00:03:16] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:03:16] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:03:16] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:03:16] 1024 (117) - суммы налогов [00:03:16] 1006 (9) - суммы НДС [00:03:16] 1010 (1) - 0% - код ставки НДС [00:03:16] 1011 (0) - 0.00 - сумма НДС по ставке [00:03:16] 1006 (9) - суммы НДС [00:03:16] 1010 (1) - 12% - код ставки НДС [00:03:16] 1011 (0) - 0.00 - сумма НДС по ставке [00:03:16] 1007 (9) - суммы НСП [00:03:16] 1014 (1) - 0% - код ставки НСП [00:03:16] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:16] 1007 (9) - суммы НСП [00:03:16] 1014 (1) - 1% - код ставки НСП [00:03:16] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:16] 1007 (9) - суммы НСП [00:03:16] 1014 (1) - 2% - код ставки НСП [00:03:16] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:16] 1007 (9) - суммы НСП [00:03:16] 1014 (1) - 3% - код ставки НСП [00:03:16] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:16] 1007 (9) - суммы НСП [00:03:16] 1014 (1) - 5% - код ставки НСП [00:03:16] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:16] 1007 (9) - суммы НСП [00:03:16] 1014 (1) - 0,50% - код ставки НСП [00:03:16] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:16] 1007 (9) - суммы НСП [00:03:16] 1014 (1) - 1,50% - код ставки НСП [00:03:16] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:16] 1131 (141) - счетчики операций «расход» [00:03:16] 1135 (4) - 0 - количество чеков по признаку расчетов [00:03:16] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:03:16] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:03:16] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:03:16] 1024 (117) - суммы налогов [00:03:16] 1006 (9) - суммы НДС [00:03:16] 1010 (1) - 0% - код ставки НДС [00:03:16] 1011 (0) - 0.00 - сумма НДС по ставке [00:03:16] 1006 (9) - суммы НДС [00:03:16] 1010 (1) - 12% - код ставки НДС [00:03:16] 1011 (0) - 0.00 - сумма НДС по ставке [00:03:16] 1007 (9) - суммы НСП [00:03:16] 1014 (1) - 0% - код ставки НСП [00:03:16] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:16] 1007 (9) - суммы НСП [00:03:16] 1014 (1) - 1% - код ставки НСП [00:03:16] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:16] 1007 (9) - суммы НСП [00:03:16] 1014 (1) - 2% - код ставки НСП [00:03:16] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:16] 1007 (9) - суммы НСП [00:03:16] 1014 (1) - 3% - код ставки НСП [00:03:16] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:16] 1007 (9) - суммы НСП [00:03:16] 1014 (1) - 5% - код ставки НСП [00:03:16] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:16] 1007 (9) - суммы НСП [00:03:16] 1014 (1) - 0,50% - код ставки НСП [00:03:16] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:16] 1007 (9) - суммы НСП [00:03:16] 1014 (1) - 1,50% - код ставки НСП [00:03:16] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:16] 1132 (141) - счетчики операций «возврат расхода» [00:03:16] 1135 (4) - 0 - количество чеков по признаку расчетов [00:03:16] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:03:16] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:03:16] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:03:16] 1024 (117) - суммы налогов [00:03:16] 1006 (9) - суммы НДС [00:03:16] 1010 (1) - 0% - код ставки НДС [00:03:16] 1011 (0) - 0.00 - сумма НДС по ставке [00:03:16] 1006 (9) - суммы НДС [00:03:16] 1010 (1) - 12% - код ставки НДС [00:03:16] 1011 (0) - 0.00 - сумма НДС по ставке [00:03:16] 1007 (9) - суммы НСП [00:03:16] 1014 (1) - 0% - код ставки НСП [00:03:16] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:16] 1007 (9) - суммы НСП [00:03:16] 1014 (1) - 1% - код ставки НСП [00:03:16] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:16] 1007 (9) - суммы НСП [00:03:16] 1014 (1) - 2% - код ставки НСП [00:03:16] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:16] 1007 (9) - суммы НСП [00:03:16] 1014 (1) - 3% - код ставки НСП [00:03:16] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:16] 1007 (9) - суммы НСП [00:03:16] 1014 (1) - 5% - код ставки НСП [00:03:16] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:16] 1007 (9) - суммы НСП [00:03:16] 1014 (1) - 0,50% - код ставки НСП [00:03:16] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:16] 1007 (9) - суммы НСП [00:03:16] 1014 (1) - 1,50% - код ставки НСП [00:03:16] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:16] 1133 (588) - - счетчики коррекции - не используются [00:03:16]SetTLVBufToDocument [00:03:16]Processing tag 1194 (04AA) [00:03:16]Load OK [00:03:16]SetTLVBufToDocument [00:03:16]Processing tag 1134 (046E) [00:03:16]Malloc new data [00:03:16]Processing tag 1129 (0469) [00:03:16]Load OK [00:03:16]SetTLVBufToDocument [00:03:16]Processing tag 1135 (046F) [00:03:16]Malloc new data [00:03:16]Processing tag 1201 (04B1) [00:03:16]Malloc new data [00:03:16]Processing tag 1136 (0470) [00:03:16]Malloc new data [00:03:16]Processing tag 1138 (0472) [00:03:16]Malloc new data [00:03:16]Processing tag 1024 (0400) [00:03:16]Load OK [00:03:16]SetTLVBufToDocument [00:03:16]Processing tag 1006 (03EE) [00:03:16]Load OK [00:03:16]SetTLVBufToDocument [00:03:16]Processing tag 1010 (03F2) [00:03:17]Malloc new data [00:03:17]Processing tag 1011 (03F3) [00:03:17]Malloc new data [00:03:17]SetTLVBufToDocument err=0 [00:03:17]Processing tag 1006 (03EE) [00:03:17]Load OK [00:03:17]SetTLVBufToDocument [00:03:17]Processing tag 1010 (03F2) [00:03:17]Malloc new data [00:03:17]Processing tag 1011 (03F3) [00:03:17]Malloc new data [00:03:17]SetTLVBufToDocument err=0 [00:03:17]Processing tag 1007 (03EF) [00:03:17]Load OK [00:03:17]SetTLVBufToDocument [00:03:17]Processing tag 1014 (03F6) [00:03:17]Malloc new data [00:03:17]Processing tag 1015 (03F7) [00:03:17]Malloc new data [00:03:17]SetTLVBufToDocument err=0 [00:03:17]Processing tag 1007 (03EF) [00:03:17]Load OK [00:03:17]SetTLVBufToDocument [00:03:17]Processing tag 1014 (03F6) [00:03:17]Malloc new data [00:03:17]Processing tag 1015 (03F7) [00:03:17]Malloc new data [00:03:17]SetTLVBufToDocument err=0 [00:03:17]Processing tag 1007 (03EF) [00:03:17]Load OK [00:03:17]SetTLVBufToDocument [00:03:17]Processing tag 1014 (03F6) [00:03:17]Malloc new data [00:03:17]Processing tag 1015 (03F7) [00:03:17]Malloc new data [00:03:17]SetTLVBufToDocument err=0 [00:03:17]Processing tag 1007 (03EF) [00:03:17]Load OK [00:03:17]SetTLVBufToDocument [00:03:17]Processing tag 1014 (03F6) [00:03:17]Malloc new data [00:03:17]Processing tag 1015 (03F7) [00:03:17]Malloc new data [00:03:17]SetTLVBufToDocument err=0 [00:03:17]Processing tag 1007 (03EF) [00:03:17]Load OK [00:03:17]SetTLVBufToDocument [00:03:17]Processing tag 1014 (03F6) [00:03:17]Malloc new data [00:03:17]Processing tag 1015 (03F7) [00:03:17]Malloc new data [00:03:17]SetTLVBufToDocument err=0 [00:03:17]Processing tag 1007 (03EF) [00:03:17]Load OK [00:03:17]SetTLVBufToDocument [00:03:17]Processing tag 1014 (03F6) [00:03:17]Malloc new data [00:03:17]Processing tag 1015 (03F7) [00:03:17]Malloc new data [00:03:17]SetTLVBufToDocument err=0 [00:03:17]Processing tag 1007 (03EF) [00:03:17]Load OK [00:03:17]SetTLVBufToDocument [00:03:17]Processing tag 1014 (03F6) [00:03:17]Malloc new data [00:03:17]Processing tag 1015 (03F7) [00:03:17]Malloc new data [00:03:17]SetTLVBufToDocument err=0 [00:03:17]SetTLVBufToDocument err=0 [00:03:17]SetTLVBufToDocument err=0 [00:03:17]Processing tag 1130 (046A) [00:03:17]Load OK [00:03:17]SetTLVBufToDocument [00:03:17]Processing tag 1135 (046F) [00:03:17]Malloc new data [00:03:17]Processing tag 1201 (04B1) [00:03:17]Malloc new data [00:03:17]Processing tag 1136 (0470) [00:03:17]Malloc new data [00:03:17]Processing tag 1138 (0472) [00:03:17]Malloc new data [00:03:17]Processing tag 1024 (0400) [00:03:17]Load OK [00:03:17]SetTLVBufToDocument [00:03:17]Processing tag 1006 (03EE) [00:03:17]Load OK [00:03:17]SetTLVBufToDocument [00:03:17]Processing tag 1010 (03F2) [00:03:17]Malloc new data [00:03:17]Processing tag 1011 (03F3) [00:03:17]Malloc new data [00:03:17]SetTLVBufToDocument err=0 [00:03:17]Processing tag 1006 (03EE) [00:03:17]Load OK [00:03:17]SetTLVBufToDocument [00:03:17]Processing tag 1010 (03F2) [00:03:17]Malloc new data [00:03:17]Processing tag 1011 (03F3) [00:03:17]Malloc new data [00:03:17]SetTLVBufToDocument err=0 [00:03:17]Processing tag 1007 (03EF) [00:03:17]Load OK [00:03:17]SetTLVBufToDocument [00:03:17]Processing tag 1014 (03F6) [00:03:17]Malloc new data [00:03:17]Processing tag 1015 (03F7) [00:03:17]Malloc new data [00:03:17]SetTLVBufToDocument err=0 [00:03:17]Processing tag 1007 (03EF) [00:03:17]Load OK [00:03:17]SetTLVBufToDocument [00:03:17]Processing tag 1014 (03F6) [00:03:17]Malloc new data [00:03:17]Processing tag 1015 (03F7) [00:03:17]Malloc new data [00:03:17]SetTLVBufToDocument err=0 [00:03:17]Processing tag 1007 (03EF) [00:03:17]Load OK [00:03:17]SetTLVBufToDocument [00:03:17]Processing tag 1014 (03F6) [00:03:17]Malloc new data [00:03:17]Processing tag 1015 (03F7) [00:03:17]Malloc new data [00:03:17]SetTLVBufToDocument err=0 [00:03:17]Processing tag 1007 (03EF) [00:03:17]Load OK [00:03:17]SetTLVBufToDocument [00:03:17]Processing tag 1014 (03F6) [00:03:17]Malloc new data [00:03:17]Processing tag 1015 (03F7) [00:03:17]Malloc new data [00:03:17]SetTLVBufToDocument err=0 [00:03:17]Processing tag 1007 (03EF) [00:03:17]Load OK [00:03:17]SetTLVBufToDocument [00:03:17]Processing tag 1014 (03F6) [00:03:17]Malloc new data [00:03:17]Processing tag 1015 (03F7) [00:03:17]Malloc new data [00:03:17]SetTLVBufToDocument err=0 [00:03:17]Processing tag 1007 (03EF) [00:03:17]Load OK [00:03:17]SetTLVBufToDocument [00:03:17]Processing tag 1014 (03F6) [00:03:17]Malloc new data [00:03:17]Processing tag 1015 (03F7) [00:03:17]Malloc new data [00:03:17]SetTLVBufToDocument err=0 [00:03:17]Processing tag 1007 (03EF) [00:03:17]Load OK [00:03:17]SetTLVBufToDocument [00:03:17]Processing tag 1014 (03F6) [00:03:17]Malloc new data [00:03:17]Processing tag 1015 (03F7) [00:03:17]Malloc new data [00:03:17]SetTLVBufToDocument err=0 [00:03:17]SetTLVBufToDocument err=0 [00:03:17]SetTLVBufToDocument err=0 [00:03:17]Processing tag 1131 (046B) [00:03:17]Load OK [00:03:17]SetTLVBufToDocument [00:03:17]Processing tag 1135 (046F) [00:03:17]Malloc new data [00:03:17]Processing tag 1201 (04B1) [00:03:17]Malloc new data [00:03:17]Processing tag 1136 (0470) [00:03:17]Malloc new data [00:03:17]Processing tag 1138 (0472) [00:03:17]Malloc new data [00:03:17]Processing tag 1024 (0400) [00:03:17]Load OK [00:03:17]SetTLVBufToDocument [00:03:17]Processing tag 1006 (03EE) [00:03:17]Load OK [00:03:17]SetTLVBufToDocument [00:03:17]Processing tag 1010 (03F2) [00:03:17]Malloc new data [00:03:17]Processing tag 1011 (03F3) [00:03:17]Malloc new data [00:03:17]SetTLVBufToDocument err=0 [00:03:17]Processing tag 1006 (03EE) [00:03:17]Load OK [00:03:17]SetTLVBufToDocument [00:03:17]Processing tag 1010 (03F2) [00:03:17]Malloc new data [00:03:17]Processing tag 1011 (03F3) [00:03:17]Malloc new data [00:03:17]SetTLVBufToDocument err=0 [00:03:17]Processing tag 1007 (03EF) [00:03:17]Load OK [00:03:17]SetTLVBufToDocument [00:03:17]Processing tag 1014 (03F6) [00:03:17]Malloc new data [00:03:17]Processing tag 1015 (03F7) [00:03:17]Malloc new data [00:03:17]SetTLVBufToDocument err=0 [00:03:17]Processing tag 1007 (03EF) [00:03:17]Load OK [00:03:17]SetTLVBufToDocument [00:03:17]Processing tag 1014 (03F6) [00:03:17]Malloc new data [00:03:17]Processing tag 1015 (03F7) [00:03:17]Malloc new data [00:03:17]SetTLVBufToDocument err=0 [00:03:17]Processing tag 1007 (03EF) [00:03:17]Load OK [00:03:17]SetTLVBufToDocument [00:03:17]Processing tag 1014 (03F6) [00:03:17]Malloc new data [00:03:17]Processing tag 1015 (03F7) [00:03:17]Malloc new data [00:03:17]SetTLVBufToDocument err=0 [00:03:17]Processing tag 1007 (03EF) [00:03:17]Load OK [00:03:17]SetTLVBufToDocument [00:03:17]Processing tag 1014 (03F6) [00:03:17]Malloc new data [00:03:17]Processing tag 1015 (03F7) [00:03:17]Malloc new data [00:03:17]SetTLVBufToDocument err=0 [00:03:17]Processing tag 1007 (03EF) [00:03:17]Load OK [00:03:17]SetTLVBufToDocument [00:03:17]Processing tag 1014 (03F6) [00:03:17]Malloc new data [00:03:17]Processing tag 1015 (03F7) [00:03:17]Malloc new data [00:03:17]SetTLVBufToDocument err=0 [00:03:17]Processing tag 1007 (03EF) [00:03:17]Load OK [00:03:17]SetTLVBufToDocument [00:03:17]Processing tag 1014 (03F6) [00:03:17]Malloc new data [00:03:17]Processing tag 1015 (03F7) [00:03:17]Malloc new data [00:03:17]SetTLVBufToDocument err=0 [00:03:17]Processing tag 1007 (03EF) [00:03:17]Load OK [00:03:17]SetTLVBufToDocument [00:03:17]Processing tag 1014 (03F6) [00:03:17]Malloc new data [00:03:17]Processing tag 1015 (03F7) [00:03:17]Malloc new data [00:03:17]SetTLVBufToDocument err=0 [00:03:17]SetTLVBufToDocument err=0 [00:03:17]SetTLVBufToDocument err=0 [00:03:17]Processing tag 1132 (046C) [00:03:17]Load OK [00:03:17]SetTLVBufToDocument [00:03:17]Processing tag 1135 (046F) [00:03:17]Malloc new data [00:03:17]Processing tag 1201 (04B1) [00:03:17]Malloc new data [00:03:17]Processing tag 1136 (0470) [00:03:17]Malloc new data [00:03:17]Processing tag 1138 (0472) [00:03:17]Malloc new data [00:03:17]Processing tag 1024 (0400) [00:03:17]Load OK [00:03:17]SetTLVBufToDocument [00:03:17]Processing tag 1006 (03EE) [00:03:17]Load OK [00:03:17]SetTLVBufToDocument [00:03:17]Processing tag 1010 (03F2) [00:03:17]Malloc new data [00:03:17]Processing tag 1011 (03F3) [00:03:17]Malloc new data [00:03:17]SetTLVBufToDocument err=0 [00:03:17]Processing tag 1006 (03EE) [00:03:17]Load OK [00:03:17]SetTLVBufToDocument [00:03:17]Processing tag 1010 (03F2) [00:03:17]Malloc new data [00:03:17]Processing tag 1011 (03F3) [00:03:17]Malloc new data [00:03:17]SetTLVBufToDocument err=0 [00:03:17]Processing tag 1007 (03EF) [00:03:17]Load OK [00:03:17]SetTLVBufToDocument [00:03:17]Processing tag 1014 (03F6) [00:03:17]Malloc new data [00:03:17]Processing tag 1015 (03F7) [00:03:17]Malloc new data [00:03:17]SetTLVBufToDocument err=0 [00:03:17]Processing tag 1007 (03EF) [00:03:17]Load OK [00:03:17]SetTLVBufToDocument [00:03:17]Processing tag 1014 (03F6) [00:03:17]Malloc new data [00:03:17]Processing tag 1015 (03F7) [00:03:17]Malloc new data [00:03:17]SetTLVBufToDocument err=0 [00:03:17]Processing tag 1007 (03EF) [00:03:17]Load OK [00:03:17]SetTLVBufToDocument [00:03:17]Processing tag 1014 (03F6) [00:03:17]Malloc new data [00:03:17]Processing tag 1015 (03F7) [00:03:17]Malloc new data [00:03:17]SetTLVBufToDocument err=0 [00:03:17]Processing tag 1007 (03EF) [00:03:17]Load OK [00:03:17]SetTLVBufToDocument [00:03:17]Processing tag 1014 (03F6) [00:03:17]Malloc new data [00:03:17]Processing tag 1015 (03F7) [00:03:17]Malloc new data [00:03:17]SetTLVBufToDocument err=0 [00:03:17]Processing tag 1007 (03EF) [00:03:17]Load OK [00:03:17]SetTLVBufToDocument [00:03:17]Processing tag 1014 (03F6) [00:03:17]Malloc new data [00:03:17]Processing tag 1015 (03F7) [00:03:17]Malloc new data [00:03:17]SetTLVBufToDocument err=0 [00:03:17]Processing tag 1007 (03EF) [00:03:17]Load OK [00:03:17]SetTLVBufToDocument [00:03:17]Processing tag 1014 (03F6) [00:03:17]Malloc new data [00:03:17]Processing tag 1015 (03F7) [00:03:17]Malloc new data [00:03:17]SetTLVBufToDocument err=0 [00:03:17]Processing tag 1007 (03EF) [00:03:17]Load OK [00:03:17]SetTLVBufToDocument [00:03:17]Processing tag 1014 (03F6) [00:03:17]Malloc new data [00:03:17]Processing tag 1015 (03F7) [00:03:17]Malloc new data [00:03:17]SetTLVBufToDocument err=0 [00:03:17]SetTLVBufToDocument err=0 [00:03:17]SetTLVBufToDocument err=0 [00:03:17]Processing tag 1133 (046D) [00:03:17]Malloc new data [00:03:17]SetTLVBufToDocument err=0 [00:03:17]SetTLVBufToDocument err=0 [00:03:17]Malloc new data [00:03:17]SAM_PROTO_GetFMData [00:03:17]wFMCommunicate request_size=4 [00:03:17]MH_SAM_APDU [00:03:17]CAPDU: 80 13 03 00 [00:03:17]Write to MH i2c: E2 08 00 5B 0B 80 13 03 00 00 00 00 00 E5 [00:03:17]Write i2c OK [00:03:17]MH_I2C_Read... [00:03:17]OFD Sender: No OFD packet to send [00:03:18]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:03:18]Read from MH i2c: E2 [00:03:18]MH_I2C_Read... [00:03:18]Read from MH i2c: E2 FD 00 [00:03:18]MH_I2C_Read... [00:03:18]Read from MH i2c: E2 FD 00 5B 0B 00 C2 04 85 04 BE 04 6E 04 04 00 DA 98 00 00 69 04 A0 00 6F 04 04 00 A7 98 00 00 B1 04 04 00 B2 45 14 36 70 04 04 00 5C DA 0C 2B 72 04 04 00 56 6B 07 0B 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 1C BE 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 C9 6E 7A EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9C 00 6F 04 04 00 33 00 00 00 B1 04 03 00 70 19 85 70 04 03 00 F4 09 84 72 04 03 00 7C 0F 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 AF 22 0E EF 03 09 00 F6 03 90 00 43 [00:03:18]RAPDU: C2 04 85 04 BE 04 6E 04 04 00 DA 98 00 00 69 04 A0 00 6F 04 04 00 A7 98 00 00 B1 04 04 00 B2 45 14 36 70 04 04 00 5C DA 0C 2B 72 04 04 00 56 6B 07 0B 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 1C BE 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 C9 6E 7A EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9C 00 6F 04 04 00 33 00 00 00 B1 04 03 00 70 19 85 70 04 03 00 F4 09 84 72 04 03 00 7C 0F 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 AF 22 0E EF 03 09 00 F6 03 90 00 [00:03:18]wFMCommunicate OK [00:03:18]wFMCommunicate request_size=4 [00:03:18]MH_SAM_APDU [00:03:18]CAPDU: 80 17 00 00 [00:03:18]Write to MH i2c: E2 08 00 5C 0B 80 17 00 00 00 00 00 00 E7 [00:03:18]Write i2c OK [00:03:18]MH_I2C_Read... [00:03:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:03:18]Read from MH i2c: E2 [00:03:18]MH_I2C_Read... [00:03:18]Read from MH i2c: E2 FD 00 [00:03:18]MH_I2C_Read... [00:03:18]Read from MH i2c: E2 FD 00 5C 0B 00 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 8B 2D 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 90 00 CD [00:03:18]RAPDU: 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 8B 2D 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 90 00 [00:03:18]wFMCommunicate OK [00:03:18]wFMCommunicate request_size=4 [00:03:18]MH_SAM_APDU [00:03:18]CAPDU: 80 17 00 00 [00:03:18]Write to MH i2c: E2 08 00 5D 0B 80 17 00 00 00 00 00 00 E8 [00:03:18]Write i2c OK [00:03:18]MH_I2C_Read... [00:03:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:03:19]Read from MH i2c: E2 [00:03:19]MH_I2C_Read... [00:03:19]Read from MH i2c: E2 FD 00 [00:03:19]MH_I2C_Read... [00:03:19]Read from MH i2c: E2 FD 00 5D 0B 00 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 96 [00:03:19]RAPDU: 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:03:19]wFMCommunicate OK [00:03:19]wFMCommunicate request_size=4 [00:03:19]MH_SAM_APDU [00:03:19]CAPDU: 80 17 00 00 [00:03:19]Write to MH i2c: E2 08 00 5E 0B 80 17 00 00 00 00 00 00 E9 [00:03:19]Write i2c OK [00:03:19]MH_I2C_Read... [00:03:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:03:19]Read from MH i2c: E2 [00:03:19]MH_I2C_Read... [00:03:19]Read from MH i2c: E2 FD 00 [00:03:19]MH_I2C_Read... [00:03:19]Read from MH i2c: E2 FD 00 5E 0B 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 64 [00:03:19]RAPDU: F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:03:19]wFMCommunicate OK [00:03:19]wFMCommunicate request_size=4 [00:03:19]MH_SAM_APDU [00:03:19]CAPDU: 80 17 00 00 [00:03:19]Write to MH i2c: E2 08 00 5F 0B 80 17 00 00 00 00 00 00 EA [00:03:19]Write i2c OK [00:03:19]MH_I2C_Read... [00:03:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 220! [00:03:20]Read from MH i2c: E2 [00:03:20]MH_I2C_Read... [00:03:20]Read from MH i2c: E2 DF 00 [00:03:20]MH_I2C_Read... [00:03:20]Read from MH i2c: E2 DF 00 5F 0B 00 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 CA [00:03:20]RAPDU: 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:03:20]wFMCommunicate OK [00:03:20]SAM_PROTO_GetFMData done [00:03:20]FM_GetFMData:85 04 BE 04 6E 04 04 00 DA 98 00 00 69 04 A0 00 6F 04 04 00 A7 98 00 00 B1 04 04 00 B2 45 14 36 70 04 04 00 5C DA 0C 2B 72 04 04 00 56 6B 07 0B 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 1C BE 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 C9 6E 7A EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9C 00 6F 04 04 00 33 00 00 00 B1 04 03 00 70 19 85 70 04 03 00 F4 09 84 72 04 03 00 7C 0F 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 AF 22 0E 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 8B 2D 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [00:03:21]oper:6F 04 04 00 A7 98 00 00 B1 04 04 00 B2 45 14 36 70 04 04 00 5C DA 0C 2B 72 04 04 00 56 6B 07 0B 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 1C BE 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 C9 6E 7A EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [00:03:21]total:B2 45 14 36 [00:03:21]Malloc new data [00:03:21]oper:6F 04 04 00 33 00 00 00 B1 04 03 00 70 19 85 70 04 03 00 F4 09 84 72 04 03 00 7C 0F 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 AF 22 0E 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 8B 2D 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [00:03:21]total:70 19 85 [00:03:21]Malloc new data [00:03:21]oper:6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [00:03:21]total: [00:03:21]Malloc new data [00:03:21]oper:6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [00:03:21]total: [00:03:21]Malloc new data [00:03:21]KKMPrepareXReportFMData err=0 [00:03:21]Х отчет ИНН: 02508201610067 Кассир: Шаршеев А 03.06.2024 00:03 Смена: 266 РНМ: 0000000000092680 ЗНМ: 0300000037 СНО: Общий режим Всего чеков: 138 ИТОГИ ПРИХОД Чеков: 138 Общий итог: 32644.00 Итого наличными: 22254.00 Итого безнал.: 10390.00 НДС 0% : 0.00 НДС 12% : 3466.52 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 288.71 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 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 Нал. в кассе: 22254.00 НС Приход: 9072982.26 НС Возвр.Прихода: 87228.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФМ: 0000000000874882 [00:03:21]StoreToDocumentArchive [00:03:21]MH_GetDate [00:03:21]Write to MH i2c: F0 00 00 60 0B 5A [00:03:21]Write i2c OK [00:03:21]MH_I2C_Read... [00:03:21]Read from MH i2c: F0 [00:03:21]MH_I2C_Read... [00:03:21]Read from MH i2c: F0 09 00 [00:03:21]MH_I2C_Read... [00:03:21]Read from MH i2c: F0 09 00 60 0B 00 4B 08 5D 66 91 46 04 65 B9 [00:03:21]shift 266 fd 1717373003 [00:03:21]Create dir for shift 0266 [00:03:21]save to /storage/0266/doc_1717373003 [00:03:21]save last doc name /storage/0266/doc_1717373003 to /storage/kkm_last_doc_name [00:03:21]save OK [00:03:21]Clear old archive folders... [00:03:21]NVStorageSaveData kkm_last_timestamp [00:03:21]File name is /storage/kkm_last_timestamp [00:03:21]Write 4 bytes [00:03:21]NVStorageSaveData done [00:03:21]ExternCall_PrintAddStr [00:03:21]wPrintStart [00:03:21]Write to MH i2c: 01 00 00 61 0B 6C [00:03:21]Write i2c OK [00:03:21]MH_I2C_Read... [00:03:21]Read from MH i2c: 01 [00:03:21]MH_I2C_Read... [00:03:21]Read from MH i2c: 01 07 00 [00:03:21]MH_I2C_Read... [00:03:21]Read from MH i2c: 01 07 00 61 0B 00 00 00 00 00 FF 0F 81 [00:03:21]RasterBufferAndPrint [00:03:21]line Х отчет [00:03:21]line ИНН: 02508201610067 [00:03:21]line Кассир: Шаршеев А [00:03:21]line 03.06.2024 00:03 [00:03:21]line Смена: 266 [00:03:21]line РНМ: 0000000000092680 [00:03:21]line ЗНМ: 0300000037 [00:03:21]line СНО: Общий режим [00:03:21]line Всего чеков: 138 [00:03:21]line ИТОГИ ПРИХОД [00:03:21]line Чеков: 138 [00:03:21]line Общий итог: 32644.00 [00:03:21]line Итого наличными: 22254.00 [00:03:21]line Итого безнал.: 10390.00 [00:03:21]line НДС 0% : 0.00 [00:03:21]line НДС 12% : 3466.52 [00:03:21]line НСП 0% : 0.00 [00:03:21]line НСП 1,50% : 0.00 [00:03:21]line НСП 0,50% : 0.00 [00:03:21]line НСП 5% : 0.00 [00:03:21]line НСП 3% : 0.00 [00:03:21]line НСП 2% : 0.00 [00:03:21]line НСП 1% : 288.71 [00:03:21]line ИТОГИ ВОЗВРАТ ПРИХОДА [00:03:21]line Чеков: 0 [00:03:21]line Общий итог: 0.00 [00:03:21]line Итого наличными: 0.00 [00:03:21]line Итого безнал.: 0.00 [00:03:21]line НДС 0% : 0.00 [00:03:21]line НДС 12% : 0.00 [00:03:21]line НСП 0% : 0.00 [00:03:21]line НСП 1,50% : 0.00 [00:03:21]line НСП 0,50% : 0.00 [00:03:21]line НСП 5% : 0.00 [00:03:21]line НСП 3% : 0.00 [00:03:21]line НСП 2% : 0.00 [00:03:21]line НСП 1% : 0.00 [00:03:21]line ИТОГИ РАСХОД [00:03:21]line Чеков: 0 [00:03:21]line Общий итог: 0.00 [00:03:21]line Итого наличными: 0.00 [00:03:21]line Итого безнал.: 0.00 [00:03:21]line НДС 0% : 0.00 [00:03:21]line НДС 12% : 0.00 [00:03:21]line НСП 0% : 0.00 [00:03:21]line НСП 1,50% : 0.00 [00:03:21]line НСП 0,50% : 0.00 [00:03:21]line НСП 5% : 0.00 [00:03:21]line НСП 3% : 0.00 [00:03:21]line НСП 2% : 0.00 [00:03:21]line НСП 1% : 0.00 [00:03:21]line ИТОГИ ВОЗВРАТ РАСХОДА [00:03:21]line Чеков: 0 [00:03:21]line Общий итог: 0.00 [00:03:21]line Итого наличными: 0.00 [00:03:21]line Итого безнал.: 0.00 [00:03:21]line НДС 0% : 0.00 [00:03:21]line НДС 12% : 0.00 [00:03:21]line НСП 0% : 0.00 [00:03:21]line НСП 1,50% : 0.00 [00:03:21]line НСП 0,50% : 0.00 [00:03:21]line НСП 5% : 0.00 [00:03:21]line НСП 3% : 0.00 [00:03:21]line НСП 2% : 0.00 [00:03:21]line НСП 1% : 0.00 [00:03:21]line Сумма внесений: 0.00 [00:03:21]line Сумма выплат: 0.00 [00:03:21]line Нал. в кассе: 22254.00 [00:03:21]line НС Приход: 9072982.26 [00:03:21]line НС Возвр.Прихода: 87228.00 [00:03:21]line НС Расход: 0.00 [00:03:21]line НС Возвр.Расхода: 0.00 [00:03:21]line ФМ: 0000000000874882 [00:03:21]written 0, free lines is 4095 [00:03:22]Write to MH i2c: 01 00 00 AC 0B B7 [00:03:22]Write i2c OK [00:03:22]MH_I2C_Read... [00:03:22]Read from MH i2c: 01 [00:03:22]MH_I2C_Read... [00:03:22]Read from MH i2c: 01 07 00 [00:03:22]MH_I2C_Read... [00:03:22]Read from MH i2c: 01 07 00 AC 0B 00 00 00 00 00 23 0B EC [00:03:22]RasterBufferAndPrint [00:03:22]line [00:03:22]line [00:03:22]line [00:03:22]line [00:03:22]line [00:03:22]written 0, free lines is 2887 [00:03:22]MH_Cut [00:03:22]Write to MH i2c: D1 01 00 B3 0B 01 90 [00:03:22]Write i2c OK [00:03:22]MH_I2C_Read... [00:03:22]Read from MH i2c: D1 [00:03:22]MH_I2C_Read... [00:03:22]Read from MH i2c: D1 01 00 [00:03:22]MH_I2C_Read... [00:03:22]Read from MH i2c: D1 01 00 B3 0B 00 8F [00:03:22]Write to MH i2c: 01 00 00 B4 0B BF [00:03:22]Write i2c OK [00:03:22]MH_I2C_Read... [00:03:22]OFD Sender: No OFD packet to send [00:03:23]*** Cut start [00:03:23]*** Partial cut [00:03:23]*** CUTSNS_PIN = 1 [00:03:23]*** CUTSNS_PIN = 0 [00:03:23]*** Brake cut motor [00:03:23]Read from MH i2c: 01 [00:03:23]MH_I2C_Read... [00:03:23]*** Stop cut motor [00:03:23]*** Cut end [00:03:23]Read from MH i2c: 01 07 00 [00:03:23]MH_I2C_Read... [00:03:23]Read from MH i2c: 01 07 00 B4 0B 00 00 00 00 00 FF 0F D4 [00:03:23]process_action x_report done [00:03:23]requested_data is exist [00:03:23]produce_requested_data [00:03:23]requested_item fd.num is exist - process it [00:03:23]SAM_PROTO_GetFieldsCounters [00:03:23]wFMCommunicate request_size=4 [00:03:23]MH_SAM_APDU [00:03:23]CAPDU: 80 13 00 00 [00:03:23]Write to MH i2c: E2 08 00 B5 0B 80 13 00 00 00 00 00 00 3C [00:03:23]Write i2c OK [00:03:23]MH_I2C_Read... [00:03:23]Read from MH i2c: E2 [00:03:23]MH_I2C_Read... [00:03:23]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:03:23]Read from MH i2c: E2 62 00 [00:03:23]MH_I2C_Read... [00:03:23]Read from MH i2c: E2 62 00 B5 0B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 10 04 04 00 C8 9B 00 00 0E 04 04 00 77 01 00 00 12 04 04 00 8A 00 00 00 5E 04 04 00 8A 00 00 00 57 04 04 00 8B 00 00 00 19 04 04 00 00 00 00 00 90 00 DB [00:03: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 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 10 04 04 00 C8 9B 00 00 0E 04 04 00 77 01 00 00 12 04 04 00 8A 00 00 00 5E 04 04 00 8A 00 00 00 57 04 04 00 8B 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:03:24]wFMCommunicate OK [00:03:24]SAM_PROTO_GetFieldsCounters done [00:03:24]requested_item shift.num is exist - process it [00:03:24]requested_item shift.opened is exist - process it [00:03:24]req_shift_opened [00:03:24]FM_GetShiftState [00:03:24]SAM_PROTO_GetShiftState [00:03:24]wFMCommunicate request_size=4 [00:03:24]MH_SAM_APDU [00:03:24]CAPDU: 80 13 01 00 [00:03:24]Write to MH i2c: E2 08 00 B6 0B 80 13 01 00 00 00 00 00 3E [00:03:24]Write i2c OK [00:03:24]MH_I2C_Read... [00:03:24]Read from MH i2c: E2 [00:03:24]MH_I2C_Read... [00:03:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:03:24]Read from MH i2c: E2 0E 00 [00:03:24]MH_I2C_Read... [00:03:24]Read from MH i2c: E2 0E 00 B6 0B 00 09 00 01 54 BB 5B 66 00 00 00 00 90 00 1A [00:03:24]RAPDU: 09 00 01 54 BB 5B 66 00 00 00 00 90 00 [00:03:24]wFMCommunicate OK [00:03:24]SAM_PROTO_GetShiftState done [00:03:24]FM_GetShiftState done [00:03:24]req_shift_opened done [00:03:24]requested_item shift.open_date is exist - process it [00:03:24]req_shift_open_date [00:03:24]req_shift_open_date done [00:03:24]produce_requested_data done [00:03:24]produce_requested_data return {"fd.num":39880,"shift.num":375,"shift.opened":1,"shift.open_date":1717287764} [00:03:24]process_action_free x_report [00:03:24]json_value_free [00:03:24]json_value_free done [00:03:24]process_json_proto returns [00:03:24]Send response to host [00:03:24]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":39880,"shift.num":375,"shift.opened":1,"shift.open_date":1717287764}}} [00:03:24]free response buf [00:03:24]execute_script done [00:03:24]execute_script returns [00:03:24]free content buf [00:03:24]Sock 7.Close socket [00:03:24]Sock 7.Thread stoped [00:03:27]OFD Sender: No OFD packet to send [00:03:32]OFD Sender: No OFD packet to send [00:03:37]OFD Sender: No OFD packet to send [00:03:42]OFD Sender: No OFD packet to send [00:03:47]OFD Sender: No OFD packet to send [00:03:52]OFD Sender: No OFD packet to send [00:03:55]accept exits with 9 [00:03:55]New connection [00:03:55]New thread 3066555748 created [00:03:55]Thread 3066699108 joined [00:03:55]Waiting for new connection... [00:03:55] Sock 9.Parse request [00:03:55]Sock 9.Check first char [00:03:55]Sock 9.First char is OK [00:03:55]request: POST /json_proto HTTP/1.0 [00:03:55]Method: POST [00:03:55]URL: /json_proto [00:03:55]Method is POST - this is cgi request [00:03:55]url: /json_proto [00:03:55]query_string will be loaded in cgi processing [00:03:55]execute_cgi json_proto POST (null) [00:03:55]execute_cgi path=json_proto method=POST [00:03:55]POST find Content-Length [00:03:55]Host: 172.17.36.199:8080 [00:03:55]Content-Length: 215 [00:03:55]Content-Type: application/json [00:03:55] [00:03:55]POST finish read [00:03:55]Found Content-Length = 215 [00:03:55]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:03:55]execute_script... [00:03:55]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:03:55]POST & json_proto [00:03:55]process_json_proto [00:03:55]json parsed OK: [00:03:55]protocol is kg_v1.0 [00:03:55]action value=get_value [00:03:55]process_action get_value [00:03:55]cmd_get_value [00:03:55]process_action get_value done [00:03:55]requested_data is exist [00:03:55]produce_requested_data [00:03:55]requested_item kkm.sn is exist - process it [00:03:55]requested_item kkm.ver is exist - process it [00:03:55]requested_item fm.sn is exist - process it [00:03:55]wFMCommunicate request_size=4 [00:03:55]MH_SAM_APDU [00:03:55]CAPDU: 80 11 00 00 [00:03:55]Write to MH i2c: E2 08 00 B7 0B 80 11 00 00 00 00 00 00 3C [00:03:55]Write i2c OK [00:03:55]MH_I2C_Read... [00:03:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:03:55]Read from MH i2c: E2 [00:03:55]MH_I2C_Read... [00:03:55]Read from MH i2c: E2 17 00 [00:03:55]MH_I2C_Read... [00:03:55]Read from MH i2c: E2 17 00 B7 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 90 00 94 [00:03:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 90 00 [00:03:55]wFMCommunicate OK [00:03:55]requested_item fd.num is exist - process it [00:03:55]SAM_PROTO_GetFieldsCounters [00:03:55]wFMCommunicate request_size=4 [00:03:55]MH_SAM_APDU [00:03:55]CAPDU: 80 13 00 00 [00:03:55]Write to MH i2c: E2 08 00 B8 0B 80 13 00 00 00 00 00 00 3F [00:03:55]Write i2c OK [00:03:55]MH_I2C_Read... [00:03:55]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:03:55]Read from MH i2c: E2 [00:03:55]MH_I2C_Read... [00:03:55]Read from MH i2c: E2 62 00 [00:03:55]MH_I2C_Read... [00:03:55]Read from MH i2c: E2 62 00 B8 0B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 10 04 04 00 C8 9B 00 00 0E 04 04 00 77 01 00 00 12 04 04 00 8A 00 00 00 5E 04 04 00 8A 00 00 00 57 04 04 00 8B 00 00 00 19 04 04 00 00 00 00 00 90 00 DE [00:03: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 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 10 04 04 00 C8 9B 00 00 0E 04 04 00 77 01 00 00 12 04 04 00 8A 00 00 00 5E 04 04 00 8A 00 00 00 57 04 04 00 8B 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:03:55]wFMCommunicate OK [00:03:55]SAM_PROTO_GetFieldsCounters done [00:03:55]requested_item shift.num is exist - process it [00:03:55]requested_item shift.opened is exist - process it [00:03:55]req_shift_opened [00:03:55]FM_GetShiftState [00:03:55]SAM_PROTO_GetShiftState [00:03:55]wFMCommunicate request_size=4 [00:03:55]MH_SAM_APDU [00:03:55]CAPDU: 80 13 01 00 [00:03:55]Write to MH i2c: E2 08 00 B9 0B 80 13 01 00 00 00 00 00 41 [00:03:55]Write i2c OK [00:03:55]MH_I2C_Read... [00:03:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:03:55]Read from MH i2c: E2 [00:03:55]MH_I2C_Read... [00:03:55]Read from MH i2c: E2 0E 00 [00:03:55]MH_I2C_Read... [00:03:55]Read from MH i2c: E2 0E 00 B9 0B 00 09 00 01 54 BB 5B 66 00 00 00 00 90 00 1D [00:03:55]RAPDU: 09 00 01 54 BB 5B 66 00 00 00 00 90 00 [00:03:55]wFMCommunicate OK [00:03:55]SAM_PROTO_GetShiftState done [00:03:55]FM_GetShiftState done [00:03:55]req_shift_opened done [00:03:55]requested_item shift.open_date is exist - process it [00:03:55]req_shift_open_date [00:03:55]req_shift_open_date done [00:03:55]produce_requested_data done [00:03:55]produce_requested_data return {"kkm.sn":"0300000037","kkm.ver":"001","fm.sn":"0000000000874882","fd.num":39880,"shift.num":375,"shift.opened":1,"shift.open_date":1717287764} [00:03:55]process_action_free get_value [00:03:55]json_value_free [00:03:55]json_value_free done [00:03:55]process_json_proto returns [00:03:55]Send response to host [00:03:55]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000037","kkm.ver":"001","fm.sn":"0000000000874882","fd.num":39880,"shift.num":375,"shift.opened":1,"shift.open_date":1717287764}}} [00:03:55]free response buf [00:03:55]execute_script done [00:03:55]execute_script returns [00:03:55]free content buf [00:03:55]Sock 9.Close socket [00:03:55]Sock 9.Thread stoped [00:03:55]accept exits with 7 [00:03:55]New connection [00:03:55]New thread 3066699108 created [00:03:55]Thread 3066555748 joined [00:03:55]Waiting for new connection... [00:03:55] Sock 7.Parse request [00:03:55]Sock 7.Check first char [00:03:55]Sock 7.First char is OK [00:03:55]request: POST /json_proto HTTP/1.0 [00:03:55]Method: POST [00:03:55]URL: /json_proto [00:03:55]Method is POST - this is cgi request [00:03:55]url: /json_proto [00:03:55]query_string will be loaded in cgi processing [00:03:55]execute_cgi json_proto POST (null) [00:03:55]execute_cgi path=json_proto method=POST [00:03:55]POST find Content-Length [00:03:55]Host: 172.17.36.199:8080 [00:03:55]Content-Length: 331 [00:03:55]Content-Type: application/json [00:03:55] [00:03:55]POST finish read [00:03:55]Found Content-Length = 331 [00:03:55]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:03:55]execute_script... [00:03:55]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:03:55]POST & json_proto [00:03:55]process_json_proto [00:03:55]json parsed OK: [00:03:55]protocol is kg_v1.0 [00:03:55]action value=get_value [00:03:55]process_action get_value [00:03:55]cmd_get_value [00:03:55]process_action get_value done [00:03:55]requested_data is exist [00:03:55]produce_requested_data [00:03:55]requested_item fm.sale.total is exist - process it [00:03:55]SAM_PROTO_GetFMData [00:03:55]wFMCommunicate request_size=4 [00:03:55]MH_SAM_APDU [00:03:55]CAPDU: 80 13 03 00 [00:03:55]Write to MH i2c: E2 08 00 BA 0B 80 13 03 00 00 00 00 00 44 [00:03:55]Write i2c OK [00:03:55]MH_I2C_Read... [00:03:56]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:03:56]Read from MH i2c: E2 [00:03:56]MH_I2C_Read... [00:03:56]Read from MH i2c: E2 FD 00 [00:03:56]MH_I2C_Read... [00:03:56]Read from MH i2c: E2 FD 00 BA 0B 00 C2 04 85 04 BE 04 6E 04 04 00 DA 98 00 00 69 04 A0 00 6F 04 04 00 A7 98 00 00 B1 04 04 00 B2 45 14 36 70 04 04 00 5C DA 0C 2B 72 04 04 00 56 6B 07 0B 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 1C BE 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 C9 6E 7A EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9C 00 6F 04 04 00 33 00 00 00 B1 04 03 00 70 19 85 70 04 03 00 F4 09 84 72 04 03 00 7C 0F 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 AF 22 0E EF 03 09 00 F6 03 90 00 A2 [00:03:56]RAPDU: C2 04 85 04 BE 04 6E 04 04 00 DA 98 00 00 69 04 A0 00 6F 04 04 00 A7 98 00 00 B1 04 04 00 B2 45 14 36 70 04 04 00 5C DA 0C 2B 72 04 04 00 56 6B 07 0B 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 1C BE 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 C9 6E 7A EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9C 00 6F 04 04 00 33 00 00 00 B1 04 03 00 70 19 85 70 04 03 00 F4 09 84 72 04 03 00 7C 0F 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 AF 22 0E EF 03 09 00 F6 03 90 00 [00:03:56]wFMCommunicate OK [00:03:56]wFMCommunicate request_size=4 [00:03:56]MH_SAM_APDU [00:03:56]CAPDU: 80 17 00 00 [00:03:56]Write to MH i2c: E2 08 00 BB 0B 80 17 00 00 00 00 00 00 46 [00:03:56]Write i2c OK [00:03:56]MH_I2C_Read... [00:03:56]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:03:56]Read from MH i2c: E2 [00:03:56]MH_I2C_Read... [00:03:56]Read from MH i2c: E2 FD 00 [00:03:56]MH_I2C_Read... [00:03:56]Read from MH i2c: E2 FD 00 BB 0B 00 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 8B 2D 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 90 00 2C [00:03:56]RAPDU: 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 8B 2D 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 90 00 [00:03:56]wFMCommunicate OK [00:03:56]wFMCommunicate request_size=4 [00:03:56]MH_SAM_APDU [00:03:56]CAPDU: 80 17 00 00 [00:03:56]Write to MH i2c: E2 08 00 BC 0B 80 17 00 00 00 00 00 00 47 [00:03:56]Write i2c OK [00:03:56]MH_I2C_Read... [00:03:56]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:03:56]Read from MH i2c: E2 [00:03:56]MH_I2C_Read... [00:03:56]Read from MH i2c: E2 FD 00 [00:03:56]MH_I2C_Read... [00:03:56]Read from MH i2c: E2 FD 00 BC 0B 00 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 F5 [00:03:56]RAPDU: 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:03:56]wFMCommunicate OK [00:03:56]wFMCommunicate request_size=4 [00:03:56]MH_SAM_APDU [00:03:56]CAPDU: 80 17 00 00 [00:03:56]Write to MH i2c: E2 08 00 BD 0B 80 17 00 00 00 00 00 00 48 [00:03:56]Write i2c OK [00:03:56]MH_I2C_Read... [00:03:56]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:03:56]Read from MH i2c: E2 [00:03:56]MH_I2C_Read... [00:03:56]Read from MH i2c: E2 FD 00 [00:03:56]MH_I2C_Read... [00:03:57]Read from MH i2c: E2 FD 00 BD 0B 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 C3 [00:03:57]RAPDU: F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:03:57]wFMCommunicate OK [00:03:57]wFMCommunicate request_size=4 [00:03:57]MH_SAM_APDU [00:03:57]CAPDU: 80 17 00 00 [00:03:57]Write to MH i2c: E2 08 00 BE 0B 80 17 00 00 00 00 00 00 49 [00:03:57]Write i2c OK [00:03:57]MH_I2C_Read... [00:03:57]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 220! [00:03:57]Read from MH i2c: E2 [00:03:57]MH_I2C_Read... [00:03:57]Read from MH i2c: E2 DF 00 [00:03:57]MH_I2C_Read... [00:03:57]Read from MH i2c: E2 DF 00 BE 0B 00 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 29 [00:03:57]RAPDU: 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:03:57]wFMCommunicate OK [00:03:57]SAM_PROTO_GetFMData done [00:03:57]requested_item fm.sale_refund.total is exist - process it [00:03:57]requested_item fm.buy.total is exist - process it [00:03:57]requested_item shift.sale.total is exist - process it [00:03:57]SAM_PROTO_GetShiftData [00:03:57]wFMCommunicate request_size=4 [00:03:57]MH_SAM_APDU [00:03:57]CAPDU: 80 13 02 00 [00:03:57]Write to MH i2c: E2 08 00 BF 0B 80 13 02 00 00 00 00 00 48 [00:03:57]Write i2c OK [00:03:57]MH_I2C_Read... [00:03:57]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:03:57]Read from MH i2c: E2 [00:03:57]MH_I2C_Read... [00:03:57]Read from MH i2c: E2 FD 00 [00:03:57]MH_I2C_Read... [00:03:57]Read from MH i2c: E2 FD 00 BF 0B 00 AE 04 AA 04 AA 04 6E 04 04 00 8A 00 00 00 69 04 9B 00 6F 04 04 00 8A 00 00 00 B1 04 03 00 90 CF 31 70 04 03 00 F8 F4 21 72 04 03 00 98 DA 0F 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 1C 4A 05 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 C7 70 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 DD [00:03:57]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 8A 00 00 00 69 04 9B 00 6F 04 04 00 8A 00 00 00 B1 04 03 00 90 CF 31 70 04 03 00 F8 F4 21 72 04 03 00 98 DA 0F 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 1C 4A 05 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 C7 70 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [00:03:57]wFMCommunicate OK [00:03:57]wFMCommunicate request_size=4 [00:03:57]MH_SAM_APDU [00:03:57]CAPDU: 80 17 00 00 [00:03:57]Write to MH i2c: E2 08 00 C0 0B 80 17 00 00 00 00 00 00 4B [00:03:57]Write i2c OK [00:03:57]MH_I2C_Read... [00:03:57]OFD Sender: No OFD packet to send [00:03:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:03:58]Read from MH i2c: E2 [00:03:58]MH_I2C_Read... [00:03:58]Read from MH i2c: E2 FD 00 [00:03:58]MH_I2C_Read... [00:03:58]Read from MH i2c: E2 FD 00 C0 0B 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 6D [00:03:58]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [00:03:58]wFMCommunicate OK [00:03:58]wFMCommunicate request_size=4 [00:03:58]MH_SAM_APDU [00:03:58]CAPDU: 80 17 00 00 [00:03:58]Write to MH i2c: E2 08 00 C1 0B 80 17 00 00 00 00 00 00 4C [00:03:58]Write i2c OK [00:03:58]MH_I2C_Read... [00:03:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:03:58]Read from MH i2c: E2 [00:03:58]MH_I2C_Read... [00:03:58]Read from MH i2c: E2 FD 00 [00:03:58]MH_I2C_Read... [00:03:58]Read from MH i2c: E2 FD 00 C1 0B 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 03 [00:03:58]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [00:03:58]wFMCommunicate OK [00:03:58]wFMCommunicate request_size=4 [00:03:58]MH_SAM_APDU [00:03:58]CAPDU: 80 17 00 00 [00:03:58]Write to MH i2c: E2 08 00 C2 0B 80 17 00 00 00 00 00 00 4D [00:03:58]Write i2c OK [00:03:58]MH_I2C_Read... [00:03:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:03:58]Read from MH i2c: E2 [00:03:58]MH_I2C_Read... [00:03:58]Read from MH i2c: E2 FD 00 [00:03:58]MH_I2C_Read... [00:03:58]Read from MH i2c: E2 FD 00 C2 0B 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 BF [00:03:58]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [00:03:59]wFMCommunicate OK [00:03:59]wFMCommunicate request_size=4 [00:03:59]MH_SAM_APDU [00:03:59]CAPDU: 80 17 00 00 [00:03:59]Write to MH i2c: E2 08 00 C3 0B 80 17 00 00 00 00 00 00 4E [00:03:59]Write i2c OK [00:03:59]MH_I2C_Read... [00:03:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:03:59]Read from MH i2c: E2 [00:03:59]MH_I2C_Read... [00:03:59]Read from MH i2c: E2 CB 00 [00:03:59]MH_I2C_Read... [00:03:59]Read from MH i2c: E2 CB 00 C3 0B 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 37 [00:03:59]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:03:59]wFMCommunicate OK [00:03:59]SAM_PROTO_GetShiftData done [00:03:59]requested_item shift.sale.total_cash is exist - process it [00:03:59]requested_item shift.sale_refund.total is exist - process it [00:03:59]requested_item shift.sale_refund.total_cash is exist - process it [00:03:59]requested_item shift.buy.total is exist - process it [00:03:59]requested_item shift.buy.total_cash is exist - process it [00:03:59]produce_requested_data done [00:03:59]produce_requested_data return {"fm.sale.total":9072982.26,"fm.sale_refund.total":87228.00,"fm.buy.total":0.00,"shift.sale.total":32644.00,"shift.sale.total_cash":22254.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:03:59]process_action_free get_value [00:03:59]json_value_free [00:03:59]json_value_free done [00:03:59]process_json_proto returns [00:03:59]Send response to host [00:03:59]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":9072982.26,"fm.sale_refund.total":87228.00,"fm.buy.total":0.00,"shift.sale.total":32644.00,"shift.sale.total_cash":22254.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:03:59]free response buf [00:03:59]execute_script done [00:03:59]execute_script returns [00:03:59]free content buf [00:03:59]Sock 7.Close socket [00:03:59]Sock 7.Thread stoped [00:03:59]accept exits with 9 [00:03:59]New connection [00:03:59]New thread 3066555748 created [00:03:59]Thread 3066699108 joined [00:03:59]Waiting for new connection... [00:03:59] Sock 9.Parse request [00:03:59]Sock 9.Check first char [00:03:59]Sock 9.First char is OK [00:03:59]request: POST /json_proto HTTP/1.0 [00:03:59]Method: POST [00:03:59]URL: /json_proto [00:03:59]Method is POST - this is cgi request [00:03:59]url: /json_proto [00:03:59]query_string will be loaded in cgi processing [00:03:59]execute_cgi json_proto POST (null) [00:03:59]execute_cgi path=json_proto method=POST [00:03:59]POST find Content-Length [00:03:59]Host: 172.17.36.199:8080 [00:03:59]Content-Length: 331 [00:03:59]Content-Type: application/json [00:03:59] [00:03:59]POST finish read [00:03:59]Found Content-Length = 331 [00:03:59]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:03:59]execute_script... [00:03:59]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:03:59]POST & json_proto [00:03:59]process_json_proto [00:03:59]json parsed OK: [00:03:59]protocol is kg_v1.0 [00:03:59]action value=get_value [00:03:59]process_action get_value [00:03:59]cmd_get_value [00:03:59]process_action get_value done [00:03:59]requested_data is exist [00:03:59]produce_requested_data [00:03:59]requested_item fm.sale.total is exist - process it [00:03:59]SAM_PROTO_GetFMData [00:03:59]wFMCommunicate request_size=4 [00:03:59]MH_SAM_APDU [00:03:59]CAPDU: 80 13 03 00 [00:03:59]Write to MH i2c: E2 08 00 C4 0B 80 13 03 00 00 00 00 00 4E [00:03:59]Write i2c OK [00:03:59]MH_I2C_Read... [00:04:00]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:04:00]Read from MH i2c: E2 [00:04:00]MH_I2C_Read... [00:04:00]Read from MH i2c: E2 FD 00 [00:04:00]MH_I2C_Read... [00:04:00]Read from MH i2c: E2 FD 00 C4 0B 00 C2 04 85 04 BE 04 6E 04 04 00 DA 98 00 00 69 04 A0 00 6F 04 04 00 A7 98 00 00 B1 04 04 00 B2 45 14 36 70 04 04 00 5C DA 0C 2B 72 04 04 00 56 6B 07 0B 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 1C BE 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 C9 6E 7A EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9C 00 6F 04 04 00 33 00 00 00 B1 04 03 00 70 19 85 70 04 03 00 F4 09 84 72 04 03 00 7C 0F 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 AF 22 0E EF 03 09 00 F6 03 90 00 AC [00:04:00]RAPDU: C2 04 85 04 BE 04 6E 04 04 00 DA 98 00 00 69 04 A0 00 6F 04 04 00 A7 98 00 00 B1 04 04 00 B2 45 14 36 70 04 04 00 5C DA 0C 2B 72 04 04 00 56 6B 07 0B 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 1C BE 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 C9 6E 7A EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9C 00 6F 04 04 00 33 00 00 00 B1 04 03 00 70 19 85 70 04 03 00 F4 09 84 72 04 03 00 7C 0F 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 AF 22 0E EF 03 09 00 F6 03 90 00 [00:04:00]wFMCommunicate OK [00:04:00]wFMCommunicate request_size=4 [00:04:00]MH_SAM_APDU [00:04:00]CAPDU: 80 17 00 00 [00:04:00]Write to MH i2c: E2 08 00 C5 0B 80 17 00 00 00 00 00 00 50 [00:04:00]Write i2c OK [00:04:00]MH_I2C_Read... [00:04:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:04:00]Read from MH i2c: E2 [00:04:00]MH_I2C_Read... [00:04:00]Read from MH i2c: E2 FD 00 [00:04:00]MH_I2C_Read... [00:04:00]Read from MH i2c: E2 FD 00 C5 0B 00 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 8B 2D 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 90 00 36 [00:04:00]RAPDU: 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 8B 2D 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 90 00 [00:04:00]wFMCommunicate OK [00:04:00]wFMCommunicate request_size=4 [00:04:00]MH_SAM_APDU [00:04:00]CAPDU: 80 17 00 00 [00:04:00]Write to MH i2c: E2 08 00 C6 0B 80 17 00 00 00 00 00 00 51 [00:04:00]Write i2c OK [00:04:00]MH_I2C_Read... [00:04:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:04:00]Read from MH i2c: E2 [00:04:00]MH_I2C_Read... [00:04:00]Read from MH i2c: E2 FD 00 [00:04:00]MH_I2C_Read... [00:04:00]Read from MH i2c: E2 FD 00 C6 0B 00 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 FF [00:04:00]RAPDU: 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:04:00]wFMCommunicate OK [00:04:00]wFMCommunicate request_size=4 [00:04:00]MH_SAM_APDU [00:04:00]CAPDU: 80 17 00 00 [00:04:00]Write to MH i2c: E2 08 00 C7 0B 80 17 00 00 00 00 00 00 52 [00:04:00]Write i2c OK [00:04:00]MH_I2C_Read... [00:04:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:04:01]Read from MH i2c: E2 [00:04:01]MH_I2C_Read... [00:04:01]Read from MH i2c: E2 FD 00 [00:04:01]MH_I2C_Read... [00:04:01]Read from MH i2c: E2 FD 00 C7 0B 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 CD [00:04:01]RAPDU: F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:04:01]wFMCommunicate OK [00:04:01]wFMCommunicate request_size=4 [00:04:01]MH_SAM_APDU [00:04:01]CAPDU: 80 17 00 00 [00:04:01]Write to MH i2c: E2 08 00 C8 0B 80 17 00 00 00 00 00 00 53 [00:04:01]Write i2c OK [00:04:01]MH_I2C_Read... [00:04:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 220! [00:04:01]Read from MH i2c: E2 [00:04:01]MH_I2C_Read... [00:04:01]Read from MH i2c: E2 DF 00 [00:04:01]MH_I2C_Read... [00:04:01]Read from MH i2c: E2 DF 00 C8 0B 00 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 33 [00:04:01]RAPDU: 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:04:01]wFMCommunicate OK [00:04:01]SAM_PROTO_GetFMData done [00:04:01]requested_item fm.sale_refund.total is exist - process it [00:04:01]requested_item fm.buy.total is exist - process it [00:04:01]requested_item shift.sale.total is exist - process it [00:04:01]SAM_PROTO_GetShiftData [00:04:01]wFMCommunicate request_size=4 [00:04:01]MH_SAM_APDU [00:04:01]CAPDU: 80 13 02 00 [00:04:01]Write to MH i2c: E2 08 00 C9 0B 80 13 02 00 00 00 00 00 52 [00:04:01]Write i2c OK [00:04:01]MH_I2C_Read... [00:04:02]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:04:02]Read from MH i2c: E2 [00:04:02]MH_I2C_Read... [00:04:02]Read from MH i2c: E2 FD 00 [00:04:02]MH_I2C_Read... [00:04:02]Read from MH i2c: E2 FD 00 C9 0B 00 AE 04 AA 04 AA 04 6E 04 04 00 8A 00 00 00 69 04 9B 00 6F 04 04 00 8A 00 00 00 B1 04 03 00 90 CF 31 70 04 03 00 F8 F4 21 72 04 03 00 98 DA 0F 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 1C 4A 05 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 C7 70 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 E7 [00:04:02]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 8A 00 00 00 69 04 9B 00 6F 04 04 00 8A 00 00 00 B1 04 03 00 90 CF 31 70 04 03 00 F8 F4 21 72 04 03 00 98 DA 0F 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 1C 4A 05 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 C7 70 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [00:04:02]wFMCommunicate OK [00:04:02]wFMCommunicate request_size=4 [00:04:02]MH_SAM_APDU [00:04:02]CAPDU: 80 17 00 00 [00:04:02]Write to MH i2c: E2 08 00 CA 0B 80 17 00 00 00 00 00 00 55 [00:04:02]Write i2c OK [00:04:02]MH_I2C_Read... [00:04:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:04:02]Read from MH i2c: E2 [00:04:02]MH_I2C_Read... [00:04:02]Read from MH i2c: E2 FD 00 [00:04:02]MH_I2C_Read... [00:04:02]Read from MH i2c: E2 FD 00 CA 0B 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 77 [00:04:02]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [00:04:02]wFMCommunicate OK [00:04:02]wFMCommunicate request_size=4 [00:04:02]MH_SAM_APDU [00:04:02]CAPDU: 80 17 00 00 [00:04:02]Write to MH i2c: E2 08 00 CB 0B 80 17 00 00 00 00 00 00 56 [00:04:02]Write i2c OK [00:04:02]MH_I2C_Read... [00:04:03]OFD Sender: No OFD packet to send [00:04:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:04:03]Read from MH i2c: E2 [00:04:03]MH_I2C_Read... [00:04:03]Read from MH i2c: E2 FD 00 [00:04:03]MH_I2C_Read... [00:04:03]Read from MH i2c: E2 FD 00 CB 0B 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 0D [00:04:03]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [00:04:03]wFMCommunicate OK [00:04:03]wFMCommunicate request_size=4 [00:04:03]MH_SAM_APDU [00:04:03]CAPDU: 80 17 00 00 [00:04:03]Write to MH i2c: E2 08 00 CC 0B 80 17 00 00 00 00 00 00 57 [00:04:03]Write i2c OK [00:04:03]MH_I2C_Read... [00:04:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:04:03]Read from MH i2c: E2 [00:04:03]MH_I2C_Read... [00:04:03]Read from MH i2c: E2 FD 00 [00:04:03]MH_I2C_Read... [00:04:03]Read from MH i2c: E2 FD 00 CC 0B 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 C9 [00:04:03]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [00:04:03]wFMCommunicate OK [00:04:03]wFMCommunicate request_size=4 [00:04:03]MH_SAM_APDU [00:04:03]CAPDU: 80 17 00 00 [00:04:03]Write to MH i2c: E2 08 00 CD 0B 80 17 00 00 00 00 00 00 58 [00:04:03]Write i2c OK [00:04:03]MH_I2C_Read... [00:04:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:04:04]Read from MH i2c: E2 [00:04:04]MH_I2C_Read... [00:04:04]Read from MH i2c: E2 CB 00 [00:04:04]MH_I2C_Read... [00:04:04]Read from MH i2c: E2 CB 00 CD 0B 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 41 [00:04:04]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:04:04]wFMCommunicate OK [00:04:04]SAM_PROTO_GetShiftData done [00:04:04]requested_item shift.sale.total_cash is exist - process it [00:04:04]requested_item shift.sale_refund.total is exist - process it [00:04:04]requested_item shift.sale_refund.total_cash is exist - process it [00:04:04]requested_item shift.buy.total is exist - process it [00:04:04]requested_item shift.buy.total_cash is exist - process it [00:04:04]produce_requested_data done [00:04:04]produce_requested_data return {"fm.sale.total":9072982.26,"fm.sale_refund.total":87228.00,"fm.buy.total":0.00,"shift.sale.total":32644.00,"shift.sale.total_cash":22254.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:04:04]process_action_free get_value [00:04:04]json_value_free [00:04:04]json_value_free done [00:04:04]process_json_proto returns [00:04:04]Send response to host [00:04:04]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":9072982.26,"fm.sale_refund.total":87228.00,"fm.buy.total":0.00,"shift.sale.total":32644.00,"shift.sale.total_cash":22254.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:04:04]free response buf [00:04:04]execute_script done [00:04:04]execute_script returns [00:04:04]free content buf [00:04:04]Sock 9.Close socket [00:04:04]Sock 9.Thread stoped [00:04:04]accept exits with 7 [00:04:04]New connection [00:04:04]New thread 3066699108 created [00:04:04]Thread 3066555748 joined [00:04:04]Waiting for new connection... [00:04:04] Sock 7.Parse request [00:04:04]Sock 7.Check first char [00:04:04]Sock 7.First char is OK [00:04:04]request: POST /json_proto HTTP/1.0 [00:04:04]Method: POST [00:04:04]URL: /json_proto [00:04:04]Method is POST - this is cgi request [00:04:04]url: /json_proto [00:04:04]query_string will be loaded in cgi processing [00:04:04]execute_cgi json_proto POST (null) [00:04:04]execute_cgi path=json_proto method=POST [00:04:04]POST find Content-Length [00:04:04]Host: 172.17.36.199:8080 [00:04:04]Content-Length: 252 [00:04:04]Content-Type: application/json [00:04:04] [00:04:04]POST finish read [00:04:04]Found Content-Length = 252 [00:04:04]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u0428\u0430\u0440\u0448\u0435\u0435\u0432 \u0410" } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:04:04]execute_script... [00:04:04]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u0428\u0430\u0440\u0448\u0435\u0435\u0432 \u0410" } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:04:04]POST & json_proto [00:04:04]process_json_proto [00:04:04]json parsed OK: [00:04:04]protocol is kg_v1.0 [00:04:04]action value=close_shift [00:04:04]process_action close_shift [00:04:04]cmd_close_shift [00:04:04]MH_GetDate [00:04:04]Write to MH i2c: F0 00 00 CE 0B C8 [00:04:04]Write i2c OK [00:04:04]MH_I2C_Read... [00:04:04]Read from MH i2c: F0 [00:04:04]MH_I2C_Read... [00:04:04]Read from MH i2c: F0 09 00 [00:04:04]MH_I2C_Read... [00:04:04]Read from MH i2c: F0 09 00 CE 0B 00 76 08 5D 66 91 46 04 65 52 [00:04:04]GetLastDocTimeStamp 1717372995 [00:04:04]current date 1717373046 [00:04:04]FM_GetShiftState [00:04:04]SAM_PROTO_GetShiftState [00:04:04]wFMCommunicate request_size=4 [00:04:04]MH_SAM_APDU [00:04:04]CAPDU: 80 13 01 00 [00:04:04]Write to MH i2c: E2 08 00 CF 0B 80 13 01 00 00 00 00 00 57 [00:04:04]Write i2c OK [00:04:04]MH_I2C_Read... [00:04:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:04:04]Read from MH i2c: E2 [00:04:04]MH_I2C_Read... [00:04:04]Read from MH i2c: E2 0E 00 [00:04:04]MH_I2C_Read... [00:04:04]Read from MH i2c: E2 0E 00 CF 0B 00 09 00 01 54 BB 5B 66 00 00 00 00 90 00 33 [00:04:04]RAPDU: 09 00 01 54 BB 5B 66 00 00 00 00 90 00 [00:04:04]wFMCommunicate OK [00:04:04]SAM_PROTO_GetShiftState done [00:04:04]FM_GetShiftState done [00:04:04]KKMCreateCloseShiftDocument [00:04:04]Load OK [00:04:04]Malloc new data [00:04:04]MH_GetDate [00:04:04]Write to MH i2c: F0 00 00 D0 0B CA [00:04:04]Write i2c OK [00:04:04]MH_I2C_Read... [00:04:04]Read from MH i2c: F0 [00:04:04]MH_I2C_Read... [00:04:04]Read from MH i2c: F0 09 00 [00:04:04]MH_I2C_Read... [00:04:04]Read from MH i2c: F0 09 00 D0 0B 00 76 08 5D 66 91 46 04 65 54 [00:04:04]Malloc new data [00:04:04]Malloc new data [00:04:04]Malloc new data [00:04:04]Malloc new data [00:04:04]KKMCreateCloseShiftDocument OK [00:04:04]KKMSetCloseShiftData OK [00:04:04]ProcessDocumentItem done err = 0, tmpTLVsize=67 [00:04:04]tlvbuf is 00B6FD40 [00:04:04]KKMLoadAndSignCloseShiftData [00:04:04]SAM_PROTO_ProcessDocument [00:04:04]wFMCommunicate request_size=9 [00:04:04]MH_SAM_APDU [00:04:04]CAPDU: 80 15 01 00 04 05 00 43 00 [00:04:04]Write to MH i2c: E2 0C 00 D1 0B 80 15 01 00 04 00 05 00 43 00 00 00 AB [00:04:04]Write i2c OK [00:04:04]MH_I2C_Read... [00:04:04]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [00:04:04]Read from MH i2c: E2 [00:04:04]MH_I2C_Read... [00:04:04]Read from MH i2c: E2 03 00 [00:04:04]MH_I2C_Read... [00:04:04]Read from MH i2c: E2 03 00 D1 0B 00 90 00 50 [00:04:04]RAPDU: 90 00 [00:04:04]wFMCommunicate OK [00:04:04]wFMCommunicate request_size=23 [00:04:04]MH_SAM_APDU [00:04:04]CAPDU: 80 15 02 00 12 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 [00:04:04]Write to MH i2c: E2 1A 00 D2 0B 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 52 [00:04:04]Write i2c OK [00:04:04]MH_I2C_Read... [00:04:04]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:04:04]Read from MH i2c: E2 [00:04:04]MH_I2C_Read... [00:04:04]Read from MH i2c: E2 03 00 [00:04:04]MH_I2C_Read... [00:04:04]Read from MH i2c: E2 03 00 D2 0B 00 90 00 51 [00:04:04]RAPDU: 90 00 [00:04:04]wFMCommunicate OK [00:04:04]wFMCommunicate request_size=26 [00:04:04]MH_SAM_APDU [00:04:04]CAPDU: 80 15 02 00 15 FD 03 11 00 D0 A8 D0 B0 D1 80 D1 88 D0 B5 D0 B5 D0 B2 20 D0 90 [00:04:04]Write to MH i2c: E2 1D 00 D3 0B 80 15 02 00 15 00 FD 03 11 00 D0 A8 D0 B0 D1 80 D1 88 D0 B5 D0 B5 D0 B2 20 D0 90 00 00 47 [00:04:04]Write i2c OK [00:04:04]MH_I2C_Read... [00:04:04]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:04:04]Read from MH i2c: E2 [00:04:04]MH_I2C_Read... [00:04:04]Read from MH i2c: E2 03 00 [00:04:04]MH_I2C_Read... [00:04:04]Read from MH i2c: E2 03 00 D3 0B 00 90 00 52 [00:04:04]RAPDU: 90 00 [00:04:04]wFMCommunicate OK [00:04:04]wFMCommunicate request_size=13 [00:04:04]MH_SAM_APDU [00:04:04]CAPDU: 80 15 02 00 08 F4 03 04 00 76 08 5D 66 [00:04:04]Write to MH i2c: E2 10 00 D4 0B 80 15 02 00 08 00 F4 03 04 00 76 08 5D 66 00 00 AB [00:04:04]Write i2c OK [00:04:04]MH_I2C_Read... [00:04:04]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:04:04]Read from MH i2c: E2 [00:04:04]MH_I2C_Read... [00:04:04]Read from MH i2c: E2 03 00 [00:04:04]MH_I2C_Read... [00:04:04]Read from MH i2c: E2 03 00 D4 0B 00 90 00 53 [00:04:04]RAPDU: 90 00 [00:04:04]wFMCommunicate OK [00:04:04]wFMCommunicate request_size=25 [00:04:04]MH_SAM_APDU [00:04:04]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 [00:04:04]Write to MH i2c: E2 1C 00 D5 0B 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 00 00 C2 [00:04:04]Write i2c OK [00:04:04]MH_I2C_Read... [00:04:04]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:04:04]Read from MH i2c: E2 [00:04:04]MH_I2C_Read... [00:04:04]Read from MH i2c: E2 03 00 [00:04:04]MH_I2C_Read... [00:04:04]Read from MH i2c: E2 03 00 D5 0B 00 90 00 54 [00:04:04]RAPDU: 90 00 [00:04:04]wFMCommunicate OK [00:04:04]wFMCommunicate request_size=4 [00:04:04]MH_SAM_APDU [00:04:04]CAPDU: 80 15 03 00 [00:04:04]Write to MH i2c: E2 08 00 D6 0B 80 15 03 00 00 00 00 00 62 [00:04:04]Write i2c OK [00:04:04]MH_I2C_Read... [00:04:05]Read from MH i2c: E2 [00:04:05]MH_I2C_Read... [00:04:05]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 250! [00:04:05]Read from MH i2c: E2 FD 00 [00:04:05]MH_I2C_Read... [00:04:05]Read from MH i2c: E2 FD 00 D6 0B 00 F1 04 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 10 04 04 00 C9 9B 00 00 0E 04 04 00 77 01 00 00 5E 04 04 00 8A 00 00 00 57 04 04 00 8C 00 00 00 AA 04 AA 04 6E 04 04 00 8A 00 00 00 69 04 9B 00 6F 04 04 00 8A 00 00 00 B1 04 03 00 90 CF 31 70 04 03 00 F8 F4 21 72 04 03 00 98 DA 0F 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 1C 4A 05 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 C7 70 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 90 00 8D [00:04:05]RAPDU: F1 04 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 10 04 04 00 C9 9B 00 00 0E 04 04 00 77 01 00 00 5E 04 04 00 8A 00 00 00 57 04 04 00 8C 00 00 00 AA 04 AA 04 6E 04 04 00 8A 00 00 00 69 04 9B 00 6F 04 04 00 8A 00 00 00 B1 04 03 00 90 CF 31 70 04 03 00 F8 F4 21 72 04 03 00 98 DA 0F 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 1C 4A 05 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 C7 70 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 90 00 [00:04:05]wFMCommunicate OK [00:04:05]SAM_PROTO_ProcessDocument answer len = 1265 [00:04:05]SAM_PROTO_ProcessDocument remain to read = 1017 [00:04:05]wFMCommunicate request_size=4 [00:04:05]MH_SAM_APDU [00:04:05]CAPDU: 80 17 00 00 [00:04:05]Write to MH i2c: E2 08 00 D7 0B 80 17 00 00 00 00 00 00 62 [00:04:05]Write i2c OK [00:04:05]MH_I2C_Read... [00:04:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:04:05]Read from MH i2c: E2 [00:04:05]MH_I2C_Read... [00:04:05]Read from MH i2c: E2 FD 00 [00:04:05]MH_I2C_Read... [00:04:05]Read from MH i2c: E2 FD 00 D7 0B 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 90 00 AB [00:04:06]RAPDU: 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 90 00 [00:04:06]wFMCommunicate OK [00:04:06]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:04:06]SAM_PROTO_ProcessDocument remain to read = 767 [00:04:06]wFMCommunicate request_size=4 [00:04:06]MH_SAM_APDU [00:04:06]CAPDU: 80 17 00 00 [00:04:06]Write to MH i2c: E2 08 00 D8 0B 80 17 00 00 00 00 00 00 63 [00:04:06]Write i2c OK [00:04:06]MH_I2C_Read... [00:04:06]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:04:06]Read from MH i2c: E2 [00:04:06]MH_I2C_Read... [00:04:06]Read from MH i2c: E2 FD 00 [00:04:06]MH_I2C_Read... [00:04:06]Read from MH i2c: E2 FD 00 D8 0B 00 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 C5 [00:04:06]RAPDU: 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 [00:04:06]wFMCommunicate OK [00:04:06]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:04:06]SAM_PROTO_ProcessDocument remain to read = 517 [00:04:06]wFMCommunicate request_size=4 [00:04:06]MH_SAM_APDU [00:04:06]CAPDU: 80 17 00 00 [00:04:06]Write to MH i2c: E2 08 00 D9 0B 80 17 00 00 00 00 00 00 64 [00:04:06]Write i2c OK [00:04:06]MH_I2C_Read... [00:04:06]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:04:06]Read from MH i2c: E2 [00:04:06]MH_I2C_Read... [00:04:06]Read from MH i2c: E2 FD 00 [00:04:06]MH_I2C_Read... [00:04:06]Read from MH i2c: E2 FD 00 D9 0B 00 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 90 00 EE [00:04:07]RAPDU: 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 90 00 [00:04:07]wFMCommunicate OK [00:04:07]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:04:07]SAM_PROTO_ProcessDocument remain to read = 267 [00:04:07]wFMCommunicate request_size=4 [00:04:07]MH_SAM_APDU [00:04:07]CAPDU: 80 17 00 00 [00:04:07]Write to MH i2c: E2 08 00 DA 0B 80 17 00 00 00 00 00 00 65 [00:04:07]Write i2c OK [00:04:07]MH_I2C_Read... [00:04:07]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:04:07]Read from MH i2c: E2 [00:04:07]MH_I2C_Read... [00:04:07]Read from MH i2c: E2 FD 00 [00:04:07]MH_I2C_Read... [00:04:07]Read from MH i2c: E2 FD 00 DA 0B 00 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 90 00 2D [00:04:07]RAPDU: 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 90 00 [00:04:07]wFMCommunicate OK [00:04:07]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:04:07]SAM_PROTO_ProcessDocument remain to read = 17 [00:04:07]wFMCommunicate request_size=4 [00:04:07]MH_SAM_APDU [00:04:07]CAPDU: 80 17 00 00 [00:04:07]Write to MH i2c: E2 08 00 DB 0B 80 17 00 00 00 00 00 00 66 [00:04:07]Write i2c OK [00:04:07]MH_I2C_Read... [00:04:07]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 17! [00:04:07]Read from MH i2c: E2 [00:04:07]MH_I2C_Read... [00:04:07]Read from MH i2c: E2 14 00 [00:04:07]MH_I2C_Read... [00:04:07]Read from MH i2c: E2 14 00 DB 0B 00 01 00 06 F7 03 00 00 35 04 06 00 5D 5C 48 A5 3F F9 90 00 89 [00:04:07]RAPDU: 01 00 06 F7 03 00 00 35 04 06 00 5D 5C 48 A5 3F F9 90 00 [00:04:07]wFMCommunicate OK [00:04:07]SAM_PROTO_ProcessDocument received (without SW) 17 bytes [00:04:07]SAM_PROTO_ProcessDocument done [00:04:07]1209 (1) - 1.0 - номер версии ФФД [00:04:07]1041 (16) - 0000000000874882 - номер ФМ [00:04:07]1040 (4) - 39881 - номер ФД [00:04:07]1038 (4) - 375 - номер смены [00:04:07]1118 (4) - 138 - количество кассовых чеков за смену [00:04:07]1111 (4) - 140 - общее количество ФД за смену [00:04:07]1194 (1194) - счетчики итогов смены [00:04:07] 1134 (4) - 138 - количество чеков со всеми признаками расчетов [00:04:07] 1129 (155) - счетчики операций «приход» [00:04:07] 1135 (4) - 138 - количество чеков по признаку расчетов [00:04:07] 1201 (3) - 32644.00 - общая итоговая сумма в чеках [00:04:07] 1136 (3) - 22254.00 - итоговая сумма в чеках наличными [00:04:07] 1138 (3) - 10390.00 - итоговая сумма в чеках безналичными [00:04:07] 1024 (122) - суммы налогов [00:04:07] 1006 (9) - суммы НДС [00:04:07] 1010 (1) - 0% - код ставки НДС [00:04:07] 1011 (0) - 0.00 - сумма НДС по ставке [00:04:07] 1006 (12) - суммы НДС [00:04:07] 1010 (1) - 12% - код ставки НДС [00:04:07] 1011 (3) - 3466.52 - сумма НДС по ставке [00:04:07] 1007 (9) - суммы НСП [00:04:07] 1014 (1) - 0% - код ставки НСП [00:04:07] 1015 (0) - 0.00 - сумма НСП по ставке [00:04:07] 1007 (11) - суммы НСП [00:04:07] 1014 (1) - 1% - код ставки НСП [00:04:07] 1015 (2) - 288.71 - сумма НСП по ставке [00:04:07] 1007 (9) - суммы НСП [00:04:07] 1014 (1) - 2% - код ставки НСП [00:04:07] 1015 (0) - 0.00 - сумма НСП по ставке [00:04:07] 1007 (9) - суммы НСП [00:04:07] 1014 (1) - 3% - код ставки НСП [00:04:07] 1015 (0) - 0.00 - сумма НСП по ставке [00:04:07] 1007 (9) - суммы НСП [00:04:07] 1014 (1) - 5% - код ставки НСП [00:04:07] 1015 (0) - 0.00 - сумма НСП по ставке [00:04:07] 1007 (9) - суммы НСП [00:04:07] 1014 (1) - 0,50% - код ставки НСП [00:04:07] 1015 (0) - 0.00 - сумма НСП по ставке [00:04:07] 1007 (9) - суммы НСП [00:04:07] 1014 (1) - 1,50% - код ставки НСП [00:04:07] 1015 (0) - 0.00 - сумма НСП по ставке [00:04:07] 1130 (141) - счетчики операций «возврат прихода» [00:04:07] 1135 (4) - 0 - количество чеков по признаку расчетов [00:04:07] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:04:07] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:04:07] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:04:07] 1024 (117) - суммы налогов [00:04:07] 1006 (9) - суммы НДС [00:04:07] 1010 (1) - 0% - код ставки НДС [00:04:07] 1011 (0) - 0.00 - сумма НДС по ставке [00:04:07] 1006 (9) - суммы НДС [00:04:07] 1010 (1) - 12% - код ставки НДС [00:04:07] 1011 (0) - 0.00 - сумма НДС по ставке [00:04:07] 1007 (9) - суммы НСП [00:04:07] 1014 (1) - 0% - код ставки НСП [00:04:07] 1015 (0) - 0.00 - сумма НСП по ставке [00:04:07] 1007 (9) - суммы НСП [00:04:07] 1014 (1) - 1% - код ставки НСП [00:04:07] 1015 (0) - 0.00 - сумма НСП по ставке [00:04:07] 1007 (9) - суммы НСП [00:04:07] 1014 (1) - 2% - код ставки НСП [00:04:08] 1015 (0) - 0.00 - сумма НСП по ставке [00:04:08] 1007 (9) - суммы НСП [00:04:08] 1014 (1) - 3% - код ставки НСП [00:04:08] 1015 (0) - 0.00 - сумма НСП по ставке [00:04:08] 1007 (9) - суммы НСП [00:04:08] 1014 (1) - 5% - код ставки НСП [00:04:08] 1015 (0) - 0.00 - сумма НСП по ставке [00:04:08] 1007 (9) - суммы НСП [00:04:08] 1014 (1) - 0,50% - код ставки НСП [00:04:08] 1015 (0) - 0.00 - сумма НСП по ставке [00:04:08] 1007 (9) - суммы НСП [00:04:08] 1014 (1) - 1,50% - код ставки НСП [00:04:08] 1015 (0) - 0.00 - сумма НСП по ставке [00:04:08] 1131 (141) - счетчики операций «расход» [00:04:08] 1135 (4) - 0 - количество чеков по признаку расчетов [00:04:08] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:04:08] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:04:08] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:04:08] 1024 (117) - суммы налогов [00:04:08] 1006 (9) - суммы НДС [00:04:08] 1010 (1) - 0% - код ставки НДС [00:04:08] 1011 (0) - 0.00 - сумма НДС по ставке [00:04:08] 1006 (9) - суммы НДС [00:04:08] 1010 (1) - 12% - код ставки НДС [00:04:08] 1011 (0) - 0.00 - сумма НДС по ставке [00:04:08] 1007 (9) - суммы НСП [00:04:08] 1014 (1) - 0% - код ставки НСП [00:04:08] 1015 (0) - 0.00 - сумма НСП по ставке [00:04:08] 1007 (9) - суммы НСП [00:04:08] 1014 (1) - 1% - код ставки НСП [00:04:08] 1015 (0) - 0.00 - сумма НСП по ставке [00:04:08] 1007 (9) - суммы НСП [00:04:08] 1014 (1) - 2% - код ставки НСП [00:04:08] 1015 (0) - 0.00 - сумма НСП по ставке [00:04:08] 1007 (9) - суммы НСП [00:04:08] 1014 (1) - 3% - код ставки НСП [00:04:08] 1015 (0) - 0.00 - сумма НСП по ставке [00:04:08] 1007 (9) - суммы НСП [00:04:08] 1014 (1) - 5% - код ставки НСП [00:04:08] 1015 (0) - 0.00 - сумма НСП по ставке [00:04:08] 1007 (9) - суммы НСП [00:04:08] 1014 (1) - 0,50% - код ставки НСП [00:04:08] 1015 (0) - 0.00 - сумма НСП по ставке [00:04:08] 1007 (9) - суммы НСП [00:04:08] 1014 (1) - 1,50% - код ставки НСП [00:04:08] 1015 (0) - 0.00 - сумма НСП по ставке [00:04:08] 1132 (141) - счетчики операций «возврат расхода» [00:04:08] 1135 (4) - 0 - количество чеков по признаку расчетов [00:04:08] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:04:08] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:04:08] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:04:08] 1024 (117) - суммы налогов [00:04:08] 1006 (9) - суммы НДС [00:04:08] 1010 (1) - 0%OFD Sender: No OFD packet to send [00:04:08] - код ставки НДС [00:04:08] 1011 (0) - 0.00 - сумма НДС по ставке [00:04:08] 1006 (9) - суммы НДС [00:04:08] 1010 (1) - 12% - код ставки НДС [00:04:08] 1011 (0) - 0.00 - сумма НДС по ставке [00:04:08] 1007 (9) - суммы НСП [00:04:08] 1014 (1) - 0% - код ставки НСП [00:04:08] 1015 (0) - 0.00 - сумма НСП по ставке [00:04:08] 1007 (9) - суммы НСП [00:04:08] 1014 (1) - 1% - код ставки НСП [00:04:08] 1015 (0) - 0.00 - сумма НСП по ставке [00:04:08] 1007 (9) - суммы НСП [00:04:08] 1014 (1) - 2% - код ставки НСП [00:04:08] 1015 (0) - 0.00 - сумма НСП по ставке [00:04:08] 1007 (9) - суммы НСП [00:04:08] 1014 (1) - 3% - код ставки НСП [00:04:08] 1015 (0) - 0.00 - сумма НСП по ставке [00:04:08] 1007 (9) - суммы НСП [00:04:08] 1014 (1) - 5% - код ставки НСП [00:04:08] 1015 (0) - 0.00 - сумма НСП по ставке [00:04:08] 1007 (9) - суммы НСП [00:04:08] 1014 (1) - 0,50% - код ставки НСП [00:04:08] 1015 (0) - 0.00 - сумма НСП по ставке [00:04:08] 1007 (9) - суммы НСП [00:04:08] 1014 (1) - 1,50% - код ставки НСП [00:04:08] 1015 (0) - 0.00 - сумма НСП по ставке [00:04:08] 1133 (588) - - счетчики коррекции - не используются [00:04:08]1077 (6) - 102650937163769 - ФПД [00:04:08]SetTLVBufToDocument [00:04:08]Processing tag 1209 (04B9) [00:04:08]Malloc new data [00:04:08]Processing tag 1041 (0411) [00:04:08]Processing tag 1040 (0410) [00:04:08]Malloc new data [00:04:08]Processing tag 1038 (040E) [00:04:08]Malloc new data [00:04:08]Processing tag 1118 (045E) [00:04:08]Malloc new data [00:04:08]Processing tag 1111 (0457) [00:04:08]Malloc new data [00:04:08]Processing tag 1194 (04AA) [00:04:08]Load OK [00:04:08]SetTLVBufToDocument [00:04:08]Processing tag 1134 (046E) [00:04:08]Malloc new data [00:04:08]Processing tag 1129 (0469) [00:04:08]Load OK [00:04:08]SetTLVBufToDocument [00:04:08]Processing tag 1135 (046F) [00:04:08]Malloc new data [00:04:08]Processing tag 1201 (04B1) [00:04:08]Malloc new data [00:04:08]Processing tag 1136 (0470) [00:04:08]Malloc new data [00:04:08]Processing tag 1138 (0472) [00:04:08]Malloc new data [00:04:08]Processing tag 1024 (0400) [00:04:08]Load OK [00:04:08]SetTLVBufToDocument [00:04:08]Processing tag 1006 (03EE) [00:04:08]Load OK [00:04:08]SetTLVBufToDocument [00:04:08]Processing tag 1010 (03F2) [00:04:08]Malloc new data [00:04:08]Processing tag 1011 (03F3) [00:04:08]Malloc new data [00:04:08]SetTLVBufToDocument err=0 [00:04:08]Processing tag 1006 (03EE) [00:04:08]Load OK [00:04:08]SetTLVBufToDocument [00:04:08]Processing tag 1010 (03F2) [00:04:08]Malloc new data [00:04:08]Processing tag 1011 (03F3) [00:04:08]Malloc new data [00:04:08]SetTLVBufToDocument err=0 [00:04:08]Processing tag 1007 (03EF) [00:04:08]Load OK [00:04:08]SetTLVBufToDocument [00:04:08]Processing tag 1014 (03F6) [00:04:08]Malloc new data [00:04:08]Processing tag 1015 (03F7) [00:04:08]Malloc new data [00:04:08]SetTLVBufToDocument err=0 [00:04:08]Processing tag 1007 (03EF) [00:04:08]Load OK [00:04:08]SetTLVBufToDocument [00:04:08]Processing tag 1014 (03F6) [00:04:08]Malloc new data [00:04:08]Processing tag 1015 (03F7) [00:04:08]Malloc new data [00:04:08]SetTLVBufToDocument err=0 [00:04:08]Processing tag 1007 (03EF) [00:04:08]Load OK [00:04:08]SetTLVBufToDocument [00:04:08]Processing tag 1014 (03F6) [00:04:08]Malloc new data [00:04:08]Processing tag 1015 (03F7) [00:04:08]Malloc new data [00:04:08]SetTLVBufToDocument err=0 [00:04:08]Processing tag 1007 (03EF) [00:04:08]Load OK [00:04:08]SetTLVBufToDocument [00:04:08]Processing tag 1014 (03F6) [00:04:08]Malloc new data [00:04:08]Processing tag 1015 (03F7) [00:04:08]Malloc new data [00:04:08]SetTLVBufToDocument err=0 [00:04:08]Processing tag 1007 (03EF) [00:04:08]Load OK [00:04:08]SetTLVBufToDocument [00:04:08]Processing tag 1014 (03F6) [00:04:08]Malloc new data [00:04:08]Processing tag 1015 (03F7) [00:04:08]Malloc new data [00:04:08]SetTLVBufToDocument err=0 [00:04:08]Processing tag 1007 (03EF) [00:04:08]Load OK [00:04:08]SetTLVBufToDocument [00:04:08]Processing tag 1014 (03F6) [00:04:08]Malloc new data [00:04:08]Processing tag 1015 (03F7) [00:04:08]Malloc new data [00:04:08]SetTLVBufToDocument err=0 [00:04:08]Processing tag 1007 (03EF) [00:04:08]Load OK [00:04:08]SetTLVBufToDocument [00:04:08]Processing tag 1014 (03F6) [00:04:08]Malloc new data [00:04:08]Processing tag 1015 (03F7) [00:04:08]Malloc new data [00:04:08]SetTLVBufToDocument err=0 [00:04:08]SetTLVBufToDocument err=0 [00:04:08]SetTLVBufToDocument err=0 [00:04:08]Processing tag 1130 (046A) [00:04:08]Load OK [00:04:08]SetTLVBufToDocument [00:04:08]Processing tag 1135 (046F) [00:04:08]Malloc new data [00:04:08]Processing tag 1201 (04B1) [00:04:08]Malloc new data [00:04:08]Processing tag 1136 (0470) [00:04:08]Malloc new data [00:04:08]Processing tag 1138 (0472) [00:04:08]Malloc new data [00:04:08]Processing tag 1024 (0400) [00:04:08]Load OK [00:04:08]SetTLVBufToDocument [00:04:08]Processing tag 1006 (03EE) [00:04:08]Load OK [00:04:08]SetTLVBufToDocument [00:04:08]Processing tag 1010 (03F2) [00:04:08]Malloc new data [00:04:08]Processing tag 1011 (03F3) [00:04:08]Malloc new data [00:04:08]SetTLVBufToDocument err=0 [00:04:08]Processing tag 1006 (03EE) [00:04:08]Load OK [00:04:08]SetTLVBufToDocument [00:04:08]Processing tag 1010 (03F2) [00:04:08]Malloc new data [00:04:08]Processing tag 1011 (03F3) [00:04:08]Malloc new data [00:04:08]SetTLVBufToDocument err=0 [00:04:08]Processing tag 1007 (03EF) [00:04:08]Load OK [00:04:08]SetTLVBufToDocument [00:04:08]Processing tag 1014 (03F6) [00:04:08]Malloc new data [00:04:08]Processing tag 1015 (03F7) [00:04:08]Malloc new data [00:04:08]SetTLVBufToDocument err=0 [00:04:08]Processing tag 1007 (03EF) [00:04:08]Load OK [00:04:08]SetTLVBufToDocument [00:04:08]Processing tag 1014 (03F6) [00:04:08]Malloc new data [00:04:08]Processing tag 1015 (03F7) [00:04:08]Malloc new data [00:04:08]SetTLVBufToDocument err=0 [00:04:08]Processing tag 1007 (03EF) [00:04:08]Load OK [00:04:08]SetTLVBufToDocument [00:04:08]Processing tag 1014 (03F6) [00:04:08]Malloc new data [00:04:08]Processing tag 1015 (03F7) [00:04:08]Malloc new data [00:04:08]SetTLVBufToDocument err=0 [00:04:08]Processing tag 1007 (03EF) [00:04:08]Load OK [00:04:08]SetTLVBufToDocument [00:04:08]Processing tag 1014 (03F6) [00:04:08]Malloc new data [00:04:08]Processing tag 1015 (03F7) [00:04:08]Malloc new data [00:04:08]SetTLVBufToDocument err=0 [00:04:08]Processing tag 1007 (03EF) [00:04:08]Load OK [00:04:08]SetTLVBufToDocument [00:04:08]Processing tag 1014 (03F6) [00:04:08]Malloc new data [00:04:08]Processing tag 1015 (03F7) [00:04:08]Malloc new data [00:04:08]SetTLVBufToDocument err=0 [00:04:08]Processing tag 1007 (03EF) [00:04:08]Load OK [00:04:08]SetTLVBufToDocument [00:04:08]Processing tag 1014 (03F6) [00:04:08]Malloc new data [00:04:08]Processing tag 1015 (03F7) [00:04:08]Malloc new data [00:04:08]SetTLVBufToDocument err=0 [00:04:08]Processing tag 1007 (03EF) [00:04:08]Load OK [00:04:08]SetTLVBufToDocument [00:04:08]Processing tag 1014 (03F6) [00:04:08]Malloc new data [00:04:08]Processing tag 1015 (03F7) [00:04:08]Malloc new data [00:04:08]SetTLVBufToDocument err=0 [00:04:08]SetTLVBufToDocument err=0 [00:04:08]SetTLVBufToDocument err=0 [00:04:08]Processing tag 1131 (046B) [00:04:08]Load OK [00:04:08]SetTLVBufToDocument [00:04:08]Processing tag 1135 (046F) [00:04:08]Malloc new data [00:04:08]Processing tag 1201 (04B1) [00:04:08]Malloc new data [00:04:08]Processing tag 1136 (0470) [00:04:08]Malloc new data [00:04:08]Processing tag 1138 (0472) [00:04:08]Malloc new data [00:04:08]Processing tag 1024 (0400) [00:04:08]Load OK [00:04:08]SetTLVBufToDocument [00:04:08]Processing tag 1006 (03EE) [00:04:08]Load OK [00:04:08]SetTLVBufToDocument [00:04:08]Processing tag 1010 (03F2) [00:04:08]Malloc new data [00:04:08]Processing tag 1011 (03F3) [00:04:08]Malloc new data [00:04:08]SetTLVBufToDocument err=0 [00:04:08]Processing tag 1006 (03EE) [00:04:08]Load OK [00:04:08]SetTLVBufToDocument [00:04:08]Processing tag 1010 (03F2) [00:04:08]Malloc new data [00:04:08]Processing tag 1011 (03F3) [00:04:08]Malloc new data [00:04:08]SetTLVBufToDocument err=0 [00:04:08]Processing tag 1007 (03EF) [00:04:08]Load OK [00:04:08]SetTLVBufToDocument [00:04:08]Processing tag 1014 (03F6) [00:04:08]Malloc new data [00:04:08]Processing tag 1015 (03F7) [00:04:08]Malloc new data [00:04:08]SetTLVBufToDocument err=0 [00:04:08]Processing tag 1007 (03EF) [00:04:08]Load OK [00:04:08]SetTLVBufToDocument [00:04:08]Processing tag 1014 (03F6) [00:04:08]Malloc new data [00:04:08]Processing tag 1015 (03F7) [00:04:08]Malloc new data [00:04:08]SetTLVBufToDocument err=0 [00:04:08]Processing tag 1007 (03EF) [00:04:08]Load OK [00:04:08]SetTLVBufToDocument [00:04:08]Processing tag 1014 (03F6) [00:04:08]Malloc new data [00:04:08]Processing tag 1015 (03F7) [00:04:08]Malloc new data [00:04:08]SetTLVBufToDocument err=0 [00:04:08]Processing tag 1007 (03EF) [00:04:08]Load OK [00:04:08]SetTLVBufToDocument [00:04:08]Processing tag 1014 (03F6) [00:04:08]Malloc new data [00:04:08]Processing tag 1015 (03F7) [00:04:08]Malloc new data [00:04:08]SetTLVBufToDocument err=0 [00:04:08]Processing tag 1007 (03EF) [00:04:08]Load OK [00:04:08]SetTLVBufToDocument [00:04:08]Processing tag 1014 (03F6) [00:04:08]Malloc new data [00:04:08]Processing tag 1015 (03F7) [00:04:08]Malloc new data [00:04:08]SetTLVBufToDocument err=0 [00:04:08]Processing tag 1007 (03EF) [00:04:08]Load OK [00:04:08]SetTLVBufToDocument [00:04:08]Processing tag 1014 (03F6) [00:04:08]Malloc new data [00:04:08]Processing tag 1015 (03F7) [00:04:08]Malloc new data [00:04:08]SetTLVBufToDocument err=0 [00:04:08]Processing tag 1007 (03EF) [00:04:08]Load OK [00:04:08]SetTLVBufToDocument [00:04:08]Processing tag 1014 (03F6) [00:04:08]Malloc new data [00:04:08]Processing tag 1015 (03F7) [00:04:08]Malloc new data [00:04:08]SetTLVBufToDocument err=0 [00:04:08]SetTLVBufToDocument err=0 [00:04:08]SetTLVBufToDocument err=0 [00:04:08]Processing tag 1132 (046C) [00:04:08]Load OK [00:04:08]SetTLVBufToDocument [00:04:08]Processing tag 1135 (046F) [00:04:08]Malloc new data [00:04:08]Processing tag 1201 (04B1) [00:04:08]Malloc new data [00:04:08]Processing tag 1136 (0470) [00:04:08]Malloc new data [00:04:08]Processing tag 1138 (0472) [00:04:08]Malloc new data [00:04:08]Processing tag 1024 (0400) [00:04:08]Load OK [00:04:08]SetTLVBufToDocument [00:04:08]Processing tag 1006 (03EE) [00:04:08]Load OK [00:04:08]SetTLVBufToDocument [00:04:08]Processing tag 1010 (03F2) [00:04:08]Malloc new data [00:04:08]Processing tag 1011 (03F3) [00:04:08]Malloc new data [00:04:08]SetTLVBufToDocument err=0 [00:04:08]Processing tag 1006 (03EE) [00:04:08]Load OK [00:04:08]SetTLVBufToDocument [00:04:08]Processing tag 1010 (03F2) [00:04:08]Malloc new data [00:04:08]Processing tag 1011 (03F3) [00:04:08]Malloc new data [00:04:08]SetTLVBufToDocument err=0 [00:04:08]Processing tag 1007 (03EF) [00:04:08]Load OK [00:04:08]SetTLVBufToDocument [00:04:08]Processing tag 1014 (03F6) [00:04:08]Malloc new data [00:04:08]Processing tag 1015 (03F7) [00:04:08]Malloc new data [00:04:08]SetTLVBufToDocument err=0 [00:04:08]Processing tag 1007 (03EF) [00:04:08]Load OK [00:04:08]SetTLVBufToDocument [00:04:08]Processing tag 1014 (03F6) [00:04:08]Malloc new data [00:04:08]Processing tag 1015 (03F7) [00:04:08]Malloc new data [00:04:08]SetTLVBufToDocument err=0 [00:04:08]Processing tag 1007 (03EF) [00:04:08]Load OK [00:04:08]SetTLVBufToDocument [00:04:08]Processing tag 1014 (03F6) [00:04:08]Malloc new data [00:04:08]Processing tag 1015 (03F7) [00:04:08]Malloc new data [00:04:08]SetTLVBufToDocument err=0 [00:04:08]Processing tag 1007 (03EF) [00:04:08]Load OK [00:04:08]SetTLVBufToDocument [00:04:08]Processing tag 1014 (03F6) [00:04:08]Malloc new data [00:04:08]Processing tag 1015 (03F7) [00:04:08]Malloc new data [00:04:08]SetTLVBufToDocument err=0 [00:04:08]Processing tag 1007 (03EF) [00:04:08]Load OK [00:04:08]SetTLVBufToDocument [00:04:08]Processing tag 1014 (03F6) [00:04:08]Malloc new data [00:04:08]Processing tag 1015 (03F7) [00:04:08]Malloc new data [00:04:08]SetTLVBufToDocument err=0 [00:04:08]Processing tag 1007 (03EF) [00:04:08]Load OK [00:04:08]SetTLVBufToDocument [00:04:08]Processing tag 1014 (03F6) [00:04:08]Malloc new data [00:04:08]Processing tag 1015 (03F7) [00:04:08]Malloc new data [00:04:08]SetTLVBufToDocument err=0 [00:04:08]Processing tag 1007 (03EF) [00:04:08]Load OK [00:04:08]SetTLVBufToDocument [00:04:08]Processing tag 1014 (03F6) [00:04:08]Malloc new data [00:04:08]Processing tag 1015 (03F7) [00:04:08]Malloc new data [00:04:08]SetTLVBufToDocument err=0 [00:04:08]SetTLVBufToDocument err=0 [00:04:08]SetTLVBufToDocument err=0 [00:04:08]Processing tag 1133 (046D) [00:04:08]Malloc new data [00:04:08]SetTLVBufToDocument err=0 [00:04:08]Processing tag 1077 (0435) [00:04:08]Malloc new data [00:04:08]SetTLVBufToDocument err=0 [00:04:08]Malloc new data [00:04:08]SAM_PROTO_GetFMData [00:04:08]wFMCommunicate request_size=4 [00:04:08]MH_SAM_APDU [00:04:08]CAPDU: 80 13 03 00 [00:04:08]Write to MH i2c: E2 08 00 DC 0B 80 13 03 00 00 00 00 00 66 [00:04:08]Write i2c OK [00:04:08]MH_I2C_Read... [00:04:09]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:04:09]Read from MH i2c: E2 [00:04:09]MH_I2C_Read... [00:04:09]Read from MH i2c: E2 FD 00 [00:04:09]MH_I2C_Read... [00:04:09]Read from MH i2c: E2 FD 00 DC 0B 00 C2 04 85 04 BE 04 6E 04 04 00 DA 98 00 00 69 04 A0 00 6F 04 04 00 A7 98 00 00 B1 04 04 00 B2 45 14 36 70 04 04 00 5C DA 0C 2B 72 04 04 00 56 6B 07 0B 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 1C BE 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 C9 6E 7A EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9C 00 6F 04 04 00 33 00 00 00 B1 04 03 00 70 19 85 70 04 03 00 F4 09 84 72 04 03 00 7C 0F 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 AF 22 0E EF 03 09 00 F6 03 90 00 C4 [00:04:09]RAPDU: C2 04 85 04 BE 04 6E 04 04 00 DA 98 00 00 69 04 A0 00 6F 04 04 00 A7 98 00 00 B1 04 04 00 B2 45 14 36 70 04 04 00 5C DA 0C 2B 72 04 04 00 56 6B 07 0B 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 1C BE 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 C9 6E 7A EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9C 00 6F 04 04 00 33 00 00 00 B1 04 03 00 70 19 85 70 04 03 00 F4 09 84 72 04 03 00 7C 0F 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 AF 22 0E EF 03 09 00 F6 03 90 00 [00:04:09]wFMCommunicate OK [00:04:09]wFMCommunicate request_size=4 [00:04:09]MH_SAM_APDU [00:04:09]CAPDU: 80 17 00 00 [00:04:09]Write to MH i2c: E2 08 00 DD 0B 80 17 00 00 00 00 00 00 68 [00:04:09]Write i2c OK [00:04:09]MH_I2C_Read... [00:04:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:04:09]Read from MH i2c: E2 [00:04:09]MH_I2C_Read... [00:04:09]Read from MH i2c: E2 FD 00 [00:04:09]MH_I2C_Read... [00:04:09]Read from MH i2c: E2 FD 00 DD 0B 00 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 8B 2D 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 90 00 4E [00:04:10]RAPDU: 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 8B 2D 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 90 00 [00:04:10]wFMCommunicate OK [00:04:10]wFMCommunicate request_size=4 [00:04:10]MH_SAM_APDU [00:04:10]CAPDU: 80 17 00 00 [00:04:10]Write to MH i2c: E2 08 00 DE 0B 80 17 00 00 00 00 00 00 69 [00:04:10]Write i2c OK [00:04:10]MH_I2C_Read... [00:04:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:04:10]Read from MH i2c: E2 [00:04:10]MH_I2C_Read... [00:04:10]Read from MH i2c: E2 FD 00 [00:04:10]MH_I2C_Read... [00:04:10]Read from MH i2c: E2 FD 00 DE 0B 00 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 17 [00:04:10]RAPDU: 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:04:10]wFMCommunicate OK [00:04:10]wFMCommunicate request_size=4 [00:04:10]MH_SAM_APDU [00:04:10]CAPDU: 80 17 00 00 [00:04:10]Write to MH i2c: E2 08 00 DF 0B 80 17 00 00 00 00 00 00 6A [00:04:10]Write i2c OK [00:04:10]MH_I2C_Read... [00:04:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:04:11]Read from MH i2c: E2 [00:04:11]MH_I2C_Read... [00:04:11]Read from MH i2c: E2 FD 00 [00:04:11]MH_I2C_Read... [00:04:11]Read from MH i2c: E2 FD 00 DF 0B 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 E5 [00:04:11]RAPDU: F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:04:11]wFMCommunicate OK [00:04:11]wFMCommunicate request_size=4 [00:04:11]MH_SAM_APDU [00:04:11]CAPDU: 80 17 00 00 [00:04:11]Write to MH i2c: E2 08 00 E0 0B 80 17 00 00 00 00 00 00 6B [00:04:11]Write i2c OK [00:04:11]MH_I2C_Read... [00:04:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 220! [00:04:11]Read from MH i2c: E2 [00:04:11]MH_I2C_Read... [00:04:11]Read from MH i2c: E2 DF 00 [00:04:11]MH_I2C_Read... [00:04:11]Read from MH i2c: E2 DF 00 E0 0B 00 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 4B [00:04:11]RAPDU: 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:04:11]wFMCommunicate OK [00:04:11]SAM_PROTO_GetFMData done [00:04:11]Malloc new data [00:04:11]Malloc new data [00:04:11]Malloc new data [00:04:11]Malloc new data [00:04:11]KKMLoadAndSignCloseShiftData err=0 [00:04:11]Отчет о закрытии смены ФФД: 1.0 ИНН: 02508201610067 Кассир: Шаршеев А 03.06.2024 00:04 Смена: 375 РНМ: 0000000000092680 ЗНМ: 0300000037 СНО: Общий режим Чеков за смену: 138 ФД за смену: 140 Всего чеков: 138 ИТОГИ ПРИХОД Чеков: 138 Общий итог: 32644.00 Итого наличными: 22254.00 Итого безнал.: 10390.00 НДС 0% : 0.00 НДС 12% : 3466.52 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 288.71 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 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 Нал. в кассе: 22254.00 НС Приход: 9072982.26 НС Возвр.Прихода: 87228.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФД: 39881 ФМ: 0000000000874882 ФПД: 102650937163769 [00:04:11]StoreToDocumentArchive [00:04:11]shift 375 fd 39881 [00:04:11]save to /storage/0375/doc_00039881 [00:04:11]save last doc name /storage/0375/doc_00039881 to /storage/kkm_last_doc_name [00:04:11]save OK [00:04:11]Clear old archive folders... [00:04:11]Remove dir /storage/0266 [00:04:11]opendir ok [00:04:11]file . [00:04:11]file .. [00:04:11]file doc_1717373003 [00:04:11]remove file /storage/0266/doc_1717373003 [00:04:11]remove dir /storage/0266 [00:04:11]NVStorageSaveData kkm_registers [00:04:11]File name is /storage/kkm_registers [00:04:11]Write 24 bytes [00:04:11]NVStorageSaveData done [00:04:11]NVStorageSaveData kkm_registers [00:04:11]File name is /storage/kkm_registers [00:04:11]Write 24 bytes [00:04:11]NVStorageSaveData done [00:04:11]ProcessDocumentItem done err = 0, tmpTLVsize=1375 [00:04:11]tlvbuf is 00D581B0 [00:04:11]SAM_PROTO_ClearQueue [00:04:11]wFMCommunicate request_size=4 [00:04:11]MH_SAM_APDU [00:04:11]CAPDU: 80 09 00 00 [00:04:11]Write to MH i2c: E2 08 00 E1 0B 80 09 00 00 00 00 00 00 5E [00:04:11]Write i2c OK [00:04:11]MH_I2C_Read... [00:04:12]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:04:12]Read from MH i2c: E2 [00:04:12]MH_I2C_Read... [00:04:12]Read from MH i2c: E2 03 00 [00:04:12]MH_I2C_Read... [00:04:12]Read from MH i2c: E2 03 00 E1 0B 00 90 00 60 [00:04:12]RAPDU: 90 00 [00:04:12]wFMCommunicate OK [00:04:12]SAM_PROTO_ClearQueue done [00:04:12]KKMCreateOFDPacket [00:04:12]OFDProtocolAddRootSTLVToBuf [00:04:12]FM_MakeSignedData [00:04:12]FM_MakeSignedData [00:04:12]SAM_PROTO_SignData [00:04:12]wFMCommunicate request_size=4 [00:04:12]MH_SAM_APDU [00:04:12]CAPDU: 80 0D 01 02 [00:04:12]Write to MH i2c: E2 08 00 E2 0B 80 0D 01 02 00 00 00 00 66 [00:04:12]Write i2c OK [00:04:12]MH_I2C_Read... [00:04:12]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:04:12]Read from MH i2c: E2 [00:04:12]MH_I2C_Read... [00:04:12]Read from MH i2c: E2 03 00 [00:04:12]MH_I2C_Read... [00:04:12]Read from MH i2c: E2 03 00 E2 0B 00 90 00 61 [00:04:12]RAPDU: 90 00 [00:04:12]wFMCommunicate OK [00:04:12]wFMCommunicate request_size=255 [00:04:12]MH_SAM_APDU [00:04:12]CAPDU: 80 0D 02 02 FA 05 00 5F 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 11 00 D0 A8 D0 B0 D1 80 D1 88 D0 B5 D0 B5 D0 B2 20 D0 90 F4 03 04 00 76 08 5D 66 0E 04 04 00 77 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 5E 04 04 00 8A 00 00 00 57 04 04 00 8C 00 00 00 AA 04 D5 04 6E 04 04 00 8A 00 00 00 69 04 A2 00 6F 04 04 00 8A 00 00 00 B1 04 03 00 90 CF 31 70 04 03 00 F8 F4 21 72 04 03 00 98 DA 0F 00 04 81 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 1C 4A 05 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 [00:04:12]Write to MH i2c: E2 02 01 E3 0B 80 0D 02 02 FA 00 05 00 5F 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 11 00 D0 A8 D0 B0 D1 80 D1 88 D0 B5 D0 B5 D0 B2 20 D0 90 F4 03 04 00 76 08 5D 66 0E 04 04 00 77 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 5E 04 04 00 8A 00 00 00 57 04 04 00 8C 00 00 00 AA 04 D5 04 6E 04 04 00 8A 00 00 00 69 04 A2 00 6F 04 04 00 8A 00 00 00 B1 04 03 00 90 CF 31 70 04 03 00 F8 F4 21 72 04 03 00 98 DA 0F 00 04 81 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 1C 4A 05 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 00 00 CC [00:04:12]Write i2c OK [00:04:12]MH_I2C_Read... [00:04:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:04:12]Read from MH i2c: E2 [00:04:12]MH_I2C_Read... [00:04:12]Read from MH i2c: E2 03 00 [00:04:12]MH_I2C_Read... [00:04:12]Read from MH i2c: E2 03 00 E3 0B 00 90 00 62 [00:04:12]RAPDU: 90 00 [00:04:12]wFMCommunicate OK [00:04:12]wFMCommunicate request_size=255 [00:04:12]MH_SAM_APDU [00:04:12]CAPDU: 80 0D 02 02 FA 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 C7 70 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 [00:04:12]Write to MH i2c: E2 02 01 E4 0B 80 0D 02 02 FA 00 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 C7 70 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 00 00 15 [00:04:13]Write i2c OK [00:04:13]MH_I2C_Read... [00:04:13]OFD Sender: No OFD packet to send [00:04:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:04:13]Read from MH i2c: E2 [00:04:13]MH_I2C_Read... [00:04:13]Read from MH i2c: E2 03 00 [00:04:13]MH_I2C_Read... [00:04:13]Read from MH i2c: E2 03 00 E4 0B 00 90 00 63 [00:04:13]RAPDU: 90 00 [00:04:13]wFMCommunicate OK [00:04:13]wFMCommunicate request_size=255 [00:04:13]MH_SAM_APDU [00:04:13]CAPDU: 80 0D 02 02 FA 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 [00:04:13]Write to MH i2c: E2 02 01 E5 0B 80 0D 02 02 FA 00 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 00 00 A4 [00:04:13]Write i2c OK [00:04:13]MH_I2C_Read... [00:04:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:04:14]Read from MH i2c: E2 [00:04:14]MH_I2C_Read... [00:04:14]Read from MH i2c: E2 03 00 [00:04:14]MH_I2C_Read... [00:04:14]Read from MH i2c: E2 03 00 E5 0B 00 90 00 64 [00:04:14]RAPDU: 90 00 [00:04:14]wFMCommunicate OK [00:04:14]wFMCommunicate request_size=255 [00:04:14]MH_SAM_APDU [00:04:14]CAPDU: 80 0D 02 02 FA 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 [00:04:14]Write to MH i2c: E2 02 01 E6 0B 80 0D 02 02 FA 00 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 00 00 B2 [00:04:14]Write i2c OK [00:04:14]MH_I2C_Read... [00:04:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:04:14]Read from MH i2c: E2 [00:04:14]MH_I2C_Read... [00:04:14]Read from MH i2c: E2 03 00 [00:04:14]MH_I2C_Read... [00:04:14]Read from MH i2c: E2 03 00 E6 0B 00 90 00 65 [00:04:14]RAPDU: 90 00 [00:04:14]wFMCommunicate OK [00:04:14]wFMCommunicate request_size=255 [00:04:14]MH_SAM_APDU [00:04:14]CAPDU: 80 0D 02 02 FA 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [00:04:14]Write to MH i2c: E2 02 01 E7 0B 80 0D 02 02 FA 00 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 00 00 03 [00:04:15]Write i2c OK [00:04:15]MH_I2C_Read... [00:04:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:04:15]Read from MH i2c: E2 [00:04:15]MH_I2C_Read... [00:04:15]Read from MH i2c: E2 03 00 [00:04:15]MH_I2C_Read... [00:04:15]Read from MH i2c: E2 03 00 E7 0B 00 90 00 66 [00:04:15]RAPDU: 90 00 [00:04:15]wFMCommunicate OK [00:04:15]wFMCommunicate request_size=134 [00:04:15]MH_SAM_APDU [00:04:15]CAPDU: 80 0D 02 02 81 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 C9 9B 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 35 04 06 00 5D 5C 48 A5 3F F9 [00:04:15]Write to MH i2c: E2 89 00 E8 0B 80 0D 02 02 81 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 C9 9B 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 35 04 06 00 5D 5C 48 A5 3F F9 00 00 F0 [00:04:15]Write i2c OK [00:04:15]MH_I2C_Read... [00:04:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:04:15]Read from MH i2c: E2 [00:04:15]MH_I2C_Read... [00:04:15]Read from MH i2c: E2 03 00 [00:04:15]MH_I2C_Read... [00:04:15]Read from MH i2c: E2 03 00 E8 0B 00 90 00 67 [00:04:15]RAPDU: 90 00 [00:04:15]wFMCommunicate OK [00:04:15]wFMCommunicate request_size=4 [00:04:15]MH_SAM_APDU [00:04:15]CAPDU: 80 0D 03 02 [00:04:15]Write to MH i2c: E2 08 00 E9 0B 80 0D 03 02 00 00 00 00 6F [00:04:15]Write i2c OK [00:04:15]MH_I2C_Read... [00:04:15]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:04:15]Read from MH i2c: E2 [00:04:15]MH_I2C_Read... [00:04:15]Read from MH i2c: E2 0B 00 [00:04:15]MH_I2C_Read... [00:04:15]Read from MH i2c: E2 0B 00 E9 0B 00 76 13 72 3A 9B D4 79 C7 90 00 54 [00:04:15]RAPDU: 76 13 72 3A 9B D4 79 C7 90 00 [00:04:15]wFMCommunicate OK [00:04:15]SAM_PROTO_SignData done [00:04:15]FM_MakeSignedData done [00:04:15]CreateOFDProtocolMessage [00:04:15]wFMCommunicate request_size=4 [00:04:15]MH_SAM_APDU [00:04:15]CAPDU: 80 11 00 00 [00:04:15]Write to MH i2c: E2 08 00 EA 0B 80 11 00 00 00 00 00 00 6F [00:04:15]Write i2c OK [00:04:15]MH_I2C_Read... [00:04:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:04:16]Read from MH i2c: E2 [00:04:16]MH_I2C_Read... [00:04:16]Read from MH i2c: E2 17 00 [00:04:16]MH_I2C_Read... [00:04:16]Read from MH i2c: E2 17 00 EA 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 90 00 C7 [00:04:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 90 00 [00:04:16]wFMCommunicate OK [00:04:16]CreateOFDProtocolMessage done [00:04:16]OFDSenderStorePacket 39881 [00:04:16]StoreOFDPacket docnum=39881 [00:04:16]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 73 05 00 00 AB 3E 6B 05 4B 8D 5A 05 01 00 05 00 5F 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 11 00 D0 A8 D0 B0 D1 80 D1 88 D0 B5 D0 B5 D0 B2 20 D0 90 F4 03 04 00 76 08 5D 66 0E 04 04 00 77 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 5E 04 04 00 8A 00 00 00 57 04 04 00 8C 00 00 00 AA 04 D5 04 6E 04 04 00 8A 00 00 00 69 04 A2 00 6F 04 04 00 8A 00 00 00 B1 04 03 00 90 CF 31 70 04 03 00 F8 F4 21 72 04 03 00 98 DA 0F 00 04 81 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 1C 4A 05 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 C7 70 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 C9 9B 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 35 04 06 00 5D 5C 48 A5 3F F9 76 13 72 3A 9B D4 79 C7 [00:04:16]CheckFolder [00:04:16]dirname=/storage/ofd_packets [00:04:16]CheckFolder done [00:04:16]ProducePacketName [00:04:16]name=ofd_packets/00039881 [00:04:16]NVStorageSaveData ofd_packets/00039881 [00:04:16]File name is /storage/ofd_packets/00039881 [00:04:16]Write 1425 bytes [00:04:16]NVStorageSaveData done [00:04:16]OFDSenderStorePacket done [00:04:16]KKMCreateOFDPacket done [00:04:16]NVStorageSaveData kkm_last_timestamp [00:04:16]File name is /storage/kkm_last_timestamp [00:04:16]Write 4 bytes [00:04:16]NVStorageSaveData done [00:04:16]ExternCall_PrintAddStr [00:04:16]wPrintStart [00:04:16]Write to MH i2c: 01 00 00 EB 0B F6 [00:04:16]Write i2c OK [00:04:16]MH_I2C_Read... [00:04:16]Read from MH i2c: 01 [00:04:16]MH_I2C_Read... [00:04:16]Read from MH i2c: 01 07 00 [00:04:16]MH_I2C_Read... [00:04:16]Read from MH i2c: 01 07 00 EB 0B 00 00 00 00 00 FF 0F 0B [00:04:16]RasterBufferAndPrint [00:04:16]line Отчет о закрытии смены [00:04:16]line ФФД: 1.0 [00:04:16]line ИНН: 02508201610067 [00:04:16]line Кассир: Шаршеев А [00:04:16]line 03.06.2024 00:04 [00:04:16]line Смена: 375 [00:04:16]line РНМ: 0000000000092680 [00:04:16]line ЗНМ: 0300000037 [00:04:16]line СНО: Общий режим [00:04:16]line Чеков за смену: 138 [00:04:16]line ФД за смену: 140 [00:04:16]line Всего чеков: 138 [00:04:16]line ИТОГИ ПРИХОД [00:04:16]line Чеков: 138 [00:04:16]line Общий итог: 32644.00 [00:04:16]line Итого наличными: 22254.00 [00:04:16]line Итого безнал.: 10390.00 [00:04:16]line НДС 0% : 0.00 [00:04:16]line НДС 12% : 3466.52 [00:04:16]line НСП 0% : 0.00 [00:04:16]line НСП 1,50% : 0.00 [00:04:16]line НСП 0,50% : 0.00 [00:04:16]line НСП 5% : 0.00 [00:04:16]line НСП 3% : 0.00 [00:04:16]line НСП 2% : 0.00 [00:04:16]line НСП 1% : 288.71 [00:04:16]line ИТОГИ ВОЗВРАТ ПРИХОДА [00:04:16]line Чеков: 0 [00:04:16]line Общий итог: 0.00 [00:04:16]line Итого наличными: 0.00 [00:04:16]line Итого безнал.: 0.00 [00:04:16]line НДС 0% : 0.00 [00:04:16]line НДС 12% : 0.00 [00:04:16]line НСП 0% : 0.00 [00:04:16]line НСП 1,50% : 0.00 [00:04:16]line НСП 0,50% : 0.00 [00:04:16]line НСП 5% : 0.00 [00:04:16]line НСП 3% : 0.00 [00:04:16]line НСП 2% : 0.00 [00:04:16]line НСП 1% : 0.00 [00:04:16]line ИТОГИ РАСХОД [00:04:16]line Чеков: 0 [00:04:16]line Общий итог: 0.00 [00:04:16]line Итого наличными: 0.00 [00:04:16]line Итого безнал.: 0.00 [00:04:16]line НДС 0% : 0.00 [00:04:16]line НДС 12% : 0.00 [00:04:16]line НСП 0% : 0.00 [00:04:16]line НСП 1,50% : 0.00 [00:04:16]line НСП 0,50% : 0.00 [00:04:16]line НСП 5% : 0.00 [00:04:16]line НСП 3% : 0.00 [00:04:16]line НСП 2% : 0.00 [00:04:16]line НСП 1% : 0.00 [00:04:16]line ИТОГИ ВОЗВРАТ РАСХОДА [00:04:16]line Чеков: 0 [00:04:16]line Общий итог: 0.00 [00:04:16]line Итого наличными: 0.00 [00:04:16]line Итого безнал.: 0.00 [00:04:16]line НДС 0% : 0.00 [00:04:16]line НДС 12% : 0.00 [00:04:16]line НСП 0% : 0.00 [00:04:16]line НСП 1,50% : 0.00 [00:04:16]line НСП 0,50% : 0.00 [00:04:16]line НСП 5% : 0.00 [00:04:16]line НСП 3% : 0.00 [00:04:16]line НСП 2% : 0.00 [00:04:16]line НСП 1% : 0.00 [00:04:16]line Сумма внесений: 0.00 [00:04:16]line Сумма выплат: 0.00 [00:04:16]line Нал. в кассе: 22254.00 [00:04:16]line НС Приход: 9072982.26 [00:04:16]line НС Возвр.Прихода: 87228.00 [00:04:16]line НС Расход: 0.00 [00:04:16]line НС Возвр.Расхода: 0.00 [00:04:16]line ФД: 39881 [00:04:16]line ФМ: 0000000000874882 [00:04:16]line ФПД: 102650937163769 [00:04:16]OFD Sender: Processing packet 39881 [packets to send 5, broken 4] [00:04:16]ProducePacketName [00:04:16]name=ofd_packets/00039881 [00:04:16]OFD Sender: To server: pG, [00:04:16]CommunicateWithHost lk.salyk.kg:30040 [00:04:16]ConnectInit lk.salyk.kg [00:04:16]written 0, free lines is 4095 [00:04:16]Connected sock=10 [00:04:16]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 38 32 73 05 00 00 AB 3E 6B 05 4B 8D 5A 05 01 00 05 00 5F 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 11 00 D0 A8 D0 B0 D1 80 D1 88 D0 B5 D0 B5 D0 B2 20 D0 90 F4 03 04 00 76 08 5D 66 0E 04 04 00 77 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 5E 04 04 00 8A 00 00 00 57 04 04 00 8C 00 00 00 AA 04 D5 04 6E 04 04 00 8A 00 00 00 69 04 A2 00 6F 04 04 00 8A 00 00 00 B1 04 03 00 90 CF 31 70 04 03 00 F8 F4 21 72 04 03 00 98 DA 0F 00 04 81 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 1C 4A 05 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 C7 70 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 Write to MH i2c: F3 01 03 00 00 00 00 3B EF 0C 03 47 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 [00:04:17]00 Write i2c OK [00:04:17]F6 MH_I2C_Read... [00:04:17]03 Read from MH i2c: 01 01 00 [00:04:17]01 MH_I2C_Read... [00:04:17]F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 Read from MH i2c: 03 01 00 07 00 00 EF [00:04:17]03 MH_I2C_Read... [00:04:17]09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 Read from MH i2c: 03 01 01 07 00 00 04 3B F7 0C 03 00 00 00 00 00 EF 00 03 00 09 E7 00 0C F6 41 03 [00:04:17]01 RasterBufferAndPrint [00:04:17]00 line [00:04:17]05 line [00:04:17]F7 line [00:04:17]03 line [00:04:17]00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 line [00:04:17]7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 written 0, free lines is 3451 [00:04:17]04 00 00 70 04 00 00 72 04 00 00 00 04 75 MH_Cut [00:04:17]Write to MH i2c: 00 D1 EE 01 03 00 09 42 00 0C F2 01 03 20 01 [00:04:17]00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 Write i2c OK [00:04:17]03 MH_I2C_Read... [00:04:17]00 00 EF 03 09 00 F6 03 01 00 Read from MH i2c: 00 D1 F7 [00:04:17]03 MH_I2C_Read... [00:04:17]00 Read from MH i2c: 00 D1 EF 01 03 00 09 [00:04:17]00 MH_I2C_Read... [00:04:17]F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 Read from MH i2c: 00 D1 EF 01 03 00 09 42 00 0C F6 00 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 1F 01 [00:04:17]00 Write to MH i2c: 04 01 F7 00 03 00 00 43 00 0C EF 4F 03 [00:04:17]09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 Write i2c OK [00:04:17]00 MH_I2C_Read... [00:04:17]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 C9 9B 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 35 04 06 00 5D 5C 48 A5 3F F9 76 13 72 3A 9B D4 79 C7 [00:04:18]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 4F 00 00 00 22 E7 47 00 16 74 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 *** Cut start [00:04:18]39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 *** Partial cut [00:04:18]30 30 30 30 30 30 30 *** CUTSNS_PIN = 1 [00:04:18]30 30 38 37 34 38 38 32 10 *** CUTSNS_PIN = 0 [00:04:18]04 04 00 C9 9B 00 00 F4 03 04 00 2F B1 5C 66 B6 04 01 00 00 D2 7E EA 50 CE 72 DC 59 [00:04:18]CommunicateWithHost err = 0 [00:04:18]CheckOFDResponse [00:04:18]1017 (14) - 77093643461234 [00:04:18]1041 (16) - 0000000000874882 [00:04:18]1040 (4) - 39881 [00:04:18]1012 (4) - 02.06.2024 17:51 [00:04:18]1206 (1) - 0 [00:04:18]OFD Sender: Remove packet 39881 [00:04:18]ProducePacketName [00:04:18]name=ofd_packets/00039881 [00:04:18]NVStorageDeleteData [00:04:18]*** Brake cut motor [00:04:18]Read from MH i2c: 01 [00:04:19]MH_I2C_Read... [00:04:19]*** Stop cut motor [00:04:19]*** Cut end [00:04:19]Read from MH i2c: 01 07 00 [00:04:19]MH_I2C_Read... [00:04:19]Read from MH i2c: 01 07 00 43 0C 00 00 00 00 00 FF 0F 64 [00:04:19]process_action close_shift done [00:04:19]requested_data is exist [00:04:19]produce_requested_data [00:04:19]requested_item fd.num is exist - process it [00:04:19]SAM_PROTO_GetFieldsCounters [00:04:19]wFMCommunicate request_size=4 [00:04:19]MH_SAM_APDU [00:04:19]CAPDU: 80 13 00 00 [00:04:19]Write to MH i2c: E2 08 00 44 0C 80 13 00 00 00 00 00 00 CC [00:04:19]Write i2c OK [00:04:19]MH_I2C_Read... [00:04:19]OFD Sender: No OFD packet to send [00:04:19]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:04:19]Read from MH i2c: E2 [00:04:19]MH_I2C_Read... [00:04:19]Read from MH i2c: E2 62 00 [00:04:19]MH_I2C_Read... [00:04:19]Read from MH i2c: E2 62 00 44 0C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 10 04 04 00 C9 9B 00 00 0E 04 04 00 77 01 00 00 12 04 04 00 8A 00 00 00 5E 04 04 00 8A 00 00 00 57 04 04 00 8C 00 00 00 19 04 04 00 00 00 00 00 90 00 6D [00:04:19]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 10 04 04 00 C9 9B 00 00 0E 04 04 00 77 01 00 00 12 04 04 00 8A 00 00 00 5E 04 04 00 8A 00 00 00 57 04 04 00 8C 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:04:19]wFMCommunicate OK [00:04:19]SAM_PROTO_GetFieldsCounters done [00:04:19]requested_item shift.num is exist - process it [00:04:19]requested_item shift.opened is exist - process it [00:04:19]req_shift_opened [00:04:19]FM_GetShiftState [00:04:19]SAM_PROTO_GetShiftState [00:04:19]wFMCommunicate request_size=4 [00:04:19]MH_SAM_APDU [00:04:19]CAPDU: 80 13 01 00 [00:04:19]Write to MH i2c: E2 08 00 45 0C 80 13 01 00 00 00 00 00 CE [00:04:19]Write i2c OK [00:04:19]MH_I2C_Read... [00:04:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:04:19]Read from MH i2c: E2 [00:04:19]MH_I2C_Read... [00:04:19]Read from MH i2c: E2 0E 00 [00:04:19]MH_I2C_Read... [00:04:19]Read from MH i2c: E2 0E 00 45 0C 00 09 00 00 00 00 00 00 00 00 00 00 90 00 D9 [00:04:19]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:04:19]wFMCommunicate OK [00:04:19]SAM_PROTO_GetShiftState done [00:04:19]FM_GetShiftState done [00:04:19]req_shift_opened done [00:04:19]requested_item shift.open_date is exist - process it [00:04:19]req_shift_open_date [00:04:19]FM_GetShiftState [00:04:19]SAM_PROTO_GetShiftState [00:04:19]wFMCommunicate request_size=4 [00:04:19]MH_SAM_APDU [00:04:19]CAPDU: 80 13 01 00 [00:04:19]Write to MH i2c: E2 08 00 46 0C 80 13 01 00 00 00 00 00 CF [00:04:19]Write i2c OK [00:04:19]MH_I2C_Read... [00:04:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:04:19]Read from MH i2c: E2 [00:04:19]MH_I2C_Read... [00:04:19]Read from MH i2c: E2 0E 00 [00:04:19]MH_I2C_Read... [00:04:19]Read from MH i2c: E2 0E 00 46 0C 00 09 00 00 00 00 00 00 00 00 00 00 90 00 DA [00:04:19]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:04:19]wFMCommunicate OK [00:04:19]SAM_PROTO_GetShiftState done [00:04:19]FM_GetShiftState done [00:04:19]req_shift_open_date done [00:04:19]produce_requested_data done [00:04:19]produce_requested_data return {"fd.num":39881,"shift.num":375,"shift.opened":0,"shift.open_date":0} [00:04:19]process_action_free close_shift [00:04:19]json_value_free [00:04:19]json_value_free done [00:04:19]process_json_proto returns [00:04:19]Send response to host [00:04:19]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":39881,"shift.num":375,"shift.opened":0,"shift.open_date":0}}} [00:04:19]free response buf [00:04:19]execute_script done [00:04:19]execute_script returns [00:04:19]free content buf [00:04:19]Sock 7.Close socket [00:04:19]Sock 7.Thread stoped [00:04:24]OFD Sender: No OFD packet to send [00:04:29]OFD Sender: No OFD packet to send [00:04:34]OFD Sender: No OFD packet to send [00:04:39]OFD Sender: No OFD packet to send [00:04:44]OFD Sender: No OFD packet to send [00:04:49]OFD Sender: No OFD packet to send [00:04:54]OFD Sender: No OFD packet to send [00:04:59]OFD Sender: No OFD packet to send [00:05:04]OFD Sender: No OFD packet to send [00:05:09]OFD Sender: No OFD packet to send [00:05:14]OFD Sender: No OFD packet to send [00:05:19]OFD Sender: No OFD packet to send [00:05:24]OFD Sender: No OFD packet to send [00:05:29]OFD Sender: No OFD packet to send [00:05:34]OFD Sender: No OFD packet to send [00:05:39]OFD Sender: No OFD packet to send [00:05:44]OFD Sender: No OFD packet to send [00:05:49]OFD Sender: No OFD packet to send [00:05:54]OFD Sender: No OFD packet to send [00:05:59]OFD Sender: No OFD packet to send [00:06:04]OFD Sender: No OFD packet to send [00:06:09]OFD Sender: No OFD packet to send [00:06:14]OFD Sender: No OFD packet to send [00:06:19]OFD Sender: No OFD packet to send [00:06:24]OFD Sender: No OFD packet to send [00:06:29]OFD Sender: No OFD packet to send [00:06:34]OFD Sender: No OFD packet to send [00:06:39]OFD Sender: No OFD packet to send [00:06:44]OFD Sender: No OFD packet to send [00:06:49]OFD Sender: No OFD packet to send [00:06:54]OFD Sender: No OFD packet to send [00:06:59]OFD Sender: No OFD packet to send [00:07:04]OFD Sender: No OFD packet to send [00:07:09]OFD Sender: No OFD packet to send [00:07:14]OFD Sender: No OFD packet to send [00:07:19]OFD Sender: No OFD packet to send [00:07:24]OFD Sender: No OFD packet to send [00:07:29]OFD Sender: No OFD packet to send [00:07:34]OFD Sender: No OFD packet to send [00:07:39]OFD Sender: No OFD packet to send [00:07:44]OFD Sender: No OFD packet to send [00:07:49]OFD Sender: No OFD packet to send [00:07:54]OFD Sender: No OFD packet to send [00:07:59]OFD Sender: No OFD packet to send [00:08:04]OFD Sender: No OFD packet to send [00:08:09]OFD Sender: No OFD packet to send [00:08:14]OFD Sender: No OFD packet to send [00:08:19]OFD Sender: No OFD packet to send [00:08:24]OFD Sender: No OFD packet to send [00:08:29]OFD Sender: No OFD packet to send [00:08:34]OFD Sender: No OFD packet to send [00:08:39]OFD Sender: No OFD packet to send [00:08:44]OFD Sender: No OFD packet to send [00:08:49]OFD Sender: No OFD packet to send [00:08:54]OFD Sender: No OFD packet to send [00:08:59]OFD Sender: No OFD packet to send [00:09:04]OFD Sender: No OFD packet to send [00:09:09]OFD Sender: No OFD packet to send [00:09:14]OFD Sender: No OFD packet to send [00:09:19]OFD Sender: No OFD packet to send [00:09:24]OFD Sender: No OFD packet to send [00:09:29]OFD Sender: No OFD packet to send [00:09:34]OFD Sender: No OFD packet to send [00:09:39]OFD Sender: No OFD packet to send [00:09:44]OFD Sender: No OFD packet to send [00:09:49]OFD Sender: No OFD packet to send [00:09:54]OFD Sender: No OFD packet to send [00:09:59]OFD Sender: No OFD packet to send [00:10:04]OFD Sender: No OFD packet to send [00:10:09]OFD Sender: No OFD packet to send [00:10:14]OFD Sender: No OFD packet to send [00:10:19]OFD Sender: No OFD packet to send [00:10:24]OFD Sender: No OFD packet to send [00:10:29]OFD Sender: No OFD packet to send [00:10:34]OFD Sender: No OFD packet to send [00:10:39]OFD Sender: No OFD packet to send [00:10:44]OFD Sender: No OFD packet to send [00:10:49]OFD Sender: No OFD packet to send [00:10:54]OFD Sender: No OFD packet to send [00:10:59]OFD Sender: No OFD packet to send [00:11:04]OFD Sender: No OFD packet to send [00:11:09]OFD Sender: No OFD packet to send [00:11:14]OFD Sender: No OFD packet to send [00:11:19]OFD Sender: No OFD packet to send [00:11:24]OFD Sender: No OFD packet to send [00:11:29]OFD Sender: No OFD packet to send [00:11:34]OFD Sender: No OFD packet to send [00:11:39]OFD Sender: No OFD packet to send [00:11:44]OFD Sender: No OFD packet to send [00:11:49]OFD Sender: No OFD packet to send [00:11:54]OFD Sender: No OFD packet to send [00:11:59]OFD Sender: No OFD packet to send [00:12:04]OFD Sender: No OFD packet to send [00:12:09]OFD Sender: No OFD packet to send [00:12:14]OFD Sender: No OFD packet to send [00:12:19]OFD Sender: No OFD packet to send [00:12:24]OFD Sender: No OFD packet to send [00:12:29]OFD Sender: No OFD packet to send [00:12:34]OFD Sender: No OFD packet to send [00:12:39]OFD Sender: No OFD packet to send [00:12:44]OFD Sender: No OFD packet to send [00:12:49]OFD Sender: No OFD packet to send [00:12:54]OFD Sender: No OFD packet to send [00:12:59]OFD Sender: No OFD packet to send [00:13:04]OFD Sender: No OFD packet to send [00:13:09]OFD Sender: No OFD packet to send [00:13:14]OFD Sender: No OFD packet to send [00:13:19]OFD Sender: No OFD packet to send [00:13:24]OFD Sender: No OFD packet to send [00:13:29]OFD Sender: No OFD packet to send [00:13:34]OFD Sender: No OFD packet to send [00:13:39]OFD Sender: No OFD packet to send [00:13:44]OFD Sender: No OFD packet to send [00:13:49]OFD Sender: No OFD packet to send [00:13:54]OFD Sender: No OFD packet to send [00:13:59]OFD Sender: No OFD packet to send [00:14:04]OFD Sender: No OFD packet to send [00:14:09]OFD Sender: No OFD packet to send [00:14:14]OFD Sender: No OFD packet to send [00:14:19]OFD Sender: No OFD packet to send [00:14:24]OFD Sender: No OFD packet to send [00:14:29]OFD Sender: No OFD packet to send [00:14:34]OFD Sender: No OFD packet to send [00:14:39]OFD Sender: No OFD packet to send [00:14:44]OFD Sender: No OFD packet to send [00:14:49]OFD Sender: No OFD packet to send [00:14:54]OFD Sender: No OFD packet to send [00:14:59]OFD Sender: No OFD packet to send [00:15:04]OFD Sender: No OFD packet to send [00:15:09]OFD Sender: No OFD packet to send [00:15:14]OFD Sender: No OFD packet to send [00:15:19]OFD Sender: No OFD packet to send [00:15:24]OFD Sender: No OFD packet to send [00:15:29]OFD Sender: No OFD packet to send [00:15:34]OFD Sender: No OFD packet to send [00:15:39]OFD Sender: No OFD packet to send [00:15:44]OFD Sender: No OFD packet to send [00:15:49]OFD Sender: No OFD packet to send [00:15:54]OFD Sender: No OFD packet to send [00:15:59]OFD Sender: No OFD packet to send [00:16:03]accept exits with 9 [00:16:03]New connection [00:16:03]New thread 3066555748 created [00:16:03]Thread 3066699108 joined [00:16:03]Waiting for new connection... [00:16:03] Sock 9.Parse request [00:16:03]Sock 9.Check first char [00:16:03]Sock 9.First char is OK [00:16:03]request: POST /json_proto HTTP/1.0 [00:16:03]Method: POST [00:16:03]URL: /json_proto [00:16:03]Method is POST - this is cgi request [00:16:03]url: /json_proto [00:16:03]query_string will be loaded in cgi processing [00:16:03]execute_cgi json_proto POST (null) [00:16:03]execute_cgi path=json_proto method=POST [00:16:03]POST find Content-Length [00:16:03]Host: 172.17.36.199:8080 [00:16:03]Content-Length: 215 [00:16:03]Content-Type: application/json [00:16:03] [00:16:03]POST finish read [00:16:03]Found Content-Length = 215 [00:16:03]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:16:03]execute_script... [00:16:03]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:16:03]POST & json_proto [00:16:03]process_json_proto [00:16:03]json parsed OK: [00:16:03]protocol is kg_v1.0 [00:16:03]action value=get_value [00:16:03]process_action get_value [00:16:03]cmd_get_value [00:16:03]process_action get_value done [00:16:03]requested_data is exist [00:16:03]produce_requested_data [00:16:03]requested_item kkm.sn is exist - process it [00:16:03]requested_item kkm.ver is exist - process it [00:16:03]requested_item fm.sn is exist - process it [00:16:03]wFMCommunicate request_size=4 [00:16:03]MH_SAM_APDU [00:16:03]CAPDU: 80 11 00 00 [00:16:03]Write to MH i2c: E2 08 00 47 0C 80 11 00 00 00 00 00 00 CD [00:16:03]Write i2c OK [00:16:03]MH_I2C_Read... [00:16:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:16:03]Read from MH i2c: E2 [00:16:03]MH_I2C_Read... [00:16:03]Read from MH i2c: E2 17 00 [00:16:03]MH_I2C_Read... [00:16:03]Read from MH i2c: E2 17 00 47 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 90 00 25 [00:16:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 90 00 [00:16:03]wFMCommunicate OK [00:16:03]requested_item fd.num is exist - process it [00:16:03]SAM_PROTO_GetFieldsCounters [00:16:03]wFMCommunicate request_size=4 [00:16:03]MH_SAM_APDU [00:16:03]CAPDU: 80 13 00 00 [00:16:03]Write to MH i2c: E2 08 00 48 0C 80 13 00 00 00 00 00 00 D0 [00:16:03]Write i2c OK [00:16:03]MH_I2C_Read... [00:16:03]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:16:03]Read from MH i2c: E2 [00:16:03]MH_I2C_Read... [00:16:03]Read from MH i2c: E2 62 00 [00:16:03]MH_I2C_Read... [00:16:03]Read from MH i2c: E2 62 00 48 0C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 10 04 04 00 C9 9B 00 00 0E 04 04 00 77 01 00 00 12 04 04 00 8A 00 00 00 5E 04 04 00 8A 00 00 00 57 04 04 00 8C 00 00 00 19 04 04 00 00 00 00 00 90 00 71 [00:16:03]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 10 04 04 00 C9 9B 00 00 0E 04 04 00 77 01 00 00 12 04 04 00 8A 00 00 00 5E 04 04 00 8A 00 00 00 57 04 04 00 8C 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:16:03]wFMCommunicate OK [00:16:03]SAM_PROTO_GetFieldsCounters done [00:16:03]requested_item shift.num is exist - process it [00:16:03]requested_item shift.opened is exist - process it [00:16:03]req_shift_opened [00:16:03]FM_GetShiftState [00:16:03]SAM_PROTO_GetShiftState [00:16:03]wFMCommunicate request_size=4 [00:16:03]MH_SAM_APDU [00:16:03]CAPDU: 80 13 01 00 [00:16:03]Write to MH i2c: E2 08 00 49 0C 80 13 01 00 00 00 00 00 D2 [00:16:03]Write i2c OK [00:16:03]MH_I2C_Read... [00:16:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:16:04]Read from MH i2c: E2 [00:16:04]MH_I2C_Read... [00:16:04]Read from MH i2c: E2 0E 00 [00:16:04]MH_I2C_Read... [00:16:04]Read from MH i2c: E2 0E 00 49 0C 00 09 00 00 00 00 00 00 00 00 00 00 90 00 DD [00:16:04]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:16:04]wFMCommunicate OK [00:16:04]SAM_PROTO_GetShiftState done [00:16:04]FM_GetShiftState done [00:16:04]req_shift_opened done [00:16:04]requested_item shift.open_date is exist - process it [00:16:04]req_shift_open_date [00:16:04]FM_GetShiftState [00:16:04]SAM_PROTO_GetShiftState [00:16:04]wFMCommunicate request_size=4 [00:16:04]MH_SAM_APDU [00:16:04]CAPDU: 80 13 01 00 [00:16:04]Write to MH i2c: E2 08 00 4A 0C 80 13 01 00 00 00 00 00 D3 [00:16:04]Write i2c OK [00:16:04]MH_I2C_Read... [00:16:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:16:04]Read from MH i2c: E2 [00:16:04]MH_I2C_Read... [00:16:04]Read from MH i2c: E2 0E 00 [00:16:04]MH_I2C_Read... [00:16:04]Read from MH i2c: E2 0E 00 4A 0C 00 09 00 00 00 00 00 00 00 00 00 00 90 00 DE [00:16:04]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:16:04]wFMCommunicate OK [00:16:04]SAM_PROTO_GetShiftState done [00:16:04]FM_GetShiftState done [00:16:04]req_shift_open_date done [00:16:04]produce_requested_data done [00:16:04]produce_requested_data return {"kkm.sn":"0300000037","kkm.ver":"001","fm.sn":"0000000000874882","fd.num":39881,"shift.num":375,"shift.opened":0,"shift.open_date":0} [00:16:04]process_action_free get_value [00:16:04]json_value_free [00:16:04]json_value_free done [00:16:04]process_json_proto returns [00:16:04]Send response to host [00:16:04]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000037","kkm.ver":"001","fm.sn":"0000000000874882","fd.num":39881,"shift.num":375,"shift.opened":0,"shift.open_date":0}}} [00:16:04]free response buf [00:16:04]execute_script done [00:16:04]execute_script returns [00:16:04]free content buf [00:16:04]Sock 9.Close socket [00:16:04]Sock 9.Thread stoped [00:16:04]accept exits with 7 [00:16:04]New connection [00:16:04]New thread 3066699108 created [00:16:04]Thread 3066555748 joined [00:16:04]Waiting for new connection... [00:16:04] Sock 7.Parse request [00:16:04]Sock 7.Check first char [00:16:04]Sock 7.First char is OK [00:16:04]request: POST /json_proto HTTP/1.0 [00:16:04]Method: POST [00:16:04]URL: /json_proto [00:16:04]Method is POST - this is cgi request [00:16:04]url: /json_proto [00:16:04]query_string will be loaded in cgi processing [00:16:04]execute_cgi json_proto POST (null) [00:16:04]execute_cgi path=json_proto method=POST [00:16:04]POST find Content-Length [00:16:04]Host: 172.17.36.199:8080 [00:16:04]Content-Length: 331 [00:16:04]Content-Type: application/json [00:16:04] [00:16:04]POST finish read [00:16:04]Found Content-Length = 331 [00:16:04]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:16:04]execute_script... [00:16:04]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:16:04]POST & json_proto [00:16:04]process_json_proto [00:16:04]json parsed OK: [00:16:04]protocol is kg_v1.0 [00:16:04]action value=get_value [00:16:04]process_action get_value [00:16:04]cmd_get_value [00:16:04]process_action get_value done [00:16:04]requested_data is exist [00:16:04]produce_requested_data [00:16:04]requested_item fm.sale.total is exist - process it [00:16:04]SAM_PROTO_GetFMData [00:16:04]wFMCommunicate request_size=4 [00:16:04]MH_SAM_APDU [00:16:04]CAPDU: 80 13 03 00 [00:16:04]Write to MH i2c: E2 08 00 4B 0C 80 13 03 00 00 00 00 00 D6 [00:16:04]Write i2c OK [00:16:04]MH_I2C_Read... [00:16:04]OFD Sender: No OFD packet to send [00:16:04]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:16:04]Read from MH i2c: E2 [00:16:04]MH_I2C_Read... [00:16:04]Read from MH i2c: E2 FD 00 [00:16:04]MH_I2C_Read... [00:16:04]Read from MH i2c: E2 FD 00 4B 0C 00 C2 04 85 04 BE 04 6E 04 04 00 DA 98 00 00 69 04 A0 00 6F 04 04 00 A7 98 00 00 B1 04 04 00 B2 45 14 36 70 04 04 00 5C DA 0C 2B 72 04 04 00 56 6B 07 0B 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 1C BE 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 C9 6E 7A EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9C 00 6F 04 04 00 33 00 00 00 B1 04 03 00 70 19 85 70 04 03 00 F4 09 84 72 04 03 00 7C 0F 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 AF 22 0E EF 03 09 00 F6 03 90 00 34 [00:16:04]RAPDU: C2 04 85 04 BE 04 6E 04 04 00 DA 98 00 00 69 04 A0 00 6F 04 04 00 A7 98 00 00 B1 04 04 00 B2 45 14 36 70 04 04 00 5C DA 0C 2B 72 04 04 00 56 6B 07 0B 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 1C BE 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 C9 6E 7A EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9C 00 6F 04 04 00 33 00 00 00 B1 04 03 00 70 19 85 70 04 03 00 F4 09 84 72 04 03 00 7C 0F 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 AF 22 0E EF 03 09 00 F6 03 90 00 [00:16:04]wFMCommunicate OK [00:16:04]wFMCommunicate request_size=4 [00:16:04]MH_SAM_APDU [00:16:04]CAPDU: 80 17 00 00 [00:16:04]Write to MH i2c: E2 08 00 4C 0C 80 17 00 00 00 00 00 00 D8 [00:16:04]Write i2c OK [00:16:04]MH_I2C_Read... [00:16:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:16:05]Read from MH i2c: E2 [00:16:05]MH_I2C_Read... [00:16:05]Read from MH i2c: E2 FD 00 [00:16:05]MH_I2C_Read... [00:16:05]Read from MH i2c: E2 FD 00 4C 0C 00 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 8B 2D 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 90 00 BE [00:16:05]RAPDU: 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 8B 2D 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 90 00 [00:16:05]wFMCommunicate OK [00:16:05]wFMCommunicate request_size=4 [00:16:05]MH_SAM_APDU [00:16:05]CAPDU: 80 17 00 00 [00:16:05]Write to MH i2c: E2 08 00 4D 0C 80 17 00 00 00 00 00 00 D9 [00:16:05]Write i2c OK [00:16:05]MH_I2C_Read... [00:16:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:16:05]Read from MH i2c: E2 [00:16:05]MH_I2C_Read... [00:16:05]Read from MH i2c: E2 FD 00 [00:16:05]MH_I2C_Read... [00:16:05]Read from MH i2c: E2 FD 00 4D 0C 00 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 87 [00:16:05]RAPDU: 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:16:05]wFMCommunicate OK [00:16:05]wFMCommunicate request_size=4 [00:16:05]MH_SAM_APDU [00:16:05]CAPDU: 80 17 00 00 [00:16:05]Write to MH i2c: E2 08 00 4E 0C 80 17 00 00 00 00 00 00 DA [00:16:05]Write i2c OK [00:16:05]MH_I2C_Read... [00:16:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:16:05]Read from MH i2c: E2 [00:16:05]MH_I2C_Read... [00:16:05]Read from MH i2c: E2 FD 00 [00:16:05]MH_I2C_Read... [00:16:05]Read from MH i2c: E2 FD 00 4E 0C 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 55 [00:16:05]RAPDU: F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:16:05]wFMCommunicate OK [00:16:05]wFMCommunicate request_size=4 [00:16:05]MH_SAM_APDU [00:16:05]CAPDU: 80 17 00 00 [00:16:05]Write to MH i2c: E2 08 00 4F 0C 80 17 00 00 00 00 00 00 DB [00:16:05]Write i2c OK [00:16:05]MH_I2C_Read... [00:16:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 220! [00:16:05]Read from MH i2c: E2 [00:16:05]MH_I2C_Read... [00:16:05]Read from MH i2c: E2 DF 00 [00:16:05]MH_I2C_Read... [00:16:05]Read from MH i2c: E2 DF 00 4F 0C 00 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 BB [00:16:05]RAPDU: 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:16:05]wFMCommunicate OK [00:16:05]SAM_PROTO_GetFMData done [00:16:05]requested_item fm.sale_refund.total is exist - process it [00:16:05]requested_item fm.buy.total is exist - process it [00:16:05]requested_item shift.sale.total is exist - process it [00:16:05]SAM_PROTO_GetShiftData [00:16:05]wFMCommunicate request_size=4 [00:16:05]MH_SAM_APDU [00:16:05]CAPDU: 80 13 02 00 [00:16:05]Write to MH i2c: E2 08 00 50 0C 80 13 02 00 00 00 00 00 DA [00:16:05]Write i2c OK [00:16:05]MH_I2C_Read... [00:16:06]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:16:06]Read from MH i2c: E2 [00:16:06]MH_I2C_Read... [00:16:06]Read from MH i2c: E2 FD 00 [00:16:06]MH_I2C_Read... [00:16:06]Read from MH i2c: E2 FD 00 50 0C 00 AE 04 AA 04 AA 04 6E 04 04 00 8A 00 00 00 69 04 9B 00 6F 04 04 00 8A 00 00 00 B1 04 03 00 90 CF 31 70 04 03 00 F8 F4 21 72 04 03 00 98 DA 0F 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 1C 4A 05 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 C7 70 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 6F [00:16:06]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 8A 00 00 00 69 04 9B 00 6F 04 04 00 8A 00 00 00 B1 04 03 00 90 CF 31 70 04 03 00 F8 F4 21 72 04 03 00 98 DA 0F 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 1C 4A 05 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 C7 70 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [00:16:06]wFMCommunicate OK [00:16:06]wFMCommunicate request_size=4 [00:16:06]MH_SAM_APDU [00:16:06]CAPDU: 80 17 00 00 [00:16:06]Write to MH i2c: E2 08 00 51 0C 80 17 00 00 00 00 00 00 DD [00:16:06]Write i2c OK [00:16:06]MH_I2C_Read... [00:16:06]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:16:06]Read from MH i2c: E2 [00:16:06]MH_I2C_Read... [00:16:06]Read from MH i2c: E2 FD 00 [00:16:06]MH_I2C_Read... [00:16:06]Read from MH i2c: E2 FD 00 51 0C 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 FF [00:16:06]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [00:16:06]wFMCommunicate OK [00:16:06]wFMCommunicate request_size=4 [00:16:06]MH_SAM_APDU [00:16:06]CAPDU: 80 17 00 00 [00:16:06]Write to MH i2c: E2 08 00 52 0C 80 17 00 00 00 00 00 00 DE [00:16:06]Write i2c OK [00:16:06]MH_I2C_Read... [00:16:06]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:16:06]Read from MH i2c: E2 [00:16:06]MH_I2C_Read... [00:16:06]Read from MH i2c: E2 FD 00 [00:16:06]MH_I2C_Read... [00:16:06]Read from MH i2c: E2 FD 00 52 0C 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 95 [00:16:06]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [00:16:06]wFMCommunicate OK [00:16:06]wFMCommunicate request_size=4 [00:16:06]MH_SAM_APDU [00:16:06]CAPDU: 80 17 00 00 [00:16:06]Write to MH i2c: E2 08 00 53 0C 80 17 00 00 00 00 00 00 DF [00:16:06]Write i2c OK [00:16:06]MH_I2C_Read... [00:16:07]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:16:07]Read from MH i2c: E2 [00:16:07]MH_I2C_Read... [00:16:07]Read from MH i2c: E2 FD 00 [00:16:07]MH_I2C_Read... [00:16:07]Read from MH i2c: E2 FD 00 53 0C 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 51 [00:16:07]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [00:16:07]wFMCommunicate OK [00:16:07]wFMCommunicate request_size=4 [00:16:07]MH_SAM_APDU [00:16:07]CAPDU: 80 17 00 00 [00:16:07]Write to MH i2c: E2 08 00 54 0C 80 17 00 00 00 00 00 00 E0 [00:16:07]Write i2c OK [00:16:07]MH_I2C_Read... [00:16:07]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:16:07]Read from MH i2c: E2 [00:16:07]MH_I2C_Read... [00:16:07]Read from MH i2c: E2 CB 00 [00:16:07]MH_I2C_Read... [00:16:07]Read from MH i2c: E2 CB 00 54 0C 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 C9 [00:16:07]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:16:07]wFMCommunicate OK [00:16:07]SAM_PROTO_GetShiftData done [00:16:07]requested_item shift.sale.total_cash is exist - process it [00:16:07]requested_item shift.sale_refund.total is exist - process it [00:16:07]requested_item shift.sale_refund.total_cash is exist - process it [00:16:07]requested_item shift.buy.total is exist - process it [00:16:07]requested_item shift.buy.total_cash is exist - process it [00:16:07]produce_requested_data done [00:16:07]produce_requested_data return {"fm.sale.total":9072982.26,"fm.sale_refund.total":87228.00,"fm.buy.total":0.00,"shift.sale.total":32644.00,"shift.sale.total_cash":22254.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:16:07]process_action_free get_value [00:16:07]json_value_free [00:16:07]json_value_free done [00:16:07]process_json_proto returns [00:16:07]Send response to host [00:16:07]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":9072982.26,"fm.sale_refund.total":87228.00,"fm.buy.total":0.00,"shift.sale.total":32644.00,"shift.sale.total_cash":22254.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:16:07]free response buf [00:16:07]execute_script done [00:16:07]execute_script returns [00:16:07]free content buf [00:16:07]Sock 7.Close socket [00:16:07]Sock 7.Thread stoped [00:16:07]accept exits with 9 [00:16:07]New connection [00:16:07]New thread 3066555748 created [00:16:07]Thread 3066699108 joined [00:16:07]Waiting for new connection... [00:16:07] Sock 9.Parse request [00:16:07]Sock 9.Check first char [00:16:07]Sock 9.First char is OK [00:16:07]request: POST /json_proto HTTP/1.0 [00:16:07]Method: POST [00:16:07]URL: /json_proto [00:16:07]Method is POST - this is cgi request [00:16:07]url: /json_proto [00:16:07]query_string will be loaded in cgi processing [00:16:07]execute_cgi json_proto POST (null) [00:16:07]execute_cgi path=json_proto method=POST [00:16:07]POST find Content-Length [00:16:07]Host: 172.17.36.199:8080 [00:16:07]Content-Length: 259 [00:16:07]Content-Type: application/json [00:16:07] [00:16:07]POST finish read [00:16:07]Found Content-Length = 259 [00:16:07]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "open_shift", "params" : { "operator" : "\u0416\u0430\u043D\u0430\u043B\u0438\u0435\u0432 \u0420. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:16:07]execute_script... [00:16:07]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "open_shift", "params" : { "operator" : "\u0416\u0430\u043D\u0430\u043B\u0438\u0435\u0432 \u0420. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:16:07]POST & json_proto [00:16:07]process_json_proto [00:16:07]json parsed OK: [00:16:07]protocol is kg_v1.0 [00:16:07]action value=open_shift [00:16:07]process_action open_shift [00:16:07]cmd_open_shift [00:16:07]MH_GetDate [00:16:07]Write to MH i2c: F0 00 00 55 0C 50 [00:16:07]Write i2c OK [00:16:07]MH_I2C_Read... [00:16:07]Read from MH i2c: F0 [00:16:07]MH_I2C_Read... [00:16:07]Read from MH i2c: F0 09 00 [00:16:07]MH_I2C_Read... [00:16:07]Read from MH i2c: F0 09 00 55 0C 00 49 0B 5D 66 91 46 04 65 B0 [00:16:07]GetLastDocTimeStamp 1717373046 [00:16:07]current date 1717373769 [00:16:07]FM_GetShiftState [00:16:07]SAM_PROTO_GetShiftState [00:16:07]wFMCommunicate request_size=4 [00:16:07]MH_SAM_APDU [00:16:07]CAPDU: 80 13 01 00 [00:16:07]Write to MH i2c: E2 08 00 56 0C 80 13 01 00 00 00 00 00 DF [00:16:07]Write i2c OK [00:16:07]MH_I2C_Read... [00:16:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:16:07]Read from MH i2c: E2 [00:16:07]MH_I2C_Read... [00:16:07]Read from MH i2c: E2 0E 00 [00:16:07]MH_I2C_Read... [00:16:07]Read from MH i2c: E2 0E 00 56 0C 00 09 00 00 00 00 00 00 00 00 00 00 90 00 EA [00:16:07]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:16:07]wFMCommunicate OK [00:16:07]SAM_PROTO_GetShiftState done [00:16:07]FM_GetShiftState done [00:16:07]KKMCreateOpenShiftDocument [00:16:07]Load OK [00:16:07]Malloc new data [00:16:07]MH_GetDate [00:16:07]Write to MH i2c: F0 00 00 57 0C 52 [00:16:07]Write i2c OK [00:16:07]MH_I2C_Read... [00:16:07]Read from MH i2c: F0 [00:16:07]MH_I2C_Read... [00:16:07]Read from MH i2c: F0 09 00 [00:16:07]MH_I2C_Read... [00:16:07]Read from MH i2c: F0 09 00 57 0C 00 49 0B 5D 66 91 46 04 65 B2 [00:16:07]Malloc new data [00:16:07]KKMCreateOpenShiftDocument OK [00:16:07]KKMSetOpenShiftData OK [00:16:07]ProcessDocumentItem done err = 0, tmpTLVsize=200 [00:16:07]tlvbuf is 00D07750 [00:16:07]KKMLoadAndSignOpenShiftData [00:16:07]SAM_PROTO_ProcessDocument [00:16:07]wFMCommunicate request_size=9 [00:16:07]MH_SAM_APDU [00:16:07]CAPDU: 80 15 01 00 04 02 00 C8 00 [00:16:07]Write to MH i2c: E2 0C 00 58 0C 80 15 01 00 04 00 02 00 C8 00 00 00 B5 [00:16:07]Write i2c OK [00:16:07]MH_I2C_Read... [00:16:07]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [00:16:07]Read from MH i2c: E2 [00:16:07]MH_I2C_Read... [00:16:07]Read from MH i2c: E2 03 00 [00:16:07]MH_I2C_Read... [00:16:07]Read from MH i2c: E2 03 00 58 0C 00 90 00 D8 [00:16:07]RAPDU: 90 00 [00:16:07]wFMCommunicate OK [00:16:07]wFMCommunicate request_size=23 [00:16:07]MH_SAM_APDU [00:16:07]CAPDU: 80 15 02 00 12 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 [00:16:07]Write to MH i2c: E2 1A 00 59 0C 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 DA [00:16:07]Write i2c OK [00:16:07]MH_I2C_Read... [00:16:07]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:16:07]Read from MH i2c: E2 [00:16:07]MH_I2C_Read... [00:16:07]Read from MH i2c: E2 03 00 [00:16:07]MH_I2C_Read... [00:16:07]Read from MH i2c: E2 03 00 59 0C 00 90 00 D9 [00:16:07]RAPDU: 90 00 [00:16:07]wFMCommunicate OK [00:16:07]wFMCommunicate request_size=30 [00:16:07]MH_SAM_APDU [00:16:07]CAPDU: 80 15 02 00 19 FD 03 15 00 D0 96 D0 B0 D0 BD D0 B0 D0 BB D0 B8 D0 B5 D0 B2 20 D0 A0 2E 20 [00:16:07]Write to MH i2c: E2 21 00 5A 0C 80 15 02 00 19 00 FD 03 15 00 D0 96 D0 B0 D0 BD D0 B0 D0 BB D0 B8 D0 B5 D0 B2 20 D0 A0 2E 20 00 00 18 [00:16:07]Write i2c OK [00:16:07]MH_I2C_Read... [00:16:07]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:16:07]Read from MH i2c: E2 [00:16:07]MH_I2C_Read... [00:16:07]Read from MH i2c: E2 03 00 [00:16:07]MH_I2C_Read... [00:16:07]Read from MH i2c: E2 03 00 5A 0C 00 90 00 DA [00:16:07]RAPDU: 90 00 [00:16:07]wFMCommunicate OK [00:16:07]wFMCommunicate request_size=89 [00:16:07]MH_SAM_APDU [00:16:07]CAPDU: 80 15 02 00 54 F1 03 50 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 A7 D0 BE D0 BD 20 D0 A1 D0 B0 D1 80 D1 8B 20 D0 9E D0 B9 2C 20 D1 83 D0 BB 2E 20 D0 97 D0 B0 D0 BF D0 B0 D0 B4 D0 BD D0 B0 D1 8F 20 33 2C 20 34 32 2E 36 30 33 35 31 36 2C 20 37 36 2E 38 39 34 39 30 31 [00:16:07]Write to MH i2c: E2 5C 00 5B 0C 80 15 02 00 54 00 F1 03 50 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 A7 D0 BE D0 BD 20 D0 A1 D0 B0 D1 80 D1 8B 20 D0 9E D0 B9 2C 20 D1 83 D0 BB 2E 20 D0 97 D0 B0 D0 BF D0 B0 D0 B4 D0 BD D0 B0 D1 8F 20 33 2C 20 34 32 2E 36 30 33 35 31 36 2C 20 37 36 2E 38 39 34 39 30 31 00 00 3E [00:16:07]Write i2c OK [00:16:07]MH_I2C_Read... [00:16:08]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:16:08]Read from MH i2c: E2 [00:16:08]MH_I2C_Read... [00:16:08]Read from MH i2c: E2 03 00 [00:16:08]MH_I2C_Read... [00:16:08]Read from MH i2c: E2 03 00 5B 0C 00 90 00 DB [00:16:08]RAPDU: 90 00 [00:16:08]wFMCommunicate OK [00:16:08]wFMCommunicate request_size=50 [00:16:08]MH_SAM_APDU [00:16:08]CAPDU: 80 15 02 00 2D A3 04 29 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 36 33 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 [00:16:08]Write to MH i2c: E2 35 00 5C 0C 80 15 02 00 2D 00 A3 04 29 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 36 33 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 00 00 60 [00:16:08]Write i2c OK [00:16:08]MH_I2C_Read... [00:16:08]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:16:08]Read from MH i2c: E2 [00:16:08]MH_I2C_Read... [00:16:08]Read from MH i2c: E2 03 00 [00:16:08]MH_I2C_Read... [00:16:08]Read from MH i2c: E2 03 00 5C 0C 00 90 00 DC [00:16:08]RAPDU: 90 00 [00:16:08]wFMCommunicate OK [00:16:08]wFMCommunicate request_size=13 [00:16:08]MH_SAM_APDU [00:16:08]CAPDU: 80 15 02 00 08 F4 03 04 00 49 0B 5D 66 [00:16:08]Write to MH i2c: E2 10 00 5D 0C 80 15 02 00 08 00 F4 03 04 00 49 0B 5D 66 00 00 0B [00:16:08]Write i2c OK [00:16:08]MH_I2C_Read... [00:16:08]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:16:08]Read from MH i2c: E2 [00:16:08]MH_I2C_Read... [00:16:08]Read from MH i2c: E2 03 00 [00:16:08]MH_I2C_Read... [00:16:08]Read from MH i2c: E2 03 00 5D 0C 00 90 00 DD [00:16:08]RAPDU: 90 00 [00:16:08]wFMCommunicate OK [00:16:08]wFMCommunicate request_size=25 [00:16:08]MH_SAM_APDU [00:16:08]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 [00:16:08]Write to MH i2c: E2 1C 00 5E 0C 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 00 00 4C [00:16:08]Write i2c OK [00:16:08]MH_I2C_Read... [00:16:08]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:16:08]Read from MH i2c: E2 [00:16:08]MH_I2C_Read... [00:16:08]Read from MH i2c: E2 03 00 [00:16:08]MH_I2C_Read... [00:16:08]Read from MH i2c: E2 03 00 5E 0C 00 90 00 DE [00:16:08]RAPDU: 90 00 [00:16:08]wFMCommunicate OK [00:16:08]wFMCommunicate request_size=4 [00:16:08]MH_SAM_APDU [00:16:08]CAPDU: 80 15 03 00 [00:16:08]Write to MH i2c: E2 08 00 5F 0C 80 15 03 00 00 00 00 00 EC [00:16:08]Write i2c OK [00:16:08]MH_I2C_Read... [00:16:08]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 53! [00:16:08]Read from MH i2c: E2 [00:16:08]MH_I2C_Read... [00:16:08]Read from MH i2c: E2 38 00 [00:16:08]MH_I2C_Read... [00:16:08]Read from MH i2c: E2 38 00 5F 0C 00 33 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 10 04 04 00 CA 9B 00 00 0E 04 04 00 78 01 00 00 35 04 06 00 5B 8D 79 31 CD 10 90 00 0A [00:16:08]RAPDU: 33 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 10 04 04 00 CA 9B 00 00 0E 04 04 00 78 01 00 00 35 04 06 00 5B 8D 79 31 CD 10 90 00 [00:16:08]wFMCommunicate OK [00:16:08]SAM_PROTO_ProcessDocument answer len = 51 [00:16:08]SAM_PROTO_ProcessDocument done [00:16:08]SetTLVBufToDocument [00:16:08]Processing tag 1209 (04B9) [00:16:08]Malloc new data [00:16:08]Processing tag 1041 (0411) [00:16:08]Processing tag 1040 (0410) [00:16:08]Malloc new data [00:16:08]Processing tag 1038 (040E) [00:16:08]Malloc new data [00:16:08]Processing tag 1077 (0435) [00:16:08]Malloc new data [00:16:08]SetTLVBufToDocument err=0 [00:16:08]KKMLoadAndSignOpenShiftData store KKM data [00:16:08]KKMLoadAndSignOpenShiftData err=0 [00:16:08]Отчет об открытии смены ФФД: 1.0 ИНН: 02508201610067 Кассир: Жаналиев Р. Адрес: 720001, с. Чон Сары Ой, ул. Западная 3, 42.603516, 76.894901 Место: АЗС № 63 "Партнер Нефть" 03.06.2024 00:16 Смена: 376 РНМ: 0000000000092680 ЗНМ: 0300000037 ФД: 39882 ФМ: 0000000000874882 ФПД: 100663181823248 [00:16:08]StoreToDocumentArchive [00:16:08]shift 376 fd 39882 [00:16:08]Create dir for shift 0376 [00:16:08]save to /storage/0376/doc_00039882 [00:16:08]save last doc name /storage/0376/doc_00039882 to /storage/kkm_last_doc_name [00:16:08]save OK [00:16:08]Clear old archive folders... [00:16:08]Remove dir /storage/0375 [00:16:08]opendir ok [00:16:08]file . [00:16:08]file .. [00:16:08]file doc_00039742 [00:16:08]remove file /storage/0375/doc_00039742 [00:16:08]file doc_00039743 [00:16:08]remove file /storage/0375/doc_00039743 [00:16:08]file doc_00039744 [00:16:08]remove file /storage/0375/doc_00039744 [00:16:08]file doc_00039745 [00:16:08]remove file /storage/0375/doc_00039745 [00:16:08]file doc_00039746 [00:16:08]remove file /storage/0375/doc_00039746 [00:16:08]file doc_00039747 [00:16:08]remove file /storage/0375/doc_00039747 [00:16:08]file doc_00039748 [00:16:08]remove file /storage/0375/doc_00039748 [00:16:08]file doc_00039749 [00:16:08]remove file /storage/0375/doc_00039749 [00:16:08]file doc_00039750 [00:16:08]remove file /storage/0375/doc_00039750 [00:16:08]file doc_00039751 [00:16:08]remove file /storage/0375/doc_00039751 [00:16:08]file doc_00039752 [00:16:08]remove file /storage/0375/doc_00039752 [00:16:08]file doc_00039753 [00:16:08]remove file /storage/0375/doc_00039753 [00:16:08]file doc_00039754 [00:16:08]remove file /storage/0375/doc_00039754 [00:16:08]file doc_00039755 [00:16:08]remove file /storage/0375/doc_00039755 [00:16:08]file doc_00039756 [00:16:08]remove file /storage/0375/doc_00039756 [00:16:08]file doc_00039757 [00:16:08]remove file /storage/0375/doc_00039757 [00:16:08]file doc_00039758 [00:16:08]remove file /storage/0375/doc_00039758 [00:16:08]file doc_00039759 [00:16:08]remove file /storage/0375/doc_00039759 [00:16:08]file doc_00039760 [00:16:08]remove file /storage/0375/doc_00039760 [00:16:08]file doc_00039761 [00:16:08]remove file /storage/0375/doc_00039761 [00:16:08]file doc_00039762 [00:16:08]remove file /storage/0375/doc_00039762 [00:16:08]file doc_00039763 [00:16:08]remove file /storage/0375/doc_00039763 [00:16:08]file doc_00039764 [00:16:08]remove file /storage/0375/doc_00039764 [00:16:08]file doc_00039765 [00:16:08]remove file /storage/0375/doc_00039765 [00:16:08]file doc_00039766 [00:16:08]remove file /storage/0375/doc_00039766 [00:16:08]file doc_00039767 [00:16:08]remove file /storage/0375/doc_00039767 [00:16:08]file doc_00039768 [00:16:08]remove file /storage/0375/doc_00039768 [00:16:08]file doc_00039769 [00:16:08]remove file /storage/0375/doc_00039769 [00:16:08]file doc_00039770 [00:16:08]remove file /storage/0375/doc_00039770 [00:16:08]file doc_00039771 [00:16:08]remove file /storage/0375/doc_00039771 [00:16:08]file doc_00039772 [00:16:08]remove file /storage/0375/doc_00039772 [00:16:08]file doc_00039773 [00:16:08]remove file /storage/0375/doc_00039773 [00:16:08]file doc_00039774 [00:16:08]remove file /storage/0375/doc_00039774 [00:16:08]file doc_00039775 [00:16:08]remove file /storage/0375/doc_00039775 [00:16:08]file doc_00039776 [00:16:08]remove file /storage/0375/doc_00039776 [00:16:08]file doc_00039777 [00:16:08]remove file /storage/0375/doc_00039777 [00:16:08]file doc_00039778 [00:16:08]remove file /storage/0375/doc_00039778 [00:16:08]file doc_00039779 [00:16:08]remove file /storage/0375/doc_00039779 [00:16:08]file doc_00039780 [00:16:08]remove file /storage/0375/doc_00039780 [00:16:08]file doc_00039781 [00:16:08]remove file /storage/0375/doc_00039781 [00:16:08]file doc_00039782 [00:16:08]remove file /storage/0375/doc_00039782 [00:16:08]file doc_00039783 [00:16:08]remove file /storage/0375/doc_00039783 [00:16:08]file doc_00039784 [00:16:08]remove file /storage/0375/doc_00039784 [00:16:08]file doc_00039785 [00:16:08]remove file /storage/0375/doc_00039785 [00:16:08]file doc_00039786 [00:16:08]remove file /storage/0375/doc_00039786 [00:16:08]file doc_00039787 [00:16:08]remove file /storage/0375/doc_00039787 [00:16:08]file doc_00039788 [00:16:08]remove file /storage/0375/doc_00039788 [00:16:08]file doc_00039789 [00:16:08]remove file /storage/0375/doc_00039789 [00:16:08]file doc_00039790 [00:16:08]remove file /storage/0375/doc_00039790 [00:16:08]file doc_00039791 [00:16:08]remove file /storage/0375/doc_00039791 [00:16:08]file doc_00039792 [00:16:08]remove file /storage/0375/doc_00039792 [00:16:08]file doc_00039793 [00:16:08]remove file /storage/0375/doc_00039793 [00:16:08]file doc_00039794 [00:16:08]remove file /storage/0375/doc_00039794 [00:16:08]file doc_00039795 [00:16:08]remove file /storage/0375/doc_00039795 [00:16:08]file doc_00039796 [00:16:08]remove file /storage/0375/doc_00039796 [00:16:08]file doc_00039797 [00:16:08]remove file /storage/0375/doc_00039797 [00:16:08]file doc_00039798 [00:16:08]remove file /storage/0375/doc_00039798 [00:16:08]file doc_00039799 [00:16:08]remove file /storage/0375/doc_00039799 [00:16:08]file doc_00039800 [00:16:08]remove file /storage/0375/doc_00039800 [00:16:08]file doc_00039801 [00:16:08]remove file /storage/0375/doc_00039801 [00:16:08]file doc_00039802 [00:16:08]remove file /storage/0375/doc_00039802 [00:16:08]file doc_00039803 [00:16:08]remove file /storage/0375/doc_00039803 [00:16:08]file doc_00039804 [00:16:08]remove file /storage/0375/doc_00039804 [00:16:08]file doc_00039805 [00:16:08]remove file /storage/0375/doc_00039805 [00:16:08]file doc_00039806 [00:16:08]remove file /storage/0375/doc_00039806 [00:16:08]file doc_00039807 [00:16:08]remove file /storage/0375/doc_00039807 [00:16:08]file doc_00039808 [00:16:08]remove file /storage/0375/doc_00039808 [00:16:08]file doc_00039809 [00:16:08]remove file /storage/0375/doc_00039809 [00:16:08]file doc_00039810 [00:16:08]remove file /storage/0375/doc_00039810 [00:16:08]file doc_00039811 [00:16:08]remove file /storage/0375/doc_00039811 [00:16:08]file doc_00039812 [00:16:09]remove file /storage/0375/doc_00039812 [00:16:09]file doc_00039813 [00:16:09]remove file /storage/0375/doc_00039813 [00:16:09]file doc_00039814 [00:16:09]remove file /storage/0375/doc_00039814 [00:16:09]file doc_00039815 [00:16:09]remove file /storage/0375/doc_00039815 [00:16:09]file doc_00039816 [00:16:09]remove file /storage/0375/doc_00039816 [00:16:09]file doc_00039817 [00:16:09]remove file /storage/0375/doc_00039817 [00:16:09]file doc_00039818 [00:16:09]remove file /storage/0375/doc_00039818 [00:16:09]file doc_00039819 [00:16:09]remove file /storage/0375/doc_00039819 [00:16:09]file doc_00039820 [00:16:09]remove file /storage/0375/doc_00039820 [00:16:09]file doc_00039821 [00:16:09]remove file /storage/0375/doc_00039821 [00:16:09]file doc_00039822 [00:16:09]remove file /storage/0375/doc_00039822 [00:16:09]file doc_00039823 [00:16:09]remove file /storage/0375/doc_00039823 [00:16:09]file doc_00039824 [00:16:09]remove file /storage/0375/doc_00039824 [00:16:09]file doc_00039825 [00:16:09]remove file /storage/0375/doc_00039825 [00:16:09]file doc_00039826 [00:16:09]remove file /storage/0375/doc_00039826 [00:16:09]file doc_00039827 [00:16:09]remove file /storage/0375/doc_00039827 [00:16:09]file doc_00039828 [00:16:09]remove file /storage/0375/doc_00039828 [00:16:09]file doc_00039829 [00:16:09]remove file /storage/0375/doc_00039829 [00:16:09]file doc_00039830 [00:16:09]remove file /storage/0375/doc_00039830 [00:16:09]file doc_00039831 [00:16:09]remove file /storage/0375/doc_00039831 [00:16:09]file doc_00039832 [00:16:09]remove file /storage/0375/doc_00039832 [00:16:09]file doc_00039833 [00:16:09]remove file /storage/0375/doc_00039833 [00:16:09]file doc_00039834 [00:16:09]remove file /storage/0375/doc_00039834 [00:16:09]file doc_00039835 [00:16:09]remove file /storage/0375/doc_00039835 [00:16:09]file doc_00039836 [00:16:09]remove file /storage/0375/doc_00039836 [00:16:09]file doc_00039837 [00:16:09]remove file /storage/0375/doc_00039837 [00:16:09]file doc_00039838 [00:16:09]remove file /storage/0375/doc_00039838 [00:16:09]file doc_00039839 [00:16:09]remove file /storage/0375/doc_00039839 [00:16:09]file doc_00039840 [00:16:09]remove file /storage/0375/doc_00039840 [00:16:09]file doc_00039841 [00:16:09]remove file /storage/0375/doc_00039841 [00:16:09]file doc_00039842 [00:16:09]remove file /storage/0375/doc_00039842 [00:16:09]file doc_00039843 [00:16:09]remove file /storage/0375/doc_00039843 [00:16:09]file doc_00039844 [00:16:09]remove file /storage/0375/doc_00039844 [00:16:09]file doc_00039846 [00:16:09]remove file /storage/0375/doc_00039846 [00:16:09]file doc_00039847 [00:16:09]remove file /storage/0375/doc_00039847 [00:16:09]file doc_00039848 [00:16:09]remove file /storage/0375/doc_00039848 [00:16:09]file doc_00039849 [00:16:09]remove file /storage/0375/doc_00039849 [00:16:09]file doc_00039850 [00:16:09]remove file /storage/0375/doc_00039850 [00:16:09]file doc_00039851 [00:16:09]remove file /storage/0375/doc_00039851 [00:16:09]file doc_00039852 [00:16:09]remove file /storage/0375/doc_00039852 [00:16:09]file doc_00039853 [00:16:09]remove file /storage/0375/doc_00039853 [00:16:09]file doc_00039854 [00:16:09]remove file /storage/0375/doc_00039854 [00:16:09]file doc_00039855 [00:16:09]remove file /storage/0375/doc_00039855 [00:16:09]file doc_00039856 [00:16:09]remove file /storage/0375/doc_00039856 [00:16:09]file doc_00039857 [00:16:09]remove file /storage/0375/doc_00039857 [00:16:09]file doc_00039858 [00:16:09]remove file /storage/0375/doc_00039858 [00:16:09]file doc_00039859 [00:16:09]remove file /storage/0375/doc_00039859 [00:16:09]file doc_00039860 [00:16:09]remove file /storage/0375/doc_00039860 [00:16:09]file doc_00039861 [00:16:09]remove file /storage/0375/doc_00039861 [00:16:09]file doc_00039862 [00:16:09]remove file /storage/0375/doc_00039862 [00:16:09]file doc_00039863 [00:16:09]remove file /storage/0375/doc_00039863 [00:16:09]file doc_00039864 [00:16:09]remove file /storage/0375/doc_00039864 [00:16:09]file doc_00039865 [00:16:09]remove file /storage/0375/doc_00039865 [00:16:09]file doc_00039866 [00:16:09]remove file /storage/0375/doc_00039866 [00:16:09]file doc_00039867 [00:16:09]remove file /storage/0375/doc_00039867 [00:16:09]file doc_00039868 [00:16:09]remove file /storage/0375/doc_00039868 [00:16:09]file doc_00039869 [00:16:09]remove file /storage/0375/doc_00039869 [00:16:09]file doc_00039870 [00:16:09]remove file /storage/0375/doc_00039870 [00:16:09]file doc_00039871 [00:16:09]remove file /storage/0375/doc_00039871 [00:16:09]file doc_00039872 [00:16:09]remove file /storage/0375/doc_00039872 [00:16:09]file doc_00039873 [00:16:09]remove file /storage/0375/doc_00039873 [00:16:09]file doc_00039874 [00:16:09]remove file /storage/0375/doc_00039874 [00:16:09]file doc_00039875 [00:16:09]remove file /storage/0375/doc_00039875 [00:16:09]file doc_00039876 [00:16:09]remove file /storage/0375/doc_00039876 [00:16:09]file doc_00039877 [00:16:09]remove file /storage/0375/doc_00039877 [00:16:09]file doc_00039878 [00:16:09]remove file /storage/0375/doc_00039878 [00:16:09]file doc_00039879 [00:16:09]remove file /storage/0375/doc_00039879 [00:16:09]file doc_00039880 [00:16:09]remove file /storage/0375/doc_00039880 [00:16:09]file doc_00039881 [00:16:09]remove file /storage/0375/doc_00039881 [00:16:09]remove dir /storage/0375 [00:16:09]ProcessDocumentItem done err = 0, tmpTLVsize=251 [00:16:09]tlvbuf is 00D061D0 [00:16:09]SAM_PROTO_ClearQueue [00:16:09]wFMCommunicate request_size=4 [00:16:09]MH_SAM_APDU [00:16:09]CAPDU: 80 09 00 00 [00:16:09]Write to MH i2c: E2 08 00 60 0C 80 09 00 00 00 00 00 00 DE [00:16:09]Write i2c OK [00:16:09]MH_I2C_Read... [00:16:09]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:16:09]Read from MH i2c: E2 [00:16:09]MH_I2C_Read... [00:16:09]Read from MH i2c: E2 03 00 [00:16:09]MH_I2C_Read... [00:16:09]Read from MH i2c: E2 03 00 60 0C 00 90 00 E0 [00:16:09]RAPDU: 90 00 [00:16:09]wFMCommunicate OK [00:16:09]SAM_PROTO_ClearQueue done [00:16:09]KKMCreateOFDPacket [00:16:09]OFDProtocolAddRootSTLVToBuf [00:16:09]FM_MakeSignedData [00:16:09]FM_MakeSignedData [00:16:09]SAM_PROTO_SignData [00:16:09]wFMCommunicate request_size=4 [00:16:09]MH_SAM_APDU [00:16:09]CAPDU: 80 0D 01 02 [00:16:09]Write to MH i2c: E2 08 00 61 0C 80 0D 01 02 00 00 00 00 E6 [00:16:09]Write i2c OK [00:16:09]MH_I2C_Read... [00:16:09]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:16:09]Read from MH i2c: E2 [00:16:09]MH_I2C_Read... [00:16:09]Read from MH i2c: E2 03 00 [00:16:09]MH_I2C_Read... [00:16:09]Read from MH i2c: E2 03 00 61 0C 00 90 00 E1 [00:16:09]RAPDU: 90 00 [00:16:09]wFMCommunicate OK [00:16:09]wFMCommunicate request_size=255 [00:16:09]MH_SAM_APDU [00:16:09]CAPDU: 80 0D 02 02 FA 02 00 FB 00 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 15 00 D0 96 D0 B0 D0 BD D0 B0 D0 BB D0 B8 D0 B5 D0 B2 20 D0 A0 2E 20 F1 03 50 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 A7 D0 BE D0 BD 20 D0 A1 D0 B0 D1 80 D1 8B 20 D0 9E D0 B9 2C 20 D1 83 D0 BB 2E 20 D0 97 D0 B0 D0 BF D0 B0 D0 B4 D0 BD D0 B0 D1 8F 20 33 2C 20 34 32 2E 36 30 33 35 31 36 2C 20 37 36 2E 38 39 34 39 30 31 A3 04 29 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 36 33 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 F4 03 04 00 49 0B 5D 66 0E 04 04 00 78 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 10 04 04 00 CA 9B 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 35 04 06 00 5B [00:16:09]Write to MH i2c: E2 02 01 62 0C 80 0D 02 02 FA 00 02 00 FB 00 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 15 00 D0 96 D0 B0 D0 BD D0 B0 D0 BB D0 B8 D0 B5 D0 B2 20 D0 A0 2E 20 F1 03 50 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 A7 D0 BE D0 BD 20 D0 A1 D0 B0 D1 80 D1 8B 20 D0 9E D0 B9 2C 20 D1 83 D0 BB 2E 20 D0 97 D0 B0 D0 BF D0 B0 D0 B4 D0 BD D0 B0 D1 8F 20 33 2C 20 34 32 2E 36 30 33 35 31 36 2C 20 37 36 2E 38 39 34 39 30 31 A3 04 29 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 36 33 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 F4 03 04 00 49 0B 5D 66 0E 04 04 00 78 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 10 04 04 00 CA 9B 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 35 04 06 00 5B 00 00 73 [00:16:09]Write i2c OK [00:16:09]MH_I2C_Read... [00:16:09]OFD Sender: No OFD packet to send [00:16:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:16:09]Read from MH i2c: E2 [00:16:09]MH_I2C_Read... [00:16:09]Read from MH i2c: E2 03 00 [00:16:09]MH_I2C_Read... [00:16:09]Read from MH i2c: E2 03 00 62 0C 00 90 00 E2 [00:16:10]RAPDU: 90 00 [00:16:10]wFMCommunicate OK [00:16:10]wFMCommunicate request_size=10 [00:16:10]MH_SAM_APDU [00:16:10]CAPDU: 80 0D 02 02 05 8D 79 31 CD 10 [00:16:10]Write to MH i2c: E2 0D 00 63 0C 80 0D 02 02 05 00 8D 79 31 CD 10 00 00 07 [00:16:10]Write i2c OK [00:16:10]MH_I2C_Read... [00:16:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:16:10]Read from MH i2c: E2 [00:16:10]MH_I2C_Read... [00:16:10]Read from MH i2c: E2 03 00 [00:16:10]MH_I2C_Read... [00:16:10]Read from MH i2c: E2 03 00 63 0C 00 90 00 E3 [00:16:10]RAPDU: 90 00 [00:16:10]wFMCommunicate OK [00:16:10]wFMCommunicate request_size=4 [00:16:10]MH_SAM_APDU [00:16:10]CAPDU: 80 0D 03 02 [00:16:10]Write to MH i2c: E2 08 00 64 0C 80 0D 03 02 00 00 00 00 EB [00:16:10]Write i2c OK [00:16:10]MH_I2C_Read... [00:16:10]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:16:10]Read from MH i2c: E2 [00:16:10]MH_I2C_Read... [00:16:10]Read from MH i2c: E2 0B 00 [00:16:10]MH_I2C_Read... [00:16:10]Read from MH i2c: E2 0B 00 64 0C 00 A8 0D E0 1B BE AB 0E 20 90 00 33 [00:16:10]RAPDU: A8 0D E0 1B BE AB 0E 20 90 00 [00:16:10]wFMCommunicate OK [00:16:10]SAM_PROTO_SignData done [00:16:10]FM_MakeSignedData done [00:16:10]CreateOFDProtocolMessage [00:16:10]wFMCommunicate request_size=4 [00:16:10]MH_SAM_APDU [00:16:10]CAPDU: 80 11 00 00 [00:16:10]Write to MH i2c: E2 08 00 65 0C 80 11 00 00 00 00 00 00 EB [00:16:10]Write i2c OK [00:16:10]MH_I2C_Read... [00:16:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:16:10]Read from MH i2c: E2 [00:16:10]MH_I2C_Read... [00:16:10]Read from MH i2c: E2 17 00 [00:16:10]MH_I2C_Read... [00:16:10]Read from MH i2c: E2 17 00 65 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 90 00 43 [00:16:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 90 00 [00:16:10]wFMCommunicate OK [00:16:10]CreateOFDProtocolMessage done [00:16:10]OFDSenderStorePacket 39882 [00:16:10]StoreOFDPacket docnum=39882 [00:16:10]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 0F 01 00 00 02 98 07 01 FA 68 5A 02 01 00 02 00 FB 00 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 15 00 D0 96 D0 B0 D0 BD D0 B0 D0 BB D0 B8 D0 B5 D0 B2 20 D0 A0 2E 20 F1 03 50 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 A7 D0 BE D0 BD 20 D0 A1 D0 B0 D1 80 D1 8B 20 D0 9E D0 B9 2C 20 D1 83 D0 BB 2E 20 D0 97 D0 B0 D0 BF D0 B0 D0 B4 D0 BD D0 B0 D1 8F 20 33 2C 20 34 32 2E 36 30 33 35 31 36 2C 20 37 36 2E 38 39 34 39 30 31 A3 04 29 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 36 33 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 F4 03 04 00 49 0B 5D 66 0E 04 04 00 78 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 10 04 04 00 CA 9B 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 35 04 06 00 5B 8D 79 31 CD 10 A8 0D E0 1B BE AB 0E 20 [00:16:10]CheckFolder [00:16:10]dirname=/storage/ofd_packets [00:16:10]CheckFolder done [00:16:10]ProducePacketName [00:16:10]name=ofd_packets/00039882 [00:16:10]NVStorageSaveData ofd_packets/00039882 [00:16:10]File name is /storage/ofd_packets/00039882 [00:16:10]Write 301 bytes [00:16:10]NVStorageSaveData done [00:16:10]OFDSenderStorePacket done [00:16:10]KKMCreateOFDPacket done [00:16:10]NVStorageSaveData kkm_last_timestamp [00:16:10]File name is /storage/kkm_last_timestamp [00:16:10]Write 4 bytes [00:16:10]NVStorageSaveData done [00:16:10]ExternCall_PrintAddStr [00:16:10]wPrintStart [00:16:10]Write to MH i2c: 01 00 00 66 0C 72 [00:16:10]Write i2c OK [00:16:10]MH_I2C_Read... [00:16:10]Read from MH i2c: 01 [00:16:10]MH_I2C_Read... [00:16:10]Read from MH i2c: 01 07 00 [00:16:10]MH_I2C_Read... [00:16:10]Read from MH i2c: 01 07 00 66 0C 00 00 00 00 00 FF 0F 87 [00:16:10]RasterBufferAndPrint [00:16:10]line Отчет об открытии смены [00:16:10]line ФФД: 1.0 [00:16:10]line ИНН: 02508201610067 [00:16:10]line Кассир: Жаналиев Р. [00:16:10]line Адрес: 720001, с. Чон Сары Ой, ул. Западная 3, 42.603516, 76.894901 [00:16:10]line Место: АЗС № 63 "Партнер Нефть" [00:16:10]line 03.06.2024 00:16 [00:16:10]line Смена: 376 [00:16:10]line РНМ: 0000000000092680 [00:16:10]line ЗНМ: 0300000037 [00:16:10]line ФД: 39882 [00:16:10]line ФМ: 0000000000874882 [00:16:10]line ФПД: 100663181823248 [00:16:10]written 0, free lines is 4095 [00:16:10]OFD Sender: Processing packet 39882 [packets to send 5, broken 4] [00:16:10]ProducePacketName [00:16:10]name=ofd_packets/00039882 [00:16:10]OFD Sender: To server: pG, [00:16:10]CommunicateWithHost lk.salyk.kg:30040 [00:16:10]ConnectInit lk.salyk.kg [00:16:10]Connected sock=10 [00:16:10]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 38 32 0F 01 00 00 02 98 07 01 FA 68 5A 02 01 00 02 00 FB 00 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 15 00 D0 96 D0 B0 D0 BD D0 B0 D0 BB D0 B8 D0 B5 D0 B2 20 D0 A0 2E 20 F1 03 50 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 A7 D0 BE D0 BD 20 D0 A1 D0 B0 D1 80 D1 8B 20 D0 9E D0 B9 2C 20 D1 83 D0 BB 2E 20 D0 97 D0 B0 D0 BF D0 B0 D0 B4 D0 BD D0 B0 D1 8F 20 33 2C 20 34 32 2E 36 30 33 35 31 36 2C 20 37 36 2E 38 39 34 39 30 31 A3 04 29 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 36 33 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 F4 03 04 00 49 0B 5D 66 0E 04 04 00 78 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 10 04 04 00 CA 9B 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 35 04 06 00 5B 8D 79 31 CD 10 A8 0D E0 1B BE AB 0E 20 [00:16:10]Write to MH i2c: 01 00 00 78 0C 84 [00:16:10]Write i2c OK [00:16:10]MH_I2C_Read... [00:16:10]Read from MH i2c: 01 [00:16:10]MH_I2C_Read... [00:16:10]Read from MH i2c: 01 07 00 [00:16:10]MH_I2C_Read... [00:16:10]Read from MH i2c: 01 07 00 78 0C 00 00 00 00 00 59 0E F2 [00:16:10]RasterBufferAndPrint [00:16:10]line [00:16:10]line [00:16:10]line [00:16:10]line [00:16:10]line [00:16:10]written 0, free lines is 3681 [00:16:10]MH_Cut [00:16:10]Write to MH i2c: D1 01 00 7F 0C 01 5D [00:16:10]Write i2c OK [00:16:10]MH_I2C_Read... [00:16:10]Read from MH i2c: D1 [00:16:10]MH_I2C_Read... [00:16:10]Read from MH i2c: D1 01 00 [00:16:10]MH_I2C_Read... [00:16:10]Read from MH i2c: D1 01 00 7F 0C 00 5C [00:16:10]Write to MH i2c: 01 00 00 80 0C 8C [00:16:10]Write i2c OK [00:16:10]MH_I2C_Read... [00:16:10]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 4F 00 00 00 33 35 47 00 B1 35 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 38 32 10 04 04 00 CA 9B 00 00 F4 03 04 00 F7 B3 5C 66 B6 04 01 00 00 B6 70 3B DD B5 2C D4 B7 [00:16:10]CommunicateWithHost err = 0 [00:16:10]CheckOFDResponse [00:16:10]1017 (14) - 77093643461234 [00:16:10]1041 (16) - 0000000000874882 [00:16:10]1040 (4) - 39882 [00:16:10]1012 (4) - 02.06.2024 18:03 [00:16:10]1206 (1) - 0 [00:16:10]OFD Sender: Remove packet 39882 [00:16:10]ProducePacketName [00:16:10]name=ofd_packets/00039882 [00:16:10]NVStorageDeleteData [00:16:10]*** Cut start [00:16:10]*** Partial cut [00:16:10]*** CUTSNS_PIN = 1 [00:16:10]*** CUTSNS_PIN = 0 [00:16:11]OFD Sender: No OFD packet to send [00:16:11]*** Brake cut motor [00:16:11]Read from MH i2c: 01 [00:16:11]MH_I2C_Read... [00:16:11]*** Stop cut motor [00:16:11]*** Cut end [00:16:11]Read from MH i2c: 01 07 00 [00:16:11]MH_I2C_Read... [00:16:11]Read from MH i2c: 01 07 00 80 0C 00 00 00 00 00 FF 0F A1 [00:16:11]process_action open_shift done [00:16:11]requested_data is exist [00:16:11]produce_requested_data [00:16:11]requested_item fd.num is exist - process it [00:16:11]SAM_PROTO_GetFieldsCounters [00:16:11]wFMCommunicate request_size=4 [00:16:11]MH_SAM_APDU [00:16:11]CAPDU: 80 13 00 00 [00:16:11]Write to MH i2c: E2 08 00 81 0C 80 13 00 00 00 00 00 00 09 [00:16:11]Write i2c OK [00:16:11]MH_I2C_Read... [00:16:11]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:16:11]Read from MH i2c: E2 [00:16:11]MH_I2C_Read... [00:16:11]Read from MH i2c: E2 62 00 [00:16:11]MH_I2C_Read... [00:16:11]Read from MH i2c: E2 62 00 81 0C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 10 04 04 00 CA 9B 00 00 0E 04 04 00 78 01 00 00 12 04 04 00 00 00 00 00 5E 04 04 00 00 00 00 00 57 04 04 00 01 00 00 00 19 04 04 00 00 00 00 00 90 00 0D [00:16: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 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 10 04 04 00 CA 9B 00 00 0E 04 04 00 78 01 00 00 12 04 04 00 00 00 00 00 5E 04 04 00 00 00 00 00 57 04 04 00 01 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:16:11]wFMCommunicate OK [00:16:11]SAM_PROTO_GetFieldsCounters done [00:16:11]requested_item shift.num is exist - process it [00:16:11]requested_item shift.opened is exist - process it [00:16:11]req_shift_opened [00:16:11]FM_GetShiftState [00:16:11]SAM_PROTO_GetShiftState [00:16:11]wFMCommunicate request_size=4 [00:16:11]MH_SAM_APDU [00:16:11]CAPDU: 80 13 01 00 [00:16:11]Write to MH i2c: E2 08 00 82 0C 80 13 01 00 00 00 00 00 0B [00:16:11]Write i2c OK [00:16:11]MH_I2C_Read... [00:16:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:16:11]Read from MH i2c: E2 [00:16:11]MH_I2C_Read... [00:16:11]Read from MH i2c: E2 0E 00 [00:16:11]MH_I2C_Read... [00:16:11]Read from MH i2c: E2 0E 00 82 0C 00 09 00 01 49 0B 5D 66 00 00 00 00 90 00 2E [00:16:11]RAPDU: 09 00 01 49 0B 5D 66 00 00 00 00 90 00 [00:16:11]wFMCommunicate OK [00:16:11]SAM_PROTO_GetShiftState done [00:16:11]FM_GetShiftState done [00:16:11]req_shift_opened done [00:16:11]requested_item shift.open_date is exist - process it [00:16:11]req_shift_open_date [00:16:11]req_shift_open_date done [00:16:11]produce_requested_data done [00:16:11]produce_requested_data return {"fd.num":39882,"shift.num":376,"shift.opened":1,"shift.open_date":1717373769} [00:16:11]process_action_free open_shift [00:16:11]json_value_free [00:16:11]json_value_free done [00:16:11]process_json_proto returns [00:16:11]Send response to host [00:16:11]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":39882,"shift.num":376,"shift.opened":1,"shift.open_date":1717373769}}} [00:16:11]free response buf [00:16:11]execute_script done [00:16:11]execute_script returns [00:16:11]free content buf [00:16:11]Sock 9.Close socket [00:16:11]Sock 9.Thread stoped [00:16:11]accept exits with 7 [00:16:11]New connection [00:16:11]New thread 3066699108 created [00:16:11]Thread 3066555748 joined [00:16:11]Waiting for new connection... [00:16:11] Sock 7.Parse request [00:16:11]Sock 7.Check first char [00:16:11]Sock 7.First char is OK [00:16:11]request: POST /json_proto HTTP/1.0 [00:16:11]Method: POST [00:16:11]URL: /json_proto [00:16:11]Method is POST - this is cgi request [00:16:11]url: /json_proto [00:16:11]query_string will be loaded in cgi processing [00:16:11]execute_cgi json_proto POST (null) [00:16:11]execute_cgi path=json_proto method=POST [00:16:11]POST find Content-Length [00:16:11]Host: 172.17.36.199:8080 [00:16:11]Content-Length: 331 [00:16:11]Content-Type: application/json [00:16:11] [00:16:11]POST finish read [00:16:11]Found Content-Length = 331 [00:16:11]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:16:11]execute_script... [00:16:11]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:16:11]POST & json_proto [00:16:11]process_json_proto [00:16:11]json parsed OK: [00:16:11]protocol is kg_v1.0 [00:16:11]action value=get_value [00:16:11]process_action get_value [00:16:11]cmd_get_value [00:16:11]process_action get_value done [00:16:11]requested_data is exist [00:16:11]produce_requested_data [00:16:11]requested_item fm.sale.total is exist - process it [00:16:11]SAM_PROTO_GetFMData [00:16:11]wFMCommunicate request_size=4 [00:16:11]MH_SAM_APDU [00:16:11]CAPDU: 80 13 03 00 [00:16:11]Write to MH i2c: E2 08 00 83 0C 80 13 03 00 00 00 00 00 0E [00:16:11]Write i2c OK [00:16:11]MH_I2C_Read... [00:16:12]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:16:12]Read from MH i2c: E2 [00:16:12]MH_I2C_Read... [00:16:12]Read from MH i2c: E2 FD 00 [00:16:12]MH_I2C_Read... [00:16:12]Read from MH i2c: E2 FD 00 83 0C 00 C2 04 85 04 BE 04 6E 04 04 00 DA 98 00 00 69 04 A0 00 6F 04 04 00 A7 98 00 00 B1 04 04 00 B2 45 14 36 70 04 04 00 5C DA 0C 2B 72 04 04 00 56 6B 07 0B 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 1C BE 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 C9 6E 7A EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9C 00 6F 04 04 00 33 00 00 00 B1 04 03 00 70 19 85 70 04 03 00 F4 09 84 72 04 03 00 7C 0F 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 AF 22 0E EF 03 09 00 F6 03 90 00 6C [00:16:12]RAPDU: C2 04 85 04 BE 04 6E 04 04 00 DA 98 00 00 69 04 A0 00 6F 04 04 00 A7 98 00 00 B1 04 04 00 B2 45 14 36 70 04 04 00 5C DA 0C 2B 72 04 04 00 56 6B 07 0B 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 1C BE 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 C9 6E 7A EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9C 00 6F 04 04 00 33 00 00 00 B1 04 03 00 70 19 85 70 04 03 00 F4 09 84 72 04 03 00 7C 0F 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 AF 22 0E EF 03 09 00 F6 03 90 00 [00:16:12]wFMCommunicate OK [00:16:12]wFMCommunicate request_size=4 [00:16:12]MH_SAM_APDU [00:16:12]CAPDU: 80 17 00 00 [00:16:12]Write to MH i2c: E2 08 00 84 0C 80 17 00 00 00 00 00 00 10 [00:16:12]Write i2c OK [00:16:12]MH_I2C_Read... [00:16:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:16:12]Read from MH i2c: E2 [00:16:12]MH_I2C_Read... [00:16:12]Read from MH i2c: E2 FD 00 [00:16:12]MH_I2C_Read... [00:16:12]Read from MH i2c: E2 FD 00 84 0C 00 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 8B 2D 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 90 00 F6 [00:16:12]RAPDU: 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 8B 2D 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 90 00 [00:16:12]wFMCommunicate OK [00:16:12]wFMCommunicate request_size=4 [00:16:12]MH_SAM_APDU [00:16:12]CAPDU: 80 17 00 00 [00:16:12]Write to MH i2c: E2 08 00 85 0C 80 17 00 00 00 00 00 00 11 [00:16:12]Write i2c OK [00:16:12]MH_I2C_Read... [00:16:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:16:12]Read from MH i2c: E2 [00:16:12]MH_I2C_Read... [00:16:12]Read from MH i2c: E2 FD 00 [00:16:12]MH_I2C_Read... [00:16:12]Read from MH i2c: E2 FD 00 85 0C 00 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 BF [00:16:13]RAPDU: 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:16:13]wFMCommunicate OK [00:16:13]wFMCommunicate request_size=4 [00:16:13]MH_SAM_APDU [00:16:13]CAPDU: 80 17 00 00 [00:16:13]Write to MH i2c: E2 08 00 86 0C 80 17 00 00 00 00 00 00 12 [00:16:13]Write i2c OK [00:16:13]MH_I2C_Read... [00:16:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:16:13]Read from MH i2c: E2 [00:16:13]MH_I2C_Read... [00:16:13]Read from MH i2c: E2 FD 00 [00:16:13]MH_I2C_Read... [00:16:13]Read from MH i2c: E2 FD 00 86 0C 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 8D [00:16:13]RAPDU: F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:16:13]wFMCommunicate OK [00:16:13]wFMCommunicate request_size=4 [00:16:13]MH_SAM_APDU [00:16:13]CAPDU: 80 17 00 00 [00:16:13]Write to MH i2c: E2 08 00 87 0C 80 17 00 00 00 00 00 00 13 [00:16:13]Write i2c OK [00:16:13]MH_I2C_Read... [00:16:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 220! [00:16:13]Read from MH i2c: E2 [00:16:13]MH_I2C_Read... [00:16:13]Read from MH i2c: E2 DF 00 [00:16:13]MH_I2C_Read... [00:16:13]Read from MH i2c: E2 DF 00 87 0C 00 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 F3 [00:16:13]RAPDU: 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:16:13]wFMCommunicate OK [00:16:13]SAM_PROTO_GetFMData done [00:16:13]requested_item fm.sale_refund.total is exist - process it [00:16:13]requested_item fm.buy.total is exist - process it [00:16:13]requested_item shift.sale.total is exist - process it [00:16:13]SAM_PROTO_GetShiftData [00:16:13]wFMCommunicate request_size=4 [00:16:13]MH_SAM_APDU [00:16:13]CAPDU: 80 13 02 00 [00:16:13]Write to MH i2c: E2 08 00 88 0C 80 13 02 00 00 00 00 00 12 [00:16:13]Write i2c OK [00:16:13]MH_I2C_Read... [00:16:14]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:16:14]Read from MH i2c: E2 [00:16:14]MH_I2C_Read... [00:16:14]Read from MH i2c: E2 FD 00 [00:16:14]MH_I2C_Read... [00:16:14]Read from MH i2c: E2 FD 00 88 0C 00 A0 04 AA 04 9C 04 6E 04 04 00 00 00 00 00 69 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 85 [00:16:14]RAPDU: A0 04 AA 04 9C 04 6E 04 04 00 00 00 00 00 69 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 [00:16:14]wFMCommunicate OK [00:16:14]wFMCommunicate request_size=4 [00:16:14]MH_SAM_APDU [00:16:14]CAPDU: 80 17 00 00 [00:16:14]Write to MH i2c: E2 08 00 89 0C 80 17 00 00 00 00 00 00 15 [00:16:14]Write i2c OK [00:16:14]MH_I2C_Read... [00:16:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:16:14]Read from MH i2c: E2 [00:16:14]MH_I2C_Read... [00:16:14]Read from MH i2c: E2 FD 00 [00:16:14]MH_I2C_Read... [00:16:14]Read from MH i2c: E2 FD 00 89 0C 00 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 90 00 1D [00:16:14]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 90 00 [00:16:15]wFMCommunicate OK [00:16:15]wFMCommunicate request_size=4 [00:16:15]MH_SAM_APDU [00:16:15]CAPDU: 80 17 00 00 [00:16:15]Write to MH i2c: E2 08 00 8A 0C 80 17 00 00 00 00 00 00 16 [00:16:15]Write i2c OK [00:16:15]MH_I2C_Read... [00:16:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:16:15]Read from MH i2c: E2 [00:16:15]MH_I2C_Read... [00:16:15]Read from MH i2c: E2 FD 00 [00:16:15]MH_I2C_Read... [00:16:15]Read from MH i2c: E2 FD 00 8A 0C 00 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 90 00 E8 [00:16:15]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 90 00 [00:16:15]wFMCommunicate OK [00:16:15]wFMCommunicate request_size=4 [00:16:15]MH_SAM_APDU [00:16:15]CAPDU: 80 17 00 00 [00:16:15]Write to MH i2c: E2 08 00 8B 0C 80 17 00 00 00 00 00 00 17 [00:16:15]Write i2c OK [00:16:15]MH_I2C_Read... [00:16:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:16:15]Read from MH i2c: E2 [00:16:15]MH_I2C_Read... [00:16:15]Read from MH i2c: E2 FD 00 [00:16:15]MH_I2C_Read... [00:16:15]Read from MH i2c: E2 FD 00 8B 0C 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 90 00 89 [00:16:15]RAPDU: 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 90 00 [00:16:15]wFMCommunicate OK [00:16:15]wFMCommunicate request_size=4 [00:16:15]MH_SAM_APDU [00:16:15]CAPDU: 80 17 00 00 [00:16:15]Write to MH i2c: E2 08 00 8C 0C 80 17 00 00 00 00 00 00 18 [00:16:15]Write i2c OK [00:16:15]MH_I2C_Read... [00:16:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 186! [00:16:16]Read from MH i2c: E2 [00:16:16]MH_I2C_Read... [00:16:16]Read from MH i2c: E2 BD 00 [00:16:16]MH_I2C_Read... [00:16:16]Read from MH i2c: E2 BD 00 8C 0C 00 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 FE [00:16:16]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:16:16]wFMCommunicate OK [00:16:16]SAM_PROTO_GetShiftData done [00:16:16]requested_item shift.sale.total_cash is exist - process it [00:16:16]requested_item shift.sale_refund.total is exist - process it [00:16:16]requested_item shift.sale_refund.total_cash is exist - process it [00:16:16]requested_item shift.buy.total is exist - process it [00:16:16]requested_item shift.buy.total_cash is exist - process it [00:16:16]produce_requested_data done [00:16:16]produce_requested_data return {"fm.sale.total":9072982.26,"fm.sale_refund.total":87228.00,"fm.buy.total":0.00,"shift.sale.total":0.00,"shift.sale.total_cash":0.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:16:16]process_action_free get_value [00:16:16]json_value_free [00:16:16]json_value_free done [00:16:16]process_json_proto returns [00:16:16]Send response to host [00:16:16]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":9072982.26,"fm.sale_refund.total":87228.00,"fm.buy.total":0.00,"shift.sale.total":0.00,"shift.sale.total_cash":0.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:16:16]free response buf [00:16:16]execute_script done [00:16:16]execute_script returns [00:16:16]free content buf [00:16:16]Sock 7.Close socket [00:16:16]Sock 7.Thread stoped [00:16:16]OFD Sender: No OFD packet to send [00:16:21]OFD Sender: No OFD packet to send [00:16:26]OFD Sender: No OFD packet to send [00:16:31]OFD Sender: No OFD packet to send [00:16:36]OFD Sender: No OFD packet to send [00:16:41]OFD Sender: No OFD packet to send [00:16:46]OFD Sender: No OFD packet to send [00:16:51]OFD Sender: No OFD packet to send [00:16:56]OFD Sender: No OFD packet to send [00:17:01]OFD Sender: No OFD packet to send [00:17:06]OFD Sender: No OFD packet to send [00:17:11]OFD Sender: No OFD packet to send [00:17:16]OFD Sender: No OFD packet to send [00:17:21]OFD Sender: No OFD packet to send [00:17:26]OFD Sender: No OFD packet to send [00:17:31]OFD Sender: No OFD packet to send [00:17:36]OFD Sender: No OFD packet to send [00:17:41]OFD Sender: No OFD packet to send [00:17:46]OFD Sender: No OFD packet to send [00:17:51]OFD Sender: No OFD packet to send [00:17:56]OFD Sender: No OFD packet to send [00:18:01]OFD Sender: No OFD packet to send [00:18:06]OFD Sender: No OFD packet to send [00:18:11]OFD Sender: No OFD packet to send [00:18:16]OFD Sender: No OFD packet to send [00:18:21]OFD Sender: No OFD packet to send [00:18:26]OFD Sender: No OFD packet to send [00:18:31]OFD Sender: No OFD packet to send [00:18:36]OFD Sender: No OFD packet to send [00:18:41]OFD Sender: No OFD packet to send [00:18:46]OFD Sender: No OFD packet to send [00:18:51]OFD Sender: No OFD packet to send [00:18:56]OFD Sender: No OFD packet to send [00:19:01]OFD Sender: No OFD packet to send [00:19:06]OFD Sender: No OFD packet to send [00:19:11]OFD Sender: No OFD packet to send [00:19:16]OFD Sender: No OFD packet to send [00:19:21]OFD Sender: No OFD packet to send [00:19:26]OFD Sender: No OFD packet to send [00:19:31]OFD Sender: No OFD packet to send [00:19:36]OFD Sender: No OFD packet to send [00:19:41]OFD Sender: No OFD packet to send [00:19:46]OFD Sender: No OFD packet to send [00:19:51]OFD Sender: No OFD packet to send [00:19:56]OFD Sender: No OFD packet to send [00:20:01]OFD Sender: No OFD packet to send [00:20:06]OFD Sender: No OFD packet to send [00:20:11]OFD Sender: No OFD packet to send [00:20:16]OFD Sender: No OFD packet to send [00:20:21]OFD Sender: No OFD packet to send [00:20:26]OFD Sender: No OFD packet to send [00:20:31]OFD Sender: No OFD packet to send [00:20:36]OFD Sender: No OFD packet to send [00:20:41]OFD Sender: No OFD packet to send [00:20:46]OFD Sender: No OFD packet to send [00:20:51]OFD Sender: No OFD packet to send [00:20:56]OFD Sender: No OFD packet to send [00:21:01]OFD Sender: No OFD packet to send [00:21:06]OFD Sender: No OFD packet to send [00:21:11]OFD Sender: No OFD packet to send [00:21:16]OFD Sender: No OFD packet to send [00:21:21]OFD Sender: No OFD packet to send [00:21:26]OFD Sender: No OFD packet to send [00:21:31]OFD Sender: No OFD packet to send [00:21:36]OFD Sender: No OFD packet to send [00:21:41]OFD Sender: No OFD packet to send [00:21:46]OFD Sender: No OFD packet to send [00:21:51]OFD Sender: No OFD packet to send [00:21:56]OFD Sender: No OFD packet to send [00:22:01]OFD Sender: No OFD packet to send [00:22:06]OFD Sender: No OFD packet to send [00:22:11]OFD Sender: No OFD packet to send [00:22:16]OFD Sender: No OFD packet to send [00:22:21]OFD Sender: No OFD packet to send [00:22:26]OFD Sender: No OFD packet to send [00:22:31]OFD Sender: No OFD packet to send [00:22:36]OFD Sender: No OFD packet to send [00:22:41]OFD Sender: No OFD packet to send [00:22:46]OFD Sender: No OFD packet to send [00:22:51]OFD Sender: No OFD packet to send [00:22:56]OFD Sender: No OFD packet to send [00:23:01]OFD Sender: No OFD packet to send [00:23:06]OFD Sender: No OFD packet to send [00:23:11]OFD Sender: No OFD packet to send [00:23:16]OFD Sender: No OFD packet to send [00:23:21]OFD Sender: No OFD packet to send [00:23:26]OFD Sender: No OFD packet to send [00:23:31]OFD Sender: No OFD packet to send [00:23:36]OFD Sender: No OFD packet to send [00:23:41]OFD Sender: No OFD packet to send [00:23:46]OFD Sender: No OFD packet to send [00:23:51]OFD Sender: No OFD packet to send [00:23:56]OFD Sender: No OFD packet to send [00:24:01]OFD Sender: No OFD packet to send [00:24:06]OFD Sender: No OFD packet to send [00:24:11]OFD Sender: No OFD packet to send [00:24:16]OFD Sender: No OFD packet to send [00:24:21]OFD Sender: No OFD packet to send [00:24:26]OFD Sender: No OFD packet to send [00:24:31]OFD Sender: No OFD packet to send [00:24:36]OFD Sender: No OFD packet to send [00:24:41]OFD Sender: No OFD packet to send [00:24:46]OFD Sender: No OFD packet to send [00:24:51]OFD Sender: No OFD packet to send [00:24:56]OFD Sender: No OFD packet to send [00:25:01]OFD Sender: No OFD packet to send [00:25:06]OFD Sender: No OFD packet to send [00:25:11]OFD Sender: No OFD packet to send [00:25:16]OFD Sender: No OFD packet to send [00:25:21]OFD Sender: No OFD packet to send [00:25:26]OFD Sender: No OFD packet to send [00:25:31]OFD Sender: No OFD packet to send [00:25:36]OFD Sender: No OFD packet to send [00:25:41]OFD Sender: No OFD packet to send [00:25:46]OFD Sender: No OFD packet to send [00:25:51]OFD Sender: No OFD packet to send [00:25:56]OFD Sender: No OFD packet to send [00:26:01]OFD Sender: No OFD packet to send [00:26:06]OFD Sender: No OFD packet to send [00:26:11]OFD Sender: No OFD packet to send [00:26:16]OFD Sender: No OFD packet to send [00:26:21]OFD Sender: No OFD packet to send [00:26:26]OFD Sender: No OFD packet to send [00:26:31]OFD Sender: No OFD packet to send [00:26:36]OFD Sender: No OFD packet to send [00:26:41]OFD Sender: No OFD packet to send [00:26:46]OFD Sender: No OFD packet to send [00:26:51]OFD Sender: No OFD packet to send [00:26:56]OFD Sender: No OFD packet to send [00:27:01]OFD Sender: No OFD packet to send [00:27:06]OFD Sender: No OFD packet to send [00:27:11]OFD Sender: No OFD packet to send [00:27:16]OFD Sender: No OFD packet to send [00:27:21]OFD Sender: No OFD packet to send [00:27:26]OFD Sender: No OFD packet to send [00:27:31]OFD Sender: No OFD packet to send [00:27:36]OFD Sender: No OFD packet to send [00:27:41]OFD Sender: No OFD packet to send [00:27:46]OFD Sender: No OFD packet to send [00:27:51]OFD Sender: No OFD packet to send [00:27:56]OFD Sender: No OFD packet to send [00:28:01]OFD Sender: No OFD packet to send [00:28:06]OFD Sender: No OFD packet to send [00:28:11]OFD Sender: No OFD packet to send [00:28:16]OFD Sender: No OFD packet to send [00:28:21]OFD Sender: No OFD packet to send [00:28:26]OFD Sender: No OFD packet to send [00:28:31]OFD Sender: No OFD packet to send [00:28:36]OFD Sender: No OFD packet to send [00:28:41]OFD Sender: No OFD packet to send [00:28:46]OFD Sender: No OFD packet to send [00:28:51]OFD Sender: No OFD packet to send [00:28:56]OFD Sender: No OFD packet to send [00:29:01]OFD Sender: No OFD packet to send [00:29:06]OFD Sender: No OFD packet to send [00:29:11]OFD Sender: No OFD packet to send [00:29:16]OFD Sender: No OFD packet to send [00:29:21]OFD Sender: No OFD packet to send [00:29:26]OFD Sender: No OFD packet to send [00:29:31]OFD Sender: No OFD packet to send [00:29:36]OFD Sender: No OFD packet to send [00:29:41]OFD Sender: No OFD packet to send [00:29:46]OFD Sender: No OFD packet to send [00:29:51]OFD Sender: No OFD packet to send [00:29:56]OFD Sender: No OFD packet to send [00:30:01]OFD Sender: No OFD packet to send [00:30:06]OFD Sender: No OFD packet to send [00:30:11]OFD Sender: No OFD packet to send [00:30:16]OFD Sender: No OFD packet to send [00:30:21]OFD Sender: No OFD packet to send [00:30:27]OFD Sender: No OFD packet to send [00:30:32]OFD Sender: No OFD packet to send [00:30:37]OFD Sender: No OFD packet to send [00:30:42]OFD Sender: No OFD packet to send [00:30:47]OFD Sender: No OFD packet to send [00:30:52]OFD Sender: No OFD packet to send [00:30:57]OFD Sender: No OFD packet to send [00:31:02]OFD Sender: No OFD packet to send [00:31:07]OFD Sender: No OFD packet to send [00:31:12]OFD Sender: No OFD packet to send [00:31:17]OFD Sender: No OFD packet to send [00:31:22]OFD Sender: No OFD packet to send [00:31:27]OFD Sender: No OFD packet to send [00:31:32]OFD Sender: No OFD packet to send [00:31:37]OFD Sender: No OFD packet to send [00:31:42]OFD Sender: No OFD packet to send [00:31:47]OFD Sender: No OFD packet to send [00:31:52]OFD Sender: No OFD packet to send [00:31:57]OFD Sender: No OFD packet to send [00:32:02]OFD Sender: No OFD packet to send [00:32:07]OFD Sender: No OFD packet to send [00:32:12]OFD Sender: No OFD packet to send [00:32:17]OFD Sender: No OFD packet to send [00:32:22]OFD Sender: No OFD packet to send [00:32:27]OFD Sender: No OFD packet to send [00:32:32]OFD Sender: No OFD packet to send [00:32:37]OFD Sender: No OFD packet to send [00:32:42]OFD Sender: No OFD packet to send [00:32:47]OFD Sender: No OFD packet to send [00:32:52]OFD Sender: No OFD packet to send [00:32:57]OFD Sender: No OFD packet to send [00:33:02]OFD Sender: No OFD packet to send [00:33:07]OFD Sender: No OFD packet to send [00:33:12]OFD Sender: No OFD packet to send [00:33:17]OFD Sender: No OFD packet to send [00:33:22]OFD Sender: No OFD packet to send [00:33:27]OFD Sender: No OFD packet to send [00:33:32]OFD Sender: No OFD packet to send [00:33:37]OFD Sender: No OFD packet to send [00:33:42]OFD Sender: No OFD packet to send [00:33:47]OFD Sender: No OFD packet to send [00:33:52]OFD Sender: No OFD packet to send [00:33:57]OFD Sender: No OFD packet to send [00:34:02]OFD Sender: No OFD packet to send [00:34:07]OFD Sender: No OFD packet to send [00:34:12]OFD Sender: No OFD packet to send [00:34:17]OFD Sender: No OFD packet to send [00:34:22]OFD Sender: No OFD packet to send [00:34:27]OFD Sender: No OFD packet to send [00:34:32]OFD Sender: No OFD packet to send [00:34:37]OFD Sender: No OFD packet to send [00:34:42]OFD Sender: No OFD packet to send [00:34:47]OFD Sender: No OFD packet to send [00:34:52]OFD Sender: No OFD packet to send [00:34:57]OFD Sender: No OFD packet to send [00:35:02]OFD Sender: No OFD packet to send [00:35:07]OFD Sender: No OFD packet to send [00:35:12]OFD Sender: No OFD packet to send [00:35:17]OFD Sender: No OFD packet to send [00:35:22]OFD Sender: No OFD packet to send [00:35:27]OFD Sender: No OFD packet to send [00:35:32]OFD Sender: No OFD packet to send [00:35:37]OFD Sender: No OFD packet to send [00:35:42]OFD Sender: No OFD packet to send [00:35:47]OFD Sender: No OFD packet to send [00:35:52]OFD Sender: No OFD packet to send [00:35:57]OFD Sender: No OFD packet to send [00:36:02]OFD Sender: No OFD packet to send [00:36:07]OFD Sender: No OFD packet to send [00:36:12]OFD Sender: No OFD packet to send [00:36:17]OFD Sender: No OFD packet to send [00:36:22]OFD Sender: No OFD packet to send [00:36:27]OFD Sender: No OFD packet to send [00:36:32]OFD Sender: No OFD packet to send [00:36:37]OFD Sender: No OFD packet to send [00:36:42]OFD Sender: No OFD packet to send [00:36:47]OFD Sender: No OFD packet to send [00:36:52]OFD Sender: No OFD packet to send [00:36:57]OFD Sender: No OFD packet to send [00:37:02]OFD Sender: No OFD packet to send [00:37:07]OFD Sender: No OFD packet to send [00:37:12]OFD Sender: No OFD packet to send [00:37:17]OFD Sender: No OFD packet to send [00:37:22]OFD Sender: No OFD packet to send [00:37:27]OFD Sender: No OFD packet to send [00:37:32]OFD Sender: No OFD packet to send [00:37:37]OFD Sender: No OFD packet to send [00:37:42]OFD Sender: No OFD packet to send [00:37:47]OFD Sender: No OFD packet to send [00:37:52]OFD Sender: No OFD packet to send [00:37:57]OFD Sender: No OFD packet to send [00:38:02]OFD Sender: No OFD packet to send [00:38:07]OFD Sender: No OFD packet to send [00:38:12]OFD Sender: No OFD packet to send [00:38:17]OFD Sender: No OFD packet to send [00:38:22]OFD Sender: No OFD packet to send [00:38:27]OFD Sender: No OFD packet to send [00:38:32]OFD Sender: No OFD packet to send [00:38:37]OFD Sender: No OFD packet to send [00:38:42]OFD Sender: No OFD packet to send [00:38:47]OFD Sender: No OFD packet to send [00:38:52]OFD Sender: No OFD packet to send [00:38:57]OFD Sender: No OFD packet to send [00:39:02]OFD Sender: No OFD packet to send [00:39:07]OFD Sender: No OFD packet to send [00:39:12]OFD Sender: No OFD packet to send [00:39:17]OFD Sender: No OFD packet to send [00:39:22]OFD Sender: No OFD packet to send [00:39:27]OFD Sender: No OFD packet to send [00:39:32]OFD Sender: No OFD packet to send [00:39:37]OFD Sender: No OFD packet to send [00:39:42]OFD Sender: No OFD packet to send [00:39:47]OFD Sender: No OFD packet to send [00:39:52]OFD Sender: No OFD packet to send [00:39:57]OFD Sender: No OFD packet to send [00:40:02]OFD Sender: No OFD packet to send [00:40:07]OFD Sender: No OFD packet to send [00:40:12]OFD Sender: No OFD packet to send [00:40:17]OFD Sender: No OFD packet to send [00:40:22]OFD Sender: No OFD packet to send [00:40:27]OFD Sender: No OFD packet to send [00:40:32]OFD Sender: No OFD packet to send [00:40:37]OFD Sender: No OFD packet to send [00:40:42]OFD Sender: No OFD packet to send [00:40:47]OFD Sender: No OFD packet to send [00:40:52]OFD Sender: No OFD packet to send [00:40:57]OFD Sender: No OFD packet to send [00:41:02]OFD Sender: No OFD packet to send [00:41:07]OFD Sender: No OFD packet to send [00:41:12]OFD Sender: No OFD packet to send [00:41:17]OFD Sender: No OFD packet to send [00:41:22]OFD Sender: No OFD packet to send [00:41:27]OFD Sender: No OFD packet to send [00:41:32]OFD Sender: No OFD packet to send [00:41:37]OFD Sender: No OFD packet to send [00:41:42]OFD Sender: No OFD packet to send [00:41:47]OFD Sender: No OFD packet to send [00:41:52]OFD Sender: No OFD packet to send [00:41:57]OFD Sender: No OFD packet to send [00:42:02]OFD Sender: No OFD packet to send [00:42:07]OFD Sender: No OFD packet to send [00:42:12]OFD Sender: No OFD packet to send [00:42:17]OFD Sender: No OFD packet to send [00:42:22]OFD Sender: No OFD packet to send [00:42:27]OFD Sender: No OFD packet to send [00:42:32]OFD Sender: No OFD packet to send [00:42:37]OFD Sender: No OFD packet to send [00:42:42]OFD Sender: No OFD packet to send [00:42:47]OFD Sender: No OFD packet to send [00:42:52]OFD Sender: No OFD packet to send [00:42:57]OFD Sender: No OFD packet to send [00:43:02]OFD Sender: No OFD packet to send [00:43:07]OFD Sender: No OFD packet to send [00:43:12]OFD Sender: No OFD packet to send [00:43:17]OFD Sender: No OFD packet to send [00:43:22]OFD Sender: No OFD packet to send [00:43:27]OFD Sender: No OFD packet to send [00:43:32]OFD Sender: No OFD packet to send [00:43:37]OFD Sender: No OFD packet to send [00:43:42]OFD Sender: No OFD packet to send [00:43:47]OFD Sender: No OFD packet to send [00:43:52]OFD Sender: No OFD packet to send [00:43:57]OFD Sender: No OFD packet to send [00:44:02]OFD Sender: No OFD packet to send [00:44:07]OFD Sender: No OFD packet to send [00:44:12]OFD Sender: No OFD packet to send [00:44:17]OFD Sender: No OFD packet to send [00:44:22]OFD Sender: No OFD packet to send [00:44:27]OFD Sender: No OFD packet to send [00:44:32]OFD Sender: No OFD packet to send [00:44:37]OFD Sender: No OFD packet to send [00:44:42]OFD Sender: No OFD packet to send [00:44:47]OFD Sender: No OFD packet to send [00:44:52]OFD Sender: No OFD packet to send [00:44:57]OFD Sender: No OFD packet to send [00:45:02]OFD Sender: No OFD packet to send [00:45:07]OFD Sender: No OFD packet to send [00:45:12]OFD Sender: No OFD packet to send [00:45:17]OFD Sender: No OFD packet to send [00:45:22]OFD Sender: No OFD packet to send [00:45:27]OFD Sender: No OFD packet to send [00:45:32]OFD Sender: No OFD packet to send [00:45:37]OFD Sender: No OFD packet to send [00:45:42]OFD Sender: No OFD packet to send [00:45:47]OFD Sender: No OFD packet to send [00:45:52]OFD Sender: No OFD packet to send [00:45:57]OFD Sender: No OFD packet to send [00:46:02]OFD Sender: No OFD packet to send [00:46:07]OFD Sender: No OFD packet to send [00:46:12]OFD Sender: No OFD packet to send [00:46:17]OFD Sender: No OFD packet to send [00:46:22]OFD Sender: No OFD packet to send [00:46:27]OFD Sender: No OFD packet to send [00:46:32]OFD Sender: No OFD packet to send [00:46:37]OFD Sender: No OFD packet to send [00:46:42]OFD Sender: No OFD packet to send [00:46:47]OFD Sender: No OFD packet to send [00:46:52]OFD Sender: No OFD packet to send [00:46:57]OFD Sender: No OFD packet to send [00:47:02]OFD Sender: No OFD packet to send [00:47:07]OFD Sender: No OFD packet to send [00:47:12]OFD Sender: No OFD packet to send [00:47:17]OFD Sender: No OFD packet to send [00:47:22]OFD Sender: No OFD packet to send [00:47:27]OFD Sender: No OFD packet to send [00:47:32]OFD Sender: No OFD packet to send [00:47:37]OFD Sender: No OFD packet to send [00:47:42]OFD Sender: No OFD packet to send [00:47:47]OFD Sender: No OFD packet to send [00:47:52]OFD Sender: No OFD packet to send [00:47:57]OFD Sender: No OFD packet to send [00:48:02]OFD Sender: No OFD packet to send [00:48:07]OFD Sender: No OFD packet to send [00:48:12]OFD Sender: No OFD packet to send [00:48:17]OFD Sender: No OFD packet to send [00:48:22]OFD Sender: No OFD packet to send [00:48:27]OFD Sender: No OFD packet to send [00:48:32]OFD Sender: No OFD packet to send [00:48:37]OFD Sender: No OFD packet to send [00:48:42]OFD Sender: No OFD packet to send [00:48:47]OFD Sender: No OFD packet to send [00:48:52]OFD Sender: No OFD packet to send [00:48:57]OFD Sender: No OFD packet to send [00:49:02]OFD Sender: No OFD packet to send [00:49:07]OFD Sender: No OFD packet to send [00:49:12]OFD Sender: No OFD packet to send [00:49:17]OFD Sender: No OFD packet to send [00:49:22]OFD Sender: No OFD packet to send [00:49:27]OFD Sender: No OFD packet to send [00:49:32]OFD Sender: No OFD packet to send [00:49:37]OFD Sender: No OFD packet to send [00:49:42]OFD Sender: No OFD packet to send [00:49:47]OFD Sender: No OFD packet to send [00:49:52]OFD Sender: No OFD packet to send [00:49:57]OFD Sender: No OFD packet to send [00:50:02]OFD Sender: No OFD packet to send [00:50:07]OFD Sender: No OFD packet to send [00:50:12]OFD Sender: No OFD packet to send [00:50:17]OFD Sender: No OFD packet to send [00:50:22]OFD Sender: No OFD packet to send [00:50:27]OFD Sender: No OFD packet to send [00:50:32]OFD Sender: No OFD packet to send [00:50:37]OFD Sender: No OFD packet to send [00:50:42]OFD Sender: No OFD packet to send [00:50:47]OFD Sender: No OFD packet to send [00:50:52]OFD Sender: No OFD packet to send [00:50:57]OFD Sender: No OFD packet to send [00:51:02]OFD Sender: No OFD packet to send [00:51:07]OFD Sender: No OFD packet to send [00:51:12]OFD Sender: No OFD packet to send [00:51:17]OFD Sender: No OFD packet to send [00:51:22]OFD Sender: No OFD packet to send [00:51:27]OFD Sender: No OFD packet to send [00:51:32]OFD Sender: No OFD packet to send [00:51:37]OFD Sender: No OFD packet to send [00:51:42]OFD Sender: No OFD packet to send [00:51:47]OFD Sender: No OFD packet to send [00:51:52]OFD Sender: No OFD packet to send [00:51:58]OFD Sender: No OFD packet to send [00:52:03]OFD Sender: No OFD packet to send [00:52:08]OFD Sender: No OFD packet to send [00:52:13]OFD Sender: No OFD packet to send [00:52:18]OFD Sender: No OFD packet to send [00:52:23]OFD Sender: No OFD packet to send [00:52:28]OFD Sender: No OFD packet to send [00:52:33]OFD Sender: No OFD packet to send [00:52:38]OFD Sender: No OFD packet to send [00:52:43]OFD Sender: No OFD packet to send [00:52:48]OFD Sender: No OFD packet to send [00:52:53]OFD Sender: No OFD packet to send [00:52:58]OFD Sender: No OFD packet to send [00:53:03]OFD Sender: No OFD packet to send [00:53:08]OFD Sender: No OFD packet to send [00:53:13]OFD Sender: No OFD packet to send [00:53:18]OFD Sender: No OFD packet to send [00:53:23]OFD Sender: No OFD packet to send [00:53:28]OFD Sender: No OFD packet to send [00:53:33]OFD Sender: No OFD packet to send [00:53:38]OFD Sender: No OFD packet to send [00:53:41]accept exits with 9 [00:53:41]New connection [00:53:41]New thread 3066555748 created [00:53:41]Thread 3066699108 joined [00:53:41]Waiting for new connection... [00:53:41] Sock 9.Parse request [00:53:41]Sock 9.Check first char [00:53:41]Sock 9.First char is OK [00:53:41]request: POST /json_proto HTTP/1.0 [00:53:41]Method: POST [00:53:41]URL: /json_proto [00:53:41]Method is POST - this is cgi request [00:53:41]url: /json_proto [00:53:41]query_string will be loaded in cgi processing [00:53:41]execute_cgi json_proto POST (null) [00:53:41]execute_cgi path=json_proto method=POST [00:53:41]POST find Content-Length [00:53:41]Host: 172.17.36.199:8080 [00:53:41]Content-Length: 1075 [00:53:41]Content-Type: application/json [00:53:41] [00:53:41]POST finish read [00:53:41]Found Content-Length = 1075 [00:53:41]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)176442", "tax_sys" : 0, "items" : [ { "code": "47802995", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XS Silver", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000006271", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0424\u0430\u043D\u0442\u0430 1\u043B", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 265.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:53:41]execute_script... [00:53:41]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)176442", "tax_sys" : 0, "items" : [ { "code": "47802995", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XS Silver", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000006271", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0424\u0430\u043D\u0442\u0430 1\u043B", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 265.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:53:41]POST & json_proto [00:53:41]process_json_proto [00:53:41]json parsed OK: [00:53:41]protocol is kg_v1.0 [00:53:41]action value=close_receipt [00:53:41]process_action close_receipt [00:53:41]cmd_close_receipt [00:53:41]MH_GetDate [00:53:41]Write to MH i2c: F0 00 00 8D 0C 88 [00:53:41]Write i2c OK [00:53:41]MH_I2C_Read... [00:53:41]Read from MH i2c: F0 [00:53:41]MH_I2C_Read... [00:53:41]Read from MH i2c: F0 09 00 [00:53:41]MH_I2C_Read... [00:53:41]Read from MH i2c: F0 09 00 8D 0C 00 17 14 5D 66 91 46 04 65 BF [00:53:41]GetLastDocTimeStamp 1717373769 [00:53:41]current date 1717376023 [00:53:41]FM_GetShiftState [00:53:41]SAM_PROTO_GetShiftState [00:53:41]wFMCommunicate request_size=4 [00:53:41]MH_SAM_APDU [00:53:41]CAPDU: 80 13 01 00 [00:53:41]Write to MH i2c: E2 08 00 8E 0C 80 13 01 00 00 00 00 00 17 [00:53:41]Write i2c OK [00:53:41]MH_I2C_Read... [00:53:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:53:41]Read from MH i2c: E2 [00:53:41]MH_I2C_Read... [00:53:41]Read from MH i2c: E2 0E 00 [00:53:41]MH_I2C_Read... [00:53:41]Read from MH i2c: E2 0E 00 8E 0C 00 09 00 01 49 0B 5D 66 00 00 00 00 90 00 3A [00:53:41]RAPDU: 09 00 01 49 0B 5D 66 00 00 00 00 90 00 [00:53:41]wFMCommunicate OK [00:53:41]SAM_PROTO_GetShiftState done [00:53:41]FM_GetShiftState done [00:53:41]opened in 1717373769 [00:53:41]opened+sec_in_day 1717460169 [00:53:41]quantity*price = 14000 [00:53:41]sum+1 = 14001 [00:53:41]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 5449000006271 Напиток Фанта 1л 1.000 * 125.00 = 125.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 265.00 НСП 1% : 2.35 НДС 12% : 28.14 Наличными: 0.00 Безнал.: 265.00 Место: АЗС № 63 "Партнер Нефть" Адрес: 720001, с. Чон Сары Ой, ул. Западная 3, 42.603516, 76.894901 СНО: Общий режим Чек 1 03.06.2024 00:53 Смена: 376 ФФД: 1.0 ЗНМ: 0300000037 РНМ: 0000000000092680 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000874882 ФД: 39883 ФПД: 50006293791007 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T005343&type=1&operation_type=1&fn_number=0000000000874882&fd_number=39883&fm=50006293791007&tin=02508201610067®Number=0000000000092680&sum=26500 0 [00:53:42]StoreToDocumentArchive [00:53:42]shift 376 fd 39883 [00:53:42]save to /storage/0376/doc_00039883 [00:53:42]save last doc name /storage/0376/doc_00039883 to /storage/kkm_last_doc_name [00:53:42]save OK [00:53:42]Clear old archive folders... [00:53:42]ProcessDocumentItem done err = 0, tmpTLVsize=372 [00:53:42]tlvbuf is 00D5B0B0 [00:53:42]SAM_PROTO_ClearQueue [00:53:42]wFMCommunicate request_size=4 [00:53:42]MH_SAM_APDU [00:53:42]CAPDU: 80 09 00 00 [00:53:42]Write to MH i2c: E2 08 00 9B 0C 80 09 00 00 00 00 00 00 19 [00:53:42]Write i2c OK [00:53:42]MH_I2C_Read... [00:53:42]Read from MH i2c: E2 [00:53:42]MH_I2C_Read... [00:53:42]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:53:42]Read from MH i2c: E2 03 00 [00:53:42]MH_I2C_Read... [00:53:42]Read from MH i2c: E2 03 00 9B 0C 00 90 00 1B [00:53:42]RAPDU: 90 00 [00:53:42]wFMCommunicate OK [00:53:42]SAM_PROTO_ClearQueue done [00:53:42]KKMCreateOFDPacket [00:53:42]OFDProtocolAddRootSTLVToBuf [00:53:42]FM_MakeSignedData [00:53:42]FM_MakeSignedData [00:53:42]SAM_PROTO_SignData [00:53:42]wFMCommunicate request_size=4 [00:53:42]MH_SAM_APDU [00:53:42]CAPDU: 80 0D 01 02 [00:53:42]Write to MH i2c: E2 08 00 9C 0C 80 0D 01 02 00 00 00 00 21 [00:53:42]Write i2c OK [00:53:42]MH_I2C_Read... [00:53:42]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:53:42]Read from MH i2c: E2 [00:53:42]MH_I2C_Read... [00:53:42]Read from MH i2c: E2 03 00 [00:53:42]MH_I2C_Read... [00:53:42]Read from MH i2c: E2 03 00 9C 0C 00 90 00 1C [00:53:42]RAPDU: 90 00 [00:53:42]wFMCommunicate OK [00:53:42]wFMCommunicate request_size=255 [00:53:42]MH_SAM_APDU [00:53:42]CAPDU: 80 0D 02 02 FA 03 00 74 01 1E 04 01 00 01 23 04 61 00 8A 04 08 00 34 37 38 30 32 39 39 35 06 04 22 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 20 53 69 6C 76 65 72 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 23 04 61 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 36 32 37 31 06 04 1D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D0 B0 D0 BD D1 82 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 84 67 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EB 00 00 00 00 00 EE 03 0F 00 F2 03 [00:53:42]Write to MH i2c: E2 02 01 9D 0C 80 0D 02 02 FA 00 03 00 74 01 1E 04 01 00 01 23 04 61 00 8A 04 08 00 34 37 38 30 32 39 39 35 06 04 22 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 20 53 69 6C 76 65 72 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 23 04 61 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 36 32 37 31 06 04 1D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D0 B0 D0 BD D1 82 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 84 67 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EB 00 00 00 00 00 EE 03 0F 00 F2 03 00 00 04 [00:53:42]Write i2c OK [00:53:42]MH_I2C_Read... [00:53:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:53:42]Read from MH i2c: E2 [00:53:42]MH_I2C_Read... [00:53:42]Read from MH i2c: E2 03 00 [00:53:42]MH_I2C_Read... [00:53:42]Read from MH i2c: E2 03 00 9D 0C 00 90 00 1D [00:53:42]RAPDU: 90 00 [00:53:42]wFMCommunicate OK [00:53:42]wFMCommunicate request_size=131 [00:53:42]MH_SAM_APDU [00:53:42]CAPDU: 80 0D 02 02 7E 01 00 01 F3 03 06 00 FE 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 84 67 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 17 14 5D 66 0E 04 04 00 78 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 10 04 04 00 CB 9B 00 00 35 04 06 00 2D 7A FF 60 C1 1F [00:53:42]Write to MH i2c: E2 86 00 9E 0C 80 0D 02 02 7E 00 01 00 01 F3 03 06 00 FE 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 84 67 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 17 14 5D 66 0E 04 04 00 78 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 10 04 04 00 CB 9B 00 00 35 04 06 00 2D 7A FF 60 C1 1F 00 00 04 [00:53:42]Write i2c OK [00:53:42]MH_I2C_Read... [00:53:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:53:43]OFD Sender: No OFD packet to send [00:53:43]Read from MH i2c: E2 [00:53:43]MH_I2C_Read... [00:53:43]Read from MH i2c: E2 03 00 [00:53:43]MH_I2C_Read... [00:53:43]Read from MH i2c: E2 03 00 9E 0C 00 90 00 1E [00:53:43]RAPDU: 90 00 [00:53:43]wFMCommunicate OK [00:53:43]wFMCommunicate request_size=4 [00:53:43]MH_SAM_APDU [00:53:43]CAPDU: 80 0D 03 02 [00:53:43]Write to MH i2c: E2 08 00 9F 0C 80 0D 03 02 00 00 00 00 26 [00:53:43]Write i2c OK [00:53:43]MH_I2C_Read... [00:53:43]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:53:43]Read from MH i2c: E2 [00:53:43]MH_I2C_Read... [00:53:43]Read from MH i2c: E2 0B 00 [00:53:43]MH_I2C_Read... [00:53:43]Read from MH i2c: E2 0B 00 9F 0C 00 AD E2 27 7B CF 40 71 C3 90 00 9B [00:53:43]RAPDU: AD E2 27 7B CF 40 71 C3 90 00 [00:53:43]wFMCommunicate OK [00:53:43]SAM_PROTO_SignData done [00:53:43]FM_MakeSignedData done [00:53:43]CreateOFDProtocolMessage [00:53:43]wFMCommunicate request_size=4 [00:53:43]MH_SAM_APDU [00:53:43]CAPDU: 80 11 00 00 [00:53:43]Write to MH i2c: E2 08 00 A0 0C 80 11 00 00 00 00 00 00 26 [00:53:43]Write i2c OK [00:53:43]MH_I2C_Read... [00:53:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:53:43]Read from MH i2c: E2 [00:53:43]MH_I2C_Read... [00:53:43]Read from MH i2c: E2 17 00 [00:53:43]MH_I2C_Read... [00:53:43]Read from MH i2c: E2 17 00 A0 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 90 00 7E [00:53:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 90 00 [00:53:43]wFMCommunicate OK [00:53:43]CreateOFDProtocolMessage done [00:53:43]OFDSenderStorePacket 39883 [00:53:43]StoreOFDPacket docnum=39883 [00:53:43]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 88 01 00 00 58 1A 80 01 4A 0B 5A 03 01 00 03 00 74 01 1E 04 01 00 01 23 04 61 00 8A 04 08 00 34 37 38 30 32 39 39 35 06 04 22 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 20 53 69 6C 76 65 72 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 23 04 61 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 36 32 37 31 06 04 1D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D0 B0 D0 BD D1 82 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 84 67 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EB 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FE 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 84 67 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 17 14 5D 66 0E 04 04 00 78 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 10 04 04 00 CB 9B 00 00 35 04 06 00 2D 7A FF 60 C1 1F AD E2 27 7B CF 40 71 C3 [00:53:43]CheckFolder [00:53:43]dirname=/storage/ofd_packets [00:53:43]CheckFolder done [00:53:43]ProducePacketName [00:53:43]name=ofd_packets/00039883 [00:53:43]NVStorageSaveData ofd_packets/00039883 [00:53:43]File name is /storage/ofd_packets/00039883 [00:53:43]Write 422 bytes [00:53:43]NVStorageSaveData done [00:53:43]OFDSenderStorePacket done [00:53:43]KKMCreateOFDPacket done [00:53:43]NVStorageSaveData kkm_last_timestamp [00:53:43]File name is /storage/kkm_last_timestamp [00:53:43]Write 4 bytes [00:53:43]NVStorageSaveData done [00:53:43]ExternCall_PrintAddStr [00:53:43]wPrintStart [00:53:43]Write to MH i2c: 01 00 00 A1 0C AD [00:53:43]OFD Sender: Processing packet 39883 [packets to send 5, broken 4] [00:53:43]ProducePacketName [00:53:43]name=ofd_packets/00039883 [00:53:43]OFD Sender: To server: pG, [00:53:43]CommunicateWithHost lk.salyk.kg:30040 [00:53:43]ConnectInit lk.salyk.kg [00:53:43]Write i2c OK [00:53:43]MH_I2C_Read... [00:53:43]Read from MH i2c: 01 [00:53:43]MH_I2C_Read... [00:53:43]Read from MH i2c: 01 07 00 [00:53:43]MH_I2C_Read... [00:53:43]Read from MH i2c: 01 07 00 A1 0C 00 00 00 00 00 FF 0F C2 [00:53:43]RasterBufferAndPrint [00:53:43]line Счет N : (3)176442 [00:53:43]line ИНН: 02508201610067 [00:53:43]line Контрольно-Кассовый Чек [00:53:43]line ПРОДАЖА [00:53:43]line Товар: 47802995 [00:53:43]line Сигареты Winston XS Silver [00:53:43]line 1.000 * 140.00 [00:53:43]line = 140.00 [00:53:43]line НДС 12% НСП 1% [00:53:43]line > о реализуемом товаре [00:53:43]line Товар: 5449000006271 [00:53:43]line Напиток Фанта 1л [00:53:43]line 1.000 * 125.00 [00:53:43]line = 125.00 [00:53:43]line НДС 12% НСП 1% [00:53:43]line > о реализуемом товаре [00:53:43]line ИТОГО: 265.00 [00:53:43]line НСП 1% : 2.35 [00:53:43]line НДС 12% : 28.14 [00:53:43]line Наличными: 0.00 [00:53:43]line Безнал.: 265.00 [00:53:43]line Место: АЗС № 63 "Партнер Нефть" [00:53:43]line Адрес: 720001, с. Чон Сары Ой, ул. Западная 3, 42.603516, 76.894901 [00:53:43]line СНО: Общий режим [00:53:43]line Чек 1 03.06.2024 00:53 [00:53:43]line Смена: 376 ФФД: 1.0 [00:53:43]line ЗНМ: 0300000037 [00:53:43]line РНМ: 0000000000092680 [00:53:43]line Версия ККМ: 001 [00:53:43]line Платежная система: АКБ Кыргызстан [00:53:43]line ФМ: 0000000000874882 [00:53:43]line ФД: 39883 [00:53:43]line ФПД: 50006293791007 [00:53:43]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T005343&type=1&operation_type=1&fn_number=0000000000874882&fd_number=39883&fm=50006293791007&tin=02508201610067®Number=0000000000092680&sum=26500 [00:53:43]line 0 [00:53:43]written 0, free lines is 4095 [00:53:43]Connected sock=10 [00:53:43]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 88 01 00 00 58 1A 80 01 4A 0B 5A 03 01 00 03 00 74 01 1E 04 01 00 01 23 04 61 00 8A 04 08 00 34 37 38 30 32 39 39 35 06 04 22 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 20 53 69 6C 76 65 72 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 23 04 61 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 36 32 37 31 06 04 1D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D0 B0 D0 BD D1 82 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 84 67 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EB 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FE 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 84 67 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 17 14 5D 66 0E 04 04 00 78 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 10 04 04 00 CB 9B 00 00 35 04 06 00 2D 7A FF 60 C1 1F AD E2 27 7B CF 40 71 C3 [00:53: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 38 32 4F 00 00 00 28 5A 47 00 CB CA A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 38 32 10 04 04 00 CB 9B 00 00 F4 03 04 00 C5 BC 5C 66 B6 04 01 00 00 35 26 46 0B CD E8 9F AC [00:53:43]CommunicateWithHost err = 0 [00:53:43]CheckOFDResponse [00:53:43]1017 (14) - 77093643461234 [00:53:43]1041 (16) - 0000000000874882 [00:53:43]1040 (4) - 39883 [00:53:43]1012 (4) - 02.06.2024 18:41 [00:53:43]1206 (1) - 0 [00:53:43]OFD Sender: Remove packet 39883 [00:53:43]ProducePacketName [00:53:43]name=ofd_packets/00039883 [00:53:43]NVStorageDeleteData [00:53:44]Write to MH i2c: 01 00 00 D1 0C DD [00:53:44]Write i2c OK [00:53:44]MH_I2C_Read... [00:53:44]Read from MH i2c: 01 [00:53:44]MH_I2C_Read... [00:53:44]Read from MH i2c: 01 07 00 [00:53:44]MH_I2C_Read... [00:53:44]Read from MH i2c: 01 07 00 D1 0C 00 00 00 00 00 B8 0C A8 [00:53:44]RasterBufferAndPrint [00:53:44]line [00:53:44]line [00:53:44]line [00:53:44]line [00:53:44]line [00:53:44]written 0, free lines is 3262 [00:53:44]MH_Cut [00:53:44]Write to MH i2c: D1 01 00 D8 0C 01 B6 [00:53:44]Write i2c OK [00:53:44]MH_I2C_Read... [00:53:44]Read from MH i2c: D1 [00:53:44]MH_I2C_Read... [00:53:44]Read from MH i2c: D1 01 00 [00:53:44]MH_I2C_Read... [00:53:44]Read from MH i2c: D1 01 00 D8 0C 00 B5 [00:53:44]Write to MH i2c: 01 00 00 D9 0C E5 [00:53:44]Write i2c OK [00:53:44]MH_I2C_Read... [00:53:44]OFD Sender: No OFD packet to send [00:53:44]*** Cut start [00:53:44]*** Partial cut [00:53:44]*** CUTSNS_PIN = 1 [00:53:44]*** CUTSNS_PIN = 0 [00:53:45]*** Brake cut motor [00:53:45]Read from MH i2c: 01 [00:53:45]MH_I2C_Read... [00:53:45]*** Stop cut motor [00:53:45]*** Cut end [00:53:45]Read from MH i2c: 01 07 00 [00:53:45]MH_I2C_Read... [00:53:45]Read from MH i2c: 01 07 00 D9 0C 00 00 00 00 00 FF 0F FA [00:53:45]process_action close_receipt done [00:53:45]requested_data is exist [00:53:45]produce_requested_data [00:53:45]requested_item fm.sn is exist - process it [00:53:45]wFMCommunicate request_size=4 [00:53:45]MH_SAM_APDU [00:53:45]CAPDU: 80 11 00 00 [00:53:45]Write to MH i2c: E2 08 00 DA 0C 80 11 00 00 00 00 00 00 60 [00:53:45]Write i2c OK [00:53:45]MH_I2C_Read... [00:53:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:53:45]Read from MH i2c: E2 [00:53:45]MH_I2C_Read... [00:53:45]Read from MH i2c: E2 17 00 [00:53:45]MH_I2C_Read... [00:53:45]Read from MH i2c: E2 17 00 DA 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 90 00 B8 [00:53:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 90 00 [00:53:45]wFMCommunicate OK [00:53:45]requested_item fd.num is exist - process it [00:53:45]SAM_PROTO_GetFieldsCounters [00:53:45]wFMCommunicate request_size=4 [00:53:45]MH_SAM_APDU [00:53:45]CAPDU: 80 13 00 00 [00:53:45]Write to MH i2c: E2 08 00 DB 0C 80 13 00 00 00 00 00 00 63 [00:53:45]Write i2c OK [00:53:45]MH_I2C_Read... [00:53:45]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:53:45]Read from MH i2c: E2 [00:53:45]MH_I2C_Read... [00:53:45]Read from MH i2c: E2 62 00 [00:53:45]MH_I2C_Read... [00:53:45]Read from MH i2c: E2 62 00 DB 0C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 10 04 04 00 CB 9B 00 00 0E 04 04 00 78 01 00 00 12 04 04 00 01 00 00 00 5E 04 04 00 01 00 00 00 57 04 04 00 02 00 00 00 19 04 04 00 00 00 00 00 90 00 6B [00:53:45]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 10 04 04 00 CB 9B 00 00 0E 04 04 00 78 01 00 00 12 04 04 00 01 00 00 00 5E 04 04 00 01 00 00 00 57 04 04 00 02 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:53:45]wFMCommunicate OK [00:53:45]SAM_PROTO_GetFieldsCounters done [00:53:45]requested_item shift.num is exist - process it [00:53:45]requested_item shift.opened is exist - process it [00:53:45]req_shift_opened [00:53:45]FM_GetShiftState [00:53:45]SAM_PROTO_GetShiftState [00:53:45]wFMCommunicate request_size=4 [00:53:45]MH_SAM_APDU [00:53:45]CAPDU: 80 13 01 00 [00:53:45]Write to MH i2c: E2 08 00 DC 0C 80 13 01 00 00 00 00 00 65 [00:53:45]Write i2c OK [00:53:45]MH_I2C_Read... [00:53:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:53:45]Read from MH i2c: E2 [00:53:45]MH_I2C_Read... [00:53:45]Read from MH i2c: E2 0E 00 [00:53:45]MH_I2C_Read... [00:53:45]Read from MH i2c: E2 0E 00 DC 0C 00 09 00 01 49 0B 5D 66 00 00 00 00 90 00 88 [00:53:45]RAPDU: 09 00 01 49 0B 5D 66 00 00 00 00 90 00 [00:53:45]wFMCommunicate OK [00:53:45]SAM_PROTO_GetShiftState done [00:53:45]FM_GetShiftState done [00:53:45]req_shift_opened done [00:53:45]requested_item shift.open_date is exist - process it [00:53:45]req_shift_open_date [00:53:45]req_shift_open_date done [00:53:45]produce_requested_data done [00:53:45]produce_requested_data return {"fm.sn":"0000000000874882","fd.num":39883,"shift.num":376,"shift.opened":1,"shift.open_date":1717373769} [00:53:45]process_action_free close_receipt [00:53:45]json_value_free [00:53:45]json_value_free done [00:53:45]process_json_proto returns [00:53:45]Send response to host [00:53:45]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874882","fd.num":39883,"shift.num":376,"shift.opened":1,"shift.open_date":1717373769}}} [00:53:45]free response buf [00:53:45]execute_script done [00:53:45]execute_script returns [00:53:45]free content buf [00:53:45]Sock 9.Close socket [00:53:45]Sock 9.Thread stoped [00:53:49]OFD Sender: No OFD packet to send [00:53:54]OFD Sender: No OFD packet to send [00:53:59]OFD Sender: No OFD packet to send [00:54:04]OFD Sender: No OFD packet to send [00:54:09]OFD Sender: No OFD packet to send [00:54:14]OFD Sender: No OFD packet to send [00:54:19]OFD Sender: No OFD packet to send [00:54:24]OFD Sender: No OFD packet to send [00:54:29]OFD Sender: No OFD packet to send [00:54:34]OFD Sender: No OFD packet to send [00:54:39]OFD Sender: No OFD packet to send [00:54:44]OFD Sender: No OFD packet to send [00:54:49]OFD Sender: No OFD packet to send [00:54:54]OFD Sender: No OFD packet to send [00:54:59]OFD Sender: No OFD packet to send [00:55:04]OFD Sender: No OFD packet to send [00:55:09]OFD Sender: No OFD packet to send [00:55:14]OFD Sender: No OFD packet to send [00:55:19]OFD Sender: No OFD packet to send [00:55:24]OFD Sender: No OFD packet to send [00:55:29]OFD Sender: No OFD packet to send [00:55:34]OFD Sender: No OFD packet to send [00:55:39]OFD Sender: No OFD packet to send [00:55:44]OFD Sender: No OFD packet to send [00:55:49]OFD Sender: No OFD packet to send [00:55:54]OFD Sender: No OFD packet to send [00:55:59]OFD Sender: No OFD packet to send [00:56:04]OFD Sender: No OFD packet to send [00:56:09]OFD Sender: No OFD packet to send [00:56:14]OFD Sender: No OFD packet to send [00:56:19]OFD Sender: No OFD packet to send [00:56:24]OFD Sender: No OFD packet to send [00:56:29]OFD Sender: No OFD packet to send [00:56:34]OFD Sender: No OFD packet to send [00:56:39]OFD Sender: No OFD packet to send [00:56:44]OFD Sender: No OFD packet to send [00:56:49]OFD Sender: No OFD packet to send [00:56:54]OFD Sender: No OFD packet to send [00:56:59]OFD Sender: No OFD packet to send [00:57:04]OFD Sender: No OFD packet to send [00:57:09]OFD Sender: No OFD packet to send [00:57:14]OFD Sender: No OFD packet to send [00:57:19]OFD Sender: No OFD packet to send [00:57:24]OFD Sender: No OFD packet to send [00:57:29]OFD Sender: No OFD packet to send [00:57:34]OFD Sender: No OFD packet to send [00:57:39]OFD Sender: No OFD packet to send [00:57:44]OFD Sender: No OFD packet to send [00:57:49]OFD Sender: No OFD packet to send [00:57:54]OFD Sender: No OFD packet to send [00:57:59]OFD Sender: No OFD packet to send [00:58:04]OFD Sender: No OFD packet to send [00:58:09]OFD Sender: No OFD packet to send [00:58:14]OFD Sender: No OFD packet to send [00:58:19]OFD Sender: No OFD packet to send [00:58:24]OFD Sender: No OFD packet to send [00:58:29]OFD Sender: No OFD packet to send [00:58:34]OFD Sender: No OFD packet to send [00:58:39]OFD Sender: No OFD packet to send [00:58:44]OFD Sender: No OFD packet to send [00:58:49]OFD Sender: No OFD packet to send [00:58:54]OFD Sender: No OFD packet to send [00:58:59]OFD Sender: No OFD packet to send [00:59:04]OFD Sender: No OFD packet to send [00:59:09]OFD Sender: No OFD packet to send [00:59:14]OFD Sender: No OFD packet to send [00:59:19]OFD Sender: No OFD packet to send [00:59:24]OFD Sender: No OFD packet to send [00:59:29]OFD Sender: No OFD packet to send [00:59:34]OFD Sender: No OFD packet to send [00:59:39]OFD Sender: No OFD packet to send [00:59:44]OFD Sender: No OFD packet to send [00:59:49]OFD Sender: No OFD packet to send [00:59:54]OFD Sender: No OFD packet to send [00:59:59]OFD Sender: No OFD packet to send [01:00:04]OFD Sender: No OFD packet to send [01:00:09]OFD Sender: No OFD packet to send [01:00:14]OFD Sender: No OFD packet to send [01:00:19]OFD Sender: No OFD packet to send [01:00:24]OFD Sender: No OFD packet to send [01:00:29]OFD Sender: No OFD packet to send [01:00:34]OFD Sender: No OFD packet to send [01:00:39]OFD Sender: No OFD packet to send [01:00:44]OFD Sender: No OFD packet to send [01:00:49]OFD Sender: No OFD packet to send [01:00:54]OFD Sender: No OFD packet to send [01:00:59]OFD Sender: No OFD packet to send [01:01:04]OFD Sender: No OFD packet to send [01:01:09]OFD Sender: No OFD packet to send [01:01:14]OFD Sender: No OFD packet to send [01:01:19]OFD Sender: No OFD packet to send [01:01:24]OFD Sender: No OFD packet to send [01:01:29]OFD Sender: No OFD packet to send [01:01:34]OFD Sender: No OFD packet to send [01:01:39]OFD Sender: No OFD packet to send [01:01:44]OFD Sender: No OFD packet to send [01:01:49]OFD Sender: No OFD packet to send [01:01:54]OFD Sender: No OFD packet to send [01:01:59]OFD Sender: No OFD packet to send [01:02:04]OFD Sender: No OFD packet to send [01:02:09]OFD Sender: No OFD packet to send [01:02:14]OFD Sender: No OFD packet to send [01:02:19]OFD Sender: No OFD packet to send [01:02:24]OFD Sender: No OFD packet to send [01:02:29]OFD Sender: No OFD packet to send [01:02:34]OFD Sender: No OFD packet to send [01:02:39]OFD Sender: No OFD packet to send [01:02:44]OFD Sender: No OFD packet to send [01:02:49]OFD Sender: No OFD packet to send [01:02:54]OFD Sender: No OFD packet to send [01:02:59]OFD Sender: No OFD packet to send [01:03:04]OFD Sender: No OFD packet to send [01:03:09]OFD Sender: No OFD packet to send [01:03:14]OFD Sender: No OFD packet to send [01:03:19]OFD Sender: No OFD packet to send [01:03:24]OFD Sender: No OFD packet to send [01:03:29]OFD Sender: No OFD packet to send [01:03:34]OFD Sender: No OFD packet to send [01:03:39]OFD Sender: No OFD packet to send [01:03:44]OFD Sender: No OFD packet to send [01:03:49]OFD Sender: No OFD packet to send [01:03:54]OFD Sender: No OFD packet to send [01:03:59]OFD Sender: No OFD packet to send [01:04:04]OFD Sender: No OFD packet to send [01:04:09]OFD Sender: No OFD packet to send [01:04:14]OFD Sender: No OFD packet to send [01:04:19]OFD Sender: No OFD packet to send [01:04:24]OFD Sender: No OFD packet to send [01:04:29]OFD Sender: No OFD packet to send [01:04:34]OFD Sender: No OFD packet to send [01:04:39]OFD Sender: No OFD packet to send [01:04:44]OFD Sender: No OFD packet to send [01:04:49]OFD Sender: No OFD packet to send [01:04:54]OFD Sender: No OFD packet to send [01:04:59]OFD Sender: No OFD packet to send [01:05:04]OFD Sender: No OFD packet to send [01:05:09]OFD Sender: No OFD packet to send [01:05:14]OFD Sender: No OFD packet to send [01:05:17]accept exits with 7 [01:05:17]New connection [01:05:17]New thread 3066699108 created [01:05:17]Thread 3066555748 joined [01:05:17]Waiting for new connection... [01:05:17] Sock 7.Parse request [01:05:17]Sock 7.Check first char [01:05:17]Sock 7.First char is OK [01:05:17]request: POST /json_proto HTTP/1.0 [01:05:17]Method: POST [01:05:17]URL: /json_proto [01:05:17]Method is POST - this is cgi request [01:05:17]url: /json_proto [01:05:17]query_string will be loaded in cgi processing [01:05:17]execute_cgi json_proto POST (null) [01:05:17]execute_cgi path=json_proto method=POST [01:05:17]POST find Content-Length [01:05:17]Host: 172.17.36.199:8080 [01:05:17]Content-Length: 623 [01:05:17]Content-Type: application/json [01:05:17] [01:05:17]POST finish read [01:05:17]Found Content-Length = 623 [01:05:17]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)176443", "tax_sys" : 0, "items" : [ { "code": "4700003150486", "name": "\u0412\u043E\u0434\u043A\u0430 \u041E\u0440\u043E\u043E\u043D 0,5", "price" : 425.00, "quantity" : 1.000, "sum" : 425.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 425.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:05:17]execute_script... [01:05:17]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)176443", "tax_sys" : 0, "items" : [ { "code": "4700003150486", "name": "\u0412\u043E\u0434\u043A\u0430 \u041E\u0440\u043E\u043E\u043D 0,5", "price" : 425.00, "quantity" : 1.000, "sum" : 425.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 425.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:05:17]POST & json_proto [01:05:17]process_json_proto [01:05:17]json parsed OK: [01:05:17]protocol is kg_v1.0 [01:05:17]action value=close_receipt [01:05:17]process_action close_receipt [01:05:17]cmd_close_receipt [01:05:17]MH_GetDate [01:05:17]Write to MH i2c: F0 00 00 DD 0C D8 [01:05:17]Write i2c OK [01:05:17]MH_I2C_Read... [01:05:17]Read from MH i2c: F0 [01:05:17]MH_I2C_Read... [01:05:17]Read from MH i2c: F0 09 00 [01:05:17]MH_I2C_Read... [01:05:17]Read from MH i2c: F0 09 00 DD 0C 00 CF 16 5D 66 91 46 04 65 C9 [01:05:17]GetLastDocTimeStamp 1717376023 [01:05:17]current date 1717376719 [01:05:17]FM_GetShiftState [01:05:17]SAM_PROTO_GetShiftState [01:05:17]wFMCommunicate request_size=4 [01:05:17]MH_SAM_APDU [01:05:17]CAPDU: 80 13 01 00 [01:05:17]Write to MH i2c: E2 08 00 DE 0C 80 13 01 00 00 00 00 00 67 [01:05:17]Write i2c OK [01:05:17]MH_I2C_Read... [01:05:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:05:17]Read from MH i2c: E2 [01:05:17]MH_I2C_Read... [01:05:17]Read from MH i2c: E2 0E 00 [01:05:17]MH_I2C_Read... [01:05:17]Read from MH i2c: E2 0E 00 DE 0C 00 09 00 01 49 0B 5D 66 00 00 00 00 90 00 8A [01:05:17]RAPDU: 09 00 01 49 0B 5D 66 00 00 00 00 90 00 [01:05:17]wFMCommunicate OK [01:05:17]SAM_PROTO_GetShiftState done [01:05:17]FM_GetShiftState done [01:05:17]opened in 1717373769 [01:05:17]opened+sec_in_day 1717460169 [01:05:17]quantity*price = 42500 [01:05:17]sum+1 = 42501 [01:05:17]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 425.00 НСП 1% : 3.76 НДС 12% : 45.13 Наличными: 425.00 Безнал.: 0.00 Место: АЗС № 63 "Партнер Нефть" Адрес: 720001, с. Чон Сары Ой, ул. Западная 3, 42.603516, 76.894901 СНО: Общий режим Чек 2 03.06.2024 01:05 Смена: 376 ФФД: 1.0 ЗНМ: 0300000037 РНМ: 0000000000092680 Версия ККМ: 001 ФМ: 0000000000874882 ФД: 39884 ФПД: 199738037912315 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T010519&type=1&operation_type=1&fn_number=0000000000874882&fd_number=39884&fm=199738037912315&tin=02508201610067®Number=0000000000092680&sum=42500 0 [01:05:18]StoreToDocumentArchive [01:05:18]shift 376 fd 39884 [01:05:18]save to /storage/0376/doc_00039884 [01:05:18]save last doc name /storage/0376/doc_00039884 to /storage/kkm_last_doc_name [01:05:18]save OK [01:05:18]Clear old archive folders... [01:05:18]ProcessDocumentItem done err = 0, tmpTLVsize=267 [01:05:18]tlvbuf is 00B58DF0 [01:05:18]SAM_PROTO_ClearQueue [01:05:18]wFMCommunicate request_size=4 [01:05:18]MH_SAM_APDU [01:05:18]CAPDU: 80 09 00 00 [01:05:18]Write to MH i2c: E2 08 00 EB 0C 80 09 00 00 00 00 00 00 69 [01:05:18]Write i2c OK [01:05:18]MH_I2C_Read... [01:05:18]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [01:05:18]Read from MH i2c: E2 [01:05:18]MH_I2C_Read... [01:05:18]Read from MH i2c: E2 03 00 [01:05:18]MH_I2C_Read... [01:05:18]Read from MH i2c: E2 03 00 EB 0C 00 90 00 6B [01:05:18]RAPDU: 90 00 [01:05:18]wFMCommunicate OK [01:05:18]SAM_PROTO_ClearQueue done [01:05:18]KKMCreateOFDPacket [01:05:18]OFDProtocolAddRootSTLVToBuf [01:05:18]FM_MakeSignedData [01:05:18]FM_MakeSignedData [01:05:18]SAM_PROTO_SignData [01:05:18]wFMCommunicate request_size=4 [01:05:18]MH_SAM_APDU [01:05:18]CAPDU: 80 0D 01 02 [01:05:18]Write to MH i2c: E2 08 00 EC 0C 80 0D 01 02 00 00 00 00 71 [01:05:18]Write i2c OK [01:05:18]MH_I2C_Read... [01:05:18]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [01:05:18]Read from MH i2c: E2 [01:05:18]MH_I2C_Read... [01:05:18]Read from MH i2c: E2 03 00 [01:05:18]MH_I2C_Read... [01:05:18]Read from MH i2c: E2 03 00 EC 0C 00 90 00 6C [01:05:18]RAPDU: 90 00 [01:05:18]wFMCommunicate OK [01:05:18]wFMCommunicate request_size=255 [01:05:18]MH_SAM_APDU [01:05:18]CAPDU: 80 0D 02 02 FA 03 00 0B 01 1E 04 01 00 01 23 04 5D 00 8A 04 0D 00 34 37 30 30 30 30 33 31 35 30 34 38 36 06 04 19 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9E D1 80 D0 BE D0 BE D0 BD 20 30 2C 35 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 A6 00 00 00 00 13 04 06 00 04 A6 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 A6 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 78 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A1 11 00 00 00 00 07 04 06 00 04 A6 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 CF 16 5D 66 0E 04 04 00 78 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 [01:05:18]Write to MH i2c: E2 02 01 ED 0C 80 0D 02 02 FA 00 03 00 0B 01 1E 04 01 00 01 23 04 5D 00 8A 04 0D 00 34 37 30 30 30 30 33 31 35 30 34 38 36 06 04 19 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9E D1 80 D0 BE D0 BE D0 BD 20 30 2C 35 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 A6 00 00 00 00 13 04 06 00 04 A6 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 A6 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 78 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A1 11 00 00 00 00 07 04 06 00 04 A6 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 CF 16 5D 66 0E 04 04 00 78 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 00 00 78 [01:05:18]Write i2c OK [01:05:18]MH_I2C_Read... [01:05:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:05:18]Read from MH i2c: E2 [01:05:18]MH_I2C_Read... [01:05:18]Read from MH i2c: E2 03 00 [01:05:18]MH_I2C_Read... [01:05:18]Read from MH i2c: E2 03 00 ED 0C 00 90 00 6D [01:05:18]RAPDU: 90 00 [01:05:18]wFMCommunicate OK [01:05:18]wFMCommunicate request_size=26 [01:05:18]MH_SAM_APDU [01:05:18]CAPDU: 80 0D 02 02 15 38 38 32 10 04 04 00 CC 9B 00 00 35 04 06 00 B5 A9 22 CC 42 FB [01:05:18]Write to MH i2c: E2 1D 00 EE 0C 80 0D 02 02 15 00 38 38 32 10 04 04 00 CC 9B 00 00 35 04 06 00 B5 A9 22 CC 42 FB 00 00 87 [01:05:18]Write i2c OK [01:05:18]MH_I2C_Read... [01:05:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:05:18]Read from MH i2c: E2 [01:05:18]MH_I2C_Read... [01:05:18]Read from MH i2c: E2 03 00 [01:05:18]MH_I2C_Read... [01:05:18]Read from MH i2c: E2 03 00 EE 0C 00 90 00 6E [01:05:18]RAPDU: 90 00 [01:05:18]wFMCommunicate OK [01:05:18]wFMCommunicate request_size=4 [01:05:18]MH_SAM_APDU [01:05:18]CAPDU: 80 0D 03 02 [01:05:18]Write to MH i2c: E2 08 00 EF 0C 80 0D 03 02 00 00 00 00 76 [01:05:18]Write i2c OK [01:05:18]MH_I2C_Read... [01:05:18]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [01:05:18]Read from MH i2c: E2 [01:05:18]MH_I2C_Read... [01:05:18]Read from MH i2c: E2 0B 00 [01:05:18]MH_I2C_Read... [01:05:18]Read from MH i2c: E2 0B 00 EF 0C 00 31 34 02 71 40 5E 4F FE 90 00 3A [01:05:18]RAPDU: 31 34 02 71 40 5E 4F FE 90 00 [01:05:18]wFMCommunicate OK [01:05:18]SAM_PROTO_SignData done [01:05:18]FM_MakeSignedData done [01:05:18]CreateOFDProtocolMessage [01:05:18]wFMCommunicate request_size=4 [01:05:18]MH_SAM_APDU [01:05:18]CAPDU: 80 11 00 00 [01:05:18]Write to MH i2c: E2 08 00 F0 0C 80 11 00 00 00 00 00 00 76 [01:05:18]Write i2c OK [01:05:18]MH_I2C_Read... [01:05:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:05:18]Read from MH i2c: E2 [01:05:18]MH_I2C_Read... [01:05:18]Read from MH i2c: E2 17 00 [01:05:18]MH_I2C_Read... [01:05:18]Read from MH i2c: E2 17 00 F0 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 90 00 CE [01:05:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 90 00 [01:05:18]wFMCommunicate OK [01:05:18]CreateOFDProtocolMessage done [01:05:18]OFDSenderStorePacket 39884 [01:05:18]StoreOFDPacket docnum=39884 [01:05:18]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 1F 01 00 00 B3 DB 17 01 B6 83 5A 03 01 00 03 00 0B 01 1E 04 01 00 01 23 04 5D 00 8A 04 0D 00 34 37 30 30 30 30 33 31 35 30 34 38 36 06 04 19 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9E D1 80 D0 BE D0 BE D0 BD 20 30 2C 35 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 A6 00 00 00 00 13 04 06 00 04 A6 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 A6 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 78 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A1 11 00 00 00 00 07 04 06 00 04 A6 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 CF 16 5D 66 0E 04 04 00 78 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 10 04 04 00 CC 9B 00 00 35 04 06 00 B5 A9 22 CC 42 FB 31 34 02 71 40 5E 4F FE [01:05:18]CheckFolder [01:05:18]dirname=/storage/ofd_packets [01:05:18]CheckFolder done [01:05:18]ProducePacketName [01:05:18]name=ofd_packets/00039884 [01:05:18]NVStorageSaveData ofd_packets/00039884 [01:05:18]File name is /storage/ofd_packets/00039884 [01:05:18]Write 317 bytes [01:05:18]NVStorageSaveData done [01:05:18]OFDSenderStorePacket done [01:05:18]KKMCreateOFDPacket done [01:05:18]NVStorageSaveData kkm_last_timestamp [01:05:18]File name is /storage/kkm_last_timestamp [01:05:18]Write 4 bytes [01:05:18]NVStorageSaveData done [01:05:18]ExternCall_PrintAddStr [01:05:18]wPrintStart [01:05:18]Write to MH i2c: 01 00 00 F1 0C FD [01:05:18]Write i2c OK [01:05:18]MH_I2C_Read... [01:05:18]Read from MH i2c: 01 [01:05:18]MH_I2C_Read... [01:05:18]Read from MH i2c: 01 07 00 [01:05:18]MH_I2C_Read... [01:05:18]Read from MH i2c: 01 07 00 F1 0C 00 00 00 00 00 FF 0F 12 [01:05:18]RasterBufferAndPrint [01:05:18]line Счет N : (3)176443 [01:05:18]line ИНН: 02508201610067 [01:05:18]line Контрольно-Кассовый Чек [01:05:18]line ПРОДАЖА [01:05:18]line Товар: 4700003150486 [01:05:18]line Водка Ороон 0,5 [01:05:18]line 1.000 * 425.00 [01:05:18]line = 425.00 [01:05:18]line НДС 12% НСП 1% [01:05:18]line > о реализуемом товаре [01:05:18]line ИТОГО: 425.00 [01:05:18]line НСП 1% : 3.76 [01:05:18]line НДС 12% : 45.13 [01:05:18]line Наличными: 425.00 [01:05:18]line Безнал.: 0.00 [01:05:18]line Место: АЗС № 63 "Партнер Нефть" [01:05:18]line Адрес: 720001, с. Чон Сары Ой, ул. Западная 3, 42.603516, 76.894901 [01:05:18]line СНО: Общий режим [01:05:18]line Чек 2 03.06.2024 01:05 [01:05:18]line Смена: 376 ФФД: 1.0 [01:05:18]line ЗНМ: 0300000037 [01:05:18]line РНМ: 0000000000092680 [01:05:18]line Версия ККМ: 001 [01:05:18]line ФМ: 0000000000874882 [01:05:18]line ФД: 39884 [01:05:18]line ФПД: 199738037912315 [01:05:18]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T010519&type=1&operation_type=1&fn_number=0000000000874882&fd_number=39884&fm=199738037912315&tin=02508201610067®Number=0000000000092680&sum=42500 [01:05:19]OFD Sender: Processing packet 39884 [packets to send 5, broken 4] [01:05:19]ProducePacketName [01:05:19]name=ofd_packets/00039884 [01:05:19]OFD Sender: To server: pG, [01:05:19]CommunicateWithHost lk.salyk.kg:30040 [01:05:19]ConnectInit lk.salyk.kg [01:05:19]line 0 [01:05:19]written 0, free lines is 4095 [01:05:19]Connected sock=10 [01:05: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 38 32 1F 01 00 00 B3 DB 17 01 B6 83 5A 03 01 00 03 00 0B 01 1E 04 01 00 01 23 04 5D 00 8A 04 0D 00 34 37 30 30 30 30 33 31 35 30 34 38 36 06 04 19 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9E D1 80 D0 BE D0 BE D0 BD 20 30 2C 35 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 A6 00 00 00 00 13 04 06 00 04 A6 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 A6 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 78 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A1 11 00 00 00 00 07 04 06 00 04 A6 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 CF 16 5D 66 0E 04 04 00 78 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 10 04 04 00 CC 9B 00 00 35 04 06 00 B5 A9 22 CC 42 FB 31 34 02 71 40 5E 4F FE [01:05:19]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 4F 00 00 00 D3 0D 47 00 3E 0E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 10 04 04 00 CC 9B 00 00 F4 03 04 00 7C BF 5C 66 B6 04 01 00 00 1D D5 59 57 7A F1 65 3B [01:05:19]CommunicateWithHost err = 0 [01:05:19]CheckOFDResponse [01:05:19]1017 (14) - 77093643461234 [01:05:19]1041 (16) - 0000000000874882 [01:05:19]1040 (4) - 39884 [01:05:19]1012 (4) - 02.06.2024 18:52 [01:05:19]1206 (1) - 0 [01:05:19]OFD Sender: Remove packet 39884 [01:05:19]ProducePacketName [01:05:19]name=ofd_packets/00039884 [01:05:19]NVStorageDeleteData [01:05:19]Write to MH i2c: 01 00 00 19 0D 26 [01:05:19]Write i2c OK [01:05:19]MH_I2C_Read... [01:05:19]Read from MH i2c: 01 [01:05:19]MH_I2C_Read... [01:05:19]Read from MH i2c: 01 07 00 [01:05:19]MH_I2C_Read... [01:05:19]Read from MH i2c: 01 07 00 19 0D 00 00 00 00 00 22 0D 5C [01:05:19]RasterBufferAndPrint [01:05:19]line [01:05:19]line [01:05:19]line [01:05:19]line [01:05:19]line [01:05:19]written 0, free lines is 3370 [01:05:19]MH_Cut [01:05:19]Write to MH i2c: D1 01 00 20 0D 01 FF [01:05:19]Write i2c OK [01:05:19]MH_I2C_Read... [01:05:19]Read from MH i2c: D1 [01:05:19]MH_I2C_Read... [01:05:19]Read from MH i2c: D1 01 00 [01:05:19]MH_I2C_Read... [01:05:19]Read from MH i2c: D1 01 00 20 0D 00 FE [01:05:19]Write to MH i2c: 01 00 00 21 0D 2E [01:05:19]Write i2c OK [01:05:19]MH_I2C_Read... [01:05:20]OFD Sender: No OFD packet to send [01:05:20]*** Cut start [01:05:20]*** Partial cut [01:05:20]*** CUTSNS_PIN = 1 [01:05:20]*** CUTSNS_PIN = 0 [01:05:20]*** Brake cut motor [01:05:20]Read from MH i2c: 01 [01:05:21]MH_I2C_Read... [01:05:21]*** Stop cut motor [01:05:21]*** Cut end [01:05:21]Read from MH i2c: 01 07 00 [01:05:21]MH_I2C_Read... [01:05:21]Read from MH i2c: 01 07 00 21 0D 00 00 00 00 00 FF 0F 43 [01:05:21]process_action close_receipt done [01:05:21]requested_data is exist [01:05:21]produce_requested_data [01:05:21]requested_item fm.sn is exist - process it [01:05:21]wFMCommunicate request_size=4 [01:05:21]MH_SAM_APDU [01:05:21]CAPDU: 80 11 00 00 [01:05:21]Write to MH i2c: E2 08 00 22 0D 80 11 00 00 00 00 00 00 A9 [01:05:21]Write i2c OK [01:05:21]MH_I2C_Read... [01:05:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:05:21]Read from MH i2c: E2 [01:05:21]MH_I2C_Read... [01:05:21]Read from MH i2c: E2 17 00 [01:05:21]MH_I2C_Read... [01:05:21]Read from MH i2c: E2 17 00 22 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 90 00 01 [01:05:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 90 00 [01:05:21]wFMCommunicate OK [01:05:21]requested_item fd.num is exist - process it [01:05:21]SAM_PROTO_GetFieldsCounters [01:05:21]wFMCommunicate request_size=4 [01:05:21]MH_SAM_APDU [01:05:21]CAPDU: 80 13 00 00 [01:05:21]Write to MH i2c: E2 08 00 23 0D 80 13 00 00 00 00 00 00 AC [01:05:21]Write i2c OK [01:05:21]MH_I2C_Read... [01:05:21]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:05:21]Read from MH i2c: E2 [01:05:21]MH_I2C_Read... [01:05:21]Read from MH i2c: E2 62 00 [01:05:21]MH_I2C_Read... [01:05:21]Read from MH i2c: E2 62 00 23 0D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 10 04 04 00 CC 9B 00 00 0E 04 04 00 78 01 00 00 12 04 04 00 02 00 00 00 5E 04 04 00 02 00 00 00 57 04 04 00 03 00 00 00 19 04 04 00 00 00 00 00 90 00 B8 [01:05: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 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 10 04 04 00 CC 9B 00 00 0E 04 04 00 78 01 00 00 12 04 04 00 02 00 00 00 5E 04 04 00 02 00 00 00 57 04 04 00 03 00 00 00 19 04 04 00 00 00 00 00 90 00 [01:05:21]wFMCommunicate OK [01:05:21]SAM_PROTO_GetFieldsCounters done [01:05:21]requested_item shift.num is exist - process it [01:05:21]requested_item shift.opened is exist - process it [01:05:21]req_shift_opened [01:05:21]FM_GetShiftState [01:05:21]SAM_PROTO_GetShiftState [01:05:21]wFMCommunicate request_size=4 [01:05:21]MH_SAM_APDU [01:05:21]CAPDU: 80 13 01 00 [01:05:21]Write to MH i2c: E2 08 00 24 0D 80 13 01 00 00 00 00 00 AE [01:05:21]Write i2c OK [01:05:21]MH_I2C_Read... [01:05:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:05:21]Read from MH i2c: E2 [01:05:21]MH_I2C_Read... [01:05:21]Read from MH i2c: E2 0E 00 [01:05:21]MH_I2C_Read... [01:05:21]Read from MH i2c: E2 0E 00 24 0D 00 09 00 01 49 0B 5D 66 00 00 00 00 90 00 D1 [01:05:21]RAPDU: 09 00 01 49 0B 5D 66 00 00 00 00 90 00 [01:05:21]wFMCommunicate OK [01:05:21]SAM_PROTO_GetShiftState done [01:05:21]FM_GetShiftState done [01:05:21]req_shift_opened done [01:05:21]requested_item shift.open_date is exist - process it [01:05:21]req_shift_open_date [01:05:21]req_shift_open_date done [01:05:21]produce_requested_data done [01:05:21]produce_requested_data return {"fm.sn":"0000000000874882","fd.num":39884,"shift.num":376,"shift.opened":1,"shift.open_date":1717373769} [01:05:21]process_action_free close_receipt [01:05:21]json_value_free [01:05:21]json_value_free done [01:05:21]process_json_proto returns [01:05:21]Send response to host [01:05:21]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874882","fd.num":39884,"shift.num":376,"shift.opened":1,"shift.open_date":1717373769}}} [01:05:21]free response buf [01:05:21]execute_script done [01:05:21]execute_script returns [01:05:21]free content buf [01:05:21]Sock 7.Close socket [01:05:21]Sock 7.Thread stoped [01:05:25]OFD Sender: No OFD packet to send [01:05:30]OFD Sender: No OFD packet to send [01:05:35]OFD Sender: No OFD packet to send [01:05:40]OFD Sender: No OFD packet to send [01:05:45]OFD Sender: No OFD packet to send [01:05:50]OFD Sender: No OFD packet to send [01:05:55]OFD Sender: No OFD packet to send [01:06:00]OFD Sender: No OFD packet to send [01:06:05]OFD Sender: No OFD packet to send [01:06:10]OFD Sender: No OFD packet to send [01:06:15]OFD Sender: No OFD packet to send [01:06:20]OFD Sender: No OFD packet to send [01:06:25]OFD Sender: No OFD packet to send [01:06:30]OFD Sender: No OFD packet to send [01:06:35]OFD Sender: No OFD packet to send [01:06:40]OFD Sender: No OFD packet to send [01:06:45]OFD Sender: No OFD packet to send [01:06:50]OFD Sender: No OFD packet to send [01:06:55]OFD Sender: No OFD packet to send [01:07:00]OFD Sender: No OFD packet to send [01:07:05]OFD Sender: No OFD packet to send [01:07:10]OFD Sender: No OFD packet to send [01:07:15]OFD Sender: No OFD packet to send [01:07:20]OFD Sender: No OFD packet to send [01:07:25]OFD Sender: No OFD packet to send [01:07:30]OFD Sender: No OFD packet to send [01:07:35]OFD Sender: No OFD packet to send [01:07:40]OFD Sender: No OFD packet to send [01:07:45]OFD Sender: No OFD packet to send [01:07:50]OFD Sender: No OFD packet to send [01:07:55]OFD Sender: No OFD packet to send [01:08:00]OFD Sender: No OFD packet to send [01:08:05]OFD Sender: No OFD packet to send [01:08:10]OFD Sender: No OFD packet to send [01:08:15]OFD Sender: No OFD packet to send [01:08:20]OFD Sender: No OFD packet to send [01:08:25]OFD Sender: No OFD packet to send [01:08:30]OFD Sender: No OFD packet to send [01:08:35]OFD Sender: No OFD packet to send [01:08:40]OFD Sender: No OFD packet to send [01:08:45]OFD Sender: No OFD packet to send [01:08:50]OFD Sender: No OFD packet to send [01:08:55]OFD Sender: No OFD packet to send [01:09:00]OFD Sender: No OFD packet to send [01:09:05]OFD Sender: No OFD packet to send [01:09:10]OFD Sender: No OFD packet to send [01:09:15]OFD Sender: No OFD packet to send [01:09:20]OFD Sender: No OFD packet to send [01:09:25]OFD Sender: No OFD packet to send [01:09:30]OFD Sender: No OFD packet to send [01:09:35]OFD Sender: No OFD packet to send [01:09:40]OFD Sender: No OFD packet to send [01:09:45]OFD Sender: No OFD packet to send [01:09:50]OFD Sender: No OFD packet to send [01:09:55]OFD Sender: No OFD packet to send [01:10:00]OFD Sender: No OFD packet to send [01:10:05]OFD Sender: No OFD packet to send [01:10:10]OFD Sender: No OFD packet to send [01:10:15]OFD Sender: No OFD packet to send [01:10:20]OFD Sender: No OFD packet to send [01:10:25]OFD Sender: No OFD packet to send [01:10:30]OFD Sender: No OFD packet to send [01:10:35]OFD Sender: No OFD packet to send [01:10:40]OFD Sender: No OFD packet to send [01:10:45]OFD Sender: No OFD packet to send [01:10:50]OFD Sender: No OFD packet to send [01:10:55]OFD Sender: No OFD packet to send [01:11:00]OFD Sender: No OFD packet to send [01:11:05]OFD Sender: No OFD packet to send [01:11:10]OFD Sender: No OFD packet to send [01:11:15]OFD Sender: No OFD packet to send [01:11:20]OFD Sender: No OFD packet to send [01:11:25]OFD Sender: No OFD packet to send [01:11:30]OFD Sender: No OFD packet to send [01:11:35]OFD Sender: No OFD packet to send [01:11:40]OFD Sender: No OFD packet to send [01:11:45]OFD Sender: No OFD packet to send [01:11:50]OFD Sender: No OFD packet to send [01:11:55]OFD Sender: No OFD packet to send [01:12:00]OFD Sender: No OFD packet to send [01:12:05]OFD Sender: No OFD packet to send [01:12:10]OFD Sender: No OFD packet to send [01:12:15]OFD Sender: No OFD packet to send [01:12:20]OFD Sender: No OFD packet to send [01:12:25]OFD Sender: No OFD packet to send [01:12:30]OFD Sender: No OFD packet to send [01:12:35]OFD Sender: No OFD packet to send [01:12:40]OFD Sender: No OFD packet to send [01:12:45]OFD Sender: No OFD packet to send [01:12:50]OFD Sender: No OFD packet to send [01:12:55]OFD Sender: No OFD packet to send [01:13:00]OFD Sender: No OFD packet to send [01:13:05]OFD Sender: No OFD packet to send [01:13:10]OFD Sender: No OFD packet to send [01:13:15]OFD Sender: No OFD packet to send [01:13:20]OFD Sender: No OFD packet to send [01:13:25]OFD Sender: No OFD packet to send [01:13:30]OFD Sender: No OFD packet to send [01:13:35]OFD Sender: No OFD packet to send [01:13:40]OFD Sender: No OFD packet to send [01:13:45]OFD Sender: No OFD packet to send [01:13:50]OFD Sender: No OFD packet to send [01:13:55]OFD Sender: No OFD packet to send [01:14:00]OFD Sender: No OFD packet to send [01:14:05]OFD Sender: No OFD packet to send [01:14:10]OFD Sender: No OFD packet to send [01:14:15]OFD Sender: No OFD packet to send [01:14:20]OFD Sender: No OFD packet to send [01:14:25]OFD Sender: No OFD packet to send [01:14:30]OFD Sender: No OFD packet to send [01:14:35]OFD Sender: No OFD packet to send [01:14:40]OFD Sender: No OFD packet to send [01:14:45]OFD Sender: No OFD packet to send [01:14:50]OFD Sender: No OFD packet to send [01:14:55]OFD Sender: No OFD packet to send [01:15:00]OFD Sender: No OFD packet to send [01:15:05]OFD Sender: No OFD packet to send [01:15:10]OFD Sender: No OFD packet to send [01:15:15]OFD Sender: No OFD packet to send [01:15:20]OFD Sender: No OFD packet to send [01:15:25]OFD Sender: No OFD packet to send [01:15:30]OFD Sender: No OFD packet to send [01:15:35]OFD Sender: No OFD packet to send [01:15:40]OFD Sender: No OFD packet to send [01:15:45]OFD Sender: No OFD packet to send [01:15:50]OFD Sender: No OFD packet to send [01:15:55]OFD Sender: No OFD packet to send [01:16:00]OFD Sender: No OFD packet to send [01:16:05]OFD Sender: No OFD packet to send [01:16:10]OFD Sender: No OFD packet to send [01:16:15]OFD Sender: No OFD packet to send [01:16:20]OFD Sender: No OFD packet to send [01:16:25]OFD Sender: No OFD packet to send [01:16:30]OFD Sender: No OFD packet to send [01:16:35]OFD Sender: No OFD packet to send [01:16:40]OFD Sender: No OFD packet to send [01:16:45]OFD Sender: No OFD packet to send [01:16:50]OFD Sender: No OFD packet to send [01:16:55]OFD Sender: No OFD packet to send [01:17:00]OFD Sender: No OFD packet to send [01:17:05]OFD Sender: No OFD packet to send [01:17:10]OFD Sender: No OFD packet to send [01:17:15]OFD Sender: No OFD packet to send [01:17:20]OFD Sender: No OFD packet to send [01:17:25]OFD Sender: No OFD packet to send [01:17:30]OFD Sender: No OFD packet to send [01:17:35]OFD Sender: No OFD packet to send [01:17:40]OFD Sender: No OFD packet to send [01:17:45]OFD Sender: No OFD packet to send [01:17:50]OFD Sender: No OFD packet to send [01:17:55]OFD Sender: No OFD packet to send [01:18:00]OFD Sender: No OFD packet to send [01:18:05]OFD Sender: No OFD packet to send [01:18:10]OFD Sender: No OFD packet to send [01:18:15]OFD Sender: No OFD packet to send [01:18:20]OFD Sender: No OFD packet to send [01:18:25]OFD Sender: No OFD packet to send [01:18:30]OFD Sender: No OFD packet to send [01:18:35]OFD Sender: No OFD packet to send [01:18:40]OFD Sender: No OFD packet to send [01:18:45]OFD Sender: No OFD packet to send [01:18:50]OFD Sender: No OFD packet to send [01:18:55]OFD Sender: No OFD packet to send [01:19:00]OFD Sender: No OFD packet to send [01:19:05]OFD Sender: No OFD packet to send [01:19:10]OFD Sender: No OFD packet to send [01:19:15]OFD Sender: No OFD packet to send [01:19:20]OFD Sender: No OFD packet to send [01:19:25]OFD Sender: No OFD packet to send [01:19:30]OFD Sender: No OFD packet to send [01:19:35]OFD Sender: No OFD packet to send [01:19:40]OFD Sender: No OFD packet to send [01:19:45]OFD Sender: No OFD packet to send [01:19:50]OFD Sender: No OFD packet to send [01:19:55]OFD Sender: No OFD packet to send [01:20:00]OFD Sender: No OFD packet to send [01:20:05]OFD Sender: No OFD packet to send [01:20:10]OFD Sender: No OFD packet to send [01:20:15]OFD Sender: No OFD packet to send [01:20:20]OFD Sender: No OFD packet to send [01:20:25]OFD Sender: No OFD packet to send [01:20:30]OFD Sender: No OFD packet to send [01:20:35]OFD Sender: No OFD packet to send [01:20:40]OFD Sender: No OFD packet to send [01:20:45]OFD Sender: No OFD packet to send [01:20:50]OFD Sender: No OFD packet to send [01:20:55]OFD Sender: No OFD packet to send [01:21:00]OFD Sender: No OFD packet to send [01:21:05]OFD Sender: No OFD packet to send [01:21:10]OFD Sender: No OFD packet to send [01:21:15]OFD Sender: No OFD packet to send [01:21:20]OFD Sender: No OFD packet to send [01:21:25]OFD Sender: No OFD packet to send [01:21:30]OFD Sender: No OFD packet to send [01:21:35]OFD Sender: No OFD packet to send [01:21:40]OFD Sender: No OFD packet to send [01:21:45]OFD Sender: No OFD packet to send [01:21:50]OFD Sender: No OFD packet to send [01:21:55]OFD Sender: No OFD packet to send [01:22:00]OFD Sender: No OFD packet to send [01:22:05]OFD Sender: No OFD packet to send [01:22:10]OFD Sender: No OFD packet to send [01:22:15]OFD Sender: No OFD packet to send [01:22:20]OFD Sender: No OFD packet to send [01:22:25]OFD Sender: No OFD packet to send [01:22:30]OFD Sender: No OFD packet to send [01:22:35]OFD Sender: No OFD packet to send [01:22:40]OFD Sender: No OFD packet to send [01:22:45]OFD Sender: No OFD packet to send [01:22:50]OFD Sender: No OFD packet to send [01:22:55]OFD Sender: No OFD packet to send [01:23:00]OFD Sender: No OFD packet to send [01:23:05]OFD Sender: No OFD packet to send [01:23:10]OFD Sender: No OFD packet to send [01:23:15]OFD Sender: No OFD packet to send [01:23:20]OFD Sender: No OFD packet to send [01:23:25]OFD Sender: No OFD packet to send [01:23:30]OFD Sender: No OFD packet to send [01:23:35]OFD Sender: No OFD packet to send [01:23:40]OFD Sender: No OFD packet to send [01:23:45]OFD Sender: No OFD packet to send [01:23:50]OFD Sender: No OFD packet to send [01:23:55]OFD Sender: No OFD packet to send [01:24:00]OFD Sender: No OFD packet to send [01:24:05]OFD Sender: No OFD packet to send [01:24:10]OFD Sender: No OFD packet to send [01:24:15]OFD Sender: No OFD packet to send [01:24:20]OFD Sender: No OFD packet to send [01:24:25]OFD Sender: No OFD packet to send [01:24:30]OFD Sender: No OFD packet to send [01:24:35]OFD Sender: No OFD packet to send [01:24:41]OFD Sender: No OFD packet to send [01:24:46]OFD Sender: No OFD packet to send [01:24:51]OFD Sender: No OFD packet to send [01:24:56]OFD Sender: No OFD packet to send [01:25:01]OFD Sender: No OFD packet to send [01:25:06]OFD Sender: No OFD packet to send [01:25:11]OFD Sender: No OFD packet to send [01:25:16]OFD Sender: No OFD packet to send [01:25:21]OFD Sender: No OFD packet to send [01:25:26]OFD Sender: No OFD packet to send [01:25:31]OFD Sender: No OFD packet to send [01:25:36]OFD Sender: No OFD packet to send [01:25:41]OFD Sender: No OFD packet to send [01:25:46]OFD Sender: No OFD packet to send [01:25:51]OFD Sender: No OFD packet to send [01:25:56]OFD Sender: No OFD packet to send [01:26:01]OFD Sender: No OFD packet to send [01:26:06]OFD Sender: No OFD packet to send [01:26:11]OFD Sender: No OFD packet to send [01:26:16]OFD Sender: No OFD packet to send [01:26:21]OFD Sender: No OFD packet to send [01:26:26]OFD Sender: No OFD packet to send [01:26:31]OFD Sender: No OFD packet to send [01:26:36]OFD Sender: No OFD packet to send [01:26:41]OFD Sender: No OFD packet to send [01:26:46]OFD Sender: No OFD packet to send [01:26:51]OFD Sender: No OFD packet to send [01:26:56]OFD Sender: No OFD packet to send [01:27:01]OFD Sender: No OFD packet to send [01:27:06]OFD Sender: No OFD packet to send [01:27:11]OFD Sender: No OFD packet to send [01:27:16]OFD Sender: No OFD packet to send [01:27:21]OFD Sender: No OFD packet to send [01:27:26]OFD Sender: No OFD packet to send [01:27:31]OFD Sender: No OFD packet to send [01:27:36]OFD Sender: No OFD packet to send [01:27:41]OFD Sender: No OFD packet to send [01:27:46]OFD Sender: No OFD packet to send [01:27:51]OFD Sender: No OFD packet to send [01:27:56]OFD Sender: No OFD packet to send [01:28:01]OFD Sender: No OFD packet to send [01:28:06]OFD Sender: No OFD packet to send [01:28:11]OFD Sender: No OFD packet to send [01:28:16]OFD Sender: No OFD packet to send [01:28:21]OFD Sender: No OFD packet to send [01:28:26]OFD Sender: No OFD packet to send [01:28:31]OFD Sender: No OFD packet to send [01:28:36]OFD Sender: No OFD packet to send [01:28:41]OFD Sender: No OFD packet to send [01:28:46]OFD Sender: No OFD packet to send [01:28:51]OFD Sender: No OFD packet to send [01:28:56]OFD Sender: No OFD packet to send [01:29:01]OFD Sender: No OFD packet to send [01:29:06]OFD Sender: No OFD packet to send [01:29:11]OFD Sender: No OFD packet to send [01:29:16]OFD Sender: No OFD packet to send [01:29:21]OFD Sender: No OFD packet to send [01:29:26]OFD Sender: No OFD packet to send [01:29:31]OFD Sender: No OFD packet to send [01:29:36]OFD Sender: No OFD packet to send [01:29:41]OFD Sender: No OFD packet to send [01:29:46]OFD Sender: No OFD packet to send [01:29:51]OFD Sender: No OFD packet to send [01:29:56]OFD Sender: No OFD packet to send [01:30:01]OFD Sender: No OFD packet to send [01:30:06]OFD Sender: No OFD packet to send [01:30:11]OFD Sender: No OFD packet to send [01:30:16]OFD Sender: No OFD packet to send [01:30:21]OFD Sender: No OFD packet to send [01:30:26]OFD Sender: No OFD packet to send [01:30:31]OFD Sender: No OFD packet to send [01:30:36]OFD Sender: No OFD packet to send [01:30:41]OFD Sender: No OFD packet to send [01:30:46]OFD Sender: No OFD packet to send [01:30:51]OFD Sender: No OFD packet to send [01:30:56]OFD Sender: No OFD packet to send [01:31:01]OFD Sender: No OFD packet to send [01:31:06]OFD Sender: No OFD packet to send [01:31:11]OFD Sender: No OFD packet to send [01:31:16]OFD Sender: No OFD packet to send [01:31:21]OFD Sender: No OFD packet to send [01:31:26]OFD Sender: No OFD packet to send [01:31:31]OFD Sender: No OFD packet to send [01:31:36]OFD Sender: No OFD packet to send [01:31:41]OFD Sender: No OFD packet to send [01:31:46]OFD Sender: No OFD packet to send [01:31:51]OFD Sender: No OFD packet to send [01:31:56]OFD Sender: No OFD packet to send [01:32:01]OFD Sender: No OFD packet to send [01:32:06]OFD Sender: No OFD packet to send [01:32:11]OFD Sender: No OFD packet to send [01:32:16]OFD Sender: No OFD packet to send [01:32:21]OFD Sender: No OFD packet to send [01:32:26]OFD Sender: No OFD packet to send [01:32:31]OFD Sender: No OFD packet to send [01:32:36]OFD Sender: No OFD packet to send [01:32:41]OFD Sender: No OFD packet to send [01:32:46]OFD Sender: No OFD packet to send [01:32:51]OFD Sender: No OFD packet to send [01:32:56]OFD Sender: No OFD packet to send [01:33:01]OFD Sender: No OFD packet to send [01:33:06]OFD Sender: No OFD packet to send [01:33:11]OFD Sender: No OFD packet to send [01:33:16]OFD Sender: No OFD packet to send [01:33:21]OFD Sender: No OFD packet to send [01:33:26]OFD Sender: No OFD packet to send [01:33:31]OFD Sender: No OFD packet to send [01:33:36]OFD Sender: No OFD packet to send [01:33:41]OFD Sender: No OFD packet to send [01:33:46]OFD Sender: No OFD packet to send [01:33:51]OFD Sender: No OFD packet to send [01:33:56]OFD Sender: No OFD packet to send [01:34:01]OFD Sender: No OFD packet to send [01:34:06]OFD Sender: No OFD packet to send [01:34:11]OFD Sender: No OFD packet to send [01:34:16]OFD Sender: No OFD packet to send [01:34:21]OFD Sender: No OFD packet to send [01:34:26]OFD Sender: No OFD packet to send [01:34:31]OFD Sender: No OFD packet to send [01:34:36]OFD Sender: No OFD packet to send [01:34:41]OFD Sender: No OFD packet to send [01:34:46]OFD Sender: No OFD packet to send [01:34:51]OFD Sender: No OFD packet to send [01:34:56]OFD Sender: No OFD packet to send [01:35:01]OFD Sender: No OFD packet to send [01:35:06]OFD Sender: No OFD packet to send [01:35:11]OFD Sender: No OFD packet to send [01:35:16]OFD Sender: No OFD packet to send [01:35:21]OFD Sender: No OFD packet to send [01:35:23]accept exits with 9 [01:35:23]New connection [01:35:23]New thread 3066555748 created [01:35:23]Thread 3066699108 joined [01:35:23]Waiting for new connection... [01:35:23] Sock 9.Parse request [01:35:23]Sock 9.Check first char [01:35:23]Sock 9.First char is OK [01:35:23]request: POST /json_proto HTTP/1.0 [01:35:23]Method: POST [01:35:23]URL: /json_proto [01:35:23]Method is POST - this is cgi request [01:35:23]url: /json_proto [01:35:23]query_string will be loaded in cgi processing [01:35:23]execute_cgi json_proto POST (null) [01:35:23]execute_cgi path=json_proto method=POST [01:35:23]POST find Content-Length [01:35:23]Host: 172.17.36.199:8080 [01:35:23]Content-Length: 1079 [01:35:23]Content-Type: application/json [01:35:23] [01:35:23]POST finish read [01:35:23]Found Content-Length = 1079 [01:35:23]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)176444", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 320.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:35:23]execute_script... [01:35: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)176444", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 320.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:35:23]POST & json_proto [01:35:23]process_json_proto [01:35:23]json parsed OK: [01:35:23]protocol is kg_v1.0 [01:35:23]action value=close_receipt [01:35:23]process_action close_receipt [01:35:23]cmd_close_receipt [01:35:23]MH_GetDate [01:35:23]Write to MH i2c: F0 00 00 25 0D 21 [01:35:23]Write i2c OK [01:35:23]MH_I2C_Read... [01:35:23]Read from MH i2c: F0 [01:35:23]MH_I2C_Read... [01:35:23]Read from MH i2c: F0 09 00 [01:35:23]MH_I2C_Read... [01:35:23]Read from MH i2c: F0 09 00 25 0D 00 DD 1D 5D 66 91 46 04 65 27 [01:35:23]GetLastDocTimeStamp 1717376719 [01:35:23]current date 1717378525 [01:35:23]FM_GetShiftState [01:35:23]SAM_PROTO_GetShiftState [01:35:23]wFMCommunicate request_size=4 [01:35:23]MH_SAM_APDU [01:35:23]CAPDU: 80 13 01 00 [01:35:23]Write to MH i2c: E2 08 00 26 0D 80 13 01 00 00 00 00 00 B0 [01:35:23]Write i2c OK [01:35:23]MH_I2C_Read... [01:35:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:35:23]Read from MH i2c: E2 [01:35:23]MH_I2C_Read... [01:35:23]Read from MH i2c: E2 0E 00 [01:35:23]MH_I2C_Read... [01:35:23]Read from MH i2c: E2 0E 00 26 0D 00 09 00 01 49 0B 5D 66 00 00 00 00 90 00 D3 [01:35:23]RAPDU: 09 00 01 49 0B 5D 66 00 00 00 00 90 00 [01:35:23]wFMCommunicate OK [01:35:23]SAM_PROTO_GetShiftState done [01:35:23]FM_GetShiftState done [01:35:23]opened in 1717373769 [01:35:23]opened+sec_in_day 1717460169 [01:35:23]quantity*price = 14000 [01:35:23]sum+1 = 14001 [01:35:23]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 5449000176448 Сок Piko Pulpy апельсин ПЭТ 1л 1.000 * 180.00 = 180.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 320.00 НСП 1% : 2.83 НДС 12% : 33.98 Наличными: 0.00 Безнал.: 320.00 Место: АЗС № 63 "Партнер Нефть" Адрес: 720001, с. Чон Сары Ой, ул. Западная 3, 42.603516, 76.894901 СНО: Общий режим Чек 3 03.06.2024 01:35 Смена: 376 ФФД: 1.0 ЗНМ: 0300000037 РНМ: 0000000000092680 Версия ККМ: 001 Платежная система: Бакай Банк ФМ: 0000000000874882 ФД: 39885 ФПД: 179670701199069 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T013525&type=1&operation_type=1&fn_number=0000000000874882&fd_number=39885&fm=179670701199069&tin=02508201610067®Number=0000000000092680&sum=32000 0 [01:35:24]StoreToDocumentArchive [01:35:24]shift 376 fd 39885 [01:35:24]save to /storage/0376/doc_00039885 [01:35:24]save last doc name /storage/0376/doc_00039885 to /storage/kkm_last_doc_name [01:35:24]save OK [01:35:24]Clear old archive folders... [01:35:24]ProcessDocumentItem done err = 0, tmpTLVsize=392 [01:35:24]tlvbuf is 00BC3680 [01:35:24]SAM_PROTO_ClearQueue [01:35:24]wFMCommunicate request_size=4 [01:35:24]MH_SAM_APDU [01:35:24]CAPDU: 80 09 00 00 [01:35:24]Write to MH i2c: E2 08 00 33 0D 80 09 00 00 00 00 00 00 B2 [01:35:24]Write i2c OK [01:35:24]MH_I2C_Read... [01:35:24]Read from MH i2c: E2 [01:35:24]MH_I2C_Read... [01:35:24]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [01:35:24]Read from MH i2c: E2 03 00 [01:35:24]MH_I2C_Read... [01:35:24]Read from MH i2c: E2 03 00 33 0D 00 90 00 B4 [01:35:24]RAPDU: 90 00 [01:35:24]wFMCommunicate OK [01:35:24]SAM_PROTO_ClearQueue done [01:35:24]KKMCreateOFDPacket [01:35:24]OFDProtocolAddRootSTLVToBuf [01:35:24]FM_MakeSignedData [01:35:24]FM_MakeSignedData [01:35:24]SAM_PROTO_SignData [01:35:24]wFMCommunicate request_size=4 [01:35:24]MH_SAM_APDU [01:35:24]CAPDU: 80 0D 01 02 [01:35:24]Write to MH i2c: E2 08 00 34 0D 80 0D 01 02 00 00 00 00 BA [01:35:24]Write i2c OK [01:35:24]MH_I2C_Read... [01:35:24]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [01:35:24]Read from MH i2c: E2 [01:35:24]MH_I2C_Read... [01:35:24]Read from MH i2c: E2 03 00 [01:35:24]MH_I2C_Read... [01:35:24]Read from MH i2c: E2 03 00 34 0D 00 90 00 B5 [01:35:24]RAPDU: 90 00 [01:35:24]wFMCommunicate OK [01:35:24]wFMCommunicate request_size=255 [01:35:24]MH_SAM_APDU [01:35:24]CAPDU: 80 0D 02 02 FA 03 00 88 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 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 FC 03 06 00 00 7D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 [01:35:24]Write to MH i2c: E2 02 01 35 0D 80 0D 02 02 FA 00 03 00 88 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 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 FC 03 06 00 00 7D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 00 00 8C [01:35:24]Write i2c OK [01:35:24]MH_I2C_Read... [01:35:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:35:24]Read from MH i2c: E2 [01:35:24]MH_I2C_Read... [01:35:24]Read from MH i2c: E2 03 00 [01:35:24]MH_I2C_Read... [01:35:24]Read from MH i2c: E2 03 00 35 0D 00 90 00 B6 [01:35:24]RAPDU: 90 00 [01:35:24]wFMCommunicate OK [01:35:24]wFMCommunicate request_size=151 [01:35:24]MH_SAM_APDU [01:35:24]CAPDU: 80 0D 02 02 92 03 01 00 01 F7 03 06 00 1B 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 46 0D 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 00 7D 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 DD 1D 5D 66 0E 04 04 00 78 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 10 04 04 00 CD 9B 00 00 35 04 06 00 A3 68 D8 52 4E DD [01:35:24]Write to MH i2c: E2 9A 00 36 0D 80 0D 02 02 92 00 03 01 00 01 F7 03 06 00 1B 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 46 0D 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 00 7D 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 DD 1D 5D 66 0E 04 04 00 78 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 10 04 04 00 CD 9B 00 00 35 04 06 00 A3 68 D8 52 4E DD 00 00 05 [01:35:24]Write i2c OK [01:35:24]MH_I2C_Read... [01:35:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:35:25]Read from MH i2c: E2 [01:35:25]MH_I2C_Read... [01:35:25]Read from MH i2c: E2 03 00 [01:35:25]MH_I2C_Read... [01:35:25]Read from MH i2c: E2 03 00 36 0D 00 90 00 B7 [01:35:25]RAPDU: 90 00 [01:35:25]wFMCommunicate OK [01:35:25]wFMCommunicate request_size=4 [01:35:25]MH_SAM_APDU [01:35:25]CAPDU: 80 0D 03 02 [01:35:25]Write to MH i2c: E2 08 00 37 0D 80 0D 03 02 00 00 00 00 BF [01:35:25]Write i2c OK [01:35:25]MH_I2C_Read... [01:35:25]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [01:35:25]Read from MH i2c: E2 [01:35:25]MH_I2C_Read... [01:35:25]Read from MH i2c: E2 0B 00 [01:35:25]MH_I2C_Read... [01:35:25]Read from MH i2c: E2 0B 00 37 0D 00 8A A7 A7 81 51 43 93 58 90 00 98 [01:35:25]RAPDU: 8A A7 A7 81 51 43 93 58 90 00 [01:35:25]wFMCommunicate OK [01:35:25]SAM_PROTO_SignData done [01:35:25]FM_MakeSignedData done [01:35:25]CreateOFDProtocolMessage [01:35:25]wFMCommunicate request_size=4 [01:35:25]MH_SAM_APDU [01:35:25]CAPDU: 80 11 00 00 [01:35:25]Write to MH i2c: E2 08 00 38 0D 80 11 00 00 00 00 00 00 BF [01:35:25]Write i2c OK [01:35:25]MH_I2C_Read... [01:35:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:35:25]Read from MH i2c: E2 [01:35:25]MH_I2C_Read... [01:35:25]Read from MH i2c: E2 17 00 [01:35:25]MH_I2C_Read... [01:35:25]Read from MH i2c: E2 17 00 38 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 90 00 17 [01:35:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 90 00 [01:35:25]wFMCommunicate OK [01:35:25]CreateOFDProtocolMessage done [01:35:25]OFDSenderStorePacket 39885 [01:35:25]StoreOFDPacket docnum=39885 [01:35:25]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 9C 01 00 00 01 DC 94 01 C9 C0 5A 03 01 00 03 00 88 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 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 FC 03 06 00 00 7D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1B 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 46 0D 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 00 7D 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 DD 1D 5D 66 0E 04 04 00 78 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 10 04 04 00 CD 9B 00 00 35 04 06 00 A3 68 D8 52 4E DD 8A A7 A7 81 51 43 93 58 [01:35:25]CheckFolder [01:35:25]dirname=/storage/ofd_packets [01:35:25]CheckFolder done [01:35:25]ProducePacketName [01:35:25]name=ofd_packets/00039885 [01:35:25]NVStorageSaveData ofd_packets/00039885 [01:35:25]File name is /storage/ofd_packets/00039885 [01:35:25]Write 442 bytes [01:35:25]NVStorageSaveData done [01:35:25]OFDSenderStorePacket done [01:35:25]KKMCreateOFDPacket done [01:35:25]NVStorageSaveData kkm_last_timestamp [01:35:25]File name is /storage/kkm_last_timestamp [01:35:25]Write 4 bytes [01:35:25]NVStorageSaveData done [01:35:25]ExternCall_PrintAddStr [01:35:25]wPrintStart [01:35:25]Write to MH i2c: 01 00 00 39 0D 46 [01:35:25]OFD Sender: Processing packet 39885 [packets to send 5, broken 4] [01:35:25]ProducePacketName [01:35:25]name=ofd_packets/00039885 [01:35:25]OFD Sender: To server: pG, [01:35:25]CommunicateWithHost lk.salyk.kg:30040 [01:35:25]ConnectInit lk.salyk.kg [01:35:25]Write i2c OK [01:35:25]MH_I2C_Read... [01:35:25]Read from MH i2c: 01 [01:35:25]MH_I2C_Read... [01:35:25]Read from MH i2c: 01 07 00 [01:35:25]MH_I2C_Read... [01:35:25]Read from MH i2c: 01 07 00 39 0D 00 00 00 00 00 FF 0F 5B [01:35:25]RasterBufferAndPrint [01:35:25]line Счет N : (3)176444 [01:35:25]line ИНН: 02508201610067 [01:35:25]line Контрольно-Кассовый Чек [01:35:25]line ПРОДАЖА [01:35:25]line Товар: 48743587 [01:35:25]line Сигареты Winston XStyle Silver [01:35:25]line 1.000 * 140.00 [01:35:25]line = 140.00 [01:35:25]line НДС 12% НСП 1% [01:35:25]line > о реализуемом товаре [01:35:25]line Товар: 5449000176448 [01:35:25]line Сок Piko Pulpy апельсин ПЭТ 1л [01:35:25]line 1.000 * 180.00 [01:35:25]line = 180.00 [01:35:25]line НДС 12% НСП 1% [01:35:25]line > о реализуемом товаре [01:35:25]line ИТОГО: 320.00 [01:35:25]line НСП 1% : 2.83 [01:35:25]line НДС 12% : 33.98 [01:35:25]line Наличными: 0.00 [01:35:25]line Безнал.: 320.00 [01:35:25]line Место: АЗС № 63 "Партнер Нефть" [01:35:25]line Адрес: 720001, с. Чон Сары Ой, ул. Западная 3, 42.603516, 76.894901 [01:35:25]line СНО: Общий режим [01:35:25]line Чек 3 03.06.2024 01:35 [01:35:25]line Смена: 376 ФФД: 1.0 [01:35:25]line ЗНМ: 0300000037 [01:35:25]line РНМ: 0000000000092680 [01:35:25]line Версия ККМ: 001 [01:35:25]line Платежная система: Бакай Банк [01:35:25]line ФМ: 0000000000874882 [01:35:25]line ФД: 39885 [01:35:25]line ФПД: 179670701199069 [01:35:25]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T013525&type=1&operation_type=1&fn_number=0000000000874882&fd_number=39885&fm=179670701199069&tin=02508201610067®Number=0000000000092680&sum=32000 [01:35:25]line 0 [01:35:25]written 0, free lines is 4095 [01:35:25]Connected sock=10 [01:35: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 38 32 9C 01 00 00 01 DC 94 01 C9 C0 5A 03 01 00 03 00 88 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 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 FC 03 06 00 00 7D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1B 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 46 0D 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 00 7D 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 DD 1D 5D 66 0E 04 04 00 78 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 10 04 04 00 CD 9B 00 00 35 04 06 00 A3 68 D8 52 4E DD 8A A7 A7 81 51 43 93 58 [01:35: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 38 32 4F 00 00 00 35 C6 47 00 97 59 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 10 04 04 00 CD 9B 00 00 F4 03 04 00 8B C6 5C 66 B6 04 01 00 00 6B 5B CC F4 6E 20 8D B4 [01:35:25]CommunicateWithHost err = 0 [01:35:25]CheckOFDResponse [01:35:25]1017 (14) - 77093643461234 [01:35:25]1041 (16) - 0000000000874882 [01:35:25]1040 (4) - 39885 [01:35:25]1012 (4) - 02.06.2024 19:22 [01:35:25]1206 (1) - 0 [01:35:25]OFD Sender: Remove packet 39885 [01:35:25]ProducePacketName [01:35:25]name=ofd_packets/00039885 [01:35:25]NVStorageDeleteData [01:35:26]Write to MH i2c: 01 00 00 6B 0D 78 [01:35:26]Write i2c OK [01:35:26]MH_I2C_Read... [01:35:26]Read from MH i2c: 01 [01:35:26]MH_I2C_Read... [01:35:26]Read from MH i2c: 01 07 00 [01:35:26]MH_I2C_Read... [01:35:26]Read from MH i2c: 01 07 00 6B 0D 00 00 00 00 00 9A 0C 25 [01:35:26]RasterBufferAndPrint [01:35:26]line [01:35:26]line [01:35:26]line [01:35:26]line [01:35:26]line [01:35:26]written 0, free lines is 3235 [01:35:26]MH_Cut [01:35:26]Write to MH i2c: D1 01 00 72 0D 01 51 [01:35:26]Write i2c OK [01:35:26]MH_I2C_Read... [01:35:26]Read from MH i2c: D1 [01:35:26]MH_I2C_Read... [01:35:26]Read from MH i2c: D1 01 00 [01:35:26]MH_I2C_Read... [01:35:26]Read from MH i2c: D1 01 00 72 0D 00 50 [01:35:26]Write to MH i2c: 01 00 00 73 0D 80 [01:35:26]Write i2c OK [01:35:26]MH_I2C_Read... [01:35:26]OFD Sender: No OFD packet to send [01:35:26]*** Cut start [01:35:26]*** Partial cut [01:35:26]*** CUTSNS_PIN = 1 [01:35:26]*** CUTSNS_PIN = 0 [01:35:27]*** Brake cut motor [01:35:27]Read from MH i2c: 01 [01:35:27]MH_I2C_Read... [01:35:27]*** Stop cut motor [01:35:27]*** Cut end [01:35:27]Read from MH i2c: 01 07 00 [01:35:27]MH_I2C_Read... [01:35:27]Read from MH i2c: 01 07 00 73 0D 00 00 00 00 00 FF 0F 95 [01:35:27]process_action close_receipt done [01:35:27]requested_data is exist [01:35:27]produce_requested_data [01:35:27]requested_item fm.sn is exist - process it [01:35:27]wFMCommunicate request_size=4 [01:35:27]MH_SAM_APDU [01:35:27]CAPDU: 80 11 00 00 [01:35:27]Write to MH i2c: E2 08 00 74 0D 80 11 00 00 00 00 00 00 FB [01:35:27]Write i2c OK [01:35:27]MH_I2C_Read... [01:35:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:35:27]Read from MH i2c: E2 [01:35:27]MH_I2C_Read... [01:35:27]Read from MH i2c: E2 17 00 [01:35:27]MH_I2C_Read... [01:35:27]Read from MH i2c: E2 17 00 74 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 90 00 53 [01:35:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 90 00 [01:35:27]wFMCommunicate OK [01:35:27]requested_item fd.num is exist - process it [01:35:27]SAM_PROTO_GetFieldsCounters [01:35:27]wFMCommunicate request_size=4 [01:35:27]MH_SAM_APDU [01:35:27]CAPDU: 80 13 00 00 [01:35:27]Write to MH i2c: E2 08 00 75 0D 80 13 00 00 00 00 00 00 FE [01:35:27]Write i2c OK [01:35:27]MH_I2C_Read... [01:35:27]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:35:27]Read from MH i2c: E2 [01:35:27]MH_I2C_Read... [01:35:27]Read from MH i2c: E2 62 00 [01:35:27]MH_I2C_Read... [01:35:27]Read from MH i2c: E2 62 00 75 0D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 10 04 04 00 CD 9B 00 00 0E 04 04 00 78 01 00 00 12 04 04 00 03 00 00 00 5E 04 04 00 03 00 00 00 57 04 04 00 04 00 00 00 19 04 04 00 00 00 00 00 90 00 0E [01:35: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 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 10 04 04 00 CD 9B 00 00 0E 04 04 00 78 01 00 00 12 04 04 00 03 00 00 00 5E 04 04 00 03 00 00 00 57 04 04 00 04 00 00 00 19 04 04 00 00 00 00 00 90 00 [01:35:27]wFMCommunicate OK [01:35:27]SAM_PROTO_GetFieldsCounters done [01:35:27]requested_item shift.num is exist - process it [01:35:27]requested_item shift.opened is exist - process it [01:35:27]req_shift_opened [01:35:27]FM_GetShiftState [01:35:27]SAM_PROTO_GetShiftState [01:35:27]wFMCommunicate request_size=4 [01:35:27]MH_SAM_APDU [01:35:27]CAPDU: 80 13 01 00 [01:35:27]Write to MH i2c: E2 08 00 76 0D 80 13 01 00 00 00 00 00 00 [01:35:27]Write i2c OK [01:35:27]MH_I2C_Read... [01:35:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:35:27]Read from MH i2c: E2 [01:35:27]MH_I2C_Read... [01:35:27]Read from MH i2c: E2 0E 00 [01:35:27]MH_I2C_Read... [01:35:27]Read from MH i2c: E2 0E 00 76 0D 00 09 00 01 49 0B 5D 66 00 00 00 00 90 00 23 [01:35:27]RAPDU: 09 00 01 49 0B 5D 66 00 00 00 00 90 00 [01:35:27]wFMCommunicate OK [01:35:27]SAM_PROTO_GetShiftState done [01:35:27]FM_GetShiftState done [01:35:27]req_shift_opened done [01:35:27]requested_item shift.open_date is exist - process it [01:35:27]req_shift_open_date [01:35:27]req_shift_open_date done [01:35:27]produce_requested_data done [01:35:27]produce_requested_data return {"fm.sn":"0000000000874882","fd.num":39885,"shift.num":376,"shift.opened":1,"shift.open_date":1717373769} [01:35:27]process_action_free close_receipt [01:35:27]json_value_free [01:35:27]json_value_free done [01:35:27]process_json_proto returns [01:35:27]Send response to host [01:35:27]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874882","fd.num":39885,"shift.num":376,"shift.opened":1,"shift.open_date":1717373769}}} [01:35:27]free response buf [01:35:27]execute_script done [01:35:27]execute_script returns [01:35:27]free content buf [01:35:27]Sock 9.Close socket [01:35:27]Sock 9.Thread stoped [01:35:31]OFD Sender: No OFD packet to send [01:35:36]OFD Sender: No OFD packet to send [01:35:41]OFD Sender: No OFD packet to send [01:35:46]OFD Sender: No OFD packet to send [01:35:51]OFD Sender: No OFD packet to send [01:35:56]OFD Sender: No OFD packet to send [01:35:57]accept exits with 7 [01:35:57]New connection [01:35:57]New thread 3066699108 created [01:35:57]Thread 3066555748 joined [01:35:57]Waiting for new connection... [01:35:57] Sock 7.Parse request [01:35:57]Sock 7.Check first char [01:35:57]Sock 7.First char is OK [01:35:57]request: POST /json_proto HTTP/1.0 [01:35:57]Method: POST [01:35:57]URL: /json_proto [01:35:57]Method is POST - this is cgi request [01:35:57]url: /json_proto [01:35:57]query_string will be loaded in cgi processing [01:35:57]execute_cgi json_proto POST (null) [01:35:57]execute_cgi path=json_proto method=POST [01:35:57]POST find Content-Length [01:35:57]Host: 172.17.36.199:8080 [01:35:57]Content-Length: 838 [01:35:57]Content-Type: application/json [01:35:57] [01:35:57]POST finish read [01:35:57]Found Content-Length = 838 [01:35:57]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)176445", "tax_sys" : 0, "items" : [ { "code": "6931280300549", "name": "\u0417\u0430\u0436\u0438\u0433\u0430\u043B\u043A\u0430 Cricket \u041F\u041D \u043F\u044C\u0435\u0437\u043E", "price" : 67.00, "quantity" : 1.000, "sum" : 67.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 67.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:35:57]execute_script... [01:35: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)176445", "tax_sys" : 0, "items" : [ { "code": "6931280300549", "name": "\u0417\u0430\u0436\u0438\u0433\u0430\u043B\u043A\u0430 Cricket \u041F\u041D \u043F\u044C\u0435\u0437\u043E", "price" : 67.00, "quantity" : 1.000, "sum" : 67.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 67.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:35:57]POST & json_proto [01:35:57]process_json_proto [01:35:57]json parsed OK: [01:35:57]protocol is kg_v1.0 [01:35:57]action value=close_receipt [01:35:57]process_action close_receipt [01:35:57]cmd_close_receipt [01:35:57]MH_GetDate [01:35:57]Write to MH i2c: F0 00 00 77 0D 73 [01:35:57]Write i2c OK [01:35:57]MH_I2C_Read... [01:35:57]Read from MH i2c: F0 [01:35:57]MH_I2C_Read... [01:35:57]Read from MH i2c: F0 09 00 [01:35:57]MH_I2C_Read... [01:35:57]Read from MH i2c: F0 09 00 77 0D 00 FF 1D 5D 66 91 46 04 65 9B [01:35:57]GetLastDocTimeStamp 1717378525 [01:35:57]current date 1717378559 [01:35:57]FM_GetShiftState [01:35:57]SAM_PROTO_GetShiftState [01:35:57]wFMCommunicate request_size=4 [01:35:57]MH_SAM_APDU [01:35:57]CAPDU: 80 13 01 00 [01:35:57]Write to MH i2c: E2 08 00 78 0D 80 13 01 00 00 00 00 00 02 [01:35:57]Write i2c OK [01:35:57]MH_I2C_Read... [01:35:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:35:57]Read from MH i2c: E2 [01:35:57]MH_I2C_Read... [01:35:57]Read from MH i2c: E2 0E 00 [01:35:57]MH_I2C_Read... [01:35:57]Read from MH i2c: E2 0E 00 78 0D 00 09 00 01 49 0B 5D 66 00 00 00 00 90 00 25 [01:35:57]RAPDU: 09 00 01 49 0B 5D 66 00 00 00 00 90 00 [01:35:57]wFMCommunicate OK [01:35:57]SAM_PROTO_GetShiftState done [01:35:57]FM_GetShiftState done [01:35:57]opened in 1717373769 [01:35:57]opened+sec_in_day 1717460169 [01:35:57]quantity*price = 6700 [01:35:57]sum+1 = 6701 [01:35:57]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 67.00 НСП 1% : 0.59 НДС 12% : 7.11 Наличными: 0.00 Безнал.: 67.00 Место: АЗС № 63 "Партнер Нефть" Адрес: 720001, с. Чон Сары Ой, ул. Западная 3, 42.603516, 76.894901 СНО: Общий режим Чек 4 03.06.2024 01:35 Смена: 376 ФФД: 1.0 ЗНМ: 0300000037 РНМ: 0000000000092680 Версия ККМ: 001 Платежная система: Бакай Банк ФМ: 0000000000874882 ФД: 39886 ФПД: 121439924495564 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T013559&type=1&operation_type=1&fn_number=0000000000874882&fd_number=39886&fm=121439924495564&tin=02508201610067®Number=0000000000092680&sum=6700 0 [01:35:58]StoreToDocumentArchive [01:35:58]shift 376 fd 39886 [01:35:58]save to /storage/0376/doc_00039886 [01:35:58]save last doc name /storage/0376/doc_00039886 to /storage/kkm_last_doc_name [01:35:58]save OK [01:35:58]Clear old archive folders... [01:35:58]ProcessDocumentItem done err = 0, tmpTLVsize=284 [01:35:58]tlvbuf is 00AEEA10 [01:35:58]SAM_PROTO_ClearQueue [01:35:58]wFMCommunicate request_size=4 [01:35:58]MH_SAM_APDU [01:35:58]CAPDU: 80 09 00 00 [01:35:58]Write to MH i2c: E2 08 00 85 0D 80 09 00 00 00 00 00 00 04 [01:35:58]Write i2c OK [01:35:58]MH_I2C_Read... [01:35:58]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [01:35:58]Read from MH i2c: E2 [01:35:58]MH_I2C_Read... [01:35:58]Read from MH i2c: E2 03 00 [01:35:58]MH_I2C_Read... [01:35:58]Read from MH i2c: E2 03 00 85 0D 00 90 00 06 [01:35:58]RAPDU: 90 00 [01:35:58]wFMCommunicate OK [01:35:58]SAM_PROTO_ClearQueue done [01:35:58]KKMCreateOFDPacket [01:35:58]OFDProtocolAddRootSTLVToBuf [01:35:58]FM_MakeSignedData [01:35:58]FM_MakeSignedData [01:35:58]SAM_PROTO_SignData [01:35:58]wFMCommunicate request_size=4 [01:35:58]MH_SAM_APDU [01:35:58]CAPDU: 80 0D 01 02 [01:35:58]Write to MH i2c: E2 08 00 86 0D 80 0D 01 02 00 00 00 00 0C [01:35:58]Write i2c OK [01:35:58]MH_I2C_Read... [01:35:58]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [01:35:58]Read from MH i2c: E2 [01:35:58]MH_I2C_Read... [01:35:58]Read from MH i2c: E2 03 00 [01:35:58]MH_I2C_Read... [01:35:58]Read from MH i2c: E2 03 00 86 0D 00 90 00 07 [01:35:58]RAPDU: 90 00 [01:35:58]wFMCommunicate OK [01:35:58]wFMCommunicate request_size=255 [01:35:58]MH_SAM_APDU [01:35:58]CAPDU: 80 0D 02 02 FA 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 36 39 33 31 32 38 30 33 30 30 35 34 39 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 1A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C7 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 2C 1A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 FF 1D 5D 66 0E 04 04 00 78 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 [01:35:58]Write to MH i2c: E2 02 01 87 0D 80 0D 02 02 FA 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 36 39 33 31 32 38 30 33 30 30 35 34 39 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 1A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C7 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 2C 1A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 FF 1D 5D 66 0E 04 04 00 78 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 00 00 89 [01:35:58]Write i2c OK [01:35:58]MH_I2C_Read... [01:35:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:35:58]Read from MH i2c: E2 [01:35:58]MH_I2C_Read... [01:35:58]Read from MH i2c: E2 03 00 [01:35:58]MH_I2C_Read... [01:35:58]Read from MH i2c: E2 03 00 87 0D 00 90 00 08 [01:35:58]RAPDU: 90 00 [01:35:58]wFMCommunicate OK [01:35:58]wFMCommunicate request_size=43 [01:35:58]MH_SAM_APDU [01:35:58]CAPDU: 80 0D 02 02 26 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 10 04 04 00 CE 9B 00 00 35 04 06 00 6E 72 EF 8F A4 CC [01:35:58]Write to MH i2c: E2 2E 00 88 0D 80 0D 02 02 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 10 04 04 00 CE 9B 00 00 35 04 06 00 6E 72 EF 8F A4 CC 00 00 33 [01:35:58]Write i2c OK [01:35:58]MH_I2C_Read... [01:35:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:35:58]Read from MH i2c: E2 [01:35:58]MH_I2C_Read... [01:35:58]Read from MH i2c: E2 03 00 [01:35:58]MH_I2C_Read... [01:35:58]Read from MH i2c: E2 03 00 88 0D 00 90 00 09 [01:35:58]RAPDU: 90 00 [01:35:58]wFMCommunicate OK [01:35:58]wFMCommunicate request_size=4 [01:35:58]MH_SAM_APDU [01:35:58]CAPDU: 80 0D 03 02 [01:35:58]Write to MH i2c: E2 08 00 89 0D 80 0D 03 02 00 00 00 00 11 [01:35:58]Write i2c OK [01:35:58]MH_I2C_Read... [01:35:58]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [01:35:58]Read from MH i2c: E2 [01:35:58]MH_I2C_Read... [01:35:58]Read from MH i2c: E2 0B 00 [01:35:58]MH_I2C_Read... [01:35:58]Read from MH i2c: E2 0B 00 89 0D 00 D6 84 3E 43 88 FF 5D ED 90 00 BE [01:35:58]RAPDU: D6 84 3E 43 88 FF 5D ED 90 00 [01:35:58]wFMCommunicate OK [01:35:58]SAM_PROTO_SignData done [01:35:58]FM_MakeSignedData done [01:35:58]CreateOFDProtocolMessage [01:35:58]wFMCommunicate request_size=4 [01:35:58]MH_SAM_APDU [01:35:58]CAPDU: 80 11 00 00 [01:35:58]Write to MH i2c: E2 08 00 8A 0D 80 11 00 00 00 00 00 00 11 [01:35:58]Write i2c OK [01:35:58]MH_I2C_Read... [01:35:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:35:58]Read from MH i2c: E2 [01:35:58]MH_I2C_Read... [01:35:58]Read from MH i2c: E2 17 00 [01:35:58]MH_I2C_Read... [01:35:58]Read from MH i2c: E2 17 00 8A 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 90 00 69 [01:35:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 90 00 [01:35:58]wFMCommunicate OK [01:35:58]CreateOFDProtocolMessage done [01:35:58]OFDSenderStorePacket 39886 [01:35:58]StoreOFDPacket docnum=39886 [01:35:58]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 30 01 00 00 72 B2 28 01 5D 12 5A 03 01 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 36 39 33 31 32 38 30 33 30 30 35 34 39 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 1A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C7 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 2C 1A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 FF 1D 5D 66 0E 04 04 00 78 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 10 04 04 00 CE 9B 00 00 35 04 06 00 6E 72 EF 8F A4 CC D6 84 3E 43 88 FF 5D ED [01:35:58]CheckFolder [01:35:58]dirname=/storage/ofd_packets [01:35:58]CheckFolder done [01:35:58]ProducePacketName [01:35:58]name=ofd_packets/00039886 [01:35:58]NVStorageSaveData ofd_packets/00039886 [01:35:58]File name is /storage/ofd_packets/00039886 [01:35:58]Write 334 bytes [01:35:58]NVStorageSaveData done [01:35:58]OFDSenderStorePacket done [01:35:58]KKMCreateOFDPacket done [01:35:58]NVStorageSaveData kkm_last_timestamp [01:35:58]File name is /storage/kkm_last_timestamp [01:35:58]Write 4 bytes [01:35:58]NVStorageSaveData done [01:35:58]ExternCall_PrintAddStr [01:35:58]wPrintStart [01:35:58]Write to MH i2c: 01 00 00 8B 0D 98 [01:35:58]Write i2c OK [01:35:58]MH_I2C_Read... [01:35:58]Read from MH i2c: 01 [01:35:58]MH_I2C_Read... [01:35:58]Read from MH i2c: 01 07 00 [01:35:58]MH_I2C_Read... [01:35:58]Read from MH i2c: 01 07 00 8B 0D 00 00 00 00 00 FF 0F AD [01:35:58]RasterBufferAndPrint [01:35:58]line Счет N : (3)176445 [01:35:58]line ИНН: 02508201610067 [01:35:58]line Контрольно-Кассовый Чек [01:35:58]line ПРОДАЖА [01:35:58]line Товар: 6931280300549 [01:35:58]line Зажигалка Cricket ПН пьезо [01:35:58]line 1.000 * 67.00 [01:35:58]line = 67.00 [01:35:58]line НДС 12% НСП 1% [01:35:58]line > о реализуемом товаре [01:35:58]line ИТОГО: 67.00 [01:35:58]line НСП 1% : 0.59 [01:35:58]line НДС 12% : 7.11 [01:35:58]line Наличными: 0.00 [01:35:58]line Безнал.: 67.00 [01:35:58]line Место: АЗС № 63 "Партнер Нефть" [01:35:58]line Адрес: 720001, с. Чон Сары Ой, ул. Западная 3, 42.603516, 76.894901 [01:35:58]line СНО: Общий режим [01:35:58]line Чек 4 03.06.2024 01:35 [01:35:58]line Смена: 376 ФФД: 1.0 [01:35:58]line ЗНМ: 0300000037 [01:35:58]line РНМ: 0000000000092680 [01:35:58]line Версия ККМ: 001 [01:35:58]line Платежная система: Бакай Банк [01:35:58]line ФМ: 0000000000874882 [01:35:58]line ФД: 39886 [01:35:58]line ФПД: 121439924495564 [01:35:59]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T013559&type=1&operation_type=1&fn_number=0000000000874882&fd_number=39886&fm=121439924495564&tin=02508201610067®Number=0000000000092680&sum=6700 [01:35:59]line 0 [01:35:59]OFD Sender: Processing packet 39886 [packets to send 5, broken 4] [01:35:59]ProducePacketName [01:35:59]name=ofd_packets/00039886 [01:35:59]OFD Sender: To server: pG, [01:35:59]CommunicateWithHost lk.salyk.kg:30040 [01:35:59]ConnectInit lk.salyk.kg [01:35:59]written 0, free lines is 4095 [01:35:59]Connected sock=10 [01:35: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 38 32 30 01 00 00 72 B2 28 01 5D 12 5A 03 01 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 36 39 33 31 32 38 30 33 30 30 35 34 39 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 1A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C7 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 2C 1A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 FF 1D 5D 66 0E 04 04 00 78 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 10 04 04 00 CE 9B 00 00 35 04 06 00 6E 72 EF 8F A4 CC D6 84 3E 43 88 FF 5D ED [01:35: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 38 32 4F 00 00 00 CE E6 47 00 40 F0 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 10 04 04 00 CE 9B 00 00 F4 03 04 00 AC C6 5C 66 B6 04 01 00 00 E6 F4 45 8D 4D DC 3B E7 [01:35:59]CommunicateWithHost err = 0 [01:35:59]CheckOFDResponse [01:35:59]1017 (14) - 77093643461234 [01:35:59]1041 (16) - 0000000000874882 [01:35:59]1040 (4) - 39886 [01:35:59]1012 (4) - 02.06.2024 19:23 [01:35:59]1206 (1) - 0 [01:35:59]OFD Sender: Remove packet 39886 [01:35:59]ProducePacketName [01:35:59]name=ofd_packets/00039886 [01:35:59]NVStorageDeleteData [01:35:59]Write to MH i2c: 01 00 00 B5 0D C2 [01:35:59]Write i2c OK [01:35:59]MH_I2C_Read... [01:35:59]Read from MH i2c: 01 [01:35:59]MH_I2C_Read... [01:35:59]Read from MH i2c: 01 07 00 [01:35:59]MH_I2C_Read... [01:35:59]Read from MH i2c: 01 07 00 B5 0D 00 00 00 00 00 03 0D D9 [01:35:59]RasterBufferAndPrint [01:35:59]line [01:35:59]line [01:35:59]line [01:35:59]line [01:35:59]line [01:35:59]written 0, free lines is 3337 [01:35:59]MH_Cut [01:35:59]Write to MH i2c: D1 01 00 BC 0D 01 9B [01:35:59]Write i2c OK [01:35:59]MH_I2C_Read... [01:35:59]Read from MH i2c: D1 [01:35:59]MH_I2C_Read... [01:35:59]Read from MH i2c: D1 01 00 [01:35:59]MH_I2C_Read... [01:35:59]Read from MH i2c: D1 01 00 BC 0D 00 9A [01:35:59]Write to MH i2c: 01 00 00 BD 0D CA [01:35:59]Write i2c OK [01:35:59]MH_I2C_Read... [01:36:00]OFD Sender: No OFD packet to send [01:36:00]*** Cut start [01:36:00]*** Partial cut [01:36:00]*** CUTSNS_PIN = 1 [01:36:00]*** CUTSNS_PIN = 0 [01:36:00]*** Brake cut motor [01:36:00]Read from MH i2c: 01 [01:36:00]MH_I2C_Read... [01:36:00]*** Stop cut motor [01:36:00]*** Cut end [01:36:00]Read from MH i2c: 01 07 00 [01:36:00]MH_I2C_Read... [01:36:00]Read from MH i2c: 01 07 00 BD 0D 00 00 00 00 00 FF 0F DF [01:36:00]process_action close_receipt done [01:36:00]requested_data is exist [01:36:00]produce_requested_data [01:36:00]requested_item fm.sn is exist - process it [01:36:00]wFMCommunicate request_size=4 [01:36:00]MH_SAM_APDU [01:36:00]CAPDU: 80 11 00 00 [01:36:00]Write to MH i2c: E2 08 00 BE 0D 80 11 00 00 00 00 00 00 45 [01:36:00]Write i2c OK [01:36:00]MH_I2C_Read... [01:36:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:36:01]Read from MH i2c: E2 [01:36:01]MH_I2C_Read... [01:36:01]Read from MH i2c: E2 17 00 [01:36:01]MH_I2C_Read... [01:36:01]Read from MH i2c: E2 17 00 BE 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 90 00 9D [01:36:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 90 00 [01:36:01]wFMCommunicate OK [01:36:01]requested_item fd.num is exist - process it [01:36:01]SAM_PROTO_GetFieldsCounters [01:36:01]wFMCommunicate request_size=4 [01:36:01]MH_SAM_APDU [01:36:01]CAPDU: 80 13 00 00 [01:36:01]Write to MH i2c: E2 08 00 BF 0D 80 13 00 00 00 00 00 00 48 [01:36:01]Write i2c OK [01:36:01]MH_I2C_Read... [01:36:01]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:36:01]Read from MH i2c: E2 [01:36:01]MH_I2C_Read... [01:36:01]Read from MH i2c: E2 62 00 [01:36:01]MH_I2C_Read... [01:36:01]Read from MH i2c: E2 62 00 BF 0D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 10 04 04 00 CE 9B 00 00 0E 04 04 00 78 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 5C [01:36: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 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 10 04 04 00 CE 9B 00 00 0E 04 04 00 78 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 [01:36:01]wFMCommunicate OK [01:36:01]SAM_PROTO_GetFieldsCounters done [01:36:01]requested_item shift.num is exist - process it [01:36:01]requested_item shift.opened is exist - process it [01:36:01]req_shift_opened [01:36:01]FM_GetShiftState [01:36:01]SAM_PROTO_GetShiftState [01:36:01]wFMCommunicate request_size=4 [01:36:01]MH_SAM_APDU [01:36:01]CAPDU: 80 13 01 00 [01:36:01]Write to MH i2c: E2 08 00 C0 0D 80 13 01 00 00 00 00 00 4A [01:36:01]Write i2c OK [01:36:01]MH_I2C_Read... [01:36:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:36:01]Read from MH i2c: E2 [01:36:01]MH_I2C_Read... [01:36:01]Read from MH i2c: E2 0E 00 [01:36:01]MH_I2C_Read... [01:36:01]Read from MH i2c: E2 0E 00 C0 0D 00 09 00 01 49 0B 5D 66 00 00 00 00 90 00 6D [01:36:01]RAPDU: 09 00 01 49 0B 5D 66 00 00 00 00 90 00 [01:36:01]wFMCommunicate OK [01:36:01]SAM_PROTO_GetShiftState done [01:36:01]FM_GetShiftState done [01:36:01]req_shift_opened done [01:36:01]requested_item shift.open_date is exist - process it [01:36:01]req_shift_open_date [01:36:01]req_shift_open_date done [01:36:01]produce_requested_data done [01:36:01]produce_requested_data return {"fm.sn":"0000000000874882","fd.num":39886,"shift.num":376,"shift.opened":1,"shift.open_date":1717373769} [01:36:01]process_action_free close_receipt [01:36:01]json_value_free [01:36:01]json_value_free done [01:36:01]process_json_proto returns [01:36:01]Send response to host [01:36:01]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874882","fd.num":39886,"shift.num":376,"shift.opened":1,"shift.open_date":1717373769}}} [01:36:01]free response buf [01:36:01]execute_script done [01:36:01]execute_script returns [01:36:01]free content buf [01:36:01]Sock 7.Close socket [01:36:01]Sock 7.Thread stoped [01:36:05]OFD Sender: No OFD packet to send [01:36:10]OFD Sender: No OFD packet to send [01:36:15]OFD Sender: No OFD packet to send [01:36:20]OFD Sender: No OFD packet to send [01:36:25]OFD Sender: No OFD packet to send [01:36:30]OFD Sender: No OFD packet to send [01:36:35]OFD Sender: No OFD packet to send [01:36:40]OFD Sender: No OFD packet to send [01:36:45]OFD Sender: No OFD packet to send [01:36:50]OFD Sender: No OFD packet to send [01:36:55]OFD Sender: No OFD packet to send [01:37:00]OFD Sender: No OFD packet to send [01:37:05]OFD Sender: No OFD packet to send [01:37:10]OFD Sender: No OFD packet to send [01:37:15]OFD Sender: No OFD packet to send [01:37:20]OFD Sender: No OFD packet to send [01:37:25]OFD Sender: No OFD packet to send [01:37:30]OFD Sender: No OFD packet to send [01:37:35]OFD Sender: No OFD packet to send [01:37:40]OFD Sender: No OFD packet to send [01:37:45]OFD Sender: No OFD packet to send [01:37:50]OFD Sender: No OFD packet to send [01:37:55]OFD Sender: No OFD packet to send [01:38:00]OFD Sender: No OFD packet to send [01:38:05]OFD Sender: No OFD packet to send [01:38:10]OFD Sender: No OFD packet to send [01:38:15]OFD Sender: No OFD packet to send [01:38:20]OFD Sender: No OFD packet to send [01:38:25]OFD Sender: No OFD packet to send [01:38:30]OFD Sender: No OFD packet to send [01:38:35]OFD Sender: No OFD packet to send [01:38:40]OFD Sender: No OFD packet to send [01:38:45]OFD Sender: No OFD packet to send [01:38:50]OFD Sender: No OFD packet to send [01:38:55]OFD Sender: No OFD packet to send [01:39:00]OFD Sender: No OFD packet to send [01:39:05]OFD Sender: No OFD packet to send [01:39:10]OFD Sender: No OFD packet to send [01:39:15]OFD Sender: No OFD packet to send [01:39:20]OFD Sender: No OFD packet to send [01:39:25]OFD Sender: No OFD packet to send [01:39:30]OFD Sender: No OFD packet to send [01:39:35]OFD Sender: No OFD packet to send [01:39:40]OFD Sender: No OFD packet to send [01:39:45]OFD Sender: No OFD packet to send [01:39:50]OFD Sender: No OFD packet to send [01:39:55]OFD Sender: No OFD packet to send [01:40:00]OFD Sender: No OFD packet to send [01:40:05]OFD Sender: No OFD packet to send [01:40:10]OFD Sender: No OFD packet to send [01:40:15]OFD Sender: No OFD packet to send [01:40:20]OFD Sender: No OFD packet to send [01:40:25]OFD Sender: No OFD packet to send [01:40:30]OFD Sender: No OFD packet to send [01:40:35]OFD Sender: No OFD packet to send [01:40:40]OFD Sender: No OFD packet to send [01:40:45]OFD Sender: No OFD packet to send [01:40:50]OFD Sender: No OFD packet to send [01:40:55]OFD Sender: No OFD packet to send [01:41:00]OFD Sender: No OFD packet to send [01:41:05]OFD Sender: No OFD packet to send [01:41:10]OFD Sender: No OFD packet to send [01:41:15]OFD Sender: No OFD packet to send [01:41:20]OFD Sender: No OFD packet to send [01:41:25]OFD Sender: No OFD packet to send [01:41:30]OFD Sender: No OFD packet to send [01:41:35]OFD Sender: No OFD packet to send [01:41:40]OFD Sender: No OFD packet to send [01:41:45]OFD Sender: No OFD packet to send [01:41:50]OFD Sender: No OFD packet to send [01:41:55]OFD Sender: No OFD packet to send [01:42:00]OFD Sender: No OFD packet to send [01:42:05]OFD Sender: No OFD packet to send [01:42:10]OFD Sender: No OFD packet to send [01:42:15]OFD Sender: No OFD packet to send [01:42:20]OFD Sender: No OFD packet to send [01:42:25]OFD Sender: No OFD packet to send [01:42:30]OFD Sender: No OFD packet to send [01:42:35]OFD Sender: No OFD packet to send [01:42:40]OFD Sender: No OFD packet to send [01:42:45]OFD Sender: No OFD packet to send [01:42:50]OFD Sender: No OFD packet to send [01:42:55]OFD Sender: No OFD packet to send [01:43:00]OFD Sender: No OFD packet to send [01:43:05]OFD Sender: No OFD packet to send [01:43:10]OFD Sender: No OFD packet to send [01:43:15]OFD Sender: No OFD packet to send [01:43:20]OFD Sender: No OFD packet to send [01:43:25]OFD Sender: No OFD packet to send [01:43:30]OFD Sender: No OFD packet to send [01:43:35]OFD Sender: No OFD packet to send [01:43:40]OFD Sender: No OFD packet to send [01:43:45]OFD Sender: No OFD packet to send [01:43:50]OFD Sender: No OFD packet to send [01:43:55]OFD Sender: No OFD packet to send [01:44:00]OFD Sender: No OFD packet to send [01:44:05]OFD Sender: No OFD packet to send [01:44:10]OFD Sender: No OFD packet to send [01:44:15]OFD Sender: No OFD packet to send [01:44:20]OFD Sender: No OFD packet to send [01:44:25]OFD Sender: No OFD packet to send [01:44:30]OFD Sender: No OFD packet to send [01:44:35]OFD Sender: No OFD packet to send [01:44:40]OFD Sender: No OFD packet to send [01:44:45]OFD Sender: No OFD packet to send [01:44:50]OFD Sender: No OFD packet to send [01:44:55]OFD Sender: No OFD packet to send [01:45:00]OFD Sender: No OFD packet to send [01:45:05]OFD Sender: No OFD packet to send [01:45:10]OFD Sender: No OFD packet to send [01:45:15]OFD Sender: No OFD packet to send [01:45:20]OFD Sender: No OFD packet to send [01:45:25]OFD Sender: No OFD packet to send [01:45:30]OFD Sender: No OFD packet to send [01:45:35]OFD Sender: No OFD packet to send [01:45:40]OFD Sender: No OFD packet to send [01:45:45]OFD Sender: No OFD packet to send [01:45:50]OFD Sender: No OFD packet to send [01:45:55]OFD Sender: No OFD packet to send [01:46:00]OFD Sender: No OFD packet to send [01:46:05]OFD Sender: No OFD packet to send [01:46:10]OFD Sender: No OFD packet to send [01:46:15]OFD Sender: No OFD packet to send [01:46:20]OFD Sender: No OFD packet to send [01:46:25]OFD Sender: No OFD packet to send [01:46:30]OFD Sender: No OFD packet to send [01:46:35]OFD Sender: No OFD packet to send [01:46:40]OFD Sender: No OFD packet to send [01:46:45]OFD Sender: No OFD packet to send [01:46:50]OFD Sender: No OFD packet to send [01:46:55]OFD Sender: No OFD packet to send [01:47:00]OFD Sender: No OFD packet to send [01:47:05]OFD Sender: No OFD packet to send [01:47:10]OFD Sender: No OFD packet to send [01:47:15]OFD Sender: No OFD packet to send [01:47:20]OFD Sender: No OFD packet to send [01:47:25]OFD Sender: No OFD packet to send [01:47:30]OFD Sender: No OFD packet to send [01:47:35]OFD Sender: No OFD packet to send [01:47:40]OFD Sender: No OFD packet to send [01:47:45]OFD Sender: No OFD packet to send [01:47:50]OFD Sender: No OFD packet to send [01:47:55]OFD Sender: No OFD packet to send [01:48:00]OFD Sender: No OFD packet to send [01:48:05]OFD Sender: No OFD packet to send [01:48:10]OFD Sender: No OFD packet to send [01:48:15]OFD Sender: No OFD packet to send [01:48:20]OFD Sender: No OFD packet to send [01:48:25]OFD Sender: No OFD packet to send [01:48:30]OFD Sender: No OFD packet to send [01:48:35]OFD Sender: No OFD packet to send [01:48:40]OFD Sender: No OFD packet to send [01:48:45]OFD Sender: No OFD packet to send [01:48:50]OFD Sender: No OFD packet to send [01:48:55]OFD Sender: No OFD packet to send [01:49:00]OFD Sender: No OFD packet to send [01:49:05]OFD Sender: No OFD packet to send [01:49:10]OFD Sender: No OFD packet to send [01:49:15]OFD Sender: No OFD packet to send [01:49:20]OFD Sender: No OFD packet to send [01:49:25]OFD Sender: No OFD packet to send [01:49:30]OFD Sender: No OFD packet to send [01:49:35]OFD Sender: No OFD packet to send [01:49:40]OFD Sender: No OFD packet to send [01:49:45]OFD Sender: No OFD packet to send [01:49:50]OFD Sender: No OFD packet to send [01:49:55]OFD Sender: No OFD packet to send [01:50:00]OFD Sender: No OFD packet to send [01:50:05]OFD Sender: No OFD packet to send [01:50:10]OFD Sender: No OFD packet to send [01:50:15]OFD Sender: No OFD packet to send [01:50:20]OFD Sender: No OFD packet to send [01:50:25]OFD Sender: No OFD packet to send [01:50:30]OFD Sender: No OFD packet to send [01:50:35]OFD Sender: No OFD packet to send [01:50:40]OFD Sender: No OFD packet to send [01:50:45]OFD Sender: No OFD packet to send [01:50:50]OFD Sender: No OFD packet to send [01:50:55]OFD Sender: No OFD packet to send [01:51:00]OFD Sender: No OFD packet to send [01:51:05]OFD Sender: No OFD packet to send [01:51:10]OFD Sender: No OFD packet to send [01:51:15]OFD Sender: No OFD packet to send [01:51:20]OFD Sender: No OFD packet to send [01:51:25]OFD Sender: No OFD packet to send [01:51:30]OFD Sender: No OFD packet to send [01:51:35]OFD Sender: No OFD packet to send [01:51:40]OFD Sender: No OFD packet to send [01:51:45]OFD Sender: No OFD packet to send [01:51:50]OFD Sender: No OFD packet to send [01:51:55]OFD Sender: No OFD packet to send [01:52:00]OFD Sender: No OFD packet to send [01:52:05]OFD Sender: No OFD packet to send [01:52:10]OFD Sender: No OFD packet to send [01:52:15]OFD Sender: No OFD packet to send [01:52:20]OFD Sender: No OFD packet to send [01:52:25]OFD Sender: No OFD packet to send [01:52:30]OFD Sender: No OFD packet to send [01:52:35]OFD Sender: No OFD packet to send [01:52:40]OFD Sender: No OFD packet to send [01:52:45]OFD Sender: No OFD packet to send [01:52:50]OFD Sender: No OFD packet to send [01:52:55]OFD Sender: No OFD packet to send [01:53:00]OFD Sender: No OFD packet to send [01:53:05]OFD Sender: No OFD packet to send [01:53:10]OFD Sender: No OFD packet to send [01:53:15]OFD Sender: No OFD packet to send [01:53:20]OFD Sender: No OFD packet to send [01:53:25]OFD Sender: No OFD packet to send [01:53:30]OFD Sender: No OFD packet to send [01:53:35]OFD Sender: No OFD packet to send [01:53:40]OFD Sender: No OFD packet to send [01:53:45]OFD Sender: No OFD packet to send [01:53:50]OFD Sender: No OFD packet to send [01:53:55]OFD Sender: No OFD packet to send [01:54:00]OFD Sender: No OFD packet to send [01:54:05]OFD Sender: No OFD packet to send [01:54:10]OFD Sender: No OFD packet to send [01:54:15]OFD Sender: No OFD packet to send [01:54:20]OFD Sender: No OFD packet to send [01:54:25]OFD Sender: No OFD packet to send [01:54:30]OFD Sender: No OFD packet to send [01:54:35]OFD Sender: No OFD packet to send [01:54:40]OFD Sender: No OFD packet to send [01:54:45]OFD Sender: No OFD packet to send [01:54:50]OFD Sender: No OFD packet to send [01:54:55]OFD Sender: No OFD packet to send [01:55:00]OFD Sender: No OFD packet to send [01:55:05]OFD Sender: No OFD packet to send [01:55:10]OFD Sender: No OFD packet to send [01:55:15]OFD Sender: No OFD packet to send [01:55:20]OFD Sender: No OFD packet to send [01:55:25]OFD Sender: No OFD packet to send [01:55:30]OFD Sender: No OFD packet to send [01:55:35]OFD Sender: No OFD packet to send [01:55:40]OFD Sender: No OFD packet to send [01:55:45]OFD Sender: No OFD packet to send [01:55:50]OFD Sender: No OFD packet to send [01:55:55]OFD Sender: No OFD packet to send [01:56:00]OFD Sender: No OFD packet to send [01:56:05]OFD Sender: No OFD packet to send [01:56:10]OFD Sender: No OFD packet to send [01:56:15]OFD Sender: No OFD packet to send [01:56:20]OFD Sender: No OFD packet to send [01:56:25]OFD Sender: No OFD packet to send [01:56:30]OFD Sender: No OFD packet to send [01:56:35]OFD Sender: No OFD packet to send [01:56:40]OFD Sender: No OFD packet to send [01:56:45]OFD Sender: No OFD packet to send [01:56:50]OFD Sender: No OFD packet to send [01:56:55]OFD Sender: No OFD packet to send [01:57:00]OFD Sender: No OFD packet to send [01:57:05]OFD Sender: No OFD packet to send [01:57:11]OFD Sender: No OFD packet to send [02:00:05]ConnectInit Can't connect to host [02:00:07]OFD Sender: No OFD packet to send [02:00:12]OFD Sender: No OFD packet to send [02:00:17]OFD Sender: No OFD packet to send [02:00:22]OFD Sender: No OFD packet to send [02:00:27]OFD Sender: No OFD packet to send [02:00:32]OFD Sender: No OFD packet to send [02:00:37]OFD Sender: No OFD packet to send [02:00:42]OFD Sender: No OFD packet to send [02:00:47]OFD Sender: No OFD packet to send [02:00:52]OFD Sender: No OFD packet to send [02:00:57]OFD Sender: No OFD packet to send [02:01:02]OFD Sender: No OFD packet to send [02:01:07]OFD Sender: No OFD packet to send [02:01:12]OFD Sender: No OFD packet to send [02:01:17]OFD Sender: No OFD packet to send [02:01:22]OFD Sender: No OFD packet to send [02:01:27]OFD Sender: No OFD packet to send [02:01:32]OFD Sender: No OFD packet to send [02:01:37]OFD Sender: No OFD packet to send [02:01:42]OFD Sender: No OFD packet to send [02:01:47]OFD Sender: No OFD packet to send [02:01:52]OFD Sender: No OFD packet to send [02:01:57]OFD Sender: No OFD packet to send [02:02:02]OFD Sender: No OFD packet to send [02:02:07]OFD Sender: No OFD packet to send [02:02:12]OFD Sender: No OFD packet to send [02:02:17]OFD Sender: No OFD packet to send [02:02:22]OFD Sender: No OFD packet to send [02:02:27]OFD Sender: No OFD packet to send [02:02:32]OFD Sender: No OFD packet to send [02:02:37]OFD Sender: No OFD packet to send [02:02:42]OFD Sender: No OFD packet to send [02:02:47]OFD Sender: No OFD packet to send [02:02:52]OFD Sender: No OFD packet to send [02:02:57]OFD Sender: No OFD packet to send [02:03:02]OFD Sender: No OFD packet to send [02:03:07]OFD Sender: No OFD packet to send [02:03:12]OFD Sender: No OFD packet to send [02:03:17]OFD Sender: No OFD packet to send [02:03:22]OFD Sender: No OFD packet to send [02:03:27]OFD Sender: No OFD packet to send [02:03:32]OFD Sender: No OFD packet to send [02:03:37]OFD Sender: No OFD packet to send [02:03:42]OFD Sender: No OFD packet to send [02:03:47]OFD Sender: No OFD packet to send [02:03:52]OFD Sender: No OFD packet to send [02:03:57]OFD Sender: No OFD packet to send [02:04:02]OFD Sender: No OFD packet to send [02:04:07]OFD Sender: No OFD packet to send [02:04:12]OFD Sender: No OFD packet to send [02:04:17]OFD Sender: No OFD packet to send [02:04:22]OFD Sender: No OFD packet to send [02:04:27]OFD Sender: No OFD packet to send [02:04:32]OFD Sender: No OFD packet to send [02:04:37]OFD Sender: No OFD packet to send [02:04:42]OFD Sender: No OFD packet to send [02:04:47]OFD Sender: No OFD packet to send [02:04:52]OFD Sender: No OFD packet to send [02:04:57]OFD Sender: No OFD packet to send [02:05:02]OFD Sender: No OFD packet to send [02:05:07]OFD Sender: No OFD packet to send [02:05:12]OFD Sender: No OFD packet to send [02:05:17]OFD Sender: No OFD packet to send [02:05:22]OFD Sender: No OFD packet to send [02:05:27]OFD Sender: No OFD packet to send [02:05:32]OFD Sender: No OFD packet to send [02:05:37]OFD Sender: No OFD packet to send [02:05:42]OFD Sender: No OFD packet to send [02:05:47]OFD Sender: No OFD packet to send [02:05:52]OFD Sender: No OFD packet to send [02:05:57]OFD Sender: No OFD packet to send [02:06:02]OFD Sender: No OFD packet to send [02:06:07]OFD Sender: No OFD packet to send [02:06:12]OFD Sender: No OFD packet to send [02:06:17]OFD Sender: No OFD packet to send [02:06:22]OFD Sender: No OFD packet to send [02:06:27]OFD Sender: No OFD packet to send [02:06:32]OFD Sender: No OFD packet to send [02:06:37]OFD Sender: No OFD packet to send [02:06:42]OFD Sender: No OFD packet to send [02:06:47]OFD Sender: No OFD packet to send [02:06:52]OFD Sender: No OFD packet to send [02:06:57]OFD Sender: No OFD packet to send [02:07:02]OFD Sender: No OFD packet to send [02:07:07]OFD Sender: No OFD packet to send [02:07:12]OFD Sender: No OFD packet to send [02:07:17]OFD Sender: No OFD packet to send [02:07:22]OFD Sender: No OFD packet to send [02:07:27]OFD Sender: No OFD packet to send [02:07:32]OFD Sender: No OFD packet to send [02:07:37]OFD Sender: No OFD packet to send [02:07:42]OFD Sender: No OFD packet to send [02:07:47]OFD Sender: No OFD packet to send [02:07:52]OFD Sender: No OFD packet to send [02:07:57]OFD Sender: No OFD packet to send [02:08:02]OFD Sender: No OFD packet to send [02:08:07]OFD Sender: No OFD packet to send [02:08:12]OFD Sender: No OFD packet to send [02:08:17]OFD Sender: No OFD packet to send [02:08:22]OFD Sender: No OFD packet to send [02:08:27]OFD Sender: No OFD packet to send [02:08:32]OFD Sender: No OFD packet to send [02:08:37]OFD Sender: No OFD packet to send [02:08:42]OFD Sender: No OFD packet to send [02:08:47]OFD Sender: No OFD packet to send [02:08:52]OFD Sender: No OFD packet to send [02:08:57]OFD Sender: No OFD packet to send [02:09:02]OFD Sender: No OFD packet to send [02:09:07]OFD Sender: No OFD packet to send [02:09:12]OFD Sender: No OFD packet to send [02:09:17]OFD Sender: No OFD packet to send [02:09:22]OFD Sender: No OFD packet to send [02:09:27]OFD Sender: No OFD packet to send [02:09:32]OFD Sender: No OFD packet to send [02:09:37]OFD Sender: No OFD packet to send [02:09:42]OFD Sender: No OFD packet to send [02:09:47]OFD Sender: No OFD packet to send [02:09:52]OFD Sender: No OFD packet to send [02:09:57]OFD Sender: No OFD packet to send [02:10:02]OFD Sender: No OFD packet to send [02:10:07]OFD Sender: No OFD packet to send [02:10:12]OFD Sender: No OFD packet to send [02:10:17]OFD Sender: No OFD packet to send [02:10:22]OFD Sender: No OFD packet to send [02:10:27]OFD Sender: No OFD packet to send [02:10:32]OFD Sender: No OFD packet to send [02:10:38]OFD Sender: No OFD packet to send [02:10:43]OFD Sender: No OFD packet to send [02:10:48]OFD Sender: No OFD packet to send [02:10:53]OFD Sender: No OFD packet to send [02:10:58]OFD Sender: No OFD packet to send [02:11:03]OFD Sender: No OFD packet to send [02:11:08]OFD Sender: No OFD packet to send [02:11:13]OFD Sender: No OFD packet to send [02:11:18]OFD Sender: No OFD packet to send [02:11:23]OFD Sender: No OFD packet to send [02:11:28]OFD Sender: No OFD packet to send [02:11:33]OFD Sender: No OFD packet to send [02:11:38]OFD Sender: No OFD packet to send [02:11:43]OFD Sender: No OFD packet to send [02:11:48]OFD Sender: No OFD packet to send [02:11:53]OFD Sender: No OFD packet to send [02:11:58]OFD Sender: No OFD packet to send [02:12:03]OFD Sender: No OFD packet to send [02:12:08]OFD Sender: No OFD packet to send [02:12:13]OFD Sender: No OFD packet to send [02:12:18]OFD Sender: No OFD packet to send [02:12:23]OFD Sender: No OFD packet to send [02:12:28]OFD Sender: No OFD packet to send [02:12:33]OFD Sender: No OFD packet to send [02:12:38]OFD Sender: No OFD packet to send [02:12:43]OFD Sender: No OFD packet to send [02:12:48]OFD Sender: No OFD packet to send [02:12:53]OFD Sender: No OFD packet to send [02:12:58]OFD Sender: No OFD packet to send [02:13:03]OFD Sender: No OFD packet to send [02:13:08]OFD Sender: No OFD packet to send [02:13:13]OFD Sender: No OFD packet to send [02:13:18]OFD Sender: No OFD packet to send [02:13:23]OFD Sender: No OFD packet to send [02:13:28]OFD Sender: No OFD packet to send [02:13:33]OFD Sender: No OFD packet to send [02:13:38]OFD Sender: No OFD packet to send [02:13:43]OFD Sender: No OFD packet to send [02:13:48]OFD Sender: No OFD packet to send [02:13:53]OFD Sender: No OFD packet to send [02:13:58]OFD Sender: No OFD packet to send [02:14:03]OFD Sender: No OFD packet to send [02:14:08]OFD Sender: No OFD packet to send [02:14:13]OFD Sender: No OFD packet to send [02:14:18]OFD Sender: No OFD packet to send [02:14:23]OFD Sender: No OFD packet to send [02:14:28]OFD Sender: No OFD packet to send [02:14:33]OFD Sender: No OFD packet to send [02:14:38]OFD Sender: No OFD packet to send [02:14:43]OFD Sender: No OFD packet to send [02:17:43]ConnectInit Can't connect to host [02:17:46]OFD Sender: No OFD packet to send [02:17:51]OFD Sender: No OFD packet to send [02:17:56]OFD Sender: No OFD packet to send [02:18:01]OFD Sender: No OFD packet to send [02:18:06]OFD Sender: No OFD packet to send [02:18:11]OFD Sender: No OFD packet to send [02:18:16]OFD Sender: No OFD packet to send [02:18:21]OFD Sender: No OFD packet to send [02:18:26]OFD Sender: No OFD packet to send [02:18:31]OFD Sender: No OFD packet to send [02:18:36]OFD Sender: No OFD packet to send [02:18:41]OFD Sender: No OFD packet to send [02:18:46]OFD Sender: No OFD packet to send [02:18:51]OFD Sender: No OFD packet to send [02:18:56]OFD Sender: No OFD packet to send [02:19:01]OFD Sender: No OFD packet to send [02:19:06]OFD Sender: No OFD packet to send [02:19:11]OFD Sender: No OFD packet to send [02:19:16]OFD Sender: No OFD packet to send [02:19:21]OFD Sender: No OFD packet to send [02:19:26]OFD Sender: No OFD packet to send [02:19:31]OFD Sender: No OFD packet to send [02:19:36]OFD Sender: No OFD packet to send [02:19:41]OFD Sender: No OFD packet to send [02:19:46]OFD Sender: No OFD packet to send [02:19:51]OFD Sender: No OFD packet to send [02:19:56]OFD Sender: No OFD packet to send [02:20:01]OFD Sender: No OFD packet to send [02:20:06]OFD Sender: No OFD packet to send [02:20:11]OFD Sender: No OFD packet to send [02:20:16]OFD Sender: No OFD packet to send [02:20:21]OFD Sender: No OFD packet to send [02:20:26]OFD Sender: No OFD packet to send [02:20:31]OFD Sender: No OFD packet to send [02:20:36]OFD Sender: No OFD packet to send [02:20:41]OFD Sender: No OFD packet to send [02:20:46]OFD Sender: No OFD packet to send [02:20:51]OFD Sender: No OFD packet to send [02:20:56]OFD Sender: No OFD packet to send [02:21:01]OFD Sender: No OFD packet to send [02:21:06]OFD Sender: No OFD packet to send [02:21:11]OFD Sender: No OFD packet to send [02:21:16]OFD Sender: No OFD packet to send [02:21:21]OFD Sender: No OFD packet to send [02:21:26]OFD Sender: No OFD packet to send [02:21:31]OFD Sender: No OFD packet to send [02:21:36]OFD Sender: No OFD packet to send [02:21:41]OFD Sender: No OFD packet to send [02:21:46]OFD Sender: No OFD packet to send [02:21:51]OFD Sender: No OFD packet to send [02:21:56]OFD Sender: No OFD packet to send [02:22:01]OFD Sender: No OFD packet to send [02:22:06]OFD Sender: No OFD packet to send [02:22:11]OFD Sender: No OFD packet to send [02:25:11]ConnectInit Can't connect to host [02:25:14]OFD Sender: No OFD packet to send [02:25:19]OFD Sender: No OFD packet to send [02:25:24]OFD Sender: No OFD packet to send [02:25:29]OFD Sender: No OFD packet to send [02:25:34]OFD Sender: No OFD packet to send [02:25:39]OFD Sender: No OFD packet to send [02:25:44]OFD Sender: No OFD packet to send [02:25:49]OFD Sender: No OFD packet to send [02:25:54]OFD Sender: No OFD packet to send [02:25:59]OFD Sender: No OFD packet to send [02:26:04]OFD Sender: No OFD packet to send [02:26:09]OFD Sender: No OFD packet to send [02:26:14]OFD Sender: No OFD packet to send [02:26:19]OFD Sender: No OFD packet to send [02:26:24]OFD Sender: No OFD packet to send [02:26:29]OFD Sender: No OFD packet to send [02:26:34]OFD Sender: No OFD packet to send [02:26:39]OFD Sender: No OFD packet to send [02:26:44]OFD Sender: No OFD packet to send [02:26:49]OFD Sender: No OFD packet to send [02:26:54]OFD Sender: No OFD packet to send [02:26:59]OFD Sender: No OFD packet to send [02:27:04]OFD Sender: No OFD packet to send [02:27:09]OFD Sender: No OFD packet to send [02:27:14]OFD Sender: No OFD packet to send [02:27:19]OFD Sender: No OFD packet to send [02:27:24]OFD Sender: No OFD packet to send [02:27:29]OFD Sender: No OFD packet to send [02:27:34]OFD Sender: No OFD packet to send [02:27:39]OFD Sender: No OFD packet to send [02:27:44]OFD Sender: No OFD packet to send [02:27:49]OFD Sender: No OFD packet to send [02:27:50]accept exits with 9 [02:27:50]New connection [02:27:50]New thread 3067354468 created [02:27:50]Waiting for new connection... [02:27:50] Sock 9.Parse request [02:27:50]Sock 9.Check first char [02:27:50]Sock 9.First char is OK [02:27:50]request: POST /json_proto HTTP/1.0 [02:27:50]Method: POST [02:27:50]URL: /json_proto [02:27:50]Method is POST - this is cgi request [02:27:50]url: /json_proto [02:27:50]query_string will be loaded in cgi processing [02:27:50]execute_cgi json_proto POST (null) [02:27:50]execute_cgi path=json_proto method=POST [02:27:50]POST find Content-Length [02:27:50]Host: 172.17.36.199:8080 [02:27:50]Content-Length: 690 [02:27:50]Content-Type: application/json [02:27:50] [02:27:50]POST finish read [02:27:50]Found Content-Length = 690 [02:27:50]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)176446", "tax_sys" : 0, "items" : [ { "code": "4870202521247", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 1,2 \u0447\u0435\u0440\u043D.\u043F\u0435\u0440\u0441\u0438\u043A", "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" ] } } [02:27:50]execute_script... [02:27: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)176446", "tax_sys" : 0, "items" : [ { "code": "4870202521247", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 1,2 \u0447\u0435\u0440\u043D.\u043F\u0435\u0440\u0441\u0438\u043A", "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" ] } } [02:27:50]POST & json_proto [02:27:50]process_json_proto [02:27:50]json parsed OK: [02:27:50]protocol is kg_v1.0 [02:27:50]action value=close_receipt [02:27:50]process_action close_receipt [02:27:50]cmd_close_receipt [02:27:50]MH_GetDate [02:27:50]Write to MH i2c: F0 00 00 10 00 FF [02:27:50]Write i2c OK [02:27:50]MH_I2C_Read... [02:27:50]Read from MH i2c: F0 [02:27:50]MH_I2C_Read... [02:27:50]Read from MH i2c: F0 09 00 [02:27:50]MH_I2C_Read... [02:27:50]Read from MH i2c: F0 09 00 10 00 00 27 2A 5D 66 91 46 04 65 5C [02:27:50]GetLastDocTimeStamp 1717378559 [02:27:50]current date 1717381671 [02:27:50]FM_GetShiftState [02:27:50]SAM_PROTO_GetShiftState [02:27:50]wFMCommunicate request_size=4 [02:27:50]MH_SAM_APDU [02:27:50]CAPDU: 80 13 01 00 [02:27:50]Write to MH i2c: E2 08 00 11 00 80 13 01 00 00 00 00 00 8E [02:27:50]Write i2c OK [02:27:50]MH_I2C_Read... [02:27:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:27:50]Read from MH i2c: E2 [02:27:50]MH_I2C_Read... [02:27:50]Read from MH i2c: E2 0E 00 [02:27:50]MH_I2C_Read... [02:27:50]Read from MH i2c: E2 0E 00 11 00 00 09 00 01 49 0B 5D 66 00 00 00 00 90 00 B1 [02:27:50]RAPDU: 09 00 01 49 0B 5D 66 00 00 00 00 90 00 [02:27:50]wFMCommunicate OK [02:27:50]SAM_PROTO_GetShiftState done [02:27:50]FM_GetShiftState done [02:27:50]opened in 1717373769 [02:27:50]opened+sec_in_day 1717460169 [02:27:50]quantity*price = 12500 [02:27:50]sum+1 = 12501 [02:27:50]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 125.00 НСП 1% : 1.11 НДС 12% : 13.27 Наличными: 125.00 Безнал.: 0.00 Место: АЗС № 63 "Партнер Нефть" Адрес: 720001, с. Чон Сары Ой, ул. Западная 3, 42.603516, 76.894901 СНО: Общий режим Чек 5 03.06.2024 02:27 Смена: 376 ФФД: 1.0 ЗНМ: 0300000037 РНМ: 0000000000092680 Версия ККМ: 001 ФМ: 0000000000874882 ФД: 39887 ФПД: 37403731691572 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T022751&type=1&operation_type=1&fn_number=0000000000874882&fd_number=39887&fm=37403731691572&tin=02508201610067®Number=0000000000092680&sum=12500 0 [02:27:51]StoreToDocumentArchive [02:27:51]shift 376 fd 39887 [02:27:51]save to /storage/0376/doc_00039887 [02:27:51]save last doc name /storage/0376/doc_00039887 to /storage/kkm_last_doc_name [02:27:51]save OK [02:27:51]Clear old archive folders... [02:27:51]ProcessDocumentItem done err = 0, tmpTLVsize=294 [02:27:51]tlvbuf is 01C8BB60 [02:27:51]SAM_PROTO_ClearQueue [02:27:51]wFMCommunicate request_size=4 [02:27:51]MH_SAM_APDU [02:27:51]CAPDU: 80 09 00 00 [02:27:51]Write to MH i2c: E2 08 00 1E 00 80 09 00 00 00 00 00 00 90 [02:27:51]Write i2c OK [02:27:51]MH_I2C_Read... [02:27:51]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [02:27:51]Read from MH i2c: E2 [02:27:51]MH_I2C_Read... [02:27:51]Read from MH i2c: E2 03 00 [02:27:51]MH_I2C_Read... [02:27:51]Read from MH i2c: E2 03 00 1E 00 00 90 00 92 [02:27:51]RAPDU: 90 00 [02:27:51]wFMCommunicate OK [02:27:51]SAM_PROTO_ClearQueue done [02:27:51]KKMCreateOFDPacket [02:27:51]OFDProtocolAddRootSTLVToBuf [02:27:51]FM_MakeSignedData [02:27:51]FM_MakeSignedData [02:27:51]SAM_PROTO_SignData [02:27:51]wFMCommunicate request_size=4 [02:27:51]MH_SAM_APDU [02:27:51]CAPDU: 80 0D 01 02 [02:27:51]Write to MH i2c: E2 08 00 1F 00 80 0D 01 02 00 00 00 00 98 [02:27:51]Write i2c OK [02:27:51]MH_I2C_Read... [02:27:51]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [02:27:51]Read from MH i2c: E2 [02:27:51]MH_I2C_Read... [02:27:51]Read from MH i2c: E2 03 00 [02:27:51]MH_I2C_Read... [02:27:51]Read from MH i2c: E2 03 00 1F 00 00 90 00 93 [02:27:51]RAPDU: 90 00 [02:27:51]wFMCommunicate OK [02:27:51]wFMCommunicate request_size=255 [02:27:51]MH_SAM_APDU [02:27:51]CAPDU: 80 0D 02 02 FA 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 34 37 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D1 87 D0 B5 D1 80 D0 BD 2E D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 05 00 00 00 F4 03 04 00 27 2A 5D 66 0E 04 04 00 78 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 [02:27:51]Write to MH i2c: E2 02 01 20 00 80 0D 02 02 FA 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 34 37 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D1 87 D0 B5 D1 80 D0 BD 2E D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 05 00 00 00 F4 03 04 00 27 2A 5D 66 0E 04 04 00 78 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 00 00 AD [02:27:51]Write i2c OK [02:27:51]MH_I2C_Read... [02:27:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:27:52]Read from MH i2c: E2 [02:27:52]MH_I2C_Read... [02:27:52]Read from MH i2c: E2 03 00 [02:27:52]MH_I2C_Read... [02:27:52]Read from MH i2c: E2 03 00 20 00 00 90 00 94 [02:27:52]RAPDU: 90 00 [02:27:52]wFMCommunicate OK [02:27:52]wFMCommunicate request_size=53 [02:27:52]MH_SAM_APDU [02:27:52]CAPDU: 80 0D 02 02 30 30 30 30 30 30 39 32 36 38 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 10 04 04 00 CF 9B 00 00 35 04 06 00 22 04 BC 24 08 34 [02:27:52]Write to MH i2c: E2 38 00 21 00 80 0D 02 02 30 00 30 30 30 30 30 39 32 36 38 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 10 04 04 00 CF 9B 00 00 35 04 06 00 22 04 BC 24 08 34 00 00 41 [02:27:52]Write i2c OK [02:27:52]MH_I2C_Read... [02:27:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:27:52]Read from MH i2c: E2 [02:27:52]MH_I2C_Read... [02:27:52]Read from MH i2c: E2 03 00 [02:27:52]MH_I2C_Read... [02:27:52]Read from MH i2c: E2 03 00 21 00 00 90 00 95 [02:27:52]RAPDU: 90 00 [02:27:52]wFMCommunicate OK [02:27:52]wFMCommunicate request_size=4 [02:27:52]MH_SAM_APDU [02:27:52]CAPDU: 80 0D 03 02 [02:27:52]Write to MH i2c: E2 08 00 22 00 80 0D 03 02 00 00 00 00 9D [02:27:52]Write i2c OK [02:27:52]MH_I2C_Read... [02:27:52]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [02:27:52]Read from MH i2c: E2 [02:27:52]MH_I2C_Read... [02:27:52]Read from MH i2c: E2 0B 00 [02:27:52]MH_I2C_Read... [02:27:52]Read from MH i2c: E2 0B 00 22 00 00 2E 5A 91 AB B2 24 F7 D4 90 00 03 [02:27:52]RAPDU: 2E 5A 91 AB B2 24 F7 D4 90 00 [02:27:52]wFMCommunicate OK [02:27:52]SAM_PROTO_SignData done [02:27:52]FM_MakeSignedData done [02:27:52]CreateOFDProtocolMessage [02:27:52]wFMCommunicate request_size=4 [02:27:52]MH_SAM_APDU [02:27:52]CAPDU: 80 11 00 00 [02:27:52]Write to MH i2c: E2 08 00 23 00 80 11 00 00 00 00 00 00 9D [02:27:52]Write i2c OK [02:27:52]MH_I2C_Read... [02:27:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:27:52]Read from MH i2c: E2 [02:27:52]MH_I2C_Read... [02:27:52]Read from MH i2c: E2 17 00 [02:27:52]MH_I2C_Read... [02:27:52]Read from MH i2c: E2 17 00 23 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 90 00 F5 [02:27:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 90 00 [02:27:52]wFMCommunicate OK [02:27:52]CreateOFDProtocolMessage done [02:27:52]OFDSenderStorePacket 39887 [02:27:52]StoreOFDPacket docnum=39887 [02:27:52]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 3A 01 00 00 09 11 32 01 18 B3 5A 03 01 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 34 37 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D1 87 D0 B5 D1 80 D0 BD 2E D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 05 00 00 00 F4 03 04 00 27 2A 5D 66 0E 04 04 00 78 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 10 04 04 00 CF 9B 00 00 35 04 06 00 22 04 BC 24 08 34 2E 5A 91 AB B2 24 F7 D4 [02:27:52]CheckFolder [02:27:52]dirname=/storage/ofd_packets [02:27:52]CheckFolder done [02:27:52]ProducePacketName [02:27:52]name=ofd_packets/00039887 [02:27:52]NVStorageSaveData ofd_packets/00039887 [02:27:52]File name is /storage/ofd_packets/00039887 [02:27:52]Write 344 bytes [02:27:52]NVStorageSaveData done [02:27:52]OFDSenderStorePacket done [02:27:52]KKMCreateOFDPacket done [02:27:52]NVStorageSaveData kkm_last_timestamp [02:27:52]File name is /storage/kkm_last_timestamp [02:27:52]Write 4 bytes [02:27:52]NVStorageSaveData done [02:27:52]ExternCall_PrintAddStr [02:27:52]wPrintStart [02:27:52]Write to MH i2c: 01 00 00 24 00 24 [02:27:52]Write i2c OK [02:27:52]MH_I2C_Read... [02:27:52]Read from MH i2c: 01 [02:27:52]MH_I2C_Read... [02:27:52]Read from MH i2c: 01 07 00 [02:27:52]MH_I2C_Read... [02:27:52]Read from MH i2c: 01 07 00 24 00 00 00 00 00 00 FF 0F 39 [02:27:52]RasterBufferAndPrint [02:27:52]line Счет N : (3)176446 [02:27:52]line ИНН: 02508201610067 [02:27:52]line Контрольно-Кассовый Чек [02:27:52]line ПРОДАЖА [02:27:52]line Товар: 4870202521247 [02:27:52]line Напиток MAXI чай 1,2 черн.персик [02:27:52]line 1.000 * 125.00 [02:27:52]line = 125.00 [02:27:52]line НДС 12% НСП 1% [02:27:52]line > о реализуемом товаре [02:27:52]line ИТОГО: 125.00 [02:27:52]line НСП 1% : 1.11 [02:27:52]line НДС 12% : 13.27 [02:27:52]line Наличными: 125.00 [02:27:52]line Безнал.: 0.00 [02:27:52]line Место: АЗС № 63 "Партнер Нефть" [02:27:52]line Адрес: 720001, с. Чон Сары Ой, ул. Западная 3, 42.603516, 76.894901 [02:27:52]line СНО: Общий режим [02:27:52]line Чек 5 03.06.2024 02:27 [02:27:52]line Смена: 376 ФФД: 1.0 [02:27:52]line ЗНМ: 0300000037 [02:27:52]line РНМ: 0000000000092680 [02:27:52]line Версия ККМ: 001 [02:27:52]line ФМ: 0000000000874882 [02:27:52]line ФД: 39887 [02:27:52]line ФПД: 37403731691572 [02:27:52]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T022751&type=1&operation_type=1&fn_number=0000000000874882&fd_number=39887&fm=37403731691572&tin=02508201610067®Number=0000000000092680&sum=12500 [02:27:52]line 0 [02:27:52]written 0, free lines is 4095 [02:27:52]OFD Sender: Processing packet 39887 [packets to send 5, broken 4] [02:27:52]ProducePacketName [02:27:52]name=ofd_packets/00039887 [02:27:52]OFD Sender: To server: pG, [02:27:52]CommunicateWithHost lk.salyk.kg:30040 [02:27:52]ConnectInit lk.salyk.kg [02:27:52]Connected sock=10 [02:27: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 38 32 3A 01 00 00 09 11 32 01 18 B3 5A 03 01 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 34 37 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D1 87 D0 B5 D1 80 D0 BD 2E D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 05 00 00 00 F4 03 04 00 27 2A 5D 66 0E 04 04 00 78 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 10 04 04 00 CF 9B 00 00 35 04 06 00 22 04 BC 24 08 34 2E 5A 91 AB B2 24 F7 D4 [02:27: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 38 32 4F 00 00 00 9C 41 47 00 94 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 38 32 10 04 04 00 CF 9B 00 00 F4 03 04 00 D4 D2 5C 66 B6 04 01 00 00 73 16 67 E9 5B E8 15 6B [02:27:52]CommunicateWithHost err = 0 [02:27:52]CheckOFDResponse [02:27:52]1017 (14) - 77093643461234 [02:27:52]1041 (16) - 0000000000874882 [02:27:52]1040 (4) - 39887 [02:27:52]1012 (4) - 02.06.2024 20:15 [02:27:52]1206 (1) - 0 [02:27:52]OFD Sender: Remove packet 39887 [02:27:52]ProducePacketName [02:27:52]name=ofd_packets/00039887 [02:27:52]NVStorageDeleteData [02:27:52]Write to MH i2c: 01 00 00 4D 00 4D [02:27:52]Write i2c OK [02:27:52]MH_I2C_Read... [02:27:52]Read from MH i2c: 01 [02:27:52]MH_I2C_Read... [02:27:52]Read from MH i2c: 01 07 00 [02:27:52]MH_I2C_Read... [02:27:52]Read from MH i2c: 01 07 00 4D 00 00 00 00 00 00 20 0D 81 [02:27:52]RasterBufferAndPrint [02:27:52]line [02:27:52]line [02:27:52]line [02:27:52]line [02:27:52]line [02:27:52]written 0, free lines is 3366 [02:27:52]MH_Cut [02:27:52]Write to MH i2c: D1 01 00 54 00 01 26 [02:27:52]Write i2c OK [02:27:52]MH_I2C_Read... [02:27:52]Read from MH i2c: D1 [02:27:52]MH_I2C_Read... [02:27:52]Read from MH i2c: D1 01 00 [02:27:52]MH_I2C_Read... [02:27:52]Read from MH i2c: D1 01 00 54 00 00 25 [02:27:52]Write to MH i2c: 01 00 00 55 00 55 [02:27:52]Write i2c OK [02:27:52]MH_I2C_Read... [02:27:53]OFD Sender: No OFD packet to send [02:27:53]*** Cut start [02:27:53]*** Partial cut [02:27:53]*** CUTSNS_PIN = 1 [02:27:53]*** CUTSNS_PIN = 0 [02:27:53]*** Brake cut motor [02:27:54]Read from MH i2c: 01 [02:27:54]MH_I2C_Read... [02:27:54]*** Stop cut motor [02:27:54]*** Cut end [02:27:54]Read from MH i2c: 01 07 00 [02:27:54]MH_I2C_Read... [02:27:54]Read from MH i2c: 01 07 00 55 00 00 00 00 00 00 FF 0F 6A [02:27:54]process_action close_receipt done [02:27:54]requested_data is exist [02:27:54]produce_requested_data [02:27:54]requested_item fm.sn is exist - process it [02:27:54]wFMCommunicate request_size=4 [02:27:54]MH_SAM_APDU [02:27:54]CAPDU: 80 11 00 00 [02:27:54]Write to MH i2c: E2 08 00 56 00 80 11 00 00 00 00 00 00 D0 [02:27:54]Write i2c OK [02:27:54]MH_I2C_Read... [02:27:54]Read from MH i2c: E2 [02:27:54]MH_I2C_Read... [02:27:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:27:54]Read from MH i2c: E2 17 00 [02:27:54]MH_I2C_Read... [02:27:54]Read from MH i2c: E2 17 00 56 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 90 00 28 [02:27:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 90 00 [02:27:54]wFMCommunicate OK [02:27:54]requested_item fd.num is exist - process it [02:27:54]SAM_PROTO_GetFieldsCounters [02:27:54]wFMCommunicate request_size=4 [02:27:54]MH_SAM_APDU [02:27:54]CAPDU: 80 13 00 00 [02:27:54]Write to MH i2c: E2 08 00 57 00 80 13 00 00 00 00 00 00 D3 [02:27:54]Write i2c OK [02:27:54]MH_I2C_Read... [02:27:54]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [02:27:54]Read from MH i2c: E2 [02:27:54]MH_I2C_Read... [02:27:54]Read from MH i2c: E2 62 00 [02:27:54]MH_I2C_Read... [02:27:54]Read from MH i2c: E2 62 00 57 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 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 10 04 04 00 CF 9B 00 00 0E 04 04 00 78 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 EB [02:27: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 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 10 04 04 00 CF 9B 00 00 0E 04 04 00 78 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 [02:27:54]wFMCommunicate OK [02:27:54]SAM_PROTO_GetFieldsCounters done [02:27:54]requested_item shift.num is exist - process it [02:27:54]requested_item shift.opened is exist - process it [02:27:54]req_shift_opened [02:27:54]FM_GetShiftState [02:27:54]SAM_PROTO_GetShiftState [02:27:54]wFMCommunicate request_size=4 [02:27:54]MH_SAM_APDU [02:27:54]CAPDU: 80 13 01 00 [02:27:54]Write to MH i2c: E2 08 00 58 00 80 13 01 00 00 00 00 00 D5 [02:27:54]Write i2c OK [02:27:54]MH_I2C_Read... [02:27:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:27:54]Read from MH i2c: E2 [02:27:54]MH_I2C_Read... [02:27:54]Read from MH i2c: E2 0E 00 [02:27:54]MH_I2C_Read... [02:27:54]Read from MH i2c: E2 0E 00 58 00 00 09 00 01 49 0B 5D 66 00 00 00 00 90 00 F8 [02:27:54]RAPDU: 09 00 01 49 0B 5D 66 00 00 00 00 90 00 [02:27:54]wFMCommunicate OK [02:27:54]SAM_PROTO_GetShiftState done [02:27:54]FM_GetShiftState done [02:27:54]req_shift_opened done [02:27:54]requested_item shift.open_date is exist - process it [02:27:54]req_shift_open_date [02:27:54]req_shift_open_date done [02:27:54]produce_requested_data done [02:27:54]produce_requested_data return {"fm.sn":"0000000000874882","fd.num":39887,"shift.num":376,"shift.opened":1,"shift.open_date":1717373769} [02:27:54]process_action_free close_receipt [02:27:54]json_value_free [02:27:54]json_value_free done [02:27:54]process_json_proto returns [02:27:54]Send response to host [02:27:54]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874882","fd.num":39887,"shift.num":376,"shift.opened":1,"shift.open_date":1717373769}}} [02:27:54]free response buf [02:27:54]execute_script done [02:27:54]execute_script returns [02:27:54]free content buf [02:27:54]Sock 9.Close socket [02:27:54]Sock 9.Thread stoped [02:27:58]OFD Sender: No OFD packet to send [02:28:03]OFD Sender: No OFD packet to send [02:28:08]OFD Sender: No OFD packet to send [02:28:13]OFD Sender: No OFD packet to send [02:28:18]OFD Sender: No OFD packet to send [02:28:23]OFD Sender: No OFD packet to send [02:28:28]OFD Sender: No OFD packet to send [02:28:33]OFD Sender: No OFD packet to send [02:28:38]OFD Sender: No OFD packet to send [02:28:43]OFD Sender: No OFD packet to send [02:28:48]OFD Sender: No OFD packet to send [02:28:53]OFD Sender: No OFD packet to send [02:28:58]OFD Sender: No OFD packet to send [02:29:03]OFD Sender: No OFD packet to send [02:29:08]OFD Sender: No OFD packet to send [02:29:13]OFD Sender: No OFD packet to send [02:29:18]OFD Sender: No OFD packet to send [02:29:23]OFD Sender: No OFD packet to send [02:29:28]OFD Sender: No OFD packet to send [02:29:33]OFD Sender: No OFD packet to send [02:29:38]OFD Sender: No OFD packet to send [02:29:43]OFD Sender: No OFD packet to send [02:29:48]OFD Sender: No OFD packet to send [02:29:53]OFD Sender: No OFD packet to send [02:29:58]OFD Sender: No OFD packet to send [02:30:03]OFD Sender: No OFD packet to send [02:30:08]OFD Sender: No OFD packet to send [02:30:13]OFD Sender: No OFD packet to send [02:30:18]OFD Sender: No OFD packet to send [02:30:23]OFD Sender: No OFD packet to send [02:30:28]OFD Sender: No OFD packet to send [02:30:33]OFD Sender: No OFD packet to send [02:30:38]OFD Sender: No OFD packet to send [02:30:43]OFD Sender: No OFD packet to send [02:30:48]OFD Sender: No OFD packet to send [02:30:53]OFD Sender: No OFD packet to send [02:30:58]OFD Sender: No OFD packet to send [02:31:03]OFD Sender: No OFD packet to send [02:31:08]OFD Sender: No OFD packet to send [02:31:13]OFD Sender: No OFD packet to send [02:31:18]OFD Sender: No OFD packet to send [02:31:23]OFD Sender: No OFD packet to send [02:31:28]OFD Sender: No OFD packet to send [02:31:33]OFD Sender: No OFD packet to send [02:31:38]OFD Sender: No OFD packet to send [02:31:43]OFD Sender: No OFD packet to send [02:31:48]OFD Sender: No OFD packet to send [02:31:53]OFD Sender: No OFD packet to send [02:31:58]OFD Sender: No OFD packet to send [02:32:03]OFD Sender: No OFD packet to send [02:32:08]OFD Sender: No OFD packet to send [02:32:13]OFD Sender: No OFD packet to send [02:32:18]OFD Sender: No OFD packet to send [02:32:23]OFD Sender: No OFD packet to send [02:32:28]OFD Sender: No OFD packet to send [02:32:33]OFD Sender: No OFD packet to send [02:32:38]OFD Sender: No OFD packet to send [02:32:43]OFD Sender: No OFD packet to send [02:32:48]OFD Sender: No OFD packet to send [02:32:53]OFD Sender: No OFD packet to send [02:32:58]OFD Sender: No OFD packet to send [02:33:03]OFD Sender: No OFD packet to send [02:33:08]OFD Sender: No OFD packet to send [02:33:13]OFD Sender: No OFD packet to send [02:33:18]OFD Sender: No OFD packet to send [02:33:23]OFD Sender: No OFD packet to send [02:33:28]OFD Sender: No OFD packet to send [02:33:33]OFD Sender: No OFD packet to send [02:33:38]OFD Sender: No OFD packet to send [02:33:43]OFD Sender: No OFD packet to send [02:33:48]OFD Sender: No OFD packet to send [02:33:53]OFD Sender: No OFD packet to send [02:33:58]OFD Sender: No OFD packet to send [02:34:03]OFD Sender: No OFD packet to send [02:34:08]OFD Sender: No OFD packet to send [02:34:13]OFD Sender: No OFD packet to send [02:34:18]OFD Sender: No OFD packet to send [02:34:23]OFD Sender: No OFD packet to send [02:34:28]OFD Sender: No OFD packet to send [02:34:33]OFD Sender: No OFD packet to send [02:34:38]OFD Sender: No OFD packet to send [02:34:43]OFD Sender: No OFD packet to send [02:34:48]OFD Sender: No OFD packet to send [02:34:53]OFD Sender: No OFD packet to send [02:34:58]OFD Sender: No OFD packet to send [02:35:03]OFD Sender: No OFD packet to send [02:35:08]OFD Sender: No OFD packet to send [02:35:13]OFD Sender: No OFD packet to send [02:35:18]OFD Sender: No OFD packet to send [02:35:23]OFD Sender: No OFD packet to send [02:35:28]OFD Sender: No OFD packet to send [02:35:33]OFD Sender: No OFD packet to send [02:35:38]OFD Sender: No OFD packet to send [02:35:43]OFD Sender: No OFD packet to send [02:35:48]OFD Sender: No OFD packet to send [02:35:53]OFD Sender: No OFD packet to send [02:35:58]OFD Sender: No OFD packet to send [02:36:03]OFD Sender: No OFD packet to send [02:36:08]OFD Sender: No OFD packet to send [02:36:13]OFD Sender: No OFD packet to send [02:36:18]OFD Sender: No OFD packet to send [02:36:23]OFD Sender: No OFD packet to send [02:36:28]OFD Sender: No OFD packet to send [02:36:33]OFD Sender: No OFD packet to send [02:36:38]OFD Sender: No OFD packet to send [02:36:43]OFD Sender: No OFD packet to send [02:36:48]OFD Sender: No OFD packet to send [02:36:53]OFD Sender: No OFD packet to send [02:36:58]OFD Sender: No OFD packet to send [02:37:03]OFD Sender: No OFD packet to send [02:37:08]OFD Sender: No OFD packet to send [02:37:13]OFD Sender: No OFD packet to send [02:37:18]OFD Sender: No OFD packet to send [02:37:23]OFD Sender: No OFD packet to send [02:37:28]OFD Sender: No OFD packet to send [02:37:33]OFD Sender: No OFD packet to send [02:37:38]OFD Sender: No OFD packet to send [02:37:43]OFD Sender: No OFD packet to send [02:37:48]OFD Sender: No OFD packet to send [02:37:53]OFD Sender: No OFD packet to send [02:37:58]OFD Sender: No OFD packet to send [02:38:03]OFD Sender: No OFD packet to send [02:38:08]OFD Sender: No OFD packet to send [02:38:13]OFD Sender: No OFD packet to send [02:38:18]OFD Sender: No OFD packet to send [02:38:23]OFD Sender: No OFD packet to send [02:38:28]OFD Sender: No OFD packet to send [02:38:33]OFD Sender: No OFD packet to send [02:38:38]OFD Sender: No OFD packet to send [02:38:43]OFD Sender: No OFD packet to send [02:38:48]OFD Sender: No OFD packet to send [02:38:53]OFD Sender: No OFD packet to send [02:38:58]OFD Sender: No OFD packet to send [02:39:03]OFD Sender: No OFD packet to send [02:39:08]OFD Sender: No OFD packet to send [02:39:13]OFD Sender: No OFD packet to send [02:39:18]OFD Sender: No OFD packet to send [02:39:23]OFD Sender: No OFD packet to send [02:39:28]OFD Sender: No OFD packet to send [02:39:33]OFD Sender: No OFD packet to send [02:39:38]OFD Sender: No OFD packet to send [02:39:43]OFD Sender: No OFD packet to send [02:39:48]OFD Sender: No OFD packet to send [02:39:53]OFD Sender: No OFD packet to send [02:39:58]OFD Sender: No OFD packet to send [02:40:03]OFD Sender: No OFD packet to send [02:40:08]OFD Sender: No OFD packet to send [02:40:13]OFD Sender: No OFD packet to send [02:40:18]OFD Sender: No OFD packet to send [02:40:23]OFD Sender: No OFD packet to send [02:40:28]OFD Sender: No OFD packet to send [02:40:33]OFD Sender: No OFD packet to send [02:40:38]OFD Sender: No OFD packet to send [02:40:43]OFD Sender: No OFD packet to send [02:40:48]OFD Sender: No OFD packet to send [02:40:53]OFD Sender: No OFD packet to send [02:40:58]OFD Sender: No OFD packet to send [02:41:03]OFD Sender: No OFD packet to send [02:41:08]OFD Sender: No OFD packet to send [02:41:13]OFD Sender: No OFD packet to send [02:41:18]OFD Sender: No OFD packet to send [02:41:23]OFD Sender: No OFD packet to send [02:41:28]OFD Sender: No OFD packet to send [02:41:33]OFD Sender: No OFD packet to send [02:41:38]OFD Sender: No OFD packet to send [02:41:43]OFD Sender: No OFD packet to send [02:41:48]OFD Sender: No OFD packet to send [02:41:53]OFD Sender: No OFD packet to send [02:41:58]OFD Sender: No OFD packet to send [02:42:03]OFD Sender: No OFD packet to send [02:42:08]OFD Sender: No OFD packet to send [02:42:13]OFD Sender: No OFD packet to send [02:42:18]OFD Sender: No OFD packet to send [02:42:23]OFD Sender: No OFD packet to send [02:42:28]OFD Sender: No OFD packet to send [02:42:33]OFD Sender: No OFD packet to send [02:42:38]OFD Sender: No OFD packet to send [02:42:43]OFD Sender: No OFD packet to send [02:42:48]OFD Sender: No OFD packet to send [02:42:53]OFD Sender: No OFD packet to send [02:42:58]OFD Sender: No OFD packet to send [02:43:03]OFD Sender: No OFD packet to send [02:43:08]OFD Sender: No OFD packet to send [02:43:13]OFD Sender: No OFD packet to send [02:43:18]OFD Sender: No OFD packet to send [02:43:23]OFD Sender: No OFD packet to send [02:43:28]OFD Sender: No OFD packet to send [02:43:33]OFD Sender: No OFD packet to send [02:43:38]OFD Sender: No OFD packet to send [02:43:43]OFD Sender: No OFD packet to send [02:43:48]OFD Sender: No OFD packet to send [02:43:53]OFD Sender: No OFD packet to send [02:43:58]OFD Sender: No OFD packet to send [02:44:03]OFD Sender: No OFD packet to send [02:44:08]OFD Sender: No OFD packet to send [02:44:13]OFD Sender: No OFD packet to send [02:44:18]OFD Sender: No OFD packet to send [02:44:23]OFD Sender: No OFD packet to send [02:44:28]OFD Sender: No OFD packet to send [02:44:33]OFD Sender: No OFD packet to send [02:44:39]OFD Sender: No OFD packet to send [02:44:44]OFD Sender: No OFD packet to send [02:44:49]OFD Sender: No OFD packet to send [02:44:54]OFD Sender: No OFD packet to send [02:44:59]OFD Sender: No OFD packet to send [02:45:04]OFD Sender: No OFD packet to send [02:45:09]OFD Sender: No OFD packet to send [02:45:14]OFD Sender: No OFD packet to send [02:45:19]OFD Sender: No OFD packet to send [02:45:24]OFD Sender: No OFD packet to send [02:45:29]OFD Sender: No OFD packet to send [02:45:34]OFD Sender: No OFD packet to send [02:45:39]OFD Sender: No OFD packet to send [02:45:44]OFD Sender: No OFD packet to send [02:45:49]OFD Sender: No OFD packet to send [02:45:54]OFD Sender: No OFD packet to send [02:45:59]OFD Sender: No OFD packet to send [02:46:04]OFD Sender: No OFD packet to send [02:46:09]OFD Sender: No OFD packet to send [02:46:14]OFD Sender: No OFD packet to send [02:46:19]OFD Sender: No OFD packet to send [02:46:24]OFD Sender: No OFD packet to send [02:46:29]OFD Sender: No OFD packet to send [02:46:34]OFD Sender: No OFD packet to send [02:46:39]OFD Sender: No OFD packet to send [02:46:44]OFD Sender: No OFD packet to send [02:46:49]OFD Sender: No OFD packet to send [02:46:54]OFD Sender: No OFD packet to send [02:46:59]OFD Sender: No OFD packet to send [02:47:04]OFD Sender: No OFD packet to send [02:47:09]OFD Sender: No OFD packet to send [02:47:14]OFD Sender: No OFD packet to send [02:47:19]OFD Sender: No OFD packet to send [02:47:24]OFD Sender: No OFD packet to send [02:47:29]OFD Sender: No OFD packet to send [02:47:34]OFD Sender: No OFD packet to send [02:47:39]OFD Sender: No OFD packet to send [02:47:44]OFD Sender: No OFD packet to send [02:47:49]OFD Sender: No OFD packet to send [02:47:54]OFD Sender: No OFD packet to send [02:47:59]OFD Sender: No OFD packet to send [02:48:04]OFD Sender: No OFD packet to send [02:48:09]OFD Sender: No OFD packet to send [02:48:14]OFD Sender: No OFD packet to send [02:48:19]OFD Sender: No OFD packet to send [02:48:24]OFD Sender: No OFD packet to send [02:48:29]OFD Sender: No OFD packet to send [02:48:34]OFD Sender: No OFD packet to send [02:48:39]OFD Sender: No OFD packet to send [02:48:44]OFD Sender: No OFD packet to send [02:48:49]OFD Sender: No OFD packet to send [02:48:54]OFD Sender: No OFD packet to send [02:48:59]OFD Sender: No OFD packet to send [02:49:04]OFD Sender: No OFD packet to send [02:49:09]OFD Sender: No OFD packet to send [02:49:14]OFD Sender: No OFD packet to send [02:49:19]OFD Sender: No OFD packet to send [02:49:24]OFD Sender: No OFD packet to send [02:49:29]OFD Sender: No OFD packet to send [02:49:34]OFD Sender: No OFD packet to send [02:49:39]OFD Sender: No OFD packet to send [02:49:44]OFD Sender: No OFD packet to send [02:49:49]OFD Sender: No OFD packet to send [02:49:54]OFD Sender: No OFD packet to send [02:49:59]OFD Sender: No OFD packet to send [02:50:04]OFD Sender: No OFD packet to send [02:50:09]OFD Sender: No OFD packet to send [02:50:14]OFD Sender: No OFD packet to send [02:50:19]OFD Sender: No OFD packet to send [02:50:24]OFD Sender: No OFD packet to send [02:50:29]OFD Sender: No OFD packet to send [02:50:34]OFD Sender: No OFD packet to send [02:50:39]OFD Sender: No OFD packet to send [02:50:44]OFD Sender: No OFD packet to send [02:50:49]OFD Sender: No OFD packet to send [02:50:54]OFD Sender: No OFD packet to send [02:50:59]OFD Sender: No OFD packet to send [02:51:04]OFD Sender: No OFD packet to send [02:51:09]OFD Sender: No OFD packet to send [02:51:14]OFD Sender: No OFD packet to send [02:51:19]OFD Sender: No OFD packet to send [02:51:24]OFD Sender: No OFD packet to send [02:51:29]OFD Sender: No OFD packet to send [02:51:34]OFD Sender: No OFD packet to send [02:51:39]OFD Sender: No OFD packet to send [02:51:44]OFD Sender: No OFD packet to send [02:51:49]OFD Sender: No OFD packet to send [02:51:54]OFD Sender: No OFD packet to send [02:51:59]OFD Sender: No OFD packet to send [02:52:04]OFD Sender: No OFD packet to send [02:52:09]OFD Sender: No OFD packet to send [02:52:14]OFD Sender: No OFD packet to send [02:52:19]OFD Sender: No OFD packet to send [02:52:24]OFD Sender: No OFD packet to send [02:52:29]OFD Sender: No OFD packet to send [02:52:34]OFD Sender: No OFD packet to send [02:52:39]OFD Sender: No OFD packet to send [02:52:44]OFD Sender: No OFD packet to send [02:52:49]OFD Sender: No OFD packet to send [02:52:54]OFD Sender: No OFD packet to send [02:52:59]OFD Sender: No OFD packet to send [02:53:04]OFD Sender: No OFD packet to send [02:53:09]OFD Sender: No OFD packet to send [02:53:14]OFD Sender: No OFD packet to send [02:53:19]OFD Sender: No OFD packet to send [02:53:24]OFD Sender: No OFD packet to send [02:53:29]OFD Sender: No OFD packet to send [02:53:34]OFD Sender: No OFD packet to send [02:53:39]OFD Sender: No OFD packet to send [02:53:44]OFD Sender: No OFD packet to send [02:53:49]OFD Sender: No OFD packet to send [02:53:54]OFD Sender: No OFD packet to send [02:53:59]OFD Sender: No OFD packet to send [02:54:04]OFD Sender: No OFD packet to send [02:54:09]OFD Sender: No OFD packet to send [02:54:14]OFD Sender: No OFD packet to send [02:54:19]OFD Sender: No OFD packet to send [02:54:24]OFD Sender: No OFD packet to send [02:54:29]OFD Sender: No OFD packet to send [02:54:34]OFD Sender: No OFD packet to send [02:54:39]OFD Sender: No OFD packet to send [02:54:44]OFD Sender: No OFD packet to send [02:54:49]OFD Sender: No OFD packet to send [02:54:54]OFD Sender: No OFD packet to send [02:54:59]OFD Sender: No OFD packet to send [02:55:04]OFD Sender: No OFD packet to send [02:55:09]OFD Sender: No OFD packet to send [02:55:14]OFD Sender: No OFD packet to send [02:55:19]OFD Sender: No OFD packet to send [02:55:24]OFD Sender: No OFD packet to send [02:55:29]OFD Sender: No OFD packet to send [02:55:34]OFD Sender: No OFD packet to send [02:55:39]OFD Sender: No OFD packet to send [02:55:44]OFD Sender: No OFD packet to send [02:55:49]OFD Sender: No OFD packet to send [02:55:54]OFD Sender: No OFD packet to send [02:55:59]OFD Sender: No OFD packet to send [02:56:04]OFD Sender: No OFD packet to send [02:56:09]OFD Sender: No OFD packet to send [02:56:14]OFD Sender: No OFD packet to send [02:56:19]OFD Sender: No OFD packet to send [02:56:24]OFD Sender: No OFD packet to send [02:56:29]OFD Sender: No OFD packet to send [02:56:34]OFD Sender: No OFD packet to send [02:56:39]OFD Sender: No OFD packet to send [02:56:44]OFD Sender: No OFD packet to send [02:56:49]OFD Sender: No OFD packet to send [02:56:54]OFD Sender: No OFD packet to send [02:56:59]OFD Sender: No OFD packet to send [02:57:04]OFD Sender: No OFD packet to send [02:57:09]OFD Sender: No OFD packet to send [02:57:14]OFD Sender: No OFD packet to send [02:57:19]OFD Sender: No OFD packet to send [02:57:24]OFD Sender: No OFD packet to send [02:57:29]OFD Sender: No OFD packet to send [02:57:34]OFD Sender: No OFD packet to send [02:57:39]OFD Sender: No OFD packet to send [02:57:44]OFD Sender: No OFD packet to send [02:57:49]OFD Sender: No OFD packet to send [02:57:54]OFD Sender: No OFD packet to send [02:57:59]OFD Sender: No OFD packet to send [02:58:04]OFD Sender: No OFD packet to send [02:58:09]OFD Sender: No OFD packet to send [02:58:14]OFD Sender: No OFD packet to send [02:58:19]OFD Sender: No OFD packet to send [02:58:24]OFD Sender: No OFD packet to send [02:58:29]OFD Sender: No OFD packet to send [02:58:34]OFD Sender: No OFD packet to send [02:58:39]OFD Sender: No OFD packet to send [02:58:44]OFD Sender: No OFD packet to send [02:58:49]OFD Sender: No OFD packet to send [02:58:54]OFD Sender: No OFD packet to send [02:58:59]OFD Sender: No OFD packet to send [02:59:04]OFD Sender: No OFD packet to send [02:59:09]OFD Sender: No OFD packet to send [02:59:14]OFD Sender: No OFD packet to send [02:59:19]OFD Sender: No OFD packet to send [02:59:24]OFD Sender: No OFD packet to send [02:59:29]OFD Sender: No OFD packet to send [02:59:34]OFD Sender: No OFD packet to send [02:59:39]OFD Sender: No OFD packet to send [02:59:44]OFD Sender: No OFD packet to send [02:59:49]OFD Sender: No OFD packet to send [02:59:54]OFD Sender: No OFD packet to send [02:59:59]OFD Sender: No OFD packet to send [03:00:04]OFD Sender: No OFD packet to send [03:00:09]OFD Sender: No OFD packet to send [03:00:14]OFD Sender: No OFD packet to send [03:00:19]OFD Sender: No OFD packet to send [03:00:24]OFD Sender: No OFD packet to send [03:00:29]OFD Sender: No OFD packet to send [03:00:34]OFD Sender: No OFD packet to send [03:00:39]OFD Sender: No OFD packet to send [03:00:44]OFD Sender: No OFD packet to send [03:00:49]OFD Sender: No OFD packet to send [03:00:54]OFD Sender: No OFD packet to send [03:00:59]OFD Sender: No OFD packet to send [03:01:04]OFD Sender: No OFD packet to send [03:01:09]OFD Sender: No OFD packet to send [03:01:14]OFD Sender: No OFD packet to send [03:01:19]OFD Sender: No OFD packet to send [03:01:24]OFD Sender: No OFD packet to send [03:01:29]OFD Sender: No OFD packet to send [03:01:34]OFD Sender: No OFD packet to send [03:01:39]OFD Sender: No OFD packet to send [03:01:44]OFD Sender: No OFD packet to send [03:01:49]OFD Sender: No OFD packet to send [03:01:54]OFD Sender: No OFD packet to send [03:01:59]OFD Sender: No OFD packet to send [03:02:04]OFD Sender: No OFD packet to send [03:02:09]OFD Sender: No OFD packet to send [03:02:14]OFD Sender: No OFD packet to send [03:02:19]OFD Sender: No OFD packet to send [03:02:24]OFD Sender: No OFD packet to send [03:02:29]OFD Sender: No OFD packet to send [03:02:34]OFD Sender: No OFD packet to send [03:02:39]OFD Sender: No OFD packet to send [03:02:44]OFD Sender: No OFD packet to send [03:02:49]OFD Sender: No OFD packet to send [03:02:54]OFD Sender: No OFD packet to send [03:02:59]OFD Sender: No OFD packet to send [03:03:04]OFD Sender: No OFD packet to send [03:03:09]OFD Sender: No OFD packet to send [03:03:14]OFD Sender: No OFD packet to send [03:03:19]OFD Sender: No OFD packet to send [03:03:24]OFD Sender: No OFD packet to send [03:03:29]OFD Sender: No OFD packet to send [03:03:34]OFD Sender: No OFD packet to send [03:03:39]OFD Sender: No OFD packet to send [03:03:44]OFD Sender: No OFD packet to send [03:03:49]OFD Sender: No OFD packet to send [03:03:54]OFD Sender: No OFD packet to send [03:03:59]OFD Sender: No OFD packet to send [03:04:04]OFD Sender: No OFD packet to send [03:04:09]OFD Sender: No OFD packet to send [03:04:14]OFD Sender: No OFD packet to send [03:04:19]OFD Sender: No OFD packet to send [03:04:24]OFD Sender: No OFD packet to send [03:04:26]accept exits with 7 [03:04:26]New connection [03:04:26]New thread 3067211108 created [03:04:26]Thread 3067354468 joined [03:04:26]Waiting for new connection... [03:04:26] Sock 7.Parse request [03:04:26]Sock 7.Check first char [03:04:26]Sock 7.First char is OK [03:04:26]request: POST /json_proto HTTP/1.0 [03:04:26]Method: POST [03:04:26]URL: /json_proto [03:04:26]Method is POST - this is cgi request [03:04:26]url: /json_proto [03:04:26]query_string will be loaded in cgi processing [03:04:26]execute_cgi json_proto POST (null) [03:04:26]execute_cgi path=json_proto method=POST [03:04:26]POST find Content-Length [03:04:26]Host: 172.17.36.199:8080 [03:04:26]Content-Length: 1035 [03:04:26]Content-Type: application/json [03:04:26] [03:04:26]POST finish read [03:04:26]Found Content-Length = 1035 [03:04:26]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)176447", "tax_sys" : 0, "items" : [ { "code": "2000032780015", "name": "\u0421\u043B\u043E\u0439\u043A\u0430 DC \u0442\u0440\u0435\u0443\u0433\u043E\u043B\u044C\u043D\u0430\u044F \u043A\u0443\u0440\u0438\u0446\u0430 110\u0433", "price" : 65.00, "quantity" : 2.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4660085515163", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0421\u043D\u0438\u043A\u0435\u0440\u0441 \u0441\u0443\u043F\u0435\u0440 95/80\u0433", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 220.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [03:04:26]execute_script... [03:04:26]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)176447", "tax_sys" : 0, "items" : [ { "code": "2000032780015", "name": "\u0421\u043B\u043E\u0439\u043A\u0430 DC \u0442\u0440\u0435\u0443\u0433\u043E\u043B\u044C\u043D\u0430\u044F \u043A\u0443\u0440\u0438\u0446\u0430 110\u0433", "price" : 65.00, "quantity" : 2.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4660085515163", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0421\u043D\u0438\u043A\u0435\u0440\u0441 \u0441\u0443\u043F\u0435\u0440 95/80\u0433", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 220.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [03:04:26]POST & json_proto [03:04:26]process_json_proto [03:04:26]json parsed OK: [03:04:26]protocol is kg_v1.0 [03:04:26]action value=close_receipt [03:04:26]process_action close_receipt [03:04:26]cmd_close_receipt [03:04:26]MH_GetDate [03:04:26]Write to MH i2c: F0 00 00 59 00 48 [03:04:26]Write i2c OK [03:04:26]MH_I2C_Read... [03:04:26]Read from MH i2c: F0 [03:04:26]MH_I2C_Read... [03:04:26]Read from MH i2c: F0 09 00 [03:04:26]MH_I2C_Read... [03:04:26]Read from MH i2c: F0 09 00 59 00 00 BB 32 5D 66 91 46 04 65 41 [03:04:26]GetLastDocTimeStamp 1717381671 [03:04:26]current date 1717383867 [03:04:26]FM_GetShiftState [03:04:26]SAM_PROTO_GetShiftState [03:04:26]wFMCommunicate request_size=4 [03:04:26]MH_SAM_APDU [03:04:26]CAPDU: 80 13 01 00 [03:04:26]Write to MH i2c: E2 08 00 5A 00 80 13 01 00 00 00 00 00 D7 [03:04:26]Write i2c OK [03:04:26]MH_I2C_Read... [03:04:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:04:26]Read from MH i2c: E2 [03:04:26]MH_I2C_Read... [03:04:26]Read from MH i2c: E2 0E 00 [03:04:26]MH_I2C_Read... [03:04:26]Read from MH i2c: E2 0E 00 5A 00 00 09 00 01 49 0B 5D 66 00 00 00 00 90 00 FA [03:04:26]RAPDU: 09 00 01 49 0B 5D 66 00 00 00 00 90 00 [03:04:26]wFMCommunicate OK [03:04:26]SAM_PROTO_GetShiftState done [03:04:26]FM_GetShiftState done [03:04:26]opened in 1717373769 [03:04:26]opened+sec_in_day 1717460169 [03:04:26]quantity*price = 13000 [03:04:26]sum+1 = 13001 [03:04:26]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4660085515163 Шок Батончик Сникерс супер 95/80г 1.000 * 90.00 = 90.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 220.00 НСП 1% : 1.95 НДС 12% : 23.36 Наличными: 220.00 Безнал.: 0.00 Место: АЗС № 63 "Партнер Нефть" Адрес: 720001, с. Чон Сары Ой, ул. Западная 3, 42.603516, 76.894901 СНО: Общий режим Чек 6 03.06.2024 03:04 Смена: 376 ФФД: 1.0 ЗНМ: 0300000037 РНМ: 0000000000092680 Версия ККМ: 001 ФМ: 0000000000874882 ФД: 39888 ФПД: 239816296528451 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T030427&type=1&operation_type=1&fn_number=0000000000874882&fd_number=39888&fm=239816296528451&tin=02508201610067®Number=0000000000092680&sum=22000 0 [03:04:27]StoreToDocumentArchive [03:04:27]shift 376 fd 39888 [03:04:27]save to /storage/0376/doc_00039888 [03:04:27]save last doc name /storage/0376/doc_00039888 to /storage/kkm_last_doc_name [03:04:27]save OK [03:04:27]Clear old archive folders... [03:04:27]ProcessDocumentItem done err = 0, tmpTLVsize=428 [03:04:27]tlvbuf is 01C830A0 [03:04:27]SAM_PROTO_ClearQueue [03:04:27]wFMCommunicate request_size=4 [03:04:27]MH_SAM_APDU [03:04:27]CAPDU: 80 09 00 00 [03:04:27]Write to MH i2c: E2 08 00 67 00 80 09 00 00 00 00 00 00 D9 [03:04:27]Write i2c OK [03:04:27]MH_I2C_Read... [03:04:28]Read from MH i2c: E2 [03:04:28]MH_I2C_Read... [03:04:28]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [03:04:28]Read from MH i2c: E2 03 00 [03:04:28]MH_I2C_Read... [03:04:28]Read from MH i2c: E2 03 00 67 00 00 90 00 DB [03:04:28]RAPDU: 90 00 [03:04:28]wFMCommunicate OK [03:04:28]SAM_PROTO_ClearQueue done [03:04:28]KKMCreateOFDPacket [03:04:28]OFDProtocolAddRootSTLVToBuf [03:04:28]FM_MakeSignedData [03:04:28]FM_MakeSignedData [03:04:28]SAM_PROTO_SignData [03:04:28]wFMCommunicate request_size=4 [03:04:28]MH_SAM_APDU [03:04:28]CAPDU: 80 0D 01 02 [03:04:28]Write to MH i2c: E2 08 00 68 00 80 0D 01 02 00 00 00 00 E1 [03:04:28]Write i2c OK [03:04:28]MH_I2C_Read... [03:04:28]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [03:04:28]Read from MH i2c: E2 [03:04:28]MH_I2C_Read... [03:04:28]Read from MH i2c: E2 03 00 [03:04:28]MH_I2C_Read... [03:04:28]Read from MH i2c: E2 03 00 68 00 00 90 00 DC [03:04:28]RAPDU: 90 00 [03:04:28]wFMCommunicate OK [03:04:28]wFMCommunicate request_size=255 [03:04:28]MH_SAM_APDU [03:04:28]CAPDU: 80 0D 02 02 FA 03 00 AC 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 32 30 30 30 30 33 32 37 38 30 30 31 35 06 04 39 00 D0 A1 D0 BB D0 BE D0 B9 D0 BA D0 B0 20 44 43 20 D1 82 D1 80 D0 B5 D1 83 D0 B3 D0 BE D0 BB D1 8C D0 BD D0 B0 D1 8F 20 D0 BA D1 83 D1 80 D0 B8 D1 86 D0 B0 20 31 31 30 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 36 36 30 30 38 35 35 31 35 31 36 33 06 04 39 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 A1 D0 BD D0 B8 D0 BA D0 B5 D1 80 D1 81 20 D1 81 D1 83 D0 BF D0 B5 D1 80 20 39 35 2F 38 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 [03:04:28]Write to MH i2c: E2 02 01 69 00 80 0D 02 02 FA 00 03 00 AC 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 32 30 30 30 30 33 32 37 38 30 30 31 35 06 04 39 00 D0 A1 D0 BB D0 BE D0 B9 D0 BA D0 B0 20 44 43 20 D1 82 D1 80 D0 B5 D1 83 D0 B3 D0 BE D0 BB D1 8C D0 BD D0 B0 D1 8F 20 D0 BA D1 83 D1 80 D0 B8 D1 86 D0 B0 20 31 31 30 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 36 36 30 30 38 35 35 31 35 31 36 33 06 04 39 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 A1 D0 BD D0 B8 D0 BA D0 B5 D1 80 D1 81 20 D1 81 D1 83 D0 BF D0 B5 D1 80 20 39 35 2F 38 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 75 [03:04:28]Write i2c OK [03:04:28]MH_I2C_Read... [03:04:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:04:28]Read from MH i2c: E2 [03:04:28]MH_I2C_Read... [03:04:28]Read from MH i2c: E2 03 00 [03:04:28]MH_I2C_Read... [03:04:28]Read from MH i2c: E2 03 00 69 00 00 90 00 DD [03:04:28]RAPDU: 90 00 [03:04:28]wFMCommunicate OK [03:04:28]wFMCommunicate request_size=187 [03:04:28]MH_SAM_APDU [03:04:28]CAPDU: 80 0D 02 02 B6 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 55 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C3 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 20 09 00 00 00 00 07 04 06 00 F0 55 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 BB 32 5D 66 0E 04 04 00 78 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 10 04 04 00 D0 9B 00 00 35 04 06 00 DA 1C 95 2A 7A 43 [03:04:28]Write to MH i2c: E2 BE 00 6A 00 80 0D 02 02 B6 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 55 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C3 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 20 09 00 00 00 00 07 04 06 00 F0 55 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 BB 32 5D 66 0E 04 04 00 78 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 10 04 04 00 D0 9B 00 00 35 04 06 00 DA 1C 95 2A 7A 43 00 00 CD [03:04:28]Write i2c OK [03:04:28]MH_I2C_Read... [03:04:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:04:28]Read from MH i2c: E2 [03:04:28]MH_I2C_Read... [03:04:28]Read from MH i2c: E2 03 00 [03:04:28]MH_I2C_Read... [03:04:28]Read from MH i2c: E2 03 00 6A 00 00 90 00 DE [03:04:28]RAPDU: 90 00 [03:04:28]wFMCommunicate OK [03:04:28]wFMCommunicate request_size=4 [03:04:28]MH_SAM_APDU [03:04:28]CAPDU: 80 0D 03 02 [03:04:28]Write to MH i2c: E2 08 00 6B 00 80 0D 03 02 00 00 00 00 E6 [03:04:28]Write i2c OK [03:04:28]MH_I2C_Read... [03:04:28]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [03:04:28]Read from MH i2c: E2 [03:04:28]MH_I2C_Read... [03:04:28]Read from MH i2c: E2 0B 00 [03:04:28]MH_I2C_Read... [03:04:28]Read from MH i2c: E2 0B 00 6B 00 00 4A 03 D8 6A D2 95 4F 8C 90 00 B8 [03:04:28]RAPDU: 4A 03 D8 6A D2 95 4F 8C 90 00 [03:04:28]wFMCommunicate OK [03:04:28]SAM_PROTO_SignData done [03:04:28]FM_MakeSignedData done [03:04:28]CreateOFDProtocolMessage [03:04:28]wFMCommunicate request_size=4 [03:04:28]MH_SAM_APDU [03:04:28]CAPDU: 80 11 00 00 [03:04:28]Write to MH i2c: E2 08 00 6C 00 80 11 00 00 00 00 00 00 E6 [03:04:28]Write i2c OK [03:04:28]MH_I2C_Read... [03:04:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [03:04:28]Read from MH i2c: E2 [03:04:28]MH_I2C_Read... [03:04:28]Read from MH i2c: E2 17 00 [03:04:28]MH_I2C_Read... [03:04:28]Read from MH i2c: E2 17 00 6C 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 90 00 3E [03:04:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 90 00 [03:04:28]wFMCommunicate OK [03:04:28]CreateOFDProtocolMessage done [03:04:28]OFDSenderStorePacket 39888 [03:04:28]StoreOFDPacket docnum=39888 [03:04:28]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 C0 01 00 00 41 35 B8 01 73 5A 5A 03 01 00 03 00 AC 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 32 30 30 30 30 33 32 37 38 30 30 31 35 06 04 39 00 D0 A1 D0 BB D0 BE D0 B9 D0 BA D0 B0 20 44 43 20 D1 82 D1 80 D0 B5 D1 83 D0 B3 D0 BE D0 BB D1 8C D0 BD D0 B0 D1 8F 20 D0 BA D1 83 D1 80 D0 B8 D1 86 D0 B0 20 31 31 30 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 36 36 30 30 38 35 35 31 35 31 36 33 06 04 39 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 A1 D0 BD D0 B8 D0 BA D0 B5 D1 80 D1 81 20 D1 81 D1 83 D0 BF D0 B5 D1 80 20 39 35 2F 38 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 55 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C3 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 20 09 00 00 00 00 07 04 06 00 F0 55 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 BB 32 5D 66 0E 04 04 00 78 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 10 04 04 00 D0 9B 00 00 35 04 06 00 DA 1C 95 2A 7A 43 4A 03 D8 6A D2 95 4F 8C [03:04:28]CheckFolder [03:04:28]dirname=/storage/ofd_packets [03:04:28]CheckFolder done [03:04:28]ProducePacketName [03:04:28]name=ofd_packets/00039888 [03:04:28]NVStorageSaveData ofd_packets/00039888 [03:04:28]File name is /storage/ofd_packets/00039888 [03:04:28]Write 478 bytes [03:04:28]NVStorageSaveData done [03:04:28]OFDSenderStorePacket done [03:04:28]KKMCreateOFDPacket done [03:04:28]NVStorageSaveData kkm_last_timestamp [03:04:28]File name is /storage/kkm_last_timestamp [03:04:28]Write 4 bytes [03:04:28]NVStorageSaveData done [03:04:28]ExternCall_PrintAddStr [03:04:28]wPrintStart [03:04:28]Write to MH i2c: 01 00 00 6D 00 6D [03:04:28]OFD Sender: Processing packet 39888 [packets to send 5, broken 4] [03:04:28]ProducePacketName [03:04:28]name=ofd_packets/00039888 [03:04:28]OFD Sender: To server: pG, [03:04:28]CommunicateWithHost lk.salyk.kg:30040 [03:04:29]ConnectInit lk.salyk.kg [03:04:29]Write i2c OK [03:04:29]MH_I2C_Read... [03:04:29]Read from MH i2c: 01 [03:04:29]MH_I2C_Read... [03:04:29]Read from MH i2c: 01 07 00 [03:04:29]MH_I2C_Read... [03:04:29]Read from MH i2c: 01 07 00 6D 00 00 00 00 00 00 FF 0F 82 [03:04:29]RasterBufferAndPrint [03:04:29]line Счет N : (3)176447 [03:04:29]line ИНН: 02508201610067 [03:04:29]line Контрольно-Кассовый Чек [03:04:29]line ПРОДАЖА [03:04:29]line Товар: 2000032780015 [03:04:29]line Слойка DC треугольная курица 110г [03:04:29]line 2.000 * 65.00 [03:04:29]line = 130.00 [03:04:29]line НДС 12% НСП 1% [03:04:29]line > о реализуемом товаре [03:04:29]line Товар: 4660085515163 [03:04:29]line Шок Батончик Сникерс супер 95/80г [03:04:29]line 1.000 * 90.00 [03:04:29]line = 90.00 [03:04:29]line НДС 12% НСП 1% [03:04:29]line > о реализуемом товаре [03:04:29]line ИТОГО: 220.00 [03:04:29]line НСП 1% : 1.95 [03:04:29]line НДС 12% : 23.36 [03:04:29]line Наличными: 220.00 [03:04:29]line Безнал.: 0.00 [03:04:29]line Место: АЗС № 63 "Партнер Нефть" [03:04:29]line Адрес: 720001, с. Чон Сары Ой, ул. Западная 3, 42.603516, 76.894901 [03:04:29]line СНО: Общий режим [03:04:29]line Чек 6 03.06.2024 03:04 [03:04:29]line Смена: 376 ФФД: 1.0 [03:04:29]line ЗНМ: 0300000037 [03:04:29]line РНМ: 0000000000092680 [03:04:29]line Версия ККМ: 001 [03:04:29]line ФМ: 0000000000874882 [03:04:29]line ФД: 39888 [03:04:29]line ФПД: 239816296528451 [03:04:29]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240603T030427&type=1&operation_type=1&fn_number=0000000000874882&fd_number=39888&fm=239816296528451&tin=02508201610067®Number=0000000000092680&sum=22000 [03:04:29]line 0 [03:04:29]written 0, free lines is 4095 [03:04:29]Connected sock=11 [03:04:29]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 38 32 C0 01 00 00 41 35 B8 01 73 5A 5A 03 01 00 03 00 AC 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 32 30 30 30 30 33 32 37 38 30 30 31 35 06 04 39 00 D0 A1 D0 BB D0 BE D0 B9 D0 BA D0 B0 20 44 43 20 D1 82 D1 80 D0 B5 D1 83 D0 B3 D0 BE D0 BB D1 8C D0 BD D0 B0 D1 8F 20 D0 BA D1 83 D1 80 D0 B8 D1 86 D0 B0 20 31 31 30 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 36 36 30 30 38 35 35 31 35 31 36 33 06 04 39 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 A1 D0 BD D0 B8 D0 BA D0 B5 D1 80 D1 81 20 D1 81 D1 83 D0 BF D0 B5 D1 80 20 39 35 2F 38 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 55 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C3 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 20 09 00 00 00 00 07 04 06 00 F0 55 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 BB 32 5D 66 0E 04 04 00 78 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 10 04 04 00 D0 9B 00 00 35 04 06 00 DA 1C 95 2A 7A 43 4A 03 D8 6A D2 95 4F 8C [03:04:29]Write to MH i2c: 01 00 00 9D 00 9D [03:04:29]Write i2c OK [03:04:29]MH_I2C_Read... [03:04:29]Read from MH i2c: 01 [03:04:29]MH_I2C_Read... [03:04:29]Read from MH i2c: 01 07 00 [03:04:29]MH_I2C_Read... [03:04:29]Read from MH i2c: 01 07 00 9D 00 00 00 00 00 00 BF 0C 6F [03:04:29]RasterBufferAndPrint [03:04:29]line [03:04:29]line [03:04:29]line [03:04:29]line [03:04:29]line [03:04:29]written 0, free lines is 3271 [03:04:29]MH_Cut [03:04:29]Write to MH i2c: D1 01 00 A4 00 01 76 [03:04:29]Write i2c OK [03:04:29]MH_I2C_Read... [03:04:29]Read from MH i2c: D1 [03:04:29]MH_I2C_Read... [03:04:29]Read from MH i2c: D1 01 00 [03:04:29]MH_I2C_Read... [03:04:29]Read from MH i2c: D1 01 00 A4 00 00 75 [03:04:29]Write to MH i2c: 01 00 00 A5 00 A5 [03:04:29]Write i2c OK [03:04:29]MH_I2C_Read... [03:04:29]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 4F 00 00 00 FB 1F 47 00 4C 16 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 38 32 10 04 04 00 D0 9B 00 00 F4 03 04 00 69 DB 5C 66 B6 04 01 00 00 F6 01 55 A5 AF B7 FE 0A [03:04:29]CommunicateWithHost err = 0 [03:04:29]CheckOFDResponse [03:04:29]1017 (14) - 77093643461234 [03:04:29]1041 (16) - 0000000000874882 [03:04:29]1040 (4) - 39888 [03:04:29]1012 (4) - 02.06.2024 20:51 [03:04:29]1206 (1) - 0 [03:04:29]OFD Sender: Remove packet 39888 [03:04:29]ProducePacketName [03:04:29]name=ofd_packets/00039888 [03:04:29]NVStorageDeleteData [03:04:30]OFD Sender: No OFD packet to send [03:04:30]*** Cut start [03:04:30]*** Partial cut [03:04:30]*** CUTSNS_PIN = 1 [03:04:30]*** CUTSNS_PIN = 0 [03:04:30]*** Brake cut motor [03:04:30]Read from MH i2c: 01 [03:04:30]MH_I2C_Read... [03:04:30]*** Stop cut motor [03:04:30]*** Cut end [03:04:30]Read from MH i2c: 01 07 00 [03:04:30]MH_I2C_Read... [03:04:30]Read from MH i2c: 01 07 00 A5 00 00 00 00 00 00 FF 0F BA [03:04:30]process_action close_receipt done [03:04:30]requested_data is exist [03:04:30]produce_requested_data [03:04:30]requested_item fm.sn is exist - process it [03:04:30]wFMCommunicate request_size=4 [03:04:30]MH_SAM_APDU [03:04:30]CAPDU: 80 11 00 00 [03:04:30]Write to MH i2c: E2 08 00 A6 00 80 11 00 00 00 00 00 00 20 [03:04:30]Write i2c OK [03:04:30]MH_I2C_Read... [03:04:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [03:04:30]Read from MH i2c: E2 [03:04:30]MH_I2C_Read... [03:04:30]Read from MH i2c: E2 17 00 [03:04:30]MH_I2C_Read... [03:04:30]Read from MH i2c: E2 17 00 A6 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 90 00 78 [03:04:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 90 00 [03:04:30]wFMCommunicate OK [03:04:30]requested_item fd.num is exist - process it [03:04:30]SAM_PROTO_GetFieldsCounters [03:04:30]wFMCommunicate request_size=4 [03:04:30]MH_SAM_APDU [03:04:30]CAPDU: 80 13 00 00 [03:04:30]Write to MH i2c: E2 08 00 A7 00 80 13 00 00 00 00 00 00 23 [03:04:30]Write i2c OK [03:04:30]MH_I2C_Read... [03:04:31]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [03:04:31]Read from MH i2c: E2 [03:04:31]MH_I2C_Read... [03:04:31]Read from MH i2c: E2 62 00 [03:04:31]MH_I2C_Read... [03:04:31]Read from MH i2c: E2 62 00 A7 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 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 10 04 04 00 D0 9B 00 00 0E 04 04 00 78 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 3F [03:04:31]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 38 30 10 04 04 00 D0 9B 00 00 0E 04 04 00 78 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 [03:04:31]wFMCommunicate OK [03:04:31]SAM_PROTO_GetFieldsCounters done [03:04:31]requested_item shift.num is exist - process it [03:04:31]requested_item shift.opened is exist - process it [03:04:31]req_shift_opened [03:04:31]FM_GetShiftState [03:04:31]SAM_PROTO_GetShiftState [03:04:31]wFMCommunicate request_size=4 [03:04:31]MH_SAM_APDU [03:04:31]CAPDU: 80 13 01 00 [03:04:31]Write to MH i2c: E2 08 00 A8 00 80 13 01 00 00 00 00 00 25 [03:04:31]Write i2c OK [03:04:31]MH_I2C_Read... [03:04:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:04:31]Read from MH i2c: E2 [03:04:31]MH_I2C_Read... [03:04:31]Read from MH i2c: E2 0E 00 [03:04:31]MH_I2C_Read... [03:04:31]Read from MH i2c: E2 0E 00 A8 00 00 09 00 01 49 0B 5D 66 00 00 00 00 90 00 48 [03:04:31]RAPDU: 09 00 01 49 0B 5D 66 00 00 00 00 90 00 [03:04:31]wFMCommunicate OK [03:04:31]SAM_PROTO_GetShiftState done [03:04:31]FM_GetShiftState done [03:04:31]req_shift_opened done [03:04:31]requested_item shift.open_date is exist - process it [03:04:31]req_shift_open_date [03:04:31]req_shift_open_date done [03:04:31]produce_requested_data done [03:04:31]produce_requested_data return {"fm.sn":"0000000000874882","fd.num":39888,"shift.num":376,"shift.opened":1,"shift.open_date":1717373769} [03:04:31]process_action_free close_receipt [03:04:31]json_value_free [03:04:31]json_value_free done [03:04:31]process_json_proto returns [03:04:31]Send response to host [03:04:31]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874882","fd.num":39888,"shift.num":376,"shift.opened":1,"shift.open_date":1717373769}}} [03:04:31]free response buf [03:04:31]execute_script done [03:04:31]execute_script returns [03:04:31]free content buf [03:04:31]Sock 7.Close socket [03:04:31]Sock 7.Thread stoped [03:04:35]OFD Sender: No OFD packet to send [03:04:40]OFD Sender: No OFD packet to send [03:04:45]OFD Sender: No OFD packet to send [03:04:50]OFD Sender: No OFD packet to send [03:04:55]OFD Sender: No OFD packet to send [03:05:00]OFD Sender: No OFD packet to send [03:05:05]OFD Sender: No OFD packet to send [03:05:10]OFD Sender: No OFD packet to send [03:05:15]OFD Sender: No OFD packet to send [03:05:20]OFD Sender: No OFD packet to send [03:05:25]OFD Sender: No OFD packet to send [03:05:30]OFD Sender: No OFD packet to send [03:05:35]OFD Sender: No OFD packet to send [03:05:40]OFD Sender: No OFD packet to send [03:05:45]OFD Sender: No OFD packet to send [03:05:50]OFD Sender: No OFD packet to send [03:05:55]OFD Sender: No OFD packet to send [03:06:00]OFD Sender: No OFD packet to send [03:06:05]OFD Sender: No OFD packet to send [03:06:10]OFD Sender: No OFD packet to send [03:06:15]OFD Sender: No OFD packet to send [03:06:20]OFD Sender: No OFD packet to send [03:06:25]OFD Sender: No OFD packet to send [03:06:30]OFD Sender: No OFD packet to send [03:06:35]OFD Sender: No OFD packet to send [03:06:40]OFD Sender: No OFD packet to send [03:06:45]OFD Sender: No OFD packet to send [03:06:50]OFD Sender: No OFD packet to send [03:06:55]OFD Sender: No OFD packet to send [03:07:00]OFD Sender: No OFD packet to send [03:07:05]OFD Sender: No OFD packet to send [03:07:10]OFD Sender: No OFD packet to send [03:07:15]OFD Sender: No OFD packet to send [03:07:20]OFD Sender: No OFD packet to send [03:07:25]OFD Sender: No OFD packet to send [03:07:30]OFD Sender: No OFD packet to send [03:07:35]OFD Sender: No OFD packet to send [03:07:40]OFD Sender: No OFD packet to send [03:07:45]OFD Sender: No OFD packet to send [03:07:50]OFD Sender: No OFD packet to send [03:07:55]OFD Sender: No OFD packet to send [03:08:00]OFD Sender: No OFD packet to send [03:08:05]OFD Sender: No OFD packet to send [03:08:10]OFD Sender: No OFD packet to send [03:08:15]OFD Sender: No OFD packet to send [03:08:20]OFD Sender: No OFD packet to send [03:08:25]OFD Sender: No OFD packet to send [03:08:30]OFD Sender: No OFD packet to send [03:08:35]OFD Sender: No OFD packet to send [03:08:40]OFD Sender: No OFD packet to send [03:08:45]OFD Sender: No OFD packet to send [03:08:50]OFD Sender: No OFD packet to send [03:08:55]OFD Sender: No OFD packet to send [03:09:00]OFD Sender: No OFD packet to send [03:09:05]OFD Sender: No OFD packet to send [03:09:10]OFD Sender: No OFD packet to send [03:09:15]OFD Sender: No OFD packet to send [03:09:20]OFD Sender: No OFD packet to send [03:09:25]OFD Sender: No OFD packet to send [03:09:30]OFD Sender: No OFD packet to send [03:09:35]OFD Sender: No OFD packet to send [03:09:40]OFD Sender: No OFD packet to send [03:09:45]OFD Sender: No OFD packet to send [03:09:50]OFD Sender: No OFD packet to send [03:09:55]OFD Sender: No OFD packet to send [03:10:00]OFD Sender: No OFD packet to send [03:10:05]OFD Sender: No OFD packet to send [03:10:10]OFD Sender: No OFD packet to send [03:10:15]OFD Sender: No OFD packet to send [03:10:20]OFD Sender: No OFD packet to send [03:10:25]OFD Sender: No OFD packet to send [03:10:30]OFD Sender: No OFD packet to send [03:10:35]OFD Sender: No OFD packet to send [03:10:40]OFD Sender: No OFD packet to send [03:10:45]OFD Sender: No OFD packet to send [03:10:50]OFD Sender: No OFD packet to send [03:10:55]OFD Sender: No OFD packet to send [03:11:00]OFD Sender: No OFD packet to send [03:11:05]OFD Sender: No OFD packet to send [03:11:10]OFD Sender: No OFD packet to send [03:11:15]OFD Sender: No OFD packet to send [03:11:20]OFD Sender: No OFD packet to send [03:11:25]OFD Sender: No OFD packet to send [03:11:30]OFD Sender: No OFD packet to send [03:11:35]OFD Sender: No OFD packet to send [03:11:40]OFD Sender: No OFD packet to send [03:11:45]OFD Sender: No OFD packet to send [03:11:50]OFD Sender: No OFD packet to send [03:11:55]OFD Sender: No OFD packet to send [03:12:00]OFD Sender: No OFD packet to send [03:12:05]OFD Sender: No OFD packet to send [03:12:10]OFD Sender: No OFD packet to send [03:12:15]OFD Sender: No OFD packet to send [03:12:20]OFD Sender: No OFD packet to send [03:12:25]OFD Sender: No OFD packet to send [03:12:30]OFD Sender: No OFD packet to send