[03:12:14]OFD Sender: No OFD packet to send [03:12:19]OFD Sender: No OFD packet to send [03:12:24]OFD Sender: No OFD packet to send [03:12:29]OFD Sender: No OFD packet to send [03:12:34]OFD Sender: No OFD packet to send [03:12:39]OFD Sender: No OFD packet to send [03:12:44]OFD Sender: No OFD packet to send [03:12:49]OFD Sender: No OFD packet to send [03:12:54]OFD Sender: No OFD packet to send [03:12:59]OFD Sender: No OFD packet to send [03:13:04]OFD Sender: No OFD packet to send [03:13:09]OFD Sender: No OFD packet to send [03:13:14]OFD Sender: No OFD packet to send [03:13:19]OFD Sender: No OFD packet to send [03:13:24]OFD Sender: No OFD packet to send [03:13:29]OFD Sender: No OFD packet to send [03:13:34]OFD Sender: No OFD packet to send [03:13:39]OFD Sender: No OFD packet to send [03:13:44]OFD Sender: No OFD packet to send [03:13:49]OFD Sender: No OFD packet to send [03:13:54]OFD Sender: No OFD packet to send [03:13:59]OFD Sender: No OFD packet to send [03:14:04]OFD Sender: No OFD packet to send [03:14:09]OFD Sender: No OFD packet to send [03:14:14]OFD Sender: No OFD packet to send [03:14:19]OFD Sender: No OFD packet to send [03:14:24]OFD Sender: No OFD packet to send [03:14:29]OFD Sender: No OFD packet to send [03:14:34]OFD Sender: No OFD packet to send [03:14:39]OFD Sender: No OFD packet to send [03:14:44]OFD Sender: No OFD packet to send [03:14:49]OFD Sender: No OFD packet to send [03:14:54]OFD Sender: No OFD packet to send [03:14:59]OFD Sender: No OFD packet to send [03:15:04]OFD Sender: No OFD packet to send [03:15:09]OFD Sender: No OFD packet to send [03:15:14]OFD Sender: No OFD packet to send [03:15:19]OFD Sender: No OFD packet to send [03:15:24]OFD Sender: No OFD packet to send [03:15:29]OFD Sender: No OFD packet to send [03:15:34]OFD Sender: No OFD packet to send [03:15:39]OFD Sender: No OFD packet to send [03:15:44]OFD Sender: No OFD packet to send [03:15:49]OFD Sender: No OFD packet to send [03:15:54]OFD Sender: No OFD packet to send [03:15:59]OFD Sender: No OFD packet to send [03:16:04]OFD Sender: No OFD packet to send [03:16:09]OFD Sender: No OFD packet to send [03:16:14]OFD Sender: No OFD packet to send [03:16:19]OFD Sender: No OFD packet to send [03:16:24]OFD Sender: No OFD packet to send [03:16:29]OFD Sender: No OFD packet to send [03:16:34]OFD Sender: No OFD packet to send [03:16:39]OFD Sender: No OFD packet to send [03:16:44]OFD Sender: No OFD packet to send [03:16:49]OFD Sender: No OFD packet to send [03:16:54]OFD Sender: No OFD packet to send [03:16:59]OFD Sender: No OFD packet to send [03:17:04]OFD Sender: No OFD packet to send [03:17:09]OFD Sender: No OFD packet to send [03:17:14]OFD Sender: No OFD packet to send [03:17:19]OFD Sender: No OFD packet to send [03:17:24]OFD Sender: No OFD packet to send [03:17:29]OFD Sender: No OFD packet to send [03:17:34]OFD Sender: No OFD packet to send [03:17:39]OFD Sender: No OFD packet to send [03:17:44]OFD Sender: No OFD packet to send [03:17:49]OFD Sender: No OFD packet to send [03:17:54]OFD Sender: No OFD packet to send [03:17:59]OFD Sender: No OFD packet to send [03:18:04]OFD Sender: No OFD packet to send [03:18:09]OFD Sender: No OFD packet to send [03:18:14]OFD Sender: No OFD packet to send [03:18:19]OFD Sender: No OFD packet to send [03:18:24]OFD Sender: No OFD packet to send [03:18:29]OFD Sender: No OFD packet to send [03:18:34]OFD Sender: No OFD packet to send [03:18:39]OFD Sender: No OFD packet to send [03:18:44]OFD Sender: No OFD packet to send [03:18:49]OFD Sender: No OFD packet to send [03:18:54]OFD Sender: No OFD packet to send [03:18:59]OFD Sender: No OFD packet to send [03:19:04]OFD Sender: No OFD packet to send [03:19:09]OFD Sender: No OFD packet to send [03:19:14]OFD Sender: No OFD packet to send [03:19:19]OFD Sender: No OFD packet to send [03:19:24]OFD Sender: No OFD packet to send [03:19:29]OFD Sender: No OFD packet to send [03:19:34]OFD Sender: No OFD packet to send [03:19:39]OFD Sender: No OFD packet to send [03:19:44]OFD Sender: No OFD packet to send [03:19:49]OFD Sender: No OFD packet to send [03:19:54]OFD Sender: No OFD packet to send [03:19:59]OFD Sender: No OFD packet to send [03:20:04]OFD Sender: No OFD packet to send [03:20:09]OFD Sender: No OFD packet to send [03:20:14]OFD Sender: No OFD packet to send [03:20:19]OFD Sender: No OFD packet to send [03:20:24]OFD Sender: No OFD packet to send [03:20:29]OFD Sender: No OFD packet to send [03:20:34]OFD Sender: No OFD packet to send [03:20:39]OFD Sender: No OFD packet to send [03:20:44]OFD Sender: No OFD packet to send [03:20:49]OFD Sender: No OFD packet to send [03:20:54]OFD Sender: No OFD packet to send [03:20:59]OFD Sender: No OFD packet to send [03:21:04]OFD Sender: No OFD packet to send [03:21:09]OFD Sender: No OFD packet to send [03:21:14]OFD Sender: No OFD packet to send [03:21:19]OFD Sender: No OFD packet to send [03:21:24]OFD Sender: No OFD packet to send [03:21:29]OFD Sender: No OFD packet to send [03:21:34]OFD Sender: No OFD packet to send [03:21:39]OFD Sender: No OFD packet to send [03:21:44]OFD Sender: No OFD packet to send [03:21:49]OFD Sender: No OFD packet to send [03:21:54]OFD Sender: No OFD packet to send [03:21:59]OFD Sender: No OFD packet to send [03:22:04]OFD Sender: No OFD packet to send [03:22:09]OFD Sender: No OFD packet to send [03:22:14]OFD Sender: No OFD packet to send [03:22:19]OFD Sender: No OFD packet to send [03:22:24]OFD Sender: No OFD packet to send [03:22:29]OFD Sender: No OFD packet to send [03:22:34]OFD Sender: No OFD packet to send [03:22:39]OFD Sender: No OFD packet to send [03:22:44]OFD Sender: No OFD packet to send [03:22:49]OFD Sender: No OFD packet to send [03:22:54]OFD Sender: No OFD packet to send [03:22:59]OFD Sender: No OFD packet to send [03:23:04]OFD Sender: No OFD packet to send [03:23:09]OFD Sender: No OFD packet to send [03:23:14]OFD Sender: No OFD packet to send [03:23:19]OFD Sender: No OFD packet to send [03:23:24]OFD Sender: No OFD packet to send [03:23:29]OFD Sender: No OFD packet to send [03:23:34]OFD Sender: No OFD packet to send [03:23:39]OFD Sender: No OFD packet to send [03:23:44]OFD Sender: No OFD packet to send [03:23:49]OFD Sender: No OFD packet to send [03:23:54]OFD Sender: No OFD packet to send [03:23:59]OFD Sender: No OFD packet to send [03:24:04]OFD Sender: No OFD packet to send [03:24:09]OFD Sender: No OFD packet to send [03:24:14]OFD Sender: No OFD packet to send [03:24:19]OFD Sender: No OFD packet to send [03:24:24]OFD Sender: No OFD packet to send [03:24:29]OFD Sender: No OFD packet to send [03:24:34]OFD Sender: No OFD packet to send [03:24:39]OFD Sender: No OFD packet to send [03:24:44]OFD Sender: No OFD packet to send [03:24:49]OFD Sender: No OFD packet to send [03:24:54]OFD Sender: No OFD packet to send [03:24:59]OFD Sender: No OFD packet to send [03:25:04]OFD Sender: No OFD packet to send [03:25:07]accept exits with 9 [03:25:07]New connection [03:25:07]New thread 3066695012 created [03:25:07]Thread 3066838372 joined [03:25:07]Waiting for new connection... [03:25:07] Sock 9.Parse request [03:25:07]Sock 9.Check first char [03:25:07]Sock 9.First char is OK [03:25:07]request: POST /json_proto HTTP/1.0 [03:25:07]Method: POST [03:25:07]URL: /json_proto [03:25:07]Method is POST - this is cgi request [03:25:07]url: /json_proto [03:25:07]query_string will be loaded in cgi processing [03:25:07]execute_cgi json_proto POST (null) [03:25:07]execute_cgi path=json_proto method=POST [03:25:07]POST find Content-Length [03:25:07]Host: 172.17.35.133:8080 [03:25:07]Content-Length: 621 [03:25:07]Content-Type: application/json [03:25:07] [03:25:07]POST finish read [03:25:07]Found Content-Length = 621 [03:25:07]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254453", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [03:25:07]execute_script... [03:25:07]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254453", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [03:25:07]POST & json_proto [03:25:07]process_json_proto [03:25:07]json parsed OK: [03:25:07]protocol is kg_v1.0 [03:25:07]action value=close_receipt [03:25:07]process_action close_receipt [03:25:07]cmd_close_receipt [03:25:07]MH_GetDate [03:25:07]Write to MH i2c: F0 00 00 68 19 70 [03:25:07]Write i2c OK [03:25:07]MH_I2C_Read... [03:25:07]Read from MH i2c: F0 [03:25:07]MH_I2C_Read... [03:25:07]Read from MH i2c: F0 09 00 [03:25:07]MH_I2C_Read... [03:25:07]Read from MH i2c: F0 09 00 68 19 00 19 5B 6E 66 8C 55 28 65 2F [03:25:07]GetLastDocTimeStamp 1718506701 [03:25:07]current date 1718508313 [03:25:07]FM_GetShiftState [03:25:07]SAM_PROTO_GetShiftState [03:25:07]wFMCommunicate request_size=4 [03:25:07]MH_SAM_APDU [03:25:07]CAPDU: 80 13 01 00 [03:25:07]Write to MH i2c: E2 08 00 69 19 80 13 01 00 00 00 00 00 FF [03:25:07]Write i2c OK [03:25:07]MH_I2C_Read... [03:25:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:25:07]Read from MH i2c: E2 [03:25:07]MH_I2C_Read... [03:25:07]Read from MH i2c: E2 0E 00 [03:25:07]MH_I2C_Read... [03:25:07]Read from MH i2c: E2 0E 00 69 19 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 20 [03:25:07]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [03:25:07]wFMCommunicate OK [03:25:07]SAM_PROTO_GetShiftState done [03:25:07]FM_GetShiftState done [03:25:07]opened in 1718497297 [03:25:07]opened+sec_in_day 1718583697 [03:25:07]quantity*price = 14000 [03:25:07]sum+1 = 14001 [03:25:07]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 140.00 НСП 1% : 1.24 НДС 12% : 14.87 Наличными: 140.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 4 16.06.2024 03:25 Смена: 327 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22239 ФПД: 131502724200570 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T032513&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22239&fm=131502724200570&tin=02508201610067®Number=0000000000099755&sum=14000 0 [03:25:08]StoreToDocumentArchive [03:25:08]shift 327 fd 22239 [03:25:08]save to /storage/0327/doc_00022239 [03:25:08]save last doc name /storage/0327/doc_00022239 to /storage/kkm_last_doc_name [03:25:08]save OK [03:25:08]Clear old archive folders... [03:25:08]ProcessDocumentItem done err = 0, tmpTLVsize=273 [03:25:08]tlvbuf is 001FAD70 [03:25:08]SAM_PROTO_ClearQueue [03:25:08]wFMCommunicate request_size=4 [03:25:08]MH_SAM_APDU [03:25:08]CAPDU: 80 09 00 00 [03:25:08]Write to MH i2c: E2 08 00 76 19 80 09 00 00 00 00 00 00 01 [03:25:08]Write i2c OK [03:25:08]MH_I2C_Read... [03:25:08]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [03:25:08]Read from MH i2c: E2 [03:25:08]MH_I2C_Read... [03:25:08]Read from MH i2c: E2 03 00 [03:25:08]MH_I2C_Read... [03:25:08]Read from MH i2c: E2 03 00 76 19 00 90 00 03 [03:25:08]RAPDU: 90 00 [03:25:08]wFMCommunicate OK [03:25:08]SAM_PROTO_ClearQueue done [03:25:08]KKMCreateOFDPacket [03:25:08]OFDProtocolAddRootSTLVToBuf [03:25:08]FM_MakeSignedData [03:25:08]FM_MakeSignedData [03:25:08]SAM_PROTO_SignData [03:25:08]wFMCommunicate request_size=4 [03:25:08]MH_SAM_APDU [03:25:08]CAPDU: 80 0D 01 02 [03:25:08]Write to MH i2c: E2 08 00 77 19 80 0D 01 02 00 00 00 00 09 [03:25:08]Write i2c OK [03:25:08]MH_I2C_Read... [03:25:08]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [03:25:08]Read from MH i2c: E2 [03:25:08]MH_I2C_Read... [03:25:08]Read from MH i2c: E2 03 00 [03:25:08]MH_I2C_Read... [03:25:08]Read from MH i2c: E2 03 00 77 19 00 90 00 04 [03:25:08]RAPDU: 90 00 [03:25:08]wFMCommunicate OK [03:25:08]wFMCommunicate request_size=255 [03:25:08]MH_SAM_APDU [03:25:08]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 19 5B 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 [03:25:08]Write to MH i2c: E2 02 01 78 19 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 19 5B 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 00 00 9C [03:25:08]Write i2c OK [03:25:08]MH_I2C_Read... [03:25:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:25:08]Read from MH i2c: E2 [03:25:08]MH_I2C_Read... [03:25:08]Read from MH i2c: E2 03 00 [03:25:08]MH_I2C_Read... [03:25:08]Read from MH i2c: E2 03 00 78 19 00 90 00 05 [03:25:08]RAPDU: 90 00 [03:25:08]wFMCommunicate OK [03:25:08]wFMCommunicate request_size=32 [03:25:08]MH_SAM_APDU [03:25:08]CAPDU: 80 0D 02 02 1B 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 DF 56 00 00 0E 04 04 00 47 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 F6 [03:25:11]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 DF 56 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 04 00 00 00 5E 04 04 00 04 00 00 00 57 04 04 00 05 00 00 00 19 04 04 00 00 00 00 00 90 00 [03:25:11]wFMCommunicate OK [03:25:11]SAM_PROTO_GetFieldsCounters done [03:25:11]requested_item shift.num is exist - process it [03:25:11]requested_item shift.opened is exist - process it [03:25:11]req_shift_opened [03:25:11]FM_GetShiftState [03:25:11]SAM_PROTO_GetShiftState [03:25:11]wFMCommunicate request_size=4 [03:25:11]MH_SAM_APDU [03:25:11]CAPDU: 80 13 01 00 [03:25:11]Write to MH i2c: E2 08 00 AF 19 80 13 01 00 00 00 00 00 45 [03:25:11]Write i2c OK [03:25:11]MH_I2C_Read... [03:25:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:25:11]Read from MH i2c: E2 [03:25:11]MH_I2C_Read... [03:25:11]Read from MH i2c: E2 0E 00 [03:25:11]MH_I2C_Read... [03:25:11]Read from MH i2c: E2 0E 00 AF 19 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 66 [03:25:11]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [03:25:11]wFMCommunicate OK [03:25:11]SAM_PROTO_GetShiftState done [03:25:11]FM_GetShiftState done [03:25:11]req_shift_opened done [03:25:11]requested_item shift.open_date is exist - process it [03:25:11]req_shift_open_date [03:25:11]req_shift_open_date done [03:25:11]produce_requested_data done [03:25:11]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22239,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297} [03:25:11]process_action_free close_receipt [03:25:11]json_value_free [03:25:11]json_value_free done [03:25:11]process_json_proto returns [03:25:11]Send response to host [03:25:11]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22239,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297}}} [03:25:11]free response buf [03:25:11]execute_script done [03:25:11]execute_script returns [03:25:11]free content buf [03:25:11]Sock 9.Close socket [03:25:11]Sock 9.Thread stoped [03:25:15]OFD Sender: No OFD packet to send [03:25:18]recv_with_timeout no data received [03:25:20]OFD Sender: No OFD packet to send [03:25:25]OFD Sender: No OFD packet to send [03:25:30]OFD Sender: No OFD packet to send [03:25:35]OFD Sender: No OFD packet to send [03:25:40]OFD Sender: No OFD packet to send [03:25:45]OFD Sender: No OFD packet to send [03:25:50]OFD Sender: No OFD packet to send [03:25:55]OFD Sender: No OFD packet to send [03:26:00]OFD Sender: No OFD packet to send [03:26:05]OFD Sender: No OFD packet to send [03:26:10]OFD Sender: No OFD packet to send [03:26:15]OFD Sender: No OFD packet to send [03:26:20]OFD Sender: No OFD packet to send [03:26:25]OFD Sender: No OFD packet to send [03:26:30]OFD Sender: No OFD packet to send [03:26:35]OFD Sender: No OFD packet to send [03:26:40]OFD Sender: No OFD packet to send [03:26:45]OFD Sender: No OFD packet to send [03:26:50]OFD Sender: No OFD packet to send [03:26:55]OFD Sender: No OFD packet to send [03:27:00]OFD Sender: No OFD packet to send [03:27:05]OFD Sender: No OFD packet to send [03:27:10]OFD Sender: No OFD packet to send [03:27:15]OFD Sender: No OFD packet to send [03:27:20]OFD Sender: No OFD packet to send [03:27:25]OFD Sender: No OFD packet to send [03:27:30]OFD Sender: No OFD packet to send [03:27:34]ConnectInit Can't connect to host [03:27:35]OFD Sender: No OFD packet to send [03:27:40]OFD Sender: No OFD packet to send [03:27:45]OFD Sender: No OFD packet to send [03:27:50]OFD Sender: No OFD packet to send [03:27:55]OFD Sender: No OFD packet to send [03:28:00]OFD Sender: No OFD packet to send [03:28:05]OFD Sender: No OFD packet to send [03:28:10]OFD Sender: No OFD packet to send [03:28:15]OFD Sender: No OFD packet to send [03:28:20]OFD Sender: No OFD packet to send [03:28:25]OFD Sender: No OFD packet to send [03:28:30]OFD Sender: No OFD packet to send [03:28:35]OFD Sender: No OFD packet to send [03:28:40]OFD Sender: No OFD packet to send [03:28:45]OFD Sender: No OFD packet to send [03:28:50]OFD Sender: No OFD packet to send [03:28:55]OFD Sender: No OFD packet to send [03:29:00]OFD Sender: No OFD packet to send [03:29:05]OFD Sender: No OFD packet to send [03:29:10]OFD Sender: No OFD packet to send [03:29:15]OFD Sender: No OFD packet to send [03:29:20]OFD Sender: No OFD packet to send [03:29:25]OFD Sender: No OFD packet to send [03:29:30]OFD Sender: No OFD packet to send [03:29:35]OFD Sender: No OFD packet to send [03:29:40]OFD Sender: No OFD packet to send [03:29:45]OFD Sender: No OFD packet to send [03:29:50]OFD Sender: No OFD packet to send [03:29:55]OFD Sender: No OFD packet to send [03:30:00]OFD Sender: No OFD packet to send [03:30:05]OFD Sender: No OFD packet to send [03:30:10]OFD Sender: No OFD packet to send [03:30:15]OFD Sender: No OFD packet to send [03:30:20]OFD Sender: No OFD packet to send [03:30:25]OFD Sender: No OFD packet to send [03:30:30]OFD Sender: No OFD packet to send [03:30:35]OFD Sender: No OFD packet to send [03:30:40]OFD Sender: No OFD packet to send [03:30:45]OFD Sender: No OFD packet to send [03:30:50]OFD Sender: No OFD packet to send [03:30:55]OFD Sender: No OFD packet to send [03:31:00]OFD Sender: No OFD packet to send [03:31:05]OFD Sender: No OFD packet to send [03:31:10]OFD Sender: No OFD packet to send [03:31:15]OFD Sender: No OFD packet to send [03:31:20]OFD Sender: No OFD packet to send [03:31:25]OFD Sender: No OFD packet to send [03:31:30]OFD Sender: No OFD packet to send [03:31:35]OFD Sender: No OFD packet to send [03:31:40]OFD Sender: No OFD packet to send [03:31:45]OFD Sender: No OFD packet to send [03:31:50]OFD Sender: No OFD packet to send [03:31:55]OFD Sender: No OFD packet to send [03:32:00]OFD Sender: No OFD packet to send [03:32:05]OFD Sender: No OFD packet to send [03:32:10]OFD Sender: No OFD packet to send [03:32:15]OFD Sender: No OFD packet to send [03:32:20]OFD Sender: No OFD packet to send [03:32:25]OFD Sender: No OFD packet to send [03:32:30]OFD Sender: No OFD packet to send [03:32:35]OFD Sender: No OFD packet to send [03:32:40]OFD Sender: No OFD packet to send [03:32:45]OFD Sender: No OFD packet to send [03:32:50]OFD Sender: No OFD packet to send [03:32:55]OFD Sender: No OFD packet to send [03:33:00]OFD Sender: No OFD packet to send [03:33:05]OFD Sender: No OFD packet to send [03:33:10]OFD Sender: No OFD packet to send [03:33:15]OFD Sender: No OFD packet to send [03:33:20]OFD Sender: No OFD packet to send [03:33:25]OFD Sender: No OFD packet to send [03:33:30]OFD Sender: No OFD packet to send [03:33:35]OFD Sender: No OFD packet to send [03:33:40]OFD Sender: No OFD packet to send [03:33:45]OFD Sender: No OFD packet to send [03:33:50]OFD Sender: No OFD packet to send [03:33:55]OFD Sender: No OFD packet to send [03:34:00]OFD Sender: No OFD packet to send [03:34:04]recv_with_timeout no data received [03:34:05]OFD Sender: No OFD packet to send [03:34:10]OFD Sender: No OFD packet to send [03:34:15]OFD Sender: No OFD packet to send [03:34:20]OFD Sender: No OFD packet to send [03:34:45]OFD Sender: No OFD packet to send [03:34:50]OFD Sender: No OFD packet to send [03:34:55]OFD Sender: No OFD packet to send [03:35:00]OFD Sender: No OFD packet to send [03:35:05]OFD Sender: No OFD packet to send [03:35:10]OFD Sender: No OFD packet to send [03:35:15]OFD Sender: No OFD packet to send [03:35:20]OFD Sender: No OFD packet to send [03:35:25]OFD Sender: No OFD packet to send [03:35:30]OFD Sender: No OFD packet to send [03:35:35]OFD Sender: No OFD packet to send [03:35:40]OFD Sender: No OFD packet to send [03:35:45]OFD Sender: No OFD packet to send [03:35:50]OFD Sender: No OFD packet to send [03:35:55]OFD Sender: No OFD packet to send [03:36:00]OFD Sender: No OFD packet to send [03:36:05]OFD Sender: No OFD packet to send [03:36:10]OFD Sender: No OFD packet to send [03:36:15]OFD Sender: No OFD packet to send [03:36:20]OFD Sender: No OFD packet to send [03:36:25]OFD Sender: No OFD packet to send [03:36:30]OFD Sender: No OFD packet to send [03:36:35]OFD Sender: No OFD packet to send [03:36:40]OFD Sender: No OFD packet to send [03:36:45]OFD Sender: No OFD packet to send [03:36:50]OFD Sender: No OFD packet to send [03:36:52]ConnectInit Can't connect to host [03:36:55]OFD Sender: No OFD packet to send [03:41:33]ConnectInit Can't connect to host [03:41:36]OFD Sender: No OFD packet to send [03:41:41]OFD Sender: No OFD packet to send [03:41:46]OFD Sender: No OFD packet to send [03:41:51]OFD Sender: No OFD packet to send [03:41:56]OFD Sender: No OFD packet to send [03:42:01]OFD Sender: No OFD packet to send [03:42:06]OFD Sender: No OFD packet to send [03:42:11]OFD Sender: No OFD packet to send [03:42:16]OFD Sender: No OFD packet to send [03:42:21]OFD Sender: No OFD packet to send [03:42:26]OFD Sender: No OFD packet to send [03:42:31]OFD Sender: No OFD packet to send [03:42:36]OFD Sender: No OFD packet to send [03:42:41]OFD Sender: No OFD packet to send [03:42:46]OFD Sender: No OFD packet to send [03:42:51]OFD Sender: No OFD packet to send [03:42:56]OFD Sender: No OFD packet to send [03:43:01]OFD Sender: No OFD packet to send [03:43:06]OFD Sender: No OFD packet to send [03:43:11]OFD Sender: No OFD packet to send [03:43:16]OFD Sender: No OFD packet to send [03:43:21]OFD Sender: No OFD packet to send [03:43:26]OFD Sender: No OFD packet to send [03:43:31]OFD Sender: No OFD packet to send [03:43:36]OFD Sender: No OFD packet to send [03:43:41]OFD Sender: No OFD packet to send [03:43:46]OFD Sender: No OFD packet to send [03:43:46]recv_with_timeout no data received [03:43:51]OFD Sender: No OFD packet to send [03:43:56]OFD Sender: No OFD packet to send [03:44:01]OFD Sender: No OFD packet to send [03:44:06]OFD Sender: No OFD packet to send [03:44:11]OFD Sender: No OFD packet to send [03:44:16]OFD Sender: No OFD packet to send [03:44:21]OFD Sender: No OFD packet to send [03:44:26]OFD Sender: No OFD packet to send [03:44:31]OFD Sender: No OFD packet to send [03:44:36]OFD Sender: No OFD packet to send [03:44:41]OFD Sender: No OFD packet to send [03:44:46]OFD Sender: No OFD packet to send [03:44:51]OFD Sender: No OFD packet to send [03:44:56]OFD Sender: No OFD packet to send [03:45:01]OFD Sender: No OFD packet to send [03:45:06]OFD Sender: No OFD packet to send [03:45:11]OFD Sender: No OFD packet to send [03:45:16]OFD Sender: No OFD packet to send [03:45:21]OFD Sender: No OFD packet to send [03:45:26]OFD Sender: No OFD packet to send [03:49:45]ConnectInit Can't connect to host [03:49:46]OFD Sender: No OFD packet to send [03:49:51]OFD Sender: No OFD packet to send [03:49:56]OFD Sender: No OFD packet to send [03:50:01]OFD Sender: No OFD packet to send [03:50:06]OFD Sender: No OFD packet to send [03:50:11]OFD Sender: No OFD packet to send [03:50:16]OFD Sender: No OFD packet to send [03:50:21]OFD Sender: No OFD packet to send [03:50:26]OFD Sender: No OFD packet to send [03:50:31]OFD Sender: No OFD packet to send [03:50:36]OFD Sender: No OFD packet to send [03:50:41]OFD Sender: No OFD packet to send [03:50:46]OFD Sender: No OFD packet to send [03:50:51]OFD Sender: No OFD packet to send [03:50:56]OFD Sender: No OFD packet to send [03:51:01]OFD Sender: No OFD packet to send [03:51:06]OFD Sender: No OFD packet to send [03:51:08]recv_with_timeout no data received [03:51:11]OFD Sender: No OFD packet to send [03:51:16]OFD Sender: No OFD packet to send [03:51:21]OFD Sender: No OFD packet to send [03:51:26]OFD Sender: No OFD packet to send [03:51:31]OFD Sender: No OFD packet to send [03:51:36]OFD Sender: No OFD packet to send [03:51:41]OFD Sender: No OFD packet to send [03:51:46]OFD Sender: No OFD packet to send [03:51:51]OFD Sender: No OFD packet to send [03:51:56]OFD Sender: No OFD packet to send [03:52:01]OFD Sender: No OFD packet to send [03:52:06]OFD Sender: No OFD packet to send [03:52:11]OFD Sender: No OFD packet to send [03:52:16]OFD Sender: No OFD packet to send [03:52:21]OFD Sender: No OFD packet to send [03:52:26]OFD Sender: No OFD packet to send [03:52:31]OFD Sender: No OFD packet to send [03:52:36]OFD Sender: No OFD packet to send [03:52:41]OFD Sender: No OFD packet to send [03:52:46]OFD Sender: No OFD packet to send [03:52:47]recv_with_timeout no data received [03:52:51]OFD Sender: No OFD packet to send [03:52:56]OFD Sender: No OFD packet to send [03:53:01]OFD Sender: No OFD packet to send [03:53:03]recv_with_timeout no data received [03:53:06]OFD Sender: No OFD packet to send [03:53:11]OFD Sender: No OFD packet to send [03:53:16]OFD Sender: No OFD packet to send [03:53:21]OFD Sender: No OFD packet to send [03:53:26]OFD Sender: No OFD packet to send [03:53:31]OFD Sender: No OFD packet to send [03:53:36]OFD Sender: No OFD packet to send [03:53:41]OFD Sender: No OFD packet to send [03:53:46]OFD Sender: No OFD packet to send [03:53:51]OFD Sender: No OFD packet to send [03:53:56]OFD Sender: No OFD packet to send [03:54:01]OFD Sender: No OFD packet to send [03:54:06]OFD Sender: No OFD packet to send [03:54:11]OFD Sender: No OFD packet to send [03:54:16]OFD Sender: No OFD packet to send [03:54:21]OFD Sender: No OFD packet to send [03:54:26]OFD Sender: No OFD packet to send [03:54:31]OFD Sender: No OFD packet to send [03:54:36]OFD Sender: No OFD packet to send [03:54:41]OFD Sender: No OFD packet to send [03:54:46]OFD Sender: No OFD packet to send [03:54:51]OFD Sender: No OFD packet to send [04:29:37]ConnectInit Can't connect to host [04:29:38]OFD Sender: Processing packet 22240 [packets to send 9, broken 4] [04:29:38]ProducePacketName [04:29:38]name=ofd_packets/00022240 [04:29:38]OFD Sender: To server: pG, [04:29:38]CommunicateWithHost lk.salyk.kg:30040 [04:29:38]ConnectInit lk.salyk.kg [04:29:39]Connected sock=8 [04:29:39]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 92 01 00 00 C5 19 8A 01 2A 58 5A 03 01 00 03 00 7E 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 36 32 30 30 30 36 39 39 30 33 38 37 06 04 1B 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A2 D0 B0 D0 BB D0 BA D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D8 D6 00 00 00 00 13 04 06 00 D8 D6 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 36 35 35 06 04 29 00 D0 A1 D0 B5 D0 BC D0 B5 D1 87 D0 BA D0 B8 20 D0 94 D0 96 D0 98 D0 9D D0 9D 20 37 30 D0 B3 20 D1 81 D0 B8 D0 BD D0 B8 D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 F2 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 25 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B8 19 00 00 00 00 07 04 06 00 30 F2 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 43 62 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 E0 56 00 00 35 04 06 00 E7 62 28 DD 34 5B 10 05 5E 19 C7 19 C0 E1 [04:29:39]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 ED 81 47 00 DC 3F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 E0 56 00 00 F4 03 04 00 F3 12 6E 66 B6 04 01 00 00 C6 38 1F A0 8E 66 78 FE [04:29:39]CommunicateWithHost err = 0 [04:29:39]CheckOFDResponse [04:29:39]1017 (14) - 77093643461234 [04:29:39]1041 (16) - 0000000000965344 [04:29:39]1040 (4) - 22240 [04:29:39]1012 (4) - 15.06.2024 22:17 [04:29:39]1206 (1) - 0 [04:29:39]OFD Sender: Remove packet 22240 [04:29:39]ProducePacketName [04:29:39]name=ofd_packets/00022240 [04:29:39]NVStorageDeleteData [04:29:40]OFD Sender: Processing packet 22241 [packets to send 8, broken 4] [04:29:40]ProducePacketName [04:29:40]name=ofd_packets/00022241 [04:29:40]OFD Sender: To server: pG, [04:29:40]CommunicateWithHost lk.salyk.kg:30040 [04:29:40]ConnectInit lk.salyk.kg [04:29:41]Connected sock=8 [04:29:41]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 31 01 00 00 83 99 29 01 2D 4C 5A 03 01 00 03 00 1D 01 1E 04 01 00 01 23 04 6F 00 8A 04 08 00 34 38 37 34 36 37 31 37 06 04 30 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 43 61 73 74 65 72 20 2B 20 44 72 65 61 6D 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 37 00 00 00 00 13 04 06 00 DC 37 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 37 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EF 05 00 00 00 00 07 04 06 00 DC 37 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 6D 62 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 E1 56 00 00 35 04 06 00 B4 55 A3 B4 A3 8F 04 E5 B5 BB AB E2 4F C7 [04:29:41]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 A8 FD 47 00 E0 4D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 E1 56 00 00 F4 03 04 00 F4 12 6E 66 B6 04 01 00 00 6F 1F 96 98 C0 DB BC D1 [04:29:41]CommunicateWithHost err = 0 [04:29:41]CheckOFDResponse [04:29:41]1017 (14) - 77093643461234 [04:29:41]1041 (16) - 0000000000965344 [04:29:41]1040 (4) - 22241 [04:29:41]1012 (4) - 15.06.2024 22:17 [04:29:41]1206 (1) - 0 [04:29:41]OFD Sender: Remove packet 22241 [04:29:41]ProducePacketName [04:29:41]name=ofd_packets/00022241 [04:29:41]NVStorageDeleteData [04:29:41]OFD Sender: Processing packet 22242 [packets to send 7, broken 4] [04:29:41]ProducePacketName [04:29:41]name=ofd_packets/00022242 [04:29:41]OFD Sender: To server: pG, [04:29:41]CommunicateWithHost lk.salyk.kg:30040 [04:29:41]ConnectInit lk.salyk.kg [04:31:55]ConnectInit Can't connect to host [04:31:55]CommunicateWithHost connect error [04:31:55]CommunicateWithHost err = -1 [04:31:55]OFD Sender: Server communicate error [04:32:00]OFD Sender: Processing packet 22242 [packets to send 7, broken 4] [04:32:00]ProducePacketName [04:32:00]name=ofd_packets/00022242 [04:32:00]OFD Sender: To server: pG, [04:32:00]CommunicateWithHost lk.salyk.kg:30040 [04:32:00]ConnectInit lk.salyk.kg [04:32:00]Connected sock=8 [04:32:00]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 9B 01 00 00 98 DD 93 01 B0 BC 5A 03 01 00 03 00 87 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 36 31 06 04 36 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 D0 BB D0 B5 D1 81 D0 BD D1 8B D0 B5 20 D1 8F D0 B3 D0 BE D0 B4 D1 8B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 2C 00 00 00 00 13 04 06 00 24 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5B 00 8A 04 08 00 34 32 31 31 33 31 36 34 06 04 1C 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 20 53 70 65 61 72 6D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 3D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8E 06 00 00 00 00 07 04 06 00 B8 3D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 41 67 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 E2 56 00 00 35 04 06 00 CD 9B 27 A8 1E CD E1 FB F6 63 99 2E 8D F6 [04:32:01]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 D9 98 47 00 0D 40 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 E2 56 00 00 F4 03 04 00 80 13 6E 66 B6 04 01 00 00 CF 56 B0 D6 32 94 D9 44 [04:32:01]CommunicateWithHost err = 0 [04:32:01]CheckOFDResponse [04:32:01]1017 (14) - 77093643461234 [04:32:01]1041 (16) - 0000000000965344 [04:32:01]1040 (4) - 22242 [04:32:01]1012 (4) - 15.06.2024 22:19 [04:32:01]1206 (1) - 0 [04:32:01]OFD Sender: Remove packet 22242 [04:32:01]ProducePacketName [04:32:01]name=ofd_packets/00022242 [04:32:01]NVStorageDeleteData [04:32:01]OFD Sender: Processing packet 22243 [packets to send 6, broken 4] [04:32:01]ProducePacketName [04:32:01]name=ofd_packets/00022243 [04:32:01]OFD Sender: To server: pG, [04:32:01]CommunicateWithHost lk.salyk.kg:30040 [04:32:01]ConnectInit lk.salyk.kg [04:32:02]Connected sock=8 [04:32:02]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 1D 01 00 00 9D C2 15 01 6D 67 5A 03 01 00 03 00 09 01 1E 04 01 00 01 23 04 5B 00 8A 04 0D 00 34 37 30 30 30 30 31 36 31 30 30 31 32 06 04 17 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 90 D1 80 D0 BF D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A4 38 00 00 00 00 13 04 06 00 A4 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A4 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 80 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 04 06 00 00 00 00 07 04 06 00 A4 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 7E 67 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 E3 56 00 00 35 04 06 00 28 C4 30 7B 66 38 2F 33 6D 5D 8D 5A EA 80 [04:32:03]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 7D 5F 47 00 2A 37 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 E3 56 00 00 F4 03 04 00 81 13 6E 66 B6 04 01 00 00 30 AB 75 64 D9 E7 B5 C6 [04:32:03]CommunicateWithHost err = 0 [04:32:03]CheckOFDResponse [04:32:03]1017 (14) - 77093643461234 [04:32:03]1041 (16) - 0000000000965344 [04:32:03]1040 (4) - 22243 [04:32:03]1012 (4) - 15.06.2024 22:19 [04:32:03]1206 (1) - 0 [04:32:03]OFD Sender: Remove packet 22243 [04:32:03]ProducePacketName [04:32:03]name=ofd_packets/00022243 [04:32:03]NVStorageDeleteData [04:32:03]OFD Sender: Processing packet 22244 [packets to send 5, broken 4] [04:32:03]ProducePacketName [04:32:03]name=ofd_packets/00022244 [04:32:03]OFD Sender: To server: pG, [04:32:03]CommunicateWithHost lk.salyk.kg:30040 [04:32:03]ConnectInit lk.salyk.kg [04:32:08]ConnectInit Can't take IP for lk.salyk.kg [04:32:08]CommunicateWithHost connect error [04:32:08]CommunicateWithHost err = -1 [04:32:08]OFD Sender: Server communicate error [04:32:13]OFD Sender: Processing packet 22244 [packets to send 5, broken 4] [04:32:13]ProducePacketName [04:32:13]name=ofd_packets/00022244 [04:32:13]OFD Sender: To server: pG, [04:32:13]CommunicateWithHost lk.salyk.kg:30040 [04:32:13]ConnectInit lk.salyk.kg [04:32:16]Connected sock=8 [04:32:16]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 24 01 00 00 48 7D 1C 01 67 4E 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 35 31 37 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B8 D0 B2 D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 48 3F 00 00 00 00 13 04 06 00 48 3F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 48 3F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B8 06 00 00 00 00 07 04 06 00 48 3F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 DB 67 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 E4 56 00 00 35 04 06 00 DF BE A0 D5 C5 9C 0F A3 9E 4F 48 67 0E D8 [04:32:16]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 AF 81 47 00 0F F5 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 E4 56 00 00 F4 03 04 00 90 13 6E 66 B6 04 01 00 00 55 E5 5E 79 64 90 3C 8E [04:32:16]CommunicateWithHost err = 0 [04:32:16]CheckOFDResponse [04:32:16]1017 (14) - 77093643461234 [04:32:16]1041 (16) - 0000000000965344 [04:32:16]1040 (4) - 22244 [04:32:16]1012 (4) - 15.06.2024 22:20 [04:32:16]1206 (1) - 0 [04:32:16]OFD Sender: Remove packet 22244 [04:32:16]ProducePacketName [04:32:16]name=ofd_packets/00022244 [04:32:16]NVStorageDeleteData [04:32:17]OFD Sender: No OFD packet to send [04:32:32]OFD Sender: No OFD packet to send [04:32:33]recv_with_timeout no data received [04:32:37]OFD Sender: No OFD packet to send [04:32:42]OFD Sender: No OFD packet to send [04:32:47]OFD Sender: No OFD packet to send [04:32:52]OFD Sender: No OFD packet to send [04:32:57]OFD Sender: No OFD packet to send [04:33:02]OFD Sender: No OFD packet to send [04:33:07]OFD Sender: No OFD packet to send [04:33:12]OFD Sender: No OFD packet to send [04:33:17]OFD Sender: No OFD packet to send [04:33:22]OFD Sender: No OFD packet to send [04:33:27]OFD Sender: No OFD packet to send [04:33:32]OFD Sender: No OFD packet to send [04:33:37]OFD Sender: No OFD packet to send [04:33:42]OFD Sender: No OFD packet to send [04:33:47]OFD Sender: No OFD packet to send [04:33:52]OFD Sender: No OFD packet to send [04:33:57]OFD Sender: No OFD packet to send [04:34:02]OFD Sender: No OFD packet to send [04:34:07]OFD Sender: No OFD packet to send [04:34:12]OFD Sender: No OFD packet to send [04:34:17]OFD Sender: No OFD packet to send [04:34:22]OFD Sender: No OFD packet to send [04:34:27]OFD Sender: No OFD packet to send [04:34:32]OFD Sender: No OFD packet to send [04:34:37]OFD Sender: No OFD packet to send [04:34:42]OFD Sender: No OFD packet to send [04:34:47]OFD Sender: No OFD packet to send [04:34:52]OFD Sender: No OFD packet to send [04:34:57]OFD Sender: No OFD packet to send [04:35:02]OFD Sender: No OFD packet to send [04:35:07]OFD Sender: No OFD packet to send [04:35:08]recv_with_timeout no data received [04:35:12]OFD Sender: No OFD packet to send [04:35:17]OFD Sender: No OFD packet to send [04:35:22]OFD Sender: No OFD packet to send [04:35:27]OFD Sender: No OFD packet to send [04:35:32]OFD Sender: No OFD packet to send [04:35:37]OFD Sender: No OFD packet to send [04:35:42]OFD Sender: No OFD packet to send [04:35:47]OFD Sender: No OFD packet to send [04:35:52]OFD Sender: No OFD packet to send [04:35:57]OFD Sender: No OFD packet to send [04:36:02]OFD Sender: No OFD packet to send [04:36:07]OFD Sender: No OFD packet to send [04:36:12]OFD Sender: No OFD packet to send [04:36:17]OFD Sender: No OFD packet to send [04:36:22]OFD Sender: No OFD packet to send [04:36:27]OFD Sender: No OFD packet to send [04:36:32]OFD Sender: No OFD packet to send [04:36:37]OFD Sender: No OFD packet to send [04:36:42]OFD Sender: No OFD packet to send [04:36:47]OFD Sender: No OFD packet to send [04:36:52]OFD Sender: No OFD packet to send [04:36:57]OFD Sender: No OFD packet to send [04:37:02]OFD Sender: No OFD packet to send [04:37:07]OFD Sender: No OFD packet to send [04:37:12]OFD Sender: No OFD packet to send [04:37:17]OFD Sender: No OFD packet to send [04:37:22]OFD Sender: No OFD packet to send [04:37:27]OFD Sender: No OFD packet to send [04:37:32]OFD Sender: No OFD packet to send [04:37:37]OFD Sender: No OFD packet to send [04:37:42]OFD Sender: No OFD packet to send [04:37:47]OFD Sender: No OFD packet to send [04:37:52]OFD Sender: No OFD packet to send [04:37:57]OFD Sender: No OFD packet to send [04:38:02]OFD Sender: No OFD packet to send [04:38:07]OFD Sender: No OFD packet to send [04:38:12]OFD Sender: No OFD packet to send [04:38:17]OFD Sender: No OFD packet to send [04:38:22]OFD Sender: No OFD packet to send [04:38:27]OFD Sender: No OFD packet to send [04:38:32]OFD Sender: No OFD packet to send [04:38:37]OFD Sender: No OFD packet to send [04:38:42]OFD Sender: No OFD packet to send [04:38:47]OFD Sender: No OFD packet to send [04:38:52]OFD Sender: No OFD packet to send [04:38:57]OFD Sender: No OFD packet to send [04:39:02]OFD Sender: No OFD packet to send [04:39:07]OFD Sender: No OFD packet to send [04:39:12]OFD Sender: No OFD packet to send [04:39:17]OFD Sender: No OFD packet to send [04:39:22]OFD Sender: No OFD packet to send [04:39:27]OFD Sender: No OFD packet to send [04:39:32]OFD Sender: No OFD packet to send [04:39:37]OFD Sender: No OFD packet to send [04:39:42]OFD Sender: No OFD packet to send [04:39:47]OFD Sender: No OFD packet to send [04:39:52]OFD Sender: No OFD packet to send [04:39:57]OFD Sender: No OFD packet to send [04:40:02]OFD Sender: No OFD packet to send [04:40:07]OFD Sender: No OFD packet to send [04:40:12]OFD Sender: No OFD packet to send [04:40:17]OFD Sender: No OFD packet to send [04:40:22]OFD Sender: No OFD packet to send [04:40:27]OFD Sender: No OFD packet to send [04:40:32]OFD Sender: No OFD packet to send [04:40:37]OFD Sender: No OFD packet to send [04:40:42]OFD Sender: No OFD packet to send [04:40:47]OFD Sender: No OFD packet to send [04:40:52]OFD Sender: No OFD packet to send [04:40:57]OFD Sender: No OFD packet to send [04:41:02]OFD Sender: No OFD packet to send [04:41:07]OFD Sender: No OFD packet to send [04:41:12]OFD Sender: No OFD packet to send [04:41:17]OFD Sender: No OFD packet to send [04:41:22]OFD Sender: No OFD packet to send [04:41:27]OFD Sender: No OFD packet to send [04:41:32]OFD Sender: No OFD packet to send [04:41:37]OFD Sender: No OFD packet to send [04:41:42]OFD Sender: No OFD packet to send [04:41:47]OFD Sender: No OFD packet to send [04:41:52]OFD Sender: No OFD packet to send [04:41:57]OFD Sender: No OFD packet to send [04:42:02]OFD Sender: No OFD packet to send [04:42:07]OFD Sender: No OFD packet to send [04:42:12]OFD Sender: No OFD packet to send [04:42:17]OFD Sender: No OFD packet to send [04:42:22]OFD Sender: No OFD packet to send [04:42:27]OFD Sender: No OFD packet to send [04:42:32]OFD Sender: No OFD packet to send [04:42:37]OFD Sender: No OFD packet to send [04:42:42]OFD Sender: No OFD packet to send [04:42:47]OFD Sender: No OFD packet to send [04:42:52]OFD Sender: No OFD packet to send [04:42:57]OFD Sender: No OFD packet to send [04:43:02]OFD Sender: No OFD packet to send [04:43:07]OFD Sender: No OFD packet to send [04:43:12]OFD Sender: No OFD packet to send [04:43:17]OFD Sender: No OFD packet to send [04:43:22]OFD Sender: No OFD packet to send [04:43:27]OFD Sender: No OFD packet to send [04:43:32]OFD Sender: No OFD packet to send [04:43:37]OFD Sender: No OFD packet to send [04:43:42]OFD Sender: No OFD packet to send [04:43:47]OFD Sender: No OFD packet to send [04:43:52]OFD Sender: No OFD packet to send [04:43:57]OFD Sender: No OFD packet to send [04:44:02]OFD Sender: No OFD packet to send [04:44:07]OFD Sender: No OFD packet to send [04:44:12]OFD Sender: No OFD packet to send [04:44:17]OFD Sender: No OFD packet to send [04:44:22]OFD Sender: No OFD packet to send [04:44:27]OFD Sender: No OFD packet to send [04:44:32]OFD Sender: No OFD packet to send [04:44:37]OFD Sender: No OFD packet to send [04:44:42]OFD Sender: No OFD packet to send [04:44:47]OFD Sender: No OFD packet to send [04:44:52]OFD Sender: No OFD packet to send [04:44:57]OFD Sender: No OFD packet to send [04:45:02]OFD Sender: No OFD packet to send [04:45:07]OFD Sender: No OFD packet to send [04:45:12]OFD Sender: No OFD packet to send [04:45:17]OFD Sender: No OFD packet to send [04:45:22]OFD Sender: No OFD packet to send [04:45:27]OFD Sender: No OFD packet to send [04:45:32]OFD Sender: No OFD packet to send [04:45:37]OFD Sender: No OFD packet to send [04:45:42]OFD Sender: No OFD packet to send [04:45:47]OFD Sender: No OFD packet to send [04:45:52]OFD Sender: No OFD packet to send [04:45:57]OFD Sender: No OFD packet to send [04:46:02]OFD Sender: No OFD packet to send [04:46:07]OFD Sender: No OFD packet to send [04:46:12]OFD Sender: No OFD packet to send [04:46:17]OFD Sender: No OFD packet to send [04:46:22]OFD Sender: No OFD packet to send [04:46:27]OFD Sender: No OFD packet to send [04:46:32]OFD Sender: No OFD packet to send [04:46:37]OFD Sender: No OFD packet to send [04:46:42]OFD Sender: No OFD packet to send [04:46:47]OFD Sender: No OFD packet to send [04:46:52]OFD Sender: No OFD packet to send [04:46:57]OFD Sender: No OFD packet to send [04:47:02]OFD Sender: No OFD packet to send [04:47:07]OFD Sender: No OFD packet to send [04:47:12]OFD Sender: No OFD packet to send [04:47:17]OFD Sender: No OFD packet to send [04:47:22]OFD Sender: No OFD packet to send [04:47:27]OFD Sender: No OFD packet to send [04:47:32]OFD Sender: No OFD packet to send [04:47:37]OFD Sender: No OFD packet to send [04:47:42]OFD Sender: No OFD packet to send [04:47:47]OFD Sender: No OFD packet to send [04:47:52]OFD Sender: No OFD packet to send [04:47:57]OFD Sender: No OFD packet to send [04:48:02]OFD Sender: No OFD packet to send [04:48:07]OFD Sender: No OFD packet to send [04:48:12]OFD Sender: No OFD packet to send [04:48:17]OFD Sender: No OFD packet to send [04:48:22]OFD Sender: No OFD packet to send [04:48:27]OFD Sender: No OFD packet to send [04:48:32]OFD Sender: No OFD packet to send [04:48:37]OFD Sender: No OFD packet to send [04:48:42]OFD Sender: No OFD packet to send [04:48:47]OFD Sender: No OFD packet to send [04:48:52]OFD Sender: No OFD packet to send [04:48:57]OFD Sender: No OFD packet to send [04:49:02]OFD Sender: No OFD packet to send [04:49:07]OFD Sender: No OFD packet to send [04:49:12]OFD Sender: No OFD packet to send [04:49:17]OFD Sender: No OFD packet to send [04:49:22]OFD Sender: No OFD packet to send [04:49:27]OFD Sender: No OFD packet to send [04:49:32]OFD Sender: No OFD packet to send [04:49:37]OFD Sender: No OFD packet to send [04:49:42]OFD Sender: No OFD packet to send [04:49:47]OFD Sender: No OFD packet to send [04:49:52]OFD Sender: No OFD packet to send [04:49:57]OFD Sender: No OFD packet to send [04:50:02]OFD Sender: No OFD packet to send [04:50:07]OFD Sender: No OFD packet to send [04:50:12]OFD Sender: No OFD packet to send [04:50:17]OFD Sender: No OFD packet to send [04:50:22]OFD Sender: No OFD packet to send [04:50:27]OFD Sender: No OFD packet to send [04:50:32]OFD Sender: No OFD packet to send [04:50:38]OFD Sender: No OFD packet to send [04:50:43]OFD Sender: No OFD packet to send [04:50:48]OFD Sender: No OFD packet to send [04:50:53]OFD Sender: No OFD packet to send [04:50:58]OFD Sender: No OFD packet to send [04:51:03]OFD Sender: No OFD packet to send [04:51:08]OFD Sender: No OFD packet to send [04:51:13]OFD Sender: No OFD packet to send [04:51:18]OFD Sender: No OFD packet to send [04:51:23]OFD Sender: No OFD packet to send [04:51:28]OFD Sender: No OFD packet to send [04:51:33]OFD Sender: No OFD packet to send [04:51:38]OFD Sender: No OFD packet to send [04:51:43]OFD Sender: No OFD packet to send [04:51:48]OFD Sender: No OFD packet to send [04:51:53]OFD Sender: No OFD packet to send [04:51:58]OFD Sender: No OFD packet to send [04:52:03]OFD Sender: No OFD packet to send [04:52:08]OFD Sender: No OFD packet to send [04:52:13]OFD Sender: No OFD packet to send [04:52:18]OFD Sender: No OFD packet to send [04:52:23]OFD Sender: No OFD packet to send [04:52:28]OFD Sender: No OFD packet to send [04:52:33]OFD Sender: No OFD packet to send [04:52:38]OFD Sender: No OFD packet to send [04:52:43]OFD Sender: No OFD packet to send [04:52:48]OFD Sender: No OFD packet to send [04:52:53]OFD Sender: No OFD packet to send [04:52:58]OFD Sender: No OFD packet to send [04:53:03]OFD Sender: No OFD packet to send [04:53:08]OFD Sender: No OFD packet to send [04:53:13]OFD Sender: No OFD packet to send [04:53:18]OFD Sender: No OFD packet to send [04:53:23]OFD Sender: No OFD packet to send [04:53:28]OFD Sender: No OFD packet to send [04:53:33]OFD Sender: No OFD packet to send [04:53:38]OFD Sender: No OFD packet to send [04:53:43]OFD Sender: No OFD packet to send [04:53:48]OFD Sender: No OFD packet to send [04:53:53]OFD Sender: No OFD packet to send [04:53:58]OFD Sender: No OFD packet to send [04:54:03]OFD Sender: No OFD packet to send [04:54:08]OFD Sender: No OFD packet to send [04:54:13]OFD Sender: No OFD packet to send [04:54:18]OFD Sender: No OFD packet to send [04:54:23]OFD Sender: No OFD packet to send [04:54:28]OFD Sender: No OFD packet to send [04:54:33]OFD Sender: No OFD packet to send [04:54:38]OFD Sender: No OFD packet to send [04:54:43]OFD Sender: No OFD packet to send [04:54:48]OFD Sender: No OFD packet to send [04:54:53]OFD Sender: No OFD packet to send [04:54:58]OFD Sender: No OFD packet to send [04:55:03]OFD Sender: No OFD packet to send [04:55:08]OFD Sender: No OFD packet to send [04:55:13]OFD Sender: No OFD packet to send [04:55:18]OFD Sender: No OFD packet to send [04:55:23]OFD Sender: No OFD packet to send [04:55:28]OFD Sender: No OFD packet to send [04:55:33]OFD Sender: No OFD packet to send [04:55:38]OFD Sender: No OFD packet to send [04:55:43]OFD Sender: No OFD packet to send [04:55:48]OFD Sender: No OFD packet to send [04:55:53]OFD Sender: No OFD packet to send [04:55:58]OFD Sender: No OFD packet to send [04:56:03]OFD Sender: No OFD packet to send [04:56:08]OFD Sender: No OFD packet to send [04:56:13]OFD Sender: No OFD packet to send [04:56:18]OFD Sender: No OFD packet to send [04:56:23]OFD Sender: No OFD packet to send [04:56:28]OFD Sender: No OFD packet to send [04:56:33]OFD Sender: No OFD packet to send [04:56:38]OFD Sender: No OFD packet to send [04:56:43]OFD Sender: No OFD packet to send [04:56:48]OFD Sender: No OFD packet to send [04:56:53]OFD Sender: No OFD packet to send [04:56:58]OFD Sender: No OFD packet to send [04:57:03]OFD Sender: No OFD packet to send [04:57:08]OFD Sender: No OFD packet to send [04:57:13]OFD Sender: No OFD packet to send [04:57:18]OFD Sender: No OFD packet to send [04:57:23]OFD Sender: No OFD packet to send [04:57:28]OFD Sender: No OFD packet to send [04:57:33]OFD Sender: No OFD packet to send [04:57:38]OFD Sender: No OFD packet to send [04:57:43]OFD Sender: No OFD packet to send [04:57:48]OFD Sender: No OFD packet to send [04:57:53]OFD Sender: No OFD packet to send [04:57:58]OFD Sender: No OFD packet to send [04:58:03]OFD Sender: No OFD packet to send [04:58:08]OFD Sender: No OFD packet to send [04:58:13]OFD Sender: No OFD packet to send [04:58:18]OFD Sender: No OFD packet to send [04:58:23]OFD Sender: No OFD packet to send [04:58:28]OFD Sender: No OFD packet to send [04:58:33]OFD Sender: No OFD packet to send [04:58:38]OFD Sender: No OFD packet to send [04:58:43]OFD Sender: No OFD packet to send [04:58:48]OFD Sender: No OFD packet to send [04:58:53]OFD Sender: No OFD packet to send [04:58:58]OFD Sender: No OFD packet to send [04:59:03]OFD Sender: No OFD packet to send [04:59:08]OFD Sender: No OFD packet to send [04:59:13]OFD Sender: No OFD packet to send [04:59:18]OFD Sender: No OFD packet to send [04:59:23]OFD Sender: No OFD packet to send [04:59:28]OFD Sender: No OFD packet to send [04:59:33]OFD Sender: No OFD packet to send [04:59:38]OFD Sender: No OFD packet to send [04:59:43]OFD Sender: No OFD packet to send [04:59:48]OFD Sender: No OFD packet to send [04:59:53]OFD Sender: No OFD packet to send [04:59:58]OFD Sender: No OFD packet to send [05:00:03]OFD Sender: No OFD packet to send [05:00:08]OFD Sender: No OFD packet to send [05:00:13]OFD Sender: No OFD packet to send [05:00:18]OFD Sender: No OFD packet to send [05:00:23]OFD Sender: No OFD packet to send [05:00:28]OFD Sender: No OFD packet to send [05:00:33]OFD Sender: No OFD packet to send [05:00:38]OFD Sender: No OFD packet to send [05:00:43]OFD Sender: No OFD packet to send [05:00:48]OFD Sender: No OFD packet to send [05:00:53]OFD Sender: No OFD packet to send [05:00:58]OFD Sender: No OFD packet to send [05:01:03]OFD Sender: No OFD packet to send [05:01:08]OFD Sender: No OFD packet to send [05:01:13]OFD Sender: No OFD packet to send [05:01:18]OFD Sender: No OFD packet to send [05:01:23]OFD Sender: No OFD packet to send [05:01:28]OFD Sender: No OFD packet to send [05:01:33]OFD Sender: No OFD packet to send [05:01:38]OFD Sender: No OFD packet to send [05:01:43]OFD Sender: No OFD packet to send [05:01:48]OFD Sender: No OFD packet to send [05:01:53]OFD Sender: No OFD packet to send [05:01:58]OFD Sender: No OFD packet to send [05:02:03]OFD Sender: No OFD packet to send [05:02:08]OFD Sender: No OFD packet to send [05:02:13]OFD Sender: No OFD packet to send [05:02:18]OFD Sender: No OFD packet to send [05:02:23]OFD Sender: No OFD packet to send [05:02:28]OFD Sender: No OFD packet to send [05:02:33]OFD Sender: No OFD packet to send [05:02:38]OFD Sender: No OFD packet to send [05:02:43]OFD Sender: No OFD packet to send [05:02:48]OFD Sender: No OFD packet to send [05:02:53]OFD Sender: No OFD packet to send [05:02:58]OFD Sender: No OFD packet to send [05:03:03]OFD Sender: No OFD packet to send [05:03:08]OFD Sender: No OFD packet to send [05:03:13]OFD Sender: No OFD packet to send [05:03:18]OFD Sender: No OFD packet to send [05:03:23]OFD Sender: No OFD packet to send [05:03:28]OFD Sender: No OFD packet to send [05:03:33]OFD Sender: No OFD packet to send [05:03:38]OFD Sender: No OFD packet to send [05:03:43]OFD Sender: No OFD packet to send [05:03:48]OFD Sender: No OFD packet to send [05:03:53]OFD Sender: No OFD packet to send [05:03:58]OFD Sender: No OFD packet to send [05:04:03]OFD Sender: No OFD packet to send [05:04:08]OFD Sender: No OFD packet to send [05:04:13]OFD Sender: No OFD packet to send [05:04:18]OFD Sender: No OFD packet to send [05:04:23]OFD Sender: No OFD packet to send [05:04:28]OFD Sender: No OFD packet to send [05:04:33]OFD Sender: No OFD packet to send [05:04:38]OFD Sender: No OFD packet to send [05:04:43]OFD Sender: No OFD packet to send [05:04:48]OFD Sender: No OFD packet to send [05:04:53]OFD Sender: No OFD packet to send [05:04:58]OFD Sender: No OFD packet to send [05:05:03]OFD Sender: No OFD packet to send [05:05:08]OFD Sender: No OFD packet to send [05:05:13]OFD Sender: No OFD packet to send [05:05:18]OFD Sender: No OFD packet to send [05:05:23]OFD Sender: No OFD packet to send [05:05:28]OFD Sender: No OFD packet to send [05:05:33]OFD Sender: No OFD packet to send [05:05:38]OFD Sender: No OFD packet to send [05:05:43]OFD Sender: No OFD packet to send [05:05:48]OFD Sender: No OFD packet to send [05:05:53]OFD Sender: No OFD packet to send [05:05:58]OFD Sender: No OFD packet to send [05:06:03]OFD Sender: No OFD packet to send [05:06:08]OFD Sender: No OFD packet to send [05:06:13]OFD Sender: No OFD packet to send [05:06:18]OFD Sender: No OFD packet to send [05:06:23]OFD Sender: No OFD packet to send [05:06:28]OFD Sender: No OFD packet to send [05:06:33]OFD Sender: No OFD packet to send [05:06:38]OFD Sender: No OFD packet to send [05:06:43]OFD Sender: No OFD packet to send [05:06:48]OFD Sender: No OFD packet to send [05:06:53]OFD Sender: No OFD packet to send [05:06:58]OFD Sender: No OFD packet to send [05:07:03]OFD Sender: No OFD packet to send [05:07:08]OFD Sender: No OFD packet to send [05:07:13]OFD Sender: No OFD packet to send [05:07:18]OFD Sender: No OFD packet to send [05:07:23]OFD Sender: No OFD packet to send [05:07:28]OFD Sender: No OFD packet to send [05:07:33]OFD Sender: No OFD packet to send [05:07:38]OFD Sender: No OFD packet to send [05:07:43]OFD Sender: No OFD packet to send [05:07:48]OFD Sender: No OFD packet to send [05:07:53]OFD Sender: No OFD packet to send [05:07:58]OFD Sender: No OFD packet to send [05:08:03]OFD Sender: No OFD packet to send [05:08:08]OFD Sender: No OFD packet to send [05:08:13]OFD Sender: No OFD packet to send [05:08:18]OFD Sender: No OFD packet to send [05:08:23]OFD Sender: No OFD packet to send [05:08:28]OFD Sender: No OFD packet to send [05:08:33]OFD Sender: No OFD packet to send [05:08:38]OFD Sender: No OFD packet to send [05:08:43]OFD Sender: No OFD packet to send [05:08:48]OFD Sender: No OFD packet to send [05:08:53]OFD Sender: No OFD packet to send [05:08:58]OFD Sender: No OFD packet to send [05:09:03]OFD Sender: No OFD packet to send [05:09:08]OFD Sender: No OFD packet to send [05:09:13]OFD Sender: No OFD packet to send [05:09:18]OFD Sender: No OFD packet to send [05:09:23]OFD Sender: No OFD packet to send [05:09:28]OFD Sender: No OFD packet to send [05:09:33]OFD Sender: No OFD packet to send [05:09:38]OFD Sender: No OFD packet to send [05:09:43]OFD Sender: No OFD packet to send [05:09:48]OFD Sender: No OFD packet to send [05:09:53]OFD Sender: No OFD packet to send [05:09:58]OFD Sender: No OFD packet to send [05:10:03]OFD Sender: No OFD packet to send [05:10:08]OFD Sender: No OFD packet to send [05:10:13]OFD Sender: No OFD packet to send [05:10:18]OFD Sender: No OFD packet to send [05:10:23]OFD Sender: No OFD packet to send [05:10:28]OFD Sender: No OFD packet to send [05:10:33]OFD Sender: No OFD packet to send [05:10:38]OFD Sender: No OFD packet to send [05:10:43]OFD Sender: No OFD packet to send [05:10:48]OFD Sender: No OFD packet to send [05:10:53]OFD Sender: No OFD packet to send [05:10:58]OFD Sender: No OFD packet to send [05:11:03]OFD Sender: No OFD packet to send [05:11:08]OFD Sender: No OFD packet to send [05:11:13]OFD Sender: No OFD packet to send [05:11:18]OFD Sender: No OFD packet to send [05:11:23]OFD Sender: No OFD packet to send [05:11:28]OFD Sender: No OFD packet to send [05:11:33]OFD Sender: No OFD packet to send [05:11:38]OFD Sender: No OFD packet to send [05:11:43]OFD Sender: No OFD packet to send [05:11:48]OFD Sender: No OFD packet to send [05:11:53]OFD Sender: No OFD packet to send [05:11:58]OFD Sender: No OFD packet to send [05:12:03]OFD Sender: No OFD packet to send [05:12:08]OFD Sender: No OFD packet to send [05:12:14]OFD Sender: No OFD packet to send [05:12:19]OFD Sender: No OFD packet to send [05:12:24]OFD Sender: No OFD packet to send [05:12:29]OFD Sender: No OFD packet to send [05:12:34]OFD Sender: No OFD packet to send [05:12:39]OFD Sender: No OFD packet to send [05:12:44]OFD Sender: No OFD packet to send [05:12:49]OFD Sender: No OFD packet to send [05:12:54]OFD Sender: No OFD packet to send [05:12:59]OFD Sender: No OFD packet to send [05:13:04]OFD Sender: No OFD packet to send [05:13:09]OFD Sender: No OFD packet to send [05:13:14]OFD Sender: No OFD packet to send [05:13:19]OFD Sender: No OFD packet to send [05:13:24]OFD Sender: No OFD packet to send [05:13:29]OFD Sender: No OFD packet to send [05:13:34]OFD Sender: No OFD packet to send [05:13:39]OFD Sender: No OFD packet to send [05:13:44]OFD Sender: No OFD packet to send [05:13:49]OFD Sender: No OFD packet to send [05:13:54]OFD Sender: No OFD packet to send [05:13:59]OFD Sender: No OFD packet to send [05:14:04]OFD Sender: No OFD packet to send [05:14:09]OFD Sender: No OFD packet to send [05:14:14]OFD Sender: No OFD packet to send [05:14:19]OFD Sender: No OFD packet to send [05:14:24]OFD Sender: No OFD packet to send [05:14:29]OFD Sender: No OFD packet to send [05:14:34]OFD Sender: No OFD packet to send [05:14:39]OFD Sender: No OFD packet to send [05:14:44]OFD Sender: No OFD packet to send [05:14:49]OFD Sender: No OFD packet to send [05:14:54]OFD Sender: No OFD packet to send [05:14:59]OFD Sender: No OFD packet to send [05:15:04]OFD Sender: No OFD packet to send [05:15:09]OFD Sender: No OFD packet to send [05:15:14]OFD Sender: No OFD packet to send [05:15:19]OFD Sender: No OFD packet to send [05:15:24]OFD Sender: No OFD packet to send [05:15:29]OFD Sender: No OFD packet to send [05:15:34]OFD Sender: No OFD packet to send [05:15:39]OFD Sender: No OFD packet to send [05:15:44]OFD Sender: No OFD packet to send [05:15:49]OFD Sender: No OFD packet to send [05:15:54]OFD Sender: No OFD packet to send [05:15:59]OFD Sender: No OFD packet to send [05:16:04]OFD Sender: No OFD packet to send [05:16:09]OFD Sender: No OFD packet to send [05:16:14]OFD Sender: No OFD packet to send [05:16:19]OFD Sender: No OFD packet to send [05:16:24]OFD Sender: No OFD packet to send [05:16:29]OFD Sender: No OFD packet to send [05:16:34]OFD Sender: No OFD packet to send [05:16:39]OFD Sender: No OFD packet to send [05:16:44]OFD Sender: No OFD packet to send [05:16:49]OFD Sender: No OFD packet to send [05:16:54]OFD Sender: No OFD packet to send [05:16:59]OFD Sender: No OFD packet to send [05:17:04]OFD Sender: No OFD packet to send [05:17:09]OFD Sender: No OFD packet to send [05:17:14]OFD Sender: No OFD packet to send [05:17:19]OFD Sender: No OFD packet to send [05:17:24]OFD Sender: No OFD packet to send [05:17:29]OFD Sender: No OFD packet to send [05:17:34]OFD Sender: No OFD packet to send [05:17:39]OFD Sender: No OFD packet to send [05:17:44]OFD Sender: No OFD packet to send [05:17:49]OFD Sender: No OFD packet to send [05:17:54]OFD Sender: No OFD packet to send [05:17:59]OFD Sender: No OFD packet to send [05:18:04]OFD Sender: No OFD packet to send [05:18:09]OFD Sender: No OFD packet to send [05:18:14]OFD Sender: No OFD packet to send [05:18:19]OFD Sender: No OFD packet to send [05:18:24]OFD Sender: No OFD packet to send [05:18:29]OFD Sender: No OFD packet to send [05:18:34]OFD Sender: No OFD packet to send [05:18:39]OFD Sender: No OFD packet to send [05:18:44]OFD Sender: No OFD packet to send [05:18:49]OFD Sender: No OFD packet to send [05:18:54]OFD Sender: No OFD packet to send [05:18:59]OFD Sender: No OFD packet to send [05:19:04]OFD Sender: No OFD packet to send [05:19:06]accept exits with 11 [05:19:06]New connection [05:19:06]New thread 3066695012 created [05:19:06]Thread 3066838372 joined [05:19:06]Waiting for new connection... [05:19:06] Sock 11.Parse request [05:19:06]Sock 11.Check first char [05:19:06]Sock 11.First char is OK [05:19:06]request: POST /json_proto HTTP/1.0 [05:19:06]Method: POST [05:19:06]URL: /json_proto [05:19:06]Method is POST - this is cgi request [05:19:06]url: /json_proto [05:19:06]query_string will be loaded in cgi processing [05:19:06]execute_cgi json_proto POST (null) [05:19:06]execute_cgi path=json_proto method=POST [05:19:06]POST find Content-Length [05:19:06]Host: 172.17.35.133:8080 [05:19:06]Content-Length: 862 [05:19:06]Content-Type: application/json [05:19:06] [05:19:06]POST finish read [05:19:06]Found Content-Length = 862 [05:19:06]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254459", "tax_sys" : 0, "items" : [ { "code": "4870001571030", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043A\u043B\u0443\u0431\u043D,\u043A\u0438\u0432\u0438 \u041F\u042D\u0422 1\u043B", "price" : 85.00, "quantity" : 1.000, "sum" : 85.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: KICB \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 85.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [05:19:06]execute_script... [05:19: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)254459", "tax_sys" : 0, "items" : [ { "code": "4870001571030", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043A\u043B\u0443\u0431\u043D,\u043A\u0438\u0432\u0438 \u041F\u042D\u0422 1\u043B", "price" : 85.00, "quantity" : 1.000, "sum" : 85.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: KICB \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 85.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [05:19:06]POST & json_proto [05:19:06]process_json_proto [05:19:06]json parsed OK: [05:19:06]protocol is kg_v1.0 [05:19:06]action value=close_receipt [05:19:06]process_action close_receipt [05:19:06]cmd_close_receipt [05:19:06]MH_GetDate [05:19:06]Write to MH i2c: F0 00 00 26 1B 30 [05:19:06]Write i2c OK [05:19:06]MH_I2C_Read... [05:19:06]Read from MH i2c: F0 [05:19:06]MH_I2C_Read... [05:19:06]Read from MH i2c: F0 09 00 [05:19:06]MH_I2C_Read... [05:19:06]Read from MH i2c: F0 09 00 26 1B 00 D0 75 6E 66 8C 55 28 65 C0 [05:19:06]GetLastDocTimeStamp 1718511579 [05:19:06]current date 1718515152 [05:19:06]FM_GetShiftState [05:19:06]SAM_PROTO_GetShiftState [05:19:06]wFMCommunicate request_size=4 [05:19:06]MH_SAM_APDU [05:19:06]CAPDU: 80 13 01 00 [05:19:06]Write to MH i2c: E2 08 00 27 1B 80 13 01 00 00 00 00 00 BF [05:19:06]Write i2c OK [05:19:06]MH_I2C_Read... [05:19:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [05:19:06]Read from MH i2c: E2 [05:19:06]MH_I2C_Read... [05:19:06]Read from MH i2c: E2 0E 00 [05:19:06]MH_I2C_Read... [05:19:06]Read from MH i2c: E2 0E 00 27 1B 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 E0 [05:19:06]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [05:19:06]wFMCommunicate OK [05:19:06]SAM_PROTO_GetShiftState done [05:19:06]FM_GetShiftState done [05:19:06]opened in 1718497297 [05:19:06]opened+sec_in_day 1718583697 [05:19:06]quantity*price = 8500 [05:19:06]sum+1 = 8501 [05:19:06]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 85.00 НСП 1% : 0.75 НДС 12% : 9.03 Наличными: 0.00 Безнал.: 85.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 10 16.06.2024 05:19 Смена: 327 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 Платежная система: KICB Банк ФМ: 0000000000965344 ФД: 22245 ФПД: 71212910187278 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T051912&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22245&fm=71212910187278&tin=02508201610067®Number=0000000000099755&sum=8500 0 [05:19:07]StoreToDocumentArchive [05:19:07]shift 327 fd 22245 [05:19:07]save to /storage/0327/doc_00022245 [05:19:07]save last doc name /storage/0327/doc_00022245 to /storage/kkm_last_doc_name [05:19:07]save OK [05:19:07]Clear old archive folders... [05:19:07]ProcessDocumentItem done err = 0, tmpTLVsize=302 [05:19:07]tlvbuf is 001FF050 [05:19:07]SAM_PROTO_ClearQueue [05:19:07]wFMCommunicate request_size=4 [05:19:07]MH_SAM_APDU [05:19:07]CAPDU: 80 09 00 00 [05:19:07]Write to MH i2c: E2 08 00 34 1B 80 09 00 00 00 00 00 00 C1 [05:19:07]Write i2c OK [05:19:07]MH_I2C_Read... [05:19:07]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [05:19:07]Read from MH i2c: E2 [05:19:07]MH_I2C_Read... [05:19:07]Read from MH i2c: E2 03 00 [05:19:07]MH_I2C_Read... [05:19:07]Read from MH i2c: E2 03 00 34 1B 00 90 00 C3 [05:19:07]RAPDU: 90 00 [05:19:07]wFMCommunicate OK [05:19:07]SAM_PROTO_ClearQueue done [05:19:07]KKMCreateOFDPacket [05:19:07]OFDProtocolAddRootSTLVToBuf [05:19:07]FM_MakeSignedData [05:19:07]FM_MakeSignedData [05:19:07]SAM_PROTO_SignData [05:19:07]wFMCommunicate request_size=4 [05:19:07]MH_SAM_APDU [05:19:07]CAPDU: 80 0D 01 02 [05:19:07]Write to MH i2c: E2 08 00 35 1B 80 0D 01 02 00 00 00 00 C9 [05:19:07]Write i2c OK [05:19:07]MH_I2C_Read... [05:19:07]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [05:19:07]Read from MH i2c: E2 [05:19:07]MH_I2C_Read... [05:19:07]Read from MH i2c: E2 03 00 [05:19:07]MH_I2C_Read... [05:19:07]Read from MH i2c: E2 03 00 35 1B 00 90 00 C4 [05:19:07]RAPDU: 90 00 [05:19:07]wFMCommunicate OK [05:19:07]wFMCommunicate request_size=255 [05:19:07]MH_SAM_APDU [05:19:07]CAPDU: 80 0D 02 02 FA 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 30 33 30 06 04 3C 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 2C D0 BA D0 B8 D0 B2 D0 B8 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 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 34 21 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 D0 75 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 [05:19:07]Write to MH i2c: E2 02 01 36 1B 80 0D 02 02 FA 00 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 30 33 30 06 04 3C 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 2C D0 BA D0 B8 D0 B2 D0 B8 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 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 34 21 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 D0 75 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 00 00 72 [05:19:07]Write i2c OK [05:19:07]MH_I2C_Read... [05:19:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [05:19:07]Read from MH i2c: E2 [05:19:07]MH_I2C_Read... [05:19:07]Read from MH i2c: E2 03 00 [05:19:07]MH_I2C_Read... [05:19:07]Read from MH i2c: E2 03 00 36 1B 00 90 00 C5 [05:19:07]RAPDU: 90 00 [05:19:07]wFMCommunicate OK [05:19:07]wFMCommunicate request_size=61 [05:19:07]MH_SAM_APDU [05:19:07]CAPDU: 80 0D 02 02 38 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 E5 56 00 00 35 04 06 00 40 C4 8C 37 13 0E [05:19:07]Write to MH i2c: E2 40 00 37 1B 80 0D 02 02 38 00 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 E5 56 00 00 35 04 06 00 40 C4 8C 37 13 0E 00 00 2D [05:19:07]Write i2c OK [05:19:07]MH_I2C_Read... [05:19:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [05:19:07]Read from MH i2c: E2 [05:19:07]MH_I2C_Read... [05:19:07]Read from MH i2c: E2 03 00 [05:19:07]MH_I2C_Read... [05:19:07]Read from MH i2c: E2 03 00 37 1B 00 90 00 C6 [05:19:07]RAPDU: 90 00 [05:19:07]wFMCommunicate OK [05:19:07]wFMCommunicate request_size=4 [05:19:07]MH_SAM_APDU [05:19:07]CAPDU: 80 0D 03 02 [05:19:07]Write to MH i2c: E2 08 00 38 1B 80 0D 03 02 00 00 00 00 CE [05:19:07]Write i2c OK [05:19:07]MH_I2C_Read... [05:19:08]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [05:19:08]Read from MH i2c: E2 [05:19:08]MH_I2C_Read... [05:19:08]Read from MH i2c: E2 0B 00 [05:19:08]MH_I2C_Read... [05:19:08]Read from MH i2c: E2 0B 00 38 1B 00 96 FB 1A 64 A6 58 19 D4 90 00 C9 [05:19:08]RAPDU: 96 FB 1A 64 A6 58 19 D4 90 00 [05:19:08]wFMCommunicate OK [05:19:08]SAM_PROTO_SignData done [05:19:08]FM_MakeSignedData done [05:19:08]CreateOFDProtocolMessage [05:19:08]wFMCommunicate request_size=4 [05:19:08]MH_SAM_APDU [05:19:08]CAPDU: 80 11 00 00 [05:19:08]Write to MH i2c: E2 08 00 39 1B 80 11 00 00 00 00 00 00 CE [05:19:08]Write i2c OK [05:19:08]MH_I2C_Read... [05:19:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [05:19:08]Read from MH i2c: E2 [05:19:08]MH_I2C_Read... [05:19:08]Read from MH i2c: E2 17 00 [05:19:08]MH_I2C_Read... [05:19:08]Read from MH i2c: E2 17 00 39 1B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 20 [05:19:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [05:19:08]wFMCommunicate OK [05:19:08]CreateOFDProtocolMessage done [05:19:08]OFDSenderStorePacket 22245 [05:19:08]StoreOFDPacket docnum=22245 [05:19:08]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 42 01 00 00 87 24 3A 01 28 85 5A 03 01 00 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 30 33 30 06 04 3C 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 2C D0 BA D0 B8 D0 B2 D0 B8 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 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 34 21 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 D0 75 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 E5 56 00 00 35 04 06 00 40 C4 8C 37 13 0E 96 FB 1A 64 A6 58 19 D4 [05:19:08]CheckFolder [05:19:08]dirname=/storage/ofd_packets [05:19:08]CheckFolder done [05:19:08]ProducePacketName [05:19:08]name=ofd_packets/00022245 [05:19:08]NVStorageSaveData ofd_packets/00022245 [05:19:08]File name is /storage/ofd_packets/00022245 [05:19:08]Write 352 bytes [05:19:08]NVStorageSaveData done [05:19:08]OFDSenderStorePacket done [05:19:08]KKMCreateOFDPacket done [05:19:08]NVStorageSaveData kkm_last_timestamp [05:19:08]File name is /storage/kkm_last_timestamp [05:19:08]Write 4 bytes [05:19:08]NVStorageSaveData done [05:19:08]ExternCall_PrintAddStr [05:19:08]wPrintStart [05:19:08]Write to MH i2c: 01 00 00 3A 1B 55 [05:19:08]Write i2c OK [05:19:08]MH_I2C_Read... [05:19:08]Read from MH i2c: 01 [05:19:08]MH_I2C_Read... [05:19:08]Read from MH i2c: 01 07 00 [05:19:08]MH_I2C_Read... [05:19:08]Read from MH i2c: 01 07 00 3A 1B 00 00 00 00 00 FF 0F 6A [05:19:08]RasterBufferAndPrint [05:19:08]line Счет N : (3)254459 [05:19:08]line ИНН: 02508201610067 [05:19:08]line Контрольно-Кассовый Чек [05:19:08]line ПРОДАЖА [05:19:08]line Товар: 4870001571030 [05:19:08]line Вода ASU пит н.газ клубн,киви ПЭТ 1л [05:19:08]line 1.000 * 85.00 [05:19:08]line = 85.00 [05:19:08]line НДС 12% НСП 1% [05:19:08]line > о реализуемом товаре [05:19:08]line ИТОГО: 85.00 [05:19:08]line НСП 1% : 0.75 [05:19:08]line НДС 12% : 9.03 [05:19:08]line Наличными: 0.00 [05:19:08]line Безнал.: 85.00 [05:19:08]line Место: АЗС № 76 "Партнер Нефть" [05:19:08]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [05:19:08]line СНО: Общий режим [05:19:08]line Чек 10 16.06.2024 05:19 [05:19:08]line Смена: 327 ФФД: 1.0 [05:19:08]line ЗНМ: 0300000200 [05:19:08]line РНМ: 0000000000099755 [05:19:08]line Версия ККМ: 001 [05:19:08]line Платежная система: KICB Банк [05:19:08]line ФМ: 0000000000965344 [05:19:08]line ФД: 22245 [05:19:08]line ФПД: 71212910187278 [05:19:08]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T051912&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22245&fm=71212910187278&tin=02508201610067®Number=0000000000099755&sum=8500 [05:19:08]line 0 [05:19:08]OFD Sender: Processing packet 22245 [packets to send 5, broken 4] [05:19:08]ProducePacketName [05:19:08]name=ofd_packets/00022245 [05:19:08]OFD Sender: To server: pG, [05:19:08]CommunicateWithHost lk.salyk.kg:30040 [05:19:08]ConnectInit lk.salyk.kg [05:19:08]written 0, free lines is 4095 [05:19:08]Connected sock=9 [05:19:08]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 42 01 00 00 87 24 3A 01 28 85 5A 03 01 00 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 30 33 30 06 04 3C 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 2C D0 BA D0 B8 D0 B2 D0 B8 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 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 34 21 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 D0 75 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 E5 56 00 00 35 04 06 00 40 C4 8C 37 13 0E 96 FB 1A 64 A6 58 19 D4 [05:19:08]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 6D B0 47 00 8C D5 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 E5 56 00 00 F4 03 04 00 8C 1E 6E 66 B6 04 01 00 00 21 09 80 67 2E 86 73 BA [05:19:08]CommunicateWithHost err = 0 [05:19:08]CheckOFDResponse [05:19:08]1017 (14) - 77093643461234 [05:19:08]1041 (16) - 0000000000965344 [05:19:08]1040 (4) - 22245 [05:19:08]1012 (4) - 15.06.2024 23:06 [05:19:08]1206 (1) - 0 [05:19:08]OFD Sender: Remove packet 22245 [05:19:08]ProducePacketName [05:19:08]name=ofd_packets/00022245 [05:19:08]NVStorageDeleteData [05:19:08]Write to MH i2c: 01 00 00 65 1B 80 [05:19:08]Write i2c OK [05:19:08]MH_I2C_Read... [05:19:08]Read from MH i2c: 01 [05:19:08]MH_I2C_Read... [05:19:08]Read from MH i2c: 01 07 00 [05:19:08]MH_I2C_Read... [05:19:08]Read from MH i2c: 01 07 00 65 1B 00 00 00 00 00 EE 0C 81 [05:19:08]RasterBufferAndPrint [05:19:08]line [05:19:08]line [05:19:08]line [05:19:08]line [05:19:08]line [05:19:08]written 0, free lines is 3317 [05:19:08]MH_Cut [05:19:08]Write to MH i2c: D1 01 00 6C 1B 01 59 [05:19:08]Write i2c OK [05:19:08]MH_I2C_Read... [05:19:08]Read from MH i2c: D1 [05:19:08]MH_I2C_Read... [05:19:08]Read from MH i2c: D1 01 00 [05:19:08]MH_I2C_Read... [05:19:08]Read from MH i2c: D1 01 00 6C 1B 00 58 [05:19:08]Write to MH i2c: 01 00 00 6D 1B 88 [05:19:08]Write i2c OK [05:19:08]MH_I2C_Read... [05:19:09]OFD Sender: No OFD packet to send [05:19:09]*** Cut start [05:19:09]*** Partial cut [05:19:09]*** CUTSNS_PIN = 1 [05:19:09]*** CUTSNS_PIN = 0 [05:19:09]*** Brake cut motor [05:19:10]Read from MH i2c: 01 [05:19:10]MH_I2C_Read... [05:19:10]*** Stop cut motor [05:19:10]*** Cut end [05:19:10]Read from MH i2c: 01 07 00 [05:19:10]MH_I2C_Read... [05:19:10]Read from MH i2c: 01 07 00 6D 1B 00 00 00 00 00 FF 0F 9D [05:19:10]process_action close_receipt done [05:19:10]requested_data is exist [05:19:10]produce_requested_data [05:19:10]requested_item fm.sn is exist - process it [05:19:10]wFMCommunicate request_size=4 [05:19:10]MH_SAM_APDU [05:19:10]CAPDU: 80 11 00 00 [05:19:10]Write to MH i2c: E2 08 00 6E 1B 80 11 00 00 00 00 00 00 03 [05:19:10]Write i2c OK [05:19:10]MH_I2C_Read... [05:19:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [05:19:10]Read from MH i2c: E2 [05:19:10]MH_I2C_Read... [05:19:10]Read from MH i2c: E2 17 00 [05:19:10]MH_I2C_Read... [05:19:10]Read from MH i2c: E2 17 00 6E 1B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 55 [05:19:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [05:19:10]wFMCommunicate OK [05:19:10]requested_item fd.num is exist - process it [05:19:10]SAM_PROTO_GetFieldsCounters [05:19:10]wFMCommunicate request_size=4 [05:19:10]MH_SAM_APDU [05:19:10]CAPDU: 80 13 00 00 [05:19:10]Write to MH i2c: E2 08 00 6F 1B 80 13 00 00 00 00 00 00 06 [05:19:10]Write i2c OK [05:19:10]MH_I2C_Read... [05:19:10]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [05:19:10]Read from MH i2c: E2 [05:19:10]MH_I2C_Read... [05:19:10]Read from MH i2c: E2 62 00 [05:19:10]MH_I2C_Read... [05:19:10]Read from MH i2c: E2 62 00 6F 1B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 E5 56 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 0A 00 00 00 5E 04 04 00 0A 00 00 00 57 04 04 00 0B 00 00 00 19 04 04 00 00 00 00 00 90 00 D1 [05:19:10]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 E5 56 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 0A 00 00 00 5E 04 04 00 0A 00 00 00 57 04 04 00 0B 00 00 00 19 04 04 00 00 00 00 00 90 00 [05:19:10]wFMCommunicate OK [05:19:10]SAM_PROTO_GetFieldsCounters done [05:19:10]requested_item shift.num is exist - process it [05:19:10]requested_item shift.opened is exist - process it [05:19:10]req_shift_opened [05:19:10]FM_GetShiftState [05:19:10]SAM_PROTO_GetShiftState [05:19:10]wFMCommunicate request_size=4 [05:19:10]MH_SAM_APDU [05:19:10]CAPDU: 80 13 01 00 [05:19:10]Write to MH i2c: E2 08 00 70 1B 80 13 01 00 00 00 00 00 08 [05:19:10]Write i2c OK [05:19:10]MH_I2C_Read... [05:19:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [05:19:10]Read from MH i2c: E2 [05:19:10]MH_I2C_Read... [05:19:10]Read from MH i2c: E2 0E 00 [05:19:10]MH_I2C_Read... [05:19:10]Read from MH i2c: E2 0E 00 70 1B 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 29 [05:19:10]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [05:19:10]wFMCommunicate OK [05:19:10]SAM_PROTO_GetShiftState done [05:19:10]FM_GetShiftState done [05:19:10]req_shift_opened done [05:19:10]requested_item shift.open_date is exist - process it [05:19:10]req_shift_open_date [05:19:10]req_shift_open_date done [05:19:10]produce_requested_data done [05:19:10]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22245,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297} [05:19:10]process_action_free close_receipt [05:19:10]json_value_free [05:19:10]json_value_free done [05:19:10]process_json_proto returns [05:19:10]Send response to host [05:19:10]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22245,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297}}} [05:19:10]free response buf [05:19:10]execute_script done [05:19:10]execute_script returns [05:19:10]free content buf [05:19:10]Sock 11.Close socket [05:19:10]Sock 11.Thread stoped [05:19:14]OFD Sender: No OFD packet to send [05:19:19]OFD Sender: No OFD packet to send [05:19:24]OFD Sender: No OFD packet to send [05:19:29]OFD Sender: No OFD packet to send [05:19:34]OFD Sender: No OFD packet to send [05:19:39]OFD Sender: No OFD packet to send [05:19:44]OFD Sender: No OFD packet to send [05:19:49]OFD Sender: No OFD packet to send [05:19:54]OFD Sender: No OFD packet to send [05:19:59]OFD Sender: No OFD packet to send [05:20:04]OFD Sender: No OFD packet to send [05:20:09]OFD Sender: No OFD packet to send [05:20:14]OFD Sender: No OFD packet to send [05:20:19]OFD Sender: No OFD packet to send [05:20:24]OFD Sender: No OFD packet to send [05:20:29]OFD Sender: No OFD packet to send [05:20:34]OFD Sender: No OFD packet to send [05:20:39]OFD Sender: No OFD packet to send [05:20:44]OFD Sender: No OFD packet to send [05:20:49]OFD Sender: No OFD packet to send [05:20:54]OFD Sender: No OFD packet to send [05:20:59]OFD Sender: No OFD packet to send [05:21:04]OFD Sender: No OFD packet to send [05:21:09]OFD Sender: No OFD packet to send [05:21:14]OFD Sender: No OFD packet to send [05:21:19]OFD Sender: No OFD packet to send [05:21:24]OFD Sender: No OFD packet to send [05:21:29]OFD Sender: No OFD packet to send [05:21:34]OFD Sender: No OFD packet to send [05:21:39]OFD Sender: No OFD packet to send [05:21:44]OFD Sender: No OFD packet to send [05:21:49]OFD Sender: No OFD packet to send [05:21:54]OFD Sender: No OFD packet to send [05:21:59]OFD Sender: No OFD packet to send [05:22:04]OFD Sender: No OFD packet to send [05:22:09]OFD Sender: No OFD packet to send [05:22:14]OFD Sender: No OFD packet to send [05:22:19]OFD Sender: No OFD packet to send [05:22:24]OFD Sender: No OFD packet to send [05:22:29]OFD Sender: No OFD packet to send [05:22:34]OFD Sender: No OFD packet to send [05:22:39]OFD Sender: No OFD packet to send [05:22:40]accept exits with 8 [05:22:40]New connection [05:22:40]New thread 3066838372 created [05:22:40]Thread 3066695012 joined [05:22:40]Waiting for new connection... [05:22:40] Sock 8.Parse request [05:22:40]Sock 8.Check first char [05:22:40]Sock 8.First char is OK [05:22:40]request: POST /json_proto HTTP/1.0 [05:22:40]Method: POST [05:22:40]URL: /json_proto [05:22:40]Method is POST - this is cgi request [05:22:40]url: /json_proto [05:22:40]query_string will be loaded in cgi processing [05:22:40]execute_cgi json_proto POST (null) [05:22:40]execute_cgi path=json_proto method=POST [05:22:40]POST find Content-Length [05:22:40]Host: 172.17.35.133:8080 [05:22:40]Content-Length: 772 [05:22:40]Content-Type: application/json [05:22:40] [05:22:40]POST finish read [05:22:40]Found Content-Length = 772 [05:22:40]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254460", "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 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: KICB \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [05:22:40]execute_script... [05:22:40]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254460", "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 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: KICB \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [05:22:40]POST & json_proto [05:22:40]process_json_proto [05:22:40]json parsed OK: [05:22:40]protocol is kg_v1.0 [05:22:40]action value=close_receipt [05:22:40]process_action close_receipt [05:22:40]cmd_close_receipt [05:22:40]MH_GetDate [05:22:40]Write to MH i2c: F0 00 00 71 1B 7B [05:22:40]Write i2c OK [05:22:40]MH_I2C_Read... [05:22:40]Read from MH i2c: F0 [05:22:40]MH_I2C_Read... [05:22:40]Read from MH i2c: F0 09 00 [05:22:40]MH_I2C_Read... [05:22:40]Read from MH i2c: F0 09 00 71 1B 00 A6 76 6E 66 8C 55 28 65 E2 [05:22:40]GetLastDocTimeStamp 1718515152 [05:22:40]current date 1718515366 [05:22:40]FM_GetShiftState [05:22:40]SAM_PROTO_GetShiftState [05:22:40]wFMCommunicate request_size=4 [05:22:40]MH_SAM_APDU [05:22:40]CAPDU: 80 13 01 00 [05:22:40]Write to MH i2c: E2 08 00 72 1B 80 13 01 00 00 00 00 00 0A [05:22:40]Write i2c OK [05:22:40]MH_I2C_Read... [05:22:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [05:22:40]Read from MH i2c: E2 [05:22:40]MH_I2C_Read... [05:22:40]Read from MH i2c: E2 0E 00 [05:22:40]MH_I2C_Read... [05:22:40]Read from MH i2c: E2 0E 00 72 1B 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 2B [05:22:40]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [05:22:40]wFMCommunicate OK [05:22:40]SAM_PROTO_GetShiftState done [05:22:40]FM_GetShiftState done [05:22:40]opened in 1718497297 [05:22:40]opened+sec_in_day 1718583697 [05:22:40]quantity*price = 14000 [05:22:40]sum+1 = 14001 [05:22:40]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 140.00 НСП 1% : 1.24 НДС 12% : 14.87 Наличными: 0.00 Безнал.: 140.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 11 16.06.2024 05:22 Смена: 327 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 Платежная система: KICB Банк ФМ: 0000000000965344 ФД: 22246 ФПД: 64663545513880 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T052246&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22246&fm=64663545513880&tin=02508201610067®Number=0000000000099755&sum=14000 0 [05:22:41]StoreToDocumentArchive [05:22:41]shift 327 fd 22246 [05:22:41]save to /storage/0327/doc_00022246 [05:22:41]save last doc name /storage/0327/doc_00022246 to /storage/kkm_last_doc_name [05:22:41]save OK [05:22:41]Clear old archive folders... [05:22:41]ProcessDocumentItem done err = 0, tmpTLVsize=273 [05:22:41]tlvbuf is 001B2A50 [05:22:41]SAM_PROTO_ClearQueue [05:22:41]wFMCommunicate request_size=4 [05:22:41]MH_SAM_APDU [05:22:41]CAPDU: 80 09 00 00 [05:22:41]Write to MH i2c: E2 08 00 7F 1B 80 09 00 00 00 00 00 00 0C [05:22:41]Write i2c OK [05:22:41]MH_I2C_Read... [05:22:41]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [05:22:41]Read from MH i2c: E2 [05:22:41]MH_I2C_Read... [05:22:41]Read from MH i2c: E2 03 00 [05:22:41]MH_I2C_Read... [05:22:41]Read from MH i2c: E2 03 00 7F 1B 00 90 00 0E [05:22:41]RAPDU: 90 00 [05:22:41]wFMCommunicate OK [05:22:41]SAM_PROTO_ClearQueue done [05:22:41]KKMCreateOFDPacket [05:22:41]OFDProtocolAddRootSTLVToBuf [05:22:41]FM_MakeSignedData [05:22:41]FM_MakeSignedData [05:22:41]SAM_PROTO_SignData [05:22:41]wFMCommunicate request_size=4 [05:22:41]MH_SAM_APDU [05:22:41]CAPDU: 80 0D 01 02 [05:22:41]Write to MH i2c: E2 08 00 80 1B 80 0D 01 02 00 00 00 00 14 [05:22:41]Write i2c OK [05:22:41]MH_I2C_Read... [05:22:41]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [05:22:41]Read from MH i2c: E2 [05:22:41]MH_I2C_Read... [05:22:41]Read from MH i2c: E2 03 00 [05:22:41]MH_I2C_Read... [05:22:41]Read from MH i2c: E2 03 00 80 1B 00 90 00 0F [05:22:41]RAPDU: 90 00 [05:22:41]wFMCommunicate OK [05:22:41]wFMCommunicate request_size=255 [05:22:41]MH_SAM_APDU [05:22:41]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 00 00 00 00 00 00 39 04 06 00 B0 36 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 A6 76 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 [05:22:41]Write to MH i2c: E2 02 01 81 1B 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 00 00 00 00 00 00 39 04 06 00 B0 36 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 A6 76 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 00 00 42 [05:22:41]Write i2c OK [05:22:41]MH_I2C_Read... [05:22:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [05:22:41]Read from MH i2c: E2 [05:22:41]MH_I2C_Read... [05:22:41]Read from MH i2c: E2 03 00 [05:22:41]MH_I2C_Read... [05:22:41]Read from MH i2c: E2 03 00 81 1B 00 90 00 10 [05:22:41]RAPDU: 90 00 [05:22:41]wFMCommunicate OK [05:22:41]wFMCommunicate request_size=32 [05:22:41]MH_SAM_APDU [05:22:41]CAPDU: 80 0D 02 02 1B 30 30 30 39 36 35 33 34 34 10 04 04 00 E6 56 00 00 35 04 06 00 3A CF A7 A9 07 98 [05:22:41]Write to MH i2c: E2 23 00 82 1B 80 0D 02 02 1B 00 30 30 30 39 36 35 33 34 34 10 04 04 00 E6 56 00 00 35 04 06 00 3A CF A7 A9 07 98 00 00 A7 [05:22:41]Write i2c OK [05:22:41]MH_I2C_Read... [05:22:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [05:22:41]Read from MH i2c: E2 [05:22:41]MH_I2C_Read... [05:22:41]Read from MH i2c: E2 03 00 [05:22:41]MH_I2C_Read... [05:22:41]Read from MH i2c: E2 03 00 82 1B 00 90 00 11 [05:22:41]RAPDU: 90 00 [05:22:41]wFMCommunicate OK [05:22:41]wFMCommunicate request_size=4 [05:22:41]MH_SAM_APDU [05:22:41]CAPDU: 80 0D 03 02 [05:22:41]Write to MH i2c: E2 08 00 83 1B 80 0D 03 02 00 00 00 00 19 [05:22:41]Write i2c OK [05:22:41]MH_I2C_Read... [05:22:41]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [05:22:41]Read from MH i2c: E2 [05:22:41]MH_I2C_Read... [05:22:41]Read from MH i2c: E2 0B 00 [05:22:41]MH_I2C_Read... [05:22:41]Read from MH i2c: E2 0B 00 83 1B 00 91 CB 23 33 1D C2 2B 72 90 00 48 [05:22:41]RAPDU: 91 CB 23 33 1D C2 2B 72 90 00 [05:22:41]wFMCommunicate OK [05:22:41]SAM_PROTO_SignData done [05:22:41]FM_MakeSignedData done [05:22:41]CreateOFDProtocolMessage [05:22:41]wFMCommunicate request_size=4 [05:22:41]MH_SAM_APDU [05:22:41]CAPDU: 80 11 00 00 [05:22:41]Write to MH i2c: E2 08 00 84 1B 80 11 00 00 00 00 00 00 19 [05:22:41]Write i2c OK [05:22:41]MH_I2C_Read... [05:22:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [05:22:42]Read from MH i2c: E2 [05:22:42]MH_I2C_Read... [05:22:42]Read from MH i2c: E2 17 00 [05:22:42]MH_I2C_Read... [05:22:42]Read from MH i2c: E2 17 00 84 1B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 6B [05:22:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [05:22:42]wFMCommunicate OK [05:22:42]CreateOFDProtocolMessage done [05:22:42]OFDSenderStorePacket 22246 [05:22:42]StoreOFDPacket docnum=22246 [05:22:42]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 25 01 00 00 2C 1E 1D 01 D0 52 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 00 00 00 00 00 00 39 04 06 00 B0 36 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 A6 76 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 E6 56 00 00 35 04 06 00 3A CF A7 A9 07 98 91 CB 23 33 1D C2 2B 72 [05:22:42]CheckFolder [05:22:42]dirname=/storage/ofd_packets [05:22:42]CheckFolder done [05:22:42]ProducePacketName [05:22:42]name=ofd_packets/00022246 [05:22:42]NVStorageSaveData ofd_packets/00022246 [05:22:42]File name is /storage/ofd_packets/00022246 [05:22:42]Write 323 bytes [05:22:42]NVStorageSaveData done [05:22:42]OFDSenderStorePacket done [05:22:42]KKMCreateOFDPacket done [05:22:42]NVStorageSaveData kkm_last_timestamp [05:22:42]File name is /storage/kkm_last_timestamp [05:22:42]Write 4 bytes [05:22:42]NVStorageSaveData done [05:22:42]ExternCall_PrintAddStr [05:22:42]wPrintStart [05:22:42]Write to MH i2c: 01 00 00 85 1B A0 [05:22:42]Write i2c OK [05:22:42]MH_I2C_Read... [05:22:42]Read from MH i2c: 01 [05:22:42]MH_I2C_Read... [05:22:42]Read from MH i2c: 01 07 00 [05:22:42]MH_I2C_Read... [05:22:42]Read from MH i2c: 01 07 00 85 1B 00 00 00 00 00 FF 0F B5 [05:22:42]RasterBufferAndPrint [05:22:42]line Счет N : (3)254460 [05:22:42]line ИНН: 02508201610067 [05:22:42]line Контрольно-Кассовый Чек [05:22:42]line ПРОДАЖА [05:22:42]line Товар: 48747059 [05:22:42]line Сигареты Winston Legend Blue [05:22:42]line 1.000 * 140.00 [05:22:42]line = 140.00 [05:22:42]line НДС 12% НСП 1% [05:22:42]line > о реализуемом товаре [05:22:42]line ИТОГО: 140.00 [05:22:42]line НСП 1% : 1.24 [05:22:42]line НДС 12% : 14.87 [05:22:42]line Наличными: 0.00 [05:22:42]line Безнал.: 140.00 [05:22:42]line Место: АЗС № 76 "Партнер Нефть" [05:22:42]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [05:22:42]line СНО: Общий режим [05:22:42]line Чек 11 16.06.2024 05:22 [05:22:42]line Смена: 327 ФФД: 1.0 [05:22:42]line ЗНМ: 0300000200 [05:22:42]line РНМ: 0000000000099755 [05:22:42]line Версия ККМ: 001 [05:22:42]line Платежная система: KICB Банк [05:22:42]line ФМ: 0000000000965344 [05:22:42]line ФД: 22246 [05:22:42]line ФПД: 64663545513880 [05:22:42]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T052246&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22246&fm=64663545513880&tin=02508201610067®Number=0000000000099755&sum=14000 [05:22:42]line 0 [05:22:42]OFD Sender: Processing packet 22246 [packets to send 5, broken 4] [05:22:42]ProducePacketName [05:22:42]name=ofd_packets/00022246 [05:22:42]OFD Sender: To server: pG, [05:22:42]CommunicateWithHost lk.salyk.kg:30040 [05:22:42]ConnectInit lk.salyk.kg [05:22:42]written 0, free lines is 4095 [05:22:42]Connected sock=10 [05:22:42]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 25 01 00 00 2C 1E 1D 01 D0 52 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 00 00 00 00 00 00 39 04 06 00 B0 36 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 A6 76 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 E6 56 00 00 35 04 06 00 3A CF A7 A9 07 98 91 CB 23 33 1D C2 2B 72 [05:22:42]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 43 9B 47 00 DD 0B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 E6 56 00 00 F4 03 04 00 62 1F 6E 66 B6 04 01 00 00 9C 46 41 FF 94 F7 33 0F [05:22:42]CommunicateWithHost err = 0 [05:22:42]CheckOFDResponse [05:22:42]1017 (14) - 77093643461234 [05:22:42]1041 (16) - 0000000000965344 [05:22:42]1040 (4) - 22246 [05:22:42]1012 (4) - 15.06.2024 23:10 [05:22:42]1206 (1) - 0 [05:22:42]OFD Sender: Remove packet 22246 [05:22:42]ProducePacketName [05:22:42]name=ofd_packets/00022246 [05:22:42]NVStorageDeleteData [05:22:42]Write to MH i2c: 01 00 00 B0 1B CB [05:22:42]Write i2c OK [05:22:42]MH_I2C_Read... [05:22:42]Read from MH i2c: 01 [05:22:42]MH_I2C_Read... [05:22:42]Read from MH i2c: 01 07 00 [05:22:42]MH_I2C_Read... [05:22:42]Read from MH i2c: 01 07 00 B0 1B 00 00 00 00 00 D3 0C B1 [05:22:42]RasterBufferAndPrint [05:22:42]line [05:22:42]line [05:22:42]line [05:22:42]line [05:22:42]line [05:22:42]written 0, free lines is 3289 [05:22:42]MH_Cut [05:22:42]Write to MH i2c: D1 01 00 B7 1B 01 A4 [05:22:42]Write i2c OK [05:22:42]MH_I2C_Read... [05:22:42]Read from MH i2c: D1 [05:22:42]MH_I2C_Read... [05:22:42]Read from MH i2c: D1 01 00 [05:22:42]MH_I2C_Read... [05:22:42]Read from MH i2c: D1 01 00 B7 1B 00 A3 [05:22:42]Write to MH i2c: 01 00 00 B8 1B D3 [05:22:42]Write i2c OK [05:22:42]MH_I2C_Read... [05:22:43]OFD Sender: No OFD packet to send [05:22:43]*** Cut start [05:22:43]*** Partial cut [05:22:43]*** CUTSNS_PIN = 1 [05:22:43]*** CUTSNS_PIN = 0 [05:22:43]*** Brake cut motor [05:22:44]Read from MH i2c: 01 [05:22:44]MH_I2C_Read... [05:22:44]*** Stop cut motor [05:22:44]*** Cut end [05:22:44]Read from MH i2c: 01 07 00 [05:22:44]MH_I2C_Read... [05:22:44]Read from MH i2c: 01 07 00 B8 1B 00 00 00 00 00 FF 0F E8 [05:22:44]process_action close_receipt done [05:22:44]requested_data is exist [05:22:44]produce_requested_data [05:22:44]requested_item fm.sn is exist - process it [05:22:44]wFMCommunicate request_size=4 [05:22:44]MH_SAM_APDU [05:22:44]CAPDU: 80 11 00 00 [05:22:44]Write to MH i2c: E2 08 00 B9 1B 80 11 00 00 00 00 00 00 4E [05:22:44]Write i2c OK [05:22:44]MH_I2C_Read... [05:22:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [05:22:44]Read from MH i2c: E2 [05:22:44]MH_I2C_Read... [05:22:44]Read from MH i2c: E2 17 00 [05:22:44]MH_I2C_Read... [05:22:44]Read from MH i2c: E2 17 00 B9 1B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 A0 [05:22:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [05:22:44]wFMCommunicate OK [05:22:44]requested_item fd.num is exist - process it [05:22:44]SAM_PROTO_GetFieldsCounters [05:22:44]wFMCommunicate request_size=4 [05:22:44]MH_SAM_APDU [05:22:44]CAPDU: 80 13 00 00 [05:22:44]Write to MH i2c: E2 08 00 BA 1B 80 13 00 00 00 00 00 00 51 [05:22:44]Write i2c OK [05:22:44]MH_I2C_Read... [05:22:44]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [05:22:44]Read from MH i2c: E2 [05:22:44]MH_I2C_Read... [05:22:44]Read from MH i2c: E2 62 00 [05:22:44]MH_I2C_Read... [05:22:44]Read from MH i2c: E2 62 00 BA 1B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 E6 56 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 0B 00 00 00 5E 04 04 00 0B 00 00 00 57 04 04 00 0C 00 00 00 19 04 04 00 00 00 00 00 90 00 20 [05:22:44]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 E6 56 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 0B 00 00 00 5E 04 04 00 0B 00 00 00 57 04 04 00 0C 00 00 00 19 04 04 00 00 00 00 00 90 00 [05:22:44]wFMCommunicate OK [05:22:44]SAM_PROTO_GetFieldsCounters done [05:22:44]requested_item shift.num is exist - process it [05:22:44]requested_item shift.opened is exist - process it [05:22:44]req_shift_opened [05:22:44]FM_GetShiftState [05:22:44]SAM_PROTO_GetShiftState [05:22:44]wFMCommunicate request_size=4 [05:22:44]MH_SAM_APDU [05:22:44]CAPDU: 80 13 01 00 [05:22:44]Write to MH i2c: E2 08 00 BB 1B 80 13 01 00 00 00 00 00 53 [05:22:44]Write i2c OK [05:22:44]MH_I2C_Read... [05:22:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [05:22:44]Read from MH i2c: E2 [05:22:44]MH_I2C_Read... [05:22:44]Read from MH i2c: E2 0E 00 [05:22:44]MH_I2C_Read... [05:22:44]Read from MH i2c: E2 0E 00 BB 1B 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 74 [05:22:44]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [05:22:44]wFMCommunicate OK [05:22:44]SAM_PROTO_GetShiftState done [05:22:44]FM_GetShiftState done [05:22:44]req_shift_opened done [05:22:44]requested_item shift.open_date is exist - process it [05:22:44]req_shift_open_date [05:22:44]req_shift_open_date done [05:22:44]produce_requested_data done [05:22:44]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22246,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297} [05:22:44]process_action_free close_receipt [05:22:44]json_value_free [05:22:44]json_value_free done [05:22:44]process_json_proto returns [05:22:44]Send response to host [05:22:44]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22246,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297}}} [05:22:44]free response buf [05:22:44]execute_script done [05:22:44]execute_script returns [05:22:44]free content buf [05:22:44]Sock 8.Close socket [05:22:44]Sock 8.Thread stoped [05:22:48]OFD Sender: No OFD packet to send [05:22:53]OFD Sender: No OFD packet to send [05:22:58]OFD Sender: No OFD packet to send [05:23:03]OFD Sender: No OFD packet to send [05:23:08]OFD Sender: No OFD packet to send [05:23:13]OFD Sender: No OFD packet to send [05:23:18]OFD Sender: No OFD packet to send [05:23:23]OFD Sender: No OFD packet to send [05:23:28]OFD Sender: No OFD packet to send [05:23:33]OFD Sender: No OFD packet to send [05:23:38]OFD Sender: No OFD packet to send [05:23:43]OFD Sender: No OFD packet to send [05:23:48]OFD Sender: No OFD packet to send [05:23:53]OFD Sender: No OFD packet to send [05:23:58]OFD Sender: No OFD packet to send [05:24:03]OFD Sender: No OFD packet to send [05:24:08]OFD Sender: No OFD packet to send [05:24:13]OFD Sender: No OFD packet to send [05:24:18]OFD Sender: No OFD packet to send [05:24:23]OFD Sender: No OFD packet to send [05:24:28]OFD Sender: No OFD packet to send [05:24:33]OFD Sender: No OFD packet to send [05:24:38]OFD Sender: No OFD packet to send [05:24:43]OFD Sender: No OFD packet to send [05:24:48]OFD Sender: No OFD packet to send [05:24:53]OFD Sender: No OFD packet to send [05:24:58]OFD Sender: No OFD packet to send [05:25:03]OFD Sender: No OFD packet to send [05:25:08]OFD Sender: No OFD packet to send [05:25:13]OFD Sender: No OFD packet to send [05:25:18]OFD Sender: No OFD packet to send [05:25:23]OFD Sender: No OFD packet to send [05:25:28]OFD Sender: No OFD packet to send [05:25:33]OFD Sender: No OFD packet to send [05:25:38]OFD Sender: No OFD packet to send [05:25:43]OFD Sender: No OFD packet to send [05:25:48]OFD Sender: No OFD packet to send [05:25:53]OFD Sender: No OFD packet to send [05:25:58]OFD Sender: No OFD packet to send [05:26:03]OFD Sender: No OFD packet to send [05:26:08]OFD Sender: No OFD packet to send [05:26:13]OFD Sender: No OFD packet to send [05:26:18]OFD Sender: No OFD packet to send [05:26:23]OFD Sender: No OFD packet to send [05:26:28]OFD Sender: No OFD packet to send [05:26:33]OFD Sender: No OFD packet to send [05:26:38]OFD Sender: No OFD packet to send [05:26:43]OFD Sender: No OFD packet to send [05:26:48]OFD Sender: No OFD packet to send [05:26:53]OFD Sender: No OFD packet to send [05:26:58]OFD Sender: No OFD packet to send [05:27:03]OFD Sender: No OFD packet to send [05:27:08]OFD Sender: No OFD packet to send [05:27:13]OFD Sender: No OFD packet to send [05:27:18]OFD Sender: No OFD packet to send [05:27:23]OFD Sender: No OFD packet to send [05:27:28]OFD Sender: No OFD packet to send [05:27:33]OFD Sender: No OFD packet to send [05:27:38]OFD Sender: No OFD packet to send [05:27:43]OFD Sender: No OFD packet to send [05:27:48]OFD Sender: No OFD packet to send [05:27:53]OFD Sender: No OFD packet to send [05:27:58]OFD Sender: No OFD packet to send [05:28:03]OFD Sender: No OFD packet to send [05:28:08]OFD Sender: No OFD packet to send [05:28:13]OFD Sender: No OFD packet to send [05:28:18]OFD Sender: No OFD packet to send [05:28:23]OFD Sender: No OFD packet to send [05:28:28]OFD Sender: No OFD packet to send [05:28:33]OFD Sender: No OFD packet to send [05:28:38]OFD Sender: No OFD packet to send [05:28:43]OFD Sender: No OFD packet to send [05:28:48]OFD Sender: No OFD packet to send [05:28:53]OFD Sender: No OFD packet to send [05:28:58]OFD Sender: No OFD packet to send [05:29:03]OFD Sender: No OFD packet to send [05:29:08]OFD Sender: No OFD packet to send [05:29:13]OFD Sender: No OFD packet to send [05:29:18]OFD Sender: No OFD packet to send [05:29:23]OFD Sender: No OFD packet to send [05:29:28]OFD Sender: No OFD packet to send [05:29:33]OFD Sender: No OFD packet to send [05:29:38]OFD Sender: No OFD packet to send [05:29:43]OFD Sender: No OFD packet to send [05:29:48]OFD Sender: No OFD packet to send [05:29:53]OFD Sender: No OFD packet to send [05:29:58]OFD Sender: No OFD packet to send [05:30:03]OFD Sender: No OFD packet to send [05:30:08]OFD Sender: No OFD packet to send [05:30:13]OFD Sender: No OFD packet to send [05:30:18]OFD Sender: No OFD packet to send [05:30:23]OFD Sender: No OFD packet to send [05:30:28]OFD Sender: No OFD packet to send [05:30:33]OFD Sender: No OFD packet to send [05:30:38]OFD Sender: No OFD packet to send [05:30:43]OFD Sender: No OFD packet to send [05:30:48]OFD Sender: No OFD packet to send [05:30:53]OFD Sender: No OFD packet to send [05:30:58]OFD Sender: No OFD packet to send [05:31:03]OFD Sender: No OFD packet to send [05:31:08]OFD Sender: No OFD packet to send [05:31:13]OFD Sender: No OFD packet to send [05:31:18]OFD Sender: No OFD packet to send [05:31:23]OFD Sender: No OFD packet to send [05:31:28]OFD Sender: No OFD packet to send [05:31:33]OFD Sender: No OFD packet to send [05:31:38]OFD Sender: No OFD packet to send [05:31:43]OFD Sender: No OFD packet to send [05:31:48]OFD Sender: No OFD packet to send [05:31:53]OFD Sender: No OFD packet to send [05:31:58]OFD Sender: No OFD packet to send [05:32:03]OFD Sender: No OFD packet to send [05:32:08]OFD Sender: No OFD packet to send [05:32:13]OFD Sender: No OFD packet to send [05:32:18]OFD Sender: No OFD packet to send [05:32:23]OFD Sender: No OFD packet to send [05:32:28]OFD Sender: No OFD packet to send [05:32:33]OFD Sender: No OFD packet to send [05:32:38]OFD Sender: No OFD packet to send [05:32:43]OFD Sender: No OFD packet to send [05:32:48]OFD Sender: No OFD packet to send [05:32:53]OFD Sender: No OFD packet to send [05:32:58]OFD Sender: No OFD packet to send [05:33:03]OFD Sender: No OFD packet to send [05:33:08]OFD Sender: No OFD packet to send [05:33:13]OFD Sender: No OFD packet to send [05:33:18]OFD Sender: No OFD packet to send [05:33:23]OFD Sender: No OFD packet to send [05:33:28]OFD Sender: No OFD packet to send [05:33:33]OFD Sender: No OFD packet to send [05:33:38]OFD Sender: No OFD packet to send [05:33:43]OFD Sender: No OFD packet to send [05:33:48]OFD Sender: No OFD packet to send [05:33:53]OFD Sender: No OFD packet to send [05:33:58]OFD Sender: No OFD packet to send [05:34:03]OFD Sender: No OFD packet to send [05:34:08]OFD Sender: No OFD packet to send [05:34:13]OFD Sender: No OFD packet to send [05:34:18]OFD Sender: No OFD packet to send [05:34:23]OFD Sender: No OFD packet to send [05:34:28]OFD Sender: No OFD packet to send [05:34:33]OFD Sender: No OFD packet to send [05:34:38]OFD Sender: No OFD packet to send [05:34:43]OFD Sender: No OFD packet to send [05:34:48]OFD Sender: No OFD packet to send [05:34:53]OFD Sender: No OFD packet to send [05:34:58]OFD Sender: No OFD packet to send [05:35:03]OFD Sender: No OFD packet to send [05:35:08]OFD Sender: No OFD packet to send [05:35:13]OFD Sender: No OFD packet to send [05:35:18]OFD Sender: No OFD packet to send [05:35:23]OFD Sender: No OFD packet to send [05:35:28]OFD Sender: No OFD packet to send [05:35:33]OFD Sender: No OFD packet to send [05:35:38]OFD Sender: No OFD packet to send [05:35:43]OFD Sender: No OFD packet to send [05:35:48]OFD Sender: No OFD packet to send [05:35:53]OFD Sender: No OFD packet to send [05:35:58]OFD Sender: No OFD packet to send [05:36:03]OFD Sender: No OFD packet to send [05:36:08]OFD Sender: No OFD packet to send [05:36:13]OFD Sender: No OFD packet to send [05:36:18]OFD Sender: No OFD packet to send [05:36:23]OFD Sender: No OFD packet to send [05:36:28]OFD Sender: No OFD packet to send [05:36:33]OFD Sender: No OFD packet to send [05:36:38]OFD Sender: No OFD packet to send [05:36:43]OFD Sender: No OFD packet to send [05:36:48]OFD Sender: No OFD packet to send [05:36:53]OFD Sender: No OFD packet to send [05:36:58]OFD Sender: No OFD packet to send [05:37:03]OFD Sender: No OFD packet to send [05:37:08]OFD Sender: No OFD packet to send [05:37:13]OFD Sender: No OFD packet to send [05:37:18]OFD Sender: No OFD packet to send [05:37:23]OFD Sender: No OFD packet to send [05:37:28]OFD Sender: No OFD packet to send [05:37:33]OFD Sender: No OFD packet to send [05:37:38]OFD Sender: No OFD packet to send [05:37:43]OFD Sender: No OFD packet to send [05:37:48]OFD Sender: No OFD packet to send [05:37:53]OFD Sender: No OFD packet to send [05:37:58]OFD Sender: No OFD packet to send [05:38:03]OFD Sender: No OFD packet to send [05:38:08]OFD Sender: No OFD packet to send [05:38:13]OFD Sender: No OFD packet to send [05:38:18]OFD Sender: No OFD packet to send [05:38:23]OFD Sender: No OFD packet to send [05:38:28]OFD Sender: No OFD packet to send [05:38:33]OFD Sender: No OFD packet to send [05:38:38]OFD Sender: No OFD packet to send [05:38:43]OFD Sender: No OFD packet to send [05:38:48]OFD Sender: No OFD packet to send [05:38:53]OFD Sender: No OFD packet to send [05:38:58]OFD Sender: No OFD packet to send [05:39:03]OFD Sender: No OFD packet to send [05:39:08]OFD Sender: No OFD packet to send [05:39:13]OFD Sender: No OFD packet to send [05:39:18]OFD Sender: No OFD packet to send [05:39:23]OFD Sender: No OFD packet to send [05:39:28]OFD Sender: No OFD packet to send [05:39:33]OFD Sender: No OFD packet to send [05:39:38]OFD Sender: No OFD packet to send [05:39:43]OFD Sender: No OFD packet to send [05:39:48]OFD Sender: No OFD packet to send [05:39:53]OFD Sender: No OFD packet to send [05:39:58]OFD Sender: No OFD packet to send [05:40:03]OFD Sender: No OFD packet to send [05:40:08]OFD Sender: No OFD packet to send [05:40:13]OFD Sender: No OFD packet to send [05:40:18]OFD Sender: No OFD packet to send [05:40:23]OFD Sender: No OFD packet to send [05:40:28]OFD Sender: No OFD packet to send [05:40:33]OFD Sender: No OFD packet to send [05:40:39]OFD Sender: No OFD packet to send [05:40:44]OFD Sender: No OFD packet to send [05:40:49]OFD Sender: No OFD packet to send [05:40:54]OFD Sender: No OFD packet to send [05:40:59]OFD Sender: No OFD packet to send [05:41:04]OFD Sender: No OFD packet to send [05:41:09]OFD Sender: No OFD packet to send [05:41:14]OFD Sender: No OFD packet to send [05:41:19]OFD Sender: No OFD packet to send [05:41:24]OFD Sender: No OFD packet to send [05:41:29]OFD Sender: No OFD packet to send [05:41:34]OFD Sender: No OFD packet to send [05:41:39]OFD Sender: No OFD packet to send [05:41:44]OFD Sender: No OFD packet to send [05:41:49]OFD Sender: No OFD packet to send [05:41:54]OFD Sender: No OFD packet to send [05:41:59]OFD Sender: No OFD packet to send [05:42:04]OFD Sender: No OFD packet to send [05:42:09]OFD Sender: No OFD packet to send [05:42:14]OFD Sender: No OFD packet to send [05:42:19]OFD Sender: No OFD packet to send [05:42:24]OFD Sender: No OFD packet to send [05:42:29]OFD Sender: No OFD packet to send [05:42:34]OFD Sender: No OFD packet to send [05:42:39]OFD Sender: No OFD packet to send [05:42:44]OFD Sender: No OFD packet to send [05:42:49]OFD Sender: No OFD packet to send [05:42:54]OFD Sender: No OFD packet to send [05:42:59]OFD Sender: No OFD packet to send [05:43:04]OFD Sender: No OFD packet to send [05:43:09]OFD Sender: No OFD packet to send [05:43:14]OFD Sender: No OFD packet to send [05:43:19]OFD Sender: No OFD packet to send [05:43:24]OFD Sender: No OFD packet to send [05:43:29]OFD Sender: No OFD packet to send [05:43:34]OFD Sender: No OFD packet to send [05:43:39]OFD Sender: No OFD packet to send [05:43:44]OFD Sender: No OFD packet to send [05:43:49]OFD Sender: No OFD packet to send [05:43:54]OFD Sender: No OFD packet to send [05:43:59]OFD Sender: No OFD packet to send [05:44:04]OFD Sender: No OFD packet to send [05:44:09]OFD Sender: No OFD packet to send [05:44:14]OFD Sender: No OFD packet to send [05:44:19]OFD Sender: No OFD packet to send [05:44:24]OFD Sender: No OFD packet to send [05:44:29]OFD Sender: No OFD packet to send [05:44:34]OFD Sender: No OFD packet to send [05:44:39]OFD Sender: No OFD packet to send [05:44:44]OFD Sender: No OFD packet to send [05:44:49]OFD Sender: No OFD packet to send [05:44:54]OFD Sender: No OFD packet to send [05:44:59]OFD Sender: No OFD packet to send [05:45:04]OFD Sender: No OFD packet to send [05:45:09]OFD Sender: No OFD packet to send [05:45:14]OFD Sender: No OFD packet to send [05:45:19]OFD Sender: No OFD packet to send [05:45:24]OFD Sender: No OFD packet to send [05:45:25]recv_with_timeout no data received [05:45:29]OFD Sender: No OFD packet to send [05:45:34]OFD Sender: No OFD packet to send [05:45:39]OFD Sender: No OFD packet to send [05:45:44]OFD Sender: No OFD packet to send [05:45:49]OFD Sender: No OFD packet to send [05:45:50]accept exits with 9 [05:45:50]New connection [05:45:50]New thread 3066695012 created [05:45:50]Thread 3066838372 joined [05:45:50]Waiting for new connection... [05:45:50] Sock 9.Parse request [05:45:50]Sock 9.Check first char [05:45:50]Sock 9.First char is OK [05:45:50]request: POST /json_proto HTTP/1.0 [05:45:50]Method: POST [05:45:50]URL: /json_proto [05:45:50]Method is POST - this is cgi request [05:45:50]url: /json_proto [05:45:50]query_string will be loaded in cgi processing [05:45:50]execute_cgi json_proto POST (null) [05:45:50]execute_cgi path=json_proto method=POST [05:45:50]POST find Content-Length [05:45:50]Host: 172.17.35.133:8080 [05:45:50]Content-Length: 638 [05:45:50]Content-Type: application/json [05:45:50] [05:45:50]POST finish read [05:45:50]Found Content-Length = 638 [05:45:50]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254461", "tax_sys" : 0, "items" : [ { "code": "4700002082931", "name": "\u0412\u043E\u0434\u043A\u0430 \u0425\u043E\u0440\u043E\u0448\u0430\u044F 0,1\u043B", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 70.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [05:45:50]execute_script... [05:45: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)254461", "tax_sys" : 0, "items" : [ { "code": "4700002082931", "name": "\u0412\u043E\u0434\u043A\u0430 \u0425\u043E\u0440\u043E\u0448\u0430\u044F 0,1\u043B", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 70.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [05:45:50]POST & json_proto [05:45:50]process_json_proto [05:45:50]json parsed OK: [05:45:50]protocol is kg_v1.0 [05:45:50]action value=close_receipt [05:45:50]process_action close_receipt [05:45:50]cmd_close_receipt [05:45:50]MH_GetDate [05:45:50]Write to MH i2c: F0 00 00 BC 1B C6 [05:45:50]Write i2c OK [05:45:50]MH_I2C_Read... [05:45:50]Read from MH i2c: F0 [05:45:50]MH_I2C_Read... [05:45:50]Read from MH i2c: F0 09 00 [05:45:50]MH_I2C_Read... [05:45:50]Read from MH i2c: F0 09 00 BC 1B 00 15 7C 6E 66 8C 55 28 65 A2 [05:45:50]GetLastDocTimeStamp 1718515366 [05:45:50]current date 1718516757 [05:45:50]FM_GetShiftState [05:45:50]SAM_PROTO_GetShiftState [05:45:50]wFMCommunicate request_size=4 [05:45:50]MH_SAM_APDU [05:45:50]CAPDU: 80 13 01 00 [05:45:50]Write to MH i2c: E2 08 00 BD 1B 80 13 01 00 00 00 00 00 55 [05:45:50]Write i2c OK [05:45:50]MH_I2C_Read... [05:45:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [05:45:50]Read from MH i2c: E2 [05:45:50]MH_I2C_Read... [05:45:50]Read from MH i2c: E2 0E 00 [05:45:50]MH_I2C_Read... [05:45:50]Read from MH i2c: E2 0E 00 BD 1B 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 76 [05:45:50]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [05:45:50]wFMCommunicate OK [05:45:50]SAM_PROTO_GetShiftState done [05:45:50]FM_GetShiftState done [05:45:50]opened in 1718497297 [05:45:50]opened+sec_in_day 1718583697 [05:45:50]quantity*price = 7000 [05:45:50]sum+1 = 7001 [05:45:50]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 70.00 НСП 1% : 0.62 НДС 12% : 7.43 Наличными: 70.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 12 16.06.2024 05:45 Смена: 327 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22247 ФПД: 73854137323643 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T054557&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22247&fm=73854137323643&tin=02508201610067®Number=0000000000099755&sum=7000 0 [05:45:51]StoreToDocumentArchive [05:45:51]shift 327 fd 22247 [05:45:51]save to /storage/0327/doc_00022247 [05:45:51]save last doc name /storage/0327/doc_00022247 to /storage/kkm_last_doc_name [05:45:51]save OK [05:45:51]Clear old archive folders... [05:45:51]ProcessDocumentItem done err = 0, tmpTLVsize=273 [05:45:51]tlvbuf is 001CD410 [05:45:51]SAM_PROTO_ClearQueue [05:45:51]wFMCommunicate request_size=4 [05:45:51]MH_SAM_APDU [05:45:51]CAPDU: 80 09 00 00 [05:45:51]Write to MH i2c: E2 08 00 CA 1B 80 09 00 00 00 00 00 00 57 [05:45:51]Write i2c OK [05:45:51]MH_I2C_Read... [05:45:51]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [05:45:51]Read from MH i2c: E2 [05:45:51]MH_I2C_Read... [05:45:51]Read from MH i2c: E2 03 00 [05:45:51]MH_I2C_Read... [05:45:51]Read from MH i2c: E2 03 00 CA 1B 00 90 00 59 [05:45:51]RAPDU: 90 00 [05:45:51]wFMCommunicate OK [05:45:51]SAM_PROTO_ClearQueue done [05:45:51]KKMCreateOFDPacket [05:45:51]OFDProtocolAddRootSTLVToBuf [05:45:51]FM_MakeSignedData [05:45:51]FM_MakeSignedData [05:45:51]SAM_PROTO_SignData [05:45:51]wFMCommunicate request_size=4 [05:45:51]MH_SAM_APDU [05:45:51]CAPDU: 80 0D 01 02 [05:45:51]Write to MH i2c: E2 08 00 CB 1B 80 0D 01 02 00 00 00 00 5F [05:45:51]Write i2c OK [05:45:51]MH_I2C_Read... [05:45:51]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [05:45:51]Read from MH i2c: E2 [05:45:51]MH_I2C_Read... [05:45:51]Read from MH i2c: E2 03 00 [05:45:51]MH_I2C_Read... [05:45:51]Read from MH i2c: E2 03 00 CB 1B 00 90 00 5A [05:45:51]RAPDU: 90 00 [05:45:51]wFMCommunicate OK [05:45:51]wFMCommunicate request_size=255 [05:45:51]MH_SAM_APDU [05:45:51]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 39 33 31 06 04 1F 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A5 D0 BE D1 80 D0 BE D1 88 D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 1B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E7 02 00 00 00 00 07 04 06 00 58 1B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 15 7C 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 [05:45:51]Write to MH i2c: E2 02 01 CC 1B 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 39 33 31 06 04 1F 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A5 D0 BE D1 80 D0 BE D1 88 D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 1B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E7 02 00 00 00 00 07 04 06 00 58 1B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 15 7C 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 00 00 3D [05:45:51]Write i2c OK [05:45:51]MH_I2C_Read... [05:45:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [05:45:51]Read from MH i2c: E2 [05:45:51]MH_I2C_Read... [05:45:51]Read from MH i2c: E2 03 00 [05:45:51]MH_I2C_Read... [05:45:51]Read from MH i2c: E2 03 00 CC 1B 00 90 00 5B [05:45:51]RAPDU: 90 00 [05:45:51]wFMCommunicate OK [05:45:51]wFMCommunicate request_size=32 [05:45:51]MH_SAM_APDU [05:45:51]CAPDU: 80 0D 02 02 1B 30 30 30 39 36 35 33 34 34 10 04 04 00 E7 56 00 00 35 04 06 00 43 2B 81 9E D0 7B [05:45:51]Write to MH i2c: E2 23 00 CD 1B 80 0D 02 02 1B 00 30 30 30 39 36 35 33 34 34 10 04 04 00 E7 56 00 00 35 04 06 00 43 2B 81 9E D0 7B 00 00 D3 [05:45:51]Write i2c OK [05:45:51]MH_I2C_Read... [05:45:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [05:45:51]Read from MH i2c: E2 [05:45:51]MH_I2C_Read... [05:45:51]Read from MH i2c: E2 03 00 [05:45:51]MH_I2C_Read... [05:45:51]Read from MH i2c: E2 03 00 CD 1B 00 90 00 5C [05:45:51]RAPDU: 90 00 [05:45:51]wFMCommunicate OK [05:45:51]wFMCommunicate request_size=4 [05:45:51]MH_SAM_APDU [05:45:51]CAPDU: 80 0D 03 02 [05:45:51]Write to MH i2c: E2 08 00 CE 1B 80 0D 03 02 00 00 00 00 64 [05:45:51]Write i2c OK [05:45:51]MH_I2C_Read... [05:45:51]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [05:45:52]Read from MH i2c: E2 [05:45:52]MH_I2C_Read... [05:45:52]Read from MH i2c: E2 0B 00 [05:45:52]MH_I2C_Read... [05:45:52]Read from MH i2c: E2 0B 00 CE 1B 00 C0 55 EE 78 68 E0 E9 E6 90 00 F7 [05:45:52]RAPDU: C0 55 EE 78 68 E0 E9 E6 90 00 [05:45:52]wFMCommunicate OK [05:45:52]SAM_PROTO_SignData done [05:45:52]FM_MakeSignedData done [05:45:52]CreateOFDProtocolMessage [05:45:52]wFMCommunicate request_size=4 [05:45:52]MH_SAM_APDU [05:45:52]CAPDU: 80 11 00 00 [05:45:52]Write to MH i2c: E2 08 00 CF 1B 80 11 00 00 00 00 00 00 64 [05:45:52]Write i2c OK [05:45:52]MH_I2C_Read... [05:45:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [05:45:52]Read from MH i2c: E2 [05:45:52]MH_I2C_Read... [05:45:52]Read from MH i2c: E2 17 00 [05:45:52]MH_I2C_Read... [05:45:52]Read from MH i2c: E2 17 00 CF 1B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 B6 [05:45:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [05:45:52]wFMCommunicate OK [05:45:52]CreateOFDProtocolMessage done [05:45:52]OFDSenderStorePacket 22247 [05:45:52]StoreOFDPacket docnum=22247 [05:45:52]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 25 01 00 00 3B D1 1D 01 56 CF 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 39 33 31 06 04 1F 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A5 D0 BE D1 80 D0 BE D1 88 D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 1B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E7 02 00 00 00 00 07 04 06 00 58 1B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 15 7C 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 E7 56 00 00 35 04 06 00 43 2B 81 9E D0 7B C0 55 EE 78 68 E0 E9 E6 [05:45:52]CheckFolder [05:45:52]dirname=/storage/ofd_packets [05:45:52]CheckFolder done [05:45:52]ProducePacketName [05:45:52]name=ofd_packets/00022247 [05:45:52]NVStorageSaveData ofd_packets/00022247 [05:45:52]File name is /storage/ofd_packets/00022247 [05:45:52]Write 323 bytes [05:45:52]NVStorageSaveData done [05:45:52]OFDSenderStorePacket done [05:45:52]KKMCreateOFDPacket done [05:45:52]NVStorageSaveData kkm_last_timestamp [05:45:52]File name is /storage/kkm_last_timestamp [05:45:52]Write 4 bytes [05:45:52]NVStorageSaveData done [05:45:52]ExternCall_PrintAddStr [05:45:52]wPrintStart [05:45:52]Write to MH i2c: 01 00 00 D0 1B EB [05:45:52]OFD Sender: Processing packet 22247 [packets to send 5, broken 4] [05:45:52]ProducePacketName [05:45:52]name=ofd_packets/00022247 [05:45:52]OFD Sender: To server: pG, [05:45:52]CommunicateWithHost lk.salyk.kg:30040 [05:45:52]ConnectInit lk.salyk.kg [05:45:52]Write i2c OK [05:45:52]MH_I2C_Read... [05:45:52]Read from MH i2c: 01 [05:45:52]MH_I2C_Read... [05:45:52]Read from MH i2c: 01 07 00 [05:45:52]MH_I2C_Read... [05:45:52]Read from MH i2c: 01 07 00 D0 1B 00 00 00 00 00 FF 0F 00 [05:45:52]RasterBufferAndPrint [05:45:52]line Счет N : (3)254461 [05:45:52]line ИНН: 02508201610067 [05:45:52]line Контрольно-Кассовый Чек [05:45:52]line ПРОДАЖА [05:45:52]line Товар: 4700002082931 [05:45:52]line Водка Хорошая 0,1л [05:45:52]line 1.000 * 70.00 [05:45:52]line = 70.00 [05:45:52]line НДС 12% НСП 1% [05:45:52]line > о реализуемом товаре [05:45:52]line ИТОГО: 70.00 [05:45:52]line НСП 1% : 0.62 [05:45:52]line НДС 12% : 7.43 [05:45:52]line Наличными: 70.00 [05:45:52]line Безнал.: 0.00 [05:45:52]line Место: АЗС № 76 "Партнер Нефть" [05:45:52]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [05:45:52]line СНО: Общий режим [05:45:52]line Чек 12 16.06.2024 05:45 [05:45:52]line Смена: 327 ФФД: 1.0 [05:45:52]line ЗНМ: 0300000200 [05:45:52]line РНМ: 0000000000099755 [05:45:52]line Версия ККМ: 001 [05:45:52]line ФМ: 0000000000965344 [05:45:52]line ФД: 22247 [05:45:52]line ФПД: 73854137323643 [05:45:52]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T054557&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22247&fm=73854137323643&tin=02508201610067®Number=0000000000099755&sum=7000 [05:45:52]line 0 [05:45:52]Connected sock=10 [05:45:52]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 25 01 00 00 3B D1 1D 01 56 CF 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 39 33 31 06 04 1F 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A5 D0 BE D1 80 D0 BE D1 88 D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 1B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E7 02 00 00 00 00 07 04 06 00 58 1B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 15 7C 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 E7 56 00 00 35 04 06 00 43 2B 81 9E D0 7B C0 55 EE 78 68 E0 E9 E6 [05:45:52]written 0, free lines is 4095 [05:45:52]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 BC C4 47 00 B5 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 39 36 35 33 34 34 10 04 04 00 E7 56 00 00 F4 03 04 00 D0 24 6E 66 B6 04 01 00 00 5F B5 1E D9 29 89 03 5C [05:45:52]CommunicateWithHost err = 0 [05:45:52]CheckOFDResponse [05:45:52]1017 (14) - 77093643461234 [05:45:52]1041 (16) - 0000000000965344 [05:45:52]1040 (4) - 22247 [05:45:52]1012 (4) - 15.06.2024 23:33 [05:45:52]1206 (1) - 0 [05:45:52]OFD Sender: Remove packet 22247 [05:45:52]ProducePacketName [05:45:52]name=ofd_packets/00022247 [05:45:52]NVStorageDeleteData [05:45:52]Write to MH i2c: 01 00 00 F8 1B 13 [05:45:52]Write i2c OK [05:45:52]MH_I2C_Read... [05:45:52]Read from MH i2c: 01 [05:45:52]MH_I2C_Read... [05:45:52]Read from MH i2c: 01 07 00 [05:45:52]MH_I2C_Read... [05:45:52]Read from MH i2c: 01 07 00 F8 1B 00 00 00 00 00 15 0D 3C [05:45:52]RasterBufferAndPrint [05:45:52]line [05:45:52]line [05:45:52]line [05:45:52]line [05:45:52]line [05:45:52]written 0, free lines is 3356 [05:45:52]MH_Cut [05:45:52]Write to MH i2c: D1 01 00 FF 1B 01 EC [05:45:52]Write i2c OK [05:45:52]MH_I2C_Read... [05:45:52]Read from MH i2c: D1 [05:45:52]MH_I2C_Read... [05:45:52]Read from MH i2c: D1 01 00 [05:45:52]MH_I2C_Read... [05:45:52]Read from MH i2c: D1 01 00 FF 1B 00 EB [05:45:52]Write to MH i2c: 01 00 00 00 1C 1C [05:45:52]Write i2c OK [05:45:52]MH_I2C_Read... [05:45:53]OFD Sender: No OFD packet to send [05:45:53]*** Cut start [05:45:53]*** Partial cut [05:45:53]*** CUTSNS_PIN = 1 [05:45:53]*** CUTSNS_PIN = 0 [05:45:53]*** Brake cut motor [05:45:54]Read from MH i2c: 01 [05:45:54]MH_I2C_Read... [05:45:54]*** Stop cut motor [05:45:54]*** Cut end [05:45:54]Read from MH i2c: 01 07 00 [05:45:54]MH_I2C_Read... [05:45:54]Read from MH i2c: 01 07 00 00 1C 00 00 00 00 00 FF 0F 31 [05:45:54]process_action close_receipt done [05:45:54]requested_data is exist [05:45:54]produce_requested_data [05:45:54]requested_item fm.sn is exist - process it [05:45:54]wFMCommunicate request_size=4 [05:45:54]MH_SAM_APDU [05:45:54]CAPDU: 80 11 00 00 [05:45:54]Write to MH i2c: E2 08 00 01 1C 80 11 00 00 00 00 00 00 97 [05:45:54]Write i2c OK [05:45:54]MH_I2C_Read... [05:45:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [05:45:54]Read from MH i2c: E2 [05:45:54]MH_I2C_Read... [05:45:54]Read from MH i2c: E2 17 00 [05:45:54]MH_I2C_Read... [05:45:54]Read from MH i2c: E2 17 00 01 1C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 E9 [05:45:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [05:45:54]wFMCommunicate OK [05:45:54]requested_item fd.num is exist - process it [05:45:54]SAM_PROTO_GetFieldsCounters [05:45:54]wFMCommunicate request_size=4 [05:45:54]MH_SAM_APDU [05:45:54]CAPDU: 80 13 00 00 [05:45:54]Write to MH i2c: E2 08 00 02 1C 80 13 00 00 00 00 00 00 9A [05:45:54]Write i2c OK [05:45:54]MH_I2C_Read... [05:45:54]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [05:45:54]Read from MH i2c: E2 [05:45:54]MH_I2C_Read... [05:45:54]Read from MH i2c: E2 62 00 [05:45:54]MH_I2C_Read... [05:45:54]Read from MH i2c: E2 62 00 02 1C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 E7 56 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 0C 00 00 00 5E 04 04 00 0C 00 00 00 57 04 04 00 0D 00 00 00 19 04 04 00 00 00 00 00 90 00 6D [05:45:54]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 E7 56 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 0C 00 00 00 5E 04 04 00 0C 00 00 00 57 04 04 00 0D 00 00 00 19 04 04 00 00 00 00 00 90 00 [05:45:54]wFMCommunicate OK [05:45:54]SAM_PROTO_GetFieldsCounters done [05:45:54]requested_item shift.num is exist - process it [05:45:54]requested_item shift.opened is exist - process it [05:45:54]req_shift_opened [05:45:54]FM_GetShiftState [05:45:54]SAM_PROTO_GetShiftState [05:45:54]wFMCommunicate request_size=4 [05:45:54]MH_SAM_APDU [05:45:54]CAPDU: 80 13 01 00 [05:45:54]Write to MH i2c: E2 08 00 03 1C 80 13 01 00 00 00 00 00 9C [05:45:54]Write i2c OK [05:45:54]MH_I2C_Read... [05:45:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [05:45:54]Read from MH i2c: E2 [05:45:54]MH_I2C_Read... [05:45:54]Read from MH i2c: E2 0E 00 [05:45:54]MH_I2C_Read... [05:45:54]Read from MH i2c: E2 0E 00 03 1C 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 BD [05:45:54]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [05:45:54]wFMCommunicate OK [05:45:54]SAM_PROTO_GetShiftState done [05:45:54]FM_GetShiftState done [05:45:54]req_shift_opened done [05:45:54]requested_item shift.open_date is exist - process it [05:45:54]req_shift_open_date [05:45:54]req_shift_open_date done [05:45:54]produce_requested_data done [05:45:54]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22247,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297} [05:45:54]process_action_free close_receipt [05:45:54]json_value_free [05:45:54]json_value_free done [05:45:54]process_json_proto returns [05:45:54]Send response to host [05:45:54]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22247,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297}}} [05:45:54]free response buf [05:45:54]execute_script done [05:45:54]execute_script returns [05:45:54]free content buf [05:45:54]Sock 9.Close socket [05:45:54]Sock 9.Thread stoped [05:45:58]OFD Sender: No OFD packet to send [05:46:03]OFD Sender: No OFD packet to send [05:46:08]OFD Sender: No OFD packet to send [05:46:12]recv_with_timeout no data received [05:46:13]OFD Sender: No OFD packet to send [05:46:18]OFD Sender: No OFD packet to send [05:46:23]OFD Sender: No OFD packet to send [05:46:28]OFD Sender: No OFD packet to send [05:46:33]OFD Sender: No OFD packet to send [05:46:38]OFD Sender: No OFD packet to send [05:46:43]OFD Sender: No OFD packet to send [05:46:48]OFD Sender: No OFD packet to send [05:46:53]OFD Sender: No OFD packet to send [05:46:58]OFD Sender: No OFD packet to send [05:47:03]OFD Sender: No OFD packet to send [05:47:08]OFD Sender: No OFD packet to send [05:47:13]OFD Sender: No OFD packet to send [05:47:18]OFD Sender: No OFD packet to send [05:47:23]OFD Sender: No OFD packet to send [05:47:26]recv_with_timeout no data received [05:47:28]OFD Sender: No OFD packet to send [05:47:33]OFD Sender: No OFD packet to send [05:47:38]OFD Sender: No OFD packet to send [05:47:43]OFD Sender: No OFD packet to send [05:47:48]OFD Sender: No OFD packet to send [05:47:53]OFD Sender: No OFD packet to send [05:47:58]OFD Sender: No OFD packet to send [05:48:03]OFD Sender: No OFD packet to send [05:48:08]OFD Sender: No OFD packet to send [05:48:13]OFD Sender: No OFD packet to send [05:48:18]OFD Sender: No OFD packet to send [05:48:23]OFD Sender: No OFD packet to send [05:48:27]recv_with_timeout no data received [05:48:28]OFD Sender: No OFD packet to send [05:48:33]OFD Sender: No OFD packet to send [05:48:38]OFD Sender: No OFD packet to send [05:48:43]OFD Sender: No OFD packet to send [05:48:48]OFD Sender: No OFD packet to send [05:48:53]OFD Sender: No OFD packet to send [05:48:58]OFD Sender: No OFD packet to send [05:49:03]OFD Sender: No OFD packet to send [05:49:08]OFD Sender: No OFD packet to send [05:49:13]OFD Sender: No OFD packet to send [05:49:18]OFD Sender: No OFD packet to send [05:49:23]OFD Sender: No OFD packet to send [05:49:28]OFD Sender: No OFD packet to send [05:49:33]OFD Sender: No OFD packet to send [05:49:38]OFD Sender: No OFD packet to send [05:49:43]OFD Sender: No OFD packet to send [05:49:48]OFD Sender: No OFD packet to send [05:49:53]OFD Sender: No OFD packet to send [05:49:58]OFD Sender: No OFD packet to send [05:50:03]OFD Sender: No OFD packet to send [05:50:08]OFD Sender: No OFD packet to send [05:50:13]OFD Sender: No OFD packet to send [05:50:18]OFD Sender: No OFD packet to send [05:50:23]OFD Sender: No OFD packet to send [05:50:28]OFD Sender: No OFD packet to send [05:50:33]OFD Sender: No OFD packet to send [05:50:38]OFD Sender: No OFD packet to send [05:50:43]OFD Sender: No OFD packet to send [05:50:48]OFD Sender: No OFD packet to send [05:50:53]OFD Sender: No OFD packet to send [05:50:58]OFD Sender: No OFD packet to send [05:51:03]OFD Sender: No OFD packet to send [05:51:08]OFD Sender: No OFD packet to send [05:51:13]OFD Sender: No OFD packet to send [05:51:18]OFD Sender: No OFD packet to send [05:51:23]OFD Sender: No OFD packet to send [05:51:28]OFD Sender: No OFD packet to send [05:51:33]OFD Sender: No OFD packet to send [05:51:38]OFD Sender: No OFD packet to send [05:51:43]OFD Sender: No OFD packet to send [05:51:48]OFD Sender: No OFD packet to send [05:51:53]OFD Sender: No OFD packet to send [05:51:58]OFD Sender: No OFD packet to send [05:52:03]OFD Sender: No OFD packet to send [05:52:08]OFD Sender: No OFD packet to send [05:52:13]OFD Sender: No OFD packet to send [05:52:18]OFD Sender: No OFD packet to send [05:52:23]OFD Sender: No OFD packet to send [05:52:28]OFD Sender: No OFD packet to send [05:52:33]OFD Sender: No OFD packet to send [05:52:38]OFD Sender: No OFD packet to send [05:52:43]OFD Sender: No OFD packet to send [05:52:48]OFD Sender: No OFD packet to send [05:52:53]OFD Sender: No OFD packet to send [05:52:58]OFD Sender: No OFD packet to send [05:53:03]OFD Sender: No OFD packet to send [05:53:08]OFD Sender: No OFD packet to send [05:53:13]OFD Sender: No OFD packet to send [05:53:18]OFD Sender: No OFD packet to send [05:53:23]OFD Sender: No OFD packet to send [05:53:28]OFD Sender: No OFD packet to send [05:53:33]OFD Sender: No OFD packet to send [05:53:38]OFD Sender: No OFD packet to send [05:53:43]OFD Sender: No OFD packet to send [05:53:48]OFD Sender: No OFD packet to send [05:53:53]OFD Sender: No OFD packet to send [05:53:58]OFD Sender: No OFD packet to send [05:54:03]OFD Sender: No OFD packet to send [05:54:08]OFD Sender: No OFD packet to send [05:54:13]OFD Sender: No OFD packet to send [05:54:18]OFD Sender: No OFD packet to send [05:54:23]OFD Sender: No OFD packet to send [05:54:28]OFD Sender: No OFD packet to send [05:54:33]OFD Sender: No OFD packet to send [05:54:38]OFD Sender: No OFD packet to send [05:54:43]OFD Sender: No OFD packet to send [05:54:48]OFD Sender: No OFD packet to send [05:54:53]OFD Sender: No OFD packet to send [05:54:58]OFD Sender: No OFD packet to send [05:55:03]OFD Sender: No OFD packet to send [05:55:08]OFD Sender: No OFD packet to send [05:55:13]OFD Sender: No OFD packet to send [05:55:18]OFD Sender: No OFD packet to send [05:55:23]OFD Sender: No OFD packet to send [05:55:28]OFD Sender: No OFD packet to send [05:55:33]OFD Sender: No OFD packet to send [05:55:38]OFD Sender: No OFD packet to send [05:55:43]OFD Sender: No OFD packet to send [05:55:48]OFD Sender: No OFD packet to send [05:55:53]OFD Sender: No OFD packet to send [05:55:58]OFD Sender: No OFD packet to send [05:56:03]OFD Sender: No OFD packet to send [05:56:08]OFD Sender: No OFD packet to send [05:56:13]OFD Sender: No OFD packet to send [05:56:18]OFD Sender: No OFD packet to send [05:56:23]OFD Sender: No OFD packet to send [05:56:28]OFD Sender: No OFD packet to send [05:56:33]OFD Sender: No OFD packet to send [05:56:38]OFD Sender: No OFD packet to send [05:56:43]OFD Sender: No OFD packet to send [05:56:48]OFD Sender: No OFD packet to send [05:56:53]OFD Sender: No OFD packet to send [05:56:58]OFD Sender: No OFD packet to send [05:57:03]OFD Sender: No OFD packet to send [05:57:08]OFD Sender: No OFD packet to send [05:57:13]OFD Sender: No OFD packet to send [05:57:18]OFD Sender: No OFD packet to send [05:57:23]OFD Sender: No OFD packet to send [05:57:28]OFD Sender: No OFD packet to send [05:57:33]OFD Sender: No OFD packet to send [05:57:38]OFD Sender: No OFD packet to send [05:57:43]OFD Sender: No OFD packet to send [05:57:48]OFD Sender: No OFD packet to send [05:57:53]OFD Sender: No OFD packet to send [05:57:58]OFD Sender: No OFD packet to send [05:58:03]OFD Sender: No OFD packet to send [05:58:08]OFD Sender: No OFD packet to send [05:58:13]OFD Sender: No OFD packet to send [05:58:18]OFD Sender: No OFD packet to send [05:58:23]OFD Sender: No OFD packet to send [05:58:28]OFD Sender: No OFD packet to send [05:58:33]OFD Sender: No OFD packet to send [05:58:38]OFD Sender: No OFD packet to send [05:58:43]OFD Sender: No OFD packet to send [05:58:48]OFD Sender: No OFD packet to send [05:58:53]OFD Sender: No OFD packet to send [05:58:58]OFD Sender: No OFD packet to send [05:59:03]OFD Sender: No OFD packet to send [05:59:08]OFD Sender: No OFD packet to send [05:59:13]OFD Sender: No OFD packet to send [05:59:18]OFD Sender: No OFD packet to send [05:59:23]OFD Sender: No OFD packet to send [05:59:28]OFD Sender: No OFD packet to send [05:59:33]OFD Sender: No OFD packet to send [05:59:38]OFD Sender: No OFD packet to send [05:59:43]OFD Sender: No OFD packet to send [05:59:48]OFD Sender: No OFD packet to send [05:59:53]OFD Sender: No OFD packet to send [05:59:58]OFD Sender: No OFD packet to send [06:00:03]OFD Sender: No OFD packet to send [06:00:08]OFD Sender: No OFD packet to send [06:00:13]OFD Sender: No OFD packet to send [06:00:18]OFD Sender: No OFD packet to send [06:00:23]OFD Sender: No OFD packet to send [06:00:28]OFD Sender: No OFD packet to send [06:00:33]OFD Sender: No OFD packet to send [06:00:38]OFD Sender: No OFD packet to send [06:00:43]OFD Sender: No OFD packet to send [06:00:48]OFD Sender: No OFD packet to send [06:00:53]OFD Sender: No OFD packet to send [06:00:58]OFD Sender: No OFD packet to send [06:01:03]OFD Sender: No OFD packet to send [06:01:08]OFD Sender: No OFD packet to send [06:01:13]OFD Sender: No OFD packet to send [06:01:18]OFD Sender: No OFD packet to send [06:01:23]OFD Sender: No OFD packet to send [06:01:28]OFD Sender: No OFD packet to send [06:01:33]OFD Sender: No OFD packet to send [06:01:38]OFD Sender: No OFD packet to send [06:01:43]OFD Sender: No OFD packet to send [06:01:48]OFD Sender: No OFD packet to send [06:01:53]OFD Sender: No OFD packet to send [06:01:58]OFD Sender: No OFD packet to send [06:02:03]OFD Sender: No OFD packet to send [06:02:08]OFD Sender: No OFD packet to send [06:02:13]OFD Sender: No OFD packet to send [06:02:18]OFD Sender: No OFD packet to send [06:02:24]OFD Sender: No OFD packet to send [06:02:29]OFD Sender: No OFD packet to send [06:02:34]OFD Sender: No OFD packet to send [06:02:39]OFD Sender: No OFD packet to send [06:02:44]OFD Sender: No OFD packet to send [06:02:49]OFD Sender: No OFD packet to send [06:02:54]OFD Sender: No OFD packet to send [06:02:59]OFD Sender: No OFD packet to send [06:03:04]OFD Sender: No OFD packet to send [06:03:09]OFD Sender: No OFD packet to send [06:03:14]OFD Sender: No OFD packet to send [06:03:19]OFD Sender: No OFD packet to send [06:03:24]OFD Sender: No OFD packet to send [06:03:29]OFD Sender: No OFD packet to send [06:03:34]OFD Sender: No OFD packet to send [06:03:39]OFD Sender: No OFD packet to send [06:03:44]OFD Sender: No OFD packet to send [06:03:49]OFD Sender: No OFD packet to send [06:03:54]OFD Sender: No OFD packet to send [06:03:59]OFD Sender: No OFD packet to send [06:04:04]OFD Sender: No OFD packet to send [06:04:09]OFD Sender: No OFD packet to send [06:04:14]OFD Sender: No OFD packet to send [06:04:19]OFD Sender: No OFD packet to send [06:04:24]OFD Sender: No OFD packet to send [06:04:29]OFD Sender: No OFD packet to send [06:04:34]OFD Sender: No OFD packet to send [06:04:39]OFD Sender: No OFD packet to send [06:04:44]OFD Sender: No OFD packet to send [06:04:49]OFD Sender: No OFD packet to send [06:04:54]OFD Sender: No OFD packet to send [06:04:59]OFD Sender: No OFD packet to send [06:05:04]OFD Sender: No OFD packet to send [06:05:09]OFD Sender: No OFD packet to send [06:05:14]OFD Sender: No OFD packet to send [06:05:19]OFD Sender: No OFD packet to send [06:05:24]OFD Sender: No OFD packet to send [06:05:29]OFD Sender: No OFD packet to send [06:05:34]OFD Sender: No OFD packet to send [06:05:39]OFD Sender: No OFD packet to send [06:05:44]OFD Sender: No OFD packet to send [06:05:49]OFD Sender: No OFD packet to send [06:05:54]OFD Sender: No OFD packet to send [06:05:59]OFD Sender: No OFD packet to send [06:06:04]OFD Sender: No OFD packet to send [06:06:09]OFD Sender: No OFD packet to send [06:06:14]OFD Sender: No OFD packet to send [06:06:19]OFD Sender: No OFD packet to send [06:06:24]OFD Sender: No OFD packet to send [06:06:29]OFD Sender: No OFD packet to send [06:06:34]OFD Sender: No OFD packet to send [06:06:39]OFD Sender: No OFD packet to send [06:06:44]OFD Sender: No OFD packet to send [06:06:49]OFD Sender: No OFD packet to send [06:06:54]OFD Sender: No OFD packet to send [06:06:59]OFD Sender: No OFD packet to send [06:07:04]OFD Sender: No OFD packet to send [06:07:09]OFD Sender: No OFD packet to send [06:07:14]OFD Sender: No OFD packet to send [06:07:19]OFD Sender: No OFD packet to send [06:07:24]OFD Sender: No OFD packet to send [06:07:29]OFD Sender: No OFD packet to send [06:07:34]OFD Sender: No OFD packet to send [06:07:39]OFD Sender: No OFD packet to send [06:07:44]OFD Sender: No OFD packet to send [06:07:49]OFD Sender: No OFD packet to send [06:07:54]OFD Sender: No OFD packet to send [06:07:59]OFD Sender: No OFD packet to send [06:08:04]OFD Sender: No OFD packet to send [06:08:09]OFD Sender: No OFD packet to send [06:08:14]OFD Sender: No OFD packet to send [06:08:19]OFD Sender: No OFD packet to send [06:08:24]OFD Sender: No OFD packet to send [06:08:29]OFD Sender: No OFD packet to send [06:08:34]OFD Sender: No OFD packet to send [06:08:39]OFD Sender: No OFD packet to send [06:08:44]OFD Sender: No OFD packet to send [06:08:49]OFD Sender: No OFD packet to send [06:08:54]OFD Sender: No OFD packet to send [06:08:59]OFD Sender: No OFD packet to send [06:09:04]OFD Sender: No OFD packet to send [06:09:09]OFD Sender: No OFD packet to send [06:09:19]OFD Sender: No OFD packet to send [06:09:24]OFD Sender: No OFD packet to send [06:09:29]OFD Sender: No OFD packet to send [06:09:34]OFD Sender: No OFD packet to send [06:09:39]OFD Sender: No OFD packet to send [06:09:44]OFD Sender: No OFD packet to send [06:09:49]OFD Sender: No OFD packet to send [06:09:54]OFD Sender: No OFD packet to send [06:09:59]OFD Sender: No OFD packet to send [06:10:04]OFD Sender: No OFD packet to send [06:10:09]OFD Sender: No OFD packet to send [06:10:14]OFD Sender: No OFD packet to send [06:10:19]OFD Sender: No OFD packet to send [06:10:24]OFD Sender: No OFD packet to send [06:10:29]OFD Sender: No OFD packet to send [06:10:34]OFD Sender: No OFD packet to send [06:10:39]OFD Sender: No OFD packet to send [06:10:44]OFD Sender: No OFD packet to send [06:10:49]OFD Sender: No OFD packet to send [06:10:54]OFD Sender: No OFD packet to send [06:10:59]OFD Sender: No OFD packet to send [06:11:04]OFD Sender: No OFD packet to send [06:11:09]OFD Sender: No OFD packet to send [06:11:14]OFD Sender: No OFD packet to send [06:11:19]OFD Sender: No OFD packet to send [06:11:24]OFD Sender: No OFD packet to send [06:11:29]OFD Sender: No OFD packet to send [06:11:30]ConnectInit Can't connect to host [06:11:34]OFD Sender: No OFD packet to send [06:11:39]OFD Sender: No OFD packet to send [06:11:40]recv_with_timeout no data received [06:11:44]OFD Sender: No OFD packet to send [06:11:49]OFD Sender: No OFD packet to send [06:11:54]OFD Sender: No OFD packet to send [06:11:59]OFD Sender: No OFD packet to send [06:12:04]OFD Sender: No OFD packet to send [06:12:09]OFD Sender: No OFD packet to send [06:12:14]OFD Sender: No OFD packet to send [06:12:19]OFD Sender: No OFD packet to send [06:12:24]OFD Sender: No OFD packet to send [06:12:29]OFD Sender: No OFD packet to send [06:12:34]OFD Sender: No OFD packet to send [06:12:39]OFD Sender: No OFD packet to send [06:12:44]OFD Sender: No OFD packet to send [06:12:49]OFD Sender: No OFD packet to send [06:12:54]OFD Sender: No OFD packet to send [06:12:59]OFD Sender: No OFD packet to send [06:13:04]OFD Sender: No OFD packet to send [06:13:09]OFD Sender: No OFD packet to send [06:13:14]OFD Sender: No OFD packet to send [06:13:19]OFD Sender: No OFD packet to send [06:13:24]OFD Sender: No OFD packet to send [06:13:29]OFD Sender: No OFD packet to send [06:13:34]OFD Sender: No OFD packet to send [06:13:39]OFD Sender: No OFD packet to send [06:13:44]OFD Sender: No OFD packet to send [06:13:49]OFD Sender: No OFD packet to send [06:13:54]OFD Sender: No OFD packet to send [06:13:59]OFD Sender: No OFD packet to send [06:14:04]OFD Sender: No OFD packet to send [06:14:09]OFD Sender: No OFD packet to send [06:14:14]OFD Sender: No OFD packet to send [06:14:19]OFD Sender: No OFD packet to send [06:14:24]OFD Sender: No OFD packet to send [06:14:29]OFD Sender: No OFD packet to send [06:14:34]OFD Sender: No OFD packet to send [06:14:39]OFD Sender: No OFD packet to send [06:14:44]OFD Sender: No OFD packet to send [06:14:49]OFD Sender: No OFD packet to send [06:14:54]OFD Sender: No OFD packet to send [06:14:59]OFD Sender: No OFD packet to send [06:15:04]OFD Sender: No OFD packet to send [06:15:09]OFD Sender: No OFD packet to send [06:15:14]OFD Sender: No OFD packet to send [06:15:19]OFD Sender: No OFD packet to send [06:15:24]OFD Sender: No OFD packet to send [06:15:29]OFD Sender: No OFD packet to send [06:15:34]OFD Sender: No OFD packet to send [06:15:39]OFD Sender: No OFD packet to send [06:15:44]OFD Sender: No OFD packet to send [06:15:49]OFD Sender: No OFD packet to send [06:15:54]OFD Sender: No OFD packet to send [06:15:59]OFD Sender: No OFD packet to send [06:16:04]OFD Sender: No OFD packet to send [06:16:09]OFD Sender: No OFD packet to send [06:16:14]OFD Sender: No OFD packet to send [06:16:19]OFD Sender: No OFD packet to send [06:16:24]OFD Sender: No OFD packet to send [06:16:29]OFD Sender: No OFD packet to send [06:16:34]OFD Sender: No OFD packet to send [06:16:39]OFD Sender: No OFD packet to send [06:16:44]OFD Sender: No OFD packet to send [06:16:49]OFD Sender: No OFD packet to send [06:16:50]recv_with_timeout no data received [06:16:54]OFD Sender: No OFD packet to send [06:16:59]OFD Sender: No OFD packet to send [06:17:04]OFD Sender: No OFD packet to send [06:17:09]OFD Sender: No OFD packet to send [06:17:14]OFD Sender: No OFD packet to send [06:17:15]recv_with_timeout no data received [06:17:19]OFD Sender: No OFD packet to send [06:17:24]OFD Sender: No OFD packet to send [06:17:29]OFD Sender: No OFD packet to send [06:17:34]OFD Sender: No OFD packet to send [06:17:39]OFD Sender: No OFD packet to send [06:17:44]OFD Sender: No OFD packet to send [06:17:49]OFD Sender: No OFD packet to send [06:17:54]OFD Sender: No OFD packet to send [06:17:59]OFD Sender: No OFD packet to send [06:18:04]OFD Sender: No OFD packet to send [06:18:09]OFD Sender: No OFD packet to send [06:18:14]OFD Sender: No OFD packet to send [06:18:19]OFD Sender: No OFD packet to send [06:18:24]OFD Sender: No OFD packet to send [06:18:44]OFD Sender: No OFD packet to send [06:18:49]OFD Sender: No OFD packet to send [06:18:54]OFD Sender: No OFD packet to send [06:18:59]OFD Sender: No OFD packet to send [06:19:04]OFD Sender: No OFD packet to send [06:19:09]OFD Sender: No OFD packet to send [06:19:14]OFD Sender: No OFD packet to send [06:19:19]OFD Sender: No OFD packet to send [06:19:24]OFD Sender: No OFD packet to send [06:19:29]OFD Sender: No OFD packet to send [06:19:34]OFD Sender: No OFD packet to send [06:19:39]OFD Sender: No OFD packet to send [06:19:44]OFD Sender: No OFD packet to send [06:19:49]OFD Sender: No OFD packet to send [06:19:54]OFD Sender: No OFD packet to send [06:19:59]OFD Sender: No OFD packet to send [06:20:04]OFD Sender: No OFD packet to send [06:20:09]OFD Sender: No OFD packet to send [06:20:14]OFD Sender: No OFD packet to send [06:20:19]OFD Sender: No OFD packet to send [06:20:24]OFD Sender: No OFD packet to send [06:20:29]OFD Sender: No OFD packet to send [06:20:34]OFD Sender: No OFD packet to send [06:20:39]OFD Sender: No OFD packet to send [06:20:44]OFD Sender: No OFD packet to send [06:20:49]OFD Sender: No OFD packet to send [06:20:54]OFD Sender: No OFD packet to send [06:20:58]ConnectInit Can't connect to host [06:20:59]OFD Sender: No OFD packet to send [06:21:04]OFD Sender: No OFD packet to send [06:21:09]OFD Sender: No OFD packet to send [06:21:14]OFD Sender: No OFD packet to send [06:21:19]OFD Sender: No OFD packet to send [06:21:24]OFD Sender: No OFD packet to send [06:21:34]OFD Sender: No OFD packet to send [06:21:39]OFD Sender: No OFD packet to send [06:21:44]OFD Sender: No OFD packet to send [06:21:49]OFD Sender: No OFD packet to send [06:21:54]OFD Sender: No OFD packet to send [06:21:59]OFD Sender: No OFD packet to send [06:22:04]OFD Sender: No OFD packet to send [06:22:09]OFD Sender: No OFD packet to send [06:22:14]OFD Sender: No OFD packet to send [06:22:19]OFD Sender: No OFD packet to send [06:22:24]OFD Sender: No OFD packet to send [06:22:29]OFD Sender: No OFD packet to send [06:22:34]OFD Sender: No OFD packet to send [06:22:39]OFD Sender: No OFD packet to send [06:22:44]OFD Sender: No OFD packet to send [06:22:49]OFD Sender: No OFD packet to send [06:22:54]OFD Sender: No OFD packet to send [06:22:59]OFD Sender: No OFD packet to send [06:23:04]OFD Sender: No OFD packet to send [06:23:09]OFD Sender: No OFD packet to send [06:23:14]OFD Sender: No OFD packet to send [06:23:19]OFD Sender: No OFD packet to send [06:23:24]OFD Sender: No OFD packet to send [06:23:29]OFD Sender: No OFD packet to send [06:23:34]OFD Sender: No OFD packet to send [06:23:39]OFD Sender: No OFD packet to send [06:23:42]ConnectInit Can't connect to host [06:23:44]OFD Sender: No OFD packet to send [06:23:49]OFD Sender: No OFD packet to send [06:23:54]OFD Sender: No OFD packet to send [06:23:59]OFD Sender: No OFD packet to send [06:24:05]OFD Sender: No OFD packet to send [06:24:10]OFD Sender: No OFD packet to send [06:24:15]OFD Sender: No OFD packet to send [06:24:20]OFD Sender: No OFD packet to send [06:24:25]OFD Sender: No OFD packet to send [06:24:30]OFD Sender: No OFD packet to send [06:24:35]OFD Sender: No OFD packet to send [06:24:40]OFD Sender: No OFD packet to send [06:24:45]OFD Sender: No OFD packet to send [06:24:50]OFD Sender: No OFD packet to send [06:24:55]OFD Sender: No OFD packet to send [06:25:00]OFD Sender: No OFD packet to send [06:25:05]OFD Sender: No OFD packet to send [06:25:10]OFD Sender: No OFD packet to send [06:25:15]OFD Sender: No OFD packet to send [06:25:20]OFD Sender: No OFD packet to send [06:25:25]OFD Sender: No OFD packet to send [06:25:30]OFD Sender: No OFD packet to send [06:25:35]OFD Sender: No OFD packet to send [06:25:40]OFD Sender: No OFD packet to send [06:25:45]OFD Sender: No OFD packet to send [06:25:50]OFD Sender: No OFD packet to send [06:25:55]OFD Sender: No OFD packet to send [06:26:00]OFD Sender: No OFD packet to send [06:26:05]OFD Sender: No OFD packet to send [06:26:10]OFD Sender: No OFD packet to send [06:26:15]OFD Sender: No OFD packet to send [06:26:20]OFD Sender: No OFD packet to send [06:26:25]OFD Sender: No OFD packet to send [06:26:30]OFD Sender: No OFD packet to send [06:26:35]OFD Sender: No OFD packet to send [06:26:40]OFD Sender: No OFD packet to send [06:26:43]recv_with_timeout no data received [06:26:45]OFD Sender: No OFD packet to send [08:39:14]ConnectInit Can't connect to host [08:39:14]ConnectInit Can't take IP for lk.salyk.kg [08:39:14]CommunicateWithHost connect error [08:39:14]CommunicateWithHost err = -1 [08:39:14]OFD Sender: Server communicate error [08:53:26]ConnectInit Can't connect to host [08:53:30]ConnectInit Can't take IP for lk.salyk.kg [08:53:30]CommunicateWithHost connect error [08:53:30]CommunicateWithHost err = -1 [08:53:30]OFD Sender: Server communicate error [08:53:35]OFD Sender: Processing packet 22250 [packets to send 8, broken 4] [08:53:35]ProducePacketName [08:53:35]name=ofd_packets/00022250 [08:53:35]OFD Sender: To server: pG, [08:53:35]CommunicateWithHost lk.salyk.kg:30040 [08:53:35]ConnectInit lk.salyk.kg [08:53:35]Connected sock=8 [08:53:35]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 93 01 00 00 B1 C6 8B 01 EE F5 5A 03 01 00 03 00 7F 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 37 30 30 30 30 33 31 35 30 39 33 36 06 04 28 00 D0 9D D0 BE D0 B2 D0 B0 D1 8F 20 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 4F 72 67 61 6E 69 63 20 34 30 25 20 30 2C 34 38 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C0 DA 00 00 00 00 13 04 06 00 C0 DA 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 24 2C 00 00 00 00 13 04 06 00 24 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 06 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EB 1B 00 00 00 00 07 04 06 00 E4 06 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 6E 96 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 EA 56 00 00 35 04 06 00 C9 30 4E 3D C7 F4 85 23 2B 53 59 06 E5 5A [08:53:35]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 9D 0B 47 00 20 66 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 EA 56 00 00 F4 03 04 00 CF 50 6E 66 B6 04 01 00 00 6D 99 9C FA 00 C7 AB DE [08:53:35]CommunicateWithHost err = 0 [08:53:35]CheckOFDResponse [08:53:35]1017 (14) - 77093643461234 [08:53:35]1041 (16) - 0000000000965344 [08:53:35]1040 (4) - 22250 [08:53:35]1012 (4) - 16.06.2024 02:41 [08:53:35]1206 (1) - 0 [08:53:35]OFD Sender: Remove packet 22250 [08:53:35]ProducePacketName [08:53:35]name=ofd_packets/00022250 [08:53:35]NVStorageDeleteData [08:53:36]OFD Sender: Processing packet 22251 [packets to send 7, broken 4] [08:53:36]ProducePacketName [08:53:36]name=ofd_packets/00022251 [08:53:36]OFD Sender: To server: pG, [08:53:36]CommunicateWithHost lk.salyk.kg:30040 [08:53:36]ConnectInit lk.salyk.kg [08:53:37]Connected sock=8 [08:53:37]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 25 01 00 00 CD 9F 1D 01 58 1F 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 39 33 31 06 04 1F 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A5 D0 BE D1 80 D0 BE D1 88 D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 1B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E7 02 00 00 00 00 07 04 06 00 58 1B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 05 9A 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 EB 56 00 00 35 04 06 00 86 F5 9C 54 70 30 09 F4 28 5C EC 7D 83 E7 [08:53:37]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 A8 F2 47 00 0F FD A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 EB 56 00 00 F4 03 04 00 D1 50 6E 66 B6 04 01 00 00 4B 09 84 69 B5 77 27 D9 [08:53:37]CommunicateWithHost err = 0 [08:53:37]CheckOFDResponse [08:53:37]1017 (14) - 77093643461234 [08:53:37]1041 (16) - 0000000000965344 [08:53:37]1040 (4) - 22251 [08:53:37]1012 (4) - 16.06.2024 02:41 [08:53:37]1206 (1) - 0 [08:53:37]OFD Sender: Remove packet 22251 [08:53:37]ProducePacketName [08:53:37]name=ofd_packets/00022251 [08:53:37]NVStorageDeleteData [08:53:37]OFD Sender: Processing packet 22252 [packets to send 6, broken 4] [08:53:37]ProducePacketName [08:53:37]name=ofd_packets/00022252 [08:53:37]OFD Sender: To server: pG, [08:53:37]CommunicateWithHost lk.salyk.kg:30040 [08:53:37]ConnectInit lk.salyk.kg [08:53:38]Connected sock=8 [08:53:38]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 25 01 00 00 E7 49 1D 01 38 CE 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 39 33 31 06 04 1F 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A5 D0 BE D1 80 D0 BE D1 88 D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 1B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E7 02 00 00 00 00 07 04 06 00 58 1B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 3E 9F 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 EC 56 00 00 35 04 06 00 F7 3B 38 2E 29 0A 76 E1 F6 AA CC BA F4 AF [08:53:38]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 79 38 47 00 C6 33 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 EC 56 00 00 F4 03 04 00 D2 50 6E 66 B6 04 01 00 00 03 52 4F 15 CD 2F 0A 7F [08:53:38]CommunicateWithHost err = 0 [08:53:38]CheckOFDResponse [08:53:38]1017 (14) - 77093643461234 [08:53:38]1041 (16) - 0000000000965344 [08:53:38]1040 (4) - 22252 [08:53:38]1012 (4) - 16.06.2024 02:41 [08:53:38]1206 (1) - 0 [08:53:38]OFD Sender: Remove packet 22252 [08:53:38]ProducePacketName [08:53:38]name=ofd_packets/00022252 [08:53:38]NVStorageDeleteData [08:53:39]OFD Sender: Processing packet 22253 [packets to send 5, broken 4] [08:53:39]ProducePacketName [08:53:39]name=ofd_packets/00022253 [08:53:39]OFD Sender: To server: pG, [08:53:39]CommunicateWithHost lk.salyk.kg:30040 [08:53:39]ConnectInit lk.salyk.kg [08:53:39]Connected sock=8 [08:53:39]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 25 01 00 00 5A 5D 1D 01 75 B4 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 00 00 00 00 00 00 39 04 06 00 B0 36 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 FF 9F 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 ED 56 00 00 35 04 06 00 15 3F 3C C0 E0 EF 55 D2 C3 97 16 BB 52 51 [08:53:39]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 CB 3E 47 00 D8 77 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 ED 56 00 00 F4 03 04 00 D3 50 6E 66 B6 04 01 00 00 A0 B5 AF CD BE 1D EB 74 [08:53:39]CommunicateWithHost err = 0 [08:53:39]CheckOFDResponse [08:53:39]1017 (14) - 77093643461234 [08:53:39]1041 (16) - 0000000000965344 [08:53:39]1040 (4) - 22253 [08:53:39]1012 (4) - 16.06.2024 02:41 [08:53:39]1206 (1) - 0 [08:53:39]OFD Sender: Remove packet 22253 [08:53:39]ProducePacketName [08:53:39]name=ofd_packets/00022253 [08:53:39]NVStorageDeleteData [08:53:40]OFD Sender: No OFD packet to send [08:53:45]OFD Sender: No OFD packet to send [08:53:50]OFD Sender: No OFD packet to send [08:53:55]OFD Sender: No OFD packet to send [08:54:00]OFD Sender: No OFD packet to send [08:54:05]OFD Sender: No OFD packet to send [08:54:10]OFD Sender: No OFD packet to send [08:54:15]OFD Sender: No OFD packet to send [08:54:20]OFD Sender: No OFD packet to send [08:54:25]OFD Sender: No OFD packet to send [08:54:30]OFD Sender: No OFD packet to send [08:54:35]OFD Sender: No OFD packet to send [08:54:40]OFD Sender: No OFD packet to send [08:54:45]OFD Sender: No OFD packet to send [08:54:50]OFD Sender: No OFD packet to send [08:54:55]OFD Sender: No OFD packet to send [08:55:00]OFD Sender: No OFD packet to send [08:55:05]OFD Sender: No OFD packet to send [08:55:10]OFD Sender: No OFD packet to send [08:55:15]OFD Sender: No OFD packet to send [08:55:20]OFD Sender: No OFD packet to send [08:55:25]OFD Sender: No OFD packet to send [08:55:30]OFD Sender: No OFD packet to send [08:55:35]OFD Sender: No OFD packet to send [08:55:40]OFD Sender: No OFD packet to send [08:55:45]OFD Sender: No OFD packet to send [08:55:50]OFD Sender: No OFD packet to send [08:55:55]OFD Sender: No OFD packet to send [08:56:00]OFD Sender: No OFD packet to send [08:56:05]OFD Sender: No OFD packet to send [08:56:10]OFD Sender: No OFD packet to send [08:56:15]OFD Sender: No OFD packet to send [08:56:20]OFD Sender: No OFD packet to send [08:56:25]OFD Sender: No OFD packet to send [08:56:30]OFD Sender: No OFD packet to send [08:56:35]OFD Sender: No OFD packet to send [08:56:40]OFD Sender: No OFD packet to send [08:56:45]OFD Sender: No OFD packet to send [08:56:50]OFD Sender: No OFD packet to send [08:56:55]OFD Sender: No OFD packet to send [08:57:00]OFD Sender: No OFD packet to send [08:57:05]OFD Sender: No OFD packet to send [08:57:10]OFD Sender: No OFD packet to send [08:57:15]OFD Sender: No OFD packet to send [08:57:20]OFD Sender: No OFD packet to send [08:57:25]OFD Sender: No OFD packet to send [08:57:30]OFD Sender: No OFD packet to send [08:57:35]OFD Sender: No OFD packet to send [08:57:40]OFD Sender: No OFD packet to send [08:57:45]OFD Sender: No OFD packet to send [08:57:50]OFD Sender: No OFD packet to send [08:57:55]OFD Sender: No OFD packet to send [08:58:00]OFD Sender: No OFD packet to send [08:58:05]OFD Sender: No OFD packet to send [08:58:10]OFD Sender: No OFD packet to send [08:58:15]OFD Sender: No OFD packet to send [08:58:20]OFD Sender: No OFD packet to send [08:58:25]OFD Sender: No OFD packet to send [08:58:30]OFD Sender: No OFD packet to send [08:58:35]OFD Sender: No OFD packet to send [08:58:40]OFD Sender: No OFD packet to send [08:58:45]OFD Sender: No OFD packet to send [08:58:50]OFD Sender: No OFD packet to send [08:58:55]OFD Sender: No OFD packet to send [08:59:00]OFD Sender: No OFD packet to send [08:59:05]OFD Sender: No OFD packet to send [08:59:10]OFD Sender: No OFD packet to send [08:59:15]OFD Sender: No OFD packet to send [08:59:20]OFD Sender: No OFD packet to send [08:59:25]OFD Sender: No OFD packet to send [08:59:30]OFD Sender: No OFD packet to send [08:59:35]OFD Sender: No OFD packet to send [08:59:40]OFD Sender: No OFD packet to send [08:59:45]OFD Sender: No OFD packet to send [08:59:50]OFD Sender: No OFD packet to send [08:59:55]OFD Sender: No OFD packet to send [09:00:00]OFD Sender: No OFD packet to send [09:00:05]OFD Sender: No OFD packet to send [09:00:10]OFD Sender: No OFD packet to send [09:00:15]OFD Sender: No OFD packet to send [09:00:20]OFD Sender: No OFD packet to send [09:00:25]OFD Sender: No OFD packet to send [09:00:30]OFD Sender: No OFD packet to send [09:00:35]OFD Sender: No OFD packet to send [09:00:40]OFD Sender: No OFD packet to send [09:00:45]OFD Sender: No OFD packet to send [09:00:50]OFD Sender: No OFD packet to send [09:00:55]OFD Sender: No OFD packet to send [09:01:00]OFD Sender: No OFD packet to send [09:01:05]OFD Sender: No OFD packet to send [09:01:10]OFD Sender: No OFD packet to send [09:01:15]OFD Sender: No OFD packet to send [09:01:20]OFD Sender: No OFD packet to send [09:01:25]OFD Sender: No OFD packet to send [09:01:30]OFD Sender: No OFD packet to send [09:01:35]OFD Sender: No OFD packet to send [09:01:40]OFD Sender: No OFD packet to send [09:01:45]OFD Sender: No OFD packet to send [09:01:50]OFD Sender: No OFD packet to send [09:01:55]OFD Sender: No OFD packet to send [09:02:00]OFD Sender: No OFD packet to send [09:02:05]OFD Sender: No OFD packet to send [09:02:10]OFD Sender: No OFD packet to send [09:02:15]OFD Sender: No OFD packet to send [09:02:20]OFD Sender: No OFD packet to send [09:02:25]OFD Sender: No OFD packet to send [09:02:30]OFD Sender: No OFD packet to send [09:02:35]OFD Sender: No OFD packet to send [09:02:40]OFD Sender: No OFD packet to send [09:02:45]OFD Sender: No OFD packet to send [09:02:50]OFD Sender: No OFD packet to send [09:02:55]OFD Sender: No OFD packet to send [09:03:00]OFD Sender: No OFD packet to send [09:03:05]OFD Sender: No OFD packet to send [09:03:10]OFD Sender: No OFD packet to send [09:03:15]OFD Sender: No OFD packet to send [09:03:20]OFD Sender: No OFD packet to send [09:03:25]OFD Sender: No OFD packet to send [09:03:30]OFD Sender: No OFD packet to send [09:03:35]OFD Sender: No OFD packet to send [09:03:40]OFD Sender: No OFD packet to send [09:03:45]OFD Sender: No OFD packet to send [09:03:50]OFD Sender: No OFD packet to send [09:03:55]OFD Sender: No OFD packet to send [09:04:00]OFD Sender: No OFD packet to send [09:04:05]OFD Sender: No OFD packet to send [09:04:10]OFD Sender: No OFD packet to send [09:04:15]OFD Sender: No OFD packet to send [09:04:20]OFD Sender: No OFD packet to send [09:04:25]OFD Sender: No OFD packet to send [09:04:30]OFD Sender: No OFD packet to send [09:04:35]OFD Sender: No OFD packet to send [09:04:40]OFD Sender: No OFD packet to send [09:04:45]OFD Sender: No OFD packet to send [09:04:50]OFD Sender: No OFD packet to send [09:04:55]OFD Sender: No OFD packet to send [09:05:00]OFD Sender: No OFD packet to send [09:05:05]OFD Sender: No OFD packet to send [09:05:10]OFD Sender: No OFD packet to send [09:05:15]OFD Sender: No OFD packet to send [09:05:20]OFD Sender: No OFD packet to send [09:05:25]OFD Sender: No OFD packet to send [09:05:30]OFD Sender: No OFD packet to send [09:05:35]OFD Sender: No OFD packet to send [09:05:40]OFD Sender: No OFD packet to send [09:05:45]OFD Sender: No OFD packet to send [09:05:50]OFD Sender: No OFD packet to send [09:05:55]OFD Sender: No OFD packet to send [09:06:00]OFD Sender: No OFD packet to send [09:06:05]OFD Sender: No OFD packet to send [09:06:10]OFD Sender: No OFD packet to send [09:06:15]OFD Sender: No OFD packet to send [09:06:20]OFD Sender: No OFD packet to send [09:06:25]OFD Sender: No OFD packet to send [09:06:30]OFD Sender: No OFD packet to send [09:06:35]OFD Sender: No OFD packet to send [09:06:40]OFD Sender: No OFD packet to send [09:06:45]OFD Sender: No OFD packet to send [09:06:50]OFD Sender: No OFD packet to send [09:06:55]OFD Sender: No OFD packet to send [09:07:00]OFD Sender: No OFD packet to send [09:07:05]OFD Sender: No OFD packet to send [09:07:10]OFD Sender: No OFD packet to send [09:07:15]OFD Sender: No OFD packet to send [09:07:20]OFD Sender: No OFD packet to send [09:07:25]OFD Sender: No OFD packet to send [09:07:30]OFD Sender: No OFD packet to send [09:07:35]OFD Sender: No OFD packet to send [09:07:40]OFD Sender: No OFD packet to send [09:07:45]OFD Sender: No OFD packet to send [09:07:50]OFD Sender: No OFD packet to send [09:07:55]OFD Sender: No OFD packet to send [09:08:00]OFD Sender: No OFD packet to send [09:08:05]OFD Sender: No OFD packet to send [09:08:10]OFD Sender: No OFD packet to send [09:08:15]OFD Sender: No OFD packet to send [09:08:20]OFD Sender: No OFD packet to send [09:08:25]OFD Sender: No OFD packet to send [09:08:30]OFD Sender: No OFD packet to send [09:08:35]OFD Sender: No OFD packet to send [09:08:40]OFD Sender: No OFD packet to send [09:08:45]OFD Sender: No OFD packet to send [09:08:50]OFD Sender: No OFD packet to send [09:08:55]OFD Sender: No OFD packet to send [09:09:00]OFD Sender: No OFD packet to send [09:09:05]OFD Sender: No OFD packet to send [09:09:10]OFD Sender: No OFD packet to send [09:09:15]OFD Sender: No OFD packet to send [09:09:20]OFD Sender: No OFD packet to send [09:09:25]OFD Sender: No OFD packet to send [09:09:30]OFD Sender: No OFD packet to send [09:09:35]OFD Sender: No OFD packet to send [09:09:40]OFD Sender: No OFD packet to send [09:09:45]OFD Sender: No OFD packet to send [09:09:50]OFD Sender: No OFD packet to send [09:09:55]OFD Sender: No OFD packet to send [09:10:00]OFD Sender: No OFD packet to send [09:10:05]OFD Sender: No OFD packet to send [09:10:10]OFD Sender: No OFD packet to send [09:10:15]OFD Sender: No OFD packet to send [09:10:20]OFD Sender: No OFD packet to send [09:10:25]OFD Sender: No OFD packet to send [09:10:30]OFD Sender: No OFD packet to send [09:10:35]OFD Sender: No OFD packet to send [09:10:40]OFD Sender: No OFD packet to send [09:10:45]OFD Sender: No OFD packet to send [09:10:50]OFD Sender: No OFD packet to send [09:10:55]OFD Sender: No OFD packet to send [09:11:00]OFD Sender: No OFD packet to send [09:11:05]OFD Sender: No OFD packet to send [09:11:10]OFD Sender: No OFD packet to send [09:11:15]OFD Sender: No OFD packet to send [09:11:20]OFD Sender: No OFD packet to send [09:11:25]OFD Sender: No OFD packet to send [09:11:30]OFD Sender: No OFD packet to send [09:11:35]OFD Sender: No OFD packet to send [09:11:40]OFD Sender: No OFD packet to send [09:11:45]OFD Sender: No OFD packet to send [09:11:50]OFD Sender: No OFD packet to send [09:11:55]OFD Sender: No OFD packet to send [09:12:00]OFD Sender: No OFD packet to send [09:12:05]OFD Sender: No OFD packet to send [09:12:10]OFD Sender: No OFD packet to send [09:12:15]OFD Sender: No OFD packet to send [09:12:20]OFD Sender: No OFD packet to send [09:12:25]OFD Sender: No OFD packet to send [09:12:30]OFD Sender: No OFD packet to send [09:12:35]OFD Sender: No OFD packet to send [09:12:40]OFD Sender: No OFD packet to send [09:12:45]OFD Sender: No OFD packet to send [09:12:50]OFD Sender: No OFD packet to send [09:12:55]OFD Sender: No OFD packet to send [09:13:00]OFD Sender: No OFD packet to send [09:13:05]OFD Sender: No OFD packet to send [09:13:10]OFD Sender: No OFD packet to send [09:13:15]OFD Sender: No OFD packet to send [09:13:20]OFD Sender: No OFD packet to send [09:13:25]OFD Sender: No OFD packet to send [09:13:30]OFD Sender: No OFD packet to send [09:13:35]OFD Sender: No OFD packet to send [09:13:41]OFD Sender: No OFD packet to send [09:13:46]OFD Sender: No OFD packet to send [09:13:51]OFD Sender: No OFD packet to send [09:13:56]OFD Sender: No OFD packet to send [09:14:01]OFD Sender: No OFD packet to send [09:14:06]OFD Sender: No OFD packet to send [09:14:11]OFD Sender: No OFD packet to send [09:14:16]OFD Sender: No OFD packet to send [09:14:21]OFD Sender: No OFD packet to send [09:14:26]OFD Sender: No OFD packet to send [09:14:31]OFD Sender: No OFD packet to send [09:14:36]OFD Sender: No OFD packet to send [09:14:41]OFD Sender: No OFD packet to send [09:14:46]OFD Sender: No OFD packet to send [09:14:51]OFD Sender: No OFD packet to send [09:14:56]OFD Sender: No OFD packet to send [09:15:01]OFD Sender: No OFD packet to send [09:15:06]OFD Sender: No OFD packet to send [09:15:11]OFD Sender: No OFD packet to send [09:15:16]OFD Sender: No OFD packet to send [09:15:21]OFD Sender: No OFD packet to send [09:15:26]OFD Sender: No OFD packet to send [09:15:31]OFD Sender: No OFD packet to send [09:15:36]OFD Sender: No OFD packet to send [09:15:41]OFD Sender: No OFD packet to send [09:15:46]OFD Sender: No OFD packet to send [09:15:51]OFD Sender: No OFD packet to send [09:15:56]OFD Sender: No OFD packet to send [09:16:01]OFD Sender: No OFD packet to send [09:16:06]OFD Sender: No OFD packet to send [09:16:11]OFD Sender: No OFD packet to send [09:16:16]OFD Sender: No OFD packet to send [09:16:21]OFD Sender: No OFD packet to send [09:16:26]OFD Sender: No OFD packet to send [09:16:31]OFD Sender: No OFD packet to send [09:16:36]OFD Sender: No OFD packet to send [09:16:41]OFD Sender: No OFD packet to send [09:16:46]OFD Sender: No OFD packet to send [09:16:51]OFD Sender: No OFD packet to send [09:16:56]OFD Sender: No OFD packet to send [09:17:01]OFD Sender: No OFD packet to send [09:17:06]OFD Sender: No OFD packet to send [09:17:11]OFD Sender: No OFD packet to send [09:17:16]OFD Sender: No OFD packet to send [09:17:21]OFD Sender: No OFD packet to send [09:17:26]OFD Sender: No OFD packet to send [09:17:31]OFD Sender: No OFD packet to send [09:17:36]OFD Sender: No OFD packet to send [09:17:41]OFD Sender: No OFD packet to send [09:17:46]OFD Sender: No OFD packet to send [09:17:51]OFD Sender: No OFD packet to send [09:17:56]OFD Sender: No OFD packet to send [09:18:01]OFD Sender: No OFD packet to send [09:18:06]OFD Sender: No OFD packet to send [09:18:11]OFD Sender: No OFD packet to send [09:18:16]OFD Sender: No OFD packet to send [09:18:21]OFD Sender: No OFD packet to send [09:18:26]OFD Sender: No OFD packet to send [09:18:31]OFD Sender: No OFD packet to send [09:18:36]OFD Sender: No OFD packet to send [09:18:41]OFD Sender: No OFD packet to send [09:18:46]OFD Sender: No OFD packet to send [09:18:51]OFD Sender: No OFD packet to send [09:18:56]OFD Sender: No OFD packet to send [09:19:01]OFD Sender: No OFD packet to send [09:19:06]OFD Sender: No OFD packet to send [09:19:11]OFD Sender: No OFD packet to send [09:19:16]OFD Sender: No OFD packet to send [09:19:21]OFD Sender: No OFD packet to send [09:19:26]OFD Sender: No OFD packet to send [09:19:31]OFD Sender: No OFD packet to send [09:19:36]OFD Sender: No OFD packet to send [09:19:41]OFD Sender: No OFD packet to send [09:19:46]OFD Sender: No OFD packet to send [09:19:51]OFD Sender: No OFD packet to send [09:19:56]OFD Sender: No OFD packet to send [09:20:01]OFD Sender: No OFD packet to send [09:20:06]OFD Sender: No OFD packet to send [09:20:11]OFD Sender: No OFD packet to send [09:20:16]OFD Sender: No OFD packet to send [09:20:21]OFD Sender: No OFD packet to send [09:20:26]OFD Sender: No OFD packet to send [09:20:31]OFD Sender: No OFD packet to send [09:20:36]OFD Sender: No OFD packet to send [09:20:41]OFD Sender: No OFD packet to send [09:20:46]OFD Sender: No OFD packet to send [09:20:51]OFD Sender: No OFD packet to send [09:20:56]OFD Sender: No OFD packet to send [09:21:01]OFD Sender: No OFD packet to send [09:21:06]OFD Sender: No OFD packet to send [09:21:11]OFD Sender: No OFD packet to send [09:21:16]OFD Sender: No OFD packet to send [09:21:21]OFD Sender: No OFD packet to send [09:21:26]OFD Sender: No OFD packet to send [09:21:31]OFD Sender: No OFD packet to send [09:21:36]OFD Sender: No OFD packet to send [09:21:41]OFD Sender: No OFD packet to send [09:21:46]OFD Sender: No OFD packet to send [09:21:51]OFD Sender: No OFD packet to send [09:21:56]OFD Sender: No OFD packet to send [09:22:01]OFD Sender: No OFD packet to send [09:22:06]OFD Sender: No OFD packet to send [09:22:11]OFD Sender: No OFD packet to send [09:22:16]OFD Sender: No OFD packet to send [09:22:21]OFD Sender: No OFD packet to send [09:22:26]OFD Sender: No OFD packet to send [09:22:31]OFD Sender: No OFD packet to send [09:22:36]OFD Sender: No OFD packet to send [09:22:41]OFD Sender: No OFD packet to send [09:22:46]OFD Sender: No OFD packet to send [09:22:51]OFD Sender: No OFD packet to send [09:22:56]OFD Sender: No OFD packet to send [09:23:01]OFD Sender: No OFD packet to send [09:23:06]OFD Sender: No OFD packet to send [09:23:11]OFD Sender: No OFD packet to send [09:23:16]OFD Sender: No OFD packet to send [09:23:21]OFD Sender: No OFD packet to send [09:23:26]OFD Sender: No OFD packet to send [09:23:31]OFD Sender: No OFD packet to send [09:23:36]OFD Sender: No OFD packet to send [09:23:41]OFD Sender: No OFD packet to send [09:23:46]OFD Sender: No OFD packet to send [09:23:51]OFD Sender: No OFD packet to send [09:23:56]OFD Sender: No OFD packet to send [09:24:01]OFD Sender: No OFD packet to send [09:24:06]OFD Sender: No OFD packet to send [09:24:11]OFD Sender: No OFD packet to send [09:24:16]OFD Sender: No OFD packet to send [09:24:21]OFD Sender: No OFD packet to send [09:24:26]OFD Sender: No OFD packet to send [09:24:31]OFD Sender: No OFD packet to send [09:24:36]OFD Sender: No OFD packet to send [09:24:41]OFD Sender: No OFD packet to send [09:24:46]OFD Sender: No OFD packet to send [09:24:51]OFD Sender: No OFD packet to send [09:24:56]OFD Sender: No OFD packet to send [09:25:01]OFD Sender: No OFD packet to send [09:25:06]OFD Sender: No OFD packet to send [09:25:11]OFD Sender: No OFD packet to send [09:25:16]OFD Sender: No OFD packet to send [09:25:21]OFD Sender: No OFD packet to send [09:25:26]OFD Sender: No OFD packet to send [09:25:31]OFD Sender: No OFD packet to send [09:25:36]OFD Sender: No OFD packet to send [09:25:41]OFD Sender: No OFD packet to send [09:25:46]OFD Sender: No OFD packet to send [09:25:51]OFD Sender: No OFD packet to send [09:25:56]OFD Sender: No OFD packet to send [09:26:01]OFD Sender: No OFD packet to send [09:26:06]OFD Sender: No OFD packet to send [09:26:11]OFD Sender: No OFD packet to send [09:26:16]OFD Sender: No OFD packet to send [09:26:21]OFD Sender: No OFD packet to send [09:26:26]OFD Sender: No OFD packet to send [09:26:31]OFD Sender: No OFD packet to send [09:26:36]OFD Sender: No OFD packet to send [09:26:41]OFD Sender: No OFD packet to send [09:26:46]OFD Sender: No OFD packet to send [09:26:51]OFD Sender: No OFD packet to send [09:26:56]OFD Sender: No OFD packet to send [09:27:01]OFD Sender: No OFD packet to send [09:27:06]OFD Sender: No OFD packet to send [09:27:11]OFD Sender: No OFD packet to send [09:27:16]OFD Sender: No OFD packet to send [09:27:21]OFD Sender: No OFD packet to send [09:27:26]OFD Sender: No OFD packet to send [09:27:31]OFD Sender: No OFD packet to send [09:27:36]OFD Sender: No OFD packet to send [09:27:41]OFD Sender: No OFD packet to send [09:27:46]OFD Sender: No OFD packet to send [09:27:51]OFD Sender: No OFD packet to send [09:27:56]OFD Sender: No OFD packet to send [09:28:01]OFD Sender: No OFD packet to send [09:28:06]OFD Sender: No OFD packet to send [09:28:11]OFD Sender: No OFD packet to send [09:28:16]OFD Sender: No OFD packet to send [09:28:21]OFD Sender: No OFD packet to send [09:28:26]OFD Sender: No OFD packet to send [09:28:31]OFD Sender: No OFD packet to send [09:28:36]OFD Sender: No OFD packet to send [09:28:41]OFD Sender: No OFD packet to send [09:28:46]OFD Sender: No OFD packet to send [09:28:51]OFD Sender: No OFD packet to send [09:28:56]OFD Sender: No OFD packet to send [09:29:01]OFD Sender: No OFD packet to send [09:29:06]OFD Sender: No OFD packet to send [09:29:11]OFD Sender: No OFD packet to send [09:29:16]OFD Sender: No OFD packet to send [09:29:21]OFD Sender: No OFD packet to send [09:29:26]OFD Sender: No OFD packet to send [09:29:31]OFD Sender: No OFD packet to send [09:29:36]OFD Sender: No OFD packet to send [09:29:41]OFD Sender: No OFD packet to send [09:29:46]OFD Sender: No OFD packet to send [09:29:51]OFD Sender: No OFD packet to send [09:29:56]OFD Sender: No OFD packet to send [09:30:01]OFD Sender: No OFD packet to send [09:30:06]OFD Sender: No OFD packet to send [09:30:11]OFD Sender: No OFD packet to send [09:30:16]OFD Sender: No OFD packet to send [09:30:21]OFD Sender: No OFD packet to send [09:30:26]OFD Sender: No OFD packet to send [09:30:31]OFD Sender: No OFD packet to send [09:30:36]OFD Sender: No OFD packet to send [09:30:41]OFD Sender: No OFD packet to send [09:30:46]OFD Sender: No OFD packet to send [09:30:51]OFD Sender: No OFD packet to send [09:30:56]OFD Sender: No OFD packet to send [09:31:01]OFD Sender: No OFD packet to send [09:31:06]OFD Sender: No OFD packet to send [09:31:11]OFD Sender: No OFD packet to send [09:31:16]OFD Sender: No OFD packet to send [09:31:21]OFD Sender: No OFD packet to send [09:31:26]OFD Sender: No OFD packet to send [09:31:31]OFD Sender: No OFD packet to send [09:31:36]OFD Sender: No OFD packet to send [09:31:41]OFD Sender: No OFD packet to send [09:31:46]OFD Sender: No OFD packet to send [09:31:51]OFD Sender: No OFD packet to send [09:31:56]OFD Sender: No OFD packet to send [09:32:01]OFD Sender: No OFD packet to send [09:32:06]OFD Sender: No OFD packet to send [09:32:11]OFD Sender: No OFD packet to send [09:32:16]OFD Sender: No OFD packet to send [09:32:21]OFD Sender: No OFD packet to send [09:32:26]OFD Sender: No OFD packet to send [09:32:31]OFD Sender: No OFD packet to send [09:32:36]OFD Sender: No OFD packet to send [09:32:41]OFD Sender: No OFD packet to send [09:32:46]OFD Sender: No OFD packet to send [09:32:51]OFD Sender: No OFD packet to send [09:32:56]OFD Sender: No OFD packet to send [09:33:01]OFD Sender: No OFD packet to send [09:33:06]OFD Sender: No OFD packet to send [09:33:11]OFD Sender: No OFD packet to send [09:33:16]OFD Sender: No OFD packet to send [09:33:21]OFD Sender: No OFD packet to send [09:33:26]OFD Sender: No OFD packet to send [09:33:31]OFD Sender: No OFD packet to send [09:33:36]OFD Sender: No OFD packet to send [09:33:41]OFD Sender: No OFD packet to send [09:33:46]OFD Sender: No OFD packet to send [09:33:51]OFD Sender: No OFD packet to send [09:33:56]OFD Sender: No OFD packet to send [09:34:01]OFD Sender: No OFD packet to send [09:34:06]OFD Sender: No OFD packet to send [09:34:11]OFD Sender: No OFD packet to send [09:34:16]OFD Sender: No OFD packet to send [09:34:21]OFD Sender: No OFD packet to send [09:34:26]OFD Sender: No OFD packet to send [09:34:31]OFD Sender: No OFD packet to send [09:34:36]OFD Sender: No OFD packet to send [09:34:41]OFD Sender: No OFD packet to send [09:34:46]OFD Sender: No OFD packet to send [09:34:51]OFD Sender: No OFD packet to send [09:34:56]OFD Sender: No OFD packet to send [09:35:01]OFD Sender: No OFD packet to send [09:35:06]OFD Sender: No OFD packet to send [09:35:11]OFD Sender: No OFD packet to send [09:35:16]OFD Sender: No OFD packet to send [09:35:22]OFD Sender: No OFD packet to send [09:35:27]OFD Sender: No OFD packet to send [09:35:32]OFD Sender: No OFD packet to send [09:35:37]OFD Sender: No OFD packet to send [09:35:42]OFD Sender: No OFD packet to send [09:35:47]OFD Sender: No OFD packet to send [09:35:52]OFD Sender: No OFD packet to send [09:35:57]OFD Sender: No OFD packet to send [09:36:02]OFD Sender: No OFD packet to send [09:36:07]OFD Sender: No OFD packet to send [09:36:12]OFD Sender: No OFD packet to send [09:36:17]OFD Sender: No OFD packet to send [09:36:22]OFD Sender: No OFD packet to send [09:36:27]OFD Sender: No OFD packet to send [09:36:32]OFD Sender: No OFD packet to send [09:36:37]OFD Sender: No OFD packet to send [09:36:42]OFD Sender: No OFD packet to send [09:36:47]OFD Sender: No OFD packet to send [09:36:52]OFD Sender: No OFD packet to send [09:36:57]OFD Sender: No OFD packet to send [09:37:02]OFD Sender: No OFD packet to send [09:37:07]OFD Sender: No OFD packet to send [09:37:12]OFD Sender: No OFD packet to send [09:37:17]OFD Sender: No OFD packet to send [09:37:22]OFD Sender: No OFD packet to send [09:37:27]OFD Sender: No OFD packet to send [09:37:32]OFD Sender: No OFD packet to send [09:37:37]OFD Sender: No OFD packet to send [09:37:42]OFD Sender: No OFD packet to send [09:37:47]OFD Sender: No OFD packet to send [09:37:52]OFD Sender: No OFD packet to send [09:37:57]OFD Sender: No OFD packet to send [09:38:02]OFD Sender: No OFD packet to send [09:38:07]OFD Sender: No OFD packet to send [09:38:12]OFD Sender: No OFD packet to send [09:38:17]OFD Sender: No OFD packet to send [09:38:22]OFD Sender: No OFD packet to send [09:38:27]OFD Sender: No OFD packet to send [09:38:32]OFD Sender: No OFD packet to send [09:38:37]OFD Sender: No OFD packet to send [09:38:42]OFD Sender: No OFD packet to send [09:38:47]OFD Sender: No OFD packet to send [09:38:52]OFD Sender: No OFD packet to send [09:38:57]OFD Sender: No OFD packet to send [09:39:02]OFD Sender: No OFD packet to send [09:39:07]OFD Sender: No OFD packet to send [09:39:12]OFD Sender: No OFD packet to send [09:39:17]OFD Sender: No OFD packet to send [09:39:22]OFD Sender: No OFD packet to send [09:39:27]OFD Sender: No OFD packet to send [09:39:32]OFD Sender: No OFD packet to send [09:39:37]OFD Sender: No OFD packet to send [09:39:42]OFD Sender: No OFD packet to send [09:39:47]OFD Sender: No OFD packet to send [09:39:52]OFD Sender: No OFD packet to send [09:39:57]OFD Sender: No OFD packet to send [09:40:02]OFD Sender: No OFD packet to send [09:40:07]OFD Sender: No OFD packet to send [09:40:12]OFD Sender: No OFD packet to send [09:40:17]OFD Sender: No OFD packet to send [09:40:22]OFD Sender: No OFD packet to send [09:40:27]OFD Sender: No OFD packet to send [09:40:32]OFD Sender: No OFD packet to send [09:40:37]OFD Sender: No OFD packet to send [09:40:42]OFD Sender: No OFD packet to send [09:40:47]OFD Sender: No OFD packet to send [09:40:52]OFD Sender: No OFD packet to send [09:40:57]OFD Sender: No OFD packet to send [09:41:02]OFD Sender: No OFD packet to send [09:41:07]OFD Sender: No OFD packet to send [09:41:12]OFD Sender: No OFD packet to send [09:41:17]OFD Sender: No OFD packet to send [09:41:22]OFD Sender: No OFD packet to send [09:41:27]OFD Sender: No OFD packet to send [09:41:32]OFD Sender: No OFD packet to send [09:41:37]OFD Sender: No OFD packet to send [09:41:42]OFD Sender: No OFD packet to send [09:41:47]OFD Sender: No OFD packet to send [09:41:52]OFD Sender: No OFD packet to send [09:41:57]OFD Sender: No OFD packet to send [09:42:02]OFD Sender: No OFD packet to send [09:42:07]OFD Sender: No OFD packet to send [09:42:12]OFD Sender: No OFD packet to send [09:42:17]OFD Sender: No OFD packet to send [09:42:22]OFD Sender: No OFD packet to send [09:42:27]OFD Sender: No OFD packet to send [09:42:32]OFD Sender: No OFD packet to send [09:42:37]OFD Sender: No OFD packet to send [09:42:42]OFD Sender: No OFD packet to send [09:42:47]OFD Sender: No OFD packet to send [09:42:52]OFD Sender: No OFD packet to send [09:42:57]OFD Sender: No OFD packet to send [09:43:02]OFD Sender: No OFD packet to send [09:43:07]OFD Sender: No OFD packet to send [09:43:12]OFD Sender: No OFD packet to send [09:43:17]OFD Sender: No OFD packet to send [09:43:22]OFD Sender: No OFD packet to send [09:43:27]OFD Sender: No OFD packet to send [09:43:32]OFD Sender: No OFD packet to send [09:43:37]OFD Sender: No OFD packet to send [09:43:42]OFD Sender: No OFD packet to send [09:43:47]OFD Sender: No OFD packet to send [09:43:52]OFD Sender: No OFD packet to send [09:43:57]OFD Sender: No OFD packet to send [09:44:02]OFD Sender: No OFD packet to send [09:44:07]OFD Sender: No OFD packet to send [09:44:12]OFD Sender: No OFD packet to send [09:44:17]OFD Sender: No OFD packet to send [09:44:22]OFD Sender: No OFD packet to send [09:44:27]OFD Sender: No OFD packet to send [09:44:32]OFD Sender: No OFD packet to send [09:44:37]OFD Sender: No OFD packet to send [09:44:42]OFD Sender: No OFD packet to send [09:44:47]OFD Sender: No OFD packet to send [09:44:52]OFD Sender: No OFD packet to send [09:44:57]OFD Sender: No OFD packet to send [09:45:02]OFD Sender: No OFD packet to send [09:45:07]OFD Sender: No OFD packet to send [09:45:12]OFD Sender: No OFD packet to send [09:45:17]OFD Sender: No OFD packet to send [09:45:22]OFD Sender: No OFD packet to send [09:45:27]OFD Sender: No OFD packet to send [09:45:32]OFD Sender: No OFD packet to send [09:45:37]OFD Sender: No OFD packet to send [09:45:42]OFD Sender: No OFD packet to send [09:45:47]OFD Sender: No OFD packet to send [09:45:52]OFD Sender: No OFD packet to send [09:45:57]OFD Sender: No OFD packet to send [09:46:02]OFD Sender: No OFD packet to send [09:46:07]OFD Sender: No OFD packet to send [09:46:12]OFD Sender: No OFD packet to send [09:46:17]OFD Sender: No OFD packet to send [09:46:22]OFD Sender: No OFD packet to send [09:46:27]OFD Sender: No OFD packet to send [09:46:32]OFD Sender: No OFD packet to send [09:46:37]OFD Sender: No OFD packet to send [09:46:42]OFD Sender: No OFD packet to send [09:46:47]OFD Sender: No OFD packet to send [09:46:52]OFD Sender: No OFD packet to send [09:46:57]OFD Sender: No OFD packet to send [09:47:02]OFD Sender: No OFD packet to send [09:47:07]OFD Sender: No OFD packet to send [09:47:12]OFD Sender: No OFD packet to send [09:47:17]OFD Sender: No OFD packet to send [09:47:22]OFD Sender: No OFD packet to send [09:47:27]OFD Sender: No OFD packet to send [09:47:32]OFD Sender: No OFD packet to send [09:47:37]OFD Sender: No OFD packet to send [09:47:42]OFD Sender: No OFD packet to send [09:47:47]OFD Sender: No OFD packet to send [09:47:52]OFD Sender: No OFD packet to send [09:47:57]OFD Sender: No OFD packet to send [09:48:02]OFD Sender: No OFD packet to send [09:48:07]OFD Sender: No OFD packet to send [09:48:12]OFD Sender: No OFD packet to send [09:48:17]OFD Sender: No OFD packet to send [09:48:22]OFD Sender: No OFD packet to send [09:48:27]OFD Sender: No OFD packet to send [09:48:32]OFD Sender: No OFD packet to send [09:48:37]OFD Sender: No OFD packet to send [09:48:42]OFD Sender: No OFD packet to send [09:48:47]OFD Sender: No OFD packet to send [09:48:52]OFD Sender: No OFD packet to send [09:48:57]OFD Sender: No OFD packet to send [09:49:02]OFD Sender: No OFD packet to send [09:49:07]OFD Sender: No OFD packet to send [09:49:12]OFD Sender: No OFD packet to send [09:49:17]OFD Sender: No OFD packet to send [09:49:22]OFD Sender: No OFD packet to send [09:49:27]OFD Sender: No OFD packet to send [09:49:32]OFD Sender: No OFD packet to send [09:49:37]OFD Sender: No OFD packet to send [09:49:42]OFD Sender: No OFD packet to send [09:49:47]OFD Sender: No OFD packet to send [09:49:52]OFD Sender: No OFD packet to send [09:49:57]OFD Sender: No OFD packet to send [09:50:02]OFD Sender: No OFD packet to send [09:50:07]OFD Sender: No OFD packet to send [09:50:12]OFD Sender: No OFD packet to send [09:50:17]OFD Sender: No OFD packet to send [09:50:22]OFD Sender: No OFD packet to send [09:50:27]OFD Sender: No OFD packet to send [09:50:32]OFD Sender: No OFD packet to send [09:50:37]OFD Sender: No OFD packet to send [09:50:42]OFD Sender: No OFD packet to send [09:50:47]OFD Sender: No OFD packet to send [09:50:52]OFD Sender: No OFD packet to send [09:50:57]OFD Sender: No OFD packet to send [09:51:02]OFD Sender: No OFD packet to send [09:51:07]OFD Sender: No OFD packet to send [09:51:12]OFD Sender: No OFD packet to send [09:51:17]OFD Sender: No OFD packet to send [09:51:22]OFD Sender: No OFD packet to send [09:51:27]OFD Sender: No OFD packet to send [09:51:32]OFD Sender: No OFD packet to send [09:51:37]OFD Sender: No OFD packet to send [09:51:42]OFD Sender: No OFD packet to send [09:51:47]OFD Sender: No OFD packet to send [09:51:52]OFD Sender: No OFD packet to send [09:51:57]OFD Sender: No OFD packet to send [09:52:02]OFD Sender: No OFD packet to send [09:52:07]OFD Sender: No OFD packet to send [09:52:12]OFD Sender: No OFD packet to send [09:52:17]OFD Sender: No OFD packet to send [09:52:22]OFD Sender: No OFD packet to send [09:52:27]OFD Sender: No OFD packet to send [09:52:32]OFD Sender: No OFD packet to send [09:52:37]OFD Sender: No OFD packet to send [09:52:42]OFD Sender: No OFD packet to send [09:52:47]OFD Sender: No OFD packet to send [09:52:52]OFD Sender: No OFD packet to send [09:52:57]OFD Sender: No OFD packet to send [09:53:02]OFD Sender: No OFD packet to send [09:53:07]OFD Sender: No OFD packet to send [09:53:12]OFD Sender: No OFD packet to send [09:53:17]OFD Sender: No OFD packet to send [09:53:22]OFD Sender: No OFD packet to send [09:53:27]OFD Sender: No OFD packet to send [09:53:32]OFD Sender: No OFD packet to send [09:53:37]OFD Sender: No OFD packet to send [09:53:42]OFD Sender: No OFD packet to send [09:53:47]OFD Sender: No OFD packet to send [09:53:52]OFD Sender: No OFD packet to send [09:53:57]OFD Sender: No OFD packet to send [09:54:02]OFD Sender: No OFD packet to send [09:54:07]OFD Sender: No OFD packet to send [09:54:12]OFD Sender: No OFD packet to send [09:54:17]OFD Sender: No OFD packet to send [09:54:22]OFD Sender: No OFD packet to send [09:54:27]OFD Sender: No OFD packet to send [09:54:32]OFD Sender: No OFD packet to send [09:54:37]OFD Sender: No OFD packet to send [09:54:42]OFD Sender: No OFD packet to send [09:54:47]OFD Sender: No OFD packet to send [09:54:52]OFD Sender: No OFD packet to send [09:54:57]OFD Sender: No OFD packet to send [09:55:02]OFD Sender: No OFD packet to send [09:55:07]OFD Sender: No OFD packet to send [09:55:12]OFD Sender: No OFD packet to send [09:55:17]OFD Sender: No OFD packet to send [09:55:22]OFD Sender: No OFD packet to send [09:55:27]OFD Sender: No OFD packet to send [09:55:32]OFD Sender: No OFD packet to send [09:55:37]OFD Sender: No OFD packet to send [09:55:42]OFD Sender: No OFD packet to send [09:55:47]OFD Sender: No OFD packet to send [09:55:52]OFD Sender: No OFD packet to send [09:55:57]OFD Sender: No OFD packet to send [09:56:02]OFD Sender: No OFD packet to send [09:56:07]OFD Sender: No OFD packet to send [09:56:12]OFD Sender: No OFD packet to send [09:56:17]OFD Sender: No OFD packet to send [09:56:22]OFD Sender: No OFD packet to send [09:56:27]OFD Sender: No OFD packet to send [09:56:32]OFD Sender: No OFD packet to send [09:56:37]OFD Sender: No OFD packet to send [09:56:42]OFD Sender: No OFD packet to send [09:56:47]OFD Sender: No OFD packet to send [09:56:52]OFD Sender: No OFD packet to send [09:56:58]OFD Sender: No OFD packet to send [09:57:03]OFD Sender: No OFD packet to send [09:57:08]OFD Sender: No OFD packet to send [09:57:13]OFD Sender: No OFD packet to send [09:57:18]OFD Sender: No OFD packet to send [09:57:23]OFD Sender: No OFD packet to send [09:57:28]OFD Sender: No OFD packet to send [09:57:33]OFD Sender: No OFD packet to send [09:57:38]OFD Sender: No OFD packet to send [09:57:43]OFD Sender: No OFD packet to send [09:57:48]OFD Sender: No OFD packet to send [09:57:53]OFD Sender: No OFD packet to send [09:57:58]OFD Sender: No OFD packet to send [09:58:03]OFD Sender: No OFD packet to send [09:58:08]OFD Sender: No OFD packet to send [09:58:13]OFD Sender: No OFD packet to send [09:58:18]OFD Sender: No OFD packet to send [09:58:23]OFD Sender: No OFD packet to send [09:58:28]OFD Sender: No OFD packet to send [09:58:33]OFD Sender: No OFD packet to send [09:58:38]OFD Sender: No OFD packet to send [09:58:43]OFD Sender: No OFD packet to send [09:58:48]OFD Sender: No OFD packet to send [09:58:53]OFD Sender: No OFD packet to send [09:58:58]OFD Sender: No OFD packet to send [09:59:03]OFD Sender: No OFD packet to send [09:59:08]OFD Sender: No OFD packet to send [09:59:13]OFD Sender: No OFD packet to send [09:59:18]OFD Sender: No OFD packet to send [09:59:23]OFD Sender: No OFD packet to send [09:59:28]OFD Sender: No OFD packet to send [09:59:33]OFD Sender: No OFD packet to send [09:59:38]OFD Sender: No OFD packet to send [09:59:43]OFD Sender: No OFD packet to send [09:59:48]OFD Sender: No OFD packet to send [09:59:53]OFD Sender: No OFD packet to send [09:59:58]OFD Sender: No OFD packet to send [10:00:03]OFD Sender: No OFD packet to send [10:00:08]OFD Sender: No OFD packet to send [10:00:13]OFD Sender: No OFD packet to send [10:00:18]OFD Sender: No OFD packet to send [10:00:23]OFD Sender: No OFD packet to send [10:00:28]OFD Sender: No OFD packet to send [10:00:33]OFD Sender: No OFD packet to send [10:00:38]OFD Sender: No OFD packet to send [10:00:43]OFD Sender: No OFD packet to send [10:00:48]OFD Sender: No OFD packet to send [10:00:53]OFD Sender: No OFD packet to send [10:00:58]OFD Sender: No OFD packet to send [10:01:03]OFD Sender: No OFD packet to send [10:01:08]OFD Sender: No OFD packet to send [10:01:13]OFD Sender: No OFD packet to send [10:01:18]OFD Sender: No OFD packet to send [10:01:23]OFD Sender: No OFD packet to send [10:01:28]OFD Sender: No OFD packet to send [10:01:33]OFD Sender: No OFD packet to send [10:01:38]OFD Sender: No OFD packet to send [10:01:43]OFD Sender: No OFD packet to send [10:01:48]OFD Sender: No OFD packet to send [10:01:53]OFD Sender: No OFD packet to send [10:01:58]OFD Sender: No OFD packet to send [10:02:03]OFD Sender: No OFD packet to send [10:02:08]OFD Sender: No OFD packet to send [10:02:13]OFD Sender: No OFD packet to send [10:02:18]OFD Sender: No OFD packet to send [10:02:23]OFD Sender: No OFD packet to send [10:02:28]OFD Sender: No OFD packet to send [10:02:33]OFD Sender: No OFD packet to send [10:02:38]OFD Sender: No OFD packet to send [10:02:43]OFD Sender: No OFD packet to send [10:02:48]OFD Sender: No OFD packet to send [10:02:53]OFD Sender: No OFD packet to send [10:02:58]OFD Sender: No OFD packet to send [10:03:03]OFD Sender: No OFD packet to send [10:03:08]OFD Sender: No OFD packet to send [10:03:13]OFD Sender: No OFD packet to send [10:03:18]OFD Sender: No OFD packet to send [10:03:23]OFD Sender: No OFD packet to send [10:03:28]OFD Sender: No OFD packet to send [10:03:33]OFD Sender: No OFD packet to send [10:03:38]OFD Sender: No OFD packet to send [10:03:43]OFD Sender: No OFD packet to send [10:03:48]OFD Sender: No OFD packet to send [10:03:53]OFD Sender: No OFD packet to send [10:03:58]OFD Sender: No OFD packet to send [10:04:03]OFD Sender: No OFD packet to send [10:04:08]OFD Sender: No OFD packet to send [10:04:13]OFD Sender: No OFD packet to send [10:04:18]OFD Sender: No OFD packet to send [10:04:23]OFD Sender: No OFD packet to send [10:04:28]OFD Sender: No OFD packet to send [10:04:33]OFD Sender: No OFD packet to send [10:04:38]OFD Sender: No OFD packet to send [10:04:43]OFD Sender: No OFD packet to send [10:04:48]OFD Sender: No OFD packet to send [10:04:53]OFD Sender: No OFD packet to send [10:04:58]OFD Sender: No OFD packet to send [10:05:03]OFD Sender: No OFD packet to send [10:05:08]OFD Sender: No OFD packet to send [10:05:13]OFD Sender: No OFD packet to send [10:05:18]OFD Sender: No OFD packet to send [10:05:23]OFD Sender: No OFD packet to send [10:05:28]OFD Sender: No OFD packet to send [10:05:33]OFD Sender: No OFD packet to send [10:05:38]OFD Sender: No OFD packet to send [10:05:43]OFD Sender: No OFD packet to send [10:05:48]OFD Sender: No OFD packet to send [10:05:53]OFD Sender: No OFD packet to send [10:05:58]OFD Sender: No OFD packet to send [10:06:03]OFD Sender: No OFD packet to send [10:06:08]OFD Sender: No OFD packet to send [10:06:13]OFD Sender: No OFD packet to send [10:06:18]OFD Sender: No OFD packet to send [10:06:23]OFD Sender: No OFD packet to send [10:06:28]OFD Sender: No OFD packet to send [10:06:33]OFD Sender: No OFD packet to send [10:06:38]OFD Sender: No OFD packet to send [10:06:43]OFD Sender: No OFD packet to send [10:06:48]OFD Sender: No OFD packet to send [10:06:53]OFD Sender: No OFD packet to send [10:06:58]OFD Sender: No OFD packet to send [10:07:03]OFD Sender: No OFD packet to send [10:07:08]OFD Sender: No OFD packet to send [10:07:13]OFD Sender: No OFD packet to send [10:07:18]OFD Sender: No OFD packet to send [10:07:23]OFD Sender: No OFD packet to send [10:07:28]OFD Sender: No OFD packet to send [10:07:33]OFD Sender: No OFD packet to send [10:07:38]OFD Sender: No OFD packet to send [10:07:43]OFD Sender: No OFD packet to send [10:07:48]OFD Sender: No OFD packet to send [10:07:53]OFD Sender: No OFD packet to send [10:07:58]OFD Sender: No OFD packet to send [10:08:03]OFD Sender: No OFD packet to send [10:08:08]OFD Sender: No OFD packet to send [10:08:13]OFD Sender: No OFD packet to send [10:08:18]OFD Sender: No OFD packet to send [10:08:23]OFD Sender: No OFD packet to send [10:08:28]OFD Sender: No OFD packet to send [10:08:33]OFD Sender: No OFD packet to send [10:08:38]OFD Sender: No OFD packet to send [10:08:43]OFD Sender: No OFD packet to send [10:08:48]OFD Sender: No OFD packet to send [10:08:53]OFD Sender: No OFD packet to send [10:08:58]OFD Sender: No OFD packet to send [10:09:03]OFD Sender: No OFD packet to send [10:09:08]OFD Sender: No OFD packet to send [10:09:13]OFD Sender: No OFD packet to send [10:09:18]OFD Sender: No OFD packet to send [10:09:23]OFD Sender: No OFD packet to send [10:09:28]OFD Sender: No OFD packet to send [10:09:33]OFD Sender: No OFD packet to send [10:09:38]OFD Sender: No OFD packet to send [10:09:43]OFD Sender: No OFD packet to send [10:09:48]OFD Sender: No OFD packet to send [10:09:53]OFD Sender: No OFD packet to send [10:09:58]OFD Sender: No OFD packet to send [10:10:03]OFD Sender: No OFD packet to send [10:10:08]OFD Sender: No OFD packet to send [10:10:13]OFD Sender: No OFD packet to send [10:10:18]OFD Sender: No OFD packet to send [10:10:23]OFD Sender: No OFD packet to send [10:10:28]OFD Sender: No OFD packet to send [10:10:33]OFD Sender: No OFD packet to send [10:10:38]OFD Sender: No OFD packet to send [10:10:43]OFD Sender: No OFD packet to send [10:10:48]OFD Sender: No OFD packet to send [10:10:53]OFD Sender: No OFD packet to send [10:10:58]OFD Sender: No OFD packet to send [10:11:03]OFD Sender: No OFD packet to send [10:11:08]OFD Sender: No OFD packet to send [10:11:13]OFD Sender: No OFD packet to send [10:11:18]OFD Sender: No OFD packet to send [10:11:23]OFD Sender: No OFD packet to send [10:11:28]OFD Sender: No OFD packet to send [10:11:33]OFD Sender: No OFD packet to send [10:11:38]OFD Sender: No OFD packet to send [10:11:43]OFD Sender: No OFD packet to send [10:11:48]OFD Sender: No OFD packet to send [10:11:53]OFD Sender: No OFD packet to send [10:11:58]OFD Sender: No OFD packet to send [10:12:03]OFD Sender: No OFD packet to send [10:12:08]OFD Sender: No OFD packet to send [10:12:13]OFD Sender: No OFD packet to send [10:12:18]OFD Sender: No OFD packet to send [10:12:23]OFD Sender: No OFD packet to send [10:12:28]OFD Sender: No OFD packet to send [10:12:33]OFD Sender: No OFD packet to send [10:12:38]OFD Sender: No OFD packet to send [10:12:43]OFD Sender: No OFD packet to send [10:12:48]OFD Sender: No OFD packet to send [10:12:53]OFD Sender: No OFD packet to send [10:12:58]OFD Sender: No OFD packet to send [10:13:03]OFD Sender: No OFD packet to send [10:13:08]OFD Sender: No OFD packet to send [10:13:13]OFD Sender: No OFD packet to send [10:13:18]OFD Sender: No OFD packet to send [10:13:23]OFD Sender: No OFD packet to send [10:13:28]OFD Sender: No OFD packet to send [10:13:33]OFD Sender: No OFD packet to send [10:13:38]OFD Sender: No OFD packet to send [10:13:43]OFD Sender: No OFD packet to send [10:13:48]OFD Sender: No OFD packet to send [10:13:53]OFD Sender: No OFD packet to send [10:13:58]OFD Sender: No OFD packet to send [10:14:03]OFD Sender: No OFD packet to send [10:14:08]OFD Sender: No OFD packet to send [10:14:13]OFD Sender: No OFD packet to send [10:14:18]OFD Sender: No OFD packet to send [10:14:23]OFD Sender: No OFD packet to send [10:14:28]OFD Sender: No OFD packet to send [10:14:33]OFD Sender: No OFD packet to send [10:14:38]OFD Sender: No OFD packet to send [10:14:43]OFD Sender: No OFD packet to send [10:14:48]OFD Sender: No OFD packet to send [10:14:53]OFD Sender: No OFD packet to send [10:14:58]OFD Sender: No OFD packet to send [10:15:03]OFD Sender: No OFD packet to send [10:15:08]OFD Sender: No OFD packet to send [10:15:13]OFD Sender: No OFD packet to send [10:15:18]OFD Sender: No OFD packet to send [10:15:23]OFD Sender: No OFD packet to send [10:15:28]OFD Sender: No OFD packet to send [10:15:33]OFD Sender: No OFD packet to send [10:15:38]OFD Sender: No OFD packet to send [10:15:43]OFD Sender: No OFD packet to send [10:15:48]OFD Sender: No OFD packet to send [10:15:53]OFD Sender: No OFD packet to send [10:15:58]OFD Sender: No OFD packet to send [10:16:03]OFD Sender: No OFD packet to send [10:16:08]OFD Sender: No OFD packet to send [10:16:13]OFD Sender: No OFD packet to send [10:16:18]OFD Sender: No OFD packet to send [10:16:23]OFD Sender: No OFD packet to send [10:16:28]OFD Sender: No OFD packet to send [10:16:33]OFD Sender: No OFD packet to send [10:16:38]OFD Sender: No OFD packet to send [10:16:43]OFD Sender: No OFD packet to send [10:16:48]OFD Sender: No OFD packet to send [10:16:53]OFD Sender: No OFD packet to send [10:16:58]OFD Sender: No OFD packet to send [10:17:03]OFD Sender: No OFD packet to send [10:17:08]OFD Sender: No OFD packet to send [10:17:13]OFD Sender: No OFD packet to send [10:17:18]OFD Sender: No OFD packet to send [10:17:23]OFD Sender: No OFD packet to send [10:17:28]OFD Sender: No OFD packet to send [10:17:33]OFD Sender: No OFD packet to send [10:17:38]OFD Sender: No OFD packet to send [10:17:43]OFD Sender: No OFD packet to send [10:17:48]OFD Sender: No OFD packet to send [10:17:53]OFD Sender: No OFD packet to send [10:17:58]OFD Sender: No OFD packet to send [10:18:03]OFD Sender: No OFD packet to send [10:18:08]OFD Sender: No OFD packet to send [10:18:13]OFD Sender: No OFD packet to send [10:18:18]OFD Sender: No OFD packet to send [10:18:23]OFD Sender: No OFD packet to send [10:18:29]OFD Sender: No OFD packet to send [10:18:34]OFD Sender: No OFD packet to send [10:18:39]OFD Sender: No OFD packet to send [10:18:44]OFD Sender: No OFD packet to send [10:18:49]OFD Sender: No OFD packet to send [10:18:54]OFD Sender: No OFD packet to send [10:18:59]OFD Sender: No OFD packet to send [10:19:04]OFD Sender: No OFD packet to send [10:19:09]OFD Sender: No OFD packet to send [10:19:14]OFD Sender: No OFD packet to send [10:19:19]OFD Sender: No OFD packet to send [10:19:24]OFD Sender: No OFD packet to send [10:19:29]OFD Sender: No OFD packet to send [10:19:34]OFD Sender: No OFD packet to send [10:19:39]OFD Sender: No OFD packet to send [10:19:44]OFD Sender: No OFD packet to send [10:19:49]OFD Sender: No OFD packet to send [10:19:54]OFD Sender: No OFD packet to send [10:19:59]OFD Sender: No OFD packet to send [10:20:04]OFD Sender: No OFD packet to send [10:20:09]OFD Sender: No OFD packet to send [10:20:14]OFD Sender: No OFD packet to send [10:20:19]OFD Sender: No OFD packet to send [10:20:24]OFD Sender: No OFD packet to send [10:20:29]OFD Sender: No OFD packet to send [10:20:34]OFD Sender: No OFD packet to send [10:20:39]OFD Sender: No OFD packet to send [10:20:44]OFD Sender: No OFD packet to send [10:20:49]OFD Sender: No OFD packet to send [10:20:54]OFD Sender: No OFD packet to send [10:20:59]OFD Sender: No OFD packet to send [10:21:04]OFD Sender: No OFD packet to send [10:21:09]OFD Sender: No OFD packet to send [10:21:14]OFD Sender: No OFD packet to send [10:21:19]OFD Sender: No OFD packet to send [10:21:24]OFD Sender: No OFD packet to send [10:21:29]OFD Sender: No OFD packet to send [10:21:34]OFD Sender: No OFD packet to send [10:21:35]accept exits with 10 [10:21:35]New connection [10:21:35]New thread 3066838372 created [10:21:35]Thread 3066695012 joined [10:21:35]Waiting for new connection... [10:21:35] Sock 10.Parse request [10:21:35]Sock 10.Check first char [10:21:35]Sock 10.First char is OK [10:21:35]request: POST /json_proto HTTP/1.0 [10:21:35]Method: POST [10:21:35]URL: /json_proto [10:21:35]Method is POST - this is cgi request [10:21:35]url: /json_proto [10:21:35]query_string will be loaded in cgi processing [10:21:35]execute_cgi json_proto POST (null) [10:21:35]execute_cgi path=json_proto method=POST [10:21:35]POST find Content-Length [10:21:35]Host: 172.17.35.133:8080 [10:21:35]Content-Length: 654 [10:21:35]Content-Type: application/json [10:21:35] [10:21:35]POST finish read [10:21:35]Found Content-Length = 654 [10:21:35]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254468", "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 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:21:35]execute_script... [10:21: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)254468", "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 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:21:35]POST & json_proto [10:21:35]process_json_proto [10:21:35]json parsed OK: [10:21:35]protocol is kg_v1.0 [10:21:35]action value=close_receipt [10:21:35]process_action close_receipt [10:21:35]cmd_close_receipt [10:21:35]MH_GetDate [10:21:35]Write to MH i2c: F0 00 00 BE 1D CA [10:21:35]Write i2c OK [10:21:35]MH_I2C_Read... [10:21:35]Read from MH i2c: F0 [10:21:35]MH_I2C_Read... [10:21:35]Read from MH i2c: F0 09 00 [10:21:35]MH_I2C_Read... [10:21:35]Read from MH i2c: F0 09 00 BE 1D 00 B6 BC 6E 66 8C 55 28 65 87 [10:21:35]GetLastDocTimeStamp 1718525951 [10:21:35]current date 1718533302 [10:21:35]FM_GetShiftState [10:21:35]SAM_PROTO_GetShiftState [10:21:35]wFMCommunicate request_size=4 [10:21:35]MH_SAM_APDU [10:21:35]CAPDU: 80 13 01 00 [10:21:35]Write to MH i2c: E2 08 00 BF 1D 80 13 01 00 00 00 00 00 59 [10:21:35]Write i2c OK [10:21:35]MH_I2C_Read... [10:21:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:21:35]Read from MH i2c: E2 [10:21:35]MH_I2C_Read... [10:21:35]Read from MH i2c: E2 0E 00 [10:21:35]MH_I2C_Read... [10:21:35]Read from MH i2c: E2 0E 00 BF 1D 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 7A [10:21:35]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [10:21:35]wFMCommunicate OK [10:21:35]SAM_PROTO_GetShiftState done [10:21:35]FM_GetShiftState done [10:21:35]opened in 1718497297 [10:21:35]opened+sec_in_day 1718583697 [10:21:35]quantity*price = 9500 [10:21:35]sum+1 = 9501 [10:21:35]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 95.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 19 16.06.2024 10:21 Смена: 327 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22254 ФПД: 95375259585973 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T102142&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22254&fm=95375259585973&tin=02508201610067®Number=0000000000099755&sum=9500 0 [10:21:36]StoreToDocumentArchive [10:21:36]shift 327 fd 22254 [10:21:36]save to /storage/0327/doc_00022254 [10:21:36]save last doc name /storage/0327/doc_00022254 to /storage/kkm_last_doc_name [10:21:36]save OK [10:21:36]Clear old archive folders... [10:21:36]ProcessDocumentItem done err = 0, tmpTLVsize=293 [10:21:36]tlvbuf is 00277C60 [10:21:36]SAM_PROTO_ClearQueue [10:21:36]wFMCommunicate request_size=4 [10:21:36]MH_SAM_APDU [10:21:36]CAPDU: 80 09 00 00 [10:21:36]Write to MH i2c: E2 08 00 CC 1D 80 09 00 00 00 00 00 00 5B [10:21:36]Write i2c OK [10:21:36]MH_I2C_Read... [10:21:36]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:21:36]Read from MH i2c: E2 [10:21:36]MH_I2C_Read... [10:21:36]Read from MH i2c: E2 03 00 [10:21:36]MH_I2C_Read... [10:21:36]Read from MH i2c: E2 03 00 CC 1D 00 90 00 5D [10:21:36]RAPDU: 90 00 [10:21:36]wFMCommunicate OK [10:21:36]SAM_PROTO_ClearQueue done [10:21:36]KKMCreateOFDPacket [10:21:36]OFDProtocolAddRootSTLVToBuf [10:21:36]FM_MakeSignedData [10:21:36]FM_MakeSignedData [10:21:36]SAM_PROTO_SignData [10:21:36]wFMCommunicate request_size=4 [10:21:36]MH_SAM_APDU [10:21:36]CAPDU: 80 0D 01 02 [10:21:36]Write to MH i2c: E2 08 00 CD 1D 80 0D 01 02 00 00 00 00 63 [10:21:36]Write i2c OK [10:21:36]MH_I2C_Read... [10:21:36]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:21:36]Read from MH i2c: E2 [10:21:36]MH_I2C_Read... [10:21:36]Read from MH i2c: E2 03 00 [10:21:36]MH_I2C_Read... [10:21:36]Read from MH i2c: E2 03 00 CD 1D 00 90 00 5E [10:21:36]RAPDU: 90 00 [10:21:36]wFMCommunicate OK [10:21:36]wFMCommunicate request_size=255 [10:21:36]MH_SAM_APDU [10:21:36]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 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 B6 BC 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 [10:21:36]Write to MH i2c: E2 02 01 CE 1D 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 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 B6 BC 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 00 00 A4 [10:21:36]Write i2c OK [10:21:36]MH_I2C_Read... [10:21:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:21:36]Read from MH i2c: E2 [10:21:36]MH_I2C_Read... [10:21:36]Read from MH i2c: E2 03 00 [10:21:36]MH_I2C_Read... [10:21:36]Read from MH i2c: E2 03 00 CE 1D 00 90 00 5F [10:21:36]RAPDU: 90 00 [10:21:36]wFMCommunicate OK [10:21:36]wFMCommunicate request_size=52 [10:21:36]MH_SAM_APDU [10:21:36]CAPDU: 80 0D 02 02 2F 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 EE 56 00 00 35 04 06 00 56 BE 48 77 CD B5 [10:21:36]Write to MH i2c: E2 37 00 CF 1D 80 0D 02 02 2F 00 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 EE 56 00 00 35 04 06 00 56 BE 48 77 CD B5 00 00 CB [10:21:36]Write i2c OK [10:21:36]MH_I2C_Read... [10:21:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:21:36]Read from MH i2c: E2 [10:21:36]MH_I2C_Read... [10:21:36]Read from MH i2c: E2 03 00 [10:21:36]MH_I2C_Read... [10:21:36]Read from MH i2c: E2 03 00 CF 1D 00 90 00 60 [10:21:36]RAPDU: 90 00 [10:21:36]wFMCommunicate OK [10:21:36]wFMCommunicate request_size=4 [10:21:36]MH_SAM_APDU [10:21:36]CAPDU: 80 0D 03 02 [10:21:36]Write to MH i2c: E2 08 00 D0 1D 80 0D 03 02 00 00 00 00 68 [10:21:36]Write i2c OK [10:21:36]MH_I2C_Read... [10:21:36]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:21:36]Read from MH i2c: E2 [10:21:36]MH_I2C_Read... [10:21:36]Read from MH i2c: E2 0B 00 [10:21:36]MH_I2C_Read... [10:21:36]Read from MH i2c: E2 0B 00 D0 1D 00 67 62 B1 E1 F6 91 F6 43 90 00 84 [10:21:36]RAPDU: 67 62 B1 E1 F6 91 F6 43 90 00 [10:21:36]wFMCommunicate OK [10:21:36]SAM_PROTO_SignData done [10:21:36]FM_MakeSignedData done [10:21:36]CreateOFDProtocolMessage [10:21:36]wFMCommunicate request_size=4 [10:21:36]MH_SAM_APDU [10:21:36]CAPDU: 80 11 00 00 [10:21:36]Write to MH i2c: E2 08 00 D1 1D 80 11 00 00 00 00 00 00 68 [10:21:36]Write i2c OK [10:21:36]MH_I2C_Read... [10:21:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:21:36]Read from MH i2c: E2 [10:21:36]MH_I2C_Read... [10:21:36]Read from MH i2c: E2 17 00 [10:21:36]MH_I2C_Read... [10:21:36]Read from MH i2c: E2 17 00 D1 1D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 BA [10:21:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [10:21:36]wFMCommunicate OK [10:21:36]CreateOFDProtocolMessage done [10:21:36]OFDSenderStorePacket 22254 [10:21:36]StoreOFDPacket docnum=22254 [10:21:36]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 39 01 00 00 0F 56 31 01 85 66 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 B6 BC 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 EE 56 00 00 35 04 06 00 56 BE 48 77 CD B5 67 62 B1 E1 F6 91 F6 43 [10:21:36]CheckFolder [10:21:36]dirname=/storage/ofd_packets [10:21:36]CheckFolder done [10:21:36]ProducePacketName [10:21:36]name=ofd_packets/00022254 [10:21:36]NVStorageSaveData ofd_packets/00022254 [10:21:36]File name is /storage/ofd_packets/00022254 [10:21:36]Write 343 bytes [10:21:36]NVStorageSaveData done [10:21:36]OFDSenderStorePacket done [10:21:36]KKMCreateOFDPacket done [10:21:36]NVStorageSaveData kkm_last_timestamp [10:21:36]File name is /storage/kkm_last_timestamp [10:21:36]Write 4 bytes [10:21:36]NVStorageSaveData done [10:21:36]ExternCall_PrintAddStr [10:21:36]wPrintStart [10:21:36]Write to MH i2c: 01 00 00 D2 1D EF [10:21:36]Write i2c OK [10:21:36]MH_I2C_Read... [10:21:36]Read from MH i2c: 01 [10:21:36]MH_I2C_Read... [10:21:36]Read from MH i2c: 01 07 00 [10:21:36]MH_I2C_Read... [10:21:36]Read from MH i2c: 01 07 00 D2 1D 00 00 00 00 00 FF 0F 04 [10:21:36]RasterBufferAndPrint [10:21:36]line Счет N : (3)254468 [10:21:36]line ИНН: 02508201610067 [10:21:36]line Контрольно-Кассовый Чек [10:21:36]line ПРОДАЖА [10:21:36]line Товар: 4700000480050 [10:21:36]line Напиток Nitro Energy эн green ж/б 0,45л [10:21:36]line 1.000 * 95.00 [10:21:36]line = 95.00 [10:21:36]line НДС 12% НСП 1% [10:21:36]line > о реализуемом товаре [10:21:36]line ИТОГО: 95.00 [10:21:36]line НСП 1% : 0.84 [10:21:36]line НДС 12% : 10.09 [10:21:36]line Наличными: 95.00 [10:21:36]line Безнал.: 0.00 [10:21:36]line Место: АЗС № 76 "Партнер Нефть" [10:21:36]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [10:21:36]line СНО: Общий режим [10:21:36]line Чек 19 16.06.2024 10:21 [10:21:36]line Смена: 327 ФФД: 1.0 [10:21:36]line ЗНМ: 0300000200 [10:21:36]line РНМ: 0000000000099755 [10:21:36]line Версия ККМ: 001 [10:21:36]line ФМ: 0000000000965344 [10:21:36]line ФД: 22254 [10:21:36]line ФПД: 95375259585973 [10:21:37]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T102142&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22254&fm=95375259585973&tin=02508201610067®Number=0000000000099755&sum=9500 [10:21:37]line 0 [10:21:37]OFD Sender: Processing packet 22254 [packets to send 5, broken 4] [10:21:37]ProducePacketName [10:21:37]name=ofd_packets/00022254 [10:21:37]OFD Sender: To server: pG, [10:21:37]CommunicateWithHost lk.salyk.kg:30040 [10:21:37]ConnectInit lk.salyk.kg [10:21:37]written 0, free lines is 4095 [10:21:37]Connected sock=9 [10:21:37]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 39 01 00 00 0F 56 31 01 85 66 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 B6 BC 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 EE 56 00 00 35 04 06 00 56 BE 48 77 CD B5 67 62 B1 E1 F6 91 F6 43 [10:21:37]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 25 F8 47 00 61 7C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 EE 56 00 00 F4 03 04 00 71 65 6E 66 B6 04 01 00 00 C2 09 E8 F1 CF 6E 16 EF [10:21:37]CommunicateWithHost err = 0 [10:21:37]CheckOFDResponse [10:21:37]1017 (14) - 77093643461234 [10:21:37]1041 (16) - 0000000000965344 [10:21:37]1040 (4) - 22254 [10:21:37]1012 (4) - 16.06.2024 04:09 [10:21:37]1206 (1) - 0 [10:21:37]OFD Sender: Remove packet 22254 [10:21:37]ProducePacketName [10:21:37]name=ofd_packets/00022254 [10:21:37]NVStorageDeleteData [10:21:37]Write to MH i2c: 01 00 00 FB 1D 18 [10:21:37]Write i2c OK [10:21:37]MH_I2C_Read... [10:21:37]Read from MH i2c: 01 [10:21:37]MH_I2C_Read... [10:21:37]Read from MH i2c: 01 07 00 [10:21:37]MH_I2C_Read... [10:21:37]Read from MH i2c: 01 07 00 FB 1D 00 00 00 00 00 01 0D 2D [10:21:37]RasterBufferAndPrint [10:21:37]line [10:21:37]line [10:21:37]line [10:21:37]line [10:21:37]line [10:21:37]written 0, free lines is 3335 [10:21:37]MH_Cut [10:21:37]Write to MH i2c: D1 01 00 02 1E 01 F2 [10:21:37]Write i2c OK [10:21:37]MH_I2C_Read... [10:21:37]Read from MH i2c: D1 [10:21:37]MH_I2C_Read... [10:21:37]Read from MH i2c: D1 01 00 [10:21:37]MH_I2C_Read... [10:21:37]Read from MH i2c: D1 01 00 02 1E 00 F1 [10:21:37]Write to MH i2c: 01 00 00 03 1E 21 [10:21:37]Write i2c OK [10:21:37]MH_I2C_Read... [10:21:38]OFD Sender: No OFD packet to send [10:21:38]*** Cut start [10:21:38]*** Partial cut [10:21:38]*** CUTSNS_PIN = 1 [10:21:38]*** CUTSNS_PIN = 0 [10:21:38]*** Brake cut motor [10:21:38]Read from MH i2c: 01 [10:21:38]MH_I2C_Read... [10:21:38]*** Stop cut motor [10:21:38]*** Cut end [10:21:38]Read from MH i2c: 01 07 00 [10:21:38]MH_I2C_Read... [10:21:38]Read from MH i2c: 01 07 00 03 1E 00 00 00 00 00 FF 0F 36 [10:21:38]process_action close_receipt done [10:21:38]requested_data is exist [10:21:38]produce_requested_data [10:21:38]requested_item fm.sn is exist - process it [10:21:38]wFMCommunicate request_size=4 [10:21:38]MH_SAM_APDU [10:21:38]CAPDU: 80 11 00 00 [10:21:38]Write to MH i2c: E2 08 00 04 1E 80 11 00 00 00 00 00 00 9C [10:21:38]Write i2c OK [10:21:38]MH_I2C_Read... [10:21:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:21:38]Read from MH i2c: E2 [10:21:38]MH_I2C_Read... [10:21:38]Read from MH i2c: E2 17 00 [10:21:38]MH_I2C_Read... [10:21:38]Read from MH i2c: E2 17 00 04 1E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 EE [10:21:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [10:21:38]wFMCommunicate OK [10:21:38]requested_item fd.num is exist - process it [10:21:38]SAM_PROTO_GetFieldsCounters [10:21:38]wFMCommunicate request_size=4 [10:21:38]MH_SAM_APDU [10:21:38]CAPDU: 80 13 00 00 [10:21:38]Write to MH i2c: E2 08 00 05 1E 80 13 00 00 00 00 00 00 9F [10:21:38]Write i2c OK [10:21:38]MH_I2C_Read... [10:21:39]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:21:39]Read from MH i2c: E2 [10:21:39]MH_I2C_Read... [10:21:39]Read from MH i2c: E2 62 00 [10:21:39]MH_I2C_Read... [10:21:39]Read from MH i2c: E2 62 00 05 1E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 EE 56 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 13 00 00 00 5E 04 04 00 13 00 00 00 57 04 04 00 14 00 00 00 19 04 04 00 00 00 00 00 90 00 8E [10:21:39]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 EE 56 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 13 00 00 00 5E 04 04 00 13 00 00 00 57 04 04 00 14 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:21:39]wFMCommunicate OK [10:21:39]SAM_PROTO_GetFieldsCounters done [10:21:39]requested_item shift.num is exist - process it [10:21:39]requested_item shift.opened is exist - process it [10:21:39]req_shift_opened [10:21:39]FM_GetShiftState [10:21:39]SAM_PROTO_GetShiftState [10:21:39]wFMCommunicate request_size=4 [10:21:39]MH_SAM_APDU [10:21:39]CAPDU: 80 13 01 00 [10:21:39]Write to MH i2c: E2 08 00 06 1E 80 13 01 00 00 00 00 00 A1 [10:21:39]Write i2c OK [10:21:39]MH_I2C_Read... [10:21:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:21:39]Read from MH i2c: E2 [10:21:39]MH_I2C_Read... [10:21:39]Read from MH i2c: E2 0E 00 [10:21:39]MH_I2C_Read... [10:21:39]Read from MH i2c: E2 0E 00 06 1E 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 C2 [10:21:39]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [10:21:39]wFMCommunicate OK [10:21:39]SAM_PROTO_GetShiftState done [10:21:39]FM_GetShiftState done [10:21:39]req_shift_opened done [10:21:39]requested_item shift.open_date is exist - process it [10:21:39]req_shift_open_date [10:21:39]req_shift_open_date done [10:21:39]produce_requested_data done [10:21:39]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22254,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297} [10:21:39]process_action_free close_receipt [10:21:39]json_value_free [10:21:39]json_value_free done [10:21:39]process_json_proto returns [10:21:39]Send response to host [10:21:39]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22254,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297}}} [10:21:39]free response buf [10:21:39]execute_script done [10:21:39]execute_script returns [10:21:39]free content buf [10:21:39]Sock 10.Close socket [10:21:39]Sock 10.Thread stoped [10:21:43]OFD Sender: No OFD packet to send [10:21:48]OFD Sender: No OFD packet to send [10:21:53]OFD Sender: No OFD packet to send [10:21:58]OFD Sender: No OFD packet to send [10:22:03]OFD Sender: No OFD packet to send [10:22:08]OFD Sender: No OFD packet to send [10:22:13]OFD Sender: No OFD packet to send [10:22:18]OFD Sender: No OFD packet to send [10:22:23]OFD Sender: No OFD packet to send [10:22:28]OFD Sender: No OFD packet to send [10:22:33]OFD Sender: No OFD packet to send [10:22:38]OFD Sender: No OFD packet to send [10:22:43]OFD Sender: No OFD packet to send [10:22:48]OFD Sender: No OFD packet to send [10:22:53]OFD Sender: No OFD packet to send [10:22:58]OFD Sender: No OFD packet to send [10:23:03]OFD Sender: No OFD packet to send [10:23:08]OFD Sender: No OFD packet to send [10:23:13]OFD Sender: No OFD packet to send [10:23:18]OFD Sender: No OFD packet to send [10:23:23]OFD Sender: No OFD packet to send [10:23:28]OFD Sender: No OFD packet to send [10:23:33]OFD Sender: No OFD packet to send [10:23:38]OFD Sender: No OFD packet to send [10:23:43]OFD Sender: No OFD packet to send [10:23:48]OFD Sender: No OFD packet to send [10:23:53]OFD Sender: No OFD packet to send [10:23:58]OFD Sender: No OFD packet to send [10:24:03]OFD Sender: No OFD packet to send [10:24:08]OFD Sender: No OFD packet to send [10:24:13]OFD Sender: No OFD packet to send [10:24:18]OFD Sender: No OFD packet to send [10:24:23]OFD Sender: No OFD packet to send [10:24:28]OFD Sender: No OFD packet to send [10:24:33]OFD Sender: No OFD packet to send [10:24:38]OFD Sender: No OFD packet to send [10:24:43]OFD Sender: No OFD packet to send [10:24:48]OFD Sender: No OFD packet to send [10:24:53]OFD Sender: No OFD packet to send [10:24:58]OFD Sender: No OFD packet to send [10:25:03]OFD Sender: No OFD packet to send [10:25:08]OFD Sender: No OFD packet to send [10:25:13]OFD Sender: No OFD packet to send [10:25:18]OFD Sender: No OFD packet to send [10:25:23]OFD Sender: No OFD packet to send [10:25:28]OFD Sender: No OFD packet to send [10:25:33]OFD Sender: No OFD packet to send [10:25:38]OFD Sender: No OFD packet to send [10:25:43]OFD Sender: No OFD packet to send [10:25:48]OFD Sender: No OFD packet to send [10:25:53]OFD Sender: No OFD packet to send [10:25:58]OFD Sender: No OFD packet to send [10:26:03]OFD Sender: No OFD packet to send [10:26:08]OFD Sender: No OFD packet to send [10:26:13]OFD Sender: No OFD packet to send [10:26:18]OFD Sender: No OFD packet to send [10:26:23]OFD Sender: No OFD packet to send [10:26:28]OFD Sender: No OFD packet to send [10:26:33]OFD Sender: No OFD packet to send [10:26:38]OFD Sender: No OFD packet to send [10:26:43]OFD Sender: No OFD packet to send [10:26:48]OFD Sender: No OFD packet to send [10:26:53]OFD Sender: No OFD packet to send [10:26:58]OFD Sender: No OFD packet to send [10:27:03]OFD Sender: No OFD packet to send [10:27:08]OFD Sender: No OFD packet to send [10:27:13]OFD Sender: No OFD packet to send [10:27:18]OFD Sender: No OFD packet to send [10:27:23]OFD Sender: No OFD packet to send [10:27:28]OFD Sender: No OFD packet to send [10:27:33]OFD Sender: No OFD packet to send [10:27:38]OFD Sender: No OFD packet to send [10:27:43]OFD Sender: No OFD packet to send [10:27:48]OFD Sender: No OFD packet to send [10:27:53]OFD Sender: No OFD packet to send [10:27:58]OFD Sender: No OFD packet to send [10:28:03]OFD Sender: No OFD packet to send [10:28:08]OFD Sender: No OFD packet to send [10:28:13]OFD Sender: No OFD packet to send [10:28:18]OFD Sender: No OFD packet to send [10:28:23]OFD Sender: No OFD packet to send [10:28:28]OFD Sender: No OFD packet to send [10:28:33]OFD Sender: No OFD packet to send [10:28:38]OFD Sender: No OFD packet to send [10:28:43]OFD Sender: No OFD packet to send [10:28:48]OFD Sender: No OFD packet to send [10:28:53]OFD Sender: No OFD packet to send [10:28:58]OFD Sender: No OFD packet to send [10:29:03]OFD Sender: No OFD packet to send [10:29:08]OFD Sender: No OFD packet to send [10:29:13]OFD Sender: No OFD packet to send [10:29:18]OFD Sender: No OFD packet to send [10:29:23]OFD Sender: No OFD packet to send [10:29:28]OFD Sender: No OFD packet to send [10:29:33]OFD Sender: No OFD packet to send [10:29:38]OFD Sender: No OFD packet to send [10:29:43]OFD Sender: No OFD packet to send [10:29:48]OFD Sender: No OFD packet to send [10:29:53]OFD Sender: No OFD packet to send [10:29:58]OFD Sender: No OFD packet to send [10:30:03]OFD Sender: No OFD packet to send [10:30:08]OFD Sender: No OFD packet to send [10:30:13]OFD Sender: No OFD packet to send [10:30:18]OFD Sender: No OFD packet to send [10:30:23]OFD Sender: No OFD packet to send [10:30:28]OFD Sender: No OFD packet to send [10:30:33]OFD Sender: No OFD packet to send [10:30:38]OFD Sender: No OFD packet to send [10:30:43]OFD Sender: No OFD packet to send [10:30:48]OFD Sender: No OFD packet to send [10:30:53]OFD Sender: No OFD packet to send [10:30:58]OFD Sender: No OFD packet to send [10:31:03]OFD Sender: No OFD packet to send [10:31:08]OFD Sender: No OFD packet to send [10:31:13]OFD Sender: No OFD packet to send [10:31:18]OFD Sender: No OFD packet to send [10:31:23]OFD Sender: No OFD packet to send [10:31:28]OFD Sender: No OFD packet to send [10:31:33]OFD Sender: No OFD packet to send [10:31:38]OFD Sender: No OFD packet to send [10:31:43]OFD Sender: No OFD packet to send [10:31:48]OFD Sender: No OFD packet to send [10:31:53]OFD Sender: No OFD packet to send [10:31:58]OFD Sender: No OFD packet to send [10:32:03]OFD Sender: No OFD packet to send [10:32:08]OFD Sender: No OFD packet to send [10:32:13]OFD Sender: No OFD packet to send [10:32:18]OFD Sender: No OFD packet to send [10:32:23]OFD Sender: No OFD packet to send [10:32:28]OFD Sender: No OFD packet to send [10:32:33]OFD Sender: No OFD packet to send [10:32:38]OFD Sender: No OFD packet to send [10:32:43]OFD Sender: No OFD packet to send [10:32:48]OFD Sender: No OFD packet to send [10:32:53]OFD Sender: No OFD packet to send [10:32:58]OFD Sender: No OFD packet to send [10:33:03]OFD Sender: No OFD packet to send [10:33:08]OFD Sender: No OFD packet to send [10:33:13]OFD Sender: No OFD packet to send [10:33:18]OFD Sender: No OFD packet to send [10:33:23]OFD Sender: No OFD packet to send [10:33:28]OFD Sender: No OFD packet to send [10:33:33]OFD Sender: No OFD packet to send [10:33:38]OFD Sender: No OFD packet to send [10:33:43]OFD Sender: No OFD packet to send [10:33:48]OFD Sender: No OFD packet to send [10:33:53]OFD Sender: No OFD packet to send [10:33:58]OFD Sender: No OFD packet to send [10:34:03]OFD Sender: No OFD packet to send [10:34:08]OFD Sender: No OFD packet to send [10:34:13]OFD Sender: No OFD packet to send [10:34:18]OFD Sender: No OFD packet to send [10:34:23]OFD Sender: No OFD packet to send [10:34:28]OFD Sender: No OFD packet to send [10:34:33]OFD Sender: No OFD packet to send [10:34:38]OFD Sender: No OFD packet to send [10:34:43]OFD Sender: No OFD packet to send [10:34:48]OFD Sender: No OFD packet to send [10:34:53]OFD Sender: No OFD packet to send [10:34:58]OFD Sender: No OFD packet to send [10:35:03]OFD Sender: No OFD packet to send [10:35:08]OFD Sender: No OFD packet to send [10:35:13]OFD Sender: No OFD packet to send [10:35:18]OFD Sender: No OFD packet to send [10:35:23]OFD Sender: No OFD packet to send [10:35:28]OFD Sender: No OFD packet to send [10:35:33]OFD Sender: No OFD packet to send [10:35:38]OFD Sender: No OFD packet to send [10:35:43]OFD Sender: No OFD packet to send [10:35:48]OFD Sender: No OFD packet to send [10:35:53]OFD Sender: No OFD packet to send [10:35:58]OFD Sender: No OFD packet to send [10:36:03]OFD Sender: No OFD packet to send [10:36:08]OFD Sender: No OFD packet to send [10:36:13]OFD Sender: No OFD packet to send [10:36:18]OFD Sender: No OFD packet to send [10:36:23]OFD Sender: No OFD packet to send [10:36:28]OFD Sender: No OFD packet to send [10:36:33]OFD Sender: No OFD packet to send [10:36:38]OFD Sender: No OFD packet to send [10:36:43]OFD Sender: No OFD packet to send [10:36:48]OFD Sender: No OFD packet to send [10:36:53]OFD Sender: No OFD packet to send [10:36:58]OFD Sender: No OFD packet to send [10:37:03]OFD Sender: No OFD packet to send [10:37:08]OFD Sender: No OFD packet to send [10:37:13]OFD Sender: No OFD packet to send [10:37:18]OFD Sender: No OFD packet to send [10:37:23]OFD Sender: No OFD packet to send [10:37:28]OFD Sender: No OFD packet to send [10:37:33]OFD Sender: No OFD packet to send [10:37:38]OFD Sender: No OFD packet to send [10:37:43]OFD Sender: No OFD packet to send [10:37:48]OFD Sender: No OFD packet to send [10:37:53]OFD Sender: No OFD packet to send [10:37:58]OFD Sender: No OFD packet to send [10:38:03]OFD Sender: No OFD packet to send [10:38:08]OFD Sender: No OFD packet to send [10:38:13]OFD Sender: No OFD packet to send [10:38:18]OFD Sender: No OFD packet to send [10:38:23]OFD Sender: No OFD packet to send [10:38:28]OFD Sender: No OFD packet to send [10:38:33]OFD Sender: No OFD packet to send [10:38:38]OFD Sender: No OFD packet to send [10:38:43]OFD Sender: No OFD packet to send [10:38:48]OFD Sender: No OFD packet to send [10:38:53]OFD Sender: No OFD packet to send [10:38:58]OFD Sender: No OFD packet to send [10:39:03]OFD Sender: No OFD packet to send [10:39:08]OFD Sender: No OFD packet to send [10:39:13]OFD Sender: No OFD packet to send [10:39:18]OFD Sender: No OFD packet to send [10:39:23]OFD Sender: No OFD packet to send [10:39:28]OFD Sender: No OFD packet to send [10:39:33]OFD Sender: No OFD packet to send [10:39:38]OFD Sender: No OFD packet to send [10:39:43]OFD Sender: No OFD packet to send [10:39:48]OFD Sender: No OFD packet to send [10:39:53]OFD Sender: No OFD packet to send [10:39:58]OFD Sender: No OFD packet to send [10:40:03]OFD Sender: No OFD packet to send [10:40:08]OFD Sender: No OFD packet to send [10:40:13]OFD Sender: No OFD packet to send [10:40:18]OFD Sender: No OFD packet to send [10:40:23]OFD Sender: No OFD packet to send [10:40:28]OFD Sender: No OFD packet to send [10:40:33]OFD Sender: No OFD packet to send [10:40:38]OFD Sender: No OFD packet to send [10:40:43]OFD Sender: No OFD packet to send [10:40:48]OFD Sender: No OFD packet to send [10:40:53]OFD Sender: No OFD packet to send [10:40:58]OFD Sender: No OFD packet to send [10:41:03]OFD Sender: No OFD packet to send [10:41:08]OFD Sender: No OFD packet to send [10:41:13]OFD Sender: No OFD packet to send [10:41:18]OFD Sender: No OFD packet to send [10:41:23]OFD Sender: No OFD packet to send [10:41:29]OFD Sender: No OFD packet to send [10:41:34]OFD Sender: No OFD packet to send [10:41:39]OFD Sender: No OFD packet to send [10:41:44]OFD Sender: No OFD packet to send [10:41:49]OFD Sender: No OFD packet to send [10:41:54]OFD Sender: No OFD packet to send [10:41:59]OFD Sender: No OFD packet to send [10:42:04]OFD Sender: No OFD packet to send [10:42:09]OFD Sender: No OFD packet to send [10:42:14]OFD Sender: No OFD packet to send [10:42:19]OFD Sender: No OFD packet to send [10:42:24]OFD Sender: No OFD packet to send [10:42:29]OFD Sender: No OFD packet to send [10:42:34]OFD Sender: No OFD packet to send [10:42:39]OFD Sender: No OFD packet to send [10:42:44]OFD Sender: No OFD packet to send [10:42:49]OFD Sender: No OFD packet to send [10:42:54]OFD Sender: No OFD packet to send [10:42:59]OFD Sender: No OFD packet to send [10:43:04]OFD Sender: No OFD packet to send [10:43:09]OFD Sender: No OFD packet to send [10:43:14]OFD Sender: No OFD packet to send [10:43:19]OFD Sender: No OFD packet to send [10:43:24]OFD Sender: No OFD packet to send [10:43:29]OFD Sender: No OFD packet to send [10:43:34]OFD Sender: No OFD packet to send [10:43:39]OFD Sender: No OFD packet to send [10:43:40]accept exits with 8 [10:43:40]New connection [10:43:40]New thread 3066695012 created [10:43:40]Thread 3066838372 joined [10:43:40]Waiting for new connection... [10:43:40] Sock 8.Parse request [10:43:40]Sock 8.Check first char [10:43:40]Sock 8.First char is OK [10:43:40]request: POST /json_proto HTTP/1.0 [10:43:40]Method: POST [10:43:40]URL: /json_proto [10:43:40]Method is POST - this is cgi request [10:43:40]url: /json_proto [10:43:40]query_string will be loaded in cgi processing [10:43:40]execute_cgi json_proto POST (null) [10:43:40]execute_cgi path=json_proto method=POST [10:43:40]POST find Content-Length [10:43:40]Host: 172.17.35.133:8080 [10:43:40]Content-Length: 821 [10:43:40]Content-Type: application/json [10:43:40] [10:43:40]POST finish read [10:43:40]Found Content-Length = 821 [10:43:40]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254469", "tax_sys" : 0, "items" : [ { "code": "4650063110916", "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 }]} ], "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" : 405.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:43:40]execute_script... [10:43:40]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254469", "tax_sys" : 0, "items" : [ { "code": "4650063110916", "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 }]} ], "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" : 405.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:43:40]POST & json_proto [10:43:40]process_json_proto [10:43:40]json parsed OK: [10:43:40]protocol is kg_v1.0 [10:43:40]action value=close_receipt [10:43:40]process_action close_receipt [10:43:40]cmd_close_receipt [10:43:40]MH_GetDate [10:43:40]Write to MH i2c: F0 00 00 07 1E 14 [10:43:40]Write i2c OK [10:43:40]MH_I2C_Read... [10:43:40]Read from MH i2c: F0 [10:43:40]MH_I2C_Read... [10:43:40]Read from MH i2c: F0 09 00 [10:43:40]MH_I2C_Read... [10:43:40]Read from MH i2c: F0 09 00 07 1E 00 E4 C1 6E 66 8C 55 28 65 04 [10:43:40]GetLastDocTimeStamp 1718533302 [10:43:40]current date 1718534628 [10:43:40]FM_GetShiftState [10:43:40]SAM_PROTO_GetShiftState [10:43:40]wFMCommunicate request_size=4 [10:43:40]MH_SAM_APDU [10:43:40]CAPDU: 80 13 01 00 [10:43:40]Write to MH i2c: E2 08 00 08 1E 80 13 01 00 00 00 00 00 A3 [10:43:40]Write i2c OK [10:43:40]MH_I2C_Read... [10:43:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:43:41]Read from MH i2c: E2 [10:43:41]MH_I2C_Read... [10:43:41]Read from MH i2c: E2 0E 00 [10:43:41]MH_I2C_Read... [10:43:41]Read from MH i2c: E2 0E 00 08 1E 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 C4 [10:43:41]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [10:43:41]wFMCommunicate OK [10:43:41]SAM_PROTO_GetShiftState done [10:43:41]FM_GetShiftState done [10:43:41]opened in 1718497297 [10:43:41]opened+sec_in_day 1718583697 [10:43:41]quantity*price = 40500 [10:43:41]sum+1 = 40501 [10:43:41]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 405.00 НСП 1% : 3.58 НДС 12% : 43.01 Наличными: 0.00 Безнал.: 405.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 20 16.06.2024 10:43 Смена: 327 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000965344 ФД: 22255 ФПД: 238782450341165 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T104348&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22255&fm=238782450341165&tin=02508201610067®Number=0000000000099755&sum=40500 0 [10:43:42]StoreToDocumentArchive [10:43:42]shift 327 fd 22255 [10:43:42]save to /storage/0327/doc_00022255 [10:43:42]save last doc name /storage/0327/doc_00022255 to /storage/kkm_last_doc_name [10:43:42]save OK [10:43:42]Clear old archive folders... [10:43:42]ProcessDocumentItem done err = 0, tmpTLVsize=280 [10:43:42]tlvbuf is B6D8C7A0 [10:43:42]SAM_PROTO_ClearQueue [10:43:42]wFMCommunicate request_size=4 [10:43:42]MH_SAM_APDU [10:43:42]CAPDU: 80 09 00 00 [10:43:42]Write to MH i2c: E2 08 00 15 1E 80 09 00 00 00 00 00 00 A5 [10:43:42]Write i2c OK [10:43:42]MH_I2C_Read... [10:43:42]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:43:42]Read from MH i2c: E2 [10:43:42]MH_I2C_Read... [10:43:42]Read from MH i2c: E2 03 00 [10:43:42]MH_I2C_Read... [10:43:42]Read from MH i2c: E2 03 00 15 1E 00 90 00 A7 [10:43:42]RAPDU: 90 00 [10:43:42]wFMCommunicate OK [10:43:42]SAM_PROTO_ClearQueue done [10:43:42]KKMCreateOFDPacket [10:43:42]OFDProtocolAddRootSTLVToBuf [10:43:42]FM_MakeSignedData [10:43:42]FM_MakeSignedData [10:43:42]SAM_PROTO_SignData [10:43:42]wFMCommunicate request_size=4 [10:43:42]MH_SAM_APDU [10:43:42]CAPDU: 80 0D 01 02 [10:43:42]Write to MH i2c: E2 08 00 16 1E 80 0D 01 02 00 00 00 00 AD [10:43:42]Write i2c OK [10:43:42]MH_I2C_Read... [10:43:42]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:43:42]Read from MH i2c: E2 [10:43:42]MH_I2C_Read... [10:43:42]Read from MH i2c: E2 03 00 [10:43:42]MH_I2C_Read... [10:43:42]Read from MH i2c: E2 03 00 16 1E 00 90 00 A8 [10:43:42]RAPDU: 90 00 [10:43:42]wFMCommunicate OK [10:43:42]wFMCommunicate request_size=255 [10:43:42]MH_SAM_APDU [10:43:42]CAPDU: 80 0D 02 02 FA 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 34 36 35 30 30 36 33 31 31 30 39 31 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 FC 03 06 00 34 9E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CD 10 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 34 9E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 E4 C1 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 [10:43:42]Write to MH i2c: E2 02 01 17 1E 80 0D 02 02 FA 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 34 36 35 30 30 36 33 31 31 30 39 31 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 FC 03 06 00 34 9E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CD 10 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 34 9E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 E4 C1 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 00 00 85 [10:43:42]Write i2c OK [10:43:42]MH_I2C_Read... [10:43:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:43:42]Read from MH i2c: E2 [10:43:42]MH_I2C_Read... [10:43:42]Read from MH i2c: E2 03 00 [10:43:42]MH_I2C_Read... [10:43:42]Read from MH i2c: E2 03 00 17 1E 00 90 00 A9 [10:43:42]RAPDU: 90 00 [10:43:42]wFMCommunicate OK [10:43:42]wFMCommunicate request_size=39 [10:43:42]MH_SAM_APDU [10:43:42]CAPDU: 80 0D 02 02 22 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 EF 56 00 00 35 04 06 00 D9 2B DF 21 95 2D [10:43:42]Write to MH i2c: E2 2A 00 18 1E 80 0D 02 02 22 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 EF 56 00 00 35 04 06 00 D9 2B DF 21 95 2D 00 00 75 [10:43:42]Write i2c OK [10:43:42]MH_I2C_Read... [10:43:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:43:42]Read from MH i2c: E2 [10:43:42]MH_I2C_Read... [10:43:42]Read from MH i2c: E2 03 00 [10:43:42]MH_I2C_Read... [10:43:42]Read from MH i2c: E2 03 00 18 1E 00 90 00 AA [10:43:42]RAPDU: 90 00 [10:43:42]wFMCommunicate OK [10:43:42]wFMCommunicate request_size=4 [10:43:42]MH_SAM_APDU [10:43:42]CAPDU: 80 0D 03 02 [10:43:42]Write to MH i2c: E2 08 00 19 1E 80 0D 03 02 00 00 00 00 B2 [10:43:42]Write i2c OK [10:43:42]MH_I2C_Read... [10:43:42]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:43:42]Read from MH i2c: E2 [10:43:42]MH_I2C_Read... [10:43:42]Read from MH i2c: E2 0B 00 [10:43:42]MH_I2C_Read... [10:43:42]Read from MH i2c: E2 0B 00 19 1E 00 C0 0B 6B 22 23 42 52 91 90 00 53 [10:43:42]RAPDU: C0 0B 6B 22 23 42 52 91 90 00 [10:43:42]wFMCommunicate OK [10:43:42]SAM_PROTO_SignData done [10:43:42]FM_MakeSignedData done [10:43:42]CreateOFDProtocolMessage [10:43:42]wFMCommunicate request_size=4 [10:43:42]MH_SAM_APDU [10:43:42]CAPDU: 80 11 00 00 [10:43:42]Write to MH i2c: E2 08 00 1A 1E 80 11 00 00 00 00 00 00 B2 [10:43:42]Write i2c OK [10:43:42]MH_I2C_Read... [10:43:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:43:42]Read from MH i2c: E2 [10:43:42]MH_I2C_Read... [10:43:42]Read from MH i2c: E2 17 00 [10:43:42]MH_I2C_Read... [10:43:42]Read from MH i2c: E2 17 00 1A 1E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 04 [10:43:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [10:43:42]wFMCommunicate OK [10:43:42]CreateOFDProtocolMessage done [10:43:42]OFDSenderStorePacket 22255 [10:43:42]StoreOFDPacket docnum=22255 [10:43:42]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 2C 01 00 00 26 81 24 01 08 FA 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 34 36 35 30 30 36 33 31 31 30 39 31 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 FC 03 06 00 34 9E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CD 10 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 34 9E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 E4 C1 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 EF 56 00 00 35 04 06 00 D9 2B DF 21 95 2D C0 0B 6B 22 23 42 52 91 [10:43:42]CheckFolder [10:43:42]dirname=/storage/ofd_packets [10:43:42]CheckFolder done [10:43:42]ProducePacketName [10:43:42]name=ofd_packets/00022255 [10:43:42]NVStorageSaveData ofd_packets/00022255 [10:43:42]File name is /storage/ofd_packets/00022255 [10:43:42]Write 330 bytes [10:43:42]NVStorageSaveData done [10:43:42]OFDSenderStorePacket done [10:43:42]KKMCreateOFDPacket done [10:43:42]NVStorageSaveData kkm_last_timestamp [10:43:42]File name is /storage/kkm_last_timestamp [10:43:42]Write 4 bytes [10:43:42]NVStorageSaveData done [10:43:42]ExternCall_PrintAddStr [10:43:42]wPrintStart [10:43:42]Write to MH i2c: 01 00 00 1B 1E 39 [10:43:42]Write i2c OK [10:43:42]MH_I2C_Read... [10:43:42]Read from MH i2c: 01 [10:43:42]MH_I2C_Read... [10:43:42]Read from MH i2c: 01 07 00 [10:43:42]MH_I2C_Read... [10:43:42]Read from MH i2c: 01 07 00 1B 1E 00 00 00 00 00 FF 0F 4E [10:43:42]RasterBufferAndPrint [10:43:42]line Счет N : (3)254469 [10:43:42]line ИНН: 02508201610067 [10:43:42]line Контрольно-Кассовый Чек [10:43:42]line ПРОДАЖА [10:43:42]line Товар: 4650063110916 [10:43:42]line Масло Gazpromneft Super 10w40 1л [10:43:42]line 1.000 * 405.00 [10:43:42]line = 405.00 [10:43:42]line НДС 12% НСП 1% [10:43:42]line > о реализуемом товаре [10:43:42]line ИТОГО: 405.00 [10:43:42]line НСП 1% : 3.58 [10:43:42]line НДС 12% : 43.01 [10:43:42]line Наличными: 0.00 [10:43:42]line Безнал.: 405.00 [10:43:42]line Место: АЗС № 76 "Партнер Нефть" [10:43:42]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [10:43:42]line СНО: Общий режим [10:43:42]line Чек 20 16.06.2024 10:43 [10:43:42]line Смена: 327 ФФД: 1.0 [10:43:42]line ЗНМ: 0300000200 [10:43:42]line РНМ: 0000000000099755 [10:43:42]line Версия ККМ: 001 [10:43:42]line Платежная система: АКБ Кыргызстан [10:43:42]line ФМ: 0000000000965344 [10:43:42]line ФД: 22255 [10:43:42]line ФПД: 238782450341165 [10:43:42]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T104348&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22255&fm=238782450341165&tin=02508201610067®Number=0000000000099755&sum=40500 [10:43:42]line 0 [10:43:42]OFD Sender: Processing packet 22255 [packets to send 5, broken 4] [10:43:42]ProducePacketName [10:43:42]name=ofd_packets/00022255 [10:43:42]OFD Sender: To server: pG, [10:43:42]CommunicateWithHost lk.salyk.kg:30040 [10:43:42]ConnectInit lk.salyk.kg [10:43:43]written 0, free lines is 4095 [10:43:43]Connected sock=10 [10:43:43]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 2C 01 00 00 26 81 24 01 08 FA 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 34 36 35 30 30 36 33 31 31 30 39 31 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 FC 03 06 00 34 9E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CD 10 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 34 9E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 E4 C1 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 EF 56 00 00 35 04 06 00 D9 2B DF 21 95 2D C0 0B 6B 22 23 42 52 91 [10:43:43]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 53 03 47 00 1F 7E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 EF 56 00 00 F4 03 04 00 9F 6A 6E 66 B6 04 01 00 00 43 CC E5 31 F1 B9 A9 59 [10:43:43]CommunicateWithHost err = 0 [10:43:43]CheckOFDResponse [10:43:43]1017 (14) - 77093643461234 [10:43:43]1041 (16) - 0000000000965344 [10:43:43]1040 (4) - 22255 [10:43:43]1012 (4) - 16.06.2024 04:31 [10:43:43]1206 (1) - 0 [10:43:43]OFD Sender: Remove packet 22255 [10:43:43]ProducePacketName [10:43:43]name=ofd_packets/00022255 [10:43:43]NVStorageDeleteData [10:43:43]Write to MH i2c: 01 00 00 46 1E 64 [10:43:43]Write i2c OK [10:43:43]MH_I2C_Read... [10:43:43]Read from MH i2c: 01 [10:43:43]MH_I2C_Read... [10:43:43]Read from MH i2c: 01 07 00 [10:43:43]MH_I2C_Read... [10:43:43]Read from MH i2c: 01 07 00 46 1E 00 00 00 00 00 F0 0C 67 [10:43:43]RasterBufferAndPrint [10:43:43]line [10:43:43]line [10:43:43]line [10:43:43]line [10:43:43]line [10:43:43]written 0, free lines is 3318 [10:43:43]MH_Cut [10:43:43]Write to MH i2c: D1 01 00 4D 1E 01 3D [10:43:43]Write i2c OK [10:43:43]MH_I2C_Read... [10:43:43]Read from MH i2c: D1 [10:43:43]MH_I2C_Read... [10:43:43]Read from MH i2c: D1 01 00 [10:43:43]MH_I2C_Read... [10:43:43]Read from MH i2c: D1 01 00 4D 1E 00 3C [10:43:43]Write to MH i2c: 01 00 00 4E 1E 6C [10:43:43]Write i2c OK [10:43:43]MH_I2C_Read... [10:43:43]OFD Sender: No OFD packet to send [10:43:44]*** Cut start [10:43:44]*** Partial cut [10:43:44]*** CUTSNS_PIN = 1 [10:43:44]*** CUTSNS_PIN = 0 [10:43:44]*** Brake cut motor [10:43:44]Read from MH i2c: 01 [10:43:44]MH_I2C_Read... [10:43:44]*** Stop cut motor [10:43:44]*** Cut end [10:43:44]Read from MH i2c: 01 07 00 [10:43:44]MH_I2C_Read... [10:43:44]Read from MH i2c: 01 07 00 4E 1E 00 00 00 00 00 FF 0F 81 [10:43:44]process_action close_receipt done [10:43:44]requested_data is exist [10:43:44]produce_requested_data [10:43:44]requested_item fm.sn is exist - process it [10:43:44]wFMCommunicate request_size=4 [10:43:44]MH_SAM_APDU [10:43:44]CAPDU: 80 11 00 00 [10:43:44]Write to MH i2c: E2 08 00 4F 1E 80 11 00 00 00 00 00 00 E7 [10:43:44]Write i2c OK [10:43:44]MH_I2C_Read... [10:43:44]Read from MH i2c: E2 [10:43:44]MH_I2C_Read... [10:43:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:43:44]Read from MH i2c: E2 17 00 [10:43:44]MH_I2C_Read... [10:43:44]Read from MH i2c: E2 17 00 4F 1E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 39 [10:43:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [10:43:44]wFMCommunicate OK [10:43:44]requested_item fd.num is exist - process it [10:43:44]SAM_PROTO_GetFieldsCounters [10:43:44]wFMCommunicate request_size=4 [10:43:44]MH_SAM_APDU [10:43:44]CAPDU: 80 13 00 00 [10:43:44]Write to MH i2c: E2 08 00 50 1E 80 13 00 00 00 00 00 00 EA [10:43:44]Write i2c OK [10:43:44]MH_I2C_Read... [10:43:44]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:43:44]Read from MH i2c: E2 [10:43:44]MH_I2C_Read... [10:43:44]Read from MH i2c: E2 62 00 [10:43:44]MH_I2C_Read... [10:43:44]Read from MH i2c: E2 62 00 50 1E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 EF 56 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 14 00 00 00 5E 04 04 00 14 00 00 00 57 04 04 00 15 00 00 00 19 04 04 00 00 00 00 00 90 00 DD [10:43:44]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 EF 56 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 14 00 00 00 5E 04 04 00 14 00 00 00 57 04 04 00 15 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:43:44]wFMCommunicate OK [10:43:44]SAM_PROTO_GetFieldsCounters done [10:43:44]requested_item shift.num is exist - process it [10:43:44]requested_item shift.opened is exist - process it [10:43:44]req_shift_opened [10:43:44]FM_GetShiftState [10:43:44]SAM_PROTO_GetShiftState [10:43:44]wFMCommunicate request_size=4 [10:43:44]MH_SAM_APDU [10:43:44]CAPDU: 80 13 01 00 [10:43:44]Write to MH i2c: E2 08 00 51 1E 80 13 01 00 00 00 00 00 EC [10:43:44]Write i2c OK [10:43:44]MH_I2C_Read... [10:43:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:43:45]Read from MH i2c: E2 [10:43:45]MH_I2C_Read... [10:43:45]Read from MH i2c: E2 0E 00 [10:43:45]MH_I2C_Read... [10:43:45]Read from MH i2c: E2 0E 00 51 1E 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 0D [10:43:45]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [10:43:45]wFMCommunicate OK [10:43:45]SAM_PROTO_GetShiftState done [10:43:45]FM_GetShiftState done [10:43:45]req_shift_opened done [10:43:45]requested_item shift.open_date is exist - process it [10:43:45]req_shift_open_date [10:43:45]req_shift_open_date done [10:43:45]produce_requested_data done [10:43:45]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22255,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297} [10:43:45]process_action_free close_receipt [10:43:45]json_value_free [10:43:45]json_value_free done [10:43:45]process_json_proto returns [10:43:45]Send response to host [10:43:45]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22255,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297}}} [10:43:45]free response buf [10:43:45]execute_script done [10:43:45]execute_script returns [10:43:45]free content buf [10:43:45]Sock 8.Close socket [10:43:45]Sock 8.Thread stoped [10:43:48]OFD Sender: No OFD packet to send [10:43:53]OFD Sender: No OFD packet to send [10:43:58]OFD Sender: No OFD packet to send [10:44:03]OFD Sender: No OFD packet to send [10:44:08]OFD Sender: No OFD packet to send [10:44:13]OFD Sender: No OFD packet to send [10:44:18]OFD Sender: No OFD packet to send [10:44:23]OFD Sender: No OFD packet to send [10:44:28]OFD Sender: No OFD packet to send [10:44:33]OFD Sender: No OFD packet to send [10:44:38]OFD Sender: No OFD packet to send [10:44:43]OFD Sender: No OFD packet to send [10:44:48]OFD Sender: No OFD packet to send [10:44:53]OFD Sender: No OFD packet to send [10:44:58]OFD Sender: No OFD packet to send [10:45:03]OFD Sender: No OFD packet to send [10:45:08]OFD Sender: No OFD packet to send [10:45:13]OFD Sender: No OFD packet to send [10:45:18]OFD Sender: No OFD packet to send [10:45:23]OFD Sender: No OFD packet to send [10:45:28]OFD Sender: No OFD packet to send [10:45:33]OFD Sender: No OFD packet to send [10:45:38]OFD Sender: No OFD packet to send [10:45:43]OFD Sender: No OFD packet to send [10:45:48]OFD Sender: No OFD packet to send [10:45:53]OFD Sender: No OFD packet to send [10:45:58]OFD Sender: No OFD packet to send [10:46:03]OFD Sender: No OFD packet to send [10:46:08]OFD Sender: No OFD packet to send [10:46:13]OFD Sender: No OFD packet to send [10:46:18]OFD Sender: No OFD packet to send [10:46:23]OFD Sender: No OFD packet to send [10:46:28]OFD Sender: No OFD packet to send [10:46:33]OFD Sender: No OFD packet to send [10:46:38]OFD Sender: No OFD packet to send [10:46:43]OFD Sender: No OFD packet to send [10:46:48]OFD Sender: No OFD packet to send [10:46:53]OFD Sender: No OFD packet to send [10:46:58]OFD Sender: No OFD packet to send [10:47:03]OFD Sender: No OFD packet to send [10:47:08]OFD Sender: No OFD packet to send [10:47:13]OFD Sender: No OFD packet to send [10:47:18]OFD Sender: No OFD packet to send [10:47:23]OFD Sender: No OFD packet to send [10:47:28]OFD Sender: No OFD packet to send [10:47:33]OFD Sender: No OFD packet to send [10:47:38]OFD Sender: No OFD packet to send [10:47:43]OFD Sender: No OFD packet to send [10:47:48]OFD Sender: No OFD packet to send [10:47:53]OFD Sender: No OFD packet to send [10:47:58]OFD Sender: No OFD packet to send [10:48:03]OFD Sender: No OFD packet to send [10:48:08]OFD Sender: No OFD packet to send [10:48:14]OFD Sender: No OFD packet to send [10:48:19]OFD Sender: No OFD packet to send [10:48:24]OFD Sender: No OFD packet to send [10:48:29]OFD Sender: No OFD packet to send [10:48:34]OFD Sender: No OFD packet to send [10:48:39]OFD Sender: No OFD packet to send [10:48:44]OFD Sender: No OFD packet to send [10:48:49]OFD Sender: No OFD packet to send [10:48:54]OFD Sender: No OFD packet to send [10:48:59]OFD Sender: No OFD packet to send [10:49:04]OFD Sender: No OFD packet to send [10:49:09]OFD Sender: No OFD packet to send [10:49:14]OFD Sender: No OFD packet to send [10:49:19]OFD Sender: No OFD packet to send [10:49:24]OFD Sender: No OFD packet to send [10:49:29]OFD Sender: No OFD packet to send [10:49:34]OFD Sender: No OFD packet to send [10:49:39]OFD Sender: No OFD packet to send [10:49:44]OFD Sender: No OFD packet to send [10:49:49]OFD Sender: No OFD packet to send [10:49:54]OFD Sender: No OFD packet to send [10:49:59]OFD Sender: No OFD packet to send [10:50:04]OFD Sender: No OFD packet to send [10:50:09]OFD Sender: No OFD packet to send [10:50:14]OFD Sender: No OFD packet to send [10:50:19]OFD Sender: No OFD packet to send [10:50:24]OFD Sender: No OFD packet to send [10:50:29]OFD Sender: No OFD packet to send [10:50:34]OFD Sender: No OFD packet to send [10:50:39]OFD Sender: No OFD packet to send [10:50:44]OFD Sender: No OFD packet to send [10:50:49]OFD Sender: No OFD packet to send [10:50:54]OFD Sender: No OFD packet to send [10:50:59]OFD Sender: No OFD packet to send [10:51:04]OFD Sender: No OFD packet to send [10:51:09]OFD Sender: No OFD packet to send [10:51:14]OFD Sender: No OFD packet to send [10:51:19]OFD Sender: No OFD packet to send [10:51:24]OFD Sender: No OFD packet to send [10:51:29]OFD Sender: No OFD packet to send [10:51:34]OFD Sender: No OFD packet to send [10:51:39]OFD Sender: No OFD packet to send [10:51:44]OFD Sender: No OFD packet to send [10:51:49]OFD Sender: No OFD packet to send [10:51:54]OFD Sender: No OFD packet to send [10:51:59]OFD Sender: No OFD packet to send [10:52:04]OFD Sender: No OFD packet to send [10:52:09]OFD Sender: No OFD packet to send [10:52:14]OFD Sender: No OFD packet to send [10:52:19]OFD Sender: No OFD packet to send [10:52:24]OFD Sender: No OFD packet to send [10:52:29]OFD Sender: No OFD packet to send [10:52:34]OFD Sender: No OFD packet to send [10:52:39]OFD Sender: No OFD packet to send [10:52:44]OFD Sender: No OFD packet to send [10:52:49]OFD Sender: No OFD packet to send [10:52:54]OFD Sender: No OFD packet to send [10:52:59]OFD Sender: No OFD packet to send [10:53:04]OFD Sender: No OFD packet to send [10:53:09]OFD Sender: No OFD packet to send [10:53:14]OFD Sender: No OFD packet to send [10:53:19]OFD Sender: No OFD packet to send [10:53:24]OFD Sender: No OFD packet to send [10:53:29]OFD Sender: No OFD packet to send [10:53:34]OFD Sender: No OFD packet to send [10:53:39]OFD Sender: No OFD packet to send [10:53:44]OFD Sender: No OFD packet to send [10:53:49]OFD Sender: No OFD packet to send [10:53:54]OFD Sender: No OFD packet to send [10:53:59]OFD Sender: No OFD packet to send [10:54:04]OFD Sender: No OFD packet to send [10:54:09]OFD Sender: No OFD packet to send [10:54:14]OFD Sender: No OFD packet to send [10:54:19]OFD Sender: No OFD packet to send [10:54:24]OFD Sender: No OFD packet to send [10:54:29]OFD Sender: No OFD packet to send [10:54:34]OFD Sender: No OFD packet to send [10:54:39]OFD Sender: No OFD packet to send [10:54:44]OFD Sender: No OFD packet to send [10:54:49]OFD Sender: No OFD packet to send [10:54:54]OFD Sender: No OFD packet to send [10:54:59]OFD Sender: No OFD packet to send [10:55:04]OFD Sender: No OFD packet to send [10:55:09]OFD Sender: No OFD packet to send [10:55:14]OFD Sender: No OFD packet to send [10:55:19]OFD Sender: No OFD packet to send [10:55:24]OFD Sender: No OFD packet to send [10:55:29]OFD Sender: No OFD packet to send [10:55:34]OFD Sender: No OFD packet to send [10:55:39]OFD Sender: No OFD packet to send [10:55:44]OFD Sender: No OFD packet to send [10:55:49]OFD Sender: No OFD packet to send [10:55:54]OFD Sender: No OFD packet to send [10:55:59]OFD Sender: No OFD packet to send [10:56:04]OFD Sender: No OFD packet to send [10:56:09]OFD Sender: No OFD packet to send [10:56:14]OFD Sender: No OFD packet to send [10:56:19]OFD Sender: No OFD packet to send [10:56:24]OFD Sender: No OFD packet to send [10:56:29]OFD Sender: No OFD packet to send [10:56:34]OFD Sender: No OFD packet to send [10:56:39]OFD Sender: No OFD packet to send [10:56:44]OFD Sender: No OFD packet to send [10:56:49]OFD Sender: No OFD packet to send [10:56:54]OFD Sender: No OFD packet to send [10:56:59]OFD Sender: No OFD packet to send [10:57:04]OFD Sender: No OFD packet to send [10:57:09]OFD Sender: No OFD packet to send [10:57:14]OFD Sender: No OFD packet to send [10:57:19]OFD Sender: No OFD packet to send [10:57:24]OFD Sender: No OFD packet to send [10:57:29]OFD Sender: No OFD packet to send [10:57:34]OFD Sender: No OFD packet to send [10:57:39]OFD Sender: No OFD packet to send [10:57:44]OFD Sender: No OFD packet to send [10:57:49]OFD Sender: No OFD packet to send [10:57:54]OFD Sender: No OFD packet to send [10:57:59]OFD Sender: No OFD packet to send [10:58:04]OFD Sender: No OFD packet to send [10:58:09]OFD Sender: No OFD packet to send [10:58:14]OFD Sender: No OFD packet to send [10:58:19]OFD Sender: No OFD packet to send [10:58:24]OFD Sender: No OFD packet to send [10:58:29]OFD Sender: No OFD packet to send [10:58:34]OFD Sender: No OFD packet to send [10:58:39]OFD Sender: No OFD packet to send [10:58:44]OFD Sender: No OFD packet to send [10:58:49]OFD Sender: No OFD packet to send [10:58:54]OFD Sender: No OFD packet to send [10:58:59]OFD Sender: No OFD packet to send [10:59:04]OFD Sender: No OFD packet to send [10:59:09]OFD Sender: No OFD packet to send [10:59:14]OFD Sender: No OFD packet to send [10:59:19]OFD Sender: No OFD packet to send [10:59:24]OFD Sender: No OFD packet to send [10:59:29]OFD Sender: No OFD packet to send [10:59:34]OFD Sender: No OFD packet to send [10:59:39]OFD Sender: No OFD packet to send [10:59:44]OFD Sender: No OFD packet to send [10:59:49]OFD Sender: No OFD packet to send [10:59:54]OFD Sender: No OFD packet to send [10:59:59]OFD Sender: No OFD packet to send [11:00:04]OFD Sender: No OFD packet to send [11:00:09]OFD Sender: No OFD packet to send [11:00:14]OFD Sender: No OFD packet to send [11:00:19]OFD Sender: No OFD packet to send [11:00:24]OFD Sender: No OFD packet to send [11:00:29]OFD Sender: No OFD packet to send [11:00:34]OFD Sender: No OFD packet to send [11:00:39]OFD Sender: No OFD packet to send [11:00:44]OFD Sender: No OFD packet to send [11:00:49]OFD Sender: No OFD packet to send [11:00:54]OFD Sender: No OFD packet to send [11:00:59]OFD Sender: No OFD packet to send [11:01:04]OFD Sender: No OFD packet to send [11:01:09]OFD Sender: No OFD packet to send [11:01:14]OFD Sender: No OFD packet to send [11:01:19]OFD Sender: No OFD packet to send [11:01:24]OFD Sender: No OFD packet to send [11:01:29]OFD Sender: No OFD packet to send [11:01:34]OFD Sender: No OFD packet to send [11:01:39]OFD Sender: No OFD packet to send [11:01:44]OFD Sender: No OFD packet to send [11:01:49]OFD Sender: No OFD packet to send [11:01:54]OFD Sender: No OFD packet to send [11:01:59]OFD Sender: No OFD packet to send [11:02:04]OFD Sender: No OFD packet to send [11:02:09]OFD Sender: No OFD packet to send [11:02:14]OFD Sender: No OFD packet to send [11:02:19]OFD Sender: No OFD packet to send [11:02:24]OFD Sender: No OFD packet to send [11:02:29]OFD Sender: No OFD packet to send [11:02:34]OFD Sender: No OFD packet to send [11:02:39]OFD Sender: No OFD packet to send [11:02:44]OFD Sender: No OFD packet to send [11:02:49]OFD Sender: No OFD packet to send [11:02:54]OFD Sender: No OFD packet to send [11:02:59]OFD Sender: No OFD packet to send [11:03:04]OFD Sender: No OFD packet to send [11:03:09]OFD Sender: No OFD packet to send [11:03:14]OFD Sender: No OFD packet to send [11:03:19]OFD Sender: No OFD packet to send [11:03:24]OFD Sender: No OFD packet to send [11:03:29]OFD Sender: No OFD packet to send [11:03:34]OFD Sender: No OFD packet to send [11:03:39]OFD Sender: No OFD packet to send [11:03:44]OFD Sender: No OFD packet to send [11:03:49]OFD Sender: No OFD packet to send [11:03:54]OFD Sender: No OFD packet to send [11:03:59]OFD Sender: No OFD packet to send [11:04:04]OFD Sender: No OFD packet to send [11:04:09]OFD Sender: No OFD packet to send [11:04:14]OFD Sender: No OFD packet to send [11:04:19]OFD Sender: No OFD packet to send [11:04:24]OFD Sender: No OFD packet to send [11:04:29]OFD Sender: No OFD packet to send [11:04:34]OFD Sender: No OFD packet to send [11:04:39]OFD Sender: No OFD packet to send [11:04:44]OFD Sender: No OFD packet to send [11:04:49]OFD Sender: No OFD packet to send [11:04:54]OFD Sender: No OFD packet to send [11:04:59]OFD Sender: No OFD packet to send [11:05:04]OFD Sender: No OFD packet to send [11:05:09]OFD Sender: No OFD packet to send [11:05:14]OFD Sender: No OFD packet to send [11:05:19]OFD Sender: No OFD packet to send [11:05:24]OFD Sender: No OFD packet to send [11:05:29]OFD Sender: No OFD packet to send [11:05:34]OFD Sender: No OFD packet to send [11:05:39]OFD Sender: No OFD packet to send [11:05:44]OFD Sender: No OFD packet to send [11:05:49]OFD Sender: No OFD packet to send [11:05:54]OFD Sender: No OFD packet to send [11:05:59]OFD Sender: No OFD packet to send [11:06:04]OFD Sender: No OFD packet to send [11:06:09]OFD Sender: No OFD packet to send [11:06:14]OFD Sender: No OFD packet to send [11:06:19]OFD Sender: No OFD packet to send [11:06:24]OFD Sender: No OFD packet to send [11:06:29]OFD Sender: No OFD packet to send [11:06:34]OFD Sender: No OFD packet to send [11:06:39]OFD Sender: No OFD packet to send [11:06:44]OFD Sender: No OFD packet to send [11:06:49]OFD Sender: No OFD packet to send [11:06:54]OFD Sender: No OFD packet to send [11:06:59]OFD Sender: No OFD packet to send [11:07:04]OFD Sender: No OFD packet to send [11:07:09]OFD Sender: No OFD packet to send [11:07:14]OFD Sender: No OFD packet to send [11:07:19]OFD Sender: No OFD packet to send [11:07:24]OFD Sender: No OFD packet to send [11:07:29]OFD Sender: No OFD packet to send [11:07:34]OFD Sender: No OFD packet to send [11:07:39]OFD Sender: No OFD packet to send [11:07:44]OFD Sender: No OFD packet to send [11:07:49]OFD Sender: No OFD packet to send [11:07:54]OFD Sender: No OFD packet to send [11:07:59]OFD Sender: No OFD packet to send [11:08:04]OFD Sender: No OFD packet to send [11:08:09]OFD Sender: No OFD packet to send [11:08:14]OFD Sender: No OFD packet to send [11:08:19]OFD Sender: No OFD packet to send [11:08:24]OFD Sender: No OFD packet to send [11:08:29]OFD Sender: No OFD packet to send [11:08:34]OFD Sender: No OFD packet to send [11:08:39]OFD Sender: No OFD packet to send [11:08:44]OFD Sender: No OFD packet to send [11:08:49]OFD Sender: No OFD packet to send [11:08:54]OFD Sender: No OFD packet to send [11:08:59]OFD Sender: No OFD packet to send [11:09:04]OFD Sender: No OFD packet to send [11:09:09]OFD Sender: No OFD packet to send [11:09:14]OFD Sender: No OFD packet to send [11:09:19]OFD Sender: No OFD packet to send [11:09:24]OFD Sender: No OFD packet to send [11:09:29]OFD Sender: No OFD packet to send [11:09:34]OFD Sender: No OFD packet to send [11:09:39]OFD Sender: No OFD packet to send [11:09:45]OFD Sender: No OFD packet to send [11:09:50]OFD Sender: No OFD packet to send [11:09:55]OFD Sender: No OFD packet to send [11:10:00]OFD Sender: No OFD packet to send [11:10:05]OFD Sender: No OFD packet to send [11:10:10]OFD Sender: No OFD packet to send [11:10:15]OFD Sender: No OFD packet to send [11:10:20]OFD Sender: No OFD packet to send [11:10:25]OFD Sender: No OFD packet to send [11:10:30]OFD Sender: No OFD packet to send [11:10:35]OFD Sender: No OFD packet to send [11:10:40]OFD Sender: No OFD packet to send [11:10:45]OFD Sender: No OFD packet to send [11:10:50]OFD Sender: No OFD packet to send [11:10:55]OFD Sender: No OFD packet to send [11:11:00]OFD Sender: No OFD packet to send [11:11:05]OFD Sender: No OFD packet to send [11:11:10]OFD Sender: No OFD packet to send [11:11:15]OFD Sender: No OFD packet to send [11:11:20]OFD Sender: No OFD packet to send [11:11:25]OFD Sender: No OFD packet to send [11:11:30]OFD Sender: No OFD packet to send [11:11:35]OFD Sender: No OFD packet to send [11:11:40]OFD Sender: No OFD packet to send [11:11:45]OFD Sender: No OFD packet to send [11:11:50]OFD Sender: No OFD packet to send [11:11:55]OFD Sender: No OFD packet to send [11:12:00]OFD Sender: No OFD packet to send [11:12:05]OFD Sender: No OFD packet to send [11:12:10]OFD Sender: No OFD packet to send [11:12:15]OFD Sender: No OFD packet to send [11:12:20]OFD Sender: No OFD packet to send [11:12:25]OFD Sender: No OFD packet to send [11:12:30]OFD Sender: No OFD packet to send [11:12:35]OFD Sender: No OFD packet to send [11:12:40]OFD Sender: No OFD packet to send [11:12:45]OFD Sender: No OFD packet to send [11:12:50]OFD Sender: No OFD packet to send [11:12:55]OFD Sender: No OFD packet to send [11:13:00]OFD Sender: No OFD packet to send [11:13:05]OFD Sender: No OFD packet to send [11:13:10]OFD Sender: No OFD packet to send [11:13:15]OFD Sender: No OFD packet to send [11:13:20]OFD Sender: No OFD packet to send [11:13:25]OFD Sender: No OFD packet to send [11:13:30]OFD Sender: No OFD packet to send [11:13:35]OFD Sender: No OFD packet to send [11:13:40]OFD Sender: No OFD packet to send [11:13:45]OFD Sender: No OFD packet to send [11:13:50]OFD Sender: No OFD packet to send [11:13:55]OFD Sender: No OFD packet to send [11:14:00]OFD Sender: No OFD packet to send [11:14:05]OFD Sender: No OFD packet to send [11:14:10]OFD Sender: No OFD packet to send [11:14:15]OFD Sender: No OFD packet to send [11:14:20]OFD Sender: No OFD packet to send [11:14:25]OFD Sender: No OFD packet to send [11:14:30]OFD Sender: No OFD packet to send [11:14:35]OFD Sender: No OFD packet to send [11:14:40]OFD Sender: No OFD packet to send [11:14:45]OFD Sender: No OFD packet to send [11:14:50]OFD Sender: No OFD packet to send [11:14:55]OFD Sender: No OFD packet to send [11:15:00]OFD Sender: No OFD packet to send [11:15:05]OFD Sender: No OFD packet to send [11:15:10]OFD Sender: No OFD packet to send [11:15:15]OFD Sender: No OFD packet to send [11:15:20]OFD Sender: No OFD packet to send [11:15:25]OFD Sender: No OFD packet to send [11:15:30]OFD Sender: No OFD packet to send [11:15:35]OFD Sender: No OFD packet to send [11:15:40]OFD Sender: No OFD packet to send [11:15:45]OFD Sender: No OFD packet to send [11:15:50]OFD Sender: No OFD packet to send [11:15:55]OFD Sender: No OFD packet to send [11:16:00]OFD Sender: No OFD packet to send [11:16:05]OFD Sender: No OFD packet to send [11:16:10]OFD Sender: No OFD packet to send [11:16:15]OFD Sender: No OFD packet to send [11:16:20]OFD Sender: No OFD packet to send [11:16:25]OFD Sender: No OFD packet to send [11:16:30]OFD Sender: No OFD packet to send [11:16:35]OFD Sender: No OFD packet to send [11:16:40]OFD Sender: No OFD packet to send [11:16:45]OFD Sender: No OFD packet to send [11:16:50]OFD Sender: No OFD packet to send [11:16:55]OFD Sender: No OFD packet to send [11:17:00]OFD Sender: No OFD packet to send [11:17:05]OFD Sender: No OFD packet to send [11:17:10]OFD Sender: No OFD packet to send [11:17:15]OFD Sender: No OFD packet to send [11:17:20]OFD Sender: No OFD packet to send [11:17:25]OFD Sender: No OFD packet to send [11:17:30]OFD Sender: No OFD packet to send [11:17:35]OFD Sender: No OFD packet to send [11:17:40]OFD Sender: No OFD packet to send [11:17:45]OFD Sender: No OFD packet to send [11:17:50]OFD Sender: No OFD packet to send [11:17:55]OFD Sender: No OFD packet to send [11:18:00]OFD Sender: No OFD packet to send [11:18:05]OFD Sender: No OFD packet to send [11:18:10]OFD Sender: No OFD packet to send [11:18:15]OFD Sender: No OFD packet to send [11:18:20]OFD Sender: No OFD packet to send [11:18:25]OFD Sender: No OFD packet to send [11:18:30]OFD Sender: No OFD packet to send [11:18:35]OFD Sender: No OFD packet to send [11:18:40]OFD Sender: No OFD packet to send [11:18:45]OFD Sender: No OFD packet to send [11:18:50]OFD Sender: No OFD packet to send [11:18:55]OFD Sender: No OFD packet to send [11:19:00]OFD Sender: No OFD packet to send [11:19:05]OFD Sender: No OFD packet to send [11:19:10]OFD Sender: No OFD packet to send [11:19:15]OFD Sender: No OFD packet to send [11:19:20]OFD Sender: No OFD packet to send [11:19:25]OFD Sender: No OFD packet to send [11:19:30]OFD Sender: No OFD packet to send [11:19:35]OFD Sender: No OFD packet to send [11:19:40]OFD Sender: No OFD packet to send [11:19:45]OFD Sender: No OFD packet to send [11:19:50]OFD Sender: No OFD packet to send [11:19:55]OFD Sender: No OFD packet to send [11:20:00]OFD Sender: No OFD packet to send [11:20:05]OFD Sender: No OFD packet to send [11:20:10]OFD Sender: No OFD packet to send [11:20:15]OFD Sender: No OFD packet to send [11:20:20]OFD Sender: No OFD packet to send [11:20:25]OFD Sender: No OFD packet to send [11:20:30]OFD Sender: No OFD packet to send [11:20:35]OFD Sender: No OFD packet to send [11:20:40]OFD Sender: No OFD packet to send [11:20:45]OFD Sender: No OFD packet to send [11:20:50]OFD Sender: No OFD packet to send [11:20:55]OFD Sender: No OFD packet to send [11:21:00]OFD Sender: No OFD packet to send [11:21:05]OFD Sender: No OFD packet to send [11:21:10]OFD Sender: No OFD packet to send [11:21:15]OFD Sender: No OFD packet to send [11:21:20]OFD Sender: No OFD packet to send [11:21:25]OFD Sender: No OFD packet to send [11:21:30]OFD Sender: No OFD packet to send [11:21:35]OFD Sender: No OFD packet to send [11:21:40]OFD Sender: No OFD packet to send [11:21:45]OFD Sender: No OFD packet to send [11:21:50]OFD Sender: No OFD packet to send [11:21:55]OFD Sender: No OFD packet to send [11:22:00]OFD Sender: No OFD packet to send [11:22:05]OFD Sender: No OFD packet to send [11:22:10]OFD Sender: No OFD packet to send [11:22:15]OFD Sender: No OFD packet to send [11:22:20]OFD Sender: No OFD packet to send [11:22:25]OFD Sender: No OFD packet to send [11:22:30]OFD Sender: No OFD packet to send [11:22:35]OFD Sender: No OFD packet to send [11:22:40]OFD Sender: No OFD packet to send [11:22:45]OFD Sender: No OFD packet to send [11:22:50]OFD Sender: No OFD packet to send [11:22:52]accept exits with 9 [11:22:52]New connection [11:22:52]New thread 3066838372 created [11:22:52]Thread 3066695012 joined [11:22:52]Waiting for new connection... [11:22:52] Sock 9.Parse request [11:22:52]Sock 9.Check first char [11:22:52]Sock 9.First char is OK [11:22:52]request: POST /json_proto HTTP/1.0 [11:22:52]Method: POST [11:22:52]URL: /json_proto [11:22:52]Method is POST - this is cgi request [11:22:52]url: /json_proto [11:22:52]query_string will be loaded in cgi processing [11:22:52]execute_cgi json_proto POST (null) [11:22:52]execute_cgi path=json_proto method=POST [11:22:52]POST find Content-Length [11:22:52]Host: 172.17.35.133:8080 [11:22:52]Content-Length: 645 [11:22:52]Content-Type: application/json [11:22:52] [11:22:52]POST finish read [11:22:52]Found Content-Length = 645 [11:22:52]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254470", "tax_sys" : 0, "items" : [ { "code": "46226617", "name": "Mentos \u041F\u0412 \u041D\u0435\u0436\u043D\u0430\u044F \u041C\u044F\u0442\u0430 6*100*2\u0433", "price" : 10.00, "quantity" : 1.000, "sum" : 10.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 10.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:22:52]execute_script... [11:22: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)254470", "tax_sys" : 0, "items" : [ { "code": "46226617", "name": "Mentos \u041F\u0412 \u041D\u0435\u0436\u043D\u0430\u044F \u041C\u044F\u0442\u0430 6*100*2\u0433", "price" : 10.00, "quantity" : 1.000, "sum" : 10.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 10.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:22:52]POST & json_proto [11:22:52]process_json_proto [11:22:52]json parsed OK: [11:22:52]protocol is kg_v1.0 [11:22:52]action value=close_receipt [11:22:52]process_action close_receipt [11:22:52]cmd_close_receipt [11:22:52]MH_GetDate [11:22:52]Write to MH i2c: F0 00 00 52 1E 5F [11:22:52]Write i2c OK [11:22:52]MH_I2C_Read... [11:22:52]Read from MH i2c: F0 [11:22:52]MH_I2C_Read... [11:22:52]Read from MH i2c: F0 09 00 [11:22:52]MH_I2C_Read... [11:22:52]Read from MH i2c: F0 09 00 52 1E 00 14 CB 6E 66 8C 55 28 65 89 [11:22:52]GetLastDocTimeStamp 1718534628 [11:22:52]current date 1718536980 [11:22:52]FM_GetShiftState [11:22:52]SAM_PROTO_GetShiftState [11:22:52]wFMCommunicate request_size=4 [11:22:52]MH_SAM_APDU [11:22:52]CAPDU: 80 13 01 00 [11:22:52]Write to MH i2c: E2 08 00 53 1E 80 13 01 00 00 00 00 00 EE [11:22:52]Write i2c OK [11:22:52]MH_I2C_Read... [11:22:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:22:53]Read from MH i2c: E2 [11:22:53]MH_I2C_Read... [11:22:53]Read from MH i2c: E2 0E 00 [11:22:53]MH_I2C_Read... [11:22:53]Read from MH i2c: E2 0E 00 53 1E 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 0F [11:22:53]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [11:22:53]wFMCommunicate OK [11:22:53]SAM_PROTO_GetShiftState done [11:22:53]FM_GetShiftState done [11:22:53]opened in 1718497297 [11:22:53]opened+sec_in_day 1718583697 [11:22:53]quantity*price = 1000 [11:22:53]sum+1 = 1001 [11:22:53]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 10.00 НСП 1% : 0.09 НДС 12% : 1.06 Наличными: 10.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 21 16.06.2024 11:23 Смена: 327 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22256 ФПД: 190821803388196 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T112300&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22256&fm=190821803388196&tin=02508201610067®Number=0000000000099755&sum=1000 0 [11:22:54]StoreToDocumentArchive [11:22:54]shift 327 fd 22256 [11:22:54]save to /storage/0327/doc_00022256 [11:22:54]save last doc name /storage/0327/doc_00022256 to /storage/kkm_last_doc_name [11:22:54]save OK [11:22:54]Clear old archive folders... [11:22:54]ProcessDocumentItem done err = 0, tmpTLVsize=280 [11:22:54]tlvbuf is B6F39010 [11:22:54]SAM_PROTO_ClearQueue [11:22:54]wFMCommunicate request_size=4 [11:22:54]MH_SAM_APDU [11:22:54]CAPDU: 80 09 00 00 [11:22:54]Write to MH i2c: E2 08 00 60 1E 80 09 00 00 00 00 00 00 F0 [11:22:54]Write i2c OK [11:22:54]MH_I2C_Read... [11:22:54]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:22:54]Read from MH i2c: E2 [11:22:54]MH_I2C_Read... [11:22:54]Read from MH i2c: E2 03 00 [11:22:54]MH_I2C_Read... [11:22:54]Read from MH i2c: E2 03 00 60 1E 00 90 00 F2 [11:22:54]RAPDU: 90 00 [11:22:54]wFMCommunicate OK [11:22:54]SAM_PROTO_ClearQueue done [11:22:54]KKMCreateOFDPacket [11:22:54]OFDProtocolAddRootSTLVToBuf [11:22:54]FM_MakeSignedData [11:22:54]FM_MakeSignedData [11:22:54]SAM_PROTO_SignData [11:22:54]wFMCommunicate request_size=4 [11:22:54]MH_SAM_APDU [11:22:54]CAPDU: 80 0D 01 02 [11:22:54]Write to MH i2c: E2 08 00 61 1E 80 0D 01 02 00 00 00 00 F8 [11:22:54]Write i2c OK [11:22:54]MH_I2C_Read... [11:22:54]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:22:54]Read from MH i2c: E2 [11:22:54]MH_I2C_Read... [11:22:54]Read from MH i2c: E2 03 00 [11:22:54]MH_I2C_Read... [11:22:54]Read from MH i2c: E2 03 00 61 1E 00 90 00 F3 [11:22:54]RAPDU: 90 00 [11:22:54]wFMCommunicate OK [11:22:54]wFMCommunicate request_size=255 [11:22:54]MH_SAM_APDU [11:22:54]CAPDU: 80 0D 02 02 FA 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 08 00 34 36 32 32 36 36 31 37 06 04 2B 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9D D0 B5 D0 B6 D0 BD D0 B0 D1 8F 20 D0 9C D1 8F D1 82 D0 B0 20 36 2A 31 30 30 2A 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 03 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6A 00 00 00 00 00 07 04 06 00 E8 03 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 14 CB 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 [11:22:54]Write to MH i2c: E2 02 01 62 1E 80 0D 02 02 FA 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 08 00 34 36 32 32 36 36 31 37 06 04 2B 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9D D0 B5 D0 B6 D0 BD D0 B0 D1 8F 20 D0 9C D1 8F D1 82 D0 B0 20 36 2A 31 30 30 2A 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 03 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6A 00 00 00 00 00 07 04 06 00 E8 03 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 14 CB 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 00 00 56 [11:22:54]Write i2c OK [11:22:54]MH_I2C_Read... [11:22:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:22:54]Read from MH i2c: E2 [11:22:54]MH_I2C_Read... [11:22:54]Read from MH i2c: E2 03 00 [11:22:54]MH_I2C_Read... [11:22:54]Read from MH i2c: E2 03 00 62 1E 00 90 00 F4 [11:22:54]RAPDU: 90 00 [11:22:54]wFMCommunicate OK [11:22:54]wFMCommunicate request_size=39 [11:22:54]MH_SAM_APDU [11:22:54]CAPDU: 80 0D 02 02 22 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 F0 56 00 00 35 04 06 00 AD 8D 29 CE 6D 24 [11:22:54]Write to MH i2c: E2 2A 00 63 1E 80 0D 02 02 22 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 F0 56 00 00 35 04 06 00 AD 8D 29 CE 6D 24 00 00 BD [11:22:54]Write i2c OK [11:22:54]MH_I2C_Read... [11:22:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:22:54]Read from MH i2c: E2 [11:22:54]MH_I2C_Read... [11:22:54]Read from MH i2c: E2 03 00 [11:22:54]MH_I2C_Read... [11:22:54]Read from MH i2c: E2 03 00 63 1E 00 90 00 F5 [11:22:54]RAPDU: 90 00 [11:22:54]wFMCommunicate OK [11:22:54]wFMCommunicate request_size=4 [11:22:54]MH_SAM_APDU [11:22:54]CAPDU: 80 0D 03 02 [11:22:54]Write to MH i2c: E2 08 00 64 1E 80 0D 03 02 00 00 00 00 FD [11:22:54]Write i2c OK [11:22:54]MH_I2C_Read... [11:22:54]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:22:54]Read from MH i2c: E2 [11:22:54]MH_I2C_Read... [11:22:54]Read from MH i2c: E2 0B 00 [11:22:54]MH_I2C_Read... [11:22:54]Read from MH i2c: E2 0B 00 64 1E 00 F6 4E 5D E9 2D 28 28 68 90 00 6D [11:22:54]RAPDU: F6 4E 5D E9 2D 28 28 68 90 00 [11:22:54]wFMCommunicate OK [11:22:54]SAM_PROTO_SignData done [11:22:54]FM_MakeSignedData done [11:22:54]CreateOFDProtocolMessage [11:22:54]wFMCommunicate request_size=4 [11:22:54]MH_SAM_APDU [11:22:54]CAPDU: 80 11 00 00 [11:22:54]Write to MH i2c: E2 08 00 65 1E 80 11 00 00 00 00 00 00 FD [11:22:54]Write i2c OK [11:22:54]MH_I2C_Read... [11:22:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:22:54]Read from MH i2c: E2 [11:22:54]MH_I2C_Read... [11:22:54]Read from MH i2c: E2 17 00 [11:22:54]MH_I2C_Read... [11:22:54]Read from MH i2c: E2 17 00 65 1E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 4F [11:22:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [11:22:54]wFMCommunicate OK [11:22:54]CreateOFDProtocolMessage done [11:22:54]OFDSenderStorePacket 22256 [11:22:54]StoreOFDPacket docnum=22256 [11:22:54]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 2C 01 00 00 48 0D 24 01 5A 25 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 08 00 34 36 32 32 36 36 31 37 06 04 2B 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9D D0 B5 D0 B6 D0 BD D0 B0 D1 8F 20 D0 9C D1 8F D1 82 D0 B0 20 36 2A 31 30 30 2A 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 03 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6A 00 00 00 00 00 07 04 06 00 E8 03 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 14 CB 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 F0 56 00 00 35 04 06 00 AD 8D 29 CE 6D 24 F6 4E 5D E9 2D 28 28 68 [11:22:54]CheckFolder [11:22:54]dirname=/storage/ofd_packets [11:22:54]CheckFolder done [11:22:54]ProducePacketName [11:22:54]name=ofd_packets/00022256 [11:22:54]NVStorageSaveData ofd_packets/00022256 [11:22:54]File name is /storage/ofd_packets/00022256 [11:22:54]Write 330 bytes [11:22:54]NVStorageSaveData done [11:22:54]OFDSenderStorePacket done [11:22:54]KKMCreateOFDPacket done [11:22:54]NVStorageSaveData kkm_last_timestamp [11:22:54]File name is /storage/kkm_last_timestamp [11:22:54]Write 4 bytes [11:22:54]NVStorageSaveData done [11:22:54]ExternCall_PrintAddStr [11:22:54]wPrintStart [11:22:54]Write to MH i2c: 01 00 00 66 1E 84 [11:22:54]Write i2c OK [11:22:54]MH_I2C_Read... [11:22:54]Read from MH i2c: 01 [11:22:54]MH_I2C_Read... [11:22:54]Read from MH i2c: 01 07 00 [11:22:54]MH_I2C_Read... [11:22:54]Read from MH i2c: 01 07 00 66 1E 00 00 00 00 00 FF 0F 99 [11:22:54]RasterBufferAndPrint [11:22:54]line Счет N : (3)254470 [11:22:54]line ИНН: 02508201610067 [11:22:54]line Контрольно-Кассовый Чек [11:22:54]line ПРОДАЖА [11:22:54]line Товар: 46226617 [11:22:54]line Mentos ПВ Нежная Мята 6*100*2г [11:22:54]line 1.000 * 10.00 [11:22:54]line = 10.00 [11:22:54]line НДС 12% НСП 1% [11:22:54]line > о реализуемом товаре [11:22:54]line ИТОГО: 10.00 [11:22:54]line НСП 1% : 0.09 [11:22:54]line НДС 12% : 1.06 [11:22:54]line Наличными: 10.00 [11:22:54]line Безнал.: 0.00 [11:22:54]line Место: АЗС № 76 "Партнер Нефть" [11:22:54]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [11:22:54]line СНО: Общий режим [11:22:55]line Чек 21 16.06.2024 11:23 [11:22:55]line Смена: 327 ФФД: 1.0 [11:22:55]line ЗНМ: 0300000200 [11:22:55]line РНМ: 0000000000099755 [11:22:55]line Версия ККМ: 001 [11:22:55]line ФМ: 0000000000965344 [11:22:55]line ФД: 22256 [11:22:55]line ФПД: 190821803388196 [11:22:55]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T112300&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22256&fm=190821803388196&tin=02508201610067®Number=0000000000099755&sum=1000 [11:22:55]line 0 [11:22:55]OFD Sender: Processing packet 22256 [packets to send 5, broken 4] [11:22:55]ProducePacketName [11:22:55]name=ofd_packets/00022256 [11:22:55]OFD Sender: To server: pG, [11:22:55]CommunicateWithHost lk.salyk.kg:30040 [11:22:55]ConnectInit lk.salyk.kg [11:22:55]written 0, free lines is 4095 [11:22:55]Connected sock=10 [11:22:55]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 2C 01 00 00 48 0D 24 01 5A 25 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 08 00 34 36 32 32 36 36 31 37 06 04 2B 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9D D0 B5 D0 B6 D0 BD D0 B0 D1 8F 20 D0 9C D1 8F D1 82 D0 B0 20 36 2A 31 30 30 2A 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 03 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6A 00 00 00 00 00 07 04 06 00 E8 03 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 14 CB 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 F0 56 00 00 35 04 06 00 AD 8D 29 CE 6D 24 F6 4E 5D E9 2D 28 28 68 [11:22:55]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 99 18 47 00 5C 55 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 F0 56 00 00 F4 03 04 00 CF 73 6E 66 B6 04 01 00 00 B8 9B 55 7E 31 84 79 AB [11:22:55]CommunicateWithHost err = 0 [11:22:55]CheckOFDResponse [11:22:55]1017 (14) - 77093643461234 [11:22:55]1041 (16) - 0000000000965344 [11:22:55]1040 (4) - 22256 [11:22:55]1012 (4) - 16.06.2024 05:10 [11:22:55]1206 (1) - 0 [11:22:55]OFD Sender: Remove packet 22256 [11:22:55]ProducePacketName [11:22:55]name=ofd_packets/00022256 [11:22:55]NVStorageDeleteData [11:22:55]Write to MH i2c: 01 00 00 8F 1E AD [11:22:55]Write i2c OK [11:22:55]MH_I2C_Read... [11:22:55]Read from MH i2c: 01 [11:22:55]MH_I2C_Read... [11:22:55]Read from MH i2c: 01 07 00 [11:22:55]MH_I2C_Read... [11:22:55]Read from MH i2c: 01 07 00 8F 1E 00 00 00 00 00 09 0D CA [11:22:55]RasterBufferAndPrint [11:22:55]line [11:22:55]line [11:22:55]line [11:22:55]line [11:22:55]line [11:22:55]written 0, free lines is 3343 [11:22:55]MH_Cut [11:22:55]Write to MH i2c: D1 01 00 96 1E 01 86 [11:22:55]Write i2c OK [11:22:55]MH_I2C_Read... [11:22:55]Read from MH i2c: D1 [11:22:55]MH_I2C_Read... [11:22:55]Read from MH i2c: D1 01 00 [11:22:55]MH_I2C_Read... [11:22:55]Read from MH i2c: D1 01 00 96 1E 00 85 [11:22:55]Write to MH i2c: 01 00 00 97 1E B5 [11:22:55]Write i2c OK [11:22:55]MH_I2C_Read... [11:22:55]OFD Sender: No OFD packet to send [11:22:56]*** Cut start [11:22:56]*** Partial cut [11:22:56]*** CUTSNS_PIN = 1 [11:22:56]*** CUTSNS_PIN = 0 [11:22:56]*** Brake cut motor [11:22:56]Read from MH i2c: 01 [11:22:56]MH_I2C_Read... [11:22:56]*** Stop cut motor [11:22:56]*** Cut end [11:22:56]Read from MH i2c: 01 07 00 [11:22:56]MH_I2C_Read... [11:22:56]Read from MH i2c: 01 07 00 97 1E 00 00 00 00 00 FF 0F CA [11:22:56]process_action close_receipt done [11:22:56]requested_data is exist [11:22:56]produce_requested_data [11:22:56]requested_item fm.sn is exist - process it [11:22:56]wFMCommunicate request_size=4 [11:22:56]MH_SAM_APDU [11:22:56]CAPDU: 80 11 00 00 [11:22:56]Write to MH i2c: E2 08 00 98 1E 80 11 00 00 00 00 00 00 30 [11:22:56]Write i2c OK [11:22:56]MH_I2C_Read... [11:22:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:22:56]Read from MH i2c: E2 [11:22:56]MH_I2C_Read... [11:22:56]Read from MH i2c: E2 17 00 [11:22:56]MH_I2C_Read... [11:22:56]Read from MH i2c: E2 17 00 98 1E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 82 [11:22:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [11:22:56]wFMCommunicate OK [11:22:56]requested_item fd.num is exist - process it [11:22:56]SAM_PROTO_GetFieldsCounters [11:22:56]wFMCommunicate request_size=4 [11:22:56]MH_SAM_APDU [11:22:56]CAPDU: 80 13 00 00 [11:22:56]Write to MH i2c: E2 08 00 99 1E 80 13 00 00 00 00 00 00 33 [11:22:56]Write i2c OK [11:22:56]MH_I2C_Read... [11:22:56]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:22:56]Read from MH i2c: E2 [11:22:56]MH_I2C_Read... [11:22:56]Read from MH i2c: E2 62 00 [11:22:56]MH_I2C_Read... [11:22:56]Read from MH i2c: E2 62 00 99 1E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 F0 56 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 15 00 00 00 5E 04 04 00 15 00 00 00 57 04 04 00 16 00 00 00 19 04 04 00 00 00 00 00 90 00 2A [11:22:56]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 F0 56 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 15 00 00 00 5E 04 04 00 15 00 00 00 57 04 04 00 16 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:22:56]wFMCommunicate OK [11:22:56]SAM_PROTO_GetFieldsCounters done [11:22:56]requested_item shift.num is exist - process it [11:22:56]requested_item shift.opened is exist - process it [11:22:56]req_shift_opened [11:22:56]FM_GetShiftState [11:22:56]SAM_PROTO_GetShiftState [11:22:56]wFMCommunicate request_size=4 [11:22:56]MH_SAM_APDU [11:22:56]CAPDU: 80 13 01 00 [11:22:56]Write to MH i2c: E2 08 00 9A 1E 80 13 01 00 00 00 00 00 35 [11:22:56]Write i2c OK [11:22:56]MH_I2C_Read... [11:22:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:22:56]Read from MH i2c: E2 [11:22:56]MH_I2C_Read... [11:22:56]Read from MH i2c: E2 0E 00 [11:22:56]MH_I2C_Read... [11:22:56]Read from MH i2c: E2 0E 00 9A 1E 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 56 [11:22:56]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [11:22:56]wFMCommunicate OK [11:22:56]SAM_PROTO_GetShiftState done [11:22:56]FM_GetShiftState done [11:22:56]req_shift_opened done [11:22:56]requested_item shift.open_date is exist - process it [11:22:56]req_shift_open_date [11:22:56]req_shift_open_date done [11:22:56]produce_requested_data done [11:22:56]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22256,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297} [11:22:56]process_action_free close_receipt [11:22:56]json_value_free [11:22:56]json_value_free done [11:22:56]process_json_proto returns [11:22:56]Send response to host [11:22:56]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22256,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297}}} [11:22:56]free response buf [11:22:56]execute_script done [11:22:56]execute_script returns [11:22:56]free content buf [11:22:56]Sock 9.Close socket [11:22:56]Sock 9.Thread stoped [11:23:00]OFD Sender: No OFD packet to send [11:23:05]OFD Sender: No OFD packet to send [11:23:10]OFD Sender: No OFD packet to send [11:23:15]OFD Sender: No OFD packet to send [11:23:20]OFD Sender: No OFD packet to send [11:23:25]OFD Sender: No OFD packet to send [11:23:30]OFD Sender: No OFD packet to send [11:23:35]OFD Sender: No OFD packet to send [11:23:40]OFD Sender: No OFD packet to send [11:23:45]OFD Sender: No OFD packet to send [11:23:50]OFD Sender: No OFD packet to send [11:23:55]OFD Sender: No OFD packet to send [11:24:00]OFD Sender: No OFD packet to send [11:24:05]OFD Sender: No OFD packet to send [11:24:10]OFD Sender: No OFD packet to send [11:24:15]OFD Sender: No OFD packet to send [11:24:20]OFD Sender: No OFD packet to send [11:24:25]OFD Sender: No OFD packet to send [11:24:30]OFD Sender: No OFD packet to send [11:24:35]OFD Sender: No OFD packet to send [11:24:40]OFD Sender: No OFD packet to send [11:24:45]OFD Sender: No OFD packet to send [11:24:50]OFD Sender: No OFD packet to send [11:24:55]OFD Sender: No OFD packet to send [11:25:00]OFD Sender: No OFD packet to send [11:25:05]OFD Sender: No OFD packet to send [11:25:10]OFD Sender: No OFD packet to send [11:25:15]OFD Sender: No OFD packet to send [11:25:20]OFD Sender: No OFD packet to send [11:25:25]OFD Sender: No OFD packet to send [11:25:30]OFD Sender: No OFD packet to send [11:25:35]OFD Sender: No OFD packet to send [11:25:40]OFD Sender: No OFD packet to send [11:25:45]OFD Sender: No OFD packet to send [11:25:50]OFD Sender: No OFD packet to send [11:25:55]OFD Sender: No OFD packet to send [11:25:56]accept exits with 8 [11:25:56]New connection [11:25:56]New thread 3066695012 created [11:25:56]Thread 3066838372 joined [11:25:56]Waiting for new connection... [11:25:56] Sock 8.Parse request [11:25:56]Sock 8.Check first char [11:25:56]Sock 8.First char is OK [11:25:56]request: POST /json_proto HTTP/1.0 [11:25:56]Method: POST [11:25:56]URL: /json_proto [11:25:56]Method is POST - this is cgi request [11:25:56]url: /json_proto [11:25:56]query_string will be loaded in cgi processing [11:25:56]execute_cgi json_proto POST (null) [11:25:56]execute_cgi path=json_proto method=POST [11:25:56]POST find Content-Length [11:25:56]Host: 172.17.35.133:8080 [11:25:56]Content-Length: 715 [11:25:56]Content-Type: application/json [11:25:56] [11:25:56]POST finish read [11:25:56]Found Content-Length = 715 [11:25:56]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254471", "tax_sys" : 0, "items" : [ { "code": "5449000088680", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043C\u0430\u043D\u0433\u043E, \u0430\u043D\u0430\u043D\u0430\u0441 0,33 \u0436/\u0431", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 90.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:25:56]execute_script... [11:25:56]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254471", "tax_sys" : 0, "items" : [ { "code": "5449000088680", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043C\u0430\u043D\u0433\u043E, \u0430\u043D\u0430\u043D\u0430\u0441 0,33 \u0436/\u0431", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 90.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:25:56]POST & json_proto [11:25:56]process_json_proto [11:25:56]json parsed OK: [11:25:56]protocol is kg_v1.0 [11:25:56]action value=close_receipt [11:25:56]process_action close_receipt [11:25:56]cmd_close_receipt [11:25:56]MH_GetDate [11:25:56]Write to MH i2c: F0 00 00 9B 1E A8 [11:25:56]Write i2c OK [11:25:56]MH_I2C_Read... [11:25:56]Read from MH i2c: F0 [11:25:56]MH_I2C_Read... [11:25:56]Read from MH i2c: F0 09 00 [11:25:56]MH_I2C_Read... [11:25:56]Read from MH i2c: F0 09 00 9B 1E 00 CB CB 6E 66 8C 55 28 65 89 [11:25:56]GetLastDocTimeStamp 1718536980 [11:25:56]current date 1718537163 [11:25:56]FM_GetShiftState [11:25:56]SAM_PROTO_GetShiftState [11:25:56]wFMCommunicate request_size=4 [11:25:56]MH_SAM_APDU [11:25:56]CAPDU: 80 13 01 00 [11:25:56]Write to MH i2c: E2 08 00 9C 1E 80 13 01 00 00 00 00 00 37 [11:25:56]Write i2c OK [11:25:56]MH_I2C_Read... [11:25:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:25:56]Read from MH i2c: E2 [11:25:56]MH_I2C_Read... [11:25:56]Read from MH i2c: E2 0E 00 [11:25:56]MH_I2C_Read... [11:25:56]Read from MH i2c: E2 0E 00 9C 1E 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 58 [11:25:56]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [11:25:56]wFMCommunicate OK [11:25:56]SAM_PROTO_GetShiftState done [11:25:56]FM_GetShiftState done [11:25:56]opened in 1718497297 [11:25:56]opened+sec_in_day 1718583697 [11:25:56]quantity*price = 9000 [11:25:56]sum+1 = 9001 [11:25:56]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 90.00 НСП 1% : 0.80 НДС 12% : 9.56 Наличными: 90.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 22 16.06.2024 11:26 Смена: 327 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22257 ФПД: 116598459486547 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T112604&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22257&fm=116598459486547&tin=02508201610067®Number=0000000000099755&sum=9000 0 [11:25:57]StoreToDocumentArchive [11:25:57]shift 327 fd 22257 [11:25:57]save to /storage/0327/doc_00022257 [11:25:57]save last doc name /storage/0327/doc_00022257 to /storage/kkm_last_doc_name [11:25:57]save OK [11:25:57]Clear old archive folders... [11:25:57]ProcessDocumentItem done err = 0, tmpTLVsize=306 [11:25:57]tlvbuf is 001FB2B0 [11:25:57]SAM_PROTO_ClearQueue [11:25:57]wFMCommunicate request_size=4 [11:25:57]MH_SAM_APDU [11:25:57]CAPDU: 80 09 00 00 [11:25:57]Write to MH i2c: E2 08 00 A9 1E 80 09 00 00 00 00 00 00 39 [11:25:57]Write i2c OK [11:25:57]MH_I2C_Read... [11:25:57]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:25:57]Read from MH i2c: E2 [11:25:57]MH_I2C_Read... [11:25:57]Read from MH i2c: E2 03 00 [11:25:57]MH_I2C_Read... [11:25:57]Read from MH i2c: E2 03 00 A9 1E 00 90 00 3B [11:25:57]RAPDU: 90 00 [11:25:57]wFMCommunicate OK [11:25:57]SAM_PROTO_ClearQueue done [11:25:57]KKMCreateOFDPacket [11:25:57]OFDProtocolAddRootSTLVToBuf [11:25:57]FM_MakeSignedData [11:25:57]FM_MakeSignedData [11:25:57]SAM_PROTO_SignData [11:25:57]wFMCommunicate request_size=4 [11:25:57]MH_SAM_APDU [11:25:57]CAPDU: 80 0D 01 02 [11:25:57]Write to MH i2c: E2 08 00 AA 1E 80 0D 01 02 00 00 00 00 41 [11:25:57]Write i2c OK [11:25:57]MH_I2C_Read... [11:25:57]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:25:57]Read from MH i2c: E2 [11:25:57]MH_I2C_Read... [11:25:57]Read from MH i2c: E2 03 00 [11:25:57]MH_I2C_Read... [11:25:57]Read from MH i2c: E2 03 00 AA 1E 00 90 00 3C [11:25:57]RAPDU: 90 00 [11:25:57]wFMCommunicate OK [11:25:57]wFMCommunicate request_size=255 [11:25:57]MH_SAM_APDU [11:25:57]CAPDU: 80 0D 02 02 FA 03 00 32 01 1E 04 01 00 01 23 04 84 00 8A 04 0D 00 35 34 34 39 30 30 30 30 38 38 36 38 30 06 04 40 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 30 2C 33 33 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 23 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BC 03 00 00 00 00 07 04 06 00 28 23 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 CC CB 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 [11:25:57]Write to MH i2c: E2 02 01 AB 1E 80 0D 02 02 FA 00 03 00 32 01 1E 04 01 00 01 23 04 84 00 8A 04 0D 00 35 34 34 39 30 30 30 30 38 38 36 38 30 06 04 40 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 30 2C 33 33 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 23 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BC 03 00 00 00 00 07 04 06 00 28 23 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 CC CB 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 00 BF [11:25:57]Write i2c OK [11:25:57]MH_I2C_Read... [11:25:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:25:57]Read from MH i2c: E2 [11:25:57]MH_I2C_Read... [11:25:57]Read from MH i2c: E2 03 00 [11:25:57]MH_I2C_Read... [11:25:57]Read from MH i2c: E2 03 00 AB 1E 00 90 00 3D [11:25:57]RAPDU: 90 00 [11:25:57]wFMCommunicate OK [11:25:57]wFMCommunicate request_size=65 [11:25:57]MH_SAM_APDU [11:25:57]CAPDU: 80 0D 02 02 3C 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 F1 56 00 00 35 04 06 00 6A 0B B1 C2 51 53 [11:25:57]Write to MH i2c: E2 44 00 AC 1E 80 0D 02 02 3C 00 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 F1 56 00 00 35 04 06 00 6A 0B B1 C2 51 53 00 00 6F [11:25:57]Write i2c OK [11:25:57]MH_I2C_Read... [11:25:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:25:57]Read from MH i2c: E2 [11:25:57]MH_I2C_Read... [11:25:57]Read from MH i2c: E2 03 00 [11:25:57]MH_I2C_Read... [11:25:57]Read from MH i2c: E2 03 00 AC 1E 00 90 00 3E [11:25:57]RAPDU: 90 00 [11:25:57]wFMCommunicate OK [11:25:57]wFMCommunicate request_size=4 [11:25:57]MH_SAM_APDU [11:25:57]CAPDU: 80 0D 03 02 [11:25:57]Write to MH i2c: E2 08 00 AD 1E 80 0D 03 02 00 00 00 00 46 [11:25:57]Write i2c OK [11:25:57]MH_I2C_Read... [11:25:57]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:25:57]Read from MH i2c: E2 [11:25:57]MH_I2C_Read... [11:25:57]Read from MH i2c: E2 0B 00 [11:25:57]MH_I2C_Read... [11:25:57]Read from MH i2c: E2 0B 00 AD 1E 00 2D 80 89 7A 62 AF 7C 79 90 00 FD [11:25:57]RAPDU: 2D 80 89 7A 62 AF 7C 79 90 00 [11:25:57]wFMCommunicate OK [11:25:57]SAM_PROTO_SignData done [11:25:57]FM_MakeSignedData done [11:25:57]CreateOFDProtocolMessage [11:25:57]wFMCommunicate request_size=4 [11:25:57]MH_SAM_APDU [11:25:57]CAPDU: 80 11 00 00 [11:25:57]Write to MH i2c: E2 08 00 AE 1E 80 11 00 00 00 00 00 00 46 [11:25:57]Write i2c OK [11:25:57]MH_I2C_Read... [11:25:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:25:57]Read from MH i2c: E2 [11:25:57]MH_I2C_Read... [11:25:57]Read from MH i2c: E2 17 00 [11:25:57]MH_I2C_Read... [11:25:57]Read from MH i2c: E2 17 00 AE 1E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 98 [11:25:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [11:25:57]wFMCommunicate OK [11:25:57]CreateOFDProtocolMessage done [11:25:57]OFDSenderStorePacket 22257 [11:25:57]StoreOFDPacket docnum=22257 [11:25:57]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 46 01 00 00 8D 0E 3E 01 96 4D 5A 03 01 00 03 00 32 01 1E 04 01 00 01 23 04 84 00 8A 04 0D 00 35 34 34 39 30 30 30 30 38 38 36 38 30 06 04 40 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 30 2C 33 33 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 23 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BC 03 00 00 00 00 07 04 06 00 28 23 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 CC CB 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 F1 56 00 00 35 04 06 00 6A 0B B1 C2 51 53 2D 80 89 7A 62 AF 7C 79 [11:25:57]CheckFolder [11:25:57]dirname=/storage/ofd_packets [11:25:57]CheckFolder done [11:25:57]ProducePacketName [11:25:57]name=ofd_packets/00022257 [11:25:57]NVStorageSaveData ofd_packets/00022257 [11:25:57]File name is /storage/ofd_packets/00022257 [11:25:57]Write 356 bytes [11:25:57]NVStorageSaveData done [11:25:57]OFDSenderStorePacket done [11:25:57]KKMCreateOFDPacket done [11:25:57]NVStorageSaveData kkm_last_timestamp [11:25:57]File name is /storage/kkm_last_timestamp [11:25:57]Write 4 bytes [11:25:57]NVStorageSaveData done [11:25:57]ExternCall_PrintAddStr [11:25:57]wPrintStart [11:25:57]Write to MH i2c: 01 00 00 AF 1E CD [11:25:57]OFD Sender: Processing packet 22257 [packets to send 5, broken 4] [11:25:57]ProducePacketName [11:25:57]name=ofd_packets/00022257 [11:25:57]OFD Sender: To server: pG, [11:25:57]CommunicateWithHost lk.salyk.kg:30040 [11:25:57]ConnectInit lk.salyk.kg [11:25:57]Write i2c OK [11:25:57]MH_I2C_Read... [11:25:57]Read from MH i2c: 01 [11:25:57]MH_I2C_Read... [11:25:57]Read from MH i2c: 01 07 00 [11:25:57]MH_I2C_Read... [11:25:57]Read from MH i2c: 01 07 00 AF 1E 00 00 00 00 00 FF 0F E2 [11:25:57]RasterBufferAndPrint [11:25:57]line Счет N : (3)254471 [11:25:57]line ИНН: 02508201610067 [11:25:57]line Контрольно-Кассовый Чек [11:25:57]line ПРОДАЖА [11:25:57]line Товар: 5449000088680 [11:25:57]line Холодный чай Fuse манго, ананас 0,33 ж/б [11:25:57]line 1.000 * 90.00 [11:25:57]line = 90.00 [11:25:57]line НДС 12% НСП 1% [11:25:57]line > о реализуемом товаре [11:25:57]line ИТОГО: 90.00 [11:25:57]line НСП 1% : 0.80 [11:25:57]line НДС 12% : 9.56 [11:25:57]line Наличными: 90.00 [11:25:57]line Безнал.: 0.00 [11:25:57]line Место: АЗС № 76 "Партнер Нефть" [11:25:57]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [11:25:57]line СНО: Общий режим [11:25:57]line Чек 22 16.06.2024 11:26 [11:25:57]line Смена: 327 ФФД: 1.0 [11:25:57]line ЗНМ: 0300000200 [11:25:57]line РНМ: 0000000000099755 [11:25:57]line Версия ККМ: 001 [11:25:57]line ФМ: 0000000000965344 [11:25:58]line ФД: 22257 [11:25:58]line ФПД: 116598459486547 [11:25:58]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T112604&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22257&fm=116598459486547&tin=02508201610067®Number=0000000000099755&sum=9000 [11:25:58]line 0 [11:25:58]Connected sock=10 [11:25:58]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 46 01 00 00 8D 0E 3E 01 96 4D 5A 03 01 00 03 00 32 01 1E 04 01 00 01 23 04 84 00 8A 04 0D 00 35 34 34 39 30 30 30 30 38 38 36 38 30 06 04 40 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 30 2C 33 33 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 23 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BC 03 00 00 00 00 07 04 06 00 28 23 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 CC CB 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 F1 56 00 00 35 04 06 00 6A 0B B1 C2 51 53 2D 80 89 7A 62 AF 7C 79 [11:25:58]written 0, free lines is 4095 [11:25:58]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 0F 2E 47 00 4E B1 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 F1 56 00 00 F4 03 04 00 86 74 6E 66 B6 04 01 00 00 73 6C 83 BC C7 07 3B 31 [11:25:58]CommunicateWithHost err = 0 [11:25:58]CheckOFDResponse [11:25:58]1017 (14) - 77093643461234 [11:25:58]1041 (16) - 0000000000965344 [11:25:58]1040 (4) - 22257 [11:25:58]1012 (4) - 16.06.2024 05:13 [11:25:58]1206 (1) - 0 [11:25:58]OFD Sender: Remove packet 22257 [11:25:58]ProducePacketName [11:25:58]name=ofd_packets/00022257 [11:25:58]NVStorageDeleteData [11:25:58]Write to MH i2c: 01 00 00 D8 1E F6 [11:25:58]Write i2c OK [11:25:58]MH_I2C_Read... [11:25:58]Read from MH i2c: 01 [11:25:58]MH_I2C_Read... [11:25:58]Read from MH i2c: 01 07 00 [11:25:58]MH_I2C_Read... [11:25:58]Read from MH i2c: 01 07 00 D8 1E 00 00 00 00 00 10 0D 1A [11:25:58]RasterBufferAndPrint [11:25:58]line [11:25:58]line [11:25:58]line [11:25:58]line [11:25:58]line [11:25:58]written 0, free lines is 3353 [11:25:58]MH_Cut [11:25:58]Write to MH i2c: D1 01 00 DF 1E 01 CF [11:25:58]Write i2c OK [11:25:58]MH_I2C_Read... [11:25:58]Read from MH i2c: D1 [11:25:58]MH_I2C_Read... [11:25:58]Read from MH i2c: D1 01 00 [11:25:58]MH_I2C_Read... [11:25:58]Read from MH i2c: D1 01 00 DF 1E 00 CE [11:25:58]Write to MH i2c: 01 00 00 E0 1E FE [11:25:58]Write i2c OK [11:25:58]MH_I2C_Read... [11:25:58]OFD Sender: No OFD packet to send [11:25:59]*** Cut start [11:25:59]*** Partial cut [11:25:59]*** CUTSNS_PIN = 1 [11:25:59]*** CUTSNS_PIN = 0 [11:25:59]*** Brake cut motor [11:25:59]Read from MH i2c: 01 [11:25:59]MH_I2C_Read... [11:25:59]*** Stop cut motor [11:25:59]*** Cut end [11:25:59]Read from MH i2c: 01 07 00 [11:25:59]MH_I2C_Read... [11:25:59]Read from MH i2c: 01 07 00 E0 1E 00 00 00 00 00 FF 0F 13 [11:25:59]process_action close_receipt done [11:25:59]requested_data is exist [11:25:59]produce_requested_data [11:25:59]requested_item fm.sn is exist - process it [11:25:59]wFMCommunicate request_size=4 [11:25:59]MH_SAM_APDU [11:25:59]CAPDU: 80 11 00 00 [11:25:59]Write to MH i2c: E2 08 00 E1 1E 80 11 00 00 00 00 00 00 79 [11:25:59]Write i2c OK [11:25:59]MH_I2C_Read... [11:25:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:25:59]Read from MH i2c: E2 [11:25:59]MH_I2C_Read... [11:25:59]Read from MH i2c: E2 17 00 [11:25:59]MH_I2C_Read... [11:25:59]Read from MH i2c: E2 17 00 E1 1E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 CB [11:25:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [11:25:59]wFMCommunicate OK [11:25:59]requested_item fd.num is exist - process it [11:25:59]SAM_PROTO_GetFieldsCounters [11:25:59]wFMCommunicate request_size=4 [11:25:59]MH_SAM_APDU [11:25:59]CAPDU: 80 13 00 00 [11:25:59]Write to MH i2c: E2 08 00 E2 1E 80 13 00 00 00 00 00 00 7C [11:25:59]Write i2c OK [11:25:59]MH_I2C_Read... [11:26:00]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:26:00]Read from MH i2c: E2 [11:26:00]MH_I2C_Read... [11:26:00]Read from MH i2c: E2 62 00 [11:26:00]MH_I2C_Read... [11:26:00]Read from MH i2c: E2 62 00 E2 1E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 F1 56 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 16 00 00 00 5E 04 04 00 16 00 00 00 57 04 04 00 17 00 00 00 19 04 04 00 00 00 00 00 90 00 77 [11:26:00]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 F1 56 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 16 00 00 00 5E 04 04 00 16 00 00 00 57 04 04 00 17 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:26:00]wFMCommunicate OK [11:26:00]SAM_PROTO_GetFieldsCounters done [11:26:00]requested_item shift.num is exist - process it [11:26:00]requested_item shift.opened is exist - process it [11:26:00]req_shift_opened [11:26:00]FM_GetShiftState [11:26:00]SAM_PROTO_GetShiftState [11:26:00]wFMCommunicate request_size=4 [11:26:00]MH_SAM_APDU [11:26:00]CAPDU: 80 13 01 00 [11:26:00]Write to MH i2c: E2 08 00 E3 1E 80 13 01 00 00 00 00 00 7E [11:26:00]Write i2c OK [11:26:00]MH_I2C_Read... [11:26:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:26:00]Read from MH i2c: E2 [11:26:00]MH_I2C_Read... [11:26:00]Read from MH i2c: E2 0E 00 [11:26:00]MH_I2C_Read... [11:26:00]Read from MH i2c: E2 0E 00 E3 1E 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 9F [11:26:00]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [11:26:00]wFMCommunicate OK [11:26:00]SAM_PROTO_GetShiftState done [11:26:00]FM_GetShiftState done [11:26:00]req_shift_opened done [11:26:00]requested_item shift.open_date is exist - process it [11:26:00]req_shift_open_date [11:26:00]req_shift_open_date done [11:26:00]produce_requested_data done [11:26:00]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22257,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297} [11:26:00]process_action_free close_receipt [11:26:00]json_value_free [11:26:00]json_value_free done [11:26:00]process_json_proto returns [11:26:00]Send response to host [11:26:00]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22257,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297}}} [11:26:00]free response buf [11:26:00]execute_script done [11:26:00]execute_script returns [11:26:00]free content buf [11:26:00]Sock 8.Close socket [11:26:00]Sock 8.Thread stoped [11:26:03]OFD Sender: No OFD packet to send [11:26:08]OFD Sender: No OFD packet to send [11:26:13]OFD Sender: No OFD packet to send [11:26:18]OFD Sender: No OFD packet to send [11:26:23]OFD Sender: No OFD packet to send [11:26:28]OFD Sender: No OFD packet to send [11:26:33]OFD Sender: No OFD packet to send [11:26:38]OFD Sender: No OFD packet to send [11:26:43]OFD Sender: No OFD packet to send [11:26:48]OFD Sender: No OFD packet to send [11:26:53]OFD Sender: No OFD packet to send [11:26:58]OFD Sender: No OFD packet to send [11:27:03]OFD Sender: No OFD packet to send [11:27:08]OFD Sender: No OFD packet to send [11:27:13]OFD Sender: No OFD packet to send [11:27:18]OFD Sender: No OFD packet to send [11:27:23]OFD Sender: No OFD packet to send [11:27:28]OFD Sender: No OFD packet to send [11:27:33]OFD Sender: No OFD packet to send [11:27:38]OFD Sender: No OFD packet to send [11:27:43]OFD Sender: No OFD packet to send [11:27:48]OFD Sender: No OFD packet to send [11:27:53]OFD Sender: No OFD packet to send [11:27:55]accept exits with 9 [11:27:55]New connection [11:27:55]New thread 3066838372 created [11:27:55]Thread 3066695012 joined [11:27:55]Waiting for new connection... [11:27:55] Sock 9.Parse request [11:27:55]Sock 9.Check first char [11:27:55]Sock 9.First char is OK [11:27:55]request: POST /json_proto HTTP/1.0 [11:27:55]Method: POST [11:27:55]URL: /json_proto [11:27:55]Method is POST - this is cgi request [11:27:55]url: /json_proto [11:27:55]query_string will be loaded in cgi processing [11:27:55]execute_cgi json_proto POST (null) [11:27:55]execute_cgi path=json_proto method=POST [11:27:55]POST find Content-Length [11:27:55]Host: 172.17.35.133:8080 [11:27:55]Content-Length: 638 [11:27:55]Content-Type: application/json [11:27:55] [11:27:55]POST finish read [11:27:55]Found Content-Length = 638 [11:27:55]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254472", "tax_sys" : 0, "items" : [ { "code": "4700002082931", "name": "\u0412\u043E\u0434\u043A\u0430 \u0425\u043E\u0440\u043E\u0448\u0430\u044F 0,1\u043B", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 70.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:27:55]execute_script... [11:27:55]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254472", "tax_sys" : 0, "items" : [ { "code": "4700002082931", "name": "\u0412\u043E\u0434\u043A\u0430 \u0425\u043E\u0440\u043E\u0448\u0430\u044F 0,1\u043B", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 70.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:27:55]POST & json_proto [11:27:55]process_json_proto [11:27:55]json parsed OK: [11:27:55]protocol is kg_v1.0 [11:27:55]action value=close_receipt [11:27:55]process_action close_receipt [11:27:55]cmd_close_receipt [11:27:55]MH_GetDate [11:27:55]Write to MH i2c: F0 00 00 E4 1E F1 [11:27:55]Write i2c OK [11:27:55]MH_I2C_Read... [11:27:55]Read from MH i2c: F0 [11:27:55]MH_I2C_Read... [11:27:55]Read from MH i2c: F0 09 00 [11:27:55]MH_I2C_Read... [11:27:55]Read from MH i2c: F0 09 00 E4 1E 00 43 CC 6E 66 8C 55 28 65 4B [11:27:55]GetLastDocTimeStamp 1718537164 [11:27:55]current date 1718537283 [11:27:55]FM_GetShiftState [11:27:55]SAM_PROTO_GetShiftState [11:27:55]wFMCommunicate request_size=4 [11:27:55]MH_SAM_APDU [11:27:55]CAPDU: 80 13 01 00 [11:27:55]Write to MH i2c: E2 08 00 E5 1E 80 13 01 00 00 00 00 00 80 [11:27:55]Write i2c OK [11:27:55]MH_I2C_Read... [11:27:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:27:56]Read from MH i2c: E2 [11:27:56]MH_I2C_Read... [11:27:56]Read from MH i2c: E2 0E 00 [11:27:56]MH_I2C_Read... [11:27:56]Read from MH i2c: E2 0E 00 E5 1E 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 A1 [11:27:56]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [11:27:56]wFMCommunicate OK [11:27:56]SAM_PROTO_GetShiftState done [11:27:56]FM_GetShiftState done [11:27:56]opened in 1718497297 [11:27:56]opened+sec_in_day 1718583697 [11:27:56]quantity*price = 7000 [11:27:56]sum+1 = 7001 [11:27:56]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 70.00 НСП 1% : 0.62 НДС 12% : 7.43 Наличными: 70.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 23 16.06.2024 11:28 Смена: 327 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22258 ФПД: 205692361357949 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T112803&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22258&fm=205692361357949&tin=02508201610067®Number=0000000000099755&sum=7000 0 [11:27:57]StoreToDocumentArchive [11:27:57]shift 327 fd 22258 [11:27:57]save to /storage/0327/doc_00022258 [11:27:57]save last doc name /storage/0327/doc_00022258 to /storage/kkm_last_doc_name [11:27:57]save OK [11:27:57]Clear old archive folders... [11:27:57]ProcessDocumentItem done err = 0, tmpTLVsize=273 [11:27:57]tlvbuf is 001EE8C0 [11:27:57]SAM_PROTO_ClearQueue [11:27:57]wFMCommunicate request_size=4 [11:27:57]MH_SAM_APDU [11:27:57]CAPDU: 80 09 00 00 [11:27:57]Write to MH i2c: E2 08 00 F2 1E 80 09 00 00 00 00 00 00 82 [11:27:57]Write i2c OK [11:27:57]MH_I2C_Read... [11:27:57]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:27:57]Read from MH i2c: E2 [11:27:57]MH_I2C_Read... [11:27:57]Read from MH i2c: E2 03 00 [11:27:57]MH_I2C_Read... [11:27:57]Read from MH i2c: E2 03 00 F2 1E 00 90 00 84 [11:27:57]RAPDU: 90 00 [11:27:57]wFMCommunicate OK [11:27:57]SAM_PROTO_ClearQueue done [11:27:57]KKMCreateOFDPacket [11:27:57]OFDProtocolAddRootSTLVToBuf [11:27:57]FM_MakeSignedData [11:27:57]FM_MakeSignedData [11:27:57]SAM_PROTO_SignData [11:27:57]wFMCommunicate request_size=4 [11:27:57]MH_SAM_APDU [11:27:57]CAPDU: 80 0D 01 02 [11:27:57]Write to MH i2c: E2 08 00 F3 1E 80 0D 01 02 00 00 00 00 8A [11:27:57]Write i2c OK [11:27:57]MH_I2C_Read... [11:27:57]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:27:57]Read from MH i2c: E2 [11:27:57]MH_I2C_Read... [11:27:57]Read from MH i2c: E2 03 00 [11:27:57]MH_I2C_Read... [11:27:57]Read from MH i2c: E2 03 00 F3 1E 00 90 00 85 [11:27:57]RAPDU: 90 00 [11:27:57]wFMCommunicate OK [11:27:57]wFMCommunicate request_size=255 [11:27:57]MH_SAM_APDU [11:27:57]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 39 33 31 06 04 1F 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A5 D0 BE D1 80 D0 BE D1 88 D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 1B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E7 02 00 00 00 00 07 04 06 00 58 1B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 43 CC 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 [11:27:57]Write to MH i2c: E2 02 01 F4 1E 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 39 33 31 06 04 1F 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A5 D0 BE D1 80 D0 BE D1 88 D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 1B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E7 02 00 00 00 00 07 04 06 00 58 1B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 43 CC 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 00 00 F1 [11:27:57]Write i2c OK [11:27:57]MH_I2C_Read... [11:27:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:27:57]Read from MH i2c: E2 [11:27:57]MH_I2C_Read... [11:27:57]Read from MH i2c: E2 03 00 [11:27:57]MH_I2C_Read... [11:27:57]Read from MH i2c: E2 03 00 F4 1E 00 90 00 86 [11:27:57]RAPDU: 90 00 [11:27:57]wFMCommunicate OK [11:27:57]wFMCommunicate request_size=32 [11:27:57]MH_SAM_APDU [11:27:57]CAPDU: 80 0D 02 02 1B 30 30 30 39 36 35 33 34 34 10 04 04 00 F2 56 00 00 35 04 06 00 BB 13 7C 21 BA 7D [11:27:57]Write to MH i2c: E2 23 00 F5 1E 80 0D 02 02 1B 00 30 30 30 39 36 35 33 34 34 10 04 04 00 F2 56 00 00 35 04 06 00 BB 13 7C 21 BA 7D 00 00 D3 [11:27:57]Write i2c OK [11:27:57]MH_I2C_Read... [11:27:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:27:57]Read from MH i2c: E2 [11:27:57]MH_I2C_Read... [11:27:57]Read from MH i2c: E2 03 00 [11:27:57]MH_I2C_Read... [11:27:57]Read from MH i2c: E2 03 00 F5 1E 00 90 00 87 [11:27:57]RAPDU: 90 00 [11:27:57]wFMCommunicate OK [11:27:57]wFMCommunicate request_size=4 [11:27:57]MH_SAM_APDU [11:27:57]CAPDU: 80 0D 03 02 [11:27:57]Write to MH i2c: E2 08 00 F6 1E 80 0D 03 02 00 00 00 00 8F [11:27:57]Write i2c OK [11:27:57]MH_I2C_Read... [11:27:57]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:27:57]Read from MH i2c: E2 [11:27:57]MH_I2C_Read... [11:27:57]Read from MH i2c: E2 0B 00 [11:27:57]MH_I2C_Read... [11:27:57]Read from MH i2c: E2 0B 00 F6 1E 00 AE 70 26 35 06 EA 43 C4 90 00 00 [11:27:57]RAPDU: AE 70 26 35 06 EA 43 C4 90 00 [11:27:57]wFMCommunicate OK [11:27:57]SAM_PROTO_SignData done [11:27:57]FM_MakeSignedData done [11:27:57]CreateOFDProtocolMessage [11:27:57]wFMCommunicate request_size=4 [11:27:57]MH_SAM_APDU [11:27:57]CAPDU: 80 11 00 00 [11:27:57]Write to MH i2c: E2 08 00 F7 1E 80 11 00 00 00 00 00 00 8F [11:27:57]Write i2c OK [11:27:57]MH_I2C_Read... [11:27:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:27:57]Read from MH i2c: E2 [11:27:57]MH_I2C_Read... [11:27:57]Read from MH i2c: E2 17 00 [11:27:57]MH_I2C_Read... [11:27:57]Read from MH i2c: E2 17 00 F7 1E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 E1 [11:27:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [11:27:57]wFMCommunicate OK [11:27:57]CreateOFDProtocolMessage done [11:27:57]OFDSenderStorePacket 22258 [11:27:57]StoreOFDPacket docnum=22258 [11:27:57]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 25 01 00 00 74 A8 1D 01 E6 0B 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 39 33 31 06 04 1F 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A5 D0 BE D1 80 D0 BE D1 88 D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 1B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E7 02 00 00 00 00 07 04 06 00 58 1B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 43 CC 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 F2 56 00 00 35 04 06 00 BB 13 7C 21 BA 7D AE 70 26 35 06 EA 43 C4 [11:27:57]CheckFolder [11:27:57]dirname=/storage/ofd_packets [11:27:57]CheckFolder done [11:27:57]ProducePacketName [11:27:57]name=ofd_packets/00022258 [11:27:57]NVStorageSaveData ofd_packets/00022258 [11:27:57]File name is /storage/ofd_packets/00022258 [11:27:57]Write 323 bytes [11:27:57]NVStorageSaveData done [11:27:57]OFDSenderStorePacket done [11:27:57]KKMCreateOFDPacket done [11:27:57]NVStorageSaveData kkm_last_timestamp [11:27:57]File name is /storage/kkm_last_timestamp [11:27:57]Write 4 bytes [11:27:57]NVStorageSaveData done [11:27:57]ExternCall_PrintAddStr [11:27:57]wPrintStart [11:27:57]Write to MH i2c: 01 00 00 F8 1E 16 [11:27:57]Write i2c OK [11:27:57]MH_I2C_Read... [11:27:57]Read from MH i2c: 01 [11:27:57]MH_I2C_Read... [11:27:57]Read from MH i2c: 01 07 00 [11:27:57]MH_I2C_Read... [11:27:57]Read from MH i2c: 01 07 00 F8 1E 00 00 00 00 00 FF 0F 2B [11:27:57]RasterBufferAndPrint [11:27:57]line Счет N : (3)254472 [11:27:57]line ИНН: 02508201610067 [11:27:57]line Контрольно-Кассовый Чек [11:27:57]line ПРОДАЖА [11:27:57]line Товар: 4700002082931 [11:27:57]line Водка Хорошая 0,1л [11:27:57]line 1.000 * 70.00 [11:27:57]line = 70.00 [11:27:57]line НДС 12% НСП 1% [11:27:57]line > о реализуемом товаре [11:27:57]line ИТОГО: 70.00 [11:27:57]line НСП 1% : 0.62 [11:27:57]line НДС 12% : 7.43 [11:27:57]line Наличными: 70.00 [11:27:57]line Безнал.: 0.00 [11:27:57]line Место: АЗС № 76 "Партнер Нефть" [11:27:57]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [11:27:57]line СНО: Общий режим [11:27:57]line Чек 23 16.06.2024 11:28 [11:27:57]line Смена: 327 ФФД: 1.0 [11:27:57]line ЗНМ: 0300000200 [11:27:57]line РНМ: 0000000000099755 [11:27:57]line Версия ККМ: 001 [11:27:57]line ФМ: 0000000000965344 [11:27:57]line ФД: 22258 [11:27:57]line ФПД: 205692361357949 [11:27:58]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T112803&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22258&fm=205692361357949&tin=02508201610067®Number=0000000000099755&sum=7000 [11:27:58]line 0 [11:27:58]OFD Sender: Processing packet 22258 [packets to send 5, broken 4] [11:27:58]ProducePacketName [11:27:58]name=ofd_packets/00022258 [11:27:58]OFD Sender: To server: pG, [11:27:58]CommunicateWithHost lk.salyk.kg:30040 [11:27:58]ConnectInit lk.salyk.kg [11:27:58]written 0, free lines is 4095 [11:27:58]Connected sock=10 [11:27:58]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 25 01 00 00 74 A8 1D 01 E6 0B 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 39 33 31 06 04 1F 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A5 D0 BE D1 80 D0 BE D1 88 D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 1B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E7 02 00 00 00 00 07 04 06 00 58 1B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 43 CC 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 F2 56 00 00 35 04 06 00 BB 13 7C 21 BA 7D AE 70 26 35 06 EA 43 C4 [11:27:58]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 71 69 47 00 79 BF A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 F2 56 00 00 F4 03 04 00 FE 74 6E 66 B6 04 01 00 00 2B F6 4A 79 0F 9F AD 12 [11:27:58]CommunicateWithHost err = 0 [11:27:58]CheckOFDResponse [11:27:58]1017 (14) - 77093643461234 [11:27:58]1041 (16) - 0000000000965344 [11:27:58]1040 (4) - 22258 [11:27:58]1012 (4) - 16.06.2024 05:15 [11:27:58]1206 (1) - 0 [11:27:58]OFD Sender: Remove packet 22258 [11:27:58]ProducePacketName [11:27:58]name=ofd_packets/00022258 [11:27:58]NVStorageDeleteData [11:27:58]Write to MH i2c: 01 00 00 20 1F 3F [11:27:58]Write i2c OK [11:27:58]MH_I2C_Read... [11:27:58]Read from MH i2c: 01 [11:27:58]MH_I2C_Read... [11:27:58]Read from MH i2c: 01 07 00 [11:27:58]MH_I2C_Read... [11:27:58]Read from MH i2c: 01 07 00 20 1F 00 00 00 00 00 28 0D 7B [11:27:58]RasterBufferAndPrint [11:27:58]line [11:27:58]line [11:27:58]line [11:27:58]line [11:27:58]line [11:27:58]written 0, free lines is 3374 [11:27:58]MH_Cut [11:27:58]Write to MH i2c: D1 01 00 27 1F 01 18 [11:27:58]Write i2c OK [11:27:58]MH_I2C_Read... [11:27:58]Read from MH i2c: D1 [11:27:58]MH_I2C_Read... [11:27:58]Read from MH i2c: D1 01 00 [11:27:58]MH_I2C_Read... [11:27:58]Read from MH i2c: D1 01 00 27 1F 00 17 [11:27:58]Write to MH i2c: 01 00 00 28 1F 47 [11:27:58]Write i2c OK [11:27:58]MH_I2C_Read... [11:27:58]OFD Sender: No OFD packet to send [11:27:59]*** Cut start [11:27:59]*** Partial cut [11:27:59]*** CUTSNS_PIN = 1 [11:27:59]*** CUTSNS_PIN = 0 [11:27:59]*** Brake cut motor [11:27:59]Read from MH i2c: 01 [11:27:59]MH_I2C_Read... [11:27:59]*** Stop cut motor [11:27:59]*** Cut end [11:27:59]Read from MH i2c: 01 07 00 [11:27:59]MH_I2C_Read... [11:27:59]Read from MH i2c: 01 07 00 28 1F 00 00 00 00 00 FF 0F 5C [11:27:59]process_action close_receipt done [11:27:59]requested_data is exist [11:27:59]produce_requested_data [11:27:59]requested_item fm.sn is exist - process it [11:27:59]wFMCommunicate request_size=4 [11:27:59]MH_SAM_APDU [11:27:59]CAPDU: 80 11 00 00 [11:27:59]Write to MH i2c: E2 08 00 29 1F 80 11 00 00 00 00 00 00 C2 [11:27:59]Write i2c OK [11:27:59]MH_I2C_Read... [11:27:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:27:59]Read from MH i2c: E2 [11:27:59]MH_I2C_Read... [11:27:59]Read from MH i2c: E2 17 00 [11:27:59]MH_I2C_Read... [11:27:59]Read from MH i2c: E2 17 00 29 1F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 14 [11:27:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [11:27:59]wFMCommunicate OK [11:27:59]requested_item fd.num is exist - process it [11:27:59]SAM_PROTO_GetFieldsCounters [11:27:59]wFMCommunicate request_size=4 [11:27:59]MH_SAM_APDU [11:27:59]CAPDU: 80 13 00 00 [11:27:59]Write to MH i2c: E2 08 00 2A 1F 80 13 00 00 00 00 00 00 C5 [11:27:59]Write i2c OK [11:27:59]MH_I2C_Read... [11:27:59]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:27:59]Read from MH i2c: E2 [11:27:59]MH_I2C_Read... [11:27:59]Read from MH i2c: E2 62 00 [11:27:59]MH_I2C_Read... [11:27:59]Read from MH i2c: E2 62 00 2A 1F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 F2 56 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 17 00 00 00 5E 04 04 00 17 00 00 00 57 04 04 00 18 00 00 00 19 04 04 00 00 00 00 00 90 00 C4 [11:27:59]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 F2 56 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 17 00 00 00 5E 04 04 00 17 00 00 00 57 04 04 00 18 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:27:59]wFMCommunicate OK [11:27:59]SAM_PROTO_GetFieldsCounters done [11:27:59]requested_item shift.num is exist - process it [11:27:59]requested_item shift.opened is exist - process it [11:27:59]req_shift_opened [11:27:59]FM_GetShiftState [11:27:59]SAM_PROTO_GetShiftState [11:27:59]wFMCommunicate request_size=4 [11:27:59]MH_SAM_APDU [11:27:59]CAPDU: 80 13 01 00 [11:27:59]Write to MH i2c: E2 08 00 2B 1F 80 13 01 00 00 00 00 00 C7 [11:27:59]Write i2c OK [11:27:59]MH_I2C_Read... [11:27:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:27:59]Read from MH i2c: E2 [11:27:59]MH_I2C_Read... [11:27:59]Read from MH i2c: E2 0E 00 [11:27:59]MH_I2C_Read... [11:27:59]Read from MH i2c: E2 0E 00 2B 1F 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 E8 [11:27:59]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [11:27:59]wFMCommunicate OK [11:27:59]SAM_PROTO_GetShiftState done [11:27:59]FM_GetShiftState done [11:27:59]req_shift_opened done [11:27:59]requested_item shift.open_date is exist - process it [11:27:59]req_shift_open_date [11:28:00]req_shift_open_date done [11:28:00]produce_requested_data done [11:28:00]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22258,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297} [11:28:00]process_action_free close_receipt [11:28:00]json_value_free [11:28:00]json_value_free done [11:28:00]process_json_proto returns [11:28:00]Send response to host [11:28:00]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22258,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297}}} [11:28:00]free response buf [11:28:00]execute_script done [11:28:00]execute_script returns [11:28:00]free content buf [11:28:00]Sock 9.Close socket [11:28:00]Sock 9.Thread stoped [11:28:03]OFD Sender: No OFD packet to send [11:28:08]OFD Sender: No OFD packet to send [11:28:13]OFD Sender: No OFD packet to send [11:28:18]OFD Sender: No OFD packet to send [11:28:23]OFD Sender: No OFD packet to send [11:28:28]OFD Sender: No OFD packet to send [11:28:33]OFD Sender: No OFD packet to send [11:28:38]OFD Sender: No OFD packet to send [11:28:43]OFD Sender: No OFD packet to send [11:28:48]OFD Sender: No OFD packet to send [11:28:53]OFD Sender: No OFD packet to send [11:28:58]OFD Sender: No OFD packet to send [11:29:03]OFD Sender: No OFD packet to send [11:29:08]OFD Sender: No OFD packet to send [11:29:13]OFD Sender: No OFD packet to send [11:29:16]accept exits with 8 [11:29:16]New connection [11:29:16]New thread 3066695012 created [11:29:16]Thread 3066838372 joined [11:29:16]Waiting for new connection... [11:29:16] Sock 8.Parse request [11:29:16]Sock 8.Check first char [11:29:16]Sock 8.First char is OK [11:29:16]request: POST /json_proto HTTP/1.0 [11:29:16]Method: POST [11:29:16]URL: /json_proto [11:29:16]Method is POST - this is cgi request [11:29:16]url: /json_proto [11:29:16]query_string will be loaded in cgi processing [11:29:16]execute_cgi json_proto POST (null) [11:29:16]execute_cgi path=json_proto method=POST [11:29:16]POST find Content-Length [11:29:16]Host: 172.17.35.133:8080 [11:29:16]Content-Length: 1161 [11:29:16]Content-Type: application/json [11:29:16] [11:29:16]POST finish read [11:29:16]Found Content-Length = 1161 [11:29:16]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254473", "tax_sys" : 0, "items" : [ { "code": "4870002325441", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043B\u0438\u043C\u043E\u043D \u041F\u042D\u0422 0,5\u043B", "price" : 65.00, "quantity" : 1.000, "sum" : 65.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46214638", "name": "\u0420/\u0436 mentos p.white \u043D\u0435\u0436\u043D\u0430\u044F \u043C\u044F\u0442\u0430 16/15,5\u0433", "price" : 49.00, "quantity" : 1.000, "sum" : 49.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" : 114.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:29:16]execute_script... [11:29:16]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254473", "tax_sys" : 0, "items" : [ { "code": "4870002325441", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043B\u0438\u043C\u043E\u043D \u041F\u042D\u0422 0,5\u043B", "price" : 65.00, "quantity" : 1.000, "sum" : 65.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46214638", "name": "\u0420/\u0436 mentos p.white \u043D\u0435\u0436\u043D\u0430\u044F \u043C\u044F\u0442\u0430 16/15,5\u0433", "price" : 49.00, "quantity" : 1.000, "sum" : 49.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" : 114.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:29:16]POST & json_proto [11:29:16]process_json_proto [11:29:16]json parsed OK: [11:29:16]protocol is kg_v1.0 [11:29:16]action value=close_receipt [11:29:16]process_action close_receipt [11:29:16]cmd_close_receipt [11:29:16]MH_GetDate [11:29:16]Write to MH i2c: F0 00 00 2C 1F 3A [11:29:16]Write i2c OK [11:29:16]MH_I2C_Read... [11:29:16]Read from MH i2c: F0 [11:29:16]MH_I2C_Read... [11:29:16]Read from MH i2c: F0 09 00 [11:29:16]MH_I2C_Read... [11:29:16]Read from MH i2c: F0 09 00 2C 1F 00 94 CC 6E 66 8C 55 28 65 E5 [11:29:16]GetLastDocTimeStamp 1718537283 [11:29:16]current date 1718537364 [11:29:16]FM_GetShiftState [11:29:16]SAM_PROTO_GetShiftState [11:29:16]wFMCommunicate request_size=4 [11:29:16]MH_SAM_APDU [11:29:16]CAPDU: 80 13 01 00 [11:29:16]Write to MH i2c: E2 08 00 2D 1F 80 13 01 00 00 00 00 00 C9 [11:29:16]Write i2c OK [11:29:16]MH_I2C_Read... [11:29:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:29:16]Read from MH i2c: E2 [11:29:16]MH_I2C_Read... [11:29:16]Read from MH i2c: E2 0E 00 [11:29:16]MH_I2C_Read... [11:29:16]Read from MH i2c: E2 0E 00 2D 1F 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 EA [11:29:16]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [11:29:16]wFMCommunicate OK [11:29:16]SAM_PROTO_GetShiftState done [11:29:16]FM_GetShiftState done [11:29:16]opened in 1718497297 [11:29:16]opened+sec_in_day 1718583697 [11:29:16]quantity*price = 6500 [11:29:16]sum+1 = 6501 [11:29:16]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 46214638 Р/ж mentos p.white нежная мята 16/15,5г 1.000 * 49.00 = 49.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 114.00 НСП 1% : 1.00 НДС 12% : 12.10 Наличными: 0.00 Безнал.: 114.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 24 16.06.2024 11:29 Смена: 327 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000965344 ФД: 22259 ФПД: 95893017836179 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T112924&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22259&fm=95893017836179&tin=02508201610067®Number=0000000000099755&sum=11400 0 [11:29:17]StoreToDocumentArchive [11:29:17]shift 327 fd 22259 [11:29:17]save to /storage/0327/doc_00022259 [11:29:17]save last doc name /storage/0327/doc_00022259 to /storage/kkm_last_doc_name [11:29:17]save OK [11:29:17]Clear old archive folders... [11:29:17]ProcessDocumentItem done err = 0, tmpTLVsize=414 [11:29:17]tlvbuf is 002612B0 [11:29:17]SAM_PROTO_ClearQueue [11:29:17]wFMCommunicate request_size=4 [11:29:17]MH_SAM_APDU [11:29:17]CAPDU: 80 09 00 00 [11:29:17]Write to MH i2c: E2 08 00 3A 1F 80 09 00 00 00 00 00 00 CB [11:29:17]Write i2c OK [11:29:17]MH_I2C_Read... [11:29:17]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:29:17]Read from MH i2c: E2 [11:29:17]MH_I2C_Read... [11:29:17]Read from MH i2c: E2 03 00 [11:29:17]MH_I2C_Read... [11:29:17]Read from MH i2c: E2 03 00 3A 1F 00 90 00 CD [11:29:17]RAPDU: 90 00 [11:29:17]wFMCommunicate OK [11:29:17]SAM_PROTO_ClearQueue done [11:29:17]KKMCreateOFDPacket [11:29:17]OFDProtocolAddRootSTLVToBuf [11:29:17]FM_MakeSignedData [11:29:17]FM_MakeSignedData [11:29:17]SAM_PROTO_SignData [11:29:17]wFMCommunicate request_size=4 [11:29:17]MH_SAM_APDU [11:29:17]CAPDU: 80 0D 01 02 [11:29:17]Write to MH i2c: E2 08 00 3B 1F 80 0D 01 02 00 00 00 00 D3 [11:29:17]Write i2c OK [11:29:17]MH_I2C_Read... [11:29:17]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:29:17]Read from MH i2c: E2 [11:29:17]MH_I2C_Read... [11:29:17]Read from MH i2c: E2 03 00 [11:29:17]MH_I2C_Read... [11:29:17]Read from MH i2c: E2 03 00 3B 1F 00 90 00 CE [11:29:17]RAPDU: 90 00 [11:29:17]wFMCommunicate OK [11:29:17]wFMCommunicate request_size=255 [11:29:17]MH_SAM_APDU [11:29:17]CAPDU: 80 0D 02 02 FA 03 00 9E 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 35 34 34 31 06 04 35 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BB D0 B8 D0 BC D0 BE D0 BD 20 D0 9F D0 AD D0 A2 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 73 00 8A 04 08 00 34 36 32 31 34 36 33 38 06 04 34 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 70 2E 77 68 69 74 65 20 D0 BD D0 B5 D0 B6 D0 BD D0 B0 D1 8F 20 D0 BC D1 8F D1 82 D0 B0 20 31 36 2F 31 35 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 [11:29:17]Write to MH i2c: E2 02 01 3C 1F 80 0D 02 02 FA 00 03 00 9E 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 35 34 34 31 06 04 35 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BB D0 B8 D0 BC D0 BE D0 BD 20 D0 9F D0 AD D0 A2 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 73 00 8A 04 08 00 34 36 32 31 34 36 33 38 06 04 34 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 70 2E 77 68 69 74 65 20 D0 BD D0 B5 D0 B6 D0 BD D0 B0 D1 8F 20 D0 BC D1 8F D1 82 D0 B0 20 31 36 2F 31 35 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 00 00 6A [11:29:17]Write i2c OK [11:29:17]MH_I2C_Read... [11:29:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:29:17]Read from MH i2c: E2 [11:29:17]MH_I2C_Read... [11:29:17]Read from MH i2c: E2 03 00 [11:29:17]MH_I2C_Read... [11:29:17]Read from MH i2c: E2 03 00 3C 1F 00 90 00 CF [11:29:17]RAPDU: 90 00 [11:29:17]wFMCommunicate OK [11:29:17]wFMCommunicate request_size=173 [11:29:17]MH_SAM_APDU [11:29:17]CAPDU: 80 0D 02 02 A8 01 00 01 FC 03 06 00 88 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 64 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BA 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 88 2C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 94 CC 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 F3 56 00 00 35 04 06 00 57 36 D5 43 BA 93 [11:29:17]Write to MH i2c: E2 B0 00 3D 1F 80 0D 02 02 A8 00 01 00 01 FC 03 06 00 88 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 64 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BA 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 88 2C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 94 CC 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 F3 56 00 00 35 04 06 00 57 36 D5 43 BA 93 00 00 CC [11:29:17]Write i2c OK [11:29:17]MH_I2C_Read... [11:29:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:29:17]Read from MH i2c: E2 [11:29:17]MH_I2C_Read... [11:29:17]Read from MH i2c: E2 03 00 [11:29:17]MH_I2C_Read... [11:29:17]Read from MH i2c: E2 03 00 3D 1F 00 90 00 D0 [11:29:17]RAPDU: 90 00 [11:29:17]wFMCommunicate OK [11:29:17]wFMCommunicate request_size=4 [11:29:17]MH_SAM_APDU [11:29:17]CAPDU: 80 0D 03 02 [11:29:17]Write to MH i2c: E2 08 00 3E 1F 80 0D 03 02 00 00 00 00 D8 [11:29:17]Write i2c OK [11:29:17]MH_I2C_Read... [11:29:17]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:29:17]Read from MH i2c: E2 [11:29:17]MH_I2C_Read... [11:29:17]Read from MH i2c: E2 0B 00 [11:29:17]MH_I2C_Read... [11:29:17]Read from MH i2c: E2 0B 00 3E 1F 00 3F 4D 59 04 26 F3 E7 4C 90 00 0E [11:29:17]RAPDU: 3F 4D 59 04 26 F3 E7 4C 90 00 [11:29:17]wFMCommunicate OK [11:29:17]SAM_PROTO_SignData done [11:29:17]FM_MakeSignedData done [11:29:17]CreateOFDProtocolMessage [11:29:17]wFMCommunicate request_size=4 [11:29:17]MH_SAM_APDU [11:29:17]CAPDU: 80 11 00 00 [11:29:17]Write to MH i2c: E2 08 00 3F 1F 80 11 00 00 00 00 00 00 D8 [11:29:17]Write i2c OK [11:29:17]MH_I2C_Read... [11:29:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:29:18]Read from MH i2c: E2 [11:29:18]MH_I2C_Read... [11:29:18]Read from MH i2c: E2 17 00 [11:29:18]MH_I2C_Read... [11:29:18]Read from MH i2c: E2 17 00 3F 1F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 2A [11:29:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [11:29:18]wFMCommunicate OK [11:29:18]CreateOFDProtocolMessage done [11:29:18]OFDSenderStorePacket 22259 [11:29:18]StoreOFDPacket docnum=22259 [11:29:18]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 B2 01 00 00 FB 85 AA 01 83 07 5A 03 01 00 03 00 9E 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 35 34 34 31 06 04 35 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BB D0 B8 D0 BC D0 BE D0 BD 20 D0 9F D0 AD D0 A2 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 73 00 8A 04 08 00 34 36 32 31 34 36 33 38 06 04 34 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 70 2E 77 68 69 74 65 20 D0 BD D0 B5 D0 B6 D0 BD D0 B0 D1 8F 20 D0 BC D1 8F D1 82 D0 B0 20 31 36 2F 31 35 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 64 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BA 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 88 2C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 94 CC 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 F3 56 00 00 35 04 06 00 57 36 D5 43 BA 93 3F 4D 59 04 26 F3 E7 4C [11:29:18]CheckFolder [11:29:18]dirname=/storage/ofd_packets [11:29:18]CheckFolder done [11:29:18]ProducePacketName [11:29:18]name=ofd_packets/00022259 [11:29:18]NVStorageSaveData ofd_packets/00022259 [11:29:18]File name is /storage/ofd_packets/00022259 [11:29:18]Write 464 bytes [11:29:18]NVStorageSaveData done [11:29:18]OFDSenderStorePacket done [11:29:18]KKMCreateOFDPacket done [11:29:18]NVStorageSaveData kkm_last_timestamp [11:29:18]File name is /storage/kkm_last_timestamp [11:29:18]Write 4 bytes [11:29:18]NVStorageSaveData done [11:29:18]ExternCall_PrintAddStr [11:29:18]wPrintStart [11:29:18]Write to MH i2c: 01 00 00 40 1F 5F [11:29:18]Write i2c OK [11:29:18]MH_I2C_Read... [11:29:18]Read from MH i2c: 01 [11:29:18]MH_I2C_Read... [11:29:18]Read from MH i2c: 01 07 00 [11:29:18]MH_I2C_Read... [11:29:18]Read from MH i2c: 01 07 00 40 1F 00 00 00 00 00 FF 0F 74 [11:29:18]RasterBufferAndPrint [11:29:18]line Счет N : (3)254473 [11:29:18]line ИНН: 02508201610067 [11:29:18]line Контрольно-Кассовый Чек [11:29:18]line ПРОДАЖА [11:29:18]line Товар: 4870002325441 [11:29:18]line Вода ASU пит н.газ лимон ПЭТ 0,5л [11:29:18]line 1.000 * 65.00 [11:29:18]line = 65.00 [11:29:18]line НДС 12% НСП 1% [11:29:18]line > о реализуемом товаре [11:29:18]line Товар: 46214638 [11:29:18]line Р/ж mentos p.white нежная мята 16/15,5г [11:29:18]line 1.000 * 49.00 [11:29:18]line = 49.00 [11:29:18]line НДС 12% НСП 1% [11:29:18]line > о реализуемом товаре [11:29:18]line ИТОГО: 114.00 [11:29:18]line НСП 1% : 1.00 [11:29:18]line НДС 12% : 12.10 [11:29:18]line Наличными: 0.00 [11:29:18]line Безнал.: 114.00 [11:29:18]line Место: АЗС № 76 "Партнер Нефть" [11:29:18]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [11:29:18]line СНО: Общий режим [11:29:18]line Чек 24 16.06.2024 11:29 [11:29:18]line Смена: 327 ФФД: 1.0 [11:29:18]line ЗНМ: 0300000200 [11:29:18]line РНМ: 0000000000099755 [11:29:18]line Версия ККМ: 001 [11:29:18]line Платежная система: АКБ Кыргызстан [11:29:18]line ФМ: 0000000000965344 [11:29:18]line ФД: 22259 [11:29:18]line ФПД: 95893017836179 [11:29:18]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T112924&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22259&fm=95893017836179&tin=02508201610067®Number=0000000000099755&sum=11400 [11:29:18]line 0 [11:29:18]written 0, free lines is 4095 [11:29:18]OFD Sender: Processing packet 22259 [packets to send 5, broken 4] [11:29:18]ProducePacketName [11:29:18]name=ofd_packets/00022259 [11:29:18]OFD Sender: To server: pG, [11:29:18]CommunicateWithHost lk.salyk.kg:30040 [11:29:18]ConnectInit lk.salyk.kg [11:29:18]Connected sock=10 [11:29:18]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 B2 01 00 00 FB 85 AA 01 83 07 5A 03 01 00 03 00 9E 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 35 34 34 31 06 04 35 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BB D0 B8 D0 BC D0 BE D0 BD 20 D0 9F D0 AD D0 A2 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 73 00 8A 04 08 00 34 36 32 31 34 36 33 38 06 04 34 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 70 2E 77 68 69 74 65 20 D0 BD D0 B5 D0 B6 D0 BD D0 B0 D1 8F 20 D0 BC D1 8F D1 82 D0 B0 20 31 36 2F 31 35 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 64 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BA 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 88 2C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 94 CC 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 F3 56 00 00 35 04 06 00 57 36 D5 43 BA 93 3F 4D 59 04 26 F3 E7 4C [11:29:18]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 2A 73 47 00 F7 72 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 F3 56 00 00 F4 03 04 00 4E 75 6E 66 B6 04 01 00 00 E8 D4 B4 CB 7B 97 4E 10 [11:29:18]CommunicateWithHost err = 0 [11:29:18]CheckOFDResponse [11:29:18]1017 (14) - 77093643461234 [11:29:18]1041 (16) - 0000000000965344 [11:29:18]1040 (4) - 22259 [11:29:18]1012 (4) - 16.06.2024 05:17 [11:29:18]1206 (1) - 0 [11:29:18]OFD Sender: Remove packet 22259 [11:29:18]ProducePacketName [11:29:18]name=ofd_packets/00022259 [11:29:18]NVStorageDeleteData [11:29:18]Write to MH i2c: 01 00 00 72 1F 91 [11:29:18]Write i2c OK [11:29:18]MH_I2C_Read... [11:29:18]Read from MH i2c: 01 [11:29:18]MH_I2C_Read... [11:29:18]Read from MH i2c: 01 07 00 [11:29:18]MH_I2C_Read... [11:29:18]Read from MH i2c: 01 07 00 72 1F 00 00 00 00 00 A1 0C 45 [11:29:18]RasterBufferAndPrint [11:29:18]line [11:29:18]line [11:29:18]line [11:29:18]line [11:29:18]line [11:29:18]written 0, free lines is 3242 [11:29:18]MH_Cut [11:29:18]Write to MH i2c: D1 01 00 79 1F 01 6A [11:29:18]Write i2c OK [11:29:18]MH_I2C_Read... [11:29:18]Read from MH i2c: D1 [11:29:18]MH_I2C_Read... [11:29:18]Read from MH i2c: D1 01 00 [11:29:18]MH_I2C_Read... [11:29:18]Read from MH i2c: D1 01 00 79 1F 00 69 [11:29:18]Write to MH i2c: 01 00 00 7A 1F 99 [11:29:18]Write i2c OK [11:29:18]MH_I2C_Read... [11:29:19]OFD Sender: No OFD packet to send [11:29:19]*** Cut start [11:29:19]*** Partial cut [11:29:19]*** CUTSNS_PIN = 1 [11:29:19]*** CUTSNS_PIN = 0 [11:29:19]*** Brake cut motor [11:29:20]Read from MH i2c: 01 [11:29:20]MH_I2C_Read... [11:29:20]*** Stop cut motor [11:29:20]*** Cut end [11:29:20]Read from MH i2c: 01 07 00 [11:29:20]MH_I2C_Read... [11:29:20]Read from MH i2c: 01 07 00 7A 1F 00 00 00 00 00 FF 0F AE [11:29:20]process_action close_receipt done [11:29:20]requested_data is exist [11:29:20]produce_requested_data [11:29:20]requested_item fm.sn is exist - process it [11:29:20]wFMCommunicate request_size=4 [11:29:20]MH_SAM_APDU [11:29:20]CAPDU: 80 11 00 00 [11:29:20]Write to MH i2c: E2 08 00 7B 1F 80 11 00 00 00 00 00 00 14 [11:29:20]Write i2c OK [11:29:20]MH_I2C_Read... [11:29:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:29:20]Read from MH i2c: E2 [11:29:20]MH_I2C_Read... [11:29:20]Read from MH i2c: E2 17 00 [11:29:20]MH_I2C_Read... [11:29:20]Read from MH i2c: E2 17 00 7B 1F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 66 [11:29:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [11:29:20]wFMCommunicate OK [11:29:20]requested_item fd.num is exist - process it [11:29:20]SAM_PROTO_GetFieldsCounters [11:29:20]wFMCommunicate request_size=4 [11:29:20]MH_SAM_APDU [11:29:20]CAPDU: 80 13 00 00 [11:29:20]Write to MH i2c: E2 08 00 7C 1F 80 13 00 00 00 00 00 00 17 [11:29:20]Write i2c OK [11:29:20]MH_I2C_Read... [11:29:20]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:29:20]Read from MH i2c: E2 [11:29:20]MH_I2C_Read... [11:29:20]Read from MH i2c: E2 62 00 [11:29:20]MH_I2C_Read... [11:29:20]Read from MH i2c: E2 62 00 7C 1F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 F3 56 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 18 00 00 00 5E 04 04 00 18 00 00 00 57 04 04 00 19 00 00 00 19 04 04 00 00 00 00 00 90 00 1A [11:29:20]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 F3 56 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 18 00 00 00 5E 04 04 00 18 00 00 00 57 04 04 00 19 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:29:20]wFMCommunicate OK [11:29:20]SAM_PROTO_GetFieldsCounters done [11:29:20]requested_item shift.num is exist - process it [11:29:20]requested_item shift.opened is exist - process it [11:29:20]req_shift_opened [11:29:20]FM_GetShiftState [11:29:20]SAM_PROTO_GetShiftState [11:29:20]wFMCommunicate request_size=4 [11:29:20]MH_SAM_APDU [11:29:20]CAPDU: 80 13 01 00 [11:29:20]Write to MH i2c: E2 08 00 7D 1F 80 13 01 00 00 00 00 00 19 [11:29:20]Write i2c OK [11:29:20]MH_I2C_Read... [11:29:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:29:20]Read from MH i2c: E2 [11:29:20]MH_I2C_Read... [11:29:20]Read from MH i2c: E2 0E 00 [11:29:20]MH_I2C_Read... [11:29:20]Read from MH i2c: E2 0E 00 7D 1F 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 3A [11:29:20]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [11:29:20]wFMCommunicate OK [11:29:20]SAM_PROTO_GetShiftState done [11:29:20]FM_GetShiftState done [11:29:20]req_shift_opened done [11:29:20]requested_item shift.open_date is exist - process it [11:29:20]req_shift_open_date [11:29:20]req_shift_open_date done [11:29:20]produce_requested_data done [11:29:20]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22259,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297} [11:29:20]process_action_free close_receipt [11:29:20]json_value_free [11:29:20]json_value_free done [11:29:20]process_json_proto returns [11:29:20]Send response to host [11:29:20]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22259,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297}}} [11:29:20]free response buf [11:29:20]execute_script done [11:29:20]execute_script returns [11:29:20]free content buf [11:29:20]Sock 8.Close socket [11:29:20]Sock 8.Thread stoped [11:29:24]OFD Sender: No OFD packet to send [11:29:29]OFD Sender: No OFD packet to send [11:29:34]OFD Sender: No OFD packet to send [11:29:39]OFD Sender: No OFD packet to send [11:29:44]OFD Sender: No OFD packet to send [11:29:49]OFD Sender: No OFD packet to send [11:29:54]OFD Sender: No OFD packet to send [11:29:59]OFD Sender: No OFD packet to send [11:30:04]OFD Sender: No OFD packet to send [11:30:09]OFD Sender: No OFD packet to send [11:30:14]OFD Sender: No OFD packet to send [11:30:19]OFD Sender: No OFD packet to send [11:30:24]OFD Sender: No OFD packet to send [11:30:29]OFD Sender: No OFD packet to send [11:30:34]OFD Sender: No OFD packet to send [11:30:39]OFD Sender: No OFD packet to send [11:30:44]OFD Sender: No OFD packet to send [11:30:49]OFD Sender: No OFD packet to send [11:30:54]OFD Sender: No OFD packet to send [11:30:59]OFD Sender: No OFD packet to send [11:31:04]OFD Sender: No OFD packet to send [11:31:09]OFD Sender: No OFD packet to send [11:31:14]OFD Sender: No OFD packet to send [11:31:19]OFD Sender: No OFD packet to send [11:31:24]OFD Sender: No OFD packet to send [11:31:29]OFD Sender: No OFD packet to send [11:31:34]OFD Sender: No OFD packet to send [11:31:39]OFD Sender: No OFD packet to send [11:31:44]OFD Sender: No OFD packet to send [11:31:49]OFD Sender: No OFD packet to send [11:31:54]OFD Sender: No OFD packet to send [11:31:59]OFD Sender: No OFD packet to send [11:32:04]OFD Sender: No OFD packet to send [11:32:09]OFD Sender: No OFD packet to send [11:32:14]OFD Sender: No OFD packet to send [11:32:19]OFD Sender: No OFD packet to send [11:32:24]OFD Sender: No OFD packet to send [11:32:29]OFD Sender: No OFD packet to send [11:32:34]OFD Sender: No OFD packet to send [11:32:39]OFD Sender: No OFD packet to send [11:32:44]OFD Sender: No OFD packet to send [11:32:49]OFD Sender: No OFD packet to send [11:32:54]OFD Sender: No OFD packet to send [11:32:59]OFD Sender: No OFD packet to send [11:33:04]OFD Sender: No OFD packet to send [11:33:09]OFD Sender: No OFD packet to send [11:33:14]OFD Sender: No OFD packet to send [11:33:19]OFD Sender: No OFD packet to send [11:33:24]OFD Sender: No OFD packet to send [11:33:29]OFD Sender: No OFD packet to send [11:33:34]OFD Sender: No OFD packet to send [11:33:39]OFD Sender: No OFD packet to send [11:33:44]OFD Sender: No OFD packet to send [11:33:49]OFD Sender: No OFD packet to send [11:33:54]OFD Sender: No OFD packet to send [11:33:59]OFD Sender: No OFD packet to send [11:34:04]OFD Sender: No OFD packet to send [11:34:09]OFD Sender: No OFD packet to send [11:34:14]OFD Sender: No OFD packet to send [11:34:19]OFD Sender: No OFD packet to send [11:34:24]OFD Sender: No OFD packet to send [11:34:29]OFD Sender: No OFD packet to send [11:34:34]OFD Sender: No OFD packet to send [11:34:39]OFD Sender: No OFD packet to send [11:34:44]OFD Sender: No OFD packet to send [11:34:49]OFD Sender: No OFD packet to send [11:34:54]OFD Sender: No OFD packet to send [11:34:59]OFD Sender: No OFD packet to send [11:35:04]OFD Sender: No OFD packet to send [11:35:09]OFD Sender: No OFD packet to send [11:35:14]OFD Sender: No OFD packet to send [11:35:19]OFD Sender: No OFD packet to send [11:35:24]OFD Sender: No OFD packet to send [11:35:29]OFD Sender: No OFD packet to send [11:35:34]OFD Sender: No OFD packet to send [11:35:39]OFD Sender: No OFD packet to send [11:35:44]OFD Sender: No OFD packet to send [11:35:49]OFD Sender: No OFD packet to send [11:35:54]OFD Sender: No OFD packet to send [11:35:59]OFD Sender: No OFD packet to send [11:36:04]OFD Sender: No OFD packet to send [11:36:09]OFD Sender: No OFD packet to send [11:36:14]OFD Sender: No OFD packet to send [11:36:19]OFD Sender: No OFD packet to send [11:36:24]OFD Sender: No OFD packet to send [11:36:29]OFD Sender: No OFD packet to send [11:36:34]OFD Sender: No OFD packet to send [11:36:39]OFD Sender: No OFD packet to send [11:36:44]OFD Sender: No OFD packet to send [11:36:49]OFD Sender: No OFD packet to send [11:36:54]OFD Sender: No OFD packet to send [11:36:59]OFD Sender: No OFD packet to send [11:37:04]OFD Sender: No OFD packet to send [11:37:09]OFD Sender: No OFD packet to send [11:37:14]OFD Sender: No OFD packet to send [11:37:19]OFD Sender: No OFD packet to send [11:37:24]OFD Sender: No OFD packet to send [11:37:29]OFD Sender: No OFD packet to send [11:37:34]OFD Sender: No OFD packet to send [11:37:39]OFD Sender: No OFD packet to send [11:37:44]OFD Sender: No OFD packet to send [11:37:49]OFD Sender: No OFD packet to send [11:37:54]OFD Sender: No OFD packet to send [11:37:59]OFD Sender: No OFD packet to send [11:38:04]OFD Sender: No OFD packet to send [11:38:09]OFD Sender: No OFD packet to send [11:38:14]OFD Sender: No OFD packet to send [11:38:19]OFD Sender: No OFD packet to send [11:38:24]OFD Sender: No OFD packet to send [11:38:29]OFD Sender: No OFD packet to send [11:38:34]OFD Sender: No OFD packet to send [11:38:39]OFD Sender: No OFD packet to send [11:38:44]OFD Sender: No OFD packet to send [11:38:49]OFD Sender: No OFD packet to send [11:38:54]OFD Sender: No OFD packet to send [11:38:59]OFD Sender: No OFD packet to send [11:39:04]OFD Sender: No OFD packet to send [11:39:09]OFD Sender: No OFD packet to send [11:39:14]OFD Sender: No OFD packet to send [11:39:19]OFD Sender: No OFD packet to send [11:39:24]OFD Sender: No OFD packet to send [11:39:29]OFD Sender: No OFD packet to send [11:39:34]OFD Sender: No OFD packet to send [11:39:39]OFD Sender: No OFD packet to send [11:39:44]OFD Sender: No OFD packet to send [11:39:49]OFD Sender: No OFD packet to send [11:39:54]OFD Sender: No OFD packet to send [11:39:59]OFD Sender: No OFD packet to send [11:40:04]OFD Sender: No OFD packet to send [11:40:09]OFD Sender: No OFD packet to send [11:40:14]OFD Sender: No OFD packet to send [11:40:19]OFD Sender: No OFD packet to send [11:40:24]OFD Sender: No OFD packet to send [11:40:29]OFD Sender: No OFD packet to send [11:40:34]OFD Sender: No OFD packet to send [11:40:39]OFD Sender: No OFD packet to send [11:40:44]OFD Sender: No OFD packet to send [11:40:49]OFD Sender: No OFD packet to send [11:40:54]OFD Sender: No OFD packet to send [11:40:59]OFD Sender: No OFD packet to send [11:41:04]OFD Sender: No OFD packet to send [11:41:09]OFD Sender: No OFD packet to send [11:41:14]OFD Sender: No OFD packet to send [11:41:19]OFD Sender: No OFD packet to send [11:41:24]OFD Sender: No OFD packet to send [11:41:29]OFD Sender: No OFD packet to send [11:41:34]OFD Sender: No OFD packet to send [11:41:39]OFD Sender: No OFD packet to send [11:41:44]OFD Sender: No OFD packet to send [11:41:49]OFD Sender: No OFD packet to send [11:41:54]OFD Sender: No OFD packet to send [11:41:59]OFD Sender: No OFD packet to send [11:42:04]OFD Sender: No OFD packet to send [11:42:09]OFD Sender: No OFD packet to send [11:42:14]OFD Sender: No OFD packet to send [11:42:19]OFD Sender: No OFD packet to send [11:42:24]OFD Sender: No OFD packet to send [11:42:29]OFD Sender: No OFD packet to send [11:42:34]OFD Sender: No OFD packet to send [11:42:39]OFD Sender: No OFD packet to send [11:42:44]OFD Sender: No OFD packet to send [11:42:49]OFD Sender: No OFD packet to send [11:42:54]OFD Sender: No OFD packet to send [11:42:59]OFD Sender: No OFD packet to send [11:43:04]OFD Sender: No OFD packet to send [11:43:09]OFD Sender: No OFD packet to send [11:43:14]OFD Sender: No OFD packet to send [11:43:19]OFD Sender: No OFD packet to send [11:43:24]OFD Sender: No OFD packet to send [11:43:29]OFD Sender: No OFD packet to send [11:43:34]OFD Sender: No OFD packet to send [11:43:39]OFD Sender: No OFD packet to send [11:43:44]OFD Sender: No OFD packet to send [11:43:49]OFD Sender: No OFD packet to send [11:43:54]OFD Sender: No OFD packet to send [11:43:59]OFD Sender: No OFD packet to send [11:44:04]OFD Sender: No OFD packet to send [11:44:09]OFD Sender: No OFD packet to send [11:44:14]OFD Sender: No OFD packet to send [11:44:19]OFD Sender: No OFD packet to send [11:44:24]OFD Sender: No OFD packet to send [11:44:29]OFD Sender: No OFD packet to send [11:44:34]OFD Sender: No OFD packet to send [11:44:39]OFD Sender: No OFD packet to send [11:44:44]OFD Sender: No OFD packet to send [11:44:49]OFD Sender: No OFD packet to send [11:44:54]OFD Sender: No OFD packet to send [11:44:59]OFD Sender: No OFD packet to send [11:45:04]OFD Sender: No OFD packet to send [11:45:09]OFD Sender: No OFD packet to send [11:45:14]OFD Sender: No OFD packet to send [11:45:19]OFD Sender: No OFD packet to send [11:45:25]OFD Sender: No OFD packet to send [11:45:30]OFD Sender: No OFD packet to send [11:45:35]OFD Sender: No OFD packet to send [11:45:40]OFD Sender: No OFD packet to send [11:45:45]OFD Sender: No OFD packet to send [11:45:50]OFD Sender: No OFD packet to send [11:45:55]OFD Sender: No OFD packet to send [11:46:00]OFD Sender: No OFD packet to send [11:46:05]OFD Sender: No OFD packet to send [11:46:10]OFD Sender: No OFD packet to send [11:46:15]OFD Sender: No OFD packet to send [11:46:20]OFD Sender: No OFD packet to send [11:46:25]OFD Sender: No OFD packet to send [11:46:30]OFD Sender: No OFD packet to send [11:46:35]OFD Sender: No OFD packet to send [11:46:40]OFD Sender: No OFD packet to send [11:46:45]OFD Sender: No OFD packet to send [11:46:50]OFD Sender: No OFD packet to send [11:46:55]OFD Sender: No OFD packet to send [11:47:00]OFD Sender: No OFD packet to send [11:47:05]OFD Sender: No OFD packet to send [11:47:10]OFD Sender: No OFD packet to send [11:47:15]OFD Sender: No OFD packet to send [11:47:20]OFD Sender: No OFD packet to send [11:47:25]OFD Sender: No OFD packet to send [11:47:30]OFD Sender: No OFD packet to send [11:47:35]OFD Sender: No OFD packet to send [11:47:40]OFD Sender: No OFD packet to send [11:47:45]OFD Sender: No OFD packet to send [11:47:50]OFD Sender: No OFD packet to send [11:47:55]OFD Sender: No OFD packet to send [11:48:00]OFD Sender: No OFD packet to send [11:48:05]OFD Sender: No OFD packet to send [11:48:10]OFD Sender: No OFD packet to send [11:48:15]OFD Sender: No OFD packet to send [11:48:20]OFD Sender: No OFD packet to send [11:48:25]OFD Sender: No OFD packet to send [11:48:30]OFD Sender: No OFD packet to send [11:48:35]OFD Sender: No OFD packet to send [11:48:40]OFD Sender: No OFD packet to send [11:48:45]OFD Sender: No OFD packet to send [11:48:50]OFD Sender: No OFD packet to send [11:48:55]OFD Sender: No OFD packet to send [11:49:00]OFD Sender: No OFD packet to send [11:49:05]OFD Sender: No OFD packet to send [11:49:10]OFD Sender: No OFD packet to send [11:49:15]OFD Sender: No OFD packet to send [11:49:20]OFD Sender: No OFD packet to send [11:49:25]OFD Sender: No OFD packet to send [11:49:30]OFD Sender: No OFD packet to send [11:49:35]OFD Sender: No OFD packet to send [11:49:40]OFD Sender: No OFD packet to send [11:49:45]OFD Sender: No OFD packet to send [11:49:50]OFD Sender: No OFD packet to send [11:49:55]OFD Sender: No OFD packet to send [11:50:00]OFD Sender: No OFD packet to send [11:50:05]OFD Sender: No OFD packet to send [11:50:10]OFD Sender: No OFD packet to send [11:50:15]OFD Sender: No OFD packet to send [11:50:20]OFD Sender: No OFD packet to send [11:50:25]OFD Sender: No OFD packet to send [11:50:30]OFD Sender: No OFD packet to send [11:50:35]OFD Sender: No OFD packet to send [11:50:40]OFD Sender: No OFD packet to send [11:50:45]OFD Sender: No OFD packet to send [11:50:50]OFD Sender: No OFD packet to send [11:50:55]OFD Sender: No OFD packet to send [11:51:00]OFD Sender: No OFD packet to send [11:51:05]OFD Sender: No OFD packet to send [11:51:10]OFD Sender: No OFD packet to send [11:51:15]OFD Sender: No OFD packet to send [11:51:20]OFD Sender: No OFD packet to send [11:51:25]OFD Sender: No OFD packet to send [11:51:30]OFD Sender: No OFD packet to send [11:51:35]OFD Sender: No OFD packet to send [11:51:40]OFD Sender: No OFD packet to send [11:51:45]OFD Sender: No OFD packet to send [11:51:50]OFD Sender: No OFD packet to send [11:51:55]OFD Sender: No OFD packet to send [11:52:00]OFD Sender: No OFD packet to send [11:52:05]OFD Sender: No OFD packet to send [11:52:10]OFD Sender: No OFD packet to send [11:52:15]OFD Sender: No OFD packet to send [11:52:20]OFD Sender: No OFD packet to send [11:52:25]OFD Sender: No OFD packet to send [11:52:30]OFD Sender: No OFD packet to send [11:52:35]OFD Sender: No OFD packet to send [11:52:40]OFD Sender: No OFD packet to send [11:52:45]OFD Sender: No OFD packet to send [11:52:50]OFD Sender: No OFD packet to send [11:52:55]OFD Sender: No OFD packet to send [11:53:00]OFD Sender: No OFD packet to send [11:53:05]OFD Sender: No OFD packet to send [11:53:10]OFD Sender: No OFD packet to send [11:53:15]OFD Sender: No OFD packet to send [11:53:20]OFD Sender: No OFD packet to send [11:53:25]OFD Sender: No OFD packet to send [11:53:30]OFD Sender: No OFD packet to send [11:53:35]OFD Sender: No OFD packet to send [11:53:40]OFD Sender: No OFD packet to send [11:53:45]OFD Sender: No OFD packet to send [11:53:50]OFD Sender: No OFD packet to send [11:53:55]OFD Sender: No OFD packet to send [11:54:00]OFD Sender: No OFD packet to send [11:54:05]OFD Sender: No OFD packet to send [11:54:10]OFD Sender: No OFD packet to send [11:54:15]OFD Sender: No OFD packet to send [11:54:20]OFD Sender: No OFD packet to send [11:54:25]OFD Sender: No OFD packet to send [11:54:30]OFD Sender: No OFD packet to send [11:54:35]OFD Sender: No OFD packet to send [11:54:40]OFD Sender: No OFD packet to send [11:54:45]OFD Sender: No OFD packet to send [11:54:50]OFD Sender: No OFD packet to send [11:54:55]OFD Sender: No OFD packet to send [11:55:00]OFD Sender: No OFD packet to send [11:55:05]OFD Sender: No OFD packet to send [11:55:10]OFD Sender: No OFD packet to send [11:55:15]OFD Sender: No OFD packet to send [11:55:20]OFD Sender: No OFD packet to send [11:55:25]OFD Sender: No OFD packet to send [11:55:30]OFD Sender: No OFD packet to send [11:55:35]OFD Sender: No OFD packet to send [11:55:40]OFD Sender: No OFD packet to send [11:55:45]OFD Sender: No OFD packet to send [11:55:50]OFD Sender: No OFD packet to send [11:55:55]OFD Sender: No OFD packet to send [11:56:00]OFD Sender: No OFD packet to send [11:56:05]OFD Sender: No OFD packet to send [11:56:10]OFD Sender: No OFD packet to send [11:56:15]OFD Sender: No OFD packet to send [11:56:20]OFD Sender: No OFD packet to send [11:56:25]OFD Sender: No OFD packet to send [11:56:30]OFD Sender: No OFD packet to send [11:56:35]OFD Sender: No OFD packet to send [11:56:40]OFD Sender: No OFD packet to send [11:56:45]OFD Sender: No OFD packet to send [11:56:50]OFD Sender: No OFD packet to send [11:56:55]OFD Sender: No OFD packet to send [11:57:00]OFD Sender: No OFD packet to send [11:57:05]OFD Sender: No OFD packet to send [11:57:10]OFD Sender: No OFD packet to send [11:57:15]OFD Sender: No OFD packet to send [11:57:20]OFD Sender: No OFD packet to send [11:57:25]OFD Sender: No OFD packet to send [11:57:30]OFD Sender: No OFD packet to send [11:57:35]OFD Sender: No OFD packet to send [11:57:40]OFD Sender: No OFD packet to send [11:57:45]OFD Sender: No OFD packet to send [11:57:50]OFD Sender: No OFD packet to send [11:57:55]OFD Sender: No OFD packet to send [11:58:00]OFD Sender: No OFD packet to send [11:58:05]OFD Sender: No OFD packet to send [11:58:10]OFD Sender: No OFD packet to send [11:58:15]OFD Sender: No OFD packet to send [11:58:20]OFD Sender: No OFD packet to send [11:58:25]OFD Sender: No OFD packet to send [11:58:30]OFD Sender: No OFD packet to send [11:58:35]OFD Sender: No OFD packet to send [11:58:40]OFD Sender: No OFD packet to send [11:58:45]OFD Sender: No OFD packet to send [11:58:50]OFD Sender: No OFD packet to send [11:58:55]OFD Sender: No OFD packet to send [11:59:00]OFD Sender: No OFD packet to send [11:59:05]OFD Sender: No OFD packet to send [11:59:10]OFD Sender: No OFD packet to send [11:59:15]OFD Sender: No OFD packet to send [11:59:20]OFD Sender: No OFD packet to send [11:59:25]OFD Sender: No OFD packet to send [11:59:30]OFD Sender: No OFD packet to send [11:59:35]OFD Sender: No OFD packet to send [11:59:40]OFD Sender: No OFD packet to send [11:59:45]OFD Sender: No OFD packet to send [11:59:50]OFD Sender: No OFD packet to send [11:59:55]OFD Sender: No OFD packet to send [12:00:00]OFD Sender: No OFD packet to send [12:00:05]OFD Sender: No OFD packet to send [12:00:10]OFD Sender: No OFD packet to send [12:00:15]OFD Sender: No OFD packet to send [12:00:20]OFD Sender: No OFD packet to send [12:00:25]OFD Sender: No OFD packet to send [12:00:30]OFD Sender: No OFD packet to send [12:00:35]OFD Sender: No OFD packet to send [12:00:40]OFD Sender: No OFD packet to send [12:00:45]OFD Sender: No OFD packet to send [12:00:50]OFD Sender: No OFD packet to send [12:00:55]OFD Sender: No OFD packet to send [12:01:00]OFD Sender: No OFD packet to send [12:01:05]OFD Sender: No OFD packet to send [12:01:10]OFD Sender: No OFD packet to send [12:01:15]OFD Sender: No OFD packet to send [12:01:20]OFD Sender: No OFD packet to send [12:01:25]OFD Sender: No OFD packet to send [12:01:30]OFD Sender: No OFD packet to send [12:01:35]OFD Sender: No OFD packet to send [12:01:40]OFD Sender: No OFD packet to send [12:01:45]OFD Sender: No OFD packet to send [12:01:50]OFD Sender: No OFD packet to send [12:01:55]OFD Sender: No OFD packet to send [12:02:00]OFD Sender: No OFD packet to send [12:02:05]OFD Sender: No OFD packet to send [12:02:10]OFD Sender: No OFD packet to send [12:02:15]OFD Sender: No OFD packet to send [12:02:20]OFD Sender: No OFD packet to send [12:02:25]OFD Sender: No OFD packet to send [12:02:30]OFD Sender: No OFD packet to send [12:02:35]OFD Sender: No OFD packet to send [12:02:40]OFD Sender: No OFD packet to send [12:02:45]OFD Sender: No OFD packet to send [12:02:50]OFD Sender: No OFD packet to send [12:02:55]OFD Sender: No OFD packet to send [12:03:00]OFD Sender: No OFD packet to send [12:03:05]OFD Sender: No OFD packet to send [12:03:10]OFD Sender: No OFD packet to send [12:03:15]OFD Sender: No OFD packet to send [12:03:20]OFD Sender: No OFD packet to send [12:03:25]OFD Sender: No OFD packet to send [12:03:30]OFD Sender: No OFD packet to send [12:03:35]OFD Sender: No OFD packet to send [12:03:40]OFD Sender: No OFD packet to send [12:03:45]OFD Sender: No OFD packet to send [12:03:50]OFD Sender: No OFD packet to send [12:03:55]OFD Sender: No OFD packet to send [12:04:00]OFD Sender: No OFD packet to send [12:04:05]OFD Sender: No OFD packet to send [12:04:10]OFD Sender: No OFD packet to send [12:04:15]OFD Sender: No OFD packet to send [12:04:20]OFD Sender: No OFD packet to send [12:04:25]OFD Sender: No OFD packet to send [12:04:30]OFD Sender: No OFD packet to send [12:04:35]OFD Sender: No OFD packet to send [12:04:40]OFD Sender: No OFD packet to send [12:04:45]OFD Sender: No OFD packet to send [12:04:50]OFD Sender: No OFD packet to send [12:04:55]OFD Sender: No OFD packet to send [12:05:00]OFD Sender: No OFD packet to send [12:05:05]OFD Sender: No OFD packet to send [12:05:10]OFD Sender: No OFD packet to send [12:05:15]OFD Sender: No OFD packet to send [12:05:20]OFD Sender: No OFD packet to send [12:05:25]OFD Sender: No OFD packet to send [12:05:30]OFD Sender: No OFD packet to send [12:05:35]OFD Sender: No OFD packet to send [12:05:40]OFD Sender: No OFD packet to send [12:05:45]OFD Sender: No OFD packet to send [12:05:50]OFD Sender: No OFD packet to send [12:05:55]OFD Sender: No OFD packet to send [12:06:00]OFD Sender: No OFD packet to send [12:06:05]OFD Sender: No OFD packet to send [12:06:10]OFD Sender: No OFD packet to send [12:06:15]OFD Sender: No OFD packet to send [12:06:20]OFD Sender: No OFD packet to send [12:06:25]OFD Sender: No OFD packet to send [12:06:30]OFD Sender: No OFD packet to send [12:06:35]OFD Sender: No OFD packet to send [12:06:40]OFD Sender: No OFD packet to send [12:06:45]OFD Sender: No OFD packet to send [12:06:50]OFD Sender: No OFD packet to send [12:06:55]OFD Sender: No OFD packet to send [12:07:00]OFD Sender: No OFD packet to send [12:07:06]OFD Sender: No OFD packet to send [12:07:11]OFD Sender: No OFD packet to send [12:07:16]OFD Sender: No OFD packet to send [12:07:21]OFD Sender: No OFD packet to send [12:07:26]OFD Sender: No OFD packet to send [12:07:31]OFD Sender: No OFD packet to send [12:07:36]OFD Sender: No OFD packet to send [12:07:41]OFD Sender: No OFD packet to send [12:07:46]OFD Sender: No OFD packet to send [12:07:51]OFD Sender: No OFD packet to send [12:07:56]OFD Sender: No OFD packet to send [12:08:01]OFD Sender: No OFD packet to send [12:08:06]OFD Sender: No OFD packet to send [12:08:11]OFD Sender: No OFD packet to send [12:08:16]OFD Sender: No OFD packet to send [12:08:21]OFD Sender: No OFD packet to send [12:08:26]OFD Sender: No OFD packet to send [12:08:31]OFD Sender: No OFD packet to send [12:08:36]OFD Sender: No OFD packet to send [12:08:41]OFD Sender: No OFD packet to send [12:08:46]OFD Sender: No OFD packet to send [12:08:51]OFD Sender: No OFD packet to send [12:08:56]OFD Sender: No OFD packet to send [12:09:01]OFD Sender: No OFD packet to send [12:09:06]OFD Sender: No OFD packet to send [12:09:11]OFD Sender: No OFD packet to send [12:09:16]OFD Sender: No OFD packet to send [12:09:21]OFD Sender: No OFD packet to send [12:09:26]OFD Sender: No OFD packet to send [12:09:31]OFD Sender: No OFD packet to send [12:09:36]OFD Sender: No OFD packet to send [12:09:41]OFD Sender: No OFD packet to send [12:09:46]OFD Sender: No OFD packet to send [12:09:51]OFD Sender: No OFD packet to send [12:09:56]OFD Sender: No OFD packet to send [12:10:01]OFD Sender: No OFD packet to send [12:10:06]OFD Sender: No OFD packet to send [12:10:11]OFD Sender: No OFD packet to send [12:10:16]OFD Sender: No OFD packet to send [12:10:21]OFD Sender: No OFD packet to send [12:10:23]accept exits with 9 [12:10:23]New connection [12:10:23]New thread 3066838372 created [12:10:23]Thread 3066695012 joined [12:10:23]Waiting for new connection... [12:10:23] Sock 9.Parse request [12:10:23]Sock 9.Check first char [12:10:23]Sock 9.First char is OK [12:10:23]request: POST /json_proto HTTP/1.0 [12:10:23]Method: POST [12:10:23]URL: /json_proto [12:10:23]Method is POST - this is cgi request [12:10:23]url: /json_proto [12:10:23]query_string will be loaded in cgi processing [12:10:23]execute_cgi json_proto POST (null) [12:10:23]execute_cgi path=json_proto method=POST [12:10:23]POST find Content-Length [12:10:23]Host: 172.17.35.133:8080 [12:10:23]Content-Length: 629 [12:10:23]Content-Type: application/json [12:10:23] [12:10:23]POST finish read [12:10:23]Found Content-Length = 629 [12:10:23]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254474", "tax_sys" : 0, "items" : [ { "code": "4620006990387", "name": "\u0412\u043E\u0434\u043A\u0430 \u0422\u0430\u043B\u043A\u0430 0,5\u043B", "price" : 550.00, "quantity" : 1.000, "sum" : 550.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 550.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:10:23]execute_script... [12:10: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)254474", "tax_sys" : 0, "items" : [ { "code": "4620006990387", "name": "\u0412\u043E\u0434\u043A\u0430 \u0422\u0430\u043B\u043A\u0430 0,5\u043B", "price" : 550.00, "quantity" : 1.000, "sum" : 550.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 550.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:10:23]POST & json_proto [12:10:23]process_json_proto [12:10:23]json parsed OK: [12:10:23]protocol is kg_v1.0 [12:10:23]action value=close_receipt [12:10:23]process_action close_receipt [12:10:23]cmd_close_receipt [12:10:23]MH_GetDate [12:10:23]Write to MH i2c: F0 00 00 7E 1F 8C [12:10:23]Write i2c OK [12:10:23]MH_I2C_Read... [12:10:23]Read from MH i2c: F0 [12:10:23]MH_I2C_Read... [12:10:23]Read from MH i2c: F0 09 00 [12:10:23]MH_I2C_Read... [12:10:23]Read from MH i2c: F0 09 00 7E 1F 00 37 D6 6E 66 8C 55 28 65 E4 [12:10:23]GetLastDocTimeStamp 1718537364 [12:10:23]current date 1718539831 [12:10:23]FM_GetShiftState [12:10:23]SAM_PROTO_GetShiftState [12:10:23]wFMCommunicate request_size=4 [12:10:23]MH_SAM_APDU [12:10:23]CAPDU: 80 13 01 00 [12:10:23]Write to MH i2c: E2 08 00 7F 1F 80 13 01 00 00 00 00 00 1B [12:10:23]Write i2c OK [12:10:23]MH_I2C_Read... [12:10:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:10:23]Read from MH i2c: E2 [12:10:23]MH_I2C_Read... [12:10:23]Read from MH i2c: E2 0E 00 [12:10:23]MH_I2C_Read... [12:10:23]Read from MH i2c: E2 0E 00 7F 1F 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 3C [12:10:23]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [12:10:23]wFMCommunicate OK [12:10:23]SAM_PROTO_GetShiftState done [12:10:23]FM_GetShiftState done [12:10:23]opened in 1718497297 [12:10:23]opened+sec_in_day 1718583697 [12:10:23]quantity*price = 55000 [12:10:23]sum+1 = 55001 [12:10:23]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 550.00 НСП 1% : 4.87 НДС 12% : 58.41 Наличными: 550.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 25 16.06.2024 12:10 Смена: 327 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22260 ФПД: 137150054312226 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T121031&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22260&fm=137150054312226&tin=02508201610067®Number=0000000000099755&sum=55000 0 [12:10:24]StoreToDocumentArchive [12:10:24]shift 327 fd 22260 [12:10:24]save to /storage/0327/doc_00022260 [12:10:24]save last doc name /storage/0327/doc_00022260 to /storage/kkm_last_doc_name [12:10:24]save OK [12:10:24]Clear old archive folders... [12:10:24]ProcessDocumentItem done err = 0, tmpTLVsize=269 [12:10:24]tlvbuf is 0021AA80 [12:10:24]SAM_PROTO_ClearQueue [12:10:24]wFMCommunicate request_size=4 [12:10:24]MH_SAM_APDU [12:10:24]CAPDU: 80 09 00 00 [12:10:24]Write to MH i2c: E2 08 00 8C 1F 80 09 00 00 00 00 00 00 1D [12:10:24]Write i2c OK [12:10:24]MH_I2C_Read... [12:10:24]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:10:24]Read from MH i2c: E2 [12:10:24]MH_I2C_Read... [12:10:24]Read from MH i2c: E2 03 00 [12:10:24]MH_I2C_Read... [12:10:24]Read from MH i2c: E2 03 00 8C 1F 00 90 00 1F [12:10:24]RAPDU: 90 00 [12:10:24]wFMCommunicate OK [12:10:24]SAM_PROTO_ClearQueue done [12:10:24]KKMCreateOFDPacket [12:10:24]OFDProtocolAddRootSTLVToBuf [12:10:24]FM_MakeSignedData [12:10:24]FM_MakeSignedData [12:10:24]SAM_PROTO_SignData [12:10:24]wFMCommunicate request_size=4 [12:10:24]MH_SAM_APDU [12:10:24]CAPDU: 80 0D 01 02 [12:10:24]Write to MH i2c: E2 08 00 8D 1F 80 0D 01 02 00 00 00 00 25 [12:10:24]Write i2c OK [12:10:24]MH_I2C_Read... [12:10:24]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:10:24]Read from MH i2c: E2 [12:10:24]MH_I2C_Read... [12:10:24]Read from MH i2c: E2 03 00 [12:10:24]MH_I2C_Read... [12:10:24]Read from MH i2c: E2 03 00 8D 1F 00 90 00 20 [12:10:24]RAPDU: 90 00 [12:10:24]wFMCommunicate OK [12:10:24]wFMCommunicate request_size=255 [12:10:24]MH_SAM_APDU [12:10:24]CAPDU: 80 0D 02 02 FA 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 36 32 30 30 30 36 39 39 30 33 38 37 06 04 1B 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A2 D0 B0 D0 BB D0 BA D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D8 D6 00 00 00 00 13 04 06 00 D8 D6 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D8 D6 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E7 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D1 16 00 00 00 00 07 04 06 00 D8 D6 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 37 D6 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 [12:10:24]Write to MH i2c: E2 02 01 8E 1F 80 0D 02 02 FA 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 36 32 30 30 30 36 39 39 30 33 38 37 06 04 1B 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A2 D0 B0 D0 BB D0 BA D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D8 D6 00 00 00 00 13 04 06 00 D8 D6 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D8 D6 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E7 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D1 16 00 00 00 00 07 04 06 00 D8 D6 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 37 D6 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 00 00 5F [12:10:24]Write i2c OK [12:10:24]MH_I2C_Read... [12:10:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:10:24]Read from MH i2c: E2 [12:10:24]MH_I2C_Read... [12:10:24]Read from MH i2c: E2 03 00 [12:10:24]MH_I2C_Read... [12:10:24]Read from MH i2c: E2 03 00 8E 1F 00 90 00 21 [12:10:24]RAPDU: 90 00 [12:10:24]wFMCommunicate OK [12:10:24]wFMCommunicate request_size=28 [12:10:24]MH_SAM_APDU [12:10:24]CAPDU: 80 0D 02 02 17 36 35 33 34 34 10 04 04 00 F4 56 00 00 35 04 06 00 7C BC BC 44 A9 22 [12:10:24]Write to MH i2c: E2 1F 00 8F 1F 80 0D 02 02 17 00 36 35 33 34 34 10 04 04 00 F4 56 00 00 35 04 06 00 7C BC BC 44 A9 22 00 00 00 [12:10:24]Write i2c OK [12:10:24]MH_I2C_Read... [12:10:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:10:24]Read from MH i2c: E2 [12:10:24]MH_I2C_Read... [12:10:24]Read from MH i2c: E2 03 00 [12:10:24]MH_I2C_Read... [12:10:24]Read from MH i2c: E2 03 00 8F 1F 00 90 00 22 [12:10:24]RAPDU: 90 00 [12:10:24]wFMCommunicate OK [12:10:24]wFMCommunicate request_size=4 [12:10:24]MH_SAM_APDU [12:10:24]CAPDU: 80 0D 03 02 [12:10:24]Write to MH i2c: E2 08 00 90 1F 80 0D 03 02 00 00 00 00 2A [12:10:24]Write i2c OK [12:10:24]MH_I2C_Read... [12:10:24]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:10:24]Read from MH i2c: E2 [12:10:24]MH_I2C_Read... [12:10:24]Read from MH i2c: E2 0B 00 [12:10:24]MH_I2C_Read... [12:10:24]Read from MH i2c: E2 0B 00 90 1F 00 90 6F 93 1F D5 4B A0 4A 90 00 E6 [12:10:24]RAPDU: 90 6F 93 1F D5 4B A0 4A 90 00 [12:10:24]wFMCommunicate OK [12:10:24]SAM_PROTO_SignData done [12:10:24]FM_MakeSignedData done [12:10:24]CreateOFDProtocolMessage [12:10:24]wFMCommunicate request_size=4 [12:10:24]MH_SAM_APDU [12:10:24]CAPDU: 80 11 00 00 [12:10:24]Write to MH i2c: E2 08 00 91 1F 80 11 00 00 00 00 00 00 2A [12:10:24]Write i2c OK [12:10:24]MH_I2C_Read... [12:10:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:10:24]Read from MH i2c: E2 [12:10:24]MH_I2C_Read... [12:10:24]Read from MH i2c: E2 17 00 [12:10:24]MH_I2C_Read... [12:10:24]Read from MH i2c: E2 17 00 91 1F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 7C [12:10:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [12:10:24]wFMCommunicate OK [12:10:24]CreateOFDProtocolMessage done [12:10:24]OFDSenderStorePacket 22260 [12:10:24]StoreOFDPacket docnum=22260 [12:10:24]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 21 01 00 00 6E 52 19 01 43 C5 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 36 32 30 30 30 36 39 39 30 33 38 37 06 04 1B 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A2 D0 B0 D0 BB D0 BA D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D8 D6 00 00 00 00 13 04 06 00 D8 D6 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D8 D6 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E7 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D1 16 00 00 00 00 07 04 06 00 D8 D6 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 37 D6 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 F4 56 00 00 35 04 06 00 7C BC BC 44 A9 22 90 6F 93 1F D5 4B A0 4A [12:10:24]CheckFolder [12:10:24]dirname=/storage/ofd_packets [12:10:24]CheckFolder done [12:10:24]ProducePacketName [12:10:24]name=ofd_packets/00022260 [12:10:24]NVStorageSaveData ofd_packets/00022260 [12:10:24]File name is /storage/ofd_packets/00022260 [12:10:24]Write 319 bytes [12:10:24]NVStorageSaveData done [12:10:24]OFDSenderStorePacket done [12:10:24]KKMCreateOFDPacket done [12:10:24]NVStorageSaveData kkm_last_timestamp [12:10:24]File name is /storage/kkm_last_timestamp [12:10:24]Write 4 bytes [12:10:24]NVStorageSaveData done [12:10:24]ExternCall_PrintAddStr [12:10:24]wPrintStart [12:10:24]Write to MH i2c: 01 00 00 92 1F B1 [12:10:24]Write i2c OK [12:10:24]MH_I2C_Read... [12:10:24]Read from MH i2c: 01 [12:10:24]MH_I2C_Read... [12:10:24]Read from MH i2c: 01 07 00 [12:10:24]MH_I2C_Read... [12:10:24]Read from MH i2c: 01 07 00 92 1F 00 00 00 00 00 FF 0F C6 [12:10:24]RasterBufferAndPrint [12:10:24]line Счет N : (3)254474 [12:10:24]line ИНН: 02508201610067 [12:10:24]line Контрольно-Кассовый Чек [12:10:24]line ПРОДАЖА [12:10:24]line Товар: 4620006990387 [12:10:24]line Водка Талка 0,5л [12:10:24]line 1.000 * 550.00 [12:10:24]line = 550.00 [12:10:24]line НДС 12% НСП 1% [12:10:24]line > о реализуемом товаре [12:10:24]line ИТОГО: 550.00 [12:10:24]line НСП 1% : 4.87 [12:10:24]line НДС 12% : 58.41 [12:10:24]line Наличными: 550.00 [12:10:24]line Безнал.: 0.00 [12:10:24]line Место: АЗС № 76 "Партнер Нефть" [12:10:24]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [12:10:24]line СНО: Общий режим [12:10:24]line Чек 25 16.06.2024 12:10 [12:10:24]line Смена: 327 ФФД: 1.0 [12:10:24]line ЗНМ: 0300000200 [12:10:24]line РНМ: 0000000000099755 [12:10:24]line Версия ККМ: 001 [12:10:24]line ФМ: 0000000000965344 [12:10:24]line ФД: 22260 [12:10:24]line ФПД: 137150054312226 [12:10:25]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T121031&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22260&fm=137150054312226&tin=02508201610067®Number=0000000000099755&sum=55000 [12:10:25]line 0 [12:10:25]OFD Sender: Processing packet 22260 [packets to send 5, broken 4] [12:10:25]ProducePacketName [12:10:25]name=ofd_packets/00022260 [12:10:25]OFD Sender: To server: pG, [12:10:25]CommunicateWithHost lk.salyk.kg:30040 [12:10:25]ConnectInit lk.salyk.kg [12:10:25]written 0, free lines is 4095 [12:10:25]Write to MH i2c: 01 00 00 BA 1F D9 [12:10:25]Write i2c OK [12:10:25]MH_I2C_Read... [12:10:25]Read from MH i2c: 01 [12:10:25]MH_I2C_Read... [12:10:25]Read from MH i2c: 01 07 00 [12:10:25]MH_I2C_Read... [12:10:25]Read from MH i2c: 01 07 00 BA 1F 00 00 00 00 00 19 0D 06 [12:10:25]RasterBufferAndPrint [12:10:25]line [12:10:25]line [12:10:25]line [12:10:25]line [12:10:25]line [12:10:25]written 0, free lines is 3356 [12:10:25]MH_Cut [12:10:25]Write to MH i2c: D1 01 00 C1 1F 01 B2 [12:10:25]Write i2c OK [12:10:25]MH_I2C_Read... [12:10:25]Read from MH i2c: D1 [12:10:25]MH_I2C_Read... [12:10:25]Read from MH i2c: D1 01 00 [12:10:25]MH_I2C_Read... [12:10:25]Read from MH i2c: D1 01 00 C1 1F 00 B1 [12:10:25]Write to MH i2c: 01 00 00 C2 1F E1 [12:10:25]Write i2c OK [12:10:25]MH_I2C_Read... [12:10:26]*** Cut start [12:10:26]*** Partial cut [12:10:26]*** CUTSNS_PIN = 1 [12:10:26]*** CUTSNS_PIN = 0 [12:10:26]*** Brake cut motor [12:10:26]Read from MH i2c: 01 [12:10:26]MH_I2C_Read... [12:10:26]*** Stop cut motor [12:10:26]*** Cut end [12:10:26]Read from MH i2c: 01 07 00 [12:10:26]MH_I2C_Read... [12:10:26]Read from MH i2c: 01 07 00 C2 1F 00 00 00 00 00 FF 0F F6 [12:10:26]process_action close_receipt done [12:10:26]requested_data is exist [12:10:26]produce_requested_data [12:10:26]requested_item fm.sn is exist - process it [12:10:26]wFMCommunicate request_size=4 [12:10:26]MH_SAM_APDU [12:10:26]CAPDU: 80 11 00 00 [12:10:26]Write to MH i2c: E2 08 00 C3 1F 80 11 00 00 00 00 00 00 5C [12:10:26]Write i2c OK [12:10:26]MH_I2C_Read... [12:10:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:10:26]Read from MH i2c: E2 [12:10:26]MH_I2C_Read... [12:10:26]Read from MH i2c: E2 17 00 [12:10:26]MH_I2C_Read... [12:10:26]Read from MH i2c: E2 17 00 C3 1F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 AE [12:10:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [12:10:26]wFMCommunicate OK [12:10:26]requested_item fd.num is exist - process it [12:10:26]SAM_PROTO_GetFieldsCounters [12:10:26]wFMCommunicate request_size=4 [12:10:26]MH_SAM_APDU [12:10:26]CAPDU: 80 13 00 00 [12:10:26]Write to MH i2c: E2 08 00 C4 1F 80 13 00 00 00 00 00 00 5F [12:10:26]Write i2c OK [12:10:26]MH_I2C_Read... [12:10:27]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:10:27]Read from MH i2c: E2 [12:10:27]MH_I2C_Read... [12:10:27]Read from MH i2c: E2 62 00 [12:10:27]MH_I2C_Read... [12:10:27]Read from MH i2c: E2 62 00 C4 1F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 F4 56 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 19 00 00 00 5E 04 04 00 19 00 00 00 57 04 04 00 1A 00 00 00 19 04 04 00 00 00 00 00 90 00 66 [12:10:27]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 F4 56 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 19 00 00 00 5E 04 04 00 19 00 00 00 57 04 04 00 1A 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:10:27]wFMCommunicate OK [12:10:27]SAM_PROTO_GetFieldsCounters done [12:10:27]requested_item shift.num is exist - process it [12:10:27]requested_item shift.opened is exist - process it [12:10:27]req_shift_opened [12:10:27]FM_GetShiftState [12:10:27]SAM_PROTO_GetShiftState [12:10:27]wFMCommunicate request_size=4 [12:10:27]MH_SAM_APDU [12:10:27]CAPDU: 80 13 01 00 [12:10:27]Write to MH i2c: E2 08 00 C5 1F 80 13 01 00 00 00 00 00 61 [12:10:27]Write i2c OK [12:10:27]MH_I2C_Read... [12:10:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:10:27]Read from MH i2c: E2 [12:10:27]MH_I2C_Read... [12:10:27]Read from MH i2c: E2 0E 00 [12:10:27]MH_I2C_Read... [12:10:27]Read from MH i2c: E2 0E 00 C5 1F 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 82 [12:10:27]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [12:10:27]wFMCommunicate OK [12:10:27]SAM_PROTO_GetShiftState done [12:10:27]FM_GetShiftState done [12:10:27]req_shift_opened done [12:10:27]requested_item shift.open_date is exist - process it [12:10:27]req_shift_open_date [12:10:27]req_shift_open_date done [12:10:27]produce_requested_data done [12:10:27]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22260,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297} [12:10:27]process_action_free close_receipt [12:10:27]json_value_free [12:10:27]json_value_free done [12:10:27]process_json_proto returns [12:10:27]Send response to host [12:10:27]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22260,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297}}} [12:10:27]free response buf [12:10:27]execute_script done [12:10:27]execute_script returns [12:10:27]free content buf [12:10:27]Sock 9.Close socket [12:10:27]Sock 9.Thread stoped [12:10:54]accept exits with 8 [12:10:54]New connection [12:10:54]New thread 3066695012 created [12:10:54]Thread 3066838372 joined [12:10:54]Waiting for new connection... [12:10:54] Sock 8.Parse request [12:10:54]Sock 8.Check first char [12:10:54]Sock 8.First char is OK [12:10:54]request: POST /json_proto HTTP/1.0 [12:10:54]Method: POST [12:10:54]URL: /json_proto [12:10:54]Method is POST - this is cgi request [12:10:54]url: /json_proto [12:10:54]query_string will be loaded in cgi processing [12:10:54]execute_cgi json_proto POST (null) [12:10:54]execute_cgi path=json_proto method=POST [12:10:54]POST find Content-Length [12:10:54]Host: 172.17.35.133:8080 [12:10:54]Content-Length: 694 [12:10:54]Content-Type: application/json [12:10:54] [12:10:54]POST finish read [12:10:54]Found Content-Length = 694 [12:10:54]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254475", "tax_sys" : 0, "items" : [ { "code": "4870001571535", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043F\u0435\u0440\u0441\u0438\u043A \u041F\u042D\u0422 0,5\u043B", "price" : 65.00, "quantity" : 1.000, "sum" : 65.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 65.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:10:54]execute_script... [12:10:54]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254475", "tax_sys" : 0, "items" : [ { "code": "4870001571535", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043F\u0435\u0440\u0441\u0438\u043A \u041F\u042D\u0422 0,5\u043B", "price" : 65.00, "quantity" : 1.000, "sum" : 65.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 65.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:10:54]POST & json_proto [12:10:54]process_json_proto [12:10:54]json parsed OK: [12:10:54]protocol is kg_v1.0 [12:10:54]action value=close_receipt [12:10:54]process_action close_receipt [12:10:54]cmd_close_receipt [12:10:54]MH_GetDate [12:10:54]Write to MH i2c: F0 00 00 C6 1F D4 [12:10:54]Write i2c OK [12:10:54]MH_I2C_Read... [12:10:54]Read from MH i2c: F0 [12:10:54]MH_I2C_Read... [12:10:54]Read from MH i2c: F0 09 00 [12:10:54]MH_I2C_Read... [12:10:54]Read from MH i2c: F0 09 00 C6 1F 00 57 D6 6E 66 8C 55 28 65 4C [12:10:54]GetLastDocTimeStamp 1718539831 [12:10:54]current date 1718539863 [12:10:54]FM_GetShiftState [12:10:54]SAM_PROTO_GetShiftState [12:10:54]wFMCommunicate request_size=4 [12:10:54]MH_SAM_APDU [12:10:54]CAPDU: 80 13 01 00 [12:10:54]Write to MH i2c: E2 08 00 C7 1F 80 13 01 00 00 00 00 00 63 [12:10:54]Write i2c OK [12:10:54]MH_I2C_Read... [12:10:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:10:55]Read from MH i2c: E2 [12:10:55]MH_I2C_Read... [12:10:55]Read from MH i2c: E2 0E 00 [12:10:55]MH_I2C_Read... [12:10:55]Read from MH i2c: E2 0E 00 C7 1F 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 84 [12:10:55]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [12:10:55]wFMCommunicate OK [12:10:55]SAM_PROTO_GetShiftState done [12:10:55]FM_GetShiftState done [12:10:55]opened in 1718497297 [12:10:55]opened+sec_in_day 1718583697 [12:10:55]quantity*price = 6500 [12:10:55]sum+1 = 6501 [12:10:55]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 65.00 НСП 1% : 0.57 НДС 12% : 6.90 Наличными: 65.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 26 16.06.2024 12:11 Смена: 327 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22261 ФПД: 221666584938593 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T121103&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22261&fm=221666584938593&tin=02508201610067®Number=0000000000099755&sum=6500 0 [12:10:56]StoreToDocumentArchive [12:10:56]shift 327 fd 22261 [12:10:56]save to /storage/0327/doc_00022261 [12:10:56]save last doc name /storage/0327/doc_00022261 to /storage/kkm_last_doc_name [12:10:56]save OK [12:10:56]Clear old archive folders... [12:10:56]ProcessDocumentItem done err = 0, tmpTLVsize=297 [12:10:56]tlvbuf is 001F5B90 [12:10:56]SAM_PROTO_ClearQueue [12:10:56]wFMCommunicate request_size=4 [12:10:56]MH_SAM_APDU [12:10:56]CAPDU: 80 09 00 00 [12:10:56]Write to MH i2c: E2 08 00 D4 1F 80 09 00 00 00 00 00 00 65 [12:10:56]Write i2c OK [12:10:56]MH_I2C_Read... [12:10:56]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:10:56]Read from MH i2c: E2 [12:10:56]MH_I2C_Read... [12:10:56]Read from MH i2c: E2 03 00 [12:10:56]MH_I2C_Read... [12:10:56]Read from MH i2c: E2 03 00 D4 1F 00 90 00 67 [12:10:56]RAPDU: 90 00 [12:10:56]wFMCommunicate OK [12:10:56]SAM_PROTO_ClearQueue done [12:10:56]KKMCreateOFDPacket [12:10:56]OFDProtocolAddRootSTLVToBuf [12:10:56]FM_MakeSignedData [12:10:56]FM_MakeSignedData [12:10:56]SAM_PROTO_SignData [12:10:56]wFMCommunicate request_size=4 [12:10:56]MH_SAM_APDU [12:10:56]CAPDU: 80 0D 01 02 [12:10:56]Write to MH i2c: E2 08 00 D5 1F 80 0D 01 02 00 00 00 00 6D [12:10:56]Write i2c OK [12:10:56]MH_I2C_Read... [12:10:56]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:10:56]Read from MH i2c: E2 [12:10:56]MH_I2C_Read... [12:10:56]Read from MH i2c: E2 03 00 [12:10:56]MH_I2C_Read... [12:10:56]Read from MH i2c: E2 03 00 D5 1F 00 90 00 68 [12:10:56]RAPDU: 90 00 [12:10:56]wFMCommunicate OK [12:10:56]wFMCommunicate request_size=255 [12:10:56]MH_SAM_APDU [12:10:56]CAPDU: 80 0D 02 02 FA 03 00 29 01 1E 04 01 00 01 23 04 7B 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 35 33 35 06 04 37 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 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 FC 03 06 00 64 19 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 39 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 02 00 00 00 00 07 04 06 00 64 19 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 57 D6 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 [12:10:56]Write to MH i2c: E2 02 01 D6 1F 80 0D 02 02 FA 00 03 00 29 01 1E 04 01 00 01 23 04 7B 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 35 33 35 06 04 37 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 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 FC 03 06 00 64 19 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 39 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 02 00 00 00 00 07 04 06 00 64 19 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 57 D6 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 00 00 CB [12:10:56]Write i2c OK [12:10:56]MH_I2C_Read... [12:10:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:10:56]Read from MH i2c: E2 [12:10:56]MH_I2C_Read... [12:10:56]Read from MH i2c: E2 03 00 [12:10:56]MH_I2C_Read... [12:10:56]Read from MH i2c: E2 03 00 D6 1F 00 90 00 69 [12:10:56]RAPDU: 90 00 [12:10:56]wFMCommunicate OK [12:10:56]wFMCommunicate request_size=56 [12:10:56]MH_SAM_APDU [12:10:56]CAPDU: 80 0D 02 02 33 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 F5 56 00 00 35 04 06 00 C9 9A C6 0D C8 61 [12:10:56]Write to MH i2c: E2 3B 00 D7 1F 80 0D 02 02 33 00 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 F5 56 00 00 35 04 06 00 C9 9A C6 0D C8 61 00 00 AE [12:10:56]Write i2c OK [12:10:56]MH_I2C_Read... [12:10:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:10:56]Read from MH i2c: E2 [12:10:56]MH_I2C_Read... [12:10:56]Read from MH i2c: E2 03 00 [12:10:56]MH_I2C_Read... [12:10:56]Read from MH i2c: E2 03 00 D7 1F 00 90 00 6A [12:10:56]RAPDU: 90 00 [12:10:56]wFMCommunicate OK [12:10:56]wFMCommunicate request_size=4 [12:10:56]MH_SAM_APDU [12:10:56]CAPDU: 80 0D 03 02 [12:10:56]Write to MH i2c: E2 08 00 D8 1F 80 0D 03 02 00 00 00 00 72 [12:10:56]Write i2c OK [12:10:56]MH_I2C_Read... [12:10:56]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:10:56]Read from MH i2c: E2 [12:10:56]MH_I2C_Read... [12:10:56]Read from MH i2c: E2 0B 00 [12:10:56]MH_I2C_Read... [12:10:56]Read from MH i2c: E2 0B 00 D8 1F 00 A2 20 1A C1 BF 97 1D F3 90 00 76 [12:10:56]RAPDU: A2 20 1A C1 BF 97 1D F3 90 00 [12:10:56]wFMCommunicate OK [12:10:56]SAM_PROTO_SignData done [12:10:56]FM_MakeSignedData done [12:10:56]CreateOFDProtocolMessage [12:10:56]wFMCommunicate request_size=4 [12:10:56]MH_SAM_APDU [12:10:56]CAPDU: 80 11 00 00 [12:10:56]Write to MH i2c: E2 08 00 D9 1F 80 11 00 00 00 00 00 00 72 [12:10:56]Write i2c OK [12:10:56]MH_I2C_Read... [12:10:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:10:56]Read from MH i2c: E2 [12:10:56]MH_I2C_Read... [12:10:56]Read from MH i2c: E2 17 00 [12:10:56]MH_I2C_Read... [12:10:56]Read from MH i2c: E2 17 00 D9 1F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 C4 [12:10:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [12:10:56]wFMCommunicate OK [12:10:56]CreateOFDProtocolMessage done [12:10:56]OFDSenderStorePacket 22261 [12:10:56]StoreOFDPacket docnum=22261 [12:10:56]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 3D 01 00 00 89 00 35 01 F1 6A 5A 03 01 00 03 00 29 01 1E 04 01 00 01 23 04 7B 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 35 33 35 06 04 37 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 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 FC 03 06 00 64 19 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 39 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 02 00 00 00 00 07 04 06 00 64 19 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 57 D6 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 F5 56 00 00 35 04 06 00 C9 9A C6 0D C8 61 A2 20 1A C1 BF 97 1D F3 [12:10:56]CheckFolder [12:10:56]dirname=/storage/ofd_packets [12:10:56]CheckFolder done [12:10:56]ProducePacketName [12:10:56]name=ofd_packets/00022261 [12:10:56]NVStorageSaveData ofd_packets/00022261 [12:10:56]File name is /storage/ofd_packets/00022261 [12:10:56]Write 347 bytes [12:10:56]NVStorageSaveData done [12:10:56]OFDSenderStorePacket done [12:10:56]KKMCreateOFDPacket done [12:10:56]NVStorageSaveData kkm_last_timestamp [12:10:56]File name is /storage/kkm_last_timestamp [12:10:56]Write 4 bytes [12:10:56]NVStorageSaveData done [12:10:56]ExternCall_PrintAddStr [12:10:56]wPrintStart [12:10:56]Write to MH i2c: 01 00 00 DA 1F F9 [12:10:56]Write i2c OK [12:10:56]MH_I2C_Read... [12:10:56]Read from MH i2c: 01 [12:10:56]MH_I2C_Read... [12:10:56]Read from MH i2c: 01 07 00 [12:10:56]MH_I2C_Read... [12:10:56]Read from MH i2c: 01 07 00 DA 1F 00 00 00 00 00 FF 0F 0E [12:10:56]RasterBufferAndPrint [12:10:56]line Счет N : (3)254475 [12:10:56]line ИНН: 02508201610067 [12:10:56]line Контрольно-Кассовый Чек [12:10:56]line ПРОДАЖА [12:10:56]line Товар: 4870001571535 [12:10:56]line Вода ASU пит н.газ персик ПЭТ 0,5л [12:10:56]line 1.000 * 65.00 [12:10:56]line = 65.00 [12:10:56]line НДС 12% НСП 1% [12:10:56]line > о реализуемом товаре [12:10:56]line ИТОГО: 65.00 [12:10:56]line НСП 1% : 0.57 [12:10:56]line НДС 12% : 6.90 [12:10:56]line Наличными: 65.00 [12:10:56]line Безнал.: 0.00 [12:10:56]line Место: АЗС № 76 "Партнер Нефть" [12:10:56]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [12:10:56]line СНО: Общий режим [12:10:56]line Чек 26 16.06.2024 12:11 [12:10:56]line Смена: 327 ФФД: 1.0 [12:10:56]line ЗНМ: 0300000200 [12:10:57]line РНМ: 0000000000099755 [12:10:57]line Версия ККМ: 001 [12:10:57]line ФМ: 0000000000965344 [12:10:57]line ФД: 22261 [12:10:57]line ФПД: 221666584938593 [12:10:57]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T121103&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22261&fm=221666584938593&tin=02508201610067®Number=0000000000099755&sum=6500 [12:10:57]line 0 [12:10:57]written 0, free lines is 4095 [12:10:57]Write to MH i2c: 01 00 00 03 20 23 [12:10:57]Write i2c OK [12:10:57]MH_I2C_Read... [12:10:57]Read from MH i2c: 01 [12:10:57]MH_I2C_Read... [12:10:57]Read from MH i2c: 01 07 00 [12:10:57]MH_I2C_Read... [12:10:57]Read from MH i2c: 01 07 00 03 20 00 00 00 00 00 08 0D 3F [12:10:57]RasterBufferAndPrint [12:10:57]line [12:10:57]line [12:10:57]line [12:10:57]line [12:10:57]line [12:10:57]written 0, free lines is 3342 [12:10:57]MH_Cut [12:10:57]Write to MH i2c: D1 01 00 0A 20 01 FC [12:10:57]Write i2c OK [12:10:57]MH_I2C_Read... [12:10:57]Read from MH i2c: D1 [12:10:57]MH_I2C_Read... [12:10:57]Read from MH i2c: D1 01 00 [12:10:57]MH_I2C_Read... [12:10:57]Read from MH i2c: D1 01 00 0A 20 00 FB [12:10:57]Write to MH i2c: 01 00 00 0B 20 2B [12:10:57]Write i2c OK [12:10:57]MH_I2C_Read... [12:10:58]*** Cut start [12:10:58]*** Partial cut [12:10:58]*** CUTSNS_PIN = 1 [12:10:58]*** CUTSNS_PIN = 0 [12:10:58]*** Brake cut motor [12:10:58]Read from MH i2c: 01 [12:10:58]MH_I2C_Read... [12:10:58]*** Stop cut motor [12:10:58]*** Cut end [12:10:58]Read from MH i2c: 01 07 00 [12:10:58]MH_I2C_Read... [12:10:58]Read from MH i2c: 01 07 00 0B 20 00 00 00 00 00 FF 0F 40 [12:10:58]process_action close_receipt done [12:10:58]requested_data is exist [12:10:58]produce_requested_data [12:10:58]requested_item fm.sn is exist - process it [12:10:58]wFMCommunicate request_size=4 [12:10:58]MH_SAM_APDU [12:10:58]CAPDU: 80 11 00 00 [12:10:58]Write to MH i2c: E2 08 00 0C 20 80 11 00 00 00 00 00 00 A6 [12:10:58]Write i2c OK [12:10:58]MH_I2C_Read... [12:10:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:10:58]Read from MH i2c: E2 [12:10:58]MH_I2C_Read... [12:10:58]Read from MH i2c: E2 17 00 [12:10:58]MH_I2C_Read... [12:10:58]Read from MH i2c: E2 17 00 0C 20 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 F8 [12:10:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [12:10:58]wFMCommunicate OK [12:10:58]requested_item fd.num is exist - process it [12:10:58]SAM_PROTO_GetFieldsCounters [12:10:58]wFMCommunicate request_size=4 [12:10:58]MH_SAM_APDU [12:10:58]CAPDU: 80 13 00 00 [12:10:58]Write to MH i2c: E2 08 00 0D 20 80 13 00 00 00 00 00 00 A9 [12:10:58]Write i2c OK [12:10:58]MH_I2C_Read... [12:10:58]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:10:58]Read from MH i2c: E2 [12:10:58]MH_I2C_Read... [12:10:58]Read from MH i2c: E2 62 00 [12:10:58]MH_I2C_Read... [12:10:58]Read from MH i2c: E2 62 00 0D 20 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 F5 56 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 1A 00 00 00 5E 04 04 00 1A 00 00 00 57 04 04 00 1B 00 00 00 19 04 04 00 00 00 00 00 90 00 B4 [12:10:58]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 F5 56 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 1A 00 00 00 5E 04 04 00 1A 00 00 00 57 04 04 00 1B 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:10:58]wFMCommunicate OK [12:10:58]SAM_PROTO_GetFieldsCounters done [12:10:58]requested_item shift.num is exist - process it [12:10:58]requested_item shift.opened is exist - process it [12:10:58]req_shift_opened [12:10:58]FM_GetShiftState [12:10:58]SAM_PROTO_GetShiftState [12:10:58]wFMCommunicate request_size=4 [12:10:58]MH_SAM_APDU [12:10:58]CAPDU: 80 13 01 00 [12:10:58]Write to MH i2c: E2 08 00 0E 20 80 13 01 00 00 00 00 00 AB [12:10:58]Write i2c OK [12:10:58]MH_I2C_Read... [12:10:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:10:59]Read from MH i2c: E2 [12:10:59]MH_I2C_Read... [12:10:59]Read from MH i2c: E2 0E 00 [12:10:59]MH_I2C_Read... [12:10:59]Read from MH i2c: E2 0E 00 0E 20 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 CC [12:10:59]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [12:10:59]wFMCommunicate OK [12:10:59]SAM_PROTO_GetShiftState done [12:10:59]FM_GetShiftState done [12:10:59]req_shift_opened done [12:10:59]requested_item shift.open_date is exist - process it [12:10:59]req_shift_open_date [12:10:59]req_shift_open_date done [12:10:59]produce_requested_data done [12:10:59]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22261,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297} [12:10:59]process_action_free close_receipt [12:10:59]json_value_free [12:10:59]json_value_free done [12:10:59]process_json_proto returns [12:10:59]Send response to host [12:10:59]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22261,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297}}} [12:10:59]free response buf [12:10:59]execute_script done [12:10:59]execute_script returns [12:10:59]free content buf [12:10:59]Sock 8.Close socket [12:10:59]Sock 8.Thread stoped [12:12:38]ConnectInit Can't connect to host [12:12:38]CommunicateWithHost connect error [12:12:38]CommunicateWithHost err = -1 [12:12:38]OFD Sender: Server communicate error [12:12:38]OFD Sender: Processing packet 22260 [packets to send 6, broken 4] [12:12:38]ProducePacketName [12:12:38]name=ofd_packets/00022260 [12:12:38]OFD Sender: To server: pG, [12:12:38]CommunicateWithHost lk.salyk.kg:30040 [12:12:38]ConnectInit lk.salyk.kg [12:12:38]Connected sock=8 [12:12:38]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 21 01 00 00 6E 52 19 01 43 C5 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 36 32 30 30 30 36 39 39 30 33 38 37 06 04 1B 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A2 D0 B0 D0 BB D0 BA D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D8 D6 00 00 00 00 13 04 06 00 D8 D6 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D8 D6 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E7 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D1 16 00 00 00 00 07 04 06 00 D8 D6 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 37 D6 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 F4 56 00 00 35 04 06 00 7C BC BC 44 A9 22 90 6F 93 1F D5 4B A0 4A [12:12:38]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 1E 4D 47 00 93 DD A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 F4 56 00 00 F4 03 04 00 76 7F 6E 66 B6 04 01 00 00 1E 72 62 96 9B 74 A3 FC [12:12:38]CommunicateWithHost err = 0 [12:12:38]CheckOFDResponse [12:12:38]1017 (14) - 77093643461234 [12:12:38]1041 (16) - 0000000000965344 [12:12:38]1040 (4) - 22260 [12:12:38]1012 (4) - 16.06.2024 06:00 [12:12:38]1206 (1) - 0 [12:12:38]OFD Sender: Remove packet 22260 [12:12:38]ProducePacketName [12:12:38]name=ofd_packets/00022260 [12:12:38]NVStorageDeleteData [12:12:38]OFD Sender: Processing packet 22261 [packets to send 5, broken 4] [12:12:38]ProducePacketName [12:12:38]name=ofd_packets/00022261 [12:12:38]OFD Sender: To server: pG, [12:12:38]CommunicateWithHost lk.salyk.kg:30040 [12:12:38]ConnectInit lk.salyk.kg [12:12:39]Connected sock=8 [12:12:39]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 3D 01 00 00 89 00 35 01 F1 6A 5A 03 01 00 03 00 29 01 1E 04 01 00 01 23 04 7B 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 35 33 35 06 04 37 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 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 FC 03 06 00 64 19 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 39 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 02 00 00 00 00 07 04 06 00 64 19 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 57 D6 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 F5 56 00 00 35 04 06 00 C9 9A C6 0D C8 61 A2 20 1A C1 BF 97 1D F3 [12:12:39]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 37 98 47 00 AA F1 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 F5 56 00 00 F4 03 04 00 77 7F 6E 66 B6 04 01 00 00 19 E1 35 82 08 1A 49 94 [12:12:39]CommunicateWithHost err = 0 [12:12:39]CheckOFDResponse [12:12:39]1017 (14) - 77093643461234 [12:12:39]1041 (16) - 0000000000965344 [12:12:39]1040 (4) - 22261 [12:12:39]1012 (4) - 16.06.2024 06:00 [12:12:39]1206 (1) - 0 [12:12:39]OFD Sender: Remove packet 22261 [12:12:39]ProducePacketName [12:12:39]name=ofd_packets/00022261 [12:12:39]NVStorageDeleteData [12:12:39]OFD Sender: No OFD packet to send [12:12:44]OFD Sender: No OFD packet to send [12:12:49]OFD Sender: No OFD packet to send [12:12:54]OFD Sender: No OFD packet to send [12:12:59]OFD Sender: No OFD packet to send [12:13:04]OFD Sender: No OFD packet to send [12:13:09]OFD Sender: No OFD packet to send [12:13:14]OFD Sender: No OFD packet to send [12:13:19]OFD Sender: No OFD packet to send [12:13:24]OFD Sender: No OFD packet to send [12:13:29]OFD Sender: No OFD packet to send [12:13:34]OFD Sender: No OFD packet to send [12:13:39]OFD Sender: No OFD packet to send [12:13:44]OFD Sender: No OFD packet to send [12:13:49]OFD Sender: No OFD packet to send [12:13:54]OFD Sender: No OFD packet to send [12:13:59]OFD Sender: No OFD packet to send [12:14:04]OFD Sender: No OFD packet to send [12:14:09]OFD Sender: No OFD packet to send [12:14:14]OFD Sender: No OFD packet to send [12:14:19]OFD Sender: No OFD packet to send [12:14:24]OFD Sender: No OFD packet to send [12:14:29]OFD Sender: No OFD packet to send [12:14:34]OFD Sender: No OFD packet to send [12:14:39]OFD Sender: No OFD packet to send [12:14:44]OFD Sender: No OFD packet to send [12:14:49]OFD Sender: No OFD packet to send [12:14:54]OFD Sender: No OFD packet to send [12:14:59]OFD Sender: No OFD packet to send [12:15:04]OFD Sender: No OFD packet to send [12:15:09]OFD Sender: No OFD packet to send [12:15:14]OFD Sender: No OFD packet to send [12:15:19]OFD Sender: No OFD packet to send [12:15:24]OFD Sender: No OFD packet to send [12:15:29]OFD Sender: No OFD packet to send [12:15:34]OFD Sender: No OFD packet to send [12:15:39]OFD Sender: No OFD packet to send [12:15:44]OFD Sender: No OFD packet to send [12:15:49]OFD Sender: No OFD packet to send [12:15:54]OFD Sender: No OFD packet to send [12:15:59]OFD Sender: No OFD packet to send [12:16:04]OFD Sender: No OFD packet to send [12:16:09]OFD Sender: No OFD packet to send [12:16:14]OFD Sender: No OFD packet to send [12:16:19]OFD Sender: No OFD packet to send [12:16:24]OFD Sender: No OFD packet to send [12:16:29]OFD Sender: No OFD packet to send [12:16:34]OFD Sender: No OFD packet to send [12:16:39]OFD Sender: No OFD packet to send [12:16:44]OFD Sender: No OFD packet to send [12:16:49]OFD Sender: No OFD packet to send [12:16:54]OFD Sender: No OFD packet to send [12:16:59]OFD Sender: No OFD packet to send [12:17:04]OFD Sender: No OFD packet to send [12:17:09]OFD Sender: No OFD packet to send [12:17:14]OFD Sender: No OFD packet to send [12:17:19]OFD Sender: No OFD packet to send [12:17:24]OFD Sender: No OFD packet to send [12:17:29]OFD Sender: No OFD packet to send [12:17:34]OFD Sender: No OFD packet to send [12:17:39]OFD Sender: No OFD packet to send [12:17:44]OFD Sender: No OFD packet to send [12:17:49]OFD Sender: No OFD packet to send [12:17:54]OFD Sender: No OFD packet to send [12:17:59]OFD Sender: No OFD packet to send [12:18:04]OFD Sender: No OFD packet to send [12:18:09]OFD Sender: No OFD packet to send [12:18:14]OFD Sender: No OFD packet to send [12:18:17]accept exits with 9 [12:18:17]New connection [12:18:17]New thread 3066838372 created [12:18:17]Thread 3066695012 joined [12:18:17]Waiting for new connection... [12:18:17] Sock 9.Parse request [12:18:17]Sock 9.Check first char [12:18:17]Sock 9.First char is OK [12:18:17]request: POST /json_proto HTTP/1.0 [12:18:17]Method: POST [12:18:17]URL: /json_proto [12:18:17]Method is POST - this is cgi request [12:18:17]url: /json_proto [12:18:17]query_string will be loaded in cgi processing [12:18:17]execute_cgi json_proto POST (null) [12:18:17]execute_cgi path=json_proto method=POST [12:18:17]POST find Content-Length [12:18:17]Host: 172.17.35.133:8080 [12:18:17]Content-Length: 1060 [12:18:17]Content-Type: application/json [12:18:17] [12:18:17]POST finish read [12:18:17]Found Content-Length = 1060 [12:18:17]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254476", "tax_sys" : 0, "items" : [ { "code": "8710732217097", "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 }]} ,{ "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: KICB \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 117.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:18:17]execute_script... [12:18: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)254476", "tax_sys" : 0, "items" : [ { "code": "8710732217097", "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 }]} ,{ "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: KICB \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 117.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:18:17]POST & json_proto [12:18:17]process_json_proto [12:18:17]json parsed OK: [12:18:17]protocol is kg_v1.0 [12:18:17]action value=close_receipt [12:18:17]process_action close_receipt [12:18:17]cmd_close_receipt [12:18:17]MH_GetDate [12:18:17]Write to MH i2c: F0 00 00 0F 20 1E [12:18:17]Write i2c OK [12:18:17]MH_I2C_Read... [12:18:17]Read from MH i2c: F0 [12:18:17]MH_I2C_Read... [12:18:17]Read from MH i2c: F0 09 00 [12:18:17]MH_I2C_Read... [12:18:17]Read from MH i2c: F0 09 00 0F 20 00 11 D8 6E 66 8C 55 28 65 52 [12:18:17]GetLastDocTimeStamp 1718539863 [12:18:17]current date 1718540305 [12:18:17]FM_GetShiftState [12:18:17]SAM_PROTO_GetShiftState [12:18:17]wFMCommunicate request_size=4 [12:18:17]MH_SAM_APDU [12:18:17]CAPDU: 80 13 01 00 [12:18:17]Write to MH i2c: E2 08 00 10 20 80 13 01 00 00 00 00 00 AD [12:18:17]Write i2c OK [12:18:17]MH_I2C_Read... [12:18:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:18:17]Read from MH i2c: E2 [12:18:17]MH_I2C_Read... [12:18:17]Read from MH i2c: E2 0E 00 [12:18:17]MH_I2C_Read... [12:18:17]Read from MH i2c: E2 0E 00 10 20 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 CE [12:18:17]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [12:18:17]wFMCommunicate OK [12:18:17]SAM_PROTO_GetShiftState done [12:18:17]FM_GetShiftState done [12:18:17]opened in 1718497297 [12:18:17]opened+sec_in_day 1718583697 [12:18:17]quantity*price = 6700 [12:18:17]sum+1 = 6701 [12:18:17]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000160358 Вода Легенда 1л 1.000 * 50.00 = 50.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 117.00 НСП 1% : 1.03 НДС 12% : 12.42 Наличными: 0.00 Безнал.: 117.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 27 16.06.2024 12:18 Смена: 327 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 Платежная система: KICB Банк ФМ: 0000000000965344 ФД: 22262 ФПД: 254021883918784 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T121825&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22262&fm=254021883918784&tin=02508201610067®Number=0000000000099755&sum=11700 0 [12:18:18]StoreToDocumentArchive [12:18:18]shift 327 fd 22262 [12:18:18]save to /storage/0327/doc_00022262 [12:18:18]save last doc name /storage/0327/doc_00022262 to /storage/kkm_last_doc_name [12:18:18]save OK [12:18:18]Clear old archive folders... [12:18:18]ProcessDocumentItem done err = 0, tmpTLVsize=383 [12:18:18]tlvbuf is B6F39010 [12:18:18]SAM_PROTO_ClearQueue [12:18:18]wFMCommunicate request_size=4 [12:18:18]MH_SAM_APDU [12:18:18]CAPDU: 80 09 00 00 [12:18:18]Write to MH i2c: E2 08 00 1D 20 80 09 00 00 00 00 00 00 AF [12:18:18]Write i2c OK [12:18:18]MH_I2C_Read... [12:18:18]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:18:18]Read from MH i2c: E2 [12:18:18]MH_I2C_Read... [12:18:18]Read from MH i2c: E2 03 00 [12:18:18]MH_I2C_Read... [12:18:18]Read from MH i2c: E2 03 00 1D 20 00 90 00 B1 [12:18:18]RAPDU: 90 00 [12:18:18]wFMCommunicate OK [12:18:18]SAM_PROTO_ClearQueue done [12:18:18]KKMCreateOFDPacket [12:18:18]OFDProtocolAddRootSTLVToBuf [12:18:18]FM_MakeSignedData [12:18:18]FM_MakeSignedData [12:18:18]SAM_PROTO_SignData [12:18:18]wFMCommunicate request_size=4 [12:18:18]MH_SAM_APDU [12:18:18]CAPDU: 80 0D 01 02 [12:18:18]Write to MH i2c: E2 08 00 1E 20 80 0D 01 02 00 00 00 00 B7 [12:18:18]Write i2c OK [12:18:18]MH_I2C_Read... [12:18:18]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:18:18]Read from MH i2c: E2 [12:18:18]MH_I2C_Read... [12:18:18]Read from MH i2c: E2 03 00 [12:18:18]MH_I2C_Read... [12:18:18]Read from MH i2c: E2 03 00 1E 20 00 90 00 B2 [12:18:18]RAPDU: 90 00 [12:18:18]wFMCommunicate OK [12:18:18]wFMCommunicate request_size=255 [12:18:18]MH_SAM_APDU [12:18:18]CAPDU: 80 0D 02 02 FA 03 00 7F 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 38 37 31 30 37 33 32 32 31 37 30 39 37 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 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B4 2D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 67 [12:18:18]Write to MH i2c: E2 02 01 1F 20 80 0D 02 02 FA 00 03 00 7F 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 38 37 31 30 37 33 32 32 31 37 30 39 37 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 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B4 2D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 67 00 00 F7 [12:18:18]Write i2c OK [12:18:18]MH_I2C_Read... [12:18:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:18:18]Read from MH i2c: E2 [12:18:18]MH_I2C_Read... [12:18:18]Read from MH i2c: E2 03 00 [12:18:18]MH_I2C_Read... [12:18:18]Read from MH i2c: E2 03 00 1F 20 00 90 00 B3 [12:18:18]RAPDU: 90 00 [12:18:18]wFMCommunicate OK [12:18:18]wFMCommunicate request_size=142 [12:18:18]MH_SAM_APDU [12:18:18]CAPDU: 80 0D 02 02 89 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DA 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B4 2D 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 11 D8 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 F6 56 00 00 35 04 06 00 E7 08 14 27 F9 C0 [12:18:18]Write to MH i2c: E2 91 00 20 20 80 0D 02 02 89 00 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DA 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B4 2D 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 11 D8 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 F6 56 00 00 35 04 06 00 E7 08 14 27 F9 C0 00 00 10 [12:18:18]Write i2c OK [12:18:18]MH_I2C_Read... [12:18:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:18:18]Read from MH i2c: E2 [12:18:18]MH_I2C_Read... [12:18:18]Read from MH i2c: E2 03 00 [12:18:18]MH_I2C_Read... [12:18:18]Read from MH i2c: E2 03 00 20 20 00 90 00 B4 [12:18:18]RAPDU: 90 00 [12:18:18]wFMCommunicate OK [12:18:18]wFMCommunicate request_size=4 [12:18:18]MH_SAM_APDU [12:18:18]CAPDU: 80 0D 03 02 [12:18:18]Write to MH i2c: E2 08 00 21 20 80 0D 03 02 00 00 00 00 BC [12:18:18]Write i2c OK [12:18:18]MH_I2C_Read... [12:18:18]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:18:18]Read from MH i2c: E2 [12:18:18]MH_I2C_Read... [12:18:18]Read from MH i2c: E2 0B 00 [12:18:18]MH_I2C_Read... [12:18:18]Read from MH i2c: E2 0B 00 21 20 00 D6 D9 40 DF BC 51 16 4F 90 00 FD [12:18:18]RAPDU: D6 D9 40 DF BC 51 16 4F 90 00 [12:18:18]wFMCommunicate OK [12:18:18]SAM_PROTO_SignData done [12:18:18]FM_MakeSignedData done [12:18:18]CreateOFDProtocolMessage [12:18:18]wFMCommunicate request_size=4 [12:18:18]MH_SAM_APDU [12:18:18]CAPDU: 80 11 00 00 [12:18:18]Write to MH i2c: E2 08 00 22 20 80 11 00 00 00 00 00 00 BC [12:18:18]Write i2c OK [12:18:18]MH_I2C_Read... [12:18:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:18:19]Read from MH i2c: E2 [12:18:19]MH_I2C_Read... [12:18:19]Read from MH i2c: E2 17 00 [12:18:19]MH_I2C_Read... [12:18:19]Read from MH i2c: E2 17 00 22 20 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 0E [12:18:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [12:18:19]wFMCommunicate OK [12:18:19]CreateOFDProtocolMessage done [12:18:19]OFDSenderStorePacket 22262 [12:18:19]StoreOFDPacket docnum=22262 [12:18:19]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 93 01 00 00 EB D8 8B 01 8C 6A 5A 03 01 00 03 00 7F 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 38 37 31 30 37 33 32 32 31 37 30 39 37 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 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B4 2D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 67 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DA 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B4 2D 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 11 D8 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 F6 56 00 00 35 04 06 00 E7 08 14 27 F9 C0 D6 D9 40 DF BC 51 16 4F [12:18:19]CheckFolder [12:18:19]dirname=/storage/ofd_packets [12:18:19]CheckFolder done [12:18:19]ProducePacketName [12:18:19]name=ofd_packets/00022262 [12:18:19]NVStorageSaveData ofd_packets/00022262 [12:18:19]File name is /storage/ofd_packets/00022262 [12:18:19]Write 433 bytes [12:18:19]NVStorageSaveData done [12:18:19]OFDSenderStorePacket done [12:18:19]KKMCreateOFDPacket done [12:18:19]NVStorageSaveData kkm_last_timestamp [12:18:19]File name is /storage/kkm_last_timestamp [12:18:19]Write 4 bytes [12:18:19]NVStorageSaveData done [12:18:19]ExternCall_PrintAddStr [12:18:19]wPrintStart [12:18:19]Write to MH i2c: 01 00 00 23 20 43 [12:18:19]OFD Sender: Processing packet 22262 [packets to send 5, broken 4] [12:18:19]ProducePacketName [12:18:19]name=ofd_packets/00022262 [12:18:19]OFD Sender: To server: pG, [12:18:19]CommunicateWithHost lk.salyk.kg:30040 [12:18:19]ConnectInit lk.salyk.kg [12:18:19]Write i2c OK [12:18:19]MH_I2C_Read... [12:18:19]Read from MH i2c: 01 [12:18:19]MH_I2C_Read... [12:18:19]Read from MH i2c: 01 07 00 [12:18:19]MH_I2C_Read... [12:18:19]Read from MH i2c: 01 07 00 23 20 00 00 00 00 00 FF 0F 58 [12:18:19]RasterBufferAndPrint [12:18:19]line Счет N : (3)254476 [12:18:19]line ИНН: 02508201610067 [12:18:19]line Контрольно-Кассовый Чек [12:18:19]line ПРОДАЖА [12:18:19]line Товар: 8710732217097 [12:18:19]line Зажигалка Cricket ПН пьезо [12:18:19]line 1.000 * 67.00 [12:18:19]line = 67.00 [12:18:19]line НДС 12% НСП 1% [12:18:19]line > о реализуемом товаре [12:18:19]line Товар: 4700000160358 [12:18:19]line Вода Легенда 1л [12:18:19]line 1.000 * 50.00 [12:18:19]line = 50.00 [12:18:19]line НДС 12% НСП 1% [12:18:19]line > о реализуемом товаре [12:18:19]line ИТОГО: 117.00 [12:18:19]line НСП 1% : 1.03 [12:18:19]line НДС 12% : 12.42 [12:18:19]line Наличными: 0.00 [12:18:19]line Безнал.: 117.00 [12:18:19]line Место: АЗС № 76 "Партнер Нефть" [12:18:19]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [12:18:19]line СНО: Общий режим [12:18:19]line Чек 27 16.06.2024 12:18 [12:18:19]line Смена: 327 ФФД: 1.0 [12:18:19]line ЗНМ: 0300000200 [12:18:19]line РНМ: 0000000000099755 [12:18:19]line Версия ККМ: 001 [12:18:19]line Платежная система: KICB Банк [12:18:19]line ФМ: 0000000000965344 [12:18:19]line ФД: 22262 [12:18:19]line ФПД: 254021883918784 [12:18:19]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T121825&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22262&fm=254021883918784&tin=02508201610067®Number=0000000000099755&sum=11700 [12:18:19]line 0 [12:18:19]written 0, free lines is 4095 [12:18:19]Connected sock=10 [12:18:19]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 93 01 00 00 EB D8 8B 01 8C 6A 5A 03 01 00 03 00 7F 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 38 37 31 30 37 33 32 32 31 37 30 39 37 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 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B4 2D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 67 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DA 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B4 2D 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 11 D8 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 F6 56 00 00 35 04 06 00 E7 08 14 27 F9 C0 D6 D9 40 DF BC 51 16 4F [12:18:19]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 3F 0C 47 00 FF 67 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 F6 56 00 00 F4 03 04 00 CB 80 6E 66 B6 04 01 00 00 24 08 12 85 C4 E4 F8 A3 [12:18:19]CommunicateWithHost err = 0 [12:18:19]CheckOFDResponse [12:18:19]1017 (14) - 77093643461234 [12:18:19]1041 (16) - 0000000000965344 [12:18:19]1040 (4) - 22262 [12:18:19]1012 (4) - 16.06.2024 06:06 [12:18:19]1206 (1) - 0 [12:18:19]OFD Sender: Remove packet 22262 [12:18:19]ProducePacketName [12:18:19]name=ofd_packets/00022262 [12:18:19]NVStorageDeleteData [12:18:19]Write to MH i2c: 01 00 00 53 20 73 [12:18:19]Write i2c OK [12:18:19]MH_I2C_Read... [12:18:19]Read from MH i2c: 01 [12:18:19]MH_I2C_Read... [12:18:19]Read from MH i2c: 01 07 00 [12:18:19]MH_I2C_Read... [12:18:19]Read from MH i2c: 01 07 00 53 20 00 00 00 00 00 C8 0C 4E [12:18:19]RasterBufferAndPrint [12:18:19]line [12:18:19]line [12:18:19]line [12:18:19]line [12:18:19]line [12:18:19]written 0, free lines is 3281 [12:18:19]MH_Cut [12:18:19]Write to MH i2c: D1 01 00 5A 20 01 4C [12:18:19]Write i2c OK [12:18:19]MH_I2C_Read... [12:18:19]Read from MH i2c: D1 [12:18:19]MH_I2C_Read... [12:18:19]Read from MH i2c: D1 01 00 [12:18:19]MH_I2C_Read... [12:18:19]Read from MH i2c: D1 01 00 5A 20 00 4B [12:18:19]Write to MH i2c: 01 00 00 5B 20 7B [12:18:19]Write i2c OK [12:18:19]MH_I2C_Read... [12:18:20]OFD Sender: No OFD packet to send [12:18:20]*** Cut start [12:18:20]*** Partial cut [12:18:20]*** CUTSNS_PIN = 1 [12:18:20]*** CUTSNS_PIN = 0 [12:18:20]*** Brake cut motor [12:18:21]Read from MH i2c: 01 [12:18:21]MH_I2C_Read... [12:18:21]*** Stop cut motor [12:18:21]*** Cut end [12:18:21]Read from MH i2c: 01 07 00 [12:18:21]MH_I2C_Read... [12:18:21]Read from MH i2c: 01 07 00 5B 20 00 00 00 00 00 FF 0F 90 [12:18:21]process_action close_receipt done [12:18:21]requested_data is exist [12:18:21]produce_requested_data [12:18:21]requested_item fm.sn is exist - process it [12:18:21]wFMCommunicate request_size=4 [12:18:21]MH_SAM_APDU [12:18:21]CAPDU: 80 11 00 00 [12:18:21]Write to MH i2c: E2 08 00 5C 20 80 11 00 00 00 00 00 00 F6 [12:18:21]Write i2c OK [12:18:21]MH_I2C_Read... [12:18:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:18:21]Read from MH i2c: E2 [12:18:21]MH_I2C_Read... [12:18:21]Read from MH i2c: E2 17 00 [12:18:21]MH_I2C_Read... [12:18:21]Read from MH i2c: E2 17 00 5C 20 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 48 [12:18:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [12:18:21]wFMCommunicate OK [12:18:21]requested_item fd.num is exist - process it [12:18:21]SAM_PROTO_GetFieldsCounters [12:18:21]wFMCommunicate request_size=4 [12:18:21]MH_SAM_APDU [12:18:21]CAPDU: 80 13 00 00 [12:18:21]Write to MH i2c: E2 08 00 5D 20 80 13 00 00 00 00 00 00 F9 [12:18:21]Write i2c OK [12:18:21]MH_I2C_Read... [12:18:21]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:18:21]Read from MH i2c: E2 [12:18:21]MH_I2C_Read... [12:18:21]Read from MH i2c: E2 62 00 [12:18:21]MH_I2C_Read... [12:18:21]Read from MH i2c: E2 62 00 5D 20 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 F6 56 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 1B 00 00 00 5E 04 04 00 1B 00 00 00 57 04 04 00 1C 00 00 00 19 04 04 00 00 00 00 00 90 00 08 [12:18:21]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 F6 56 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 1B 00 00 00 5E 04 04 00 1B 00 00 00 57 04 04 00 1C 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:18:21]wFMCommunicate OK [12:18:21]SAM_PROTO_GetFieldsCounters done [12:18:21]requested_item shift.num is exist - process it [12:18:21]requested_item shift.opened is exist - process it [12:18:21]req_shift_opened [12:18:21]FM_GetShiftState [12:18:21]SAM_PROTO_GetShiftState [12:18:21]wFMCommunicate request_size=4 [12:18:21]MH_SAM_APDU [12:18:21]CAPDU: 80 13 01 00 [12:18:21]Write to MH i2c: E2 08 00 5E 20 80 13 01 00 00 00 00 00 FB [12:18:21]Write i2c OK [12:18:21]MH_I2C_Read... [12:18:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:18:21]Read from MH i2c: E2 [12:18:21]MH_I2C_Read... [12:18:21]Read from MH i2c: E2 0E 00 [12:18:21]MH_I2C_Read... [12:18:21]Read from MH i2c: E2 0E 00 5E 20 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 1C [12:18:21]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [12:18:21]wFMCommunicate OK [12:18:21]SAM_PROTO_GetShiftState done [12:18:21]FM_GetShiftState done [12:18:21]req_shift_opened done [12:18:21]requested_item shift.open_date is exist - process it [12:18:21]req_shift_open_date [12:18:21]req_shift_open_date done [12:18:21]produce_requested_data done [12:18:21]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22262,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297} [12:18:21]process_action_free close_receipt [12:18:21]json_value_free [12:18:21]json_value_free done [12:18:21]process_json_proto returns [12:18:21]Send response to host [12:18:21]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22262,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297}}} [12:18:21]free response buf [12:18:21]execute_script done [12:18:21]execute_script returns [12:18:21]free content buf [12:18:21]Sock 9.Close socket [12:18:21]Sock 9.Thread stoped [12:18:25]OFD Sender: No OFD packet to send [12:18:30]OFD Sender: No OFD packet to send [12:18:35]OFD Sender: No OFD packet to send [12:18:40]OFD Sender: No OFD packet to send [12:18:45]OFD Sender: No OFD packet to send [12:18:50]OFD Sender: No OFD packet to send [12:18:55]OFD Sender: No OFD packet to send [12:19:00]OFD Sender: No OFD packet to send [12:19:05]OFD Sender: No OFD packet to send [12:19:10]OFD Sender: No OFD packet to send [12:19:15]OFD Sender: No OFD packet to send [12:19:20]OFD Sender: No OFD packet to send [12:19:25]accept exits with 8 [12:19:25]New connection [12:19:25]New thread 3066695012 created [12:19:25]Thread 3066838372 joined [12:19:25]Waiting for new connection... [12:19:25] Sock 8.Parse request [12:19:25]Sock 8.Check first char [12:19:25]Sock 8.First char is OK [12:19:25]request: POST /json_proto HTTP/1.0 [12:19:25]Method: POST [12:19:25]URL: /json_proto [12:19:25]Method is POST - this is cgi request [12:19:25]url: /json_proto [12:19:25]query_string will be loaded in cgi processing [12:19:25]execute_cgi json_proto POST (null) [12:19:25]execute_cgi path=json_proto method=POST [12:19:25]POST find Content-Length [12:19:25]Host: 172.17.35.133:8080 [12:19:25]Content-Length: 768 [12:19:25]Content-Type: application/json [12:19:25] [12:19:25]POST finish read [12:19:25]Found Content-Length = 768 [12:19:25]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254477", "tax_sys" : 0, "items" : [ { "code": "4700001610012", "name": "\u041F\u0438\u0432\u043E \u0410\u0440\u043F\u0430 0,5\u043B", "price" : 145.00, "quantity" : 3.000, "sum" : 435.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: KICB \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 435.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:19:25]execute_script... [12:19:25]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254477", "tax_sys" : 0, "items" : [ { "code": "4700001610012", "name": "\u041F\u0438\u0432\u043E \u0410\u0440\u043F\u0430 0,5\u043B", "price" : 145.00, "quantity" : 3.000, "sum" : 435.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: KICB \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 435.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:19:25]POST & json_proto [12:19:25]process_json_proto [12:19:25]json parsed OK: [12:19:25]protocol is kg_v1.0 [12:19:25]action value=close_receipt [12:19:25]process_action close_receipt [12:19:25]cmd_close_receipt [12:19:25]MH_GetDate [12:19:25]Write to MH i2c: F0 00 00 5F 20 6E [12:19:25]Write i2c OK [12:19:25]MH_I2C_Read... [12:19:25]Read from MH i2c: F0 [12:19:25]MH_I2C_Read... [12:19:25]Read from MH i2c: F0 09 00 [12:19:25]MH_I2C_Read... [12:19:25]Read from MH i2c: F0 09 00 5F 20 00 55 D8 6E 66 8C 55 28 65 E6 [12:19:25]GetLastDocTimeStamp 1718540305 [12:19:25]current date 1718540373 [12:19:25]FM_GetShiftState [12:19:25]SAM_PROTO_GetShiftState [12:19:25]wFMCommunicate request_size=4 [12:19:25]MH_SAM_APDU [12:19:25]CAPDU: 80 13 01 00 [12:19:25]Write to MH i2c: E2 08 00 60 20 80 13 01 00 00 00 00 00 FD [12:19:25]Write i2c OK [12:19:25]MH_I2C_Read... [12:19:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:19:25]Read from MH i2c: E2 [12:19:25]MH_I2C_Read... [12:19:25]Read from MH i2c: E2 0E 00 [12:19:25]MH_I2C_Read... [12:19:25]Read from MH i2c: E2 0E 00 60 20 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 1E [12:19:25]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [12:19:25]wFMCommunicate OK [12:19:25]SAM_PROTO_GetShiftState done [12:19:25]FM_GetShiftState done [12:19:25]opened in 1718497297 [12:19:25]opened+sec_in_day 1718583697 [12:19:25]quantity*price = 43500 [12:19:25]sum+1 = 43501 [12:19:25]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 435.00 НСП 1% : 3.85 НДС 12% : 46.19 Наличными: 0.00 Безнал.: 435.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 28 16.06.2024 12:19 Смена: 327 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 Платежная система: KICB Банк ФМ: 0000000000965344 ФД: 22263 ФПД: 231078282007406 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T121933&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22263&fm=231078282007406&tin=02508201610067®Number=0000000000099755&sum=43500 0 [12:19:26]StoreToDocumentArchive [12:19:26]shift 327 fd 22263 [12:19:26]save to /storage/0327/doc_00022263 [12:19:26]save last doc name /storage/0327/doc_00022263 to /storage/kkm_last_doc_name [12:19:26]save OK [12:19:26]Clear old archive folders... [12:19:26]ProcessDocumentItem done err = 0, tmpTLVsize=265 [12:19:26]tlvbuf is 0020CF50 [12:19:26]SAM_PROTO_ClearQueue [12:19:26]wFMCommunicate request_size=4 [12:19:26]MH_SAM_APDU [12:19:26]CAPDU: 80 09 00 00 [12:19:26]Write to MH i2c: E2 08 00 6D 20 80 09 00 00 00 00 00 00 FF [12:19:26]Write i2c OK [12:19:26]MH_I2C_Read... [12:19:26]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:19:26]Read from MH i2c: E2 [12:19:26]MH_I2C_Read... [12:19:26]Read from MH i2c: E2 03 00 [12:19:26]MH_I2C_Read... [12:19:26]Read from MH i2c: E2 03 00 6D 20 00 90 00 01 [12:19:26]RAPDU: 90 00 [12:19:26]wFMCommunicate OK [12:19:26]SAM_PROTO_ClearQueue done [12:19:26]KKMCreateOFDPacket [12:19:26]OFDProtocolAddRootSTLVToBuf [12:19:26]FM_MakeSignedData [12:19:26]FM_MakeSignedData [12:19:26]SAM_PROTO_SignData [12:19:26]wFMCommunicate request_size=4 [12:19:26]MH_SAM_APDU [12:19:26]CAPDU: 80 0D 01 02 [12:19:26]Write to MH i2c: E2 08 00 6E 20 80 0D 01 02 00 00 00 00 07 [12:19:26]Write i2c OK [12:19:26]MH_I2C_Read... [12:19:26]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:19:26]Read from MH i2c: E2 [12:19:26]MH_I2C_Read... [12:19:26]Read from MH i2c: E2 03 00 [12:19:26]MH_I2C_Read... [12:19:26]Read from MH i2c: E2 03 00 6E 20 00 90 00 02 [12:19:26]RAPDU: 90 00 [12:19:26]wFMCommunicate OK [12:19:26]wFMCommunicate request_size=255 [12:19:26]MH_SAM_APDU [12:19:26]CAPDU: 80 0D 02 02 FA 03 00 09 01 1E 04 01 00 01 23 04 5B 00 8A 04 0D 00 34 37 30 30 30 30 31 36 31 30 30 31 32 06 04 17 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 90 D1 80 D0 BF D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 A4 38 00 00 00 00 13 04 06 00 EC A9 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC A9 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 81 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0B 12 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 EC A9 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 55 D8 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 [12:19:26]Write to MH i2c: E2 02 01 6F 20 80 0D 02 02 FA 00 03 00 09 01 1E 04 01 00 01 23 04 5B 00 8A 04 0D 00 34 37 30 30 30 30 31 36 31 30 30 31 32 06 04 17 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 90 D1 80 D0 BF D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 A4 38 00 00 00 00 13 04 06 00 EC A9 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC A9 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 81 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0B 12 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 EC A9 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 55 D8 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 00 00 57 [12:19:26]Write i2c OK [12:19:26]MH_I2C_Read... [12:19:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:19:26]Read from MH i2c: E2 [12:19:26]MH_I2C_Read... [12:19:26]Read from MH i2c: E2 03 00 [12:19:26]MH_I2C_Read... [12:19:26]Read from MH i2c: E2 03 00 6F 20 00 90 00 03 [12:19:26]RAPDU: 90 00 [12:19:26]wFMCommunicate OK [12:19:26]wFMCommunicate request_size=24 [12:19:26]MH_SAM_APDU [12:19:26]CAPDU: 80 0D 02 02 13 34 10 04 04 00 F7 56 00 00 35 04 06 00 D2 2A 1A EA 13 6E [12:19:26]Write to MH i2c: E2 1B 00 70 20 80 0D 02 02 13 00 34 10 04 04 00 F7 56 00 00 35 04 06 00 D2 2A 1A EA 13 6E 00 00 89 [12:19:26]Write i2c OK [12:19:26]MH_I2C_Read... [12:19:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:19:26]Read from MH i2c: E2 [12:19:26]MH_I2C_Read... [12:19:26]Read from MH i2c: E2 03 00 [12:19:26]MH_I2C_Read... [12:19:26]Read from MH i2c: E2 03 00 70 20 00 90 00 04 [12:19:26]RAPDU: 90 00 [12:19:26]wFMCommunicate OK [12:19:26]wFMCommunicate request_size=4 [12:19:26]MH_SAM_APDU [12:19:26]CAPDU: 80 0D 03 02 [12:19:26]Write to MH i2c: E2 08 00 71 20 80 0D 03 02 00 00 00 00 0C [12:19:26]Write i2c OK [12:19:26]MH_I2C_Read... [12:19:26]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:19:26]Read from MH i2c: E2 [12:19:26]MH_I2C_Read... [12:19:26]Read from MH i2c: E2 0B 00 [12:19:26]MH_I2C_Read... [12:19:26]Read from MH i2c: E2 0B 00 71 20 00 69 9F 5C 26 E5 A2 AD CB 90 00 96 [12:19:26]RAPDU: 69 9F 5C 26 E5 A2 AD CB 90 00 [12:19:26]wFMCommunicate OK [12:19:26]SAM_PROTO_SignData done [12:19:26]FM_MakeSignedData done [12:19:26]CreateOFDProtocolMessage [12:19:26]wFMCommunicate request_size=4 [12:19:26]MH_SAM_APDU [12:19:26]CAPDU: 80 11 00 00 [12:19:26]Write to MH i2c: E2 08 00 72 20 80 11 00 00 00 00 00 00 0C [12:19:26]Write i2c OK [12:19:26]MH_I2C_Read... [12:19:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:19:26]Read from MH i2c: E2 [12:19:26]MH_I2C_Read... [12:19:26]Read from MH i2c: E2 17 00 [12:19:26]MH_I2C_Read... [12:19:26]Read from MH i2c: E2 17 00 72 20 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 5E [12:19:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [12:19:26]wFMCommunicate OK [12:19:26]CreateOFDProtocolMessage done [12:19:26]OFDSenderStorePacket 22263 [12:19:26]StoreOFDPacket docnum=22263 [12:19:26]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 1D 01 00 00 4E 3A 15 01 30 B8 5A 03 01 00 03 00 09 01 1E 04 01 00 01 23 04 5B 00 8A 04 0D 00 34 37 30 30 30 30 31 36 31 30 30 31 32 06 04 17 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 90 D1 80 D0 BF D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 A4 38 00 00 00 00 13 04 06 00 EC A9 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC A9 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 81 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0B 12 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 EC A9 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 55 D8 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 F7 56 00 00 35 04 06 00 D2 2A 1A EA 13 6E 69 9F 5C 26 E5 A2 AD CB [12:19:26]CheckFolder [12:19:26]dirname=/storage/ofd_packets [12:19:26]CheckFolder done [12:19:26]ProducePacketName [12:19:26]name=ofd_packets/00022263 [12:19:26]NVStorageSaveData ofd_packets/00022263 [12:19:26]File name is /storage/ofd_packets/00022263 [12:19:26]Write 315 bytes [12:19:26]NVStorageSaveData done [12:19:26]OFDSenderStorePacket done [12:19:26]KKMCreateOFDPacket done [12:19:26]NVStorageSaveData kkm_last_timestamp [12:19:26]File name is /storage/kkm_last_timestamp [12:19:26]Write 4 bytes [12:19:26]NVStorageSaveData done [12:19:26]ExternCall_PrintAddStr [12:19:26]wPrintStart [12:19:26]Write to MH i2c: 01 00 00 73 20 93 [12:19:26]Write i2c OK [12:19:26]MH_I2C_Read... [12:19:26]Read from MH i2c: 01 [12:19:26]MH_I2C_Read... [12:19:26]Read from MH i2c: 01 07 00 [12:19:26]MH_I2C_Read... [12:19:26]Read from MH i2c: 01 07 00 73 20 00 00 00 00 00 FF 0F A8 [12:19:26]RasterBufferAndPrint [12:19:26]line Счет N : (3)254477 [12:19:26]line ИНН: 02508201610067 [12:19:26]line Контрольно-Кассовый Чек [12:19:26]line ПРОДАЖА [12:19:26]line Товар: 4700001610012 [12:19:26]line Пиво Арпа 0,5л [12:19:26]line 3.000 * 145.00 [12:19:26]line = 435.00 [12:19:26]line НДС 12% НСП 1% [12:19:26]line > о реализуемом товаре [12:19:26]line ИТОГО: 435.00 [12:19:26]line НСП 1% : 3.85 [12:19:26]line НДС 12% : 46.19 [12:19:26]line Наличными: 0.00 [12:19:26]line Безнал.: 435.00 [12:19:26]line Место: АЗС № 76 "Партнер Нефть" [12:19:26]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [12:19:26]line СНО: Общий режим [12:19:26]line Чек 28 16.06.2024 12:19 [12:19:26]line Смена: 327 ФФД: 1.0 [12:19:26]line ЗНМ: 0300000200 [12:19:26]line РНМ: 0000000000099755 [12:19:26]line Версия ККМ: 001 [12:19:26]line Платежная система: KICB Банк [12:19:26]line ФМ: 0000000000965344 [12:19:26]line ФД: 22263 [12:19:26]line ФПД: 231078282007406 [12:19:27]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T121933&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22263&fm=231078282007406&tin=02508201610067®Number=0000000000099755&sum=43500 [12:19:27]line 0 [12:19:27]OFD Sender: Processing packet 22263 [packets to send 5, broken 4] [12:19:27]ProducePacketName [12:19:27]name=ofd_packets/00022263 [12:19:27]OFD Sender: To server: pG, [12:19:27]CommunicateWithHost lk.salyk.kg:30040 [12:19:27]ConnectInit lk.salyk.kg [12:19:27]written 0, free lines is 4095 [12:19:27]Connected sock=10 [12:19:27]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 1D 01 00 00 4E 3A 15 01 30 B8 5A 03 01 00 03 00 09 01 1E 04 01 00 01 23 04 5B 00 8A 04 0D 00 34 37 30 30 30 30 31 36 31 30 30 31 32 06 04 17 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 90 D1 80 D0 BF D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 A4 38 00 00 00 00 13 04 06 00 EC A9 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC A9 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 81 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0B 12 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 EC A9 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 55 D8 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 F7 56 00 00 35 04 06 00 D2 2A 1A EA 13 6E 69 9F 5C 26 E5 A2 AD CB [12:19:27]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 D5 70 47 00 13 D5 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 F7 56 00 00 F4 03 04 00 0F 81 6E 66 B6 04 01 00 00 D8 02 1B 88 28 87 F1 24 [12:19:27]CommunicateWithHost err = 0 [12:19:27]CheckOFDResponse [12:19:27]1017 (14) - 77093643461234 [12:19:27]1041 (16) - 0000000000965344 [12:19:27]1040 (4) - 22263 [12:19:27]1012 (4) - 16.06.2024 06:07 [12:19:27]1206 (1) - 0 [12:19:27]OFD Sender: Remove packet 22263 [12:19:27]ProducePacketName [12:19:27]name=ofd_packets/00022263 [12:19:27]NVStorageDeleteData [12:19:27]Write to MH i2c: 01 00 00 9D 20 BD [12:19:27]Write i2c OK [12:19:27]MH_I2C_Read... [12:19:27]Read from MH i2c: 01 [12:19:27]MH_I2C_Read... [12:19:27]Read from MH i2c: 01 07 00 [12:19:27]MH_I2C_Read... [12:19:27]Read from MH i2c: 01 07 00 9D 20 00 00 00 00 00 0D 0D DE [12:19:27]RasterBufferAndPrint [12:19:27]line [12:19:27]line [12:19:27]line [12:19:27]line [12:19:27]line [12:19:27]written 0, free lines is 3347 [12:19:27]MH_Cut [12:19:27]Write to MH i2c: D1 01 00 A4 20 01 96 [12:19:27]Write i2c OK [12:19:27]MH_I2C_Read... [12:19:27]Read from MH i2c: D1 [12:19:27]MH_I2C_Read... [12:19:27]Read from MH i2c: D1 01 00 [12:19:27]MH_I2C_Read... [12:19:27]Read from MH i2c: D1 01 00 A4 20 00 95 [12:19:27]Write to MH i2c: 01 00 00 A5 20 C5 [12:19:27]Write i2c OK [12:19:27]MH_I2C_Read... [12:19:27]OFD Sender: No OFD packet to send [12:19:28]*** Cut start [12:19:28]*** Partial cut [12:19:28]*** CUTSNS_PIN = 1 [12:19:28]*** CUTSNS_PIN = 0 [12:19:28]*** Brake cut motor [12:19:28]Read from MH i2c: 01 [12:19:28]MH_I2C_Read... [12:19:28]*** Stop cut motor [12:19:28]*** Cut end [12:19:28]Read from MH i2c: 01 07 00 [12:19:28]MH_I2C_Read... [12:19:28]Read from MH i2c: 01 07 00 A5 20 00 00 00 00 00 FF 0F DA [12:19:28]process_action close_receipt done [12:19:28]requested_data is exist [12:19:28]produce_requested_data [12:19:28]requested_item fm.sn is exist - process it [12:19:28]wFMCommunicate request_size=4 [12:19:28]MH_SAM_APDU [12:19:28]CAPDU: 80 11 00 00 [12:19:28]Write to MH i2c: E2 08 00 A6 20 80 11 00 00 00 00 00 00 40 [12:19:28]Write i2c OK [12:19:28]MH_I2C_Read... [12:19:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:19:28]Read from MH i2c: E2 [12:19:28]MH_I2C_Read... [12:19:28]Read from MH i2c: E2 17 00 [12:19:28]MH_I2C_Read... [12:19:28]Read from MH i2c: E2 17 00 A6 20 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 92 [12:19:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [12:19:28]wFMCommunicate OK [12:19:28]requested_item fd.num is exist - process it [12:19:28]SAM_PROTO_GetFieldsCounters [12:19:28]wFMCommunicate request_size=4 [12:19:28]MH_SAM_APDU [12:19:28]CAPDU: 80 13 00 00 [12:19:28]Write to MH i2c: E2 08 00 A7 20 80 13 00 00 00 00 00 00 43 [12:19:28]Write i2c OK [12:19:28]MH_I2C_Read... [12:19:29]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:19:29]Read from MH i2c: E2 [12:19:29]MH_I2C_Read... [12:19:29]Read from MH i2c: E2 62 00 [12:19:29]MH_I2C_Read... [12:19:29]Read from MH i2c: E2 62 00 A7 20 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 F7 56 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 1C 00 00 00 5E 04 04 00 1C 00 00 00 57 04 04 00 1D 00 00 00 19 04 04 00 00 00 00 00 90 00 56 [12:19:29]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 F7 56 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 1C 00 00 00 5E 04 04 00 1C 00 00 00 57 04 04 00 1D 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:19:29]wFMCommunicate OK [12:19:29]SAM_PROTO_GetFieldsCounters done [12:19:29]requested_item shift.num is exist - process it [12:19:29]requested_item shift.opened is exist - process it [12:19:29]req_shift_opened [12:19:29]FM_GetShiftState [12:19:29]SAM_PROTO_GetShiftState [12:19:29]wFMCommunicate request_size=4 [12:19:29]MH_SAM_APDU [12:19:29]CAPDU: 80 13 01 00 [12:19:29]Write to MH i2c: E2 08 00 A8 20 80 13 01 00 00 00 00 00 45 [12:19:29]Write i2c OK [12:19:29]MH_I2C_Read... [12:19:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:19:29]Read from MH i2c: E2 [12:19:29]MH_I2C_Read... [12:19:29]Read from MH i2c: E2 0E 00 [12:19:29]MH_I2C_Read... [12:19:29]Read from MH i2c: E2 0E 00 A8 20 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 66 [12:19:29]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [12:19:29]wFMCommunicate OK [12:19:29]SAM_PROTO_GetShiftState done [12:19:29]FM_GetShiftState done [12:19:29]req_shift_opened done [12:19:29]requested_item shift.open_date is exist - process it [12:19:29]req_shift_open_date [12:19:29]req_shift_open_date done [12:19:29]produce_requested_data done [12:19:29]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22263,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297} [12:19:29]process_action_free close_receipt [12:19:29]json_value_free [12:19:29]json_value_free done [12:19:29]process_json_proto returns [12:19:29]Send response to host [12:19:29]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22263,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297}}} [12:19:29]free response buf [12:19:29]execute_script done [12:19:29]execute_script returns [12:19:29]free content buf [12:19:29]Sock 8.Close socket [12:19:29]Sock 8.Thread stoped [12:19:32]OFD Sender: No OFD packet to send [12:19:37]OFD Sender: No OFD packet to send [12:19:42]OFD Sender: No OFD packet to send [12:19:47]OFD Sender: No OFD packet to send [12:19:52]OFD Sender: No OFD packet to send [12:19:57]OFD Sender: No OFD packet to send [12:20:02]OFD Sender: No OFD packet to send [12:20:07]OFD Sender: No OFD packet to send [12:20:12]OFD Sender: No OFD packet to send [12:20:17]OFD Sender: No OFD packet to send [12:20:22]OFD Sender: No OFD packet to send [12:20:27]OFD Sender: No OFD packet to send [12:20:32]OFD Sender: No OFD packet to send [12:20:37]OFD Sender: No OFD packet to send [12:20:42]OFD Sender: No OFD packet to send [12:20:47]OFD Sender: No OFD packet to send [12:20:52]OFD Sender: No OFD packet to send [12:20:57]OFD Sender: No OFD packet to send [12:21:02]OFD Sender: No OFD packet to send [12:21:07]OFD Sender: No OFD packet to send [12:21:12]OFD Sender: No OFD packet to send [12:21:17]OFD Sender: No OFD packet to send [12:21:22]OFD Sender: No OFD packet to send [12:21:27]OFD Sender: No OFD packet to send [12:21:32]OFD Sender: No OFD packet to send [12:21:37]OFD Sender: No OFD packet to send [12:21:42]OFD Sender: No OFD packet to send [12:21:47]OFD Sender: No OFD packet to send [12:21:53]OFD Sender: No OFD packet to send [12:21:58]OFD Sender: No OFD packet to send [12:22:03]OFD Sender: No OFD packet to send [12:22:08]OFD Sender: No OFD packet to send [12:22:13]OFD Sender: No OFD packet to send [12:22:18]OFD Sender: No OFD packet to send [12:22:23]OFD Sender: No OFD packet to send [12:22:28]OFD Sender: No OFD packet to send [12:22:33]OFD Sender: No OFD packet to send [12:22:38]OFD Sender: No OFD packet to send [12:22:43]OFD Sender: No OFD packet to send [12:22:48]OFD Sender: No OFD packet to send [12:22:53]OFD Sender: No OFD packet to send [12:22:58]OFD Sender: No OFD packet to send [12:23:03]OFD Sender: No OFD packet to send [12:23:08]OFD Sender: No OFD packet to send [12:23:13]OFD Sender: No OFD packet to send [12:23:18]OFD Sender: No OFD packet to send [12:23:23]OFD Sender: No OFD packet to send [12:23:28]OFD Sender: No OFD packet to send [12:23:33]OFD Sender: No OFD packet to send [12:23:38]OFD Sender: No OFD packet to send [12:23:43]OFD Sender: No OFD packet to send [12:23:48]OFD Sender: No OFD packet to send [12:23:53]OFD Sender: No OFD packet to send [12:23:58]OFD Sender: No OFD packet to send [12:24:03]OFD Sender: No OFD packet to send [12:24:08]OFD Sender: No OFD packet to send [12:24:13]OFD Sender: No OFD packet to send [12:24:18]OFD Sender: No OFD packet to send [12:24:23]OFD Sender: No OFD packet to send [12:24:28]OFD Sender: No OFD packet to send [12:24:33]OFD Sender: No OFD packet to send [12:24:38]OFD Sender: No OFD packet to send [12:24:43]OFD Sender: No OFD packet to send [12:24:48]OFD Sender: No OFD packet to send [12:24:53]OFD Sender: No OFD packet to send [12:24:58]OFD Sender: No OFD packet to send [12:25:03]OFD Sender: No OFD packet to send [12:25:08]OFD Sender: No OFD packet to send [12:25:13]OFD Sender: No OFD packet to send [12:25:18]OFD Sender: No OFD packet to send [12:25:23]OFD Sender: No OFD packet to send [12:25:28]OFD Sender: No OFD packet to send [12:25:33]OFD Sender: No OFD packet to send [12:25:38]OFD Sender: No OFD packet to send [12:25:43]OFD Sender: No OFD packet to send [12:25:48]OFD Sender: No OFD packet to send [12:25:53]OFD Sender: No OFD packet to send [12:25:58]OFD Sender: No OFD packet to send [12:26:03]OFD Sender: No OFD packet to send [12:26:08]OFD Sender: No OFD packet to send [12:26:13]OFD Sender: No OFD packet to send [12:26:18]OFD Sender: No OFD packet to send [12:26:23]OFD Sender: No OFD packet to send [12:26:28]OFD Sender: No OFD packet to send [12:26:33]OFD Sender: No OFD packet to send [12:26:38]OFD Sender: No OFD packet to send [12:26:43]OFD Sender: No OFD packet to send [12:26:48]OFD Sender: No OFD packet to send [12:26:48]accept exits with 9 [12:26:48]New connection [12:26:48]New thread 3066838372 created [12:26:48]Thread 3066695012 joined [12:26:48]Waiting for new connection... [12:26:48] Sock 9.Parse request [12:26:48]Sock 9.Check first char [12:26:48]Sock 9.First char is OK [12:26:48]request: POST /json_proto HTTP/1.0 [12:26:48]Method: POST [12:26:48]URL: /json_proto [12:26:48]Method is POST - this is cgi request [12:26:48]url: /json_proto [12:26:48]query_string will be loaded in cgi processing [12:26:48]execute_cgi json_proto POST (null) [12:26:48]execute_cgi path=json_proto method=POST [12:26:48]POST find Content-Length [12:26:48]Host: 172.17.35.133:8080 [12:26:48]Content-Length: 1502 [12:26:48]Content-Type: application/json [12:26:48] [12:26:48]POST finish read [12:26:48]Found Content-Length = 1502 [12:26:48]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254478", "tax_sys" : 0, "items" : [ { "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000481453", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro Max 0,45 \u0436/\u0431", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000480302", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u043C\u0430\u043D\u0433\u043E-\u043A\u043B\u0443\u0431 0.45 \u0436/\u0431", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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 }]} ], "payments": [ { "type": 0, "sum" : 325.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:26:48]execute_script... [12:26:48]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254478", "tax_sys" : 0, "items" : [ { "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000481453", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro Max 0,45 \u0436/\u0431", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000480302", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u043C\u0430\u043D\u0433\u043E-\u043A\u043B\u0443\u0431 0.45 \u0436/\u0431", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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 }]} ], "payments": [ { "type": 0, "sum" : 325.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:26:48]POST & json_proto [12:26:48]process_json_proto [12:26:48]json parsed OK: [12:26:48]protocol is kg_v1.0 [12:26:48]action value=close_receipt [12:26:48]process_action close_receipt [12:26:48]cmd_close_receipt [12:26:48]MH_GetDate [12:26:48]Write to MH i2c: F0 00 00 A9 20 B8 [12:26:48]Write i2c OK [12:26:48]MH_I2C_Read... [12:26:48]Read from MH i2c: F0 [12:26:48]MH_I2C_Read... [12:26:48]Read from MH i2c: F0 09 00 [12:26:48]MH_I2C_Read... [12:26:48]Read from MH i2c: F0 09 00 A9 20 00 10 DA 6E 66 8C 55 28 65 ED [12:26:48]GetLastDocTimeStamp 1718540373 [12:26:48]current date 1718540816 [12:26:48]FM_GetShiftState [12:26:48]SAM_PROTO_GetShiftState [12:26:48]wFMCommunicate request_size=4 [12:26:48]MH_SAM_APDU [12:26:48]CAPDU: 80 13 01 00 [12:26:48]Write to MH i2c: E2 08 00 AA 20 80 13 01 00 00 00 00 00 47 [12:26:48]Write i2c OK [12:26:48]MH_I2C_Read... [12:26:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:26:48]Read from MH i2c: E2 [12:26:48]MH_I2C_Read... [12:26:48]Read from MH i2c: E2 0E 00 [12:26:48]MH_I2C_Read... [12:26:48]Read from MH i2c: E2 0E 00 AA 20 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 68 [12:26:48]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [12:26:48]wFMCommunicate OK [12:26:48]SAM_PROTO_GetShiftState done [12:26:48]FM_GetShiftState done [12:26:48]opened in 1718497297 [12:26:48]opened+sec_in_day 1718583697 [12:26:48]quantity*price = 5000 [12:26:48]sum+1 = 5001 [12:26:48]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000481453 Напиток энерг Nitro Max 0,45 ж/б 1.000 * 85.00 = 85.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700000480302 Напиток энерг Nitro манго-клуб 0.45 ж/б 1.000 * 95.00 = 95.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700000480050 Напиток Nitro Energy эн green ж/б 0,45л 1.000 * 95.00 = 95.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 325.00 НСП 1% : 2.87 НДС 12% : 34.52 Наличными: 325.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 29 16.06.2024 12:26 Смена: 327 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22264 ФПД: 39450853196931 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T122657&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22264&fm=39450853196931&tin=02508201610067®Number=0000000000099755&sum=32500 0 [12:26:50]StoreToDocumentArchive [12:26:50]shift 327 fd 22264 [12:26:50]save to /storage/0327/doc_00022264 [12:26:50]save last doc name /storage/0327/doc_00022264 to /storage/kkm_last_doc_name [12:26:50]save OK [12:26:50]Clear old archive folders... [12:26:50]ProcessDocumentItem done err = 0, tmpTLVsize=644 [12:26:50]tlvbuf is B6EA5CC0 [12:26:50]SAM_PROTO_ClearQueue [12:26:50]wFMCommunicate request_size=4 [12:26:50]MH_SAM_APDU [12:26:50]CAPDU: 80 09 00 00 [12:26:50]Write to MH i2c: E2 08 00 B7 20 80 09 00 00 00 00 00 00 49 [12:26:50]Write i2c OK [12:26:50]MH_I2C_Read... [12:26:50]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:26:50]Read from MH i2c: E2 [12:26:50]MH_I2C_Read... [12:26:50]Read from MH i2c: E2 03 00 [12:26:50]MH_I2C_Read... [12:26:50]Read from MH i2c: E2 03 00 B7 20 00 90 00 4B [12:26:50]RAPDU: 90 00 [12:26:50]wFMCommunicate OK [12:26:50]SAM_PROTO_ClearQueue done [12:26:50]KKMCreateOFDPacket [12:26:50]OFDProtocolAddRootSTLVToBuf [12:26:50]FM_MakeSignedData [12:26:50]FM_MakeSignedData [12:26:50]SAM_PROTO_SignData [12:26:50]wFMCommunicate request_size=4 [12:26:50]MH_SAM_APDU [12:26:50]CAPDU: 80 0D 01 02 [12:26:50]Write to MH i2c: E2 08 00 B8 20 80 0D 01 02 00 00 00 00 51 [12:26:50]Write i2c OK [12:26:50]MH_I2C_Read... [12:26:50]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:26:50]Read from MH i2c: E2 [12:26:50]MH_I2C_Read... [12:26:50]Read from MH i2c: E2 03 00 [12:26:50]MH_I2C_Read... [12:26:50]Read from MH i2c: E2 03 00 B8 20 00 90 00 4C [12:26:50]RAPDU: 90 00 [12:26:50]wFMCommunicate OK [12:26:50]wFMCommunicate request_size=255 [12:26:50]MH_SAM_APDU [12:26:50]CAPDU: 80 0D 02 02 FA 03 00 84 02 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 72 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 34 35 33 06 04 2E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 4D 61 78 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 82 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 30 32 06 04 3E [12:26:50]Write to MH i2c: E2 02 01 B9 20 80 0D 02 02 FA 00 03 00 84 02 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 72 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 34 35 33 06 04 2E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 4D 61 78 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 82 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 30 32 06 04 3E 00 00 D2 [12:26:50]Write i2c OK [12:26:50]MH_I2C_Read... [12:26:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:26:50]Read from MH i2c: E2 [12:26:50]MH_I2C_Read... [12:26:50]Read from MH i2c: E2 03 00 [12:26:50]MH_I2C_Read... [12:26:50]Read from MH i2c: E2 03 00 B9 20 00 90 00 4D [12:26:50]RAPDU: 90 00 [12:26:50]wFMCommunicate OK [12:26:50]wFMCommunicate request_size=255 [12:26:50]MH_SAM_APDU [12:26:50]CAPDU: 80 0D 02 02 FA 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BB D1 83 D0 B1 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 F4 7E 00 00 00 00 EB 03 26 00 EF 03 0F [12:26:50]Write to MH i2c: E2 02 01 BA 20 80 0D 02 02 FA 00 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BB D1 83 D0 B1 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 F4 7E 00 00 00 00 EB 03 26 00 EF 03 0F 00 00 33 [12:26:50]Write i2c OK [12:26:50]MH_I2C_Read... [12:26:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:26:50]Read from MH i2c: E2 [12:26:50]MH_I2C_Read... [12:26:50]Read from MH i2c: E2 03 00 [12:26:50]MH_I2C_Read... [12:26:50]Read from MH i2c: E2 03 00 BA 20 00 90 00 4E [12:26:50]RAPDU: 90 00 [12:26:50]wFMCommunicate OK [12:26:50]wFMCommunicate request_size=153 [12:26:50]MH_SAM_APDU [12:26:50]CAPDU: 80 0D 02 02 94 00 F6 03 01 00 01 F7 03 06 00 1F 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7C 0D 00 00 00 00 07 04 06 00 F4 7E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 11 DA 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 F8 56 00 00 35 04 06 00 23 E1 5E 17 44 83 [12:26:50]Write to MH i2c: E2 9C 00 BB 20 80 0D 02 02 94 00 00 F6 03 01 00 01 F7 03 06 00 1F 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7C 0D 00 00 00 00 07 04 06 00 F4 7E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 11 DA 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 F8 56 00 00 35 04 06 00 23 E1 5E 17 44 83 00 00 7B [12:26:50]Write i2c OK [12:26:50]MH_I2C_Read... [12:26:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:26:50]Read from MH i2c: E2 [12:26:50]MH_I2C_Read... [12:26:50]Read from MH i2c: E2 03 00 [12:26:50]MH_I2C_Read... [12:26:50]Read from MH i2c: E2 03 00 BB 20 00 90 00 4F [12:26:50]RAPDU: 90 00 [12:26:50]wFMCommunicate OK [12:26:50]wFMCommunicate request_size=4 [12:26:50]MH_SAM_APDU [12:26:50]CAPDU: 80 0D 03 02 [12:26:50]Write to MH i2c: E2 08 00 BC 20 80 0D 03 02 00 00 00 00 57 [12:26:50]Write i2c OK [12:26:50]MH_I2C_Read... [12:26:50]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:26:50]Read from MH i2c: E2 [12:26:50]MH_I2C_Read... [12:26:50]Read from MH i2c: E2 0B 00 [12:26:50]MH_I2C_Read... [12:26:50]Read from MH i2c: E2 0B 00 BC 20 00 83 99 C0 63 1C 3C 2E 2E 90 00 4B [12:26:50]RAPDU: 83 99 C0 63 1C 3C 2E 2E 90 00 [12:26:50]wFMCommunicate OK [12:26:50]SAM_PROTO_SignData done [12:26:50]FM_MakeSignedData done [12:26:50]CreateOFDProtocolMessage [12:26:50]wFMCommunicate request_size=4 [12:26:50]MH_SAM_APDU [12:26:50]CAPDU: 80 11 00 00 [12:26:50]Write to MH i2c: E2 08 00 BD 20 80 11 00 00 00 00 00 00 57 [12:26:50]Write i2c OK [12:26:50]MH_I2C_Read... [12:26:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:26:50]Read from MH i2c: E2 [12:26:50]MH_I2C_Read... [12:26:50]Read from MH i2c: E2 17 00 [12:26:50]MH_I2C_Read... [12:26:50]Read from MH i2c: E2 17 00 BD 20 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 A9 [12:26:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [12:26:50]wFMCommunicate OK [12:26:50]CreateOFDProtocolMessage done [12:26:50]OFDSenderStorePacket 22264 [12:26:50]StoreOFDPacket docnum=22264 [12:26:50]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 98 02 00 00 AD 6F 90 02 E0 37 5A 03 01 00 03 00 84 02 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 72 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 34 35 33 06 04 2E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 4D 61 78 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 82 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 30 32 06 04 3E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BB D1 83 D0 B1 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 F4 7E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1F 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7C 0D 00 00 00 00 07 04 06 00 F4 7E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 11 DA 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 F8 56 00 00 35 04 06 00 23 E1 5E 17 44 83 83 99 C0 63 1C 3C 2E 2E [12:26:50]CheckFolder [12:26:50]dirname=/storage/ofd_packets [12:26:50]CheckFolder done [12:26:50]ProducePacketName [12:26:50]name=ofd_packets/00022264 [12:26:50]NVStorageSaveData ofd_packets/00022264 [12:26:50]File name is /storage/ofd_packets/00022264 [12:26:50]Write 694 bytes [12:26:50]NVStorageSaveData done [12:26:50]OFDSenderStorePacket done [12:26:50]KKMCreateOFDPacket done [12:26:50]NVStorageSaveData kkm_last_timestamp [12:26:50]File name is /storage/kkm_last_timestamp [12:26:50]Write 4 bytes [12:26:50]NVStorageSaveData done [12:26:50]ExternCall_PrintAddStr [12:26:50]wPrintStart [12:26:50]Write to MH i2c: 01 00 00 BE 20 DE [12:26:50]Write i2c OK [12:26:50]MH_I2C_Read... [12:26:50]Read from MH i2c: 01 [12:26:50]MH_I2C_Read... [12:26:50]Read from MH i2c: 01 07 00 [12:26:50]MH_I2C_Read... [12:26:50]Read from MH i2c: 01 07 00 BE 20 00 00 00 00 00 FF 0F F3 [12:26:50]RasterBufferAndPrint [12:26:50]line Счет N : (3)254478 [12:26:50]line ИНН: 02508201610067 [12:26:50]line Контрольно-Кассовый Чек [12:26:50]line ПРОДАЖА [12:26:51]line Товар: 4700000160358 [12:26:51]line Вода Легенда 1л [12:26:51]line 1.000 * 50.00 [12:26:51]line = 50.00 [12:26:51]line НДС 12% НСП 1% [12:26:51]line > о реализуемом товаре [12:26:51]line Товар: 4700000481453 [12:26:51]line Напиток энерг Nitro Max 0,45 ж/б [12:26:51]line 1.000 * 85.00 [12:26:51]line = 85.00 [12:26:51]line НДС 12% НСП 1% [12:26:51]line > о реализуемом товаре [12:26:51]line Товар: 4700000480302 [12:26:51]line Напиток энерг Nitro манго-клуб 0.45 ж/б [12:26:51]line 1.000 * 95.00 [12:26:51]line = 95.00 [12:26:51]line НДС 12% НСП 1% [12:26:51]line > о реализуемом товаре [12:26:51]line Товар: 4700000480050 [12:26:51]line Напиток Nitro Energy эн green ж/б 0,45л [12:26:51]line 1.000 * 95.00 [12:26:51]line = 95.00 [12:26:51]line НДС 12% НСП 1% [12:26:51]line > о реализуемом товаре [12:26:51]line ИТОГО: 325.00 [12:26:51]line НСП 1% : 2.87 [12:26:51]line НДС 12% : 34.52 [12:26:51]line Наличными: 325.00 [12:26:51]line Безнал.: 0.00 [12:26:51]line Место: АЗС № 76 "Партнер Нефть" [12:26:51]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [12:26:51]line СНО: Общий режим [12:26:51]line Чек 29 16.06.2024 12:26 [12:26:51]line Смена: 327 ФФД: 1.0 [12:26:51]line ЗНМ: 0300000200 [12:26:51]line РНМ: 0000000000099755 [12:26:51]line Версия ККМ: 001 [12:26:51]line ФМ: 0000000000965344 [12:26:51]line ФД: 22264 [12:26:51]line ФПД: 39450853196931 [12:26:51]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T122657&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22264&fm=39450853196931&tin=02508201610067®Number=0000000000099755&sum=32500 [12:26:51]OFD Sender: Processing packet 22264 [packets to send 5, broken 4] [12:26:51]ProducePacketName [12:26:51]name=ofd_packets/00022264 [12:26:51]OFD Sender: To server: pG, [12:26:51]CommunicateWithHost lk.salyk.kg:30040 [12:26:51]ConnectInit lk.salyk.kg [12:26:51]line 0 [12:26:51]written 0, free lines is 4095 [12:26:51]Connected sock=10 [12:26:51]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 98 02 00 00 AD 6F 90 02 E0 37 5A 03 01 00 03 00 84 02 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 72 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 34 35 33 06 04 2E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 4D 61 78 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 82 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 30 32 06 04 3E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BB D1 83 D0 B1 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 F4 7E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1F 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7C 0D 00 00 00 00 07 04 06 00 F4 7E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 11 DA 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 F8 56 00 00 35 04 06 00 23 E1 5E 17 44 83 83 99 C0 63 1C 3C 2E 2E [12:26:51]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 8F 70 47 00 4C EC A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 F8 56 00 00 F4 03 04 00 CB 82 6E 66 B6 04 01 00 00 08 71 75 EF 1C 75 01 CD [12:26:51]CommunicateWithHost err = 0 [12:26:51]CheckOFDResponse [12:26:51]1017 (14) - 77093643461234 [12:26:51]1041 (16) - 0000000000965344 [12:26:51]1040 (4) - 22264 [12:26:51]1012 (4) - 16.06.2024 06:14 [12:26:51]1206 (1) - 0 [12:26:51]OFD Sender: Remove packet 22264 [12:26:51]ProducePacketName [12:26:51]name=ofd_packets/00022264 [12:26:51]NVStorageDeleteData [12:26:51]Write to MH i2c: 01 00 00 FB 20 1B [12:26:51]Write i2c OK [12:26:51]MH_I2C_Read... [12:26:51]Read from MH i2c: 01 [12:26:51]MH_I2C_Read... [12:26:51]Read from MH i2c: 01 07 00 [12:26:51]MH_I2C_Read... [12:26:51]Read from MH i2c: 01 07 00 FB 20 00 00 00 00 00 09 0C 37 [12:26:51]RasterBufferAndPrint [12:26:51]line [12:26:51]line [12:26:51]line [12:26:51]line [12:26:51]line [12:26:51]written 0, free lines is 3090 [12:26:51]MH_Cut [12:26:51]Write to MH i2c: D1 01 00 02 21 01 F5 [12:26:51]Write i2c OK [12:26:51]MH_I2C_Read... [12:26:51]Read from MH i2c: D1 [12:26:51]MH_I2C_Read... [12:26:51]Read from MH i2c: D1 01 00 [12:26:51]MH_I2C_Read... [12:26:51]Read from MH i2c: D1 01 00 02 21 00 F4 [12:26:51]Write to MH i2c: 01 00 00 03 21 24 [12:26:51]Write i2c OK [12:26:51]MH_I2C_Read... [12:26:52]OFD Sender: No OFD packet to send [12:26:52]*** Cut start [12:26:52]*** Partial cut [12:26:52]*** CUTSNS_PIN = 1 [12:26:52]*** CUTSNS_PIN = 0 [12:26:53]*** Brake cut motor [12:26:53]Read from MH i2c: 01 [12:26:53]MH_I2C_Read... [12:26:53]*** Stop cut motor [12:26:53]*** Cut end [12:26:53]Read from MH i2c: 01 07 00 [12:26:53]MH_I2C_Read... [12:26:53]Read from MH i2c: 01 07 00 03 21 00 00 00 00 00 FF 0F 39 [12:26:53]process_action close_receipt done [12:26:53]requested_data is exist [12:26:53]produce_requested_data [12:26:53]requested_item fm.sn is exist - process it [12:26:53]wFMCommunicate request_size=4 [12:26:53]MH_SAM_APDU [12:26:53]CAPDU: 80 11 00 00 [12:26:53]Write to MH i2c: E2 08 00 04 21 80 11 00 00 00 00 00 00 9F [12:26:53]Write i2c OK [12:26:53]MH_I2C_Read... [12:26:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:26:53]Read from MH i2c: E2 [12:26:53]MH_I2C_Read... [12:26:53]Read from MH i2c: E2 17 00 [12:26:53]MH_I2C_Read... [12:26:53]Read from MH i2c: E2 17 00 04 21 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 F1 [12:26:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [12:26:53]wFMCommunicate OK [12:26:53]requested_item fd.num is exist - process it [12:26:53]SAM_PROTO_GetFieldsCounters [12:26:53]wFMCommunicate request_size=4 [12:26:53]MH_SAM_APDU [12:26:53]CAPDU: 80 13 00 00 [12:26:53]Write to MH i2c: E2 08 00 05 21 80 13 00 00 00 00 00 00 A2 [12:26:53]Write i2c OK [12:26:53]MH_I2C_Read... [12:26:53]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:26:53]Read from MH i2c: E2 [12:26:53]MH_I2C_Read... [12:26:53]Read from MH i2c: E2 62 00 [12:26:53]MH_I2C_Read... [12:26:53]Read from MH i2c: E2 62 00 05 21 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 F8 56 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 1D 00 00 00 5E 04 04 00 1D 00 00 00 57 04 04 00 1E 00 00 00 19 04 04 00 00 00 00 00 90 00 B9 [12:26:53]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 F8 56 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 1D 00 00 00 5E 04 04 00 1D 00 00 00 57 04 04 00 1E 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:26:53]wFMCommunicate OK [12:26:53]SAM_PROTO_GetFieldsCounters done [12:26:53]requested_item shift.num is exist - process it [12:26:53]requested_item shift.opened is exist - process it [12:26:53]req_shift_opened [12:26:53]FM_GetShiftState [12:26:53]SAM_PROTO_GetShiftState [12:26:53]wFMCommunicate request_size=4 [12:26:53]MH_SAM_APDU [12:26:53]CAPDU: 80 13 01 00 [12:26:53]Write to MH i2c: E2 08 00 06 21 80 13 01 00 00 00 00 00 A4 [12:26:53]Write i2c OK [12:26:53]MH_I2C_Read... [12:26:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:26:53]Read from MH i2c: E2 [12:26:53]MH_I2C_Read... [12:26:53]Read from MH i2c: E2 0E 00 [12:26:53]MH_I2C_Read... [12:26:53]Read from MH i2c: E2 0E 00 06 21 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 C5 [12:26:53]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [12:26:53]wFMCommunicate OK [12:26:53]SAM_PROTO_GetShiftState done [12:26:53]FM_GetShiftState done [12:26:53]req_shift_opened done [12:26:53]requested_item shift.open_date is exist - process it [12:26:53]req_shift_open_date [12:26:53]req_shift_open_date done [12:26:53]produce_requested_data done [12:26:53]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22264,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297} [12:26:53]process_action_free close_receipt [12:26:53]json_value_free [12:26:53]json_value_free done [12:26:53]process_json_proto returns [12:26:53]Send response to host [12:26:53]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22264,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297}}} [12:26:53]free response buf [12:26:53]execute_script done [12:26:53]execute_script returns [12:26:53]free content buf [12:26:53]Sock 9.Close socket [12:26:53]Sock 9.Thread stoped [12:26:57]OFD Sender: No OFD packet to send [12:27:02]OFD Sender: No OFD packet to send [12:27:07]OFD Sender: No OFD packet to send [12:27:12]OFD Sender: No OFD packet to send [12:27:17]OFD Sender: No OFD packet to send [12:27:22]OFD Sender: No OFD packet to send [12:27:27]OFD Sender: No OFD packet to send [12:27:32]OFD Sender: No OFD packet to send [12:27:37]OFD Sender: No OFD packet to send [12:27:42]OFD Sender: No OFD packet to send [12:27:47]OFD Sender: No OFD packet to send [12:27:52]OFD Sender: No OFD packet to send [12:27:57]OFD Sender: No OFD packet to send [12:28:02]OFD Sender: No OFD packet to send [12:28:07]OFD Sender: No OFD packet to send [12:28:12]OFD Sender: No OFD packet to send [12:28:17]OFD Sender: No OFD packet to send [12:28:22]OFD Sender: No OFD packet to send [12:28:27]OFD Sender: No OFD packet to send [12:28:32]OFD Sender: No OFD packet to send [12:28:37]OFD Sender: No OFD packet to send [12:28:42]OFD Sender: No OFD packet to send [12:28:47]OFD Sender: No OFD packet to send [12:28:52]OFD Sender: No OFD packet to send [12:28:57]OFD Sender: No OFD packet to send [12:29:02]OFD Sender: No OFD packet to send [12:29:07]OFD Sender: No OFD packet to send [12:29:12]OFD Sender: No OFD packet to send [12:29:17]OFD Sender: No OFD packet to send [12:29:22]OFD Sender: No OFD packet to send [12:29:27]OFD Sender: No OFD packet to send [12:29:32]OFD Sender: No OFD packet to send [12:29:37]OFD Sender: No OFD packet to send [12:29:42]OFD Sender: No OFD packet to send [12:29:47]OFD Sender: No OFD packet to send [12:29:52]OFD Sender: No OFD packet to send [12:29:57]OFD Sender: No OFD packet to send [12:30:02]OFD Sender: No OFD packet to send [12:30:07]OFD Sender: No OFD packet to send [12:30:12]OFD Sender: No OFD packet to send [12:30:17]OFD Sender: No OFD packet to send [12:30:22]OFD Sender: No OFD packet to send [12:30:27]OFD Sender: No OFD packet to send [12:30:32]OFD Sender: No OFD packet to send [12:30:37]OFD Sender: No OFD packet to send [12:30:42]OFD Sender: No OFD packet to send [12:30:47]OFD Sender: No OFD packet to send [12:30:52]OFD Sender: No OFD packet to send [12:30:57]OFD Sender: No OFD packet to send [12:31:02]OFD Sender: No OFD packet to send [12:31:07]OFD Sender: No OFD packet to send [12:31:12]OFD Sender: No OFD packet to send [12:31:17]OFD Sender: No OFD packet to send [12:31:22]OFD Sender: No OFD packet to send [12:31:27]OFD Sender: No OFD packet to send [12:31:32]OFD Sender: No OFD packet to send [12:31:37]OFD Sender: No OFD packet to send [12:31:42]OFD Sender: No OFD packet to send [12:31:47]OFD Sender: No OFD packet to send [12:31:52]OFD Sender: No OFD packet to send [12:31:57]OFD Sender: No OFD packet to send [12:32:02]OFD Sender: No OFD packet to send [12:32:07]OFD Sender: No OFD packet to send [12:32:12]OFD Sender: No OFD packet to send [12:32:17]OFD Sender: No OFD packet to send [12:32:22]OFD Sender: No OFD packet to send [12:32:27]OFD Sender: No OFD packet to send [12:32:32]OFD Sender: No OFD packet to send [12:32:37]OFD Sender: No OFD packet to send [12:32:42]OFD Sender: No OFD packet to send [12:32:47]OFD Sender: No OFD packet to send [12:32:52]OFD Sender: No OFD packet to send [12:32:57]OFD Sender: No OFD packet to send [12:33:02]OFD Sender: No OFD packet to send [12:33:07]OFD Sender: No OFD packet to send [12:33:12]OFD Sender: No OFD packet to send [12:33:17]OFD Sender: No OFD packet to send [12:33:22]OFD Sender: No OFD packet to send [12:33:27]OFD Sender: No OFD packet to send [12:33:32]OFD Sender: No OFD packet to send [12:33:37]OFD Sender: No OFD packet to send [12:33:42]OFD Sender: No OFD packet to send [12:33:47]OFD Sender: No OFD packet to send [12:33:52]OFD Sender: No OFD packet to send [12:33:57]OFD Sender: No OFD packet to send [12:34:02]OFD Sender: No OFD packet to send [12:34:07]OFD Sender: No OFD packet to send [12:34:12]OFD Sender: No OFD packet to send [12:34:17]OFD Sender: No OFD packet to send [12:34:22]OFD Sender: No OFD packet to send [12:34:27]OFD Sender: No OFD packet to send [12:34:32]OFD Sender: No OFD packet to send [12:34:37]OFD Sender: No OFD packet to send [12:34:42]OFD Sender: No OFD packet to send [12:34:47]OFD Sender: No OFD packet to send [12:34:52]OFD Sender: No OFD packet to send [12:34:57]OFD Sender: No OFD packet to send [12:35:02]OFD Sender: No OFD packet to send [12:35:07]OFD Sender: No OFD packet to send [12:35:12]OFD Sender: No OFD packet to send [12:35:17]OFD Sender: No OFD packet to send [12:35:22]OFD Sender: No OFD packet to send [12:35:27]OFD Sender: No OFD packet to send [12:35:32]OFD Sender: No OFD packet to send [12:35:37]OFD Sender: No OFD packet to send [12:35:42]OFD Sender: No OFD packet to send [12:35:47]OFD Sender: No OFD packet to send [12:35:50]accept exits with 8 [12:35:50]New connection [12:35:50]New thread 3066695012 created [12:35:50]Thread 3066838372 joined [12:35:50]Waiting for new connection... [12:35:50] Sock 8.Parse request [12:35:50]Sock 8.Check first char [12:35:50]Sock 8.First char is OK [12:35:50]request: POST /json_proto HTTP/1.0 [12:35:50]Method: POST [12:35:50]URL: /json_proto [12:35:50]Method is POST - this is cgi request [12:35:50]url: /json_proto [12:35:50]query_string will be loaded in cgi processing [12:35:50]execute_cgi json_proto POST (null) [12:35:50]execute_cgi path=json_proto method=POST [12:35:50]POST find Content-Length [12:35:50]Host: 172.17.35.133:8080 [12:35:50]Content-Length: 623 [12:35:50]Content-Type: application/json [12:35:50] [12:35:50]POST finish read [12:35:50]Found Content-Length = 623 [12:35:50]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254479", "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 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:35:50]execute_script... [12:35: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)254479", "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 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:35:50]POST & json_proto [12:35:50]process_json_proto [12:35:50]json parsed OK: [12:35:50]protocol is kg_v1.0 [12:35:50]action value=close_receipt [12:35:50]process_action close_receipt [12:35:50]cmd_close_receipt [12:35:50]MH_GetDate [12:35:50]Write to MH i2c: F0 00 00 07 21 17 [12:35:50]Write i2c OK [12:35:50]MH_I2C_Read... [12:35:50]Read from MH i2c: F0 [12:35:50]MH_I2C_Read... [12:35:50]Read from MH i2c: F0 09 00 [12:35:50]MH_I2C_Read... [12:35:50]Read from MH i2c: F0 09 00 07 21 00 2F DC 6E 66 8C 55 28 65 6D [12:35:50]GetLastDocTimeStamp 1718540817 [12:35:50]current date 1718541359 [12:35:50]FM_GetShiftState [12:35:50]SAM_PROTO_GetShiftState [12:35:50]wFMCommunicate request_size=4 [12:35:50]MH_SAM_APDU [12:35:50]CAPDU: 80 13 01 00 [12:35:50]Write to MH i2c: E2 08 00 08 21 80 13 01 00 00 00 00 00 A6 [12:35:50]Write i2c OK [12:35:50]MH_I2C_Read... [12:35:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:35:50]Read from MH i2c: E2 [12:35:50]MH_I2C_Read... [12:35:50]Read from MH i2c: E2 0E 00 [12:35:50]MH_I2C_Read... [12:35:50]Read from MH i2c: E2 0E 00 08 21 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 C7 [12:35:50]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [12:35:50]wFMCommunicate OK [12:35:50]SAM_PROTO_GetShiftState done [12:35:50]FM_GetShiftState done [12:35:50]opened in 1718497297 [12:35:50]opened+sec_in_day 1718583697 [12:35:50]quantity*price = 14000 [12:35:50]sum+1 = 14001 [12:35:50]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 140.00 НСП 1% : 1.24 НДС 12% : 14.87 Наличными: 140.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 30 16.06.2024 12:35 Смена: 327 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22265 ФПД: 228927460227636 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T123559&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22265&fm=228927460227636&tin=02508201610067®Number=0000000000099755&sum=14000 0 [12:35:52]StoreToDocumentArchive [12:35:52]shift 327 fd 22265 [12:35:52]save to /storage/0327/doc_00022265 [12:35:52]save last doc name /storage/0327/doc_00022265 to /storage/kkm_last_doc_name [12:35:52]save OK [12:35:52]Clear old archive folders... [12:35:52]ProcessDocumentItem done err = 0, tmpTLVsize=275 [12:35:52]tlvbuf is B6EBED70 [12:35:52]SAM_PROTO_ClearQueue [12:35:52]wFMCommunicate request_size=4 [12:35:52]MH_SAM_APDU [12:35:52]CAPDU: 80 09 00 00 [12:35:52]Write to MH i2c: E2 08 00 15 21 80 09 00 00 00 00 00 00 A8 [12:35:52]Write i2c OK [12:35:52]MH_I2C_Read... [12:35:52]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:35:52]Read from MH i2c: E2 [12:35:52]MH_I2C_Read... [12:35:52]Read from MH i2c: E2 03 00 [12:35:52]MH_I2C_Read... [12:35:52]Read from MH i2c: E2 03 00 15 21 00 90 00 AA [12:35:52]RAPDU: 90 00 [12:35:52]wFMCommunicate OK [12:35:52]SAM_PROTO_ClearQueue done [12:35:52]KKMCreateOFDPacket [12:35:52]OFDProtocolAddRootSTLVToBuf [12:35:52]FM_MakeSignedData [12:35:52]FM_MakeSignedData [12:35:52]SAM_PROTO_SignData [12:35:52]wFMCommunicate request_size=4 [12:35:52]MH_SAM_APDU [12:35:52]CAPDU: 80 0D 01 02 [12:35:52]Write to MH i2c: E2 08 00 16 21 80 0D 01 02 00 00 00 00 B0 [12:35:52]Write i2c OK [12:35:52]MH_I2C_Read... [12:35:52]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:35:52]Read from MH i2c: E2 [12:35:52]MH_I2C_Read... [12:35:52]Read from MH i2c: E2 03 00 [12:35:52]MH_I2C_Read... [12:35:52]Read from MH i2c: E2 03 00 16 21 00 90 00 AB [12:35:52]RAPDU: 90 00 [12:35:52]wFMCommunicate OK [12:35:52]wFMCommunicate request_size=255 [12:35:52]MH_SAM_APDU [12:35:52]CAPDU: 80 0D 02 02 FA 03 00 13 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 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 1E 00 00 00 F4 03 04 00 2F DC 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 [12:35:52]Write to MH i2c: E2 02 01 17 21 80 0D 02 02 FA 00 03 00 13 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 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 1E 00 00 00 F4 03 04 00 2F DC 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 00 00 8F [12:35:52]Write i2c OK [12:35:52]MH_I2C_Read... [12:35:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:35:52]Read from MH i2c: E2 [12:35:52]MH_I2C_Read... [12:35:52]Read from MH i2c: E2 03 00 [12:35:52]MH_I2C_Read... [12:35:52]Read from MH i2c: E2 03 00 17 21 00 90 00 AC [12:35:52]RAPDU: 90 00 [12:35:52]wFMCommunicate OK [12:35:52]wFMCommunicate request_size=34 [12:35:52]MH_SAM_APDU [12:35:52]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 F9 56 00 00 35 04 06 00 D0 35 53 F2 3A 34 [12:35:52]Write to MH i2c: E2 25 00 18 21 80 0D 02 02 1D 00 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 F9 56 00 00 35 04 06 00 D0 35 53 F2 3A 34 00 00 7A [12:35:52]Write i2c OK [12:35:52]MH_I2C_Read... [12:35:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:35:52]Read from MH i2c: E2 [12:35:52]MH_I2C_Read... [12:35:52]Read from MH i2c: E2 03 00 [12:35:52]MH_I2C_Read... [12:35:52]Read from MH i2c: E2 03 00 18 21 00 90 00 AD [12:35:52]RAPDU: 90 00 [12:35:52]wFMCommunicate OK [12:35:52]wFMCommunicate request_size=4 [12:35:52]MH_SAM_APDU [12:35:52]CAPDU: 80 0D 03 02 [12:35:52]Write to MH i2c: E2 08 00 19 21 80 0D 03 02 00 00 00 00 B5 [12:35:52]Write i2c OK [12:35:52]MH_I2C_Read... [12:35:52]OFD Sender: No OFD packet to send [12:35:52]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:35:52]Read from MH i2c: E2 [12:35:52]MH_I2C_Read... [12:35:52]Read from MH i2c: E2 0B 00 [12:35:52]MH_I2C_Read... [12:35:52]Read from MH i2c: E2 0B 00 19 21 00 3A 60 53 D3 53 38 CE 32 90 00 01 [12:35:52]RAPDU: 3A 60 53 D3 53 38 CE 32 90 00 [12:35:52]wFMCommunicate OK [12:35:52]SAM_PROTO_SignData done [12:35:52]FM_MakeSignedData done [12:35:52]CreateOFDProtocolMessage [12:35:52]wFMCommunicate request_size=4 [12:35:52]MH_SAM_APDU [12:35:52]CAPDU: 80 11 00 00 [12:35:52]Write to MH i2c: E2 08 00 1A 21 80 11 00 00 00 00 00 00 B5 [12:35:52]Write i2c OK [12:35:52]MH_I2C_Read... [12:35:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:35:52]Read from MH i2c: E2 [12:35:52]MH_I2C_Read... [12:35:52]Read from MH i2c: E2 17 00 [12:35:52]MH_I2C_Read... [12:35:52]Read from MH i2c: E2 17 00 1A 21 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 07 [12:35:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [12:35:52]wFMCommunicate OK [12:35:52]CreateOFDProtocolMessage done [12:35:52]OFDSenderStorePacket 22265 [12:35:52]StoreOFDPacket docnum=22265 [12:35:52]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 27 01 00 00 C6 C9 1F 01 5A 85 5A 03 01 00 03 00 13 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 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 1E 00 00 00 F4 03 04 00 2F DC 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 F9 56 00 00 35 04 06 00 D0 35 53 F2 3A 34 3A 60 53 D3 53 38 CE 32 [12:35:52]CheckFolder [12:35:52]dirname=/storage/ofd_packets [12:35:52]CheckFolder done [12:35:52]ProducePacketName [12:35:52]name=ofd_packets/00022265 [12:35:52]NVStorageSaveData ofd_packets/00022265 [12:35:52]File name is /storage/ofd_packets/00022265 [12:35:52]Write 325 bytes [12:35:52]NVStorageSaveData done [12:35:52]OFDSenderStorePacket done [12:35:52]KKMCreateOFDPacket done [12:35:52]NVStorageSaveData kkm_last_timestamp [12:35:52]File name is /storage/kkm_last_timestamp [12:35:52]Write 4 bytes [12:35:52]NVStorageSaveData done [12:35:52]ExternCall_PrintAddStr [12:35:52]wPrintStart [12:35:52]Write to MH i2c: 01 00 00 1B 21 3C [12:35:52]Write i2c OK [12:35:52]MH_I2C_Read... [12:35:52]Read from MH i2c: 01 [12:35:52]MH_I2C_Read... [12:35:52]Read from MH i2c: 01 07 00 [12:35:52]MH_I2C_Read... [12:35:52]Read from MH i2c: 01 07 00 1B 21 00 00 00 00 00 FF 0F 51 [12:35:52]RasterBufferAndPrint [12:35:52]line Счет N : (3)254479 [12:35:52]line ИНН: 02508201610067 [12:35:52]line Контрольно-Кассовый Чек [12:35:52]line ПРОДАЖА [12:35:52]line Товар: 48743587 [12:35:52]line Сигареты Winston XStyle Silver [12:35:52]line 1.000 * 140.00 [12:35:52]line = 140.00 [12:35:52]line НДС 12% НСП 1% [12:35:52]line > о реализуемом товаре [12:35:52]line ИТОГО: 140.00 [12:35:52]line НСП 1% : 1.24 [12:35:52]line НДС 12% : 14.87 [12:35:52]line Наличными: 140.00 [12:35:52]line Безнал.: 0.00 [12:35:52]line Место: АЗС № 76 "Партнер Нефть" [12:35:52]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [12:35:52]line СНО: Общий режим [12:35:52]line Чек 30 16.06.2024 12:35 [12:35:52]line Смена: 327 ФФД: 1.0 [12:35:52]line ЗНМ: 0300000200 [12:35:52]line РНМ: 0000000000099755 [12:35:52]line Версия ККМ: 001 [12:35:52]line ФМ: 0000000000965344 [12:35:52]line ФД: 22265 [12:35:52]line ФПД: 228927460227636 [12:35:52]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T123559&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22265&fm=228927460227636&tin=02508201610067®Number=0000000000099755&sum=14000 [12:35:52]line 0 [12:35:52]OFD Sender: Processing packet 22265 [packets to send 5, broken 4] [12:35:52]ProducePacketName [12:35:52]name=ofd_packets/00022265 [12:35:52]OFD Sender: To server: pG, [12:35:52]CommunicateWithHost lk.salyk.kg:30040 [12:35:52]ConnectInit lk.salyk.kg [12:35:52]written 0, free lines is 4095 [12:35:53]Connected sock=11 [12:35:53]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 27 01 00 00 C6 C9 1F 01 5A 85 5A 03 01 00 03 00 13 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 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 1E 00 00 00 F4 03 04 00 2F DC 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 F9 56 00 00 35 04 06 00 D0 35 53 F2 3A 34 3A 60 53 D3 53 38 CE 32 [12:35:53]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 65 CA 47 00 BE E4 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 F9 56 00 00 F4 03 04 00 E9 84 6E 66 B6 04 01 00 00 9B E8 89 00 C5 61 61 ED [12:35:53]CommunicateWithHost err = 0 [12:35:53]CheckOFDResponse [12:35:53]1017 (14) - 77093643461234 [12:35:53]1041 (16) - 0000000000965344 [12:35:53]1040 (4) - 22265 [12:35:53]1012 (4) - 16.06.2024 06:23 [12:35:53]1206 (1) - 0 [12:35:53]OFD Sender: Remove packet 22265 [12:35:53]ProducePacketName [12:35:53]name=ofd_packets/00022265 [12:35:53]NVStorageDeleteData [12:35:53]Write to MH i2c: 01 00 00 44 21 65 [12:35:53]Write i2c OK [12:35:53]MH_I2C_Read... [12:35:53]Read from MH i2c: 01 [12:35:53]MH_I2C_Read... [12:35:53]Read from MH i2c: 01 07 00 [12:35:53]MH_I2C_Read... [12:35:53]Read from MH i2c: 01 07 00 44 21 00 00 00 00 00 09 0D 82 [12:35:53]RasterBufferAndPrint [12:35:53]line [12:35:53]line [12:35:53]line [12:35:53]line [12:35:53]line [12:35:53]written 0, free lines is 3343 [12:35:53]MH_Cut [12:35:53]Write to MH i2c: D1 01 00 4B 21 01 3E [12:35:53]Write i2c OK [12:35:53]MH_I2C_Read... [12:35:53]Read from MH i2c: D1 [12:35:53]MH_I2C_Read... [12:35:53]Read from MH i2c: D1 01 00 [12:35:53]MH_I2C_Read... [12:35:53]Read from MH i2c: D1 01 00 4B 21 00 3D [12:35:53]Write to MH i2c: 01 00 00 4C 21 6D [12:35:53]Write i2c OK [12:35:53]MH_I2C_Read... [12:35:53]OFD Sender: No OFD packet to send [12:35:54]*** Cut start [12:35:54]*** Partial cut [12:35:54]*** CUTSNS_PIN = 1 [12:35:54]*** CUTSNS_PIN = 0 [12:35:54]*** Brake cut motor [12:35:54]Read from MH i2c: 01 [12:35:54]MH_I2C_Read... [12:35:54]*** Stop cut motor [12:35:54]*** Cut end [12:35:54]Read from MH i2c: 01 07 00 [12:35:54]MH_I2C_Read... [12:35:54]Read from MH i2c: 01 07 00 4C 21 00 00 00 00 00 FF 0F 82 [12:35:54]process_action close_receipt done [12:35:54]requested_data is exist [12:35:54]produce_requested_data [12:35:54]requested_item fm.sn is exist - process it [12:35:54]wFMCommunicate request_size=4 [12:35:54]MH_SAM_APDU [12:35:54]CAPDU: 80 11 00 00 [12:35:54]Write to MH i2c: E2 08 00 4D 21 80 11 00 00 00 00 00 00 E8 [12:35:54]Write i2c OK [12:35:54]MH_I2C_Read... [12:35:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:35:54]Read from MH i2c: E2 [12:35:54]MH_I2C_Read... [12:35:54]Read from MH i2c: E2 17 00 [12:35:54]MH_I2C_Read... [12:35:54]Read from MH i2c: E2 17 00 4D 21 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 3A [12:35:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [12:35:54]wFMCommunicate OK [12:35:54]requested_item fd.num is exist - process it [12:35:54]SAM_PROTO_GetFieldsCounters [12:35:54]wFMCommunicate request_size=4 [12:35:54]MH_SAM_APDU [12:35:54]CAPDU: 80 13 00 00 [12:35:54]Write to MH i2c: E2 08 00 4E 21 80 13 00 00 00 00 00 00 EB [12:35:54]Write i2c OK [12:35:54]MH_I2C_Read... [12:35:54]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:35:54]Read from MH i2c: E2 [12:35:54]MH_I2C_Read... [12:35:54]Read from MH i2c: E2 62 00 [12:35:54]MH_I2C_Read... [12:35:54]Read from MH i2c: E2 62 00 4E 21 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 F9 56 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 1E 00 00 00 5E 04 04 00 1E 00 00 00 57 04 04 00 1F 00 00 00 19 04 04 00 00 00 00 00 90 00 06 [12:35:54]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 F9 56 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 1E 00 00 00 5E 04 04 00 1E 00 00 00 57 04 04 00 1F 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:35:54]wFMCommunicate OK [12:35:54]SAM_PROTO_GetFieldsCounters done [12:35:54]requested_item shift.num is exist - process it [12:35:54]requested_item shift.opened is exist - process it [12:35:54]req_shift_opened [12:35:54]FM_GetShiftState [12:35:54]SAM_PROTO_GetShiftState [12:35:54]wFMCommunicate request_size=4 [12:35:54]MH_SAM_APDU [12:35:54]CAPDU: 80 13 01 00 [12:35:54]Write to MH i2c: E2 08 00 4F 21 80 13 01 00 00 00 00 00 ED [12:35:54]Write i2c OK [12:35:54]MH_I2C_Read... [12:35:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:35:54]Read from MH i2c: E2 [12:35:54]MH_I2C_Read... [12:35:54]Read from MH i2c: E2 0E 00 [12:35:54]MH_I2C_Read... [12:35:54]Read from MH i2c: E2 0E 00 4F 21 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 0E [12:35:54]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [12:35:54]wFMCommunicate OK [12:35:54]SAM_PROTO_GetShiftState done [12:35:54]FM_GetShiftState done [12:35:54]req_shift_opened done [12:35:54]requested_item shift.open_date is exist - process it [12:35:54]req_shift_open_date [12:35:54]req_shift_open_date done [12:35:54]produce_requested_data done [12:35:54]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22265,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297} [12:35:54]process_action_free close_receipt [12:35:54]json_value_free [12:35:54]json_value_free done [12:35:54]process_json_proto returns [12:35:54]Send response to host [12:35:54]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22265,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297}}} [12:35:54]free response buf [12:35:54]execute_script done [12:35:54]execute_script returns [12:35:54]free content buf [12:35:54]Sock 8.Close socket [12:35:54]Sock 8.Thread stoped [12:35:58]OFD Sender: No OFD packet to send [12:36:03]OFD Sender: No OFD packet to send [12:36:08]OFD Sender: No OFD packet to send [12:36:13]OFD Sender: No OFD packet to send [12:36:18]OFD Sender: No OFD packet to send [12:36:23]OFD Sender: No OFD packet to send [12:36:28]OFD Sender: No OFD packet to send [12:36:33]OFD Sender: No OFD packet to send [12:36:38]OFD Sender: No OFD packet to send [12:36:43]OFD Sender: No OFD packet to send [12:36:48]OFD Sender: No OFD packet to send [12:36:53]OFD Sender: No OFD packet to send [12:36:58]OFD Sender: No OFD packet to send [12:37:03]OFD Sender: No OFD packet to send [12:37:08]OFD Sender: No OFD packet to send [12:37:13]OFD Sender: No OFD packet to send [12:37:18]OFD Sender: No OFD packet to send [12:37:23]OFD Sender: No OFD packet to send [12:37:28]OFD Sender: No OFD packet to send [12:37:33]OFD Sender: No OFD packet to send [12:37:38]OFD Sender: No OFD packet to send [12:37:43]OFD Sender: No OFD packet to send [12:37:48]OFD Sender: No OFD packet to send [12:37:53]OFD Sender: No OFD packet to send [12:37:58]OFD Sender: No OFD packet to send [12:38:03]OFD Sender: No OFD packet to send [12:38:08]OFD Sender: No OFD packet to send [12:38:13]OFD Sender: No OFD packet to send [12:38:18]OFD Sender: No OFD packet to send [12:38:23]OFD Sender: No OFD packet to send [12:38:28]OFD Sender: No OFD packet to send [12:38:33]OFD Sender: No OFD packet to send [12:38:38]OFD Sender: No OFD packet to send [12:38:43]OFD Sender: No OFD packet to send [12:38:48]OFD Sender: No OFD packet to send [12:38:53]OFD Sender: No OFD packet to send [12:38:58]OFD Sender: No OFD packet to send [12:39:03]OFD Sender: No OFD packet to send [12:39:08]OFD Sender: No OFD packet to send [12:39:13]OFD Sender: No OFD packet to send [12:39:14]accept exits with 9 [12:39:14]New connection [12:39:14]New thread 3066838372 created [12:39:14]Thread 3066695012 joined [12:39:14]Waiting for new connection... [12:39:14] Sock 9.Parse request [12:39:14]Sock 9.Check first char [12:39:14]Sock 9.First char is OK [12:39:14]request: POST /json_proto HTTP/1.0 [12:39:14]Method: POST [12:39:14]URL: /json_proto [12:39:14]Method is POST - this is cgi request [12:39:14]url: /json_proto [12:39:14]query_string will be loaded in cgi processing [12:39:14]execute_cgi json_proto POST (null) [12:39:14]execute_cgi path=json_proto method=POST [12:39:14]POST find Content-Length [12:39:14]Host: 172.17.35.133:8080 [12:39:14]Content-Length: 1085 [12:39:14]Content-Type: application/json [12:39:14] [12:39:14]POST finish read [12:39:14]Found Content-Length = 1085 [12:39:14]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254480", "tax_sys" : 0, "items" : [ { "code": "8690504034500", "name": "\u041A\u041E\u041C\u0411\u041E \u041A\u043E\u043D\u0434 ULKER-Albeni 40gr (6*24)", "price" : 35.00, "quantity" : 1.000, "sum" : 35.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160211", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 0,5\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "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" : 75.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:39:14]execute_script... [12:39:14]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254480", "tax_sys" : 0, "items" : [ { "code": "8690504034500", "name": "\u041A\u041E\u041C\u0411\u041E \u041A\u043E\u043D\u0434 ULKER-Albeni 40gr (6*24)", "price" : 35.00, "quantity" : 1.000, "sum" : 35.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160211", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 0,5\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "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" : 75.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:39:14]POST & json_proto [12:39:14]process_json_proto [12:39:14]json parsed OK: [12:39:14]protocol is kg_v1.0 [12:39:14]action value=close_receipt [12:39:14]process_action close_receipt [12:39:14]cmd_close_receipt [12:39:14]MH_GetDate [12:39:14]Write to MH i2c: F0 00 00 50 21 60 [12:39:14]Write i2c OK [12:39:14]MH_I2C_Read... [12:39:14]Read from MH i2c: F0 [12:39:14]MH_I2C_Read... [12:39:14]Read from MH i2c: F0 09 00 [12:39:14]MH_I2C_Read... [12:39:14]Read from MH i2c: F0 09 00 50 21 00 FA DC 6E 66 8C 55 28 65 81 [12:39:14]GetLastDocTimeStamp 1718541359 [12:39:14]current date 1718541562 [12:39:14]FM_GetShiftState [12:39:14]SAM_PROTO_GetShiftState [12:39:14]wFMCommunicate request_size=4 [12:39:14]MH_SAM_APDU [12:39:14]CAPDU: 80 13 01 00 [12:39:14]Write to MH i2c: E2 08 00 51 21 80 13 01 00 00 00 00 00 EF [12:39:14]Write i2c OK [12:39:14]MH_I2C_Read... [12:39:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:39:14]Read from MH i2c: E2 [12:39:14]MH_I2C_Read... [12:39:14]Read from MH i2c: E2 0E 00 [12:39:14]MH_I2C_Read... [12:39:14]Read from MH i2c: E2 0E 00 51 21 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 10 [12:39:14]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [12:39:14]wFMCommunicate OK [12:39:14]SAM_PROTO_GetShiftState done [12:39:14]FM_GetShiftState done [12:39:14]opened in 1718497297 [12:39:14]opened+sec_in_day 1718583697 [12:39:14]quantity*price = 3500 [12:39:14]sum+1 = 3501 [12:39:14]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000160211 Вода Легенда 0,5л 1.000 * 40.00 = 40.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 75.00 НСП 1% : 0.66 НДС 12% : 7.97 Наличными: 0.00 Безнал.: 75.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 31 16.06.2024 12:39 Смена: 327 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000965344 ФД: 22266 ФПД: 86618099205744 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T123922&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22266&fm=86618099205744&tin=02508201610067®Number=0000000000099755&sum=7500 0 [12:39:15]StoreToDocumentArchive [12:39:15]shift 327 fd 22266 [12:39:15]save to /storage/0327/doc_00022266 [12:39:15]save last doc name /storage/0327/doc_00022266 to /storage/kkm_last_doc_name [12:39:15]save OK [12:39:15]Clear old archive folders... [12:39:15]ProcessDocumentItem done err = 0, tmpTLVsize=387 [12:39:15]tlvbuf is 001B9810 [12:39:15]SAM_PROTO_ClearQueue [12:39:15]wFMCommunicate request_size=4 [12:39:15]MH_SAM_APDU [12:39:15]CAPDU: 80 09 00 00 [12:39:15]Write to MH i2c: E2 08 00 5E 21 80 09 00 00 00 00 00 00 F1 [12:39:15]Write i2c OK [12:39:15]MH_I2C_Read... [12:39:15]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:39:15]Read from MH i2c: E2 [12:39:15]MH_I2C_Read... [12:39:15]Read from MH i2c: E2 03 00 [12:39:15]MH_I2C_Read... [12:39:15]Read from MH i2c: E2 03 00 5E 21 00 90 00 F3 [12:39:15]RAPDU: 90 00 [12:39:15]wFMCommunicate OK [12:39:15]SAM_PROTO_ClearQueue done [12:39:15]KKMCreateOFDPacket [12:39:15]OFDProtocolAddRootSTLVToBuf [12:39:15]FM_MakeSignedData [12:39:15]FM_MakeSignedData [12:39:15]SAM_PROTO_SignData [12:39:15]wFMCommunicate request_size=4 [12:39:15]MH_SAM_APDU [12:39:15]CAPDU: 80 0D 01 02 [12:39:15]Write to MH i2c: E2 08 00 5F 21 80 0D 01 02 00 00 00 00 F9 [12:39:15]Write i2c OK [12:39:15]MH_I2C_Read... [12:39:15]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:39:15]Read from MH i2c: E2 [12:39:15]MH_I2C_Read... [12:39:15]Read from MH i2c: E2 03 00 [12:39:15]MH_I2C_Read... [12:39:15]Read from MH i2c: E2 03 00 5F 21 00 90 00 F4 [12:39:15]RAPDU: 90 00 [12:39:15]wFMCommunicate OK [12:39:15]wFMCommunicate request_size=255 [12:39:15]MH_SAM_APDU [12:39:15]CAPDU: 80 0D 02 02 FA 03 00 83 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 38 36 39 30 35 30 34 30 33 34 35 30 30 06 04 2C 00 D0 9A D0 9E D0 9C D0 91 D0 9E 20 D0 9A D0 BE D0 BD D0 B4 20 55 4C 4B 45 52 2D 41 6C 62 65 6E 69 20 34 30 67 72 20 28 36 2A 32 34 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 0D 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 1D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 [12:39:15]Write to MH i2c: E2 02 01 60 21 80 0D 02 02 FA 00 03 00 83 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 38 36 39 30 35 30 34 30 33 34 35 30 30 06 04 2C 00 D0 9A D0 9E D0 9C D0 91 D0 9E 20 D0 9A D0 BE D0 BD D0 B4 20 55 4C 4B 45 52 2D 41 6C 62 65 6E 69 20 34 30 67 72 20 28 36 2A 32 34 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 0D 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 1D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 00 00 8C [12:39:15]Write i2c OK [12:39:15]MH_I2C_Read... [12:39:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:39:15]Read from MH i2c: E2 [12:39:15]MH_I2C_Read... [12:39:15]Read from MH i2c: E2 03 00 [12:39:15]MH_I2C_Read... [12:39:15]Read from MH i2c: E2 03 00 60 21 00 90 00 F5 [12:39:15]RAPDU: 90 00 [12:39:15]wFMCommunicate OK [12:39:15]wFMCommunicate request_size=146 [12:39:15]MH_SAM_APDU [12:39:15]CAPDU: 80 0D 02 02 8D 03 06 00 42 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1D 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 4C 1D 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1F 00 00 00 F4 03 04 00 FA DC 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 FA 56 00 00 35 04 06 00 4E C7 59 08 C6 70 [12:39:15]Write to MH i2c: E2 95 00 61 21 80 0D 02 02 8D 00 03 06 00 42 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1D 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 4C 1D 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1F 00 00 00 F4 03 04 00 FA DC 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 FA 56 00 00 35 04 06 00 4E C7 59 08 C6 70 00 00 2D [12:39:15]Write i2c OK [12:39:15]MH_I2C_Read... [12:39:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:39:15]Read from MH i2c: E2 [12:39:15]MH_I2C_Read... [12:39:15]Read from MH i2c: E2 03 00 [12:39:15]MH_I2C_Read... [12:39:15]Read from MH i2c: E2 03 00 61 21 00 90 00 F6 [12:39:15]RAPDU: 90 00 [12:39:15]wFMCommunicate OK [12:39:15]wFMCommunicate request_size=4 [12:39:15]MH_SAM_APDU [12:39:15]CAPDU: 80 0D 03 02 [12:39:15]Write to MH i2c: E2 08 00 62 21 80 0D 03 02 00 00 00 00 FE [12:39:15]Write i2c OK [12:39:15]MH_I2C_Read... [12:39:15]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:39:15]Read from MH i2c: E2 [12:39:15]MH_I2C_Read... [12:39:15]Read from MH i2c: E2 0B 00 [12:39:15]MH_I2C_Read... [12:39:15]Read from MH i2c: E2 0B 00 62 21 00 70 48 9A FA 92 77 10 EE 90 00 52 [12:39:15]RAPDU: 70 48 9A FA 92 77 10 EE 90 00 [12:39:15]wFMCommunicate OK [12:39:15]SAM_PROTO_SignData done [12:39:15]FM_MakeSignedData done [12:39:15]CreateOFDProtocolMessage [12:39:15]wFMCommunicate request_size=4 [12:39:15]MH_SAM_APDU [12:39:15]CAPDU: 80 11 00 00 [12:39:15]Write to MH i2c: E2 08 00 63 21 80 11 00 00 00 00 00 00 FE [12:39:15]Write i2c OK [12:39:15]MH_I2C_Read... [12:39:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:39:15]Read from MH i2c: E2 [12:39:15]MH_I2C_Read... [12:39:15]Read from MH i2c: E2 17 00 [12:39:15]MH_I2C_Read... [12:39:15]Read from MH i2c: E2 17 00 63 21 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 50 [12:39:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [12:39:15]wFMCommunicate OK [12:39:15]CreateOFDProtocolMessage done [12:39:15]OFDSenderStorePacket 22266 [12:39:15]StoreOFDPacket docnum=22266 [12:39:15]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 97 01 00 00 E3 5A 8F 01 CB 3C 5A 03 01 00 03 00 83 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 38 36 39 30 35 30 34 30 33 34 35 30 30 06 04 2C 00 D0 9A D0 9E D0 9C D0 91 D0 9E 20 D0 9A D0 BE D0 BD D0 B4 20 55 4C 4B 45 52 2D 41 6C 62 65 6E 69 20 34 30 67 72 20 28 36 2A 32 34 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 0D 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 1D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 42 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1D 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 4C 1D 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1F 00 00 00 F4 03 04 00 FA DC 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 FA 56 00 00 35 04 06 00 4E C7 59 08 C6 70 70 48 9A FA 92 77 10 EE [12:39:15]CheckFolder [12:39:15]dirname=/storage/ofd_packets [12:39:15]CheckFolder done [12:39:15]ProducePacketName [12:39:15]name=ofd_packets/00022266 [12:39:15]NVStorageSaveData ofd_packets/00022266 [12:39:15]File name is /storage/ofd_packets/00022266 [12:39:15]Write 437 bytes [12:39:15]NVStorageSaveData done [12:39:15]OFDSenderStorePacket done [12:39:15]KKMCreateOFDPacket done [12:39:15]NVStorageSaveData kkm_last_timestamp [12:39:16]File name is /storage/kkm_last_timestamp [12:39:16]Write 4 bytes [12:39:16]NVStorageSaveData done [12:39:16]ExternCall_PrintAddStr [12:39:16]wPrintStart [12:39:16]Write to MH i2c: 01 00 00 64 21 85 [12:39:16]OFD Sender: Processing packet 22266 [packets to send 5, broken 4] [12:39:16]ProducePacketName [12:39:16]name=ofd_packets/00022266 [12:39:16]OFD Sender: To server: pG, [12:39:16]CommunicateWithHost lk.salyk.kg:30040 [12:39:16]ConnectInit lk.salyk.kg [12:39:16]Write i2c OK [12:39:16]MH_I2C_Read... [12:39:16]Read from MH i2c: 01 [12:39:16]MH_I2C_Read... [12:39:16]Read from MH i2c: 01 07 00 [12:39:16]MH_I2C_Read... [12:39:16]Read from MH i2c: 01 07 00 64 21 00 00 00 00 00 FF 0F 9A [12:39:16]RasterBufferAndPrint [12:39:16]line Счет N : (3)254480 [12:39:16]line ИНН: 02508201610067 [12:39:16]line Контрольно-Кассовый Чек [12:39:16]line ПРОДАЖА [12:39:16]line Товар: 8690504034500 [12:39:16]line КОМБО Конд ULKER-Albeni 40gr (6*24) [12:39:16]line 1.000 * 35.00 [12:39:16]line = 35.00 [12:39:16]line НДС 12% НСП 1% [12:39:16]line > о реализуемом товаре [12:39:16]line Товар: 4700000160211 [12:39:16]line Вода Легенда 0,5л [12:39:16]line 1.000 * 40.00 [12:39:16]line = 40.00 [12:39:16]line НДС 12% НСП 1% [12:39:16]line > о реализуемом товаре [12:39:16]line ИТОГО: 75.00 [12:39:16]line НСП 1% : 0.66 [12:39:16]line НДС 12% : 7.97 [12:39:16]line Наличными: 0.00 [12:39:16]line Безнал.: 75.00 [12:39:16]line Место: АЗС № 76 "Партнер Нефть" [12:39:16]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [12:39:16]line СНО: Общий режим [12:39:16]line Чек 31 16.06.2024 12:39 [12:39:16]line Смена: 327 ФФД: 1.0 [12:39:16]line ЗНМ: 0300000200 [12:39:16]line РНМ: 0000000000099755 [12:39:16]line Версия ККМ: 001 [12:39:16]line Платежная система: АКБ Кыргызстан [12:39:16]line ФМ: 0000000000965344 [12:39:16]line ФД: 22266 [12:39:16]line ФПД: 86618099205744 [12:39:16]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T123922&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22266&fm=86618099205744&tin=02508201610067®Number=0000000000099755&sum=7500 [12:39:16]line 0 [12:39:16]written 0, free lines is 4095 [12:39:16]Connected sock=10 [12:39:16]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 97 01 00 00 E3 5A 8F 01 CB 3C 5A 03 01 00 03 00 83 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 38 36 39 30 35 30 34 30 33 34 35 30 30 06 04 2C 00 D0 9A D0 9E D0 9C D0 91 D0 9E 20 D0 9A D0 BE D0 BD D0 B4 20 55 4C 4B 45 52 2D 41 6C 62 65 6E 69 20 34 30 67 72 20 28 36 2A 32 34 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 0D 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 1D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 42 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1D 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 4C 1D 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1F 00 00 00 F4 03 04 00 FA DC 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 FA 56 00 00 35 04 06 00 4E C7 59 08 C6 70 70 48 9A FA 92 77 10 EE [12:39:16]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 49 E0 47 00 58 F5 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 FA 56 00 00 F4 03 04 00 B4 85 6E 66 B6 04 01 00 00 52 66 F0 EA 88 EE CD D8 [12:39:16]CommunicateWithHost err = 0 [12:39:16]CheckOFDResponse [12:39:16]1017 (14) - 77093643461234 [12:39:16]1041 (16) - 0000000000965344 [12:39:16]1040 (4) - 22266 [12:39:16]1012 (4) - 16.06.2024 06:27 [12:39:16]1206 (1) - 0 [12:39:16]OFD Sender: Remove packet 22266 [12:39:16]ProducePacketName [12:39:16]name=ofd_packets/00022266 [12:39:16]NVStorageDeleteData [12:39:16]Write to MH i2c: 01 00 00 95 21 B6 [12:39:16]Write i2c OK [12:39:16]MH_I2C_Read... [12:39:16]Read from MH i2c: 01 [12:39:16]MH_I2C_Read... [12:39:16]Read from MH i2c: 01 07 00 [12:39:16]MH_I2C_Read... [12:39:16]Read from MH i2c: 01 07 00 95 21 00 00 00 00 00 B1 0C 7A [12:39:16]RasterBufferAndPrint [12:39:16]line [12:39:16]line [12:39:16]line [12:39:16]line [12:39:16]line [12:39:16]written 0, free lines is 3258 [12:39:16]MH_Cut [12:39:16]Write to MH i2c: D1 01 00 9C 21 01 8F [12:39:16]Write i2c OK [12:39:16]MH_I2C_Read... [12:39:16]Read from MH i2c: D1 [12:39:16]MH_I2C_Read... [12:39:16]Read from MH i2c: D1 01 00 [12:39:16]MH_I2C_Read... [12:39:16]Read from MH i2c: D1 01 00 9C 21 00 8E [12:39:16]Write to MH i2c: 01 00 00 9D 21 BE [12:39:16]Write i2c OK [12:39:16]MH_I2C_Read... [12:39:17]OFD Sender: No OFD packet to send [12:39:17]*** Cut start [12:39:17]*** Partial cut [12:39:17]*** CUTSNS_PIN = 1 [12:39:17]*** CUTSNS_PIN = 0 [12:39:17]*** Brake cut motor [12:39:18]Read from MH i2c: 01 [12:39:18]MH_I2C_Read... [12:39:18]*** Stop cut motor [12:39:18]*** Cut end [12:39:18]Read from MH i2c: 01 07 00 [12:39:18]MH_I2C_Read... [12:39:18]Read from MH i2c: 01 07 00 9D 21 00 00 00 00 00 FF 0F D3 [12:39:18]process_action close_receipt done [12:39:18]requested_data is exist [12:39:18]produce_requested_data [12:39:18]requested_item fm.sn is exist - process it [12:39:18]wFMCommunicate request_size=4 [12:39:18]MH_SAM_APDU [12:39:18]CAPDU: 80 11 00 00 [12:39:18]Write to MH i2c: E2 08 00 9E 21 80 11 00 00 00 00 00 00 39 [12:39:18]Write i2c OK [12:39:18]MH_I2C_Read... [12:39:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:39:18]Read from MH i2c: E2 [12:39:18]MH_I2C_Read... [12:39:18]Read from MH i2c: E2 17 00 [12:39:18]MH_I2C_Read... [12:39:18]Read from MH i2c: E2 17 00 9E 21 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 8B [12:39:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [12:39:18]wFMCommunicate OK [12:39:18]requested_item fd.num is exist - process it [12:39:18]SAM_PROTO_GetFieldsCounters [12:39:18]wFMCommunicate request_size=4 [12:39:18]MH_SAM_APDU [12:39:18]CAPDU: 80 13 00 00 [12:39:18]Write to MH i2c: E2 08 00 9F 21 80 13 00 00 00 00 00 00 3C [12:39:18]Write i2c OK [12:39:18]MH_I2C_Read... [12:39:18]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:39:18]Read from MH i2c: E2 [12:39:18]MH_I2C_Read... [12:39:18]Read from MH i2c: E2 62 00 [12:39:18]MH_I2C_Read... [12:39:18]Read from MH i2c: E2 62 00 9F 21 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 FA 56 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 1F 00 00 00 5E 04 04 00 1F 00 00 00 57 04 04 00 20 00 00 00 19 04 04 00 00 00 00 00 90 00 5B [12:39:18]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 FA 56 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 1F 00 00 00 5E 04 04 00 1F 00 00 00 57 04 04 00 20 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:39:18]wFMCommunicate OK [12:39:18]SAM_PROTO_GetFieldsCounters done [12:39:18]requested_item shift.num is exist - process it [12:39:18]requested_item shift.opened is exist - process it [12:39:18]req_shift_opened [12:39:18]FM_GetShiftState [12:39:18]SAM_PROTO_GetShiftState [12:39:18]wFMCommunicate request_size=4 [12:39:18]MH_SAM_APDU [12:39:18]CAPDU: 80 13 01 00 [12:39:18]Write to MH i2c: E2 08 00 A0 21 80 13 01 00 00 00 00 00 3E [12:39:18]Write i2c OK [12:39:18]MH_I2C_Read... [12:39:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:39:18]Read from MH i2c: E2 [12:39:18]MH_I2C_Read... [12:39:18]Read from MH i2c: E2 0E 00 [12:39:18]MH_I2C_Read... [12:39:18]Read from MH i2c: E2 0E 00 A0 21 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 5F [12:39:18]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [12:39:18]wFMCommunicate OK [12:39:18]SAM_PROTO_GetShiftState done [12:39:18]FM_GetShiftState done [12:39:18]req_shift_opened done [12:39:18]requested_item shift.open_date is exist - process it [12:39:18]req_shift_open_date [12:39:18]req_shift_open_date done [12:39:18]produce_requested_data done [12:39:18]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22266,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297} [12:39:18]process_action_free close_receipt [12:39:18]json_value_free [12:39:18]json_value_free done [12:39:18]process_json_proto returns [12:39:18]Send response to host [12:39:18]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22266,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297}}} [12:39:18]free response buf [12:39:18]execute_script done [12:39:18]execute_script returns [12:39:18]free content buf [12:39:18]Sock 9.Close socket [12:39:18]Sock 9.Thread stoped [12:39:22]OFD Sender: No OFD packet to send [12:39:27]OFD Sender: No OFD packet to send [12:39:32]OFD Sender: No OFD packet to send [12:39:36]accept exits with 8 [12:39:36]New connection [12:39:36]New thread 3066695012 created [12:39:36]Thread 3066838372 joined [12:39:36]Waiting for new connection... [12:39:36] Sock 8.Parse request [12:39:36]Sock 8.Check first char [12:39:36]Sock 8.First char is OK [12:39:36]request: POST /json_proto HTTP/1.0 [12:39:36]Method: POST [12:39:36]URL: /json_proto [12:39:36]Method is POST - this is cgi request [12:39:36]url: /json_proto [12:39:36]query_string will be loaded in cgi processing [12:39:36]execute_cgi json_proto POST (null) [12:39:36]execute_cgi path=json_proto method=POST [12:39:36]POST find Content-Length [12:39:36]Host: 172.17.35.133:8080 [12:39:36]Content-Length: 620 [12:39:36]Content-Type: application/json [12:39:36] [12:39:36]POST finish read [12:39:36]Found Content-Length = 620 [12:39:36]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254481", "tax_sys" : 0, "items" : [ { "code": "4650063110916", "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 }]} ], "payments": [ { "type": 0, "sum" : 405.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:39:36]execute_script... [12:39:36]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254481", "tax_sys" : 0, "items" : [ { "code": "4650063110916", "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 }]} ], "payments": [ { "type": 0, "sum" : 405.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:39:36]POST & json_proto [12:39:36]process_json_proto [12:39:36]json parsed OK: [12:39:36]protocol is kg_v1.0 [12:39:36]action value=close_receipt [12:39:36]process_action close_receipt [12:39:36]cmd_close_receipt [12:39:36]MH_GetDate [12:39:36]Write to MH i2c: F0 00 00 A1 21 B1 [12:39:36]Write i2c OK [12:39:36]MH_I2C_Read... [12:39:36]Read from MH i2c: F0 [12:39:36]MH_I2C_Read... [12:39:36]Read from MH i2c: F0 09 00 [12:39:36]MH_I2C_Read... [12:39:36]Read from MH i2c: F0 09 00 A1 21 00 10 DD 6E 66 8C 55 28 65 E9 [12:39:36]GetLastDocTimeStamp 1718541562 [12:39:36]current date 1718541584 [12:39:36]FM_GetShiftState [12:39:36]SAM_PROTO_GetShiftState [12:39:36]wFMCommunicate request_size=4 [12:39:36]MH_SAM_APDU [12:39:36]CAPDU: 80 13 01 00 [12:39:36]Write to MH i2c: E2 08 00 A2 21 80 13 01 00 00 00 00 00 40 [12:39:36]Write i2c OK [12:39:36]MH_I2C_Read... [12:39:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:39:36]Read from MH i2c: E2 [12:39:36]MH_I2C_Read... [12:39:36]Read from MH i2c: E2 0E 00 [12:39:36]MH_I2C_Read... [12:39:36]Read from MH i2c: E2 0E 00 A2 21 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 61 [12:39:36]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [12:39:36]wFMCommunicate OK [12:39:36]SAM_PROTO_GetShiftState done [12:39:36]FM_GetShiftState done [12:39:36]opened in 1718497297 [12:39:36]opened+sec_in_day 1718583697 [12:39:36]quantity*price = 40500 [12:39:36]sum+1 = 40501 [12:39:36]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 405.00 НСП 1% : 3.58 НДС 12% : 43.01 Наличными: 405.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 32 16.06.2024 12:39 Смена: 327 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22267 ФПД: 73629034777980 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T123944&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22267&fm=73629034777980&tin=02508201610067®Number=0000000000099755&sum=40500 0 [12:39:37]StoreToDocumentArchive [12:39:37]shift 327 fd 22267 [12:39:37]save to /storage/0327/doc_00022267 [12:39:37]save last doc name /storage/0327/doc_00022267 to /storage/kkm_last_doc_name [12:39:37]save OK [12:39:37]Clear old archive folders... [12:39:37]ProcessDocumentItem done err = 0, tmpTLVsize=280 [12:39:37]tlvbuf is B6EBE440 [12:39:37]SAM_PROTO_ClearQueue [12:39:37]wFMCommunicate request_size=4 [12:39:37]MH_SAM_APDU [12:39:37]CAPDU: 80 09 00 00 [12:39:37]Write to MH i2c: E2 08 00 AF 21 80 09 00 00 00 00 00 00 42 [12:39:37]Write i2c OK [12:39:37]MH_I2C_Read... [12:39:37]OFD Sender: No OFD packet to send [12:39:37]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:39:37]Read from MH i2c: E2 [12:39:37]MH_I2C_Read... [12:39:37]Read from MH i2c: E2 03 00 [12:39:37]MH_I2C_Read... [12:39:37]Read from MH i2c: E2 03 00 AF 21 00 90 00 44 [12:39:37]RAPDU: 90 00 [12:39:37]wFMCommunicate OK [12:39:37]SAM_PROTO_ClearQueue done [12:39:37]KKMCreateOFDPacket [12:39:37]OFDProtocolAddRootSTLVToBuf [12:39:37]FM_MakeSignedData [12:39:37]FM_MakeSignedData [12:39:37]SAM_PROTO_SignData [12:39:37]wFMCommunicate request_size=4 [12:39:37]MH_SAM_APDU [12:39:37]CAPDU: 80 0D 01 02 [12:39:37]Write to MH i2c: E2 08 00 B0 21 80 0D 01 02 00 00 00 00 4A [12:39:37]Write i2c OK [12:39:37]MH_I2C_Read... [12:39:37]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:39:37]Read from MH i2c: E2 [12:39:37]MH_I2C_Read... [12:39:37]Read from MH i2c: E2 03 00 [12:39:37]MH_I2C_Read... [12:39:37]Read from MH i2c: E2 03 00 B0 21 00 90 00 45 [12:39:37]RAPDU: 90 00 [12:39:37]wFMCommunicate OK [12:39:37]wFMCommunicate request_size=255 [12:39:37]MH_SAM_APDU [12:39:37]CAPDU: 80 0D 02 02 FA 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 34 36 35 30 30 36 33 31 31 30 39 31 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 FC 03 06 00 34 9E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CD 10 00 00 00 00 07 04 06 00 34 9E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 10 DD 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 [12:39:37]Write to MH i2c: E2 02 01 B1 21 80 0D 02 02 FA 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 34 36 35 30 30 36 33 31 31 30 39 31 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 FC 03 06 00 34 9E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CD 10 00 00 00 00 07 04 06 00 34 9E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 10 DD 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 00 00 76 [12:39:37]Write i2c OK [12:39:37]MH_I2C_Read... [12:39:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:39:37]Read from MH i2c: E2 [12:39:37]MH_I2C_Read... [12:39:37]Read from MH i2c: E2 03 00 [12:39:37]MH_I2C_Read... [12:39:37]Read from MH i2c: E2 03 00 B1 21 00 90 00 46 [12:39:37]RAPDU: 90 00 [12:39:37]wFMCommunicate OK [12:39:37]wFMCommunicate request_size=39 [12:39:37]MH_SAM_APDU [12:39:37]CAPDU: 80 0D 02 02 22 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 FB 56 00 00 35 04 06 00 42 F7 18 76 8D 7C [12:39:37]Write to MH i2c: E2 2A 00 B2 21 80 0D 02 02 22 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 FB 56 00 00 35 04 06 00 42 F7 18 76 8D 7C 00 00 28 [12:39:37]Write i2c OK [12:39:37]MH_I2C_Read... [12:39:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:39:37]Read from MH i2c: E2 [12:39:37]MH_I2C_Read... [12:39:37]Read from MH i2c: E2 03 00 [12:39:37]MH_I2C_Read... [12:39:37]Read from MH i2c: E2 03 00 B2 21 00 90 00 47 [12:39:37]RAPDU: 90 00 [12:39:37]wFMCommunicate OK [12:39:37]wFMCommunicate request_size=4 [12:39:37]MH_SAM_APDU [12:39:37]CAPDU: 80 0D 03 02 [12:39:37]Write to MH i2c: E2 08 00 B3 21 80 0D 03 02 00 00 00 00 4F [12:39:37]Write i2c OK [12:39:37]MH_I2C_Read... [12:39:37]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:39:37]Read from MH i2c: E2 [12:39:37]MH_I2C_Read... [12:39:37]Read from MH i2c: E2 0B 00 [12:39:37]MH_I2C_Read... [12:39:37]Read from MH i2c: E2 0B 00 B3 21 00 7E 34 7E 66 4C 9B 79 53 90 00 99 [12:39:37]RAPDU: 7E 34 7E 66 4C 9B 79 53 90 00 [12:39:37]wFMCommunicate OK [12:39:37]SAM_PROTO_SignData done [12:39:37]FM_MakeSignedData done [12:39:37]CreateOFDProtocolMessage [12:39:37]wFMCommunicate request_size=4 [12:39:37]MH_SAM_APDU [12:39:37]CAPDU: 80 11 00 00 [12:39:37]Write to MH i2c: E2 08 00 B4 21 80 11 00 00 00 00 00 00 4F [12:39:37]Write i2c OK [12:39:37]MH_I2C_Read... [12:39:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:39:37]Read from MH i2c: E2 [12:39:37]MH_I2C_Read... [12:39:37]Read from MH i2c: E2 17 00 [12:39:37]MH_I2C_Read... [12:39:37]Read from MH i2c: E2 17 00 B4 21 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 A1 [12:39:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [12:39:37]wFMCommunicate OK [12:39:37]CreateOFDProtocolMessage done [12:39:37]OFDSenderStorePacket 22267 [12:39:37]StoreOFDPacket docnum=22267 [12:39:37]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 2C 01 00 00 CE 93 24 01 4B AA 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 34 36 35 30 30 36 33 31 31 30 39 31 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 FC 03 06 00 34 9E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CD 10 00 00 00 00 07 04 06 00 34 9E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 10 DD 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 FB 56 00 00 35 04 06 00 42 F7 18 76 8D 7C 7E 34 7E 66 4C 9B 79 53 [12:39:37]CheckFolder [12:39:37]dirname=/storage/ofd_packets [12:39:37]CheckFolder done [12:39:37]ProducePacketName [12:39:37]name=ofd_packets/00022267 [12:39:37]NVStorageSaveData ofd_packets/00022267 [12:39:37]File name is /storage/ofd_packets/00022267 [12:39:37]Write 330 bytes [12:39:37]NVStorageSaveData done [12:39:37]OFDSenderStorePacket done [12:39:37]KKMCreateOFDPacket done [12:39:37]NVStorageSaveData kkm_last_timestamp [12:39:37]File name is /storage/kkm_last_timestamp [12:39:37]Write 4 bytes [12:39:37]NVStorageSaveData done [12:39:37]ExternCall_PrintAddStr [12:39:37]wPrintStart [12:39:37]Write to MH i2c: 01 00 00 B5 21 D6 [12:39:37]Write i2c OK [12:39:37]MH_I2C_Read... [12:39:37]Read from MH i2c: 01 [12:39:37]MH_I2C_Read... [12:39:37]Read from MH i2c: 01 07 00 [12:39:37]MH_I2C_Read... [12:39:37]Read from MH i2c: 01 07 00 B5 21 00 00 00 00 00 FF 0F EB [12:39:37]RasterBufferAndPrint [12:39:37]line Счет N : (3)254481 [12:39:37]line ИНН: 02508201610067 [12:39:37]line Контрольно-Кассовый Чек [12:39:37]line ПРОДАЖА [12:39:37]line Товар: 4650063110916 [12:39:37]line Масло Gazpromneft Super 10w40 1л [12:39:37]line 1.000 * 405.00 [12:39:37]line = 405.00 [12:39:37]line НДС 12% НСП 1% [12:39:37]line > о реализуемом товаре [12:39:37]line ИТОГО: 405.00 [12:39:37]line НСП 1% : 3.58 [12:39:37]line НДС 12% : 43.01 [12:39:37]line Наличными: 405.00 [12:39:37]line Безнал.: 0.00 [12:39:37]line Место: АЗС № 76 "Партнер Нефть" [12:39:37]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [12:39:37]line СНО: Общий режим [12:39:37]line Чек 32 16.06.2024 12:39 [12:39:37]line Смена: 327 ФФД: 1.0 [12:39:37]line ЗНМ: 0300000200 [12:39:37]line РНМ: 0000000000099755 [12:39:37]line Версия ККМ: 001 [12:39:37]line ФМ: 0000000000965344 [12:39:37]line ФД: 22267 [12:39:37]line ФПД: 73629034777980 [12:39:38]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T123944&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22267&fm=73629034777980&tin=02508201610067®Number=0000000000099755&sum=40500 [12:39:38]line 0 [12:39:38]OFD Sender: Processing packet 22267 [packets to send 5, broken 4] [12:39:38]ProducePacketName [12:39:38]name=ofd_packets/00022267 [12:39:38]OFD Sender: To server: pG, [12:39:38]CommunicateWithHost lk.salyk.kg:30040 [12:39:38]ConnectInit lk.salyk.kg [12:39:38]written 0, free lines is 4095 [12:39:38]Connected sock=10 [12:39:38]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 2C 01 00 00 CE 93 24 01 4B AA 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 34 36 35 30 30 36 33 31 31 30 39 31 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 FC 03 06 00 34 9E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CD 10 00 00 00 00 07 04 06 00 34 9E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 10 DD 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 FB 56 00 00 35 04 06 00 42 F7 18 76 8D 7C 7E 34 7E 66 4C 9B 79 53 [12:39:38]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 AB D9 47 00 26 FB A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 FB 56 00 00 F4 03 04 00 CA 85 6E 66 B6 04 01 00 00 A7 27 D7 57 AA E4 06 D3 [12:39:38]CommunicateWithHost err = 0 [12:39:38]CheckOFDResponse [12:39:38]1017 (14) - 77093643461234 [12:39:38]1041 (16) - 0000000000965344 [12:39:38]1040 (4) - 22267 [12:39:38]1012 (4) - 16.06.2024 06:27 [12:39:38]1206 (1) - 0 [12:39:38]OFD Sender: Remove packet 22267 [12:39:38]ProducePacketName [12:39:38]name=ofd_packets/00022267 [12:39:38]NVStorageDeleteData [12:39:38]Write to MH i2c: 01 00 00 DE 21 FF [12:39:38]Write i2c OK [12:39:38]MH_I2C_Read... [12:39:38]Read from MH i2c: 01 [12:39:38]MH_I2C_Read... [12:39:38]Read from MH i2c: 01 07 00 [12:39:38]MH_I2C_Read... [12:39:38]Read from MH i2c: 01 07 00 DE 21 00 00 00 00 00 04 0D 17 [12:39:38]RasterBufferAndPrint [12:39:38]line [12:39:38]line [12:39:38]line [12:39:38]line [12:39:38]line [12:39:38]written 0, free lines is 3341 [12:39:38]MH_Cut [12:39:38]Write to MH i2c: D1 01 00 E5 21 01 D8 [12:39:38]Write i2c OK [12:39:38]MH_I2C_Read... [12:39:38]Read from MH i2c: D1 [12:39:38]MH_I2C_Read... [12:39:38]Read from MH i2c: D1 01 00 [12:39:38]MH_I2C_Read... [12:39:38]Read from MH i2c: D1 01 00 E5 21 00 D7 [12:39:38]Write to MH i2c: 01 00 00 E6 21 07 [12:39:38]Write i2c OK [12:39:38]MH_I2C_Read... [12:39:38]OFD Sender: No OFD packet to send [12:39:39]*** Cut start [12:39:39]*** Partial cut [12:39:39]*** CUTSNS_PIN = 1 [12:39:39]*** CUTSNS_PIN = 0 [12:39:39]*** Brake cut motor [12:39:39]Read from MH i2c: 01 [12:39:39]MH_I2C_Read... [12:39:39]*** Stop cut motor [12:39:39]*** Cut end [12:39:39]Read from MH i2c: 01 07 00 [12:39:39]MH_I2C_Read... [12:39:39]Read from MH i2c: 01 07 00 E6 21 00 00 00 00 00 FF 0F 1C [12:39:39]process_action close_receipt done [12:39:39]requested_data is exist [12:39:39]produce_requested_data [12:39:39]requested_item fm.sn is exist - process it [12:39:39]wFMCommunicate request_size=4 [12:39:39]MH_SAM_APDU [12:39:39]CAPDU: 80 11 00 00 [12:39:39]Write to MH i2c: E2 08 00 E7 21 80 11 00 00 00 00 00 00 82 [12:39:39]Write i2c OK [12:39:39]MH_I2C_Read... [12:39:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:39:39]Read from MH i2c: E2 [12:39:39]MH_I2C_Read... [12:39:39]Read from MH i2c: E2 17 00 [12:39:39]MH_I2C_Read... [12:39:39]Read from MH i2c: E2 17 00 E7 21 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 D4 [12:39:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [12:39:39]wFMCommunicate OK [12:39:39]requested_item fd.num is exist - process it [12:39:39]SAM_PROTO_GetFieldsCounters [12:39:39]wFMCommunicate request_size=4 [12:39:39]MH_SAM_APDU [12:39:39]CAPDU: 80 13 00 00 [12:39:39]Write to MH i2c: E2 08 00 E8 21 80 13 00 00 00 00 00 00 85 [12:39:39]Write i2c OK [12:39:39]MH_I2C_Read... [12:39:39]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:39:39]Read from MH i2c: E2 [12:39:39]MH_I2C_Read... [12:39:39]Read from MH i2c: E2 62 00 [12:39:39]MH_I2C_Read... [12:39:39]Read from MH i2c: E2 62 00 E8 21 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 FB 56 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 20 00 00 00 5E 04 04 00 20 00 00 00 57 04 04 00 21 00 00 00 19 04 04 00 00 00 00 00 90 00 A8 [12:39:39]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 FB 56 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 20 00 00 00 5E 04 04 00 20 00 00 00 57 04 04 00 21 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:39:39]wFMCommunicate OK [12:39:39]SAM_PROTO_GetFieldsCounters done [12:39:39]requested_item shift.num is exist - process it [12:39:39]requested_item shift.opened is exist - process it [12:39:39]req_shift_opened [12:39:39]FM_GetShiftState [12:39:39]SAM_PROTO_GetShiftState [12:39:39]wFMCommunicate request_size=4 [12:39:39]MH_SAM_APDU [12:39:39]CAPDU: 80 13 01 00 [12:39:39]Write to MH i2c: E2 08 00 E9 21 80 13 01 00 00 00 00 00 87 [12:39:39]Write i2c OK [12:39:39]MH_I2C_Read... [12:39:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:39:40]Read from MH i2c: E2 [12:39:40]MH_I2C_Read... [12:39:40]Read from MH i2c: E2 0E 00 [12:39:40]MH_I2C_Read... [12:39:40]Read from MH i2c: E2 0E 00 E9 21 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 A8 [12:39:40]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [12:39:40]wFMCommunicate OK [12:39:40]SAM_PROTO_GetShiftState done [12:39:40]FM_GetShiftState done [12:39:40]req_shift_opened done [12:39:40]requested_item shift.open_date is exist - process it [12:39:40]req_shift_open_date [12:39:40]req_shift_open_date done [12:39:40]produce_requested_data done [12:39:40]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22267,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297} [12:39:40]process_action_free close_receipt [12:39:40]json_value_free [12:39:40]json_value_free done [12:39:40]process_json_proto returns [12:39:40]Send response to host [12:39:40]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22267,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297}}} [12:39:40]free response buf [12:39:40]execute_script done [12:39:40]execute_script returns [12:39:40]free content buf [12:39:40]Sock 8.Close socket [12:39:40]Sock 8.Thread stoped [12:39:43]OFD Sender: No OFD packet to send [12:39:48]OFD Sender: No OFD packet to send [12:39:53]OFD Sender: No OFD packet to send [12:39:58]OFD Sender: No OFD packet to send [12:40:03]OFD Sender: No OFD packet to send [12:40:08]OFD Sender: No OFD packet to send [12:40:13]OFD Sender: No OFD packet to send [12:40:18]OFD Sender: No OFD packet to send [12:40:23]OFD Sender: No OFD packet to send [12:40:28]OFD Sender: No OFD packet to send [12:40:33]OFD Sender: No OFD packet to send [12:40:38]OFD Sender: No OFD packet to send [12:40:43]OFD Sender: No OFD packet to send [12:40:48]OFD Sender: No OFD packet to send [12:40:53]OFD Sender: No OFD packet to send [12:40:58]OFD Sender: No OFD packet to send [12:41:03]OFD Sender: No OFD packet to send [12:41:08]OFD Sender: No OFD packet to send [12:41:13]OFD Sender: No OFD packet to send [12:41:18]OFD Sender: No OFD packet to send [12:41:23]OFD Sender: No OFD packet to send [12:41:28]OFD Sender: No OFD packet to send [12:41:33]OFD Sender: No OFD packet to send [12:41:38]OFD Sender: No OFD packet to send [12:41:43]OFD Sender: No OFD packet to send [12:41:48]OFD Sender: No OFD packet to send [12:41:53]OFD Sender: No OFD packet to send [12:41:58]OFD Sender: No OFD packet to send [12:42:03]OFD Sender: No OFD packet to send [12:42:08]OFD Sender: No OFD packet to send [12:42:13]OFD Sender: No OFD packet to send [12:42:18]OFD Sender: No OFD packet to send [12:42:23]OFD Sender: No OFD packet to send [12:42:28]OFD Sender: No OFD packet to send [12:42:33]OFD Sender: No OFD packet to send [12:42:38]OFD Sender: No OFD packet to send [12:42:44]OFD Sender: No OFD packet to send [12:42:49]OFD Sender: No OFD packet to send [12:42:54]OFD Sender: No OFD packet to send [12:42:59]OFD Sender: No OFD packet to send [12:43:04]OFD Sender: No OFD packet to send [12:43:09]OFD Sender: No OFD packet to send [12:43:14]OFD Sender: No OFD packet to send [12:43:19]OFD Sender: No OFD packet to send [12:43:24]OFD Sender: No OFD packet to send [12:43:29]OFD Sender: No OFD packet to send [12:43:34]OFD Sender: No OFD packet to send [12:43:39]OFD Sender: No OFD packet to send [12:43:44]OFD Sender: No OFD packet to send [12:43:49]OFD Sender: No OFD packet to send [12:43:54]OFD Sender: No OFD packet to send [12:43:59]OFD Sender: No OFD packet to send [12:44:04]OFD Sender: No OFD packet to send [12:44:09]OFD Sender: No OFD packet to send [12:44:14]OFD Sender: No OFD packet to send [12:44:19]OFD Sender: No OFD packet to send [12:44:24]OFD Sender: No OFD packet to send [12:44:29]OFD Sender: No OFD packet to send [12:44:34]OFD Sender: No OFD packet to send [12:44:39]OFD Sender: No OFD packet to send [12:44:44]OFD Sender: No OFD packet to send [12:44:49]OFD Sender: No OFD packet to send [12:44:51]accept exits with 9 [12:44:51]New connection [12:44:51]New thread 3066838372 created [12:44:51]Thread 3066695012 joined [12:44:51]Waiting for new connection... [12:44:51] Sock 9.Parse request [12:44:51]Sock 9.Check first char [12:44:51]Sock 9.First char is OK [12:44:51]request: POST /json_proto HTTP/1.0 [12:44:51]Method: POST [12:44:51]URL: /json_proto [12:44:51]Method is POST - this is cgi request [12:44:51]url: /json_proto [12:44:51]query_string will be loaded in cgi processing [12:44:51]execute_cgi json_proto POST (null) [12:44:51]execute_cgi path=json_proto method=POST [12:44:51]POST find Content-Length [12:44:51]Host: 172.17.35.133:8080 [12:44:51]Content-Length: 1620 [12:44:51]Content-Type: application/json [12:44:51] [12:44:51]POST finish read [12:44:51]Found Content-Length = 1620 [12:44:51]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254482", "tax_sys" : 0, "items" : [ { "code": "5449000011527", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0424\u0430\u043D\u0442\u0430 0,33\u043B", "price" : 85.00, "quantity" : 1.000, "sum" : 85.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 }]} ,{ "code": "4600721021627", "name": "\u041F\u0438\u0432\u043E \u0411\u0410\u0414 0,5\u043B \u0441\u0442", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000034730018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E (GABB TRADE)", "price" : 75.00, "quantity" : 1.000, "sum" : 75.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: KICB \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 400.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:44:51]execute_script... [12:44:51]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254482", "tax_sys" : 0, "items" : [ { "code": "5449000011527", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0424\u0430\u043D\u0442\u0430 0,33\u043B", "price" : 85.00, "quantity" : 1.000, "sum" : 85.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 }]} ,{ "code": "4600721021627", "name": "\u041F\u0438\u0432\u043E \u0411\u0410\u0414 0,5\u043B \u0441\u0442", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000034730018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E (GABB TRADE)", "price" : 75.00, "quantity" : 1.000, "sum" : 75.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: KICB \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 400.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:44:51]POST & json_proto [12:44:51]process_json_proto [12:44:51]json parsed OK: [12:44:51]protocol is kg_v1.0 [12:44:51]action value=close_receipt [12:44:51]process_action close_receipt [12:44:51]cmd_close_receipt [12:44:51]MH_GetDate [12:44:51]Write to MH i2c: F0 00 00 EA 21 FA [12:44:51]Write i2c OK [12:44:51]MH_I2C_Read... [12:44:51]Read from MH i2c: F0 [12:44:51]MH_I2C_Read... [12:44:51]Read from MH i2c: F0 09 00 [12:44:51]MH_I2C_Read... [12:44:51]Read from MH i2c: F0 09 00 EA 21 00 4C DE 6E 66 8C 55 28 65 6F [12:44:51]GetLastDocTimeStamp 1718541584 [12:44:51]current date 1718541900 [12:44:51]FM_GetShiftState [12:44:51]SAM_PROTO_GetShiftState [12:44:51]wFMCommunicate request_size=4 [12:44:51]MH_SAM_APDU [12:44:51]CAPDU: 80 13 01 00 [12:44:51]Write to MH i2c: E2 08 00 EB 21 80 13 01 00 00 00 00 00 89 [12:44:51]Write i2c OK [12:44:51]MH_I2C_Read... [12:44:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:44:52]Read from MH i2c: E2 [12:44:52]MH_I2C_Read... [12:44:52]Read from MH i2c: E2 0E 00 [12:44:52]MH_I2C_Read... [12:44:52]Read from MH i2c: E2 0E 00 EB 21 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 AA [12:44:52]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [12:44:52]wFMCommunicate OK [12:44:52]SAM_PROTO_GetShiftState done [12:44:52]FM_GetShiftState done [12:44:52]opened in 1718497297 [12:44:52]opened+sec_in_day 1718583697 [12:44:52]quantity*price = 8500 [12:44:52]sum+1 = 8501 [12:44:52]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4660085515163 Шок Батончик Сникерс супер 95/80г 1.000 * 90.00 = 90.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4600721021627 Пиво БАД 0,5л ст 1.000 * 150.00 = 150.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 2000034730018 Кофе Американо (GABB TRADE) 1.000 * 75.00 = 75.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 400.00 НСП 1% : 3.54 НДС 12% : 42.48 Наличными: 0.00 Безнал.: 400.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 33 16.06.2024 12:45 Смена: 327 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 Платежная система: KICB Банк ФМ: 0000000000965344 ФД: 22268 ФПД: 15912859471008 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T124500&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22268&fm=15912859471008&tin=02508201610067®Number=0000000000099755&sum=40000 0 [12:44:53]StoreToDocumentArchive [12:44:53]shift 327 fd 22268 [12:44:53]save to /storage/0327/doc_00022268 [12:44:53]save last doc name /storage/0327/doc_00022268 to /storage/kkm_last_doc_name [12:44:53]save OK [12:44:53]Clear old archive folders... [12:44:53]ProcessDocumentItem done err = 0, tmpTLVsize=613 [12:44:53]tlvbuf is 001A6CE0 [12:44:53]SAM_PROTO_ClearQueue [12:44:53]wFMCommunicate request_size=4 [12:44:53]MH_SAM_APDU [12:44:53]CAPDU: 80 09 00 00 [12:44:53]Write to MH i2c: E2 08 00 F8 21 80 09 00 00 00 00 00 00 8B [12:44:53]Write i2c OK [12:44:53]MH_I2C_Read... [12:44:53]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:44:53]Read from MH i2c: E2 [12:44:53]MH_I2C_Read... [12:44:53]Read from MH i2c: E2 03 00 [12:44:53]MH_I2C_Read... [12:44:53]Read from MH i2c: E2 03 00 F8 21 00 90 00 8D [12:44:53]RAPDU: 90 00 [12:44:53]wFMCommunicate OK [12:44:53]SAM_PROTO_ClearQueue done [12:44:53]KKMCreateOFDPacket [12:44:53]OFDProtocolAddRootSTLVToBuf [12:44:53]FM_MakeSignedData [12:44:53]FM_MakeSignedData [12:44:53]SAM_PROTO_SignData [12:44:53]wFMCommunicate request_size=4 [12:44:53]MH_SAM_APDU [12:44:53]CAPDU: 80 0D 01 02 [12:44:53]Write to MH i2c: E2 08 00 F9 21 80 0D 01 02 00 00 00 00 93 [12:44:53]Write i2c OK [12:44:53]MH_I2C_Read... [12:44:53]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:44:53]Read from MH i2c: E2 [12:44:53]MH_I2C_Read... [12:44:53]Read from MH i2c: E2 03 00 [12:44:53]MH_I2C_Read... [12:44:53]Read from MH i2c: E2 03 00 F9 21 00 90 00 8E [12:44:53]RAPDU: 90 00 [12:44:53]wFMCommunicate OK [12:44:53]wFMCommunicate request_size=255 [12:44:53]MH_SAM_APDU [12:44:53]CAPDU: 80 0D 02 02 FA 03 00 65 02 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 35 34 34 39 30 30 30 30 31 31 35 32 37 06 04 20 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 30 2C 33 33 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 23 04 5E 00 8A 04 0D 00 [12:44:53]Write to MH i2c: E2 02 01 FA 21 80 0D 02 02 FA 00 03 00 65 02 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 35 34 34 39 30 30 30 30 31 31 35 32 37 06 04 20 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 30 2C 33 33 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 23 04 5E 00 8A 04 0D 00 00 00 7A [12:44:53]Write i2c OK [12:44:53]MH_I2C_Read... [12:44:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:44:53]Read from MH i2c: E2 [12:44:53]MH_I2C_Read... [12:44:53]Read from MH i2c: E2 03 00 [12:44:53]MH_I2C_Read... [12:44:53]Read from MH i2c: E2 03 00 FA 21 00 90 00 8F [12:44:53]RAPDU: 90 00 [12:44:53]wFMCommunicate OK [12:44:53]wFMCommunicate request_size=255 [12:44:53]MH_SAM_APDU [12:44:53]CAPDU: 80 0D 02 02 FA 34 36 30 30 37 32 31 30 32 31 36 32 37 06 04 1A 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 91 D0 90 D0 94 20 30 2C 35 D0 BB 20 D1 81 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 34 37 33 30 30 31 38 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 10 [12:44:53]Write to MH i2c: E2 02 01 FB 21 80 0D 02 02 FA 00 34 36 30 30 37 32 31 30 32 31 36 32 37 06 04 1A 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 91 D0 90 D0 94 20 30 2C 35 D0 BB 20 D1 81 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 34 37 33 30 30 31 38 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 10 00 00 65 [12:44:53]Write i2c OK [12:44:53]MH_I2C_Read... [12:44:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:44:53]Read from MH i2c: E2 [12:44:53]MH_I2C_Read... [12:44:53]Read from MH i2c: E2 03 00 [12:44:53]MH_I2C_Read... [12:44:53]Read from MH i2c: E2 03 00 FB 21 00 90 00 90 [12:44:53]RAPDU: 90 00 [12:44:53]wFMCommunicate OK [12:44:53]wFMCommunicate request_size=122 [12:44:53]MH_SAM_APDU [12:44:53]CAPDU: 80 0D 02 02 75 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 9C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 4C DE 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 FC 56 00 00 35 04 06 00 0E 79 00 56 0C A0 [12:44:53]Write to MH i2c: E2 7D 00 FC 21 80 0D 02 02 75 00 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 9C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 4C DE 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 FC 56 00 00 35 04 06 00 0E 79 00 56 0C A0 00 00 E2 [12:44:53]Write i2c OK [12:44:53]MH_I2C_Read... [12:44:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:44:53]Read from MH i2c: E2 [12:44:53]MH_I2C_Read... [12:44:53]Read from MH i2c: E2 03 00 [12:44:53]MH_I2C_Read... [12:44:53]Read from MH i2c: E2 03 00 FC 21 00 90 00 91 [12:44:53]RAPDU: 90 00 [12:44:53]wFMCommunicate OK [12:44:53]wFMCommunicate request_size=4 [12:44:53]MH_SAM_APDU [12:44:53]CAPDU: 80 0D 03 02 [12:44:53]Write to MH i2c: E2 08 00 FD 21 80 0D 03 02 00 00 00 00 99 [12:44:53]Write i2c OK [12:44:53]MH_I2C_Read... [12:44:53]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:44:53]Read from MH i2c: E2 [12:44:53]MH_I2C_Read... [12:44:53]Read from MH i2c: E2 0B 00 [12:44:53]MH_I2C_Read... [12:44:53]Read from MH i2c: E2 0B 00 FD 21 00 6C 27 EE 98 9B 32 89 27 90 00 30 [12:44:53]RAPDU: 6C 27 EE 98 9B 32 89 27 90 00 [12:44:53]wFMCommunicate OK [12:44:53]SAM_PROTO_SignData done [12:44:53]FM_MakeSignedData done [12:44:53]CreateOFDProtocolMessage [12:44:53]wFMCommunicate request_size=4 [12:44:53]MH_SAM_APDU [12:44:53]CAPDU: 80 11 00 00 [12:44:53]Write to MH i2c: E2 08 00 FE 21 80 11 00 00 00 00 00 00 99 [12:44:53]Write i2c OK [12:44:53]MH_I2C_Read... [12:44:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:44:54]Read from MH i2c: E2 [12:44:54]MH_I2C_Read... [12:44:54]Read from MH i2c: E2 17 00 [12:44:54]MH_I2C_Read... [12:44:54]Read from MH i2c: E2 17 00 FE 21 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 EB [12:44:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [12:44:54]wFMCommunicate OK [12:44:54]CreateOFDProtocolMessage done [12:44:54]OFDSenderStorePacket 22268 [12:44:54]StoreOFDPacket docnum=22268 [12:44:54]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 79 02 00 00 08 C6 71 02 F4 DF 5A 03 01 00 03 00 65 02 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 35 34 34 39 30 30 30 30 31 31 35 32 37 06 04 20 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 30 2C 33 33 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 23 04 5E 00 8A 04 0D 00 34 36 30 30 37 32 31 30 32 31 36 32 37 06 04 1A 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 91 D0 90 D0 94 20 30 2C 35 D0 BB 20 D1 81 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 34 37 33 30 30 31 38 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 10 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 9C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 4C DE 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 FC 56 00 00 35 04 06 00 0E 79 00 56 0C A0 6C 27 EE 98 9B 32 89 27 [12:44:54]CheckFolder [12:44:54]dirname=/storage/ofd_packets [12:44:54]CheckFolder done [12:44:54]ProducePacketName [12:44:54]name=ofd_packets/00022268 [12:44:54]NVStorageSaveData ofd_packets/00022268 [12:44:54]File name is /storage/ofd_packets/00022268 [12:44:54]Write 663 bytes [12:44:54]NVStorageSaveData done [12:44:54]OFDSenderStorePacket done [12:44:54]KKMCreateOFDPacket done [12:44:54]NVStorageSaveData kkm_last_timestamp [12:44:54]File name is /storage/kkm_last_timestamp [12:44:54]Write 4 bytes [12:44:54]NVStorageSaveData done [12:44:54]ExternCall_PrintAddStr [12:44:54]wPrintStart [12:44:54]Write to MH i2c: 01 00 00 FF 21 20 [12:44:54]Write i2c OK [12:44:54]MH_I2C_Read... [12:44:54]Read from MH i2c: 01 [12:44:54]MH_I2C_Read... [12:44:54]Read from MH i2c: 01 07 00 [12:44:54]MH_I2C_Read... [12:44:54]Read from MH i2c: 01 07 00 FF 21 00 00 00 00 00 FF 0F 35 [12:44:54]RasterBufferAndPrint [12:44:54]line Счет N : (3)254482 [12:44:54]line ИНН: 02508201610067 [12:44:54]line Контрольно-Кассовый Чек [12:44:54]line ПРОДАЖА [12:44:54]line Товар: 5449000011527 [12:44:54]line Напиток Фанта 0,33л [12:44:54]line 1.000 * 85.00 [12:44:54]line = 85.00 [12:44:54]line НДС 12% НСП 1% [12:44:54]line > о реализуемом товаре [12:44:54]line Товар: 4660085515163 [12:44:54]line Шок Батончик Сникерс супер 95/80г [12:44:54]line 1.000 * 90.00 [12:44:54]line = 90.00 [12:44:54]line НДС 12% НСП 1% [12:44:54]line > о реализуемом товаре [12:44:54]line Товар: 4600721021627 [12:44:54]line Пиво БАД 0,5л ст [12:44:54]line 1.000 * 150.00 [12:44:54]line = 150.00 [12:44:54]line НДС 12% НСП 1% [12:44:54]line > о реализуемом товаре [12:44:54]line Товар: 2000034730018 [12:44:54]line Кофе Американо (GABB TRADE) [12:44:54]line 1.000 * 75.00 [12:44:54]line = 75.00 [12:44:54]line НДС 12% НСП 1% [12:44:54]line > о реализуемом товаре [12:44:54]line ИТОГО: 400.00 [12:44:54]line НСП 1% : 3.54 [12:44:54]line НДС 12% : 42.48 [12:44:54]line Наличными: 0.00 [12:44:54]line Безнал.: 400.00 [12:44:54]line Место: АЗС № 76 "Партнер Нефть" [12:44:54]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [12:44:54]line СНО: Общий режим [12:44:54]line Чек 33 16.06.2024 12:45 [12:44:54]line Смена: 327 ФФД: 1.0 [12:44:54]line ЗНМ: 0300000200 [12:44:54]line РНМ: 0000000000099755 [12:44:54]line Версия ККМ: 001 [12:44:54]line Платежная система: KICB Банк [12:44:54]line ФМ: 0000000000965344 [12:44:54]line ФД: 22268 [12:44:54]line ФПД: 15912859471008 [12:44:54]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T124500&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22268&fm=15912859471008&tin=02508201610067®Number=0000000000099755&sum=40000 [12:44:54]OFD Sender: Processing packet 22268 [packets to send 5, broken 4] [12:44:54]ProducePacketName [12:44:54]name=ofd_packets/00022268 [12:44:54]OFD Sender: To server: pG, [12:44:54]CommunicateWithHost lk.salyk.kg:30040 [12:44:54]ConnectInit lk.salyk.kg [12:44:54]line 0 [12:44:54]written 0, free lines is 4095 [12:44:54]Connected sock=10 [12:44:54]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 79 02 00 00 08 C6 71 02 F4 DF 5A 03 01 00 03 00 65 02 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 35 34 34 39 30 30 30 30 31 31 35 32 37 06 04 20 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 30 2C 33 33 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 23 04 5E 00 8A 04 0D 00 34 36 30 30 37 32 31 30 32 31 36 32 37 06 04 1A 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 91 D0 90 D0 94 20 30 2C 35 D0 BB 20 D1 81 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 34 37 33 30 30 31 38 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 10 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 9C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 4C DE 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 FC 56 00 00 35 04 06 00 0E 79 00 56 0C A0 6C 27 EE 98 9B 32 89 27 [12:44:54]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 D0 B0 47 00 09 E2 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 FC 56 00 00 F4 03 04 00 06 87 6E 66 B6 04 01 00 00 8E 4E 1C D4 3F 90 3C C6 [12:44:54]CommunicateWithHost err = 0 [12:44:54]CheckOFDResponse [12:44:54]1017 (14) - 77093643461234 [12:44:54]1041 (16) - 0000000000965344 [12:44:54]1040 (4) - 22268 [12:44:54]1012 (4) - 16.06.2024 06:32 [12:44:54]1206 (1) - 0 [12:44:54]OFD Sender: Remove packet 22268 [12:44:54]ProducePacketName [12:44:54]name=ofd_packets/00022268 [12:44:54]NVStorageDeleteData [12:44:55]Write to MH i2c: 01 00 00 3D 22 5F [12:44:55]Write i2c OK [12:44:55]MH_I2C_Read... [12:44:55]Read from MH i2c: 01 [12:44:55]MH_I2C_Read... [12:44:55]Read from MH i2c: 01 07 00 [12:44:55]MH_I2C_Read... [12:44:55]Read from MH i2c: 01 07 00 3D 22 00 00 00 00 00 04 0C 76 [12:44:55]RasterBufferAndPrint [12:44:55]line [12:44:55]line [12:44:55]line [12:44:55]line [12:44:55]line [12:44:55]written 0, free lines is 3088 [12:44:55]MH_Cut [12:44:55]Write to MH i2c: D1 01 00 44 22 01 38 [12:44:55]Write i2c OK [12:44:55]MH_I2C_Read... [12:44:55]Read from MH i2c: D1 [12:44:55]MH_I2C_Read... [12:44:55]Read from MH i2c: D1 01 00 [12:44:55]MH_I2C_Read... [12:44:55]Read from MH i2c: D1 01 00 44 22 00 37 [12:44:55]Write to MH i2c: 01 00 00 45 22 67 [12:44:55]Write i2c OK [12:44:55]MH_I2C_Read... [12:44:55]OFD Sender: No OFD packet to send [12:44:55]*** Cut start [12:44:55]*** Partial cut [12:44:55]*** CUTSNS_PIN = 1 [12:44:55]*** CUTSNS_PIN = 0 [12:44:56]*** Brake cut motor [12:44:56]Read from MH i2c: 01 [12:44:56]MH_I2C_Read... [12:44:56]*** Stop cut motor [12:44:56]*** Cut end [12:44:56]Read from MH i2c: 01 07 00 [12:44:56]MH_I2C_Read... [12:44:56]Read from MH i2c: 01 07 00 45 22 00 00 00 00 00 FF 0F 7C [12:44:56]process_action close_receipt done [12:44:56]requested_data is exist [12:44:56]produce_requested_data [12:44:56]requested_item fm.sn is exist - process it [12:44:56]wFMCommunicate request_size=4 [12:44:56]MH_SAM_APDU [12:44:56]CAPDU: 80 11 00 00 [12:44:56]Write to MH i2c: E2 08 00 46 22 80 11 00 00 00 00 00 00 E2 [12:44:56]Write i2c OK [12:44:56]MH_I2C_Read... [12:44:56]Read from MH i2c: E2 [12:44:56]MH_I2C_Read... [12:44:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:44:56]Read from MH i2c: E2 17 00 [12:44:56]MH_I2C_Read... [12:44:56]Read from MH i2c: E2 17 00 46 22 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 34 [12:44:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [12:44:56]wFMCommunicate OK [12:44:56]requested_item fd.num is exist - process it [12:44:56]SAM_PROTO_GetFieldsCounters [12:44:56]wFMCommunicate request_size=4 [12:44:56]MH_SAM_APDU [12:44:56]CAPDU: 80 13 00 00 [12:44:56]Write to MH i2c: E2 08 00 47 22 80 13 00 00 00 00 00 00 E5 [12:44:56]Write i2c OK [12:44:56]MH_I2C_Read... [12:44:56]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:44:56]Read from MH i2c: E2 [12:44:56]MH_I2C_Read... [12:44:56]Read from MH i2c: E2 62 00 [12:44:56]MH_I2C_Read... [12:44:56]Read from MH i2c: E2 62 00 47 22 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 FC 56 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 21 00 00 00 5E 04 04 00 21 00 00 00 57 04 04 00 22 00 00 00 19 04 04 00 00 00 00 00 90 00 0C [12:44:56]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 FC 56 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 21 00 00 00 5E 04 04 00 21 00 00 00 57 04 04 00 22 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:44:56]wFMCommunicate OK [12:44:56]SAM_PROTO_GetFieldsCounters done [12:44:56]requested_item shift.num is exist - process it [12:44:56]requested_item shift.opened is exist - process it [12:44:56]req_shift_opened [12:44:56]FM_GetShiftState [12:44:56]SAM_PROTO_GetShiftState [12:44:56]wFMCommunicate request_size=4 [12:44:56]MH_SAM_APDU [12:44:56]CAPDU: 80 13 01 00 [12:44:56]Write to MH i2c: E2 08 00 48 22 80 13 01 00 00 00 00 00 E7 [12:44:56]Write i2c OK [12:44:56]MH_I2C_Read... [12:44:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:44:56]Read from MH i2c: E2 [12:44:56]MH_I2C_Read... [12:44:56]Read from MH i2c: E2 0E 00 [12:44:56]MH_I2C_Read... [12:44:56]Read from MH i2c: E2 0E 00 48 22 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 08 [12:44:56]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [12:44:56]wFMCommunicate OK [12:44:56]SAM_PROTO_GetShiftState done [12:44:56]FM_GetShiftState done [12:44:56]req_shift_opened done [12:44:56]requested_item shift.open_date is exist - process it [12:44:56]req_shift_open_date [12:44:56]req_shift_open_date done [12:44:56]produce_requested_data done [12:44:56]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22268,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297} [12:44:56]process_action_free close_receipt [12:44:56]json_value_free [12:44:56]json_value_free done [12:44:56]process_json_proto returns [12:44:56]Send response to host [12:44:56]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22268,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297}}} [12:44:56]free response buf [12:44:56]execute_script done [12:44:56]execute_script returns [12:44:56]free content buf [12:44:56]Sock 9.Close socket [12:44:56]Sock 9.Thread stoped [12:45:00]OFD Sender: No OFD packet to send [12:45:05]OFD Sender: No OFD packet to send [12:45:10]OFD Sender: No OFD packet to send [12:45:15]OFD Sender: No OFD packet to send [12:45:20]OFD Sender: No OFD packet to send [12:45:25]OFD Sender: No OFD packet to send [12:45:30]OFD Sender: No OFD packet to send [12:45:35]OFD Sender: No OFD packet to send [12:45:40]OFD Sender: No OFD packet to send [12:45:45]OFD Sender: No OFD packet to send [12:45:50]OFD Sender: No OFD packet to send [12:45:55]OFD Sender: No OFD packet to send [12:46:00]OFD Sender: No OFD packet to send [12:46:05]OFD Sender: No OFD packet to send [12:46:10]OFD Sender: No OFD packet to send [12:46:15]OFD Sender: No OFD packet to send [12:46:20]OFD Sender: No OFD packet to send [12:46:25]OFD Sender: No OFD packet to send [12:46:30]OFD Sender: No OFD packet to send [12:46:35]OFD Sender: No OFD packet to send [12:46:40]OFD Sender: No OFD packet to send [12:46:45]OFD Sender: No OFD packet to send [12:46:50]OFD Sender: No OFD packet to send [12:46:55]OFD Sender: No OFD packet to send [12:47:00]OFD Sender: No OFD packet to send [12:47:05]OFD Sender: No OFD packet to send [12:47:10]OFD Sender: No OFD packet to send [12:47:15]OFD Sender: No OFD packet to send [12:47:20]OFD Sender: No OFD packet to send [12:47:25]OFD Sender: No OFD packet to send [12:47:30]OFD Sender: No OFD packet to send [12:47:35]OFD Sender: No OFD packet to send [12:47:40]OFD Sender: No OFD packet to send [12:47:45]OFD Sender: No OFD packet to send [12:47:50]OFD Sender: No OFD packet to send [12:47:55]OFD Sender: No OFD packet to send [12:48:00]OFD Sender: No OFD packet to send [12:48:00]accept exits with 8 [12:48:00]New connection [12:48:00]New thread 3066695012 created [12:48:00]Thread 3066838372 joined [12:48:00]Waiting for new connection... [12:48:00] Sock 8.Parse request [12:48:00]Sock 8.Check first char [12:48:00]Sock 8.First char is OK [12:48:00]request: POST /json_proto HTTP/1.0 [12:48:00]Method: POST [12:48:00]URL: /json_proto [12:48:00]Method is POST - this is cgi request [12:48:00]url: /json_proto [12:48:00]query_string will be loaded in cgi processing [12:48:00]execute_cgi json_proto POST (null) [12:48:00]execute_cgi path=json_proto method=POST [12:48:00]POST find Content-Length [12:48:00]Host: 172.17.35.133:8080 [12:48:00]Content-Length: 1506 [12:48:00]Content-Type: application/json [12:48:00] [12:48:00]POST finish read [12:48:00]Found Content-Length = 1506 [12:48:00]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254483", "tax_sys" : 0, "items" : [ { "code": "4860019001353", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u0440\u0436\u043E\u043C\u0438 0,5\u043B \u041F\u042D\u0422", "price" : 120.00, "quantity" : 3.000, "sum" : 360.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4011100977952", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0422\u0432\u0438\u043A\u0441 55\u0433", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000027340020", "name": "\u041F\u0430\u043A\u0435\u0442 \u0431\u0443\u043C\u0430\u0436\u043D\u044B\u0439 \u0432\u0438\u0442\u0430\u044F \u0440\u0443\u0447\u043A\u0430", "price" : 25.00, "quantity" : 1.000, "sum" : 25.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 560.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:48:00]execute_script... [12:48:00]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254483", "tax_sys" : 0, "items" : [ { "code": "4860019001353", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u0440\u0436\u043E\u043C\u0438 0,5\u043B \u041F\u042D\u0422", "price" : 120.00, "quantity" : 3.000, "sum" : 360.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4011100977952", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0422\u0432\u0438\u043A\u0441 55\u0433", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000027340020", "name": "\u041F\u0430\u043A\u0435\u0442 \u0431\u0443\u043C\u0430\u0436\u043D\u044B\u0439 \u0432\u0438\u0442\u0430\u044F \u0440\u0443\u0447\u043A\u0430", "price" : 25.00, "quantity" : 1.000, "sum" : 25.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 560.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:48:00]POST & json_proto [12:48:00]process_json_proto [12:48:00]json parsed OK: [12:48:00]protocol is kg_v1.0 [12:48:00]action value=close_receipt [12:48:00]process_action close_receipt [12:48:00]cmd_close_receipt [12:48:00]MH_GetDate [12:48:00]Write to MH i2c: F0 00 00 49 22 5A [12:48:00]Write i2c OK [12:48:00]MH_I2C_Read... [12:48:00]Read from MH i2c: F0 [12:48:00]MH_I2C_Read... [12:48:00]Read from MH i2c: F0 09 00 [12:48:00]MH_I2C_Read... [12:48:00]Read from MH i2c: F0 09 00 49 22 00 08 DF 6E 66 8C 55 28 65 8C [12:48:00]GetLastDocTimeStamp 1718541900 [12:48:00]current date 1718542088 [12:48:00]FM_GetShiftState [12:48:00]SAM_PROTO_GetShiftState [12:48:00]wFMCommunicate request_size=4 [12:48:00]MH_SAM_APDU [12:48:00]CAPDU: 80 13 01 00 [12:48:00]Write to MH i2c: E2 08 00 4A 22 80 13 01 00 00 00 00 00 E9 [12:48:00]Write i2c OK [12:48:00]MH_I2C_Read... [12:48:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:48:00]Read from MH i2c: E2 [12:48:00]MH_I2C_Read... [12:48:00]Read from MH i2c: E2 0E 00 [12:48:00]MH_I2C_Read... [12:48:00]Read from MH i2c: E2 0E 00 4A 22 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 0A [12:48:00]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [12:48:00]wFMCommunicate OK [12:48:00]SAM_PROTO_GetShiftState done [12:48:00]FM_GetShiftState done [12:48:00]opened in 1718497297 [12:48:00]opened+sec_in_day 1718583697 [12:48:00]quantity*price = 36000 [12:48:00]sum+1 = 36001 [12:48:00]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 2000036210013 Кофе Капучино (GABB TRADE) 1.000 * 115.00 = 115.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4011100977952 Шок Батончик Твикс 55г 1.000 * 60.00 = 60.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 2000027340020 Пакет бумажный витая ручка 1.000 * 25.00 = 25.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 560.00 НСП 1% : 4.96 НДС 12% : 59.46 Наличными: 560.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 34 16.06.2024 12:48 Смена: 327 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22269 ФПД: 84498821522460 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T124809&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22269&fm=84498821522460&tin=02508201610067®Number=0000000000099755&sum=56000 0 [12:48:02]StoreToDocumentArchive [12:48:02]shift 327 fd 22269 [12:48:02]save to /storage/0327/doc_00022269 [12:48:02]save last doc name /storage/0327/doc_00022269 to /storage/kkm_last_doc_name [12:48:02]save OK [12:48:02]Clear old archive folders... [12:48:02]ProcessDocumentItem done err = 0, tmpTLVsize=620 [12:48:02]tlvbuf is 001CFA40 [12:48:02]SAM_PROTO_ClearQueue [12:48:02]wFMCommunicate request_size=4 [12:48:02]MH_SAM_APDU [12:48:02]CAPDU: 80 09 00 00 [12:48:02]Write to MH i2c: E2 08 00 57 22 80 09 00 00 00 00 00 00 EB [12:48:02]Write i2c OK [12:48:02]MH_I2C_Read... [12:48:02]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:48:02]Read from MH i2c: E2 [12:48:02]MH_I2C_Read... [12:48:02]Read from MH i2c: E2 03 00 [12:48:02]MH_I2C_Read... [12:48:02]Read from MH i2c: E2 03 00 57 22 00 90 00 ED [12:48:02]RAPDU: 90 00 [12:48:02]wFMCommunicate OK [12:48:02]SAM_PROTO_ClearQueue done [12:48:02]KKMCreateOFDPacket [12:48:02]OFDProtocolAddRootSTLVToBuf [12:48:02]FM_MakeSignedData [12:48:02]FM_MakeSignedData [12:48:02]SAM_PROTO_SignData [12:48:02]wFMCommunicate request_size=4 [12:48:02]MH_SAM_APDU [12:48:02]CAPDU: 80 0D 01 02 [12:48:02]Write to MH i2c: E2 08 00 58 22 80 0D 01 02 00 00 00 00 F3 [12:48:02]Write i2c OK [12:48:02]MH_I2C_Read... [12:48:02]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:48:02]Read from MH i2c: E2 [12:48:02]MH_I2C_Read... [12:48:02]Read from MH i2c: E2 03 00 [12:48:02]MH_I2C_Read... [12:48:02]Read from MH i2c: E2 03 00 58 22 00 90 00 EE [12:48:02]RAPDU: 90 00 [12:48:02]wFMCommunicate OK [12:48:02]wFMCommunicate request_size=255 [12:48:02]MH_SAM_APDU [12:48:02]CAPDU: 80 0D 02 02 FA 03 00 6C 02 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 33 35 33 06 04 24 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D1 80 D0 B6 D0 BE D0 BC D0 B8 20 30 2C 35 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 A0 8C 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 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 30 31 31 31 30 30 39 37 37 39 35 32 06 04 [12:48:02]Write to MH i2c: E2 02 01 59 22 80 0D 02 02 FA 00 03 00 6C 02 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 33 35 33 06 04 24 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D1 80 D0 B6 D0 BE D0 BC D0 B8 20 30 2C 35 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 A0 8C 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 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 30 31 31 31 30 30 39 37 37 39 35 32 06 04 00 00 75 [12:48:02]Write i2c OK [12:48:02]MH_I2C_Read... [12:48:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:48:02]Read from MH i2c: E2 [12:48:02]MH_I2C_Read... [12:48:02]Read from MH i2c: E2 03 00 [12:48:02]MH_I2C_Read... [12:48:02]Read from MH i2c: E2 03 00 59 22 00 90 00 EF [12:48:02]RAPDU: 90 00 [12:48:02]wFMCommunicate OK [12:48:02]wFMCommunicate request_size=255 [12:48:02]MH_SAM_APDU [12:48:02]CAPDU: 80 0D 02 02 FA 27 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A2 D0 B2 D0 B8 D0 BA D1 81 20 35 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 75 00 8A 04 0D 00 32 30 30 30 30 32 37 33 34 30 30 32 30 06 04 31 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 20 D0 B1 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B9 20 D0 B2 D0 B8 D1 82 D0 B0 D1 8F 20 D1 80 D1 83 D1 87 D0 BA D0 B0 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C4 09 00 00 00 00 13 04 06 00 C4 09 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 DA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F0 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 [12:48:02]Write to MH i2c: E2 02 01 5A 22 80 0D 02 02 FA 00 27 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A2 D0 B2 D0 B8 D0 BA D1 81 20 35 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 75 00 8A 04 0D 00 32 30 30 30 30 32 37 33 34 30 30 32 30 06 04 31 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 20 D0 B1 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B9 20 D0 B2 D0 B8 D1 82 D0 B0 D1 8F 20 D1 80 D1 83 D1 87 D0 BA D0 B0 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C4 09 00 00 00 00 13 04 06 00 C4 09 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 DA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F0 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 00 00 16 [12:48:02]Write i2c OK [12:48:02]MH_I2C_Read... [12:48:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:48:02]Read from MH i2c: E2 [12:48:02]MH_I2C_Read... [12:48:02]Read from MH i2c: E2 03 00 [12:48:02]MH_I2C_Read... [12:48:02]Read from MH i2c: E2 03 00 5A 22 00 90 00 F0 [12:48:02]RAPDU: 90 00 [12:48:02]wFMCommunicate OK [12:48:02]wFMCommunicate request_size=129 [12:48:02]MH_SAM_APDU [12:48:02]CAPDU: 80 0D 02 02 7C 01 F3 03 06 00 3A 17 00 00 00 00 07 04 06 00 C0 DA 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 22 00 00 00 F4 03 04 00 09 DF 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 FD 56 00 00 35 04 06 00 4C D9 EA 3D A4 1C [12:48:02]Write to MH i2c: E2 84 00 5B 22 80 0D 02 02 7C 00 01 F3 03 06 00 3A 17 00 00 00 00 07 04 06 00 C0 DA 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 22 00 00 00 F4 03 04 00 09 DF 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 FD 56 00 00 35 04 06 00 4C D9 EA 3D A4 1C 00 00 9F [12:48:02]Write i2c OK [12:48:02]MH_I2C_Read... [12:48:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:48:02]Read from MH i2c: E2 [12:48:02]MH_I2C_Read... [12:48:02]Read from MH i2c: E2 03 00 [12:48:02]MH_I2C_Read... [12:48:02]Read from MH i2c: E2 03 00 5B 22 00 90 00 F1 [12:48:02]RAPDU: 90 00 [12:48:02]wFMCommunicate OK [12:48:02]wFMCommunicate request_size=4 [12:48:02]MH_SAM_APDU [12:48:02]CAPDU: 80 0D 03 02 [12:48:02]Write to MH i2c: E2 08 00 5C 22 80 0D 03 02 00 00 00 00 F9 [12:48:02]Write i2c OK [12:48:02]MH_I2C_Read... [12:48:02]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:48:02]Read from MH i2c: E2 [12:48:02]MH_I2C_Read... [12:48:02]Read from MH i2c: E2 0B 00 [12:48:02]MH_I2C_Read... [12:48:02]Read from MH i2c: E2 0B 00 5C 22 00 15 9A 37 DD B0 F9 3E BE 90 00 62 [12:48:02]RAPDU: 15 9A 37 DD B0 F9 3E BE 90 00 [12:48:02]wFMCommunicate OK [12:48:02]SAM_PROTO_SignData done [12:48:02]FM_MakeSignedData done [12:48:02]CreateOFDProtocolMessage [12:48:02]wFMCommunicate request_size=4 [12:48:02]MH_SAM_APDU [12:48:02]CAPDU: 80 11 00 00 [12:48:02]Write to MH i2c: E2 08 00 5D 22 80 11 00 00 00 00 00 00 F9 [12:48:02]Write i2c OK [12:48:02]MH_I2C_Read... [12:48:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:48:03]Read from MH i2c: E2 [12:48:03]MH_I2C_Read... [12:48:03]Read from MH i2c: E2 17 00 [12:48:03]MH_I2C_Read... [12:48:03]Read from MH i2c: E2 17 00 5D 22 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 4B [12:48:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [12:48:03]wFMCommunicate OK [12:48:03]CreateOFDProtocolMessage done [12:48:03]OFDSenderStorePacket 22269 [12:48:03]StoreOFDPacket docnum=22269 [12:48:03]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 80 02 00 00 86 E2 78 02 5D 9E 5A 03 01 00 03 00 6C 02 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 33 35 33 06 04 24 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D1 80 D0 B6 D0 BE D0 BC D0 B8 20 30 2C 35 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 A0 8C 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 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 30 31 31 31 30 30 39 37 37 39 35 32 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A2 D0 B2 D0 B8 D0 BA D1 81 20 35 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 75 00 8A 04 0D 00 32 30 30 30 30 32 37 33 34 30 30 32 30 06 04 31 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 20 D0 B1 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B9 20 D0 B2 D0 B8 D1 82 D0 B0 D1 8F 20 D1 80 D1 83 D1 87 D0 BA D0 B0 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C4 09 00 00 00 00 13 04 06 00 C4 09 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 DA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F0 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3A 17 00 00 00 00 07 04 06 00 C0 DA 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 22 00 00 00 F4 03 04 00 09 DF 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 FD 56 00 00 35 04 06 00 4C D9 EA 3D A4 1C 15 9A 37 DD B0 F9 3E BE [12:48:03]CheckFolder [12:48:03]dirname=/storage/ofd_packets [12:48:03]CheckFolder done [12:48:03]ProducePacketName [12:48:03]name=ofd_packets/00022269 [12:48:03]NVStorageSaveData ofd_packets/00022269 [12:48:03]File name is /storage/ofd_packets/00022269 [12:48:03]Write 670 bytes [12:48:03]NVStorageSaveData done [12:48:03]OFDSenderStorePacket done [12:48:03]KKMCreateOFDPacket done [12:48:03]NVStorageSaveData kkm_last_timestamp [12:48:03]File name is /storage/kkm_last_timestamp [12:48:03]Write 4 bytes [12:48:03]NVStorageSaveData done [12:48:03]ExternCall_PrintAddStr [12:48:03]wPrintStart [12:48:03]Write to MH i2c: 01 00 00 5E 22 80 [12:48:03]Write i2c OK [12:48:03]MH_I2C_Read... [12:48:03]Read from MH i2c: 01 [12:48:03]MH_I2C_Read... [12:48:03]Read from MH i2c: 01 07 00 [12:48:03]MH_I2C_Read... [12:48:03]Read from MH i2c: 01 07 00 5E 22 00 00 00 00 00 FF 0F 95 [12:48:03]RasterBufferAndPrint [12:48:03]line Счет N : (3)254483 [12:48:03]line ИНН: 02508201610067 [12:48:03]line Контрольно-Кассовый Чек [12:48:03]line ПРОДАЖА [12:48:03]line Товар: 4860019001353 [12:48:03]line Вода Боржоми 0,5л ПЭТ [12:48:03]line 3.000 * 120.00 [12:48:03]line = 360.00 [12:48:03]line НДС 12% НСП 1% [12:48:03]line > о реализуемом товаре [12:48:03]line Товар: 2000036210013 [12:48:03]line Кофе Капучино (GABB TRADE) [12:48:03]line 1.000 * 115.00 [12:48:03]line = 115.00 [12:48:03]line НДС 12% НСП 1% [12:48:03]line > о реализуемом товаре [12:48:03]line Товар: 4011100977952 [12:48:03]line Шок Батончик Твикс 55г [12:48:03]line 1.000 * 60.00 [12:48:03]line = 60.00 [12:48:03]line НДС 12% НСП 1% [12:48:03]line > о реализуемом товаре [12:48:03]line Товар: 2000027340020 [12:48:03]line Пакет бумажный витая ручка [12:48:03]line 1.000 * 25.00 [12:48:03]line = 25.00 [12:48:03]line НДС 12% НСП 1% [12:48:03]line > о реализуемом товаре [12:48:03]line ИТОГО: 560.00 [12:48:03]line НСП 1% : 4.96 [12:48:03]line НДС 12% : 59.46 [12:48:03]line Наличными: 560.00 [12:48:03]line Безнал.: 0.00 [12:48:03]line Место: АЗС № 76 "Партнер Нефть" [12:48:03]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [12:48:03]line СНО: Общий режим [12:48:03]line Чек 34 16.06.2024 12:48 [12:48:03]line Смена: 327 ФФД: 1.0 [12:48:03]line ЗНМ: 0300000200 [12:48:03]line РНМ: 0000000000099755 [12:48:03]line Версия ККМ: 001 [12:48:03]line ФМ: 0000000000965344 [12:48:03]line ФД: 22269 [12:48:03]line ФПД: 84498821522460 [12:48:03]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T124809&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22269&fm=84498821522460&tin=02508201610067®Number=0000000000099755&sum=56000 [12:48:03]line 0 [12:48:03]OFD Sender: Processing packet 22269 [packets to send 5, broken 4] [12:48:03]ProducePacketName [12:48:03]name=ofd_packets/00022269 [12:48:03]OFD Sender: To server: pG, [12:48:03]CommunicateWithHost lk.salyk.kg:30040 [12:48:03]ConnectInit lk.salyk.kg [12:48:03]written 0, free lines is 4095 [12:48:03]Connected sock=10 [12:48:03]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 80 02 00 00 86 E2 78 02 5D 9E 5A 03 01 00 03 00 6C 02 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 33 35 33 06 04 24 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D1 80 D0 B6 D0 BE D0 BC D0 B8 20 30 2C 35 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 A0 8C 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 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 30 31 31 31 30 30 39 37 37 39 35 32 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A2 D0 B2 D0 B8 D0 BA D1 81 20 35 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 75 00 8A 04 0D 00 32 30 30 30 30 32 37 33 34 30 30 32 30 06 04 31 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 20 D0 B1 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B9 20 D0 B2 D0 B8 D1 82 D0 B0 D1 8F 20 D1 80 D1 83 D1 87 D0 BA D0 B0 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C4 09 00 00 00 00 13 04 06 00 C4 09 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 DA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F0 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3A 17 00 00 00 00 07 04 06 00 C0 DA 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 22 00 00 00 F4 03 04 00 09 DF 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 FD 56 00 00 35 04 06 00 4C D9 EA 3D A4 1C 15 9A 37 DD B0 F9 3E BE [12:48:03]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 10 CB 47 00 68 30 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 FD 56 00 00 F4 03 04 00 C3 87 6E 66 B6 04 01 00 00 72 98 5E 54 2D 03 9E 31 [12:48:03]CommunicateWithHost err = 0 [12:48:03]CheckOFDResponse [12:48:03]1017 (14) - 77093643461234 [12:48:03]1041 (16) - 0000000000965344 [12:48:03]1040 (4) - 22269 [12:48:03]1012 (4) - 16.06.2024 06:35 [12:48:03]1206 (1) - 0 [12:48:03]OFD Sender: Remove packet 22269 [12:48:03]ProducePacketName [12:48:03]name=ofd_packets/00022269 [12:48:03]NVStorageDeleteData [12:48:04]Write to MH i2c: 01 00 00 98 22 BA [12:48:04]Write i2c OK [12:48:04]MH_I2C_Read... [12:48:04]Read from MH i2c: 01 [12:48:04]MH_I2C_Read... [12:48:04]Read from MH i2c: 01 07 00 [12:48:04]MH_I2C_Read... [12:48:04]Read from MH i2c: 01 07 00 98 22 00 00 00 00 00 6C 0C 39 [12:48:04]RasterBufferAndPrint [12:48:04]line [12:48:04]line [12:48:04]line [12:48:04]line [12:48:04]line [12:48:04]written 0, free lines is 3189 [12:48:04]MH_Cut [12:48:04]Write to MH i2c: D1 01 00 9F 22 01 93 [12:48:04]Write i2c OK [12:48:04]MH_I2C_Read... [12:48:04]Read from MH i2c: D1 [12:48:04]MH_I2C_Read... [12:48:04]Read from MH i2c: D1 01 00 [12:48:04]MH_I2C_Read... [12:48:04]Read from MH i2c: D1 01 00 9F 22 00 92 [12:48:04]Write to MH i2c: 01 00 00 A0 22 C2 [12:48:04]Write i2c OK [12:48:04]MH_I2C_Read... [12:48:04]OFD Sender: No OFD packet to send [12:48:04]*** Cut start [12:48:04]*** Partial cut [12:48:04]*** CUTSNS_PIN = 1 [12:48:04]*** CUTSNS_PIN = 0 [12:48:05]*** Brake cut motor [12:48:05]Read from MH i2c: 01 [12:48:05]MH_I2C_Read... [12:48:05]*** Stop cut motor [12:48:05]*** Cut end [12:48:05]Read from MH i2c: 01 07 00 [12:48:05]MH_I2C_Read... [12:48:05]Read from MH i2c: 01 07 00 A0 22 00 00 00 00 00 FF 0F D7 [12:48:05]process_action close_receipt done [12:48:05]requested_data is exist [12:48:05]produce_requested_data [12:48:05]requested_item fm.sn is exist - process it [12:48:05]wFMCommunicate request_size=4 [12:48:05]MH_SAM_APDU [12:48:05]CAPDU: 80 11 00 00 [12:48:05]Write to MH i2c: E2 08 00 A1 22 80 11 00 00 00 00 00 00 3D [12:48:05]Write i2c OK [12:48:05]MH_I2C_Read... [12:48:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:48:05]Read from MH i2c: E2 [12:48:05]MH_I2C_Read... [12:48:05]Read from MH i2c: E2 17 00 [12:48:05]MH_I2C_Read... [12:48:05]Read from MH i2c: E2 17 00 A1 22 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 8F [12:48:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [12:48:05]wFMCommunicate OK [12:48:05]requested_item fd.num is exist - process it [12:48:05]SAM_PROTO_GetFieldsCounters [12:48:05]wFMCommunicate request_size=4 [12:48:05]MH_SAM_APDU [12:48:05]CAPDU: 80 13 00 00 [12:48:05]Write to MH i2c: E2 08 00 A2 22 80 13 00 00 00 00 00 00 40 [12:48:05]Write i2c OK [12:48:05]MH_I2C_Read... [12:48:05]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:48:05]Read from MH i2c: E2 [12:48:05]MH_I2C_Read... [12:48:05]Read from MH i2c: E2 62 00 [12:48:05]MH_I2C_Read... [12:48:05]Read from MH i2c: E2 62 00 A2 22 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 FD 56 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 22 00 00 00 5E 04 04 00 22 00 00 00 57 04 04 00 23 00 00 00 19 04 04 00 00 00 00 00 90 00 6B [12:48:05]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 FD 56 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 22 00 00 00 5E 04 04 00 22 00 00 00 57 04 04 00 23 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:48:05]wFMCommunicate OK [12:48:05]SAM_PROTO_GetFieldsCounters done [12:48:05]requested_item shift.num is exist - process it [12:48:05]requested_item shift.opened is exist - process it [12:48:05]req_shift_opened [12:48:05]FM_GetShiftState [12:48:05]SAM_PROTO_GetShiftState [12:48:05]wFMCommunicate request_size=4 [12:48:05]MH_SAM_APDU [12:48:05]CAPDU: 80 13 01 00 [12:48:05]Write to MH i2c: E2 08 00 A3 22 80 13 01 00 00 00 00 00 42 [12:48:05]Write i2c OK [12:48:05]MH_I2C_Read... [12:48:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:48:05]Read from MH i2c: E2 [12:48:05]MH_I2C_Read... [12:48:05]Read from MH i2c: E2 0E 00 [12:48:05]MH_I2C_Read... [12:48:05]Read from MH i2c: E2 0E 00 A3 22 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 63 [12:48:05]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [12:48:05]wFMCommunicate OK [12:48:05]SAM_PROTO_GetShiftState done [12:48:05]FM_GetShiftState done [12:48:05]req_shift_opened done [12:48:05]requested_item shift.open_date is exist - process it [12:48:05]req_shift_open_date [12:48:05]req_shift_open_date done [12:48:05]produce_requested_data done [12:48:05]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22269,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297} [12:48:05]process_action_free close_receipt [12:48:05]json_value_free [12:48:05]json_value_free done [12:48:05]process_json_proto returns [12:48:05]Send response to host [12:48:05]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22269,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297}}} [12:48:05]free response buf [12:48:05]execute_script done [12:48:05]execute_script returns [12:48:05]free content buf [12:48:05]Sock 8.Close socket [12:48:05]Sock 8.Thread stoped [12:48:09]OFD Sender: No OFD packet to send [12:48:14]OFD Sender: No OFD packet to send [12:48:19]OFD Sender: No OFD packet to send [12:48:24]accept exits with 9 [12:48:24]New connection [12:48:24]New thread 3066838372 created [12:48:24]Thread 3066695012 joined [12:48:24]Waiting for new connection... [12:48:24] Sock 9.Parse request [12:48:24]Sock 9.Check first char [12:48:24]Sock 9.First char is OK [12:48:24]request: POST /json_proto HTTP/1.0 [12:48:24]Method: POST [12:48:24]URL: /json_proto [12:48:24]Method is POST - this is cgi request [12:48:24]url: /json_proto [12:48:24]query_string will be loaded in cgi processing [12:48:24]execute_cgi json_proto POST (null) [12:48:24]execute_cgi path=json_proto method=POST [12:48:24]POST find Content-Length [12:48:24]Host: 172.17.35.133:8080 [12:48:24]Content-Length: 952 [12:48:24]Content-Type: application/json [12:48:24] [12:48:24]POST finish read [12:48:24]Found Content-Length = 952 [12:48:24]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254484", "tax_sys" : 0, "items" : [ { "code": "4870001571528", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043F\u0435\u0440\u0441\u0438\u043A \u041F\u042D\u0422 1,0 \u043B", "price" : 100.00, "quantity" : 1.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160051", "name": "\u0412\u043E\u0434\u0430 \u042B\u0441\u0441\u044B\u043A \u0410\u0442\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 150.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:48:24]execute_script... [12:48: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)254484", "tax_sys" : 0, "items" : [ { "code": "4870001571528", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043F\u0435\u0440\u0441\u0438\u043A \u041F\u042D\u0422 1,0 \u043B", "price" : 100.00, "quantity" : 1.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160051", "name": "\u0412\u043E\u0434\u0430 \u042B\u0441\u0441\u044B\u043A \u0410\u0442\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 150.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:48:24]POST & json_proto [12:48:24]process_json_proto [12:48:24]json parsed OK: [12:48:24]protocol is kg_v1.0 [12:48:24]action value=close_receipt [12:48:24]process_action close_receipt [12:48:24]cmd_close_receipt [12:48:24]MH_GetDate [12:48:24]Write to MH i2c: F0 00 00 A4 22 B5 [12:48:24]Write i2c OK [12:48:24]MH_I2C_Read... [12:48:24]Read from MH i2c: F0 [12:48:24]MH_I2C_Read... [12:48:24]Read from MH i2c: F0 09 00 [12:48:24]MH_I2C_Read... [12:48:24]Read from MH i2c: F0 09 00 A4 22 00 20 DF 6E 66 8C 55 28 65 FF [12:48:24]GetLastDocTimeStamp 1718542089 [12:48:24]current date 1718542112 [12:48:24]FM_GetShiftState [12:48:24]SAM_PROTO_GetShiftState [12:48:24]wFMCommunicate request_size=4 [12:48:24]MH_SAM_APDU [12:48:24]CAPDU: 80 13 01 00 [12:48:24]Write to MH i2c: E2 08 00 A5 22 80 13 01 00 00 00 00 00 44 [12:48:24]Write i2c OK [12:48:24]MH_I2C_Read... [12:48:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:48:24]Read from MH i2c: E2 [12:48:24]MH_I2C_Read... [12:48:24]Read from MH i2c: E2 0E 00 [12:48:24]MH_I2C_Read... [12:48:24]Read from MH i2c: E2 0E 00 A5 22 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 65 [12:48:24]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [12:48:24]wFMCommunicate OK [12:48:24]SAM_PROTO_GetShiftState done [12:48:24]FM_GetShiftState done [12:48:24]opened in 1718497297 [12:48:24]opened+sec_in_day 1718583697 [12:48:24]quantity*price = 10000 [12:48:24]sum+1 = 10001 [12:48:24]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000160051 Вода Ыссык Ата 1л 1.000 * 50.00 = 50.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 150.00 НСП 1% : 1.32 НДС 12% : 15.93 Наличными: 150.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 35 16.06.2024 12:48 Смена: 327 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22270 ФПД: 263058462494838 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T124832&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22270&fm=263058462494838&tin=02508201610067®Number=0000000000099755&sum=15000 0 [12:48:25]StoreToDocumentArchive [12:48:25]shift 327 fd 22270 [12:48:25]save to /storage/0327/doc_00022270 [12:48:25]save last doc name /storage/0327/doc_00022270 to /storage/kkm_last_doc_name [12:48:25]save OK [12:48:25]Clear old archive folders... [12:48:25]ProcessDocumentItem done err = 0, tmpTLVsize=400 [12:48:25]tlvbuf is 001A6CC0 [12:48:25]SAM_PROTO_ClearQueue [12:48:25]wFMCommunicate request_size=4 [12:48:25]MH_SAM_APDU [12:48:25]CAPDU: 80 09 00 00 [12:48:25]Write to MH i2c: E2 08 00 B2 22 80 09 00 00 00 00 00 00 46 [12:48:25]Write i2c OK [12:48:25]MH_I2C_Read... [12:48:25]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:48:25]Read from MH i2c: E2 [12:48:25]MH_I2C_Read... [12:48:25]Read from MH i2c: E2 03 00 [12:48:25]MH_I2C_Read... [12:48:25]Read from MH i2c: E2 03 00 B2 22 00 90 00 48 [12:48:25]RAPDU: 90 00 [12:48:25]wFMCommunicate OK [12:48:25]SAM_PROTO_ClearQueue done [12:48:25]KKMCreateOFDPacket [12:48:25]OFDProtocolAddRootSTLVToBuf [12:48:25]FM_MakeSignedData [12:48:25]FM_MakeSignedData [12:48:25]SAM_PROTO_SignData [12:48:25]wFMCommunicate request_size=4 [12:48:25]MH_SAM_APDU [12:48:25]CAPDU: 80 0D 01 02 [12:48:25]Write to MH i2c: E2 08 00 B3 22 80 0D 01 02 00 00 00 00 4E [12:48:25]Write i2c OK [12:48:25]MH_I2C_Read... [12:48:25]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:48:25]Read from MH i2c: E2 [12:48:25]MH_I2C_Read... [12:48:25]Read from MH i2c: E2 03 00 [12:48:25]MH_I2C_Read... [12:48:25]Read from MH i2c: E2 03 00 B3 22 00 90 00 49 [12:48:25]RAPDU: 90 00 [12:48:25]wFMCommunicate OK [12:48:25]wFMCommunicate request_size=255 [12:48:25]MH_SAM_APDU [12:48:25]CAPDU: 80 0D 02 02 FA 03 00 90 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 35 32 38 06 04 38 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 31 2C 30 20 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 35 31 06 04 1E 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 AB D1 81 D1 81 D1 8B D0 BA 20 D0 90 D1 82 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB [12:48:25]Write to MH i2c: E2 02 01 B4 22 80 0D 02 02 FA 00 03 00 90 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 35 32 38 06 04 38 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 31 2C 30 20 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 35 31 06 04 1E 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 AB D1 81 D1 81 D1 8B D0 BA 20 D0 90 D1 82 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 00 00 5E [12:48:25]Write i2c OK [12:48:25]MH_I2C_Read... [12:48:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:48:25]Read from MH i2c: E2 [12:48:25]MH_I2C_Read... [12:48:25]Read from MH i2c: E2 03 00 [12:48:25]MH_I2C_Read... [12:48:25]Read from MH i2c: E2 03 00 B4 22 00 90 00 4A [12:48:25]RAPDU: 90 00 [12:48:25]wFMCommunicate OK [12:48:25]wFMCommunicate request_size=159 [12:48:25]MH_SAM_APDU [12:48:25]CAPDU: 80 0D 02 02 9A 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 84 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 20 DF 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 FE 56 00 00 35 04 06 00 EF 40 12 36 50 76 [12:48:25]Write to MH i2c: E2 A2 00 B5 22 80 0D 02 02 9A 00 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 84 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 20 DF 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 FE 56 00 00 35 04 06 00 EF 40 12 36 50 76 00 00 44 [12:48:25]Write i2c OK [12:48:25]MH_I2C_Read... [12:48:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:48:25]Read from MH i2c: E2 [12:48:25]MH_I2C_Read... [12:48:25]Read from MH i2c: E2 03 00 [12:48:25]MH_I2C_Read... [12:48:25]Read from MH i2c: E2 03 00 B5 22 00 90 00 4B [12:48:25]RAPDU: 90 00 [12:48:25]wFMCommunicate OK [12:48:25]wFMCommunicate request_size=4 [12:48:25]MH_SAM_APDU [12:48:25]CAPDU: 80 0D 03 02 [12:48:25]Write to MH i2c: E2 08 00 B6 22 80 0D 03 02 00 00 00 00 53 [12:48:25]Write i2c OK [12:48:25]MH_I2C_Read... [12:48:25]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:48:25]Read from MH i2c: E2 [12:48:25]MH_I2C_Read... [12:48:25]Read from MH i2c: E2 0B 00 [12:48:25]MH_I2C_Read... [12:48:25]Read from MH i2c: E2 0B 00 B6 22 00 AB 0B 92 3B AC 87 F7 3F 90 00 40 [12:48:25]RAPDU: AB 0B 92 3B AC 87 F7 3F 90 00 [12:48:25]wFMCommunicate OK [12:48:25]SAM_PROTO_SignData done [12:48:25]FM_MakeSignedData done [12:48:25]CreateOFDProtocolMessage [12:48:25]wFMCommunicate request_size=4 [12:48:25]MH_SAM_APDU [12:48:25]CAPDU: 80 11 00 00 [12:48:25]Write to MH i2c: E2 08 00 B7 22 80 11 00 00 00 00 00 00 53 [12:48:25]Write i2c OK [12:48:25]MH_I2C_Read... [12:48:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:48:25]Read from MH i2c: E2 [12:48:25]MH_I2C_Read... [12:48:25]Read from MH i2c: E2 17 00 [12:48:25]MH_I2C_Read... [12:48:25]Read from MH i2c: E2 17 00 B7 22 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 A5 [12:48:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [12:48:25]wFMCommunicate OK [12:48:25]CreateOFDProtocolMessage done [12:48:25]OFDSenderStorePacket 22270 [12:48:25]StoreOFDPacket docnum=22270 [12:48:25]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 A4 01 00 00 EB C1 9C 01 17 45 5A 03 01 00 03 00 90 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 35 32 38 06 04 38 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 31 2C 30 20 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 35 31 06 04 1E 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 AB D1 81 D1 81 D1 8B D0 BA 20 D0 90 D1 82 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 84 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 20 DF 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 FE 56 00 00 35 04 06 00 EF 40 12 36 50 76 AB 0B 92 3B AC 87 F7 3F [12:48:25]CheckFolder [12:48:25]dirname=/storage/ofd_packets [12:48:25]CheckFolder done [12:48:25]ProducePacketName [12:48:25]name=ofd_packets/00022270 [12:48:25]NVStorageSaveData ofd_packets/00022270 [12:48:25]File name is /storage/ofd_packets/00022270 [12:48:25]Write 450 bytes [12:48:25]NVStorageSaveData done [12:48:25]OFDSenderStorePacket done [12:48:25]KKMCreateOFDPacket done [12:48:25]NVStorageSaveData kkm_last_timestamp [12:48:25]File name is /storage/kkm_last_timestamp [12:48:25]Write 4 bytes [12:48:25]NVStorageSaveData done [12:48:25]ExternCall_PrintAddStr [12:48:25]wPrintStart [12:48:25]Write to MH i2c: 01 00 00 B8 22 DA [12:48:25]Write i2c OK [12:48:25]MH_I2C_Read... [12:48:25]Read from MH i2c: 01 [12:48:25]MH_I2C_Read... [12:48:25]Read from MH i2c: 01 07 00 [12:48:25]MH_I2C_Read... [12:48:25]Read from MH i2c: 01 07 00 B8 22 00 00 00 00 00 FF 0F EF [12:48:25]RasterBufferAndPrint [12:48:25]line Счет N : (3)254484 [12:48:25]line ИНН: 02508201610067 [12:48:25]line Контрольно-Кассовый Чек [12:48:25]line ПРОДАЖА [12:48:26]line Товар: 4870001571528 [12:48:26]line Вода ASU пит н.газ персик ПЭТ 1,0 л [12:48:26]line 1.000 * 100.00 [12:48:26]line = 100.00 [12:48:26]line НДС 12% НСП 1% [12:48:26]line > о реализуемом товаре [12:48:26]line Товар: 4700000160051 [12:48:26]line Вода Ыссык Ата 1л [12:48:26]line 1.000 * 50.00 [12:48:26]line = 50.00 [12:48:26]line НДС 12% НСП 1% [12:48:26]line > о реализуемом товаре [12:48:26]line ИТОГО: 150.00 [12:48:26]line НСП 1% : 1.32 [12:48:26]line НДС 12% : 15.93 [12:48:26]line Наличными: 150.00 [12:48:26]line Безнал.: 0.00 [12:48:26]line Место: АЗС № 76 "Партнер Нефть" [12:48:26]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [12:48:26]line СНО: Общий режим [12:48:26]line Чек 35 16.06.2024 12:48 [12:48:26]line Смена: 327 ФФД: 1.0 [12:48:26]line ЗНМ: 0300000200 [12:48:26]line РНМ: 0000000000099755 [12:48:26]line Версия ККМ: 001 [12:48:26]line ФМ: 0000000000965344 [12:48:26]line ФД: 22270 [12:48:26]line ФПД: 263058462494838 [12:48:26]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T124832&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22270&fm=263058462494838&tin=02508201610067®Number=0000000000099755&sum=15000 [12:48:26]line 0 [12:48:26]OFD Sender: Processing packet 22270 [packets to send 5, broken 4] [12:48:26]ProducePacketName [12:48:26]name=ofd_packets/00022270 [12:48:26]OFD Sender: To server: pG, [12:48:26]CommunicateWithHost lk.salyk.kg:30040 [12:48:26]ConnectInit lk.salyk.kg [12:48:26]written 0, free lines is 4095 [12:48:26]Connected sock=11 [12:48:26]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 A4 01 00 00 EB C1 9C 01 17 45 5A 03 01 00 03 00 90 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 35 32 38 06 04 38 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 31 2C 30 20 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 35 31 06 04 1E 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 AB D1 81 D1 81 D1 8B D0 BA 20 D0 90 D1 82 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 84 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 20 DF 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 FE 56 00 00 35 04 06 00 EF 40 12 36 50 76 AB 0B 92 3B AC 87 F7 3F [12:48:26]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 9A DD 47 00 12 F4 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 FE 56 00 00 F4 03 04 00 DA 87 6E 66 B6 04 01 00 00 7B 67 BE F9 F4 B4 E4 FF [12:48:26]CommunicateWithHost err = 0 [12:48:26]CheckOFDResponse [12:48:26]1017 (14) - 77093643461234 [12:48:26]1041 (16) - 0000000000965344 [12:48:26]1040 (4) - 22270 [12:48:26]1012 (4) - 16.06.2024 06:36 [12:48:26]1206 (1) - 0 [12:48:26]OFD Sender: Remove packet 22270 [12:48:26]ProducePacketName [12:48:26]name=ofd_packets/00022270 [12:48:26]NVStorageDeleteData [12:48:26]Write to MH i2c: 01 00 00 E7 22 09 [12:48:26]Write i2c OK [12:48:26]MH_I2C_Read... [12:48:26]Read from MH i2c: 01 [12:48:26]MH_I2C_Read... [12:48:26]Read from MH i2c: 01 07 00 [12:48:26]MH_I2C_Read... [12:48:26]Read from MH i2c: 01 07 00 E7 22 00 00 00 00 00 D9 0C F5 [12:48:26]RasterBufferAndPrint [12:48:26]line [12:48:26]line [12:48:26]line [12:48:26]line [12:48:26]line [12:48:26]written 0, free lines is 3296 [12:48:26]MH_Cut [12:48:26]Write to MH i2c: D1 01 00 EE 22 01 E2 [12:48:26]Write i2c OK [12:48:26]MH_I2C_Read... [12:48:26]Read from MH i2c: D1 [12:48:26]MH_I2C_Read... [12:48:26]Read from MH i2c: D1 01 00 [12:48:26]MH_I2C_Read... [12:48:26]Read from MH i2c: D1 01 00 EE 22 00 E1 [12:48:26]Write to MH i2c: 01 00 00 EF 22 11 [12:48:26]Write i2c OK [12:48:26]MH_I2C_Read... [12:48:27]OFD Sender: No OFD packet to send [12:48:27]*** Cut start [12:48:27]*** Partial cut [12:48:27]*** CUTSNS_PIN = 1 [12:48:27]*** CUTSNS_PIN = 0 [12:48:27]*** Brake cut motor [12:48:28]Read from MH i2c: 01 [12:48:28]MH_I2C_Read... [12:48:28]*** Stop cut motor [12:48:28]*** Cut end [12:48:28]Read from MH i2c: 01 07 00 [12:48:28]MH_I2C_Read... [12:48:28]Read from MH i2c: 01 07 00 EF 22 00 00 00 00 00 FF 0F 26 [12:48:28]process_action close_receipt done [12:48:28]requested_data is exist [12:48:28]produce_requested_data [12:48:28]requested_item fm.sn is exist - process it [12:48:28]wFMCommunicate request_size=4 [12:48:28]MH_SAM_APDU [12:48:28]CAPDU: 80 11 00 00 [12:48:28]Write to MH i2c: E2 08 00 F0 22 80 11 00 00 00 00 00 00 8C [12:48:28]Write i2c OK [12:48:28]MH_I2C_Read... [12:48:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:48:28]Read from MH i2c: E2 [12:48:28]MH_I2C_Read... [12:48:28]Read from MH i2c: E2 17 00 [12:48:28]MH_I2C_Read... [12:48:28]Read from MH i2c: E2 17 00 F0 22 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 DE [12:48:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [12:48:28]wFMCommunicate OK [12:48:28]requested_item fd.num is exist - process it [12:48:28]SAM_PROTO_GetFieldsCounters [12:48:28]wFMCommunicate request_size=4 [12:48:28]MH_SAM_APDU [12:48:28]CAPDU: 80 13 00 00 [12:48:28]Write to MH i2c: E2 08 00 F1 22 80 13 00 00 00 00 00 00 8F [12:48:28]Write i2c OK [12:48:28]MH_I2C_Read... [12:48:28]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:48:28]Read from MH i2c: E2 [12:48:28]MH_I2C_Read... [12:48:28]Read from MH i2c: E2 62 00 [12:48:28]MH_I2C_Read... [12:48:28]Read from MH i2c: E2 62 00 F1 22 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 FE 56 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 23 00 00 00 5E 04 04 00 23 00 00 00 57 04 04 00 24 00 00 00 19 04 04 00 00 00 00 00 90 00 BE [12:48:28]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 FE 56 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 23 00 00 00 5E 04 04 00 23 00 00 00 57 04 04 00 24 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:48:28]wFMCommunicate OK [12:48:28]SAM_PROTO_GetFieldsCounters done [12:48:28]requested_item shift.num is exist - process it [12:48:28]requested_item shift.opened is exist - process it [12:48:28]req_shift_opened [12:48:28]FM_GetShiftState [12:48:28]SAM_PROTO_GetShiftState [12:48:28]wFMCommunicate request_size=4 [12:48:28]MH_SAM_APDU [12:48:28]CAPDU: 80 13 01 00 [12:48:28]Write to MH i2c: E2 08 00 F2 22 80 13 01 00 00 00 00 00 91 [12:48:28]Write i2c OK [12:48:28]MH_I2C_Read... [12:48:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:48:28]Read from MH i2c: E2 [12:48:28]MH_I2C_Read... [12:48:28]Read from MH i2c: E2 0E 00 [12:48:28]MH_I2C_Read... [12:48:28]Read from MH i2c: E2 0E 00 F2 22 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 B2 [12:48:28]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [12:48:28]wFMCommunicate OK [12:48:28]SAM_PROTO_GetShiftState done [12:48:28]FM_GetShiftState done [12:48:28]req_shift_opened done [12:48:28]requested_item shift.open_date is exist - process it [12:48:28]req_shift_open_date [12:48:28]req_shift_open_date done [12:48:28]produce_requested_data done [12:48:28]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22270,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297} [12:48:28]process_action_free close_receipt [12:48:28]json_value_free [12:48:28]json_value_free done [12:48:28]process_json_proto returns [12:48:28]Send response to host [12:48:28]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22270,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297}}} [12:48:28]free response buf [12:48:28]execute_script done [12:48:28]execute_script returns [12:48:28]free content buf [12:48:28]Sock 9.Close socket [12:48:28]Sock 9.Thread stoped [12:48:32]OFD Sender: No OFD packet to send [12:48:37]OFD Sender: No OFD packet to send [12:48:42]OFD Sender: No OFD packet to send [12:48:47]OFD Sender: No OFD packet to send [12:48:52]OFD Sender: No OFD packet to send [12:48:57]OFD Sender: No OFD packet to send [12:49:02]OFD Sender: No OFD packet to send [12:49:07]OFD Sender: No OFD packet to send [12:49:12]OFD Sender: No OFD packet to send [12:49:17]OFD Sender: No OFD packet to send [12:49:22]OFD Sender: No OFD packet to send [12:49:27]OFD Sender: No OFD packet to send [12:49:32]OFD Sender: No OFD packet to send [12:49:37]OFD Sender: No OFD packet to send [12:49:42]OFD Sender: No OFD packet to send [12:49:46]accept exits with 8 [12:49:46]New connection [12:49:46]New thread 3066695012 created [12:49:46]Thread 3066838372 joined [12:49:46]Waiting for new connection... [12:49:46] Sock 8.Parse request [12:49:46]Sock 8.Check first char [12:49:46]Sock 8.First char is OK [12:49:46]request: POST /json_proto HTTP/1.0 [12:49:46]Method: POST [12:49:46]URL: /json_proto [12:49:46]Method is POST - this is cgi request [12:49:46]url: /json_proto [12:49:46]query_string will be loaded in cgi processing [12:49:46]execute_cgi json_proto POST (null) [12:49:46]execute_cgi path=json_proto method=POST [12:49:46]POST find Content-Length [12:49:46]Host: 172.17.35.133:8080 [12:49:46]Content-Length: 1600 [12:49:46]Content-Type: application/json [12:49:46] [12:49:46]POST finish read [12:49:46]Found Content-Length = 1600 [12:49:46]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254485", "tax_sys" : 0, "items" : [ { "code": "4607035653513", "name": "\u0412\u0430\u0444\u043B\u0438 \u0413\u043E\u043B\u043B\u0430\u043D\u0434\u0441\u043A\u0438\u0435 \u043A\u0430\u0440\u0430\u043C\u0435\u043B 290", "price" : 137.00, "quantity" : 1.000, "sum" : 137.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000189349", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043C\u0430\u043D\u0433\u043E \u0430\u043D\u0430\u043D\u0430\u0441 0,5\u043B", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000189325", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043F\u0435\u0440\u0441\u0438\u043A 0,5\u043B", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000189318", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043B\u0438\u043C\u043E\u043D 1\u043B", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 407.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:49:46]execute_script... [12:49:46]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254485", "tax_sys" : 0, "items" : [ { "code": "4607035653513", "name": "\u0412\u0430\u0444\u043B\u0438 \u0413\u043E\u043B\u043B\u0430\u043D\u0434\u0441\u043A\u0438\u0435 \u043A\u0430\u0440\u0430\u043C\u0435\u043B 290", "price" : 137.00, "quantity" : 1.000, "sum" : 137.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000189349", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043C\u0430\u043D\u0433\u043E \u0430\u043D\u0430\u043D\u0430\u0441 0,5\u043B", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000189325", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043F\u0435\u0440\u0441\u0438\u043A 0,5\u043B", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000189318", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043B\u0438\u043C\u043E\u043D 1\u043B", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 407.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:49:46]POST & json_proto [12:49:46]process_json_proto [12:49:46]json parsed OK: [12:49:46]protocol is kg_v1.0 [12:49:46]action value=close_receipt [12:49:46]process_action close_receipt [12:49:46]cmd_close_receipt [12:49:46]MH_GetDate [12:49:46]Write to MH i2c: F0 00 00 F3 22 04 [12:49:46]Write i2c OK [12:49:46]MH_I2C_Read... [12:49:46]Read from MH i2c: F0 [12:49:46]MH_I2C_Read... [12:49:46]Read from MH i2c: F0 09 00 [12:49:46]MH_I2C_Read... [12:49:46]Read from MH i2c: F0 09 00 F3 22 00 72 DF 6E 66 8C 55 28 65 A0 [12:49:46]GetLastDocTimeStamp 1718542112 [12:49:46]current date 1718542194 [12:49:46]FM_GetShiftState [12:49:46]SAM_PROTO_GetShiftState [12:49:46]wFMCommunicate request_size=4 [12:49:46]MH_SAM_APDU [12:49:46]CAPDU: 80 13 01 00 [12:49:46]Write to MH i2c: E2 08 00 F4 22 80 13 01 00 00 00 00 00 93 [12:49:46]Write i2c OK [12:49:46]MH_I2C_Read... [12:49:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:49:47]Read from MH i2c: E2 [12:49:47]MH_I2C_Read... [12:49:47]Read from MH i2c: E2 0E 00 [12:49:47]MH_I2C_Read... [12:49:47]Read from MH i2c: E2 0E 00 F4 22 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 B4 [12:49:47]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [12:49:47]wFMCommunicate OK [12:49:47]SAM_PROTO_GetShiftState done [12:49:47]FM_GetShiftState done [12:49:47]opened in 1718497297 [12:49:47]opened+sec_in_day 1718583697 [12:49:47]quantity*price = 13700 [12:49:47]sum+1 = 13701 [12:49:47]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 5449000189349 Холодный чай Fuse манго ананас 0,5л 1.000 * 75.00 = 75.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 5449000189325 Холодный чай Fuse персик 0,5л 1.000 * 75.00 = 75.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 5449000189318 Холодный чай Fuse лимон 1л 1.000 * 120.00 = 120.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 407.00 НСП 1% : 3.59 НДС 12% : 43.21 Наличными: 407.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 36 16.06.2024 12:49 Смена: 327 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22271 ФПД: 39084310463469 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T124955&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22271&fm=39084310463469&tin=02508201610067®Number=0000000000099755&sum=40700 0 [12:49:48]StoreToDocumentArchive [12:49:48]shift 327 fd 22271 [12:49:48]save to /storage/0327/doc_00022271 [12:49:48]save last doc name /storage/0327/doc_00022271 to /storage/kkm_last_doc_name [12:49:48]save OK [12:49:48]Clear old archive folders... [12:49:48]ProcessDocumentItem done err = 0, tmpTLVsize=658 [12:49:48]tlvbuf is 001DAE00 [12:49:48]SAM_PROTO_ClearQueue [12:49:48]wFMCommunicate request_size=4 [12:49:48]MH_SAM_APDU [12:49:48]CAPDU: 80 09 00 00 [12:49:48]Write to MH i2c: E2 08 00 01 23 80 09 00 00 00 00 00 00 96 [12:49:48]Write i2c OK [12:49:48]MH_I2C_Read... [12:49:48]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:49:48]Read from MH i2c: E2 [12:49:48]MH_I2C_Read... [12:49:48]Read from MH i2c: E2 03 00 [12:49:48]MH_I2C_Read... [12:49:48]Read from MH i2c: E2 03 00 01 23 00 90 00 98 [12:49:48]RAPDU: 90 00 [12:49:48]wFMCommunicate OK [12:49:48]SAM_PROTO_ClearQueue done [12:49:48]KKMCreateOFDPacket [12:49:48]OFDProtocolAddRootSTLVToBuf [12:49:48]FM_MakeSignedData [12:49:48]FM_MakeSignedData [12:49:48]SAM_PROTO_SignData [12:49:48]wFMCommunicate request_size=4 [12:49:48]MH_SAM_APDU [12:49:48]CAPDU: 80 0D 01 02 [12:49:48]Write to MH i2c: E2 08 00 02 23 80 0D 01 02 00 00 00 00 9E [12:49:48]Write i2c OK [12:49:48]MH_I2C_Read... [12:49:48]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:49:48]Read from MH i2c: E2 [12:49:48]MH_I2C_Read... [12:49:48]Read from MH i2c: E2 03 00 [12:49:48]MH_I2C_Read... [12:49:48]Read from MH i2c: E2 03 00 02 23 00 90 00 99 [12:49:48]RAPDU: 90 00 [12:49:48]wFMCommunicate OK [12:49:48]wFMCommunicate request_size=255 [12:49:48]MH_SAM_APDU [12:49:48]CAPDU: 80 0D 02 02 FA 03 00 92 02 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 37 30 33 35 36 35 33 35 31 33 06 04 34 00 D0 92 D0 B0 D1 84 D0 BB D0 B8 20 D0 93 D0 BE D0 BB D0 BB D0 B0 D0 BD D0 B4 D1 81 D0 BA D0 B8 D0 B5 20 D0 BA D0 B0 D1 80 D0 B0 D0 BC D0 B5 D0 BB 20 32 39 30 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 84 35 00 00 00 00 13 04 06 00 84 35 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 35 34 34 39 30 30 30 31 38 39 33 34 39 06 04 3A 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 [12:49:48]Write to MH i2c: E2 02 01 03 23 80 0D 02 02 FA 00 03 00 92 02 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 37 30 33 35 36 35 33 35 31 33 06 04 34 00 D0 92 D0 B0 D1 84 D0 BB D0 B8 20 D0 93 D0 BE D0 BB D0 BB D0 B0 D0 BD D0 B4 D1 81 D0 BA D0 B8 D0 B5 20 D0 BA D0 B0 D1 80 D0 B0 D0 BC D0 B5 D0 BB 20 32 39 30 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 84 35 00 00 00 00 13 04 06 00 84 35 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 35 34 34 39 30 30 30 31 38 39 33 34 39 06 04 3A 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 00 00 C2 [12:49:48]Write i2c OK [12:49:48]MH_I2C_Read... [12:49:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:49:48]Read from MH i2c: E2 [12:49:48]MH_I2C_Read... [12:49:48]Read from MH i2c: E2 03 00 [12:49:48]MH_I2C_Read... [12:49:48]Read from MH i2c: E2 03 00 03 23 00 90 00 9A [12:49:48]RAPDU: 90 00 [12:49:48]wFMCommunicate OK [12:49:48]wFMCommunicate request_size=255 [12:49:48]MH_SAM_APDU [12:49:48]CAPDU: 80 0D 02 02 FA 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 73 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 32 35 06 04 2F 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6F 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 31 38 06 04 2B 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BB D0 B8 D0 BC D0 BE D0 BD 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 [12:49:48]Write to MH i2c: E2 02 01 04 23 80 0D 02 02 FA 00 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 73 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 32 35 06 04 2F 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6F 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 31 38 06 04 2B 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BB D0 B8 D0 BC D0 BE D0 BD 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 DD [12:49:48]Write i2c OK [12:49:48]MH_I2C_Read... [12:49:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:49:48]Read from MH i2c: E2 [12:49:48]MH_I2C_Read... [12:49:48]Read from MH i2c: E2 03 00 [12:49:48]MH_I2C_Read... [12:49:48]Read from MH i2c: E2 03 00 04 23 00 90 00 9B [12:49:48]RAPDU: 90 00 [12:49:48]wFMCommunicate OK [12:49:48]wFMCommunicate request_size=167 [12:49:48]MH_SAM_APDU [12:49:48]CAPDU: 80 0D 02 02 A2 00 FC 9E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 67 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E1 10 00 00 00 00 07 04 06 00 FC 9E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 73 DF 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 FF 56 00 00 35 04 06 00 23 8C 06 71 03 ED [12:49:48]Write to MH i2c: E2 AA 00 05 23 80 0D 02 02 A2 00 00 FC 9E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 67 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E1 10 00 00 00 00 07 04 06 00 FC 9E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 73 DF 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 FF 56 00 00 35 04 06 00 23 8C 06 71 03 ED 00 00 B6 [12:49:48]Write i2c OK [12:49:48]MH_I2C_Read... [12:49:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:49:48]Read from MH i2c: E2 [12:49:48]MH_I2C_Read... [12:49:48]Read from MH i2c: E2 03 00 [12:49:48]MH_I2C_Read... [12:49:48]Read from MH i2c: E2 03 00 05 23 00 90 00 9C [12:49:49]RAPDU: 90 00 [12:49:49]wFMCommunicate OK [12:49:49]wFMCommunicate request_size=4 [12:49:49]MH_SAM_APDU [12:49:49]CAPDU: 80 0D 03 02 [12:49:49]Write to MH i2c: E2 08 00 06 23 80 0D 03 02 00 00 00 00 A4 [12:49:49]Write i2c OK [12:49:49]MH_I2C_Read... [12:49:49]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:49:49]Read from MH i2c: E2 [12:49:49]MH_I2C_Read... [12:49:49]Read from MH i2c: E2 0B 00 [12:49:49]MH_I2C_Read... [12:49:49]Read from MH i2c: E2 0B 00 06 23 00 A8 E1 68 49 30 B0 B2 3D 90 00 AE [12:49:49]RAPDU: A8 E1 68 49 30 B0 B2 3D 90 00 [12:49:49]wFMCommunicate OK [12:49:49]SAM_PROTO_SignData done [12:49:49]FM_MakeSignedData done [12:49:49]CreateOFDProtocolMessage [12:49:49]wFMCommunicate request_size=4 [12:49:49]MH_SAM_APDU [12:49:49]CAPDU: 80 11 00 00 [12:49:49]Write to MH i2c: E2 08 00 07 23 80 11 00 00 00 00 00 00 A4 [12:49:49]Write i2c OK [12:49:49]MH_I2C_Read... [12:49:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:49:49]Read from MH i2c: E2 [12:49:49]MH_I2C_Read... [12:49:49]Read from MH i2c: E2 17 00 [12:49:49]MH_I2C_Read... [12:49:49]Read from MH i2c: E2 17 00 07 23 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 F6 [12:49:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [12:49:49]wFMCommunicate OK [12:49:49]CreateOFDProtocolMessage done [12:49:49]OFDSenderStorePacket 22271 [12:49:49]StoreOFDPacket docnum=22271 [12:49:49]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 A6 02 00 00 F9 84 9E 02 E4 F4 5A 03 01 00 03 00 92 02 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 37 30 33 35 36 35 33 35 31 33 06 04 34 00 D0 92 D0 B0 D1 84 D0 BB D0 B8 20 D0 93 D0 BE D0 BB D0 BB D0 B0 D0 BD D0 B4 D1 81 D0 BA D0 B8 D0 B5 20 D0 BA D0 B0 D1 80 D0 B0 D0 BC D0 B5 D0 BB 20 32 39 30 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 84 35 00 00 00 00 13 04 06 00 84 35 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 35 34 34 39 30 30 30 31 38 39 33 34 39 06 04 3A 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 73 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 32 35 06 04 2F 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6F 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 31 38 06 04 2B 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BB D0 B8 D0 BC D0 BE D0 BD 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 FC 9E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 67 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E1 10 00 00 00 00 07 04 06 00 FC 9E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 73 DF 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 FF 56 00 00 35 04 06 00 23 8C 06 71 03 ED A8 E1 68 49 30 B0 B2 3D [12:49:49]CheckFolder [12:49:49]dirname=/storage/ofd_packets [12:49:49]CheckFolder done [12:49:49]ProducePacketName [12:49:49]name=ofd_packets/00022271 [12:49:49]NVStorageSaveData ofd_packets/00022271 [12:49:49]File name is /storage/ofd_packets/00022271 [12:49:49]Write 708 bytes [12:49:49]NVStorageSaveData done [12:49:49]OFDSenderStorePacket done [12:49:49]KKMCreateOFDPacket done [12:49:49]NVStorageSaveData kkm_last_timestamp [12:49:49]File name is /storage/kkm_last_timestamp [12:49:49]Write 4 bytes [12:49:49]NVStorageSaveData done [12:49:49]ExternCall_PrintAddStr [12:49:49]wPrintStart [12:49:49]Write to MH i2c: 01 00 00 08 23 2B [12:49:49]Write i2c OK [12:49:49]MH_I2C_Read... [12:49:49]Read from MH i2c: 01 [12:49:49]MH_I2C_Read... [12:49:49]Read from MH i2c: 01 07 00 [12:49:49]MH_I2C_Read... [12:49:49]Read from MH i2c: 01 07 00 08 23 00 00 00 00 00 FF 0F 40 [12:49:49]RasterBufferAndPrint [12:49:49]line Счет N : (3)254485 [12:49:49]line ИНН: 02508201610067 [12:49:49]line Контрольно-Кассовый Чек [12:49:49]line ПРОДАЖА [12:49:49]line Товар: 4607035653513 [12:49:49]line Вафли Голландские карамел 290 [12:49:49]line 1.000 * 137.00 [12:49:49]line = 137.00 [12:49:49]line НДС 12% НСП 1% [12:49:49]line > о реализуемом товаре [12:49:49]line Товар: 5449000189349 [12:49:49]line Холодный чай Fuse манго ананас 0,5л [12:49:49]line 1.000 * 75.00 [12:49:49]line = 75.00 [12:49:49]line НДС 12% НСП 1% [12:49:49]line > о реализуемом товаре [12:49:49]line Товар: 5449000189325 [12:49:49]line Холодный чай Fuse персик 0,5л [12:49:49]line 1.000 * 75.00 [12:49:49]line = 75.00 [12:49:49]line НДС 12% НСП 1% [12:49:49]line > о реализуемом товаре [12:49:49]line Товар: 5449000189318 [12:49:49]line Холодный чай Fuse лимон 1л [12:49:49]line 1.000 * 120.00 [12:49:49]line = 120.00 [12:49:49]line НДС 12% НСП 1% [12:49:49]line > о реализуемом товаре [12:49:49]line ИТОГО: 407.00 [12:49:49]line НСП 1% : 3.59 [12:49:49]line НДС 12% : 43.21 [12:49:49]line Наличными: 407.00 [12:49:49]line Безнал.: 0.00 [12:49:49]line Место: АЗС № 76 "Партнер Нефть" [12:49:49]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [12:49:49]line СНО: Общий режим [12:49:49]line Чек 36 16.06.2024 12:49 [12:49:49]line Смена: 327 ФФД: 1.0 [12:49:49]line ЗНМ: 0300000200 [12:49:49]line РНМ: 0000000000099755 [12:49:49]line Версия ККМ: 001 [12:49:49]line ФМ: 0000000000965344 [12:49:49]line ФД: 22271 [12:49:49]line ФПД: 39084310463469 [12:49:49]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T124955&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22271&fm=39084310463469&tin=02508201610067®Number=0000000000099755&sum=40700 [12:49:49]line 0 [12:49:49]OFD Sender: Processing packet 22271 [packets to send 5, broken 4] [12:49:49]ProducePacketName [12:49:49]name=ofd_packets/00022271 [12:49:49]OFD Sender: To server: pG, [12:49:49]CommunicateWithHost lk.salyk.kg:30040 [12:49:49]ConnectInit lk.salyk.kg [12:49:49]written 0, free lines is 4095 [12:49:49]Connected sock=10 [12:49:49]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 A6 02 00 00 F9 84 9E 02 E4 F4 5A 03 01 00 03 00 92 02 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 37 30 33 35 36 35 33 35 31 33 06 04 34 00 D0 92 D0 B0 D1 84 D0 BB D0 B8 20 D0 93 D0 BE D0 BB D0 BB D0 B0 D0 BD D0 B4 D1 81 D0 BA D0 B8 D0 B5 20 D0 BA D0 B0 D1 80 D0 B0 D0 BC D0 B5 D0 BB 20 32 39 30 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 84 35 00 00 00 00 13 04 06 00 84 35 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 35 34 34 39 30 30 30 31 38 39 33 34 39 06 04 3A 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 73 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 32 35 06 04 2F 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6F 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 31 38 06 04 2B 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BB D0 B8 D0 BC D0 BE D0 BD 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 FC 9E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 67 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E1 10 00 00 00 00 07 04 06 00 FC 9E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 73 DF 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 FF 56 00 00 35 04 06 00 23 8C 06 71 03 ED A8 E1 68 49 30 B0 B2 3D [12:49:49]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 6D FB 47 00 D9 E8 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 FF 56 00 00 F4 03 04 00 2E 88 6E 66 B6 04 01 00 00 B1 24 DB 9E 8E 92 23 5E [12:49:49]CommunicateWithHost err = 0 [12:49:49]CheckOFDResponse [12:49:49]1017 (14) - 77093643461234 [12:49:49]1041 (16) - 0000000000965344 [12:49:49]1040 (4) - 22271 [12:49:49]1012 (4) - 16.06.2024 06:37 [12:49:49]1206 (1) - 0 [12:49:49]OFD Sender: Remove packet 22271 [12:49:49]ProducePacketName [12:49:49]name=ofd_packets/00022271 [12:49:49]NVStorageDeleteData [12:49:50]Write to MH i2c: 01 00 00 45 23 68 [12:49:50]Write i2c OK [12:49:50]MH_I2C_Read... [12:49:50]Read from MH i2c: 01 [12:49:50]MH_I2C_Read... [12:49:50]Read from MH i2c: 01 07 00 [12:49:50]MH_I2C_Read... [12:49:50]Read from MH i2c: 01 07 00 45 23 00 00 00 00 00 13 0C 8E [12:49:50]RasterBufferAndPrint [12:49:50]line [12:49:50]line [12:49:50]line [12:49:50]line [12:49:50]line [12:49:50]written 0, free lines is 3100 [12:49:50]MH_Cut [12:49:50]Write to MH i2c: D1 01 00 4C 23 01 41 [12:49:50]Write i2c OK [12:49:50]MH_I2C_Read... [12:49:50]Read from MH i2c: D1 [12:49:50]MH_I2C_Read... [12:49:50]Read from MH i2c: D1 01 00 [12:49:50]MH_I2C_Read... [12:49:50]Read from MH i2c: D1 01 00 4C 23 00 40 [12:49:50]Write to MH i2c: 01 00 00 4D 23 70 [12:49:50]Write i2c OK [12:49:50]MH_I2C_Read... [12:49:50]OFD Sender: No OFD packet to send [12:49:50]*** Cut start [12:49:50]*** Partial cut [12:49:50]*** CUTSNS_PIN = 1 [12:49:50]*** CUTSNS_PIN = 0 [12:49:51]*** Brake cut motor [12:49:51]Read from MH i2c: 01 [12:49:51]MH_I2C_Read... [12:49:51]*** Stop cut motor [12:49:51]*** Cut end [12:49:51]Read from MH i2c: 01 07 00 [12:49:51]MH_I2C_Read... [12:49:51]Read from MH i2c: 01 07 00 4D 23 00 00 00 00 00 FF 0F 85 [12:49:51]process_action close_receipt done [12:49:51]requested_data is exist [12:49:51]produce_requested_data [12:49:51]requested_item fm.sn is exist - process it [12:49:51]wFMCommunicate request_size=4 [12:49:51]MH_SAM_APDU [12:49:51]CAPDU: 80 11 00 00 [12:49:51]Write to MH i2c: E2 08 00 4E 23 80 11 00 00 00 00 00 00 EB [12:49:51]Write i2c OK [12:49:51]MH_I2C_Read... [12:49:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:49:51]Read from MH i2c: E2 [12:49:51]MH_I2C_Read... [12:49:51]Read from MH i2c: E2 17 00 [12:49:51]MH_I2C_Read... [12:49:51]Read from MH i2c: E2 17 00 4E 23 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 3D [12:49:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [12:49:51]wFMCommunicate OK [12:49:51]requested_item fd.num is exist - process it [12:49:51]SAM_PROTO_GetFieldsCounters [12:49:51]wFMCommunicate request_size=4 [12:49:51]MH_SAM_APDU [12:49:51]CAPDU: 80 13 00 00 [12:49:51]Write to MH i2c: E2 08 00 4F 23 80 13 00 00 00 00 00 00 EE [12:49:51]Write i2c OK [12:49:51]MH_I2C_Read... [12:49:51]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:49:51]Read from MH i2c: E2 [12:49:51]MH_I2C_Read... [12:49:51]Read from MH i2c: E2 62 00 [12:49:51]MH_I2C_Read... [12:49:51]Read from MH i2c: E2 62 00 4F 23 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 FF 56 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 24 00 00 00 5E 04 04 00 24 00 00 00 57 04 04 00 25 00 00 00 19 04 04 00 00 00 00 00 90 00 21 [12:49:51]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 FF 56 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 24 00 00 00 5E 04 04 00 24 00 00 00 57 04 04 00 25 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:49:51]wFMCommunicate OK [12:49:51]SAM_PROTO_GetFieldsCounters done [12:49:51]requested_item shift.num is exist - process it [12:49:51]requested_item shift.opened is exist - process it [12:49:51]req_shift_opened [12:49:51]FM_GetShiftState [12:49:51]SAM_PROTO_GetShiftState [12:49:51]wFMCommunicate request_size=4 [12:49:51]MH_SAM_APDU [12:49:51]CAPDU: 80 13 01 00 [12:49:51]Write to MH i2c: E2 08 00 50 23 80 13 01 00 00 00 00 00 F0 [12:49:51]Write i2c OK [12:49:51]MH_I2C_Read... [12:49:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:49:51]Read from MH i2c: E2 [12:49:51]MH_I2C_Read... [12:49:51]Read from MH i2c: E2 0E 00 [12:49:51]MH_I2C_Read... [12:49:51]Read from MH i2c: E2 0E 00 50 23 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 11 [12:49:51]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [12:49:51]wFMCommunicate OK [12:49:51]SAM_PROTO_GetShiftState done [12:49:51]FM_GetShiftState done [12:49:51]req_shift_opened done [12:49:51]requested_item shift.open_date is exist - process it [12:49:51]req_shift_open_date [12:49:51]req_shift_open_date done [12:49:51]produce_requested_data done [12:49:51]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22271,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297} [12:49:51]process_action_free close_receipt [12:49:51]json_value_free [12:49:51]json_value_free done [12:49:51]process_json_proto returns [12:49:51]Send response to host [12:49:51]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22271,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297}}} [12:49:51]free response buf [12:49:51]execute_script done [12:49:51]execute_script returns [12:49:51]free content buf [12:49:51]Sock 8.Close socket [12:49:51]Sock 8.Thread stoped [12:49:55]OFD Sender: No OFD packet to send [12:50:00]OFD Sender: No OFD packet to send [12:50:00]accept exits with 9 [12:50:00]New connection [12:50:00]New thread 3066838372 created [12:50:00]Thread 3066695012 joined [12:50:00]Waiting for new connection... [12:50:00] Sock 9.Parse request [12:50:00]Sock 9.Check first char [12:50:00]Sock 9.First char is OK [12:50:00]request: POST /json_proto HTTP/1.0 [12:50:00]Method: POST [12:50:00]URL: /json_proto [12:50:00]Method is POST - this is cgi request [12:50:00]url: /json_proto [12:50:00]query_string will be loaded in cgi processing [12:50:00]execute_cgi json_proto POST (null) [12:50:00]execute_cgi path=json_proto method=POST [12:50:00]POST find Content-Length [12:50:00]Host: 172.17.35.133:8080 [12:50:00]Content-Length: 689 [12:50:00]Content-Type: application/json [12:50:00] [12:50:00]POST finish read [12:50:00]Found Content-Length = 689 [12:50:00]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254486", "tax_sys" : 0, "items" : [ { "code": "4870002326172", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043B\u0438\u043C\u043E\u043D \u041F\u042D\u0422 1\u043B", "price" : 100.00, "quantity" : 1.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 100.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:50:00]execute_script... [12:50:00]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254486", "tax_sys" : 0, "items" : [ { "code": "4870002326172", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043B\u0438\u043C\u043E\u043D \u041F\u042D\u0422 1\u043B", "price" : 100.00, "quantity" : 1.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 100.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:50:00]POST & json_proto [12:50:00]process_json_proto [12:50:00]json parsed OK: [12:50:00]protocol is kg_v1.0 [12:50:00]action value=close_receipt [12:50:00]process_action close_receipt [12:50:00]cmd_close_receipt [12:50:00]MH_GetDate [12:50:00]Write to MH i2c: F0 00 00 51 23 63 [12:50:00]Write i2c OK [12:50:00]MH_I2C_Read... [12:50:00]Read from MH i2c: F0 [12:50:00]MH_I2C_Read... [12:50:00]Read from MH i2c: F0 09 00 [12:50:00]MH_I2C_Read... [12:50:00]Read from MH i2c: F0 09 00 51 23 00 81 DF 6E 66 8C 55 28 65 0E [12:50:00]GetLastDocTimeStamp 1718542195 [12:50:00]current date 1718542209 [12:50:00]FM_GetShiftState [12:50:00]SAM_PROTO_GetShiftState [12:50:00]wFMCommunicate request_size=4 [12:50:00]MH_SAM_APDU [12:50:00]CAPDU: 80 13 01 00 [12:50:00]Write to MH i2c: E2 08 00 52 23 80 13 01 00 00 00 00 00 F2 [12:50:00]Write i2c OK [12:50:00]MH_I2C_Read... [12:50:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:50:00]Read from MH i2c: E2 [12:50:00]MH_I2C_Read... [12:50:00]Read from MH i2c: E2 0E 00 [12:50:00]MH_I2C_Read... [12:50:00]Read from MH i2c: E2 0E 00 52 23 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 13 [12:50:00]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [12:50:00]wFMCommunicate OK [12:50:00]SAM_PROTO_GetShiftState done [12:50:00]FM_GetShiftState done [12:50:00]opened in 1718497297 [12:50:00]opened+sec_in_day 1718583697 [12:50:00]quantity*price = 10000 [12:50:00]sum+1 = 10001 [12:50:00]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 100.00 НСП 1% : 0.88 НДС 12% : 10.62 Наличными: 100.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 37 16.06.2024 12:50 Смена: 327 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22272 ФПД: 61455050007810 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T125009&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22272&fm=61455050007810&tin=02508201610067®Number=0000000000099755&sum=10000 0 [12:50:01]StoreToDocumentArchive [12:50:01]shift 327 fd 22272 [12:50:01]save to /storage/0327/doc_00022272 [12:50:01]save last doc name /storage/0327/doc_00022272 to /storage/kkm_last_doc_name [12:50:01]save OK [12:50:01]Clear old archive folders... [12:50:01]ProcessDocumentItem done err = 0, tmpTLVsize=293 [12:50:01]tlvbuf is 0026AFF0 [12:50:01]SAM_PROTO_ClearQueue [12:50:01]wFMCommunicate request_size=4 [12:50:01]MH_SAM_APDU [12:50:01]CAPDU: 80 09 00 00 [12:50:01]Write to MH i2c: E2 08 00 5F 23 80 09 00 00 00 00 00 00 F4 [12:50:01]Write i2c OK [12:50:01]MH_I2C_Read... [12:50:01]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:50:01]Read from MH i2c: E2 [12:50:01]MH_I2C_Read... [12:50:01]Read from MH i2c: E2 03 00 [12:50:01]MH_I2C_Read... [12:50:01]Read from MH i2c: E2 03 00 5F 23 00 90 00 F6 [12:50:01]RAPDU: 90 00 [12:50:01]wFMCommunicate OK [12:50:01]SAM_PROTO_ClearQueue done [12:50:01]KKMCreateOFDPacket [12:50:01]OFDProtocolAddRootSTLVToBuf [12:50:01]FM_MakeSignedData [12:50:01]FM_MakeSignedData [12:50:01]SAM_PROTO_SignData [12:50:01]wFMCommunicate request_size=4 [12:50:01]MH_SAM_APDU [12:50:01]CAPDU: 80 0D 01 02 [12:50:01]Write to MH i2c: E2 08 00 60 23 80 0D 01 02 00 00 00 00 FC [12:50:01]Write i2c OK [12:50:01]MH_I2C_Read... [12:50:01]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:50:01]Read from MH i2c: E2 [12:50:01]MH_I2C_Read... [12:50:01]Read from MH i2c: E2 03 00 [12:50:01]MH_I2C_Read... [12:50:01]Read from MH i2c: E2 03 00 60 23 00 90 00 F7 [12:50:01]RAPDU: 90 00 [12:50:01]wFMCommunicate OK [12:50:01]wFMCommunicate request_size=255 [12:50:01]MH_SAM_APDU [12:50:01]CAPDU: 80 0D 02 02 FA 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 36 31 37 32 06 04 33 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BB D0 B8 D0 BC D0 BE 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 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 26 04 00 00 00 00 07 04 06 00 10 27 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 81 DF 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 [12:50:01]Write to MH i2c: E2 02 01 61 23 80 0D 02 02 FA 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 36 31 37 32 06 04 33 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BB D0 B8 D0 BC D0 BE 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 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 26 04 00 00 00 00 07 04 06 00 10 27 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 81 DF 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 00 00 56 [12:50:02]Write i2c OK [12:50:02]MH_I2C_Read... [12:50:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:50:02]Read from MH i2c: E2 [12:50:02]MH_I2C_Read... [12:50:02]Read from MH i2c: E2 03 00 [12:50:02]MH_I2C_Read... [12:50:02]Read from MH i2c: E2 03 00 61 23 00 90 00 F8 [12:50:02]RAPDU: 90 00 [12:50:02]wFMCommunicate OK [12:50:02]wFMCommunicate request_size=52 [12:50:02]MH_SAM_APDU [12:50:02]CAPDU: 80 0D 02 02 2F 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 00 57 00 00 35 04 06 00 37 E4 9E 6C E5 02 [12:50:02]Write to MH i2c: E2 37 00 62 23 80 0D 02 02 2F 00 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 00 57 00 00 35 04 06 00 37 E4 9E 6C E5 02 00 00 2E [12:50:02]Write i2c OK [12:50:02]MH_I2C_Read... [12:50:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:50:02]Read from MH i2c: E2 [12:50:02]MH_I2C_Read... [12:50:02]Read from MH i2c: E2 03 00 [12:50:02]MH_I2C_Read... [12:50:02]Read from MH i2c: E2 03 00 62 23 00 90 00 F9 [12:50:02]RAPDU: 90 00 [12:50:02]wFMCommunicate OK [12:50:02]wFMCommunicate request_size=4 [12:50:02]MH_SAM_APDU [12:50:02]CAPDU: 80 0D 03 02 [12:50:02]Write to MH i2c: E2 08 00 63 23 80 0D 03 02 00 00 00 00 01 [12:50:02]Write i2c OK [12:50:02]MH_I2C_Read... [12:50:02]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:50:02]Read from MH i2c: E2 [12:50:02]MH_I2C_Read... [12:50:02]Read from MH i2c: E2 0B 00 [12:50:02]MH_I2C_Read... [12:50:02]Read from MH i2c: E2 0B 00 63 23 00 0C 68 CD 41 76 9E 51 DD 90 00 C6 [12:50:02]RAPDU: 0C 68 CD 41 76 9E 51 DD 90 00 [12:50:02]wFMCommunicate OK [12:50:02]SAM_PROTO_SignData done [12:50:02]FM_MakeSignedData done [12:50:02]CreateOFDProtocolMessage [12:50:02]wFMCommunicate request_size=4 [12:50:02]MH_SAM_APDU [12:50:02]CAPDU: 80 11 00 00 [12:50:02]Write to MH i2c: E2 08 00 64 23 80 11 00 00 00 00 00 00 01 [12:50:02]Write i2c OK [12:50:02]MH_I2C_Read... [12:50:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:50:02]Read from MH i2c: E2 [12:50:02]MH_I2C_Read... [12:50:02]Read from MH i2c: E2 17 00 [12:50:02]MH_I2C_Read... [12:50:02]Read from MH i2c: E2 17 00 64 23 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 53 [12:50:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [12:50:02]wFMCommunicate OK [12:50:02]CreateOFDProtocolMessage done [12:50:02]OFDSenderStorePacket 22272 [12:50:02]StoreOFDPacket docnum=22272 [12:50:02]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 39 01 00 00 D5 3E 31 01 96 C1 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 36 31 37 32 06 04 33 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BB D0 B8 D0 BC D0 BE 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 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 26 04 00 00 00 00 07 04 06 00 10 27 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 81 DF 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 00 57 00 00 35 04 06 00 37 E4 9E 6C E5 02 0C 68 CD 41 76 9E 51 DD [12:50:02]CheckFolder [12:50:02]dirname=/storage/ofd_packets [12:50:02]CheckFolder done [12:50:02]ProducePacketName [12:50:02]name=ofd_packets/00022272 [12:50:02]NVStorageSaveData ofd_packets/00022272 [12:50:02]File name is /storage/ofd_packets/00022272 [12:50:02]Write 343 bytes [12:50:02]NVStorageSaveData done [12:50:02]OFDSenderStorePacket done [12:50:02]KKMCreateOFDPacket done [12:50:02]NVStorageSaveData kkm_last_timestamp [12:50:02]File name is /storage/kkm_last_timestamp [12:50:02]Write 4 bytes [12:50:02]NVStorageSaveData done [12:50:02]ExternCall_PrintAddStr [12:50:02]wPrintStart [12:50:02]Write to MH i2c: 01 00 00 65 23 88 [12:50:02]Write i2c OK [12:50:02]MH_I2C_Read... [12:50:02]Read from MH i2c: 01 [12:50:02]MH_I2C_Read... [12:50:02]Read from MH i2c: 01 07 00 [12:50:02]MH_I2C_Read... [12:50:02]Read from MH i2c: 01 07 00 65 23 00 00 00 00 00 FF 0F 9D [12:50:02]RasterBufferAndPrint [12:50:02]line Счет N : (3)254486 [12:50:02]line ИНН: 02508201610067 [12:50:02]line Контрольно-Кассовый Чек [12:50:02]line ПРОДАЖА [12:50:02]line Товар: 4870002326172 [12:50:02]line Вода ASU пит н.газ лимон ПЭТ 1л [12:50:02]line 1.000 * 100.00 [12:50:02]line = 100.00 [12:50:02]line НДС 12% НСП 1% [12:50:02]line > о реализуемом товаре [12:50:02]line ИТОГО: 100.00 [12:50:02]line НСП 1% : 0.88 [12:50:02]line НДС 12% : 10.62 [12:50:02]line Наличными: 100.00 [12:50:02]line Безнал.: 0.00 [12:50:02]line Место: АЗС № 76 "Партнер Нефть" [12:50:02]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [12:50:02]line СНО: Общий режим [12:50:02]line Чек 37 16.06.2024 12:50 [12:50:02]line Смена: 327 ФФД: 1.0 [12:50:02]line ЗНМ: 0300000200 [12:50:02]line РНМ: 0000000000099755 [12:50:02]line Версия ККМ: 001 [12:50:02]line ФМ: 0000000000965344 [12:50:02]line ФД: 22272 [12:50:02]line ФПД: 61455050007810 [12:50:02]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T125009&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22272&fm=61455050007810&tin=02508201610067®Number=0000000000099755&sum=10000 [12:50:02]line 0 [12:50:02]written 0, free lines is 4095 [12:50:02]OFD Sender: Processing packet 22272 [packets to send 5, broken 4] [12:50:02]ProducePacketName [12:50:02]name=ofd_packets/00022272 [12:50:02]OFD Sender: To server: pG, [12:50:02]CommunicateWithHost lk.salyk.kg:30040 [12:50:02]ConnectInit lk.salyk.kg [12:50:02]Connected sock=10 [12:50:02]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 39 01 00 00 D5 3E 31 01 96 C1 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 36 31 37 32 06 04 33 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BB D0 B8 D0 BC D0 BE 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 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 26 04 00 00 00 00 07 04 06 00 10 27 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 81 DF 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 00 57 00 00 35 04 06 00 37 E4 9E 6C E5 02 0C 68 CD 41 76 9E 51 DD [12:50:03]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 E7 60 47 00 E8 AB A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 00 57 00 00 F4 03 04 00 3B 88 6E 66 B6 04 01 00 00 CE BE 83 63 22 D9 62 48 [12:50:03]CommunicateWithHost err = 0 [12:50:03]CheckOFDResponse [12:50:03]1017 (14) - 77093643461234 [12:50:03]1041 (16) - 0000000000965344 [12:50:03]1040 (4) - 22272 [12:50:03]1012 (4) - 16.06.2024 06:37 [12:50:03]1206 (1) - 0 [12:50:03]OFD Sender: Remove packet 22272 [12:50:03]ProducePacketName [12:50:03]name=ofd_packets/00022272 [12:50:03]NVStorageDeleteData [12:50:03]Write to MH i2c: 01 00 00 8E 23 B1 [12:50:03]Write i2c OK [12:50:03]MH_I2C_Read... [12:50:03]Read from MH i2c: 01 [12:50:03]MH_I2C_Read... [12:50:03]Read from MH i2c: 01 07 00 [12:50:03]MH_I2C_Read... [12:50:03]Read from MH i2c: 01 07 00 8E 23 00 00 00 00 00 19 0D DE [12:50:03]RasterBufferAndPrint [12:50:03]line [12:50:03]line [12:50:03]line [12:50:03]line [12:50:03]line [12:50:03]written 0, free lines is 3365 [12:50:03]MH_Cut [12:50:03]Write to MH i2c: D1 01 00 95 23 01 8A [12:50:03]Write i2c OK [12:50:03]MH_I2C_Read... [12:50:03]Read from MH i2c: D1 [12:50:03]MH_I2C_Read... [12:50:03]Read from MH i2c: D1 01 00 [12:50:03]MH_I2C_Read... [12:50:03]Read from MH i2c: D1 01 00 95 23 00 89 [12:50:03]Write to MH i2c: 01 00 00 96 23 B9 [12:50:03]Write i2c OK [12:50:03]MH_I2C_Read... [12:50:03]OFD Sender: No OFD packet to send [12:50:03]*** Cut start [12:50:03]*** Partial cut [12:50:03]*** CUTSNS_PIN = 1 [12:50:03]*** CUTSNS_PIN = 0 [12:50:04]*** Brake cut motor [12:50:04]Read from MH i2c: 01 [12:50:04]MH_I2C_Read... [12:50:04]*** Stop cut motor [12:50:04]*** Cut end [12:50:04]Read from MH i2c: 01 07 00 [12:50:04]MH_I2C_Read... [12:50:04]Read from MH i2c: 01 07 00 96 23 00 00 00 00 00 FF 0F CE [12:50:04]process_action close_receipt done [12:50:04]requested_data is exist [12:50:04]produce_requested_data [12:50:04]requested_item fm.sn is exist - process it [12:50:04]wFMCommunicate request_size=4 [12:50:04]MH_SAM_APDU [12:50:04]CAPDU: 80 11 00 00 [12:50:04]Write to MH i2c: E2 08 00 97 23 80 11 00 00 00 00 00 00 34 [12:50:04]Write i2c OK [12:50:04]MH_I2C_Read... [12:50:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:50:04]Read from MH i2c: E2 [12:50:04]MH_I2C_Read... [12:50:04]Read from MH i2c: E2 17 00 [12:50:04]MH_I2C_Read... [12:50:04]Read from MH i2c: E2 17 00 97 23 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 86 [12:50:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [12:50:04]wFMCommunicate OK [12:50:04]requested_item fd.num is exist - process it [12:50:04]SAM_PROTO_GetFieldsCounters [12:50:04]wFMCommunicate request_size=4 [12:50:04]MH_SAM_APDU [12:50:04]CAPDU: 80 13 00 00 [12:50:04]Write to MH i2c: E2 08 00 98 23 80 13 00 00 00 00 00 00 37 [12:50:04]Write i2c OK [12:50:04]MH_I2C_Read... [12:50:04]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:50:04]Read from MH i2c: E2 [12:50:04]MH_I2C_Read... [12:50:04]Read from MH i2c: E2 62 00 [12:50:04]MH_I2C_Read... [12:50:04]Read from MH i2c: E2 62 00 98 23 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 00 57 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 25 00 00 00 5E 04 04 00 25 00 00 00 57 04 04 00 26 00 00 00 19 04 04 00 00 00 00 00 90 00 6F [12:50:04]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 00 57 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 25 00 00 00 5E 04 04 00 25 00 00 00 57 04 04 00 26 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:50:04]wFMCommunicate OK [12:50:04]SAM_PROTO_GetFieldsCounters done [12:50:04]requested_item shift.num is exist - process it [12:50:04]requested_item shift.opened is exist - process it [12:50:04]req_shift_opened [12:50:04]FM_GetShiftState [12:50:04]SAM_PROTO_GetShiftState [12:50:04]wFMCommunicate request_size=4 [12:50:04]MH_SAM_APDU [12:50:04]CAPDU: 80 13 01 00 [12:50:04]Write to MH i2c: E2 08 00 99 23 80 13 01 00 00 00 00 00 39 [12:50:04]Write i2c OK [12:50:04]MH_I2C_Read... [12:50:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:50:04]Read from MH i2c: E2 [12:50:04]MH_I2C_Read... [12:50:04]Read from MH i2c: E2 0E 00 [12:50:04]MH_I2C_Read... [12:50:04]Read from MH i2c: E2 0E 00 99 23 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 5A [12:50:04]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [12:50:04]wFMCommunicate OK [12:50:04]SAM_PROTO_GetShiftState done [12:50:04]FM_GetShiftState done [12:50:04]req_shift_opened done [12:50:04]requested_item shift.open_date is exist - process it [12:50:04]req_shift_open_date [12:50:04]req_shift_open_date done [12:50:04]produce_requested_data done [12:50:04]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22272,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297} [12:50:04]process_action_free close_receipt [12:50:04]json_value_free [12:50:04]json_value_free done [12:50:04]process_json_proto returns [12:50:04]Send response to host [12:50:04]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22272,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297}}} [12:50:04]free response buf [12:50:04]execute_script done [12:50:04]execute_script returns [12:50:04]free content buf [12:50:04]Sock 9.Close socket [12:50:04]Sock 9.Thread stoped [12:50:08]OFD Sender: No OFD packet to send [12:50:13]OFD Sender: No OFD packet to send [12:50:18]OFD Sender: No OFD packet to send [12:50:23]OFD Sender: No OFD packet to send [12:50:28]OFD Sender: No OFD packet to send [12:50:33]OFD Sender: No OFD packet to send [12:50:38]OFD Sender: No OFD packet to send [12:50:43]OFD Sender: No OFD packet to send [12:50:48]OFD Sender: No OFD packet to send [12:50:53]OFD Sender: No OFD packet to send [12:50:58]OFD Sender: No OFD packet to send [12:51:03]OFD Sender: No OFD packet to send [12:51:08]OFD Sender: No OFD packet to send [12:51:13]OFD Sender: No OFD packet to send [12:51:18]OFD Sender: No OFD packet to send [12:51:23]OFD Sender: No OFD packet to send [12:51:28]OFD Sender: No OFD packet to send [12:51:33]OFD Sender: No OFD packet to send [12:51:38]OFD Sender: No OFD packet to send [12:51:43]OFD Sender: No OFD packet to send [12:51:48]OFD Sender: No OFD packet to send [12:51:53]OFD Sender: No OFD packet to send [12:51:58]OFD Sender: No OFD packet to send [12:52:03]OFD Sender: No OFD packet to send [12:52:08]OFD Sender: No OFD packet to send [12:52:13]OFD Sender: No OFD packet to send [12:52:18]OFD Sender: No OFD packet to send [12:52:23]OFD Sender: No OFD packet to send [12:52:28]OFD Sender: No OFD packet to send [12:52:33]OFD Sender: No OFD packet to send [12:52:38]OFD Sender: No OFD packet to send [12:52:43]OFD Sender: No OFD packet to send [12:52:48]OFD Sender: No OFD packet to send [12:52:53]OFD Sender: No OFD packet to send [12:52:58]OFD Sender: No OFD packet to send [12:53:03]OFD Sender: No OFD packet to send [12:53:08]OFD Sender: No OFD packet to send [12:53:13]OFD Sender: No OFD packet to send [12:53:18]OFD Sender: No OFD packet to send [12:53:23]OFD Sender: No OFD packet to send [12:53:28]OFD Sender: No OFD packet to send [12:53:33]OFD Sender: No OFD packet to send [12:53:38]OFD Sender: No OFD packet to send [12:53:43]OFD Sender: No OFD packet to send [12:53:48]OFD Sender: No OFD packet to send [12:53:53]OFD Sender: No OFD packet to send [12:53:58]OFD Sender: No OFD packet to send [12:54:03]OFD Sender: No OFD packet to send [12:54:08]OFD Sender: No OFD packet to send [12:54:13]OFD Sender: No OFD packet to send [12:54:18]OFD Sender: No OFD packet to send [12:54:23]OFD Sender: No OFD packet to send [12:54:28]OFD Sender: No OFD packet to send [12:54:33]OFD Sender: No OFD packet to send [12:54:38]OFD Sender: No OFD packet to send [12:54:43]OFD Sender: No OFD packet to send [12:54:48]OFD Sender: No OFD packet to send [12:54:53]OFD Sender: No OFD packet to send [12:54:58]OFD Sender: No OFD packet to send [12:55:03]OFD Sender: No OFD packet to send [12:55:08]OFD Sender: No OFD packet to send [12:55:13]OFD Sender: No OFD packet to send [12:55:18]OFD Sender: No OFD packet to send [12:55:23]OFD Sender: No OFD packet to send [12:55:28]OFD Sender: No OFD packet to send [12:55:33]OFD Sender: No OFD packet to send [12:55:38]OFD Sender: No OFD packet to send [12:55:43]OFD Sender: No OFD packet to send [12:55:48]OFD Sender: No OFD packet to send [12:55:53]OFD Sender: No OFD packet to send [12:55:58]OFD Sender: No OFD packet to send [12:56:03]OFD Sender: No OFD packet to send [12:56:08]OFD Sender: No OFD packet to send [12:56:13]OFD Sender: No OFD packet to send [12:56:18]OFD Sender: No OFD packet to send [12:56:23]OFD Sender: No OFD packet to send [12:56:28]OFD Sender: No OFD packet to send [12:56:33]OFD Sender: No OFD packet to send [12:56:38]OFD Sender: No OFD packet to send [12:56:43]OFD Sender: No OFD packet to send [12:56:49]OFD Sender: No OFD packet to send [12:56:54]OFD Sender: No OFD packet to send [12:56:59]OFD Sender: No OFD packet to send [12:57:04]OFD Sender: No OFD packet to send [12:57:09]OFD Sender: No OFD packet to send [12:57:14]OFD Sender: No OFD packet to send [12:57:19]OFD Sender: No OFD packet to send [12:57:24]OFD Sender: No OFD packet to send [12:57:29]OFD Sender: No OFD packet to send [12:57:34]OFD Sender: No OFD packet to send [12:57:39]OFD Sender: No OFD packet to send [12:57:44]OFD Sender: No OFD packet to send [12:57:49]OFD Sender: No OFD packet to send [12:57:54]OFD Sender: No OFD packet to send [12:57:59]OFD Sender: No OFD packet to send [12:58:04]OFD Sender: No OFD packet to send [12:58:09]OFD Sender: No OFD packet to send [12:58:14]OFD Sender: No OFD packet to send [12:58:19]OFD Sender: No OFD packet to send [12:58:24]OFD Sender: No OFD packet to send [12:58:29]OFD Sender: No OFD packet to send [12:58:34]OFD Sender: No OFD packet to send [12:58:39]OFD Sender: No OFD packet to send [12:58:44]OFD Sender: No OFD packet to send [12:58:49]OFD Sender: No OFD packet to send [12:58:54]OFD Sender: No OFD packet to send [12:58:59]OFD Sender: No OFD packet to send [12:59:04]OFD Sender: No OFD packet to send [12:59:09]OFD Sender: No OFD packet to send [12:59:14]OFD Sender: No OFD packet to send [12:59:19]OFD Sender: No OFD packet to send [12:59:24]OFD Sender: No OFD packet to send [12:59:29]OFD Sender: No OFD packet to send [12:59:34]OFD Sender: No OFD packet to send [12:59:39]OFD Sender: No OFD packet to send [12:59:44]OFD Sender: No OFD packet to send [12:59:49]OFD Sender: No OFD packet to send [12:59:54]OFD Sender: No OFD packet to send [12:59:59]OFD Sender: No OFD packet to send [13:00:04]OFD Sender: No OFD packet to send [13:00:09]OFD Sender: No OFD packet to send [13:00:14]OFD Sender: No OFD packet to send [13:00:19]OFD Sender: No OFD packet to send [13:00:24]OFD Sender: No OFD packet to send [13:00:29]OFD Sender: No OFD packet to send [13:00:34]OFD Sender: No OFD packet to send [13:00:39]OFD Sender: No OFD packet to send [13:00:44]OFD Sender: No OFD packet to send [13:00:49]OFD Sender: No OFD packet to send [13:00:54]OFD Sender: No OFD packet to send [13:00:59]OFD Sender: No OFD packet to send [13:01:04]OFD Sender: No OFD packet to send [13:01:09]OFD Sender: No OFD packet to send [13:01:14]OFD Sender: No OFD packet to send [13:01:19]OFD Sender: No OFD packet to send [13:01:24]OFD Sender: No OFD packet to send [13:01:29]OFD Sender: No OFD packet to send [13:01:34]OFD Sender: No OFD packet to send [13:01:39]OFD Sender: No OFD packet to send [13:01:44]OFD Sender: No OFD packet to send [13:01:49]OFD Sender: No OFD packet to send [13:01:54]OFD Sender: No OFD packet to send [13:01:59]OFD Sender: No OFD packet to send [13:02:04]OFD Sender: No OFD packet to send [13:02:09]OFD Sender: No OFD packet to send [13:02:14]OFD Sender: No OFD packet to send [13:02:19]OFD Sender: No OFD packet to send [13:02:24]OFD Sender: No OFD packet to send [13:02:29]OFD Sender: No OFD packet to send [13:02:34]OFD Sender: No OFD packet to send [13:02:39]OFD Sender: No OFD packet to send [13:02:44]OFD Sender: No OFD packet to send [13:02:49]OFD Sender: No OFD packet to send [13:02:54]OFD Sender: No OFD packet to send [13:02:59]OFD Sender: No OFD packet to send [13:03:04]recv_with_timeout no data received [13:03:04]OFD Sender: No OFD packet to send [13:03:09]OFD Sender: No OFD packet to send [13:03:14]OFD Sender: No OFD packet to send [13:03:19]OFD Sender: No OFD packet to send [13:03:24]OFD Sender: No OFD packet to send [13:03:29]OFD Sender: No OFD packet to send [13:03:34]OFD Sender: No OFD packet to send [13:03:39]OFD Sender: No OFD packet to send [13:03:44]OFD Sender: No OFD packet to send [13:03:49]OFD Sender: No OFD packet to send [13:03:54]OFD Sender: No OFD packet to send [13:03:59]OFD Sender: No OFD packet to send [13:04:04]OFD Sender: No OFD packet to send [13:04:09]OFD Sender: No OFD packet to send [13:04:14]OFD Sender: No OFD packet to send [13:04:19]OFD Sender: No OFD packet to send [13:04:24]OFD Sender: No OFD packet to send [13:04:29]OFD Sender: No OFD packet to send [13:04:34]OFD Sender: No OFD packet to send [13:04:39]OFD Sender: No OFD packet to send [13:04:43]recv_with_timeout no data received [13:04:44]OFD Sender: No OFD packet to send [13:04:49]OFD Sender: No OFD packet to send [13:04:54]OFD Sender: No OFD packet to send [13:04:59]OFD Sender: No OFD packet to send [13:05:04]OFD Sender: No OFD packet to send [13:05:09]OFD Sender: No OFD packet to send [13:05:14]OFD Sender: No OFD packet to send [13:05:19]OFD Sender: No OFD packet to send [13:05:24]OFD Sender: No OFD packet to send [13:05:29]OFD Sender: No OFD packet to send [13:05:29]recv_with_timeout no data received [13:05:34]OFD Sender: No OFD packet to send [13:05:39]OFD Sender: No OFD packet to send [13:05:44]OFD Sender: No OFD packet to send [13:05:49]OFD Sender: No OFD packet to send [13:05:54]OFD Sender: No OFD packet to send [13:05:59]OFD Sender: No OFD packet to send [13:06:04]OFD Sender: No OFD packet to send [13:06:09]OFD Sender: No OFD packet to send [13:06:14]OFD Sender: No OFD packet to send [13:06:19]OFD Sender: No OFD packet to send [13:06:24]OFD Sender: No OFD packet to send [13:06:29]OFD Sender: No OFD packet to send [13:06:34]OFD Sender: No OFD packet to send [13:06:39]OFD Sender: No OFD packet to send [13:06:44]OFD Sender: No OFD packet to send [13:06:49]OFD Sender: No OFD packet to send [13:06:54]OFD Sender: No OFD packet to send [13:06:59]OFD Sender: No OFD packet to send [13:07:04]OFD Sender: No OFD packet to send [13:07:09]OFD Sender: No OFD packet to send [13:07:14]OFD Sender: No OFD packet to send [13:07:19]OFD Sender: No OFD packet to send [13:07:24]OFD Sender: No OFD packet to send [13:07:29]OFD Sender: No OFD packet to send [13:07:34]OFD Sender: No OFD packet to send [13:07:39]OFD Sender: No OFD packet to send [13:07:44]OFD Sender: No OFD packet to send [13:07:49]OFD Sender: No OFD packet to send [13:07:54]OFD Sender: No OFD packet to send [13:07:59]OFD Sender: No OFD packet to send [13:08:04]OFD Sender: No OFD packet to send [14:31:51]ConnectInit Can't connect to host [14:31:56]OFD Sender: Processing packet 22273 [packets to send 13, broken 4] [14:31:56]ProducePacketName [14:31:56]name=ofd_packets/00022273 [14:31:56]OFD Sender: To server: pG, [14:31:56]CommunicateWithHost lk.salyk.kg:30040 [14:31:56]ConnectInit lk.salyk.kg [14:34:07]ConnectInit Can't connect to host [14:34:07]CommunicateWithHost connect error [14:34:07]CommunicateWithHost err = -1 [14:34:07]OFD Sender: Server communicate error [14:34:12]OFD Sender: Processing packet 22273 [packets to send 13, broken 4] [14:34:12]ProducePacketName [14:34:12]name=ofd_packets/00022273 [14:34:12]OFD Sender: To server: pG, [14:34:12]CommunicateWithHost lk.salyk.kg:30040 [14:34:12]ConnectInit lk.salyk.kg [14:34:12]Connected sock=8 [14:34:12]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 1E 01 00 00 2E 96 16 01 18 65 5A 03 01 00 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 F8 2A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 A6 E5 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 01 57 00 00 35 04 06 00 FA 39 E6 31 1A C9 3D 9E DB 5C 0E B3 D7 16 [14:34:12]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 85 6B 47 00 74 15 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 01 57 00 00 F4 03 04 00 A4 A0 6E 66 B6 04 01 00 00 1E 67 03 B2 CD 69 F7 9A [14:34:12]CommunicateWithHost err = 0 [14:34:12]CheckOFDResponse [14:34:12]1017 (14) - 77093643461234 [14:34:12]1041 (16) - 0000000000965344 [14:34:12]1040 (4) - 22273 [14:34:12]1012 (4) - 16.06.2024 08:21 [14:34:12]1206 (1) - 0 [14:34:12]OFD Sender: Remove packet 22273 [14:34:12]ProducePacketName [14:34:12]name=ofd_packets/00022273 [14:34:12]NVStorageDeleteData [14:34:12]OFD Sender: Processing packet 22274 [packets to send 12, broken 4] [14:34:12]ProducePacketName [14:34:12]name=ofd_packets/00022274 [14:34:12]OFD Sender: To server: pG, [14:34:12]CommunicateWithHost lk.salyk.kg:30040 [14:34:12]ConnectInit lk.salyk.kg [14:34:12]Connected sock=9 [14:34:12]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 AE 01 00 00 FB F6 A6 01 44 B7 5A 03 01 00 03 00 9A 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 35 31 37 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B8 D0 B2 D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 48 3F 00 00 00 00 13 04 06 00 48 3F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 86 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 31 37 39 06 04 42 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 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 30 2C 34 35 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 5A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CD 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9F 09 00 00 00 00 07 04 06 00 A0 5A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 91 E6 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 02 57 00 00 35 04 06 00 A4 57 40 7A 4A DC 9E 1C 1B D2 41 30 2B 2A [14:34:13]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 03 C5 47 00 E2 7E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 02 57 00 00 F4 03 04 00 A5 A0 6E 66 B6 04 01 00 00 15 32 AA EF 9E E3 4E 4B [14:34:13]CommunicateWithHost err = 0 [14:34:13]CheckOFDResponse [14:34:13]1017 (14) - 77093643461234 [14:34:13]1041 (16) - 0000000000965344 [14:34:13]1040 (4) - 22274 [14:34:13]1012 (4) - 16.06.2024 08:21 [14:34:13]1206 (1) - 0 [14:34:13]OFD Sender: Remove packet 22274 [14:34:13]ProducePacketName [14:34:13]name=ofd_packets/00022274 [14:34:13]NVStorageDeleteData [14:34:13]OFD Sender: Processing packet 22275 [packets to send 11, broken 4] [14:34:13]ProducePacketName [14:34:13]name=ofd_packets/00022275 [14:34:13]OFD Sender: To server: pG, [14:34:13]CommunicateWithHost lk.salyk.kg:30040 [14:34:13]ConnectInit lk.salyk.kg [14:34:13]Connected sock=8 [14:34:13]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0F 01 00 00 FC 6A 07 01 35 CE 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 B0 1D 00 00 00 00 00 37 04 06 00 B4 19 00 00 00 00 13 04 06 00 58 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BF 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 C3 E6 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 03 57 00 00 35 04 06 00 3B 6C 54 1F 1F 0D 78 43 C7 F4 8A A4 91 9E [14:34:13]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 AD D0 47 00 0C FA A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 03 57 00 00 F4 03 04 00 A6 A0 6E 66 B6 04 01 00 00 3E 86 61 40 E3 86 A2 D3 [14:34:13]CommunicateWithHost err = 0 [14:34:13]CheckOFDResponse [14:34:13]1017 (14) - 77093643461234 [14:34:13]1041 (16) - 0000000000965344 [14:34:13]1040 (4) - 22275 [14:34:13]1012 (4) - 16.06.2024 08:21 [14:34:13]1206 (1) - 0 [14:34:13]OFD Sender: Remove packet 22275 [14:34:13]ProducePacketName [14:34:13]name=ofd_packets/00022275 [14:34:13]NVStorageDeleteData [14:34:14]OFD Sender: Processing packet 22276 [packets to send 10, broken 4] [14:34:14]ProducePacketName [14:34:14]name=ofd_packets/00022276 [14:34:14]OFD Sender: To server: pG, [14:34:14]CommunicateWithHost lk.salyk.kg:30040 [14:34:14]ConnectInit lk.salyk.kg [14:34:14]Connected sock=8 [14:34:14]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 3B 01 00 00 7F 9C 33 01 42 4F 5A 03 01 00 03 00 27 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 36 30 32 34 34 31 30 31 31 32 39 32 06 04 35 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9B D0 B8 D0 BC D0 BE D0 BD D0 B0 D0 B4 20 30 2C 35 D0 BB 20 D1 81 D1 82 20 28 47 61 62 62 20 74 72 61 64 65 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 29 00 00 00 F4 03 04 00 0E E7 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 04 57 00 00 35 04 06 00 4B 45 D8 AA 03 4D 17 06 E4 90 6C 61 F3 F1 [14:34:14]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 F6 C9 47 00 30 6D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 04 57 00 00 F4 03 04 00 A7 A0 6E 66 B6 04 01 00 00 83 FE F4 8B B2 05 F9 7D [14:34:14]CommunicateWithHost err = 0 [14:34:14]CheckOFDResponse [14:34:14]1017 (14) - 77093643461234 [14:34:14]1041 (16) - 0000000000965344 [14:34:14]1040 (4) - 22276 [14:34:14]1012 (4) - 16.06.2024 08:21 [14:34:14]1206 (1) - 0 [14:34:14]OFD Sender: Remove packet 22276 [14:34:14]ProducePacketName [14:34:14]name=ofd_packets/00022276 [14:34:14]NVStorageDeleteData [14:34:15]OFD Sender: Processing packet 22277 [packets to send 9, broken 4] [14:34:15]ProducePacketName [14:34:15]name=ofd_packets/00022277 [14:34:15]OFD Sender: To server: pG, [14:34:15]CommunicateWithHost lk.salyk.kg:30040 [14:34:15]ConnectInit lk.salyk.kg [14:34:15]Connected sock=8 [14:34:15]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0F 01 00 00 39 06 07 01 7F C1 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 24 63 00 00 00 00 00 37 04 06 00 DE 1C 00 00 00 00 13 04 06 00 A6 DC 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 6C DC 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CE 4D 00 00 00 00 07 04 06 00 6C DC 02 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 70 E7 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 05 57 00 00 35 04 06 00 C2 41 1A CE C2 E8 90 CC 0F DC 56 06 FC 74 [14:34:15]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 4D 7E 47 00 4C 3C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 05 57 00 00 F4 03 04 00 A7 A0 6E 66 B6 04 01 00 00 B2 8B 19 F4 7E 4A 21 D6 [14:34:15]CommunicateWithHost err = 0 [14:34:15]CheckOFDResponse [14:34:15]1017 (14) - 77093643461234 [14:34:15]1041 (16) - 0000000000965344 [14:34:15]1040 (4) - 22277 [14:34:15]1012 (4) - 16.06.2024 08:21 [14:34:15]1206 (1) - 0 [14:34:15]OFD Sender: Remove packet 22277 [14:34:15]ProducePacketName [14:34:15]name=ofd_packets/00022277 [14:34:15]NVStorageDeleteData [14:34:15]OFD Sender: Processing packet 22278 [packets to send 8, broken 4] [14:34:15]ProducePacketName [14:34:15]name=ofd_packets/00022278 [14:34:15]OFD Sender: To server: pG, [14:34:15]CommunicateWithHost lk.salyk.kg:30040 [14:34:15]ConnectInit lk.salyk.kg [14:34:16]Connected sock=8 [14:34:16]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 42 01 00 00 ED FA 3A 01 00 E9 5A 03 01 00 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 36 33 31 31 36 32 32 32 37 31 36 33 06 04 3C 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 B3 D0 B0 D0 B7 D0 B8 D1 80 D0 BE D0 B2 D0 B0 D0 BD D0 BD D1 8B D0 B9 20 4D 6F 6A 69 74 6F 20 4C 45 4D 4F 4E 20 4C 49 4D 45 20 D0 B6 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 4B F4 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 06 57 00 00 35 04 06 00 17 FF D9 68 DE 4F 7A 3D 1A 4B BE 53 4F EF [14:34:16]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 6A 84 47 00 C2 F0 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 06 57 00 00 F4 03 04 00 A8 A0 6E 66 B6 04 01 00 00 4F A5 47 24 94 BA E6 63 [14:34:16]CommunicateWithHost err = 0 [14:34:16]CheckOFDResponse [14:34:16]1017 (14) - 77093643461234 [14:34:16]1041 (16) - 0000000000965344 [14:34:16]1040 (4) - 22278 [14:34:16]1012 (4) - 16.06.2024 08:22 [14:34:16]1206 (1) - 0 [14:34:16]OFD Sender: Remove packet 22278 [14:34:16]ProducePacketName [14:34:16]name=ofd_packets/00022278 [14:34:16]NVStorageDeleteData [14:34:16]OFD Sender: Processing packet 22279 [packets to send 7, broken 4] [14:34:16]ProducePacketName [14:34:16]name=ofd_packets/00022279 [14:34:16]OFD Sender: To server: pG, [14:34:16]CommunicateWithHost lk.salyk.kg:30040 [14:34:16]ConnectInit lk.salyk.kg [14:34:16]Connected sock=8 [14:34:16]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 2D 01 00 00 F1 B0 25 01 5B 6D 5A 03 01 00 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 39 39 36 06 04 27 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 33 33 D0 BB FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 9C 63 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 9C 63 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E2 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 94 0A 00 00 00 00 07 04 06 00 9C 63 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 F6 F4 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 07 57 00 00 35 04 06 00 59 4D AD 6E AF 93 33 6A AE 8C 91 80 7A 99 [14:34:17]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 71 CF 47 00 F9 7F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 07 57 00 00 F4 03 04 00 A9 A0 6E 66 B6 04 01 00 00 C1 E5 C3 2C 0F 3E 7C 02 [14:34:17]CommunicateWithHost err = 0 [14:34:17]CheckOFDResponse [14:34:17]1017 (14) - 77093643461234 [14:34:17]1041 (16) - 0000000000965344 [14:34:17]1040 (4) - 22279 [14:34:17]1012 (4) - 16.06.2024 08:22 [14:34:17]1206 (1) - 0 [14:34:17]OFD Sender: Remove packet 22279 [14:34:17]ProducePacketName [14:34:17]name=ofd_packets/00022279 [14:34:17]NVStorageDeleteData [14:34:17]OFD Sender: Processing packet 22280 [packets to send 6, broken 4] [14:34:17]ProducePacketName [14:34:17]name=ofd_packets/00022280 [14:34:17]OFD Sender: To server: pG, [14:34:17]CommunicateWithHost lk.salyk.kg:30040 [14:34:17]ConnectInit lk.salyk.kg [14:34:17]Connected sock=8 [14:34:17]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 B3 01 00 00 BD 29 AB 01 31 DD 5A 03 01 00 03 00 9F 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 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 2D 00 00 00 F4 03 04 00 3E F5 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 08 57 00 00 35 04 06 00 79 CA 19 99 0A E5 8E 58 94 45 5B 6D D7 ED [14:34:17]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 BC 4A 47 00 6F A1 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 08 57 00 00 F4 03 04 00 AA A0 6E 66 B6 04 01 00 00 D0 32 A2 5E DB FC 2D E8 [14:34:17]CommunicateWithHost err = 0 [14:34:17]CheckOFDResponse [14:34:17]1017 (14) - 77093643461234 [14:34:17]1041 (16) - 0000000000965344 [14:34:17]1040 (4) - 22280 [14:34:17]1012 (4) - 16.06.2024 08:22 [14:34:17]1206 (1) - 0 [14:34:17]OFD Sender: Remove packet 22280 [14:34:17]ProducePacketName [14:34:17]name=ofd_packets/00022280 [14:34:17]NVStorageDeleteData [14:34:18]OFD Sender: Processing packet 22281 [packets to send 5, broken 4] [14:34:18]ProducePacketName [14:34:18]name=ofd_packets/00022281 [14:34:18]OFD Sender: To server: pG, [14:34:18]CommunicateWithHost lk.salyk.kg:30040 [14:34:18]ConnectInit lk.salyk.kg [14:34:18]Connected sock=8 [14:34:18]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 97 01 00 00 1B 37 8F 01 48 32 5A 03 01 00 03 00 83 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 70 00 8A 04 0D 00 38 36 39 30 35 30 34 30 33 34 35 30 30 06 04 2C 00 D0 9A D0 9E D0 9C D0 91 D0 9E 20 D0 9A D0 BE D0 BD D0 B4 20 55 4C 4B 45 52 2D 41 6C 62 65 6E 69 20 34 30 67 72 20 28 36 2A 32 34 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 0D 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 1D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 42 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1D 03 00 00 00 00 07 04 06 00 4C 1D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 61 F5 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 09 57 00 00 35 04 06 00 C0 E4 4B 1D 14 44 57 7C 8E 66 E6 03 4A 11 [14:34:18]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 E5 83 47 00 46 54 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 09 57 00 00 F4 03 04 00 AB A0 6E 66 B6 04 01 00 00 D5 95 A4 66 0A E3 8C AE [14:34:18]CommunicateWithHost err = 0 [14:34:18]CheckOFDResponse [14:34:18]1017 (14) - 77093643461234 [14:34:18]1041 (16) - 0000000000965344 [14:34:18]1040 (4) - 22281 [14:34:18]1012 (4) - 16.06.2024 08:22 [14:34:18]1206 (1) - 0 [14:34:18]OFD Sender: Remove packet 22281 [14:34:18]ProducePacketName [14:34:18]name=ofd_packets/00022281 [14:34:18]NVStorageDeleteData [14:34:19]OFD Sender: No OFD packet to send [14:34:24]OFD Sender: No OFD packet to send [14:34:29]OFD Sender: No OFD packet to send [14:34:34]OFD Sender: No OFD packet to send [14:34:39]OFD Sender: No OFD packet to send [14:34:44]OFD Sender: No OFD packet to send [14:34:49]OFD Sender: No OFD packet to send [14:34:54]OFD Sender: No OFD packet to send [14:34:59]OFD Sender: No OFD packet to send [14:35:04]OFD Sender: No OFD packet to send [14:35:09]OFD Sender: No OFD packet to send [14:35:14]OFD Sender: No OFD packet to send [14:35:19]OFD Sender: No OFD packet to send [14:35:24]OFD Sender: No OFD packet to send [14:35:29]OFD Sender: No OFD packet to send [14:35:34]OFD Sender: No OFD packet to send [14:35:39]OFD Sender: No OFD packet to send [14:35:44]OFD Sender: No OFD packet to send [14:35:49]OFD Sender: No OFD packet to send [14:35:54]OFD Sender: No OFD packet to send [14:35:59]OFD Sender: No OFD packet to send [14:36:04]OFD Sender: No OFD packet to send [14:36:09]OFD Sender: No OFD packet to send [14:36:14]OFD Sender: No OFD packet to send [14:36:19]OFD Sender: No OFD packet to send [14:36:24]OFD Sender: No OFD packet to send [14:36:29]OFD Sender: No OFD packet to send [14:36:34]OFD Sender: No OFD packet to send [14:36:39]OFD Sender: No OFD packet to send [14:36:44]OFD Sender: No OFD packet to send [14:36:49]OFD Sender: No OFD packet to send [14:36:54]OFD Sender: No OFD packet to send [14:36:59]OFD Sender: No OFD packet to send [14:37:04]OFD Sender: No OFD packet to send [14:37:09]OFD Sender: No OFD packet to send [14:37:14]OFD Sender: No OFD packet to send [14:37:19]OFD Sender: No OFD packet to send [14:37:24]OFD Sender: No OFD packet to send [14:37:29]OFD Sender: No OFD packet to send [14:37:34]OFD Sender: No OFD packet to send [14:37:39]OFD Sender: No OFD packet to send [14:37:44]OFD Sender: No OFD packet to send [14:37:49]OFD Sender: No OFD packet to send [14:37:54]OFD Sender: No OFD packet to send [14:37:59]OFD Sender: No OFD packet to send [14:38:04]OFD Sender: No OFD packet to send [14:38:09]OFD Sender: No OFD packet to send [14:38:14]OFD Sender: No OFD packet to send [14:38:19]OFD Sender: No OFD packet to send [14:38:24]OFD Sender: No OFD packet to send [14:38:29]OFD Sender: No OFD packet to send [14:38:34]OFD Sender: No OFD packet to send [14:38:39]OFD Sender: No OFD packet to send [14:38:44]OFD Sender: No OFD packet to send [14:38:49]OFD Sender: No OFD packet to send [14:38:54]OFD Sender: No OFD packet to send [14:38:59]OFD Sender: No OFD packet to send [14:39:04]OFD Sender: No OFD packet to send [14:39:09]OFD Sender: No OFD packet to send [14:39:14]OFD Sender: No OFD packet to send [14:39:19]OFD Sender: No OFD packet to send [14:39:21]accept exits with 10 [14:39:21]New connection [14:39:21]New thread 3066838372 created [14:39:21]Thread 3066695012 joined [14:39:21]Waiting for new connection... [14:39:21] Sock 10.Parse request [14:39:21]Sock 10.Check first char [14:39:21]Sock 10.First char is OK [14:39:21]request: POST /json_proto HTTP/1.0 [14:39:21]Method: POST [14:39:21]URL: /json_proto [14:39:21]Method is POST - this is cgi request [14:39:21]url: /json_proto [14:39:21]query_string will be loaded in cgi processing [14:39:21]execute_cgi json_proto POST (null) [14:39:21]execute_cgi path=json_proto method=POST [14:39:21]POST find Content-Length [14:39:21]Host: 172.17.35.133:8080 [14:39:21]Content-Length: 843 [14:39:21]Content-Type: application/json [14:39:21] [14:39:21]POST finish read [14:39:21]Found Content-Length = 843 [14:39:21]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254494", "tax_sys" : 0, "items" : [ { "code": "4607065001445", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A Snickers 50,5\u0433", "price" : 59.00, "quantity" : 1.000, "sum" : 59.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "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" : 59.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:39:21]execute_script... [14:39: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)254494", "tax_sys" : 0, "items" : [ { "code": "4607065001445", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A Snickers 50,5\u0433", "price" : 59.00, "quantity" : 1.000, "sum" : 59.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "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" : 59.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:39:21]POST & json_proto [14:39:21]process_json_proto [14:39:21]json parsed OK: [14:39:21]protocol is kg_v1.0 [14:39:21]action value=close_receipt [14:39:21]process_action close_receipt [14:39:21]cmd_close_receipt [14:39:21]MH_GetDate [14:39:21]Write to MH i2c: F0 00 00 4E 26 63 [14:39:21]Write i2c OK [14:39:21]MH_I2C_Read... [14:39:21]Read from MH i2c: F0 [14:39:21]MH_I2C_Read... [14:39:21]Read from MH i2c: F0 09 00 [14:39:21]MH_I2C_Read... [14:39:21]Read from MH i2c: F0 09 00 4E 26 00 22 F9 6E 66 8C 55 28 65 C9 [14:39:21]GetLastDocTimeStamp 1718547809 [14:39:21]current date 1718548770 [14:39:21]FM_GetShiftState [14:39:21]SAM_PROTO_GetShiftState [14:39:21]wFMCommunicate request_size=4 [14:39:21]MH_SAM_APDU [14:39:21]CAPDU: 80 13 01 00 [14:39:21]Write to MH i2c: E2 08 00 4F 26 80 13 01 00 00 00 00 00 F2 [14:39:21]Write i2c OK [14:39:21]MH_I2C_Read... [14:39:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:39:21]Read from MH i2c: E2 [14:39:21]MH_I2C_Read... [14:39:21]Read from MH i2c: E2 0E 00 [14:39:21]MH_I2C_Read... [14:39:21]Read from MH i2c: E2 0E 00 4F 26 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 13 [14:39:21]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [14:39:21]wFMCommunicate OK [14:39:21]SAM_PROTO_GetShiftState done [14:39:21]FM_GetShiftState done [14:39:21]opened in 1718497297 [14:39:21]opened+sec_in_day 1718583697 [14:39:21]quantity*price = 5900 [14:39:21]sum+1 = 5901 [14:39:21]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 59.00 НСП 1% : 0.52 НДС 12% : 6.26 Наличными: 0.00 Безнал.: 59.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 47 16.06.2024 14:39 Смена: 327 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000965344 ФД: 22282 ФПД: 145312214990763 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T143930&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22282&fm=145312214990763&tin=02508201610067®Number=0000000000099755&sum=5900 0 [14:39:22]StoreToDocumentArchive [14:39:22]shift 327 fd 22282 [14:39:22]save to /storage/0327/doc_00022282 [14:39:22]save last doc name /storage/0327/doc_00022282 to /storage/kkm_last_doc_name [14:39:22]save OK [14:39:22]Clear old archive folders... [14:39:22]ProcessDocumentItem done err = 0, tmpTLVsize=281 [14:39:22]tlvbuf is 00260DF0 [14:39:22]SAM_PROTO_ClearQueue [14:39:22]wFMCommunicate request_size=4 [14:39:22]MH_SAM_APDU [14:39:22]CAPDU: 80 09 00 00 [14:39:22]Write to MH i2c: E2 08 00 5C 26 80 09 00 00 00 00 00 00 F4 [14:39:22]Write i2c OK [14:39:22]MH_I2C_Read... [14:39:23]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:39:23]Read from MH i2c: E2 [14:39:23]MH_I2C_Read... [14:39:23]Read from MH i2c: E2 03 00 [14:39:23]MH_I2C_Read... [14:39:23]Read from MH i2c: E2 03 00 5C 26 00 90 00 F6 [14:39:23]RAPDU: 90 00 [14:39:23]wFMCommunicate OK [14:39:23]SAM_PROTO_ClearQueue done [14:39:23]KKMCreateOFDPacket [14:39:23]OFDProtocolAddRootSTLVToBuf [14:39:23]FM_MakeSignedData [14:39:23]FM_MakeSignedData [14:39:23]SAM_PROTO_SignData [14:39:23]wFMCommunicate request_size=4 [14:39:23]MH_SAM_APDU [14:39:23]CAPDU: 80 0D 01 02 [14:39:23]Write to MH i2c: E2 08 00 5D 26 80 0D 01 02 00 00 00 00 FC [14:39:23]Write i2c OK [14:39:23]MH_I2C_Read... [14:39:23]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:39:23]Read from MH i2c: E2 [14:39:23]MH_I2C_Read... [14:39:23]Read from MH i2c: E2 03 00 [14:39:23]MH_I2C_Read... [14:39:23]Read from MH i2c: E2 03 00 5D 26 00 90 00 F7 [14:39:23]RAPDU: 90 00 [14:39:23]wFMCommunicate OK [14:39:23]wFMCommunicate request_size=255 [14:39:23]MH_SAM_APDU [14:39:23]CAPDU: 80 0D 02 02 FA 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 0C 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 34 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 72 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 0C 17 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2F 00 00 00 F4 03 04 00 22 F9 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 [14:39:23]Write to MH i2c: E2 02 01 5E 26 80 0D 02 02 FA 00 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 0C 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 34 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 72 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 0C 17 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2F 00 00 00 F4 03 04 00 22 F9 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 00 F9 [14:39:23]Write i2c OK [14:39:23]MH_I2C_Read... [14:39:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:39:23]Read from MH i2c: E2 [14:39:23]MH_I2C_Read... [14:39:23]Read from MH i2c: E2 03 00 [14:39:23]MH_I2C_Read... [14:39:23]Read from MH i2c: E2 03 00 5E 26 00 90 00 F8 [14:39:23]RAPDU: 90 00 [14:39:23]wFMCommunicate OK [14:39:23]wFMCommunicate request_size=40 [14:39:23]MH_SAM_APDU [14:39:23]CAPDU: 80 0D 02 02 23 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 0A 57 00 00 35 04 06 00 84 29 22 F4 BF AB [14:39:23]Write to MH i2c: E2 2B 00 5F 26 80 0D 02 02 23 00 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 0A 57 00 00 35 04 06 00 84 29 22 F4 BF AB 00 00 49 [14:39:23]Write i2c OK [14:39:23]MH_I2C_Read... [14:39:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:39:23]Read from MH i2c: E2 [14:39:23]MH_I2C_Read... [14:39:23]Read from MH i2c: E2 03 00 [14:39:23]MH_I2C_Read... [14:39:23]Read from MH i2c: E2 03 00 5F 26 00 90 00 F9 [14:39:23]RAPDU: 90 00 [14:39:23]wFMCommunicate OK [14:39:23]wFMCommunicate request_size=4 [14:39:23]MH_SAM_APDU [14:39:23]CAPDU: 80 0D 03 02 [14:39:23]Write to MH i2c: E2 08 00 60 26 80 0D 03 02 00 00 00 00 01 [14:39:23]Write i2c OK [14:39:23]MH_I2C_Read... [14:39:23]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:39:23]Read from MH i2c: E2 [14:39:23]MH_I2C_Read... [14:39:23]Read from MH i2c: E2 0B 00 [14:39:23]MH_I2C_Read... [14:39:23]Read from MH i2c: E2 0B 00 60 26 00 FC AA 92 07 22 60 6B 5F 90 00 8D [14:39:23]RAPDU: FC AA 92 07 22 60 6B 5F 90 00 [14:39:23]wFMCommunicate OK [14:39:23]SAM_PROTO_SignData done [14:39:23]FM_MakeSignedData done [14:39:23]CreateOFDProtocolMessage [14:39:23]wFMCommunicate request_size=4 [14:39:23]MH_SAM_APDU [14:39:23]CAPDU: 80 11 00 00 [14:39:23]Write to MH i2c: E2 08 00 61 26 80 11 00 00 00 00 00 00 01 [14:39:23]Write i2c OK [14:39:23]MH_I2C_Read... [14:39:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:39:23]Read from MH i2c: E2 [14:39:23]MH_I2C_Read... [14:39:23]Read from MH i2c: E2 17 00 [14:39:23]MH_I2C_Read... [14:39:23]Read from MH i2c: E2 17 00 61 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 53 [14:39:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [14:39:23]wFMCommunicate OK [14:39:23]CreateOFDProtocolMessage done [14:39:23]OFDSenderStorePacket 22282 [14:39:23]StoreOFDPacket docnum=22282 [14:39:23]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 2D 01 00 00 13 25 25 01 D0 FA 5A 03 01 00 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 0C 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 34 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 72 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 0C 17 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2F 00 00 00 F4 03 04 00 22 F9 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 0A 57 00 00 35 04 06 00 84 29 22 F4 BF AB FC AA 92 07 22 60 6B 5F [14:39:23]CheckFolder [14:39:23]dirname=/storage/ofd_packets [14:39:23]CheckFolder done [14:39:23]ProducePacketName [14:39:23]name=ofd_packets/00022282 [14:39:23]NVStorageSaveData ofd_packets/00022282 [14:39:23]File name is /storage/ofd_packets/00022282 [14:39:23]Write 331 bytes [14:39:23]NVStorageSaveData done [14:39:23]OFDSenderStorePacket done [14:39:23]KKMCreateOFDPacket done [14:39:23]NVStorageSaveData kkm_last_timestamp [14:39:23]File name is /storage/kkm_last_timestamp [14:39:23]Write 4 bytes [14:39:23]NVStorageSaveData done [14:39:23]ExternCall_PrintAddStr [14:39:23]wPrintStart [14:39:23]Write to MH i2c: 01 00 00 62 26 88 [14:39:23]Write i2c OK [14:39:23]MH_I2C_Read... [14:39:23]Read from MH i2c: 01 [14:39:23]MH_I2C_Read... [14:39:23]Read from MH i2c: 01 07 00 [14:39:23]MH_I2C_Read... [14:39:23]Read from MH i2c: 01 07 00 62 26 00 00 00 00 00 FF 0F 9D [14:39:23]RasterBufferAndPrint [14:39:23]line Счет N : (3)254494 [14:39:23]line ИНН: 02508201610067 [14:39:23]line Контрольно-Кассовый Чек [14:39:23]line ПРОДАЖА [14:39:23]line Товар: 4607065001445 [14:39:23]line Шок батончик Snickers 50,5г [14:39:23]line 1.000 * 59.00 [14:39:23]line = 59.00 [14:39:23]line НДС 12% НСП 1% [14:39:23]line > о реализуемом товаре [14:39:23]line ИТОГО: 59.00 [14:39:23]line НСП 1% : 0.52 [14:39:23]line НДС 12% : 6.26 [14:39:23]line Наличными: 0.00 [14:39:23]line Безнал.: 59.00 [14:39:23]line Место: АЗС № 76 "Партнер Нефть" [14:39:23]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [14:39:23]line СНО: Общий режим [14:39:23]line Чек 47 16.06.2024 14:39 [14:39:23]line Смена: 327 ФФД: 1.0 [14:39:23]line ЗНМ: 0300000200 [14:39:23]line РНМ: 0000000000099755 [14:39:23]line Версия ККМ: 001 [14:39:23]line Платежная система: АКБ Кыргызстан [14:39:23]line ФМ: 0000000000965344 [14:39:23]line ФД: 22282 [14:39:23]line ФПД: 145312214990763 [14:39:23]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T143930&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22282&fm=145312214990763&tin=02508201610067®Number=0000000000099755&sum=5900 [14:39:23]line 0 [14:39:23]OFD Sender: Processing packet 22282 [packets to send 5, broken 4] [14:39:23]ProducePacketName [14:39:23]name=ofd_packets/00022282 [14:39:23]OFD Sender: To server: pG, [14:39:23]CommunicateWithHost lk.salyk.kg:30040 [14:39:23]ConnectInit lk.salyk.kg [14:39:23]written 0, free lines is 4095 [14:39:23]Connected sock=11 [14:39:23]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 2D 01 00 00 13 25 25 01 D0 FA 5A 03 01 00 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 0C 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 34 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 72 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 0C 17 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2F 00 00 00 F4 03 04 00 22 F9 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 0A 57 00 00 35 04 06 00 84 29 22 F4 BF AB FC AA 92 07 22 60 6B 5F [14:39:24]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 7B CF 47 00 20 7B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 0A 57 00 00 F4 03 04 00 DC A1 6E 66 B6 04 01 00 00 14 8A D9 EE 05 63 13 44 [14:39:24]CommunicateWithHost err = 0 [14:39:24]CheckOFDResponse [14:39:24]1017 (14) - 77093643461234 [14:39:24]1041 (16) - 0000000000965344 [14:39:24]1040 (4) - 22282 [14:39:24]1012 (4) - 16.06.2024 08:27 [14:39:24]1206 (1) - 0 [14:39:24]OFD Sender: Remove packet 22282 [14:39:24]ProducePacketName [14:39:24]name=ofd_packets/00022282 [14:39:24]NVStorageDeleteData [14:39:24]Write to MH i2c: 01 00 00 8C 26 B2 [14:39:24]Write i2c OK [14:39:24]MH_I2C_Read... [14:39:24]Read from MH i2c: 01 [14:39:24]MH_I2C_Read... [14:39:24]Read from MH i2c: 01 07 00 [14:39:24]MH_I2C_Read... [14:39:24]Read from MH i2c: 01 07 00 8C 26 00 00 00 00 00 07 0D CD [14:39:24]RasterBufferAndPrint [14:39:24]line [14:39:24]line [14:39:24]line [14:39:24]line [14:39:24]line [14:39:24]written 0, free lines is 3341 [14:39:24]MH_Cut [14:39:24]Write to MH i2c: D1 01 00 93 26 01 8B [14:39:24]Write i2c OK [14:39:24]MH_I2C_Read... [14:39:24]Read from MH i2c: D1 [14:39:24]MH_I2C_Read... [14:39:24]Read from MH i2c: D1 01 00 [14:39:24]MH_I2C_Read... [14:39:24]Read from MH i2c: D1 01 00 93 26 00 8A [14:39:24]Write to MH i2c: 01 00 00 94 26 BA [14:39:24]Write i2c OK [14:39:24]MH_I2C_Read... [14:39:24]OFD Sender: No OFD packet to send [14:39:24]*** Cut start [14:39:24]*** Partial cut [14:39:24]*** CUTSNS_PIN = 1 [14:39:25]*** CUTSNS_PIN = 0 [14:39:25]*** Brake cut motor [14:39:25]Read from MH i2c: 01 [14:39:25]MH_I2C_Read... [14:39:25]*** Stop cut motor [14:39:25]*** Cut end [14:39:25]Read from MH i2c: 01 07 00 [14:39:25]MH_I2C_Read... [14:39:25]Read from MH i2c: 01 07 00 94 26 00 00 00 00 00 FF 0F CF [14:39:25]process_action close_receipt done [14:39:25]requested_data is exist [14:39:25]produce_requested_data [14:39:25]requested_item fm.sn is exist - process it [14:39:25]wFMCommunicate request_size=4 [14:39:25]MH_SAM_APDU [14:39:25]CAPDU: 80 11 00 00 [14:39:25]Write to MH i2c: E2 08 00 95 26 80 11 00 00 00 00 00 00 35 [14:39:25]Write i2c OK [14:39:25]MH_I2C_Read... [14:39:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:39:25]Read from MH i2c: E2 [14:39:25]MH_I2C_Read... [14:39:25]Read from MH i2c: E2 17 00 [14:39:25]MH_I2C_Read... [14:39:25]Read from MH i2c: E2 17 00 95 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 87 [14:39:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [14:39:25]wFMCommunicate OK [14:39:25]requested_item fd.num is exist - process it [14:39:25]SAM_PROTO_GetFieldsCounters [14:39:25]wFMCommunicate request_size=4 [14:39:25]MH_SAM_APDU [14:39:25]CAPDU: 80 13 00 00 [14:39:25]Write to MH i2c: E2 08 00 96 26 80 13 00 00 00 00 00 00 38 [14:39:25]Write i2c OK [14:39:25]MH_I2C_Read... [14:39:25]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:39:25]Read from MH i2c: E2 [14:39:25]MH_I2C_Read... [14:39:25]Read from MH i2c: E2 62 00 [14:39:25]MH_I2C_Read... [14:39:25]Read from MH i2c: E2 62 00 96 26 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 0A 57 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 2F 00 00 00 5E 04 04 00 2F 00 00 00 57 04 04 00 30 00 00 00 19 04 04 00 00 00 00 00 90 00 98 [14:39:25]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 0A 57 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 2F 00 00 00 5E 04 04 00 2F 00 00 00 57 04 04 00 30 00 00 00 19 04 04 00 00 00 00 00 90 00 [14:39:25]wFMCommunicate OK [14:39:25]SAM_PROTO_GetFieldsCounters done [14:39:25]requested_item shift.num is exist - process it [14:39:25]requested_item shift.opened is exist - process it [14:39:25]req_shift_opened [14:39:25]FM_GetShiftState [14:39:25]SAM_PROTO_GetShiftState [14:39:25]wFMCommunicate request_size=4 [14:39:25]MH_SAM_APDU [14:39:25]CAPDU: 80 13 01 00 [14:39:25]Write to MH i2c: E2 08 00 97 26 80 13 01 00 00 00 00 00 3A [14:39:25]Write i2c OK [14:39:25]MH_I2C_Read... [14:39:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:39:25]Read from MH i2c: E2 [14:39:25]MH_I2C_Read... [14:39:25]Read from MH i2c: E2 0E 00 [14:39:25]MH_I2C_Read... [14:39:25]Read from MH i2c: E2 0E 00 97 26 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 5B [14:39:25]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [14:39:25]wFMCommunicate OK [14:39:25]SAM_PROTO_GetShiftState done [14:39:25]FM_GetShiftState done [14:39:25]req_shift_opened done [14:39:25]requested_item shift.open_date is exist - process it [14:39:25]req_shift_open_date [14:39:25]req_shift_open_date done [14:39:25]produce_requested_data done [14:39:25]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22282,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297} [14:39:25]process_action_free close_receipt [14:39:25]json_value_free [14:39:25]json_value_free done [14:39:25]process_json_proto returns [14:39:25]Send response to host [14:39:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22282,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297}}} [14:39:25]free response buf [14:39:25]execute_script done [14:39:25]execute_script returns [14:39:25]free content buf [14:39:25]Sock 10.Close socket [14:39:25]Sock 10.Thread stoped [14:39:29]OFD Sender: No OFD packet to send [14:39:34]OFD Sender: No OFD packet to send [14:39:39]OFD Sender: No OFD packet to send [14:39:44]OFD Sender: No OFD packet to send [14:39:49]OFD Sender: No OFD packet to send [14:39:54]OFD Sender: No OFD packet to send [14:39:59]OFD Sender: No OFD packet to send [14:40:04]OFD Sender: No OFD packet to send [14:40:09]OFD Sender: No OFD packet to send [14:40:14]OFD Sender: No OFD packet to send [14:40:19]OFD Sender: No OFD packet to send [14:40:24]OFD Sender: No OFD packet to send [14:40:29]OFD Sender: No OFD packet to send [14:40:34]OFD Sender: No OFD packet to send [14:40:39]OFD Sender: No OFD packet to send [14:40:44]OFD Sender: No OFD packet to send [14:40:49]OFD Sender: No OFD packet to send [14:40:54]OFD Sender: No OFD packet to send [14:40:59]OFD Sender: No OFD packet to send [14:41:04]OFD Sender: No OFD packet to send [14:41:09]OFD Sender: No OFD packet to send [14:41:14]OFD Sender: No OFD packet to send [14:41:19]OFD Sender: No OFD packet to send [14:41:24]OFD Sender: No OFD packet to send [14:41:29]OFD Sender: No OFD packet to send [14:41:34]OFD Sender: No OFD packet to send [14:41:39]OFD Sender: No OFD packet to send [14:41:44]OFD Sender: No OFD packet to send [14:41:49]OFD Sender: No OFD packet to send [14:41:54]OFD Sender: No OFD packet to send [14:41:59]OFD Sender: No OFD packet to send [14:42:04]OFD Sender: No OFD packet to send [14:42:09]OFD Sender: No OFD packet to send [14:42:14]OFD Sender: No OFD packet to send [14:42:19]OFD Sender: No OFD packet to send [14:42:24]OFD Sender: No OFD packet to send [14:42:29]OFD Sender: No OFD packet to send [14:42:34]OFD Sender: No OFD packet to send [14:42:39]OFD Sender: No OFD packet to send [14:42:44]OFD Sender: No OFD packet to send [14:42:49]OFD Sender: No OFD packet to send [14:42:54]OFD Sender: No OFD packet to send [14:42:59]OFD Sender: No OFD packet to send [14:43:04]OFD Sender: No OFD packet to send [14:43:09]OFD Sender: No OFD packet to send [14:43:14]OFD Sender: No OFD packet to send [14:43:19]OFD Sender: No OFD packet to send [14:43:24]OFD Sender: No OFD packet to send [14:43:29]OFD Sender: No OFD packet to send [14:43:34]OFD Sender: No OFD packet to send [14:43:39]OFD Sender: No OFD packet to send [14:43:44]OFD Sender: No OFD packet to send [14:43:49]OFD Sender: No OFD packet to send [14:43:54]OFD Sender: No OFD packet to send [14:43:59]OFD Sender: No OFD packet to send [14:44:04]OFD Sender: No OFD packet to send [14:44:09]OFD Sender: No OFD packet to send [14:44:14]OFD Sender: No OFD packet to send [14:44:19]OFD Sender: No OFD packet to send [14:44:24]OFD Sender: No OFD packet to send [14:44:29]OFD Sender: No OFD packet to send [14:44:34]OFD Sender: No OFD packet to send [14:44:39]OFD Sender: No OFD packet to send [14:44:44]OFD Sender: No OFD packet to send [14:44:49]OFD Sender: No OFD packet to send [14:44:54]OFD Sender: No OFD packet to send [14:44:59]OFD Sender: No OFD packet to send [14:45:04]OFD Sender: No OFD packet to send [14:45:09]OFD Sender: No OFD packet to send [14:45:14]OFD Sender: No OFD packet to send [14:45:19]OFD Sender: No OFD packet to send [14:45:24]OFD Sender: No OFD packet to send [14:45:29]OFD Sender: No OFD packet to send [14:45:34]OFD Sender: No OFD packet to send [14:45:39]OFD Sender: No OFD packet to send [14:45:45]OFD Sender: No OFD packet to send [14:45:50]OFD Sender: No OFD packet to send [14:45:55]OFD Sender: No OFD packet to send [14:46:00]OFD Sender: No OFD packet to send [14:46:05]OFD Sender: No OFD packet to send [14:46:10]OFD Sender: No OFD packet to send [14:46:15]OFD Sender: No OFD packet to send [14:46:20]OFD Sender: No OFD packet to send [14:46:25]OFD Sender: No OFD packet to send [14:46:30]OFD Sender: No OFD packet to send [14:46:35]OFD Sender: No OFD packet to send [14:46:40]OFD Sender: No OFD packet to send [14:46:45]OFD Sender: No OFD packet to send [14:46:50]OFD Sender: No OFD packet to send [14:46:55]OFD Sender: No OFD packet to send [14:47:00]OFD Sender: No OFD packet to send [14:47:05]OFD Sender: No OFD packet to send [14:47:10]OFD Sender: No OFD packet to send [14:47:15]OFD Sender: No OFD packet to send [14:47:20]OFD Sender: No OFD packet to send [14:47:25]OFD Sender: No OFD packet to send [14:47:30]OFD Sender: No OFD packet to send [14:47:35]OFD Sender: No OFD packet to send [14:47:40]OFD Sender: No OFD packet to send [14:47:45]OFD Sender: No OFD packet to send [14:47:50]OFD Sender: No OFD packet to send [14:47:55]OFD Sender: No OFD packet to send [14:48:00]OFD Sender: No OFD packet to send [14:48:05]OFD Sender: No OFD packet to send [14:48:10]OFD Sender: No OFD packet to send [14:48:15]OFD Sender: No OFD packet to send [14:48:20]OFD Sender: No OFD packet to send [14:48:25]OFD Sender: No OFD packet to send [14:48:30]OFD Sender: No OFD packet to send [14:48:35]OFD Sender: No OFD packet to send [14:48:40]OFD Sender: No OFD packet to send [14:48:45]OFD Sender: No OFD packet to send [14:48:50]OFD Sender: No OFD packet to send [14:48:55]OFD Sender: No OFD packet to send [14:49:00]OFD Sender: No OFD packet to send [14:49:05]OFD Sender: No OFD packet to send [14:49:10]OFD Sender: No OFD packet to send [14:49:15]OFD Sender: No OFD packet to send [14:49:20]OFD Sender: No OFD packet to send [14:49:25]OFD Sender: No OFD packet to send [14:49:30]OFD Sender: No OFD packet to send [14:49:35]OFD Sender: No OFD packet to send [14:49:40]OFD Sender: No OFD packet to send [14:49:45]OFD Sender: No OFD packet to send [14:49:50]OFD Sender: No OFD packet to send [14:49:55]OFD Sender: No OFD packet to send [14:50:00]OFD Sender: No OFD packet to send [14:50:05]OFD Sender: No OFD packet to send [14:50:10]OFD Sender: No OFD packet to send [14:50:15]OFD Sender: No OFD packet to send [14:50:20]OFD Sender: No OFD packet to send [14:50:25]OFD Sender: No OFD packet to send [14:50:30]OFD Sender: No OFD packet to send [14:50:35]OFD Sender: No OFD packet to send [14:50:40]OFD Sender: No OFD packet to send [14:50:45]OFD Sender: No OFD packet to send [14:50:50]OFD Sender: No OFD packet to send [14:50:55]OFD Sender: No OFD packet to send [14:51:00]OFD Sender: No OFD packet to send [14:51:05]OFD Sender: No OFD packet to send [14:51:10]OFD Sender: No OFD packet to send [14:51:15]OFD Sender: No OFD packet to send [14:51:20]OFD Sender: No OFD packet to send [14:51:25]OFD Sender: No OFD packet to send [14:51:30]OFD Sender: No OFD packet to send [14:51:35]OFD Sender: No OFD packet to send [14:51:40]OFD Sender: No OFD packet to send [14:51:45]OFD Sender: No OFD packet to send [14:51:50]OFD Sender: No OFD packet to send [14:51:55]OFD Sender: No OFD packet to send [14:52:00]OFD Sender: No OFD packet to send [14:52:05]OFD Sender: No OFD packet to send [14:52:10]OFD Sender: No OFD packet to send [14:52:15]OFD Sender: No OFD packet to send [14:52:20]OFD Sender: No OFD packet to send [14:52:25]OFD Sender: No OFD packet to send [14:52:30]OFD Sender: No OFD packet to send [14:52:35]OFD Sender: No OFD packet to send [14:52:40]OFD Sender: No OFD packet to send [14:52:45]OFD Sender: No OFD packet to send [14:52:50]OFD Sender: No OFD packet to send [14:52:55]OFD Sender: No OFD packet to send [14:53:00]OFD Sender: No OFD packet to send [14:53:05]OFD Sender: No OFD packet to send [14:53:10]OFD Sender: No OFD packet to send [14:53:15]OFD Sender: No OFD packet to send [14:53:20]OFD Sender: No OFD packet to send [14:53:25]OFD Sender: No OFD packet to send [14:53:30]OFD Sender: No OFD packet to send [14:53:35]OFD Sender: No OFD packet to send [14:53:40]OFD Sender: No OFD packet to send [14:53:45]OFD Sender: No OFD packet to send [14:53:50]OFD Sender: No OFD packet to send [14:53:55]OFD Sender: No OFD packet to send [14:54:00]OFD Sender: No OFD packet to send [14:54:05]OFD Sender: No OFD packet to send [14:54:10]OFD Sender: No OFD packet to send [14:54:15]OFD Sender: No OFD packet to send [14:54:20]OFD Sender: No OFD packet to send [14:54:25]OFD Sender: No OFD packet to send [14:54:30]OFD Sender: No OFD packet to send [14:54:35]OFD Sender: No OFD packet to send [14:54:40]OFD Sender: No OFD packet to send [14:54:45]OFD Sender: No OFD packet to send [14:54:50]OFD Sender: No OFD packet to send [14:54:55]OFD Sender: No OFD packet to send [14:55:00]OFD Sender: No OFD packet to send [14:55:05]OFD Sender: No OFD packet to send [14:55:10]OFD Sender: No OFD packet to send [14:55:15]OFD Sender: No OFD packet to send [14:55:20]OFD Sender: No OFD packet to send [14:55:25]OFD Sender: No OFD packet to send [14:55:30]OFD Sender: No OFD packet to send [14:55:35]OFD Sender: No OFD packet to send [14:55:40]OFD Sender: No OFD packet to send [14:55:45]OFD Sender: No OFD packet to send [14:55:50]OFD Sender: No OFD packet to send [14:55:55]OFD Sender: No OFD packet to send [14:56:00]OFD Sender: No OFD packet to send [14:56:05]OFD Sender: No OFD packet to send [14:56:10]OFD Sender: No OFD packet to send [14:56:15]OFD Sender: No OFD packet to send [14:56:20]OFD Sender: No OFD packet to send [14:56:25]OFD Sender: No OFD packet to send [14:56:30]OFD Sender: No OFD packet to send [14:56:35]OFD Sender: No OFD packet to send [14:56:40]OFD Sender: No OFD packet to send [14:56:45]OFD Sender: No OFD packet to send [14:56:50]OFD Sender: No OFD packet to send [14:56:55]OFD Sender: No OFD packet to send [14:56:56]accept exits with 8 [14:56:56]New connection [14:56:56]New thread 3066695012 created [14:56:56]Thread 3066838372 joined [14:56:56]Waiting for new connection... [14:56:56] Sock 8.Parse request [14:56:56]Sock 8.Check first char [14:56:56]Sock 8.First char is OK [14:56:56]request: POST /json_proto HTTP/1.0 [14:56:56]Method: POST [14:56:56]URL: /json_proto [14:56:56]Method is POST - this is cgi request [14:56:56]url: /json_proto [14:56:56]query_string will be loaded in cgi processing [14:56:56]execute_cgi json_proto POST (null) [14:56:56]execute_cgi path=json_proto method=POST [14:56:56]POST find Content-Length [14:56:56]Host: 172.17.35.133:8080 [14:56:56]Content-Length: 742 [14:56:56]Content-Type: application/json [14:56:56] [14:56:56]POST finish read [14:56:56]Found Content-Length = 742 [14:56:56]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254495", "tax_sys" : 0, "items" : [ { "code": "4630056952563", "name": "\u041F\u0435\u0447 \u042E\u0431\u0438\u043B\u0435\u0439\u043D\u043E\u0435 \u0422\u043E\u0440\u0436\u0435\u0441\u0442\u0432\u043E \u043C\u043E\u043B\u043E\u0447\u043D\u043E\u0435 120\u0433", "price" : 59.00, "quantity" : 1.000, "sum" : 59.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 59.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:56:56]execute_script... [14:56:56]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254495", "tax_sys" : 0, "items" : [ { "code": "4630056952563", "name": "\u041F\u0435\u0447 \u042E\u0431\u0438\u043B\u0435\u0439\u043D\u043E\u0435 \u0422\u043E\u0440\u0436\u0435\u0441\u0442\u0432\u043E \u043C\u043E\u043B\u043E\u0447\u043D\u043E\u0435 120\u0433", "price" : 59.00, "quantity" : 1.000, "sum" : 59.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 59.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:56:56]POST & json_proto [14:56:56]process_json_proto [14:56:56]json parsed OK: [14:56:56]protocol is kg_v1.0 [14:56:56]action value=close_receipt [14:56:56]process_action close_receipt [14:56:56]cmd_close_receipt [14:56:56]MH_GetDate [14:56:56]Write to MH i2c: F0 00 00 98 26 AD [14:56:56]Write i2c OK [14:56:56]MH_I2C_Read... [14:56:56]Read from MH i2c: F0 [14:56:56]MH_I2C_Read... [14:56:56]Read from MH i2c: F0 09 00 [14:56:56]MH_I2C_Read... [14:56:56]Read from MH i2c: F0 09 00 98 26 00 41 FD 6E 66 8C 55 28 65 36 [14:56:56]GetLastDocTimeStamp 1718548770 [14:56:56]current date 1718549825 [14:56:56]FM_GetShiftState [14:56:56]SAM_PROTO_GetShiftState [14:56:56]wFMCommunicate request_size=4 [14:56:56]MH_SAM_APDU [14:56:56]CAPDU: 80 13 01 00 [14:56:56]Write to MH i2c: E2 08 00 99 26 80 13 01 00 00 00 00 00 3C [14:56:56]Write i2c OK [14:56:56]MH_I2C_Read... [14:56:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:56:56]Read from MH i2c: E2 [14:56:56]MH_I2C_Read... [14:56:56]Read from MH i2c: E2 0E 00 [14:56:56]MH_I2C_Read... [14:56:56]Read from MH i2c: E2 0E 00 99 26 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 5D [14:56:56]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [14:56:56]wFMCommunicate OK [14:56:56]SAM_PROTO_GetShiftState done [14:56:56]FM_GetShiftState done [14:56:56]opened in 1718497297 [14:56:56]opened+sec_in_day 1718583697 [14:56:56]quantity*price = 5900 [14:56:56]sum+1 = 5901 [14:56:56]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 59.00 НСП 1% : 0.52 НДС 12% : 6.26 Наличными: 59.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 48 16.06.2024 14:57 Смена: 327 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22283 ФПД: 69589938503175 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T145705&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22283&fm=69589938503175&tin=02508201610067®Number=0000000000099755&sum=5900 0 [14:56:57]StoreToDocumentArchive [14:56:57]shift 327 fd 22283 [14:56:57]save to /storage/0327/doc_00022283 [14:56:57]save last doc name /storage/0327/doc_00022283 to /storage/kkm_last_doc_name [14:56:57]save OK [14:56:57]Clear old archive folders... [14:56:57]ProcessDocumentItem done err = 0, tmpTLVsize=309 [14:56:57]tlvbuf is 001D8EA0 [14:56:57]SAM_PROTO_ClearQueue [14:56:57]wFMCommunicate request_size=4 [14:56:57]MH_SAM_APDU [14:56:57]CAPDU: 80 09 00 00 [14:56:57]Write to MH i2c: E2 08 00 A6 26 80 09 00 00 00 00 00 00 3E [14:56:57]Write i2c OK [14:56:57]MH_I2C_Read... [14:56:57]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:56:57]Read from MH i2c: E2 [14:56:57]MH_I2C_Read... [14:56:57]Read from MH i2c: E2 03 00 [14:56:57]MH_I2C_Read... [14:56:57]Read from MH i2c: E2 03 00 A6 26 00 90 00 40 [14:56:57]RAPDU: 90 00 [14:56:57]wFMCommunicate OK [14:56:57]SAM_PROTO_ClearQueue done [14:56:57]KKMCreateOFDPacket [14:56:57]OFDProtocolAddRootSTLVToBuf [14:56:57]FM_MakeSignedData [14:56:57]FM_MakeSignedData [14:56:57]SAM_PROTO_SignData [14:56:57]wFMCommunicate request_size=4 [14:56:57]MH_SAM_APDU [14:56:57]CAPDU: 80 0D 01 02 [14:56:57]Write to MH i2c: E2 08 00 A7 26 80 0D 01 02 00 00 00 00 46 [14:56:57]Write i2c OK [14:56:57]MH_I2C_Read... [14:56:58]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:56:58]Read from MH i2c: E2 [14:56:58]MH_I2C_Read... [14:56:58]Read from MH i2c: E2 03 00 [14:56:58]MH_I2C_Read... [14:56:58]Read from MH i2c: E2 03 00 A7 26 00 90 00 41 [14:56:58]RAPDU: 90 00 [14:56:58]wFMCommunicate OK [14:56:58]wFMCommunicate request_size=255 [14:56:58]MH_SAM_APDU [14:56:58]CAPDU: 80 0D 02 02 FA 03 00 35 01 1E 04 01 00 01 23 04 87 00 8A 04 0D 00 34 36 33 30 30 35 36 39 35 32 35 36 33 06 04 43 00 D0 9F D0 B5 D1 87 20 D0 AE D0 B1 D0 B8 D0 BB D0 B5 D0 B9 D0 BD D0 BE D0 B5 20 D0 A2 D0 BE D1 80 D0 B6 D0 B5 D1 81 D1 82 D0 B2 D0 BE 20 D0 BC D0 BE D0 BB D0 BE D1 87 D0 BD D0 BE D0 B5 20 31 32 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 0C 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 34 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 72 02 00 00 00 00 07 04 06 00 0C 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 41 FD 6E 66 0E 04 04 00 47 01 00 00 [14:56:58]Write to MH i2c: E2 02 01 A8 26 80 0D 02 02 FA 00 03 00 35 01 1E 04 01 00 01 23 04 87 00 8A 04 0D 00 34 36 33 30 30 35 36 39 35 32 35 36 33 06 04 43 00 D0 9F D0 B5 D1 87 20 D0 AE D0 B1 D0 B8 D0 BB D0 B5 D0 B9 D0 BD D0 BE D0 B5 20 D0 A2 D0 BE D1 80 D0 B6 D0 B5 D1 81 D1 82 D0 B2 D0 BE 20 D0 BC D0 BE D0 BB D0 BE D1 87 D0 BD D0 BE D0 B5 20 31 32 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 0C 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 34 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 72 02 00 00 00 00 07 04 06 00 0C 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 41 FD 6E 66 0E 04 04 00 47 01 00 00 00 00 29 [14:56:58]Write i2c OK [14:56:58]MH_I2C_Read... [14:56:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:56:58]Read from MH i2c: E2 [14:56:58]MH_I2C_Read... [14:56:58]Read from MH i2c: E2 03 00 [14:56:58]MH_I2C_Read... [14:56:58]Read from MH i2c: E2 03 00 A8 26 00 90 00 42 [14:56:58]RAPDU: 90 00 [14:56:58]wFMCommunicate OK [14:56:58]wFMCommunicate request_size=68 [14:56:58]MH_SAM_APDU [14:56:58]CAPDU: 80 0D 02 02 3F B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 0B 57 00 00 35 04 06 00 3F 4A AB 90 7E 07 [14:56:58]Write to MH i2c: E2 47 00 A9 26 80 0D 02 02 3F 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 0B 57 00 00 35 04 06 00 3F 4A AB 90 7E 07 00 00 10 [14:56:58]Write i2c OK [14:56:58]MH_I2C_Read... [14:56:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:56:58]Read from MH i2c: E2 [14:56:58]MH_I2C_Read... [14:56:58]Read from MH i2c: E2 03 00 [14:56:58]MH_I2C_Read... [14:56:58]Read from MH i2c: E2 03 00 A9 26 00 90 00 43 [14:56:58]RAPDU: 90 00 [14:56:58]wFMCommunicate OK [14:56:58]wFMCommunicate request_size=4 [14:56:58]MH_SAM_APDU [14:56:58]CAPDU: 80 0D 03 02 [14:56:58]Write to MH i2c: E2 08 00 AA 26 80 0D 03 02 00 00 00 00 4B [14:56:58]Write i2c OK [14:56:58]MH_I2C_Read... [14:56:58]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:56:58]Read from MH i2c: E2 [14:56:58]MH_I2C_Read... [14:56:58]Read from MH i2c: E2 0B 00 [14:56:58]MH_I2C_Read... [14:56:58]Read from MH i2c: E2 0B 00 AA 26 00 5B FD 29 65 9E AF 92 5C 90 00 6D [14:56:58]RAPDU: 5B FD 29 65 9E AF 92 5C 90 00 [14:56:58]wFMCommunicate OK [14:56:58]SAM_PROTO_SignData done [14:56:58]FM_MakeSignedData done [14:56:58]CreateOFDProtocolMessage [14:56:58]wFMCommunicate request_size=4 [14:56:58]MH_SAM_APDU [14:56:58]CAPDU: 80 11 00 00 [14:56:58]Write to MH i2c: E2 08 00 AB 26 80 11 00 00 00 00 00 00 4B [14:56:58]Write i2c OK [14:56:58]MH_I2C_Read... [14:56:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:56:58]Read from MH i2c: E2 [14:56:58]MH_I2C_Read... [14:56:58]Read from MH i2c: E2 17 00 [14:56:58]MH_I2C_Read... [14:56:58]Read from MH i2c: E2 17 00 AB 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 9D [14:56:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [14:56:58]wFMCommunicate OK [14:56:58]CreateOFDProtocolMessage done [14:56:58]OFDSenderStorePacket 22283 [14:56:58]StoreOFDPacket docnum=22283 [14:56:58]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 49 01 00 00 A5 08 41 01 E2 97 5A 03 01 00 03 00 35 01 1E 04 01 00 01 23 04 87 00 8A 04 0D 00 34 36 33 30 30 35 36 39 35 32 35 36 33 06 04 43 00 D0 9F D0 B5 D1 87 20 D0 AE D0 B1 D0 B8 D0 BB D0 B5 D0 B9 D0 BD D0 BE D0 B5 20 D0 A2 D0 BE D1 80 D0 B6 D0 B5 D1 81 D1 82 D0 B2 D0 BE 20 D0 BC D0 BE D0 BB D0 BE D1 87 D0 BD D0 BE D0 B5 20 31 32 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 0C 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 34 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 72 02 00 00 00 00 07 04 06 00 0C 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 41 FD 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 0B 57 00 00 35 04 06 00 3F 4A AB 90 7E 07 5B FD 29 65 9E AF 92 5C [14:56:58]CheckFolder [14:56:58]dirname=/storage/ofd_packets [14:56:58]CheckFolder done [14:56:58]ProducePacketName [14:56:58]name=ofd_packets/00022283 [14:56:58]NVStorageSaveData ofd_packets/00022283 [14:56:58]File name is /storage/ofd_packets/00022283 [14:56:58]Write 359 bytes [14:56:58]NVStorageSaveData done [14:56:58]OFDSenderStorePacket done [14:56:58]KKMCreateOFDPacket done [14:56:58]NVStorageSaveData kkm_last_timestamp [14:56:58]File name is /storage/kkm_last_timestamp [14:56:58]Write 4 bytes [14:56:58]NVStorageSaveData done [14:56:58]ExternCall_PrintAddStr [14:56:58]wPrintStart [14:56:58]Write to MH i2c: 01 00 00 AC 26 D2 [14:56:58]Write i2c OK [14:56:58]MH_I2C_Read... [14:56:58]Read from MH i2c: 01 [14:56:58]MH_I2C_Read... [14:56:58]Read from MH i2c: 01 07 00 [14:56:58]MH_I2C_Read... [14:56:58]Read from MH i2c: 01 07 00 AC 26 00 00 00 00 00 FF 0F E7 [14:56:58]RasterBufferAndPrint [14:56:58]line Счет N : (3)254495 [14:56:58]line ИНН: 02508201610067 [14:56:58]line Контрольно-Кассовый Чек [14:56:58]line ПРОДАЖА [14:56:58]line Товар: 4630056952563 [14:56:58]line Печ Юбилейное Торжество молочное 120г [14:56:58]line 1.000 * 59.00 [14:56:58]line = 59.00 [14:56:58]line НДС 12% НСП 1% [14:56:58]line > о реализуемом товаре [14:56:58]line ИТОГО: 59.00 [14:56:58]line НСП 1% : 0.52 [14:56:58]line НДС 12% : 6.26 [14:56:58]line Наличными: 59.00 [14:56:58]line Безнал.: 0.00 [14:56:58]line Место: АЗС № 76 "Партнер Нефть" [14:56:58]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [14:56:58]line СНО: Общий режим [14:56:58]line Чек 48 16.06.2024 14:57 [14:56:58]line Смена: 327 ФФД: 1.0 [14:56:58]line ЗНМ: 0300000200 [14:56:58]line РНМ: 0000000000099755 [14:56:58]line Версия ККМ: 001 [14:56:58]line ФМ: 0000000000965344 [14:56:58]line ФД: 22283 [14:56:58]line ФПД: 69589938503175 [14:56:58]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T145705&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22283&fm=69589938503175&tin=02508201610067®Number=0000000000099755&sum=5900 [14:56:58]line 0 [14:56:58]OFD Sender: Processing packet 22283 [packets to send 5, broken 4] [14:56:58]ProducePacketName [14:56:58]name=ofd_packets/00022283 [14:56:58]OFD Sender: To server: pG, [14:56:58]CommunicateWithHost lk.salyk.kg:30040 [14:56:58]ConnectInit lk.salyk.kg [14:56:58]written 0, free lines is 4095 [14:56:58]Connected sock=10 [14:56:58]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 49 01 00 00 A5 08 41 01 E2 97 5A 03 01 00 03 00 35 01 1E 04 01 00 01 23 04 87 00 8A 04 0D 00 34 36 33 30 30 35 36 39 35 32 35 36 33 06 04 43 00 D0 9F D0 B5 D1 87 20 D0 AE D0 B1 D0 B8 D0 BB D0 B5 D0 B9 D0 BD D0 BE D0 B5 20 D0 A2 D0 BE D1 80 D0 B6 D0 B5 D1 81 D1 82 D0 B2 D0 BE 20 D0 BC D0 BE D0 BB D0 BE D1 87 D0 BD D0 BE D0 B5 20 31 32 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 0C 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 34 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 72 02 00 00 00 00 07 04 06 00 0C 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 41 FD 6E 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 0B 57 00 00 35 04 06 00 3F 4A AB 90 7E 07 5B FD 29 65 9E AF 92 5C [14:56:59]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 52 A4 47 00 E9 4D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 0B 57 00 00 F4 03 04 00 FB A5 6E 66 B6 04 01 00 00 06 02 F0 59 81 A7 F8 DE [14:56:59]CommunicateWithHost err = 0 [14:56:59]CheckOFDResponse [14:56:59]1017 (14) - 77093643461234 [14:56:59]1041 (16) - 0000000000965344 [14:56:59]1040 (4) - 22283 [14:56:59]1012 (4) - 16.06.2024 08:44 [14:56:59]1206 (1) - 0 [14:56:59]OFD Sender: Remove packet 22283 [14:56:59]ProducePacketName [14:56:59]name=ofd_packets/00022283 [14:56:59]NVStorageDeleteData [14:56:59]Write to MH i2c: 01 00 00 D5 26 FB [14:56:59]Write i2c OK [14:56:59]MH_I2C_Read... [14:56:59]Read from MH i2c: 01 [14:56:59]MH_I2C_Read... [14:56:59]Read from MH i2c: 01 07 00 [14:56:59]MH_I2C_Read... [14:56:59]Read from MH i2c: 01 07 00 D5 26 00 00 00 00 00 14 0D 23 [14:56:59]RasterBufferAndPrint [14:56:59]line [14:56:59]line [14:56:59]line [14:56:59]line [14:56:59]line [14:56:59]written 0, free lines is 3354 [14:56:59]MH_Cut [14:56:59]Write to MH i2c: D1 01 00 DC 26 01 D4 [14:56:59]Write i2c OK [14:56:59]MH_I2C_Read... [14:56:59]Read from MH i2c: D1 [14:56:59]MH_I2C_Read... [14:56:59]Read from MH i2c: D1 01 00 [14:56:59]MH_I2C_Read... [14:56:59]Read from MH i2c: D1 01 00 DC 26 00 D3 [14:56:59]Write to MH i2c: 01 00 00 DD 26 03 [14:56:59]Write i2c OK [14:56:59]MH_I2C_Read... [14:56:59]OFD Sender: No OFD packet to send [14:56:59]*** Cut start [14:56:59]*** Partial cut [14:56:59]*** CUTSNS_PIN = 1 [14:56:59]*** CUTSNS_PIN = 0 [14:57:00]*** Brake cut motor [14:57:00]Read from MH i2c: 01 [14:57:00]MH_I2C_Read... [14:57:00]*** Stop cut motor [14:57:00]*** Cut end [14:57:00]Read from MH i2c: 01 07 00 [14:57:00]MH_I2C_Read... [14:57:00]Read from MH i2c: 01 07 00 DD 26 00 00 00 00 00 FF 0F 18 [14:57:00]process_action close_receipt done [14:57:00]requested_data is exist [14:57:00]produce_requested_data [14:57:00]requested_item fm.sn is exist - process it [14:57:00]wFMCommunicate request_size=4 [14:57:00]MH_SAM_APDU [14:57:00]CAPDU: 80 11 00 00 [14:57:00]Write to MH i2c: E2 08 00 DE 26 80 11 00 00 00 00 00 00 7E [14:57:00]Write i2c OK [14:57:00]MH_I2C_Read... [14:57:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:57:00]Read from MH i2c: E2 [14:57:00]MH_I2C_Read... [14:57:00]Read from MH i2c: E2 17 00 [14:57:00]MH_I2C_Read... [14:57:00]Read from MH i2c: E2 17 00 DE 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 D0 [14:57:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [14:57:00]wFMCommunicate OK [14:57:00]requested_item fd.num is exist - process it [14:57:00]SAM_PROTO_GetFieldsCounters [14:57:00]wFMCommunicate request_size=4 [14:57:00]MH_SAM_APDU [14:57:00]CAPDU: 80 13 00 00 [14:57:00]Write to MH i2c: E2 08 00 DF 26 80 13 00 00 00 00 00 00 81 [14:57:00]Write i2c OK [14:57:00]MH_I2C_Read... [14:57:00]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:57:00]Read from MH i2c: E2 [14:57:00]MH_I2C_Read... [14:57:00]Read from MH i2c: E2 62 00 [14:57:00]MH_I2C_Read... [14:57:00]Read from MH i2c: E2 62 00 DF 26 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 0B 57 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 30 00 00 00 5E 04 04 00 30 00 00 00 57 04 04 00 31 00 00 00 19 04 04 00 00 00 00 00 90 00 E5 [14:57:00]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 0B 57 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 30 00 00 00 5E 04 04 00 30 00 00 00 57 04 04 00 31 00 00 00 19 04 04 00 00 00 00 00 90 00 [14:57:00]wFMCommunicate OK [14:57:00]SAM_PROTO_GetFieldsCounters done [14:57:00]requested_item shift.num is exist - process it [14:57:00]requested_item shift.opened is exist - process it [14:57:00]req_shift_opened [14:57:00]FM_GetShiftState [14:57:00]SAM_PROTO_GetShiftState [14:57:00]wFMCommunicate request_size=4 [14:57:00]MH_SAM_APDU [14:57:00]CAPDU: 80 13 01 00 [14:57:00]Write to MH i2c: E2 08 00 E0 26 80 13 01 00 00 00 00 00 83 [14:57:00]Write i2c OK [14:57:00]MH_I2C_Read... [14:57:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:57:00]Read from MH i2c: E2 [14:57:00]MH_I2C_Read... [14:57:00]Read from MH i2c: E2 0E 00 [14:57:00]MH_I2C_Read... [14:57:00]Read from MH i2c: E2 0E 00 E0 26 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 A4 [14:57:00]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [14:57:00]wFMCommunicate OK [14:57:00]SAM_PROTO_GetShiftState done [14:57:00]FM_GetShiftState done [14:57:00]req_shift_opened done [14:57:00]requested_item shift.open_date is exist - process it [14:57:00]req_shift_open_date [14:57:00]req_shift_open_date done [14:57:00]produce_requested_data done [14:57:00]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22283,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297} [14:57:00]process_action_free close_receipt [14:57:00]json_value_free [14:57:00]json_value_free done [14:57:00]process_json_proto returns [14:57:00]Send response to host [14:57:00]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22283,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297}}} [14:57:00]free response buf [14:57:00]execute_script done [14:57:00]execute_script returns [14:57:00]free content buf [14:57:00]Sock 8.Close socket [14:57:00]Sock 8.Thread stoped [14:57:04]OFD Sender: No OFD packet to send [14:57:09]OFD Sender: No OFD packet to send [14:57:14]OFD Sender: No OFD packet to send [14:57:19]OFD Sender: No OFD packet to send [14:57:24]OFD Sender: No OFD packet to send [14:57:29]OFD Sender: No OFD packet to send [14:57:34]OFD Sender: No OFD packet to send [14:57:39]OFD Sender: No OFD packet to send [14:57:44]OFD Sender: No OFD packet to send [14:57:49]OFD Sender: No OFD packet to send [14:57:54]OFD Sender: No OFD packet to send [14:57:59]OFD Sender: No OFD packet to send [14:58:04]OFD Sender: No OFD packet to send [14:58:09]OFD Sender: No OFD packet to send [14:58:14]OFD Sender: No OFD packet to send [14:58:19]OFD Sender: No OFD packet to send [14:58:24]OFD Sender: No OFD packet to send [14:58:29]OFD Sender: No OFD packet to send [14:58:34]OFD Sender: No OFD packet to send [14:58:39]OFD Sender: No OFD packet to send [14:58:44]OFD Sender: No OFD packet to send [14:58:49]OFD Sender: No OFD packet to send [14:58:54]OFD Sender: No OFD packet to send [14:58:59]OFD Sender: No OFD packet to send [14:59:04]OFD Sender: No OFD packet to send [14:59:09]OFD Sender: No OFD packet to send [14:59:14]OFD Sender: No OFD packet to send [14:59:19]OFD Sender: No OFD packet to send [14:59:24]OFD Sender: No OFD packet to send [14:59:29]OFD Sender: No OFD packet to send [14:59:34]OFD Sender: No OFD packet to send [14:59:39]OFD Sender: No OFD packet to send [14:59:44]OFD Sender: No OFD packet to send [14:59:49]OFD Sender: No OFD packet to send [14:59:54]OFD Sender: No OFD packet to send [14:59:59]OFD Sender: No OFD packet to send [15:00:04]OFD Sender: No OFD packet to send [15:00:09]OFD Sender: No OFD packet to send [15:00:14]OFD Sender: No OFD packet to send [15:00:19]OFD Sender: No OFD packet to send [15:00:24]OFD Sender: No OFD packet to send [15:00:29]OFD Sender: No OFD packet to send [15:00:34]OFD Sender: No OFD packet to send [15:00:39]OFD Sender: No OFD packet to send [15:00:44]OFD Sender: No OFD packet to send [15:00:49]OFD Sender: No OFD packet to send [15:00:54]OFD Sender: No OFD packet to send [15:00:59]OFD Sender: No OFD packet to send [15:01:04]OFD Sender: No OFD packet to send [15:01:09]OFD Sender: No OFD packet to send [15:01:14]OFD Sender: No OFD packet to send [15:01:19]OFD Sender: No OFD packet to send [15:01:24]OFD Sender: No OFD packet to send [15:01:29]OFD Sender: No OFD packet to send [15:01:34]OFD Sender: No OFD packet to send [15:01:39]OFD Sender: No OFD packet to send [15:01:44]OFD Sender: No OFD packet to send [15:01:49]OFD Sender: No OFD packet to send [15:01:54]OFD Sender: No OFD packet to send [15:01:59]OFD Sender: No OFD packet to send [15:02:04]OFD Sender: No OFD packet to send [15:02:09]OFD Sender: No OFD packet to send [15:02:14]OFD Sender: No OFD packet to send [15:02:19]OFD Sender: No OFD packet to send [15:02:24]OFD Sender: No OFD packet to send [15:02:29]OFD Sender: No OFD packet to send [15:02:34]OFD Sender: No OFD packet to send [15:02:39]OFD Sender: No OFD packet to send [15:02:44]OFD Sender: No OFD packet to send [15:02:49]OFD Sender: No OFD packet to send [15:02:54]OFD Sender: No OFD packet to send [15:02:59]OFD Sender: No OFD packet to send [15:03:04]OFD Sender: No OFD packet to send [15:03:09]OFD Sender: No OFD packet to send [15:03:14]OFD Sender: No OFD packet to send [15:03:19]OFD Sender: No OFD packet to send [15:03:24]OFD Sender: No OFD packet to send [15:03:29]OFD Sender: No OFD packet to send [15:03:34]OFD Sender: No OFD packet to send [15:03:39]OFD Sender: No OFD packet to send [15:03:44]OFD Sender: No OFD packet to send [15:03:49]OFD Sender: No OFD packet to send [15:03:54]OFD Sender: No OFD packet to send [15:03:59]OFD Sender: No OFD packet to send [15:04:04]OFD Sender: No OFD packet to send [15:04:09]OFD Sender: No OFD packet to send [15:04:14]OFD Sender: No OFD packet to send [15:04:19]OFD Sender: No OFD packet to send [15:04:24]OFD Sender: No OFD packet to send [15:04:29]OFD Sender: No OFD packet to send [15:04:34]OFD Sender: No OFD packet to send [15:04:39]OFD Sender: No OFD packet to send [15:04:44]OFD Sender: No OFD packet to send [15:04:50]OFD Sender: No OFD packet to send [15:04:55]OFD Sender: No OFD packet to send [15:05:00]OFD Sender: No OFD packet to send [15:05:05]OFD Sender: No OFD packet to send [15:05:10]OFD Sender: No OFD packet to send [15:05:15]OFD Sender: No OFD packet to send [15:05:20]OFD Sender: No OFD packet to send [15:05:25]OFD Sender: No OFD packet to send [15:05:30]OFD Sender: No OFD packet to send [15:05:35]OFD Sender: No OFD packet to send [15:05:40]OFD Sender: No OFD packet to send [15:05:45]OFD Sender: No OFD packet to send [15:05:50]OFD Sender: No OFD packet to send [15:05:55]OFD Sender: No OFD packet to send [15:06:00]OFD Sender: No OFD packet to send [15:06:05]OFD Sender: No OFD packet to send [15:06:10]OFD Sender: No OFD packet to send [15:06:15]OFD Sender: No OFD packet to send [15:06:20]OFD Sender: No OFD packet to send [15:06:25]OFD Sender: No OFD packet to send [15:06:30]OFD Sender: No OFD packet to send [15:06:35]OFD Sender: No OFD packet to send [15:06:40]OFD Sender: No OFD packet to send [15:06:45]OFD Sender: No OFD packet to send [15:06:50]OFD Sender: No OFD packet to send [15:06:55]OFD Sender: No OFD packet to send [15:07:00]OFD Sender: No OFD packet to send [15:07:05]OFD Sender: No OFD packet to send [15:07:10]OFD Sender: No OFD packet to send [15:07:15]OFD Sender: No OFD packet to send [15:07:20]OFD Sender: No OFD packet to send [15:07:25]OFD Sender: No OFD packet to send [15:07:30]OFD Sender: No OFD packet to send [15:07:35]OFD Sender: No OFD packet to send [15:07:40]OFD Sender: No OFD packet to send [15:07:45]OFD Sender: No OFD packet to send [15:07:50]OFD Sender: No OFD packet to send [15:07:55]OFD Sender: No OFD packet to send [15:08:00]OFD Sender: No OFD packet to send [15:08:05]OFD Sender: No OFD packet to send [15:08:10]OFD Sender: No OFD packet to send [15:08:15]OFD Sender: No OFD packet to send [15:08:20]OFD Sender: No OFD packet to send [15:08:25]OFD Sender: No OFD packet to send [15:08:30]OFD Sender: No OFD packet to send [15:08:35]OFD Sender: No OFD packet to send [15:08:40]OFD Sender: No OFD packet to send [15:08:45]OFD Sender: No OFD packet to send [15:08:50]OFD Sender: No OFD packet to send [15:08:55]OFD Sender: No OFD packet to send [15:09:00]OFD Sender: No OFD packet to send [15:09:05]OFD Sender: No OFD packet to send [15:09:10]OFD Sender: No OFD packet to send [15:09:15]OFD Sender: No OFD packet to send [15:09:20]OFD Sender: No OFD packet to send [15:09:25]OFD Sender: No OFD packet to send [15:09:30]OFD Sender: No OFD packet to send [15:09:35]OFD Sender: No OFD packet to send [15:09:40]OFD Sender: No OFD packet to send [15:09:45]OFD Sender: No OFD packet to send [15:09:50]OFD Sender: No OFD packet to send [15:09:55]OFD Sender: No OFD packet to send [15:10:00]OFD Sender: No OFD packet to send [15:10:05]OFD Sender: No OFD packet to send [15:10:10]OFD Sender: No OFD packet to send [15:10:15]OFD Sender: No OFD packet to send [15:10:20]OFD Sender: No OFD packet to send [15:10:25]OFD Sender: No OFD packet to send [15:10:30]OFD Sender: No OFD packet to send [15:10:35]OFD Sender: No OFD packet to send [15:10:40]OFD Sender: No OFD packet to send [15:10:45]OFD Sender: No OFD packet to send [15:10:50]OFD Sender: No OFD packet to send [15:10:55]OFD Sender: No OFD packet to send [15:11:00]OFD Sender: No OFD packet to send [15:11:05]OFD Sender: No OFD packet to send [15:11:10]OFD Sender: No OFD packet to send [15:11:15]OFD Sender: No OFD packet to send [15:11:20]OFD Sender: No OFD packet to send [15:11:25]OFD Sender: No OFD packet to send [15:11:30]OFD Sender: No OFD packet to send [15:11:35]OFD Sender: No OFD packet to send [15:11:40]OFD Sender: No OFD packet to send [15:11:45]OFD Sender: No OFD packet to send [15:11:50]OFD Sender: No OFD packet to send [15:11:55]OFD Sender: No OFD packet to send [15:12:00]OFD Sender: No OFD packet to send [15:12:05]OFD Sender: No OFD packet to send [15:12:10]OFD Sender: No OFD packet to send [15:12:15]OFD Sender: No OFD packet to send [15:12:20]OFD Sender: No OFD packet to send [15:12:25]OFD Sender: No OFD packet to send [15:12:30]OFD Sender: No OFD packet to send [15:12:35]OFD Sender: No OFD packet to send [15:12:40]OFD Sender: No OFD packet to send [15:12:45]OFD Sender: No OFD packet to send [15:12:50]OFD Sender: No OFD packet to send [15:12:55]OFD Sender: No OFD packet to send [15:13:00]OFD Sender: No OFD packet to send [15:13:05]OFD Sender: No OFD packet to send [15:13:10]OFD Sender: No OFD packet to send [15:13:15]OFD Sender: No OFD packet to send [15:13:20]OFD Sender: No OFD packet to send [15:13:25]OFD Sender: No OFD packet to send [15:13:30]OFD Sender: No OFD packet to send [15:13:35]OFD Sender: No OFD packet to send [15:13:40]OFD Sender: No OFD packet to send [15:13:45]OFD Sender: No OFD packet to send [15:13:50]OFD Sender: No OFD packet to send [15:13:55]OFD Sender: No OFD packet to send [15:14:00]OFD Sender: No OFD packet to send [15:14:05]OFD Sender: No OFD packet to send [15:14:10]OFD Sender: No OFD packet to send [15:14:15]OFD Sender: No OFD packet to send [15:14:20]OFD Sender: No OFD packet to send [15:14:25]OFD Sender: No OFD packet to send [15:14:30]OFD Sender: No OFD packet to send [15:14:35]OFD Sender: No OFD packet to send [15:14:40]OFD Sender: No OFD packet to send [15:14:45]OFD Sender: No OFD packet to send [15:14:50]OFD Sender: No OFD packet to send [15:14:55]OFD Sender: No OFD packet to send [15:15:00]OFD Sender: No OFD packet to send [15:15:05]OFD Sender: No OFD packet to send [15:15:10]OFD Sender: No OFD packet to send [15:15:15]OFD Sender: No OFD packet to send [15:15:20]OFD Sender: No OFD packet to send [15:15:25]OFD Sender: No OFD packet to send [15:15:30]OFD Sender: No OFD packet to send [15:15:35]OFD Sender: No OFD packet to send [15:15:40]OFD Sender: No OFD packet to send [15:15:45]OFD Sender: No OFD packet to send [15:15:50]OFD Sender: No OFD packet to send [15:15:55]OFD Sender: No OFD packet to send [15:16:00]OFD Sender: No OFD packet to send [15:16:05]OFD Sender: No OFD packet to send [15:16:10]OFD Sender: No OFD packet to send [15:16:15]OFD Sender: No OFD packet to send [15:16:20]OFD Sender: No OFD packet to send [15:16:25]OFD Sender: No OFD packet to send [15:16:30]OFD Sender: No OFD packet to send [15:16:35]OFD Sender: No OFD packet to send [15:16:40]OFD Sender: No OFD packet to send [15:16:45]OFD Sender: No OFD packet to send [15:16:50]OFD Sender: No OFD packet to send [15:16:55]OFD Sender: No OFD packet to send [15:17:00]OFD Sender: No OFD packet to send [15:17:05]OFD Sender: No OFD packet to send [15:17:10]OFD Sender: No OFD packet to send [15:17:15]OFD Sender: No OFD packet to send [15:17:20]OFD Sender: No OFD packet to send [15:17:25]OFD Sender: No OFD packet to send [15:17:30]OFD Sender: No OFD packet to send [15:17:35]OFD Sender: No OFD packet to send [15:17:40]OFD Sender: No OFD packet to send [15:17:45]OFD Sender: No OFD packet to send [15:17:50]OFD Sender: No OFD packet to send [15:17:55]OFD Sender: No OFD packet to send [15:18:00]OFD Sender: No OFD packet to send [15:18:05]OFD Sender: No OFD packet to send [15:18:10]OFD Sender: No OFD packet to send [15:18:15]OFD Sender: No OFD packet to send [15:18:20]OFD Sender: No OFD packet to send [15:18:25]OFD Sender: No OFD packet to send [15:18:30]OFD Sender: No OFD packet to send [15:18:35]OFD Sender: No OFD packet to send [15:18:40]OFD Sender: No OFD packet to send [15:18:45]OFD Sender: No OFD packet to send [15:18:50]OFD Sender: No OFD packet to send [15:18:55]OFD Sender: No OFD packet to send [15:19:00]OFD Sender: No OFD packet to send [15:19:05]OFD Sender: No OFD packet to send [15:19:10]OFD Sender: No OFD packet to send [15:19:15]OFD Sender: No OFD packet to send [15:19:20]OFD Sender: No OFD packet to send [15:19:25]OFD Sender: No OFD packet to send [15:19:30]OFD Sender: No OFD packet to send [15:19:35]OFD Sender: No OFD packet to send [15:19:40]OFD Sender: No OFD packet to send [15:19:45]OFD Sender: No OFD packet to send [15:19:50]OFD Sender: No OFD packet to send [15:19:55]OFD Sender: No OFD packet to send [15:20:00]OFD Sender: No OFD packet to send [15:20:05]OFD Sender: No OFD packet to send [15:20:10]OFD Sender: No OFD packet to send [15:20:15]OFD Sender: No OFD packet to send [15:20:20]OFD Sender: No OFD packet to send [15:20:25]OFD Sender: No OFD packet to send [15:20:30]OFD Sender: No OFD packet to send [15:20:35]OFD Sender: No OFD packet to send [15:20:40]OFD Sender: No OFD packet to send [15:20:45]OFD Sender: No OFD packet to send [15:20:50]OFD Sender: No OFD packet to send [15:20:55]OFD Sender: No OFD packet to send [15:21:00]OFD Sender: No OFD packet to send [15:21:05]OFD Sender: No OFD packet to send [15:21:10]OFD Sender: No OFD packet to send [15:21:15]OFD Sender: No OFD packet to send [15:21:20]OFD Sender: No OFD packet to send [15:21:25]OFD Sender: No OFD packet to send [15:21:30]OFD Sender: No OFD packet to send [15:21:35]OFD Sender: No OFD packet to send [15:21:40]OFD Sender: No OFD packet to send [15:21:45]OFD Sender: No OFD packet to send [15:21:50]OFD Sender: No OFD packet to send [15:21:55]OFD Sender: No OFD packet to send [15:22:00]OFD Sender: No OFD packet to send [15:22:05]OFD Sender: No OFD packet to send [15:22:10]OFD Sender: No OFD packet to send [15:22:15]OFD Sender: No OFD packet to send [15:22:20]OFD Sender: No OFD packet to send [15:22:25]OFD Sender: No OFD packet to send [15:22:30]OFD Sender: No OFD packet to send [15:22:35]OFD Sender: No OFD packet to send [15:22:40]OFD Sender: No OFD packet to send [15:22:45]OFD Sender: No OFD packet to send [15:22:50]OFD Sender: No OFD packet to send [15:22:55]OFD Sender: No OFD packet to send [15:23:00]OFD Sender: No OFD packet to send [15:23:05]OFD Sender: No OFD packet to send [15:23:10]OFD Sender: No OFD packet to send [15:23:15]OFD Sender: No OFD packet to send [15:23:20]OFD Sender: No OFD packet to send [15:23:25]OFD Sender: No OFD packet to send [15:23:30]OFD Sender: No OFD packet to send [15:23:35]OFD Sender: No OFD packet to send [15:23:40]OFD Sender: No OFD packet to send [15:23:45]OFD Sender: No OFD packet to send [15:23:50]OFD Sender: No OFD packet to send [15:23:55]OFD Sender: No OFD packet to send [15:24:00]OFD Sender: No OFD packet to send [15:24:05]OFD Sender: No OFD packet to send [15:24:10]OFD Sender: No OFD packet to send [15:24:15]OFD Sender: No OFD packet to send [15:24:20]OFD Sender: No OFD packet to send [15:24:25]OFD Sender: No OFD packet to send [15:24:30]OFD Sender: No OFD packet to send [15:24:35]OFD Sender: No OFD packet to send [15:24:40]OFD Sender: No OFD packet to send [15:24:45]OFD Sender: No OFD packet to send [15:24:50]OFD Sender: No OFD packet to send [15:24:55]OFD Sender: No OFD packet to send [15:25:00]OFD Sender: No OFD packet to send [15:25:05]OFD Sender: No OFD packet to send [15:25:10]OFD Sender: No OFD packet to send [15:25:15]OFD Sender: No OFD packet to send [15:25:20]OFD Sender: No OFD packet to send [15:25:25]OFD Sender: No OFD packet to send [15:25:30]OFD Sender: No OFD packet to send [15:25:35]OFD Sender: No OFD packet to send [15:25:40]OFD Sender: No OFD packet to send [15:25:45]OFD Sender: No OFD packet to send [15:25:50]OFD Sender: No OFD packet to send [15:25:55]OFD Sender: No OFD packet to send [15:26:00]OFD Sender: No OFD packet to send [15:26:05]OFD Sender: No OFD packet to send [15:26:10]OFD Sender: No OFD packet to send [15:26:15]OFD Sender: No OFD packet to send [15:26:21]OFD Sender: No OFD packet to send [15:26:26]OFD Sender: No OFD packet to send [15:26:31]OFD Sender: No OFD packet to send [15:26:36]OFD Sender: No OFD packet to send [15:26:41]OFD Sender: No OFD packet to send [15:26:46]OFD Sender: No OFD packet to send [15:26:51]OFD Sender: No OFD packet to send [15:26:56]OFD Sender: No OFD packet to send [15:27:01]OFD Sender: No OFD packet to send [15:27:06]OFD Sender: No OFD packet to send [15:27:11]OFD Sender: No OFD packet to send [15:27:16]OFD Sender: No OFD packet to send [15:27:21]OFD Sender: No OFD packet to send [15:27:26]OFD Sender: No OFD packet to send [15:27:31]OFD Sender: No OFD packet to send [15:27:36]OFD Sender: No OFD packet to send [15:27:41]OFD Sender: No OFD packet to send [15:27:46]OFD Sender: No OFD packet to send [15:27:51]OFD Sender: No OFD packet to send [15:27:56]OFD Sender: No OFD packet to send [15:28:01]OFD Sender: No OFD packet to send [15:28:06]OFD Sender: No OFD packet to send [15:28:11]OFD Sender: No OFD packet to send [15:28:16]OFD Sender: No OFD packet to send [15:28:21]OFD Sender: No OFD packet to send [15:28:26]OFD Sender: No OFD packet to send [15:28:31]OFD Sender: No OFD packet to send [15:28:36]OFD Sender: No OFD packet to send [15:28:41]OFD Sender: No OFD packet to send [15:28:46]OFD Sender: No OFD packet to send [15:28:51]OFD Sender: No OFD packet to send [15:28:56]OFD Sender: No OFD packet to send [15:29:01]OFD Sender: No OFD packet to send [15:29:06]OFD Sender: No OFD packet to send [15:29:11]OFD Sender: No OFD packet to send [15:29:16]OFD Sender: No OFD packet to send [15:29:21]OFD Sender: No OFD packet to send [15:29:26]OFD Sender: No OFD packet to send [15:29:31]OFD Sender: No OFD packet to send [15:29:36]OFD Sender: No OFD packet to send [15:29:41]OFD Sender: No OFD packet to send [15:29:46]OFD Sender: No OFD packet to send [15:29:51]OFD Sender: No OFD packet to send [15:29:56]OFD Sender: No OFD packet to send [15:30:01]OFD Sender: No OFD packet to send [15:30:06]OFD Sender: No OFD packet to send [15:30:11]OFD Sender: No OFD packet to send [15:30:16]OFD Sender: No OFD packet to send [15:30:21]OFD Sender: No OFD packet to send [15:30:26]OFD Sender: No OFD packet to send [15:30:31]OFD Sender: No OFD packet to send [15:30:36]OFD Sender: No OFD packet to send [15:30:41]OFD Sender: No OFD packet to send [15:30:46]OFD Sender: No OFD packet to send [15:30:51]OFD Sender: No OFD packet to send [15:30:56]OFD Sender: No OFD packet to send [15:31:01]OFD Sender: No OFD packet to send [15:31:06]OFD Sender: No OFD packet to send [15:31:11]OFD Sender: No OFD packet to send [15:31:16]OFD Sender: No OFD packet to send [15:31:21]OFD Sender: No OFD packet to send [15:31:26]OFD Sender: No OFD packet to send [15:31:31]OFD Sender: No OFD packet to send [15:31:36]OFD Sender: No OFD packet to send [15:31:41]OFD Sender: No OFD packet to send [15:31:46]OFD Sender: No OFD packet to send [15:31:51]OFD Sender: No OFD packet to send [15:31:56]OFD Sender: No OFD packet to send [15:32:01]OFD Sender: No OFD packet to send [15:32:06]OFD Sender: No OFD packet to send [15:32:11]OFD Sender: No OFD packet to send [15:32:16]OFD Sender: No OFD packet to send [15:32:21]OFD Sender: No OFD packet to send [15:32:26]OFD Sender: No OFD packet to send [15:32:31]OFD Sender: No OFD packet to send [15:32:36]OFD Sender: No OFD packet to send [15:32:41]OFD Sender: No OFD packet to send [15:32:46]OFD Sender: No OFD packet to send [15:32:51]OFD Sender: No OFD packet to send [15:32:56]OFD Sender: No OFD packet to send [15:33:01]OFD Sender: No OFD packet to send [15:33:06]OFD Sender: No OFD packet to send [15:33:11]OFD Sender: No OFD packet to send [15:33:16]OFD Sender: No OFD packet to send [15:33:21]OFD Sender: No OFD packet to send [15:33:26]OFD Sender: No OFD packet to send [15:33:31]OFD Sender: No OFD packet to send [15:33:36]OFD Sender: No OFD packet to send [15:33:41]OFD Sender: No OFD packet to send [15:33:46]OFD Sender: No OFD packet to send [15:33:51]OFD Sender: No OFD packet to send [15:33:56]OFD Sender: No OFD packet to send [15:34:01]OFD Sender: No OFD packet to send [15:34:06]OFD Sender: No OFD packet to send [15:34:06]accept exits with 9 [15:34:06]New connection [15:34:06]New thread 3066838372 created [15:34:06]Thread 3066695012 joined [15:34:06]Waiting for new connection... [15:34:06] Sock 9.Parse request [15:34:06]Sock 9.Check first char [15:34:06]Sock 9.First char is OK [15:34:06]request: POST /json_proto HTTP/1.0 [15:34:06]Method: POST [15:34:06]URL: /json_proto [15:34:06]Method is POST - this is cgi request [15:34:06]url: /json_proto [15:34:06]query_string will be loaded in cgi processing [15:34:06]execute_cgi json_proto POST (null) [15:34:06]execute_cgi path=json_proto method=POST [15:34:06]POST find Content-Length [15:34:06]Host: 172.17.35.133:8080 [15:34:06]Content-Length: 741 [15:34:06]Content-Type: application/json [15:34:06] [15:34:06]POST finish read [15:34:06]Found Content-Length = 741 [15:34:06]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254497", "tax_sys" : 0, "items" : [ { "code": "4602441011186", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0438\u0437 \u0427\u0415\u0420\u041D\u041E\u0413\u041E\u041B \u0433\u0430\u0437 \u0442\u0430\u0440\u0445\u0443\u043D \u0441\u0442 0,5\u043B", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 125.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:34:06]execute_script... [15:34: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)254497", "tax_sys" : 0, "items" : [ { "code": "4602441011186", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0438\u0437 \u0427\u0415\u0420\u041D\u041E\u0413\u041E\u041B \u0433\u0430\u0437 \u0442\u0430\u0440\u0445\u0443\u043D \u0441\u0442 0,5\u043B", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 125.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:34:06]POST & json_proto [15:34:06]process_json_proto [15:34:06]json parsed OK: [15:34:06]protocol is kg_v1.0 [15:34:06]action value=close_receipt [15:34:06]process_action close_receipt [15:34:06]cmd_close_receipt [15:34:06]MH_GetDate [15:34:06]Write to MH i2c: F0 00 00 E1 26 F6 [15:34:06]Write i2c OK [15:34:06]MH_I2C_Read... [15:34:06]Read from MH i2c: F0 [15:34:06]MH_I2C_Read... [15:34:06]Read from MH i2c: F0 09 00 [15:34:06]MH_I2C_Read... [15:34:06]Read from MH i2c: F0 09 00 E1 26 00 F7 05 6F 66 8C 55 28 65 3E [15:34:06]GetLastDocTimeStamp 1718549825 [15:34:06]current date 1718552055 [15:34:06]FM_GetShiftState [15:34:06]SAM_PROTO_GetShiftState [15:34:06]wFMCommunicate request_size=4 [15:34:06]MH_SAM_APDU [15:34:06]CAPDU: 80 13 01 00 [15:34:06]Write to MH i2c: E2 08 00 E2 26 80 13 01 00 00 00 00 00 85 [15:34:06]Write i2c OK [15:34:06]MH_I2C_Read... [15:34:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:34:06]Read from MH i2c: E2 [15:34:06]MH_I2C_Read... [15:34:06]Read from MH i2c: E2 0E 00 [15:34:06]MH_I2C_Read... [15:34:06]Read from MH i2c: E2 0E 00 E2 26 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 A6 [15:34:06]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [15:34:06]wFMCommunicate OK [15:34:06]SAM_PROTO_GetShiftState done [15:34:06]FM_GetShiftState done [15:34:06]opened in 1718497297 [15:34:06]opened+sec_in_day 1718583697 [15:34:06]quantity*price = 12500 [15:34:06]sum+1 = 12501 [15:34:06]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 125.00 НСП 1% : 1.11 НДС 12% : 13.27 Наличными: 125.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 49 16.06.2024 15:34 Смена: 327 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22284 ФПД: 5774442066677 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T153415&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22284&fm=5774442066677&tin=02508201610067®Number=0000000000099755&sum=12500 0 [15:34:07]StoreToDocumentArchive [15:34:07]shift 327 fd 22284 [15:34:07]save to /storage/0327/doc_00022284 [15:34:07]save last doc name /storage/0327/doc_00022284 to /storage/kkm_last_doc_name [15:34:07]save OK [15:34:07]Clear old archive folders... [15:34:07]ProcessDocumentItem done err = 0, tmpTLVsize=309 [15:34:07]tlvbuf is 001B2F60 [15:34:07]SAM_PROTO_ClearQueue [15:34:07]wFMCommunicate request_size=4 [15:34:07]MH_SAM_APDU [15:34:07]CAPDU: 80 09 00 00 [15:34:07]Write to MH i2c: E2 08 00 EF 26 80 09 00 00 00 00 00 00 87 [15:34:07]Write i2c OK [15:34:07]MH_I2C_Read... [15:34:08]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:34:08]Read from MH i2c: E2 [15:34:08]MH_I2C_Read... [15:34:08]Read from MH i2c: E2 03 00 [15:34:08]MH_I2C_Read... [15:34:08]Read from MH i2c: E2 03 00 EF 26 00 90 00 89 [15:34:08]RAPDU: 90 00 [15:34:08]wFMCommunicate OK [15:34:08]SAM_PROTO_ClearQueue done [15:34:08]KKMCreateOFDPacket [15:34:08]OFDProtocolAddRootSTLVToBuf [15:34:08]FM_MakeSignedData [15:34:08]FM_MakeSignedData [15:34:08]SAM_PROTO_SignData [15:34:08]wFMCommunicate request_size=4 [15:34:08]MH_SAM_APDU [15:34:08]CAPDU: 80 0D 01 02 [15:34:08]Write to MH i2c: E2 08 00 F0 26 80 0D 01 02 00 00 00 00 8F [15:34:08]Write i2c OK [15:34:08]MH_I2C_Read... [15:34:08]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:34:08]Read from MH i2c: E2 [15:34:08]MH_I2C_Read... [15:34:08]Read from MH i2c: E2 03 00 [15:34:08]MH_I2C_Read... [15:34:08]Read from MH i2c: E2 03 00 F0 26 00 90 00 8A [15:34:08]RAPDU: 90 00 [15:34:08]wFMCommunicate OK [15:34:08]wFMCommunicate request_size=255 [15:34:08]MH_SAM_APDU [15:34:08]CAPDU: 80 0D 02 02 FA 03 00 35 01 1E 04 01 00 01 23 04 87 00 8A 04 0D 00 34 36 30 32 34 34 31 30 31 31 31 38 36 06 04 43 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 B8 D0 B7 20 D0 A7 D0 95 D0 A0 D0 9D D0 9E D0 93 D0 9E D0 9B 20 D0 B3 D0 B0 D0 B7 20 D1 82 D0 B0 D1 80 D1 85 D1 83 D0 BD 20 D1 81 D1 82 20 30 2C 35 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 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 31 00 00 00 F4 03 04 00 F7 05 6F 66 0E 04 04 00 47 01 00 00 [15:34:08]Write to MH i2c: E2 02 01 F1 26 80 0D 02 02 FA 00 03 00 35 01 1E 04 01 00 01 23 04 87 00 8A 04 0D 00 34 36 30 32 34 34 31 30 31 31 31 38 36 06 04 43 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 B8 D0 B7 20 D0 A7 D0 95 D0 A0 D0 9D D0 9E D0 93 D0 9E D0 9B 20 D0 B3 D0 B0 D0 B7 20 D1 82 D0 B0 D1 80 D1 85 D1 83 D0 BD 20 D1 81 D1 82 20 30 2C 35 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 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 31 00 00 00 F4 03 04 00 F7 05 6F 66 0E 04 04 00 47 01 00 00 00 00 0A [15:34:08]Write i2c OK [15:34:08]MH_I2C_Read... [15:34:08]Read from MH i2c: E2 [15:34:08]MH_I2C_Read... [15:34:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:34:08]Read from MH i2c: E2 03 00 [15:34:08]MH_I2C_Read... [15:34:08]Read from MH i2c: E2 03 00 F1 26 00 90 00 8B [15:34:08]RAPDU: 90 00 [15:34:08]wFMCommunicate OK [15:34:08]wFMCommunicate request_size=68 [15:34:08]MH_SAM_APDU [15:34:08]CAPDU: 80 0D 02 02 3F B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 0C 57 00 00 35 04 06 00 05 40 77 91 72 F5 [15:34:08]Write to MH i2c: E2 47 00 F2 26 80 0D 02 02 3F 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 0C 57 00 00 35 04 06 00 05 40 77 91 72 F5 00 00 C5 [15:34:08]Write i2c OK [15:34:08]MH_I2C_Read... [15:34:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:34:08]Read from MH i2c: E2 [15:34:08]MH_I2C_Read... [15:34:08]Read from MH i2c: E2 03 00 [15:34:08]MH_I2C_Read... [15:34:08]Read from MH i2c: E2 03 00 F2 26 00 90 00 8C [15:34:08]RAPDU: 90 00 [15:34:08]wFMCommunicate OK [15:34:08]wFMCommunicate request_size=4 [15:34:08]MH_SAM_APDU [15:34:08]CAPDU: 80 0D 03 02 [15:34:08]Write to MH i2c: E2 08 00 F3 26 80 0D 03 02 00 00 00 00 94 [15:34:08]Write i2c OK [15:34:08]MH_I2C_Read... [15:34:08]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:34:08]Read from MH i2c: E2 [15:34:08]MH_I2C_Read... [15:34:08]Read from MH i2c: E2 0B 00 [15:34:08]MH_I2C_Read... [15:34:08]Read from MH i2c: E2 0B 00 F3 26 00 67 CA 4A 06 6D 66 76 96 90 00 F5 [15:34:08]RAPDU: 67 CA 4A 06 6D 66 76 96 90 00 [15:34:08]wFMCommunicate OK [15:34:08]SAM_PROTO_SignData done [15:34:08]FM_MakeSignedData done [15:34:08]CreateOFDProtocolMessage [15:34:08]wFMCommunicate request_size=4 [15:34:08]MH_SAM_APDU [15:34:08]CAPDU: 80 11 00 00 [15:34:08]Write to MH i2c: E2 08 00 F4 26 80 11 00 00 00 00 00 00 94 [15:34:08]Write i2c OK [15:34:08]MH_I2C_Read... [15:34:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:34:08]Read from MH i2c: E2 [15:34:08]MH_I2C_Read... [15:34:08]Read from MH i2c: E2 17 00 [15:34:08]MH_I2C_Read... [15:34:08]Read from MH i2c: E2 17 00 F4 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 E6 [15:34:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [15:34:08]wFMCommunicate OK [15:34:08]CreateOFDProtocolMessage done [15:34:08]OFDSenderStorePacket 22284 [15:34:08]StoreOFDPacket docnum=22284 [15:34:08]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 49 01 00 00 A5 2A 41 01 E8 58 5A 03 01 00 03 00 35 01 1E 04 01 00 01 23 04 87 00 8A 04 0D 00 34 36 30 32 34 34 31 30 31 31 31 38 36 06 04 43 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 B8 D0 B7 20 D0 A7 D0 95 D0 A0 D0 9D D0 9E D0 93 D0 9E D0 9B 20 D0 B3 D0 B0 D0 B7 20 D1 82 D0 B0 D1 80 D1 85 D1 83 D0 BD 20 D1 81 D1 82 20 30 2C 35 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 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 31 00 00 00 F4 03 04 00 F7 05 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 0C 57 00 00 35 04 06 00 05 40 77 91 72 F5 67 CA 4A 06 6D 66 76 96 [15:34:08]CheckFolder [15:34:08]dirname=/storage/ofd_packets [15:34:08]CheckFolder done [15:34:08]ProducePacketName [15:34:08]name=ofd_packets/00022284 [15:34:08]NVStorageSaveData ofd_packets/00022284 [15:34:08]File name is /storage/ofd_packets/00022284 [15:34:08]Write 359 bytes [15:34:08]NVStorageSaveData done [15:34:08]OFDSenderStorePacket done [15:34:08]KKMCreateOFDPacket done [15:34:08]NVStorageSaveData kkm_last_timestamp [15:34:08]File name is /storage/kkm_last_timestamp [15:34:08]Write 4 bytes [15:34:08]NVStorageSaveData done [15:34:08]ExternCall_PrintAddStr [15:34:08]wPrintStart [15:34:08]Write to MH i2c: 01 00 00 F5 26 1B [15:34:08]Write i2c OK [15:34:08]MH_I2C_Read... [15:34:08]Read from MH i2c: 01 [15:34:08]MH_I2C_Read... [15:34:08]Read from MH i2c: 01 07 00 [15:34:08]MH_I2C_Read... [15:34:08]Read from MH i2c: 01 07 00 F5 26 00 00 00 00 00 FF 0F 30 [15:34:08]RasterBufferAndPrint [15:34:08]line Счет N : (3)254497 [15:34:08]line ИНН: 02508201610067 [15:34:08]line Контрольно-Кассовый Чек [15:34:08]line ПРОДАЖА [15:34:08]line Товар: 4602441011186 [15:34:08]line Напиток из ЧЕРНОГОЛ газ тархун ст 0,5л [15:34:08]line 1.000 * 125.00 [15:34:08]line = 125.00 [15:34:08]line НДС 12% НСП 1% [15:34:08]line > о реализуемом товаре [15:34:08]line ИТОГО: 125.00 [15:34:08]line НСП 1% : 1.11 [15:34:08]line НДС 12% : 13.27 [15:34:08]line Наличными: 125.00 [15:34:08]line Безнал.: 0.00 [15:34:08]line Место: АЗС № 76 "Партнер Нефть" [15:34:08]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [15:34:08]line СНО: Общий режим [15:34:08]line Чек 49 16.06.2024 15:34 [15:34:08]line Смена: 327 ФФД: 1.0 [15:34:08]line ЗНМ: 0300000200 [15:34:08]line РНМ: 0000000000099755 [15:34:08]line Версия ККМ: 001 [15:34:08]line ФМ: 0000000000965344 [15:34:08]line ФД: 22284 [15:34:08]line ФПД: 5774442066677 [15:34:08]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T153415&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22284&fm=5774442066677&tin=02508201610067®Number=0000000000099755&sum=12500 [15:34:08]line 0 [15:34:08]OFD Sender: Processing packet 22284 [packets to send 5, broken 4] [15:34:08]ProducePacketName [15:34:08]name=ofd_packets/00022284 [15:34:08]OFD Sender: To server: pG, [15:34:08]CommunicateWithHost lk.salyk.kg:30040 [15:34:08]ConnectInit lk.salyk.kg [15:34:08]written 0, free lines is 4095 [15:34:08]Connected sock=10 [15:34:08]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 49 01 00 00 A5 2A 41 01 E8 58 5A 03 01 00 03 00 35 01 1E 04 01 00 01 23 04 87 00 8A 04 0D 00 34 36 30 32 34 34 31 30 31 31 31 38 36 06 04 43 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 B8 D0 B7 20 D0 A7 D0 95 D0 A0 D0 9D D0 9E D0 93 D0 9E D0 9B 20 D0 B3 D0 B0 D0 B7 20 D1 82 D0 B0 D1 80 D1 85 D1 83 D0 BD 20 D1 81 D1 82 20 30 2C 35 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 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 31 00 00 00 F4 03 04 00 F7 05 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 0C 57 00 00 35 04 06 00 05 40 77 91 72 F5 67 CA 4A 06 6D 66 76 96 [15:34:09]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 B3 FD 47 00 EB 78 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 0C 57 00 00 F4 03 04 00 B1 AE 6E 66 B6 04 01 00 00 76 CD 3D 73 AC F2 E1 00 [15:34:09]CommunicateWithHost err = 0 [15:34:09]CheckOFDResponse [15:34:09]1017 (14) - 77093643461234 [15:34:09]1041 (16) - 0000000000965344 [15:34:09]1040 (4) - 22284 [15:34:09]1012 (4) - 16.06.2024 09:21 [15:34:09]1206 (1) - 0 [15:34:09]OFD Sender: Remove packet 22284 [15:34:09]ProducePacketName [15:34:09]name=ofd_packets/00022284 [15:34:09]NVStorageDeleteData [15:34:09]Write to MH i2c: 01 00 00 1E 27 45 [15:34:09]Write i2c OK [15:34:09]MH_I2C_Read... [15:34:09]Read from MH i2c: 01 [15:34:09]MH_I2C_Read... [15:34:09]Read from MH i2c: 01 07 00 [15:34:09]MH_I2C_Read... [15:34:09]Read from MH i2c: 01 07 00 1E 27 00 00 00 00 00 17 0D 70 [15:34:09]RasterBufferAndPrint [15:34:09]line [15:34:09]line [15:34:09]line [15:34:09]line [15:34:09]line [15:34:09]written 0, free lines is 3360 [15:34:09]MH_Cut [15:34:09]Write to MH i2c: D1 01 00 25 27 01 1E [15:34:09]Write i2c OK [15:34:09]MH_I2C_Read... [15:34:09]Read from MH i2c: D1 [15:34:09]MH_I2C_Read... [15:34:09]Read from MH i2c: D1 01 00 [15:34:09]MH_I2C_Read... [15:34:09]Read from MH i2c: D1 01 00 25 27 00 1D [15:34:09]Write to MH i2c: 01 00 00 26 27 4D [15:34:09]Write i2c OK [15:34:09]MH_I2C_Read... [15:34:09]OFD Sender: No OFD packet to send [15:34:09]*** Cut start [15:34:09]*** Partial cut [15:34:09]*** CUTSNS_PIN = 1 [15:34:10]*** CUTSNS_PIN = 0 [15:34:10]*** Brake cut motor [15:34:10]Read from MH i2c: 01 [15:34:10]MH_I2C_Read... [15:34:10]*** Stop cut motor [15:34:10]*** Cut end [15:34:10]Read from MH i2c: 01 07 00 [15:34:10]MH_I2C_Read... [15:34:10]Read from MH i2c: 01 07 00 26 27 00 00 00 00 00 FF 0F 62 [15:34:10]process_action close_receipt done [15:34:10]requested_data is exist [15:34:10]produce_requested_data [15:34:10]requested_item fm.sn is exist - process it [15:34:10]wFMCommunicate request_size=4 [15:34:10]MH_SAM_APDU [15:34:10]CAPDU: 80 11 00 00 [15:34:10]Write to MH i2c: E2 08 00 27 27 80 11 00 00 00 00 00 00 C8 [15:34:10]Write i2c OK [15:34:10]MH_I2C_Read... [15:34:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:34:10]Read from MH i2c: E2 [15:34:10]MH_I2C_Read... [15:34:10]Read from MH i2c: E2 17 00 [15:34:10]MH_I2C_Read... [15:34:10]Read from MH i2c: E2 17 00 27 27 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 1A [15:34:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [15:34:10]wFMCommunicate OK [15:34:10]requested_item fd.num is exist - process it [15:34:10]SAM_PROTO_GetFieldsCounters [15:34:10]wFMCommunicate request_size=4 [15:34:10]MH_SAM_APDU [15:34:10]CAPDU: 80 13 00 00 [15:34:10]Write to MH i2c: E2 08 00 28 27 80 13 00 00 00 00 00 00 CB [15:34:10]Write i2c OK [15:34:10]MH_I2C_Read... [15:34:10]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:34:10]Read from MH i2c: E2 [15:34:10]MH_I2C_Read... [15:34:10]Read from MH i2c: E2 62 00 [15:34:10]MH_I2C_Read... [15:34:10]Read from MH i2c: E2 62 00 28 27 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 0C 57 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 31 00 00 00 5E 04 04 00 31 00 00 00 57 04 04 00 32 00 00 00 19 04 04 00 00 00 00 00 90 00 33 [15:34:10]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 0C 57 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 31 00 00 00 5E 04 04 00 31 00 00 00 57 04 04 00 32 00 00 00 19 04 04 00 00 00 00 00 90 00 [15:34:10]wFMCommunicate OK [15:34:10]SAM_PROTO_GetFieldsCounters done [15:34:10]requested_item shift.num is exist - process it [15:34:10]requested_item shift.opened is exist - process it [15:34:10]req_shift_opened [15:34:10]FM_GetShiftState [15:34:10]SAM_PROTO_GetShiftState [15:34:10]wFMCommunicate request_size=4 [15:34:10]MH_SAM_APDU [15:34:10]CAPDU: 80 13 01 00 [15:34:10]Write to MH i2c: E2 08 00 29 27 80 13 01 00 00 00 00 00 CD [15:34:10]Write i2c OK [15:34:10]MH_I2C_Read... [15:34:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:34:10]Read from MH i2c: E2 [15:34:10]MH_I2C_Read... [15:34:10]Read from MH i2c: E2 0E 00 [15:34:10]MH_I2C_Read... [15:34:10]Read from MH i2c: E2 0E 00 29 27 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 EE [15:34:10]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [15:34:10]wFMCommunicate OK [15:34:10]SAM_PROTO_GetShiftState done [15:34:10]FM_GetShiftState done [15:34:10]req_shift_opened done [15:34:10]requested_item shift.open_date is exist - process it [15:34:10]req_shift_open_date [15:34:10]req_shift_open_date done [15:34:10]produce_requested_data done [15:34:10]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22284,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297} [15:34:10]process_action_free close_receipt [15:34:10]json_value_free [15:34:10]json_value_free done [15:34:10]process_json_proto returns [15:34:10]Send response to host [15:34:10]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22284,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297}}} [15:34:10]free response buf [15:34:10]execute_script done [15:34:10]execute_script returns [15:34:10]free content buf [15:34:10]Sock 9.Close socket [15:34:10]Sock 9.Thread stoped [15:34:14]OFD Sender: No OFD packet to send [15:34:19]OFD Sender: No OFD packet to send [15:34:24]OFD Sender: No OFD packet to send [15:34:29]OFD Sender: No OFD packet to send [15:34:34]OFD Sender: No OFD packet to send [15:34:39]OFD Sender: No OFD packet to send [15:34:44]OFD Sender: No OFD packet to send [15:34:49]OFD Sender: No OFD packet to send [15:34:54]OFD Sender: No OFD packet to send [15:34:59]OFD Sender: No OFD packet to send [15:35:04]OFD Sender: No OFD packet to send [15:35:09]OFD Sender: No OFD packet to send [15:35:14]OFD Sender: No OFD packet to send [15:35:19]OFD Sender: No OFD packet to send [15:35:24]OFD Sender: No OFD packet to send [15:35:29]OFD Sender: No OFD packet to send [15:35:34]OFD Sender: No OFD packet to send [15:35:39]OFD Sender: No OFD packet to send [15:35:44]OFD Sender: No OFD packet to send [15:35:49]OFD Sender: No OFD packet to send [15:35:54]OFD Sender: No OFD packet to send [15:35:59]OFD Sender: No OFD packet to send [15:36:04]OFD Sender: No OFD packet to send [15:36:09]OFD Sender: No OFD packet to send [15:36:14]OFD Sender: No OFD packet to send [15:36:19]OFD Sender: No OFD packet to send [15:36:24]OFD Sender: No OFD packet to send [15:36:29]OFD Sender: No OFD packet to send [15:36:34]OFD Sender: No OFD packet to send [15:36:39]OFD Sender: No OFD packet to send [15:36:44]OFD Sender: No OFD packet to send [15:36:49]OFD Sender: No OFD packet to send [15:36:54]OFD Sender: No OFD packet to send [15:36:59]OFD Sender: No OFD packet to send [15:37:04]OFD Sender: No OFD packet to send [15:37:09]OFD Sender: No OFD packet to send [15:37:14]OFD Sender: No OFD packet to send [15:37:19]OFD Sender: No OFD packet to send [15:37:24]OFD Sender: No OFD packet to send [15:37:29]OFD Sender: No OFD packet to send [15:37:34]OFD Sender: No OFD packet to send [15:37:39]OFD Sender: No OFD packet to send [15:37:44]OFD Sender: No OFD packet to send [15:37:49]OFD Sender: No OFD packet to send [15:37:54]OFD Sender: No OFD packet to send [15:37:59]OFD Sender: No OFD packet to send [15:38:04]OFD Sender: No OFD packet to send [15:38:09]OFD Sender: No OFD packet to send [15:38:14]OFD Sender: No OFD packet to send [15:38:19]OFD Sender: No OFD packet to send [15:38:24]OFD Sender: No OFD packet to send [15:38:29]OFD Sender: No OFD packet to send [15:38:34]OFD Sender: No OFD packet to send [15:38:39]OFD Sender: No OFD packet to send [15:38:44]OFD Sender: No OFD packet to send [15:38:49]OFD Sender: No OFD packet to send [15:38:54]OFD Sender: No OFD packet to send [15:38:59]OFD Sender: No OFD packet to send [15:39:04]OFD Sender: No OFD packet to send [15:39:09]OFD Sender: No OFD packet to send [15:39:14]OFD Sender: No OFD packet to send [15:39:19]OFD Sender: No OFD packet to send [15:39:24]OFD Sender: No OFD packet to send [15:39:29]OFD Sender: No OFD packet to send [15:39:34]OFD Sender: No OFD packet to send [15:39:39]OFD Sender: No OFD packet to send [15:39:44]OFD Sender: No OFD packet to send [15:39:49]OFD Sender: No OFD packet to send [15:39:54]OFD Sender: No OFD packet to send [15:39:59]OFD Sender: No OFD packet to send [15:40:04]OFD Sender: No OFD packet to send [15:40:09]OFD Sender: No OFD packet to send [15:40:14]OFD Sender: No OFD packet to send [15:40:19]OFD Sender: No OFD packet to send [15:40:24]OFD Sender: No OFD packet to send [15:40:29]OFD Sender: No OFD packet to send [15:40:35]OFD Sender: No OFD packet to send [15:40:40]OFD Sender: No OFD packet to send [15:40:45]OFD Sender: No OFD packet to send [15:40:50]OFD Sender: No OFD packet to send [15:40:55]OFD Sender: No OFD packet to send [15:41:00]OFD Sender: No OFD packet to send [15:41:05]OFD Sender: No OFD packet to send [15:41:10]OFD Sender: No OFD packet to send [15:41:15]OFD Sender: No OFD packet to send [15:41:20]OFD Sender: No OFD packet to send [15:41:25]OFD Sender: No OFD packet to send [15:41:30]OFD Sender: No OFD packet to send [15:41:35]OFD Sender: No OFD packet to send [15:41:40]OFD Sender: No OFD packet to send [15:41:45]OFD Sender: No OFD packet to send [15:41:50]OFD Sender: No OFD packet to send [15:41:55]OFD Sender: No OFD packet to send [15:42:00]OFD Sender: No OFD packet to send [15:42:05]OFD Sender: No OFD packet to send [15:42:10]OFD Sender: No OFD packet to send [15:42:15]OFD Sender: No OFD packet to send [15:42:20]OFD Sender: No OFD packet to send [15:42:25]OFD Sender: No OFD packet to send [15:42:30]OFD Sender: No OFD packet to send [15:42:35]OFD Sender: No OFD packet to send [15:42:40]OFD Sender: No OFD packet to send [15:42:45]OFD Sender: No OFD packet to send [15:42:50]OFD Sender: No OFD packet to send [15:42:55]OFD Sender: No OFD packet to send [15:43:00]OFD Sender: No OFD packet to send [15:43:05]OFD Sender: No OFD packet to send [15:43:10]OFD Sender: No OFD packet to send [15:43:15]OFD Sender: No OFD packet to send [15:43:20]OFD Sender: No OFD packet to send [15:43:25]OFD Sender: No OFD packet to send [15:43:30]OFD Sender: No OFD packet to send [15:43:35]OFD Sender: No OFD packet to send [15:43:40]OFD Sender: No OFD packet to send [15:43:45]OFD Sender: No OFD packet to send [15:43:50]OFD Sender: No OFD packet to send [15:43:55]OFD Sender: No OFD packet to send [15:44:00]OFD Sender: No OFD packet to send [15:44:05]OFD Sender: No OFD packet to send [15:44:10]OFD Sender: No OFD packet to send [15:44:15]OFD Sender: No OFD packet to send [15:44:20]OFD Sender: No OFD packet to send [15:44:25]OFD Sender: No OFD packet to send [15:44:30]OFD Sender: No OFD packet to send [15:44:35]OFD Sender: No OFD packet to send [15:44:40]OFD Sender: No OFD packet to send [15:44:45]OFD Sender: No OFD packet to send [15:44:50]OFD Sender: No OFD packet to send [15:44:55]OFD Sender: No OFD packet to send [15:45:00]OFD Sender: No OFD packet to send [15:45:05]OFD Sender: No OFD packet to send [15:45:10]OFD Sender: No OFD packet to send [15:45:15]OFD Sender: No OFD packet to send [15:45:20]OFD Sender: No OFD packet to send [15:45:25]OFD Sender: No OFD packet to send [15:45:30]OFD Sender: No OFD packet to send [15:45:35]OFD Sender: No OFD packet to send [15:45:40]OFD Sender: No OFD packet to send [15:45:45]OFD Sender: No OFD packet to send [15:45:50]OFD Sender: No OFD packet to send [15:45:55]OFD Sender: No OFD packet to send [15:46:00]OFD Sender: No OFD packet to send [15:46:05]OFD Sender: No OFD packet to send [15:46:10]OFD Sender: No OFD packet to send [15:46:15]OFD Sender: No OFD packet to send [15:46:20]OFD Sender: No OFD packet to send [15:46:25]OFD Sender: No OFD packet to send [15:46:30]OFD Sender: No OFD packet to send [15:46:35]OFD Sender: No OFD packet to send [15:46:40]OFD Sender: No OFD packet to send [15:46:45]OFD Sender: No OFD packet to send [15:46:50]OFD Sender: No OFD packet to send [15:46:55]OFD Sender: No OFD packet to send [15:47:00]OFD Sender: No OFD packet to send [15:47:05]OFD Sender: No OFD packet to send [15:47:10]OFD Sender: No OFD packet to send [15:47:15]OFD Sender: No OFD packet to send [15:47:20]OFD Sender: No OFD packet to send [15:47:25]OFD Sender: No OFD packet to send [15:47:30]OFD Sender: No OFD packet to send [15:47:35]OFD Sender: No OFD packet to send [15:47:40]OFD Sender: No OFD packet to send [15:47:45]OFD Sender: No OFD packet to send [15:47:50]OFD Sender: No OFD packet to send [15:47:55]OFD Sender: No OFD packet to send [15:48:00]OFD Sender: No OFD packet to send [15:48:05]OFD Sender: No OFD packet to send [15:48:10]OFD Sender: No OFD packet to send [15:48:15]OFD Sender: No OFD packet to send [15:48:20]OFD Sender: No OFD packet to send [15:48:25]OFD Sender: No OFD packet to send [15:48:30]OFD Sender: No OFD packet to send [15:48:35]OFD Sender: No OFD packet to send [15:48:40]OFD Sender: No OFD packet to send [15:48:45]OFD Sender: No OFD packet to send [15:48:50]OFD Sender: No OFD packet to send [15:48:55]OFD Sender: No OFD packet to send [15:49:00]OFD Sender: No OFD packet to send [15:49:05]OFD Sender: No OFD packet to send [15:49:10]OFD Sender: No OFD packet to send [15:49:15]OFD Sender: No OFD packet to send [15:49:20]OFD Sender: No OFD packet to send [15:49:25]OFD Sender: No OFD packet to send [15:49:30]OFD Sender: No OFD packet to send [15:49:35]OFD Sender: No OFD packet to send [15:49:40]OFD Sender: No OFD packet to send [15:49:45]OFD Sender: No OFD packet to send [15:49:50]OFD Sender: No OFD packet to send [15:49:55]OFD Sender: No OFD packet to send [15:50:00]OFD Sender: No OFD packet to send [15:50:05]OFD Sender: No OFD packet to send [15:50:10]OFD Sender: No OFD packet to send [15:50:14]accept exits with 8 [15:50:14]New connection [15:50:14]New thread 3066695012 created [15:50:14]Thread 3066838372 joined [15:50:14]Waiting for new connection... [15:50:14] Sock 8.Parse request [15:50:14]Sock 8.Check first char [15:50:14]Sock 8.First char is OK [15:50:14]request: POST /json_proto HTTP/1.0 [15:50:14]Method: POST [15:50:14]URL: /json_proto [15:50:14]Method is POST - this is cgi request [15:50:14]url: /json_proto [15:50:14]query_string will be loaded in cgi processing [15:50:14]execute_cgi json_proto POST (null) [15:50:14]execute_cgi path=json_proto method=POST [15:50:14]POST find Content-Length [15:50:14]Host: 172.17.35.133:8080 [15:50:14]Content-Length: 711 [15:50:14]Content-Type: application/json [15:50:14] [15:50:14]POST finish read [15:50:14]Found Content-Length = 711 [15:50:14]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254498", "tax_sys" : 0, "items" : [ { "code": "4870001571030", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043A\u043B\u0443\u0431\u043D,\u043A\u0438\u0432\u0438 \u041F\u042D\u0422 1\u043B", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 85.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:50:14]execute_script... [15:50:14]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254498", "tax_sys" : 0, "items" : [ { "code": "4870001571030", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043A\u043B\u0443\u0431\u043D,\u043A\u0438\u0432\u0438 \u041F\u042D\u0422 1\u043B", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 85.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:50:14]POST & json_proto [15:50:14]process_json_proto [15:50:14]json parsed OK: [15:50:14]protocol is kg_v1.0 [15:50:14]action value=close_receipt [15:50:14]process_action close_receipt [15:50:14]cmd_close_receipt [15:50:14]MH_GetDate [15:50:14]Write to MH i2c: F0 00 00 2A 27 40 [15:50:14]Write i2c OK [15:50:14]MH_I2C_Read... [15:50:14]Read from MH i2c: F0 [15:50:14]MH_I2C_Read... [15:50:14]Read from MH i2c: F0 09 00 [15:50:14]MH_I2C_Read... [15:50:14]Read from MH i2c: F0 09 00 2A 27 00 BF 09 6F 66 8C 55 28 65 54 [15:50:14]GetLastDocTimeStamp 1718552055 [15:50:14]current date 1718553023 [15:50:14]FM_GetShiftState [15:50:14]SAM_PROTO_GetShiftState [15:50:14]wFMCommunicate request_size=4 [15:50:14]MH_SAM_APDU [15:50:14]CAPDU: 80 13 01 00 [15:50:14]Write to MH i2c: E2 08 00 2B 27 80 13 01 00 00 00 00 00 CF [15:50:14]Write i2c OK [15:50:14]MH_I2C_Read... [15:50:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:50:14]Read from MH i2c: E2 [15:50:14]MH_I2C_Read... [15:50:14]Read from MH i2c: E2 0E 00 [15:50:14]MH_I2C_Read... [15:50:14]Read from MH i2c: E2 0E 00 2B 27 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 F0 [15:50:14]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [15:50:14]wFMCommunicate OK [15:50:14]SAM_PROTO_GetShiftState done [15:50:14]FM_GetShiftState done [15:50:14]opened in 1718497297 [15:50:14]opened+sec_in_day 1718583697 [15:50:14]quantity*price = 8500 [15:50:14]sum+1 = 8501 [15:50:14]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 85.00 НСП 1% : 0.75 НДС 12% : 9.03 Наличными: 85.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 50 16.06.2024 15:50 Смена: 327 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22285 ФПД: 29747969214144 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T155023&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22285&fm=29747969214144&tin=02508201610067®Number=0000000000099755&sum=8500 0 [15:50:15]StoreToDocumentArchive [15:50:15]shift 327 fd 22285 [15:50:15]save to /storage/0327/doc_00022285 [15:50:15]save last doc name /storage/0327/doc_00022285 to /storage/kkm_last_doc_name [15:50:15]save OK [15:50:15]Clear old archive folders... [15:50:15]ProcessDocumentItem done err = 0, tmpTLVsize=302 [15:50:15]tlvbuf is 001CD4D0 [15:50:15]SAM_PROTO_ClearQueue [15:50:15]wFMCommunicate request_size=4 [15:50:15]MH_SAM_APDU [15:50:15]CAPDU: 80 09 00 00 [15:50:15]Write to MH i2c: E2 08 00 38 27 80 09 00 00 00 00 00 00 D1 [15:50:15]Write i2c OK [15:50:15]MH_I2C_Read... [15:50:16]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:50:16]Read from MH i2c: E2 [15:50:16]MH_I2C_Read... [15:50:16]Read from MH i2c: E2 03 00 [15:50:16]MH_I2C_Read... [15:50:16]Read from MH i2c: E2 03 00 38 27 00 90 00 D3 [15:50:16]RAPDU: 90 00 [15:50:16]wFMCommunicate OK [15:50:16]SAM_PROTO_ClearQueue done [15:50:16]KKMCreateOFDPacket [15:50:16]OFDProtocolAddRootSTLVToBuf [15:50:16]FM_MakeSignedData [15:50:16]FM_MakeSignedData [15:50:16]SAM_PROTO_SignData [15:50:16]wFMCommunicate request_size=4 [15:50:16]MH_SAM_APDU [15:50:16]CAPDU: 80 0D 01 02 [15:50:16]Write to MH i2c: E2 08 00 39 27 80 0D 01 02 00 00 00 00 D9 [15:50:16]Write i2c OK [15:50:16]MH_I2C_Read... [15:50:16]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:50:16]Read from MH i2c: E2 [15:50:16]MH_I2C_Read... [15:50:16]Read from MH i2c: E2 03 00 [15:50:16]MH_I2C_Read... [15:50:16]Read from MH i2c: E2 03 00 39 27 00 90 00 D4 [15:50:16]RAPDU: 90 00 [15:50:16]wFMCommunicate OK [15:50:16]wFMCommunicate request_size=255 [15:50:16]MH_SAM_APDU [15:50:16]CAPDU: 80 0D 02 02 FA 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 30 33 30 06 04 3C 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 2C D0 BA D0 B8 D0 B2 D0 B8 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 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 34 21 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 BF 09 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 [15:50:16]Write to MH i2c: E2 02 01 3A 27 80 0D 02 02 FA 00 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 30 33 30 06 04 3C 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 2C D0 BA D0 B8 D0 B2 D0 B8 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 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 34 21 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 BF 09 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 00 00 2E [15:50:16]Write i2c OK [15:50:16]MH_I2C_Read... [15:50:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:50:16]Read from MH i2c: E2 [15:50:16]MH_I2C_Read... [15:50:16]Read from MH i2c: E2 03 00 [15:50:16]MH_I2C_Read... [15:50:16]Read from MH i2c: E2 03 00 3A 27 00 90 00 D5 [15:50:16]RAPDU: 90 00 [15:50:16]wFMCommunicate OK [15:50:16]wFMCommunicate request_size=61 [15:50:16]MH_SAM_APDU [15:50:16]CAPDU: 80 0D 02 02 38 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 0D 57 00 00 35 04 06 00 1B 0E 3D 23 46 C0 [15:50:16]Write to MH i2c: E2 40 00 3B 27 80 0D 02 02 38 00 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 0D 57 00 00 35 04 06 00 1B 0E 3D 23 46 C0 00 00 0D [15:50:16]Write i2c OK [15:50:16]MH_I2C_Read... [15:50:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:50:16]Read from MH i2c: E2 [15:50:16]MH_I2C_Read... [15:50:16]Read from MH i2c: E2 03 00 [15:50:16]MH_I2C_Read... [15:50:16]Read from MH i2c: E2 03 00 3B 27 00 90 00 D6 [15:50:16]RAPDU: 90 00 [15:50:16]wFMCommunicate OK [15:50:16]wFMCommunicate request_size=4 [15:50:16]MH_SAM_APDU [15:50:16]CAPDU: 80 0D 03 02 [15:50:16]Write to MH i2c: E2 08 00 3C 27 80 0D 03 02 00 00 00 00 DE [15:50:16]Write i2c OK [15:50:16]MH_I2C_Read... [15:50:16]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:50:16]Read from MH i2c: E2 [15:50:16]MH_I2C_Read... [15:50:16]Read from MH i2c: E2 0B 00 [15:50:16]MH_I2C_Read... [15:50:16]Read from MH i2c: E2 0B 00 3C 27 00 26 A0 73 8C 48 E0 FA 65 90 00 2B [15:50:16]RAPDU: 26 A0 73 8C 48 E0 FA 65 90 00 [15:50:16]wFMCommunicate OK [15:50:16]SAM_PROTO_SignData done [15:50:16]FM_MakeSignedData done [15:50:16]CreateOFDProtocolMessage [15:50:16]wFMCommunicate request_size=4 [15:50:16]MH_SAM_APDU [15:50:16]CAPDU: 80 11 00 00 [15:50:16]Write to MH i2c: E2 08 00 3D 27 80 11 00 00 00 00 00 00 DE [15:50:16]Write i2c OK [15:50:16]MH_I2C_Read... [15:50:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:50:16]Read from MH i2c: E2 [15:50:16]MH_I2C_Read... [15:50:16]Read from MH i2c: E2 17 00 [15:50:16]MH_I2C_Read... [15:50:16]Read from MH i2c: E2 17 00 3D 27 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 30 [15:50:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [15:50:16]wFMCommunicate OK [15:50:16]CreateOFDProtocolMessage done [15:50:16]OFDSenderStorePacket 22285 [15:50:16]StoreOFDPacket docnum=22285 [15:50:16]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 42 01 00 00 1F 15 3A 01 39 78 5A 03 01 00 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 30 33 30 06 04 3C 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 2C D0 BA D0 B8 D0 B2 D0 B8 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 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 34 21 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 BF 09 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 0D 57 00 00 35 04 06 00 1B 0E 3D 23 46 C0 26 A0 73 8C 48 E0 FA 65 [15:50:16]CheckFolder [15:50:16]dirname=/storage/ofd_packets [15:50:16]CheckFolder done [15:50:16]ProducePacketName [15:50:16]name=ofd_packets/00022285 [15:50:16]NVStorageSaveData ofd_packets/00022285 [15:50:16]File name is /storage/ofd_packets/00022285 [15:50:16]Write 352 bytes [15:50:16]NVStorageSaveData done [15:50:16]OFDSenderStorePacket done [15:50:16]KKMCreateOFDPacket done [15:50:16]NVStorageSaveData kkm_last_timestamp [15:50:16]File name is /storage/kkm_last_timestamp [15:50:16]Write 4 bytes [15:50:16]NVStorageSaveData done [15:50:16]ExternCall_PrintAddStr [15:50:16]wPrintStart [15:50:16]Write to MH i2c: 01 00 00 3E 27 65 [15:50:16]Write i2c OK [15:50:16]MH_I2C_Read... [15:50:16]Read from MH i2c: 01 [15:50:16]MH_I2C_Read... [15:50:16]Read from MH i2c: 01 07 00 [15:50:16]MH_I2C_Read... [15:50:16]Read from MH i2c: 01 07 00 3E 27 00 00 00 00 00 FF 0F 7A [15:50:16]RasterBufferAndPrint [15:50:16]line Счет N : (3)254498 [15:50:16]line ИНН: 02508201610067 [15:50:16]line Контрольно-Кассовый Чек [15:50:16]line ПРОДАЖА [15:50:16]line Товар: 4870001571030 [15:50:16]line Вода ASU пит н.газ клубн,киви ПЭТ 1л [15:50:16]line 1.000 * 85.00 [15:50:16]line = 85.00 [15:50:16]line НДС 12% НСП 1% [15:50:16]line > о реализуемом товаре [15:50:16]line ИТОГО: 85.00 [15:50:16]line НСП 1% : 0.75 [15:50:16]line НДС 12% : 9.03 [15:50:16]line Наличными: 85.00 [15:50:16]line Безнал.: 0.00 [15:50:16]line Место: АЗС № 76 "Партнер Нефть" [15:50:16]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [15:50:16]line СНО: Общий режим [15:50:16]line Чек 50 16.06.2024 15:50 [15:50:16]line Смена: 327 ФФД: 1.0 [15:50:16]line ЗНМ: 0300000200 [15:50:16]line РНМ: 0000000000099755 [15:50:16]line Версия ККМ: 001 [15:50:16]line ФМ: 0000000000965344 [15:50:16]line ФД: 22285 [15:50:16]line ФПД: 29747969214144 [15:50:16]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T155023&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22285&fm=29747969214144&tin=02508201610067®Number=0000000000099755&sum=8500 [15:50:16]line 0 [15:50:16]OFD Sender: Processing packet 22285 [packets to send 5, broken 4] [15:50:16]ProducePacketName [15:50:16]name=ofd_packets/00022285 [15:50:16]OFD Sender: To server: pG, [15:50:16]CommunicateWithHost lk.salyk.kg:30040 [15:50:16]ConnectInit lk.salyk.kg [15:50:16]written 0, free lines is 4095 [15:50:16]Connected sock=10 [15:50:16]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 42 01 00 00 1F 15 3A 01 39 78 5A 03 01 00 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 30 33 30 06 04 3C 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 2C D0 BA D0 B8 D0 B2 D0 B8 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 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 34 21 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 BF 09 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 0D 57 00 00 35 04 06 00 1B 0E 3D 23 46 C0 26 A0 73 8C 48 E0 FA 65 [15:50:17]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 FA D7 47 00 1A F8 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 0D 57 00 00 F4 03 04 00 79 B2 6E 66 B6 04 01 00 00 DB CF AC EE 70 16 47 42 [15:50:17]CommunicateWithHost err = 0 [15:50:17]CheckOFDResponse [15:50:17]1017 (14) - 77093643461234 [15:50:17]1041 (16) - 0000000000965344 [15:50:17]1040 (4) - 22285 [15:50:17]1012 (4) - 16.06.2024 09:38 [15:50:17]1206 (1) - 0 [15:50:17]OFD Sender: Remove packet 22285 [15:50:17]ProducePacketName [15:50:17]name=ofd_packets/00022285 [15:50:17]NVStorageDeleteData [15:50:17]Write to MH i2c: 01 00 00 67 27 8E [15:50:17]Write i2c OK [15:50:17]MH_I2C_Read... [15:50:17]Read from MH i2c: 01 [15:50:17]MH_I2C_Read... [15:50:17]Read from MH i2c: 01 07 00 [15:50:17]MH_I2C_Read... [15:50:17]Read from MH i2c: 01 07 00 67 27 00 00 00 00 00 16 0D B8 [15:50:17]RasterBufferAndPrint [15:50:17]line [15:50:17]line [15:50:17]line [15:50:17]line [15:50:17]line [15:50:17]written 0, free lines is 3356 [15:50:17]MH_Cut [15:50:17]Write to MH i2c: D1 01 00 6E 27 01 67 [15:50:17]Write i2c OK [15:50:17]MH_I2C_Read... [15:50:17]Read from MH i2c: D1 [15:50:17]MH_I2C_Read... [15:50:17]Read from MH i2c: D1 01 00 [15:50:17]MH_I2C_Read... [15:50:17]Read from MH i2c: D1 01 00 6E 27 00 66 [15:50:17]Write to MH i2c: 01 00 00 6F 27 96 [15:50:17]Write i2c OK [15:50:17]MH_I2C_Read... [15:50:17]OFD Sender: No OFD packet to send [15:50:17]*** Cut start [15:50:17]*** Partial cut [15:50:17]*** CUTSNS_PIN = 1 [15:50:18]*** CUTSNS_PIN = 0 [15:50:18]*** Brake cut motor [15:50:18]Read from MH i2c: 01 [15:50:18]MH_I2C_Read... [15:50:18]*** Stop cut motor [15:50:18]*** Cut end [15:50:18]Read from MH i2c: 01 07 00 [15:50:18]MH_I2C_Read... [15:50:18]Read from MH i2c: 01 07 00 6F 27 00 00 00 00 00 FF 0F AB [15:50:18]process_action close_receipt done [15:50:18]requested_data is exist [15:50:18]produce_requested_data [15:50:18]requested_item fm.sn is exist - process it [15:50:18]wFMCommunicate request_size=4 [15:50:18]MH_SAM_APDU [15:50:18]CAPDU: 80 11 00 00 [15:50:18]Write to MH i2c: E2 08 00 70 27 80 11 00 00 00 00 00 00 11 [15:50:18]Write i2c OK [15:50:18]MH_I2C_Read... [15:50:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:50:18]Read from MH i2c: E2 [15:50:18]MH_I2C_Read... [15:50:18]Read from MH i2c: E2 17 00 [15:50:18]MH_I2C_Read... [15:50:18]Read from MH i2c: E2 17 00 70 27 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 63 [15:50:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [15:50:18]wFMCommunicate OK [15:50:18]requested_item fd.num is exist - process it [15:50:18]SAM_PROTO_GetFieldsCounters [15:50:18]wFMCommunicate request_size=4 [15:50:18]MH_SAM_APDU [15:50:18]CAPDU: 80 13 00 00 [15:50:18]Write to MH i2c: E2 08 00 71 27 80 13 00 00 00 00 00 00 14 [15:50:18]Write i2c OK [15:50:18]MH_I2C_Read... [15:50:18]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:50:18]Read from MH i2c: E2 [15:50:18]MH_I2C_Read... [15:50:18]Read from MH i2c: E2 62 00 [15:50:18]MH_I2C_Read... [15:50:18]Read from MH i2c: E2 62 00 71 27 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 0D 57 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 32 00 00 00 5E 04 04 00 32 00 00 00 57 04 04 00 33 00 00 00 19 04 04 00 00 00 00 00 90 00 80 [15:50:18]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 0D 57 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 32 00 00 00 5E 04 04 00 32 00 00 00 57 04 04 00 33 00 00 00 19 04 04 00 00 00 00 00 90 00 [15:50:18]wFMCommunicate OK [15:50:18]SAM_PROTO_GetFieldsCounters done [15:50:18]requested_item shift.num is exist - process it [15:50:18]requested_item shift.opened is exist - process it [15:50:18]req_shift_opened [15:50:18]FM_GetShiftState [15:50:18]SAM_PROTO_GetShiftState [15:50:18]wFMCommunicate request_size=4 [15:50:18]MH_SAM_APDU [15:50:18]CAPDU: 80 13 01 00 [15:50:18]Write to MH i2c: E2 08 00 72 27 80 13 01 00 00 00 00 00 16 [15:50:18]Write i2c OK [15:50:18]MH_I2C_Read... [15:50:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:50:18]Read from MH i2c: E2 [15:50:18]MH_I2C_Read... [15:50:18]Read from MH i2c: E2 0E 00 [15:50:18]MH_I2C_Read... [15:50:18]Read from MH i2c: E2 0E 00 72 27 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 37 [15:50:18]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [15:50:18]wFMCommunicate OK [15:50:18]SAM_PROTO_GetShiftState done [15:50:18]FM_GetShiftState done [15:50:18]req_shift_opened done [15:50:18]requested_item shift.open_date is exist - process it [15:50:18]req_shift_open_date [15:50:18]req_shift_open_date done [15:50:18]produce_requested_data done [15:50:18]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22285,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297} [15:50:18]process_action_free close_receipt [15:50:18]json_value_free [15:50:18]json_value_free done [15:50:18]process_json_proto returns [15:50:18]Send response to host [15:50:18]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22285,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297}}} [15:50:18]free response buf [15:50:18]execute_script done [15:50:18]execute_script returns [15:50:18]free content buf [15:50:18]Sock 8.Close socket [15:50:18]Sock 8.Thread stoped [15:50:22]OFD Sender: No OFD packet to send [15:50:27]OFD Sender: No OFD packet to send [15:50:32]OFD Sender: No OFD packet to send [15:50:37]OFD Sender: No OFD packet to send [15:50:42]OFD Sender: No OFD packet to send [15:50:47]OFD Sender: No OFD packet to send [15:50:52]OFD Sender: No OFD packet to send [15:50:57]OFD Sender: No OFD packet to send [15:51:02]OFD Sender: No OFD packet to send [15:51:07]OFD Sender: No OFD packet to send [15:51:12]OFD Sender: No OFD packet to send [15:51:17]OFD Sender: No OFD packet to send [15:51:22]OFD Sender: No OFD packet to send [15:51:27]OFD Sender: No OFD packet to send [15:51:32]OFD Sender: No OFD packet to send [15:51:37]OFD Sender: No OFD packet to send [15:51:42]OFD Sender: No OFD packet to send [15:51:47]OFD Sender: No OFD packet to send [15:51:52]OFD Sender: No OFD packet to send [15:51:57]OFD Sender: No OFD packet to send [15:52:02]OFD Sender: No OFD packet to send [15:52:07]OFD Sender: No OFD packet to send [15:52:12]OFD Sender: No OFD packet to send [15:52:17]OFD Sender: No OFD packet to send [15:52:22]OFD Sender: No OFD packet to send [15:52:27]OFD Sender: No OFD packet to send [15:52:32]OFD Sender: No OFD packet to send [15:52:37]OFD Sender: No OFD packet to send [15:52:42]OFD Sender: No OFD packet to send [15:52:47]OFD Sender: No OFD packet to send [15:52:52]OFD Sender: No OFD packet to send [15:52:57]OFD Sender: No OFD packet to send [15:53:02]OFD Sender: No OFD packet to send [15:53:07]OFD Sender: No OFD packet to send [15:53:12]OFD Sender: No OFD packet to send [15:53:17]OFD Sender: No OFD packet to send [15:53:22]OFD Sender: No OFD packet to send [15:53:27]OFD Sender: No OFD packet to send [15:53:32]OFD Sender: No OFD packet to send [15:53:37]OFD Sender: No OFD packet to send [15:53:42]OFD Sender: No OFD packet to send [15:53:47]OFD Sender: No OFD packet to send [15:53:52]OFD Sender: No OFD packet to send [15:53:57]OFD Sender: No OFD packet to send [15:54:02]OFD Sender: No OFD packet to send [15:54:07]OFD Sender: No OFD packet to send [15:54:12]OFD Sender: No OFD packet to send [15:54:17]OFD Sender: No OFD packet to send [15:54:22]OFD Sender: No OFD packet to send [15:54:27]OFD Sender: No OFD packet to send [15:54:32]OFD Sender: No OFD packet to send [15:54:37]OFD Sender: No OFD packet to send [15:54:42]OFD Sender: No OFD packet to send [15:54:47]OFD Sender: No OFD packet to send [15:54:52]OFD Sender: No OFD packet to send [15:54:57]OFD Sender: No OFD packet to send [15:55:02]OFD Sender: No OFD packet to send [15:55:07]OFD Sender: No OFD packet to send [15:55:12]OFD Sender: No OFD packet to send [15:55:17]OFD Sender: No OFD packet to send [15:55:22]OFD Sender: No OFD packet to send [15:55:27]OFD Sender: No OFD packet to send [15:55:32]OFD Sender: No OFD packet to send [15:55:37]OFD Sender: No OFD packet to send [15:55:42]OFD Sender: No OFD packet to send [15:55:47]OFD Sender: No OFD packet to send [15:55:52]OFD Sender: No OFD packet to send [15:55:57]OFD Sender: No OFD packet to send [15:56:02]OFD Sender: No OFD packet to send [15:56:08]OFD Sender: No OFD packet to send [15:56:13]OFD Sender: No OFD packet to send [15:56:18]OFD Sender: No OFD packet to send [15:56:23]OFD Sender: No OFD packet to send [15:56:28]OFD Sender: No OFD packet to send [15:56:33]OFD Sender: No OFD packet to send [15:56:38]OFD Sender: No OFD packet to send [15:56:43]OFD Sender: No OFD packet to send [15:56:48]OFD Sender: No OFD packet to send [15:56:53]OFD Sender: No OFD packet to send [15:56:58]OFD Sender: No OFD packet to send [15:57:03]OFD Sender: No OFD packet to send [15:57:08]OFD Sender: No OFD packet to send [15:57:13]OFD Sender: No OFD packet to send [15:57:18]OFD Sender: No OFD packet to send [15:57:23]OFD Sender: No OFD packet to send [15:57:28]OFD Sender: No OFD packet to send [15:57:33]OFD Sender: No OFD packet to send [15:57:38]OFD Sender: No OFD packet to send [15:57:43]OFD Sender: No OFD packet to send [15:57:48]OFD Sender: No OFD packet to send [15:57:53]OFD Sender: No OFD packet to send [15:57:58]OFD Sender: No OFD packet to send [15:58:03]OFD Sender: No OFD packet to send [15:58:08]OFD Sender: No OFD packet to send [15:58:13]OFD Sender: No OFD packet to send [15:58:18]OFD Sender: No OFD packet to send [15:58:23]OFD Sender: No OFD packet to send [15:58:28]OFD Sender: No OFD packet to send [15:58:33]OFD Sender: No OFD packet to send [15:58:38]OFD Sender: No OFD packet to send [15:58:43]OFD Sender: No OFD packet to send [15:58:48]OFD Sender: No OFD packet to send [15:58:53]OFD Sender: No OFD packet to send [15:58:58]OFD Sender: No OFD packet to send [15:59:03]OFD Sender: No OFD packet to send [15:59:08]OFD Sender: No OFD packet to send [15:59:13]OFD Sender: No OFD packet to send [15:59:18]OFD Sender: No OFD packet to send [15:59:23]OFD Sender: No OFD packet to send [15:59:28]OFD Sender: No OFD packet to send [15:59:33]OFD Sender: No OFD packet to send [15:59:38]OFD Sender: No OFD packet to send [15:59:43]OFD Sender: No OFD packet to send [15:59:48]OFD Sender: No OFD packet to send [15:59:53]OFD Sender: No OFD packet to send [15:59:58]OFD Sender: No OFD packet to send [16:00:03]OFD Sender: No OFD packet to send [16:00:08]OFD Sender: No OFD packet to send [16:00:13]OFD Sender: No OFD packet to send [16:00:18]OFD Sender: No OFD packet to send [16:00:23]OFD Sender: No OFD packet to send [16:00:28]OFD Sender: No OFD packet to send [16:00:33]OFD Sender: No OFD packet to send [16:00:38]OFD Sender: No OFD packet to send [16:00:43]OFD Sender: No OFD packet to send [16:00:48]OFD Sender: No OFD packet to send [16:00:53]OFD Sender: No OFD packet to send [16:00:58]OFD Sender: No OFD packet to send [16:01:03]OFD Sender: No OFD packet to send [16:01:08]OFD Sender: No OFD packet to send [16:01:13]OFD Sender: No OFD packet to send [16:01:18]OFD Sender: No OFD packet to send [16:01:23]OFD Sender: No OFD packet to send [16:01:28]OFD Sender: No OFD packet to send [16:01:33]OFD Sender: No OFD packet to send [16:01:38]OFD Sender: No OFD packet to send [16:01:43]OFD Sender: No OFD packet to send [16:01:48]OFD Sender: No OFD packet to send [16:01:53]OFD Sender: No OFD packet to send [16:01:58]OFD Sender: No OFD packet to send [16:02:03]OFD Sender: No OFD packet to send [16:02:08]OFD Sender: No OFD packet to send [16:02:13]OFD Sender: No OFD packet to send [16:02:18]OFD Sender: No OFD packet to send [16:02:23]OFD Sender: No OFD packet to send [16:02:28]OFD Sender: No OFD packet to send [16:02:33]OFD Sender: No OFD packet to send [16:02:38]OFD Sender: No OFD packet to send [16:02:43]OFD Sender: No OFD packet to send [16:02:48]OFD Sender: No OFD packet to send [16:02:53]OFD Sender: No OFD packet to send [16:02:58]OFD Sender: No OFD packet to send [16:03:03]OFD Sender: No OFD packet to send [16:03:08]OFD Sender: No OFD packet to send [16:03:13]OFD Sender: No OFD packet to send [16:03:18]OFD Sender: No OFD packet to send [16:03:23]OFD Sender: No OFD packet to send [16:03:28]OFD Sender: No OFD packet to send [16:03:33]OFD Sender: No OFD packet to send [16:03:38]OFD Sender: No OFD packet to send [16:03:43]OFD Sender: No OFD packet to send [16:03:48]OFD Sender: No OFD packet to send [16:03:53]OFD Sender: No OFD packet to send [16:03:58]OFD Sender: No OFD packet to send [16:04:03]OFD Sender: No OFD packet to send [16:04:08]OFD Sender: No OFD packet to send [16:04:13]OFD Sender: No OFD packet to send [16:04:18]OFD Sender: No OFD packet to send [16:04:23]OFD Sender: No OFD packet to send [16:04:28]OFD Sender: No OFD packet to send [16:04:33]OFD Sender: No OFD packet to send [16:04:38]OFD Sender: No OFD packet to send [16:04:43]OFD Sender: No OFD packet to send [16:04:48]OFD Sender: No OFD packet to send [16:04:53]OFD Sender: No OFD packet to send [16:04:58]OFD Sender: No OFD packet to send [16:05:03]OFD Sender: No OFD packet to send [16:05:08]OFD Sender: No OFD packet to send [16:05:13]OFD Sender: No OFD packet to send [16:05:18]OFD Sender: No OFD packet to send [16:05:23]OFD Sender: No OFD packet to send [16:05:28]OFD Sender: No OFD packet to send [16:05:33]OFD Sender: No OFD packet to send [16:05:38]OFD Sender: No OFD packet to send [16:05:43]OFD Sender: No OFD packet to send [16:05:48]OFD Sender: No OFD packet to send [16:05:53]OFD Sender: No OFD packet to send [16:05:58]OFD Sender: No OFD packet to send [16:06:03]OFD Sender: No OFD packet to send [16:06:08]OFD Sender: No OFD packet to send [16:06:13]OFD Sender: No OFD packet to send [16:06:18]OFD Sender: No OFD packet to send [16:06:23]OFD Sender: No OFD packet to send [16:06:28]OFD Sender: No OFD packet to send [16:06:33]OFD Sender: No OFD packet to send [16:06:38]OFD Sender: No OFD packet to send [16:06:43]OFD Sender: No OFD packet to send [16:06:48]OFD Sender: No OFD packet to send [16:06:53]OFD Sender: No OFD packet to send [16:06:58]OFD Sender: No OFD packet to send [16:07:03]OFD Sender: No OFD packet to send [16:07:08]OFD Sender: No OFD packet to send [16:07:13]OFD Sender: No OFD packet to send [16:07:18]OFD Sender: No OFD packet to send [16:07:23]OFD Sender: No OFD packet to send [16:07:28]OFD Sender: No OFD packet to send [16:07:33]OFD Sender: No OFD packet to send [16:07:38]OFD Sender: No OFD packet to send [16:07:43]OFD Sender: No OFD packet to send [16:07:48]OFD Sender: No OFD packet to send [16:07:53]OFD Sender: No OFD packet to send [16:07:58]OFD Sender: No OFD packet to send [16:08:03]OFD Sender: No OFD packet to send [16:08:08]OFD Sender: No OFD packet to send [16:08:13]OFD Sender: No OFD packet to send [16:08:18]OFD Sender: No OFD packet to send [16:08:23]OFD Sender: No OFD packet to send [16:08:28]OFD Sender: No OFD packet to send [16:08:33]OFD Sender: No OFD packet to send [16:08:38]OFD Sender: No OFD packet to send [16:08:43]OFD Sender: No OFD packet to send [16:08:48]OFD Sender: No OFD packet to send [16:08:53]OFD Sender: No OFD packet to send [16:08:58]OFD Sender: No OFD packet to send [16:09:03]OFD Sender: No OFD packet to send [16:09:08]OFD Sender: No OFD packet to send [16:09:13]OFD Sender: No OFD packet to send [16:09:18]OFD Sender: No OFD packet to send [16:09:23]OFD Sender: No OFD packet to send [16:09:28]OFD Sender: No OFD packet to send [16:09:33]OFD Sender: No OFD packet to send [16:09:38]OFD Sender: No OFD packet to send [16:09:43]OFD Sender: No OFD packet to send [16:09:48]OFD Sender: No OFD packet to send [16:09:53]OFD Sender: No OFD packet to send [16:09:58]OFD Sender: No OFD packet to send [16:10:03]OFD Sender: No OFD packet to send [16:10:08]OFD Sender: No OFD packet to send [16:10:13]OFD Sender: No OFD packet to send [16:10:18]OFD Sender: No OFD packet to send [16:10:23]OFD Sender: No OFD packet to send [16:10:28]OFD Sender: No OFD packet to send [16:10:33]OFD Sender: No OFD packet to send [16:10:38]OFD Sender: No OFD packet to send [16:10:43]OFD Sender: No OFD packet to send [16:10:48]OFD Sender: No OFD packet to send [16:10:53]OFD Sender: No OFD packet to send [16:10:58]OFD Sender: No OFD packet to send [16:11:03]OFD Sender: No OFD packet to send [16:11:08]OFD Sender: No OFD packet to send [16:11:13]OFD Sender: No OFD packet to send [16:11:18]OFD Sender: No OFD packet to send [16:11:23]OFD Sender: No OFD packet to send [16:11:28]OFD Sender: No OFD packet to send [16:11:33]OFD Sender: No OFD packet to send [16:11:38]OFD Sender: No OFD packet to send [16:11:43]OFD Sender: No OFD packet to send [16:11:48]OFD Sender: No OFD packet to send [16:11:53]OFD Sender: No OFD packet to send [16:11:58]OFD Sender: No OFD packet to send [16:12:03]OFD Sender: No OFD packet to send [16:12:08]OFD Sender: No OFD packet to send [16:12:13]OFD Sender: No OFD packet to send [16:12:18]OFD Sender: No OFD packet to send [16:12:23]OFD Sender: No OFD packet to send [16:12:28]OFD Sender: No OFD packet to send [16:12:33]OFD Sender: No OFD packet to send [16:12:38]OFD Sender: No OFD packet to send [16:12:43]OFD Sender: No OFD packet to send [16:12:48]OFD Sender: No OFD packet to send [16:12:53]OFD Sender: No OFD packet to send [16:12:58]OFD Sender: No OFD packet to send [16:13:03]OFD Sender: No OFD packet to send [16:13:08]OFD Sender: No OFD packet to send [16:13:13]OFD Sender: No OFD packet to send [16:13:18]OFD Sender: No OFD packet to send [16:13:23]OFD Sender: No OFD packet to send [16:13:28]OFD Sender: No OFD packet to send [16:13:33]OFD Sender: No OFD packet to send [16:13:38]OFD Sender: No OFD packet to send [16:13:43]OFD Sender: No OFD packet to send [16:13:48]OFD Sender: No OFD packet to send [16:13:53]OFD Sender: No OFD packet to send [16:13:58]OFD Sender: No OFD packet to send [16:14:03]OFD Sender: No OFD packet to send [16:14:08]OFD Sender: No OFD packet to send [16:14:13]OFD Sender: No OFD packet to send [16:14:18]OFD Sender: No OFD packet to send [16:14:23]OFD Sender: No OFD packet to send [16:14:28]OFD Sender: No OFD packet to send [16:14:33]OFD Sender: No OFD packet to send [16:14:38]OFD Sender: No OFD packet to send [16:14:39]accept exits with 9 [16:14:39]New connection [16:14:39]New thread 3066838372 created [16:14:39]Thread 3066695012 joined [16:14:39]Waiting for new connection... [16:14:39] Sock 9.Parse request [16:14:39]Sock 9.Check first char [16:14:39]Sock 9.First char is OK [16:14:39]request: POST /json_proto HTTP/1.0 [16:14:39]Method: POST [16:14:39]URL: /json_proto [16:14:39]Method is POST - this is cgi request [16:14:39]url: /json_proto [16:14:39]query_string will be loaded in cgi processing [16:14:39]execute_cgi json_proto POST (null) [16:14:39]execute_cgi path=json_proto method=POST [16:14:39]POST find Content-Length [16:14:39]Host: 172.17.35.133:8080 [16:14:39]Content-Length: 1261 [16:14:39]Content-Type: application/json [16:14:39] [16:14:39]POST finish read [16:14:39]Found Content-Length = 1261 [16:14:39]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254499", "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 }]} ,{ "code": "5449000054227", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 1\u043B", "price" : 113.00, "quantity" : 1.000, "sum" : 113.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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 }]} ], "payments": [ { "type": 0, "sum" : 378.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:14:39]execute_script... [16:14:39]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)254499", "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 }]} ,{ "code": "5449000054227", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 1\u043B", "price" : 113.00, "quantity" : 1.000, "sum" : 113.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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 }]} ], "payments": [ { "type": 0, "sum" : 378.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:14:39]POST & json_proto [16:14:39]process_json_proto [16:14:39]json parsed OK: [16:14:39]protocol is kg_v1.0 [16:14:39]action value=close_receipt [16:14:39]process_action close_receipt [16:14:39]cmd_close_receipt [16:14:39]MH_GetDate [16:14:39]Write to MH i2c: F0 00 00 73 27 89 [16:14:39]Write i2c OK [16:14:39]MH_I2C_Read... [16:14:39]Read from MH i2c: F0 [16:14:39]MH_I2C_Read... [16:14:39]Read from MH i2c: F0 09 00 [16:14:39]MH_I2C_Read... [16:14:39]Read from MH i2c: F0 09 00 73 27 00 78 0F 6F 66 8C 55 28 65 5C [16:14:39]GetLastDocTimeStamp 1718553023 [16:14:39]current date 1718554488 [16:14:39]FM_GetShiftState [16:14:39]SAM_PROTO_GetShiftState [16:14:39]wFMCommunicate request_size=4 [16:14:39]MH_SAM_APDU [16:14:39]CAPDU: 80 13 01 00 [16:14:39]Write to MH i2c: E2 08 00 74 27 80 13 01 00 00 00 00 00 18 [16:14:39]Write i2c OK [16:14:39]MH_I2C_Read... [16:14:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:14:39]Read from MH i2c: E2 [16:14:39]MH_I2C_Read... [16:14:39]Read from MH i2c: E2 0E 00 [16:14:39]MH_I2C_Read... [16:14:39]Read from MH i2c: E2 0E 00 74 27 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 39 [16:14:39]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [16:14:39]wFMCommunicate OK [16:14:39]SAM_PROTO_GetShiftState done [16:14:39]FM_GetShiftState done [16:14:39]opened in 1718497297 [16:14:39]opened+sec_in_day 1718583697 [16:14:39]quantity*price = 12500 [16:14:39]sum+1 = 12501 [16:14:39]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 5449000054227 Напиток Кока-Кола 1л 1.000 * 113.00 = 113.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 48743587 Сигареты Winston XStyle Silver 1.000 * 140.00 = 140.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 378.00 НСП 1% : 3.35 НДС 12% : 40.14 Наличными: 378.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 51 16.06.2024 16:14 Смена: 327 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22286 ФПД: 19217213632727 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T161448&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22286&fm=19217213632727&tin=02508201610067®Number=0000000000099755&sum=37800 0 [16:14:40]StoreToDocumentArchive [16:14:40]shift 327 fd 22286 [16:14:40]save to /storage/0327/doc_00022286 [16:14:40]save last doc name /storage/0327/doc_00022286 to /storage/kkm_last_doc_name [16:14:40]save OK [16:14:40]Clear old archive folders... [16:14:40]ProcessDocumentItem done err = 0, tmpTLVsize=525 [16:14:40]tlvbuf is 00260870 [16:14:40]SAM_PROTO_ClearQueue [16:14:40]wFMCommunicate request_size=4 [16:14:40]MH_SAM_APDU [16:14:40]CAPDU: 80 09 00 00 [16:14:40]Write to MH i2c: E2 08 00 81 27 80 09 00 00 00 00 00 00 1A [16:14:40]Write i2c OK [16:14:40]MH_I2C_Read... [16:14:40]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:14:40]Read from MH i2c: E2 [16:14:40]MH_I2C_Read... [16:14:40]Read from MH i2c: E2 03 00 [16:14:40]MH_I2C_Read... [16:14:40]Read from MH i2c: E2 03 00 81 27 00 90 00 1C [16:14:40]RAPDU: 90 00 [16:14:40]wFMCommunicate OK [16:14:40]SAM_PROTO_ClearQueue done [16:14:40]KKMCreateOFDPacket [16:14:40]OFDProtocolAddRootSTLVToBuf [16:14:40]FM_MakeSignedData [16:14:40]FM_MakeSignedData [16:14:40]SAM_PROTO_SignData [16:14:40]wFMCommunicate request_size=4 [16:14:40]MH_SAM_APDU [16:14:40]CAPDU: 80 0D 01 02 [16:14:40]Write to MH i2c: E2 08 00 82 27 80 0D 01 02 00 00 00 00 22 [16:14:40]Write i2c OK [16:14:40]MH_I2C_Read... [16:14:40]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:14:40]Read from MH i2c: E2 [16:14:40]MH_I2C_Read... [16:14:40]Read from MH i2c: E2 03 00 [16:14:40]MH_I2C_Read... [16:14:40]Read from MH i2c: E2 03 00 82 27 00 90 00 1D [16:14:40]RAPDU: 90 00 [16:14:40]wFMCommunicate OK [16:14:40]wFMCommunicate request_size=255 [16:14:40]MH_SAM_APDU [16:14:40]CAPDU: 80 0D 02 02 FA 03 00 0D 02 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 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 2C 00 00 00 00 13 04 06 00 24 2C 00 00 00 00 F2 03 01 00 01 F6 [16:14:40]Write to MH i2c: E2 02 01 83 27 80 0D 02 02 FA 00 03 00 0D 02 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 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 2C 00 00 00 00 13 04 06 00 24 2C 00 00 00 00 F2 03 01 00 01 F6 00 00 2E [16:14:40]Write i2c OK [16:14:40]MH_I2C_Read... [16:14:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:14:41]Read from MH i2c: E2 [16:14:41]MH_I2C_Read... [16:14:41]Read from MH i2c: E2 03 00 [16:14:41]MH_I2C_Read... [16:14:41]Read from MH i2c: E2 03 00 83 27 00 90 00 1E [16:14:41]RAPDU: 90 00 [16:14:41]wFMCommunicate OK [16:14:41]wFMCommunicate request_size=255 [16:14:41]MH_SAM_APDU [16:14:41]CAPDU: 80 0D 02 02 FA 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 A8 93 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4F 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AE 0F 00 00 00 00 07 04 06 00 A8 93 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 78 0F 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 [16:14:41]Write to MH i2c: E2 02 01 84 27 80 0D 02 02 FA 00 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 A8 93 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4F 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AE 0F 00 00 00 00 07 04 06 00 A8 93 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 78 0F 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 00 00 87 [16:14:41]Write i2c OK [16:14:41]MH_I2C_Read... [16:14:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:14:41]Read from MH i2c: E2 [16:14:41]MH_I2C_Read... [16:14:41]Read from MH i2c: E2 03 00 [16:14:41]MH_I2C_Read... [16:14:41]Read from MH i2c: E2 03 00 84 27 00 90 00 1F [16:14:41]RAPDU: 90 00 [16:14:41]wFMCommunicate OK [16:14:41]wFMCommunicate request_size=34 [16:14:41]MH_SAM_APDU [16:14:41]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 0E 57 00 00 35 04 06 00 11 7A 5B 31 30 D7 [16:14:41]Write to MH i2c: E2 25 00 85 27 80 0D 02 02 1D 00 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 0E 57 00 00 35 04 06 00 11 7A 5B 31 30 D7 00 00 69 [16:14:41]Write i2c OK [16:14:41]MH_I2C_Read... [16:14:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:14:41]Read from MH i2c: E2 [16:14:41]MH_I2C_Read... [16:14:41]Read from MH i2c: E2 03 00 [16:14:41]MH_I2C_Read... [16:14:41]Read from MH i2c: E2 03 00 85 27 00 90 00 20 [16:14:41]RAPDU: 90 00 [16:14:41]wFMCommunicate OK [16:14:41]wFMCommunicate request_size=4 [16:14:41]MH_SAM_APDU [16:14:41]CAPDU: 80 0D 03 02 [16:14:41]Write to MH i2c: E2 08 00 86 27 80 0D 03 02 00 00 00 00 28 [16:14:41]Write i2c OK [16:14:41]MH_I2C_Read... [16:14:41]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:14:41]Read from MH i2c: E2 [16:14:41]MH_I2C_Read... [16:14:41]Read from MH i2c: E2 0B 00 [16:14:41]MH_I2C_Read... [16:14:41]Read from MH i2c: E2 0B 00 86 27 00 37 72 FD 6D 0F 42 BC E7 90 00 30 [16:14:41]RAPDU: 37 72 FD 6D 0F 42 BC E7 90 00 [16:14:41]wFMCommunicate OK [16:14:41]SAM_PROTO_SignData done [16:14:41]FM_MakeSignedData done [16:14:41]CreateOFDProtocolMessage [16:14:41]wFMCommunicate request_size=4 [16:14:41]MH_SAM_APDU [16:14:41]CAPDU: 80 11 00 00 [16:14:41]Write to MH i2c: E2 08 00 87 27 80 11 00 00 00 00 00 00 28 [16:14:41]Write i2c OK [16:14:41]MH_I2C_Read... [16:14:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:14:41]Read from MH i2c: E2 [16:14:41]MH_I2C_Read... [16:14:41]Read from MH i2c: E2 17 00 [16:14:41]MH_I2C_Read... [16:14:41]Read from MH i2c: E2 17 00 87 27 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 7A [16:14:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [16:14:41]wFMCommunicate OK [16:14:41]CreateOFDProtocolMessage done [16:14:41]OFDSenderStorePacket 22286 [16:14:41]StoreOFDPacket docnum=22286 [16:14:41]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 21 02 00 00 B2 AC 19 02 20 09 5A 03 01 00 03 00 0D 02 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 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 2C 00 00 00 00 13 04 06 00 24 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 FC 03 06 00 A8 93 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4F 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AE 0F 00 00 00 00 07 04 06 00 A8 93 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 78 0F 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 0E 57 00 00 35 04 06 00 11 7A 5B 31 30 D7 37 72 FD 6D 0F 42 BC E7 [16:14:41]CheckFolder [16:14:41]dirname=/storage/ofd_packets [16:14:41]CheckFolder done [16:14:41]ProducePacketName [16:14:41]name=ofd_packets/00022286 [16:14:41]NVStorageSaveData ofd_packets/00022286 [16:14:41]File name is /storage/ofd_packets/00022286 [16:14:41]Write 575 bytes [16:14:41]NVStorageSaveData done [16:14:41]OFDSenderStorePacket done [16:14:41]KKMCreateOFDPacket done [16:14:41]NVStorageSaveData kkm_last_timestamp [16:14:41]File name is /storage/kkm_last_timestamp [16:14:41]Write 4 bytes [16:14:41]NVStorageSaveData done [16:14:41]ExternCall_PrintAddStr [16:14:41]wPrintStart [16:14:41]Write to MH i2c: 01 00 00 88 27 AF [16:14:41]Write i2c OK [16:14:41]MH_I2C_Read... [16:14:41]Read from MH i2c: 01 [16:14:41]MH_I2C_Read... [16:14:41]OFD Sender: Processing packet 22286 [packets to send 5, broken 4] [16:14:41]ProducePacketName [16:14:41]name=ofd_packets/00022286 [16:14:41]OFD Sender: To server: pG, [16:14:41]CommunicateWithHost lk.salyk.kg:30040 [16:14:41]ConnectInit lk.salyk.kg [16:14:41]Read from MH i2c: 01 07 00 [16:14:41]MH_I2C_Read... [16:14:41]Read from MH i2c: 01 07 00 88 27 00 00 00 00 00 FF 0F C4 [16:14:41]RasterBufferAndPrint [16:14:41]line Счет N : (3)254499 [16:14:41]line ИНН: 02508201610067 [16:14:41]line Контрольно-Кассовый Чек [16:14:41]line ПРОДАЖА [16:14:41]line Товар: 4870202521254 [16:14:41]line Чай холодный MAXI черный со вкусом клубн [16:14:41]line 1.000 * 125.00 [16:14:41]line = 125.00 [16:14:41]line НДС 12% НСП 1% [16:14:41]line > о реализуемом товаре [16:14:41]line Товар: 5449000054227 [16:14:41]line Напиток Кока-Кола 1л [16:14:41]line 1.000 * 113.00 [16:14:41]line = 113.00 [16:14:41]line НДС 12% НСП 1% [16:14:41]line > о реализуемом товаре [16:14:41]line Товар: 48743587 [16:14:41]line Сигареты Winston XStyle Silver [16:14:41]line 1.000 * 140.00 [16:14:41]line = 140.00 [16:14:41]line НДС 12% НСП 1% [16:14:41]line > о реализуемом товаре [16:14:41]line ИТОГО: 378.00 [16:14:41]line НСП 1% : 3.35 [16:14:41]line НДС 12% : 40.14 [16:14:41]line Наличными: 378.00 [16:14:41]line Безнал.: 0.00 [16:14:41]line Место: АЗС № 76 "Партнер Нефть" [16:14:41]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [16:14:41]line СНО: Общий режим [16:14:41]line Чек 51 16.06.2024 16:14 [16:14:41]line Смена: 327 ФФД: 1.0 [16:14:41]line ЗНМ: 0300000200 [16:14:41]line РНМ: 0000000000099755 [16:14:41]line Версия ККМ: 001 [16:14:41]line ФМ: 0000000000965344 [16:14:41]line ФД: 22286 [16:14:41]line ФПД: 19217213632727 [16:14:41]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T161448&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22286&fm=19217213632727&tin=02508201610067®Number=0000000000099755&sum=37800 [16:14:41]Connected sock=10 [16:14:41]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 21 02 00 00 B2 AC 19 02 20 09 5A 03 01 00 03 00 0D 02 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 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 2C 00 00 00 00 13 04 06 00 24 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 FC 03 06 00 A8 93 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4F 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AE 0F 00 00 00 00 07 04 06 00 A8 93 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 78 0F 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 0E 57 00 00 35 04 06 00 11 7A 5B 31 30 D7 37 72 FD 6D 0F 42 BC E7 [16:14:41]line 0 [16:14:41]written 0, free lines is 4095 [16:14:42]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 E0 67 47 00 78 94 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 0E 57 00 00 F4 03 04 00 32 B8 6E 66 B6 04 01 00 00 9A 0D 25 FA 6A 8F 40 79 [16:14:42]CommunicateWithHost err = 0 [16:14:42]CheckOFDResponse [16:14:42]1017 (14) - 77093643461234 [16:14:42]1041 (16) - 0000000000965344 [16:14:42]1040 (4) - 22286 [16:14:42]1012 (4) - 16.06.2024 10:02 [16:14:42]1206 (1) - 0 [16:14:42]OFD Sender: Remove packet 22286 [16:14:42]ProducePacketName [16:14:42]name=ofd_packets/00022286 [16:14:42]NVStorageDeleteData [16:14:42]Write to MH i2c: 01 00 00 BE 27 E5 [16:14:42]Write i2c OK [16:14:42]MH_I2C_Read... [16:14:42]Read from MH i2c: 01 [16:14:42]MH_I2C_Read... [16:14:42]Read from MH i2c: 01 07 00 [16:14:42]MH_I2C_Read... [16:14:42]Read from MH i2c: 01 07 00 BE 27 00 00 00 00 00 7B 0C 73 [16:14:42]RasterBufferAndPrint [16:14:42]line [16:14:42]line [16:14:42]line [16:14:42]line [16:14:42]line [16:14:42]written 0, free lines is 3204 [16:14:42]MH_Cut [16:14:42]Write to MH i2c: D1 01 00 C5 27 01 BE [16:14:42]Write i2c OK [16:14:42]MH_I2C_Read... [16:14:42]Read from MH i2c: D1 [16:14:42]MH_I2C_Read... [16:14:42]Read from MH i2c: D1 01 00 [16:14:42]MH_I2C_Read... [16:14:42]Read from MH i2c: D1 01 00 C5 27 00 BD [16:14:42]Write to MH i2c: 01 00 00 C6 27 ED [16:14:42]Write i2c OK [16:14:42]MH_I2C_Read... [16:14:42]OFD Sender: No OFD packet to send [16:14:43]*** Cut start [16:14:43]*** Partial cut [16:14:43]*** CUTSNS_PIN = 1 [16:14:43]*** CUTSNS_PIN = 0 [16:14:43]*** Brake cut motor [16:14:43]Read from MH i2c: 01 [16:14:43]MH_I2C_Read... [16:14:43]*** Stop cut motor [16:14:43]*** Cut end [16:14:43]Read from MH i2c: 01 07 00 [16:14:43]MH_I2C_Read... [16:14:43]Read from MH i2c: 01 07 00 C6 27 00 00 00 00 00 FF 0F 02 [16:14:43]process_action close_receipt done [16:14:43]requested_data is exist [16:14:43]produce_requested_data [16:14:43]requested_item fm.sn is exist - process it [16:14:43]wFMCommunicate request_size=4 [16:14:43]MH_SAM_APDU [16:14:43]CAPDU: 80 11 00 00 [16:14:43]Write to MH i2c: E2 08 00 C7 27 80 11 00 00 00 00 00 00 68 [16:14:43]Write i2c OK [16:14:43]MH_I2C_Read... [16:14:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:14:44]Read from MH i2c: E2 [16:14:44]MH_I2C_Read... [16:14:44]Read from MH i2c: E2 17 00 [16:14:44]MH_I2C_Read... [16:14:44]Read from MH i2c: E2 17 00 C7 27 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 BA [16:14:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [16:14:44]wFMCommunicate OK [16:14:44]requested_item fd.num is exist - process it [16:14:44]SAM_PROTO_GetFieldsCounters [16:14:44]wFMCommunicate request_size=4 [16:14:44]MH_SAM_APDU [16:14:44]CAPDU: 80 13 00 00 [16:14:44]Write to MH i2c: E2 08 00 C8 27 80 13 00 00 00 00 00 00 6B [16:14:44]Write i2c OK [16:14:44]MH_I2C_Read... [16:14:44]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:14:44]Read from MH i2c: E2 [16:14:44]MH_I2C_Read... [16:14:44]Read from MH i2c: E2 62 00 [16:14:44]MH_I2C_Read... [16:14:44]Read from MH i2c: E2 62 00 C8 27 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 0E 57 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 33 00 00 00 5E 04 04 00 33 00 00 00 57 04 04 00 34 00 00 00 19 04 04 00 00 00 00 00 90 00 DB [16:14:44]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 0E 57 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 33 00 00 00 5E 04 04 00 33 00 00 00 57 04 04 00 34 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:14:44]wFMCommunicate OK [16:14:44]SAM_PROTO_GetFieldsCounters done [16:14:44]requested_item shift.num is exist - process it [16:14:44]requested_item shift.opened is exist - process it [16:14:44]req_shift_opened [16:14:44]FM_GetShiftState [16:14:44]SAM_PROTO_GetShiftState [16:14:44]wFMCommunicate request_size=4 [16:14:44]MH_SAM_APDU [16:14:44]CAPDU: 80 13 01 00 [16:14:44]Write to MH i2c: E2 08 00 C9 27 80 13 01 00 00 00 00 00 6D [16:14:44]Write i2c OK [16:14:44]MH_I2C_Read... [16:14:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:14:44]Read from MH i2c: E2 [16:14:44]MH_I2C_Read... [16:14:44]Read from MH i2c: E2 0E 00 [16:14:44]MH_I2C_Read... [16:14:44]Read from MH i2c: E2 0E 00 C9 27 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 8E [16:14:44]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [16:14:44]wFMCommunicate OK [16:14:44]SAM_PROTO_GetShiftState done [16:14:44]FM_GetShiftState done [16:14:44]req_shift_opened done [16:14:44]requested_item shift.open_date is exist - process it [16:14:44]req_shift_open_date [16:14:44]req_shift_open_date done [16:14:44]produce_requested_data done [16:14:44]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22286,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297} [16:14:44]process_action_free close_receipt [16:14:44]json_value_free [16:14:44]json_value_free done [16:14:44]process_json_proto returns [16:14:44]Send response to host [16:14:44]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22286,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297}}} [16:14:44]free response buf [16:14:44]execute_script done [16:14:44]execute_script returns [16:14:44]free content buf [16:14:44]Sock 9.Close socket [16:14:44]Sock 9.Thread stoped [16:14:47]OFD Sender: No OFD packet to send [16:14:52]OFD Sender: No OFD packet to send [16:14:57]OFD Sender: No OFD packet to send [16:15:02]OFD Sender: No OFD packet to send [16:15:05]accept exits with 8 [16:15:05]New connection [16:15:05]New thread 3066695012 created [16:15:05]Thread 3066838372 joined [16:15:05]Waiting for new connection... [16:15:05] Sock 8.Parse request [16:15:05]Sock 8.Check first char [16:15:05]Sock 8.First char is OK [16:15:05]request: POST /json_proto HTTP/1.0 [16:15:05]Method: POST [16:15:05]URL: /json_proto [16:15:05]Method is POST - this is cgi request [16:15:05]url: /json_proto [16:15:05]query_string will be loaded in cgi processing [16:15:05]execute_cgi json_proto POST (null) [16:15:05]execute_cgi path=json_proto method=POST [16:15:05]POST find Content-Length [16:15:05]Host: 172.17.35.133:8080 [16:15:05]Content-Length: 941 [16:15:05]Content-Type: application/json [16:15:05] [16:15:05]POST finish read [16:15:05]Found Content-Length = 941 [16:15:05]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254500", "tax_sys" : 0, "items" : [ { "code": "4700000481972", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u0433\u0440\u0435\u0439\u043F\u0444\u0440\u0443\u0442-\u043C\u0430\u0440\u0430\u043A\u0443\u0439\u044F 0", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "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" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:15:05]execute_script... [16:15:05]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254500", "tax_sys" : 0, "items" : [ { "code": "4700000481972", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u0433\u0440\u0435\u0439\u043F\u0444\u0440\u0443\u0442-\u043C\u0430\u0440\u0430\u043A\u0443\u0439\u044F 0", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "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" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:15:05]POST & json_proto [16:15:05]process_json_proto [16:15:05]json parsed OK: [16:15:05]protocol is kg_v1.0 [16:15:05]action value=close_receipt [16:15:05]process_action close_receipt [16:15:05]cmd_close_receipt [16:15:05]MH_GetDate [16:15:05]Write to MH i2c: F0 00 00 CA 27 E0 [16:15:05]Write i2c OK [16:15:05]MH_I2C_Read... [16:15:05]Read from MH i2c: F0 [16:15:05]MH_I2C_Read... [16:15:05]Read from MH i2c: F0 09 00 [16:15:05]MH_I2C_Read... [16:15:05]Read from MH i2c: F0 09 00 CA 27 00 92 0F 6F 66 8C 55 28 65 CD [16:15:05]GetLastDocTimeStamp 1718554488 [16:15:05]current date 1718554514 [16:15:05]FM_GetShiftState [16:15:05]SAM_PROTO_GetShiftState [16:15:05]wFMCommunicate request_size=4 [16:15:05]MH_SAM_APDU [16:15:05]CAPDU: 80 13 01 00 [16:15:05]Write to MH i2c: E2 08 00 CB 27 80 13 01 00 00 00 00 00 6F [16:15:05]Write i2c OK [16:15:05]MH_I2C_Read... [16:15:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:15:05]Read from MH i2c: E2 [16:15:05]MH_I2C_Read... [16:15:05]Read from MH i2c: E2 0E 00 [16:15:05]MH_I2C_Read... [16:15:05]Read from MH i2c: E2 0E 00 CB 27 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 90 [16:15:05]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [16:15:05]wFMCommunicate OK [16:15:05]SAM_PROTO_GetShiftState done [16:15:05]FM_GetShiftState done [16:15:05]opened in 1718497297 [16:15:05]opened+sec_in_day 1718583697 [16:15:05]quantity*price = 9500 [16:15:05]sum+1 = 9501 [16:15:05]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 0.00 Безнал.: 95.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 52 16.06.2024 16:15 Смена: 327 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000965344 ФД: 22287 ФПД: 78727810633647 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T161514&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22287&fm=78727810633647&tin=02508201610067®Number=0000000000099755&sum=9500 0 [16:15:06]StoreToDocumentArchive [16:15:06]shift 327 fd 22287 [16:15:06]save to /storage/0327/doc_00022287 [16:15:06]save last doc name /storage/0327/doc_00022287 to /storage/kkm_last_doc_name [16:15:06]save OK [16:15:06]Clear old archive folders... [16:15:06]ProcessDocumentItem done err = 0, tmpTLVsize=311 [16:15:06]tlvbuf is 001A65C0 [16:15:06]SAM_PROTO_ClearQueue [16:15:06]wFMCommunicate request_size=4 [16:15:06]MH_SAM_APDU [16:15:06]CAPDU: 80 09 00 00 [16:15:06]Write to MH i2c: E2 08 00 D8 27 80 09 00 00 00 00 00 00 71 [16:15:06]Write i2c OK [16:15:06]MH_I2C_Read... [16:15:06]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:15:06]Read from MH i2c: E2 [16:15:06]MH_I2C_Read... [16:15:06]Read from MH i2c: E2 03 00 [16:15:06]MH_I2C_Read... [16:15:06]Read from MH i2c: E2 03 00 D8 27 00 90 00 73 [16:15:06]RAPDU: 90 00 [16:15:06]wFMCommunicate OK [16:15:06]SAM_PROTO_ClearQueue done [16:15:06]KKMCreateOFDPacket [16:15:06]OFDProtocolAddRootSTLVToBuf [16:15:06]FM_MakeSignedData [16:15:06]FM_MakeSignedData [16:15:06]SAM_PROTO_SignData [16:15:06]wFMCommunicate request_size=4 [16:15:06]MH_SAM_APDU [16:15:06]CAPDU: 80 0D 01 02 [16:15:06]Write to MH i2c: E2 08 00 D9 27 80 0D 01 02 00 00 00 00 79 [16:15:06]Write i2c OK [16:15:06]MH_I2C_Read... [16:15:06]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:15:06]Read from MH i2c: E2 [16:15:06]MH_I2C_Read... [16:15:06]Read from MH i2c: E2 03 00 [16:15:06]MH_I2C_Read... [16:15:06]Read from MH i2c: E2 03 00 D9 27 00 90 00 74 [16:15:06]RAPDU: 90 00 [16:15:06]wFMCommunicate OK [16:15:06]wFMCommunicate request_size=255 [16:15:06]MH_SAM_APDU [16:15:06]CAPDU: 80 0D 02 02 FA 03 00 37 01 1E 04 01 00 01 23 04 89 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 39 37 32 06 04 45 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 B3 D1 80 D0 B5 D0 B9 D0 BF D1 84 D1 80 D1 83 D1 82 2D D0 BC D0 B0 D1 80 D0 B0 D0 BA D1 83 D0 B9 D1 8F 20 30 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 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 34 00 00 00 F4 03 04 00 92 0F 6F 66 0E 04 04 00 47 01 [16:15:06]Write to MH i2c: E2 02 01 DA 27 80 0D 02 02 FA 00 03 00 37 01 1E 04 01 00 01 23 04 89 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 39 37 32 06 04 45 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 B3 D1 80 D0 B5 D0 B9 D0 BF D1 84 D1 80 D1 83 D1 82 2D D0 BC D0 B0 D1 80 D0 B0 D0 BA D1 83 D0 B9 D1 8F 20 30 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 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 34 00 00 00 F4 03 04 00 92 0F 6F 66 0E 04 04 00 47 01 00 00 F6 [16:15:06]Write i2c OK [16:15:06]MH_I2C_Read... [16:15:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:15:07]Read from MH i2c: E2 [16:15:07]MH_I2C_Read... [16:15:07]Read from MH i2c: E2 03 00 [16:15:07]MH_I2C_Read... [16:15:07]Read from MH i2c: E2 03 00 DA 27 00 90 00 75 [16:15:07]RAPDU: 90 00 [16:15:07]wFMCommunicate OK [16:15:07]wFMCommunicate request_size=70 [16:15:07]MH_SAM_APDU [16:15:07]CAPDU: 80 0D 02 02 41 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 0F 57 00 00 35 04 06 00 47 9A 3F 2F CF AF [16:15:07]Write to MH i2c: E2 49 00 DB 27 80 0D 02 02 41 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 0F 57 00 00 35 04 06 00 47 9A 3F 2F CF AF 00 00 CF [16:15:07]Write i2c OK [16:15:07]MH_I2C_Read... [16:15:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:15:07]Read from MH i2c: E2 [16:15:07]MH_I2C_Read... [16:15:07]Read from MH i2c: E2 03 00 [16:15:07]MH_I2C_Read... [16:15:07]Read from MH i2c: E2 03 00 DB 27 00 90 00 76 [16:15:07]RAPDU: 90 00 [16:15:07]wFMCommunicate OK [16:15:07]wFMCommunicate request_size=4 [16:15:07]MH_SAM_APDU [16:15:07]CAPDU: 80 0D 03 02 [16:15:07]Write to MH i2c: E2 08 00 DC 27 80 0D 03 02 00 00 00 00 7E [16:15:07]Write i2c OK [16:15:07]MH_I2C_Read... [16:15:07]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:15:07]Read from MH i2c: E2 [16:15:07]MH_I2C_Read... [16:15:07]Read from MH i2c: E2 0B 00 [16:15:07]MH_I2C_Read... [16:15:07]Read from MH i2c: E2 0B 00 DC 27 00 6D 06 72 04 C1 07 25 56 90 00 AB [16:15:07]RAPDU: 6D 06 72 04 C1 07 25 56 90 00 [16:15:07]wFMCommunicate OK [16:15:07]SAM_PROTO_SignData done [16:15:07]FM_MakeSignedData done [16:15:07]CreateOFDProtocolMessage [16:15:07]wFMCommunicate request_size=4 [16:15:07]MH_SAM_APDU [16:15:07]CAPDU: 80 11 00 00 [16:15:07]Write to MH i2c: E2 08 00 DD 27 80 11 00 00 00 00 00 00 7E [16:15:07]Write i2c OK [16:15:07]MH_I2C_Read... [16:15:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:15:07]Read from MH i2c: E2 [16:15:07]MH_I2C_Read... [16:15:07]Read from MH i2c: E2 17 00 [16:15:07]MH_I2C_Read... [16:15:07]Read from MH i2c: E2 17 00 DD 27 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 D0 [16:15:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [16:15:07]wFMCommunicate OK [16:15:07]CreateOFDProtocolMessage done [16:15:07]OFDSenderStorePacket 22287 [16:15:07]StoreOFDPacket docnum=22287 [16:15:07]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4B 01 00 00 48 6C 43 01 F2 21 5A 03 01 00 03 00 37 01 1E 04 01 00 01 23 04 89 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 39 37 32 06 04 45 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 B3 D1 80 D0 B5 D0 B9 D0 BF D1 84 D1 80 D1 83 D1 82 2D D0 BC D0 B0 D1 80 D0 B0 D0 BA D1 83 D0 B9 D1 8F 20 30 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 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 34 00 00 00 F4 03 04 00 92 0F 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 0F 57 00 00 35 04 06 00 47 9A 3F 2F CF AF 6D 06 72 04 C1 07 25 56 [16:15:07]CheckFolder [16:15:07]dirname=/storage/ofd_packets [16:15:07]CheckFolder done [16:15:07]ProducePacketName [16:15:07]name=ofd_packets/00022287 [16:15:07]NVStorageSaveData ofd_packets/00022287 [16:15:07]File name is /storage/ofd_packets/00022287 [16:15:07]Write 361 bytes [16:15:07]NVStorageSaveData done [16:15:07]OFDSenderStorePacket done [16:15:07]KKMCreateOFDPacket done [16:15:07]NVStorageSaveData kkm_last_timestamp [16:15:07]File name is /storage/kkm_last_timestamp [16:15:07]Write 4 bytes [16:15:07]NVStorageSaveData done [16:15:07]ExternCall_PrintAddStr [16:15:07]wPrintStart [16:15:07]Write to MH i2c: 01 00 00 DE 27 05 [16:15:07]Write i2c OK [16:15:07]MH_I2C_Read... [16:15:07]Read from MH i2c: 01 [16:15:07]MH_I2C_Read... [16:15:07]Read from MH i2c: 01 07 00 [16:15:07]MH_I2C_Read... [16:15:07]Read from MH i2c: 01 07 00 DE 27 00 00 00 00 00 FF 0F 1A [16:15:07]RasterBufferAndPrint [16:15:07]line Счет N : (3)254500 [16:15:07]line ИНН: 02508201610067 [16:15:07]line Контрольно-Кассовый Чек [16:15:07]line ПРОДАЖА [16:15:07]line Товар: 4700000481972 [16:15:07]line Напиток энерг Nitro грейпфрут-маракуйя 0 [16:15:07]line 1.000 * 95.00 [16:15:07]line = 95.00 [16:15:07]line НДС 12% НСП 1% [16:15:07]line > о реализуемом товаре [16:15:07]line ИТОГО: 95.00 [16:15:07]line НСП 1% : 0.84 [16:15:07]line НДС 12% : 10.09 [16:15:07]line Наличными: 0.00 [16:15:07]line Безнал.: 95.00 [16:15:07]line Место: АЗС № 76 "Партнер Нефть" [16:15:07]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [16:15:07]line СНО: Общий режим [16:15:07]line Чек 52 16.06.2024 16:15 [16:15:07]line Смена: 327 ФФД: 1.0 [16:15:07]line ЗНМ: 0300000200 [16:15:07]line РНМ: 0000000000099755 [16:15:07]line Версия ККМ: 001 [16:15:07]line Платежная система: АКБ Кыргызстан [16:15:07]line ФМ: 0000000000965344 [16:15:07]line ФД: 22287 [16:15:07]line ФПД: 78727810633647 [16:15:07]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T161514&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22287&fm=78727810633647&tin=02508201610067®Number=0000000000099755&sum=9500 [16:15:07]line 0 [16:15:07]OFD Sender: Processing packet 22287 [packets to send 5, broken 4] [16:15:07]ProducePacketName [16:15:07]name=ofd_packets/00022287 [16:15:07]OFD Sender: To server: pG, [16:15:07]CommunicateWithHost lk.salyk.kg:30040 [16:15:07]ConnectInit lk.salyk.kg [16:15:07]written 0, free lines is 4095 [16:15:07]Connected sock=10 [16:15:07]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4B 01 00 00 48 6C 43 01 F2 21 5A 03 01 00 03 00 37 01 1E 04 01 00 01 23 04 89 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 39 37 32 06 04 45 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 B3 D1 80 D0 B5 D0 B9 D0 BF D1 84 D1 80 D1 83 D1 82 2D D0 BC D0 B0 D1 80 D0 B0 D0 BA D1 83 D0 B9 D1 8F 20 30 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 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 34 00 00 00 F4 03 04 00 92 0F 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 0F 57 00 00 35 04 06 00 47 9A 3F 2F CF AF 6D 06 72 04 C1 07 25 56 [16:15:08]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 48 C6 47 00 FE 51 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 0F 57 00 00 F4 03 04 00 4C B8 6E 66 B6 04 01 00 00 2B 07 A0 2D 15 74 1F 90 [16:15:08]CommunicateWithHost err = 0 [16:15:08]CheckOFDResponse [16:15:08]1017 (14) - 77093643461234 [16:15:08]1041 (16) - 0000000000965344 [16:15:08]1040 (4) - 22287 [16:15:08]1012 (4) - 16.06.2024 10:02 [16:15:08]1206 (1) - 0 [16:15:08]OFD Sender: Remove packet 22287 [16:15:08]ProducePacketName [16:15:08]name=ofd_packets/00022287 [16:15:08]NVStorageDeleteData [16:15:08]Write to MH i2c: 01 00 00 09 28 31 [16:15:08]Write i2c OK [16:15:08]MH_I2C_Read... [16:15:08]Read from MH i2c: 01 [16:15:08]MH_I2C_Read... [16:15:08]Read from MH i2c: 01 07 00 [16:15:08]MH_I2C_Read... [16:15:08]Read from MH i2c: 01 07 00 09 28 00 00 00 00 00 F2 0C 36 [16:15:08]RasterBufferAndPrint [16:15:08]line [16:15:08]line [16:15:08]line [16:15:08]line [16:15:08]line [16:15:08]written 0, free lines is 3321 [16:15:08]MH_Cut [16:15:08]Write to MH i2c: D1 01 00 10 28 01 0A [16:15:08]Write i2c OK [16:15:08]MH_I2C_Read... [16:15:08]Read from MH i2c: D1 [16:15:08]MH_I2C_Read... [16:15:08]Read from MH i2c: D1 01 00 [16:15:08]MH_I2C_Read... [16:15:08]Read from MH i2c: D1 01 00 10 28 00 09 [16:15:08]Write to MH i2c: 01 00 00 11 28 39 [16:15:08]Write i2c OK [16:15:08]MH_I2C_Read... [16:15:08]OFD Sender: No OFD packet to send [16:15:08]*** Cut start [16:15:08]*** Partial cut [16:15:08]*** CUTSNS_PIN = 1 [16:15:08]*** CUTSNS_PIN = 0 [16:15:09]*** Brake cut motor [16:15:09]Read from MH i2c: 01 [16:15:09]MH_I2C_Read... [16:15:09]*** Stop cut motor [16:15:09]*** Cut end [16:15:09]Read from MH i2c: 01 07 00 [16:15:09]MH_I2C_Read... [16:15:09]Read from MH i2c: 01 07 00 11 28 00 00 00 00 00 FF 0F 4E [16:15:09]process_action close_receipt done [16:15:09]requested_data is exist [16:15:09]produce_requested_data [16:15:09]requested_item fm.sn is exist - process it [16:15:09]wFMCommunicate request_size=4 [16:15:09]MH_SAM_APDU [16:15:09]CAPDU: 80 11 00 00 [16:15:09]Write to MH i2c: E2 08 00 12 28 80 11 00 00 00 00 00 00 B4 [16:15:09]Write i2c OK [16:15:09]MH_I2C_Read... [16:15:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:15:09]Read from MH i2c: E2 [16:15:09]MH_I2C_Read... [16:15:09]Read from MH i2c: E2 17 00 [16:15:09]MH_I2C_Read... [16:15:09]Read from MH i2c: E2 17 00 12 28 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 06 [16:15:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [16:15:09]wFMCommunicate OK [16:15:09]requested_item fd.num is exist - process it [16:15:09]SAM_PROTO_GetFieldsCounters [16:15:09]wFMCommunicate request_size=4 [16:15:09]MH_SAM_APDU [16:15:09]CAPDU: 80 13 00 00 [16:15:09]Write to MH i2c: E2 08 00 13 28 80 13 00 00 00 00 00 00 B7 [16:15:09]Write i2c OK [16:15:09]MH_I2C_Read... [16:15:09]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:15:09]Read from MH i2c: E2 [16:15:09]MH_I2C_Read... [16:15:09]Read from MH i2c: E2 62 00 [16:15:09]MH_I2C_Read... [16:15:09]Read from MH i2c: E2 62 00 13 28 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 0F 57 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 34 00 00 00 5E 04 04 00 34 00 00 00 57 04 04 00 35 00 00 00 19 04 04 00 00 00 00 00 90 00 2B [16:15:09]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 0F 57 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 34 00 00 00 5E 04 04 00 34 00 00 00 57 04 04 00 35 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:15:09]wFMCommunicate OK [16:15:09]SAM_PROTO_GetFieldsCounters done [16:15:09]requested_item shift.num is exist - process it [16:15:09]requested_item shift.opened is exist - process it [16:15:09]req_shift_opened [16:15:09]FM_GetShiftState [16:15:09]SAM_PROTO_GetShiftState [16:15:09]wFMCommunicate request_size=4 [16:15:09]MH_SAM_APDU [16:15:09]CAPDU: 80 13 01 00 [16:15:09]Write to MH i2c: E2 08 00 14 28 80 13 01 00 00 00 00 00 B9 [16:15:09]Write i2c OK [16:15:09]MH_I2C_Read... [16:15:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:15:09]Read from MH i2c: E2 [16:15:09]MH_I2C_Read... [16:15:09]Read from MH i2c: E2 0E 00 [16:15:09]MH_I2C_Read... [16:15:09]Read from MH i2c: E2 0E 00 14 28 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 DA [16:15:09]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [16:15:09]wFMCommunicate OK [16:15:09]SAM_PROTO_GetShiftState done [16:15:09]FM_GetShiftState done [16:15:09]req_shift_opened done [16:15:09]requested_item shift.open_date is exist - process it [16:15:09]req_shift_open_date [16:15:09]req_shift_open_date done [16:15:09]produce_requested_data done [16:15:09]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22287,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297} [16:15:09]process_action_free close_receipt [16:15:09]json_value_free [16:15:09]json_value_free done [16:15:09]process_json_proto returns [16:15:09]Send response to host [16:15:09]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22287,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297}}} [16:15:09]free response buf [16:15:09]execute_script done [16:15:09]execute_script returns [16:15:09]free content buf [16:15:09]Sock 8.Close socket [16:15:09]Sock 8.Thread stoped [16:15:13]OFD Sender: No OFD packet to send [16:15:18]OFD Sender: No OFD packet to send [16:15:23]OFD Sender: No OFD packet to send [16:15:28]OFD Sender: No OFD packet to send [16:15:33]OFD Sender: No OFD packet to send [16:15:38]OFD Sender: No OFD packet to send [16:15:43]OFD Sender: No OFD packet to send [16:15:48]OFD Sender: No OFD packet to send [16:15:53]OFD Sender: No OFD packet to send [16:15:58]OFD Sender: No OFD packet to send [16:16:03]OFD Sender: No OFD packet to send [16:16:08]OFD Sender: No OFD packet to send [16:16:13]OFD Sender: No OFD packet to send [16:16:18]OFD Sender: No OFD packet to send [16:16:23]OFD Sender: No OFD packet to send [16:16:28]OFD Sender: No OFD packet to send [16:16:33]OFD Sender: No OFD packet to send [16:16:38]OFD Sender: No OFD packet to send [16:16:43]OFD Sender: No OFD packet to send [16:16:48]OFD Sender: No OFD packet to send [16:16:53]OFD Sender: No OFD packet to send [16:16:58]OFD Sender: No OFD packet to send [16:17:03]OFD Sender: No OFD packet to send [16:17:08]OFD Sender: No OFD packet to send [16:17:13]OFD Sender: No OFD packet to send [16:17:18]OFD Sender: No OFD packet to send [16:17:22]recv_with_timeout no data received [16:17:23]OFD Sender: No OFD packet to send [16:17:28]OFD Sender: No OFD packet to send [16:17:33]OFD Sender: No OFD packet to send [16:17:38]OFD Sender: No OFD packet to send [16:17:43]recv_with_timeout no data received [16:17:43]OFD Sender: No OFD packet to send [16:17:48]OFD Sender: No OFD packet to send [16:17:53]OFD Sender: No OFD packet to send [16:17:58]OFD Sender: No OFD packet to send [16:18:03]OFD Sender: No OFD packet to send [16:18:08]OFD Sender: No OFD packet to send [16:18:13]OFD Sender: No OFD packet to send [16:18:18]OFD Sender: No OFD packet to send [16:18:23]OFD Sender: No OFD packet to send [16:18:28]OFD Sender: No OFD packet to send [16:18:33]OFD Sender: No OFD packet to send [16:18:38]OFD Sender: No OFD packet to send [16:18:43]OFD Sender: No OFD packet to send [16:18:48]OFD Sender: No OFD packet to send [16:18:53]OFD Sender: No OFD packet to send [16:18:58]OFD Sender: No OFD packet to send [16:19:03]OFD Sender: No OFD packet to send [16:19:08]OFD Sender: No OFD packet to send [16:19:13]OFD Sender: No OFD packet to send [16:19:18]OFD Sender: No OFD packet to send [16:19:23]OFD Sender: No OFD packet to send [16:19:28]OFD Sender: No OFD packet to send [16:19:33]OFD Sender: No OFD packet to send [16:19:38]OFD Sender: No OFD packet to send [16:19:43]OFD Sender: No OFD packet to send [16:19:48]OFD Sender: No OFD packet to send [16:19:53]OFD Sender: No OFD packet to send [16:19:58]OFD Sender: No OFD packet to send [16:20:03]OFD Sender: No OFD packet to send [16:20:08]OFD Sender: No OFD packet to send [16:20:13]OFD Sender: No OFD packet to send [16:20:18]OFD Sender: No OFD packet to send [16:20:23]OFD Sender: No OFD packet to send [16:20:28]OFD Sender: No OFD packet to send [16:20:33]OFD Sender: No OFD packet to send [16:20:38]OFD Sender: No OFD packet to send [16:20:43]OFD Sender: No OFD packet to send [16:20:48]OFD Sender: No OFD packet to send [16:20:53]OFD Sender: No OFD packet to send [16:21:03]OFD Sender: No OFD packet to send [16:21:08]OFD Sender: No OFD packet to send [16:21:13]OFD Sender: No OFD packet to send [16:21:18]OFD Sender: No OFD packet to send [16:21:23]OFD Sender: No OFD packet to send [16:21:28]OFD Sender: No OFD packet to send [16:21:33]OFD Sender: No OFD packet to send [16:21:38]OFD Sender: No OFD packet to send [16:21:43]OFD Sender: No OFD packet to send [16:21:48]OFD Sender: No OFD packet to send [16:21:53]OFD Sender: No OFD packet to send [16:21:58]OFD Sender: No OFD packet to send [16:22:03]OFD Sender: No OFD packet to send [16:22:08]OFD Sender: No OFD packet to send [16:22:13]OFD Sender: No OFD packet to send [16:22:18]OFD Sender: No OFD packet to send [16:22:23]OFD Sender: No OFD packet to send [16:22:28]OFD Sender: No OFD packet to send [16:22:33]OFD Sender: No OFD packet to send [16:22:38]OFD Sender: No OFD packet to send [16:22:43]OFD Sender: No OFD packet to send [16:22:48]OFD Sender: No OFD packet to send [16:22:53]OFD Sender: No OFD packet to send [16:22:58]OFD Sender: No OFD packet to send [16:23:03]OFD Sender: No OFD packet to send [16:23:08]OFD Sender: No OFD packet to send [16:23:13]OFD Sender: No OFD packet to send [16:23:15]ConnectInit Can't connect to host [16:23:18]OFD Sender: No OFD packet to send [16:23:23]OFD Sender: No OFD packet to send [16:23:29]OFD Sender: No OFD packet to send [16:23:34]OFD Sender: No OFD packet to send [16:23:39]OFD Sender: No OFD packet to send [16:23:44]OFD Sender: No OFD packet to send [16:23:49]OFD Sender: No OFD packet to send [16:23:54]OFD Sender: No OFD packet to send [16:23:59]OFD Sender: No OFD packet to send [16:24:04]OFD Sender: No OFD packet to send [16:24:09]OFD Sender: No OFD packet to send [16:24:14]OFD Sender: No OFD packet to send [16:24:19]OFD Sender: No OFD packet to send [16:24:24]OFD Sender: No OFD packet to send [16:24:29]OFD Sender: No OFD packet to send [16:24:34]OFD Sender: No OFD packet to send [16:24:36]recv_with_timeout no data received [16:24:39]OFD Sender: No OFD packet to send [16:24:44]OFD Sender: No OFD packet to send [16:24:49]OFD Sender: No OFD packet to send [16:24:54]OFD Sender: No OFD packet to send [16:24:59]OFD Sender: No OFD packet to send [16:25:04]OFD Sender: No OFD packet to send [16:25:09]OFD Sender: No OFD packet to send [16:25:14]OFD Sender: No OFD packet to send [16:25:19]OFD Sender: No OFD packet to send [16:25:24]OFD Sender: No OFD packet to send [16:25:29]OFD Sender: No OFD packet to send [16:25:34]OFD Sender: No OFD packet to send [16:25:39]OFD Sender: No OFD packet to send [16:29:27]ConnectInit Can't connect to host [16:29:29]OFD Sender: No OFD packet to send [16:29:34]OFD Sender: No OFD packet to send [16:29:39]OFD Sender: No OFD packet to send [16:29:44]OFD Sender: No OFD packet to send [16:29:49]OFD Sender: No OFD packet to send [16:29:54]OFD Sender: No OFD packet to send [16:29:59]OFD Sender: No OFD packet to send [16:30:04]OFD Sender: No OFD packet to send [16:30:14]OFD Sender: No OFD packet to send [16:30:19]OFD Sender: No OFD packet to send [16:30:24]OFD Sender: No OFD packet to send [16:30:29]OFD Sender: No OFD packet to send [16:30:34]OFD Sender: No OFD packet to send [16:30:39]OFD Sender: No OFD packet to send [16:30:44]OFD Sender: No OFD packet to send [16:30:49]OFD Sender: No OFD packet to send [16:30:54]OFD Sender: No OFD packet to send [16:30:59]OFD Sender: No OFD packet to send [16:31:04]OFD Sender: No OFD packet to send [16:31:09]OFD Sender: No OFD packet to send [16:31:14]OFD Sender: No OFD packet to send [16:31:19]OFD Sender: No OFD packet to send [16:31:24]OFD Sender: No OFD packet to send [16:31:24]recv_with_timeout no data received [16:31:29]OFD Sender: No OFD packet to send [17:13:50]ConnectInit Can't connect to host [17:14:23]accept exits with 11 [17:14:23]New connection [17:14:23]New thread 3066695012 created [17:14:23]Thread 3066838372 joined [17:14:23]Waiting for new connection... [17:14:23] Sock 11.Parse request [17:14:23]Sock 11.Check first char [17:14:23]Sock 11.First char is OK [17:14:23]request: POST /json_proto HTTP/1.0 [17:14:23]Method: POST [17:14:23]URL: /json_proto [17:14:23]Method is POST - this is cgi request [17:14:23]url: /json_proto [17:14:23]query_string will be loaded in cgi processing [17:14:23]execute_cgi json_proto POST (null) [17:14:23]execute_cgi path=json_proto method=POST [17:14:23]POST find Content-Length [17:14:23]Host: 172.17.35.133:8080 [17:14:23]Content-Length: 1537 [17:14:23]Content-Type: application/json [17:14:23] [17:14:23]POST finish read [17:14:23]Found Content-Length = 1537 [17:14:23]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254506", "tax_sys" : 0, "items" : [ { "code": "4700000483334", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Fresh \u0414\u0438\u043A\u0438\u0435 \u044F\u0433\u043E\u0434\u044B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870235681062", "name": "Grizzly \u0432\u043E\u043B\u043D\u0438\u0441\u0442\u044B\u0435 \u041A\u043E\u043B\u0431\u0430\u0441\u043A\u0438 \u0441 \u0433\u043E\u0440\u0447\u0438\u0446\u0435\u0439 55", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000189325", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043F\u0435\u0440\u0441\u0438\u043A 0,5\u043B", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4640030091584", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Esse Gold", "price" : 143.00, "quantity" : 1.000, "sum" : 143.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 403.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:14:23]execute_script... [17:14: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)254506", "tax_sys" : 0, "items" : [ { "code": "4700000483334", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Fresh \u0414\u0438\u043A\u0438\u0435 \u044F\u0433\u043E\u0434\u044B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870235681062", "name": "Grizzly \u0432\u043E\u043B\u043D\u0438\u0441\u0442\u044B\u0435 \u041A\u043E\u043B\u0431\u0430\u0441\u043A\u0438 \u0441 \u0433\u043E\u0440\u0447\u0438\u0446\u0435\u0439 55", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000189325", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043F\u0435\u0440\u0441\u0438\u043A 0,5\u043B", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4640030091584", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Esse Gold", "price" : 143.00, "quantity" : 1.000, "sum" : 143.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 403.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:14:23]POST & json_proto [17:14:23]process_json_proto [17:14:23]json parsed OK: [17:14:23]protocol is kg_v1.0 [17:14:23]action value=close_receipt [17:14:23]process_action close_receipt [17:14:23]cmd_close_receipt [17:14:23]MH_GetDate [17:14:23]Write to MH i2c: F0 00 00 BC 29 D4 [17:14:23]Write i2c OK [17:14:23]MH_I2C_Read... [17:14:23]Read from MH i2c: F0 [17:14:23]MH_I2C_Read... [17:14:23]Read from MH i2c: F0 09 00 [17:14:23]MH_I2C_Read... [17:14:23]Read from MH i2c: F0 09 00 BC 29 00 78 1D 6F 66 8C 55 28 65 B5 [17:14:23]GetLastDocTimeStamp 1718556375 [17:14:23]current date 1718558072 [17:14:23]FM_GetShiftState [17:14:23]SAM_PROTO_GetShiftState [17:14:23]wFMCommunicate request_size=4 [17:14:23]MH_SAM_APDU [17:14:23]CAPDU: 80 13 01 00 [17:14:23]Write to MH i2c: E2 08 00 BD 29 80 13 01 00 00 00 00 00 63 [17:14:23]Write i2c OK [17:14:23]MH_I2C_Read... [17:14:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:14:23]Read from MH i2c: E2 [17:14:23]MH_I2C_Read... [17:14:23]Read from MH i2c: E2 0E 00 [17:14:23]MH_I2C_Read... [17:14:23]Read from MH i2c: E2 0E 00 BD 29 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 84 [17:14:23]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [17:14:23]wFMCommunicate OK [17:14:23]SAM_PROTO_GetShiftState done [17:14:23]FM_GetShiftState done [17:14:23]opened in 1718497297 [17:14:23]opened+sec_in_day 1718583697 [17:14:23]quantity*price = 9500 [17:14:23]sum+1 = 9501 [17:14:23]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870235681062 Grizzly волнистые Колбаски с горчицей 55 1.000 * 90.00 = 90.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 5449000189325 Холодный чай Fuse персик 0,5л 1.000 * 75.00 = 75.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4640030091584 Сигареты Esse Gold 1.000 * 143.00 = 143.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 403.00 НСП 1% : 3.56 НДС 12% : 42.80 Наличными: 403.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 58 16.06.2024 17:14 Смена: 327 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22293 ФПД: 126175949042175 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T171432&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22293&fm=126175949042175&tin=02508201610067®Number=0000000000099755&sum=40300 0 [17:14:24]StoreToDocumentArchive [17:14:24]shift 327 fd 22293 [17:14:24]save to /storage/0327/doc_00022293 [17:14:24]save last doc name /storage/0327/doc_00022293 to /storage/kkm_last_doc_name [17:14:24]save OK [17:14:24]Clear old archive folders... [17:14:24]ProcessDocumentItem done err = 0, tmpTLVsize=645 [17:14:24]tlvbuf is 001B98A0 [17:14:24]SAM_PROTO_ClearQueue [17:14:24]wFMCommunicate request_size=4 [17:14:24]MH_SAM_APDU [17:14:24]CAPDU: 80 09 00 00 [17:14:24]Write to MH i2c: E2 08 00 CA 29 80 09 00 00 00 00 00 00 65 [17:14:24]Write i2c OK [17:14:24]MH_I2C_Read... [17:14:24]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:14:24]Read from MH i2c: E2 [17:14:24]MH_I2C_Read... [17:14:24]Read from MH i2c: E2 03 00 [17:14:24]MH_I2C_Read... [17:14:24]Read from MH i2c: E2 03 00 CA 29 00 90 00 67 [17:14:24]RAPDU: 90 00 [17:14:24]wFMCommunicate OK [17:14:24]SAM_PROTO_ClearQueue done [17:14:24]KKMCreateOFDPacket [17:14:24]OFDProtocolAddRootSTLVToBuf [17:14:24]FM_MakeSignedData [17:14:24]FM_MakeSignedData [17:14:24]SAM_PROTO_SignData [17:14:24]wFMCommunicate request_size=4 [17:14:24]MH_SAM_APDU [17:14:24]CAPDU: 80 0D 01 02 [17:14:24]Write to MH i2c: E2 08 00 CB 29 80 0D 01 02 00 00 00 00 6D [17:14:24]Write i2c OK [17:14:24]MH_I2C_Read... [17:14:24]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:14:24]Read from MH i2c: E2 [17:14:24]MH_I2C_Read... [17:14:24]Read from MH i2c: E2 03 00 [17:14:24]MH_I2C_Read... [17:14:24]Read from MH i2c: E2 03 00 CB 29 00 90 00 68 [17:14:24]RAPDU: 90 00 [17:14:24]wFMCommunicate OK [17:14:24]wFMCommunicate request_size=255 [17:14:24]MH_SAM_APDU [17:14:24]CAPDU: 80 0D 02 02 FA 03 00 85 02 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 33 33 33 34 06 04 30 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 46 72 65 73 68 20 D0 94 D0 B8 D0 BA D0 B8 D0 B5 20 D1 8F D0 B3 D0 BE D0 B4 D1 8B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 86 00 8A 04 0D 00 34 38 37 30 32 33 35 36 38 31 30 36 32 06 04 42 00 47 72 69 7A 7A 6C 79 20 D0 B2 D0 BE D0 BB D0 BD D0 B8 D1 81 D1 82 D1 8B D0 B5 20 D0 9A D0 BE D0 BB D0 B1 D0 B0 D1 81 D0 BA D0 B8 20 D1 81 20 D0 B3 D0 BE D1 80 D1 87 D0 B8 D1 86 D0 B5 D0 B9 20 35 35 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 [17:14:24]Write to MH i2c: E2 02 01 CC 29 80 0D 02 02 FA 00 03 00 85 02 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 33 33 33 34 06 04 30 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 46 72 65 73 68 20 D0 94 D0 B8 D0 BA D0 B8 D0 B5 20 D1 8F D0 B3 D0 BE D0 B4 D1 8B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 86 00 8A 04 0D 00 34 38 37 30 32 33 35 36 38 31 30 36 32 06 04 42 00 47 72 69 7A 7A 6C 79 20 D0 B2 D0 BE D0 BB D0 BD D0 B8 D1 81 D1 82 D1 8B D0 B5 20 D0 9A D0 BE D0 BB D0 B1 D0 B0 D1 81 D0 BA D0 B8 20 D1 81 20 D0 B3 D0 BE D1 80 D1 87 D0 B8 D1 86 D0 B5 D0 B9 20 35 35 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 A9 [17:14:24]Write i2c OK [17:14:24]MH_I2C_Read... [17:14:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:14:25]Read from MH i2c: E2 [17:14:25]MH_I2C_Read... [17:14:25]Read from MH i2c: E2 03 00 [17:14:25]MH_I2C_Read... [17:14:25]Read from MH i2c: E2 03 00 CC 29 00 90 00 69 [17:14:25]RAPDU: 90 00 [17:14:25]wFMCommunicate OK [17:14:25]wFMCommunicate request_size=255 [17:14:25]MH_SAM_APDU [17:14:25]CAPDU: 80 0D 02 02 FA 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 73 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 32 35 06 04 2F 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 35 38 34 06 04 1A 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 73 73 65 20 47 6F 6C 64 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 37 00 00 00 00 13 04 06 00 DC 37 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 6C 9D 00 00 00 00 EB 03 26 00 EF 03 [17:14:25]Write to MH i2c: E2 02 01 CD 29 80 0D 02 02 FA 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 73 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 32 35 06 04 2F 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 35 38 34 06 04 1A 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 73 73 65 20 47 6F 6C 64 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 37 00 00 00 00 13 04 06 00 DC 37 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 6C 9D 00 00 00 00 EB 03 26 00 EF 03 00 00 6B [17:14:25]Write i2c OK [17:14:25]MH_I2C_Read... [17:14:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:14:25]Read from MH i2c: E2 [17:14:25]MH_I2C_Read... [17:14:25]Read from MH i2c: E2 03 00 [17:14:25]MH_I2C_Read... [17:14:25]Read from MH i2c: E2 03 00 CD 29 00 90 00 6A [17:14:25]RAPDU: 90 00 [17:14:25]wFMCommunicate OK [17:14:25]wFMCommunicate request_size=154 [17:14:25]MH_SAM_APDU [17:14:25]CAPDU: 80 0D 02 02 95 0F 00 F6 03 01 00 01 F7 03 06 00 64 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B8 10 00 00 00 00 07 04 06 00 6C 9D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 78 1D 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 15 57 00 00 35 04 06 00 72 C1 A0 9F 31 FF [17:14:25]Write to MH i2c: E2 9D 00 CE 29 80 0D 02 02 95 00 0F 00 F6 03 01 00 01 F7 03 06 00 64 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B8 10 00 00 00 00 07 04 06 00 6C 9D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 78 1D 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 15 57 00 00 35 04 06 00 72 C1 A0 9F 31 FF 00 00 0B [17:14:25]Write i2c OK [17:14:25]MH_I2C_Read... [17:14:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:14:25]Read from MH i2c: E2 [17:14:25]MH_I2C_Read... [17:14:25]Read from MH i2c: E2 03 00 [17:14:25]MH_I2C_Read... [17:14:25]Read from MH i2c: E2 03 00 CE 29 00 90 00 6B [17:14:25]RAPDU: 90 00 [17:14:25]wFMCommunicate OK [17:14:25]wFMCommunicate request_size=4 [17:14:25]MH_SAM_APDU [17:14:25]CAPDU: 80 0D 03 02 [17:14:25]Write to MH i2c: E2 08 00 CF 29 80 0D 03 02 00 00 00 00 73 [17:14:25]Write i2c OK [17:14:25]MH_I2C_Read... [17:14:25]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:14:25]Read from MH i2c: E2 [17:14:25]MH_I2C_Read... [17:14:25]Read from MH i2c: E2 0B 00 [17:14:25]MH_I2C_Read... [17:14:25]Read from MH i2c: E2 0B 00 CF 29 00 BA 2B 2E 7F 60 10 86 0D 90 00 09 [17:14:25]RAPDU: BA 2B 2E 7F 60 10 86 0D 90 00 [17:14:25]wFMCommunicate OK [17:14:25]SAM_PROTO_SignData done [17:14:25]FM_MakeSignedData done [17:14:25]CreateOFDProtocolMessage [17:14:25]wFMCommunicate request_size=4 [17:14:25]MH_SAM_APDU [17:14:25]CAPDU: 80 11 00 00 [17:14:25]Write to MH i2c: E2 08 00 D0 29 80 11 00 00 00 00 00 00 73 [17:14:25]Write i2c OK [17:14:25]MH_I2C_Read... [17:14:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:14:25]Read from MH i2c: E2 [17:14:25]MH_I2C_Read... [17:14:25]Read from MH i2c: E2 17 00 [17:14:25]MH_I2C_Read... [17:14:25]Read from MH i2c: E2 17 00 D0 29 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 C5 [17:14:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [17:14:25]wFMCommunicate OK [17:14:25]CreateOFDProtocolMessage done [17:14:25]OFDSenderStorePacket 22293 [17:14:25]StoreOFDPacket docnum=22293 [17:14:25]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 99 02 00 00 86 34 91 02 90 4F 5A 03 01 00 03 00 85 02 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 33 33 33 34 06 04 30 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 46 72 65 73 68 20 D0 94 D0 B8 D0 BA D0 B8 D0 B5 20 D1 8F D0 B3 D0 BE D0 B4 D1 8B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 86 00 8A 04 0D 00 34 38 37 30 32 33 35 36 38 31 30 36 32 06 04 42 00 47 72 69 7A 7A 6C 79 20 D0 B2 D0 BE D0 BB D0 BD D0 B8 D1 81 D1 82 D1 8B D0 B5 20 D0 9A D0 BE D0 BB D0 B1 D0 B0 D1 81 D0 BA D0 B8 20 D1 81 20 D0 B3 D0 BE D1 80 D1 87 D0 B8 D1 86 D0 B5 D0 B9 20 35 35 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 23 04 73 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 32 35 06 04 2F 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 35 38 34 06 04 1A 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 73 73 65 20 47 6F 6C 64 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 37 00 00 00 00 13 04 06 00 DC 37 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 6C 9D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 64 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B8 10 00 00 00 00 07 04 06 00 6C 9D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 78 1D 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 15 57 00 00 35 04 06 00 72 C1 A0 9F 31 FF BA 2B 2E 7F 60 10 86 0D [17:14:25]CheckFolder [17:14:25]dirname=/storage/ofd_packets [17:14:25]CheckFolder done [17:14:25]ProducePacketName [17:14:25]name=ofd_packets/00022293 [17:14:25]NVStorageSaveData ofd_packets/00022293 [17:14:25]File name is /storage/ofd_packets/00022293 [17:14:25]Write 695 bytes [17:14:25]NVStorageSaveData done [17:14:25]OFDSenderStorePacket done [17:14:25]KKMCreateOFDPacket done [17:14:25]NVStorageSaveData kkm_last_timestamp [17:14:25]File name is /storage/kkm_last_timestamp [17:14:25]Write 4 bytes [17:14:25]NVStorageSaveData done [17:14:25]ExternCall_PrintAddStr [17:14:25]wPrintStart [17:14:25]Write to MH i2c: 01 00 00 D1 29 FA [17:14:25]Write i2c OK [17:14:25]MH_I2C_Read... [17:14:25]Read from MH i2c: 01 [17:14:25]MH_I2C_Read... [17:14:25]Read from MH i2c: 01 07 00 [17:14:25]MH_I2C_Read... [17:14:25]Read from MH i2c: 01 07 00 D1 29 00 00 00 00 00 FF 0F 0F [17:14:25]RasterBufferAndPrint [17:14:25]line Счет N : (3)254506 [17:14:25]line ИНН: 02508201610067 [17:14:25]line Контрольно-Кассовый Чек [17:14:25]line ПРОДАЖА [17:14:25]line Товар: 4700000483334 [17:14:25]line Напиток Nitro Fresh Дикие ягоды [17:14:25]line 1.000 * 95.00 [17:14:25]line = 95.00 [17:14:25]line НДС 12% НСП 1% [17:14:26]line > о реализуемом товаре [17:14:26]line Товар: 4870235681062 [17:14:26]line Grizzly волнистые Колбаски с горчицей 55 [17:14:26]line 1.000 * 90.00 [17:14:26]line = 90.00 [17:14:26]line НДС 12% НСП 1% [17:14:26]line > о реализуемом товаре [17:14:26]line Товар: 5449000189325 [17:14:26]line Холодный чай Fuse персик 0,5л [17:14:26]line 1.000 * 75.00 [17:14:26]line = 75.00 [17:14:26]line НДС 12% НСП 1% [17:14:26]line > о реализуемом товаре [17:14:26]line Товар: 4640030091584 [17:14:26]line Сигареты Esse Gold [17:14:26]line 1.000 * 143.00 [17:14:26]line = 143.00 [17:14:26]line НДС 12% НСП 1% [17:14:26]line > о реализуемом товаре [17:14:26]line ИТОГО: 403.00 [17:14:26]line НСП 1% : 3.56 [17:14:26]line НДС 12% : 42.80 [17:14:26]line Наличными: 403.00 [17:14:26]line Безнал.: 0.00 [17:14:26]line Место: АЗС № 76 "Партнер Нефть" [17:14:26]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [17:14:26]line СНО: Общий режим [17:14:26]line Чек 58 16.06.2024 17:14 [17:14:26]line Смена: 327 ФФД: 1.0 [17:14:26]line ЗНМ: 0300000200 [17:14:26]line РНМ: 0000000000099755 [17:14:26]line Версия ККМ: 001 [17:14:26]line ФМ: 0000000000965344 [17:14:26]line ФД: 22293 [17:14:26]line ФПД: 126175949042175 [17:14:26]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T171432&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22293&fm=126175949042175&tin=02508201610067®Number=0000000000099755&sum=40300 [17:14:26]line 0 [17:14:26]written 0, free lines is 4095 [17:14:26]Write to MH i2c: 01 00 00 0E 2A 38 [17:14:26]Write i2c OK [17:14:26]MH_I2C_Read... [17:14:26]Read from MH i2c: 01 [17:14:26]MH_I2C_Read... [17:14:26]Read from MH i2c: 01 07 00 [17:14:26]MH_I2C_Read... [17:14:26]Read from MH i2c: 01 07 00 0E 2A 00 00 00 00 00 FF 0B 49 [17:14:26]RasterBufferAndPrint [17:14:26]line [17:14:26]line [17:14:26]line [17:14:26]line [17:14:26]line [17:14:26]written 0, free lines is 3081 [17:14:26]MH_Cut [17:14:26]Write to MH i2c: D1 01 00 15 2A 01 11 [17:14:26]Write i2c OK [17:14:26]MH_I2C_Read... [17:14:26]Read from MH i2c: D1 [17:14:26]MH_I2C_Read... [17:14:26]Read from MH i2c: D1 01 00 [17:14:26]MH_I2C_Read... [17:14:26]Read from MH i2c: D1 01 00 15 2A 00 10 [17:14:26]Write to MH i2c: 01 00 00 16 2A 40 [17:14:26]Write i2c OK [17:14:26]MH_I2C_Read... [17:14:27]*** Cut start [17:14:27]*** Partial cut [17:14:27]*** CUTSNS_PIN = 1 [17:14:27]*** CUTSNS_PIN = 0 [17:14:27]*** Brake cut motor [17:14:28]Read from MH i2c: 01 [17:14:28]MH_I2C_Read... [17:14:28]*** Stop cut motor [17:14:28]*** Cut end [17:14:28]Read from MH i2c: 01 07 00 [17:14:28]MH_I2C_Read... [17:14:28]Read from MH i2c: 01 07 00 16 2A 00 00 00 00 00 FF 0F 55 [17:14:28]process_action close_receipt done [17:14:28]requested_data is exist [17:14:28]produce_requested_data [17:14:28]requested_item fm.sn is exist - process it [17:14:28]wFMCommunicate request_size=4 [17:14:28]MH_SAM_APDU [17:14:28]CAPDU: 80 11 00 00 [17:14:28]Write to MH i2c: E2 08 00 17 2A 80 11 00 00 00 00 00 00 BB [17:14:28]Write i2c OK [17:14:28]MH_I2C_Read... [17:14:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:14:28]Read from MH i2c: E2 [17:14:28]MH_I2C_Read... [17:14:28]Read from MH i2c: E2 17 00 [17:14:28]MH_I2C_Read... [17:14:28]Read from MH i2c: E2 17 00 17 2A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 0D [17:14:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [17:14:28]wFMCommunicate OK [17:14:28]requested_item fd.num is exist - process it [17:14:28]SAM_PROTO_GetFieldsCounters [17:14:28]wFMCommunicate request_size=4 [17:14:28]MH_SAM_APDU [17:14:28]CAPDU: 80 13 00 00 [17:14:28]Write to MH i2c: E2 08 00 18 2A 80 13 00 00 00 00 00 00 BE [17:14:28]Write i2c OK [17:14:28]MH_I2C_Read... [17:14:28]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:14:28]Read from MH i2c: E2 [17:14:28]MH_I2C_Read... [17:14:28]Read from MH i2c: E2 62 00 [17:14:28]MH_I2C_Read... [17:14:28]Read from MH i2c: E2 62 00 18 2A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 15 57 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 3A 00 00 00 5E 04 04 00 3A 00 00 00 57 04 04 00 3B 00 00 00 19 04 04 00 00 00 00 00 90 00 4A [17:14:28]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 15 57 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 3A 00 00 00 5E 04 04 00 3A 00 00 00 57 04 04 00 3B 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:14:28]wFMCommunicate OK [17:14:28]SAM_PROTO_GetFieldsCounters done [17:14:28]requested_item shift.num is exist - process it [17:14:28]requested_item shift.opened is exist - process it [17:14:28]req_shift_opened [17:14:28]FM_GetShiftState [17:14:28]SAM_PROTO_GetShiftState [17:14:28]wFMCommunicate request_size=4 [17:14:28]MH_SAM_APDU [17:14:28]CAPDU: 80 13 01 00 [17:14:28]Write to MH i2c: E2 08 00 19 2A 80 13 01 00 00 00 00 00 C0 [17:14:28]Write i2c OK [17:14:28]MH_I2C_Read... [17:14:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:14:28]Read from MH i2c: E2 [17:14:28]MH_I2C_Read... [17:14:28]Read from MH i2c: E2 0E 00 [17:14:28]MH_I2C_Read... [17:14:28]Read from MH i2c: E2 0E 00 19 2A 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 E1 [17:14:28]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [17:14:28]wFMCommunicate OK [17:14:28]SAM_PROTO_GetShiftState done [17:14:28]FM_GetShiftState done [17:14:28]req_shift_opened done [17:14:28]requested_item shift.open_date is exist - process it [17:14:28]req_shift_open_date [17:14:28]req_shift_open_date done [17:14:28]produce_requested_data done [17:14:28]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22293,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297} [17:14:28]process_action_free close_receipt [17:14:28]json_value_free [17:14:28]json_value_free done [17:14:28]process_json_proto returns [17:14:28]Send response to host [17:14:28]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22293,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297}}} [17:14:28]free response buf [17:14:28]execute_script done [17:14:28]execute_script returns [17:14:28]free content buf [17:14:28]Sock 11.Close socket [17:14:28]Sock 11.Thread stoped [17:14:36]recv_with_timeout no data received [17:15:24]accept exits with 9 [17:15:24]New connection [17:15:24]New thread 3066838372 created [17:15:24]Thread 3066695012 joined [17:15:24]Waiting for new connection... [17:15:24] Sock 9.Parse request [17:15:24]Sock 9.Check first char [17:15:24]Sock 9.First char is OK [17:15:24]request: POST /json_proto HTTP/1.0 [17:15:24]Method: POST [17:15:24]URL: /json_proto [17:15:24]Method is POST - this is cgi request [17:15:24]url: /json_proto [17:15:24]query_string will be loaded in cgi processing [17:15:24]execute_cgi json_proto POST (null) [17:15:24]execute_cgi path=json_proto method=POST [17:15:24]POST find Content-Length [17:15:24]Host: 172.17.35.133:8080 [17:15:24]Content-Length: 680 [17:15:24]Content-Type: application/json [17:15:24] [17:15:24]POST finish read [17:15:24]Found Content-Length = 680 [17:15:24]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254507", "tax_sys" : 0, "items" : [ { "code": "4620016300305", "name": "\u0421\u0430\u043B\u0444\u0435\u0442\u043A\u0438 Absolut classic \u0432\u043B \u0430/\u0431\u0430\u043A\u0442 20 \u0448\u0442", "price" : 65.00, "quantity" : 1.000, "sum" : 65.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 65.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:15:24]execute_script... [17:15: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)254507", "tax_sys" : 0, "items" : [ { "code": "4620016300305", "name": "\u0421\u0430\u043B\u0444\u0435\u0442\u043A\u0438 Absolut classic \u0432\u043B \u0430/\u0431\u0430\u043A\u0442 20 \u0448\u0442", "price" : 65.00, "quantity" : 1.000, "sum" : 65.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 65.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:15:24]POST & json_proto [17:15:24]process_json_proto [17:15:24]json parsed OK: [17:15:24]protocol is kg_v1.0 [17:15:24]action value=close_receipt [17:15:24]process_action close_receipt [17:15:24]cmd_close_receipt [17:15:24]MH_GetDate [17:15:24]Write to MH i2c: F0 00 00 1A 2A 33 [17:15:24]Write i2c OK [17:15:24]MH_I2C_Read... [17:15:24]Read from MH i2c: F0 [17:15:24]MH_I2C_Read... [17:15:24]Read from MH i2c: F0 09 00 [17:15:24]MH_I2C_Read... [17:15:24]Read from MH i2c: F0 09 00 1A 2A 00 B6 1D 6F 66 8C 55 28 65 52 [17:15:24]GetLastDocTimeStamp 1718558072 [17:15:24]current date 1718558134 [17:15:24]FM_GetShiftState [17:15:24]SAM_PROTO_GetShiftState [17:15:24]wFMCommunicate request_size=4 [17:15:24]MH_SAM_APDU [17:15:24]CAPDU: 80 13 01 00 [17:15:24]Write to MH i2c: E2 08 00 1B 2A 80 13 01 00 00 00 00 00 C2 [17:15:24]Write i2c OK [17:15:24]MH_I2C_Read... [17:15:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:15:24]Read from MH i2c: E2 [17:15:24]MH_I2C_Read... [17:15:24]Read from MH i2c: E2 0E 00 [17:15:24]MH_I2C_Read... [17:15:24]Read from MH i2c: E2 0E 00 1B 2A 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 E3 [17:15:24]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [17:15:24]wFMCommunicate OK [17:15:24]SAM_PROTO_GetShiftState done [17:15:24]FM_GetShiftState done [17:15:24]opened in 1718497297 [17:15:24]opened+sec_in_day 1718583697 [17:15:24]quantity*price = 6500 [17:15:24]sum+1 = 6501 [17:15:24]Check (price>sum+1) || (price+1 о реализуемом товаре [17:15:26]line ИТОГО: 65.00 [17:15:26]line НСП 1% : 0.57 [17:15:26]line НДС 12% : 6.90 [17:15:26]line Наличными: 65.00 [17:15:26]line Безнал.: 0.00 [17:15:26]line Место: АЗС № 76 "Партнер Нефть" [17:15:26]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [17:15:26]line СНО: Общий режим [17:15:26]line Чек 59 16.06.2024 17:15 [17:15:26]line Смена: 327 ФФД: 1.0 [17:15:26]line ЗНМ: 0300000200 [17:15:26]line РНМ: 0000000000099755 [17:15:26]line Версия ККМ: 001 [17:15:26]line ФМ: 0000000000965344 [17:15:26]line ФД: 22294 [17:15:26]line ФПД: 216447151177209 [17:15:26]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T171534&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22294&fm=216447151177209&tin=02508201610067®Number=0000000000099755&sum=6500 [17:15:26]line 0 [17:15:26]written 0, free lines is 4095 [17:15:27]Write to MH i2c: 01 00 00 57 2A 81 [17:15:27]Write i2c OK [17:15:27]MH_I2C_Read... [17:15:27]Read from MH i2c: 01 [17:15:27]MH_I2C_Read... [17:15:27]Read from MH i2c: 01 07 00 [17:15:27]MH_I2C_Read... [17:15:27]Read from MH i2c: 01 07 00 57 2A 00 00 00 00 00 03 0D 98 [17:15:27]RasterBufferAndPrint [17:15:27]line [17:15:27]line [17:15:27]line [17:15:27]line [17:15:27]line [17:15:27]written 0, free lines is 3337 [17:15:27]MH_Cut [17:15:27]Write to MH i2c: D1 01 00 5E 2A 01 5A [17:15:27]Write i2c OK [17:15:27]MH_I2C_Read... [17:15:27]Read from MH i2c: D1 [17:15:27]MH_I2C_Read... [17:15:27]Read from MH i2c: D1 01 00 [17:15:27]MH_I2C_Read... [17:15:27]Read from MH i2c: D1 01 00 5E 2A 00 59 [17:15:27]Write to MH i2c: 01 00 00 5F 2A 89 [17:15:27]Write i2c OK [17:15:27]MH_I2C_Read... [17:15:28]*** Cut start [17:15:28]*** Partial cut [17:15:28]*** CUTSNS_PIN = 1 [17:15:28]*** CUTSNS_PIN = 0 [17:15:28]*** Brake cut motor [17:15:28]Read from MH i2c: 01 [17:15:28]MH_I2C_Read... [17:15:28]*** Stop cut motor [17:15:28]*** Cut end [17:15:28]Read from MH i2c: 01 07 00 [17:15:28]MH_I2C_Read... [17:15:28]Read from MH i2c: 01 07 00 5F 2A 00 00 00 00 00 FF 0F 9E [17:15:28]process_action close_receipt done [17:15:28]requested_data is exist [17:15:28]produce_requested_data [17:15:28]requested_item fm.sn is exist - process it [17:15:28]wFMCommunicate request_size=4 [17:15:28]MH_SAM_APDU [17:15:28]CAPDU: 80 11 00 00 [17:15:28]Write to MH i2c: E2 08 00 60 2A 80 11 00 00 00 00 00 00 04 [17:15:28]Write i2c OK [17:15:28]MH_I2C_Read... [17:15:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:15:28]Read from MH i2c: E2 [17:15:28]MH_I2C_Read... [17:15:28]Read from MH i2c: E2 17 00 [17:15:28]MH_I2C_Read... [17:15:28]Read from MH i2c: E2 17 00 60 2A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 56 [17:15:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [17:15:28]wFMCommunicate OK [17:15:28]requested_item fd.num is exist - process it [17:15:28]SAM_PROTO_GetFieldsCounters [17:15:28]wFMCommunicate request_size=4 [17:15:28]MH_SAM_APDU [17:15:28]CAPDU: 80 13 00 00 [17:15:28]Write to MH i2c: E2 08 00 61 2A 80 13 00 00 00 00 00 00 07 [17:15:28]Write i2c OK [17:15:28]MH_I2C_Read... [17:15:28]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:15:28]Read from MH i2c: E2 [17:15:28]MH_I2C_Read... [17:15:28]Read from MH i2c: E2 62 00 [17:15:28]MH_I2C_Read... [17:15:28]Read from MH i2c: E2 62 00 61 2A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 16 57 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 3B 00 00 00 5E 04 04 00 3B 00 00 00 57 04 04 00 3C 00 00 00 19 04 04 00 00 00 00 00 90 00 97 [17:15:28]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 16 57 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 3B 00 00 00 5E 04 04 00 3B 00 00 00 57 04 04 00 3C 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:15:28]wFMCommunicate OK [17:15:28]SAM_PROTO_GetFieldsCounters done [17:15:28]requested_item shift.num is exist - process it [17:15:28]requested_item shift.opened is exist - process it [17:15:28]req_shift_opened [17:15:28]FM_GetShiftState [17:15:28]SAM_PROTO_GetShiftState [17:15:28]wFMCommunicate request_size=4 [17:15:28]MH_SAM_APDU [17:15:28]CAPDU: 80 13 01 00 [17:15:28]Write to MH i2c: E2 08 00 62 2A 80 13 01 00 00 00 00 00 09 [17:15:28]Write i2c OK [17:15:28]MH_I2C_Read... [17:15:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:15:28]Read from MH i2c: E2 [17:15:28]MH_I2C_Read... [17:15:28]Read from MH i2c: E2 0E 00 [17:15:28]MH_I2C_Read... [17:15:28]Read from MH i2c: E2 0E 00 62 2A 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 2A [17:15:28]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [17:15:28]wFMCommunicate OK [17:15:28]SAM_PROTO_GetShiftState done [17:15:28]FM_GetShiftState done [17:15:28]req_shift_opened done [17:15:28]requested_item shift.open_date is exist - process it [17:15:28]req_shift_open_date [17:15:28]req_shift_open_date done [17:15:28]produce_requested_data done [17:15:28]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22294,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297} [17:15:28]process_action_free close_receipt [17:15:28]json_value_free [17:15:28]json_value_free done [17:15:28]process_json_proto returns [17:15:28]Send response to host [17:15:28]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22294,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297}}} [17:15:28]free response buf [17:15:28]execute_script done [17:15:28]execute_script returns [17:15:28]free content buf [17:15:28]Sock 9.Close socket [17:15:28]Sock 9.Thread stoped [17:16:04]ConnectInit Can't connect to host [17:16:04]CommunicateWithHost connect error [17:16:04]CommunicateWithHost err = -1 [17:16:04]OFD Sender: Server communicate error [17:16:04]OFD Sender: Processing packet 22288 [packets to send 11, broken 4] [17:16:04]ProducePacketName [17:16:04]name=ofd_packets/00022288 [17:16:04]OFD Sender: To server: pG, [17:16:04]CommunicateWithHost lk.salyk.kg:30040 [17:16:04]ConnectInit lk.salyk.kg [17:16:09]ConnectInit Can't take IP for lk.salyk.kg [17:16:09]CommunicateWithHost connect error [17:16:09]CommunicateWithHost err = -1 [17:16:09]OFD Sender: Server communicate error [17:16:14]OFD Sender: Processing packet 22288 [packets to send 11, broken 4] [17:16:14]ProducePacketName [17:16:14]name=ofd_packets/00022288 [17:16:14]OFD Sender: To server: pG, [17:16:14]CommunicateWithHost lk.salyk.kg:30040 [17:16:14]ConnectInit lk.salyk.kg [17:16:19]ConnectInit Can't take IP for lk.salyk.kg [17:16:19]CommunicateWithHost connect error [17:16:19]CommunicateWithHost err = -1 [17:16:19]OFD Sender: Server communicate error [17:16:24]OFD Sender: Processing packet 22288 [packets to send 11, broken 4] [17:16:24]ProducePacketName [17:16:24]name=ofd_packets/00022288 [17:16:24]OFD Sender: To server: pG, [17:16:24]CommunicateWithHost lk.salyk.kg:30040 [17:16:24]ConnectInit lk.salyk.kg [17:16:29]ConnectInit Can't take IP for lk.salyk.kg [17:16:29]CommunicateWithHost connect error [17:16:29]CommunicateWithHost err = -1 [17:16:29]OFD Sender: Server communicate error [17:16:34]OFD Sender: Processing packet 22288 [packets to send 11, broken 4] [17:16:34]ProducePacketName [17:16:34]name=ofd_packets/00022288 [17:16:34]OFD Sender: To server: pG, [17:16:34]CommunicateWithHost lk.salyk.kg:30040 [17:16:34]ConnectInit lk.salyk.kg [17:16:39]ConnectInit Can't take IP for lk.salyk.kg [17:16:39]CommunicateWithHost connect error [17:16:39]CommunicateWithHost err = -1 [17:16:39]OFD Sender: Server communicate error [17:16:44]OFD Sender: Processing packet 22288 [packets to send 11, broken 4] [17:16:44]ProducePacketName [17:16:44]name=ofd_packets/00022288 [17:16:44]OFD Sender: To server: pG, [17:16:44]CommunicateWithHost lk.salyk.kg:30040 [17:16:44]ConnectInit lk.salyk.kg [17:16:49]ConnectInit Can't take IP for lk.salyk.kg [17:16:49]CommunicateWithHost connect error [17:16:49]CommunicateWithHost err = -1 [17:16:49]OFD Sender: Server communicate error [17:16:54]OFD Sender: Processing packet 22288 [packets to send 11, broken 4] [17:16:54]ProducePacketName [17:16:54]name=ofd_packets/00022288 [17:16:54]OFD Sender: To server: pG, [17:16:54]CommunicateWithHost lk.salyk.kg:30040 [17:16:54]ConnectInit lk.salyk.kg [17:16:59]ConnectInit Can't take IP for lk.salyk.kg [17:16:59]CommunicateWithHost connect error [17:16:59]CommunicateWithHost err = -1 [17:16:59]OFD Sender: Server communicate error [17:17:04]OFD Sender: Processing packet 22288 [packets to send 11, broken 4] [17:17:04]ProducePacketName [17:17:04]name=ofd_packets/00022288 [17:17:04]OFD Sender: To server: pG, [17:17:04]CommunicateWithHost lk.salyk.kg:30040 [17:17:04]ConnectInit lk.salyk.kg [17:17:09]ConnectInit Can't take IP for lk.salyk.kg [17:17:09]CommunicateWithHost connect error [17:17:09]CommunicateWithHost err = -1 [17:17:09]OFD Sender: Server communicate error [17:17:14]OFD Sender: Processing packet 22288 [packets to send 11, broken 4] [17:17:14]ProducePacketName [17:17:14]name=ofd_packets/00022288 [17:17:14]OFD Sender: To server: pG, [17:17:14]CommunicateWithHost lk.salyk.kg:30040 [17:17:14]ConnectInit lk.salyk.kg [17:17:19]Connected sock=8 [17:17:19]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 17 01 00 00 CD AB 0F 01 4B 0E 5A 03 01 00 03 00 03 01 1E 04 01 00 01 23 04 55 00 8A 04 08 00 34 38 37 34 34 37 31 33 06 04 16 00 4C 44 20 43 6F 6D 70 61 63 74 20 50 75 72 70 6C 65 20 42 65 61 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F4 33 00 00 00 00 13 04 06 00 F4 33 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F4 33 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 76 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 84 05 00 00 00 00 07 04 06 00 F4 33 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 54 15 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 10 57 00 00 35 04 06 00 5E 62 6C 82 E4 12 B0 C2 67 D5 41 8D B5 43 [17:17:20]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 EA 5B 47 00 D6 C0 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 10 57 00 00 F4 03 04 00 E0 C6 6E 66 B6 04 01 00 00 50 A3 1A C5 21 01 36 1A [17:17:20]CommunicateWithHost err = 0 [17:17:20]CheckOFDResponse [17:17:20]1017 (14) - 77093643461234 [17:17:20]1041 (16) - 0000000000965344 [17:17:20]1040 (4) - 22288 [17:17:20]1012 (4) - 16.06.2024 11:05 [17:17:20]1206 (1) - 0 [17:17:20]OFD Sender: Remove packet 22288 [17:17:20]ProducePacketName [17:17:20]name=ofd_packets/00022288 [17:17:20]NVStorageDeleteData [17:17:20]OFD Sender: Processing packet 22289 [packets to send 10, broken 4] [17:17:20]ProducePacketName [17:17:20]name=ofd_packets/00022289 [17:17:20]OFD Sender: To server: pG, [17:17:20]CommunicateWithHost lk.salyk.kg:30040 [17:17:20]ConnectInit lk.salyk.kg [17:17:20]Connected sock=8 [17:17:20]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 69 03 00 00 F9 52 61 03 E3 06 5A 03 01 00 03 00 55 03 1E 04 01 00 01 23 04 7B 00 8A 04 0D 00 34 36 37 30 30 30 33 31 39 30 30 35 31 06 04 37 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 53 49 42 49 52 49 41 20 41 4E 54 49 46 52 45 45 5A 45 20 D0 9E D0 96 34 30 20 D0 BA D1 80 D0 B0 D1 81 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E4 57 00 00 00 00 13 04 06 00 E4 57 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 23 04 6A 00 8A 04 0D 00 34 36 30 32 34 34 31 30 30 30 36 30 39 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 20 D0 94 D1 8E D1 88 D0 B5 D1 81 20 31 D0 BB 20 D1 81 D1 82 D0 B5 D0 BA D0 BB D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 50 00 00 00 00 13 04 06 00 14 50 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6D 00 8A 04 0D 00 35 34 34 39 30 30 30 31 33 33 33 32 38 06 04 29 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 5A 65 72 6F 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 67 00 8A 04 0D 00 38 35 39 30 30 34 32 37 30 31 32 33 39 06 04 23 00 D0 A1 D0 B0 D0 BB D1 84 D0 B5 D1 82 D0 BA D0 B8 20 D0 B2 D0 BB D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 56 4F 4B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 0E 00 00 00 00 13 04 06 00 10 0E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 75 00 8A 04 0D 00 32 30 30 30 30 32 37 33 34 30 30 32 30 06 04 31 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 20 D0 B1 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B9 20 D0 B2 D0 B8 D1 82 D0 B0 D1 8F 20 D1 80 D1 83 D1 87 D0 BA D0 B0 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C4 09 00 00 00 00 13 04 06 00 C4 09 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 04 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4D 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9F 1B 00 00 00 00 07 04 06 00 28 04 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 FA 15 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 11 57 00 00 35 04 06 00 0E 43 56 17 1D AF 1A 6E C8 CD 7F 2F FF 9F [17:17:20]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 96 42 47 00 4B 8B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 11 57 00 00 F4 03 04 00 E1 C6 6E 66 B6 04 01 00 00 FA 77 CF 0F B6 C7 F4 58 [17:17:20]CommunicateWithHost err = 0 [17:17:20]CheckOFDResponse [17:17:20]1017 (14) - 77093643461234 [17:17:20]1041 (16) - 0000000000965344 [17:17:20]1040 (4) - 22289 [17:17:20]1012 (4) - 16.06.2024 11:05 [17:17:20]1206 (1) - 0 [17:17:20]OFD Sender: Remove packet 22289 [17:17:20]ProducePacketName [17:17:20]name=ofd_packets/00022289 [17:17:20]NVStorageDeleteData [17:17:21]OFD Sender: Processing packet 22290 [packets to send 9, broken 4] [17:17:21]ProducePacketName [17:17:21]name=ofd_packets/00022290 [17:17:21]OFD Sender: To server: pG, [17:17:21]CommunicateWithHost lk.salyk.kg:30040 [17:17:21]ConnectInit lk.salyk.kg [17:17:21]Connected sock=8 [17:17:21]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 2E 01 00 00 9A 84 26 01 D1 1A 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 20 16 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 12 57 00 00 35 04 06 00 80 8A 31 D8 8F 08 7E 5F BF 36 56 37 18 DA [17:17:21]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 C8 79 47 00 11 9C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 12 57 00 00 F4 03 04 00 E2 C6 6E 66 B6 04 01 00 00 4F CB C0 EF 36 60 38 CF [17:17:21]CommunicateWithHost err = 0 [17:17:21]CheckOFDResponse [17:17:21]1017 (14) - 77093643461234 [17:17:21]1041 (16) - 0000000000965344 [17:17:21]1040 (4) - 22290 [17:17:21]1012 (4) - 16.06.2024 11:05 [17:17:21]1206 (1) - 0 [17:17:21]OFD Sender: Remove packet 22290 [17:17:21]ProducePacketName [17:17:21]name=ofd_packets/00022290 [17:17:21]NVStorageDeleteData [17:17:22]OFD Sender: Processing packet 22291 [packets to send 8, broken 4] [17:17:22]ProducePacketName [17:17:22]name=ofd_packets/00022291 [17:17:22]OFD Sender: To server: pG, [17:17:22]CommunicateWithHost lk.salyk.kg:30040 [17:17:22]ConnectInit lk.salyk.kg [17:17:22]Connected sock=8 [17:17:22]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 3F 01 00 00 F0 05 37 01 8E 1B 5A 03 01 00 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 36 32 30 30 31 36 33 30 30 33 30 35 06 04 39 00 D0 A1 D0 B0 D0 BB D1 84 D0 B5 D1 82 D0 BA D0 B8 20 41 62 73 6F 6C 75 74 20 63 6C 61 73 73 69 63 20 D0 B2 D0 BB 20 D0 B0 2F D0 B1 D0 B0 D0 BA D1 82 20 32 30 20 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 19 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 39 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 02 00 00 00 00 07 04 06 00 64 19 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 38 00 00 00 F4 03 04 00 86 16 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 13 57 00 00 35 04 06 00 50 52 63 D6 40 48 A6 DD 31 D4 DC 8C CD 49 [17:17:22]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 8A 49 47 00 AE 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 39 36 35 33 34 34 10 04 04 00 13 57 00 00 F4 03 04 00 E3 C6 6E 66 B6 04 01 00 00 02 02 FC 8A C4 F1 ED 94 [17:17:22]CommunicateWithHost err = 0 [17:17:22]CheckOFDResponse [17:17:22]1017 (14) - 77093643461234 [17:17:22]1041 (16) - 0000000000965344 [17:17:22]1040 (4) - 22291 [17:17:22]1012 (4) - 16.06.2024 11:05 [17:17:22]1206 (1) - 0 [17:17:22]OFD Sender: Remove packet 22291 [17:17:22]ProducePacketName [17:17:22]name=ofd_packets/00022291 [17:17:22]NVStorageDeleteData [17:17:22]OFD Sender: Processing packet 22292 [packets to send 7, broken 4] [17:17:22]ProducePacketName [17:17:22]name=ofd_packets/00022292 [17:17:22]OFD Sender: To server: pG, [17:17:22]CommunicateWithHost lk.salyk.kg:30040 [17:17:22]ConnectInit lk.salyk.kg [17:17:23]Connected sock=8 [17:17:23]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 CD 02 00 00 B3 EB C5 02 DA A3 5A 03 01 00 03 00 B9 02 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 36 39 35 37 35 33 31 30 33 32 30 30 37 06 04 28 00 D0 9A D0 B0 D0 B1 D0 B5 D0 BB D1 8C 20 68 6F 63 6F 20 52 41 50 20 43 48 41 52 20 58 31 20 D0 90 70 70 6C 65 20 31 D0 BC FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 69 00 00 00 00 13 04 06 00 DC 69 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 08 00 35 30 31 37 33 38 32 32 06 04 25 00 D0 A0 2F D0 B6 20 4F 72 62 69 74 20 D0 B1 2F D1 81 D0 B0 D1 85 20 D0 BC D1 8F D1 82 D0 B0 20 31 33 2C 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 34 38 37 30 32 30 39 37 34 34 35 39 35 06 04 2D 00 D0 A1 D1 83 D1 85 D0 B0 D1 80 D0 B8 D0 BA D0 B8 20 D0 A4 D0 BB D0 B8 D0 BD D1 82 20 D0 9A D1 80 D0 B0 D0 B1 20 31 30 30 20 D0 B3 D1 80 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 54 00 8A 04 0D 00 34 37 30 30 30 32 36 30 33 30 30 33 31 06 04 10 00 D0 9A D1 83 D1 80 D1 83 D1 82 20 6F 72 62 69 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 10 00 00 00 00 13 04 06 00 68 10 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 ED 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1A 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 38 19 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 80 ED 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 39 00 00 00 F4 03 04 00 D7 16 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 14 57 00 00 35 04 06 00 C5 70 9C A9 5A A9 4A 91 84 15 3C E4 C3 0E [17:17:23]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 8D 36 47 00 D0 89 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 14 57 00 00 F4 03 04 00 E4 C6 6E 66 B6 04 01 00 00 A3 0E 8C 48 2E 8D B5 08 [17:17:23]CommunicateWithHost err = 0 [17:17:23]CheckOFDResponse [17:17:23]1017 (14) - 77093643461234 [17:17:23]1041 (16) - 0000000000965344 [17:17:23]1040 (4) - 22292 [17:17:23]1012 (4) - 16.06.2024 11:05 [17:17:23]1206 (1) - 0 [17:17:23]OFD Sender: Remove packet 22292 [17:17:23]ProducePacketName [17:17:23]name=ofd_packets/00022292 [17:17:23]NVStorageDeleteData [17:17:24]OFD Sender: Processing packet 22293 [packets to send 6, broken 4] [17:17:24]ProducePacketName [17:17:24]name=ofd_packets/00022293 [17:17:24]OFD Sender: To server: pG, [17:17:24]CommunicateWithHost lk.salyk.kg:30040 [17:17:24]ConnectInit lk.salyk.kg [17:17:24]Connected sock=8 [17:17:24]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 99 02 00 00 86 34 91 02 90 4F 5A 03 01 00 03 00 85 02 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 33 33 33 34 06 04 30 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 46 72 65 73 68 20 D0 94 D0 B8 D0 BA D0 B8 D0 B5 20 D1 8F D0 B3 D0 BE D0 B4 D1 8B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 86 00 8A 04 0D 00 34 38 37 30 32 33 35 36 38 31 30 36 32 06 04 42 00 47 72 69 7A 7A 6C 79 20 D0 B2 D0 BE D0 BB D0 BD D0 B8 D1 81 D1 82 D1 8B D0 B5 20 D0 9A D0 BE D0 BB D0 B1 D0 B0 D1 81 D0 BA D0 B8 20 D1 81 20 D0 B3 D0 BE D1 80 D1 87 D0 B8 D1 86 D0 B5 D0 B9 20 35 35 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 23 04 73 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 32 35 06 04 2F 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 35 38 34 06 04 1A 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 73 73 65 20 47 6F 6C 64 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 37 00 00 00 00 13 04 06 00 DC 37 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 6C 9D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 64 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B8 10 00 00 00 00 07 04 06 00 6C 9D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 78 1D 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 15 57 00 00 35 04 06 00 72 C1 A0 9F 31 FF BA 2B 2E 7F 60 10 86 0D [17:17:24]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 EF F7 47 00 2C 1A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 15 57 00 00 F4 03 04 00 E5 C6 6E 66 B6 04 01 00 00 DD 82 FB 7E E9 31 4E 52 [17:17:24]CommunicateWithHost err = 0 [17:17:24]CheckOFDResponse [17:17:24]1017 (14) - 77093643461234 [17:17:24]1041 (16) - 0000000000965344 [17:17:24]1040 (4) - 22293 [17:17:24]1012 (4) - 16.06.2024 11:05 [17:17:24]1206 (1) - 0 [17:17:24]OFD Sender: Remove packet 22293 [17:17:24]ProducePacketName [17:17:24]name=ofd_packets/00022293 [17:17:24]NVStorageDeleteData [17:17:25]OFD Sender: Processing packet 22294 [packets to send 5, broken 4] [17:17:25]ProducePacketName [17:17:25]name=ofd_packets/00022294 [17:17:25]OFD Sender: To server: pG, [17:17:25]CommunicateWithHost lk.salyk.kg:30040 [17:17:25]ConnectInit lk.salyk.kg [17:17:25]Connected sock=8 [17:17:25]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 3F 01 00 00 5D 92 37 01 70 D5 5A 03 01 00 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 36 32 30 30 31 36 33 30 30 33 30 35 06 04 39 00 D0 A1 D0 B0 D0 BB D1 84 D0 B5 D1 82 D0 BA D0 B8 20 41 62 73 6F 6C 75 74 20 63 6C 61 73 73 69 63 20 D0 B2 D0 BB 20 D0 B0 2F D0 B1 D0 B0 D0 BA D1 82 20 32 30 20 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 19 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 39 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 02 00 00 00 00 07 04 06 00 64 19 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 B6 1D 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 16 57 00 00 35 04 06 00 C4 DB 87 8E FD F9 2B 3E C5 AD 55 BC F8 1A [17:17:26]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 EF 6D 47 00 9D 70 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 16 57 00 00 F4 03 04 00 E6 C6 6E 66 B6 04 01 00 00 99 BF 12 D4 0D CD D2 7F [17:17:26]CommunicateWithHost err = 0 [17:17:26]CheckOFDResponse [17:17:26]1017 (14) - 77093643461234 [17:17:26]1041 (16) - 0000000000965344 [17:17:26]1040 (4) - 22294 [17:17:26]1012 (4) - 16.06.2024 11:05 [17:17:26]1206 (1) - 0 [17:17:26]OFD Sender: Remove packet 22294 [17:17:26]ProducePacketName [17:17:26]name=ofd_packets/00022294 [17:17:26]NVStorageDeleteData [17:17:26]OFD Sender: No OFD packet to send [17:17:31]OFD Sender: No OFD packet to send [17:17:36]OFD Sender: No OFD packet to send [17:17:41]OFD Sender: No OFD packet to send [17:17:46]OFD Sender: No OFD packet to send [17:17:47]ConnectInit Can't connect to host [17:17:51]OFD Sender: No OFD packet to send [17:17:56]OFD Sender: No OFD packet to send [17:18:01]OFD Sender: No OFD packet to send [17:18:06]OFD Sender: No OFD packet to send [17:18:11]OFD Sender: No OFD packet to send [17:18:16]OFD Sender: No OFD packet to send [17:18:21]OFD Sender: No OFD packet to send [17:18:26]OFD Sender: No OFD packet to send [17:18:31]OFD Sender: No OFD packet to send [17:18:36]OFD Sender: No OFD packet to send [17:18:41]OFD Sender: No OFD packet to send [17:18:46]OFD Sender: No OFD packet to send [17:18:51]OFD Sender: No OFD packet to send [17:18:56]OFD Sender: No OFD packet to send [17:19:01]OFD Sender: No OFD packet to send [17:19:06]OFD Sender: No OFD packet to send [17:19:11]OFD Sender: No OFD packet to send [17:19:16]OFD Sender: No OFD packet to send [17:19:21]OFD Sender: No OFD packet to send [17:19:26]OFD Sender: No OFD packet to send [17:19:31]OFD Sender: No OFD packet to send [17:19:36]OFD Sender: No OFD packet to send [17:19:41]OFD Sender: No OFD packet to send [17:19:46]OFD Sender: No OFD packet to send [17:19:51]OFD Sender: No OFD packet to send [17:19:56]OFD Sender: No OFD packet to send [17:20:01]OFD Sender: No OFD packet to send [17:20:06]OFD Sender: No OFD packet to send [17:20:11]OFD Sender: No OFD packet to send [17:20:16]OFD Sender: No OFD packet to send [17:20:21]OFD Sender: No OFD packet to send [17:20:26]OFD Sender: No OFD packet to send [17:20:31]OFD Sender: No OFD packet to send [17:20:36]OFD Sender: No OFD packet to send [17:20:41]OFD Sender: No OFD packet to send [17:20:46]OFD Sender: No OFD packet to send [17:20:51]OFD Sender: No OFD packet to send [17:20:56]OFD Sender: No OFD packet to send [17:21:01]OFD Sender: No OFD packet to send [17:21:06]OFD Sender: No OFD packet to send [17:21:11]OFD Sender: No OFD packet to send [17:21:16]OFD Sender: No OFD packet to send [17:21:21]OFD Sender: No OFD packet to send [17:21:26]OFD Sender: No OFD packet to send [17:21:31]OFD Sender: No OFD packet to send [17:21:36]OFD Sender: No OFD packet to send [17:21:41]OFD Sender: No OFD packet to send [17:21:46]OFD Sender: No OFD packet to send [17:21:51]OFD Sender: No OFD packet to send [17:21:56]OFD Sender: No OFD packet to send [17:22:01]OFD Sender: No OFD packet to send [17:22:06]OFD Sender: No OFD packet to send [17:22:11]OFD Sender: No OFD packet to send [17:22:16]OFD Sender: No OFD packet to send [17:22:21]OFD Sender: No OFD packet to send [17:22:26]OFD Sender: No OFD packet to send [17:22:31]OFD Sender: No OFD packet to send [17:22:36]OFD Sender: No OFD packet to send [17:22:41]OFD Sender: No OFD packet to send [17:22:46]OFD Sender: No OFD packet to send [17:22:51]OFD Sender: No OFD packet to send [17:22:56]OFD Sender: No OFD packet to send [17:23:01]OFD Sender: No OFD packet to send [17:23:06]OFD Sender: No OFD packet to send [17:23:11]OFD Sender: No OFD packet to send [17:23:16]OFD Sender: No OFD packet to send [17:23:21]OFD Sender: No OFD packet to send [17:23:26]OFD Sender: No OFD packet to send [17:23:31]OFD Sender: No OFD packet to send [17:23:36]OFD Sender: No OFD packet to send [17:23:41]OFD Sender: No OFD packet to send [17:23:46]OFD Sender: No OFD packet to send [17:23:51]OFD Sender: No OFD packet to send [17:23:56]OFD Sender: No OFD packet to send [17:24:01]OFD Sender: No OFD packet to send [17:24:06]OFD Sender: No OFD packet to send [17:24:11]OFD Sender: No OFD packet to send [17:24:16]OFD Sender: No OFD packet to send [17:24:21]OFD Sender: No OFD packet to send [17:24:26]OFD Sender: No OFD packet to send [17:24:31]OFD Sender: No OFD packet to send [17:24:36]OFD Sender: No OFD packet to send [17:24:41]OFD Sender: No OFD packet to send [17:24:45]accept exits with 11 [17:24:45]New connection [17:24:45]New thread 3066695012 created [17:24:45]Thread 3066838372 joined [17:24:45]Waiting for new connection... [17:24:45] Sock 11.Parse request [17:24:45]Sock 11.Check first char [17:24:45]Sock 11.First char is OK [17:24:45]request: POST /json_proto HTTP/1.0 [17:24:45]Method: POST [17:24:45]URL: /json_proto [17:24:45]Method is POST - this is cgi request [17:24:45]url: /json_proto [17:24:45]query_string will be loaded in cgi processing [17:24:45]execute_cgi json_proto POST (null) [17:24:45]execute_cgi path=json_proto method=POST [17:24:45]POST find Content-Length [17:24:45]Host: 172.17.35.133:8080 [17:24:45]Content-Length: 668 [17:24:45]Content-Type: application/json [17:24:45] [17:24:45]POST finish read [17:24:45]Found Content-Length = 668 [17:24:45]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254508", "tax_sys" : 0, "items" : [ { "code": "4670003195728", "name": "\u0410\u043D\u0442\u0438\u0444\u0440\u0438\u0437 SIBIRIA ANTIFREEZE \u041E\u0416-40 \u0436\u0435\u043B 1\u043B", "price" : 225.00, "quantity" : 1.000, "sum" : 225.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 225.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:24:45]execute_script... [17:24:45]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254508", "tax_sys" : 0, "items" : [ { "code": "4670003195728", "name": "\u0410\u043D\u0442\u0438\u0444\u0440\u0438\u0437 SIBIRIA ANTIFREEZE \u041E\u0416-40 \u0436\u0435\u043B 1\u043B", "price" : 225.00, "quantity" : 1.000, "sum" : 225.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 225.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:24:45]POST & json_proto [17:24:45]process_json_proto [17:24:45]json parsed OK: [17:24:45]protocol is kg_v1.0 [17:24:45]action value=close_receipt [17:24:45]process_action close_receipt [17:24:45]cmd_close_receipt [17:24:45]MH_GetDate [17:24:45]Write to MH i2c: F0 00 00 63 2A 7C [17:24:45]Write i2c OK [17:24:45]MH_I2C_Read... [17:24:45]Read from MH i2c: F0 [17:24:45]MH_I2C_Read... [17:24:45]Read from MH i2c: F0 09 00 [17:24:45]MH_I2C_Read... [17:24:45]Read from MH i2c: F0 09 00 63 2A 00 E6 1F 6F 66 8C 55 28 65 CD [17:24:45]GetLastDocTimeStamp 1718558134 [17:24:45]current date 1718558694 [17:24:45]FM_GetShiftState [17:24:45]SAM_PROTO_GetShiftState [17:24:45]wFMCommunicate request_size=4 [17:24:45]MH_SAM_APDU [17:24:45]CAPDU: 80 13 01 00 [17:24:45]Write to MH i2c: E2 08 00 64 2A 80 13 01 00 00 00 00 00 0B [17:24:45]Write i2c OK [17:24:45]MH_I2C_Read... [17:24:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:24:45]Read from MH i2c: E2 [17:24:45]MH_I2C_Read... [17:24:45]Read from MH i2c: E2 0E 00 [17:24:45]MH_I2C_Read... [17:24:45]Read from MH i2c: E2 0E 00 64 2A 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 2C [17:24:45]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [17:24:45]wFMCommunicate OK [17:24:45]SAM_PROTO_GetShiftState done [17:24:45]FM_GetShiftState done [17:24:45]opened in 1718497297 [17:24:45]opened+sec_in_day 1718583697 [17:24:45]quantity*price = 22500 [17:24:45]sum+1 = 22501 [17:24:45]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 225.00 НСП 1% : 1.99 НДС 12% : 23.89 Наличными: 225.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 60 16.06.2024 17:24 Смена: 327 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22295 ФПД: 149772904838093 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T172454&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22295&fm=149772904838093&tin=02508201610067®Number=0000000000099755&sum=22500 0 [17:24:46]StoreToDocumentArchive [17:24:46]shift 327 fd 22295 [17:24:46]save to /storage/0327/doc_00022295 [17:24:46]save last doc name /storage/0327/doc_00022295 to /storage/kkm_last_doc_name [17:24:46]save OK [17:24:46]Clear old archive folders... [17:24:46]ProcessDocumentItem done err = 0, tmpTLVsize=296 [17:24:46]tlvbuf is 001B98E0 [17:24:46]SAM_PROTO_ClearQueue [17:24:46]wFMCommunicate request_size=4 [17:24:46]MH_SAM_APDU [17:24:46]CAPDU: 80 09 00 00 [17:24:46]Write to MH i2c: E2 08 00 71 2A 80 09 00 00 00 00 00 00 0D [17:24:46]Write i2c OK [17:24:46]MH_I2C_Read... [17:24:46]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:24:46]Read from MH i2c: E2 [17:24:46]MH_I2C_Read... [17:24:46]Read from MH i2c: E2 03 00 [17:24:46]MH_I2C_Read... [17:24:46]Read from MH i2c: E2 03 00 71 2A 00 90 00 0F [17:24:46]RAPDU: 90 00 [17:24:46]wFMCommunicate OK [17:24:46]SAM_PROTO_ClearQueue done [17:24:46]KKMCreateOFDPacket [17:24:46]OFDProtocolAddRootSTLVToBuf [17:24:46]FM_MakeSignedData [17:24:46]FM_MakeSignedData [17:24:46]SAM_PROTO_SignData [17:24:46]wFMCommunicate request_size=4 [17:24:46]MH_SAM_APDU [17:24:46]CAPDU: 80 0D 01 02 [17:24:46]Write to MH i2c: E2 08 00 72 2A 80 0D 01 02 00 00 00 00 15 [17:24:46]Write i2c OK [17:24:46]MH_I2C_Read... [17:24:46]OFD Sender: No OFD packet to send [17:24:46]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:24:46]Read from MH i2c: E2 [17:24:46]MH_I2C_Read... [17:24:46]Read from MH i2c: E2 03 00 [17:24:46]MH_I2C_Read... [17:24:46]Read from MH i2c: E2 03 00 72 2A 00 90 00 10 [17:24:46]RAPDU: 90 00 [17:24:46]wFMCommunicate OK [17:24:46]wFMCommunicate request_size=255 [17:24:46]MH_SAM_APDU [17:24:46]CAPDU: 80 0D 02 02 FA 03 00 28 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 37 30 30 30 33 31 39 35 37 32 38 06 04 36 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 53 49 42 49 52 49 41 20 41 4E 54 49 46 52 45 45 5A 45 20 D0 9E D0 96 2D 34 30 20 D0 B6 D0 B5 D0 BB 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E4 57 00 00 00 00 13 04 06 00 E4 57 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 57 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 55 09 00 00 00 00 07 04 06 00 E4 57 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3C 00 00 00 F4 03 04 00 E6 1F 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 [17:24:46]Write to MH i2c: E2 02 01 73 2A 80 0D 02 02 FA 00 03 00 28 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 37 30 30 30 33 31 39 35 37 32 38 06 04 36 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 53 49 42 49 52 49 41 20 41 4E 54 49 46 52 45 45 5A 45 20 D0 9E D0 96 2D 34 30 20 D0 B6 D0 B5 D0 BB 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E4 57 00 00 00 00 13 04 06 00 E4 57 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 57 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 55 09 00 00 00 00 07 04 06 00 E4 57 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3C 00 00 00 F4 03 04 00 E6 1F 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 00 00 06 [17:24:46]Write i2c OK [17:24:46]MH_I2C_Read... [17:24:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:24:47]Read from MH i2c: E2 [17:24:47]MH_I2C_Read... [17:24:47]Read from MH i2c: E2 03 00 [17:24:47]MH_I2C_Read... [17:24:47]Read from MH i2c: E2 03 00 73 2A 00 90 00 11 [17:24:47]RAPDU: 90 00 [17:24:47]wFMCommunicate OK [17:24:47]wFMCommunicate request_size=55 [17:24:47]MH_SAM_APDU [17:24:47]CAPDU: 80 0D 02 02 32 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 17 57 00 00 35 04 06 00 88 37 B8 CA 33 CD [17:24:47]Write to MH i2c: E2 3A 00 74 2A 80 0D 02 02 32 00 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 17 57 00 00 35 04 06 00 88 37 B8 CA 33 CD 00 00 29 [17:24:47]Write i2c OK [17:24:47]MH_I2C_Read... [17:24:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:24:47]Read from MH i2c: E2 [17:24:47]MH_I2C_Read... [17:24:47]Read from MH i2c: E2 03 00 [17:24:47]MH_I2C_Read... [17:24:47]Read from MH i2c: E2 03 00 74 2A 00 90 00 12 [17:24:47]RAPDU: 90 00 [17:24:47]wFMCommunicate OK [17:24:47]wFMCommunicate request_size=4 [17:24:47]MH_SAM_APDU [17:24:47]CAPDU: 80 0D 03 02 [17:24:47]Write to MH i2c: E2 08 00 75 2A 80 0D 03 02 00 00 00 00 1A [17:24:47]Write i2c OK [17:24:47]MH_I2C_Read... [17:24:47]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:24:47]Read from MH i2c: E2 [17:24:47]MH_I2C_Read... [17:24:47]Read from MH i2c: E2 0B 00 [17:24:47]MH_I2C_Read... [17:24:47]Read from MH i2c: E2 0B 00 75 2A 00 2A CA F5 24 2E 95 8B C6 90 00 3C [17:24:47]RAPDU: 2A CA F5 24 2E 95 8B C6 90 00 [17:24:47]wFMCommunicate OK [17:24:47]SAM_PROTO_SignData done [17:24:47]FM_MakeSignedData done [17:24:47]CreateOFDProtocolMessage [17:24:47]wFMCommunicate request_size=4 [17:24:47]MH_SAM_APDU [17:24:47]CAPDU: 80 11 00 00 [17:24:47]Write to MH i2c: E2 08 00 76 2A 80 11 00 00 00 00 00 00 1A [17:24:47]Write i2c OK [17:24:47]MH_I2C_Read... [17:24:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:24:47]Read from MH i2c: E2 [17:24:47]MH_I2C_Read... [17:24:47]Read from MH i2c: E2 17 00 [17:24:47]MH_I2C_Read... [17:24:47]Read from MH i2c: E2 17 00 76 2A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 6C [17:24:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [17:24:47]wFMCommunicate OK [17:24:47]CreateOFDProtocolMessage done [17:24:47]OFDSenderStorePacket 22295 [17:24:47]StoreOFDPacket docnum=22295 [17:24:47]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 3C 01 00 00 4B A5 34 01 25 50 5A 03 01 00 03 00 28 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 37 30 30 30 33 31 39 35 37 32 38 06 04 36 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 53 49 42 49 52 49 41 20 41 4E 54 49 46 52 45 45 5A 45 20 D0 9E D0 96 2D 34 30 20 D0 B6 D0 B5 D0 BB 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E4 57 00 00 00 00 13 04 06 00 E4 57 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 57 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 55 09 00 00 00 00 07 04 06 00 E4 57 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3C 00 00 00 F4 03 04 00 E6 1F 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 17 57 00 00 35 04 06 00 88 37 B8 CA 33 CD 2A CA F5 24 2E 95 8B C6 [17:24:47]CheckFolder [17:24:47]dirname=/storage/ofd_packets [17:24:47]CheckFolder done [17:24:47]ProducePacketName [17:24:47]name=ofd_packets/00022295 [17:24:47]NVStorageSaveData ofd_packets/00022295 [17:24:47]File name is /storage/ofd_packets/00022295 [17:24:47]Write 346 bytes [17:24:47]NVStorageSaveData done [17:24:47]OFDSenderStorePacket done [17:24:47]KKMCreateOFDPacket done [17:24:47]NVStorageSaveData kkm_last_timestamp [17:24:47]File name is /storage/kkm_last_timestamp [17:24:47]Write 4 bytes [17:24:47]NVStorageSaveData done [17:24:47]ExternCall_PrintAddStr [17:24:47]wPrintStart [17:24:47]Write to MH i2c: 01 00 00 77 2A A1 [17:24:47]Write i2c OK [17:24:47]MH_I2C_Read... [17:24:47]Read from MH i2c: 01 [17:24:47]MH_I2C_Read... [17:24:47]Read from MH i2c: 01 07 00 [17:24:47]MH_I2C_Read... [17:24:47]Read from MH i2c: 01 07 00 77 2A 00 00 00 00 00 FF 0F B6 [17:24:47]RasterBufferAndPrint [17:24:47]line Счет N : (3)254508 [17:24:47]line ИНН: 02508201610067 [17:24:47]line Контрольно-Кассовый Чек [17:24:47]line ПРОДАЖА [17:24:47]line Товар: 4670003195728 [17:24:47]line Антифриз SIBIRIA ANTIFREEZE ОЖ-40 жел 1л [17:24:47]line 1.000 * 225.00 [17:24:47]line = 225.00 [17:24:47]line НДС 12% НСП 1% [17:24:47]line > о реализуемом товаре [17:24:47]line ИТОГО: 225.00 [17:24:47]line НСП 1% : 1.99 [17:24:47]line НДС 12% : 23.89 [17:24:47]line Наличными: 225.00 [17:24:47]line Безнал.: 0.00 [17:24:47]line Место: АЗС № 76 "Партнер Нефть" [17:24:47]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [17:24:47]line СНО: Общий режим [17:24:47]line Чек 60 16.06.2024 17:24 [17:24:47]line Смена: 327 ФФД: 1.0 [17:24:47]line ЗНМ: 0300000200 [17:24:47]line РНМ: 0000000000099755 [17:24:47]line Версия ККМ: 001 [17:24:47]line ФМ: 0000000000965344 [17:24:47]line ФД: 22295 [17:24:47]line ФПД: 149772904838093 [17:24:47]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T172454&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22295&fm=149772904838093&tin=02508201610067®Number=0000000000099755&sum=22500 [17:24:47]line 0 [17:24:47]OFD Sender: Processing packet 22295 [packets to send 5, broken 4] [17:24:47]ProducePacketName [17:24:47]name=ofd_packets/00022295 [17:24:47]OFD Sender: To server: pG, [17:24:47]CommunicateWithHost lk.salyk.kg:30040 [17:24:47]ConnectInit lk.salyk.kg [17:24:47]written 0, free lines is 4095 [17:24:47]Connected sock=9 [17:24:47]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 3C 01 00 00 4B A5 34 01 25 50 5A 03 01 00 03 00 28 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 37 30 30 30 33 31 39 35 37 32 38 06 04 36 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 53 49 42 49 52 49 41 20 41 4E 54 49 46 52 45 45 5A 45 20 D0 9E D0 96 2D 34 30 20 D0 B6 D0 B5 D0 BB 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E4 57 00 00 00 00 13 04 06 00 E4 57 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 57 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 55 09 00 00 00 00 07 04 06 00 E4 57 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3C 00 00 00 F4 03 04 00 E6 1F 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 17 57 00 00 35 04 06 00 88 37 B8 CA 33 CD 2A CA F5 24 2E 95 8B C6 [17:24:48]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 58 52 47 00 42 B3 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 17 57 00 00 F4 03 04 00 A0 C8 6E 66 B6 04 01 00 00 3D E8 47 0E 72 0F 0B 5D [17:24:48]CommunicateWithHost err = 0 [17:24:48]CheckOFDResponse [17:24:48]1017 (14) - 77093643461234 [17:24:48]1041 (16) - 0000000000965344 [17:24:48]1040 (4) - 22295 [17:24:48]1012 (4) - 16.06.2024 11:12 [17:24:48]1206 (1) - 0 [17:24:48]OFD Sender: Remove packet 22295 [17:24:48]ProducePacketName [17:24:48]name=ofd_packets/00022295 [17:24:48]NVStorageDeleteData [17:24:48]Write to MH i2c: 01 00 00 A0 2A CA [17:24:48]Write i2c OK [17:24:48]MH_I2C_Read... [17:24:48]Read from MH i2c: 01 [17:24:48]MH_I2C_Read... [17:24:48]Read from MH i2c: 01 07 00 [17:24:48]MH_I2C_Read... [17:24:48]Read from MH i2c: 01 07 00 A0 2A 00 00 00 00 00 0D 0D EB [17:24:48]RasterBufferAndPrint [17:24:48]line [17:24:48]line [17:24:48]line [17:24:48]line [17:24:48]line [17:24:48]written 0, free lines is 3350 [17:24:48]MH_Cut [17:24:48]Write to MH i2c: D1 01 00 A7 2A 01 A3 [17:24:48]Write i2c OK [17:24:48]MH_I2C_Read... [17:24:48]Read from MH i2c: D1 [17:24:48]MH_I2C_Read... [17:24:48]Read from MH i2c: D1 01 00 [17:24:48]MH_I2C_Read... [17:24:48]Read from MH i2c: D1 01 00 A7 2A 00 A2 [17:24:48]Write to MH i2c: 01 00 00 A8 2A D2 [17:24:48]Write i2c OK [17:24:48]MH_I2C_Read... [17:24:48]OFD Sender: No OFD packet to send [17:24:48]*** Cut start [17:24:48]*** Partial cut [17:24:48]*** CUTSNS_PIN = 1 [17:24:48]*** CUTSNS_PIN = 0 [17:24:49]*** Brake cut motor [17:24:49]Read from MH i2c: 01 [17:24:49]MH_I2C_Read... [17:24:49]*** Stop cut motor [17:24:49]*** Cut end [17:24:49]Read from MH i2c: 01 07 00 [17:24:49]MH_I2C_Read... [17:24:49]Read from MH i2c: 01 07 00 A8 2A 00 00 00 00 00 FF 0F E7 [17:24:49]process_action close_receipt done [17:24:49]requested_data is exist [17:24:49]produce_requested_data [17:24:49]requested_item fm.sn is exist - process it [17:24:49]wFMCommunicate request_size=4 [17:24:49]MH_SAM_APDU [17:24:49]CAPDU: 80 11 00 00 [17:24:49]Write to MH i2c: E2 08 00 A9 2A 80 11 00 00 00 00 00 00 4D [17:24:49]Write i2c OK [17:24:49]MH_I2C_Read... [17:24:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:24:49]Read from MH i2c: E2 [17:24:49]MH_I2C_Read... [17:24:49]Read from MH i2c: E2 17 00 [17:24:49]MH_I2C_Read... [17:24:49]Read from MH i2c: E2 17 00 A9 2A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 9F [17:24:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [17:24:49]wFMCommunicate OK [17:24:49]requested_item fd.num is exist - process it [17:24:49]SAM_PROTO_GetFieldsCounters [17:24:49]wFMCommunicate request_size=4 [17:24:49]MH_SAM_APDU [17:24:49]CAPDU: 80 13 00 00 [17:24:49]Write to MH i2c: E2 08 00 AA 2A 80 13 00 00 00 00 00 00 50 [17:24:49]Write i2c OK [17:24:49]MH_I2C_Read... [17:24:49]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:24:49]Read from MH i2c: E2 [17:24:49]MH_I2C_Read... [17:24:49]Read from MH i2c: E2 62 00 [17:24:49]MH_I2C_Read... [17:24:49]Read from MH i2c: E2 62 00 AA 2A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 17 57 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 3C 00 00 00 5E 04 04 00 3C 00 00 00 57 04 04 00 3D 00 00 00 19 04 04 00 00 00 00 00 90 00 E4 [17:24:49]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 17 57 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 3C 00 00 00 5E 04 04 00 3C 00 00 00 57 04 04 00 3D 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:24:49]wFMCommunicate OK [17:24:49]SAM_PROTO_GetFieldsCounters done [17:24:49]requested_item shift.num is exist - process it [17:24:49]requested_item shift.opened is exist - process it [17:24:49]req_shift_opened [17:24:49]FM_GetShiftState [17:24:49]SAM_PROTO_GetShiftState [17:24:49]wFMCommunicate request_size=4 [17:24:49]MH_SAM_APDU [17:24:49]CAPDU: 80 13 01 00 [17:24:49]Write to MH i2c: E2 08 00 AB 2A 80 13 01 00 00 00 00 00 52 [17:24:49]Write i2c OK [17:24:49]MH_I2C_Read... [17:24:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:24:49]Read from MH i2c: E2 [17:24:49]MH_I2C_Read... [17:24:49]Read from MH i2c: E2 0E 00 [17:24:49]MH_I2C_Read... [17:24:49]Read from MH i2c: E2 0E 00 AB 2A 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 73 [17:24:49]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [17:24:49]wFMCommunicate OK [17:24:49]SAM_PROTO_GetShiftState done [17:24:49]FM_GetShiftState done [17:24:49]req_shift_opened done [17:24:49]requested_item shift.open_date is exist - process it [17:24:49]req_shift_open_date [17:24:49]req_shift_open_date done [17:24:49]produce_requested_data done [17:24:49]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22295,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297} [17:24:49]process_action_free close_receipt [17:24:49]json_value_free [17:24:49]json_value_free done [17:24:49]process_json_proto returns [17:24:49]Send response to host [17:24:49]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22295,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297}}} [17:24:49]free response buf [17:24:49]execute_script done [17:24:49]execute_script returns [17:24:49]free content buf [17:24:49]Sock 11.Close socket [17:24:49]Sock 11.Thread stoped [17:24:53]OFD Sender: No OFD packet to send [17:24:58]OFD Sender: No OFD packet to send [17:25:03]OFD Sender: No OFD packet to send [17:25:08]OFD Sender: No OFD packet to send [17:25:13]OFD Sender: No OFD packet to send [17:25:18]OFD Sender: No OFD packet to send [17:25:23]OFD Sender: No OFD packet to send [17:25:28]OFD Sender: No OFD packet to send [17:25:33]OFD Sender: No OFD packet to send [17:25:38]OFD Sender: No OFD packet to send [17:25:43]OFD Sender: No OFD packet to send [17:25:48]OFD Sender: No OFD packet to send [17:25:53]OFD Sender: No OFD packet to send [17:25:58]OFD Sender: No OFD packet to send [17:26:03]OFD Sender: No OFD packet to send [17:26:08]OFD Sender: No OFD packet to send [17:26:13]OFD Sender: No OFD packet to send [17:26:18]OFD Sender: No OFD packet to send [17:26:23]OFD Sender: No OFD packet to send [17:26:28]OFD Sender: No OFD packet to send [17:26:33]OFD Sender: No OFD packet to send [17:26:38]OFD Sender: No OFD packet to send [17:26:43]OFD Sender: No OFD packet to send [17:26:48]OFD Sender: No OFD packet to send [17:26:53]OFD Sender: No OFD packet to send [17:26:58]OFD Sender: No OFD packet to send [17:27:03]OFD Sender: No OFD packet to send [17:27:08]OFD Sender: No OFD packet to send [17:27:13]OFD Sender: No OFD packet to send [17:27:18]OFD Sender: No OFD packet to send [17:27:23]OFD Sender: No OFD packet to send [17:27:28]OFD Sender: No OFD packet to send [17:27:33]OFD Sender: No OFD packet to send [17:27:38]OFD Sender: No OFD packet to send [17:27:43]OFD Sender: No OFD packet to send [17:27:48]OFD Sender: No OFD packet to send [17:27:53]OFD Sender: No OFD packet to send [17:27:58]OFD Sender: No OFD packet to send [17:28:03]OFD Sender: No OFD packet to send [17:28:08]OFD Sender: No OFD packet to send [17:28:13]OFD Sender: No OFD packet to send [17:28:18]OFD Sender: No OFD packet to send [17:28:23]OFD Sender: No OFD packet to send [17:28:28]OFD Sender: No OFD packet to send [17:28:33]OFD Sender: No OFD packet to send [17:28:38]OFD Sender: No OFD packet to send [17:28:43]OFD Sender: No OFD packet to send [17:28:48]OFD Sender: No OFD packet to send [17:28:53]OFD Sender: No OFD packet to send [17:28:58]OFD Sender: No OFD packet to send [17:29:03]OFD Sender: No OFD packet to send [17:29:08]OFD Sender: No OFD packet to send [17:29:13]OFD Sender: No OFD packet to send [17:29:18]OFD Sender: No OFD packet to send [17:29:23]OFD Sender: No OFD packet to send [17:29:28]OFD Sender: No OFD packet to send [17:29:33]OFD Sender: No OFD packet to send [17:29:38]OFD Sender: No OFD packet to send [17:29:43]OFD Sender: No OFD packet to send [17:29:48]OFD Sender: No OFD packet to send [17:29:53]OFD Sender: No OFD packet to send [17:29:58]OFD Sender: No OFD packet to send [17:30:03]OFD Sender: No OFD packet to send [17:30:08]OFD Sender: No OFD packet to send [17:30:13]OFD Sender: No OFD packet to send [17:30:18]OFD Sender: No OFD packet to send [17:30:23]OFD Sender: No OFD packet to send [17:30:28]OFD Sender: No OFD packet to send [17:30:33]OFD Sender: No OFD packet to send [17:30:38]OFD Sender: No OFD packet to send [17:30:43]OFD Sender: No OFD packet to send [17:30:48]OFD Sender: No OFD packet to send [17:30:53]OFD Sender: No OFD packet to send [17:30:58]OFD Sender: No OFD packet to send [17:31:03]OFD Sender: No OFD packet to send [17:31:08]OFD Sender: No OFD packet to send [17:31:13]OFD Sender: No OFD packet to send [17:31:18]OFD Sender: No OFD packet to send [17:31:23]OFD Sender: No OFD packet to send [17:31:28]OFD Sender: No OFD packet to send [17:31:33]OFD Sender: No OFD packet to send [17:31:38]OFD Sender: No OFD packet to send [17:31:43]OFD Sender: No OFD packet to send [17:31:48]OFD Sender: No OFD packet to send [17:31:53]OFD Sender: No OFD packet to send [17:31:58]OFD Sender: No OFD packet to send [17:32:03]OFD Sender: No OFD packet to send [17:32:08]OFD Sender: No OFD packet to send [17:32:13]OFD Sender: No OFD packet to send [17:32:18]OFD Sender: No OFD packet to send [17:32:23]OFD Sender: No OFD packet to send [17:32:28]OFD Sender: No OFD packet to send [17:32:33]OFD Sender: No OFD packet to send [17:32:36]accept exits with 8 [17:32:36]New connection [17:32:36]New thread 3066838372 created [17:32:36]Thread 3066695012 joined [17:32:36]Waiting for new connection... [17:32:36] Sock 8.Parse request [17:32:36]Sock 8.Check first char [17:32:36]Sock 8.First char is OK [17:32:36]request: POST /json_proto HTTP/1.0 [17:32:36]Method: POST [17:32:36]URL: /json_proto [17:32:36]Method is POST - this is cgi request [17:32:36]url: /json_proto [17:32:36]query_string will be loaded in cgi processing [17:32:36]execute_cgi json_proto POST (null) [17:32:36]execute_cgi path=json_proto method=POST [17:32:36]POST find Content-Length [17:32:36]Host: 172.17.35.133:8080 [17:32:36]Content-Length: 638 [17:32:36]Content-Type: application/json [17:32:36] [17:32:36]POST finish read [17:32:36]Found Content-Length = 638 [17:32:36]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254509", "tax_sys" : 0, "items" : [ { "code": "4700002082931", "name": "\u0412\u043E\u0434\u043A\u0430 \u0425\u043E\u0440\u043E\u0448\u0430\u044F 0,1\u043B", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 70.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:32:36]execute_script... [17:32:36]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254509", "tax_sys" : 0, "items" : [ { "code": "4700002082931", "name": "\u0412\u043E\u0434\u043A\u0430 \u0425\u043E\u0440\u043E\u0448\u0430\u044F 0,1\u043B", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 70.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:32:36]POST & json_proto [17:32:36]process_json_proto [17:32:36]json parsed OK: [17:32:36]protocol is kg_v1.0 [17:32:36]action value=close_receipt [17:32:36]process_action close_receipt [17:32:36]cmd_close_receipt [17:32:36]MH_GetDate [17:32:36]Write to MH i2c: F0 00 00 AC 2A C5 [17:32:36]Write i2c OK [17:32:36]MH_I2C_Read... [17:32:36]Read from MH i2c: F0 [17:32:36]MH_I2C_Read... [17:32:36]Read from MH i2c: F0 09 00 [17:32:36]MH_I2C_Read... [17:32:36]Read from MH i2c: F0 09 00 AC 2A 00 BD 21 6F 66 8C 55 28 65 EF [17:32:36]GetLastDocTimeStamp 1718558694 [17:32:36]current date 1718559165 [17:32:36]FM_GetShiftState [17:32:36]SAM_PROTO_GetShiftState [17:32:36]wFMCommunicate request_size=4 [17:32:36]MH_SAM_APDU [17:32:36]CAPDU: 80 13 01 00 [17:32:36]Write to MH i2c: E2 08 00 AD 2A 80 13 01 00 00 00 00 00 54 [17:32:36]Write i2c OK [17:32:36]MH_I2C_Read... [17:32:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:32:36]Read from MH i2c: E2 [17:32:36]MH_I2C_Read... [17:32:36]Read from MH i2c: E2 0E 00 [17:32:36]MH_I2C_Read... [17:32:36]Read from MH i2c: E2 0E 00 AD 2A 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 75 [17:32:36]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [17:32:36]wFMCommunicate OK [17:32:36]SAM_PROTO_GetShiftState done [17:32:36]FM_GetShiftState done [17:32:36]opened in 1718497297 [17:32:36]opened+sec_in_day 1718583697 [17:32:36]quantity*price = 7000 [17:32:36]sum+1 = 7001 [17:32:36]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 70.00 НСП 1% : 0.62 НДС 12% : 7.43 Наличными: 70.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 61 16.06.2024 17:32 Смена: 327 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22296 ФПД: 274754082187055 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T173245&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22296&fm=274754082187055&tin=02508201610067®Number=0000000000099755&sum=7000 0 [17:32:37]StoreToDocumentArchive [17:32:37]shift 327 fd 22296 [17:32:37]save to /storage/0327/doc_00022296 [17:32:37]save last doc name /storage/0327/doc_00022296 to /storage/kkm_last_doc_name [17:32:37]save OK [17:32:37]Clear old archive folders... [17:32:37]ProcessDocumentItem done err = 0, tmpTLVsize=273 [17:32:37]tlvbuf is 0020AC00 [17:32:37]SAM_PROTO_ClearQueue [17:32:37]wFMCommunicate request_size=4 [17:32:37]MH_SAM_APDU [17:32:37]CAPDU: 80 09 00 00 [17:32:37]Write to MH i2c: E2 08 00 BA 2A 80 09 00 00 00 00 00 00 56 [17:32:37]Write i2c OK [17:32:37]MH_I2C_Read... [17:32:37]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:32:37]Read from MH i2c: E2 [17:32:37]MH_I2C_Read... [17:32:37]Read from MH i2c: E2 03 00 [17:32:37]MH_I2C_Read... [17:32:37]Read from MH i2c: E2 03 00 BA 2A 00 90 00 58 [17:32:37]RAPDU: 90 00 [17:32:37]wFMCommunicate OK [17:32:37]SAM_PROTO_ClearQueue done [17:32:37]KKMCreateOFDPacket [17:32:37]OFDProtocolAddRootSTLVToBuf [17:32:37]FM_MakeSignedData [17:32:37]FM_MakeSignedData [17:32:37]SAM_PROTO_SignData [17:32:37]wFMCommunicate request_size=4 [17:32:37]MH_SAM_APDU [17:32:37]CAPDU: 80 0D 01 02 [17:32:37]Write to MH i2c: E2 08 00 BB 2A 80 0D 01 02 00 00 00 00 5E [17:32:37]Write i2c OK [17:32:37]MH_I2C_Read... [17:32:37]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:32:37]Read from MH i2c: E2 [17:32:37]MH_I2C_Read... [17:32:37]Read from MH i2c: E2 03 00 [17:32:37]MH_I2C_Read... [17:32:37]Read from MH i2c: E2 03 00 BB 2A 00 90 00 59 [17:32:37]RAPDU: 90 00 [17:32:37]wFMCommunicate OK [17:32:37]wFMCommunicate request_size=255 [17:32:37]MH_SAM_APDU [17:32:37]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 39 33 31 06 04 1F 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A5 D0 BE D1 80 D0 BE D1 88 D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 1B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E7 02 00 00 00 00 07 04 06 00 58 1B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 BD 21 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 [17:32:37]Write to MH i2c: E2 02 01 BC 2A 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 39 33 31 06 04 1F 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A5 D0 BE D1 80 D0 BE D1 88 D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 1B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E7 02 00 00 00 00 07 04 06 00 58 1B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 BD 21 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 00 00 BB [17:32:37]Write i2c OK [17:32:37]MH_I2C_Read... [17:32:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:32:38]Read from MH i2c: E2 [17:32:38]MH_I2C_Read... [17:32:38]Read from MH i2c: E2 03 00 [17:32:38]MH_I2C_Read... [17:32:38]Read from MH i2c: E2 03 00 BC 2A 00 90 00 5A [17:32:38]RAPDU: 90 00 [17:32:38]wFMCommunicate OK [17:32:38]wFMCommunicate request_size=32 [17:32:38]MH_SAM_APDU [17:32:38]CAPDU: 80 0D 02 02 1B 30 30 30 39 36 35 33 34 34 10 04 04 00 18 57 00 00 35 04 06 00 F9 E3 2B 78 27 2F [17:32:38]Write to MH i2c: E2 23 00 BD 2A 80 0D 02 02 1B 00 30 30 30 39 36 35 33 34 34 10 04 04 00 18 57 00 00 35 04 06 00 F9 E3 2B 78 27 2F 00 00 01 [17:32:38]Write i2c OK [17:32:38]MH_I2C_Read... [17:32:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:32:38]Read from MH i2c: E2 [17:32:38]MH_I2C_Read... [17:32:38]Read from MH i2c: E2 03 00 [17:32:38]MH_I2C_Read... [17:32:38]Read from MH i2c: E2 03 00 BD 2A 00 90 00 5B [17:32:38]RAPDU: 90 00 [17:32:38]wFMCommunicate OK [17:32:38]wFMCommunicate request_size=4 [17:32:38]MH_SAM_APDU [17:32:38]CAPDU: 80 0D 03 02 [17:32:38]Write to MH i2c: E2 08 00 BE 2A 80 0D 03 02 00 00 00 00 63 [17:32:38]Write i2c OK [17:32:38]MH_I2C_Read... [17:32:38]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:32:38]Read from MH i2c: E2 [17:32:38]MH_I2C_Read... [17:32:38]Read from MH i2c: E2 0B 00 [17:32:38]MH_I2C_Read... [17:32:38]Read from MH i2c: E2 0B 00 BE 2A 00 D3 F6 67 7B A8 19 36 A3 90 00 A9 [17:32:38]RAPDU: D3 F6 67 7B A8 19 36 A3 90 00 [17:32:38]wFMCommunicate OK [17:32:38]SAM_PROTO_SignData done [17:32:38]FM_MakeSignedData done [17:32:38]CreateOFDProtocolMessage [17:32:38]wFMCommunicate request_size=4 [17:32:38]MH_SAM_APDU [17:32:38]CAPDU: 80 11 00 00 [17:32:38]Write to MH i2c: E2 08 00 BF 2A 80 11 00 00 00 00 00 00 63 [17:32:38]Write i2c OK [17:32:38]MH_I2C_Read... [17:32:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:32:38]Read from MH i2c: E2 [17:32:38]MH_I2C_Read... [17:32:38]Read from MH i2c: E2 17 00 [17:32:38]MH_I2C_Read... [17:32:38]Read from MH i2c: E2 17 00 BF 2A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 B5 [17:32:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [17:32:38]wFMCommunicate OK [17:32:38]CreateOFDProtocolMessage done [17:32:38]OFDSenderStorePacket 22296 [17:32:38]StoreOFDPacket docnum=22296 [17:32:38]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 25 01 00 00 5F 8C 1D 01 B1 AC 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 39 33 31 06 04 1F 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A5 D0 BE D1 80 D0 BE D1 88 D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 1B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E7 02 00 00 00 00 07 04 06 00 58 1B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 BD 21 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 18 57 00 00 35 04 06 00 F9 E3 2B 78 27 2F D3 F6 67 7B A8 19 36 A3 [17:32:38]CheckFolder [17:32:38]dirname=/storage/ofd_packets [17:32:38]CheckFolder done [17:32:38]ProducePacketName [17:32:38]name=ofd_packets/00022296 [17:32:38]NVStorageSaveData ofd_packets/00022296 [17:32:38]File name is /storage/ofd_packets/00022296 [17:32:38]Write 323 bytes [17:32:38]NVStorageSaveData done [17:32:38]OFDSenderStorePacket done [17:32:38]KKMCreateOFDPacket done [17:32:38]NVStorageSaveData kkm_last_timestamp [17:32:38]File name is /storage/kkm_last_timestamp [17:32:38]Write 4 bytes [17:32:38]NVStorageSaveData done [17:32:38]ExternCall_PrintAddStr [17:32:38]wPrintStart [17:32:38]Write to MH i2c: 01 00 00 C0 2A EA [17:32:38]Write i2c OK [17:32:38]MH_I2C_Read... [17:32:38]Read from MH i2c: 01 [17:32:38]MH_I2C_Read... [17:32:38]Read from MH i2c: 01 07 00 [17:32:38]MH_I2C_Read... [17:32:38]Read from MH i2c: 01 07 00 C0 2A 00 00 00 00 00 FF 0F FF [17:32:38]RasterBufferAndPrint [17:32:38]line Счет N : (3)254509 [17:32:38]line ИНН: 02508201610067 [17:32:38]line Контрольно-Кассовый Чек [17:32:38]line ПРОДАЖА [17:32:38]line Товар: 4700002082931 [17:32:38]line Водка Хорошая 0,1л [17:32:38]line 1.000 * 70.00 [17:32:38]line = 70.00 [17:32:38]line НДС 12% НСП 1% [17:32:38]line > о реализуемом товаре [17:32:38]line ИТОГО: 70.00 [17:32:38]line НСП 1% : 0.62 [17:32:38]line НДС 12% : 7.43 [17:32:38]line Наличными: 70.00 [17:32:38]line Безнал.: 0.00 [17:32:38]line Место: АЗС № 76 "Партнер Нефть" [17:32:38]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [17:32:38]line СНО: Общий режим [17:32:38]line Чек 61 16.06.2024 17:32 [17:32:38]line Смена: 327 ФФД: 1.0 [17:32:38]line ЗНМ: 0300000200 [17:32:38]line РНМ: 0000000000099755 [17:32:38]line Версия ККМ: 001 [17:32:38]line ФМ: 0000000000965344 [17:32:38]line ФД: 22296 [17:32:38]line ФПД: 274754082187055 [17:32:38]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T173245&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22296&fm=274754082187055&tin=02508201610067®Number=0000000000099755&sum=7000 [17:32:38]line 0 [17:32:38]written 0, free lines is 4095 [17:32:38]OFD Sender: Processing packet 22296 [packets to send 5, broken 4] [17:32:38]ProducePacketName [17:32:38]name=ofd_packets/00022296 [17:32:38]OFD Sender: To server: pG, [17:32:38]CommunicateWithHost lk.salyk.kg:30040 [17:32:38]ConnectInit lk.salyk.kg [17:32:38]Connected sock=10 [17:32:38]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 25 01 00 00 5F 8C 1D 01 B1 AC 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 39 33 31 06 04 1F 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A5 D0 BE D1 80 D0 BE D1 88 D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 1B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E7 02 00 00 00 00 07 04 06 00 58 1B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 BD 21 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 18 57 00 00 35 04 06 00 F9 E3 2B 78 27 2F D3 F6 67 7B A8 19 36 A3 [17:32:39]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 B7 5C 47 00 7C 41 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 18 57 00 00 F4 03 04 00 77 CA 6E 66 B6 04 01 00 00 58 3E B5 7A 4D 03 65 32 [17:32:39]CommunicateWithHost err = 0 [17:32:39]CheckOFDResponse [17:32:39]1017 (14) - 77093643461234 [17:32:39]1041 (16) - 0000000000965344 [17:32:39]1040 (4) - 22296 [17:32:39]1012 (4) - 16.06.2024 11:20 [17:32:39]1206 (1) - 0 [17:32:39]OFD Sender: Remove packet 22296 [17:32:39]ProducePacketName [17:32:39]name=ofd_packets/00022296 [17:32:39]NVStorageDeleteData [17:32:39]Write to MH i2c: 01 00 00 E8 2A 12 [17:32:39]Write i2c OK [17:32:39]MH_I2C_Read... [17:32:39]Read from MH i2c: 01 [17:32:39]MH_I2C_Read... [17:32:39]Read from MH i2c: 01 07 00 [17:32:39]MH_I2C_Read... [17:32:39]Read from MH i2c: 01 07 00 E8 2A 00 00 00 00 00 17 0D 3D [17:32:39]RasterBufferAndPrint [17:32:39]line [17:32:39]line [17:32:39]line [17:32:39]line [17:32:39]line [17:32:39]written 0, free lines is 3357 [17:32:39]MH_Cut [17:32:39]Write to MH i2c: D1 01 00 EF 2A 01 EB [17:32:39]Write i2c OK [17:32:39]MH_I2C_Read... [17:32:39]Read from MH i2c: D1 [17:32:39]MH_I2C_Read... [17:32:39]Read from MH i2c: D1 01 00 [17:32:39]MH_I2C_Read... [17:32:39]Read from MH i2c: D1 01 00 EF 2A 00 EA [17:32:39]Write to MH i2c: 01 00 00 F0 2A 1A [17:32:39]Write i2c OK [17:32:39]MH_I2C_Read... [17:32:39]OFD Sender: No OFD packet to send [17:32:39]*** Cut start [17:32:39]*** Partial cut [17:32:39]*** CUTSNS_PIN = 1 [17:32:39]*** CUTSNS_PIN = 0 [17:32:40]*** Brake cut motor [17:32:40]Read from MH i2c: 01 [17:32:40]MH_I2C_Read... [17:32:40]*** Stop cut motor [17:32:40]*** Cut end [17:32:40]Read from MH i2c: 01 07 00 [17:32:40]MH_I2C_Read... [17:32:40]Read from MH i2c: 01 07 00 F0 2A 00 00 00 00 00 FF 0F 2F [17:32:40]process_action close_receipt done [17:32:40]requested_data is exist [17:32:40]produce_requested_data [17:32:40]requested_item fm.sn is exist - process it [17:32:40]wFMCommunicate request_size=4 [17:32:40]MH_SAM_APDU [17:32:40]CAPDU: 80 11 00 00 [17:32:40]Write to MH i2c: E2 08 00 F1 2A 80 11 00 00 00 00 00 00 95 [17:32:40]Write i2c OK [17:32:40]MH_I2C_Read... [17:32:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:32:40]Read from MH i2c: E2 [17:32:40]MH_I2C_Read... [17:32:40]Read from MH i2c: E2 17 00 [17:32:40]MH_I2C_Read... [17:32:40]Read from MH i2c: E2 17 00 F1 2A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 E7 [17:32:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [17:32:40]wFMCommunicate OK [17:32:40]requested_item fd.num is exist - process it [17:32:40]SAM_PROTO_GetFieldsCounters [17:32:40]wFMCommunicate request_size=4 [17:32:40]MH_SAM_APDU [17:32:40]CAPDU: 80 13 00 00 [17:32:40]Write to MH i2c: E2 08 00 F2 2A 80 13 00 00 00 00 00 00 98 [17:32:40]Write i2c OK [17:32:40]MH_I2C_Read... [17:32:40]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:32:40]Read from MH i2c: E2 [17:32:40]MH_I2C_Read... [17:32:40]Read from MH i2c: E2 62 00 [17:32:40]MH_I2C_Read... [17:32:40]Read from MH i2c: E2 62 00 F2 2A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 18 57 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 3D 00 00 00 5E 04 04 00 3D 00 00 00 57 04 04 00 3E 00 00 00 19 04 04 00 00 00 00 00 90 00 30 [17:32:40]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 18 57 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 3D 00 00 00 5E 04 04 00 3D 00 00 00 57 04 04 00 3E 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:32:40]wFMCommunicate OK [17:32:40]SAM_PROTO_GetFieldsCounters done [17:32:40]requested_item shift.num is exist - process it [17:32:40]requested_item shift.opened is exist - process it [17:32:40]req_shift_opened [17:32:40]FM_GetShiftState [17:32:40]SAM_PROTO_GetShiftState [17:32:40]wFMCommunicate request_size=4 [17:32:40]MH_SAM_APDU [17:32:40]CAPDU: 80 13 01 00 [17:32:40]Write to MH i2c: E2 08 00 F3 2A 80 13 01 00 00 00 00 00 9A [17:32:40]Write i2c OK [17:32:40]MH_I2C_Read... [17:32:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:32:40]Read from MH i2c: E2 [17:32:40]MH_I2C_Read... [17:32:40]Read from MH i2c: E2 0E 00 [17:32:40]MH_I2C_Read... [17:32:40]Read from MH i2c: E2 0E 00 F3 2A 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 BB [17:32:40]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [17:32:40]wFMCommunicate OK [17:32:40]SAM_PROTO_GetShiftState done [17:32:40]FM_GetShiftState done [17:32:40]req_shift_opened done [17:32:40]requested_item shift.open_date is exist - process it [17:32:40]req_shift_open_date [17:32:40]req_shift_open_date done [17:32:40]produce_requested_data done [17:32:40]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22296,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297} [17:32:40]process_action_free close_receipt [17:32:40]json_value_free [17:32:40]json_value_free done [17:32:40]process_json_proto returns [17:32:40]Send response to host [17:32:40]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22296,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297}}} [17:32:40]free response buf [17:32:40]execute_script done [17:32:40]execute_script returns [17:32:40]free content buf [17:32:40]Sock 8.Close socket [17:32:40]Sock 8.Thread stoped [17:32:44]OFD Sender: No OFD packet to send [17:32:49]OFD Sender: No OFD packet to send [17:32:54]OFD Sender: No OFD packet to send [17:32:59]OFD Sender: No OFD packet to send [17:33:04]OFD Sender: No OFD packet to send [17:33:09]OFD Sender: No OFD packet to send [17:33:14]OFD Sender: No OFD packet to send [17:33:19]OFD Sender: No OFD packet to send [17:33:24]OFD Sender: No OFD packet to send [17:33:29]OFD Sender: No OFD packet to send [17:33:33]accept exits with 9 [17:33:33]New connection [17:33:33]New thread 3066695012 created [17:33:33]Thread 3066838372 joined [17:33:33]Waiting for new connection... [17:33:33] Sock 9.Parse request [17:33:33]Sock 9.Check first char [17:33:33]Sock 9.First char is OK [17:33:33]request: POST /json_proto HTTP/1.0 [17:33:33]Method: POST [17:33:33]URL: /json_proto [17:33:33]Method is POST - this is cgi request [17:33:33]url: /json_proto [17:33:33]query_string will be loaded in cgi processing [17:33:33]execute_cgi json_proto POST (null) [17:33:33]execute_cgi path=json_proto method=POST [17:33:33]POST find Content-Length [17:33:33]Host: 172.17.35.133:8080 [17:33:33]Content-Length: 1433 [17:33:33]Content-Type: application/json [17:33:33] [17:33:33]POST finish read [17:33:33]Found Content-Length = 1433 [17:33:33]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254510", "tax_sys" : 0, "items" : [ { "code": "4870202521148", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 \u0437\u0435\u043B \u043B\u0438\u043C\u043E\u043D 0.45\u043B", "price" : 70.00, "quantity" : 2.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "90162602", "name": "\u042D\u043D\u0435\u0440\u0433 \u043D\u0430\u043F\u0438\u0442\u043E\u043A Red bull 0,25\u043B", "price" : 157.00, "quantity" : 2.000, "sum" : 314.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870235681369", "name": "\u0427\u0418\u041F\u0421\u042B SLANG \u0421\u041E \u0412\u041A\u0423\u0421\u041E\u041C \u0421\u042B\u0420 60\u0413", "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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 549.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:33:33]execute_script... [17:33:33]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254510", "tax_sys" : 0, "items" : [ { "code": "4870202521148", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 \u0437\u0435\u043B \u043B\u0438\u043C\u043E\u043D 0.45\u043B", "price" : 70.00, "quantity" : 2.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "90162602", "name": "\u042D\u043D\u0435\u0440\u0433 \u043D\u0430\u043F\u0438\u0442\u043E\u043A Red bull 0,25\u043B", "price" : 157.00, "quantity" : 2.000, "sum" : 314.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870235681369", "name": "\u0427\u0418\u041F\u0421\u042B SLANG \u0421\u041E \u0412\u041A\u0423\u0421\u041E\u041C \u0421\u042B\u0420 60\u0413", "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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 549.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:33:33]POST & json_proto [17:33:33]process_json_proto [17:33:33]json parsed OK: [17:33:33]protocol is kg_v1.0 [17:33:33]action value=close_receipt [17:33:33]process_action close_receipt [17:33:33]cmd_close_receipt [17:33:33]MH_GetDate [17:33:33]Write to MH i2c: F0 00 00 F4 2A 0D [17:33:33]Write i2c OK [17:33:33]MH_I2C_Read... [17:33:33]Read from MH i2c: F0 [17:33:33]MH_I2C_Read... [17:33:33]Read from MH i2c: F0 09 00 [17:33:33]MH_I2C_Read... [17:33:33]Read from MH i2c: F0 09 00 F4 2A 00 F6 21 6F 66 8C 55 28 65 70 [17:33:33]GetLastDocTimeStamp 1718559165 [17:33:33]current date 1718559222 [17:33:33]FM_GetShiftState [17:33:33]SAM_PROTO_GetShiftState [17:33:33]wFMCommunicate request_size=4 [17:33:33]MH_SAM_APDU [17:33:33]CAPDU: 80 13 01 00 [17:33:33]Write to MH i2c: E2 08 00 F5 2A 80 13 01 00 00 00 00 00 9C [17:33:33]Write i2c OK [17:33:33]MH_I2C_Read... [17:33:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:33:33]Read from MH i2c: E2 [17:33:33]MH_I2C_Read... [17:33:33]Read from MH i2c: E2 0E 00 [17:33:33]MH_I2C_Read... [17:33:33]Read from MH i2c: E2 0E 00 F5 2A 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 BD [17:33:33]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [17:33:33]wFMCommunicate OK [17:33:33]SAM_PROTO_GetShiftState done [17:33:33]FM_GetShiftState done [17:33:33]opened in 1718497297 [17:33:33]opened+sec_in_day 1718583697 [17:33:33]quantity*price = 14000 [17:33:33]sum+1 = 14001 [17:33:33]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 90162602 Энерг напиток Red bull 0,25л 2.000 * 157.00 = 314.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4870235681369 ЧИПСЫ SLANG СО ВКУСОМ СЫР 60Г 1.000 * 95.00 = 95.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 549.00 НСП 1% : 4.86 НДС 12% : 58.30 Наличными: 0.00 Безнал.: 549.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 62 16.06.2024 17:33 Смена: 327 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000965344 ФД: 22297 ФПД: 281039105384907 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T173342&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22297&fm=281039105384907&tin=02508201610067®Number=0000000000099755&sum=54900 0 [17:33:34]StoreToDocumentArchive [17:33:34]shift 327 fd 22297 [17:33:34]save to /storage/0327/doc_00022297 [17:33:34]save last doc name /storage/0327/doc_00022297 to /storage/kkm_last_doc_name [17:33:34]save OK [17:33:34]Clear old archive folders... [17:33:34]ProcessDocumentItem done err = 0, tmpTLVsize=519 [17:33:34]tlvbuf is 001B2BB0 [17:33:34]SAM_PROTO_ClearQueue [17:33:34]wFMCommunicate request_size=4 [17:33:34]MH_SAM_APDU [17:33:34]CAPDU: 80 09 00 00 [17:33:34]Write to MH i2c: E2 08 00 02 2B 80 09 00 00 00 00 00 00 9F [17:33:34]Write i2c OK [17:33:34]MH_I2C_Read... [17:33:34]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:33:34]Read from MH i2c: E2 [17:33:34]MH_I2C_Read... [17:33:34]Read from MH i2c: E2 03 00 [17:33:34]MH_I2C_Read... [17:33:34]Read from MH i2c: E2 03 00 02 2B 00 90 00 A1 [17:33:34]RAPDU: 90 00 [17:33:34]wFMCommunicate OK [17:33:34]SAM_PROTO_ClearQueue done [17:33:34]KKMCreateOFDPacket [17:33:34]OFDProtocolAddRootSTLVToBuf [17:33:34]FM_MakeSignedData [17:33:34]FM_MakeSignedData [17:33:34]SAM_PROTO_SignData [17:33:34]wFMCommunicate request_size=4 [17:33:34]MH_SAM_APDU [17:33:34]CAPDU: 80 0D 01 02 [17:33:34]Write to MH i2c: E2 08 00 03 2B 80 0D 01 02 00 00 00 00 A7 [17:33:34]Write i2c OK [17:33:34]OFD Sender: No OFD packet to send [17:33:34]MH_I2C_Read... [17:33:34]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:33:34]Read from MH i2c: E2 [17:33:34]MH_I2C_Read... [17:33:34]Read from MH i2c: E2 03 00 [17:33:34]MH_I2C_Read... [17:33:34]Read from MH i2c: E2 03 00 03 2B 00 90 00 A2 [17:33:34]RAPDU: 90 00 [17:33:34]wFMCommunicate OK [17:33:34]wFMCommunicate request_size=255 [17:33:34]MH_SAM_APDU [17:33:34]CAPDU: 80 0D 02 02 FA 03 00 07 02 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 31 34 38 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC D0 BE D0 BD 20 30 2E 34 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 58 1B 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 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 54 3D 00 00 00 00 13 04 06 00 A8 7A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 72 00 8A 04 0D 00 34 38 [17:33:34]Write to MH i2c: E2 02 01 04 2B 80 0D 02 02 FA 00 03 00 07 02 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 31 34 38 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC D0 BE D0 BD 20 30 2E 34 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 58 1B 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 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 54 3D 00 00 00 00 13 04 06 00 A8 7A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 72 00 8A 04 0D 00 34 38 00 00 36 [17:33:34]Write i2c OK [17:33:34]MH_I2C_Read... [17:33:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:33:34]Read from MH i2c: E2 [17:33:34]MH_I2C_Read... [17:33:34]Read from MH i2c: E2 03 00 [17:33:34]MH_I2C_Read... [17:33:34]Read from MH i2c: E2 03 00 04 2B 00 90 00 A3 [17:33:34]RAPDU: 90 00 [17:33:34]wFMCommunicate OK [17:33:34]wFMCommunicate request_size=255 [17:33:34]MH_SAM_APDU [17:33:34]CAPDU: 80 0D 02 02 FA 37 30 32 33 35 36 38 31 33 36 39 06 04 2E 00 D0 A7 D0 98 D0 9F D0 A1 D0 AB 20 53 4C 41 4E 47 20 D0 A1 D0 9E 20 D0 92 D0 9A D0 A3 D0 A1 D0 9E D0 9C 20 D0 A1 D0 AB D0 A0 20 36 30 D0 93 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 74 D6 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E6 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C6 16 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 74 D6 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 F6 21 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 [17:33:34]Write to MH i2c: E2 02 01 05 2B 80 0D 02 02 FA 00 37 30 32 33 35 36 38 31 33 36 39 06 04 2E 00 D0 A7 D0 98 D0 9F D0 A1 D0 AB 20 53 4C 41 4E 47 20 D0 A1 D0 9E 20 D0 92 D0 9A D0 A3 D0 A1 D0 9E D0 9C 20 D0 A1 D0 AB D0 A0 20 36 30 D0 93 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 74 D6 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E6 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C6 16 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 74 D6 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 F6 21 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 00 00 39 [17:33:34]Write i2c OK [17:33:34]MH_I2C_Read... [17:33:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:33:35]Read from MH i2c: E2 [17:33:35]MH_I2C_Read... [17:33:35]Read from MH i2c: E2 03 00 [17:33:35]MH_I2C_Read... [17:33:35]Read from MH i2c: E2 03 00 05 2B 00 90 00 A4 [17:33:35]RAPDU: 90 00 [17:33:35]wFMCommunicate OK [17:33:35]wFMCommunicate request_size=28 [17:33:35]MH_SAM_APDU [17:33:35]CAPDU: 80 0D 02 02 17 36 35 33 34 34 10 04 04 00 19 57 00 00 35 04 06 00 FF 9A 84 0B 61 CB [17:33:35]Write to MH i2c: E2 1F 00 06 2B 80 0D 02 02 17 00 36 35 33 34 34 10 04 04 00 19 57 00 00 35 04 06 00 FF 9A 84 0B 61 CB 00 00 FA [17:33:35]Write i2c OK [17:33:35]MH_I2C_Read... [17:33:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:33:35]Read from MH i2c: E2 [17:33:35]MH_I2C_Read... [17:33:35]Read from MH i2c: E2 03 00 [17:33:35]MH_I2C_Read... [17:33:35]Read from MH i2c: E2 03 00 06 2B 00 90 00 A5 [17:33:35]RAPDU: 90 00 [17:33:35]wFMCommunicate OK [17:33:35]wFMCommunicate request_size=4 [17:33:35]MH_SAM_APDU [17:33:35]CAPDU: 80 0D 03 02 [17:33:35]Write to MH i2c: E2 08 00 07 2B 80 0D 03 02 00 00 00 00 AD [17:33:35]Write i2c OK [17:33:35]MH_I2C_Read... [17:33:35]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:33:35]Read from MH i2c: E2 [17:33:35]MH_I2C_Read... [17:33:35]Read from MH i2c: E2 0B 00 [17:33:35]MH_I2C_Read... [17:33:35]Read from MH i2c: E2 0B 00 07 2B 00 CD 30 23 65 62 AB 6B 32 90 00 DD [17:33:35]RAPDU: CD 30 23 65 62 AB 6B 32 90 00 [17:33:35]wFMCommunicate OK [17:33:35]SAM_PROTO_SignData done [17:33:35]FM_MakeSignedData done [17:33:35]CreateOFDProtocolMessage [17:33:35]wFMCommunicate request_size=4 [17:33:35]MH_SAM_APDU [17:33:35]CAPDU: 80 11 00 00 [17:33:35]Write to MH i2c: E2 08 00 08 2B 80 11 00 00 00 00 00 00 AD [17:33:35]Write i2c OK [17:33:35]MH_I2C_Read... [17:33:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:33:35]Read from MH i2c: E2 [17:33:35]MH_I2C_Read... [17:33:35]Read from MH i2c: E2 17 00 [17:33:35]MH_I2C_Read... [17:33:35]Read from MH i2c: E2 17 00 08 2B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 FF [17:33:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [17:33:35]wFMCommunicate OK [17:33:35]CreateOFDProtocolMessage done [17:33:35]OFDSenderStorePacket 22297 [17:33:35]StoreOFDPacket docnum=22297 [17:33:35]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 1B 02 00 00 5B D3 13 02 D3 57 5A 03 01 00 03 00 07 02 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 31 34 38 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC D0 BE D0 BD 20 30 2E 34 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 58 1B 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 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 54 3D 00 00 00 00 13 04 06 00 A8 7A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 72 00 8A 04 0D 00 34 38 37 30 32 33 35 36 38 31 33 36 39 06 04 2E 00 D0 A7 D0 98 D0 9F D0 A1 D0 AB 20 53 4C 41 4E 47 20 D0 A1 D0 9E 20 D0 92 D0 9A D0 A3 D0 A1 D0 9E D0 9C 20 D0 A1 D0 AB D0 A0 20 36 30 D0 93 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 74 D6 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E6 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C6 16 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 74 D6 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 F6 21 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 19 57 00 00 35 04 06 00 FF 9A 84 0B 61 CB CD 30 23 65 62 AB 6B 32 [17:33:35]CheckFolder [17:33:35]dirname=/storage/ofd_packets [17:33:35]CheckFolder done [17:33:35]ProducePacketName [17:33:35]name=ofd_packets/00022297 [17:33:35]NVStorageSaveData ofd_packets/00022297 [17:33:35]File name is /storage/ofd_packets/00022297 [17:33:35]Write 569 bytes [17:33:35]NVStorageSaveData done [17:33:35]OFDSenderStorePacket done [17:33:35]KKMCreateOFDPacket done [17:33:35]NVStorageSaveData kkm_last_timestamp [17:33:35]File name is /storage/kkm_last_timestamp [17:33:35]Write 4 bytes [17:33:35]NVStorageSaveData done [17:33:35]ExternCall_PrintAddStr [17:33:35]wPrintStart [17:33:35]Write to MH i2c: 01 00 00 09 2B 34 [17:33:35]Write i2c OK [17:33:35]MH_I2C_Read... [17:33:35]Read from MH i2c: 01 [17:33:35]MH_I2C_Read... [17:33:35]Read from MH i2c: 01 07 00 [17:33:35]MH_I2C_Read... [17:33:35]Read from MH i2c: 01 07 00 09 2B 00 00 00 00 00 FF 0F 49 [17:33:35]RasterBufferAndPrint [17:33:35]line Счет N : (3)254510 [17:33:35]line ИНН: 02508201610067 [17:33:35]line Контрольно-Кассовый Чек [17:33:35]line ПРОДАЖА [17:33:35]line Товар: 4870202521148 [17:33:35]line Напиток MAXI чай зел лимон 0.45л [17:33:35]line 2.000 * 70.00 [17:33:35]line = 140.00 [17:33:35]line НДС 12% НСП 1% [17:33:35]line > о реализуемом товаре [17:33:35]line Товар: 90162602 [17:33:35]line Энерг напиток Red bull 0,25л [17:33:35]line 2.000 * 157.00 [17:33:35]line = 314.00 [17:33:35]line НДС 12% НСП 1% [17:33:35]line > о реализуемом товаре [17:33:35]line Товар: 4870235681369 [17:33:35]line ЧИПСЫ SLANG СО ВКУСОМ СЫР 60Г [17:33:35]line 1.000 * 95.00 [17:33:35]line = 95.00 [17:33:35]line НДС 12% НСП 1% [17:33:35]line > о реализуемом товаре [17:33:35]line ИТОГО: 549.00 [17:33:35]line НСП 1% : 4.86 [17:33:35]line НДС 12% : 58.30 [17:33:35]line Наличными: 0.00 [17:33:35]line Безнал.: 549.00 [17:33:35]line Место: АЗС № 76 "Партнер Нефть" [17:33:35]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [17:33:35]line СНО: Общий режим [17:33:35]line Чек 62 16.06.2024 17:33 [17:33:35]line Смена: 327 ФФД: 1.0 [17:33:35]line ЗНМ: 0300000200 [17:33:35]line РНМ: 0000000000099755 [17:33:35]line Версия ККМ: 001 [17:33:35]line Платежная система: АКБ Кыргызстан [17:33:35]line ФМ: 0000000000965344 [17:33:35]line ФД: 22297 [17:33:35]line ФПД: 281039105384907 [17:33:35]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T173342&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22297&fm=281039105384907&tin=02508201610067®Number=0000000000099755&sum=54900 [17:33:35]line 0 [17:33:35]OFD Sender: Processing packet 22297 [packets to send 5, broken 4] [17:33:35]ProducePacketName [17:33:35]name=ofd_packets/00022297 [17:33:35]OFD Sender: To server: pG, [17:33:35]CommunicateWithHost lk.salyk.kg:30040 [17:33:35]ConnectInit lk.salyk.kg [17:33:35]written 0, free lines is 4095 [17:33:35]Connected sock=10 [17:33:35]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 1B 02 00 00 5B D3 13 02 D3 57 5A 03 01 00 03 00 07 02 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 31 34 38 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC D0 BE D0 BD 20 30 2E 34 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 58 1B 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 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 54 3D 00 00 00 00 13 04 06 00 A8 7A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 72 00 8A 04 0D 00 34 38 37 30 32 33 35 36 38 31 33 36 39 06 04 2E 00 D0 A7 D0 98 D0 9F D0 A1 D0 AB 20 53 4C 41 4E 47 20 D0 A1 D0 9E 20 D0 92 D0 9A D0 A3 D0 A1 D0 9E D0 9C 20 D0 A1 D0 AB D0 A0 20 36 30 D0 93 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 74 D6 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E6 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C6 16 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 74 D6 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 F6 21 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 19 57 00 00 35 04 06 00 FF 9A 84 0B 61 CB CD 30 23 65 62 AB 6B 32 [17:33:36]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 09 30 47 00 FB DA A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 19 57 00 00 F4 03 04 00 B0 CA 6E 66 B6 04 01 00 00 75 59 B4 37 1A CC 92 24 [17:33:36]CommunicateWithHost err = 0 [17:33:36]CheckOFDResponse [17:33:36]1017 (14) - 77093643461234 [17:33:36]1041 (16) - 0000000000965344 [17:33:36]1040 (4) - 22297 [17:33:36]1012 (4) - 16.06.2024 11:21 [17:33:36]1206 (1) - 0 [17:33:36]OFD Sender: Remove packet 22297 [17:33:36]ProducePacketName [17:33:36]name=ofd_packets/00022297 [17:33:36]NVStorageDeleteData [17:33:36]Write to MH i2c: 01 00 00 41 2B 6C [17:33:36]Write i2c OK [17:33:36]MH_I2C_Read... [17:33:36]Read from MH i2c: 01 [17:33:36]MH_I2C_Read... [17:33:36]Read from MH i2c: 01 07 00 [17:33:36]MH_I2C_Read... [17:33:36]Read from MH i2c: 01 07 00 41 2B 00 00 00 00 00 5E 0C DD [17:33:36]RasterBufferAndPrint [17:33:36]line [17:33:36]line [17:33:36]line [17:33:36]line [17:33:36]line [17:33:36]written 0, free lines is 3173 [17:33:36]MH_Cut [17:33:36]Write to MH i2c: D1 01 00 48 2B 01 45 [17:33:36]Write i2c OK [17:33:36]MH_I2C_Read... [17:33:36]Read from MH i2c: D1 [17:33:36]MH_I2C_Read... [17:33:36]Read from MH i2c: D1 01 00 [17:33:36]MH_I2C_Read... [17:33:36]Read from MH i2c: D1 01 00 48 2B 00 44 [17:33:36]Write to MH i2c: 01 00 00 49 2B 74 [17:33:36]Write i2c OK [17:33:36]MH_I2C_Read... [17:33:36]OFD Sender: No OFD packet to send [17:33:37]*** Cut start [17:33:37]*** Partial cut [17:33:37]*** CUTSNS_PIN = 1 [17:33:37]*** CUTSNS_PIN = 0 [17:33:37]*** Brake cut motor [17:33:37]Read from MH i2c: 01 [17:33:37]MH_I2C_Read... [17:33:37]*** Stop cut motor [17:33:37]*** Cut end [17:33:37]Read from MH i2c: 01 07 00 [17:33:37]MH_I2C_Read... [17:33:37]Read from MH i2c: 01 07 00 49 2B 00 00 00 00 00 FF 0F 89 [17:33:37]process_action close_receipt done [17:33:37]requested_data is exist [17:33:37]produce_requested_data [17:33:37]requested_item fm.sn is exist - process it [17:33:37]wFMCommunicate request_size=4 [17:33:37]MH_SAM_APDU [17:33:37]CAPDU: 80 11 00 00 [17:33:37]Write to MH i2c: E2 08 00 4A 2B 80 11 00 00 00 00 00 00 EF [17:33:37]Write i2c OK [17:33:37]MH_I2C_Read... [17:33:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:33:37]Read from MH i2c: E2 [17:33:37]MH_I2C_Read... [17:33:37]Read from MH i2c: E2 17 00 [17:33:37]MH_I2C_Read... [17:33:37]Read from MH i2c: E2 17 00 4A 2B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 41 [17:33:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [17:33:37]wFMCommunicate OK [17:33:37]requested_item fd.num is exist - process it [17:33:37]SAM_PROTO_GetFieldsCounters [17:33:37]wFMCommunicate request_size=4 [17:33:37]MH_SAM_APDU [17:33:37]CAPDU: 80 13 00 00 [17:33:37]Write to MH i2c: E2 08 00 4B 2B 80 13 00 00 00 00 00 00 F2 [17:33:37]Write i2c OK [17:33:37]MH_I2C_Read... [17:33:37]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:33:37]Read from MH i2c: E2 [17:33:37]MH_I2C_Read... [17:33:37]Read from MH i2c: E2 62 00 [17:33:37]MH_I2C_Read... [17:33:37]Read from MH i2c: E2 62 00 4B 2B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 19 57 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 3E 00 00 00 5E 04 04 00 3E 00 00 00 57 04 04 00 3F 00 00 00 19 04 04 00 00 00 00 00 90 00 8E [17:33:37]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 19 57 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 3E 00 00 00 5E 04 04 00 3E 00 00 00 57 04 04 00 3F 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:33:37]wFMCommunicate OK [17:33:37]SAM_PROTO_GetFieldsCounters done [17:33:37]requested_item shift.num is exist - process it [17:33:37]requested_item shift.opened is exist - process it [17:33:37]req_shift_opened [17:33:37]FM_GetShiftState [17:33:37]SAM_PROTO_GetShiftState [17:33:37]wFMCommunicate request_size=4 [17:33:37]MH_SAM_APDU [17:33:37]CAPDU: 80 13 01 00 [17:33:37]Write to MH i2c: E2 08 00 4C 2B 80 13 01 00 00 00 00 00 F4 [17:33:37]Write i2c OK [17:33:37]MH_I2C_Read... [17:33:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:33:38]Read from MH i2c: E2 [17:33:38]MH_I2C_Read... [17:33:38]Read from MH i2c: E2 0E 00 [17:33:38]MH_I2C_Read... [17:33:38]Read from MH i2c: E2 0E 00 4C 2B 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 15 [17:33:38]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [17:33:38]wFMCommunicate OK [17:33:38]SAM_PROTO_GetShiftState done [17:33:38]FM_GetShiftState done [17:33:38]req_shift_opened done [17:33:38]requested_item shift.open_date is exist - process it [17:33:38]req_shift_open_date [17:33:38]req_shift_open_date done [17:33:38]produce_requested_data done [17:33:38]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22297,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297} [17:33:38]process_action_free close_receipt [17:33:38]json_value_free [17:33:38]json_value_free done [17:33:38]process_json_proto returns [17:33:38]Send response to host [17:33:38]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22297,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297}}} [17:33:38]free response buf [17:33:38]execute_script done [17:33:38]execute_script returns [17:33:38]free content buf [17:33:38]Sock 9.Close socket [17:33:38]Sock 9.Thread stoped [17:33:41]OFD Sender: No OFD packet to send [17:33:46]OFD Sender: No OFD packet to send [17:33:51]OFD Sender: No OFD packet to send [17:33:56]OFD Sender: No OFD packet to send [17:34:01]OFD Sender: No OFD packet to send [17:34:06]OFD Sender: No OFD packet to send [17:34:11]OFD Sender: No OFD packet to send [17:34:16]OFD Sender: No OFD packet to send [17:34:21]OFD Sender: No OFD packet to send [17:34:26]OFD Sender: No OFD packet to send [17:34:31]OFD Sender: No OFD packet to send [17:34:36]OFD Sender: No OFD packet to send [17:34:41]OFD Sender: No OFD packet to send [17:34:46]OFD Sender: No OFD packet to send [17:34:51]OFD Sender: No OFD packet to send [17:34:56]OFD Sender: No OFD packet to send [17:35:01]OFD Sender: No OFD packet to send [17:35:06]OFD Sender: No OFD packet to send [17:35:11]OFD Sender: No OFD packet to send [17:35:16]OFD Sender: No OFD packet to send [17:35:21]OFD Sender: No OFD packet to send [17:35:26]OFD Sender: No OFD packet to send [17:35:31]OFD Sender: No OFD packet to send [17:35:36]OFD Sender: No OFD packet to send [17:35:41]OFD Sender: No OFD packet to send [17:35:46]OFD Sender: No OFD packet to send [17:35:51]OFD Sender: No OFD packet to send [17:35:56]OFD Sender: No OFD packet to send [17:36:01]OFD Sender: No OFD packet to send [17:36:06]OFD Sender: No OFD packet to send [17:36:11]OFD Sender: No OFD packet to send [17:36:16]OFD Sender: No OFD packet to send [17:36:21]OFD Sender: No OFD packet to send [17:36:26]OFD Sender: No OFD packet to send [17:36:31]OFD Sender: No OFD packet to send [17:36:36]OFD Sender: No OFD packet to send [17:36:41]OFD Sender: No OFD packet to send [17:36:46]OFD Sender: No OFD packet to send [17:36:51]OFD Sender: No OFD packet to send [17:36:56]OFD Sender: No OFD packet to send [17:37:01]OFD Sender: No OFD packet to send [17:37:06]OFD Sender: No OFD packet to send [17:37:11]OFD Sender: No OFD packet to send [17:37:16]OFD Sender: No OFD packet to send [17:37:21]OFD Sender: No OFD packet to send [17:37:26]OFD Sender: No OFD packet to send [17:37:31]OFD Sender: No OFD packet to send [17:37:36]OFD Sender: No OFD packet to send [17:37:41]OFD Sender: No OFD packet to send [17:37:46]OFD Sender: No OFD packet to send [17:37:51]OFD Sender: No OFD packet to send [17:37:56]OFD Sender: No OFD packet to send [17:38:01]OFD Sender: No OFD packet to send [17:38:06]OFD Sender: No OFD packet to send [17:38:11]OFD Sender: No OFD packet to send [17:38:16]OFD Sender: No OFD packet to send [17:38:21]OFD Sender: No OFD packet to send [17:38:26]OFD Sender: No OFD packet to send [17:38:31]OFD Sender: No OFD packet to send [17:38:36]OFD Sender: No OFD packet to send [17:38:41]OFD Sender: No OFD packet to send [17:38:46]OFD Sender: No OFD packet to send [17:38:51]OFD Sender: No OFD packet to send [17:38:56]OFD Sender: No OFD packet to send [17:39:01]OFD Sender: No OFD packet to send [17:39:06]OFD Sender: No OFD packet to send [17:39:11]OFD Sender: No OFD packet to send [17:39:16]OFD Sender: No OFD packet to send [17:39:21]OFD Sender: No OFD packet to send [17:39:26]OFD Sender: No OFD packet to send [17:39:31]OFD Sender: No OFD packet to send [17:39:36]OFD Sender: No OFD packet to send [17:39:41]OFD Sender: No OFD packet to send [17:39:46]OFD Sender: No OFD packet to send [17:39:51]OFD Sender: No OFD packet to send [17:39:56]OFD Sender: No OFD packet to send [17:40:01]OFD Sender: No OFD packet to send [17:40:06]OFD Sender: No OFD packet to send [17:40:11]OFD Sender: No OFD packet to send [17:40:16]OFD Sender: No OFD packet to send [17:40:21]OFD Sender: No OFD packet to send [17:40:26]OFD Sender: No OFD packet to send [17:40:31]OFD Sender: No OFD packet to send [17:40:36]OFD Sender: No OFD packet to send [17:40:41]OFD Sender: No OFD packet to send [17:40:46]OFD Sender: No OFD packet to send [17:40:51]OFD Sender: No OFD packet to send [17:40:56]OFD Sender: No OFD packet to send [17:41:01]OFD Sender: No OFD packet to send [17:41:06]OFD Sender: No OFD packet to send [17:41:11]OFD Sender: No OFD packet to send [17:41:16]OFD Sender: No OFD packet to send [17:41:21]OFD Sender: No OFD packet to send [17:41:26]OFD Sender: No OFD packet to send [17:41:31]OFD Sender: No OFD packet to send [17:41:36]OFD Sender: No OFD packet to send [17:41:41]OFD Sender: No OFD packet to send [17:41:46]OFD Sender: No OFD packet to send [17:41:51]OFD Sender: No OFD packet to send [17:41:56]OFD Sender: No OFD packet to send [17:42:01]OFD Sender: No OFD packet to send [17:42:06]OFD Sender: No OFD packet to send [17:42:11]OFD Sender: No OFD packet to send [17:42:17]OFD Sender: No OFD packet to send [17:42:22]OFD Sender: No OFD packet to send [17:42:27]OFD Sender: No OFD packet to send [17:42:32]OFD Sender: No OFD packet to send [17:42:37]OFD Sender: No OFD packet to send [17:42:42]OFD Sender: No OFD packet to send [17:42:47]OFD Sender: No OFD packet to send [17:42:52]OFD Sender: No OFD packet to send [17:42:57]OFD Sender: No OFD packet to send [17:43:02]OFD Sender: No OFD packet to send [17:43:07]OFD Sender: No OFD packet to send [17:43:12]OFD Sender: No OFD packet to send [17:43:17]OFD Sender: No OFD packet to send [17:43:22]OFD Sender: No OFD packet to send [17:43:27]OFD Sender: No OFD packet to send [17:43:32]OFD Sender: No OFD packet to send [17:43:37]OFD Sender: No OFD packet to send [17:43:42]OFD Sender: No OFD packet to send [17:43:47]OFD Sender: No OFD packet to send [17:43:52]OFD Sender: No OFD packet to send [17:43:57]OFD Sender: No OFD packet to send [17:44:02]OFD Sender: No OFD packet to send [17:44:07]OFD Sender: No OFD packet to send [17:44:12]OFD Sender: No OFD packet to send [17:44:17]OFD Sender: No OFD packet to send [17:44:22]OFD Sender: No OFD packet to send [17:44:27]OFD Sender: No OFD packet to send [17:44:32]OFD Sender: No OFD packet to send [17:44:37]OFD Sender: No OFD packet to send [17:44:42]OFD Sender: No OFD packet to send [17:44:47]OFD Sender: No OFD packet to send [17:44:52]OFD Sender: No OFD packet to send [17:44:57]OFD Sender: No OFD packet to send [17:45:02]OFD Sender: No OFD packet to send [17:45:07]OFD Sender: No OFD packet to send [17:45:12]OFD Sender: No OFD packet to send [17:45:17]OFD Sender: No OFD packet to send [17:45:22]OFD Sender: No OFD packet to send [17:45:27]OFD Sender: No OFD packet to send [17:45:32]OFD Sender: No OFD packet to send [17:45:37]OFD Sender: No OFD packet to send [17:45:42]OFD Sender: No OFD packet to send [17:45:47]OFD Sender: No OFD packet to send [17:45:52]OFD Sender: No OFD packet to send [17:45:57]OFD Sender: No OFD packet to send [17:46:02]OFD Sender: No OFD packet to send [17:46:07]OFD Sender: No OFD packet to send [17:46:12]OFD Sender: No OFD packet to send [17:46:17]OFD Sender: No OFD packet to send [17:46:22]OFD Sender: No OFD packet to send [17:46:27]OFD Sender: No OFD packet to send [17:46:32]OFD Sender: No OFD packet to send [17:46:37]OFD Sender: No OFD packet to send [17:46:42]OFD Sender: No OFD packet to send [17:46:47]OFD Sender: No OFD packet to send [17:46:52]OFD Sender: No OFD packet to send [17:46:57]OFD Sender: No OFD packet to send [17:47:02]OFD Sender: No OFD packet to send [17:47:07]OFD Sender: No OFD packet to send [17:47:12]OFD Sender: No OFD packet to send [17:47:17]OFD Sender: No OFD packet to send [17:47:22]OFD Sender: No OFD packet to send [17:47:27]OFD Sender: No OFD packet to send [17:47:32]OFD Sender: No OFD packet to send [17:47:37]OFD Sender: No OFD packet to send [17:47:42]OFD Sender: No OFD packet to send [17:47:47]OFD Sender: No OFD packet to send [17:47:52]OFD Sender: No OFD packet to send [17:47:57]OFD Sender: No OFD packet to send [17:48:02]OFD Sender: No OFD packet to send [17:48:07]OFD Sender: No OFD packet to send [17:48:12]OFD Sender: No OFD packet to send [17:48:17]OFD Sender: No OFD packet to send [17:48:22]OFD Sender: No OFD packet to send [17:48:27]OFD Sender: No OFD packet to send [17:48:32]OFD Sender: No OFD packet to send [17:48:37]OFD Sender: No OFD packet to send [17:48:42]OFD Sender: No OFD packet to send [17:48:47]OFD Sender: No OFD packet to send [17:48:52]OFD Sender: No OFD packet to send [17:48:57]OFD Sender: No OFD packet to send [17:49:02]OFD Sender: No OFD packet to send [17:49:07]OFD Sender: No OFD packet to send [17:49:12]OFD Sender: No OFD packet to send [17:49:17]OFD Sender: No OFD packet to send [17:49:22]OFD Sender: No OFD packet to send [17:49:27]OFD Sender: No OFD packet to send [17:49:32]OFD Sender: No OFD packet to send [17:49:37]OFD Sender: No OFD packet to send [17:49:42]OFD Sender: No OFD packet to send [17:49:47]OFD Sender: No OFD packet to send [17:49:52]OFD Sender: No OFD packet to send [17:49:57]OFD Sender: No OFD packet to send [17:50:02]OFD Sender: No OFD packet to send [17:50:07]OFD Sender: No OFD packet to send [17:50:12]OFD Sender: No OFD packet to send [17:50:17]OFD Sender: No OFD packet to send [17:50:22]OFD Sender: No OFD packet to send [17:50:27]OFD Sender: No OFD packet to send [17:50:32]OFD Sender: No OFD packet to send [17:50:37]OFD Sender: No OFD packet to send [17:50:42]OFD Sender: No OFD packet to send [17:50:47]OFD Sender: No OFD packet to send [17:50:52]OFD Sender: No OFD packet to send [17:50:57]OFD Sender: No OFD packet to send [17:51:02]OFD Sender: No OFD packet to send [17:51:07]OFD Sender: No OFD packet to send [17:51:12]OFD Sender: No OFD packet to send [17:51:17]OFD Sender: No OFD packet to send [17:51:22]OFD Sender: No OFD packet to send [17:51:27]OFD Sender: No OFD packet to send [17:51:32]OFD Sender: No OFD packet to send [17:51:37]OFD Sender: No OFD packet to send [17:51:42]OFD Sender: No OFD packet to send [17:51:47]OFD Sender: No OFD packet to send [17:51:52]OFD Sender: No OFD packet to send [17:51:57]OFD Sender: No OFD packet to send [17:52:02]OFD Sender: No OFD packet to send [17:52:07]OFD Sender: No OFD packet to send [17:52:12]OFD Sender: No OFD packet to send [17:52:17]OFD Sender: No OFD packet to send [17:52:22]OFD Sender: No OFD packet to send [17:52:27]OFD Sender: No OFD packet to send [17:52:32]OFD Sender: No OFD packet to send [17:52:37]OFD Sender: No OFD packet to send [17:52:42]OFD Sender: No OFD packet to send [17:52:47]OFD Sender: No OFD packet to send [17:52:52]OFD Sender: No OFD packet to send [17:52:57]OFD Sender: No OFD packet to send [17:53:02]OFD Sender: No OFD packet to send [17:53:07]OFD Sender: No OFD packet to send [17:53:12]OFD Sender: No OFD packet to send [17:53:17]OFD Sender: No OFD packet to send [17:53:22]OFD Sender: No OFD packet to send [17:53:27]OFD Sender: No OFD packet to send [17:53:32]OFD Sender: No OFD packet to send [17:53:37]OFD Sender: No OFD packet to send [17:53:42]OFD Sender: No OFD packet to send [17:53:47]OFD Sender: No OFD packet to send [17:53:52]OFD Sender: No OFD packet to send [17:53:57]OFD Sender: No OFD packet to send [17:54:02]OFD Sender: No OFD packet to send [17:54:07]OFD Sender: No OFD packet to send [17:54:12]OFD Sender: No OFD packet to send [17:54:17]OFD Sender: No OFD packet to send [17:54:22]OFD Sender: No OFD packet to send [17:54:27]OFD Sender: No OFD packet to send [17:54:32]OFD Sender: No OFD packet to send [17:54:37]OFD Sender: No OFD packet to send [17:54:42]OFD Sender: No OFD packet to send [17:54:47]OFD Sender: No OFD packet to send [17:54:52]OFD Sender: No OFD packet to send [17:54:57]OFD Sender: No OFD packet to send [17:55:02]OFD Sender: No OFD packet to send [17:55:07]OFD Sender: No OFD packet to send [17:55:12]OFD Sender: No OFD packet to send [17:55:17]OFD Sender: No OFD packet to send [17:55:22]OFD Sender: No OFD packet to send [17:55:27]OFD Sender: No OFD packet to send [17:55:32]OFD Sender: No OFD packet to send [17:55:37]OFD Sender: No OFD packet to send [17:55:42]OFD Sender: No OFD packet to send [17:55:47]OFD Sender: No OFD packet to send [17:55:52]OFD Sender: No OFD packet to send [17:55:57]OFD Sender: No OFD packet to send [17:56:02]OFD Sender: No OFD packet to send [17:56:07]OFD Sender: No OFD packet to send [17:56:12]OFD Sender: No OFD packet to send [17:56:17]OFD Sender: No OFD packet to send [17:56:22]OFD Sender: No OFD packet to send [17:56:27]OFD Sender: No OFD packet to send [17:56:32]OFD Sender: No OFD packet to send [17:56:37]OFD Sender: No OFD packet to send [17:56:42]OFD Sender: No OFD packet to send [17:56:47]OFD Sender: No OFD packet to send [17:56:52]OFD Sender: No OFD packet to send [17:56:57]OFD Sender: No OFD packet to send [17:57:02]OFD Sender: No OFD packet to send [17:57:07]OFD Sender: No OFD packet to send [17:57:12]OFD Sender: No OFD packet to send [17:57:17]OFD Sender: No OFD packet to send [17:57:22]OFD Sender: No OFD packet to send [17:57:27]OFD Sender: No OFD packet to send [17:57:32]OFD Sender: No OFD packet to send [17:57:37]OFD Sender: No OFD packet to send [17:57:42]OFD Sender: No OFD packet to send [17:57:47]OFD Sender: No OFD packet to send [17:57:52]OFD Sender: No OFD packet to send [17:57:57]OFD Sender: No OFD packet to send [17:58:02]OFD Sender: No OFD packet to send [17:58:07]OFD Sender: No OFD packet to send [17:58:12]OFD Sender: No OFD packet to send [17:58:17]OFD Sender: No OFD packet to send [17:58:22]OFD Sender: No OFD packet to send [17:58:27]OFD Sender: No OFD packet to send [17:58:32]OFD Sender: No OFD packet to send [17:58:37]OFD Sender: No OFD packet to send [17:58:42]OFD Sender: No OFD packet to send [17:58:47]OFD Sender: No OFD packet to send [17:58:52]OFD Sender: No OFD packet to send [17:58:57]OFD Sender: No OFD packet to send [17:59:02]OFD Sender: No OFD packet to send [17:59:07]OFD Sender: No OFD packet to send [17:59:12]OFD Sender: No OFD packet to send [17:59:17]OFD Sender: No OFD packet to send [17:59:22]OFD Sender: No OFD packet to send [17:59:27]OFD Sender: No OFD packet to send [17:59:32]OFD Sender: No OFD packet to send [17:59:37]OFD Sender: No OFD packet to send [17:59:42]OFD Sender: No OFD packet to send [17:59:47]OFD Sender: No OFD packet to send [17:59:52]OFD Sender: No OFD packet to send [17:59:57]OFD Sender: No OFD packet to send [18:00:02]OFD Sender: No OFD packet to send [18:00:07]OFD Sender: No OFD packet to send [18:00:12]OFD Sender: No OFD packet to send [18:00:17]OFD Sender: No OFD packet to send [18:00:21]accept exits with 8 [18:00:21]New connection [18:00:21]New thread 3066838372 created [18:00:21]Thread 3066695012 joined [18:00:21]Waiting for new connection... [18:00:21] Sock 8.Parse request [18:00:21]Sock 8.Check first char [18:00:21]Sock 8.First char is OK [18:00:21]request: POST /json_proto HTTP/1.0 [18:00:21]Method: POST [18:00:21]URL: /json_proto [18:00:21]Method is POST - this is cgi request [18:00:21]url: /json_proto [18:00:21]query_string will be loaded in cgi processing [18:00:21]execute_cgi json_proto POST (null) [18:00:21]execute_cgi path=json_proto method=POST [18:00:21]POST find Content-Length [18:00:21]Host: 172.17.35.133:8080 [18:00:21]Content-Length: 682 [18:00:21]Content-Type: application/json [18:00:21] [18:00:21]POST finish read [18:00:21]Found Content-Length = 682 [18:00:21]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254511", "tax_sys" : 0, "items" : [ { "code": "4606532003029", "name": "\u0410\u043D\u0442\u0438\u0444\u0440\u0438\u0437 FELIX PROLONGER-40 \u0437\u0435\u043B\u0435\u043D\u044B\u0439 1\u043A\u0433", "price" : 270.00, "quantity" : 1.000, "sum" : 270.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 270.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:00:21]execute_script... [18:00: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)254511", "tax_sys" : 0, "items" : [ { "code": "4606532003029", "name": "\u0410\u043D\u0442\u0438\u0444\u0440\u0438\u0437 FELIX PROLONGER-40 \u0437\u0435\u043B\u0435\u043D\u044B\u0439 1\u043A\u0433", "price" : 270.00, "quantity" : 1.000, "sum" : 270.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 270.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:00:21]POST & json_proto [18:00:21]process_json_proto [18:00:21]json parsed OK: [18:00:21]protocol is kg_v1.0 [18:00:21]action value=close_receipt [18:00:21]process_action close_receipt [18:00:21]cmd_close_receipt [18:00:21]MH_GetDate [18:00:21]Write to MH i2c: F0 00 00 4D 2B 67 [18:00:21]Write i2c OK [18:00:21]MH_I2C_Read... [18:00:21]Read from MH i2c: F0 [18:00:21]MH_I2C_Read... [18:00:21]Read from MH i2c: F0 09 00 [18:00:21]MH_I2C_Read... [18:00:21]Read from MH i2c: F0 09 00 4D 2B 00 3E 28 6F 66 8C 55 28 65 19 [18:00:21]GetLastDocTimeStamp 1718559222 [18:00:21]current date 1718560830 [18:00:21]FM_GetShiftState [18:00:21]SAM_PROTO_GetShiftState [18:00:21]wFMCommunicate request_size=4 [18:00:21]MH_SAM_APDU [18:00:21]CAPDU: 80 13 01 00 [18:00:21]Write to MH i2c: E2 08 00 4E 2B 80 13 01 00 00 00 00 00 F6 [18:00:21]Write i2c OK [18:00:21]MH_I2C_Read... [18:00:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:00:21]Read from MH i2c: E2 [18:00:21]MH_I2C_Read... [18:00:21]Read from MH i2c: E2 0E 00 [18:00:21]MH_I2C_Read... [18:00:21]Read from MH i2c: E2 0E 00 4E 2B 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 17 [18:00:21]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [18:00:21]wFMCommunicate OK [18:00:21]SAM_PROTO_GetShiftState done [18:00:21]FM_GetShiftState done [18:00:21]opened in 1718497297 [18:00:21]opened+sec_in_day 1718583697 [18:00:21]quantity*price = 27000 [18:00:21]sum+1 = 27001 [18:00:21]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 270.00 НСП 1% : 2.39 НДС 12% : 28.67 Наличными: 270.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 63 16.06.2024 18:00 Смена: 327 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22298 ФПД: 216743038718227 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T180031&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22298&fm=216743038718227&tin=02508201610067®Number=0000000000099755&sum=27000 0 [18:00:22]StoreToDocumentArchive [18:00:22]shift 327 fd 22298 [18:00:22]save to /storage/0327/doc_00022298 [18:00:22]save last doc name /storage/0327/doc_00022298 to /storage/kkm_last_doc_name [18:00:22]save OK [18:00:22]Clear old archive folders... [18:00:22]ProcessDocumentItem done err = 0, tmpTLVsize=298 [18:00:22]tlvbuf is 0028D3D0 [18:00:22]SAM_PROTO_ClearQueue [18:00:22]wFMCommunicate request_size=4 [18:00:22]MH_SAM_APDU [18:00:22]CAPDU: 80 09 00 00 [18:00:22]Write to MH i2c: E2 08 00 5B 2B 80 09 00 00 00 00 00 00 F8 [18:00:22]Write i2c OK [18:00:22]MH_I2C_Read... [18:00:22]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:00:22]Read from MH i2c: E2 [18:00:22]MH_I2C_Read... [18:00:22]Read from MH i2c: E2 03 00 [18:00:22]MH_I2C_Read... [18:00:22]Read from MH i2c: E2 03 00 5B 2B 00 90 00 FA [18:00:22]RAPDU: 90 00 [18:00:22]wFMCommunicate OK [18:00:22]SAM_PROTO_ClearQueue done [18:00:22]KKMCreateOFDPacket [18:00:22]OFDProtocolAddRootSTLVToBuf [18:00:22]FM_MakeSignedData [18:00:22]FM_MakeSignedData [18:00:22]SAM_PROTO_SignData [18:00:22]wFMCommunicate request_size=4 [18:00:22]MH_SAM_APDU [18:00:22]CAPDU: 80 0D 01 02 [18:00:22]Write to MH i2c: E2 08 00 5C 2B 80 0D 01 02 00 00 00 00 00 [18:00:22]Write i2c OK [18:00:22]MH_I2C_Read... [18:00:22]OFD Sender: No OFD packet to send [18:00:22]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:00:22]Read from MH i2c: E2 [18:00:22]MH_I2C_Read... [18:00:22]Read from MH i2c: E2 03 00 [18:00:22]MH_I2C_Read... [18:00:22]Read from MH i2c: E2 03 00 5C 2B 00 90 00 FB [18:00:22]RAPDU: 90 00 [18:00:22]wFMCommunicate OK [18:00:22]wFMCommunicate request_size=255 [18:00:22]MH_SAM_APDU [18:00:22]CAPDU: 80 0D 02 02 FA 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 36 30 36 35 33 32 30 30 33 30 32 39 06 04 38 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 46 45 4C 49 58 20 50 52 4F 4C 4F 4E 47 45 52 2D 34 30 20 D0 B7 D0 B5 D0 BB D0 B5 D0 BD D1 8B D0 B9 20 31 D0 BA D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 78 69 00 00 00 00 13 04 06 00 78 69 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 69 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 33 0B 00 00 00 00 07 04 06 00 78 69 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3F 00 00 00 F4 03 04 00 3F 28 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 [18:00:22]Write to MH i2c: E2 02 01 5D 2B 80 0D 02 02 FA 00 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 36 30 36 35 33 32 30 30 33 30 32 39 06 04 38 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 46 45 4C 49 58 20 50 52 4F 4C 4F 4E 47 45 52 2D 34 30 20 D0 B7 D0 B5 D0 BB D0 B5 D0 BD D1 8B D0 B9 20 31 D0 BA D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 78 69 00 00 00 00 13 04 06 00 78 69 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 69 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 33 0B 00 00 00 00 07 04 06 00 78 69 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3F 00 00 00 F4 03 04 00 3F 28 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 00 00 56 [18:00:22]Write i2c OK [18:00:22]MH_I2C_Read... [18:00:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:00:23]Read from MH i2c: E2 [18:00:23]MH_I2C_Read... [18:00:23]Read from MH i2c: E2 03 00 [18:00:23]MH_I2C_Read... [18:00:23]Read from MH i2c: E2 03 00 5D 2B 00 90 00 FC [18:00:23]RAPDU: 90 00 [18:00:23]wFMCommunicate OK [18:00:23]wFMCommunicate request_size=57 [18:00:23]MH_SAM_APDU [18:00:23]CAPDU: 80 0D 02 02 34 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 1A 57 00 00 35 04 06 00 C5 20 6B D4 91 13 [18:00:23]Write to MH i2c: E2 3C 00 5E 2B 80 0D 02 02 34 00 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 1A 57 00 00 35 04 06 00 C5 20 6B D4 91 13 00 00 02 [18:00:23]Write i2c OK [18:00:23]MH_I2C_Read... [18:00:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:00:23]Read from MH i2c: E2 [18:00:23]MH_I2C_Read... [18:00:23]Read from MH i2c: E2 03 00 [18:00:23]MH_I2C_Read... [18:00:23]Read from MH i2c: E2 03 00 5E 2B 00 90 00 FD [18:00:23]RAPDU: 90 00 [18:00:23]wFMCommunicate OK [18:00:23]wFMCommunicate request_size=4 [18:00:23]MH_SAM_APDU [18:00:23]CAPDU: 80 0D 03 02 [18:00:23]Write to MH i2c: E2 08 00 5F 2B 80 0D 03 02 00 00 00 00 05 [18:00:23]Write i2c OK [18:00:23]MH_I2C_Read... [18:00:23]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:00:23]Read from MH i2c: E2 [18:00:23]MH_I2C_Read... [18:00:23]Read from MH i2c: E2 0B 00 [18:00:23]MH_I2C_Read... [18:00:23]Read from MH i2c: E2 0B 00 5F 2B 00 CB DF 90 02 43 CD F2 AE 90 00 F2 [18:00:23]RAPDU: CB DF 90 02 43 CD F2 AE 90 00 [18:00:23]wFMCommunicate OK [18:00:23]SAM_PROTO_SignData done [18:00:23]FM_MakeSignedData done [18:00:23]CreateOFDProtocolMessage [18:00:23]wFMCommunicate request_size=4 [18:00:23]MH_SAM_APDU [18:00:23]CAPDU: 80 11 00 00 [18:00:23]Write to MH i2c: E2 08 00 60 2B 80 11 00 00 00 00 00 00 05 [18:00:23]Write i2c OK [18:00:23]MH_I2C_Read... [18:00:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:00:23]Read from MH i2c: E2 [18:00:23]MH_I2C_Read... [18:00:23]Read from MH i2c: E2 17 00 [18:00:23]MH_I2C_Read... [18:00:23]Read from MH i2c: E2 17 00 60 2B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 57 [18:00:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [18:00:23]wFMCommunicate OK [18:00:23]CreateOFDProtocolMessage done [18:00:23]OFDSenderStorePacket 22298 [18:00:23]StoreOFDPacket docnum=22298 [18:00:23]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 3E 01 00 00 44 79 36 01 45 97 5A 03 01 00 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 36 30 36 35 33 32 30 30 33 30 32 39 06 04 38 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 46 45 4C 49 58 20 50 52 4F 4C 4F 4E 47 45 52 2D 34 30 20 D0 B7 D0 B5 D0 BB D0 B5 D0 BD D1 8B D0 B9 20 31 D0 BA D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 78 69 00 00 00 00 13 04 06 00 78 69 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 69 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 33 0B 00 00 00 00 07 04 06 00 78 69 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3F 00 00 00 F4 03 04 00 3F 28 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 1A 57 00 00 35 04 06 00 C5 20 6B D4 91 13 CB DF 90 02 43 CD F2 AE [18:00:23]CheckFolder [18:00:23]dirname=/storage/ofd_packets [18:00:23]CheckFolder done [18:00:23]ProducePacketName [18:00:23]name=ofd_packets/00022298 [18:00:23]NVStorageSaveData ofd_packets/00022298 [18:00:23]File name is /storage/ofd_packets/00022298 [18:00:23]Write 348 bytes [18:00:23]NVStorageSaveData done [18:00:23]OFDSenderStorePacket done [18:00:23]KKMCreateOFDPacket done [18:00:23]NVStorageSaveData kkm_last_timestamp [18:00:23]File name is /storage/kkm_last_timestamp [18:00:23]Write 4 bytes [18:00:23]NVStorageSaveData done [18:00:23]ExternCall_PrintAddStr [18:00:23]wPrintStart [18:00:23]Write to MH i2c: 01 00 00 61 2B 8C [18:00:23]Write i2c OK [18:00:23]MH_I2C_Read... [18:00:23]Read from MH i2c: 01 [18:00:23]MH_I2C_Read... [18:00:23]Read from MH i2c: 01 07 00 [18:00:23]MH_I2C_Read... [18:00:23]Read from MH i2c: 01 07 00 61 2B 00 00 00 00 00 FF 0F A1 [18:00:23]RasterBufferAndPrint [18:00:23]line Счет N : (3)254511 [18:00:23]line ИНН: 02508201610067 [18:00:23]line Контрольно-Кассовый Чек [18:00:23]line ПРОДАЖА [18:00:23]line Товар: 4606532003029 [18:00:23]line Антифриз FELIX PROLONGER-40 зеленый 1кг [18:00:23]line 1.000 * 270.00 [18:00:23]line = 270.00 [18:00:23]line НДС 12% НСП 1% [18:00:23]line > о реализуемом товаре [18:00:23]line ИТОГО: 270.00 [18:00:23]line НСП 1% : 2.39 [18:00:23]line НДС 12% : 28.67 [18:00:23]line Наличными: 270.00 [18:00:23]line Безнал.: 0.00 [18:00:23]line Место: АЗС № 76 "Партнер Нефть" [18:00:23]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [18:00:23]line СНО: Общий режим [18:00:23]line Чек 63 16.06.2024 18:00 [18:00:23]line Смена: 327 ФФД: 1.0 [18:00:23]line ЗНМ: 0300000200 [18:00:23]line РНМ: 0000000000099755 [18:00:23]line Версия ККМ: 001 [18:00:23]line ФМ: 0000000000965344 [18:00:23]line ФД: 22298 [18:00:23]line ФПД: 216743038718227 [18:00:23]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T180031&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22298&fm=216743038718227&tin=02508201610067®Number=0000000000099755&sum=27000 [18:00:23]line 0 [18:00:23]OFD Sender: Processing packet 22298 [packets to send 5, broken 4] [18:00:23]ProducePacketName [18:00:23]name=ofd_packets/00022298 [18:00:23]OFD Sender: To server: pG, [18:00:23]CommunicateWithHost lk.salyk.kg:30040 [18:00:23]ConnectInit lk.salyk.kg [18:00:23]written 0, free lines is 4095 [18:00:23]Connected sock=11 [18:00:23]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 3E 01 00 00 44 79 36 01 45 97 5A 03 01 00 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 36 30 36 35 33 32 30 30 33 30 32 39 06 04 38 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 46 45 4C 49 58 20 50 52 4F 4C 4F 4E 47 45 52 2D 34 30 20 D0 B7 D0 B5 D0 BB D0 B5 D0 BD D1 8B D0 B9 20 31 D0 BA D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 78 69 00 00 00 00 13 04 06 00 78 69 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 69 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 33 0B 00 00 00 00 07 04 06 00 78 69 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3F 00 00 00 F4 03 04 00 3F 28 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 1A 57 00 00 35 04 06 00 C5 20 6B D4 91 13 CB DF 90 02 43 CD F2 AE [18:00:23]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 F5 0F 47 00 CC 96 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 1A 57 00 00 F4 03 04 00 F8 D0 6E 66 B6 04 01 00 00 DF BA 30 0A 31 99 F1 08 [18:00:23]CommunicateWithHost err = 0 [18:00:23]CheckOFDResponse [18:00:23]1017 (14) - 77093643461234 [18:00:23]1041 (16) - 0000000000965344 [18:00:23]1040 (4) - 22298 [18:00:23]1012 (4) - 16.06.2024 11:48 [18:00:23]1206 (1) - 0 [18:00:23]OFD Sender: Remove packet 22298 [18:00:23]ProducePacketName [18:00:23]name=ofd_packets/00022298 [18:00:23]NVStorageDeleteData [18:00:24]Write to MH i2c: 01 00 00 8A 2B B5 [18:00:24]Write i2c OK [18:00:24]MH_I2C_Read... [18:00:24]Read from MH i2c: 01 [18:00:24]MH_I2C_Read... [18:00:24]Read from MH i2c: 01 07 00 [18:00:24]MH_I2C_Read... [18:00:24]Read from MH i2c: 01 07 00 8A 2B 00 00 00 00 00 1D 0D E6 [18:00:24]RasterBufferAndPrint [18:00:24]line [18:00:24]line [18:00:24]line [18:00:24]line [18:00:24]line [18:00:24]written 0, free lines is 3362 [18:00:24]MH_Cut [18:00:24]Write to MH i2c: D1 01 00 91 2B 01 8E [18:00:24]Write i2c OK [18:00:24]MH_I2C_Read... [18:00:24]Read from MH i2c: D1 [18:00:24]MH_I2C_Read... [18:00:24]Read from MH i2c: D1 01 00 [18:00:24]MH_I2C_Read... [18:00:24]Read from MH i2c: D1 01 00 91 2B 00 8D [18:00:24]Write to MH i2c: 01 00 00 92 2B BD [18:00:24]Write i2c OK [18:00:24]MH_I2C_Read... [18:00:24]OFD Sender: No OFD packet to send [18:00:24]*** Cut start [18:00:24]*** Partial cut [18:00:24]*** CUTSNS_PIN = 1 [18:00:24]*** CUTSNS_PIN = 0 [18:00:25]*** Brake cut motor [18:00:25]Read from MH i2c: 01 [18:00:25]MH_I2C_Read... [18:00:25]*** Stop cut motor [18:00:25]*** Cut end [18:00:25]Read from MH i2c: 01 07 00 [18:00:25]MH_I2C_Read... [18:00:25]Read from MH i2c: 01 07 00 92 2B 00 00 00 00 00 FF 0F D2 [18:00:25]process_action close_receipt done [18:00:25]requested_data is exist [18:00:25]produce_requested_data [18:00:25]requested_item fm.sn is exist - process it [18:00:25]wFMCommunicate request_size=4 [18:00:25]MH_SAM_APDU [18:00:25]CAPDU: 80 11 00 00 [18:00:25]Write to MH i2c: E2 08 00 93 2B 80 11 00 00 00 00 00 00 38 [18:00:25]Write i2c OK [18:00:25]MH_I2C_Read... [18:00:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:00:25]Read from MH i2c: E2 [18:00:25]MH_I2C_Read... [18:00:25]Read from MH i2c: E2 17 00 [18:00:25]MH_I2C_Read... [18:00:25]Read from MH i2c: E2 17 00 93 2B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 8A [18:00:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [18:00:25]wFMCommunicate OK [18:00:25]requested_item fd.num is exist - process it [18:00:25]SAM_PROTO_GetFieldsCounters [18:00:25]wFMCommunicate request_size=4 [18:00:25]MH_SAM_APDU [18:00:25]CAPDU: 80 13 00 00 [18:00:25]Write to MH i2c: E2 08 00 94 2B 80 13 00 00 00 00 00 00 3B [18:00:25]Write i2c OK [18:00:25]MH_I2C_Read... [18:00:25]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:00:25]Read from MH i2c: E2 [18:00:25]MH_I2C_Read... [18:00:25]Read from MH i2c: E2 62 00 [18:00:25]MH_I2C_Read... [18:00:25]Read from MH i2c: E2 62 00 94 2B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 1A 57 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 3F 00 00 00 5E 04 04 00 3F 00 00 00 57 04 04 00 40 00 00 00 19 04 04 00 00 00 00 00 90 00 DB [18:00:25]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 1A 57 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 3F 00 00 00 5E 04 04 00 3F 00 00 00 57 04 04 00 40 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:00:25]wFMCommunicate OK [18:00:25]SAM_PROTO_GetFieldsCounters done [18:00:25]requested_item shift.num is exist - process it [18:00:25]requested_item shift.opened is exist - process it [18:00:25]req_shift_opened [18:00:25]FM_GetShiftState [18:00:25]SAM_PROTO_GetShiftState [18:00:25]wFMCommunicate request_size=4 [18:00:25]MH_SAM_APDU [18:00:25]CAPDU: 80 13 01 00 [18:00:25]Write to MH i2c: E2 08 00 95 2B 80 13 01 00 00 00 00 00 3D [18:00:25]Write i2c OK [18:00:25]MH_I2C_Read... [18:00:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:00:25]Read from MH i2c: E2 [18:00:25]MH_I2C_Read... [18:00:25]Read from MH i2c: E2 0E 00 [18:00:25]MH_I2C_Read... [18:00:25]Read from MH i2c: E2 0E 00 95 2B 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 5E [18:00:25]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [18:00:25]wFMCommunicate OK [18:00:25]SAM_PROTO_GetShiftState done [18:00:25]FM_GetShiftState done [18:00:25]req_shift_opened done [18:00:25]requested_item shift.open_date is exist - process it [18:00:25]req_shift_open_date [18:00:25]req_shift_open_date done [18:00:25]produce_requested_data done [18:00:25]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22298,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297} [18:00:25]process_action_free close_receipt [18:00:25]json_value_free [18:00:25]json_value_free done [18:00:25]process_json_proto returns [18:00:25]Send response to host [18:00:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22298,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297}}} [18:00:25]free response buf [18:00:25]execute_script done [18:00:25]execute_script returns [18:00:25]free content buf [18:00:25]Sock 8.Close socket [18:00:25]Sock 8.Thread stoped [18:00:29]OFD Sender: No OFD packet to send [18:00:34]OFD Sender: No OFD packet to send [18:00:39]OFD Sender: No OFD packet to send [18:00:44]OFD Sender: No OFD packet to send [18:00:49]OFD Sender: No OFD packet to send [18:00:52]accept exits with 9 [18:00:52]New connection [18:00:52]New thread 3066695012 created [18:00:52]Thread 3066838372 joined [18:00:52]Waiting for new connection... [18:00:52] Sock 9.Parse request [18:00:52]Sock 9.Check first char [18:00:52]Sock 9.First char is OK [18:00:52]request: POST /json_proto HTTP/1.0 [18:00:52]Method: POST [18:00:52]URL: /json_proto [18:00:52]Method is POST - this is cgi request [18:00:52]url: /json_proto [18:00:52]query_string will be loaded in cgi processing [18:00:52]execute_cgi json_proto POST (null) [18:00:52]execute_cgi path=json_proto method=POST [18:00:52]POST find Content-Length [18:00:52]Host: 172.17.35.133:8080 [18:00:52]Content-Length: 633 [18:00:52]Content-Type: application/json [18:00:52] [18:00:52]POST finish read [18:00:52]Found Content-Length = 633 [18:00:52]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254512", "tax_sys" : 0, "items" : [ { "code": "4780022460292", "name": "\u0410\u043D\u0442\u0438\u0444\u0440\u0438\u0437 Yumiko green 1\u043A\u0433", "price" : 168.00, "quantity" : 1.000, "sum" : 168.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 168.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:00:52]execute_script... [18:00: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)254512", "tax_sys" : 0, "items" : [ { "code": "4780022460292", "name": "\u0410\u043D\u0442\u0438\u0444\u0440\u0438\u0437 Yumiko green 1\u043A\u0433", "price" : 168.00, "quantity" : 1.000, "sum" : 168.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 168.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:00:52]POST & json_proto [18:00:52]process_json_proto [18:00:52]json parsed OK: [18:00:52]protocol is kg_v1.0 [18:00:52]action value=close_receipt [18:00:52]process_action close_receipt [18:00:52]cmd_close_receipt [18:00:52]MH_GetDate [18:00:52]Write to MH i2c: F0 00 00 96 2B B0 [18:00:52]Write i2c OK [18:00:52]MH_I2C_Read... [18:00:52]Read from MH i2c: F0 [18:00:52]MH_I2C_Read... [18:00:52]Read from MH i2c: F0 09 00 [18:00:52]MH_I2C_Read... [18:00:52]Read from MH i2c: F0 09 00 96 2B 00 5E 28 6F 66 8C 55 28 65 82 [18:00:52]GetLastDocTimeStamp 1718560831 [18:00:52]current date 1718560862 [18:00:52]FM_GetShiftState [18:00:52]SAM_PROTO_GetShiftState [18:00:52]wFMCommunicate request_size=4 [18:00:52]MH_SAM_APDU [18:00:52]CAPDU: 80 13 01 00 [18:00:52]Write to MH i2c: E2 08 00 97 2B 80 13 01 00 00 00 00 00 3F [18:00:52]Write i2c OK [18:00:52]MH_I2C_Read... [18:00:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:00:52]Read from MH i2c: E2 [18:00:52]MH_I2C_Read... [18:00:52]Read from MH i2c: E2 0E 00 [18:00:52]MH_I2C_Read... [18:00:52]Read from MH i2c: E2 0E 00 97 2B 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 60 [18:00:52]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [18:00:52]wFMCommunicate OK [18:00:52]SAM_PROTO_GetShiftState done [18:00:52]FM_GetShiftState done [18:00:52]opened in 1718497297 [18:00:52]opened+sec_in_day 1718583697 [18:00:52]quantity*price = 16800 [18:00:52]sum+1 = 16801 [18:00:52]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 168.00 НСП 1% : 1.49 НДС 12% : 17.84 Наличными: 168.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 64 16.06.2024 18:01 Смена: 327 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22299 ФПД: 262373668154049 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T180102&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22299&fm=262373668154049&tin=02508201610067®Number=0000000000099755&sum=16800 0 [18:00:53]StoreToDocumentArchive [18:00:53]shift 327 fd 22299 [18:00:53]save to /storage/0327/doc_00022299 [18:00:53]save last doc name /storage/0327/doc_00022299 to /storage/kkm_last_doc_name [18:00:53]save OK [18:00:53]Clear old archive folders... [18:00:53]ProcessDocumentItem done err = 0, tmpTLVsize=277 [18:00:53]tlvbuf is 001A67B0 [18:00:53]SAM_PROTO_ClearQueue [18:00:53]wFMCommunicate request_size=4 [18:00:53]MH_SAM_APDU [18:00:53]CAPDU: 80 09 00 00 [18:00:53]Write to MH i2c: E2 08 00 A4 2B 80 09 00 00 00 00 00 00 41 [18:00:53]Write i2c OK [18:00:53]MH_I2C_Read... [18:00:53]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:00:53]Read from MH i2c: E2 [18:00:53]MH_I2C_Read... [18:00:53]Read from MH i2c: E2 03 00 [18:00:53]MH_I2C_Read... [18:00:53]Read from MH i2c: E2 03 00 A4 2B 00 90 00 43 [18:00:53]RAPDU: 90 00 [18:00:53]wFMCommunicate OK [18:00:53]SAM_PROTO_ClearQueue done [18:00:53]KKMCreateOFDPacket [18:00:53]OFDProtocolAddRootSTLVToBuf [18:00:53]FM_MakeSignedData [18:00:53]FM_MakeSignedData [18:00:53]SAM_PROTO_SignData [18:00:53]wFMCommunicate request_size=4 [18:00:53]MH_SAM_APDU [18:00:53]CAPDU: 80 0D 01 02 [18:00:53]Write to MH i2c: E2 08 00 A5 2B 80 0D 01 02 00 00 00 00 49 [18:00:53]Write i2c OK [18:00:53]MH_I2C_Read... [18:00:53]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:00:53]Read from MH i2c: E2 [18:00:53]MH_I2C_Read... [18:00:53]Read from MH i2c: E2 03 00 [18:00:53]MH_I2C_Read... [18:00:53]Read from MH i2c: E2 03 00 A5 2B 00 90 00 44 [18:00:53]RAPDU: 90 00 [18:00:53]wFMCommunicate OK [18:00:53]wFMCommunicate request_size=255 [18:00:53]MH_SAM_APDU [18:00:53]CAPDU: 80 0D 02 02 FA 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 34 37 38 30 30 32 32 34 36 30 32 39 32 06 04 23 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 59 75 6D 69 6B 6F 20 67 72 65 65 6E 20 31 D0 BA D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 41 00 00 00 00 13 04 06 00 A0 41 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 41 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 95 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F8 06 00 00 00 00 07 04 06 00 A0 41 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 40 00 00 00 F4 03 04 00 5E 28 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 [18:00:53]Write to MH i2c: E2 02 01 A6 2B 80 0D 02 02 FA 00 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 34 37 38 30 30 32 32 34 36 30 32 39 32 06 04 23 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 59 75 6D 69 6B 6F 20 67 72 65 65 6E 20 31 D0 BA D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 41 00 00 00 00 13 04 06 00 A0 41 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 41 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 95 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F8 06 00 00 00 00 07 04 06 00 A0 41 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 40 00 00 00 F4 03 04 00 5E 28 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 00 00 84 [18:00:53]Write i2c OK [18:00:53]MH_I2C_Read... [18:00:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:00:54]Read from MH i2c: E2 [18:00:54]MH_I2C_Read... [18:00:54]Read from MH i2c: E2 03 00 [18:00:54]MH_I2C_Read... [18:00:54]Read from MH i2c: E2 03 00 A6 2B 00 90 00 45 [18:00:54]RAPDU: 90 00 [18:00:54]wFMCommunicate OK [18:00:54]wFMCommunicate request_size=36 [18:00:54]MH_SAM_APDU [18:00:54]CAPDU: 80 0D 02 02 1F 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 1B 57 00 00 35 04 06 00 EE A0 A1 49 EA C1 [18:00:54]Write to MH i2c: E2 27 00 A7 2B 80 0D 02 02 1F 00 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 1B 57 00 00 35 04 06 00 EE A0 A1 49 EA C1 00 00 05 [18:00:54]Write i2c OK [18:00:54]MH_I2C_Read... [18:00:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:00:54]Read from MH i2c: E2 [18:00:54]MH_I2C_Read... [18:00:54]Read from MH i2c: E2 03 00 [18:00:54]MH_I2C_Read... [18:00:54]Read from MH i2c: E2 03 00 A7 2B 00 90 00 46 [18:00:54]RAPDU: 90 00 [18:00:54]wFMCommunicate OK [18:00:54]wFMCommunicate request_size=4 [18:00:54]MH_SAM_APDU [18:00:54]CAPDU: 80 0D 03 02 [18:00:54]Write to MH i2c: E2 08 00 A8 2B 80 0D 03 02 00 00 00 00 4E [18:00:54]Write i2c OK [18:00:54]MH_I2C_Read... [18:00:54]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:00:54]Read from MH i2c: E2 [18:00:54]MH_I2C_Read... [18:00:54]Read from MH i2c: E2 0B 00 [18:00:54]MH_I2C_Read... [18:00:54]Read from MH i2c: E2 0B 00 A8 2B 00 2E F3 F0 10 78 8F 4B DD 90 00 9F [18:00:54]RAPDU: 2E F3 F0 10 78 8F 4B DD 90 00 [18:00:54]wFMCommunicate OK [18:00:54]SAM_PROTO_SignData done [18:00:54]FM_MakeSignedData done [18:00:54]CreateOFDProtocolMessage [18:00:54]wFMCommunicate request_size=4 [18:00:54]MH_SAM_APDU [18:00:54]CAPDU: 80 11 00 00 [18:00:54]Write to MH i2c: E2 08 00 A9 2B 80 11 00 00 00 00 00 00 4E [18:00:54]Write i2c OK [18:00:54]MH_I2C_Read... [18:00:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:00:54]Read from MH i2c: E2 [18:00:54]MH_I2C_Read... [18:00:54]Read from MH i2c: E2 17 00 [18:00:54]MH_I2C_Read... [18:00:54]Read from MH i2c: E2 17 00 A9 2B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 A0 [18:00:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [18:00:54]wFMCommunicate OK [18:00:54]CreateOFDProtocolMessage done [18:00:54]OFDSenderStorePacket 22299 [18:00:54]StoreOFDPacket docnum=22299 [18:00:54]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 29 01 00 00 32 65 21 01 B4 A4 5A 03 01 00 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 34 37 38 30 30 32 32 34 36 30 32 39 32 06 04 23 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 59 75 6D 69 6B 6F 20 67 72 65 65 6E 20 31 D0 BA D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 41 00 00 00 00 13 04 06 00 A0 41 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 41 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 95 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F8 06 00 00 00 00 07 04 06 00 A0 41 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 40 00 00 00 F4 03 04 00 5E 28 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 1B 57 00 00 35 04 06 00 EE A0 A1 49 EA C1 2E F3 F0 10 78 8F 4B DD [18:00:54]CheckFolder [18:00:54]dirname=/storage/ofd_packets [18:00:54]CheckFolder done [18:00:54]ProducePacketName [18:00:54]name=ofd_packets/00022299 [18:00:54]NVStorageSaveData ofd_packets/00022299 [18:00:54]File name is /storage/ofd_packets/00022299 [18:00:54]Write 327 bytes [18:00:54]NVStorageSaveData done [18:00:54]OFDSenderStorePacket done [18:00:54]KKMCreateOFDPacket done [18:00:54]NVStorageSaveData kkm_last_timestamp [18:00:54]File name is /storage/kkm_last_timestamp [18:00:54]Write 4 bytes [18:00:54]NVStorageSaveData done [18:00:54]ExternCall_PrintAddStr [18:00:54]wPrintStart [18:00:54]Write to MH i2c: 01 00 00 AA 2B D5 [18:00:54]Write i2c OK [18:00:54]MH_I2C_Read... [18:00:54]Read from MH i2c: 01 [18:00:54]MH_I2C_Read... [18:00:54]Read from MH i2c: 01 07 00 [18:00:54]MH_I2C_Read... [18:00:54]Read from MH i2c: 01 07 00 AA 2B 00 00 00 00 00 FF 0F EA [18:00:54]RasterBufferAndPrint [18:00:54]line Счет N : (3)254512 [18:00:54]line ИНН: 02508201610067 [18:00:54]line Контрольно-Кассовый Чек [18:00:54]line ПРОДАЖА [18:00:54]line Товар: 4780022460292 [18:00:54]line Антифриз Yumiko green 1кг [18:00:54]line 1.000 * 168.00 [18:00:54]line = 168.00 [18:00:54]line НДС 12% НСП 1% [18:00:54]line > о реализуемом товаре [18:00:54]line ИТОГО: 168.00 [18:00:54]line НСП 1% : 1.49 [18:00:54]line НДС 12% : 17.84 [18:00:54]line Наличными: 168.00 [18:00:54]line Безнал.: 0.00 [18:00:54]line Место: АЗС № 76 "Партнер Нефть" [18:00:54]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [18:00:54]line СНО: Общий режим [18:00:54]line Чек 64 16.06.2024 18:01 [18:00:54]line Смена: 327 ФФД: 1.0 [18:00:54]line ЗНМ: 0300000200 [18:00:54]line РНМ: 0000000000099755 [18:00:54]line Версия ККМ: 001 [18:00:54]line ФМ: 0000000000965344 [18:00:54]line ФД: 22299 [18:00:54]line ФПД: 262373668154049 [18:00:54]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T180102&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22299&fm=262373668154049&tin=02508201610067®Number=0000000000099755&sum=16800 [18:00:54]line 0 [18:00:54]written 0, free lines is 4095 [18:00:54]OFD Sender: Processing packet 22299 [packets to send 5, broken 4] [18:00:54]ProducePacketName [18:00:54]name=ofd_packets/00022299 [18:00:54]OFD Sender: To server: pG, [18:00:54]CommunicateWithHost lk.salyk.kg:30040 [18:00:54]ConnectInit lk.salyk.kg [18:00:54]Connected sock=10 [18:00:54]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 29 01 00 00 32 65 21 01 B4 A4 5A 03 01 00 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 34 37 38 30 30 32 32 34 36 30 32 39 32 06 04 23 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 59 75 6D 69 6B 6F 20 67 72 65 65 6E 20 31 D0 BA D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 41 00 00 00 00 13 04 06 00 A0 41 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 41 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 95 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F8 06 00 00 00 00 07 04 06 00 A0 41 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 40 00 00 00 F4 03 04 00 5E 28 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 1B 57 00 00 35 04 06 00 EE A0 A1 49 EA C1 2E F3 F0 10 78 8F 4B DD [18:00:54]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 1E 22 47 00 A4 ED A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 1B 57 00 00 F4 03 04 00 17 D1 6E 66 B6 04 01 00 00 F3 CF F4 A8 7D 07 E6 F2 [18:00:54]CommunicateWithHost err = 0 [18:00:54]CheckOFDResponse [18:00:54]1017 (14) - 77093643461234 [18:00:54]1041 (16) - 0000000000965344 [18:00:54]1040 (4) - 22299 [18:00:54]1012 (4) - 16.06.2024 11:48 [18:00:54]1206 (1) - 0 [18:00:54]OFD Sender: Remove packet 22299 [18:00:54]ProducePacketName [18:00:54]name=ofd_packets/00022299 [18:00:54]NVStorageDeleteData [18:00:54]Write to MH i2c: 01 00 00 D2 2B FD [18:00:54]Write i2c OK [18:00:54]MH_I2C_Read... [18:00:54]Read from MH i2c: 01 [18:00:54]MH_I2C_Read... [18:00:54]Read from MH i2c: 01 07 00 [18:00:54]MH_I2C_Read... [18:00:54]Read from MH i2c: 01 07 00 D2 2B 00 00 00 00 00 23 0D 34 [18:00:54]RasterBufferAndPrint [18:00:54]line [18:00:54]line [18:00:54]line [18:00:54]line [18:00:54]line [18:00:54]written 0, free lines is 3369 [18:00:54]MH_Cut [18:00:54]Write to MH i2c: D1 01 00 D9 2B 01 D6 [18:00:54]Write i2c OK [18:00:54]MH_I2C_Read... [18:00:54]Read from MH i2c: D1 [18:00:54]MH_I2C_Read... [18:00:54]Read from MH i2c: D1 01 00 [18:00:54]MH_I2C_Read... [18:00:54]Read from MH i2c: D1 01 00 D9 2B 00 D5 [18:00:54]Write to MH i2c: 01 00 00 DA 2B 05 [18:00:54]Write i2c OK [18:00:54]MH_I2C_Read... [18:00:55]OFD Sender: No OFD packet to send [18:00:55]*** Cut start [18:00:55]*** Partial cut [18:00:55]*** CUTSNS_PIN = 1 [18:00:55]*** CUTSNS_PIN = 0 [18:00:55]*** Brake cut motor [18:00:56]Read from MH i2c: 01 [18:00:56]MH_I2C_Read... [18:00:56]*** Stop cut motor [18:00:56]*** Cut end [18:00:56]Read from MH i2c: 01 07 00 [18:00:56]MH_I2C_Read... [18:00:56]Read from MH i2c: 01 07 00 DA 2B 00 00 00 00 00 FF 0F 1A [18:00:56]process_action close_receipt done [18:00:56]requested_data is exist [18:00:56]produce_requested_data [18:00:56]requested_item fm.sn is exist - process it [18:00:56]wFMCommunicate request_size=4 [18:00:56]MH_SAM_APDU [18:00:56]CAPDU: 80 11 00 00 [18:00:56]Write to MH i2c: E2 08 00 DB 2B 80 11 00 00 00 00 00 00 80 [18:00:56]Write i2c OK [18:00:56]MH_I2C_Read... [18:00:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:00:56]Read from MH i2c: E2 [18:00:56]MH_I2C_Read... [18:00:56]Read from MH i2c: E2 17 00 [18:00:56]MH_I2C_Read... [18:00:56]Read from MH i2c: E2 17 00 DB 2B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 D2 [18:00:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [18:00:56]wFMCommunicate OK [18:00:56]requested_item fd.num is exist - process it [18:00:56]SAM_PROTO_GetFieldsCounters [18:00:56]wFMCommunicate request_size=4 [18:00:56]MH_SAM_APDU [18:00:56]CAPDU: 80 13 00 00 [18:00:56]Write to MH i2c: E2 08 00 DC 2B 80 13 00 00 00 00 00 00 83 [18:00:56]Write i2c OK [18:00:56]MH_I2C_Read... [18:00:56]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:00:56]Read from MH i2c: E2 [18:00:56]MH_I2C_Read... [18:00:56]Read from MH i2c: E2 62 00 [18:00:56]MH_I2C_Read... [18:00:56]Read from MH i2c: E2 62 00 DC 2B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 1B 57 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 40 00 00 00 5E 04 04 00 40 00 00 00 57 04 04 00 41 00 00 00 19 04 04 00 00 00 00 00 90 00 27 [18:00:56]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 1B 57 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 40 00 00 00 5E 04 04 00 40 00 00 00 57 04 04 00 41 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:00:56]wFMCommunicate OK [18:00:56]SAM_PROTO_GetFieldsCounters done [18:00:56]requested_item shift.num is exist - process it [18:00:56]requested_item shift.opened is exist - process it [18:00:56]req_shift_opened [18:00:56]FM_GetShiftState [18:00:56]SAM_PROTO_GetShiftState [18:00:56]wFMCommunicate request_size=4 [18:00:56]MH_SAM_APDU [18:00:56]CAPDU: 80 13 01 00 [18:00:56]Write to MH i2c: E2 08 00 DD 2B 80 13 01 00 00 00 00 00 85 [18:00:56]Write i2c OK [18:00:56]MH_I2C_Read... [18:00:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:00:56]Read from MH i2c: E2 [18:00:56]MH_I2C_Read... [18:00:56]Read from MH i2c: E2 0E 00 [18:00:56]MH_I2C_Read... [18:00:56]Read from MH i2c: E2 0E 00 DD 2B 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 A6 [18:00:56]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [18:00:56]wFMCommunicate OK [18:00:56]SAM_PROTO_GetShiftState done [18:00:56]FM_GetShiftState done [18:00:56]req_shift_opened done [18:00:56]requested_item shift.open_date is exist - process it [18:00:56]req_shift_open_date [18:00:56]req_shift_open_date done [18:00:56]produce_requested_data done [18:00:56]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22299,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297} [18:00:56]process_action_free close_receipt [18:00:56]json_value_free [18:00:56]json_value_free done [18:00:56]process_json_proto returns [18:00:56]Send response to host [18:00:56]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22299,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297}}} [18:00:56]free response buf [18:00:56]execute_script done [18:00:56]execute_script returns [18:00:56]free content buf [18:00:56]Sock 9.Close socket [18:00:56]Sock 9.Thread stoped [18:01:00]OFD Sender: No OFD packet to send [18:01:05]OFD Sender: No OFD packet to send [18:01:10]OFD Sender: No OFD packet to send [18:01:15]OFD Sender: No OFD packet to send [18:01:20]OFD Sender: No OFD packet to send [18:01:25]OFD Sender: No OFD packet to send [18:01:30]OFD Sender: No OFD packet to send [18:01:35]OFD Sender: No OFD packet to send [18:01:40]OFD Sender: No OFD packet to send [18:01:45]OFD Sender: No OFD packet to send [18:01:50]OFD Sender: No OFD packet to send [18:01:55]OFD Sender: No OFD packet to send [18:02:00]OFD Sender: No OFD packet to send [18:02:05]OFD Sender: No OFD packet to send [18:02:10]OFD Sender: No OFD packet to send [18:02:15]OFD Sender: No OFD packet to send [18:02:20]OFD Sender: No OFD packet to send [18:02:25]OFD Sender: No OFD packet to send [18:02:30]OFD Sender: No OFD packet to send [18:02:35]OFD Sender: No OFD packet to send [18:02:40]OFD Sender: No OFD packet to send [18:02:45]OFD Sender: No OFD packet to send [18:02:50]OFD Sender: No OFD packet to send [18:02:55]OFD Sender: No OFD packet to send [18:03:00]OFD Sender: No OFD packet to send [18:03:05]OFD Sender: No OFD packet to send [18:03:10]OFD Sender: No OFD packet to send [18:03:15]OFD Sender: No OFD packet to send [18:03:20]OFD Sender: No OFD packet to send [18:03:25]OFD Sender: No OFD packet to send [18:03:30]OFD Sender: No OFD packet to send [18:03:35]OFD Sender: No OFD packet to send [18:03:40]OFD Sender: No OFD packet to send [18:03:45]OFD Sender: No OFD packet to send [18:03:50]OFD Sender: No OFD packet to send [18:03:55]OFD Sender: No OFD packet to send [18:04:00]OFD Sender: No OFD packet to send [18:04:05]OFD Sender: No OFD packet to send [18:04:10]OFD Sender: No OFD packet to send [18:04:15]OFD Sender: No OFD packet to send [18:04:20]OFD Sender: No OFD packet to send [18:04:25]OFD Sender: No OFD packet to send [18:04:30]OFD Sender: No OFD packet to send [18:04:35]OFD Sender: No OFD packet to send [18:04:40]OFD Sender: No OFD packet to send [18:04:45]OFD Sender: No OFD packet to send [18:04:50]OFD Sender: No OFD packet to send [18:04:55]OFD Sender: No OFD packet to send [18:05:00]OFD Sender: No OFD packet to send [18:05:05]OFD Sender: No OFD packet to send [18:05:10]OFD Sender: No OFD packet to send [18:05:15]OFD Sender: No OFD packet to send [18:05:20]OFD Sender: No OFD packet to send [18:05:25]OFD Sender: No OFD packet to send [18:05:30]OFD Sender: No OFD packet to send [18:05:35]OFD Sender: No OFD packet to send [18:05:40]OFD Sender: No OFD packet to send [18:05:45]OFD Sender: No OFD packet to send [18:05:50]OFD Sender: No OFD packet to send [18:05:55]OFD Sender: No OFD packet to send [18:06:00]OFD Sender: No OFD packet to send [18:06:05]OFD Sender: No OFD packet to send [18:06:10]OFD Sender: No OFD packet to send [18:06:15]OFD Sender: No OFD packet to send [18:06:20]OFD Sender: No OFD packet to send [18:06:25]OFD Sender: No OFD packet to send [18:06:30]OFD Sender: No OFD packet to send [18:06:35]OFD Sender: No OFD packet to send [18:06:40]OFD Sender: No OFD packet to send [18:06:45]OFD Sender: No OFD packet to send [18:06:50]OFD Sender: No OFD packet to send [18:06:55]OFD Sender: No OFD packet to send [18:07:00]OFD Sender: No OFD packet to send [18:07:05]OFD Sender: No OFD packet to send [18:07:10]OFD Sender: No OFD packet to send [18:07:15]OFD Sender: No OFD packet to send [18:07:20]OFD Sender: No OFD packet to send [18:07:25]OFD Sender: No OFD packet to send [18:07:30]OFD Sender: No OFD packet to send [18:07:35]OFD Sender: No OFD packet to send [18:07:40]OFD Sender: No OFD packet to send [18:07:45]OFD Sender: No OFD packet to send [18:07:50]OFD Sender: No OFD packet to send [18:07:55]OFD Sender: No OFD packet to send [18:08:00]OFD Sender: No OFD packet to send [18:08:05]OFD Sender: No OFD packet to send [18:08:10]OFD Sender: No OFD packet to send [18:08:15]OFD Sender: No OFD packet to send [18:08:20]OFD Sender: No OFD packet to send [18:08:22]accept exits with 8 [18:08:22]New connection [18:08:22]New thread 3066838372 created [18:08:22]Thread 3066695012 joined [18:08:22]Waiting for new connection... [18:08:22] Sock 8.Parse request [18:08:22]Sock 8.Check first char [18:08:22]Sock 8.First char is OK [18:08:22]request: POST /json_proto HTTP/1.0 [18:08:22]Method: POST [18:08:22]URL: /json_proto [18:08:22]Method is POST - this is cgi request [18:08:22]url: /json_proto [18:08:22]query_string will be loaded in cgi processing [18:08:22]execute_cgi json_proto POST (null) [18:08:22]execute_cgi path=json_proto method=POST [18:08:22]POST find Content-Length [18:08:22]Host: 172.17.35.133:8080 [18:08:22]Content-Length: 654 [18:08:22]Content-Type: application/json [18:08:22] [18:08:22]POST finish read [18:08:22]Found Content-Length = 654 [18:08:22]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254513", "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 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:08:22]execute_script... [18:08: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)254513", "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 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:08:22]POST & json_proto [18:08:22]process_json_proto [18:08:22]json parsed OK: [18:08:22]protocol is kg_v1.0 [18:08:22]action value=close_receipt [18:08:22]process_action close_receipt [18:08:22]cmd_close_receipt [18:08:22]MH_GetDate [18:08:22]Write to MH i2c: F0 00 00 DE 2B F8 [18:08:22]Write i2c OK [18:08:22]MH_I2C_Read... [18:08:22]Read from MH i2c: F0 [18:08:22]MH_I2C_Read... [18:08:22]Read from MH i2c: F0 09 00 [18:08:22]MH_I2C_Read... [18:08:22]Read from MH i2c: F0 09 00 DE 2B 00 20 2A 6F 66 8C 55 28 65 8E [18:08:22]GetLastDocTimeStamp 1718560862 [18:08:22]current date 1718561312 [18:08:22]FM_GetShiftState [18:08:22]SAM_PROTO_GetShiftState [18:08:22]wFMCommunicate request_size=4 [18:08:22]MH_SAM_APDU [18:08:22]CAPDU: 80 13 01 00 [18:08:22]Write to MH i2c: E2 08 00 DF 2B 80 13 01 00 00 00 00 00 87 [18:08:22]Write i2c OK [18:08:22]MH_I2C_Read... [18:08:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:08:22]Read from MH i2c: E2 [18:08:22]MH_I2C_Read... [18:08:22]Read from MH i2c: E2 0E 00 [18:08:22]MH_I2C_Read... [18:08:22]Read from MH i2c: E2 0E 00 DF 2B 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 A8 [18:08:22]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [18:08:22]wFMCommunicate OK [18:08:22]SAM_PROTO_GetShiftState done [18:08:22]FM_GetShiftState done [18:08:22]opened in 1718497297 [18:08:22]opened+sec_in_day 1718583697 [18:08:22]quantity*price = 9500 [18:08:22]sum+1 = 9501 [18:08:22]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 95.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 65 16.06.2024 18:08 Смена: 327 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22300 ФПД: 245689739791352 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T180832&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22300&fm=245689739791352&tin=02508201610067®Number=0000000000099755&sum=9500 0 [18:08:23]StoreToDocumentArchive [18:08:23]shift 327 fd 22300 [18:08:23]save to /storage/0327/doc_00022300 [18:08:23]save last doc name /storage/0327/doc_00022300 to /storage/kkm_last_doc_name [18:08:23]save OK [18:08:23]Clear old archive folders... [18:08:23]ProcessDocumentItem done err = 0, tmpTLVsize=293 [18:08:23]tlvbuf is 001C1D50 [18:08:23]SAM_PROTO_ClearQueue [18:08:23]wFMCommunicate request_size=4 [18:08:23]MH_SAM_APDU [18:08:23]CAPDU: 80 09 00 00 [18:08:23]Write to MH i2c: E2 08 00 EC 2B 80 09 00 00 00 00 00 00 89 [18:08:23]Write i2c OK [18:08:23]MH_I2C_Read... [18:08:23]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:08:23]Read from MH i2c: E2 [18:08:23]MH_I2C_Read... [18:08:23]Read from MH i2c: E2 03 00 [18:08:23]MH_I2C_Read... [18:08:23]Read from MH i2c: E2 03 00 EC 2B 00 90 00 8B [18:08:23]RAPDU: 90 00 [18:08:23]wFMCommunicate OK [18:08:23]SAM_PROTO_ClearQueue done [18:08:23]KKMCreateOFDPacket [18:08:23]OFDProtocolAddRootSTLVToBuf [18:08:23]FM_MakeSignedData [18:08:23]FM_MakeSignedData [18:08:23]SAM_PROTO_SignData [18:08:23]wFMCommunicate request_size=4 [18:08:23]MH_SAM_APDU [18:08:23]CAPDU: 80 0D 01 02 [18:08:23]Write to MH i2c: E2 08 00 ED 2B 80 0D 01 02 00 00 00 00 91 [18:08:23]Write i2c OK [18:08:23]MH_I2C_Read... [18:08:23]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:08:23]Read from MH i2c: E2 [18:08:23]MH_I2C_Read... [18:08:23]Read from MH i2c: E2 03 00 [18:08:23]MH_I2C_Read... [18:08:23]Read from MH i2c: E2 03 00 ED 2B 00 90 00 8C [18:08:23]RAPDU: 90 00 [18:08:23]wFMCommunicate OK [18:08:23]wFMCommunicate request_size=255 [18:08:23]MH_SAM_APDU [18:08: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 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 41 00 00 00 F4 03 04 00 20 2A 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 [18:08:23]Write to MH i2c: E2 02 01 EE 2B 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 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 41 00 00 00 F4 03 04 00 20 2A 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 00 00 D9 [18:08:23]Write i2c OK [18:08:23]MH_I2C_Read... [18:08:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:08:24]Read from MH i2c: E2 [18:08:24]MH_I2C_Read... [18:08:24]Read from MH i2c: E2 03 00 [18:08:24]MH_I2C_Read... [18:08:24]Read from MH i2c: E2 03 00 EE 2B 00 90 00 8D [18:08:24]RAPDU: 90 00 [18:08:24]wFMCommunicate OK [18:08:24]wFMCommunicate request_size=52 [18:08:24]MH_SAM_APDU [18:08:24]CAPDU: 80 0D 02 02 2F 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 1C 57 00 00 35 04 06 00 DF 74 19 AA 4B F8 [18:08:24]Write to MH i2c: E2 37 00 EF 2B 80 0D 02 02 2F 00 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 1C 57 00 00 35 04 06 00 DF 74 19 AA 4B F8 00 00 2C [18:08:24]Write i2c OK [18:08:24]MH_I2C_Read... [18:08:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:08:24]Read from MH i2c: E2 [18:08:24]MH_I2C_Read... [18:08:24]Read from MH i2c: E2 03 00 [18:08:24]MH_I2C_Read... [18:08:24]Read from MH i2c: E2 03 00 EF 2B 00 90 00 8E [18:08:24]RAPDU: 90 00 [18:08:24]wFMCommunicate OK [18:08:24]wFMCommunicate request_size=4 [18:08:24]MH_SAM_APDU [18:08:24]CAPDU: 80 0D 03 02 [18:08:24]Write to MH i2c: E2 08 00 F0 2B 80 0D 03 02 00 00 00 00 96 [18:08:24]Write i2c OK [18:08:24]MH_I2C_Read... [18:08:24]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:08:24]Read from MH i2c: E2 [18:08:24]MH_I2C_Read... [18:08:24]Read from MH i2c: E2 0B 00 [18:08:24]MH_I2C_Read... [18:08:24]Read from MH i2c: E2 0B 00 F0 2B 00 AD AB 67 D0 6D A1 9D D7 90 00 A8 [18:08:24]RAPDU: AD AB 67 D0 6D A1 9D D7 90 00 [18:08:24]wFMCommunicate OK [18:08:24]SAM_PROTO_SignData done [18:08:24]FM_MakeSignedData done [18:08:24]CreateOFDProtocolMessage [18:08:24]wFMCommunicate request_size=4 [18:08:24]MH_SAM_APDU [18:08:24]CAPDU: 80 11 00 00 [18:08:24]Write to MH i2c: E2 08 00 F1 2B 80 11 00 00 00 00 00 00 96 [18:08:24]Write i2c OK [18:08:24]MH_I2C_Read... [18:08:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:08:24]Read from MH i2c: E2 [18:08:24]MH_I2C_Read... [18:08:24]Read from MH i2c: E2 17 00 [18:08:24]MH_I2C_Read... [18:08:24]Read from MH i2c: E2 17 00 F1 2B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 E8 [18:08:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [18:08:24]wFMCommunicate OK [18:08:24]CreateOFDProtocolMessage done [18:08:24]OFDSenderStorePacket 22300 [18:08:24]StoreOFDPacket docnum=22300 [18:08:24]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 39 01 00 00 49 70 31 01 8F 3F 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 41 00 00 00 F4 03 04 00 20 2A 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 1C 57 00 00 35 04 06 00 DF 74 19 AA 4B F8 AD AB 67 D0 6D A1 9D D7 [18:08:24]CheckFolder [18:08:24]dirname=/storage/ofd_packets [18:08:24]CheckFolder done [18:08:24]ProducePacketName [18:08:24]name=ofd_packets/00022300 [18:08:24]NVStorageSaveData ofd_packets/00022300 [18:08:24]File name is /storage/ofd_packets/00022300 [18:08:24]Write 343 bytes [18:08:24]NVStorageSaveData done [18:08:24]OFDSenderStorePacket done [18:08:24]KKMCreateOFDPacket done [18:08:24]NVStorageSaveData kkm_last_timestamp [18:08:24]File name is /storage/kkm_last_timestamp [18:08:24]Write 4 bytes [18:08:24]NVStorageSaveData done [18:08:24]ExternCall_PrintAddStr [18:08:24]wPrintStart [18:08:24]Write to MH i2c: 01 00 00 F2 2B 1D [18:08:24]Write i2c OK [18:08:24]MH_I2C_Read... [18:08:24]Read from MH i2c: 01 [18:08:24]MH_I2C_Read... [18:08:24]Read from MH i2c: 01 07 00 [18:08:24]MH_I2C_Read... [18:08:24]Read from MH i2c: 01 07 00 F2 2B 00 00 00 00 00 FF 0F 32 [18:08:24]RasterBufferAndPrint [18:08:24]line Счет N : (3)254513 [18:08:24]line ИНН: 02508201610067 [18:08:24]line Контрольно-Кассовый Чек [18:08:24]line ПРОДАЖА [18:08:24]line Товар: 4700000480050 [18:08:24]line Напиток Nitro Energy эн green ж/б 0,45л [18:08:24]line 1.000 * 95.00 [18:08:24]line = 95.00 [18:08:24]line НДС 12% НСП 1% [18:08:24]line > о реализуемом товаре [18:08:24]line ИТОГО: 95.00 [18:08:24]line НСП 1% : 0.84 [18:08:24]line НДС 12% : 10.09 [18:08:24]line Наличными: 95.00 [18:08:24]line Безнал.: 0.00 [18:08:24]line Место: АЗС № 76 "Партнер Нефть" [18:08:24]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [18:08:24]line СНО: Общий режим [18:08:24]line Чек 65 16.06.2024 18:08 [18:08:24]line Смена: 327 ФФД: 1.0 [18:08:24]line ЗНМ: 0300000200 [18:08:24]line РНМ: 0000000000099755 [18:08:24]line Версия ККМ: 001 [18:08:24]line ФМ: 0000000000965344 [18:08:24]line ФД: 22300 [18:08:24]line ФПД: 245689739791352 [18:08:24]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T180832&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22300&fm=245689739791352&tin=02508201610067®Number=0000000000099755&sum=9500 [18:08:24]line 0 [18:08:24]OFD Sender: Processing packet 22300 [packets to send 5, broken 4] [18:08:24]ProducePacketName [18:08:24]name=ofd_packets/00022300 [18:08:24]OFD Sender: To server: pG, [18:08:24]CommunicateWithHost lk.salyk.kg:30040 [18:08:24]ConnectInit lk.salyk.kg [18:08:24]written 0, free lines is 4095 [18:08:24]Connected sock=10 [18:08:24]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 39 01 00 00 49 70 31 01 8F 3F 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 41 00 00 00 F4 03 04 00 20 2A 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 1C 57 00 00 35 04 06 00 DF 74 19 AA 4B F8 AD AB 67 D0 6D A1 9D D7 [18:08:25]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 04 10 47 00 41 CB A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 1C 57 00 00 F4 03 04 00 D9 D2 6E 66 B6 04 01 00 00 97 04 4C 44 FD 91 A5 99 [18:08:25]CommunicateWithHost err = 0 [18:08:25]CheckOFDResponse [18:08:25]1017 (14) - 77093643461234 [18:08:25]1041 (16) - 0000000000965344 [18:08:25]1040 (4) - 22300 [18:08:25]1012 (4) - 16.06.2024 11:56 [18:08:25]1206 (1) - 0 [18:08:25]OFD Sender: Remove packet 22300 [18:08:25]ProducePacketName [18:08:25]name=ofd_packets/00022300 [18:08:25]NVStorageDeleteData [18:08:25]Write to MH i2c: 01 00 00 1B 2C 47 [18:08:25]Write i2c OK [18:08:25]MH_I2C_Read... [18:08:25]Read from MH i2c: 01 [18:08:25]MH_I2C_Read... [18:08:25]Read from MH i2c: 01 07 00 [18:08:25]MH_I2C_Read... [18:08:25]Read from MH i2c: 01 07 00 1B 2C 00 00 00 00 00 08 0D 63 [18:08:25]RasterBufferAndPrint [18:08:25]line [18:08:25]line [18:08:25]line [18:08:25]line [18:08:25]line [18:08:25]written 0, free lines is 3343 [18:08:25]MH_Cut [18:08:25]Write to MH i2c: D1 01 00 22 2C 01 20 [18:08:25]Write i2c OK [18:08:25]MH_I2C_Read... [18:08:25]Read from MH i2c: D1 [18:08:25]MH_I2C_Read... [18:08:25]Read from MH i2c: D1 01 00 [18:08:25]MH_I2C_Read... [18:08:25]Read from MH i2c: D1 01 00 22 2C 00 1F [18:08:25]Write to MH i2c: 01 00 00 23 2C 4F [18:08:25]Write i2c OK [18:08:25]MH_I2C_Read... [18:08:25]OFD Sender: No OFD packet to send [18:08:25]*** Cut start [18:08:25]*** Partial cut [18:08:25]*** CUTSNS_PIN = 1 [18:08:25]*** CUTSNS_PIN = 0 [18:08:26]*** Brake cut motor [18:08:26]Read from MH i2c: 01 [18:08:26]MH_I2C_Read... [18:08:26]*** Stop cut motor [18:08:26]*** Cut end [18:08:26]Read from MH i2c: 01 07 00 [18:08:26]MH_I2C_Read... [18:08:26]Read from MH i2c: 01 07 00 23 2C 00 00 00 00 00 FF 0F 64 [18:08:26]process_action close_receipt done [18:08:26]requested_data is exist [18:08:26]produce_requested_data [18:08:26]requested_item fm.sn is exist - process it [18:08:26]wFMCommunicate request_size=4 [18:08:26]MH_SAM_APDU [18:08:26]CAPDU: 80 11 00 00 [18:08:26]Write to MH i2c: E2 08 00 24 2C 80 11 00 00 00 00 00 00 CA [18:08:26]Write i2c OK [18:08:26]MH_I2C_Read... [18:08:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:08:26]Read from MH i2c: E2 [18:08:26]MH_I2C_Read... [18:08:26]Read from MH i2c: E2 17 00 [18:08:26]MH_I2C_Read... [18:08:26]Read from MH i2c: E2 17 00 24 2C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 1C [18:08:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [18:08:26]wFMCommunicate OK [18:08:26]requested_item fd.num is exist - process it [18:08:26]SAM_PROTO_GetFieldsCounters [18:08:26]wFMCommunicate request_size=4 [18:08:26]MH_SAM_APDU [18:08:26]CAPDU: 80 13 00 00 [18:08:26]Write to MH i2c: E2 08 00 25 2C 80 13 00 00 00 00 00 00 CD [18:08:26]Write i2c OK [18:08:26]MH_I2C_Read... [18:08:26]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:08:26]Read from MH i2c: E2 [18:08:26]MH_I2C_Read... [18:08:26]Read from MH i2c: E2 62 00 [18:08:26]MH_I2C_Read... [18:08:26]Read from MH i2c: E2 62 00 25 2C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 1C 57 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 41 00 00 00 5E 04 04 00 41 00 00 00 57 04 04 00 42 00 00 00 19 04 04 00 00 00 00 00 90 00 75 [18:08:26]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 1C 57 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 41 00 00 00 5E 04 04 00 41 00 00 00 57 04 04 00 42 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:08:26]wFMCommunicate OK [18:08:26]SAM_PROTO_GetFieldsCounters done [18:08:26]requested_item shift.num is exist - process it [18:08:26]requested_item shift.opened is exist - process it [18:08:26]req_shift_opened [18:08:26]FM_GetShiftState [18:08:26]SAM_PROTO_GetShiftState [18:08:26]wFMCommunicate request_size=4 [18:08:26]MH_SAM_APDU [18:08:26]CAPDU: 80 13 01 00 [18:08:26]Write to MH i2c: E2 08 00 26 2C 80 13 01 00 00 00 00 00 CF [18:08:26]Write i2c OK [18:08:26]MH_I2C_Read... [18:08:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:08:26]Read from MH i2c: E2 [18:08:26]MH_I2C_Read... [18:08:26]Read from MH i2c: E2 0E 00 [18:08:26]MH_I2C_Read... [18:08:26]Read from MH i2c: E2 0E 00 26 2C 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 F0 [18:08:26]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [18:08:26]wFMCommunicate OK [18:08:26]SAM_PROTO_GetShiftState done [18:08:26]FM_GetShiftState done [18:08:26]req_shift_opened done [18:08:26]requested_item shift.open_date is exist - process it [18:08:26]req_shift_open_date [18:08:26]req_shift_open_date done [18:08:26]produce_requested_data done [18:08:26]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22300,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297} [18:08:26]process_action_free close_receipt [18:08:26]json_value_free [18:08:26]json_value_free done [18:08:26]process_json_proto returns [18:08:26]Send response to host [18:08:26]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22300,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297}}} [18:08:26]free response buf [18:08:26]execute_script done [18:08:26]execute_script returns [18:08:26]free content buf [18:08:26]Sock 8.Close socket [18:08:26]Sock 8.Thread stoped [18:08:30]OFD Sender: No OFD packet to send [18:08:35]OFD Sender: No OFD packet to send [18:08:40]OFD Sender: No OFD packet to send [18:08:45]OFD Sender: No OFD packet to send [18:08:50]OFD Sender: No OFD packet to send [18:08:55]OFD Sender: No OFD packet to send [18:09:00]OFD Sender: No OFD packet to send [18:09:05]OFD Sender: No OFD packet to send [18:09:10]OFD Sender: No OFD packet to send [18:09:15]OFD Sender: No OFD packet to send [18:09:20]OFD Sender: No OFD packet to send [18:09:25]OFD Sender: No OFD packet to send [18:09:30]OFD Sender: No OFD packet to send [18:09:35]OFD Sender: No OFD packet to send [18:09:40]OFD Sender: No OFD packet to send [18:09:45]OFD Sender: No OFD packet to send [18:09:50]OFD Sender: No OFD packet to send [18:09:55]OFD Sender: No OFD packet to send [18:10:00]OFD Sender: No OFD packet to send [18:10:05]OFD Sender: No OFD packet to send [18:10:10]OFD Sender: No OFD packet to send [18:10:15]OFD Sender: No OFD packet to send [18:10:20]OFD Sender: No OFD packet to send [18:10:25]OFD Sender: No OFD packet to send [18:10:30]OFD Sender: No OFD packet to send [18:10:35]OFD Sender: No OFD packet to send [18:10:40]OFD Sender: No OFD packet to send [18:10:45]OFD Sender: No OFD packet to send [18:10:50]OFD Sender: No OFD packet to send [18:10:55]OFD Sender: No OFD packet to send [18:11:00]OFD Sender: No OFD packet to send [18:11:05]OFD Sender: No OFD packet to send [18:11:10]OFD Sender: No OFD packet to send [18:11:15]OFD Sender: No OFD packet to send [18:11:20]OFD Sender: No OFD packet to send [18:11:25]OFD Sender: No OFD packet to send [18:11:30]OFD Sender: No OFD packet to send [18:11:35]OFD Sender: No OFD packet to send [18:11:40]OFD Sender: No OFD packet to send [18:11:45]OFD Sender: No OFD packet to send [18:11:50]OFD Sender: No OFD packet to send [18:11:55]OFD Sender: No OFD packet to send [18:12:00]OFD Sender: No OFD packet to send [18:12:05]OFD Sender: No OFD packet to send [18:12:10]OFD Sender: No OFD packet to send [18:12:15]OFD Sender: No OFD packet to send [18:12:20]OFD Sender: No OFD packet to send [18:12:25]OFD Sender: No OFD packet to send [18:12:30]OFD Sender: No OFD packet to send [18:12:35]OFD Sender: No OFD packet to send [18:12:40]OFD Sender: No OFD packet to send [18:12:45]OFD Sender: No OFD packet to send [18:12:47]accept exits with 9 [18:12:47]New connection [18:12:47]New thread 3066695012 created [18:12:47]Thread 3066838372 joined [18:12:47]Waiting for new connection... [18:12:47] Sock 9.Parse request [18:12:47]Sock 9.Check first char [18:12:47]Sock 9.First char is OK [18:12:47]request: POST /json_proto HTTP/1.0 [18:12:47]Method: POST [18:12:47]URL: /json_proto [18:12:47]Method is POST - this is cgi request [18:12:47]url: /json_proto [18:12:47]query_string will be loaded in cgi processing [18:12:47]execute_cgi json_proto POST (null) [18:12:47]execute_cgi path=json_proto method=POST [18:12:47]POST find Content-Length [18:12:47]Host: 172.17.35.133:8080 [18:12:47]Content-Length: 864 [18:12:47]Content-Type: application/json [18:12:47] [18:12:47]POST finish read [18:12:47]Found Content-Length = 864 [18:12:47]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254514", "tax_sys" : 0, "items" : [ { "code": "4870001570057", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 0,5\u043B", "price" : 80.00, "quantity" : 1.000, "sum" : 80.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "40822938", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0424\u0430\u043D\u0442\u0430 0,5\u043B", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 155.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:12:47]execute_script... [18:12:47]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254514", "tax_sys" : 0, "items" : [ { "code": "4870001570057", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 0,5\u043B", "price" : 80.00, "quantity" : 1.000, "sum" : 80.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "40822938", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0424\u0430\u043D\u0442\u0430 0,5\u043B", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 155.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:12:47]POST & json_proto [18:12:47]process_json_proto [18:12:47]json parsed OK: [18:12:47]protocol is kg_v1.0 [18:12:47]action value=close_receipt [18:12:47]process_action close_receipt [18:12:47]cmd_close_receipt [18:12:47]MH_GetDate [18:12:47]Write to MH i2c: F0 00 00 27 2C 42 [18:12:47]Write i2c OK [18:12:47]MH_I2C_Read... [18:12:47]Read from MH i2c: F0 [18:12:47]MH_I2C_Read... [18:12:47]Read from MH i2c: F0 09 00 [18:12:47]MH_I2C_Read... [18:12:47]Read from MH i2c: F0 09 00 27 2C 00 29 2B 6F 66 8C 55 28 65 E2 [18:12:47]GetLastDocTimeStamp 1718561312 [18:12:47]current date 1718561577 [18:12:47]FM_GetShiftState [18:12:47]SAM_PROTO_GetShiftState [18:12:47]wFMCommunicate request_size=4 [18:12:47]MH_SAM_APDU [18:12:47]CAPDU: 80 13 01 00 [18:12:47]Write to MH i2c: E2 08 00 28 2C 80 13 01 00 00 00 00 00 D1 [18:12:47]Write i2c OK [18:12:47]MH_I2C_Read... [18:12:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:12:47]Read from MH i2c: E2 [18:12:47]MH_I2C_Read... [18:12:47]Read from MH i2c: E2 0E 00 [18:12:47]MH_I2C_Read... [18:12:47]Read from MH i2c: E2 0E 00 28 2C 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 F2 [18:12:47]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [18:12:47]wFMCommunicate OK [18:12:47]SAM_PROTO_GetShiftState done [18:12:47]FM_GetShiftState done [18:12:47]opened in 1718497297 [18:12:47]opened+sec_in_day 1718583697 [18:12:47]quantity*price = 8000 [18:12:47]sum+1 = 8001 [18:12:47]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 40822938 Напиток Фанта 0,5л 1.000 * 75.00 = 75.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 155.00 НСП 1% : 1.37 НДС 12% : 16.46 Наличными: 155.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 66 16.06.2024 18:12 Смена: 327 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22301 ФПД: 267135700044703 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T181257&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22301&fm=267135700044703&tin=02508201610067®Number=0000000000099755&sum=15500 0 [18:12:49]StoreToDocumentArchive [18:12:49]shift 327 fd 22301 [18:12:49]save to /storage/0327/doc_00022301 [18:12:49]save last doc name /storage/0327/doc_00022301 to /storage/kkm_last_doc_name [18:12:49]save OK [18:12:49]Clear old archive folders... [18:12:49]ProcessDocumentItem done err = 0, tmpTLVsize=366 [18:12:49]tlvbuf is 002D6200 [18:12:49]SAM_PROTO_ClearQueue [18:12:49]wFMCommunicate request_size=4 [18:12:49]MH_SAM_APDU [18:12:49]CAPDU: 80 09 00 00 [18:12:49]Write to MH i2c: E2 08 00 35 2C 80 09 00 00 00 00 00 00 D3 [18:12:49]Write i2c OK [18:12:49]MH_I2C_Read... [18:12:49]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:12:49]Read from MH i2c: E2 [18:12:49]MH_I2C_Read... [18:12:49]Read from MH i2c: E2 03 00 [18:12:49]MH_I2C_Read... [18:12:49]Read from MH i2c: E2 03 00 35 2C 00 90 00 D5 [18:12:49]RAPDU: 90 00 [18:12:49]wFMCommunicate OK [18:12:49]SAM_PROTO_ClearQueue done [18:12:49]KKMCreateOFDPacket [18:12:49]OFDProtocolAddRootSTLVToBuf [18:12:49]FM_MakeSignedData [18:12:49]FM_MakeSignedData [18:12:49]SAM_PROTO_SignData [18:12:49]wFMCommunicate request_size=4 [18:12:49]MH_SAM_APDU [18:12:49]CAPDU: 80 0D 01 02 [18:12:49]Write to MH i2c: E2 08 00 36 2C 80 0D 01 02 00 00 00 00 DB [18:12:49]Write i2c OK [18:12:49]MH_I2C_Read... [18:12:49]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:12:49]Read from MH i2c: E2 [18:12:49]MH_I2C_Read... [18:12:49]Read from MH i2c: E2 03 00 [18:12:49]MH_I2C_Read... [18:12:49]Read from MH i2c: E2 03 00 36 2C 00 90 00 D6 [18:12:49]RAPDU: 90 00 [18:12:49]wFMCommunicate OK [18:12:49]wFMCommunicate request_size=255 [18:12:49]MH_SAM_APDU [18:12:49]CAPDU: 80 0D 02 02 FA 03 00 6E 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 35 37 06 04 1A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5E 00 8A 04 08 00 34 30 38 32 32 39 33 38 06 04 1F 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 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 89 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 [18:12:49]Write to MH i2c: E2 02 01 37 2C 80 0D 02 02 FA 00 03 00 6E 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 35 37 06 04 1A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5E 00 8A 04 08 00 34 30 38 32 32 39 33 38 06 04 1F 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 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 89 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 18 [18:12:49]Write i2c OK [18:12:49]MH_I2C_Read... [18:12:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:12:49]Read from MH i2c: E2 [18:12:49]MH_I2C_Read... [18:12:49]Read from MH i2c: E2 03 00 [18:12:49]MH_I2C_Read... [18:12:49]Read from MH i2c: E2 03 00 37 2C 00 90 00 D7 [18:12:49]RAPDU: 90 00 [18:12:49]wFMCommunicate OK [18:12:49]wFMCommunicate request_size=125 [18:12:49]MH_SAM_APDU [18:12:49]CAPDU: 80 0D 02 02 78 00 6E 06 00 00 00 00 07 04 06 00 8C 3C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 42 00 00 00 F4 03 04 00 29 2B 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 1D 57 00 00 35 04 06 00 F2 F5 60 82 0B 9F [18:12:49]Write to MH i2c: E2 80 00 38 2C 80 0D 02 02 78 00 00 6E 06 00 00 00 00 07 04 06 00 8C 3C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 42 00 00 00 F4 03 04 00 29 2B 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 1D 57 00 00 35 04 06 00 F2 F5 60 82 0B 9F 00 00 E7 [18:12:49]Write i2c OK [18:12:49]MH_I2C_Read... [18:12:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:12:49]Read from MH i2c: E2 [18:12:49]MH_I2C_Read... [18:12:49]Read from MH i2c: E2 03 00 [18:12:49]MH_I2C_Read... [18:12:49]Read from MH i2c: E2 03 00 38 2C 00 90 00 D8 [18:12:49]RAPDU: 90 00 [18:12:49]wFMCommunicate OK [18:12:49]wFMCommunicate request_size=4 [18:12:49]MH_SAM_APDU [18:12:49]CAPDU: 80 0D 03 02 [18:12:49]Write to MH i2c: E2 08 00 39 2C 80 0D 03 02 00 00 00 00 E0 [18:12:49]Write i2c OK [18:12:49]MH_I2C_Read... [18:12:49]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:12:49]Read from MH i2c: E2 [18:12:49]MH_I2C_Read... [18:12:49]Read from MH i2c: E2 0B 00 [18:12:49]MH_I2C_Read... [18:12:49]Read from MH i2c: E2 0B 00 39 2C 00 74 EF 00 BD F2 39 A9 F6 90 00 CB [18:12:49]RAPDU: 74 EF 00 BD F2 39 A9 F6 90 00 [18:12:49]wFMCommunicate OK [18:12:49]SAM_PROTO_SignData done [18:12:49]FM_MakeSignedData done [18:12:49]CreateOFDProtocolMessage [18:12:49]wFMCommunicate request_size=4 [18:12:49]MH_SAM_APDU [18:12:49]CAPDU: 80 11 00 00 [18:12:49]Write to MH i2c: E2 08 00 3A 2C 80 11 00 00 00 00 00 00 E0 [18:12:49]Write i2c OK [18:12:49]MH_I2C_Read... [18:12:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:12:49]Read from MH i2c: E2 [18:12:49]MH_I2C_Read... [18:12:49]Read from MH i2c: E2 17 00 [18:12:49]MH_I2C_Read... [18:12:49]Read from MH i2c: E2 17 00 3A 2C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 32 [18:12:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [18:12:49]wFMCommunicate OK [18:12:49]CreateOFDProtocolMessage done [18:12:49]OFDSenderStorePacket 22301 [18:12:49]StoreOFDPacket docnum=22301 [18:12:49]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 82 01 00 00 D6 61 7A 01 7F 39 5A 03 01 00 03 00 6E 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 35 37 06 04 1A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5E 00 8A 04 08 00 34 30 38 32 32 39 33 38 06 04 1F 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 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 89 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6E 06 00 00 00 00 07 04 06 00 8C 3C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 42 00 00 00 F4 03 04 00 29 2B 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 1D 57 00 00 35 04 06 00 F2 F5 60 82 0B 9F 74 EF 00 BD F2 39 A9 F6 [18:12:49]CheckFolder [18:12:49]dirname=/storage/ofd_packets [18:12:49]CheckFolder done [18:12:49]ProducePacketName [18:12:49]name=ofd_packets/00022301 [18:12:49]NVStorageSaveData ofd_packets/00022301 [18:12:49]File name is /storage/ofd_packets/00022301 [18:12:49]Write 416 bytes [18:12:49]NVStorageSaveData done [18:12:49]OFDSenderStorePacket done [18:12:49]KKMCreateOFDPacket done [18:12:49]NVStorageSaveData kkm_last_timestamp [18:12:49]File name is /storage/kkm_last_timestamp [18:12:49]Write 4 bytes [18:12:49]NVStorageSaveData done [18:12:49]ExternCall_PrintAddStr [18:12:49]wPrintStart [18:12:49]Write to MH i2c: 01 00 00 3B 2C 67 [18:12:49]Write i2c OK [18:12:49]MH_I2C_Read... [18:12:49]Read from MH i2c: 01 [18:12:49]MH_I2C_Read... [18:12:49]Read from MH i2c: 01 07 00 [18:12:49]MH_I2C_Read... [18:12:49]Read from MH i2c: 01 07 00 3B 2C 00 00 00 00 00 FF 0F 7C [18:12:49]RasterBufferAndPrint [18:12:49]line Счет N : (3)254514 [18:12:49]line ИНН: 02508201610067 [18:12:49]line Контрольно-Кассовый Чек [18:12:49]line ПРОДАЖА [18:12:49]line Товар: 4870001570057 [18:12:49]line Напиток Pepsi 0,5л [18:12:49]line 1.000 * 80.00 [18:12:49]line = 80.00 [18:12:49]line НДС 12% НСП 1% [18:12:50]line > о реализуемом товаре [18:12:50]line Товар: 40822938 [18:12:50]line Напиток Фанта 0,5л [18:12:50]line 1.000 * 75.00 [18:12:50]line = 75.00 [18:12:50]line НДС 12% НСП 1% [18:12:50]line > о реализуемом товаре [18:12:50]line ИТОГО: 155.00 [18:12:50]line НСП 1% : 1.37 [18:12:50]line НДС 12% : 16.46 [18:12:50]line Наличными: 155.00 [18:12:50]line Безнал.: 0.00 [18:12:50]line Место: АЗС № 76 "Партнер Нефть" [18:12:50]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [18:12:50]line СНО: Общий режим [18:12:50]line Чек 66 16.06.2024 18:12 [18:12:50]line Смена: 327 ФФД: 1.0 [18:12:50]line ЗНМ: 0300000200 [18:12:50]line РНМ: 0000000000099755 [18:12:50]line Версия ККМ: 001 [18:12:50]line ФМ: 0000000000965344 [18:12:50]line ФД: 22301 [18:12:50]line ФПД: 267135700044703 [18:12:50]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T181257&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22301&fm=267135700044703&tin=02508201610067®Number=0000000000099755&sum=15500 [18:12:50]line 0 [18:12:50]OFD Sender: Processing packet 22301 [packets to send 5, broken 4] [18:12:50]ProducePacketName [18:12:50]name=ofd_packets/00022301 [18:12:50]OFD Sender: To server: pG, [18:12:50]CommunicateWithHost lk.salyk.kg:30040 [18:12:50]ConnectInit lk.salyk.kg [18:12:50]written 0, free lines is 4095 [18:12:50]Connected sock=10 [18:12:50]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 82 01 00 00 D6 61 7A 01 7F 39 5A 03 01 00 03 00 6E 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 35 37 06 04 1A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5E 00 8A 04 08 00 34 30 38 32 32 39 33 38 06 04 1F 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 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 89 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6E 06 00 00 00 00 07 04 06 00 8C 3C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 42 00 00 00 F4 03 04 00 29 2B 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 1D 57 00 00 35 04 06 00 F2 F5 60 82 0B 9F 74 EF 00 BD F2 39 A9 F6 [18:12:50]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 4E 4E 47 00 E1 40 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 1D 57 00 00 F4 03 04 00 E3 D3 6E 66 B6 04 01 00 00 35 69 6A 8B 78 C9 0D EB [18:12:50]CommunicateWithHost err = 0 [18:12:50]CheckOFDResponse [18:12:50]1017 (14) - 77093643461234 [18:12:50]1041 (16) - 0000000000965344 [18:12:50]1040 (4) - 22301 [18:12:50]1012 (4) - 16.06.2024 12:00 [18:12:50]1206 (1) - 0 [18:12:50]OFD Sender: Remove packet 22301 [18:12:50]ProducePacketName [18:12:50]name=ofd_packets/00022301 [18:12:50]NVStorageDeleteData [18:12:50]Write to MH i2c: 01 00 00 69 2C 95 [18:12:50]Write i2c OK [18:12:50]MH_I2C_Read... [18:12:50]Read from MH i2c: 01 [18:12:50]MH_I2C_Read... [18:12:50]Read from MH i2c: 01 07 00 [18:12:50]MH_I2C_Read... [18:12:50]Read from MH i2c: 01 07 00 69 2C 00 00 00 00 00 CB 0C 73 [18:12:50]RasterBufferAndPrint [18:12:50]line [18:12:50]line [18:12:50]line [18:12:50]line [18:12:50]line [18:12:50]written 0, free lines is 3284 [18:12:50]MH_Cut [18:12:50]Write to MH i2c: D1 01 00 70 2C 01 6E [18:12:50]Write i2c OK [18:12:50]MH_I2C_Read... [18:12:50]Read from MH i2c: D1 [18:12:50]MH_I2C_Read... [18:12:50]Read from MH i2c: D1 01 00 [18:12:50]MH_I2C_Read... [18:12:50]Read from MH i2c: D1 01 00 70 2C 00 6D [18:12:50]Write to MH i2c: 01 00 00 71 2C 9D [18:12:50]Write i2c OK [18:12:50]MH_I2C_Read... [18:12:50]OFD Sender: No OFD packet to send [18:12:51]*** Cut start [18:12:51]*** Partial cut [18:12:51]*** CUTSNS_PIN = 1 [18:12:51]*** CUTSNS_PIN = 0 [18:12:51]*** Brake cut motor [18:12:51]Read from MH i2c: 01 [18:12:51]MH_I2C_Read... [18:12:51]*** Stop cut motor [18:12:51]*** Cut end [18:12:51]Read from MH i2c: 01 07 00 [18:12:51]MH_I2C_Read... [18:12:51]Read from MH i2c: 01 07 00 71 2C 00 00 00 00 00 FF 0F B2 [18:12:51]process_action close_receipt done [18:12:51]requested_data is exist [18:12:51]produce_requested_data [18:12:51]requested_item fm.sn is exist - process it [18:12:51]wFMCommunicate request_size=4 [18:12:51]MH_SAM_APDU [18:12:51]CAPDU: 80 11 00 00 [18:12:51]Write to MH i2c: E2 08 00 72 2C 80 11 00 00 00 00 00 00 18 [18:12:51]Write i2c OK [18:12:51]MH_I2C_Read... [18:12:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:12:51]Read from MH i2c: E2 [18:12:51]MH_I2C_Read... [18:12:51]Read from MH i2c: E2 17 00 [18:12:51]MH_I2C_Read... [18:12:51]Read from MH i2c: E2 17 00 72 2C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 6A [18:12:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [18:12:51]wFMCommunicate OK [18:12:51]requested_item fd.num is exist - process it [18:12:51]SAM_PROTO_GetFieldsCounters [18:12:51]wFMCommunicate request_size=4 [18:12:51]MH_SAM_APDU [18:12:51]CAPDU: 80 13 00 00 [18:12:51]Write to MH i2c: E2 08 00 73 2C 80 13 00 00 00 00 00 00 1B [18:12:51]Write i2c OK [18:12:51]MH_I2C_Read... [18:12:52]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:12:52]Read from MH i2c: E2 [18:12:52]MH_I2C_Read... [18:12:52]Read from MH i2c: E2 62 00 [18:12:52]MH_I2C_Read... [18:12:52]Read from MH i2c: E2 62 00 73 2C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 1D 57 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 42 00 00 00 5E 04 04 00 42 00 00 00 57 04 04 00 43 00 00 00 19 04 04 00 00 00 00 00 90 00 C7 [18:12:52]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 1D 57 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 42 00 00 00 5E 04 04 00 42 00 00 00 57 04 04 00 43 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:12:52]wFMCommunicate OK [18:12:52]SAM_PROTO_GetFieldsCounters done [18:12:52]requested_item shift.num is exist - process it [18:12:52]requested_item shift.opened is exist - process it [18:12:52]req_shift_opened [18:12:52]FM_GetShiftState [18:12:52]SAM_PROTO_GetShiftState [18:12:52]wFMCommunicate request_size=4 [18:12:52]MH_SAM_APDU [18:12:52]CAPDU: 80 13 01 00 [18:12:52]Write to MH i2c: E2 08 00 74 2C 80 13 01 00 00 00 00 00 1D [18:12:52]Write i2c OK [18:12:52]MH_I2C_Read... [18:12:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:12:52]Read from MH i2c: E2 [18:12:52]MH_I2C_Read... [18:12:52]Read from MH i2c: E2 0E 00 [18:12:52]MH_I2C_Read... [18:12:52]Read from MH i2c: E2 0E 00 74 2C 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 3E [18:12:52]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [18:12:52]wFMCommunicate OK [18:12:52]SAM_PROTO_GetShiftState done [18:12:52]FM_GetShiftState done [18:12:52]req_shift_opened done [18:12:52]requested_item shift.open_date is exist - process it [18:12:52]req_shift_open_date [18:12:52]req_shift_open_date done [18:12:52]produce_requested_data done [18:12:52]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22301,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297} [18:12:52]process_action_free close_receipt [18:12:52]json_value_free [18:12:52]json_value_free done [18:12:52]process_json_proto returns [18:12:52]Send response to host [18:12:52]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22301,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297}}} [18:12:52]free response buf [18:12:52]execute_script done [18:12:52]execute_script returns [18:12:52]free content buf [18:12:52]Sock 9.Close socket [18:12:52]Sock 9.Thread stoped [18:12:55]OFD Sender: No OFD packet to send [18:13:00]OFD Sender: No OFD packet to send [18:13:05]OFD Sender: No OFD packet to send [18:13:10]OFD Sender: No OFD packet to send [18:13:15]OFD Sender: No OFD packet to send [18:13:20]OFD Sender: No OFD packet to send [18:13:25]OFD Sender: No OFD packet to send [18:13:30]OFD Sender: No OFD packet to send [18:13:35]OFD Sender: No OFD packet to send [18:13:40]OFD Sender: No OFD packet to send [18:13:45]OFD Sender: No OFD packet to send [18:13:50]OFD Sender: No OFD packet to send [18:13:55]OFD Sender: No OFD packet to send [18:14:00]OFD Sender: No OFD packet to send [18:14:05]OFD Sender: No OFD packet to send [18:14:10]OFD Sender: No OFD packet to send [18:14:15]OFD Sender: No OFD packet to send [18:14:20]OFD Sender: No OFD packet to send [18:14:25]OFD Sender: No OFD packet to send [18:14:30]OFD Sender: No OFD packet to send [18:14:35]OFD Sender: No OFD packet to send [18:14:40]OFD Sender: No OFD packet to send [18:14:45]OFD Sender: No OFD packet to send [18:14:50]OFD Sender: No OFD packet to send [18:14:55]OFD Sender: No OFD packet to send [18:15:00]OFD Sender: No OFD packet to send [18:15:05]OFD Sender: No OFD packet to send [18:15:10]OFD Sender: No OFD packet to send [18:15:15]OFD Sender: No OFD packet to send [18:15:20]OFD Sender: No OFD packet to send [18:15:25]OFD Sender: No OFD packet to send [18:15:30]OFD Sender: No OFD packet to send [18:15:35]OFD Sender: No OFD packet to send [18:15:40]OFD Sender: No OFD packet to send [18:15:45]OFD Sender: No OFD packet to send [18:15:50]OFD Sender: No OFD packet to send [18:15:55]OFD Sender: No OFD packet to send [18:16:00]OFD Sender: No OFD packet to send [18:16:06]OFD Sender: No OFD packet to send [18:16:11]OFD Sender: No OFD packet to send [18:16:16]OFD Sender: No OFD packet to send [18:16:21]OFD Sender: No OFD packet to send [18:16:26]OFD Sender: No OFD packet to send [18:16:31]OFD Sender: No OFD packet to send [18:16:36]OFD Sender: No OFD packet to send [18:16:41]OFD Sender: No OFD packet to send [18:16:46]OFD Sender: No OFD packet to send [18:16:51]OFD Sender: No OFD packet to send [18:16:56]OFD Sender: No OFD packet to send [18:17:01]OFD Sender: No OFD packet to send [18:17:06]OFD Sender: No OFD packet to send [18:17:11]OFD Sender: No OFD packet to send [18:17:16]OFD Sender: No OFD packet to send [18:17:21]OFD Sender: No OFD packet to send [18:17:26]OFD Sender: No OFD packet to send [18:17:31]OFD Sender: No OFD packet to send [18:17:36]OFD Sender: No OFD packet to send [18:17:41]OFD Sender: No OFD packet to send [18:17:46]OFD Sender: No OFD packet to send [18:17:51]OFD Sender: No OFD packet to send [18:17:56]OFD Sender: No OFD packet to send [18:18:01]OFD Sender: No OFD packet to send [18:18:06]OFD Sender: No OFD packet to send [18:18:11]OFD Sender: No OFD packet to send [18:18:16]OFD Sender: No OFD packet to send [18:18:21]OFD Sender: No OFD packet to send [18:18:26]OFD Sender: No OFD packet to send [18:18:31]OFD Sender: No OFD packet to send [18:18:36]OFD Sender: No OFD packet to send [18:18:41]OFD Sender: No OFD packet to send [18:18:46]OFD Sender: No OFD packet to send [18:18:51]OFD Sender: No OFD packet to send [18:18:56]OFD Sender: No OFD packet to send [18:19:01]OFD Sender: No OFD packet to send [18:19:06]OFD Sender: No OFD packet to send [18:19:11]OFD Sender: No OFD packet to send [18:19:16]OFD Sender: No OFD packet to send [18:19:21]OFD Sender: No OFD packet to send [18:19:26]OFD Sender: No OFD packet to send [18:19:31]OFD Sender: No OFD packet to send [18:19:36]OFD Sender: No OFD packet to send [18:19:41]OFD Sender: No OFD packet to send [18:19:46]OFD Sender: No OFD packet to send [18:19:51]OFD Sender: No OFD packet to send [18:19:56]OFD Sender: No OFD packet to send [18:20:01]OFD Sender: No OFD packet to send [18:20:06]OFD Sender: No OFD packet to send [18:20:11]OFD Sender: No OFD packet to send [18:20:16]OFD Sender: No OFD packet to send [18:20:21]OFD Sender: No OFD packet to send [18:20:26]OFD Sender: No OFD packet to send [18:20:31]OFD Sender: No OFD packet to send [18:20:36]OFD Sender: No OFD packet to send [18:20:41]OFD Sender: No OFD packet to send [18:20:46]OFD Sender: No OFD packet to send [18:20:51]OFD Sender: No OFD packet to send [18:20:56]OFD Sender: No OFD packet to send [18:21:01]OFD Sender: No OFD packet to send [18:21:06]OFD Sender: No OFD packet to send [18:21:11]OFD Sender: No OFD packet to send [18:21:16]OFD Sender: No OFD packet to send [18:21:21]OFD Sender: No OFD packet to send [18:21:26]OFD Sender: No OFD packet to send [18:21:31]OFD Sender: No OFD packet to send [18:21:36]OFD Sender: No OFD packet to send [18:21:41]OFD Sender: No OFD packet to send [18:21:46]OFD Sender: No OFD packet to send [18:21:51]OFD Sender: No OFD packet to send [18:21:56]OFD Sender: No OFD packet to send [18:22:01]OFD Sender: No OFD packet to send [18:22:06]OFD Sender: No OFD packet to send [18:22:11]OFD Sender: No OFD packet to send [18:22:16]OFD Sender: No OFD packet to send [18:22:21]OFD Sender: No OFD packet to send [18:22:26]OFD Sender: No OFD packet to send [18:22:31]OFD Sender: No OFD packet to send [18:22:36]OFD Sender: No OFD packet to send [18:22:41]OFD Sender: No OFD packet to send [18:22:46]OFD Sender: No OFD packet to send [18:22:51]OFD Sender: No OFD packet to send [18:22:56]OFD Sender: No OFD packet to send [18:23:01]OFD Sender: No OFD packet to send [18:23:06]OFD Sender: No OFD packet to send [18:23:11]OFD Sender: No OFD packet to send [18:23:16]OFD Sender: No OFD packet to send [18:23:21]OFD Sender: No OFD packet to send [18:23:26]OFD Sender: No OFD packet to send [18:23:31]OFD Sender: No OFD packet to send [18:23:36]OFD Sender: No OFD packet to send [18:23:41]OFD Sender: No OFD packet to send [18:23:46]OFD Sender: No OFD packet to send [18:23:51]OFD Sender: No OFD packet to send [18:23:56]OFD Sender: No OFD packet to send [18:24:01]OFD Sender: No OFD packet to send [18:24:06]OFD Sender: No OFD packet to send [18:24:11]OFD Sender: No OFD packet to send [18:24:16]OFD Sender: No OFD packet to send [18:24:21]OFD Sender: No OFD packet to send [18:24:26]OFD Sender: No OFD packet to send [18:24:31]OFD Sender: No OFD packet to send [18:24:36]OFD Sender: No OFD packet to send [18:24:41]OFD Sender: No OFD packet to send [18:24:46]OFD Sender: No OFD packet to send [18:24:51]OFD Sender: No OFD packet to send [18:24:56]OFD Sender: No OFD packet to send [18:25:01]OFD Sender: No OFD packet to send [18:25:06]OFD Sender: No OFD packet to send [18:25:11]OFD Sender: No OFD packet to send [18:25:16]OFD Sender: No OFD packet to send [18:25:21]OFD Sender: No OFD packet to send [18:25:26]OFD Sender: No OFD packet to send [18:25:31]OFD Sender: No OFD packet to send [18:25:36]OFD Sender: No OFD packet to send [18:25:41]OFD Sender: No OFD packet to send [18:25:46]OFD Sender: No OFD packet to send [18:25:51]OFD Sender: No OFD packet to send [18:25:56]OFD Sender: No OFD packet to send [18:26:01]OFD Sender: No OFD packet to send [18:26:06]OFD Sender: No OFD packet to send [18:26:11]OFD Sender: No OFD packet to send [18:26:16]OFD Sender: No OFD packet to send [18:26:21]OFD Sender: No OFD packet to send [18:26:26]OFD Sender: No OFD packet to send [18:26:31]OFD Sender: No OFD packet to send [18:26:36]OFD Sender: No OFD packet to send [18:26:41]OFD Sender: No OFD packet to send [18:26:46]OFD Sender: No OFD packet to send [18:26:51]OFD Sender: No OFD packet to send [18:26:56]OFD Sender: No OFD packet to send [18:27:01]OFD Sender: No OFD packet to send [18:27:06]OFD Sender: No OFD packet to send [18:27:11]OFD Sender: No OFD packet to send [18:27:16]OFD Sender: No OFD packet to send [18:27:21]OFD Sender: No OFD packet to send [18:27:26]OFD Sender: No OFD packet to send [18:27:31]OFD Sender: No OFD packet to send [18:27:36]OFD Sender: No OFD packet to send [18:27:41]OFD Sender: No OFD packet to send [18:27:46]OFD Sender: No OFD packet to send [18:27:51]OFD Sender: No OFD packet to send [18:27:56]OFD Sender: No OFD packet to send [18:28:01]OFD Sender: No OFD packet to send [18:28:06]OFD Sender: No OFD packet to send [18:28:11]OFD Sender: No OFD packet to send [18:28:16]OFD Sender: No OFD packet to send [18:28:21]OFD Sender: No OFD packet to send [18:28:26]OFD Sender: No OFD packet to send [18:28:31]OFD Sender: No OFD packet to send [18:28:36]OFD Sender: No OFD packet to send [18:28:41]OFD Sender: No OFD packet to send [18:28:46]OFD Sender: No OFD packet to send [18:28:51]OFD Sender: No OFD packet to send [18:28:56]OFD Sender: No OFD packet to send [18:29:01]OFD Sender: No OFD packet to send [18:29:06]OFD Sender: No OFD packet to send [18:29:11]OFD Sender: No OFD packet to send [18:29:16]OFD Sender: No OFD packet to send [18:29:21]OFD Sender: No OFD packet to send [18:29:26]OFD Sender: No OFD packet to send [18:29:31]OFD Sender: No OFD packet to send [18:29:36]OFD Sender: No OFD packet to send [18:29:41]OFD Sender: No OFD packet to send [18:29:46]OFD Sender: No OFD packet to send [18:29:51]OFD Sender: No OFD packet to send [18:29:56]OFD Sender: No OFD packet to send [18:30:01]OFD Sender: No OFD packet to send [18:30:06]OFD Sender: No OFD packet to send [18:30:11]OFD Sender: No OFD packet to send [18:30:16]OFD Sender: No OFD packet to send [18:30:21]OFD Sender: No OFD packet to send [18:30:26]OFD Sender: No OFD packet to send [18:30:31]OFD Sender: No OFD packet to send [18:30:36]OFD Sender: No OFD packet to send [18:30:41]OFD Sender: No OFD packet to send [18:30:46]OFD Sender: No OFD packet to send [18:30:51]OFD Sender: No OFD packet to send [18:30:56]OFD Sender: No OFD packet to send [18:31:01]OFD Sender: No OFD packet to send [18:31:06]OFD Sender: No OFD packet to send [18:31:11]OFD Sender: No OFD packet to send [18:31:16]OFD Sender: No OFD packet to send [18:31:21]OFD Sender: No OFD packet to send [18:31:26]OFD Sender: No OFD packet to send [18:31:31]OFD Sender: No OFD packet to send [18:31:36]OFD Sender: No OFD packet to send [18:31:41]OFD Sender: No OFD packet to send [18:31:46]OFD Sender: No OFD packet to send [18:31:51]OFD Sender: No OFD packet to send [18:31:56]OFD Sender: No OFD packet to send [18:32:01]OFD Sender: No OFD packet to send [18:32:06]OFD Sender: No OFD packet to send [18:32:11]OFD Sender: No OFD packet to send [18:32:16]OFD Sender: No OFD packet to send [18:32:21]OFD Sender: No OFD packet to send [18:32:26]OFD Sender: No OFD packet to send [18:32:31]OFD Sender: No OFD packet to send [18:32:36]OFD Sender: No OFD packet to send [18:32:41]OFD Sender: No OFD packet to send [18:32:46]OFD Sender: No OFD packet to send [18:32:51]OFD Sender: No OFD packet to send [18:32:56]OFD Sender: No OFD packet to send [18:33:01]OFD Sender: No OFD packet to send [18:33:06]OFD Sender: No OFD packet to send [18:33:11]OFD Sender: No OFD packet to send [18:33:16]OFD Sender: No OFD packet to send [18:33:21]OFD Sender: No OFD packet to send [18:33:26]OFD Sender: No OFD packet to send [18:33:31]OFD Sender: No OFD packet to send [18:33:36]OFD Sender: No OFD packet to send [18:33:41]OFD Sender: No OFD packet to send [18:33:46]OFD Sender: No OFD packet to send [18:33:51]OFD Sender: No OFD packet to send [18:33:56]OFD Sender: No OFD packet to send [18:34:01]OFD Sender: No OFD packet to send [18:34:06]OFD Sender: No OFD packet to send [18:34:11]OFD Sender: No OFD packet to send [18:34:16]OFD Sender: No OFD packet to send [18:34:21]OFD Sender: No OFD packet to send [18:34:26]OFD Sender: No OFD packet to send [18:34:31]OFD Sender: No OFD packet to send [18:34:36]OFD Sender: No OFD packet to send [18:34:41]OFD Sender: No OFD packet to send [18:34:46]OFD Sender: No OFD packet to send [18:34:51]OFD Sender: No OFD packet to send [18:34:56]OFD Sender: No OFD packet to send [18:35:01]OFD Sender: No OFD packet to send [18:35:06]OFD Sender: No OFD packet to send [18:35:11]OFD Sender: No OFD packet to send [18:35:16]OFD Sender: No OFD packet to send [18:35:21]OFD Sender: No OFD packet to send [18:35:26]OFD Sender: No OFD packet to send [18:35:31]OFD Sender: No OFD packet to send [18:35:36]OFD Sender: No OFD packet to send [18:35:41]OFD Sender: No OFD packet to send [18:35:46]OFD Sender: No OFD packet to send [18:35:51]OFD Sender: No OFD packet to send [18:35:56]OFD Sender: No OFD packet to send [18:36:01]OFD Sender: No OFD packet to send [18:36:06]OFD Sender: No OFD packet to send [18:36:11]OFD Sender: No OFD packet to send [18:36:16]OFD Sender: No OFD packet to send [18:36:21]OFD Sender: No OFD packet to send [18:36:26]OFD Sender: No OFD packet to send [18:36:31]OFD Sender: No OFD packet to send [18:36:36]OFD Sender: No OFD packet to send [18:36:41]OFD Sender: No OFD packet to send [18:36:46]OFD Sender: No OFD packet to send [18:36:51]OFD Sender: No OFD packet to send [18:36:56]OFD Sender: No OFD packet to send [18:37:01]OFD Sender: No OFD packet to send [18:37:06]OFD Sender: No OFD packet to send [18:37:11]OFD Sender: No OFD packet to send [18:37:16]OFD Sender: No OFD packet to send [18:37:21]OFD Sender: No OFD packet to send [18:37:26]OFD Sender: No OFD packet to send [18:37:31]OFD Sender: No OFD packet to send [18:37:37]OFD Sender: No OFD packet to send [18:37:42]OFD Sender: No OFD packet to send [18:37:47]OFD Sender: No OFD packet to send [18:37:52]OFD Sender: No OFD packet to send [18:37:57]OFD Sender: No OFD packet to send [18:38:02]OFD Sender: No OFD packet to send [18:38:07]OFD Sender: No OFD packet to send [18:38:12]OFD Sender: No OFD packet to send [18:38:17]OFD Sender: No OFD packet to send [18:38:22]OFD Sender: No OFD packet to send [18:38:27]OFD Sender: No OFD packet to send [18:38:32]OFD Sender: No OFD packet to send [18:38:37]OFD Sender: No OFD packet to send [18:38:42]OFD Sender: No OFD packet to send [18:38:47]OFD Sender: No OFD packet to send [18:38:52]OFD Sender: No OFD packet to send [18:38:57]OFD Sender: No OFD packet to send [18:39:02]OFD Sender: No OFD packet to send [18:39:07]OFD Sender: No OFD packet to send [18:39:12]OFD Sender: No OFD packet to send [18:39:17]OFD Sender: No OFD packet to send [18:39:22]OFD Sender: No OFD packet to send [18:39:27]OFD Sender: No OFD packet to send [18:39:32]OFD Sender: No OFD packet to send [18:39:37]OFD Sender: No OFD packet to send [18:39:42]OFD Sender: No OFD packet to send [18:39:47]OFD Sender: No OFD packet to send [18:39:52]OFD Sender: No OFD packet to send [18:39:57]OFD Sender: No OFD packet to send [18:40:02]OFD Sender: No OFD packet to send [18:40:07]OFD Sender: No OFD packet to send [18:40:12]OFD Sender: No OFD packet to send [18:40:17]OFD Sender: No OFD packet to send [18:40:22]OFD Sender: No OFD packet to send [18:40:27]OFD Sender: No OFD packet to send [18:40:32]OFD Sender: No OFD packet to send [18:40:37]OFD Sender: No OFD packet to send [18:40:42]OFD Sender: No OFD packet to send [18:40:47]OFD Sender: No OFD packet to send [18:40:52]OFD Sender: No OFD packet to send [18:40:57]OFD Sender: No OFD packet to send [18:41:02]OFD Sender: No OFD packet to send [18:41:07]OFD Sender: No OFD packet to send [18:41:12]OFD Sender: No OFD packet to send [18:41:17]OFD Sender: No OFD packet to send [18:41:22]OFD Sender: No OFD packet to send [18:41:27]OFD Sender: No OFD packet to send [18:41:32]OFD Sender: No OFD packet to send [18:41:37]OFD Sender: No OFD packet to send [18:41:42]OFD Sender: No OFD packet to send [18:41:47]OFD Sender: No OFD packet to send [18:41:52]OFD Sender: No OFD packet to send [18:41:57]OFD Sender: No OFD packet to send [18:42:02]OFD Sender: No OFD packet to send [18:42:07]OFD Sender: No OFD packet to send [18:42:12]OFD Sender: No OFD packet to send [18:42:17]OFD Sender: No OFD packet to send [18:42:22]OFD Sender: No OFD packet to send [18:42:27]OFD Sender: No OFD packet to send [18:42:32]OFD Sender: No OFD packet to send [18:42:37]OFD Sender: No OFD packet to send [18:42:42]OFD Sender: No OFD packet to send [18:42:47]OFD Sender: No OFD packet to send [18:42:52]OFD Sender: No OFD packet to send [18:42:57]OFD Sender: No OFD packet to send [18:43:02]OFD Sender: No OFD packet to send [18:43:07]OFD Sender: No OFD packet to send [18:43:12]OFD Sender: No OFD packet to send [18:43:17]OFD Sender: No OFD packet to send [18:43:22]OFD Sender: No OFD packet to send [18:43:27]OFD Sender: No OFD packet to send [18:43:32]OFD Sender: No OFD packet to send [18:43:37]OFD Sender: No OFD packet to send [18:43:42]OFD Sender: No OFD packet to send [18:43:47]OFD Sender: No OFD packet to send [18:43:52]OFD Sender: No OFD packet to send [18:43:57]OFD Sender: No OFD packet to send [18:44:02]OFD Sender: No OFD packet to send [18:44:07]OFD Sender: No OFD packet to send [18:44:12]OFD Sender: No OFD packet to send [18:44:17]OFD Sender: No OFD packet to send [18:44:22]OFD Sender: No OFD packet to send [18:44:27]OFD Sender: No OFD packet to send [18:44:32]OFD Sender: No OFD packet to send [18:44:37]OFD Sender: No OFD packet to send [18:44:42]OFD Sender: No OFD packet to send [18:44:47]OFD Sender: No OFD packet to send [18:44:52]OFD Sender: No OFD packet to send [18:44:57]OFD Sender: No OFD packet to send [18:45:02]OFD Sender: No OFD packet to send [18:45:07]OFD Sender: No OFD packet to send [18:45:12]OFD Sender: No OFD packet to send [18:45:17]OFD Sender: No OFD packet to send [18:45:22]OFD Sender: No OFD packet to send [18:45:27]OFD Sender: No OFD packet to send [18:45:32]OFD Sender: No OFD packet to send [18:45:37]OFD Sender: No OFD packet to send [18:45:42]OFD Sender: No OFD packet to send [18:45:47]OFD Sender: No OFD packet to send [18:45:52]OFD Sender: No OFD packet to send [18:45:57]OFD Sender: No OFD packet to send [18:46:02]OFD Sender: No OFD packet to send [18:46:07]OFD Sender: No OFD packet to send [18:46:12]OFD Sender: No OFD packet to send [18:46:17]OFD Sender: No OFD packet to send [18:46:22]OFD Sender: No OFD packet to send [18:46:27]OFD Sender: No OFD packet to send [18:46:32]OFD Sender: No OFD packet to send [18:46:37]OFD Sender: No OFD packet to send [18:46:42]OFD Sender: No OFD packet to send [18:46:47]OFD Sender: No OFD packet to send [18:46:52]OFD Sender: No OFD packet to send [18:46:57]OFD Sender: No OFD packet to send [18:47:02]OFD Sender: No OFD packet to send [18:47:07]OFD Sender: No OFD packet to send [18:47:12]OFD Sender: No OFD packet to send [18:47:17]OFD Sender: No OFD packet to send [18:47:22]OFD Sender: No OFD packet to send [18:47:27]OFD Sender: No OFD packet to send [18:47:32]OFD Sender: No OFD packet to send [18:47:37]OFD Sender: No OFD packet to send [18:47:42]OFD Sender: No OFD packet to send [18:47:47]OFD Sender: No OFD packet to send [18:47:52]OFD Sender: No OFD packet to send [18:47:57]OFD Sender: No OFD packet to send [18:48:02]OFD Sender: No OFD packet to send [18:48:07]OFD Sender: No OFD packet to send [18:48:12]OFD Sender: No OFD packet to send [18:48:17]OFD Sender: No OFD packet to send [18:48:20]accept exits with 8 [18:48:20]New connection [18:48:20]New thread 3066838372 created [18:48:20]Thread 3066695012 joined [18:48:20]Waiting for new connection... [18:48:20] Sock 8.Parse request [18:48:20]Sock 8.Check first char [18:48:20]Sock 8.First char is OK [18:48:20]request: POST /json_proto HTTP/1.0 [18:48:20]Method: POST [18:48:20]URL: /json_proto [18:48:20]Method is POST - this is cgi request [18:48:20]url: /json_proto [18:48:20]query_string will be loaded in cgi processing [18:48:20]execute_cgi json_proto POST (null) [18:48:20]execute_cgi path=json_proto method=POST [18:48:20]POST find Content-Length [18:48:20]Host: 172.17.35.133:8080 [18:48:20]Content-Length: 1979 [18:48:20]Content-Type: application/json [18:48:20] [18:48:20]POST finish read [18:48:20]Found Content-Length = 1979 [18:48:20]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254515", "tax_sys" : 0, "items" : [ { "code": "4700000483297", "name": "\u042D\u043D\u0435\u0440\u0433\u0435\u0442\u0438\u0447\u0435\u0441\u043A\u0438\u0439 \u043D\u0430\u043F\u0438\u0442\u043E\u043A Nitro \u0410\u043D\u0430\u043D\u0430\u0441-\u0433\u0443\u0430\u0432", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000481972", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u0433\u0440\u0435\u0439\u043F\u0444\u0440\u0443\u0442-\u043C\u0430\u0440\u0430\u043A\u0443\u0439\u044F 0", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000481453", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro Max 0,45 \u0436/\u0431", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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 }]} ,{ "code": "4700000480302", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u043C\u0430\u043D\u0433\u043E-\u043A\u043B\u0443\u0431 0.45 \u0436/\u0431", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 465.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:48:20]execute_script... [18:48: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)254515", "tax_sys" : 0, "items" : [ { "code": "4700000483297", "name": "\u042D\u043D\u0435\u0440\u0433\u0435\u0442\u0438\u0447\u0435\u0441\u043A\u0438\u0439 \u043D\u0430\u043F\u0438\u0442\u043E\u043A Nitro \u0410\u043D\u0430\u043D\u0430\u0441-\u0433\u0443\u0430\u0432", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000481972", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u0433\u0440\u0435\u0439\u043F\u0444\u0440\u0443\u0442-\u043C\u0430\u0440\u0430\u043A\u0443\u0439\u044F 0", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000481453", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro Max 0,45 \u0436/\u0431", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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 }]} ,{ "code": "4700000480302", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u043C\u0430\u043D\u0433\u043E-\u043A\u043B\u0443\u0431 0.45 \u0436/\u0431", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 465.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:48:20]POST & json_proto [18:48:20]process_json_proto [18:48:20]json parsed OK: [18:48:20]protocol is kg_v1.0 [18:48:20]action value=close_receipt [18:48:20]process_action close_receipt [18:48:20]cmd_close_receipt [18:48:20]MH_GetDate [18:48:20]Write to MH i2c: F0 00 00 75 2C 90 [18:48:20]Write i2c OK [18:48:20]MH_I2C_Read... [18:48:20]Read from MH i2c: F0 [18:48:20]MH_I2C_Read... [18:48:20]Read from MH i2c: F0 09 00 [18:48:20]MH_I2C_Read... [18:48:20]Read from MH i2c: F0 09 00 75 2C 00 7E 33 6F 66 8C 55 28 65 8D [18:48:20]GetLastDocTimeStamp 1718561577 [18:48:20]current date 1718563710 [18:48:20]FM_GetShiftState [18:48:20]SAM_PROTO_GetShiftState [18:48:20]wFMCommunicate request_size=4 [18:48:20]MH_SAM_APDU [18:48:20]CAPDU: 80 13 01 00 [18:48:20]Write to MH i2c: E2 08 00 76 2C 80 13 01 00 00 00 00 00 1F [18:48:20]Write i2c OK [18:48:20]MH_I2C_Read... [18:48:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:48:20]Read from MH i2c: E2 [18:48:20]MH_I2C_Read... [18:48:20]Read from MH i2c: E2 0E 00 [18:48:20]MH_I2C_Read... [18:48:20]Read from MH i2c: E2 0E 00 76 2C 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 40 [18:48:20]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [18:48:20]wFMCommunicate OK [18:48:20]SAM_PROTO_GetShiftState done [18:48:20]FM_GetShiftState done [18:48:20]opened in 1718497297 [18:48:20]opened+sec_in_day 1718583697 [18:48:20]quantity*price = 9500 [18:48:20]sum+1 = 9501 [18:48:20]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000481972 Напиток энерг Nitro грейпфрут-маракуйя 0 1.000 * 95.00 = 95.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700000481453 Напиток энерг Nitro Max 0,45 ж/б 1.000 * 85.00 = 85.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700000480050 Напиток Nitro Energy эн green ж/б 0,45л 1.000 * 95.00 = 95.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700000480302 Напиток энерг Nitro манго-клуб 0.45 ж/б 1.000 * 95.00 = 95.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 465.00 НСП 1% : 4.11 НДС 12% : 49.39 Наличными: 465.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 67 16.06.2024 18:48 Смена: 327 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22302 ФПД: 67847929704664 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T184830&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22302&fm=67847929704664&tin=02508201610067®Number=0000000000099755&sum=46500 0 [18:48:21]StoreToDocumentArchive [18:48:21]shift 327 fd 22302 [18:48:21]save to /storage/0327/doc_00022302 [18:48:21]save last doc name /storage/0327/doc_00022302 to /storage/kkm_last_doc_name [18:48:21]save OK [18:48:21]Clear old archive folders... [18:48:21]ProcessDocumentItem done err = 0, tmpTLVsize=829 [18:48:21]tlvbuf is 002D5D80 [18:48:21]SAM_PROTO_ClearQueue [18:48:21]wFMCommunicate request_size=4 [18:48:21]MH_SAM_APDU [18:48:21]CAPDU: 80 09 00 00 [18:48:21]Write to MH i2c: E2 08 00 83 2C 80 09 00 00 00 00 00 00 21 [18:48:21]Write i2c OK [18:48:21]MH_I2C_Read... [18:48:22]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:48:22]Read from MH i2c: E2 [18:48:22]MH_I2C_Read... [18:48:22]Read from MH i2c: E2 03 00 [18:48:22]MH_I2C_Read... [18:48:22]Read from MH i2c: E2 03 00 83 2C 00 90 00 23 [18:48:22]RAPDU: 90 00 [18:48:22]wFMCommunicate OK [18:48:22]SAM_PROTO_ClearQueue done [18:48:22]KKMCreateOFDPacket [18:48:22]OFDProtocolAddRootSTLVToBuf [18:48:22]FM_MakeSignedData [18:48:22]FM_MakeSignedData [18:48:22]SAM_PROTO_SignData [18:48:22]wFMCommunicate request_size=4 [18:48:22]MH_SAM_APDU [18:48:22]CAPDU: 80 0D 01 02 [18:48:22]Write to MH i2c: E2 08 00 84 2C 80 0D 01 02 00 00 00 00 29 [18:48:22]Write i2c OK [18:48:22]MH_I2C_Read... [18:48:22]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:48:22]Read from MH i2c: E2 [18:48:22]MH_I2C_Read... [18:48:22]Read from MH i2c: E2 03 00 [18:48:22]MH_I2C_Read... [18:48:22]Read from MH i2c: E2 03 00 84 2C 00 90 00 24 [18:48:22]RAPDU: 90 00 [18:48:22]wFMCommunicate OK [18:48:22]wFMCommunicate request_size=255 [18:48:22]MH_SAM_APDU [18:48:22]CAPDU: 80 0D 02 02 FA 03 00 3D 03 1E 04 01 00 01 23 04 8B 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 33 32 39 37 06 04 47 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 D0 B5 D1 82 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 D0 90 D0 BD D0 B0 D0 BD D0 B0 D1 81 2D D0 B3 D1 83 D0 B0 D0 B2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 89 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 39 37 32 06 04 45 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 B3 D1 80 D0 B5 D0 B9 D0 BF D1 84 D1 80 D1 83 D1 82 2D D0 BC D0 B0 D1 80 D0 B0 D0 BA D1 83 D0 B9 D1 8F 20 30 FF 03 08 00 [18:48:22]Write to MH i2c: E2 02 01 85 2C 80 0D 02 02 FA 00 03 00 3D 03 1E 04 01 00 01 23 04 8B 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 33 32 39 37 06 04 47 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 D0 B5 D1 82 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 D0 90 D0 BD D0 B0 D0 BD D0 B0 D1 81 2D D0 B3 D1 83 D0 B0 D0 B2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 89 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 39 37 32 06 04 45 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 B3 D1 80 D0 B5 D0 B9 D0 BF D1 84 D1 80 D1 83 D1 82 2D D0 BC D0 B0 D1 80 D0 B0 D0 BA D1 83 D0 B9 D1 8F 20 30 FF 03 08 00 00 00 E3 [18:48:22]Write i2c OK [18:48:22]MH_I2C_Read... [18:48:22]OFD Sender: No OFD packet to send [18:48:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:48:22]Read from MH i2c: E2 [18:48:22]MH_I2C_Read... [18:48:22]Read from MH i2c: E2 03 00 [18:48:22]MH_I2C_Read... [18:48:22]Read from MH i2c: E2 03 00 85 2C 00 90 00 25 [18:48:22]RAPDU: 90 00 [18:48:22]wFMCommunicate OK [18:48:22]wFMCommunicate request_size=255 [18:48:22]MH_SAM_APDU [18:48:22]CAPDU: 80 0D 02 02 FA 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 72 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 34 35 33 06 04 2E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 4D 61 78 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 [18:48:22]Write to MH i2c: E2 02 01 86 2C 80 0D 02 02 FA 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 72 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 34 35 33 06 04 2E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 4D 61 78 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 00 00 2F [18:48:22]Write i2c OK [18:48:22]MH_I2C_Read... [18:48:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:48:22]Read from MH i2c: E2 [18:48:22]MH_I2C_Read... [18:48:22]Read from MH i2c: E2 03 00 [18:48:22]MH_I2C_Read... [18:48:22]Read from MH i2c: E2 03 00 86 2C 00 90 00 26 [18:48:22]RAPDU: 90 00 [18:48:22]wFMCommunicate OK [18:48:22]wFMCommunicate request_size=255 [18:48:22]MH_SAM_APDU [18:48:22]CAPDU: 80 0D 02 02 FA 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 82 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 30 32 06 04 3E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BB D1 83 D0 B1 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A4 B5 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9B 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4B 13 00 00 00 00 07 04 06 00 A4 B5 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 [18:48:22]Write to MH i2c: E2 02 01 87 2C 80 0D 02 02 FA 00 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 82 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 30 32 06 04 3E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BB D1 83 D0 B1 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A4 B5 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9B 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4B 13 00 00 00 00 07 04 06 00 A4 B5 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 00 00 88 [18:48:22]Write i2c OK [18:48:22]MH_I2C_Read... [18:48:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:48:23]Read from MH i2c: E2 [18:48:23]MH_I2C_Read... [18:48:23]Read from MH i2c: E2 03 00 [18:48:23]MH_I2C_Read... [18:48:23]Read from MH i2c: E2 03 00 87 2C 00 90 00 27 [18:48:23]RAPDU: 90 00 [18:48:23]wFMCommunicate OK [18:48:23]wFMCommunicate request_size=88 [18:48:23]MH_SAM_APDU [18:48:23]CAPDU: 80 0D 02 02 53 43 00 00 00 F4 03 04 00 7E 33 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 1E 57 00 00 35 04 06 00 3D B5 13 BF B0 D8 [18:48:23]Write to MH i2c: E2 5B 00 88 2C 80 0D 02 02 53 00 43 00 00 00 F4 03 04 00 7E 33 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 1E 57 00 00 35 04 06 00 3D B5 13 BF B0 D8 00 00 55 [18:48:23]Write i2c OK [18:48:23]MH_I2C_Read... [18:48:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:48:23]Read from MH i2c: E2 [18:48:23]MH_I2C_Read... [18:48:23]Read from MH i2c: E2 03 00 [18:48:23]MH_I2C_Read... [18:48:23]Read from MH i2c: E2 03 00 88 2C 00 90 00 28 [18:48:23]RAPDU: 90 00 [18:48:23]wFMCommunicate OK [18:48:23]wFMCommunicate request_size=4 [18:48:23]MH_SAM_APDU [18:48:23]CAPDU: 80 0D 03 02 [18:48:23]Write to MH i2c: E2 08 00 89 2C 80 0D 03 02 00 00 00 00 30 [18:48:23]Write i2c OK [18:48:23]MH_I2C_Read... [18:48:23]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:48:23]Read from MH i2c: E2 [18:48:23]MH_I2C_Read... [18:48:23]Read from MH i2c: E2 0B 00 [18:48:23]MH_I2C_Read... [18:48:23]Read from MH i2c: E2 0B 00 89 2C 00 B9 E8 37 5F B6 CD DC 69 90 00 30 [18:48:23]RAPDU: B9 E8 37 5F B6 CD DC 69 90 00 [18:48:23]wFMCommunicate OK [18:48:23]SAM_PROTO_SignData done [18:48:23]FM_MakeSignedData done [18:48:23]CreateOFDProtocolMessage [18:48:23]wFMCommunicate request_size=4 [18:48:23]MH_SAM_APDU [18:48:23]CAPDU: 80 11 00 00 [18:48:23]Write to MH i2c: E2 08 00 8A 2C 80 11 00 00 00 00 00 00 30 [18:48:23]Write i2c OK [18:48:23]MH_I2C_Read... [18:48:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:48:23]Read from MH i2c: E2 [18:48:23]MH_I2C_Read... [18:48:23]Read from MH i2c: E2 17 00 [18:48:23]MH_I2C_Read... [18:48:23]Read from MH i2c: E2 17 00 8A 2C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 82 [18:48:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [18:48:23]wFMCommunicate OK [18:48:23]CreateOFDProtocolMessage done [18:48:23]OFDSenderStorePacket 22302 [18:48:23]StoreOFDPacket docnum=22302 [18:48:23]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 51 03 00 00 AE 04 49 03 D5 42 5A 03 01 00 03 00 3D 03 1E 04 01 00 01 23 04 8B 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 33 32 39 37 06 04 47 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 D0 B5 D1 82 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 D0 90 D0 BD D0 B0 D0 BD D0 B0 D1 81 2D D0 B3 D1 83 D0 B0 D0 B2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 89 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 39 37 32 06 04 45 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 B3 D1 80 D0 B5 D0 B9 D0 BF D1 84 D1 80 D1 83 D1 82 2D D0 BC D0 B0 D1 80 D0 B0 D0 BA D1 83 D0 B9 D1 8F 20 30 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 72 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 34 35 33 06 04 2E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 4D 61 78 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 82 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 30 32 06 04 3E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BB D1 83 D0 B1 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A4 B5 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9B 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4B 13 00 00 00 00 07 04 06 00 A4 B5 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 43 00 00 00 F4 03 04 00 7E 33 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 1E 57 00 00 35 04 06 00 3D B5 13 BF B0 D8 B9 E8 37 5F B6 CD DC 69 [18:48:23]CheckFolder [18:48:23]dirname=/storage/ofd_packets [18:48:23]CheckFolder done [18:48:23]ProducePacketName [18:48:23]name=ofd_packets/00022302 [18:48:23]NVStorageSaveData ofd_packets/00022302 [18:48:23]File name is /storage/ofd_packets/00022302 [18:48:23]Write 879 bytes [18:48:23]NVStorageSaveData done [18:48:23]OFDSenderStorePacket done [18:48:23]KKMCreateOFDPacket done [18:48:23]NVStorageSaveData kkm_last_timestamp [18:48:23]File name is /storage/kkm_last_timestamp [18:48:23]Write 4 bytes [18:48:23]NVStorageSaveData done [18:48:23]ExternCall_PrintAddStr [18:48:23]wPrintStart [18:48:23]Write to MH i2c: 01 00 00 8B 2C B7 [18:48:23]Write i2c OK [18:48:23]MH_I2C_Read... [18:48:23]Read from MH i2c: 01 [18:48:23]MH_I2C_Read... [18:48:23]Read from MH i2c: 01 07 00 [18:48:23]MH_I2C_Read... [18:48:23]Read from MH i2c: 01 07 00 8B 2C 00 00 00 00 00 FF 0F CC [18:48:23]RasterBufferAndPrint [18:48:23]line Счет N : (3)254515 [18:48:23]line ИНН: 02508201610067 [18:48:23]line Контрольно-Кассовый Чек [18:48:23]line ПРОДАЖА [18:48:23]line Товар: 4700000483297 [18:48:23]line Энергетический напиток Nitro Ананас-гуав [18:48:23]line 1.000 * 95.00 [18:48:23]line = 95.00 [18:48:23]line НДС 12% НСП 1% [18:48:23]line > о реализуемом товаре [18:48:23]line Товар: 4700000481972 [18:48:23]line Напиток энерг Nitro грейпфрут-маракуйя 0 [18:48:23]line 1.000 * 95.00 [18:48:23]line = 95.00 [18:48:23]line НДС 12% НСП 1% [18:48:23]line > о реализуемом товаре [18:48:23]line Товар: 4700000481453 [18:48:23]line Напиток энерг Nitro Max 0,45 ж/б [18:48:23]line 1.000 * 85.00 [18:48:23]line = 85.00 [18:48:23]line НДС 12% НСП 1% [18:48:23]line > о реализуемом товаре [18:48:23]line Товар: 4700000480050 [18:48:23]line Напиток Nitro Energy эн green ж/б 0,45л [18:48:23]line 1.000 * 95.00 [18:48:23]line = 95.00 [18:48:23]line НДС 12% НСП 1% [18:48:23]line > о реализуемом товаре [18:48:23]line Товар: 4700000480302 [18:48:23]line Напиток энерг Nitro манго-клуб 0.45 ж/б [18:48:23]line 1.000 * 95.00 [18:48:23]line = 95.00 [18:48:23]line НДС 12% НСП 1% [18:48:23]line > о реализуемом товаре [18:48:23]line ИТОГО: 465.00 [18:48:23]line НСП 1% : 4.11 [18:48:23]line НДС 12% : 49.39 [18:48:23]line Наличными: 465.00 [18:48:23]line Безнал.: 0.00 [18:48:23]line Место: АЗС № 76 "Партнер Нефть" [18:48:23]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [18:48:23]line СНО: Общий режим [18:48:23]line Чек 67 16.06.2024 18:48 [18:48:23]line Смена: 327 ФФД: 1.0 [18:48:23]line ЗНМ: 0300000200 [18:48:23]line РНМ: 0000000000099755 [18:48:23]line Версия ККМ: 001 [18:48:23]line ФМ: 0000000000965344 [18:48:23]line ФД: 22302 [18:48:23]line ФПД: 67847929704664 [18:48:23]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T184830&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22302&fm=67847929704664&tin=02508201610067®Number=0000000000099755&sum=46500 [18:48:23]line 0 [18:48:23]OFD Sender: Processing packet 22302 [packets to send 5, broken 4] [18:48:23]ProducePacketName [18:48:23]name=ofd_packets/00022302 [18:48:23]OFD Sender: To server: pG, [18:48:23]CommunicateWithHost lk.salyk.kg:30040 [18:48:23]ConnectInit lk.salyk.kg [18:48:23]written 0, free lines is 4095 [18:48:23]Connected sock=10 [18:48:23]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 51 03 00 00 AE 04 49 03 D5 42 5A 03 01 00 03 00 3D 03 1E 04 01 00 01 23 04 8B 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 33 32 39 37 06 04 47 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 D0 B5 D1 82 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 D0 90 D0 BD D0 B0 D0 BD D0 B0 D1 81 2D D0 B3 D1 83 D0 B0 D0 B2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 89 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 39 37 32 06 04 45 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 B3 D1 80 D0 B5 D0 B9 D0 BF D1 84 D1 80 D1 83 D1 82 2D D0 BC D0 B0 D1 80 D0 B0 D0 BA D1 83 D0 B9 D1 8F 20 30 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 72 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 34 35 33 06 04 2E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 4D 61 78 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 82 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 30 32 06 04 3E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BB D1 83 D0 B1 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A4 B5 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9B 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4B 13 00 00 00 00 07 04 06 00 A4 B5 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 43 00 00 00 F4 03 04 00 7E 33 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 1E 57 00 00 35 04 06 00 3D B5 13 BF B0 D8 B9 E8 37 5F B6 CD DC 69 [18:48:24]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 32 89 47 00 54 91 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 1E 57 00 00 F4 03 04 00 38 DC 6E 66 B6 04 01 00 00 51 E0 D8 E5 0C 49 3A 81 [18:48:24]CommunicateWithHost err = 0 [18:48:24]CheckOFDResponse [18:48:24]1017 (14) - 77093643461234 [18:48:24]1041 (16) - 0000000000965344 [18:48:24]1040 (4) - 22302 [18:48:24]1012 (4) - 16.06.2024 12:36 [18:48:24]1206 (1) - 0 [18:48:24]OFD Sender: Remove packet 22302 [18:48:24]ProducePacketName [18:48:24]name=ofd_packets/00022302 [18:48:24]NVStorageDeleteData [18:48:24]Write to MH i2c: 01 00 00 D0 2C FC [18:48:24]Write i2c OK [18:48:24]MH_I2C_Read... [18:48:24]Read from MH i2c: 01 [18:48:24]MH_I2C_Read... [18:48:24]Read from MH i2c: 01 07 00 [18:48:24]MH_I2C_Read... [18:48:24]Read from MH i2c: 01 07 00 D0 2C 00 00 00 00 00 C0 0B CE [18:48:24]RasterBufferAndPrint [18:48:24]line [18:48:24]line [18:48:24]line [18:48:24]line [18:48:24]line [18:48:24]written 0, free lines is 3020 [18:48:24]MH_Cut [18:48:24]Write to MH i2c: D1 01 00 D7 2C 01 D5 [18:48:24]Write i2c OK [18:48:24]MH_I2C_Read... [18:48:24]Read from MH i2c: D1 [18:48:24]MH_I2C_Read... [18:48:24]Read from MH i2c: D1 01 00 [18:48:24]MH_I2C_Read... [18:48:24]Read from MH i2c: D1 01 00 D7 2C 00 D4 [18:48:24]Write to MH i2c: 01 00 00 D8 2C 04 [18:48:24]Write i2c OK [18:48:24]MH_I2C_Read... [18:48:24]OFD Sender: No OFD packet to send [18:48:25]*** Cut start [18:48:25]*** Partial cut [18:48:25]*** CUTSNS_PIN = 1 [18:48:25]*** CUTSNS_PIN = 0 [18:48:25]*** Brake cut motor [18:48:26]Read from MH i2c: 01 [18:48:26]MH_I2C_Read... [18:48:26]*** Stop cut motor [18:48:26]*** Cut end [18:48:26]Read from MH i2c: 01 07 00 [18:48:26]MH_I2C_Read... [18:48:26]Read from MH i2c: 01 07 00 D8 2C 00 00 00 00 00 FF 0F 19 [18:48:26]process_action close_receipt done [18:48:26]requested_data is exist [18:48:26]produce_requested_data [18:48:26]requested_item fm.sn is exist - process it [18:48:26]wFMCommunicate request_size=4 [18:48:26]MH_SAM_APDU [18:48:26]CAPDU: 80 11 00 00 [18:48:26]Write to MH i2c: E2 08 00 D9 2C 80 11 00 00 00 00 00 00 7F [18:48:26]Write i2c OK [18:48:26]MH_I2C_Read... [18:48:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:48:26]Read from MH i2c: E2 [18:48:26]MH_I2C_Read... [18:48:26]Read from MH i2c: E2 17 00 [18:48:26]MH_I2C_Read... [18:48:26]Read from MH i2c: E2 17 00 D9 2C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 D1 [18:48:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [18:48:26]wFMCommunicate OK [18:48:26]requested_item fd.num is exist - process it [18:48:26]SAM_PROTO_GetFieldsCounters [18:48:26]wFMCommunicate request_size=4 [18:48:26]MH_SAM_APDU [18:48:26]CAPDU: 80 13 00 00 [18:48:26]Write to MH i2c: E2 08 00 DA 2C 80 13 00 00 00 00 00 00 82 [18:48:26]Write i2c OK [18:48:26]MH_I2C_Read... [18:48:26]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:48:26]Read from MH i2c: E2 [18:48:26]MH_I2C_Read... [18:48:26]Read from MH i2c: E2 62 00 [18:48:26]MH_I2C_Read... [18:48:26]Read from MH i2c: E2 62 00 DA 2C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 1E 57 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 43 00 00 00 5E 04 04 00 43 00 00 00 57 04 04 00 44 00 00 00 19 04 04 00 00 00 00 00 90 00 32 [18:48:26]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 1E 57 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 43 00 00 00 5E 04 04 00 43 00 00 00 57 04 04 00 44 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:48:26]wFMCommunicate OK [18:48:26]SAM_PROTO_GetFieldsCounters done [18:48:26]requested_item shift.num is exist - process it [18:48:26]requested_item shift.opened is exist - process it [18:48:26]req_shift_opened [18:48:26]FM_GetShiftState [18:48:26]SAM_PROTO_GetShiftState [18:48:26]wFMCommunicate request_size=4 [18:48:26]MH_SAM_APDU [18:48:26]CAPDU: 80 13 01 00 [18:48:26]Write to MH i2c: E2 08 00 DB 2C 80 13 01 00 00 00 00 00 84 [18:48:26]Write i2c OK [18:48:26]MH_I2C_Read... [18:48:26]Read from MH i2c: E2 [18:48:26]MH_I2C_Read... [18:48:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:48:26]Read from MH i2c: E2 0E 00 [18:48:26]MH_I2C_Read... [18:48:26]Read from MH i2c: E2 0E 00 DB 2C 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 A5 [18:48:26]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [18:48:26]wFMCommunicate OK [18:48:26]SAM_PROTO_GetShiftState done [18:48:26]FM_GetShiftState done [18:48:26]req_shift_opened done [18:48:26]requested_item shift.open_date is exist - process it [18:48:26]req_shift_open_date [18:48:26]req_shift_open_date done [18:48:26]produce_requested_data done [18:48:26]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22302,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297} [18:48:26]process_action_free close_receipt [18:48:26]json_value_free [18:48:26]json_value_free done [18:48:26]process_json_proto returns [18:48:26]Send response to host [18:48:26]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22302,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297}}} [18:48:26]free response buf [18:48:26]execute_script done [18:48:26]execute_script returns [18:48:26]free content buf [18:48:26]Sock 8.Close socket [18:48:26]Sock 8.Thread stoped [18:48:29]OFD Sender: No OFD packet to send [18:48:34]OFD Sender: No OFD packet to send [18:48:39]OFD Sender: No OFD packet to send [18:48:44]OFD Sender: No OFD packet to send [18:48:49]OFD Sender: No OFD packet to send [18:48:54]OFD Sender: No OFD packet to send [18:48:59]OFD Sender: No OFD packet to send [18:49:04]OFD Sender: No OFD packet to send [18:49:09]OFD Sender: No OFD packet to send [18:49:14]OFD Sender: No OFD packet to send [18:49:19]OFD Sender: No OFD packet to send [18:49:24]OFD Sender: No OFD packet to send [18:49:29]OFD Sender: No OFD packet to send [18:49:34]OFD Sender: No OFD packet to send [18:49:39]OFD Sender: No OFD packet to send [18:49:44]OFD Sender: No OFD packet to send [18:49:49]OFD Sender: No OFD packet to send [18:49:54]OFD Sender: No OFD packet to send [18:49:59]OFD Sender: No OFD packet to send [18:50:04]OFD Sender: No OFD packet to send [18:50:09]OFD Sender: No OFD packet to send [18:50:14]OFD Sender: No OFD packet to send [18:50:19]OFD Sender: No OFD packet to send [18:50:24]OFD Sender: No OFD packet to send [18:50:29]OFD Sender: No OFD packet to send [18:50:34]OFD Sender: No OFD packet to send [18:50:39]OFD Sender: No OFD packet to send [18:50:44]OFD Sender: No OFD packet to send [18:50:49]OFD Sender: No OFD packet to send [18:50:54]OFD Sender: No OFD packet to send [18:50:59]OFD Sender: No OFD packet to send [18:51:04]OFD Sender: No OFD packet to send [18:51:09]OFD Sender: No OFD packet to send [18:51:14]OFD Sender: No OFD packet to send [18:51:19]OFD Sender: No OFD packet to send [18:51:24]OFD Sender: No OFD packet to send [18:51:29]OFD Sender: No OFD packet to send [18:51:34]OFD Sender: No OFD packet to send [18:51:39]OFD Sender: No OFD packet to send [18:51:44]OFD Sender: No OFD packet to send [18:51:49]OFD Sender: No OFD packet to send [18:51:54]OFD Sender: No OFD packet to send [18:51:59]OFD Sender: No OFD packet to send [18:52:04]OFD Sender: No OFD packet to send [18:52:09]OFD Sender: No OFD packet to send [18:52:14]OFD Sender: No OFD packet to send [18:52:19]OFD Sender: No OFD packet to send [18:52:24]OFD Sender: No OFD packet to send [18:52:29]OFD Sender: No OFD packet to send [18:52:34]OFD Sender: No OFD packet to send [18:52:39]OFD Sender: No OFD packet to send [18:52:44]OFD Sender: No OFD packet to send [18:52:49]OFD Sender: No OFD packet to send [18:52:54]OFD Sender: No OFD packet to send [18:52:59]OFD Sender: No OFD packet to send [18:53:04]OFD Sender: No OFD packet to send [18:53:09]OFD Sender: No OFD packet to send [18:53:14]OFD Sender: No OFD packet to send [18:53:19]OFD Sender: No OFD packet to send [18:53:24]OFD Sender: No OFD packet to send [18:53:29]OFD Sender: No OFD packet to send [18:53:34]OFD Sender: No OFD packet to send [18:53:39]OFD Sender: No OFD packet to send [18:53:44]OFD Sender: No OFD packet to send [18:53:49]OFD Sender: No OFD packet to send [18:53:54]OFD Sender: No OFD packet to send [18:53:59]OFD Sender: No OFD packet to send [18:54:04]OFD Sender: No OFD packet to send [18:54:09]OFD Sender: No OFD packet to send [18:54:14]OFD Sender: No OFD packet to send [18:54:19]OFD Sender: No OFD packet to send [18:54:24]OFD Sender: No OFD packet to send [18:54:29]OFD Sender: No OFD packet to send [18:54:34]OFD Sender: No OFD packet to send [18:54:39]OFD Sender: No OFD packet to send [18:54:44]OFD Sender: No OFD packet to send [18:54:49]OFD Sender: No OFD packet to send [18:54:54]OFD Sender: No OFD packet to send [18:54:59]OFD Sender: No OFD packet to send [18:55:04]OFD Sender: No OFD packet to send [18:55:09]OFD Sender: No OFD packet to send [18:55:14]OFD Sender: No OFD packet to send [18:55:19]OFD Sender: No OFD packet to send [18:55:24]OFD Sender: No OFD packet to send [18:55:29]OFD Sender: No OFD packet to send [18:55:34]OFD Sender: No OFD packet to send [18:55:40]OFD Sender: No OFD packet to send [18:55:45]OFD Sender: No OFD packet to send [18:55:50]OFD Sender: No OFD packet to send [18:55:55]OFD Sender: No OFD packet to send [18:56:00]OFD Sender: No OFD packet to send [18:56:05]OFD Sender: No OFD packet to send [18:56:10]OFD Sender: No OFD packet to send [18:56:15]OFD Sender: No OFD packet to send [18:56:20]OFD Sender: No OFD packet to send [18:56:25]OFD Sender: No OFD packet to send [18:56:30]OFD Sender: No OFD packet to send [18:56:35]OFD Sender: No OFD packet to send [18:56:40]OFD Sender: No OFD packet to send [18:56:45]OFD Sender: No OFD packet to send [18:56:50]OFD Sender: No OFD packet to send [18:56:55]OFD Sender: No OFD packet to send [18:57:00]OFD Sender: No OFD packet to send [18:57:05]OFD Sender: No OFD packet to send [18:57:10]OFD Sender: No OFD packet to send [18:57:15]OFD Sender: No OFD packet to send [18:57:20]OFD Sender: No OFD packet to send [18:57:25]OFD Sender: No OFD packet to send [18:57:30]OFD Sender: No OFD packet to send [18:57:35]OFD Sender: No OFD packet to send [18:57:40]OFD Sender: No OFD packet to send [18:57:45]OFD Sender: No OFD packet to send [18:57:50]OFD Sender: No OFD packet to send [18:57:55]OFD Sender: No OFD packet to send [18:58:00]OFD Sender: No OFD packet to send [18:58:05]OFD Sender: No OFD packet to send [18:58:10]OFD Sender: No OFD packet to send [18:58:15]OFD Sender: No OFD packet to send [18:58:20]OFD Sender: No OFD packet to send [18:58:25]OFD Sender: No OFD packet to send [18:58:30]OFD Sender: No OFD packet to send [18:58:35]OFD Sender: No OFD packet to send [18:58:40]OFD Sender: No OFD packet to send [18:58:45]OFD Sender: No OFD packet to send [18:58:50]OFD Sender: No OFD packet to send [18:58:55]OFD Sender: No OFD packet to send [18:59:00]OFD Sender: No OFD packet to send [18:59:05]OFD Sender: No OFD packet to send [18:59:10]OFD Sender: No OFD packet to send [18:59:15]OFD Sender: No OFD packet to send [18:59:20]OFD Sender: No OFD packet to send [18:59:25]OFD Sender: No OFD packet to send [18:59:30]OFD Sender: No OFD packet to send [18:59:35]OFD Sender: No OFD packet to send [18:59:40]OFD Sender: No OFD packet to send [18:59:45]OFD Sender: No OFD packet to send [18:59:50]OFD Sender: No OFD packet to send [18:59:55]OFD Sender: No OFD packet to send [19:00:00]OFD Sender: No OFD packet to send [19:00:05]OFD Sender: No OFD packet to send [19:00:10]OFD Sender: No OFD packet to send [19:00:15]OFD Sender: No OFD packet to send [19:00:20]OFD Sender: No OFD packet to send [19:00:25]OFD Sender: No OFD packet to send [19:00:30]OFD Sender: No OFD packet to send [19:00:35]OFD Sender: No OFD packet to send [19:00:40]OFD Sender: No OFD packet to send [19:00:45]OFD Sender: No OFD packet to send [19:00:48]accept exits with 9 [19:00:48]New connection [19:00:48]New thread 3066695012 created [19:00:48]Thread 3066838372 joined [19:00:48]Waiting for new connection... [19:00:48] Sock 9.Parse request [19:00:48]Sock 9.Check first char [19:00:48]Sock 9.First char is OK [19:00:48]request: POST /json_proto HTTP/1.0 [19:00:48]Method: POST [19:00:48]URL: /json_proto [19:00:48]Method is POST - this is cgi request [19:00:48]url: /json_proto [19:00:48]query_string will be loaded in cgi processing [19:00:48]execute_cgi json_proto POST (null) [19:00:48]execute_cgi path=json_proto method=POST [19:00:48]POST find Content-Length [19:00:48]Host: 172.17.35.133:8080 [19:00:48]Content-Length: 925 [19:00:48]Content-Type: application/json [19:00:48] [19:00:48]POST finish read [19:00:48]Found Content-Length = 925 [19:00:48]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254516", "tax_sys" : 0, "items" : [ { "code": "5449000054227", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 1\u043B", "price" : 113.00, "quantity" : 1.000, "sum" : 113.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "8590042701239", "name": "\u0421\u0430\u043B\u0444\u0435\u0442\u043A\u0438 \u0432\u043B\u0430\u0436\u043D\u044B\u0435 VOK", "price" : 36.00, "quantity" : 1.000, "sum" : 36.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 149.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:00:48]execute_script... [19:00:48]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254516", "tax_sys" : 0, "items" : [ { "code": "5449000054227", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 1\u043B", "price" : 113.00, "quantity" : 1.000, "sum" : 113.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "8590042701239", "name": "\u0421\u0430\u043B\u0444\u0435\u0442\u043A\u0438 \u0432\u043B\u0430\u0436\u043D\u044B\u0435 VOK", "price" : 36.00, "quantity" : 1.000, "sum" : 36.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 149.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:00:48]POST & json_proto [19:00:48]process_json_proto [19:00:48]json parsed OK: [19:00:48]protocol is kg_v1.0 [19:00:48]action value=close_receipt [19:00:48]process_action close_receipt [19:00:48]cmd_close_receipt [19:00:48]MH_GetDate [19:00:48]Write to MH i2c: F0 00 00 DC 2C F7 [19:00:48]Write i2c OK [19:00:48]MH_I2C_Read... [19:00:48]Read from MH i2c: F0 [19:00:48]MH_I2C_Read... [19:00:48]Read from MH i2c: F0 09 00 [19:00:48]MH_I2C_Read... [19:00:48]Read from MH i2c: F0 09 00 DC 2C 00 6A 36 6F 66 8C 55 28 65 E3 [19:00:48]GetLastDocTimeStamp 1718563710 [19:00:48]current date 1718564458 [19:00:48]FM_GetShiftState [19:00:48]SAM_PROTO_GetShiftState [19:00:48]wFMCommunicate request_size=4 [19:00:48]MH_SAM_APDU [19:00:48]CAPDU: 80 13 01 00 [19:00:48]Write to MH i2c: E2 08 00 DD 2C 80 13 01 00 00 00 00 00 86 [19:00:48]Write i2c OK [19:00:48]MH_I2C_Read... [19:00:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:00:48]Read from MH i2c: E2 [19:00:48]MH_I2C_Read... [19:00:48]Read from MH i2c: E2 0E 00 [19:00:48]MH_I2C_Read... [19:00:48]Read from MH i2c: E2 0E 00 DD 2C 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 A7 [19:00:48]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [19:00:48]wFMCommunicate OK [19:00:48]SAM_PROTO_GetShiftState done [19:00:48]FM_GetShiftState done [19:00:48]opened in 1718497297 [19:00:48]opened+sec_in_day 1718583697 [19:00:48]quantity*price = 11300 [19:00:48]sum+1 = 11301 [19:00:48]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 8590042701239 Салфетки влажные VOK 1.000 * 36.00 = 36.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 149.00 НСП 1% : 1.32 НДС 12% : 15.82 Наличными: 149.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 68 16.06.2024 19:00 Смена: 327 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22303 ФПД: 112110266791121 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T190058&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22303&fm=112110266791121&tin=02508201610067®Number=0000000000099755&sum=14900 0 [19:00:49]StoreToDocumentArchive [19:00:49]shift 327 fd 22303 [19:00:49]save to /storage/0327/doc_00022303 [19:00:49]save last doc name /storage/0327/doc_00022303 to /storage/kkm_last_doc_name [19:00:49]save OK [19:00:49]Clear old archive folders... [19:00:49]ProcessDocumentItem done err = 0, tmpTLVsize=385 [19:00:49]tlvbuf is 0020AAB0 [19:00:49]SAM_PROTO_ClearQueue [19:00:49]wFMCommunicate request_size=4 [19:00:49]MH_SAM_APDU [19:00:49]CAPDU: 80 09 00 00 [19:00:49]Write to MH i2c: E2 08 00 EA 2C 80 09 00 00 00 00 00 00 88 [19:00:49]Write i2c OK [19:00:49]MH_I2C_Read... [19:00:49]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:00:49]Read from MH i2c: E2 [19:00:49]MH_I2C_Read... [19:00:49]Read from MH i2c: E2 03 00 [19:00:49]MH_I2C_Read... [19:00:49]Read from MH i2c: E2 03 00 EA 2C 00 90 00 8A [19:00:49]RAPDU: 90 00 [19:00:49]wFMCommunicate OK [19:00:49]SAM_PROTO_ClearQueue done [19:00:49]KKMCreateOFDPacket [19:00:49]OFDProtocolAddRootSTLVToBuf [19:00:49]FM_MakeSignedData [19:00:49]FM_MakeSignedData [19:00:49]SAM_PROTO_SignData [19:00:49]wFMCommunicate request_size=4 [19:00:49]MH_SAM_APDU [19:00:49]CAPDU: 80 0D 01 02 [19:00:49]Write to MH i2c: E2 08 00 EB 2C 80 0D 01 02 00 00 00 00 90 [19:00:49]Write i2c OK [19:00:49]MH_I2C_Read... [19:00:49]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:00:50]Read from MH i2c: E2 [19:00:50]MH_I2C_Read... [19:00:50]Read from MH i2c: E2 03 00 [19:00:50]MH_I2C_Read... [19:00:50]Read from MH i2c: E2 03 00 EB 2C 00 90 00 8B [19:00:50]RAPDU: 90 00 [19:00:50]wFMCommunicate OK [19:00:50]wFMCommunicate request_size=255 [19:00:50]MH_SAM_APDU [19:00:50]CAPDU: 80 0D 02 02 FA 03 00 81 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 2C 00 00 00 00 13 04 06 00 24 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 67 00 8A 04 0D 00 38 35 39 30 30 34 32 37 30 31 32 33 39 06 04 23 00 D0 A1 D0 B0 D0 BB D1 84 D0 B5 D1 82 D0 BA D0 B8 20 D0 B2 D0 BB D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 56 4F 4B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 0E 00 00 00 00 13 04 06 00 10 0E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 [19:00:50]Write to MH i2c: E2 02 01 EC 2C 80 0D 02 02 FA 00 03 00 81 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 2C 00 00 00 00 13 04 06 00 24 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 67 00 8A 04 0D 00 38 35 39 30 30 34 32 37 30 31 32 33 39 06 04 23 00 D0 A1 D0 B0 D0 BB D1 84 D0 B5 D1 82 D0 BA D0 B8 20 D0 B2 D0 BB D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 56 4F 4B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 0E 00 00 00 00 13 04 06 00 10 0E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 96 [19:00:50]Write i2c OK [19:00:50]MH_I2C_Read... [19:00:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:00:50]Read from MH i2c: E2 [19:00:50]MH_I2C_Read... [19:00:50]Read from MH i2c: E2 03 00 [19:00:50]MH_I2C_Read... [19:00:50]Read from MH i2c: E2 03 00 EC 2C 00 90 00 8C [19:00:50]RAPDU: 90 00 [19:00:50]wFMCommunicate OK [19:00:50]wFMCommunicate request_size=144 [19:00:50]MH_SAM_APDU [19:00:50]CAPDU: 80 0D 02 02 8B 00 84 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2E 06 00 00 00 00 07 04 06 00 34 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 6A 36 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 1F 57 00 00 35 04 06 00 65 F6 B4 A0 B4 D1 [19:00:50]Write to MH i2c: E2 93 00 ED 2C 80 0D 02 02 8B 00 00 84 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2E 06 00 00 00 00 07 04 06 00 34 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 6A 36 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 1F 57 00 00 35 04 06 00 65 F6 B4 A0 B4 D1 00 00 B0 [19:00:50]OFD Sender: No OFD packet to send [19:00:50]Write i2c OK [19:00:50]MH_I2C_Read... [19:00:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:00:50]Read from MH i2c: E2 [19:00:50]MH_I2C_Read... [19:00:50]Read from MH i2c: E2 03 00 [19:00:50]MH_I2C_Read... [19:00:50]Read from MH i2c: E2 03 00 ED 2C 00 90 00 8D [19:00:50]RAPDU: 90 00 [19:00:50]wFMCommunicate OK [19:00:50]wFMCommunicate request_size=4 [19:00:50]MH_SAM_APDU [19:00:50]CAPDU: 80 0D 03 02 [19:00:50]Write to MH i2c: E2 08 00 EE 2C 80 0D 03 02 00 00 00 00 95 [19:00:50]Write i2c OK [19:00:50]MH_I2C_Read... [19:00:50]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:00:50]Read from MH i2c: E2 [19:00:50]MH_I2C_Read... [19:00:50]Read from MH i2c: E2 0B 00 [19:00:50]MH_I2C_Read... [19:00:50]Read from MH i2c: E2 0B 00 EE 2C 00 5E 40 B7 74 12 C8 48 78 90 00 F9 [19:00:50]RAPDU: 5E 40 B7 74 12 C8 48 78 90 00 [19:00:50]wFMCommunicate OK [19:00:50]SAM_PROTO_SignData done [19:00:50]FM_MakeSignedData done [19:00:50]CreateOFDProtocolMessage [19:00:50]wFMCommunicate request_size=4 [19:00:50]MH_SAM_APDU [19:00:50]CAPDU: 80 11 00 00 [19:00:50]Write to MH i2c: E2 08 00 EF 2C 80 11 00 00 00 00 00 00 95 [19:00:50]Write i2c OK [19:00:50]MH_I2C_Read... [19:00:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:00:50]Read from MH i2c: E2 [19:00:50]MH_I2C_Read... [19:00:50]Read from MH i2c: E2 17 00 [19:00:50]MH_I2C_Read... [19:00:50]Read from MH i2c: E2 17 00 EF 2C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 E7 [19:00:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [19:00:50]wFMCommunicate OK [19:00:50]CreateOFDProtocolMessage done [19:00:50]OFDSenderStorePacket 22303 [19:00:50]StoreOFDPacket docnum=22303 [19:00:50]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 95 01 00 00 77 6C 8D 01 F3 6F 5A 03 01 00 03 00 81 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 2C 00 00 00 00 13 04 06 00 24 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 67 00 8A 04 0D 00 38 35 39 30 30 34 32 37 30 31 32 33 39 06 04 23 00 D0 A1 D0 B0 D0 BB D1 84 D0 B5 D1 82 D0 BA D0 B8 20 D0 B2 D0 BB D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 56 4F 4B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 0E 00 00 00 00 13 04 06 00 10 0E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 84 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2E 06 00 00 00 00 07 04 06 00 34 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 6A 36 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 1F 57 00 00 35 04 06 00 65 F6 B4 A0 B4 D1 5E 40 B7 74 12 C8 48 78 [19:00:50]CheckFolder [19:00:50]dirname=/storage/ofd_packets [19:00:50]CheckFolder done [19:00:50]ProducePacketName [19:00:50]name=ofd_packets/00022303 [19:00:50]NVStorageSaveData ofd_packets/00022303 [19:00:50]File name is /storage/ofd_packets/00022303 [19:00:50]Write 435 bytes [19:00:50]NVStorageSaveData done [19:00:50]OFDSenderStorePacket done [19:00:50]KKMCreateOFDPacket done [19:00:50]NVStorageSaveData kkm_last_timestamp [19:00:50]File name is /storage/kkm_last_timestamp [19:00:50]Write 4 bytes [19:00:50]NVStorageSaveData done [19:00:50]ExternCall_PrintAddStr [19:00:50]wPrintStart [19:00:50]Write to MH i2c: 01 00 00 F0 2C 1C [19:00:50]Write i2c OK [19:00:50]MH_I2C_Read... [19:00:50]Read from MH i2c: 01 [19:00:50]MH_I2C_Read... [19:00:50]Read from MH i2c: 01 07 00 [19:00:50]MH_I2C_Read... [19:00:50]Read from MH i2c: 01 07 00 F0 2C 00 00 00 00 00 FF 0F 31 [19:00:50]RasterBufferAndPrint [19:00:50]line Счет N : (3)254516 [19:00:50]line ИНН: 02508201610067 [19:00:50]line Контрольно-Кассовый Чек [19:00:50]line ПРОДАЖА [19:00:50]line Товар: 5449000054227 [19:00:50]line Напиток Кока-Кола 1л [19:00:50]line 1.000 * 113.00 [19:00:50]line = 113.00 [19:00:50]line НДС 12% НСП 1% [19:00:50]line > о реализуемом товаре [19:00:50]line Товар: 8590042701239 [19:00:50]line Салфетки влажные VOK [19:00:50]line 1.000 * 36.00 [19:00:50]line = 36.00 [19:00:50]line НДС 12% НСП 1% [19:00:50]line > о реализуемом товаре [19:00:50]line ИТОГО: 149.00 [19:00:50]line НСП 1% : 1.32 [19:00:50]line НДС 12% : 15.82 [19:00:50]line Наличными: 149.00 [19:00:50]line Безнал.: 0.00 [19:00:50]line Место: АЗС № 76 "Партнер Нефть" [19:00:50]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [19:00:50]line СНО: Общий режим [19:00:50]line Чек 68 16.06.2024 19:00 [19:00:50]line Смена: 327 ФФД: 1.0 [19:00:50]line ЗНМ: 0300000200 [19:00:50]line РНМ: 0000000000099755 [19:00:50]line Версия ККМ: 001 [19:00:50]line ФМ: 0000000000965344 [19:00:50]line ФД: 22303 [19:00:50]line ФПД: 112110266791121 [19:00:50]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T190058&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22303&fm=112110266791121&tin=02508201610067®Number=0000000000099755&sum=14900 [19:00:50]line 0 [19:00:50]OFD Sender: Processing packet 22303 [packets to send 5, broken 4] [19:00:50]ProducePacketName [19:00:50]name=ofd_packets/00022303 [19:00:50]OFD Sender: To server: pG, [19:00:50]CommunicateWithHost lk.salyk.kg:30040 [19:00:50]ConnectInit lk.salyk.kg [19:00:50]written 0, free lines is 4095 [19:00:50]Connected sock=10 [19:00:50]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 95 01 00 00 77 6C 8D 01 F3 6F 5A 03 01 00 03 00 81 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 2C 00 00 00 00 13 04 06 00 24 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 67 00 8A 04 0D 00 38 35 39 30 30 34 32 37 30 31 32 33 39 06 04 23 00 D0 A1 D0 B0 D0 BB D1 84 D0 B5 D1 82 D0 BA D0 B8 20 D0 B2 D0 BB D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 56 4F 4B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 0E 00 00 00 00 13 04 06 00 10 0E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 84 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2E 06 00 00 00 00 07 04 06 00 34 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 6A 36 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 1F 57 00 00 35 04 06 00 65 F6 B4 A0 B4 D1 5E 40 B7 74 12 C8 48 78 [19:00:51]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 20 E5 47 00 E1 8B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 1F 57 00 00 F4 03 04 00 24 DF 6E 66 B6 04 01 00 00 46 60 A5 FA 56 78 4F 7B [19:00:51]CommunicateWithHost err = 0 [19:00:51]CheckOFDResponse [19:00:51]1017 (14) - 77093643461234 [19:00:51]1041 (16) - 0000000000965344 [19:00:51]1040 (4) - 22303 [19:00:51]1012 (4) - 16.06.2024 12:48 [19:00:51]1206 (1) - 0 [19:00:51]OFD Sender: Remove packet 22303 [19:00:51]ProducePacketName [19:00:51]name=ofd_packets/00022303 [19:00:51]NVStorageDeleteData [19:00:51]Write to MH i2c: 01 00 00 1E 2D 4B [19:00:51]Write i2c OK [19:00:51]MH_I2C_Read... [19:00:51]Read from MH i2c: 01 [19:00:51]MH_I2C_Read... [19:00:51]Read from MH i2c: 01 07 00 [19:00:51]MH_I2C_Read... [19:00:51]Read from MH i2c: 01 07 00 1E 2D 00 00 00 00 00 DF 0C 3D [19:00:51]RasterBufferAndPrint [19:00:51]line [19:00:51]line [19:00:51]line [19:00:51]line [19:00:51]line [19:00:51]written 0, free lines is 3302 [19:00:51]MH_Cut [19:00:51]Write to MH i2c: D1 01 00 25 2D 01 24 [19:00:51]Write i2c OK [19:00:51]MH_I2C_Read... [19:00:51]Read from MH i2c: D1 [19:00:51]MH_I2C_Read... [19:00:51]Read from MH i2c: D1 01 00 [19:00:51]MH_I2C_Read... [19:00:51]Read from MH i2c: D1 01 00 25 2D 00 23 [19:00:51]Write to MH i2c: 01 00 00 26 2D 53 [19:00:51]Write i2c OK [19:00:51]MH_I2C_Read... [19:00:51]OFD Sender: No OFD packet to send [19:00:52]*** Cut start [19:00:52]*** Partial cut [19:00:52]*** CUTSNS_PIN = 1 [19:00:52]*** CUTSNS_PIN = 0 [19:00:52]*** Brake cut motor [19:00:52]Read from MH i2c: 01 [19:00:52]MH_I2C_Read... [19:00:52]*** Stop cut motor [19:00:52]*** Cut end [19:00:52]Read from MH i2c: 01 07 00 [19:00:52]MH_I2C_Read... [19:00:52]Read from MH i2c: 01 07 00 26 2D 00 00 00 00 00 FF 0F 68 [19:00:52]process_action close_receipt done [19:00:52]requested_data is exist [19:00:52]produce_requested_data [19:00:52]requested_item fm.sn is exist - process it [19:00:52]wFMCommunicate request_size=4 [19:00:52]MH_SAM_APDU [19:00:52]CAPDU: 80 11 00 00 [19:00:52]Write to MH i2c: E2 08 00 27 2D 80 11 00 00 00 00 00 00 CE [19:00:52]Write i2c OK [19:00:52]MH_I2C_Read... [19:00:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:00:52]Read from MH i2c: E2 [19:00:52]MH_I2C_Read... [19:00:52]Read from MH i2c: E2 17 00 [19:00:52]MH_I2C_Read... [19:00:52]Read from MH i2c: E2 17 00 27 2D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 20 [19:00:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [19:00:52]wFMCommunicate OK [19:00:52]requested_item fd.num is exist - process it [19:00:52]SAM_PROTO_GetFieldsCounters [19:00:52]wFMCommunicate request_size=4 [19:00:52]MH_SAM_APDU [19:00:52]CAPDU: 80 13 00 00 [19:00:52]Write to MH i2c: E2 08 00 28 2D 80 13 00 00 00 00 00 00 D1 [19:00:52]Write i2c OK [19:00:52]MH_I2C_Read... [19:00:52]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:00:52]Read from MH i2c: E2 [19:00:52]MH_I2C_Read... [19:00:52]Read from MH i2c: E2 62 00 [19:00:52]MH_I2C_Read... [19:00:52]Read from MH i2c: E2 62 00 28 2D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 1F 57 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 44 00 00 00 5E 04 04 00 44 00 00 00 57 04 04 00 45 00 00 00 19 04 04 00 00 00 00 00 90 00 85 [19:00:52]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 1F 57 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 44 00 00 00 5E 04 04 00 44 00 00 00 57 04 04 00 45 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:00:52]wFMCommunicate OK [19:00:52]SAM_PROTO_GetFieldsCounters done [19:00:52]requested_item shift.num is exist - process it [19:00:52]requested_item shift.opened is exist - process it [19:00:52]req_shift_opened [19:00:52]FM_GetShiftState [19:00:52]SAM_PROTO_GetShiftState [19:00:52]wFMCommunicate request_size=4 [19:00:52]MH_SAM_APDU [19:00:52]CAPDU: 80 13 01 00 [19:00:52]Write to MH i2c: E2 08 00 29 2D 80 13 01 00 00 00 00 00 D3 [19:00:52]Write i2c OK [19:00:52]MH_I2C_Read... [19:00:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:00:52]Read from MH i2c: E2 [19:00:52]MH_I2C_Read... [19:00:52]Read from MH i2c: E2 0E 00 [19:00:52]MH_I2C_Read... [19:00:52]Read from MH i2c: E2 0E 00 29 2D 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 F4 [19:00:52]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [19:00:52]wFMCommunicate OK [19:00:52]SAM_PROTO_GetShiftState done [19:00:52]FM_GetShiftState done [19:00:52]req_shift_opened done [19:00:52]requested_item shift.open_date is exist - process it [19:00:52]req_shift_open_date [19:00:52]req_shift_open_date done [19:00:52]produce_requested_data done [19:00:52]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22303,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297} [19:00:52]process_action_free close_receipt [19:00:52]json_value_free [19:00:52]json_value_free done [19:00:52]process_json_proto returns [19:00:52]Send response to host [19:00:52]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22303,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297}}} [19:00:52]free response buf [19:00:52]execute_script done [19:00:52]execute_script returns [19:00:52]free content buf [19:00:52]Sock 9.Close socket [19:00:52]Sock 9.Thread stoped [19:00:56]OFD Sender: No OFD packet to send [19:01:01]OFD Sender: No OFD packet to send [19:01:06]OFD Sender: No OFD packet to send [19:01:11]OFD Sender: No OFD packet to send [19:01:16]OFD Sender: No OFD packet to send [19:01:21]OFD Sender: No OFD packet to send [19:01:26]OFD Sender: No OFD packet to send [19:01:31]OFD Sender: No OFD packet to send [19:01:36]OFD Sender: No OFD packet to send [19:01:41]OFD Sender: No OFD packet to send [19:01:46]OFD Sender: No OFD packet to send [19:01:51]OFD Sender: No OFD packet to send [19:01:56]OFD Sender: No OFD packet to send [19:02:01]OFD Sender: No OFD packet to send [19:02:06]OFD Sender: No OFD packet to send [19:02:11]OFD Sender: No OFD packet to send [19:02:16]OFD Sender: No OFD packet to send [19:02:21]OFD Sender: No OFD packet to send [19:02:26]OFD Sender: No OFD packet to send [19:02:31]OFD Sender: No OFD packet to send [19:02:36]OFD Sender: No OFD packet to send [19:02:41]OFD Sender: No OFD packet to send [19:02:46]OFD Sender: No OFD packet to send [19:02:51]OFD Sender: No OFD packet to send [19:02:56]OFD Sender: No OFD packet to send [19:03:01]OFD Sender: No OFD packet to send [19:03:06]OFD Sender: No OFD packet to send [19:03:11]OFD Sender: No OFD packet to send [19:03:16]OFD Sender: No OFD packet to send [19:03:21]OFD Sender: No OFD packet to send [19:03:26]OFD Sender: No OFD packet to send [19:03:31]OFD Sender: No OFD packet to send [19:03:36]OFD Sender: No OFD packet to send [19:03:41]OFD Sender: No OFD packet to send [19:03:46]OFD Sender: No OFD packet to send [19:03:51]OFD Sender: No OFD packet to send [19:03:56]OFD Sender: No OFD packet to send [19:04:01]OFD Sender: No OFD packet to send [19:04:06]OFD Sender: No OFD packet to send [19:04:11]OFD Sender: No OFD packet to send [19:04:16]OFD Sender: No OFD packet to send [19:04:21]OFD Sender: No OFD packet to send [19:04:26]OFD Sender: No OFD packet to send [19:04:31]OFD Sender: No OFD packet to send [19:04:36]OFD Sender: No OFD packet to send [19:04:41]OFD Sender: No OFD packet to send [19:04:46]OFD Sender: No OFD packet to send [19:04:51]OFD Sender: No OFD packet to send [19:04:56]OFD Sender: No OFD packet to send [19:05:01]OFD Sender: No OFD packet to send [19:05:06]OFD Sender: No OFD packet to send [19:05:11]OFD Sender: No OFD packet to send [19:05:16]OFD Sender: No OFD packet to send [19:05:21]OFD Sender: No OFD packet to send [19:05:26]OFD Sender: No OFD packet to send [19:05:31]OFD Sender: No OFD packet to send [19:05:36]OFD Sender: No OFD packet to send [19:05:41]OFD Sender: No OFD packet to send [19:05:46]OFD Sender: No OFD packet to send [19:05:51]OFD Sender: No OFD packet to send [19:05:56]OFD Sender: No OFD packet to send [19:06:01]OFD Sender: No OFD packet to send [19:06:06]OFD Sender: No OFD packet to send [19:06:11]OFD Sender: No OFD packet to send [19:06:16]OFD Sender: No OFD packet to send [19:06:21]OFD Sender: No OFD packet to send [19:06:26]OFD Sender: No OFD packet to send [19:06:31]OFD Sender: No OFD packet to send [19:06:36]OFD Sender: No OFD packet to send [19:06:41]OFD Sender: No OFD packet to send [19:06:46]OFD Sender: No OFD packet to send [19:06:51]OFD Sender: No OFD packet to send [19:06:56]OFD Sender: No OFD packet to send [19:07:01]OFD Sender: No OFD packet to send [19:07:06]OFD Sender: No OFD packet to send [19:07:11]OFD Sender: No OFD packet to send [19:07:16]OFD Sender: No OFD packet to send [19:07:21]OFD Sender: No OFD packet to send [19:07:27]OFD Sender: No OFD packet to send [19:07:32]OFD Sender: No OFD packet to send [19:07:37]OFD Sender: No OFD packet to send [19:07:42]OFD Sender: No OFD packet to send [19:07:47]OFD Sender: No OFD packet to send [19:07:52]OFD Sender: No OFD packet to send [19:07:57]OFD Sender: No OFD packet to send [19:08:02]OFD Sender: No OFD packet to send [19:08:07]OFD Sender: No OFD packet to send [19:08:12]OFD Sender: No OFD packet to send [19:08:17]OFD Sender: No OFD packet to send [19:08:22]OFD Sender: No OFD packet to send [19:08:27]OFD Sender: No OFD packet to send [19:08:32]OFD Sender: No OFD packet to send [19:08:37]OFD Sender: No OFD packet to send [19:08:42]OFD Sender: No OFD packet to send [19:08:47]OFD Sender: No OFD packet to send [19:08:52]OFD Sender: No OFD packet to send [19:08:57]OFD Sender: No OFD packet to send [19:09:02]OFD Sender: No OFD packet to send [19:09:07]OFD Sender: No OFD packet to send [19:09:12]OFD Sender: No OFD packet to send [19:09:17]OFD Sender: No OFD packet to send [19:09:22]OFD Sender: No OFD packet to send [19:09:27]OFD Sender: No OFD packet to send [19:09:32]OFD Sender: No OFD packet to send [19:09:37]OFD Sender: No OFD packet to send [19:09:42]OFD Sender: No OFD packet to send [19:09:47]OFD Sender: No OFD packet to send [19:09:52]OFD Sender: No OFD packet to send [19:09:57]OFD Sender: No OFD packet to send [19:10:02]OFD Sender: No OFD packet to send [19:10:07]OFD Sender: No OFD packet to send [19:10:12]OFD Sender: No OFD packet to send [19:10:17]OFD Sender: No OFD packet to send [19:10:22]OFD Sender: No OFD packet to send [19:10:27]OFD Sender: No OFD packet to send [19:10:32]OFD Sender: No OFD packet to send [19:10:37]OFD Sender: No OFD packet to send [19:10:42]OFD Sender: No OFD packet to send [19:10:47]OFD Sender: No OFD packet to send [19:10:52]OFD Sender: No OFD packet to send [19:10:57]OFD Sender: No OFD packet to send [19:11:02]OFD Sender: No OFD packet to send [19:11:07]OFD Sender: No OFD packet to send [19:11:12]OFD Sender: No OFD packet to send [19:11:17]OFD Sender: No OFD packet to send [19:11:22]OFD Sender: No OFD packet to send [19:11:27]OFD Sender: No OFD packet to send [19:11:32]OFD Sender: No OFD packet to send [19:11:37]OFD Sender: No OFD packet to send [19:11:42]OFD Sender: No OFD packet to send [19:11:47]OFD Sender: No OFD packet to send [19:11:52]OFD Sender: No OFD packet to send [19:11:57]OFD Sender: No OFD packet to send [19:12:02]OFD Sender: No OFD packet to send [19:12:07]OFD Sender: No OFD packet to send [19:12:12]OFD Sender: No OFD packet to send [19:12:17]OFD Sender: No OFD packet to send [19:12:22]OFD Sender: No OFD packet to send [19:12:27]OFD Sender: No OFD packet to send [19:12:32]OFD Sender: No OFD packet to send [19:12:37]OFD Sender: No OFD packet to send [19:12:40]accept exits with 8 [19:12:40]New connection [19:12:40]New thread 3066838372 created [19:12:40]Thread 3066695012 joined [19:12:40]Waiting for new connection... [19:12:40] Sock 8.Parse request [19:12:40]Sock 8.Check first char [19:12:40]Sock 8.First char is OK [19:12:40]request: POST /json_proto HTTP/1.0 [19:12:40]Method: POST [19:12:40]URL: /json_proto [19:12:40]Method is POST - this is cgi request [19:12:40]url: /json_proto [19:12:40]query_string will be loaded in cgi processing [19:12:40]execute_cgi json_proto POST (null) [19:12:40]execute_cgi path=json_proto method=POST [19:12:40]POST find Content-Length [19:12:40]Host: 172.17.35.133:8080 [19:12:40]Content-Length: 673 [19:12:40]Content-Type: application/json [19:12:40] [19:12:40]POST finish read [19:12:40]Found Content-Length = 673 [19:12:40]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254517", "tax_sys" : 0, "items" : [ { "code": "4670003190051", "name": "\u0410\u043D\u0442\u0438\u0444\u0440\u0438\u0437 SIBIRIA ANTIFREEZE \u041E\u041640 \u043A\u0440\u0430\u0441 1\u043B", "price" : 225.00, "quantity" : 2.000, "sum" : 450.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 450.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:12:40]execute_script... [19:12:40]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254517", "tax_sys" : 0, "items" : [ { "code": "4670003190051", "name": "\u0410\u043D\u0442\u0438\u0444\u0440\u0438\u0437 SIBIRIA ANTIFREEZE \u041E\u041640 \u043A\u0440\u0430\u0441 1\u043B", "price" : 225.00, "quantity" : 2.000, "sum" : 450.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 450.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:12:40]POST & json_proto [19:12:40]process_json_proto [19:12:40]json parsed OK: [19:12:40]protocol is kg_v1.0 [19:12:40]action value=close_receipt [19:12:40]process_action close_receipt [19:12:40]cmd_close_receipt [19:12:40]MH_GetDate [19:12:40]Write to MH i2c: F0 00 00 2A 2D 46 [19:12:40]Write i2c OK [19:12:40]MH_I2C_Read... [19:12:40]Read from MH i2c: F0 [19:12:40]MH_I2C_Read... [19:12:40]Read from MH i2c: F0 09 00 [19:12:40]MH_I2C_Read... [19:12:40]Read from MH i2c: F0 09 00 2A 2D 00 32 39 6F 66 8C 55 28 65 FD [19:12:40]GetLastDocTimeStamp 1718564458 [19:12:40]current date 1718565170 [19:12:40]FM_GetShiftState [19:12:40]SAM_PROTO_GetShiftState [19:12:40]wFMCommunicate request_size=4 [19:12:40]MH_SAM_APDU [19:12:40]CAPDU: 80 13 01 00 [19:12:40]Write to MH i2c: E2 08 00 2B 2D 80 13 01 00 00 00 00 00 D5 [19:12:40]Write i2c OK [19:12:40]MH_I2C_Read... [19:12:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:12:40]Read from MH i2c: E2 [19:12:40]MH_I2C_Read... [19:12:40]Read from MH i2c: E2 0E 00 [19:12:40]MH_I2C_Read... [19:12:40]Read from MH i2c: E2 0E 00 2B 2D 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 F6 [19:12:40]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [19:12:40]wFMCommunicate OK [19:12:40]SAM_PROTO_GetShiftState done [19:12:40]FM_GetShiftState done [19:12:40]opened in 1718497297 [19:12:40]opened+sec_in_day 1718583697 [19:12:40]quantity*price = 45000 [19:12:40]sum+1 = 45001 [19:12:40]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 450.00 НСП 1% : 3.98 НДС 12% : 47.79 Наличными: 450.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 69 16.06.2024 19:12 Смена: 327 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22304 ФПД: 238385205467375 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T191250&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22304&fm=238385205467375&tin=02508201610067®Number=0000000000099755&sum=45000 0 [19:12:41]StoreToDocumentArchive [19:12:41]shift 327 fd 22304 [19:12:41]save to /storage/0327/doc_00022304 [19:12:41]save last doc name /storage/0327/doc_00022304 to /storage/kkm_last_doc_name [19:12:41]save OK [19:12:41]Clear old archive folders... [19:12:41]ProcessDocumentItem done err = 0, tmpTLVsize=297 [19:12:41]tlvbuf is 0021D010 [19:12:41]SAM_PROTO_ClearQueue [19:12:41]wFMCommunicate request_size=4 [19:12:41]MH_SAM_APDU [19:12:41]CAPDU: 80 09 00 00 [19:12:41]Write to MH i2c: E2 08 00 38 2D 80 09 00 00 00 00 00 00 D7 [19:12:41]Write i2c OK [19:12:41]MH_I2C_Read... [19:12:41]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:12:41]Read from MH i2c: E2 [19:12:41]MH_I2C_Read... [19:12:41]Read from MH i2c: E2 03 00 [19:12:41]MH_I2C_Read... [19:12:41]Read from MH i2c: E2 03 00 38 2D 00 90 00 D9 [19:12:41]RAPDU: 90 00 [19:12:41]wFMCommunicate OK [19:12:41]SAM_PROTO_ClearQueue done [19:12:41]KKMCreateOFDPacket [19:12:41]OFDProtocolAddRootSTLVToBuf [19:12:41]FM_MakeSignedData [19:12:41]FM_MakeSignedData [19:12:41]SAM_PROTO_SignData [19:12:41]wFMCommunicate request_size=4 [19:12:41]MH_SAM_APDU [19:12:41]CAPDU: 80 0D 01 02 [19:12:41]Write to MH i2c: E2 08 00 39 2D 80 0D 01 02 00 00 00 00 DF [19:12:41]Write i2c OK [19:12:41]MH_I2C_Read... [19:12:41]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:12:41]Read from MH i2c: E2 [19:12:41]MH_I2C_Read... [19:12:41]Read from MH i2c: E2 03 00 [19:12:41]MH_I2C_Read... [19:12:41]Read from MH i2c: E2 03 00 39 2D 00 90 00 DA [19:12:41]RAPDU: 90 00 [19:12:41]wFMCommunicate OK [19:12:41]wFMCommunicate request_size=255 [19:12:41]MH_SAM_APDU [19:12:41]CAPDU: 80 0D 02 02 FA 03 00 29 01 1E 04 01 00 01 23 04 7B 00 8A 04 0D 00 34 36 37 30 30 30 33 31 39 30 30 35 31 06 04 37 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 53 49 42 49 52 49 41 20 41 4E 54 49 46 52 45 45 5A 45 20 D0 9E D0 96 34 30 20 D0 BA D1 80 D0 B0 D1 81 20 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E4 57 00 00 00 00 13 04 06 00 C8 AF 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 AF 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8E 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AB 12 00 00 00 00 07 04 06 00 C8 AF 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 45 00 00 00 F4 03 04 00 32 39 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 [19:12:41]Write to MH i2c: E2 02 01 3A 2D 80 0D 02 02 FA 00 03 00 29 01 1E 04 01 00 01 23 04 7B 00 8A 04 0D 00 34 36 37 30 30 30 33 31 39 30 30 35 31 06 04 37 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 53 49 42 49 52 49 41 20 41 4E 54 49 46 52 45 45 5A 45 20 D0 9E D0 96 34 30 20 D0 BA D1 80 D0 B0 D1 81 20 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E4 57 00 00 00 00 13 04 06 00 C8 AF 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 AF 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8E 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AB 12 00 00 00 00 07 04 06 00 C8 AF 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 45 00 00 00 F4 03 04 00 32 39 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 00 00 B3 [19:12:41]Write i2c OK [19:12:41]MH_I2C_Read... [19:12:42]Read from MH i2c: E2 [19:12:42]MH_I2C_Read... [19:12:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:12:42]Read from MH i2c: E2 03 00 [19:12:42]MH_I2C_Read... [19:12:42]Read from MH i2c: E2 03 00 3A 2D 00 90 00 DB [19:12:42]RAPDU: 90 00 [19:12:42]wFMCommunicate OK [19:12:42]wFMCommunicate request_size=56 [19:12:42]MH_SAM_APDU [19:12:42]CAPDU: 80 0D 02 02 33 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 20 57 00 00 35 04 06 00 D8 CF 61 7D D8 EF [19:12:42]Write to MH i2c: E2 3B 00 3B 2D 80 0D 02 02 33 00 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 20 57 00 00 35 04 06 00 D8 CF 61 7D D8 EF 00 00 39 [19:12:42]Write i2c OK [19:12:42]MH_I2C_Read... [19:12:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:12:42]Read from MH i2c: E2 [19:12:42]MH_I2C_Read... [19:12:42]Read from MH i2c: E2 03 00 [19:12:42]MH_I2C_Read... [19:12:42]Read from MH i2c: E2 03 00 3B 2D 00 90 00 DC [19:12:42]RAPDU: 90 00 [19:12:42]wFMCommunicate OK [19:12:42]wFMCommunicate request_size=4 [19:12:42]MH_SAM_APDU [19:12:42]CAPDU: 80 0D 03 02 [19:12:42]Write to MH i2c: E2 08 00 3C 2D 80 0D 03 02 00 00 00 00 E4 [19:12:42]Write i2c OK [19:12:42]MH_I2C_Read... [19:12:42]OFD Sender: No OFD packet to send [19:12:42]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:12:42]Read from MH i2c: E2 [19:12:42]MH_I2C_Read... [19:12:42]Read from MH i2c: E2 0B 00 [19:12:42]MH_I2C_Read... [19:12:42]Read from MH i2c: E2 0B 00 3C 2D 00 6A E5 50 53 0A BB 53 3B 90 00 2A [19:12:42]RAPDU: 6A E5 50 53 0A BB 53 3B 90 00 [19:12:42]wFMCommunicate OK [19:12:42]SAM_PROTO_SignData done [19:12:42]FM_MakeSignedData done [19:12:42]CreateOFDProtocolMessage [19:12:42]wFMCommunicate request_size=4 [19:12:42]MH_SAM_APDU [19:12:42]CAPDU: 80 11 00 00 [19:12:42]Write to MH i2c: E2 08 00 3D 2D 80 11 00 00 00 00 00 00 E4 [19:12:42]Write i2c OK [19:12:42]MH_I2C_Read... [19:12:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:12:42]Read from MH i2c: E2 [19:12:42]MH_I2C_Read... [19:12:42]Read from MH i2c: E2 17 00 [19:12:42]MH_I2C_Read... [19:12:42]Read from MH i2c: E2 17 00 3D 2D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 36 [19:12:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [19:12:42]wFMCommunicate OK [19:12:42]CreateOFDProtocolMessage done [19:12:42]OFDSenderStorePacket 22304 [19:12:42]StoreOFDPacket docnum=22304 [19:12:42]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 3D 01 00 00 F0 C7 35 01 1F 34 5A 03 01 00 03 00 29 01 1E 04 01 00 01 23 04 7B 00 8A 04 0D 00 34 36 37 30 30 30 33 31 39 30 30 35 31 06 04 37 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 53 49 42 49 52 49 41 20 41 4E 54 49 46 52 45 45 5A 45 20 D0 9E D0 96 34 30 20 D0 BA D1 80 D0 B0 D1 81 20 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E4 57 00 00 00 00 13 04 06 00 C8 AF 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 AF 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8E 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AB 12 00 00 00 00 07 04 06 00 C8 AF 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 45 00 00 00 F4 03 04 00 32 39 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 20 57 00 00 35 04 06 00 D8 CF 61 7D D8 EF 6A E5 50 53 0A BB 53 3B [19:12:42]CheckFolder [19:12:42]dirname=/storage/ofd_packets [19:12:42]CheckFolder done [19:12:42]ProducePacketName [19:12:42]name=ofd_packets/00022304 [19:12:42]NVStorageSaveData ofd_packets/00022304 [19:12:42]File name is /storage/ofd_packets/00022304 [19:12:42]Write 347 bytes [19:12:42]NVStorageSaveData done [19:12:42]OFDSenderStorePacket done [19:12:42]KKMCreateOFDPacket done [19:12:42]NVStorageSaveData kkm_last_timestamp [19:12:42]File name is /storage/kkm_last_timestamp [19:12:42]Write 4 bytes [19:12:42]NVStorageSaveData done [19:12:42]ExternCall_PrintAddStr [19:12:42]wPrintStart [19:12:42]Write to MH i2c: 01 00 00 3E 2D 6B [19:12:42]Write i2c OK [19:12:42]MH_I2C_Read... [19:12:42]Read from MH i2c: 01 [19:12:42]MH_I2C_Read... [19:12:42]Read from MH i2c: 01 07 00 [19:12:42]MH_I2C_Read... [19:12:42]Read from MH i2c: 01 07 00 3E 2D 00 00 00 00 00 FF 0F 80 [19:12:42]RasterBufferAndPrint [19:12:42]line Счет N : (3)254517 [19:12:42]line ИНН: 02508201610067 [19:12:42]line Контрольно-Кассовый Чек [19:12:42]line ПРОДАЖА [19:12:42]line Товар: 4670003190051 [19:12:42]line Антифриз SIBIRIA ANTIFREEZE ОЖ40 крас 1л [19:12:42]line 2.000 * 225.00 [19:12:42]line = 450.00 [19:12:42]line НДС 12% НСП 1% [19:12:42]line > о реализуемом товаре [19:12:42]line ИТОГО: 450.00 [19:12:42]line НСП 1% : 3.98 [19:12:42]line НДС 12% : 47.79 [19:12:42]line Наличными: 450.00 [19:12:42]line Безнал.: 0.00 [19:12:42]line Место: АЗС № 76 "Партнер Нефть" [19:12:42]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [19:12:42]line СНО: Общий режим [19:12:42]line Чек 69 16.06.2024 19:12 [19:12:42]line Смена: 327 ФФД: 1.0 [19:12:42]line ЗНМ: 0300000200 [19:12:42]line РНМ: 0000000000099755 [19:12:42]line Версия ККМ: 001 [19:12:42]line ФМ: 0000000000965344 [19:12:42]line ФД: 22304 [19:12:42]line ФПД: 238385205467375 [19:12:42]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T191250&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22304&fm=238385205467375&tin=02508201610067®Number=0000000000099755&sum=45000 [19:12:42]line 0 [19:12:42]OFD Sender: Processing packet 22304 [packets to send 5, broken 4] [19:12:42]ProducePacketName [19:12:42]name=ofd_packets/00022304 [19:12:42]OFD Sender: To server: pG, [19:12:42]CommunicateWithHost lk.salyk.kg:30040 [19:12:42]ConnectInit lk.salyk.kg [19:12:42]written 0, free lines is 4095 [19:12:42]Connected sock=10 [19:12:42]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 3D 01 00 00 F0 C7 35 01 1F 34 5A 03 01 00 03 00 29 01 1E 04 01 00 01 23 04 7B 00 8A 04 0D 00 34 36 37 30 30 30 33 31 39 30 30 35 31 06 04 37 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 53 49 42 49 52 49 41 20 41 4E 54 49 46 52 45 45 5A 45 20 D0 9E D0 96 34 30 20 D0 BA D1 80 D0 B0 D1 81 20 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E4 57 00 00 00 00 13 04 06 00 C8 AF 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 AF 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8E 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AB 12 00 00 00 00 07 04 06 00 C8 AF 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 45 00 00 00 F4 03 04 00 32 39 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 20 57 00 00 35 04 06 00 D8 CF 61 7D D8 EF 6A E5 50 53 0A BB 53 3B [19:12:42]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 7F 98 47 00 E6 C5 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 20 57 00 00 F4 03 04 00 EB E1 6E 66 B6 04 01 00 00 DD D0 D4 CA AD 8C 60 0E [19:12:42]CommunicateWithHost err = 0 [19:12:42]CheckOFDResponse [19:12:42]1017 (14) - 77093643461234 [19:12:42]1041 (16) - 0000000000965344 [19:12:42]1040 (4) - 22304 [19:12:42]1012 (4) - 16.06.2024 13:00 [19:12:42]1206 (1) - 0 [19:12:42]OFD Sender: Remove packet 22304 [19:12:42]ProducePacketName [19:12:42]name=ofd_packets/00022304 [19:12:42]NVStorageDeleteData [19:12:43]Write to MH i2c: 01 00 00 67 2D 94 [19:12:43]Write i2c OK [19:12:43]MH_I2C_Read... [19:12:43]Read from MH i2c: 01 [19:12:43]MH_I2C_Read... [19:12:43]Read from MH i2c: 01 07 00 [19:12:43]MH_I2C_Read... [19:12:43]Read from MH i2c: 01 07 00 67 2D 00 00 00 00 00 19 0D C1 [19:12:43]RasterBufferAndPrint [19:12:43]line [19:12:43]line [19:12:43]line [19:12:43]line [19:12:43]line [19:12:43]written 0, free lines is 3362 [19:12:43]MH_Cut [19:12:43]Write to MH i2c: D1 01 00 6E 2D 01 6D [19:12:43]Write i2c OK [19:12:43]MH_I2C_Read... [19:12:43]Read from MH i2c: D1 [19:12:43]MH_I2C_Read... [19:12:43]Read from MH i2c: D1 01 00 [19:12:43]MH_I2C_Read... [19:12:43]Read from MH i2c: D1 01 00 6E 2D 00 6C [19:12:43]Write to MH i2c: 01 00 00 6F 2D 9C [19:12:43]Write i2c OK [19:12:43]MH_I2C_Read... [19:12:43]OFD Sender: No OFD packet to send [19:12:43]*** Cut start [19:12:43]*** Partial cut [19:12:43]*** CUTSNS_PIN = 1 [19:12:43]*** CUTSNS_PIN = 0 [19:12:44]*** Brake cut motor [19:12:44]Read from MH i2c: 01 [19:12:44]MH_I2C_Read... [19:12:44]*** Stop cut motor [19:12:44]*** Cut end [19:12:44]Read from MH i2c: 01 07 00 [19:12:44]MH_I2C_Read... [19:12:44]Read from MH i2c: 01 07 00 6F 2D 00 00 00 00 00 FF 0F B1 [19:12:44]process_action close_receipt done [19:12:44]requested_data is exist [19:12:44]produce_requested_data [19:12:44]requested_item fm.sn is exist - process it [19:12:44]wFMCommunicate request_size=4 [19:12:44]MH_SAM_APDU [19:12:44]CAPDU: 80 11 00 00 [19:12:44]Write to MH i2c: E2 08 00 70 2D 80 11 00 00 00 00 00 00 17 [19:12:44]Write i2c OK [19:12:44]MH_I2C_Read... [19:12:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:12:44]Read from MH i2c: E2 [19:12:44]MH_I2C_Read... [19:12:44]Read from MH i2c: E2 17 00 [19:12:44]MH_I2C_Read... [19:12:44]Read from MH i2c: E2 17 00 70 2D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 69 [19:12:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [19:12:44]wFMCommunicate OK [19:12:44]requested_item fd.num is exist - process it [19:12:44]SAM_PROTO_GetFieldsCounters [19:12:44]wFMCommunicate request_size=4 [19:12:44]MH_SAM_APDU [19:12:44]CAPDU: 80 13 00 00 [19:12:44]Write to MH i2c: E2 08 00 71 2D 80 13 00 00 00 00 00 00 1A [19:12:44]Write i2c OK [19:12:44]MH_I2C_Read... [19:12:44]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:12:44]Read from MH i2c: E2 [19:12:44]MH_I2C_Read... [19:12:44]Read from MH i2c: E2 62 00 [19:12:44]MH_I2C_Read... [19:12:44]Read from MH i2c: E2 62 00 71 2D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 20 57 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 45 00 00 00 5E 04 04 00 45 00 00 00 57 04 04 00 46 00 00 00 19 04 04 00 00 00 00 00 90 00 D2 [19:12:44]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 20 57 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 45 00 00 00 5E 04 04 00 45 00 00 00 57 04 04 00 46 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:12:44]wFMCommunicate OK [19:12:44]SAM_PROTO_GetFieldsCounters done [19:12:44]requested_item shift.num is exist - process it [19:12:44]requested_item shift.opened is exist - process it [19:12:44]req_shift_opened [19:12:44]FM_GetShiftState [19:12:44]SAM_PROTO_GetShiftState [19:12:44]wFMCommunicate request_size=4 [19:12:44]MH_SAM_APDU [19:12:44]CAPDU: 80 13 01 00 [19:12:44]Write to MH i2c: E2 08 00 72 2D 80 13 01 00 00 00 00 00 1C [19:12:44]Write i2c OK [19:12:44]MH_I2C_Read... [19:12:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:12:44]Read from MH i2c: E2 [19:12:44]MH_I2C_Read... [19:12:44]Read from MH i2c: E2 0E 00 [19:12:44]MH_I2C_Read... [19:12:44]Read from MH i2c: E2 0E 00 72 2D 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 3D [19:12:44]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [19:12:44]wFMCommunicate OK [19:12:44]SAM_PROTO_GetShiftState done [19:12:44]FM_GetShiftState done [19:12:44]req_shift_opened done [19:12:44]requested_item shift.open_date is exist - process it [19:12:44]req_shift_open_date [19:12:44]req_shift_open_date done [19:12:44]produce_requested_data done [19:12:44]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22304,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297} [19:12:44]process_action_free close_receipt [19:12:44]json_value_free [19:12:44]json_value_free done [19:12:44]process_json_proto returns [19:12:44]Send response to host [19:12:44]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22304,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297}}} [19:12:44]free response buf [19:12:44]execute_script done [19:12:44]execute_script returns [19:12:44]free content buf [19:12:44]Sock 8.Close socket [19:12:44]Sock 8.Thread stoped [19:12:48]OFD Sender: No OFD packet to send [19:12:53]OFD Sender: No OFD packet to send [19:12:58]OFD Sender: No OFD packet to send [19:13:03]OFD Sender: No OFD packet to send [19:13:08]OFD Sender: No OFD packet to send [19:13:13]OFD Sender: No OFD packet to send [19:13:18]OFD Sender: No OFD packet to send [19:13:23]OFD Sender: No OFD packet to send [19:13:28]OFD Sender: No OFD packet to send [19:13:33]OFD Sender: No OFD packet to send [19:13:38]OFD Sender: No OFD packet to send [19:13:43]OFD Sender: No OFD packet to send [19:13:48]OFD Sender: No OFD packet to send [19:13:53]OFD Sender: No OFD packet to send [19:13:57]accept exits with 9 [19:13:57]New connection [19:13:57]New thread 3066695012 created [19:13:57]Thread 3066838372 joined [19:13:57]Waiting for new connection... [19:13:57] Sock 9.Parse request [19:13:57]Sock 9.Check first char [19:13:57]Sock 9.First char is OK [19:13:57]request: POST /json_proto HTTP/1.0 [19:13:57]Method: POST [19:13:57]URL: /json_proto [19:13:57]Method is POST - this is cgi request [19:13:57]url: /json_proto [19:13:57]query_string will be loaded in cgi processing [19:13:57]execute_cgi json_proto POST (null) [19:13:57]execute_cgi path=json_proto method=POST [19:13:57]POST find Content-Length [19:13:57]Host: 172.17.35.133:8080 [19:13:57]Content-Length: 646 [19:13:57]Content-Type: application/json [19:13:57] [19:13:57]POST finish read [19:13:57]Found Content-Length = 646 [19:13:57]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254518", "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" : 4.000, "sum" : 500.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 500.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:13:57]execute_script... [19:13: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)254518", "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" : 4.000, "sum" : 500.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 500.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:13:57]POST & json_proto [19:13:57]process_json_proto [19:13:57]json parsed OK: [19:13:57]protocol is kg_v1.0 [19:13:57]action value=close_receipt [19:13:57]process_action close_receipt [19:13:57]cmd_close_receipt [19:13:57]MH_GetDate [19:13:57]Write to MH i2c: F0 00 00 73 2D 8F [19:13:57]Write i2c OK [19:13:57]MH_I2C_Read... [19:13:57]Read from MH i2c: F0 [19:13:57]MH_I2C_Read... [19:13:57]Read from MH i2c: F0 09 00 [19:13:57]MH_I2C_Read... [19:13:57]Read from MH i2c: F0 09 00 73 2D 00 7F 39 6F 66 8C 55 28 65 93 [19:13:57]GetLastDocTimeStamp 1718565170 [19:13:57]current date 1718565247 [19:13:57]FM_GetShiftState [19:13:57]SAM_PROTO_GetShiftState [19:13:57]wFMCommunicate request_size=4 [19:13:57]MH_SAM_APDU [19:13:57]CAPDU: 80 13 01 00 [19:13:57]Write to MH i2c: E2 08 00 74 2D 80 13 01 00 00 00 00 00 1E [19:13:57]Write i2c OK [19:13:57]MH_I2C_Read... [19:13:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:13:57]Read from MH i2c: E2 [19:13:57]MH_I2C_Read... [19:13:57]Read from MH i2c: E2 0E 00 [19:13:57]MH_I2C_Read... [19:13:57]Read from MH i2c: E2 0E 00 74 2D 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 3F [19:13:57]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [19:13:57]wFMCommunicate OK [19:13:57]SAM_PROTO_GetShiftState done [19:13:57]FM_GetShiftState done [19:13:57]opened in 1718497297 [19:13:57]opened+sec_in_day 1718583697 [19:13:57]quantity*price = 50000 [19:13:57]sum+1 = 50001 [19:13:57]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 500.00 НСП 1% : 4.42 НДС 12% : 53.10 Наличными: 500.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 70 16.06.2024 19:14 Смена: 327 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22305 ФПД: 260767378733200 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T191407&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22305&fm=260767378733200&tin=02508201610067®Number=0000000000099755&sum=50000 0 [19:13:58]StoreToDocumentArchive [19:13:58]shift 327 fd 22305 [19:13:58]save to /storage/0327/doc_00022305 [19:13:58]save last doc name /storage/0327/doc_00022305 to /storage/kkm_last_doc_name [19:13:58]save OK [19:13:58]Clear old archive folders... [19:13:58]ProcessDocumentItem done err = 0, tmpTLVsize=282 [19:13:58]tlvbuf is B6F39BA0 [19:13:58]SAM_PROTO_ClearQueue [19:13:58]wFMCommunicate request_size=4 [19:13:58]MH_SAM_APDU [19:13:58]CAPDU: 80 09 00 00 [19:13:58]Write to MH i2c: E2 08 00 81 2D 80 09 00 00 00 00 00 00 20 [19:13:58]Write i2c OK [19:13:58]MH_I2C_Read... [19:13:58]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:13:58]Read from MH i2c: E2 [19:13:58]MH_I2C_Read... [19:13:58]Read from MH i2c: E2 03 00 [19:13:58]MH_I2C_Read... [19:13:58]Read from MH i2c: E2 03 00 81 2D 00 90 00 22 [19:13:58]RAPDU: 90 00 [19:13:58]wFMCommunicate OK [19:13:58]SAM_PROTO_ClearQueue done [19:13:58]KKMCreateOFDPacket [19:13:58]OFDProtocolAddRootSTLVToBuf [19:13:58]FM_MakeSignedData [19:13:58]FM_MakeSignedData [19:13:58]SAM_PROTO_SignData [19:13:58]wFMCommunicate request_size=4 [19:13:58]MH_SAM_APDU [19:13:58]CAPDU: 80 0D 01 02 [19:13:58]Write to MH i2c: E2 08 00 82 2D 80 0D 01 02 00 00 00 00 28 [19:13:58]Write i2c OK [19:13:58]MH_I2C_Read... [19:13:58]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:13:58]Read from MH i2c: E2 [19:13:58]MH_I2C_Read... [19:13:58]Read from MH i2c: E2 03 00 [19:13:58]MH_I2C_Read... [19:13:58]Read from MH i2c: E2 03 00 82 2D 00 90 00 23 [19:13:58]RAPDU: 90 00 [19:13:58]wFMCommunicate OK [19:13:58]wFMCommunicate request_size=255 [19:13:58]MH_SAM_APDU [19:13:58]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 A0 0F 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 50 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BE 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 46 00 00 00 F4 03 04 00 7F 39 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 [19:13:58]Write to MH i2c: E2 02 01 83 2D 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 A0 0F 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 50 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BE 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 46 00 00 00 F4 03 04 00 7F 39 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 00 00 26 [19:13:58]Write i2c OK [19:13:58]MH_I2C_Read... [19:13:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:13:59]Read from MH i2c: E2 [19:13:59]MH_I2C_Read... [19:13:59]Read from MH i2c: E2 03 00 [19:13:59]MH_I2C_Read... [19:13:59]Read from MH i2c: E2 03 00 83 2D 00 90 00 24 [19:13:59]RAPDU: 90 00 [19:13:59]wFMCommunicate OK [19:13:59]wFMCommunicate request_size=41 [19:13:59]MH_SAM_APDU [19:13:59]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 21 57 00 00 35 04 06 00 ED 2A A2 FA 78 90 [19:13:59]Write to MH i2c: E2 2C 00 84 2D 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 21 57 00 00 35 04 06 00 ED 2A A2 FA 78 90 00 00 2C [19:13:59]Write i2c OK [19:13:59]MH_I2C_Read... [19:13:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:13:59]Read from MH i2c: E2 [19:13:59]MH_I2C_Read... [19:13:59]Read from MH i2c: E2 03 00 [19:13:59]MH_I2C_Read... [19:13:59]Read from MH i2c: E2 03 00 84 2D 00 90 00 25 [19:13:59]RAPDU: 90 00 [19:13:59]wFMCommunicate OK [19:13:59]wFMCommunicate request_size=4 [19:13:59]MH_SAM_APDU [19:13:59]CAPDU: 80 0D 03 02 [19:13:59]Write to MH i2c: E2 08 00 85 2D 80 0D 03 02 00 00 00 00 2D [19:13:59]Write i2c OK [19:13:59]MH_I2C_Read... [19:13:59]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:13:59]Read from MH i2c: E2 [19:13:59]MH_I2C_Read... [19:13:59]Read from MH i2c: E2 0B 00 [19:13:59]MH_I2C_Read... [19:13:59]Read from MH i2c: E2 0B 00 85 2D 00 FE 59 26 37 69 81 EE 02 90 00 BC [19:13:59]RAPDU: FE 59 26 37 69 81 EE 02 90 00 [19:13:59]wFMCommunicate OK [19:13:59]SAM_PROTO_SignData done [19:13:59]FM_MakeSignedData done [19:13:59]CreateOFDProtocolMessage [19:13:59]wFMCommunicate request_size=4 [19:13:59]MH_SAM_APDU [19:13:59]CAPDU: 80 11 00 00 [19:13:59]Write to MH i2c: E2 08 00 86 2D 80 11 00 00 00 00 00 00 2D [19:13:59]Write i2c OK [19:13:59]MH_I2C_Read... [19:13:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:13:59]Read from MH i2c: E2 [19:13:59]MH_I2C_Read... [19:13:59]Read from MH i2c: E2 17 00 [19:13:59]MH_I2C_Read... [19:13:59]Read from MH i2c: E2 17 00 86 2D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 7F [19:13:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [19:13:59]wFMCommunicate OK [19:13:59]CreateOFDProtocolMessage done [19:13:59]OFDSenderStorePacket 22305 [19:13:59]StoreOFDPacket docnum=22305 [19:13:59]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 2E 01 00 00 46 7A 26 01 09 23 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 A0 0F 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 50 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BE 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 46 00 00 00 F4 03 04 00 7F 39 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 21 57 00 00 35 04 06 00 ED 2A A2 FA 78 90 FE 59 26 37 69 81 EE 02 [19:13:59]CheckFolder [19:13:59]dirname=/storage/ofd_packets [19:13:59]CheckFolder done [19:13:59]ProducePacketName [19:13:59]name=ofd_packets/00022305 [19:13:59]NVStorageSaveData ofd_packets/00022305 [19:13:59]File name is /storage/ofd_packets/00022305 [19:13:59]Write 332 bytes [19:13:59]NVStorageSaveData done [19:13:59]OFDSenderStorePacket done [19:13:59]KKMCreateOFDPacket done [19:13:59]NVStorageSaveData kkm_last_timestamp [19:13:59]File name is /storage/kkm_last_timestamp [19:13:59]Write 4 bytes [19:13:59]NVStorageSaveData done [19:13:59]ExternCall_PrintAddStr [19:13:59]wPrintStart [19:13:59]Write to MH i2c: 01 00 00 87 2D B4 [19:13:59]Write i2c OK [19:13:59]MH_I2C_Read... [19:13:59]Read from MH i2c: 01 [19:13:59]MH_I2C_Read... [19:13:59]Read from MH i2c: 01 07 00 [19:13:59]MH_I2C_Read... [19:13:59]Read from MH i2c: 01 07 00 87 2D 00 00 00 00 00 FF 0F C9 [19:13:59]RasterBufferAndPrint [19:13:59]line Счет N : (3)254518 [19:13:59]line ИНН: 02508201610067 [19:13:59]line Контрольно-Кассовый Чек [19:13:59]line ПРОДАЖА [19:13:59]line Товар: 2000036220012 [19:13:59]line Кофе Капучино XL(GABB TRADE) [19:13:59]line 4.000 * 125.00 [19:13:59]line = 500.00 [19:13:59]line НДС 12% НСП 1% [19:13:59]line > о реализуемом товаре [19:13:59]line ИТОГО: 500.00 [19:13:59]line НСП 1% : 4.42 [19:13:59]line НДС 12% : 53.10 [19:13:59]line Наличными: 500.00 [19:13:59]line Безнал.: 0.00 [19:13:59]line Место: АЗС № 76 "Партнер Нефть" [19:13:59]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [19:13:59]line СНО: Общий режим [19:13:59]line Чек 70 16.06.2024 19:14 [19:13:59]line Смена: 327 ФФД: 1.0 [19:13:59]line ЗНМ: 0300000200 [19:13:59]line РНМ: 0000000000099755 [19:13:59]line Версия ККМ: 001 [19:13:59]line ФМ: 0000000000965344 [19:13:59]line ФД: 22305 [19:13:59]line ФПД: 260767378733200 [19:13:59]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T191407&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22305&fm=260767378733200&tin=02508201610067®Number=0000000000099755&sum=50000 [19:13:59]line 0 [19:13:59]OFD Sender: Processing packet 22305 [packets to send 5, broken 4] [19:13:59]ProducePacketName [19:13:59]name=ofd_packets/00022305 [19:13:59]OFD Sender: To server: pG, [19:13:59]CommunicateWithHost lk.salyk.kg:30040 [19:13:59]ConnectInit lk.salyk.kg [19:13:59]written 0, free lines is 4095 [19:13:59]Connected sock=10 [19:13:59]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 2E 01 00 00 46 7A 26 01 09 23 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 A0 0F 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 50 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BE 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 46 00 00 00 F4 03 04 00 7F 39 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 21 57 00 00 35 04 06 00 ED 2A A2 FA 78 90 FE 59 26 37 69 81 EE 02 [19:14:00]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 F2 37 47 00 FC 24 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 21 57 00 00 F4 03 04 00 38 E2 6E 66 B6 04 01 00 00 4E B8 EE 3D F0 C7 E9 95 [19:14:00]CommunicateWithHost err = 0 [19:14:00]CheckOFDResponse [19:14:00]1017 (14) - 77093643461234 [19:14:00]1041 (16) - 0000000000965344 [19:14:00]1040 (4) - 22305 [19:14:00]1012 (4) - 16.06.2024 13:01 [19:14:00]1206 (1) - 0 [19:14:00]OFD Sender: Remove packet 22305 [19:14:00]ProducePacketName [19:14:00]name=ofd_packets/00022305 [19:14:00]NVStorageDeleteData [19:14:00]Write to MH i2c: 01 00 00 B0 2D DD [19:14:00]Write i2c OK [19:14:00]MH_I2C_Read... [19:14:00]Read from MH i2c: 01 [19:14:00]MH_I2C_Read... [19:14:00]Read from MH i2c: 01 07 00 [19:14:00]MH_I2C_Read... [19:14:00]Read from MH i2c: 01 07 00 B0 2D 00 00 00 00 00 1D 0D 0E [19:14:00]RasterBufferAndPrint [19:14:00]line [19:14:00]line [19:14:00]line [19:14:00]line [19:14:00]line [19:14:00]written 0, free lines is 3362 [19:14:00]MH_Cut [19:14:00]Write to MH i2c: D1 01 00 B7 2D 01 B6 [19:14:00]Write i2c OK [19:14:00]MH_I2C_Read... [19:14:00]Read from MH i2c: D1 [19:14:00]MH_I2C_Read... [19:14:00]Read from MH i2c: D1 01 00 [19:14:00]MH_I2C_Read... [19:14:00]Read from MH i2c: D1 01 00 B7 2D 00 B5 [19:14:00]Write to MH i2c: 01 00 00 B8 2D E5 [19:14:00]Write i2c OK [19:14:00]MH_I2C_Read... [19:14:00]OFD Sender: No OFD packet to send [19:14:00]*** Cut start [19:14:00]*** Partial cut [19:14:00]*** CUTSNS_PIN = 1 [19:14:00]*** CUTSNS_PIN = 0 [19:14:01]*** Brake cut motor [19:14:01]Read from MH i2c: 01 [19:14:01]MH_I2C_Read... [19:14:01]*** Stop cut motor [19:14:01]Read from MH i2c: 01 07 00 [19:14:01]MH_I2C_Read... [19:14:01]*** Cut end [19:14:01]Read from MH i2c: 01 07 00 B8 2D 00 00 00 00 00 FF 0F FA [19:14:01]process_action close_receipt done [19:14:01]requested_data is exist [19:14:01]produce_requested_data [19:14:01]requested_item fm.sn is exist - process it [19:14:01]wFMCommunicate request_size=4 [19:14:01]MH_SAM_APDU [19:14:01]CAPDU: 80 11 00 00 [19:14:01]Write to MH i2c: E2 08 00 B9 2D 80 11 00 00 00 00 00 00 60 [19:14:01]Write i2c OK [19:14:01]MH_I2C_Read... [19:14:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:14:01]Read from MH i2c: E2 [19:14:01]MH_I2C_Read... [19:14:01]Read from MH i2c: E2 17 00 [19:14:01]MH_I2C_Read... [19:14:01]Read from MH i2c: E2 17 00 B9 2D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 B2 [19:14:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [19:14:01]wFMCommunicate OK [19:14:01]requested_item fd.num is exist - process it [19:14:01]SAM_PROTO_GetFieldsCounters [19:14:01]wFMCommunicate request_size=4 [19:14:01]MH_SAM_APDU [19:14:01]CAPDU: 80 13 00 00 [19:14:01]Write to MH i2c: E2 08 00 BA 2D 80 13 00 00 00 00 00 00 63 [19:14:01]Write i2c OK [19:14:01]MH_I2C_Read... [19:14:01]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:14:01]Read from MH i2c: E2 [19:14:01]MH_I2C_Read... [19:14:01]Read from MH i2c: E2 62 00 [19:14:01]MH_I2C_Read... [19:14:01]Read from MH i2c: E2 62 00 BA 2D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 21 57 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 46 00 00 00 5E 04 04 00 46 00 00 00 57 04 04 00 47 00 00 00 19 04 04 00 00 00 00 00 90 00 1F [19:14:01]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 21 57 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 46 00 00 00 5E 04 04 00 46 00 00 00 57 04 04 00 47 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:14:01]wFMCommunicate OK [19:14:01]SAM_PROTO_GetFieldsCounters done [19:14:01]requested_item shift.num is exist - process it [19:14:01]requested_item shift.opened is exist - process it [19:14:01]req_shift_opened [19:14:01]FM_GetShiftState [19:14:01]SAM_PROTO_GetShiftState [19:14:01]wFMCommunicate request_size=4 [19:14:01]MH_SAM_APDU [19:14:01]CAPDU: 80 13 01 00 [19:14:01]Write to MH i2c: E2 08 00 BB 2D 80 13 01 00 00 00 00 00 65 [19:14:01]Write i2c OK [19:14:01]MH_I2C_Read... [19:14:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:14:01]Read from MH i2c: E2 [19:14:01]MH_I2C_Read... [19:14:01]Read from MH i2c: E2 0E 00 [19:14:01]MH_I2C_Read... [19:14:01]Read from MH i2c: E2 0E 00 BB 2D 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 86 [19:14:01]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [19:14:01]wFMCommunicate OK [19:14:01]SAM_PROTO_GetShiftState done [19:14:01]FM_GetShiftState done [19:14:01]req_shift_opened done [19:14:01]requested_item shift.open_date is exist - process it [19:14:01]req_shift_open_date [19:14:01]req_shift_open_date done [19:14:01]produce_requested_data done [19:14:01]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22305,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297} [19:14:01]process_action_free close_receipt [19:14:01]json_value_free [19:14:01]json_value_free done [19:14:01]process_json_proto returns [19:14:01]Send response to host [19:14:01]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22305,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297}}} [19:14:01]free response buf [19:14:01]execute_script done [19:14:01]execute_script returns [19:14:01]free content buf [19:14:01]Sock 9.Close socket [19:14:01]Sock 9.Thread stoped [19:14:05]OFD Sender: No OFD packet to send [19:14:10]OFD Sender: No OFD packet to send [19:14:15]OFD Sender: No OFD packet to send [19:14:20]OFD Sender: No OFD packet to send [19:14:25]OFD Sender: No OFD packet to send [19:14:30]OFD Sender: No OFD packet to send [19:14:35]OFD Sender: No OFD packet to send [19:14:40]OFD Sender: No OFD packet to send [19:14:45]OFD Sender: No OFD packet to send [19:14:50]OFD Sender: No OFD packet to send [19:14:55]OFD Sender: No OFD packet to send [19:15:00]OFD Sender: No OFD packet to send [19:15:05]OFD Sender: No OFD packet to send [19:15:10]OFD Sender: No OFD packet to send [19:15:15]OFD Sender: No OFD packet to send [19:15:20]OFD Sender: No OFD packet to send [19:15:25]OFD Sender: No OFD packet to send [19:15:28]accept exits with 8 [19:15:28]New connection [19:15:28]New thread 3066838372 created [19:15:28]Thread 3066695012 joined [19:15:28]Waiting for new connection... [19:15:28] Sock 8.Parse request [19:15:28]Sock 8.Check first char [19:15:28]Sock 8.First char is OK [19:15:28]request: POST /json_proto HTTP/1.0 [19:15:28]Method: POST [19:15:28]URL: /json_proto [19:15:28]Method is POST - this is cgi request [19:15:28]url: /json_proto [19:15:28]query_string will be loaded in cgi processing [19:15:28]execute_cgi json_proto POST (null) [19:15:28]execute_cgi path=json_proto method=POST [19:15:28]POST find Content-Length [19:15:28]Host: 172.17.35.133:8080 [19:15:28]Content-Length: 1694 [19:15:28]Content-Type: application/json [19:15:28] [19:15:28]POST finish read [19:15:28]Found Content-Length = 1694 [19:15:28]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254519", "tax_sys" : 0, "items" : [ { "code": "4607035653582", "name": "\u0412\u0430\u0444\u043B\u0438 \u0413\u043E\u043B\u043B\u0430\u043D\u0434\u0441\u043A\u0438\u0435 \u0432\u0430\u0440.\u0441\u0433\u0443\u0449 290", "price" : 145.00, "quantity" : 1.000, "sum" : 145.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870235681390", "name": "\u0427\u0418\u041F\u0421\u042B SLANG \u0421\u041E \u0412\u041A\u0423\u0421\u041E\u041C \u041F\u0410\u041F\u0420\u0418\u041A\u0410 60\u0413", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607010740757", "name": "\u0427\u0438\u043F\u0441\u044B \u0427\u0438\u043F\u0441\u043E\u043D\u044B \u0441\u043C\u0435\u0442\u0430\u043D\u0430, \u043B\u0443\u043A 40\u0433", "price" : 41.00, "quantity" : 1.000, "sum" : 41.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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" : 406.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:15:28]execute_script... [19:15: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)254519", "tax_sys" : 0, "items" : [ { "code": "4607035653582", "name": "\u0412\u0430\u0444\u043B\u0438 \u0413\u043E\u043B\u043B\u0430\u043D\u0434\u0441\u043A\u0438\u0435 \u0432\u0430\u0440.\u0441\u0433\u0443\u0449 290", "price" : 145.00, "quantity" : 1.000, "sum" : 145.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870235681390", "name": "\u0427\u0418\u041F\u0421\u042B SLANG \u0421\u041E \u0412\u041A\u0423\u0421\u041E\u041C \u041F\u0410\u041F\u0420\u0418\u041A\u0410 60\u0413", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607010740757", "name": "\u0427\u0438\u043F\u0441\u044B \u0427\u0438\u043F\u0441\u043E\u043D\u044B \u0441\u043C\u0435\u0442\u0430\u043D\u0430, \u043B\u0443\u043A 40\u0433", "price" : 41.00, "quantity" : 1.000, "sum" : 41.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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" : 406.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:15:28]POST & json_proto [19:15:28]process_json_proto [19:15:28]json parsed OK: [19:15:28]protocol is kg_v1.0 [19:15:28]action value=close_receipt [19:15:28]process_action close_receipt [19:15:28]cmd_close_receipt [19:15:28]MH_GetDate [19:15:28]Write to MH i2c: F0 00 00 BC 2D D8 [19:15:28]Write i2c OK [19:15:28]MH_I2C_Read... [19:15:28]Read from MH i2c: F0 [19:15:28]MH_I2C_Read... [19:15:28]Read from MH i2c: F0 09 00 [19:15:28]MH_I2C_Read... [19:15:28]Read from MH i2c: F0 09 00 BC 2D 00 DA 39 6F 66 8C 55 28 65 37 [19:15:28]GetLastDocTimeStamp 1718565247 [19:15:28]current date 1718565338 [19:15:28]FM_GetShiftState [19:15:28]SAM_PROTO_GetShiftState [19:15:28]wFMCommunicate request_size=4 [19:15:28]MH_SAM_APDU [19:15:28]CAPDU: 80 13 01 00 [19:15:28]Write to MH i2c: E2 08 00 BD 2D 80 13 01 00 00 00 00 00 67 [19:15:28]Write i2c OK [19:15:28]MH_I2C_Read... [19:15:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:15:28]Read from MH i2c: E2 [19:15:28]MH_I2C_Read... [19:15:28]Read from MH i2c: E2 0E 00 [19:15:28]MH_I2C_Read... [19:15:28]Read from MH i2c: E2 0E 00 BD 2D 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 88 [19:15:28]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [19:15:28]wFMCommunicate OK [19:15:28]SAM_PROTO_GetShiftState done [19:15:28]FM_GetShiftState done [19:15:28]opened in 1718497297 [19:15:28]opened+sec_in_day 1718583697 [19:15:28]quantity*price = 14500 [19:15:28]sum+1 = 14501 [19:15:28]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870235681390 ЧИПСЫ SLANG СО ВКУСОМ ПАПРИКА 60Г 1.000 * 95.00 = 95.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4607010740757 Чипсы Чипсоны сметана, лук 40г 1.000 * 41.00 = 41.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4870202521254 Чай холодный MAXI черный со вкусом клубн 1.000 * 125.00 = 125.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 406.00 НСП 1% : 3.59 НДС 12% : 43.11 Наличными: 406.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 71 16.06.2024 19:15 Смена: 327 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22306 ФПД: 140870587105326 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T191538&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22306&fm=140870587105326&tin=02508201610067®Number=0000000000099755&sum=40600 0 [19:15:29]StoreToDocumentArchive [19:15:29]shift 327 fd 22306 [19:15:29]save to /storage/0327/doc_00022306 [19:15:29]save last doc name /storage/0327/doc_00022306 to /storage/kkm_last_doc_name [19:15:29]save OK [19:15:29]Clear old archive folders... [19:15:29]ProcessDocumentItem done err = 0, tmpTLVsize=688 [19:15:29]tlvbuf is 0020C940 [19:15:29]SAM_PROTO_ClearQueue [19:15:29]wFMCommunicate request_size=4 [19:15:29]MH_SAM_APDU [19:15:29]CAPDU: 80 09 00 00 [19:15:29]Write to MH i2c: E2 08 00 CA 2D 80 09 00 00 00 00 00 00 69 [19:15:29]Write i2c OK [19:15:29]MH_I2C_Read... [19:15:29]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:15:29]Read from MH i2c: E2 [19:15:29]MH_I2C_Read... [19:15:29]Read from MH i2c: E2 03 00 [19:15:29]MH_I2C_Read... [19:15:29]Read from MH i2c: E2 03 00 CA 2D 00 90 00 6B [19:15:29]RAPDU: 90 00 [19:15:29]wFMCommunicate OK [19:15:29]SAM_PROTO_ClearQueue done [19:15:29]KKMCreateOFDPacket [19:15:29]OFDProtocolAddRootSTLVToBuf [19:15:29]FM_MakeSignedData [19:15:29]FM_MakeSignedData [19:15:29]SAM_PROTO_SignData [19:15:29]wFMCommunicate request_size=4 [19:15:29]MH_SAM_APDU [19:15:29]CAPDU: 80 0D 01 02 [19:15:29]Write to MH i2c: E2 08 00 CB 2D 80 0D 01 02 00 00 00 00 71 [19:15:29]Write i2c OK [19:15:29]MH_I2C_Read... [19:15:29]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:15:29]Read from MH i2c: E2 [19:15:29]MH_I2C_Read... [19:15:29]Read from MH i2c: E2 03 00 [19:15:29]MH_I2C_Read... [19:15:29]Read from MH i2c: E2 03 00 CB 2D 00 90 00 6C [19:15:29]RAPDU: 90 00 [19:15:29]wFMCommunicate OK [19:15:29]wFMCommunicate request_size=255 [19:15:29]MH_SAM_APDU [19:15:29]CAPDU: 80 0D 02 02 FA 03 00 B0 02 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 36 30 37 30 33 35 36 35 33 35 38 32 06 04 35 00 D0 92 D0 B0 D1 84 D0 BB D0 B8 20 D0 93 D0 BE D0 BB D0 BB D0 B0 D0 BD D0 B4 D1 81 D0 BA D0 B8 D0 B5 20 D0 B2 D0 B0 D1 80 2E D1 81 D0 B3 D1 83 D1 89 20 32 39 30 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A4 38 00 00 00 00 13 04 06 00 A4 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 38 37 30 32 33 35 36 38 31 33 39 30 06 04 36 00 D0 A7 D0 98 D0 9F D0 A1 D0 AB 20 53 4C 41 4E 47 20 D0 A1 D0 9E 20 D0 92 D0 9A D0 A3 D0 A1 D0 9E D0 9C 20 D0 9F D0 90 D0 9F D0 A0 D0 98 D0 9A D0 90 20 36 30 D0 93 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 [19:15:29]Write to MH i2c: E2 02 01 CC 2D 80 0D 02 02 FA 00 03 00 B0 02 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 36 30 37 30 33 35 36 35 33 35 38 32 06 04 35 00 D0 92 D0 B0 D1 84 D0 BB D0 B8 20 D0 93 D0 BE D0 BB D0 BB D0 B0 D0 BD D0 B4 D1 81 D0 BA D0 B8 D0 B5 20 D0 B2 D0 B0 D1 80 2E D1 81 D0 B3 D1 83 D1 89 20 32 39 30 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A4 38 00 00 00 00 13 04 06 00 A4 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 38 37 30 32 33 35 36 38 31 33 39 30 06 04 36 00 D0 A7 D0 98 D0 9F D0 A1 D0 AB 20 53 4C 41 4E 47 20 D0 A1 D0 9E 20 D0 92 D0 9A D0 A3 D0 A1 D0 9E D0 9C 20 D0 9F D0 90 D0 9F D0 A0 D0 98 D0 9A D0 90 20 36 30 D0 93 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 00 00 41 [19:15:29]Write i2c OK [19:15:29]MH_I2C_Read... [19:15:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:15:30]Read from MH i2c: E2 [19:15:30]MH_I2C_Read... [19:15:30]Read from MH i2c: E2 03 00 [19:15:30]MH_I2C_Read... [19:15:30]Read from MH i2c: E2 03 00 CC 2D 00 90 00 6D [19:15:30]RAPDU: 90 00 [19:15:30]wFMCommunicate OK [19:15:30]wFMCommunicate request_size=255 [19:15:30]MH_SAM_APDU [19:15:30]CAPDU: 80 0D 02 02 FA F6 03 01 00 01 BC 04 01 00 01 23 04 79 00 8A 04 0D 00 34 36 30 37 30 31 30 37 34 30 37 35 37 06 04 35 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 D0 A7 D0 B8 D0 BF D1 81 D0 BE D0 BD D1 8B 20 D1 81 D0 BC D0 B5 D1 82 D0 B0 D0 BD D0 B0 2C 20 D0 BB D1 83 D0 BA 20 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 10 00 00 00 00 13 04 06 00 04 10 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 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 [19:15:30]Write to MH i2c: E2 02 01 CD 2D 80 0D 02 02 FA 00 F6 03 01 00 01 BC 04 01 00 01 23 04 79 00 8A 04 0D 00 34 36 30 37 30 31 30 37 34 30 37 35 37 06 04 35 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 D0 A7 D0 B8 D0 BF D1 81 D0 BE D0 BD D1 8B 20 D1 81 D0 BC D0 B5 D1 82 D0 B0 D0 BD D0 B0 2C 20 D0 BB D1 83 D0 BA 20 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 10 00 00 00 00 13 04 06 00 04 10 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 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 DC [19:15:30]Write i2c OK [19:15:30]MH_I2C_Read... [19:15:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:15:30]Read from MH i2c: E2 [19:15:30]MH_I2C_Read... [19:15:30]Read from MH i2c: E2 03 00 [19:15:30]MH_I2C_Read... [19:15:30]Read from MH i2c: E2 03 00 CD 2D 00 90 00 6E [19:15:30]RAPDU: 90 00 [19:15:30]wFMCommunicate OK [19:15:30]wFMCommunicate request_size=197 [19:15:30]MH_SAM_APDU [19:15:30]CAPDU: 80 0D 02 02 C0 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 98 9E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 67 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D7 10 00 00 00 00 07 04 06 00 98 9E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 47 00 00 00 F4 03 04 00 DA 39 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 22 57 00 00 35 04 06 00 80 1E FD 4D C0 2E [19:15:30]Write to MH i2c: E2 C8 00 CE 2D 80 0D 02 02 C0 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 98 9E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 67 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D7 10 00 00 00 00 07 04 06 00 98 9E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 47 00 00 00 F4 03 04 00 DA 39 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 22 57 00 00 35 04 06 00 80 1E FD 4D C0 2E 00 00 96 [19:15:30]Write i2c OK [19:15:30]MH_I2C_Read... [19:15:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:15:30]Read from MH i2c: E2 [19:15:30]MH_I2C_Read... [19:15:30]Read from MH i2c: E2 03 00 [19:15:30]MH_I2C_Read... [19:15:30]Read from MH i2c: E2 03 00 CE 2D 00 90 00 6F [19:15:30]RAPDU: 90 00 [19:15:30]wFMCommunicate OK [19:15:30]wFMCommunicate request_size=4 [19:15:30]MH_SAM_APDU [19:15:30]CAPDU: 80 0D 03 02 [19:15:30]Write to MH i2c: E2 08 00 CF 2D 80 0D 03 02 00 00 00 00 77 [19:15:30]Write i2c OK [19:15:30]MH_I2C_Read... [19:15:30]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:15:30]Read from MH i2c: E2 [19:15:30]MH_I2C_Read... [19:15:30]Read from MH i2c: E2 0B 00 [19:15:30]MH_I2C_Read... [19:15:30]Read from MH i2c: E2 0B 00 CF 2D 00 41 B1 AA E9 EB 73 79 29 90 00 FD [19:15:30]RAPDU: 41 B1 AA E9 EB 73 79 29 90 00 [19:15:30]wFMCommunicate OK [19:15:30]SAM_PROTO_SignData done [19:15:30]FM_MakeSignedData done [19:15:30]CreateOFDProtocolMessage [19:15:30]wFMCommunicate request_size=4 [19:15:30]MH_SAM_APDU [19:15:30]CAPDU: 80 11 00 00 [19:15:30]Write to MH i2c: E2 08 00 D0 2D 80 11 00 00 00 00 00 00 77 [19:15:30]Write i2c OK [19:15:30]MH_I2C_Read... [19:15:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:15:30]Read from MH i2c: E2 [19:15:30]MH_I2C_Read... [19:15:30]Read from MH i2c: E2 17 00 [19:15:30]MH_I2C_Read... [19:15:30]Read from MH i2c: E2 17 00 D0 2D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 C9 [19:15:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [19:15:30]wFMCommunicate OK [19:15:30]CreateOFDProtocolMessage done [19:15:30]OFDSenderStorePacket 22306 [19:15:30]StoreOFDPacket docnum=22306 [19:15:30]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 C4 02 00 00 72 A8 BC 02 18 6F 5A 03 01 00 03 00 B0 02 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 36 30 37 30 33 35 36 35 33 35 38 32 06 04 35 00 D0 92 D0 B0 D1 84 D0 BB D0 B8 20 D0 93 D0 BE D0 BB D0 BB D0 B0 D0 BD D0 B4 D1 81 D0 BA D0 B8 D0 B5 20 D0 B2 D0 B0 D1 80 2E D1 81 D0 B3 D1 83 D1 89 20 32 39 30 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A4 38 00 00 00 00 13 04 06 00 A4 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 38 37 30 32 33 35 36 38 31 33 39 30 06 04 36 00 D0 A7 D0 98 D0 9F D0 A1 D0 AB 20 53 4C 41 4E 47 20 D0 A1 D0 9E 20 D0 92 D0 9A D0 A3 D0 A1 D0 9E D0 9C 20 D0 9F D0 90 D0 9F D0 A0 D0 98 D0 9A D0 90 20 36 30 D0 93 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 79 00 8A 04 0D 00 34 36 30 37 30 31 30 37 34 30 37 35 37 06 04 35 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 D0 A7 D0 B8 D0 BF D1 81 D0 BE D0 BD D1 8B 20 D1 81 D0 BC D0 B5 D1 82 D0 B0 D0 BD D0 B0 2C 20 D0 BB D1 83 D0 BA 20 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 10 00 00 00 00 13 04 06 00 04 10 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 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 98 9E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 67 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D7 10 00 00 00 00 07 04 06 00 98 9E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 47 00 00 00 F4 03 04 00 DA 39 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 22 57 00 00 35 04 06 00 80 1E FD 4D C0 2E 41 B1 AA E9 EB 73 79 29 [19:15:30]CheckFolder [19:15:30]dirname=/storage/ofd_packets [19:15:30]CheckFolder done [19:15:30]ProducePacketName [19:15:30]name=ofd_packets/00022306 [19:15:30]NVStorageSaveData ofd_packets/00022306 [19:15:30]File name is /storage/ofd_packets/00022306 [19:15:30]Write 738 bytes [19:15:30]NVStorageSaveData done [19:15:30]OFDSenderStorePacket done [19:15:30]KKMCreateOFDPacket done [19:15:30]NVStorageSaveData kkm_last_timestamp [19:15:30]File name is /storage/kkm_last_timestamp [19:15:30]Write 4 bytes [19:15:30]NVStorageSaveData done [19:15:30]ExternCall_PrintAddStr [19:15:30]wPrintStart [19:15:30]Write to MH i2c: 01 00 00 D1 2D FE [19:15:30]OFD Sender: Processing packet 22306 [packets to send 5, broken 4] [19:15:30]ProducePacketName [19:15:30]name=ofd_packets/00022306 [19:15:30]Write i2c OK [19:15:30]MH_I2C_Read... [19:15:30]Read from MH i2c: 01 [19:15:30]MH_I2C_Read... [19:15:30]Read from MH i2c: 01 07 00 [19:15:30]MH_I2C_Read... [19:15:30]OFD Sender: To server: pG, [19:15:30]CommunicateWithHost lk.salyk.kg:30040 [19:15:30]ConnectInit lk.salyk.kg [19:15:30]Read from MH i2c: 01 07 00 D1 2D 00 00 00 00 00 FF 0F 13 [19:15:30]RasterBufferAndPrint [19:15:30]line Счет N : (3)254519 [19:15:30]line ИНН: 02508201610067 [19:15:30]line Контрольно-Кассовый Чек [19:15:30]line ПРОДАЖА [19:15:30]line Товар: 4607035653582 [19:15:30]line Вафли Голландские вар.сгущ 290 [19:15:30]line 1.000 * 145.00 [19:15:30]line = 145.00 [19:15:30]line НДС 12% НСП 1% [19:15:30]line > о реализуемом товаре [19:15:30]line Товар: 4870235681390 [19:15:30]line ЧИПСЫ SLANG СО ВКУСОМ ПАПРИКА 60Г [19:15:30]line 1.000 * 95.00 [19:15:30]line = 95.00 [19:15:30]line НДС 12% НСП 1% [19:15:30]line > о реализуемом товаре [19:15:30]line Товар: 4607010740757 [19:15:30]line Чипсы Чипсоны сметана, лук 40г [19:15:30]line 1.000 * 41.00 [19:15:30]line = 41.00 [19:15:30]line НДС 12% НСП 1% [19:15:30]line > о реализуемом товаре [19:15:30]line Товар: 4870202521254 [19:15:30]line Чай холодный MAXI черный со вкусом клубн [19:15:30]line 1.000 * 125.00 [19:15:30]line = 125.00 [19:15:30]line НДС 12% НСП 1% [19:15:30]line > о реализуемом товаре [19:15:30]line ИТОГО: 406.00 [19:15:30]line НСП 1% : 3.59 [19:15:30]line НДС 12% : 43.11 [19:15:30]line Наличными: 406.00 [19:15:30]line Безнал.: 0.00 [19:15:30]line Место: АЗС № 76 "Партнер Нефть" [19:15:30]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [19:15:30]line СНО: Общий режим [19:15:30]line Чек 71 16.06.2024 19:15 [19:15:30]line Смена: 327 ФФД: 1.0 [19:15:30]line ЗНМ: 0300000200 [19:15:30]line РНМ: 0000000000099755 [19:15:30]line Версия ККМ: 001 [19:15:30]line ФМ: 0000000000965344 [19:15:30]line ФД: 22306 [19:15:30]line ФПД: 140870587105326 [19:15:30]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T191538&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22306&fm=140870587105326&tin=02508201610067®Number=0000000000099755&sum=40600 [19:15:30]line 0 [19:15:30]written 0, free lines is 4095 [19:15:31]Connected sock=10 [19:15:31]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 C4 02 00 00 72 A8 BC 02 18 6F 5A 03 01 00 03 00 B0 02 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 36 30 37 30 33 35 36 35 33 35 38 32 06 04 35 00 D0 92 D0 B0 D1 84 D0 BB D0 B8 20 D0 93 D0 BE D0 BB D0 BB D0 B0 D0 BD D0 B4 D1 81 D0 BA D0 B8 D0 B5 20 D0 B2 D0 B0 D1 80 2E D1 81 D0 B3 D1 83 D1 89 20 32 39 30 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A4 38 00 00 00 00 13 04 06 00 A4 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 38 37 30 32 33 35 36 38 31 33 39 30 06 04 36 00 D0 A7 D0 98 D0 9F D0 A1 D0 AB 20 53 4C 41 4E 47 20 D0 A1 D0 9E 20 D0 92 D0 9A D0 A3 D0 A1 D0 9E D0 9C 20 D0 9F D0 90 D0 9F D0 A0 D0 98 D0 9A D0 90 20 36 30 D0 93 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 79 00 8A 04 0D 00 34 36 30 37 30 31 30 37 34 30 37 35 37 06 04 35 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 D0 A7 D0 B8 D0 BF D1 81 D0 BE D0 BD D1 8B 20 D1 81 D0 BC D0 B5 D1 82 D0 B0 D0 BD D0 B0 2C 20 D0 BB D1 83 D0 BA 20 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 10 00 00 00 00 13 04 06 00 04 10 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 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 98 9E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 67 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D7 10 00 00 00 00 07 04 06 00 98 9E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 47 00 00 00 F4 03 04 00 DA 39 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 22 57 00 00 35 04 06 00 80 1E FD 4D C0 2E 41 B1 AA E9 EB 73 79 29 [19:15:31]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 C8 02 47 00 6E 1B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 22 57 00 00 F4 03 04 00 94 E2 6E 66 B6 04 01 00 00 F9 1A A5 0F 89 14 53 71 [19:15:31]CommunicateWithHost err = 0 [19:15:31]CheckOFDResponse [19:15:31]1017 (14) - 77093643461234 [19:15:31]1041 (16) - 0000000000965344 [19:15:31]1040 (4) - 22306 [19:15:31]1012 (4) - 16.06.2024 13:03 [19:15:31]1206 (1) - 0 [19:15:31]OFD Sender: Remove packet 22306 [19:15:31]ProducePacketName [19:15:31]name=ofd_packets/00022306 [19:15:31]NVStorageDeleteData [19:15:31]Write to MH i2c: 01 00 00 0F 2E 3D [19:15:31]Write i2c OK [19:15:31]MH_I2C_Read... [19:15:31]Read from MH i2c: 01 [19:15:31]MH_I2C_Read... [19:15:31]Read from MH i2c: 01 07 00 [19:15:31]MH_I2C_Read... [19:15:31]Read from MH i2c: 01 07 00 0F 2E 00 00 00 00 00 07 0C 57 [19:15:31]RasterBufferAndPrint [19:15:31]line [19:15:31]line [19:15:31]line [19:15:31]line [19:15:31]line [19:15:31]written 0, free lines is 3089 [19:15:31]MH_Cut [19:15:31]Write to MH i2c: D1 01 00 16 2E 01 16 [19:15:31]Write i2c OK [19:15:31]MH_I2C_Read... [19:15:31]Read from MH i2c: D1 [19:15:31]MH_I2C_Read... [19:15:31]Read from MH i2c: D1 01 00 [19:15:31]MH_I2C_Read... [19:15:31]Read from MH i2c: D1 01 00 16 2E 00 15 [19:15:31]Write to MH i2c: 01 00 00 17 2E 45 [19:15:31]Write i2c OK [19:15:31]MH_I2C_Read... [19:15:31]OFD Sender: No OFD packet to send [19:15:32]*** Cut start [19:15:32]*** Partial cut [19:15:32]*** CUTSNS_PIN = 1 [19:15:32]*** CUTSNS_PIN = 0 [19:15:32]*** Brake cut motor [19:15:33]Read from MH i2c: 01 [19:15:33]MH_I2C_Read... [19:15:33]*** Stop cut motor [19:15:33]*** Cut end [19:15:33]Read from MH i2c: 01 07 00 [19:15:33]MH_I2C_Read... [19:15:33]Read from MH i2c: 01 07 00 17 2E 00 00 00 00 00 FF 0F 5A [19:15:33]process_action close_receipt done [19:15:33]requested_data is exist [19:15:33]produce_requested_data [19:15:33]requested_item fm.sn is exist - process it [19:15:33]wFMCommunicate request_size=4 [19:15:33]MH_SAM_APDU [19:15:33]CAPDU: 80 11 00 00 [19:15:33]Write to MH i2c: E2 08 00 18 2E 80 11 00 00 00 00 00 00 C0 [19:15:33]Write i2c OK [19:15:33]MH_I2C_Read... [19:15:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:15:33]Read from MH i2c: E2 [19:15:33]MH_I2C_Read... [19:15:33]Read from MH i2c: E2 17 00 [19:15:33]MH_I2C_Read... [19:15:33]Read from MH i2c: E2 17 00 18 2E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 12 [19:15:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [19:15:33]wFMCommunicate OK [19:15:33]requested_item fd.num is exist - process it [19:15:33]SAM_PROTO_GetFieldsCounters [19:15:33]wFMCommunicate request_size=4 [19:15:33]MH_SAM_APDU [19:15:33]CAPDU: 80 13 00 00 [19:15:33]Write to MH i2c: E2 08 00 19 2E 80 13 00 00 00 00 00 00 C3 [19:15:33]Write i2c OK [19:15:33]MH_I2C_Read... [19:15:33]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:15:33]Read from MH i2c: E2 [19:15:33]MH_I2C_Read... [19:15:33]Read from MH i2c: E2 62 00 [19:15:33]MH_I2C_Read... [19:15:33]Read from MH i2c: E2 62 00 19 2E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 22 57 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 47 00 00 00 5E 04 04 00 47 00 00 00 57 04 04 00 48 00 00 00 19 04 04 00 00 00 00 00 90 00 83 [19:15:33]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 22 57 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 47 00 00 00 5E 04 04 00 47 00 00 00 57 04 04 00 48 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:15:33]wFMCommunicate OK [19:15:33]SAM_PROTO_GetFieldsCounters done [19:15:33]requested_item shift.num is exist - process it [19:15:33]requested_item shift.opened is exist - process it [19:15:33]req_shift_opened [19:15:33]FM_GetShiftState [19:15:33]SAM_PROTO_GetShiftState [19:15:33]wFMCommunicate request_size=4 [19:15:33]MH_SAM_APDU [19:15:33]CAPDU: 80 13 01 00 [19:15:33]Write to MH i2c: E2 08 00 1A 2E 80 13 01 00 00 00 00 00 C5 [19:15:33]Write i2c OK [19:15:33]MH_I2C_Read... [19:15:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:15:33]Read from MH i2c: E2 [19:15:33]MH_I2C_Read... [19:15:33]Read from MH i2c: E2 0E 00 [19:15:33]MH_I2C_Read... [19:15:33]Read from MH i2c: E2 0E 00 1A 2E 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 E6 [19:15:33]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [19:15:33]wFMCommunicate OK [19:15:33]SAM_PROTO_GetShiftState done [19:15:33]FM_GetShiftState done [19:15:33]req_shift_opened done [19:15:33]requested_item shift.open_date is exist - process it [19:15:33]req_shift_open_date [19:15:33]req_shift_open_date done [19:15:33]produce_requested_data done [19:15:33]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22306,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297} [19:15:33]process_action_free close_receipt [19:15:33]json_value_free [19:15:33]json_value_free done [19:15:33]process_json_proto returns [19:15:33]Send response to host [19:15:33]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22306,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297}}} [19:15:33]free response buf [19:15:33]execute_script done [19:15:33]execute_script returns [19:15:33]free content buf [19:15:33]Sock 8.Close socket [19:15:33]Sock 8.Thread stoped [19:15:36]OFD Sender: No OFD packet to send [19:15:41]OFD Sender: No OFD packet to send [19:15:46]OFD Sender: No OFD packet to send [19:15:51]OFD Sender: No OFD packet to send [19:15:56]OFD Sender: No OFD packet to send [19:16:01]OFD Sender: No OFD packet to send [19:16:06]OFD Sender: No OFD packet to send [19:16:11]OFD Sender: No OFD packet to send [19:16:16]OFD Sender: No OFD packet to send [19:16:21]OFD Sender: No OFD packet to send [19:16:26]OFD Sender: No OFD packet to send [19:16:31]OFD Sender: No OFD packet to send [19:16:36]OFD Sender: No OFD packet to send [19:16:41]OFD Sender: No OFD packet to send [19:16:46]OFD Sender: No OFD packet to send [19:16:51]OFD Sender: No OFD packet to send [19:16:56]OFD Sender: No OFD packet to send [19:17:01]OFD Sender: No OFD packet to send [19:17:06]OFD Sender: No OFD packet to send [19:17:11]OFD Sender: No OFD packet to send [19:17:16]OFD Sender: No OFD packet to send [19:17:21]OFD Sender: No OFD packet to send [19:17:26]OFD Sender: No OFD packet to send [19:17:31]OFD Sender: No OFD packet to send [19:17:36]OFD Sender: No OFD packet to send [19:17:41]OFD Sender: No OFD packet to send [19:17:46]OFD Sender: No OFD packet to send [19:17:51]OFD Sender: No OFD packet to send [19:17:56]OFD Sender: No OFD packet to send [19:18:01]OFD Sender: No OFD packet to send [19:18:06]OFD Sender: No OFD packet to send [19:18:11]OFD Sender: No OFD packet to send [19:18:16]OFD Sender: No OFD packet to send [19:18:21]OFD Sender: No OFD packet to send [19:18:26]OFD Sender: No OFD packet to send [19:18:31]OFD Sender: No OFD packet to send [19:18:36]OFD Sender: No OFD packet to send [19:18:41]OFD Sender: No OFD packet to send [19:18:46]OFD Sender: No OFD packet to send [19:18:51]OFD Sender: No OFD packet to send [19:18:56]OFD Sender: No OFD packet to send [19:19:01]OFD Sender: No OFD packet to send [19:19:06]OFD Sender: No OFD packet to send [19:19:11]OFD Sender: No OFD packet to send [19:19:16]OFD Sender: No OFD packet to send [19:19:21]OFD Sender: No OFD packet to send [19:19:26]OFD Sender: No OFD packet to send [19:19:31]OFD Sender: No OFD packet to send [19:19:36]OFD Sender: No OFD packet to send [19:19:41]OFD Sender: No OFD packet to send [19:19:46]OFD Sender: No OFD packet to send [19:19:51]OFD Sender: No OFD packet to send [19:19:56]OFD Sender: No OFD packet to send [19:20:01]OFD Sender: No OFD packet to send [19:20:07]OFD Sender: No OFD packet to send [19:20:12]OFD Sender: No OFD packet to send [19:20:17]OFD Sender: No OFD packet to send [19:20:22]OFD Sender: No OFD packet to send [19:20:27]OFD Sender: No OFD packet to send [19:20:32]OFD Sender: No OFD packet to send [19:20:37]OFD Sender: No OFD packet to send [19:20:42]OFD Sender: No OFD packet to send [19:20:47]OFD Sender: No OFD packet to send [19:20:52]OFD Sender: No OFD packet to send [19:20:57]OFD Sender: No OFD packet to send [19:21:02]OFD Sender: No OFD packet to send [19:21:07]OFD Sender: No OFD packet to send [19:21:12]OFD Sender: No OFD packet to send [19:21:17]OFD Sender: No OFD packet to send [19:21:22]OFD Sender: No OFD packet to send [19:21:27]OFD Sender: No OFD packet to send [19:21:32]OFD Sender: No OFD packet to send [19:21:37]OFD Sender: No OFD packet to send [19:21:42]OFD Sender: No OFD packet to send [19:21:47]OFD Sender: No OFD packet to send [19:21:52]OFD Sender: No OFD packet to send [19:21:57]OFD Sender: No OFD packet to send [19:22:02]OFD Sender: No OFD packet to send [19:22:07]OFD Sender: No OFD packet to send [19:22:12]OFD Sender: No OFD packet to send [19:22:17]OFD Sender: No OFD packet to send [19:22:22]OFD Sender: No OFD packet to send [19:22:27]OFD Sender: No OFD packet to send [19:22:32]OFD Sender: No OFD packet to send [19:22:37]OFD Sender: No OFD packet to send [19:22:42]OFD Sender: No OFD packet to send [19:22:47]OFD Sender: No OFD packet to send [19:22:52]OFD Sender: No OFD packet to send [19:22:57]OFD Sender: No OFD packet to send [19:23:02]OFD Sender: No OFD packet to send [19:23:07]OFD Sender: No OFD packet to send [19:23:12]OFD Sender: No OFD packet to send [19:23:17]OFD Sender: No OFD packet to send [19:23:22]OFD Sender: No OFD packet to send [19:23:27]OFD Sender: No OFD packet to send [19:23:32]OFD Sender: No OFD packet to send [19:23:37]OFD Sender: No OFD packet to send [19:23:42]OFD Sender: No OFD packet to send [19:23:47]OFD Sender: No OFD packet to send [19:23:52]OFD Sender: No OFD packet to send [19:23:57]OFD Sender: No OFD packet to send [19:24:02]OFD Sender: No OFD packet to send [19:24:07]OFD Sender: No OFD packet to send [19:24:12]OFD Sender: No OFD packet to send [19:24:17]OFD Sender: No OFD packet to send [19:24:22]OFD Sender: No OFD packet to send [19:24:27]OFD Sender: No OFD packet to send [19:24:32]OFD Sender: No OFD packet to send [19:24:37]OFD Sender: No OFD packet to send [19:24:42]OFD Sender: No OFD packet to send [19:24:47]OFD Sender: No OFD packet to send [19:24:52]OFD Sender: No OFD packet to send [19:24:57]OFD Sender: No OFD packet to send [19:25:02]OFD Sender: No OFD packet to send [19:25:07]OFD Sender: No OFD packet to send [19:25:12]OFD Sender: No OFD packet to send [19:25:17]OFD Sender: No OFD packet to send [19:25:22]OFD Sender: No OFD packet to send [19:25:27]OFD Sender: No OFD packet to send [19:25:32]OFD Sender: No OFD packet to send [19:25:37]OFD Sender: No OFD packet to send [19:25:42]OFD Sender: No OFD packet to send [19:25:47]OFD Sender: No OFD packet to send [19:25:52]OFD Sender: No OFD packet to send [19:25:57]OFD Sender: No OFD packet to send [19:26:02]OFD Sender: No OFD packet to send [19:26:07]OFD Sender: No OFD packet to send [19:26:12]OFD Sender: No OFD packet to send [19:26:17]OFD Sender: No OFD packet to send [19:26:22]OFD Sender: No OFD packet to send [19:26:27]OFD Sender: No OFD packet to send [19:26:32]OFD Sender: No OFD packet to send [19:26:37]OFD Sender: No OFD packet to send [19:26:42]OFD Sender: No OFD packet to send [19:26:47]OFD Sender: No OFD packet to send [19:26:52]OFD Sender: No OFD packet to send [19:26:57]OFD Sender: No OFD packet to send [19:27:02]OFD Sender: No OFD packet to send [19:27:07]OFD Sender: No OFD packet to send [19:27:12]OFD Sender: No OFD packet to send [19:27:17]OFD Sender: No OFD packet to send [19:27:22]OFD Sender: No OFD packet to send [19:27:27]OFD Sender: No OFD packet to send [19:27:32]OFD Sender: No OFD packet to send [19:27:37]OFD Sender: No OFD packet to send [19:27:42]OFD Sender: No OFD packet to send [19:27:47]OFD Sender: No OFD packet to send [19:27:52]OFD Sender: No OFD packet to send [19:27:57]OFD Sender: No OFD packet to send [19:28:02]OFD Sender: No OFD packet to send [19:28:07]OFD Sender: No OFD packet to send [19:28:12]OFD Sender: No OFD packet to send [19:28:17]OFD Sender: No OFD packet to send [19:28:22]OFD Sender: No OFD packet to send [19:28:27]OFD Sender: No OFD packet to send [19:28:32]OFD Sender: No OFD packet to send [19:28:37]OFD Sender: No OFD packet to send [19:28:42]OFD Sender: No OFD packet to send [19:28:47]OFD Sender: No OFD packet to send [19:28:52]OFD Sender: No OFD packet to send [19:28:57]OFD Sender: No OFD packet to send [19:29:02]OFD Sender: No OFD packet to send [19:29:07]OFD Sender: No OFD packet to send [19:29:12]OFD Sender: No OFD packet to send [19:29:17]OFD Sender: No OFD packet to send [19:29:22]OFD Sender: No OFD packet to send [19:29:27]OFD Sender: No OFD packet to send [19:29:32]OFD Sender: No OFD packet to send [19:29:37]OFD Sender: No OFD packet to send [19:29:42]OFD Sender: No OFD packet to send [19:29:47]OFD Sender: No OFD packet to send [19:29:52]OFD Sender: No OFD packet to send [19:29:57]OFD Sender: No OFD packet to send [19:30:02]OFD Sender: No OFD packet to send [19:30:07]OFD Sender: No OFD packet to send [19:30:12]OFD Sender: No OFD packet to send [19:30:17]OFD Sender: No OFD packet to send [19:30:22]OFD Sender: No OFD packet to send [19:30:27]OFD Sender: No OFD packet to send [19:30:32]OFD Sender: No OFD packet to send [19:30:37]OFD Sender: No OFD packet to send [19:30:42]OFD Sender: No OFD packet to send [19:30:47]OFD Sender: No OFD packet to send [19:30:52]OFD Sender: No OFD packet to send [19:30:57]OFD Sender: No OFD packet to send [19:31:02]OFD Sender: No OFD packet to send [19:31:07]OFD Sender: No OFD packet to send [19:31:12]OFD Sender: No OFD packet to send [19:31:17]OFD Sender: No OFD packet to send [19:31:22]OFD Sender: No OFD packet to send [19:31:27]OFD Sender: No OFD packet to send [19:31:32]OFD Sender: No OFD packet to send [19:31:37]OFD Sender: No OFD packet to send [19:31:42]OFD Sender: No OFD packet to send [19:31:47]OFD Sender: No OFD packet to send [19:31:52]OFD Sender: No OFD packet to send [19:31:57]OFD Sender: No OFD packet to send [19:32:02]OFD Sender: No OFD packet to send [19:32:07]OFD Sender: No OFD packet to send [19:32:12]OFD Sender: No OFD packet to send [19:32:17]OFD Sender: No OFD packet to send [19:32:22]OFD Sender: No OFD packet to send [19:32:27]OFD Sender: No OFD packet to send [19:32:32]OFD Sender: No OFD packet to send [19:32:37]OFD Sender: No OFD packet to send [19:32:42]OFD Sender: No OFD packet to send [19:32:47]OFD Sender: No OFD packet to send [19:32:52]OFD Sender: No OFD packet to send [19:32:57]OFD Sender: No OFD packet to send [19:33:02]OFD Sender: No OFD packet to send [19:33:07]OFD Sender: No OFD packet to send [19:33:12]OFD Sender: No OFD packet to send [19:33:17]OFD Sender: No OFD packet to send [19:33:22]OFD Sender: No OFD packet to send [19:33:27]OFD Sender: No OFD packet to send [19:33:32]OFD Sender: No OFD packet to send [19:33:37]OFD Sender: No OFD packet to send [19:33:42]OFD Sender: No OFD packet to send [19:33:47]OFD Sender: No OFD packet to send [19:33:52]OFD Sender: No OFD packet to send [19:33:57]OFD Sender: No OFD packet to send [19:34:02]OFD Sender: No OFD packet to send [19:34:07]OFD Sender: No OFD packet to send [19:34:12]OFD Sender: No OFD packet to send [19:34:17]OFD Sender: No OFD packet to send [19:34:22]OFD Sender: No OFD packet to send [19:34:27]OFD Sender: No OFD packet to send [19:34:32]OFD Sender: No OFD packet to send [19:34:37]OFD Sender: No OFD packet to send [19:34:42]OFD Sender: No OFD packet to send [19:34:47]OFD Sender: No OFD packet to send [19:34:52]OFD Sender: No OFD packet to send [19:34:57]OFD Sender: No OFD packet to send [19:35:02]OFD Sender: No OFD packet to send [19:35:07]OFD Sender: No OFD packet to send [19:35:12]OFD Sender: No OFD packet to send [19:35:17]OFD Sender: No OFD packet to send [19:35:22]OFD Sender: No OFD packet to send [19:35:27]OFD Sender: No OFD packet to send [19:35:32]OFD Sender: No OFD packet to send [19:35:37]OFD Sender: No OFD packet to send [19:35:42]OFD Sender: No OFD packet to send [19:35:47]OFD Sender: No OFD packet to send [19:35:52]OFD Sender: No OFD packet to send [19:35:57]OFD Sender: No OFD packet to send [19:36:02]OFD Sender: No OFD packet to send [19:36:07]OFD Sender: No OFD packet to send [19:36:08]accept exits with 9 [19:36:08]New connection [19:36:08]New thread 3066695012 created [19:36:08]Thread 3066838372 joined [19:36:08]Waiting for new connection... [19:36:08] Sock 9.Parse request [19:36:08]Sock 9.Check first char [19:36:08]Sock 9.First char is OK [19:36:08]request: POST /json_proto HTTP/1.0 [19:36:08]Method: POST [19:36:08]URL: /json_proto [19:36:08]Method is POST - this is cgi request [19:36:08]url: /json_proto [19:36:08]query_string will be loaded in cgi processing [19:36:08]execute_cgi json_proto POST (null) [19:36:08]execute_cgi path=json_proto method=POST [19:36:08]POST find Content-Length [19:36:08]Host: 172.17.35.133:8080 [19:36:08]Content-Length: 865 [19:36:08]Content-Type: application/json [19:36:08] [19:36:08]POST finish read [19:36:08]Found Content-Length = 865 [19:36:08]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254520", "tax_sys" : 0, "items" : [ { "code": "48741156", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B LD Blue", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700002082931", "name": "\u0412\u043E\u0434\u043A\u0430 \u0425\u043E\u0440\u043E\u0448\u0430\u044F 0,1\u043B", "price" : 70.00, "quantity" : 2.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 270.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:36:08]execute_script... [19:36:08]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254520", "tax_sys" : 0, "items" : [ { "code": "48741156", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B LD Blue", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700002082931", "name": "\u0412\u043E\u0434\u043A\u0430 \u0425\u043E\u0440\u043E\u0448\u0430\u044F 0,1\u043B", "price" : 70.00, "quantity" : 2.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 270.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:36:08]POST & json_proto [19:36:08]process_json_proto [19:36:08]json parsed OK: [19:36:08]protocol is kg_v1.0 [19:36:08]action value=close_receipt [19:36:08]process_action close_receipt [19:36:08]cmd_close_receipt [19:36:08]MH_GetDate [19:36:08]Write to MH i2c: F0 00 00 1B 2E 38 [19:36:08]Write i2c OK [19:36:08]MH_I2C_Read... [19:36:08]Read from MH i2c: F0 [19:36:08]MH_I2C_Read... [19:36:08]Read from MH i2c: F0 09 00 [19:36:08]MH_I2C_Read... [19:36:08]Read from MH i2c: F0 09 00 1B 2E 00 B2 3E 6F 66 8C 55 28 65 74 [19:36:08]GetLastDocTimeStamp 1718565338 [19:36:08]current date 1718566578 [19:36:08]FM_GetShiftState [19:36:08]SAM_PROTO_GetShiftState [19:36:08]wFMCommunicate request_size=4 [19:36:08]MH_SAM_APDU [19:36:08]CAPDU: 80 13 01 00 [19:36:08]Write to MH i2c: E2 08 00 1C 2E 80 13 01 00 00 00 00 00 C7 [19:36:08]Write i2c OK [19:36:08]MH_I2C_Read... [19:36:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:36:08]Read from MH i2c: E2 [19:36:08]MH_I2C_Read... [19:36:08]Read from MH i2c: E2 0E 00 [19:36:08]MH_I2C_Read... [19:36:08]Read from MH i2c: E2 0E 00 1C 2E 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 E8 [19:36:08]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [19:36:08]wFMCommunicate OK [19:36:08]SAM_PROTO_GetShiftState done [19:36:08]FM_GetShiftState done [19:36:08]opened in 1718497297 [19:36:08]opened+sec_in_day 1718583697 [19:36:08]quantity*price = 13000 [19:36:08]sum+1 = 13001 [19:36:08]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700002082931 Водка Хорошая 0,1л 2.000 * 70.00 = 140.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 270.00 НСП 1% : 2.39 НДС 12% : 28.67 Наличными: 270.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 72 16.06.2024 19:36 Смена: 327 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22307 ФПД: 230248625527644 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T193618&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22307&fm=230248625527644&tin=02508201610067®Number=0000000000099755&sum=27000 0 [19:36:09]StoreToDocumentArchive [19:36:09]shift 327 fd 22307 [19:36:09]save to /storage/0327/doc_00022307 [19:36:09]save last doc name /storage/0327/doc_00022307 to /storage/kkm_last_doc_name [19:36:09]save OK [19:36:09]Clear old archive folders... [19:36:09]ProcessDocumentItem done err = 0, tmpTLVsize=364 [19:36:09]tlvbuf is 002D5BD0 [19:36:09]SAM_PROTO_ClearQueue [19:36:09]wFMCommunicate request_size=4 [19:36:09]MH_SAM_APDU [19:36:09]CAPDU: 80 09 00 00 [19:36:09]Write to MH i2c: E2 08 00 29 2E 80 09 00 00 00 00 00 00 C9 [19:36:09]Write i2c OK [19:36:09]MH_I2C_Read... [19:36:09]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:36:09]Read from MH i2c: E2 [19:36:09]MH_I2C_Read... [19:36:09]Read from MH i2c: E2 03 00 [19:36:09]MH_I2C_Read... [19:36:09]Read from MH i2c: E2 03 00 29 2E 00 90 00 CB [19:36:09]RAPDU: 90 00 [19:36:09]wFMCommunicate OK [19:36:09]SAM_PROTO_ClearQueue done [19:36:09]KKMCreateOFDPacket [19:36:09]OFDProtocolAddRootSTLVToBuf [19:36:09]FM_MakeSignedData [19:36:09]FM_MakeSignedData [19:36:09]SAM_PROTO_SignData [19:36:09]wFMCommunicate request_size=4 [19:36:09]MH_SAM_APDU [19:36:09]CAPDU: 80 0D 01 02 [19:36:09]Write to MH i2c: E2 08 00 2A 2E 80 0D 01 02 00 00 00 00 D1 [19:36:09]Write i2c OK [19:36:09]MH_I2C_Read... [19:36:10]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:36:10]Read from MH i2c: E2 [19:36:10]MH_I2C_Read... [19:36:10]Read from MH i2c: E2 03 00 [19:36:10]MH_I2C_Read... [19:36:10]Read from MH i2c: E2 03 00 2A 2E 00 90 00 CC [19:36:10]RAPDU: 90 00 [19:36:10]wFMCommunicate OK [19:36:10]wFMCommunicate request_size=255 [19:36:10]MH_SAM_APDU [19:36:10]CAPDU: 80 0D 02 02 FA 03 00 6C 01 1E 04 01 00 01 23 04 57 00 8A 04 08 00 34 38 37 34 31 31 35 36 06 04 18 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 39 33 31 06 04 1F 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A5 D0 BE D1 80 D0 BE D1 88 D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 58 1B 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 78 69 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 33 [19:36:10]Write to MH i2c: E2 02 01 2B 2E 80 0D 02 02 FA 00 03 00 6C 01 1E 04 01 00 01 23 04 57 00 8A 04 08 00 34 38 37 34 31 31 35 36 06 04 18 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 39 33 31 06 04 1F 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A5 D0 BE D1 80 D0 BE D1 88 D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 58 1B 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 78 69 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 33 00 00 3A [19:36:10]Write i2c OK [19:36:10]MH_I2C_Read... [19:36:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:36:10]Read from MH i2c: E2 [19:36:10]MH_I2C_Read... [19:36:10]Read from MH i2c: E2 03 00 [19:36:10]MH_I2C_Read... [19:36:10]Read from MH i2c: E2 03 00 2B 2E 00 90 00 CD [19:36:10]RAPDU: 90 00 [19:36:10]wFMCommunicate OK [19:36:10]wFMCommunicate request_size=123 [19:36:10]MH_SAM_APDU [19:36:10]CAPDU: 80 0D 02 02 76 0B 00 00 00 00 07 04 06 00 78 69 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 48 00 00 00 F4 03 04 00 B2 3E 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 23 57 00 00 35 04 06 00 D1 68 EF 88 DB 5C [19:36:10]Write to MH i2c: E2 7E 00 2C 2E 80 0D 02 02 76 00 0B 00 00 00 00 07 04 06 00 78 69 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 48 00 00 00 F4 03 04 00 B2 3E 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 23 57 00 00 35 04 06 00 D1 68 EF 88 DB 5C 00 00 A5 [19:36:10]Write i2c OK [19:36:10]MH_I2C_Read... [19:36:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:36:10]Read from MH i2c: E2 [19:36:10]MH_I2C_Read... [19:36:10]Read from MH i2c: E2 03 00 [19:36:10]MH_I2C_Read... [19:36:10]Read from MH i2c: E2 03 00 2C 2E 00 90 00 CE [19:36:10]RAPDU: 90 00 [19:36:10]wFMCommunicate OK [19:36:10]wFMCommunicate request_size=4 [19:36:10]MH_SAM_APDU [19:36:10]CAPDU: 80 0D 03 02 [19:36:10]Write to MH i2c: E2 08 00 2D 2E 80 0D 03 02 00 00 00 00 D6 [19:36:10]Write i2c OK [19:36:10]MH_I2C_Read... [19:36:10]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:36:10]Read from MH i2c: E2 [19:36:10]MH_I2C_Read... [19:36:10]Read from MH i2c: E2 0B 00 [19:36:10]MH_I2C_Read... [19:36:10]Read from MH i2c: E2 0B 00 2D 2E 00 6A D2 14 DB 0F 04 89 5A 90 00 F8 [19:36:10]RAPDU: 6A D2 14 DB 0F 04 89 5A 90 00 [19:36:10]wFMCommunicate OK [19:36:10]SAM_PROTO_SignData done [19:36:10]FM_MakeSignedData done [19:36:10]CreateOFDProtocolMessage [19:36:10]wFMCommunicate request_size=4 [19:36:10]MH_SAM_APDU [19:36:10]CAPDU: 80 11 00 00 [19:36:10]Write to MH i2c: E2 08 00 2E 2E 80 11 00 00 00 00 00 00 D6 [19:36:10]Write i2c OK [19:36:10]MH_I2C_Read... [19:36:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:36:10]Read from MH i2c: E2 [19:36:10]MH_I2C_Read... [19:36:10]Read from MH i2c: E2 17 00 [19:36:10]MH_I2C_Read... [19:36:10]Read from MH i2c: E2 17 00 2E 2E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 28 [19:36:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [19:36:10]wFMCommunicate OK [19:36:10]CreateOFDProtocolMessage done [19:36:10]OFDSenderStorePacket 22307 [19:36:10]StoreOFDPacket docnum=22307 [19:36:10]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 80 01 00 00 AE ED 78 01 42 9F 5A 03 01 00 03 00 6C 01 1E 04 01 00 01 23 04 57 00 8A 04 08 00 34 38 37 34 31 31 35 36 06 04 18 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 39 33 31 06 04 1F 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A5 D0 BE D1 80 D0 BE D1 88 D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 58 1B 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 78 69 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 33 0B 00 00 00 00 07 04 06 00 78 69 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 48 00 00 00 F4 03 04 00 B2 3E 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 23 57 00 00 35 04 06 00 D1 68 EF 88 DB 5C 6A D2 14 DB 0F 04 89 5A [19:36:10]CheckFolder [19:36:10]dirname=/storage/ofd_packets [19:36:10]CheckFolder done [19:36:10]ProducePacketName [19:36:10]name=ofd_packets/00022307 [19:36:10]NVStorageSaveData ofd_packets/00022307 [19:36:10]File name is /storage/ofd_packets/00022307 [19:36:10]Write 414 bytes [19:36:10]NVStorageSaveData done [19:36:10]OFDSenderStorePacket done [19:36:10]KKMCreateOFDPacket done [19:36:10]NVStorageSaveData kkm_last_timestamp [19:36:10]File name is /storage/kkm_last_timestamp [19:36:10]Write 4 bytes [19:36:10]NVStorageSaveData done [19:36:10]ExternCall_PrintAddStr [19:36:10]wPrintStart [19:36:10]Write to MH i2c: 01 00 00 2F 2E 5D [19:36:10]Write i2c OK [19:36:10]MH_I2C_Read... [19:36:10]Read from MH i2c: 01 [19:36:10]MH_I2C_Read... [19:36:10]Read from MH i2c: 01 07 00 [19:36:10]MH_I2C_Read... [19:36:10]Read from MH i2c: 01 07 00 2F 2E 00 00 00 00 00 FF 0F 72 [19:36:10]RasterBufferAndPrint [19:36:10]line Счет N : (3)254520 [19:36:10]line ИНН: 02508201610067 [19:36:10]line Контрольно-Кассовый Чек [19:36:10]line ПРОДАЖА [19:36:10]line Товар: 48741156 [19:36:10]line Сигареты LD Blue [19:36:10]line 1.000 * 130.00 [19:36:10]line = 130.00 [19:36:10]line НДС 12% НСП 1% [19:36:10]line > о реализуемом товаре [19:36:10]line Товар: 4700002082931 [19:36:10]line Водка Хорошая 0,1л [19:36:10]line 2.000 * 70.00 [19:36:10]line = 140.00 [19:36:10]line НДС 12% НСП 1% [19:36:10]line > о реализуемом товаре [19:36:10]line ИТОГО: 270.00 [19:36:10]line НСП 1% : 2.39 [19:36:10]line НДС 12% : 28.67 [19:36:10]line Наличными: 270.00 [19:36:10]line Безнал.: 0.00 [19:36:10]line Место: АЗС № 76 "Партнер Нефть" [19:36:10]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [19:36:10]line СНО: Общий режим [19:36:10]line Чек 72 16.06.2024 19:36 [19:36:10]line Смена: 327 ФФД: 1.0 [19:36:10]line ЗНМ: 0300000200 [19:36:10]line РНМ: 0000000000099755 [19:36:10]line Версия ККМ: 001 [19:36:10]line ФМ: 0000000000965344 [19:36:10]line ФД: 22307 [19:36:10]line ФПД: 230248625527644 [19:36:10]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T193618&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22307&fm=230248625527644&tin=02508201610067®Number=0000000000099755&sum=27000 [19:36:10]line 0 [19:36:10]OFD Sender: Processing packet 22307 [packets to send 5, broken 4] [19:36:10]ProducePacketName [19:36:10]name=ofd_packets/00022307 [19:36:10]OFD Sender: To server: pG, [19:36:10]CommunicateWithHost lk.salyk.kg:30040 [19:36:10]ConnectInit lk.salyk.kg [19:36:10]written 0, free lines is 4095 [19:36:11]Connected sock=10 [19:36:11]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 80 01 00 00 AE ED 78 01 42 9F 5A 03 01 00 03 00 6C 01 1E 04 01 00 01 23 04 57 00 8A 04 08 00 34 38 37 34 31 31 35 36 06 04 18 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 39 33 31 06 04 1F 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A5 D0 BE D1 80 D0 BE D1 88 D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 58 1B 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 78 69 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 33 0B 00 00 00 00 07 04 06 00 78 69 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 48 00 00 00 F4 03 04 00 B2 3E 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 23 57 00 00 35 04 06 00 D1 68 EF 88 DB 5C 6A D2 14 DB 0F 04 89 5A [19:36:11]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 1E A3 47 00 F4 7A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 23 57 00 00 F4 03 04 00 6C E7 6E 66 B6 04 01 00 00 41 A8 09 71 AF 70 D3 66 [19:36:11]CommunicateWithHost err = 0 [19:36:11]CheckOFDResponse [19:36:11]1017 (14) - 77093643461234 [19:36:11]1041 (16) - 0000000000965344 [19:36:11]1040 (4) - 22307 [19:36:11]1012 (4) - 16.06.2024 13:23 [19:36:11]1206 (1) - 0 [19:36:11]OFD Sender: Remove packet 22307 [19:36:11]ProducePacketName [19:36:11]name=ofd_packets/00022307 [19:36:11]NVStorageDeleteData [19:36:11]Write to MH i2c: 01 00 00 5D 2E 8B [19:36:11]Write i2c OK [19:36:11]MH_I2C_Read... [19:36:11]Read from MH i2c: 01 [19:36:11]MH_I2C_Read... [19:36:11]Read from MH i2c: 01 07 00 [19:36:11]MH_I2C_Read... [19:36:11]Read from MH i2c: 01 07 00 5D 2E 00 00 00 00 00 E6 0C 84 [19:36:11]RasterBufferAndPrint [19:36:11]line [19:36:11]line [19:36:11]line [19:36:11]line [19:36:11]line [19:36:11]written 0, free lines is 3311 [19:36:11]MH_Cut [19:36:11]Write to MH i2c: D1 01 00 64 2E 01 64 [19:36:11]Write i2c OK [19:36:11]MH_I2C_Read... [19:36:11]Read from MH i2c: D1 [19:36:11]MH_I2C_Read... [19:36:11]Read from MH i2c: D1 01 00 [19:36:11]MH_I2C_Read... [19:36:11]Read from MH i2c: D1 01 00 64 2E 00 63 [19:36:11]Write to MH i2c: 01 00 00 65 2E 93 [19:36:11]Write i2c OK [19:36:11]MH_I2C_Read... [19:36:11]OFD Sender: No OFD packet to send [19:36:12]*** Cut start [19:36:12]*** Partial cut [19:36:12]*** CUTSNS_PIN = 1 [19:36:12]*** CUTSNS_PIN = 0 [19:36:12]*** Brake cut motor [19:36:12]Read from MH i2c: 01 [19:36:12]MH_I2C_Read... [19:36:12]*** Stop cut motor [19:36:12]*** Cut end [19:36:12]Read from MH i2c: 01 07 00 [19:36:12]MH_I2C_Read... [19:36:12]Read from MH i2c: 01 07 00 65 2E 00 00 00 00 00 FF 0F A8 [19:36:12]process_action close_receipt done [19:36:12]requested_data is exist [19:36:12]produce_requested_data [19:36:12]requested_item fm.sn is exist - process it [19:36:12]wFMCommunicate request_size=4 [19:36:12]MH_SAM_APDU [19:36:12]CAPDU: 80 11 00 00 [19:36:12]Write to MH i2c: E2 08 00 66 2E 80 11 00 00 00 00 00 00 0E [19:36:12]Write i2c OK [19:36:12]MH_I2C_Read... [19:36:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:36:12]Read from MH i2c: E2 [19:36:12]MH_I2C_Read... [19:36:12]Read from MH i2c: E2 17 00 [19:36:12]MH_I2C_Read... [19:36:12]Read from MH i2c: E2 17 00 66 2E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 60 [19:36:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [19:36:12]wFMCommunicate OK [19:36:12]requested_item fd.num is exist - process it [19:36:12]SAM_PROTO_GetFieldsCounters [19:36:12]wFMCommunicate request_size=4 [19:36:12]MH_SAM_APDU [19:36:12]CAPDU: 80 13 00 00 [19:36:12]Write to MH i2c: E2 08 00 67 2E 80 13 00 00 00 00 00 00 11 [19:36:12]Write i2c OK [19:36:12]MH_I2C_Read... [19:36:12]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:36:12]Read from MH i2c: E2 [19:36:12]MH_I2C_Read... [19:36:12]Read from MH i2c: E2 62 00 [19:36:12]MH_I2C_Read... [19:36:12]Read from MH i2c: E2 62 00 67 2E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 23 57 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 48 00 00 00 5E 04 04 00 48 00 00 00 57 04 04 00 49 00 00 00 19 04 04 00 00 00 00 00 90 00 D5 [19:36:12]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 23 57 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 48 00 00 00 5E 04 04 00 48 00 00 00 57 04 04 00 49 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:36:12]wFMCommunicate OK [19:36:12]SAM_PROTO_GetFieldsCounters done [19:36:12]requested_item shift.num is exist - process it [19:36:12]requested_item shift.opened is exist - process it [19:36:12]req_shift_opened [19:36:12]FM_GetShiftState [19:36:12]SAM_PROTO_GetShiftState [19:36:12]wFMCommunicate request_size=4 [19:36:12]MH_SAM_APDU [19:36:12]CAPDU: 80 13 01 00 [19:36:12]Write to MH i2c: E2 08 00 68 2E 80 13 01 00 00 00 00 00 13 [19:36:12]Write i2c OK [19:36:12]MH_I2C_Read... [19:36:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:36:13]Read from MH i2c: E2 [19:36:13]MH_I2C_Read... [19:36:13]Read from MH i2c: E2 0E 00 [19:36:13]MH_I2C_Read... [19:36:13]Read from MH i2c: E2 0E 00 68 2E 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 34 [19:36:13]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [19:36:13]wFMCommunicate OK [19:36:13]SAM_PROTO_GetShiftState done [19:36:13]FM_GetShiftState done [19:36:13]req_shift_opened done [19:36:13]requested_item shift.open_date is exist - process it [19:36:13]req_shift_open_date [19:36:13]req_shift_open_date done [19:36:13]produce_requested_data done [19:36:13]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22307,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297} [19:36:13]process_action_free close_receipt [19:36:13]json_value_free [19:36:13]json_value_free done [19:36:13]process_json_proto returns [19:36:13]Send response to host [19:36:13]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22307,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297}}} [19:36:13]free response buf [19:36:13]execute_script done [19:36:13]execute_script returns [19:36:13]free content buf [19:36:13]Sock 9.Close socket [19:36:13]Sock 9.Thread stoped [19:36:16]OFD Sender: No OFD packet to send [19:36:21]OFD Sender: No OFD packet to send [19:36:26]OFD Sender: No OFD packet to send [19:36:31]OFD Sender: No OFD packet to send [19:36:36]OFD Sender: No OFD packet to send [19:36:41]OFD Sender: No OFD packet to send [19:36:46]OFD Sender: No OFD packet to send [19:36:51]OFD Sender: No OFD packet to send [19:36:56]OFD Sender: No OFD packet to send [19:37:01]OFD Sender: No OFD packet to send [19:37:06]OFD Sender: No OFD packet to send [19:37:11]OFD Sender: No OFD packet to send [19:37:16]OFD Sender: No OFD packet to send [19:37:21]OFD Sender: No OFD packet to send [19:37:24]accept exits with 8 [19:37:24]New connection [19:37:24]New thread 3066838372 created [19:37:24]Thread 3066695012 joined [19:37:24]Waiting for new connection... [19:37:24] Sock 8.Parse request [19:37:24]Sock 8.Check first char [19:37:24]Sock 8.First char is OK [19:37:24]request: POST /json_proto HTTP/1.0 [19:37:24]Method: POST [19:37:24]URL: /json_proto [19:37:24]Method is POST - this is cgi request [19:37:24]url: /json_proto [19:37:24]query_string will be loaded in cgi processing [19:37:24]execute_cgi json_proto POST (null) [19:37:24]execute_cgi path=json_proto method=POST [19:37:24]POST find Content-Length [19:37:24]Host: 172.17.35.133:8080 [19:37:24]Content-Length: 912 [19:37:24]Content-Type: application/json [19:37:24] [19:37:24]POST finish read [19:37:24]Found Content-Length = 912 [19:37:24]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254521", "tax_sys" : 0, "items" : [ { "code": "4870001571030", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043A\u043B\u0443\u0431\u043D,\u043A\u0438\u0432\u0438 \u041F\u042D\u0422 1\u043B", "price" : 85.00, "quantity" : 1.000, "sum" : 85.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" : 85.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:37:24]execute_script... [19: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)254521", "tax_sys" : 0, "items" : [ { "code": "4870001571030", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043A\u043B\u0443\u0431\u043D,\u043A\u0438\u0432\u0438 \u041F\u042D\u0422 1\u043B", "price" : 85.00, "quantity" : 1.000, "sum" : 85.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" : 85.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:37:24]POST & json_proto [19:37:24]process_json_proto [19:37:24]json parsed OK: [19:37:24]protocol is kg_v1.0 [19:37:24]action value=close_receipt [19:37:24]process_action close_receipt [19:37:24]cmd_close_receipt [19:37:24]MH_GetDate [19:37:24]Write to MH i2c: F0 00 00 69 2E 86 [19:37:24]Write i2c OK [19:37:24]MH_I2C_Read... [19:37:24]Read from MH i2c: F0 [19:37:24]MH_I2C_Read... [19:37:24]Read from MH i2c: F0 09 00 [19:37:24]MH_I2C_Read... [19:37:24]Read from MH i2c: F0 09 00 69 2E 00 FE 3E 6F 66 8C 55 28 65 0E [19:37:24]GetLastDocTimeStamp 1718566578 [19:37:24]current date 1718566654 [19:37:24]FM_GetShiftState [19:37:24]SAM_PROTO_GetShiftState [19:37:24]wFMCommunicate request_size=4 [19:37:24]MH_SAM_APDU [19:37:24]CAPDU: 80 13 01 00 [19:37:24]Write to MH i2c: E2 08 00 6A 2E 80 13 01 00 00 00 00 00 15 [19:37:24]Write i2c OK [19:37:24]MH_I2C_Read... [19:37:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:37:24]Read from MH i2c: E2 [19:37:24]MH_I2C_Read... [19:37:24]Read from MH i2c: E2 0E 00 [19:37:24]MH_I2C_Read... [19:37:24]Read from MH i2c: E2 0E 00 6A 2E 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 36 [19:37:24]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [19:37:24]wFMCommunicate OK [19:37:24]SAM_PROTO_GetShiftState done [19:37:24]FM_GetShiftState done [19:37:24]opened in 1718497297 [19:37:24]opened+sec_in_day 1718583697 [19:37:24]quantity*price = 8500 [19:37:24]sum+1 = 8501 [19:37:24]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 85.00 НСП 1% : 0.75 НДС 12% : 9.03 Наличными: 0.00 Безнал.: 85.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 73 16.06.2024 19:37 Смена: 327 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000965344 ФД: 22308 ФПД: 153293936272323 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T193734&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22308&fm=153293936272323&tin=02508201610067®Number=0000000000099755&sum=8500 0 [19:37:25]StoreToDocumentArchive [19:37:25]shift 327 fd 22308 [19:37:25]save to /storage/0327/doc_00022308 [19:37:25]save last doc name /storage/0327/doc_00022308 to /storage/kkm_last_doc_name [19:37:25]save OK [19:37:25]Clear old archive folders... [19:37:25]ProcessDocumentItem done err = 0, tmpTLVsize=302 [19:37:25]tlvbuf is 0029CBD0 [19:37:25]SAM_PROTO_ClearQueue [19:37:25]wFMCommunicate request_size=4 [19:37:25]MH_SAM_APDU [19:37:25]CAPDU: 80 09 00 00 [19:37:25]Write to MH i2c: E2 08 00 77 2E 80 09 00 00 00 00 00 00 17 [19:37:25]Write i2c OK [19:37:25]MH_I2C_Read... [19:37:25]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:37:25]Read from MH i2c: E2 [19:37:25]MH_I2C_Read... [19:37:25]Read from MH i2c: E2 03 00 [19:37:25]MH_I2C_Read... [19:37:25]Read from MH i2c: E2 03 00 77 2E 00 90 00 19 [19:37:25]RAPDU: 90 00 [19:37:25]wFMCommunicate OK [19:37:25]SAM_PROTO_ClearQueue done [19:37:25]KKMCreateOFDPacket [19:37:25]OFDProtocolAddRootSTLVToBuf [19:37:25]FM_MakeSignedData [19:37:25]FM_MakeSignedData [19:37:25]SAM_PROTO_SignData [19:37:25]wFMCommunicate request_size=4 [19:37:25]MH_SAM_APDU [19:37:25]CAPDU: 80 0D 01 02 [19:37:25]Write to MH i2c: E2 08 00 78 2E 80 0D 01 02 00 00 00 00 1F [19:37:25]Write i2c OK [19:37:25]MH_I2C_Read... [19:37:25]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:37:25]Read from MH i2c: E2 [19:37:25]MH_I2C_Read... [19:37:25]Read from MH i2c: E2 03 00 [19:37:25]MH_I2C_Read... [19:37:25]Read from MH i2c: E2 03 00 78 2E 00 90 00 1A [19:37:25]RAPDU: 90 00 [19:37:25]wFMCommunicate OK [19:37:25]wFMCommunicate request_size=255 [19:37:25]MH_SAM_APDU [19:37:25]CAPDU: 80 0D 02 02 FA 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 30 33 30 06 04 3C 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 2C D0 BA D0 B8 D0 B2 D0 B8 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 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 34 21 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 49 00 00 00 F4 03 04 00 FE 3E 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 [19:37:25]Write to MH i2c: E2 02 01 79 2E 80 0D 02 02 FA 00 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 30 33 30 06 04 3C 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 2C D0 BA D0 B8 D0 B2 D0 B8 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 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 34 21 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 49 00 00 00 F4 03 04 00 FE 3E 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 00 00 FF [19:37:25]Write i2c OK [19:37:25]MH_I2C_Read... [19:37:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:37:26]Read from MH i2c: E2 [19:37:26]MH_I2C_Read... [19:37:26]Read from MH i2c: E2 03 00 [19:37:26]MH_I2C_Read... [19:37:26]Read from MH i2c: E2 03 00 79 2E 00 90 00 1B [19:37:26]RAPDU: 90 00 [19:37:26]wFMCommunicate OK [19:37:26]wFMCommunicate request_size=61 [19:37:26]MH_SAM_APDU [19:37:26]CAPDU: 80 0D 02 02 38 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 24 57 00 00 35 04 06 00 8B 6B 86 9E 23 C3 [19:37:26]Write to MH i2c: E2 40 00 7A 2E 80 0D 02 02 38 00 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 24 57 00 00 35 04 06 00 8B 6B 86 9E 23 C3 00 00 DB [19:37:26]Write i2c OK [19:37:26]MH_I2C_Read... [19:37:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:37:26]Read from MH i2c: E2 [19:37:26]MH_I2C_Read... [19:37:26]Read from MH i2c: E2 03 00 [19:37:26]MH_I2C_Read... [19:37:26]Read from MH i2c: E2 03 00 7A 2E 00 90 00 1C [19:37:26]RAPDU: 90 00 [19:37:26]wFMCommunicate OK [19:37:26]wFMCommunicate request_size=4 [19:37:26]MH_SAM_APDU [19:37:26]CAPDU: 80 0D 03 02 [19:37:26]Write to MH i2c: E2 08 00 7B 2E 80 0D 03 02 00 00 00 00 24 [19:37:26]Write i2c OK [19:37:26]MH_I2C_Read... [19:37:26]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:37:26]Read from MH i2c: E2 [19:37:26]MH_I2C_Read... [19:37:26]Read from MH i2c: E2 0B 00 [19:37:26]MH_I2C_Read... [19:37:26]Read from MH i2c: E2 0B 00 7B 2E 00 50 BE F4 A0 95 0A 73 E6 90 00 BF [19:37:26]RAPDU: 50 BE F4 A0 95 0A 73 E6 90 00 [19:37:26]wFMCommunicate OK [19:37:26]SAM_PROTO_SignData done [19:37:26]FM_MakeSignedData done [19:37:26]CreateOFDProtocolMessage [19:37:26]wFMCommunicate request_size=4 [19:37:26]MH_SAM_APDU [19:37:26]CAPDU: 80 11 00 00 [19:37:26]Write to MH i2c: E2 08 00 7C 2E 80 11 00 00 00 00 00 00 24 [19:37:26]Write i2c OK [19:37:26]MH_I2C_Read... [19:37:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:37:26]Read from MH i2c: E2 [19:37:26]MH_I2C_Read... [19:37:26]Read from MH i2c: E2 17 00 [19:37:26]MH_I2C_Read... [19:37:26]Read from MH i2c: E2 17 00 7C 2E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 76 [19:37:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [19:37:26]wFMCommunicate OK [19:37:26]CreateOFDProtocolMessage done [19:37:26]OFDSenderStorePacket 22308 [19:37:26]StoreOFDPacket docnum=22308 [19:37:26]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 42 01 00 00 16 B9 3A 01 30 29 5A 03 01 00 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 30 33 30 06 04 3C 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 2C D0 BA D0 B8 D0 B2 D0 B8 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 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 34 21 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 49 00 00 00 F4 03 04 00 FE 3E 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 24 57 00 00 35 04 06 00 8B 6B 86 9E 23 C3 50 BE F4 A0 95 0A 73 E6 [19:37:26]CheckFolder [19:37:26]dirname=/storage/ofd_packets [19:37:26]CheckFolder done [19:37:26]ProducePacketName [19:37:26]name=ofd_packets/00022308 [19:37:26]NVStorageSaveData ofd_packets/00022308 [19:37:26]File name is /storage/ofd_packets/00022308 [19:37:26]Write 352 bytes [19:37:26]NVStorageSaveData done [19:37:26]OFDSenderStorePacket done [19:37:26]KKMCreateOFDPacket done [19:37:26]NVStorageSaveData kkm_last_timestamp [19:37:26]File name is /storage/kkm_last_timestamp [19:37:26]Write 4 bytes [19:37:26]NVStorageSaveData done [19:37:26]ExternCall_PrintAddStr [19:37:26]wPrintStart [19:37:26]Write to MH i2c: 01 00 00 7D 2E AB [19:37:26]Write i2c OK [19:37:26]MH_I2C_Read... [19:37:26]Read from MH i2c: 01 [19:37:26]MH_I2C_Read... [19:37:26]Read from MH i2c: 01 07 00 [19:37:26]MH_I2C_Read... [19:37:26]Read from MH i2c: 01 07 00 7D 2E 00 00 00 00 00 FF 0F C0 [19:37:26]RasterBufferAndPrint [19:37:26]line Счет N : (3)254521 [19:37:26]line ИНН: 02508201610067 [19:37:26]line Контрольно-Кассовый Чек [19:37:26]line ПРОДАЖА [19:37:26]line Товар: 4870001571030 [19:37:26]line Вода ASU пит н.газ клубн,киви ПЭТ 1л [19:37:26]line 1.000 * 85.00 [19:37:26]line = 85.00 [19:37:26]line НДС 12% НСП 1% [19:37:26]line > о реализуемом товаре [19:37:26]line ИТОГО: 85.00 [19:37:26]line НСП 1% : 0.75 [19:37:26]line НДС 12% : 9.03 [19:37:26]line Наличными: 0.00 [19:37:26]line Безнал.: 85.00 [19:37:26]line Место: АЗС № 76 "Партнер Нефть" [19:37:26]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [19:37:26]line СНО: Общий режим [19:37:26]line Чек 73 16.06.2024 19:37 [19:37:26]line Смена: 327 ФФД: 1.0 [19:37:26]line ЗНМ: 0300000200 [19:37:26]line РНМ: 0000000000099755 [19:37:26]line Версия ККМ: 001 [19:37:26]line Платежная система: АКБ Кыргызстан [19:37:26]line ФМ: 0000000000965344 [19:37:26]line ФД: 22308 [19:37:26]line ФПД: 153293936272323 [19:37:26]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T193734&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22308&fm=153293936272323&tin=02508201610067®Number=0000000000099755&sum=8500 [19:37:26]line 0 [19:37:26]OFD Sender: Processing packet 22308 [packets to send 5, broken 4] [19:37:26]ProducePacketName [19:37:26]name=ofd_packets/00022308 [19:37:26]OFD Sender: To server: pG, [19:37:26]CommunicateWithHost lk.salyk.kg:30040 [19:37:26]ConnectInit lk.salyk.kg [19:37:26]written 0, free lines is 4095 [19:37:26]Connected sock=10 [19:37:26]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 42 01 00 00 16 B9 3A 01 30 29 5A 03 01 00 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 30 33 30 06 04 3C 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 2C D0 BA D0 B8 D0 B2 D0 B8 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 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 34 21 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 49 00 00 00 F4 03 04 00 FE 3E 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 24 57 00 00 35 04 06 00 8B 6B 86 9E 23 C3 50 BE F4 A0 95 0A 73 E6 [19:37:26]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 30 9C 47 00 88 94 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 24 57 00 00 F4 03 04 00 B7 E7 6E 66 B6 04 01 00 00 F1 17 2D 78 6A 0A F9 5F [19:37:26]CommunicateWithHost err = 0 [19:37:26]CheckOFDResponse [19:37:26]1017 (14) - 77093643461234 [19:37:26]1041 (16) - 0000000000965344 [19:37:26]1040 (4) - 22308 [19:37:26]1012 (4) - 16.06.2024 13:25 [19:37:26]1206 (1) - 0 [19:37:26]OFD Sender: Remove packet 22308 [19:37:26]ProducePacketName [19:37:26]name=ofd_packets/00022308 [19:37:26]NVStorageDeleteData [19:37:27]Write to MH i2c: 01 00 00 A8 2E D6 [19:37:27]Write i2c OK [19:37:27]MH_I2C_Read... [19:37:27]Read from MH i2c: 01 [19:37:27]MH_I2C_Read... [19:37:27]Read from MH i2c: 01 07 00 [19:37:27]MH_I2C_Read... [19:37:27]Read from MH i2c: 01 07 00 A8 2E 00 00 00 00 00 F2 0C DB [19:37:27]RasterBufferAndPrint [19:37:27]line [19:37:27]line [19:37:27]line [19:37:27]line [19:37:27]line [19:37:27]written 0, free lines is 3322 [19:37:27]MH_Cut [19:37:27]Write to MH i2c: D1 01 00 AF 2E 01 AF [19:37:27]Write i2c OK [19:37:27]MH_I2C_Read... [19:37:27]Read from MH i2c: D1 [19:37:27]MH_I2C_Read... [19:37:27]Read from MH i2c: D1 01 00 [19:37:27]MH_I2C_Read... [19:37:27]Read from MH i2c: D1 01 00 AF 2E 00 AE [19:37:27]Write to MH i2c: 01 00 00 B0 2E DE [19:37:27]Write i2c OK [19:37:27]MH_I2C_Read... [19:37:27]OFD Sender: No OFD packet to send [19:37:27]*** Cut start [19:37:27]*** Partial cut [19:37:27]*** CUTSNS_PIN = 1 [19:37:27]*** CUTSNS_PIN = 0 [19:37:28]*** Brake cut motor [19:37:28]Read from MH i2c: 01 [19:37:28]MH_I2C_Read... [19:37:28]*** Stop cut motor [19:37:28]*** Cut end [19:37:28]Read from MH i2c: 01 07 00 [19:37:28]MH_I2C_Read... [19:37:28]Read from MH i2c: 01 07 00 B0 2E 00 00 00 00 00 FF 0F F3 [19:37:28]process_action close_receipt done [19:37:28]requested_data is exist [19:37:28]produce_requested_data [19:37:28]requested_item fm.sn is exist - process it [19:37:28]wFMCommunicate request_size=4 [19:37:28]MH_SAM_APDU [19:37:28]CAPDU: 80 11 00 00 [19:37:28]Write to MH i2c: E2 08 00 B1 2E 80 11 00 00 00 00 00 00 59 [19:37:28]Write i2c OK [19:37:28]MH_I2C_Read... [19:37:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:37:28]Read from MH i2c: E2 [19:37:28]MH_I2C_Read... [19:37:28]Read from MH i2c: E2 17 00 [19:37:28]MH_I2C_Read... [19:37:28]Read from MH i2c: E2 17 00 B1 2E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 AB [19:37:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [19:37:28]wFMCommunicate OK [19:37:28]requested_item fd.num is exist - process it [19:37:28]SAM_PROTO_GetFieldsCounters [19:37:28]wFMCommunicate request_size=4 [19:37:28]MH_SAM_APDU [19:37:28]CAPDU: 80 13 00 00 [19:37:28]Write to MH i2c: E2 08 00 B2 2E 80 13 00 00 00 00 00 00 5C [19:37:28]Write i2c OK [19:37:28]MH_I2C_Read... [19:37:28]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:37:28]Read from MH i2c: E2 [19:37:28]MH_I2C_Read... [19:37:28]Read from MH i2c: E2 62 00 [19:37:28]MH_I2C_Read... [19:37:28]Read from MH i2c: E2 62 00 B2 2E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 24 57 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 49 00 00 00 5E 04 04 00 49 00 00 00 57 04 04 00 4A 00 00 00 19 04 04 00 00 00 00 00 90 00 24 [19:37:28]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 24 57 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 49 00 00 00 5E 04 04 00 49 00 00 00 57 04 04 00 4A 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:37:28]wFMCommunicate OK [19:37:28]SAM_PROTO_GetFieldsCounters done [19:37:28]requested_item shift.num is exist - process it [19:37:28]requested_item shift.opened is exist - process it [19:37:28]req_shift_opened [19:37:28]FM_GetShiftState [19:37:28]SAM_PROTO_GetShiftState [19:37:28]wFMCommunicate request_size=4 [19:37:28]MH_SAM_APDU [19:37:28]CAPDU: 80 13 01 00 [19:37:28]Write to MH i2c: E2 08 00 B3 2E 80 13 01 00 00 00 00 00 5E [19:37:28]Write i2c OK [19:37:28]MH_I2C_Read... [19:37:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:37:28]Read from MH i2c: E2 [19:37:28]MH_I2C_Read... [19:37:28]Read from MH i2c: E2 0E 00 [19:37:28]MH_I2C_Read... [19:37:28]Read from MH i2c: E2 0E 00 B3 2E 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 7F [19:37:28]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [19:37:28]wFMCommunicate OK [19:37:28]SAM_PROTO_GetShiftState done [19:37:28]FM_GetShiftState done [19:37:28]req_shift_opened done [19:37:28]requested_item shift.open_date is exist - process it [19:37:28]req_shift_open_date [19:37:28]req_shift_open_date done [19:37:28]produce_requested_data done [19:37:28]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22308,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297} [19:37:28]process_action_free close_receipt [19:37:28]json_value_free [19:37:28]json_value_free done [19:37:28]process_json_proto returns [19:37:28]Send response to host [19:37:28]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22308,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297}}} [19:37:28]free response buf [19:37:28]execute_script done [19:37:28]execute_script returns [19:37:28]free content buf [19:37:28]Sock 8.Close socket [19:37:28]Sock 8.Thread stoped [19:37:32]OFD Sender: No OFD packet to send [19:37:37]OFD Sender: No OFD packet to send [19:37:42]OFD Sender: No OFD packet to send [19:37:47]OFD Sender: No OFD packet to send [19:37:52]OFD Sender: No OFD packet to send [19:37:57]OFD Sender: No OFD packet to send [19:38:02]OFD Sender: No OFD packet to send [19:38:07]OFD Sender: No OFD packet to send [19:38:12]OFD Sender: No OFD packet to send [19:38:17]OFD Sender: No OFD packet to send [19:38:22]OFD Sender: No OFD packet to send [19:38:27]OFD Sender: No OFD packet to send [19:38:32]OFD Sender: No OFD packet to send [19:38:37]OFD Sender: No OFD packet to send [19:38:42]OFD Sender: No OFD packet to send [19:38:47]OFD Sender: No OFD packet to send [19:38:52]OFD Sender: No OFD packet to send [19:38:57]OFD Sender: No OFD packet to send [19:39:02]OFD Sender: No OFD packet to send [19:39:07]OFD Sender: No OFD packet to send [19:39:12]OFD Sender: No OFD packet to send [19:39:17]OFD Sender: No OFD packet to send [19:39:22]OFD Sender: No OFD packet to send [19:39:27]OFD Sender: No OFD packet to send [19:39:32]OFD Sender: No OFD packet to send [19:39:37]OFD Sender: No OFD packet to send [19:39:42]OFD Sender: No OFD packet to send [19:39:47]OFD Sender: No OFD packet to send [19:39:52]OFD Sender: No OFD packet to send [19:39:57]OFD Sender: No OFD packet to send [19:40:02]OFD Sender: No OFD packet to send [19:40:07]OFD Sender: No OFD packet to send [19:40:12]OFD Sender: No OFD packet to send [19:40:17]OFD Sender: No OFD packet to send [19:40:22]OFD Sender: No OFD packet to send [19:40:27]OFD Sender: No OFD packet to send [19:40:32]OFD Sender: No OFD packet to send [19:40:37]OFD Sender: No OFD packet to send [19:40:42]OFD Sender: No OFD packet to send [19:40:47]OFD Sender: No OFD packet to send [19:40:52]OFD Sender: No OFD packet to send [19:40:57]OFD Sender: No OFD packet to send [19:41:02]OFD Sender: No OFD packet to send [19:41:07]OFD Sender: No OFD packet to send [19:41:12]OFD Sender: No OFD packet to send [19:41:17]OFD Sender: No OFD packet to send [19:41:22]OFD Sender: No OFD packet to send [19:41:27]OFD Sender: No OFD packet to send [19:41:32]OFD Sender: No OFD packet to send [19:41:37]OFD Sender: No OFD packet to send [19:41:42]OFD Sender: No OFD packet to send [19:41:47]OFD Sender: No OFD packet to send [19:41:52]OFD Sender: No OFD packet to send [19:41:57]OFD Sender: No OFD packet to send [19:42:02]OFD Sender: No OFD packet to send [19:42:07]OFD Sender: No OFD packet to send [19:42:12]OFD Sender: No OFD packet to send [19:42:17]OFD Sender: No OFD packet to send [19:42:22]OFD Sender: No OFD packet to send [19:42:27]OFD Sender: No OFD packet to send [19:42:32]OFD Sender: No OFD packet to send [19:42:37]OFD Sender: No OFD packet to send [19:42:42]OFD Sender: No OFD packet to send [19:42:47]OFD Sender: No OFD packet to send [19:42:52]OFD Sender: No OFD packet to send [19:42:57]OFD Sender: No OFD packet to send [19:43:02]OFD Sender: No OFD packet to send [19:43:07]OFD Sender: No OFD packet to send [19:43:12]OFD Sender: No OFD packet to send [19:43:17]OFD Sender: No OFD packet to send [19:43:22]OFD Sender: No OFD packet to send [19:43:27]OFD Sender: No OFD packet to send [19:43:32]OFD Sender: No OFD packet to send [19:43:37]OFD Sender: No OFD packet to send [19:43:42]OFD Sender: No OFD packet to send [19:43:47]OFD Sender: No OFD packet to send [19:43:52]OFD Sender: No OFD packet to send [19:43:57]OFD Sender: No OFD packet to send [19:44:02]OFD Sender: No OFD packet to send [19:44:07]OFD Sender: No OFD packet to send [19:44:12]OFD Sender: No OFD packet to send [19:44:17]OFD Sender: No OFD packet to send [19:44:22]OFD Sender: No OFD packet to send [19:44:27]OFD Sender: No OFD packet to send [19:44:32]OFD Sender: No OFD packet to send [19:44:37]OFD Sender: No OFD packet to send [19:44:42]OFD Sender: No OFD packet to send [19:44:47]OFD Sender: No OFD packet to send [19:44:52]OFD Sender: No OFD packet to send [19:44:57]OFD Sender: No OFD packet to send [19:45:02]OFD Sender: No OFD packet to send [19:45:07]OFD Sender: No OFD packet to send [19:45:12]OFD Sender: No OFD packet to send [19:45:17]OFD Sender: No OFD packet to send [19:45:22]OFD Sender: No OFD packet to send [19:45:27]OFD Sender: No OFD packet to send [19:45:32]OFD Sender: No OFD packet to send [19:45:37]OFD Sender: No OFD packet to send [19:45:42]OFD Sender: No OFD packet to send [19:45:47]OFD Sender: No OFD packet to send [19:45:52]OFD Sender: No OFD packet to send [19:45:57]OFD Sender: No OFD packet to send [19:46:02]OFD Sender: No OFD packet to send [19:46:07]OFD Sender: No OFD packet to send [19:46:12]OFD Sender: No OFD packet to send [19:46:17]OFD Sender: No OFD packet to send [19:46:22]OFD Sender: No OFD packet to send [19:46:27]OFD Sender: No OFD packet to send [19:46:32]OFD Sender: No OFD packet to send [19:46:37]OFD Sender: No OFD packet to send [19:46:42]OFD Sender: No OFD packet to send [19:46:47]OFD Sender: No OFD packet to send [19:46:52]OFD Sender: No OFD packet to send [19:46:57]OFD Sender: No OFD packet to send [19:47:02]OFD Sender: No OFD packet to send [19:47:07]OFD Sender: No OFD packet to send [19:47:12]OFD Sender: No OFD packet to send [19:47:17]OFD Sender: No OFD packet to send [19:47:22]OFD Sender: No OFD packet to send [19:47:27]OFD Sender: No OFD packet to send [19:47:32]OFD Sender: No OFD packet to send [19:47:37]OFD Sender: No OFD packet to send [19:47:42]OFD Sender: No OFD packet to send [19:47:47]OFD Sender: No OFD packet to send [19:47:52]OFD Sender: No OFD packet to send [19:47:57]OFD Sender: No OFD packet to send [19:48:02]OFD Sender: No OFD packet to send [19:48:07]OFD Sender: No OFD packet to send [19:48:12]OFD Sender: No OFD packet to send [19:48:17]OFD Sender: No OFD packet to send [19:48:22]OFD Sender: No OFD packet to send [19:48:28]OFD Sender: No OFD packet to send [19:48:33]OFD Sender: No OFD packet to send [19:48:38]OFD Sender: No OFD packet to send [19:48:43]OFD Sender: No OFD packet to send [19:48:48]OFD Sender: No OFD packet to send [19:48:53]OFD Sender: No OFD packet to send [19:48:58]OFD Sender: No OFD packet to send [19:49:03]OFD Sender: No OFD packet to send [19:49:08]OFD Sender: No OFD packet to send [19:49:13]OFD Sender: No OFD packet to send [19:49:18]OFD Sender: No OFD packet to send [19:49:23]OFD Sender: No OFD packet to send [19:49:28]OFD Sender: No OFD packet to send [19:49:33]OFD Sender: No OFD packet to send [19:49:38]OFD Sender: No OFD packet to send [19:49:43]OFD Sender: No OFD packet to send [19:49:48]OFD Sender: No OFD packet to send [19:49:53]OFD Sender: No OFD packet to send [19:49:58]OFD Sender: No OFD packet to send [19:50:03]OFD Sender: No OFD packet to send [19:50:08]OFD Sender: No OFD packet to send [19:50:13]OFD Sender: No OFD packet to send [19:50:18]OFD Sender: No OFD packet to send [19:50:23]OFD Sender: No OFD packet to send [19:50:28]OFD Sender: No OFD packet to send [19:50:33]OFD Sender: No OFD packet to send [19:50:38]OFD Sender: No OFD packet to send [19:50:43]OFD Sender: No OFD packet to send [19:50:48]OFD Sender: No OFD packet to send [19:50:53]OFD Sender: No OFD packet to send [19:50:58]OFD Sender: No OFD packet to send [19:51:03]OFD Sender: No OFD packet to send [19:51:08]OFD Sender: No OFD packet to send [19:51:13]OFD Sender: No OFD packet to send [19:51:18]OFD Sender: No OFD packet to send [19:51:23]OFD Sender: No OFD packet to send [19:51:28]OFD Sender: No OFD packet to send [19:51:33]OFD Sender: No OFD packet to send [19:51:38]OFD Sender: No OFD packet to send [19:51:43]OFD Sender: No OFD packet to send [19:51:48]OFD Sender: No OFD packet to send [19:51:53]OFD Sender: No OFD packet to send [19:51:58]OFD Sender: No OFD packet to send [19:52:03]OFD Sender: No OFD packet to send [19:52:08]OFD Sender: No OFD packet to send [19:52:13]OFD Sender: No OFD packet to send [19:52:16]recv_with_timeout no data received [19:52:18]OFD Sender: No OFD packet to send [19:52:23]OFD Sender: No OFD packet to send [19:52:28]OFD Sender: No OFD packet to send [19:52:33]OFD Sender: No OFD packet to send [19:52:38]OFD Sender: No OFD packet to send [19:52:43]OFD Sender: No OFD packet to send [19:52:48]OFD Sender: No OFD packet to send [19:52:53]OFD Sender: No OFD packet to send [19:52:58]OFD Sender: No OFD packet to send [19:53:03]OFD Sender: No OFD packet to send [19:53:08]OFD Sender: No OFD packet to send [19:53:13]OFD Sender: No OFD packet to send [19:53:18]OFD Sender: No OFD packet to send [19:53:23]OFD Sender: No OFD packet to send [19:53:28]OFD Sender: No OFD packet to send [19:53:30]recv_with_timeout no data received [19:53:33]OFD Sender: No OFD packet to send [19:53:38]OFD Sender: No OFD packet to send [19:53:43]OFD Sender: No OFD packet to send [19:53:48]OFD Sender: No OFD packet to send [19:53:53]OFD Sender: No OFD packet to send [19:53:58]OFD Sender: No OFD packet to send [19:54:03]OFD Sender: No OFD packet to send [19:54:08]OFD Sender: No OFD packet to send [19:54:13]OFD Sender: No OFD packet to send [19:54:18]OFD Sender: No OFD packet to send [19:54:23]OFD Sender: No OFD packet to send [19:54:28]OFD Sender: No OFD packet to send [19:54:33]OFD Sender: No OFD packet to send [19:54:38]OFD Sender: No OFD packet to send [19:54:39]recv_with_timeout no data received [19:54:43]OFD Sender: No OFD packet to send [19:54:48]OFD Sender: No OFD packet to send [19:54:53]OFD Sender: No OFD packet to send [19:54:58]OFD Sender: No OFD packet to send [19:55:03]OFD Sender: No OFD packet to send [19:55:08]OFD Sender: No OFD packet to send [19:55:13]OFD Sender: No OFD packet to send [19:55:18]OFD Sender: No OFD packet to send [19:55:23]OFD Sender: No OFD packet to send [19:55:28]OFD Sender: No OFD packet to send [19:55:33]OFD Sender: No OFD packet to send [19:55:38]OFD Sender: No OFD packet to send [19:55:43]OFD Sender: No OFD packet to send [19:55:48]OFD Sender: No OFD packet to send [19:55:53]OFD Sender: No OFD packet to send [19:55:56]recv_with_timeout no data received [19:55:58]OFD Sender: No OFD packet to send [19:56:03]OFD Sender: No OFD packet to send [19:56:08]OFD Sender: No OFD packet to send [19:56:13]OFD Sender: No OFD packet to send [19:56:18]OFD Sender: No OFD packet to send [19:56:23]OFD Sender: No OFD packet to send [19:56:27]recv_with_timeout no data received [19:56:28]OFD Sender: No OFD packet to send [19:56:33]OFD Sender: No OFD packet to send [19:56:38]OFD Sender: No OFD packet to send [19:56:43]OFD Sender: No OFD packet to send [19:56:48]OFD Sender: No OFD packet to send [19:56:48]recv_with_timeout no data received [19:56:53]OFD Sender: No OFD packet to send [19:56:58]OFD Sender: No OFD packet to send [19:57:03]OFD Sender: No OFD packet to send [19:57:08]OFD Sender: No OFD packet to send [19:57:13]OFD Sender: No OFD packet to send [19:57:18]OFD Sender: No OFD packet to send [19:57:23]OFD Sender: No OFD packet to send [19:57:28]OFD Sender: No OFD packet to send [19:57:33]OFD Sender: No OFD packet to send [19:57:38]OFD Sender: No OFD packet to send [19:57:43]OFD Sender: No OFD packet to send [19:57:48]OFD Sender: No OFD packet to send [19:57:53]OFD Sender: No OFD packet to send [19:57:58]OFD Sender: No OFD packet to send [19:58:03]OFD Sender: No OFD packet to send [19:58:08]OFD Sender: No OFD packet to send [19:58:13]OFD Sender: No OFD packet to send [19:58:18]OFD Sender: No OFD packet to send [19:58:23]OFD Sender: No OFD packet to send [19:58:28]OFD Sender: No OFD packet to send [19:58:33]OFD Sender: No OFD packet to send [19:58:38]OFD Sender: No OFD packet to send [19:58:43]OFD Sender: No OFD packet to send [19:58:48]OFD Sender: No OFD packet to send [19:58:53]OFD Sender: No OFD packet to send [19:58:58]OFD Sender: No OFD packet to send [19:59:03]OFD Sender: No OFD packet to send [19:59:08]OFD Sender: No OFD packet to send [19:59:13]OFD Sender: No OFD packet to send [19:59:18]OFD Sender: No OFD packet to send [19:59:23]OFD Sender: No OFD packet to send [19:59:28]OFD Sender: No OFD packet to send [19:59:33]OFD Sender: No OFD packet to send [19:59:38]OFD Sender: No OFD packet to send [19:59:43]OFD Sender: No OFD packet to send [19:59:48]OFD Sender: No OFD packet to send [19:59:53]OFD Sender: No OFD packet to send [19:59:58]OFD Sender: No OFD packet to send [20:00:03]OFD Sender: No OFD packet to send [20:00:08]OFD Sender: No OFD packet to send [20:00:13]OFD Sender: No OFD packet to send [20:00:18]OFD Sender: No OFD packet to send [20:00:23]OFD Sender: No OFD packet to send [20:00:28]OFD Sender: No OFD packet to send [20:00:33]OFD Sender: No OFD packet to send [20:00:38]OFD Sender: No OFD packet to send [20:00:43]OFD Sender: No OFD packet to send [20:00:48]OFD Sender: No OFD packet to send [20:00:53]OFD Sender: No OFD packet to send [20:00:58]OFD Sender: No OFD packet to send [20:01:03]OFD Sender: No OFD packet to send [20:03:35]ConnectInit Can't connect to host [20:03:38]OFD Sender: No OFD packet to send [20:05:01]ConnectInit Can't connect to host [20:05:03]OFD Sender: No OFD packet to send [20:05:08]OFD Sender: No OFD packet to send [20:05:13]OFD Sender: No OFD packet to send [20:05:18]OFD Sender: No OFD packet to send [20:05:23]OFD Sender: No OFD packet to send [20:05:28]OFD Sender: No OFD packet to send [20:05:33]OFD Sender: No OFD packet to send [20:05:38]OFD Sender: No OFD packet to send [20:05:43]OFD Sender: No OFD packet to send [20:05:48]OFD Sender: No OFD packet to send [20:05:53]OFD Sender: No OFD packet to send [20:05:58]OFD Sender: No OFD packet to send [21:53:48]ConnectInit Can't connect to host [21:56:03]ConnectInit Can't connect to host [21:56:03]CommunicateWithHost connect error [21:56:03]CommunicateWithHost err = -1 [21:56:03]OFD Sender: Server communicate error [21:56:08]OFD Sender: Processing packet 22309 [packets to send 7, broken 4] [21:56:08]ProducePacketName [21:56:08]name=ofd_packets/00022309 [21:56:08]OFD Sender: To server: pG, [21:56:08]CommunicateWithHost lk.salyk.kg:30040 [21:56:08]ConnectInit lk.salyk.kg [21:56:08]Connected sock=9 [21:56:08]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 11 02 00 00 2A 02 09 02 1C 73 5A 03 01 00 03 00 FD 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 36 39 35 37 35 33 31 30 33 32 30 30 37 06 04 28 00 D0 9A D0 B0 D0 B1 D0 B5 D0 BB D1 8C 20 68 6F 63 6F 20 52 41 50 20 43 48 41 52 20 58 31 20 D0 90 70 70 6C 65 20 31 D0 BC FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 69 00 00 00 00 13 04 06 00 DC 69 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 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 6F 00 8A 04 0D 00 34 38 37 30 32 30 39 37 34 34 35 30 32 06 04 2B 00 D0 A1 D1 83 D1 85 D0 B0 D1 80 D0 B8 D0 BA D0 B8 20 D0 A4 D0 BB D0 B8 D0 BD D1 82 20 D0 A1 D1 8B D1 80 20 31 30 30 20 D0 B3 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 B2 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 94 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EA 12 00 00 00 00 07 04 06 00 20 B2 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4A 00 00 00 F4 03 04 00 55 4C 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 25 57 00 00 35 04 06 00 F2 09 0E 71 04 35 84 4A A7 58 60 89 C7 0D [21:56:08]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 16 54 47 00 E8 4B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 25 57 00 00 F4 03 04 00 39 08 6F 66 B6 04 01 00 00 68 3E 6A 23 32 69 D2 FB [21:56:08]CommunicateWithHost err = 0 [21:56:08]CheckOFDResponse [21:56:08]1017 (14) - 77093643461234 [21:56:08]1041 (16) - 0000000000965344 [21:56:08]1040 (4) - 22309 [21:56:08]1012 (4) - 16.06.2024 15:43 [21:56:08]1206 (1) - 0 [21:56:08]OFD Sender: Remove packet 22309 [21:56:08]ProducePacketName [21:56:08]name=ofd_packets/00022309 [21:56:08]NVStorageDeleteData [21:56:09]OFD Sender: Processing packet 22310 [packets to send 6, broken 4] [21:56:09]ProducePacketName [21:56:09]name=ofd_packets/00022310 [21:56:09]OFD Sender: To server: pG, [21:56:09]CommunicateWithHost lk.salyk.kg:30040 [21:56:09]ConnectInit lk.salyk.kg [21:56:09]Connected sock=9 [21:56:09]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 2C 01 00 00 FF 8A 24 01 7B 19 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 08 00 34 36 32 32 36 36 31 37 06 04 2B 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9D D0 B5 D0 B6 D0 BD D0 B0 D1 8F 20 D0 9C D1 8F D1 82 D0 B0 20 36 2A 31 30 30 2A 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 03 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6A 00 00 00 00 00 07 04 06 00 E8 03 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4B 00 00 00 F4 03 04 00 FA 56 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 26 57 00 00 35 04 06 00 6D 35 75 12 72 62 39 C5 53 93 AC B9 2A AD [21:56:09]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 19 D3 47 00 65 55 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 26 57 00 00 F4 03 04 00 3A 08 6F 66 B6 04 01 00 00 8D 45 C1 72 77 C2 6D 26 [21:56:09]CommunicateWithHost err = 0 [21:56:09]CheckOFDResponse [21:56:09]1017 (14) - 77093643461234 [21:56:09]1041 (16) - 0000000000965344 [21:56:09]1040 (4) - 22310 [21:56:09]1012 (4) - 16.06.2024 15:43 [21:56:09]1206 (1) - 0 [21:56:09]OFD Sender: Remove packet 22310 [21:56:09]ProducePacketName [21:56:09]name=ofd_packets/00022310 [21:56:09]NVStorageDeleteData [21:56:10]OFD Sender: Processing packet 22311 [packets to send 5, broken 4] [21:56:10]ProducePacketName [21:56:10]name=ofd_packets/00022311 [21:56:10]OFD Sender: To server: pG, [21:56:10]CommunicateWithHost lk.salyk.kg:30040 [21:56:10]ConnectInit lk.salyk.kg [21:56:10]Connected sock=9 [21:56:10]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0C 02 00 00 21 E7 04 02 B5 2A 5A 03 01 00 03 00 F8 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 23 04 66 00 8A 04 08 00 34 38 37 34 32 32 34 35 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 53 69 6C 76 65 72 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 FC 3A 00 00 00 00 13 04 06 00 FC 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 08 00 35 34 34 39 31 34 37 32 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 7D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1C 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 50 0D 00 00 00 00 07 04 06 00 64 7D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4C 00 00 00 F4 03 04 00 D8 5D 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 27 57 00 00 35 04 06 00 1B 16 4C 99 8F 2A 52 A6 1D 2E 9A 9F 1F 2C [21:56:10]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 0C 35 47 00 6E 70 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 27 57 00 00 F4 03 04 00 3B 08 6F 66 B6 04 01 00 00 55 2F F8 52 FB A7 FA 05 [21:56:10]CommunicateWithHost err = 0 [21:56:10]CheckOFDResponse [21:56:10]1017 (14) - 77093643461234 [21:56:10]1041 (16) - 0000000000965344 [21:56:10]1040 (4) - 22311 [21:56:10]1012 (4) - 16.06.2024 15:43 [21:56:10]1206 (1) - 0 [21:56:10]OFD Sender: Remove packet 22311 [21:56:10]ProducePacketName [21:56:10]name=ofd_packets/00022311 [21:56:10]NVStorageDeleteData [21:56:10]OFD Sender: No OFD packet to send [21:56:15]OFD Sender: No OFD packet to send [21:56:20]OFD Sender: No OFD packet to send [21:56:25]OFD Sender: No OFD packet to send [21:56:30]OFD Sender: No OFD packet to send [21:56:35]OFD Sender: No OFD packet to send [21:56:40]OFD Sender: No OFD packet to send [21:56:45]OFD Sender: No OFD packet to send [21:56:50]OFD Sender: No OFD packet to send [21:56:55]OFD Sender: No OFD packet to send [21:57:00]OFD Sender: No OFD packet to send [21:57:05]OFD Sender: No OFD packet to send [21:57:10]OFD Sender: No OFD packet to send [21:57:15]OFD Sender: No OFD packet to send [21:57:20]OFD Sender: No OFD packet to send [21:57:25]OFD Sender: No OFD packet to send [21:57:30]OFD Sender: No OFD packet to send [21:57:35]OFD Sender: No OFD packet to send [21:57:40]OFD Sender: No OFD packet to send [21:57:45]OFD Sender: No OFD packet to send [21:57:50]OFD Sender: No OFD packet to send [21:57:55]OFD Sender: No OFD packet to send [21:58:00]OFD Sender: No OFD packet to send [21:58:05]OFD Sender: No OFD packet to send [21:58:10]OFD Sender: No OFD packet to send [21:58:15]OFD Sender: No OFD packet to send [21:58:20]OFD Sender: No OFD packet to send [21:58:25]OFD Sender: No OFD packet to send [21:58:30]OFD Sender: No OFD packet to send [21:58:35]OFD Sender: No OFD packet to send [21:58:40]OFD Sender: No OFD packet to send [21:58:45]OFD Sender: No OFD packet to send [21:58:50]OFD Sender: No OFD packet to send [21:58:56]OFD Sender: No OFD packet to send [21:59:01]OFD Sender: No OFD packet to send [21:59:06]OFD Sender: No OFD packet to send [21:59:11]OFD Sender: No OFD packet to send [21:59:16]OFD Sender: No OFD packet to send [21:59:21]OFD Sender: No OFD packet to send [21:59:26]OFD Sender: No OFD packet to send [21:59:31]OFD Sender: No OFD packet to send [21:59:36]OFD Sender: No OFD packet to send [21:59:41]OFD Sender: No OFD packet to send [21:59:46]OFD Sender: No OFD packet to send [21:59:51]OFD Sender: No OFD packet to send [21:59:56]OFD Sender: No OFD packet to send [22:00:01]OFD Sender: No OFD packet to send [22:00:06]OFD Sender: No OFD packet to send [22:00:11]OFD Sender: No OFD packet to send [22:00:16]OFD Sender: No OFD packet to send [22:00:21]OFD Sender: No OFD packet to send [22:00:26]OFD Sender: No OFD packet to send [22:00:31]OFD Sender: No OFD packet to send [22:00:36]OFD Sender: No OFD packet to send [22:00:41]OFD Sender: No OFD packet to send [22:00:46]OFD Sender: No OFD packet to send [22:00:51]OFD Sender: No OFD packet to send [22:00:56]OFD Sender: No OFD packet to send [22:01:01]OFD Sender: No OFD packet to send [22:01:06]OFD Sender: No OFD packet to send [22:01:11]OFD Sender: No OFD packet to send [22:01:16]OFD Sender: No OFD packet to send [22:01:21]OFD Sender: No OFD packet to send [22:01:26]OFD Sender: No OFD packet to send [22:01:31]OFD Sender: No OFD packet to send [22:01:36]OFD Sender: No OFD packet to send [22:01:41]OFD Sender: No OFD packet to send [22:01:46]OFD Sender: No OFD packet to send [22:01:51]OFD Sender: No OFD packet to send [22:01:56]OFD Sender: No OFD packet to send [22:02:01]OFD Sender: No OFD packet to send [22:02:06]OFD Sender: No OFD packet to send [22:02:11]OFD Sender: No OFD packet to send [22:02:16]OFD Sender: No OFD packet to send [22:02:21]OFD Sender: No OFD packet to send [22:02:26]OFD Sender: No OFD packet to send [22:02:31]OFD Sender: No OFD packet to send [22:02:36]OFD Sender: No OFD packet to send [22:02:41]OFD Sender: No OFD packet to send [22:02:46]OFD Sender: No OFD packet to send [22:02:51]OFD Sender: No OFD packet to send [22:02:56]OFD Sender: No OFD packet to send [22:03:01]OFD Sender: No OFD packet to send [22:03:06]OFD Sender: No OFD packet to send [22:03:11]OFD Sender: No OFD packet to send [22:03:16]OFD Sender: No OFD packet to send [22:03:21]OFD Sender: No OFD packet to send [22:03:26]OFD Sender: No OFD packet to send [22:03:31]OFD Sender: No OFD packet to send [22:03:36]OFD Sender: No OFD packet to send [22:03:41]OFD Sender: No OFD packet to send [22:03:46]OFD Sender: No OFD packet to send [22:03:51]OFD Sender: No OFD packet to send [22:03:56]OFD Sender: No OFD packet to send [22:04:01]OFD Sender: No OFD packet to send [22:04:06]OFD Sender: No OFD packet to send [22:04:11]OFD Sender: No OFD packet to send [22:04:16]OFD Sender: No OFD packet to send [22:04:21]OFD Sender: No OFD packet to send [22:04:26]OFD Sender: No OFD packet to send [22:04:31]OFD Sender: No OFD packet to send [22:04:36]OFD Sender: No OFD packet to send [22:04:41]OFD Sender: No OFD packet to send [22:04:46]OFD Sender: No OFD packet to send [22:04:51]OFD Sender: No OFD packet to send [22:04:56]OFD Sender: No OFD packet to send [22:05:01]OFD Sender: No OFD packet to send [22:05:06]OFD Sender: No OFD packet to send [22:05:11]OFD Sender: No OFD packet to send [22:05:16]OFD Sender: No OFD packet to send [22:05:21]OFD Sender: No OFD packet to send [22:05:26]OFD Sender: No OFD packet to send [22:05:31]OFD Sender: No OFD packet to send [22:05:36]OFD Sender: No OFD packet to send [22:05:41]OFD Sender: No OFD packet to send [22:05:46]OFD Sender: No OFD packet to send [22:05:51]OFD Sender: No OFD packet to send [22:05:56]OFD Sender: No OFD packet to send [22:06:01]OFD Sender: No OFD packet to send [22:06:06]OFD Sender: No OFD packet to send [22:06:11]OFD Sender: No OFD packet to send [22:06:16]OFD Sender: No OFD packet to send [22:06:21]OFD Sender: No OFD packet to send [22:06:26]OFD Sender: No OFD packet to send [22:06:31]OFD Sender: No OFD packet to send [22:06:36]OFD Sender: No OFD packet to send [22:06:41]OFD Sender: No OFD packet to send [22:06:46]OFD Sender: No OFD packet to send [22:06:51]OFD Sender: No OFD packet to send [22:06:56]OFD Sender: No OFD packet to send [22:07:01]OFD Sender: No OFD packet to send [22:07:06]OFD Sender: No OFD packet to send [22:07:11]OFD Sender: No OFD packet to send [22:07:16]OFD Sender: No OFD packet to send [22:07:21]OFD Sender: No OFD packet to send [22:07:26]OFD Sender: No OFD packet to send [22:07:31]OFD Sender: No OFD packet to send [22:07:36]OFD Sender: No OFD packet to send [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:08:01]OFD Sender: No OFD packet to send [22:08:06]OFD Sender: No OFD packet to send [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: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:26]recv_with_timeout no data received [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]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:51]OFD Sender: No OFD packet to send [22:13:56]OFD Sender: No OFD packet to send [22:14:01]OFD Sender: No OFD packet to send [22:14:06]OFD Sender: No OFD packet to send [22:14:11]OFD Sender: No OFD packet to send [22:14:16]OFD Sender: No OFD packet to send [22:14:21]OFD Sender: No OFD packet to send [22:14:26]OFD Sender: No OFD packet to send [22:14:31]OFD Sender: No OFD packet to send [22:14:36]OFD Sender: No OFD packet to send [22:14:41]OFD Sender: No OFD packet to send [22:14:46]OFD Sender: No OFD packet to send [22:14:51]OFD Sender: No OFD packet to send [22:14:56]OFD Sender: No OFD packet to send [22:15:01]OFD Sender: No OFD packet to send [22:15:06]OFD Sender: No OFD packet to send [22:15:11]OFD Sender: No OFD packet to send [22:15:16]OFD Sender: No OFD packet to send [22:15:21]OFD Sender: No OFD packet to send [22:15:26]OFD Sender: No OFD packet to send [22:15:31]OFD Sender: No OFD packet to send [22:15:36]OFD Sender: No OFD packet to send [22:15:41]OFD Sender: No OFD packet to send [22:15:46]OFD Sender: No OFD packet to send [22:15:51]OFD Sender: No OFD packet to send [22:15:56]OFD Sender: No OFD packet to send [22:16:01]OFD Sender: No OFD packet to send [22:16:05]accept exits with 8 [22:16:05]New connection [22:16:05]New thread 3066838372 created [22:16:05]Thread 3066695012 joined [22:16:05]Waiting for new connection... [22:16:05] Sock 8.Parse request [22:16:05]Sock 8.Check first char [22:16:05]Sock 8.First char is OK [22:16:05]request: POST /json_proto HTTP/1.0 [22:16:05]Method: POST [22:16:05]URL: /json_proto [22:16:05]Method is POST - this is cgi request [22:16:05]url: /json_proto [22:16:05]query_string will be loaded in cgi processing [22:16:05]execute_cgi json_proto POST (null) [22:16:05]execute_cgi path=json_proto method=POST [22:16:05]POST find Content-Length [22:16:05]Host: 172.17.35.133:8080 [22:16:05]Content-Length: 646 [22:16:05]Content-Type: application/json [22:16:05] [22:16:05]POST finish read [22:16:05]Found Content-Length = 646 [22:16:05]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254525", "tax_sys" : 0, "items" : [ { "code": "6921207700477", "name": "\u041F\u0440\u0435\u0437\u0435\u0440\u0432\u0430\u0442\u0438\u0432 Vie Tex 3\u0448\u0442", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:16:05]execute_script... [22:16:05]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254525", "tax_sys" : 0, "items" : [ { "code": "6921207700477", "name": "\u041F\u0440\u0435\u0437\u0435\u0440\u0432\u0430\u0442\u0438\u0432 Vie Tex 3\u0448\u0442", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:16:05]POST & json_proto [22:16:05]process_json_proto [22:16:05]json parsed OK: [22:16:05]protocol is kg_v1.0 [22:16:05]action value=close_receipt [22:16:05]process_action close_receipt [22:16:05]cmd_close_receipt [22:16:05]MH_GetDate [22:16:05]Write to MH i2c: F0 00 00 AB 2F C9 [22:16:05]Write i2c OK [22:16:05]MH_I2C_Read... [22:16:05]Read from MH i2c: F0 [22:16:05]MH_I2C_Read... [22:16:05]Read from MH i2c: F0 09 00 [22:16:05]MH_I2C_Read... [22:16:05]Read from MH i2c: F0 09 00 AB 2F 00 2F 64 6F 66 8C 55 28 65 A8 [22:16:05]GetLastDocTimeStamp 1718574552 [22:16:05]current date 1718576175 [22:16:05]FM_GetShiftState [22:16:05]SAM_PROTO_GetShiftState [22:16:05]wFMCommunicate request_size=4 [22:16:05]MH_SAM_APDU [22:16:05]CAPDU: 80 13 01 00 [22:16:05]Write to MH i2c: E2 08 00 AC 2F 80 13 01 00 00 00 00 00 58 [22:16:05]Write i2c OK [22:16:05]MH_I2C_Read... [22:16:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:16:05]Read from MH i2c: E2 [22:16:05]MH_I2C_Read... [22:16:05]Read from MH i2c: E2 0E 00 [22:16:05]MH_I2C_Read... [22:16:05]Read from MH i2c: E2 0E 00 AC 2F 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 79 [22:16:05]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [22:16:05]wFMCommunicate OK [22:16:05]SAM_PROTO_GetShiftState done [22:16:05]FM_GetShiftState done [22:16:05]opened in 1718497297 [22:16:05]opened+sec_in_day 1718583697 [22:16:05]quantity*price = 13000 [22:16:05]sum+1 = 13001 [22:16:05]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 130.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 77 16.06.2024 22:16 Смена: 327 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22312 ФПД: 214671907172316 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T221615&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22312&fm=214671907172316&tin=02508201610067®Number=0000000000099755&sum=13000 0 [22:16:06]StoreToDocumentArchive [22:16:06]shift 327 fd 22312 [22:16:06]save to /storage/0327/doc_00022312 [22:16:06]save last doc name /storage/0327/doc_00022312 to /storage/kkm_last_doc_name [22:16:06]save OK [22:16:06]Clear old archive folders... [22:16:06]ProcessDocumentItem done err = 0, tmpTLVsize=278 [22:16:06]tlvbuf is 00252AE0 [22:16:06]SAM_PROTO_ClearQueue [22:16:06]wFMCommunicate request_size=4 [22:16:06]MH_SAM_APDU [22:16:06]CAPDU: 80 09 00 00 [22:16:06]Write to MH i2c: E2 08 00 B9 2F 80 09 00 00 00 00 00 00 5A [22:16:06]Write i2c OK [22:16:06]MH_I2C_Read... [22:16:06]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:16:06]Read from MH i2c: E2 [22:16:06]MH_I2C_Read... [22:16:06]Read from MH i2c: E2 03 00 [22:16:06]MH_I2C_Read... [22:16:06]Read from MH i2c: E2 03 00 B9 2F 00 90 00 5C [22:16:06]RAPDU: 90 00 [22:16:06]wFMCommunicate OK [22:16:06]SAM_PROTO_ClearQueue done [22:16:06]KKMCreateOFDPacket [22:16:06]OFDProtocolAddRootSTLVToBuf [22:16:06]FM_MakeSignedData [22:16:06]FM_MakeSignedData [22:16:06]SAM_PROTO_SignData [22:16:06]wFMCommunicate request_size=4 [22:16:06]MH_SAM_APDU [22:16:06]CAPDU: 80 0D 01 02 [22:16:06]Write to MH i2c: E2 08 00 BA 2F 80 0D 01 02 00 00 00 00 62 [22:16:06]Write i2c OK [22:16:06]MH_I2C_Read... [22:16:06]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:16:06]Read from MH i2c: E2 [22:16:06]MH_I2C_Read... [22:16:06]Read from MH i2c: E2 03 00 [22:16:06]MH_I2C_Read... [22:16:06]Read from MH i2c: E2 03 00 BA 2F 00 90 00 5D [22:16:06]RAPDU: 90 00 [22:16:06]wFMCommunicate OK [22:16:06]wFMCommunicate request_size=255 [22:16:06]MH_SAM_APDU [22:16:06]CAPDU: 80 0D 02 02 FA 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 36 39 32 31 32 30 37 37 30 30 34 37 37 06 04 24 00 D0 9F D1 80 D0 B5 D0 B7 D0 B5 D1 80 D0 B2 D0 B0 D1 82 D0 B8 D0 B2 20 56 69 65 20 54 65 78 20 33 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4D 00 00 00 F4 03 04 00 2F 64 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 [22:16:06]Write to MH i2c: E2 02 01 BB 2F 80 0D 02 02 FA 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 36 39 32 31 32 30 37 37 30 30 34 37 37 06 04 24 00 D0 9F D1 80 D0 B5 D0 B7 D0 B5 D1 80 D0 B2 D0 B0 D1 82 D0 B8 D0 B2 20 56 69 65 20 54 65 78 20 33 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4D 00 00 00 F4 03 04 00 2F 64 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 00 00 28 [22:16:06]Write i2c OK [22:16:06]MH_I2C_Read... [22:16:06]OFD Sender: No OFD packet to send [22:16:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:16:06]Read from MH i2c: E2 [22:16:06]MH_I2C_Read... [22:16:06]Read from MH i2c: E2 03 00 [22:16:06]MH_I2C_Read... [22:16:06]Read from MH i2c: E2 03 00 BB 2F 00 90 00 5E [22:16:06]RAPDU: 90 00 [22:16:06]wFMCommunicate OK [22:16:06]wFMCommunicate request_size=37 [22:16:06]MH_SAM_APDU [22:16:06]CAPDU: 80 0D 02 02 20 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 28 57 00 00 35 04 06 00 C3 3E 32 C5 2F DC [22:16:06]Write to MH i2c: E2 28 00 BC 2F 80 0D 02 02 20 00 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 28 57 00 00 35 04 06 00 C3 3E 32 C5 2F DC 00 00 3D [22:16:06]Write i2c OK [22:16:06]MH_I2C_Read... [22:16:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:16:07]Read from MH i2c: E2 [22:16:07]MH_I2C_Read... [22:16:07]Read from MH i2c: E2 03 00 [22:16:07]MH_I2C_Read... [22:16:07]Read from MH i2c: E2 03 00 BC 2F 00 90 00 5F [22:16:07]RAPDU: 90 00 [22:16:07]wFMCommunicate OK [22:16:07]wFMCommunicate request_size=4 [22:16:07]MH_SAM_APDU [22:16:07]CAPDU: 80 0D 03 02 [22:16:07]Write to MH i2c: E2 08 00 BD 2F 80 0D 03 02 00 00 00 00 67 [22:16:07]Write i2c OK [22:16:07]MH_I2C_Read... [22:16:07]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:16:07]Read from MH i2c: E2 [22:16:07]MH_I2C_Read... [22:16:07]Read from MH i2c: E2 0B 00 [22:16:07]MH_I2C_Read... [22:16:07]Read from MH i2c: E2 0B 00 BD 2F 00 45 3C 1D 31 D8 F8 D9 2B 90 00 0B [22:16:07]RAPDU: 45 3C 1D 31 D8 F8 D9 2B 90 00 [22:16:07]wFMCommunicate OK [22:16:07]SAM_PROTO_SignData done [22:16:07]FM_MakeSignedData done [22:16:07]CreateOFDProtocolMessage [22:16:07]wFMCommunicate request_size=4 [22:16:07]MH_SAM_APDU [22:16:07]CAPDU: 80 11 00 00 [22:16:07]Write to MH i2c: E2 08 00 BE 2F 80 11 00 00 00 00 00 00 67 [22:16:07]Write i2c OK [22:16:07]MH_I2C_Read... [22:16:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:16:07]Read from MH i2c: E2 [22:16:07]MH_I2C_Read... [22:16:07]Read from MH i2c: E2 17 00 [22:16:07]MH_I2C_Read... [22:16:07]Read from MH i2c: E2 17 00 BE 2F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 B9 [22:16:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [22:16:07]wFMCommunicate OK [22:16:07]CreateOFDProtocolMessage done [22:16:07]OFDSenderStorePacket 22312 [22:16:07]StoreOFDPacket docnum=22312 [22:16:07]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 2A 01 00 00 51 96 22 01 C6 26 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 36 39 32 31 32 30 37 37 30 30 34 37 37 06 04 24 00 D0 9F D1 80 D0 B5 D0 B7 D0 B5 D1 80 D0 B2 D0 B0 D1 82 D0 B8 D0 B2 20 56 69 65 20 54 65 78 20 33 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4D 00 00 00 F4 03 04 00 2F 64 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 28 57 00 00 35 04 06 00 C3 3E 32 C5 2F DC 45 3C 1D 31 D8 F8 D9 2B [22:16:07]CheckFolder [22:16:07]dirname=/storage/ofd_packets [22:16:07]CheckFolder done [22:16:07]ProducePacketName [22:16:07]name=ofd_packets/00022312 [22:16:07]NVStorageSaveData ofd_packets/00022312 [22:16:07]File name is /storage/ofd_packets/00022312 [22:16:07]Write 328 bytes [22:16:07]NVStorageSaveData done [22:16:07]OFDSenderStorePacket done [22:16:07]KKMCreateOFDPacket done [22:16:07]NVStorageSaveData kkm_last_timestamp [22:16:07]File name is /storage/kkm_last_timestamp [22:16:07]Write 4 bytes [22:16:07]NVStorageSaveData done [22:16:07]ExternCall_PrintAddStr [22:16:07]wPrintStart [22:16:07]Write to MH i2c: 01 00 00 BF 2F EE [22:16:07]Write i2c OK [22:16:07]MH_I2C_Read... [22:16:07]Read from MH i2c: 01 [22:16:07]MH_I2C_Read... [22:16:07]Read from MH i2c: 01 07 00 [22:16:07]MH_I2C_Read... [22:16:07]Read from MH i2c: 01 07 00 BF 2F 00 00 00 00 00 FF 0F 03 [22:16:07]RasterBufferAndPrint [22:16:07]line Счет N : (3)254525 [22:16:07]line ИНН: 02508201610067 [22:16:07]line Контрольно-Кассовый Чек [22:16:07]line ПРОДАЖА [22:16:07]line Товар: 6921207700477 [22:16:07]line Презерватив Vie Tex 3шт [22:16:07]line 1.000 * 130.00 [22:16:07]line = 130.00 [22:16:07]line НДС 12% НСП 1% [22:16:07]line > о реализуемом товаре [22:16:07]line ИТОГО: 130.00 [22:16:07]line НСП 1% : 1.15 [22:16:07]line НДС 12% : 13.80 [22:16:07]line Наличными: 130.00 [22:16:07]line Безнал.: 0.00 [22:16:07]line Место: АЗС № 76 "Партнер Нефть" [22:16:07]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [22:16:07]line СНО: Общий режим [22:16:07]line Чек 77 16.06.2024 22:16 [22:16:07]line Смена: 327 ФФД: 1.0 [22:16:07]line ЗНМ: 0300000200 [22:16:07]line РНМ: 0000000000099755 [22:16:07]line Версия ККМ: 001 [22:16:07]line ФМ: 0000000000965344 [22:16:07]line ФД: 22312 [22:16:07]line ФПД: 214671907172316 [22:16:07]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T221615&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22312&fm=214671907172316&tin=02508201610067®Number=0000000000099755&sum=13000 [22:16:07]line 0 [22:16:07]OFD Sender: Processing packet 22312 [packets to send 5, broken 4] [22:16:07]ProducePacketName [22:16:07]name=ofd_packets/00022312 [22:16:07]OFD Sender: To server: pG, [22:16:07]CommunicateWithHost lk.salyk.kg:30040 [22:16:07]ConnectInit lk.salyk.kg [22:16:07]written 0, free lines is 4095 [22:16:07]Connected sock=10 [22:16:07]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 2A 01 00 00 51 96 22 01 C6 26 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 36 39 32 31 32 30 37 37 30 30 34 37 37 06 04 24 00 D0 9F D1 80 D0 B5 D0 B7 D0 B5 D1 80 D0 B2 D0 B0 D1 82 D0 B8 D0 B2 20 56 69 65 20 54 65 78 20 33 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4D 00 00 00 F4 03 04 00 2F 64 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 28 57 00 00 35 04 06 00 C3 3E 32 C5 2F DC 45 3C 1D 31 D8 F8 D9 2B [22:16:07]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 25 C4 47 00 35 51 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 28 57 00 00 F4 03 04 00 E8 0C 6F 66 B6 04 01 00 00 13 BF 35 E0 7B 03 81 5D [22:16:07]CommunicateWithHost err = 0 [22:16:07]CheckOFDResponse [22:16:07]1017 (14) - 77093643461234 [22:16:07]1041 (16) - 0000000000965344 [22:16:07]1040 (4) - 22312 [22:16:07]1012 (4) - 16.06.2024 16:03 [22:16:07]1206 (1) - 0 [22:16:07]OFD Sender: Remove packet 22312 [22:16:07]ProducePacketName [22:16:07]name=ofd_packets/00022312 [22:16:07]NVStorageDeleteData [22:16:07]Write to MH i2c: 01 00 00 E7 2F 16 [22:16:07]Write i2c OK [22:16:07]MH_I2C_Read... [22:16:07]Read from MH i2c: 01 [22:16:07]MH_I2C_Read... [22:16:07]Read from MH i2c: 01 07 00 [22:16:07]MH_I2C_Read... [22:16:07]Read from MH i2c: 01 07 00 E7 2F 00 00 00 00 00 18 0D 42 [22:16:07]RasterBufferAndPrint [22:16:07]line [22:16:07]line [22:16:07]line [22:16:07]line [22:16:07]line [22:16:07]written 0, free lines is 3360 [22:16:07]MH_Cut [22:16:07]Write to MH i2c: D1 01 00 EE 2F 01 EF [22:16:07]Write i2c OK [22:16:07]MH_I2C_Read... [22:16:07]Read from MH i2c: D1 [22:16:07]MH_I2C_Read... [22:16:07]Read from MH i2c: D1 01 00 [22:16:07]MH_I2C_Read... [22:16:07]Read from MH i2c: D1 01 00 EE 2F 00 EE [22:16:07]Write to MH i2c: 01 00 00 EF 2F 1E [22:16:07]Write i2c OK [22:16:07]MH_I2C_Read... [22:16:08]OFD Sender: No OFD packet to send [22:16:08]*** Cut start [22:16:08]*** Partial cut [22:16:08]*** CUTSNS_PIN = 1 [22:16:08]*** CUTSNS_PIN = 0 [22:16:08]*** Brake cut motor [22:16:09]Read from MH i2c: 01 [22:16:09]MH_I2C_Read... [22:16:09]*** Stop cut motor [22:16:09]*** Cut end [22:16:09]Read from MH i2c: 01 07 00 [22:16:09]MH_I2C_Read... [22:16:09]Read from MH i2c: 01 07 00 EF 2F 00 00 00 00 00 FF 0F 33 [22:16:09]process_action close_receipt done [22:16:09]requested_data is exist [22:16:09]produce_requested_data [22:16:09]requested_item fm.sn is exist - process it [22:16:09]wFMCommunicate request_size=4 [22:16:09]MH_SAM_APDU [22:16:09]CAPDU: 80 11 00 00 [22:16:09]Write to MH i2c: E2 08 00 F0 2F 80 11 00 00 00 00 00 00 99 [22:16:09]Write i2c OK [22:16:09]MH_I2C_Read... [22:16:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:16:09]Read from MH i2c: E2 [22:16:09]MH_I2C_Read... [22:16:09]Read from MH i2c: E2 17 00 [22:16:09]MH_I2C_Read... [22:16:09]Read from MH i2c: E2 17 00 F0 2F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 EB [22:16:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [22:16:09]wFMCommunicate OK [22:16:09]requested_item fd.num is exist - process it [22:16:09]SAM_PROTO_GetFieldsCounters [22:16:09]wFMCommunicate request_size=4 [22:16:09]MH_SAM_APDU [22:16:09]CAPDU: 80 13 00 00 [22:16:09]Write to MH i2c: E2 08 00 F1 2F 80 13 00 00 00 00 00 00 9C [22:16:09]Write i2c OK [22:16:09]MH_I2C_Read... [22:16:09]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:16:09]Read from MH i2c: E2 [22:16:09]MH_I2C_Read... [22:16:09]Read from MH i2c: E2 62 00 [22:16:09]MH_I2C_Read... [22:16:09]Read from MH i2c: E2 62 00 F1 2F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 28 57 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 4D 00 00 00 5E 04 04 00 4D 00 00 00 57 04 04 00 4E 00 00 00 19 04 04 00 00 00 00 00 90 00 74 [22:16:09]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 28 57 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 4D 00 00 00 5E 04 04 00 4D 00 00 00 57 04 04 00 4E 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:16:09]wFMCommunicate OK [22:16:09]SAM_PROTO_GetFieldsCounters done [22:16:09]requested_item shift.num is exist - process it [22:16:09]requested_item shift.opened is exist - process it [22:16:09]req_shift_opened [22:16:09]FM_GetShiftState [22:16:09]SAM_PROTO_GetShiftState [22:16:09]wFMCommunicate request_size=4 [22:16:09]MH_SAM_APDU [22:16:09]CAPDU: 80 13 01 00 [22:16:09]Write to MH i2c: E2 08 00 F2 2F 80 13 01 00 00 00 00 00 9E [22:16:09]Write i2c OK [22:16:09]MH_I2C_Read... [22:16:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:16:09]Read from MH i2c: E2 [22:16:09]MH_I2C_Read... [22:16:09]Read from MH i2c: E2 0E 00 [22:16:09]MH_I2C_Read... [22:16:09]Read from MH i2c: E2 0E 00 F2 2F 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 BF [22:16:09]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [22:16:09]wFMCommunicate OK [22:16:09]SAM_PROTO_GetShiftState done [22:16:09]FM_GetShiftState done [22:16:09]req_shift_opened done [22:16:09]requested_item shift.open_date is exist - process it [22:16:09]req_shift_open_date [22:16:09]req_shift_open_date done [22:16:09]produce_requested_data done [22:16:09]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22312,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297} [22:16:09]process_action_free close_receipt [22:16:09]json_value_free [22:16:09]json_value_free done [22:16:09]process_json_proto returns [22:16:09]Send response to host [22:16:09]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22312,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297}}} [22:16:09]free response buf [22:16:09]execute_script done [22:16:09]execute_script returns [22:16:09]free content buf [22:16:09]Sock 8.Close socket [22:16:09]Sock 8.Thread stoped [22:16:13]OFD Sender: No OFD packet to send [22:16:18]OFD Sender: No OFD packet to send [22:16:23]OFD Sender: No OFD packet to send [22:16:28]OFD Sender: No OFD packet to send [22:16:33]OFD Sender: No OFD packet to send [22:16:38]OFD Sender: No OFD packet to send [22:16:43]OFD Sender: No OFD packet to send [22:16:48]OFD Sender: No OFD packet to send [22:16:53]OFD Sender: No OFD packet to send [22:16:58]OFD Sender: No OFD packet to send [22:17:03]OFD Sender: No OFD packet to send [22:17:08]OFD Sender: No OFD packet to send [22:17:13]OFD Sender: No OFD packet to send [22:17:18]OFD Sender: No OFD packet to send [22:17:23]OFD Sender: No OFD packet to send [22:17:28]OFD Sender: No OFD packet to send [22:17:33]OFD Sender: No OFD packet to send [22:17:38]accept exits with 9 [22:17:38]New connection [22:17:38]New thread 3066695012 created [22:17:38]Thread 3066838372 joined [22:17:38]Waiting for new connection... [22:17:38] Sock 9.Parse request [22:17:38]Sock 9.Check first char [22:17:38]Sock 9.First char is OK [22:17:38]request: POST /json_proto HTTP/1.0 [22:17:38]Method: POST [22:17:38]URL: /json_proto [22:17:38]Method is POST - this is cgi request [22:17:38]url: /json_proto [22:17:38]query_string will be loaded in cgi processing [22:17:38]execute_cgi json_proto POST (null) [22:17:38]execute_cgi path=json_proto method=POST [22:17:38]POST find Content-Length [22:17:38]Host: 172.17.35.133:8080 [22:17:38]Content-Length: 678 [22:17:38]Content-Type: application/json [22:17:38] [22:17:38]POST finish read [22:17:38]Found Content-Length = 678 [22:17:38]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)1610722", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 33", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 65.80, "quantity" : 6.080, "sum" : 400.06, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 400.00, "total" : 400.00, "payments": [ { "type": 0, "sum" : 400.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:17:38]execute_script... [22:17:38]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)1610722", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 33", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 65.80, "quantity" : 6.080, "sum" : 400.06, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 400.00, "total" : 400.00, "payments": [ { "type": 0, "sum" : 400.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:17:38]POST & json_proto [22:17:38]process_json_proto [22:17:38]json parsed OK: [22:17:38]protocol is kg_v1.0 [22:17:38]action value=close_receipt [22:17:38]process_action close_receipt [22:17:38]cmd_close_receipt [22:17:38]MH_GetDate [22:17:38]Write to MH i2c: F0 00 00 F3 2F 11 [22:17:38]Write i2c OK [22:17:38]MH_I2C_Read... [22:17:38]Read from MH i2c: F0 [22:17:38]MH_I2C_Read... [22:17:38]Read from MH i2c: F0 09 00 [22:17:38]MH_I2C_Read... [22:17:38]Read from MH i2c: F0 09 00 F3 2F 00 8C 64 6F 66 8C 55 28 65 4D [22:17:38]GetLastDocTimeStamp 1718576175 [22:17:38]current date 1718576268 [22:17:38]FM_GetShiftState [22:17:38]SAM_PROTO_GetShiftState [22:17:38]wFMCommunicate request_size=4 [22:17:38]MH_SAM_APDU [22:17:38]CAPDU: 80 13 01 00 [22:17:38]Write to MH i2c: E2 08 00 F4 2F 80 13 01 00 00 00 00 00 A0 [22:17:38]Write i2c OK [22:17:38]MH_I2C_Read... [22:17:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:17:38]Read from MH i2c: E2 [22:17:38]MH_I2C_Read... [22:17:38]Read from MH i2c: E2 0E 00 [22:17:38]MH_I2C_Read... [22:17:38]Read from MH i2c: E2 0E 00 F4 2F 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 C1 [22:17:38]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [22:17:38]wFMCommunicate OK [22:17:38]SAM_PROTO_GetShiftState done [22:17:38]FM_GetShiftState done [22:17:38]opened in 1718497297 [22:17:38]opened+sec_in_day 1718583697 [22:17:38]quantity*price = 40006 [22:17:38]sum+1 = 40007 [22:17:38]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.06 ИТОГО: 400.00 Внесено: 400.00 СДАЧА: 0.00 НСП 1% : 3.54 НДС 12% : 42.48 Наличными: 400.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 78 16.06.2024 22:17 Смена: 327 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22313 ФПД: 50234754787220 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T221748&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22313&fm=50234754787220&tin=02508201610067®Number=0000000000099755&sum=40000 [22:17:39]StoreToDocumentArchive [22:17:39]shift 327 fd 22313 [22:17:39]save to /storage/0327/doc_00022313 [22:17:39]save last doc name /storage/0327/doc_00022313 to /storage/kkm_last_doc_name [22:17:39]save OK [22:17:39]Clear old archive folders... [22:17:39]ProcessDocumentItem done err = 0, tmpTLVsize=251 [22:17:39]tlvbuf is 00267E40 [22:17:39]SAM_PROTO_ClearQueue [22:17:39]wFMCommunicate request_size=4 [22:17:39]MH_SAM_APDU [22:17:39]CAPDU: 80 09 00 00 [22:17:39]Write to MH i2c: E2 08 00 01 30 80 09 00 00 00 00 00 00 A3 [22:17:39]Write i2c OK [22:17:39]MH_I2C_Read... [22:17:39]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:17:39]Read from MH i2c: E2 [22:17:39]MH_I2C_Read... [22:17:39]Read from MH i2c: E2 03 00 [22:17:39]MH_I2C_Read... [22:17:39]Read from MH i2c: E2 03 00 01 30 00 90 00 A5 [22:17:39]RAPDU: 90 00 [22:17:39]wFMCommunicate OK [22:17:39]SAM_PROTO_ClearQueue done [22:17:39]KKMCreateOFDPacket [22:17:39]OFDProtocolAddRootSTLVToBuf [22:17:39]FM_MakeSignedData [22:17:39]FM_MakeSignedData [22:17:39]SAM_PROTO_SignData [22:17:39]wFMCommunicate request_size=4 [22:17:39]MH_SAM_APDU [22:17:39]CAPDU: 80 0D 01 02 [22:17:39]Write to MH i2c: E2 08 00 02 30 80 0D 01 02 00 00 00 00 AB [22:17:39]Write i2c OK [22:17:39]MH_I2C_Read... [22:17:39]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:17:39]Read from MH i2c: E2 [22:17:39]MH_I2C_Read... [22:17:39]Read from MH i2c: E2 03 00 [22:17:39]MH_I2C_Read... [22:17:39]Read from MH i2c: E2 03 00 02 30 00 90 00 A6 [22:17:39]RAPDU: 90 00 [22:17:39]wFMCommunicate OK [22:17:39]wFMCommunicate request_size=255 [22:17:39]MH_SAM_APDU [22:17:39]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 C0 17 00 00 00 00 00 37 04 06 00 B4 19 00 00 00 00 13 04 06 00 46 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4E 00 00 00 F4 03 04 00 8C 64 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 29 57 00 00 35 04 06 00 2D [22:17:39]Write to MH i2c: E2 02 01 03 30 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 C0 17 00 00 00 00 00 37 04 06 00 B4 19 00 00 00 00 13 04 06 00 46 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4E 00 00 00 F4 03 04 00 8C 64 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 29 57 00 00 35 04 06 00 2D 00 00 0F [22:17:39]Write i2c OK [22:17:39]MH_I2C_Read... [22:17:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:17:39]Read from MH i2c: E2 [22:17:39]MH_I2C_Read... [22:17:39]Read from MH i2c: E2 03 00 [22:17:39]MH_I2C_Read... [22:17:39]Read from MH i2c: E2 03 00 03 30 00 90 00 A7 [22:17:39]RAPDU: 90 00 [22:17:39]wFMCommunicate OK [22:17:39]wFMCommunicate request_size=10 [22:17:39]MH_SAM_APDU [22:17:39]CAPDU: 80 0D 02 02 05 B0 30 B6 E7 94 [22:17:39]Write to MH i2c: E2 0D 00 04 30 80 0D 02 02 05 00 B0 30 B6 E7 94 00 00 C9 [22:17:39]Write i2c OK [22:17:39]MH_I2C_Read... [22:17:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:17:39]Read from MH i2c: E2 [22:17:39]MH_I2C_Read... [22:17:39]Read from MH i2c: E2 03 00 [22:17:39]MH_I2C_Read... [22:17:39]Read from MH i2c: E2 03 00 04 30 00 90 00 A8 [22:17:39]RAPDU: 90 00 [22:17:39]wFMCommunicate OK [22:17:39]wFMCommunicate request_size=4 [22:17:39]MH_SAM_APDU [22:17:39]CAPDU: 80 0D 03 02 [22:17:39]Write to MH i2c: E2 08 00 05 30 80 0D 03 02 00 00 00 00 B0 [22:17:39]Write i2c OK [22:17:39]MH_I2C_Read... [22:17:39]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:17:39]Read from MH i2c: E2 [22:17:39]MH_I2C_Read... [22:17:39]Read from MH i2c: E2 0B 00 [22:17:39]MH_I2C_Read... [22:17:39]Read from MH i2c: E2 0B 00 05 30 00 7B 3B F8 3D 7D 5B E4 AC 90 00 04 [22:17:39]RAPDU: 7B 3B F8 3D 7D 5B E4 AC 90 00 [22:17:39]wFMCommunicate OK [22:17:39]SAM_PROTO_SignData done [22:17:39]FM_MakeSignedData done [22:17:39]CreateOFDProtocolMessage [22:17:39]wFMCommunicate request_size=4 [22:17:39]MH_SAM_APDU [22:17:39]CAPDU: 80 11 00 00 [22:17:39]Write to MH i2c: E2 08 00 06 30 80 11 00 00 00 00 00 00 B0 [22:17:39]Write i2c OK [22:17:39]MH_I2C_Read... [22:17:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:17:39]Read from MH i2c: E2 [22:17:39]MH_I2C_Read... [22:17:39]Read from MH i2c: E2 17 00 [22:17:39]MH_I2C_Read... [22:17:39]Read from MH i2c: E2 17 00 06 30 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 02 [22:17:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [22:17:39]wFMCommunicate OK [22:17:39]CreateOFDProtocolMessage done [22:17:39]OFDSenderStorePacket 22313 [22:17:39]StoreOFDPacket docnum=22313 [22:17:39]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0F 01 00 00 78 3F 07 01 9B BE 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 C0 17 00 00 00 00 00 37 04 06 00 B4 19 00 00 00 00 13 04 06 00 46 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4E 00 00 00 F4 03 04 00 8C 64 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 29 57 00 00 35 04 06 00 2D B0 30 B6 E7 94 7B 3B F8 3D 7D 5B E4 AC [22:17:39]CheckFolder [22:17:39]dirname=/storage/ofd_packets [22:17:39]CheckFolder done [22:17:39]ProducePacketName [22:17:39]name=ofd_packets/00022313 [22:17:39]NVStorageSaveData ofd_packets/00022313 [22:17:39]File name is /storage/ofd_packets/00022313 [22:17:39]Write 301 bytes [22:17:39]NVStorageSaveData done [22:17:39]OFDSenderStorePacket done [22:17:39]KKMCreateOFDPacket done [22:17:39]NVStorageSaveData kkm_last_timestamp [22:17:39]File name is /storage/kkm_last_timestamp [22:17:39]Write 4 bytes [22:17:39]NVStorageSaveData done [22:17:39]ExternCall_PrintAddStr [22:17:39]wPrintStart [22:17:39]Write to MH i2c: 01 00 00 07 30 37 [22:17:39]Write i2c OK [22:17:39]MH_I2C_Read... [22:17:39]Read from MH i2c: 01 [22:17:39]MH_I2C_Read... [22:17:39]Read from MH i2c: 01 07 00 [22:17:39]MH_I2C_Read... [22:17:39]Read from MH i2c: 01 07 00 07 30 00 00 00 00 00 FF 0F 4C [22:17:39]RasterBufferAndPrint [22:17:39]line Счет N : (1)1610722 [22:17:39]line ИНН: 02508201610067 [22:17:39]line Контрольно-Кассовый Чек [22:17:39]line ПРОДАЖА [22:17:39]line ТРК (МРК, ГНК) : 33 [22:17:39]line Товар: 2710124130 [22:17:39]line Аи-92-К-5 [22:17:39]line 6.080 * 65.80 [22:17:39]line = 400.06 [22:17:39]line НДС 12% НСП 1% [22:17:39]line > о реализуемом товаре [22:17:39]line ОКРУГЛЕНИЕ: -0.06 [22:17:39]line ИТОГО: 400.00 [22:17:39]line Внесено: 400.00 [22:17:39]line СДАЧА: 0.00 [22:17:39]line НСП 1% : 3.54 [22:17:39]line НДС 12% : 42.48 [22:17:39]line Наличными: 400.00 [22:17:39]line Безнал.: 0.00 [22:17:39]line Место: АЗС № 76 "Партнер Нефть" [22:17:39]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [22:17:39]line СНО: Общий режим [22:17:39]line Чек 78 16.06.2024 22:17 [22:17:39]line Смена: 327 ФФД: 1.0 [22:17:39]line ЗНМ: 0300000200 [22:17:39]line РНМ: 0000000000099755 [22:17:39]line Версия ККМ: 001 [22:17:39]line ФМ: 0000000000965344 [22:17:39]line ФД: 22313 [22:17:39]line ФПД: 50234754787220 [22:17:40]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T221748&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22313&fm=50234754787220&tin=02508201610067®Number=0000000000099755&sum=40000 [22:17:40]OFD Sender: Processing packet 22313 [packets to send 5, broken 4] [22:17:40]ProducePacketName [22:17:40]name=ofd_packets/00022313 [22:17:40]OFD Sender: To server: pG, [22:17:40]CommunicateWithHost lk.salyk.kg:30040 [22:17:40]ConnectInit lk.salyk.kg [22:17:40]written 0, free lines is 4095 [22:17:40]Connected sock=10 [22:17:40]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0F 01 00 00 78 3F 07 01 9B BE 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 C0 17 00 00 00 00 00 37 04 06 00 B4 19 00 00 00 00 13 04 06 00 46 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4E 00 00 00 F4 03 04 00 8C 64 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 29 57 00 00 35 04 06 00 2D B0 30 B6 E7 94 7B 3B F8 3D 7D 5B E4 AC [22:17:40]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 C6 36 47 00 1B 7B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 29 57 00 00 F4 03 04 00 45 0D 6F 66 B6 04 01 00 00 31 43 FE 97 E4 47 8A 2F [22:17:40]CommunicateWithHost err = 0 [22:17:40]CheckOFDResponse [22:17:40]1017 (14) - 77093643461234 [22:17:40]1041 (16) - 0000000000965344 [22:17:40]1040 (4) - 22313 [22:17:40]1012 (4) - 16.06.2024 16:05 [22:17:40]1206 (1) - 0 [22:17:40]OFD Sender: Remove packet 22313 [22:17:40]ProducePacketName [22:17:40]name=ofd_packets/00022313 [22:17:40]NVStorageDeleteData [22:17:40]Write to MH i2c: 01 00 00 32 30 62 [22:17:40]Write i2c OK [22:17:40]MH_I2C_Read... [22:17:40]Read from MH i2c: 01 [22:17:40]MH_I2C_Read... [22:17:40]Read from MH i2c: 01 07 00 [22:17:40]MH_I2C_Read... [22:17:40]Read from MH i2c: 01 07 00 32 30 00 00 00 00 00 F6 0C 6B [22:17:40]RasterBufferAndPrint [22:17:40]line [22:17:40]line [22:17:40]line [22:17:40]line [22:17:40]line [22:17:40]written 0, free lines is 3324 [22:17:40]MH_Cut [22:17:40]Write to MH i2c: D1 01 00 39 30 01 3B [22:17:40]Write i2c OK [22:17:40]MH_I2C_Read... [22:17:40]Read from MH i2c: D1 [22:17:40]MH_I2C_Read... [22:17:40]Read from MH i2c: D1 01 00 [22:17:40]MH_I2C_Read... [22:17:40]Read from MH i2c: D1 01 00 39 30 00 3A [22:17:40]Write to MH i2c: 01 00 00 3A 30 6A [22:17:40]Write i2c OK [22:17:40]MH_I2C_Read... [22:17:41]OFD Sender: No OFD packet to send [22:17:41]*** Cut start [22:17:41]*** Partial cut [22:17:41]*** CUTSNS_PIN = 1 [22:17:41]*** CUTSNS_PIN = 0 [22:17:41]*** Brake cut motor [22:17:41]Read from MH i2c: 01 [22:17:41]MH_I2C_Read... [22:17:42]*** Stop cut motor [22:17:42]*** Cut end [22:17:42]Read from MH i2c: 01 07 00 [22:17:42]MH_I2C_Read... [22:17:42]Read from MH i2c: 01 07 00 3A 30 00 00 00 00 00 FF 0F 7F [22:17:42]process_action close_receipt done [22:17:42]requested_data is exist [22:17:42]produce_requested_data [22:17:42]requested_item fm.sn is exist - process it [22:17:42]wFMCommunicate request_size=4 [22:17:42]MH_SAM_APDU [22:17:42]CAPDU: 80 11 00 00 [22:17:42]Write to MH i2c: E2 08 00 3B 30 80 11 00 00 00 00 00 00 E5 [22:17:42]Write i2c OK [22:17:42]MH_I2C_Read... [22:17:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:17:42]Read from MH i2c: E2 [22:17:42]MH_I2C_Read... [22:17:42]Read from MH i2c: E2 17 00 [22:17:42]MH_I2C_Read... [22:17:42]Read from MH i2c: E2 17 00 3B 30 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 37 [22:17:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [22:17:42]wFMCommunicate OK [22:17:42]requested_item fd.num is exist - process it [22:17:42]SAM_PROTO_GetFieldsCounters [22:17:42]wFMCommunicate request_size=4 [22:17:42]MH_SAM_APDU [22:17:42]CAPDU: 80 13 00 00 [22:17:42]Write to MH i2c: E2 08 00 3C 30 80 13 00 00 00 00 00 00 E8 [22:17:42]Write i2c OK [22:17:42]MH_I2C_Read... [22:17:42]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:17:42]Read from MH i2c: E2 [22:17:42]MH_I2C_Read... [22:17:42]Read from MH i2c: E2 62 00 [22:17:42]MH_I2C_Read... [22:17:42]Read from MH i2c: E2 62 00 3C 30 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 29 57 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 4E 00 00 00 5E 04 04 00 4E 00 00 00 57 04 04 00 4F 00 00 00 19 04 04 00 00 00 00 00 90 00 C4 [22:17:42]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 29 57 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 4E 00 00 00 5E 04 04 00 4E 00 00 00 57 04 04 00 4F 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:17:42]wFMCommunicate OK [22:17:42]SAM_PROTO_GetFieldsCounters done [22:17:42]requested_item shift.num is exist - process it [22:17:42]requested_item shift.opened is exist - process it [22:17:42]req_shift_opened [22:17:42]FM_GetShiftState [22:17:42]SAM_PROTO_GetShiftState [22:17:42]wFMCommunicate request_size=4 [22:17:42]MH_SAM_APDU [22:17:42]CAPDU: 80 13 01 00 [22:17:42]Write to MH i2c: E2 08 00 3D 30 80 13 01 00 00 00 00 00 EA [22:17:42]Write i2c OK [22:17:42]MH_I2C_Read... [22:17:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:17:42]Read from MH i2c: E2 [22:17:42]MH_I2C_Read... [22:17:42]Read from MH i2c: E2 0E 00 [22:17:42]MH_I2C_Read... [22:17:42]Read from MH i2c: E2 0E 00 3D 30 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 0B [22:17:42]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [22:17:42]wFMCommunicate OK [22:17:42]SAM_PROTO_GetShiftState done [22:17:42]FM_GetShiftState done [22:17:42]req_shift_opened done [22:17:42]requested_item shift.open_date is exist - process it [22:17:42]req_shift_open_date [22:17:42]req_shift_open_date done [22:17:42]produce_requested_data done [22:17:42]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22313,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297} [22:17:42]process_action_free close_receipt [22:17:42]json_value_free [22:17:42]json_value_free done [22:17:42]process_json_proto returns [22:17:42]Send response to host [22:17:42]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22313,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297}}} [22:17:42]free response buf [22:17:42]execute_script done [22:17:42]execute_script returns [22:17:42]free content buf [22:17:42]Sock 9.Close socket [22:17:42]Sock 9.Thread stoped [22:17:46]OFD Sender: No OFD packet to send [22:17:51]OFD Sender: No OFD packet to send [22:17:56]OFD Sender: No OFD packet to send [22:18:01]OFD Sender: No OFD packet to send [22:18:06]OFD Sender: No OFD packet to send [22:18:11]OFD Sender: No OFD packet to send [22:18:16]OFD Sender: No OFD packet to send [22:18:21]OFD Sender: No OFD packet to send [22:18:26]OFD Sender: No OFD packet to send [22:18:31]OFD Sender: No OFD packet to send [22:18:36]OFD Sender: No OFD packet to send [22:18:41]OFD Sender: No OFD packet to send [22:18:46]OFD Sender: No OFD packet to send [22:18:51]OFD Sender: No OFD packet to send [22:18:56]OFD Sender: No OFD packet to send [22:19:01]OFD Sender: No OFD packet to send [22:19:06]OFD Sender: No OFD packet to send [22:19:11]OFD Sender: No OFD packet to send [22:19:16]OFD Sender: No OFD packet to send [22:19:21]OFD Sender: No OFD packet to send [22:19:26]OFD Sender: No OFD packet to send [22:19:31]OFD Sender: No OFD packet to send [22:19:36]OFD Sender: No OFD packet to send [22:19:41]OFD Sender: No OFD packet to send [22:19:46]OFD Sender: No OFD packet to send [22:19:51]OFD Sender: No OFD packet to send [22:19:56]OFD Sender: No OFD packet to send [22:20:01]OFD Sender: No OFD packet to send [22:20:06]OFD Sender: No OFD packet to send [22:20:11]OFD Sender: No OFD packet to send [22:20:16]OFD Sender: No OFD packet to send [22:20:21]OFD Sender: No OFD packet to send [22:20:26]OFD Sender: No OFD packet to send [22:20:31]OFD Sender: No OFD packet to send [22:20:36]OFD Sender: No OFD packet to send [22:20:41]OFD Sender: No OFD packet to send [22:20:46]OFD Sender: No OFD packet to send [22:20:51]OFD Sender: No OFD packet to send [22:20:56]OFD Sender: No OFD packet to send [22:21:01]OFD Sender: No OFD packet to send [22:21:06]OFD Sender: No OFD packet to send [22:21:11]OFD Sender: No OFD packet to send [22:21:16]OFD Sender: No OFD packet to send [22:21:21]OFD Sender: No OFD packet to send [22:21:26]OFD Sender: No OFD packet to send [22:21:31]OFD Sender: No OFD packet to send [22:21:36]OFD Sender: No OFD packet to send [22:21:41]OFD Sender: No OFD packet to send [22:21:46]OFD Sender: No OFD packet to send [22:21:51]OFD Sender: No OFD packet to send [22:21:56]OFD Sender: No OFD packet to send [22:22:01]OFD Sender: No OFD packet to send [22:22:06]OFD Sender: No OFD packet to send [22:22:11]OFD Sender: No OFD packet to send [22:22:16]OFD Sender: No OFD packet to send [22:22:21]OFD Sender: No OFD packet to send [22:22:26]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: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:06]OFD Sender: No OFD packet to send [22:26:11]OFD Sender: No OFD packet to send [22:26:16]OFD Sender: No OFD packet to send [22:26:21]OFD Sender: No OFD packet to send [22:26:26]OFD Sender: No OFD packet to send [22:26:31]OFD Sender: No OFD packet to send [22:26:36]OFD Sender: No OFD packet to send [22:26:41]OFD Sender: No OFD packet to send [22:26:46]OFD Sender: No OFD packet to send [22:26:51]OFD Sender: No OFD packet to send [22:26:56]OFD Sender: No OFD packet to send [22:27:01]OFD Sender: No OFD packet to send [22:27:06]OFD Sender: No OFD packet to send [22:27:11]OFD Sender: No OFD packet to send [22:27:16]OFD Sender: No OFD packet to send [22:27:21]OFD Sender: No OFD packet to send [22:27:26]OFD Sender: No OFD packet to send [22:27:31]OFD Sender: No OFD packet to send [22:27:36]OFD Sender: No OFD packet to send [22:27:41]OFD Sender: No OFD packet to send [22:27:46]OFD Sender: No OFD packet to send [22:27:51]OFD Sender: No OFD packet to send [22:27:56]OFD Sender: No OFD packet to send [22:28:01]OFD Sender: No OFD packet to send [22:28:06]OFD Sender: No OFD packet to send [22:28:11]OFD Sender: No OFD packet to send [22:28:16]OFD Sender: No OFD packet to send [22:28:21]OFD Sender: No OFD packet to send [22:28:26]OFD Sender: No OFD packet to send [22:28:31]OFD Sender: No OFD packet to send [22:28:36]OFD Sender: No OFD packet to send [22:28:41]OFD Sender: No OFD packet to send [22:28:46]OFD Sender: No OFD packet to send [22:28:51]OFD Sender: No OFD packet to send [22:28:56]OFD Sender: No OFD packet to send [22:29:01]OFD Sender: No OFD packet to send [22:29:06]OFD Sender: No OFD packet to send [22:29:11]OFD Sender: No OFD packet to send [22:29:16]OFD Sender: No OFD packet to send [22:29:21]OFD Sender: No OFD packet to send [22:29:26]OFD Sender: No OFD packet to send [22:29:31]OFD Sender: No OFD packet to send [22:29:36]OFD Sender: No OFD packet to send [22:29:41]OFD Sender: No OFD packet to send [22:29:46]OFD Sender: No OFD packet to send [22:29:51]OFD Sender: No OFD packet to send [22:29:56]OFD Sender: No OFD packet to send [22:30:01]OFD Sender: No OFD packet to send [22:30:06]OFD Sender: No OFD packet to send [22:30:11]OFD Sender: No OFD packet to send [22:30:16]OFD Sender: No OFD packet to send [22:30:21]OFD Sender: No OFD packet to send [22:30:26]OFD Sender: No OFD packet to send [22:30:31]OFD Sender: No OFD packet to send [22:30:36]OFD Sender: No OFD packet to send [22:30:41]OFD Sender: No OFD packet to send [22:30:46]OFD Sender: No OFD packet to send [22:30:51]OFD Sender: No OFD packet to send [22:30:56]OFD Sender: No OFD packet to send [22:31:01]OFD Sender: No OFD packet to send [22:31:06]OFD Sender: No OFD packet to send [22:31:11]OFD Sender: No OFD packet to send [22:31:16]OFD Sender: No OFD packet to send [22:31:21]OFD Sender: No OFD packet to send [22:31:26]OFD Sender: No OFD packet to send [22:31:31]OFD Sender: No OFD packet to send [22:31:36]OFD Sender: No OFD packet to send [22:31:41]OFD Sender: No OFD packet to send [22:31:46]OFD Sender: No OFD packet to send [22:31:51]OFD Sender: No OFD packet to send [22:31:56]OFD Sender: No OFD packet to send [22:32:01]OFD Sender: No OFD packet to send [22:32:06]OFD Sender: No OFD packet to send [22:32:11]OFD Sender: No OFD packet to send [22:32:16]OFD Sender: No OFD packet to send [22:32:21]OFD Sender: No OFD packet to send [22:32:26]OFD Sender: No OFD packet to send [22:32:31]OFD Sender: No OFD packet to send [22:32:36]OFD Sender: No OFD packet to send [22:32:38]accept exits with 8 [22:32:38]New connection [22:32:38]New thread 3066838372 created [22:32:38]Thread 3066695012 joined [22:32:38]Waiting for new connection... [22:32:38] Sock 8.Parse request [22:32:38]Sock 8.Check first char [22:32:38]Sock 8.First char is OK [22:32:38]request: POST /json_proto HTTP/1.0 [22:32:38]Method: POST [22:32:38]URL: /json_proto [22:32:38]Method is POST - this is cgi request [22:32:38]url: /json_proto [22:32:38]query_string will be loaded in cgi processing [22:32:38]execute_cgi json_proto POST (null) [22:32:38]execute_cgi path=json_proto method=POST [22:32:38]POST find Content-Length [22:32:38]Host: 172.17.35.133:8080 [22:32:38]Content-Length: 846 [22:32:38]Content-Type: application/json [22:32:38] [22:32:38]POST finish read [22:32:38]Found Content-Length = 846 [22:32:38]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254526", "tax_sys" : 0, "items" : [ { "code": "46226617", "name": "Mentos \u041F\u0412 \u041D\u0435\u0436\u043D\u0430\u044F \u041C\u044F\u0442\u0430 6*100*2\u0433", "price" : 10.00, "quantity" : 1.000, "sum" : 10.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" : 10.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:32:38]execute_script... [22:32:38]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254526", "tax_sys" : 0, "items" : [ { "code": "46226617", "name": "Mentos \u041F\u0412 \u041D\u0435\u0436\u043D\u0430\u044F \u041C\u044F\u0442\u0430 6*100*2\u0433", "price" : 10.00, "quantity" : 1.000, "sum" : 10.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" : 10.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:32:38]POST & json_proto [22:32:38]process_json_proto [22:32:38]json parsed OK: [22:32:38]protocol is kg_v1.0 [22:32:38]action value=close_receipt [22:32:38]process_action close_receipt [22:32:38]cmd_close_receipt [22:32:38]MH_GetDate [22:32:38]Write to MH i2c: F0 00 00 3E 30 5D [22:32:38]Write i2c OK [22:32:38]MH_I2C_Read... [22:32:38]Read from MH i2c: F0 [22:32:38]MH_I2C_Read... [22:32:38]Read from MH i2c: F0 09 00 [22:32:38]MH_I2C_Read... [22:32:38]Read from MH i2c: F0 09 00 3E 30 00 10 68 6F 66 8C 55 28 65 21 [22:32:38]GetLastDocTimeStamp 1718576268 [22:32:38]current date 1718577168 [22:32:38]FM_GetShiftState [22:32:38]SAM_PROTO_GetShiftState [22:32:38]wFMCommunicate request_size=4 [22:32:38]MH_SAM_APDU [22:32:38]CAPDU: 80 13 01 00 [22:32:38]Write to MH i2c: E2 08 00 3F 30 80 13 01 00 00 00 00 00 EC [22:32:38]Write i2c OK [22:32:38]MH_I2C_Read... [22:32:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:32:38]Read from MH i2c: E2 [22:32:38]MH_I2C_Read... [22:32:38]Read from MH i2c: E2 0E 00 [22:32:38]MH_I2C_Read... [22:32:38]Read from MH i2c: E2 0E 00 3F 30 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 0D [22:32:38]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [22:32:38]wFMCommunicate OK [22:32:38]SAM_PROTO_GetShiftState done [22:32:38]FM_GetShiftState done [22:32:38]opened in 1718497297 [22:32:38]opened+sec_in_day 1718583697 [22:32:38]quantity*price = 1000 [22:32:38]sum+1 = 1001 [22:32:38]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 10.00 НСП 1% : 0.09 НДС 12% : 1.06 Наличными: 0.00 Безнал.: 10.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 79 16.06.2024 22:32 Смена: 327 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000965344 ФД: 22314 ФПД: 27869033458103 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T223248&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22314&fm=27869033458103&tin=02508201610067®Number=0000000000099755&sum=1000 0 [22:32:39]StoreToDocumentArchive [22:32:39]shift 327 fd 22314 [22:32:39]save to /storage/0327/doc_00022314 [22:32:39]save last doc name /storage/0327/doc_00022314 to /storage/kkm_last_doc_name [22:32:39]save OK [22:32:39]Clear old archive folders... [22:32:39]ProcessDocumentItem done err = 0, tmpTLVsize=280 [22:32:39]tlvbuf is 00267CC0 [22:32:39]SAM_PROTO_ClearQueue [22:32:39]wFMCommunicate request_size=4 [22:32:39]MH_SAM_APDU [22:32:39]CAPDU: 80 09 00 00 [22:32:39]Write to MH i2c: E2 08 00 4C 30 80 09 00 00 00 00 00 00 EE [22:32:39]Write i2c OK [22:32:39]MH_I2C_Read... [22:32:39]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:32:39]Read from MH i2c: E2 [22:32:39]MH_I2C_Read... [22:32:39]Read from MH i2c: E2 03 00 [22:32:39]MH_I2C_Read... [22:32:39]Read from MH i2c: E2 03 00 4C 30 00 90 00 F0 [22:32:39]RAPDU: 90 00 [22:32:39]wFMCommunicate OK [22:32:39]SAM_PROTO_ClearQueue done [22:32:39]KKMCreateOFDPacket [22:32:39]OFDProtocolAddRootSTLVToBuf [22:32:39]FM_MakeSignedData [22:32:39]FM_MakeSignedData [22:32:39]SAM_PROTO_SignData [22:32:39]wFMCommunicate request_size=4 [22:32:39]MH_SAM_APDU [22:32:39]CAPDU: 80 0D 01 02 [22:32:39]Write to MH i2c: E2 08 00 4D 30 80 0D 01 02 00 00 00 00 F6 [22:32:39]Write i2c OK [22:32:39]MH_I2C_Read... [22:32:39]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:32:39]Read from MH i2c: E2 [22:32:39]MH_I2C_Read... [22:32:39]Read from MH i2c: E2 03 00 [22:32:39]MH_I2C_Read... [22:32:39]Read from MH i2c: E2 03 00 4D 30 00 90 00 F1 [22:32:39]RAPDU: 90 00 [22:32:39]wFMCommunicate OK [22:32:39]wFMCommunicate request_size=255 [22:32:39]MH_SAM_APDU [22:32:39]CAPDU: 80 0D 02 02 FA 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 08 00 34 36 32 32 36 36 31 37 06 04 2B 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9D D0 B5 D0 B6 D0 BD D0 B0 D1 8F 20 D0 9C D1 8F D1 82 D0 B0 20 36 2A 31 30 30 2A 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 03 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6A 00 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E8 03 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4F 00 00 00 F4 03 04 00 10 68 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 [22:32:39]Write to MH i2c: E2 02 01 4E 30 80 0D 02 02 FA 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 08 00 34 36 32 32 36 36 31 37 06 04 2B 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9D D0 B5 D0 B6 D0 BD D0 B0 D1 8F 20 D0 9C D1 8F D1 82 D0 B0 20 36 2A 31 30 30 2A 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 03 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6A 00 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E8 03 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4F 00 00 00 F4 03 04 00 10 68 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 00 00 28 [22:32:39]Write i2c OK [22:32:39]MH_I2C_Read... [22:32:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:32:39]Read from MH i2c: E2 [22:32:39]MH_I2C_Read... [22:32:39]Read from MH i2c: E2 03 00 [22:32:39]MH_I2C_Read... [22:32:39]Read from MH i2c: E2 03 00 4E 30 00 90 00 F2 [22:32:39]RAPDU: 90 00 [22:32:39]wFMCommunicate OK [22:32:39]wFMCommunicate request_size=39 [22:32:39]MH_SAM_APDU [22:32:39]CAPDU: 80 0D 02 02 22 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 2A 57 00 00 35 04 06 00 19 58 C3 D6 E9 B7 [22:32:39]Write to MH i2c: E2 2A 00 4F 30 80 0D 02 02 22 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 2A 57 00 00 35 04 06 00 19 58 C3 D6 E9 B7 00 00 DE [22:32:39]Write i2c OK [22:32:39]MH_I2C_Read... [22:32:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:32:40]Read from MH i2c: E2 [22:32:40]MH_I2C_Read... [22:32:40]Read from MH i2c: E2 03 00 [22:32:40]MH_I2C_Read... [22:32:40]Read from MH i2c: E2 03 00 4F 30 00 90 00 F3 [22:32:40]RAPDU: 90 00 [22:32:40]wFMCommunicate OK [22:32:40]wFMCommunicate request_size=4 [22:32:40]MH_SAM_APDU [22:32:40]CAPDU: 80 0D 03 02 [22:32:40]Write to MH i2c: E2 08 00 50 30 80 0D 03 02 00 00 00 00 FB [22:32:40]Write i2c OK [22:32:40]MH_I2C_Read... [22:32:40]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:32:40]Read from MH i2c: E2 [22:32:40]MH_I2C_Read... [22:32:40]Read from MH i2c: E2 0B 00 [22:32:40]MH_I2C_Read... [22:32:40]Read from MH i2c: E2 0B 00 50 30 00 38 A4 4E 4F 55 D3 60 EF 90 00 EC [22:32:40]RAPDU: 38 A4 4E 4F 55 D3 60 EF 90 00 [22:32:40]wFMCommunicate OK [22:32:40]SAM_PROTO_SignData done [22:32:40]FM_MakeSignedData done [22:32:40]CreateOFDProtocolMessage [22:32:40]wFMCommunicate request_size=4 [22:32:40]MH_SAM_APDU [22:32:40]CAPDU: 80 11 00 00 [22:32:40]Write to MH i2c: E2 08 00 51 30 80 11 00 00 00 00 00 00 FB [22:32:40]Write i2c OK [22:32:40]MH_I2C_Read... [22:32:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:32:40]Read from MH i2c: E2 [22:32:40]MH_I2C_Read... [22:32:40]Read from MH i2c: E2 17 00 [22:32:40]MH_I2C_Read... [22:32:40]Read from MH i2c: E2 17 00 51 30 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 4D [22:32:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [22:32:40]wFMCommunicate OK [22:32:40]CreateOFDProtocolMessage done [22:32:40]OFDSenderStorePacket 22314 [22:32:40]StoreOFDPacket docnum=22314 [22:32:40]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 2C 01 00 00 42 4F 24 01 32 E4 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 08 00 34 36 32 32 36 36 31 37 06 04 2B 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9D D0 B5 D0 B6 D0 BD D0 B0 D1 8F 20 D0 9C D1 8F D1 82 D0 B0 20 36 2A 31 30 30 2A 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 03 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6A 00 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E8 03 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4F 00 00 00 F4 03 04 00 10 68 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 2A 57 00 00 35 04 06 00 19 58 C3 D6 E9 B7 38 A4 4E 4F 55 D3 60 EF [22:32:40]CheckFolder [22:32:40]dirname=/storage/ofd_packets [22:32:40]CheckFolder done [22:32:40]ProducePacketName [22:32:40]name=ofd_packets/00022314 [22:32:40]NVStorageSaveData ofd_packets/00022314 [22:32:40]File name is /storage/ofd_packets/00022314 [22:32:40]Write 330 bytes [22:32:40]NVStorageSaveData done [22:32:40]OFDSenderStorePacket done [22:32:40]KKMCreateOFDPacket done [22:32:40]NVStorageSaveData kkm_last_timestamp [22:32:40]File name is /storage/kkm_last_timestamp [22:32:40]Write 4 bytes [22:32:40]NVStorageSaveData done [22:32:40]ExternCall_PrintAddStr [22:32:40]wPrintStart [22:32:40]Write to MH i2c: 01 00 00 52 30 82 [22:32:40]Write i2c OK [22:32:40]MH_I2C_Read... [22:32:40]Read from MH i2c: 01 [22:32:40]MH_I2C_Read... [22:32:40]Read from MH i2c: 01 07 00 [22:32:40]MH_I2C_Read... [22:32:40]Read from MH i2c: 01 07 00 52 30 00 00 00 00 00 FF 0F 97 [22:32:40]RasterBufferAndPrint [22:32:40]line Счет N : (3)254526 [22:32:40]line ИНН: 02508201610067 [22:32:40]line Контрольно-Кассовый Чек [22:32:40]line ПРОДАЖА [22:32:40]line Товар: 46226617 [22:32:40]line Mentos ПВ Нежная Мята 6*100*2г [22:32:40]line 1.000 * 10.00 [22:32:40]line = 10.00 [22:32:40]line НДС 12% НСП 1% [22:32:40]line > о реализуемом товаре [22:32:40]line ИТОГО: 10.00 [22:32:40]line НСП 1% : 0.09 [22:32:40]line НДС 12% : 1.06 [22:32:40]line Наличными: 0.00 [22:32:40]line Безнал.: 10.00 [22:32:40]line Место: АЗС № 76 "Партнер Нефть" [22:32:40]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [22:32:40]line СНО: Общий режим [22:32:40]line Чек 79 16.06.2024 22:32 [22:32:40]line Смена: 327 ФФД: 1.0 [22:32:40]line ЗНМ: 0300000200 [22:32:40]line РНМ: 0000000000099755 [22:32:40]line Версия ККМ: 001 [22:32:40]line Платежная система: АКБ Кыргызстан [22:32:40]line ФМ: 0000000000965344 [22:32:40]line ФД: 22314 [22:32:40]line ФПД: 27869033458103 [22:32:40]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T223248&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22314&fm=27869033458103&tin=02508201610067®Number=0000000000099755&sum=1000 [22:32:40]line 0 [22:32:40]OFD Sender: Processing packet 22314 [packets to send 5, broken 4] [22:32:40]ProducePacketName [22:32:40]name=ofd_packets/00022314 [22:32:40]OFD Sender: To server: pG, [22:32:40]CommunicateWithHost lk.salyk.kg:30040 [22:32:40]ConnectInit lk.salyk.kg [22:32:40]written 0, free lines is 4095 [22:32:40]Connected sock=10 [22:32:40]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 2C 01 00 00 42 4F 24 01 32 E4 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 08 00 34 36 32 32 36 36 31 37 06 04 2B 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9D D0 B5 D0 B6 D0 BD D0 B0 D1 8F 20 D0 9C D1 8F D1 82 D0 B0 20 36 2A 31 30 30 2A 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 03 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6A 00 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E8 03 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4F 00 00 00 F4 03 04 00 10 68 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 2A 57 00 00 35 04 06 00 19 58 C3 D6 E9 B7 38 A4 4E 4F 55 D3 60 EF [22:32:40]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 5F CF 47 00 63 E6 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 2A 57 00 00 F4 03 04 00 C9 10 6F 66 B6 04 01 00 00 F5 C5 F1 BE 00 4F F7 D9 [22:32:40]CommunicateWithHost err = 0 [22:32:40]CheckOFDResponse [22:32:40]1017 (14) - 77093643461234 [22:32:40]1041 (16) - 0000000000965344 [22:32:40]1040 (4) - 22314 [22:32:40]1012 (4) - 16.06.2024 16:20 [22:32:40]1206 (1) - 0 [22:32:40]OFD Sender: Remove packet 22314 [22:32:40]ProducePacketName [22:32:40]name=ofd_packets/00022314 [22:32:40]NVStorageDeleteData [22:32:40]Write to MH i2c: 01 00 00 7D 30 AD [22:32:40]Write i2c OK [22:32:40]MH_I2C_Read... [22:32:40]Read from MH i2c: 01 [22:32:40]MH_I2C_Read... [22:32:40]Read from MH i2c: 01 07 00 [22:32:40]MH_I2C_Read... [22:32:40]Read from MH i2c: 01 07 00 7D 30 00 00 00 00 00 E3 0C A3 [22:32:40]RasterBufferAndPrint [22:32:40]line [22:32:40]line [22:32:40]line [22:32:40]line [22:32:40]line [22:32:40]written 0, free lines is 3305 [22:32:40]MH_Cut [22:32:40]Write to MH i2c: D1 01 00 84 30 01 86 [22:32:40]Write i2c OK [22:32:40]MH_I2C_Read... [22:32:40]Read from MH i2c: D1 [22:32:40]MH_I2C_Read... [22:32:40]Read from MH i2c: D1 01 00 [22:32:40]MH_I2C_Read... [22:32:40]Read from MH i2c: D1 01 00 84 30 00 85 [22:32:40]Write to MH i2c: 01 00 00 85 30 B5 [22:32:40]Write i2c OK [22:32:40]MH_I2C_Read... [22:32:41]OFD Sender: No OFD packet to send [22:32:41]*** Cut start [22:32:41]*** Partial cut [22:32:41]*** CUTSNS_PIN = 1 [22:32:41]*** CUTSNS_PIN = 0 [22:32:41]*** Brake cut motor [22:32:42]Read from MH i2c: 01 [22:32:42]MH_I2C_Read... [22:32:42]*** Stop cut motor [22:32:42]*** Cut end [22:32:42]Read from MH i2c: 01 07 00 [22:32:42]MH_I2C_Read... [22:32:42]Read from MH i2c: 01 07 00 85 30 00 00 00 00 00 FF 0F CA [22:32:42]process_action close_receipt done [22:32:42]requested_data is exist [22:32:42]produce_requested_data [22:32:42]requested_item fm.sn is exist - process it [22:32:42]wFMCommunicate request_size=4 [22:32:42]MH_SAM_APDU [22:32:42]CAPDU: 80 11 00 00 [22:32:42]Write to MH i2c: E2 08 00 86 30 80 11 00 00 00 00 00 00 30 [22:32:42]Write i2c OK [22:32:42]MH_I2C_Read... [22:32:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:32:42]Read from MH i2c: E2 [22:32:42]MH_I2C_Read... [22:32:42]Read from MH i2c: E2 17 00 [22:32:42]MH_I2C_Read... [22:32:42]Read from MH i2c: E2 17 00 86 30 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 82 [22:32:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [22:32:42]wFMCommunicate OK [22:32:42]requested_item fd.num is exist - process it [22:32:42]SAM_PROTO_GetFieldsCounters [22:32:42]wFMCommunicate request_size=4 [22:32:42]MH_SAM_APDU [22:32:42]CAPDU: 80 13 00 00 [22:32:42]Write to MH i2c: E2 08 00 87 30 80 13 00 00 00 00 00 00 33 [22:32:42]Write i2c OK [22:32:42]MH_I2C_Read... [22:32:42]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:32:42]Read from MH i2c: E2 [22:32:42]MH_I2C_Read... [22:32:42]Read from MH i2c: E2 62 00 [22:32:42]MH_I2C_Read... [22:32:42]Read from MH i2c: E2 62 00 87 30 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 2A 57 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 4F 00 00 00 5E 04 04 00 4F 00 00 00 57 04 04 00 50 00 00 00 19 04 04 00 00 00 00 00 90 00 13 [22:32:42]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 2A 57 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 4F 00 00 00 5E 04 04 00 4F 00 00 00 57 04 04 00 50 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:32:42]wFMCommunicate OK [22:32:42]SAM_PROTO_GetFieldsCounters done [22:32:42]requested_item shift.num is exist - process it [22:32:42]requested_item shift.opened is exist - process it [22:32:42]req_shift_opened [22:32:42]FM_GetShiftState [22:32:42]SAM_PROTO_GetShiftState [22:32:42]wFMCommunicate request_size=4 [22:32:42]MH_SAM_APDU [22:32:42]CAPDU: 80 13 01 00 [22:32:42]Write to MH i2c: E2 08 00 88 30 80 13 01 00 00 00 00 00 35 [22:32:42]Write i2c OK [22:32:42]MH_I2C_Read... [22:32:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:32:42]Read from MH i2c: E2 [22:32:42]MH_I2C_Read... [22:32:42]Read from MH i2c: E2 0E 00 [22:32:42]MH_I2C_Read... [22:32:42]Read from MH i2c: E2 0E 00 88 30 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 56 [22:32:42]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [22:32:42]wFMCommunicate OK [22:32:42]SAM_PROTO_GetShiftState done [22:32:42]FM_GetShiftState done [22:32:42]req_shift_opened done [22:32:42]requested_item shift.open_date is exist - process it [22:32:42]req_shift_open_date [22:32:42]req_shift_open_date done [22:32:42]produce_requested_data done [22:32:42]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22314,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297} [22:32:42]process_action_free close_receipt [22:32:42]json_value_free [22:32:42]json_value_free done [22:32:42]process_json_proto returns [22:32:42]Send response to host [22:32:42]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22314,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297}}} [22:32:42]free response buf [22:32:42]execute_script done [22:32:42]execute_script returns [22:32:42]free content buf [22:32:42]Sock 8.Close socket [22:32:42]Sock 8.Thread stoped [22:32:46]OFD Sender: No OFD packet to send [22:32:51]OFD Sender: No OFD packet to send [22:32:56]OFD Sender: No OFD packet to send [22:33:01]OFD Sender: No OFD packet to send [22:33:06]OFD Sender: No OFD packet to send [22:33:11]OFD Sender: No OFD packet to send [22:33:16]OFD Sender: No OFD packet to send [22:33:21]OFD Sender: No OFD packet to send [22:33:26]OFD Sender: No OFD packet to send [22:33:31]OFD Sender: No OFD packet to send [22:33:36]OFD Sender: No OFD packet to send [22:33:41]OFD Sender: No OFD packet to send [22:33:46]OFD Sender: No OFD packet to send [22:33:51]OFD Sender: No OFD packet to send [22:33:56]OFD Sender: No OFD packet to send [22:34:01]OFD Sender: No OFD packet to send [22:34:06]OFD Sender: No OFD packet to send [22:34:11]OFD Sender: No OFD packet to send [22:34:16]OFD Sender: No OFD packet to send [22:34:21]OFD Sender: No OFD packet to send [22:34:26]OFD Sender: No OFD packet to send [22:34:31]OFD Sender: No OFD packet to send [22:34:36]OFD Sender: No OFD packet to send [22:34:41]OFD Sender: No OFD packet to send [22:34:46]OFD Sender: No OFD packet to send [22:34:51]OFD Sender: No OFD packet to send [22:34:56]OFD Sender: No OFD packet to send [22:35:01]OFD Sender: No OFD packet to send [22:35:06]OFD Sender: No OFD packet to send [22:35:11]OFD Sender: No OFD packet to send [22:35:16]OFD Sender: No OFD packet to send [22:35:21]OFD Sender: No OFD packet to send [22:35:26]OFD Sender: No OFD packet to send [22:35:31]OFD Sender: No OFD packet to send [22:35:36]OFD Sender: No OFD packet to send [22:35:41]OFD Sender: No OFD packet to send [22:35:46]OFD Sender: No OFD packet to send [22:35:51]OFD Sender: No OFD packet to send [22:35:56]OFD Sender: No OFD packet to send [22:36:01]OFD Sender: No OFD packet to send [22:36:06]OFD Sender: No OFD packet to send [22:36:11]OFD Sender: No OFD packet to send [22:36:16]OFD Sender: No OFD packet to send [22:36:21]OFD Sender: No OFD packet to send [22:36:26]OFD Sender: No OFD packet to send [22:36:31]OFD Sender: No OFD packet to send [22:36:36]OFD Sender: No OFD packet to send [22:36:41]OFD Sender: No OFD packet to send [22:36:46]OFD Sender: No OFD packet to send [22:36:51]OFD Sender: No OFD packet to send [22:36:56]OFD Sender: No OFD packet to send [22:37:01]OFD Sender: No OFD packet to send [22:37:06]OFD Sender: No OFD packet to send [22:37:11]OFD Sender: No OFD packet to send [22:37:16]OFD Sender: No OFD packet to send [22:37:21]OFD Sender: No OFD packet to send [22:37:26]OFD Sender: No OFD packet to send [22:37:31]OFD Sender: No OFD packet to send [22:37:36]OFD Sender: No OFD packet to send [22:37:41]OFD Sender: No OFD packet to send [22:37:46]OFD Sender: No OFD packet to send [22:37:51]OFD Sender: No OFD packet to send [22:37:56]OFD Sender: No OFD packet to send [22:38:01]OFD Sender: No OFD packet to send [22:38:06]OFD Sender: No OFD packet to send [22:38:11]OFD Sender: No OFD packet to send [22:38:16]OFD Sender: No OFD packet to send [22:38:21]OFD Sender: No OFD packet to send [22:38:26]OFD Sender: No OFD packet to send [22:38:31]OFD Sender: No OFD packet to send [22:38:36]OFD Sender: No OFD packet to send [22:38:41]OFD Sender: No OFD packet to send [22:38:46]OFD Sender: No OFD packet to send [22:38:51]OFD Sender: No OFD packet to send [22:38:56]OFD Sender: No OFD packet to send [22:39:01]OFD Sender: No OFD packet to send [22:39:06]OFD Sender: No OFD packet to send [22:39:11]OFD Sender: No OFD packet to send [22:39:16]OFD Sender: No OFD packet to send [22:39:21]OFD Sender: No OFD packet to send [22:39:26]OFD Sender: No OFD packet to send [22:39:31]OFD Sender: No OFD packet to send [22:39:36]OFD Sender: No OFD packet to send [22:39:41]OFD Sender: No OFD packet to send [22:39:46]OFD Sender: No OFD packet to send [22:39:51]OFD Sender: No OFD packet to send [22:39:56]OFD Sender: No OFD packet to send [22:40:01]OFD Sender: No OFD packet to send [22:40:06]OFD Sender: No OFD packet to send [22:40:11]OFD Sender: No OFD packet to send [22:40:16]OFD Sender: No OFD packet to send [22:40:21]OFD Sender: No OFD packet to send [22:40:26]OFD Sender: No OFD packet to send [22:40:31]OFD Sender: No OFD packet to send [22:40:36]OFD Sender: No OFD packet to send [22:40:41]OFD Sender: No OFD packet to send [22:40:46]OFD Sender: No OFD packet to send [22:40:51]OFD Sender: No OFD packet to send [22:40:56]OFD Sender: No OFD packet to send [22:41:01]OFD Sender: No OFD packet to send [22:41:06]OFD Sender: No OFD packet to send [22:41:11]OFD Sender: No OFD packet to send [22:41:16]OFD Sender: No OFD packet to send [22:41:21]OFD Sender: No OFD packet to send [22:41:26]OFD Sender: No OFD packet to send [22:41:31]OFD Sender: No OFD packet to send [22:41:36]OFD Sender: No OFD packet to send [22:41:41]OFD Sender: No OFD packet to send [22:41:46]OFD Sender: No OFD packet to send [22:41:51]OFD Sender: No OFD packet to send [22:41:56]OFD Sender: No OFD packet to send [22:42:01]OFD Sender: No OFD packet to send [22:42:06]OFD Sender: No OFD packet to send [22:42:11]OFD Sender: No OFD packet to send [22:42:16]OFD Sender: No OFD packet to send [22:42:21]OFD Sender: No OFD packet to send [22:42:26]OFD Sender: No OFD packet to send [22:42:31]OFD Sender: No OFD packet to send [22:42:36]OFD Sender: No OFD packet to send [22:42:41]OFD Sender: No OFD packet to send [22:42:46]OFD Sender: No OFD packet to send [22:42:51]OFD Sender: No OFD packet to send [22:42:56]OFD Sender: No OFD packet to send [22:43:01]OFD Sender: No OFD packet to send [22:43:06]OFD Sender: No OFD packet to send [22:43:11]OFD Sender: No OFD packet to send [22:43:16]OFD Sender: No OFD packet to send [22:43:21]OFD Sender: No OFD packet to send [22:43:26]OFD Sender: No OFD packet to send [22:43:31]OFD Sender: No OFD packet to send [22:43:36]OFD Sender: No OFD packet to send [22:43:41]OFD Sender: No OFD packet to send [22:43:46]OFD Sender: No OFD packet to send [22:43:51]OFD Sender: No OFD packet to send [22:43:55]accept exits with 9 [22:43:55]New connection [22:43:55]New thread 3066695012 created [22:43:55]Thread 3066838372 joined [22:43:55]Waiting for new connection... [22:43:55] Sock 9.Parse request [22:43:55]Sock 9.Check first char [22:43:55]Sock 9.First char is OK [22:43:55]request: POST /json_proto HTTP/1.0 [22:43:55]Method: POST [22:43:55]URL: /json_proto [22:43:55]Method is POST - this is cgi request [22:43:55]url: /json_proto [22:43:55]query_string will be loaded in cgi processing [22:43:55]execute_cgi json_proto POST (null) [22:43:55]execute_cgi path=json_proto method=POST [22:43:55]POST find Content-Length [22:43:55]Host: 172.17.35.133:8080 [22:43:55]Content-Length: 655 [22:43:55]Content-Type: application/json [22:43:55] [22:43:55]POST finish read [22:43:55]Found Content-Length = 655 [22:43:55]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254527", "tax_sys" : 0, "items" : [ { "code": "4700002083914", "name": "\u0412\u043E\u0434\u043A\u0430 \u0421\u0430\u0440\u044B \u0447\u0435\u043B\u0435\u043A 0,35\u043B", "price" : 260.00, "quantity" : 1.000, "sum" : 260.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 260.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:43:55]execute_script... [22:43:55]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254527", "tax_sys" : 0, "items" : [ { "code": "4700002083914", "name": "\u0412\u043E\u0434\u043A\u0430 \u0421\u0430\u0440\u044B \u0447\u0435\u043B\u0435\u043A 0,35\u043B", "price" : 260.00, "quantity" : 1.000, "sum" : 260.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 260.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:43:55]POST & json_proto [22:43:55]process_json_proto [22:43:55]json parsed OK: [22:43:55]protocol is kg_v1.0 [22:43:55]action value=close_receipt [22:43:55]process_action close_receipt [22:43:55]cmd_close_receipt [22:43:55]MH_GetDate [22:43:55]Write to MH i2c: F0 00 00 89 30 A8 [22:43:55]Write i2c OK [22:43:55]MH_I2C_Read... [22:43:55]Read from MH i2c: F0 [22:43:55]MH_I2C_Read... [22:43:55]Read from MH i2c: F0 09 00 [22:43:55]MH_I2C_Read... [22:43:55]Read from MH i2c: F0 09 00 89 30 00 B5 6A 6F 66 8C 55 28 65 13 [22:43:55]GetLastDocTimeStamp 1718577168 [22:43:55]current date 1718577845 [22:43:55]FM_GetShiftState [22:43:55]SAM_PROTO_GetShiftState [22:43:55]wFMCommunicate request_size=4 [22:43:55]MH_SAM_APDU [22:43:55]CAPDU: 80 13 01 00 [22:43:55]Write to MH i2c: E2 08 00 8A 30 80 13 01 00 00 00 00 00 37 [22:43:55]Write i2c OK [22:43:55]MH_I2C_Read... [22:43:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:43:55]Read from MH i2c: E2 [22:43:55]MH_I2C_Read... [22:43:55]Read from MH i2c: E2 0E 00 [22:43:55]MH_I2C_Read... [22:43:55]Read from MH i2c: E2 0E 00 8A 30 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 58 [22:43:55]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [22:43:55]wFMCommunicate OK [22:43:55]SAM_PROTO_GetShiftState done [22:43:55]FM_GetShiftState done [22:43:55]opened in 1718497297 [22:43:55]opened+sec_in_day 1718583697 [22:43:55]quantity*price = 26000 [22:43:55]sum+1 = 26001 [22:43:55]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 260.00 НСП 1% : 2.30 НДС 12% : 27.61 Наличными: 260.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 80 16.06.2024 22:44 Смена: 327 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22315 ФПД: 266840327944816 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T224405&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22315&fm=266840327944816&tin=02508201610067®Number=0000000000099755&sum=26000 0 [22:43:56]StoreToDocumentArchive [22:43:56]shift 327 fd 22315 [22:43:56]save to /storage/0327/doc_00022315 [22:43:56]save last doc name /storage/0327/doc_00022315 to /storage/kkm_last_doc_name [22:43:56]save OK [22:43:56]Clear old archive folders... [22:43:56]ProcessDocumentItem done err = 0, tmpTLVsize=279 [22:43:56]tlvbuf is 00237C00 [22:43:56]SAM_PROTO_ClearQueue [22:43:56]wFMCommunicate request_size=4 [22:43:56]MH_SAM_APDU [22:43:56]CAPDU: 80 09 00 00 [22:43:56]Write to MH i2c: E2 08 00 97 30 80 09 00 00 00 00 00 00 39 [22:43:56]Write i2c OK [22:43:56]MH_I2C_Read... [22:43:56]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:43:56]Read from MH i2c: E2 [22:43:56]MH_I2C_Read... [22:43:56]Read from MH i2c: E2 03 00 [22:43:56]MH_I2C_Read... [22:43:56]Read from MH i2c: E2 03 00 97 30 00 90 00 3B [22:43:56]RAPDU: 90 00 [22:43:56]wFMCommunicate OK [22:43:56]SAM_PROTO_ClearQueue done [22:43:56]KKMCreateOFDPacket [22:43:56]OFDProtocolAddRootSTLVToBuf [22:43:56]FM_MakeSignedData [22:43:56]FM_MakeSignedData [22:43:56]SAM_PROTO_SignData [22:43:56]wFMCommunicate request_size=4 [22:43:56]MH_SAM_APDU [22:43:56]CAPDU: 80 0D 01 02 [22:43:56]Write to MH i2c: E2 08 00 98 30 80 0D 01 02 00 00 00 00 41 [22:43:56]Write i2c OK [22:43:56]MH_I2C_Read... [22:43:56]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:43:56]Read from MH i2c: E2 [22:43:56]MH_I2C_Read... [22:43:56]Read from MH i2c: E2 03 00 [22:43:56]MH_I2C_Read... [22:43:56]Read from MH i2c: E2 03 00 98 30 00 90 00 3C [22:43:56]RAPDU: 90 00 [22:43:56]wFMCommunicate OK [22:43:56]wFMCommunicate request_size=255 [22:43:56]MH_SAM_APDU [22:43:56]CAPDU: 80 0D 02 02 FA 03 00 17 01 1E 04 01 00 01 23 04 69 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 33 39 31 34 06 04 25 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A1 D0 B0 D1 80 D1 8B 20 D1 87 D0 B5 D0 BB D0 B5 D0 BA 20 30 2C 33 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 90 65 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 65 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C9 0A 00 00 00 00 07 04 06 00 90 65 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 50 00 00 00 F4 03 04 00 B5 6A 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 [22:43:56]Write to MH i2c: E2 02 01 99 30 80 0D 02 02 FA 00 03 00 17 01 1E 04 01 00 01 23 04 69 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 33 39 31 34 06 04 25 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A1 D0 B0 D1 80 D1 8B 20 D1 87 D0 B5 D0 BB D0 B5 D0 BA 20 30 2C 33 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 90 65 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 65 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C9 0A 00 00 00 00 07 04 06 00 90 65 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 50 00 00 00 F4 03 04 00 B5 6A 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 00 00 D1 [22:43:56]Write i2c OK [22:43:56]MH_I2C_Read... [22:43:56]OFD Sender: No OFD packet to send [22:43:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:43:56]Read from MH i2c: E2 [22:43:56]MH_I2C_Read... [22:43:56]Read from MH i2c: E2 03 00 [22:43:56]MH_I2C_Read... [22:43:56]Read from MH i2c: E2 03 00 99 30 00 90 00 3D [22:43:56]RAPDU: 90 00 [22:43:56]wFMCommunicate OK [22:43:56]wFMCommunicate request_size=38 [22:43:56]MH_SAM_APDU [22:43:56]CAPDU: 80 0D 02 02 21 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 2B 57 00 00 35 04 06 00 F2 B0 9A F5 7A 70 [22:43:56]Write to MH i2c: E2 29 00 9A 30 80 0D 02 02 21 00 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 2B 57 00 00 35 04 06 00 F2 B0 9A F5 7A 70 00 00 69 [22:43:56]Write i2c OK [22:43:56]MH_I2C_Read... [22:43:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:43:56]Read from MH i2c: E2 [22:43:56]MH_I2C_Read... [22:43:56]Read from MH i2c: E2 03 00 [22:43:56]MH_I2C_Read... [22:43:56]Read from MH i2c: E2 03 00 9A 30 00 90 00 3E [22:43:56]RAPDU: 90 00 [22:43:56]wFMCommunicate OK [22:43:56]wFMCommunicate request_size=4 [22:43:56]MH_SAM_APDU [22:43:56]CAPDU: 80 0D 03 02 [22:43:56]Write to MH i2c: E2 08 00 9B 30 80 0D 03 02 00 00 00 00 46 [22:43:56]Write i2c OK [22:43:56]MH_I2C_Read... [22:43:57]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:43:57]Read from MH i2c: E2 [22:43:57]MH_I2C_Read... [22:43:57]Read from MH i2c: E2 0B 00 [22:43:57]MH_I2C_Read... [22:43:57]Read from MH i2c: E2 0B 00 9B 30 00 E9 EB E0 78 88 F2 03 DE 90 00 CE [22:43:57]RAPDU: E9 EB E0 78 88 F2 03 DE 90 00 [22:43:57]wFMCommunicate OK [22:43:57]SAM_PROTO_SignData done [22:43:57]FM_MakeSignedData done [22:43:57]CreateOFDProtocolMessage [22:43:57]wFMCommunicate request_size=4 [22:43:57]MH_SAM_APDU [22:43:57]CAPDU: 80 11 00 00 [22:43:57]Write to MH i2c: E2 08 00 9C 30 80 11 00 00 00 00 00 00 46 [22:43:57]Write i2c OK [22:43:57]MH_I2C_Read... [22:43:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:43:57]Read from MH i2c: E2 [22:43:57]MH_I2C_Read... [22:43:57]Read from MH i2c: E2 17 00 [22:43:57]MH_I2C_Read... [22:43:57]Read from MH i2c: E2 17 00 9C 30 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 98 [22:43:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [22:43:57]wFMCommunicate OK [22:43:57]CreateOFDProtocolMessage done [22:43:57]OFDSenderStorePacket 22315 [22:43:57]StoreOFDPacket docnum=22315 [22:43:57]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 2B 01 00 00 D1 A6 23 01 1B D4 5A 03 01 00 03 00 17 01 1E 04 01 00 01 23 04 69 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 33 39 31 34 06 04 25 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A1 D0 B0 D1 80 D1 8B 20 D1 87 D0 B5 D0 BB D0 B5 D0 BA 20 30 2C 33 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 90 65 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 65 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C9 0A 00 00 00 00 07 04 06 00 90 65 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 50 00 00 00 F4 03 04 00 B5 6A 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 2B 57 00 00 35 04 06 00 F2 B0 9A F5 7A 70 E9 EB E0 78 88 F2 03 DE [22:43:57]CheckFolder [22:43:57]dirname=/storage/ofd_packets [22:43:57]CheckFolder done [22:43:57]ProducePacketName [22:43:57]name=ofd_packets/00022315 [22:43:57]NVStorageSaveData ofd_packets/00022315 [22:43:57]File name is /storage/ofd_packets/00022315 [22:43:57]Write 329 bytes [22:43:57]NVStorageSaveData done [22:43:57]OFDSenderStorePacket done [22:43:57]KKMCreateOFDPacket done [22:43:57]NVStorageSaveData kkm_last_timestamp [22:43:57]File name is /storage/kkm_last_timestamp [22:43:57]Write 4 bytes [22:43:57]NVStorageSaveData done [22:43:57]ExternCall_PrintAddStr [22:43:57]wPrintStart [22:43:57]Write to MH i2c: 01 00 00 9D 30 CD [22:43:57]Write i2c OK [22:43:57]MH_I2C_Read... [22:43:57]Read from MH i2c: 01 [22:43:57]MH_I2C_Read... [22:43:57]Read from MH i2c: 01 07 00 [22:43:57]MH_I2C_Read... [22:43:57]Read from MH i2c: 01 07 00 9D 30 00 00 00 00 00 FF 0F E2 [22:43:57]RasterBufferAndPrint [22:43:57]line Счет N : (3)254527 [22:43:57]line ИНН: 02508201610067 [22:43:57]line Контрольно-Кассовый Чек [22:43:57]line ПРОДАЖА [22:43:57]line Товар: 4700002083914 [22:43:57]line Водка Сары челек 0,35л [22:43:57]line 1.000 * 260.00 [22:43:57]line = 260.00 [22:43:57]line НДС 12% НСП 1% [22:43:57]line > о реализуемом товаре [22:43:57]line ИТОГО: 260.00 [22:43:57]line НСП 1% : 2.30 [22:43:57]line НДС 12% : 27.61 [22:43:57]line Наличными: 260.00 [22:43:57]line Безнал.: 0.00 [22:43:57]line Место: АЗС № 76 "Партнер Нефть" [22:43:57]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [22:43:57]line СНО: Общий режим [22:43:57]line Чек 80 16.06.2024 22:44 [22:43:57]line Смена: 327 ФФД: 1.0 [22:43:57]line ЗНМ: 0300000200 [22:43:57]line РНМ: 0000000000099755 [22:43:57]line Версия ККМ: 001 [22:43:57]line ФМ: 0000000000965344 [22:43:57]line ФД: 22315 [22:43:57]line ФПД: 266840327944816 [22:43:57]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T224405&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22315&fm=266840327944816&tin=02508201610067®Number=0000000000099755&sum=26000 [22:43:57]line 0 [22:43:57]OFD Sender: Processing packet 22315 [packets to send 5, broken 4] [22:43:57]ProducePacketName [22:43:57]name=ofd_packets/00022315 [22:43:57]OFD Sender: To server: pG, [22:43:57]CommunicateWithHost lk.salyk.kg:30040 [22:43:57]ConnectInit lk.salyk.kg [22:43:57]written 0, free lines is 4095 [22:43:57]Connected sock=10 [22:43:57]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 2B 01 00 00 D1 A6 23 01 1B D4 5A 03 01 00 03 00 17 01 1E 04 01 00 01 23 04 69 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 33 39 31 34 06 04 25 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A1 D0 B0 D1 80 D1 8B 20 D1 87 D0 B5 D0 BB D0 B5 D0 BA 20 30 2C 33 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 90 65 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 65 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C9 0A 00 00 00 00 07 04 06 00 90 65 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 50 00 00 00 F4 03 04 00 B5 6A 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 2B 57 00 00 35 04 06 00 F2 B0 9A F5 7A 70 E9 EB E0 78 88 F2 03 DE [22:43:57]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 79 FD 47 00 0F 54 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 2B 57 00 00 F4 03 04 00 6E 13 6F 66 B6 04 01 00 00 E5 35 D7 B2 0D 1C 75 4D [22:43:57]CommunicateWithHost err = 0 [22:43:57]CheckOFDResponse [22:43:57]1017 (14) - 77093643461234 [22:43:57]1041 (16) - 0000000000965344 [22:43:57]1040 (4) - 22315 [22:43:57]1012 (4) - 16.06.2024 16:31 [22:43:57]1206 (1) - 0 [22:43:57]OFD Sender: Remove packet 22315 [22:43:57]ProducePacketName [22:43:57]name=ofd_packets/00022315 [22:43:57]NVStorageDeleteData [22:43:57]Write to MH i2c: 01 00 00 C5 30 F5 [22:43:57]Write i2c OK [22:43:57]MH_I2C_Read... [22:43:57]Read from MH i2c: 01 [22:43:57]MH_I2C_Read... [22:43:57]Read from MH i2c: 01 07 00 [22:43:57]MH_I2C_Read... [22:43:57]Read from MH i2c: 01 07 00 C5 30 00 00 00 00 00 1C 0D 25 [22:43:57]RasterBufferAndPrint [22:43:57]line [22:43:57]line [22:43:57]line [22:43:57]line [22:43:57]line [22:43:57]written 0, free lines is 3362 [22:43:57]MH_Cut [22:43:57]Write to MH i2c: D1 01 00 CC 30 01 CE [22:43:57]Write i2c OK [22:43:57]MH_I2C_Read... [22:43:57]Read from MH i2c: D1 [22:43:57]MH_I2C_Read... [22:43:57]Read from MH i2c: D1 01 00 [22:43:57]MH_I2C_Read... [22:43:57]Read from MH i2c: D1 01 00 CC 30 00 CD [22:43:57]Write to MH i2c: 01 00 00 CD 30 FD [22:43:57]Write i2c OK [22:43:57]MH_I2C_Read... [22:43:58]OFD Sender: No OFD packet to send [22:43:58]*** Cut start [22:43:58]*** Partial cut [22:43:58]*** CUTSNS_PIN = 1 [22:43:58]*** CUTSNS_PIN = 0 [22:43:58]*** Brake cut motor [22:43:59]Read from MH i2c: 01 [22:43:59]MH_I2C_Read... [22:43:59]*** Stop cut motor [22:43:59]*** Cut end [22:43:59]Read from MH i2c: 01 07 00 [22:43:59]MH_I2C_Read... [22:43:59]Read from MH i2c: 01 07 00 CD 30 00 00 00 00 00 FF 0F 12 [22:43:59]process_action close_receipt done [22:43:59]requested_data is exist [22:43:59]produce_requested_data [22:43:59]requested_item fm.sn is exist - process it [22:43:59]wFMCommunicate request_size=4 [22:43:59]MH_SAM_APDU [22:43:59]CAPDU: 80 11 00 00 [22:43:59]Write to MH i2c: E2 08 00 CE 30 80 11 00 00 00 00 00 00 78 [22:43:59]Write i2c OK [22:43:59]MH_I2C_Read... [22:43:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:43:59]Read from MH i2c: E2 [22:43:59]MH_I2C_Read... [22:43:59]Read from MH i2c: E2 17 00 [22:43:59]MH_I2C_Read... [22:43:59]Read from MH i2c: E2 17 00 CE 30 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 CA [22:43:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [22:43:59]wFMCommunicate OK [22:43:59]requested_item fd.num is exist - process it [22:43:59]SAM_PROTO_GetFieldsCounters [22:43:59]wFMCommunicate request_size=4 [22:43:59]MH_SAM_APDU [22:43:59]CAPDU: 80 13 00 00 [22:43:59]Write to MH i2c: E2 08 00 CF 30 80 13 00 00 00 00 00 00 7B [22:43:59]Write i2c OK [22:43:59]MH_I2C_Read... [22:43:59]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:43:59]Read from MH i2c: E2 [22:43:59]MH_I2C_Read... [22:43:59]Read from MH i2c: E2 62 00 [22:43:59]MH_I2C_Read... [22:43:59]Read from MH i2c: E2 62 00 CF 30 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 2B 57 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 50 00 00 00 5E 04 04 00 50 00 00 00 57 04 04 00 51 00 00 00 19 04 04 00 00 00 00 00 90 00 5F [22:43:59]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 2B 57 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 50 00 00 00 5E 04 04 00 50 00 00 00 57 04 04 00 51 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:43:59]wFMCommunicate OK [22:43:59]SAM_PROTO_GetFieldsCounters done [22:43:59]requested_item shift.num is exist - process it [22:43:59]requested_item shift.opened is exist - process it [22:43:59]req_shift_opened [22:43:59]FM_GetShiftState [22:43:59]SAM_PROTO_GetShiftState [22:43:59]wFMCommunicate request_size=4 [22:43:59]MH_SAM_APDU [22:43:59]CAPDU: 80 13 01 00 [22:43:59]Write to MH i2c: E2 08 00 D0 30 80 13 01 00 00 00 00 00 7D [22:43:59]Write i2c OK [22:43:59]MH_I2C_Read... [22:43:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:43:59]Read from MH i2c: E2 [22:43:59]MH_I2C_Read... [22:43:59]Read from MH i2c: E2 0E 00 [22:43:59]MH_I2C_Read... [22:43:59]Read from MH i2c: E2 0E 00 D0 30 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 9E [22:43:59]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [22:43:59]wFMCommunicate OK [22:43:59]SAM_PROTO_GetShiftState done [22:43:59]FM_GetShiftState done [22:43:59]req_shift_opened done [22:43:59]requested_item shift.open_date is exist - process it [22:43:59]req_shift_open_date [22:43:59]req_shift_open_date done [22:43:59]produce_requested_data done [22:43:59]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22315,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297} [22:43:59]process_action_free close_receipt [22:43:59]json_value_free [22:43:59]json_value_free done [22:43:59]process_json_proto returns [22:43:59]Send response to host [22:43:59]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22315,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297}}} [22:43:59]free response buf [22:43:59]execute_script done [22:43:59]execute_script returns [22:43:59]free content buf [22:43:59]Sock 9.Close socket [22:43:59]Sock 9.Thread stoped [22:44:03]OFD Sender: No OFD packet to send [22:44:08]OFD Sender: No OFD packet to send [22:44:13]OFD Sender: No OFD packet to send [22:44:18]OFD Sender: No OFD packet to send [22:44:23]OFD Sender: No OFD packet to send [22:44:28]OFD Sender: No OFD packet to send [22:44:33]OFD Sender: No OFD packet to send [22:44:38]OFD Sender: No OFD packet to send [22:44:43]OFD Sender: No OFD packet to send [22:44:44]accept exits with 8 [22:44:44]New connection [22:44:44]New thread 3066838372 created [22:44:44]Thread 3066695012 joined [22:44:44]Waiting for new connection... [22:44:44] Sock 8.Parse request [22:44:44]Sock 8.Check first char [22:44:44]Sock 8.First char is OK [22:44:44]request: POST /json_proto HTTP/1.0 [22:44:44]Method: POST [22:44:44]URL: /json_proto [22:44:44]Method is POST - this is cgi request [22:44:44]url: /json_proto [22:44:44]query_string will be loaded in cgi processing [22:44:44]execute_cgi json_proto POST (null) [22:44:44]execute_cgi path=json_proto method=POST [22:44:44]POST find Content-Length [22:44:44]Host: 172.17.35.133:8080 [22:44:44]Content-Length: 711 [22:44:44]Content-Type: application/json [22:44:44] [22:44:44]POST finish read [22:44:44]Found Content-Length = 711 [22:44:44]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254528", "tax_sys" : 0, "items" : [ { "code": "4870202521216", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 1,2 \u0437\u0435\u043B.\u043B\u0438\u043C\u043E\u043D (\u043D\u043E\u0432\u044B\u0439)", "price" : 113.00, "quantity" : 1.000, "sum" : 113.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 113.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:44:44]execute_script... [22:44:44]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254528", "tax_sys" : 0, "items" : [ { "code": "4870202521216", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 1,2 \u0437\u0435\u043B.\u043B\u0438\u043C\u043E\u043D (\u043D\u043E\u0432\u044B\u0439)", "price" : 113.00, "quantity" : 1.000, "sum" : 113.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 113.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:44:44]POST & json_proto [22:44:44]process_json_proto [22:44:44]json parsed OK: [22:44:44]protocol is kg_v1.0 [22:44:44]action value=close_receipt [22:44:44]process_action close_receipt [22:44:44]cmd_close_receipt [22:44:44]MH_GetDate [22:44:44]Write to MH i2c: F0 00 00 D1 30 F0 [22:44:44]Write i2c OK [22:44:44]MH_I2C_Read... [22:44:44]Read from MH i2c: F0 [22:44:44]MH_I2C_Read... [22:44:44]Read from MH i2c: F0 09 00 [22:44:44]MH_I2C_Read... [22:44:44]Read from MH i2c: F0 09 00 D1 30 00 E6 6A 6F 66 8C 55 28 65 8C [22:44:44]GetLastDocTimeStamp 1718577845 [22:44:44]current date 1718577894 [22:44:44]FM_GetShiftState [22:44:44]SAM_PROTO_GetShiftState [22:44:44]wFMCommunicate request_size=4 [22:44:44]MH_SAM_APDU [22:44:44]CAPDU: 80 13 01 00 [22:44:44]Write to MH i2c: E2 08 00 D2 30 80 13 01 00 00 00 00 00 7F [22:44:44]Write i2c OK [22:44:44]MH_I2C_Read... [22:44:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:44:44]Read from MH i2c: E2 [22:44:44]MH_I2C_Read... [22:44:44]Read from MH i2c: E2 0E 00 [22:44:44]MH_I2C_Read... [22:44:44]Read from MH i2c: E2 0E 00 D2 30 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 A0 [22:44:44]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [22:44:44]wFMCommunicate OK [22:44:44]SAM_PROTO_GetShiftState done [22:44:44]FM_GetShiftState done [22:44:44]opened in 1718497297 [22:44:44]opened+sec_in_day 1718583697 [22:44:44]quantity*price = 11300 [22:44:44]sum+1 = 11301 [22:44:44]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 113.00 НСП 1% : 1.00 НДС 12% : 12.00 Наличными: 113.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 81 16.06.2024 22:44 Смена: 327 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22316 ФПД: 131302533064129 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T224454&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22316&fm=131302533064129&tin=02508201610067®Number=0000000000099755&sum=11300 0 [22:44:45]StoreToDocumentArchive [22:44:45]shift 327 fd 22316 [22:44:45]save to /storage/0327/doc_00022316 [22:44:45]save last doc name /storage/0327/doc_00022316 to /storage/kkm_last_doc_name [22:44:45]save OK [22:44:45]Clear old archive folders... [22:44:45]ProcessDocumentItem done err = 0, tmpTLVsize=303 [22:44:45]tlvbuf is 001E7170 [22:44:45]SAM_PROTO_ClearQueue [22:44:45]wFMCommunicate request_size=4 [22:44:45]MH_SAM_APDU [22:44:45]CAPDU: 80 09 00 00 [22:44:45]Write to MH i2c: E2 08 00 DF 30 80 09 00 00 00 00 00 00 81 [22:44:45]Write i2c OK [22:44:45]MH_I2C_Read... [22:44:45]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:44:45]Read from MH i2c: E2 [22:44:45]MH_I2C_Read... [22:44:45]Read from MH i2c: E2 03 00 [22:44:45]MH_I2C_Read... [22:44:45]Read from MH i2c: E2 03 00 DF 30 00 90 00 83 [22:44:45]RAPDU: 90 00 [22:44:45]wFMCommunicate OK [22:44:45]SAM_PROTO_ClearQueue done [22:44:45]KKMCreateOFDPacket [22:44:45]OFDProtocolAddRootSTLVToBuf [22:44:45]FM_MakeSignedData [22:44:45]FM_MakeSignedData [22:44:45]SAM_PROTO_SignData [22:44:45]wFMCommunicate request_size=4 [22:44:45]MH_SAM_APDU [22:44:45]CAPDU: 80 0D 01 02 [22:44:45]Write to MH i2c: E2 08 00 E0 30 80 0D 01 02 00 00 00 00 89 [22:44:45]Write i2c OK [22:44:45]MH_I2C_Read... [22:44:45]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:44:45]Read from MH i2c: E2 [22:44:45]MH_I2C_Read... [22:44:45]Read from MH i2c: E2 03 00 [22:44:45]MH_I2C_Read... [22:44:45]Read from MH i2c: E2 03 00 E0 30 00 90 00 84 [22:44:45]RAPDU: 90 00 [22:44:45]wFMCommunicate OK [22:44:45]wFMCommunicate request_size=255 [22:44:45]MH_SAM_APDU [22:44:45]CAPDU: 80 0D 02 02 FA 03 00 2F 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 31 36 06 04 3D 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 D0 B7 D0 B5 D0 BB 2E D0 BB D0 B8 D0 BC D0 BE D0 BD 20 28 D0 BD D0 BE D0 B2 D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 2C 00 00 00 00 13 04 06 00 24 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 24 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 64 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B0 04 00 00 00 00 07 04 06 00 24 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 51 00 00 00 F4 03 04 00 E6 6A 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D [22:44:45]Write to MH i2c: E2 02 01 E1 30 80 0D 02 02 FA 00 03 00 2F 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 31 36 06 04 3D 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 D0 B7 D0 B5 D0 BB 2E D0 BB D0 B8 D0 BC D0 BE D0 BD 20 28 D0 BD D0 BE D0 B2 D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 2C 00 00 00 00 13 04 06 00 24 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 24 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 64 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B0 04 00 00 00 00 07 04 06 00 24 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 51 00 00 00 F4 03 04 00 E6 6A 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 00 00 12 [22:44:45]Write i2c OK [22:44:45]MH_I2C_Read... [22:44:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:44:45]Read from MH i2c: E2 [22:44:45]MH_I2C_Read... [22:44:45]Read from MH i2c: E2 03 00 [22:44:45]MH_I2C_Read... [22:44:45]Read from MH i2c: E2 03 00 E1 30 00 90 00 85 [22:44:45]RAPDU: 90 00 [22:44:45]wFMCommunicate OK [22:44:45]wFMCommunicate request_size=62 [22:44:45]MH_SAM_APDU [22:44:45]CAPDU: 80 0D 02 02 39 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 2C 57 00 00 35 04 06 00 77 6B 40 D7 65 C1 [22:44:45]Write to MH i2c: E2 41 00 E2 30 80 0D 02 02 39 00 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 2C 57 00 00 35 04 06 00 77 6B 40 D7 65 C1 00 00 72 [22:44:45]Write i2c OK [22:44:45]MH_I2C_Read... [22:44:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:44:45]Read from MH i2c: E2 [22:44:45]MH_I2C_Read... [22:44:45]Read from MH i2c: E2 03 00 [22:44:45]MH_I2C_Read... [22:44:45]Read from MH i2c: E2 03 00 E2 30 00 90 00 86 [22:44:45]RAPDU: 90 00 [22:44:45]wFMCommunicate OK [22:44:45]wFMCommunicate request_size=4 [22:44:45]MH_SAM_APDU [22:44:45]CAPDU: 80 0D 03 02 [22:44:45]Write to MH i2c: E2 08 00 E3 30 80 0D 03 02 00 00 00 00 8E [22:44:45]Write i2c OK [22:44:45]MH_I2C_Read... [22:44:45]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:44:45]Read from MH i2c: E2 [22:44:45]MH_I2C_Read... [22:44:45]Read from MH i2c: E2 0B 00 [22:44:46]MH_I2C_Read... [22:44:46]Read from MH i2c: E2 0B 00 E3 30 00 FD 67 B9 3A 87 80 B4 4E 90 00 EF [22:44:46]RAPDU: FD 67 B9 3A 87 80 B4 4E 90 00 [22:44:46]wFMCommunicate OK [22:44:46]SAM_PROTO_SignData done [22:44:46]FM_MakeSignedData done [22:44:46]CreateOFDProtocolMessage [22:44:46]wFMCommunicate request_size=4 [22:44:46]MH_SAM_APDU [22:44:46]CAPDU: 80 11 00 00 [22:44:46]Write to MH i2c: E2 08 00 E4 30 80 11 00 00 00 00 00 00 8E [22:44:46]Write i2c OK [22:44:46]MH_I2C_Read... [22:44:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:44:46]Read from MH i2c: E2 [22:44:46]MH_I2C_Read... [22:44:46]Read from MH i2c: E2 17 00 [22:44:46]MH_I2C_Read... [22:44:46]Read from MH i2c: E2 17 00 E4 30 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 E0 [22:44:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [22:44:46]wFMCommunicate OK [22:44:46]CreateOFDProtocolMessage done [22:44:46]OFDSenderStorePacket 22316 [22:44:46]StoreOFDPacket docnum=22316 [22:44:46]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 43 01 00 00 84 AD 3B 01 88 7A 5A 03 01 00 03 00 2F 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 31 36 06 04 3D 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 D0 B7 D0 B5 D0 BB 2E D0 BB D0 B8 D0 BC D0 BE D0 BD 20 28 D0 BD D0 BE D0 B2 D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 2C 00 00 00 00 13 04 06 00 24 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 24 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 64 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B0 04 00 00 00 00 07 04 06 00 24 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 51 00 00 00 F4 03 04 00 E6 6A 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 2C 57 00 00 35 04 06 00 77 6B 40 D7 65 C1 FD 67 B9 3A 87 80 B4 4E [22:44:46]CheckFolder [22:44:46]dirname=/storage/ofd_packets [22:44:46]CheckFolder done [22:44:46]ProducePacketName [22:44:46]name=ofd_packets/00022316 [22:44:46]NVStorageSaveData ofd_packets/00022316 [22:44:46]File name is /storage/ofd_packets/00022316 [22:44:46]Write 353 bytes [22:44:46]NVStorageSaveData done [22:44:46]OFDSenderStorePacket done [22:44:46]KKMCreateOFDPacket done [22:44:46]NVStorageSaveData kkm_last_timestamp [22:44:46]File name is /storage/kkm_last_timestamp [22:44:46]Write 4 bytes [22:44:46]NVStorageSaveData done [22:44:46]ExternCall_PrintAddStr [22:44:46]wPrintStart [22:44:46]Write to MH i2c: 01 00 00 E5 30 15 [22:44:46]Write i2c OK [22:44:46]MH_I2C_Read... [22:44:46]Read from MH i2c: 01 [22:44:46]MH_I2C_Read... [22:44:46]Read from MH i2c: 01 07 00 [22:44:46]MH_I2C_Read... [22:44:46]Read from MH i2c: 01 07 00 E5 30 00 00 00 00 00 FF 0F 2A [22:44:46]RasterBufferAndPrint [22:44:46]line Счет N : (3)254528 [22:44:46]line ИНН: 02508201610067 [22:44:46]line Контрольно-Кассовый Чек [22:44:46]line ПРОДАЖА [22:44:46]line Товар: 4870202521216 [22:44:46]line Напиток MAXI чай 1,2 зел.лимон (новый) [22:44:46]line 1.000 * 113.00 [22:44:46]line = 113.00 [22:44:46]line НДС 12% НСП 1% [22:44:46]line > о реализуемом товаре [22:44:46]line ИТОГО: 113.00 [22:44:46]line НСП 1% : 1.00 [22:44:46]line НДС 12% : 12.00 [22:44:46]line Наличными: 113.00 [22:44:46]line Безнал.: 0.00 [22:44:46]line Место: АЗС № 76 "Партнер Нефть" [22:44:46]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [22:44:46]line СНО: Общий режим [22:44:46]line Чек 81 16.06.2024 22:44 [22:44:46]line Смена: 327 ФФД: 1.0 [22:44:46]line ЗНМ: 0300000200 [22:44:46]line РНМ: 0000000000099755 [22:44:46]line Версия ККМ: 001 [22:44:46]line ФМ: 0000000000965344 [22:44:46]line ФД: 22316 [22:44:46]line ФПД: 131302533064129 [22:44:46]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T224454&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22316&fm=131302533064129&tin=02508201610067®Number=0000000000099755&sum=11300 [22:44:46]line 0 [22:44:46]OFD Sender: Processing packet 22316 [packets to send 5, broken 4] [22:44:46]ProducePacketName [22:44:46]name=ofd_packets/00022316 [22:44:46]OFD Sender: To server: pG, [22:44:46]CommunicateWithHost lk.salyk.kg:30040 [22:44:46]ConnectInit lk.salyk.kg [22:44:46]written 0, free lines is 4095 [22:44:46]Connected sock=10 [22:44:46]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 43 01 00 00 84 AD 3B 01 88 7A 5A 03 01 00 03 00 2F 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 31 36 06 04 3D 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 D0 B7 D0 B5 D0 BB 2E D0 BB D0 B8 D0 BC D0 BE D0 BD 20 28 D0 BD D0 BE D0 B2 D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 2C 00 00 00 00 13 04 06 00 24 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 24 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 64 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B0 04 00 00 00 00 07 04 06 00 24 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 51 00 00 00 F4 03 04 00 E6 6A 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 2C 57 00 00 35 04 06 00 77 6B 40 D7 65 C1 FD 67 B9 3A 87 80 B4 4E [22:44:46]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 E8 55 47 00 AD C2 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 2C 57 00 00 F4 03 04 00 9F 13 6F 66 B6 04 01 00 00 B6 FD 6D A0 D2 81 D5 E0 [22:44:46]CommunicateWithHost err = 0 [22:44:46]CheckOFDResponse [22:44:46]1017 (14) - 77093643461234 [22:44:46]1041 (16) - 0000000000965344 [22:44:46]1040 (4) - 22316 [22:44:46]1012 (4) - 16.06.2024 16:32 [22:44:46]1206 (1) - 0 [22:44:46]OFD Sender: Remove packet 22316 [22:44:46]ProducePacketName [22:44:46]name=ofd_packets/00022316 [22:44:46]NVStorageDeleteData [22:44:46]Write to MH i2c: 01 00 00 0E 31 3F [22:44:46]Write i2c OK [22:44:46]MH_I2C_Read... [22:44:46]Read from MH i2c: 01 [22:44:46]MH_I2C_Read... [22:44:46]Read from MH i2c: 01 07 00 [22:44:46]MH_I2C_Read... [22:44:46]Read from MH i2c: 01 07 00 0E 31 00 00 00 00 00 11 0D 64 [22:44:46]RasterBufferAndPrint [22:44:46]line [22:44:46]line [22:44:46]line [22:44:46]line [22:44:46]line [22:44:46]written 0, free lines is 3351 [22:44:46]MH_Cut [22:44:46]Write to MH i2c: D1 01 00 15 31 01 18 [22:44:46]Write i2c OK [22:44:46]MH_I2C_Read... [22:44:46]Read from MH i2c: D1 [22:44:46]MH_I2C_Read... [22:44:46]Read from MH i2c: D1 01 00 [22:44:46]MH_I2C_Read... [22:44:46]Read from MH i2c: D1 01 00 15 31 00 17 [22:44:46]Write to MH i2c: 01 00 00 16 31 47 [22:44:46]Write i2c OK [22:44:46]MH_I2C_Read... [22:44:47]OFD Sender: No OFD packet to send [22:44:47]*** Cut start [22:44:47]*** Partial cut [22:44:47]*** CUTSNS_PIN = 1 [22:44:47]*** CUTSNS_PIN = 0 [22:44:47]*** Brake cut motor [22:44:48]Read from MH i2c: 01 [22:44:48]MH_I2C_Read... [22:44:48]*** Stop cut motor [22:44:48]*** Cut end [22:44:48]Read from MH i2c: 01 07 00 [22:44:48]MH_I2C_Read... [22:44:48]Read from MH i2c: 01 07 00 16 31 00 00 00 00 00 FF 0F 5C [22:44:48]process_action close_receipt done [22:44:48]requested_data is exist [22:44:48]produce_requested_data [22:44:48]requested_item fm.sn is exist - process it [22:44:48]wFMCommunicate request_size=4 [22:44:48]MH_SAM_APDU [22:44:48]CAPDU: 80 11 00 00 [22:44:48]Write to MH i2c: E2 08 00 17 31 80 11 00 00 00 00 00 00 C2 [22:44:48]Write i2c OK [22:44:48]MH_I2C_Read... [22:44:48]Read from MH i2c: E2 [22:44:48]MH_I2C_Read... [22:44:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:44:48]Read from MH i2c: E2 17 00 [22:44:48]MH_I2C_Read... [22:44:48]Read from MH i2c: E2 17 00 17 31 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 14 [22:44:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [22:44:48]wFMCommunicate OK [22:44:48]requested_item fd.num is exist - process it [22:44:48]SAM_PROTO_GetFieldsCounters [22:44:48]wFMCommunicate request_size=4 [22:44:48]MH_SAM_APDU [22:44:48]CAPDU: 80 13 00 00 [22:44:48]Write to MH i2c: E2 08 00 18 31 80 13 00 00 00 00 00 00 C5 [22:44:48]Write i2c OK [22:44:48]MH_I2C_Read... [22:44:48]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:44:48]Read from MH i2c: E2 [22:44:48]MH_I2C_Read... [22:44:48]Read from MH i2c: E2 62 00 [22:44:48]MH_I2C_Read... [22:44:48]Read from MH i2c: E2 62 00 18 31 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 2C 57 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 51 00 00 00 5E 04 04 00 51 00 00 00 57 04 04 00 52 00 00 00 19 04 04 00 00 00 00 00 90 00 AD [22:44:48]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 2C 57 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 51 00 00 00 5E 04 04 00 51 00 00 00 57 04 04 00 52 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:44:48]wFMCommunicate OK [22:44:48]SAM_PROTO_GetFieldsCounters done [22:44:48]requested_item shift.num is exist - process it [22:44:48]requested_item shift.opened is exist - process it [22:44:48]req_shift_opened [22:44:48]FM_GetShiftState [22:44:48]SAM_PROTO_GetShiftState [22:44:48]wFMCommunicate request_size=4 [22:44:48]MH_SAM_APDU [22:44:48]CAPDU: 80 13 01 00 [22:44:48]Write to MH i2c: E2 08 00 19 31 80 13 01 00 00 00 00 00 C7 [22:44:48]Write i2c OK [22:44:48]MH_I2C_Read... [22:44:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:44:48]Read from MH i2c: E2 [22:44:48]MH_I2C_Read... [22:44:48]Read from MH i2c: E2 0E 00 [22:44:48]MH_I2C_Read... [22:44:48]Read from MH i2c: E2 0E 00 19 31 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 E8 [22:44:48]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [22:44:48]wFMCommunicate OK [22:44:48]SAM_PROTO_GetShiftState done [22:44:48]FM_GetShiftState done [22:44:48]req_shift_opened done [22:44:48]requested_item shift.open_date is exist - process it [22:44:48]req_shift_open_date [22:44:48]req_shift_open_date done [22:44:48]produce_requested_data done [22:44:48]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22316,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297} [22:44:48]process_action_free close_receipt [22:44:48]json_value_free [22:44:48]json_value_free done [22:44:48]process_json_proto returns [22:44:48]Send response to host [22:44:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22316,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297}}} [22:44:48]free response buf [22:44:48]execute_script done [22:44:48]execute_script returns [22:44:48]free content buf [22:44:48]Sock 8.Close socket [22:44:48]Sock 8.Thread stoped [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:52]OFD Sender: No OFD packet to send [23:00:57]OFD Sender: No OFD packet to send [23:01:02]OFD Sender: No OFD packet to send [23:01:07]OFD Sender: No OFD packet to send [23:01:12]OFD Sender: No OFD packet to send [23:01:17]OFD Sender: No OFD packet to send [23:01:22]OFD Sender: No OFD packet to send [23:01:27]OFD Sender: No OFD packet to send [23:01:32]OFD Sender: No OFD packet to send [23:01:37]OFD Sender: No OFD packet to send [23:01:42]OFD Sender: No OFD packet to send [23:01:47]OFD Sender: No OFD packet to send [23:01:52]OFD Sender: No OFD packet to send [23:01:57]OFD Sender: No OFD packet to send [23:02:02]OFD Sender: No OFD packet to send [23:02:07]OFD Sender: No OFD packet to send [23:02: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:38]OFD Sender: No OFD packet to send [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:28]OFD Sender: No OFD packet to send [23:12:33]OFD Sender: No OFD packet to send [23:12:38]OFD Sender: No OFD packet to send [23:12:43]OFD Sender: No OFD packet to send [23:12:48]OFD Sender: No OFD packet to send [23:12:53]OFD Sender: No OFD packet to send [23:12:58]OFD Sender: No OFD packet to send [23:13:03]OFD Sender: No OFD packet to send [23:13:08]OFD Sender: No OFD packet to send [23:13:13]OFD Sender: No OFD packet to send [23:13:18]OFD Sender: No OFD packet to send [23:13:23]OFD Sender: No OFD packet to send [23:13:28]OFD Sender: No OFD packet to send [23:13:33]OFD Sender: No OFD packet to send [23:13:38]OFD Sender: No OFD packet to send [23:13:43]OFD Sender: No OFD packet to send [23:13:48]OFD Sender: No OFD packet to send [23:13:53]OFD Sender: No OFD packet to send [23:13:58]OFD Sender: No OFD packet to send [23:14:03]OFD Sender: No OFD packet to send [23:14:08]OFD Sender: No OFD packet to send [23:14:13]OFD Sender: No OFD packet to send [23:14:18]OFD Sender: No OFD packet to send [23:14:23]OFD Sender: No OFD packet to send [23:14:28]OFD Sender: No OFD packet to send [23:14:33]OFD Sender: No OFD packet to send [23:14:38]OFD Sender: No OFD packet to send [23:14:43]OFD Sender: No OFD packet to send [23:14:48]OFD Sender: No OFD packet to send [23:14:53]OFD Sender: No OFD packet to send [23:14:58]OFD Sender: No OFD packet to send [23:15:03]OFD Sender: No OFD packet to send [23:15:08]OFD Sender: No OFD packet to send [23:15:13]OFD Sender: No OFD packet to send [23:15:18]OFD Sender: No OFD packet to send [23:15:23]OFD Sender: No OFD packet to send [23:15:28]OFD Sender: No OFD packet to send [23:15:33]OFD Sender: No OFD packet to send [23:15:38]OFD Sender: No OFD packet to send [23:15:43]OFD Sender: No OFD packet to send [23:15:48]OFD Sender: No OFD packet to send [23:15:53]OFD Sender: No OFD packet to send [23:15:58]OFD Sender: No OFD packet to send [23:16:03]OFD Sender: No OFD packet to send [23:16:08]OFD Sender: No OFD packet to send [23:16:13]OFD Sender: No OFD packet to send [23:16:18]OFD Sender: No OFD packet to send [23:16:23]OFD Sender: No OFD packet to send [23:16:28]OFD Sender: No OFD packet to send [23:16:33]OFD Sender: No OFD packet to send [23:16:38]OFD Sender: No OFD packet to send [23:16:43]OFD Sender: No OFD packet to send [23:16:48]OFD Sender: No OFD packet to send [23:16:53]OFD Sender: No OFD packet to send [23:16:58]OFD Sender: No OFD packet to send [23:17:03]OFD Sender: No OFD packet to send [23:17:08]OFD Sender: No OFD packet to send [23:17:13]OFD Sender: No OFD packet to send [23:17:18]OFD Sender: No OFD packet to send [23:17:23]OFD Sender: No OFD packet to send [23:17:28]OFD Sender: No OFD packet to send [23:17:33]OFD Sender: No OFD packet to send [23:17:38]OFD Sender: No OFD packet to send [23:17:43]OFD Sender: No OFD packet to send [23:17:48]OFD Sender: No OFD packet to send [23:17:53]OFD Sender: No OFD packet to send [23:17:58]OFD Sender: No OFD packet to send [23:18:03]OFD Sender: No OFD packet to send [23:18:08]OFD Sender: No OFD packet to send [23:18:13]OFD Sender: No OFD packet to send [23:18:18]OFD Sender: No OFD packet to send [23:18:23]OFD Sender: No OFD packet to send [23:18:28]OFD Sender: No OFD packet to send [23:18:33]OFD Sender: No OFD packet to send [23:18:38]OFD Sender: No OFD packet to send [23:18:43]OFD Sender: No OFD packet to send [23:18:48]OFD Sender: No OFD packet to send [23:18:53]OFD Sender: No OFD packet to send [23:18:58]OFD Sender: No OFD packet to send [23:19:03]OFD Sender: No OFD packet to send [23:19:08]OFD Sender: No OFD packet to send [23:19:13]OFD Sender: No OFD packet to send [23:19:18]OFD Sender: No OFD packet to send [23:19:23]OFD Sender: No OFD packet to send [23:19:28]OFD Sender: No OFD packet to send [23:19:33]OFD Sender: No OFD packet to send [23:19:38]OFD Sender: No OFD packet to send [23:19:43]OFD Sender: No OFD packet to send [23:19:48]OFD Sender: No OFD packet to send [23:19:53]OFD Sender: No OFD packet to send [23:19:58]OFD Sender: No OFD packet to send [23:20:03]OFD Sender: No OFD packet to send [23:20:08]OFD Sender: No OFD packet to send [23:20:13]OFD Sender: No OFD packet to send [23:20:18]OFD Sender: No OFD packet to send [23:20:23]OFD Sender: No OFD packet to send [23:20:28]OFD Sender: No OFD packet to send [23:20:33]OFD Sender: No OFD packet to send [23:20:38]OFD Sender: No OFD packet to send [23:20:43]OFD Sender: No OFD packet to send [23:20:48]OFD Sender: No OFD packet to send [23:20:53]OFD Sender: No OFD packet to send [23:20:58]OFD Sender: No OFD packet to send [23:21:03]OFD Sender: No OFD packet to send [23:21:08]OFD Sender: No OFD packet to send [23:21:13]OFD Sender: No OFD packet to send [23:21:18]OFD Sender: No OFD packet to send [23:21:23]OFD Sender: No OFD packet to send [23:21:28]OFD Sender: No OFD packet to send [23:21:33]OFD Sender: No OFD packet to send [23:21:38]OFD Sender: No OFD packet to send [23:21:43]OFD Sender: No OFD packet to send [23:21:48]OFD Sender: No OFD packet to send [23:21:53]OFD Sender: No OFD packet to send [23:21:58]OFD Sender: No OFD packet to send [23:22:03]OFD Sender: No OFD packet to send [23:22:08]OFD Sender: No OFD packet to send [23:22:13]OFD Sender: No OFD packet to send [23:22:18]OFD Sender: No OFD packet to send [23:22:23]OFD Sender: No OFD packet to send [23:22:28]OFD Sender: No OFD packet to send [23:22:33]OFD Sender: No OFD packet to send [23:22:38]OFD Sender: No OFD packet to send [23:22:43]OFD Sender: No OFD packet to send [23:22:48]OFD Sender: No OFD packet to send [23:22:53]OFD Sender: No OFD packet to send [23:22:58]OFD Sender: No OFD packet to send [23:23:03]OFD Sender: No OFD packet to send [23:23:08]OFD Sender: No OFD packet to send [23:23:13]OFD Sender: No OFD packet to send [23:23:18]OFD Sender: No OFD packet to send [23:23:23]OFD Sender: No OFD packet to send [23:23:28]OFD Sender: No OFD packet to send [23:23:33]OFD Sender: No OFD packet to send [23:23:38]OFD Sender: No OFD packet to send [23:23:43]OFD Sender: No OFD packet to send [23:23:48]OFD Sender: No OFD packet to send [23:23:54]OFD Sender: No OFD packet to send [23:23:59]OFD Sender: No OFD packet to send [23:24:04]OFD Sender: No OFD packet to send [23:24:09]OFD Sender: No OFD packet to send [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:14]OFD Sender: No OFD packet to send [23:34:19]OFD Sender: No OFD packet to send [23:34:24]OFD Sender: No OFD packet to send [23:34:29]OFD Sender: No OFD packet to send [23:34:34]OFD Sender: No OFD packet to send [23:34:39]OFD Sender: No OFD packet to send [23:34:44]OFD Sender: No OFD packet to send [23:34:49]OFD Sender: No OFD packet to send [23:34:54]OFD Sender: No OFD packet to send [23:34:59]OFD Sender: No OFD packet to send [23:35:04]OFD Sender: No OFD packet to send [23:35:09]OFD Sender: No OFD packet to send [23:35:14]OFD Sender: No OFD packet to send [23:35:19]OFD Sender: No OFD packet to send [23:35:24]OFD Sender: No OFD packet to send [23:35:29]OFD Sender: No OFD packet to send [23:35:34]OFD Sender: No OFD packet to send [23:35:39]OFD Sender: No OFD packet to send [23:35:44]OFD Sender: No OFD packet to send [23:35:49]OFD Sender: No OFD packet to send [23:35:54]OFD Sender: No OFD packet to send [23:35:59]OFD Sender: No OFD packet to send [23:36:04]OFD Sender: No OFD packet to send [23:36:09]OFD Sender: No OFD packet to send [23:36:14]OFD Sender: No OFD packet to send [23:36:19]OFD Sender: No OFD packet to send [23:36:24]OFD Sender: No OFD packet to send [23:36:29]OFD Sender: No OFD packet to send [23:36:34]OFD Sender: No OFD packet to send [23:36:39]OFD Sender: No OFD packet to send [23:36:44]OFD Sender: No OFD packet to send [23:36:49]OFD Sender: No OFD packet to send [23:36:54]OFD Sender: No OFD packet to send [23:36:59]OFD Sender: No OFD packet to send [23:37:04]OFD Sender: No OFD packet to send [23:37:09]OFD Sender: No OFD packet to send [23:37:14]OFD Sender: No OFD packet to send [23:37:19]OFD Sender: No OFD packet to send [23:37:24]OFD Sender: No OFD packet to send [23:37:29]OFD Sender: No OFD packet to send [23:37:34]OFD Sender: No OFD packet to send [23:37:39]OFD Sender: No OFD packet to send [23:37:44]OFD Sender: No OFD packet to send [23:37:49]OFD Sender: No OFD packet to send [23:37:54]OFD Sender: No OFD packet to send [23:37:59]OFD Sender: No OFD packet to send [23:38:04]OFD Sender: No OFD packet to send [23:38:09]OFD Sender: No OFD packet to send [23:38:14]OFD Sender: No OFD packet to send [23:38:19]OFD Sender: No OFD packet to send [23:38:24]OFD Sender: No OFD packet to send [23:38:29]OFD Sender: No OFD packet to send [23:38:34]OFD Sender: No OFD packet to send [23:38:39]OFD Sender: No OFD packet to send [23:38:44]OFD Sender: No OFD packet to send [23:38:49]OFD Sender: No OFD packet to send [23:38:54]OFD Sender: No OFD packet to send [23:38:59]OFD Sender: No OFD packet to send [23:39:04]OFD Sender: No OFD packet to send [23:39:09]OFD Sender: No OFD packet to send [23:39:14]OFD Sender: No OFD packet to send [23:39:19]OFD Sender: No OFD packet to send [23:39:24]OFD Sender: No OFD packet to send [23:39:29]OFD Sender: No OFD packet to send [23:39:34]OFD Sender: No OFD packet to send [23:39:39]OFD Sender: No OFD packet to send [23:39:44]OFD Sender: No OFD packet to send [23:39:49]OFD Sender: No OFD packet to send [23:39:54]OFD Sender: No OFD packet to send [23:39:59]OFD Sender: No OFD packet to send [23:40:04]OFD Sender: No OFD packet to send [23:40:09]OFD Sender: No OFD packet to send [23:40:14]OFD Sender: No OFD packet to send [23:40:19]OFD Sender: No OFD packet to send [23:40:24]OFD Sender: No OFD packet to send [23:40:29]OFD Sender: No OFD packet to send [23:40:34]OFD Sender: No OFD packet to send [23:40:39]OFD Sender: No OFD packet to send [23:40:44]OFD Sender: No OFD packet to send [23:40:49]OFD Sender: No OFD packet to send [23:40:54]OFD Sender: No OFD packet to send [23:40:59]OFD Sender: No OFD packet to send [23:41:04]OFD Sender: No OFD packet to send [23:41:09]OFD Sender: No OFD packet to send [23:41:14]OFD Sender: No OFD packet to send [23:41:19]OFD Sender: No OFD packet to send [23:41:24]OFD Sender: No OFD packet to send [23:41:29]OFD Sender: No OFD packet to send [23:41:34]OFD Sender: No OFD packet to send [23:41:39]OFD Sender: No OFD packet to send [23:41:44]OFD Sender: No OFD packet to send [23:41:49]OFD Sender: No OFD packet to send [23:41:54]OFD Sender: No OFD packet to send [23:41:59]OFD Sender: No OFD packet to send [23:42:04]OFD Sender: No OFD packet to send [23:42:09]OFD Sender: No OFD packet to send [23:42:14]OFD Sender: No OFD packet to send [23:42:19]OFD Sender: No OFD packet to send [23:42:24]OFD Sender: No OFD packet to send [23:42:29]OFD Sender: No OFD packet to send [23:42:34]OFD Sender: No OFD packet to send [23:42:39]OFD Sender: No OFD packet to send [23:42:44]OFD Sender: No OFD packet to send [23:42:49]OFD Sender: No OFD packet to send [23:42:54]OFD Sender: No OFD packet to send [23:42:59]OFD Sender: No OFD packet to send [23:43:04]OFD Sender: No OFD packet to send [23:43:09]OFD Sender: No OFD packet to send [23:43:14]OFD Sender: No OFD packet to send [23:43:19]OFD Sender: No OFD packet to send [23:43:24]OFD Sender: No OFD packet to send [23:43:29]OFD Sender: No OFD packet to send [23:43:34]OFD Sender: No OFD packet to send [23:43:39]OFD Sender: No OFD packet to send [23:43:44]OFD Sender: No OFD packet to send [23:43:49]OFD Sender: No OFD packet to send [23:43:54]OFD Sender: No OFD packet to send [23:43:59]OFD Sender: No OFD packet to send [23:44:04]OFD Sender: No OFD packet to send [23:44:09]OFD Sender: No OFD packet to send [23:44:14]OFD Sender: No OFD packet to send [23:44:19]OFD Sender: No OFD packet to send [23:44:24]OFD Sender: No OFD packet to send [23:44:29]OFD Sender: No OFD packet to send [23:44:34]OFD Sender: No OFD packet to send [23:44:39]OFD Sender: No OFD packet to send [23:44:44]OFD Sender: No OFD packet to send [23:44:49]OFD Sender: No OFD packet to send [23:44:54]OFD Sender: No OFD packet to send [23:44:59]OFD Sender: No OFD packet to send [23:45:04]OFD Sender: No OFD packet to send [23:45:09]OFD Sender: No OFD packet to send [23:45:14]OFD Sender: No OFD packet to send [23:45:19]OFD Sender: No OFD packet to send [23:45:24]OFD Sender: No OFD packet to send [23:45:29]OFD Sender: No OFD packet to send [23:45:34]OFD Sender: No OFD packet to send [23:45:40]OFD Sender: No OFD packet to send [23:45:45]OFD Sender: No OFD packet to send [23:45:50]OFD Sender: No OFD packet to send [23:45:55]OFD Sender: No OFD packet to send [23:46:00]OFD Sender: No OFD packet to send [23:46:05]OFD Sender: No OFD packet to send [23:46:10]OFD Sender: No OFD packet to send [23:46:15]OFD Sender: No OFD packet to send [23:46:20]OFD Sender: No OFD packet to send [23:46:25]OFD Sender: No OFD packet to send [23:46:30]OFD Sender: No OFD packet to send [23:46:35]OFD Sender: No OFD packet to send [23:46:40]OFD Sender: No OFD packet to send [23:46:45]OFD Sender: No OFD packet to send [23:46:50]OFD Sender: No OFD packet to send [23:46:55]OFD Sender: No OFD packet to send [23:47:00]OFD Sender: No OFD packet to send [23:47:05]OFD Sender: No OFD packet to send [23:47:10]OFD Sender: No OFD packet to send [23:47:15]OFD Sender: No OFD packet to send [23:47:20]OFD Sender: No OFD packet to send [23:47:25]OFD Sender: No OFD packet to send [23:47:26]accept exits with 9 [23:47:26]New connection [23:47:26]New thread 3066695012 created [23:47:26]Thread 3066838372 joined [23:47:26]Waiting for new connection... [23:47:26] Sock 9.Parse request [23:47:26]Sock 9.Check first char [23:47:26]Sock 9.First char is OK [23:47:26]request: POST /json_proto HTTP/1.0 [23:47:26]Method: POST [23:47:26]URL: /json_proto [23:47:26]Method is POST - this is cgi request [23:47:26]url: /json_proto [23:47:26]query_string will be loaded in cgi processing [23:47:26]execute_cgi json_proto POST (null) [23:47:26]execute_cgi path=json_proto method=POST [23:47:26]POST find Content-Length [23:47:26]Host: 172.17.35.133:8080 [23:47:26]Content-Length: 628 [23:47:26]Content-Type: application/json [23:47:26] [23:47:26]POST finish read [23:47:26]Found Content-Length = 628 [23:47:26]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254529", "tax_sys" : 0, "items" : [ { "code": "2000036230011", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:47:26]execute_script... [23:47: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)254529", "tax_sys" : 0, "items" : [ { "code": "2000036230011", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:47:26]POST & json_proto [23:47:26]process_json_proto [23:47:26]json parsed OK: [23:47:26]protocol is kg_v1.0 [23:47:26]action value=close_receipt [23:47:26]process_action close_receipt [23:47:26]cmd_close_receipt [23:47:26]MH_GetDate [23:47:26]Write to MH i2c: F0 00 00 1A 31 3A [23:47:26]Write i2c OK [23:47:26]MH_I2C_Read... [23:47:26]Read from MH i2c: F0 [23:47:26]MH_I2C_Read... [23:47:26]Read from MH i2c: F0 09 00 [23:47:26]MH_I2C_Read... [23:47:26]Read from MH i2c: F0 09 00 1A 31 00 99 79 6F 66 8C 55 28 65 98 [23:47:26]GetLastDocTimeStamp 1718577894 [23:47:26]current date 1718581657 [23:47:26]FM_GetShiftState [23:47:26]SAM_PROTO_GetShiftState [23:47:26]wFMCommunicate request_size=4 [23:47:26]MH_SAM_APDU [23:47:26]CAPDU: 80 13 01 00 [23:47:26]Write to MH i2c: E2 08 00 1B 31 80 13 01 00 00 00 00 00 C9 [23:47:26]Write i2c OK [23:47:26]MH_I2C_Read... [23:47:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:47:26]Read from MH i2c: E2 [23:47:26]MH_I2C_Read... [23:47:26]Read from MH i2c: E2 0E 00 [23:47:26]MH_I2C_Read... [23:47:26]Read from MH i2c: E2 0E 00 1B 31 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 EA [23:47:26]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [23:47:26]wFMCommunicate OK [23:47:26]SAM_PROTO_GetShiftState done [23:47:26]FM_GetShiftState done [23:47:26]opened in 1718497297 [23:47:26]opened+sec_in_day 1718583697 [23:47:26]quantity*price = 13000 [23:47:26]sum+1 = 13001 [23:47:26]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 130.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 82 16.06.2024 23:47 Смена: 327 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22317 ФПД: 12501146952962 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T234737&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22317&fm=12501146952962&tin=02508201610067®Number=0000000000099755&sum=13000 0 [23:47:27]StoreToDocumentArchive [23:47:27]shift 327 fd 22317 [23:47:27]save to /storage/0327/doc_00022317 [23:47:27]save last doc name /storage/0327/doc_00022317 to /storage/kkm_last_doc_name [23:47:27]save OK [23:47:27]Clear old archive folders... [23:47:27]ProcessDocumentItem done err = 0, tmpTLVsize=276 [23:47:27]tlvbuf is 0020CFF0 [23:47:27]SAM_PROTO_ClearQueue [23:47:27]wFMCommunicate request_size=4 [23:47:27]MH_SAM_APDU [23:47:27]CAPDU: 80 09 00 00 [23:47:27]Write to MH i2c: E2 08 00 28 31 80 09 00 00 00 00 00 00 CB [23:47:27]Write i2c OK [23:47:27]MH_I2C_Read... [23:47:27]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:47:27]Read from MH i2c: E2 [23:47:27]MH_I2C_Read... [23:47:27]Read from MH i2c: E2 03 00 [23:47:27]MH_I2C_Read... [23:47:27]Read from MH i2c: E2 03 00 28 31 00 90 00 CD [23:47:27]RAPDU: 90 00 [23:47:27]wFMCommunicate OK [23:47:27]SAM_PROTO_ClearQueue done [23:47:27]KKMCreateOFDPacket [23:47:27]OFDProtocolAddRootSTLVToBuf [23:47:27]FM_MakeSignedData [23:47:27]FM_MakeSignedData [23:47:27]SAM_PROTO_SignData [23:47:27]wFMCommunicate request_size=4 [23:47:27]MH_SAM_APDU [23:47:27]CAPDU: 80 0D 01 02 [23:47:27]Write to MH i2c: E2 08 00 29 31 80 0D 01 02 00 00 00 00 D3 [23:47:27]Write i2c OK [23:47:27]MH_I2C_Read... [23:47:27]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:47:27]Read from MH i2c: E2 [23:47:27]MH_I2C_Read... [23:47:27]Read from MH i2c: E2 03 00 [23:47:27]MH_I2C_Read... [23:47:27]Read from MH i2c: E2 03 00 29 31 00 90 00 CE [23:47:27]RAPDU: 90 00 [23:47:27]wFMCommunicate OK [23:47:27]wFMCommunicate request_size=255 [23:47:27]MH_SAM_APDU [23:47:27]CAPDU: 80 0D 02 02 FA 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 52 00 00 00 F4 03 04 00 99 79 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 [23:47:27]Write to MH i2c: E2 02 01 2A 31 80 0D 02 02 FA 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 52 00 00 00 F4 03 04 00 99 79 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 00 00 79 [23:47:27]Write i2c OK [23:47:27]MH_I2C_Read... [23:47:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:47:27]Read from MH i2c: E2 [23:47:27]MH_I2C_Read... [23:47:27]Read from MH i2c: E2 03 00 [23:47:27]MH_I2C_Read... [23:47:27]Read from MH i2c: E2 03 00 2A 31 00 90 00 CF [23:47:27]RAPDU: 90 00 [23:47:27]wFMCommunicate OK [23:47:27]wFMCommunicate request_size=35 [23:47:27]MH_SAM_APDU [23:47:27]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 2D 57 00 00 35 04 06 00 0B 5E A6 6C 65 02 [23:47:27]Write to MH i2c: E2 26 00 2B 31 80 0D 02 02 1E 00 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 2D 57 00 00 35 04 06 00 0B 5E A6 6C 65 02 00 00 2E [23:47:27]Write i2c OK [23:47:27]MH_I2C_Read... [23:47:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:47:27]Read from MH i2c: E2 [23:47:27]MH_I2C_Read... [23:47:27]Read from MH i2c: E2 03 00 [23:47:27]MH_I2C_Read... [23:47:27]Read from MH i2c: E2 03 00 2B 31 00 90 00 D0 [23:47:27]RAPDU: 90 00 [23:47:27]wFMCommunicate OK [23:47:27]wFMCommunicate request_size=4 [23:47:27]MH_SAM_APDU [23:47:27]CAPDU: 80 0D 03 02 [23:47:27]Write to MH i2c: E2 08 00 2C 31 80 0D 03 02 00 00 00 00 D8 [23:47:27]Write i2c OK [23:47:27]MH_I2C_Read... [23:47:27]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:47:27]Read from MH i2c: E2 [23:47:27]MH_I2C_Read... [23:47:27]Read from MH i2c: E2 0B 00 [23:47:27]MH_I2C_Read... [23:47:28]Read from MH i2c: E2 0B 00 2C 31 00 4C 98 AC C6 18 77 8B A1 90 00 EA [23:47:28]RAPDU: 4C 98 AC C6 18 77 8B A1 90 00 [23:47:28]wFMCommunicate OK [23:47:28]SAM_PROTO_SignData done [23:47:28]FM_MakeSignedData done [23:47:28]CreateOFDProtocolMessage [23:47:28]wFMCommunicate request_size=4 [23:47:28]MH_SAM_APDU [23:47:28]CAPDU: 80 11 00 00 [23:47:28]Write to MH i2c: E2 08 00 2D 31 80 11 00 00 00 00 00 00 D8 [23:47:28]Write i2c OK [23:47:28]MH_I2C_Read... [23:47:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:47:28]Read from MH i2c: E2 [23:47:28]MH_I2C_Read... [23:47:28]Read from MH i2c: E2 17 00 [23:47:28]MH_I2C_Read... [23:47:28]Read from MH i2c: E2 17 00 2D 31 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 2A [23:47:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [23:47:28]wFMCommunicate OK [23:47:28]CreateOFDProtocolMessage done [23:47:28]OFDSenderStorePacket 22317 [23:47:28]StoreOFDPacket docnum=22317 [23:47:28]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 28 01 00 00 91 52 20 01 75 46 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 52 00 00 00 F4 03 04 00 99 79 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 2D 57 00 00 35 04 06 00 0B 5E A6 6C 65 02 4C 98 AC C6 18 77 8B A1 [23:47:28]CheckFolder [23:47:28]dirname=/storage/ofd_packets [23:47:28]CheckFolder done [23:47:28]ProducePacketName [23:47:28]name=ofd_packets/00022317 [23:47:28]NVStorageSaveData ofd_packets/00022317 [23:47:28]File name is /storage/ofd_packets/00022317 [23:47:28]Write 326 bytes [23:47:28]NVStorageSaveData done [23:47:28]OFDSenderStorePacket done [23:47:28]KKMCreateOFDPacket done [23:47:28]NVStorageSaveData kkm_last_timestamp [23:47:28]File name is /storage/kkm_last_timestamp [23:47:28]Write 4 bytes [23:47:28]NVStorageSaveData done [23:47:28]ExternCall_PrintAddStr [23:47:28]wPrintStart [23:47:28]Write to MH i2c: 01 00 00 2E 31 5F [23:47:28]Write i2c OK [23:47:28]MH_I2C_Read... [23:47:28]Read from MH i2c: 01 [23:47:28]MH_I2C_Read... [23:47:28]Read from MH i2c: 01 07 00 [23:47:28]MH_I2C_Read... [23:47:28]Read from MH i2c: 01 07 00 2E 31 00 00 00 00 00 FF 0F 74 [23:47:28]RasterBufferAndPrint [23:47:28]line Счет N : (3)254529 [23:47:28]line ИНН: 02508201610067 [23:47:28]line Контрольно-Кассовый Чек [23:47:28]line ПРОДАЖА [23:47:28]line Товар: 2000036230011 [23:47:28]line Кофе Латте XL(GABB TRADE) [23:47:28]line 1.000 * 130.00 [23:47:28]line = 130.00 [23:47:28]line НДС 12% НСП 1% [23:47:28]line > о реализуемом товаре [23:47:28]line ИТОГО: 130.00 [23:47:28]line НСП 1% : 1.15 [23:47:28]line НДС 12% : 13.80 [23:47:28]line Наличными: 130.00 [23:47:28]line Безнал.: 0.00 [23:47:28]line Место: АЗС № 76 "Партнер Нефть" [23:47:28]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [23:47:28]line СНО: Общий режим [23:47:28]line Чек 82 16.06.2024 23:47 [23:47:28]line Смена: 327 ФФД: 1.0 [23:47:28]line ЗНМ: 0300000200 [23:47:28]line РНМ: 0000000000099755 [23:47:28]line Версия ККМ: 001 [23:47:28]line ФМ: 0000000000965344 [23:47:28]line ФД: 22317 [23:47:28]line ФПД: 12501146952962 [23:47:28]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240616T234737&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22317&fm=12501146952962&tin=02508201610067®Number=0000000000099755&sum=13000 [23:47:28]line 0 [23:47:28]OFD Sender: Processing packet 22317 [packets to send 5, broken 4] [23:47:28]ProducePacketName [23:47:28]name=ofd_packets/00022317 [23:47:28]OFD Sender: To server: pG, [23:47:28]CommunicateWithHost lk.salyk.kg:30040 [23:47:28]ConnectInit lk.salyk.kg [23:47:28]written 0, free lines is 4095 [23:47:28]Connected sock=8 [23:47:28]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 28 01 00 00 91 52 20 01 75 46 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 52 00 00 00 F4 03 04 00 99 79 6F 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 2D 57 00 00 35 04 06 00 0B 5E A6 6C 65 02 4C 98 AC C6 18 77 8B A1 [23:47:28]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 D7 6A 47 00 66 9A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 2D 57 00 00 F4 03 04 00 52 22 6F 66 B6 04 01 00 00 7A 49 6D 30 CC 81 EE 76 [23:47:28]CommunicateWithHost err = 0 [23:47:28]CheckOFDResponse [23:47:28]1017 (14) - 77093643461234 [23:47:28]1041 (16) - 0000000000965344 [23:47:28]1040 (4) - 22317 [23:47:28]1012 (4) - 16.06.2024 17:35 [23:47:28]1206 (1) - 0 [23:47:28]OFD Sender: Remove packet 22317 [23:47:28]ProducePacketName [23:47:28]name=ofd_packets/00022317 [23:47:28]NVStorageDeleteData [23:47:28]Write to MH i2c: 01 00 00 56 31 87 [23:47:28]Write i2c OK [23:47:28]MH_I2C_Read... [23:47:28]Read from MH i2c: 01 [23:47:28]MH_I2C_Read... [23:47:28]Read from MH i2c: 01 07 00 [23:47:28]MH_I2C_Read... [23:47:28]Read from MH i2c: 01 07 00 56 31 00 00 00 00 00 27 0D C2 [23:47:28]RasterBufferAndPrint [23:47:28]line [23:47:28]line [23:47:28]line [23:47:28]line [23:47:28]line [23:47:28]written 0, free lines is 3377 [23:47:28]MH_Cut [23:47:28]Write to MH i2c: D1 01 00 5D 31 01 60 [23:47:28]Write i2c OK [23:47:28]MH_I2C_Read... [23:47:28]Read from MH i2c: D1 [23:47:28]MH_I2C_Read... [23:47:28]Read from MH i2c: D1 01 00 [23:47:28]MH_I2C_Read... [23:47:28]Read from MH i2c: D1 01 00 5D 31 00 5F [23:47:28]Write to MH i2c: 01 00 00 5E 31 8F [23:47:28]Write i2c OK [23:47:28]MH_I2C_Read... [23:47:29]OFD Sender: No OFD packet to send [23:47:29]*** Cut start [23:47:29]*** Partial cut [23:47:29]*** CUTSNS_PIN = 1 [23:47:29]*** CUTSNS_PIN = 0 [23:47:29]*** Brake cut motor [23:47:30]Read from MH i2c: 01 [23:47:30]MH_I2C_Read... [23:47:30]*** Stop cut motor [23:47:30]*** Cut end [23:47:30]Read from MH i2c: 01 07 00 [23:47:30]MH_I2C_Read... [23:47:30]Read from MH i2c: 01 07 00 5E 31 00 00 00 00 00 FF 0F A4 [23:47:30]process_action close_receipt done [23:47:30]requested_data is exist [23:47:30]produce_requested_data [23:47:30]requested_item fm.sn is exist - process it [23:47:30]wFMCommunicate request_size=4 [23:47:30]MH_SAM_APDU [23:47:30]CAPDU: 80 11 00 00 [23:47:30]Write to MH i2c: E2 08 00 5F 31 80 11 00 00 00 00 00 00 0A [23:47:30]Write i2c OK [23:47:30]MH_I2C_Read... [23:47:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:47:30]Read from MH i2c: E2 [23:47:30]MH_I2C_Read... [23:47:30]Read from MH i2c: E2 17 00 [23:47:30]MH_I2C_Read... [23:47:30]Read from MH i2c: E2 17 00 5F 31 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 5C [23:47:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [23:47:30]wFMCommunicate OK [23:47:30]requested_item fd.num is exist - process it [23:47:30]SAM_PROTO_GetFieldsCounters [23:47:30]wFMCommunicate request_size=4 [23:47:30]MH_SAM_APDU [23:47:30]CAPDU: 80 13 00 00 [23:47:30]Write to MH i2c: E2 08 00 60 31 80 13 00 00 00 00 00 00 0D [23:47:30]Write i2c OK [23:47:30]MH_I2C_Read... [23:47:30]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:47:30]Read from MH i2c: E2 [23:47:30]MH_I2C_Read... [23:47:30]Read from MH i2c: E2 62 00 [23:47:30]MH_I2C_Read... [23:47:30]Read from MH i2c: E2 62 00 60 31 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 2D 57 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 52 00 00 00 5E 04 04 00 52 00 00 00 57 04 04 00 53 00 00 00 19 04 04 00 00 00 00 00 90 00 F9 [23:47:30]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 2D 57 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 52 00 00 00 5E 04 04 00 52 00 00 00 57 04 04 00 53 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:47:30]wFMCommunicate OK [23:47:30]SAM_PROTO_GetFieldsCounters done [23:47:30]requested_item shift.num is exist - process it [23:47:30]requested_item shift.opened is exist - process it [23:47:30]req_shift_opened [23:47:30]FM_GetShiftState [23:47:30]SAM_PROTO_GetShiftState [23:47:30]wFMCommunicate request_size=4 [23:47:30]MH_SAM_APDU [23:47:30]CAPDU: 80 13 01 00 [23:47:30]Write to MH i2c: E2 08 00 61 31 80 13 01 00 00 00 00 00 0F [23:47:30]Write i2c OK [23:47:30]MH_I2C_Read... [23:47:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:47:30]Read from MH i2c: E2 [23:47:30]MH_I2C_Read... [23:47:30]Read from MH i2c: E2 0E 00 [23:47:30]MH_I2C_Read... [23:47:30]Read from MH i2c: E2 0E 00 61 31 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 30 [23:47:30]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [23:47:30]wFMCommunicate OK [23:47:30]SAM_PROTO_GetShiftState done [23:47:30]FM_GetShiftState done [23:47:30]req_shift_opened done [23:47:30]requested_item shift.open_date is exist - process it [23:47:30]req_shift_open_date [23:47:30]req_shift_open_date done [23:47:30]produce_requested_data done [23:47:30]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22317,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297} [23:47:30]process_action_free close_receipt [23:47:30]json_value_free [23:47:30]json_value_free done [23:47:30]process_json_proto returns [23:47:30]Send response to host [23:47:30]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22317,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297}}} [23:47:30]free response buf [23:47:30]execute_script done [23:47:30]execute_script returns [23:47:30]free content buf [23:47:30]Sock 9.Close socket [23:47:30]Sock 9.Thread stoped [23:47:34]OFD Sender: No OFD packet to send [23:47:39]OFD Sender: No OFD packet to send [23:47:44]OFD Sender: No OFD packet to send [23:47:49]OFD Sender: No OFD packet to send [23:47:54]OFD Sender: No OFD packet to send [23:47:59]OFD Sender: No OFD packet to send [23:48:04]OFD Sender: No OFD packet to send [23:48:09]OFD Sender: No OFD packet to send [23:48:14]OFD Sender: No OFD packet to send [23:48:19]OFD Sender: No OFD packet to send [23:48:24]OFD Sender: No OFD packet to send [23:48:29]OFD Sender: No OFD packet to send [23:48:34]OFD Sender: No OFD packet to send [23:48:39]OFD Sender: No OFD packet to send [23:48:44]OFD Sender: No OFD packet to send [23:48:49]OFD Sender: No OFD packet to send [23:48:54]OFD Sender: No OFD packet to send [23:48:59]OFD Sender: No OFD packet to send [23:49:04]OFD Sender: No OFD packet to send [23:49:09]OFD Sender: No OFD packet to send [23:49:14]OFD Sender: No OFD packet to send [23:49:19]OFD Sender: No OFD packet to send [23:49:24]OFD Sender: No OFD packet to send [23:49:29]OFD Sender: No OFD packet to send [23:49:34]OFD Sender: No OFD packet to send [23:49:39]OFD Sender: No OFD packet to send [23:49:44]OFD Sender: No OFD packet to send [23:49:49]OFD Sender: No OFD packet to send [23:49:54]OFD Sender: No OFD packet to send [23:49:59]OFD Sender: No OFD packet to send [23:50:04]OFD Sender: No OFD packet to send [23:50:09]OFD Sender: No OFD packet to send [23:50:14]OFD Sender: No OFD packet to send [23:50:19]OFD Sender: No OFD packet to send [23:50:24]OFD Sender: No OFD packet to send [23:50:29]OFD Sender: No OFD packet to send [23:50:34]OFD Sender: No OFD packet to send [23:50:39]OFD Sender: No OFD packet to send [23:50:44]OFD Sender: No OFD packet to send [23:50:49]OFD Sender: No OFD packet to send [23:50:54]OFD Sender: No OFD packet to send [23:50:59]OFD Sender: No OFD packet to send [23:51:04]OFD Sender: No OFD packet to send [23:51:09]OFD Sender: No OFD packet to send [23:51:14]OFD Sender: No OFD packet to send [23:51:19]OFD Sender: No OFD packet to send [23:51:24]OFD Sender: No OFD packet to send [23:51:29]OFD Sender: No OFD packet to send [23:51:34]OFD Sender: No OFD packet to send [23:51:39]OFD Sender: No OFD packet to send [23:51:44]OFD Sender: No OFD packet to send [23:51:49]OFD Sender: No OFD packet to send [23:51:54]OFD Sender: No OFD packet to send [23:51:59]OFD Sender: No OFD packet to send [23:52:04]OFD Sender: No OFD packet to send [23:52:04]int [23:52:04]Write to MH i2c: 01 00 00 62 31 93 [23:52:04]*** FLAG_PRN_PAP1 set [23:52:04]Write i2c OK [23:52:04]MH_I2C_Read... [23:52:04]Read from MH i2c: 01 [23:52:04]MH_I2C_Read... [23:52:04]Read from MH i2c: 01 07 00 [23:52:04]MH_I2C_Read... [23:52:04]Read from MH i2c: 01 07 00 62 31 00 01 00 00 00 FF 0F A9 [23:52:04]state=0 [23:52:04]No paper [23:52:04]int [23:52:04]Write to MH i2c: 01 00 00 63 31 94 [23:52:04]*** FLAG_PRN_PAP2 set [23:52:04]Write i2c OK [23:52:04]MH_I2C_Read... [23:52:04]Read from MH i2c: 01 [23:52:04]MH_I2C_Read... [23:52:04]Read from MH i2c: 01 07 00 [23:52:04]MH_I2C_Read... [23:52:04]Read from MH i2c: 01 07 00 63 31 00 03 00 00 00 FF 0F AC [23:52:04]state=0 [23:52:04]No paper [23:52:04]Cover opened [23:52:04]int [23:52:04]Write to MH i2c: 01 00 00 64 31 95 [23:52:04]*** FLAG_PRN_PAP2 reset [23:52:04]Write i2c OK [23:52:04]MH_I2C_Read... [23:52:04]Read from MH i2c: 01 [23:52:04]MH_I2C_Read... [23:52:04]Read from MH i2c: 01 07 00 [23:52:04]MH_I2C_Read... [23:52:04]Read from MH i2c: 01 07 00 64 31 00 01 00 00 00 FF 0F AB [23:52:04]state=3 [23:52:04]No paper [23:52:04]Cover closed [23:52:06]int [23:52:06]Write to MH i2c: 01 00 00 65 31 96 [23:52:06]*** FLAG_PRN_PAP2 set [23:52:06]Write i2c OK [23:52:06]MH_I2C_Read... [23:52:06]Read from MH i2c: 01 [23:52:06]MH_I2C_Read... [23:52:06]Read from MH i2c: 01 07 00 [23:52:06]MH_I2C_Read... [23:52:06]Read from MH i2c: 01 07 00 65 31 00 03 00 00 00 FF 0F AE [23:52:06]state=0 [23:52:06]No paper [23:52:06]Cover opened [23:52:06]int [23:52:06]Write to MH i2c: 01 00 00 66 31 97 [23:52:06]*** FLAG_PRN_PAP2 reset [23:52:06]Write i2c OK [23:52:06]MH_I2C_Read... [23:52:06]Read from MH i2c: 01 [23:52:06]MH_I2C_Read... [23:52:06]Read from MH i2c: 01 07 00 [23:52:06]MH_I2C_Read... [23:52:06]Read from MH i2c: 01 07 00 66 31 00 01 00 00 00 FF 0F AD [23:52:06]state=3 [23:52:06]No paper [23:52:06]Cover closed [23:52:07]int [23:52:07]Write to MH i2c: 01 00 00 67 31 98 [23:52:07]*** FLAG_PRN_PAP2 set [23:52:07]Write i2c OK [23:52:07]MH_I2C_Read... [23:52:07]Read from MH i2c: 01 [23:52:07]MH_I2C_Read... [23:52:07]Read from MH i2c: 01 07 00 [23:52:07]MH_I2C_Read... [23:52:07]Read from MH i2c: 01 07 00 67 31 00 03 00 00 00 FF 0F B0 [23:52:07]state=0 [23:52:07]No paper [23:52:07]Cover opened [23:52:09]OFD Sender: No OFD packet to send [23:52:12]Write to MH i2c: 01 00 00 68 31 99 [23:52:12]Write i2c OK [23:52:12]MH_I2C_Read... [23:52:12]Read from MH i2c: 01 [23:52:12]MH_I2C_Read... [23:52:12]Read from MH i2c: 01 07 00 [23:52:12]MH_I2C_Read... [23:52:12]Read from MH i2c: 01 07 00 68 31 00 03 00 00 00 FF 0F B1 [23:52:12]state=3 [23:52:12]No paper [23:52:12]Cover opened [23:52:14]OFD Sender: No OFD packet to send [23:52:17]Write to MH i2c: 01 00 00 69 31 9A [23:52:17]Write i2c OK [23:52:17]MH_I2C_Read... [23:52:17]Read from MH i2c: 01 [23:52:17]MH_I2C_Read... [23:52:17]Read from MH i2c: 01 07 00 [23:52:17]MH_I2C_Read... [23:52:17]Read from MH i2c: 01 07 00 69 31 00 03 00 00 00 FF 0F B2 [23:52:17]state=3 [23:52:17]No paper [23:52:17]Cover opened [23:52:19]OFD Sender: No OFD packet to send [23:52:22]Write to MH i2c: 01 00 00 6A 31 9B [23:52:22]Write i2c OK [23:52:22]MH_I2C_Read... [23:52:22]Read from MH i2c: 01 [23:52:22]MH_I2C_Read... [23:52:22]Read from MH i2c: 01 07 00 [23:52:22]MH_I2C_Read... [23:52:22]Read from MH i2c: 01 07 00 6A 31 00 03 00 00 00 FF 0F B3 [23:52:22]state=3 [23:52:22]No paper [23:52:22]Cover opened [23:52:24]OFD Sender: No OFD packet to send [23:52:27]Write to MH i2c: 01 00 00 6B 31 9C [23:52:27]Write i2c OK [23:52:27]MH_I2C_Read... [23:52:27]Read from MH i2c: 01 [23:52:27]MH_I2C_Read... [23:52:27]Read from MH i2c: 01 07 00 [23:52:27]MH_I2C_Read... [23:52:27]Read from MH i2c: 01 07 00 6B 31 00 03 00 00 00 FF 0F B4 [23:52:27]state=3 [23:52:27]No paper [23:52:27]Cover opened [23:52:29]OFD Sender: No OFD packet to send [23:52:32]Write to MH i2c: 01 00 00 6C 31 9D [23:52:32]Write i2c OK [23:52:32]MH_I2C_Read... [23:52:32]Read from MH i2c: 01 [23:52:32]MH_I2C_Read... [23:52:32]Read from MH i2c: 01 07 00 [23:52:32]MH_I2C_Read... [23:52:32]Read from MH i2c: 01 07 00 6C 31 00 03 00 00 00 FF 0F B5 [23:52:32]state=3 [23:52:32]No paper [23:52:32]Cover opened [23:52:34]OFD Sender: No OFD packet to send [23:52:37]Write to MH i2c: 01 00 00 6D 31 9E [23:52:37]Write i2c OK [23:52:37]MH_I2C_Read... [23:52:37]Read from MH i2c: 01 [23:52:37]MH_I2C_Read... [23:52:37]Read from MH i2c: 01 07 00 [23:52:37]MH_I2C_Read... [23:52:37]Read from MH i2c: 01 07 00 6D 31 00 03 00 00 00 FF 0F B6 [23:52:37]state=3 [23:52:37]No paper [23:52:37]Cover opened [23:52:39]OFD Sender: No OFD packet to send [23:52:42]Write to MH i2c: 01 00 00 6E 31 9F [23:52:42]Write i2c OK [23:52:42]MH_I2C_Read... [23:52:42]Read from MH i2c: 01 [23:52:42]MH_I2C_Read... [23:52:42]Read from MH i2c: 01 07 00 [23:52:42]MH_I2C_Read... [23:52:42]Read from MH i2c: 01 07 00 6E 31 00 03 00 00 00 FF 0F B7 [23:52:42]state=3 [23:52:42]No paper [23:52:42]Cover opened [23:52:42]int [23:52:42]Write to MH i2c: 01 00 00 6F 31 A0 [23:52:42]*** FLAG_PRN_PAP2 reset [23:52:42]Write i2c OK [23:52:42]MH_I2C_Read... [23:52:42]Read from MH i2c: 01 [23:52:42]MH_I2C_Read... [23:52:42]Read from MH i2c: 01 07 00 [23:52:42]MH_I2C_Read... [23:52:42]Read from MH i2c: 01 07 00 6F 31 00 01 00 00 00 FF 0F B6 [23:52:42]state=3 [23:52:42]No paper [23:52:42]Cover closed [23:52:42]int [23:52:42]Write to MH i2c: 01 00 00 70 31 A1 [23:52:42]*** FLAG_PRN_PAP1 reset [23:52:42]Write i2c OK [23:52:42]MH_I2C_Read... [23:52:42]Read from MH i2c: 01 [23:52:42]MH_I2C_Read... [23:52:42]Read from MH i2c: 01 07 00 [23:52:42]MH_I2C_Read... [23:52:42]Read from MH i2c: 01 07 00 70 31 00 00 00 00 00 FF 0F B6 [23:52:42]state=0 [23:52:44]OFD Sender: No OFD packet to send [23:52:46]accept exits with 10 [23:52:46]New connection [23:52:46]New thread 3066838372 created [23:52:46]Thread 3066695012 joined [23:52:46]Waiting for new connection... [23:52:46] Sock 10.Parse request [23:52:46]Sock 10.Check first char [23:52:46]Sock 10.First char is OK [23:52:46]request: POST /json_proto HTTP/1.0 [23:52:46]Method: POST [23:52:46]URL: /json_proto [23:52:46]Method is POST - this is cgi request [23:52:46]url: /json_proto [23:52:46]query_string will be loaded in cgi processing [23:52:46]execute_cgi json_proto POST (null) [23:52:46]execute_cgi path=json_proto method=POST [23:52:46]POST find Content-Length [23:52:46]Host: 172.17.35.133:8080 [23:52:46]Content-Length: 215 [23:52:46]Content-Type: application/json [23:52:46] [23:52:46]POST finish read [23:52:46]Found Content-Length = 215 [23:52:46]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:52:46]execute_script... [23:52:46]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:52:46]POST & json_proto [23:52:46]process_json_proto [23:52:46]json parsed OK: [23:52:46]protocol is kg_v1.0 [23:52:46]action value=get_value [23:52:46]process_action get_value [23:52:46]cmd_get_value [23:52:46]process_action get_value done [23:52:46]requested_data is exist [23:52:46]produce_requested_data [23:52:46]requested_item kkm.sn is exist - process it [23:52:46]requested_item kkm.ver is exist - process it [23:52:46]requested_item fm.sn is exist - process it [23:52:46]wFMCommunicate request_size=4 [23:52:46]MH_SAM_APDU [23:52:46]CAPDU: 80 11 00 00 [23:52:46]Write to MH i2c: E2 08 00 71 31 80 11 00 00 00 00 00 00 1C [23:52:46]Write i2c OK [23:52:46]MH_I2C_Read... [23:52:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:52:46]Read from MH i2c: E2 [23:52:46]MH_I2C_Read... [23:52:46]Read from MH i2c: E2 17 00 [23:52:46]MH_I2C_Read... [23:52:46]Read from MH i2c: E2 17 00 71 31 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 6E [23:52:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [23:52:46]wFMCommunicate OK [23:52:46]requested_item fd.num is exist - process it [23:52:46]SAM_PROTO_GetFieldsCounters [23:52:46]wFMCommunicate request_size=4 [23:52:46]MH_SAM_APDU [23:52:46]CAPDU: 80 13 00 00 [23:52:46]Write to MH i2c: E2 08 00 72 31 80 13 00 00 00 00 00 00 1F [23:52:46]Write i2c OK [23:52:46]MH_I2C_Read... [23:52:46]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:52:46]Read from MH i2c: E2 [23:52:46]MH_I2C_Read... [23:52:46]Read from MH i2c: E2 62 00 [23:52:46]MH_I2C_Read... [23:52:46]Read from MH i2c: E2 62 00 72 31 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 2D 57 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 52 00 00 00 5E 04 04 00 52 00 00 00 57 04 04 00 53 00 00 00 19 04 04 00 00 00 00 00 90 00 0B [23:52:46]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 2D 57 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 52 00 00 00 5E 04 04 00 52 00 00 00 57 04 04 00 53 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:52:46]wFMCommunicate OK [23:52:46]SAM_PROTO_GetFieldsCounters done [23:52:46]requested_item shift.num is exist - process it [23:52:46]requested_item shift.opened is exist - process it [23:52:46]req_shift_opened [23:52:46]FM_GetShiftState [23:52:46]SAM_PROTO_GetShiftState [23:52:46]wFMCommunicate request_size=4 [23:52:46]MH_SAM_APDU [23:52:46]CAPDU: 80 13 01 00 [23:52:46]Write to MH i2c: E2 08 00 73 31 80 13 01 00 00 00 00 00 21 [23:52:46]Write i2c OK [23:52:46]MH_I2C_Read... [23:52:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:52:46]Read from MH i2c: E2 [23:52:46]MH_I2C_Read... [23:52:46]Read from MH i2c: E2 0E 00 [23:52:46]MH_I2C_Read... [23:52:46]Read from MH i2c: E2 0E 00 73 31 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 42 [23:52:46]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [23:52:46]wFMCommunicate OK [23:52:46]SAM_PROTO_GetShiftState done [23:52:46]FM_GetShiftState done [23:52:46]req_shift_opened done [23:52:46]requested_item shift.open_date is exist - process it [23:52:46]req_shift_open_date [23:52:46]req_shift_open_date done [23:52:46]produce_requested_data done [23:52:46]produce_requested_data return {"kkm.sn":"0300000200","kkm.ver":"001","fm.sn":"0000000000965344","fd.num":22317,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297} [23:52:46]process_action_free get_value [23:52:46]json_value_free [23:52:46]json_value_free done [23:52:46]process_json_proto returns [23:52:46]Send response to host [23:52:46]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000200","kkm.ver":"001","fm.sn":"0000000000965344","fd.num":22317,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297}}} [23:52:46]free response buf [23:52:46]execute_script done [23:52:46]execute_script returns [23:52:46]free content buf [23:52:46]Sock 10.Close socket [23:52:46]Sock 10.Thread stoped [23:52:46]accept exits with 8 [23:52:46]New connection [23:52:46]New thread 3066695012 created [23:52:46]Thread 3066838372 joined [23:52:46]Waiting for new connection... [23:52:46] Sock 8.Parse request [23:52:46]Sock 8.Check first char [23:52:46]Sock 8.First char is OK [23:52:46]request: POST /json_proto HTTP/1.0 [23:52:46]Method: POST [23:52:46]URL: /json_proto [23:52:46]Method is POST - this is cgi request [23:52:46]url: /json_proto [23:52:46]query_string will be loaded in cgi processing [23:52:46]execute_cgi json_proto POST (null) [23:52:46]execute_cgi path=json_proto method=POST [23:52:46]POST find Content-Length [23:52:46]Host: 172.17.35.133:8080 [23:52:46]Content-Length: 331 [23:52:46]Content-Type: application/json [23:52:46] [23:52:46]POST finish read [23:52:46]Found Content-Length = 331 [23:52:46]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:52:46]execute_script... [23:52:46]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" ] } } [23:52:46]POST & json_proto [23:52:46]process_json_proto [23:52:46]json parsed OK: [23:52:46]protocol is kg_v1.0 [23:52:46]action value=get_value [23:52:46]process_action get_value [23:52:46]cmd_get_value [23:52:46]process_action get_value done [23:52:46]requested_data is exist [23:52:46]produce_requested_data [23:52:46]requested_item fm.sale.total is exist - process it [23:52:46]SAM_PROTO_GetFMData [23:52:46]wFMCommunicate request_size=4 [23:52:46]MH_SAM_APDU [23:52:46]CAPDU: 80 13 03 00 [23:52:46]Write to MH i2c: E2 08 00 74 31 80 13 03 00 00 00 00 00 24 [23:52:46]Write i2c OK [23:52:46]MH_I2C_Read... [23:52:47]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:52:47]Read from MH i2c: E2 [23:52:47]MH_I2C_Read... [23:52:47]Read from MH i2c: E2 FD 00 [23:52:47]MH_I2C_Read... [23:52:47]Read from MH i2c: E2 FD 00 74 31 00 C3 04 85 04 BF 04 6E 04 04 00 9F 54 00 00 69 04 A2 00 6F 04 04 00 88 54 00 00 B1 04 04 00 14 36 43 25 70 04 04 00 A8 A2 76 20 72 04 04 00 6C 93 CC 04 00 04 7E 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 95 06 F5 03 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 95 5E 54 EF 03 0B 00 F6 03 01 00 02 F7 03 02 00 66 06 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 17 00 00 00 B1 04 03 00 C0 49 AA 70 04 03 00 48 F9 A9 72 04 02 00 78 50 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 7D 15 12 EF 03 09 00 F6 90 00 CC [23:52:47]RAPDU: C3 04 85 04 BF 04 6E 04 04 00 9F 54 00 00 69 04 A2 00 6F 04 04 00 88 54 00 00 B1 04 04 00 14 36 43 25 70 04 04 00 A8 A2 76 20 72 04 04 00 6C 93 CC 04 00 04 7E 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 95 06 F5 03 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 95 5E 54 EF 03 0B 00 F6 03 01 00 02 F7 03 02 00 66 06 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 17 00 00 00 B1 04 03 00 C0 49 AA 70 04 03 00 48 F9 A9 72 04 02 00 78 50 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 7D 15 12 EF 03 09 00 F6 90 00 [23:52:47]wFMCommunicate OK [23:52:47]wFMCommunicate request_size=4 [23:52:47]MH_SAM_APDU [23:52:47]CAPDU: 80 17 00 00 [23:52:47]Write to MH i2c: E2 08 00 75 31 80 17 00 00 00 00 00 00 26 [23:52:47]Write i2c OK [23:52:47]MH_I2C_Read... [23:52:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:52:47]Read from MH i2c: E2 [23:52:47]MH_I2C_Read... [23:52:47]Read from MH i2c: E2 FD 00 [23:52:47]MH_I2C_Read... [23:52:47]Read from MH i2c: E2 FD 00 75 31 00 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 C9 81 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 90 00 31 [23:52:47]RAPDU: 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 C9 81 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 90 00 [23:52:47]wFMCommunicate OK [23:52:47]wFMCommunicate request_size=4 [23:52:47]MH_SAM_APDU [23:52:47]CAPDU: 80 17 00 00 [23:52:47]Write to MH i2c: E2 08 00 76 31 80 17 00 00 00 00 00 00 27 [23:52:47]Write i2c OK [23:52:47]MH_I2C_Read... [23:52:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:52:47]Read from MH i2c: E2 [23:52:47]MH_I2C_Read... [23:52:47]Read from MH i2c: E2 FD 00 [23:52:47]MH_I2C_Read... [23:52:47]Read from MH i2c: E2 FD 00 76 31 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 45 [23:52:47]RAPDU: 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:52:47]wFMCommunicate OK [23:52:47]wFMCommunicate request_size=4 [23:52:47]MH_SAM_APDU [23:52:47]CAPDU: 80 17 00 00 [23:52:47]Write to MH i2c: E2 08 00 77 31 80 17 00 00 00 00 00 00 28 [23:52:47]Write i2c OK [23:52:47]MH_I2C_Read... [23:52:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:52:47]Read from MH i2c: E2 [23:52:47]MH_I2C_Read... [23:52:47]Read from MH i2c: E2 FD 00 [23:52:47]MH_I2C_Read... [23:52:47]Read from MH i2c: E2 FD 00 77 31 00 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 9A [23:52:47]RAPDU: 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:52:47]wFMCommunicate OK [23:52:47]wFMCommunicate request_size=4 [23:52:47]MH_SAM_APDU [23:52:47]CAPDU: 80 17 00 00 [23:52:47]Write to MH i2c: E2 08 00 78 31 80 17 00 00 00 00 00 00 29 [23:52:47]Write i2c OK [23:52:47]MH_I2C_Read... [23:52:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 221! [23:52:48]Read from MH i2c: E2 [23:52:48]MH_I2C_Read... [23:52:48]Read from MH i2c: E2 E0 00 [23:52:48]MH_I2C_Read... [23:52:48]Read from MH i2c: E2 E0 00 78 31 00 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 13 [23:52:48]RAPDU: 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [23:52:48]wFMCommunicate OK [23:52:48]SAM_PROTO_GetFMData done [23:52:48]requested_item fm.sale_refund.total is exist - process it [23:52:48]requested_item fm.buy.total is exist - process it [23:52:48]requested_item shift.sale.total is exist - process it [23:52:48]SAM_PROTO_GetShiftData [23:52:48]wFMCommunicate request_size=4 [23:52:48]MH_SAM_APDU [23:52:48]CAPDU: 80 13 02 00 [23:52:48]Write to MH i2c: E2 08 00 79 31 80 13 02 00 00 00 00 00 28 [23:52:48]Write i2c OK [23:52:48]MH_I2C_Read... [23:52:48]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:52:48]Read from MH i2c: E2 [23:52:48]MH_I2C_Read... [23:52:48]Read from MH i2c: E2 FD 00 [23:52:48]MH_I2C_Read... [23:52:48]Read from MH i2c: E2 FD 00 79 31 00 AE 04 AA 04 AA 04 6E 04 04 00 52 00 00 00 69 04 9B 00 6F 04 04 00 52 00 00 00 B1 04 03 00 88 B7 1F 70 04 03 00 38 7C 19 72 04 03 00 50 3B 06 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 3F 5E 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 D4 47 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 04 [23:52:48]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 52 00 00 00 69 04 9B 00 6F 04 04 00 52 00 00 00 B1 04 03 00 88 B7 1F 70 04 03 00 38 7C 19 72 04 03 00 50 3B 06 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 3F 5E 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 D4 47 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [23:52:48]wFMCommunicate OK [23:52:48]wFMCommunicate request_size=4 [23:52:48]MH_SAM_APDU [23:52:48]CAPDU: 80 17 00 00 [23:52:48]Write to MH i2c: E2 08 00 7A 31 80 17 00 00 00 00 00 00 2B [23:52:48]Write i2c OK [23:52:48]MH_I2C_Read... [23:52:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:52:48]Read from MH i2c: E2 [23:52:48]MH_I2C_Read... [23:52:48]Read from MH i2c: E2 FD 00 [23:52:48]MH_I2C_Read... [23:52:48]Read from MH i2c: E2 FD 00 7A 31 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 4D [23:52:48]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 [23:52:48]wFMCommunicate OK [23:52:48]wFMCommunicate request_size=4 [23:52:48]MH_SAM_APDU [23:52:48]CAPDU: 80 17 00 00 [23:52:48]Write to MH i2c: E2 08 00 7B 31 80 17 00 00 00 00 00 00 2C [23:52:48]Write i2c OK [23:52:48]MH_I2C_Read... [23:52:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:52:49]Read from MH i2c: E2 [23:52:49]MH_I2C_Read... [23:52:49]Read from MH i2c: E2 FD 00 [23:52:49]MH_I2C_Read... [23:52:49]Read from MH i2c: E2 FD 00 7B 31 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 E3 [23:52:49]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 [23:52:49]wFMCommunicate OK [23:52:49]wFMCommunicate request_size=4 [23:52:49]MH_SAM_APDU [23:52:49]CAPDU: 80 17 00 00 [23:52:49]Write to MH i2c: E2 08 00 7C 31 80 17 00 00 00 00 00 00 2D [23:52:49]Write i2c OK [23:52:49]MH_I2C_Read... [23:52:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:52:49]Read from MH i2c: E2 [23:52:49]MH_I2C_Read... [23:52:49]Read from MH i2c: E2 FD 00 [23:52:49]MH_I2C_Read... [23:52:49]OFD Sender: No OFD packet to send [23:52:49]Read from MH i2c: E2 FD 00 7C 31 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 9F [23:52:49]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 [23:52:49]wFMCommunicate OK [23:52:49]wFMCommunicate request_size=4 [23:52:49]MH_SAM_APDU [23:52:49]CAPDU: 80 17 00 00 [23:52:49]Write to MH i2c: E2 08 00 7D 31 80 17 00 00 00 00 00 00 2E [23:52:49]Write i2c OK [23:52:49]MH_I2C_Read... [23:52:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [23:52:49]Read from MH i2c: E2 [23:52:49]MH_I2C_Read... [23:52:49]Read from MH i2c: E2 CB 00 [23:52:49]MH_I2C_Read... [23:52:49]Read from MH i2c: E2 CB 00 7D 31 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 17 [23:52:49]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 [23:52:49]wFMCommunicate OK [23:52:49]SAM_PROTO_GetShiftData done [23:52:49]requested_item shift.sale.total_cash is exist - process it [23:52:49]requested_item shift.sale_refund.total is exist - process it [23:52:49]requested_item shift.sale_refund.total_cash is exist - process it [23:52:49]requested_item shift.buy.total is exist - process it [23:52:49]requested_item shift.buy.total_cash is exist - process it [23:52:49]produce_requested_data done [23:52:49]produce_requested_data return {"fm.sale.total":6251617.48,"fm.sale_refund.total":111600.00,"fm.buy.total":0.00,"shift.sale.total":20786.00,"shift.sale.total_cash":16702.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} [23:52:49]process_action_free get_value [23:52:49]json_value_free [23:52:49]json_value_free done [23:52:49]process_json_proto returns [23:52:49]Send response to host [23:52:49]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":6251617.48,"fm.sale_refund.total":111600.00,"fm.buy.total":0.00,"shift.sale.total":20786.00,"shift.sale.total_cash":16702.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}}} [23:52:49]free response buf [23:52:49]execute_script done [23:52:49]execute_script returns [23:52:49]free content buf [23:52:49]Sock 8.Close socket [23:52:49]Sock 8.Thread stoped [23:52:54]OFD Sender: No OFD packet to send [23:52:59]OFD Sender: No OFD packet to send [23:53:04]OFD Sender: No OFD packet to send [23:53:09]OFD Sender: No OFD packet to send [23:53:14]OFD Sender: No OFD packet to send [23:53:19]OFD Sender: No OFD packet to send [23:53:24]OFD Sender: No OFD packet to send [23:53:29]OFD Sender: No OFD packet to send [23:53:34]OFD Sender: No OFD packet to send [23:53:39]OFD Sender: No OFD packet to send [23:53:44]OFD Sender: No OFD packet to send [23:53:49]OFD Sender: No OFD packet to send [23:53:54]OFD Sender: No OFD packet to send [23:53:59]OFD Sender: No OFD packet to send [23:54:04]OFD Sender: No OFD packet to send [23:54:09]OFD Sender: No OFD packet to send [23:54:14]OFD Sender: No OFD packet to send [23:54:19]OFD Sender: No OFD packet to send [23:54:24]OFD Sender: No OFD packet to send [23:54:29]OFD Sender: No OFD packet to send [23:54:34]OFD Sender: No OFD packet to send [23:54:39]OFD Sender: No OFD packet to send [23:54:44]OFD Sender: No OFD packet to send [23:54:49]OFD Sender: No OFD packet to send [23:54:54]OFD Sender: No OFD packet to send [23:54:59]OFD Sender: No OFD packet to send [23:55:04]OFD Sender: No OFD packet to send [23:55:09]OFD Sender: No OFD packet to send [23:55:14]OFD Sender: No OFD packet to send [23:55:19]OFD Sender: No OFD packet to send [23:55:24]OFD Sender: No OFD packet to send [23:55:29]OFD Sender: No OFD packet to send [23:55:34]OFD Sender: No OFD packet to send [23:55:39]OFD Sender: No OFD packet to send [23:55:44]OFD Sender: No OFD packet to send [23:55:49]OFD Sender: No OFD packet to send [23:55:54]OFD Sender: No OFD packet to send [23:55:59]OFD Sender: No OFD packet to send [23:56:04]OFD Sender: No OFD packet to send [23:56:09]OFD Sender: No OFD packet to send [23:56:14]OFD Sender: No OFD packet to send [23:56:19]OFD Sender: No OFD packet to send [23:56:24]OFD Sender: No OFD packet to send [23:56:29]OFD Sender: No OFD packet to send [23:56:34]OFD Sender: No OFD packet to send [23:56:39]OFD Sender: No OFD packet to send [23:56:44]OFD Sender: No OFD packet to send [23:56:49]OFD Sender: No OFD packet to send [23:56:54]OFD Sender: No OFD packet to send [23:56:59]OFD Sender: No OFD packet to send [23:57:04]OFD Sender: No OFD packet to send [23:57:09]OFD Sender: No OFD packet to send [23:57:14]OFD Sender: No OFD packet to send [23:57:19]OFD Sender: No OFD packet to send [23:57:24]OFD Sender: No OFD packet to send [23:57:29]OFD Sender: No OFD packet to send [23:57:34]OFD Sender: No OFD packet to send [23:57:39]OFD Sender: No OFD packet to send [23:57:44]OFD Sender: No OFD packet to send [23:57:49]OFD Sender: No OFD packet to send [23:57:54]OFD Sender: No OFD packet to send [23:57:59]OFD Sender: No OFD packet to send [23:58:04]OFD Sender: No OFD packet to send [23:58:09]OFD Sender: No OFD packet to send [23:58:14]OFD Sender: No OFD packet to send [23:58:19]OFD Sender: No OFD packet to send [23:58:24]OFD Sender: No OFD packet to send [23:58:29]OFD Sender: No OFD packet to send [23:58:34]OFD Sender: No OFD packet to send [23:58:39]OFD Sender: No OFD packet to send [23:58:44]OFD Sender: No OFD packet to send [23:58:49]OFD Sender: No OFD packet to send [23:58:54]OFD Sender: No OFD packet to send [23:58:59]OFD Sender: No OFD packet to send [23:59:04]OFD Sender: No OFD packet to send [23:59:09]OFD Sender: No OFD packet to send [23:59:14]OFD Sender: No OFD packet to send [23:59:19]OFD Sender: No OFD packet to send [23:59:24]OFD Sender: No OFD packet to send [23:59:29]OFD Sender: No OFD packet to send [23:59:34]OFD Sender: No OFD packet to send [23:59:39]OFD Sender: No OFD packet to send [23:59:44]OFD Sender: No OFD packet to send [23:59:45]accept exits with 9 [23:59:45]New connection [23:59:45]New thread 3066838372 created [23:59:45]Thread 3066695012 joined [23:59:45]Waiting for new connection... [23:59:45] Sock 9.Parse request [23:59:45]Sock 9.Check first char [23:59:45]Sock 9.First char is OK [23:59:45]request: POST /json_proto HTTP/1.0 [23:59:45]Method: POST [23:59:45]URL: /json_proto [23:59:45]Method is POST - this is cgi request [23:59:45]url: /json_proto [23:59:45]query_string will be loaded in cgi processing [23:59:45]execute_cgi json_proto POST (null) [23:59:45]execute_cgi path=json_proto method=POST [23:59:45]POST find Content-Length [23:59:45]Host: 172.17.35.133:8080 [23:59:45]Content-Length: 215 [23:59:45]Content-Type: application/json [23:59:45] [23:59:45]POST finish read [23:59:45]Found Content-Length = 215 [23:59:45]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:59:45]execute_script... [23:59:45]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:59:45]POST & json_proto [23:59:45]process_json_proto [23:59:45]json parsed OK: [23:59:45]protocol is kg_v1.0 [23:59:45]action value=get_value [23:59:45]process_action get_value [23:59:45]cmd_get_value [23:59:45]process_action get_value done [23:59:45]requested_data is exist [23:59:45]produce_requested_data [23:59:45]requested_item kkm.sn is exist - process it [23:59:45]requested_item kkm.ver is exist - process it [23:59:45]requested_item fm.sn is exist - process it [23:59:45]wFMCommunicate request_size=4 [23:59:45]MH_SAM_APDU [23:59:45]CAPDU: 80 11 00 00 [23:59:45]Write to MH i2c: E2 08 00 7E 31 80 11 00 00 00 00 00 00 29 [23:59:45]Write i2c OK [23:59:45]MH_I2C_Read... [23:59:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:59:45]Read from MH i2c: E2 [23:59:45]MH_I2C_Read... [23:59:45]Read from MH i2c: E2 17 00 [23:59:45]MH_I2C_Read... [23:59:45]Read from MH i2c: E2 17 00 7E 31 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 7B [23:59:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [23:59:45]wFMCommunicate OK [23:59:45]requested_item fd.num is exist - process it [23:59:45]SAM_PROTO_GetFieldsCounters [23:59:45]wFMCommunicate request_size=4 [23:59:45]MH_SAM_APDU [23:59:45]CAPDU: 80 13 00 00 [23:59:45]Write to MH i2c: E2 08 00 7F 31 80 13 00 00 00 00 00 00 2C [23:59:45]Write i2c OK [23:59:45]MH_I2C_Read... [23:59:46]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:59:46]Read from MH i2c: E2 [23:59:46]MH_I2C_Read... [23:59:46]Read from MH i2c: E2 62 00 [23:59:46]MH_I2C_Read... [23:59:46]Read from MH i2c: E2 62 00 7F 31 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 2D 57 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 52 00 00 00 5E 04 04 00 52 00 00 00 57 04 04 00 53 00 00 00 19 04 04 00 00 00 00 00 90 00 18 [23:59:46]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 2D 57 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 52 00 00 00 5E 04 04 00 52 00 00 00 57 04 04 00 53 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:59:46]wFMCommunicate OK [23:59:46]SAM_PROTO_GetFieldsCounters done [23:59:46]requested_item shift.num is exist - process it [23:59:46]requested_item shift.opened is exist - process it [23:59:46]req_shift_opened [23:59:46]FM_GetShiftState [23:59:46]SAM_PROTO_GetShiftState [23:59:46]wFMCommunicate request_size=4 [23:59:46]MH_SAM_APDU [23:59:46]CAPDU: 80 13 01 00 [23:59:46]Write to MH i2c: E2 08 00 80 31 80 13 01 00 00 00 00 00 2E [23:59:46]Write i2c OK [23:59:46]MH_I2C_Read... [23:59:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:59:46]Read from MH i2c: E2 [23:59:46]MH_I2C_Read... [23:59:46]Read from MH i2c: E2 0E 00 [23:59:46]MH_I2C_Read... [23:59:46]Read from MH i2c: E2 0E 00 80 31 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 4F [23:59:46]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [23:59:46]wFMCommunicate OK [23:59:46]SAM_PROTO_GetShiftState done [23:59:46]FM_GetShiftState done [23:59:46]req_shift_opened done [23:59:46]requested_item shift.open_date is exist - process it [23:59:46]req_shift_open_date [23:59:46]req_shift_open_date done [23:59:46]produce_requested_data done [23:59:46]produce_requested_data return {"kkm.sn":"0300000200","kkm.ver":"001","fm.sn":"0000000000965344","fd.num":22317,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297} [23:59:46]process_action_free get_value [23:59:46]json_value_free [23:59:46]json_value_free done [23:59:46]process_json_proto returns [23:59:46]Send response to host [23:59:46]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000200","kkm.ver":"001","fm.sn":"0000000000965344","fd.num":22317,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297}}} [23:59:46]free response buf [23:59:46]execute_script done [23:59:46]execute_script returns [23:59:46]free content buf [23:59:46]Sock 9.Close socket [23:59:46]Sock 9.Thread stoped [23:59:46]accept exits with 8 [23:59:46]New connection [23:59:46]New thread 3066695012 created [23:59:46]Thread 3066838372 joined [23:59:46]Waiting for new connection... [23:59:46] Sock 8.Parse request [23:59:46]Sock 8.Check first char [23:59:46]Sock 8.First char is OK [23:59:46]request: POST /json_proto HTTP/1.0 [23:59:46]Method: POST [23:59:46]URL: /json_proto [23:59:46]Method is POST - this is cgi request [23:59:46]url: /json_proto [23:59:46]query_string will be loaded in cgi processing [23:59:46]execute_cgi json_proto POST (null) [23:59:46]execute_cgi path=json_proto method=POST [23:59:46]POST find Content-Length [23:59:46]Host: 172.17.35.133:8080 [23:59:46]Content-Length: 331 [23:59:46]Content-Type: application/json [23:59:46] [23:59:46]POST finish read [23:59:46]Found Content-Length = 331 [23:59:46]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:59:46]execute_script... [23:59:46]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" ] } } [23:59:46]POST & json_proto [23:59:46]process_json_proto [23:59:46]json parsed OK: [23:59:46]protocol is kg_v1.0 [23:59:46]action value=get_value [23:59:46]process_action get_value [23:59:46]cmd_get_value [23:59:46]process_action get_value done [23:59:46]requested_data is exist [23:59:46]produce_requested_data [23:59:46]requested_item fm.sale.total is exist - process it [23:59:46]SAM_PROTO_GetFMData [23:59:46]wFMCommunicate request_size=4 [23:59:46]MH_SAM_APDU [23:59:46]CAPDU: 80 13 03 00 [23:59:46]Write to MH i2c: E2 08 00 81 31 80 13 03 00 00 00 00 00 31 [23:59:46]Write i2c OK [23:59:46]MH_I2C_Read... [23:59:46]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:59:46]Read from MH i2c: E2 [23:59:46]MH_I2C_Read... [23:59:46]Read from MH i2c: E2 FD 00 [23:59:46]MH_I2C_Read... [23:59:46]Read from MH i2c: E2 FD 00 81 31 00 C3 04 85 04 BF 04 6E 04 04 00 9F 54 00 00 69 04 A2 00 6F 04 04 00 88 54 00 00 B1 04 04 00 14 36 43 25 70 04 04 00 A8 A2 76 20 72 04 04 00 6C 93 CC 04 00 04 7E 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 95 06 F5 03 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 95 5E 54 EF 03 0B 00 F6 03 01 00 02 F7 03 02 00 66 06 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 17 00 00 00 B1 04 03 00 C0 49 AA 70 04 03 00 48 F9 A9 72 04 02 00 78 50 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 7D 15 12 EF 03 09 00 F6 90 00 D9 [23:59:46]RAPDU: C3 04 85 04 BF 04 6E 04 04 00 9F 54 00 00 69 04 A2 00 6F 04 04 00 88 54 00 00 B1 04 04 00 14 36 43 25 70 04 04 00 A8 A2 76 20 72 04 04 00 6C 93 CC 04 00 04 7E 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 95 06 F5 03 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 95 5E 54 EF 03 0B 00 F6 03 01 00 02 F7 03 02 00 66 06 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 17 00 00 00 B1 04 03 00 C0 49 AA 70 04 03 00 48 F9 A9 72 04 02 00 78 50 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 7D 15 12 EF 03 09 00 F6 90 00 [23:59:46]wFMCommunicate OK [23:59:46]wFMCommunicate request_size=4 [23:59:46]MH_SAM_APDU [23:59:46]CAPDU: 80 17 00 00 [23:59:46]Write to MH i2c: E2 08 00 82 31 80 17 00 00 00 00 00 00 33 [23:59:46]Write i2c OK [23:59:46]MH_I2C_Read... [23:59:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:47]Read from MH i2c: E2 [23:59:47]MH_I2C_Read... [23:59:47]Read from MH i2c: E2 FD 00 [23:59:47]MH_I2C_Read... [23:59:47]Read from MH i2c: E2 FD 00 82 31 00 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 C9 81 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 90 00 3E [23:59:47]RAPDU: 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 C9 81 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 90 00 [23:59:47]wFMCommunicate OK [23:59:47]wFMCommunicate request_size=4 [23:59:47]MH_SAM_APDU [23:59:47]CAPDU: 80 17 00 00 [23:59:47]Write to MH i2c: E2 08 00 83 31 80 17 00 00 00 00 00 00 34 [23:59:47]Write i2c OK [23:59:47]MH_I2C_Read... [23:59:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:47]Read from MH i2c: E2 [23:59:47]MH_I2C_Read... [23:59:47]Read from MH i2c: E2 FD 00 [23:59:47]MH_I2C_Read... [23:59:47]Read from MH i2c: E2 FD 00 83 31 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 52 [23:59:47]RAPDU: 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:59:47]wFMCommunicate OK [23:59:47]wFMCommunicate request_size=4 [23:59:47]MH_SAM_APDU [23:59:47]CAPDU: 80 17 00 00 [23:59:47]Write to MH i2c: E2 08 00 84 31 80 17 00 00 00 00 00 00 35 [23:59:47]Write i2c OK [23:59:47]MH_I2C_Read... [23:59:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:47]Read from MH i2c: E2 [23:59:47]MH_I2C_Read... [23:59:47]Read from MH i2c: E2 FD 00 [23:59:47]MH_I2C_Read... [23:59:47]Read from MH i2c: E2 FD 00 84 31 00 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 A7 [23:59:47]RAPDU: 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:59:47]wFMCommunicate OK [23:59:47]wFMCommunicate request_size=4 [23:59:47]MH_SAM_APDU [23:59:47]CAPDU: 80 17 00 00 [23:59:47]Write to MH i2c: E2 08 00 85 31 80 17 00 00 00 00 00 00 36 [23:59:47]Write i2c OK [23:59:47]MH_I2C_Read... [23:59:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 221! [23:59:47]Read from MH i2c: E2 [23:59:47]MH_I2C_Read... [23:59:47]Read from MH i2c: E2 E0 00 [23:59:47]MH_I2C_Read... [23:59:47]Read from MH i2c: E2 E0 00 85 31 00 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 20 [23:59:47]RAPDU: 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [23:59:48]wFMCommunicate OK [23:59:48]SAM_PROTO_GetFMData done [23:59:48]requested_item fm.sale_refund.total is exist - process it [23:59:48]requested_item fm.buy.total is exist - process it [23:59:48]requested_item shift.sale.total is exist - process it [23:59:48]SAM_PROTO_GetShiftData [23:59:48]wFMCommunicate request_size=4 [23:59:48]MH_SAM_APDU [23:59:48]CAPDU: 80 13 02 00 [23:59:48]Write to MH i2c: E2 08 00 86 31 80 13 02 00 00 00 00 00 35 [23:59:48]Write i2c OK [23:59:48]MH_I2C_Read... [23:59:48]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:59:48]Read from MH i2c: E2 [23:59:48]MH_I2C_Read... [23:59:48]Read from MH i2c: E2 FD 00 [23:59:48]MH_I2C_Read... [23:59:48]Read from MH i2c: E2 FD 00 86 31 00 AE 04 AA 04 AA 04 6E 04 04 00 52 00 00 00 69 04 9B 00 6F 04 04 00 52 00 00 00 B1 04 03 00 88 B7 1F 70 04 03 00 38 7C 19 72 04 03 00 50 3B 06 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 3F 5E 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 D4 47 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 11 [23:59:48]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 52 00 00 00 69 04 9B 00 6F 04 04 00 52 00 00 00 B1 04 03 00 88 B7 1F 70 04 03 00 38 7C 19 72 04 03 00 50 3B 06 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 3F 5E 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 D4 47 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [23:59:48]wFMCommunicate OK [23:59:48]wFMCommunicate request_size=4 [23:59:48]MH_SAM_APDU [23:59:48]CAPDU: 80 17 00 00 [23:59:48]Write to MH i2c: E2 08 00 87 31 80 17 00 00 00 00 00 00 38 [23:59:48]Write i2c OK [23:59:48]MH_I2C_Read... [23:59:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:48]Read from MH i2c: E2 [23:59:48]MH_I2C_Read... [23:59:48]Read from MH i2c: E2 FD 00 [23:59:48]MH_I2C_Read... [23:59:48]Read from MH i2c: E2 FD 00 87 31 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 5A [23:59:48]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 [23:59:48]wFMCommunicate OK [23:59:48]wFMCommunicate request_size=4 [23:59:48]MH_SAM_APDU [23:59:48]CAPDU: 80 17 00 00 [23:59:48]Write to MH i2c: E2 08 00 88 31 80 17 00 00 00 00 00 00 39 [23:59:48]Write i2c OK [23:59:48]MH_I2C_Read... [23:59:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:49]Read from MH i2c: E2 [23:59:49]MH_I2C_Read... [23:59:49]Read from MH i2c: E2 FD 00 [23:59:49]MH_I2C_Read... [23:59:49]Read from MH i2c: E2 FD 00 88 31 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 F0 [23:59:49]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 [23:59:49]wFMCommunicate OK [23:59:49]wFMCommunicate request_size=4 [23:59:49]MH_SAM_APDU [23:59:49]CAPDU: 80 17 00 00 [23:59:49]Write to MH i2c: E2 08 00 89 31 80 17 00 00 00 00 00 00 3A [23:59:49]Write i2c OK [23:59:49]MH_I2C_Read... [23:59:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:49]Read from MH i2c: E2 [23:59:49]MH_I2C_Read... [23:59:49]Read from MH i2c: E2 FD 00 [23:59:49]MH_I2C_Read... [23:59:49]Read from MH i2c: E2 FD 00 89 31 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 AC [23:59:49]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 [23:59:49]wFMCommunicate OK [23:59:49]wFMCommunicate request_size=4 [23:59:49]MH_SAM_APDU [23:59:49]CAPDU: 80 17 00 00 [23:59:49]Write to MH i2c: E2 08 00 8A 31 80 17 00 00 00 00 00 00 3B [23:59:49]Write i2c OK [23:59:49]MH_I2C_Read... [23:59:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [23:59:49]Read from MH i2c: E2 [23:59:49]MH_I2C_Read... [23:59:49]Read from MH i2c: E2 CB 00 [23:59:49]MH_I2C_Read... [23:59:49]Read from MH i2c: E2 CB 00 8A 31 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 24 [23:59:49]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 [23:59:49]wFMCommunicate OK [23:59:49]SAM_PROTO_GetShiftData done [23:59:49]requested_item shift.sale.total_cash is exist - process it [23:59:49]requested_item shift.sale_refund.total is exist - process it [23:59:49]requested_item shift.sale_refund.total_cash is exist - process it [23:59:49]requested_item shift.buy.total is exist - process it [23:59:49]requested_item shift.buy.total_cash is exist - process it [23:59:49]produce_requested_data done [23:59:49]produce_requested_data return {"fm.sale.total":6251617.48,"fm.sale_refund.total":111600.00,"fm.buy.total":0.00,"shift.sale.total":20786.00,"shift.sale.total_cash":16702.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} [23:59:49]process_action_free get_value [23:59:49]json_value_free [23:59:49]json_value_free done [23:59:49]process_json_proto returns [23:59:49]Send response to host [23:59:49]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":6251617.48,"fm.sale_refund.total":111600.00,"fm.buy.total":0.00,"shift.sale.total":20786.00,"shift.sale.total_cash":16702.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}}} [23:59:49]free response buf [23:59:49]execute_script done [23:59:49]execute_script returns [23:59:49]free content buf [23:59:49]Sock 8.Close socket [23:59:49]Sock 8.Thread stoped [23:59:49]accept exits with 9 [23:59:49]New connection [23:59:49]New thread 3066838372 created [23:59:49]Thread 3066695012 joined [23:59:49]Waiting for new connection... [23:59:49] Sock 9.Parse request [23:59:49]Sock 9.Check first char [23:59:49]Sock 9.First char is OK [23:59:49]request: POST /json_proto HTTP/1.0 [23:59:49]Method: POST [23:59:49]URL: /json_proto [23:59:49]Method is POST - this is cgi request [23:59:49]url: /json_proto [23:59:49]query_string will be loaded in cgi processing [23:59:49]execute_cgi json_proto POST (null) [23:59:49]execute_cgi path=json_proto method=POST [23:59:49]POST find Content-Length [23:59:49]Host: 172.17.35.133:8080 [23:59:49]Content-Length: 331 [23:59:49]Content-Type: application/json [23:59:49] [23:59:49]POST finish read [23:59:49]Found Content-Length = 331 [23:59:49]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:59:49]execute_script... [23:59:49]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:59:49]POST & json_proto [23:59:49]process_json_proto [23:59:49]json parsed OK: [23:59:49]protocol is kg_v1.0 [23:59:49]action value=get_value [23:59:49]process_action get_value [23:59:49]cmd_get_value [23:59:49]process_action get_value done [23:59:49]requested_data is exist [23:59:49]produce_requested_data [23:59:49]requested_item fm.sale.total is exist - process it [23:59:49]SAM_PROTO_GetFMData [23:59:49]wFMCommunicate request_size=4 [23:59:49]MH_SAM_APDU [23:59:49]CAPDU: 80 13 03 00 [23:59:49]Write to MH i2c: E2 08 00 8B 31 80 13 03 00 00 00 00 00 3B [23:59:49]Write i2c OK [23:59:49]MH_I2C_Read... [23:59:49]OFD Sender: No OFD packet to send [23:59:50]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:59:50]Read from MH i2c: E2 [23:59:50]MH_I2C_Read... [23:59:50]Read from MH i2c: E2 FD 00 [23:59:50]MH_I2C_Read... [23:59:50]Read from MH i2c: E2 FD 00 8B 31 00 C3 04 85 04 BF 04 6E 04 04 00 9F 54 00 00 69 04 A2 00 6F 04 04 00 88 54 00 00 B1 04 04 00 14 36 43 25 70 04 04 00 A8 A2 76 20 72 04 04 00 6C 93 CC 04 00 04 7E 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 95 06 F5 03 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 95 5E 54 EF 03 0B 00 F6 03 01 00 02 F7 03 02 00 66 06 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 17 00 00 00 B1 04 03 00 C0 49 AA 70 04 03 00 48 F9 A9 72 04 02 00 78 50 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 7D 15 12 EF 03 09 00 F6 90 00 E3 [23:59:50]RAPDU: C3 04 85 04 BF 04 6E 04 04 00 9F 54 00 00 69 04 A2 00 6F 04 04 00 88 54 00 00 B1 04 04 00 14 36 43 25 70 04 04 00 A8 A2 76 20 72 04 04 00 6C 93 CC 04 00 04 7E 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 95 06 F5 03 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 95 5E 54 EF 03 0B 00 F6 03 01 00 02 F7 03 02 00 66 06 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 17 00 00 00 B1 04 03 00 C0 49 AA 70 04 03 00 48 F9 A9 72 04 02 00 78 50 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 7D 15 12 EF 03 09 00 F6 90 00 [23:59:50]wFMCommunicate OK [23:59:50]wFMCommunicate request_size=4 [23:59:50]MH_SAM_APDU [23:59:50]CAPDU: 80 17 00 00 [23:59:50]Write to MH i2c: E2 08 00 8C 31 80 17 00 00 00 00 00 00 3D [23:59:50]Write i2c OK [23:59:50]MH_I2C_Read... [23:59:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:50]Read from MH i2c: E2 [23:59:50]MH_I2C_Read... [23:59:50]Read from MH i2c: E2 FD 00 [23:59:50]MH_I2C_Read... [23:59:50]Read from MH i2c: E2 FD 00 8C 31 00 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 C9 81 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 90 00 48 [23:59:50]RAPDU: 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 C9 81 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 90 00 [23:59:50]wFMCommunicate OK [23:59:50]wFMCommunicate request_size=4 [23:59:50]MH_SAM_APDU [23:59:50]CAPDU: 80 17 00 00 [23:59:50]Write to MH i2c: E2 08 00 8D 31 80 17 00 00 00 00 00 00 3E [23:59:50]Write i2c OK [23:59:50]MH_I2C_Read... [23:59:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:50]Read from MH i2c: E2 [23:59:50]MH_I2C_Read... [23:59:50]Read from MH i2c: E2 FD 00 [23:59:50]MH_I2C_Read... [23:59:50]Read from MH i2c: E2 FD 00 8D 31 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 5C [23:59:50]RAPDU: 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:59:50]wFMCommunicate OK [23:59:50]wFMCommunicate request_size=4 [23:59:50]MH_SAM_APDU [23:59:50]CAPDU: 80 17 00 00 [23:59:50]Write to MH i2c: E2 08 00 8E 31 80 17 00 00 00 00 00 00 3F [23:59:50]Write i2c OK [23:59:50]MH_I2C_Read... [23:59:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:51]Read from MH i2c: E2 [23:59:51]MH_I2C_Read... [23:59:51]Read from MH i2c: E2 FD 00 [23:59:51]MH_I2C_Read... [23:59:51]Read from MH i2c: E2 FD 00 8E 31 00 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 B1 [23:59:51]RAPDU: 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:59:51]wFMCommunicate OK [23:59:51]wFMCommunicate request_size=4 [23:59:51]MH_SAM_APDU [23:59:51]CAPDU: 80 17 00 00 [23:59:51]Write to MH i2c: E2 08 00 8F 31 80 17 00 00 00 00 00 00 40 [23:59:51]Write i2c OK [23:59:51]MH_I2C_Read... [23:59:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 221! [23:59:51]Read from MH i2c: E2 [23:59:51]MH_I2C_Read... [23:59:51]Read from MH i2c: E2 E0 00 [23:59:51]MH_I2C_Read... [23:59:51]Read from MH i2c: E2 E0 00 8F 31 00 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 2A [23:59:51]RAPDU: 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [23:59:51]wFMCommunicate OK [23:59:51]SAM_PROTO_GetFMData done [23:59:51]requested_item fm.sale_refund.total is exist - process it [23:59:51]requested_item fm.buy.total is exist - process it [23:59:51]requested_item shift.sale.total is exist - process it [23:59:51]SAM_PROTO_GetShiftData [23:59:51]wFMCommunicate request_size=4 [23:59:51]MH_SAM_APDU [23:59:51]CAPDU: 80 13 02 00 [23:59:51]Write to MH i2c: E2 08 00 90 31 80 13 02 00 00 00 00 00 3F [23:59:51]Write i2c OK [23:59:51]MH_I2C_Read... [23:59:52]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:59:52]Read from MH i2c: E2 [23:59:52]MH_I2C_Read... [23:59:52]Read from MH i2c: E2 FD 00 [23:59:52]MH_I2C_Read... [23:59:52]Read from MH i2c: E2 FD 00 90 31 00 AE 04 AA 04 AA 04 6E 04 04 00 52 00 00 00 69 04 9B 00 6F 04 04 00 52 00 00 00 B1 04 03 00 88 B7 1F 70 04 03 00 38 7C 19 72 04 03 00 50 3B 06 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 3F 5E 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 D4 47 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 1B [23:59:52]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 52 00 00 00 69 04 9B 00 6F 04 04 00 52 00 00 00 B1 04 03 00 88 B7 1F 70 04 03 00 38 7C 19 72 04 03 00 50 3B 06 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 3F 5E 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 D4 47 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [23:59:52]wFMCommunicate OK [23:59:52]wFMCommunicate request_size=4 [23:59:52]MH_SAM_APDU [23:59:52]CAPDU: 80 17 00 00 [23:59:52]Write to MH i2c: E2 08 00 91 31 80 17 00 00 00 00 00 00 42 [23:59:52]Write i2c OK [23:59:52]MH_I2C_Read... [23:59:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:52]Read from MH i2c: E2 [23:59:52]MH_I2C_Read... [23:59:52]Read from MH i2c: E2 FD 00 [23:59:52]MH_I2C_Read... [23:59:52]Read from MH i2c: E2 FD 00 91 31 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 64 [23:59:52]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 [23:59:52]wFMCommunicate OK [23:59:52]wFMCommunicate request_size=4 [23:59:52]MH_SAM_APDU [23:59:52]CAPDU: 80 17 00 00 [23:59:52]Write to MH i2c: E2 08 00 92 31 80 17 00 00 00 00 00 00 43 [23:59:52]Write i2c OK [23:59:52]MH_I2C_Read... [23:59:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:52]Read from MH i2c: E2 [23:59:52]MH_I2C_Read... [23:59:52]Read from MH i2c: E2 FD 00 [23:59:53]MH_I2C_Read... [23:59:53]Read from MH i2c: E2 FD 00 92 31 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 FA [23:59:53]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 [23:59:53]wFMCommunicate OK [23:59:53]wFMCommunicate request_size=4 [23:59:53]MH_SAM_APDU [23:59:53]CAPDU: 80 17 00 00 [23:59:53]Write to MH i2c: E2 08 00 93 31 80 17 00 00 00 00 00 00 44 [23:59:53]Write i2c OK [23:59:53]MH_I2C_Read... [23:59:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:53]Read from MH i2c: E2 [23:59:53]MH_I2C_Read... [23:59:53]Read from MH i2c: E2 FD 00 [23:59:53]MH_I2C_Read... [23:59:53]Read from MH i2c: E2 FD 00 93 31 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 B6 [23:59:53]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 [23:59:53]wFMCommunicate OK [23:59:53]wFMCommunicate request_size=4 [23:59:53]MH_SAM_APDU [23:59:53]CAPDU: 80 17 00 00 [23:59:53]Write to MH i2c: E2 08 00 94 31 80 17 00 00 00 00 00 00 45 [23:59:53]Write i2c OK [23:59:53]MH_I2C_Read... [23:59:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [23:59:53]Read from MH i2c: E2 [23:59:53]MH_I2C_Read... [23:59:53]Read from MH i2c: E2 CB 00 [23:59:53]MH_I2C_Read... [23:59:53]Read from MH i2c: E2 CB 00 94 31 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 2E [23:59:53]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 [23:59:54]wFMCommunicate OK [23:59:54]SAM_PROTO_GetShiftData done [23:59:54]requested_item shift.sale.total_cash is exist - process it [23:59:54]requested_item shift.sale_refund.total is exist - process it [23:59:54]requested_item shift.sale_refund.total_cash is exist - process it [23:59:54]requested_item shift.buy.total is exist - process it [23:59:54]requested_item shift.buy.total_cash is exist - process it [23:59:54]produce_requested_data done [23:59:54]produce_requested_data return {"fm.sale.total":6251617.48,"fm.sale_refund.total":111600.00,"fm.buy.total":0.00,"shift.sale.total":20786.00,"shift.sale.total_cash":16702.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} [23:59:54]process_action_free get_value [23:59:54]json_value_free [23:59:54]json_value_free done [23:59:54]process_json_proto returns [23:59:54]Send response to host [23:59:54]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":6251617.48,"fm.sale_refund.total":111600.00,"fm.buy.total":0.00,"shift.sale.total":20786.00,"shift.sale.total_cash":16702.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}}} [23:59:54]free response buf [23:59:54]execute_script done [23:59:54]execute_script returns [23:59:54]free content buf [23:59:54]Sock 9.Close socket [23:59:54]Sock 9.Thread stoped [23:59:54]accept exits with 8 [23:59:54]New connection [23:59:54]New thread 3066695012 created [23:59:54]Thread 3066838372 joined [23:59:54]Waiting for new connection... [23:59:54] Sock 8.Parse request [23:59:54]Sock 8.Check first char [23:59:54]Sock 8.First char is OK [23:59:54]request: POST /json_proto HTTP/1.0 [23:59:54]Method: POST [23:59:54]URL: /json_proto [23:59:54]Method is POST - this is cgi request [23:59:54]url: /json_proto [23:59:54]query_string will be loaded in cgi processing [23:59:54]execute_cgi json_proto POST (null) [23:59:54]execute_cgi path=json_proto method=POST [23:59:54]POST find Content-Length [23:59:54]Host: 172.17.35.133:8080 [23:59:54]Content-Length: 275 [23:59:54]Content-Type: application/json [23:59:54] [23:59:54]POST finish read [23:59:54]Found Content-Length = 275 [23:59:54]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u041A\u0430\u0434\u044B\u0440\u043A\u0443\u043B\u043E\u0432\u0430 \u0411. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:59:54]execute_script... [23:59:54]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u041A\u0430\u0434\u044B\u0440\u043A\u0443\u043B\u043E\u0432\u0430 \u0411. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:59:54]POST & json_proto [23:59:54]process_json_proto [23:59:54]json parsed OK: [23:59:54]protocol is kg_v1.0 [23:59:54]action value=x_report [23:59:54]process_action x_report [23:59:54]cmd_x_report [23:59:54]MH_GetDate [23:59:54]Write to MH i2c: F0 00 00 95 31 B5 [23:59:54]Write i2c OK [23:59:54]MH_I2C_Read... [23:59:54]Read from MH i2c: F0 [23:59:54]MH_I2C_Read... [23:59:54]Read from MH i2c: F0 09 00 [23:59:54]MH_I2C_Read... [23:59:54]Read from MH i2c: F0 09 00 95 31 00 84 7C 6F 66 8C 55 28 65 01 [23:59:54]GetLastDocTimeStamp 1718581657 [23:59:54]current date 1718582404 [23:59:54]FM_GetShiftState [23:59:54]SAM_PROTO_GetShiftState [23:59:54]wFMCommunicate request_size=4 [23:59:54]MH_SAM_APDU [23:59:54]CAPDU: 80 13 01 00 [23:59:54]Write to MH i2c: E2 08 00 96 31 80 13 01 00 00 00 00 00 44 [23:59:54]Write i2c OK [23:59:54]MH_I2C_Read... [23:59:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:59:54]Read from MH i2c: E2 [23:59:54]MH_I2C_Read... [23:59:54]Read from MH i2c: E2 0E 00 [23:59:54]MH_I2C_Read... [23:59:54]Read from MH i2c: E2 0E 00 96 31 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 65 [23:59:54]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [23:59:54]wFMCommunicate OK [23:59:54]SAM_PROTO_GetShiftState done [23:59:54]FM_GetShiftState done [23:59:54]KKMCreateXReportDocument [23:59:54]Load OK [23:59:54]Malloc new data [23:59:54]MH_GetDate [23:59:54]Write to MH i2c: F0 00 00 97 31 B7 [23:59:54]Write i2c OK [23:59:54]MH_I2C_Read... [23:59:54]Read from MH i2c: F0 [23:59:54]MH_I2C_Read... [23:59:54]Read from MH i2c: F0 09 00 [23:59:54]MH_I2C_Read... [23:59:54]Read from MH i2c: F0 09 00 97 31 00 84 7C 6F 66 8C 55 28 65 03 [23:59:54]Malloc new data [23:59:54]Malloc new data [23:59:54]wFMCommunicate request_size=4 [23:59:54]MH_SAM_APDU [23:59:54]CAPDU: 80 11 00 00 [23:59:54]Write to MH i2c: E2 08 00 98 31 80 11 00 00 00 00 00 00 43 [23:59:54]Write i2c OK [23:59:54]MH_I2C_Read... [23:59:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:59:54]Read from MH i2c: E2 [23:59:54]MH_I2C_Read... [23:59:54]Read from MH i2c: E2 17 00 [23:59:54]MH_I2C_Read... [23:59:54]Read from MH i2c: E2 17 00 98 31 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 95 [23:59:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [23:59:54]wFMCommunicate OK [23:59:54]SAM_PROTO_GetFieldsCounters [23:59:54]wFMCommunicate request_size=4 [23:59:54]MH_SAM_APDU [23:59:54]CAPDU: 80 13 00 00 [23:59:54]Write to MH i2c: E2 08 00 99 31 80 13 00 00 00 00 00 00 46 [23:59:54]Write i2c OK [23:59:54]MH_I2C_Read... [23:59:54]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:59:54]Read from MH i2c: E2 [23:59:54]MH_I2C_Read... [23:59:54]Read from MH i2c: E2 62 00 [23:59:54]MH_I2C_Read... [23:59:54]Read from MH i2c: E2 62 00 99 31 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 2D 57 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 52 00 00 00 5E 04 04 00 52 00 00 00 57 04 04 00 53 00 00 00 19 04 04 00 00 00 00 00 90 00 32 [23:59:54]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 2D 57 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 52 00 00 00 5E 04 04 00 52 00 00 00 57 04 04 00 53 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:59:54]wFMCommunicate OK [23:59:54]SAM_PROTO_GetFieldsCounters done [23:59:54]Malloc new data [23:59:54]Malloc new data [23:59:54]Malloc new data [23:59:54]KKMCreateXReportDocument OK [23:59:54]KKMSetXReportData OK [23:59:54]KKMPrepareXReportFMData [23:59:54]SAM_PROTO_GetShiftData [23:59:54]wFMCommunicate request_size=4 [23:59:54]MH_SAM_APDU [23:59:54]CAPDU: 80 13 02 00 [23:59:54]Write to MH i2c: E2 08 00 9A 31 80 13 02 00 00 00 00 00 49 [23:59:54]Write i2c OK [23:59:54]MH_I2C_Read... [23:59:54]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:59:54]OFD Sender: No OFD packet to send [23:59:54]Read from MH i2c: E2 [23:59:54]MH_I2C_Read... [23:59:54]Read from MH i2c: E2 FD 00 [23:59:54]MH_I2C_Read... [23:59:55]Read from MH i2c: E2 FD 00 9A 31 00 AE 04 AA 04 AA 04 6E 04 04 00 52 00 00 00 69 04 9B 00 6F 04 04 00 52 00 00 00 B1 04 03 00 88 B7 1F 70 04 03 00 38 7C 19 72 04 03 00 50 3B 06 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 3F 5E 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 D4 47 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 25 [23:59:55]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 52 00 00 00 69 04 9B 00 6F 04 04 00 52 00 00 00 B1 04 03 00 88 B7 1F 70 04 03 00 38 7C 19 72 04 03 00 50 3B 06 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 3F 5E 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 D4 47 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [23:59:55]wFMCommunicate OK [23:59:55]wFMCommunicate request_size=4 [23:59:55]MH_SAM_APDU [23:59:55]CAPDU: 80 17 00 00 [23:59:55]Write to MH i2c: E2 08 00 9B 31 80 17 00 00 00 00 00 00 4C [23:59:55]Write i2c OK [23:59:55]MH_I2C_Read... [23:59:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:55]Read from MH i2c: E2 [23:59:55]MH_I2C_Read... [23:59:55]Read from MH i2c: E2 FD 00 [23:59:55]MH_I2C_Read... [23:59:55]Read from MH i2c: E2 FD 00 9B 31 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 6E [23:59:55]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 [23:59:55]wFMCommunicate OK [23:59:55]wFMCommunicate request_size=4 [23:59:55]MH_SAM_APDU [23:59:55]CAPDU: 80 17 00 00 [23:59:55]Write to MH i2c: E2 08 00 9C 31 80 17 00 00 00 00 00 00 4D [23:59:55]Write i2c OK [23:59:55]MH_I2C_Read... [23:59:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:55]Read from MH i2c: E2 [23:59:55]MH_I2C_Read... [23:59:55]Read from MH i2c: E2 FD 00 [23:59:55]MH_I2C_Read... [23:59:55]Read from MH i2c: E2 FD 00 9C 31 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 04 [23:59:55]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 [23:59:56]wFMCommunicate OK [23:59:56]wFMCommunicate request_size=4 [23:59:56]MH_SAM_APDU [23:59:56]CAPDU: 80 17 00 00 [23:59:56]Write to MH i2c: E2 08 00 9D 31 80 17 00 00 00 00 00 00 4E [23:59:56]Write i2c OK [23:59:56]MH_I2C_Read... [23:59:56]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:56]Read from MH i2c: E2 [23:59:56]MH_I2C_Read... [23:59:56]Read from MH i2c: E2 FD 00 [23:59:56]MH_I2C_Read... [23:59:56]Read from MH i2c: E2 FD 00 9D 31 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 C0 [23:59:56]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 [23:59:56]wFMCommunicate OK [23:59:56]wFMCommunicate request_size=4 [23:59:56]MH_SAM_APDU [23:59:56]CAPDU: 80 17 00 00 [23:59:56]Write to MH i2c: E2 08 00 9E 31 80 17 00 00 00 00 00 00 4F [23:59:56]Write i2c OK [23:59:56]MH_I2C_Read... [23:59:56]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [23:59:56]Read from MH i2c: E2 [23:59:56]MH_I2C_Read... [23:59:56]Read from MH i2c: E2 CB 00 [23:59:56]MH_I2C_Read... [23:59:56]Read from MH i2c: E2 CB 00 9E 31 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 38 [23:59:56]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 [23:59:56]wFMCommunicate OK [23:59:56]SAM_PROTO_GetShiftData done [23:59:56]1194 (1194) - счетчики итогов смены [23:59:56] 1134 (4) - 82 - количество чеков со всеми признаками расчетов [23:59:56] 1129 (155) - счетчики операций «приход» [23:59:56] 1135 (4) - 82 - количество чеков по признаку расчетов [23:59:56] 1201 (3) - 20786.00 - общая итоговая сумма в чеках [23:59:56] 1136 (3) - 16702.00 - итоговая сумма в чеках наличными [23:59:56] 1138 (3) - 4084.00 - итоговая сумма в чеках безналичными [23:59:56] 1024 (122) - суммы налогов [23:59:56] 1006 (9) - суммы НДС [23:59:56] 1010 (1) - 0% - код ставки НДС [23:59:56] 1011 (0) - 0.00 - сумма НДС по ставке [23:59:56] 1006 (12) - суммы НДС [23:59:56] 1010 (1) - 12% - код ставки НДС [23:59:56] 1011 (3) - 2207.35 - сумма НДС по ставке [23:59:56] 1007 (9) - суммы НСП [23:59:56] 1014 (1) - 0% - код ставки НСП [23:59:56] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:56] 1007 (11) - суммы НСП [23:59:56] 1014 (1) - 1% - код ставки НСП [23:59:56] 1015 (2) - 183.88 - сумма НСП по ставке [23:59:56] 1007 (9) - суммы НСП [23:59:56] 1014 (1) - 2% - код ставки НСП [23:59:56] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:56] 1007 (9) - суммы НСП [23:59:56] 1014 (1) - 3% - код ставки НСП [23:59:56] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:56] 1007 (9) - суммы НСП [23:59:56] 1014 (1) - 5% - код ставки НСП [23:59:56] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:57] 1007 (9) - суммы НСП [23:59:57] 1014 (1) - 0,50% - код ставки НСП [23:59:57] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:57] 1007 (9) - суммы НСП [23:59:57] 1014 (1) - 1,50% - код ставки НСП [23:59:57] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:57] 1130 (141) - счетчики операций «возврат прихода» [23:59:57] 1135 (4) - 0 - количество чеков по признаку расчетов [23:59:57] 1201 (0) - 0.00 - общая итоговая сумма в чеках [23:59:57] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [23:59:57] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:59:57] 1024 (117) - суммы налогов [23:59:57] 1006 (9) - суммы НДС [23:59:57] 1010 (1) - 0% - код ставки НДС [23:59:57] 1011 (0) - 0.00 - сумма НДС по ставке [23:59:57] 1006 (9) - суммы НДС [23:59:57] 1010 (1) - 12% - код ставки НДС [23:59:57] 1011 (0) - 0.00 - сумма НДС по ставке [23:59:57] 1007 (9) - суммы НСП [23:59:57] 1014 (1) - 0% - код ставки НСП [23:59:57] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:57] 1007 (9) - суммы НСП [23:59:57] 1014 (1) - 1% - код ставки НСП [23:59:57] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:57] 1007 (9) - суммы НСП [23:59:57] 1014 (1) - 2% - код ставки НСП [23:59:57] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:57] 1007 (9) - суммы НСП [23:59:57] 1014 (1) - 3% - код ставки НСП [23:59:57] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:57] 1007 (9) - суммы НСП [23:59:57] 1014 (1) - 5% - код ставки НСП [23:59:57] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:57] 1007 (9) - суммы НСП [23:59:57] 1014 (1) - 0,50% - код ставки НСП [23:59:57] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:57] 1007 (9) - суммы НСП [23:59:57] 1014 (1) - 1,50% - код ставки НСП [23:59:57] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:57] 1131 (141) - счетчики операций «расход» [23:59:57] 1135 (4) - 0 - количество чеков по признаку расчетов [23:59:57] 1201 (0) - 0.00 - общая итоговая сумма в чеках [23:59:57] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [23:59:57] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:59:57] 1024 (117) - суммы налогов [23:59:57] 1006 (9) - суммы НДС [23:59:57] 1010 (1) - 0% - код ставки НДС [23:59:57] 1011 (0) - 0.00 - сумма НДС по ставке [23:59:57] 1006 (9) - суммы НДС [23:59:57] 1010 (1) - 12% - код ставки НДС [23:59:57] 1011 (0) - 0.00 - сумма НДС по ставке [23:59:57] 1007 (9) - суммы НСП [23:59:57] 1014 (1) - 0% - код ставки НСП [23:59:57] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:57] 1007 (9) - суммы НСП [23:59:57] 1014 (1) - 1% - код ставки НСП [23:59:57] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:57] 1007 (9) - суммы НСП [23:59:57] 1014 (1) - 2% - код ставки НСП [23:59:57] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:57] 1007 (9) - суммы НСП [23:59:57] 1014 (1) - 3% - код ставки НСП [23:59:57] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:57] 1007 (9) - суммы НСП [23:59:57] 1014 (1) - 5% - код ставки НСП [23:59:57] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:57] 1007 (9) - суммы НСП [23:59:57] 1014 (1) - 0,50% - код ставки НСП [23:59:57] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:57] 1007 (9) - суммы НСП [23:59:57] 1014 (1) - 1,50% - код ставки НСП [23:59:57] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:57] 1132 (141) - счетчики операций «возврат расхода» [23:59:57] 1135 (4) - 0 - количество чеков по признаку расчетов [23:59:57] 1201 (0) - 0.00 - общая итоговая сумма в чеках [23:59:57] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [23:59:57] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:59:57] 1024 (117) - суммы налогов [23:59:57] 1006 (9) - суммы НДС [23:59:57] 1010 (1) - 0% - код ставки НДС [23:59:57] 1011 (0) - 0.00 - сумма НДС по ставке [23:59:57] 1006 (9) - суммы НДС [23:59:57] 1010 (1) - 12% - код ставки НДС [23:59:57] 1011 (0) - 0.00 - сумма НДС по ставке [23:59:57] 1007 (9) - суммы НСП [23:59:57] 1014 (1) - 0% - код ставки НСП [23:59:57] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:57] 1007 (9) - суммы НСП [23:59:57] 1014 (1) - 1% - код ставки НСП [23:59:57] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:57] 1007 (9) - суммы НСП [23:59:57] 1014 (1) - 2% - код ставки НСП [23:59:57] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:57] 1007 (9) - суммы НСП [23:59:57] 1014 (1) - 3% - код ставки НСП [23:59:57] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:57] 1007 (9) - суммы НСП [23:59:57] 1014 (1) - 5% - код ставки НСП [23:59:57] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:57] 1007 (9) - суммы НСП [23:59:57] 1014 (1) - 0,50% - код ставки НСП [23:59:57] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:57] 1007 (9) - суммы НСП [23:59:57] 1014 (1) - 1,50% - код ставки НСП [23:59:57] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:57] 1133 (588) - - счетчики коррекции - не используются [23:59:57]SetTLVBufToDocument [23:59:57]Processing tag 1194 (04AA) [23:59:57]Load OK [23:59:57]SetTLVBufToDocument [23:59:57]Processing tag 1134 (046E) [23:59:57]Malloc new data [23:59:57]Processing tag 1129 (0469) [23:59:57]Load OK [23:59:57]SetTLVBufToDocument [23:59:57]Processing tag 1135 (046F) [23:59:57]Malloc new data [23:59:57]Processing tag 1201 (04B1) [23:59:57]Malloc new data [23:59:57]Processing tag 1136 (0470) [23:59:57]Malloc new data [23:59:57]Processing tag 1138 (0472) [23:59:57]Malloc new data [23:59:57]Processing tag 1024 (0400) [23:59:57]Load OK [23:59:57]SetTLVBufToDocument [23:59:57]Processing tag 1006 (03EE) [23:59:57]Load OK [23:59:57]SetTLVBufToDocument [23:59:57]Processing tag 1010 (03F2) [23:59:57]Malloc new data [23:59:57]Processing tag 1011 (03F3) [23:59:57]Malloc new data [23:59:57]SetTLVBufToDocument err=0 [23:59:57]Processing tag 1006 (03EE) [23:59:57]Load OK [23:59:57]SetTLVBufToDocument [23:59:57]Processing tag 1010 (03F2) [23:59:57]Malloc new data [23:59:57]Processing tag 1011 (03F3) [23:59:57]Malloc new data [23:59:57]SetTLVBufToDocument err=0 [23:59:57]Processing tag 1007 (03EF) [23:59:57]Load OK [23:59:57]SetTLVBufToDocument [23:59:57]Processing tag 1014 (03F6) [23:59:57]Malloc new data [23:59:57]Processing tag 1015 (03F7) [23:59:57]Malloc new data [23:59:57]SetTLVBufToDocument err=0 [23:59:57]Processing tag 1007 (03EF) [23:59:57]Load OK [23:59:57]SetTLVBufToDocument [23:59:57]Processing tag 1014 (03F6) [23:59:57]Malloc new data [23:59:57]Processing tag 1015 (03F7) [23:59:57]Malloc new data [23:59:57]SetTLVBufToDocument err=0 [23:59:57]Processing tag 1007 (03EF) [23:59:57]Load OK [23:59:57]SetTLVBufToDocument [23:59:57]Processing tag 1014 (03F6) [23:59:57]Malloc new data [23:59:57]Processing tag 1015 (03F7) [23:59:57]Malloc new data [23:59:57]SetTLVBufToDocument err=0 [23:59:57]Processing tag 1007 (03EF) [23:59:57]Load OK [23:59:57]SetTLVBufToDocument [23:59:57]Processing tag 1014 (03F6) [23:59:57]Malloc new data [23:59:57]Processing tag 1015 (03F7) [23:59:57]Malloc new data [23:59:57]SetTLVBufToDocument err=0 [23:59:57]Processing tag 1007 (03EF) [23:59:57]Load OK [23:59:57]SetTLVBufToDocument [23:59:57]Processing tag 1014 (03F6) [23:59:57]Malloc new data [23:59:57]Processing tag 1015 (03F7) [23:59:57]Malloc new data [23:59:57]SetTLVBufToDocument err=0 [23:59:57]Processing tag 1007 (03EF) [23:59:57]Load OK [23:59:57]SetTLVBufToDocument [23:59:57]Processing tag 1014 (03F6) [23:59:57]Malloc new data [23:59:57]Processing tag 1015 (03F7) [23:59:57]Malloc new data [23:59:57]SetTLVBufToDocument err=0 [23:59:57]Processing tag 1007 (03EF) [23:59:57]Load OK [23:59:57]SetTLVBufToDocument [23:59:57]Processing tag 1014 (03F6) [23:59:57]Malloc new data [23:59:57]Processing tag 1015 (03F7) [23:59:57]Malloc new data [23:59:57]SetTLVBufToDocument err=0 [23:59:57]SetTLVBufToDocument err=0 [23:59:57]SetTLVBufToDocument err=0 [23:59:57]Processing tag 1130 (046A) [23:59:57]Load OK [23:59:57]SetTLVBufToDocument [23:59:57]Processing tag 1135 (046F) [23:59:57]Malloc new data [23:59:57]Processing tag 1201 (04B1) [23:59:57]Malloc new data [23:59:57]Processing tag 1136 (0470) [23:59:57]Malloc new data [23:59:57]Processing tag 1138 (0472) [23:59:57]Malloc new data [23:59:57]Processing tag 1024 (0400) [23:59:57]Load OK [23:59:57]SetTLVBufToDocument [23:59:57]Processing tag 1006 (03EE) [23:59:57]Load OK [23:59:57]SetTLVBufToDocument [23:59:57]Processing tag 1010 (03F2) [23:59:57]Malloc new data [23:59:57]Processing tag 1011 (03F3) [23:59:57]Malloc new data [23:59:57]SetTLVBufToDocument err=0 [23:59:57]Processing tag 1006 (03EE) [23:59:57]Load OK [23:59:57]SetTLVBufToDocument [23:59:57]Processing tag 1010 (03F2) [23:59:57]Malloc new data [23:59:57]Processing tag 1011 (03F3) [23:59:57]Malloc new data [23:59:57]SetTLVBufToDocument err=0 [23:59:57]Processing tag 1007 (03EF) [23:59:57]Load OK [23:59:57]SetTLVBufToDocument [23:59:57]Processing tag 1014 (03F6) [23:59:57]Malloc new data [23:59:57]Processing tag 1015 (03F7) [23:59:57]Malloc new data [23:59:57]SetTLVBufToDocument err=0 [23:59:57]Processing tag 1007 (03EF) [23:59:57]Load OK [23:59:57]SetTLVBufToDocument [23:59:57]Processing tag 1014 (03F6) [23:59:57]Malloc new data [23:59:57]Processing tag 1015 (03F7) [23:59:57]Malloc new data [23:59:57]SetTLVBufToDocument err=0 [23:59:57]Processing tag 1007 (03EF) [23:59:57]Load OK [23:59:57]SetTLVBufToDocument [23:59:57]Processing tag 1014 (03F6) [23:59:57]Malloc new data [23:59:57]Processing tag 1015 (03F7) [23:59:57]Malloc new data [23:59:57]SetTLVBufToDocument err=0 [23:59:57]Processing tag 1007 (03EF) [23:59:57]Load OK [23:59:57]SetTLVBufToDocument [23:59:57]Processing tag 1014 (03F6) [23:59:57]Malloc new data [23:59:57]Processing tag 1015 (03F7) [23:59:57]Malloc new data [23:59:57]SetTLVBufToDocument err=0 [23:59:57]Processing tag 1007 (03EF) [23:59:57]Load OK [23:59:57]SetTLVBufToDocument [23:59:57]Processing tag 1014 (03F6) [23:59:57]Malloc new data [23:59:57]Processing tag 1015 (03F7) [23:59:57]Malloc new data [23:59:57]SetTLVBufToDocument err=0 [23:59:57]Processing tag 1007 (03EF) [23:59:57]Load OK [23:59:57]SetTLVBufToDocument [23:59:57]Processing tag 1014 (03F6) [23:59:57]Malloc new data [23:59:57]Processing tag 1015 (03F7) [23:59:57]Malloc new data [23:59:57]SetTLVBufToDocument err=0 [23:59:57]Processing tag 1007 (03EF) [23:59:57]Load OK [23:59:57]SetTLVBufToDocument [23:59:57]Processing tag 1014 (03F6) [23:59:57]Malloc new data [23:59:57]Processing tag 1015 (03F7) [23:59:57]Malloc new data [23:59:57]SetTLVBufToDocument err=0 [23:59:57]SetTLVBufToDocument err=0 [23:59:57]SetTLVBufToDocument err=0 [23:59:57]Processing tag 1131 (046B) [23:59:57]Load OK [23:59:57]SetTLVBufToDocument [23:59:57]Processing tag 1135 (046F) [23:59:57]Malloc new data [23:59:57]Processing tag 1201 (04B1) [23:59:57]Malloc new data [23:59:57]Processing tag 1136 (0470) [23:59:57]Malloc new data [23:59:57]Processing tag 1138 (0472) [23:59:57]Malloc new data [23:59:57]Processing tag 1024 (0400) [23:59:57]Load OK [23:59:57]SetTLVBufToDocument [23:59:57]Processing tag 1006 (03EE) [23:59:57]Load OK [23:59:57]SetTLVBufToDocument [23:59:57]Processing tag 1010 (03F2) [23:59:57]Malloc new data [23:59:57]Processing tag 1011 (03F3) [23:59:57]Malloc new data [23:59:57]SetTLVBufToDocument err=0 [23:59:57]Processing tag 1006 (03EE) [23:59:57]Load OK [23:59:57]SetTLVBufToDocument [23:59:57]Processing tag 1010 (03F2) [23:59:57]Malloc new data [23:59:57]Processing tag 1011 (03F3) [23:59:57]Malloc new data [23:59:57]SetTLVBufToDocument err=0 [23:59:57]Processing tag 1007 (03EF) [23:59:57]Load OK [23:59:57]SetTLVBufToDocument [23:59:57]Processing tag 1014 (03F6) [23:59:57]Malloc new data [23:59:57]Processing tag 1015 (03F7) [23:59:57]Malloc new data [23:59:57]SetTLVBufToDocument err=0 [23:59:57]Processing tag 1007 (03EF) [23:59:57]Load OK [23:59:57]SetTLVBufToDocument [23:59:57]Processing tag 1014 (03F6) [23:59:57]Malloc new data [23:59:57]Processing tag 1015 (03F7) [23:59:57]Malloc new data [23:59:57]SetTLVBufToDocument err=0 [23:59:57]Processing tag 1007 (03EF) [23:59:57]Load OK [23:59:57]SetTLVBufToDocument [23:59:57]Processing tag 1014 (03F6) [23:59:57]Malloc new data [23:59:57]Processing tag 1015 (03F7) [23:59:57]Malloc new data [23:59:57]SetTLVBufToDocument err=0 [23:59:57]Processing tag 1007 (03EF) [23:59:57]Load OK [23:59:57]SetTLVBufToDocument [23:59:57]Processing tag 1014 (03F6) [23:59:57]Malloc new data [23:59:57]Processing tag 1015 (03F7) [23:59:57]Malloc new data [23:59:57]SetTLVBufToDocument err=0 [23:59:57]Processing tag 1007 (03EF) [23:59:57]Load OK [23:59:57]SetTLVBufToDocument [23:59:57]Processing tag 1014 (03F6) [23:59:57]Malloc new data [23:59:57]Processing tag 1015 (03F7) [23:59:57]Malloc new data [23:59:57]SetTLVBufToDocument err=0 [23:59:57]Processing tag 1007 (03EF) [23:59:57]Load OK [23:59:57]SetTLVBufToDocument [23:59:57]Processing tag 1014 (03F6) [23:59:57]Malloc new data [23:59:57]Processing tag 1015 (03F7) [23:59:57]Malloc new data [23:59:57]SetTLVBufToDocument err=0 [23:59:57]Processing tag 1007 (03EF) [23:59:57]Load OK [23:59:57]SetTLVBufToDocument [23:59:57]Processing tag 1014 (03F6) [23:59:57]Malloc new data [23:59:57]Processing tag 1015 (03F7) [23:59:57]Malloc new data [23:59:57]SetTLVBufToDocument err=0 [23:59:57]SetTLVBufToDocument err=0 [23:59:57]SetTLVBufToDocument err=0 [23:59:57]Processing tag 1132 (046C) [23:59:57]Load OK [23:59:57]SetTLVBufToDocument [23:59:57]Processing tag 1135 (046F) [23:59:57]Malloc new data [23:59:58]Processing tag 1201 (04B1) [23:59:58]Malloc new data [23:59:58]Processing tag 1136 (0470) [23:59:58]Malloc new data [23:59:58]Processing tag 1138 (0472) [23:59:58]Malloc new data [23:59:58]Processing tag 1024 (0400) [23:59:58]Load OK [23:59:58]SetTLVBufToDocument [23:59:58]Processing tag 1006 (03EE) [23:59:58]Load OK [23:59:58]SetTLVBufToDocument [23:59:58]Processing tag 1010 (03F2) [23:59:58]Malloc new data [23:59:58]Processing tag 1011 (03F3) [23:59:58]Malloc new data [23:59:58]SetTLVBufToDocument err=0 [23:59:58]Processing tag 1006 (03EE) [23:59:58]Load OK [23:59:58]SetTLVBufToDocument [23:59:58]Processing tag 1010 (03F2) [23:59:58]Malloc new data [23:59:58]Processing tag 1011 (03F3) [23:59:58]Malloc new data [23:59:58]SetTLVBufToDocument err=0 [23:59:58]Processing tag 1007 (03EF) [23:59:58]Load OK [23:59:58]SetTLVBufToDocument [23:59:58]Processing tag 1014 (03F6) [23:59:58]Malloc new data [23:59:58]Processing tag 1015 (03F7) [23:59:58]Malloc new data [23:59:58]SetTLVBufToDocument err=0 [23:59:58]Processing tag 1007 (03EF) [23:59:58]Load OK [23:59:58]SetTLVBufToDocument [23:59:58]Processing tag 1014 (03F6) [23:59:58]Malloc new data [23:59:58]Processing tag 1015 (03F7) [23:59:58]Malloc new data [23:59:58]SetTLVBufToDocument err=0 [23:59:58]Processing tag 1007 (03EF) [23:59:58]Load OK [23:59:58]SetTLVBufToDocument [23:59:58]Processing tag 1014 (03F6) [23:59:58]Malloc new data [23:59:58]Processing tag 1015 (03F7) [23:59:58]Malloc new data [23:59:58]SetTLVBufToDocument err=0 [23:59:58]Processing tag 1007 (03EF) [23:59:58]Load OK [23:59:58]SetTLVBufToDocument [23:59:58]Processing tag 1014 (03F6) [23:59:58]Malloc new data [23:59:58]Processing tag 1015 (03F7) [23:59:58]Malloc new data [23:59:58]SetTLVBufToDocument err=0 [23:59:58]Processing tag 1007 (03EF) [23:59:58]Load OK [23:59:58]SetTLVBufToDocument [23:59:58]Processing tag 1014 (03F6) [23:59:58]Malloc new data [23:59:58]Processing tag 1015 (03F7) [23:59:58]Malloc new data [23:59:58]SetTLVBufToDocument err=0 [23:59:58]Processing tag 1007 (03EF) [23:59:58]Load OK [23:59:58]SetTLVBufToDocument [23:59:58]Processing tag 1014 (03F6) [23:59:58]Malloc new data [23:59:58]Processing tag 1015 (03F7) [23:59:58]Malloc new data [23:59:58]SetTLVBufToDocument err=0 [23:59:58]Processing tag 1007 (03EF) [23:59:58]Load OK [23:59:58]SetTLVBufToDocument [23:59:58]Processing tag 1014 (03F6) [23:59:58]Malloc new data [23:59:58]Processing tag 1015 (03F7) [23:59:58]Malloc new data [23:59:58]SetTLVBufToDocument err=0 [23:59:58]SetTLVBufToDocument err=0 [23:59:58]SetTLVBufToDocument err=0 [23:59:58]Processing tag 1133 (046D) [23:59:58]Malloc new data [23:59:58]SetTLVBufToDocument err=0 [23:59:58]SetTLVBufToDocument err=0 [23:59:58]Malloc new data [23:59:58]SAM_PROTO_GetFMData [23:59:58]wFMCommunicate request_size=4 [23:59:58]MH_SAM_APDU [23:59:58]CAPDU: 80 13 03 00 [23:59:58]Write to MH i2c: E2 08 00 9F 31 80 13 03 00 00 00 00 00 4F [23:59:58]Write i2c OK [23:59:58]MH_I2C_Read... [23:59:58]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:59:58]Read from MH i2c: E2 [23:59:58]MH_I2C_Read... [23:59:58]Read from MH i2c: E2 FD 00 [23:59:58]MH_I2C_Read... [23:59:58]Read from MH i2c: E2 FD 00 9F 31 00 C3 04 85 04 BF 04 6E 04 04 00 9F 54 00 00 69 04 A2 00 6F 04 04 00 88 54 00 00 B1 04 04 00 14 36 43 25 70 04 04 00 A8 A2 76 20 72 04 04 00 6C 93 CC 04 00 04 7E 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 95 06 F5 03 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 95 5E 54 EF 03 0B 00 F6 03 01 00 02 F7 03 02 00 66 06 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 17 00 00 00 B1 04 03 00 C0 49 AA 70 04 03 00 48 F9 A9 72 04 02 00 78 50 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 7D 15 12 EF 03 09 00 F6 90 00 F7 [23:59:58]RAPDU: C3 04 85 04 BF 04 6E 04 04 00 9F 54 00 00 69 04 A2 00 6F 04 04 00 88 54 00 00 B1 04 04 00 14 36 43 25 70 04 04 00 A8 A2 76 20 72 04 04 00 6C 93 CC 04 00 04 7E 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 95 06 F5 03 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 95 5E 54 EF 03 0B 00 F6 03 01 00 02 F7 03 02 00 66 06 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 17 00 00 00 B1 04 03 00 C0 49 AA 70 04 03 00 48 F9 A9 72 04 02 00 78 50 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 7D 15 12 EF 03 09 00 F6 90 00 [23:59:58]wFMCommunicate OK [23:59:58]wFMCommunicate request_size=4 [23:59:58]MH_SAM_APDU [23:59:58]CAPDU: 80 17 00 00 [23:59:58]Write to MH i2c: E2 08 00 A0 31 80 17 00 00 00 00 00 00 51 [23:59:58]Write i2c OK [23:59:58]MH_I2C_Read... [23:59:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:59]Read from MH i2c: E2 [23:59:59]MH_I2C_Read... [23:59:59]Read from MH i2c: E2 FD 00 [23:59:59]MH_I2C_Read... [23:59:59]Read from MH i2c: E2 FD 00 A0 31 00 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 C9 81 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 90 00 5C [23:59:59]RAPDU: 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 C9 81 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 90 00 [23:59:59]wFMCommunicate OK [23:59:59]wFMCommunicate request_size=4 [23:59:59]MH_SAM_APDU [23:59:59]CAPDU: 80 17 00 00 [23:59:59]Write to MH i2c: E2 08 00 A1 31 80 17 00 00 00 00 00 00 52 [23:59:59]Write i2c OK [23:59:59]MH_I2C_Read... [23:59:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:59]Read from MH i2c: E2 [23:59:59]MH_I2C_Read... [23:59:59]Read from MH i2c: E2 FD 00 [23:59:59]MH_I2C_Read... [23:59:59]Read from MH i2c: E2 FD 00 A1 31 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 70 [23:59:59]RAPDU: 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:59:59]wFMCommunicate OK [23:59:59]wFMCommunicate request_size=4 [23:59:59]MH_SAM_APDU [23:59:59]CAPDU: 80 17 00 00 [23:59:59]Write to MH i2c: E2 08 00 A2 31 80 17 00 00 00 00 00 00 53 [23:59:59]Write i2c OK [23:59:59]MH_I2C_Read... [00:00:00]OFD Sender: No OFD packet to send [00:00:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:00]Read from MH i2c: E2 [00:00:00]MH_I2C_Read... [00:00:00]Read from MH i2c: E2 FD 00 [00:00:00]MH_I2C_Read... [00:00:00]Read from MH i2c: E2 FD 00 A2 31 00 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 C5 [00:00:00]RAPDU: 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:00:00]wFMCommunicate OK [00:00:00]wFMCommunicate request_size=4 [00:00:00]MH_SAM_APDU [00:00:00]CAPDU: 80 17 00 00 [00:00:00]Write to MH i2c: E2 08 00 A3 31 80 17 00 00 00 00 00 00 54 [00:00:00]Write i2c OK [00:00:00]MH_I2C_Read... [00:00:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 221! [00:00:00]Read from MH i2c: E2 [00:00:00]MH_I2C_Read... [00:00:00]Read from MH i2c: E2 E0 00 [00:00:00]MH_I2C_Read... [00:00:00]Read from MH i2c: E2 E0 00 A3 31 00 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 3E [00:00:00]RAPDU: 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:00:00]wFMCommunicate OK [00:00:00]SAM_PROTO_GetFMData done [00:00:00]FM_GetFMData:85 04 BF 04 6E 04 04 00 9F 54 00 00 69 04 A2 00 6F 04 04 00 88 54 00 00 B1 04 04 00 14 36 43 25 70 04 04 00 A8 A2 76 20 72 04 04 00 6C 93 CC 04 00 04 7E 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 95 06 F5 03 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 95 5E 54 EF 03 0B 00 F6 03 01 00 02 F7 03 02 00 66 06 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 17 00 00 00 B1 04 03 00 C0 49 AA 70 04 03 00 48 F9 A9 72 04 02 00 78 50 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 7D 15 12 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 81 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:00:01]oper:6F 04 04 00 88 54 00 00 B1 04 04 00 14 36 43 25 70 04 04 00 A8 A2 76 20 72 04 04 00 6C 93 CC 04 00 04 7E 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 95 06 F5 03 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 95 5E 54 EF 03 0B 00 F6 03 01 00 02 F7 03 02 00 66 06 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:00:01]total:14 36 43 25 [00:00:01]Malloc new data [00:00:01]oper:6F 04 04 00 17 00 00 00 B1 04 03 00 C0 49 AA 70 04 03 00 48 F9 A9 72 04 02 00 78 50 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 7D 15 12 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 81 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:00:01]total:C0 49 AA [00:00:01]Malloc new data [00:00:01]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:00:01]total: [00:00:01]Malloc new data [00:00:01]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:00:01]total: [00:00:01]Malloc new data [00:00:01]KKMPrepareXReportFMData err=0 [00:00:01]Х отчет ИНН: 02508201610067 Кассир: Кадыркулова Б. 17.06.2024 00:00 Смена: 266 РНМ: 0000000000099755 ЗНМ: 0300000200 СНО: Общий режим Всего чеков: 82 ИТОГИ ПРИХОД Чеков: 82 Общий итог: 20786.00 Итого наличными: 16702.00 Итого безнал.: 4084.00 НДС 0% : 0.00 НДС 12% : 2207.35 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 183.88 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 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 Нал. в кассе: 16702.00 НС Приход: 6251617.48 НС Возвр.Прихода: 111600.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФМ: 0000000000965344 [00:00:01]StoreToDocumentArchive [00:00:01]MH_GetDate [00:00:01]Write to MH i2c: F0 00 00 A4 31 C4 [00:00:01]Write i2c OK [00:00:01]MH_I2C_Read... [00:00:01]Read from MH i2c: F0 [00:00:01]MH_I2C_Read... [00:00:01]Read from MH i2c: F0 09 00 [00:00:01]MH_I2C_Read... [00:00:01]Read from MH i2c: F0 09 00 A4 31 00 8C 7C 6F 66 8C 55 28 65 18 [00:00:01]shift 266 fd 1718582412 [00:00:01]Create dir for shift 0266 [00:00:01]save to /storage/0266/doc_1718582412 [00:00:01]save last doc name /storage/0266/doc_1718582412 to /storage/kkm_last_doc_name [00:00:01]save OK [00:00:01]Clear old archive folders... [00:00:01]NVStorageSaveData kkm_last_timestamp [00:00:01]File name is /storage/kkm_last_timestamp [00:00:01]Write 4 bytes [00:00:01]NVStorageSaveData done [00:00:01]ExternCall_PrintAddStr [00:00:01]wPrintStart [00:00:01]Write to MH i2c: 01 00 00 A5 31 D6 [00:00:01]Write i2c OK [00:00:01]MH_I2C_Read... [00:00:01]Read from MH i2c: 01 [00:00:01]MH_I2C_Read... [00:00:01]Read from MH i2c: 01 07 00 [00:00:01]MH_I2C_Read... [00:00:01]Read from MH i2c: 01 07 00 A5 31 00 00 00 00 00 FF 0F EB [00:00:01]RasterBufferAndPrint [00:00:01]line Х отчет [00:00:01]line ИНН: 02508201610067 [00:00:01]line Кассир: Кадыркулова Б. [00:00:01]line 17.06.2024 00:00 [00:00:01]line Смена: 266 [00:00:01]line РНМ: 0000000000099755 [00:00:01]line ЗНМ: 0300000200 [00:00:01]line СНО: Общий режим [00:00:01]line Всего чеков: 82 [00:00:01]line ИТОГИ ПРИХОД [00:00:01]line Чеков: 82 [00:00:01]line Общий итог: 20786.00 [00:00:01]line Итого наличными: 16702.00 [00:00:01]line Итого безнал.: 4084.00 [00:00:01]line НДС 0% : 0.00 [00:00:01]line НДС 12% : 2207.35 [00:00:01]line НСП 0% : 0.00 [00:00:01]line НСП 1,50% : 0.00 [00:00:01]line НСП 0,50% : 0.00 [00:00:01]line НСП 5% : 0.00 [00:00:01]line НСП 3% : 0.00 [00:00:01]line НСП 2% : 0.00 [00:00:01]line НСП 1% : 183.88 [00:00:01]line ИТОГИ ВОЗВРАТ ПРИХОДА [00:00:01]line Чеков: 0 [00:00:01]line Общий итог: 0.00 [00:00:01]line Итого наличными: 0.00 [00:00:01]line Итого безнал.: 0.00 [00:00:01]line НДС 0% : 0.00 [00:00:01]line НДС 12% : 0.00 [00:00:01]line НСП 0% : 0.00 [00:00:01]line НСП 1,50% : 0.00 [00:00:01]line НСП 0,50% : 0.00 [00:00:01]line НСП 5% : 0.00 [00:00:01]line НСП 3% : 0.00 [00:00:01]line НСП 2% : 0.00 [00:00:01]line НСП 1% : 0.00 [00:00:02]line ИТОГИ РАСХОД [00:00:02]line Чеков: 0 [00:00:02]line Общий итог: 0.00 [00:00:02]line Итого наличными: 0.00 [00:00:02]line Итого безнал.: 0.00 [00:00:02]line НДС 0% : 0.00 [00:00:02]line НДС 12% : 0.00 [00:00:02]line НСП 0% : 0.00 [00:00:02]line НСП 1,50% : 0.00 [00:00:02]line НСП 0,50% : 0.00 [00:00:02]line НСП 5% : 0.00 [00:00:02]line НСП 3% : 0.00 [00:00:02]line НСП 2% : 0.00 [00:00:02]line НСП 1% : 0.00 [00:00:02]line ИТОГИ ВОЗВРАТ РАСХОДА [00:00:02]line Чеков: 0 [00:00:02]line Общий итог: 0.00 [00:00:02]line Итого наличными: 0.00 [00:00:02]line Итого безнал.: 0.00 [00:00:02]line НДС 0% : 0.00 [00:00:02]line НДС 12% : 0.00 [00:00:02]line НСП 0% : 0.00 [00:00:02]line НСП 1,50% : 0.00 [00:00:02]line НСП 0,50% : 0.00 [00:00:02]line НСП 5% : 0.00 [00:00:02]line НСП 3% : 0.00 [00:00:02]line НСП 2% : 0.00 [00:00:02]line НСП 1% : 0.00 [00:00:02]line Сумма внесений: 0.00 [00:00:02]line Сумма выплат: 0.00 [00:00:02]line Нал. в кассе: 16702.00 [00:00:02]line НС Приход: 6251617.48 [00:00:02]line НС Возвр.Прихода: 111600.00 [00:00:02]line НС Расход: 0.00 [00:00:02]line НС Возвр.Расхода: 0.00 [00:00:02]line ФМ: 0000000000965344 [00:00:02]written 0, free lines is 4095 [00:00:02]Write to MH i2c: 01 00 00 F0 31 21 [00:00:02]Write i2c OK [00:00:02]MH_I2C_Read... [00:00:02]Read from MH i2c: 01 [00:00:02]MH_I2C_Read... [00:00:02]Read from MH i2c: 01 07 00 [00:00:02]MH_I2C_Read... [00:00:02]Read from MH i2c: 01 07 00 F0 31 00 00 00 00 00 1E 0B 51 [00:00:02]RasterBufferAndPrint [00:00:02]line [00:00:02]line [00:00:02]line [00:00:02]line [00:00:02]line [00:00:02]written 0, free lines is 2882 [00:00:02]MH_Cut [00:00:02]Write to MH i2c: D1 01 00 F7 31 01 FA [00:00:02]Write i2c OK [00:00:02]MH_I2C_Read... [00:00:02]Read from MH i2c: D1 [00:00:02]MH_I2C_Read... [00:00:02]Read from MH i2c: D1 01 00 [00:00:02]MH_I2C_Read... [00:00:02]Read from MH i2c: D1 01 00 F7 31 00 F9 [00:00:02]Write to MH i2c: 01 00 00 F8 31 29 [00:00:02]Write i2c OK [00:00:02]MH_I2C_Read... [00:00:03]*** Cut start [00:00:03]*** Partial cut [00:00:03]*** CUTSNS_PIN = 1 [00:00:03]*** CUTSNS_PIN = 0 [00:00:04]*** Brake cut motor [00:00:04]Read from MH i2c: 01 [00:00:04]MH_I2C_Read... [00:00:04]*** Stop cut motor [00:00:04]*** Cut end [00:00:04]Read from MH i2c: 01 07 00 [00:00:04]MH_I2C_Read... [00:00:04]Read from MH i2c: 01 07 00 F8 31 00 00 00 00 00 FF 0F 3E [00:00:04]process_action x_report done [00:00:04]requested_data is exist [00:00:04]produce_requested_data [00:00:04]requested_item fd.num is exist - process it [00:00:04]SAM_PROTO_GetFieldsCounters [00:00:04]wFMCommunicate request_size=4 [00:00:04]MH_SAM_APDU [00:00:04]CAPDU: 80 13 00 00 [00:00:04]Write to MH i2c: E2 08 00 F9 31 80 13 00 00 00 00 00 00 A6 [00:00:04]Write i2c OK [00:00:04]MH_I2C_Read... [00:00:04]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:00:04]Read from MH i2c: E2 [00:00:04]MH_I2C_Read... [00:00:04]Read from MH i2c: E2 62 00 [00:00:04]MH_I2C_Read... [00:00:04]Read from MH i2c: E2 62 00 F9 31 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 2D 57 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 52 00 00 00 5E 04 04 00 52 00 00 00 57 04 04 00 53 00 00 00 19 04 04 00 00 00 00 00 90 00 92 [00:00:04]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 2D 57 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 52 00 00 00 5E 04 04 00 52 00 00 00 57 04 04 00 53 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:00:04]wFMCommunicate OK [00:00:04]SAM_PROTO_GetFieldsCounters done [00:00:04]requested_item shift.num is exist - process it [00:00:04]requested_item shift.opened is exist - process it [00:00:04]req_shift_opened [00:00:04]FM_GetShiftState [00:00:04]SAM_PROTO_GetShiftState [00:00:04]wFMCommunicate request_size=4 [00:00:04]MH_SAM_APDU [00:00:04]CAPDU: 80 13 01 00 [00:00:04]Write to MH i2c: E2 08 00 FA 31 80 13 01 00 00 00 00 00 A8 [00:00:04]Write i2c OK [00:00:04]MH_I2C_Read... [00:00:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:00:04]Read from MH i2c: E2 [00:00:04]MH_I2C_Read... [00:00:04]Read from MH i2c: E2 0E 00 [00:00:04]MH_I2C_Read... [00:00:04]Read from MH i2c: E2 0E 00 FA 31 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 C9 [00:00:04]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [00:00:04]wFMCommunicate OK [00:00:04]SAM_PROTO_GetShiftState done [00:00:04]FM_GetShiftState done [00:00:04]req_shift_opened done [00:00:04]requested_item shift.open_date is exist - process it [00:00:04]req_shift_open_date [00:00:04]req_shift_open_date done [00:00:04]produce_requested_data done [00:00:04]produce_requested_data return {"fd.num":22317,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297} [00:00:04]process_action_free x_report [00:00:04]json_value_free [00:00:04]json_value_free done [00:00:04]process_json_proto returns [00:00:04]Send response to host [00:00:04]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":22317,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297}}} [00:00:04]free response buf [00:00:04]execute_script done [00:00:04]execute_script returns [00:00:04]free content buf [00:00:04]Sock 8.Close socket [00:00:04]Sock 8.Thread stoped [00:00:05]OFD Sender: No OFD packet to send [00:00:10]OFD Sender: No OFD packet to send [00:00:15]OFD Sender: No OFD packet to send [00:00:20]OFD Sender: No OFD packet to send [00:00:25]OFD Sender: No OFD packet to send [00:00:30]OFD Sender: No OFD packet to send [00:00:35]OFD Sender: No OFD packet to send [00:00:36]accept exits with 9 [00:00:36]New connection [00:00:36]New thread 3066838372 created [00:00:36]Thread 3066695012 joined [00:00:36]Waiting for new connection... [00:00:36] Sock 9.Parse request [00:00:36]Sock 9.Check first char [00:00:36]Sock 9.First char is OK [00:00:36]request: POST /json_proto HTTP/1.0 [00:00:36]Method: POST [00:00:36]URL: /json_proto [00:00:36]Method is POST - this is cgi request [00:00:36]url: /json_proto [00:00:36]query_string will be loaded in cgi processing [00:00:36]execute_cgi json_proto POST (null) [00:00:36]execute_cgi path=json_proto method=POST [00:00:36]POST find Content-Length [00:00:36]Host: 172.17.35.133:8080 [00:00:36]Content-Length: 215 [00:00:36]Content-Type: application/json [00:00:36] [00:00:36]POST finish read [00:00:36]Found Content-Length = 215 [00:00:36]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:00:36]execute_script... [00:00:36]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:00:36]POST & json_proto [00:00:36]process_json_proto [00:00:36]json parsed OK: [00:00:36]protocol is kg_v1.0 [00:00:36]action value=get_value [00:00:36]process_action get_value [00:00:36]cmd_get_value [00:00:36]process_action get_value done [00:00:36]requested_data is exist [00:00:36]produce_requested_data [00:00:36]requested_item kkm.sn is exist - process it [00:00:36]requested_item kkm.ver is exist - process it [00:00:36]requested_item fm.sn is exist - process it [00:00:36]wFMCommunicate request_size=4 [00:00:36]MH_SAM_APDU [00:00:36]CAPDU: 80 11 00 00 [00:00:36]Write to MH i2c: E2 08 00 FB 31 80 11 00 00 00 00 00 00 A6 [00:00:36]Write i2c OK [00:00:36]MH_I2C_Read... [00:00:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:00:36]Read from MH i2c: E2 [00:00:36]MH_I2C_Read... [00:00:36]Read from MH i2c: E2 17 00 [00:00:36]MH_I2C_Read... [00:00:36]Read from MH i2c: E2 17 00 FB 31 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 F8 [00:00:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [00:00:36]wFMCommunicate OK [00:00:36]requested_item fd.num is exist - process it [00:00:36]SAM_PROTO_GetFieldsCounters [00:00:36]wFMCommunicate request_size=4 [00:00:36]MH_SAM_APDU [00:00:36]CAPDU: 80 13 00 00 [00:00:36]Write to MH i2c: E2 08 00 FC 31 80 13 00 00 00 00 00 00 A9 [00:00:36]Write i2c OK [00:00:36]MH_I2C_Read... [00:00:36]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:00:36]Read from MH i2c: E2 [00:00:36]MH_I2C_Read... [00:00:36]Read from MH i2c: E2 62 00 [00:00:36]MH_I2C_Read... [00:00:36]Read from MH i2c: E2 62 00 FC 31 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 2D 57 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 52 00 00 00 5E 04 04 00 52 00 00 00 57 04 04 00 53 00 00 00 19 04 04 00 00 00 00 00 90 00 95 [00:00:36]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 2D 57 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 52 00 00 00 5E 04 04 00 52 00 00 00 57 04 04 00 53 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:00:36]wFMCommunicate OK [00:00:36]SAM_PROTO_GetFieldsCounters done [00:00:36]requested_item shift.num is exist - process it [00:00:36]requested_item shift.opened is exist - process it [00:00:36]req_shift_opened [00:00:36]FM_GetShiftState [00:00:36]SAM_PROTO_GetShiftState [00:00:36]wFMCommunicate request_size=4 [00:00:36]MH_SAM_APDU [00:00:36]CAPDU: 80 13 01 00 [00:00:36]Write to MH i2c: E2 08 00 FD 31 80 13 01 00 00 00 00 00 AB [00:00:36]Write i2c OK [00:00:36]MH_I2C_Read... [00:00:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:00:36]Read from MH i2c: E2 [00:00:36]MH_I2C_Read... [00:00:36]Read from MH i2c: E2 0E 00 [00:00:36]MH_I2C_Read... [00:00:36]Read from MH i2c: E2 0E 00 FD 31 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 CC [00:00:36]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [00:00:36]wFMCommunicate OK [00:00:36]SAM_PROTO_GetShiftState done [00:00:36]FM_GetShiftState done [00:00:36]req_shift_opened done [00:00:36]requested_item shift.open_date is exist - process it [00:00:36]req_shift_open_date [00:00:36]req_shift_open_date done [00:00:36]produce_requested_data done [00:00:36]produce_requested_data return {"kkm.sn":"0300000200","kkm.ver":"001","fm.sn":"0000000000965344","fd.num":22317,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297} [00:00:36]process_action_free get_value [00:00:36]json_value_free [00:00:36]json_value_free done [00:00:36]process_json_proto returns [00:00:36]Send response to host [00:00:36]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000200","kkm.ver":"001","fm.sn":"0000000000965344","fd.num":22317,"shift.num":327,"shift.opened":1,"shift.open_date":1718497297}}} [00:00:36]free response buf [00:00:36]execute_script done [00:00:36]execute_script returns [00:00:36]free content buf [00:00:36]Sock 9.Close socket [00:00:36]Sock 9.Thread stoped [00:00:36]accept exits with 8 [00:00:36]New connection [00:00:36]New thread 3066695012 created [00:00:36]Thread 3066838372 joined [00:00:36]Waiting for new connection... [00:00:36] Sock 8.Parse request [00:00:36]Sock 8.Check first char [00:00:36]Sock 8.First char is OK [00:00:36]request: POST /json_proto HTTP/1.0 [00:00:36]Method: POST [00:00:36]URL: /json_proto [00:00:36]Method is POST - this is cgi request [00:00:36]url: /json_proto [00:00:36]query_string will be loaded in cgi processing [00:00:36]execute_cgi json_proto POST (null) [00:00:36]execute_cgi path=json_proto method=POST [00:00:36]POST find Content-Length [00:00:36]Host: 172.17.35.133:8080 [00:00:36]Content-Length: 331 [00:00:36]Content-Type: application/json [00:00:36] [00:00:36]POST finish read [00:00:36]Found Content-Length = 331 [00:00:36]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:00:36]execute_script... [00:00:36]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:00:36]POST & json_proto [00:00:36]process_json_proto [00:00:36]json parsed OK: [00:00:36]protocol is kg_v1.0 [00:00:36]action value=get_value [00:00:36]process_action get_value [00:00:36]cmd_get_value [00:00:36]process_action get_value done [00:00:36]requested_data is exist [00:00:36]produce_requested_data [00:00:36]requested_item fm.sale.total is exist - process it [00:00:36]SAM_PROTO_GetFMData [00:00:36]wFMCommunicate request_size=4 [00:00:36]MH_SAM_APDU [00:00:36]CAPDU: 80 13 03 00 [00:00:36]Write to MH i2c: E2 08 00 FE 31 80 13 03 00 00 00 00 00 AE [00:00:36]Write i2c OK [00:00:36]MH_I2C_Read... [00:00:36]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:00:36]Read from MH i2c: E2 [00:00:36]MH_I2C_Read... [00:00:36]Read from MH i2c: E2 FD 00 [00:00:36]MH_I2C_Read... [00:00:36]Read from MH i2c: E2 FD 00 FE 31 00 C3 04 85 04 BF 04 6E 04 04 00 9F 54 00 00 69 04 A2 00 6F 04 04 00 88 54 00 00 B1 04 04 00 14 36 43 25 70 04 04 00 A8 A2 76 20 72 04 04 00 6C 93 CC 04 00 04 7E 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 95 06 F5 03 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 95 5E 54 EF 03 0B 00 F6 03 01 00 02 F7 03 02 00 66 06 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 17 00 00 00 B1 04 03 00 C0 49 AA 70 04 03 00 48 F9 A9 72 04 02 00 78 50 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 7D 15 12 EF 03 09 00 F6 90 00 56 [00:00:36]RAPDU: C3 04 85 04 BF 04 6E 04 04 00 9F 54 00 00 69 04 A2 00 6F 04 04 00 88 54 00 00 B1 04 04 00 14 36 43 25 70 04 04 00 A8 A2 76 20 72 04 04 00 6C 93 CC 04 00 04 7E 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 95 06 F5 03 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 95 5E 54 EF 03 0B 00 F6 03 01 00 02 F7 03 02 00 66 06 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 17 00 00 00 B1 04 03 00 C0 49 AA 70 04 03 00 48 F9 A9 72 04 02 00 78 50 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 7D 15 12 EF 03 09 00 F6 90 00 [00:00:36]wFMCommunicate OK [00:00:36]wFMCommunicate request_size=4 [00:00:36]MH_SAM_APDU [00:00:36]CAPDU: 80 17 00 00 [00:00:36]Write to MH i2c: E2 08 00 FF 31 80 17 00 00 00 00 00 00 B0 [00:00:36]Write i2c OK [00:00:36]MH_I2C_Read... [00:00:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:37]Read from MH i2c: E2 [00:00:37]MH_I2C_Read... [00:00:37]Read from MH i2c: E2 FD 00 [00:00:37]MH_I2C_Read... [00:00:37]Read from MH i2c: E2 FD 00 FF 31 00 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 C9 81 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 90 00 BB [00:00:37]RAPDU: 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 C9 81 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 90 00 [00:00:37]wFMCommunicate OK [00:00:37]wFMCommunicate request_size=4 [00:00:37]MH_SAM_APDU [00:00:37]CAPDU: 80 17 00 00 [00:00:37]Write to MH i2c: E2 08 00 00 32 80 17 00 00 00 00 00 00 B2 [00:00:37]Write i2c OK [00:00:37]MH_I2C_Read... [00:00:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:37]Read from MH i2c: E2 [00:00:37]MH_I2C_Read... [00:00:37]Read from MH i2c: E2 FD 00 [00:00:37]MH_I2C_Read... [00:00:37]Read from MH i2c: E2 FD 00 00 32 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 D0 [00:00:37]RAPDU: 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:00:37]wFMCommunicate OK [00:00:37]wFMCommunicate request_size=4 [00:00:37]MH_SAM_APDU [00:00:37]CAPDU: 80 17 00 00 [00:00:37]Write to MH i2c: E2 08 00 01 32 80 17 00 00 00 00 00 00 B3 [00:00:37]Write i2c OK [00:00:37]MH_I2C_Read... [00:00:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:37]Read from MH i2c: E2 [00:00:37]MH_I2C_Read... [00:00:37]Read from MH i2c: E2 FD 00 [00:00:37]MH_I2C_Read... [00:00:37]Read from MH i2c: E2 FD 00 01 32 00 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 25 [00:00:37]RAPDU: 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:00:37]wFMCommunicate OK [00:00:37]wFMCommunicate request_size=4 [00:00:37]MH_SAM_APDU [00:00:37]CAPDU: 80 17 00 00 [00:00:37]Write to MH i2c: E2 08 00 02 32 80 17 00 00 00 00 00 00 B4 [00:00:37]Write i2c OK [00:00:37]MH_I2C_Read... [00:00:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 221! [00:00:38]Read from MH i2c: E2 [00:00:38]MH_I2C_Read... [00:00:38]Read from MH i2c: E2 E0 00 [00:00:38]MH_I2C_Read... [00:00:38]Read from MH i2c: E2 E0 00 02 32 00 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9E [00:00:38]RAPDU: 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:00:38]wFMCommunicate OK [00:00:38]SAM_PROTO_GetFMData done [00:00:38]requested_item fm.sale_refund.total is exist - process it [00:00:38]requested_item fm.buy.total is exist - process it [00:00:38]requested_item shift.sale.total is exist - process it [00:00:38]SAM_PROTO_GetShiftData [00:00:38]wFMCommunicate request_size=4 [00:00:38]MH_SAM_APDU [00:00:38]CAPDU: 80 13 02 00 [00:00:38]Write to MH i2c: E2 08 00 03 32 80 13 02 00 00 00 00 00 B3 [00:00:38]Write i2c OK [00:00:38]MH_I2C_Read... [00:00:38]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:00:38]Read from MH i2c: E2 [00:00:38]MH_I2C_Read... [00:00:38]Read from MH i2c: E2 FD 00 [00:00:38]MH_I2C_Read... [00:00:38]Read from MH i2c: E2 FD 00 03 32 00 AE 04 AA 04 AA 04 6E 04 04 00 52 00 00 00 69 04 9B 00 6F 04 04 00 52 00 00 00 B1 04 03 00 88 B7 1F 70 04 03 00 38 7C 19 72 04 03 00 50 3B 06 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 3F 5E 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 D4 47 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 8F [00:00:38]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 52 00 00 00 69 04 9B 00 6F 04 04 00 52 00 00 00 B1 04 03 00 88 B7 1F 70 04 03 00 38 7C 19 72 04 03 00 50 3B 06 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 3F 5E 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 D4 47 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:00:38]wFMCommunicate OK [00:00:38]wFMCommunicate request_size=4 [00:00:38]MH_SAM_APDU [00:00:38]CAPDU: 80 17 00 00 [00:00:38]Write to MH i2c: E2 08 00 04 32 80 17 00 00 00 00 00 00 B6 [00:00:38]Write i2c OK [00:00:38]MH_I2C_Read... [00:00:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:38]Read from MH i2c: E2 [00:00:38]MH_I2C_Read... [00:00:38]Read from MH i2c: E2 FD 00 [00:00:38]MH_I2C_Read... [00:00:38]Read from MH i2c: E2 FD 00 04 32 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 D8 [00:00:38]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:00:38]wFMCommunicate OK [00:00:38]wFMCommunicate request_size=4 [00:00:38]MH_SAM_APDU [00:00:38]CAPDU: 80 17 00 00 [00:00:39]Write to MH i2c: E2 08 00 05 32 80 17 00 00 00 00 00 00 B7 [00:00:39]Write i2c OK [00:00:39]MH_I2C_Read... [00:00:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:39]Read from MH i2c: E2 [00:00:39]MH_I2C_Read... [00:00:39]Read from MH i2c: E2 FD 00 [00:00:39]MH_I2C_Read... [00:00:39]Read from MH i2c: E2 FD 00 05 32 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 6E [00:00:39]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:00:39]wFMCommunicate OK [00:00:39]wFMCommunicate request_size=4 [00:00:39]MH_SAM_APDU [00:00:39]CAPDU: 80 17 00 00 [00:00:39]Write to MH i2c: E2 08 00 06 32 80 17 00 00 00 00 00 00 B8 [00:00:39]Write i2c OK [00:00:39]MH_I2C_Read... [00:00:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:39]Read from MH i2c: E2 [00:00:39]MH_I2C_Read... [00:00:39]Read from MH i2c: E2 FD 00 [00:00:39]MH_I2C_Read... [00:00:39]Read from MH i2c: E2 FD 00 06 32 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 2A [00:00:39]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:00:39]wFMCommunicate OK [00:00:39]wFMCommunicate request_size=4 [00:00:39]MH_SAM_APDU [00:00:39]CAPDU: 80 17 00 00 [00:00:39]Write to MH i2c: E2 08 00 07 32 80 17 00 00 00 00 00 00 B9 [00:00:39]Write i2c OK [00:00:39]MH_I2C_Read... [00:00:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:00:39]Read from MH i2c: E2 [00:00:39]MH_I2C_Read... [00:00:39]Read from MH i2c: E2 CB 00 [00:00:39]MH_I2C_Read... [00:00:40]Read from MH i2c: E2 CB 00 07 32 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 A2 [00:00:40]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:00:40]wFMCommunicate OK [00:00:40]SAM_PROTO_GetShiftData done [00:00:40]requested_item shift.sale.total_cash is exist - process it [00:00:40]requested_item shift.sale_refund.total is exist - process it [00:00:40]requested_item shift.sale_refund.total_cash is exist - process it [00:00:40]requested_item shift.buy.total is exist - process it [00:00:40]requested_item shift.buy.total_cash is exist - process it [00:00:40]produce_requested_data done [00:00:40]produce_requested_data return {"fm.sale.total":6251617.48,"fm.sale_refund.total":111600.00,"fm.buy.total":0.00,"shift.sale.total":20786.00,"shift.sale.total_cash":16702.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:00:40]process_action_free get_value [00:00:40]json_value_free [00:00:40]json_value_free done [00:00:40]process_json_proto returns [00:00:40]Send response to host [00:00:40]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":6251617.48,"fm.sale_refund.total":111600.00,"fm.buy.total":0.00,"shift.sale.total":20786.00,"shift.sale.total_cash":16702.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:00:40]free response buf [00:00:40]execute_script done [00:00:40]execute_script returns [00:00:40]free content buf [00:00:40]Sock 8.Close socket [00:00:40]Sock 8.Thread stoped [00:00:40]OFD Sender: No OFD packet to send [00:00:40]accept exits with 9 [00:00:40]New connection [00:00:40]New thread 3066838372 created [00:00:40]Thread 3066695012 joined [00:00:40]Waiting for new connection... [00:00:40] Sock 9.Parse request [00:00:40]Sock 9.Check first char [00:00:40]Sock 9.First char is OK [00:00:40]request: POST /json_proto HTTP/1.0 [00:00:40]Method: POST [00:00:40]URL: /json_proto [00:00:40]Method is POST - this is cgi request [00:00:40]url: /json_proto [00:00:40]query_string will be loaded in cgi processing [00:00:40]execute_cgi json_proto POST (null) [00:00:40]execute_cgi path=json_proto method=POST [00:00:40]POST find Content-Length [00:00:40]Host: 172.17.35.133:8080 [00:00:40]Content-Length: 331 [00:00:40]Content-Type: application/json [00:00:40] [00:00:40]POST finish read [00:00:40]Found Content-Length = 331 [00:00:40]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:00:40]execute_script... [00:00:40]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:00:40]POST & json_proto [00:00:40]process_json_proto [00:00:40]json parsed OK: [00:00:40]protocol is kg_v1.0 [00:00:40]action value=get_value [00:00:40]process_action get_value [00:00:40]cmd_get_value [00:00:40]process_action get_value done [00:00:40]requested_data is exist [00:00:40]produce_requested_data [00:00:40]requested_item fm.sale.total is exist - process it [00:00:40]SAM_PROTO_GetFMData [00:00:40]wFMCommunicate request_size=4 [00:00:40]MH_SAM_APDU [00:00:40]CAPDU: 80 13 03 00 [00:00:40]Write to MH i2c: E2 08 00 08 32 80 13 03 00 00 00 00 00 B9 [00:00:40]Write i2c OK [00:00:40]MH_I2C_Read... [00:00:40]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:00:40]Read from MH i2c: E2 [00:00:40]MH_I2C_Read... [00:00:40]Read from MH i2c: E2 FD 00 [00:00:40]MH_I2C_Read... [00:00:40]Read from MH i2c: E2 FD 00 08 32 00 C3 04 85 04 BF 04 6E 04 04 00 9F 54 00 00 69 04 A2 00 6F 04 04 00 88 54 00 00 B1 04 04 00 14 36 43 25 70 04 04 00 A8 A2 76 20 72 04 04 00 6C 93 CC 04 00 04 7E 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 95 06 F5 03 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 95 5E 54 EF 03 0B 00 F6 03 01 00 02 F7 03 02 00 66 06 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 17 00 00 00 B1 04 03 00 C0 49 AA 70 04 03 00 48 F9 A9 72 04 02 00 78 50 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 7D 15 12 EF 03 09 00 F6 90 00 61 [00:00:40]RAPDU: C3 04 85 04 BF 04 6E 04 04 00 9F 54 00 00 69 04 A2 00 6F 04 04 00 88 54 00 00 B1 04 04 00 14 36 43 25 70 04 04 00 A8 A2 76 20 72 04 04 00 6C 93 CC 04 00 04 7E 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 95 06 F5 03 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 95 5E 54 EF 03 0B 00 F6 03 01 00 02 F7 03 02 00 66 06 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 17 00 00 00 B1 04 03 00 C0 49 AA 70 04 03 00 48 F9 A9 72 04 02 00 78 50 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 7D 15 12 EF 03 09 00 F6 90 00 [00:00:40]wFMCommunicate OK [00:00:40]wFMCommunicate request_size=4 [00:00:40]MH_SAM_APDU [00:00:40]CAPDU: 80 17 00 00 [00:00:40]Write to MH i2c: E2 08 00 09 32 80 17 00 00 00 00 00 00 BB [00:00:40]Write i2c OK [00:00:40]MH_I2C_Read... [00:00:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:41]Read from MH i2c: E2 [00:00:41]MH_I2C_Read... [00:00:41]Read from MH i2c: E2 FD 00 [00:00:41]MH_I2C_Read... [00:00:41]Read from MH i2c: E2 FD 00 09 32 00 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 C9 81 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 90 00 C6 [00:00:41]RAPDU: 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 C9 81 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 90 00 [00:00:41]wFMCommunicate OK [00:00:41]wFMCommunicate request_size=4 [00:00:41]MH_SAM_APDU [00:00:41]CAPDU: 80 17 00 00 [00:00:41]Write to MH i2c: E2 08 00 0A 32 80 17 00 00 00 00 00 00 BC [00:00:41]Write i2c OK [00:00:41]MH_I2C_Read... [00:00:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:41]Read from MH i2c: E2 [00:00:41]MH_I2C_Read... [00:00:41]Read from MH i2c: E2 FD 00 [00:00:41]MH_I2C_Read... [00:00:41]Read from MH i2c: E2 FD 00 0A 32 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 DA [00:00:41]RAPDU: 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:00:41]wFMCommunicate OK [00:00:41]wFMCommunicate request_size=4 [00:00:41]MH_SAM_APDU [00:00:41]CAPDU: 80 17 00 00 [00:00:41]Write to MH i2c: E2 08 00 0B 32 80 17 00 00 00 00 00 00 BD [00:00:41]Write i2c OK [00:00:41]MH_I2C_Read... [00:00:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:42]Read from MH i2c: E2 [00:00:42]MH_I2C_Read... [00:00:42]Read from MH i2c: E2 FD 00 [00:00:42]MH_I2C_Read... [00:00:42]Read from MH i2c: E2 FD 00 0B 32 00 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 2F [00:00:42]RAPDU: 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:00:42]wFMCommunicate OK [00:00:42]wFMCommunicate request_size=4 [00:00:42]MH_SAM_APDU [00:00:42]CAPDU: 80 17 00 00 [00:00:42]Write to MH i2c: E2 08 00 0C 32 80 17 00 00 00 00 00 00 BE [00:00:42]Write i2c OK [00:00:42]MH_I2C_Read... [00:00:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 221! [00:00:42]Read from MH i2c: E2 [00:00:42]MH_I2C_Read... [00:00:42]Read from MH i2c: E2 E0 00 [00:00:42]MH_I2C_Read... [00:00:42]Read from MH i2c: E2 E0 00 0C 32 00 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 A8 [00:00:42]RAPDU: 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:00:42]wFMCommunicate OK [00:00:42]SAM_PROTO_GetFMData done [00:00:42]requested_item fm.sale_refund.total is exist - process it [00:00:42]requested_item fm.buy.total is exist - process it [00:00:42]requested_item shift.sale.total is exist - process it [00:00:42]SAM_PROTO_GetShiftData [00:00:42]wFMCommunicate request_size=4 [00:00:42]MH_SAM_APDU [00:00:42]CAPDU: 80 13 02 00 [00:00:42]Write to MH i2c: E2 08 00 0D 32 80 13 02 00 00 00 00 00 BD [00:00:42]Write i2c OK [00:00:42]MH_I2C_Read... [00:00:43]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:00:43]Read from MH i2c: E2 [00:00:43]MH_I2C_Read... [00:00:43]Read from MH i2c: E2 FD 00 [00:00:43]MH_I2C_Read... [00:00:43]Read from MH i2c: E2 FD 00 0D 32 00 AE 04 AA 04 AA 04 6E 04 04 00 52 00 00 00 69 04 9B 00 6F 04 04 00 52 00 00 00 B1 04 03 00 88 B7 1F 70 04 03 00 38 7C 19 72 04 03 00 50 3B 06 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 3F 5E 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 D4 47 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 99 [00:00:43]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 52 00 00 00 69 04 9B 00 6F 04 04 00 52 00 00 00 B1 04 03 00 88 B7 1F 70 04 03 00 38 7C 19 72 04 03 00 50 3B 06 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 3F 5E 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 D4 47 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:00:43]wFMCommunicate OK [00:00:43]wFMCommunicate request_size=4 [00:00:43]MH_SAM_APDU [00:00:43]CAPDU: 80 17 00 00 [00:00:43]Write to MH i2c: E2 08 00 0E 32 80 17 00 00 00 00 00 00 C0 [00:00:43]Write i2c OK [00:00:43]MH_I2C_Read... [00:00:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:43]Read from MH i2c: E2 [00:00:43]MH_I2C_Read... [00:00:43]Read from MH i2c: E2 FD 00 [00:00:43]MH_I2C_Read... [00:00:43]Read from MH i2c: E2 FD 00 0E 32 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 E2 [00:00:43]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:00:43]wFMCommunicate OK [00:00:43]wFMCommunicate request_size=4 [00:00:43]MH_SAM_APDU [00:00:43]CAPDU: 80 17 00 00 [00:00:43]Write to MH i2c: E2 08 00 0F 32 80 17 00 00 00 00 00 00 C1 [00:00:43]Write i2c OK [00:00:43]MH_I2C_Read... [00:00:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:44]Read from MH i2c: E2 [00:00:44]MH_I2C_Read... [00:00:44]Read from MH i2c: E2 FD 00 [00:00:44]MH_I2C_Read... [00:00:44]Read from MH i2c: E2 FD 00 0F 32 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 78 [00:00:44]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [00:00:44]wFMCommunicate OK [00:00:44]wFMCommunicate request_size=4 [00:00:44]MH_SAM_APDU [00:00:44]CAPDU: 80 17 00 00 [00:00:44]Write to MH i2c: E2 08 00 10 32 80 17 00 00 00 00 00 00 C2 [00:00:44]Write i2c OK [00:00:44]MH_I2C_Read... [00:00:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:44]Read from MH i2c: E2 [00:00:44]MH_I2C_Read... [00:00:44]Read from MH i2c: E2 FD 00 [00:00:44]MH_I2C_Read... [00:00:44]Read from MH i2c: E2 FD 00 10 32 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 34 [00:00:44]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:00:44]wFMCommunicate OK [00:00:44]wFMCommunicate request_size=4 [00:00:44]MH_SAM_APDU [00:00:44]CAPDU: 80 17 00 00 [00:00:44]Write to MH i2c: E2 08 00 11 32 80 17 00 00 00 00 00 00 C3 [00:00:44]Write i2c OK [00:00:44]MH_I2C_Read... [00:00:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:00:45]Read from MH i2c: E2 [00:00:45]MH_I2C_Read... [00:00:45]Read from MH i2c: E2 CB 00 [00:00:45]MH_I2C_Read... [00:00:45]Read from MH i2c: E2 CB 00 11 32 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 AC [00:00:45]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 OFD Sender: No OFD packet to send [00:00:45]03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:00:45]wFMCommunicate OK [00:00:45]SAM_PROTO_GetShiftData done [00:00:45]requested_item shift.sale.total_cash is exist - process it [00:00:45]requested_item shift.sale_refund.total is exist - process it [00:00:45]requested_item shift.sale_refund.total_cash is exist - process it [00:00:45]requested_item shift.buy.total is exist - process it [00:00:45]requested_item shift.buy.total_cash is exist - process it [00:00:45]produce_requested_data done [00:00:45]produce_requested_data return {"fm.sale.total":6251617.48,"fm.sale_refund.total":111600.00,"fm.buy.total":0.00,"shift.sale.total":20786.00,"shift.sale.total_cash":16702.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:00:45]process_action_free get_value [00:00:45]json_value_free [00:00:45]json_value_free done [00:00:45]process_json_proto returns [00:00:45]Send response to host [00:00:45]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":6251617.48,"fm.sale_refund.total":111600.00,"fm.buy.total":0.00,"shift.sale.total":20786.00,"shift.sale.total_cash":16702.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:00:45]free response buf [00:00:45]execute_script done [00:00:45]execute_script returns [00:00:45]free content buf [00:00:45]Sock 9.Close socket [00:00:45]Sock 9.Thread stoped [00:00:45]accept exits with 8 [00:00:45]New connection [00:00:45]New thread 3066695012 created [00:00:45]Thread 3066838372 joined [00:00:45]Waiting for new connection... [00:00:45] Sock 8.Parse request [00:00:45]Sock 8.Check first char [00:00:45]Sock 8.First char is OK [00:00:45]request: POST /json_proto HTTP/1.0 [00:00:45]Method: POST [00:00:45]URL: /json_proto [00:00:45]Method is POST - this is cgi request [00:00:45]url: /json_proto [00:00:45]query_string will be loaded in cgi processing [00:00:45]execute_cgi json_proto POST (null) [00:00:45]execute_cgi path=json_proto method=POST [00:00:45]POST find Content-Length [00:00:45]Host: 172.17.35.133:8080 [00:00:45]Content-Length: 278 [00:00:45]Content-Type: application/json [00:00:45] [00:00:45]POST finish read [00:00:45]Found Content-Length = 278 [00:00:45]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u041A\u0430\u0434\u044B\u0440\u043A\u0443\u043B\u043E\u0432\u0430 \u0411. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:00:45]execute_script... [00:00:45]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u041A\u0430\u0434\u044B\u0440\u043A\u0443\u043B\u043E\u0432\u0430 \u0411. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:00:45]POST & json_proto [00:00:45]process_json_proto [00:00:45]json parsed OK: [00:00:45]protocol is kg_v1.0 [00:00:45]action value=close_shift [00:00:45]process_action close_shift [00:00:45]cmd_close_shift [00:00:45]MH_GetDate [00:00:45]Write to MH i2c: F0 00 00 12 32 33 [00:00:45]Write i2c OK [00:00:45]MH_I2C_Read... [00:00:45]Read from MH i2c: F0 [00:00:45]MH_I2C_Read... [00:00:45]Read from MH i2c: F0 09 00 [00:00:45]MH_I2C_Read... [00:00:45]Read from MH i2c: F0 09 00 12 32 00 B8 7C 6F 66 8C 55 28 65 B3 [00:00:45]GetLastDocTimeStamp 1718582404 [00:00:45]current date 1718582456 [00:00:45]FM_GetShiftState [00:00:45]SAM_PROTO_GetShiftState [00:00:45]wFMCommunicate request_size=4 [00:00:45]MH_SAM_APDU [00:00:45]CAPDU: 80 13 01 00 [00:00:45]Write to MH i2c: E2 08 00 13 32 80 13 01 00 00 00 00 00 C2 [00:00:45]Write i2c OK [00:00:45]MH_I2C_Read... [00:00:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:00:45]Read from MH i2c: E2 [00:00:45]MH_I2C_Read... [00:00:45]Read from MH i2c: E2 0E 00 [00:00:45]MH_I2C_Read... [00:00:45]Read from MH i2c: E2 0E 00 13 32 00 09 00 01 11 30 6E 66 00 00 00 00 90 00 E3 [00:00:45]RAPDU: 09 00 01 11 30 6E 66 00 00 00 00 90 00 [00:00:45]wFMCommunicate OK [00:00:45]SAM_PROTO_GetShiftState done [00:00:45]FM_GetShiftState done [00:00:45]KKMCreateCloseShiftDocument [00:00:45]Load OK [00:00:45]Malloc new data [00:00:45]MH_GetDate [00:00:45]Write to MH i2c: F0 00 00 14 32 35 [00:00:45]Write i2c OK [00:00:45]MH_I2C_Read... [00:00:45]Read from MH i2c: F0 [00:00:45]MH_I2C_Read... [00:00:45]Read from MH i2c: F0 09 00 [00:00:45]MH_I2C_Read... [00:00:45]Read from MH i2c: F0 09 00 14 32 00 B8 7C 6F 66 8C 55 28 65 B5 [00:00:45]Malloc new data [00:00:45]Malloc new data [00:00:45]Malloc new data [00:00:45]Malloc new data [00:00:45]KKMCreateCloseShiftDocument OK [00:00:45]KKMSetCloseShiftData OK [00:00:45]ProcessDocumentItem done err = 0, tmpTLVsize=77 [00:00:45]tlvbuf is 002F89C0 [00:00:45]KKMLoadAndSignCloseShiftData [00:00:45]SAM_PROTO_ProcessDocument [00:00:45]wFMCommunicate request_size=9 [00:00:45]MH_SAM_APDU [00:00:45]CAPDU: 80 15 01 00 04 05 00 4D 00 [00:00:45]Write to MH i2c: E2 0C 00 15 32 80 15 01 00 04 00 05 00 4D 00 00 00 20 [00:00:45]Write i2c OK [00:00:45]MH_I2C_Read... [00:00:45]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [00:00:45]Read from MH i2c: E2 [00:00:45]MH_I2C_Read... [00:00:45]Read from MH i2c: E2 03 00 [00:00:45]MH_I2C_Read... [00:00:45]Read from MH i2c: E2 03 00 15 32 00 90 00 BB [00:00:45]RAPDU: 90 00 [00:00:45]wFMCommunicate OK [00:00:45]wFMCommunicate request_size=23 [00:00:45]MH_SAM_APDU [00:00:45]CAPDU: 80 15 02 00 12 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 [00:00:45]Write to MH i2c: E2 1A 00 16 32 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 BD [00:00:45]Write i2c OK [00:00:45]MH_I2C_Read... [00:00:45]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:00:45]Read from MH i2c: E2 [00:00:45]MH_I2C_Read... [00:00:45]Read from MH i2c: E2 03 00 [00:00:45]MH_I2C_Read... [00:00:45]Read from MH i2c: E2 03 00 16 32 00 90 00 BC [00:00:45]RAPDU: 90 00 [00:00:45]wFMCommunicate OK [00:00:45]wFMCommunicate request_size=36 [00:00:45]MH_SAM_APDU [00:00:45]CAPDU: 80 15 02 00 1F FD 03 1B 00 D0 9A D0 B0 D0 B4 D1 8B D1 80 D0 BA D1 83 D0 BB D0 BE D0 B2 D0 B0 20 D0 91 2E 20 [00:00:45]Write to MH i2c: E2 27 00 17 32 80 15 02 00 1F 00 FD 03 1B 00 D0 9A D0 B0 D0 B4 D1 8B D1 80 D0 BA D1 83 D0 BB D0 BE D0 B2 D0 B0 20 D0 91 2E 20 00 00 05 [00:00:45]Write i2c OK [00:00:45]MH_I2C_Read... [00:00:45]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:00:45]Read from MH i2c: E2 [00:00:45]MH_I2C_Read... [00:00:45]Read from MH i2c: E2 03 00 [00:00:45]MH_I2C_Read... [00:00:45]Read from MH i2c: E2 03 00 17 32 00 90 00 BD [00:00:45]RAPDU: 90 00 [00:00:45]wFMCommunicate OK [00:00:45]wFMCommunicate request_size=13 [00:00:45]MH_SAM_APDU [00:00:45]CAPDU: 80 15 02 00 08 F4 03 04 00 B8 7C 6F 66 [00:00:45]Write to MH i2c: E2 10 00 18 32 80 15 02 00 08 00 F4 03 04 00 B8 7C 6F 66 00 00 DE [00:00:45]Write i2c OK [00:00:45]MH_I2C_Read... [00:00:45]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:00:45]Read from MH i2c: E2 [00:00:45]MH_I2C_Read... [00:00:45]Read from MH i2c: E2 03 00 [00:00:45]MH_I2C_Read... [00:00:45]Read from MH i2c: E2 03 00 18 32 00 90 00 BE [00:00:45]RAPDU: 90 00 [00:00:45]wFMCommunicate OK [00:00:45]wFMCommunicate request_size=25 [00:00:45]MH_SAM_APDU [00:00:45]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 [00:00:45]Write to MH i2c: E2 1C 00 19 32 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 00 00 37 [00:00:45]Write i2c OK [00:00:45]MH_I2C_Read... [00:00:46]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:00:46]Read from MH i2c: E2 [00:00:46]MH_I2C_Read... [00:00:46]Read from MH i2c: E2 03 00 [00:00:46]MH_I2C_Read... [00:00:46]Read from MH i2c: E2 03 00 19 32 00 90 00 BF [00:00:46]RAPDU: 90 00 [00:00:46]wFMCommunicate OK [00:00:46]wFMCommunicate request_size=4 [00:00:46]MH_SAM_APDU [00:00:46]CAPDU: 80 15 03 00 [00:00:46]Write to MH i2c: E2 08 00 1A 32 80 15 03 00 00 00 00 00 CD [00:00:46]Write i2c OK [00:00:46]MH_I2C_Read... [00:00:46]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 250! [00:00:46]Read from MH i2c: E2 [00:00:46]MH_I2C_Read... [00:00:46]Read from MH i2c: E2 FD 00 [00:00:46]MH_I2C_Read... [00:00:46]Read from MH i2c: E2 FD 00 1A 32 00 F1 04 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 2E 57 00 00 0E 04 04 00 47 01 00 00 5E 04 04 00 52 00 00 00 57 04 04 00 54 00 00 00 AA 04 AA 04 6E 04 04 00 52 00 00 00 69 04 9B 00 6F 04 04 00 52 00 00 00 B1 04 03 00 88 B7 1F 70 04 03 00 38 7C 19 72 04 03 00 50 3B 06 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 3F 5E 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 D4 47 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 BA [00:00:46]RAPDU: F1 04 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 2E 57 00 00 0E 04 04 00 47 01 00 00 5E 04 04 00 52 00 00 00 57 04 04 00 54 00 00 00 AA 04 AA 04 6E 04 04 00 52 00 00 00 69 04 9B 00 6F 04 04 00 52 00 00 00 B1 04 03 00 88 B7 1F 70 04 03 00 38 7C 19 72 04 03 00 50 3B 06 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 3F 5E 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 D4 47 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:00:46]wFMCommunicate OK [00:00:46]SAM_PROTO_ProcessDocument answer len = 1265 [00:00:46]SAM_PROTO_ProcessDocument remain to read = 1017 [00:00:46]wFMCommunicate request_size=4 [00:00:46]MH_SAM_APDU [00:00:46]CAPDU: 80 17 00 00 [00:00:46]Write to MH i2c: E2 08 00 1B 32 80 17 00 00 00 00 00 00 CD [00:00:46]Write i2c OK [00:00:46]MH_I2C_Read... [00:00:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:47]Read from MH i2c: E2 [00:00:47]MH_I2C_Read... [00:00:47]Read from MH i2c: E2 FD 00 [00:00:47]MH_I2C_Read... [00:00:47]Read from MH i2c: E2 FD 00 1B 32 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 16 [00:00:47]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:00:47]wFMCommunicate OK [00:00:47]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:00:47]SAM_PROTO_ProcessDocument remain to read = 767 [00:00:47]wFMCommunicate request_size=4 [00:00:47]MH_SAM_APDU [00:00:47]CAPDU: 80 17 00 00 [00:00:47]Write to MH i2c: E2 08 00 1C 32 80 17 00 00 00 00 00 00 CE [00:00:47]Write i2c OK [00:00:47]MH_I2C_Read... [00:00:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:47]Read from MH i2c: E2 [00:00:47]MH_I2C_Read... [00:00:47]Read from MH i2c: E2 FD 00 [00:00:47]MH_I2C_Read... [00:00:47]Read from MH i2c: E2 FD 00 1C 32 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 30 [00:00:47]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:00:47]wFMCommunicate OK [00:00:47]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:00:47]SAM_PROTO_ProcessDocument remain to read = 517 [00:00:47]wFMCommunicate request_size=4 [00:00:47]MH_SAM_APDU [00:00:47]CAPDU: 80 17 00 00 [00:00:47]Write to MH i2c: E2 08 00 1D 32 80 17 00 00 00 00 00 00 CF [00:00:47]Write i2c OK [00:00:47]MH_I2C_Read... [00:00:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:48]Read from MH i2c: E2 [00:00:48]MH_I2C_Read... [00:00:48]Read from MH i2c: E2 FD 00 [00:00:48]MH_I2C_Read... [00:00:48]Read from MH i2c: E2 FD 00 1D 32 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 59 [00:00:48]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:00:48]wFMCommunicate OK [00:00:48]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:00:48]SAM_PROTO_ProcessDocument remain to read = 267 [00:00:48]wFMCommunicate request_size=4 [00:00:48]MH_SAM_APDU [00:00:48]CAPDU: 80 17 00 00 [00:00:48]Write to MH i2c: E2 08 00 1E 32 80 17 00 00 00 00 00 00 D0 [00:00:48]Write i2c OK [00:00:48]MH_I2C_Read... [00:00:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:48]Read from MH i2c: E2 [00:00:48]MH_I2C_Read... [00:00:48]Read from MH i2c: E2 FD 00 [00:00:48]MH_I2C_Read... [00:00:48]Read from MH i2c: E2 FD 00 1E 32 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 98 [00:00:48]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:00:49]wFMCommunicate OK [00:00:49]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:00:49]SAM_PROTO_ProcessDocument remain to read = 17 [00:00:49]wFMCommunicate request_size=4 [00:00:49]MH_SAM_APDU [00:00:49]CAPDU: 80 17 00 00 [00:00:49]Write to MH i2c: E2 08 00 1F 32 80 17 00 00 00 00 00 00 D1 [00:00:49]Write i2c OK [00:00:49]MH_I2C_Read... [00:00:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 17! [00:00:49]Read from MH i2c: E2 [00:00:49]MH_I2C_Read... [00:00:49]Read from MH i2c: E2 14 00 [00:00:49]MH_I2C_Read... [00:00:49]Read from MH i2c: E2 14 00 1F 32 00 01 00 06 F7 03 00 00 35 04 06 00 56 0C A9 97 DC 69 90 00 FD [00:00:49]RAPDU: 01 00 06 F7 03 00 00 35 04 06 00 56 0C A9 97 DC 69 90 00 [00:00:49]wFMCommunicate OK [00:00:49]SAM_PROTO_ProcessDocument received (without SW) 17 bytes [00:00:49]SAM_PROTO_ProcessDocument done [00:00:49]1209 (1) - 1.0 - номер версии ФФД [00:00:49]1041 (16) - 0000000000965344 - номер ФМ [00:00:49]1040 (4) - 22318 - номер ФД [00:00:49]1038 (4) - 327 - номер смены [00:00:49]1118 (4) - 82 - количество кассовых чеков за смену [00:00:49]1111 (4) - 84 - общее количество ФД за смену [00:00:49]1194 (1194) - счетчики итогов смены [00:00:49] 1134 (4) - 82 - количество чеков со всеми признаками расчетов [00:00:49] 1129 (155) - счетчики операций «приход» [00:00:49] 1135 (4) - 82 - количество чеков по признаку расчетов [00:00:49] 1201 (3) - 20786.00 - общая итоговая сумма в чеках [00:00:49] 1136 (3) - 16702.00 - итоговая сумма в чеках наличными [00:00:49] 1138 (3) - 4084.00 - итоговая сумма в чеках безналичными [00:00:49] 1024 (122) - суммы налогов [00:00:49] 1006 (9) - суммы НДС [00:00:49] 1010 (1) - 0% - код ставки НДС [00:00:49] 1011 (0) - 0.00 - сумма НДС по ставке [00:00:49] 1006 (12) - суммы НДС [00:00:49] 1010 (1) - 12% - код ставки НДС [00:00:49] 1011 (3) - 2207.35 - сумма НДС по ставке [00:00:49] 1007 (9) - суммы НСП [00:00:49] 1014 (1) - 0% - код ставки НСП [00:00:49] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:49] 1007 (11) - суммы НСП [00:00:49] 1014 (1) - 1% - код ставки НСП [00:00:49] 1015 (2) - 183.88 - сумма НСП по ставке [00:00:49] 1007 (9) - суммы НСП [00:00:49] 1014 (1) - 2% - код ставки НСП [00:00:49] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:49] 1007 (9) - суммы НСП [00:00:49] 1014 (1) - 3% - код ставки НСП [00:00:49] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:49] 1007 (9) - суммы НСП [00:00:49] 1014 (1) - 5% - код ставки НСП [00:00:49] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:49] 1007 (9) - суммы НСП [00:00:49] 1014 (1) - 0,50% - код ставки НСП [00:00:49] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:49] 1007 (9) - суммы НСП [00:00:49] 1014 (1) - 1,50% - код ставки НСП [00:00:49] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:49] 1130 (141) - счетчики операций «возврат прихода» [00:00:49] 1135 (4) - 0 - количество чеков по признаку расчетов [00:00:49] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:00:49] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:00:49] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:00:49] 1024 (117) - суммы налогов [00:00:49] 1006 (9) - суммы НДС [00:00:49] 1010 (1) - 0% - код ставки НДС [00:00:49] 1011 (0) - 0.00 - сумма НДС по ставке [00:00:49] 1006 (9) - суммы НДС [00:00:49] 1010 (1) - 12% - код ставки НДС [00:00:49] 1011 (0) - 0.00 - сумма НДС по ставке [00:00:49] 1007 (9) - суммы НСП [00:00:49] 1014 (1) - 0% - код ставки НСП [00:00:49] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:49] 1007 (9) - суммы НСП [00:00:49] 1014 (1) - 1% - код ставки НСП [00:00:49] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:49] 1007 (9) - суммы НСП [00:00:49] 1014 (1) - 2% - код ставки НСП [00:00:49] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:49] 1007 (9) - суммы НСП [00:00:49] 1014 (1) - 3% - код ставки НСП [00:00:49] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:49] 1007 (9) - суммы НСП [00:00:49] 1014 (1) - 5% - код ставки НСП [00:00:49] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:49] 1007 (9) - суммы НСП [00:00:49] 1014 (1) - 0,50% - код ставки НСП [00:00:49] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:49] 1007 (9) - суммы НСП [00:00:49] 1014 (1) - 1,50% - код ставки НСП [00:00:49] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:49] 1131 (141) - счетчики операций «расход» [00:00:49] 1135 (4) - 0 - количество чеков по признаку расчетов [00:00:49] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:00:49] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:00:49] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:00:49] 1024 (117) - суммы налогов [00:00:49] 1006 (9) - суммы НДС [00:00:49] 1010 (1) - 0% - код ставки НДС [00:00:49] 1011 (0) - 0.00 - сумма НДС по ставке [00:00:49] 1006 (9) - суммы НДС [00:00:49] 1010 (1) - 12% - код ставки НДС [00:00:49] 1011 (0) - 0.00 - сумма НДС по ставке [00:00:49] 1007 (9) - суммы НСП [00:00:49] 1014 (1) - 0% - код ставки НСП [00:00:49] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:49] 1007 (9) - суммы НСП [00:00:49] 1014 (1) - 1% - код ставки НСП [00:00:49] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:49] 1007 (9) - суммы НСП [00:00:49] 1014 (1) - 2% - код ставки НСП [00:00:49] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:49] 1007 (9) - суммы НСП [00:00:49] 1014 (1) - 3% - код ставки НСП [00:00:49] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:49] 1007 (9) - суммы НСП [00:00:49] 1014 (1) - 5% - код ставки НСП [00:00:49] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:49] 1007 (9) - суммы НСП [00:00:49] 1014 (1) - 0,50% - код ставки НСП [00:00:49] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:49] 1007 (9) - суммы НСП [00:00:49] 1014 (1) - 1,50% - код ставки НСП [00:00:49] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:49] 1132 (141) - счетчики операций «возврат расхода» [00:00:49] 1135 (4) - 0 - количество чеков по признаку расчетов [00:00:49] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:00:49] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:00:49] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:00:49] 1024 (117) - суммы налогов [00:00:49] 1006 (9) - суммы НДС [00:00:49] 1010 (1) - 0% - код ставки НДС [00:00:49] 1011 (0) - 0.00 - сумма НДС по ставке [00:00:49] 1006 (9) - суммы НДС [00:00:49] 1010 (1) - 12% - код ставки НДС [00:00:49] 1011 (0) - 0.00 - сумма НДС по ставке [00:00:49] 1007 (9) - суммы НСП [00:00:49] 1014 (1) - 0% - код ставки НСП [00:00:49] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:49] 1007 (9) - суммы НСП [00:00:49] 1014 (1) - 1% - код ставки НСП [00:00:49] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:49] 1007 (9) - суммы НСП [00:00:49] 1014 (1) - 2% - код ставки НСП [00:00:49] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:49] 1007 (9) - суммы НСП [00:00:49] 1014 (1) - 3% - код ставки НСП [00:00:49] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:49] 1007 (9) - суммы НСП [00:00:49] 1014 (1) - 5% - код ставки НСП [00:00:49] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:49] 1007 (9) - суммы НСП [00:00:49] 1014 (1) - 0,50% - код ставки НСП [00:00:49] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:49] 1007 (9) - суммы НСП [00:00:49] 1014 (1) - 1,50% - код ставки НСП [00:00:49] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:49] 1133 (588) - - счетчики коррекции - не используются [00:00:49]1077 (6) - 94612384898153 - ФПД [00:00:49]SetTLVBufToDocument [00:00:49]Processing tag 1209 (04B9) [00:00:49]Malloc new data [00:00:49]Processing tag 1041 (0411) [00:00:49]Processing tag 1040 (0410) [00:00:49]Malloc new data [00:00:49]Processing tag 1038 (040E) [00:00:49]Malloc new data [00:00:49]Processing tag 1118 (045E) [00:00:49]Malloc new data [00:00:49]Processing tag 1111 (0457) [00:00:49]Malloc new data [00:00:49]Processing tag 1194 (04AA) [00:00:49]Load OK [00:00:49]SetTLVBufToDocument [00:00:49]Processing tag 1134 (046E) [00:00:49]Malloc new data [00:00:49]Processing tag 1129 (0469) [00:00:49]Load OK [00:00:49]SetTLVBufToDocument [00:00:49]Processing tag 1135 (046F) [00:00:49]Malloc new data [00:00:49]Processing tag 1201 (04B1) [00:00:49]Malloc new data [00:00:49]Processing tag 1136 (0470) [00:00:49]Malloc new data [00:00:49]Processing tag 1138 (0472) [00:00:49]Malloc new data [00:00:49]Processing tag 1024 (0400) [00:00:49]Load OK [00:00:49]SetTLVBufToDocument [00:00:49]Processing tag 1006 (03EE) [00:00:49]Load OK [00:00:49]SetTLVBufToDocument [00:00:49]Processing tag 1010 (03F2) [00:00:49]Malloc new data [00:00:49]Processing tag 1011 (03F3) [00:00:49]Malloc new data [00:00:49]SetTLVBufToDocument err=0 [00:00:49]Processing tag 1006 (03EE) [00:00:49]Load OK [00:00:49]SetTLVBufToDocument [00:00:49]Processing tag 1010 (03F2) [00:00:49]Malloc new data [00:00:49]Processing tag 1011 (03F3) [00:00:49]Malloc new data [00:00:49]SetTLVBufToDocument err=0 [00:00:49]Processing tag 1007 (03EF) [00:00:49]Load OK [00:00:49]SetTLVBufToDocument [00:00:49]Processing tag 1014 (03F6) [00:00:49]Malloc new data [00:00:49]Processing tag 1015 (03F7) [00:00:49]Malloc new data [00:00:49]SetTLVBufToDocument err=0 [00:00:49]Processing tag 1007 (03EF) [00:00:49]Load OK [00:00:49]SetTLVBufToDocument [00:00:49]Processing tag 1014 (03F6) [00:00:49]Malloc new data [00:00:49]Processing tag 1015 (03F7) [00:00:49]Malloc new data [00:00:49]SetTLVBufToDocument err=0 [00:00:49]Processing tag 1007 (03EF) [00:00:49]Load OK [00:00:49]SetTLVBufToDocument [00:00:49]Processing tag 1014 (03F6) [00:00:49]Malloc new data [00:00:49]Processing tag 1015 (03F7) [00:00:49]Malloc new data [00:00:49]SetTLVBufToDocument err=0 [00:00:49]Processing tag 1007 (03EF) [00:00:49]Load OK [00:00:49]SetTLVBufToDocument [00:00:49]Processing tag 1014 (03F6) [00:00:49]Malloc new data [00:00:49]Processing tag 1015 (03F7) [00:00:49]Malloc new data [00:00:49]SetTLVBufToDocument err=0 [00:00:49]Processing tag 1007 (03EF) [00:00:49]Load OK [00:00:49]SetTLVBufToDocument [00:00:49]Processing tag 1014 (03F6) [00:00:49]Malloc new data [00:00:49]Processing tag 1015 (03F7) [00:00:49]Malloc new data [00:00:49]SetTLVBufToDocument err=0 [00:00:49]Processing tag 1007 (03EF) [00:00:49]Load OK [00:00:49]SetTLVBufToDocument [00:00:49]Processing tag 1014 (03F6) [00:00:49]Malloc new data [00:00:49]Processing tag 1015 (03F7) [00:00:49]Malloc new data [00:00:49]SetTLVBufToDocument err=0 [00:00:49]Processing tag 1007 (03EF) [00:00:49]Load OK [00:00:49]SetTLVBufToDocument [00:00:49]Processing tag 1014 (03F6) [00:00:49]Malloc new data [00:00:49]Processing tag 1015 (03F7) [00:00:49]Malloc new data [00:00:49]SetTLVBufToDocument err=0 [00:00:49]SetTLVBufToDocument err=0 [00:00:49]SetTLVBufToDocument err=0 [00:00:49]Processing tag 1130 (046A) [00:00:49]Load OK [00:00:49]SetTLVBufToDocument [00:00:49]Processing tag 1135 (046F) [00:00:49]Malloc new data [00:00:49]Processing tag 1201 (04B1) [00:00:49]Malloc new data [00:00:49]Processing tag 1136 (0470) [00:00:49]Malloc new data [00:00:49]Processing tag 1138 (0472) [00:00:49]Malloc new data [00:00:49]Processing tag 1024 (0400) [00:00:49]Load OK [00:00:49]SetTLVBufToDocument [00:00:49]Processing tag 1006 (03EE) [00:00:49]Load OK [00:00:49]SetTLVBufToDocument [00:00:49]Processing tag 1010 (03F2) [00:00:49]Malloc new data [00:00:49]Processing tag 1011 (03F3) [00:00:49]Malloc new data [00:00:49]SetTLVBufToDocument err=0 [00:00:49]Processing tag 1006 (03EE) [00:00:49]Load OK [00:00:49]SetTLVBufToDocument [00:00:49]Processing tag 1010 (03F2) [00:00:49]Malloc new data [00:00:49]Processing tag 1011 (03F3) [00:00:49]Malloc new data [00:00:49]SetTLVBufToDocument err=0 [00:00:49]Processing tag 1007 (03EF) [00:00:49]Load OK [00:00:49]SetTLVBufToDocument [00:00:49]Processing tag 1014 (03F6) [00:00:49]Malloc new data [00:00:49]Processing tag 1015 (03F7) [00:00:49]Malloc new data [00:00:49]SetTLVBufToDocument err=0 [00:00:49]Processing tag 1007 (03EF) [00:00:49]Load OK [00:00:49]SetTLVBufToDocument [00:00:49]Processing tag 1014 (03F6) [00:00:49]Malloc new data [00:00:49]Processing tag 1015 (03F7) [00:00:49]Malloc new data [00:00:49]SetTLVBufToDocument err=0 [00:00:49]Processing tag 1007 (03EF) [00:00:49]Load OK [00:00:49]SetTLVBufToDocument [00:00:49]Processing tag 1014 (03F6) [00:00:49]Malloc new data [00:00:49]Processing tag 1015 (03F7) [00:00:49]Malloc new data [00:00:49]SetTLVBufToDocument err=0 [00:00:49]Processing tag 1007 (03EF) [00:00:49]Load OK [00:00:49]SetTLVBufToDocument [00:00:49]Processing tag 1014 (03F6) [00:00:49]Malloc new data [00:00:49]Processing tag 1015 (03F7) [00:00:49]Malloc new data [00:00:49]SetTLVBufToDocument err=0 [00:00:49]Processing tag 1007 (03EF) [00:00:49]Load OK [00:00:49]SetTLVBufToDocument [00:00:49]Processing tag 1014 (03F6) [00:00:49]Malloc new data [00:00:49]Processing tag 1015 (03F7) [00:00:49]Malloc new data [00:00:49]SetTLVBufToDocument err=0 [00:00:49]Processing tag 1007 (03EF) [00:00:49]Load OK [00:00:49]SetTLVBufToDocument [00:00:49]Processing tag 1014 (03F6) [00:00:49]Malloc new data [00:00:49]Processing tag 1015 (03F7) [00:00:49]Malloc new data [00:00:49]SetTLVBufToDocument err=0 [00:00:49]Processing tag 1007 (03EF) [00:00:49]Load OK [00:00:49]SetTLVBufToDocument [00:00:49]Processing tag 1014 (03F6) [00:00:49]Malloc new data [00:00:49]Processing tag 1015 (03F7) [00:00:49]Malloc new data [00:00:49]SetTLVBufToDocument err=0 [00:00:49]SetTLVBufToDocument err=0 [00:00:49]SetTLVBufToDocument err=0 [00:00:49]Processing tag 1131 (046B) [00:00:49]Load OK [00:00:49]SetTLVBufToDocument [00:00:49]Processing tag 1135 (046F) [00:00:49]Malloc new data [00:00:49]Processing tag 1201 (04B1) [00:00:49]Malloc new data [00:00:49]Processing tag 1136 (0470) [00:00:49]Malloc new data [00:00:49]Processing tag 1138 (0472) [00:00:49]Malloc new data [00:00:49]Processing tag 1024 (0400) [00:00:49]Load OK [00:00:49]SetTLVBufToDocument [00:00:49]Processing tag 1006 (03EE) [00:00:49]Load OK [00:00:49]SetTLVBufToDocument [00:00:49]Processing tag 1010 (03F2) [00:00:49]Malloc new data [00:00:49]Processing tag 1011 (03F3) [00:00:49]Malloc new data [00:00:49]SetTLVBufToDocument err=0 [00:00:49]Processing tag 1006 (03EE) [00:00:49]Load OK [00:00:49]SetTLVBufToDocument [00:00:49]Processing tag 1010 (03F2) [00:00:49]Malloc new data [00:00:50]Processing tag 1011 (03F3) [00:00:50]Malloc new data [00:00:50]SetTLVBufToDocument err=0 [00:00:50]Processing tag 1007 (03EF) [00:00:50]Load OK [00:00:50]SetTLVBufToDocument [00:00:50]Processing tag 1014 (03F6) [00:00:50]Malloc new data [00:00:50]Processing tag 1015 (03F7) [00:00:50]Malloc new data [00:00:50]SetTLVBufToDocument err=0 [00:00:50]Processing tag 1007 (03EF) [00:00:50]Load OK [00:00:50]SetTLVBufToDocument [00:00:50]Processing tag 1014 (03F6) [00:00:50]Malloc new data [00:00:50]Processing tag 1015 (03F7) [00:00:50]Malloc new data [00:00:50]SetTLVBufToDocument err=0 [00:00:50]Processing tag 1007 (03EF) [00:00:50]Load OK [00:00:50]SetTLVBufToDocument [00:00:50]Processing tag 1014 (03F6) [00:00:50]Malloc new data [00:00:50]Processing tag 1015 (03F7) [00:00:50]Malloc new data [00:00:50]SetTLVBufToDocument err=0 [00:00:50]Processing tag 1007 (03EF) [00:00:50]Load OK [00:00:50]SetTLVBufToDocument [00:00:50]Processing tag 1014 (03F6) [00:00:50]Malloc new data [00:00:50]Processing tag 1015 (03F7) [00:00:50]Malloc new data [00:00:50]SetTLVBufToDocument err=0 [00:00:50]Processing tag 1007 (03EF) [00:00:50]Load OK [00:00:50]SetTLVBufToDocument [00:00:50]Processing tag 1014 (03F6) [00:00:50]Malloc new data [00:00:50]Processing tag 1015 (03F7) [00:00:50]Malloc new data [00:00:50]SetTLVBufToDocument err=0 [00:00:50]Processing tag 1007 (03EF) [00:00:50]Load OK [00:00:50]SetTLVBufToDocument [00:00:50]Processing tag 1014 (03F6) [00:00:50]Malloc new data [00:00:50]Processing tag 1015 (03F7) [00:00:50]Malloc new data [00:00:50]SetTLVBufToDocument err=0 [00:00:50]Processing tag 1007 (03EF) [00:00:50]Load OK [00:00:50]SetTLVBufToDocument [00:00:50]Processing tag 1014 (03F6) [00:00:50]Malloc new data [00:00:50]Processing tag 1015 (03F7) [00:00:50]Malloc new data [00:00:50]SetTLVBufToDocument err=0 [00:00:50]SetTLVBufToDocument err=0 [00:00:50]SetTLVBufToDocument err=0 [00:00:50]Processing tag 1132 (046C) [00:00:50]Load OK [00:00:50]SetTLVBufToDocument [00:00:50]Processing tag 1135 (046F) [00:00:50]Malloc new data [00:00:50]Processing tag 1201 (04B1) [00:00:50]Malloc new data [00:00:50]Processing tag 1136 (0470) [00:00:50]Malloc new data [00:00:50]Processing tag 1138 (0472) [00:00:50]Malloc new data [00:00:50]Processing tag 1024 (0400) [00:00:50]Load OK [00:00:50]SetTLVBufToDocument [00:00:50]Processing tag 1006 (03EE) [00:00:50]Load OK [00:00:50]SetTLVBufToDocument [00:00:50]Processing tag 1010 (03F2) [00:00:50]Malloc new data [00:00:50]Processing tag 1011 (03F3) [00:00:50]Malloc new data [00:00:50]SetTLVBufToDocument err=0 [00:00:50]Processing tag 1006 (03EE) [00:00:50]Load OK [00:00:50]SetTLVBufToDocument [00:00:50]Processing tag 1010 (03F2) [00:00:50]Malloc new data [00:00:50]Processing tag 1011 (03F3) [00:00:50]Malloc new data [00:00:50]SetTLVBufToDocument err=0 [00:00:50]Processing tag 1007 (03EF) [00:00:50]Load OK [00:00:50]SetTLVBufToDocument [00:00:50]Processing tag 1014 (03F6) [00:00:50]Malloc new data [00:00:50]Processing tag 1015 (03F7) [00:00:50]Malloc new data [00:00:50]SetTLVBufToDocument err=0 [00:00:50]Processing tag 1007 (03EF) [00:00:50]Load OK [00:00:50]SetTLVBufToDocument [00:00:50]Processing tag 1014 (03F6) [00:00:50]Malloc new data [00:00:50]Processing tag 1015 (03F7) [00:00:50]Malloc new data [00:00:50]SetTLVBufToDocument err=0 [00:00:50]Processing tag 1007 (03EF) [00:00:50]Load OK [00:00:50]SetTLVBufToDocument [00:00:50]Processing tag 1014 (03F6) [00:00:50]Malloc new data [00:00:50]Processing tag 1015 (03F7) [00:00:50]Malloc new data [00:00:50]SetTLVBufToDocument err=0 [00:00:50]Processing tag 1007 (03EF) [00:00:50]Load OK [00:00:50]SetTLVBufToDocument [00:00:50]Processing tag 1014 (03F6) [00:00:50]Malloc new data [00:00:50]Processing tag 1015 (03F7) [00:00:50]Malloc new data [00:00:50]SetTLVBufToDocument err=0 [00:00:50]Processing tag 1007 (03EF) [00:00:50]Load OK [00:00:50]SetTLVBufToDocument [00:00:50]Processing tag 1014 (03F6) [00:00:50]Malloc new data [00:00:50]Processing tag 1015 (03F7) [00:00:50]Malloc new data [00:00:50]SetTLVBufToDocument err=0 [00:00:50]Processing tag 1007 (03EF) [00:00:50]Load OK [00:00:50]SetTLVBufToDocument [00:00:50]Processing tag 1014 (03F6) [00:00:50]Malloc new data [00:00:50]Processing tag 1015 (03F7) [00:00:50]Malloc new data [00:00:50]SetTLVBufToDocument err=0 [00:00:50]Processing tag 1007 (03EF) [00:00:50]Load OK [00:00:50]SetTLVBufToDocument [00:00:50]Processing tag 1014 (03F6) [00:00:50]Malloc new data [00:00:50]Processing tag 1015 (03F7) [00:00:50]Malloc new data [00:00:50]SetTLVBufToDocument err=0 [00:00:50]SetTLVBufToDocument err=0 [00:00:50]SetTLVBufToDocument err=0 [00:00:50]Processing tag 1133 (046D) [00:00:50]Malloc new data [00:00:50]SetTLVBufToDocument err=0 [00:00:50]Processing tag 1077 (0435) [00:00:50]Malloc new data [00:00:50]SetTLVBufToDocument err=0 [00:00:50]Malloc new data [00:00:50]SAM_PROTO_GetFMData [00:00:50]wFMCommunicate request_size=4 [00:00:50]MH_SAM_APDU [00:00:50]CAPDU: 80 13 03 00 [00:00:50]Write to MH i2c: E2 08 00 20 32 80 13 03 00 00 00 00 00 D1 [00:00:50]Write i2c OK [00:00:50]MH_I2C_Read... [00:00:50]OFD Sender: No OFD packet to send [00:00:50]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:00:50]Read from MH i2c: E2 [00:00:50]MH_I2C_Read... [00:00:50]Read from MH i2c: E2 FD 00 [00:00:50]MH_I2C_Read... [00:00:50]Read from MH i2c: E2 FD 00 20 32 00 C3 04 85 04 BF 04 6E 04 04 00 9F 54 00 00 69 04 A2 00 6F 04 04 00 88 54 00 00 B1 04 04 00 14 36 43 25 70 04 04 00 A8 A2 76 20 72 04 04 00 6C 93 CC 04 00 04 7E 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 95 06 F5 03 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 95 5E 54 EF 03 0B 00 F6 03 01 00 02 F7 03 02 00 66 06 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 17 00 00 00 B1 04 03 00 C0 49 AA 70 04 03 00 48 F9 A9 72 04 02 00 78 50 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 7D 15 12 EF 03 09 00 F6 90 00 79 [00:00:50]RAPDU: C3 04 85 04 BF 04 6E 04 04 00 9F 54 00 00 69 04 A2 00 6F 04 04 00 88 54 00 00 B1 04 04 00 14 36 43 25 70 04 04 00 A8 A2 76 20 72 04 04 00 6C 93 CC 04 00 04 7E 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 95 06 F5 03 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 95 5E 54 EF 03 0B 00 F6 03 01 00 02 F7 03 02 00 66 06 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 17 00 00 00 B1 04 03 00 C0 49 AA 70 04 03 00 48 F9 A9 72 04 02 00 78 50 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 7D 15 12 EF 03 09 00 F6 90 00 [00:00:50]wFMCommunicate OK [00:00:50]wFMCommunicate request_size=4 [00:00:50]MH_SAM_APDU [00:00:50]CAPDU: 80 17 00 00 [00:00:50]Write to MH i2c: E2 08 00 21 32 80 17 00 00 00 00 00 00 D3 [00:00:50]Write i2c OK [00:00:50]MH_I2C_Read... [00:00:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:51]Read from MH i2c: E2 [00:00:51]MH_I2C_Read... [00:00:51]Read from MH i2c: E2 FD 00 [00:00:51]MH_I2C_Read... [00:00:51]Read from MH i2c: E2 FD 00 21 32 00 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 C9 81 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 90 00 DE [00:00:51]RAPDU: 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 C9 81 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 90 00 [00:00:51]wFMCommunicate OK [00:00:51]wFMCommunicate request_size=4 [00:00:51]MH_SAM_APDU [00:00:51]CAPDU: 80 17 00 00 [00:00:51]Write to MH i2c: E2 08 00 22 32 80 17 00 00 00 00 00 00 D4 [00:00:51]Write i2c OK [00:00:51]MH_I2C_Read... [00:00:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:51]Read from MH i2c: E2 [00:00:51]MH_I2C_Read... [00:00:51]Read from MH i2c: E2 FD 00 [00:00:51]MH_I2C_Read... [00:00:51]Read from MH i2c: E2 FD 00 22 32 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 F2 [00:00:51]RAPDU: 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:00:52]wFMCommunicate OK [00:00:52]wFMCommunicate request_size=4 [00:00:52]MH_SAM_APDU [00:00:52]CAPDU: 80 17 00 00 [00:00:52]Write to MH i2c: E2 08 00 23 32 80 17 00 00 00 00 00 00 D5 [00:00:52]Write i2c OK [00:00:52]MH_I2C_Read... [00:00:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:52]Read from MH i2c: E2 [00:00:52]MH_I2C_Read... [00:00:52]Read from MH i2c: E2 FD 00 [00:00:52]MH_I2C_Read... [00:00:52]Read from MH i2c: E2 FD 00 23 32 00 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 47 [00:00:52]RAPDU: 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:00:52]wFMCommunicate OK [00:00:52]wFMCommunicate request_size=4 [00:00:52]MH_SAM_APDU [00:00:52]CAPDU: 80 17 00 00 [00:00:52]Write to MH i2c: E2 08 00 24 32 80 17 00 00 00 00 00 00 D6 [00:00:52]Write i2c OK [00:00:52]MH_I2C_Read... [00:00:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 221! [00:00:53]Read from MH i2c: E2 [00:00:53]MH_I2C_Read... [00:00:53]Read from MH i2c: E2 E0 00 [00:00:53]MH_I2C_Read... [00:00:53]Read from MH i2c: E2 E0 00 24 32 00 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 C0 [00:00:53]RAPDU: 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:00:53]wFMCommunicate OK [00:00:53]SAM_PROTO_GetFMData done [00:00:53]Malloc new data [00:00:53]Malloc new data [00:00:53]Malloc new data [00:00:53]Malloc new data [00:00:53]KKMLoadAndSignCloseShiftData err=0 [00:00:53]Отчет о закрытии смены ФФД: 1.0 ИНН: 02508201610067 Кассир: Кадыркулова Б. 17.06.2024 00:00 Смена: 327 РНМ: 0000000000099755 ЗНМ: 0300000200 СНО: Общий режим Чеков за смену: 82 ФД за смену: 84 Всего чеков: 82 ИТОГИ ПРИХОД Чеков: 82 Общий итог: 20786.00 Итого наличными: 16702.00 Итого безнал.: 4084.00 НДС 0% : 0.00 НДС 12% : 2207.35 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 183.88 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 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 Нал. в кассе: 16702.00 НС Приход: 6251617.48 НС Возвр.Прихода: 111600.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФД: 22318 ФМ: 0000000000965344 ФПД: 94612384898153 [00:00:53]StoreToDocumentArchive [00:00:53]shift 327 fd 22318 [00:00:53]save to /storage/0327/doc_00022318 [00:00:53]save last doc name /storage/0327/doc_00022318 to /storage/kkm_last_doc_name [00:00:53]save OK [00:00:53]Clear old archive folders... [00:00:53]Remove dir /storage/0266 [00:00:53]opendir ok [00:00:53]file . [00:00:53]file .. [00:00:53]file doc_1718582412 [00:00:53]remove file /storage/0266/doc_1718582412 [00:00:53]remove dir /storage/0266 [00:00:53]NVStorageSaveData kkm_registers [00:00:53]File name is /storage/kkm_registers [00:00:53]Write 24 bytes [00:00:53]NVStorageSaveData done [00:00:53]NVStorageSaveData kkm_registers [00:00:53]File name is /storage/kkm_registers [00:00:53]Write 24 bytes [00:00:53]NVStorageSaveData done [00:00:53]ProcessDocumentItem done err = 0, tmpTLVsize=1385 [00:00:53]tlvbuf is 00365940 [00:00:53]SAM_PROTO_ClearQueue [00:00:53]wFMCommunicate request_size=4 [00:00:53]MH_SAM_APDU [00:00:53]CAPDU: 80 09 00 00 [00:00:53]Write to MH i2c: E2 08 00 25 32 80 09 00 00 00 00 00 00 C9 [00:00:53]Write i2c OK [00:00:53]MH_I2C_Read... [00:00:53]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:00:53]Read from MH i2c: E2 [00:00:53]MH_I2C_Read... [00:00:53]Read from MH i2c: E2 03 00 [00:00:53]MH_I2C_Read... [00:00:53]Read from MH i2c: E2 03 00 25 32 00 90 00 CB [00:00:53]RAPDU: 90 00 [00:00:53]wFMCommunicate OK [00:00:53]SAM_PROTO_ClearQueue done [00:00:53]KKMCreateOFDPacket [00:00:53]OFDProtocolAddRootSTLVToBuf [00:00:53]FM_MakeSignedData [00:00:53]FM_MakeSignedData [00:00:53]SAM_PROTO_SignData [00:00:53]wFMCommunicate request_size=4 [00:00:53]MH_SAM_APDU [00:00:53]CAPDU: 80 0D 01 02 [00:00:53]Write to MH i2c: E2 08 00 26 32 80 0D 01 02 00 00 00 00 D1 [00:00:53]Write i2c OK [00:00:53]MH_I2C_Read... [00:00:53]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:00:53]Read from MH i2c: E2 [00:00:53]MH_I2C_Read... [00:00:53]Read from MH i2c: E2 03 00 [00:00:53]MH_I2C_Read... [00:00:53]Read from MH i2c: E2 03 00 26 32 00 90 00 CC [00:00:53]RAPDU: 90 00 [00:00:53]wFMCommunicate OK [00:00:53]wFMCommunicate request_size=255 [00:00:53]MH_SAM_APDU [00:00:53]CAPDU: 80 0D 02 02 FA 05 00 69 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 1B 00 D0 9A D0 B0 D0 B4 D1 8B D1 80 D0 BA D1 83 D0 BB D0 BE D0 B2 D0 B0 20 D0 91 2E 20 F4 03 04 00 B8 7C 6F 66 0E 04 04 00 47 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 5E 04 04 00 52 00 00 00 57 04 04 00 54 00 00 00 AA 04 D5 04 6E 04 04 00 52 00 00 00 69 04 A2 00 6F 04 04 00 52 00 00 00 B1 04 03 00 88 B7 1F 70 04 03 00 38 7C 19 72 04 03 00 50 3B 06 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 3F 5E 03 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 [00:00:53]Write to MH i2c: E2 02 01 27 32 80 0D 02 02 FA 00 05 00 69 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 1B 00 D0 9A D0 B0 D0 B4 D1 8B D1 80 D0 BA D1 83 D0 BB D0 BE D0 B2 D0 B0 20 D0 91 2E 20 F4 03 04 00 B8 7C 6F 66 0E 04 04 00 47 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 5E 04 04 00 52 00 00 00 57 04 04 00 54 00 00 00 AA 04 D5 04 6E 04 04 00 52 00 00 00 69 04 A2 00 6F 04 04 00 52 00 00 00 B1 04 03 00 88 B7 1F 70 04 03 00 38 7C 19 72 04 03 00 50 3B 06 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 3F 5E 03 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 00 00 24 [00:00:53]Write i2c OK [00:00:53]MH_I2C_Read... [00:00:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:00:54]Read from MH i2c: E2 [00:00:54]MH_I2C_Read... [00:00:54]Read from MH i2c: E2 03 00 [00:00:54]MH_I2C_Read... [00:00:54]Read from MH i2c: E2 03 00 27 32 00 90 00 CD [00:00:54]RAPDU: 90 00 [00:00:54]wFMCommunicate OK [00:00:54]wFMCommunicate request_size=255 [00:00:54]MH_SAM_APDU [00:00:54]CAPDU: 80 0D 02 02 FA 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 D4 47 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 [00:00:54]Write to MH i2c: E2 02 01 28 32 80 0D 02 02 FA 00 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 D4 47 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 00 00 5C [00:00:54]Write i2c OK [00:00:54]MH_I2C_Read... [00:00:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:00:54]Read from MH i2c: E2 [00:00:54]MH_I2C_Read... [00:00:54]Read from MH i2c: E2 03 00 [00:00:54]MH_I2C_Read... [00:00:54]Read from MH i2c: E2 03 00 28 32 00 90 00 CE [00:00:54]RAPDU: 90 00 [00:00:54]wFMCommunicate OK [00:00:54]wFMCommunicate request_size=255 [00:00:54]MH_SAM_APDU [00:00:54]CAPDU: 80 0D 02 02 FA 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 [00:00:54]Write to MH i2c: E2 02 01 29 32 80 0D 02 02 FA 00 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 00 00 9B [00:00:55]Write i2c OK [00:00:55]MH_I2C_Read... [00:00:55]OFD Sender: No OFD packet to send [00:00:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:00:55]Read from MH i2c: E2 [00:00:55]MH_I2C_Read... [00:00:55]Read from MH i2c: E2 03 00 [00:00:55]MH_I2C_Read... [00:00:55]Read from MH i2c: E2 03 00 29 32 00 90 00 CF [00:00:55]RAPDU: 90 00 [00:00:55]wFMCommunicate OK [00:00:55]wFMCommunicate request_size=255 [00:00:55]MH_SAM_APDU [00:00:55]CAPDU: 80 0D 02 02 FA 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 [00:00:55]Write to MH i2c: E2 02 01 2A 32 80 0D 02 02 FA 00 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 00 00 A5 [00:00:55]Write i2c OK [00:00:55]MH_I2C_Read... [00:00:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:00:56]Read from MH i2c: E2 [00:00:56]MH_I2C_Read... [00:00:56]Read from MH i2c: E2 03 00 [00:00:56]MH_I2C_Read... [00:00:56]Read from MH i2c: E2 03 00 2A 32 00 90 00 D0 [00:00:56]RAPDU: 90 00 [00:00:56]wFMCommunicate OK [00:00:56]wFMCommunicate request_size=255 [00:00:56]MH_SAM_APDU [00:00:56]CAPDU: 80 0D 02 02 FA F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:00:56]Write to MH i2c: E2 02 01 2B 32 80 0D 02 02 FA 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 00 66 [00:00:56]Write i2c OK [00:00:56]MH_I2C_Read... [00:00:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:00:56]Read from MH i2c: E2 [00:00:56]MH_I2C_Read... [00:00:56]Read from MH i2c: E2 03 00 [00:00:56]MH_I2C_Read... [00:00:56]Read from MH i2c: E2 03 00 2B 32 00 90 00 D1 [00:00:56]RAPDU: 90 00 [00:00:56]wFMCommunicate OK [00:00:56]wFMCommunicate request_size=144 [00:00:56]MH_SAM_APDU [00:00:56]CAPDU: 80 0D 02 02 8B 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 2E 57 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 35 04 06 00 56 0C A9 97 DC 69 [00:00:56]Write to MH i2c: E2 93 00 2C 32 80 0D 02 02 8B 00 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 2E 57 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 35 04 06 00 56 0C A9 97 DC 69 00 00 80 [00:00:57]Write i2c OK [00:00:57]MH_I2C_Read... [00:00:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:00:57]Read from MH i2c: E2 [00:00:57]MH_I2C_Read... [00:00:57]Read from MH i2c: E2 03 00 [00:00:57]MH_I2C_Read... [00:00:57]Read from MH i2c: E2 03 00 2C 32 00 90 00 D2 [00:00:57]RAPDU: 90 00 [00:00:57]wFMCommunicate OK [00:00:57]wFMCommunicate request_size=4 [00:00:57]MH_SAM_APDU [00:00:57]CAPDU: 80 0D 03 02 [00:00:57]Write to MH i2c: E2 08 00 2D 32 80 0D 03 02 00 00 00 00 DA [00:00:57]Write i2c OK [00:00:57]MH_I2C_Read... [00:00:57]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:00:57]Read from MH i2c: E2 [00:00:57]MH_I2C_Read... [00:00:57]Read from MH i2c: E2 0B 00 [00:00:57]MH_I2C_Read... [00:00:57]Read from MH i2c: E2 0B 00 2D 32 00 DE 16 E7 75 AD 27 C3 B1 90 00 73 [00:00:57]RAPDU: DE 16 E7 75 AD 27 C3 B1 90 00 [00:00:57]wFMCommunicate OK [00:00:57]SAM_PROTO_SignData done [00:00:57]FM_MakeSignedData done [00:00:57]CreateOFDProtocolMessage [00:00:57]wFMCommunicate request_size=4 [00:00:57]MH_SAM_APDU [00:00:57]CAPDU: 80 11 00 00 [00:00:57]Write to MH i2c: E2 08 00 2E 32 80 11 00 00 00 00 00 00 DA [00:00:57]Write i2c OK [00:00:57]MH_I2C_Read... [00:00:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:00:57]Read from MH i2c: E2 [00:00:57]MH_I2C_Read... [00:00:57]Read from MH i2c: E2 17 00 [00:00:57]MH_I2C_Read... [00:00:57]Read from MH i2c: E2 17 00 2E 32 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 2C [00:00:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [00:00:57]wFMCommunicate OK [00:00:57]CreateOFDProtocolMessage done [00:00:57]OFDSenderStorePacket 22318 [00:00:57]StoreOFDPacket docnum=22318 [00:00:57]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 7D 05 00 00 A8 BE 75 05 3A 8D 5A 05 01 00 05 00 69 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 1B 00 D0 9A D0 B0 D0 B4 D1 8B D1 80 D0 BA D1 83 D0 BB D0 BE D0 B2 D0 B0 20 D0 91 2E 20 F4 03 04 00 B8 7C 6F 66 0E 04 04 00 47 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 5E 04 04 00 52 00 00 00 57 04 04 00 54 00 00 00 AA 04 D5 04 6E 04 04 00 52 00 00 00 69 04 A2 00 6F 04 04 00 52 00 00 00 B1 04 03 00 88 B7 1F 70 04 03 00 38 7C 19 72 04 03 00 50 3B 06 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 3F 5E 03 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 D4 47 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 2E 57 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 35 04 06 00 56 0C A9 97 DC 69 DE 16 E7 75 AD 27 C3 B1 [00:00:57]CheckFolder [00:00:57]dirname=/storage/ofd_packets [00:00:57]CheckFolder done [00:00:57]ProducePacketName [00:00:57]name=ofd_packets/00022318 [00:00:57]NVStorageSaveData ofd_packets/00022318 [00:00:57]File name is /storage/ofd_packets/00022318 [00:00:57]Write 1435 bytes [00:00:57]NVStorageSaveData done [00:00:57]OFDSenderStorePacket done [00:00:57]KKMCreateOFDPacket done [00:00:57]NVStorageSaveData kkm_last_timestamp [00:00:57]File name is /storage/kkm_last_timestamp [00:00:57]Write 4 bytes [00:00:57]NVStorageSaveData done [00:00:57]ExternCall_PrintAddStr [00:00:57]wPrintStart [00:00:57]Write to MH i2c: 01 00 00 2F 32 61 [00:00:57]Write i2c OK [00:00:57]MH_I2C_Read... [00:00:57]Read from MH i2c: 01 [00:00:57]MH_I2C_Read... [00:00:57]Read from MH i2c: 01 07 00 [00:00:57]MH_I2C_Read... [00:00:57]Read from MH i2c: 01 07 00 2F 32 00 00 00 00 00 FF 0F 76 [00:00:57]RasterBufferAndPrint [00:00:57]line Отчет о закрытии смены [00:00:57]line ФФД: 1.0 [00:00:57]line ИНН: 02508201610067 [00:00:57]line Кассир: Кадыркулова Б. [00:00:57]line 17.06.2024 00:00 [00:00:57]line Смена: 327 [00:00:57]line РНМ: 0000000000099755 [00:00:57]line ЗНМ: 0300000200 [00:00:57]line СНО: Общий режим [00:00:57]line Чеков за смену: 82 [00:00:57]line ФД за смену: 84 [00:00:57]line Всего чеков: 82 [00:00:57]line ИТОГИ ПРИХОД [00:00:57]line Чеков: 82 [00:00:57]line Общий итог: 20786.00 [00:00:57]line Итого наличными: 16702.00 [00:00:57]line Итого безнал.: 4084.00 [00:00:57]line НДС 0% : 0.00 [00:00:57]line НДС 12% : 2207.35 [00:00:57]line НСП 0% : 0.00 [00:00:57]line НСП 1,50% : 0.00 [00:00:57]line НСП 0,50% : 0.00 [00:00:57]line НСП 5% : 0.00 [00:00:57]line НСП 3% : 0.00 [00:00:57]line НСП 2% : 0.00 [00:00:57]line НСП 1% : 183.88 [00:00:57]line ИТОГИ ВОЗВРАТ ПРИХОДА [00:00:57]line Чеков: 0 [00:00:57]line Общий итог: 0.00 [00:00:57]line Итого наличными: 0.00 [00:00:57]line Итого безнал.: 0.00 [00:00:57]line НДС 0% : 0.00 [00:00:57]line НДС 12% : 0.00 [00:00:57]line НСП 0% : 0.00 [00:00:57]line НСП 1,50% : 0.00 [00:00:57]line НСП 0,50% : 0.00 [00:00:57]line НСП 5% : 0.00 [00:00:57]line НСП 3% : 0.00 [00:00:57]line НСП 2% : 0.00 [00:00:57]line НСП 1% : 0.00 [00:00:57]line ИТОГИ РАСХОД [00:00:57]line Чеков: 0 [00:00:57]line Общий итог: 0.00 [00:00:57]line Итого наличными: 0.00 [00:00:57]line Итого безнал.: 0.00 [00:00:57]line НДС 0% : 0.00 [00:00:57]line НДС 12% : 0.00 [00:00:57]line НСП 0% : 0.00 [00:00:57]line НСП 1,50% : 0.00 [00:00:57]line НСП 0,50% : 0.00 [00:00:57]line НСП 5% : 0.00 [00:00:57]line НСП 3% : 0.00 [00:00:57]line НСП 2% : 0.00 [00:00:57]line НСП 1% : 0.00 [00:00:57]line ИТОГИ ВОЗВРАТ РАСХОДА [00:00:57]line Чеков: 0 [00:00:57]line Общий итог: 0.00 [00:00:57]OFD Sender: Processing packet 22318 [packets to send 5, broken 4] [00:00:57]line Итого наличными: 0.00 [00:00:57]ProducePacketName [00:00:57]line Итого безнал.: 0.00 [00:00:57]name=ofd_packets/00022318 [00:00:57]line НДС 0% : 0.00 [00:00:57]OFD Sender: To server: pG, [00:00:57]line НДС 12% : 0.00 [00:00:57]CommunicateWithHost lk.salyk.kg:30040 [00:00:57]line НСП 0% : 0.00 [00:00:57]ConnectInit lk.salyk.kg [00:00:57]line НСП 1,50% : 0.00 [00:00:57]line НСП 0,50% : 0.00 [00:00:57]line НСП 5% : 0.00 [00:00:57]line НСП 3% : 0.00 [00:00:57]line НСП 2% : 0.00 [00:00:57]line НСП 1% : 0.00 [00:00:57]line Сумма внесений: 0.00 [00:00:57]line Сумма выплат: 0.00 [00:00:57]line Нал. в кассе: 16702.00 [00:00:57]line НС Приход: 6251617.48 [00:00:57]line НС Возвр.Прихода: 111600.00 [00:00:57]line НС Расход: 0.00 [00:00:57]line НС Возвр.Расхода: 0.00 [00:00:57]line ФД: 22318 [00:00:57]line ФМ: 0000000000965344 [00:00:57]line ФПД: 94612384898153 [00:00:57]written 0, free lines is 4095 [00:00:57]Connected sock=10 [00:00:57]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 7D 05 00 00 A8 BE 75 05 3A 8D 5A 05 01 00 05 00 69 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 1B 00 D0 9A D0 B0 D0 B4 D1 8B D1 80 D0 BA D1 83 D0 BB D0 BE D0 B2 D0 B0 20 D0 91 2E 20 F4 03 04 00 B8 7C 6F 66 0E 04 04 00 47 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 5E 04 04 00 52 00 00 00 57 04 04 00 54 00 00 00 AA 04 D5 04 6E 04 04 00 52 00 00 00 69 04 A2 00 6F 04 04 00 52 00 00 00 B1 04 03 00 88 B7 1F 70 04 03 00 38 7C 19 72 04 03 00 50 3B 06 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 3F 5E 03 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 D4 47 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 Write to MH i2c: 0A 01 00 00 7F 32 B1 [00:00:58]Write i2c OK [00:00:58]MH_I2C_Read... [00:00:58]Read from MH i2c: 00 01 F2 [00:00:58]03 MH_I2C_Read... [00:00:58]01 Read from MH i2c: 00 01 00 07 F3 00 [00:00:58]MH_I2C_Read... [00:00:58]Read from MH i2c: 01 07 00 7F 32 00 00 00 00 00 03 E9 01 0A 00 AB 00 [00:00:58]EE RasterBufferAndPrint [00:00:58]03 line [00:00:58]0A line [00:00:58]line [00:00:58]line [00:00:58]line [00:00:58]written 0, free lines is 2856 [00:00:58]00 F2 03 01 00 01 F3 03 01 00 00 MH_Cut [00:00:58]EF Write to MH i2c: 03 D1 0A 00 01 F6 00 03 86 01 32 00 01 00 8A F7 [00:00:58]03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 Write i2c OK [00:00:58]F6 MH_I2C_Read... [00:00:58]03 Read from MH i2c: 01 D1 00 [00:00:58]05 MH_I2C_Read... [00:00:58]F7 03 01 00 00 EF 03 0A 00 F6 Read from MH i2c: 03 D1 01 01 00 00 04 [00:00:58]F7 MH_I2C_Read... [00:00:58]03 Read from MH i2c: 01 D1 00 01 00 00 EF 86 03 32 0A 00 00 89 F6 03 [00:00:58]01 Write to MH i2c: 00 01 00 00 87 32 B9 [00:00:58]Write i2c OK [00:00:58]MH_I2C_Read... [00:00:58]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 2E 57 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 35 04 06 00 56 0C A9 97 DC 69 DE 16 E7 75 AD 27 C3 B1 [00:00:59]*** Cut start [00:00:59]*** Partial cut [00:00:59]*** CUTSNS_PIN = 1 [00:00:59]*** CUTSNS_PIN = 0 [00:00:59]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 FC 3C 47 00 6F 33 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 2E 57 00 00 F4 03 04 00 7D 25 6F 66 B6 04 01 00 00 A3 21 0D AD 89 F7 3C 22 [00:00:59]CommunicateWithHost err = 0 [00:00:59]CheckOFDResponse [00:00:59]1017 (14) - 77093643461234 [00:00:59]1041 (16) - 0000000000965344 [00:00:59]1040 (4) - 22318 [00:00:59]1012 (4) - 16.06.2024 17:48 [00:00:59]1206 (1) - 0 [00:00:59]OFD Sender: Remove packet 22318 [00:00:59]ProducePacketName [00:00:59]name=ofd_packets/00022318 [00:00:59]NVStorageDeleteData [00:01:00]*** Brake cut motor [00:01:00]Read from MH i2c: 01 [00:01:00]MH_I2C_Read... [00:01:00]*** Stop cut motor [00:01:00]*** Cut end [00:01:00]Read from MH i2c: 01 07 00 [00:01:00]MH_I2C_Read... [00:01:00]Read from MH i2c: 01 07 00 87 32 00 00 00 00 00 FF 0F CE [00:01:00]process_action close_shift done [00:01:00]requested_data is exist [00:01:00]produce_requested_data [00:01:00]requested_item fd.num is exist - process it [00:01:00]SAM_PROTO_GetFieldsCounters [00:01:00]wFMCommunicate request_size=4 [00:01:00]MH_SAM_APDU [00:01:00]CAPDU: 80 13 00 00 [00:01:00]Write to MH i2c: E2 08 00 88 32 80 13 00 00 00 00 00 00 36 [00:01:00]Write i2c OK [00:01:00]MH_I2C_Read... [00:01:00]OFD Sender: No OFD packet to send [00:01:00]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:01:00]Read from MH i2c: E2 [00:01:00]MH_I2C_Read... [00:01:00]Read from MH i2c: E2 62 00 [00:01:00]MH_I2C_Read... [00:01:00]Read from MH i2c: E2 62 00 88 32 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 2E 57 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 52 00 00 00 5E 04 04 00 52 00 00 00 57 04 04 00 54 00 00 00 19 04 04 00 00 00 00 00 90 00 24 [00:01:00]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 2E 57 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 52 00 00 00 5E 04 04 00 52 00 00 00 57 04 04 00 54 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:01:00]wFMCommunicate OK [00:01:00]SAM_PROTO_GetFieldsCounters done [00:01:00]requested_item shift.num is exist - process it [00:01:00]requested_item shift.opened is exist - process it [00:01:00]req_shift_opened [00:01:00]FM_GetShiftState [00:01:00]SAM_PROTO_GetShiftState [00:01:00]wFMCommunicate request_size=4 [00:01:00]MH_SAM_APDU [00:01:00]CAPDU: 80 13 01 00 [00:01:00]Write to MH i2c: E2 08 00 89 32 80 13 01 00 00 00 00 00 38 [00:01:00]Write i2c OK [00:01:00]MH_I2C_Read... [00:01:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:01:00]Read from MH i2c: E2 [00:01:00]MH_I2C_Read... [00:01:00]Read from MH i2c: E2 0E 00 [00:01:00]MH_I2C_Read... [00:01:00]Read from MH i2c: E2 0E 00 89 32 00 09 00 00 00 00 00 00 00 00 00 00 90 00 43 [00:01:00]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:01:00]wFMCommunicate OK [00:01:00]SAM_PROTO_GetShiftState done [00:01:00]FM_GetShiftState done [00:01:00]req_shift_opened done [00:01:00]requested_item shift.open_date is exist - process it [00:01:00]req_shift_open_date [00:01:00]FM_GetShiftState [00:01:00]SAM_PROTO_GetShiftState [00:01:00]wFMCommunicate request_size=4 [00:01:00]MH_SAM_APDU [00:01:00]CAPDU: 80 13 01 00 [00:01:00]Write to MH i2c: E2 08 00 8A 32 80 13 01 00 00 00 00 00 39 [00:01:00]Write i2c OK [00:01:00]MH_I2C_Read... [00:01:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:01:00]Read from MH i2c: E2 [00:01:00]MH_I2C_Read... [00:01:00]Read from MH i2c: E2 0E 00 [00:01:00]MH_I2C_Read... [00:01:00]Read from MH i2c: E2 0E 00 8A 32 00 09 00 00 00 00 00 00 00 00 00 00 90 00 44 [00:01:00]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:01:00]wFMCommunicate OK [00:01:00]SAM_PROTO_GetShiftState done [00:01:00]FM_GetShiftState done [00:01:00]req_shift_open_date done [00:01:00]produce_requested_data done [00:01:00]produce_requested_data return {"fd.num":22318,"shift.num":327,"shift.opened":0,"shift.open_date":0} [00:01:00]process_action_free close_shift [00:01:00]json_value_free [00:01:00]json_value_free done [00:01:00]process_json_proto returns [00:01:00]Send response to host [00:01:00]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":22318,"shift.num":327,"shift.opened":0,"shift.open_date":0}}} [00:01:00]free response buf [00:01:00]execute_script done [00:01:00]execute_script returns [00:01:00]free content buf [00:01:00]Sock 8.Close socket [00:01:00]Sock 8.Thread stoped [00:01:05]OFD Sender: No OFD packet to send [00:01:10]OFD Sender: No OFD packet to send [00:01:15]OFD Sender: No OFD packet to send [00:01:20]OFD Sender: No OFD packet to send [00:01:25]OFD Sender: No OFD packet to send [00:01:30]OFD Sender: No OFD packet to send [00:01:35]OFD Sender: No OFD packet to send [00:01:40]OFD Sender: No OFD packet to send [00:01:45]OFD Sender: No OFD packet to send [00:01:50]OFD Sender: No OFD packet to send [00:01:55]OFD Sender: No OFD packet to send [00:02:00]OFD Sender: No OFD packet to send [00:02:05]OFD Sender: No OFD packet to send [00:02:10]OFD Sender: No OFD packet to send [00:02:15]OFD Sender: No OFD packet to send [00:02:20]OFD Sender: No OFD packet to send [00:02:25]OFD Sender: No OFD packet to send [00:02:30]OFD Sender: No OFD packet to send [00:02:35]OFD Sender: No OFD packet to send [00:02:40]OFD Sender: No OFD packet to send [00:02:45]OFD Sender: No OFD packet to send [00:02:50]OFD Sender: No OFD packet to send [00:02:55]OFD Sender: No OFD packet to send [00:03:00]OFD Sender: No OFD packet to send [00:03:05]OFD Sender: No OFD packet to send [00:03:10]OFD Sender: No OFD packet to send [00:03:15]OFD Sender: No OFD packet to send [00:03:20]OFD Sender: No OFD packet to send [00:03:25]OFD Sender: No OFD packet to send [00:03:30]OFD Sender: No OFD packet to send [00:03:35]OFD Sender: No OFD packet to send [00:03:40]OFD Sender: No OFD packet to send [00:03:45]OFD Sender: No OFD packet to send [00:03:50]OFD Sender: No OFD packet to send [00:03:55]OFD Sender: No OFD packet to send [00:04:00]OFD Sender: No OFD packet to send [00:04:05]OFD Sender: No OFD packet to send [00:04:10]OFD Sender: No OFD packet to send [00:04:15]OFD Sender: No OFD packet to send [00:04:20]OFD Sender: No OFD packet to send [00:04:25]OFD Sender: No OFD packet to send [00:04:30]OFD Sender: No OFD packet to send [00:04:35]OFD Sender: No OFD packet to send [00:04:40]OFD Sender: No OFD packet to send [00:04:45]OFD Sender: No OFD packet to send [00:04:50]OFD Sender: No OFD packet to send [00:04:55]OFD Sender: No OFD packet to send [00:05:00]OFD Sender: No OFD packet to send [00:05:05]OFD Sender: No OFD packet to send [00:05:10]OFD Sender: No OFD packet to send [00:05:15]OFD Sender: No OFD packet to send [00:05:20]OFD Sender: No OFD packet to send [00:05:25]OFD Sender: No OFD packet to send [00:05:30]OFD Sender: No OFD packet to send [00:05:35]OFD Sender: No OFD packet to send [00:05:40]OFD Sender: No OFD packet to send [00:05:45]OFD Sender: No OFD packet to send [00:05:50]OFD Sender: No OFD packet to send [00:05:55]OFD Sender: No OFD packet to send [00:06:00]OFD Sender: No OFD packet to send [00:06:05]OFD Sender: No OFD packet to send [00:06:10]OFD Sender: No OFD packet to send [00:06:15]OFD Sender: No OFD packet to send [00:06:20]OFD Sender: No OFD packet to send [00:06:25]OFD Sender: No OFD packet to send [00:06:30]OFD Sender: No OFD packet to send [00:06:35]OFD Sender: No OFD packet to send [00:06:40]OFD Sender: No OFD packet to send [00:06:45]OFD Sender: No OFD packet to send [00:06:50]OFD Sender: No OFD packet to send [00:06:55]OFD Sender: No OFD packet to send [00:07:00]OFD Sender: No OFD packet to send [00:07:05]OFD Sender: No OFD packet to send [00:07:10]OFD Sender: No OFD packet to send [00:07:15]OFD Sender: No OFD packet to send [00:07:20]OFD Sender: No OFD packet to send [00:07:25]OFD Sender: No OFD packet to send [00:07:30]OFD Sender: No OFD packet to send [00:07:35]OFD Sender: No OFD packet to send [00:07:40]OFD Sender: No OFD packet to send [00:07:45]OFD Sender: No OFD packet to send [00:07:50]OFD Sender: No OFD packet to send [00:07:55]OFD Sender: No OFD packet to send [00:08:00]OFD Sender: No OFD packet to send [00:08:05]OFD Sender: No OFD packet to send [00:08:10]OFD Sender: No OFD packet to send [00:08:15]OFD Sender: No OFD packet to send [00:08:20]OFD Sender: No OFD packet to send [00:08:25]OFD Sender: No OFD packet to send [00:08:30]OFD Sender: No OFD packet to send [00:08:35]OFD Sender: No OFD packet to send [00:08:40]OFD Sender: No OFD packet to send [00:08:45]OFD Sender: No OFD packet to send [00:08:50]OFD Sender: No OFD packet to send [00:08:55]OFD Sender: No OFD packet to send [00:09:00]OFD Sender: No OFD packet to send [00:09:05]OFD Sender: No OFD packet to send [00:09:10]OFD Sender: No OFD packet to send [00:09:15]OFD Sender: No OFD packet to send [00:09:20]OFD Sender: No OFD packet to send [00:09:25]OFD Sender: No OFD packet to send [00:09:30]OFD Sender: No OFD packet to send [00:09:35]OFD Sender: No OFD packet to send [00:09:40]OFD Sender: No OFD packet to send [00:09:45]OFD Sender: No OFD packet to send [00:09:50]OFD Sender: No OFD packet to send [00:09:55]OFD Sender: No OFD packet to send [00:10:00]OFD Sender: No OFD packet to send [00:10:05]OFD Sender: No OFD packet to send [00:10:10]OFD Sender: No OFD packet to send [00:10:15]OFD Sender: No OFD packet to send [00:10:20]OFD Sender: No OFD packet to send [00:10:25]OFD Sender: No OFD packet to send [00:10:30]OFD Sender: No OFD packet to send [00:10:35]OFD Sender: No OFD packet to send [00:10:40]OFD Sender: No OFD packet to send [00:10:45]OFD Sender: No OFD packet to send [00:10:50]OFD Sender: No OFD packet to send [00:10:55]OFD Sender: No OFD packet to send [00:11:00]OFD Sender: No OFD packet to send [00:11:05]OFD Sender: No OFD packet to send [00:11:10]OFD Sender: No OFD packet to send [00:11:15]OFD Sender: No OFD packet to send [00:11:20]OFD Sender: No OFD packet to send [00:11:25]OFD Sender: No OFD packet to send [00:11:30]OFD Sender: No OFD packet to send [00:11:35]OFD Sender: No OFD packet to send [00:11:40]OFD Sender: No OFD packet to send [00:11:45]OFD Sender: No OFD packet to send [00:11:50]OFD Sender: No OFD packet to send [00:11:55]OFD Sender: No OFD packet to send [00:12:00]OFD Sender: No OFD packet to send [00:12:05]OFD Sender: No OFD packet to send [00:12:10]OFD Sender: No OFD packet to send [00:12:15]OFD Sender: No OFD packet to send [00:12:21]OFD Sender: No OFD packet to send [00:12:26]OFD Sender: No OFD packet to send [00:12:31]OFD Sender: No OFD packet to send [00:12:36]OFD Sender: No OFD packet to send [00:12:41]OFD Sender: No OFD packet to send [00:12:46]OFD Sender: No OFD packet to send [00:12:51]OFD Sender: No OFD packet to send [00:12:56]OFD Sender: No OFD packet to send [00:13:01]OFD Sender: No OFD packet to send [00:13:06]OFD Sender: No OFD packet to send [00:13:11]OFD Sender: No OFD packet to send [00:13:16]OFD Sender: No OFD packet to send [00:13:21]OFD Sender: No OFD packet to send [00:13:26]OFD Sender: No OFD packet to send [00:13:31]OFD Sender: No OFD packet to send [00:13:36]OFD Sender: No OFD packet to send [00:13:41]OFD Sender: No OFD packet to send [00:13:46]OFD Sender: No OFD packet to send [00:13:51]OFD Sender: No OFD packet to send [00:13:56]OFD Sender: No OFD packet to send [00:14:01]OFD Sender: No OFD packet to send [00:14:06]OFD Sender: No OFD packet to send [00:14:11]OFD Sender: No OFD packet to send [00:14:16]OFD Sender: No OFD packet to send [00:14:21]OFD Sender: No OFD packet to send [00:14:26]OFD Sender: No OFD packet to send [00:14:31]OFD Sender: No OFD packet to send [00:14:36]OFD Sender: No OFD packet to send [00:14:41]OFD Sender: No OFD packet to send [00:14:46]OFD Sender: No OFD packet to send [00:14:51]OFD Sender: No OFD packet to send [00:14:56]OFD Sender: No OFD packet to send [00:15:01]OFD Sender: No OFD packet to send [00:15:06]OFD Sender: No OFD packet to send [00:15:11]OFD Sender: No OFD packet to send [00:15:16]OFD Sender: No OFD packet to send [00:15:21]OFD Sender: No OFD packet to send [00:15:26]OFD Sender: No OFD packet to send [00:15:31]OFD Sender: No OFD packet to send [00:15:36]OFD Sender: No OFD packet to send [00:15:41]OFD Sender: No OFD packet to send [00:15:46]OFD Sender: No OFD packet to send [00:15:51]OFD Sender: No OFD packet to send [00:15:56]OFD Sender: No OFD packet to send [00:16:01]OFD Sender: No OFD packet to send [00:16:06]OFD Sender: No OFD packet to send [00:16:11]OFD Sender: No OFD packet to send [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:32]accept exits with 9 [00:24:32]New connection [00:24:32]New thread 3066838372 created [00:24:32]Thread 3066695012 joined [00:24:32]Waiting for new connection... [00:24:32] Sock 9.Parse request [00:24:32]Sock 9.Check first char [00:24:32]Sock 9.First char is OK [00:24:32]request: POST /json_proto HTTP/1.0 [00:24:32]Method: POST [00:24:32]URL: /json_proto [00:24:32]Method is POST - this is cgi request [00:24:32]url: /json_proto [00:24:32]query_string will be loaded in cgi processing [00:24:32]execute_cgi json_proto POST (null) [00:24:32]execute_cgi path=json_proto method=POST [00:24:32]POST find Content-Length [00:24:32]Host: 172.17.35.133:8080 [00:24:32]Content-Length: 215 [00:24:32]Content-Type: application/json [00:24:32] [00:24:32]POST finish read [00:24:32]Found Content-Length = 215 [00:24:32]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:24:32]execute_script... [00:24:32]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:24:32]POST & json_proto [00:24:32]process_json_proto [00:24:32]json parsed OK: [00:24:32]protocol is kg_v1.0 [00:24:32]action value=get_value [00:24:32]process_action get_value [00:24:32]cmd_get_value [00:24:32]process_action get_value done [00:24:32]requested_data is exist [00:24:32]produce_requested_data [00:24:32]requested_item kkm.sn is exist - process it [00:24:32]requested_item kkm.ver is exist - process it [00:24:32]requested_item fm.sn is exist - process it [00:24:32]wFMCommunicate request_size=4 [00:24:32]MH_SAM_APDU [00:24:32]CAPDU: 80 11 00 00 [00:24:32]Write to MH i2c: E2 08 00 8B 32 80 11 00 00 00 00 00 00 37 [00:24:32]Write i2c OK [00:24:32]MH_I2C_Read... [00:24:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:24:32]Read from MH i2c: E2 [00:24:32]MH_I2C_Read... [00:24:32]Read from MH i2c: E2 17 00 [00:24:32]MH_I2C_Read... [00:24:32]Read from MH i2c: E2 17 00 8B 32 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 89 [00:24:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [00:24:32]wFMCommunicate OK [00:24:32]requested_item fd.num is exist - process it [00:24:32]SAM_PROTO_GetFieldsCounters [00:24:32]wFMCommunicate request_size=4 [00:24:32]MH_SAM_APDU [00:24:32]CAPDU: 80 13 00 00 [00:24:32]Write to MH i2c: E2 08 00 8C 32 80 13 00 00 00 00 00 00 3A [00:24:32]Write i2c OK [00:24:32]MH_I2C_Read... [00:24:32]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:24:32]Read from MH i2c: E2 [00:24:32]MH_I2C_Read... [00:24:32]Read from MH i2c: E2 62 00 [00:24:32]MH_I2C_Read... [00:24:32]Read from MH i2c: E2 62 00 8C 32 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 2E 57 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 52 00 00 00 5E 04 04 00 52 00 00 00 57 04 04 00 54 00 00 00 19 04 04 00 00 00 00 00 90 00 28 [00:24:32]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 2E 57 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 52 00 00 00 5E 04 04 00 52 00 00 00 57 04 04 00 54 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:24:32]wFMCommunicate OK [00:24:32]SAM_PROTO_GetFieldsCounters done [00:24:32]requested_item shift.num is exist - process it [00:24:32]requested_item shift.opened is exist - process it [00:24:32]req_shift_opened [00:24:32]FM_GetShiftState [00:24:32]SAM_PROTO_GetShiftState [00:24:32]wFMCommunicate request_size=4 [00:24:32]MH_SAM_APDU [00:24:32]CAPDU: 80 13 01 00 [00:24:32]Write to MH i2c: E2 08 00 8D 32 80 13 01 00 00 00 00 00 3C [00:24:32]Write i2c OK [00:24:32]MH_I2C_Read... [00:24:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:24:32]Read from MH i2c: E2 [00:24:32]MH_I2C_Read... [00:24:32]Read from MH i2c: E2 0E 00 [00:24:32]MH_I2C_Read... [00:24:32]Read from MH i2c: E2 0E 00 8D 32 00 09 00 00 00 00 00 00 00 00 00 00 90 00 47 [00:24:32]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:24:32]wFMCommunicate OK [00:24:32]SAM_PROTO_GetShiftState done [00:24:32]FM_GetShiftState done [00:24:32]req_shift_opened done [00:24:32]requested_item shift.open_date is exist - process it [00:24:32]req_shift_open_date [00:24:32]FM_GetShiftState [00:24:32]SAM_PROTO_GetShiftState [00:24:32]wFMCommunicate request_size=4 [00:24:32]MH_SAM_APDU [00:24:32]CAPDU: 80 13 01 00 [00:24:32]Write to MH i2c: E2 08 00 8E 32 80 13 01 00 00 00 00 00 3D [00:24:32]Write i2c OK [00:24:32]MH_I2C_Read... [00:24:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:24:32]Read from MH i2c: E2 [00:24:32]MH_I2C_Read... [00:24:32]Read from MH i2c: E2 0E 00 [00:24:32]MH_I2C_Read... [00:24:32]Read from MH i2c: E2 0E 00 8E 32 00 09 00 00 00 00 00 00 00 00 00 00 90 00 48 [00:24:32]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:24:32]wFMCommunicate OK [00:24:32]SAM_PROTO_GetShiftState done [00:24:32]FM_GetShiftState done [00:24:32]req_shift_open_date done [00:24:32]produce_requested_data done [00:24:32]produce_requested_data return {"kkm.sn":"0300000200","kkm.ver":"001","fm.sn":"0000000000965344","fd.num":22318,"shift.num":327,"shift.opened":0,"shift.open_date":0} [00:24:32]process_action_free get_value [00:24:32]json_value_free [00:24:32]json_value_free done [00:24:32]process_json_proto returns [00:24:32]Send response to host [00:24:32]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000200","kkm.ver":"001","fm.sn":"0000000000965344","fd.num":22318,"shift.num":327,"shift.opened":0,"shift.open_date":0}}} [00:24:32]free response buf [00:24:32]execute_script done [00:24:32]execute_script returns [00:24:32]free content buf [00:24:32]Sock 9.Close socket [00:24:32]Sock 9.Thread stoped [00:24:32]accept exits with 8 [00:24:32]New connection [00:24:32]New thread 3066695012 created [00:24:32]Thread 3066838372 joined [00:24:32]Waiting for new connection... [00:24:32] Sock 8.Parse request [00:24:32]Sock 8.Check first char [00:24:32]Sock 8.First char is OK [00:24:32]request: POST /json_proto HTTP/1.0 [00:24:32]Method: POST [00:24:32]URL: /json_proto [00:24:32]Method is POST - this is cgi request [00:24:32]url: /json_proto [00:24:32]query_string will be loaded in cgi processing [00:24:32]execute_cgi json_proto POST (null) [00:24:32]execute_cgi path=json_proto method=POST [00:24:32]POST find Content-Length [00:24:32]Host: 172.17.35.133:8080 [00:24:32]Content-Length: 331 [00:24:32]Content-Type: application/json [00:24:32] [00:24:32]POST finish read [00:24:32]Found Content-Length = 331 [00:24:32]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:24:32]execute_script... [00:24:33]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:24:33]POST & json_proto [00:24:33]process_json_proto [00:24:33]json parsed OK: [00:24:33]protocol is kg_v1.0 [00:24:33]action value=get_value [00:24:33]process_action get_value [00:24:33]cmd_get_value [00:24:33]process_action get_value done [00:24:33]requested_data is exist [00:24:33]produce_requested_data [00:24:33]requested_item fm.sale.total is exist - process it [00:24:33]SAM_PROTO_GetFMData [00:24:33]wFMCommunicate request_size=4 [00:24:33]MH_SAM_APDU [00:24:33]CAPDU: 80 13 03 00 [00:24:33]Write to MH i2c: E2 08 00 8F 32 80 13 03 00 00 00 00 00 40 [00:24:33]Write i2c OK [00:24:33]MH_I2C_Read... [00:24:33]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:24:33]Read from MH i2c: E2 [00:24:33]MH_I2C_Read... [00:24:33]Read from MH i2c: E2 FD 00 [00:24:33]MH_I2C_Read... [00:24:33]Read from MH i2c: E2 FD 00 8F 32 00 C3 04 85 04 BF 04 6E 04 04 00 9F 54 00 00 69 04 A2 00 6F 04 04 00 88 54 00 00 B1 04 04 00 14 36 43 25 70 04 04 00 A8 A2 76 20 72 04 04 00 6C 93 CC 04 00 04 7E 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 95 06 F5 03 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 95 5E 54 EF 03 0B 00 F6 03 01 00 02 F7 03 02 00 66 06 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 17 00 00 00 B1 04 03 00 C0 49 AA 70 04 03 00 48 F9 A9 72 04 02 00 78 50 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 7D 15 12 EF 03 09 00 F6 90 00 E8 [00:24:33]RAPDU: C3 04 85 04 BF 04 6E 04 04 00 9F 54 00 00 69 04 A2 00 6F 04 04 00 88 54 00 00 B1 04 04 00 14 36 43 25 70 04 04 00 A8 A2 76 20 72 04 04 00 6C 93 CC 04 00 04 7E 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 95 06 F5 03 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 95 5E 54 EF 03 0B 00 F6 03 01 00 02 F7 03 02 00 66 06 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 17 00 00 00 B1 04 03 00 C0 49 AA 70 04 03 00 48 F9 A9 72 04 02 00 78 50 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 7D 15 12 EF 03 09 00 F6 90 00 [00:24:33]wFMCommunicate OK [00:24:33]wFMCommunicate request_size=4 [00:24:33]MH_SAM_APDU [00:24:33]CAPDU: 80 17 00 00 [00:24:33]Write to MH i2c: E2 08 00 90 32 80 17 00 00 00 00 00 00 42 [00:24:33]Write i2c OK [00:24:33]MH_I2C_Read... [00:24:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:24:33]Read from MH i2c: E2 [00:24:33]MH_I2C_Read... [00:24:33]Read from MH i2c: E2 FD 00 [00:24:33]MH_I2C_Read... [00:24:33]Read from MH i2c: E2 FD 00 90 32 00 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 C9 81 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 90 00 4D [00:24:33]RAPDU: 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 C9 81 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 90 00 [00:24:33]wFMCommunicate OK [00:24:33]wFMCommunicate request_size=4 [00:24:33]MH_SAM_APDU [00:24:33]CAPDU: 80 17 00 00 [00:24:33]Write to MH i2c: E2 08 00 91 32 80 17 00 00 00 00 00 00 43 [00:24:33]Write i2c OK [00:24:33]MH_I2C_Read... [00:24:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:24:34]Read from MH i2c: E2 [00:24:34]MH_I2C_Read... [00:24:34]Read from MH i2c: E2 FD 00 [00:24:34]MH_I2C_Read... [00:24:34]Read from MH i2c: E2 FD 00 91 32 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 61 [00:24:34]RAPDU: 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:24:34]wFMCommunicate OK [00:24:34]wFMCommunicate request_size=4 [00:24:34]MH_SAM_APDU [00:24:34]CAPDU: 80 17 00 00 [00:24:34]Write to MH i2c: E2 08 00 92 32 80 17 00 00 00 00 00 00 44 [00:24:34]Write i2c OK [00:24:34]MH_I2C_Read... [00:24:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:24:34]Read from MH i2c: E2 [00:24:34]MH_I2C_Read... [00:24:34]Read from MH i2c: E2 FD 00 [00:24:34]MH_I2C_Read... [00:24:34]Read from MH i2c: E2 FD 00 92 32 00 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 B6 [00:24:34]RAPDU: 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:24:34]wFMCommunicate OK [00:24:34]wFMCommunicate request_size=4 [00:24:34]MH_SAM_APDU [00:24:34]CAPDU: 80 17 00 00 [00:24:34]Write to MH i2c: E2 08 00 93 32 80 17 00 00 00 00 00 00 45 [00:24:34]Write i2c OK [00:24:34]MH_I2C_Read... [00:24:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 221! [00:24:34]Read from MH i2c: E2 [00:24:34]MH_I2C_Read... [00:24:34]Read from MH i2c: E2 E0 00 [00:24:34]MH_I2C_Read... [00:24:34]Read from MH i2c: E2 E0 00 93 32 00 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 2F [00:24:34]RAPDU: 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:24:34]wFMCommunicate OK [00:24:34]SAM_PROTO_GetFMData done [00:24:34]requested_item fm.sale_refund.total is exist - process it [00:24:34]requested_item fm.buy.total is exist - process it [00:24:34]requested_item shift.sale.total is exist - process it [00:24:34]SAM_PROTO_GetShiftData [00:24:34]wFMCommunicate request_size=4 [00:24:34]MH_SAM_APDU [00:24:34]CAPDU: 80 13 02 00 [00:24:34]Write to MH i2c: E2 08 00 94 32 80 13 02 00 00 00 00 00 44 [00:24:34]Write i2c OK [00:24:34]MH_I2C_Read... [00:24:35]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:24:35]Read from MH i2c: E2 [00:24:35]MH_I2C_Read... [00:24:35]Read from MH i2c: E2 FD 00 [00:24:35]MH_I2C_Read... [00:24:35]Read from MH i2c: E2 FD 00 94 32 00 AE 04 AA 04 AA 04 6E 04 04 00 52 00 00 00 69 04 9B 00 6F 04 04 00 52 00 00 00 B1 04 03 00 88 B7 1F 70 04 03 00 38 7C 19 72 04 03 00 50 3B 06 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 3F 5E 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 D4 47 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 20 [00:24:35]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 52 00 00 00 69 04 9B 00 6F 04 04 00 52 00 00 00 B1 04 03 00 88 B7 1F 70 04 03 00 38 7C 19 72 04 03 00 50 3B 06 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 3F 5E 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 D4 47 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:24:35]wFMCommunicate OK [00:24:35]wFMCommunicate request_size=4 [00:24:35]MH_SAM_APDU [00:24:35]CAPDU: 80 17 00 00 [00:24:35]Write to MH i2c: E2 08 00 95 32 80 17 00 00 00 00 00 00 47 [00:24:35]Write i2c OK [00:24:35]MH_I2C_Read... [00:24:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:24:35]Read from MH i2c: E2 [00:24:35]MH_I2C_Read... [00:24:35]Read from MH i2c: E2 FD 00 [00:24:35]MH_I2C_Read... [00:24:35]Read from MH i2c: E2 FD 00 95 32 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 69 [00:24:35]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:24:35]wFMCommunicate OK [00:24:35]wFMCommunicate request_size=4 [00:24:35]MH_SAM_APDU [00:24:35]CAPDU: 80 17 00 00 [00:24:35]Write to MH i2c: E2 08 00 96 32 80 17 00 00 00 00 00 00 48 [00:24:35]Write i2c OK [00:24:35]MH_I2C_Read... [00:24:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:24:35]Read from MH i2c: E2 [00:24:35]MH_I2C_Read... [00:24:35]Read from MH i2c: E2 FD 00 [00:24:35]MH_I2C_Read... [00:24:35]Read from MH i2c: E2 FD 00 96 32 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 FF [00:24:35]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:24:35]wFMCommunicate OK [00:24:35]wFMCommunicate request_size=4 [00:24:35]MH_SAM_APDU [00:24:35]CAPDU: 80 17 00 00 [00:24:35]Write to MH i2c: E2 08 00 97 32 80 17 00 00 00 00 00 00 49 [00:24:35]Write i2c OK [00:24:35]MH_I2C_Read... [00:24:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:24:36]Read from MH i2c: E2 [00:24:36]MH_I2C_Read... [00:24:36]Read from MH i2c: E2 FD 00 [00:24:36]MH_I2C_Read... [00:24:36]Read from MH i2c: E2 FD 00 97 32 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 BB [00:24:36]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:24:36]wFMCommunicate OK [00:24:36]wFMCommunicate request_size=4 [00:24:36]MH_SAM_APDU [00:24:36]CAPDU: 80 17 00 00 [00:24:36]Write to MH i2c: E2 08 00 98 32 80 17 00 00 00 00 00 00 4A [00:24:36]Write i2c OK [00:24:36]MH_I2C_Read... [00:24:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:24:36]Read from MH i2c: E2 [00:24:36]MH_I2C_Read... [00:24:36]Read from MH i2c: E2 CB 00 [00:24:36]MH_I2C_Read... [00:24:36]Read from MH i2c: E2 CB 00 98 32 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 33 [00:24:36]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:24:36]wFMCommunicate OK [00:24:36]SAM_PROTO_GetShiftData done [00:24:36]requested_item shift.sale.total_cash is exist - process it [00:24:36]requested_item shift.sale_refund.total is exist - process it [00:24:36]requested_item shift.sale_refund.total_cash is exist - process it [00:24:36]requested_item shift.buy.total is exist - process it [00:24:36]requested_item shift.buy.total_cash is exist - process it [00:24:36]produce_requested_data done [00:24:36]produce_requested_data return {"fm.sale.total":6251617.48,"fm.sale_refund.total":111600.00,"fm.buy.total":0.00,"shift.sale.total":20786.00,"shift.sale.total_cash":16702.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:24:36]process_action_free get_value [00:24:36]json_value_free [00:24:36]json_value_free done [00:24:36]process_json_proto returns [00:24:36]Send response to host [00:24:36]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":6251617.48,"fm.sale_refund.total":111600.00,"fm.buy.total":0.00,"shift.sale.total":20786.00,"shift.sale.total_cash":16702.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:24:36]free response buf [00:24:36]execute_script done [00:24:36]execute_script returns [00:24:36]free content buf [00:24:36]Sock 8.Close socket [00:24:36]Sock 8.Thread stoped [00:24:36]accept exits with 9 [00:24:36]New connection [00:24:36]New thread 3066838372 created [00:24:36]Thread 3066695012 joined [00:24:36]Waiting for new connection... [00:24:36] Sock 9.Parse request [00:24:36]Sock 9.Check first char [00:24:36]Sock 9.First char is OK [00:24:36]request: POST /json_proto HTTP/1.0 [00:24:36]Method: POST [00:24:36]URL: /json_proto [00:24:36]Method is POST - this is cgi request [00:24:36]url: /json_proto [00:24:36]query_string will be loaded in cgi processing [00:24:36]execute_cgi json_proto POST (null) [00:24:36]execute_cgi path=json_proto method=POST [00:24:36]POST find Content-Length [00:24:36]Host: 172.17.35.133:8080 [00:24:36]Content-Length: 277 [00:24:36]Content-Type: application/json [00:24:36] [00:24:36]POST finish read [00:24:36]Found Content-Length = 277 [00:24:36]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "open_shift", "params" : { "operator" : "\u0416\u0435\u043D\u0438\u0448\u0431\u0435\u043A\u043E\u0432\u0430 \u0421. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:24:36]execute_script... [00:24:36]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "open_shift", "params" : { "operator" : "\u0416\u0435\u043D\u0438\u0448\u0431\u0435\u043A\u043E\u0432\u0430 \u0421. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:24:36]POST & json_proto [00:24:36]process_json_proto [00:24:36]json parsed OK: [00:24:36]protocol is kg_v1.0 [00:24:36]action value=open_shift [00:24:36]process_action open_shift [00:24:36]cmd_open_shift [00:24:36]MH_GetDate [00:24:36]Write to MH i2c: F0 00 00 99 32 BA [00:24:36]Write i2c OK [00:24:36]MH_I2C_Read... [00:24:36]Read from MH i2c: F0 [00:24:36]MH_I2C_Read... [00:24:36]Read from MH i2c: F0 09 00 [00:24:36]MH_I2C_Read... [00:24:36]Read from MH i2c: F0 09 00 99 32 00 4F 82 6F 66 8C 55 28 65 D7 [00:24:36]GetLastDocTimeStamp 1718582456 [00:24:36]current date 1718583887 [00:24:36]FM_GetShiftState [00:24:36]SAM_PROTO_GetShiftState [00:24:36]wFMCommunicate request_size=4 [00:24:36]MH_SAM_APDU [00:24:36]CAPDU: 80 13 01 00 [00:24:36]Write to MH i2c: E2 08 00 9A 32 80 13 01 00 00 00 00 00 49 [00:24:36]OFD Sender: No OFD packet to send [00:24:36]Write i2c OK [00:24:36]MH_I2C_Read... [00:24:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:24:36]Read from MH i2c: E2 [00:24:36]MH_I2C_Read... [00:24:36]Read from MH i2c: E2 0E 00 [00:24:36]MH_I2C_Read... [00:24:36]Read from MH i2c: E2 0E 00 9A 32 00 09 00 00 00 00 00 00 00 00 00 00 90 00 54 [00:24:36]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:24:36]wFMCommunicate OK [00:24:36]SAM_PROTO_GetShiftState done [00:24:36]FM_GetShiftState done [00:24:36]KKMCreateOpenShiftDocument [00:24:36]Load OK [00:24:36]Malloc new data [00:24:36]MH_GetDate [00:24:36]Write to MH i2c: F0 00 00 9B 32 BC [00:24:36]Write i2c OK [00:24:36]MH_I2C_Read... [00:24:36]Read from MH i2c: F0 [00:24:36]MH_I2C_Read... [00:24:36]Read from MH i2c: F0 09 00 [00:24:36]MH_I2C_Read... [00:24:36]Read from MH i2c: F0 09 00 9B 32 00 4F 82 6F 66 8C 55 28 65 D9 [00:24:36]Malloc new data [00:24:36]KKMCreateOpenShiftDocument OK [00:24:36]KKMSetOpenShiftData OK [00:24:36]ProcessDocumentItem done err = 0, tmpTLVsize=219 [00:24:36]tlvbuf is 0029A9B0 [00:24:36]KKMLoadAndSignOpenShiftData [00:24:36]SAM_PROTO_ProcessDocument [00:24:36]wFMCommunicate request_size=9 [00:24:36]MH_SAM_APDU [00:24:36]CAPDU: 80 15 01 00 04 02 00 DB 00 [00:24:36]Write to MH i2c: E2 0C 00 9C 32 80 15 01 00 04 00 02 00 DB 00 00 00 32 [00:24:36]Write i2c OK [00:24:36]MH_I2C_Read... [00:24:36]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [00:24:36]Read from MH i2c: E2 [00:24:36]MH_I2C_Read... [00:24:36]Read from MH i2c: E2 03 00 [00:24:36]MH_I2C_Read... [00:24:36]Read from MH i2c: E2 03 00 9C 32 00 90 00 42 [00:24:36]RAPDU: 90 00 [00:24:36]wFMCommunicate OK [00:24:36]wFMCommunicate request_size=23 [00:24:36]MH_SAM_APDU [00:24:36]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:24:36]Write to MH i2c: E2 1A 00 9D 32 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 44 [00:24:36]Write i2c OK [00:24:36]MH_I2C_Read... [00:24:36]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:24:36]Read from MH i2c: E2 [00:24:36]MH_I2C_Read... [00:24:36]Read from MH i2c: E2 03 00 [00:24:36]MH_I2C_Read... [00:24:36]Read from MH i2c: E2 03 00 9D 32 00 90 00 43 [00:24:36]RAPDU: 90 00 [00:24:36]wFMCommunicate OK [00:24:36]wFMCommunicate request_size=36 [00:24:36]MH_SAM_APDU [00:24:36]CAPDU: 80 15 02 00 1F FD 03 1B 00 D0 96 D0 B5 D0 BD D0 B8 D1 88 D0 B1 D0 B5 D0 BA D0 BE D0 B2 D0 B0 20 D0 A1 2E 20 [00:24:36]Write to MH i2c: E2 27 00 9E 32 80 15 02 00 1F 00 FD 03 1B 00 D0 96 D0 B5 D0 BD D0 B8 D1 88 D0 B1 D0 B5 D0 BA D0 BE D0 B2 D0 B0 20 D0 A1 2E 20 00 00 01 [00:24:36]Write i2c OK [00:24:36]MH_I2C_Read... [00:24:36]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:24:36]Read from MH i2c: E2 [00:24:36]MH_I2C_Read... [00:24:36]Read from MH i2c: E2 03 00 [00:24:36]MH_I2C_Read... [00:24:36]Read from MH i2c: E2 03 00 9E 32 00 90 00 44 [00:24:36]RAPDU: 90 00 [00:24:36]wFMCommunicate OK [00:24:36]wFMCommunicate request_size=102 [00:24:36]MH_SAM_APDU [00:24:36]CAPDU: 80 15 02 00 61 F1 03 5D 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 A7 D0 B0 D1 82 2D D0 91 D0 B0 D0 B7 D0 B0 D1 80 2C 20 D1 82 D1 80 D0 B0 D1 81 D1 81 D0 B0 20 D0 A2 D0 B0 D0 BB D0 B0 D1 81 2D D0 A1 D1 83 D1 83 D1 81 D0 B0 D0 BC D1 8B D1 80 2C 20 34 32 2E 34 38 35 30 35 36 2C 20 37 32 2E 35 35 32 32 32 34 [00:24:36]Write to MH i2c: E2 69 00 9F 32 80 15 02 00 61 00 F1 03 5D 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 A7 D0 B0 D1 82 2D D0 91 D0 B0 D0 B7 D0 B0 D1 80 2C 20 D1 82 D1 80 D0 B0 D1 81 D1 81 D0 B0 20 D0 A2 D0 B0 D0 BB D0 B0 D1 81 2D D0 A1 D1 83 D1 83 D1 81 D0 B0 D0 BC D1 8B D1 80 2C 20 34 32 2E 34 38 35 30 35 36 2C 20 37 32 2E 35 35 32 32 32 34 00 00 B1 [00:24:36]Write i2c OK [00:24:36]MH_I2C_Read... [00:24:37]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:24:37]Read from MH i2c: E2 [00:24:37]MH_I2C_Read... [00:24:37]Read from MH i2c: E2 03 00 [00:24:37]MH_I2C_Read... [00:24:37]Read from MH i2c: E2 03 00 9F 32 00 90 00 45 [00:24:37]RAPDU: 90 00 [00:24:37]wFMCommunicate OK [00:24:37]wFMCommunicate request_size=50 [00:24:37]MH_SAM_APDU [00:24:37]CAPDU: 80 15 02 00 2D A3 04 29 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 37 36 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:24:37]Write to MH i2c: E2 35 00 A0 32 80 15 02 00 2D 00 A3 04 29 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 37 36 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 CE [00:24:37]Write i2c OK [00:24:37]MH_I2C_Read... [00:24:37]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:24:37]Read from MH i2c: E2 [00:24:37]MH_I2C_Read... [00:24:37]Read from MH i2c: E2 03 00 [00:24:37]MH_I2C_Read... [00:24:37]Read from MH i2c: E2 03 00 A0 32 00 90 00 46 [00:24:37]RAPDU: 90 00 [00:24:37]wFMCommunicate OK [00:24:37]wFMCommunicate request_size=13 [00:24:37]MH_SAM_APDU [00:24:37]CAPDU: 80 15 02 00 08 F4 03 04 00 4F 82 6F 66 [00:24:37]Write to MH i2c: E2 10 00 A1 32 80 15 02 00 08 00 F4 03 04 00 4F 82 6F 66 00 00 04 [00:24:37]Write i2c OK [00:24:37]MH_I2C_Read... [00:24:37]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:24:37]Read from MH i2c: E2 [00:24:37]MH_I2C_Read... [00:24:37]Read from MH i2c: E2 03 00 [00:24:37]MH_I2C_Read... [00:24:37]Read from MH i2c: E2 03 00 A1 32 00 90 00 47 [00:24:37]RAPDU: 90 00 [00:24:37]wFMCommunicate OK [00:24:37]wFMCommunicate request_size=25 [00:24:37]MH_SAM_APDU [00:24:37]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 [00:24:37]Write to MH i2c: E2 1C 00 A2 32 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 00 00 C0 [00:24:37]Write i2c OK [00:24:37]MH_I2C_Read... [00:24:37]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:24:37]Read from MH i2c: E2 [00:24:37]MH_I2C_Read... [00:24:37]Read from MH i2c: E2 03 00 [00:24:37]MH_I2C_Read... [00:24:37]Read from MH i2c: E2 03 00 A2 32 00 90 00 48 [00:24:37]RAPDU: 90 00 [00:24:37]wFMCommunicate OK [00:24:37]wFMCommunicate request_size=4 [00:24:37]MH_SAM_APDU [00:24:37]CAPDU: 80 15 03 00 [00:24:37]Write to MH i2c: E2 08 00 A3 32 80 15 03 00 00 00 00 00 56 [00:24:37]Write i2c OK [00:24:37]MH_I2C_Read... [00:24:37]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 53! [00:24:37]Read from MH i2c: E2 [00:24:37]MH_I2C_Read... [00:24:37]Read from MH i2c: E2 38 00 [00:24:37]MH_I2C_Read... [00:24:37]Read from MH i2c: E2 38 00 A3 32 00 33 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 2F 57 00 00 0E 04 04 00 48 01 00 00 35 04 06 00 12 82 DB 46 40 AB 90 00 90 [00:24:37]RAPDU: 33 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 2F 57 00 00 0E 04 04 00 48 01 00 00 35 04 06 00 12 82 DB 46 40 AB 90 00 [00:24:37]wFMCommunicate OK [00:24:37]SAM_PROTO_ProcessDocument answer len = 51 [00:24:37]SAM_PROTO_ProcessDocument done [00:24:37]SetTLVBufToDocument [00:24:37]Processing tag 1209 (04B9) [00:24:37]Malloc new data [00:24:37]Processing tag 1041 (0411) [00:24:37]Processing tag 1040 (0410) [00:24:37]Malloc new data [00:24:37]Processing tag 1038 (040E) [00:24:37]Malloc new data [00:24:37]Processing tag 1077 (0435) [00:24:37]Malloc new data [00:24:37]SetTLVBufToDocument err=0 [00:24:37]KKMLoadAndSignOpenShiftData store KKM data [00:24:37]KKMLoadAndSignOpenShiftData err=0 [00:24:37]Отчет об открытии смены ФФД: 1.0 ИНН: 02508201610067 Кассир: Женишбекова С. Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 Место: АЗС № 76 "Партнер Нефть" 17.06.2024 00:24 Смена: 328 РНМ: 0000000000099755 ЗНМ: 0300000200 ФД: 22319 ФМ: 0000000000965344 ФПД: 20353233862827 [00:24:37]StoreToDocumentArchive [00:24:37]shift 328 fd 22319 [00:24:37]Create dir for shift 0328 [00:24:37]save to /storage/0328/doc_00022319 [00:24:37]save last doc name /storage/0328/doc_00022319 to /storage/kkm_last_doc_name [00:24:37]save OK [00:24:37]Clear old archive folders... [00:24:37]Remove dir /storage/0327 [00:24:37]opendir ok [00:24:37]file . [00:24:37]file .. [00:24:37]file doc_00022235 [00:24:37]remove file /storage/0327/doc_00022235 [00:24:37]file doc_00022236 [00:24:37]remove file /storage/0327/doc_00022236 [00:24:37]file doc_00022237 [00:24:37]remove file /storage/0327/doc_00022237 [00:24:37]file doc_00022238 [00:24:37]remove file /storage/0327/doc_00022238 [00:24:37]file doc_00022239 [00:24:37]remove file /storage/0327/doc_00022239 [00:24:37]file doc_00022240 [00:24:37]remove file /storage/0327/doc_00022240 [00:24:37]file doc_00022241 [00:24:37]remove file /storage/0327/doc_00022241 [00:24:37]file doc_00022242 [00:24:37]remove file /storage/0327/doc_00022242 [00:24:37]file doc_00022243 [00:24:37]remove file /storage/0327/doc_00022243 [00:24:37]file doc_00022244 [00:24:37]remove file /storage/0327/doc_00022244 [00:24:37]file doc_00022245 [00:24:37]remove file /storage/0327/doc_00022245 [00:24:37]file doc_00022246 [00:24:37]remove file /storage/0327/doc_00022246 [00:24:37]file doc_00022247 [00:24:37]remove file /storage/0327/doc_00022247 [00:24:37]file doc_00022248 [00:24:37]remove file /storage/0327/doc_00022248 [00:24:37]file doc_00022249 [00:24:37]remove file /storage/0327/doc_00022249 [00:24:37]file doc_00022250 [00:24:37]remove file /storage/0327/doc_00022250 [00:24:37]file doc_00022251 [00:24:37]remove file /storage/0327/doc_00022251 [00:24:37]file doc_00022252 [00:24:37]remove file /storage/0327/doc_00022252 [00:24:37]file doc_00022253 [00:24:37]remove file /storage/0327/doc_00022253 [00:24:37]file doc_00022254 [00:24:37]remove file /storage/0327/doc_00022254 [00:24:37]file doc_00022255 [00:24:37]remove file /storage/0327/doc_00022255 [00:24:37]file doc_00022256 [00:24:37]remove file /storage/0327/doc_00022256 [00:24:37]file doc_00022257 [00:24:37]remove file /storage/0327/doc_00022257 [00:24:37]file doc_00022258 [00:24:37]remove file /storage/0327/doc_00022258 [00:24:37]file doc_00022259 [00:24:37]remove file /storage/0327/doc_00022259 [00:24:37]file doc_00022260 [00:24:37]remove file /storage/0327/doc_00022260 [00:24:37]file doc_00022261 [00:24:37]remove file /storage/0327/doc_00022261 [00:24:37]file doc_00022262 [00:24:37]remove file /storage/0327/doc_00022262 [00:24:37]file doc_00022263 [00:24:37]remove file /storage/0327/doc_00022263 [00:24:37]file doc_00022264 [00:24:37]remove file /storage/0327/doc_00022264 [00:24:37]file doc_00022265 [00:24:37]remove file /storage/0327/doc_00022265 [00:24:37]file doc_00022266 [00:24:37]remove file /storage/0327/doc_00022266 [00:24:37]file doc_00022267 [00:24:37]remove file /storage/0327/doc_00022267 [00:24:37]file doc_00022268 [00:24:37]remove file /storage/0327/doc_00022268 [00:24:37]file doc_00022269 [00:24:37]remove file /storage/0327/doc_00022269 [00:24:37]file doc_00022270 [00:24:37]remove file /storage/0327/doc_00022270 [00:24:37]file doc_00022271 [00:24:37]remove file /storage/0327/doc_00022271 [00:24:37]file doc_00022272 [00:24:37]remove file /storage/0327/doc_00022272 [00:24:37]file doc_00022273 [00:24:37]remove file /storage/0327/doc_00022273 [00:24:37]file doc_00022274 [00:24:37]remove file /storage/0327/doc_00022274 [00:24:37]file doc_00022275 [00:24:37]remove file /storage/0327/doc_00022275 [00:24:37]file doc_00022276 [00:24:37]remove file /storage/0327/doc_00022276 [00:24:37]file doc_00022277 [00:24:37]remove file /storage/0327/doc_00022277 [00:24:37]file doc_00022278 [00:24:37]remove file /storage/0327/doc_00022278 [00:24:37]file doc_00022279 [00:24:37]remove file /storage/0327/doc_00022279 [00:24:37]file doc_00022280 [00:24:37]remove file /storage/0327/doc_00022280 [00:24:37]file doc_00022281 [00:24:37]remove file /storage/0327/doc_00022281 [00:24:37]file doc_00022282 [00:24:37]remove file /storage/0327/doc_00022282 [00:24:37]file doc_00022283 [00:24:37]remove file /storage/0327/doc_00022283 [00:24:37]file doc_00022284 [00:24:37]remove file /storage/0327/doc_00022284 [00:24:37]file doc_00022285 [00:24:37]remove file /storage/0327/doc_00022285 [00:24:37]file doc_00022286 [00:24:37]remove file /storage/0327/doc_00022286 [00:24:37]file doc_00022287 [00:24:37]remove file /storage/0327/doc_00022287 [00:24:37]file doc_00022288 [00:24:37]remove file /storage/0327/doc_00022288 [00:24:37]file doc_00022289 [00:24:37]remove file /storage/0327/doc_00022289 [00:24:37]file doc_00022290 [00:24:37]remove file /storage/0327/doc_00022290 [00:24:37]file doc_00022291 [00:24:37]remove file /storage/0327/doc_00022291 [00:24:37]file doc_00022292 [00:24:37]remove file /storage/0327/doc_00022292 [00:24:37]file doc_00022293 [00:24:37]remove file /storage/0327/doc_00022293 [00:24:37]file doc_00022294 [00:24:37]remove file /storage/0327/doc_00022294 [00:24:37]file doc_00022295 [00:24:37]remove file /storage/0327/doc_00022295 [00:24:37]file doc_00022296 [00:24:37]remove file /storage/0327/doc_00022296 [00:24:37]file doc_00022297 [00:24:37]remove file /storage/0327/doc_00022297 [00:24:37]file doc_00022298 [00:24:37]remove file /storage/0327/doc_00022298 [00:24:37]file doc_00022299 [00:24:37]remove file /storage/0327/doc_00022299 [00:24:37]file doc_00022300 [00:24:37]remove file /storage/0327/doc_00022300 [00:24:37]file doc_00022301 [00:24:37]remove file /storage/0327/doc_00022301 [00:24:37]file doc_00022302 [00:24:37]remove file /storage/0327/doc_00022302 [00:24:37]file doc_00022303 [00:24:37]remove file /storage/0327/doc_00022303 [00:24:37]file doc_00022304 [00:24:37]remove file /storage/0327/doc_00022304 [00:24:37]file doc_00022305 [00:24:37]remove file /storage/0327/doc_00022305 [00:24:37]file doc_00022306 [00:24:37]remove file /storage/0327/doc_00022306 [00:24:37]file doc_00022307 [00:24:37]remove file /storage/0327/doc_00022307 [00:24:38]file doc_00022308 [00:24:38]remove file /storage/0327/doc_00022308 [00:24:38]file doc_00022309 [00:24:38]remove file /storage/0327/doc_00022309 [00:24:38]file doc_00022310 [00:24:38]remove file /storage/0327/doc_00022310 [00:24:38]file doc_00022311 [00:24:38]remove file /storage/0327/doc_00022311 [00:24:38]file doc_00022312 [00:24:38]remove file /storage/0327/doc_00022312 [00:24:38]file doc_00022313 [00:24:38]remove file /storage/0327/doc_00022313 [00:24:38]file doc_00022314 [00:24:38]remove file /storage/0327/doc_00022314 [00:24:38]file doc_00022315 [00:24:38]remove file /storage/0327/doc_00022315 [00:24:38]file doc_00022316 [00:24:38]remove file /storage/0327/doc_00022316 [00:24:38]file doc_00022317 [00:24:38]remove file /storage/0327/doc_00022317 [00:24:38]file doc_00022318 [00:24:38]remove file /storage/0327/doc_00022318 [00:24:38]remove dir /storage/0327 [00:24:38]ProcessDocumentItem done err = 0, tmpTLVsize=270 [00:24:38]tlvbuf is 002E4B20 [00:24:38]SAM_PROTO_ClearQueue [00:24:38]wFMCommunicate request_size=4 [00:24:38]MH_SAM_APDU [00:24:38]CAPDU: 80 09 00 00 [00:24:38]Write to MH i2c: E2 08 00 A4 32 80 09 00 00 00 00 00 00 48 [00:24:38]Write i2c OK [00:24:38]MH_I2C_Read... [00:24:38]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:24:38]Read from MH i2c: E2 [00:24:38]MH_I2C_Read... [00:24:38]Read from MH i2c: E2 03 00 [00:24:38]MH_I2C_Read... [00:24:38]Read from MH i2c: E2 03 00 A4 32 00 90 00 4A [00:24:38]RAPDU: 90 00 [00:24:38]wFMCommunicate OK [00:24:38]SAM_PROTO_ClearQueue done [00:24:38]KKMCreateOFDPacket [00:24:38]OFDProtocolAddRootSTLVToBuf [00:24:38]FM_MakeSignedData [00:24:38]FM_MakeSignedData [00:24:38]SAM_PROTO_SignData [00:24:38]wFMCommunicate request_size=4 [00:24:38]MH_SAM_APDU [00:24:38]CAPDU: 80 0D 01 02 [00:24:38]Write to MH i2c: E2 08 00 A5 32 80 0D 01 02 00 00 00 00 50 [00:24:38]Write i2c OK [00:24:38]MH_I2C_Read... [00:24:38]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:24:38]Read from MH i2c: E2 [00:24:38]MH_I2C_Read... [00:24:38]Read from MH i2c: E2 03 00 [00:24:38]MH_I2C_Read... [00:24:38]Read from MH i2c: E2 03 00 A5 32 00 90 00 4B [00:24:38]RAPDU: 90 00 [00:24:38]wFMCommunicate OK [00:24:38]wFMCommunicate request_size=255 [00:24:38]MH_SAM_APDU [00:24:38]CAPDU: 80 0D 02 02 FA 02 00 0E 01 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 1B 00 D0 96 D0 B5 D0 BD D0 B8 D1 88 D0 B1 D0 B5 D0 BA D0 BE D0 B2 D0 B0 20 D0 A1 2E 20 F1 03 5D 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 A7 D0 B0 D1 82 2D D0 91 D0 B0 D0 B7 D0 B0 D1 80 2C 20 D1 82 D1 80 D0 B0 D1 81 D1 81 D0 B0 20 D0 A2 D0 B0 D0 BB D0 B0 D1 81 2D D0 A1 D1 83 D1 83 D1 81 D0 B0 D0 BC D1 8B D1 80 2C 20 34 32 2E 34 38 35 30 35 36 2C 20 37 32 2E 35 35 32 32 32 34 A3 04 29 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 37 36 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 4F 82 6F 66 0E 04 04 00 48 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 2F 57 00 00 11 04 10 00 30 30 [00:24:38]Write to MH i2c: E2 02 01 A6 32 80 0D 02 02 FA 00 02 00 0E 01 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 1B 00 D0 96 D0 B5 D0 BD D0 B8 D1 88 D0 B1 D0 B5 D0 BA D0 BE D0 B2 D0 B0 20 D0 A1 2E 20 F1 03 5D 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 A7 D0 B0 D1 82 2D D0 91 D0 B0 D0 B7 D0 B0 D1 80 2C 20 D1 82 D1 80 D0 B0 D1 81 D1 81 D0 B0 20 D0 A2 D0 B0 D0 BB D0 B0 D1 81 2D D0 A1 D1 83 D1 83 D1 81 D0 B0 D0 BC D1 8B D1 80 2C 20 34 32 2E 34 38 35 30 35 36 2C 20 37 32 2E 35 35 32 32 32 34 A3 04 29 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 37 36 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 4F 82 6F 66 0E 04 04 00 48 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 2F 57 00 00 11 04 10 00 30 30 00 00 82 [00:24:38]Write i2c OK [00:24:38]MH_I2C_Read... [00:24:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:24:38]Read from MH i2c: E2 [00:24:38]MH_I2C_Read... [00:24:38]Read from MH i2c: E2 03 00 [00:24:38]MH_I2C_Read... [00:24:38]Read from MH i2c: E2 03 00 A6 32 00 90 00 4C [00:24:38]RAPDU: 90 00 [00:24:38]wFMCommunicate OK [00:24:38]wFMCommunicate request_size=29 [00:24:38]MH_SAM_APDU [00:24:38]CAPDU: 80 0D 02 02 18 30 30 30 30 30 30 30 30 39 36 35 33 34 34 35 04 06 00 12 82 DB 46 40 AB [00:24:38]Write to MH i2c: E2 20 00 A7 32 80 0D 02 02 18 00 30 30 30 30 30 30 30 30 39 36 35 33 34 34 35 04 06 00 12 82 DB 46 40 AB 00 00 21 [00:24:38]Write i2c OK [00:24:38]MH_I2C_Read... [00:24:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:24:38]Read from MH i2c: E2 [00:24:38]MH_I2C_Read... [00:24:38]Read from MH i2c: E2 03 00 [00:24:38]MH_I2C_Read... [00:24:38]Read from MH i2c: E2 03 00 A7 32 00 90 00 4D [00:24:38]RAPDU: 90 00 [00:24:38]wFMCommunicate OK [00:24:38]wFMCommunicate request_size=4 [00:24:38]MH_SAM_APDU [00:24:38]CAPDU: 80 0D 03 02 [00:24:38]Write to MH i2c: E2 08 00 A8 32 80 0D 03 02 00 00 00 00 55 [00:24:38]Write i2c OK [00:24:38]MH_I2C_Read... [00:24:38]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:24:38]Read from MH i2c: E2 [00:24:38]MH_I2C_Read... [00:24:38]Read from MH i2c: E2 0B 00 [00:24:38]MH_I2C_Read... [00:24:38]Read from MH i2c: E2 0B 00 A8 32 00 0C 53 A5 9C 71 58 5C 90 90 00 AB [00:24:38]RAPDU: 0C 53 A5 9C 71 58 5C 90 90 00 [00:24:38]wFMCommunicate OK [00:24:38]SAM_PROTO_SignData done [00:24:38]FM_MakeSignedData done [00:24:38]CreateOFDProtocolMessage [00:24:38]wFMCommunicate request_size=4 [00:24:38]MH_SAM_APDU [00:24:38]CAPDU: 80 11 00 00 [00:24:38]Write to MH i2c: E2 08 00 A9 32 80 11 00 00 00 00 00 00 55 [00:24:38]Write i2c OK [00:24:38]MH_I2C_Read... [00:24:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:24:38]Read from MH i2c: E2 [00:24:38]MH_I2C_Read... [00:24:38]Read from MH i2c: E2 17 00 [00:24:38]MH_I2C_Read... [00:24:38]Read from MH i2c: E2 17 00 A9 32 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 A7 [00:24:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [00:24:38]wFMCommunicate OK [00:24:38]CreateOFDProtocolMessage done [00:24:38]OFDSenderStorePacket 22319 [00:24:38]StoreOFDPacket docnum=22319 [00:24:38]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 22 01 00 00 C2 02 1A 01 FA 0B 5A 02 01 00 02 00 0E 01 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 1B 00 D0 96 D0 B5 D0 BD D0 B8 D1 88 D0 B1 D0 B5 D0 BA D0 BE D0 B2 D0 B0 20 D0 A1 2E 20 F1 03 5D 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 A7 D0 B0 D1 82 2D D0 91 D0 B0 D0 B7 D0 B0 D1 80 2C 20 D1 82 D1 80 D0 B0 D1 81 D1 81 D0 B0 20 D0 A2 D0 B0 D0 BB D0 B0 D1 81 2D D0 A1 D1 83 D1 83 D1 81 D0 B0 D0 BC D1 8B D1 80 2C 20 34 32 2E 34 38 35 30 35 36 2C 20 37 32 2E 35 35 32 32 32 34 A3 04 29 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 37 36 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 4F 82 6F 66 0E 04 04 00 48 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 2F 57 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 35 04 06 00 12 82 DB 46 40 AB 0C 53 A5 9C 71 58 5C 90 [00:24:38]CheckFolder [00:24:38]dirname=/storage/ofd_packets [00:24:38]CheckFolder done [00:24:38]ProducePacketName [00:24:38]name=ofd_packets/00022319 [00:24:38]NVStorageSaveData ofd_packets/00022319 [00:24:38]File name is /storage/ofd_packets/00022319 [00:24:38]Write 320 bytes [00:24:38]NVStorageSaveData done [00:24:38]OFDSenderStorePacket done [00:24:38]KKMCreateOFDPacket done [00:24:38]NVStorageSaveData kkm_last_timestamp [00:24:38]File name is /storage/kkm_last_timestamp [00:24:38]Write 4 bytes [00:24:38]NVStorageSaveData done [00:24:38]ExternCall_PrintAddStr [00:24:38]wPrintStart [00:24:38]Write to MH i2c: 01 00 00 AA 32 DC [00:24:38]Write i2c OK [00:24:38]MH_I2C_Read... [00:24:38]Read from MH i2c: 01 [00:24:38]MH_I2C_Read... [00:24:38]Read from MH i2c: 01 07 00 [00:24:38]MH_I2C_Read... [00:24:38]Read from MH i2c: 01 07 00 AA 32 00 00 00 00 00 FF 0F F1 [00:24:38]RasterBufferAndPrint [00:24:38]line Отчет об открытии смены [00:24:38]line ФФД: 1.0 [00:24:38]line ИНН: 02508201610067 [00:24:38]line Кассир: Женишбекова С. [00:24:38]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [00:24:38]line Место: АЗС № 76 "Партнер Нефть" [00:24:38]line 17.06.2024 00:24 [00:24:38]line Смена: 328 [00:24:38]line РНМ: 0000000000099755 [00:24:38]line ЗНМ: 0300000200 [00:24:38]line ФД: 22319 [00:24:38]line ФМ: 0000000000965344 [00:24:38]line ФПД: 20353233862827 [00:24:38]written 0, free lines is 4095 [00:24:38]OFD Sender: Processing packet 22319 [packets to send 5, broken 4] [00:24:38]ProducePacketName [00:24:38]name=ofd_packets/00022319 [00:24:38]OFD Sender: To server: pG, [00:24:38]CommunicateWithHost lk.salyk.kg:30040 [00:24:38]ConnectInit lk.salyk.kg [00:24:39]Connected sock=10 [00:24:39]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 22 01 00 00 C2 02 1A 01 FA 0B 5A 02 01 00 02 00 0E 01 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 1B 00 D0 96 D0 B5 D0 BD D0 B8 D1 88 D0 B1 D0 B5 D0 BA D0 BE D0 B2 D0 B0 20 D0 A1 2E 20 F1 03 5D 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 A7 D0 B0 D1 82 2D D0 91 D0 B0 D0 B7 D0 B0 D1 80 2C 20 D1 82 D1 80 D0 B0 D1 81 D1 81 D0 B0 20 D0 A2 D0 B0 D0 BB D0 B0 D1 81 2D D0 A1 D1 83 D1 83 D1 81 D0 B0 D0 BC D1 8B D1 80 2C 20 34 32 2E 34 38 35 30 35 36 2C 20 37 32 2E 35 35 32 32 32 34 A3 04 29 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 37 36 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 4F 82 6F 66 0E 04 04 00 48 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 2F 57 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 35 04 06 00 12 82 DB 46 40 AB 0C 53 A5 9C 71 58 5C 90 [00:24:39]Write to MH i2c: 01 00 00 BC 32 EE [00:24:39]Write i2c OK [00:24:39]MH_I2C_Read... [00:24:39]Read from MH i2c: 01 [00:24:39]MH_I2C_Read... [00:24:39]Read from MH i2c: 01 07 00 [00:24:39]MH_I2C_Read... [00:24:39]Read from MH i2c: 01 07 00 BC 32 00 00 00 00 00 68 0F 6C [00:24:39]RasterBufferAndPrint [00:24:39]line [00:24:39]line [00:24:39]line [00:24:39]line [00:24:39]line [00:24:39]written 0, free lines is 3966 [00:24:39]MH_Cut [00:24:39]Write to MH i2c: D1 01 00 C3 32 01 C7 [00:24:39]Write i2c OK [00:24:39]MH_I2C_Read... [00:24:39]Read from MH i2c: D1 [00:24:39]MH_I2C_Read... [00:24:39]Read from MH i2c: D1 01 00 [00:24:39]MH_I2C_Read... [00:24:39]Read from MH i2c: D1 01 00 C3 32 00 C6 [00:24:39]Write to MH i2c: 01 00 00 C4 32 F6 [00:24:39]Write i2c OK [00:24:39]MH_I2C_Read... [00:24:39]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 1C D6 47 00 D3 82 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 2F 57 00 00 F4 03 04 00 08 2B 6F 66 B6 04 01 00 00 9B 36 32 D5 63 2B F5 D3 [00:24:39]CommunicateWithHost err = 0 [00:24:39]CheckOFDResponse [00:24:39]1017 (14) - 77093643461234 [00:24:39]1041 (16) - 0000000000965344 [00:24:39]1040 (4) - 22319 [00:24:39]1012 (4) - 16.06.2024 18:12 [00:24:39]1206 (1) - 0 [00:24:39]OFD Sender: Remove packet 22319 [00:24:39]ProducePacketName [00:24:39]name=ofd_packets/00022319 [00:24:39]NVStorageDeleteData [00:24:39]*** Cut start [00:24:39]*** Partial cut [00:24:39]*** CUTSNS_PIN = 1 [00:24:39]*** CUTSNS_PIN = 0 [00:24:39]*** Brake cut motor [00:24:40]OFD Sender: No OFD packet to send [00:24:40]Read from MH i2c: 01 [00:24:40]MH_I2C_Read... [00:24:40]*** Stop cut motor [00:24:40]*** Cut end [00:24:40]Read from MH i2c: 01 07 00 [00:24:40]MH_I2C_Read... [00:24:40]Read from MH i2c: 01 07 00 C4 32 00 00 00 00 00 FF 0F 0B [00:24:40]process_action open_shift done [00:24:40]requested_data is exist [00:24:40]produce_requested_data [00:24:40]requested_item fd.num is exist - process it [00:24:40]SAM_PROTO_GetFieldsCounters [00:24:40]wFMCommunicate request_size=4 [00:24:40]MH_SAM_APDU [00:24:40]CAPDU: 80 13 00 00 [00:24:40]Write to MH i2c: E2 08 00 C5 32 80 13 00 00 00 00 00 00 73 [00:24:40]Write i2c OK [00:24:40]MH_I2C_Read... [00:24:40]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:24:40]Read from MH i2c: E2 [00:24:40]MH_I2C_Read... [00:24:40]Read from MH i2c: E2 62 00 [00:24:40]MH_I2C_Read... [00:24:40]Read from MH i2c: E2 62 00 C5 32 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 2F 57 00 00 0E 04 04 00 48 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 6C [00:24:40]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 2F 57 00 00 0E 04 04 00 48 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:24:40]wFMCommunicate OK [00:24:40]SAM_PROTO_GetFieldsCounters done [00:24:40]requested_item shift.num is exist - process it [00:24:40]requested_item shift.opened is exist - process it [00:24:40]req_shift_opened [00:24:40]FM_GetShiftState [00:24:40]SAM_PROTO_GetShiftState [00:24:40]wFMCommunicate request_size=4 [00:24:40]MH_SAM_APDU [00:24:40]CAPDU: 80 13 01 00 [00:24:40]Write to MH i2c: E2 08 00 C6 32 80 13 01 00 00 00 00 00 75 [00:24:40]Write i2c OK [00:24:40]MH_I2C_Read... [00:24:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:24:40]Read from MH i2c: E2 [00:24:40]MH_I2C_Read... [00:24:40]Read from MH i2c: E2 0E 00 [00:24:40]MH_I2C_Read... [00:24:40]Read from MH i2c: E2 0E 00 C6 32 00 09 00 01 4F 82 6F 66 00 00 00 00 90 00 27 [00:24:40]RAPDU: 09 00 01 4F 82 6F 66 00 00 00 00 90 00 [00:24:40]wFMCommunicate OK [00:24:40]SAM_PROTO_GetShiftState done [00:24:40]FM_GetShiftState done [00:24:40]req_shift_opened done [00:24:40]requested_item shift.open_date is exist - process it [00:24:40]req_shift_open_date [00:24:40]req_shift_open_date done [00:24:40]produce_requested_data done [00:24:40]produce_requested_data return {"fd.num":22319,"shift.num":328,"shift.opened":1,"shift.open_date":1718583887} [00:24:40]process_action_free open_shift [00:24:40]json_value_free [00:24:40]json_value_free done [00:24:40]process_json_proto returns [00:24:40]Send response to host [00:24:40]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":22319,"shift.num":328,"shift.opened":1,"shift.open_date":1718583887}}} [00:24:40]free response buf [00:24:40]execute_script done [00:24:40]execute_script returns [00:24:40]free content buf [00:24:40]Sock 9.Close socket [00:24:40]Sock 9.Thread stoped [00:24:40]accept exits with 8 [00:24:40]New connection [00:24:40]New thread 3066695012 created [00:24:40]Thread 3066838372 joined [00:24:40]Waiting for new connection... [00:24:40] Sock 8.Parse request [00:24:40]Sock 8.Check first char [00:24:40]Sock 8.First char is OK [00:24:40]request: POST /json_proto HTTP/1.0 [00:24:40]Method: POST [00:24:40]URL: /json_proto [00:24:40]Method is POST - this is cgi request [00:24:40]url: /json_proto [00:24:40]query_string will be loaded in cgi processing [00:24:40]execute_cgi json_proto POST (null) [00:24:40]execute_cgi path=json_proto method=POST [00:24:40]POST find Content-Length [00:24:40]Host: 172.17.35.133:8080 [00:24:40]Content-Length: 331 [00:24:40]Content-Type: application/json [00:24:40] [00:24:40]POST finish read [00:24:40]Found Content-Length = 331 [00:24:40]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:24:40]execute_script... [00:24:40]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:24:40]POST & json_proto [00:24:40]process_json_proto [00:24:40]json parsed OK: [00:24:40]protocol is kg_v1.0 [00:24:40]action value=get_value [00:24:40]process_action get_value [00:24:40]cmd_get_value [00:24:40]process_action get_value done [00:24:40]requested_data is exist [00:24:40]produce_requested_data [00:24:40]requested_item fm.sale.total is exist - process it [00:24:40]SAM_PROTO_GetFMData [00:24:40]wFMCommunicate request_size=4 [00:24:40]MH_SAM_APDU [00:24:40]CAPDU: 80 13 03 00 [00:24:40]Write to MH i2c: E2 08 00 C7 32 80 13 03 00 00 00 00 00 78 [00:24:40]Write i2c OK [00:24:40]MH_I2C_Read... [00:24:40]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:24:40]Read from MH i2c: E2 [00:24:40]MH_I2C_Read... [00:24:40]Read from MH i2c: E2 FD 00 [00:24:40]MH_I2C_Read... [00:24:40]Read from MH i2c: E2 FD 00 C7 32 00 C3 04 85 04 BF 04 6E 04 04 00 9F 54 00 00 69 04 A2 00 6F 04 04 00 88 54 00 00 B1 04 04 00 14 36 43 25 70 04 04 00 A8 A2 76 20 72 04 04 00 6C 93 CC 04 00 04 7E 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 95 06 F5 03 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 95 5E 54 EF 03 0B 00 F6 03 01 00 02 F7 03 02 00 66 06 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 17 00 00 00 B1 04 03 00 C0 49 AA 70 04 03 00 48 F9 A9 72 04 02 00 78 50 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 7D 15 12 EF 03 09 00 F6 90 00 20 [00:24:41]RAPDU: C3 04 85 04 BF 04 6E 04 04 00 9F 54 00 00 69 04 A2 00 6F 04 04 00 88 54 00 00 B1 04 04 00 14 36 43 25 70 04 04 00 A8 A2 76 20 72 04 04 00 6C 93 CC 04 00 04 7E 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 95 06 F5 03 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 95 5E 54 EF 03 0B 00 F6 03 01 00 02 F7 03 02 00 66 06 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 17 00 00 00 B1 04 03 00 C0 49 AA 70 04 03 00 48 F9 A9 72 04 02 00 78 50 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 7D 15 12 EF 03 09 00 F6 90 00 [00:24:41]wFMCommunicate OK [00:24:41]wFMCommunicate request_size=4 [00:24:41]MH_SAM_APDU [00:24:41]CAPDU: 80 17 00 00 [00:24:41]Write to MH i2c: E2 08 00 C8 32 80 17 00 00 00 00 00 00 7A [00:24:41]Write i2c OK [00:24:41]MH_I2C_Read... [00:24:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:24:41]Read from MH i2c: E2 [00:24:41]MH_I2C_Read... [00:24:41]Read from MH i2c: E2 FD 00 [00:24:41]MH_I2C_Read... [00:24:41]Read from MH i2c: E2 FD 00 C8 32 00 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 C9 81 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 90 00 85 [00:24:41]RAPDU: 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 C9 81 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 90 00 [00:24:41]wFMCommunicate OK [00:24:41]wFMCommunicate request_size=4 [00:24:41]MH_SAM_APDU [00:24:41]CAPDU: 80 17 00 00 [00:24:41]Write to MH i2c: E2 08 00 C9 32 80 17 00 00 00 00 00 00 7B [00:24:41]Write i2c OK [00:24:41]MH_I2C_Read... [00:24:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:24:41]Read from MH i2c: E2 [00:24:41]MH_I2C_Read... [00:24:41]Read from MH i2c: E2 FD 00 [00:24:41]MH_I2C_Read... [00:24:42]Read from MH i2c: E2 FD 00 C9 32 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 99 [00:24:42]RAPDU: 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:24:42]wFMCommunicate OK [00:24:42]wFMCommunicate request_size=4 [00:24:42]MH_SAM_APDU [00:24:42]CAPDU: 80 17 00 00 [00:24:42]Write to MH i2c: E2 08 00 CA 32 80 17 00 00 00 00 00 00 7C [00:24:42]Write i2c OK [00:24:42]MH_I2C_Read... [00:24:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:24:42]Read from MH i2c: E2 [00:24:42]MH_I2C_Read... [00:24:42]Read from MH i2c: E2 FD 00 [00:24:42]MH_I2C_Read... [00:24:42]Read from MH i2c: E2 FD 00 CA 32 00 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 EE [00:24:42]RAPDU: 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:24:42]wFMCommunicate OK [00:24:42]wFMCommunicate request_size=4 [00:24:42]MH_SAM_APDU [00:24:42]CAPDU: 80 17 00 00 [00:24:42]Write to MH i2c: E2 08 00 CB 32 80 17 00 00 00 00 00 00 7D [00:24:42]Write i2c OK [00:24:42]MH_I2C_Read... [00:24:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 221! [00:24:42]Read from MH i2c: E2 [00:24:42]MH_I2C_Read... [00:24:42]Read from MH i2c: E2 E0 00 [00:24:42]MH_I2C_Read... [00:24:42]Read from MH i2c: E2 E0 00 CB 32 00 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 67 [00:24:42]RAPDU: 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:24:42]wFMCommunicate OK [00:24:42]SAM_PROTO_GetFMData done [00:24:42]requested_item fm.sale_refund.total is exist - process it [00:24:42]requested_item fm.buy.total is exist - process it [00:24:42]requested_item shift.sale.total is exist - process it [00:24:42]SAM_PROTO_GetShiftData [00:24:42]wFMCommunicate request_size=4 [00:24:42]MH_SAM_APDU [00:24:42]CAPDU: 80 13 02 00 [00:24:42]Write to MH i2c: E2 08 00 CC 32 80 13 02 00 00 00 00 00 7C [00:24:42]Write i2c OK [00:24:42]MH_I2C_Read... [00:24:43]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:24:43]Read from MH i2c: E2 [00:24:43]MH_I2C_Read... [00:24:43]Read from MH i2c: E2 FD 00 [00:24:43]MH_I2C_Read... [00:24:43]Read from MH i2c: E2 FD 00 CC 32 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 EF [00:24:43]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:24:43]wFMCommunicate OK [00:24:43]wFMCommunicate request_size=4 [00:24:43]MH_SAM_APDU [00:24:43]CAPDU: 80 17 00 00 [00:24:43]Write to MH i2c: E2 08 00 CD 32 80 17 00 00 00 00 00 00 7F [00:24:43]Write i2c OK [00:24:43]MH_I2C_Read... [00:24:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:24:43]Read from MH i2c: E2 [00:24:43]MH_I2C_Read... [00:24:43]Read from MH i2c: E2 FD 00 [00:24:43]MH_I2C_Read... [00:24:43]Read from MH i2c: E2 FD 00 CD 32 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 87 [00:24:44]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 90 00 [00:24:44]wFMCommunicate OK [00:24:44]wFMCommunicate request_size=4 [00:24:44]MH_SAM_APDU [00:24:44]CAPDU: 80 17 00 00 [00:24:44]Write to MH i2c: E2 08 00 CE 32 80 17 00 00 00 00 00 00 80 [00:24:44]Write i2c OK [00:24:44]MH_I2C_Read... [00:24:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:24:44]Read from MH i2c: E2 [00:24:44]MH_I2C_Read... [00:24:44]Read from MH i2c: E2 FD 00 [00:24:44]MH_I2C_Read... [00:24:44]Read from MH i2c: E2 FD 00 CE 32 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 52 [00:24:44]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:24:44]wFMCommunicate OK [00:24:44]wFMCommunicate request_size=4 [00:24:44]MH_SAM_APDU [00:24:44]CAPDU: 80 17 00 00 [00:24:44]Write to MH i2c: E2 08 00 CF 32 80 17 00 00 00 00 00 00 81 [00:24:44]Write i2c OK [00:24:44]MH_I2C_Read... [00:24:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:24:44]Read from MH i2c: E2 [00:24:44]MH_I2C_Read... [00:24:44]Read from MH i2c: E2 FD 00 [00:24:44]MH_I2C_Read... [00:24:44]Read from MH i2c: E2 FD 00 CF 32 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 F3 [00:24:44]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:24:45]wFMCommunicate OK [00:24:45]wFMCommunicate request_size=4 [00:24:45]MH_SAM_APDU [00:24:45]CAPDU: 80 17 00 00 [00:24:45]Write to MH i2c: E2 08 00 D0 32 80 17 00 00 00 00 00 00 82 [00:24:45]OFD Sender: No OFD packet to send [00:24:45]Write i2c OK [00:24:45]MH_I2C_Read... [00:24:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 186! [00:24:45]Read from MH i2c: E2 [00:24:45]MH_I2C_Read... [00:24:45]Read from MH i2c: E2 BD 00 [00:24:45]MH_I2C_Read... [00:24:45]Read from MH i2c: E2 BD 00 D0 32 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 68 [00:24:45]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:24:45]wFMCommunicate OK [00:24:45]SAM_PROTO_GetShiftData done [00:24:45]requested_item shift.sale.total_cash is exist - process it [00:24:45]requested_item shift.sale_refund.total is exist - process it [00:24:45]requested_item shift.sale_refund.total_cash is exist - process it [00:24:45]requested_item shift.buy.total is exist - process it [00:24:45]requested_item shift.buy.total_cash is exist - process it [00:24:45]produce_requested_data done [00:24:45]produce_requested_data return {"fm.sale.total":6251617.48,"fm.sale_refund.total":111600.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:24:45]process_action_free get_value [00:24:45]json_value_free [00:24:45]json_value_free done [00:24:45]process_json_proto returns [00:24:45]Send response to host [00:24:45]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":6251617.48,"fm.sale_refund.total":111600.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:24:45]free response buf [00:24:45]execute_script done [00:24:45]execute_script returns [00:24:45]free content buf [00:24:45]Sock 8.Close socket [00:24:45]Sock 8.Thread stoped [00:24:50]OFD Sender: No OFD packet to send [00:24:55]OFD Sender: No OFD packet to send [00:25:00]OFD Sender: No OFD packet to send [00:25:05]OFD Sender: No OFD packet to send [00:25:10]OFD Sender: No OFD packet to send [00:25:15]OFD Sender: No OFD packet to send [00:25:20]OFD Sender: No OFD packet to send [00:25:25]OFD Sender: No OFD packet to send [00:25:30]OFD Sender: No OFD packet to send [00:25:35]OFD Sender: No OFD packet to send [00:25:40]OFD Sender: No OFD packet to send [00:25:45]OFD Sender: No OFD packet to send [00:25:50]OFD Sender: No OFD packet to send [00:25:55]OFD Sender: No OFD packet to send [00:26:00]OFD Sender: No OFD packet to send [00:26:05]OFD Sender: No OFD packet to send [00:26:10]OFD Sender: No OFD packet to send [00:26:15]OFD Sender: No OFD packet to send [00:26:20]OFD Sender: No OFD packet to send [00:26:25]OFD Sender: No OFD packet to send [00:26:30]OFD Sender: No OFD packet to send [00:26:35]OFD Sender: No OFD packet to send [00:26:40]OFD Sender: No OFD packet to send [00:26:45]OFD Sender: No OFD packet to send [00:26:50]OFD Sender: No OFD packet to send [00:26:55]OFD Sender: No OFD packet to send [00:27:00]OFD Sender: No OFD packet to send [00:27:05]OFD Sender: No OFD packet to send [00:27:10]OFD Sender: No OFD packet to send [00:27:15]OFD Sender: No OFD packet to send [00:27:20]OFD Sender: No OFD packet to send [00:27:25]OFD Sender: No OFD packet to send [00:27:30]OFD Sender: No OFD packet to send [00:27:35]OFD Sender: No OFD packet to send [00:27:40]OFD Sender: No OFD packet to send [00:27:45]OFD Sender: No OFD packet to send [00:27:50]OFD Sender: No OFD packet to send [00:27:55]OFD Sender: No OFD packet to send [00:28:00]OFD Sender: No OFD packet to send [00:28:05]OFD Sender: No OFD packet to send [00:28:10]OFD Sender: No OFD packet to send [00:28:15]OFD Sender: No OFD packet to send [00:28:20]OFD Sender: No OFD packet to send [00:28:25]OFD Sender: No OFD packet to send [00:28:30]OFD Sender: No OFD packet to send [00:28:35]OFD Sender: No OFD packet to send [00:28:40]OFD Sender: No OFD packet to send [00:28:45]OFD Sender: No OFD packet to send [00:28:50]OFD Sender: No OFD packet to send [00:28:55]OFD Sender: No OFD packet to send [00:29:00]OFD Sender: No OFD packet to send [00:29:05]OFD Sender: No OFD packet to send [00:29:10]OFD Sender: No OFD packet to send [00:29:15]OFD Sender: No OFD packet to send [00:29:20]OFD Sender: No OFD packet to send [00:29:25]OFD Sender: No OFD packet to send [00:29:30]OFD Sender: No OFD packet to send [00:29:35]OFD Sender: No OFD packet to send [00:29:40]OFD Sender: No OFD packet to send [00:29:45]OFD Sender: No OFD packet to send [00:29:50]OFD Sender: No OFD packet to send [00:29:55]OFD Sender: No OFD packet to send [00:30:00]OFD Sender: No OFD packet to send [00:30:05]OFD Sender: No OFD packet to send [00:30:10]OFD Sender: No OFD packet to send [00:30:15]OFD Sender: No OFD packet to send [00:30:20]OFD Sender: No OFD packet to send [00:30:25]OFD Sender: No OFD packet to send [00:30:30]OFD Sender: No OFD packet to send [00:30:35]OFD Sender: No OFD packet to send [00:30:40]OFD Sender: No OFD packet to send [00:30:45]OFD Sender: No OFD packet to send [00:30:50]OFD Sender: No OFD packet to send [00:30:55]OFD Sender: No OFD packet to send [00:31:00]OFD Sender: No OFD packet to send [00:31:05]OFD Sender: No OFD packet to send [00:31:10]OFD Sender: No OFD packet to send [00:31:15]OFD Sender: No OFD packet to send [00:31:20]OFD Sender: No OFD packet to send [00:31:25]OFD Sender: No OFD packet to send [00:31:30]OFD Sender: No OFD packet to send [00:31:35]OFD Sender: No OFD packet to send [00:31:40]OFD Sender: No OFD packet to send [00:31:45]OFD Sender: No OFD packet to send [00:31:50]OFD Sender: No OFD packet to send [00:31:55]OFD Sender: No OFD packet to send [00:32:00]OFD Sender: No OFD packet to send [00:32:05]OFD Sender: No OFD packet to send [00:32:10]OFD Sender: No OFD packet to send [00:32:15]OFD Sender: No OFD packet to send [00:32:20]OFD Sender: No OFD packet to send [00:32:25]OFD Sender: No OFD packet to send [00:32:30]OFD Sender: No OFD packet to send [00:32:35]OFD Sender: No OFD packet to send [00:32:40]OFD Sender: No OFD packet to send [00:32:45]OFD Sender: No OFD packet to send [00:32:50]OFD Sender: No OFD packet to send [00:32:55]OFD Sender: No OFD packet to send [00:33:00]OFD Sender: No OFD packet to send [00:33:05]OFD Sender: No OFD packet to send [00:33:10]OFD Sender: No OFD packet to send [00:33:15]OFD Sender: No OFD packet to send [00:33:20]OFD Sender: No OFD packet to send [00:33:25]OFD Sender: No OFD packet to send [00:33:30]OFD Sender: No OFD packet to send [00:33:35]OFD Sender: No OFD packet to send [00:33:40]OFD Sender: No OFD packet to send [00:33:45]OFD Sender: No OFD packet to send [00:33:50]OFD Sender: No OFD packet to send [00:33:55]OFD Sender: No OFD packet to send [00:34:00]OFD Sender: No OFD packet to send [00:34:05]OFD Sender: No OFD packet to send [00:34:10]OFD Sender: No OFD packet to send [00:34:15]OFD Sender: No OFD packet to send [00:34:20]OFD Sender: No OFD packet to send [00:34:24]accept exits with 9 [00:34:24]New connection [00:34:24]New thread 3066838372 created [00:34:24]Thread 3066695012 joined [00:34:24]Waiting for new connection... [00:34:24] Sock 9.Parse request [00:34:24]Sock 9.Check first char [00:34:24]Sock 9.First char is OK [00:34:24]request: POST /json_proto HTTP/1.0 [00:34:24]Method: POST [00:34:24]URL: /json_proto [00:34:24]Method is POST - this is cgi request [00:34:24]url: /json_proto [00:34:24]query_string will be loaded in cgi processing [00:34:24]execute_cgi json_proto POST (null) [00:34:24]execute_cgi path=json_proto method=POST [00:34:24]POST find Content-Length [00:34:24]Host: 172.17.35.133:8080 [00:34:24]Content-Length: 821 [00:34:24]Content-Type: application/json [00:34:24] [00:34:24]POST finish read [00:34:24]Found Content-Length = 821 [00:34:24]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254531", "tax_sys" : 0, "items" : [ { "code": "48745000", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Purple Mix", "price" : 135.00, "quantity" : 1.000, "sum" : 135.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:34:24]execute_script... [00:34: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)254531", "tax_sys" : 0, "items" : [ { "code": "48745000", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Purple Mix", "price" : 135.00, "quantity" : 1.000, "sum" : 135.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:34:24]POST & json_proto [00:34:24]process_json_proto [00:34:24]json parsed OK: [00:34:24]protocol is kg_v1.0 [00:34:24]action value=close_receipt [00:34:24]process_action close_receipt [00:34:24]cmd_close_receipt [00:34:24]MH_GetDate [00:34:24]Write to MH i2c: F0 00 00 D1 32 F2 [00:34:24]Write i2c OK [00:34:24]MH_I2C_Read... [00:34:24]Read from MH i2c: F0 [00:34:24]MH_I2C_Read... [00:34:24]Read from MH i2c: F0 09 00 [00:34:24]MH_I2C_Read... [00:34:24]Read from MH i2c: F0 09 00 D1 32 00 9B 84 6F 66 8C 55 28 65 5D [00:34:24]GetLastDocTimeStamp 1718583887 [00:34:24]current date 1718584475 [00:34:24]FM_GetShiftState [00:34:24]SAM_PROTO_GetShiftState [00:34:24]wFMCommunicate request_size=4 [00:34:24]MH_SAM_APDU [00:34:24]CAPDU: 80 13 01 00 [00:34:24]Write to MH i2c: E2 08 00 D2 32 80 13 01 00 00 00 00 00 81 [00:34:24]Write i2c OK [00:34:24]MH_I2C_Read... [00:34:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:34:24]Read from MH i2c: E2 [00:34:24]MH_I2C_Read... [00:34:24]Read from MH i2c: E2 0E 00 [00:34:24]MH_I2C_Read... [00:34:24]Read from MH i2c: E2 0E 00 D2 32 00 09 00 01 4F 82 6F 66 00 00 00 00 90 00 33 [00:34:24]RAPDU: 09 00 01 4F 82 6F 66 00 00 00 00 90 00 [00:34:24]wFMCommunicate OK [00:34:24]SAM_PROTO_GetShiftState done [00:34:24]FM_GetShiftState done [00:34:24]opened in 1718583887 [00:34:24]opened+sec_in_day 1718670287 [00:34:24]quantity*price = 13500 [00:34:24]sum+1 = 13501 [00:34:24]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 135.00 НСП 1% : 1.19 НДС 12% : 14.34 Наличными: 0.00 Безнал.: 135.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 1 17.06.2024 00:34 Смена: 328 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000965344 ФД: 22320 ФПД: 143088941568983 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240617T003435&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22320&fm=143088941568983&tin=02508201610067®Number=0000000000099755&sum=13500 0 [00:34:25]StoreToDocumentArchive [00:34:25]shift 328 fd 22320 [00:34:25]save to /storage/0328/doc_00022320 [00:34:25]save last doc name /storage/0328/doc_00022320 to /storage/kkm_last_doc_name [00:34:25]save OK [00:34:25]Clear old archive folders... [00:34:25]ProcessDocumentItem done err = 0, tmpTLVsize=272 [00:34:25]tlvbuf is 0024D160 [00:34:25]SAM_PROTO_ClearQueue [00:34:25]wFMCommunicate request_size=4 [00:34:25]MH_SAM_APDU [00:34:25]CAPDU: 80 09 00 00 [00:34:25]Write to MH i2c: E2 08 00 DF 32 80 09 00 00 00 00 00 00 83 [00:34:25]Write i2c OK [00:34:25]MH_I2C_Read... [00:34:25]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:34:25]Read from MH i2c: E2 [00:34:25]MH_I2C_Read... [00:34:25]Read from MH i2c: E2 03 00 [00:34:25]MH_I2C_Read... [00:34:25]Read from MH i2c: E2 03 00 DF 32 00 90 00 85 [00:34:25]RAPDU: 90 00 [00:34:25]wFMCommunicate OK [00:34:25]SAM_PROTO_ClearQueue done [00:34:25]KKMCreateOFDPacket [00:34:25]OFDProtocolAddRootSTLVToBuf [00:34:25]FM_MakeSignedData [00:34:25]FM_MakeSignedData [00:34:25]SAM_PROTO_SignData [00:34:25]wFMCommunicate request_size=4 [00:34:25]MH_SAM_APDU [00:34:25]CAPDU: 80 0D 01 02 [00:34:25]Write to MH i2c: E2 08 00 E0 32 80 0D 01 02 00 00 00 00 8B [00:34:25]Write i2c OK [00:34:25]MH_I2C_Read... [00:34:25]OFD Sender: No OFD packet to send [00:34:25]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:34:25]Read from MH i2c: E2 [00:34:25]MH_I2C_Read... [00:34:25]Read from MH i2c: E2 03 00 [00:34:25]MH_I2C_Read... [00:34:25]Read from MH i2c: E2 03 00 E0 32 00 90 00 86 [00:34:25]RAPDU: 90 00 [00:34:25]wFMCommunicate OK [00:34:25]wFMCommunicate request_size=255 [00:34:25]MH_SAM_APDU [00:34:25]CAPDU: 80 0D 02 02 FA 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 BC 34 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 9B 84 6F 66 0E 04 04 00 48 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 [00:34:25]Write to MH i2c: E2 02 01 E1 32 80 0D 02 02 FA 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 BC 34 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 9B 84 6F 66 0E 04 04 00 48 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 00 00 8E [00:34:25]Write i2c OK [00:34:25]MH_I2C_Read... [00:34:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:34:25]Read from MH i2c: E2 [00:34:25]MH_I2C_Read... [00:34:25]Read from MH i2c: E2 03 00 [00:34:25]MH_I2C_Read... [00:34:25]Read from MH i2c: E2 03 00 E1 32 00 90 00 87 [00:34:25]RAPDU: 90 00 [00:34:25]wFMCommunicate OK [00:34:25]wFMCommunicate request_size=31 [00:34:25]MH_SAM_APDU [00:34:25]CAPDU: 80 0D 02 02 1A 30 30 39 36 35 33 34 34 10 04 04 00 30 57 00 00 35 04 06 00 82 23 7D 88 93 D7 [00:34:25]Write to MH i2c: E2 22 00 E2 32 80 0D 02 02 1A 00 30 30 39 36 35 33 34 34 10 04 04 00 30 57 00 00 35 04 06 00 82 23 7D 88 93 D7 00 00 53 [00:34:25]Write i2c OK [00:34:25]MH_I2C_Read... [00:34:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:34:25]Read from MH i2c: E2 [00:34:25]MH_I2C_Read... [00:34:25]Read from MH i2c: E2 03 00 [00:34:25]MH_I2C_Read... [00:34:25]Read from MH i2c: E2 03 00 E2 32 00 90 00 88 [00:34:25]RAPDU: 90 00 [00:34:25]wFMCommunicate OK [00:34:25]wFMCommunicate request_size=4 [00:34:25]MH_SAM_APDU [00:34:25]CAPDU: 80 0D 03 02 [00:34:25]Write to MH i2c: E2 08 00 E3 32 80 0D 03 02 00 00 00 00 90 [00:34:25]Write i2c OK [00:34:25]MH_I2C_Read... [00:34:26]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:34:26]Read from MH i2c: E2 [00:34:26]MH_I2C_Read... [00:34:26]Read from MH i2c: E2 0B 00 [00:34:26]MH_I2C_Read... [00:34:26]Read from MH i2c: E2 0B 00 E3 32 00 36 14 4A E8 D2 7D F9 A2 90 00 F7 [00:34:26]RAPDU: 36 14 4A E8 D2 7D F9 A2 90 00 [00:34:26]wFMCommunicate OK [00:34:26]SAM_PROTO_SignData done [00:34:26]FM_MakeSignedData done [00:34:26]CreateOFDProtocolMessage [00:34:26]wFMCommunicate request_size=4 [00:34:26]MH_SAM_APDU [00:34:26]CAPDU: 80 11 00 00 [00:34:26]Write to MH i2c: E2 08 00 E4 32 80 11 00 00 00 00 00 00 90 [00:34:26]Write i2c OK [00:34:26]MH_I2C_Read... [00:34:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:34:26]Read from MH i2c: E2 [00:34:26]MH_I2C_Read... [00:34:26]Read from MH i2c: E2 17 00 [00:34:26]MH_I2C_Read... [00:34:26]Read from MH i2c: E2 17 00 E4 32 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 E2 [00:34:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [00:34:26]wFMCommunicate OK [00:34:26]CreateOFDProtocolMessage done [00:34:26]OFDSenderStorePacket 22320 [00:34:26]StoreOFDPacket docnum=22320 [00:34:26]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 24 01 00 00 90 6A 1C 01 8D 44 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 BC 34 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 9B 84 6F 66 0E 04 04 00 48 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 30 57 00 00 35 04 06 00 82 23 7D 88 93 D7 36 14 4A E8 D2 7D F9 A2 [00:34:26]CheckFolder [00:34:26]dirname=/storage/ofd_packets [00:34:26]CheckFolder done [00:34:26]ProducePacketName [00:34:26]name=ofd_packets/00022320 [00:34:26]NVStorageSaveData ofd_packets/00022320 [00:34:26]File name is /storage/ofd_packets/00022320 [00:34:26]Write 322 bytes [00:34:26]NVStorageSaveData done [00:34:26]OFDSenderStorePacket done [00:34:26]KKMCreateOFDPacket done [00:34:26]NVStorageSaveData kkm_last_timestamp [00:34:26]File name is /storage/kkm_last_timestamp [00:34:26]Write 4 bytes [00:34:26]NVStorageSaveData done [00:34:26]ExternCall_PrintAddStr [00:34:26]wPrintStart [00:34:26]Write to MH i2c: 01 00 00 E5 32 17 [00:34:26]Write i2c OK [00:34:26]MH_I2C_Read... [00:34:26]Read from MH i2c: 01 [00:34:26]MH_I2C_Read... [00:34:26]Read from MH i2c: 01 07 00 [00:34:26]MH_I2C_Read... [00:34:26]Read from MH i2c: 01 07 00 E5 32 00 00 00 00 00 FF 0F 2C [00:34:26]RasterBufferAndPrint [00:34:26]line Счет N : (3)254531 [00:34:26]line ИНН: 02508201610067 [00:34:26]line Контрольно-Кассовый Чек [00:34:26]line ПРОДАЖА [00:34:26]line Товар: 48745000 [00:34:26]line Сигареты Winston Purple Mix [00:34:26]line 1.000 * 135.00 [00:34:26]line = 135.00 [00:34:26]line НДС 12% НСП 1% [00:34:26]line > о реализуемом товаре [00:34:26]line ИТОГО: 135.00 [00:34:26]line НСП 1% : 1.19 [00:34:26]line НДС 12% : 14.34 [00:34:26]line Наличными: 0.00 [00:34:26]line Безнал.: 135.00 [00:34:26]line Место: АЗС № 76 "Партнер Нефть" [00:34:26]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [00:34:26]line СНО: Общий режим [00:34:26]line Чек 1 17.06.2024 00:34 [00:34:26]line Смена: 328 ФФД: 1.0 [00:34:26]line ЗНМ: 0300000200 [00:34:26]line РНМ: 0000000000099755 [00:34:26]line Версия ККМ: 001 [00:34:26]line Платежная система: АКБ Кыргызстан [00:34:26]line ФМ: 0000000000965344 [00:34:26]line ФД: 22320 [00:34:26]line ФПД: 143088941568983 [00:34:26]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240617T003435&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22320&fm=143088941568983&tin=02508201610067®Number=0000000000099755&sum=13500 [00:34:26]line 0 [00:34:26]OFD Sender: Processing packet 22320 [packets to send 5, broken 4] [00:34:26]ProducePacketName [00:34:26]name=ofd_packets/00022320 [00:34:26]OFD Sender: To server: pG, [00:34:26]CommunicateWithHost lk.salyk.kg:30040 [00:34:26]ConnectInit lk.salyk.kg [00:34:26]written 0, free lines is 4095 [00:34:26]Connected sock=10 [00:34:26]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 24 01 00 00 90 6A 1C 01 8D 44 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 BC 34 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 9B 84 6F 66 0E 04 04 00 48 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 30 57 00 00 35 04 06 00 82 23 7D 88 93 D7 36 14 4A E8 D2 7D F9 A2 [00:34:26]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 9A 9A 47 00 1A 23 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 30 57 00 00 F4 03 04 00 54 2D 6F 66 B6 04 01 00 00 3C 8A 11 3B 1C F5 2A A5 [00:34:26]CommunicateWithHost err = 0 [00:34:26]CheckOFDResponse [00:34:26]1017 (14) - 77093643461234 [00:34:26]1041 (16) - 0000000000965344 [00:34:26]1040 (4) - 22320 [00:34:26]1012 (4) - 16.06.2024 18:22 [00:34:26]1206 (1) - 0 [00:34:26]OFD Sender: Remove packet 22320 [00:34:26]ProducePacketName [00:34:26]name=ofd_packets/00022320 [00:34:26]NVStorageDeleteData [00:34:26]Write to MH i2c: 01 00 00 0F 33 42 [00:34:26]Write i2c OK [00:34:26]MH_I2C_Read... [00:34:26]Read from MH i2c: 01 [00:34:26]MH_I2C_Read... [00:34:26]Read from MH i2c: 01 07 00 [00:34:26]MH_I2C_Read... [00:34:26]Read from MH i2c: 01 07 00 0F 33 00 00 00 00 00 EF 0C 44 [00:34:26]RasterBufferAndPrint [00:34:26]line [00:34:26]line [00:34:26]line [00:34:26]line [00:34:26]line [00:34:26]written 0, free lines is 3318 [00:34:26]MH_Cut [00:34:26]Write to MH i2c: D1 01 00 16 33 01 1B [00:34:26]Write i2c OK [00:34:26]MH_I2C_Read... [00:34:26]Read from MH i2c: D1 [00:34:26]MH_I2C_Read... [00:34:26]Read from MH i2c: D1 01 00 [00:34:26]MH_I2C_Read... [00:34:26]Read from MH i2c: D1 01 00 16 33 00 1A [00:34:26]Write to MH i2c: 01 00 00 17 33 4A [00:34:26]Write i2c OK [00:34:26]MH_I2C_Read... [00:34:27]OFD Sender: No OFD packet to send [00:34:27]*** Cut start [00:34:27]*** Partial cut [00:34:27]*** CUTSNS_PIN = 1 [00:34:27]*** CUTSNS_PIN = 0 [00:34:27]*** Brake cut motor [00:34:28]Read from MH i2c: 01 [00:34:28]MH_I2C_Read... [00:34:28]*** Stop cut motor [00:34:28]*** Cut end [00:34:28]Read from MH i2c: 01 07 00 [00:34:28]MH_I2C_Read... [00:34:28]Read from MH i2c: 01 07 00 17 33 00 00 00 00 00 FF 0F 5F [00:34:28]process_action close_receipt done [00:34:28]requested_data is exist [00:34:28]produce_requested_data [00:34:28]requested_item fm.sn is exist - process it [00:34:28]wFMCommunicate request_size=4 [00:34:28]MH_SAM_APDU [00:34:28]CAPDU: 80 11 00 00 [00:34:28]Write to MH i2c: E2 08 00 18 33 80 11 00 00 00 00 00 00 C5 [00:34:28]Write i2c OK [00:34:28]MH_I2C_Read... [00:34:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:34:28]Read from MH i2c: E2 [00:34:28]MH_I2C_Read... [00:34:28]Read from MH i2c: E2 17 00 [00:34:28]MH_I2C_Read... [00:34:28]Read from MH i2c: E2 17 00 18 33 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 17 [00:34:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [00:34:28]wFMCommunicate OK [00:34:28]requested_item fd.num is exist - process it [00:34:28]SAM_PROTO_GetFieldsCounters [00:34:28]wFMCommunicate request_size=4 [00:34:28]MH_SAM_APDU [00:34:28]CAPDU: 80 13 00 00 [00:34:28]Write to MH i2c: E2 08 00 19 33 80 13 00 00 00 00 00 00 C8 [00:34:28]Write i2c OK [00:34:28]MH_I2C_Read... [00:34:28]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:34:28]Read from MH i2c: E2 [00:34:28]MH_I2C_Read... [00:34:28]Read from MH i2c: E2 62 00 [00:34:28]MH_I2C_Read... [00:34:28]Read from MH i2c: E2 62 00 19 33 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 30 57 00 00 0E 04 04 00 48 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 C5 [00:34:28]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 30 57 00 00 0E 04 04 00 48 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:34:28]wFMCommunicate OK [00:34:28]SAM_PROTO_GetFieldsCounters done [00:34:28]requested_item shift.num is exist - process it [00:34:28]requested_item shift.opened is exist - process it [00:34:28]req_shift_opened [00:34:28]FM_GetShiftState [00:34:28]SAM_PROTO_GetShiftState [00:34:28]wFMCommunicate request_size=4 [00:34:28]MH_SAM_APDU [00:34:28]CAPDU: 80 13 01 00 [00:34:28]Write to MH i2c: E2 08 00 1A 33 80 13 01 00 00 00 00 00 CA [00:34:28]Write i2c OK [00:34:28]MH_I2C_Read... [00:34:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:34:28]Read from MH i2c: E2 [00:34:28]MH_I2C_Read... [00:34:28]Read from MH i2c: E2 0E 00 [00:34:28]MH_I2C_Read... [00:34:28]Read from MH i2c: E2 0E 00 1A 33 00 09 00 01 4F 82 6F 66 00 00 00 00 90 00 7C [00:34:28]RAPDU: 09 00 01 4F 82 6F 66 00 00 00 00 90 00 [00:34:28]wFMCommunicate OK [00:34:28]SAM_PROTO_GetShiftState done [00:34:28]FM_GetShiftState done [00:34:28]req_shift_opened done [00:34:28]requested_item shift.open_date is exist - process it [00:34:28]req_shift_open_date [00:34:28]req_shift_open_date done [00:34:28]produce_requested_data done [00:34:28]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22320,"shift.num":328,"shift.opened":1,"shift.open_date":1718583887} [00:34:28]process_action_free close_receipt [00:34:28]json_value_free [00:34:28]json_value_free done [00:34:28]process_json_proto returns [00:34:28]Send response to host [00:34:28]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22320,"shift.num":328,"shift.opened":1,"shift.open_date":1718583887}}} [00:34:28]free response buf [00:34:28]execute_script done [00:34:28]execute_script returns [00:34:28]free content buf [00:34:28]Sock 9.Close socket [00:34:28]Sock 9.Thread stoped [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:08]OFD Sender: No OFD packet to send [00:51:13]OFD Sender: No OFD packet to send [00:51:18]OFD Sender: No OFD packet to send [00:51:23]OFD Sender: No OFD packet to send [00:51:28]OFD Sender: No OFD packet to send [00:51:33]OFD Sender: No OFD packet to send [00:51:38]OFD Sender: No OFD packet to send [00:51:43]OFD Sender: No OFD packet to send [00:51:48]OFD Sender: No OFD packet to send [00:51:53]OFD Sender: No OFD packet to send [00:51:58]OFD Sender: No OFD packet to send [00:52:03]OFD Sender: No OFD packet to send [00:52:08]OFD Sender: No OFD packet to send [00:52:13]OFD Sender: No OFD packet to send [00:52:18]OFD Sender: No OFD packet to send [00:52:23]OFD Sender: No OFD packet to send [00:52:28]OFD Sender: No OFD packet to send [00:52:33]OFD Sender: No OFD packet to send [00:52:38]OFD Sender: No OFD packet to send [00:52:43]OFD Sender: No OFD packet to send [00:52:48]OFD Sender: No OFD packet to send [00:52:53]OFD Sender: No OFD packet to send [00:52:58]OFD Sender: No OFD packet to send [00:53:03]OFD Sender: No OFD packet to send [00:53:08]OFD Sender: No OFD packet to send [00:53:13]OFD Sender: No OFD packet to send [00:53:18]OFD Sender: No OFD packet to send [00:53:23]OFD Sender: No OFD packet to send [00:53:28]OFD Sender: No OFD packet to send [00:53:33]OFD Sender: No OFD packet to send [00:53:38]OFD Sender: No OFD packet to send [00:53:43]OFD Sender: No OFD packet to send [00:53:48]OFD Sender: No OFD packet to send [00:53:53]OFD Sender: No OFD packet to send [00:53:58]OFD Sender: No OFD packet to send [00:54:03]OFD Sender: No OFD packet to send [00:54:08]OFD Sender: No OFD packet to send [00:54:13]OFD Sender: No OFD packet to send [00:54:18]OFD Sender: No OFD packet to send [00:54:23]OFD Sender: No OFD packet to send [00:54:28]OFD Sender: No OFD packet to send [00:54:33]OFD Sender: No OFD packet to send [00:54:38]OFD Sender: No OFD packet to send [00:54:43]OFD Sender: No OFD packet to send [00:54:48]OFD Sender: No OFD packet to send [00:54:53]OFD Sender: No OFD packet to send [00:54:58]OFD Sender: No OFD packet to send [00:55:03]OFD Sender: No OFD packet to send [00:55:08]OFD Sender: No OFD packet to send [00:55:13]OFD Sender: No OFD packet to send [00:55:18]OFD Sender: No OFD packet to send [00:55:23]OFD Sender: No OFD packet to send [00:55:28]OFD Sender: No OFD packet to send [00:55:33]OFD Sender: No OFD packet to send [00:55:38]OFD Sender: No OFD packet to send [00:55:43]OFD Sender: No OFD packet to send [00:55:48]OFD Sender: No OFD packet to send [00:55:53]OFD Sender: No OFD packet to send [00:55:58]OFD Sender: No OFD packet to send [00:56:03]OFD Sender: No OFD packet to send [00:56:08]OFD Sender: No OFD packet to send [00:56:13]OFD Sender: No OFD packet to send [00:56:18]OFD Sender: No OFD packet to send [00:56:23]OFD Sender: No OFD packet to send [00:56:28]OFD Sender: No OFD packet to send [00:56:33]OFD Sender: No OFD packet to send [00:56:38]OFD Sender: No OFD packet to send [00:56:43]OFD Sender: No OFD packet to send [00:56:48]OFD Sender: No OFD packet to send [00:56:53]OFD Sender: No OFD packet to send [00:56:58]OFD Sender: No OFD packet to send [00:57:03]OFD Sender: No OFD packet to send [00:57:08]OFD Sender: No OFD packet to send [00:57:13]OFD Sender: No OFD packet to send [00:57:18]OFD Sender: No OFD packet to send [00:57:23]OFD Sender: No OFD packet to send [00:57:28]OFD Sender: No OFD packet to send [00:57:33]OFD Sender: No OFD packet to send [00:57:38]OFD Sender: No OFD packet to send [00:57:43]OFD Sender: No OFD packet to send [00:57:48]OFD Sender: No OFD packet to send [00:57:53]OFD Sender: No OFD packet to send [00:57:58]OFD Sender: No OFD packet to send [00:58:03]OFD Sender: No OFD packet to send [00:58:08]OFD Sender: No OFD packet to send [00:58:13]OFD Sender: No OFD packet to send [00:58:18]OFD Sender: No OFD packet to send [00:58:23]OFD Sender: No OFD packet to send [00:58:28]OFD Sender: No OFD packet to send [00:58:33]OFD Sender: No OFD packet to send [00:58:38]OFD Sender: No OFD packet to send [00:58:43]OFD Sender: No OFD packet to send [00:58:48]OFD Sender: No OFD packet to send [00:58:53]OFD Sender: No OFD packet to send [00:58:58]OFD Sender: No OFD packet to send [00:59:03]OFD Sender: No OFD packet to send [00:59:08]OFD Sender: No OFD packet to send [00:59:13]OFD Sender: No OFD packet to send [00:59:18]OFD Sender: No OFD packet to send [00:59:23]OFD Sender: No OFD packet to send [00:59:28]OFD Sender: No OFD packet to send [00:59:33]OFD Sender: No OFD packet to send [00:59:38]OFD Sender: No OFD packet to send [00:59:43]OFD Sender: No OFD packet to send [00:59:48]OFD Sender: No OFD packet to send [00:59:53]OFD Sender: No OFD packet to send [00:59:58]OFD Sender: No OFD packet to send [01:00:03]OFD Sender: No OFD packet to send [01:00:08]OFD Sender: No OFD packet to send [01:00:13]OFD Sender: No OFD packet to send [01:00:18]OFD Sender: No OFD packet to send [01:00:23]OFD Sender: No OFD packet to send [01:00:28]OFD Sender: No OFD packet to send [01:00:33]OFD Sender: No OFD packet to send [01:00:38]OFD Sender: No OFD packet to send [01:00:43]OFD Sender: No OFD packet to send [01:00:48]OFD Sender: No OFD packet to send [01:00:53]OFD Sender: No OFD packet to send [01:00:58]OFD Sender: No OFD packet to send [01:01:03]OFD Sender: No OFD packet to send [01:01:08]OFD Sender: No OFD packet to send [01:01:13]OFD Sender: No OFD packet to send [01:01:18]OFD Sender: No OFD packet to send [01:01:23]OFD Sender: No OFD packet to send [01:01:28]OFD Sender: No OFD packet to send [01:01:33]OFD Sender: No OFD packet to send [01:01:38]OFD Sender: No OFD packet to send [01:01:43]OFD Sender: No OFD packet to send [01:01:48]OFD Sender: No OFD packet to send [01:01:53]OFD Sender: No OFD packet to send [01:01:58]OFD Sender: No OFD packet to send [01:02:03]OFD Sender: No OFD packet to send [01:02:08]OFD Sender: No OFD packet to send [01:02:13]OFD Sender: No OFD packet to send [01:02:18]OFD Sender: No OFD packet to send [01:02:23]OFD Sender: No OFD packet to send [01:02:28]OFD Sender: No OFD packet to send [01:02:33]OFD Sender: No OFD packet to send [01:02:38]OFD Sender: No OFD packet to send [01:02:43]OFD Sender: No OFD packet to send [01:02:48]OFD Sender: No OFD packet to send [01:02:53]OFD Sender: No OFD packet to send [01:02:58]OFD Sender: No OFD packet to send [01:03:03]OFD Sender: No OFD packet to send [01:03:08]OFD Sender: No OFD packet to send [01:03:13]OFD Sender: No OFD packet to send [01:03:18]OFD Sender: No OFD packet to send [01:03:23]OFD Sender: No OFD packet to send [01:03:28]OFD Sender: No OFD packet to send [01:03:33]OFD Sender: No OFD packet to send [01:03:38]OFD Sender: No OFD packet to send [01:03:43]OFD Sender: No OFD packet to send [01:03:48]OFD Sender: No OFD packet to send [01:03:53]OFD Sender: No OFD packet to send [01:03:58]OFD Sender: No OFD packet to send [01:04:03]OFD Sender: No OFD packet to send [01:04:08]OFD Sender: No OFD packet to send [01:04:13]OFD Sender: No OFD packet to send [01:04:18]OFD Sender: No OFD packet to send [01:04:20]accept exits with 8 [01:04:20]New connection [01:04:20]New thread 3066695012 created [01:04:20]Thread 3066838372 joined [01:04:20]Waiting for new connection... [01:04:20] Sock 8.Parse request [01:04:20]Sock 8.Check first char [01:04:20]Sock 8.First char is OK [01:04:20]request: POST /json_proto HTTP/1.0 [01:04:20]Method: POST [01:04:20]URL: /json_proto [01:04:20]Method is POST - this is cgi request [01:04:20]url: /json_proto [01:04:20]query_string will be loaded in cgi processing [01:04:20]execute_cgi json_proto POST (null) [01:04:20]execute_cgi path=json_proto method=POST [01:04:20]POST find Content-Length [01:04:20]Host: 172.17.35.133:8080 [01:04:20]Content-Length: 825 [01:04:20]Content-Type: application/json [01:04:20] [01:04:20]POST finish read [01:04:20]Found Content-Length = 825 [01:04:20]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254532", "tax_sys" : 0, "items" : [ { "code": "48744683", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Caster+", "price" : 143.00, "quantity" : 1.000, "sum" : 143.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "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" : 143.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:04:20]execute_script... [01:04: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)254532", "tax_sys" : 0, "items" : [ { "code": "48744683", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Caster+", "price" : 143.00, "quantity" : 1.000, "sum" : 143.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "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" : 143.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:04:20]POST & json_proto [01:04:20]process_json_proto [01:04:20]json parsed OK: [01:04:20]protocol is kg_v1.0 [01:04:20]action value=close_receipt [01:04:20]process_action close_receipt [01:04:20]cmd_close_receipt [01:04:20]MH_GetDate [01:04:20]Write to MH i2c: F0 00 00 1B 33 3D [01:04:20]Write i2c OK [01:04:20]MH_I2C_Read... [01:04:20]Read from MH i2c: F0 [01:04:20]MH_I2C_Read... [01:04:20]Read from MH i2c: F0 09 00 [01:04:20]MH_I2C_Read... [01:04:20]Read from MH i2c: F0 09 00 1B 33 00 9F 8B 6F 66 8C 55 28 65 B3 [01:04:20]GetLastDocTimeStamp 1718584475 [01:04:20]current date 1718586271 [01:04:20]FM_GetShiftState [01:04:20]SAM_PROTO_GetShiftState [01:04:20]wFMCommunicate request_size=4 [01:04:20]MH_SAM_APDU [01:04:20]CAPDU: 80 13 01 00 [01:04:20]Write to MH i2c: E2 08 00 1C 33 80 13 01 00 00 00 00 00 CC [01:04:20]Write i2c OK [01:04:20]MH_I2C_Read... [01:04:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:04:20]Read from MH i2c: E2 [01:04:20]MH_I2C_Read... [01:04:20]Read from MH i2c: E2 0E 00 [01:04:20]MH_I2C_Read... [01:04:20]Read from MH i2c: E2 0E 00 1C 33 00 09 00 01 4F 82 6F 66 00 00 00 00 90 00 7E [01:04:20]RAPDU: 09 00 01 4F 82 6F 66 00 00 00 00 90 00 [01:04:20]wFMCommunicate OK [01:04:20]SAM_PROTO_GetShiftState done [01:04:20]FM_GetShiftState done [01:04:20]opened in 1718583887 [01:04:20]opened+sec_in_day 1718670287 [01:04:20]quantity*price = 14300 [01:04:20]sum+1 = 14301 [01:04:20]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 143.00 НСП 1% : 1.26 НДС 12% : 15.19 Наличными: 0.00 Безнал.: 143.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 2 17.06.2024 01:04 Смена: 328 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000965344 ФД: 22321 ФПД: 220205171271081 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240617T010431&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22321&fm=220205171271081&tin=02508201610067®Number=0000000000099755&sum=14300 0 [01:04:21]StoreToDocumentArchive [01:04:21]shift 328 fd 22321 [01:04:21]save to /storage/0328/doc_00022321 [01:04:21]save last doc name /storage/0328/doc_00022321 to /storage/kkm_last_doc_name [01:04:21]save OK [01:04:21]Clear old archive folders... [01:04:21]ProcessDocumentItem done err = 0, tmpTLVsize=276 [01:04:21]tlvbuf is B6F3C2C0 [01:04:21]SAM_PROTO_ClearQueue [01:04:21]wFMCommunicate request_size=4 [01:04:21]MH_SAM_APDU [01:04:21]CAPDU: 80 09 00 00 [01:04:21]Write to MH i2c: E2 08 00 29 33 80 09 00 00 00 00 00 00 CE [01:04:21]Write i2c OK [01:04:21]MH_I2C_Read... [01:04:21]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [01:04:21]Read from MH i2c: E2 [01:04:21]MH_I2C_Read... [01:04:21]Read from MH i2c: E2 03 00 [01:04:21]MH_I2C_Read... [01:04:21]Read from MH i2c: E2 03 00 29 33 00 90 00 D0 [01:04:21]RAPDU: 90 00 [01:04:21]wFMCommunicate OK [01:04:21]SAM_PROTO_ClearQueue done [01:04:21]KKMCreateOFDPacket [01:04:21]OFDProtocolAddRootSTLVToBuf [01:04:21]FM_MakeSignedData [01:04:21]FM_MakeSignedData [01:04:21]SAM_PROTO_SignData [01:04:21]wFMCommunicate request_size=4 [01:04:21]MH_SAM_APDU [01:04:21]CAPDU: 80 0D 01 02 [01:04:21]Write to MH i2c: E2 08 00 2A 33 80 0D 01 02 00 00 00 00 D6 [01:04:21]Write i2c OK [01:04:21]MH_I2C_Read... [01:04:21]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [01:04:21]Read from MH i2c: E2 [01:04:21]MH_I2C_Read... [01:04:21]Read from MH i2c: E2 03 00 [01:04:21]MH_I2C_Read... [01:04:21]Read from MH i2c: E2 03 00 2A 33 00 90 00 D1 [01:04:21]RAPDU: 90 00 [01:04:21]wFMCommunicate OK [01:04:21]wFMCommunicate request_size=255 [01:04:21]MH_SAM_APDU [01:04:21]CAPDU: 80 0D 02 02 FA 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 34 36 38 33 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 43 61 73 74 65 72 2B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 37 00 00 00 00 13 04 06 00 DC 37 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 37 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EF 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 DC 37 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 9F 8B 6F 66 0E 04 04 00 48 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 [01:04:21]Write to MH i2c: E2 02 01 2B 33 80 0D 02 02 FA 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 34 36 38 33 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 43 61 73 74 65 72 2B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 37 00 00 00 00 13 04 06 00 DC 37 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 37 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EF 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 DC 37 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 9F 8B 6F 66 0E 04 04 00 48 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 00 00 79 [01:04:21]Write i2c OK [01:04:21]MH_I2C_Read... [01:04:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:04:21]Read from MH i2c: E2 [01:04:21]MH_I2C_Read... [01:04:21]Read from MH i2c: E2 03 00 [01:04:21]MH_I2C_Read... [01:04:21]Read from MH i2c: E2 03 00 2B 33 00 90 00 D2 [01:04:21]RAPDU: 90 00 [01:04:21]wFMCommunicate OK [01:04:21]wFMCommunicate request_size=35 [01:04:21]MH_SAM_APDU [01:04:21]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 31 57 00 00 35 04 06 00 C8 46 83 02 E5 A9 [01:04:21]Write to MH i2c: E2 26 00 2C 33 80 0D 02 02 1E 00 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 31 57 00 00 35 04 06 00 C8 46 83 02 E5 A9 00 00 74 [01:04:21]Write i2c OK [01:04:21]MH_I2C_Read... [01:04:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:04:21]Read from MH i2c: E2 [01:04:21]MH_I2C_Read... [01:04:21]Read from MH i2c: E2 03 00 [01:04:21]MH_I2C_Read... [01:04:21]Read from MH i2c: E2 03 00 2C 33 00 90 00 D3 [01:04:21]RAPDU: 90 00 [01:04:21]wFMCommunicate OK [01:04:21]wFMCommunicate request_size=4 [01:04:21]MH_SAM_APDU [01:04:21]CAPDU: 80 0D 03 02 [01:04:21]Write to MH i2c: E2 08 00 2D 33 80 0D 03 02 00 00 00 00 DB [01:04:21]Write i2c OK [01:04:21]MH_I2C_Read... [01:04:22]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [01:04:22]Read from MH i2c: E2 [01:04:22]MH_I2C_Read... [01:04:22]Read from MH i2c: E2 0B 00 [01:04:22]MH_I2C_Read... [01:04:22]Read from MH i2c: E2 0B 00 2D 33 00 D3 29 A5 C8 CE 25 2E 7D 90 00 E3 [01:04:22]RAPDU: D3 29 A5 C8 CE 25 2E 7D 90 00 [01:04:22]wFMCommunicate OK [01:04:22]SAM_PROTO_SignData done [01:04:22]FM_MakeSignedData done [01:04:22]CreateOFDProtocolMessage [01:04:22]wFMCommunicate request_size=4 [01:04:22]MH_SAM_APDU [01:04:22]CAPDU: 80 11 00 00 [01:04:22]Write to MH i2c: E2 08 00 2E 33 80 11 00 00 00 00 00 00 DB [01:04:22]Write i2c OK [01:04:22]MH_I2C_Read... [01:04:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:04:22]Read from MH i2c: E2 [01:04:22]MH_I2C_Read... [01:04:22]Read from MH i2c: E2 17 00 [01:04:22]MH_I2C_Read... [01:04:22]Read from MH i2c: E2 17 00 2E 33 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 2D [01:04:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [01:04:22]wFMCommunicate OK [01:04:22]CreateOFDProtocolMessage done [01:04:22]OFDSenderStorePacket 22321 [01:04:22]StoreOFDPacket docnum=22321 [01:04:22]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 28 01 00 00 DC 3D 20 01 27 C0 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 34 36 38 33 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 43 61 73 74 65 72 2B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 37 00 00 00 00 13 04 06 00 DC 37 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 37 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EF 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 DC 37 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 9F 8B 6F 66 0E 04 04 00 48 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 31 57 00 00 35 04 06 00 C8 46 83 02 E5 A9 D3 29 A5 C8 CE 25 2E 7D [01:04:22]CheckFolder [01:04:22]dirname=/storage/ofd_packets [01:04:22]CheckFolder done [01:04:22]ProducePacketName [01:04:22]name=ofd_packets/00022321 [01:04:22]NVStorageSaveData ofd_packets/00022321 [01:04:22]File name is /storage/ofd_packets/00022321 [01:04:22]Write 326 bytes [01:04:22]NVStorageSaveData done [01:04:22]OFDSenderStorePacket done [01:04:22]KKMCreateOFDPacket done [01:04:22]NVStorageSaveData kkm_last_timestamp [01:04:22]File name is /storage/kkm_last_timestamp [01:04:22]OFD Sender: Processing packet 22321 [packets to send 5, broken 4] [01:04:22]ProducePacketName [01:04:22]name=ofd_packets/00022321 [01:04:22]OFD Sender: To server: pG, [01:04:22]CommunicateWithHost lk.salyk.kg:30040 [01:04:22]ConnectInit lk.salyk.kg [01:04:22]Write 4 bytes [01:04:22]NVStorageSaveData done [01:04:22]ExternCall_PrintAddStr [01:04:22]wPrintStart [01:04:22]Write to MH i2c: 01 00 00 2F 33 62 [01:04:22]Write i2c OK [01:04:22]MH_I2C_Read... [01:04:22]Read from MH i2c: 01 [01:04:22]MH_I2C_Read... [01:04:22]Read from MH i2c: 01 07 00 [01:04:22]MH_I2C_Read... [01:04:22]Read from MH i2c: 01 07 00 2F 33 00 00 00 00 00 FF 0F 77 [01:04:22]RasterBufferAndPrint [01:04:22]line Счет N : (3)254532 [01:04:22]line ИНН: 02508201610067 [01:04:22]line Контрольно-Кассовый Чек [01:04:22]line ПРОДАЖА [01:04:22]line Товар: 48744683 [01:04:22]line Сигареты Winston XStyle Caster+ [01:04:22]line 1.000 * 143.00 [01:04:22]line = 143.00 [01:04:22]line НДС 12% НСП 1% [01:04:22]line > о реализуемом товаре [01:04:22]line ИТОГО: 143.00 [01:04:22]line НСП 1% : 1.26 [01:04:22]line НДС 12% : 15.19 [01:04:22]line Наличными: 0.00 [01:04:22]line Безнал.: 143.00 [01:04:22]line Место: АЗС № 76 "Партнер Нефть" [01:04:22]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [01:04:22]line СНО: Общий режим [01:04:22]line Чек 2 17.06.2024 01:04 [01:04:22]line Смена: 328 ФФД: 1.0 [01:04:22]line ЗНМ: 0300000200 [01:04:22]line РНМ: 0000000000099755 [01:04:22]line Версия ККМ: 001 [01:04:22]line Платежная система: АКБ Кыргызстан [01:04:22]line ФМ: 0000000000965344 [01:04:22]line ФД: 22321 [01:04:22]line ФПД: 220205171271081 [01:04:22]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240617T010431&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22321&fm=220205171271081&tin=02508201610067®Number=0000000000099755&sum=14300 [01:04:22]line 0 [01:04:22]Connected sock=11 [01:04:22]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 28 01 00 00 DC 3D 20 01 27 C0 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 34 36 38 33 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 43 61 73 74 65 72 2B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 37 00 00 00 00 13 04 06 00 DC 37 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 37 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EF 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 DC 37 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 9F 8B 6F 66 0E 04 04 00 48 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 31 57 00 00 35 04 06 00 C8 46 83 02 E5 A9 D3 29 A5 C8 CE 25 2E 7D [01:04:22]written 0, free lines is 4095 [01:04:22]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 98 C7 47 00 44 C6 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 31 57 00 00 F4 03 04 00 58 34 6F 66 B6 04 01 00 00 23 E4 2F B0 D7 86 B6 F8 [01:04:22]CommunicateWithHost err = 0 [01:04:22]CheckOFDResponse [01:04:22]1017 (14) - 77093643461234 [01:04:22]1041 (16) - 0000000000965344 [01:04:22]1040 (4) - 22321 [01:04:22]1012 (4) - 16.06.2024 18:52 [01:04:22]1206 (1) - 0 [01:04:22]OFD Sender: Remove packet 22321 [01:04:22]ProducePacketName [01:04:22]name=ofd_packets/00022321 [01:04:22]NVStorageDeleteData [01:04:22]Write to MH i2c: 01 00 00 5A 33 8D [01:04:22]Write i2c OK [01:04:22]MH_I2C_Read... [01:04:22]Read from MH i2c: 01 [01:04:22]MH_I2C_Read... [01:04:22]Read from MH i2c: 01 07 00 [01:04:22]MH_I2C_Read... [01:04:22]Read from MH i2c: 01 07 00 5A 33 00 00 00 00 00 E8 0C 88 [01:04:22]RasterBufferAndPrint [01:04:22]line [01:04:22]line [01:04:22]line [01:04:22]line [01:04:22]line [01:04:22]written 0, free lines is 3310 [01:04:22]MH_Cut [01:04:22]Write to MH i2c: D1 01 00 61 33 01 66 [01:04:22]Write i2c OK [01:04:22]MH_I2C_Read... [01:04:22]Read from MH i2c: D1 [01:04:22]MH_I2C_Read... [01:04:22]Read from MH i2c: D1 01 00 [01:04:22]MH_I2C_Read... [01:04:22]Read from MH i2c: D1 01 00 61 33 00 65 [01:04:22]Write to MH i2c: 01 00 00 62 33 95 [01:04:22]Write i2c OK [01:04:22]MH_I2C_Read... [01:04:23]OFD Sender: No OFD packet to send [01:04:23]*** Cut start [01:04:23]*** Partial cut [01:04:23]*** CUTSNS_PIN = 1 [01:04:23]*** CUTSNS_PIN = 0 [01:04:23]*** Brake cut motor [01:04:24]Read from MH i2c: 01 [01:04:24]MH_I2C_Read... [01:04:24]*** Stop cut motor [01:04:24]*** Cut end [01:04:24]Read from MH i2c: 01 07 00 [01:04:24]MH_I2C_Read... [01:04:24]Read from MH i2c: 01 07 00 62 33 00 00 00 00 00 FF 0F AA [01:04:24]process_action close_receipt done [01:04:24]requested_data is exist [01:04:24]produce_requested_data [01:04:24]requested_item fm.sn is exist - process it [01:04:24]wFMCommunicate request_size=4 [01:04:24]MH_SAM_APDU [01:04:24]CAPDU: 80 11 00 00 [01:04:24]Write to MH i2c: E2 08 00 63 33 80 11 00 00 00 00 00 00 10 [01:04:24]Write i2c OK [01:04:24]MH_I2C_Read... [01:04:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:04:24]Read from MH i2c: E2 [01:04:24]MH_I2C_Read... [01:04:24]Read from MH i2c: E2 17 00 [01:04:24]MH_I2C_Read... [01:04:24]Read from MH i2c: E2 17 00 63 33 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 62 [01:04:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [01:04:24]wFMCommunicate OK [01:04:24]requested_item fd.num is exist - process it [01:04:24]SAM_PROTO_GetFieldsCounters [01:04:24]wFMCommunicate request_size=4 [01:04:24]MH_SAM_APDU [01:04:24]CAPDU: 80 13 00 00 [01:04:24]Write to MH i2c: E2 08 00 64 33 80 13 00 00 00 00 00 00 13 [01:04:24]Write i2c OK [01:04:24]MH_I2C_Read... [01:04:24]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:04:24]Read from MH i2c: E2 [01:04:24]MH_I2C_Read... [01:04:24]Read from MH i2c: E2 62 00 [01:04:24]MH_I2C_Read... [01:04:24]Read from MH i2c: E2 62 00 64 33 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 31 57 00 00 0E 04 04 00 48 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 14 [01:04:24]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 31 57 00 00 0E 04 04 00 48 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:04:24]wFMCommunicate OK [01:04:24]SAM_PROTO_GetFieldsCounters done [01:04:24]requested_item shift.num is exist - process it [01:04:24]requested_item shift.opened is exist - process it [01:04:24]req_shift_opened [01:04:24]FM_GetShiftState [01:04:24]SAM_PROTO_GetShiftState [01:04:24]wFMCommunicate request_size=4 [01:04:24]MH_SAM_APDU [01:04:24]CAPDU: 80 13 01 00 [01:04:24]Write to MH i2c: E2 08 00 65 33 80 13 01 00 00 00 00 00 15 [01:04:24]Write i2c OK [01:04:24]MH_I2C_Read... [01:04:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:04:24]Read from MH i2c: E2 [01:04:24]MH_I2C_Read... [01:04:24]Read from MH i2c: E2 0E 00 [01:04:24]MH_I2C_Read... [01:04:24]Read from MH i2c: E2 0E 00 65 33 00 09 00 01 4F 82 6F 66 00 00 00 00 90 00 C7 [01:04:24]RAPDU: 09 00 01 4F 82 6F 66 00 00 00 00 90 00 [01:04:24]wFMCommunicate OK [01:04:24]SAM_PROTO_GetShiftState done [01:04:24]FM_GetShiftState done [01:04:24]req_shift_opened done [01:04:24]requested_item shift.open_date is exist - process it [01:04:24]req_shift_open_date [01:04:24]req_shift_open_date done [01:04:24]produce_requested_data done [01:04:24]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22321,"shift.num":328,"shift.opened":1,"shift.open_date":1718583887} [01:04:24]process_action_free close_receipt [01:04:24]json_value_free [01:04:24]json_value_free done [01:04:24]process_json_proto returns [01:04:24]Send response to host [01:04:24]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22321,"shift.num":328,"shift.opened":1,"shift.open_date":1718583887}}} [01:04:24]free response buf [01:04:24]execute_script done [01:04:24]execute_script returns [01:04:24]free content buf [01:04:24]Sock 8.Close socket [01:04:24]Sock 8.Thread stoped [01:04:28]OFD Sender: No OFD packet to send [01:04:33]OFD Sender: No OFD packet to send [01:04:38]OFD Sender: No OFD packet to send [01:04:43]OFD Sender: No OFD packet to send [01:04:48]OFD Sender: No OFD packet to send [01:04:53]OFD Sender: No OFD packet to send [01:04:58]OFD Sender: No OFD packet to send [01:05:03]OFD Sender: No OFD packet to send [01:05:08]OFD Sender: No OFD packet to send [01:05:13]OFD Sender: No OFD packet to send [01:05:18]OFD Sender: No OFD packet to send [01:05:23]OFD Sender: No OFD packet to send [01:05:28]OFD Sender: No OFD packet to send [01:05:33]OFD Sender: No OFD packet to send [01:05:38]OFD Sender: No OFD packet to send [01:05:43]OFD Sender: No OFD packet to send [01:05:48]OFD Sender: No OFD packet to send [01:05:53]OFD Sender: No OFD packet to send [01:05:58]OFD Sender: No OFD packet to send [01:06:03]OFD Sender: No OFD packet to send [01:06:08]OFD Sender: No OFD packet to send [01:06:13]OFD Sender: No OFD packet to send [01:06:18]OFD Sender: No OFD packet to send [01:06:23]OFD Sender: No OFD packet to send [01:06:28]OFD Sender: No OFD packet to send [01:06:33]OFD Sender: No OFD packet to send [01:06:38]OFD Sender: No OFD packet to send [01:06:43]OFD Sender: No OFD packet to send [01:06:48]OFD Sender: No OFD packet to send [01:06:53]OFD Sender: No OFD packet to send [01:06:58]OFD Sender: No OFD packet to send [01:07:03]OFD Sender: No OFD packet to send [01:07:08]OFD Sender: No OFD packet to send [01:07:13]OFD Sender: No OFD packet to send [01:07:18]OFD Sender: No OFD packet to send [01:07:23]OFD Sender: No OFD packet to send [01:07:28]OFD Sender: No OFD packet to send [01:07:33]OFD Sender: No OFD packet to send [01:07:38]OFD Sender: No OFD packet to send [01:07:43]OFD Sender: No OFD packet to send [01:07:48]OFD Sender: No OFD packet to send [01:07:53]OFD Sender: No OFD packet to send [01:07:58]OFD Sender: No OFD packet to send [01:08:03]OFD Sender: No OFD packet to send [01:08:08]OFD Sender: No OFD packet to send [01:08:13]OFD Sender: No OFD packet to send [01:08:18]OFD Sender: No OFD packet to send [01:08:23]OFD Sender: No OFD packet to send [01:08:28]OFD Sender: No OFD packet to send [01:08:33]OFD Sender: No OFD packet to send [01:08:38]OFD Sender: No OFD packet to send [01:08:43]OFD Sender: No OFD packet to send [01:08:48]OFD Sender: No OFD packet to send [01:08:53]OFD Sender: No OFD packet to send [01:08:58]OFD Sender: No OFD packet to send [01:09:03]OFD Sender: No OFD packet to send [01:09:08]OFD Sender: No OFD packet to send [01:09:13]OFD Sender: No OFD packet to send [01:09:18]OFD Sender: No OFD packet to send [01:09:23]OFD Sender: No OFD packet to send [01:09:28]OFD Sender: No OFD packet to send [01:09:33]OFD Sender: No OFD packet to send [01:09:38]OFD Sender: No OFD packet to send [01:09:43]OFD Sender: No OFD packet to send [01:09:48]OFD Sender: No OFD packet to send [01:09:53]OFD Sender: No OFD packet to send [01:09:58]OFD Sender: No OFD packet to send [01:10:03]OFD Sender: No OFD packet to send [01:10:08]OFD Sender: No OFD packet to send [01:10:13]OFD Sender: No OFD packet to send [01:10:18]OFD Sender: No OFD packet to send [01:10:23]OFD Sender: No OFD packet to send [01:10:28]OFD Sender: No OFD packet to send [01:10:33]OFD Sender: No OFD packet to send [01:10:38]OFD Sender: No OFD packet to send [01:10:43]OFD Sender: No OFD packet to send [01:10:48]OFD Sender: No OFD packet to send [01:10:53]OFD Sender: No OFD packet to send [01:10:58]OFD Sender: No OFD packet to send [01:11:03]OFD Sender: No OFD packet to send [01:11:08]OFD Sender: No OFD packet to send [01:11:13]OFD Sender: No OFD packet to send [01:11:18]OFD Sender: No OFD packet to send [01:11:23]OFD Sender: No OFD packet to send [01:11:28]OFD Sender: No OFD packet to send [01:11:33]OFD Sender: No OFD packet to send [01:11:38]OFD Sender: No OFD packet to send [01:11:43]OFD Sender: No OFD packet to send [01:11:48]OFD Sender: No OFD packet to send [01:11:53]OFD Sender: No OFD packet to send [01:11:58]OFD Sender: No OFD packet to send [01:12:03]OFD Sender: No OFD packet to send [01:12:08]OFD Sender: No OFD packet to send [01:12:13]OFD Sender: No OFD packet to send [01:12:18]OFD Sender: No OFD packet to send [01:12:23]OFD Sender: No OFD packet to send [01:12:28]OFD Sender: No OFD packet to send [01:12:33]OFD Sender: No OFD packet to send [01:12:38]OFD Sender: No OFD packet to send [01:12:43]OFD Sender: No OFD packet to send [01:12:48]OFD Sender: No OFD packet to send [01:12:53]OFD Sender: No OFD packet to send [01:12:58]OFD Sender: No OFD packet to send [01:13:03]OFD Sender: No OFD packet to send [01:13:08]OFD Sender: No OFD packet to send [01:13:13]OFD Sender: No OFD packet to send [01:13:18]OFD Sender: No OFD packet to send [01:13:23]OFD Sender: No OFD packet to send [01:13:28]OFD Sender: No OFD packet to send [01:13:33]OFD Sender: No OFD packet to send [01:13:38]OFD Sender: No OFD packet to send [01:13:43]OFD Sender: No OFD packet to send [01:13:48]OFD Sender: No OFD packet to send [01:13:53]OFD Sender: No OFD packet to send [01:13:58]OFD Sender: No OFD packet to send [01:14:03]OFD Sender: No OFD packet to send [01:14:08]OFD Sender: No OFD packet to send [01:14:13]OFD Sender: No OFD packet to send [01:14:18]OFD Sender: No OFD packet to send [01:14:23]OFD Sender: No OFD packet to send [01:14:28]OFD Sender: No OFD packet to send [01:14:33]OFD Sender: No OFD packet to send [01:14:38]OFD Sender: No OFD packet to send [01:14:43]OFD Sender: No OFD packet to send [01:14:48]OFD Sender: No OFD packet to send [01:14:53]OFD Sender: No OFD packet to send [01:14:58]OFD Sender: No OFD packet to send [01:15:03]OFD Sender: No OFD packet to send [01:15:08]OFD Sender: No OFD packet to send [01:15:13]OFD Sender: No OFD packet to send [01:15:18]OFD Sender: No OFD packet to send [01:15:23]OFD Sender: No OFD packet to send [01:15:28]OFD Sender: No OFD packet to send [01:15:33]OFD Sender: No OFD packet to send [01:15:38]OFD Sender: No OFD packet to send [01:15:43]OFD Sender: No OFD packet to send [01:15:48]OFD Sender: No OFD packet to send [01:15:53]OFD Sender: No OFD packet to send [01:15:58]OFD Sender: No OFD packet to send [01:16:03]OFD Sender: No OFD packet to send [01:16:08]OFD Sender: No OFD packet to send [01:16:13]OFD Sender: No OFD packet to send [01:16:18]OFD Sender: No OFD packet to send [01:16:23]OFD Sender: No OFD packet to send [01:16:28]OFD Sender: No OFD packet to send [01:16:33]OFD Sender: No OFD packet to send [01:16:38]OFD Sender: No OFD packet to send [01:16:43]OFD Sender: No OFD packet to send [01:16:48]OFD Sender: No OFD packet to send [01:16:53]OFD Sender: No OFD packet to send [01:16:58]OFD Sender: No OFD packet to send [01:17:03]OFD Sender: No OFD packet to send [01:17:08]OFD Sender: No OFD packet to send [01:17:13]OFD Sender: No OFD packet to send [01:17:18]OFD Sender: No OFD packet to send [01:17:23]OFD Sender: No OFD packet to send [01:17:28]OFD Sender: No OFD packet to send [01:17:33]OFD Sender: No OFD packet to send [01:17:38]OFD Sender: No OFD packet to send [01:17:43]OFD Sender: No OFD packet to send [01:17:48]OFD Sender: No OFD packet to send [01:17:53]OFD Sender: No OFD packet to send [01:17:58]OFD Sender: No OFD packet to send [01:18:03]OFD Sender: No OFD packet to send [01:18:08]OFD Sender: No OFD packet to send [01:18:13]OFD Sender: No OFD packet to send [01:18:18]OFD Sender: No OFD packet to send [01:18:23]OFD Sender: No OFD packet to send [01:18:28]OFD Sender: No OFD packet to send [01:18:33]OFD Sender: No OFD packet to send [01:18:38]OFD Sender: No OFD packet to send [01:18:43]OFD Sender: No OFD packet to send [01:18:48]OFD Sender: No OFD packet to send [01:18:53]OFD Sender: No OFD packet to send [01:18:58]OFD Sender: No OFD packet to send [01:19:03]OFD Sender: No OFD packet to send [01:19:08]OFD Sender: No OFD packet to send [01:19:13]OFD Sender: No OFD packet to send [01:19:18]OFD Sender: No OFD packet to send [01:19:23]OFD Sender: No OFD packet to send [01:19:28]OFD Sender: No OFD packet to send [01:19:33]OFD Sender: No OFD packet to send [01:19:38]OFD Sender: No OFD packet to send [01:19:43]OFD Sender: No OFD packet to send [01:19:48]OFD Sender: No OFD packet to send [01:19:53]OFD Sender: No OFD packet to send [01:19:58]OFD Sender: No OFD packet to send [01:20:03]OFD Sender: No OFD packet to send [01:20:08]OFD Sender: No OFD packet to send [01:20:13]OFD Sender: No OFD packet to send [01:20:18]OFD Sender: No OFD packet to send [01:20:23]OFD Sender: No OFD packet to send [01:20:28]OFD Sender: No OFD packet to send [01:20:33]OFD Sender: No OFD packet to send [01:20:38]OFD Sender: No OFD packet to send [01:20:43]OFD Sender: No OFD packet to send [01:20:48]OFD Sender: No OFD packet to send [01:20:53]OFD Sender: No OFD packet to send [01:20:58]OFD Sender: No OFD packet to send [01:21:03]OFD Sender: No OFD packet to send [01:21:08]OFD Sender: No OFD packet to send [01:21:13]OFD Sender: No OFD packet to send [01:21:18]OFD Sender: No OFD packet to send [01:21:23]OFD Sender: No OFD packet to send [01:21:28]OFD Sender: No OFD packet to send [01:21:33]OFD Sender: No OFD packet to send [01:21:38]OFD Sender: No OFD packet to send [01:21:40]accept exits with 9 [01:21:40]New connection [01:21:40]New thread 3066838372 created [01:21:40]Thread 3066695012 joined [01:21:40]Waiting for new connection... [01:21:40] Sock 9.Parse request [01:21:40]Sock 9.Check first char [01:21:40]Sock 9.First char is OK [01:21:40]request: POST /json_proto HTTP/1.0 [01:21:40]Method: POST [01:21:40]URL: /json_proto [01:21:40]Method is POST - this is cgi request [01:21:40]url: /json_proto [01:21:40]query_string will be loaded in cgi processing [01:21:40]execute_cgi json_proto POST (null) [01:21:40]execute_cgi path=json_proto method=POST [01:21:40]POST find Content-Length [01:21:40]Host: 172.17.35.133:8080 [01:21:40]Content-Length: 888 [01:21:40]Content-Type: application/json [01:21:40] [01:21:40]POST finish read [01:21:40]Found Content-Length = 888 [01:21:40]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254533", "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 }]} ,{ "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 240.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:21:40]execute_script... [01:21:40]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254533", "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 }]} ,{ "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 240.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:21:40]POST & json_proto [01:21:40]process_json_proto [01:21:40]json parsed OK: [01:21:40]protocol is kg_v1.0 [01:21:40]action value=close_receipt [01:21:40]process_action close_receipt [01:21:40]cmd_close_receipt [01:21:40]MH_GetDate [01:21:40]Write to MH i2c: F0 00 00 66 33 88 [01:21:40]Write i2c OK [01:21:40]MH_I2C_Read... [01:21:40]Read from MH i2c: F0 [01:21:40]MH_I2C_Read... [01:21:40]Read from MH i2c: F0 09 00 [01:21:40]MH_I2C_Read... [01:21:40]Read from MH i2c: F0 09 00 66 33 00 AF 8F 6F 66 8C 55 28 65 12 [01:21:40]GetLastDocTimeStamp 1718586271 [01:21:40]current date 1718587311 [01:21:40]FM_GetShiftState [01:21:40]SAM_PROTO_GetShiftState [01:21:40]wFMCommunicate request_size=4 [01:21:40]MH_SAM_APDU [01:21:40]CAPDU: 80 13 01 00 [01:21:40]Write to MH i2c: E2 08 00 67 33 80 13 01 00 00 00 00 00 17 [01:21:40]Write i2c OK [01:21:40]MH_I2C_Read... [01:21:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:21:40]Read from MH i2c: E2 [01:21:40]MH_I2C_Read... [01:21:40]Read from MH i2c: E2 0E 00 [01:21:40]MH_I2C_Read... [01:21:40]Read from MH i2c: E2 0E 00 67 33 00 09 00 01 4F 82 6F 66 00 00 00 00 90 00 C9 [01:21:40]RAPDU: 09 00 01 4F 82 6F 66 00 00 00 00 90 00 [01:21:40]wFMCommunicate OK [01:21:40]SAM_PROTO_GetShiftState done [01:21:40]FM_GetShiftState done [01:21:40]opened in 1718583887 [01:21:40]opened+sec_in_day 1718670287 [01:21:40]quantity*price = 12500 [01:21:40]sum+1 = 12501 [01:21:40]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 2000036240010 Кофе Латте (GABB TRADE) 1.000 * 115.00 = 115.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 240.00 НСП 1% : 2.13 НДС 12% : 25.48 Наличными: 240.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 3 17.06.2024 01:21 Смена: 328 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22322 ФПД: 93201917804801 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240617T012151&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22322&fm=93201917804801&tin=02508201610067®Number=0000000000099755&sum=24000 0 [01:21:41]StoreToDocumentArchive [01:21:41]shift 328 fd 22322 [01:21:41]save to /storage/0328/doc_00022322 [01:21:41]save last doc name /storage/0328/doc_00022322 to /storage/kkm_last_doc_name [01:21:41]save OK [01:21:41]Clear old archive folders... [01:21:41]ProcessDocumentItem done err = 0, tmpTLVsize=386 [01:21:41]tlvbuf is 001C7280 [01:21:41]SAM_PROTO_ClearQueue [01:21:41]wFMCommunicate request_size=4 [01:21:41]MH_SAM_APDU [01:21:41]CAPDU: 80 09 00 00 [01:21:41]Write to MH i2c: E2 08 00 74 33 80 09 00 00 00 00 00 00 19 [01:21:41]Write i2c OK [01:21:41]MH_I2C_Read... [01:21:41]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [01:21:41]Read from MH i2c: E2 [01:21:41]MH_I2C_Read... [01:21:41]Read from MH i2c: E2 03 00 [01:21:41]MH_I2C_Read... [01:21:41]Read from MH i2c: E2 03 00 74 33 00 90 00 1B [01:21:41]RAPDU: 90 00 [01:21:41]wFMCommunicate OK [01:21:41]SAM_PROTO_ClearQueue done [01:21:41]KKMCreateOFDPacket [01:21:41]OFDProtocolAddRootSTLVToBuf [01:21:41]FM_MakeSignedData [01:21:41]FM_MakeSignedData [01:21:41]SAM_PROTO_SignData [01:21:41]wFMCommunicate request_size=4 [01:21:41]MH_SAM_APDU [01:21:41]CAPDU: 80 0D 01 02 [01:21:41]Write to MH i2c: E2 08 00 75 33 80 0D 01 02 00 00 00 00 21 [01:21:41]Write i2c OK [01:21:41]MH_I2C_Read... [01:21:41]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [01:21:41]Read from MH i2c: E2 [01:21:41]MH_I2C_Read... [01:21:41]Read from MH i2c: E2 03 00 [01:21:41]MH_I2C_Read... [01:21:41]Read from MH i2c: E2 03 00 75 33 00 90 00 1C [01:21:41]RAPDU: 90 00 [01:21:41]wFMCommunicate OK [01:21:41]wFMCommunicate request_size=255 [01:21:41]MH_SAM_APDU [01:21:41]CAPDU: 80 0D 02 02 FA 03 00 82 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 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 5D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 [01:21:41]Write to MH i2c: E2 02 01 76 33 80 0D 02 02 FA 00 03 00 82 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 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 5D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 00 00 6E [01:21:41]Write i2c OK [01:21:41]MH_I2C_Read... [01:21:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:21:41]Read from MH i2c: E2 [01:21:41]MH_I2C_Read... [01:21:41]Read from MH i2c: E2 03 00 [01:21:41]MH_I2C_Read... [01:21:41]Read from MH i2c: E2 03 00 76 33 00 90 00 1D [01:21:41]RAPDU: 90 00 [01:21:41]wFMCommunicate OK [01:21:41]wFMCommunicate request_size=145 [01:21:41]MH_SAM_APDU [01:21:41]CAPDU: 80 0D 02 02 8C 06 00 D5 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F4 09 00 00 00 00 07 04 06 00 C0 5D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 AF 8F 6F 66 0E 04 04 00 48 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 32 57 00 00 35 04 06 00 54 C4 43 34 01 01 [01:21:41]Write to MH i2c: E2 94 00 77 33 80 0D 02 02 8C 00 06 00 D5 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F4 09 00 00 00 00 07 04 06 00 C0 5D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 AF 8F 6F 66 0E 04 04 00 48 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 32 57 00 00 35 04 06 00 54 C4 43 34 01 01 00 00 E0 [01:21:41]Write i2c OK [01:21:41]MH_I2C_Read... [01:21:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:21:42]Read from MH i2c: E2 [01:21:42]MH_I2C_Read... [01:21:42]Read from MH i2c: E2 03 00 [01:21:42]MH_I2C_Read... [01:21:42]Read from MH i2c: E2 03 00 77 33 00 90 00 1E [01:21:42]RAPDU: 90 00 [01:21:42]wFMCommunicate OK [01:21:42]wFMCommunicate request_size=4 [01:21:42]MH_SAM_APDU [01:21:42]CAPDU: 80 0D 03 02 [01:21:42]Write to MH i2c: E2 08 00 78 33 80 0D 03 02 00 00 00 00 26 [01:21:42]Write i2c OK [01:21:42]MH_I2C_Read... [01:21:42]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [01:21:42]Read from MH i2c: E2 [01:21:42]MH_I2C_Read... [01:21:42]Read from MH i2c: E2 0B 00 [01:21:42]MH_I2C_Read... [01:21:42]Read from MH i2c: E2 0B 00 78 33 00 BE 1E 8C B8 DF 6F 76 E5 90 00 F0 [01:21:42]RAPDU: BE 1E 8C B8 DF 6F 76 E5 90 00 [01:21:42]wFMCommunicate OK [01:21:42]SAM_PROTO_SignData done [01:21:42]FM_MakeSignedData done [01:21:42]CreateOFDProtocolMessage [01:21:42]wFMCommunicate request_size=4 [01:21:42]MH_SAM_APDU [01:21:42]CAPDU: 80 11 00 00 [01:21:42]Write to MH i2c: E2 08 00 79 33 80 11 00 00 00 00 00 00 26 [01:21:42]Write i2c OK [01:21:42]MH_I2C_Read... [01:21:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:21:42]Read from MH i2c: E2 [01:21:42]MH_I2C_Read... [01:21:42]Read from MH i2c: E2 17 00 [01:21:42]MH_I2C_Read... [01:21:42]Read from MH i2c: E2 17 00 79 33 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 78 [01:21:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [01:21:42]wFMCommunicate OK [01:21:42]CreateOFDProtocolMessage done [01:21:42]OFDSenderStorePacket 22322 [01:21:42]StoreOFDPacket docnum=22322 [01:21:42]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 96 01 00 00 69 41 8E 01 68 89 5A 03 01 00 03 00 82 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 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 5D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D5 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F4 09 00 00 00 00 07 04 06 00 C0 5D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 AF 8F 6F 66 0E 04 04 00 48 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 32 57 00 00 35 04 06 00 54 C4 43 34 01 01 BE 1E 8C B8 DF 6F 76 E5 [01:21:42]CheckFolder [01:21:42]dirname=/storage/ofd_packets [01:21:42]CheckFolder done [01:21:42]ProducePacketName [01:21:42]name=ofd_packets/00022322 [01:21:42]NVStorageSaveData ofd_packets/00022322 [01:21:42]File name is /storage/ofd_packets/00022322 [01:21:42]Write 436 bytes [01:21:42]NVStorageSaveData done [01:21:42]OFDSenderStorePacket done [01:21:42]KKMCreateOFDPacket done [01:21:42]NVStorageSaveData kkm_last_timestamp [01:21:42]File name is /storage/kkm_last_timestamp [01:21:42]Write 4 bytes [01:21:42]NVStorageSaveData done [01:21:42]ExternCall_PrintAddStr [01:21:42]wPrintStart [01:21:42]Write to MH i2c: 01 00 00 7A 33 AD [01:21:42]Write i2c OK [01:21:42]MH_I2C_Read... [01:21:42]Read from MH i2c: 01 [01:21:42]MH_I2C_Read... [01:21:42]Read from MH i2c: 01 07 00 [01:21:42]MH_I2C_Read... [01:21:42]Read from MH i2c: 01 07 00 7A 33 00 00 00 00 00 FF 0F C2 [01:21:42]RasterBufferAndPrint [01:21:42]line Счет N : (3)254533 [01:21:42]line ИНН: 02508201610067 [01:21:42]line Контрольно-Кассовый Чек [01:21:42]line ПРОДАЖА [01:21:42]line Товар: 2000036220012 [01:21:42]line Кофе Капучино XL(GABB TRADE) [01:21:42]line 1.000 * 125.00 [01:21:42]line = 125.00 [01:21:42]line НДС 12% НСП 1% [01:21:42]line > о реализуемом товаре [01:21:42]line Товар: 2000036240010 [01:21:42]line Кофе Латте (GABB TRADE) [01:21:42]line 1.000 * 115.00 [01:21:42]line = 115.00 [01:21:42]line НДС 12% НСП 1% [01:21:42]line > о реализуемом товаре [01:21:42]line ИТОГО: 240.00 [01:21:42]line НСП 1% : 2.13 [01:21:42]line НДС 12% : 25.48 [01:21:42]line Наличными: 240.00 [01:21:42]line Безнал.: 0.00 [01:21:42]line Место: АЗС № 76 "Партнер Нефть" [01:21:42]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [01:21:42]line СНО: Общий режим [01:21:42]line Чек 3 17.06.2024 01:21 [01:21:42]line Смена: 328 ФФД: 1.0 [01:21:42]line ЗНМ: 0300000200 [01:21:42]line РНМ: 0000000000099755 [01:21:42]line Версия ККМ: 001 [01:21:42]line ФМ: 0000000000965344 [01:21:42]line ФД: 22322 [01:21:42]line ФПД: 93201917804801 [01:21:42]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240617T012151&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22322&fm=93201917804801&tin=02508201610067®Number=0000000000099755&sum=24000 [01:21:42]line 0 [01:21:42]OFD Sender: Processing packet 22322 [packets to send 5, broken 4] [01:21:42]ProducePacketName [01:21:42]name=ofd_packets/00022322 [01:21:42]OFD Sender: To server: pG, [01:21:42]CommunicateWithHost lk.salyk.kg:30040 [01:21:42]ConnectInit lk.salyk.kg [01:21:42]written 0, free lines is 4095 [01:21:42]Connected sock=10 [01:21:42]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 96 01 00 00 69 41 8E 01 68 89 5A 03 01 00 03 00 82 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 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 5D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D5 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F4 09 00 00 00 00 07 04 06 00 C0 5D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 AF 8F 6F 66 0E 04 04 00 48 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 32 57 00 00 35 04 06 00 54 C4 43 34 01 01 BE 1E 8C B8 DF 6F 76 E5 [01:21:42]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 ED D2 47 00 9C 5F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 32 57 00 00 F4 03 04 00 68 38 6F 66 B6 04 01 00 00 7C A3 28 D3 BE 3E 5D 14 [01:21:42]CommunicateWithHost err = 0 [01:21:42]CheckOFDResponse [01:21:42]1017 (14) - 77093643461234 [01:21:42]1041 (16) - 0000000000965344 [01:21:42]1040 (4) - 22322 [01:21:42]1012 (4) - 16.06.2024 19:09 [01:21:42]1206 (1) - 0 [01:21:42]OFD Sender: Remove packet 22322 [01:21:42]ProducePacketName [01:21:42]name=ofd_packets/00022322 [01:21:42]NVStorageDeleteData [01:21:43]Write to MH i2c: 01 00 00 A9 33 DC [01:21:43]Write i2c OK [01:21:43]MH_I2C_Read... [01:21:43]Read from MH i2c: 01 [01:21:43]MH_I2C_Read... [01:21:43]Read from MH i2c: 01 07 00 [01:21:43]MH_I2C_Read... [01:21:43]Read from MH i2c: 01 07 00 A9 33 00 00 00 00 00 DA 0C C9 [01:21:43]RasterBufferAndPrint [01:21:43]line [01:21:43]line [01:21:43]line [01:21:43]line [01:21:43]line [01:21:43]written 0, free lines is 3296 [01:21:43]MH_Cut [01:21:43]Write to MH i2c: D1 01 00 B0 33 01 B5 [01:21:43]Write i2c OK [01:21:43]MH_I2C_Read... [01:21:43]Read from MH i2c: D1 [01:21:43]MH_I2C_Read... [01:21:43]Read from MH i2c: D1 01 00 [01:21:43]MH_I2C_Read... [01:21:43]Read from MH i2c: D1 01 00 B0 33 00 B4 [01:21:43]Write to MH i2c: 01 00 00 B1 33 E4 [01:21:43]Write i2c OK [01:21:43]MH_I2C_Read... [01:21:43]OFD Sender: No OFD packet to send [01:21:43]*** Cut start [01:21:43]*** Partial cut [01:21:43]*** CUTSNS_PIN = 1 [01:21:43]*** CUTSNS_PIN = 0 [01:21:44]*** Brake cut motor [01:21:44]Read from MH i2c: 01 [01:21:44]MH_I2C_Read... [01:21:44]*** Stop cut motor [01:21:44]*** Cut end [01:21:44]Read from MH i2c: 01 07 00 [01:21:44]MH_I2C_Read... [01:21:44]Read from MH i2c: 01 07 00 B1 33 00 00 00 00 00 FF 0F F9 [01:21:44]process_action close_receipt done [01:21:44]requested_data is exist [01:21:44]produce_requested_data [01:21:44]requested_item fm.sn is exist - process it [01:21:44]wFMCommunicate request_size=4 [01:21:44]MH_SAM_APDU [01:21:44]CAPDU: 80 11 00 00 [01:21:44]Write to MH i2c: E2 08 00 B2 33 80 11 00 00 00 00 00 00 5F [01:21:44]Write i2c OK [01:21:44]MH_I2C_Read... [01:21:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:21:44]Read from MH i2c: E2 [01:21:44]MH_I2C_Read... [01:21:44]Read from MH i2c: E2 17 00 [01:21:44]MH_I2C_Read... [01:21:44]Read from MH i2c: E2 17 00 B2 33 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 B1 [01:21:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [01:21:44]wFMCommunicate OK [01:21:44]requested_item fd.num is exist - process it [01:21:44]SAM_PROTO_GetFieldsCounters [01:21:44]wFMCommunicate request_size=4 [01:21:44]MH_SAM_APDU [01:21:44]CAPDU: 80 13 00 00 [01:21:44]Write to MH i2c: E2 08 00 B3 33 80 13 00 00 00 00 00 00 62 [01:21:44]Write i2c OK [01:21:44]MH_I2C_Read... [01:21:44]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:21:44]Read from MH i2c: E2 [01:21:44]MH_I2C_Read... [01:21:44]Read from MH i2c: E2 62 00 [01:21:44]MH_I2C_Read... [01:21:44]Read from MH i2c: E2 62 00 B3 33 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 32 57 00 00 0E 04 04 00 48 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 67 [01:21:44]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 32 57 00 00 0E 04 04 00 48 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:21:44]wFMCommunicate OK [01:21:44]SAM_PROTO_GetFieldsCounters done [01:21:44]requested_item shift.num is exist - process it [01:21:44]requested_item shift.opened is exist - process it [01:21:44]req_shift_opened [01:21:44]FM_GetShiftState [01:21:44]SAM_PROTO_GetShiftState [01:21:44]wFMCommunicate request_size=4 [01:21:44]MH_SAM_APDU [01:21:44]CAPDU: 80 13 01 00 [01:21:44]Write to MH i2c: E2 08 00 B4 33 80 13 01 00 00 00 00 00 64 [01:21:44]Write i2c OK [01:21:44]MH_I2C_Read... [01:21:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:21:44]Read from MH i2c: E2 [01:21:44]MH_I2C_Read... [01:21:44]Read from MH i2c: E2 0E 00 [01:21:44]MH_I2C_Read... [01:21:44]Read from MH i2c: E2 0E 00 B4 33 00 09 00 01 4F 82 6F 66 00 00 00 00 90 00 16 [01:21:44]RAPDU: 09 00 01 4F 82 6F 66 00 00 00 00 90 00 [01:21:44]wFMCommunicate OK [01:21:44]SAM_PROTO_GetShiftState done [01:21:44]FM_GetShiftState done [01:21:44]req_shift_opened done [01:21:44]requested_item shift.open_date is exist - process it [01:21:44]req_shift_open_date [01:21:44]req_shift_open_date done [01:21:44]produce_requested_data done [01:21:44]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22322,"shift.num":328,"shift.opened":1,"shift.open_date":1718583887} [01:21:44]process_action_free close_receipt [01:21:44]json_value_free [01:21:44]json_value_free done [01:21:44]process_json_proto returns [01:21:44]Send response to host [01:21:44]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22322,"shift.num":328,"shift.opened":1,"shift.open_date":1718583887}}} [01:21:44]free response buf [01:21:44]execute_script done [01:21:44]execute_script returns [01:21:44]free content buf [01:21:44]Sock 9.Close socket [01:21:44]Sock 9.Thread stoped [01:21:48]OFD Sender: No OFD packet to send [01:21:53]OFD Sender: No OFD packet to send [01:21:58]OFD Sender: No OFD packet to send [01:22:03]OFD Sender: No OFD packet to send [01:22:08]OFD Sender: No OFD packet to send [01:22:13]OFD Sender: No OFD packet to send [01:22:18]OFD Sender: No OFD packet to send [01:22:23]OFD Sender: No OFD packet to send [01:22:28]OFD Sender: No OFD packet to send [01:22:33]OFD Sender: No OFD packet to send [01:22:38]OFD Sender: No OFD packet to send [01:22:43]OFD Sender: No OFD packet to send [01:22:48]OFD Sender: No OFD packet to send [01:22:53]OFD Sender: No OFD packet to send [01:22:58]OFD Sender: No OFD packet to send [01:23:03]OFD Sender: No OFD packet to send [01:23:08]OFD Sender: No OFD packet to send [01:23:13]OFD Sender: No OFD packet to send [01:23:18]OFD Sender: No OFD packet to send [01:23:23]OFD Sender: No OFD packet to send [01:23:28]OFD Sender: No OFD packet to send [01:23:33]OFD Sender: No OFD packet to send [01:23:38]OFD Sender: No OFD packet to send [01:23:43]OFD Sender: No OFD packet to send [01:23:48]OFD Sender: No OFD packet to send [01:23:53]OFD Sender: No OFD packet to send [01:23:58]OFD Sender: No OFD packet to send [01:24:03]OFD Sender: No OFD packet to send [01:24:08]OFD Sender: No OFD packet to send [01:24:13]OFD Sender: No OFD packet to send [01:24:18]OFD Sender: No OFD packet to send [01:24:23]OFD Sender: No OFD packet to send [01:24:28]OFD Sender: No OFD packet to send [01:24:33]OFD Sender: No OFD packet to send [01:24:38]OFD Sender: No OFD packet to send [01:24:43]OFD Sender: No OFD packet to send [01:24:48]OFD Sender: No OFD packet to send [01:24:53]OFD Sender: No OFD packet to send [01:24:58]OFD Sender: No OFD packet to send [01:25:03]OFD Sender: No OFD packet to send [01:25:08]OFD Sender: No OFD packet to send [01:25:13]OFD Sender: No OFD packet to send [01:25:18]OFD Sender: No OFD packet to send [01:25:23]OFD Sender: No OFD packet to send [01:25:28]OFD Sender: No OFD packet to send [01:25:33]OFD Sender: No OFD packet to send [01:25:38]OFD Sender: No OFD packet to send [01:25:43]OFD Sender: No OFD packet to send [01:25:48]OFD Sender: No OFD packet to send [01:25:53]OFD Sender: No OFD packet to send [01:25:58]OFD Sender: No OFD packet to send [01:26:03]OFD Sender: No OFD packet to send [01:26:08]OFD Sender: No OFD packet to send [01:26:13]OFD Sender: No OFD packet to send [01:26:18]OFD Sender: No OFD packet to send [01:26:23]OFD Sender: No OFD packet to send [01:26:28]OFD Sender: No OFD packet to send [01:26:33]OFD Sender: No OFD packet to send [01:26:38]OFD Sender: No OFD packet to send [01:26:43]OFD Sender: No OFD packet to send [01:26:48]OFD Sender: No OFD packet to send [01:26:53]OFD Sender: No OFD packet to send [01:26:58]OFD Sender: No OFD packet to send [01:27:03]OFD Sender: No OFD packet to send [01:27:08]OFD Sender: No OFD packet to send [01:27:13]OFD Sender: No OFD packet to send [01:27:18]OFD Sender: No OFD packet to send [01:27:23]OFD Sender: No OFD packet to send [01:27:28]OFD Sender: No OFD packet to send [01:27:33]OFD Sender: No OFD packet to send [01:27:38]OFD Sender: No OFD packet to send [01:27:43]OFD Sender: No OFD packet to send [01:27:48]OFD Sender: No OFD packet to send [01:27:53]OFD Sender: No OFD packet to send [01:27:58]OFD Sender: No OFD packet to send [01:28:03]OFD Sender: No OFD packet to send [01:28:08]OFD Sender: No OFD packet to send [01:28:13]OFD Sender: No OFD packet to send [01:28:18]OFD Sender: No OFD packet to send [01:28:23]OFD Sender: No OFD packet to send [01:28:28]OFD Sender: No OFD packet to send [01:28:33]OFD Sender: No OFD packet to send [01:28:38]OFD Sender: No OFD packet to send [01:28:43]OFD Sender: No OFD packet to send [01:28:48]OFD Sender: No OFD packet to send [01:28:53]OFD Sender: No OFD packet to send [01:28:58]OFD Sender: No OFD packet to send [01:29:03]OFD Sender: No OFD packet to send [01:29:08]OFD Sender: No OFD packet to send [01:29:13]OFD Sender: No OFD packet to send [01:29:18]OFD Sender: No OFD packet to send [01:29:23]OFD Sender: No OFD packet to send [01:29:28]OFD Sender: No OFD packet to send [01:29:33]OFD Sender: No OFD packet to send [01:29:38]OFD Sender: No OFD packet to send [01:29:43]OFD Sender: No OFD packet to send [01:29:48]OFD Sender: No OFD packet to send [01:29:53]OFD Sender: No OFD packet to send [01:29:58]OFD Sender: No OFD packet to send [01:30:03]OFD Sender: No OFD packet to send [01:30:08]OFD Sender: No OFD packet to send [01:30:13]OFD Sender: No OFD packet to send [01:30:18]OFD Sender: No OFD packet to send [01:30:23]OFD Sender: No OFD packet to send [01:30:28]OFD Sender: No OFD packet to send [01:30:33]OFD Sender: No OFD packet to send [01:30:38]OFD Sender: No OFD packet to send [01:30:43]OFD Sender: No OFD packet to send [01:30:48]OFD Sender: No OFD packet to send [01:30:53]OFD Sender: No OFD packet to send [01:30:58]OFD Sender: No OFD packet to send [01:31:03]OFD Sender: No OFD packet to send [01:31:08]OFD Sender: No OFD packet to send [01:31:13]OFD Sender: No OFD packet to send [01:31:18]OFD Sender: No OFD packet to send [01:31:23]OFD Sender: No OFD packet to send [01:31:28]OFD Sender: No OFD packet to send [01:31:33]OFD Sender: No OFD packet to send [01:31:38]OFD Sender: No OFD packet to send [01:31:43]OFD Sender: No OFD packet to send [01:31:48]OFD Sender: No OFD packet to send [01:31:53]OFD Sender: No OFD packet to send [01:31:58]OFD Sender: No OFD packet to send [01:32:03]OFD Sender: No OFD packet to send [01:32:08]OFD Sender: No OFD packet to send [01:32:13]OFD Sender: No OFD packet to send [01:32:18]OFD Sender: No OFD packet to send [01:32:23]OFD Sender: No OFD packet to send [01:32:28]OFD Sender: No OFD packet to send [01:32:33]OFD Sender: No OFD packet to send [01:32:38]OFD Sender: No OFD packet to send [01:32:43]OFD Sender: No OFD packet to send [01:32:48]OFD Sender: No OFD packet to send [01:32:53]OFD Sender: No OFD packet to send [01:32:58]OFD Sender: No OFD packet to send [01:33:03]OFD Sender: No OFD packet to send [01:33:08]OFD Sender: No OFD packet to send [01:33:13]OFD Sender: No OFD packet to send [01:33:18]OFD Sender: No OFD packet to send [01:33:23]OFD Sender: No OFD packet to send [01:33:28]OFD Sender: No OFD packet to send [01:33:33]OFD Sender: No OFD packet to send [01:33:38]OFD Sender: No OFD packet to send [01:33:43]OFD Sender: No OFD packet to send [01:33:48]OFD Sender: No OFD packet to send [01:33:53]OFD Sender: No OFD packet to send [01:33:58]OFD Sender: No OFD packet to send [01:34:03]OFD Sender: No OFD packet to send [01:34:08]OFD Sender: No OFD packet to send [01:34:13]OFD Sender: No OFD packet to send [01:34:18]OFD Sender: No OFD packet to send [01:34:23]OFD Sender: No OFD packet to send [01:34:28]OFD Sender: No OFD packet to send [01:34:33]OFD Sender: No OFD packet to send [01:34:38]OFD Sender: No OFD packet to send [01:34:43]OFD Sender: No OFD packet to send [01:34:48]OFD Sender: No OFD packet to send [01:34:53]OFD Sender: No OFD packet to send [01:34:58]OFD Sender: No OFD packet to send [01:35:03]OFD Sender: No OFD packet to send [01:35:08]OFD Sender: No OFD packet to send [01:35:13]OFD Sender: No OFD packet to send [01:35:18]OFD Sender: No OFD packet to send [01:35:24]OFD Sender: No OFD packet to send [01:35:29]OFD Sender: No OFD packet to send [01:35:34]OFD Sender: No OFD packet to send [01:35:39]OFD Sender: No OFD packet to send [01:35:44]OFD Sender: No OFD packet to send [01:35:49]OFD Sender: No OFD packet to send [01:35:54]OFD Sender: No OFD packet to send [01:35:59]OFD Sender: No OFD packet to send [01:36:04]OFD Sender: No OFD packet to send [01:36:09]OFD Sender: No OFD packet to send [01:36:14]OFD Sender: No OFD packet to send [01:36:19]OFD Sender: No OFD packet to send [01:36:24]OFD Sender: No OFD packet to send [01:36:29]OFD Sender: No OFD packet to send [01:36:34]OFD Sender: No OFD packet to send [01:36:39]OFD Sender: No OFD packet to send [01:36:44]OFD Sender: No OFD packet to send [01:36:49]OFD Sender: No OFD packet to send [01:36:54]OFD Sender: No OFD packet to send [01:36:59]OFD Sender: No OFD packet to send [01:37:04]OFD Sender: No OFD packet to send [01:37:09]OFD Sender: No OFD packet to send [01:37:14]OFD Sender: No OFD packet to send [01:37:19]OFD Sender: No OFD packet to send [01:37:24]OFD Sender: No OFD packet to send [01:37:29]OFD Sender: No OFD packet to send [01:37:34]OFD Sender: No OFD packet to send [01:37:39]OFD Sender: No OFD packet to send [01:37:44]OFD Sender: No OFD packet to send [01:37:49]OFD Sender: No OFD packet to send [01:37:54]OFD Sender: No OFD packet to send [01:37:59]OFD Sender: No OFD packet to send [01:38:04]OFD Sender: No OFD packet to send [01:38:09]OFD Sender: No OFD packet to send [01:38:14]OFD Sender: No OFD packet to send [01:38:19]OFD Sender: No OFD packet to send [01:38:24]OFD Sender: No OFD packet to send [01:38:29]OFD Sender: No OFD packet to send [01:38:34]OFD Sender: No OFD packet to send [01:38:39]OFD Sender: No OFD packet to send [01:38:44]OFD Sender: No OFD packet to send [01:38:49]OFD Sender: No OFD packet to send [01:38:54]OFD Sender: No OFD packet to send [01:38:59]OFD Sender: No OFD packet to send [01:39:04]OFD Sender: No OFD packet to send [01:39:09]OFD Sender: No OFD packet to send [01:39:14]OFD Sender: No OFD packet to send [01:39:19]OFD Sender: No OFD packet to send [01:39:24]OFD Sender: No OFD packet to send [01:39:29]OFD Sender: No OFD packet to send [01:39:34]OFD Sender: No OFD packet to send [01:39:39]OFD Sender: No OFD packet to send [01:39:44]OFD Sender: No OFD packet to send [01:39:49]OFD Sender: No OFD packet to send [01:39:54]OFD Sender: No OFD packet to send [01:39:59]OFD Sender: No OFD packet to send [01:40:04]OFD Sender: No OFD packet to send [01:40:09]OFD Sender: No OFD packet to send [01:40:14]OFD Sender: No OFD packet to send [01:40:19]OFD Sender: No OFD packet to send [01:40:24]OFD Sender: No OFD packet to send [01:40:29]OFD Sender: No OFD packet to send [01:40:34]OFD Sender: No OFD packet to send [01:40:39]OFD Sender: No OFD packet to send [01:40:44]OFD Sender: No OFD packet to send [01:40:49]OFD Sender: No OFD packet to send [01:40:54]OFD Sender: No OFD packet to send [01:40:59]OFD Sender: No OFD packet to send [01:41:04]OFD Sender: No OFD packet to send [01:41:09]OFD Sender: No OFD packet to send [01:41:14]OFD Sender: No OFD packet to send [01:41:19]OFD Sender: No OFD packet to send [01:41:24]OFD Sender: No OFD packet to send [01:41:29]OFD Sender: No OFD packet to send [01:41:34]OFD Sender: No OFD packet to send [01:41:39]OFD Sender: No OFD packet to send [01:41:44]OFD Sender: No OFD packet to send [01:41:49]OFD Sender: No OFD packet to send [01:41:54]OFD Sender: No OFD packet to send [01:41:59]OFD Sender: No OFD packet to send [01:42:04]OFD Sender: No OFD packet to send [01:42:09]OFD Sender: No OFD packet to send [01:42:14]OFD Sender: No OFD packet to send [01:42:19]OFD Sender: No OFD packet to send [01:42:24]OFD Sender: No OFD packet to send [01:42:29]OFD Sender: No OFD packet to send [01:42:34]OFD Sender: No OFD packet to send [01:42:39]OFD Sender: No OFD packet to send [01:42:44]OFD Sender: No OFD packet to send [01:42:49]OFD Sender: No OFD packet to send [01:42:54]OFD Sender: No OFD packet to send [01:42:59]OFD Sender: No OFD packet to send [01:43:04]OFD Sender: No OFD packet to send [01:43:09]OFD Sender: No OFD packet to send [01:43:14]OFD Sender: No OFD packet to send [01:43:19]OFD Sender: No OFD packet to send [01:43:24]OFD Sender: No OFD packet to send [01:43:29]OFD Sender: No OFD packet to send [01:43:34]OFD Sender: No OFD packet to send [01:43:39]OFD Sender: No OFD packet to send [01:43:44]OFD Sender: No OFD packet to send [01:43:49]OFD Sender: No OFD packet to send [01:43:54]OFD Sender: No OFD packet to send [01:43:59]OFD Sender: No OFD packet to send [01:44:04]OFD Sender: No OFD packet to send [01:44:09]OFD Sender: No OFD packet to send [01:44:14]OFD Sender: No OFD packet to send [01:44:19]OFD Sender: No OFD packet to send [01:44:24]OFD Sender: No OFD packet to send [01:44:29]OFD Sender: No OFD packet to send [01:44:34]OFD Sender: No OFD packet to send [01:44:39]OFD Sender: No OFD packet to send [01:44:44]OFD Sender: No OFD packet to send [01:44:49]OFD Sender: No OFD packet to send [01:44:54]OFD Sender: No OFD packet to send [01:44:59]OFD Sender: No OFD packet to send [01:45:04]OFD Sender: No OFD packet to send [01:45:09]OFD Sender: No OFD packet to send [01:45:14]OFD Sender: No OFD packet to send [01:45:19]OFD Sender: No OFD packet to send [01:45:24]OFD Sender: No OFD packet to send [01:45:29]OFD Sender: No OFD packet to send [01:45:34]OFD Sender: No OFD packet to send [01:45:39]OFD Sender: No OFD packet to send [01:45:44]OFD Sender: No OFD packet to send [01:45:49]OFD Sender: No OFD packet to send [01:45:54]OFD Sender: No OFD packet to send [01:45:59]OFD Sender: No OFD packet to send [01:46:04]OFD Sender: No OFD packet to send [01:46:09]OFD Sender: No OFD packet to send [01:46:14]OFD Sender: No OFD packet to send [01:46:19]OFD Sender: No OFD packet to send [01:46:24]OFD Sender: No OFD packet to send [01:46:29]OFD Sender: No OFD packet to send [01:46:34]OFD Sender: No OFD packet to send [01:46:39]OFD Sender: No OFD packet to send [01:46:44]OFD Sender: No OFD packet to send [01:46:49]OFD Sender: No OFD packet to send [01:46:54]OFD Sender: No OFD packet to send [01:46:59]OFD Sender: No OFD packet to send [01:47:04]OFD Sender: No OFD packet to send [01:47:09]OFD Sender: No OFD packet to send [01:47:14]OFD Sender: No OFD packet to send [01:47:19]OFD Sender: No OFD packet to send [01:47:24]OFD Sender: No OFD packet to send [01:47:29]OFD Sender: No OFD packet to send [01:47:34]OFD Sender: No OFD packet to send [01:47:39]OFD Sender: No OFD packet to send [01:47:44]OFD Sender: No OFD packet to send [01:47:49]OFD Sender: No OFD packet to send [01:47:54]OFD Sender: No OFD packet to send [01:47:59]OFD Sender: No OFD packet to send [01:48:04]OFD Sender: No OFD packet to send [01:48:09]OFD Sender: No OFD packet to send [01:48:14]OFD Sender: No OFD packet to send [01:48:19]OFD Sender: No OFD packet to send [01:48:24]OFD Sender: No OFD packet to send [01:48:29]OFD Sender: No OFD packet to send [01:48:34]OFD Sender: No OFD packet to send [01:48:39]OFD Sender: No OFD packet to send [01:48:44]OFD Sender: No OFD packet to send [01:48:49]OFD Sender: No OFD packet to send [01:48:54]OFD Sender: No OFD packet to send [01:48:59]OFD Sender: No OFD packet to send [01:49:04]OFD Sender: No OFD packet to send [01:49:09]OFD Sender: No OFD packet to send [01:49:14]OFD Sender: No OFD packet to send [01:49:19]OFD Sender: No OFD packet to send [01:49:24]OFD Sender: No OFD packet to send [01:49:29]OFD Sender: No OFD packet to send [01:49:34]OFD Sender: No OFD packet to send [01:49:39]OFD Sender: No OFD packet to send [01:49:44]OFD Sender: No OFD packet to send [01:49:49]OFD Sender: No OFD packet to send [01:49:54]OFD Sender: No OFD packet to send [01:49:59]OFD Sender: No OFD packet to send [01:50:04]OFD Sender: No OFD packet to send [01:50:09]OFD Sender: No OFD packet to send [01:50:14]OFD Sender: No OFD packet to send [01:50:19]OFD Sender: No OFD packet to send [01:50:24]OFD Sender: No OFD packet to send [01:50:29]OFD Sender: No OFD packet to send [01:50:34]OFD Sender: No OFD packet to send [01:50:39]OFD Sender: No OFD packet to send [01:50:44]OFD Sender: No OFD packet to send [01:50:49]OFD Sender: No OFD packet to send [01:50:54]OFD Sender: No OFD packet to send [01:50:59]OFD Sender: No OFD packet to send [01:51:04]OFD Sender: No OFD packet to send [01:51:09]OFD Sender: No OFD packet to send [01:51:14]OFD Sender: No OFD packet to send [01:51:19]OFD Sender: No OFD packet to send [01:51:24]OFD Sender: No OFD packet to send [01:51:29]OFD Sender: No OFD packet to send [01:51:34]OFD Sender: No OFD packet to send [01:51:39]OFD Sender: No OFD packet to send [01:51:44]OFD Sender: No OFD packet to send [01:51:49]OFD Sender: No OFD packet to send [01:51:54]OFD Sender: No OFD packet to send [01:51:59]OFD Sender: No OFD packet to send [01:52:04]OFD Sender: No OFD packet to send [01:52:09]OFD Sender: No OFD packet to send [01:52:14]OFD Sender: No OFD packet to send [01:52:19]OFD Sender: No OFD packet to send [01:52:24]OFD Sender: No OFD packet to send [01:52:29]OFD Sender: No OFD packet to send [01:52:34]OFD Sender: No OFD packet to send [01:52:39]OFD Sender: No OFD packet to send [01:52:44]OFD Sender: No OFD packet to send [01:52:49]OFD Sender: No OFD packet to send [01:52:54]OFD Sender: No OFD packet to send [01:52:59]OFD Sender: No OFD packet to send [01:53:04]OFD Sender: No OFD packet to send [01:53:09]OFD Sender: No OFD packet to send [01:53:14]OFD Sender: No OFD packet to send [01:53:19]OFD Sender: No OFD packet to send [01:53:24]OFD Sender: No OFD packet to send [01:53:29]OFD Sender: No OFD packet to send [01:53:34]OFD Sender: No OFD packet to send [01:53:39]OFD Sender: No OFD packet to send [01:53:44]OFD Sender: No OFD packet to send [01:53:49]OFD Sender: No OFD packet to send [01:53:54]OFD Sender: No OFD packet to send [01:53:59]OFD Sender: No OFD packet to send [01:54:04]OFD Sender: No OFD packet to send [01:54:09]OFD Sender: No OFD packet to send [01:54:14]OFD Sender: No OFD packet to send [01:54:19]OFD Sender: No OFD packet to send [01:54:24]OFD Sender: No OFD packet to send [01:54:29]OFD Sender: No OFD packet to send [01:54:34]OFD Sender: No OFD packet to send [01:54:39]OFD Sender: No OFD packet to send [01:54:44]OFD Sender: No OFD packet to send [01:54:49]OFD Sender: No OFD packet to send [01:54:54]OFD Sender: No OFD packet to send [01:54:59]OFD Sender: No OFD packet to send [01:55:04]OFD Sender: No OFD packet to send [01:55:09]OFD Sender: No OFD packet to send [01:55:14]OFD Sender: No OFD packet to send [01:55:19]OFD Sender: No OFD packet to send [01:55:24]OFD Sender: No OFD packet to send [01:55:29]OFD Sender: No OFD packet to send [01:55:34]OFD Sender: No OFD packet to send [01:55:39]OFD Sender: No OFD packet to send [01:55:44]OFD Sender: No OFD packet to send [01:55:49]OFD Sender: No OFD packet to send [01:55:54]OFD Sender: No OFD packet to send [01:55:59]OFD Sender: No OFD packet to send [01:56:04]OFD Sender: No OFD packet to send [01:56:09]OFD Sender: No OFD packet to send [01:56:14]OFD Sender: No OFD packet to send [01:56:19]OFD Sender: No OFD packet to send [01:56:24]OFD Sender: No OFD packet to send [01:56:29]OFD Sender: No OFD packet to send [01:56:34]OFD Sender: No OFD packet to send [01:56:39]OFD Sender: No OFD packet to send [01:56:45]OFD Sender: No OFD packet to send [01:56:50]OFD Sender: No OFD packet to send [01:56:55]OFD Sender: No OFD packet to send [01:57:00]OFD Sender: No OFD packet to send [01:57:05]OFD Sender: No OFD packet to send [01:57:10]OFD Sender: No OFD packet to send [01:57:15]OFD Sender: No OFD packet to send [01:57:20]OFD Sender: No OFD packet to send [01:57:25]OFD Sender: No OFD packet to send [01:57:30]OFD Sender: No OFD packet to send [01:57:35]OFD Sender: No OFD packet to send [01:57:40]OFD Sender: No OFD packet to send [01:57:45]OFD Sender: No OFD packet to send [01:57:50]OFD Sender: No OFD packet to send [01:57:55]OFD Sender: No OFD packet to send [01:58:00]OFD Sender: No OFD packet to send [01:58:05]OFD Sender: No OFD packet to send [01:58:10]OFD Sender: No OFD packet to send [01:58:15]OFD Sender: No OFD packet to send [01:58:20]OFD Sender: No OFD packet to send [01:58:25]OFD Sender: No OFD packet to send [01:58:30]OFD Sender: No OFD packet to send [01:58:35]OFD Sender: No OFD packet to send [01:58:40]OFD Sender: No OFD packet to send [01:58:45]OFD Sender: No OFD packet to send [01:58:50]OFD Sender: No OFD packet to send [01:58:55]OFD Sender: No OFD packet to send [01:59:00]OFD Sender: No OFD packet to send [01:59:05]OFD Sender: No OFD packet to send [01:59:10]OFD Sender: No OFD packet to send [01:59:15]OFD Sender: No OFD packet to send [01:59:20]OFD Sender: No OFD packet to send [01:59:25]OFD Sender: No OFD packet to send [01:59:30]OFD Sender: No OFD packet to send [01:59:35]OFD Sender: No OFD packet to send [01:59:40]OFD Sender: No OFD packet to send [01:59:45]OFD Sender: No OFD packet to send [01:59:50]OFD Sender: No OFD packet to send [01:59:55]OFD Sender: No OFD packet to send [02:00:00]OFD Sender: No OFD packet to send [02:00:05]OFD Sender: No OFD packet to send [02:00:10]OFD Sender: No OFD packet to send [02:00:15]OFD Sender: No OFD packet to send [02:00:20]OFD Sender: No OFD packet to send [02:00:25]OFD Sender: No OFD packet to send [02:00:30]OFD Sender: No OFD packet to send [02:00:35]OFD Sender: No OFD packet to send [02:00:40]OFD Sender: No OFD packet to send [02:00:45]OFD Sender: No OFD packet to send [02:00:50]OFD Sender: No OFD packet to send [02:00:55]OFD Sender: No OFD packet to send [02:01:00]OFD Sender: No OFD packet to send [02:01:05]OFD Sender: No OFD packet to send [02:01:10]OFD Sender: No OFD packet to send [02:01:15]OFD Sender: No OFD packet to send [02:01:20]OFD Sender: No OFD packet to send [02:01:25]OFD Sender: No OFD packet to send [02:01:30]OFD Sender: No OFD packet to send [02:01:35]OFD Sender: No OFD packet to send [02:01:40]OFD Sender: No OFD packet to send [02:01:45]OFD Sender: No OFD packet to send [02:01:50]OFD Sender: No OFD packet to send [02:01:55]OFD Sender: No OFD packet to send [02:02:00]OFD Sender: No OFD packet to send [02:02:05]OFD Sender: No OFD packet to send [02:02:10]OFD Sender: No OFD packet to send [02:02:15]OFD Sender: No OFD packet to send [02:02:20]OFD Sender: No OFD packet to send [02:02:25]OFD Sender: No OFD packet to send [02:02:30]OFD Sender: No OFD packet to send [02:02:35]OFD Sender: No OFD packet to send [02:02:40]OFD Sender: No OFD packet to send [02:02:45]OFD Sender: No OFD packet to send [02:02:50]OFD Sender: No OFD packet to send [02:02:55]OFD Sender: No OFD packet to send [02:03:00]OFD Sender: No OFD packet to send [02:03:05]OFD Sender: No OFD packet to send [02:03:10]OFD Sender: No OFD packet to send [02:03:15]OFD Sender: No OFD packet to send [02:03:20]OFD Sender: No OFD packet to send [02:03:25]OFD Sender: No OFD packet to send [02:03:30]OFD Sender: No OFD packet to send [02:03:35]OFD Sender: No OFD packet to send [02:03:40]OFD Sender: No OFD packet to send [02:03:45]OFD Sender: No OFD packet to send [02:03:50]OFD Sender: No OFD packet to send [02:03:55]OFD Sender: No OFD packet to send [02:04:00]OFD Sender: No OFD packet to send [02:04:05]OFD Sender: No OFD packet to send [02:04:10]OFD Sender: No OFD packet to send [02:04:15]OFD Sender: No OFD packet to send [02:04:20]OFD Sender: No OFD packet to send [02:04:25]OFD Sender: No OFD packet to send [02:04:30]OFD Sender: No OFD packet to send [02:04:35]OFD Sender: No OFD packet to send [02:04:40]OFD Sender: No OFD packet to send [02:04:45]OFD Sender: No OFD packet to send [02:04:50]OFD Sender: No OFD packet to send [02:04:55]OFD Sender: No OFD packet to send [02:05:00]OFD Sender: No OFD packet to send [02:05:05]OFD Sender: No OFD packet to send [02:05:10]OFD Sender: No OFD packet to send [02:05:15]OFD Sender: No OFD packet to send [02:05:20]OFD Sender: No OFD packet to send [02:05:25]OFD Sender: No OFD packet to send [02:05:30]OFD Sender: No OFD packet to send [02:05:35]OFD Sender: No OFD packet to send [02:05:40]OFD Sender: No OFD packet to send [02:05:45]OFD Sender: No OFD packet to send [02:05:50]OFD Sender: No OFD packet to send [02:05:55]OFD Sender: No OFD packet to send [02:06:00]OFD Sender: No OFD packet to send [02:06:05]OFD Sender: No OFD packet to send [02:06:10]OFD Sender: No OFD packet to send [02:06:15]OFD Sender: No OFD packet to send [02:06:20]OFD Sender: No OFD packet to send [02:06:25]OFD Sender: No OFD packet to send [02:06:30]OFD Sender: No OFD packet to send [02:06:35]OFD Sender: No OFD packet to send [02:06:40]OFD Sender: No OFD packet to send [02:06:45]OFD Sender: No OFD packet to send [02:06:50]OFD Sender: No OFD packet to send [02:06:55]OFD Sender: No OFD packet to send [02:07:00]OFD Sender: No OFD packet to send [02:07:05]OFD Sender: No OFD packet to send [02:07:10]OFD Sender: No OFD packet to send [02:07:15]OFD Sender: No OFD packet to send [02:07:20]OFD Sender: No OFD packet to send [02:07:25]OFD Sender: No OFD packet to send [02:07:30]OFD Sender: No OFD packet to send [02:07:35]OFD Sender: No OFD packet to send [02:07:40]OFD Sender: No OFD packet to send [02:07:45]OFD Sender: No OFD packet to send [02:07:50]OFD Sender: No OFD packet to send [02:07:55]OFD Sender: No OFD packet to send [02:08:00]OFD Sender: No OFD packet to send [02:08:05]OFD Sender: No OFD packet to send [02:08:10]OFD Sender: No OFD packet to send [02:08:15]OFD Sender: No OFD packet to send [02:08:20]OFD Sender: No OFD packet to send [02:08:25]OFD Sender: No OFD packet to send [02:08:30]OFD Sender: No OFD packet to send [02:08:35]OFD Sender: No OFD packet to send [02:08:40]OFD Sender: No OFD packet to send [02:08:45]OFD Sender: No OFD packet to send [02:08:50]OFD Sender: No OFD packet to send [02:08:55]OFD Sender: No OFD packet to send [02:09:00]OFD Sender: No OFD packet to send [02:09:05]OFD Sender: No OFD packet to send [02:09:10]OFD Sender: No OFD packet to send [02:09:15]OFD Sender: No OFD packet to send [02:09:20]OFD Sender: No OFD packet to send [02:09:25]OFD Sender: No OFD packet to send [02:09:30]OFD Sender: No OFD packet to send [02:09:35]OFD Sender: No OFD packet to send [02:09:40]OFD Sender: No OFD packet to send [02:09:45]OFD Sender: No OFD packet to send [02:09:50]OFD Sender: No OFD packet to send [02:09:55]OFD Sender: No OFD packet to send [02:10:00]OFD Sender: No OFD packet to send [02:10:05]OFD Sender: No OFD packet to send [02:10:10]OFD Sender: No OFD packet to send [02:10:15]OFD Sender: No OFD packet to send [02:10:20]OFD Sender: No OFD packet to send [02:10:25]OFD Sender: No OFD packet to send [02:10:30]OFD Sender: No OFD packet to send [02:10:35]OFD Sender: No OFD packet to send [02:10:40]OFD Sender: No OFD packet to send [02:10:45]OFD Sender: No OFD packet to send [02:10:50]OFD Sender: No OFD packet to send [02:10:55]OFD Sender: No OFD packet to send [02:11:00]OFD Sender: No OFD packet to send [02:11:05]OFD Sender: No OFD packet to send [02:11:10]OFD Sender: No OFD packet to send [02:11:15]OFD Sender: No OFD packet to send [02:11:20]OFD Sender: No OFD packet to send [02:11:25]OFD Sender: No OFD packet to send [02:11:30]OFD Sender: No OFD packet to send [02:11:35]OFD Sender: No OFD packet to send [02:11:40]OFD Sender: No OFD packet to send [02:11:45]OFD Sender: No OFD packet to send [02:11:50]OFD Sender: No OFD packet to send [02:11:55]OFD Sender: No OFD packet to send [02:12:00]OFD Sender: No OFD packet to send [02:12:05]OFD Sender: No OFD packet to send [02:12:10]OFD Sender: No OFD packet to send [02:12:15]OFD Sender: No OFD packet to send [02:12:20]OFD Sender: No OFD packet to send [02:12:25]OFD Sender: No OFD packet to send [02:12:30]OFD Sender: No OFD packet to send [02:12:35]OFD Sender: No OFD packet to send [02:12:40]OFD Sender: No OFD packet to send [02:12:45]OFD Sender: No OFD packet to send [02:12:50]OFD Sender: No OFD packet to send [02:12:55]OFD Sender: No OFD packet to send [02:13:00]OFD Sender: No OFD packet to send [02:13:05]OFD Sender: No OFD packet to send [02:13:10]OFD Sender: No OFD packet to send [02:13:15]OFD Sender: No OFD packet to send [02:13:20]OFD Sender: No OFD packet to send [02:13:25]OFD Sender: No OFD packet to send [02:13:30]OFD Sender: No OFD packet to send [02:13:35]OFD Sender: No OFD packet to send [02:13:40]OFD Sender: No OFD packet to send [02:13:45]OFD Sender: No OFD packet to send [02:13:50]OFD Sender: No OFD packet to send [02:13:55]OFD Sender: No OFD packet to send [02:14:00]OFD Sender: No OFD packet to send [02:14:05]OFD Sender: No OFD packet to send [02:14:10]OFD Sender: No OFD packet to send [02:14:15]OFD Sender: No OFD packet to send [02:14:20]OFD Sender: No OFD packet to send [02:14:25]OFD Sender: No OFD packet to send [02:14:30]OFD Sender: No OFD packet to send [02:14:35]OFD Sender: No OFD packet to send [02:14:40]OFD Sender: No OFD packet to send [02:14:45]OFD Sender: No OFD packet to send [02:14:50]OFD Sender: No OFD packet to send [02:14:55]OFD Sender: No OFD packet to send [02:15:00]OFD Sender: No OFD packet to send [02:15:05]OFD Sender: No OFD packet to send [02:15:10]OFD Sender: No OFD packet to send [02:15:15]OFD Sender: No OFD packet to send [02:15:20]OFD Sender: No OFD packet to send [02:15:25]OFD Sender: No OFD packet to send [02:15:30]OFD Sender: No OFD packet to send [02:15:35]OFD Sender: No OFD packet to send [02:15:40]OFD Sender: No OFD packet to send [02:15:45]OFD Sender: No OFD packet to send [02:15:50]OFD Sender: No OFD packet to send [02:15:55]OFD Sender: No OFD packet to send [02:16:00]OFD Sender: No OFD packet to send [02:16:05]OFD Sender: No OFD packet to send [02:16:10]OFD Sender: No OFD packet to send [02:16:15]OFD Sender: No OFD packet to send [02:16:20]OFD Sender: No OFD packet to send [02:16:25]OFD Sender: No OFD packet to send [02:16:30]OFD Sender: No OFD packet to send [02:16:35]OFD Sender: No OFD packet to send [02:16:40]OFD Sender: No OFD packet to send [02:16:45]OFD Sender: No OFD packet to send [02:16:50]OFD Sender: No OFD packet to send [02:16:55]OFD Sender: No OFD packet to send [02:17:00]OFD Sender: No OFD packet to send [02:17:05]OFD Sender: No OFD packet to send [02:17:10]OFD Sender: No OFD packet to send [02:17:15]OFD Sender: No OFD packet to send [02:17:20]OFD Sender: No OFD packet to send [02:17:25]OFD Sender: No OFD packet to send [02:17:30]OFD Sender: No OFD packet to send [02:17:35]OFD Sender: No OFD packet to send [02:17:40]OFD Sender: No OFD packet to send [02:17:45]OFD Sender: No OFD packet to send [02:17:50]OFD Sender: No OFD packet to send [02:17:55]OFD Sender: No OFD packet to send [02:18:00]OFD Sender: No OFD packet to send [02:18:05]OFD Sender: No OFD packet to send [02:18:10]OFD Sender: No OFD packet to send [02:18:15]OFD Sender: No OFD packet to send [02:18:20]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:45]accept exits with 8 [02:20:45]New connection [02:20:45]New thread 3066695012 created [02:20:45]Thread 3066838372 joined [02:20:45]Waiting for new connection... [02:20:45] Sock 8.Parse request [02:20:45]Sock 8.Check first char [02:20:45]Sock 8.First char is OK [02:20:45]request: POST /json_proto HTTP/1.0 [02:20:45]Method: POST [02:20:45]URL: /json_proto [02:20:45]Method is POST - this is cgi request [02:20:45]url: /json_proto [02:20:45]query_string will be loaded in cgi processing [02:20:45]execute_cgi json_proto POST (null) [02:20:45]execute_cgi path=json_proto method=POST [02:20:45]POST find Content-Length [02:20:45]Host: 172.17.35.133:8080 [02:20:45]Content-Length: 684 [02:20:45]Content-Type: application/json [02:20:45] [02:20:45]POST finish read [02:20:45]Found Content-Length = 684 [02:20:45]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254534", "tax_sys" : 0, "items" : [ { "code": "4870202521230", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 1,2 \u0447\u0435\u0440\u043D.\u043B\u0438\u043C\u043E\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" ] } } [02:20:45]execute_script... [02:20:45]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254534", "tax_sys" : 0, "items" : [ { "code": "4870202521230", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 1,2 \u0447\u0435\u0440\u043D.\u043B\u0438\u043C\u043E\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" ] } } [02:20:45]POST & json_proto [02:20:45]process_json_proto [02:20:45]json parsed OK: [02:20:45]protocol is kg_v1.0 [02:20:45]action value=close_receipt [02:20:45]process_action close_receipt [02:20:45]cmd_close_receipt [02:20:45]MH_GetDate [02:20:45]Write to MH i2c: F0 00 00 B5 33 D7 [02:20:45]Write i2c OK [02:20:45]MH_I2C_Read... [02:20:45]Read from MH i2c: F0 [02:20:45]MH_I2C_Read... [02:20:45]Read from MH i2c: F0 09 00 [02:20:45]MH_I2C_Read... [02:20:45]Read from MH i2c: F0 09 00 B5 33 00 88 9D 6F 66 8C 55 28 65 48 [02:20:45]GetLastDocTimeStamp 1718587311 [02:20:45]current date 1718590856 [02:20:45]FM_GetShiftState [02:20:45]SAM_PROTO_GetShiftState [02:20:45]wFMCommunicate request_size=4 [02:20:45]MH_SAM_APDU [02:20:45]CAPDU: 80 13 01 00 [02:20:45]Write to MH i2c: E2 08 00 B6 33 80 13 01 00 00 00 00 00 66 [02:20:45]Write i2c OK [02:20:45]MH_I2C_Read... [02:20:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:20:45]Read from MH i2c: E2 [02:20:45]MH_I2C_Read... [02:20:45]Read from MH i2c: E2 0E 00 [02:20:45]MH_I2C_Read... [02:20:45]Read from MH i2c: E2 0E 00 B6 33 00 09 00 01 4F 82 6F 66 00 00 00 00 90 00 18 [02:20:45]RAPDU: 09 00 01 4F 82 6F 66 00 00 00 00 90 00 [02:20:45]wFMCommunicate OK [02:20:45]SAM_PROTO_GetShiftState done [02:20:45]FM_GetShiftState done [02:20:45]opened in 1718583887 [02:20:45]opened+sec_in_day 1718670287 [02:20:45]quantity*price = 12500 [02:20:45]sum+1 = 12501 [02:20:45]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 125.00 НСП 1% : 1.11 НДС 12% : 13.27 Наличными: 125.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 4 17.06.2024 02:20 Смена: 328 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22323 ФПД: 40180565056258 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240617T022056&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22323&fm=40180565056258&tin=02508201610067®Number=0000000000099755&sum=12500 0 [02:20:46]StoreToDocumentArchive [02:20:46]shift 328 fd 22323 [02:20:46]save to /storage/0328/doc_00022323 [02:20:46]save last doc name /storage/0328/doc_00022323 to /storage/kkm_last_doc_name [02:20:46]save OK [02:20:46]Clear old archive folders... [02:20:46]ProcessDocumentItem done err = 0, tmpTLVsize=292 [02:20:46]tlvbuf is 002C9D30 [02:20:46]SAM_PROTO_ClearQueue [02:20:46]wFMCommunicate request_size=4 [02:20:46]MH_SAM_APDU [02:20:46]CAPDU: 80 09 00 00 [02:20:46]Write to MH i2c: E2 08 00 C3 33 80 09 00 00 00 00 00 00 68 [02:20:46]Write i2c OK [02:20:46]MH_I2C_Read... [02:20:46]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [02:20:46]Read from MH i2c: E2 [02:20:46]MH_I2C_Read... [02:20:46]Read from MH i2c: E2 03 00 [02:20:46]MH_I2C_Read... [02:20:46]Read from MH i2c: E2 03 00 C3 33 00 90 00 6A [02:20:46]RAPDU: 90 00 [02:20:46]wFMCommunicate OK [02:20:46]SAM_PROTO_ClearQueue done [02:20:46]KKMCreateOFDPacket [02:20:46]OFDProtocolAddRootSTLVToBuf [02:20:46]FM_MakeSignedData [02:20:46]FM_MakeSignedData [02:20:46]SAM_PROTO_SignData [02:20:46]wFMCommunicate request_size=4 [02:20:46]MH_SAM_APDU [02:20:46]CAPDU: 80 0D 01 02 [02:20:46]Write to MH i2c: E2 08 00 C4 33 80 0D 01 02 00 00 00 00 70 [02:20:46]Write i2c OK [02:20:46]MH_I2C_Read... [02:20:46]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [02:20:46]Read from MH i2c: E2 [02:20:46]MH_I2C_Read... [02:20:46]Read from MH i2c: E2 03 00 [02:20:46]MH_I2C_Read... [02:20:46]Read from MH i2c: E2 03 00 C4 33 00 90 00 6B [02:20:46]RAPDU: 90 00 [02:20:46]wFMCommunicate OK [02:20:46]wFMCommunicate request_size=255 [02:20:46]MH_SAM_APDU [02:20:46]CAPDU: 80 0D 02 02 FA 03 00 24 01 1E 04 01 00 01 23 04 76 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 33 30 06 04 32 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 BB D0 B8 D0 BC D0 BE D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 04 00 00 00 F4 03 04 00 88 9D 6F 66 0E 04 04 00 48 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 [02:20:46]Write to MH i2c: E2 02 01 C5 33 80 0D 02 02 FA 00 03 00 24 01 1E 04 01 00 01 23 04 76 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 33 30 06 04 32 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 BB D0 B8 D0 BC D0 BE D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 04 00 00 00 F4 03 04 00 88 9D 6F 66 0E 04 04 00 48 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 00 00 7D [02:20:46]Write i2c OK [02:20:46]MH_I2C_Read... [02:20:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:20:46]Read from MH i2c: E2 [02:20:46]MH_I2C_Read... [02:20:46]Read from MH i2c: E2 03 00 [02:20:46]MH_I2C_Read... [02:20:46]Read from MH i2c: E2 03 00 C5 33 00 90 00 6C [02:20:46]RAPDU: 90 00 [02:20:46]wFMCommunicate OK [02:20:46]wFMCommunicate request_size=51 [02:20:46]MH_SAM_APDU [02:20:46]CAPDU: 80 0D 02 02 2E 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 33 57 00 00 35 04 06 00 24 8B 44 4E 9B 02 [02:20:46]Write to MH i2c: E2 36 00 C6 33 80 0D 02 02 2E 00 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 33 57 00 00 35 04 06 00 24 8B 44 4E 9B 02 00 00 75 [02:20:46]Write i2c OK [02:20:46]MH_I2C_Read... [02:20:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:20:46]Read from MH i2c: E2 [02:20:46]MH_I2C_Read... [02:20:46]Read from MH i2c: E2 03 00 [02:20:46]MH_I2C_Read... [02:20:46]Read from MH i2c: E2 03 00 C6 33 00 90 00 6D [02:20:46]RAPDU: 90 00 [02:20:46]wFMCommunicate OK [02:20:46]wFMCommunicate request_size=4 [02:20:46]MH_SAM_APDU [02:20:46]CAPDU: 80 0D 03 02 [02:20:46]Write to MH i2c: E2 08 00 C7 33 80 0D 03 02 00 00 00 00 75 [02:20:46]Write i2c OK [02:20:46]MH_I2C_Read... [02:20:46]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [02:20:46]Read from MH i2c: E2 [02:20:46]MH_I2C_Read... [02:20:46]Read from MH i2c: E2 0B 00 [02:20:46]MH_I2C_Read... [02:20:46]Read from MH i2c: E2 0B 00 C7 33 00 87 DD E8 10 D6 66 09 12 90 00 29 [02:20:46]RAPDU: 87 DD E8 10 D6 66 09 12 90 00 [02:20:46]wFMCommunicate OK [02:20:46]SAM_PROTO_SignData done [02:20:46]FM_MakeSignedData done [02:20:46]CreateOFDProtocolMessage [02:20:46]wFMCommunicate request_size=4 [02:20:46]MH_SAM_APDU [02:20:46]CAPDU: 80 11 00 00 [02:20:46]Write to MH i2c: E2 08 00 C8 33 80 11 00 00 00 00 00 00 75 [02:20:46]Write i2c OK [02:20:46]MH_I2C_Read... [02:20:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:20:46]Read from MH i2c: E2 [02:20:46]MH_I2C_Read... [02:20:46]Read from MH i2c: E2 17 00 [02:20:46]MH_I2C_Read... [02:20:46]Read from MH i2c: E2 17 00 C8 33 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 C7 [02:20:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [02:20:46]wFMCommunicate OK [02:20:46]CreateOFDProtocolMessage done [02:20:46]OFDSenderStorePacket 22323 [02:20:46]StoreOFDPacket docnum=22323 [02:20:46]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 38 01 00 00 F7 72 30 01 AB 3E 5A 03 01 00 03 00 24 01 1E 04 01 00 01 23 04 76 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 33 30 06 04 32 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 BB D0 B8 D0 BC D0 BE D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 04 00 00 00 F4 03 04 00 88 9D 6F 66 0E 04 04 00 48 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 33 57 00 00 35 04 06 00 24 8B 44 4E 9B 02 87 DD E8 10 D6 66 09 12 [02:20:46]CheckFolder [02:20:46]dirname=/storage/ofd_packets [02:20:46]CheckFolder done [02:20:46]ProducePacketName [02:20:46]name=ofd_packets/00022323 [02:20:46]NVStorageSaveData ofd_packets/00022323 [02:20:46]File name is /storage/ofd_packets/00022323 [02:20:46]Write 342 bytes [02:20:46]NVStorageSaveData done [02:20:46]OFDSenderStorePacket done [02:20:46]KKMCreateOFDPacket done [02:20:46]NVStorageSaveData kkm_last_timestamp [02:20:46]File name is /storage/kkm_last_timestamp [02:20:46]Write 4 bytes [02:20:46]NVStorageSaveData done [02:20:46]ExternCall_PrintAddStr [02:20:46]wPrintStart [02:20:46]Write to MH i2c: 01 00 00 C9 33 FC [02:20:46]OFD Sender: Processing packet 22323 [packets to send 5, broken 4] [02:20:46]ProducePacketName [02:20:46]name=ofd_packets/00022323 [02:20:46]OFD Sender: To server: pG, [02:20:46]CommunicateWithHost lk.salyk.kg:30040 [02:20:46]ConnectInit lk.salyk.kg [02:20:46]Write i2c OK [02:20:46]MH_I2C_Read... [02:20:46]Read from MH i2c: 01 [02:20:46]MH_I2C_Read... [02:20:46]Read from MH i2c: 01 07 00 [02:20:46]MH_I2C_Read... [02:20:46]Read from MH i2c: 01 07 00 C9 33 00 00 00 00 00 FF 0F 11 [02:20:46]RasterBufferAndPrint [02:20:46]line Счет N : (3)254534 [02:20:46]line ИНН: 02508201610067 [02:20:46]line Контрольно-Кассовый Чек [02:20:46]line ПРОДАЖА [02:20:46]line Товар: 4870202521230 [02:20:46]line Напиток MAXI чай 1,2 черн.лимон [02:20:46]line 1.000 * 125.00 [02:20:46]line = 125.00 [02:20:46]line НДС 12% НСП 1% [02:20:46]line > о реализуемом товаре [02:20:46]line ИТОГО: 125.00 [02:20:46]line НСП 1% : 1.11 [02:20:46]line НДС 12% : 13.27 [02:20:46]line Наличными: 125.00 [02:20:46]line Безнал.: 0.00 [02:20:46]line Место: АЗС № 76 "Партнер Нефть" [02:20:46]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [02:20:46]line СНО: Общий режим [02:20:46]line Чек 4 17.06.2024 02:20 [02:20:46]line Смена: 328 ФФД: 1.0 [02:20:46]line ЗНМ: 0300000200 [02:20:46]line РНМ: 0000000000099755 [02:20:46]line Версия ККМ: 001 [02:20:46]line ФМ: 0000000000965344 [02:20:46]line ФД: 22323 [02:20:46]line ФПД: 40180565056258 [02:20:47]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240617T022056&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22323&fm=40180565056258&tin=02508201610067®Number=0000000000099755&sum=12500 [02:20:47]line 0 [02:20:47]Connected sock=9 [02:20:47]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 38 01 00 00 F7 72 30 01 AB 3E 5A 03 01 00 03 00 24 01 1E 04 01 00 01 23 04 76 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 33 30 06 04 32 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 BB D0 B8 D0 BC D0 BE D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 04 00 00 00 F4 03 04 00 88 9D 6F 66 0E 04 04 00 48 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 33 57 00 00 35 04 06 00 24 8B 44 4E 9B 02 87 DD E8 10 D6 66 09 12 [02:20:47]written 0, free lines is 4095 [02:20:47]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 B7 F5 47 00 30 4C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 33 57 00 00 F4 03 04 00 40 46 6F 66 B6 04 01 00 00 C0 F4 3C CA C5 3A 1F A3 [02:20:47]CommunicateWithHost err = 0 [02:20:47]CheckOFDResponse [02:20:47]1017 (14) - 77093643461234 [02:20:47]1041 (16) - 0000000000965344 [02:20:47]1040 (4) - 22323 [02:20:47]1012 (4) - 16.06.2024 20:08 [02:20:47]1206 (1) - 0 [02:20:47]OFD Sender: Remove packet 22323 [02:20:47]ProducePacketName [02:20:47]name=ofd_packets/00022323 [02:20:47]NVStorageDeleteData [02:20:47]Write to MH i2c: 01 00 00 F2 33 25 [02:20:47]Write i2c OK [02:20:47]MH_I2C_Read... [02:20:47]Read from MH i2c: 01 [02:20:47]MH_I2C_Read... [02:20:47]Read from MH i2c: 01 07 00 [02:20:47]MH_I2C_Read... [02:20:47]Read from MH i2c: 01 07 00 F2 33 00 00 00 00 00 07 0D 40 [02:20:47]RasterBufferAndPrint [02:20:47]line [02:20:47]line [02:20:47]line [02:20:47]line [02:20:47]line [02:20:47]written 0, free lines is 3344 [02:20:47]MH_Cut [02:20:47]Write to MH i2c: D1 01 00 F9 33 01 FE [02:20:47]Write i2c OK [02:20:47]MH_I2C_Read... [02:20:47]Read from MH i2c: D1 [02:20:47]MH_I2C_Read... [02:20:47]Read from MH i2c: D1 01 00 [02:20:47]MH_I2C_Read... [02:20:47]Read from MH i2c: D1 01 00 F9 33 00 FD [02:20:47]Write to MH i2c: 01 00 00 FA 33 2D [02:20:47]Write i2c OK [02:20:47]MH_I2C_Read... [02:20:47]OFD Sender: No OFD packet to send [02:20:48]*** Cut start [02:20:48]*** Partial cut [02:20:48]*** CUTSNS_PIN = 1 [02:20:48]*** CUTSNS_PIN = 0 [02:20:48]*** Brake cut motor [02:20:48]Read from MH i2c: 01 [02:20:48]MH_I2C_Read... [02:20:48]*** Stop cut motor [02:20:48]*** Cut end [02:20:48]Read from MH i2c: 01 07 00 [02:20:48]MH_I2C_Read... [02:20:48]Read from MH i2c: 01 07 00 FA 33 00 00 00 00 00 FF 0F 42 [02:20:48]process_action close_receipt done [02:20:48]requested_data is exist [02:20:48]produce_requested_data [02:20:48]requested_item fm.sn is exist - process it [02:20:48]wFMCommunicate request_size=4 [02:20:48]MH_SAM_APDU [02:20:48]CAPDU: 80 11 00 00 [02:20:48]Write to MH i2c: E2 08 00 FB 33 80 11 00 00 00 00 00 00 A8 [02:20:48]Write i2c OK [02:20:48]MH_I2C_Read... [02:20:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:20:49]Read from MH i2c: E2 [02:20:49]MH_I2C_Read... [02:20:49]Read from MH i2c: E2 17 00 [02:20:49]MH_I2C_Read... [02:20:49]Read from MH i2c: E2 17 00 FB 33 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 FA [02:20:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [02:20:49]wFMCommunicate OK [02:20:49]requested_item fd.num is exist - process it [02:20:49]SAM_PROTO_GetFieldsCounters [02:20:49]wFMCommunicate request_size=4 [02:20:49]MH_SAM_APDU [02:20:49]CAPDU: 80 13 00 00 [02:20:49]Write to MH i2c: E2 08 00 FC 33 80 13 00 00 00 00 00 00 AB [02:20:49]Write i2c OK [02:20:49]MH_I2C_Read... [02:20:49]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [02:20:49]Read from MH i2c: E2 [02:20:49]MH_I2C_Read... [02:20:49]Read from MH i2c: E2 62 00 [02:20:49]MH_I2C_Read... [02:20:49]Read from MH i2c: E2 62 00 FC 33 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 33 57 00 00 0E 04 04 00 48 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 B4 [02:20:49]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 33 57 00 00 0E 04 04 00 48 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 [02:20:49]wFMCommunicate OK [02:20:49]SAM_PROTO_GetFieldsCounters done [02:20:49]requested_item shift.num is exist - process it [02:20:49]requested_item shift.opened is exist - process it [02:20:49]req_shift_opened [02:20:49]FM_GetShiftState [02:20:49]SAM_PROTO_GetShiftState [02:20:49]wFMCommunicate request_size=4 [02:20:49]MH_SAM_APDU [02:20:49]CAPDU: 80 13 01 00 [02:20:49]Write to MH i2c: E2 08 00 FD 33 80 13 01 00 00 00 00 00 AD [02:20:49]Write i2c OK [02:20:49]MH_I2C_Read... [02:20:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:20:49]Read from MH i2c: E2 [02:20:49]MH_I2C_Read... [02:20:49]Read from MH i2c: E2 0E 00 [02:20:49]MH_I2C_Read... [02:20:49]Read from MH i2c: E2 0E 00 FD 33 00 09 00 01 4F 82 6F 66 00 00 00 00 90 00 5F [02:20:49]RAPDU: 09 00 01 4F 82 6F 66 00 00 00 00 90 00 [02:20:49]wFMCommunicate OK [02:20:49]SAM_PROTO_GetShiftState done [02:20:49]FM_GetShiftState done [02:20:49]req_shift_opened done [02:20:49]requested_item shift.open_date is exist - process it [02:20:49]req_shift_open_date [02:20:49]req_shift_open_date done [02:20:49]produce_requested_data done [02:20:49]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22323,"shift.num":328,"shift.opened":1,"shift.open_date":1718583887} [02:20:49]process_action_free close_receipt [02:20:49]json_value_free [02:20:49]json_value_free done [02:20:49]process_json_proto returns [02:20:49]Send response to host [02:20:49]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22323,"shift.num":328,"shift.opened":1,"shift.open_date":1718583887}}} [02:20:49]free response buf [02:20:49]execute_script done [02:20:49]execute_script returns [02:20:49]free content buf [02:20:49]Sock 8.Close socket [02:20:49]Sock 8.Thread stoped [02:20:52]OFD Sender: No OFD packet to send [02:20:57]OFD Sender: No OFD packet to send [02:21:02]OFD Sender: No OFD packet to send [02:21:07]OFD Sender: No OFD packet to send [02:21:12]OFD Sender: No OFD packet to send [02:21:17]OFD Sender: No OFD packet to send [02:21:22]OFD Sender: No OFD packet to send [02:21:27]OFD Sender: No OFD packet to send [02:21:32]OFD Sender: No OFD packet to send [02:21:37]OFD Sender: No OFD packet to send [02:21:42]OFD Sender: No OFD packet to send [02:21:47]OFD Sender: No OFD packet to send [02:21:52]OFD Sender: No OFD packet to send [02:21:57]OFD Sender: No OFD packet to send [02:22:02]OFD Sender: No OFD packet to send [02:22:07]OFD Sender: No OFD packet to send [02:22:13]OFD Sender: No OFD packet to send [02:22:18]OFD Sender: No OFD packet to send [02:22:23]OFD Sender: No OFD packet to send [02:22:28]OFD Sender: No OFD packet to send [02:22:33]OFD Sender: No OFD packet to send [02:22:38]OFD Sender: No OFD packet to send [02:22:43]OFD Sender: No OFD packet to send [02:22:48]OFD Sender: No OFD packet to send [02:22:53]OFD Sender: No OFD packet to send [02:22:58]OFD Sender: No OFD packet to send [02:23:03]OFD Sender: No OFD packet to send [02:23:08]OFD Sender: No OFD packet to send [02:23:13]OFD Sender: No OFD packet to send [02:23:18]OFD Sender: No OFD packet to send [02:23:23]OFD Sender: No OFD packet to send [02:23:28]OFD Sender: No OFD packet to send [02:23:33]OFD Sender: No OFD packet to send [02:23:38]OFD Sender: No OFD packet to send [02:23:43]OFD Sender: No OFD packet to send [02:23:48]OFD Sender: No OFD packet to send [02:23:53]OFD Sender: No OFD packet to send [02:23:58]OFD Sender: No OFD packet to send [02:24:03]OFD Sender: No OFD packet to send [02:24:08]OFD Sender: No OFD packet to send [02:24:13]OFD Sender: No OFD packet to send [02:24:18]OFD Sender: No OFD packet to send [02:24:23]OFD Sender: No OFD packet to send [02:24:28]OFD Sender: No OFD packet to send [02:24:33]OFD Sender: No OFD packet to send [02:24:38]OFD Sender: No OFD packet to send [02:24:43]OFD Sender: No OFD packet to send [02:24:48]OFD Sender: No OFD packet to send [02:24:53]OFD Sender: No OFD packet to send [02:24:58]OFD Sender: No OFD packet to send [02:25:03]OFD Sender: No OFD packet to send [02:25:08]OFD Sender: No OFD packet to send [02:25:13]OFD Sender: No OFD packet to send [02:25:18]OFD Sender: No OFD packet to send [02:25:23]OFD Sender: No OFD packet to send [02:25:28]OFD Sender: No OFD packet to send [02:25:33]OFD Sender: No OFD packet to send [02:25:38]OFD Sender: No OFD packet to send [02:25:43]OFD Sender: No OFD packet to send [02:25:48]OFD Sender: No OFD packet to send [02:25:53]OFD Sender: No OFD packet to send [02:25:58]OFD Sender: No OFD packet to send [02:26:03]OFD Sender: No OFD packet to send [02:26:08]OFD Sender: No OFD packet to send [02:26:13]OFD Sender: No OFD packet to send [02:26:18]OFD Sender: No OFD packet to send [02:26:23]OFD Sender: No OFD packet to send [02:26:28]OFD Sender: No OFD packet to send [02:26:33]OFD Sender: No OFD packet to send [02:26:38]OFD Sender: No OFD packet to send [02:26:43]OFD Sender: No OFD packet to send [02:26:48]OFD Sender: No OFD packet to send [02:26:53]OFD Sender: No OFD packet to send [02:26:58]OFD Sender: No OFD packet to send [02:27:03]OFD Sender: No OFD packet to send [02:27:08]OFD Sender: No OFD packet to send [02:27:13]OFD Sender: No OFD packet to send [02:27:18]OFD Sender: No OFD packet to send [02:27:23]OFD Sender: No OFD packet to send [02:27:28]OFD Sender: No OFD packet to send [02:27:33]OFD Sender: No OFD packet to send [02:27:38]OFD Sender: No OFD packet to send [02:27:43]OFD Sender: No OFD packet to send [02:27:48]OFD Sender: No OFD packet to send [02:27:53]OFD Sender: No OFD packet to send [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:20]accept exits with 10 [02:33:20]New connection [02:33:20]New thread 3066838372 created [02:33:20]Thread 3066695012 joined [02:33:20]Waiting for new connection... [02:33:20] Sock 10.Parse request [02:33:20]Sock 10.Check first char [02:33:20]Sock 10.First char is OK [02:33:20]request: POST /json_proto HTTP/1.0 [02:33:20]Method: POST [02:33:20]URL: /json_proto [02:33:20]Method is POST - this is cgi request [02:33:20]url: /json_proto [02:33:20]query_string will be loaded in cgi processing [02:33:20]execute_cgi json_proto POST (null) [02:33:20]execute_cgi path=json_proto method=POST [02:33:20]POST find Content-Length [02:33:20]Host: 172.17.35.133:8080 [02:33:20]Content-Length: 1243 [02:33:20]Content-Type: application/json [02:33:20] [02:33:20]POST finish read [02:33:20]Found Content-Length = 1243 [02:33:20]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254535", "tax_sys" : 0, "items" : [ { "code": "4870145004302", "name": "\u041F\u0438\u0432\u043E \u0411\u0430\u043B\u0442\u0438\u043A\u0430 7 \u044D\u043A\u0441\u043F 0,5\u043B \u0436/\u0431", "price" : 120.00, "quantity" : 2.000, "sum" : 240.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4620006990387", "name": "\u0412\u043E\u0434\u043A\u0430 \u0422\u0430\u043B\u043A\u0430 0,5\u043B", "price" : 550.00, "quantity" : 1.000, "sum" : 550.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000189356", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043C\u0430\u043D\u0433\u043E \u0430\u043D\u0430\u043D\u0430\u0441 1\u043B", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 910.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [02:33:20]execute_script... [02:33: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)254535", "tax_sys" : 0, "items" : [ { "code": "4870145004302", "name": "\u041F\u0438\u0432\u043E \u0411\u0430\u043B\u0442\u0438\u043A\u0430 7 \u044D\u043A\u0441\u043F 0,5\u043B \u0436/\u0431", "price" : 120.00, "quantity" : 2.000, "sum" : 240.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4620006990387", "name": "\u0412\u043E\u0434\u043A\u0430 \u0422\u0430\u043B\u043A\u0430 0,5\u043B", "price" : 550.00, "quantity" : 1.000, "sum" : 550.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000189356", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043C\u0430\u043D\u0433\u043E \u0430\u043D\u0430\u043D\u0430\u0441 1\u043B", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 910.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [02:33:20]POST & json_proto [02:33:20]process_json_proto [02:33:20]json parsed OK: [02:33:20]protocol is kg_v1.0 [02:33:20]action value=close_receipt [02:33:20]process_action close_receipt [02:33:20]cmd_close_receipt [02:33:20]MH_GetDate [02:33:20]Write to MH i2c: F0 00 00 FE 33 20 [02:33:20]Write i2c OK [02:33:20]MH_I2C_Read... [02:33:20]Read from MH i2c: F0 [02:33:20]MH_I2C_Read... [02:33:20]Read from MH i2c: F0 09 00 [02:33:20]MH_I2C_Read... [02:33:20]Read from MH i2c: F0 09 00 FE 33 00 7B A0 6F 66 8C 55 28 65 87 [02:33:20]GetLastDocTimeStamp 1718590856 [02:33:20]current date 1718591611 [02:33:20]FM_GetShiftState [02:33:20]SAM_PROTO_GetShiftState [02:33:20]wFMCommunicate request_size=4 [02:33:20]MH_SAM_APDU [02:33:20]CAPDU: 80 13 01 00 [02:33:20]Write to MH i2c: E2 08 00 FF 33 80 13 01 00 00 00 00 00 AF [02:33:20]Write i2c OK [02:33:20]MH_I2C_Read... [02:33:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:33:20]Read from MH i2c: E2 [02:33:20]MH_I2C_Read... [02:33:20]Read from MH i2c: E2 0E 00 [02:33:20]MH_I2C_Read... [02:33:20]Read from MH i2c: E2 0E 00 FF 33 00 09 00 01 4F 82 6F 66 00 00 00 00 90 00 61 [02:33:20]RAPDU: 09 00 01 4F 82 6F 66 00 00 00 00 90 00 [02:33:20]wFMCommunicate OK [02:33:20]SAM_PROTO_GetShiftState done [02:33:20]FM_GetShiftState done [02:33:20]opened in 1718583887 [02:33:20]opened+sec_in_day 1718670287 [02:33:20]quantity*price = 24000 [02:33:20]sum+1 = 24001 [02:33:20]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4620006990387 Водка Талка 0,5л 1.000 * 550.00 = 550.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 5449000189356 Холодный чай Fuse манго ананас 1л 1.000 * 120.00 = 120.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 910.00 НСП 1% : 8.05 НДС 12% : 96.64 Наличными: 910.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 5 17.06.2024 02:33 Смена: 328 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22324 ФПД: 174961893629004 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240617T023332&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22324&fm=174961893629004&tin=02508201610067®Number=0000000000099755&sum=91000 0 [02:33:21]StoreToDocumentArchive [02:33:21]shift 328 fd 22324 [02:33:21]save to /storage/0328/doc_00022324 [02:33:21]save last doc name /storage/0328/doc_00022324 to /storage/kkm_last_doc_name [02:33:21]save OK [02:33:21]Clear old archive folders... [02:33:21]ProcessDocumentItem done err = 0, tmpTLVsize=515 [02:33:21]tlvbuf is 002254A0 [02:33:21]SAM_PROTO_ClearQueue [02:33:21]wFMCommunicate request_size=4 [02:33:21]MH_SAM_APDU [02:33:21]CAPDU: 80 09 00 00 [02:33:21]Write to MH i2c: E2 08 00 0C 34 80 09 00 00 00 00 00 00 B2 [02:33:21]Write i2c OK [02:33:21]MH_I2C_Read... [02:33:21]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [02:33:21]Read from MH i2c: E2 [02:33:21]MH_I2C_Read... [02:33:21]Read from MH i2c: E2 03 00 [02:33:21]MH_I2C_Read... [02:33:21]Read from MH i2c: E2 03 00 0C 34 00 90 00 B4 [02:33:21]RAPDU: 90 00 [02:33:21]wFMCommunicate OK [02:33:21]SAM_PROTO_ClearQueue done [02:33:21]KKMCreateOFDPacket [02:33:21]OFDProtocolAddRootSTLVToBuf [02:33:21]FM_MakeSignedData [02:33:21]FM_MakeSignedData [02:33:21]SAM_PROTO_SignData [02:33:21]wFMCommunicate request_size=4 [02:33:21]MH_SAM_APDU [02:33:21]CAPDU: 80 0D 01 02 [02:33:21]Write to MH i2c: E2 08 00 0D 34 80 0D 01 02 00 00 00 00 BA [02:33:21]Write i2c OK [02:33:21]MH_I2C_Read... [02:33:21]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [02:33:21]Read from MH i2c: E2 [02:33:21]MH_I2C_Read... [02:33:21]Read from MH i2c: E2 03 00 [02:33:21]MH_I2C_Read... [02:33:21]Read from MH i2c: E2 03 00 0D 34 00 90 00 B5 [02:33:21]RAPDU: 90 00 [02:33:21]wFMCommunicate OK [02:33:21]wFMCommunicate request_size=255 [02:33:21]MH_SAM_APDU [02:33:21]CAPDU: 80 0D 02 02 FA 03 00 03 02 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 34 38 37 30 31 34 35 30 30 34 33 30 32 06 04 2E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 91 D0 B0 D0 BB D1 82 D0 B8 D0 BA D0 B0 20 37 20 D1 8D D0 BA D1 81 D0 BF 20 30 2C 35 D0 BB 20 D0 B6 2F D0 B1 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 C0 5D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 36 32 30 30 30 36 39 39 30 33 38 37 06 04 1B 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A2 D0 B0 D0 BB D0 BA D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D8 D6 00 00 00 00 13 04 06 00 D8 D6 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7C 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 35 36 06 04 38 [02:33:22]Write to MH i2c: E2 02 01 0E 34 80 0D 02 02 FA 00 03 00 03 02 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 34 38 37 30 31 34 35 30 30 34 33 30 32 06 04 2E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 91 D0 B0 D0 BB D1 82 D0 B8 D0 BA D0 B0 20 37 20 D1 8D D0 BA D1 81 D0 BF 20 30 2C 35 D0 BB 20 D0 B6 2F D0 B1 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 C0 5D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 36 32 30 30 30 36 39 39 30 33 38 37 06 04 1B 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A2 D0 B0 D0 BB D0 BA D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D8 D6 00 00 00 00 13 04 06 00 D8 D6 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7C 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 35 36 06 04 38 00 00 23 [02:33:22]Write i2c OK [02:33:22]MH_I2C_Read... [02:33:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:33:22]Read from MH i2c: E2 [02:33:22]MH_I2C_Read... [02:33:22]Read from MH i2c: E2 03 00 [02:33:22]MH_I2C_Read... [02:33:22]Read from MH i2c: E2 03 00 0E 34 00 90 00 B6 [02:33:22]RAPDU: 90 00 [02:33:22]wFMCommunicate OK [02:33:22]wFMCommunicate request_size=255 [02:33:22]MH_SAM_APDU [02:33:22]CAPDU: 80 0D 02 02 FA 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 63 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 25 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C0 25 00 00 00 00 07 04 06 00 78 63 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 7C A0 6F 66 0E 04 04 00 48 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 [02:33:22]Write to MH i2c: E2 02 01 0F 34 80 0D 02 02 FA 00 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 63 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 25 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C0 25 00 00 00 00 07 04 06 00 78 63 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 7C A0 6F 66 0E 04 04 00 48 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 00 00 94 [02:33:22]Write i2c OK [02:33:22]MH_I2C_Read... [02:33:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:33:22]Read from MH i2c: E2 [02:33:22]MH_I2C_Read... [02:33:22]Read from MH i2c: E2 03 00 [02:33:22]MH_I2C_Read... [02:33:22]Read from MH i2c: E2 03 00 0F 34 00 90 00 B7 [02:33:22]RAPDU: 90 00 [02:33:22]wFMCommunicate OK [02:33:22]wFMCommunicate request_size=24 [02:33:22]MH_SAM_APDU [02:33:22]CAPDU: 80 0D 02 02 13 34 10 04 04 00 34 57 00 00 35 04 06 00 9F 20 7D 84 DC 4C [02:33:22]Write to MH i2c: E2 1B 00 10 34 80 0D 02 02 13 00 34 10 04 04 00 34 57 00 00 35 04 06 00 9F 20 7D 84 DC 4C 00 00 E2 [02:33:22]Write i2c OK [02:33:22]MH_I2C_Read... [02:33:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:33:22]Read from MH i2c: E2 [02:33:22]MH_I2C_Read... [02:33:22]Read from MH i2c: E2 03 00 [02:33:22]MH_I2C_Read... [02:33:22]Read from MH i2c: E2 03 00 10 34 00 90 00 B8 [02:33:22]RAPDU: 90 00 [02:33:22]wFMCommunicate OK [02:33:22]wFMCommunicate request_size=4 [02:33:22]MH_SAM_APDU [02:33:22]CAPDU: 80 0D 03 02 [02:33:22]Write to MH i2c: E2 08 00 11 34 80 0D 03 02 00 00 00 00 C0 [02:33:22]Write i2c OK [02:33:22]MH_I2C_Read... [02:33:22]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [02:33:22]Read from MH i2c: E2 [02:33:22]MH_I2C_Read... [02:33:22]Read from MH i2c: E2 0B 00 [02:33:22]MH_I2C_Read... [02:33:22]Read from MH i2c: E2 0B 00 11 34 00 C5 98 94 76 33 A2 1B 1F 90 00 37 [02:33:22]RAPDU: C5 98 94 76 33 A2 1B 1F 90 00 [02:33:22]wFMCommunicate OK [02:33:22]SAM_PROTO_SignData done [02:33:22]FM_MakeSignedData done [02:33:22]CreateOFDProtocolMessage [02:33:22]wFMCommunicate request_size=4 [02:33:22]MH_SAM_APDU [02:33:22]CAPDU: 80 11 00 00 [02:33:22]Write to MH i2c: E2 08 00 12 34 80 11 00 00 00 00 00 00 C0 [02:33:22]Write i2c OK [02:33:22]MH_I2C_Read... [02:33:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:33:22]Read from MH i2c: E2 [02:33:22]MH_I2C_Read... [02:33:22]Read from MH i2c: E2 17 00 [02:33:22]MH_I2C_Read... [02:33:22]Read from MH i2c: E2 17 00 12 34 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 12 [02:33:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [02:33:22]wFMCommunicate OK [02:33:22]CreateOFDProtocolMessage done [02:33:22]OFDSenderStorePacket 22324 [02:33:22]StoreOFDPacket docnum=22324 [02:33:22]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 17 02 00 00 46 15 0F 02 3B 3E 5A 03 01 00 03 00 03 02 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 34 38 37 30 31 34 35 30 30 34 33 30 32 06 04 2E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 91 D0 B0 D0 BB D1 82 D0 B8 D0 BA D0 B0 20 37 20 D1 8D D0 BA D1 81 D0 BF 20 30 2C 35 D0 BB 20 D0 B6 2F D0 B1 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 C0 5D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 36 32 30 30 30 36 39 39 30 33 38 37 06 04 1B 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A2 D0 B0 D0 BB D0 BA D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D8 D6 00 00 00 00 13 04 06 00 D8 D6 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7C 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 35 36 06 04 38 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 63 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 25 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C0 25 00 00 00 00 07 04 06 00 78 63 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 7C A0 6F 66 0E 04 04 00 48 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 34 57 00 00 35 04 06 00 9F 20 7D 84 DC 4C C5 98 94 76 33 A2 1B 1F [02:33:22]CheckFolder [02:33:22]dirname=/storage/ofd_packets [02:33:22]CheckFolder done [02:33:22]ProducePacketName [02:33:22]name=ofd_packets/00022324 [02:33:22]NVStorageSaveData ofd_packets/00022324 [02:33:22]File name is /storage/ofd_packets/00022324 [02:33:22]Write 565 bytes [02:33:22]NVStorageSaveData done [02:33:22]OFDSenderStorePacket done [02:33:22]KKMCreateOFDPacket done [02:33:22]NVStorageSaveData kkm_last_timestamp [02:33:22]File name is /storage/kkm_last_timestamp [02:33:22]Write 4 bytes [02:33:22]NVStorageSaveData done [02:33:22]ExternCall_PrintAddStr [02:33:22]wPrintStart [02:33:22]Write to MH i2c: 01 00 00 13 34 47 [02:33:22]Write i2c OK [02:33:22]MH_I2C_Read... [02:33:22]Read from MH i2c: 01 [02:33:22]MH_I2C_Read... [02:33:22]Read from MH i2c: 01 07 00 [02:33:22]MH_I2C_Read... [02:33:22]Read from MH i2c: 01 07 00 13 34 00 00 00 00 00 FF 0F 5C [02:33:22]RasterBufferAndPrint [02:33:22]line Счет N : (3)254535 [02:33:22]line ИНН: 02508201610067 [02:33:22]line Контрольно-Кассовый Чек [02:33:22]line ПРОДАЖА [02:33:22]line Товар: 4870145004302 [02:33:22]line Пиво Балтика 7 эксп 0,5л ж/б [02:33:22]line 2.000 * 120.00 [02:33:22]line = 240.00 [02:33:22]line НДС 12% НСП 1% [02:33:22]line > о реализуемом товаре [02:33:22]line Товар: 4620006990387 [02:33:22]line Водка Талка 0,5л [02:33:22]line 1.000 * 550.00 [02:33:22]line = 550.00 [02:33:22]line НДС 12% НСП 1% [02:33:22]line > о реализуемом товаре [02:33:22]line Товар: 5449000189356 [02:33:22]line Холодный чай Fuse манго ананас 1л [02:33:22]line 1.000 * 120.00 [02:33:22]line = 120.00 [02:33:22]line НДС 12% НСП 1% [02:33:22]line > о реализуемом товаре [02:33:22]line ИТОГО: 910.00 [02:33:22]line НСП 1% : 8.05 [02:33:22]line НДС 12% : 96.64 [02:33:22]line Наличными: 910.00 [02:33:22]line Безнал.: 0.00 [02:33:22]line Место: АЗС № 76 "Партнер Нефть" [02:33:22]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [02:33:22]line СНО: Общий режим [02:33:22]line Чек 5 17.06.2024 02:33 [02:33:22]line Смена: 328 ФФД: 1.0 [02:33:22]line ЗНМ: 0300000200 [02:33:22]line РНМ: 0000000000099755 [02:33:22]line Версия ККМ: 001 [02:33:22]line ФМ: 0000000000965344 [02:33:22]line ФД: 22324 [02:33:22]line ФПД: 174961893629004 [02:33:23]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240617T023332&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22324&fm=174961893629004&tin=02508201610067®Number=0000000000099755&sum=91000 [02:33:23]line 0 [02:33:23]OFD Sender: Processing packet 22324 [packets to send 5, broken 4] [02:33:23]ProducePacketName [02:33:23]name=ofd_packets/00022324 [02:33:23]OFD Sender: To server: pG, [02:33:23]CommunicateWithHost lk.salyk.kg:30040 [02:33:23]ConnectInit lk.salyk.kg [02:33:23]written 0, free lines is 4095 [02:33:23]Connected sock=9 [02:33:23]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 17 02 00 00 46 15 0F 02 3B 3E 5A 03 01 00 03 00 03 02 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 34 38 37 30 31 34 35 30 30 34 33 30 32 06 04 2E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 91 D0 B0 D0 BB D1 82 D0 B8 D0 BA D0 B0 20 37 20 D1 8D D0 BA D1 81 D0 BF 20 30 2C 35 D0 BB 20 D0 B6 2F D0 B1 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 C0 5D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 36 32 30 30 30 36 39 39 30 33 38 37 06 04 1B 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A2 D0 B0 D0 BB D0 BA D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D8 D6 00 00 00 00 13 04 06 00 D8 D6 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7C 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 35 36 06 04 38 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 63 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 25 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C0 25 00 00 00 00 07 04 06 00 78 63 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 7C A0 6F 66 0E 04 04 00 48 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 34 57 00 00 35 04 06 00 9F 20 7D 84 DC 4C C5 98 94 76 33 A2 1B 1F [02:33:23]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 6D BC 47 00 F2 42 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 34 57 00 00 F4 03 04 00 35 49 6F 66 B6 04 01 00 00 B9 73 DE D4 9F B7 4A B9 [02:33:23]CommunicateWithHost err = 0 [02:33:23]CheckOFDResponse [02:33:23]1017 (14) - 77093643461234 [02:33:23]1041 (16) - 0000000000965344 [02:33:23]1040 (4) - 22324 [02:33:23]1012 (4) - 16.06.2024 20:21 [02:33:23]1206 (1) - 0 [02:33:23]OFD Sender: Remove packet 22324 [02:33:23]ProducePacketName [02:33:23]name=ofd_packets/00022324 [02:33:23]NVStorageDeleteData [02:33:23]Write to MH i2c: 01 00 00 48 34 7C [02:33:23]Write i2c OK [02:33:23]MH_I2C_Read... [02:33:23]Read from MH i2c: 01 [02:33:23]MH_I2C_Read... [02:33:23]Read from MH i2c: 01 07 00 [02:33:23]MH_I2C_Read... [02:33:23]Read from MH i2c: 01 07 00 48 34 00 00 00 00 00 70 0C FF [02:33:23]RasterBufferAndPrint [02:33:23]line [02:33:23]line [02:33:23]line [02:33:23]line [02:33:23]line [02:33:23]written 0, free lines is 3193 [02:33:23]MH_Cut [02:33:23]Write to MH i2c: D1 01 00 4F 34 01 55 [02:33:23]Write i2c OK [02:33:23]MH_I2C_Read... [02:33:23]Read from MH i2c: D1 [02:33:23]MH_I2C_Read... [02:33:23]Read from MH i2c: D1 01 00 [02:33:23]MH_I2C_Read... [02:33:23]Read from MH i2c: D1 01 00 4F 34 00 54 [02:33:23]Write to MH i2c: 01 00 00 50 34 84 [02:33:23]Write i2c OK [02:33:23]MH_I2C_Read... [02:33:24]OFD Sender: No OFD packet to send [02:33:24]*** Cut start [02:33:24]*** Partial cut [02:33:24]*** CUTSNS_PIN = 1 [02:33:24]*** CUTSNS_PIN = 0 [02:33:24]*** Brake cut motor [02:33:25]Read from MH i2c: 01 [02:33:25]MH_I2C_Read... [02:33:25]*** Stop cut motor [02:33:25]*** Cut end [02:33:25]Read from MH i2c: 01 07 00 [02:33:25]MH_I2C_Read... [02:33:25]Read from MH i2c: 01 07 00 50 34 00 00 00 00 00 FF 0F 99 [02:33:25]process_action close_receipt done [02:33:25]requested_data is exist [02:33:25]produce_requested_data [02:33:25]requested_item fm.sn is exist - process it [02:33:25]wFMCommunicate request_size=4 [02:33:25]MH_SAM_APDU [02:33:25]CAPDU: 80 11 00 00 [02:33:25]Write to MH i2c: E2 08 00 51 34 80 11 00 00 00 00 00 00 FF [02:33:25]Write i2c OK [02:33:25]MH_I2C_Read... [02:33:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:33:25]Read from MH i2c: E2 [02:33:25]MH_I2C_Read... [02:33:25]Read from MH i2c: E2 17 00 [02:33:25]MH_I2C_Read... [02:33:25]Read from MH i2c: E2 17 00 51 34 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 51 [02:33:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [02:33:25]wFMCommunicate OK [02:33:25]requested_item fd.num is exist - process it [02:33:25]SAM_PROTO_GetFieldsCounters [02:33:25]wFMCommunicate request_size=4 [02:33:25]MH_SAM_APDU [02:33:25]CAPDU: 80 13 00 00 [02:33:25]Write to MH i2c: E2 08 00 52 34 80 13 00 00 00 00 00 00 02 [02:33:25]Write i2c OK [02:33:25]MH_I2C_Read... [02:33:25]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [02:33:25]Read from MH i2c: E2 [02:33:25]MH_I2C_Read... [02:33:25]Read from MH i2c: E2 62 00 [02:33:25]MH_I2C_Read... [02:33:25]Read from MH i2c: E2 62 00 52 34 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 34 57 00 00 0E 04 04 00 48 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 0F [02:33:25]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 34 57 00 00 0E 04 04 00 48 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:33:25]wFMCommunicate OK [02:33:25]SAM_PROTO_GetFieldsCounters done [02:33:25]requested_item shift.num is exist - process it [02:33:25]requested_item shift.opened is exist - process it [02:33:25]req_shift_opened [02:33:25]FM_GetShiftState [02:33:25]SAM_PROTO_GetShiftState [02:33:25]wFMCommunicate request_size=4 [02:33:25]MH_SAM_APDU [02:33:25]CAPDU: 80 13 01 00 [02:33:25]Write to MH i2c: E2 08 00 53 34 80 13 01 00 00 00 00 00 04 [02:33:25]Write i2c OK [02:33:25]MH_I2C_Read... [02:33:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:33:25]Read from MH i2c: E2 [02:33:25]MH_I2C_Read... [02:33:25]Read from MH i2c: E2 0E 00 [02:33:25]MH_I2C_Read... [02:33:25]Read from MH i2c: E2 0E 00 53 34 00 09 00 01 4F 82 6F 66 00 00 00 00 90 00 B6 [02:33:25]RAPDU: 09 00 01 4F 82 6F 66 00 00 00 00 90 00 [02:33:25]wFMCommunicate OK [02:33:25]SAM_PROTO_GetShiftState done [02:33:25]FM_GetShiftState done [02:33:25]req_shift_opened done [02:33:25]requested_item shift.open_date is exist - process it [02:33:25]req_shift_open_date [02:33:25]req_shift_open_date done [02:33:25]produce_requested_data done [02:33:25]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22324,"shift.num":328,"shift.opened":1,"shift.open_date":1718583887} [02:33:25]process_action_free close_receipt [02:33:25]json_value_free [02:33:25]json_value_free done [02:33:25]process_json_proto returns [02:33:25]Send response to host [02:33:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22324,"shift.num":328,"shift.opened":1,"shift.open_date":1718583887}}} [02:33:25]free response buf [02:33:25]execute_script done [02:33:25]execute_script returns [02:33:25]free content buf [02:33:25]Sock 10.Close socket [02:33:25]Sock 10.Thread stoped [02:33:29]OFD Sender: No OFD packet to send [02:33:34]OFD Sender: No OFD packet to send [02:33:37]recv_with_timeout no data received [02:33:39]OFD Sender: No OFD packet to send [02:33:44]OFD Sender: No OFD packet to send [02:33:49]OFD Sender: No OFD packet to send [02:33:54]OFD Sender: No OFD packet to send [02:33:59]OFD Sender: No OFD packet to send [02:34:04]OFD Sender: No OFD packet to send [02:34:09]OFD Sender: No OFD packet to send [02:34:14]OFD Sender: No OFD packet to send [02:34:19]OFD Sender: No OFD packet to send [02:34:24]OFD Sender: No OFD packet to send [02:34:29]OFD Sender: No OFD packet to send [02:34:34]OFD Sender: No OFD packet to send [02:34:39]OFD Sender: No OFD packet to send [02:34:44]OFD Sender: No OFD packet to send [02:34:49]OFD Sender: No OFD packet to send [02:34:54]OFD Sender: No OFD packet to send [02:34:59]OFD Sender: No OFD packet to send [02:35:00]accept exits with 8 [02:35:00]New connection [02:35:00]New thread 3066695012 created [02:35:00]Thread 3066838372 joined [02:35:00]Waiting for new connection... [02:35:00] Sock 8.Parse request [02:35:00]Sock 8.Check first char [02:35:00]Sock 8.First char is OK [02:35:00]request: POST /json_proto HTTP/1.0 [02:35:00]Method: POST [02:35:00]URL: /json_proto [02:35:00]Method is POST - this is cgi request [02:35:00]url: /json_proto [02:35:00]query_string will be loaded in cgi processing [02:35:00]execute_cgi json_proto POST (null) [02:35:00]execute_cgi path=json_proto method=POST [02:35:00]POST find Content-Length [02:35:00]Host: 172.17.35.133:8080 [02:35:00]Content-Length: 1291 [02:35:00]Content-Type: application/json [02:35:00] [02:35:00]POST finish read [02:35:00]Found Content-Length = 1291 [02:35:00]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254536", "tax_sys" : 0, "items" : [ { "code": "4870002326172", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043B\u0438\u043C\u043E\u043D \u041F\u042D\u0422 1\u043B", "price" : 100.00, "quantity" : 1.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700002083914", "name": "\u0412\u043E\u0434\u043A\u0430 \u0421\u0430\u0440\u044B \u0447\u0435\u043B\u0435\u043A 0,35\u043B", "price" : 260.00, "quantity" : 1.000, "sum" : 260.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870235681086", "name": "Grizzly \u0432\u043E\u043B\u043D\u0438\u0441\u0442\u044B\u0435 \u0421\u044B\u0440 \u0441 \u0445\u0430\u043B\u0430\u043F\u0435\u043D\u044C\u043E 55 \u0433\u0440", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 450.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [02:35:00]execute_script... [02:35:00]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)254536", "tax_sys" : 0, "items" : [ { "code": "4870002326172", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043B\u0438\u043C\u043E\u043D \u041F\u042D\u0422 1\u043B", "price" : 100.00, "quantity" : 1.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700002083914", "name": "\u0412\u043E\u0434\u043A\u0430 \u0421\u0430\u0440\u044B \u0447\u0435\u043B\u0435\u043A 0,35\u043B", "price" : 260.00, "quantity" : 1.000, "sum" : 260.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870235681086", "name": "Grizzly \u0432\u043E\u043B\u043D\u0438\u0441\u0442\u044B\u0435 \u0421\u044B\u0440 \u0441 \u0445\u0430\u043B\u0430\u043F\u0435\u043D\u044C\u043E 55 \u0433\u0440", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 450.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [02:35:00]POST & json_proto [02:35:00]process_json_proto [02:35:00]json parsed OK: [02:35:00]protocol is kg_v1.0 [02:35:00]action value=close_receipt [02:35:00]process_action close_receipt [02:35:00]cmd_close_receipt [02:35:00]MH_GetDate [02:35:00]Write to MH i2c: F0 00 00 54 34 77 [02:35:00]Write i2c OK [02:35:00]MH_I2C_Read... [02:35:00]Read from MH i2c: F0 [02:35:00]MH_I2C_Read... [02:35:00]Read from MH i2c: F0 09 00 [02:35:00]MH_I2C_Read... [02:35:00]Read from MH i2c: F0 09 00 54 34 00 DF A0 6F 66 8C 55 28 65 42 [02:35:00]GetLastDocTimeStamp 1718591612 [02:35:00]current date 1718591711 [02:35:00]FM_GetShiftState [02:35:00]SAM_PROTO_GetShiftState [02:35:00]wFMCommunicate request_size=4 [02:35:00]MH_SAM_APDU [02:35:00]CAPDU: 80 13 01 00 [02:35:00]Write to MH i2c: E2 08 00 55 34 80 13 01 00 00 00 00 00 06 [02:35:00]Write i2c OK [02:35:00]MH_I2C_Read... [02:35:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:35:00]Read from MH i2c: E2 [02:35:00]MH_I2C_Read... [02:35:00]Read from MH i2c: E2 0E 00 [02:35:00]MH_I2C_Read... [02:35:00]Read from MH i2c: E2 0E 00 55 34 00 09 00 01 4F 82 6F 66 00 00 00 00 90 00 B8 [02:35:00]RAPDU: 09 00 01 4F 82 6F 66 00 00 00 00 90 00 [02:35:00]wFMCommunicate OK [02:35:00]SAM_PROTO_GetShiftState done [02:35:00]FM_GetShiftState done [02:35:00]opened in 1718583887 [02:35:00]opened+sec_in_day 1718670287 [02:35:00]quantity*price = 10000 [02:35:00]sum+1 = 10001 [02:35:00]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700002083914 Водка Сары челек 0,35л 1.000 * 260.00 = 260.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4870235681086 Grizzly волнистые Сыр с халапеньо 55 гр 1.000 * 90.00 = 90.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 450.00 НСП 1% : 3.98 НДС 12% : 47.79 Наличными: 450.00 Безнал.: 0.00 Место: АЗС № 76 "Партнер Нефть" Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 СНО: Общий режим Чек 6 17.06.2024 02:35 Смена: 328 ФФД: 1.0 ЗНМ: 0300000200 РНМ: 0000000000099755 Версия ККМ: 001 ФМ: 0000000000965344 ФД: 22325 ФПД: 268694216271619 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240617T023512&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22325&fm=268694216271619&tin=02508201610067®Number=0000000000099755&sum=45000 0 [02:35:01]StoreToDocumentArchive [02:35:01]shift 328 fd 22325 [02:35:01]save to /storage/0328/doc_00022325 [02:35:01]save last doc name /storage/0328/doc_00022325 to /storage/kkm_last_doc_name [02:35:01]save OK [02:35:01]Clear old archive folders... [02:35:01]ProcessDocumentItem done err = 0, tmpTLVsize=537 [02:35:01]tlvbuf is B6F39540 [02:35:01]SAM_PROTO_ClearQueue [02:35:01]wFMCommunicate request_size=4 [02:35:01]MH_SAM_APDU [02:35:01]CAPDU: 80 09 00 00 [02:35:01]Write to MH i2c: E2 08 00 62 34 80 09 00 00 00 00 00 00 08 [02:35:01]Write i2c OK [02:35:01]MH_I2C_Read... [02:35:01]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [02:35:01]Read from MH i2c: E2 [02:35:01]MH_I2C_Read... [02:35:01]Read from MH i2c: E2 03 00 [02:35:01]MH_I2C_Read... [02:35:01]Read from MH i2c: E2 03 00 62 34 00 90 00 0A [02:35:01]RAPDU: 90 00 [02:35:01]wFMCommunicate OK [02:35:01]SAM_PROTO_ClearQueue done [02:35:01]KKMCreateOFDPacket [02:35:01]OFDProtocolAddRootSTLVToBuf [02:35:01]FM_MakeSignedData [02:35:01]FM_MakeSignedData [02:35:01]SAM_PROTO_SignData [02:35:01]wFMCommunicate request_size=4 [02:35:01]MH_SAM_APDU [02:35:01]CAPDU: 80 0D 01 02 [02:35:01]Write to MH i2c: E2 08 00 63 34 80 0D 01 02 00 00 00 00 10 [02:35:01]Write i2c OK [02:35:01]MH_I2C_Read... [02:35:01]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [02:35:01]Read from MH i2c: E2 [02:35:01]MH_I2C_Read... [02:35:01]Read from MH i2c: E2 03 00 [02:35:01]MH_I2C_Read... [02:35:01]Read from MH i2c: E2 03 00 63 34 00 90 00 0B [02:35:01]RAPDU: 90 00 [02:35:01]wFMCommunicate OK [02:35:01]wFMCommunicate request_size=255 [02:35:01]MH_SAM_APDU [02:35:01]CAPDU: 80 0D 02 02 FA 03 00 19 02 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 36 31 37 32 06 04 33 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BB D0 B8 D0 BC D0 BE 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 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 0D 00 34 37 30 30 30 30 32 30 38 33 39 31 34 06 04 25 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A1 D0 B0 D1 80 D1 8B 20 D1 87 D0 B5 D0 BB D0 B5 D0 BA 20 30 2C 33 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 90 65 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 83 00 8A 04 0D 00 34 [02:35:02]Write to MH i2c: E2 02 01 64 34 80 0D 02 02 FA 00 03 00 19 02 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 36 31 37 32 06 04 33 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BB D0 B8 D0 BC D0 BE 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 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 0D 00 34 37 30 30 30 30 32 30 38 33 39 31 34 06 04 25 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A1 D0 B0 D1 80 D1 8B 20 D1 87 D0 B5 D0 BB D0 B5 D0 BA 20 30 2C 33 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 90 65 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 83 00 8A 04 0D 00 34 00 00 90 [02:35:02]Write i2c OK [02:35:02]MH_I2C_Read... [02:35:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:35:02]Read from MH i2c: E2 [02:35:02]MH_I2C_Read... [02:35:02]Read from MH i2c: E2 03 00 [02:35:02]MH_I2C_Read... [02:35:02]Read from MH i2c: E2 03 00 64 34 00 90 00 0C [02:35:02]RAPDU: 90 00 [02:35:02]wFMCommunicate OK [02:35:02]wFMCommunicate request_size=255 [02:35:02]MH_SAM_APDU [02:35:02]CAPDU: 80 0D 02 02 FA 38 37 30 32 33 35 36 38 31 30 38 36 06 04 3F 00 47 72 69 7A 7A 6C 79 20 D0 B2 D0 BE D0 BB D0 BD D0 B8 D1 81 D1 82 D1 8B D0 B5 20 D0 A1 D1 8B D1 80 20 D1 81 20 D1 85 D0 B0 D0 BB D0 B0 D0 BF D0 B5 D0 BD D1 8C D0 BE 20 35 35 20 D0 B3 D1 80 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 C8 AF 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8E 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AB 12 00 00 00 00 07 04 06 00 C8 AF 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 E0 A0 6F 66 0E 04 04 00 48 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 [02:35:02]Write to MH i2c: E2 02 01 65 34 80 0D 02 02 FA 00 38 37 30 32 33 35 36 38 31 30 38 36 06 04 3F 00 47 72 69 7A 7A 6C 79 20 D0 B2 D0 BE D0 BB D0 BD D0 B8 D1 81 D1 82 D1 8B D0 B5 20 D0 A1 D1 8B D1 80 20 D1 81 20 D1 85 D0 B0 D0 BB D0 B0 D0 BF D0 B5 D0 BD D1 8C D0 BE 20 35 35 20 D0 B3 D1 80 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 C8 AF 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8E 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AB 12 00 00 00 00 07 04 06 00 C8 AF 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 E0 A0 6F 66 0E 04 04 00 48 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 00 00 60 [02:35:02]Write i2c OK [02:35:02]MH_I2C_Read... [02:35:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:35:02]Read from MH i2c: E2 [02:35:02]MH_I2C_Read... [02:35:02]Read from MH i2c: E2 03 00 [02:35:02]MH_I2C_Read... [02:35:02]Read from MH i2c: E2 03 00 65 34 00 90 00 0D [02:35:02]RAPDU: 90 00 [02:35:02]wFMCommunicate OK [02:35:02]wFMCommunicate request_size=46 [02:35:02]MH_SAM_APDU [02:35:02]CAPDU: 80 0D 02 02 29 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 35 57 00 00 35 04 06 00 F4 60 3F 50 67 03 [02:35:02]Write to MH i2c: E2 31 00 66 34 80 0D 02 02 29 00 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 35 57 00 00 35 04 06 00 F4 60 3F 50 67 03 00 00 7B [02:35:02]Write i2c OK [02:35:02]MH_I2C_Read... [02:35:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:35:02]Read from MH i2c: E2 [02:35:02]MH_I2C_Read... [02:35:02]Read from MH i2c: E2 03 00 [02:35:02]MH_I2C_Read... [02:35:02]Read from MH i2c: E2 03 00 66 34 00 90 00 0E [02:35:02]RAPDU: 90 00 [02:35:02]wFMCommunicate OK [02:35:02]wFMCommunicate request_size=4 [02:35:02]MH_SAM_APDU [02:35:02]CAPDU: 80 0D 03 02 [02:35:02]Write to MH i2c: E2 08 00 67 34 80 0D 03 02 00 00 00 00 16 [02:35:02]Write i2c OK [02:35:02]MH_I2C_Read... [02:35:02]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [02:35:02]Read from MH i2c: E2 [02:35:02]MH_I2C_Read... [02:35:02]Read from MH i2c: E2 0B 00 [02:35:02]MH_I2C_Read... [02:35:02]Read from MH i2c: E2 0B 00 67 34 00 54 77 1C 61 F6 3F 43 47 90 00 1E [02:35:02]RAPDU: 54 77 1C 61 F6 3F 43 47 90 00 [02:35:02]wFMCommunicate OK [02:35:02]SAM_PROTO_SignData done [02:35:02]FM_MakeSignedData done [02:35:02]CreateOFDProtocolMessage [02:35:02]wFMCommunicate request_size=4 [02:35:02]MH_SAM_APDU [02:35:02]CAPDU: 80 11 00 00 [02:35:02]Write to MH i2c: E2 08 00 68 34 80 11 00 00 00 00 00 00 16 [02:35:02]Write i2c OK [02:35:02]MH_I2C_Read... [02:35:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:35:02]Read from MH i2c: E2 [02:35:02]MH_I2C_Read... [02:35:02]Read from MH i2c: E2 17 00 [02:35:02]MH_I2C_Read... [02:35:02]Read from MH i2c: E2 17 00 68 34 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 68 [02:35:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [02:35:02]wFMCommunicate OK [02:35:02]CreateOFDProtocolMessage done [02:35:02]OFDSenderStorePacket 22325 [02:35:02]StoreOFDPacket docnum=22325 [02:35:02]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 2D 02 00 00 43 EC 25 02 80 8C 5A 03 01 00 03 00 19 02 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 36 31 37 32 06 04 33 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BB D0 B8 D0 BC D0 BE 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 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 0D 00 34 37 30 30 30 30 32 30 38 33 39 31 34 06 04 25 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A1 D0 B0 D1 80 D1 8B 20 D1 87 D0 B5 D0 BB D0 B5 D0 BA 20 30 2C 33 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 90 65 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 83 00 8A 04 0D 00 34 38 37 30 32 33 35 36 38 31 30 38 36 06 04 3F 00 47 72 69 7A 7A 6C 79 20 D0 B2 D0 BE D0 BB D0 BD D0 B8 D1 81 D1 82 D1 8B D0 B5 20 D0 A1 D1 8B D1 80 20 D1 81 20 D1 85 D0 B0 D0 BB D0 B0 D0 BF D0 B5 D0 BD D1 8C D0 BE 20 35 35 20 D0 B3 D1 80 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 C8 AF 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8E 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AB 12 00 00 00 00 07 04 06 00 C8 AF 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 E0 A0 6F 66 0E 04 04 00 48 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 35 57 00 00 35 04 06 00 F4 60 3F 50 67 03 54 77 1C 61 F6 3F 43 47 [02:35:02]CheckFolder [02:35:02]dirname=/storage/ofd_packets [02:35:02]CheckFolder done [02:35:02]ProducePacketName [02:35:02]name=ofd_packets/00022325 [02:35:02]NVStorageSaveData ofd_packets/00022325 [02:35:02]File name is /storage/ofd_packets/00022325 [02:35:02]Write 587 bytes [02:35:02]NVStorageSaveData done [02:35:02]OFDSenderStorePacket done [02:35:02]KKMCreateOFDPacket done [02:35:02]NVStorageSaveData kkm_last_timestamp [02:35:02]File name is /storage/kkm_last_timestamp [02:35:02]Write 4 bytes [02:35:02]NVStorageSaveData done [02:35:02]ExternCall_PrintAddStr [02:35:02]wPrintStart [02:35:02]Write to MH i2c: 01 00 00 69 34 9D [02:35:02]Write i2c OK [02:35:02]MH_I2C_Read... [02:35:02]Read from MH i2c: 01 [02:35:02]MH_I2C_Read... [02:35:02]Read from MH i2c: 01 07 00 [02:35:02]MH_I2C_Read... [02:35:02]Read from MH i2c: 01 07 00 69 34 00 00 00 00 00 FF 0F B2 [02:35:02]RasterBufferAndPrint [02:35:02]line Счет N : (3)254536 [02:35:02]line ИНН: 02508201610067 [02:35:02]line Контрольно-Кассовый Чек [02:35:02]line ПРОДАЖА [02:35:02]line Товар: 4870002326172 [02:35:02]line Вода ASU пит н.газ лимон ПЭТ 1л [02:35:02]line 1.000 * 100.00 [02:35:02]line = 100.00 [02:35:02]line НДС 12% НСП 1% [02:35:02]line > о реализуемом товаре [02:35:02]line Товар: 4700002083914 [02:35:02]line Водка Сары челек 0,35л [02:35:02]line 1.000 * 260.00 [02:35:02]line = 260.00 [02:35:02]line НДС 12% НСП 1% [02:35:02]line > о реализуемом товаре [02:35:02]line Товар: 4870235681086 [02:35:02]line Grizzly волнистые Сыр с халапеньо 55 гр [02:35:02]line 1.000 * 90.00 [02:35:02]line = 90.00 [02:35:02]line НДС 12% НСП 1% [02:35:02]line > о реализуемом товаре [02:35:02]line ИТОГО: 450.00 [02:35:02]line НСП 1% : 3.98 [02:35:02]line НДС 12% : 47.79 [02:35:02]line Наличными: 450.00 [02:35:02]line Безнал.: 0.00 [02:35:02]line Место: АЗС № 76 "Партнер Нефть" [02:35:02]line Адрес: 720001, с. Чат-Базар, трасса Талас-Суусамыр, 42.485056, 72.552224 [02:35:02]line СНО: Общий режим [02:35:02]line Чек 6 17.06.2024 02:35 [02:35:02]line Смена: 328 ФФД: 1.0 [02:35:02]line ЗНМ: 0300000200 [02:35:02]line РНМ: 0000000000099755 [02:35:02]line Версия ККМ: 001 [02:35:02]line ФМ: 0000000000965344 [02:35:02]line ФД: 22325 [02:35:02]line ФПД: 268694216271619 [02:35:02]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240617T023512&type=1&operation_type=1&fn_number=0000000000965344&fd_number=22325&fm=268694216271619&tin=02508201610067®Number=0000000000099755&sum=45000 [02:35:03]line 0 [02:35:03]OFD Sender: Processing packet 22325 [packets to send 5, broken 4] [02:35:03]ProducePacketName [02:35:03]name=ofd_packets/00022325 [02:35:03]OFD Sender: To server: pG, [02:35:03]CommunicateWithHost lk.salyk.kg:30040 [02:35:03]ConnectInit lk.salyk.kg [02:35:03]written 0, free lines is 4095 [02:35:03]Connected sock=10 [02:35:03]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 2D 02 00 00 43 EC 25 02 80 8C 5A 03 01 00 03 00 19 02 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 36 31 37 32 06 04 33 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BB D0 B8 D0 BC D0 BE 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 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 0D 00 34 37 30 30 30 30 32 30 38 33 39 31 34 06 04 25 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A1 D0 B0 D1 80 D1 8B 20 D1 87 D0 B5 D0 BB D0 B5 D0 BA 20 30 2C 33 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 90 65 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 83 00 8A 04 0D 00 34 38 37 30 32 33 35 36 38 31 30 38 36 06 04 3F 00 47 72 69 7A 7A 6C 79 20 D0 B2 D0 BE D0 BB D0 BD D0 B8 D1 81 D1 82 D1 8B D0 B5 20 D0 A1 D1 8B D1 80 20 D1 81 20 D1 85 D0 B0 D0 BB D0 B0 D0 BF D0 B5 D0 BD D1 8C D0 BE 20 35 35 20 D0 B3 D1 80 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 C8 AF 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8E 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AB 12 00 00 00 00 07 04 06 00 C8 AF 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 E0 A0 6F 66 0E 04 04 00 48 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 35 57 00 00 35 04 06 00 F4 60 3F 50 67 03 54 77 1C 61 F6 3F 43 47 [02:35:03]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 4F 00 00 00 B9 2C 47 00 D6 2B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 10 04 04 00 35 57 00 00 F4 03 04 00 99 49 6F 66 B6 04 01 00 00 83 DB 93 7B 70 C3 B7 C1 [02:35:03]CommunicateWithHost err = 0 [02:35:03]CheckOFDResponse [02:35:03]1017 (14) - 77093643461234 [02:35:03]1041 (16) - 0000000000965344 [02:35:03]1040 (4) - 22325 [02:35:03]1012 (4) - 16.06.2024 20:22 [02:35:03]1206 (1) - 0 [02:35:03]OFD Sender: Remove packet 22325 [02:35:03]ProducePacketName [02:35:03]name=ofd_packets/00022325 [02:35:03]NVStorageDeleteData [02:35:03]Write to MH i2c: 01 00 00 9F 34 D3 [02:35:03]Write i2c OK [02:35:03]MH_I2C_Read... [02:35:03]Read from MH i2c: 01 [02:35:03]MH_I2C_Read... [02:35:03]Read from MH i2c: 01 07 00 [02:35:03]MH_I2C_Read... [02:35:03]Read from MH i2c: 01 07 00 9F 34 00 00 00 00 00 5B 0C 41 [02:35:03]RasterBufferAndPrint [02:35:03]line [02:35:03]line [02:35:03]line [02:35:03]line [02:35:03]line [02:35:03]written 0, free lines is 3173 [02:35:03]MH_Cut [02:35:03]Write to MH i2c: D1 01 00 A6 34 01 AC [02:35:03]Write i2c OK [02:35:03]MH_I2C_Read... [02:35:03]Read from MH i2c: D1 [02:35:03]MH_I2C_Read... [02:35:03]Read from MH i2c: D1 01 00 [02:35:03]MH_I2C_Read... [02:35:03]Read from MH i2c: D1 01 00 A6 34 00 AB [02:35:03]Write to MH i2c: 01 00 00 A7 34 DB [02:35:03]Write i2c OK [02:35:03]MH_I2C_Read... [02:35:04]OFD Sender: No OFD packet to send [02:35:04]*** Cut start [02:35:04]*** Partial cut [02:35:04]*** CUTSNS_PIN = 1 [02:35:04]*** CUTSNS_PIN = 0 [02:35:04]*** Brake cut motor [02:35:05]Read from MH i2c: 01 [02:35:05]MH_I2C_Read... [02:35:05]*** Stop cut motor [02:35:05]*** Cut end [02:35:05]Read from MH i2c: 01 07 00 [02:35:05]MH_I2C_Read... [02:35:05]Read from MH i2c: 01 07 00 A7 34 00 00 00 00 00 FF 0F F0 [02:35:05]process_action close_receipt done [02:35:05]requested_data is exist [02:35:05]produce_requested_data [02:35:05]requested_item fm.sn is exist - process it [02:35:05]wFMCommunicate request_size=4 [02:35:05]MH_SAM_APDU [02:35:05]CAPDU: 80 11 00 00 [02:35:05]Write to MH i2c: E2 08 00 A8 34 80 11 00 00 00 00 00 00 56 [02:35:05]Write i2c OK [02:35:05]MH_I2C_Read... [02:35:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:35:05]Read from MH i2c: E2 [02:35:05]MH_I2C_Read... [02:35:05]Read from MH i2c: E2 17 00 [02:35:05]MH_I2C_Read... [02:35:05]Read from MH i2c: E2 17 00 A8 34 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 A8 [02:35:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 90 00 [02:35:05]wFMCommunicate OK [02:35:05]requested_item fd.num is exist - process it [02:35:05]SAM_PROTO_GetFieldsCounters [02:35:05]wFMCommunicate request_size=4 [02:35:05]MH_SAM_APDU [02:35:05]CAPDU: 80 13 00 00 [02:35:05]Write to MH i2c: E2 08 00 A9 34 80 13 00 00 00 00 00 00 59 [02:35:05]Write i2c OK [02:35:05]MH_I2C_Read... [02:35:05]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [02:35:05]Read from MH i2c: E2 [02:35:05]MH_I2C_Read... [02:35:05]Read from MH i2c: E2 62 00 [02:35:05]MH_I2C_Read... [02:35:05]Read from MH i2c: E2 62 00 A9 34 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 35 57 00 00 0E 04 04 00 48 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 6A [02:35:05]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 34 34 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 39 37 35 35 10 04 04 00 35 57 00 00 0E 04 04 00 48 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 [02:35:05]wFMCommunicate OK [02:35:05]SAM_PROTO_GetFieldsCounters done [02:35:05]requested_item shift.num is exist - process it [02:35:05]requested_item shift.opened is exist - process it [02:35:05]req_shift_opened [02:35:05]FM_GetShiftState [02:35:05]SAM_PROTO_GetShiftState [02:35:05]wFMCommunicate request_size=4 [02:35:05]MH_SAM_APDU [02:35:05]CAPDU: 80 13 01 00 [02:35:05]Write to MH i2c: E2 08 00 AA 34 80 13 01 00 00 00 00 00 5B [02:35:05]Write i2c OK [02:35:05]MH_I2C_Read... [02:35:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:35:05]Read from MH i2c: E2 [02:35:05]MH_I2C_Read... [02:35:05]Read from MH i2c: E2 0E 00 [02:35:05]MH_I2C_Read... [02:35:05]Read from MH i2c: E2 0E 00 AA 34 00 09 00 01 4F 82 6F 66 00 00 00 00 90 00 0D [02:35:05]RAPDU: 09 00 01 4F 82 6F 66 00 00 00 00 90 00 [02:35:05]wFMCommunicate OK [02:35:05]SAM_PROTO_GetShiftState done [02:35:05]FM_GetShiftState done [02:35:05]req_shift_opened done [02:35:05]requested_item shift.open_date is exist - process it [02:35:05]req_shift_open_date [02:35:05]req_shift_open_date done [02:35:05]produce_requested_data done [02:35:05]produce_requested_data return {"fm.sn":"0000000000965344","fd.num":22325,"shift.num":328,"shift.opened":1,"shift.open_date":1718583887} [02:35:05]process_action_free close_receipt [02:35:05]json_value_free [02:35:05]json_value_free done [02:35:05]process_json_proto returns [02:35:05]Send response to host [02:35:05]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965344","fd.num":22325,"shift.num":328,"shift.opened":1,"shift.open_date":1718583887}}} [02:35:05]free response buf [02:35:05]execute_script done [02:35:05]execute_script returns [02:35:05]free content buf [02:35:05]Sock 8.Close socket [02:35:05]Sock 8.Thread stoped [02:35:09]OFD Sender: No OFD packet to send [02:35:14]OFD Sender: No OFD packet to send [02:35:19]OFD Sender: No OFD packet to send [02:35:24]OFD Sender: No OFD packet to send [02:35:29]OFD Sender: No OFD packet to send [02:35:34]OFD Sender: No OFD packet to send [02:35:39]OFD Sender: No OFD packet to send [02:35:44]OFD Sender: No OFD packet to send [02:35:49]OFD Sender: No OFD packet to send [02:35:54]OFD Sender: No OFD packet to send [02:35:59]OFD Sender: No OFD packet to send [02:36:04]OFD Sender: No OFD packet to send [02:36:09]OFD Sender: No OFD packet to send [02:36:14]OFD Sender: No OFD packet to send [02:36:19]OFD Sender: No OFD packet to send [02:36:24]OFD Sender: No OFD packet to send [02:36:29]OFD Sender: No OFD packet to send [02:36:34]OFD Sender: No OFD packet to send [02:36:39]OFD Sender: No OFD packet to send [02:36:44]OFD Sender: No OFD packet to send [02:36:49]OFD Sender: No OFD packet to send [02:36:54]OFD Sender: No OFD packet to send [02:36:59]OFD Sender: No OFD packet to send [02:37:04]OFD Sender: No OFD packet to send [02:37:09]OFD Sender: No OFD packet to send [02:37:14]OFD Sender: No OFD packet to send [02:37:19]OFD Sender: No OFD packet to send [02:37:24]OFD Sender: No OFD packet to send [02:37:29]OFD Sender: No OFD packet to send [02:37:34]OFD Sender: No OFD packet to send [02:37:39]OFD Sender: No OFD packet to send [02:37:44]OFD Sender: No OFD packet to send [02:37:49]OFD Sender: No OFD packet to send [02:37:54]OFD Sender: No OFD packet to send [02:37:59]OFD Sender: No OFD packet to send [02:38:04]OFD Sender: No OFD packet to send [02:38:09]OFD Sender: No OFD packet to send [02:38:14]OFD Sender: No OFD packet to send [02:38:19]OFD Sender: No OFD packet to send [02:38:24]OFD Sender: No OFD packet to send [02:38:29]OFD Sender: No OFD packet to send [02:38:34]OFD Sender: No OFD packet to send [02:38:39]OFD Sender: No OFD packet to send [02:38:44]OFD Sender: No OFD packet to send [02:38:49]OFD Sender: No OFD packet to send [02:38:54]OFD Sender: No OFD packet to send [02:38:59]OFD Sender: No OFD packet to send [02:39:04]OFD Sender: No OFD packet to send [02:39:09]OFD Sender: No OFD packet to send [02:39:14]OFD Sender: No OFD packet to send [02:39:19]OFD Sender: No OFD packet to send [02:39:24]OFD Sender: No OFD packet to send [02:39:29]OFD Sender: No OFD packet to send [02:39:34]OFD Sender: No OFD packet to send [02:39:39]OFD Sender: No OFD packet to send [02:39:44]OFD Sender: No OFD packet to send [02:39:49]OFD Sender: No OFD packet to send [02:39:54]OFD Sender: No OFD packet to send [02:39:59]OFD Sender: No OFD packet to send [02:40:04]OFD Sender: No OFD packet to send [02:40:09]OFD Sender: No OFD packet to send [02:40:14]OFD Sender: No OFD packet to send [02:40:19]OFD Sender: No OFD packet to send [02:40:24]OFD Sender: No OFD packet to send [02:40:29]OFD Sender: No OFD packet to send [02:40:34]OFD Sender: No OFD packet to send [02:40:39]OFD Sender: No OFD packet to send [02:40:44]OFD Sender: No OFD packet to send [02:40:49]OFD Sender: No OFD packet to send [02:40:54]OFD Sender: No OFD packet to send [02:40:59]OFD Sender: No OFD packet to send [02:41:04]OFD Sender: No OFD packet to send [02:41:09]OFD Sender: No OFD packet to send [02:41:14]OFD Sender: No OFD packet to send [02:41:19]OFD Sender: No OFD packet to send [02:41:24]OFD Sender: No OFD packet to send [02:41:29]OFD Sender: No OFD packet to send [02:41:34]OFD Sender: No OFD packet to send [02:41:39]OFD Sender: No OFD packet to send [02:41:44]OFD Sender: No OFD packet to send [02:41:49]OFD Sender: No OFD packet to send [02:41:54]OFD Sender: No OFD packet to send [02:41:59]OFD Sender: No OFD packet to send [02:42:04]OFD Sender: No OFD packet to send [02:42:09]OFD Sender: No OFD packet to send [02:42:14]OFD Sender: No OFD packet to send [02:42:19]OFD Sender: No OFD packet to send [02:42:24]OFD Sender: No OFD packet to send [02:42:29]OFD Sender: No OFD packet to send [02:42:34]OFD Sender: No OFD packet to send [02:42:39]OFD Sender: No OFD packet to send [02:42:44]OFD Sender: No OFD packet to send [02:42:49]OFD Sender: No OFD packet to send [02:42:54]OFD Sender: No OFD packet to send [02:42:59]OFD Sender: No OFD packet to send [02:43:04]OFD Sender: No OFD packet to send [02:43:09]OFD Sender: No OFD packet to send [02:43:14]OFD Sender: No OFD packet to send [02:43:19]OFD Sender: No OFD packet to send [02:43:24]OFD Sender: No OFD packet to send [02:43:29]OFD Sender: No OFD packet to send [02:43:34]OFD Sender: No OFD packet to send [02:43:39]OFD Sender: No OFD packet to send [02:43:44]OFD Sender: No OFD packet to send [02:43:49]OFD Sender: No OFD packet to send [02:43:54]OFD Sender: No OFD packet to send [02:43:59]OFD Sender: No OFD packet to send [02:44:04]OFD Sender: No OFD packet to send [02:44:09]OFD Sender: No OFD packet to send [02:44:14]OFD Sender: No OFD packet to send [02:44:19]OFD Sender: No OFD packet to send [02:44:24]OFD Sender: No OFD packet to send [02:44:29]OFD Sender: No OFD packet to send [02:44:34]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:40]recv_with_timeout no data received [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:36]recv_with_timeout no data received [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]recv_with_timeout no data received [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: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]ConnectInit Can't connect to host [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]recv_with_timeout no data received [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:54:25]ConnectInit Can't connect to host [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:30]OFD Sender: No OFD packet to send [02:55:35]OFD Sender: No OFD packet to send [02:55:40]OFD Sender: No OFD packet to send [02:55:50]OFD Sender: No OFD packet to send [02:55:54]recv_with_timeout no data received [02:55:55]OFD Sender: No OFD packet to send [02:56:00]OFD Sender: No OFD packet to send [02:56:05]OFD Sender: No OFD packet to send [02:56:10]OFD Sender: No OFD packet to send [02:56:15]OFD Sender: No OFD packet to send [02:56:16]recv_with_timeout no data received [02:56:20]OFD Sender: No OFD packet to send [02:56:25]OFD Sender: No OFD packet to send [02:56:30]OFD Sender: No OFD packet to send [02:56:35]OFD Sender: No OFD packet to send [02:56:40]OFD Sender: No OFD packet to send [02:56:45]OFD Sender: No OFD packet to send [02:56:50]OFD Sender: No OFD packet to send [02:56:55]OFD Sender: No OFD packet to send [02:57:00]OFD Sender: No OFD packet to send [02:57:05]OFD Sender: No OFD packet to send [02:57:10]OFD Sender: No OFD packet to send [02:57:15]OFD Sender: No OFD packet to send [02:57:20]OFD Sender: No OFD packet to send [02:57:25]OFD Sender: No OFD packet to send [02:57:30]OFD Sender: No OFD packet to send [02:57:35]OFD Sender: No OFD packet to send [02:57:40]OFD Sender: No OFD packet to send [02:57:45]OFD Sender: No OFD packet to send [02:57:50]OFD Sender: No OFD packet to send [02:58:00]OFD Sender: No OFD packet to send [02:58:05]OFD Sender: No OFD packet to send [02:58:10]OFD Sender: No OFD packet to send [02:58:15]OFD Sender: No OFD packet to send [02:58:20]OFD Sender: No OFD packet to send [02:58:25]OFD Sender: No OFD packet to send [02:58:30]OFD Sender: No OFD packet to send [02:58:35]OFD Sender: No OFD packet to send [02:58:40]OFD Sender: No OFD packet to send [02:58:45]OFD Sender: No OFD packet to send [02:58:50]OFD Sender: No OFD packet to send [02:58:55]OFD Sender: No OFD packet to send [02:59:00]OFD Sender: No OFD packet to send [02:59:05]OFD Sender: No OFD packet to send [02:59:10]OFD Sender: No OFD packet to send [02:59:15]OFD Sender: No OFD packet to send [02:59:20]OFD Sender: No OFD packet to send [02:59:25]OFD Sender: No OFD packet to send [02:59:30]OFD Sender: No OFD packet to send [02:59:35]OFD Sender: No OFD packet to send [02:59:40]OFD Sender: No OFD packet to send [02:59:45]OFD Sender: No OFD packet to send [02:59:50]OFD Sender: No OFD packet to send [02:59:55]OFD Sender: No OFD packet to send [03:00:00]OFD Sender: No OFD packet to send [03:00:05]OFD Sender: No OFD packet to send [03:00:10]OFD Sender: No OFD packet to send [03:00:11]ConnectInit Can't connect to host [03:00:15]OFD Sender: No OFD packet to send [03:00:20]OFD Sender: No OFD packet to send