[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:09]OFD Sender: No OFD packet to send [03:25:14]OFD Sender: No OFD packet to send [03:25:19]OFD Sender: No OFD packet to send [03:25:24]OFD Sender: No OFD packet to send [03:25:29]OFD Sender: No OFD packet to send [03:25:34]OFD Sender: No OFD packet to send [03:25:39]OFD Sender: No OFD packet to send [03:25:44]OFD Sender: No OFD packet to send [03:25:49]OFD Sender: No OFD packet to send [03:25:54]OFD Sender: No OFD packet to send [03:25:59]OFD Sender: No OFD packet to send [03:26:04]OFD Sender: No OFD packet to send [03:26:09]OFD Sender: No OFD packet to send [03:26:14]OFD Sender: No OFD packet to send [03:26:19]OFD Sender: No OFD packet to send [03:26:24]OFD Sender: No OFD packet to send [03:26:29]OFD Sender: No OFD packet to send [03:26:34]OFD Sender: No OFD packet to send [03:26:39]OFD Sender: No OFD packet to send [03:26: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: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:14]accept exits with 10 [03:28:14]New connection [03:28:14]New thread 3067473252 created [03:28:14]Thread 3067616612 joined [03:28:14]Waiting for new connection... [03:28:14] Sock 10.Parse request [03:28:14]Sock 10.Check first char [03:28:14]Sock 10.First char is OK [03:28:14]request: POST /json_proto HTTP/1.0 [03:28:14]Method: POST [03:28:14]URL: /json_proto [03:28:14]Method is POST - this is cgi request [03:28:14]url: /json_proto [03:28:14]query_string will be loaded in cgi processing [03:28:14]execute_cgi json_proto POST (null) [03:28:14]execute_cgi path=json_proto method=POST [03:28:14]POST find Content-Length [03:28:14]Host: 172.17.38.134:8080 [03:28:14]Content-Length: 638 [03:28:14]Content-Type: application/json [03:28:14] [03:28:14]POST finish read [03:28:14]Found Content-Length = 638 [03:28:14]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184334", "tax_sys" : 0, "items" : [ { "code": "4680036912698", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Gorilla \u0436/\u0431 0,45\u043B MINT", "price" : 110.00, "quantity" : 2.000, "sum" : 220.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 220.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [03:28:14]execute_script... [03:28: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)184334", "tax_sys" : 0, "items" : [ { "code": "4680036912698", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Gorilla \u0436/\u0431 0,45\u043B MINT", "price" : 110.00, "quantity" : 2.000, "sum" : 220.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 220.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [03:28:14]POST & json_proto [03:28:14]process_json_proto [03:28:14]json parsed OK: [03:28:14]protocol is kg_v1.0 [03:28:14]action value=close_receipt [03:28:14]process_action close_receipt [03:28:14]cmd_close_receipt [03:28:14]MH_GetDate [03:28:14]Write to MH i2c: F0 00 00 6C 0F 6A [03:28:14]Write i2c OK [03:28:14]MH_I2C_Read... [03:28:14]Read from MH i2c: F0 [03:28:14]MH_I2C_Read... [03:28:14]Read from MH i2c: F0 09 00 [03:28:14]MH_I2C_Read... [03:28:14]Read from MH i2c: F0 09 00 6C 0F 00 D2 44 76 66 13 9C 7C 64 F4 [03:28:14]GetLastDocTimeStamp 1719020289 [03:28:14]current date 1719026898 [03:28:14]FM_GetShiftState [03:28:14]SAM_PROTO_GetShiftState [03:28:14]wFMCommunicate request_size=4 [03:28:14]MH_SAM_APDU [03:28:14]CAPDU: 80 13 01 00 [03:28:14]Write to MH i2c: E2 08 00 6D 0F 80 13 01 00 00 00 00 00 F9 [03:28:14]Write i2c OK [03:28:14]MH_I2C_Read... [03:28:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:28:14]Read from MH i2c: E2 [03:28:14]MH_I2C_Read... [03:28:14]Read from MH i2c: E2 0E 00 [03:28:14]MH_I2C_Read... [03:28:14]Read from MH i2c: E2 0E 00 6D 0F 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 B3 [03:28:14]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [03:28:14]wFMCommunicate OK [03:28:14]SAM_PROTO_GetShiftState done [03:28:14]FM_GetShiftState done [03:28:14]opened in 1719016120 [03:28:14]opened+sec_in_day 1719102520 [03:28:14]quantity*price = 22000 [03:28:14]sum+1 = 22001 [03:28:14]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 220.00 НСП 1% : 1.95 НДС 12% : 23.36 Наличными: 220.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 3 22.06.2024 03:28 Смена: 327 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34577 ФПД: 47152679708420 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T032818&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34577&fm=47152679708420&tin=02508201610067®Number=0000000000092786&sum=22000 0 [03:28:15]StoreToDocumentArchive [03:28:15]shift 327 fd 34577 [03:28:15]save to /storage/0327/doc_00034577 [03:28:15]save last doc name /storage/0327/doc_00034577 to /storage/kkm_last_doc_name [03:28:15]save OK [03:28:15]Clear old archive folders... [03:28:15]ProcessDocumentItem done err = 0, tmpTLVsize=282 [03:28:15]tlvbuf is 015D7FA0 [03:28:15]SAM_PROTO_ClearQueue [03:28:15]wFMCommunicate request_size=4 [03:28:15]MH_SAM_APDU [03:28:15]CAPDU: 80 09 00 00 [03:28:15]Write to MH i2c: E2 08 00 7A 0F 80 09 00 00 00 00 00 00 FB [03:28:15]Write i2c OK [03:28:15]MH_I2C_Read... [03:28:15]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [03:28:15]Read from MH i2c: E2 [03:28:15]MH_I2C_Read... [03:28:15]Read from MH i2c: E2 03 00 [03:28:15]MH_I2C_Read... [03:28:15]Read from MH i2c: E2 03 00 7A 0F 00 90 00 FD [03:28:15]RAPDU: 90 00 [03:28:15]wFMCommunicate OK [03:28:15]SAM_PROTO_ClearQueue done [03:28:15]KKMCreateOFDPacket [03:28:15]OFDProtocolAddRootSTLVToBuf [03:28:15]FM_MakeSignedData [03:28:15]FM_MakeSignedData [03:28:15]SAM_PROTO_SignData [03:28:15]wFMCommunicate request_size=4 [03:28:15]MH_SAM_APDU [03:28:15]CAPDU: 80 0D 01 02 [03:28:15]Write to MH i2c: E2 08 00 7B 0F 80 0D 01 02 00 00 00 00 03 [03:28:15]Write i2c OK [03:28:15]MH_I2C_Read... [03:28:15]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [03:28:15]Read from MH i2c: E2 [03:28:15]MH_I2C_Read... [03:28:15]Read from MH i2c: E2 03 00 [03:28:15]MH_I2C_Read... [03:28:15]Read from MH i2c: E2 03 00 7B 0F 00 90 00 FE [03:28:15]RAPDU: 90 00 [03:28:15]wFMCommunicate OK [03:28:15]wFMCommunicate request_size=255 [03:28:15]MH_SAM_APDU [03:28:15]CAPDU: 80 0D 02 02 FA 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 36 38 30 30 33 36 39 31 32 36 39 38 06 04 28 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB 20 4D 49 4E 54 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F0 55 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 55 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C3 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 20 09 00 00 00 00 07 04 06 00 F0 55 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 D2 44 76 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 32 37 38 36 11 04 [03:28:15]Write to MH i2c: E2 02 01 7C 0F 80 0D 02 02 FA 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 36 38 30 30 33 36 39 31 32 36 39 38 06 04 28 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB 20 4D 49 4E 54 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F0 55 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 55 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C3 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 20 09 00 00 00 00 07 04 06 00 F0 55 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 D2 44 76 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 32 37 38 36 11 04 00 00 93 [03:28:15]Write i2c OK [03:28:15]MH_I2C_Read... [03:28:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:28:16]Read from MH i2c: E2 [03:28:16]MH_I2C_Read... [03:28:16]Read from MH i2c: E2 03 00 [03:28:16]MH_I2C_Read... [03:28:16]Read from MH i2c: E2 03 00 7C 0F 00 90 00 FF [03:28:16]RAPDU: 90 00 [03:28:16]wFMCommunicate OK [03:28:16]wFMCommunicate request_size=41 [03:28:16]MH_SAM_APDU [03:28:16]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 11 87 00 00 35 04 06 00 2A E2 96 B9 67 04 [03:28:16]Write to MH i2c: E2 2C 00 7D 0F 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 11 87 00 00 35 04 06 00 2A E2 96 B9 67 04 00 00 35 [03:28:16]Write i2c OK [03:28:16]MH_I2C_Read... [03:28:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:28:16]Read from MH i2c: E2 [03:28:16]MH_I2C_Read... [03:28:16]Read from MH i2c: E2 03 00 [03:28:16]MH_I2C_Read... [03:28:16]Read from MH i2c: E2 03 00 7D 0F 00 90 00 00 [03:28:16]RAPDU: 90 00 [03:28:16]wFMCommunicate OK [03:28:16]wFMCommunicate request_size=4 [03:28:16]MH_SAM_APDU [03:28:16]CAPDU: 80 0D 03 02 [03:28:16]Write to MH i2c: E2 08 00 7E 0F 80 0D 03 02 00 00 00 00 08 [03:28:16]Write i2c OK [03:28:16]MH_I2C_Read... [03:28:16]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [03:28:16]Read from MH i2c: E2 [03:28:16]MH_I2C_Read... [03:28:16]Read from MH i2c: E2 0B 00 [03:28:16]MH_I2C_Read... [03:28:16]Read from MH i2c: E2 0B 00 7E 0F 00 47 1B BE 29 70 EA A1 52 90 00 9F [03:28:16]RAPDU: 47 1B BE 29 70 EA A1 52 90 00 [03:28:16]wFMCommunicate OK [03:28:16]SAM_PROTO_SignData done [03:28:16]FM_MakeSignedData done [03:28:16]CreateOFDProtocolMessage [03:28:16]wFMCommunicate request_size=4 [03:28:16]MH_SAM_APDU [03:28:16]CAPDU: 80 11 00 00 [03:28:16]Write to MH i2c: E2 08 00 7F 0F 80 11 00 00 00 00 00 00 08 [03:28:16]Write i2c OK [03:28:16]MH_I2C_Read... [03:28:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [03:28:16]Read from MH i2c: E2 [03:28:16]MH_I2C_Read... [03:28:16]Read from MH i2c: E2 17 00 [03:28:16]MH_I2C_Read... [03:28:16]Read from MH i2c: E2 17 00 7F 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 5D [03:28:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [03:28:16]wFMCommunicate OK [03:28:16]CreateOFDProtocolMessage done [03:28:16]OFDSenderStorePacket 34577 [03:28:16]StoreOFDPacket docnum=34577 [03:28:16]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 2E 01 00 00 4F 4C 26 01 59 64 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 36 38 30 30 33 36 39 31 32 36 39 38 06 04 28 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB 20 4D 49 4E 54 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F0 55 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 55 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C3 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 20 09 00 00 00 00 07 04 06 00 F0 55 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 D2 44 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 11 87 00 00 35 04 06 00 2A E2 96 B9 67 04 47 1B BE 29 70 EA A1 52 [03:28:16]CheckFolder [03:28:16]dirname=/storage/ofd_packets [03:28:16]CheckFolder done [03:28:16]ProducePacketName [03:28:16]name=ofd_packets/00034577 [03:28:16]NVStorageSaveData ofd_packets/00034577 [03:28:16]File name is /storage/ofd_packets/00034577 [03:28:16]Write 332 bytes [03:28:16]NVStorageSaveData done [03:28:16]OFDSenderStorePacket done [03:28:16]KKMCreateOFDPacket done [03:28:16]NVStorageSaveData kkm_last_timestamp [03:28:16]File name is /storage/kkm_last_timestamp [03:28:16]Write 4 bytes [03:28:16]NVStorageSaveData done [03:28:16]ExternCall_PrintAddStr [03:28:16]wPrintStart [03:28:16]Write to MH i2c: 01 00 00 80 0F 8F [03:28:16]Write i2c OK [03:28:16]MH_I2C_Read... [03:28:16]Read from MH i2c: 01 [03:28:16]MH_I2C_Read... [03:28:16]Read from MH i2c: 01 07 00 [03:28:16]MH_I2C_Read... [03:28:16]Read from MH i2c: 01 07 00 80 0F 00 00 00 00 00 FF 0F A4 [03:28:16]RasterBufferAndPrint [03:28:16]line Счет N : (3)184334 [03:28:16]line ИНН: 02508201610067 [03:28:16]line Контрольно-Кассовый Чек [03:28:16]line ПРОДАЖА [03:28:16]line Товар: 4680036912698 [03:28:16]line Напиток Gorilla ж/б 0,45л MINT [03:28:16]line 2.000 * 110.00 [03:28:16]line = 220.00 [03:28:16]line НДС 12% НСП 1% [03:28:16]line > о реализуемом товаре [03:28:16]line ИТОГО: 220.00 [03:28:16]line НСП 1% : 1.95 [03:28:16]line НДС 12% : 23.36 [03:28:16]line Наличными: 220.00 [03:28:16]line Безнал.: 0.00 [03:28:16]line Место: АЗС № 120 "Партнер Нефть" [03:28:16]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [03:28:16]line СНО: Общий режим [03:28:16]line Чек 3 22.06.2024 03:28 [03:28:16]line Смена: 327 ФФД: 1.0 [03:28:16]line ЗНМ: 0300000172 [03:28:16]line РНМ: 0000000000092786 [03:28:16]line Версия ККМ: 001 [03:28:16]line ФМ: 0000000000875095 [03:28:16]line ФД: 34577 [03:28:16]line ФПД: 47152679708420 [03:28:16]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T032818&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34577&fm=47152679708420&tin=02508201610067®Number=0000000000092786&sum=22000 [03:28:16]line 0 [03:28:16]OFD Sender: Processing packet 34577 [packets to send 8, broken 7] [03:28:16]ProducePacketName [03:28:16]name=ofd_packets/00034577 [03:28:16]OFD Sender: To server: pG, [03:28:16]CommunicateWithHost lk.salyk.kg:30040 [03:28:16]ConnectInit lk.salyk.kg [03:28:16]written 0, free lines is 4095 [03:28:16]Connected sock=9 [03:28:16]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 2E 01 00 00 4F 4C 26 01 59 64 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 36 38 30 30 33 36 39 31 32 36 39 38 06 04 28 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB 20 4D 49 4E 54 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F0 55 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 55 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C3 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 20 09 00 00 00 00 07 04 06 00 F0 55 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 D2 44 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 11 87 00 00 35 04 06 00 2A E2 96 B9 67 04 47 1B BE 29 70 EA A1 52 [03:28:17]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 44 D1 47 00 B5 FA A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 11 87 00 00 F4 03 04 00 96 EB 75 66 B6 04 01 00 00 B2 8E 11 A6 C7 A2 17 0F [03:28:17]CommunicateWithHost err = 0 [03:28:17]CheckOFDResponse [03:28:17]1017 (14) - 77093643461234 [03:28:17]1041 (16) - 0000000000875095 [03:28:17]1040 (4) - 34577 [03:28:17]1012 (4) - 21.06.2024 21:07 [03:28:17]1206 (1) - 0 [03:28:17]OFD Sender: Remove packet 34577 [03:28:17]ProducePacketName [03:28:17]name=ofd_packets/00034577 [03:28:17]NVStorageDeleteData [03:28:17]Write to MH i2c: 01 00 00 A9 0F B8 [03:28:17]Write i2c OK [03:28:17]MH_I2C_Read... [03:28:17]Read from MH i2c: 01 [03:28:17]MH_I2C_Read... [03:28:17]Read from MH i2c: 01 07 00 [03:28:17]MH_I2C_Read... [03:28:17]Read from MH i2c: 01 07 00 A9 0F 00 00 00 00 00 F8 0C C3 [03:28:17]RasterBufferAndPrint [03:28:17]line [03:28:17]line [03:28:17]line [03:28:17]line [03:28:17]line [03:28:17]written 0, free lines is 3327 [03:28:17]MH_Cut [03:28:17]Write to MH i2c: D1 01 00 B0 0F 01 91 [03:28:17]Write i2c OK [03:28:17]MH_I2C_Read... [03:28:17]Read from MH i2c: D1 [03:28:17]MH_I2C_Read... [03:28:17]Read from MH i2c: D1 01 00 [03:28:17]MH_I2C_Read... [03:28:17]Read from MH i2c: D1 01 00 B0 0F 00 90 [03:28:17]Write to MH i2c: 01 00 00 B1 0F C0 [03:28:17]Write i2c OK [03:28:17]MH_I2C_Read... [03:28:17]OFD Sender: No OFD packet to send [03:28:17]*** Cut start [03:28:17]*** Partial cut [03:28:17]*** CUTSNS_PIN = 1 [03:28:17]*** CUTSNS_PIN = 0 [03:28:18]*** Brake cut motor [03:28:18]Read from MH i2c: 01 [03:28:18]MH_I2C_Read... [03:28:18]*** Stop cut motor [03:28:18]*** Cut end [03:28:18]Read from MH i2c: 01 07 00 [03:28:18]MH_I2C_Read... [03:28:18]Read from MH i2c: 01 07 00 B1 0F 00 00 00 00 00 FF 0F D5 [03:28:18]process_action close_receipt done [03:28:18]requested_data is exist [03:28:18]produce_requested_data [03:28:18]requested_item fm.sn is exist - process it [03:28:18]wFMCommunicate request_size=4 [03:28:18]MH_SAM_APDU [03:28:18]CAPDU: 80 11 00 00 [03:28:18]Write to MH i2c: E2 08 00 B2 0F 80 11 00 00 00 00 00 00 3B [03:28:18]Write i2c OK [03:28:18]MH_I2C_Read... [03:28:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [03:28:18]Read from MH i2c: E2 [03:28:18]MH_I2C_Read... [03:28:18]Read from MH i2c: E2 17 00 [03:28:18]MH_I2C_Read... [03:28:18]Read from MH i2c: E2 17 00 B2 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 90 [03:28:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [03:28:18]wFMCommunicate OK [03:28:18]requested_item fd.num is exist - process it [03:28:18]SAM_PROTO_GetFieldsCounters [03:28:18]wFMCommunicate request_size=4 [03:28:18]MH_SAM_APDU [03:28:18]CAPDU: 80 13 00 00 [03:28:18]Write to MH i2c: E2 08 00 B3 0F 80 13 00 00 00 00 00 00 3E [03:28:18]Write i2c OK [03:28:18]MH_I2C_Read... [03:28:18]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [03:28:18]Read from MH i2c: E2 [03:28:18]MH_I2C_Read... [03:28:18]Read from MH i2c: E2 62 00 [03:28:18]MH_I2C_Read... [03:28:18]Read from MH i2c: E2 62 00 B3 0F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 11 87 00 00 0E 04 04 00 47 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 51 [03:28:18]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 11 87 00 00 0E 04 04 00 47 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 [03:28:18]wFMCommunicate OK [03:28:18]SAM_PROTO_GetFieldsCounters done [03:28:18]requested_item shift.num is exist - process it [03:28:18]requested_item shift.opened is exist - process it [03:28:18]req_shift_opened [03:28:18]FM_GetShiftState [03:28:18]SAM_PROTO_GetShiftState [03:28:18]wFMCommunicate request_size=4 [03:28:18]MH_SAM_APDU [03:28:18]CAPDU: 80 13 01 00 [03:28:18]Write to MH i2c: E2 08 00 B4 0F 80 13 01 00 00 00 00 00 40 [03:28:18]Write i2c OK [03:28:18]MH_I2C_Read... [03:28:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:28:18]Read from MH i2c: E2 [03:28:18]MH_I2C_Read... [03:28:18]Read from MH i2c: E2 0E 00 [03:28:18]MH_I2C_Read... [03:28:18]Read from MH i2c: E2 0E 00 B4 0F 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 FA [03:28:18]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [03:28:18]wFMCommunicate OK [03:28:18]SAM_PROTO_GetShiftState done [03:28:18]FM_GetShiftState done [03:28:18]req_shift_opened done [03:28:18]requested_item shift.open_date is exist - process it [03:28:18]req_shift_open_date [03:28:18]req_shift_open_date done [03:28:18]produce_requested_data done [03:28:18]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34577,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120} [03:28:18]process_action_free close_receipt [03:28:18]json_value_free [03:28:18]json_value_free done [03:28:18]process_json_proto returns [03:28:18]Send response to host [03:28:18]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34577,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120}}} [03:28:18]free response buf [03:28:18]execute_script done [03:28:18]execute_script returns [03:28:18]free content buf [03:28:18]Sock 10.Close socket [03:28:18]Sock 10.Thread stoped [03:28:22]OFD Sender: No OFD packet to send [03:28:27]OFD Sender: No OFD packet to send [03:28:32]OFD Sender: No OFD packet to send [03:28:37]OFD Sender: No OFD packet to send [03:28:42]OFD Sender: No OFD packet to send [03:28:47]OFD Sender: No OFD packet to send [03:28:52]OFD Sender: No OFD packet to send [03:28:57]OFD Sender: No OFD packet to send [03:29:02]OFD Sender: No OFD packet to send [03:29:07]OFD Sender: No OFD packet to send [03:29:12]OFD Sender: No OFD packet to send [03:29:17]OFD Sender: No OFD packet to send [03:29:22]OFD Sender: No OFD packet to send [03:29:27]OFD Sender: No OFD packet to send [03:29:32]OFD Sender: No OFD packet to send [03:29:37]OFD Sender: No OFD packet to send [03:29:42]OFD Sender: No OFD packet to send [03:29:47]OFD Sender: No OFD packet to send [03:29:52]OFD Sender: No OFD packet to send [03:29:57]OFD Sender: No OFD packet to send [03:30:02]OFD Sender: No OFD packet to send [03:30:07]OFD Sender: No OFD packet to send [03:30:12]OFD Sender: No OFD packet to send [03:30:17]OFD Sender: No OFD packet to send [03:30:22]OFD Sender: No OFD packet to send [03:30:27]OFD Sender: No OFD packet to send [03:30:32]OFD Sender: No OFD packet to send [03:30:37]OFD Sender: No OFD packet to send [03:30:42]OFD Sender: No OFD packet to send [03:30:47]OFD Sender: No OFD packet to send [03:30:52]OFD Sender: No OFD packet to send [03:30:57]OFD Sender: No OFD packet to send [03:31:02]OFD Sender: No OFD packet to send [03:31:07]OFD Sender: No OFD packet to send [03:31:12]OFD Sender: No OFD packet to send [03:31:17]OFD Sender: No OFD packet to send [03:31:22]OFD Sender: No OFD packet to send [03:31:27]OFD Sender: No OFD packet to send [03:31:32]OFD Sender: No OFD packet to send [03:31:37]OFD Sender: No OFD packet to send [03:31:42]OFD Sender: No OFD packet to send [03:31:47]OFD Sender: No OFD packet to send [03:31:52]OFD Sender: No OFD packet to send [03:31:57]OFD Sender: No OFD packet to send [03:32:02]OFD Sender: No OFD packet to send [03:32:07]OFD Sender: No OFD packet to send [03:32:12]OFD Sender: No OFD packet to send [03:32:17]OFD Sender: No OFD packet to send [03:32:22]OFD Sender: No OFD packet to send [03:32:27]OFD Sender: No OFD packet to send [03:32:32]OFD Sender: No OFD packet to send [03:32:37]OFD Sender: No OFD packet to send [03:32:42]OFD Sender: No OFD packet to send [03:32:47]OFD Sender: No OFD packet to send [03:32:52]OFD Sender: No OFD packet to send [03:32:57]OFD Sender: No OFD packet to send [03:33:02]OFD Sender: No OFD packet to send [03:33:07]OFD Sender: No OFD packet to send [03:33:12]OFD Sender: No OFD packet to send [03:33:17]OFD Sender: No OFD packet to send [03:33:22]OFD Sender: No OFD packet to send [03:33:27]OFD Sender: No OFD packet to send [03:33:32]OFD Sender: No OFD packet to send [03:33:37]OFD Sender: No OFD packet to send [03:33:42]OFD Sender: No OFD packet to send [03:33:47]OFD Sender: No OFD packet to send [03:33:52]OFD Sender: No OFD packet to send [03:33:57]OFD Sender: No OFD packet to send [03:34:02]OFD Sender: No OFD packet to send [03:34:07]OFD Sender: No OFD packet to send [03:34:12]OFD Sender: No OFD packet to send [03:34:17]OFD Sender: No OFD packet to send [03:34:22]OFD Sender: No OFD packet to send [03:34:27]OFD Sender: No OFD packet to send [03:34:32]OFD Sender: No OFD packet to send [03:34:37]OFD Sender: No OFD packet to send [03:34:42]OFD Sender: No OFD packet to send [03:34:47]OFD Sender: No OFD packet to send [03:34:52]OFD Sender: No OFD packet to send [03:34:57]OFD Sender: No OFD packet to send [03:35:02]OFD Sender: No OFD packet to send [03:35:07]OFD Sender: No OFD packet to send [03:35:12]OFD Sender: No OFD packet to send [03:35:17]OFD Sender: No OFD packet to send [03:35:22]OFD Sender: No OFD packet to send [03:35:27]OFD Sender: No OFD packet to send [03:35:32]OFD Sender: No OFD packet to send [03:35:37]OFD Sender: No OFD packet to send [03:35:42]OFD Sender: No OFD packet to send [03:35:47]OFD Sender: No OFD packet to send [03:35:52]OFD Sender: No OFD packet to send [03:35:57]OFD Sender: No OFD packet to send [03:36:02]OFD Sender: No OFD packet to send [03:36:07]OFD Sender: No OFD packet to send [03:36:12]OFD Sender: No OFD packet to send [03:36:17]OFD Sender: No OFD packet to send [03:36:22]OFD Sender: No OFD packet to send [03:36:27]OFD Sender: No OFD packet to send [03:36:32]OFD Sender: No OFD packet to send [03:36:37]OFD Sender: No OFD packet to send [03:36:42]OFD Sender: No OFD packet to send [03:36:47]OFD Sender: No OFD packet to send [03:36:52]OFD Sender: No OFD packet to send [03:36:57]OFD Sender: No OFD packet to send [03:37:02]OFD Sender: No OFD packet to send [03:37:07]OFD Sender: No OFD packet to send [03:37:12]OFD Sender: No OFD packet to send [03:37:17]OFD Sender: No OFD packet to send [03:37:22]OFD Sender: No OFD packet to send [03:37:27]OFD Sender: No OFD packet to send [03:37:32]OFD Sender: No OFD packet to send [03:37:37]OFD Sender: No OFD packet to send [03:37:42]OFD Sender: No OFD packet to send [03:37:47]OFD Sender: No OFD packet to send [03:37:52]OFD Sender: No OFD packet to send [03:37:57]OFD Sender: No OFD packet to send [03:38:03]OFD Sender: No OFD packet to send [03:38:08]OFD Sender: No OFD packet to send [03:38:13]OFD Sender: No OFD packet to send [03:38:18]OFD Sender: No OFD packet to send [03:38:23]OFD Sender: No OFD packet to send [03:38:28]OFD Sender: No OFD packet to send [03:38:33]OFD Sender: No OFD packet to send [03:38:38]OFD Sender: No OFD packet to send [03:38:43]OFD Sender: No OFD packet to send [03:38:48]OFD Sender: No OFD packet to send [03:38:53]OFD Sender: No OFD packet to send [03:38:58]OFD Sender: No OFD packet to send [03:39:03]OFD Sender: No OFD packet to send [03:39:08]OFD Sender: No OFD packet to send [03:39:13]OFD Sender: No OFD packet to send [03:39:18]OFD Sender: No OFD packet to send [03:39:23]OFD Sender: No OFD packet to send [03:39:28]OFD Sender: No OFD packet to send [03:39:33]OFD Sender: No OFD packet to send [03:39:38]OFD Sender: No OFD packet to send [03:39:43]OFD Sender: No OFD packet to send [03:39:48]OFD Sender: No OFD packet to send [03:39:53]OFD Sender: No OFD packet to send [03:39:58]OFD Sender: No OFD packet to send [03:40:03]OFD Sender: No OFD packet to send [03:40:08]OFD Sender: No OFD packet to send [03:40:13]OFD Sender: No OFD packet to send [03:40:18]OFD Sender: No OFD packet to send [03:40:23]OFD Sender: No OFD packet to send [03:40:28]OFD Sender: No OFD packet to send [03:40:33]OFD Sender: No OFD packet to send [03:40:38]OFD Sender: No OFD packet to send [03:40:43]OFD Sender: No OFD packet to send [03:40:48]OFD Sender: No OFD packet to send [03:40:53]OFD Sender: No OFD packet to send [03:40:58]OFD Sender: No OFD packet to send [03:41:03]OFD Sender: No OFD packet to send [03:41:08]OFD Sender: No OFD packet to send [03:41:13]OFD Sender: No OFD packet to send [03:41:18]OFD Sender: No OFD packet to send [03:41:23]OFD Sender: No OFD packet to send [03:41:28]OFD Sender: No OFD packet to send [03:41:33]OFD Sender: No OFD packet to send [03:41:38]OFD Sender: No OFD packet to send [03:41:43]OFD Sender: No OFD packet to send [03:41:48]OFD Sender: No OFD packet to send [03:41:53]OFD Sender: No OFD packet to send [03:41:58]OFD Sender: No OFD packet to send [03:42:03]OFD Sender: No OFD packet to send [03:42:08]OFD Sender: No OFD packet to send [03:42:13]OFD Sender: No OFD packet to send [03:42:18]OFD Sender: No OFD packet to send [03:42:23]OFD Sender: No OFD packet to send [03:42:28]OFD Sender: No OFD packet to send [03:42:33]OFD Sender: No OFD packet to send [03:42:38]OFD Sender: No OFD packet to send [03:42:43]OFD Sender: No OFD packet to send [03:42:48]OFD Sender: No OFD packet to send [03:42:53]OFD Sender: No OFD packet to send [03:42:58]OFD Sender: No OFD packet to send [03:43:03]OFD Sender: No OFD packet to send [03:43:08]OFD Sender: No OFD packet to send [03:43:13]OFD Sender: No OFD packet to send [03:43:18]OFD Sender: No OFD packet to send [03:43:23]OFD Sender: No OFD packet to send [03:43:28]OFD Sender: No OFD packet to send [03:43:33]OFD Sender: No OFD packet to send [03:43:38]OFD Sender: No OFD packet to send [03:43:43]OFD Sender: No OFD packet to send [03:43:48]OFD Sender: No OFD packet to send [03:43:53]OFD Sender: No OFD packet to send [03:43:58]OFD Sender: No OFD packet to send [03:44:03]OFD Sender: No OFD packet to send [03:44:08]OFD Sender: No OFD packet to send [03:44:13]OFD Sender: No OFD packet to send [03:44:18]OFD Sender: No OFD packet to send [03:44:23]OFD Sender: No OFD packet to send [03:44:28]OFD Sender: No OFD packet to send [03:44:33]OFD Sender: No OFD packet to send [03:44:38]OFD Sender: No OFD packet to send [03:44:43]OFD Sender: No OFD packet to send [03:44:48]OFD Sender: No OFD packet to send [03:44:53]OFD Sender: No OFD packet to send [03:44:58]OFD Sender: No OFD packet to send [03:45:03]OFD Sender: No OFD packet to send [03:45:08]OFD Sender: No OFD packet to send [03:45:13]OFD Sender: No OFD packet to send [03:45:18]OFD Sender: No OFD packet to send [03:45:23]OFD Sender: No OFD packet to send [03:45:28]OFD Sender: No OFD packet to send [03:45:33]OFD Sender: No OFD packet to send [03:45:38]OFD Sender: No OFD packet to send [03:45:43]OFD Sender: No OFD packet to send [03:45:48]OFD Sender: No OFD packet to send [03:45:53]OFD Sender: No OFD packet to send [03:45:58]OFD Sender: No OFD packet to send [03:46:03]OFD Sender: No OFD packet to send [03:46:08]OFD Sender: No OFD packet to send [03:46:13]OFD Sender: No OFD packet to send [03:46:18]OFD Sender: No OFD packet to send [03:46:23]OFD Sender: No OFD packet to send [03:46:28]OFD Sender: No OFD packet to send [03:46:33]OFD Sender: No OFD packet to send [03:46:38]OFD Sender: No OFD packet to send [03:46:43]OFD Sender: No OFD packet to send [03:46:48]OFD Sender: No OFD packet to send [03:46:53]OFD Sender: No OFD packet to send [03:46:58]OFD Sender: No OFD packet to send [03:47:03]OFD Sender: No OFD packet to send [03:47:08]OFD Sender: No OFD packet to send [03:47:13]OFD Sender: No OFD packet to send [03:47:18]OFD Sender: No OFD packet to send [03:47:23]OFD Sender: No OFD packet to send [03:47:28]OFD Sender: No OFD packet to send [03:47:33]OFD Sender: No OFD packet to send [03:47:38]OFD Sender: No OFD packet to send [03:47:43]OFD Sender: No OFD packet to send [03:47:48]OFD Sender: No OFD packet to send [03:47:53]OFD Sender: No OFD packet to send [03:47:58]OFD Sender: No OFD packet to send [03:48:03]OFD Sender: No OFD packet to send [03:48:08]OFD Sender: No OFD packet to send [03:48:13]OFD Sender: No OFD packet to send [03:48:18]OFD Sender: No OFD packet to send [03:48:23]OFD Sender: No OFD packet to send [03:48:28]OFD Sender: No OFD packet to send [03:48:33]OFD Sender: No OFD packet to send [03:48:38]OFD Sender: No OFD packet to send [03:48:43]OFD Sender: No OFD packet to send [03:48:48]OFD Sender: No OFD packet to send [03:48:53]OFD Sender: No OFD packet to send [03:48:58]OFD Sender: No OFD packet to send [03:49:03]OFD Sender: No OFD packet to send [03:49:08]OFD Sender: No OFD packet to send [03:49:13]OFD Sender: No OFD packet to send [03:49:18]OFD Sender: No OFD packet to send [03:49:23]OFD Sender: No OFD packet to send [03:49:28]OFD Sender: No OFD packet to send [03:49:33]OFD Sender: No OFD packet to send [03:49:38]OFD Sender: No OFD packet to send [03:49:43]OFD Sender: No OFD packet to send [03:49:48]OFD Sender: No OFD packet to send [03:49:53]OFD Sender: No OFD packet to send [03:49:58]OFD Sender: No OFD packet to send [03:50:03]OFD Sender: No OFD packet to send [03:50:08]OFD Sender: No OFD packet to send [03:50:13]OFD Sender: No OFD packet to send [03:50:18]OFD Sender: No OFD packet to send [03:50:23]OFD Sender: No OFD packet to send [03:50:28]OFD Sender: No OFD packet to send [03:50:33]OFD Sender: No OFD packet to send [03:50:38]OFD Sender: No OFD packet to send [03:50:43]OFD Sender: No OFD packet to send [03:50:48]OFD Sender: No OFD packet to send [03:50:53]OFD Sender: No OFD packet to send [03:50:58]OFD Sender: No OFD packet to send [03:51:03]OFD Sender: No OFD packet to send [03:51:08]OFD Sender: No OFD packet to send [03:51:13]OFD Sender: No OFD packet to send [03:51:18]OFD Sender: No OFD packet to send [03:51:23]OFD Sender: No OFD packet to send [03:51:28]OFD Sender: No OFD packet to send [03:51:33]OFD Sender: No OFD packet to send [03:51:38]OFD Sender: No OFD packet to send [03:51:43]OFD Sender: No OFD packet to send [03:51:48]OFD Sender: No OFD packet to send [03:51:53]OFD Sender: No OFD packet to send [03:51:58]OFD Sender: No OFD packet to send [03:52:03]OFD Sender: No OFD packet to send [03:52:08]OFD Sender: No OFD packet to send [03:52:13]OFD Sender: No OFD packet to send [03:52:18]OFD Sender: No OFD packet to send [03:52:23]OFD Sender: No OFD packet to send [03:52:28]OFD Sender: No OFD packet to send [03:52:33]OFD Sender: No OFD packet to send [03:52:38]OFD Sender: No OFD packet to send [03:52:43]OFD Sender: No OFD packet to send [03:52:48]OFD Sender: No OFD packet to send [03:52:53]OFD Sender: No OFD packet to send [03:52:58]OFD Sender: No OFD packet to send [03:53:03]OFD Sender: No OFD packet to send [03:53:08]OFD Sender: No OFD packet to send [03:53:13]OFD Sender: No OFD packet to send [03:53:18]OFD Sender: No OFD packet to send [03:53:23]OFD Sender: No OFD packet to send [03:53:28]OFD Sender: No OFD packet to send [03:53:33]OFD Sender: No OFD packet to send [03:53:38]OFD Sender: No OFD packet to send [03:53:43]OFD Sender: No OFD packet to send [03:53:48]OFD Sender: No OFD packet to send [03:53:53]OFD Sender: No OFD packet to send [03:53:58]OFD Sender: No OFD packet to send [03:54:03]OFD Sender: No OFD packet to send [03:54:08]OFD Sender: No OFD packet to send [03:54:13]OFD Sender: No OFD packet to send [03:54:18]OFD Sender: No OFD packet to send [03:54:23]OFD Sender: No OFD packet to send [03:54:28]OFD Sender: No OFD packet to send [03:54:33]OFD Sender: No OFD packet to send [03:54:38]OFD Sender: No OFD packet to send [03:54:43]OFD Sender: No OFD packet to send [03:54:48]OFD Sender: No OFD packet to send [03:54:53]OFD Sender: No OFD packet to send [03:54:58]OFD Sender: No OFD packet to send [03:55:03]OFD Sender: No OFD packet to send [03:55:08]OFD Sender: No OFD packet to send [03:55:13]OFD Sender: No OFD packet to send [03:55:18]OFD Sender: No OFD packet to send [03:55:23]OFD Sender: No OFD packet to send [03:55:28]OFD Sender: No OFD packet to send [03:55:33]OFD Sender: No OFD packet to send [03:55:38]OFD Sender: No OFD packet to send [03:55:43]OFD Sender: No OFD packet to send [03:55:48]OFD Sender: No OFD packet to send [03:55:53]OFD Sender: No OFD packet to send [03:55:58]OFD Sender: No OFD packet to send [03:56:03]OFD Sender: No OFD packet to send [03:56:08]OFD Sender: No OFD packet to send [03:56:13]OFD Sender: No OFD packet to send [03:56:18]OFD Sender: No OFD packet to send [03:56:23]OFD Sender: No OFD packet to send [03:56:28]OFD Sender: No OFD packet to send [03:56:33]OFD Sender: No OFD packet to send [03:56:38]OFD Sender: No OFD packet to send [03:56:43]OFD Sender: No OFD packet to send [03:56:48]OFD Sender: No OFD packet to send [03:56:53]OFD Sender: No OFD packet to send [03:56:58]OFD Sender: No OFD packet to send [03:57:03]OFD Sender: No OFD packet to send [03:57:08]OFD Sender: No OFD packet to send [03:57:13]OFD Sender: No OFD packet to send [03:57:18]OFD Sender: No OFD packet to send [03:57:23]OFD Sender: No OFD packet to send [03:57:28]OFD Sender: No OFD packet to send [03:57:33]OFD Sender: No OFD packet to send [03:57:38]OFD Sender: No OFD packet to send [03:57:43]OFD Sender: No OFD packet to send [03:57:48]OFD Sender: No OFD packet to send [03:57:53]OFD Sender: No OFD packet to send [03:57:58]OFD Sender: No OFD packet to send [03:58:03]OFD Sender: No OFD packet to send [03:58:08]OFD Sender: No OFD packet to send [03:58:13]OFD Sender: No OFD packet to send [03:58:18]OFD Sender: No OFD packet to send [03:58:23]OFD Sender: No OFD packet to send [03:58:28]OFD Sender: No OFD packet to send [03:58:33]OFD Sender: No OFD packet to send [03:58:38]OFD Sender: No OFD packet to send [03:58:43]OFD Sender: No OFD packet to send [03:58:48]OFD Sender: No OFD packet to send [03:58:53]OFD Sender: No OFD packet to send [03:58:58]OFD Sender: No OFD packet to send [03:59:03]OFD Sender: No OFD packet to send [03:59:08]OFD Sender: No OFD packet to send [03:59:13]OFD Sender: No OFD packet to send [03:59:18]OFD Sender: No OFD packet to send [03:59:23]OFD Sender: No OFD packet to send [03:59:29]OFD Sender: No OFD packet to send [03:59:34]OFD Sender: No OFD packet to send [03:59:39]OFD Sender: No OFD packet to send [03:59:44]OFD Sender: No OFD packet to send [03:59:49]OFD Sender: No OFD packet to send [03:59:54]OFD Sender: No OFD packet to send [03:59:59]OFD Sender: No OFD packet to send [04:00:04]OFD Sender: No OFD packet to send [04:00:09]OFD Sender: No OFD packet to send [04:00:14]OFD Sender: No OFD packet to send [04:00:19]OFD Sender: No OFD packet to send [04:00:24]OFD Sender: No OFD packet to send [04:00:29]OFD Sender: No OFD packet to send [04:00:34]OFD Sender: No OFD packet to send [04:00:39]OFD Sender: No OFD packet to send [04:00:44]OFD Sender: No OFD packet to send [04:00:49]OFD Sender: No OFD packet to send [04:00:54]OFD Sender: No OFD packet to send [04:00:59]OFD Sender: No OFD packet to send [04:01:04]OFD Sender: No OFD packet to send [04:01:09]OFD Sender: No OFD packet to send [04:01:14]OFD Sender: No OFD packet to send [04:01:19]OFD Sender: No OFD packet to send [04:01:24]OFD Sender: No OFD packet to send [04:01:29]OFD Sender: No OFD packet to send [04:01:34]OFD Sender: No OFD packet to send [04:01:39]OFD Sender: No OFD packet to send [04:01:44]OFD Sender: No OFD packet to send [04:01:49]OFD Sender: No OFD packet to send [04:01:54]OFD Sender: No OFD packet to send [04:01:59]OFD Sender: No OFD packet to send [04:02:04]OFD Sender: No OFD packet to send [04:02:09]OFD Sender: No OFD packet to send [04:02:14]OFD Sender: No OFD packet to send [04:02:19]OFD Sender: No OFD packet to send [04:02:24]OFD Sender: No OFD packet to send [04:02:29]OFD Sender: No OFD packet to send [04:02:34]OFD Sender: No OFD packet to send [04:02:39]OFD Sender: No OFD packet to send [04:02:44]OFD Sender: No OFD packet to send [04:02:49]OFD Sender: No OFD packet to send [04:02:54]OFD Sender: No OFD packet to send [04:02:59]OFD Sender: No OFD packet to send [04:03:04]OFD Sender: No OFD packet to send [04:03:09]OFD Sender: No OFD packet to send [04:03:14]OFD Sender: No OFD packet to send [04:03:19]OFD Sender: No OFD packet to send [04:03:24]OFD Sender: No OFD packet to send [04:03:29]OFD Sender: No OFD packet to send [04:03:34]OFD Sender: No OFD packet to send [04:03:39]OFD Sender: No OFD packet to send [04:03:44]OFD Sender: No OFD packet to send [04:03:49]OFD Sender: No OFD packet to send [04:03:54]OFD Sender: No OFD packet to send [04:03:59]OFD Sender: No OFD packet to send [04:04:04]OFD Sender: No OFD packet to send [04:04:09]OFD Sender: No OFD packet to send [04:04:14]OFD Sender: No OFD packet to send [04:04:19]OFD Sender: No OFD packet to send [04:04:24]OFD Sender: No OFD packet to send [04:04:29]OFD Sender: No OFD packet to send [04:04:34]OFD Sender: No OFD packet to send [04:04:39]OFD Sender: No OFD packet to send [04:04:44]OFD Sender: No OFD packet to send [04:04:49]OFD Sender: No OFD packet to send [04:04:54]OFD Sender: No OFD packet to send [04:04:59]OFD Sender: No OFD packet to send [04:05:04]OFD Sender: No OFD packet to send [04:05:09]OFD Sender: No OFD packet to send [04:05:14]OFD Sender: No OFD packet to send [04:05:19]OFD Sender: No OFD packet to send [04:05:24]OFD Sender: No OFD packet to send [04:05:29]OFD Sender: No OFD packet to send [04:05:34]OFD Sender: No OFD packet to send [04:05:39]OFD Sender: No OFD packet to send [04:05:44]OFD Sender: No OFD packet to send [04:05:49]OFD Sender: No OFD packet to send [04:05:54]OFD Sender: No OFD packet to send [04:05:59]OFD Sender: No OFD packet to send [04:06:04]OFD Sender: No OFD packet to send [04:06:09]OFD Sender: No OFD packet to send [04:06:14]OFD Sender: No OFD packet to send [04:06:19]OFD Sender: No OFD packet to send [04:06:24]OFD Sender: No OFD packet to send [04:06:29]OFD Sender: No OFD packet to send [04:06:34]OFD Sender: No OFD packet to send [04:06:39]OFD Sender: No OFD packet to send [04:06:44]OFD Sender: No OFD packet to send [04:06:49]OFD Sender: No OFD packet to send [04:06:54]OFD Sender: No OFD packet to send [04:06:59]OFD Sender: No OFD packet to send [04:07:04]OFD Sender: No OFD packet to send [04:07:09]OFD Sender: No OFD packet to send [04:07:14]OFD Sender: No OFD packet to send [04:07:19]OFD Sender: No OFD packet to send [04:07:24]OFD Sender: No OFD packet to send [04:07:29]OFD Sender: No OFD packet to send [04:07:34]OFD Sender: No OFD packet to send [04:07:39]OFD Sender: No OFD packet to send [04:07:44]OFD Sender: No OFD packet to send [04:07:49]OFD Sender: No OFD packet to send [04:07:54]OFD Sender: No OFD packet to send [04:07:59]OFD Sender: No OFD packet to send [04:08:04]OFD Sender: No OFD packet to send [04:08:09]OFD Sender: No OFD packet to send [04:08:14]OFD Sender: No OFD packet to send [04:08:19]OFD Sender: No OFD packet to send [04:08:24]OFD Sender: No OFD packet to send [04:08:29]OFD Sender: No OFD packet to send [04:08:34]OFD Sender: No OFD packet to send [04:08:39]OFD Sender: No OFD packet to send [04:08:44]OFD Sender: No OFD packet to send [04:08:49]OFD Sender: No OFD packet to send [04:08:54]OFD Sender: No OFD packet to send [04:08:59]OFD Sender: No OFD packet to send [04:09:04]OFD Sender: No OFD packet to send [04:09:09]OFD Sender: No OFD packet to send [04:09:14]OFD Sender: No OFD packet to send [04:09:19]OFD Sender: No OFD packet to send [04:09:24]OFD Sender: No OFD packet to send [04:09:29]OFD Sender: No OFD packet to send [04:09:34]OFD Sender: No OFD packet to send [04:09:39]OFD Sender: No OFD packet to send [04:09:44]OFD Sender: No OFD packet to send [04:09:49]OFD Sender: No OFD packet to send [04:09:54]OFD Sender: No OFD packet to send [04:09:59]OFD Sender: No OFD packet to send [04:10:04]OFD Sender: No OFD packet to send [04:10:09]OFD Sender: No OFD packet to send [04:10:14]OFD Sender: No OFD packet to send [04:10:19]OFD Sender: No OFD packet to send [04:10:24]OFD Sender: No OFD packet to send [04:10:29]OFD Sender: No OFD packet to send [04:10:34]OFD Sender: No OFD packet to send [04:10:39]OFD Sender: No OFD packet to send [04:10:44]OFD Sender: No OFD packet to send [04:10:49]OFD Sender: No OFD packet to send [04:10:54]OFD Sender: No OFD packet to send [04:10:59]OFD Sender: No OFD packet to send [04:11:04]OFD Sender: No OFD packet to send [04:11:09]OFD Sender: No OFD packet to send [04:11:14]OFD Sender: No OFD packet to send [04:11:19]OFD Sender: No OFD packet to send [04:11:24]OFD Sender: No OFD packet to send [04:11:29]OFD Sender: No OFD packet to send [04:11:34]OFD Sender: No OFD packet to send [04:11:39]OFD Sender: No OFD packet to send [04:11:44]OFD Sender: No OFD packet to send [04:11:49]OFD Sender: No OFD packet to send [04:11:54]OFD Sender: No OFD packet to send [04:11:59]OFD Sender: No OFD packet to send [04:12:04]OFD Sender: No OFD packet to send [04:12:09]OFD Sender: No OFD packet to send [04:12:14]OFD Sender: No OFD packet to send [04:12:19]OFD Sender: No OFD packet to send [04:12:24]OFD Sender: No OFD packet to send [04:12:29]OFD Sender: No OFD packet to send [04:12:34]OFD Sender: No OFD packet to send [04:12:39]OFD Sender: No OFD packet to send [04:12:44]OFD Sender: No OFD packet to send [04:12:49]OFD Sender: No OFD packet to send [04:12:54]OFD Sender: No OFD packet to send [04:12:59]OFD Sender: No OFD packet to send [04:13:04]OFD Sender: No OFD packet to send [04:13:09]OFD Sender: No OFD packet to send [04:13:14]OFD Sender: No OFD packet to send [04:13:19]OFD Sender: No OFD packet to send [04:13:24]OFD Sender: No OFD packet to send [04:13:29]OFD Sender: No OFD packet to send [04:13:34]OFD Sender: No OFD packet to send [04:13:39]OFD Sender: No OFD packet to send [04:13:44]OFD Sender: No OFD packet to send [04:13:49]OFD Sender: No OFD packet to send [04:13:54]OFD Sender: No OFD packet to send [04:13:59]OFD Sender: No OFD packet to send [04:14:04]OFD Sender: No OFD packet to send [04:14:09]OFD Sender: No OFD packet to send [04:14:14]OFD Sender: No OFD packet to send [04:14:19]OFD Sender: No OFD packet to send [04:14:24]OFD Sender: No OFD packet to send [04:14:29]OFD Sender: No OFD packet to send [04:14:34]OFD Sender: No OFD packet to send [04:14:39]OFD Sender: No OFD packet to send [04:14:44]OFD Sender: No OFD packet to send [04:14:49]OFD Sender: No OFD packet to send [04:14:54]OFD Sender: No OFD packet to send [04:14:59]OFD Sender: No OFD packet to send [04:15:04]OFD Sender: No OFD packet to send [04:15:09]OFD Sender: No OFD packet to send [04:15:14]OFD Sender: No OFD packet to send [04:15:19]OFD Sender: No OFD packet to send [04:15:24]OFD Sender: No OFD packet to send [04:15:29]OFD Sender: No OFD packet to send [04:15:34]OFD Sender: No OFD packet to send [04:15:39]OFD Sender: No OFD packet to send [04:15:44]OFD Sender: No OFD packet to send [04:15:49]OFD Sender: No OFD packet to send [04:15:54]OFD Sender: No OFD packet to send [04:15:59]OFD Sender: No OFD packet to send [04:16:04]OFD Sender: No OFD packet to send [04:16:09]OFD Sender: No OFD packet to send [04:16:14]OFD Sender: No OFD packet to send [04:16:19]OFD Sender: No OFD packet to send [04:16:24]OFD Sender: No OFD packet to send [04:16:29]OFD Sender: No OFD packet to send [04:16:34]OFD Sender: No OFD packet to send [04:16:39]OFD Sender: No OFD packet to send [04:16:44]OFD Sender: No OFD packet to send [04:16:49]OFD Sender: No OFD packet to send [04:16:54]OFD Sender: No OFD packet to send [04:16:59]OFD Sender: No OFD packet to send [04:17:04]OFD Sender: No OFD packet to send [04:17:09]OFD Sender: No OFD packet to send [04:17:14]OFD Sender: No OFD packet to send [04:17:19]OFD Sender: No OFD packet to send [04:17:24]OFD Sender: No OFD packet to send [04:17:29]OFD Sender: No OFD packet to send [04:17:34]OFD Sender: No OFD packet to send [04:17:39]OFD Sender: No OFD packet to send [04:17:44]OFD Sender: No OFD packet to send [04:17:49]OFD Sender: No OFD packet to send [04:17:54]OFD Sender: No OFD packet to send [04:17:59]OFD Sender: No OFD packet to send [04:18:04]OFD Sender: No OFD packet to send [04:18:09]OFD Sender: No OFD packet to send [04:18:14]OFD Sender: No OFD packet to send [04:18:19]OFD Sender: No OFD packet to send [04:18:24]OFD Sender: No OFD packet to send [04:18:29]OFD Sender: No OFD packet to send [04:18:34]OFD Sender: No OFD packet to send [04:18:39]OFD Sender: No OFD packet to send [04:18:44]OFD Sender: No OFD packet to send [04:18:49]OFD Sender: No OFD packet to send [04:18:54]OFD Sender: No OFD packet to send [04:18:59]OFD Sender: No OFD packet to send [04:19:04]OFD Sender: No OFD packet to send [04:19:09]OFD Sender: No OFD packet to send [04:19:14]OFD Sender: No OFD packet to send [04:19:19]OFD Sender: No OFD packet to send [04:19:24]OFD Sender: No OFD packet to send [04:19:29]OFD Sender: No OFD packet to send [04:19:34]OFD Sender: No OFD packet to send [04:19:39]OFD Sender: No OFD packet to send [04:19:44]OFD Sender: No OFD packet to send [04:19:49]OFD Sender: No OFD packet to send [04:19:54]OFD Sender: No OFD packet to send [04:19:59]OFD Sender: No OFD packet to send [04:20:04]OFD Sender: No OFD packet to send [04:20:09]OFD Sender: No OFD packet to send [04:20:14]OFD Sender: No OFD packet to send [04:20:19]OFD Sender: No OFD packet to send [04:20:24]OFD Sender: No OFD packet to send [04:20:29]OFD Sender: No OFD packet to send [04:20:34]OFD Sender: No OFD packet to send [04:20:39]OFD Sender: No OFD packet to send [04:20:44]OFD Sender: No OFD packet to send [04:20:49]OFD Sender: No OFD packet to send [04:20:54]OFD Sender: No OFD packet to send [04:21:00]OFD Sender: No OFD packet to send [04:21:05]OFD Sender: No OFD packet to send [04:21:10]OFD Sender: No OFD packet to send [04:21:15]OFD Sender: No OFD packet to send [04:21:20]OFD Sender: No OFD packet to send [04:21:25]OFD Sender: No OFD packet to send [04:21:30]OFD Sender: No OFD packet to send [04:21:35]OFD Sender: No OFD packet to send [04:21:40]OFD Sender: No OFD packet to send [04:21:45]OFD Sender: No OFD packet to send [04:21:50]OFD Sender: No OFD packet to send [04:21:55]OFD Sender: No OFD packet to send [04:22:00]OFD Sender: No OFD packet to send [04:22:05]OFD Sender: No OFD packet to send [04:22:10]OFD Sender: No OFD packet to send [04:22:15]OFD Sender: No OFD packet to send [04:22:20]OFD Sender: No OFD packet to send [04:22:25]OFD Sender: No OFD packet to send [04:22:30]OFD Sender: No OFD packet to send [04:22:35]OFD Sender: No OFD packet to send [04:22:40]OFD Sender: No OFD packet to send [04:22:45]OFD Sender: No OFD packet to send [04:22:50]OFD Sender: No OFD packet to send [04:22:55]OFD Sender: No OFD packet to send [04:23:00]OFD Sender: No OFD packet to send [04:23:05]OFD Sender: No OFD packet to send [04:23:10]OFD Sender: No OFD packet to send [04:23:15]OFD Sender: No OFD packet to send [04:23:20]OFD Sender: No OFD packet to send [04:23:25]OFD Sender: No OFD packet to send [04:23:30]OFD Sender: No OFD packet to send [04:23:35]OFD Sender: No OFD packet to send [04:23:40]OFD Sender: No OFD packet to send [04:23:45]OFD Sender: No OFD packet to send [04:23:50]OFD Sender: No OFD packet to send [04:23:55]OFD Sender: No OFD packet to send [04:24:00]OFD Sender: No OFD packet to send [04:24:05]OFD Sender: No OFD packet to send [04:24:10]OFD Sender: No OFD packet to send [04:24:15]OFD Sender: No OFD packet to send [04:24:20]OFD Sender: No OFD packet to send [04:24:25]OFD Sender: No OFD packet to send [04:24:30]OFD Sender: No OFD packet to send [04:24:35]OFD Sender: No OFD packet to send [04:24:40]OFD Sender: No OFD packet to send [04:24:45]OFD Sender: No OFD packet to send [04:24:50]OFD Sender: No OFD packet to send [04:24:55]OFD Sender: No OFD packet to send [04:25:00]OFD Sender: No OFD packet to send [04:25:05]OFD Sender: No OFD packet to send [04:25:10]OFD Sender: No OFD packet to send [04:25:15]OFD Sender: No OFD packet to send [04:25:20]OFD Sender: No OFD packet to send [04:25:25]OFD Sender: No OFD packet to send [04:25:30]OFD Sender: No OFD packet to send [04:25:35]OFD Sender: No OFD packet to send [04:25:40]OFD Sender: No OFD packet to send [04:25:45]OFD Sender: No OFD packet to send [04:25:50]OFD Sender: No OFD packet to send [04:25:55]OFD Sender: No OFD packet to send [04:26:00]OFD Sender: No OFD packet to send [04:26:05]OFD Sender: No OFD packet to send [04:26:10]OFD Sender: No OFD packet to send [04:26:15]OFD Sender: No OFD packet to send [04:26:20]OFD Sender: No OFD packet to send [04:26:25]OFD Sender: No OFD packet to send [04:26:30]OFD Sender: No OFD packet to send [04:26:35]OFD Sender: No OFD packet to send [04:26:40]OFD Sender: No OFD packet to send [04:26:45]OFD Sender: No OFD packet to send [04:26:50]OFD Sender: No OFD packet to send [04:26:55]OFD Sender: No OFD packet to send [04:27:00]OFD Sender: No OFD packet to send [04:27:05]OFD Sender: No OFD packet to send [04:27:10]OFD Sender: No OFD packet to send [04:27:15]OFD Sender: No OFD packet to send [04:27:20]OFD Sender: No OFD packet to send [04:27:25]OFD Sender: No OFD packet to send [04:27:30]OFD Sender: No OFD packet to send [04:27:35]OFD Sender: No OFD packet to send [04:27:40]OFD Sender: No OFD packet to send [04:27:45]OFD Sender: No OFD packet to send [04:27:50]OFD Sender: No OFD packet to send [04:27:55]OFD Sender: No OFD packet to send [04:28:00]OFD Sender: No OFD packet to send [04:28:05]OFD Sender: No OFD packet to send [04:28:10]OFD Sender: No OFD packet to send [04:28:15]OFD Sender: No OFD packet to send [04:28:20]OFD Sender: No OFD packet to send [04:28:25]OFD Sender: No OFD packet to send [04:28:30]OFD Sender: No OFD packet to send [04:28:35]OFD Sender: No OFD packet to send [04:28:40]OFD Sender: No OFD packet to send [04:28:45]OFD Sender: No OFD packet to send [04:28:50]OFD Sender: No OFD packet to send [04:28:55]OFD Sender: No OFD packet to send [04:29:00]OFD Sender: No OFD packet to send [04:29:05]OFD Sender: No OFD packet to send [04:29:10]OFD Sender: No OFD packet to send [04:29:15]OFD Sender: No OFD packet to send [04:29:20]OFD Sender: No OFD packet to send [04:29:25]OFD Sender: No OFD packet to send [04:29:30]OFD Sender: No OFD packet to send [04:29:35]OFD Sender: No OFD packet to send [04:29:40]OFD Sender: No OFD packet to send [04:29:45]OFD Sender: No OFD packet to send [04:29:50]OFD Sender: No OFD packet to send [04:29:55]OFD Sender: No OFD packet to send [04:30:00]OFD Sender: No OFD packet to send [04:30:05]OFD Sender: No OFD packet to send [04:30:10]OFD Sender: No OFD packet to send [04:30:15]OFD Sender: No OFD packet to send [04:30:20]OFD Sender: No OFD packet to send [04:30:25]OFD Sender: No OFD packet to send [04:30:30]OFD Sender: No OFD packet to send [04:30:35]OFD Sender: No OFD packet to send [04:30:40]OFD Sender: No OFD packet to send [04:30:45]OFD Sender: No OFD packet to send [04:30:50]OFD Sender: No OFD packet to send [04:30:55]OFD Sender: No OFD packet to send [04:31:00]OFD Sender: No OFD packet to send [04:31:05]OFD Sender: No OFD packet to send [04:31:10]OFD Sender: No OFD packet to send [04:31:15]OFD Sender: No OFD packet to send [04:31:20]OFD Sender: No OFD packet to send [04:31:25]OFD Sender: No OFD packet to send [04:31:30]OFD Sender: No OFD packet to send [04:31:35]OFD Sender: No OFD packet to send [04:31:40]OFD Sender: No OFD packet to send [04:31:45]OFD Sender: No OFD packet to send [04:31:50]OFD Sender: No OFD packet to send [04:31:55]OFD Sender: No OFD packet to send [04:32:00]OFD Sender: No OFD packet to send [04:32:05]OFD Sender: No OFD packet to send [04:32:10]OFD Sender: No OFD packet to send [04:32:15]OFD Sender: No OFD packet to send [04:32:20]OFD Sender: No OFD packet to send [04:32:25]OFD Sender: No OFD packet to send [04:32:30]OFD Sender: No OFD packet to send [04:32:35]OFD Sender: No OFD packet to send [04:32:40]OFD Sender: No OFD packet to send [04:32:45]OFD Sender: No OFD packet to send [04:32:50]OFD Sender: No OFD packet to send [04:32:55]OFD Sender: No OFD packet to send [04:33:00]OFD Sender: No OFD packet to send [04:33:05]OFD Sender: No OFD packet to send [04:33:10]OFD Sender: No OFD packet to send [04:33:15]OFD Sender: No OFD packet to send [04:33:20]OFD Sender: No OFD packet to send [04:33:25]OFD Sender: No OFD packet to send [04:33:30]OFD Sender: No OFD packet to send [04:33:35]OFD Sender: No OFD packet to send [04:33:40]OFD Sender: No OFD packet to send [04:33:45]OFD Sender: No OFD packet to send [04:33:50]OFD Sender: No OFD packet to send [04:33:55]OFD Sender: No OFD packet to send [04:34:00]OFD Sender: No OFD packet to send [04:34:05]OFD Sender: No OFD packet to send [04:34:10]OFD Sender: No OFD packet to send [04:34:15]OFD Sender: No OFD packet to send [04:34:20]OFD Sender: No OFD packet to send [04:34:25]OFD Sender: No OFD packet to send [04:34:30]OFD Sender: No OFD packet to send [04:34:35]OFD Sender: No OFD packet to send [04:34:40]OFD Sender: No OFD packet to send [04:34:45]OFD Sender: No OFD packet to send [04:34:50]OFD Sender: No OFD packet to send [04:34:55]OFD Sender: No OFD packet to send [04:35:00]OFD Sender: No OFD packet to send [04:35:05]OFD Sender: No OFD packet to send [04:35:10]OFD Sender: No OFD packet to send [04:35:15]OFD Sender: No OFD packet to send [04:35:20]OFD Sender: No OFD packet to send [04:35:25]OFD Sender: No OFD packet to send [04:35:30]OFD Sender: No OFD packet to send [04:35:35]OFD Sender: No OFD packet to send [04:35:40]OFD Sender: No OFD packet to send [04:35:45]OFD Sender: No OFD packet to send [04:35:50]OFD Sender: No OFD packet to send [04:35:55]OFD Sender: No OFD packet to send [04:36:00]OFD Sender: No OFD packet to send [04:36:05]OFD Sender: No OFD packet to send [04:36:10]OFD Sender: No OFD packet to send [04:36:15]OFD Sender: No OFD packet to send [04:36:20]OFD Sender: No OFD packet to send [04:36:25]OFD Sender: No OFD packet to send [04:36:30]OFD Sender: No OFD packet to send [04:36:35]OFD Sender: No OFD packet to send [04:36:40]OFD Sender: No OFD packet to send [04:36:45]OFD Sender: No OFD packet to send [04:36:50]OFD Sender: No OFD packet to send [04:36:55]OFD Sender: No OFD packet to send [04:37:00]OFD Sender: No OFD packet to send [04:37:05]OFD Sender: No OFD packet to send [04:37:10]OFD Sender: No OFD packet to send [04:37:15]OFD Sender: No OFD packet to send [04:37:20]OFD Sender: No OFD packet to send [04:37:25]OFD Sender: No OFD packet to send [04:37:30]OFD Sender: No OFD packet to send [04:37:35]OFD Sender: No OFD packet to send [04:37:40]OFD Sender: No OFD packet to send [04:37:45]OFD Sender: No OFD packet to send [04:37:50]OFD Sender: No OFD packet to send [04:37:55]OFD Sender: No OFD packet to send [04:38:00]OFD Sender: No OFD packet to send [04:38:05]OFD Sender: No OFD packet to send [04:38:10]OFD Sender: No OFD packet to send [04:38:15]OFD Sender: No OFD packet to send [04:38:20]OFD Sender: No OFD packet to send [04:38:25]OFD Sender: No OFD packet to send [04:38:30]OFD Sender: No OFD packet to send [04:38:35]OFD Sender: No OFD packet to send [04:38:40]OFD Sender: No OFD packet to send [04:38:45]OFD Sender: No OFD packet to send [04:38:50]OFD Sender: No OFD packet to send [04:38:55]OFD Sender: No OFD packet to send [04:39:00]OFD Sender: No OFD packet to send [04:39:05]OFD Sender: No OFD packet to send [04:39:10]OFD Sender: No OFD packet to send [04:39:15]OFD Sender: No OFD packet to send [04:39:20]OFD Sender: No OFD packet to send [04:39:25]OFD Sender: No OFD packet to send [04:39:30]OFD Sender: No OFD packet to send [04:39:35]OFD Sender: No OFD packet to send [04:39:40]OFD Sender: No OFD packet to send [04:39:45]OFD Sender: No OFD packet to send [04:39:50]OFD Sender: No OFD packet to send [04:39:55]OFD Sender: No OFD packet to send [04:40:00]OFD Sender: No OFD packet to send [04:40:05]OFD Sender: No OFD packet to send [04:40:10]OFD Sender: No OFD packet to send [04:40:15]OFD Sender: No OFD packet to send [04:40:20]OFD Sender: No OFD packet to send [04:40:25]OFD Sender: No OFD packet to send [04:40:30]OFD Sender: No OFD packet to send [04:40:35]OFD Sender: No OFD packet to send [04:40:40]OFD Sender: No OFD packet to send [04:40:45]OFD Sender: No OFD packet to send [04:40:50]OFD Sender: No OFD packet to send [04:40:55]OFD Sender: No OFD packet to send [04:41:00]OFD Sender: No OFD packet to send [04:41:05]OFD Sender: No OFD packet to send [04:41:10]OFD Sender: No OFD packet to send [04:41:15]OFD Sender: No OFD packet to send [04:41:20]OFD Sender: No OFD packet to send [04:41:25]OFD Sender: No OFD packet to send [04:41:30]OFD Sender: No OFD packet to send [04:41:35]OFD Sender: No OFD packet to send [04:41:40]OFD Sender: No OFD packet to send [04:41:45]OFD Sender: No OFD packet to send [04:41:50]OFD Sender: No OFD packet to send [04:41:55]OFD Sender: No OFD packet to send [04:42:00]OFD Sender: No OFD packet to send [04:42:05]OFD Sender: No OFD packet to send [04:42:10]OFD Sender: No OFD packet to send [04:42:15]OFD Sender: No OFD packet to send [04:42:20]OFD Sender: No OFD packet to send [04:42:25]OFD Sender: No OFD packet to send [04:42:31]OFD Sender: No OFD packet to send [04:42:36]OFD Sender: No OFD packet to send [04:42:41]OFD Sender: No OFD packet to send [04:42:46]OFD Sender: No OFD packet to send [04:42:51]OFD Sender: No OFD packet to send [04:42:56]OFD Sender: No OFD packet to send [04:43:01]OFD Sender: No OFD packet to send [04:43:06]OFD Sender: No OFD packet to send [04:43:11]OFD Sender: No OFD packet to send [04:43:16]OFD Sender: No OFD packet to send [04:43:21]OFD Sender: No OFD packet to send [04:43:26]OFD Sender: No OFD packet to send [04:43:31]OFD Sender: No OFD packet to send [04:43:36]OFD Sender: No OFD packet to send [04:43:41]OFD Sender: No OFD packet to send [04:43:46]OFD Sender: No OFD packet to send [04:43:51]OFD Sender: No OFD packet to send [04:43:56]OFD Sender: No OFD packet to send [04:44:01]OFD Sender: No OFD packet to send [04:44:06]OFD Sender: No OFD packet to send [04:44:11]OFD Sender: No OFD packet to send [04:44:16]OFD Sender: No OFD packet to send [04:44:21]OFD Sender: No OFD packet to send [04:44:26]OFD Sender: No OFD packet to send [04:44:31]OFD Sender: No OFD packet to send [04:44:36]OFD Sender: No OFD packet to send [04:44:41]OFD Sender: No OFD packet to send [04:44:46]OFD Sender: No OFD packet to send [04:44:51]OFD Sender: No OFD packet to send [04:44:56]OFD Sender: No OFD packet to send [04:45:01]OFD Sender: No OFD packet to send [04:45:06]OFD Sender: No OFD packet to send [04:45:11]OFD Sender: No OFD packet to send [04:45:16]OFD Sender: No OFD packet to send [04:45:21]OFD Sender: No OFD packet to send [04:45:26]OFD Sender: No OFD packet to send [04:45:31]OFD Sender: No OFD packet to send [04:45:36]OFD Sender: No OFD packet to send [04:45:41]OFD Sender: No OFD packet to send [04:45:46]OFD Sender: No OFD packet to send [04:45:51]OFD Sender: No OFD packet to send [04:45:56]OFD Sender: No OFD packet to send [04:46:01]OFD Sender: No OFD packet to send [04:46:06]OFD Sender: No OFD packet to send [04:46:11]OFD Sender: No OFD packet to send [04:46:16]OFD Sender: No OFD packet to send [04:46:21]OFD Sender: No OFD packet to send [04:46:26]OFD Sender: No OFD packet to send [04:46:31]OFD Sender: No OFD packet to send [04:46:36]OFD Sender: No OFD packet to send [04:46:41]OFD Sender: No OFD packet to send [04:46:46]OFD Sender: No OFD packet to send [04:46:51]OFD Sender: No OFD packet to send [04:46:56]OFD Sender: No OFD packet to send [04:47:01]OFD Sender: No OFD packet to send [04:47:06]OFD Sender: No OFD packet to send [04:47:11]OFD Sender: No OFD packet to send [04:47:16]OFD Sender: No OFD packet to send [04:47:21]OFD Sender: No OFD packet to send [04:47:26]OFD Sender: No OFD packet to send [04:47:31]OFD Sender: No OFD packet to send [04:47:36]OFD Sender: No OFD packet to send [04:47:41]OFD Sender: No OFD packet to send [04:47:46]OFD Sender: No OFD packet to send [04:47:51]OFD Sender: No OFD packet to send [04:47:56]OFD Sender: No OFD packet to send [04:48:01]OFD Sender: No OFD packet to send [04:48:06]OFD Sender: No OFD packet to send [04:48:11]OFD Sender: No OFD packet to send [04:48:16]OFD Sender: No OFD packet to send [04:48:21]OFD Sender: No OFD packet to send [04:48:26]OFD Sender: No OFD packet to send [04:48:31]OFD Sender: No OFD packet to send [04:48:36]OFD Sender: No OFD packet to send [04:48:41]OFD Sender: No OFD packet to send [04:48:46]OFD Sender: No OFD packet to send [04:48:51]OFD Sender: No OFD packet to send [04:48:56]OFD Sender: No OFD packet to send [04:49:01]OFD Sender: No OFD packet to send [04:49:06]OFD Sender: No OFD packet to send [04:49:11]OFD Sender: No OFD packet to send [04:49:16]OFD Sender: No OFD packet to send [04:49:21]OFD Sender: No OFD packet to send [04:49:26]OFD Sender: No OFD packet to send [04:49:31]OFD Sender: No OFD packet to send [04:49:36]OFD Sender: No OFD packet to send [04:49:41]OFD Sender: No OFD packet to send [04:49:46]OFD Sender: No OFD packet to send [04:49:51]OFD Sender: No OFD packet to send [04:49:56]OFD Sender: No OFD packet to send [04:50:01]OFD Sender: No OFD packet to send [04:50:06]OFD Sender: No OFD packet to send [04:50:11]OFD Sender: No OFD packet to send [04:50:16]OFD Sender: No OFD packet to send [04:50:21]OFD Sender: No OFD packet to send [04:50:26]OFD Sender: No OFD packet to send [04:50:31]OFD Sender: No OFD packet to send [04:50:36]OFD Sender: No OFD packet to send [04:50:41]OFD Sender: No OFD packet to send [04:50:46]OFD Sender: No OFD packet to send [04:50:51]OFD Sender: No OFD packet to send [04:50:56]OFD Sender: No OFD packet to send [04:51:01]OFD Sender: No OFD packet to send [04:51:06]OFD Sender: No OFD packet to send [04:51:11]OFD Sender: No OFD packet to send [04:51:16]OFD Sender: No OFD packet to send [04:51:21]OFD Sender: No OFD packet to send [04:51:26]OFD Sender: No OFD packet to send [04:51:31]OFD Sender: No OFD packet to send [04:51:36]OFD Sender: No OFD packet to send [04:51:41]OFD Sender: No OFD packet to send [04:51:46]OFD Sender: No OFD packet to send [04:51:51]OFD Sender: No OFD packet to send [04:51:56]OFD Sender: No OFD packet to send [04:52:01]OFD Sender: No OFD packet to send [04:52:06]OFD Sender: No OFD packet to send [04:52:11]OFD Sender: No OFD packet to send [04:52:16]OFD Sender: No OFD packet to send [04:52:21]OFD Sender: No OFD packet to send [04:52:26]OFD Sender: No OFD packet to send [04:52:31]OFD Sender: No OFD packet to send [04:52:36]OFD Sender: No OFD packet to send [04:52:41]OFD Sender: No OFD packet to send [04:52:46]OFD Sender: No OFD packet to send [04:52:51]OFD Sender: No OFD packet to send [04:52:56]OFD Sender: No OFD packet to send [04:53:01]OFD Sender: No OFD packet to send [04:53:06]OFD Sender: No OFD packet to send [04:53:11]OFD Sender: No OFD packet to send [04:53:16]OFD Sender: No OFD packet to send [04:53:21]OFD Sender: No OFD packet to send [04:53:26]OFD Sender: No OFD packet to send [04:53:31]OFD Sender: No OFD packet to send [04:53:36]OFD Sender: No OFD packet to send [04:53:41]OFD Sender: No OFD packet to send [04:53:46]OFD Sender: No OFD packet to send [04:53:51]OFD Sender: No OFD packet to send [04:53:56]OFD Sender: No OFD packet to send [04:54:01]OFD Sender: No OFD packet to send [04:54:06]OFD Sender: No OFD packet to send [04:54:11]OFD Sender: No OFD packet to send [04:54:16]OFD Sender: No OFD packet to send [04:54:21]OFD Sender: No OFD packet to send [04:54:26]OFD Sender: No OFD packet to send [04:54:31]OFD Sender: No OFD packet to send [04:54:36]OFD Sender: No OFD packet to send [04:54:41]OFD Sender: No OFD packet to send [04:54:46]OFD Sender: No OFD packet to send [04:54:51]OFD Sender: No OFD packet to send [04:54:56]OFD Sender: No OFD packet to send [04:55:01]OFD Sender: No OFD packet to send [04:55:06]OFD Sender: No OFD packet to send [04:55:11]OFD Sender: No OFD packet to send [04:55:16]OFD Sender: No OFD packet to send [04:55:21]OFD Sender: No OFD packet to send [04:55:26]OFD Sender: No OFD packet to send [04:55:31]OFD Sender: No OFD packet to send [04:55:36]OFD Sender: No OFD packet to send [04:55:41]OFD Sender: No OFD packet to send [04:55:46]OFD Sender: No OFD packet to send [04:55:51]OFD Sender: No OFD packet to send [04:55:56]OFD Sender: No OFD packet to send [04:56:01]OFD Sender: No OFD packet to send [04:56:06]OFD Sender: No OFD packet to send [04:56:11]OFD Sender: No OFD packet to send [04:56:16]OFD Sender: No OFD packet to send [04:56:21]OFD Sender: No OFD packet to send [04:56:26]OFD Sender: No OFD packet to send [04:56:31]OFD Sender: No OFD packet to send [04:56:36]OFD Sender: No OFD packet to send [04:56:41]OFD Sender: No OFD packet to send [04:56:46]OFD Sender: No OFD packet to send [04:56:51]OFD Sender: No OFD packet to send [04:56:56]OFD Sender: No OFD packet to send [04:57:01]OFD Sender: No OFD packet to send [04:57:06]OFD Sender: No OFD packet to send [04:57:11]OFD Sender: No OFD packet to send [04:57:16]OFD Sender: No OFD packet to send [04:57:21]OFD Sender: No OFD packet to send [04:57:26]OFD Sender: No OFD packet to send [04:57:31]OFD Sender: No OFD packet to send [04:57:36]OFD Sender: No OFD packet to send [04:57:41]OFD Sender: No OFD packet to send [04:57:46]OFD Sender: No OFD packet to send [04:57:51]OFD Sender: No OFD packet to send [04:57:56]OFD Sender: No OFD packet to send [04:58:01]OFD Sender: No OFD packet to send [04:58:06]OFD Sender: No OFD packet to send [04:58:11]OFD Sender: No OFD packet to send [04:58:16]OFD Sender: No OFD packet to send [04:58:21]OFD Sender: No OFD packet to send [04:58:26]OFD Sender: No OFD packet to send [04:58:31]OFD Sender: No OFD packet to send [04:58:36]OFD Sender: No OFD packet to send [04:58:41]OFD Sender: No OFD packet to send [04:58:46]OFD Sender: No OFD packet to send [04:58:51]OFD Sender: No OFD packet to send [04:58:56]OFD Sender: No OFD packet to send [04:59:01]OFD Sender: No OFD packet to send [04:59:06]OFD Sender: No OFD packet to send [04:59:11]OFD Sender: No OFD packet to send [04:59:16]OFD Sender: No OFD packet to send [04:59:21]OFD Sender: No OFD packet to send [04:59:26]OFD Sender: No OFD packet to send [04:59:31]OFD Sender: No OFD packet to send [04:59:36]OFD Sender: No OFD packet to send [04:59:41]OFD Sender: No OFD packet to send [04:59:46]OFD Sender: No OFD packet to send [04:59:51]OFD Sender: No OFD packet to send [04:59:56]OFD Sender: No OFD packet to send [05:00:01]OFD Sender: No OFD packet to send [05:00:06]OFD Sender: No OFD packet to send [05:00:11]OFD Sender: No OFD packet to send [05:00:16]OFD Sender: No OFD packet to send [05:00:21]OFD Sender: No OFD packet to send [05:00:26]OFD Sender: No OFD packet to send [05:00:31]OFD Sender: No OFD packet to send [05:00:36]OFD Sender: No OFD packet to send [05:00:41]OFD Sender: No OFD packet to send [05:00:46]OFD Sender: No OFD packet to send [05:00:51]OFD Sender: No OFD packet to send [05:00:56]OFD Sender: No OFD packet to send [05:01:01]OFD Sender: No OFD packet to send [05:01:06]OFD Sender: No OFD packet to send [05:01:11]OFD Sender: No OFD packet to send [05:01:16]OFD Sender: No OFD packet to send [05:01:21]OFD Sender: No OFD packet to send [05:01:26]OFD Sender: No OFD packet to send [05:01:31]OFD Sender: No OFD packet to send [05:01:36]OFD Sender: No OFD packet to send [05:01:41]OFD Sender: No OFD packet to send [05:01:46]OFD Sender: No OFD packet to send [05:01:51]OFD Sender: No OFD packet to send [05:01:56]OFD Sender: No OFD packet to send [05:02:01]OFD Sender: No OFD packet to send [05:02:06]OFD Sender: No OFD packet to send [05:02:11]OFD Sender: No OFD packet to send [05:02:16]OFD Sender: No OFD packet to send [05:02:21]OFD Sender: No OFD packet to send [05:02:26]OFD Sender: No OFD packet to send [05:02:31]OFD Sender: No OFD packet to send [05:02:36]OFD Sender: No OFD packet to send [05:02:41]OFD Sender: No OFD packet to send [05:02:46]OFD Sender: No OFD packet to send [05:02:51]OFD Sender: No OFD packet to send [05:02:56]OFD Sender: No OFD packet to send [05:03:01]OFD Sender: No OFD packet to send [05:03:06]OFD Sender: No OFD packet to send [05:03:11]OFD Sender: No OFD packet to send [05:03:16]OFD Sender: No OFD packet to send [05:03:21]OFD Sender: No OFD packet to send [05:03:26]OFD Sender: No OFD packet to send [05:03:31]OFD Sender: No OFD packet to send [05:03:36]OFD Sender: No OFD packet to send [05:03:41]OFD Sender: No OFD packet to send [05:03:46]OFD Sender: No OFD packet to send [05:03:51]OFD Sender: No OFD packet to send [05:03:57]OFD Sender: No OFD packet to send [05:04:02]OFD Sender: No OFD packet to send [05:04:07]OFD Sender: No OFD packet to send [05:04:12]OFD Sender: No OFD packet to send [05:04:17]OFD Sender: No OFD packet to send [05:04:22]OFD Sender: No OFD packet to send [05:04:27]OFD Sender: No OFD packet to send [05:04:32]OFD Sender: No OFD packet to send [05:04:37]OFD Sender: No OFD packet to send [05:04:42]OFD Sender: No OFD packet to send [05:04:47]OFD Sender: No OFD packet to send [05:04:52]OFD Sender: No OFD packet to send [05:04:57]OFD Sender: No OFD packet to send [05:05:02]OFD Sender: No OFD packet to send [05:05:07]OFD Sender: No OFD packet to send [05:05:12]OFD Sender: No OFD packet to send [05:05:17]OFD Sender: No OFD packet to send [05:05:22]OFD Sender: No OFD packet to send [05:05:27]OFD Sender: No OFD packet to send [05:05:32]OFD Sender: No OFD packet to send [05:05:37]OFD Sender: No OFD packet to send [05:05:42]OFD Sender: No OFD packet to send [05:05:47]OFD Sender: No OFD packet to send [05:05:52]OFD Sender: No OFD packet to send [05:05:57]OFD Sender: No OFD packet to send [05:06:02]OFD Sender: No OFD packet to send [05:06:07]OFD Sender: No OFD packet to send [05:06:12]OFD Sender: No OFD packet to send [05:06:17]OFD Sender: No OFD packet to send [05:06:22]OFD Sender: No OFD packet to send [05:06:27]OFD Sender: No OFD packet to send [05:06:32]OFD Sender: No OFD packet to send [05:06:37]OFD Sender: No OFD packet to send [05:06:42]OFD Sender: No OFD packet to send [05:06:47]OFD Sender: No OFD packet to send [05:06:52]OFD Sender: No OFD packet to send [05:06:57]OFD Sender: No OFD packet to send [05:07:02]OFD Sender: No OFD packet to send [05:07:07]OFD Sender: No OFD packet to send [05:07:12]OFD Sender: No OFD packet to send [05:07:17]OFD Sender: No OFD packet to send [05:07:22]OFD Sender: No OFD packet to send [05:07:27]OFD Sender: No OFD packet to send [05:07:32]OFD Sender: No OFD packet to send [05:07:37]OFD Sender: No OFD packet to send [05:07:42]OFD Sender: No OFD packet to send [05:07:47]OFD Sender: No OFD packet to send [05:07:52]OFD Sender: No OFD packet to send [05:07:57]OFD Sender: No OFD packet to send [05:08:02]OFD Sender: No OFD packet to send [05:08:07]OFD Sender: No OFD packet to send [05:08:12]OFD Sender: No OFD packet to send [05:08:17]OFD Sender: No OFD packet to send [05:08:22]OFD Sender: No OFD packet to send [05:08:27]OFD Sender: No OFD packet to send [05:08:32]OFD Sender: No OFD packet to send [05:08:37]OFD Sender: No OFD packet to send [05:08:42]OFD Sender: No OFD packet to send [05:08:47]OFD Sender: No OFD packet to send [05:08:52]OFD Sender: No OFD packet to send [05:08:57]OFD Sender: No OFD packet to send [05:09:02]OFD Sender: No OFD packet to send [05:09:07]OFD Sender: No OFD packet to send [05:09:12]OFD Sender: No OFD packet to send [05:09:17]OFD Sender: No OFD packet to send [05:09:22]OFD Sender: No OFD packet to send [05:09:27]OFD Sender: No OFD packet to send [05:09:32]OFD Sender: No OFD packet to send [05:09:37]OFD Sender: No OFD packet to send [05:09:42]OFD Sender: No OFD packet to send [05:09:47]OFD Sender: No OFD packet to send [05:09:52]OFD Sender: No OFD packet to send [05:09:57]OFD Sender: No OFD packet to send [05:10:02]OFD Sender: No OFD packet to send [05:10:07]OFD Sender: No OFD packet to send [05:10:12]OFD Sender: No OFD packet to send [05:10:17]OFD Sender: No OFD packet to send [05:10:22]OFD Sender: No OFD packet to send [05:10:27]OFD Sender: No OFD packet to send [05:10:32]OFD Sender: No OFD packet to send [05:10:37]OFD Sender: No OFD packet to send [05:10:42]OFD Sender: No OFD packet to send [05:10:47]OFD Sender: No OFD packet to send [05:10:52]OFD Sender: No OFD packet to send [05:10:57]OFD Sender: No OFD packet to send [05:11:02]OFD Sender: No OFD packet to send [05:11:07]OFD Sender: No OFD packet to send [05:11:12]OFD Sender: No OFD packet to send [05:11:17]OFD Sender: No OFD packet to send [05:11:22]OFD Sender: No OFD packet to send [05:11:27]OFD Sender: No OFD packet to send [05:11:32]OFD Sender: No OFD packet to send [05:11:37]OFD Sender: No OFD packet to send [05:11:42]OFD Sender: No OFD packet to send [05:11:47]OFD Sender: No OFD packet to send [05:11:52]OFD Sender: No OFD packet to send [05:11:57]OFD Sender: No OFD packet to send [05:12:02]OFD Sender: No OFD packet to send [05:12:07]OFD Sender: No OFD packet to send [05:12:12]OFD Sender: No OFD packet to send [05:12:17]OFD Sender: No OFD packet to send [05:12:22]OFD Sender: No OFD packet to send [05:12:27]OFD Sender: No OFD packet to send [05:12:32]OFD Sender: No OFD packet to send [05:12:37]OFD Sender: No OFD packet to send [05:12:42]OFD Sender: No OFD packet to send [05:12:47]OFD Sender: No OFD packet to send [05:12:52]OFD Sender: No OFD packet to send [05:12:57]OFD Sender: No OFD packet to send [05:13:02]OFD Sender: No OFD packet to send [05:13:07]OFD Sender: No OFD packet to send [05:13:12]OFD Sender: No OFD packet to send [05:13:17]OFD Sender: No OFD packet to send [05:13:22]OFD Sender: No OFD packet to send [05:13:27]OFD Sender: No OFD packet to send [05:13:32]OFD Sender: No OFD packet to send [05:13:37]OFD Sender: No OFD packet to send [05:13:42]OFD Sender: No OFD packet to send [05:13:47]OFD Sender: No OFD packet to send [05:13:52]OFD Sender: No OFD packet to send [05:13:57]OFD Sender: No OFD packet to send [05:14:02]OFD Sender: No OFD packet to send [05:14:07]OFD Sender: No OFD packet to send [05:14:12]OFD Sender: No OFD packet to send [05:14:17]OFD Sender: No OFD packet to send [05:14:22]OFD Sender: No OFD packet to send [05:14:27]OFD Sender: No OFD packet to send [05:14:32]OFD Sender: No OFD packet to send [05:14:37]OFD Sender: No OFD packet to send [05:14:42]OFD Sender: No OFD packet to send [05:14:47]OFD Sender: No OFD packet to send [05:14:52]OFD Sender: No OFD packet to send [05:14:57]OFD Sender: No OFD packet to send [05:15:02]OFD Sender: No OFD packet to send [05:15:07]OFD Sender: No OFD packet to send [05:15:12]OFD Sender: No OFD packet to send [05:15:17]OFD Sender: No OFD packet to send [05:15:22]OFD Sender: No OFD packet to send [05:15:27]OFD Sender: No OFD packet to send [05:15:32]OFD Sender: No OFD packet to send [05:15:37]OFD Sender: No OFD packet to send [05:15:42]OFD Sender: No OFD packet to send [05:15:47]OFD Sender: No OFD packet to send [05:15:52]OFD Sender: No OFD packet to send [05:15:57]OFD Sender: No OFD packet to send [05:16:02]OFD Sender: No OFD packet to send [05:16:07]OFD Sender: No OFD packet to send [05:16:12]OFD Sender: No OFD packet to send [05:16:17]OFD Sender: No OFD packet to send [05:16:22]OFD Sender: No OFD packet to send [05:16:27]OFD Sender: No OFD packet to send [05:16:32]OFD Sender: No OFD packet to send [05:16:37]OFD Sender: No OFD packet to send [05:16:42]OFD Sender: No OFD packet to send [05:16:47]OFD Sender: No OFD packet to send [05:16:52]OFD Sender: No OFD packet to send [05:16:57]OFD Sender: No OFD packet to send [05:17:02]OFD Sender: No OFD packet to send [05:17:07]OFD Sender: No OFD packet to send [05:17:12]OFD Sender: No OFD packet to send [05:17:17]OFD Sender: No OFD packet to send [05:17:22]OFD Sender: No OFD packet to send [05:17:27]OFD Sender: No OFD packet to send [05:17:32]OFD Sender: No OFD packet to send [05:17:37]OFD Sender: No OFD packet to send [05:17:42]OFD Sender: No OFD packet to send [05:17:47]OFD Sender: No OFD packet to send [05:17:52]OFD Sender: No OFD packet to send [05:17:57]OFD Sender: No OFD packet to send [05:18:02]OFD Sender: No OFD packet to send [05:18:07]OFD Sender: No OFD packet to send [05:18:12]OFD Sender: No OFD packet to send [05:18:17]OFD Sender: No OFD packet to send [05:18:22]OFD Sender: No OFD packet to send [05:18:27]OFD Sender: No OFD packet to send [05:18:32]OFD Sender: No OFD packet to send [05:18:37]OFD Sender: No OFD packet to send [05:18:42]OFD Sender: No OFD packet to send [05:18:47]OFD Sender: No OFD packet to send [05:18:52]OFD Sender: No OFD packet to send [05:18:57]OFD Sender: No OFD packet to send [05:19:02]OFD Sender: No OFD packet to send [05:19:07]OFD Sender: No OFD packet to send [05:19:12]OFD Sender: No OFD packet to send [05:19:17]OFD Sender: No OFD packet to send [05:19:22]OFD Sender: No OFD packet to send [05:19:27]OFD Sender: No OFD packet to send [05:19:32]OFD Sender: No OFD packet to send [05:19:37]OFD Sender: No OFD packet to send [05:19:42]OFD Sender: No OFD packet to send [05:19:47]OFD Sender: No OFD packet to send [05:19:52]OFD Sender: No OFD packet to send [05:19:57]OFD Sender: No OFD packet to send [05:20:02]OFD Sender: No OFD packet to send [05:20:07]OFD Sender: No OFD packet to send [05:20:12]OFD Sender: No OFD packet to send [05:20:17]OFD Sender: No OFD packet to send [05:20:22]OFD Sender: No OFD packet to send [05:20:27]OFD Sender: No OFD packet to send [05:20:32]OFD Sender: No OFD packet to send [05:20:37]OFD Sender: No OFD packet to send [05:20:42]OFD Sender: No OFD packet to send [05:20:47]OFD Sender: No OFD packet to send [05:20:52]OFD Sender: No OFD packet to send [05:20:57]OFD Sender: No OFD packet to send [05:21:02]OFD Sender: No OFD packet to send [05:21:07]OFD Sender: No OFD packet to send [05:21:12]OFD Sender: No OFD packet to send [05:21:17]OFD Sender: No OFD packet to send [05:21:22]OFD Sender: No OFD packet to send [05:21:27]OFD Sender: No OFD packet to send [05:21:32]OFD Sender: No OFD packet to send [05:21:37]OFD Sender: No OFD packet to send [05:21:42]OFD Sender: No OFD packet to send [05:21:47]OFD Sender: No OFD packet to send [05:21:52]OFD Sender: No OFD packet to send [05:21:57]OFD Sender: No OFD packet to send [05:22:02]OFD Sender: No OFD packet to send [05:22:07]OFD Sender: No OFD packet to send [05:22:12]OFD Sender: No OFD packet to send [05:22:17]OFD Sender: No OFD packet to send [05:22:22]OFD Sender: No OFD packet to send [05:22:27]OFD Sender: No OFD packet to send [05:22:32]OFD Sender: No OFD packet to send [05:22:37]OFD Sender: No OFD packet to send [05:22:42]OFD Sender: No OFD packet to send [05:22:47]OFD Sender: No OFD packet to send [05:22:52]OFD Sender: No OFD packet to send [05:22:57]OFD Sender: No OFD packet to send [05:23:02]OFD Sender: No OFD packet to send [05:23:07]OFD Sender: No OFD packet to send [05:23:12]OFD Sender: No OFD packet to send [05:23:17]OFD Sender: No OFD packet to send [05:23:22]OFD Sender: No OFD packet to send [05:23:27]OFD Sender: No OFD packet to send [05:23:32]OFD Sender: No OFD packet to send [05:23:37]OFD Sender: No OFD packet to send [05:23:42]OFD Sender: No OFD packet to send [05:23:47]OFD Sender: No OFD packet to send [05:23:52]OFD Sender: No OFD packet to send [05:23:57]OFD Sender: No OFD packet to send [05:24:02]OFD Sender: No OFD packet to send [05:24:07]OFD Sender: No OFD packet to send [05:24:12]OFD Sender: No OFD packet to send [05:24:17]OFD Sender: No OFD packet to send [05:24:22]OFD Sender: No OFD packet to send [05:24:27]OFD Sender: No OFD packet to send [05:24:32]OFD Sender: No OFD packet to send [05:24:37]OFD Sender: No OFD packet to send [05:24:42]OFD Sender: No OFD packet to send [05:24:47]OFD Sender: No OFD packet to send [05:24:52]OFD Sender: No OFD packet to send [05:24:57]OFD Sender: No OFD packet to send [05:25:02]OFD Sender: No OFD packet to send [05:25:07]OFD Sender: No OFD packet to send [05:25:12]OFD Sender: No OFD packet to send [05:25:17]OFD Sender: No OFD packet to send [05:25: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:38]OFD Sender: No OFD packet to send [05:40:43]OFD Sender: No OFD packet to send [05:40:48]OFD Sender: No OFD packet to send [05:40:53]OFD Sender: No OFD packet to send [05:40:58]OFD Sender: No OFD packet to send [05:41:03]OFD Sender: No OFD packet to send [05:41:08]OFD Sender: No OFD packet to send [05:41:13]OFD Sender: No OFD packet to send [05:41:18]OFD Sender: No OFD packet to send [05:41:23]OFD Sender: No OFD packet to send [05:41:28]OFD Sender: No OFD packet to send [05:41:33]OFD Sender: No OFD packet to send [05:41:38]OFD Sender: No OFD packet to send [05:41:43]OFD Sender: No OFD packet to send [05:41:48]OFD Sender: No OFD packet to send [05:41:53]OFD Sender: No OFD packet to send [05:41:58]OFD Sender: No OFD packet to send [05:42:03]OFD Sender: No OFD packet to send [05:42:08]OFD Sender: No OFD packet to send [05:42:13]OFD Sender: No OFD packet to send [05:42:18]OFD Sender: No OFD packet to send [05:42:23]OFD Sender: No OFD packet to send [05:42:28]OFD Sender: No OFD packet to send [05:42:33]OFD Sender: No OFD packet to send [05:42:38]OFD Sender: No OFD packet to send [05:42:43]OFD Sender: No OFD packet to send [05:42:48]OFD Sender: No OFD packet to send [05:42:53]OFD Sender: No OFD packet to send [05:42:58]OFD Sender: No OFD packet to send [05:43:03]OFD Sender: No OFD packet to send [05:43:08]OFD Sender: No OFD packet to send [05:43:13]OFD Sender: No OFD packet to send [05:43:18]OFD Sender: No OFD packet to send [05:43:23]OFD Sender: No OFD packet to send [05:43:28]OFD Sender: No OFD packet to send [05:43:33]OFD Sender: No OFD packet to send [05:43:38]OFD Sender: No OFD packet to send [05:43:43]OFD Sender: No OFD packet to send [05:43:48]OFD Sender: No OFD packet to send [05:43:53]OFD Sender: No OFD packet to send [05:43:58]OFD Sender: No OFD packet to send [05:44:03]OFD Sender: No OFD packet to send [05:44:08]OFD Sender: No OFD packet to send [05:44:13]OFD Sender: No OFD packet to send [05:44:18]OFD Sender: No OFD packet to send [05:44:23]OFD Sender: No OFD packet to send [05:44:28]OFD Sender: No OFD packet to send [05:44:33]OFD Sender: No OFD packet to send [05:44:38]OFD Sender: No OFD packet to send [05:44:43]OFD Sender: No OFD packet to send [05:44:48]OFD Sender: No OFD packet to send [05:44:53]OFD Sender: No OFD packet to send [05:44:58]OFD Sender: No OFD packet to send [05:45:03]OFD Sender: No OFD packet to send [05:45:08]OFD Sender: No OFD packet to send [05:45:13]OFD Sender: No OFD packet to send [05:45:18]OFD Sender: No OFD packet to send [05:45:23]OFD Sender: No OFD packet to send [05:45:28]OFD Sender: No OFD packet to send [05:45:33]OFD Sender: No OFD packet to send [05:45:38]OFD Sender: No OFD packet to send [05:45:43]OFD Sender: No OFD packet to send [05:45:48]OFD Sender: No OFD packet to send [05:45:53]OFD Sender: No OFD packet to send [05:45:58]OFD Sender: No OFD packet to send [05:46:03]OFD Sender: No OFD packet to send [05:46:08]OFD Sender: No OFD packet to send [05:46:13]OFD Sender: No OFD packet to send [05:46:18]OFD Sender: No OFD packet to send [05:46:23]OFD Sender: No OFD packet to send [05:46:28]OFD Sender: No OFD packet to send [05:46:33]OFD Sender: No OFD packet to send [05:46:39]OFD Sender: No OFD packet to send [05:46:44]OFD Sender: No OFD packet to send [05:46:49]OFD Sender: No OFD packet to send [05:46:54]OFD Sender: No OFD packet to send [05:46:59]OFD Sender: No OFD packet to send [05:47:04]OFD Sender: No OFD packet to send [05:47:09]OFD Sender: No OFD packet to send [05:47:14]OFD Sender: No OFD packet to send [05:47:19]OFD Sender: No OFD packet to send [05:47:24]OFD Sender: No OFD packet to send [05:47:29]OFD Sender: No OFD packet to send [05:47:34]OFD Sender: No OFD packet to send [05:47:39]OFD Sender: No OFD packet to send [05:47:44]OFD Sender: No OFD packet to send [05:47:49]OFD Sender: No OFD packet to send [05:47:54]OFD Sender: No OFD packet to send [05:47:59]OFD Sender: No OFD packet to send [05:48:04]OFD Sender: No OFD packet to send [05:48:09]OFD Sender: No OFD packet to send [05:48:14]OFD Sender: No OFD packet to send [05:48:19]OFD Sender: No OFD packet to send [05:48:24]OFD Sender: No OFD packet to send [05:48:29]OFD Sender: No OFD packet to send [05:48:34]OFD Sender: No OFD packet to send [05:48:39]OFD Sender: No OFD packet to send [05:48:44]OFD Sender: No OFD packet to send [05:48:49]OFD Sender: No OFD packet to send [05:48:54]OFD Sender: No OFD packet to send [05:48:59]OFD Sender: No OFD packet to send [05:49:04]OFD Sender: No OFD packet to send [05:49:09]OFD Sender: No OFD packet to send [05:49:14]OFD Sender: No OFD packet to send [05:49:19]OFD Sender: No OFD packet to send [05:49:24]OFD Sender: No OFD packet to send [05:49:29]OFD Sender: No OFD packet to send [05:49:34]OFD Sender: No OFD packet to send [05:49:39]OFD Sender: No OFD packet to send [05:49:44]OFD Sender: No OFD packet to send [05:49:49]OFD Sender: No OFD packet to send [05:49:54]OFD Sender: No OFD packet to send [05:49:59]OFD Sender: No OFD packet to send [05:50:04]OFD Sender: No OFD packet to send [05:50:09]OFD Sender: No OFD packet to send [05:50:14]OFD Sender: No OFD packet to send [05:50:19]OFD Sender: No OFD packet to send [05:50:24]OFD Sender: No OFD packet to send [05:50:29]OFD Sender: No OFD packet to send [05:50:34]OFD Sender: No OFD packet to send [05:50:39]OFD Sender: No OFD packet to send [05:50:44]OFD Sender: No OFD packet to send [05:50:49]OFD Sender: No OFD packet to send [05:50:54]OFD Sender: No OFD packet to send [05:50:59]OFD Sender: No OFD packet to send [05:51:04]OFD Sender: No OFD packet to send [05:51:09]OFD Sender: No OFD packet to send [05:51:14]OFD Sender: No OFD packet to send [05:51:19]OFD Sender: No OFD packet to send [05:51:24]OFD Sender: No OFD packet to send [05:51:29]OFD Sender: No OFD packet to send [05:51:34]OFD Sender: No OFD packet to send [05:51:39]OFD Sender: No OFD packet to send [05:51:44]OFD Sender: No OFD packet to send [05:51:49]OFD Sender: No OFD packet to send [05:51:54]OFD Sender: No OFD packet to send [05:51:59]OFD Sender: No OFD packet to send [05:52:04]OFD Sender: No OFD packet to send [05:52:09]OFD Sender: No OFD packet to send [05:52:14]OFD Sender: No OFD packet to send [05:52:19]OFD Sender: No OFD packet to send [05:52:24]OFD Sender: No OFD packet to send [05:52:29]OFD Sender: No OFD packet to send [05:52:34]OFD Sender: No OFD packet to send [05:52:39]OFD Sender: No OFD packet to send [05:52:44]OFD Sender: No OFD packet to send [05:52:49]OFD Sender: No OFD packet to send [05:52:54]OFD Sender: No OFD packet to send [05:52:59]OFD Sender: No OFD packet to send [05:53:04]OFD Sender: No OFD packet to send [05:53:09]OFD Sender: No OFD packet to send [05:53:14]OFD Sender: No OFD packet to send [05:53:19]OFD Sender: No OFD packet to send [05:53:24]OFD Sender: No OFD packet to send [05:53:29]OFD Sender: No OFD packet to send [05:53:34]OFD Sender: No OFD packet to send [05:53:39]OFD Sender: No OFD packet to send [05:53:44]OFD Sender: No OFD packet to send [05:53:49]OFD Sender: No OFD packet to send [05:53:54]OFD Sender: No OFD packet to send [05:53:59]OFD Sender: No OFD packet to send [05:54:04]OFD Sender: No OFD packet to send [05:54:09]OFD Sender: No OFD packet to send [05:54:14]OFD Sender: No OFD packet to send [05:54:19]OFD Sender: No OFD packet to send [05:54:24]OFD Sender: No OFD packet to send [05:54:29]OFD Sender: No OFD packet to send [05:54:34]OFD Sender: No OFD packet to send [05:54:39]OFD Sender: No OFD packet to send [05:54:44]OFD Sender: No OFD packet to send [05:54:49]OFD Sender: No OFD packet to send [05:54:54]OFD Sender: No OFD packet to send [05:54:59]OFD Sender: No OFD packet to send [05:55:04]OFD Sender: No OFD packet to send [05:55:09]OFD Sender: No OFD packet to send [05:55:14]OFD Sender: No OFD packet to send [05:55:19]OFD Sender: No OFD packet to send [05:55:24]OFD Sender: No OFD packet to send [05:55:29]OFD Sender: No OFD packet to send [05:55:34]OFD Sender: No OFD packet to send [05:55:39]OFD Sender: No OFD packet to send [05:55:44]OFD Sender: No OFD packet to send [05:55:49]OFD Sender: No OFD packet to send [05:55:54]OFD Sender: No OFD packet to send [05:55:59]OFD Sender: No OFD packet to send [05:56:04]OFD Sender: No OFD packet to send [05:56:09]OFD Sender: No OFD packet to send [05:56:14]OFD Sender: No OFD packet to send [05:56:19]OFD Sender: No OFD packet to send [05:56:24]OFD Sender: No OFD packet to send [05:56:29]OFD Sender: No OFD packet to send [05:56:34]OFD Sender: No OFD packet to send [05:56:39]OFD Sender: No OFD packet to send [05:56:44]OFD Sender: No OFD packet to send [05:56:49]OFD Sender: No OFD packet to send [05:56:54]OFD Sender: No OFD packet to send [05:56:59]OFD Sender: No OFD packet to send [05:57:04]OFD Sender: No OFD packet to send [05:57:09]OFD Sender: No OFD packet to send [05:57:14]OFD Sender: No OFD packet to send [05:57:19]OFD Sender: No OFD packet to send [05:57:24]OFD Sender: No OFD packet to send [05:57:29]OFD Sender: No OFD packet to send [05:57:34]OFD Sender: No OFD packet to send [05:57:39]OFD Sender: No OFD packet to send [05:57:44]OFD Sender: No OFD packet to send [05:57:49]OFD Sender: No OFD packet to send [05:57:54]OFD Sender: No OFD packet to send [05:57:59]OFD Sender: No OFD packet to send [05:58:04]OFD Sender: No OFD packet to send [05:58:09]OFD Sender: No OFD packet to send [05:58:14]OFD Sender: No OFD packet to send [05:58:19]OFD Sender: No OFD packet to send [05:58:24]OFD Sender: No OFD packet to send [05:58:29]OFD Sender: No OFD packet to send [05:58:34]OFD Sender: No OFD packet to send [05:58:39]OFD Sender: No OFD packet to send [05:58:44]OFD Sender: No OFD packet to send [05:58:49]OFD Sender: No OFD packet to send [05:58:54]OFD Sender: No OFD packet to send [05:58:59]OFD Sender: No OFD packet to send [05:59:04]OFD Sender: No OFD packet to send [05:59:09]OFD Sender: No OFD packet to send [05:59:14]OFD Sender: No OFD packet to send [05:59:19]OFD Sender: No OFD packet to send [05:59:24]OFD Sender: No OFD packet to send [05:59:29]OFD Sender: No OFD packet to send [05:59:34]OFD Sender: No OFD packet to send [05:59:39]OFD Sender: No OFD packet to send [05:59:44]OFD Sender: No OFD packet to send [05:59:49]OFD Sender: No OFD packet to send [05:59:54]OFD Sender: No OFD packet to send [05:59:59]OFD Sender: No OFD packet to send [06:00:04]OFD Sender: No OFD packet to send [06:00:09]OFD Sender: No OFD packet to send [06:00:14]OFD Sender: No OFD packet to send [06:00:19]OFD Sender: No OFD packet to send [06:00:24]OFD Sender: No OFD packet to send [06:00:29]OFD Sender: No OFD packet to send [06:00:34]OFD Sender: No OFD packet to send [06:00:39]OFD Sender: No OFD packet to send [06:00:44]OFD Sender: No OFD packet to send [06:00:49]OFD Sender: No OFD packet to send [06:00:54]OFD Sender: No OFD packet to send [06:00:59]OFD Sender: No OFD packet to send [06:01:04]OFD Sender: No OFD packet to send [06:01:09]OFD Sender: No OFD packet to send [06:01:14]OFD Sender: No OFD packet to send [06:01:19]OFD Sender: No OFD packet to send [06:01:24]OFD Sender: No OFD packet to send [06:01:29]OFD Sender: No OFD packet to send [06:01:34]OFD Sender: No OFD packet to send [06:01:39]OFD Sender: No OFD packet to send [06:01:44]OFD Sender: No OFD packet to send [06:01:49]OFD Sender: No OFD packet to send [06:01:54]OFD Sender: No OFD packet to send [06:01:59]OFD Sender: No OFD packet to send [06:02:04]OFD Sender: No OFD packet to send [06:02:09]OFD Sender: No OFD packet to send [06:02:14]OFD Sender: No OFD packet to send [06:02:19]OFD Sender: No OFD packet to send [06:02:24]OFD Sender: No OFD packet to send [06:02:29]OFD Sender: No OFD packet to send [06:02:34]OFD Sender: No OFD packet to send [06:02:39]OFD Sender: No OFD packet to send [06:02:44]OFD Sender: No OFD packet to send [06:02:49]OFD Sender: No OFD packet to send [06:02:54]OFD Sender: No OFD packet to send [06:02:59]OFD Sender: No OFD packet to send [06:03:04]OFD Sender: No OFD packet to send [06:03:09]OFD Sender: No OFD packet to send [06:03:14]OFD Sender: No OFD packet to send [06:03:19]OFD Sender: No OFD packet to send [06:03:24]OFD Sender: No OFD packet to send [06:03:29]OFD Sender: No OFD packet to send [06:03:34]OFD Sender: No OFD packet to send [06:03:39]OFD Sender: No OFD packet to send [06:03:44]OFD Sender: No OFD packet to send [06:03:49]OFD Sender: No OFD packet to send [06:03:54]OFD Sender: No OFD packet to send [06:03:59]OFD Sender: No OFD packet to send [06:04:04]OFD Sender: No OFD packet to send [06:04:09]OFD Sender: No OFD packet to send [06:04:14]OFD Sender: No OFD packet to send [06:04:19]OFD Sender: No OFD packet to send [06:04:24]OFD Sender: No OFD packet to send [06:04:29]OFD Sender: No OFD packet to send [06:04:34]OFD Sender: No OFD packet to send [06:04:39]OFD Sender: No OFD packet to send [06:04:44]OFD Sender: No OFD packet to send [06:04:49]OFD Sender: No OFD packet to send [06:04:54]OFD Sender: No OFD packet to send [06:04:59]OFD Sender: No OFD packet to send [06:05:04]OFD Sender: No OFD packet to send [06:05:09]OFD Sender: No OFD packet to send [06:05:14]OFD Sender: No OFD packet to send [06:05:19]OFD Sender: No OFD packet to send [06:05:24]OFD Sender: No OFD packet to send [06:05:29]OFD Sender: No OFD packet to send [06:05:34]OFD Sender: No OFD packet to send [06:05:39]OFD Sender: No OFD packet to send [06:05:44]OFD Sender: No OFD packet to send [06:05:49]OFD Sender: No OFD packet to send [06:05:54]OFD Sender: No OFD packet to send [06:05:59]OFD Sender: No OFD packet to send [06:06:04]OFD Sender: No OFD packet to send [06:06:09]OFD Sender: No OFD packet to send [06:06:14]OFD Sender: No OFD packet to send [06:06:19]OFD Sender: No OFD packet to send [06:06:24]OFD Sender: No OFD packet to send [06:06:29]OFD Sender: No OFD packet to send [06:06:34]OFD Sender: No OFD packet to send [06:06:39]OFD Sender: No OFD packet to send [06:06:44]OFD Sender: No OFD packet to send [06:06:49]OFD Sender: No OFD packet to send [06:06:54]OFD Sender: No OFD packet to send [06:06:59]OFD Sender: No OFD packet to send [06:07:04]OFD Sender: No OFD packet to send [06:07:09]OFD Sender: No OFD packet to send [06:07:14]OFD Sender: No OFD packet to send [06:07:19]OFD Sender: No OFD packet to send [06:07:24]OFD Sender: No OFD packet to send [06:07:29]OFD Sender: No OFD packet to send [06:07:34]OFD Sender: No OFD packet to send [06:07:39]OFD Sender: No OFD packet to send [06:07:44]OFD Sender: No OFD packet to send [06:07:49]OFD Sender: No OFD packet to send [06:07:54]OFD Sender: No OFD packet to send [06:08:00]OFD Sender: No OFD packet to send [06:08:05]OFD Sender: No OFD packet to send [06:08:10]OFD Sender: No OFD packet to send [06:08:15]OFD Sender: No OFD packet to send [06:08:20]OFD Sender: No OFD packet to send [06:08:25]OFD Sender: No OFD packet to send [06:08:30]OFD Sender: No OFD packet to send [06:08:35]OFD Sender: No OFD packet to send [06:08:40]OFD Sender: No OFD packet to send [06:08:45]OFD Sender: No OFD packet to send [06:08:50]OFD Sender: No OFD packet to send [06:08:55]OFD Sender: No OFD packet to send [06:09:00]OFD Sender: No OFD packet to send [06:09:05]OFD Sender: No OFD packet to send [06:09:10]OFD Sender: No OFD packet to send [06:09:15]OFD Sender: No OFD packet to send [06:09:20]OFD Sender: No OFD packet to send [06:09:25]OFD Sender: No OFD packet to send [06:09:30]OFD Sender: No OFD packet to send [06:09:35]OFD Sender: No OFD packet to send [06:09:40]OFD Sender: No OFD packet to send [06:09:45]OFD Sender: No OFD packet to send [06:09:50]OFD Sender: No OFD packet to send [06:09:55]OFD Sender: No OFD packet to send [06:10:00]OFD Sender: No OFD packet to send [06:10:05]OFD Sender: No OFD packet to send [06:10:10]OFD Sender: No OFD packet to send [06:10:15]OFD Sender: No OFD packet to send [06:10:20]OFD Sender: No OFD packet to send [06:10:25]OFD Sender: No OFD packet to send [06:10:30]OFD Sender: No OFD packet to send [06:10:35]OFD Sender: No OFD packet to send [06:10:40]OFD Sender: No OFD packet to send [06:10:45]OFD Sender: No OFD packet to send [06:10:50]OFD Sender: No OFD packet to send [06:10:55]OFD Sender: No OFD packet to send [06:11:00]OFD Sender: No OFD packet to send [06:11:05]OFD Sender: No OFD packet to send [06:11:10]OFD Sender: No OFD packet to send [06:11:15]OFD Sender: No OFD packet to send [06:11:20]OFD Sender: No OFD packet to send [06:11:25]OFD Sender: No OFD packet to send [06:11:30]OFD Sender: No OFD packet to send [06:11:35]OFD Sender: No OFD packet to send [06:11:40]OFD Sender: No OFD packet to send [06:11:45]OFD Sender: No OFD packet to send [06:11:50]OFD Sender: No OFD packet to send [06:11:55]OFD Sender: No OFD packet to send [06:12:00]OFD Sender: No OFD packet to send [06:12:05]OFD Sender: No OFD packet to send [06:12:10]OFD Sender: No OFD packet to send [06:12:15]OFD Sender: No OFD packet to send [06:12:20]OFD Sender: No OFD packet to send [06:12:25]OFD Sender: No OFD packet to send [06:12:30]OFD Sender: No OFD packet to send [06:12:35]OFD Sender: No OFD packet to send [06:12:40]OFD Sender: No OFD packet to send [06:12:45]OFD Sender: No OFD packet to send [06:12:50]OFD Sender: No OFD packet to send [06:12:55]OFD Sender: No OFD packet to send [06:13:00]OFD Sender: No OFD packet to send [06:13:05]OFD Sender: No OFD packet to send [06:13:10]OFD Sender: No OFD packet to send [06:13:15]OFD Sender: No OFD packet to send [06:13:20]OFD Sender: No OFD packet to send [06:13:25]OFD Sender: No OFD packet to send [06:13:30]OFD Sender: No OFD packet to send [06:13:35]OFD Sender: No OFD packet to send [06:13:40]OFD Sender: No OFD packet to send [06:13:45]OFD Sender: No OFD packet to send [06:13:50]OFD Sender: No OFD packet to send [06:13:55]OFD Sender: No OFD packet to send [06:14:00]OFD Sender: No OFD packet to send [06:14:05]OFD Sender: No OFD packet to send [06:14:10]OFD Sender: No OFD packet to send [06:14:15]OFD Sender: No OFD packet to send [06:14:20]OFD Sender: No OFD packet to send [06:14:25]OFD Sender: No OFD packet to send [06:14:30]OFD Sender: No OFD packet to send [06:14:35]OFD Sender: No OFD packet to send [06:14:40]OFD Sender: No OFD packet to send [06:14:45]OFD Sender: No OFD packet to send [06:14:50]OFD Sender: No OFD packet to send [06:14:55]OFD Sender: No OFD packet to send [06:15:00]OFD Sender: No OFD packet to send [06:15:05]OFD Sender: No OFD packet to send [06:15:10]OFD Sender: No OFD packet to send [06:15:15]OFD Sender: No OFD packet to send [06:15:20]OFD Sender: No OFD packet to send [06:15:25]OFD Sender: No OFD packet to send [06:15:30]OFD Sender: No OFD packet to send [06:15:35]OFD Sender: No OFD packet to send [06:15:40]OFD Sender: No OFD packet to send [06:15:45]OFD Sender: No OFD packet to send [06:15:50]OFD Sender: No OFD packet to send [06:15:55]OFD Sender: No OFD packet to send [06:16:00]OFD Sender: No OFD packet to send [06:16:05]OFD Sender: No OFD packet to send [06:16:10]OFD Sender: No OFD packet to send [06:16:15]OFD Sender: No OFD packet to send [06:16:20]OFD Sender: No OFD packet to send [06:16:25]OFD Sender: No OFD packet to send [06:16:30]OFD Sender: No OFD packet to send [06:16:35]OFD Sender: No OFD packet to send [06:16:40]OFD Sender: No OFD packet to send [06:16:45]OFD Sender: No OFD packet to send [06:16:50]OFD Sender: No OFD packet to send [06:16:55]OFD Sender: No OFD packet to send [06:17:00]OFD Sender: No OFD packet to send [06:17:05]OFD Sender: No OFD packet to send [06:17:10]OFD Sender: No OFD packet to send [06:17:15]OFD Sender: No OFD packet to send [06:17:20]OFD Sender: No OFD packet to send [06:17:25]OFD Sender: No OFD packet to send [06:17:30]OFD Sender: No OFD packet to send [06:17:35]OFD Sender: No OFD packet to send [06:17:40]OFD Sender: No OFD packet to send [06:17:45]OFD Sender: No OFD packet to send [06:17:50]OFD Sender: No OFD packet to send [06:17:55]OFD Sender: No OFD packet to send [06:18:00]OFD Sender: No OFD packet to send [06:18:05]OFD Sender: No OFD packet to send [06:18:10]OFD Sender: No OFD packet to send [06:18:15]OFD Sender: No OFD packet to send [06:18:20]OFD Sender: No OFD packet to send [06:18:25]OFD Sender: No OFD packet to send [06:18:30]OFD Sender: No OFD packet to send [06:18:35]OFD Sender: No OFD packet to send [06:18:40]OFD Sender: No OFD packet to send [06:18:45]OFD Sender: No OFD packet to send [06:18:50]OFD Sender: No OFD packet to send [06:18:55]OFD Sender: No OFD packet to send [06:19:00]OFD Sender: No OFD packet to send [06:19:05]OFD Sender: No OFD packet to send [06:19:10]OFD Sender: No OFD packet to send [06:19:15]OFD Sender: No OFD packet to send [06:19:20]OFD Sender: No OFD packet to send [06:19:25]OFD Sender: No OFD packet to send [06:19:30]OFD Sender: No OFD packet to send [06:19:35]OFD Sender: No OFD packet to send [06:19:40]OFD Sender: No OFD packet to send [06:19:45]OFD Sender: No OFD packet to send [06:19:50]OFD Sender: No OFD packet to send [06:19:55]OFD Sender: No OFD packet to send [06:20:00]OFD Sender: No OFD packet to send [06:20:05]OFD Sender: No OFD packet to send [06:20:10]OFD Sender: No OFD packet to send [06:20:15]OFD Sender: No OFD packet to send [06:20:20]OFD Sender: No OFD packet to send [06:20:25]OFD Sender: No OFD packet to send [06:20:30]OFD Sender: No OFD packet to send [06:20:35]OFD Sender: No OFD packet to send [06:20:40]OFD Sender: No OFD packet to send [06:20:45]OFD Sender: No OFD packet to send [06:20:50]OFD Sender: No OFD packet to send [06:20:55]OFD Sender: No OFD packet to send [06:21:00]OFD Sender: No OFD packet to send [06:21:05]OFD Sender: No OFD packet to send [06:21:10]OFD Sender: No OFD packet to send [06:21:15]OFD Sender: No OFD packet to send [06:21:20]OFD Sender: No OFD packet to send [06:21:25]OFD Sender: No OFD packet to send [06:21:30]OFD Sender: No OFD packet to send [06:21:35]OFD Sender: No OFD packet to send [06:21:40]OFD Sender: No OFD packet to send [06:21:45]OFD Sender: No OFD packet to send [06:21:50]OFD Sender: No OFD packet to send [06:21:55]OFD Sender: No OFD packet to send [06:22:00]OFD Sender: No OFD packet to send [06:22:05]OFD Sender: No OFD packet to send [06:22:10]OFD Sender: No OFD packet to send [06:22:15]OFD Sender: No OFD packet to send [06:22:20]OFD Sender: No OFD packet to send [06:22:25]OFD Sender: No OFD packet to send [06:22:30]OFD Sender: No OFD packet to send [06:22:35]OFD Sender: No OFD packet to send [06:22:40]OFD Sender: No OFD packet to send [06:22:45]OFD Sender: No OFD packet to send [06:22:50]OFD Sender: No OFD packet to send [06:22:55]OFD Sender: No OFD packet to send [06:23:00]OFD Sender: No OFD packet to send [06:23:05]OFD Sender: No OFD packet to send [06:23:10]OFD Sender: No OFD packet to send [06:23:15]OFD Sender: No OFD packet to send [06:23:20]OFD Sender: No OFD packet to send [06:23:25]OFD Sender: No OFD packet to send [06:23:30]OFD Sender: No OFD packet to send [06:23:35]OFD Sender: No OFD packet to send [06:23:40]OFD Sender: No OFD packet to send [06:23:45]OFD Sender: No OFD packet to send [06:23:50]OFD Sender: No OFD packet to send [06:23:55]OFD Sender: No OFD packet to send [06:24:00]OFD Sender: No OFD packet to send [06:24:05]OFD Sender: No OFD packet to send [06:24:10]OFD Sender: No OFD packet to send [06:24:15]OFD Sender: No OFD packet to send [06:24:20]OFD Sender: No OFD packet to send [06:24:25]OFD Sender: No OFD packet to send [06:24:30]OFD Sender: No OFD packet to send [06:24:35]OFD Sender: No OFD packet to send [06:24:40]OFD Sender: No OFD packet to send [06:24:45]OFD Sender: No OFD packet to send [06:24:50]OFD Sender: No OFD packet to send [06:24:55]OFD Sender: No OFD packet to send [06:25:00]OFD Sender: No OFD packet to send [06:25:05]OFD Sender: No OFD packet to send [06:25:10]OFD Sender: No OFD packet to send [06:25:15]OFD Sender: No OFD packet to send [06:25:20]OFD Sender: No OFD packet to send [06:25:25]OFD Sender: No OFD packet to send [06:25:30]OFD Sender: No OFD packet to send [06:25:35]OFD Sender: No OFD packet to send [06:25:40]OFD Sender: No OFD packet to send [06:25:45]OFD Sender: No OFD packet to send [06:25:50]OFD Sender: No OFD packet to send [06:25:55]OFD Sender: No OFD packet to send [06:26:00]OFD Sender: No OFD packet to send [06:26:05]OFD Sender: No OFD packet to send [06:26:10]OFD Sender: No OFD packet to send [06:26:15]OFD Sender: No OFD packet to send [06:26:20]OFD Sender: No OFD packet to send [06:26:25]OFD Sender: No OFD packet to send [06:26:30]OFD Sender: No OFD packet to send [06:26:35]OFD Sender: No OFD packet to send [06:26:40]OFD Sender: No OFD packet to send [06:26:45]OFD Sender: No OFD packet to send [06:26:50]OFD Sender: No OFD packet to send [06:26:55]OFD Sender: No OFD packet to send [06:27:00]OFD Sender: No OFD packet to send [06:27:05]OFD Sender: No OFD packet to send [06:27:10]OFD Sender: No OFD packet to send [06:27:15]OFD Sender: No OFD packet to send [06:27:20]OFD Sender: No OFD packet to send [06:27:25]OFD Sender: No OFD packet to send [06:27:30]OFD Sender: No OFD packet to send [06:27:35]OFD Sender: No OFD packet to send [06:27:40]OFD Sender: No OFD packet to send [06:27:45]OFD Sender: No OFD packet to send [06:27:50]OFD Sender: No OFD packet to send [06:27:55]OFD Sender: No OFD packet to send [06:28:00]OFD Sender: No OFD packet to send [06:28:05]OFD Sender: No OFD packet to send [06:28:10]OFD Sender: No OFD packet to send [06:28:15]OFD Sender: No OFD packet to send [06:28:20]OFD Sender: No OFD packet to send [06:28:25]OFD Sender: No OFD packet to send [06:28:30]OFD Sender: No OFD packet to send [06:28:35]OFD Sender: No OFD packet to send [06:28:40]OFD Sender: No OFD packet to send [06:28:45]OFD Sender: No OFD packet to send [06:28:50]OFD Sender: No OFD packet to send [06:28:55]OFD Sender: No OFD packet to send [06:29:01]OFD Sender: No OFD packet to send [06:29:06]OFD Sender: No OFD packet to send [06:29:11]OFD Sender: No OFD packet to send [06:29:16]OFD Sender: No OFD packet to send [06:29:21]OFD Sender: No OFD packet to send [06:29:26]OFD Sender: No OFD packet to send [06:29:31]OFD Sender: No OFD packet to send [06:29:36]OFD Sender: No OFD packet to send [06:29:41]OFD Sender: No OFD packet to send [06:29:46]OFD Sender: No OFD packet to send [06:29:51]OFD Sender: No OFD packet to send [06:29:56]OFD Sender: No OFD packet to send [06:30:01]OFD Sender: No OFD packet to send [06:30:06]OFD Sender: No OFD packet to send [06:30:11]OFD Sender: No OFD packet to send [06:30:16]OFD Sender: No OFD packet to send [06:30:21]OFD Sender: No OFD packet to send [06:30:26]OFD Sender: No OFD packet to send [06:30:31]OFD Sender: No OFD packet to send [06:30:36]OFD Sender: No OFD packet to send [06:30:41]OFD Sender: No OFD packet to send [06:30:46]OFD Sender: No OFD packet to send [06:30:51]OFD Sender: No OFD packet to send [06:30:56]OFD Sender: No OFD packet to send [06:31:01]OFD Sender: No OFD packet to send [06:31:06]OFD Sender: No OFD packet to send [06:31:11]OFD Sender: No OFD packet to send [06:31:16]OFD Sender: No OFD packet to send [06:31:21]OFD Sender: No OFD packet to send [06:31:26]OFD Sender: No OFD packet to send [06:31:31]OFD Sender: No OFD packet to send [06:31:36]OFD Sender: No OFD packet to send [06:31:41]OFD Sender: No OFD packet to send [06:31:46]OFD Sender: No OFD packet to send [06:31:51]OFD Sender: No OFD packet to send [06:31:56]OFD Sender: No OFD packet to send [06:32:01]OFD Sender: No OFD packet to send [06:32:06]OFD Sender: No OFD packet to send [06:32:11]OFD Sender: No OFD packet to send [06:32:16]OFD Sender: No OFD packet to send [06:32:21]OFD Sender: No OFD packet to send [06:32:26]OFD Sender: No OFD packet to send [06:32:31]OFD Sender: No OFD packet to send [06:32:36]OFD Sender: No OFD packet to send [06:32:41]OFD Sender: No OFD packet to send [06:32:46]OFD Sender: No OFD packet to send [06:32:51]OFD Sender: No OFD packet to send [06:32:56]OFD Sender: No OFD packet to send [06:33:01]OFD Sender: No OFD packet to send [06:33:06]OFD Sender: No OFD packet to send [06:33:11]OFD Sender: No OFD packet to send [06:33:16]OFD Sender: No OFD packet to send [06:33:21]OFD Sender: No OFD packet to send [06:33:26]OFD Sender: No OFD packet to send [06:33:31]OFD Sender: No OFD packet to send [06:33:36]OFD Sender: No OFD packet to send [06:33:41]OFD Sender: No OFD packet to send [06:33:46]OFD Sender: No OFD packet to send [06:33:51]OFD Sender: No OFD packet to send [06:33:56]OFD Sender: No OFD packet to send [06:34:01]OFD Sender: No OFD packet to send [06:34:06]OFD Sender: No OFD packet to send [06:34:11]OFD Sender: No OFD packet to send [06:34:16]OFD Sender: No OFD packet to send [06:34:21]OFD Sender: No OFD packet to send [06:34:26]OFD Sender: No OFD packet to send [06:34:31]OFD Sender: No OFD packet to send [06:34:36]OFD Sender: No OFD packet to send [06:34:41]OFD Sender: No OFD packet to send [06:34:46]OFD Sender: No OFD packet to send [06:34:51]OFD Sender: No OFD packet to send [06:34:56]OFD Sender: No OFD packet to send [06:35:01]OFD Sender: No OFD packet to send [06:35:06]OFD Sender: No OFD packet to send [06:35:11]OFD Sender: No OFD packet to send [06:35:16]OFD Sender: No OFD packet to send [06:35:21]OFD Sender: No OFD packet to send [06:35:26]OFD Sender: No OFD packet to send [06:35:31]OFD Sender: No OFD packet to send [06:35:36]OFD Sender: No OFD packet to send [06:35:41]OFD Sender: No OFD packet to send [06:35:46]OFD Sender: No OFD packet to send [06:35:51]OFD Sender: No OFD packet to send [06:35:56]OFD Sender: No OFD packet to send [06:36:01]OFD Sender: No OFD packet to send [06:36:06]OFD Sender: No OFD packet to send [06:36:11]OFD Sender: No OFD packet to send [06:36:16]OFD Sender: No OFD packet to send [06:36:21]OFD Sender: No OFD packet to send [06:36:26]OFD Sender: No OFD packet to send [06:36:31]OFD Sender: No OFD packet to send [06:36:36]OFD Sender: No OFD packet to send [06:36:41]OFD Sender: No OFD packet to send [06:36:46]OFD Sender: No OFD packet to send [06:36:51]OFD Sender: No OFD packet to send [06:36:56]OFD Sender: No OFD packet to send [06:37:01]OFD Sender: No OFD packet to send [06:37:06]OFD Sender: No OFD packet to send [06:37:11]OFD Sender: No OFD packet to send [06:37:16]OFD Sender: No OFD packet to send [06:37:21]OFD Sender: No OFD packet to send [06:37:26]OFD Sender: No OFD packet to send [06:37:31]OFD Sender: No OFD packet to send [06:37:36]OFD Sender: No OFD packet to send [06:37:41]OFD Sender: No OFD packet to send [06:37:46]OFD Sender: No OFD packet to send [06:37:51]OFD Sender: No OFD packet to send [06:37:56]OFD Sender: No OFD packet to send [06:38:01]OFD Sender: No OFD packet to send [06:38:06]OFD Sender: No OFD packet to send [06:38:11]OFD Sender: No OFD packet to send [06:38:16]OFD Sender: No OFD packet to send [06:38:21]OFD Sender: No OFD packet to send [06:38:26]OFD Sender: No OFD packet to send [06:38:31]OFD Sender: No OFD packet to send [06:38:36]OFD Sender: No OFD packet to send [06:38:41]OFD Sender: No OFD packet to send [06:38:46]OFD Sender: No OFD packet to send [06:38:51]OFD Sender: No OFD packet to send [06:38:56]OFD Sender: No OFD packet to send [06:39:01]OFD Sender: No OFD packet to send [06:39:06]OFD Sender: No OFD packet to send [06:39:11]OFD Sender: No OFD packet to send [06:39:16]OFD Sender: No OFD packet to send [06:39:21]OFD Sender: No OFD packet to send [06:39:26]OFD Sender: No OFD packet to send [06:39:31]OFD Sender: No OFD packet to send [06:39:36]OFD Sender: No OFD packet to send [06:39:41]OFD Sender: No OFD packet to send [06:39:46]OFD Sender: No OFD packet to send [06:39:51]OFD Sender: No OFD packet to send [06:39:56]OFD Sender: No OFD packet to send [06:40:01]OFD Sender: No OFD packet to send [06:40:06]OFD Sender: No OFD packet to send [06:40:11]OFD Sender: No OFD packet to send [06:40:16]OFD Sender: No OFD packet to send [06:40:21]OFD Sender: No OFD packet to send [06:40:26]OFD Sender: No OFD packet to send [06:40:31]OFD Sender: No OFD packet to send [06:40:36]OFD Sender: No OFD packet to send [06:40:41]OFD Sender: No OFD packet to send [06:40:46]OFD Sender: No OFD packet to send [06:40:51]OFD Sender: No OFD packet to send [06:40:56]OFD Sender: No OFD packet to send [06:41:01]OFD Sender: No OFD packet to send [06:41:06]OFD Sender: No OFD packet to send [06:41:11]OFD Sender: No OFD packet to send [06:41:16]OFD Sender: No OFD packet to send [06:41:21]OFD Sender: No OFD packet to send [06:41:26]OFD Sender: No OFD packet to send [06:41:31]OFD Sender: No OFD packet to send [06:41:36]OFD Sender: No OFD packet to send [06:41:41]OFD Sender: No OFD packet to send [06:41:46]OFD Sender: No OFD packet to send [06:41:51]OFD Sender: No OFD packet to send [06:41:56]OFD Sender: No OFD packet to send [06:42:01]OFD Sender: No OFD packet to send [06:42:06]OFD Sender: No OFD packet to send [06:42:11]OFD Sender: No OFD packet to send [06:42:16]OFD Sender: No OFD packet to send [06:42:21]OFD Sender: No OFD packet to send [06:42:26]OFD Sender: No OFD packet to send [06:42:31]OFD Sender: No OFD packet to send [06:42:36]OFD Sender: No OFD packet to send [06:42:41]OFD Sender: No OFD packet to send [06:42:46]OFD Sender: No OFD packet to send [06:42:51]OFD Sender: No OFD packet to send [06:42:56]OFD Sender: No OFD packet to send [06:43:01]OFD Sender: No OFD packet to send [06:43:06]OFD Sender: No OFD packet to send [06:43:11]OFD Sender: No OFD packet to send [06:43:16]OFD Sender: No OFD packet to send [06:43:21]OFD Sender: No OFD packet to send [06:43:26]OFD Sender: No OFD packet to send [06:43:31]OFD Sender: No OFD packet to send [06:43:36]OFD Sender: No OFD packet to send [06:43:41]OFD Sender: No OFD packet to send [06:43:46]OFD Sender: No OFD packet to send [06:43:51]OFD Sender: No OFD packet to send [06:43:56]OFD Sender: No OFD packet to send [06:44:01]OFD Sender: No OFD packet to send [06:44:06]OFD Sender: No OFD packet to send [06:44:11]OFD Sender: No OFD packet to send [06:44:16]OFD Sender: No OFD packet to send [06:44:21]OFD Sender: No OFD packet to send [06:44:26]OFD Sender: No OFD packet to send [06:44:31]OFD Sender: No OFD packet to send [06:44:36]OFD Sender: No OFD packet to send [06:44:41]OFD Sender: No OFD packet to send [06:44:46]OFD Sender: No OFD packet to send [06:44:51]OFD Sender: No OFD packet to send [06:44:56]OFD Sender: No OFD packet to send [06:45:01]OFD Sender: No OFD packet to send [06:45:06]OFD Sender: No OFD packet to send [06:45:11]OFD Sender: No OFD packet to send [06:45:16]OFD Sender: No OFD packet to send [06:45:21]OFD Sender: No OFD packet to send [06:45:26]OFD Sender: No OFD packet to send [06:45:31]OFD Sender: No OFD packet to send [06:45:36]OFD Sender: No OFD packet to send [06:45:41]OFD Sender: No OFD packet to send [06:45:46]OFD Sender: No OFD packet to send [06:45:51]OFD Sender: No OFD packet to send [06:45:56]OFD Sender: No OFD packet to send [06:46:01]OFD Sender: No OFD packet to send [06:46:06]OFD Sender: No OFD packet to send [06:46:11]OFD Sender: No OFD packet to send [06:46:16]OFD Sender: No OFD packet to send [06:46:21]OFD Sender: No OFD packet to send [06:46:26]OFD Sender: No OFD packet to send [06:46:31]OFD Sender: No OFD packet to send [06:46:36]OFD Sender: No OFD packet to send [06:46:41]OFD Sender: No OFD packet to send [06:46:46]OFD Sender: No OFD packet to send [06:46:51]OFD Sender: No OFD packet to send [06:46:56]OFD Sender: No OFD packet to send [06:47:01]OFD Sender: No OFD packet to send [06:47:06]OFD Sender: No OFD packet to send [06:47:11]OFD Sender: No OFD packet to send [06:47:16]OFD Sender: No OFD packet to send [06:47:21]OFD Sender: No OFD packet to send [06:47:26]OFD Sender: No OFD packet to send [06:47:31]OFD Sender: No OFD packet to send [06:47:36]OFD Sender: No OFD packet to send [06:47:41]OFD Sender: No OFD packet to send [06:47:46]OFD Sender: No OFD packet to send [06:47:51]OFD Sender: No OFD packet to send [06:47:56]OFD Sender: No OFD packet to send [06:48:01]OFD Sender: No OFD packet to send [06:48:06]OFD Sender: No OFD packet to send [06:48:11]OFD Sender: No OFD packet to send [06:48:16]OFD Sender: No OFD packet to send [06:48:21]OFD Sender: No OFD packet to send [06:48:26]OFD Sender: No OFD packet to send [06:48:31]OFD Sender: No OFD packet to send [06:48:36]OFD Sender: No OFD packet to send [06:48:41]OFD Sender: No OFD packet to send [06:48:46]OFD Sender: No OFD packet to send [06:48:51]OFD Sender: No OFD packet to send [06:48:56]OFD Sender: No OFD packet to send [06:49:01]OFD Sender: No OFD packet to send [06:49:06]OFD Sender: No OFD packet to send [06:49:11]OFD Sender: No OFD packet to send [06:49:16]OFD Sender: No OFD packet to send [06:49:21]OFD Sender: No OFD packet to send [06:49:26]OFD Sender: No OFD packet to send [06:49:31]OFD Sender: No OFD packet to send [06:49:36]OFD Sender: No OFD packet to send [06:49:41]OFD Sender: No OFD packet to send [06:49:46]OFD Sender: No OFD packet to send [06:49:51]OFD Sender: No OFD packet to send [06:49:56]OFD Sender: No OFD packet to send [06:50:01]OFD Sender: No OFD packet to send [06:50:06]OFD Sender: No OFD packet to send [06:50:12]OFD Sender: No OFD packet to send [06:50:17]OFD Sender: No OFD packet to send [06:50:22]OFD Sender: No OFD packet to send [06:50:27]OFD Sender: No OFD packet to send [06:50:32]OFD Sender: No OFD packet to send [06:50:37]OFD Sender: No OFD packet to send [06:50:42]OFD Sender: No OFD packet to send [06:50:47]OFD Sender: No OFD packet to send [06:50:52]OFD Sender: No OFD packet to send [06:50:57]OFD Sender: No OFD packet to send [06:51:02]OFD Sender: No OFD packet to send [06:51:07]OFD Sender: No OFD packet to send [06:51:12]OFD Sender: No OFD packet to send [06:51:17]OFD Sender: No OFD packet to send [06:51:22]OFD Sender: No OFD packet to send [06:51:27]OFD Sender: No OFD packet to send [06:51:32]OFD Sender: No OFD packet to send [06:51:37]OFD Sender: No OFD packet to send [06:51:42]OFD Sender: No OFD packet to send [06:51:47]OFD Sender: No OFD packet to send [06:51:52]OFD Sender: No OFD packet to send [06:51:57]OFD Sender: No OFD packet to send [06:52:02]OFD Sender: No OFD packet to send [06:52:07]OFD Sender: No OFD packet to send [06:52:12]OFD Sender: No OFD packet to send [06:52:17]OFD Sender: No OFD packet to send [06:52:22]OFD Sender: No OFD packet to send [06:52:27]OFD Sender: No OFD packet to send [06:52:32]OFD Sender: No OFD packet to send [06:52:37]OFD Sender: No OFD packet to send [06:52:42]OFD Sender: No OFD packet to send [06:52:47]OFD Sender: No OFD packet to send [06:52:52]OFD Sender: No OFD packet to send [06:52:57]OFD Sender: No OFD packet to send [06:53:02]OFD Sender: No OFD packet to send [06:53:07]OFD Sender: No OFD packet to send [06:53:12]OFD Sender: No OFD packet to send [06:53:17]OFD Sender: No OFD packet to send [06:53:22]OFD Sender: No OFD packet to send [06:53:27]OFD Sender: No OFD packet to send [06:53:32]OFD Sender: No OFD packet to send [06:53:37]OFD Sender: No OFD packet to send [06:53:42]OFD Sender: No OFD packet to send [06:53:47]OFD Sender: No OFD packet to send [06:53:52]OFD Sender: No OFD packet to send [06:53:57]OFD Sender: No OFD packet to send [06:54:02]OFD Sender: No OFD packet to send [06:54:07]OFD Sender: No OFD packet to send [06:54:12]OFD Sender: No OFD packet to send [06:54:17]OFD Sender: No OFD packet to send [06:54:22]OFD Sender: No OFD packet to send [06:54:27]OFD Sender: No OFD packet to send [06:54:32]OFD Sender: No OFD packet to send [06:54:37]OFD Sender: No OFD packet to send [06:54:42]OFD Sender: No OFD packet to send [06:54:47]OFD Sender: No OFD packet to send [06:54:52]OFD Sender: No OFD packet to send [06:54:57]OFD Sender: No OFD packet to send [06:55:02]OFD Sender: No OFD packet to send [06:55:07]OFD Sender: No OFD packet to send [06:55:12]OFD Sender: No OFD packet to send [06:55:17]OFD Sender: No OFD packet to send [06:55:22]OFD Sender: No OFD packet to send [06:55:27]OFD Sender: No OFD packet to send [06:55:32]OFD Sender: No OFD packet to send [06:55:37]OFD Sender: No OFD packet to send [06:55:42]OFD Sender: No OFD packet to send [06:55:47]OFD Sender: No OFD packet to send [06:55:52]OFD Sender: No OFD packet to send [06:55:57]OFD Sender: No OFD packet to send [06:56:02]OFD Sender: No OFD packet to send [06:56:07]OFD Sender: No OFD packet to send [06:56:12]OFD Sender: No OFD packet to send [06:56:17]OFD Sender: No OFD packet to send [06:56:22]OFD Sender: No OFD packet to send [06:56:27]OFD Sender: No OFD packet to send [06:56:32]OFD Sender: No OFD packet to send [06:56:37]OFD Sender: No OFD packet to send [06:56:42]OFD Sender: No OFD packet to send [06:56:47]OFD Sender: No OFD packet to send [06:56:52]OFD Sender: No OFD packet to send [06:56:57]OFD Sender: No OFD packet to send [06:57:02]OFD Sender: No OFD packet to send [06:57:07]OFD Sender: No OFD packet to send [06:57:12]OFD Sender: No OFD packet to send [06:57:17]OFD Sender: No OFD packet to send [06:57:22]OFD Sender: No OFD packet to send [06:57:27]OFD Sender: No OFD packet to send [06:57:32]OFD Sender: No OFD packet to send [06:57:37]OFD Sender: No OFD packet to send [06:57:42]OFD Sender: No OFD packet to send [06:57:47]OFD Sender: No OFD packet to send [06:57:52]OFD Sender: No OFD packet to send [06:57:57]OFD Sender: No OFD packet to send [06:58:02]OFD Sender: No OFD packet to send [06:58:07]OFD Sender: No OFD packet to send [06:58:12]OFD Sender: No OFD packet to send [06:58:17]OFD Sender: No OFD packet to send [06:58:22]OFD Sender: No OFD packet to send [06:58:27]OFD Sender: No OFD packet to send [06:58:32]OFD Sender: No OFD packet to send [06:58:37]OFD Sender: No OFD packet to send [06:58:42]OFD Sender: No OFD packet to send [06:58:47]OFD Sender: No OFD packet to send [06:58:52]OFD Sender: No OFD packet to send [06:58:57]OFD Sender: No OFD packet to send [06:59:02]OFD Sender: No OFD packet to send [06:59:07]OFD Sender: No OFD packet to send [06:59:12]OFD Sender: No OFD packet to send [06:59:17]OFD Sender: No OFD packet to send [06:59:22]OFD Sender: No OFD packet to send [06:59:27]OFD Sender: No OFD packet to send [06:59:32]OFD Sender: No OFD packet to send [06:59:37]OFD Sender: No OFD packet to send [06:59:42]OFD Sender: No OFD packet to send [06:59:47]OFD Sender: No OFD packet to send [06:59:52]OFD Sender: No OFD packet to send [06:59:57]OFD Sender: No OFD packet to send [07:00:02]OFD Sender: No OFD packet to send [07:00:07]OFD Sender: No OFD packet to send [07:00:12]OFD Sender: No OFD packet to send [07:00:17]OFD Sender: No OFD packet to send [07:00:22]OFD Sender: No OFD packet to send [07:00:27]OFD Sender: No OFD packet to send [07:00:32]OFD Sender: No OFD packet to send [07:00:37]OFD Sender: No OFD packet to send [07:00:42]OFD Sender: No OFD packet to send [07:00:47]OFD Sender: No OFD packet to send [07:00:52]OFD Sender: No OFD packet to send [07:00:57]OFD Sender: No OFD packet to send [07:01:02]OFD Sender: No OFD packet to send [07:01:07]OFD Sender: No OFD packet to send [07:01:12]OFD Sender: No OFD packet to send [07:01:17]OFD Sender: No OFD packet to send [07:01:22]OFD Sender: No OFD packet to send [07:01:27]OFD Sender: No OFD packet to send [07:01:32]OFD Sender: No OFD packet to send [07:01:37]OFD Sender: No OFD packet to send [07:01:42]OFD Sender: No OFD packet to send [07:01:47]OFD Sender: No OFD packet to send [07:01:52]OFD Sender: No OFD packet to send [07:01:57]OFD Sender: No OFD packet to send [07:02:02]OFD Sender: No OFD packet to send [07:02:07]OFD Sender: No OFD packet to send [07:02:12]OFD Sender: No OFD packet to send [07:02:17]OFD Sender: No OFD packet to send [07:02:22]OFD Sender: No OFD packet to send [07:02:27]OFD Sender: No OFD packet to send [07:02:32]OFD Sender: No OFD packet to send [07:02:37]OFD Sender: No OFD packet to send [07:02:42]OFD Sender: No OFD packet to send [07:02:47]OFD Sender: No OFD packet to send [07:02:52]OFD Sender: No OFD packet to send [07:02:57]OFD Sender: No OFD packet to send [07:03:02]OFD Sender: No OFD packet to send [07:03:07]OFD Sender: No OFD packet to send [07:03:12]OFD Sender: No OFD packet to send [07:03:17]OFD Sender: No OFD packet to send [07:03:22]OFD Sender: No OFD packet to send [07:03:27]OFD Sender: No OFD packet to send [07:03:32]OFD Sender: No OFD packet to send [07:03:37]OFD Sender: No OFD packet to send [07:03:42]OFD Sender: No OFD packet to send [07:03:47]OFD Sender: No OFD packet to send [07:03:52]OFD Sender: No OFD packet to send [07:03:57]OFD Sender: No OFD packet to send [07:04:02]OFD Sender: No OFD packet to send [07:04:07]OFD Sender: No OFD packet to send [07:04:12]OFD Sender: No OFD packet to send [07:04:17]OFD Sender: No OFD packet to send [07:04:22]OFD Sender: No OFD packet to send [07:04:27]OFD Sender: No OFD packet to send [07:04:32]OFD Sender: No OFD packet to send [07:04:37]OFD Sender: No OFD packet to send [07:04:42]OFD Sender: No OFD packet to send [07:04:47]OFD Sender: No OFD packet to send [07:04:52]OFD Sender: No OFD packet to send [07:04:57]OFD Sender: No OFD packet to send [07:05:02]OFD Sender: No OFD packet to send [07:05:07]OFD Sender: No OFD packet to send [07:05:12]OFD Sender: No OFD packet to send [07:05:17]OFD Sender: No OFD packet to send [07:05:22]OFD Sender: No OFD packet to send [07:05:27]OFD Sender: No OFD packet to send [07:05:32]OFD Sender: No OFD packet to send [07:05:37]OFD Sender: No OFD packet to send [07:05:42]OFD Sender: No OFD packet to send [07:05:47]OFD Sender: No OFD packet to send [07:05:52]OFD Sender: No OFD packet to send [07:05:57]OFD Sender: No OFD packet to send [07:06:02]OFD Sender: No OFD packet to send [07:06:07]OFD Sender: No OFD packet to send [07:06:12]OFD Sender: No OFD packet to send [07:06:17]OFD Sender: No OFD packet to send [07:06:22]OFD Sender: No OFD packet to send [07:06:27]OFD Sender: No OFD packet to send [07:06:32]OFD Sender: No OFD packet to send [07:06:37]OFD Sender: No OFD packet to send [07:06:42]OFD Sender: No OFD packet to send [07:06:47]OFD Sender: No OFD packet to send [07:06:52]OFD Sender: No OFD packet to send [07:06:57]OFD Sender: No OFD packet to send [07:07:02]OFD Sender: No OFD packet to send [07:07:07]OFD Sender: No OFD packet to send [07:07:12]OFD Sender: No OFD packet to send [07:07:17]OFD Sender: No OFD packet to send [07:07:22]OFD Sender: No OFD packet to send [07:07:27]OFD Sender: No OFD packet to send [07:07:32]OFD Sender: No OFD packet to send [07:07:37]OFD Sender: No OFD packet to send [07:07:42]OFD Sender: No OFD packet to send [07:07:47]OFD Sender: No OFD packet to send [07:07:52]OFD Sender: No OFD packet to send [07:07:57]OFD Sender: No OFD packet to send [07:08:02]OFD Sender: No OFD packet to send [07:08:07]OFD Sender: No OFD packet to send [07:08:12]OFD Sender: No OFD packet to send [07:08:17]OFD Sender: No OFD packet to send [07:08:22]OFD Sender: No OFD packet to send [07:08:27]OFD Sender: No OFD packet to send [07:08:32]OFD Sender: No OFD packet to send [07:08:37]OFD Sender: No OFD packet to send [07:08:42]OFD Sender: No OFD packet to send [07:08:47]OFD Sender: No OFD packet to send [07:08:52]OFD Sender: No OFD packet to send [07:08:57]OFD Sender: No OFD packet to send [07:09:02]OFD Sender: No OFD packet to send [07:09:07]OFD Sender: No OFD packet to send [07:09:12]OFD Sender: No OFD packet to send [07:09:17]OFD Sender: No OFD packet to send [07:09:22]OFD Sender: No OFD packet to send [07:09:27]OFD Sender: No OFD packet to send [07:09:32]OFD Sender: No OFD packet to send [07:09:37]OFD Sender: No OFD packet to send [07:09:42]OFD Sender: No OFD packet to send [07:09:47]OFD Sender: No OFD packet to send [07:09:52]OFD Sender: No OFD packet to send [07:09:57]OFD Sender: No OFD packet to send [07:10:02]OFD Sender: No OFD packet to send [07:10:07]OFD Sender: No OFD packet to send [07:10:12]OFD Sender: No OFD packet to send [07:10:17]OFD Sender: No OFD packet to send [07:10:22]OFD Sender: No OFD packet to send [07:10:27]OFD Sender: No OFD packet to send [07:10:32]OFD Sender: No OFD packet to send [07:10:37]OFD Sender: No OFD packet to send [07:10:42]OFD Sender: No OFD packet to send [07:10:47]OFD Sender: No OFD packet to send [07:10:52]OFD Sender: No OFD packet to send [07:10:57]OFD Sender: No OFD packet to send [07:11:02]OFD Sender: No OFD packet to send [07:11:07]OFD Sender: No OFD packet to send [07:11:12]OFD Sender: No OFD packet to send [07:11:17]OFD Sender: No OFD packet to send [07:11:22]OFD Sender: No OFD packet to send [07:11:27]OFD Sender: No OFD packet to send [07:11:32]OFD Sender: No OFD packet to send [07:11:37]OFD Sender: No OFD packet to send [07:11:42]OFD Sender: No OFD packet to send [07:11:48]OFD Sender: No OFD packet to send [07:11:53]OFD Sender: No OFD packet to send [07:11:58]OFD Sender: No OFD packet to send [07:12:03]OFD Sender: No OFD packet to send [07:12:08]OFD Sender: No OFD packet to send [07:12:13]OFD Sender: No OFD packet to send [07:12:18]OFD Sender: No OFD packet to send [07:12:23]OFD Sender: No OFD packet to send [07:12:28]OFD Sender: No OFD packet to send [07:12:33]OFD Sender: No OFD packet to send [07:12:38]OFD Sender: No OFD packet to send [07:12:43]OFD Sender: No OFD packet to send [07:12:48]OFD Sender: No OFD packet to send [07:12:53]OFD Sender: No OFD packet to send [07:12:58]OFD Sender: No OFD packet to send [07:13:03]OFD Sender: No OFD packet to send [07:13:08]OFD Sender: No OFD packet to send [07:13:13]OFD Sender: No OFD packet to send [07:13:18]OFD Sender: No OFD packet to send [07:13:23]OFD Sender: No OFD packet to send [07:13:28]OFD Sender: No OFD packet to send [07:13:33]OFD Sender: No OFD packet to send [07:13:38]OFD Sender: No OFD packet to send [07:13:43]OFD Sender: No OFD packet to send [07:13:48]OFD Sender: No OFD packet to send [07:13:53]OFD Sender: No OFD packet to send [07:13:58]OFD Sender: No OFD packet to send [07:14:03]OFD Sender: No OFD packet to send [07:14:08]OFD Sender: No OFD packet to send [07:14:13]OFD Sender: No OFD packet to send [07:14:18]OFD Sender: No OFD packet to send [07:14:23]OFD Sender: No OFD packet to send [07:14:28]OFD Sender: No OFD packet to send [07:14:33]OFD Sender: No OFD packet to send [07:14:38]OFD Sender: No OFD packet to send [07:14:43]OFD Sender: No OFD packet to send [07:14:48]OFD Sender: No OFD packet to send [07:14:53]OFD Sender: No OFD packet to send [07:14:58]OFD Sender: No OFD packet to send [07:15:03]OFD Sender: No OFD packet to send [07:15:08]OFD Sender: No OFD packet to send [07:15:13]OFD Sender: No OFD packet to send [07:15:18]OFD Sender: No OFD packet to send [07:15:23]OFD Sender: No OFD packet to send [07:15:28]OFD Sender: No OFD packet to send [07:15:33]OFD Sender: No OFD packet to send [07:15:38]OFD Sender: No OFD packet to send [07:15:43]OFD Sender: No OFD packet to send [07:15:48]OFD Sender: No OFD packet to send [07:15:53]OFD Sender: No OFD packet to send [07:15:58]OFD Sender: No OFD packet to send [07:16:03]OFD Sender: No OFD packet to send [07:16:08]OFD Sender: No OFD packet to send [07:16:13]OFD Sender: No OFD packet to send [07:16:18]OFD Sender: No OFD packet to send [07:16:23]OFD Sender: No OFD packet to send [07:16:28]OFD Sender: No OFD packet to send [07:16:33]OFD Sender: No OFD packet to send [07:16:38]OFD Sender: No OFD packet to send [07:16:43]OFD Sender: No OFD packet to send [07:16:48]OFD Sender: No OFD packet to send [07:16:53]OFD Sender: No OFD packet to send [07:16:58]OFD Sender: No OFD packet to send [07:17:03]OFD Sender: No OFD packet to send [07:17:08]OFD Sender: No OFD packet to send [07:17:13]OFD Sender: No OFD packet to send [07:17:18]OFD Sender: No OFD packet to send [07:17:23]OFD Sender: No OFD packet to send [07:17:28]OFD Sender: No OFD packet to send [07:17:33]OFD Sender: No OFD packet to send [07:17:38]OFD Sender: No OFD packet to send [07:17:43]OFD Sender: No OFD packet to send [07:17:48]OFD Sender: No OFD packet to send [07:17:53]OFD Sender: No OFD packet to send [07:17:58]OFD Sender: No OFD packet to send [07:18:03]OFD Sender: No OFD packet to send [07:18:08]OFD Sender: No OFD packet to send [07:18:13]OFD Sender: No OFD packet to send [07:18:18]OFD Sender: No OFD packet to send [07:18:23]OFD Sender: No OFD packet to send [07:18:28]OFD Sender: No OFD packet to send [07:18:33]OFD Sender: No OFD packet to send [07:18:38]OFD Sender: No OFD packet to send [07:18:43]OFD Sender: No OFD packet to send [07:18:48]OFD Sender: No OFD packet to send [07:18:53]OFD Sender: No OFD packet to send [07:18:56]accept exits with 7 [07:18:56]New connection [07:18:56]New thread 3067616612 created [07:18:56]Thread 3067473252 joined [07:18:56]Waiting for new connection... [07:18:56] Sock 7.Parse request [07:18:56]Sock 7.Check first char [07:18:56]Sock 7.First char is OK [07:18:56]request: POST /json_proto HTTP/1.0 [07:18:56]Method: POST [07:18:56]URL: /json_proto [07:18:56]Method is POST - this is cgi request [07:18:56]url: /json_proto [07:18:56]query_string will be loaded in cgi processing [07:18:56]execute_cgi json_proto POST (null) [07:18:56]execute_cgi path=json_proto method=POST [07:18:56]POST find Content-Length [07:18:56]Host: 172.17.38.134:8080 [07:18:56]Content-Length: 1338 [07:18:56]Content-Type: application/json [07:18:56] [07:18:56]POST finish read [07:18:56]Found Content-Length = 1338 [07:18:56]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184335", "tax_sys" : 0, "items" : [ { "code": "48742078", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B LD Silver", "price" : 130.00, "quantity" : 2.000, "sum" : 260.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4600682557456", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FLash up energy \u044D\u043D \u0436/\u0431 0,5/0,45\u043B", "price" : 72.00, "quantity" : 1.000, "sum" : 72.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "6931280300549", "name": "\u0417\u0430\u0436\u0438\u0433\u0430\u043B\u043A\u0430 Cricket \u041F\u041D \u043F\u044C\u0435\u0437\u043E", "price" : 67.00, "quantity" : 1.000, "sum" : 67.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 399.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:18:56]execute_script... [07:18: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)184335", "tax_sys" : 0, "items" : [ { "code": "48742078", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B LD Silver", "price" : 130.00, "quantity" : 2.000, "sum" : 260.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4600682557456", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FLash up energy \u044D\u043D \u0436/\u0431 0,5/0,45\u043B", "price" : 72.00, "quantity" : 1.000, "sum" : 72.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "6931280300549", "name": "\u0417\u0430\u0436\u0438\u0433\u0430\u043B\u043A\u0430 Cricket \u041F\u041D \u043F\u044C\u0435\u0437\u043E", "price" : 67.00, "quantity" : 1.000, "sum" : 67.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 399.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:18:56]POST & json_proto [07:18:56]process_json_proto [07:18:56]json parsed OK: [07:18:56]protocol is kg_v1.0 [07:18:56]action value=close_receipt [07:18:56]process_action close_receipt [07:18:56]cmd_close_receipt [07:18:56]MH_GetDate [07:18:56]Write to MH i2c: F0 00 00 B5 0F B3 [07:18:56]Write i2c OK [07:18:56]MH_I2C_Read... [07:18:56]Read from MH i2c: F0 [07:18:56]MH_I2C_Read... [07:18:56]Read from MH i2c: F0 09 00 [07:18:56]MH_I2C_Read... [07:18:56]Read from MH i2c: F0 09 00 B5 0F 00 E4 7A 76 66 13 9C 7C 64 85 [07:18:56]GetLastDocTimeStamp 1719026898 [07:18:56]current date 1719040740 [07:18:56]FM_GetShiftState [07:18:56]SAM_PROTO_GetShiftState [07:18:56]wFMCommunicate request_size=4 [07:18:56]MH_SAM_APDU [07:18:56]CAPDU: 80 13 01 00 [07:18:56]Write to MH i2c: E2 08 00 B6 0F 80 13 01 00 00 00 00 00 42 [07:18:56]Write i2c OK [07:18:56]MH_I2C_Read... [07:18:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:18:56]Read from MH i2c: E2 [07:18:56]MH_I2C_Read... [07:18:56]Read from MH i2c: E2 0E 00 [07:18:56]MH_I2C_Read... [07:18:56]Read from MH i2c: E2 0E 00 B6 0F 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 FC [07:18:56]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [07:18:56]wFMCommunicate OK [07:18:56]SAM_PROTO_GetShiftState done [07:18:56]FM_GetShiftState done [07:18:56]opened in 1719016120 [07:18:56]opened+sec_in_day 1719102520 [07:18:56]quantity*price = 26000 [07:18:56]sum+1 = 26001 [07:18:56]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4600682557456 Напиток FLash up energy эн ж/б 0,5/0,45л 1.000 * 72.00 = 72.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 6931280300549 Зажигалка Cricket ПН пьезо 1.000 * 67.00 = 67.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 399.00 НСП 1% : 3.53 НДС 12% : 42.37 Наличными: 0.00 Безнал.: 399.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 4 22.06.2024 07:19 Смена: 327 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 Платежная система: Бакай Банк ФМ: 0000000000875095 ФД: 34578 ФПД: 243909973164444 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T071901&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34578&fm=243909973164444&tin=02508201610067®Number=0000000000092786&sum=39900 0 [07:18:57]StoreToDocumentArchive [07:18:57]shift 327 fd 34578 [07:18:57]save to /storage/0327/doc_00034578 [07:18:57]save last doc name /storage/0327/doc_00034578 to /storage/kkm_last_doc_name [07:18:57]save OK [07:18:57]Clear old archive folders... [07:18:57]ProcessDocumentItem done err = 0, tmpTLVsize=501 [07:18:57]tlvbuf is 015B5B70 [07:18:57]SAM_PROTO_ClearQueue [07:18:57]wFMCommunicate request_size=4 [07:18:57]MH_SAM_APDU [07:18:57]CAPDU: 80 09 00 00 [07:18:57]Write to MH i2c: E2 08 00 C3 0F 80 09 00 00 00 00 00 00 44 [07:18:57]Write i2c OK [07:18:57]MH_I2C_Read... [07:18:57]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:18:57]Read from MH i2c: E2 [07:18:57]MH_I2C_Read... [07:18:57]Read from MH i2c: E2 03 00 [07:18:57]MH_I2C_Read... [07:18:57]Read from MH i2c: E2 03 00 C3 0F 00 90 00 46 [07:18:57]RAPDU: 90 00 [07:18:57]wFMCommunicate OK [07:18:57]SAM_PROTO_ClearQueue done [07:18:57]KKMCreateOFDPacket [07:18:57]OFDProtocolAddRootSTLVToBuf [07:18:57]FM_MakeSignedData [07:18:57]FM_MakeSignedData [07:18:57]SAM_PROTO_SignData [07:18:57]wFMCommunicate request_size=4 [07:18:57]MH_SAM_APDU [07:18:57]CAPDU: 80 0D 01 02 [07:18:57]Write to MH i2c: E2 08 00 C4 0F 80 0D 01 02 00 00 00 00 4C [07:18:57]Write i2c OK [07:18:57]MH_I2C_Read... [07:18:57]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:18:57]Read from MH i2c: E2 [07:18:57]MH_I2C_Read... [07:18:57]Read from MH i2c: E2 03 00 [07:18:57]MH_I2C_Read... [07:18:57]Read from MH i2c: E2 03 00 C4 0F 00 90 00 47 [07:18:57]RAPDU: 90 00 [07:18:57]wFMCommunicate OK [07:18:57]wFMCommunicate request_size=255 [07:18:57]MH_SAM_APDU [07:18:57]CAPDU: 80 0D 02 02 FA 03 00 F5 01 1E 04 01 00 01 23 04 59 00 8A 04 08 00 34 38 37 34 32 30 37 38 06 04 1A 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 53 69 6C 76 65 72 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 20 1C 00 00 00 00 13 04 06 00 20 1C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6E 00 8A 04 0D 00 36 39 33 31 32 38 30 33 30 30 35 34 39 06 04 2A [07:18:58]Write to MH i2c: E2 02 01 C5 0F 80 0D 02 02 FA 00 03 00 F5 01 1E 04 01 00 01 23 04 59 00 8A 04 08 00 34 38 37 34 32 30 37 38 06 04 1A 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 53 69 6C 76 65 72 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 20 1C 00 00 00 00 13 04 06 00 20 1C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6E 00 8A 04 0D 00 36 39 33 31 32 38 30 33 30 30 35 34 39 06 04 2A 00 00 34 [07:18:58]Write i2c OK [07:18:58]MH_I2C_Read... [07:18:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:18:58]Read from MH i2c: E2 [07:18:58]MH_I2C_Read... [07:18:58]Read from MH i2c: E2 03 00 [07:18:58]MH_I2C_Read... [07:18:58]Read from MH i2c: E2 03 00 C5 0F 00 90 00 48 [07:18:58]RAPDU: 90 00 [07:18:58]wFMCommunicate OK [07:18:58]wFMCommunicate request_size=255 [07:18:58]MH_SAM_APDU [07:18:58]CAPDU: 80 0D 02 02 FA 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 9B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8D 10 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 DC 9B 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 E5 7A 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 12 87 00 00 35 04 06 00 DD [07:18:58]Write to MH i2c: E2 02 01 C6 0F 80 0D 02 02 FA 00 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 9B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8D 10 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 DC 9B 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 E5 7A 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 12 87 00 00 35 04 06 00 DD 00 00 23 [07:18:58]OFD Sender: No OFD packet to send [07:18:58]Write i2c OK [07:18:58]MH_I2C_Read... [07:18:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:18:58]Read from MH i2c: E2 [07:18:58]MH_I2C_Read... [07:18:58]Read from MH i2c: E2 03 00 [07:18:58]MH_I2C_Read... [07:18:58]Read from MH i2c: E2 03 00 C6 0F 00 90 00 49 [07:18:58]RAPDU: 90 00 [07:18:58]wFMCommunicate OK [07:18:58]wFMCommunicate request_size=10 [07:18:58]MH_SAM_APDU [07:18:58]CAPDU: 80 0D 02 02 05 D5 B7 4E C1 9C [07:18:58]Write to MH i2c: E2 0D 00 C7 0F 80 0D 02 02 05 00 D5 B7 4E C1 9C 00 00 91 [07:18:58]Write i2c OK [07:18:58]MH_I2C_Read... [07:18:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:18:58]Read from MH i2c: E2 [07:18:58]MH_I2C_Read... [07:18:58]Read from MH i2c: E2 03 00 [07:18:58]MH_I2C_Read... [07:18:58]Read from MH i2c: E2 03 00 C7 0F 00 90 00 4A [07:18:58]RAPDU: 90 00 [07:18:58]wFMCommunicate OK [07:18:58]wFMCommunicate request_size=4 [07:18:58]MH_SAM_APDU [07:18:58]CAPDU: 80 0D 03 02 [07:18:58]Write to MH i2c: E2 08 00 C8 0F 80 0D 03 02 00 00 00 00 52 [07:18:58]Write i2c OK [07:18:58]MH_I2C_Read... [07:18:58]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:18:58]Read from MH i2c: E2 [07:18:58]MH_I2C_Read... [07:18:58]Read from MH i2c: E2 0B 00 [07:18:58]MH_I2C_Read... [07:18:58]Read from MH i2c: E2 0B 00 C8 0F 00 BA DE 2B 47 DA 6D 8C A3 90 00 D3 [07:18:58]RAPDU: BA DE 2B 47 DA 6D 8C A3 90 00 [07:18:58]wFMCommunicate OK [07:18:58]SAM_PROTO_SignData done [07:18:58]FM_MakeSignedData done [07:18:58]CreateOFDProtocolMessage [07:18:58]wFMCommunicate request_size=4 [07:18:58]MH_SAM_APDU [07:18:58]CAPDU: 80 11 00 00 [07:18:58]Write to MH i2c: E2 08 00 C9 0F 80 11 00 00 00 00 00 00 52 [07:18:58]Write i2c OK [07:18:58]MH_I2C_Read... [07:18:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:18:58]Read from MH i2c: E2 [07:18:58]MH_I2C_Read... [07:18:58]Read from MH i2c: E2 17 00 [07:18:58]MH_I2C_Read... [07:18:58]Read from MH i2c: E2 17 00 C9 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 A7 [07:18:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [07:18:58]wFMCommunicate OK [07:18:58]CreateOFDProtocolMessage done [07:18:58]OFDSenderStorePacket 34578 [07:18:58]StoreOFDPacket docnum=34578 [07:18:58]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 09 02 00 00 DE 7B 01 02 B9 26 5A 03 01 00 03 00 F5 01 1E 04 01 00 01 23 04 59 00 8A 04 08 00 34 38 37 34 32 30 37 38 06 04 1A 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 53 69 6C 76 65 72 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 20 1C 00 00 00 00 13 04 06 00 20 1C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6E 00 8A 04 0D 00 36 39 33 31 32 38 30 33 30 30 35 34 39 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 9B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8D 10 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 DC 9B 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 E5 7A 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 12 87 00 00 35 04 06 00 DD D5 B7 4E C1 9C BA DE 2B 47 DA 6D 8C A3 [07:18:58]CheckFolder [07:18:58]dirname=/storage/ofd_packets [07:18:58]CheckFolder done [07:18:58]ProducePacketName [07:18:58]name=ofd_packets/00034578 [07:18:58]NVStorageSaveData ofd_packets/00034578 [07:18:58]File name is /storage/ofd_packets/00034578 [07:18:58]Write 551 bytes [07:18:58]NVStorageSaveData done [07:18:58]OFDSenderStorePacket done [07:18:58]KKMCreateOFDPacket done [07:18:58]NVStorageSaveData kkm_last_timestamp [07:18:58]File name is /storage/kkm_last_timestamp [07:18:58]Write 4 bytes [07:18:58]NVStorageSaveData done [07:18:58]ExternCall_PrintAddStr [07:18:58]wPrintStart [07:18:58]Write to MH i2c: 01 00 00 CA 0F D9 [07:18:58]Write i2c OK [07:18:58]MH_I2C_Read... [07:18:58]Read from MH i2c: 01 [07:18:58]MH_I2C_Read... [07:18:58]Read from MH i2c: 01 07 00 [07:18:58]MH_I2C_Read... [07:18:58]Read from MH i2c: 01 07 00 CA 0F 00 00 00 00 00 FF 0F EE [07:18:58]RasterBufferAndPrint [07:18:58]line Счет N : (3)184335 [07:18:58]line ИНН: 02508201610067 [07:18:58]line Контрольно-Кассовый Чек [07:18:58]line ПРОДАЖА [07:18:58]line Товар: 48742078 [07:18:58]line Сигареты LD Silver [07:18:58]line 2.000 * 130.00 [07:18:58]line = 260.00 [07:18:58]line НДС 12% НСП 1% [07:18:58]line > о реализуемом товаре [07:18:58]line Товар: 4600682557456 [07:18:58]line Напиток FLash up energy эн ж/б 0,5/0,45л [07:18:58]line 1.000 * 72.00 [07:18:58]line = 72.00 [07:18:58]line НДС 12% НСП 1% [07:18:58]line > о реализуемом товаре [07:18:58]line Товар: 6931280300549 [07:18:58]line Зажигалка Cricket ПН пьезо [07:18:58]line 1.000 * 67.00 [07:18:58]line = 67.00 [07:18:58]line НДС 12% НСП 1% [07:18:58]line > о реализуемом товаре [07:18:58]line ИТОГО: 399.00 [07:18:58]line НСП 1% : 3.53 [07:18:58]line НДС 12% : 42.37 [07:18:58]line Наличными: 0.00 [07:18:58]line Безнал.: 399.00 [07:18:58]line Место: АЗС № 120 "Партнер Нефть" [07:18:58]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [07:18:58]line СНО: Общий режим [07:18:58]line Чек 4 22.06.2024 07:19 [07:18:58]line Смена: 327 ФФД: 1.0 [07:18:58]line ЗНМ: 0300000172 [07:18:58]line РНМ: 0000000000092786 [07:18:58]line Версия ККМ: 001 [07:18:58]line Платежная система: Бакай Банк [07:18:58]line ФМ: 0000000000875095 [07:18:58]line ФД: 34578 [07:18:58]line ФПД: 243909973164444 [07:18:58]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T071901&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34578&fm=243909973164444&tin=02508201610067®Number=0000000000092786&sum=39900 [07:18:58]line 0 [07:18:58]written 0, free lines is 4095 [07:18:58]OFD Sender: Processing packet 34578 [packets to send 8, broken 7] [07:18:58]ProducePacketName [07:18:58]name=ofd_packets/00034578 [07:18:58]OFD Sender: To server: pG, [07:18:58]CommunicateWithHost lk.salyk.kg:30040 [07:18:58]ConnectInit lk.salyk.kg [07:18:59]Connected sock=10 [07:18:59]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 09 02 00 00 DE 7B 01 02 B9 26 5A 03 01 00 03 00 F5 01 1E 04 01 00 01 23 04 59 00 8A 04 08 00 34 38 37 34 32 30 37 38 06 04 1A 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 53 69 6C 76 65 72 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 20 1C 00 00 00 00 13 04 06 00 20 1C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6E 00 8A 04 0D 00 36 39 33 31 32 38 30 33 30 30 35 34 39 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 9B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8D 10 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 DC 9B 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 E5 7A 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 12 87 00 00 35 04 06 00 DD D5 B7 4E C1 9C BA DE 2B 47 DA 6D 8C A3 [07:18:59]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 AA 5F 47 00 8E 11 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 12 87 00 00 F4 03 04 00 A9 21 76 66 B6 04 01 00 00 DC 34 66 01 A5 C4 32 90 [07:18:59]CommunicateWithHost err = 0 [07:18:59]CheckOFDResponse [07:18:59]1017 (14) - 77093643461234 [07:18:59]1041 (16) - 0000000000875095 [07:18:59]1040 (4) - 34578 [07:18:59]1012 (4) - 22.06.2024 00:58 [07:18:59]1206 (1) - 0 [07:18:59]OFD Sender: Remove packet 34578 [07:18:59]ProducePacketName [07:18:59]name=ofd_packets/00034578 [07:18:59]NVStorageDeleteData [07:18:59]Write to MH i2c: 01 00 00 01 10 11 [07:18:59]Write i2c OK [07:18:59]MH_I2C_Read... [07:18:59]Read from MH i2c: 01 [07:18:59]MH_I2C_Read... [07:18:59]Read from MH i2c: 01 07 00 [07:18:59]MH_I2C_Read... [07:18:59]Read from MH i2c: 01 07 00 01 10 00 00 00 00 00 2A 0C 4E [07:18:59]RasterBufferAndPrint [07:18:59]line [07:18:59]line [07:18:59]line [07:18:59]line [07:18:59]line [07:18:59]written 0, free lines is 3123 [07:18:59]MH_Cut [07:18:59]Write to MH i2c: D1 01 00 08 10 01 EA [07:18:59]Write i2c OK [07:18:59]MH_I2C_Read... [07:18:59]Read from MH i2c: D1 [07:18:59]MH_I2C_Read... [07:18:59]Read from MH i2c: D1 01 00 [07:18:59]MH_I2C_Read... [07:18:59]Read from MH i2c: D1 01 00 08 10 00 E9 [07:18:59]Write to MH i2c: 01 00 00 09 10 19 [07:18:59]Write i2c OK [07:18:59]MH_I2C_Read... [07:18:59]OFD Sender: No OFD packet to send [07:19:00]*** Cut start [07:19:00]*** Partial cut [07:19:00]*** CUTSNS_PIN = 1 [07:19:00]*** CUTSNS_PIN = 0 [07:19:00]*** Brake cut motor [07:19:00]Read from MH i2c: 01 [07:19:00]MH_I2C_Read... [07:19:00]*** Stop cut motor [07:19:00]*** Cut end [07:19:00]Read from MH i2c: 01 07 00 [07:19:00]MH_I2C_Read... [07:19:00]Read from MH i2c: 01 07 00 09 10 00 00 00 00 00 FF 0F 2E [07:19:00]process_action close_receipt done [07:19:00]requested_data is exist [07:19:00]produce_requested_data [07:19:00]requested_item fm.sn is exist - process it [07:19:00]wFMCommunicate request_size=4 [07:19:00]MH_SAM_APDU [07:19:00]CAPDU: 80 11 00 00 [07:19:00]Write to MH i2c: E2 08 00 0A 10 80 11 00 00 00 00 00 00 94 [07:19:00]Write i2c OK [07:19:00]MH_I2C_Read... [07:19:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:19:01]Read from MH i2c: E2 [07:19:01]MH_I2C_Read... [07:19:01]Read from MH i2c: E2 17 00 [07:19:01]MH_I2C_Read... [07:19:01]Read from MH i2c: E2 17 00 0A 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 E9 [07:19:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [07:19:01]wFMCommunicate OK [07:19:01]requested_item fd.num is exist - process it [07:19:01]SAM_PROTO_GetFieldsCounters [07:19:01]wFMCommunicate request_size=4 [07:19:01]MH_SAM_APDU [07:19:01]CAPDU: 80 13 00 00 [07:19:01]Write to MH i2c: E2 08 00 0B 10 80 13 00 00 00 00 00 00 97 [07:19:01]Write i2c OK [07:19:01]MH_I2C_Read... [07:19:01]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:19:01]Read from MH i2c: E2 [07:19:01]MH_I2C_Read... [07:19:01]Read from MH i2c: E2 62 00 [07:19:01]MH_I2C_Read... [07:19:01]Read from MH i2c: E2 62 00 0B 10 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 12 87 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 AE [07:19:01]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 12 87 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 [07:19:01]wFMCommunicate OK [07:19:01]SAM_PROTO_GetFieldsCounters done [07:19:01]requested_item shift.num is exist - process it [07:19:01]requested_item shift.opened is exist - process it [07:19:01]req_shift_opened [07:19:01]FM_GetShiftState [07:19:01]SAM_PROTO_GetShiftState [07:19:01]wFMCommunicate request_size=4 [07:19:01]MH_SAM_APDU [07:19:01]CAPDU: 80 13 01 00 [07:19:01]Write to MH i2c: E2 08 00 0C 10 80 13 01 00 00 00 00 00 99 [07:19:01]Write i2c OK [07:19:01]MH_I2C_Read... [07:19:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:19:01]Read from MH i2c: E2 [07:19:01]MH_I2C_Read... [07:19:01]Read from MH i2c: E2 0E 00 [07:19:01]MH_I2C_Read... [07:19:01]Read from MH i2c: E2 0E 00 0C 10 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 53 [07:19:01]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [07:19:01]wFMCommunicate OK [07:19:01]SAM_PROTO_GetShiftState done [07:19:01]FM_GetShiftState done [07:19:01]req_shift_opened done [07:19:01]requested_item shift.open_date is exist - process it [07:19:01]req_shift_open_date [07:19:01]req_shift_open_date done [07:19:01]produce_requested_data done [07:19:01]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34578,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120} [07:19:01]process_action_free close_receipt [07:19:01]json_value_free [07:19:01]json_value_free done [07:19:01]process_json_proto returns [07:19:01]Send response to host [07:19:01]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34578,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120}}} [07:19:01]free response buf [07:19:01]execute_script done [07:19:01]execute_script returns [07:19:01]free content buf [07:19:01]Sock 7.Close socket [07:19:01]Sock 7.Thread stoped [07:19:04]OFD Sender: No OFD packet to send [07:19:09]OFD Sender: No OFD packet to send [07:19:14]OFD Sender: No OFD packet to send [07:19:19]OFD Sender: No OFD packet to send [07:19:24]OFD Sender: No OFD packet to send [07:19:29]OFD Sender: No OFD packet to send [07:19:34]OFD Sender: No OFD packet to send [07:19:39]OFD Sender: No OFD packet to send [07:19:44]OFD Sender: No OFD packet to send [07:19:49]OFD Sender: No OFD packet to send [07:19:54]OFD Sender: No OFD packet to send [07:19:59]OFD Sender: No OFD packet to send [07:20:04]OFD Sender: No OFD packet to send [07:20:09]OFD Sender: No OFD packet to send [07:20:14]OFD Sender: No OFD packet to send [07:20:19]OFD Sender: No OFD packet to send [07:20:24]OFD Sender: No OFD packet to send [07:20:29]OFD Sender: No OFD packet to send [07:20:34]OFD Sender: No OFD packet to send [07:20:39]OFD Sender: No OFD packet to send [07:20:44]OFD Sender: No OFD packet to send [07:20:49]OFD Sender: No OFD packet to send [07:20:54]OFD Sender: No OFD packet to send [07:20:59]OFD Sender: No OFD packet to send [07:21:04]OFD Sender: No OFD packet to send [07:21:09]OFD Sender: No OFD packet to send [07:21:14]OFD Sender: No OFD packet to send [07:21:19]OFD Sender: No OFD packet to send [07:21:24]OFD Sender: No OFD packet to send [07:21:29]OFD Sender: No OFD packet to send [07:21:34]OFD Sender: No OFD packet to send [07:21:39]OFD Sender: No OFD packet to send [07:21:44]OFD Sender: No OFD packet to send [07:21:49]OFD Sender: No OFD packet to send [07:21:54]OFD Sender: No OFD packet to send [07:21:59]OFD Sender: No OFD packet to send [07:22:04]OFD Sender: No OFD packet to send [07:22:09]OFD Sender: No OFD packet to send [07:22:14]OFD Sender: No OFD packet to send [07:22:19]OFD Sender: No OFD packet to send [07:22:24]OFD Sender: No OFD packet to send [07:22:29]OFD Sender: No OFD packet to send [07:22:34]OFD Sender: No OFD packet to send [07:22:39]OFD Sender: No OFD packet to send [07:22:44]OFD Sender: No OFD packet to send [07:22:49]OFD Sender: No OFD packet to send [07:22:54]OFD Sender: No OFD packet to send [07:22:59]OFD Sender: No OFD packet to send [07:23:04]OFD Sender: No OFD packet to send [07:23:09]OFD Sender: No OFD packet to send [07:23:15]OFD Sender: No OFD packet to send [07:23:20]OFD Sender: No OFD packet to send [07:23:25]OFD Sender: No OFD packet to send [07:23:30]OFD Sender: No OFD packet to send [07:23:35]OFD Sender: No OFD packet to send [07:23:40]OFD Sender: No OFD packet to send [07:23:45]OFD Sender: No OFD packet to send [07:23:50]OFD Sender: No OFD packet to send [07:23:55]OFD Sender: No OFD packet to send [07:24:00]OFD Sender: No OFD packet to send [07:24:05]OFD Sender: No OFD packet to send [07:24:10]OFD Sender: No OFD packet to send [07:24:15]OFD Sender: No OFD packet to send [07:24:20]OFD Sender: No OFD packet to send [07:24:25]OFD Sender: No OFD packet to send [07:24:30]OFD Sender: No OFD packet to send [07:24:35]OFD Sender: No OFD packet to send [07:24:40]OFD Sender: No OFD packet to send [07:24:45]OFD Sender: No OFD packet to send [07:24:50]OFD Sender: No OFD packet to send [07:24:55]OFD Sender: No OFD packet to send [07:25:00]OFD Sender: No OFD packet to send [07:25:05]OFD Sender: No OFD packet to send [07:25:10]OFD Sender: No OFD packet to send [07:25:15]OFD Sender: No OFD packet to send [07:25:20]OFD Sender: No OFD packet to send [07:25:25]OFD Sender: No OFD packet to send [07:25:30]OFD Sender: No OFD packet to send [07:25:35]OFD Sender: No OFD packet to send [07:25:40]OFD Sender: No OFD packet to send [07:25:45]OFD Sender: No OFD packet to send [07:25:50]OFD Sender: No OFD packet to send [07:25:55]OFD Sender: No OFD packet to send [07:26:00]OFD Sender: No OFD packet to send [07:26:05]OFD Sender: No OFD packet to send [07:26:10]OFD Sender: No OFD packet to send [07:26:15]OFD Sender: No OFD packet to send [07:26:20]OFD Sender: No OFD packet to send [07:26:25]OFD Sender: No OFD packet to send [07:26:30]OFD Sender: No OFD packet to send [07:26:35]OFD Sender: No OFD packet to send [07:26:40]OFD Sender: No OFD packet to send [07:26:45]OFD Sender: No OFD packet to send [07:26:50]OFD Sender: No OFD packet to send [07:26:55]OFD Sender: No OFD packet to send [07:27:00]OFD Sender: No OFD packet to send [07:27:05]OFD Sender: No OFD packet to send [07:27:10]OFD Sender: No OFD packet to send [07:27:15]OFD Sender: No OFD packet to send [07:27:20]OFD Sender: No OFD packet to send [07:27:25]OFD Sender: No OFD packet to send [07:27:30]OFD Sender: No OFD packet to send [07:27:35]OFD Sender: No OFD packet to send [07:27:40]OFD Sender: No OFD packet to send [07:27:45]OFD Sender: No OFD packet to send [07:27:50]OFD Sender: No OFD packet to send [07:27:55]OFD Sender: No OFD packet to send [07:28:00]OFD Sender: No OFD packet to send [07:28:05]OFD Sender: No OFD packet to send [07:28:10]OFD Sender: No OFD packet to send [07:28:15]OFD Sender: No OFD packet to send [07:28:20]OFD Sender: No OFD packet to send [07:28:25]OFD Sender: No OFD packet to send [07:28:30]OFD Sender: No OFD packet to send [07:28:35]OFD Sender: No OFD packet to send [07:28:40]OFD Sender: No OFD packet to send [07:28:45]OFD Sender: No OFD packet to send [07:28:50]OFD Sender: No OFD packet to send [07:28:55]OFD Sender: No OFD packet to send [07:29:00]OFD Sender: No OFD packet to send [07:29:05]OFD Sender: No OFD packet to send [07:29:10]OFD Sender: No OFD packet to send [07:29:15]OFD Sender: No OFD packet to send [07:29:20]OFD Sender: No OFD packet to send [07:29:25]OFD Sender: No OFD packet to send [07:29:30]OFD Sender: No OFD packet to send [07:29:35]OFD Sender: No OFD packet to send [07:29:40]OFD Sender: No OFD packet to send [07:29:45]OFD Sender: No OFD packet to send [07:29:50]OFD Sender: No OFD packet to send [07:29:55]OFD Sender: No OFD packet to send [07:30:00]OFD Sender: No OFD packet to send [07:30:05]OFD Sender: No OFD packet to send [07:30:10]OFD Sender: No OFD packet to send [07:30:15]OFD Sender: No OFD packet to send [07:30:20]OFD Sender: No OFD packet to send [07:30:25]OFD Sender: No OFD packet to send [07:30:30]OFD Sender: No OFD packet to send [07:30:35]OFD Sender: No OFD packet to send [07:30:40]OFD Sender: No OFD packet to send [07:30:45]OFD Sender: No OFD packet to send [07:30:50]OFD Sender: No OFD packet to send [07:30:55]OFD Sender: No OFD packet to send [07:31:00]OFD Sender: No OFD packet to send [07:31:05]OFD Sender: No OFD packet to send [07:31:10]OFD Sender: No OFD packet to send [07:31:15]OFD Sender: No OFD packet to send [07:31:20]OFD Sender: No OFD packet to send [07:31:25]OFD Sender: No OFD packet to send [07:31:30]OFD Sender: No OFD packet to send [07:31:35]OFD Sender: No OFD packet to send [07:31:40]OFD Sender: No OFD packet to send [07:31:45]OFD Sender: No OFD packet to send [07:31:50]OFD Sender: No OFD packet to send [07:31:55]OFD Sender: No OFD packet to send [07:32:00]OFD Sender: No OFD packet to send [07:32:05]OFD Sender: No OFD packet to send [07:32:10]OFD Sender: No OFD packet to send [07:32:15]OFD Sender: No OFD packet to send [07:32:20]OFD Sender: No OFD packet to send [07:32:25]OFD Sender: No OFD packet to send [07:32:30]OFD Sender: No OFD packet to send [07:32:35]OFD Sender: No OFD packet to send [07:32:40]OFD Sender: No OFD packet to send [07:32:45]OFD Sender: No OFD packet to send [07:32:50]OFD Sender: No OFD packet to send [07:32:55]OFD Sender: No OFD packet to send [07:33:00]OFD Sender: No OFD packet to send [07:33:05]OFD Sender: No OFD packet to send [07:33:10]OFD Sender: No OFD packet to send [07:33:15]OFD Sender: No OFD packet to send [07:33:20]OFD Sender: No OFD packet to send [07:33:25]OFD Sender: No OFD packet to send [07:33:30]OFD Sender: No OFD packet to send [07:33:35]OFD Sender: No OFD packet to send [07:33:40]OFD Sender: No OFD packet to send [07:33:45]OFD Sender: No OFD packet to send [07:33:50]OFD Sender: No OFD packet to send [07:33:55]OFD Sender: No OFD packet to send [07:34:00]OFD Sender: No OFD packet to send [07:34:05]OFD Sender: No OFD packet to send [07:34:10]OFD Sender: No OFD packet to send [07:34:15]OFD Sender: No OFD packet to send [07:34:20]OFD Sender: No OFD packet to send [07:34:25]OFD Sender: No OFD packet to send [07:34:30]OFD Sender: No OFD packet to send [07:34:35]OFD Sender: No OFD packet to send [07:34:40]OFD Sender: No OFD packet to send [07:34:45]OFD Sender: No OFD packet to send [07:34:50]OFD Sender: No OFD packet to send [07:34:55]OFD Sender: No OFD packet to send [07:35:00]OFD Sender: No OFD packet to send [07:35:05]OFD Sender: No OFD packet to send [07:35:10]OFD Sender: No OFD packet to send [07:35:15]OFD Sender: No OFD packet to send [07:35:20]OFD Sender: No OFD packet to send [07:35:25]OFD Sender: No OFD packet to send [07:35:30]OFD Sender: No OFD packet to send [07:35:35]OFD Sender: No OFD packet to send [07:35:40]OFD Sender: No OFD packet to send [07:35:45]OFD Sender: No OFD packet to send [07:35:50]OFD Sender: No OFD packet to send [07:35:55]OFD Sender: No OFD packet to send [07:36:00]OFD Sender: No OFD packet to send [07:36:05]OFD Sender: No OFD packet to send [07:36:10]OFD Sender: No OFD packet to send [07:36:15]OFD Sender: No OFD packet to send [07:36:20]OFD Sender: No OFD packet to send [07:36:25]OFD Sender: No OFD packet to send [07:36:30]OFD Sender: No OFD packet to send [07:36:35]OFD Sender: No OFD packet to send [07:36:40]OFD Sender: No OFD packet to send [07:36:45]OFD Sender: No OFD packet to send [07:36:50]OFD Sender: No OFD packet to send [07:36:55]OFD Sender: No OFD packet to send [07:37:00]OFD Sender: No OFD packet to send [07:37:05]OFD Sender: No OFD packet to send [07:37:10]OFD Sender: No OFD packet to send [07:37:15]OFD Sender: No OFD packet to send [07:37:20]OFD Sender: No OFD packet to send [07:37:25]OFD Sender: No OFD packet to send [07:37:30]OFD Sender: No OFD packet to send [07:37:35]OFD Sender: No OFD packet to send [07:37:40]OFD Sender: No OFD packet to send [07:37:45]OFD Sender: No OFD packet to send [07:37:50]OFD Sender: No OFD packet to send [07:37:55]OFD Sender: No OFD packet to send [07:38:00]OFD Sender: No OFD packet to send [07:38:05]OFD Sender: No OFD packet to send [07:38:10]OFD Sender: No OFD packet to send [07:38:15]OFD Sender: No OFD packet to send [07:38:20]OFD Sender: No OFD packet to send [07:38:25]OFD Sender: No OFD packet to send [07:38:30]OFD Sender: No OFD packet to send [07:38:35]OFD Sender: No OFD packet to send [07:38:40]OFD Sender: No OFD packet to send [07:38:45]OFD Sender: No OFD packet to send [07:38:50]OFD Sender: No OFD packet to send [07:38:55]OFD Sender: No OFD packet to send [07:39:00]OFD Sender: No OFD packet to send [07:39:05]OFD Sender: No OFD packet to send [07:39:10]OFD Sender: No OFD packet to send [07:39:15]OFD Sender: No OFD packet to send [07:39:20]OFD Sender: No OFD packet to send [07:39:25]OFD Sender: No OFD packet to send [07:39:30]OFD Sender: No OFD packet to send [07:39:35]OFD Sender: No OFD packet to send [07:39:40]OFD Sender: No OFD packet to send [07:39:45]OFD Sender: No OFD packet to send [07:39:50]OFD Sender: No OFD packet to send [07:39:55]OFD Sender: No OFD packet to send [07:40:00]OFD Sender: No OFD packet to send [07:40:05]OFD Sender: No OFD packet to send [07:40:10]OFD Sender: No OFD packet to send [07:40:15]OFD Sender: No OFD packet to send [07:40:20]OFD Sender: No OFD packet to send [07:40:25]OFD Sender: No OFD packet to send [07:40:30]OFD Sender: No OFD packet to send [07:40:35]OFD Sender: No OFD packet to send [07:40:40]OFD Sender: No OFD packet to send [07:40:45]OFD Sender: No OFD packet to send [07:40:50]OFD Sender: No OFD packet to send [07:40:55]OFD Sender: No OFD packet to send [07:41:00]OFD Sender: No OFD packet to send [07:41:05]OFD Sender: No OFD packet to send [07:41:10]OFD Sender: No OFD packet to send [07:41:15]OFD Sender: No OFD packet to send [07:41:20]OFD Sender: No OFD packet to send [07:41:25]OFD Sender: No OFD packet to send [07:41:30]OFD Sender: No OFD packet to send [07:41:35]OFD Sender: No OFD packet to send [07:41:40]OFD Sender: No OFD packet to send [07:41:45]OFD Sender: No OFD packet to send [07:41:50]OFD Sender: No OFD packet to send [07:41:55]OFD Sender: No OFD packet to send [07:42:00]OFD Sender: No OFD packet to send [07:42:05]OFD Sender: No OFD packet to send [07:42:10]OFD Sender: No OFD packet to send [07:42:15]OFD Sender: No OFD packet to send [07:42:20]OFD Sender: No OFD packet to send [07:42:25]OFD Sender: No OFD packet to send [07:42:30]OFD Sender: No OFD packet to send [07:42:35]OFD Sender: No OFD packet to send [07:42:40]OFD Sender: No OFD packet to send [07:42:45]OFD Sender: No OFD packet to send [07:42:50]OFD Sender: No OFD packet to send [07:42:55]OFD Sender: No OFD packet to send [07:43:00]OFD Sender: No OFD packet to send [07:43:05]OFD Sender: No OFD packet to send [07:43:10]OFD Sender: No OFD packet to send [07:43:15]OFD Sender: No OFD packet to send [07:43:20]OFD Sender: No OFD packet to send [07:43:25]OFD Sender: No OFD packet to send [07:43:30]OFD Sender: No OFD packet to send [07:43:35]OFD Sender: No OFD packet to send [07:43:40]OFD Sender: No OFD packet to send [07:43:45]OFD Sender: No OFD packet to send [07:43:50]OFD Sender: No OFD packet to send [07:43:55]OFD Sender: No OFD packet to send [07:44:00]OFD Sender: No OFD packet to send [07:44:05]OFD Sender: No OFD packet to send [07:44:10]OFD Sender: No OFD packet to send [07:44:15]OFD Sender: No OFD packet to send [07:44:20]OFD Sender: No OFD packet to send [07:44:25]OFD Sender: No OFD packet to send [07:44:30]OFD Sender: No OFD packet to send [07:44:35]OFD Sender: No OFD packet to send [07:44:40]OFD Sender: No OFD packet to send [07:44:46]OFD Sender: No OFD packet to send [07:44:51]OFD Sender: No OFD packet to send [07:44:56]OFD Sender: No OFD packet to send [07:45:01]OFD Sender: No OFD packet to send [07:45:06]OFD Sender: No OFD packet to send [07:45:11]OFD Sender: No OFD packet to send [07:45:16]OFD Sender: No OFD packet to send [07:45:21]OFD Sender: No OFD packet to send [07:45:26]OFD Sender: No OFD packet to send [07:45:31]OFD Sender: No OFD packet to send [07:45:36]OFD Sender: No OFD packet to send [07:45:41]OFD Sender: No OFD packet to send [07:45:46]OFD Sender: No OFD packet to send [07:45:51]OFD Sender: No OFD packet to send [07:45:56]OFD Sender: No OFD packet to send [07:46:01]OFD Sender: No OFD packet to send [07:46:06]OFD Sender: No OFD packet to send [07:46:11]OFD Sender: No OFD packet to send [07:46:16]OFD Sender: No OFD packet to send [07:46:21]OFD Sender: No OFD packet to send [07:46:26]OFD Sender: No OFD packet to send [07:46:31]OFD Sender: No OFD packet to send [07:46:36]OFD Sender: No OFD packet to send [07:46:41]OFD Sender: No OFD packet to send [07:46:46]OFD Sender: No OFD packet to send [07:46:51]OFD Sender: No OFD packet to send [07:46:56]OFD Sender: No OFD packet to send [07:47:01]OFD Sender: No OFD packet to send [07:47:06]OFD Sender: No OFD packet to send [07:47:11]OFD Sender: No OFD packet to send [07:47:16]OFD Sender: No OFD packet to send [07:47:21]OFD Sender: No OFD packet to send [07:47:26]OFD Sender: No OFD packet to send [07:47:31]OFD Sender: No OFD packet to send [07:47:36]OFD Sender: No OFD packet to send [07:47:41]OFD Sender: No OFD packet to send [07:47:46]OFD Sender: No OFD packet to send [07:47:51]OFD Sender: No OFD packet to send [07:47:56]OFD Sender: No OFD packet to send [07:48:01]OFD Sender: No OFD packet to send [07:48:06]OFD Sender: No OFD packet to send [07:48:11]OFD Sender: No OFD packet to send [07:48:16]OFD Sender: No OFD packet to send [07:48:21]OFD Sender: No OFD packet to send [07:48:26]OFD Sender: No OFD packet to send [07:48:31]OFD Sender: No OFD packet to send [07:48:36]OFD Sender: No OFD packet to send [07:48:41]OFD Sender: No OFD packet to send [07:48:46]OFD Sender: No OFD packet to send [07:48:51]OFD Sender: No OFD packet to send [07:48:56]OFD Sender: No OFD packet to send [07:49:01]OFD Sender: No OFD packet to send [07:49:06]OFD Sender: No OFD packet to send [07:49:11]OFD Sender: No OFD packet to send [07:49:16]OFD Sender: No OFD packet to send [07:49:21]OFD Sender: No OFD packet to send [07:49:26]OFD Sender: No OFD packet to send [07:49:31]OFD Sender: No OFD packet to send [07:49:36]OFD Sender: No OFD packet to send [07:49:41]OFD Sender: No OFD packet to send [07:49:46]OFD Sender: No OFD packet to send [07:49:51]OFD Sender: No OFD packet to send [07:49:56]OFD Sender: No OFD packet to send [07:50:01]OFD Sender: No OFD packet to send [07:50:06]OFD Sender: No OFD packet to send [07:50:11]OFD Sender: No OFD packet to send [07:50:16]OFD Sender: No OFD packet to send [07:50:21]OFD Sender: No OFD packet to send [07:50:26]OFD Sender: No OFD packet to send [07:50:31]OFD Sender: No OFD packet to send [07:50:36]OFD Sender: No OFD packet to send [07:50:41]OFD Sender: No OFD packet to send [07:50:46]OFD Sender: No OFD packet to send [07:50:51]OFD Sender: No OFD packet to send [07:50:56]OFD Sender: No OFD packet to send [07:51:01]OFD Sender: No OFD packet to send [07:51:06]OFD Sender: No OFD packet to send [07:51:11]OFD Sender: No OFD packet to send [07:51:16]OFD Sender: No OFD packet to send [07:51:21]OFD Sender: No OFD packet to send [07:51:26]OFD Sender: No OFD packet to send [07:51:31]OFD Sender: No OFD packet to send [07:51:36]OFD Sender: No OFD packet to send [07:51:41]OFD Sender: No OFD packet to send [07:51:46]OFD Sender: No OFD packet to send [07:51:51]OFD Sender: No OFD packet to send [07:51:56]OFD Sender: No OFD packet to send [07:52:01]OFD Sender: No OFD packet to send [07:52:06]OFD Sender: No OFD packet to send [07:52:11]OFD Sender: No OFD packet to send [07:52:16]OFD Sender: No OFD packet to send [07:52:21]OFD Sender: No OFD packet to send [07:52:26]OFD Sender: No OFD packet to send [07:52:31]OFD Sender: No OFD packet to send [07:52:36]OFD Sender: No OFD packet to send [07:52:41]OFD Sender: No OFD packet to send [07:52:46]OFD Sender: No OFD packet to send [07:52:51]OFD Sender: No OFD packet to send [07:52:56]OFD Sender: No OFD packet to send [07:53:01]OFD Sender: No OFD packet to send [07:53:06]OFD Sender: No OFD packet to send [07:53:11]OFD Sender: No OFD packet to send [07:53:16]OFD Sender: No OFD packet to send [07:53:21]OFD Sender: No OFD packet to send [07:53:26]OFD Sender: No OFD packet to send [07:53:31]OFD Sender: No OFD packet to send [07:53:36]OFD Sender: No OFD packet to send [07:53:41]OFD Sender: No OFD packet to send [07:53:46]OFD Sender: No OFD packet to send [07:53:51]OFD Sender: No OFD packet to send [07:53:56]OFD Sender: No OFD packet to send [07:54:01]OFD Sender: No OFD packet to send [07:54:06]OFD Sender: No OFD packet to send [07:54:11]OFD Sender: No OFD packet to send [07:54:16]OFD Sender: No OFD packet to send [07:54:21]OFD Sender: No OFD packet to send [07:54:26]OFD Sender: No OFD packet to send [07:54:31]OFD Sender: No OFD packet to send [07:54:36]OFD Sender: No OFD packet to send [07:54:41]OFD Sender: No OFD packet to send [07:54:46]OFD Sender: No OFD packet to send [07:54:51]OFD Sender: No OFD packet to send [07:54:56]OFD Sender: No OFD packet to send [07:55:01]OFD Sender: No OFD packet to send [07:55:06]OFD Sender: No OFD packet to send [07:55:11]OFD Sender: No OFD packet to send [07:55:16]OFD Sender: No OFD packet to send [07:55:21]OFD Sender: No OFD packet to send [07:55:26]OFD Sender: No OFD packet to send [07:55:31]OFD Sender: No OFD packet to send [07:55:36]OFD Sender: No OFD packet to send [07:55:41]OFD Sender: No OFD packet to send [07:55:46]OFD Sender: No OFD packet to send [07:55:51]OFD Sender: No OFD packet to send [07:55:56]OFD Sender: No OFD packet to send [07:56:01]OFD Sender: No OFD packet to send [07:56:06]OFD Sender: No OFD packet to send [07:56:11]OFD Sender: No OFD packet to send [07:56:16]OFD Sender: No OFD packet to send [07:56:21]OFD Sender: No OFD packet to send [07:56:26]OFD Sender: No OFD packet to send [07:56:31]OFD Sender: No OFD packet to send [07:56:36]OFD Sender: No OFD packet to send [07:56:41]OFD Sender: No OFD packet to send [07:56:46]OFD Sender: No OFD packet to send [07:56:51]OFD Sender: No OFD packet to send [07:56:56]OFD Sender: No OFD packet to send [07:57:01]OFD Sender: No OFD packet to send [07:57:06]OFD Sender: No OFD packet to send [07:57:11]OFD Sender: No OFD packet to send [07:57:16]OFD Sender: No OFD packet to send [07:57:21]OFD Sender: No OFD packet to send [07:57:26]OFD Sender: No OFD packet to send [07:57:31]OFD Sender: No OFD packet to send [07:57:36]OFD Sender: No OFD packet to send [07:57:41]OFD Sender: No OFD packet to send [07:57:46]OFD Sender: No OFD packet to send [07:57:51]OFD Sender: No OFD packet to send [07:57:56]OFD Sender: No OFD packet to send [07:58:01]OFD Sender: No OFD packet to send [07:58:06]OFD Sender: No OFD packet to send [07:58:11]OFD Sender: No OFD packet to send [07:58:16]OFD Sender: No OFD packet to send [07:58:21]OFD Sender: No OFD packet to send [07:58:26]OFD Sender: No OFD packet to send [07:58:31]OFD Sender: No OFD packet to send [07:58:36]OFD Sender: No OFD packet to send [07:58:41]OFD Sender: No OFD packet to send [07:58:46]OFD Sender: No OFD packet to send [07:58:51]OFD Sender: No OFD packet to send [07:58:56]OFD Sender: No OFD packet to send [07:59:01]OFD Sender: No OFD packet to send [07:59:06]OFD Sender: No OFD packet to send [07:59:11]OFD Sender: No OFD packet to send [07:59:16]OFD Sender: No OFD packet to send [07:59:21]OFD Sender: No OFD packet to send [07:59:26]OFD Sender: No OFD packet to send [07:59:31]OFD Sender: No OFD packet to send [07:59:36]OFD Sender: No OFD packet to send [07:59:41]OFD Sender: No OFD packet to send [07:59:46]OFD Sender: No OFD packet to send [07:59:51]OFD Sender: No OFD packet to send [07:59:56]OFD Sender: No OFD packet to send [08:00:01]OFD Sender: No OFD packet to send [08:00:06]OFD Sender: No OFD packet to send [08:00:11]OFD Sender: No OFD packet to send [08:00:16]OFD Sender: No OFD packet to send [08:00:21]OFD Sender: No OFD packet to send [08:00:26]OFD Sender: No OFD packet to send [08:00:31]OFD Sender: No OFD packet to send [08:00:36]OFD Sender: No OFD packet to send [08:00:41]OFD Sender: No OFD packet to send [08:00:46]OFD Sender: No OFD packet to send [08:00:51]OFD Sender: No OFD packet to send [08:00:56]OFD Sender: No OFD packet to send [08:01:01]OFD Sender: No OFD packet to send [08:01:06]OFD Sender: No OFD packet to send [08:01:11]OFD Sender: No OFD packet to send [08:01:16]OFD Sender: No OFD packet to send [08:01:21]OFD Sender: No OFD packet to send [08:01:26]OFD Sender: No OFD packet to send [08:01:31]OFD Sender: No OFD packet to send [08:01:36]OFD Sender: No OFD packet to send [08:01:41]OFD Sender: No OFD packet to send [08:01:46]OFD Sender: No OFD packet to send [08:01:51]OFD Sender: No OFD packet to send [08:01:56]OFD Sender: No OFD packet to send [08:02:01]OFD Sender: No OFD packet to send [08:02:06]OFD Sender: No OFD packet to send [08:02:11]OFD Sender: No OFD packet to send [08:02:16]OFD Sender: No OFD packet to send [08:02:21]OFD Sender: No OFD packet to send [08:02:26]OFD Sender: No OFD packet to send [08:02:31]OFD Sender: No OFD packet to send [08:02:36]OFD Sender: No OFD packet to send [08:02:41]OFD Sender: No OFD packet to send [08:02:46]OFD Sender: No OFD packet to send [08:02:51]OFD Sender: No OFD packet to send [08:02:56]OFD Sender: No OFD packet to send [08:03:01]OFD Sender: No OFD packet to send [08:03:06]OFD Sender: No OFD packet to send [08:03:11]OFD Sender: No OFD packet to send [08:03:16]OFD Sender: No OFD packet to send [08:03:21]OFD Sender: No OFD packet to send [08:03:26]OFD Sender: No OFD packet to send [08:03:31]OFD Sender: No OFD packet to send [08:03:36]OFD Sender: No OFD packet to send [08:03:41]OFD Sender: No OFD packet to send [08:03:46]OFD Sender: No OFD packet to send [08:03:51]OFD Sender: No OFD packet to send [08:03:56]OFD Sender: No OFD packet to send [08:04:01]OFD Sender: No OFD packet to send [08:04:06]OFD Sender: No OFD packet to send [08:04:11]OFD Sender: No OFD packet to send [08:04:16]OFD Sender: No OFD packet to send [08:04:21]OFD Sender: No OFD packet to send [08:04:26]OFD Sender: No OFD packet to send [08:04:31]OFD Sender: No OFD packet to send [08:04:36]OFD Sender: No OFD packet to send [08:04:41]OFD Sender: No OFD packet to send [08:04:46]OFD Sender: No OFD packet to send [08:04:51]OFD Sender: No OFD packet to send [08:04:56]OFD Sender: No OFD packet to send [08:05:01]OFD Sender: No OFD packet to send [08:05:06]OFD Sender: No OFD packet to send [08:05:11]OFD Sender: No OFD packet to send [08:05:16]OFD Sender: No OFD packet to send [08:05:21]OFD Sender: No OFD packet to send [08:05:26]OFD Sender: No OFD packet to send [08:05:31]OFD Sender: No OFD packet to send [08:05:36]OFD Sender: No OFD packet to send [08:05:41]OFD Sender: No OFD packet to send [08:05:46]OFD Sender: No OFD packet to send [08:05:51]OFD Sender: No OFD packet to send [08:05:56]OFD Sender: No OFD packet to send [08:06:01]OFD Sender: No OFD packet to send [08:06:06]OFD Sender: No OFD packet to send [08:06:11]OFD Sender: No OFD packet to send [08:06:17]OFD Sender: No OFD packet to send [08:06:22]OFD Sender: No OFD packet to send [08:06:27]OFD Sender: No OFD packet to send [08:06:32]OFD Sender: No OFD packet to send [08:06:37]OFD Sender: No OFD packet to send [08:06:42]OFD Sender: No OFD packet to send [08:06:47]OFD Sender: No OFD packet to send [08:06:52]OFD Sender: No OFD packet to send [08:06:57]OFD Sender: No OFD packet to send [08:07:02]OFD Sender: No OFD packet to send [08:07:07]OFD Sender: No OFD packet to send [08:07:12]OFD Sender: No OFD packet to send [08:07:17]OFD Sender: No OFD packet to send [08:07:22]OFD Sender: No OFD packet to send [08:07:27]OFD Sender: No OFD packet to send [08:07:32]OFD Sender: No OFD packet to send [08:07:37]OFD Sender: No OFD packet to send [08:07:42]OFD Sender: No OFD packet to send [08:07:47]OFD Sender: No OFD packet to send [08:07:52]OFD Sender: No OFD packet to send [08:07:57]OFD Sender: No OFD packet to send [08:08:02]OFD Sender: No OFD packet to send [08:08:07]OFD Sender: No OFD packet to send [08:08:12]OFD Sender: No OFD packet to send [08:08:17]OFD Sender: No OFD packet to send [08:08:22]OFD Sender: No OFD packet to send [08:08:27]OFD Sender: No OFD packet to send [08:08:32]OFD Sender: No OFD packet to send [08:08:37]OFD Sender: No OFD packet to send [08:08:42]OFD Sender: No OFD packet to send [08:08:47]OFD Sender: No OFD packet to send [08:08:52]OFD Sender: No OFD packet to send [08:08:57]OFD Sender: No OFD packet to send [08:09:02]OFD Sender: No OFD packet to send [08:09:07]OFD Sender: No OFD packet to send [08:09:12]OFD Sender: No OFD packet to send [08:09:17]OFD Sender: No OFD packet to send [08:09:22]OFD Sender: No OFD packet to send [08:09:27]OFD Sender: No OFD packet to send [08:09:32]OFD Sender: No OFD packet to send [08:09:37]OFD Sender: No OFD packet to send [08:09:42]OFD Sender: No OFD packet to send [08:09:47]OFD Sender: No OFD packet to send [08:09:52]OFD Sender: No OFD packet to send [08:09:57]OFD Sender: No OFD packet to send [08:10:02]OFD Sender: No OFD packet to send [08:10:03]accept exits with 9 [08:10:03]New connection [08:10:03]New thread 3067473252 created [08:10:03]Thread 3067616612 joined [08:10:03]Waiting for new connection... [08:10:03] Sock 9.Parse request [08:10:03]Sock 9.Check first char [08:10:03]Sock 9.First char is OK [08:10:03]request: POST /json_proto HTTP/1.0 [08:10:03]Method: POST [08:10:03]URL: /json_proto [08:10:03]Method is POST - this is cgi request [08:10:03]url: /json_proto [08:10:03]query_string will be loaded in cgi processing [08:10:03]execute_cgi json_proto POST (null) [08:10:03]execute_cgi path=json_proto method=POST [08:10:03]POST find Content-Length [08:10:03]Host: 172.17.38.134:8080 [08:10:03]Content-Length: 1329 [08:10:03]Content-Type: application/json [08:10:03] [08:10:03]POST finish read [08:10:03]Found Content-Length = 1329 [08:10:03]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184336", "tax_sys" : 0, "items" : [ { "code": "46198068", "name": "\u0420/\u0436 mentos pure white \u043A\u043B\u0443\u0431 54\u0433", "price" : 205.00, "quantity" : 1.000, "sum" : 205.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000176431", "name": "\u0421\u043E\u043A Piko Pulpy \u0430\u043F\u0435\u043B\u044C\u0441\u0438\u043D \u041F\u042D\u0422 0,5\u043B", "price" : 95.00, "quantity" : 3.000, "sum" : 285.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "3800020453407", "name": "Nestle KIT-KAT \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A chunky 36x40\u0433", "price" : 80.00, "quantity" : 1.000, "sum" : 80.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 570.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:10:03]execute_script... [08:10:03]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184336", "tax_sys" : 0, "items" : [ { "code": "46198068", "name": "\u0420/\u0436 mentos pure white \u043A\u043B\u0443\u0431 54\u0433", "price" : 205.00, "quantity" : 1.000, "sum" : 205.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000176431", "name": "\u0421\u043E\u043A Piko Pulpy \u0430\u043F\u0435\u043B\u044C\u0441\u0438\u043D \u041F\u042D\u0422 0,5\u043B", "price" : 95.00, "quantity" : 3.000, "sum" : 285.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "3800020453407", "name": "Nestle KIT-KAT \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A chunky 36x40\u0433", "price" : 80.00, "quantity" : 1.000, "sum" : 80.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 570.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:10:03]POST & json_proto [08:10:03]process_json_proto [08:10:03]json parsed OK: [08:10:03]protocol is kg_v1.0 [08:10:03]action value=close_receipt [08:10:03]process_action close_receipt [08:10:03]cmd_close_receipt [08:10:03]MH_GetDate [08:10:03]Write to MH i2c: F0 00 00 0D 10 0C [08:10:03]Write i2c OK [08:10:03]MH_I2C_Read... [08:10:03]Read from MH i2c: F0 [08:10:03]MH_I2C_Read... [08:10:03]Read from MH i2c: F0 09 00 [08:10:03]MH_I2C_Read... [08:10:03]Read from MH i2c: F0 09 00 0D 10 00 DF 86 76 66 13 9C 7C 64 E5 [08:10:03]GetLastDocTimeStamp 1719040741 [08:10:03]current date 1719043807 [08:10:03]FM_GetShiftState [08:10:03]SAM_PROTO_GetShiftState [08:10:03]wFMCommunicate request_size=4 [08:10:03]MH_SAM_APDU [08:10:03]CAPDU: 80 13 01 00 [08:10:03]Write to MH i2c: E2 08 00 0E 10 80 13 01 00 00 00 00 00 9B [08:10:03]Write i2c OK [08:10:03]MH_I2C_Read... [08:10:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:10:03]Read from MH i2c: E2 [08:10:03]MH_I2C_Read... [08:10:03]Read from MH i2c: E2 0E 00 [08:10:03]MH_I2C_Read... [08:10:03]Read from MH i2c: E2 0E 00 0E 10 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 55 [08:10:03]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [08:10:03]wFMCommunicate OK [08:10:03]SAM_PROTO_GetShiftState done [08:10:03]FM_GetShiftState done [08:10:03]opened in 1719016120 [08:10:03]opened+sec_in_day 1719102520 [08:10:03]quantity*price = 20500 [08:10:03]sum+1 = 20501 [08:10:03]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 5449000176431 Сок Piko Pulpy апельсин ПЭТ 0,5л 3.000 * 95.00 = 285.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 3800020453407 Nestle KIT-KAT батончик chunky 36x40г 1.000 * 80.00 = 80.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 570.00 НСП 1% : 5.04 НДС 12% : 60.53 Наличными: 0.00 Безнал.: 570.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 5 22.06.2024 08:10 Смена: 327 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 Платежная система: Бакай Банк ФМ: 0000000000875095 ФД: 34579 ФПД: 92027609341797 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T081008&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34579&fm=92027609341797&tin=02508201610067®Number=0000000000092786&sum=57000 0 [08:10:04]StoreToDocumentArchive [08:10:04]shift 327 fd 34579 [08:10:04]save to /storage/0327/doc_00034579 [08:10:04]save last doc name /storage/0327/doc_00034579 to /storage/kkm_last_doc_name [08:10:04]save OK [08:10:04]Clear old archive folders... [08:10:04]ProcessDocumentItem done err = 0, tmpTLVsize=511 [08:10:04]tlvbuf is 01553AF0 [08:10:04]SAM_PROTO_ClearQueue [08:10:04]wFMCommunicate request_size=4 [08:10:04]MH_SAM_APDU [08:10:04]CAPDU: 80 09 00 00 [08:10:04]Write to MH i2c: E2 08 00 1B 10 80 09 00 00 00 00 00 00 9D [08:10:04]Write i2c OK [08:10:04]MH_I2C_Read... [08:10:04]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:10:04]Read from MH i2c: E2 [08:10:04]MH_I2C_Read... [08:10:04]Read from MH i2c: E2 03 00 [08:10:04]MH_I2C_Read... [08:10:04]Read from MH i2c: E2 03 00 1B 10 00 90 00 9F [08:10:04]RAPDU: 90 00 [08:10:04]wFMCommunicate OK [08:10:04]SAM_PROTO_ClearQueue done [08:10:04]KKMCreateOFDPacket [08:10:04]OFDProtocolAddRootSTLVToBuf [08:10:04]FM_MakeSignedData [08:10:04]FM_MakeSignedData [08:10:04]SAM_PROTO_SignData [08:10:04]wFMCommunicate request_size=4 [08:10:04]MH_SAM_APDU [08:10:04]CAPDU: 80 0D 01 02 [08:10:04]Write to MH i2c: E2 08 00 1C 10 80 0D 01 02 00 00 00 00 A5 [08:10:04]Write i2c OK [08:10:04]MH_I2C_Read... [08:10:04]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:10:04]Read from MH i2c: E2 [08:10:04]MH_I2C_Read... [08:10:04]Read from MH i2c: E2 03 00 [08:10:04]MH_I2C_Read... [08:10:04]Read from MH i2c: E2 03 00 1C 10 00 90 00 A0 [08:10:04]RAPDU: 90 00 [08:10:04]wFMCommunicate OK [08:10:04]wFMCommunicate request_size=255 [08:10:04]MH_SAM_APDU [08:10:04]CAPDU: 80 0D 02 02 FA 03 00 FF 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 36 31 39 38 30 36 38 06 04 25 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 70 75 72 65 20 77 68 69 74 65 20 D0 BA D0 BB D1 83 D0 B1 20 35 34 D0 B3 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 73 00 8A 04 0D 00 35 34 34 39 30 30 30 31 37 36 34 33 31 06 04 2F 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 54 6F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 72 00 8A 04 0D 00 33 38 30 30 30 32 30 34 35 33 [08:10:05]Write to MH i2c: E2 02 01 1D 10 80 0D 02 02 FA 00 03 00 FF 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 36 31 39 38 30 36 38 06 04 25 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 70 75 72 65 20 77 68 69 74 65 20 D0 BA D0 BB D1 83 D0 B1 20 35 34 D0 B3 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 73 00 8A 04 0D 00 35 34 34 39 30 30 30 31 37 36 34 33 31 06 04 2F 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 54 6F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 72 00 8A 04 0D 00 33 38 30 30 30 32 30 34 35 33 00 00 ED [08:10:05]Write i2c OK [08:10:05]MH_I2C_Read... [08:10:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:10:05]Read from MH i2c: E2 [08:10:05]MH_I2C_Read... [08:10:05]Read from MH i2c: E2 03 00 [08:10:05]MH_I2C_Read... [08:10:05]Read from MH i2c: E2 03 00 1D 10 00 90 00 A1 [08:10:05]RAPDU: 90 00 [08:10:05]wFMCommunicate OK [08:10:05]wFMCommunicate request_size=255 [08:10:05]MH_SAM_APDU [08:10:05]CAPDU: 80 0D 02 02 FA 34 30 37 06 04 2E 00 4E 65 73 74 6C 65 20 4B 49 54 2D 4B 41 54 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 63 68 75 6E 6B 79 20 33 36 78 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A8 DE 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F8 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A5 17 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 A8 DE 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 E0 86 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 [08:10:05]Write to MH i2c: E2 02 01 1E 10 80 0D 02 02 FA 00 34 30 37 06 04 2E 00 4E 65 73 74 6C 65 20 4B 49 54 2D 4B 41 54 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 63 68 75 6E 6B 79 20 33 36 78 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A8 DE 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F8 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A5 17 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 A8 DE 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 E0 86 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 00 A7 [08:10:05]Write i2c OK [08:10:05]MH_I2C_Read... [08:10:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:10:05]Read from MH i2c: E2 [08:10:05]MH_I2C_Read... [08:10:05]Read from MH i2c: E2 03 00 [08:10:05]MH_I2C_Read... [08:10:05]Read from MH i2c: E2 03 00 1E 10 00 90 00 A2 [08:10:05]RAPDU: 90 00 [08:10:05]wFMCommunicate OK [08:10:05]wFMCommunicate request_size=20 [08:10:05]MH_SAM_APDU [08:10:05]CAPDU: 80 0D 02 02 0F 00 13 87 00 00 35 04 06 00 53 B2 D8 F6 DF 65 [08:10:05]Write to MH i2c: E2 17 00 1F 10 80 0D 02 02 0F 00 00 13 87 00 00 35 04 06 00 53 B2 D8 F6 DF 65 00 00 B7 [08:10:05]Write i2c OK [08:10:05]MH_I2C_Read... [08:10:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:10:05]Read from MH i2c: E2 [08:10:05]MH_I2C_Read... [08:10:05]Read from MH i2c: E2 03 00 [08:10:05]MH_I2C_Read... [08:10:05]Read from MH i2c: E2 03 00 1F 10 00 90 00 A3 [08:10:05]RAPDU: 90 00 [08:10:05]wFMCommunicate OK [08:10:05]wFMCommunicate request_size=4 [08:10:05]MH_SAM_APDU [08:10:05]CAPDU: 80 0D 03 02 [08:10:05]Write to MH i2c: E2 08 00 20 10 80 0D 03 02 00 00 00 00 AB [08:10:05]Write i2c OK [08:10:05]MH_I2C_Read... [08:10:05]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:10:05]Read from MH i2c: E2 [08:10:05]MH_I2C_Read... [08:10:05]Read from MH i2c: E2 0B 00 [08:10:05]MH_I2C_Read... [08:10:05]Read from MH i2c: E2 0B 00 20 10 00 10 D4 30 1F 17 5B 8E 94 90 00 73 [08:10:05]RAPDU: 10 D4 30 1F 17 5B 8E 94 90 00 [08:10:05]wFMCommunicate OK [08:10:05]SAM_PROTO_SignData done [08:10:05]FM_MakeSignedData done [08:10:05]CreateOFDProtocolMessage [08:10:05]wFMCommunicate request_size=4 [08:10:05]MH_SAM_APDU [08:10:05]CAPDU: 80 11 00 00 [08:10:05]Write to MH i2c: E2 08 00 21 10 80 11 00 00 00 00 00 00 AB [08:10:05]Write i2c OK [08:10:05]MH_I2C_Read... [08:10:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:10:05]Read from MH i2c: E2 [08:10:05]MH_I2C_Read... [08:10:05]Read from MH i2c: E2 17 00 [08:10:05]MH_I2C_Read... [08:10:05]Read from MH i2c: E2 17 00 21 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 00 [08:10:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [08:10:05]wFMCommunicate OK [08:10:05]CreateOFDProtocolMessage done [08:10:05]OFDSenderStorePacket 34579 [08:10:05]StoreOFDPacket docnum=34579 [08:10:05]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 13 02 00 00 44 79 0B 02 6E 7A 5A 03 01 00 03 00 FF 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 36 31 39 38 30 36 38 06 04 25 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 70 75 72 65 20 77 68 69 74 65 20 D0 BA D0 BB D1 83 D0 B1 20 35 34 D0 B3 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 73 00 8A 04 0D 00 35 34 34 39 30 30 30 31 37 36 34 33 31 06 04 2F 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 54 6F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 72 00 8A 04 0D 00 33 38 30 30 30 32 30 34 35 33 34 30 37 06 04 2E 00 4E 65 73 74 6C 65 20 4B 49 54 2D 4B 41 54 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 63 68 75 6E 6B 79 20 33 36 78 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A8 DE 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F8 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A5 17 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 A8 DE 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 E0 86 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 13 87 00 00 35 04 06 00 53 B2 D8 F6 DF 65 10 D4 30 1F 17 5B 8E 94 [08:10:05]CheckFolder [08:10:05]dirname=/storage/ofd_packets [08:10:05]CheckFolder done [08:10:05]ProducePacketName [08:10:05]name=ofd_packets/00034579 [08:10:05]NVStorageSaveData ofd_packets/00034579 [08:10:05]File name is /storage/ofd_packets/00034579 [08:10:05]Write 561 bytes [08:10:05]NVStorageSaveData done [08:10:05]OFDSenderStorePacket done [08:10:05]KKMCreateOFDPacket done [08:10:05]NVStorageSaveData kkm_last_timestamp [08:10:05]File name is /storage/kkm_last_timestamp [08:10:05]Write 4 bytes [08:10:05]NVStorageSaveData done [08:10:05]ExternCall_PrintAddStr [08:10:05]wPrintStart [08:10:05]Write to MH i2c: 01 00 00 22 10 32 [08:10:05]Write i2c OK [08:10:05]MH_I2C_Read... [08:10:05]Read from MH i2c: 01 [08:10:05]MH_I2C_Read... [08:10:05]Read from MH i2c: 01 07 00 [08:10:05]MH_I2C_Read... [08:10:05]Read from MH i2c: 01 07 00 22 10 00 00 00 00 00 FF 0F 47 [08:10:05]RasterBufferAndPrint [08:10:05]line Счет N : (3)184336 [08:10:05]line ИНН: 02508201610067 [08:10:05]line Контрольно-Кассовый Чек [08:10:05]line ПРОДАЖА [08:10:05]line Товар: 46198068 [08:10:05]line Р/ж mentos pure white клуб 54г [08:10:05]line 1.000 * 205.00 [08:10:05]line = 205.00 [08:10:05]line НДС 12% НСП 1% [08:10:05]line > о реализуемом товаре [08:10:05]line Товар: 5449000176431 [08:10:05]line Сок Piko Pulpy апельсин ПЭТ 0,5л [08:10:05]line 3.000 * 95.00 [08:10:05]line = 285.00 [08:10:05]line НДС 12% НСП 1% [08:10:05]line > о реализуемом товаре [08:10:05]line Товар: 3800020453407 [08:10:05]line Nestle KIT-KAT батончик chunky 36x40г [08:10:05]line 1.000 * 80.00 [08:10:05]line = 80.00 [08:10:05]line НДС 12% НСП 1% [08:10:05]line > о реализуемом товаре [08:10:05]line ИТОГО: 570.00 [08:10:05]line НСП 1% : 5.04 [08:10:05]line НДС 12% : 60.53 [08:10:05]line Наличными: 0.00 [08:10:05]line Безнал.: 570.00 [08:10:05]line Место: АЗС № 120 "Партнер Нефть" [08:10:05]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [08:10:05]line СНО: Общий режим [08:10:05]line Чек 5 22.06.2024 08:10 [08:10:05]line Смена: 327 ФФД: 1.0 [08:10:05]line ЗНМ: 0300000172 [08:10:05]line РНМ: 0000000000092786 [08:10:05]line Версия ККМ: 001 [08:10:05]line Платежная система: Бакай Банк [08:10:05]line ФМ: 0000000000875095 [08:10:05]line ФД: 34579 [08:10:05]line ФПД: 92027609341797 [08:10:06]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T081008&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34579&fm=92027609341797&tin=02508201610067®Number=0000000000092786&sum=57000 [08:10:06]line 0 [08:10:06]OFD Sender: Processing packet 34579 [packets to send 8, broken 7] [08:10:06]ProducePacketName [08:10:06]name=ofd_packets/00034579 [08:10:06]OFD Sender: To server: pG, [08:10:06]CommunicateWithHost lk.salyk.kg:30040 [08:10:06]ConnectInit lk.salyk.kg [08:10:06]written 0, free lines is 4095 [08:10:06]Connected sock=11 [08:10:06]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 13 02 00 00 44 79 0B 02 6E 7A 5A 03 01 00 03 00 FF 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 36 31 39 38 30 36 38 06 04 25 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 70 75 72 65 20 77 68 69 74 65 20 D0 BA D0 BB D1 83 D0 B1 20 35 34 D0 B3 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 73 00 8A 04 0D 00 35 34 34 39 30 30 30 31 37 36 34 33 31 06 04 2F 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 54 6F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 72 00 8A 04 0D 00 33 38 30 30 30 32 30 34 35 33 34 30 37 06 04 2E 00 4E 65 73 74 6C 65 20 4B 49 54 2D 4B 41 54 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 63 68 75 6E 6B 79 20 33 36 78 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A8 DE 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F8 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A5 17 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 A8 DE 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 E0 86 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 13 87 00 00 35 04 06 00 53 B2 D8 F6 DF 65 10 D4 30 1F 17 5B 8E 94 [08:10:06]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 95 47 47 00 B6 63 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 13 87 00 00 F4 03 04 00 A4 2D 76 66 B6 04 01 00 00 C2 57 FE BF 9F C5 32 CB [08:10:06]CommunicateWithHost err = 0 [08:10:06]CheckOFDResponse [08:10:06]1017 (14) - 77093643461234 [08:10:06]1041 (16) - 0000000000875095 [08:10:06]1040 (4) - 34579 [08:10:06]1012 (4) - 22.06.2024 01:49 [08:10:06]1206 (1) - 0 [08:10:06]OFD Sender: Remove packet 34579 [08:10:06]ProducePacketName [08:10:06]name=ofd_packets/00034579 [08:10:06]NVStorageDeleteData [08:10:06]Write to MH i2c: 01 00 00 5B 10 6B [08:10:06]Write i2c OK [08:10:06]MH_I2C_Read... [08:10:06]Read from MH i2c: 01 [08:10:06]MH_I2C_Read... [08:10:06]Read from MH i2c: 01 07 00 [08:10:06]MH_I2C_Read... [08:10:06]Read from MH i2c: 01 07 00 5B 10 00 00 00 00 00 E1 0B 5E [08:10:06]RasterBufferAndPrint [08:10:06]line [08:10:06]line [08:10:06]line [08:10:06]line [08:10:06]line [08:10:06]written 0, free lines is 3046 [08:10:06]MH_Cut [08:10:06]Write to MH i2c: D1 01 00 62 10 01 44 [08:10:06]Write i2c OK [08:10:06]MH_I2C_Read... [08:10:06]Read from MH i2c: D1 [08:10:06]MH_I2C_Read... [08:10:06]Read from MH i2c: D1 01 00 [08:10:06]MH_I2C_Read... [08:10:06]Read from MH i2c: D1 01 00 62 10 00 43 [08:10:06]Write to MH i2c: 01 00 00 63 10 73 [08:10:06]Write i2c OK [08:10:06]MH_I2C_Read... [08:10:06]OFD Sender: No OFD packet to send [08:10:07]*** Cut start [08:10:07]*** Partial cut [08:10:07]*** CUTSNS_PIN = 1 [08:10:07]*** CUTSNS_PIN = 0 [08:10:07]*** Brake cut motor [08:10:08]Read from MH i2c: 01 [08:10:08]MH_I2C_Read... [08:10:08]*** Stop cut motor [08:10:08]*** Cut end [08:10:08]Read from MH i2c: 01 07 00 [08:10:08]MH_I2C_Read... [08:10:08]Read from MH i2c: 01 07 00 63 10 00 00 00 00 00 FF 0F 88 [08:10:08]process_action close_receipt done [08:10:08]requested_data is exist [08:10:08]produce_requested_data [08:10:08]requested_item fm.sn is exist - process it [08:10:08]wFMCommunicate request_size=4 [08:10:08]MH_SAM_APDU [08:10:08]CAPDU: 80 11 00 00 [08:10:08]Write to MH i2c: E2 08 00 64 10 80 11 00 00 00 00 00 00 EE [08:10:08]Write i2c OK [08:10:08]MH_I2C_Read... [08:10:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:10:08]Read from MH i2c: E2 [08:10:08]MH_I2C_Read... [08:10:08]Read from MH i2c: E2 17 00 [08:10:08]MH_I2C_Read... [08:10:08]Read from MH i2c: E2 17 00 64 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 43 [08:10:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [08:10:08]wFMCommunicate OK [08:10:08]requested_item fd.num is exist - process it [08:10:08]SAM_PROTO_GetFieldsCounters [08:10:08]wFMCommunicate request_size=4 [08:10:08]MH_SAM_APDU [08:10:08]CAPDU: 80 13 00 00 [08:10:08]Write to MH i2c: E2 08 00 65 10 80 13 00 00 00 00 00 00 F1 [08:10:08]Write i2c OK [08:10:08]MH_I2C_Read... [08:10:08]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:10:08]Read from MH i2c: E2 [08:10:08]MH_I2C_Read... [08:10:08]Read from MH i2c: E2 62 00 [08:10:08]MH_I2C_Read... [08:10:08]Read from MH i2c: E2 62 00 65 10 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 13 87 00 00 0E 04 04 00 47 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 0C [08:10:08]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 13 87 00 00 0E 04 04 00 47 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 [08:10:08]wFMCommunicate OK [08:10:08]SAM_PROTO_GetFieldsCounters done [08:10:08]requested_item shift.num is exist - process it [08:10:08]requested_item shift.opened is exist - process it [08:10:08]req_shift_opened [08:10:08]FM_GetShiftState [08:10:08]SAM_PROTO_GetShiftState [08:10:08]wFMCommunicate request_size=4 [08:10:08]MH_SAM_APDU [08:10:08]CAPDU: 80 13 01 00 [08:10:08]Write to MH i2c: E2 08 00 66 10 80 13 01 00 00 00 00 00 F3 [08:10:08]Write i2c OK [08:10:08]MH_I2C_Read... [08:10:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:10:08]Read from MH i2c: E2 [08:10:08]MH_I2C_Read... [08:10:08]Read from MH i2c: E2 0E 00 [08:10:08]MH_I2C_Read... [08:10:08]Read from MH i2c: E2 0E 00 66 10 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 AD [08:10:08]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [08:10:08]wFMCommunicate OK [08:10:08]SAM_PROTO_GetShiftState done [08:10:08]FM_GetShiftState done [08:10:08]req_shift_opened done [08:10:08]requested_item shift.open_date is exist - process it [08:10:08]req_shift_open_date [08:10:08]req_shift_open_date done [08:10:08]produce_requested_data done [08:10:08]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34579,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120} [08:10:08]process_action_free close_receipt [08:10:08]json_value_free [08:10:08]json_value_free done [08:10:08]process_json_proto returns [08:10:08]Send response to host [08:10:08]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34579,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120}}} [08:10:08]free response buf [08:10:08]execute_script done [08:10:08]execute_script returns [08:10:08]free content buf [08:10:08]Sock 9.Close socket [08:10:08]Sock 9.Thread stoped [08:10:11]accept exits with 7 [08:10:11]New connection [08:10:11]New thread 3067616612 created [08:10:11]Thread 3067473252 joined [08:10:11]Waiting for new connection... [08:10:11] Sock 7.Parse request [08:10:11]Sock 7.Check first char [08:10:11]Sock 7.First char is OK [08:10:11]request: POST /json_proto HTTP/1.0 [08:10:11]Method: POST [08:10:11]URL: /json_proto [08:10:11]Method is POST - this is cgi request [08:10:11]url: /json_proto [08:10:11]query_string will be loaded in cgi processing [08:10:11]execute_cgi json_proto POST (null) [08:10:11]execute_cgi path=json_proto method=POST [08:10:11]POST find Content-Length [08:10:11]Host: 172.17.38.134:8080 [08:10:11]Content-Length: 660 [08:10:11]Content-Type: application/json [08:10:11] [08:10:11]POST finish read [08:10:11]Found Content-Length = 660 [08:10:11]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184337", "tax_sys" : 0, "items" : [ { "code": "4620016307540", "name": "\u0421\u0430\u043B\u0444\u0435\u0442\u043A\u0438 Absolut Nat FITOGUARD \u0430\u043B\u043E\u044D 20 \u0448", "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" ] } } [08:10:11]execute_script... [08:10:11]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)184337", "tax_sys" : 0, "items" : [ { "code": "4620016307540", "name": "\u0421\u0430\u043B\u0444\u0435\u0442\u043A\u0438 Absolut Nat FITOGUARD \u0430\u043B\u043E\u044D 20 \u0448", "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" ] } } [08:10:11]POST & json_proto [08:10:11]process_json_proto [08:10:11]json parsed OK: [08:10:11]protocol is kg_v1.0 [08:10:11]action value=close_receipt [08:10:11]process_action close_receipt [08:10:11]cmd_close_receipt [08:10:11]MH_GetDate [08:10:11]Write to MH i2c: F0 00 00 67 10 66 [08:10:11]Write i2c OK [08:10:11]MH_I2C_Read... [08:10:11]Read from MH i2c: F0 [08:10:11]MH_I2C_Read... [08:10:11]Read from MH i2c: F0 09 00 [08:10:11]MH_I2C_Read... [08:10:11]Read from MH i2c: F0 09 00 67 10 00 E7 86 76 66 13 9C 7C 64 47 [08:10:11]GetLastDocTimeStamp 1719043808 [08:10:11]current date 1719043815 [08:10:11]FM_GetShiftState [08:10:11]SAM_PROTO_GetShiftState [08:10:11]wFMCommunicate request_size=4 [08:10:11]MH_SAM_APDU [08:10:11]CAPDU: 80 13 01 00 [08:10:11]Write to MH i2c: E2 08 00 68 10 80 13 01 00 00 00 00 00 F5 [08:10:11]Write i2c OK [08:10:11]MH_I2C_Read... [08:10:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:10:11]Read from MH i2c: E2 [08:10:11]MH_I2C_Read... [08:10:11]Read from MH i2c: E2 0E 00 [08:10:11]MH_I2C_Read... [08:10:11]Read from MH i2c: E2 0E 00 68 10 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 AF [08:10:11]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [08:10:11]wFMCommunicate OK [08:10:11]SAM_PROTO_GetShiftState done [08:10:11]FM_GetShiftState done [08:10:11]opened in 1719016120 [08:10:11]opened+sec_in_day 1719102520 [08:10:11]quantity*price = 6500 [08:10:11]sum+1 = 6501 [08:10:11]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 65.00 НСП 1% : 0.57 НДС 12% : 6.90 Наличными: 65.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 6 22.06.2024 08:10 Смена: 327 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34580 ФПД: 77241528217388 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T081015&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34580&fm=77241528217388&tin=02508201610067®Number=0000000000092786&sum=6500 0 [08:10:12]StoreToDocumentArchive [08:10:12]shift 327 fd 34580 [08:10:12]save to /storage/0327/doc_00034580 [08:10:12]save last doc name /storage/0327/doc_00034580 to /storage/kkm_last_doc_name [08:10:12]save OK [08:10:12]Clear old archive folders... [08:10:12]ProcessDocumentItem done err = 0, tmpTLVsize=295 [08:10:12]tlvbuf is 0159F2F0 [08:10:12]SAM_PROTO_ClearQueue [08:10:12]wFMCommunicate request_size=4 [08:10:12]MH_SAM_APDU [08:10:12]CAPDU: 80 09 00 00 [08:10:12]Write to MH i2c: E2 08 00 75 10 80 09 00 00 00 00 00 00 F7 [08:10:12]Write i2c OK [08:10:12]MH_I2C_Read... [08:10:12]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:10:12]Read from MH i2c: E2 [08:10:12]MH_I2C_Read... [08:10:12]Read from MH i2c: E2 03 00 [08:10:12]MH_I2C_Read... [08:10:12]Read from MH i2c: E2 03 00 75 10 00 90 00 F9 [08:10:12]RAPDU: 90 00 [08:10:12]wFMCommunicate OK [08:10:12]SAM_PROTO_ClearQueue done [08:10:12]KKMCreateOFDPacket [08:10:12]OFDProtocolAddRootSTLVToBuf [08:10:12]FM_MakeSignedData [08:10:12]FM_MakeSignedData [08:10:12]SAM_PROTO_SignData [08:10:12]wFMCommunicate request_size=4 [08:10:12]MH_SAM_APDU [08:10:12]CAPDU: 80 0D 01 02 [08:10:12]Write to MH i2c: E2 08 00 76 10 80 0D 01 02 00 00 00 00 FF [08:10:12]Write i2c OK [08:10:12]MH_I2C_Read... [08:10:12]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:10:12]Read from MH i2c: E2 [08:10:12]MH_I2C_Read... [08:10:12]Read from MH i2c: E2 03 00 [08:10:12]MH_I2C_Read... [08:10:12]Read from MH i2c: E2 03 00 76 10 00 90 00 FA [08:10:12]RAPDU: 90 00 [08:10:12]wFMCommunicate OK [08:10:12]wFMCommunicate request_size=255 [08:10:12]MH_SAM_APDU [08:10:12]CAPDU: 80 0D 02 02 FA 03 00 27 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 36 32 30 30 31 36 33 30 37 35 34 30 06 04 35 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 4E 61 74 20 46 49 54 4F 47 55 41 52 44 20 D0 B0 D0 BB D0 BE D1 8D 20 32 30 20 D1 88 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 06 00 00 00 F4 03 04 00 E7 86 76 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 [08:10:12]Write to MH i2c: E2 02 01 77 10 80 0D 02 02 FA 00 03 00 27 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 36 32 30 30 31 36 33 30 37 35 34 30 06 04 35 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 4E 61 74 20 46 49 54 4F 47 55 41 52 44 20 D0 B0 D0 BB D0 BE D1 8D 20 32 30 20 D1 88 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 06 00 00 00 F4 03 04 00 E7 86 76 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 00 00 23 [08:10:12]Write i2c OK [08:10:12]MH_I2C_Read... [08:10:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:10:12]Read from MH i2c: E2 [08:10:12]MH_I2C_Read... [08:10:12]Read from MH i2c: E2 03 00 [08:10:12]MH_I2C_Read... [08:10:12]Read from MH i2c: E2 03 00 77 10 00 90 00 FB [08:10:12]RAPDU: 90 00 [08:10:12]wFMCommunicate OK [08:10:12]wFMCommunicate request_size=54 [08:10:12]MH_SAM_APDU [08:10:12]CAPDU: 80 0D 02 02 31 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 14 87 00 00 35 04 06 00 46 40 31 D9 EF 2C [08:10:12]Write to MH i2c: E2 39 00 78 10 80 0D 02 02 31 00 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 14 87 00 00 35 04 06 00 46 40 31 D9 EF 2C 00 00 78 [08:10:12]Write i2c OK [08:10:12]MH_I2C_Read... [08:10:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:10:12]Read from MH i2c: E2 [08:10:12]MH_I2C_Read... [08:10:12]Read from MH i2c: E2 03 00 [08:10:12]MH_I2C_Read... [08:10:12]Read from MH i2c: E2 03 00 78 10 00 90 00 FC [08:10:12]RAPDU: 90 00 [08:10:12]wFMCommunicate OK [08:10:12]wFMCommunicate request_size=4 [08:10:12]MH_SAM_APDU [08:10:12]CAPDU: 80 0D 03 02 [08:10:12]Write to MH i2c: E2 08 00 79 10 80 0D 03 02 00 00 00 00 04 [08:10:12]Write i2c OK [08:10:12]MH_I2C_Read... [08:10:12]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:10:12]Read from MH i2c: E2 [08:10:12]MH_I2C_Read... [08:10:12]Read from MH i2c: E2 0B 00 [08:10:12]MH_I2C_Read... [08:10:12]Read from MH i2c: E2 0B 00 79 10 00 AC D3 37 3D E6 FB 1B 12 90 00 06 [08:10:12]RAPDU: AC D3 37 3D E6 FB 1B 12 90 00 [08:10:12]wFMCommunicate OK [08:10:12]SAM_PROTO_SignData done [08:10:12]FM_MakeSignedData done [08:10:12]CreateOFDProtocolMessage [08:10:12]wFMCommunicate request_size=4 [08:10:12]MH_SAM_APDU [08:10:12]CAPDU: 80 11 00 00 [08:10:12]Write to MH i2c: E2 08 00 7A 10 80 11 00 00 00 00 00 00 04 [08:10:12]Write i2c OK [08:10:12]MH_I2C_Read... [08:10:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:10:12]Read from MH i2c: E2 [08:10:12]MH_I2C_Read... [08:10:12]Read from MH i2c: E2 17 00 [08:10:12]MH_I2C_Read... [08:10:12]Read from MH i2c: E2 17 00 7A 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 59 [08:10:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [08:10:12]wFMCommunicate OK [08:10:12]CreateOFDProtocolMessage done [08:10:12]OFDSenderStorePacket 34580 [08:10:12]StoreOFDPacket docnum=34580 [08:10:12]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 3B 01 00 00 B8 1F 33 01 E5 E1 5A 03 01 00 03 00 27 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 36 32 30 30 31 36 33 30 37 35 34 30 06 04 35 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 4E 61 74 20 46 49 54 4F 47 55 41 52 44 20 D0 B0 D0 BB D0 BE D1 8D 20 32 30 20 D1 88 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 06 00 00 00 F4 03 04 00 E7 86 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 14 87 00 00 35 04 06 00 46 40 31 D9 EF 2C AC D3 37 3D E6 FB 1B 12 [08:10:12]CheckFolder [08:10:12]dirname=/storage/ofd_packets [08:10:12]CheckFolder done [08:10:12]ProducePacketName [08:10:12]name=ofd_packets/00034580 [08:10:12]NVStorageSaveData ofd_packets/00034580 [08:10:12]File name is /storage/ofd_packets/00034580 [08:10:12]Write 345 bytes [08:10:12]NVStorageSaveData done [08:10:12]OFDSenderStorePacket done [08:10:12]KKMCreateOFDPacket done [08:10:12]NVStorageSaveData kkm_last_timestamp [08:10:12]File name is /storage/kkm_last_timestamp [08:10:12]Write 4 bytes [08:10:12]NVStorageSaveData done [08:10:12]ExternCall_PrintAddStr [08:10:12]wPrintStart [08:10:12]Write to MH i2c: 01 00 00 7B 10 8B [08:10:12]Write i2c OK [08:10:12]MH_I2C_Read... [08:10:12]Read from MH i2c: 01 [08:10:12]MH_I2C_Read... [08:10:12]Read from MH i2c: 01 07 00 [08:10:12]MH_I2C_Read... [08:10:12]Read from MH i2c: 01 07 00 7B 10 00 00 00 00 00 FF 0F A0 [08:10:12]RasterBufferAndPrint [08:10:12]line Счет N : (3)184337 [08:10:12]line ИНН: 02508201610067 [08:10:12]line Контрольно-Кассовый Чек [08:10:12]line ПРОДАЖА [08:10:12]line Товар: 4620016307540 [08:10:12]line Салфетки Absolut Nat FITOGUARD алоэ 20 ш [08:10:12]line 1.000 * 65.00 [08:10:12]line = 65.00 [08:10:12]line НДС 12% НСП 1% [08:10:12]line > о реализуемом товаре [08:10:12]line ИТОГО: 65.00 [08:10:12]line НСП 1% : 0.57 [08:10:12]line НДС 12% : 6.90 [08:10:12]line Наличными: 65.00 [08:10:12]line Безнал.: 0.00 [08:10:12]line Место: АЗС № 120 "Партнер Нефть" [08:10:12]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [08:10:12]line СНО: Общий режим [08:10:12]line Чек 6 22.06.2024 08:10 [08:10:12]line Смена: 327 ФФД: 1.0 [08:10:12]line ЗНМ: 0300000172 [08:10:12]line РНМ: 0000000000092786 [08:10:12]line Версия ККМ: 001 [08:10:12]line ФМ: 0000000000875095 [08:10:12]line ФД: 34580 [08:10:12]line ФПД: 77241528217388 [08:10:12]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T081015&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34580&fm=77241528217388&tin=02508201610067®Number=0000000000092786&sum=6500 [08:10:12]line 0 [08:10:12]written 0, free lines is 4095 [08:10:12]OFD Sender: Processing packet 34580 [packets to send 8, broken 7] [08:10:12]ProducePacketName [08:10:12]name=ofd_packets/00034580 [08:10:12]OFD Sender: To server: pG, [08:10:12]CommunicateWithHost lk.salyk.kg:30040 [08:10:12]ConnectInit lk.salyk.kg [08:10:13]Connected sock=10 [08:10:13]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 3B 01 00 00 B8 1F 33 01 E5 E1 5A 03 01 00 03 00 27 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 36 32 30 30 31 36 33 30 37 35 34 30 06 04 35 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 4E 61 74 20 46 49 54 4F 47 55 41 52 44 20 D0 B0 D0 BB D0 BE D1 8D 20 32 30 20 D1 88 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 06 00 00 00 F4 03 04 00 E7 86 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 14 87 00 00 35 04 06 00 46 40 31 D9 EF 2C AC D3 37 3D E6 FB 1B 12 [08:10:13]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 5A B4 47 00 D0 98 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 14 87 00 00 F4 03 04 00 AB 2D 76 66 B6 04 01 00 00 5C 4A 04 90 3A A8 46 EE [08:10:13]CommunicateWithHost err = 0 [08:10:13]CheckOFDResponse [08:10:13]1017 (14) - 77093643461234 [08:10:13]1041 (16) - 0000000000875095 [08:10:13]1040 (4) - 34580 [08:10:13]1012 (4) - 22.06.2024 01:49 [08:10:13]1206 (1) - 0 [08:10:13]OFD Sender: Remove packet 34580 [08:10:13]ProducePacketName [08:10:13]name=ofd_packets/00034580 [08:10:13]NVStorageDeleteData [08:10:13]Write to MH i2c: 01 00 00 A4 10 B4 [08:10:13]Write i2c OK [08:10:13]MH_I2C_Read... [08:10:13]Read from MH i2c: 01 [08:10:13]MH_I2C_Read... [08:10:13]Read from MH i2c: 01 07 00 [08:10:13]MH_I2C_Read... [08:10:13]Read from MH i2c: 01 07 00 A4 10 00 00 00 00 00 29 0D F1 [08:10:13]RasterBufferAndPrint [08:10:13]line [08:10:13]line [08:10:13]line [08:10:13]line [08:10:13]line [08:10:13]written 0, free lines is 3385 [08:10:13]MH_Cut [08:10:13]Write to MH i2c: D1 01 00 AB 10 01 8D [08:10:13]Write i2c OK [08:10:13]MH_I2C_Read... [08:10:13]Read from MH i2c: D1 [08:10:13]MH_I2C_Read... [08:10:13]Read from MH i2c: D1 01 00 [08:10:13]MH_I2C_Read... [08:10:13]Read from MH i2c: D1 01 00 AB 10 00 8C [08:10:13]Write to MH i2c: 01 00 00 AC 10 BC [08:10:13]Write i2c OK [08:10:13]MH_I2C_Read... [08:10:13]OFD Sender: No OFD packet to send [08:10:14]*** Cut start [08:10:14]*** Partial cut [08:10:14]*** CUTSNS_PIN = 1 [08:10:14]*** CUTSNS_PIN = 0 [08:10:14]*** Brake cut motor [08:10:14]Read from MH i2c: 01 [08:10:14]MH_I2C_Read... [08:10:14]*** Stop cut motor [08:10:14]*** Cut end [08:10:14]Read from MH i2c: 01 07 00 [08:10:14]MH_I2C_Read... [08:10:14]Read from MH i2c: 01 07 00 AC 10 00 00 00 00 00 FF 0F D1 [08:10:14]process_action close_receipt done [08:10:14]requested_data is exist [08:10:14]produce_requested_data [08:10:14]requested_item fm.sn is exist - process it [08:10:14]wFMCommunicate request_size=4 [08:10:14]MH_SAM_APDU [08:10:14]CAPDU: 80 11 00 00 [08:10:14]Write to MH i2c: E2 08 00 AD 10 80 11 00 00 00 00 00 00 37 [08:10:14]Write i2c OK [08:10:14]MH_I2C_Read... [08:10:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:10:14]Read from MH i2c: E2 [08:10:14]MH_I2C_Read... [08:10:14]Read from MH i2c: E2 17 00 [08:10:14]MH_I2C_Read... [08:10:14]Read from MH i2c: E2 17 00 AD 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 8C [08:10:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [08:10:14]wFMCommunicate OK [08:10:14]requested_item fd.num is exist - process it [08:10:14]SAM_PROTO_GetFieldsCounters [08:10:14]wFMCommunicate request_size=4 [08:10:14]MH_SAM_APDU [08:10:14]CAPDU: 80 13 00 00 [08:10:14]Write to MH i2c: E2 08 00 AE 10 80 13 00 00 00 00 00 00 3A [08:10:14]Write i2c OK [08:10:14]MH_I2C_Read... [08:10:14]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:10:14]Read from MH i2c: E2 [08:10:14]MH_I2C_Read... [08:10:14]Read from MH i2c: E2 62 00 [08:10:14]MH_I2C_Read... [08:10:14]Read from MH i2c: E2 62 00 AE 10 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 14 87 00 00 0E 04 04 00 47 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 59 [08:10:14]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 14 87 00 00 0E 04 04 00 47 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 [08:10:14]wFMCommunicate OK [08:10:14]SAM_PROTO_GetFieldsCounters done [08:10:14]requested_item shift.num is exist - process it [08:10:14]requested_item shift.opened is exist - process it [08:10:14]req_shift_opened [08:10:14]FM_GetShiftState [08:10:14]SAM_PROTO_GetShiftState [08:10:14]wFMCommunicate request_size=4 [08:10:14]MH_SAM_APDU [08:10:14]CAPDU: 80 13 01 00 [08:10:14]Write to MH i2c: E2 08 00 AF 10 80 13 01 00 00 00 00 00 3C [08:10:14]Write i2c OK [08:10:14]MH_I2C_Read... [08:10:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:10:14]Read from MH i2c: E2 [08:10:14]MH_I2C_Read... [08:10:14]Read from MH i2c: E2 0E 00 [08:10:14]MH_I2C_Read... [08:10:14]Read from MH i2c: E2 0E 00 AF 10 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 F6 [08:10:14]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [08:10:14]wFMCommunicate OK [08:10:14]SAM_PROTO_GetShiftState done [08:10:14]FM_GetShiftState done [08:10:14]req_shift_opened done [08:10:14]requested_item shift.open_date is exist - process it [08:10:14]req_shift_open_date [08:10:14]req_shift_open_date done [08:10:14]produce_requested_data done [08:10:14]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34580,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120} [08:10:14]process_action_free close_receipt [08:10:14]json_value_free [08:10:14]json_value_free done [08:10:14]process_json_proto returns [08:10:14]Send response to host [08:10:14]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34580,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120}}} [08:10:14]free response buf [08:10:14]execute_script done [08:10:14]execute_script returns [08:10:14]free content buf [08:10:14]Sock 7.Close socket [08:10:14]Sock 7.Thread stoped [08:10:18]OFD Sender: No OFD packet to send [08:10:23]OFD Sender: No OFD packet to send [08:10:28]OFD Sender: No OFD packet to send [08:10:33]OFD Sender: No OFD packet to send [08:10:38]OFD Sender: No OFD packet to send [08:10:43]OFD Sender: No OFD packet to send [08:10:48]OFD Sender: No OFD packet to send [08:10:53]OFD Sender: No OFD packet to send [08:10:58]OFD Sender: No OFD packet to send [08:11:03]OFD Sender: No OFD packet to send [08:11:08]OFD Sender: No OFD packet to send [08:11:13]OFD Sender: No OFD packet to send [08:11:18]OFD Sender: No OFD packet to send [08:11:23]OFD Sender: No OFD packet to send [08:11:28]OFD Sender: No OFD packet to send [08:11:33]OFD Sender: No OFD packet to send [08:11:38]OFD Sender: No OFD packet to send [08:11:43]OFD Sender: No OFD packet to send [08:11:48]OFD Sender: No OFD packet to send [08:11:53]OFD Sender: No OFD packet to send [08:11:58]OFD Sender: No OFD packet to send [08:12:03]OFD Sender: No OFD packet to send [08:12:08]OFD Sender: No OFD packet to send [08:12:13]OFD Sender: No OFD packet to send [08:12:18]OFD Sender: No OFD packet to send [08:12:23]OFD Sender: No OFD packet to send [08:12:28]OFD Sender: No OFD packet to send [08:12:33]OFD Sender: No OFD packet to send [08:12:38]OFD Sender: No OFD packet to send [08:12:43]OFD Sender: No OFD packet to send [08:12:48]OFD Sender: No OFD packet to send [08:12:53]OFD Sender: No OFD packet to send [08:12:58]OFD Sender: No OFD packet to send [08:13:03]OFD Sender: No OFD packet to send [08:13:08]OFD Sender: No OFD packet to send [08:13:13]OFD Sender: No OFD packet to send [08:13:18]OFD Sender: No OFD packet to send [08:13:23]OFD Sender: No OFD packet to send [08:13:28]OFD Sender: No OFD packet to send [08:13:33]OFD Sender: No OFD packet to send [08:13:38]OFD Sender: No OFD packet to send [08:13:43]OFD Sender: No OFD packet to send [08:13:48]OFD Sender: No OFD packet to send [08:13:54]OFD Sender: No OFD packet to send [08:13:59]OFD Sender: No OFD packet to send [08:14:04]OFD Sender: No OFD packet to send [08:14:09]OFD Sender: No OFD packet to send [08:14:14]OFD Sender: No OFD packet to send [08:14:19]OFD Sender: No OFD packet to send [08:14:24]OFD Sender: No OFD packet to send [08:14:29]OFD Sender: No OFD packet to send [08:14:34]OFD Sender: No OFD packet to send [08:14:39]OFD Sender: No OFD packet to send [08:14:44]OFD Sender: No OFD packet to send [08:14:49]OFD Sender: No OFD packet to send [08:14:54]OFD Sender: No OFD packet to send [08:14:59]OFD Sender: No OFD packet to send [08:15:04]OFD Sender: No OFD packet to send [08:15:09]OFD Sender: No OFD packet to send [08:15:14]OFD Sender: No OFD packet to send [08:15:19]OFD Sender: No OFD packet to send [08:15:24]OFD Sender: No OFD packet to send [08:15:29]OFD Sender: No OFD packet to send [08:15:34]OFD Sender: No OFD packet to send [08:15:39]OFD Sender: No OFD packet to send [08:15:44]OFD Sender: No OFD packet to send [08:15:49]OFD Sender: No OFD packet to send [08:15:54]OFD Sender: No OFD packet to send [08:15:59]OFD Sender: No OFD packet to send [08:16:04]OFD Sender: No OFD packet to send [08:16:09]OFD Sender: No OFD packet to send [08:16:14]OFD Sender: No OFD packet to send [08:16:19]OFD Sender: No OFD packet to send [08:16:24]OFD Sender: No OFD packet to send [08:16:29]OFD Sender: No OFD packet to send [08:16:34]OFD Sender: No OFD packet to send [08:16:39]OFD Sender: No OFD packet to send [08:16:44]OFD Sender: No OFD packet to send [08:16:49]OFD Sender: No OFD packet to send [08:16:54]OFD Sender: No OFD packet to send [08:16:59]OFD Sender: No OFD packet to send [08:17:04]OFD Sender: No OFD packet to send [08:17:09]OFD Sender: No OFD packet to send [08:17:14]OFD Sender: No OFD packet to send [08:17:19]OFD Sender: No OFD packet to send [08:17:24]OFD Sender: No OFD packet to send [08:17:29]OFD Sender: No OFD packet to send [08:17:34]OFD Sender: No OFD packet to send [08:17:39]OFD Sender: No OFD packet to send [08:17:44]OFD Sender: No OFD packet to send [08:17:49]OFD Sender: No OFD packet to send [08:17:54]OFD Sender: No OFD packet to send [08:17:59]OFD Sender: No OFD packet to send [08:18:04]OFD Sender: No OFD packet to send [08:18:09]OFD Sender: No OFD packet to send [08:18:14]OFD Sender: No OFD packet to send [08:18:19]OFD Sender: No OFD packet to send [08:18:24]OFD Sender: No OFD packet to send [08:18:29]OFD Sender: No OFD packet to send [08:18:34]OFD Sender: No OFD packet to send [08:18:39]OFD Sender: No OFD packet to send [08:18:44]OFD Sender: No OFD packet to send [08:18:49]OFD Sender: No OFD packet to send [08:18:54]OFD Sender: No OFD packet to send [08:18:59]OFD Sender: No OFD packet to send [08:19:04]OFD Sender: No OFD packet to send [08:19:09]OFD Sender: No OFD packet to send [08:19:14]OFD Sender: No OFD packet to send [08:19:19]OFD Sender: No OFD packet to send [08:19:24]OFD Sender: No OFD packet to send [08:19:29]OFD Sender: No OFD packet to send [08:19:34]OFD Sender: No OFD packet to send [08:19:39]OFD Sender: No OFD packet to send [08:19:44]OFD Sender: No OFD packet to send [08:19:49]OFD Sender: No OFD packet to send [08:19:54]OFD Sender: No OFD packet to send [08:19:59]OFD Sender: No OFD packet to send [08:20:04]OFD Sender: No OFD packet to send [08:20:09]OFD Sender: No OFD packet to send [08:20:14]OFD Sender: No OFD packet to send [08:20:19]OFD Sender: No OFD packet to send [08:20:24]OFD Sender: No OFD packet to send [08:20:29]OFD Sender: No OFD packet to send [08:20:34]OFD Sender: No OFD packet to send [08:20:39]OFD Sender: No OFD packet to send [08:20:44]OFD Sender: No OFD packet to send [08:20:49]OFD Sender: No OFD packet to send [08:20:54]OFD Sender: No OFD packet to send [08:20:59]OFD Sender: No OFD packet to send [08:21:04]OFD Sender: No OFD packet to send [08:21:09]OFD Sender: No OFD packet to send [08:21:14]OFD Sender: No OFD packet to send [08:21:19]OFD Sender: No OFD packet to send [08:21:24]OFD Sender: No OFD packet to send [08:21:29]OFD Sender: No OFD packet to send [08:21:34]OFD Sender: No OFD packet to send [08:21:39]OFD Sender: No OFD packet to send [08:21:44]OFD Sender: No OFD packet to send [08:21:49]OFD Sender: No OFD packet to send [08:21:54]OFD Sender: No OFD packet to send [08:21:59]OFD Sender: No OFD packet to send [08:22:04]OFD Sender: No OFD packet to send [08:22:09]OFD Sender: No OFD packet to send [08:22:14]OFD Sender: No OFD packet to send [08:22:19]OFD Sender: No OFD packet to send [08:22:24]OFD Sender: No OFD packet to send [08:22:29]OFD Sender: No OFD packet to send [08:22:34]OFD Sender: No OFD packet to send [08:22:39]OFD Sender: No OFD packet to send [08:22:44]OFD Sender: No OFD packet to send [08:22:49]OFD Sender: No OFD packet to send [08:22:54]OFD Sender: No OFD packet to send [08:22:59]OFD Sender: No OFD packet to send [08:23:04]OFD Sender: No OFD packet to send [08:23:09]OFD Sender: No OFD packet to send [08:23:14]OFD Sender: No OFD packet to send [08:23:19]OFD Sender: No OFD packet to send [08:23:24]OFD Sender: No OFD packet to send [08:23:29]OFD Sender: No OFD packet to send [08:23:34]OFD Sender: No OFD packet to send [08:23:39]OFD Sender: No OFD packet to send [08:23:44]OFD Sender: No OFD packet to send [08:23:49]OFD Sender: No OFD packet to send [08:23:54]OFD Sender: No OFD packet to send [08:23:59]OFD Sender: No OFD packet to send [08:24:04]OFD Sender: No OFD packet to send [08:24:09]OFD Sender: No OFD packet to send [08:24:14]OFD Sender: No OFD packet to send [08:24:19]OFD Sender: No OFD packet to send [08:24:24]OFD Sender: No OFD packet to send [08:24:29]OFD Sender: No OFD packet to send [08:24:34]OFD Sender: No OFD packet to send [08:24:39]OFD Sender: No OFD packet to send [08:24:44]OFD Sender: No OFD packet to send [08:24:49]OFD Sender: No OFD packet to send [08:24:54]OFD Sender: No OFD packet to send [08:24:59]OFD Sender: No OFD packet to send [08:25:04]OFD Sender: No OFD packet to send [08:25:09]OFD Sender: No OFD packet to send [08:25:14]OFD Sender: No OFD packet to send [08:25:19]OFD Sender: No OFD packet to send [08:25:24]OFD Sender: No OFD packet to send [08:25:29]OFD Sender: No OFD packet to send [08:25:34]OFD Sender: No OFD packet to send [08:25:39]OFD Sender: No OFD packet to send [08:25:44]OFD Sender: No OFD packet to send [08:25:49]OFD Sender: No OFD packet to send [08:25:54]OFD Sender: No OFD packet to send [08:25:59]OFD Sender: No OFD packet to send [08:26:04]OFD Sender: No OFD packet to send [08:26:09]OFD Sender: No OFD packet to send [08:26:14]OFD Sender: No OFD packet to send [08:26:19]OFD Sender: No OFD packet to send [08:26:24]OFD Sender: No OFD packet to send [08:26:29]OFD Sender: No OFD packet to send [08:26:34]OFD Sender: No OFD packet to send [08:26:39]OFD Sender: No OFD packet to send [08:26:44]OFD Sender: No OFD packet to send [08:26:49]OFD Sender: No OFD packet to send [08:26:54]OFD Sender: No OFD packet to send [08:26:59]OFD Sender: No OFD packet to send [08:27:04]OFD Sender: No OFD packet to send [08:27:09]OFD Sender: No OFD packet to send [08:27:14]OFD Sender: No OFD packet to send [08:27:19]OFD Sender: No OFD packet to send [08:27:24]OFD Sender: No OFD packet to send [08:27:29]OFD Sender: No OFD packet to send [08:27:34]OFD Sender: No OFD packet to send [08:27:39]OFD Sender: No OFD packet to send [08:27:44]OFD Sender: No OFD packet to send [08:27:49]OFD Sender: No OFD packet to send [08:27:54]OFD Sender: No OFD packet to send [08:27:59]OFD Sender: No OFD packet to send [08:28:04]OFD Sender: No OFD packet to send [08:28:09]OFD Sender: No OFD packet to send [08:28:14]OFD Sender: No OFD packet to send [08:28:19]OFD Sender: No OFD packet to send [08:28:24]OFD Sender: No OFD packet to send [08:28:29]OFD Sender: No OFD packet to send [08:28:34]OFD Sender: No OFD packet to send [08:28:39]OFD Sender: No OFD packet to send [08:28:44]OFD Sender: No OFD packet to send [08:28:49]OFD Sender: No OFD packet to send [08:28:54]OFD Sender: No OFD packet to send [08:28:59]OFD Sender: No OFD packet to send [08:29:04]OFD Sender: No OFD packet to send [08:29:09]OFD Sender: No OFD packet to send [08:29:14]OFD Sender: No OFD packet to send [08:29:19]OFD Sender: No OFD packet to send [08:29:24]OFD Sender: No OFD packet to send [08:29:29]OFD Sender: No OFD packet to send [08:29:34]OFD Sender: No OFD packet to send [08:29:39]OFD Sender: No OFD packet to send [08:29:44]OFD Sender: No OFD packet to send [08:29:49]OFD Sender: No OFD packet to send [08:29:54]OFD Sender: No OFD packet to send [08:29:59]OFD Sender: No OFD packet to send [08:30:04]OFD Sender: No OFD packet to send [08:30:09]OFD Sender: No OFD packet to send [08:30:14]OFD Sender: No OFD packet to send [08:30:19]OFD Sender: No OFD packet to send [08:30:24]OFD Sender: No OFD packet to send [08:30:29]OFD Sender: No OFD packet to send [08:30:34]OFD Sender: No OFD packet to send [08:30:39]OFD Sender: No OFD packet to send [08:30:44]OFD Sender: No OFD packet to send [08:30:49]OFD Sender: No OFD packet to send [08:30:54]OFD Sender: No OFD packet to send [08:30:59]OFD Sender: No OFD packet to send [08:31:04]OFD Sender: No OFD packet to send [08:31:09]OFD Sender: No OFD packet to send [08:31:14]OFD Sender: No OFD packet to send [08:31:19]OFD Sender: No OFD packet to send [08:31:24]OFD Sender: No OFD packet to send [08:31:29]OFD Sender: No OFD packet to send [08:31:34]OFD Sender: No OFD packet to send [08:31:39]OFD Sender: No OFD packet to send [08:31:44]OFD Sender: No OFD packet to send [08:31:49]OFD Sender: No OFD packet to send [08:31:54]OFD Sender: No OFD packet to send [08:31:59]OFD Sender: No OFD packet to send [08:32:04]OFD Sender: No OFD packet to send [08:32:09]OFD Sender: No OFD packet to send [08:32:14]OFD Sender: No OFD packet to send [08:32:19]OFD Sender: No OFD packet to send [08:32:24]OFD Sender: No OFD packet to send [08:32:29]OFD Sender: No OFD packet to send [08:32:34]OFD Sender: No OFD packet to send [08:32:39]OFD Sender: No OFD packet to send [08:32:44]OFD Sender: No OFD packet to send [08:32:49]OFD Sender: No OFD packet to send [08:32:54]OFD Sender: No OFD packet to send [08:32:59]OFD Sender: No OFD packet to send [08:33:04]OFD Sender: No OFD packet to send [08:33:09]OFD Sender: No OFD packet to send [08:33:14]OFD Sender: No OFD packet to send [08:33:19]OFD Sender: No OFD packet to send [08:33:24]OFD Sender: No OFD packet to send [08:33:29]OFD Sender: No OFD packet to send [08:33:34]OFD Sender: No OFD packet to send [08:33:39]OFD Sender: No OFD packet to send [08:33:44]OFD Sender: No OFD packet to send [08:33:49]OFD Sender: No OFD packet to send [08:33:54]OFD Sender: No OFD packet to send [08:33:59]OFD Sender: No OFD packet to send [08:34:04]OFD Sender: No OFD packet to send [08:34:09]OFD Sender: No OFD packet to send [08:34:14]OFD Sender: No OFD packet to send [08:34:19]OFD Sender: No OFD packet to send [08:34:24]OFD Sender: No OFD packet to send [08:34:29]OFD Sender: No OFD packet to send [08:34:34]OFD Sender: No OFD packet to send [08:34:39]OFD Sender: No OFD packet to send [08:34:44]OFD Sender: No OFD packet to send [08:34:49]OFD Sender: No OFD packet to send [08:34:55]OFD Sender: No OFD packet to send [08:35:00]OFD Sender: No OFD packet to send [08:35:05]OFD Sender: No OFD packet to send [08:35:10]OFD Sender: No OFD packet to send [08:35:15]OFD Sender: No OFD packet to send [08:35:20]OFD Sender: No OFD packet to send [08:35:25]OFD Sender: No OFD packet to send [08:35:30]OFD Sender: No OFD packet to send [08:35:35]OFD Sender: No OFD packet to send [08:35:40]OFD Sender: No OFD packet to send [08:35:45]OFD Sender: No OFD packet to send [08:35:50]OFD Sender: No OFD packet to send [08:35:55]OFD Sender: No OFD packet to send [08:36:00]OFD Sender: No OFD packet to send [08:36:05]OFD Sender: No OFD packet to send [08:36:10]OFD Sender: No OFD packet to send [08:36:15]OFD Sender: No OFD packet to send [08:36:20]OFD Sender: No OFD packet to send [08:36:25]OFD Sender: No OFD packet to send [08:36:30]OFD Sender: No OFD packet to send [08:36:35]OFD Sender: No OFD packet to send [08:36:40]OFD Sender: No OFD packet to send [08:36:45]OFD Sender: No OFD packet to send [08:36:50]OFD Sender: No OFD packet to send [08:36:55]OFD Sender: No OFD packet to send [08:37:00]OFD Sender: No OFD packet to send [08:37:05]OFD Sender: No OFD packet to send [08:37:10]OFD Sender: No OFD packet to send [08:37:15]OFD Sender: No OFD packet to send [08:37:20]OFD Sender: No OFD packet to send [08:37:25]OFD Sender: No OFD packet to send [08:37:30]OFD Sender: No OFD packet to send [08:37:35]OFD Sender: No OFD packet to send [08:37:40]OFD Sender: No OFD packet to send [08:37:45]OFD Sender: No OFD packet to send [08:37:50]OFD Sender: No OFD packet to send [08:37:55]OFD Sender: No OFD packet to send [08:38:00]OFD Sender: No OFD packet to send [08:38:05]OFD Sender: No OFD packet to send [08:38:10]OFD Sender: No OFD packet to send [08:38:15]OFD Sender: No OFD packet to send [08:38:20]OFD Sender: No OFD packet to send [08:38:25]OFD Sender: No OFD packet to send [08:38:30]OFD Sender: No OFD packet to send [08:38:35]OFD Sender: No OFD packet to send [08:38:40]OFD Sender: No OFD packet to send [08:38:45]OFD Sender: No OFD packet to send [08:38:50]OFD Sender: No OFD packet to send [08:38:55]OFD Sender: No OFD packet to send [08:39:00]OFD Sender: No OFD packet to send [08:39:05]OFD Sender: No OFD packet to send [08:39:10]OFD Sender: No OFD packet to send [08:39:15]OFD Sender: No OFD packet to send [08:39:20]OFD Sender: No OFD packet to send [08:39:25]OFD Sender: No OFD packet to send [08:39:30]OFD Sender: No OFD packet to send [08:39:35]OFD Sender: No OFD packet to send [08:39:40]OFD Sender: No OFD packet to send [08:39:45]OFD Sender: No OFD packet to send [08:39:50]OFD Sender: No OFD packet to send [08:39:55]OFD Sender: No OFD packet to send [08:40:00]OFD Sender: No OFD packet to send [08:40:05]OFD Sender: No OFD packet to send [08:40:10]OFD Sender: No OFD packet to send [08:40:15]OFD Sender: No OFD packet to send [08:40:20]OFD Sender: No OFD packet to send [08:40:25]OFD Sender: No OFD packet to send [08:40:30]OFD Sender: No OFD packet to send [08:40:35]OFD Sender: No OFD packet to send [08:40:40]OFD Sender: No OFD packet to send [08:40:45]OFD Sender: No OFD packet to send [08:40:50]OFD Sender: No OFD packet to send [08:40:55]OFD Sender: No OFD packet to send [08:41:00]OFD Sender: No OFD packet to send [08:41:05]OFD Sender: No OFD packet to send [08:41:10]OFD Sender: No OFD packet to send [08:41:15]OFD Sender: No OFD packet to send [08:41:20]OFD Sender: No OFD packet to send [08:41:25]OFD Sender: No OFD packet to send [08:41:30]OFD Sender: No OFD packet to send [08:41:35]OFD Sender: No OFD packet to send [08:41:40]OFD Sender: No OFD packet to send [08:41:45]OFD Sender: No OFD packet to send [08:41:50]OFD Sender: No OFD packet to send [08:41:55]OFD Sender: No OFD packet to send [08:42:00]OFD Sender: No OFD packet to send [08:42:05]OFD Sender: No OFD packet to send [08:42:10]OFD Sender: No OFD packet to send [08:42:15]OFD Sender: No OFD packet to send [08:42:20]OFD Sender: No OFD packet to send [08:42:25]OFD Sender: No OFD packet to send [08:42:30]OFD Sender: No OFD packet to send [08:42:35]OFD Sender: No OFD packet to send [08:42:40]OFD Sender: No OFD packet to send [08:42:42]accept exits with 9 [08:42:42]New connection [08:42:42]New thread 3067473252 created [08:42:42]Thread 3067616612 joined [08:42:42]Waiting for new connection... [08:42:42] Sock 9.Parse request [08:42:42]Sock 9.Check first char [08:42:42]Sock 9.First char is OK [08:42:42]request: POST /json_proto HTTP/1.0 [08:42:42]Method: POST [08:42:42]URL: /json_proto [08:42:42]Method is POST - this is cgi request [08:42:42]url: /json_proto [08:42:42]query_string will be loaded in cgi processing [08:42:42]execute_cgi json_proto POST (null) [08:42:42]execute_cgi path=json_proto method=POST [08:42:42]POST find Content-Length [08:42:42]Host: 172.17.38.134:8080 [08:42:42]Content-Length: 905 [08:42:42]Content-Type: application/json [08:42:42] [08:42:42]POST finish read [08:42:42]Found Content-Length = 905 [08:42:42]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184338", "tax_sys" : 0, "items" : [ { "code": "4620016307540", "name": "\u0421\u0430\u043B\u0444\u0435\u0442\u043A\u0438 Absolut Nat FITOGUARD \u0430\u043B\u043E\u044D 20 \u0448", "price" : 65.00, "quantity" : 1.000, "sum" : 65.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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" : 195.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:42:42]execute_script... [08:42:42]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184338", "tax_sys" : 0, "items" : [ { "code": "4620016307540", "name": "\u0421\u0430\u043B\u0444\u0435\u0442\u043A\u0438 Absolut Nat FITOGUARD \u0430\u043B\u043E\u044D 20 \u0448", "price" : 65.00, "quantity" : 1.000, "sum" : 65.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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" : 195.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:42:42]POST & json_proto [08:42:42]process_json_proto [08:42:42]json parsed OK: [08:42:42]protocol is kg_v1.0 [08:42:42]action value=close_receipt [08:42:42]process_action close_receipt [08:42:42]cmd_close_receipt [08:42:42]MH_GetDate [08:42:42]Write to MH i2c: F0 00 00 B0 10 AF [08:42:42]Write i2c OK [08:42:42]MH_I2C_Read... [08:42:42]Read from MH i2c: F0 [08:42:42]MH_I2C_Read... [08:42:42]Read from MH i2c: F0 09 00 [08:42:42]MH_I2C_Read... [08:42:42]Read from MH i2c: F0 09 00 B0 10 00 86 8E 76 66 13 9C 7C 64 37 [08:42:42]GetLastDocTimeStamp 1719043815 [08:42:42]current date 1719045766 [08:42:42]FM_GetShiftState [08:42:42]SAM_PROTO_GetShiftState [08:42:42]wFMCommunicate request_size=4 [08:42:42]MH_SAM_APDU [08:42:42]CAPDU: 80 13 01 00 [08:42:42]Write to MH i2c: E2 08 00 B1 10 80 13 01 00 00 00 00 00 3E [08:42:42]Write i2c OK [08:42:42]MH_I2C_Read... [08:42:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:42:42]Read from MH i2c: E2 [08:42:42]MH_I2C_Read... [08:42:42]Read from MH i2c: E2 0E 00 [08:42:42]MH_I2C_Read... [08:42:42]Read from MH i2c: E2 0E 00 B1 10 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 F8 [08:42:42]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [08:42:42]wFMCommunicate OK [08:42:42]SAM_PROTO_GetShiftState done [08:42:42]FM_GetShiftState done [08:42:42]opened in 1719016120 [08:42:42]opened+sec_in_day 1719102520 [08:42:42]quantity*price = 6500 [08:42:42]sum+1 = 6501 [08:42:42]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 2000036230011 Кофе Латте XL(GABB TRADE) 1.000 * 130.00 = 130.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 195.00 НСП 1% : 1.72 НДС 12% : 20.70 Наличными: 195.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 7 22.06.2024 08:42 Смена: 327 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34581 ФПД: 74476098211399 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T084246&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34581&fm=74476098211399&tin=02508201610067®Number=0000000000092786&sum=19500 0 [08:42:43]StoreToDocumentArchive [08:42:43]shift 327 fd 34581 [08:42:43]save to /storage/0327/doc_00034581 [08:42:43]save last doc name /storage/0327/doc_00034581 to /storage/kkm_last_doc_name [08:42:43]save OK [08:42:43]Clear old archive folders... [08:42:43]ProcessDocumentItem done err = 0, tmpTLVsize=401 [08:42:43]tlvbuf is 015BD050 [08:42:43]SAM_PROTO_ClearQueue [08:42:43]wFMCommunicate request_size=4 [08:42:43]MH_SAM_APDU [08:42:43]CAPDU: 80 09 00 00 [08:42:43]Write to MH i2c: E2 08 00 BE 10 80 09 00 00 00 00 00 00 40 [08:42:43]Write i2c OK [08:42:43]MH_I2C_Read... [08:42:43]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:42:43]Read from MH i2c: E2 [08:42:43]MH_I2C_Read... [08:42:43]Read from MH i2c: E2 03 00 [08:42:43]MH_I2C_Read... [08:42:43]Read from MH i2c: E2 03 00 BE 10 00 90 00 42 [08:42:43]RAPDU: 90 00 [08:42:43]wFMCommunicate OK [08:42:43]SAM_PROTO_ClearQueue done [08:42:43]KKMCreateOFDPacket [08:42:43]OFDProtocolAddRootSTLVToBuf [08:42:43]FM_MakeSignedData [08:42:43]FM_MakeSignedData [08:42:43]SAM_PROTO_SignData [08:42:43]wFMCommunicate request_size=4 [08:42:43]MH_SAM_APDU [08:42:43]CAPDU: 80 0D 01 02 [08:42:43]Write to MH i2c: E2 08 00 BF 10 80 0D 01 02 00 00 00 00 48 [08:42:43]Write i2c OK [08:42:43]MH_I2C_Read... [08:42:43]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:42:43]Read from MH i2c: E2 [08:42:43]MH_I2C_Read... [08:42:43]Read from MH i2c: E2 03 00 [08:42:43]MH_I2C_Read... [08:42:43]Read from MH i2c: E2 03 00 BF 10 00 90 00 43 [08:42:43]RAPDU: 90 00 [08:42:43]wFMCommunicate OK [08:42:43]wFMCommunicate request_size=255 [08:42:43]MH_SAM_APDU [08:42:43]CAPDU: 80 0D 02 02 FA 03 00 91 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 36 32 30 30 31 36 33 30 37 35 34 30 06 04 35 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 4E 61 74 20 46 49 54 4F 47 55 41 52 44 20 D0 B0 D0 BB D0 BE D1 8D 20 32 30 20 D1 88 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 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 2C 4C 00 00 00 00 [08:42:43]Write to MH i2c: E2 02 01 C0 10 80 0D 02 02 FA 00 03 00 91 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 36 32 30 30 31 36 33 30 37 35 34 30 06 04 35 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 4E 61 74 20 46 49 54 4F 47 55 41 52 44 20 D0 B0 D0 BB D0 BE D1 8D 20 32 30 20 D1 88 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 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 2C 4C 00 00 00 00 00 00 E5 [08:42:43]Write i2c OK [08:42:43]MH_I2C_Read... [08:42:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:42:43]Read from MH i2c: E2 [08:42:43]MH_I2C_Read... [08:42:43]Read from MH i2c: E2 03 00 [08:42:43]MH_I2C_Read... [08:42:43]Read from MH i2c: E2 03 00 C0 10 00 90 00 44 [08:42:43]RAPDU: 90 00 [08:42:43]wFMCommunicate OK [08:42:43]wFMCommunicate request_size=160 [08:42:43]MH_SAM_APDU [08:42:43]CAPDU: 80 0D 02 02 9B EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AC 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 16 08 00 00 00 00 07 04 06 00 2C 4C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 86 8E 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 15 87 00 00 35 04 06 00 43 BC 51 60 CE 47 [08:42:43]Write to MH i2c: E2 A3 00 C1 10 80 0D 02 02 9B 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AC 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 16 08 00 00 00 00 07 04 06 00 2C 4C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 86 8E 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 15 87 00 00 35 04 06 00 43 BC 51 60 CE 47 00 00 A9 [08:42:43]Write i2c OK [08:42:43]MH_I2C_Read... [08:42:43]Read from MH i2c: E2 [08:42:43]MH_I2C_Read... [08:42:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:42:43]Read from MH i2c: E2 03 00 [08:42:43]MH_I2C_Read... [08:42:43]Read from MH i2c: E2 03 00 C1 10 00 90 00 45 [08:42:43]RAPDU: 90 00 [08:42:43]wFMCommunicate OK [08:42:43]wFMCommunicate request_size=4 [08:42:43]MH_SAM_APDU [08:42:43]CAPDU: 80 0D 03 02 [08:42:43]Write to MH i2c: E2 08 00 C2 10 80 0D 03 02 00 00 00 00 4D [08:42:43]Write i2c OK [08:42:43]MH_I2C_Read... [08:42:43]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:42:43]Read from MH i2c: E2 [08:42:43]MH_I2C_Read... [08:42:43]Read from MH i2c: E2 0B 00 [08:42:43]MH_I2C_Read... [08:42:43]Read from MH i2c: E2 0B 00 C2 10 00 D1 2F ED FB 42 EA 7E F4 90 00 D4 [08:42:43]RAPDU: D1 2F ED FB 42 EA 7E F4 90 00 [08:42:43]wFMCommunicate OK [08:42:43]SAM_PROTO_SignData done [08:42:43]FM_MakeSignedData done [08:42:43]CreateOFDProtocolMessage [08:42:43]wFMCommunicate request_size=4 [08:42:43]MH_SAM_APDU [08:42:43]CAPDU: 80 11 00 00 [08:42:43]Write to MH i2c: E2 08 00 C3 10 80 11 00 00 00 00 00 00 4D [08:42:44]Write i2c OK [08:42:44]MH_I2C_Read... [08:42:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:42:44]Read from MH i2c: E2 [08:42:44]MH_I2C_Read... [08:42:44]Read from MH i2c: E2 17 00 [08:42:44]MH_I2C_Read... [08:42:44]Read from MH i2c: E2 17 00 C3 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 A2 [08:42:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [08:42:44]wFMCommunicate OK [08:42:44]CreateOFDProtocolMessage done [08:42:44]OFDSenderStorePacket 34581 [08:42:44]StoreOFDPacket docnum=34581 [08:42:44]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 A5 01 00 00 15 46 9D 01 24 3A 5A 03 01 00 03 00 91 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 36 32 30 30 31 36 33 30 37 35 34 30 06 04 35 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 4E 61 74 20 46 49 54 4F 47 55 41 52 44 20 D0 B0 D0 BB D0 BE D1 8D 20 32 30 20 D1 88 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 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 2C 4C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AC 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 16 08 00 00 00 00 07 04 06 00 2C 4C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 86 8E 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 15 87 00 00 35 04 06 00 43 BC 51 60 CE 47 D1 2F ED FB 42 EA 7E F4 [08:42:44]CheckFolder [08:42:44]dirname=/storage/ofd_packets [08:42:44]CheckFolder done [08:42:44]ProducePacketName [08:42:44]name=ofd_packets/00034581 [08:42:44]NVStorageSaveData ofd_packets/00034581 [08:42:44]File name is /storage/ofd_packets/00034581 [08:42:44]Write 451 bytes [08:42:44]NVStorageSaveData done [08:42:44]OFDSenderStorePacket done [08:42:44]KKMCreateOFDPacket done [08:42:44]NVStorageSaveData kkm_last_timestamp [08:42:44]File name is /storage/kkm_last_timestamp [08:42:44]Write 4 bytes [08:42:44]NVStorageSaveData done [08:42:44]ExternCall_PrintAddStr [08:42:44]wPrintStart [08:42:44]Write to MH i2c: 01 00 00 C4 10 D4 [08:42:44]Write i2c OK [08:42:44]MH_I2C_Read... [08:42:44]Read from MH i2c: 01 [08:42:44]MH_I2C_Read... [08:42:44]Read from MH i2c: 01 07 00 [08:42:44]MH_I2C_Read... [08:42:44]Read from MH i2c: 01 07 00 C4 10 00 00 00 00 00 FF 0F E9 [08:42:44]RasterBufferAndPrint [08:42:44]line Счет N : (3)184338 [08:42:44]line ИНН: 02508201610067 [08:42:44]line Контрольно-Кассовый Чек [08:42:44]line ПРОДАЖА [08:42:44]line Товар: 4620016307540 [08:42:44]line Салфетки Absolut Nat FITOGUARD алоэ 20 ш [08:42:44]line 1.000 * 65.00 [08:42:44]line = 65.00 [08:42:44]line НДС 12% НСП 1% [08:42:44]line > о реализуемом товаре [08:42:44]line Товар: 2000036230011 [08:42:44]line Кофе Латте XL(GABB TRADE) [08:42:44]line 1.000 * 130.00 [08:42:44]line = 130.00 [08:42:44]line НДС 12% НСП 1% [08:42:44]line > о реализуемом товаре [08:42:44]line ИТОГО: 195.00 [08:42:44]line НСП 1% : 1.72 [08:42:44]line НДС 12% : 20.70 [08:42:44]line Наличными: 195.00 [08:42:44]line Безнал.: 0.00 [08:42:44]line Место: АЗС № 120 "Партнер Нефть" [08:42:44]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [08:42:44]line СНО: Общий режим [08:42:44]line Чек 7 22.06.2024 08:42 [08:42:44]line Смена: 327 ФФД: 1.0 [08:42:44]line ЗНМ: 0300000172 [08:42:44]line РНМ: 0000000000092786 [08:42:44]line Версия ККМ: 001 [08:42:44]line ФМ: 0000000000875095 [08:42:44]line ФД: 34581 [08:42:44]line ФПД: 74476098211399 [08:42:44]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T084246&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34581&fm=74476098211399&tin=02508201610067®Number=0000000000092786&sum=19500 [08:42:44]line 0 [08:42:44]OFD Sender: Processing packet 34581 [packets to send 8, broken 7] [08:42:44]ProducePacketName [08:42:44]name=ofd_packets/00034581 [08:42:44]OFD Sender: To server: pG, [08:42:44]CommunicateWithHost lk.salyk.kg:30040 [08:42:44]ConnectInit lk.salyk.kg [08:42:44]written 0, free lines is 4095 [08:42:44]Connected sock=7 [08:42:44]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 A5 01 00 00 15 46 9D 01 24 3A 5A 03 01 00 03 00 91 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 36 32 30 30 31 36 33 30 37 35 34 30 06 04 35 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 4E 61 74 20 46 49 54 4F 47 55 41 52 44 20 D0 B0 D0 BB D0 BE D1 8D 20 32 30 20 D1 88 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 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 2C 4C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AC 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 16 08 00 00 00 00 07 04 06 00 2C 4C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 86 8E 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 15 87 00 00 35 04 06 00 43 BC 51 60 CE 47 D1 2F ED FB 42 EA 7E F4 [08:42:44]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 3B B3 47 00 B5 77 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 15 87 00 00 F4 03 04 00 4B 35 76 66 B6 04 01 00 00 09 E1 06 CF 41 39 83 65 [08:42:44]CommunicateWithHost err = 0 [08:42:44]CheckOFDResponse [08:42:44]1017 (14) - 77093643461234 [08:42:44]1041 (16) - 0000000000875095 [08:42:44]1040 (4) - 34581 [08:42:44]1012 (4) - 22.06.2024 02:22 [08:42:44]1206 (1) - 0 [08:42:44]OFD Sender: Remove packet 34581 [08:42:44]ProducePacketName [08:42:44]name=ofd_packets/00034581 [08:42:44]NVStorageDeleteData [08:42:44]Write to MH i2c: 01 00 00 F3 10 03 [08:42:44]Write i2c OK [08:42:44]MH_I2C_Read... [08:42:44]Read from MH i2c: 01 [08:42:44]MH_I2C_Read... [08:42:44]Read from MH i2c: 01 07 00 [08:42:44]MH_I2C_Read... [08:42:44]Read from MH i2c: 01 07 00 F3 10 00 00 00 00 00 93 0C A9 [08:42:44]RasterBufferAndPrint [08:42:44]line [08:42:44]line [08:42:44]line [08:42:44]line [08:42:44]line [08:42:44]written 0, free lines is 3226 [08:42:44]MH_Cut [08:42:44]Write to MH i2c: D1 01 00 FA 10 01 DC [08:42:44]Write i2c OK [08:42:44]MH_I2C_Read... [08:42:44]Read from MH i2c: D1 [08:42:44]MH_I2C_Read... [08:42:44]Read from MH i2c: D1 01 00 [08:42:44]MH_I2C_Read... [08:42:44]Read from MH i2c: D1 01 00 FA 10 00 DB [08:42:44]Write to MH i2c: 01 00 00 FB 10 0B [08:42:44]Write i2c OK [08:42:44]MH_I2C_Read... [08:42:45]OFD Sender: No OFD packet to send [08:42:45]*** Cut start [08:42:45]*** Partial cut [08:42:45]*** CUTSNS_PIN = 1 [08:42:45]*** CUTSNS_PIN = 0 [08:42:45]*** Brake cut motor [08:42:46]Read from MH i2c: 01 [08:42:46]MH_I2C_Read... [08:42:46]*** Stop cut motor [08:42:46]*** Cut end [08:42:46]Read from MH i2c: 01 07 00 [08:42:46]MH_I2C_Read... [08:42:46]Read from MH i2c: 01 07 00 FB 10 00 00 00 00 00 FF 0F 20 [08:42:46]process_action close_receipt done [08:42:46]requested_data is exist [08:42:46]produce_requested_data [08:42:46]requested_item fm.sn is exist - process it [08:42:46]wFMCommunicate request_size=4 [08:42:46]MH_SAM_APDU [08:42:46]CAPDU: 80 11 00 00 [08:42:46]Write to MH i2c: E2 08 00 FC 10 80 11 00 00 00 00 00 00 86 [08:42:46]Write i2c OK [08:42:46]MH_I2C_Read... [08:42:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:42:46]Read from MH i2c: E2 [08:42:46]MH_I2C_Read... [08:42:46]Read from MH i2c: E2 17 00 [08:42:46]MH_I2C_Read... [08:42:46]Read from MH i2c: E2 17 00 FC 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 DB [08:42:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [08:42:46]wFMCommunicate OK [08:42:46]requested_item fd.num is exist - process it [08:42:46]SAM_PROTO_GetFieldsCounters [08:42:46]wFMCommunicate request_size=4 [08:42:46]MH_SAM_APDU [08:42:46]CAPDU: 80 13 00 00 [08:42:46]Write to MH i2c: E2 08 00 FD 10 80 13 00 00 00 00 00 00 89 [08:42:46]Write i2c OK [08:42:46]MH_I2C_Read... [08:42:46]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:42:46]Read from MH i2c: E2 [08:42:46]MH_I2C_Read... [08:42:46]Read from MH i2c: E2 62 00 [08:42:46]MH_I2C_Read... [08:42:46]Read from MH i2c: E2 62 00 FD 10 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 15 87 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 07 00 00 00 5E 04 04 00 07 00 00 00 57 04 04 00 08 00 00 00 19 04 04 00 00 00 00 00 90 00 AC [08:42:46]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 15 87 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 07 00 00 00 5E 04 04 00 07 00 00 00 57 04 04 00 08 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:42:46]wFMCommunicate OK [08:42:46]SAM_PROTO_GetFieldsCounters done [08:42:46]requested_item shift.num is exist - process it [08:42:46]requested_item shift.opened is exist - process it [08:42:46]req_shift_opened [08:42:46]FM_GetShiftState [08:42:46]SAM_PROTO_GetShiftState [08:42:46]wFMCommunicate request_size=4 [08:42:46]MH_SAM_APDU [08:42:46]CAPDU: 80 13 01 00 [08:42:46]Write to MH i2c: E2 08 00 FE 10 80 13 01 00 00 00 00 00 8B [08:42:46]Write i2c OK [08:42:46]MH_I2C_Read... [08:42:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:42:46]Read from MH i2c: E2 [08:42:46]MH_I2C_Read... [08:42:46]Read from MH i2c: E2 0E 00 [08:42:46]MH_I2C_Read... [08:42:46]Read from MH i2c: E2 0E 00 FE 10 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 45 [08:42:46]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [08:42:46]wFMCommunicate OK [08:42:46]SAM_PROTO_GetShiftState done [08:42:46]FM_GetShiftState done [08:42:46]req_shift_opened done [08:42:46]requested_item shift.open_date is exist - process it [08:42:46]req_shift_open_date [08:42:46]req_shift_open_date done [08:42:46]produce_requested_data done [08:42:46]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34581,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120} [08:42:46]process_action_free close_receipt [08:42:46]json_value_free [08:42:46]json_value_free done [08:42:46]process_json_proto returns [08:42:46]Send response to host [08:42:46]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34581,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120}}} [08:42:46]free response buf [08:42:46]execute_script done [08:42:46]execute_script returns [08:42:46]free content buf [08:42:46]Sock 9.Close socket [08:42:46]Sock 9.Thread stoped [08:42:50]OFD Sender: No OFD packet to send [08:42:55]OFD Sender: No OFD packet to send [08:43:00]OFD Sender: No OFD packet to send [08:43:05]OFD Sender: No OFD packet to send [08:43:10]OFD Sender: No OFD packet to send [08:43:15]OFD Sender: No OFD packet to send [08:43:20]OFD Sender: No OFD packet to send [08:43:25]OFD Sender: No OFD packet to send [08:43:30]OFD Sender: No OFD packet to send [08:43:35]OFD Sender: No OFD packet to send [08:43:40]OFD Sender: No OFD packet to send [08:43:45]OFD Sender: No OFD packet to send [08:43:50]OFD Sender: No OFD packet to send [08:43:55]OFD Sender: No OFD packet to send [08:44:00]OFD Sender: No OFD packet to send [08:44:05]OFD Sender: No OFD packet to send [08:44:10]OFD Sender: No OFD packet to send [08:44:15]OFD Sender: No OFD packet to send [08:44:20]OFD Sender: No OFD packet to send [08:44:25]OFD Sender: No OFD packet to send [08:44:30]OFD Sender: No OFD packet to send [08:44:35]OFD Sender: No OFD packet to send [08:44:40]OFD Sender: No OFD packet to send [08:44:45]OFD Sender: No OFD packet to send [08:44:50]OFD Sender: No OFD packet to send [08:44:55]OFD Sender: No OFD packet to send [08:45:00]OFD Sender: No OFD packet to send [08:45:05]OFD Sender: No OFD packet to send [08:45:10]OFD Sender: No OFD packet to send [08:45:15]OFD Sender: No OFD packet to send [08:45:20]OFD Sender: No OFD packet to send [08:45:25]OFD Sender: No OFD packet to send [08:45:30]OFD Sender: No OFD packet to send [08:45:35]OFD Sender: No OFD packet to send [08:45:40]OFD Sender: No OFD packet to send [08:45:45]OFD Sender: No OFD packet to send [08:45:50]OFD Sender: No OFD packet to send [08:45:55]OFD Sender: No OFD packet to send [08:46:00]OFD Sender: No OFD packet to send [08:46:05]OFD Sender: No OFD packet to send [08:46:10]OFD Sender: No OFD packet to send [08:46:15]OFD Sender: No OFD packet to send [08:46:20]OFD Sender: No OFD packet to send [08:46:25]OFD Sender: No OFD packet to send [08:46:30]OFD Sender: No OFD packet to send [08:46:35]OFD Sender: No OFD packet to send [08:46:40]OFD Sender: No OFD packet to send [08:46:45]OFD Sender: No OFD packet to send [08:46:50]OFD Sender: No OFD packet to send [08:46:55]OFD Sender: No OFD packet to send [08:47:00]OFD Sender: No OFD packet to send [08:47:05]OFD Sender: No OFD packet to send [08:47:10]OFD Sender: No OFD packet to send [08:47:15]OFD Sender: No OFD packet to send [08:47:20]OFD Sender: No OFD packet to send [08:47:25]OFD Sender: No OFD packet to send [08:47:30]OFD Sender: No OFD packet to send [08:47:35]OFD Sender: No OFD packet to send [08:47:40]OFD Sender: No OFD packet to send [08:47:45]OFD Sender: No OFD packet to send [08:47:50]OFD Sender: No OFD packet to send [08:47:55]OFD Sender: No OFD packet to send [08:48:00]OFD Sender: No OFD packet to send [08:48:05]OFD Sender: No OFD packet to send [08:48:10]OFD Sender: No OFD packet to send [08:48:15]OFD Sender: No OFD packet to send [08:48:20]OFD Sender: No OFD packet to send [08:48:25]OFD Sender: No OFD packet to send [08:48:30]OFD Sender: No OFD packet to send [08:48:35]OFD Sender: No OFD packet to send [08:48:40]OFD Sender: No OFD packet to send [08:48:45]OFD Sender: No OFD packet to send [08:48:50]OFD Sender: No OFD packet to send [08:48:55]OFD Sender: No OFD packet to send [08:49:00]OFD Sender: No OFD packet to send [08:49:05]OFD Sender: No OFD packet to send [08:49:10]OFD Sender: No OFD packet to send [08:49:15]OFD Sender: No OFD packet to send [08:49:20]OFD Sender: No OFD packet to send [08:49:25]OFD Sender: No OFD packet to send [08:49:30]OFD Sender: No OFD packet to send [08:49:35]OFD Sender: No OFD packet to send [08:49:40]OFD Sender: No OFD packet to send [08:49:45]OFD Sender: No OFD packet to send [08:49:50]OFD Sender: No OFD packet to send [08:49:55]OFD Sender: No OFD packet to send [08:50:00]OFD Sender: No OFD packet to send [08:50:05]OFD Sender: No OFD packet to send [08:50:10]OFD Sender: No OFD packet to send [08:50:15]OFD Sender: No OFD packet to send [08:50:20]OFD Sender: No OFD packet to send [08:50:25]OFD Sender: No OFD packet to send [08:50:30]OFD Sender: No OFD packet to send [08:50:35]OFD Sender: No OFD packet to send [08:50:40]OFD Sender: No OFD packet to send [08:50:45]OFD Sender: No OFD packet to send [08:50:50]OFD Sender: No OFD packet to send [08:50:55]OFD Sender: No OFD packet to send [08:51:00]OFD Sender: No OFD packet to send [08:51:05]OFD Sender: No OFD packet to send [08:51:10]OFD Sender: No OFD packet to send [08:51:15]OFD Sender: No OFD packet to send [08:51:20]OFD Sender: No OFD packet to send [08:51:25]OFD Sender: No OFD packet to send [08:51:30]OFD Sender: No OFD packet to send [08:51:35]OFD Sender: No OFD packet to send [08:51:40]OFD Sender: No OFD packet to send [08:51:45]OFD Sender: No OFD packet to send [08:51:50]OFD Sender: No OFD packet to send [08:51:55]OFD Sender: No OFD packet to send [08:52:00]OFD Sender: No OFD packet to send [08:52:05]OFD Sender: No OFD packet to send [08:52:10]OFD Sender: No OFD packet to send [08:52:15]OFD Sender: No OFD packet to send [08:52:20]OFD Sender: No OFD packet to send [08:52:25]OFD Sender: No OFD packet to send [08:52:30]OFD Sender: No OFD packet to send [08:52:35]OFD Sender: No OFD packet to send [08:52:40]OFD Sender: No OFD packet to send [08:52:45]OFD Sender: No OFD packet to send [08:52:50]OFD Sender: No OFD packet to send [08:52:55]OFD Sender: No OFD packet to send [08:53:00]OFD Sender: No OFD packet to send [08:53:05]OFD Sender: No OFD packet to send [08:53:10]OFD Sender: No OFD packet to send [08:53:15]OFD Sender: No OFD packet to send [08:53:20]OFD Sender: No OFD packet to send [08:53:25]OFD Sender: No OFD packet to send [08:53:30]OFD Sender: No OFD packet to send [08:53:35]OFD Sender: No OFD packet to send [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:56]OFD Sender: No OFD packet to send [08:58:01]OFD Sender: No OFD packet to send [08:58:06]OFD Sender: No OFD packet to send [08:58:11]OFD Sender: No OFD packet to send [08:58:16]OFD Sender: No OFD packet to send [08:58:21]OFD Sender: No OFD packet to send [08:58:26]OFD Sender: No OFD packet to send [08:58:31]OFD Sender: No OFD packet to send [08:58:36]OFD Sender: No OFD packet to send [08:58:41]OFD Sender: No OFD packet to send [08:58:46]OFD Sender: No OFD packet to send [08:58:51]OFD Sender: No OFD packet to send [08:58:56]OFD Sender: No OFD packet to send [08:59:01]OFD Sender: No OFD packet to send [08:59:06]OFD Sender: No OFD packet to send [08:59:11]OFD Sender: No OFD packet to send [08:59:16]OFD Sender: No OFD packet to send [08:59:21]OFD Sender: No OFD packet to send [08:59:26]OFD Sender: No OFD packet to send [08:59:31]OFD Sender: No OFD packet to send [08:59:36]OFD Sender: No OFD packet to send [08:59:41]OFD Sender: No OFD packet to send [08:59:46]OFD Sender: No OFD packet to send [08:59:51]OFD Sender: No OFD packet to send [08:59:56]OFD Sender: No OFD packet to send [09:00:01]OFD Sender: No OFD packet to send [09:00:06]OFD Sender: No OFD packet to send [09:00:11]OFD Sender: No OFD packet to send [09:00:16]OFD Sender: No OFD packet to send [09:00:21]OFD Sender: No OFD packet to send [09:00:26]OFD Sender: No OFD packet to send [09:00:31]OFD Sender: No OFD packet to send [09:00:36]OFD Sender: No OFD packet to send [09:00:41]OFD Sender: No OFD packet to send [09:00:46]OFD Sender: No OFD packet to send [09:00:51]OFD Sender: No OFD packet to send [09:00:56]OFD Sender: No OFD packet to send [09:01:01]OFD Sender: No OFD packet to send [09:01:06]OFD Sender: No OFD packet to send [09:01:11]OFD Sender: No OFD packet to send [09:01:16]OFD Sender: No OFD packet to send [09:01:21]OFD Sender: No OFD packet to send [09:01:26]OFD Sender: No OFD packet to send [09:01:31]OFD Sender: No OFD packet to send [09:01:36]OFD Sender: No OFD packet to send [09:01:41]OFD Sender: No OFD packet to send [09:01:46]OFD Sender: No OFD packet to send [09:01:51]OFD Sender: No OFD packet to send [09:01:56]OFD Sender: No OFD packet to send [09:02:01]OFD Sender: No OFD packet to send [09:02:06]OFD Sender: No OFD packet to send [09:02:11]OFD Sender: No OFD packet to send [09:02:16]OFD Sender: No OFD packet to send [09:02:21]OFD Sender: No OFD packet to send [09:02:26]OFD Sender: No OFD packet to send [09:02:31]OFD Sender: No OFD packet to send [09:02:36]OFD Sender: No OFD packet to send [09:02:41]OFD Sender: No OFD packet to send [09:02:46]OFD Sender: No OFD packet to send [09:02:51]OFD Sender: No OFD packet to send [09:02:56]OFD Sender: No OFD packet to send [09:03:01]OFD Sender: No OFD packet to send [09:03:06]OFD Sender: No OFD packet to send [09:03:11]OFD Sender: No OFD packet to send [09:03:16]OFD Sender: No OFD packet to send [09:03:21]OFD Sender: No OFD packet to send [09:03:26]OFD Sender: No OFD packet to send [09:03:31]OFD Sender: No OFD packet to send [09:03:36]OFD Sender: No OFD packet to send [09:03:41]OFD Sender: No OFD packet to send [09:03:46]OFD Sender: No OFD packet to send [09:03:51]OFD Sender: No OFD packet to send [09:03:56]OFD Sender: No OFD packet to send [09:04:01]OFD Sender: No OFD packet to send [09:04:06]OFD Sender: No OFD packet to send [09:04:11]OFD Sender: No OFD packet to send [09:04:16]OFD Sender: No OFD packet to send [09:04:21]OFD Sender: No OFD packet to send [09:04:26]OFD Sender: No OFD packet to send [09:04:31]OFD Sender: No OFD packet to send [09:04:36]OFD Sender: No OFD packet to send [09:04:41]OFD Sender: No OFD packet to send [09:04:46]OFD Sender: No OFD packet to send [09:04:51]OFD Sender: No OFD packet to send [09:04:56]OFD Sender: No OFD packet to send [09:05:01]OFD Sender: No OFD packet to send [09:05:06]OFD Sender: No OFD packet to send [09:05:11]OFD Sender: No OFD packet to send [09:05:16]OFD Sender: No OFD packet to send [09:05:21]OFD Sender: No OFD packet to send [09:05:26]OFD Sender: No OFD packet to send [09:05:31]OFD Sender: No OFD packet to send [09:05:36]OFD Sender: No OFD packet to send [09:05:41]OFD Sender: No OFD packet to send [09:05:46]OFD Sender: No OFD packet to send [09:05:51]OFD Sender: No OFD packet to send [09:05:56]OFD Sender: No OFD packet to send [09:06:01]OFD Sender: No OFD packet to send [09:06:06]OFD Sender: No OFD packet to send [09:06:11]OFD Sender: No OFD packet to send [09:06:16]OFD Sender: No OFD packet to send [09:06:21]OFD Sender: No OFD packet to send [09:06:26]OFD Sender: No OFD packet to send [09:06:31]OFD Sender: No OFD packet to send [09:06:36]OFD Sender: No OFD packet to send [09:06:41]OFD Sender: No OFD packet to send [09:06:46]OFD Sender: No OFD packet to send [09:06:51]OFD Sender: No OFD packet to send [09:06:56]OFD Sender: No OFD packet to send [09:07:01]OFD Sender: No OFD packet to send [09:07:06]OFD Sender: No OFD packet to send [09:07:11]OFD Sender: No OFD packet to send [09:07:16]OFD Sender: No OFD packet to send [09:07:21]OFD Sender: No OFD packet to send [09:07:26]OFD Sender: No OFD packet to send [09:07:31]OFD Sender: No OFD packet to send [09:07:36]OFD Sender: No OFD packet to send [09:07:41]OFD Sender: No OFD packet to send [09:07:46]OFD Sender: No OFD packet to send [09:07:51]OFD Sender: No OFD packet to send [09:07:56]OFD Sender: No OFD packet to send [09:08:01]OFD Sender: No OFD packet to send [09:08:06]OFD Sender: No OFD packet to send [09:08:11]OFD Sender: No OFD packet to send [09:08:16]OFD Sender: No OFD packet to send [09:08:21]OFD Sender: No OFD packet to send [09:08:26]OFD Sender: No OFD packet to send [09:08:31]OFD Sender: No OFD packet to send [09:08:36]OFD Sender: No OFD packet to send [09:08:41]OFD Sender: No OFD packet to send [09:08:46]OFD Sender: No OFD packet to send [09:08:51]OFD Sender: No OFD packet to send [09:08:56]OFD Sender: No OFD packet to send [09:09:01]OFD Sender: No OFD packet to send [09:09:06]OFD Sender: No OFD packet to send [09:09:11]OFD Sender: No OFD packet to send [09:09:16]OFD Sender: No OFD packet to send [09:09:21]OFD Sender: No OFD packet to send [09:09:26]OFD Sender: No OFD packet to send [09:09:31]OFD Sender: No OFD packet to send [09:09:36]OFD Sender: No OFD packet to send [09:09:41]OFD Sender: No OFD packet to send [09:09:46]OFD Sender: No OFD packet to send [09:09:51]OFD Sender: No OFD packet to send [09:09:56]OFD Sender: No OFD packet to send [09:10:01]OFD Sender: No OFD packet to send [09:10:06]OFD Sender: No OFD packet to send [09:10:11]OFD Sender: No OFD packet to send [09:10:16]OFD Sender: No OFD packet to send [09:10:21]OFD Sender: No OFD packet to send [09:10:26]OFD Sender: No OFD packet to send [09:10:31]OFD Sender: No OFD packet to send [09:10:34]accept exits with 10 [09:10:34]New connection [09:10:34]New thread 3067616612 created [09:10:34]Thread 3067473252 joined [09:10:34]Waiting for new connection... [09:10:34] Sock 10.Parse request [09:10:34]Sock 10.Check first char [09:10:34]Sock 10.First char is OK [09:10:34]request: POST /json_proto HTTP/1.0 [09:10:34]Method: POST [09:10:34]URL: /json_proto [09:10:34]Method is POST - this is cgi request [09:10:34]url: /json_proto [09:10:34]query_string will be loaded in cgi processing [09:10:34]execute_cgi json_proto POST (null) [09:10:34]execute_cgi path=json_proto method=POST [09:10:34]POST find Content-Length [09:10:34]Host: 172.17.38.134:8080 [09:10:34]Content-Length: 1043 [09:10:34]Content-Type: application/json [09:10:34] [09:10:34]POST finish read [09:10:34]Found Content-Length = 1043 [09:10:34]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184339", "tax_sys" : 0, "items" : [ { "code": "4640030091607", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange", "price" : 138.00, "quantity" : 1.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 263.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:10:34]execute_script... [09:10:34]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184339", "tax_sys" : 0, "items" : [ { "code": "4640030091607", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange", "price" : 138.00, "quantity" : 1.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 263.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:10:34]POST & json_proto [09:10:34]process_json_proto [09:10:34]json parsed OK: [09:10:34]protocol is kg_v1.0 [09:10:34]action value=close_receipt [09:10:34]process_action close_receipt [09:10:34]cmd_close_receipt [09:10:34]MH_GetDate [09:10:34]Write to MH i2c: F0 00 00 FF 10 FE [09:10:34]Write i2c OK [09:10:34]MH_I2C_Read... [09:10:34]Read from MH i2c: F0 [09:10:34]MH_I2C_Read... [09:10:34]Read from MH i2c: F0 09 00 [09:10:34]MH_I2C_Read... [09:10:34]Read from MH i2c: F0 09 00 FF 10 00 0E 95 76 66 13 9C 7C 64 15 [09:10:34]GetLastDocTimeStamp 1719045766 [09:10:34]current date 1719047438 [09:10:34]FM_GetShiftState [09:10:34]SAM_PROTO_GetShiftState [09:10:34]wFMCommunicate request_size=4 [09:10:34]MH_SAM_APDU [09:10:34]CAPDU: 80 13 01 00 [09:10:34]Write to MH i2c: E2 08 00 00 11 80 13 01 00 00 00 00 00 8E [09:10:34]Write i2c OK [09:10:34]MH_I2C_Read... [09:10:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:10:34]Read from MH i2c: E2 [09:10:34]MH_I2C_Read... [09:10:34]Read from MH i2c: E2 0E 00 [09:10:34]MH_I2C_Read... [09:10:34]Read from MH i2c: E2 0E 00 00 11 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 48 [09:10:34]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [09:10:34]wFMCommunicate OK [09:10:34]SAM_PROTO_GetShiftState done [09:10:34]FM_GetShiftState done [09:10:34]opened in 1719016120 [09:10:34]opened+sec_in_day 1719102520 [09:10:34]quantity*price = 13800 [09:10:34]sum+1 = 13801 [09:10:34]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 2000036220012 Кофе Капучино XL(GABB TRADE) 1.000 * 125.00 = 125.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 263.00 НСП 1% : 2.33 НДС 12% : 27.92 Наличными: 0.00 Безнал.: 263.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 8 22.06.2024 09:10 Смена: 327 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 Платежная система: O! деньги ФМ: 0000000000875095 ФД: 34582 ФПД: 12534407752317 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T091038&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34582&fm=12534407752317&tin=02508201610067®Number=0000000000092786&sum=26300 0 [09:10:35]StoreToDocumentArchive [09:10:35]shift 327 fd 34582 [09:10:35]save to /storage/0327/doc_00034582 [09:10:35]save last doc name /storage/0327/doc_00034582 to /storage/kkm_last_doc_name [09:10:35]save OK [09:10:35]Clear old archive folders... [09:10:35]ProcessDocumentItem done err = 0, tmpTLVsize=384 [09:10:35]tlvbuf is 01591D00 [09:10:35]SAM_PROTO_ClearQueue [09:10:35]wFMCommunicate request_size=4 [09:10:35]MH_SAM_APDU [09:10:35]CAPDU: 80 09 00 00 [09:10:35]Write to MH i2c: E2 08 00 0D 11 80 09 00 00 00 00 00 00 90 [09:10:35]Write i2c OK [09:10:35]MH_I2C_Read... [09:10:35]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:10:35]Read from MH i2c: E2 [09:10:35]MH_I2C_Read... [09:10:35]Read from MH i2c: E2 03 00 [09:10:35]MH_I2C_Read... [09:10:35]Read from MH i2c: E2 03 00 0D 11 00 90 00 92 [09:10:35]RAPDU: 90 00 [09:10:35]wFMCommunicate OK [09:10:35]SAM_PROTO_ClearQueue done [09:10:35]KKMCreateOFDPacket [09:10:35]OFDProtocolAddRootSTLVToBuf [09:10:35]FM_MakeSignedData [09:10:35]FM_MakeSignedData [09:10:35]SAM_PROTO_SignData [09:10:35]wFMCommunicate request_size=4 [09:10:35]MH_SAM_APDU [09:10:35]CAPDU: 80 0D 01 02 [09:10:35]Write to MH i2c: E2 08 00 0E 11 80 0D 01 02 00 00 00 00 98 [09:10:35]Write i2c OK [09:10:35]MH_I2C_Read... [09:10:35]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:10:35]Read from MH i2c: E2 [09:10:35]MH_I2C_Read... [09:10:35]Read from MH i2c: E2 03 00 [09:10:35]MH_I2C_Read... [09:10:35]Read from MH i2c: E2 03 00 0E 11 00 90 00 93 [09:10:35]RAPDU: 90 00 [09:10:35]wFMCommunicate OK [09:10:35]wFMCommunicate request_size=255 [09:10:35]MH_SAM_APDU [09:10:35]CAPDU: 80 0D 02 02 FA 03 00 80 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 30 37 06 04 1E 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 BC 66 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 [09:10:35]Write to MH i2c: E2 02 01 0F 11 80 0D 02 02 FA 00 03 00 80 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 30 37 06 04 1E 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 BC 66 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 09 [09:10:35]Write i2c OK [09:10:35]MH_I2C_Read... [09:10:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:10:35]Read from MH i2c: E2 [09:10:35]MH_I2C_Read... [09:10:35]Read from MH i2c: E2 03 00 [09:10:35]MH_I2C_Read... [09:10:35]Read from MH i2c: E2 03 00 0F 11 00 90 00 94 [09:10:35]RAPDU: 90 00 [09:10:35]wFMCommunicate OK [09:10:35]wFMCommunicate request_size=143 [09:10:35]MH_SAM_APDU [09:10:35]CAPDU: 80 0D 02 02 8A E9 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E8 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 BC 66 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 0E 95 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 16 87 00 00 35 04 06 00 0B 66 64 EB EA 7D [09:10:35]Write to MH i2c: E2 92 00 10 11 80 0D 02 02 8A 00 E9 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E8 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 BC 66 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 0E 95 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 16 87 00 00 35 04 06 00 0B 66 64 EB EA 7D 00 00 75 [09:10:35]Write i2c OK [09:10:35]MH_I2C_Read... [09:10:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:10:35]Read from MH i2c: E2 [09:10:35]MH_I2C_Read... [09:10:35]Read from MH i2c: E2 03 00 [09:10:35]MH_I2C_Read... [09:10:35]Read from MH i2c: E2 03 00 10 11 00 90 00 95 [09:10:35]RAPDU: 90 00 [09:10:35]wFMCommunicate OK [09:10:35]wFMCommunicate request_size=4 [09:10:35]MH_SAM_APDU [09:10:35]CAPDU: 80 0D 03 02 [09:10:35]Write to MH i2c: E2 08 00 11 11 80 0D 03 02 00 00 00 00 9D [09:10:35]Write i2c OK [09:10:35]MH_I2C_Read... [09:10:36]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:10:36]Read from MH i2c: E2 [09:10:36]MH_I2C_Read... [09:10:36]Read from MH i2c: E2 0B 00 [09:10:36]MH_I2C_Read... [09:10:36]Read from MH i2c: E2 0B 00 11 11 00 60 9B 72 AE 0F 4E 99 F4 90 00 A3 [09:10:36]RAPDU: 60 9B 72 AE 0F 4E 99 F4 90 00 [09:10:36]wFMCommunicate OK [09:10:36]SAM_PROTO_SignData done [09:10:36]FM_MakeSignedData done [09:10:36]CreateOFDProtocolMessage [09:10:36]wFMCommunicate request_size=4 [09:10:36]MH_SAM_APDU [09:10:36]CAPDU: 80 11 00 00 [09:10:36]Write to MH i2c: E2 08 00 12 11 80 11 00 00 00 00 00 00 9D [09:10:36]Write i2c OK [09:10:36]MH_I2C_Read... [09:10:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:10:36]Read from MH i2c: E2 [09:10:36]MH_I2C_Read... [09:10:36]Read from MH i2c: E2 17 00 [09:10:36]MH_I2C_Read... [09:10:36]Read from MH i2c: E2 17 00 12 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 F2 [09:10:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [09:10:36]wFMCommunicate OK [09:10:36]CreateOFDProtocolMessage done [09:10:36]OFDSenderStorePacket 34582 [09:10:36]StoreOFDPacket docnum=34582 [09:10:36]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 94 01 00 00 3D C0 8C 01 78 F8 5A 03 01 00 03 00 80 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 30 37 06 04 1E 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 BC 66 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E9 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E8 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 BC 66 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 0E 95 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 16 87 00 00 35 04 06 00 0B 66 64 EB EA 7D 60 9B 72 AE 0F 4E 99 F4 [09:10:36]CheckFolder [09:10:36]dirname=/storage/ofd_packets [09:10:36]CheckFolder done [09:10:36]ProducePacketName [09:10:36]name=ofd_packets/00034582 [09:10:36]NVStorageSaveData ofd_packets/00034582 [09:10:36]File name is /storage/ofd_packets/00034582 [09:10:36]Write 434 bytes [09:10:36]NVStorageSaveData done [09:10:36]OFDSenderStorePacket done [09:10:36]KKMCreateOFDPacket done [09:10:36]NVStorageSaveData kkm_last_timestamp [09:10:36]File name is /storage/kkm_last_timestamp [09:10:36]Write 4 bytes [09:10:36]NVStorageSaveData done [09:10:36]ExternCall_PrintAddStr [09:10:36]wPrintStart [09:10:36]Write to MH i2c: 01 00 00 13 11 24 [09:10:36]Write i2c OK [09:10:36]MH_I2C_Read... [09:10:36]Read from MH i2c: 01 [09:10:36]MH_I2C_Read... [09:10:36]OFD Sender: Processing packet 34582 [packets to send 8, broken 7] [09:10:36]Read from MH i2c: ProducePacketName [09:10:36]01 name=ofd_packets/00034582 [09:10:36]07 00 [09:10:36]OFD Sender: To server: pG, [09:10:36]MH_I2C_Read... [09:10:36]CommunicateWithHost lk.salyk.kg:30040 [09:10:36]ConnectInit lk.salyk.kg [09:10:36]Read from MH i2c: 01 07 00 13 11 00 00 00 00 00 FF 0F 39 [09:10:36]RasterBufferAndPrint [09:10:36]line Счет N : (3)184339 [09:10:36]line ИНН: 02508201610067 [09:10:36]line Контрольно-Кассовый Чек [09:10:36]line ПРОДАЖА [09:10:36]line Товар: 4640030091607 [09:10:36]line Сигареты ESSE Exchange [09:10:36]line 1.000 * 138.00 [09:10:36]line = 138.00 [09:10:36]line НДС 12% НСП 1% [09:10:36]line > о реализуемом товаре [09:10:36]line Товар: 2000036220012 [09:10:36]line Кофе Капучино XL(GABB TRADE) [09:10:36]line 1.000 * 125.00 [09:10:36]line = 125.00 [09:10:36]line НДС 12% НСП 1% [09:10:36]line > о реализуемом товаре [09:10:36]line ИТОГО: 263.00 [09:10:36]line НСП 1% : 2.33 [09:10:36]line НДС 12% : 27.92 [09:10:36]line Наличными: 0.00 [09:10:36]line Безнал.: 263.00 [09:10:36]line Место: АЗС № 120 "Партнер Нефть" [09:10:36]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [09:10:36]line СНО: Общий режим [09:10:36]line Чек 8 22.06.2024 09:10 [09:10:36]line Смена: 327 ФФД: 1.0 [09:10:36]line ЗНМ: 0300000172 [09:10:36]line РНМ: 0000000000092786 [09:10:36]line Версия ККМ: 001 [09:10:36]line Платежная система: O! деньги [09:10:36]line ФМ: 0000000000875095 [09:10:36]line ФД: 34582 [09:10:36]line ФПД: 12534407752317 [09:10:36]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T091038&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34582&fm=12534407752317&tin=02508201610067®Number=0000000000092786&sum=26300 [09:10:36]line 0 [09:10:36]written 0, free lines is 4095 [09:10:36]Connected sock=11 [09:10:36]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 94 01 00 00 3D C0 8C 01 78 F8 5A 03 01 00 03 00 80 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 30 37 06 04 1E 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 BC 66 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E9 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E8 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 BC 66 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 0E 95 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 16 87 00 00 35 04 06 00 0B 66 64 EB EA 7D 60 9B 72 AE 0F 4E 99 F4 [09:10:36]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 40 64 47 00 0F F3 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 16 87 00 00 F4 03 04 00 D3 3B 76 66 B6 04 01 00 00 3E 07 2A 5A C8 BF 05 58 [09:10:36]CommunicateWithHost err = 0 [09:10:36]CheckOFDResponse [09:10:36]1017 (14) - 77093643461234 [09:10:36]1041 (16) - 0000000000875095 [09:10:36]1040 (4) - 34582 [09:10:36]1012 (4) - 22.06.2024 02:49 [09:10:36]1206 (1) - 0 [09:10:36]OFD Sender: Remove packet 34582 [09:10:36]ProducePacketName [09:10:36]name=ofd_packets/00034582 [09:10:36]NVStorageDeleteData [09:10:36]Write to MH i2c: 01 00 00 44 11 55 [09:10:36]Write i2c OK [09:10:36]MH_I2C_Read... [09:10:36]Read from MH i2c: 01 [09:10:36]MH_I2C_Read... [09:10:36]Read from MH i2c: 01 07 00 [09:10:36]MH_I2C_Read... [09:10:36]Read from MH i2c: 01 07 00 44 11 00 00 00 00 00 84 0C EC [09:10:36]RasterBufferAndPrint [09:10:36]line [09:10:36]line [09:10:36]line [09:10:36]line [09:10:36]line [09:10:36]written 0, free lines is 3210 [09:10:36]MH_Cut [09:10:36]Write to MH i2c: D1 01 00 4B 11 01 2E [09:10:36]Write i2c OK [09:10:36]MH_I2C_Read... [09:10:36]Read from MH i2c: D1 [09:10:36]MH_I2C_Read... [09:10:36]Read from MH i2c: D1 01 00 [09:10:36]MH_I2C_Read... [09:10:36]Read from MH i2c: D1 01 00 4B 11 00 2D [09:10:36]Write to MH i2c: 01 00 00 4C 11 5D [09:10:36]Write i2c OK [09:10:36]MH_I2C_Read... [09:10:37]OFD Sender: No OFD packet to send [09:10:37]*** Cut start [09:10:37]*** Partial cut [09:10:37]*** CUTSNS_PIN = 1 [09:10:37]*** CUTSNS_PIN = 0 [09:10:38]*** Brake cut motor [09:10:38]Read from MH i2c: 01 [09:10:38]MH_I2C_Read... [09:10:38]*** Stop cut motor [09:10:38]*** Cut end [09:10:38]Read from MH i2c: 01 07 00 [09:10:38]MH_I2C_Read... [09:10:38]Read from MH i2c: 01 07 00 4C 11 00 00 00 00 00 FF 0F 72 [09:10:38]process_action close_receipt done [09:10:38]requested_data is exist [09:10:38]produce_requested_data [09:10:38]requested_item fm.sn is exist - process it [09:10:38]wFMCommunicate request_size=4 [09:10:38]MH_SAM_APDU [09:10:38]CAPDU: 80 11 00 00 [09:10:38]Write to MH i2c: E2 08 00 4D 11 80 11 00 00 00 00 00 00 D8 [09:10:38]Write i2c OK [09:10:38]MH_I2C_Read... [09:10:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:10:38]Read from MH i2c: E2 [09:10:38]MH_I2C_Read... [09:10:38]Read from MH i2c: E2 17 00 [09:10:38]MH_I2C_Read... [09:10:38]Read from MH i2c: E2 17 00 4D 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 2D [09:10:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [09:10:38]wFMCommunicate OK [09:10:38]requested_item fd.num is exist - process it [09:10:38]SAM_PROTO_GetFieldsCounters [09:10:38]wFMCommunicate request_size=4 [09:10:38]MH_SAM_APDU [09:10:38]CAPDU: 80 13 00 00 [09:10:38]Write to MH i2c: E2 08 00 4E 11 80 13 00 00 00 00 00 00 DB [09:10:38]Write i2c OK [09:10:38]MH_I2C_Read... [09:10:38]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:10:38]Read from MH i2c: E2 [09:10:38]MH_I2C_Read... [09:10:38]Read from MH i2c: E2 62 00 [09:10:38]MH_I2C_Read... [09:10:38]Read from MH i2c: E2 62 00 4E 11 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 16 87 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 08 00 00 00 5E 04 04 00 08 00 00 00 57 04 04 00 09 00 00 00 19 04 04 00 00 00 00 00 90 00 02 [09:10:38]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 16 87 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 08 00 00 00 5E 04 04 00 08 00 00 00 57 04 04 00 09 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:10:38]wFMCommunicate OK [09:10:38]SAM_PROTO_GetFieldsCounters done [09:10:38]requested_item shift.num is exist - process it [09:10:38]requested_item shift.opened is exist - process it [09:10:38]req_shift_opened [09:10:38]FM_GetShiftState [09:10:38]SAM_PROTO_GetShiftState [09:10:38]wFMCommunicate request_size=4 [09:10:38]MH_SAM_APDU [09:10:38]CAPDU: 80 13 01 00 [09:10:38]Write to MH i2c: E2 08 00 4F 11 80 13 01 00 00 00 00 00 DD [09:10:38]Write i2c OK [09:10:38]MH_I2C_Read... [09:10:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:10:38]Read from MH i2c: E2 [09:10:38]MH_I2C_Read... [09:10:38]Read from MH i2c: E2 0E 00 [09:10:38]MH_I2C_Read... [09:10:38]Read from MH i2c: E2 0E 00 4F 11 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 97 [09:10:38]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [09:10:38]wFMCommunicate OK [09:10:38]SAM_PROTO_GetShiftState done [09:10:38]FM_GetShiftState done [09:10:38]req_shift_opened done [09:10:38]requested_item shift.open_date is exist - process it [09:10:38]req_shift_open_date [09:10:38]req_shift_open_date done [09:10:38]produce_requested_data done [09:10:38]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34582,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120} [09:10:38]process_action_free close_receipt [09:10:38]json_value_free [09:10:38]json_value_free done [09:10:38]process_json_proto returns [09:10:38]Send response to host [09:10:38]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34582,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120}}} [09:10:38]free response buf [09:10:38]execute_script done [09:10:38]execute_script returns [09:10:38]free content buf [09:10:38]Sock 10.Close socket [09:10:38]Sock 10.Thread stoped [09:10:42]OFD Sender: No OFD packet to send [09:10:47]OFD Sender: No OFD packet to send [09:10:52]OFD Sender: No OFD packet to send [09:10:57]OFD Sender: No OFD packet to send [09:11:02]OFD Sender: No OFD packet to send [09:11:07]OFD Sender: No OFD packet to send [09:11:12]OFD Sender: No OFD packet to send [09:11:17]OFD Sender: No OFD packet to send [09:11:22]OFD Sender: No OFD packet to send [09:11:27]OFD Sender: No OFD packet to send [09:11:32]OFD Sender: No OFD packet to send [09:11:37]OFD Sender: No OFD packet to send [09:11:42]OFD Sender: No OFD packet to send [09:11:47]OFD Sender: No OFD packet to send [09:11:48]accept exits with 7 [09:11:48]New connection [09:11:48]New thread 3067473252 created [09:11:48]Thread 3067616612 joined [09:11:48]Waiting for new connection... [09:11:48] Sock 7.Parse request [09:11:48]Sock 7.Check first char [09:11:48]Sock 7.First char is OK [09:11:48]request: POST /json_proto HTTP/1.0 [09:11:48]Method: POST [09:11:48]URL: /json_proto [09:11:48]Method is POST - this is cgi request [09:11:48]url: /json_proto [09:11:48]query_string will be loaded in cgi processing [09:11:48]execute_cgi json_proto POST (null) [09:11:48]execute_cgi path=json_proto method=POST [09:11:48]POST find Content-Length [09:11:48]Host: 172.17.38.134:8080 [09:11:48]Content-Length: 620 [09:11:48]Content-Type: application/json [09:11:48] [09:11:48]POST finish read [09:11:48]Found Content-Length = 620 [09:11:48]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184340", "tax_sys" : 0, "items" : [ { "code": "4640030091607", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange", "price" : 138.00, "quantity" : 1.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 138.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:11:48]execute_script... [09:11: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)184340", "tax_sys" : 0, "items" : [ { "code": "4640030091607", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange", "price" : 138.00, "quantity" : 1.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 138.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:11:48]POST & json_proto [09:11:48]process_json_proto [09:11:48]json parsed OK: [09:11:48]protocol is kg_v1.0 [09:11:48]action value=close_receipt [09:11:48]process_action close_receipt [09:11:48]cmd_close_receipt [09:11:48]MH_GetDate [09:11:48]Write to MH i2c: F0 00 00 50 11 50 [09:11:48]Write i2c OK [09:11:48]MH_I2C_Read... [09:11:48]Read from MH i2c: F0 [09:11:48]MH_I2C_Read... [09:11:48]Read from MH i2c: F0 09 00 [09:11:48]MH_I2C_Read... [09:11:48]Read from MH i2c: F0 09 00 50 11 00 59 95 76 66 13 9C 7C 64 B2 [09:11:48]GetLastDocTimeStamp 1719047438 [09:11:48]current date 1719047513 [09:11:48]FM_GetShiftState [09:11:48]SAM_PROTO_GetShiftState [09:11:48]wFMCommunicate request_size=4 [09:11:48]MH_SAM_APDU [09:11:48]CAPDU: 80 13 01 00 [09:11:48]Write to MH i2c: E2 08 00 51 11 80 13 01 00 00 00 00 00 DF [09:11:48]Write i2c OK [09:11:48]MH_I2C_Read... [09:11:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:11:49]Read from MH i2c: E2 [09:11:49]MH_I2C_Read... [09:11:49]Read from MH i2c: E2 0E 00 [09:11:49]MH_I2C_Read... [09:11:49]Read from MH i2c: E2 0E 00 51 11 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 99 [09:11:49]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [09:11:49]wFMCommunicate OK [09:11:49]SAM_PROTO_GetShiftState done [09:11:49]FM_GetShiftState done [09:11:49]opened in 1719016120 [09:11:49]opened+sec_in_day 1719102520 [09:11:49]quantity*price = 13800 [09:11:49]sum+1 = 13801 [09:11:49]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 138.00 НСП 1% : 1.22 НДС 12% : 14.65 Наличными: 138.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 9 22.06.2024 09:11 Смена: 327 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34583 ФПД: 156933178538065 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T091153&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34583&fm=156933178538065&tin=02508201610067®Number=0000000000092786&sum=13800 0 [09:11:50]StoreToDocumentArchive [09:11:50]shift 327 fd 34583 [09:11:50]save to /storage/0327/doc_00034583 [09:11:50]save last doc name /storage/0327/doc_00034583 to /storage/kkm_last_doc_name [09:11:50]save OK [09:11:50]Clear old archive folders... [09:11:50]ProcessDocumentItem done err = 0, tmpTLVsize=272 [09:11:50]tlvbuf is 01553D20 [09:11:50]SAM_PROTO_ClearQueue [09:11:50]wFMCommunicate request_size=4 [09:11:50]MH_SAM_APDU [09:11:50]CAPDU: 80 09 00 00 [09:11:50]Write to MH i2c: E2 08 00 5E 11 80 09 00 00 00 00 00 00 E1 [09:11:50]Write i2c OK [09:11:50]MH_I2C_Read... [09:11:50]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:11:50]Read from MH i2c: E2 [09:11:50]MH_I2C_Read... [09:11:50]Read from MH i2c: E2 03 00 [09:11:50]MH_I2C_Read... [09:11:50]Read from MH i2c: E2 03 00 5E 11 00 90 00 E3 [09:11:50]RAPDU: 90 00 [09:11:50]wFMCommunicate OK [09:11:50]SAM_PROTO_ClearQueue done [09:11:50]KKMCreateOFDPacket [09:11:50]OFDProtocolAddRootSTLVToBuf [09:11:50]FM_MakeSignedData [09:11:50]FM_MakeSignedData [09:11:50]SAM_PROTO_SignData [09:11:50]wFMCommunicate request_size=4 [09:11:50]MH_SAM_APDU [09:11:50]CAPDU: 80 0D 01 02 [09:11:50]Write to MH i2c: E2 08 00 5F 11 80 0D 01 02 00 00 00 00 E9 [09:11:50]Write i2c OK [09:11:50]MH_I2C_Read... [09:11:50]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:11:50]Read from MH i2c: E2 [09:11:50]MH_I2C_Read... [09:11:50]Read from MH i2c: E2 03 00 [09:11:50]MH_I2C_Read... [09:11:50]Read from MH i2c: E2 03 00 5F 11 00 90 00 E4 [09:11:50]RAPDU: 90 00 [09:11:50]wFMCommunicate OK [09:11:50]wFMCommunicate request_size=255 [09:11:50]MH_SAM_APDU [09:11:50]CAPDU: 80 0D 02 02 FA 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 30 37 06 04 1E 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 35 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 59 95 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 [09:11:50]Write to MH i2c: E2 02 01 60 11 80 0D 02 02 FA 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 30 37 06 04 1E 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 35 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 59 95 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 00 00 33 [09:11:50]Write i2c OK [09:11:50]MH_I2C_Read... [09:11:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:11:50]Read from MH i2c: E2 [09:11:50]MH_I2C_Read... [09:11:50]Read from MH i2c: E2 03 00 [09:11:50]MH_I2C_Read... [09:11:50]Read from MH i2c: E2 03 00 60 11 00 90 00 E5 [09:11:50]RAPDU: 90 00 [09:11:50]wFMCommunicate OK [09:11:50]wFMCommunicate request_size=31 [09:11:50]MH_SAM_APDU [09:11:50]CAPDU: 80 0D 02 02 1A 30 30 38 37 35 30 39 35 10 04 04 00 17 87 00 00 35 04 06 00 8E BA DA 5C 38 51 [09:11:50]Write to MH i2c: E2 22 00 61 11 80 0D 02 02 1A 00 30 30 38 37 35 30 39 35 10 04 04 00 17 87 00 00 35 04 06 00 8E BA DA 5C 38 51 00 00 BE [09:11:50]Write i2c OK [09:11:50]MH_I2C_Read... [09:11:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:11:50]Read from MH i2c: E2 [09:11:50]MH_I2C_Read... [09:11:50]Read from MH i2c: E2 03 00 [09:11:50]MH_I2C_Read... [09:11:50]Read from MH i2c: E2 03 00 61 11 00 90 00 E6 [09:11:50]RAPDU: 90 00 [09:11:50]wFMCommunicate OK [09:11:50]wFMCommunicate request_size=4 [09:11:50]MH_SAM_APDU [09:11:50]CAPDU: 80 0D 03 02 [09:11:50]Write to MH i2c: E2 08 00 62 11 80 0D 03 02 00 00 00 00 EE [09:11:50]Write i2c OK [09:11:50]MH_I2C_Read... [09:11:50]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:11:50]Read from MH i2c: E2 [09:11:50]MH_I2C_Read... [09:11:50]Read from MH i2c: E2 0B 00 [09:11:50]MH_I2C_Read... [09:11:50]Read from MH i2c: E2 0B 00 62 11 00 F9 11 4A AA FA EF 7E BF 90 00 13 [09:11:50]RAPDU: F9 11 4A AA FA EF 7E BF 90 00 [09:11:50]wFMCommunicate OK [09:11:50]SAM_PROTO_SignData done [09:11:50]FM_MakeSignedData done [09:11:50]CreateOFDProtocolMessage [09:11:50]wFMCommunicate request_size=4 [09:11:50]MH_SAM_APDU [09:11:50]CAPDU: 80 11 00 00 [09:11:50]Write to MH i2c: E2 08 00 63 11 80 11 00 00 00 00 00 00 EE [09:11:50]Write i2c OK [09:11:50]MH_I2C_Read... [09:11:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:11:50]Read from MH i2c: E2 [09:11:50]MH_I2C_Read... [09:11:50]Read from MH i2c: E2 17 00 [09:11:50]MH_I2C_Read... [09:11:50]Read from MH i2c: E2 17 00 63 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 43 [09:11:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [09:11:50]wFMCommunicate OK [09:11:50]CreateOFDProtocolMessage done [09:11:50]OFDSenderStorePacket 34583 [09:11:50]StoreOFDPacket docnum=34583 [09:11:50]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 24 01 00 00 87 7D 1C 01 D5 36 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 30 37 06 04 1E 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 35 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 59 95 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 17 87 00 00 35 04 06 00 8E BA DA 5C 38 51 F9 11 4A AA FA EF 7E BF [09:11:50]CheckFolder [09:11:50]dirname=/storage/ofd_packets [09:11:50]CheckFolder done [09:11:50]ProducePacketName [09:11:50]name=ofd_packets/00034583 [09:11:50]NVStorageSaveData ofd_packets/00034583 [09:11:50]File name is /storage/ofd_packets/00034583 [09:11:50]Write 322 bytes [09:11:50]NVStorageSaveData done [09:11:50]OFDSenderStorePacket done [09:11:50]KKMCreateOFDPacket done [09:11:50]NVStorageSaveData kkm_last_timestamp [09:11:50]File name is /storage/kkm_last_timestamp [09:11:50]Write 4 bytes [09:11:50]NVStorageSaveData done [09:11:50]ExternCall_PrintAddStr [09:11:50]wPrintStart [09:11:50]Write to MH i2c: 01 00 00 64 11 75 [09:11:50]Write i2c OK [09:11:50]MH_I2C_Read... [09:11:50]Read from MH i2c: 01 [09:11:50]MH_I2C_Read... [09:11:50]Read from MH i2c: 01 07 00 [09:11:50]MH_I2C_Read... [09:11:50]Read from MH i2c: 01 07 00 64 11 00 00 00 00 00 FF 0F 8A [09:11:50]RasterBufferAndPrint [09:11:50]line Счет N : (3)184340 [09:11:50]line ИНН: 02508201610067 [09:11:50]line Контрольно-Кассовый Чек [09:11:50]line ПРОДАЖА [09:11:50]line Товар: 4640030091607 [09:11:50]line Сигареты ESSE Exchange [09:11:50]line 1.000 * 138.00 [09:11:50]line = 138.00 [09:11:50]line НДС 12% НСП 1% [09:11:50]line > о реализуемом товаре [09:11:50]line ИТОГО: 138.00 [09:11:50]line НСП 1% : 1.22 [09:11:50]line НДС 12% : 14.65 [09:11:50]line Наличными: 138.00 [09:11:50]line Безнал.: 0.00 [09:11:50]line Место: АЗС № 120 "Партнер Нефть" [09:11:50]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [09:11:50]line СНО: Общий режим [09:11:50]line Чек 9 22.06.2024 09:11 [09:11:50]line Смена: 327 ФФД: 1.0 [09:11:50]line ЗНМ: 0300000172 [09:11:50]line РНМ: 0000000000092786 [09:11:50]line Версия ККМ: 001 [09:11:50]line ФМ: 0000000000875095 [09:11:50]line ФД: 34583 [09:11:50]line ФПД: 156933178538065 [09:11:51]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T091153&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34583&fm=156933178538065&tin=02508201610067®Number=0000000000092786&sum=13800 [09:11:51]line 0 [09:11:51]OFD Sender: Processing packet 34583 [packets to send 8, broken 7] [09:11:51]ProducePacketName [09:11:51]name=ofd_packets/00034583 [09:11:51]OFD Sender: To server: pG, [09:11:51]CommunicateWithHost lk.salyk.kg:30040 [09:11:51]ConnectInit lk.salyk.kg [09:11:51]written 0, free lines is 4095 [09:11:51]Connected sock=10 [09:11:51]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 24 01 00 00 87 7D 1C 01 D5 36 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 30 37 06 04 1E 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 35 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 59 95 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 17 87 00 00 35 04 06 00 8E BA DA 5C 38 51 F9 11 4A AA FA EF 7E BF [09:11:51]Write to MH i2c: 01 00 00 8C 11 9D [09:11:51]Write i2c OK [09:11:51]MH_I2C_Read... [09:11:51]Read from MH i2c: 01 [09:11:51]MH_I2C_Read... [09:11:51]Read from MH i2c: 01 07 00 [09:11:51]MH_I2C_Read... [09:11:51]Read from MH i2c: 01 07 00 8C 11 00 00 00 00 00 0A 0D BB [09:11:51]RasterBufferAndPrint [09:11:51]line [09:11:51]line [09:11:51]line [09:11:51]line [09:11:51]line [09:11:51]written 0, free lines is 3345 [09:11:51]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 E6 B5 47 00 65 A6 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 17 87 00 00 F4 03 04 00 1D 3C 76 66 B6 04 01 00 00 AD D2 0F 60 D9 C1 52 D3 [09:11:51]CommunicateWithHost err = 0 [09:11:51]CheckOFDResponse [09:11:51]1017 (14) - 77093643461234 [09:11:51]1041 (16) - 0000000000875095 [09:11:51]1040 (4) - 34583 [09:11:51]1012 (4) - 22.06.2024 02:51 [09:11:51]1206 (1) - 0 [09:11:51]OFD Sender: Remove packet 34583 [09:11:51]ProducePacketName [09:11:51]name=ofd_packets/00034583 [09:11:51]NVStorageDeleteData [09:11:51]MH_Cut [09:11:51]Write to MH i2c: D1 01 00 93 11 01 76 [09:11:51]Write i2c OK [09:11:51]MH_I2C_Read... [09:11:51]Read from MH i2c: D1 [09:11:51]MH_I2C_Read... [09:11:51]Read from MH i2c: D1 01 00 [09:11:51]MH_I2C_Read... [09:11:51]Read from MH i2c: D1 01 00 93 11 00 75 [09:11:51]Write to MH i2c: 01 00 00 94 11 A5 [09:11:51]Write i2c OK [09:11:51]MH_I2C_Read... [09:11:51]OFD Sender: No OFD packet to send [09:11:52]*** Cut start [09:11:52]*** Partial cut [09:11:52]*** CUTSNS_PIN = 1 [09:11:52]*** CUTSNS_PIN = 0 [09:11:52]*** Brake cut motor [09:11:52]Read from MH i2c: 01 [09:11:52]MH_I2C_Read... [09:11:52]*** Stop cut motor [09:11:52]*** Cut end [09:11:52]Read from MH i2c: 01 07 00 [09:11:52]MH_I2C_Read... [09:11:52]Read from MH i2c: 01 07 00 94 11 00 00 00 00 00 FF 0F BA [09:11:52]process_action close_receipt done [09:11:52]requested_data is exist [09:11:52]produce_requested_data [09:11:52]requested_item fm.sn is exist - process it [09:11:52]wFMCommunicate request_size=4 [09:11:52]MH_SAM_APDU [09:11:52]CAPDU: 80 11 00 00 [09:11:52]Write to MH i2c: E2 08 00 95 11 80 11 00 00 00 00 00 00 20 [09:11:52]Write i2c OK [09:11:52]MH_I2C_Read... [09:11:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:11:52]Read from MH i2c: E2 [09:11:52]MH_I2C_Read... [09:11:52]Read from MH i2c: E2 17 00 [09:11:52]MH_I2C_Read... [09:11:52]Read from MH i2c: E2 17 00 95 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 75 [09:11:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [09:11:52]wFMCommunicate OK [09:11:52]requested_item fd.num is exist - process it [09:11:52]SAM_PROTO_GetFieldsCounters [09:11:52]wFMCommunicate request_size=4 [09:11:52]MH_SAM_APDU [09:11:52]CAPDU: 80 13 00 00 [09:11:52]Write to MH i2c: E2 08 00 96 11 80 13 00 00 00 00 00 00 23 [09:11:52]Write i2c OK [09:11:52]MH_I2C_Read... [09:11:52]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:11:52]Read from MH i2c: E2 [09:11:52]MH_I2C_Read... [09:11:52]Read from MH i2c: E2 62 00 [09:11:52]MH_I2C_Read... [09:11:52]Read from MH i2c: E2 62 00 96 11 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 17 87 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 09 00 00 00 5E 04 04 00 09 00 00 00 57 04 04 00 0A 00 00 00 19 04 04 00 00 00 00 00 90 00 4E [09:11:52]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 17 87 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 09 00 00 00 5E 04 04 00 09 00 00 00 57 04 04 00 0A 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:11:53]wFMCommunicate OK [09:11:53]SAM_PROTO_GetFieldsCounters done [09:11:53]requested_item shift.num is exist - process it [09:11:53]requested_item shift.opened is exist - process it [09:11:53]req_shift_opened [09:11:53]FM_GetShiftState [09:11:53]SAM_PROTO_GetShiftState [09:11:53]wFMCommunicate request_size=4 [09:11:53]MH_SAM_APDU [09:11:53]CAPDU: 80 13 01 00 [09:11:53]Write to MH i2c: E2 08 00 97 11 80 13 01 00 00 00 00 00 25 [09:11:53]Write i2c OK [09:11:53]MH_I2C_Read... [09:11:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:11:53]Read from MH i2c: E2 [09:11:53]MH_I2C_Read... [09:11:53]Read from MH i2c: E2 0E 00 [09:11:53]MH_I2C_Read... [09:11:53]Read from MH i2c: E2 0E 00 97 11 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 DF [09:11:53]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [09:11:53]wFMCommunicate OK [09:11:53]SAM_PROTO_GetShiftState done [09:11:53]FM_GetShiftState done [09:11:53]req_shift_opened done [09:11:53]requested_item shift.open_date is exist - process it [09:11:53]req_shift_open_date [09:11:53]req_shift_open_date done [09:11:53]produce_requested_data done [09:11:53]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34583,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120} [09:11:53]process_action_free close_receipt [09:11:53]json_value_free [09:11:53]json_value_free done [09:11:53]process_json_proto returns [09:11:53]Send response to host [09:11:53]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34583,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120}}} [09:11:53]free response buf [09:11:53]execute_script done [09:11:53]execute_script returns [09:11:53]free content buf [09:11:53]Sock 7.Close socket [09:11:53]Sock 7.Thread stoped [09:11:56]OFD Sender: No OFD packet to send [09:12:02]OFD Sender: No OFD packet to send [09:12:07]OFD Sender: No OFD packet to send [09:12:12]OFD Sender: No OFD packet to send [09:12:17]OFD Sender: No OFD packet to send [09:12:22]OFD Sender: No OFD packet to send [09:12:27]OFD Sender: No OFD packet to send [09:12:32]OFD Sender: No OFD packet to send [09:12:37]OFD Sender: No OFD packet to send [09:12:42]OFD Sender: No OFD packet to send [09:12:47]OFD Sender: No OFD packet to send [09:12:52]OFD Sender: No OFD packet to send [09:12:57]OFD Sender: No OFD packet to send [09:13:02]OFD Sender: No OFD packet to send [09:13:07]OFD Sender: No OFD packet to send [09:13:12]OFD Sender: No OFD packet to send [09:13:17]OFD Sender: No OFD packet to send [09:13:22]OFD Sender: No OFD packet to send [09:13:27]OFD Sender: No OFD packet to send [09:13:32]OFD Sender: No OFD packet to send [09:13:37]OFD Sender: No OFD packet to send [09:13:42]OFD Sender: No OFD packet to send [09:13:47]OFD Sender: No OFD packet to send [09:13:52]OFD Sender: No OFD packet to send [09:13:57]OFD Sender: No OFD packet to send [09:14:02]OFD Sender: No OFD packet to send [09:14:07]OFD Sender: No OFD packet to send [09:14:12]OFD Sender: No OFD packet to send [09:14:17]OFD Sender: No OFD packet to send [09:14:22]OFD Sender: No OFD packet to send [09:14:27]OFD Sender: No OFD packet to send [09:14:32]OFD Sender: No OFD packet to send [09:14:37]OFD Sender: No OFD packet to send [09:14:42]OFD Sender: No OFD packet to send [09:14:47]OFD Sender: No OFD packet to send [09:14:52]OFD Sender: No OFD packet to send [09:14:57]OFD Sender: No OFD packet to send [09:15:02]OFD Sender: No OFD packet to send [09:15:07]OFD Sender: No OFD packet to send [09:15:12]OFD Sender: No OFD packet to send [09:15:17]OFD Sender: No OFD packet to send [09:15:22]OFD Sender: No OFD packet to send [09:15:27]OFD Sender: No OFD packet to send [09:15:32]OFD Sender: No OFD packet to send [09:15:37]OFD Sender: No OFD packet to send [09:15:42]OFD Sender: No OFD packet to send [09:15:47]OFD Sender: No OFD packet to send [09:15:52]OFD Sender: No OFD packet to send [09:15:57]OFD Sender: No OFD packet to send [09:16:02]OFD Sender: No OFD packet to send [09:16:07]OFD Sender: No OFD packet to send [09:16:12]OFD Sender: No OFD packet to send [09:16:17]OFD Sender: No OFD packet to send [09:16:22]OFD Sender: No OFD packet to send [09:16:27]OFD Sender: No OFD packet to send [09:16:32]OFD Sender: No OFD packet to send [09:16:37]OFD Sender: No OFD packet to send [09:16:42]OFD Sender: No OFD packet to send [09:16:47]OFD Sender: No OFD packet to send [09:16:52]OFD Sender: No OFD packet to send [09:16:57]OFD Sender: No OFD packet to send [09:17:02]OFD Sender: No OFD packet to send [09:17:07]OFD Sender: No OFD packet to send [09:17:12]OFD Sender: No OFD packet to send [09:17:17]OFD Sender: No OFD packet to send [09:17:22]OFD Sender: No OFD packet to send [09:17:22]accept exits with 9 [09:17:22]New connection [09:17:22]New thread 3067616612 created [09:17:22]Thread 3067473252 joined [09:17:22]Waiting for new connection... [09:17:22] Sock 9.Parse request [09:17:22]Sock 9.Check first char [09:17:22]Sock 9.First char is OK [09:17:22]request: POST /json_proto HTTP/1.0 [09:17:22]Method: POST [09:17:22]URL: /json_proto [09:17:22]Method is POST - this is cgi request [09:17:22]url: /json_proto [09:17:22]query_string will be loaded in cgi processing [09:17:22]execute_cgi json_proto POST (null) [09:17:22]execute_cgi path=json_proto method=POST [09:17:22]POST find Content-Length [09:17:22]Host: 172.17.38.134:8080 [09:17:22]Content-Length: 742 [09:17:22]Content-Type: application/json [09:17:22] [09:17:22]POST finish read [09:17:22]Found Content-Length = 742 [09:17:22]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184341", "tax_sys" : 0, "items" : [ { "code": "4607123066058", "name": "\u041F\u0435\u0447\u0435\u043D\u044C\u0435 \u042E\u0431\u0438\u043B\u0435\u0439\u043D\u043E\u0435 \u0422\u043E\u0440\u0436\u0435\u0441\u0442\u0432\u043E \u043E\u0440\u0435\u0445 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" ] } } [09:17:22]execute_script... [09:17: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)184341", "tax_sys" : 0, "items" : [ { "code": "4607123066058", "name": "\u041F\u0435\u0447\u0435\u043D\u044C\u0435 \u042E\u0431\u0438\u043B\u0435\u0439\u043D\u043E\u0435 \u0422\u043E\u0440\u0436\u0435\u0441\u0442\u0432\u043E \u043E\u0440\u0435\u0445 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" ] } } [09:17:22]POST & json_proto [09:17:22]process_json_proto [09:17:22]json parsed OK: [09:17:22]protocol is kg_v1.0 [09:17:22]action value=close_receipt [09:17:22]process_action close_receipt [09:17:22]cmd_close_receipt [09:17:22]MH_GetDate [09:17:22]Write to MH i2c: F0 00 00 98 11 98 [09:17:22]Write i2c OK [09:17:22]MH_I2C_Read... [09:17:22]Read from MH i2c: F0 [09:17:22]MH_I2C_Read... [09:17:22]Read from MH i2c: F0 09 00 [09:17:22]MH_I2C_Read... [09:17:22]Read from MH i2c: F0 09 00 98 11 00 A7 96 76 66 13 9C 7C 64 49 [09:17:22]GetLastDocTimeStamp 1719047513 [09:17:22]current date 1719047847 [09:17:22]FM_GetShiftState [09:17:22]SAM_PROTO_GetShiftState [09:17:22]wFMCommunicate request_size=4 [09:17:22]MH_SAM_APDU [09:17:22]CAPDU: 80 13 01 00 [09:17:22]Write to MH i2c: E2 08 00 99 11 80 13 01 00 00 00 00 00 27 [09:17:22]Write i2c OK [09:17:22]MH_I2C_Read... [09:17:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:17:22]Read from MH i2c: E2 [09:17:22]MH_I2C_Read... [09:17:22]Read from MH i2c: E2 0E 00 [09:17:22]MH_I2C_Read... [09:17:22]Read from MH i2c: E2 0E 00 99 11 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 E1 [09:17:22]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [09:17:22]wFMCommunicate OK [09:17:22]SAM_PROTO_GetShiftState done [09:17:22]FM_GetShiftState done [09:17:22]opened in 1719016120 [09:17:22]opened+sec_in_day 1719102520 [09:17:22]quantity*price = 5900 [09:17:22]sum+1 = 5901 [09:17:22]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 59.00 НСП 1% : 0.52 НДС 12% : 6.26 Наличными: 59.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 10 22.06.2024 09:17 Смена: 327 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34584 ФПД: 221067355533126 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T091727&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34584&fm=221067355533126&tin=02508201610067®Number=0000000000092786&sum=5900 0 [09:17:24]StoreToDocumentArchive [09:17:24]shift 327 fd 34584 [09:17:24]save to /storage/0327/doc_00034584 [09:17:24]save last doc name /storage/0327/doc_00034584 to /storage/kkm_last_doc_name [09:17:24]save OK [09:17:24]Clear old archive folders... [09:17:24]ProcessDocumentItem done err = 0, tmpTLVsize=309 [09:17:24]tlvbuf is 01553BA0 [09:17:24]SAM_PROTO_ClearQueue [09:17:24]wFMCommunicate request_size=4 [09:17:24]MH_SAM_APDU [09:17:24]CAPDU: 80 09 00 00 [09:17:24]Write to MH i2c: E2 08 00 A6 11 80 09 00 00 00 00 00 00 29 [09:17:24]Write i2c OK [09:17:24]MH_I2C_Read... [09:17:24]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:17:24]Read from MH i2c: E2 [09:17:24]MH_I2C_Read... [09:17:24]Read from MH i2c: E2 03 00 [09:17:24]MH_I2C_Read... [09:17:24]Read from MH i2c: E2 03 00 A6 11 00 90 00 2B [09:17:24]RAPDU: 90 00 [09:17:24]wFMCommunicate OK [09:17:24]SAM_PROTO_ClearQueue done [09:17:24]KKMCreateOFDPacket [09:17:24]OFDProtocolAddRootSTLVToBuf [09:17:24]FM_MakeSignedData [09:17:24]FM_MakeSignedData [09:17:24]SAM_PROTO_SignData [09:17:24]wFMCommunicate request_size=4 [09:17:24]MH_SAM_APDU [09:17:24]CAPDU: 80 0D 01 02 [09:17:24]Write to MH i2c: E2 08 00 A7 11 80 0D 01 02 00 00 00 00 31 [09:17:24]Write i2c OK [09:17:24]MH_I2C_Read... [09:17:24]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:17:24]Read from MH i2c: E2 [09:17:24]MH_I2C_Read... [09:17:24]Read from MH i2c: E2 03 00 [09:17:24]MH_I2C_Read... [09:17:24]Read from MH i2c: E2 03 00 A7 11 00 90 00 2C [09:17:24]RAPDU: 90 00 [09:17:24]wFMCommunicate OK [09:17:24]wFMCommunicate request_size=255 [09:17:24]MH_SAM_APDU [09:17:24]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 37 31 32 33 30 36 36 30 35 38 06 04 43 00 D0 9F D0 B5 D1 87 D0 B5 D0 BD D1 8C D0 B5 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 BE D1 80 D0 B5 D1 85 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 0A 00 00 00 F4 03 04 00 A7 96 76 66 0E 04 04 00 47 01 00 00 [09:17:24]Write to MH i2c: E2 02 01 A8 11 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 37 31 32 33 30 36 36 30 35 38 06 04 43 00 D0 9F D0 B5 D1 87 D0 B5 D0 BD D1 8C D0 B5 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 BE D1 80 D0 B5 D1 85 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 0A 00 00 00 F4 03 04 00 A7 96 76 66 0E 04 04 00 47 01 00 00 00 00 72 [09:17:24]Write i2c OK [09:17:24]MH_I2C_Read... [09:17:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:17:24]Read from MH i2c: E2 [09:17:24]MH_I2C_Read... [09:17:24]Read from MH i2c: E2 03 00 [09:17:24]MH_I2C_Read... [09:17:24]Read from MH i2c: E2 03 00 A8 11 00 90 00 2D [09:17:24]RAPDU: 90 00 [09:17:24]wFMCommunicate OK [09:17:24]wFMCommunicate request_size=68 [09:17:24]MH_SAM_APDU [09:17:24]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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 18 87 00 00 35 04 06 00 C9 0F 41 32 AF 46 [09:17:24]Write to MH i2c: E2 47 00 A9 11 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 18 87 00 00 35 04 06 00 C9 0F 41 32 AF 46 00 00 2F [09:17:24]Write i2c OK [09:17:24]MH_I2C_Read... [09:17:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:17:24]Read from MH i2c: E2 [09:17:24]MH_I2C_Read... [09:17:24]Read from MH i2c: E2 03 00 [09:17:24]MH_I2C_Read... [09:17:24]Read from MH i2c: E2 03 00 A9 11 00 90 00 2E [09:17:24]RAPDU: 90 00 [09:17:24]wFMCommunicate OK [09:17:24]wFMCommunicate request_size=4 [09:17:24]MH_SAM_APDU [09:17:24]CAPDU: 80 0D 03 02 [09:17:24]Write to MH i2c: E2 08 00 AA 11 80 0D 03 02 00 00 00 00 36 [09:17:24]Write i2c OK [09:17:24]MH_I2C_Read... [09:17:24]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:17:24]Read from MH i2c: E2 [09:17:24]MH_I2C_Read... [09:17:24]Read from MH i2c: E2 0B 00 [09:17:24]MH_I2C_Read... [09:17:24]Read from MH i2c: E2 0B 00 AA 11 00 F5 C2 61 CB A0 D4 2B 25 90 00 DE [09:17:24]RAPDU: F5 C2 61 CB A0 D4 2B 25 90 00 [09:17:24]wFMCommunicate OK [09:17:24]SAM_PROTO_SignData done [09:17:24]FM_MakeSignedData done [09:17:24]CreateOFDProtocolMessage [09:17:24]wFMCommunicate request_size=4 [09:17:24]MH_SAM_APDU [09:17:24]CAPDU: 80 11 00 00 [09:17:24]Write to MH i2c: E2 08 00 AB 11 80 11 00 00 00 00 00 00 36 [09:17:24]Write i2c OK [09:17:24]MH_I2C_Read... [09:17:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:17:24]Read from MH i2c: E2 [09:17:24]MH_I2C_Read... [09:17:24]Read from MH i2c: E2 17 00 [09:17:24]MH_I2C_Read... [09:17:24]Read from MH i2c: E2 17 00 AB 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 8B [09:17:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [09:17:24]wFMCommunicate OK [09:17:24]CreateOFDProtocolMessage done [09:17:24]OFDSenderStorePacket 34584 [09:17:24]StoreOFDPacket docnum=34584 [09:17:24]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 49 01 00 00 9F D5 41 01 1E 3A 5A 03 01 00 03 00 35 01 1E 04 01 00 01 23 04 87 00 8A 04 0D 00 34 36 30 37 31 32 33 30 36 36 30 35 38 06 04 43 00 D0 9F D0 B5 D1 87 D0 B5 D0 BD D1 8C D0 B5 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 BE D1 80 D0 B5 D1 85 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 0A 00 00 00 F4 03 04 00 A7 96 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 18 87 00 00 35 04 06 00 C9 0F 41 32 AF 46 F5 C2 61 CB A0 D4 2B 25 [09:17:24]CheckFolder [09:17:24]dirname=/storage/ofd_packets [09:17:24]CheckFolder done [09:17:24]ProducePacketName [09:17:24]name=ofd_packets/00034584 [09:17:24]NVStorageSaveData ofd_packets/00034584 [09:17:24]File name is /storage/ofd_packets/00034584 [09:17:24]Write 359 bytes [09:17:24]NVStorageSaveData done [09:17:24]OFDSenderStorePacket done [09:17:24]KKMCreateOFDPacket done [09:17:24]NVStorageSaveData kkm_last_timestamp [09:17:24]File name is /storage/kkm_last_timestamp [09:17:24]Write 4 bytes [09:17:24]NVStorageSaveData done [09:17:24]ExternCall_PrintAddStr [09:17:24]wPrintStart [09:17:24]Write to MH i2c: 01 00 00 AC 11 BD [09:17:24]Write i2c OK [09:17:24]MH_I2C_Read... [09:17:24]Read from MH i2c: 01 [09:17:24]MH_I2C_Read... [09:17:24]Read from MH i2c: 01 07 00 [09:17:24]MH_I2C_Read... [09:17:24]Read from MH i2c: 01 07 00 AC 11 00 00 00 00 00 FF 0F D2 [09:17:24]RasterBufferAndPrint [09:17:24]line Счет N : (3)184341 [09:17:24]line ИНН: 02508201610067 [09:17:24]line Контрольно-Кассовый Чек [09:17:24]line ПРОДАЖА [09:17:24]line Товар: 4607123066058 [09:17:24]line Печенье Юбилейное Торжество орех 120г [09:17:24]line 1.000 * 59.00 [09:17:24]line = 59.00 [09:17:24]line НДС 12% НСП 1% [09:17:24]line > о реализуемом товаре [09:17:24]line ИТОГО: 59.00 [09:17:24]line НСП 1% : 0.52 [09:17:24]line НДС 12% : 6.26 [09:17:24]line Наличными: 59.00 [09:17:24]line Безнал.: 0.00 [09:17:24]line Место: АЗС № 120 "Партнер Нефть" [09:17:24]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [09:17:24]line СНО: Общий режим [09:17:24]line Чек 10 22.06.2024 09:17 [09:17:24]line Смена: 327 ФФД: 1.0 [09:17:24]line ЗНМ: 0300000172 [09:17:24]line РНМ: 0000000000092786 [09:17:24]line Версия ККМ: 001 [09:17:24]line ФМ: 0000000000875095 [09:17:24]line ФД: 34584 [09:17:24]line ФПД: 221067355533126 [09:17:24]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T091727&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34584&fm=221067355533126&tin=02508201610067®Number=0000000000092786&sum=5900 [09:17:24]line 0 [09:17:24]OFD Sender: Processing packet 34584 [packets to send 8, broken 7] [09:17:24]ProducePacketName [09:17:24]name=ofd_packets/00034584 [09:17:24]OFD Sender: To server: pG, [09:17:24]CommunicateWithHost lk.salyk.kg:30040 [09:17:24]ConnectInit lk.salyk.kg [09:17:24]written 0, free lines is 4095 [09:17:25]Connected sock=10 [09:17:25]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 49 01 00 00 9F D5 41 01 1E 3A 5A 03 01 00 03 00 35 01 1E 04 01 00 01 23 04 87 00 8A 04 0D 00 34 36 30 37 31 32 33 30 36 36 30 35 38 06 04 43 00 D0 9F D0 B5 D1 87 D0 B5 D0 BD D1 8C D0 B5 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 BE D1 80 D0 B5 D1 85 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 0A 00 00 00 F4 03 04 00 A7 96 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 18 87 00 00 35 04 06 00 C9 0F 41 32 AF 46 F5 C2 61 CB A0 D4 2B 25 [09:17:25]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 A2 3D 47 00 A9 7D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 18 87 00 00 F4 03 04 00 6B 3D 76 66 B6 04 01 00 00 F2 0F 52 A3 86 07 55 19 [09:17:25]CommunicateWithHost err = 0 [09:17:25]CheckOFDResponse [09:17:25]1017 (14) - 77093643461234 [09:17:25]1041 (16) - 0000000000875095 [09:17:25]1040 (4) - 34584 [09:17:25]1012 (4) - 22.06.2024 02:56 [09:17:25]1206 (1) - 0 [09:17:25]OFD Sender: Remove packet 34584 [09:17:25]ProducePacketName [09:17:25]name=ofd_packets/00034584 [09:17:25]NVStorageDeleteData [09:17:25]Write to MH i2c: 01 00 00 D5 11 E6 [09:17:25]Write i2c OK [09:17:25]MH_I2C_Read... [09:17:25]Read from MH i2c: 01 [09:17:25]MH_I2C_Read... [09:17:25]Read from MH i2c: 01 07 00 [09:17:25]MH_I2C_Read... [09:17:25]Read from MH i2c: 01 07 00 D5 11 00 00 00 00 00 CE 0C C7 [09:17:25]RasterBufferAndPrint [09:17:25]line [09:17:25]line [09:17:25]line [09:17:25]line [09:17:25]line [09:17:25]written 0, free lines is 3284 [09:17:25]MH_Cut [09:17:25]Write to MH i2c: D1 01 00 DC 11 01 BF [09:17:25]Write i2c OK [09:17:25]MH_I2C_Read... [09:17:25]Read from MH i2c: D1 [09:17:25]MH_I2C_Read... [09:17:25]Read from MH i2c: D1 01 00 [09:17:25]MH_I2C_Read... [09:17:25]Read from MH i2c: D1 01 00 DC 11 00 BE [09:17:25]Write to MH i2c: 01 00 00 DD 11 EE [09:17:25]Write i2c OK [09:17:25]MH_I2C_Read... [09:17:25]OFD Sender: No OFD packet to send [09:17:26]*** Cut start [09:17:26]*** Partial cut [09:17:26]*** CUTSNS_PIN = 1 [09:17:26]*** CUTSNS_PIN = 0 [09:17:26]*** Brake cut motor [09:17:26]Read from MH i2c: 01 [09:17:26]*** Stop cut motor [09:17:26]*** Cut end [09:17:26]MH_I2C_Read... [09:17:26]Read from MH i2c: 01 07 00 [09:17:26]MH_I2C_Read... [09:17:26]Read from MH i2c: 01 07 00 DD 11 00 00 00 00 00 FF 0F 03 [09:17:26]process_action close_receipt done [09:17:26]requested_data is exist [09:17:26]produce_requested_data [09:17:26]requested_item fm.sn is exist - process it [09:17:26]wFMCommunicate request_size=4 [09:17:26]MH_SAM_APDU [09:17:26]CAPDU: 80 11 00 00 [09:17:26]Write to MH i2c: E2 08 00 DE 11 80 11 00 00 00 00 00 00 69 [09:17:26]Write i2c OK [09:17:26]MH_I2C_Read... [09:17:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:17:26]Read from MH i2c: E2 [09:17:26]MH_I2C_Read... [09:17:26]Read from MH i2c: E2 17 00 [09:17:26]MH_I2C_Read... [09:17:26]Read from MH i2c: E2 17 00 DE 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 BE [09:17:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [09:17:26]wFMCommunicate OK [09:17:26]requested_item fd.num is exist - process it [09:17:26]SAM_PROTO_GetFieldsCounters [09:17:26]wFMCommunicate request_size=4 [09:17:26]MH_SAM_APDU [09:17:26]CAPDU: 80 13 00 00 [09:17:26]Write to MH i2c: E2 08 00 DF 11 80 13 00 00 00 00 00 00 6C [09:17:26]Write i2c OK [09:17:26]MH_I2C_Read... [09:17:26]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:17:26]Read from MH i2c: E2 [09:17:26]MH_I2C_Read... [09:17:26]Read from MH i2c: E2 62 00 [09:17:26]MH_I2C_Read... [09:17:26]Read from MH i2c: E2 62 00 DF 11 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 18 87 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 9B [09:17:26]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 18 87 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 [09:17:26]wFMCommunicate OK [09:17:26]SAM_PROTO_GetFieldsCounters done [09:17:26]requested_item shift.num is exist - process it [09:17:26]requested_item shift.opened is exist - process it [09:17:26]req_shift_opened [09:17:26]FM_GetShiftState [09:17:26]SAM_PROTO_GetShiftState [09:17:26]wFMCommunicate request_size=4 [09:17:26]MH_SAM_APDU [09:17:26]CAPDU: 80 13 01 00 [09:17:26]Write to MH i2c: E2 08 00 E0 11 80 13 01 00 00 00 00 00 6E [09:17:26]Write i2c OK [09:17:26]MH_I2C_Read... [09:17:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:17:26]Read from MH i2c: E2 [09:17:26]MH_I2C_Read... [09:17:26]Read from MH i2c: E2 0E 00 [09:17:26]MH_I2C_Read... [09:17:26]Read from MH i2c: E2 0E 00 E0 11 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 28 [09:17:26]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [09:17:26]wFMCommunicate OK [09:17:26]SAM_PROTO_GetShiftState done [09:17:26]FM_GetShiftState done [09:17:26]req_shift_opened done [09:17:26]requested_item shift.open_date is exist - process it [09:17:26]req_shift_open_date [09:17:26]req_shift_open_date done [09:17:26]produce_requested_data done [09:17:26]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34584,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120} [09:17:26]process_action_free close_receipt [09:17:26]json_value_free [09:17:26]json_value_free done [09:17:26]process_json_proto returns [09:17:26]Send response to host [09:17:26]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34584,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120}}} [09:17:26]free response buf [09:17:26]execute_script done [09:17:26]execute_script returns [09:17:26]free content buf [09:17:26]Sock 9.Close socket [09:17:26]Sock 9.Thread stoped [09:17:30]OFD Sender: No OFD packet to send [09:17:35]OFD Sender: No OFD packet to send [09:17:40]OFD Sender: No OFD packet to send [09:17:45]OFD Sender: No OFD packet to send [09:17:50]OFD Sender: No OFD packet to send [09:17:55]OFD Sender: No OFD packet to send [09:18:00]OFD Sender: No OFD packet to send [09:18:05]OFD Sender: No OFD packet to send [09:18:10]OFD Sender: No OFD packet to send [09:18:15]OFD Sender: No OFD packet to send [09:18:20]OFD Sender: No OFD packet to send [09:18:25]OFD Sender: No OFD packet to send [09:18:30]OFD Sender: No OFD packet to send [09:18:35]OFD Sender: No OFD packet to send [09:18:40]OFD Sender: No OFD packet to send [09:18:45]OFD Sender: No OFD packet to send [09:18:50]OFD Sender: No OFD packet to send [09:18:55]OFD Sender: No OFD packet to send [09:19:00]OFD Sender: No OFD packet to send [09:19:05]OFD Sender: No OFD packet to send [09:19:10]OFD Sender: No OFD packet to send [09:19:15]OFD Sender: No OFD packet to send [09:19:20]OFD Sender: No OFD packet to send [09:19:25]OFD Sender: No OFD packet to send [09:19:30]OFD Sender: No OFD packet to send [09:19:35]OFD Sender: No OFD packet to send [09:19:40]OFD Sender: No OFD packet to send [09:19:45]OFD Sender: No OFD packet to send [09:19:50]OFD Sender: No OFD packet to send [09:19:55]OFD Sender: No OFD packet to send [09:20:00]OFD Sender: No OFD packet to send [09:20:05]OFD Sender: No OFD packet to send [09:20:10]OFD Sender: No OFD packet to send [09:20:15]OFD Sender: No OFD packet to send [09:20:20]OFD Sender: No OFD packet to send [09:20:25]OFD Sender: No OFD packet to send [09:20:30]OFD Sender: No OFD packet to send [09:20:35]OFD Sender: No OFD packet to send [09:20:40]OFD Sender: No OFD packet to send [09:20:45]OFD Sender: No OFD packet to send [09:20:50]OFD Sender: No OFD packet to send [09:20:55]OFD Sender: No OFD packet to send [09:21:00]OFD Sender: No OFD packet to send [09:21:05]OFD Sender: No OFD packet to send [09:21:10]OFD Sender: No OFD packet to send [09:21:15]OFD Sender: No OFD packet to send [09:21:20]OFD Sender: No OFD packet to send [09:21:25]OFD Sender: No OFD packet to send [09:21:30]OFD Sender: No OFD packet to send [09:21:35]OFD Sender: No OFD packet to send [09:21:40]OFD Sender: No OFD packet to send [09:21: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:22]accept exits with 7 [09:27:22]New connection [09:27:22]New thread 3067473252 created [09:27:22]Thread 3067616612 joined [09:27:22]Waiting for new connection... [09:27:22] Sock 7.Parse request [09:27:22]Sock 7.Check first char [09:27:22]Sock 7.First char is OK [09:27:22]request: POST /json_proto HTTP/1.0 [09:27:22]Method: POST [09:27:22]URL: /json_proto [09:27:22]Method is POST - this is cgi request [09:27:22]url: /json_proto [09:27:22]query_string will be loaded in cgi processing [09:27:22]execute_cgi json_proto POST (null) [09:27:22]execute_cgi path=json_proto method=POST [09:27:22]POST find Content-Length [09:27:22]Host: 172.17.38.134:8080 [09:27:22]Content-Length: 734 [09:27:22]Content-Type: application/json [09:27:22] [09:27:22]POST finish read [09:27:22]Found Content-Length = 734 [09:27:22]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184342", "tax_sys" : 0, "items" : [ { "code": "0010420131003133", "name": "\u0423\u0433\u043E\u043B\u044C \u0434\u0440\u0435\u0432\u0435\u0441\u043D\u044B\u0439 \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u041D\u0435\u0444\u0442\u044C 3\u043A\u0433", "price" : 395.00, "quantity" : 1.000, "sum" : 395.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 395.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:27:22]execute_script... [09:27: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)184342", "tax_sys" : 0, "items" : [ { "code": "0010420131003133", "name": "\u0423\u0433\u043E\u043B\u044C \u0434\u0440\u0435\u0432\u0435\u0441\u043D\u044B\u0439 \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u041D\u0435\u0444\u0442\u044C 3\u043A\u0433", "price" : 395.00, "quantity" : 1.000, "sum" : 395.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 395.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:27:22]POST & json_proto [09:27:22]process_json_proto [09:27:22]json parsed OK: [09:27:22]protocol is kg_v1.0 [09:27:22]action value=close_receipt [09:27:22]process_action close_receipt [09:27:22]cmd_close_receipt [09:27:22]MH_GetDate [09:27:22]Write to MH i2c: F0 00 00 E1 11 E1 [09:27:22]Write i2c OK [09:27:22]MH_I2C_Read... [09:27:22]Read from MH i2c: F0 [09:27:22]MH_I2C_Read... [09:27:22]Read from MH i2c: F0 09 00 [09:27:22]MH_I2C_Read... [09:27:22]Read from MH i2c: F0 09 00 E1 11 00 FF 98 76 66 13 9C 7C 64 EC [09:27:22]GetLastDocTimeStamp 1719047847 [09:27:22]current date 1719048447 [09:27:22]FM_GetShiftState [09:27:22]SAM_PROTO_GetShiftState [09:27:22]wFMCommunicate request_size=4 [09:27:22]MH_SAM_APDU [09:27:22]CAPDU: 80 13 01 00 [09:27:22]Write to MH i2c: E2 08 00 E2 11 80 13 01 00 00 00 00 00 70 [09:27:22]Write i2c OK [09:27:22]MH_I2C_Read... [09:27:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:27:23]Read from MH i2c: E2 [09:27:23]MH_I2C_Read... [09:27:23]Read from MH i2c: E2 0E 00 [09:27:23]MH_I2C_Read... [09:27:23]Read from MH i2c: E2 0E 00 E2 11 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 2A [09:27:23]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [09:27:23]wFMCommunicate OK [09:27:23]SAM_PROTO_GetShiftState done [09:27:23]FM_GetShiftState done [09:27:23]opened in 1719016120 [09:27:23]opened+sec_in_day 1719102520 [09:27:23]quantity*price = 39500 [09:27:23]sum+1 = 39501 [09:27:23]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 395.00 НСП 1% : 3.50 НДС 12% : 41.95 Наличными: 395.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 11 22.06.2024 09:27 Смена: 327 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34585 ФПД: 246501135029196 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T092727&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34585&fm=246501135029196&tin=02508201610067®Number=0000000000092786&sum=39500 0 [09:27:24]StoreToDocumentArchive [09:27:24]shift 327 fd 34585 [09:27:24]save to /storage/0327/doc_00034585 [09:27:24]save last doc name /storage/0327/doc_00034585 to /storage/kkm_last_doc_name [09:27:24]save OK [09:27:24]Clear old archive folders... [09:27:24]ProcessDocumentItem done err = 0, tmpTLVsize=306 [09:27:24]tlvbuf is 015C72F0 [09:27:24]SAM_PROTO_ClearQueue [09:27:24]wFMCommunicate request_size=4 [09:27:24]MH_SAM_APDU [09:27:24]CAPDU: 80 09 00 00 [09:27:24]Write to MH i2c: E2 08 00 EF 11 80 09 00 00 00 00 00 00 72 [09:27:24]Write i2c OK [09:27:24]MH_I2C_Read... [09:27:24]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:27:24]Read from MH i2c: E2 [09:27:24]MH_I2C_Read... [09:27:24]Read from MH i2c: E2 03 00 [09:27:24]MH_I2C_Read... [09:27:24]Read from MH i2c: E2 03 00 EF 11 00 90 00 74 [09:27:24]RAPDU: 90 00 [09:27:24]wFMCommunicate OK [09:27:24]SAM_PROTO_ClearQueue done [09:27:24]KKMCreateOFDPacket [09:27:24]OFDProtocolAddRootSTLVToBuf [09:27:24]FM_MakeSignedData [09:27:24]FM_MakeSignedData [09:27:24]SAM_PROTO_SignData [09:27:24]wFMCommunicate request_size=4 [09:27:24]MH_SAM_APDU [09:27:24]CAPDU: 80 0D 01 02 [09:27:24]Write to MH i2c: E2 08 00 F0 11 80 0D 01 02 00 00 00 00 7A [09:27:24]Write i2c OK [09:27:24]MH_I2C_Read... [09:27:24]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:27:24]Read from MH i2c: E2 [09:27:24]MH_I2C_Read... [09:27:24]Read from MH i2c: E2 03 00 [09:27:24]MH_I2C_Read... [09:27:24]Read from MH i2c: E2 03 00 F0 11 00 90 00 75 [09:27:24]RAPDU: 90 00 [09:27:24]wFMCommunicate OK [09:27:24]wFMCommunicate request_size=255 [09:27:24]MH_SAM_APDU [09:27:24]CAPDU: 80 0D 02 02 FA 03 00 32 01 1E 04 01 00 01 23 04 84 00 8A 04 10 00 30 30 31 30 34 32 30 31 33 31 30 30 33 31 33 33 06 04 3D 00 D0 A3 D0 B3 D0 BE D0 BB D1 8C 20 D0 B4 D1 80 D0 B5 D0 B2 D0 B5 D1 81 D0 BD D1 8B D0 B9 20 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 20 33 D0 BA D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 9A 00 00 00 00 13 04 06 00 4C 9A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 9A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5E 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 63 10 00 00 00 00 07 04 06 00 4C 9A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 FF 98 76 66 0E 04 04 00 47 01 00 00 B9 04 01 [09:27:24]Write to MH i2c: E2 02 01 F1 11 80 0D 02 02 FA 00 03 00 32 01 1E 04 01 00 01 23 04 84 00 8A 04 10 00 30 30 31 30 34 32 30 31 33 31 30 30 33 31 33 33 06 04 3D 00 D0 A3 D0 B3 D0 BE D0 BB D1 8C 20 D0 B4 D1 80 D0 B5 D0 B2 D0 B5 D1 81 D0 BD D1 8B D0 B9 20 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 20 33 D0 BA D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 9A 00 00 00 00 13 04 06 00 4C 9A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 9A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5E 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 63 10 00 00 00 00 07 04 06 00 4C 9A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 FF 98 76 66 0E 04 04 00 47 01 00 00 B9 04 01 00 00 54 [09:27:24]Write i2c OK [09:27:24]MH_I2C_Read... [09:27:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:27:24]Read from MH i2c: E2 [09:27:24]MH_I2C_Read... [09:27:24]Read from MH i2c: E2 03 00 [09:27:24]MH_I2C_Read... [09:27:24]Read from MH i2c: E2 03 00 F1 11 00 90 00 76 [09:27:24]RAPDU: 90 00 [09:27:24]wFMCommunicate OK [09:27:24]wFMCommunicate request_size=65 [09:27:24]MH_SAM_APDU [09:27:24]CAPDU: 80 0D 02 02 3C 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 19 87 00 00 35 04 06 00 E0 31 04 97 13 CC [09:27:24]Write to MH i2c: E2 44 00 F2 11 80 0D 02 02 3C 00 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 19 87 00 00 35 04 06 00 E0 31 04 97 13 CC 00 00 00 [09:27:24]Write i2c OK [09:27:24]MH_I2C_Read... [09:27:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:27:24]Read from MH i2c: E2 [09:27:24]MH_I2C_Read... [09:27:24]Read from MH i2c: E2 03 00 [09:27:24]MH_I2C_Read... [09:27:24]Read from MH i2c: E2 03 00 F2 11 00 90 00 77 [09:27:24]RAPDU: 90 00 [09:27:24]wFMCommunicate OK [09:27:24]wFMCommunicate request_size=4 [09:27:24]MH_SAM_APDU [09:27:24]CAPDU: 80 0D 03 02 [09:27:24]Write to MH i2c: E2 08 00 F3 11 80 0D 03 02 00 00 00 00 7F [09:27:24]Write i2c OK [09:27:24]MH_I2C_Read... [09:27:24]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:27:24]Read from MH i2c: E2 [09:27:24]MH_I2C_Read... [09:27:24]Read from MH i2c: E2 0B 00 [09:27:24]MH_I2C_Read... [09:27:24]Read from MH i2c: E2 0B 00 F3 11 00 B6 96 B0 C2 99 DC AB 13 90 00 71 [09:27:24]RAPDU: B6 96 B0 C2 99 DC AB 13 90 00 [09:27:24]wFMCommunicate OK [09:27:24]SAM_PROTO_SignData done [09:27:24]FM_MakeSignedData done [09:27:24]CreateOFDProtocolMessage [09:27:24]wFMCommunicate request_size=4 [09:27:24]MH_SAM_APDU [09:27:24]CAPDU: 80 11 00 00 [09:27:24]Write to MH i2c: E2 08 00 F4 11 80 11 00 00 00 00 00 00 7F [09:27:24]Write i2c OK [09:27:24]MH_I2C_Read... [09:27:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:27:24]Read from MH i2c: E2 [09:27:24]MH_I2C_Read... [09:27:24]Read from MH i2c: E2 17 00 [09:27:24]MH_I2C_Read... [09:27:24]Read from MH i2c: E2 17 00 F4 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 D4 [09:27:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [09:27:24]wFMCommunicate OK [09:27:24]CreateOFDProtocolMessage done [09:27:24]OFDSenderStorePacket 34585 [09:27:24]StoreOFDPacket docnum=34585 [09:27:24]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 46 01 00 00 BE 62 3E 01 52 4E 5A 03 01 00 03 00 32 01 1E 04 01 00 01 23 04 84 00 8A 04 10 00 30 30 31 30 34 32 30 31 33 31 30 30 33 31 33 33 06 04 3D 00 D0 A3 D0 B3 D0 BE D0 BB D1 8C 20 D0 B4 D1 80 D0 B5 D0 B2 D0 B5 D1 81 D0 BD D1 8B D0 B9 20 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 20 33 D0 BA D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 9A 00 00 00 00 13 04 06 00 4C 9A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 9A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5E 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 63 10 00 00 00 00 07 04 06 00 4C 9A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 FF 98 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 19 87 00 00 35 04 06 00 E0 31 04 97 13 CC B6 96 B0 C2 99 DC AB 13 [09:27:24]CheckFolder [09:27:24]dirname=/storage/ofd_packets [09:27:24]CheckFolder done [09:27:24]ProducePacketName [09:27:24]name=ofd_packets/00034585 [09:27:24]NVStorageSaveData ofd_packets/00034585 [09:27:24]File name is /storage/ofd_packets/00034585 [09:27:24]Write 356 bytes [09:27:24]NVStorageSaveData done [09:27:24]OFDSenderStorePacket done [09:27:24]KKMCreateOFDPacket done [09:27:24]NVStorageSaveData kkm_last_timestamp [09:27:24]File name is /storage/kkm_last_timestamp [09:27:24]Write 4 bytes [09:27:24]NVStorageSaveData done [09:27:24]ExternCall_PrintAddStr [09:27:24]wPrintStart [09:27:24]Write to MH i2c: 01 00 00 F5 11 06 [09:27:24]OFD Sender: Processing packet 34585 [packets to send 8, broken 7] [09:27:24]ProducePacketName [09:27:24]name=ofd_packets/00034585 [09:27:24]OFD Sender: To server: pG, [09:27:24]CommunicateWithHost lk.salyk.kg:30040 [09:27:24]ConnectInit lk.salyk.kg [09:27:24]Write i2c OK [09:27:24]MH_I2C_Read... [09:27:24]Read from MH i2c: 01 [09:27:24]MH_I2C_Read... [09:27:24]Read from MH i2c: 01 07 00 [09:27:24]MH_I2C_Read... [09:27:24]Read from MH i2c: 01 07 00 F5 11 00 00 00 00 00 FF 0F 1B [09:27:24]RasterBufferAndPrint [09:27:24]line Счет N : (3)184342 [09:27:24]line ИНН: 02508201610067 [09:27:24]line Контрольно-Кассовый Чек [09:27:24]line ПРОДАЖА [09:27:24]line Товар: 0010420131003133 [09:27:24]line Уголь древесный Партнер Нефть 3кг [09:27:24]line 1.000 * 395.00 [09:27:24]line = 395.00 [09:27:24]line НДС 12% НСП 1% [09:27:24]line > о реализуемом товаре [09:27:24]line ИТОГО: 395.00 [09:27:24]line НСП 1% : 3.50 [09:27:24]line НДС 12% : 41.95 [09:27:24]line Наличными: 395.00 [09:27:24]line Безнал.: 0.00 [09:27:24]line Место: АЗС № 120 "Партнер Нефть" [09:27:24]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [09:27:24]line СНО: Общий режим [09:27:24]line Чек 11 22.06.2024 09:27 [09:27:24]line Смена: 327 ФФД: 1.0 [09:27:24]line ЗНМ: 0300000172 [09:27:24]line РНМ: 0000000000092786 [09:27:24]line Версия ККМ: 001 [09:27:24]line ФМ: 0000000000875095 [09:27:24]line ФД: 34585 [09:27:24]line ФПД: 246501135029196 [09:27:25]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T092727&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34585&fm=246501135029196&tin=02508201610067®Number=0000000000092786&sum=39500 [09:27:25]line 0 [09:27:25]written 0, free lines is 4095 [09:27:25]Write to MH i2c: 01 00 00 1E 12 30 [09:27:25]Write i2c OK [09:27:25]MH_I2C_Read... [09:27:25]Read from MH i2c: 01 [09:27:25]MH_I2C_Read... [09:27:25]Read from MH i2c: 01 07 00 [09:27:25]MH_I2C_Read... [09:27:25]Read from MH i2c: 01 07 00 1E 12 00 00 00 00 00 C8 0C 0B [09:27:25]RasterBufferAndPrint [09:27:25]line [09:27:25]line [09:27:25]line [09:27:25]line [09:27:25]line [09:27:25]written 0, free lines is 3277 [09:27:25]MH_Cut [09:27:25]Write to MH i2c: D1 01 00 25 12 01 09 [09:27:25]Write i2c OK [09:27:25]MH_I2C_Read... [09:27:25]Read from MH i2c: D1 [09:27:25]MH_I2C_Read... [09:27:25]Read from MH i2c: D1 01 00 [09:27:25]MH_I2C_Read... [09:27:25]Read from MH i2c: D1 01 00 25 12 00 08 [09:27:25]Write to MH i2c: 01 00 00 26 12 38 [09:27:25]Write i2c OK [09:27:25]MH_I2C_Read... [09:27:26]*** Cut start [09:27:26]*** Partial cut [09:27:26]*** CUTSNS_PIN = 1 [09:27:26]*** CUTSNS_PIN = 0 [09:27:26]*** Brake cut motor [09:27:26]Read from MH i2c: 01 [09:27:26]MH_I2C_Read... [09:27:26]*** Stop cut motor [09:27:26]*** Cut end [09:27:26]Read from MH i2c: 01 07 00 [09:27:26]MH_I2C_Read... [09:27:26]Read from MH i2c: 01 07 00 26 12 00 00 00 00 00 FF 0F 4D [09:27:26]process_action close_receipt done [09:27:26]requested_data is exist [09:27:26]produce_requested_data [09:27:26]requested_item fm.sn is exist - process it [09:27:26]wFMCommunicate request_size=4 [09:27:26]MH_SAM_APDU [09:27:26]CAPDU: 80 11 00 00 [09:27:26]Write to MH i2c: E2 08 00 27 12 80 11 00 00 00 00 00 00 B3 [09:27:26]Write i2c OK [09:27:26]MH_I2C_Read... [09:27:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:27:26]Read from MH i2c: E2 [09:27:26]MH_I2C_Read... [09:27:26]Read from MH i2c: E2 17 00 [09:27:26]MH_I2C_Read... [09:27:26]Read from MH i2c: E2 17 00 27 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 08 [09:27:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [09:27:26]wFMCommunicate OK [09:27:26]requested_item fd.num is exist - process it [09:27:26]SAM_PROTO_GetFieldsCounters [09:27:26]wFMCommunicate request_size=4 [09:27:26]MH_SAM_APDU [09:27:26]CAPDU: 80 13 00 00 [09:27:26]Write to MH i2c: E2 08 00 28 12 80 13 00 00 00 00 00 00 B6 [09:27:26]Write i2c OK [09:27:26]MH_I2C_Read... [09:27:27]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:27:27]Read from MH i2c: E2 [09:27:27]MH_I2C_Read... [09:27:27]Read from MH i2c: E2 62 00 [09:27:27]MH_I2C_Read... [09:27:27]Read from MH i2c: E2 62 00 28 12 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 19 87 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 E9 [09:27:27]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 19 87 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 [09:27:27]wFMCommunicate OK [09:27:27]SAM_PROTO_GetFieldsCounters done [09:27:27]requested_item shift.num is exist - process it [09:27:27]requested_item shift.opened is exist - process it [09:27:27]req_shift_opened [09:27:27]FM_GetShiftState [09:27:27]SAM_PROTO_GetShiftState [09:27:27]wFMCommunicate request_size=4 [09:27:27]MH_SAM_APDU [09:27:27]CAPDU: 80 13 01 00 [09:27:27]Write to MH i2c: E2 08 00 29 12 80 13 01 00 00 00 00 00 B8 [09:27:27]Write i2c OK [09:27:27]MH_I2C_Read... [09:27:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:27:27]Read from MH i2c: E2 [09:27:27]MH_I2C_Read... [09:27:27]Read from MH i2c: E2 0E 00 [09:27:27]MH_I2C_Read... [09:27:27]Read from MH i2c: E2 0E 00 29 12 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 72 [09:27:27]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [09:27:27]wFMCommunicate OK [09:27:27]SAM_PROTO_GetShiftState done [09:27:27]FM_GetShiftState done [09:27:27]req_shift_opened done [09:27:27]requested_item shift.open_date is exist - process it [09:27:27]req_shift_open_date [09:27:27]req_shift_open_date done [09:27:27]produce_requested_data done [09:27:27]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34585,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120} [09:27:27]process_action_free close_receipt [09:27:27]json_value_free [09:27:27]json_value_free done [09:27:27]process_json_proto returns [09:27:27]Send response to host [09:27:27]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34585,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120}}} [09:27:27]free response buf [09:27:27]execute_script done [09:27:27]execute_script returns [09:27:27]free content buf [09:27:27]Sock 7.Close socket [09:27:27]Sock 7.Thread stoped [09:28:23]accept exits with 9 [09:28:23]New connection [09:28:23]New thread 3067616612 created [09:28:23]Thread 3067473252 joined [09:28:23]Waiting for new connection... [09:28:23] Sock 9.Parse request [09:28:23]Sock 9.Check first char [09:28:23]Sock 9.First char is OK [09:28:23]request: POST /json_proto HTTP/1.0 [09:28:23]Method: POST [09:28:23]URL: /json_proto [09:28:23]Method is POST - this is cgi request [09:28:23]url: /json_proto [09:28:23]query_string will be loaded in cgi processing [09:28:23]execute_cgi json_proto POST (null) [09:28:23]execute_cgi path=json_proto method=POST [09:28:23]POST find Content-Length [09:28:23]Host: 172.17.38.134:8080 [09:28:23]Content-Length: 1205 [09:28:23]Content-Type: application/json [09:28:23] [09:28:23]POST finish read [09:28:23]Found Content-Length = 1205 [09:28:23]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "print_text", "params" : { "text" : " *****\u0422\u041E\u0412\u0410\u0420\u041D\u042B\u0419 \u0427\u0415\u041A*****\u000A \u0410\u0417\u0421 120\u000A \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u043D\u0435\u0444\u0442\u044C\u000A 02508201610067\u000A\u041A\u0430\u0441\u0441\u0438\u0440 : \u0411\u0430\u0439\u0431\u0443\u0433\u0443\u0435\u0432\u0430 \u0413. \u000A\u0421\u0447\u0435\u0442 N : (1)673817\u000A22.06.2024 09:06\u000A \u041F\u0420\u041E\u0414\u0410\u0416\u0410\u000A\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A): 42\u000A\u0412\u0438\u0434 \u0413\u0421\u041C : 2710124130\u000A\u0410\u0438-92-\u041A-5\u000A 5.000 x 66.40\u000A\u0418\u0422\u041E\u0413: 332.00\u000A\u0422\u0438\u043F \u043E\u043F\u043B\u0430\u0442\u044B: \u0422\u0430\u043B\u043E\u043D\u044B: \u0422\u043E\u043F\u043B\u0438\u0432\u043D\u0430\u044F \u041A\u0430\u0440\u0442\u0430\u000A00562\u000A ______________________\u000A (\u043F\u043E\u0434\u043F\u0438\u0441\u044C)" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:28:23]execute_script... [09:28:23]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "print_text", "params" : { "text" : " *****\u0422\u041E\u0412\u0410\u0420\u041D\u042B\u0419 \u0427\u0415\u041A*****\u000A \u0410\u0417\u0421 120\u000A \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u043D\u0435\u0444\u0442\u044C\u000A 02508201610067\u000A\u041A\u0430\u0441\u0441\u0438\u0440 : \u0411\u0430\u0439\u0431\u0443\u0433\u0443\u0435\u0432\u0430 \u0413. \u000A\u0421\u0447\u0435\u0442 N : (1)673817\u000A22.06.2024 09:06\u000A \u041F\u0420\u041E\u0414\u0410\u0416\u0410\u000A\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A): 42\u000A\u0412\u0438\u0434 \u0413\u0421\u041C : 2710124130\u000A\u0410\u0438-92-\u041A-5\u000A 5.000 x 66.40\u000A\u0418\u0422\u041E\u0413: 332.00\u000A\u0422\u0438\u043F \u043E\u043F\u043B\u0430\u0442\u044B: \u0422\u0430\u043B\u043E\u043D\u044B: \u0422\u043E\u043F\u043B\u0438\u0432\u043D\u0430\u044F \u041A\u0430\u0440\u0442\u0430\u000A00562\u000A ______________________\u000A (\u043F\u043E\u0434\u043F\u0438\u0441\u044C)" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:28:23]POST & json_proto [09:28:23]process_json_proto [09:28:23]json parsed OK: [09:28:23]protocol is kg_v1.0 [09:28:23]action value=print_text [09:28:23]process_action print_text [09:28:23]cmd_print_text [09:28:23]ExternCall_PrintAddStr [09:28:23]wPrintStart [09:28:23]Write to MH i2c: 01 00 00 2A 12 3C [09:28:23]Write i2c OK [09:28:23]MH_I2C_Read... [09:28:23]Read from MH i2c: 01 [09:28:23]MH_I2C_Read... [09:28:23]Read from MH i2c: 01 07 00 [09:28:23]MH_I2C_Read... [09:28:23]Read from MH i2c: 01 07 00 2A 12 00 00 00 00 00 FF 0F 51 [09:28:23]RasterBufferAndPrint [09:28:23]line *****ТОВАРНЫЙ ЧЕК***** [09:28:23]line АЗС 120 [09:28:23]line Партнер нефть [09:28:23]line 02508201610067 [09:28:23]line Кассир : Байбугуева Г. [09:28:23]line Счет N : (1)673817 [09:28:23]line 22.06.2024 09:06 [09:28:23]line ПРОДАЖА [09:28:23]line ТРК (МРК, ГНК): 42 [09:28:23]line Вид ГСМ : 2710124130 [09:28:23]line Аи-92-К-5 [09:28:23]line 5.000 x 66.40 [09:28:23]line ИТОГ: 332.00 [09:28:23]line Тип оплаты: Талоны: Топливная Карта [09:28:23]line 00562 [09:28:23]line ______________________ [09:28:23]line (подпись) [09:28:23]written 0, free lines is 4095 [09:28:23]Write to MH i2c: 01 00 00 3E 12 50 [09:28:23]Write i2c OK [09:28:23]MH_I2C_Read... [09:28:23]Read from MH i2c: 01 [09:28:23]MH_I2C_Read... [09:28:23]Read from MH i2c: 01 07 00 [09:28:23]MH_I2C_Read... [09:28:23]Read from MH i2c: 01 07 00 3E 12 00 00 00 00 00 11 0E 76 [09:28:23]RasterBufferAndPrint [09:28:23]line [09:28:23]line [09:28:23]line [09:28:23]line [09:28:23]line [09:28:23]written 0, free lines is 3602 [09:28:23]MH_Cut [09:28:23]Write to MH i2c: D1 01 00 45 12 01 29 [09:28:23]Write i2c OK [09:28:23]MH_I2C_Read... [09:28:23]Read from MH i2c: D1 [09:28:23]MH_I2C_Read... [09:28:23]Read from MH i2c: D1 01 00 [09:28:23]MH_I2C_Read... [09:28:23]Read from MH i2c: D1 01 00 45 12 00 28 [09:28:23]Write to MH i2c: 01 00 00 46 12 58 [09:28:23]Write i2c OK [09:28:23]MH_I2C_Read... [09:28:24]*** Cut start [09:28:24]*** Partial cut [09:28:24]*** CUTSNS_PIN = 1 [09:28:24]*** CUTSNS_PIN = 0 [09:28:24]*** Brake cut motor [09:28:25]Read from MH i2c: 01 [09:28:25]MH_I2C_Read... [09:28:25]*** Stop cut motor [09:28:25]*** Cut end [09:28:25]Read from MH i2c: 01 07 00 [09:28:25]MH_I2C_Read... [09:28:25]Read from MH i2c: 01 07 00 46 12 00 00 00 00 00 FF 0F 6D [09:28:25]process_action print_text done [09:28:25]requested_data is exist [09:28:25]produce_requested_data [09:28:25]requested_item fm.sn is exist - process it [09:28:25]wFMCommunicate request_size=4 [09:28:25]MH_SAM_APDU [09:28:25]CAPDU: 80 11 00 00 [09:28:25]Write to MH i2c: E2 08 00 47 12 80 11 00 00 00 00 00 00 D3 [09:28:25]Write i2c OK [09:28:25]MH_I2C_Read... [09:28:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:28:25]Read from MH i2c: E2 [09:28:25]MH_I2C_Read... [09:28:25]Read from MH i2c: E2 17 00 [09:28:25]MH_I2C_Read... [09:28:25]Read from MH i2c: E2 17 00 47 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 28 [09:28:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [09:28:25]wFMCommunicate OK [09:28:25]requested_item fd.num is exist - process it [09:28:25]SAM_PROTO_GetFieldsCounters [09:28:25]wFMCommunicate request_size=4 [09:28:25]MH_SAM_APDU [09:28:25]CAPDU: 80 13 00 00 [09:28:25]Write to MH i2c: E2 08 00 48 12 80 13 00 00 00 00 00 00 D6 [09:28:25]Write i2c OK [09:28:25]MH_I2C_Read... [09:28:25]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:28:25]Read from MH i2c: E2 [09:28:25]MH_I2C_Read... [09:28:25]Read from MH i2c: E2 62 00 [09:28:25]MH_I2C_Read... [09:28:25]Read from MH i2c: E2 62 00 48 12 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 19 87 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 09 [09:28:25]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 19 87 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 [09:28:25]wFMCommunicate OK [09:28:25]SAM_PROTO_GetFieldsCounters done [09:28:25]requested_item shift.num is exist - process it [09:28:25]requested_item shift.opened is exist - process it [09:28:25]req_shift_opened [09:28:25]FM_GetShiftState [09:28:25]SAM_PROTO_GetShiftState [09:28:25]wFMCommunicate request_size=4 [09:28:25]MH_SAM_APDU [09:28:25]CAPDU: 80 13 01 00 [09:28:25]Write to MH i2c: E2 08 00 49 12 80 13 01 00 00 00 00 00 D8 [09:28:25]Write i2c OK [09:28:25]MH_I2C_Read... [09:28:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:28:25]Read from MH i2c: E2 [09:28:25]MH_I2C_Read... [09:28:25]Read from MH i2c: E2 0E 00 [09:28:25]MH_I2C_Read... [09:28:25]Read from MH i2c: E2 0E 00 49 12 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 92 [09:28:25]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [09:28:25]wFMCommunicate OK [09:28:25]SAM_PROTO_GetShiftState done [09:28:25]FM_GetShiftState done [09:28:25]req_shift_opened done [09:28:25]requested_item shift.open_date is exist - process it [09:28:25]req_shift_open_date [09:28:25]req_shift_open_date done [09:28:25]produce_requested_data done [09:28:25]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34585,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120} [09:28:25]process_action_free print_text [09:28:25]json_value_free [09:28:25]json_value_free done [09:28:25]process_json_proto returns [09:28:25]Send response to host [09:28:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34585,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120}}} [09:28:25]free response buf [09:28:25]execute_script done [09:28:25]execute_script returns [09:28:25]free content buf [09:28:25]Sock 9.Close socket [09:28:25]Sock 9.Thread stoped [09:29:36]ConnectInit Can't connect to host [09:29:36]CommunicateWithHost connect error [09:29:36]CommunicateWithHost err = -1 [09:29:36]OFD Sender: Server communicate error [09:29:41]OFD Sender: Processing packet 34585 [packets to send 8, broken 7] [09:29:41]ProducePacketName [09:29:41]name=ofd_packets/00034585 [09:29:41]OFD Sender: To server: pG, [09:29:41]CommunicateWithHost lk.salyk.kg:30040 [09:29:41]ConnectInit lk.salyk.kg [09:29:41]Connected sock=10 [09:29:41]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 46 01 00 00 BE 62 3E 01 52 4E 5A 03 01 00 03 00 32 01 1E 04 01 00 01 23 04 84 00 8A 04 10 00 30 30 31 30 34 32 30 31 33 31 30 30 33 31 33 33 06 04 3D 00 D0 A3 D0 B3 D0 BE D0 BB D1 8C 20 D0 B4 D1 80 D0 B5 D0 B2 D0 B5 D1 81 D0 BD D1 8B D0 B9 20 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 20 33 D0 BA D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 9A 00 00 00 00 13 04 06 00 4C 9A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 9A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5E 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 63 10 00 00 00 00 07 04 06 00 4C 9A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 FF 98 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 19 87 00 00 35 04 06 00 E0 31 04 97 13 CC B6 96 B0 C2 99 DC AB 13 [09:29:42]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 1B 7E 47 00 E4 B9 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 19 87 00 00 F4 03 04 00 4C 40 76 66 B6 04 01 00 00 D2 9D 90 AB B9 E1 CB E0 [09:29:42]CommunicateWithHost err = 0 [09:29:42]CheckOFDResponse [09:29:42]1017 (14) - 77093643461234 [09:29:42]1041 (16) - 0000000000875095 [09:29:42]1040 (4) - 34585 [09:29:42]1012 (4) - 22.06.2024 03:09 [09:29:42]1206 (1) - 0 [09:29:42]OFD Sender: Remove packet 34585 [09:29:42]ProducePacketName [09:29:42]name=ofd_packets/00034585 [09:29:42]NVStorageDeleteData [09:29:42]OFD Sender: No OFD packet to send [09:29:47]OFD Sender: No OFD packet to send [09:29:52]OFD Sender: No OFD packet to send [09:29:57]OFD Sender: No OFD packet to send [09:30:02]OFD Sender: No OFD packet to send [09:30:07]OFD Sender: No OFD packet to send [09:30:12]OFD Sender: No OFD packet to send [09:30:17]OFD Sender: No OFD packet to send [09:30:22]OFD Sender: No OFD packet to send [09:30:27]OFD Sender: No OFD packet to send [09:30:32]OFD Sender: No OFD packet to send [09:30:37]OFD Sender: No OFD packet to send [09:30:42]OFD Sender: No OFD packet to send [09:30:47]OFD Sender: No OFD packet to send [09:30:52]OFD Sender: No OFD packet to send [09:30:57]OFD Sender: No OFD packet to send [09:31:02]OFD Sender: No OFD packet to send [09:31:07]OFD Sender: No OFD packet to send [09:31:12]OFD Sender: No OFD packet to send [09:31:17]OFD Sender: No OFD packet to send [09:31:22]OFD Sender: No OFD packet to send [09:31:27]OFD Sender: No OFD packet to send [09:31:32]OFD Sender: No OFD packet to send [09:31:37]OFD Sender: No OFD packet to send [09:31:42]OFD Sender: No OFD packet to send [09:31:47]OFD Sender: No OFD packet to send [09:31:52]OFD Sender: No OFD packet to send [09:31:57]OFD Sender: No OFD packet to send [09:32:02]OFD Sender: No OFD packet to send [09:32:07]OFD Sender: No OFD packet to send [09:32:12]OFD Sender: No OFD packet to send [09:32:17]OFD Sender: No OFD packet to send [09:32:22]OFD Sender: No OFD packet to send [09:32:27]OFD Sender: No OFD packet to send [09:32:32]OFD Sender: No OFD packet to send [09:32:36]accept exits with 7 [09:32:36]New connection [09:32:36]New thread 3067473252 created [09:32:36]Thread 3067616612 joined [09:32:36]Waiting for new connection... [09:32:36] Sock 7.Parse request [09:32:36]Sock 7.Check first char [09:32:36]Sock 7.First char is OK [09:32:36]request: POST /json_proto HTTP/1.0 [09:32:36]Method: POST [09:32:36]URL: /json_proto [09:32:36]Method is POST - this is cgi request [09:32:36]url: /json_proto [09:32:36]query_string will be loaded in cgi processing [09:32:36]execute_cgi json_proto POST (null) [09:32:36]execute_cgi path=json_proto method=POST [09:32:36]POST find Content-Length [09:32:36]Host: 172.17.38.134:8080 [09:32:36]Content-Length: 1212 [09:32:36]Content-Type: application/json [09:32:36] [09:32:36]POST finish read [09:32:36]Found Content-Length = 1212 [09:32:36]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "print_text", "params" : { "text" : " *****\u0422\u041E\u0412\u0410\u0420\u041D\u042B\u0419 \u0427\u0415\u041A*****\u000A \u0410\u0417\u0421 120\u000A \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u043D\u0435\u0444\u0442\u044C\u000A 02508201610067\u000A\u041A\u0430\u0441\u0441\u0438\u0440 : \u0411\u0430\u0439\u0431\u0443\u0433\u0443\u0435\u0432\u0430 \u0413. \u000A\u0421\u0447\u0435\u0442 N : (1)673819\u000A22.06.2024 09:10\u000A \u041F\u0420\u041E\u0414\u0410\u0416\u0410\u000A\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A): 21\u000A\u0412\u0438\u0434 \u0413\u0421\u041C : 2710194210\u000A\u0414\u0422(\u043B)-\u041A-5\u000A 60.000 x 72.90\u000A\u0418\u0422\u041E\u0413: 4374.00\u000A\u0422\u0438\u043F \u043E\u043F\u043B\u0430\u0442\u044B: \u0422\u0430\u043B\u043E\u043D\u044B: \u0422\u043E\u043F\u043B\u0438\u0432\u043D\u0430\u044F \u041A\u0430\u0440\u0442\u0430\u000A00562\u000A ______________________\u000A (\u043F\u043E\u0434\u043F\u0438\u0441\u044C)" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:32:36]execute_script... [09:32:36]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "print_text", "params" : { "text" : " *****\u0422\u041E\u0412\u0410\u0420\u041D\u042B\u0419 \u0427\u0415\u041A*****\u000A \u0410\u0417\u0421 120\u000A \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u043D\u0435\u0444\u0442\u044C\u000A 02508201610067\u000A\u041A\u0430\u0441\u0441\u0438\u0440 : \u0411\u0430\u0439\u0431\u0443\u0433\u0443\u0435\u0432\u0430 \u0413. \u000A\u0421\u0447\u0435\u0442 N : (1)673819\u000A22.06.2024 09:10\u000A \u041F\u0420\u041E\u0414\u0410\u0416\u0410\u000A\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A): 21\u000A\u0412\u0438\u0434 \u0413\u0421\u041C : 2710194210\u000A\u0414\u0422(\u043B)-\u041A-5\u000A 60.000 x 72.90\u000A\u0418\u0422\u041E\u0413: 4374.00\u000A\u0422\u0438\u043F \u043E\u043F\u043B\u0430\u0442\u044B: \u0422\u0430\u043B\u043E\u043D\u044B: \u0422\u043E\u043F\u043B\u0438\u0432\u043D\u0430\u044F \u041A\u0430\u0440\u0442\u0430\u000A00562\u000A ______________________\u000A (\u043F\u043E\u0434\u043F\u0438\u0441\u044C)" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:32:36]POST & json_proto [09:32:36]process_json_proto [09:32:36]json parsed OK: [09:32:36]protocol is kg_v1.0 [09:32:36]action value=print_text [09:32:36]process_action print_text [09:32:36]cmd_print_text [09:32:36]ExternCall_PrintAddStr [09:32:36]wPrintStart [09:32:36]Write to MH i2c: 01 00 00 4A 12 5C [09:32:36]Write i2c OK [09:32:36]MH_I2C_Read... [09:32:36]Read from MH i2c: 01 [09:32:36]MH_I2C_Read... [09:32:36]Read from MH i2c: 01 07 00 [09:32:36]MH_I2C_Read... [09:32:36]Read from MH i2c: 01 07 00 4A 12 00 00 00 00 00 FF 0F 71 [09:32:36]RasterBufferAndPrint [09:32:36]line *****ТОВАРНЫЙ ЧЕК***** [09:32:36]line АЗС 120 [09:32:36]line Партнер нефть [09:32:36]line 02508201610067 [09:32:36]line Кассир : Байбугуева Г. [09:32:36]line Счет N : (1)673819 [09:32:36]line 22.06.2024 09:10 [09:32:36]line ПРОДАЖА [09:32:36]line ТРК (МРК, ГНК): 21 [09:32:36]line Вид ГСМ : 2710194210 [09:32:36]line ДТ(л)-К-5 [09:32:36]line 60.000 x 72.90 [09:32:36]line ИТОГ: 4374.00 [09:32:36]line Тип оплаты: Талоны: Топливная Карта [09:32:36]line 00562 [09:32:36]line ______________________ [09:32:36]line (подпись) [09:32:36]written 0, free lines is 4095 [09:32:37]Write to MH i2c: 01 00 00 5E 12 70 [09:32:37]Write i2c OK [09:32:37]MH_I2C_Read... [09:32:37]Read from MH i2c: 01 [09:32:37]MH_I2C_Read... [09:32:37]Read from MH i2c: 01 07 00 [09:32:37]MH_I2C_Read... [09:32:37]Read from MH i2c: 01 07 00 5E 12 00 00 00 00 00 11 0E 96 [09:32:37]RasterBufferAndPrint [09:32:37]line [09:32:37]line [09:32:37]line [09:32:37]line [09:32:37]line [09:32:37]written 0, free lines is 3602 [09:32:37]MH_Cut [09:32:37]Write to MH i2c: D1 01 00 65 12 01 49 [09:32:37]Write i2c OK [09:32:37]MH_I2C_Read... [09:32:37]Read from MH i2c: D1 [09:32:37]MH_I2C_Read... [09:32:37]Read from MH i2c: D1 01 00 [09:32:37]MH_I2C_Read... [09:32:37]Read from MH i2c: D1 01 00 65 12 00 48 [09:32:37]Write to MH i2c: 01 00 00 66 12 78 [09:32:37]Write i2c OK [09:32:37]MH_I2C_Read... [09:32:37]*** Cut start [09:32:37]*** Partial cut [09:32:37]*** CUTSNS_PIN = 1 [09:32:37]OFD Sender: No OFD packet to send [09:32:37]*** CUTSNS_PIN = 0 [09:32:37]*** Brake cut motor [09:32:38]Read from MH i2c: 01 [09:32:38]MH_I2C_Read... [09:32:38]*** Stop cut motor [09:32:38]*** Cut end [09:32:38]Read from MH i2c: 01 07 00 [09:32:38]MH_I2C_Read... [09:32:38]Read from MH i2c: 01 07 00 66 12 00 00 00 00 00 FF 0F 8D [09:32:38]process_action print_text done [09:32:38]requested_data is exist [09:32:38]produce_requested_data [09:32:38]requested_item fm.sn is exist - process it [09:32:38]wFMCommunicate request_size=4 [09:32:38]MH_SAM_APDU [09:32:38]CAPDU: 80 11 00 00 [09:32:38]Write to MH i2c: E2 08 00 67 12 80 11 00 00 00 00 00 00 F3 [09:32:38]Write i2c OK [09:32:38]MH_I2C_Read... [09:32:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:32:38]Read from MH i2c: E2 [09:32:38]MH_I2C_Read... [09:32:38]Read from MH i2c: E2 17 00 [09:32:38]MH_I2C_Read... [09:32:38]Read from MH i2c: E2 17 00 67 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 48 [09:32:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [09:32:38]wFMCommunicate OK [09:32:38]requested_item fd.num is exist - process it [09:32:38]SAM_PROTO_GetFieldsCounters [09:32:38]wFMCommunicate request_size=4 [09:32:38]MH_SAM_APDU [09:32:38]CAPDU: 80 13 00 00 [09:32:38]Write to MH i2c: E2 08 00 68 12 80 13 00 00 00 00 00 00 F6 [09:32:38]Write i2c OK [09:32:38]MH_I2C_Read... [09:32:38]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:32:38]Read from MH i2c: E2 [09:32:38]MH_I2C_Read... [09:32:38]Read from MH i2c: E2 62 00 [09:32:38]MH_I2C_Read... [09:32:38]Read from MH i2c: E2 62 00 68 12 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 19 87 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 29 [09:32:38]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 19 87 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 [09:32:38]wFMCommunicate OK [09:32:38]SAM_PROTO_GetFieldsCounters done [09:32:38]requested_item shift.num is exist - process it [09:32:38]requested_item shift.opened is exist - process it [09:32:38]req_shift_opened [09:32:38]FM_GetShiftState [09:32:38]SAM_PROTO_GetShiftState [09:32:38]wFMCommunicate request_size=4 [09:32:38]MH_SAM_APDU [09:32:38]CAPDU: 80 13 01 00 [09:32:38]Write to MH i2c: E2 08 00 69 12 80 13 01 00 00 00 00 00 F8 [09:32:38]Write i2c OK [09:32:38]MH_I2C_Read... [09:32:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:32:38]Read from MH i2c: E2 [09:32:38]MH_I2C_Read... [09:32:38]Read from MH i2c: E2 0E 00 [09:32:38]MH_I2C_Read... [09:32:38]Read from MH i2c: E2 0E 00 69 12 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 B2 [09:32:38]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [09:32:38]wFMCommunicate OK [09:32:38]SAM_PROTO_GetShiftState done [09:32:38]FM_GetShiftState done [09:32:38]req_shift_opened done [09:32:38]requested_item shift.open_date is exist - process it [09:32:38]req_shift_open_date [09:32:38]req_shift_open_date done [09:32:38]produce_requested_data done [09:32:38]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34585,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120} [09:32:38]process_action_free print_text [09:32:38]json_value_free [09:32:38]json_value_free done [09:32:38]process_json_proto returns [09:32:38]Send response to host [09:32:38]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34585,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120}}} [09:32:38]free response buf [09:32:38]execute_script done [09:32:38]execute_script returns [09:32:38]free content buf [09:32:38]Sock 7.Close socket [09:32:38]Sock 7.Thread stoped [09:32:42]OFD Sender: No OFD packet to send [09:32:47]OFD Sender: No OFD packet to send [09:32:52]OFD Sender: No OFD packet to send [09:32:57]OFD Sender: No OFD packet to send [09:33:02]OFD Sender: No OFD packet to send [09:33:07]OFD Sender: No OFD packet to send [09:33:12]OFD Sender: No OFD packet to send [09:33:17]OFD Sender: No OFD packet to send [09:33:22]OFD Sender: No OFD packet to send [09:33:27]OFD Sender: No OFD packet to send [09:33:32]OFD Sender: No OFD packet to send [09:33:37]OFD Sender: No OFD packet to send [09:33:42]OFD Sender: No OFD packet to send [09:33:47]OFD Sender: No OFD packet to send [09:33:52]OFD Sender: No OFD packet to send [09:33:57]OFD Sender: No OFD packet to send [09:34:02]OFD Sender: No OFD packet to send [09:34:07]OFD Sender: No OFD packet to send [09:34:12]OFD Sender: No OFD packet to send [09:34:17]OFD Sender: No OFD packet to send [09:34:22]OFD Sender: No OFD packet to send [09:34:27]OFD Sender: No OFD packet to send [09:34:32]OFD Sender: No OFD packet to send [09:34:37]OFD Sender: No OFD packet to send [09:34:42]OFD Sender: No OFD packet to send [09:34:47]OFD Sender: No OFD packet to send [09:34:51]accept exits with 9 [09:34:51]New connection [09:34:51]New thread 3067616612 created [09:34:51]Thread 3067473252 joined [09:34:51]Waiting for new connection... [09:34:51] Sock 9.Parse request [09:34:51]Sock 9.Check first char [09:34:51]Sock 9.First char is OK [09:34:51]request: POST /json_proto HTTP/1.0 [09:34:51]Method: POST [09:34:51]URL: /json_proto [09:34:51]Method is POST - this is cgi request [09:34:51]url: /json_proto [09:34:51]query_string will be loaded in cgi processing [09:34:51]execute_cgi json_proto POST (null) [09:34:51]execute_cgi path=json_proto method=POST [09:34:51]POST find Content-Length [09:34:51]Host: 172.17.38.134:8080 [09:34:51]Content-Length: 1212 [09:34:51]Content-Type: application/json [09:34:51] [09:34:51]POST finish read [09:34:51]Found Content-Length = 1212 [09:34:51]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "print_text", "params" : { "text" : " *****\u0422\u041E\u0412\u0410\u0420\u041D\u042B\u0419 \u0427\u0415\u041A*****\u000A \u0410\u0417\u0421 120\u000A \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u043D\u0435\u0444\u0442\u044C\u000A 02508201610067\u000A\u041A\u0430\u0441\u0441\u0438\u0440 : \u0411\u0430\u0439\u0431\u0443\u0433\u0443\u0435\u0432\u0430 \u0413. \u000A\u0421\u0447\u0435\u0442 N : (1)673818\u000A22.06.2024 09:13\u000A \u041F\u0420\u041E\u0414\u0410\u0416\u0410\u000A\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A): 11\u000A\u0412\u0438\u0434 \u0413\u0421\u041C : 2710194210\u000A\u0414\u0422(\u043B)-\u041A-5\u000A 68.000 x 72.90\u000A\u0418\u0422\u041E\u0413: 4957.20\u000A\u0422\u0438\u043F \u043E\u043F\u043B\u0430\u0442\u044B: \u0422\u0430\u043B\u043E\u043D\u044B: \u0422\u043E\u043F\u043B\u0438\u0432\u043D\u0430\u044F \u041A\u0430\u0440\u0442\u0430\u000A00562\u000A ______________________\u000A (\u043F\u043E\u0434\u043F\u0438\u0441\u044C)" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:34:51]execute_script... [09:34:51]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "print_text", "params" : { "text" : " *****\u0422\u041E\u0412\u0410\u0420\u041D\u042B\u0419 \u0427\u0415\u041A*****\u000A \u0410\u0417\u0421 120\u000A \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u043D\u0435\u0444\u0442\u044C\u000A 02508201610067\u000A\u041A\u0430\u0441\u0441\u0438\u0440 : \u0411\u0430\u0439\u0431\u0443\u0433\u0443\u0435\u0432\u0430 \u0413. \u000A\u0421\u0447\u0435\u0442 N : (1)673818\u000A22.06.2024 09:13\u000A \u041F\u0420\u041E\u0414\u0410\u0416\u0410\u000A\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A): 11\u000A\u0412\u0438\u0434 \u0413\u0421\u041C : 2710194210\u000A\u0414\u0422(\u043B)-\u041A-5\u000A 68.000 x 72.90\u000A\u0418\u0422\u041E\u0413: 4957.20\u000A\u0422\u0438\u043F \u043E\u043F\u043B\u0430\u0442\u044B: \u0422\u0430\u043B\u043E\u043D\u044B: \u0422\u043E\u043F\u043B\u0438\u0432\u043D\u0430\u044F \u041A\u0430\u0440\u0442\u0430\u000A00562\u000A ______________________\u000A (\u043F\u043E\u0434\u043F\u0438\u0441\u044C)" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:34:51]POST & json_proto [09:34:51]process_json_proto [09:34:51]json parsed OK: [09:34:51]protocol is kg_v1.0 [09:34:51]action value=print_text [09:34:51]process_action print_text [09:34:51]cmd_print_text [09:34:51]ExternCall_PrintAddStr [09:34:51]wPrintStart [09:34:51]Write to MH i2c: 01 00 00 6A 12 7C [09:34:51]Write i2c OK [09:34:51]MH_I2C_Read... [09:34:51]Read from MH i2c: 01 [09:34:51]MH_I2C_Read... [09:34:51]Read from MH i2c: 01 07 00 [09:34:51]MH_I2C_Read... [09:34:51]Read from MH i2c: 01 07 00 6A 12 00 00 00 00 00 FF 0F 91 [09:34:51]RasterBufferAndPrint [09:34:51]line *****ТОВАРНЫЙ ЧЕК***** [09:34:51]line АЗС 120 [09:34:51]line Партнер нефть [09:34:51]line 02508201610067 [09:34:51]line Кассир : Байбугуева Г. [09:34:51]line Счет N : (1)673818 [09:34:51]line 22.06.2024 09:13 [09:34:51]line ПРОДАЖА [09:34:51]line ТРК (МРК, ГНК): 11 [09:34:51]line Вид ГСМ : 2710194210 [09:34:51]line ДТ(л)-К-5 [09:34:51]line 68.000 x 72.90 [09:34:51]line ИТОГ: 4957.20 [09:34:51]line Тип оплаты: Талоны: Топливная Карта [09:34:51]line 00562 [09:34:51]line ______________________ [09:34:51]line (подпись) [09:34:51]written 0, free lines is 4095 [09:34:51]Write to MH i2c: 01 00 00 7E 12 90 [09:34:51]Write i2c OK [09:34:51]MH_I2C_Read... [09:34:51]Read from MH i2c: 01 [09:34:51]MH_I2C_Read... [09:34:51]Read from MH i2c: 01 07 00 [09:34:51]MH_I2C_Read... [09:34:51]Read from MH i2c: 01 07 00 7E 12 00 00 00 00 00 11 0E B6 [09:34:51]RasterBufferAndPrint [09:34:51]line [09:34:51]line [09:34:51]line [09:34:51]line [09:34:51]line [09:34:51]written 0, free lines is 3603 [09:34:51]MH_Cut [09:34:51]Write to MH i2c: D1 01 00 85 12 01 69 [09:34:51]Write i2c OK [09:34:51]MH_I2C_Read... [09:34:51]Read from MH i2c: D1 [09:34:51]MH_I2C_Read... [09:34:51]Read from MH i2c: D1 01 00 [09:34:51]MH_I2C_Read... [09:34:51]Read from MH i2c: D1 01 00 85 12 00 68 [09:34:51]Write to MH i2c: 01 00 00 86 12 98 [09:34:51]Write i2c OK [09:34:51]MH_I2C_Read... [09:34:52]*** Cut start [09:34:52]*** Partial cut [09:34:52]*** CUTSNS_PIN = 1 [09:34:52]*** CUTSNS_PIN = 0 [09:34:52]*** Brake cut motor [09:34:52]Read from MH i2c: 01 [09:34:52]MH_I2C_Read... [09:34:52]Read from MH i2c: 01 07 00 [09:34:52]MH_I2C_Read... [09:34:52]*** Stop cut motor [09:34:52]*** Cut end [09:34:52]Read from MH i2c: 01 07 00 86 12 00 00 00 00 00 FF 0F AD [09:34:52]process_action print_text done [09:34:52]requested_data is exist [09:34:52]produce_requested_data [09:34:52]requested_item fm.sn is exist - process it [09:34:52]wFMCommunicate request_size=4 [09:34:52]MH_SAM_APDU [09:34:52]CAPDU: 80 11 00 00 [09:34:52]Write to MH i2c: E2 08 00 87 12 80 11 00 00 00 00 00 00 13 [09:34:52]Write i2c OK [09:34:52]MH_I2C_Read... [09:34:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:34:52]Read from MH i2c: E2 [09:34:52]MH_I2C_Read... [09:34:52]Read from MH i2c: E2 17 00 [09:34:52]MH_I2C_Read... [09:34:52]Read from MH i2c: E2 17 00 87 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 68 [09:34:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [09:34:52]wFMCommunicate OK [09:34:52]requested_item fd.num is exist - process it [09:34:52]SAM_PROTO_GetFieldsCounters [09:34:52]wFMCommunicate request_size=4 [09:34:52]MH_SAM_APDU [09:34:52]CAPDU: 80 13 00 00 [09:34:52]Write to MH i2c: E2 08 00 88 12 80 13 00 00 00 00 00 00 16 [09:34:52]Write i2c OK [09:34:52]MH_I2C_Read... [09:34:52]OFD Sender: No OFD packet to send [09:34:52]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:34:52]Read from MH i2c: E2 [09:34:52]MH_I2C_Read... [09:34:52]Read from MH i2c: E2 62 00 [09:34:52]MH_I2C_Read... [09:34:52]Read from MH i2c: E2 62 00 88 12 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 19 87 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 49 [09:34:52]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 19 87 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 [09:34:52]wFMCommunicate OK [09:34:52]SAM_PROTO_GetFieldsCounters done [09:34:52]requested_item shift.num is exist - process it [09:34:52]requested_item shift.opened is exist - process it [09:34:52]req_shift_opened [09:34:52]FM_GetShiftState [09:34:52]SAM_PROTO_GetShiftState [09:34:52]wFMCommunicate request_size=4 [09:34:52]MH_SAM_APDU [09:34:52]CAPDU: 80 13 01 00 [09:34:52]Write to MH i2c: E2 08 00 89 12 80 13 01 00 00 00 00 00 18 [09:34:52]Write i2c OK [09:34:52]MH_I2C_Read... [09:34:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:34:52]Read from MH i2c: E2 [09:34:52]MH_I2C_Read... [09:34:52]Read from MH i2c: E2 0E 00 [09:34:52]MH_I2C_Read... [09:34:52]Read from MH i2c: E2 0E 00 89 12 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 D2 [09:34:52]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [09:34:52]wFMCommunicate OK [09:34:52]SAM_PROTO_GetShiftState done [09:34:52]FM_GetShiftState done [09:34:52]req_shift_opened done [09:34:52]requested_item shift.open_date is exist - process it [09:34:52]req_shift_open_date [09:34:52]req_shift_open_date done [09:34:52]produce_requested_data done [09:34:52]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34585,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120} [09:34:52]process_action_free print_text [09:34:52]json_value_free [09:34:52]json_value_free done [09:34:52]process_json_proto returns [09:34:52]Send response to host [09:34:52]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34585,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120}}} [09:34:52]free response buf [09:34:52]execute_script done [09:34:52]execute_script returns [09:34:52]free content buf [09:34:52]Sock 9.Close socket [09:34:52]Sock 9.Thread stoped [09:34:57]OFD Sender: No OFD packet to send [09:35:02]OFD Sender: No OFD packet to send [09:35:07]OFD Sender: No OFD packet to send [09:35:12]OFD Sender: No OFD packet to send [09:35:17]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:00]accept exits with 7 [09:36:00]New connection [09:36:00]New thread 3067473252 created [09:36:00]Thread 3067616612 joined [09:36:00]Waiting for new connection... [09:36:00] Sock 7.Parse request [09:36:00]Sock 7.Check first char [09:36:00]Sock 7.First char is OK [09:36:00]request: POST /json_proto HTTP/1.0 [09:36:00]Method: POST [09:36:00]URL: /json_proto [09:36:00]Method is POST - this is cgi request [09:36:00]url: /json_proto [09:36:00]query_string will be loaded in cgi processing [09:36:00]execute_cgi json_proto POST (null) [09:36:00]execute_cgi path=json_proto method=POST [09:36:00]POST find Content-Length [09:36:00]Host: 172.17.38.134:8080 [09:36:00]Content-Length: 1206 [09:36:00]Content-Type: application/json [09:36:00] [09:36:00]POST finish read [09:36:00]Found Content-Length = 1206 [09:36:00]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "print_text", "params" : { "text" : " *****\u0422\u041E\u0412\u0410\u0420\u041D\u042B\u0419 \u0427\u0415\u041A*****\u000A \u0410\u0417\u0421 120\u000A \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u043D\u0435\u0444\u0442\u044C\u000A 02508201610067\u000A\u041A\u0430\u0441\u0441\u0438\u0440 : \u0411\u0430\u0439\u0431\u0443\u0433\u0443\u0435\u0432\u0430 \u0413. \u000A\u0421\u0447\u0435\u0442 N : (1)673821\u000A22.06.2024 09:14\u000A \u041F\u0420\u041E\u0414\u0410\u0416\u0410\u000A\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A): 32\u000A\u0412\u0438\u0434 \u0413\u0421\u041C : 2710124130\u000A\u0410\u0438-92-\u041A-5\u000A 15.000 x 66.40\u000A\u0418\u0422\u041E\u0413: 996.00\u000A\u0422\u0438\u043F \u043E\u043F\u043B\u0430\u0442\u044B: \u0422\u0430\u043B\u043E\u043D\u044B: \u0422\u043E\u043F\u043B\u0438\u0432\u043D\u0430\u044F \u041A\u0430\u0440\u0442\u0430\u000A00562\u000A ______________________\u000A (\u043F\u043E\u0434\u043F\u0438\u0441\u044C)" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:36:00]execute_script... [09:36:00]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "print_text", "params" : { "text" : " *****\u0422\u041E\u0412\u0410\u0420\u041D\u042B\u0419 \u0427\u0415\u041A*****\u000A \u0410\u0417\u0421 120\u000A \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u043D\u0435\u0444\u0442\u044C\u000A 02508201610067\u000A\u041A\u0430\u0441\u0441\u0438\u0440 : \u0411\u0430\u0439\u0431\u0443\u0433\u0443\u0435\u0432\u0430 \u0413. \u000A\u0421\u0447\u0435\u0442 N : (1)673821\u000A22.06.2024 09:14\u000A \u041F\u0420\u041E\u0414\u0410\u0416\u0410\u000A\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A): 32\u000A\u0412\u0438\u0434 \u0413\u0421\u041C : 2710124130\u000A\u0410\u0438-92-\u041A-5\u000A 15.000 x 66.40\u000A\u0418\u0422\u041E\u0413: 996.00\u000A\u0422\u0438\u043F \u043E\u043F\u043B\u0430\u0442\u044B: \u0422\u0430\u043B\u043E\u043D\u044B: \u0422\u043E\u043F\u043B\u0438\u0432\u043D\u0430\u044F \u041A\u0430\u0440\u0442\u0430\u000A00562\u000A ______________________\u000A (\u043F\u043E\u0434\u043F\u0438\u0441\u044C)" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:36:00]POST & json_proto [09:36:00]process_json_proto [09:36:00]json parsed OK: [09:36:00]protocol is kg_v1.0 [09:36:00]action value=print_text [09:36:00]process_action print_text [09:36:00]cmd_print_text [09:36:00]ExternCall_PrintAddStr [09:36:00]wPrintStart [09:36:00]Write to MH i2c: 01 00 00 8A 12 9C [09:36:00]Write i2c OK [09:36:00]MH_I2C_Read... [09:36:00]Read from MH i2c: 01 [09:36:00]MH_I2C_Read... [09:36:00]Read from MH i2c: 01 07 00 [09:36:00]MH_I2C_Read... [09:36:00]Read from MH i2c: 01 07 00 8A 12 00 00 00 00 00 FF 0F B1 [09:36:00]RasterBufferAndPrint [09:36:00]line *****ТОВАРНЫЙ ЧЕК***** [09:36:00]line АЗС 120 [09:36:00]line Партнер нефть [09:36:00]line 02508201610067 [09:36:00]line Кассир : Байбугуева Г. [09:36:00]line Счет N : (1)673821 [09:36:00]line 22.06.2024 09:14 [09:36:00]line ПРОДАЖА [09:36:00]line ТРК (МРК, ГНК): 32 [09:36:00]line Вид ГСМ : 2710124130 [09:36:00]line Аи-92-К-5 [09:36:00]line 15.000 x 66.40 [09:36:00]line ИТОГ: 996.00 [09:36:00]line Тип оплаты: Талоны: Топливная Карта [09:36:00]line 00562 [09:36:00]line ______________________ [09:36:00]line (подпись) [09:36:00]written 0, free lines is 4095 [09:36:00]Write to MH i2c: 01 00 00 9E 12 B0 [09:36:00]Write i2c OK [09:36:00]MH_I2C_Read... [09:36:00]Read from MH i2c: 01 [09:36:00]MH_I2C_Read... [09:36:00]Read from MH i2c: 01 07 00 [09:36:00]MH_I2C_Read... [09:36:00]Read from MH i2c: 01 07 00 9E 12 00 00 00 00 00 11 0E D6 [09:36:00]RasterBufferAndPrint [09:36:00]line [09:36:00]line [09:36:00]line [09:36:00]line [09:36:00]line [09:36:00]written 0, free lines is 3603 [09:36:00]MH_Cut [09:36:00]Write to MH i2c: D1 01 00 A5 12 01 89 [09:36:00]Write i2c OK [09:36:00]MH_I2C_Read... [09:36:00]Read from MH i2c: D1 [09:36:00]MH_I2C_Read... [09:36:00]Read from MH i2c: D1 01 00 [09:36:00]MH_I2C_Read... [09:36:00]Read from MH i2c: D1 01 00 A5 12 00 88 [09:36:00]Write to MH i2c: 01 00 00 A6 12 B8 [09:36:00]Write i2c OK [09:36:00]MH_I2C_Read... [09:36:01]*** Cut start [09:36:01]*** Partial cut [09:36:01]*** CUTSNS_PIN = 1 [09:36:01]*** CUTSNS_PIN = 0 [09:36:01]*** Brake cut motor [09:36:01]Read from MH i2c: 01 [09:36:01]MH_I2C_Read... [09:36:01]Read from MH i2c: 01 07 00 [09:36:01]MH_I2C_Read... [09:36:01]*** Stop cut motor [09:36:01]*** Cut end [09:36:01]Read from MH i2c: 01 07 00 A6 12 00 00 00 00 00 FF 0F CD [09:36:01]process_action print_text done [09:36:01]requested_data is exist [09:36:01]produce_requested_data [09:36:01]requested_item fm.sn is exist - process it [09:36:01]wFMCommunicate request_size=4 [09:36:01]MH_SAM_APDU [09:36:01]CAPDU: 80 11 00 00 [09:36:01]Write to MH i2c: E2 08 00 A7 12 80 11 00 00 00 00 00 00 33 [09:36:01]Write i2c OK [09:36:01]MH_I2C_Read... [09:36:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:36:01]Read from MH i2c: E2 [09:36:01]MH_I2C_Read... [09:36:01]Read from MH i2c: E2 17 00 [09:36:01]MH_I2C_Read... [09:36:01]Read from MH i2c: E2 17 00 A7 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 88 [09:36:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [09:36:01]wFMCommunicate OK [09:36:01]requested_item fd.num is exist - process it [09:36:01]SAM_PROTO_GetFieldsCounters [09:36:01]wFMCommunicate request_size=4 [09:36:01]MH_SAM_APDU [09:36:01]CAPDU: 80 13 00 00 [09:36:01]Write to MH i2c: E2 08 00 A8 12 80 13 00 00 00 00 00 00 36 [09:36:01]Write i2c OK [09:36:01]MH_I2C_Read... [09:36:01]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:36:01]Read from MH i2c: E2 [09:36:01]MH_I2C_Read... [09:36:01]Read from MH i2c: E2 62 00 [09:36:01]MH_I2C_Read... [09:36:01]Read from MH i2c: E2 62 00 A8 12 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 19 87 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 69 [09:36:01]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 19 87 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 [09:36:01]wFMCommunicate OK [09:36:01]SAM_PROTO_GetFieldsCounters done [09:36:01]requested_item shift.num is exist - process it [09:36:01]requested_item shift.opened is exist - process it [09:36:01]req_shift_opened [09:36:01]FM_GetShiftState [09:36:01]SAM_PROTO_GetShiftState [09:36:01]wFMCommunicate request_size=4 [09:36:01]MH_SAM_APDU [09:36:01]CAPDU: 80 13 01 00 [09:36:01]Write to MH i2c: E2 08 00 A9 12 80 13 01 00 00 00 00 00 38 [09:36:01]Write i2c OK [09:36:01]MH_I2C_Read... [09:36:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:36:01]Read from MH i2c: E2 [09:36:01]MH_I2C_Read... [09:36:01]Read from MH i2c: E2 0E 00 [09:36:01]MH_I2C_Read... [09:36:01]Read from MH i2c: E2 0E 00 A9 12 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 F2 [09:36:01]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [09:36:01]wFMCommunicate OK [09:36:01]SAM_PROTO_GetShiftState done [09:36:01]FM_GetShiftState done [09:36:01]req_shift_opened done [09:36:01]requested_item shift.open_date is exist - process it [09:36:01]req_shift_open_date [09:36:01]req_shift_open_date done [09:36:01]produce_requested_data done [09:36:01]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34585,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120} [09:36:01]process_action_free print_text [09:36:01]json_value_free [09:36:01]json_value_free done [09:36:01]process_json_proto returns [09:36:01]Send response to host [09:36:01]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34585,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120}}} [09:36:01]free response buf [09:36:01]execute_script done [09:36:01]execute_script returns [09:36:01]free content buf [09:36:01]Sock 7.Close socket [09:36:01]Sock 7.Thread stoped [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:29]accept exits with 9 [09:37:29]New connection [09:37:29]New thread 3067616612 created [09:37:29]Thread 3067473252 joined [09:37:29]Waiting for new connection... [09:37:29] Sock 9.Parse request [09:37:29]Sock 9.Check first char [09:37:29]Sock 9.First char is OK [09:37:29]request: POST /json_proto HTTP/1.0 [09:37:29]Method: POST [09:37:29]URL: /json_proto [09:37:29]Method is POST - this is cgi request [09:37:29]url: /json_proto [09:37:29]query_string will be loaded in cgi processing [09:37:29]execute_cgi json_proto POST (null) [09:37:29]execute_cgi path=json_proto method=POST [09:37:29]POST find Content-Length [09:37:29]Host: 172.17.38.134:8080 [09:37:29]Content-Length: 1212 [09:37:29]Content-Type: application/json [09:37:29] [09:37:29]POST finish read [09:37:29]Found Content-Length = 1212 [09:37:29]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "print_text", "params" : { "text" : " *****\u0422\u041E\u0412\u0410\u0420\u041D\u042B\u0419 \u0427\u0415\u041A*****\u000A \u0410\u0417\u0421 120\u000A \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u043D\u0435\u0444\u0442\u044C\u000A 02508201610067\u000A\u041A\u0430\u0441\u0441\u0438\u0440 : \u0411\u0430\u0439\u0431\u0443\u0433\u0443\u0435\u0432\u0430 \u0413. \u000A\u0421\u0447\u0435\u0442 N : (1)673822\u000A22.06.2024 09:15\u000A \u041F\u0420\u041E\u0414\u0410\u0416\u0410\u000A\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A): 21\u000A\u0412\u0438\u0434 \u0413\u0421\u041C : 2710194210\u000A\u0414\u0422(\u043B)-\u041A-5\u000A 20.000 x 72.90\u000A\u0418\u0422\u041E\u0413: 1458.00\u000A\u0422\u0438\u043F \u043E\u043F\u043B\u0430\u0442\u044B: \u0422\u0430\u043B\u043E\u043D\u044B: \u0422\u043E\u043F\u043B\u0438\u0432\u043D\u0430\u044F \u041A\u0430\u0440\u0442\u0430\u000A00562\u000A ______________________\u000A (\u043F\u043E\u0434\u043F\u0438\u0441\u044C)" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:37:29]execute_script... [09:37:29]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "print_text", "params" : { "text" : " *****\u0422\u041E\u0412\u0410\u0420\u041D\u042B\u0419 \u0427\u0415\u041A*****\u000A \u0410\u0417\u0421 120\u000A \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u043D\u0435\u0444\u0442\u044C\u000A 02508201610067\u000A\u041A\u0430\u0441\u0441\u0438\u0440 : \u0411\u0430\u0439\u0431\u0443\u0433\u0443\u0435\u0432\u0430 \u0413. \u000A\u0421\u0447\u0435\u0442 N : (1)673822\u000A22.06.2024 09:15\u000A \u041F\u0420\u041E\u0414\u0410\u0416\u0410\u000A\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A): 21\u000A\u0412\u0438\u0434 \u0413\u0421\u041C : 2710194210\u000A\u0414\u0422(\u043B)-\u041A-5\u000A 20.000 x 72.90\u000A\u0418\u0422\u041E\u0413: 1458.00\u000A\u0422\u0438\u043F \u043E\u043F\u043B\u0430\u0442\u044B: \u0422\u0430\u043B\u043E\u043D\u044B: \u0422\u043E\u043F\u043B\u0438\u0432\u043D\u0430\u044F \u041A\u0430\u0440\u0442\u0430\u000A00562\u000A ______________________\u000A (\u043F\u043E\u0434\u043F\u0438\u0441\u044C)" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:37:29]POST & json_proto [09:37:29]process_json_proto [09:37:29]json parsed OK: [09:37:29]protocol is kg_v1.0 [09:37:29]action value=print_text [09:37:29]process_action print_text [09:37:29]cmd_print_text [09:37:29]ExternCall_PrintAddStr [09:37:29]wPrintStart [09:37:29]Write to MH i2c: 01 00 00 AA 12 BC [09:37:29]Write i2c OK [09:37:29]MH_I2C_Read... [09:37:29]Read from MH i2c: 01 [09:37:29]MH_I2C_Read... [09:37:29]Read from MH i2c: 01 07 00 [09:37:29]MH_I2C_Read... [09:37:29]Read from MH i2c: 01 07 00 AA 12 00 00 00 00 00 FF 0F D1 [09:37:29]RasterBufferAndPrint [09:37:29]line *****ТОВАРНЫЙ ЧЕК***** [09:37:29]line АЗС 120 [09:37:29]line Партнер нефть [09:37:29]line 02508201610067 [09:37:29]line Кассир : Байбугуева Г. [09:37:29]line Счет N : (1)673822 [09:37:29]line 22.06.2024 09:15 [09:37:29]line ПРОДАЖА [09:37:29]line ТРК (МРК, ГНК): 21 [09:37:29]line Вид ГСМ : 2710194210 [09:37:29]line ДТ(л)-К-5 [09:37:29]line 20.000 x 72.90 [09:37:29]line ИТОГ: 1458.00 [09:37:29]line Тип оплаты: Талоны: Топливная Карта [09:37:29]line 00562 [09:37:29]line ______________________ [09:37:29]line (подпись) [09:37:29]written 0, free lines is 4095 [09:37:29]Write to MH i2c: 01 00 00 BE 12 D0 [09:37:29]Write i2c OK [09:37:29]MH_I2C_Read... [09:37:29]Read from MH i2c: 01 [09:37:29]MH_I2C_Read... [09:37:29]Read from MH i2c: 01 07 00 [09:37:29]MH_I2C_Read... [09:37:29]Read from MH i2c: 01 07 00 BE 12 00 00 00 00 00 11 0E F6 [09:37:29]RasterBufferAndPrint [09:37:29]line [09:37:29]line [09:37:29]line [09:37:29]line [09:37:29]line [09:37:29]written 0, free lines is 3602 [09:37:29]MH_Cut [09:37:29]Write to MH i2c: D1 01 00 C5 12 01 A9 [09:37:29]Write i2c OK [09:37:29]MH_I2C_Read... [09:37:29]Read from MH i2c: D1 [09:37:29]MH_I2C_Read... [09:37:29]Read from MH i2c: D1 01 00 [09:37:29]MH_I2C_Read... [09:37:29]Read from MH i2c: D1 01 00 C5 12 00 A8 [09:37:29]Write to MH i2c: 01 00 00 C6 12 D8 [09:37:29]Write i2c OK [09:37:29]MH_I2C_Read... [09:37:29]*** Cut start [09:37:29]*** Partial cut [09:37:29]*** CUTSNS_PIN = 1 [09:37:29]*** CUTSNS_PIN = 0 [09:37:30]*** Brake cut motor [09:37:30]Read from MH i2c: 01 [09:37:30]MH_I2C_Read... [09:37:30]Read from MH i2c: 01 07 00 [09:37:30]MH_I2C_Read... [09:37:30]*** Stop cut motor [09:37:30]*** Cut end [09:37:30]Read from MH i2c: 01 07 00 C6 12 00 00 00 00 00 FF 0F ED [09:37:30]process_action print_text done [09:37:30]requested_data is exist [09:37:30]produce_requested_data [09:37:30]requested_item fm.sn is exist - process it [09:37:30]wFMCommunicate request_size=4 [09:37:30]MH_SAM_APDU [09:37:30]CAPDU: 80 11 00 00 [09:37:30]Write to MH i2c: E2 08 00 C7 12 80 11 00 00 00 00 00 00 53 [09:37:30]Write i2c OK [09:37:30]MH_I2C_Read... [09:37:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:37:30]Read from MH i2c: E2 [09:37:30]MH_I2C_Read... [09:37:30]Read from MH i2c: E2 17 00 [09:37:30]MH_I2C_Read... [09:37:30]Read from MH i2c: E2 17 00 C7 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 A8 [09:37:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [09:37:30]wFMCommunicate OK [09:37:30]requested_item fd.num is exist - process it [09:37:30]SAM_PROTO_GetFieldsCounters [09:37:30]wFMCommunicate request_size=4 [09:37:30]MH_SAM_APDU [09:37:30]CAPDU: 80 13 00 00 [09:37:30]Write to MH i2c: E2 08 00 C8 12 80 13 00 00 00 00 00 00 56 [09:37:30]Write i2c OK [09:37:30]MH_I2C_Read... [09:37:30]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:37:30]Read from MH i2c: E2 [09:37:30]MH_I2C_Read... [09:37:30]Read from MH i2c: E2 62 00 [09:37:30]MH_I2C_Read... [09:37:30]Read from MH i2c: E2 62 00 C8 12 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 19 87 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 89 [09:37:30]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 19 87 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 [09:37:30]wFMCommunicate OK [09:37:30]SAM_PROTO_GetFieldsCounters done [09:37:30]requested_item shift.num is exist - process it [09:37:30]requested_item shift.opened is exist - process it [09:37:30]req_shift_opened [09:37:30]FM_GetShiftState [09:37:30]SAM_PROTO_GetShiftState [09:37:30]wFMCommunicate request_size=4 [09:37:30]MH_SAM_APDU [09:37:30]CAPDU: 80 13 01 00 [09:37:30]Write to MH i2c: E2 08 00 C9 12 80 13 01 00 00 00 00 00 58 [09:37:30]Write i2c OK [09:37:30]MH_I2C_Read... [09:37:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:37:30]Read from MH i2c: E2 [09:37:30]MH_I2C_Read... [09:37:30]Read from MH i2c: E2 0E 00 [09:37:30]MH_I2C_Read... [09:37:30]Read from MH i2c: E2 0E 00 C9 12 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 12 [09:37:30]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [09:37:30]wFMCommunicate OK [09:37:30]SAM_PROTO_GetShiftState done [09:37:30]FM_GetShiftState done [09:37:30]req_shift_opened done [09:37:30]requested_item shift.open_date is exist - process it [09:37:30]req_shift_open_date [09:37:30]req_shift_open_date done [09:37:30]produce_requested_data done [09:37:30]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34585,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120} [09:37:30]process_action_free print_text [09:37:30]json_value_free [09:37:30]json_value_free done [09:37:30]process_json_proto returns [09:37:30]Send response to host [09:37:30]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34585,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120}}} [09:37:30]free response buf [09:37:30]execute_script done [09:37:30]execute_script returns [09:37:30]free content buf [09:37:30]Sock 9.Close socket [09:37:30]Sock 9.Thread stoped [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:28]OFD Sender: No OFD packet to send [09:39:33]OFD Sender: No OFD packet to send [09:39:38]OFD Sender: No OFD packet to send [09:39:43]OFD Sender: No OFD packet to send [09:39:48]OFD Sender: No OFD packet to send [09:39:53]OFD Sender: No OFD packet to send [09:39:58]OFD Sender: No OFD packet to send [09:40:03]OFD Sender: No OFD packet to send [09:40:08]OFD Sender: No OFD packet to send [09:40:13]OFD Sender: No OFD packet to send [09:40:18]OFD Sender: No OFD packet to send [09:40:23]OFD Sender: No OFD packet to send [09:40:28]OFD Sender: No OFD packet to send [09:40:33]OFD Sender: No OFD packet to send [09:40:38]OFD Sender: No OFD packet to send [09:40:43]OFD Sender: No OFD packet to send [09:40:48]OFD Sender: No OFD packet to send [09:40:53]OFD Sender: No OFD packet to send [09:40:58]OFD Sender: No OFD packet to send [09:41:03]OFD Sender: No OFD packet to send [09:41:08]OFD Sender: No OFD packet to send [09:41:13]OFD Sender: No OFD packet to send [09:41:18]OFD Sender: No OFD packet to send [09:41:23]OFD Sender: No OFD packet to send [09:41:28]OFD Sender: No OFD packet to send [09:41:33]OFD Sender: No OFD packet to send [09:41:38]OFD Sender: No OFD packet to send [09:41:43]OFD Sender: No OFD packet to send [09:41:48]OFD Sender: No OFD packet to send [09:41:53]OFD Sender: No OFD packet to send [09:41:58]OFD Sender: No OFD packet to send [09:42:03]OFD Sender: No OFD packet to send [09:42:08]OFD Sender: No OFD packet to send [09:42:13]OFD Sender: No OFD packet to send [09:42:18]OFD Sender: No OFD packet to send [09:42:23]OFD Sender: No OFD packet to send [09:42:28]OFD Sender: No OFD packet to send [09:42:33]OFD Sender: No OFD packet to send [09:42:38]OFD Sender: No OFD packet to send [09:42:43]OFD Sender: No OFD packet to send [09:42:48]OFD Sender: No OFD packet to send [09:42:53]OFD Sender: No OFD packet to send [09:42:58]OFD Sender: No OFD packet to send [09:43:03]OFD Sender: No OFD packet to send [09:43:08]OFD Sender: No OFD packet to send [09:43:13]OFD Sender: No OFD packet to send [09:43:18]OFD Sender: No OFD packet to send [09:43:23]OFD Sender: No OFD packet to send [09:43:28]OFD Sender: No OFD packet to send [09:43:33]OFD Sender: No OFD packet to send [09:43:38]OFD Sender: No OFD packet to send [09:43:43]OFD Sender: No OFD packet to send [09:43:48]OFD Sender: No OFD packet to send [09:43:53]OFD Sender: No OFD packet to send [09:43:58]OFD Sender: No OFD packet to send [09:44:03]OFD Sender: No OFD packet to send [09:44:08]OFD Sender: No OFD packet to send [09:44:13]OFD Sender: No OFD packet to send [09:44:18]OFD Sender: No OFD packet to send [09:44:23]OFD Sender: No OFD packet to send [09:44:28]OFD Sender: No OFD packet to send [09:44:33]OFD Sender: No OFD packet to send [09:44:38]OFD Sender: No OFD packet to send [09:44:43]OFD Sender: No OFD packet to send [09:44:48]OFD Sender: No OFD packet to send [09:44:53]OFD Sender: No OFD packet to send [09:44:58]OFD Sender: No OFD packet to send [09:45:03]OFD Sender: No OFD packet to send [09:45:08]OFD Sender: No OFD packet to send [09:45:13]OFD Sender: No OFD packet to send [09:45:18]OFD Sender: No OFD packet to send [09:45:23]OFD Sender: No OFD packet to send [09:45:28]OFD Sender: No OFD packet to send [09:45:33]OFD Sender: No OFD packet to send [09:45:38]OFD Sender: No OFD packet to send [09:45:43]OFD Sender: No OFD packet to send [09:45:48]OFD Sender: No OFD packet to send [09:45:51]accept exits with 7 [09:45:51]New connection [09:45:51]New thread 3067473252 created [09:45:51]Thread 3067616612 joined [09:45:51]Waiting for new connection... [09:45:51] Sock 7.Parse request [09:45:51]Sock 7.Check first char [09:45:51]Sock 7.First char is OK [09:45:51]request: POST /json_proto HTTP/1.0 [09:45:51]Method: POST [09:45:51]URL: /json_proto [09:45:51]Method is POST - this is cgi request [09:45:51]url: /json_proto [09:45:51]query_string will be loaded in cgi processing [09:45:51]execute_cgi json_proto POST (null) [09:45:51]execute_cgi path=json_proto method=POST [09:45:51]POST find Content-Length [09:45:51]Host: 172.17.38.134:8080 [09:45:51]Content-Length: 888 [09:45:51]Content-Type: application/json [09:45:51] [09:45:51]POST finish read [09:45:51]Found Content-Length = 888 [09:45:51]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184343", "tax_sys" : 0, "items" : [ { "code": "3800020453407", "name": "Nestle KIT-KAT \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A chunky 36x40\u0433", "price" : 80.00, "quantity" : 1.000, "sum" : 80.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000039450010", "name": "\u0427\u0430\u0439 \u0437\u0435\u043B\u0435\u043D\u044B\u0439 200 \u043C\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 120.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:45:51]execute_script... [09:45: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)184343", "tax_sys" : 0, "items" : [ { "code": "3800020453407", "name": "Nestle KIT-KAT \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A chunky 36x40\u0433", "price" : 80.00, "quantity" : 1.000, "sum" : 80.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000039450010", "name": "\u0427\u0430\u0439 \u0437\u0435\u043B\u0435\u043D\u044B\u0439 200 \u043C\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 120.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:45:51]POST & json_proto [09:45:51]process_json_proto [09:45:51]json parsed OK: [09:45:51]protocol is kg_v1.0 [09:45:51]action value=close_receipt [09:45:51]process_action close_receipt [09:45:51]cmd_close_receipt [09:45:51]MH_GetDate [09:45:51]Write to MH i2c: F0 00 00 CA 12 CB [09:45:51]Write i2c OK [09:45:51]MH_I2C_Read... [09:45:51]Read from MH i2c: F0 [09:45:51]MH_I2C_Read... [09:45:51]Read from MH i2c: F0 09 00 [09:45:51]MH_I2C_Read... [09:45:51]Read from MH i2c: F0 09 00 CA 12 00 53 9D 76 66 13 9C 7C 64 2F [09:45:51]GetLastDocTimeStamp 1719048447 [09:45:51]current date 1719049555 [09:45:51]FM_GetShiftState [09:45:51]SAM_PROTO_GetShiftState [09:45:51]wFMCommunicate request_size=4 [09:45:51]MH_SAM_APDU [09:45:51]CAPDU: 80 13 01 00 [09:45:51]Write to MH i2c: E2 08 00 CB 12 80 13 01 00 00 00 00 00 5A [09:45:51]Write i2c OK [09:45:51]MH_I2C_Read... [09:45:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:45:51]Read from MH i2c: E2 [09:45:51]MH_I2C_Read... [09:45:51]Read from MH i2c: E2 0E 00 [09:45:51]MH_I2C_Read... [09:45:51]Read from MH i2c: E2 0E 00 CB 12 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 14 [09:45:51]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [09:45:51]wFMCommunicate OK [09:45:51]SAM_PROTO_GetShiftState done [09:45:51]FM_GetShiftState done [09:45:51]opened in 1719016120 [09:45:51]opened+sec_in_day 1719102520 [09:45:51]quantity*price = 8000 [09:45:51]sum+1 = 8001 [09:45:51]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 2000039450010 Чай зеленый 200 мл 1.000 * 40.00 = 40.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 120.00 НСП 1% : 1.06 НДС 12% : 12.75 Наличными: 120.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 12 22.06.2024 09:45 Смена: 327 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34586 ФПД: 250457133294715 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T094555&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34586&fm=250457133294715&tin=02508201610067®Number=0000000000092786&sum=12000 0 [09:45:52]StoreToDocumentArchive [09:45:52]shift 327 fd 34586 [09:45:52]save to /storage/0327/doc_00034586 [09:45:52]save last doc name /storage/0327/doc_00034586 to /storage/kkm_last_doc_name [09:45:52]save OK [09:45:52]Clear old archive folders... [09:45:52]ProcessDocumentItem done err = 0, tmpTLVsize=390 [09:45:52]tlvbuf is 015D7FB0 [09:45:52]SAM_PROTO_ClearQueue [09:45:52]wFMCommunicate request_size=4 [09:45:52]MH_SAM_APDU [09:45:52]CAPDU: 80 09 00 00 [09:45:52]Write to MH i2c: E2 08 00 D8 12 80 09 00 00 00 00 00 00 5C [09:45:52]Write i2c OK [09:45:52]MH_I2C_Read... [09:45:52]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:45:52]Read from MH i2c: E2 [09:45:52]MH_I2C_Read... [09:45:52]Read from MH i2c: E2 03 00 [09:45:52]MH_I2C_Read... [09:45:52]Read from MH i2c: E2 03 00 D8 12 00 90 00 5E [09:45:52]RAPDU: 90 00 [09:45:52]wFMCommunicate OK [09:45:52]SAM_PROTO_ClearQueue done [09:45:52]KKMCreateOFDPacket [09:45:52]OFDProtocolAddRootSTLVToBuf [09:45:52]FM_MakeSignedData [09:45:52]FM_MakeSignedData [09:45:52]SAM_PROTO_SignData [09:45:52]wFMCommunicate request_size=4 [09:45:52]MH_SAM_APDU [09:45:52]CAPDU: 80 0D 01 02 [09:45:52]Write to MH i2c: E2 08 00 D9 12 80 0D 01 02 00 00 00 00 64 [09:45:52]Write i2c OK [09:45:52]MH_I2C_Read... [09:45:52]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:45:52]Read from MH i2c: E2 [09:45:52]MH_I2C_Read... [09:45:52]Read from MH i2c: E2 03 00 [09:45:52]MH_I2C_Read... [09:45:52]Read from MH i2c: E2 03 00 D9 12 00 90 00 5F [09:45:52]RAPDU: 90 00 [09:45:52]wFMCommunicate OK [09:45:52]wFMCommunicate request_size=255 [09:45:52]MH_SAM_APDU [09:45:52]CAPDU: 80 0D 02 02 FA 03 00 86 01 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 33 38 30 30 30 32 30 34 35 33 34 30 37 06 04 2E 00 4E 65 73 74 6C 65 20 4B 49 54 2D 4B 41 54 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 63 68 75 6E 6B 79 20 33 36 78 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 0D 00 32 30 30 30 30 33 39 34 35 30 30 31 30 06 04 1E 00 D0 A7 D0 B0 D0 B9 20 D0 B7 D0 B5 D0 BB D0 B5 D0 BD D1 8B D0 B9 20 32 30 30 20 D0 BC 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 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 [09:45:52]Write to MH i2c: E2 02 01 DA 12 80 0D 02 02 FA 00 03 00 86 01 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 33 38 30 30 30 32 30 34 35 33 34 30 37 06 04 2E 00 4E 65 73 74 6C 65 20 4B 49 54 2D 4B 41 54 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 63 68 75 6E 6B 79 20 33 36 78 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 0D 00 32 30 30 30 30 33 39 34 35 30 30 31 30 06 04 1E 00 D0 A7 D0 B0 D0 B9 20 D0 B7 D0 B5 D0 BB D0 B5 D0 BD D1 8B D0 B9 20 32 30 30 20 D0 BC 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 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 00 59 [09:45:52]Write i2c OK [09:45:52]MH_I2C_Read... [09:45:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:45:52]Read from MH i2c: E2 [09:45:52]MH_I2C_Read... [09:45:52]Read from MH i2c: E2 03 00 [09:45:52]MH_I2C_Read... [09:45:52]Read from MH i2c: E2 03 00 DA 12 00 90 00 60 [09:45:52]RAPDU: 90 00 [09:45:52]wFMCommunicate OK [09:45:52]wFMCommunicate request_size=149 [09:45:52]MH_SAM_APDU [09:45:52]CAPDU: 80 0D 02 02 90 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FB 04 00 00 00 00 07 04 06 00 E0 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 53 9D 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 1A 87 00 00 35 04 06 00 E3 CA 18 76 24 7B [09:45:52]Write to MH i2c: E2 98 00 DB 12 80 0D 02 02 90 00 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FB 04 00 00 00 00 07 04 06 00 E0 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 53 9D 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 1A 87 00 00 35 04 06 00 E3 CA 18 76 24 7B 00 00 D0 [09:45:52]Write i2c OK [09:45:52]MH_I2C_Read... [09:45:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:45:52]Read from MH i2c: E2 [09:45:52]MH_I2C_Read... [09:45:52]Read from MH i2c: E2 03 00 [09:45:52]MH_I2C_Read... [09:45:52]Read from MH i2c: E2 03 00 DB 12 00 90 00 61 [09:45:52]RAPDU: 90 00 [09:45:52]wFMCommunicate OK [09:45:52]wFMCommunicate request_size=4 [09:45:52]MH_SAM_APDU [09:45:52]CAPDU: 80 0D 03 02 [09:45:52]Write to MH i2c: E2 08 00 DC 12 80 0D 03 02 00 00 00 00 69 [09:45:52]Write i2c OK [09:45:52]MH_I2C_Read... [09:45:52]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:45:52]Read from MH i2c: E2 [09:45:52]MH_I2C_Read... [09:45:52]Read from MH i2c: E2 0B 00 [09:45:52]MH_I2C_Read... [09:45:52]Read from MH i2c: E2 0B 00 DC 12 00 00 0F 34 39 F3 BF 86 BD 90 00 DB [09:45:52]RAPDU: 00 0F 34 39 F3 BF 86 BD 90 00 [09:45:52]wFMCommunicate OK [09:45:52]SAM_PROTO_SignData done [09:45:52]FM_MakeSignedData done [09:45:52]CreateOFDProtocolMessage [09:45:52]wFMCommunicate request_size=4 [09:45:52]MH_SAM_APDU [09:45:52]CAPDU: 80 11 00 00 [09:45:52]Write to MH i2c: E2 08 00 DD 12 80 11 00 00 00 00 00 00 69 [09:45:52]Write i2c OK [09:45:52]MH_I2C_Read... [09:45:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:45:52]Read from MH i2c: E2 [09:45:52]MH_I2C_Read... [09:45:52]Read from MH i2c: E2 17 00 [09:45:52]MH_I2C_Read... [09:45:52]Read from MH i2c: E2 17 00 DD 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 BE [09:45:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [09:45:52]wFMCommunicate OK [09:45:52]CreateOFDProtocolMessage done [09:45:52]OFDSenderStorePacket 34586 [09:45:52]StoreOFDPacket docnum=34586 [09:45:52]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 9A 01 00 00 20 EF 92 01 5B 68 5A 03 01 00 03 00 86 01 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 33 38 30 30 30 32 30 34 35 33 34 30 37 06 04 2E 00 4E 65 73 74 6C 65 20 4B 49 54 2D 4B 41 54 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 63 68 75 6E 6B 79 20 33 36 78 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 0D 00 32 30 30 30 30 33 39 34 35 30 30 31 30 06 04 1E 00 D0 A7 D0 B0 D0 B9 20 D0 B7 D0 B5 D0 BB D0 B5 D0 BD D1 8B D0 B9 20 32 30 30 20 D0 BC 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 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FB 04 00 00 00 00 07 04 06 00 E0 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 53 9D 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 1A 87 00 00 35 04 06 00 E3 CA 18 76 24 7B 00 0F 34 39 F3 BF 86 BD [09:45:52]CheckFolder [09:45:52]dirname=/storage/ofd_packets [09:45:52]CheckFolder done [09:45:52]ProducePacketName [09:45:52]name=ofd_packets/00034586 [09:45:52]NVStorageSaveData ofd_packets/00034586 [09:45:52]File name is /storage/ofd_packets/00034586 [09:45:52]Write 440 bytes [09:45:52]NVStorageSaveData done [09:45:52]OFDSenderStorePacket done [09:45:52]KKMCreateOFDPacket done [09:45:52]NVStorageSaveData kkm_last_timestamp [09:45:52]File name is /storage/kkm_last_timestamp [09:45:52]Write 4 bytes [09:45:52]NVStorageSaveData done [09:45:52]ExternCall_PrintAddStr [09:45:52]wPrintStart [09:45:52]Write to MH i2c: 01 00 00 DE 12 F0 [09:45:52]Write i2c OK [09:45:52]MH_I2C_Read... [09:45:52]Read from MH i2c: 01 [09:45:52]MH_I2C_Read... [09:45:52]Read from MH i2c: 01 07 00 [09:45:52]MH_I2C_Read... [09:45:52]Read from MH i2c: 01 07 00 DE 12 00 00 00 00 00 FF 0F 05 [09:45:52]RasterBufferAndPrint [09:45:52]line Счет N : (3)184343 [09:45:52]line ИНН: 02508201610067 [09:45:52]line Контрольно-Кассовый Чек [09:45:52]line ПРОДАЖА [09:45:52]line Товар: 3800020453407 [09:45:52]line Nestle KIT-KAT батончик chunky 36x40г [09:45:52]line 1.000 * 80.00 [09:45:52]line = 80.00 [09:45:52]line НДС 12% НСП 1% [09:45:52]line > о реализуемом товаре [09:45:52]line Товар: 2000039450010 [09:45:52]line Чай зеленый 200 мл [09:45:52]line 1.000 * 40.00 [09:45:52]line = 40.00 [09:45:52]line НДС 12% НСП 1% [09:45:52]line > о реализуемом товаре [09:45:52]line ИТОГО: 120.00 [09:45:52]line НСП 1% : 1.06 [09:45:52]line НДС 12% : 12.75 [09:45:52]line Наличными: 120.00 [09:45:53]line Безнал.: 0.00 [09:45:53]line Место: АЗС № 120 "Партнер Нефть" [09:45:53]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [09:45:53]line СНО: Общий режим [09:45:53]line Чек 12 22.06.2024 09:45 [09:45:53]line Смена: 327 ФФД: 1.0 [09:45:53]line ЗНМ: 0300000172 [09:45:53]line РНМ: 0000000000092786 [09:45:53]line Версия ККМ: 001 [09:45:53]line ФМ: 0000000000875095 [09:45:53]line ФД: 34586 [09:45:53]line ФПД: 250457133294715 [09:45:53]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T094555&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34586&fm=250457133294715&tin=02508201610067®Number=0000000000092786&sum=12000 [09:45:53]line 0 [09:45:53]OFD Sender: Processing packet 34586 [packets to send 8, broken 7] [09:45:53]ProducePacketName [09:45:53]name=ofd_packets/00034586 [09:45:53]OFD Sender: To server: pG, [09:45:53]CommunicateWithHost lk.salyk.kg:30040 [09:45:53]ConnectInit lk.salyk.kg [09:45:53]written 0, free lines is 4095 [09:45:53]Connected sock=10 [09:45:53]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 9A 01 00 00 20 EF 92 01 5B 68 5A 03 01 00 03 00 86 01 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 33 38 30 30 30 32 30 34 35 33 34 30 37 06 04 2E 00 4E 65 73 74 6C 65 20 4B 49 54 2D 4B 41 54 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 63 68 75 6E 6B 79 20 33 36 78 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 0D 00 32 30 30 30 30 33 39 34 35 30 30 31 30 06 04 1E 00 D0 A7 D0 B0 D0 B9 20 D0 B7 D0 B5 D0 BB D0 B5 D0 BD D1 8B D0 B9 20 32 30 30 20 D0 BC 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 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FB 04 00 00 00 00 07 04 06 00 E0 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 53 9D 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 1A 87 00 00 35 04 06 00 E3 CA 18 76 24 7B 00 0F 34 39 F3 BF 86 BD [09:45:53]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 6D D5 47 00 4B FC A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 1A 87 00 00 F4 03 04 00 18 44 76 66 B6 04 01 00 00 C0 1C 84 17 3B 25 FE 5A [09:45:53]CommunicateWithHost err = 0 [09:45:53]CheckOFDResponse [09:45:53]1017 (14) - 77093643461234 [09:45:53]1041 (16) - 0000000000875095 [09:45:53]1040 (4) - 34586 [09:45:53]1012 (4) - 22.06.2024 03:25 [09:45:53]1206 (1) - 0 [09:45:53]OFD Sender: Remove packet 34586 [09:45:53]ProducePacketName [09:45:53]name=ofd_packets/00034586 [09:45:53]NVStorageDeleteData [09:45:53]Write to MH i2c: 01 00 00 0D 13 20 [09:45:53]Write i2c OK [09:45:53]MH_I2C_Read... [09:45:53]Read from MH i2c: 01 [09:45:53]MH_I2C_Read... [09:45:53]Read from MH i2c: 01 07 00 [09:45:53]MH_I2C_Read... [09:45:53]Read from MH i2c: 01 07 00 0D 13 00 00 00 00 00 9D 0C D0 [09:45:53]RasterBufferAndPrint [09:45:53]line [09:45:53]line [09:45:53]line [09:45:53]line [09:45:53]line [09:45:53]written 0, free lines is 3236 [09:45:53]MH_Cut [09:45:53]Write to MH i2c: D1 01 00 14 13 01 F9 [09:45:53]Write i2c OK [09:45:53]MH_I2C_Read... [09:45:53]Read from MH i2c: D1 [09:45:53]MH_I2C_Read... [09:45:53]Read from MH i2c: D1 01 00 [09:45:53]MH_I2C_Read... [09:45:53]Read from MH i2c: D1 01 00 14 13 00 F8 [09:45:53]Write to MH i2c: 01 00 00 15 13 28 [09:45:53]Write i2c OK [09:45:53]MH_I2C_Read... [09:45:54]OFD Sender: No OFD packet to send [09:45:54]*** Cut start [09:45:54]*** Partial cut [09:45:54]*** CUTSNS_PIN = 1 [09:45:54]*** CUTSNS_PIN = 0 [09:45:54]*** Brake cut motor [09:45:55]Read from MH i2c: 01 [09:45:55]MH_I2C_Read... [09:45:55]*** Stop cut motor [09:45:55]*** Cut end [09:45:55]Read from MH i2c: 01 07 00 [09:45:55]MH_I2C_Read... [09:45:55]Read from MH i2c: 01 07 00 15 13 00 00 00 00 00 FF 0F 3D [09:45:55]process_action close_receipt done [09:45:55]requested_data is exist [09:45:55]produce_requested_data [09:45:55]requested_item fm.sn is exist - process it [09:45:55]wFMCommunicate request_size=4 [09:45:55]MH_SAM_APDU [09:45:55]CAPDU: 80 11 00 00 [09:45:55]Write to MH i2c: E2 08 00 16 13 80 11 00 00 00 00 00 00 A3 [09:45:55]Write i2c OK [09:45:55]MH_I2C_Read... [09:45:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:45:55]Read from MH i2c: E2 [09:45:55]MH_I2C_Read... [09:45:55]Read from MH i2c: E2 17 00 [09:45:55]MH_I2C_Read... [09:45:55]Read from MH i2c: E2 17 00 16 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 F8 [09:45:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [09:45:55]wFMCommunicate OK [09:45:55]requested_item fd.num is exist - process it [09:45:55]SAM_PROTO_GetFieldsCounters [09:45:55]wFMCommunicate request_size=4 [09:45:55]MH_SAM_APDU [09:45:55]CAPDU: 80 13 00 00 [09:45:55]Write to MH i2c: E2 08 00 17 13 80 13 00 00 00 00 00 00 A6 [09:45:55]Write i2c OK [09:45:55]MH_I2C_Read... [09:45:55]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:45:55]Read from MH i2c: E2 [09:45:55]MH_I2C_Read... [09:45:55]Read from MH i2c: E2 62 00 [09:45:55]MH_I2C_Read... [09:45:55]Read from MH i2c: E2 62 00 17 13 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 1A 87 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 DD [09:45:55]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 1A 87 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 [09:45:55]wFMCommunicate OK [09:45:55]SAM_PROTO_GetFieldsCounters done [09:45:55]requested_item shift.num is exist - process it [09:45:55]requested_item shift.opened is exist - process it [09:45:55]req_shift_opened [09:45:55]FM_GetShiftState [09:45:55]SAM_PROTO_GetShiftState [09:45:55]wFMCommunicate request_size=4 [09:45:55]MH_SAM_APDU [09:45:55]CAPDU: 80 13 01 00 [09:45:55]Write to MH i2c: E2 08 00 18 13 80 13 01 00 00 00 00 00 A8 [09:45:55]Write i2c OK [09:45:55]MH_I2C_Read... [09:45:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:45:55]Read from MH i2c: E2 [09:45:55]MH_I2C_Read... [09:45:55]Read from MH i2c: E2 0E 00 [09:45:55]MH_I2C_Read... [09:45:55]Read from MH i2c: E2 0E 00 18 13 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 62 [09:45:55]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [09:45:55]wFMCommunicate OK [09:45:55]SAM_PROTO_GetShiftState done [09:45:55]FM_GetShiftState done [09:45:55]req_shift_opened done [09:45:55]requested_item shift.open_date is exist - process it [09:45:55]req_shift_open_date [09:45:55]req_shift_open_date done [09:45:55]produce_requested_data done [09:45:55]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34586,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120} [09:45:55]process_action_free close_receipt [09:45:55]json_value_free [09:45:55]json_value_free done [09:45:55]process_json_proto returns [09:45:55]Send response to host [09:45:55]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34586,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120}}} [09:45:55]free response buf [09:45:55]execute_script done [09:45:55]execute_script returns [09:45:55]free content buf [09:45:55]Sock 7.Close socket [09:45:55]Sock 7.Thread stoped [09:45:59]OFD Sender: No OFD packet to send [09:46:04]OFD Sender: No OFD packet to send [09:46:09]OFD Sender: No OFD packet to send [09:46:14]OFD Sender: No OFD packet to send [09:46:19]OFD Sender: No OFD packet to send [09:46:24]OFD Sender: No OFD packet to send [09:46:24]recv_with_timeout no data received [09:46:29]OFD Sender: No OFD packet to send [09:46:34]OFD Sender: No OFD packet to send [09:46:39]OFD Sender: No OFD packet to send [09:46:44]OFD Sender: No OFD packet to send [09:46:49]OFD Sender: No OFD packet to send [09:46:54]OFD Sender: No OFD packet to send [09:46:59]OFD Sender: No OFD packet to send [09:47:04]OFD Sender: No OFD packet to send [09:47:09]OFD Sender: No OFD packet to send [09:47:14]OFD Sender: No OFD packet to send [09:47:19]OFD Sender: No OFD packet to send [09:47:24]OFD Sender: No OFD packet to send [09:47:29]OFD Sender: No OFD packet to send [09:47:34]OFD Sender: No OFD packet to send [09:47:39]OFD Sender: No OFD packet to send [09:47:44]OFD Sender: No OFD packet to send [09:47:49]OFD Sender: No OFD packet to send [09:47:54]OFD Sender: No OFD packet to send [09:47:59]OFD Sender: No OFD packet to send [09:48:04]OFD Sender: No OFD packet to send [09:48:09]OFD Sender: No OFD packet to send [09:48:14]OFD Sender: No OFD packet to send [09:48:19]OFD Sender: No OFD packet to send [09:48:24]OFD Sender: No OFD packet to send [09:48:29]OFD Sender: No OFD packet to send [09:48:34]OFD Sender: No OFD packet to send [09:48:39]OFD Sender: No OFD packet to send [09:48:44]OFD Sender: No OFD packet to send [09:48:49]OFD Sender: No OFD packet to send [09:48:54]OFD Sender: No OFD packet to send [09:48:59]OFD Sender: No OFD packet to send [09:49:04]OFD Sender: No OFD packet to send [09:49:09]OFD Sender: No OFD packet to send [09:49:14]OFD Sender: No OFD packet to send [09:49:19]OFD Sender: No OFD packet to send [09:49:24]OFD Sender: No OFD packet to send [09:49:29]OFD Sender: No OFD packet to send [09:49:34]OFD Sender: No OFD packet to send [09:49:39]OFD Sender: No OFD packet to send [09:49:44]OFD Sender: No OFD packet to send [09:49:49]OFD Sender: No OFD packet to send [09:49:54]OFD Sender: No OFD packet to send [09:49:59]OFD Sender: No OFD packet to send [09:50:03]accept exits with 9 [09:50:03]New connection [09:50:03]New thread 3067616612 created [09:50:03]Thread 3067473252 joined [09:50:03]Waiting for new connection... [09:50:03] Sock 9.Parse request [09:50:03]Sock 9.Check first char [09:50:03]Sock 9.First char is OK [09:50:03]request: POST /json_proto HTTP/1.0 [09:50:03]Method: POST [09:50:03]URL: /json_proto [09:50:03]Method is POST - this is cgi request [09:50:03]url: /json_proto [09:50:03]query_string will be loaded in cgi processing [09:50:03]execute_cgi json_proto POST (null) [09:50:03]execute_cgi path=json_proto method=POST [09:50:03]POST find Content-Length [09:50:03]Host: 172.17.38.134:8080 [09:50:03]Content-Length: 624 [09:50:03]Content-Type: application/json [09:50:03] [09:50:03]POST finish read [09:50:03]Found Content-Length = 624 [09:50:03]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184344", "tax_sys" : 0, "items" : [ { "code": "48742245", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Silver Blue", "price" : 151.00, "quantity" : 2.000, "sum" : 302.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 302.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:50:03]execute_script... [09:50:03]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184344", "tax_sys" : 0, "items" : [ { "code": "48742245", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Silver Blue", "price" : 151.00, "quantity" : 2.000, "sum" : 302.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 302.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:50:03]POST & json_proto [09:50:03]process_json_proto [09:50:03]json parsed OK: [09:50:03]protocol is kg_v1.0 [09:50:03]action value=close_receipt [09:50:03]process_action close_receipt [09:50:03]cmd_close_receipt [09:50:03]MH_GetDate [09:50:03]Write to MH i2c: F0 00 00 19 13 1B [09:50:03]Write i2c OK [09:50:03]MH_I2C_Read... [09:50:03]Read from MH i2c: F0 [09:50:03]MH_I2C_Read... [09:50:03]Read from MH i2c: F0 09 00 [09:50:03]MH_I2C_Read... [09:50:03]Read from MH i2c: F0 09 00 19 13 00 50 9E 76 66 13 9C 7C 64 7D [09:50:03]GetLastDocTimeStamp 1719049555 [09:50:03]current date 1719049808 [09:50:03]FM_GetShiftState [09:50:03]SAM_PROTO_GetShiftState [09:50:03]wFMCommunicate request_size=4 [09:50:03]MH_SAM_APDU [09:50:03]CAPDU: 80 13 01 00 [09:50:03]Write to MH i2c: E2 08 00 1A 13 80 13 01 00 00 00 00 00 AA [09:50:03]Write i2c OK [09:50:03]MH_I2C_Read... [09:50:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:50:03]Read from MH i2c: E2 [09:50:03]MH_I2C_Read... [09:50:03]Read from MH i2c: E2 0E 00 [09:50:03]MH_I2C_Read... [09:50:03]Read from MH i2c: E2 0E 00 1A 13 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 64 [09:50:03]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [09:50:03]wFMCommunicate OK [09:50:03]SAM_PROTO_GetShiftState done [09:50:03]FM_GetShiftState done [09:50:03]opened in 1719016120 [09:50:03]opened+sec_in_day 1719102520 [09:50:03]quantity*price = 30200 [09:50:03]sum+1 = 30201 [09:50:03]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 302.00 НСП 1% : 2.67 НДС 12% : 32.07 Наличными: 302.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 13 22.06.2024 09:50 Смена: 327 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34587 ФПД: 268760970867037 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T095008&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34587&fm=268760970867037&tin=02508201610067®Number=0000000000092786&sum=30200 0 [09:50:04]StoreToDocumentArchive [09:50:04]shift 327 fd 34587 [09:50:04]save to /storage/0327/doc_00034587 [09:50:04]save last doc name /storage/0327/doc_00034587 to /storage/kkm_last_doc_name [09:50:04]save OK [09:50:04]Clear old archive folders... [09:50:05]ProcessDocumentItem done err = 0, tmpTLVsize=276 [09:50:05]tlvbuf is 015A7BB0 [09:50:05]SAM_PROTO_ClearQueue [09:50:05]wFMCommunicate request_size=4 [09:50:05]MH_SAM_APDU [09:50:05]CAPDU: 80 09 00 00 [09:50:05]Write to MH i2c: E2 08 00 27 13 80 09 00 00 00 00 00 00 AC [09:50:05]Write i2c OK [09:50:05]MH_I2C_Read... [09:50:05]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:50:05]Read from MH i2c: E2 [09:50:05]MH_I2C_Read... [09:50:05]Read from MH i2c: E2 03 00 [09:50:05]MH_I2C_Read... [09:50:05]Read from MH i2c: E2 03 00 27 13 00 90 00 AE [09:50:05]RAPDU: 90 00 [09:50:05]wFMCommunicate OK [09:50:05]SAM_PROTO_ClearQueue done [09:50:05]KKMCreateOFDPacket [09:50:05]OFDProtocolAddRootSTLVToBuf [09:50:05]FM_MakeSignedData [09:50:05]FM_MakeSignedData [09:50:05]SAM_PROTO_SignData [09:50:05]wFMCommunicate request_size=4 [09:50:05]MH_SAM_APDU [09:50:05]CAPDU: 80 0D 01 02 [09:50:05]Write to MH i2c: E2 08 00 28 13 80 0D 01 02 00 00 00 00 B4 [09:50:05]Write i2c OK [09:50:05]MH_I2C_Read... [09:50:05]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:50:05]Read from MH i2c: E2 [09:50:05]MH_I2C_Read... [09:50:05]Read from MH i2c: E2 03 00 [09:50:05]MH_I2C_Read... [09:50:05]Read from MH i2c: E2 03 00 28 13 00 90 00 AF [09:50:05]RAPDU: 90 00 [09:50:05]wFMCommunicate OK [09:50:05]wFMCommunicate request_size=255 [09:50:05]MH_SAM_APDU [09:50:05]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 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 D0 07 00 00 00 00 00 37 04 06 00 FC 3A 00 00 00 00 13 04 06 00 F8 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0B 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 0C 00 00 00 00 07 04 06 00 F8 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 50 9E 76 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 32 37 38 36 11 04 10 00 30 30 30 30 [09:50:05]Write to MH i2c: E2 02 01 29 13 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 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 D0 07 00 00 00 00 00 37 04 06 00 FC 3A 00 00 00 00 13 04 06 00 F8 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0B 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 0C 00 00 00 00 07 04 06 00 F8 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 50 9E 76 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 32 37 38 36 11 04 10 00 30 30 30 30 00 00 8D [09:50:05]Write i2c OK [09:50:05]MH_I2C_Read... [09:50:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:50:05]Read from MH i2c: E2 [09:50:05]MH_I2C_Read... [09:50:05]Read from MH i2c: E2 03 00 [09:50:05]MH_I2C_Read... [09:50:05]Read from MH i2c: E2 03 00 29 13 00 90 00 B0 [09:50:05]RAPDU: 90 00 [09:50:05]wFMCommunicate OK [09:50:05]wFMCommunicate request_size=35 [09:50:05]MH_SAM_APDU [09:50:05]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 1B 87 00 00 35 04 06 00 F4 6F CA 32 B1 5D [09:50:05]Write to MH i2c: E2 26 00 2A 13 80 0D 02 02 1E 00 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 1B 87 00 00 35 04 06 00 F4 6F CA 32 B1 5D 00 00 BB [09:50:05]Write i2c OK [09:50:05]MH_I2C_Read... [09:50:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:50:05]Read from MH i2c: E2 [09:50:05]MH_I2C_Read... [09:50:05]Read from MH i2c: E2 03 00 [09:50:05]MH_I2C_Read... [09:50:05]Read from MH i2c: E2 03 00 2A 13 00 90 00 B1 [09:50:05]RAPDU: 90 00 [09:50:05]wFMCommunicate OK [09:50:05]wFMCommunicate request_size=4 [09:50:05]MH_SAM_APDU [09:50:05]CAPDU: 80 0D 03 02 [09:50:05]Write to MH i2c: E2 08 00 2B 13 80 0D 03 02 00 00 00 00 B9 [09:50:05]Write i2c OK [09:50:05]MH_I2C_Read... [09:50:05]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:50:05]Read from MH i2c: E2 [09:50:05]MH_I2C_Read... [09:50:05]Read from MH i2c: E2 0B 00 [09:50:05]MH_I2C_Read... [09:50:05]Read from MH i2c: E2 0B 00 2B 13 00 27 43 7C 56 0B 0B 6B 94 90 00 0B [09:50:05]RAPDU: 27 43 7C 56 0B 0B 6B 94 90 00 [09:50:05]wFMCommunicate OK [09:50:05]SAM_PROTO_SignData done [09:50:05]FM_MakeSignedData done [09:50:05]CreateOFDProtocolMessage [09:50:05]wFMCommunicate request_size=4 [09:50:05]MH_SAM_APDU [09:50:05]CAPDU: 80 11 00 00 [09:50:05]Write to MH i2c: E2 08 00 2C 13 80 11 00 00 00 00 00 00 B9 [09:50:05]Write i2c OK [09:50:05]MH_I2C_Read... [09:50:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:50:05]Read from MH i2c: E2 [09:50:05]MH_I2C_Read... [09:50:05]Read from MH i2c: E2 17 00 [09:50:05]MH_I2C_Read... [09:50:05]Read from MH i2c: E2 17 00 2C 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 0E [09:50:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [09:50:05]wFMCommunicate OK [09:50:05]CreateOFDProtocolMessage done [09:50:05]OFDSenderStorePacket 34587 [09:50:05]StoreOFDPacket docnum=34587 [09:50:05]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 28 01 00 00 AF 5F 20 01 55 74 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 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 D0 07 00 00 00 00 00 37 04 06 00 FC 3A 00 00 00 00 13 04 06 00 F8 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0B 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 0C 00 00 00 00 07 04 06 00 F8 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 50 9E 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 1B 87 00 00 35 04 06 00 F4 6F CA 32 B1 5D 27 43 7C 56 0B 0B 6B 94 [09:50:05]CheckFolder [09:50:05]dirname=/storage/ofd_packets [09:50:05]CheckFolder done [09:50:05]ProducePacketName [09:50:05]name=ofd_packets/00034587 [09:50:05]NVStorageSaveData ofd_packets/00034587 [09:50:05]File name is /storage/ofd_packets/00034587 [09:50:05]Write 326 bytes [09:50:05]NVStorageSaveData done [09:50:05]OFDSenderStorePacket done [09:50:05]KKMCreateOFDPacket done [09:50:05]NVStorageSaveData kkm_last_timestamp [09:50:05]File name is /storage/kkm_last_timestamp [09:50:05]Write 4 bytes [09:50:05]NVStorageSaveData done [09:50:05]ExternCall_PrintAddStr [09:50:05]wPrintStart [09:50:05]Write to MH i2c: 01 00 00 2D 13 40 [09:50:05]Write i2c OK [09:50:05]MH_I2C_Read... [09:50:05]Read from MH i2c: 01 [09:50:05]MH_I2C_Read... [09:50:05]Read from MH i2c: 01 07 00 [09:50:05]MH_I2C_Read... [09:50:05]Read from MH i2c: 01 07 00 2D 13 00 00 00 00 00 FF 0F 55 [09:50:05]RasterBufferAndPrint [09:50:05]line Счет N : (3)184344 [09:50:05]line ИНН: 02508201610067 [09:50:05]line Контрольно-Кассовый Чек [09:50:05]line ПРОДАЖА [09:50:05]line Товар: 48742245 [09:50:05]line Сигареты Parliament Silver Blue [09:50:05]line 2.000 * 151.00 [09:50:05]line = 302.00 [09:50:05]line НДС 12% НСП 1% [09:50:05]line > о реализуемом товаре [09:50:05]line ИТОГО: 302.00 [09:50:05]line НСП 1% : 2.67 [09:50:05]line НДС 12% : 32.07 [09:50:05]line Наличными: 302.00 [09:50:05]line Безнал.: 0.00 [09:50:05]line Место: АЗС № 120 "Партнер Нефть" [09:50:05]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [09:50:05]line СНО: Общий режим [09:50:05]line Чек 13 22.06.2024 09:50 [09:50:05]line Смена: 327 ФФД: 1.0 [09:50:05]line ЗНМ: 0300000172 [09:50:05]line РНМ: 0000000000092786 [09:50:05]line Версия ККМ: 001 [09:50:05]line ФМ: 0000000000875095 [09:50:05]line ФД: 34587 [09:50:05]line ФПД: 268760970867037 [09:50:05]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T095008&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34587&fm=268760970867037&tin=02508201610067®Number=0000000000092786&sum=30200 [09:50:05]line 0 [09:50:05]OFD Sender: Processing packet 34587 [packets to send 8, broken 7] [09:50:05]ProducePacketName [09:50:05]name=ofd_packets/00034587 [09:50:05]OFD Sender: To server: pG, [09:50:05]CommunicateWithHost lk.salyk.kg:30040 [09:50:05]ConnectInit lk.salyk.kg [09:50:05]written 0, free lines is 4095 [09:50:06]Connected sock=10 [09:50:06]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 28 01 00 00 AF 5F 20 01 55 74 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 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 D0 07 00 00 00 00 00 37 04 06 00 FC 3A 00 00 00 00 13 04 06 00 F8 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0B 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 0C 00 00 00 00 07 04 06 00 F8 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 50 9E 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 1B 87 00 00 35 04 06 00 F4 6F CA 32 B1 5D 27 43 7C 56 0B 0B 6B 94 [09:50:06]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 1C 45 47 00 03 D6 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 1B 87 00 00 F4 03 04 00 14 45 76 66 B6 04 01 00 00 A2 17 E9 06 AA 6E 6D 76 [09:50:06]CommunicateWithHost err = 0 [09:50:06]CheckOFDResponse [09:50:06]1017 (14) - 77093643461234 [09:50:06]1041 (16) - 0000000000875095 [09:50:06]1040 (4) - 34587 [09:50:06]1012 (4) - 22.06.2024 03:29 [09:50:06]1206 (1) - 0 [09:50:06]OFD Sender: Remove packet 34587 [09:50:06]ProducePacketName [09:50:06]name=ofd_packets/00034587 [09:50:06]NVStorageDeleteData [09:50:06]Write to MH i2c: 01 00 00 56 13 69 [09:50:06]Write i2c OK [09:50:06]MH_I2C_Read... [09:50:06]Read from MH i2c: 01 [09:50:06]MH_I2C_Read... [09:50:06]Read from MH i2c: 01 07 00 [09:50:06]MH_I2C_Read... [09:50:06]Read from MH i2c: 01 07 00 56 13 00 00 00 00 00 C6 0C 42 [09:50:06]RasterBufferAndPrint [09:50:06]line [09:50:06]line [09:50:06]line [09:50:06]line [09:50:06]line [09:50:06]written 0, free lines is 3275 [09:50:06]MH_Cut [09:50:06]Write to MH i2c: D1 01 00 5D 13 01 42 [09:50:06]Write i2c OK [09:50:06]MH_I2C_Read... [09:50:06]Read from MH i2c: D1 [09:50:06]MH_I2C_Read... [09:50:06]Read from MH i2c: D1 01 00 [09:50:06]MH_I2C_Read... [09:50:06]Read from MH i2c: D1 01 00 5D 13 00 41 [09:50:06]Write to MH i2c: 01 00 00 5E 13 71 [09:50:06]Write i2c OK [09:50:06]MH_I2C_Read... [09:50:06]OFD Sender: No OFD packet to send [09:50:07]*** Cut start [09:50:07]*** Partial cut [09:50:07]*** CUTSNS_PIN = 1 [09:50:07]*** CUTSNS_PIN = 0 [09:50:07]*** Brake cut motor [09:50:07]Read from MH i2c: 01 [09:50:07]MH_I2C_Read... [09:50:07]*** Stop cut motor [09:50:07]*** Cut end [09:50:07]Read from MH i2c: 01 07 00 [09:50:07]MH_I2C_Read... [09:50:07]Read from MH i2c: 01 07 00 5E 13 00 00 00 00 00 FF 0F 86 [09:50:07]process_action close_receipt done [09:50:07]requested_data is exist [09:50:07]produce_requested_data [09:50:07]requested_item fm.sn is exist - process it [09:50:07]wFMCommunicate request_size=4 [09:50:07]MH_SAM_APDU [09:50:07]CAPDU: 80 11 00 00 [09:50:07]Write to MH i2c: E2 08 00 5F 13 80 11 00 00 00 00 00 00 EC [09:50:07]Write i2c OK [09:50:07]MH_I2C_Read... [09:50:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:50:07]Read from MH i2c: E2 [09:50:07]MH_I2C_Read... [09:50:07]Read from MH i2c: E2 17 00 [09:50:07]MH_I2C_Read... [09:50:07]Read from MH i2c: E2 17 00 5F 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 41 [09:50:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [09:50:07]wFMCommunicate OK [09:50:07]requested_item fd.num is exist - process it [09:50:07]SAM_PROTO_GetFieldsCounters [09:50:07]wFMCommunicate request_size=4 [09:50:07]MH_SAM_APDU [09:50:07]CAPDU: 80 13 00 00 [09:50:07]Write to MH i2c: E2 08 00 60 13 80 13 00 00 00 00 00 00 EF [09:50:07]Write i2c OK [09:50:07]MH_I2C_Read... [09:50:07]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:50:07]Read from MH i2c: E2 [09:50:07]MH_I2C_Read... [09:50:07]Read from MH i2c: E2 62 00 [09:50:07]MH_I2C_Read... [09:50:07]Read from MH i2c: E2 62 00 60 13 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 1B 87 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 0D 00 00 00 5E 04 04 00 0D 00 00 00 57 04 04 00 0E 00 00 00 19 04 04 00 00 00 00 00 90 00 2A [09:50:07]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 1B 87 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 0D 00 00 00 5E 04 04 00 0D 00 00 00 57 04 04 00 0E 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:50:07]wFMCommunicate OK [09:50:07]SAM_PROTO_GetFieldsCounters done [09:50:07]requested_item shift.num is exist - process it [09:50:07]requested_item shift.opened is exist - process it [09:50:07]req_shift_opened [09:50:07]FM_GetShiftState [09:50:07]SAM_PROTO_GetShiftState [09:50:07]wFMCommunicate request_size=4 [09:50:07]MH_SAM_APDU [09:50:07]CAPDU: 80 13 01 00 [09:50:07]Write to MH i2c: E2 08 00 61 13 80 13 01 00 00 00 00 00 F1 [09:50:07]Write i2c OK [09:50:07]MH_I2C_Read... [09:50:07]Read from MH i2c: E2 [09:50:07]MH_I2C_Read... [09:50:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:50:07]Read from MH i2c: E2 0E 00 [09:50:07]MH_I2C_Read... [09:50:07]Read from MH i2c: E2 0E 00 61 13 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 AB [09:50:07]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [09:50:07]wFMCommunicate OK [09:50:07]SAM_PROTO_GetShiftState done [09:50:07]FM_GetShiftState done [09:50:07]req_shift_opened done [09:50:07]requested_item shift.open_date is exist - process it [09:50:07]req_shift_open_date [09:50:07]req_shift_open_date done [09:50:07]produce_requested_data done [09:50:07]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34587,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120} [09:50:07]process_action_free close_receipt [09:50:07]json_value_free [09:50:07]json_value_free done [09:50:07]process_json_proto returns [09:50:07]Send response to host [09:50:07]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34587,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120}}} [09:50:07]free response buf [09:50:07]execute_script done [09:50:07]execute_script returns [09:50:07]free content buf [09:50:07]Sock 9.Close socket [09:50:07]Sock 9.Thread stoped [09:50:11]OFD Sender: No OFD packet to send [09:50:16]OFD Sender: No OFD packet to send [09:50:17]accept exits with 7 [09:50:17]New connection [09:50:17]New thread 3067473252 created [09:50:17]Thread 3067616612 joined [09:50:17]Waiting for new connection... [09:50:17] Sock 7.Parse request [09:50:17]Sock 7.Check first char [09:50:17]Sock 7.First char is OK [09:50:17]request: POST /json_proto HTTP/1.0 [09:50:17]Method: POST [09:50:17]URL: /json_proto [09:50:17]Method is POST - this is cgi request [09:50:17]url: /json_proto [09:50:17]query_string will be loaded in cgi processing [09:50:17]execute_cgi json_proto POST (null) [09:50:17]execute_cgi path=json_proto method=POST [09:50:17]POST find Content-Length [09:50:17]Host: 172.17.38.134:8080 [09:50:17]Content-Length: 889 [09:50:17]Content-Type: application/json [09:50:17] [09:50:17]POST finish read [09:50:17]Found Content-Length = 889 [09:50:17]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184345", "tax_sys" : 0, "items" : [ { "code": "48742245", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Silver Blue", "price" : 151.00, "quantity" : 1.000, "sum" : 151.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46227737", "name": "\u0420/\u0436 mentos pure fresh \u0430\u0440\u0431\u0443\u0437 \u0440\u043E\u043B\u043B 15,5\u0433", "price" : 49.00, "quantity" : 1.000, "sum" : 49.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 200.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:50:17]execute_script... [09:50: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)184345", "tax_sys" : 0, "items" : [ { "code": "48742245", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Silver Blue", "price" : 151.00, "quantity" : 1.000, "sum" : 151.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46227737", "name": "\u0420/\u0436 mentos pure fresh \u0430\u0440\u0431\u0443\u0437 \u0440\u043E\u043B\u043B 15,5\u0433", "price" : 49.00, "quantity" : 1.000, "sum" : 49.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 200.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:50:17]POST & json_proto [09:50:17]process_json_proto [09:50:17]json parsed OK: [09:50:17]protocol is kg_v1.0 [09:50:17]action value=close_receipt [09:50:17]process_action close_receipt [09:50:17]cmd_close_receipt [09:50:17]MH_GetDate [09:50:17]Write to MH i2c: F0 00 00 62 13 64 [09:50:17]Write i2c OK [09:50:17]MH_I2C_Read... [09:50:17]Read from MH i2c: F0 [09:50:17]MH_I2C_Read... [09:50:17]Read from MH i2c: F0 09 00 [09:50:17]MH_I2C_Read... [09:50:17]Read from MH i2c: F0 09 00 62 13 00 5D 9E 76 66 13 9C 7C 64 D3 [09:50:17]GetLastDocTimeStamp 1719049808 [09:50:17]current date 1719049821 [09:50:17]FM_GetShiftState [09:50:17]SAM_PROTO_GetShiftState [09:50:17]wFMCommunicate request_size=4 [09:50:17]MH_SAM_APDU [09:50:17]CAPDU: 80 13 01 00 [09:50:17]Write to MH i2c: E2 08 00 63 13 80 13 01 00 00 00 00 00 F3 [09:50:17]Write i2c OK [09:50:17]MH_I2C_Read... [09:50:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:50:17]Read from MH i2c: E2 [09:50:17]MH_I2C_Read... [09:50:17]Read from MH i2c: E2 0E 00 [09:50:17]MH_I2C_Read... [09:50:17]Read from MH i2c: E2 0E 00 63 13 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 AD [09:50:17]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [09:50:17]wFMCommunicate OK [09:50:17]SAM_PROTO_GetShiftState done [09:50:17]FM_GetShiftState done [09:50:17]opened in 1719016120 [09:50:17]opened+sec_in_day 1719102520 [09:50:17]quantity*price = 15100 [09:50:17]sum+1 = 15101 [09:50:17]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 46227737 Р/ж mentos pure fresh арбуз ролл 15,5г 1.000 * 49.00 = 49.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 200.00 НСП 1% : 1.77 НДС 12% : 21.23 Наличными: 200.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 14 22.06.2024 09:50 Смена: 327 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34588 ФПД: 114099868404339 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T095021&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34588&fm=114099868404339&tin=02508201610067®Number=0000000000092786&sum=20000 0 [09:50:18]StoreToDocumentArchive [09:50:18]shift 327 fd 34588 [09:50:18]save to /storage/0327/doc_00034588 [09:50:18]save last doc name /storage/0327/doc_00034588 to /storage/kkm_last_doc_name [09:50:18]save OK [09:50:18]Clear old archive folders... [09:50:18]ProcessDocumentItem done err = 0, tmpTLVsize=393 [09:50:18]tlvbuf is B6F4A670 [09:50:18]SAM_PROTO_ClearQueue [09:50:18]wFMCommunicate request_size=4 [09:50:18]MH_SAM_APDU [09:50:18]CAPDU: 80 09 00 00 [09:50:18]Write to MH i2c: E2 08 00 70 13 80 09 00 00 00 00 00 00 F5 [09:50:18]Write i2c OK [09:50:18]MH_I2C_Read... [09:50:18]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:50:18]Read from MH i2c: E2 [09:50:18]MH_I2C_Read... [09:50:18]Read from MH i2c: E2 03 00 [09:50:18]MH_I2C_Read... [09:50:18]Read from MH i2c: E2 03 00 70 13 00 90 00 F7 [09:50:18]RAPDU: 90 00 [09:50:18]wFMCommunicate OK [09:50:18]SAM_PROTO_ClearQueue done [09:50:18]KKMCreateOFDPacket [09:50:18]OFDProtocolAddRootSTLVToBuf [09:50:18]FM_MakeSignedData [09:50:18]FM_MakeSignedData [09:50:18]SAM_PROTO_SignData [09:50:18]wFMCommunicate request_size=4 [09:50:18]MH_SAM_APDU [09:50:18]CAPDU: 80 0D 01 02 [09:50:18]Write to MH i2c: E2 08 00 71 13 80 0D 01 02 00 00 00 00 FD [09:50:18]Write i2c OK [09:50:18]MH_I2C_Read... [09:50:18]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:50:18]Read from MH i2c: E2 [09:50:18]MH_I2C_Read... [09:50:18]Read from MH i2c: E2 03 00 [09:50:18]MH_I2C_Read... [09:50:18]Read from MH i2c: E2 03 00 71 13 00 90 00 F8 [09:50:18]RAPDU: 90 00 [09:50:18]wFMCommunicate OK [09:50:18]wFMCommunicate request_size=255 [09:50:18]MH_SAM_APDU [09:50:18]CAPDU: 80 0D 02 02 FA 03 00 89 01 1E 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 71 00 8A 04 08 00 34 36 32 32 37 37 33 37 06 04 32 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 70 75 72 65 20 66 72 65 73 68 20 D0 B0 D1 80 D0 B1 D1 83 D0 B7 20 D1 80 D0 BE D0 BB D0 BB 20 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 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 [09:50:18]Write to MH i2c: E2 02 01 72 13 80 0D 02 02 FA 00 03 00 89 01 1E 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 71 00 8A 04 08 00 34 36 32 32 37 37 33 37 06 04 32 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 70 75 72 65 20 66 72 65 73 68 20 D0 B0 D1 80 D0 B1 D1 83 D0 B7 20 D1 80 D0 BE D0 BB D0 BB 20 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 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 00 00 C9 [09:50:18]Write i2c OK [09:50:18]MH_I2C_Read... [09:50:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:50:18]Read from MH i2c: E2 [09:50:18]MH_I2C_Read... [09:50:18]Read from MH i2c: E2 03 00 [09:50:18]MH_I2C_Read... [09:50:18]Read from MH i2c: E2 03 00 72 13 00 90 00 F9 [09:50:18]RAPDU: 90 00 [09:50:18]wFMCommunicate OK [09:50:18]wFMCommunicate request_size=152 [09:50:18]MH_SAM_APDU [09:50:18]CAPDU: 80 0D 02 02 93 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4B 08 00 00 00 00 07 04 06 00 20 4E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 5D 9E 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 1C 87 00 00 35 04 06 00 67 C5 F2 20 0A 73 [09:50:18]Write to MH i2c: E2 9B 00 73 13 80 0D 02 02 93 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4B 08 00 00 00 00 07 04 06 00 20 4E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 5D 9E 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 1C 87 00 00 35 04 06 00 67 C5 F2 20 0A 73 00 00 54 [09:50:18]Write i2c OK [09:50:18]MH_I2C_Read... [09:50:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:50:18]Read from MH i2c: E2 [09:50:18]MH_I2C_Read... [09:50:18]Read from MH i2c: E2 03 00 [09:50:18]MH_I2C_Read... [09:50:18]Read from MH i2c: E2 03 00 73 13 00 90 00 FA [09:50:18]RAPDU: 90 00 [09:50:18]wFMCommunicate OK [09:50:18]wFMCommunicate request_size=4 [09:50:18]MH_SAM_APDU [09:50:18]CAPDU: 80 0D 03 02 [09:50:18]Write to MH i2c: E2 08 00 74 13 80 0D 03 02 00 00 00 00 02 [09:50:18]Write i2c OK [09:50:18]MH_I2C_Read... [09:50:18]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:50:18]Read from MH i2c: E2 [09:50:18]MH_I2C_Read... [09:50:18]Read from MH i2c: E2 0B 00 [09:50:18]MH_I2C_Read... [09:50:18]Read from MH i2c: E2 0B 00 74 13 00 3C 3A 84 18 71 90 A5 B1 90 00 6C [09:50:18]RAPDU: 3C 3A 84 18 71 90 A5 B1 90 00 [09:50:18]wFMCommunicate OK [09:50:18]SAM_PROTO_SignData done [09:50:18]FM_MakeSignedData done [09:50:18]CreateOFDProtocolMessage [09:50:18]wFMCommunicate request_size=4 [09:50:18]MH_SAM_APDU [09:50:18]CAPDU: 80 11 00 00 [09:50:18]Write to MH i2c: E2 08 00 75 13 80 11 00 00 00 00 00 00 02 [09:50:18]Write i2c OK [09:50:18]MH_I2C_Read... [09:50:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:50:18]Read from MH i2c: E2 [09:50:18]MH_I2C_Read... [09:50:18]Read from MH i2c: E2 17 00 [09:50:18]MH_I2C_Read... [09:50:18]Read from MH i2c: E2 17 00 75 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 57 [09:50:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [09:50:18]wFMCommunicate OK [09:50:18]CreateOFDProtocolMessage done [09:50:18]OFDSenderStorePacket 34588 [09:50:18]StoreOFDPacket docnum=34588 [09:50:18]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 9D 01 00 00 0F 02 95 01 CD DF 5A 03 01 00 03 00 89 01 1E 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 71 00 8A 04 08 00 34 36 32 32 37 37 33 37 06 04 32 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 70 75 72 65 20 66 72 65 73 68 20 D0 B0 D1 80 D0 B1 D1 83 D0 B7 20 D1 80 D0 BE D0 BB D0 BB 20 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 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4B 08 00 00 00 00 07 04 06 00 20 4E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 5D 9E 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 1C 87 00 00 35 04 06 00 67 C5 F2 20 0A 73 3C 3A 84 18 71 90 A5 B1 [09:50:18]CheckFolder [09:50:18]dirname=/storage/ofd_packets [09:50:18]CheckFolder done [09:50:18]ProducePacketName [09:50:18]name=ofd_packets/00034588 [09:50:18]NVStorageSaveData ofd_packets/00034588 [09:50:18]File name is /storage/ofd_packets/00034588 [09:50:18]Write 443 bytes [09:50:18]NVStorageSaveData done [09:50:18]OFDSenderStorePacket done [09:50:18]KKMCreateOFDPacket done [09:50:18]NVStorageSaveData kkm_last_timestamp [09:50:18]File name is /storage/kkm_last_timestamp [09:50:18]Write 4 bytes [09:50:18]NVStorageSaveData done [09:50:18]ExternCall_PrintAddStr [09:50:18]wPrintStart [09:50:18]Write to MH i2c: 01 00 00 76 13 89 [09:50:18]Write i2c OK [09:50:18]MH_I2C_Read... [09:50:18]Read from MH i2c: 01 [09:50:18]MH_I2C_Read... [09:50:18]Read from MH i2c: 01 07 00 [09:50:18]MH_I2C_Read... [09:50:18]Read from MH i2c: 01 07 00 76 13 00 00 00 00 00 FF 0F 9E [09:50:18]RasterBufferAndPrint [09:50:18]line Счет N : (3)184345 [09:50:18]line ИНН: 02508201610067 [09:50:18]line Контрольно-Кассовый Чек [09:50:18]line ПРОДАЖА [09:50:18]line Товар: 48742245 [09:50:18]line Сигареты Parliament Silver Blue [09:50:18]line 1.000 * 151.00 [09:50:19]line = 151.00 [09:50:19]line НДС 12% НСП 1% [09:50:19]line > о реализуемом товаре [09:50:19]line Товар: 46227737 [09:50:19]line Р/ж mentos pure fresh арбуз ролл 15,5г [09:50:19]line 1.000 * 49.00 [09:50:19]line = 49.00 [09:50:19]line НДС 12% НСП 1% [09:50:19]line > о реализуемом товаре [09:50:19]line ИТОГО: 200.00 [09:50:19]line НСП 1% : 1.77 [09:50:19]line НДС 12% : 21.23 [09:50:19]line Наличными: 200.00 [09:50:19]line Безнал.: 0.00 [09:50:19]line Место: АЗС № 120 "Партнер Нефть" [09:50:19]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [09:50:19]line СНО: Общий режим [09:50:19]line Чек 14 22.06.2024 09:50 [09:50:19]line Смена: 327 ФФД: 1.0 [09:50:19]line ЗНМ: 0300000172 [09:50:19]line РНМ: 0000000000092786 [09:50:19]line Версия ККМ: 001 [09:50:19]line ФМ: 0000000000875095 [09:50:19]line ФД: 34588 [09:50:19]line ФПД: 114099868404339 [09:50:19]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T095021&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34588&fm=114099868404339&tin=02508201610067®Number=0000000000092786&sum=20000 [09:50:19]line 0 [09:50:19]OFD Sender: Processing packet 34588 [packets to send 8, broken 7] [09:50:19]ProducePacketName [09:50:19]name=ofd_packets/00034588 [09:50:19]OFD Sender: To server: pG, [09:50:19]CommunicateWithHost lk.salyk.kg:30040 [09:50:19]ConnectInit lk.salyk.kg [09:50:19]written 0, free lines is 4095 [09:50:19]Connected sock=10 [09:50:19]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 9D 01 00 00 0F 02 95 01 CD DF 5A 03 01 00 03 00 89 01 1E 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 71 00 8A 04 08 00 34 36 32 32 37 37 33 37 06 04 32 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 70 75 72 65 20 66 72 65 73 68 20 D0 B0 D1 80 D0 B1 D1 83 D0 B7 20 D1 80 D0 BE D0 BB D0 BB 20 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 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4B 08 00 00 00 00 07 04 06 00 20 4E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 5D 9E 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 1C 87 00 00 35 04 06 00 67 C5 F2 20 0A 73 3C 3A 84 18 71 90 A5 B1 [09:50:19]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 29 83 47 00 8C C0 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 1C 87 00 00 F4 03 04 00 22 45 76 66 B6 04 01 00 00 B7 8B 0C 00 46 3E B1 5A [09:50:19]CommunicateWithHost err = 0 [09:50:19]CheckOFDResponse [09:50:19]1017 (14) - 77093643461234 [09:50:19]1041 (16) - 0000000000875095 [09:50:19]1040 (4) - 34588 [09:50:19]1012 (4) - 22.06.2024 03:29 [09:50:19]1206 (1) - 0 [09:50:19]OFD Sender: Remove packet 34588 [09:50:19]ProducePacketName [09:50:19]name=ofd_packets/00034588 [09:50:19]NVStorageDeleteData [09:50:19]Write to MH i2c: 01 00 00 A6 13 B9 [09:50:19]Write i2c OK [09:50:19]MH_I2C_Read... [09:50:19]Read from MH i2c: 01 [09:50:19]MH_I2C_Read... [09:50:19]Read from MH i2c: 01 07 00 [09:50:19]MH_I2C_Read... [09:50:19]Read from MH i2c: 01 07 00 A6 13 00 00 00 00 00 50 0C 1C [09:50:19]RasterBufferAndPrint [09:50:19]line [09:50:19]line [09:50:19]line [09:50:19]line [09:50:19]line [09:50:19]written 0, free lines is 3161 [09:50:19]MH_Cut [09:50:19]Write to MH i2c: D1 01 00 AD 13 01 92 [09:50:19]Write i2c OK [09:50:19]MH_I2C_Read... [09:50:19]Read from MH i2c: D1 [09:50:19]MH_I2C_Read... [09:50:19]Read from MH i2c: D1 01 00 [09:50:19]MH_I2C_Read... [09:50:19]Read from MH i2c: D1 01 00 AD 13 00 91 [09:50:19]Write to MH i2c: 01 00 00 AE 13 C1 [09:50:19]Write i2c OK [09:50:19]MH_I2C_Read... [09:50:20]OFD Sender: No OFD packet to send [09:50:20]*** Cut start [09:50:20]*** Partial cut [09:50:20]*** CUTSNS_PIN = 1 [09:50:20]*** CUTSNS_PIN = 0 [09:50:20]*** Brake cut motor [09:50:21]Read from MH i2c: 01 [09:50:21]MH_I2C_Read... [09:50:21]*** Stop cut motor [09:50:21]*** Cut end [09:50:21]Read from MH i2c: 01 07 00 [09:50:21]MH_I2C_Read... [09:50:21]Read from MH i2c: 01 07 00 AE 13 00 00 00 00 00 FF 0F D6 [09:50:21]process_action close_receipt done [09:50:21]requested_data is exist [09:50:21]produce_requested_data [09:50:21]requested_item fm.sn is exist - process it [09:50:21]wFMCommunicate request_size=4 [09:50:21]MH_SAM_APDU [09:50:21]CAPDU: 80 11 00 00 [09:50:21]Write to MH i2c: E2 08 00 AF 13 80 11 00 00 00 00 00 00 3C [09:50:21]Write i2c OK [09:50:21]MH_I2C_Read... [09:50:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:50:21]Read from MH i2c: E2 [09:50:21]MH_I2C_Read... [09:50:21]Read from MH i2c: E2 17 00 [09:50:21]MH_I2C_Read... [09:50:21]Read from MH i2c: E2 17 00 AF 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 91 [09:50:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [09:50:21]wFMCommunicate OK [09:50:21]requested_item fd.num is exist - process it [09:50:21]SAM_PROTO_GetFieldsCounters [09:50:21]wFMCommunicate request_size=4 [09:50:21]MH_SAM_APDU [09:50:21]CAPDU: 80 13 00 00 [09:50:21]Write to MH i2c: E2 08 00 B0 13 80 13 00 00 00 00 00 00 3F [09:50:21]Write i2c OK [09:50:21]MH_I2C_Read... [09:50:21]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:50:21]Read from MH i2c: E2 [09:50:21]MH_I2C_Read... [09:50:21]Read from MH i2c: E2 62 00 [09:50:21]MH_I2C_Read... [09:50:21]Read from MH i2c: E2 62 00 B0 13 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 1C 87 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 0E 00 00 00 5E 04 04 00 0E 00 00 00 57 04 04 00 0F 00 00 00 19 04 04 00 00 00 00 00 90 00 7E [09:50:21]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 1C 87 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 0E 00 00 00 5E 04 04 00 0E 00 00 00 57 04 04 00 0F 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:50:21]wFMCommunicate OK [09:50:21]SAM_PROTO_GetFieldsCounters done [09:50:21]requested_item shift.num is exist - process it [09:50:21]requested_item shift.opened is exist - process it [09:50:21]req_shift_opened [09:50:21]FM_GetShiftState [09:50:21]SAM_PROTO_GetShiftState [09:50:21]wFMCommunicate request_size=4 [09:50:21]MH_SAM_APDU [09:50:21]CAPDU: 80 13 01 00 [09:50:21]Write to MH i2c: E2 08 00 B1 13 80 13 01 00 00 00 00 00 41 [09:50:21]Write i2c OK [09:50:21]MH_I2C_Read... [09:50:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:50:21]Read from MH i2c: E2 [09:50:21]MH_I2C_Read... [09:50:21]Read from MH i2c: E2 0E 00 [09:50:21]MH_I2C_Read... [09:50:21]Read from MH i2c: E2 0E 00 B1 13 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 FB [09:50:21]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [09:50:21]wFMCommunicate OK [09:50:21]SAM_PROTO_GetShiftState done [09:50:21]FM_GetShiftState done [09:50:21]req_shift_opened done [09:50:21]requested_item shift.open_date is exist - process it [09:50:21]req_shift_open_date [09:50:21]req_shift_open_date done [09:50:21]produce_requested_data done [09:50:21]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34588,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120} [09:50:21]process_action_free close_receipt [09:50:21]json_value_free [09:50:21]json_value_free done [09:50:21]process_json_proto returns [09:50:21]Send response to host [09:50:21]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34588,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120}}} [09:50:21]free response buf [09:50:21]execute_script done [09:50:21]execute_script returns [09:50:21]free content buf [09:50:21]Sock 7.Close socket [09:50:21]Sock 7.Thread stoped [09:50:25]OFD Sender: No OFD packet to send [09:50:30]OFD Sender: No OFD packet to send [09:50:35]OFD Sender: No OFD packet to send [09:50:40]OFD Sender: No OFD packet to send [09:50:45]OFD Sender: No OFD packet to send [09:50:50]OFD Sender: No OFD packet to send [09:50:55]OFD Sender: No OFD packet to send [09:51:00]OFD Sender: No OFD packet to send [09:51:05]OFD Sender: No OFD packet to send [09:51:10]OFD Sender: No OFD packet to send [09:51:15]OFD Sender: No OFD packet to send [09:51:20]OFD Sender: No OFD packet to send [09:51:23]accept exits with 9 [09:51:23]New connection [09:51:23]New thread 3067616612 created [09:51:23]Thread 3067473252 joined [09:51:23]Waiting for new connection... [09:51:23] Sock 9.Parse request [09:51:23]Sock 9.Check first char [09:51:23]Sock 9.First char is OK [09:51:23]request: POST /json_proto HTTP/1.0 [09:51:23]Method: POST [09:51:23]URL: /json_proto [09:51:23]Method is POST - this is cgi request [09:51:23]url: /json_proto [09:51:23]query_string will be loaded in cgi processing [09:51:23]execute_cgi json_proto POST (null) [09:51:23]execute_cgi path=json_proto method=POST [09:51:23]POST find Content-Length [09:51:23]Host: 172.17.38.134:8080 [09:51:23]Content-Length: 1213 [09:51:23]Content-Type: application/json [09:51:23] [09:51:23]POST finish read [09:51:23]Found Content-Length = 1213 [09:51:23]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "print_text", "params" : { "text" : " *****\u0422\u041E\u0412\u0410\u0420\u041D\u042B\u0419 \u0427\u0415\u041A*****\u000A \u0410\u0417\u0421 120\u000A \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u043D\u0435\u0444\u0442\u044C\u000A 02508201610067\u000A\u041A\u0430\u0441\u0441\u0438\u0440 : \u0411\u0430\u0439\u0431\u0443\u0433\u0443\u0435\u0432\u0430 \u0413. \u000A\u0421\u0447\u0435\u0442 N : (1)673828\u000A22.06.2024 09:29\u000A \u041F\u0420\u041E\u0414\u0410\u0416\u0410\u000A\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A): 21\u000A\u0412\u0438\u0434 \u0413\u0421\u041C : 2710194210\u000A\u0414\u0422(\u043B)-\u041A-5\u000A 100.000 x 72.90\u000A\u0418\u0422\u041E\u0413: 7290.00\u000A\u0422\u0438\u043F \u043E\u043F\u043B\u0430\u0442\u044B: \u0422\u0430\u043B\u043E\u043D\u044B: \u0422\u043E\u043F\u043B\u0438\u0432\u043D\u0430\u044F \u041A\u0430\u0440\u0442\u0430\u000A00561\u000A ______________________\u000A (\u043F\u043E\u0434\u043F\u0438\u0441\u044C)" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:51:23]execute_script... [09:51:23]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "print_text", "params" : { "text" : " *****\u0422\u041E\u0412\u0410\u0420\u041D\u042B\u0419 \u0427\u0415\u041A*****\u000A \u0410\u0417\u0421 120\u000A \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u043D\u0435\u0444\u0442\u044C\u000A 02508201610067\u000A\u041A\u0430\u0441\u0441\u0438\u0440 : \u0411\u0430\u0439\u0431\u0443\u0433\u0443\u0435\u0432\u0430 \u0413. \u000A\u0421\u0447\u0435\u0442 N : (1)673828\u000A22.06.2024 09:29\u000A \u041F\u0420\u041E\u0414\u0410\u0416\u0410\u000A\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A): 21\u000A\u0412\u0438\u0434 \u0413\u0421\u041C : 2710194210\u000A\u0414\u0422(\u043B)-\u041A-5\u000A 100.000 x 72.90\u000A\u0418\u0422\u041E\u0413: 7290.00\u000A\u0422\u0438\u043F \u043E\u043F\u043B\u0430\u0442\u044B: \u0422\u0430\u043B\u043E\u043D\u044B: \u0422\u043E\u043F\u043B\u0438\u0432\u043D\u0430\u044F \u041A\u0430\u0440\u0442\u0430\u000A00561\u000A ______________________\u000A (\u043F\u043E\u0434\u043F\u0438\u0441\u044C)" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:51:23]POST & json_proto [09:51:23]process_json_proto [09:51:23]json parsed OK: [09:51:23]protocol is kg_v1.0 [09:51:23]action value=print_text [09:51:23]process_action print_text [09:51:23]cmd_print_text [09:51:23]ExternCall_PrintAddStr [09:51:23]wPrintStart [09:51:23]Write to MH i2c: 01 00 00 B2 13 C5 [09:51:23]Write i2c OK [09:51:23]MH_I2C_Read... [09:51:23]Read from MH i2c: 01 [09:51:23]MH_I2C_Read... [09:51:23]Read from MH i2c: 01 07 00 [09:51:23]MH_I2C_Read... [09:51:23]Read from MH i2c: 01 07 00 B2 13 00 00 00 00 00 FF 0F DA [09:51:23]RasterBufferAndPrint [09:51:23]line *****ТОВАРНЫЙ ЧЕК***** [09:51:23]line АЗС 120 [09:51:23]line Партнер нефть [09:51:23]line 02508201610067 [09:51:23]line Кассир : Байбугуева Г. [09:51:23]line Счет N : (1)673828 [09:51:23]line 22.06.2024 09:29 [09:51:23]line ПРОДАЖА [09:51:23]line ТРК (МРК, ГНК): 21 [09:51:23]line Вид ГСМ : 2710194210 [09:51:23]line ДТ(л)-К-5 [09:51:23]line 100.000 x 72.90 [09:51:23]line ИТОГ: 7290.00 [09:51:23]line Тип оплаты: Талоны: Топливная Карта [09:51:23]line 00561 [09:51:23]line ______________________ [09:51:23]line (подпись) [09:51:23]written 0, free lines is 4095 [09:51:23]Write to MH i2c: 01 00 00 C6 13 D9 [09:51:23]Write i2c OK [09:51:23]MH_I2C_Read... [09:51:23]Read from MH i2c: 01 [09:51:23]MH_I2C_Read... [09:51:23]Read from MH i2c: 01 07 00 [09:51:23]MH_I2C_Read... [09:51:23]Read from MH i2c: 01 07 00 C6 13 00 00 00 00 00 11 0E FF [09:51:23]RasterBufferAndPrint [09:51:23]line [09:51:23]line [09:51:23]line [09:51:23]line [09:51:23]line [09:51:23]written 0, free lines is 3603 [09:51:23]MH_Cut [09:51:23]Write to MH i2c: D1 01 00 CD 13 01 B2 [09:51:23]Write i2c OK [09:51:23]MH_I2C_Read... [09:51:23]Read from MH i2c: D1 [09:51:23]MH_I2C_Read... [09:51:23]Read from MH i2c: D1 01 00 [09:51:23]MH_I2C_Read... [09:51:23]Read from MH i2c: D1 01 00 CD 13 00 B1 [09:51:23]Write to MH i2c: 01 00 00 CE 13 E1 [09:51:23]Write i2c OK [09:51:23]MH_I2C_Read... [09:51:24]*** Cut start [09:51:24]*** Partial cut [09:51:24]*** CUTSNS_PIN = 1 [09:51:24]*** CUTSNS_PIN = 0 [09:51:24]*** Brake cut motor [09:51:24]Read from MH i2c: 01 [09:51:24]MH_I2C_Read... [09:51:24]Read from MH i2c: 01 07 00 [09:51:24]MH_I2C_Read... [09:51:24]*** Stop cut motor [09:51:24]*** Cut end [09:51:24]Read from MH i2c: 01 07 00 CE 13 00 00 00 00 00 FF 0F F6 [09:51:24]process_action print_text done [09:51:24]requested_data is exist [09:51:24]produce_requested_data [09:51:24]requested_item fm.sn is exist - process it [09:51:24]wFMCommunicate request_size=4 [09:51:24]MH_SAM_APDU [09:51:24]CAPDU: 80 11 00 00 [09:51:24]Write to MH i2c: E2 08 00 CF 13 80 11 00 00 00 00 00 00 5C [09:51:24]Write i2c OK [09:51:24]MH_I2C_Read... [09:51:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:51:24]Read from MH i2c: E2 [09:51:24]MH_I2C_Read... [09:51:24]Read from MH i2c: E2 17 00 [09:51:24]MH_I2C_Read... [09:51:24]Read from MH i2c: E2 17 00 CF 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 B1 [09:51:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [09:51:24]wFMCommunicate OK [09:51:24]requested_item fd.num is exist - process it [09:51:24]SAM_PROTO_GetFieldsCounters [09:51:24]wFMCommunicate request_size=4 [09:51:24]MH_SAM_APDU [09:51:24]CAPDU: 80 13 00 00 [09:51:24]Write to MH i2c: E2 08 00 D0 13 80 13 00 00 00 00 00 00 5F [09:51:24]Write i2c OK [09:51:24]MH_I2C_Read... [09:51:24]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:51:24]Read from MH i2c: E2 [09:51:24]MH_I2C_Read... [09:51:24]Read from MH i2c: E2 62 00 [09:51:24]MH_I2C_Read... [09:51:24]Read from MH i2c: E2 62 00 D0 13 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 1C 87 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 0E 00 00 00 5E 04 04 00 0E 00 00 00 57 04 04 00 0F 00 00 00 19 04 04 00 00 00 00 00 90 00 9E [09:51:24]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 1C 87 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 0E 00 00 00 5E 04 04 00 0E 00 00 00 57 04 04 00 0F 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:51:24]wFMCommunicate OK [09:51:24]SAM_PROTO_GetFieldsCounters done [09:51:24]requested_item shift.num is exist - process it [09:51:24]requested_item shift.opened is exist - process it [09:51:24]req_shift_opened [09:51:24]FM_GetShiftState [09:51:24]SAM_PROTO_GetShiftState [09:51:24]wFMCommunicate request_size=4 [09:51:24]MH_SAM_APDU [09:51:24]CAPDU: 80 13 01 00 [09:51:24]Write to MH i2c: E2 08 00 D1 13 80 13 01 00 00 00 00 00 61 [09:51:24]Write i2c OK [09:51:24]MH_I2C_Read... [09:51:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:51:24]Read from MH i2c: E2 [09:51:24]MH_I2C_Read... [09:51:24]Read from MH i2c: E2 0E 00 [09:51:24]MH_I2C_Read... [09:51:24]Read from MH i2c: E2 0E 00 D1 13 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 1B [09:51:24]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [09:51:24]wFMCommunicate OK [09:51:24]SAM_PROTO_GetShiftState done [09:51:24]FM_GetShiftState done [09:51:24]req_shift_opened done [09:51:24]requested_item shift.open_date is exist - process it [09:51:24]req_shift_open_date [09:51:24]req_shift_open_date done [09:51:24]produce_requested_data done [09:51:24]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34588,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120} [09:51:24]process_action_free print_text [09:51:24]json_value_free [09:51:24]json_value_free done [09:51:24]process_json_proto returns [09:51:24]Send response to host [09:51:24]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34588,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120}}} [09:51:24]free response buf [09:51:24]execute_script done [09:51:24]execute_script returns [09:51:24]free content buf [09:51:24]Sock 9.Close socket [09:51:24]Sock 9.Thread stoped [09:51:25]OFD Sender: No OFD packet to send [09:51:30]OFD Sender: No OFD packet to send [09:51:35]OFD Sender: No OFD packet to send [09:51:40]OFD Sender: No OFD packet to send [09:51:45]OFD Sender: No OFD packet to send [09:51:50]OFD Sender: No OFD packet to send [09:51:55]OFD Sender: No OFD packet to send [09:52:00]OFD Sender: No OFD packet to send [09:52:05]OFD Sender: No OFD packet to send [09:52:10]OFD Sender: No OFD packet to send [09:52:15]OFD Sender: No OFD packet to send [09:52:20]OFD Sender: No OFD packet to send [09:52:25]OFD Sender: No OFD packet to send [09:52:30]OFD Sender: No OFD packet to send [09:52:35]OFD Sender: No OFD packet to send [09:52:40]OFD Sender: No OFD packet to send [09:52:45]OFD Sender: No OFD packet to send [09:52:50]OFD Sender: No OFD packet to send [09:52:55]OFD Sender: No OFD packet to send [09:53:00]OFD Sender: No OFD packet to send [09:53:05]OFD Sender: No OFD packet to send [09:53:10]OFD Sender: No OFD packet to send [09:53:15]OFD Sender: No OFD packet to send [09:53:20]OFD Sender: No OFD packet to send [09:53:25]OFD Sender: No OFD packet to send [09:53:30]OFD Sender: No OFD packet to send [09:53:35]OFD Sender: No OFD packet to send [09:53:40]OFD Sender: No OFD packet to send [09:53:45]OFD Sender: No OFD packet to send [09:53:50]OFD Sender: No OFD packet to send [09:53:55]OFD Sender: No OFD packet to send [09:54:00]OFD Sender: No OFD packet to send [09:54:05]OFD Sender: No OFD packet to send [09:54:10]OFD Sender: No OFD packet to send [09:54:15]OFD Sender: No OFD packet to send [09:54:20]OFD Sender: No OFD packet to send [09:54:25]OFD Sender: No OFD packet to send [09:54:30]OFD Sender: No OFD packet to send [09:54:35]OFD Sender: No OFD packet to send [09:54:40]OFD Sender: No OFD packet to send [09:54:45]OFD Sender: No OFD packet to send [09:54:50]OFD Sender: No OFD packet to send [09:54:55]OFD Sender: No OFD packet to send [09:55:00]OFD Sender: No OFD packet to send [09:55:05]OFD Sender: No OFD packet to send [09:55:10]OFD Sender: No OFD packet to send [09:55:15]OFD Sender: No OFD packet to send [09:55:20]OFD Sender: No OFD packet to send [09:55:25]OFD Sender: No OFD packet to send [09:55:30]OFD Sender: No OFD packet to send [09:55:35]OFD Sender: No OFD packet to send [09:55:40]OFD Sender: No OFD packet to send [09:55:45]OFD Sender: No OFD packet to send [09:55:50]OFD Sender: No OFD packet to send [09:55:55]OFD Sender: No OFD packet to send [09:56:00]OFD Sender: No OFD packet to send [09:56:05]OFD Sender: No OFD packet to send [09:56:10]OFD Sender: No OFD packet to send [09:56:15]OFD Sender: No OFD packet to send [09:56:20]OFD Sender: No OFD packet to send [09:56:25]OFD Sender: No OFD packet to send [09:56:30]OFD Sender: No OFD packet to send [09:56:35]OFD Sender: No OFD packet to send [09:56:40]OFD Sender: No OFD packet to send [09:56:45]OFD Sender: No OFD packet to send [09:56:50]OFD Sender: No OFD packet to send [09:56:55]OFD Sender: No OFD packet to send [09:57:00]OFD Sender: No OFD packet to send [09:57:05]OFD Sender: No OFD packet to send [09:57:10]OFD Sender: No OFD packet to send [09:57:15]OFD Sender: No OFD packet to send [09:57:20]OFD Sender: No OFD packet to send [09:57:25]OFD Sender: No OFD packet to send [09:57:30]OFD Sender: No OFD packet to send [09:57:35]OFD Sender: No OFD packet to send [09:57:40]OFD Sender: No OFD packet to send [09:57:45]OFD Sender: No OFD packet to send [09:57:50]OFD Sender: No OFD packet to send [09:57:55]OFD Sender: No OFD packet to send [09:58:00]OFD Sender: No OFD packet to send [09:58:05]OFD Sender: No OFD packet to send [09:58:10]OFD Sender: No OFD packet to send [09:58:15]OFD Sender: No OFD packet to send [09:58:20]OFD Sender: No OFD packet to send [09:58:25]OFD Sender: No OFD packet to send [09:58:30]OFD Sender: No OFD packet to send [09:58:35]OFD Sender: No OFD packet to send [09:58:40]OFD Sender: No OFD packet to send [09:58:45]OFD Sender: No OFD packet to send [09:58:50]OFD Sender: No OFD packet to send [09:58:55]OFD Sender: No OFD packet to send [09:59:00]OFD Sender: No OFD packet to send [09:59:05]OFD Sender: No OFD packet to send [09:59:10]OFD Sender: No OFD packet to send [09:59:15]OFD Sender: No OFD packet to send [09:59:20]OFD Sender: No OFD packet to send [09:59:25]OFD Sender: No OFD packet to send [09:59:30]OFD Sender: No OFD packet to send [09:59:35]OFD Sender: No OFD packet to send [09:59:40]OFD Sender: No OFD packet to send [09:59:45]OFD Sender: No OFD packet to send [09:59:50]OFD Sender: No OFD packet to send [09:59:55]OFD Sender: No OFD packet to send [10:00:00]OFD Sender: No OFD packet to send [10:00:05]OFD Sender: No OFD packet to send [10:00:10]OFD Sender: No OFD packet to send [10:00:15]OFD Sender: No OFD packet to send [10:00:20]OFD Sender: No OFD packet to send [10:00:25]OFD Sender: No OFD packet to send [10:00:30]OFD Sender: No OFD packet to send [10:00:35]OFD Sender: No OFD packet to send [10:00:40]OFD Sender: No OFD packet to send [10:00:45]OFD Sender: No OFD packet to send [10:00:50]OFD Sender: No OFD packet to send [10:00:55]OFD Sender: No OFD packet to send [10:01:00]OFD Sender: No OFD packet to send [10:01:05]OFD Sender: No OFD packet to send [10:01:10]OFD Sender: No OFD packet to send [10:01:15]OFD Sender: No OFD packet to send [10:01:20]OFD Sender: No OFD packet to send [10:01:25]OFD Sender: No OFD packet to send [10:01:30]OFD Sender: No OFD packet to send [10:01:35]OFD Sender: No OFD packet to send [10:01:40]OFD Sender: No OFD packet to send [10:01:45]OFD Sender: No OFD packet to send [10:01:50]OFD Sender: No OFD packet to send [10:01:55]OFD Sender: No OFD packet to send [10:02:00]OFD Sender: No OFD packet to send [10:02:05]OFD Sender: No OFD packet to send [10:02:10]OFD Sender: No OFD packet to send [10:02:15]OFD Sender: No OFD packet to send [10:02:20]OFD Sender: No OFD packet to send [10:02:25]OFD Sender: No OFD packet to send [10:02:30]OFD Sender: No OFD packet to send [10:02:35]OFD Sender: No OFD packet to send [10:02:40]OFD Sender: No OFD packet to send [10:02:45]OFD Sender: No OFD packet to send [10:02:50]OFD Sender: No OFD packet to send [10:02:55]OFD Sender: No OFD packet to send [10:03:00]OFD Sender: No OFD packet to send [10:03:05]OFD Sender: No OFD packet to send [10:03:10]OFD Sender: No OFD packet to send [10:03:15]OFD Sender: No OFD packet to send [10:03:20]OFD Sender: No OFD packet to send [10:03:25]OFD Sender: No OFD packet to send [10:03:30]OFD Sender: No OFD packet to send [10:03:35]OFD Sender: No OFD packet to send [10:03:40]OFD Sender: No OFD packet to send [10:03:45]OFD Sender: No OFD packet to send [10:03:50]OFD Sender: No OFD packet to send [10:03:55]OFD Sender: No OFD packet to send [10:04:00]OFD Sender: No OFD packet to send [10:04:05]OFD Sender: No OFD packet to send [10:04:10]OFD Sender: No OFD packet to send [10:04:15]OFD Sender: No OFD packet to send [10:04:20]OFD Sender: No OFD packet to send [10:04:25]OFD Sender: No OFD packet to send [10:04:30]OFD Sender: No OFD packet to send [10:04:35]OFD Sender: No OFD packet to send [10:04:40]OFD Sender: No OFD packet to send [10:04:45]OFD Sender: No OFD packet to send [10:04:50]OFD Sender: No OFD packet to send [10:04:55]OFD Sender: No OFD packet to send [10:05:00]OFD Sender: No OFD packet to send [10:05:05]OFD Sender: No OFD packet to send [10:05:10]OFD Sender: No OFD packet to send [10:05:15]OFD Sender: No OFD packet to send [10:05:20]OFD Sender: No OFD packet to send [10:05:25]OFD Sender: No OFD packet to send [10:05:30]OFD Sender: No OFD packet to send [10:05:35]OFD Sender: No OFD packet to send [10:05:40]OFD Sender: No OFD packet to send [10:05:45]OFD Sender: No OFD packet to send [10:05:50]OFD Sender: No OFD packet to send [10:05:55]OFD Sender: No OFD packet to send [10:06:00]OFD Sender: No OFD packet to send [10:06:05]OFD Sender: No OFD packet to send [10:06:10]OFD Sender: No OFD packet to send [10:06:15]OFD Sender: No OFD packet to send [10:06:20]OFD Sender: No OFD packet to send [10:06:25]OFD Sender: No OFD packet to send [10:06:30]OFD Sender: No OFD packet to send [10:06:35]OFD Sender: No OFD packet to send [10:06:40]OFD Sender: No OFD packet to send [10:06:45]OFD Sender: No OFD packet to send [10:06:50]OFD Sender: No OFD packet to send [10:06:55]OFD Sender: No OFD packet to send [10:07:00]OFD Sender: No OFD packet to send [10:07:05]OFD Sender: No OFD packet to send [10:07:10]OFD Sender: No OFD packet to send [10:07:15]OFD Sender: No OFD packet to send [10:07:20]OFD Sender: No OFD packet to send [10:07:25]OFD Sender: No OFD packet to send [10:07:30]OFD Sender: No OFD packet to send [10:07:35]OFD Sender: No OFD packet to send [10:07:40]OFD Sender: No OFD packet to send [10:07:45]OFD Sender: No OFD packet to send [10:07:50]OFD Sender: No OFD packet to send [10:07:55]OFD Sender: No OFD packet to send [10:08:00]OFD Sender: No OFD packet to send [10:08:05]OFD Sender: No OFD packet to send [10:08:10]OFD Sender: No OFD packet to send [10:08:16]OFD Sender: No OFD packet to send [10:08:21]OFD Sender: No OFD packet to send [10:08:26]OFD Sender: No OFD packet to send [10:08:31]OFD Sender: No OFD packet to send [10:08:36]OFD Sender: No OFD packet to send [10:08:41]OFD Sender: No OFD packet to send [10:08:46]OFD Sender: No OFD packet to send [10:08:51]OFD Sender: No OFD packet to send [10:08:56]OFD Sender: No OFD packet to send [10:09:01]OFD Sender: No OFD packet to send [10:09:06]OFD Sender: No OFD packet to send [10:09:11]OFD Sender: No OFD packet to send [10:09:16]OFD Sender: No OFD packet to send [10:09:21]OFD Sender: No OFD packet to send [10:09:26]OFD Sender: No OFD packet to send [10:09:31]OFD Sender: No OFD packet to send [10:09:36]OFD Sender: No OFD packet to send [10:09:41]OFD Sender: No OFD packet to send [10:09:46]OFD Sender: No OFD packet to send [10:09:51]OFD Sender: No OFD packet to send [10:09:56]OFD Sender: No OFD packet to send [10:10:01]OFD Sender: No OFD packet to send [10:10:06]OFD Sender: No OFD packet to send [10:10:11]OFD Sender: No OFD packet to send [10:10:16]OFD Sender: No OFD packet to send [10:10:21]OFD Sender: No OFD packet to send [10:10:26]OFD Sender: No OFD packet to send [10:10:31]OFD Sender: No OFD packet to send [10:10:36]OFD Sender: No OFD packet to send [10:10:41]OFD Sender: No OFD packet to send [10:10:46]OFD Sender: No OFD packet to send [10:10:51]OFD Sender: No OFD packet to send [10:10:56]OFD Sender: No OFD packet to send [10:11:01]OFD Sender: No OFD packet to send [10:11:06]OFD Sender: No OFD packet to send [10:11:11]OFD Sender: No OFD packet to send [10:11:16]OFD Sender: No OFD packet to send [10:11:21]OFD Sender: No OFD packet to send [10:11:26]OFD Sender: No OFD packet to send [10:11:31]OFD Sender: No OFD packet to send [10:11:36]OFD Sender: No OFD packet to send [10:11:41]OFD Sender: No OFD packet to send [10:11:46]OFD Sender: No OFD packet to send [10:11:51]OFD Sender: No OFD packet to send [10:11:56]OFD Sender: No OFD packet to send [10:12:01]OFD Sender: No OFD packet to send [10:12:06]OFD Sender: No OFD packet to send [10:12:11]OFD Sender: No OFD packet to send [10:12:16]OFD Sender: No OFD packet to send [10:12:21]OFD Sender: No OFD packet to send [10:12:26]OFD Sender: No OFD packet to send [10:12:31]OFD Sender: No OFD packet to send [10:12:36]OFD Sender: No OFD packet to send [10:12:41]OFD Sender: No OFD packet to send [10:12:46]OFD Sender: No OFD packet to send [10:12:51]OFD Sender: No OFD packet to send [10:12:56]OFD Sender: No OFD packet to send [10:13:01]OFD Sender: No OFD packet to send [10:13:06]OFD Sender: No OFD packet to send [10:13:11]OFD Sender: No OFD packet to send [10:13:16]OFD Sender: No OFD packet to send [10:13:21]OFD Sender: No OFD packet to send [10:13:26]OFD Sender: No OFD packet to send [10:13:31]OFD Sender: No OFD packet to send [10:13:36]OFD Sender: No OFD packet to send [10:13:41]OFD Sender: No OFD packet to send [10:13:46]OFD Sender: No OFD packet to send [10:13:51]OFD Sender: No OFD packet to send [10:13:56]OFD Sender: No OFD packet to send [10:14:01]OFD Sender: No OFD packet to send [10:14:06]OFD Sender: No OFD packet to send [10:14:11]OFD Sender: No OFD packet to send [10:14:16]OFD Sender: No OFD packet to send [10:14:21]OFD Sender: No OFD packet to send [10:14:26]OFD Sender: No OFD packet to send [10:14:31]OFD Sender: No OFD packet to send [10:14:36]OFD Sender: No OFD packet to send [10:14:41]OFD Sender: No OFD packet to send [10:14:46]OFD Sender: No OFD packet to send [10:14:51]OFD Sender: No OFD packet to send [10:14:56]OFD Sender: No OFD packet to send [10:15:01]OFD Sender: No OFD packet to send [10:15:06]OFD Sender: No OFD packet to send [10:15:11]OFD Sender: No OFD packet to send [10:15:16]OFD Sender: No OFD packet to send [10:15:21]OFD Sender: No OFD packet to send [10:15:26]OFD Sender: No OFD packet to send [10:15:31]OFD Sender: No OFD packet to send [10:15:36]OFD Sender: No OFD packet to send [10:15:41]OFD Sender: No OFD packet to send [10:15:46]OFD Sender: No OFD packet to send [10:15:51]OFD Sender: No OFD packet to send [10:15:56]OFD Sender: No OFD packet to send [10:16:01]OFD Sender: No OFD packet to send [10:16:06]OFD Sender: No OFD packet to send [10:16:11]OFD Sender: No OFD packet to send [10:16:16]OFD Sender: No OFD packet to send [10:16:21]OFD Sender: No OFD packet to send [10:16:26]OFD Sender: No OFD packet to send [10:16:31]OFD Sender: No OFD packet to send [10:16:35]accept exits with 7 [10:16:35]New connection [10:16:35]New thread 3067473252 created [10:16:35]Thread 3067616612 joined [10:16:35]Waiting for new connection... [10:16:35] Sock 7.Parse request [10:16:35]Sock 7.Check first char [10:16:35]Sock 7.First char is OK [10:16:35]request: POST /json_proto HTTP/1.0 [10:16:35]Method: POST [10:16:35]URL: /json_proto [10:16:35]Method is POST - this is cgi request [10:16:35]url: /json_proto [10:16:35]query_string will be loaded in cgi processing [10:16:35]execute_cgi json_proto POST (null) [10:16:35]execute_cgi path=json_proto method=POST [10:16:35]POST find Content-Length [10:16:35]Host: 172.17.38.134:8080 [10:16:35]Content-Length: 931 [10:16:35]Content-Type: application/json [10:16:35] [10:16:35]POST finish read [10:16:35]Found Content-Length = 931 [10:16:35]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184346", "tax_sys" : 0, "items" : [ { "code": "4870001150013", "name": "\u0421\u043E\u043A Da-Da 1\u043B \u0430\u043F\u0435\u043B\u044C\u0441\u0438\u043D", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000053020015", "name": "\u0411\u0443\u043C\u0430\u0436\u043D\u044B\u0435 \u0441\u0442\u0430\u043A\u0430\u043D\u044B 250\u043C\u043B 1\u0448\u0442", "price" : 7.00, "quantity" : 7.000, "sum" : 49.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 199.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:16:35]execute_script... [10:16: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)184346", "tax_sys" : 0, "items" : [ { "code": "4870001150013", "name": "\u0421\u043E\u043A Da-Da 1\u043B \u0430\u043F\u0435\u043B\u044C\u0441\u0438\u043D", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000053020015", "name": "\u0411\u0443\u043C\u0430\u0436\u043D\u044B\u0435 \u0441\u0442\u0430\u043A\u0430\u043D\u044B 250\u043C\u043B 1\u0448\u0442", "price" : 7.00, "quantity" : 7.000, "sum" : 49.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 199.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:16:35]POST & json_proto [10:16:35]process_json_proto [10:16:35]json parsed OK: [10:16:35]protocol is kg_v1.0 [10:16:35]action value=close_receipt [10:16:35]process_action close_receipt [10:16:35]cmd_close_receipt [10:16:35]MH_GetDate [10:16:35]Write to MH i2c: F0 00 00 D2 13 D4 [10:16:35]Write i2c OK [10:16:35]MH_I2C_Read... [10:16:35]Read from MH i2c: F0 [10:16:35]MH_I2C_Read... [10:16:35]Read from MH i2c: F0 09 00 [10:16:35]MH_I2C_Read... [10:16:35]Read from MH i2c: F0 09 00 D2 13 00 87 A4 76 66 13 9C 7C 64 73 [10:16:35]GetLastDocTimeStamp 1719049821 [10:16:35]current date 1719051399 [10:16:35]FM_GetShiftState [10:16:35]SAM_PROTO_GetShiftState [10:16:35]wFMCommunicate request_size=4 [10:16:35]MH_SAM_APDU [10:16:35]CAPDU: 80 13 01 00 [10:16:35]Write to MH i2c: E2 08 00 D3 13 80 13 01 00 00 00 00 00 63 [10:16:35]Write i2c OK [10:16:35]MH_I2C_Read... [10:16:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:16:35]Read from MH i2c: E2 [10:16:35]MH_I2C_Read... [10:16:35]Read from MH i2c: E2 0E 00 [10:16:35]MH_I2C_Read... [10:16:35]Read from MH i2c: E2 0E 00 D3 13 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 1D [10:16:35]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [10:16:35]wFMCommunicate OK [10:16:35]SAM_PROTO_GetShiftState done [10:16:35]FM_GetShiftState done [10:16:35]opened in 1719016120 [10:16:35]opened+sec_in_day 1719102520 [10:16:35]quantity*price = 15000 [10:16:35]sum+1 = 15001 [10:16:35]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 2000053020015 Бумажные стаканы 250мл 1шт 7.000 * 7.00 = 49.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 199.00 НСП 1% : 1.76 НДС 12% : 21.13 Наличными: 199.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 15 22.06.2024 10:16 Смена: 327 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34589 ФПД: 56803737412348 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T101639&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34589&fm=56803737412348&tin=02508201610067®Number=0000000000092786&sum=19900 0 [10:16:36]StoreToDocumentArchive [10:16:36]shift 327 fd 34589 [10:16:36]save to /storage/0327/doc_00034589 [10:16:36]save last doc name /storage/0327/doc_00034589 to /storage/kkm_last_doc_name [10:16:36]save OK [10:16:36]Clear old archive folders... [10:16:36]ProcessDocumentItem done err = 0, tmpTLVsize=392 [10:16:36]tlvbuf is 015C7340 [10:16:36]SAM_PROTO_ClearQueue [10:16:36]wFMCommunicate request_size=4 [10:16:36]MH_SAM_APDU [10:16:36]CAPDU: 80 09 00 00 [10:16:36]Write to MH i2c: E2 08 00 E0 13 80 09 00 00 00 00 00 00 65 [10:16:36]Write i2c OK [10:16:36]MH_I2C_Read... [10:16:36]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:16:36]Read from MH i2c: E2 [10:16:36]MH_I2C_Read... [10:16:36]Read from MH i2c: E2 03 00 [10:16:36]MH_I2C_Read... [10:16:36]Read from MH i2c: E2 03 00 E0 13 00 90 00 67 [10:16:36]RAPDU: 90 00 [10:16:36]wFMCommunicate OK [10:16:36]SAM_PROTO_ClearQueue done [10:16:36]KKMCreateOFDPacket [10:16:36]OFDProtocolAddRootSTLVToBuf [10:16:36]FM_MakeSignedData [10:16:36]FM_MakeSignedData [10:16:36]SAM_PROTO_SignData [10:16:36]wFMCommunicate request_size=4 [10:16:36]MH_SAM_APDU [10:16:36]CAPDU: 80 0D 01 02 [10:16:36]Write to MH i2c: E2 08 00 E1 13 80 0D 01 02 00 00 00 00 6D [10:16:36]Write i2c OK [10:16:36]MH_I2C_Read... [10:16:36]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:16:36]Read from MH i2c: E2 [10:16:36]MH_I2C_Read... [10:16:36]Read from MH i2c: E2 03 00 [10:16:36]MH_I2C_Read... [10:16:36]Read from MH i2c: E2 03 00 E1 13 00 90 00 68 [10:16:36]RAPDU: 90 00 [10:16:36]wFMCommunicate OK [10:16:36]wFMCommunicate request_size=255 [10:16:36]MH_SAM_APDU [10:16:36]CAPDU: 80 0D 02 02 FA 03 00 88 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 38 37 30 30 30 31 31 35 30 30 31 33 06 04 21 00 D0 A1 D0 BE D0 BA 20 44 61 2D 44 61 20 31 D0 BB 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 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 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 58 1B 00 00 00 00 00 37 04 06 00 BC 02 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 BC 4D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 [10:16:36]Write to MH i2c: E2 02 01 E2 13 80 0D 02 02 FA 00 03 00 88 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 38 37 30 30 30 31 31 35 30 30 31 33 06 04 21 00 D0 A1 D0 BE D0 BA 20 44 61 2D 44 61 20 31 D0 BB 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 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 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 58 1B 00 00 00 00 00 37 04 06 00 BC 02 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 BC 4D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 00 00 E5 [10:16:36]Write i2c OK [10:16:36]MH_I2C_Read... [10:16:36]OFD Sender: No OFD packet to send [10:16:36]Read from MH i2c: E2 [10:16:36]MH_I2C_Read... [10:16:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:16:36]Read from MH i2c: E2 03 00 [10:16:36]MH_I2C_Read... [10:16:36]Read from MH i2c: E2 03 00 E2 13 00 90 00 69 [10:16:36]RAPDU: 90 00 [10:16:36]wFMCommunicate OK [10:16:36]wFMCommunicate request_size=151 [10:16:36]MH_SAM_APDU [10:16:36]CAPDU: 80 0D 02 02 92 03 01 00 01 F7 03 06 00 B0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 41 08 00 00 00 00 07 04 06 00 BC 4D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 87 A4 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 1D 87 00 00 35 04 06 00 33 A9 A6 97 22 FC [10:16:36]Write to MH i2c: E2 9A 00 E3 13 80 0D 02 02 92 00 03 01 00 01 F7 03 06 00 B0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 41 08 00 00 00 00 07 04 06 00 BC 4D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 87 A4 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 1D 87 00 00 35 04 06 00 33 A9 A6 97 22 FC 00 00 0A [10:16:36]Write i2c OK [10:16:36]MH_I2C_Read... [10:16:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:16:36]Read from MH i2c: E2 [10:16:36]MH_I2C_Read... [10:16:36]Read from MH i2c: E2 03 00 [10:16:36]MH_I2C_Read... [10:16:36]Read from MH i2c: E2 03 00 E3 13 00 90 00 6A [10:16:36]RAPDU: 90 00 [10:16:36]wFMCommunicate OK [10:16:36]wFMCommunicate request_size=4 [10:16:36]MH_SAM_APDU [10:16:36]CAPDU: 80 0D 03 02 [10:16:36]Write to MH i2c: E2 08 00 E4 13 80 0D 03 02 00 00 00 00 72 [10:16:36]Write i2c OK [10:16:36]MH_I2C_Read... [10:16:36]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:16:36]Read from MH i2c: E2 [10:16:36]MH_I2C_Read... [10:16:36]Read from MH i2c: E2 0B 00 [10:16:36]MH_I2C_Read... [10:16:36]Read from MH i2c: E2 0B 00 E4 13 00 C5 18 68 A7 B7 02 3D 23 90 00 78 [10:16:36]RAPDU: C5 18 68 A7 B7 02 3D 23 90 00 [10:16:36]wFMCommunicate OK [10:16:36]SAM_PROTO_SignData done [10:16:36]FM_MakeSignedData done [10:16:36]CreateOFDProtocolMessage [10:16:36]wFMCommunicate request_size=4 [10:16:36]MH_SAM_APDU [10:16:36]CAPDU: 80 11 00 00 [10:16:36]Write to MH i2c: E2 08 00 E5 13 80 11 00 00 00 00 00 00 72 [10:16:36]Write i2c OK [10:16:36]MH_I2C_Read... [10:16:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:16:36]Read from MH i2c: E2 [10:16:36]MH_I2C_Read... [10:16:36]Read from MH i2c: E2 17 00 [10:16:36]MH_I2C_Read... [10:16:36]Read from MH i2c: E2 17 00 E5 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 C7 [10:16:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [10:16:36]wFMCommunicate OK [10:16:36]CreateOFDProtocolMessage done [10:16:36]OFDSenderStorePacket 34589 [10:16:36]StoreOFDPacket docnum=34589 [10:16:36]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 9C 01 00 00 89 37 94 01 D2 AF 5A 03 01 00 03 00 88 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 38 37 30 30 30 31 31 35 30 30 31 33 06 04 21 00 D0 A1 D0 BE D0 BA 20 44 61 2D 44 61 20 31 D0 BB 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 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 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 58 1B 00 00 00 00 00 37 04 06 00 BC 02 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 BC 4D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 41 08 00 00 00 00 07 04 06 00 BC 4D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 87 A4 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 1D 87 00 00 35 04 06 00 33 A9 A6 97 22 FC C5 18 68 A7 B7 02 3D 23 [10:16:36]CheckFolder [10:16:36]dirname=/storage/ofd_packets [10:16:36]CheckFolder done [10:16:36]ProducePacketName [10:16:36]name=ofd_packets/00034589 [10:16:36]NVStorageSaveData ofd_packets/00034589 [10:16:36]File name is /storage/ofd_packets/00034589 [10:16:36]Write 442 bytes [10:16:36]NVStorageSaveData done [10:16:36]OFDSenderStorePacket done [10:16:36]KKMCreateOFDPacket done [10:16:36]NVStorageSaveData kkm_last_timestamp [10:16:36]File name is /storage/kkm_last_timestamp [10:16:36]Write 4 bytes [10:16:36]NVStorageSaveData done [10:16:36]ExternCall_PrintAddStr [10:16:36]wPrintStart [10:16:36]Write to MH i2c: 01 00 00 E6 13 F9 [10:16:36]Write i2c OK [10:16:36]MH_I2C_Read... [10:16:36]Read from MH i2c: 01 [10:16:37]MH_I2C_Read... [10:16:37]OFD Sender: Processing packet 34589 [packets to send 8, broken 7] [10:16:37]ProducePacketName [10:16:37]name=ofd_packets/00034589 [10:16:37]OFD Sender: To server: pG, [10:16:37]CommunicateWithHost lk.salyk.kg:30040 [10:16:37]ConnectInit lk.salyk.kg [10:16:37]Read from MH i2c: 01 07 00 [10:16:37]MH_I2C_Read... [10:16:37]Read from MH i2c: 01 07 00 E6 13 00 00 00 00 00 FF 0F 0E [10:16:37]RasterBufferAndPrint [10:16:37]line Счет N : (3)184346 [10:16:37]line ИНН: 02508201610067 [10:16:37]line Контрольно-Кассовый Чек [10:16:37]line ПРОДАЖА [10:16:37]line Товар: 4870001150013 [10:16:37]line Сок Da-Da 1л апельсин [10:16:37]line 1.000 * 150.00 [10:16:37]line = 150.00 [10:16:37]line НДС 12% НСП 1% [10:16:37]line > о реализуемом товаре [10:16:37]line Товар: 2000053020015 [10:16:37]line Бумажные стаканы 250мл 1шт [10:16:37]line 7.000 * 7.00 [10:16:37]line = 49.00 [10:16:37]line НДС 12% НСП 1% [10:16:37]line > о реализуемом товаре [10:16:37]line ИТОГО: 199.00 [10:16:37]line НСП 1% : 1.76 [10:16:37]line НДС 12% : 21.13 [10:16:37]line Наличными: 199.00 [10:16:37]line Безнал.: 0.00 [10:16:37]line Место: АЗС № 120 "Партнер Нефть" [10:16:37]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [10:16:37]line СНО: Общий режим [10:16:37]line Чек 15 22.06.2024 10:16 [10:16:37]line Смена: 327 ФФД: 1.0 [10:16:37]line ЗНМ: 0300000172 [10:16:37]line РНМ: 0000000000092786 [10:16:37]line Версия ККМ: 001 [10:16:37]line ФМ: 0000000000875095 [10:16:37]line ФД: 34589 [10:16:37]line ФПД: 56803737412348 [10:16:37]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T101639&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34589&fm=56803737412348&tin=02508201610067®Number=0000000000092786&sum=19900 [10:16:37]line 0 [10:16:37]written 0, free lines is 4095 [10:16:37]Connected sock=10 [10:16:37]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 9C 01 00 00 89 37 94 01 D2 AF 5A 03 01 00 03 00 88 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 38 37 30 30 30 31 31 35 30 30 31 33 06 04 21 00 D0 A1 D0 BE D0 BA 20 44 61 2D 44 61 20 31 D0 BB 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 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 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 58 1B 00 00 00 00 00 37 04 06 00 BC 02 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 BC 4D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 41 08 00 00 00 00 07 04 06 00 BC 4D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 87 A4 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 1D 87 00 00 35 04 06 00 33 A9 A6 97 22 FC C5 18 68 A7 B7 02 3D 23 [10:16:37]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 12 87 47 00 42 B6 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 1D 87 00 00 F4 03 04 00 4C 4B 76 66 B6 04 01 00 00 62 52 25 EA 8F D3 59 B3 [10:16:37]CommunicateWithHost err = 0 [10:16:37]CheckOFDResponse [10:16:37]1017 (14) - 77093643461234 [10:16:37]1041 (16) - 0000000000875095 [10:16:37]1040 (4) - 34589 [10:16:37]1012 (4) - 22.06.2024 03:55 [10:16:37]1206 (1) - 0 [10:16:37]OFD Sender: Remove packet 34589 [10:16:37]ProducePacketName [10:16:37]name=ofd_packets/00034589 [10:16:37]NVStorageDeleteData [10:16:37]Write to MH i2c: 01 00 00 15 14 29 [10:16:37]Write i2c OK [10:16:37]MH_I2C_Read... [10:16:37]Read from MH i2c: 01 [10:16:37]MH_I2C_Read... [10:16:37]Read from MH i2c: 01 07 00 [10:16:37]MH_I2C_Read... [10:16:37]Read from MH i2c: 01 07 00 15 14 00 00 00 00 00 88 0C C4 [10:16:37]RasterBufferAndPrint [10:16:37]line [10:16:37]line [10:16:37]line [10:16:37]line [10:16:37]line [10:16:37]written 0, free lines is 3213 [10:16:37]MH_Cut [10:16:37]Write to MH i2c: D1 01 00 1C 14 01 02 [10:16:37]Write i2c OK [10:16:37]MH_I2C_Read... [10:16:37]Read from MH i2c: D1 [10:16:37]MH_I2C_Read... [10:16:37]Read from MH i2c: D1 01 00 [10:16:37]MH_I2C_Read... [10:16:37]Read from MH i2c: D1 01 00 1C 14 00 01 [10:16:37]Write to MH i2c: 01 00 00 1D 14 31 [10:16:37]Write i2c OK [10:16:37]MH_I2C_Read... [10:16:38]OFD Sender: No OFD packet to send [10:16:38]*** Cut start [10:16:38]*** Partial cut [10:16:38]*** CUTSNS_PIN = 1 [10:16:38]*** CUTSNS_PIN = 0 [10:16:38]*** Brake cut motor [10:16:39]Read from MH i2c: 01 [10:16:39]MH_I2C_Read... [10:16:39]*** Stop cut motor [10:16:39]*** Cut end [10:16:39]Read from MH i2c: 01 07 00 [10:16:39]MH_I2C_Read... [10:16:39]Read from MH i2c: 01 07 00 1D 14 00 00 00 00 00 FF 0F 46 [10:16:39]process_action close_receipt done [10:16:39]requested_data is exist [10:16:39]produce_requested_data [10:16:39]requested_item fm.sn is exist - process it [10:16:39]wFMCommunicate request_size=4 [10:16:39]MH_SAM_APDU [10:16:39]CAPDU: 80 11 00 00 [10:16:39]Write to MH i2c: E2 08 00 1E 14 80 11 00 00 00 00 00 00 AC [10:16:39]Write i2c OK [10:16:39]MH_I2C_Read... [10:16:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:16:39]Read from MH i2c: E2 [10:16:39]MH_I2C_Read... [10:16:39]Read from MH i2c: E2 17 00 [10:16:39]MH_I2C_Read... [10:16:39]Read from MH i2c: E2 17 00 1E 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 01 [10:16:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [10:16:39]wFMCommunicate OK [10:16:39]requested_item fd.num is exist - process it [10:16:39]SAM_PROTO_GetFieldsCounters [10:16:39]wFMCommunicate request_size=4 [10:16:39]MH_SAM_APDU [10:16:39]CAPDU: 80 13 00 00 [10:16:39]Write to MH i2c: E2 08 00 1F 14 80 13 00 00 00 00 00 00 AF [10:16:39]Write i2c OK [10:16:39]MH_I2C_Read... [10:16:39]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:16:39]Read from MH i2c: E2 [10:16:39]MH_I2C_Read... [10:16:39]Read from MH i2c: E2 62 00 [10:16:39]MH_I2C_Read... [10:16:39]Read from MH i2c: E2 62 00 1F 14 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 1D 87 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 0F 00 00 00 5E 04 04 00 0F 00 00 00 57 04 04 00 10 00 00 00 19 04 04 00 00 00 00 00 90 00 F2 [10:16:39]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 1D 87 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 0F 00 00 00 5E 04 04 00 0F 00 00 00 57 04 04 00 10 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:16:39]wFMCommunicate OK [10:16:39]SAM_PROTO_GetFieldsCounters done [10:16:39]requested_item shift.num is exist - process it [10:16:39]requested_item shift.opened is exist - process it [10:16:39]req_shift_opened [10:16:39]FM_GetShiftState [10:16:39]SAM_PROTO_GetShiftState [10:16:39]wFMCommunicate request_size=4 [10:16:39]MH_SAM_APDU [10:16:39]CAPDU: 80 13 01 00 [10:16:39]Write to MH i2c: E2 08 00 20 14 80 13 01 00 00 00 00 00 B1 [10:16:39]Write i2c OK [10:16:39]MH_I2C_Read... [10:16:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:16:39]Read from MH i2c: E2 [10:16:39]MH_I2C_Read... [10:16:39]Read from MH i2c: E2 0E 00 [10:16:39]MH_I2C_Read... [10:16:39]Read from MH i2c: E2 0E 00 20 14 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 6B [10:16:39]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [10:16:39]wFMCommunicate OK [10:16:39]SAM_PROTO_GetShiftState done [10:16:39]FM_GetShiftState done [10:16:39]req_shift_opened done [10:16:39]requested_item shift.open_date is exist - process it [10:16:39]req_shift_open_date [10:16:39]req_shift_open_date done [10:16:39]produce_requested_data done [10:16:39]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34589,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120} [10:16:39]process_action_free close_receipt [10:16:39]json_value_free [10:16:39]json_value_free done [10:16:39]process_json_proto returns [10:16:39]Send response to host [10:16:39]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34589,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120}}} [10:16:39]free response buf [10:16:39]execute_script done [10:16:39]execute_script returns [10:16:39]free content buf [10:16:39]Sock 7.Close socket [10:16:39]Sock 7.Thread stoped [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:28]OFD Sender: No OFD packet to send [10:18:33]OFD Sender: No OFD packet to send [10:18:38]OFD Sender: No OFD packet to send [10:18:43]OFD Sender: No OFD packet to send [10:18:48]OFD Sender: No OFD packet to send [10:18:53]OFD Sender: No OFD packet to send [10:18:58]OFD Sender: No OFD packet to send [10:19:03]OFD Sender: No OFD packet to send [10:19:08]OFD Sender: No OFD packet to send [10:19:13]OFD Sender: No OFD packet to send [10:19:18]OFD Sender: No OFD packet to send [10:19:23]OFD Sender: No OFD packet to send [10:19:28]OFD Sender: No OFD packet to send [10:19:33]OFD Sender: No OFD packet to send [10:19:38]OFD Sender: No OFD packet to send [10:19:43]OFD Sender: No OFD packet to send [10:19:48]OFD Sender: No OFD packet to send [10:19:53]OFD Sender: No OFD packet to send [10:19:58]OFD Sender: No OFD packet to send [10:20:03]OFD Sender: No OFD packet to send [10:20:08]OFD Sender: No OFD packet to send [10:20:13]OFD Sender: No OFD packet to send [10:20:18]OFD Sender: No OFD packet to send [10:20:23]OFD Sender: No OFD packet to send [10:20:28]OFD Sender: No OFD packet to send [10:20:33]OFD Sender: No OFD packet to send [10:20:38]OFD Sender: No OFD packet to send [10:20:43]OFD Sender: No OFD packet to send [10:20:48]OFD Sender: No OFD packet to send [10:20:53]OFD Sender: No OFD packet to send [10:20:58]OFD Sender: No OFD packet to send [10:21:03]OFD Sender: No OFD packet to send [10:21:08]OFD Sender: No OFD packet to send [10:21:13]OFD Sender: No OFD packet to send [10:21:18]OFD Sender: No OFD packet to send [10:21:23]OFD Sender: No OFD packet to send [10:21:28]OFD Sender: No OFD packet to send [10:21:33]OFD Sender: No OFD packet to send [10:21:38]OFD Sender: No OFD packet to send [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:44]accept exits with 9 [10:22:44]New connection [10:22:44]New thread 3067616612 created [10:22:44]Thread 3067473252 joined [10:22:44]Waiting for new connection... [10:22:44] Sock 9.Parse request [10:22:44]Sock 9.Check first char [10:22:44]Sock 9.First char is OK [10:22:44]request: POST /json_proto HTTP/1.0 [10:22:44]Method: POST [10:22:44]URL: /json_proto [10:22:44]Method is POST - this is cgi request [10:22:44]url: /json_proto [10:22:44]query_string will be loaded in cgi processing [10:22:44]execute_cgi json_proto POST (null) [10:22:44]execute_cgi path=json_proto method=POST [10:22:44]POST find Content-Length [10:22:44]Host: 172.17.38.134:8080 [10:22:44]Content-Length: 614 [10:22:44]Content-Type: application/json [10:22:44] [10:22:44]POST finish read [10:22:44]Found Content-Length = 614 [10:22:44]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184347", "tax_sys" : 0, "items" : [ { "code": "4870001570095", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 2\u043B", "price" : 210.00, "quantity" : 1.000, "sum" : 210.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 210.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:22:44]execute_script... [10:22: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)184347", "tax_sys" : 0, "items" : [ { "code": "4870001570095", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 2\u043B", "price" : 210.00, "quantity" : 1.000, "sum" : 210.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 210.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:22:44]POST & json_proto [10:22:44]process_json_proto [10:22:44]json parsed OK: [10:22:44]protocol is kg_v1.0 [10:22:44]action value=close_receipt [10:22:44]process_action close_receipt [10:22:44]cmd_close_receipt [10:22:44]MH_GetDate [10:22:44]Write to MH i2c: F0 00 00 21 14 24 [10:22:44]Write i2c OK [10:22:44]MH_I2C_Read... [10:22:44]Read from MH i2c: F0 [10:22:44]MH_I2C_Read... [10:22:44]Read from MH i2c: F0 09 00 [10:22:44]MH_I2C_Read... [10:22:44]Read from MH i2c: F0 09 00 21 14 00 F9 A5 76 66 13 9C 7C 64 36 [10:22:44]GetLastDocTimeStamp 1719051399 [10:22:44]current date 1719051769 [10:22:44]FM_GetShiftState [10:22:44]SAM_PROTO_GetShiftState [10:22:44]wFMCommunicate request_size=4 [10:22:44]MH_SAM_APDU [10:22:44]CAPDU: 80 13 01 00 [10:22:44]Write to MH i2c: E2 08 00 22 14 80 13 01 00 00 00 00 00 B3 [10:22:44]Write i2c OK [10:22:44]MH_I2C_Read... [10:22:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:22:44]Read from MH i2c: E2 [10:22:44]MH_I2C_Read... [10:22:44]Read from MH i2c: E2 0E 00 [10:22:44]MH_I2C_Read... [10:22:44]Read from MH i2c: E2 0E 00 22 14 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 6D [10:22:44]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [10:22:44]wFMCommunicate OK [10:22:44]SAM_PROTO_GetShiftState done [10:22:44]FM_GetShiftState done [10:22:44]opened in 1719016120 [10:22:44]opened+sec_in_day 1719102520 [10:22:44]quantity*price = 21000 [10:22:44]sum+1 = 21001 [10:22:44]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 210.00 НСП 1% : 1.86 НДС 12% : 22.30 Наличными: 210.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 16 22.06.2024 10:22 Смена: 327 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34590 ФПД: 196144431535625 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T102249&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34590&fm=196144431535625&tin=02508201610067®Number=0000000000092786&sum=21000 0 [10:22:45]StoreToDocumentArchive [10:22:45]shift 327 fd 34590 [10:22:45]save to /storage/0327/doc_00034590 [10:22:45]save last doc name /storage/0327/doc_00034590 to /storage/kkm_last_doc_name [10:22:45]save OK [10:22:45]Clear old archive folders... [10:22:45]ProcessDocumentItem done err = 0, tmpTLVsize=266 [10:22:45]tlvbuf is 01588030 [10:22:45]SAM_PROTO_ClearQueue [10:22:45]wFMCommunicate request_size=4 [10:22:45]MH_SAM_APDU [10:22:45]CAPDU: 80 09 00 00 [10:22:45]Write to MH i2c: E2 08 00 2F 14 80 09 00 00 00 00 00 00 B5 [10:22:45]Write i2c OK [10:22:45]MH_I2C_Read... [10:22:45]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:22:45]Read from MH i2c: E2 [10:22:45]MH_I2C_Read... [10:22:45]Read from MH i2c: E2 03 00 [10:22:45]MH_I2C_Read... [10:22:45]Read from MH i2c: E2 03 00 2F 14 00 90 00 B7 [10:22:45]RAPDU: 90 00 [10:22:45]wFMCommunicate OK [10:22:45]SAM_PROTO_ClearQueue done [10:22:45]KKMCreateOFDPacket [10:22:45]OFDProtocolAddRootSTLVToBuf [10:22:45]FM_MakeSignedData [10:22:45]FM_MakeSignedData [10:22:45]SAM_PROTO_SignData [10:22:45]wFMCommunicate request_size=4 [10:22:45]MH_SAM_APDU [10:22:45]CAPDU: 80 0D 01 02 [10:22:45]Write to MH i2c: E2 08 00 30 14 80 0D 01 02 00 00 00 00 BD [10:22:45]Write i2c OK [10:22:45]MH_I2C_Read... [10:22:46]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:22:46]Read from MH i2c: E2 [10:22:46]MH_I2C_Read... [10:22:46]Read from MH i2c: E2 03 00 [10:22:46]MH_I2C_Read... [10:22:46]Read from MH i2c: E2 03 00 30 14 00 90 00 B8 [10:22:46]RAPDU: 90 00 [10:22:46]wFMCommunicate OK [10:22:46]wFMCommunicate request_size=255 [10:22:46]MH_SAM_APDU [10:22:46]CAPDU: 80 0D 02 02 FA 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 39 35 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 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 08 52 00 00 00 00 13 04 06 00 08 52 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 52 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B6 08 00 00 00 00 07 04 06 00 08 52 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 F9 A5 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 [10:22:46]Write to MH i2c: E2 02 01 31 14 80 0D 02 02 FA 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 39 35 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 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 08 52 00 00 00 00 13 04 06 00 08 52 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 52 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B6 08 00 00 00 00 07 04 06 00 08 52 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 F9 A5 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 00 00 73 [10:22:46]Write i2c OK [10:22:46]MH_I2C_Read... [10:22:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:22:46]Read from MH i2c: E2 [10:22:46]MH_I2C_Read... [10:22:46]Read from MH i2c: E2 03 00 [10:22:46]MH_I2C_Read... [10:22:46]Read from MH i2c: E2 03 00 31 14 00 90 00 B9 [10:22:46]RAPDU: 90 00 [10:22:46]wFMCommunicate OK [10:22:46]wFMCommunicate request_size=25 [10:22:46]MH_SAM_APDU [10:22:46]CAPDU: 80 0D 02 02 14 39 35 10 04 04 00 1E 87 00 00 35 04 06 00 B2 64 6F 2A 96 09 [10:22:46]Write to MH i2c: E2 1C 00 32 14 80 0D 02 02 14 00 39 35 10 04 04 00 1E 87 00 00 35 04 06 00 B2 64 6F 2A 96 09 00 00 A0 [10:22:46]Write i2c OK [10:22:46]MH_I2C_Read... [10:22:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:22:46]Read from MH i2c: E2 [10:22:46]MH_I2C_Read... [10:22:46]Read from MH i2c: E2 03 00 [10:22:46]MH_I2C_Read... [10:22:46]Read from MH i2c: E2 03 00 32 14 00 90 00 BA [10:22:46]RAPDU: 90 00 [10:22:46]wFMCommunicate OK [10:22:46]wFMCommunicate request_size=4 [10:22:46]MH_SAM_APDU [10:22:46]CAPDU: 80 0D 03 02 [10:22:46]Write to MH i2c: E2 08 00 33 14 80 0D 03 02 00 00 00 00 C2 [10:22:46]Write i2c OK [10:22:46]MH_I2C_Read... [10:22:46]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:22:46]Read from MH i2c: E2 [10:22:46]MH_I2C_Read... [10:22:46]Read from MH i2c: E2 0B 00 [10:22:46]MH_I2C_Read... [10:22:46]Read from MH i2c: E2 0B 00 33 14 00 C9 E7 76 24 B4 F8 8C F5 90 00 3A [10:22:46]RAPDU: C9 E7 76 24 B4 F8 8C F5 90 00 [10:22:46]wFMCommunicate OK [10:22:46]SAM_PROTO_SignData done [10:22:46]FM_MakeSignedData done [10:22:46]CreateOFDProtocolMessage [10:22:46]wFMCommunicate request_size=4 [10:22:46]MH_SAM_APDU [10:22:46]CAPDU: 80 11 00 00 [10:22:46]Write to MH i2c: E2 08 00 34 14 80 11 00 00 00 00 00 00 C2 [10:22:46]Write i2c OK [10:22:46]MH_I2C_Read... [10:22:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:22:46]Read from MH i2c: E2 [10:22:46]MH_I2C_Read... [10:22:46]Read from MH i2c: E2 17 00 [10:22:46]MH_I2C_Read... [10:22:46]Read from MH i2c: E2 17 00 34 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 17 [10:22:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [10:22:46]wFMCommunicate OK [10:22:46]CreateOFDProtocolMessage done [10:22:46]OFDSenderStorePacket 34590 [10:22:46]StoreOFDPacket docnum=34590 [10:22:46]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 1E 01 00 00 F0 0F 16 01 13 59 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 39 35 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 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 08 52 00 00 00 00 13 04 06 00 08 52 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 52 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B6 08 00 00 00 00 07 04 06 00 08 52 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 F9 A5 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 1E 87 00 00 35 04 06 00 B2 64 6F 2A 96 09 C9 E7 76 24 B4 F8 8C F5 [10:22:46]CheckFolder [10:22:46]dirname=/storage/ofd_packets [10:22:46]CheckFolder done [10:22:46]ProducePacketName [10:22:46]name=ofd_packets/00034590 [10:22:46]NVStorageSaveData ofd_packets/00034590 [10:22:46]File name is /storage/ofd_packets/00034590 [10:22:46]Write 316 bytes [10:22:46]NVStorageSaveData done [10:22:46]OFDSenderStorePacket done [10:22:46]KKMCreateOFDPacket done [10:22:46]NVStorageSaveData kkm_last_timestamp [10:22:46]File name is /storage/kkm_last_timestamp [10:22:46]Write 4 bytes [10:22:46]NVStorageSaveData done [10:22:46]ExternCall_PrintAddStr [10:22:46]wPrintStart [10:22:46]Write to MH i2c: 01 00 00 35 14 49 [10:22:46]Write i2c OK [10:22:46]MH_I2C_Read... [10:22:46]Read from MH i2c: 01 [10:22:46]MH_I2C_Read... [10:22:46]Read from MH i2c: 01 07 00 [10:22:46]MH_I2C_Read... [10:22:46]Read from MH i2c: 01 07 00 35 14 00 00 00 00 00 FF 0F 5E [10:22:46]RasterBufferAndPrint [10:22:46]line Счет N : (3)184347 [10:22:46]line ИНН: 02508201610067 [10:22:46]line Контрольно-Кассовый Чек [10:22:46]line ПРОДАЖА [10:22:46]line Товар: 4870001570095 [10:22:46]line Напиток Pepsi 2л [10:22:46]line 1.000 * 210.00 [10:22:46]line = 210.00 [10:22:46]line НДС 12% НСП 1% [10:22:46]line > о реализуемом товаре [10:22:46]line ИТОГО: 210.00 [10:22:46]line НСП 1% : 1.86 [10:22:46]line НДС 12% : 22.30 [10:22:46]line Наличными: 210.00 [10:22:46]line Безнал.: 0.00 [10:22:46]line Место: АЗС № 120 "Партнер Нефть" [10:22:46]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [10:22:46]line СНО: Общий режим [10:22:46]line Чек 16 22.06.2024 10:22 [10:22:46]line Смена: 327 ФФД: 1.0 [10:22:46]line ЗНМ: 0300000172 [10:22:46]line РНМ: 0000000000092786 [10:22:46]line Версия ККМ: 001 [10:22:46]line ФМ: 0000000000875095 [10:22:46]line ФД: 34590 [10:22:46]line ФПД: 196144431535625 [10:22:46]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T102249&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34590&fm=196144431535625&tin=02508201610067®Number=0000000000092786&sum=21000 [10:22:46]line 0 [10:22:46]OFD Sender: Processing packet 34590 [packets to send 8, broken 7] [10:22:46]ProducePacketName [10:22:46]name=ofd_packets/00034590 [10:22:46]OFD Sender: To server: pG, [10:22:46]CommunicateWithHost lk.salyk.kg:30040 [10:22:46]ConnectInit lk.salyk.kg [10:22:46]written 0, free lines is 4095 [10:22:47]Connected sock=11 [10:22:47]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 1E 01 00 00 F0 0F 16 01 13 59 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 39 35 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 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 08 52 00 00 00 00 13 04 06 00 08 52 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 52 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B6 08 00 00 00 00 07 04 06 00 08 52 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 F9 A5 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 1E 87 00 00 35 04 06 00 B2 64 6F 2A 96 09 C9 E7 76 24 B4 F8 8C F5 [10:22:47]Write to MH i2c: 01 00 00 5D 14 71 [10:22:47]Write i2c OK [10:22:47]MH_I2C_Read... [10:22:47]Read from MH i2c: 01 [10:22:47]MH_I2C_Read... [10:22:47]Read from MH i2c: 01 07 00 [10:22:47]MH_I2C_Read... [10:22:47]Read from MH i2c: 01 07 00 5D 14 00 00 00 00 00 01 0D 86 [10:22:47]RasterBufferAndPrint [10:22:47]line [10:22:47]line [10:22:47]line [10:22:47]line [10:22:47]line [10:22:47]written 0, free lines is 3336 [10:22:47]MH_Cut [10:22:47]Write to MH i2c: D1 01 00 64 14 01 4A [10:22:47]Write i2c OK [10:22:47]MH_I2C_Read... [10:22:47]Read from MH i2c: D1 [10:22:47]MH_I2C_Read... [10:22:47]Read from MH i2c: D1 01 00 [10:22:47]MH_I2C_Read... [10:22:47]Read from MH i2c: D1 01 00 64 14 00 49 [10:22:47]Write to MH i2c: 01 00 00 65 14 79 [10:22:47]Write i2c OK [10:22:47]MH_I2C_Read... [10:22:47]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 76 B9 47 00 C5 A3 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 1E 87 00 00 F4 03 04 00 BD 4C 76 66 B6 04 01 00 00 9D 9B F3 6F 76 66 06 45 [10:22:47]CommunicateWithHost err = 0 [10:22:47]CheckOFDResponse [10:22:47]1017 (14) - 77093643461234 [10:22:47]1041 (16) - 0000000000875095 [10:22:47]1040 (4) - 34590 [10:22:47]1012 (4) - 22.06.2024 04:02 [10:22:47]1206 (1) - 0 [10:22:47]OFD Sender: Remove packet 34590 [10:22:47]ProducePacketName [10:22:47]name=ofd_packets/00034590 [10:22:47]NVStorageDeleteData [10:22:47]OFD Sender: No OFD packet to send [10:22:47]*** Cut start [10:22:47]*** Partial cut [10:22:47]*** CUTSNS_PIN = 1 [10:22:48]*** CUTSNS_PIN = 0 [10:22:48]*** Brake cut motor [10:22:48]Read from MH i2c: 01 [10:22:48]MH_I2C_Read... [10:22:48]*** Stop cut motor [10:22:48]*** Cut end [10:22:48]Read from MH i2c: 01 07 00 [10:22:48]MH_I2C_Read... [10:22:48]Read from MH i2c: 01 07 00 65 14 00 00 00 00 00 FF 0F 8E [10:22:48]process_action close_receipt done [10:22:48]requested_data is exist [10:22:48]produce_requested_data [10:22:48]requested_item fm.sn is exist - process it [10:22:48]wFMCommunicate request_size=4 [10:22:48]MH_SAM_APDU [10:22:48]CAPDU: 80 11 00 00 [10:22:48]Write to MH i2c: E2 08 00 66 14 80 11 00 00 00 00 00 00 F4 [10:22:48]Write i2c OK [10:22:48]MH_I2C_Read... [10:22:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:22:48]Read from MH i2c: E2 [10:22:48]MH_I2C_Read... [10:22:48]Read from MH i2c: E2 17 00 [10:22:48]MH_I2C_Read... [10:22:48]Read from MH i2c: E2 17 00 66 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 49 [10:22:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [10:22:48]wFMCommunicate OK [10:22:48]requested_item fd.num is exist - process it [10:22:48]SAM_PROTO_GetFieldsCounters [10:22:48]wFMCommunicate request_size=4 [10:22:48]MH_SAM_APDU [10:22:48]CAPDU: 80 13 00 00 [10:22:48]Write to MH i2c: E2 08 00 67 14 80 13 00 00 00 00 00 00 F7 [10:22:48]Write i2c OK [10:22:48]MH_I2C_Read... [10:22:48]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:22:48]Read from MH i2c: E2 [10:22:48]MH_I2C_Read... [10:22:48]Read from MH i2c: E2 62 00 [10:22:48]MH_I2C_Read... [10:22:48]Read from MH i2c: E2 62 00 67 14 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 1E 87 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 10 00 00 00 5E 04 04 00 10 00 00 00 57 04 04 00 11 00 00 00 19 04 04 00 00 00 00 00 90 00 3E [10:22:48]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 1E 87 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 10 00 00 00 5E 04 04 00 10 00 00 00 57 04 04 00 11 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:22:48]wFMCommunicate OK [10:22:48]SAM_PROTO_GetFieldsCounters done [10:22:48]requested_item shift.num is exist - process it [10:22:48]requested_item shift.opened is exist - process it [10:22:48]req_shift_opened [10:22:48]FM_GetShiftState [10:22:48]SAM_PROTO_GetShiftState [10:22:48]wFMCommunicate request_size=4 [10:22:48]MH_SAM_APDU [10:22:48]CAPDU: 80 13 01 00 [10:22:48]Write to MH i2c: E2 08 00 68 14 80 13 01 00 00 00 00 00 F9 [10:22:48]Write i2c OK [10:22:48]MH_I2C_Read... [10:22:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:22:48]Read from MH i2c: E2 [10:22:48]MH_I2C_Read... [10:22:48]Read from MH i2c: E2 0E 00 [10:22:48]MH_I2C_Read... [10:22:48]Read from MH i2c: E2 0E 00 68 14 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 B3 [10:22:48]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [10:22:48]wFMCommunicate OK [10:22:48]SAM_PROTO_GetShiftState done [10:22:48]FM_GetShiftState done [10:22:48]req_shift_opened done [10:22:48]requested_item shift.open_date is exist - process it [10:22:48]req_shift_open_date [10:22:48]req_shift_open_date done [10:22:48]produce_requested_data done [10:22:48]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34590,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120} [10:22:48]process_action_free close_receipt [10:22:48]json_value_free [10:22:48]json_value_free done [10:22:48]process_json_proto returns [10:22:48]Send response to host [10:22:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34590,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120}}} [10:22:48]free response buf [10:22:48]execute_script done [10:22:48]execute_script returns [10:22:48]free content buf [10:22:48]Sock 9.Close socket [10:22:48]Sock 9.Thread stoped [10:22:52]OFD Sender: No OFD packet to send [10:22:57]OFD Sender: No OFD packet to send [10:23:02]OFD Sender: No OFD packet to send [10:23:07]OFD Sender: No OFD packet to send [10:23:12]OFD Sender: No OFD packet to send [10:23:17]OFD Sender: No OFD packet to send [10:23:22]OFD Sender: No OFD packet to send [10:23:27]OFD Sender: No OFD packet to send [10:23:32]OFD Sender: No OFD packet to send [10:23:37]OFD Sender: No OFD packet to send [10:23:42]OFD Sender: No OFD packet to send [10:23:47]OFD Sender: No OFD packet to send [10:23:52]OFD Sender: No OFD packet to send [10:23:57]OFD Sender: No OFD packet to send [10:24:02]OFD Sender: No OFD packet to send [10:24:07]OFD Sender: No OFD packet to send [10:24:12]OFD Sender: No OFD packet to send [10:24:17]OFD Sender: No OFD packet to send [10:24:22]OFD Sender: No OFD packet to send [10:24:27]OFD Sender: No OFD packet to send [10:24:32]OFD Sender: No OFD packet to send [10:24:37]OFD Sender: No OFD packet to send [10:24:42]OFD Sender: No OFD packet to send [10:24:47]OFD Sender: No OFD packet to send [10:24:52]OFD Sender: No OFD packet to send [10:24:57]OFD Sender: No OFD packet to send [10:25:02]OFD Sender: No OFD packet to send [10:25:07]OFD Sender: No OFD packet to send [10:25:12]OFD Sender: No OFD packet to send [10:25:17]OFD Sender: No OFD packet to send [10:25:22]OFD Sender: No OFD packet to send [10:25:27]OFD Sender: No OFD packet to send [10:25:32]OFD Sender: No OFD packet to send [10:25:37]OFD Sender: No OFD packet to send [10:25:42]OFD Sender: No OFD packet to send [10:25:47]OFD Sender: No OFD packet to send [10:25:52]OFD Sender: No OFD packet to send [10:25:57]OFD Sender: No OFD packet to send [10:26:02]OFD Sender: No OFD packet to send [10:26:07]OFD Sender: No OFD packet to send [10:26:12]OFD Sender: No OFD packet to send [10:26:17]OFD Sender: No OFD packet to send [10:26:22]OFD Sender: No OFD packet to send [10:26:27]OFD Sender: No OFD packet to send [10:26:32]OFD Sender: No OFD packet to send [10:26:37]OFD Sender: No OFD packet to send [10:26:42]OFD Sender: No OFD packet to send [10:26:47]OFD Sender: No OFD packet to send [10:26:52]OFD Sender: No OFD packet to send [10:26:57]OFD Sender: No OFD packet to send [10:27:02]OFD Sender: No OFD packet to send [10:27:07]OFD Sender: No OFD packet to send [10:27:12]OFD Sender: No OFD packet to send [10:27:17]OFD Sender: No OFD packet to send [10:27:22]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:26]accept exits with 7 [10:33:26]New connection [10:33:26]New thread 3067473252 created [10:33:26]Thread 3067616612 joined [10:33:26]Waiting for new connection... [10:33:26] Sock 7.Parse request [10:33:26]Sock 7.Check first char [10:33:26]Sock 7.First char is OK [10:33:26]request: POST /json_proto HTTP/1.0 [10:33:26]Method: POST [10:33:26]URL: /json_proto [10:33:26]Method is POST - this is cgi request [10:33:26]url: /json_proto [10:33:26]query_string will be loaded in cgi processing [10:33:26]execute_cgi json_proto POST (null) [10:33:26]execute_cgi path=json_proto method=POST [10:33:26]POST find Content-Length [10:33:26]Host: 172.17.38.134:8080 [10:33:26]Content-Length: 620 [10:33:26]Content-Type: application/json [10:33:26] [10:33:26]POST finish read [10:33:26]Found Content-Length = 620 [10:33:26]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184348", "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 }]} ], "payments": [ { "type": 0, "sum" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:33:26]execute_script... [10:33: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)184348", "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 }]} ], "payments": [ { "type": 0, "sum" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:33:26]POST & json_proto [10:33:26]process_json_proto [10:33:26]json parsed OK: [10:33:26]protocol is kg_v1.0 [10:33:26]action value=close_receipt [10:33:26]process_action close_receipt [10:33:26]cmd_close_receipt [10:33:26]MH_GetDate [10:33:26]Write to MH i2c: F0 00 00 69 14 6C [10:33:26]Write i2c OK [10:33:26]MH_I2C_Read... [10:33:26]Read from MH i2c: F0 [10:33:26]MH_I2C_Read... [10:33:26]Read from MH i2c: F0 09 00 [10:33:26]MH_I2C_Read... [10:33:26]Read from MH i2c: F0 09 00 69 14 00 7B A8 76 66 13 9C 7C 64 03 [10:33:26]GetLastDocTimeStamp 1719051769 [10:33:26]current date 1719052411 [10:33:26]FM_GetShiftState [10:33:26]SAM_PROTO_GetShiftState [10:33:26]wFMCommunicate request_size=4 [10:33:26]MH_SAM_APDU [10:33:26]CAPDU: 80 13 01 00 [10:33:26]Write to MH i2c: E2 08 00 6A 14 80 13 01 00 00 00 00 00 FB [10:33:26]Write i2c OK [10:33:26]MH_I2C_Read... [10:33:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:33:26]Read from MH i2c: E2 [10:33:26]MH_I2C_Read... [10:33:26]Read from MH i2c: E2 0E 00 [10:33:26]MH_I2C_Read... [10:33:26]Read from MH i2c: E2 0E 00 6A 14 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 B5 [10:33:26]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [10:33:26]wFMCommunicate OK [10:33:26]SAM_PROTO_GetShiftState done [10:33:26]FM_GetShiftState done [10:33:26]opened in 1719016120 [10:33:26]opened+sec_in_day 1719102520 [10:33:26]quantity*price = 13500 [10:33:26]sum+1 = 13501 [10:33:26]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 135.00 НСП 1% : 1.19 НДС 12% : 14.34 Наличными: 135.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 17 22.06.2024 10:33 Смена: 327 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34591 ФПД: 225178634555806 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T103331&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34591&fm=225178634555806&tin=02508201610067®Number=0000000000092786&sum=13500 0 [10:33:27]StoreToDocumentArchive [10:33:27]shift 327 fd 34591 [10:33:27]save to /storage/0327/doc_00034591 [10:33:27]save last doc name /storage/0327/doc_00034591 to /storage/kkm_last_doc_name [10:33:27]save OK [10:33:27]Clear old archive folders... [10:33:27]ProcessDocumentItem done err = 0, tmpTLVsize=272 [10:33:27]tlvbuf is 0159F0A0 [10:33:27]SAM_PROTO_ClearQueue [10:33:27]wFMCommunicate request_size=4 [10:33:27]MH_SAM_APDU [10:33:27]CAPDU: 80 09 00 00 [10:33:27]Write to MH i2c: E2 08 00 77 14 80 09 00 00 00 00 00 00 FD [10:33:27]Write i2c OK [10:33:27]MH_I2C_Read... [10:33:27]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:33:27]Read from MH i2c: E2 [10:33:27]MH_I2C_Read... [10:33:27]Read from MH i2c: E2 03 00 [10:33:27]MH_I2C_Read... [10:33:27]Read from MH i2c: E2 03 00 77 14 00 90 00 FF [10:33:27]RAPDU: 90 00 [10:33:27]wFMCommunicate OK [10:33:27]SAM_PROTO_ClearQueue done [10:33:27]KKMCreateOFDPacket [10:33:27]OFDProtocolAddRootSTLVToBuf [10:33:27]FM_MakeSignedData [10:33:27]FM_MakeSignedData [10:33:27]SAM_PROTO_SignData [10:33:27]wFMCommunicate request_size=4 [10:33:27]MH_SAM_APDU [10:33:27]CAPDU: 80 0D 01 02 [10:33:27]Write to MH i2c: E2 08 00 78 14 80 0D 01 02 00 00 00 00 05 [10:33:27]Write i2c OK [10:33:27]MH_I2C_Read... [10:33:27]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:33:27]Read from MH i2c: E2 [10:33:27]MH_I2C_Read... [10:33:27]Read from MH i2c: E2 03 00 [10:33:27]MH_I2C_Read... [10:33:27]Read from MH i2c: E2 03 00 78 14 00 90 00 00 [10:33:27]RAPDU: 90 00 [10:33:27]wFMCommunicate OK [10:33:27]wFMCommunicate request_size=255 [10:33:27]MH_SAM_APDU [10:33:27]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 BC 34 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 7B A8 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 [10:33:27]Write to MH i2c: E2 02 01 79 14 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 BC 34 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 7B A8 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 00 00 1F [10:33:28]Write i2c OK [10:33:28]MH_I2C_Read... [10:33:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:33:28]Read from MH i2c: E2 [10:33:28]MH_I2C_Read... [10:33:28]Read from MH i2c: E2 03 00 [10:33:28]MH_I2C_Read... [10:33:28]Read from MH i2c: E2 03 00 79 14 00 90 00 01 [10:33:28]RAPDU: 90 00 [10:33:28]wFMCommunicate OK [10:33:28]wFMCommunicate request_size=31 [10:33:28]MH_SAM_APDU [10:33:28]CAPDU: 80 0D 02 02 1A 30 30 38 37 35 30 39 35 10 04 04 00 1F 87 00 00 35 04 06 00 CC CC 7C 86 11 9E [10:33:28]Write to MH i2c: E2 22 00 7A 14 80 0D 02 02 1A 00 30 30 38 37 35 30 39 35 10 04 04 00 1F 87 00 00 35 04 06 00 CC CC 7C 86 11 9E 00 00 24 [10:33:28]Write i2c OK [10:33:28]MH_I2C_Read... [10:33:28]OFD Sender: No OFD packet to send [10:33:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:33:28]Read from MH i2c: E2 [10:33:28]MH_I2C_Read... [10:33:28]Read from MH i2c: E2 03 00 [10:33:28]MH_I2C_Read... [10:33:28]Read from MH i2c: E2 03 00 7A 14 00 90 00 02 [10:33:28]RAPDU: 90 00 [10:33:28]wFMCommunicate OK [10:33:28]wFMCommunicate request_size=4 [10:33:28]MH_SAM_APDU [10:33:28]CAPDU: 80 0D 03 02 [10:33:28]Write to MH i2c: E2 08 00 7B 14 80 0D 03 02 00 00 00 00 0A [10:33:28]Write i2c OK [10:33:28]MH_I2C_Read... [10:33:28]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:33:28]Read from MH i2c: E2 [10:33:28]MH_I2C_Read... [10:33:28]Read from MH i2c: E2 0B 00 [10:33:28]MH_I2C_Read... [10:33:28]Read from MH i2c: E2 0B 00 7B 14 00 EF 3B BB 5F 6D F3 9C C6 90 00 11 [10:33:28]RAPDU: EF 3B BB 5F 6D F3 9C C6 90 00 [10:33:28]wFMCommunicate OK [10:33:28]SAM_PROTO_SignData done [10:33:28]FM_MakeSignedData done [10:33:28]CreateOFDProtocolMessage [10:33:28]wFMCommunicate request_size=4 [10:33:28]MH_SAM_APDU [10:33:28]CAPDU: 80 11 00 00 [10:33:28]Write to MH i2c: E2 08 00 7C 14 80 11 00 00 00 00 00 00 0A [10:33:28]Write i2c OK [10:33:28]MH_I2C_Read... [10:33:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:33:28]Read from MH i2c: E2 [10:33:28]MH_I2C_Read... [10:33:28]Read from MH i2c: E2 17 00 [10:33:28]MH_I2C_Read... [10:33:28]Read from MH i2c: E2 17 00 7C 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 5F [10:33:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [10:33:28]wFMCommunicate OK [10:33:28]CreateOFDProtocolMessage done [10:33:28]OFDSenderStorePacket 34591 [10:33:28]StoreOFDPacket docnum=34591 [10:33:28]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 24 01 00 00 82 C0 1C 01 3F 45 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 BC 34 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 7B A8 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 1F 87 00 00 35 04 06 00 CC CC 7C 86 11 9E EF 3B BB 5F 6D F3 9C C6 [10:33:28]CheckFolder [10:33:28]dirname=/storage/ofd_packets [10:33:28]CheckFolder done [10:33:28]ProducePacketName [10:33:28]name=ofd_packets/00034591 [10:33:28]NVStorageSaveData ofd_packets/00034591 [10:33:28]File name is /storage/ofd_packets/00034591 [10:33:28]Write 322 bytes [10:33:28]NVStorageSaveData done [10:33:28]OFDSenderStorePacket done [10:33:28]KKMCreateOFDPacket done [10:33:28]NVStorageSaveData kkm_last_timestamp [10:33:28]File name is /storage/kkm_last_timestamp [10:33:28]Write 4 bytes [10:33:28]NVStorageSaveData done [10:33:28]ExternCall_PrintAddStr [10:33:28]wPrintStart [10:33:28]Write to MH i2c: 01 00 00 7D 14 91 [10:33:28]Write i2c OK [10:33:28]MH_I2C_Read... [10:33:28]Read from MH i2c: 01 [10:33:28]MH_I2C_Read... [10:33:28]Read from MH i2c: 01 07 00 [10:33:28]MH_I2C_Read... [10:33:28]Read from MH i2c: 01 07 00 7D 14 00 00 00 00 00 FF 0F A6 [10:33:28]RasterBufferAndPrint [10:33:28]line Счет N : (3)184348 [10:33:28]line ИНН: 02508201610067 [10:33:28]line Контрольно-Кассовый Чек [10:33:28]line ПРОДАЖА [10:33:28]line Товар: 48745000 [10:33:28]line Сигареты Winston Purple Mix [10:33:28]line 1.000 * 135.00 [10:33:28]line = 135.00 [10:33:28]line НДС 12% НСП 1% [10:33:28]line > о реализуемом товаре [10:33:28]line ИТОГО: 135.00 [10:33:28]line НСП 1% : 1.19 [10:33:28]line НДС 12% : 14.34 [10:33:28]line Наличными: 135.00 [10:33:28]line Безнал.: 0.00 [10:33:28]line Место: АЗС № 120 "Партнер Нефть" [10:33:28]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [10:33:28]line СНО: Общий режим [10:33:28]line Чек 17 22.06.2024 10:33 [10:33:28]line Смена: 327 ФФД: 1.0 [10:33:28]line ЗНМ: 0300000172 [10:33:28]line РНМ: 0000000000092786 [10:33:28]line Версия ККМ: 001 [10:33:28]line ФМ: 0000000000875095 [10:33:28]line ФД: 34591 [10:33:28]line ФПД: 225178634555806 [10:33:28]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T103331&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34591&fm=225178634555806&tin=02508201610067®Number=0000000000092786&sum=13500 [10:33:28]line 0 [10:33:28]OFD Sender: Processing packet 34591 [packets to send 8, broken 7] [10:33:28]ProducePacketName [10:33:28]name=ofd_packets/00034591 [10:33:28]OFD Sender: To server: pG, [10:33:28]CommunicateWithHost lk.salyk.kg:30040 [10:33:28]ConnectInit lk.salyk.kg [10:33:28]written 0, free lines is 4095 [10:33:28]Connected sock=10 [10:33:28]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 24 01 00 00 82 C0 1C 01 3F 45 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 BC 34 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 7B A8 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 1F 87 00 00 35 04 06 00 CC CC 7C 86 11 9E EF 3B BB 5F 6D F3 9C C6 [10:33:29]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 4F 79 47 00 56 00 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 1F 87 00 00 F4 03 04 00 3F 4F 76 66 B6 04 01 00 00 59 0E 33 C8 15 9F CE A4 [10:33:29]CommunicateWithHost err = 0 [10:33:29]CheckOFDResponse [10:33:29]1017 (14) - 77093643461234 [10:33:29]1041 (16) - 0000000000875095 [10:33:29]1040 (4) - 34591 [10:33:29]1012 (4) - 22.06.2024 04:12 [10:33:29]1206 (1) - 0 [10:33:29]OFD Sender: Remove packet 34591 [10:33:29]ProducePacketName [10:33:29]name=ofd_packets/00034591 [10:33:29]NVStorageDeleteData [10:33:29]Write to MH i2c: 01 00 00 A5 14 B9 [10:33:29]Write i2c OK [10:33:29]MH_I2C_Read... [10:33:29]Read from MH i2c: 01 [10:33:29]MH_I2C_Read... [10:33:29]Read from MH i2c: 01 07 00 [10:33:29]MH_I2C_Read... [10:33:29]Read from MH i2c: 01 07 00 A5 14 00 00 00 00 00 EB 0C B7 [10:33:29]RasterBufferAndPrint [10:33:29]line [10:33:29]line [10:33:29]line [10:33:29]line [10:33:29]line [10:33:29]written 0, free lines is 3314 [10:33:29]MH_Cut [10:33:29]Write to MH i2c: D1 01 00 AC 14 01 92 [10:33:29]Write i2c OK [10:33:29]MH_I2C_Read... [10:33:29]Read from MH i2c: D1 [10:33:29]MH_I2C_Read... [10:33:29]Read from MH i2c: D1 01 00 [10:33:29]MH_I2C_Read... [10:33:29]Read from MH i2c: D1 01 00 AC 14 00 91 [10:33:29]Write to MH i2c: 01 00 00 AD 14 C1 [10:33:29]Write i2c OK [10:33:29]MH_I2C_Read... [10:33:29]OFD Sender: No OFD packet to send [10:33:29]*** Cut start [10:33:29]*** Partial cut [10:33:29]*** CUTSNS_PIN = 1 [10:33:30]*** CUTSNS_PIN = 0 [10:33:30]*** Brake cut motor [10:33:30]Read from MH i2c: 01 [10:33:30]MH_I2C_Read... [10:33:30]*** Stop cut motor [10:33:30]*** Cut end [10:33:30]Read from MH i2c: 01 07 00 [10:33:30]MH_I2C_Read... [10:33:30]Read from MH i2c: 01 07 00 AD 14 00 00 00 00 00 FF 0F D6 [10:33:30]process_action close_receipt done [10:33:30]requested_data is exist [10:33:30]produce_requested_data [10:33:30]requested_item fm.sn is exist - process it [10:33:30]wFMCommunicate request_size=4 [10:33:30]MH_SAM_APDU [10:33:30]CAPDU: 80 11 00 00 [10:33:30]Write to MH i2c: E2 08 00 AE 14 80 11 00 00 00 00 00 00 3C [10:33:30]Write i2c OK [10:33:30]MH_I2C_Read... [10:33:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:33:30]Read from MH i2c: E2 [10:33:30]MH_I2C_Read... [10:33:30]Read from MH i2c: E2 17 00 [10:33:30]MH_I2C_Read... [10:33:30]Read from MH i2c: E2 17 00 AE 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 91 [10:33:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [10:33:30]wFMCommunicate OK [10:33:30]requested_item fd.num is exist - process it [10:33:30]SAM_PROTO_GetFieldsCounters [10:33:30]wFMCommunicate request_size=4 [10:33:30]MH_SAM_APDU [10:33:30]CAPDU: 80 13 00 00 [10:33:30]Write to MH i2c: E2 08 00 AF 14 80 13 00 00 00 00 00 00 3F [10:33:30]Write i2c OK [10:33:30]MH_I2C_Read... [10:33:30]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:33:30]Read from MH i2c: E2 [10:33:30]MH_I2C_Read... [10:33:30]Read from MH i2c: E2 62 00 [10:33:30]MH_I2C_Read... [10:33:30]Read from MH i2c: E2 62 00 AF 14 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 1F 87 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 11 00 00 00 5E 04 04 00 11 00 00 00 57 04 04 00 12 00 00 00 19 04 04 00 00 00 00 00 90 00 8A [10:33:30]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 1F 87 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 11 00 00 00 5E 04 04 00 11 00 00 00 57 04 04 00 12 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:33:30]wFMCommunicate OK [10:33:30]SAM_PROTO_GetFieldsCounters done [10:33:30]requested_item shift.num is exist - process it [10:33:30]requested_item shift.opened is exist - process it [10:33:30]req_shift_opened [10:33:30]FM_GetShiftState [10:33:30]SAM_PROTO_GetShiftState [10:33:30]wFMCommunicate request_size=4 [10:33:30]MH_SAM_APDU [10:33:30]CAPDU: 80 13 01 00 [10:33:30]Write to MH i2c: E2 08 00 B0 14 80 13 01 00 00 00 00 00 41 [10:33:30]Write i2c OK [10:33:30]MH_I2C_Read... [10:33:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:33:30]Read from MH i2c: E2 [10:33:30]MH_I2C_Read... [10:33:30]Read from MH i2c: E2 0E 00 [10:33:30]MH_I2C_Read... [10:33:30]Read from MH i2c: E2 0E 00 B0 14 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 FB [10:33:30]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [10:33:30]wFMCommunicate OK [10:33:30]SAM_PROTO_GetShiftState done [10:33:30]FM_GetShiftState done [10:33:30]req_shift_opened done [10:33:30]requested_item shift.open_date is exist - process it [10:33:30]req_shift_open_date [10:33:30]req_shift_open_date done [10:33:30]produce_requested_data done [10:33:30]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34591,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120} [10:33:30]process_action_free close_receipt [10:33:30]json_value_free [10:33:30]json_value_free done [10:33:30]process_json_proto returns [10:33:30]Send response to host [10:33:30]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34591,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120}}} [10:33:30]free response buf [10:33:30]execute_script done [10:33:30]execute_script returns [10:33:30]free content buf [10:33:30]Sock 7.Close socket [10:33:30]Sock 7.Thread stoped [10:33:34]OFD Sender: No OFD packet to send [10:33:39]OFD Sender: No OFD packet to send [10:33:44]OFD Sender: No OFD packet to send [10:33:49]OFD Sender: No OFD packet to send [10:33:54]OFD Sender: No OFD packet to send [10:33:59]OFD Sender: No OFD packet to send [10:34:04]OFD Sender: No OFD packet to send [10:34:09]OFD Sender: No OFD packet to send [10:34:14]OFD Sender: No OFD packet to send [10:34:19]OFD Sender: No OFD packet to send [10:34:24]OFD Sender: No OFD packet to send [10:34:29]OFD Sender: No OFD packet to send [10:34:34]OFD Sender: No OFD packet to send [10:34:39]OFD Sender: No OFD packet to send [10:34:44]OFD Sender: No OFD packet to send [10:34:49]OFD Sender: No OFD packet to send [10:34:54]OFD Sender: No OFD packet to send [10:34:59]OFD Sender: No OFD packet to send [10:35:04]OFD Sender: No OFD packet to send [10:35:09]OFD Sender: No OFD packet to send [10:35:14]OFD Sender: No OFD packet to send [10:35:19]OFD Sender: No OFD packet to send [10:35:24]OFD Sender: No OFD packet to send [10:35:29]OFD Sender: No OFD packet to send [10:35:34]OFD Sender: No OFD packet to send [10:35:39]OFD Sender: No OFD packet to send [10:35:44]OFD Sender: No OFD packet to send [10:35:49]OFD Sender: No OFD packet to send [10:35:54]OFD Sender: No OFD packet to send [10:35:59]OFD Sender: No OFD packet to send [10:36:04]OFD Sender: No OFD packet to send [10:36:09]OFD Sender: No OFD packet to send [10:36:14]OFD Sender: No OFD packet to send [10:36:19]OFD Sender: No OFD packet to send [10:36:24]OFD Sender: No OFD packet to send [10:36:29]OFD Sender: No OFD packet to send [10:36:34]OFD Sender: No OFD packet to send [10:36:39]OFD Sender: No OFD packet to send [10:36:44]OFD Sender: No OFD packet to send [10:36:49]OFD Sender: No OFD packet to send [10:36:54]OFD Sender: No OFD packet to send [10:36:59]OFD Sender: No OFD packet to send [10:37:04]OFD Sender: No OFD packet to send [10:37:09]OFD Sender: No OFD packet to send [10:37:14]OFD Sender: No OFD packet to send [10:37:19]OFD Sender: No OFD packet to send [10:37:24]OFD Sender: No OFD packet to send [10:37:29]OFD Sender: No OFD packet to send [10:37:34]OFD Sender: No OFD packet to send [10:37:39]OFD Sender: No OFD packet to send [10:37:44]OFD Sender: No OFD packet to send [10:37:49]OFD Sender: No OFD packet to send [10:37:54]OFD Sender: No OFD packet to send [10:37:59]OFD Sender: No OFD packet to send [10:38:04]OFD Sender: No OFD packet to send [10:38:09]OFD Sender: No OFD packet to send [10:38:14]OFD Sender: No OFD packet to send [10:38:19]OFD Sender: No OFD packet to send [10:38:24]OFD Sender: No OFD packet to send [10:38:29]OFD Sender: No OFD packet to send [10:38:34]OFD Sender: No OFD packet to send [10:38:39]OFD Sender: No OFD packet to send [10:38:44]OFD Sender: No OFD packet to send [10:38:49]OFD Sender: No OFD packet to send [10:38:54]OFD Sender: No OFD packet to send [10:38:59]OFD Sender: No OFD packet to send [10:39:00]accept exits with 9 [10:39:00]New connection [10:39:00]New thread 3067616612 created [10:39:00]Thread 3067473252 joined [10:39:00]Waiting for new connection... [10:39:00] Sock 9.Parse request [10:39:00]Sock 9.Check first char [10:39:00]Sock 9.First char is OK [10:39:00]request: POST /json_proto HTTP/1.0 [10:39:00]Method: POST [10:39:00]URL: /json_proto [10:39:00]Method is POST - this is cgi request [10:39:00]url: /json_proto [10:39:00]query_string will be loaded in cgi processing [10:39:00]execute_cgi json_proto POST (null) [10:39:00]execute_cgi path=json_proto method=POST [10:39:00]POST find Content-Length [10:39:00]Host: 172.17.38.134:8080 [10:39:00]Content-Length: 644 [10:39:00]Content-Type: application/json [10:39:00] [10:39:00]POST finish read [10:39:00]Found Content-Length = 644 [10:39:00]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184349", "tax_sys" : 0, "items" : [ { "code": "2000036200014", "name": "\u041A\u043E\u0444\u0435 \u042D\u0441\u043F\u0440\u0435\u0441\u0441\u043E (GABB TRADE)", "price" : 105.00, "quantity" : 1.000, "sum" : 105.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 105.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:39:00]execute_script... [10:39: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)184349", "tax_sys" : 0, "items" : [ { "code": "2000036200014", "name": "\u041A\u043E\u0444\u0435 \u042D\u0441\u043F\u0440\u0435\u0441\u0441\u043E (GABB TRADE)", "price" : 105.00, "quantity" : 1.000, "sum" : 105.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 105.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:39:00]POST & json_proto [10:39:00]process_json_proto [10:39:00]json parsed OK: [10:39:00]protocol is kg_v1.0 [10:39:00]action value=close_receipt [10:39:00]process_action close_receipt [10:39:00]cmd_close_receipt [10:39:00]MH_GetDate [10:39:00]Write to MH i2c: F0 00 00 B1 14 B4 [10:39:00]Write i2c OK [10:39:00]MH_I2C_Read... [10:39:00]Read from MH i2c: F0 [10:39:00]MH_I2C_Read... [10:39:00]Read from MH i2c: F0 09 00 [10:39:00]MH_I2C_Read... [10:39:00]Read from MH i2c: F0 09 00 B1 14 00 C9 A9 76 66 13 9C 7C 64 9A [10:39:00]GetLastDocTimeStamp 1719052411 [10:39:00]current date 1719052745 [10:39:00]FM_GetShiftState [10:39:00]SAM_PROTO_GetShiftState [10:39:00]wFMCommunicate request_size=4 [10:39:00]MH_SAM_APDU [10:39:00]CAPDU: 80 13 01 00 [10:39:00]Write to MH i2c: E2 08 00 B2 14 80 13 01 00 00 00 00 00 43 [10:39:00]Write i2c OK [10:39:00]MH_I2C_Read... [10:39:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:39:00]Read from MH i2c: E2 [10:39:00]MH_I2C_Read... [10:39:00]Read from MH i2c: E2 0E 00 [10:39:00]MH_I2C_Read... [10:39:00]Read from MH i2c: E2 0E 00 B2 14 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 FD [10:39:00]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [10:39:00]wFMCommunicate OK [10:39:00]SAM_PROTO_GetShiftState done [10:39:00]FM_GetShiftState done [10:39:00]opened in 1719016120 [10:39:00]opened+sec_in_day 1719102520 [10:39:00]quantity*price = 10500 [10:39:00]sum+1 = 10501 [10:39:00]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 105.00 НСП 1% : 0.93 НДС 12% : 11.15 Наличными: 105.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 18 22.06.2024 10:39 Смена: 327 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34592 ФПД: 140524030329161 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T103905&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34592&fm=140524030329161&tin=02508201610067®Number=0000000000092786&sum=10500 0 [10:39:01]StoreToDocumentArchive [10:39:01]shift 327 fd 34592 [10:39:01]save to /storage/0327/doc_00034592 [10:39:01]save last doc name /storage/0327/doc_00034592 to /storage/kkm_last_doc_name [10:39:01]save OK [10:39:01]Clear old archive folders... [10:39:01]ProcessDocumentItem done err = 0, tmpTLVsize=280 [10:39:01]tlvbuf is 0159ED60 [10:39:01]SAM_PROTO_ClearQueue [10:39:01]wFMCommunicate request_size=4 [10:39:01]MH_SAM_APDU [10:39:01]CAPDU: 80 09 00 00 [10:39:01]Write to MH i2c: E2 08 00 BF 14 80 09 00 00 00 00 00 00 45 [10:39:01]Write i2c OK [10:39:01]MH_I2C_Read... [10:39:02]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:39:02]Read from MH i2c: E2 [10:39:02]MH_I2C_Read... [10:39:02]Read from MH i2c: E2 03 00 [10:39:02]MH_I2C_Read... [10:39:02]Read from MH i2c: E2 03 00 BF 14 00 90 00 47 [10:39:02]RAPDU: 90 00 [10:39:02]wFMCommunicate OK [10:39:02]SAM_PROTO_ClearQueue done [10:39:02]KKMCreateOFDPacket [10:39:02]OFDProtocolAddRootSTLVToBuf [10:39:02]FM_MakeSignedData [10:39:02]FM_MakeSignedData [10:39:02]SAM_PROTO_SignData [10:39:02]wFMCommunicate request_size=4 [10:39:02]MH_SAM_APDU [10:39:02]CAPDU: 80 0D 01 02 [10:39:02]Write to MH i2c: E2 08 00 C0 14 80 0D 01 02 00 00 00 00 4D [10:39:02]Write i2c OK [10:39:02]MH_I2C_Read... [10:39:02]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:39:02]Read from MH i2c: E2 [10:39:02]MH_I2C_Read... [10:39:02]Read from MH i2c: E2 03 00 [10:39:02]MH_I2C_Read... [10:39:02]Read from MH i2c: E2 03 00 C0 14 00 90 00 48 [10:39:02]RAPDU: 90 00 [10:39:02]wFMCommunicate OK [10:39:02]wFMCommunicate request_size=255 [10:39:02]MH_SAM_APDU [10:39:02]CAPDU: 80 0D 02 02 FA 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 30 30 30 31 34 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 AD D1 81 D0 BF D1 80 D0 B5 D1 81 D1 81 D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 04 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 C9 A9 76 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 32 37 38 36 11 04 10 00 [10:39:02]Write to MH i2c: E2 02 01 C1 14 80 0D 02 02 FA 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 30 30 30 31 34 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 AD D1 81 D0 BF D1 80 D0 B5 D1 81 D1 81 D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 04 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 C9 A9 76 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 32 37 38 36 11 04 10 00 00 00 BB [10:39:02]Write i2c OK [10:39:02]MH_I2C_Read... [10:39:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:39:02]Read from MH i2c: E2 [10:39:02]MH_I2C_Read... [10:39:02]Read from MH i2c: E2 03 00 [10:39:02]MH_I2C_Read... [10:39:02]Read from MH i2c: E2 03 00 C1 14 00 90 00 49 [10:39:02]RAPDU: 90 00 [10:39:02]wFMCommunicate OK [10:39:02]wFMCommunicate request_size=39 [10:39:02]MH_SAM_APDU [10:39:02]CAPDU: 80 0D 02 02 22 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 20 87 00 00 35 04 06 00 7F CE 4C E9 01 49 [10:39:02]Write to MH i2c: E2 2A 00 C2 14 80 0D 02 02 22 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 20 87 00 00 35 04 06 00 7F CE 4C E9 01 49 00 00 80 [10:39:02]Write i2c OK [10:39:02]MH_I2C_Read... [10:39:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:39:02]Read from MH i2c: E2 [10:39:02]MH_I2C_Read... [10:39:02]Read from MH i2c: E2 03 00 [10:39:02]MH_I2C_Read... [10:39:02]Read from MH i2c: E2 03 00 C2 14 00 90 00 4A [10:39:02]RAPDU: 90 00 [10:39:02]wFMCommunicate OK [10:39:02]wFMCommunicate request_size=4 [10:39:02]MH_SAM_APDU [10:39:02]CAPDU: 80 0D 03 02 [10:39:02]Write to MH i2c: E2 08 00 C3 14 80 0D 03 02 00 00 00 00 52 [10:39:02]Write i2c OK [10:39:02]MH_I2C_Read... [10:39:02]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:39:02]Read from MH i2c: E2 [10:39:02]MH_I2C_Read... [10:39:02]Read from MH i2c: E2 0B 00 [10:39:02]MH_I2C_Read... [10:39:02]Read from MH i2c: E2 0B 00 C3 14 00 CC 1F CF F0 B8 7D BC FB 90 00 E9 [10:39:02]RAPDU: CC 1F CF F0 B8 7D BC FB 90 00 [10:39:02]wFMCommunicate OK [10:39:02]SAM_PROTO_SignData done [10:39:02]FM_MakeSignedData done [10:39:02]CreateOFDProtocolMessage [10:39:02]wFMCommunicate request_size=4 [10:39:02]MH_SAM_APDU [10:39:02]CAPDU: 80 11 00 00 [10:39:02]Write to MH i2c: E2 08 00 C4 14 80 11 00 00 00 00 00 00 52 [10:39:02]Write i2c OK [10:39:02]MH_I2C_Read... [10:39:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:39:02]Read from MH i2c: E2 [10:39:02]MH_I2C_Read... [10:39:02]Read from MH i2c: E2 17 00 [10:39:02]MH_I2C_Read... [10:39:02]Read from MH i2c: E2 17 00 C4 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 A7 [10:39:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [10:39:02]wFMCommunicate OK [10:39:02]CreateOFDProtocolMessage done [10:39:02]OFDSenderStorePacket 34592 [10:39:02]StoreOFDPacket docnum=34592 [10:39:02]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 2C 01 00 00 B2 9D 24 01 A8 0C 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 30 30 30 31 34 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 AD D1 81 D0 BF D1 80 D0 B5 D1 81 D1 81 D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 04 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 C9 A9 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 20 87 00 00 35 04 06 00 7F CE 4C E9 01 49 CC 1F CF F0 B8 7D BC FB [10:39:02]CheckFolder [10:39:02]dirname=/storage/ofd_packets [10:39:02]CheckFolder done [10:39:02]ProducePacketName [10:39:02]name=ofd_packets/00034592 [10:39:02]NVStorageSaveData ofd_packets/00034592 [10:39:02]File name is /storage/ofd_packets/00034592 [10:39:02]Write 330 bytes [10:39:02]NVStorageSaveData done [10:39:02]OFDSenderStorePacket done [10:39:02]KKMCreateOFDPacket done [10:39:02]NVStorageSaveData kkm_last_timestamp [10:39:02]File name is /storage/kkm_last_timestamp [10:39:02]Write 4 bytes [10:39:02]NVStorageSaveData done [10:39:02]ExternCall_PrintAddStr [10:39:02]wPrintStart [10:39:02]Write to MH i2c: 01 00 00 C5 14 D9 [10:39:02]Write i2c OK [10:39:02]MH_I2C_Read... [10:39:02]Read from MH i2c: 01 [10:39:02]MH_I2C_Read... [10:39:02]Read from MH i2c: 01 07 00 [10:39:02]MH_I2C_Read... [10:39:02]Read from MH i2c: 01 07 00 C5 14 00 00 00 00 00 FF 0F EE [10:39:02]RasterBufferAndPrint [10:39:02]line Счет N : (3)184349 [10:39:02]line ИНН: 02508201610067 [10:39:02]line Контрольно-Кассовый Чек [10:39:02]line ПРОДАЖА [10:39:02]line Товар: 2000036200014 [10:39:02]line Кофе Эспрессо (GABB TRADE) [10:39:02]line 1.000 * 105.00 [10:39:02]line = 105.00 [10:39:02]line НДС 12% НСП 1% [10:39:02]line > о реализуемом товаре [10:39:02]line ИТОГО: 105.00 [10:39:02]line НСП 1% : 0.93 [10:39:02]line НДС 12% : 11.15 [10:39:02]line Наличными: 105.00 [10:39:02]line Безнал.: 0.00 [10:39:02]line Место: АЗС № 120 "Партнер Нефть" [10:39:02]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [10:39:02]line СНО: Общий режим [10:39:02]line Чек 18 22.06.2024 10:39 [10:39:02]line Смена: 327 ФФД: 1.0 [10:39:02]line ЗНМ: 0300000172 [10:39:02]line РНМ: 0000000000092786 [10:39:02]line Версия ККМ: 001 [10:39:02]line ФМ: 0000000000875095 [10:39:02]line ФД: 34592 [10:39:02]line ФПД: 140524030329161 [10:39:02]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T103905&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34592&fm=140524030329161&tin=02508201610067®Number=0000000000092786&sum=10500 [10:39:02]line 0 [10:39:02]OFD Sender: Processing packet 34592 [packets to send 8, broken 7] [10:39:02]ProducePacketName [10:39:02]name=ofd_packets/00034592 [10:39:02]OFD Sender: To server: pG, [10:39:02]CommunicateWithHost lk.salyk.kg:30040 [10:39:02]ConnectInit lk.salyk.kg [10:39:02]written 0, free lines is 4095 [10:39:03]Connected sock=11 [10:39:03]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 2C 01 00 00 B2 9D 24 01 A8 0C 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 30 30 30 31 34 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 AD D1 81 D0 BF D1 80 D0 B5 D1 81 D1 81 D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 04 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 C9 A9 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 20 87 00 00 35 04 06 00 7F CE 4C E9 01 49 CC 1F CF F0 B8 7D BC FB [10:39:03]Write to MH i2c: 01 00 00 ED 14 01 [10:39:03]Write i2c OK [10:39:03]MH_I2C_Read... [10:39:03]Read from MH i2c: 01 [10:39:03]MH_I2C_Read... [10:39:03]Read from MH i2c: 01 07 00 [10:39:03]MH_I2C_Read... [10:39:03]Read from MH i2c: 01 07 00 ED 14 00 00 00 00 00 EB 0C FF [10:39:03]RasterBufferAndPrint [10:39:03]line [10:39:03]line [10:39:03]line [10:39:03]line [10:39:03]line [10:39:03]written 0, free lines is 3313 [10:39:03]MH_Cut [10:39:03]Write to MH i2c: D1 01 00 F4 14 01 DA [10:39:03]Write i2c OK [10:39:03]MH_I2C_Read... [10:39:03]Read from MH i2c: D1 [10:39:03]MH_I2C_Read... [10:39:03]Read from MH i2c: D1 01 00 [10:39:03]MH_I2C_Read... [10:39:03]Read from MH i2c: D1 01 00 F4 14 00 D9 [10:39:03]Write to MH i2c: 01 00 00 F5 14 09 [10:39:03]Write i2c OK [10:39:03]MH_I2C_Read... [10:39:03]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 30 96 47 00 5B F0 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 20 87 00 00 F4 03 04 00 8E 50 76 66 B6 04 01 00 00 C3 18 71 84 C5 35 2E DC [10:39:03]CommunicateWithHost err = 0 [10:39:03]CheckOFDResponse [10:39:03]1017 (14) - 77093643461234 [10:39:03]1041 (16) - 0000000000875095 [10:39:03]1040 (4) - 34592 [10:39:03]1012 (4) - 22.06.2024 04:18 [10:39:03]1206 (1) - 0 [10:39:03]OFD Sender: Remove packet 34592 [10:39:03]ProducePacketName [10:39:03]name=ofd_packets/00034592 [10:39:03]NVStorageDeleteData [10:39:03]OFD Sender: No OFD packet to send [10:39:04]*** Cut start [10:39:04]*** Partial cut [10:39:04]*** CUTSNS_PIN = 1 [10:39:04]*** CUTSNS_PIN = 0 [10:39:04]*** Brake cut motor [10:39:04]Read from MH i2c: 01 [10:39:04]MH_I2C_Read... [10:39:04]*** Stop cut motor [10:39:04]*** Cut end [10:39:04]Read from MH i2c: 01 07 00 [10:39:04]MH_I2C_Read... [10:39:04]Read from MH i2c: 01 07 00 F5 14 00 00 00 00 00 FF 0F 1E [10:39:04]process_action close_receipt done [10:39:04]requested_data is exist [10:39:04]produce_requested_data [10:39:04]requested_item fm.sn is exist - process it [10:39:04]wFMCommunicate request_size=4 [10:39:04]MH_SAM_APDU [10:39:04]CAPDU: 80 11 00 00 [10:39:04]Write to MH i2c: E2 08 00 F6 14 80 11 00 00 00 00 00 00 84 [10:39:04]Write i2c OK [10:39:04]MH_I2C_Read... [10:39:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:39:04]Read from MH i2c: E2 [10:39:04]MH_I2C_Read... [10:39:04]Read from MH i2c: E2 17 00 [10:39:04]MH_I2C_Read... [10:39:04]Read from MH i2c: E2 17 00 F6 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 D9 [10:39:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [10:39:04]wFMCommunicate OK [10:39:04]requested_item fd.num is exist - process it [10:39:04]SAM_PROTO_GetFieldsCounters [10:39:04]wFMCommunicate request_size=4 [10:39:04]MH_SAM_APDU [10:39:04]CAPDU: 80 13 00 00 [10:39:04]Write to MH i2c: E2 08 00 F7 14 80 13 00 00 00 00 00 00 87 [10:39:04]Write i2c OK [10:39:04]MH_I2C_Read... [10:39:04]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:39:04]Read from MH i2c: E2 [10:39:04]MH_I2C_Read... [10:39:04]Read from MH i2c: E2 62 00 [10:39:04]MH_I2C_Read... [10:39:04]Read from MH i2c: E2 62 00 F7 14 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 20 87 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 12 00 00 00 5E 04 04 00 12 00 00 00 57 04 04 00 13 00 00 00 19 04 04 00 00 00 00 00 90 00 D6 [10:39:04]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 20 87 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 12 00 00 00 5E 04 04 00 12 00 00 00 57 04 04 00 13 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:39:04]wFMCommunicate OK [10:39:04]SAM_PROTO_GetFieldsCounters done [10:39:04]requested_item shift.num is exist - process it [10:39:04]requested_item shift.opened is exist - process it [10:39:04]req_shift_opened [10:39:04]FM_GetShiftState [10:39:04]SAM_PROTO_GetShiftState [10:39:04]wFMCommunicate request_size=4 [10:39:04]MH_SAM_APDU [10:39:04]CAPDU: 80 13 01 00 [10:39:04]Write to MH i2c: E2 08 00 F8 14 80 13 01 00 00 00 00 00 89 [10:39:04]Write i2c OK [10:39:04]MH_I2C_Read... [10:39:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:39:04]Read from MH i2c: E2 [10:39:04]MH_I2C_Read... [10:39:04]Read from MH i2c: E2 0E 00 [10:39:04]MH_I2C_Read... [10:39:04]Read from MH i2c: E2 0E 00 F8 14 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 43 [10:39:04]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [10:39:04]wFMCommunicate OK [10:39:04]SAM_PROTO_GetShiftState done [10:39:04]FM_GetShiftState done [10:39:04]req_shift_opened done [10:39:04]requested_item shift.open_date is exist - process it [10:39:04]req_shift_open_date [10:39:04]req_shift_open_date done [10:39:04]produce_requested_data done [10:39:04]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34592,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120} [10:39:04]process_action_free close_receipt [10:39:04]json_value_free [10:39:04]json_value_free done [10:39:04]process_json_proto returns [10:39:04]Send response to host [10:39:04]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34592,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120}}} [10:39:04]free response buf [10:39:04]execute_script done [10:39:04]execute_script returns [10:39:04]free content buf [10:39:04]Sock 9.Close socket [10:39:04]Sock 9.Thread stoped [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]accept exits with 7 [10:39:28]New connection [10:39:28]New thread 3067473252 created [10:39:28]Thread 3067616612 joined [10:39:28]Waiting for new connection... [10:39:28] Sock 7.Parse request [10:39:28]Sock 7.Check first char [10:39:28]Sock 7.First char is OK [10:39:28]request: POST /json_proto HTTP/1.0 [10:39:28]Method: POST [10:39:28]URL: /json_proto [10:39:28]Method is POST - this is cgi request [10:39:28]url: /json_proto [10:39:28]query_string will be loaded in cgi processing [10:39:28]execute_cgi json_proto POST (null) [10:39:28]execute_cgi path=json_proto method=POST [10:39:28]POST find Content-Length [10:39:28]Host: 172.17.38.134:8080 [10:39:28]Content-Length: 614 [10:39:28]Content-Type: application/json [10:39:28] [10:39:28]POST finish read [10:39:28]Found Content-Length = 614 [10:39:28]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184350", "tax_sys" : 0, "items" : [ { "code": "48744317", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Camel Yellow", "price" : 150.00, "quantity" : 3.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" ] } } [10:39:28]execute_script... [10:39: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)184350", "tax_sys" : 0, "items" : [ { "code": "48744317", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Camel Yellow", "price" : 150.00, "quantity" : 3.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" ] } } [10:39:28]POST & json_proto [10:39:28]process_json_proto [10:39:28]json parsed OK: [10:39:28]protocol is kg_v1.0 [10:39:28]action value=close_receipt [10:39:28]process_action close_receipt [10:39:28]cmd_close_receipt [10:39:28]MH_GetDate [10:39:28]Write to MH i2c: F0 00 00 F9 14 FC [10:39:28]Write i2c OK [10:39:28]MH_I2C_Read... [10:39:28]Read from MH i2c: F0 [10:39:28]MH_I2C_Read... [10:39:28]Read from MH i2c: F0 09 00 [10:39:28]MH_I2C_Read... [10:39:28]Read from MH i2c: F0 09 00 F9 14 00 E5 A9 76 66 13 9C 7C 64 FE [10:39:28]GetLastDocTimeStamp 1719052745 [10:39:28]current date 1719052773 [10:39:28]FM_GetShiftState [10:39:28]SAM_PROTO_GetShiftState [10:39:28]wFMCommunicate request_size=4 [10:39:28]MH_SAM_APDU [10:39:28]CAPDU: 80 13 01 00 [10:39:28]Write to MH i2c: E2 08 00 FA 14 80 13 01 00 00 00 00 00 8B [10:39:28]Write i2c OK [10:39:28]MH_I2C_Read... [10:39:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:39:28]Read from MH i2c: E2 [10:39:28]MH_I2C_Read... [10:39:28]Read from MH i2c: E2 0E 00 [10:39:28]MH_I2C_Read... [10:39:28]Read from MH i2c: E2 0E 00 FA 14 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 45 [10:39:28]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [10:39:28]wFMCommunicate OK [10:39:28]SAM_PROTO_GetShiftState done [10:39:28]FM_GetShiftState done [10:39:28]opened in 1719016120 [10:39:28]opened+sec_in_day 1719102520 [10:39:28]quantity*price = 45000 [10:39:28]sum+1 = 45001 [10:39:28]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 450.00 НСП 1% : 3.98 НДС 12% : 47.79 Наличными: 450.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 19 22.06.2024 10:39 Смена: 327 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34593 ФПД: 110611099958457 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T103933&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34593&fm=110611099958457&tin=02508201610067®Number=0000000000092786&sum=45000 0 [10:39:29]StoreToDocumentArchive [10:39:29]shift 327 fd 34593 [10:39:29]save to /storage/0327/doc_00034593 [10:39:29]save last doc name /storage/0327/doc_00034593 to /storage/kkm_last_doc_name [10:39:29]save OK [10:39:29]Clear old archive folders... [10:39:29]ProcessDocumentItem done err = 0, tmpTLVsize=266 [10:39:29]tlvbuf is 0159C280 [10:39:29]SAM_PROTO_ClearQueue [10:39:29]wFMCommunicate request_size=4 [10:39:29]MH_SAM_APDU [10:39:29]CAPDU: 80 09 00 00 [10:39:29]Write to MH i2c: E2 08 00 07 15 80 09 00 00 00 00 00 00 8E [10:39:29]Write i2c OK [10:39:29]MH_I2C_Read... [10:39:29]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:39:29]Read from MH i2c: E2 [10:39:29]MH_I2C_Read... [10:39:29]Read from MH i2c: E2 03 00 [10:39:29]MH_I2C_Read... [10:39:29]Read from MH i2c: E2 03 00 07 15 00 90 00 90 [10:39:29]RAPDU: 90 00 [10:39:29]wFMCommunicate OK [10:39:29]SAM_PROTO_ClearQueue done [10:39:29]KKMCreateOFDPacket [10:39:29]OFDProtocolAddRootSTLVToBuf [10:39:29]FM_MakeSignedData [10:39:29]FM_MakeSignedData [10:39:29]SAM_PROTO_SignData [10:39:29]wFMCommunicate request_size=4 [10:39:29]MH_SAM_APDU [10:39:29]CAPDU: 80 0D 01 02 [10:39:29]Write to MH i2c: E2 08 00 08 15 80 0D 01 02 00 00 00 00 96 [10:39:29]Write i2c OK [10:39:29]MH_I2C_Read... [10:39:29]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:39:29]Read from MH i2c: E2 [10:39:29]MH_I2C_Read... [10:39:29]Read from MH i2c: E2 03 00 [10:39:29]MH_I2C_Read... [10:39:29]Read from MH i2c: E2 03 00 08 15 00 90 00 91 [10:39:29]RAPDU: 90 00 [10:39:29]wFMCommunicate OK [10:39:29]wFMCommunicate request_size=255 [10:39:29]MH_SAM_APDU [10:39:29]CAPDU: 80 0D 02 02 FA 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 08 00 34 38 37 34 34 33 31 37 06 04 1D 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 43 61 6D 65 6C 20 59 65 6C 6C 6F 77 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 98 3A 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 13 00 00 00 F4 03 04 00 E5 A9 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 [10:39:29]Write to MH i2c: E2 02 01 09 15 80 0D 02 02 FA 00 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 08 00 34 38 37 34 34 33 31 37 06 04 1D 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 43 61 6D 65 6C 20 59 65 6C 6C 6F 77 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 98 3A 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 13 00 00 00 F4 03 04 00 E5 A9 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 00 00 74 [10:39:29]Write i2c OK [10:39:29]MH_I2C_Read... [10:39:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:39:30]Read from MH i2c: E2 [10:39:30]MH_I2C_Read... [10:39:30]Read from MH i2c: E2 03 00 [10:39:30]MH_I2C_Read... [10:39:30]Read from MH i2c: E2 03 00 09 15 00 90 00 92 [10:39:30]RAPDU: 90 00 [10:39:30]wFMCommunicate OK [10:39:30]wFMCommunicate request_size=25 [10:39:30]MH_SAM_APDU [10:39:30]CAPDU: 80 0D 02 02 14 39 35 10 04 04 00 21 87 00 00 35 04 06 00 64 99 A7 52 3C B9 [10:39:30]Write to MH i2c: E2 1C 00 0A 15 80 0D 02 02 14 00 39 35 10 04 04 00 21 87 00 00 35 04 06 00 64 99 A7 52 3C B9 00 00 19 [10:39:30]Write i2c OK [10:39:30]MH_I2C_Read... [10:39:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:39:30]Read from MH i2c: E2 [10:39:30]MH_I2C_Read... [10:39:30]Read from MH i2c: E2 03 00 [10:39:30]MH_I2C_Read... [10:39:30]Read from MH i2c: E2 03 00 0A 15 00 90 00 93 [10:39:30]RAPDU: 90 00 [10:39:30]wFMCommunicate OK [10:39:30]wFMCommunicate request_size=4 [10:39:30]MH_SAM_APDU [10:39:30]CAPDU: 80 0D 03 02 [10:39:30]Write to MH i2c: E2 08 00 0B 15 80 0D 03 02 00 00 00 00 9B [10:39:30]Write i2c OK [10:39:30]MH_I2C_Read... [10:39:30]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:39:30]Read from MH i2c: E2 [10:39:30]MH_I2C_Read... [10:39:30]Read from MH i2c: E2 0B 00 [10:39:30]MH_I2C_Read... [10:39:30]Read from MH i2c: E2 0B 00 0B 15 00 2B 7D 8B EC 8C 3B C0 C1 90 00 03 [10:39:30]RAPDU: 2B 7D 8B EC 8C 3B C0 C1 90 00 [10:39:30]wFMCommunicate OK [10:39:30]SAM_PROTO_SignData done [10:39:30]FM_MakeSignedData done [10:39:30]CreateOFDProtocolMessage [10:39:30]wFMCommunicate request_size=4 [10:39:30]MH_SAM_APDU [10:39:30]CAPDU: 80 11 00 00 [10:39:30]Write to MH i2c: E2 08 00 0C 15 80 11 00 00 00 00 00 00 9B [10:39:30]Write i2c OK [10:39:30]MH_I2C_Read... [10:39:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:39:30]Read from MH i2c: E2 [10:39:30]MH_I2C_Read... [10:39:30]Read from MH i2c: E2 17 00 [10:39:30]MH_I2C_Read... [10:39:30]Read from MH i2c: E2 17 00 0C 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 F0 [10:39:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [10:39:30]wFMCommunicate OK [10:39:30]CreateOFDProtocolMessage done [10:39:30]OFDSenderStorePacket 34593 [10:39:30]StoreOFDPacket docnum=34593 [10:39:30]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 1E 01 00 00 AF B1 16 01 93 11 5A 03 01 00 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 08 00 34 38 37 34 34 33 31 37 06 04 1D 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 43 61 6D 65 6C 20 59 65 6C 6C 6F 77 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 98 3A 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 13 00 00 00 F4 03 04 00 E5 A9 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 21 87 00 00 35 04 06 00 64 99 A7 52 3C B9 2B 7D 8B EC 8C 3B C0 C1 [10:39:30]CheckFolder [10:39:30]dirname=/storage/ofd_packets [10:39:30]CheckFolder done [10:39:30]ProducePacketName [10:39:30]name=ofd_packets/00034593 [10:39:30]NVStorageSaveData ofd_packets/00034593 [10:39:30]File name is /storage/ofd_packets/00034593 [10:39:30]Write 316 bytes [10:39:30]NVStorageSaveData done [10:39:30]OFDSenderStorePacket done [10:39:30]KKMCreateOFDPacket done [10:39:30]NVStorageSaveData kkm_last_timestamp [10:39:30]File name is /storage/kkm_last_timestamp [10:39:30]Write 4 bytes [10:39:30]NVStorageSaveData done [10:39:30]ExternCall_PrintAddStr [10:39:30]wPrintStart [10:39:30]Write to MH i2c: 01 00 00 0D 15 22 [10:39:30]Write i2c OK [10:39:30]MH_I2C_Read... [10:39:30]Read from MH i2c: 01 [10:39:30]MH_I2C_Read... [10:39:30]Read from MH i2c: 01 07 00 [10:39:30]MH_I2C_Read... [10:39:30]Read from MH i2c: 01 07 00 0D 15 00 00 00 00 00 FF 0F 37 [10:39:30]RasterBufferAndPrint [10:39:30]line Счет N : (3)184350 [10:39:30]line ИНН: 02508201610067 [10:39:30]line Контрольно-Кассовый Чек [10:39:30]line ПРОДАЖА [10:39:30]line Товар: 48744317 [10:39:30]line Сигареты Camel Yellow [10:39:30]line 3.000 * 150.00 [10:39:30]line = 450.00 [10:39:30]line НДС 12% НСП 1% [10:39:30]line > о реализуемом товаре [10:39:30]line ИТОГО: 450.00 [10:39:30]line НСП 1% : 3.98 [10:39:30]line НДС 12% : 47.79 [10:39:30]line Наличными: 450.00 [10:39:30]line Безнал.: 0.00 [10:39:30]line Место: АЗС № 120 "Партнер Нефть" [10:39:30]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [10:39:30]line СНО: Общий режим [10:39:30]line Чек 19 22.06.2024 10:39 [10:39:30]line Смена: 327 ФФД: 1.0 [10:39:30]line ЗНМ: 0300000172 [10:39:30]line РНМ: 0000000000092786 [10:39:30]line Версия ККМ: 001 [10:39:30]line ФМ: 0000000000875095 [10:39:30]line ФД: 34593 [10:39:30]line ФПД: 110611099958457 [10:39:30]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T103933&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34593&fm=110611099958457&tin=02508201610067®Number=0000000000092786&sum=45000 [10:39:30]line 0 [10:39:30]OFD Sender: Processing packet 34593 [packets to send 8, broken 7] [10:39:30]ProducePacketName [10:39:30]name=ofd_packets/00034593 [10:39:30]OFD Sender: To server: pG, [10:39:30]CommunicateWithHost lk.salyk.kg:30040 [10:39:30]ConnectInit lk.salyk.kg [10:39:30]written 0, free lines is 4095 [10:39:30]Connected sock=10 [10:39:30]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 1E 01 00 00 AF B1 16 01 93 11 5A 03 01 00 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 08 00 34 38 37 34 34 33 31 37 06 04 1D 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 43 61 6D 65 6C 20 59 65 6C 6C 6F 77 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 98 3A 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 13 00 00 00 F4 03 04 00 E5 A9 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 21 87 00 00 35 04 06 00 64 99 A7 52 3C B9 2B 7D 8B EC 8C 3B C0 C1 [10:39:31]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 76 85 47 00 B2 F3 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 21 87 00 00 F4 03 04 00 A9 50 76 66 B6 04 01 00 00 53 BA F9 1D D3 2F 6C 96 [10:39:31]CommunicateWithHost err = 0 [10:39:31]CheckOFDResponse [10:39:31]1017 (14) - 77093643461234 [10:39:31]1041 (16) - 0000000000875095 [10:39:31]1040 (4) - 34593 [10:39:31]1012 (4) - 22.06.2024 04:18 [10:39:31]1206 (1) - 0 [10:39:31]OFD Sender: Remove packet 34593 [10:39:31]ProducePacketName [10:39:31]name=ofd_packets/00034593 [10:39:31]NVStorageDeleteData [10:39:31]Write to MH i2c: 01 00 00 35 15 4A [10:39:31]Write i2c OK [10:39:31]MH_I2C_Read... [10:39:31]Read from MH i2c: 01 [10:39:31]MH_I2C_Read... [10:39:31]Read from MH i2c: 01 07 00 [10:39:31]MH_I2C_Read... [10:39:31]Read from MH i2c: 01 07 00 35 15 00 00 00 00 00 02 0D 60 [10:39:31]RasterBufferAndPrint [10:39:31]line [10:39:31]line [10:39:31]line [10:39:31]line [10:39:31]line [10:39:31]written 0, free lines is 3337 [10:39:31]MH_Cut [10:39:31]Write to MH i2c: D1 01 00 3C 15 01 23 [10:39:31]Write i2c OK [10:39:31]MH_I2C_Read... [10:39:31]Read from MH i2c: D1 [10:39:31]MH_I2C_Read... [10:39:31]Read from MH i2c: D1 01 00 [10:39:31]MH_I2C_Read... [10:39:31]Read from MH i2c: D1 01 00 3C 15 00 22 [10:39:31]Write to MH i2c: 01 00 00 3D 15 52 [10:39:31]Write i2c OK [10:39:31]MH_I2C_Read... [10:39:31]OFD Sender: No OFD packet to send [10:39:31]*** Cut start [10:39:31]*** Partial cut [10:39:31]*** CUTSNS_PIN = 1 [10:39:31]*** CUTSNS_PIN = 0 [10:39:32]*** Brake cut motor [10:39:32]Read from MH i2c: 01 [10:39:32]MH_I2C_Read... [10:39:32]*** Stop cut motor [10:39:32]*** Cut end [10:39:32]Read from MH i2c: 01 07 00 [10:39:32]MH_I2C_Read... [10:39:32]Read from MH i2c: 01 07 00 3D 15 00 00 00 00 00 FF 0F 67 [10:39:32]process_action close_receipt done [10:39:32]requested_data is exist [10:39:32]produce_requested_data [10:39:32]requested_item fm.sn is exist - process it [10:39:32]wFMCommunicate request_size=4 [10:39:32]MH_SAM_APDU [10:39:32]CAPDU: 80 11 00 00 [10:39:32]Write to MH i2c: E2 08 00 3E 15 80 11 00 00 00 00 00 00 CD [10:39:32]Write i2c OK [10:39:32]MH_I2C_Read... [10:39:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:39:32]Read from MH i2c: E2 [10:39:32]MH_I2C_Read... [10:39:32]Read from MH i2c: E2 17 00 [10:39:32]MH_I2C_Read... [10:39:32]Read from MH i2c: E2 17 00 3E 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 22 [10:39:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [10:39:32]wFMCommunicate OK [10:39:32]requested_item fd.num is exist - process it [10:39:32]SAM_PROTO_GetFieldsCounters [10:39:32]wFMCommunicate request_size=4 [10:39:32]MH_SAM_APDU [10:39:32]CAPDU: 80 13 00 00 [10:39:32]Write to MH i2c: E2 08 00 3F 15 80 13 00 00 00 00 00 00 D0 [10:39:32]Write i2c OK [10:39:32]MH_I2C_Read... [10:39:32]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:39:32]Read from MH i2c: E2 [10:39:32]MH_I2C_Read... [10:39:32]Read from MH i2c: E2 62 00 [10:39:32]MH_I2C_Read... [10:39:32]Read from MH i2c: E2 62 00 3F 15 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 21 87 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 23 [10:39:32]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 21 87 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:39:32]wFMCommunicate OK [10:39:32]SAM_PROTO_GetFieldsCounters done [10:39:32]requested_item shift.num is exist - process it [10:39:32]requested_item shift.opened is exist - process it [10:39:32]req_shift_opened [10:39:32]FM_GetShiftState [10:39:32]SAM_PROTO_GetShiftState [10:39:32]wFMCommunicate request_size=4 [10:39:32]MH_SAM_APDU [10:39:32]CAPDU: 80 13 01 00 [10:39:32]Write to MH i2c: E2 08 00 40 15 80 13 01 00 00 00 00 00 D2 [10:39:32]Write i2c OK [10:39:32]MH_I2C_Read... [10:39:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:39:32]Read from MH i2c: E2 [10:39:32]MH_I2C_Read... [10:39:32]Read from MH i2c: E2 0E 00 [10:39:32]MH_I2C_Read... [10:39:32]Read from MH i2c: E2 0E 00 40 15 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 8C [10:39:32]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [10:39:32]wFMCommunicate OK [10:39:32]SAM_PROTO_GetShiftState done [10:39:32]FM_GetShiftState done [10:39:32]req_shift_opened done [10:39:32]requested_item shift.open_date is exist - process it [10:39:32]req_shift_open_date [10:39:32]req_shift_open_date done [10:39:32]produce_requested_data done [10:39:32]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34593,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120} [10:39:32]process_action_free close_receipt [10:39:32]json_value_free [10:39:32]json_value_free done [10:39:32]process_json_proto returns [10:39:32]Send response to host [10:39:32]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34593,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120}}} [10:39:32]free response buf [10:39:32]execute_script done [10:39:32]execute_script returns [10:39:32]free content buf [10:39:32]Sock 7.Close socket [10:39:32]Sock 7.Thread stoped [10:39:36]OFD Sender: No OFD packet to send [10:39:38]accept exits with 9 [10:39:38]New connection [10:39:38]New thread 3067616612 created [10:39:38]Thread 3067473252 joined [10:39:38]Waiting for new connection... [10:39:38] Sock 9.Parse request [10:39:38]Sock 9.Check first char [10:39:38]Sock 9.First char is OK [10:39:38]request: POST /json_proto HTTP/1.0 [10:39:38]Method: POST [10:39:38]URL: /json_proto [10:39:38]Method is POST - this is cgi request [10:39:38]url: /json_proto [10:39:38]query_string will be loaded in cgi processing [10:39:38]execute_cgi json_proto POST (null) [10:39:38]execute_cgi path=json_proto method=POST [10:39:38]POST find Content-Length [10:39:38]Host: 172.17.38.134:8080 [10:39:38]Content-Length: 728 [10:39:38]Content-Type: application/json [10:39:38] [10:39:38]POST finish read [10:39:38]Found Content-Length = 728 [10:39:38]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184351", "tax_sys" : 0, "items" : [ { "code": "4700000160792", "name": "\u0421\u043D\u0435\u043A \u041A\u0443\u0440\u0443\u0442 \u043A\u043B\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043A\u0438\u0439 (\u043A\u0440\u0443\u0433\u043B\u044B\u0439)", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 60.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:39:38]execute_script... [10:39: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)184351", "tax_sys" : 0, "items" : [ { "code": "4700000160792", "name": "\u0421\u043D\u0435\u043A \u041A\u0443\u0440\u0443\u0442 \u043A\u043B\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043A\u0438\u0439 (\u043A\u0440\u0443\u0433\u043B\u044B\u0439)", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 60.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:39:38]POST & json_proto [10:39:38]process_json_proto [10:39:38]json parsed OK: [10:39:38]protocol is kg_v1.0 [10:39:38]action value=close_receipt [10:39:38]process_action close_receipt [10:39:38]cmd_close_receipt [10:39:38]MH_GetDate [10:39:38]Write to MH i2c: F0 00 00 41 15 45 [10:39:38]Write i2c OK [10:39:38]MH_I2C_Read... [10:39:38]Read from MH i2c: F0 [10:39:38]MH_I2C_Read... [10:39:38]Read from MH i2c: F0 09 00 [10:39:38]MH_I2C_Read... [10:39:38]Read from MH i2c: F0 09 00 41 15 00 EF A9 76 66 13 9C 7C 64 51 [10:39:38]GetLastDocTimeStamp 1719052773 [10:39:38]current date 1719052783 [10:39:38]FM_GetShiftState [10:39:38]SAM_PROTO_GetShiftState [10:39:38]wFMCommunicate request_size=4 [10:39:38]MH_SAM_APDU [10:39:38]CAPDU: 80 13 01 00 [10:39:38]Write to MH i2c: E2 08 00 42 15 80 13 01 00 00 00 00 00 D4 [10:39:38]Write i2c OK [10:39:38]MH_I2C_Read... [10:39:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:39:38]Read from MH i2c: E2 [10:39:38]MH_I2C_Read... [10:39:38]Read from MH i2c: E2 0E 00 [10:39:38]MH_I2C_Read... [10:39:38]Read from MH i2c: E2 0E 00 42 15 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 8E [10:39:38]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [10:39:38]wFMCommunicate OK [10:39:38]SAM_PROTO_GetShiftState done [10:39:38]FM_GetShiftState done [10:39:38]opened in 1719016120 [10:39:38]opened+sec_in_day 1719102520 [10:39:38]quantity*price = 6000 [10:39:38]sum+1 = 6001 [10:39:38]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 60.00 НСП 1% : 0.53 НДС 12% : 6.37 Наличными: 60.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 20 22.06.2024 10:39 Смена: 327 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34594 ФПД: 268378818022809 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T103943&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34594&fm=268378818022809&tin=02508201610067®Number=0000000000092786&sum=6000 0 [10:39:39]StoreToDocumentArchive [10:39:39]shift 327 fd 34594 [10:39:39]save to /storage/0327/doc_00034594 [10:39:39]save last doc name /storage/0327/doc_00034594 to /storage/kkm_last_doc_name [10:39:39]save OK [10:39:39]Clear old archive folders... [10:39:39]ProcessDocumentItem done err = 0, tmpTLVsize=303 [10:39:39]tlvbuf is 015B90B0 [10:39:39]SAM_PROTO_ClearQueue [10:39:39]wFMCommunicate request_size=4 [10:39:39]MH_SAM_APDU [10:39:39]CAPDU: 80 09 00 00 [10:39:39]Write to MH i2c: E2 08 00 4F 15 80 09 00 00 00 00 00 00 D6 [10:39:39]Write i2c OK [10:39:39]MH_I2C_Read... [10:39:40]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:39:40]Read from MH i2c: E2 [10:39:40]MH_I2C_Read... [10:39:40]Read from MH i2c: E2 03 00 [10:39:40]MH_I2C_Read... [10:39:40]Read from MH i2c: E2 03 00 4F 15 00 90 00 D8 [10:39:40]RAPDU: 90 00 [10:39:40]wFMCommunicate OK [10:39:40]SAM_PROTO_ClearQueue done [10:39:40]KKMCreateOFDPacket [10:39:40]OFDProtocolAddRootSTLVToBuf [10:39:40]FM_MakeSignedData [10:39:40]FM_MakeSignedData [10:39:40]SAM_PROTO_SignData [10:39:40]wFMCommunicate request_size=4 [10:39:40]MH_SAM_APDU [10:39:40]CAPDU: 80 0D 01 02 [10:39:40]Write to MH i2c: E2 08 00 50 15 80 0D 01 02 00 00 00 00 DE [10:39:40]Write i2c OK [10:39:40]MH_I2C_Read... [10:39:40]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:39:40]Read from MH i2c: E2 [10:39:40]MH_I2C_Read... [10:39:40]Read from MH i2c: E2 03 00 [10:39:40]MH_I2C_Read... [10:39:40]Read from MH i2c: E2 03 00 50 15 00 90 00 D9 [10:39:40]RAPDU: 90 00 [10:39:40]wFMCommunicate OK [10:39:40]wFMCommunicate request_size=255 [10:39:40]MH_SAM_APDU [10:39:40]CAPDU: 80 0D 02 02 FA 03 00 2F 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 37 39 32 06 04 3D 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 BA D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 28 D0 BA D1 80 D1 83 D0 B3 D0 BB D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 EF A9 76 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D [10:39:40]Write to MH i2c: E2 02 01 51 15 80 0D 02 02 FA 00 03 00 2F 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 37 39 32 06 04 3D 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 BA D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 28 D0 BA D1 80 D1 83 D0 B3 D0 BB D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 EF A9 76 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 00 00 8E [10:39:40]Write i2c OK [10:39:40]MH_I2C_Read... [10:39:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:39:40]Read from MH i2c: E2 [10:39:40]MH_I2C_Read... [10:39:40]Read from MH i2c: E2 03 00 [10:39:40]MH_I2C_Read... [10:39:40]Read from MH i2c: E2 03 00 51 15 00 90 00 DA [10:39:40]RAPDU: 90 00 [10:39:40]wFMCommunicate OK [10:39:40]wFMCommunicate request_size=62 [10:39:40]MH_SAM_APDU [10:39:40]CAPDU: 80 0D 02 02 39 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 22 87 00 00 35 04 06 00 F4 16 D0 1D 0D 99 [10:39:40]Write to MH i2c: E2 41 00 52 15 80 0D 02 02 39 00 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 22 87 00 00 35 04 06 00 F4 16 D0 1D 0D 99 00 00 6B [10:39:40]Write i2c OK [10:39:40]MH_I2C_Read... [10:39:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:39:40]Read from MH i2c: E2 [10:39:40]MH_I2C_Read... [10:39:40]Read from MH i2c: E2 03 00 [10:39:40]MH_I2C_Read... [10:39:40]Read from MH i2c: E2 03 00 52 15 00 90 00 DB [10:39:40]RAPDU: 90 00 [10:39:40]wFMCommunicate OK [10:39:40]wFMCommunicate request_size=4 [10:39:40]MH_SAM_APDU [10:39:40]CAPDU: 80 0D 03 02 [10:39:40]Write to MH i2c: E2 08 00 53 15 80 0D 03 02 00 00 00 00 E3 [10:39:40]Write i2c OK [10:39:40]MH_I2C_Read... [10:39:40]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:39:40]Read from MH i2c: E2 [10:39:40]MH_I2C_Read... [10:39:40]Read from MH i2c: E2 0B 00 [10:39:40]MH_I2C_Read... [10:39:40]Read from MH i2c: E2 0B 00 53 15 00 1F 1F 30 D0 87 53 10 E5 90 00 F1 [10:39:40]RAPDU: 1F 1F 30 D0 87 53 10 E5 90 00 [10:39:40]wFMCommunicate OK [10:39:40]SAM_PROTO_SignData done [10:39:40]FM_MakeSignedData done [10:39:40]CreateOFDProtocolMessage [10:39:40]wFMCommunicate request_size=4 [10:39:40]MH_SAM_APDU [10:39:40]CAPDU: 80 11 00 00 [10:39:40]Write to MH i2c: E2 08 00 54 15 80 11 00 00 00 00 00 00 E3 [10:39:40]Write i2c OK [10:39:40]MH_I2C_Read... [10:39:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:39:40]Read from MH i2c: E2 [10:39:40]MH_I2C_Read... [10:39:40]Read from MH i2c: E2 17 00 [10:39:40]MH_I2C_Read... [10:39:40]Read from MH i2c: E2 17 00 54 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 38 [10:39:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [10:39:40]wFMCommunicate OK [10:39:40]CreateOFDProtocolMessage done [10:39:40]OFDSenderStorePacket 34594 [10:39:40]StoreOFDPacket docnum=34594 [10:39:40]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 43 01 00 00 4A 1E 3B 01 C2 51 5A 03 01 00 03 00 2F 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 37 39 32 06 04 3D 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 BA D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 28 D0 BA D1 80 D1 83 D0 B3 D0 BB D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 EF A9 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 22 87 00 00 35 04 06 00 F4 16 D0 1D 0D 99 1F 1F 30 D0 87 53 10 E5 [10:39:40]CheckFolder [10:39:40]dirname=/storage/ofd_packets [10:39:40]CheckFolder done [10:39:40]ProducePacketName [10:39:40]name=ofd_packets/00034594 [10:39:40]NVStorageSaveData ofd_packets/00034594 [10:39:40]File name is /storage/ofd_packets/00034594 [10:39:40]Write 353 bytes [10:39:40]NVStorageSaveData done [10:39:40]OFDSenderStorePacket done [10:39:40]KKMCreateOFDPacket done [10:39:40]NVStorageSaveData kkm_last_timestamp [10:39:40]File name is /storage/kkm_last_timestamp [10:39:40]Write 4 bytes [10:39:40]NVStorageSaveData done [10:39:40]ExternCall_PrintAddStr [10:39:40]wPrintStart [10:39:40]Write to MH i2c: 01 00 00 55 15 6A [10:39:40]Write i2c OK [10:39:40]MH_I2C_Read... [10:39:40]Read from MH i2c: 01 [10:39:40]MH_I2C_Read... [10:39:40]Read from MH i2c: 01 07 00 [10:39:40]MH_I2C_Read... [10:39:40]Read from MH i2c: 01 07 00 55 15 00 00 00 00 00 FF 0F 7F [10:39:40]RasterBufferAndPrint [10:39:40]line Счет N : (3)184351 [10:39:40]line ИНН: 02508201610067 [10:39:40]line Контрольно-Кассовый Чек [10:39:40]line ПРОДАЖА [10:39:40]line Товар: 4700000160792 [10:39:40]line Снек Курут классический (круглый) [10:39:40]line 1.000 * 60.00 [10:39:40]line = 60.00 [10:39:40]line НДС 12% НСП 1% [10:39:40]line > о реализуемом товаре [10:39:40]line ИТОГО: 60.00 [10:39:40]line НСП 1% : 0.53 [10:39:40]line НДС 12% : 6.37 [10:39:40]line Наличными: 60.00 [10:39:40]line Безнал.: 0.00 [10:39:40]line Место: АЗС № 120 "Партнер Нефть" [10:39:40]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [10:39:40]line СНО: Общий режим [10:39:40]line Чек 20 22.06.2024 10:39 [10:39:40]line Смена: 327 ФФД: 1.0 [10:39:40]line ЗНМ: 0300000172 [10:39:40]line РНМ: 0000000000092786 [10:39:40]line Версия ККМ: 001 [10:39:40]line ФМ: 0000000000875095 [10:39:40]line ФД: 34594 [10:39:40]line ФПД: 268378818022809 [10:39:40]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T103943&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34594&fm=268378818022809&tin=02508201610067®Number=0000000000092786&sum=6000 [10:39:40]line 0 [10:39:40]written 0, free lines is 4095 [10:39:40]OFD Sender: Processing packet 34594 [packets to send 8, broken 7] [10:39:40]ProducePacketName [10:39:40]name=ofd_packets/00034594 [10:39:40]OFD Sender: To server: pG, [10:39:40]CommunicateWithHost lk.salyk.kg:30040 [10:39:40]ConnectInit lk.salyk.kg [10:39:40]Connected sock=10 [10:39:40]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 43 01 00 00 4A 1E 3B 01 C2 51 5A 03 01 00 03 00 2F 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 37 39 32 06 04 3D 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 BA D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 28 D0 BA D1 80 D1 83 D0 B3 D0 BB D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 EF A9 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 22 87 00 00 35 04 06 00 F4 16 D0 1D 0D 99 1F 1F 30 D0 87 53 10 E5 [10:39:41]Write to MH i2c: 01 00 00 7E 15 93 [10:39:41]Write i2c OK [10:39:41]MH_I2C_Read... [10:39:41]Read from MH i2c: 01 [10:39:41]MH_I2C_Read... [10:39:41]Read from MH i2c: 01 07 00 [10:39:41]MH_I2C_Read... [10:39:41]Read from MH i2c: 01 07 00 7E 15 00 00 00 00 00 02 0D A9 [10:39:41]RasterBufferAndPrint [10:39:41]line [10:39:41]line [10:39:41]line [10:39:41]line [10:39:41]line [10:39:41]written 0, free lines is 3337 [10:39:41]MH_Cut [10:39:41]Write to MH i2c: D1 01 00 85 15 01 6C [10:39:41]Write i2c OK [10:39:41]MH_I2C_Read... [10:39:41]Read from MH i2c: D1 [10:39:41]MH_I2C_Read... [10:39:41]Read from MH i2c: D1 01 00 [10:39:41]MH_I2C_Read... [10:39:41]Read from MH i2c: D1 01 00 85 15 00 6B [10:39:41]Write to MH i2c: 01 00 00 86 15 9B [10:39:41]Write i2c OK [10:39:41]MH_I2C_Read... [10:39:41]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 1B CF 47 00 BD E9 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 22 87 00 00 F4 03 04 00 B3 50 76 66 B6 04 01 00 00 28 92 0B E0 61 64 2F 4F [10:39:41]CommunicateWithHost err = 0 [10:39:41]CheckOFDResponse [10:39:41]1017 (14) - 77093643461234 [10:39:41]1041 (16) - 0000000000875095 [10:39:41]1040 (4) - 34594 [10:39:41]1012 (4) - 22.06.2024 04:18 [10:39:41]1206 (1) - 0 [10:39:41]OFD Sender: Remove packet 34594 [10:39:41]ProducePacketName [10:39:41]name=ofd_packets/00034594 [10:39:41]NVStorageDeleteData [10:39:41]OFD Sender: No OFD packet to send [10:39:41]*** Cut start [10:39:41]*** Partial cut [10:39:41]*** CUTSNS_PIN = 1 [10:39:41]*** CUTSNS_PIN = 0 [10:39:42]*** Brake cut motor [10:39:42]Read from MH i2c: 01 [10:39:42]MH_I2C_Read... [10:39:42]*** Stop cut motor [10:39:42]*** Cut end [10:39:42]Read from MH i2c: 01 07 00 [10:39:42]MH_I2C_Read... [10:39:42]Read from MH i2c: 01 07 00 86 15 00 00 00 00 00 FF 0F B0 [10:39:42]process_action close_receipt done [10:39:42]requested_data is exist [10:39:42]produce_requested_data [10:39:42]requested_item fm.sn is exist - process it [10:39:42]wFMCommunicate request_size=4 [10:39:42]MH_SAM_APDU [10:39:42]CAPDU: 80 11 00 00 [10:39:42]Write to MH i2c: E2 08 00 87 15 80 11 00 00 00 00 00 00 16 [10:39:42]Write i2c OK [10:39:42]MH_I2C_Read... [10:39:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:39:42]Read from MH i2c: E2 [10:39:42]MH_I2C_Read... [10:39:42]Read from MH i2c: E2 17 00 [10:39:42]MH_I2C_Read... [10:39:42]Read from MH i2c: E2 17 00 87 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 6B [10:39:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [10:39:42]wFMCommunicate OK [10:39:42]requested_item fd.num is exist - process it [10:39:42]SAM_PROTO_GetFieldsCounters [10:39:42]wFMCommunicate request_size=4 [10:39:42]MH_SAM_APDU [10:39:42]CAPDU: 80 13 00 00 [10:39:42]Write to MH i2c: E2 08 00 88 15 80 13 00 00 00 00 00 00 19 [10:39:42]Write i2c OK [10:39:42]MH_I2C_Read... [10:39:42]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:39:42]Read from MH i2c: E2 [10:39:42]MH_I2C_Read... [10:39:42]Read from MH i2c: E2 62 00 [10:39:42]MH_I2C_Read... [10:39:42]Read from MH i2c: E2 62 00 88 15 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 22 87 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 70 [10:39:42]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 22 87 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:39:42]wFMCommunicate OK [10:39:42]SAM_PROTO_GetFieldsCounters done [10:39:42]requested_item shift.num is exist - process it [10:39:42]requested_item shift.opened is exist - process it [10:39:42]req_shift_opened [10:39:42]FM_GetShiftState [10:39:42]SAM_PROTO_GetShiftState [10:39:42]wFMCommunicate request_size=4 [10:39:42]MH_SAM_APDU [10:39:42]CAPDU: 80 13 01 00 [10:39:42]Write to MH i2c: E2 08 00 89 15 80 13 01 00 00 00 00 00 1B [10:39:42]Write i2c OK [10:39:42]MH_I2C_Read... [10:39:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:39:42]Read from MH i2c: E2 [10:39:42]MH_I2C_Read... [10:39:42]Read from MH i2c: E2 0E 00 [10:39:42]MH_I2C_Read... [10:39:42]Read from MH i2c: E2 0E 00 89 15 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 D5 [10:39:42]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [10:39:42]wFMCommunicate OK [10:39:42]SAM_PROTO_GetShiftState done [10:39:42]FM_GetShiftState done [10:39:42]req_shift_opened done [10:39:42]requested_item shift.open_date is exist - process it [10:39:42]req_shift_open_date [10:39:42]req_shift_open_date done [10:39:42]produce_requested_data done [10:39:42]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34594,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120} [10:39:42]process_action_free close_receipt [10:39:42]json_value_free [10:39:42]json_value_free done [10:39:42]process_json_proto returns [10:39:42]Send response to host [10:39:42]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34594,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120}}} [10:39:42]free response buf [10:39:42]execute_script done [10:39:42]execute_script returns [10:39:42]free content buf [10:39:42]Sock 9.Close socket [10:39:42]Sock 9.Thread stoped [10:39:46]OFD Sender: No OFD packet to send [10:39:51]OFD Sender: No OFD packet to send [10:39:56]OFD Sender: No OFD packet to send [10:40:01]OFD Sender: No OFD packet to send [10:40:06]OFD Sender: No OFD packet to send [10:40:11]OFD Sender: No OFD packet to send [10:40:16]OFD Sender: No OFD packet to send [10:40:21]OFD Sender: No OFD packet to send [10:40:26]OFD Sender: No OFD packet to send [10:40:31]OFD Sender: No OFD packet to send [10:40:36]OFD Sender: No OFD packet to send [10:40:41]OFD Sender: No OFD packet to send [10:40:46]OFD Sender: No OFD packet to send [10:40:51]OFD Sender: No OFD packet to send [10:40:56]OFD Sender: No OFD packet to send [10:41:01]OFD Sender: No OFD packet to send [10:41:06]OFD Sender: No OFD packet to send [10:41:11]OFD Sender: No OFD packet to send [10:41:16]OFD Sender: No OFD packet to send [10:41:21]OFD Sender: No OFD packet to send [10:41:26]OFD Sender: No OFD packet to send [10:41:31]OFD Sender: No OFD packet to send [10:41:36]OFD Sender: No OFD packet to send [10:41:41]OFD Sender: No OFD packet to send [10:41:46]OFD Sender: No OFD packet to send [10:41:51]OFD Sender: No OFD packet to send [10:41:56]OFD Sender: No OFD packet to send [10:42:01]OFD Sender: No OFD packet to send [10:42:06]OFD Sender: No OFD packet to send [10:42:11]OFD Sender: No OFD packet to send [10:42:16]OFD Sender: No OFD packet to send [10:42:21]OFD Sender: No OFD packet to send [10:42:26]OFD Sender: No OFD packet to send [10:42:31]OFD Sender: No OFD packet to send [10:42:36]OFD Sender: No OFD packet to send [10:42:41]OFD Sender: No OFD packet to send [10:42:46]OFD Sender: No OFD packet to send [10:42:51]OFD Sender: No OFD packet to send [10:42:56]OFD Sender: No OFD packet to send [10:43:01]OFD Sender: No OFD packet to send [10:43:06]OFD Sender: No OFD packet to send [10:43:11]OFD Sender: No OFD packet to send [10:43:16]OFD Sender: No OFD packet to send [10:43:21]OFD Sender: No OFD packet to send [10:43:26]OFD Sender: No OFD packet to send [10:43:31]OFD Sender: No OFD packet to send [10:43:36]OFD Sender: No OFD packet to send [10:43:41]OFD Sender: No OFD packet to send [10:43:46]OFD Sender: No OFD packet to send [10:43:51]OFD Sender: No OFD packet to send [10:43:56]OFD Sender: No OFD packet to send [10:44:01]OFD Sender: No OFD packet to send [10:44:06]OFD Sender: No OFD packet to send [10:44:11]OFD Sender: No OFD packet to send [10:44:16]OFD Sender: No OFD packet to send [10:44:21]OFD Sender: No OFD packet to send [10:44:26]OFD Sender: No OFD packet to send [10:44:31]OFD Sender: No OFD packet to send [10:44:36]OFD Sender: No OFD packet to send [10:44:41]OFD Sender: No OFD packet to send [10:44:46]OFD Sender: No OFD packet to send [10:44:51]OFD Sender: No OFD packet to send [10:44:56]OFD Sender: No OFD packet to send [10:45:01]OFD Sender: No OFD packet to send [10:45:06]OFD Sender: No OFD packet to send [10:45:11]OFD Sender: No OFD packet to send [10:45:16]OFD Sender: No OFD packet to send [10:45:21]OFD Sender: No OFD packet to send [10:45:26]OFD Sender: No OFD packet to send [10:45:31]OFD Sender: No OFD packet to send [10:45:36]OFD Sender: No OFD packet to send [10:45:41]OFD Sender: No OFD packet to send [10:45:46]OFD Sender: No OFD packet to send [10:45:51]OFD Sender: No OFD packet to send [10:45:56]OFD Sender: No OFD packet to send [10:46:01]OFD Sender: No OFD packet to send [10:46:06]OFD Sender: No OFD packet to send [10:46:11]OFD Sender: No OFD packet to send [10:46:16]OFD Sender: No OFD packet to send [10:46:21]OFD Sender: No OFD packet to send [10:46:26]OFD Sender: No OFD packet to send [10:46:31]OFD Sender: No OFD packet to send [10:46:36]OFD Sender: No OFD packet to send [10:46:41]OFD Sender: No OFD packet to send [10:46:46]OFD Sender: No OFD packet to send [10:46:51]OFD Sender: No OFD packet to send [10:46:56]OFD Sender: No OFD packet to send [10:47:01]OFD Sender: No OFD packet to send [10:47:06]OFD Sender: No OFD packet to send [10:47:11]OFD Sender: No OFD packet to send [10:47:16]OFD Sender: No OFD packet to send [10:47:21]OFD Sender: No OFD packet to send [10:47:27]OFD Sender: No OFD packet to send [10:47:32]OFD Sender: No OFD packet to send [10:47:37]OFD Sender: No OFD packet to send [10:47:42]OFD Sender: No OFD packet to send [10:47:47]OFD Sender: No OFD packet to send [10:47:52]OFD Sender: No OFD packet to send [10:47:57]OFD Sender: No OFD packet to send [10:48:02]OFD Sender: No OFD packet to send [10:48:07]OFD Sender: No OFD packet to send [10:48:12]OFD Sender: No OFD packet to send [10:48:17]OFD Sender: No OFD packet to send [10:48:22]OFD Sender: No OFD packet to send [10:48:27]OFD Sender: No OFD packet to send [10:48:32]OFD Sender: No OFD packet to send [10:48:37]OFD Sender: No OFD packet to send [10:48:42]OFD Sender: No OFD packet to send [10:48:47]OFD Sender: No OFD packet to send [10:48:52]OFD Sender: No OFD packet to send [10:48:57]OFD Sender: No OFD packet to send [10:49:02]OFD Sender: No OFD packet to send [10:49:07]OFD Sender: No OFD packet to send [10:49:12]OFD Sender: No OFD packet to send [10:49:17]OFD Sender: No OFD packet to send [10:49:22]OFD Sender: No OFD packet to send [10:49:27]OFD Sender: No OFD packet to send [10:49:32]OFD Sender: No OFD packet to send [10:49:37]OFD Sender: No OFD packet to send [10:49:42]OFD Sender: No OFD packet to send [10:49:47]OFD Sender: No OFD packet to send [10:49:52]OFD Sender: No OFD packet to send [10:49:57]OFD Sender: No OFD packet to send [10:50:02]OFD Sender: No OFD packet to send [10:50:07]OFD Sender: No OFD packet to send [10:50:12]OFD Sender: No OFD packet to send [10:50:17]OFD Sender: No OFD packet to send [10:50:22]OFD Sender: No OFD packet to send [10:50:27]OFD Sender: No OFD packet to send [10:50:32]OFD Sender: No OFD packet to send [10:50:34]accept exits with 7 [10:50:34]New connection [10:50:34]New thread 3067473252 created [10:50:34]Thread 3067616612 joined [10:50:34]Waiting for new connection... [10:50:34] Sock 7.Parse request [10:50:34]Sock 7.Check first char [10:50:34]Sock 7.First char is OK [10:50:34]request: POST /json_proto HTTP/1.0 [10:50:34]Method: POST [10:50:34]URL: /json_proto [10:50:34]Method is POST - this is cgi request [10:50:34]url: /json_proto [10:50:34]query_string will be loaded in cgi processing [10:50:34]execute_cgi json_proto POST (null) [10:50:34]execute_cgi path=json_proto method=POST [10:50:34]POST find Content-Length [10:50:34]Host: 172.17.38.134:8080 [10:50:34]Content-Length: 1076 [10:50:34]Content-Type: application/json [10:50:34] [10:50:34]POST finish read [10:50:34]Found Content-Length = 1076 [10:50:34]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184352", "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": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 140.00, "quantity" : 3.000, "sum" : 420.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48741156", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B LD Blue", "price" : 130.00, "quantity" : 2.000, "sum" : 260.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 760.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:50:34]execute_script... [10:50:34]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184352", "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": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 140.00, "quantity" : 3.000, "sum" : 420.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48741156", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B LD Blue", "price" : 130.00, "quantity" : 2.000, "sum" : 260.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 760.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:50:34]POST & json_proto [10:50:34]process_json_proto [10:50:34]json parsed OK: [10:50:34]protocol is kg_v1.0 [10:50:34]action value=close_receipt [10:50:34]process_action close_receipt [10:50:34]cmd_close_receipt [10:50:34]MH_GetDate [10:50:34]Write to MH i2c: F0 00 00 8A 15 8E [10:50:34]Write i2c OK [10:50:34]MH_I2C_Read... [10:50:34]Read from MH i2c: F0 [10:50:34]MH_I2C_Read... [10:50:34]Read from MH i2c: F0 09 00 [10:50:34]MH_I2C_Read... [10:50:34]Read from MH i2c: F0 09 00 8A 15 00 7F AC 76 66 13 9C 7C 64 2D [10:50:34]GetLastDocTimeStamp 1719052783 [10:50:34]current date 1719053439 [10:50:34]FM_GetShiftState [10:50:34]SAM_PROTO_GetShiftState [10:50:34]wFMCommunicate request_size=4 [10:50:34]MH_SAM_APDU [10:50:34]CAPDU: 80 13 01 00 [10:50:34]Write to MH i2c: E2 08 00 8B 15 80 13 01 00 00 00 00 00 1D [10:50:34]Write i2c OK [10:50:34]MH_I2C_Read... [10:50:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:50:34]Read from MH i2c: E2 [10:50:34]MH_I2C_Read... [10:50:34]Read from MH i2c: E2 0E 00 [10:50:34]MH_I2C_Read... [10:50:34]Read from MH i2c: E2 0E 00 8B 15 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 D7 [10:50:34]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [10:50:34]wFMCommunicate OK [10:50:34]SAM_PROTO_GetShiftState done [10:50:34]FM_GetShiftState done [10:50:34]opened in 1719016120 [10:50:34]opened+sec_in_day 1719102520 [10:50:34]quantity*price = 8000 [10:50:34]sum+1 = 8001 [10:50:34]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 48743570 Сигареты Winston XStyle Blue 3.000 * 140.00 = 420.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 48741156 Сигареты LD Blue 2.000 * 130.00 = 260.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 760.00 НСП 1% : 6.73 НДС 12% : 80.71 Наличными: 760.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 21 22.06.2024 10:50 Смена: 327 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34595 ФПД: 63680328726103 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T105039&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34595&fm=63680328726103&tin=02508201610067®Number=0000000000092786&sum=76000 0 [10:50:35]StoreToDocumentArchive [10:50:35]shift 327 fd 34595 [10:50:35]save to /storage/0327/doc_00034595 [10:50:35]save last doc name /storage/0327/doc_00034595 to /storage/kkm_last_doc_name [10:50:35]save OK [10:50:35]Clear old archive folders... [10:50:35]ProcessDocumentItem done err = 0, tmpTLVsize=462 [10:50:35]tlvbuf is 015B5ED0 [10:50:35]SAM_PROTO_ClearQueue [10:50:35]wFMCommunicate request_size=4 [10:50:35]MH_SAM_APDU [10:50:35]CAPDU: 80 09 00 00 [10:50:35]Write to MH i2c: E2 08 00 98 15 80 09 00 00 00 00 00 00 1F [10:50:35]Write i2c OK [10:50:35]MH_I2C_Read... [10:50:35]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:50:35]Read from MH i2c: E2 [10:50:35]MH_I2C_Read... [10:50:35]Read from MH i2c: E2 03 00 [10:50:35]MH_I2C_Read... [10:50:35]Read from MH i2c: E2 03 00 98 15 00 90 00 21 [10:50:35]RAPDU: 90 00 [10:50:35]wFMCommunicate OK [10:50:35]SAM_PROTO_ClearQueue done [10:50:35]KKMCreateOFDPacket [10:50:35]OFDProtocolAddRootSTLVToBuf [10:50:35]FM_MakeSignedData [10:50:35]FM_MakeSignedData [10:50:35]SAM_PROTO_SignData [10:50:35]wFMCommunicate request_size=4 [10:50:35]MH_SAM_APDU [10:50:35]CAPDU: 80 0D 01 02 [10:50:35]Write to MH i2c: E2 08 00 99 15 80 0D 01 02 00 00 00 00 27 [10:50:35]Write i2c OK [10:50:35]MH_I2C_Read... [10:50:35]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:50:35]Read from MH i2c: E2 [10:50:35]MH_I2C_Read... [10:50:35]Read from MH i2c: E2 03 00 [10:50:35]MH_I2C_Read... [10:50:35]Read from MH i2c: E2 03 00 99 15 00 90 00 22 [10:50:35]RAPDU: 90 00 [10:50:35]wFMCommunicate OK [10:50:35]wFMCommunicate request_size=255 [10:50:35]MH_SAM_APDU [10:50:35]CAPDU: 80 0D 02 02 FA 03 00 CE 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 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 B8 0B 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 10 A4 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 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 [10:50:35]Write to MH i2c: E2 02 01 9A 15 80 0D 02 02 FA 00 03 00 CE 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 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 B8 0B 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 10 A4 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 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 00 00 E7 [10:50:35]Write i2c OK [10:50:35]MH_I2C_Read... [10:50:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:50:36]Read from MH i2c: E2 [10:50:36]MH_I2C_Read... [10:50:36]Read from MH i2c: E2 03 00 [10:50:36]MH_I2C_Read... [10:50:36]Read from MH i2c: E2 03 00 9A 15 00 90 00 23 [10:50:36]RAPDU: 90 00 [10:50:36]wFMCommunicate OK [10:50:36]wFMCommunicate request_size=221 [10:50:36]MH_SAM_APDU [10:50:36]CAPDU: 80 0D 02 02 D8 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 28 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A1 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 1F 00 00 00 00 07 04 06 00 E0 28 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 7F AC 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 23 87 00 00 35 04 06 00 39 EA BB 5F 76 57 [10:50:36]Write to MH i2c: E2 E0 00 9B 15 80 0D 02 02 D8 00 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 28 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A1 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 1F 00 00 00 00 07 04 06 00 E0 28 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 7F AC 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 23 87 00 00 35 04 06 00 39 EA BB 5F 76 57 00 00 05 [10:50:36]Write i2c OK [10:50:36]MH_I2C_Read... [10:50:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:50:36]Read from MH i2c: E2 [10:50:36]MH_I2C_Read... [10:50:36]Read from MH i2c: E2 03 00 [10:50:36]MH_I2C_Read... [10:50:36]Read from MH i2c: E2 03 00 9B 15 00 90 00 24 [10:50:36]RAPDU: 90 00 [10:50:36]wFMCommunicate OK [10:50:36]wFMCommunicate request_size=4 [10:50:36]MH_SAM_APDU [10:50:36]CAPDU: 80 0D 03 02 [10:50:36]Write to MH i2c: E2 08 00 9C 15 80 0D 03 02 00 00 00 00 2C [10:50:36]Write i2c OK [10:50:36]MH_I2C_Read... [10:50:36]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:50:36]Read from MH i2c: E2 [10:50:36]MH_I2C_Read... [10:50:36]Read from MH i2c: E2 0B 00 [10:50:36]MH_I2C_Read... [10:50:36]Read from MH i2c: E2 0B 00 9C 15 00 21 E7 A7 85 88 FD F6 5C 90 00 38 [10:50:36]RAPDU: 21 E7 A7 85 88 FD F6 5C 90 00 [10:50:36]wFMCommunicate OK [10:50:36]SAM_PROTO_SignData done [10:50:36]FM_MakeSignedData done [10:50:36]CreateOFDProtocolMessage [10:50:36]wFMCommunicate request_size=4 [10:50:36]MH_SAM_APDU [10:50:36]CAPDU: 80 11 00 00 [10:50:36]Write to MH i2c: E2 08 00 9D 15 80 11 00 00 00 00 00 00 2C [10:50:36]Write i2c OK [10:50:36]MH_I2C_Read... [10:50:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:50:36]Read from MH i2c: E2 [10:50:36]MH_I2C_Read... [10:50:36]Read from MH i2c: E2 17 00 [10:50:36]MH_I2C_Read... [10:50:36]Read from MH i2c: E2 17 00 9D 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 81 [10:50:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [10:50:36]wFMCommunicate OK [10:50:36]CreateOFDProtocolMessage done [10:50:36]OFDSenderStorePacket 34595 [10:50:36]StoreOFDPacket docnum=34595 [10:50:36]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 E2 01 00 00 7D E8 DA 01 0D AB 5A 03 01 00 03 00 CE 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 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 B8 0B 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 10 A4 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 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 D0 07 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 28 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A1 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 1F 00 00 00 00 07 04 06 00 E0 28 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 7F AC 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 23 87 00 00 35 04 06 00 39 EA BB 5F 76 57 21 E7 A7 85 88 FD F6 5C [10:50:36]CheckFolder [10:50:36]dirname=/storage/ofd_packets [10:50:36]CheckFolder done [10:50:36]ProducePacketName [10:50:36]name=ofd_packets/00034595 [10:50:36]NVStorageSaveData ofd_packets/00034595 [10:50:36]File name is /storage/ofd_packets/00034595 [10:50:36]Write 512 bytes [10:50:36]NVStorageSaveData done [10:50:36]OFDSenderStorePacket done [10:50:36]KKMCreateOFDPacket done [10:50:36]NVStorageSaveData kkm_last_timestamp [10:50:36]File name is /storage/kkm_last_timestamp [10:50:36]Write 4 bytes [10:50:36]NVStorageSaveData done [10:50:36]ExternCall_PrintAddStr [10:50:36]wPrintStart [10:50:36]Write to MH i2c: 01 00 00 9E 15 B3 [10:50:36]Write i2c OK [10:50:36]MH_I2C_Read... [10:50:36]Read from MH i2c: 01 [10:50:36]MH_I2C_Read... [10:50:36]Read from MH i2c: 01 07 00 [10:50:36]MH_I2C_Read... [10:50:36]Read from MH i2c: 01 07 00 9E 15 00 00 00 00 00 FF 0F C8 [10:50:36]RasterBufferAndPrint [10:50:36]line Счет N : (3)184352 [10:50:36]line ИНН: 02508201610067 [10:50:36]line Контрольно-Кассовый Чек [10:50:36]line ПРОДАЖА [10:50:36]line Товар: 4870001570057 [10:50:36]line Напиток Pepsi 0,5л [10:50:36]line 1.000 * 80.00 [10:50:36]line = 80.00 [10:50:36]line НДС 12% НСП 1% [10:50:36]line > о реализуемом товаре [10:50:36]line Товар: 48743570 [10:50:36]line Сигареты Winston XStyle Blue [10:50:36]line 3.000 * 140.00 [10:50:36]line = 420.00 [10:50:36]line НДС 12% НСП 1% [10:50:36]line > о реализуемом товаре [10:50:36]line Товар: 48741156 [10:50:36]line Сигареты LD Blue [10:50:36]line 2.000 * 130.00 [10:50:36]line = 260.00 [10:50:36]line НДС 12% НСП 1% [10:50:36]line > о реализуемом товаре [10:50:36]line ИТОГО: 760.00 [10:50:36]line НСП 1% : 6.73 [10:50:36]line НДС 12% : 80.71 [10:50:36]line Наличными: 760.00 [10:50:36]line Безнал.: 0.00 [10:50:36]line Место: АЗС № 120 "Партнер Нефть" [10:50:36]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [10:50:36]line СНО: Общий режим [10:50:36]line Чек 21 22.06.2024 10:50 [10:50:36]line Смена: 327 ФФД: 1.0 [10:50:36]line ЗНМ: 0300000172 [10:50:36]line РНМ: 0000000000092786 [10:50:36]line Версия ККМ: 001 [10:50:36]line ФМ: 0000000000875095 [10:50:36]line ФД: 34595 [10:50:36]line ФПД: 63680328726103 [10:50:36]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T105039&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34595&fm=63680328726103&tin=02508201610067®Number=0000000000092786&sum=76000 [10:50:36]line 0 [10:50:36]written 0, free lines is 4095 [10:50:36]OFD Sender: Processing packet 34595 [packets to send 8, broken 7] [10:50:36]ProducePacketName [10:50:36]name=ofd_packets/00034595 [10:50:36]OFD Sender: To server: pG, [10:50:36]CommunicateWithHost lk.salyk.kg:30040 [10:50:36]ConnectInit lk.salyk.kg [10:50:36]Connected sock=10 [10:50:36]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 E2 01 00 00 7D E8 DA 01 0D AB 5A 03 01 00 03 00 CE 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 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 B8 0B 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 10 A4 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 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 D0 07 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 28 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A1 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 1F 00 00 00 00 07 04 06 00 E0 28 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 7F AC 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 23 87 00 00 35 04 06 00 39 EA BB 5F 76 57 21 E7 A7 85 88 FD F6 5C [10:50:36]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 59 9C 47 00 68 B9 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 23 87 00 00 F4 03 04 00 43 53 76 66 B6 04 01 00 00 24 F3 0C 7E 70 C5 B7 1B [10:50:36]CommunicateWithHost err = 0 [10:50:36]CheckOFDResponse [10:50:36]1017 (14) - 77093643461234 [10:50:36]1041 (16) - 0000000000875095 [10:50:36]1040 (4) - 34595 [10:50:36]1012 (4) - 22.06.2024 04:29 [10:50:36]1206 (1) - 0 [10:50:36]OFD Sender: Remove packet 34595 [10:50:36]ProducePacketName [10:50:36]name=ofd_packets/00034595 [10:50:36]NVStorageDeleteData [10:50:36]Write to MH i2c: 01 00 00 D2 15 E7 [10:50:36]Write i2c OK [10:50:36]MH_I2C_Read... [10:50:36]Read from MH i2c: 01 [10:50:36]MH_I2C_Read... [10:50:36]Read from MH i2c: 01 07 00 [10:50:36]MH_I2C_Read... [10:50:36]Read from MH i2c: 01 07 00 D2 15 00 00 00 00 00 39 0C 33 [10:50:36]RasterBufferAndPrint [10:50:36]line [10:50:36]line [10:50:36]line [10:50:36]line [10:50:36]line [10:50:36]written 0, free lines is 3138 [10:50:36]MH_Cut [10:50:36]Write to MH i2c: D1 01 00 D9 15 01 C0 [10:50:36]Write i2c OK [10:50:36]MH_I2C_Read... [10:50:36]Read from MH i2c: D1 [10:50:36]MH_I2C_Read... [10:50:36]Read from MH i2c: D1 01 00 [10:50:36]MH_I2C_Read... [10:50:36]Read from MH i2c: D1 01 00 D9 15 00 BF [10:50:36]Write to MH i2c: 01 00 00 DA 15 EF [10:50:36]Write i2c OK [10:50:36]MH_I2C_Read... [10:50:37]OFD Sender: No OFD packet to send [10:50:37]*** Cut start [10:50:37]*** Partial cut [10:50:37]*** CUTSNS_PIN = 1 [10:50:37]*** CUTSNS_PIN = 0 [10:50:38]*** Brake cut motor [10:50:38]Read from MH i2c: 01 [10:50:38]MH_I2C_Read... [10:50:38]*** Stop cut motor [10:50:38]*** Cut end [10:50:38]Read from MH i2c: 01 07 00 [10:50:38]MH_I2C_Read... [10:50:38]Read from MH i2c: 01 07 00 DA 15 00 00 00 00 00 FF 0F 04 [10:50:38]process_action close_receipt done [10:50:38]requested_data is exist [10:50:38]produce_requested_data [10:50:38]requested_item fm.sn is exist - process it [10:50:38]wFMCommunicate request_size=4 [10:50:38]MH_SAM_APDU [10:50:38]CAPDU: 80 11 00 00 [10:50:38]Write to MH i2c: E2 08 00 DB 15 80 11 00 00 00 00 00 00 6A [10:50:38]Write i2c OK [10:50:38]MH_I2C_Read... [10:50:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:50:38]Read from MH i2c: E2 [10:50:38]MH_I2C_Read... [10:50:38]Read from MH i2c: E2 17 00 [10:50:38]MH_I2C_Read... [10:50:38]Read from MH i2c: E2 17 00 DB 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 BF [10:50:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [10:50:38]wFMCommunicate OK [10:50:38]requested_item fd.num is exist - process it [10:50:38]SAM_PROTO_GetFieldsCounters [10:50:38]wFMCommunicate request_size=4 [10:50:38]MH_SAM_APDU [10:50:38]CAPDU: 80 13 00 00 [10:50:38]Write to MH i2c: E2 08 00 DC 15 80 13 00 00 00 00 00 00 6D [10:50:38]Write i2c OK [10:50:38]MH_I2C_Read... [10:50:38]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:50:38]Read from MH i2c: E2 [10:50:38]MH_I2C_Read... [10:50:38]Read from MH i2c: E2 62 00 [10:50:38]MH_I2C_Read... [10:50:38]Read from MH i2c: E2 62 00 DC 15 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 23 87 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 C8 [10:50:38]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 23 87 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 [10:50:38]wFMCommunicate OK [10:50:38]SAM_PROTO_GetFieldsCounters done [10:50:38]requested_item shift.num is exist - process it [10:50:38]requested_item shift.opened is exist - process it [10:50:38]req_shift_opened [10:50:38]FM_GetShiftState [10:50:38]SAM_PROTO_GetShiftState [10:50:38]wFMCommunicate request_size=4 [10:50:38]MH_SAM_APDU [10:50:38]CAPDU: 80 13 01 00 [10:50:38]Write to MH i2c: E2 08 00 DD 15 80 13 01 00 00 00 00 00 6F [10:50:38]Write i2c OK [10:50:38]MH_I2C_Read... [10:50:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:50:38]Read from MH i2c: E2 [10:50:38]MH_I2C_Read... [10:50:38]Read from MH i2c: E2 0E 00 [10:50:38]MH_I2C_Read... [10:50:38]Read from MH i2c: E2 0E 00 DD 15 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 29 [10:50:38]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [10:50:38]wFMCommunicate OK [10:50:38]SAM_PROTO_GetShiftState done [10:50:38]FM_GetShiftState done [10:50:38]req_shift_opened done [10:50:38]requested_item shift.open_date is exist - process it [10:50:38]req_shift_open_date [10:50:38]req_shift_open_date done [10:50:38]produce_requested_data done [10:50:38]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34595,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120} [10:50:38]process_action_free close_receipt [10:50:38]json_value_free [10:50:38]json_value_free done [10:50:38]process_json_proto returns [10:50:38]Send response to host [10:50:38]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34595,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120}}} [10:50:38]free response buf [10:50:38]execute_script done [10:50:38]execute_script returns [10:50:38]free content buf [10:50:38]Sock 7.Close socket [10:50:38]Sock 7.Thread stoped [10:50:42]OFD Sender: No OFD packet to send [10:50:47]OFD Sender: No OFD packet to send [10:50:52]OFD Sender: No OFD packet to send [10:50:57]OFD Sender: No OFD packet to send [10:51:02]OFD Sender: No OFD packet to send [10:51:07]OFD Sender: No OFD packet to send [10:51:12]OFD Sender: No OFD packet to send [10:51:17]OFD Sender: No OFD packet to send [10:51:22]OFD Sender: No OFD packet to send [10:51:27]OFD Sender: No OFD packet to send [10:51:32]OFD Sender: No OFD packet to send [10:51:37]OFD Sender: No OFD packet to send [10:51:42]OFD Sender: No OFD packet to send [10:51:47]OFD Sender: No OFD packet to send [10:51:52]OFD Sender: No OFD packet to send [10:51:57]OFD Sender: No OFD packet to send [10:52:02]OFD Sender: No OFD packet to send [10:52:07]OFD Sender: No OFD packet to send [10:52:12]OFD Sender: No OFD packet to send [10:52:17]OFD Sender: No OFD packet to send [10:52:22]OFD Sender: No OFD packet to send [10:52:27]OFD Sender: No OFD packet to send [10:52:32]OFD Sender: No OFD packet to send [10:52:37]OFD Sender: No OFD packet to send [10:52:42]OFD Sender: No OFD packet to send [10:52:47]OFD Sender: No OFD packet to send [10:52:52]OFD Sender: No OFD packet to send [10:52:57]OFD Sender: No OFD packet to send [10:53:02]OFD Sender: No OFD packet to send [10:53:07]OFD Sender: No OFD packet to send [10:53:12]OFD Sender: No OFD packet to send [10:53:17]OFD Sender: No OFD packet to send [10:53:22]OFD Sender: No OFD packet to send [10:53:27]OFD Sender: No OFD packet to send [10:53:32]OFD Sender: No OFD packet to send [10:53:37]OFD Sender: No OFD packet to send [10:53:42]OFD Sender: No OFD packet to send [10:53:47]OFD Sender: No OFD packet to send [10:53:52]OFD Sender: No OFD packet to send [10:53:57]OFD Sender: No OFD packet to send [10:54:02]OFD Sender: No OFD packet to send [10:54:07]OFD Sender: No OFD packet to send [10:54:12]OFD Sender: No OFD packet to send [10:54:17]OFD Sender: No OFD packet to send [10:54:22]OFD Sender: No OFD packet to send [10:54:27]OFD Sender: No OFD packet to send [10:54:32]OFD Sender: No OFD packet to send [10:54:37]OFD Sender: No OFD packet to send [10:54:42]OFD Sender: No OFD packet to send [10:54:47]OFD Sender: No OFD packet to send [10:54:52]OFD Sender: No OFD packet to send [10:54:57]OFD Sender: No OFD packet to send [10:55:02]OFD Sender: No OFD packet to send [10:55:07]OFD Sender: No OFD packet to send [10:55:12]OFD Sender: No OFD packet to send [10:55:17]OFD Sender: No OFD packet to send [10:55:22]OFD Sender: No OFD packet to send [10:55:27]OFD Sender: No OFD packet to send [10:55:32]OFD Sender: No OFD packet to send [10:55:37]OFD Sender: No OFD packet to send [10:55:42]OFD Sender: No OFD packet to send [10:55:47]OFD Sender: No OFD packet to send [10:55:52]OFD Sender: No OFD packet to send [10:55:57]OFD Sender: No OFD packet to send [10:56:02]OFD Sender: No OFD packet to send [10:56:07]OFD Sender: No OFD packet to send [10:56:12]OFD Sender: No OFD packet to send [10:56:17]OFD Sender: No OFD packet to send [10:56:22]OFD Sender: No OFD packet to send [10:56:27]OFD Sender: No OFD packet to send [10:56:32]OFD Sender: No OFD packet to send [10:56:37]OFD Sender: No OFD packet to send [10:56:42]OFD Sender: No OFD packet to send [10:56:47]OFD Sender: No OFD packet to send [10:56:52]OFD Sender: No OFD packet to send [10:56:57]OFD Sender: No OFD packet to send [10:57:02]OFD Sender: No OFD packet to send [10:57:07]OFD Sender: No OFD packet to send [10:57:12]OFD Sender: No OFD packet to send [10:57:17]OFD Sender: No OFD packet to send [10:57:22]OFD Sender: No OFD packet to send [10:57:27]OFD Sender: No OFD packet to send [10:57:32]OFD Sender: No OFD packet to send [10:57:37]OFD Sender: No OFD packet to send [10:57:42]OFD Sender: No OFD packet to send [10:57:47]OFD Sender: No OFD packet to send [10:57:52]OFD Sender: No OFD packet to send [10:57:57]OFD Sender: No OFD packet to send [10:58:02]OFD Sender: No OFD packet to send [10:58:07]OFD Sender: No OFD packet to send [10:58:12]OFD Sender: No OFD packet to send [10:58:17]OFD Sender: No OFD packet to send [10:58:22]OFD Sender: No OFD packet to send [10:58:27]OFD Sender: No OFD packet to send [10:58:32]OFD Sender: No OFD packet to send [10:58:37]OFD Sender: No OFD packet to send [10:58:42]OFD Sender: No OFD packet to send [10:58:47]OFD Sender: No OFD packet to send [10:58:52]OFD Sender: No OFD packet to send [10:58:57]OFD Sender: No OFD packet to send [10:59:02]OFD Sender: No OFD packet to send [10:59:07]OFD Sender: No OFD packet to send [10:59:12]OFD Sender: No OFD packet to send [10:59:17]OFD Sender: No OFD packet to send [10:59:22]OFD Sender: No OFD packet to send [10:59:27]OFD Sender: No OFD packet to send [10:59:32]OFD Sender: No OFD packet to send [10:59:37]OFD Sender: No OFD packet to send [10:59:42]OFD Sender: No OFD packet to send [10:59:47]OFD Sender: No OFD packet to send [10:59:52]OFD Sender: No OFD packet to send [10:59:57]OFD Sender: No OFD packet to send [11:00:02]OFD Sender: No OFD packet to send [11:00:07]OFD Sender: No OFD packet to send [11:00:12]OFD Sender: No OFD packet to send [11:00:17]OFD Sender: No OFD packet to send [11:00:22]OFD Sender: No OFD packet to send [11:00:27]OFD Sender: No OFD packet to send [11:00:32]OFD Sender: No OFD packet to send [11:00:37]OFD Sender: No OFD packet to send [11:00:42]OFD Sender: No OFD packet to send [11:00:47]OFD Sender: No OFD packet to send [11:00:52]OFD Sender: No OFD packet to send [11:00:57]OFD Sender: No OFD packet to send [11:01:02]OFD Sender: No OFD packet to send [11:01:07]OFD Sender: No OFD packet to send [11:01:12]OFD Sender: No OFD packet to send [11:01:17]OFD Sender: No OFD packet to send [11:01:22]OFD Sender: No OFD packet to send [11:01:27]OFD Sender: No OFD packet to send [11:01:32]OFD Sender: No OFD packet to send [11:01:37]OFD Sender: No OFD packet to send [11:01:42]OFD Sender: No OFD packet to send [11:01:47]OFD Sender: No OFD packet to send [11:01:52]OFD Sender: No OFD packet to send [11:01:57]OFD Sender: No OFD packet to send [11:02:02]OFD Sender: No OFD packet to send [11:02:07]OFD Sender: No OFD packet to send [11:02:12]OFD Sender: No OFD packet to send [11:02:17]OFD Sender: No OFD packet to send [11:02:22]OFD Sender: No OFD packet to send [11:02:27]OFD Sender: No OFD packet to send [11:02:32]OFD Sender: No OFD packet to send [11:02:37]OFD Sender: No OFD packet to send [11:02:42]OFD Sender: No OFD packet to send [11:02:47]OFD Sender: No OFD packet to send [11:02:52]OFD Sender: No OFD packet to send [11:02:57]OFD Sender: No OFD packet to send [11:03:02]OFD Sender: No OFD packet to send [11:03:07]OFD Sender: No OFD packet to send [11:03:12]OFD Sender: No OFD packet to send [11:03:17]OFD Sender: No OFD packet to send [11:03:22]OFD Sender: No OFD packet to send [11:03:27]OFD Sender: No OFD packet to send [11:03:32]OFD Sender: No OFD packet to send [11:03:37]OFD Sender: No OFD packet to send [11:03:42]OFD Sender: No OFD packet to send [11:03:47]OFD Sender: No OFD packet to send [11:03:52]OFD Sender: No OFD packet to send [11:03:57]OFD Sender: No OFD packet to send [11:04:02]OFD Sender: No OFD packet to send [11:04:08]OFD Sender: No OFD packet to send [11:04:13]OFD Sender: No OFD packet to send [11:04:18]OFD Sender: No OFD packet to send [11:04:23]OFD Sender: No OFD packet to send [11:04:28]OFD Sender: No OFD packet to send [11:04:33]OFD Sender: No OFD packet to send [11:04:38]OFD Sender: No OFD packet to send [11:04:43]OFD Sender: No OFD packet to send [11:04:48]OFD Sender: No OFD packet to send [11:04:53]OFD Sender: No OFD packet to send [11:04:58]OFD Sender: No OFD packet to send [11:05:03]OFD Sender: No OFD packet to send [11:05:08]OFD Sender: No OFD packet to send [11:05:13]OFD Sender: No OFD packet to send [11:05:18]OFD Sender: No OFD packet to send [11:05:23]OFD Sender: No OFD packet to send [11:05:28]OFD Sender: No OFD packet to send [11:05:33]OFD Sender: No OFD packet to send [11:05:38]OFD Sender: No OFD packet to send [11:05:43]OFD Sender: No OFD packet to send [11:05:48]OFD Sender: No OFD packet to send [11:05:53]OFD Sender: No OFD packet to send [11:05:58]OFD Sender: No OFD packet to send [11:06:03]OFD Sender: No OFD packet to send [11:06:08]OFD Sender: No OFD packet to send [11:06:13]OFD Sender: No OFD packet to send [11:06:18]OFD Sender: No OFD packet to send [11:06:23]OFD Sender: No OFD packet to send [11:06:28]OFD Sender: No OFD packet to send [11:06:33]OFD Sender: No OFD packet to send [11:06:38]OFD Sender: No OFD packet to send [11:06:43]OFD Sender: No OFD packet to send [11:06:48]OFD Sender: No OFD packet to send [11:06:53]OFD Sender: No OFD packet to send [11:06:58]OFD Sender: No OFD packet to send [11:07:03]OFD Sender: No OFD packet to send [11:07:08]OFD Sender: No OFD packet to send [11:07:13]OFD Sender: No OFD packet to send [11:07:18]OFD Sender: No OFD packet to send [11:07:23]OFD Sender: No OFD packet to send [11:07:28]OFD Sender: No OFD packet to send [11:07:33]OFD Sender: No OFD packet to send [11:07:38]OFD Sender: No OFD packet to send [11:07:43]OFD Sender: No OFD packet to send [11:07:48]OFD Sender: No OFD packet to send [11:07:53]OFD Sender: No OFD packet to send [11:07:58]OFD Sender: No OFD packet to send [11:08:03]OFD Sender: No OFD packet to send [11:08:08]OFD Sender: No OFD packet to send [11:08:13]OFD Sender: No OFD packet to send [11:08:18]OFD Sender: No OFD packet to send [11:08:23]OFD Sender: No OFD packet to send [11:08:28]OFD Sender: No OFD packet to send [11:08:33]OFD Sender: No OFD packet to send [11:08:38]OFD Sender: No OFD packet to send [11:08:43]OFD Sender: No OFD packet to send [11:08:48]OFD Sender: No OFD packet to send [11:08:53]OFD Sender: No OFD packet to send [11:08:58]OFD Sender: No OFD packet to send [11:09:03]OFD Sender: No OFD packet to send [11:09:08]OFD Sender: No OFD packet to send [11:09:13]OFD Sender: No OFD packet to send [11:09:18]OFD Sender: No OFD packet to send [11:09:23]OFD Sender: No OFD packet to send [11:09:28]OFD Sender: No OFD packet to send [11:09:33]OFD Sender: No OFD packet to send [11:09:38]OFD Sender: No OFD packet to send [11:09:43]OFD Sender: No OFD packet to send [11:09:48]OFD Sender: No OFD packet to send [11:09:53]OFD Sender: No OFD packet to send [11:09:58]OFD Sender: No OFD packet to send [11:10:03]OFD Sender: No OFD packet to send [11:10:08]OFD Sender: No OFD packet to send [11:10:13]OFD Sender: No OFD packet to send [11:10:18]OFD Sender: No OFD packet to send [11:10:23]OFD Sender: No OFD packet to send [11:10:28]OFD Sender: No OFD packet to send [11:10:33]OFD Sender: No OFD packet to send [11:10:38]OFD Sender: No OFD packet to send [11:10:43]OFD Sender: No OFD packet to send [11:10:48]OFD Sender: No OFD packet to send [11:10:53]OFD Sender: No OFD packet to send [11:10:58]OFD Sender: No OFD packet to send [11:11:03]OFD Sender: No OFD packet to send [11:11:08]OFD Sender: No OFD packet to send [11:11:13]OFD Sender: No OFD packet to send [11:11:18]OFD Sender: No OFD packet to send [11:11:23]OFD Sender: No OFD packet to send [11:11:28]OFD Sender: No OFD packet to send [11:11:33]OFD Sender: No OFD packet to send [11:11:38]OFD Sender: No OFD packet to send [11:11:43]OFD Sender: No OFD packet to send [11:11:48]OFD Sender: No OFD packet to send [11:11:53]OFD Sender: No OFD packet to send [11:11:58]OFD Sender: No OFD packet to send [11:12:03]OFD Sender: No OFD packet to send [11:12:08]OFD Sender: No OFD packet to send [11:12:13]OFD Sender: No OFD packet to send [11:12:18]OFD Sender: No OFD packet to send [11:12:23]OFD Sender: No OFD packet to send [11:12:28]OFD Sender: No OFD packet to send [11:12:33]OFD Sender: No OFD packet to send [11:12:38]OFD Sender: No OFD packet to send [11:12:43]OFD Sender: No OFD packet to send [11:12:48]OFD Sender: No OFD packet to send [11:12:53]OFD Sender: No OFD packet to send [11:12:58]OFD Sender: No OFD packet to send [11:13:03]OFD Sender: No OFD packet to send [11:13:08]OFD Sender: No OFD packet to send [11:13:13]OFD Sender: No OFD packet to send [11:13:18]OFD Sender: No OFD packet to send [11:13:23]OFD Sender: No OFD packet to send [11:13:28]OFD Sender: No OFD packet to send [11:13:33]OFD Sender: No OFD packet to send [11:13:38]OFD Sender: No OFD packet to send [11:13:43]OFD Sender: No OFD packet to send [11:13:48]OFD Sender: No OFD packet to send [11:13:53]OFD Sender: No OFD packet to send [11:13:58]OFD Sender: No OFD packet to send [11:14:03]OFD Sender: No OFD packet to send [11:14:08]OFD Sender: No OFD packet to send [11:14:13]OFD Sender: No OFD packet to send [11:14:18]OFD Sender: No OFD packet to send [11:14:23]OFD Sender: No OFD packet to send [11:14:28]OFD Sender: No OFD packet to send [11:14:33]OFD Sender: No OFD packet to send [11:14:38]OFD Sender: No OFD packet to send [11:14:43]OFD Sender: No OFD packet to send [11:14:48]OFD Sender: No OFD packet to send [11:14:53]OFD Sender: No OFD packet to send [11:14:58]OFD Sender: No OFD packet to send [11:15:03]OFD Sender: No OFD packet to send [11:15:08]OFD Sender: No OFD packet to send [11:15:13]OFD Sender: No OFD packet to send [11:15:18]OFD Sender: No OFD packet to send [11:15:23]OFD Sender: No OFD packet to send [11:15:28]OFD Sender: No OFD packet to send [11:15:33]OFD Sender: No OFD packet to send [11:15:38]OFD Sender: No OFD packet to send [11:15:43]OFD Sender: No OFD packet to send [11:15:48]OFD Sender: No OFD packet to send [11:15:53]OFD Sender: No OFD packet to send [11:15:58]OFD Sender: No OFD packet to send [11:16:03]OFD Sender: No OFD packet to send [11:16:08]OFD Sender: No OFD packet to send [11:16:13]OFD Sender: No OFD packet to send [11:16:18]OFD Sender: No OFD packet to send [11:16:23]OFD Sender: No OFD packet to send [11:16:28]OFD Sender: No OFD packet to send [11:16:33]OFD Sender: No OFD packet to send [11:16:38]OFD Sender: No OFD packet to send [11:16:43]OFD Sender: No OFD packet to send [11:16:48]OFD Sender: No OFD packet to send [11:16:53]OFD Sender: No OFD packet to send [11:16:58]OFD Sender: No OFD packet to send [11:17:03]OFD Sender: No OFD packet to send [11:17:08]OFD Sender: No OFD packet to send [11:17:13]OFD Sender: No OFD packet to send [11:17:18]OFD Sender: No OFD packet to send [11:17:23]OFD Sender: No OFD packet to send [11:17:28]OFD Sender: No OFD packet to send [11:17:33]OFD Sender: No OFD packet to send [11:17:38]OFD Sender: No OFD packet to send [11:17:43]OFD Sender: No OFD packet to send [11:17:48]OFD Sender: No OFD packet to send [11:17:53]OFD Sender: No OFD packet to send [11:17:58]OFD Sender: No OFD packet to send [11:18:03]OFD Sender: No OFD packet to send [11:18:08]OFD Sender: No OFD packet to send [11:18:13]OFD Sender: No OFD packet to send [11:18:18]OFD Sender: No OFD packet to send [11:18:23]OFD Sender: No OFD packet to send [11:18:28]OFD Sender: No OFD packet to send [11:18:33]OFD Sender: No OFD packet to send [11:18:38]OFD Sender: No OFD packet to send [11:18:43]OFD Sender: No OFD packet to send [11:18:48]OFD Sender: No OFD packet to send [11:18:53]OFD Sender: No OFD packet to send [11:18:58]OFD Sender: No OFD packet to send [11:19:03]OFD Sender: No OFD packet to send [11:19:08]OFD Sender: No OFD packet to send [11:19:13]OFD Sender: No OFD packet to send [11:19:18]OFD Sender: No OFD packet to send [11:19:23]OFD Sender: No OFD packet to send [11:19:28]OFD Sender: No OFD packet to send [11:19:33]OFD Sender: No OFD packet to send [11:19:38]OFD Sender: No OFD packet to send [11:19:43]OFD Sender: No OFD packet to send [11:19:48]OFD Sender: No OFD packet to send [11:19:53]OFD Sender: No OFD packet to send [11:19:58]OFD Sender: No OFD packet to send [11:20:03]OFD Sender: No OFD packet to send [11:20:08]OFD Sender: No OFD packet to send [11:20:13]OFD Sender: No OFD packet to send [11:20:18]OFD Sender: No OFD packet to send [11:20:23]OFD Sender: No OFD packet to send [11:20:28]OFD Sender: No OFD packet to send [11:20:33]OFD Sender: No OFD packet to send [11:20:38]OFD Sender: No OFD packet to send [11:20:43]OFD Sender: No OFD packet to send [11:20:48]OFD Sender: No OFD packet to send [11:20:53]OFD Sender: No OFD packet to send [11:20:58]OFD Sender: No OFD packet to send [11:21:03]OFD Sender: No OFD packet to send [11:21:08]OFD Sender: No OFD packet to send [11:21:13]OFD Sender: No OFD packet to send [11:21:18]OFD Sender: No OFD packet to send [11:21:23]OFD Sender: No OFD packet to send [11:21:28]OFD Sender: No OFD packet to send [11:21:33]OFD Sender: No OFD packet to send [11:21:38]OFD Sender: No OFD packet to send [11:21:43]OFD Sender: No OFD packet to send [11:21:48]OFD Sender: No OFD packet to send [11:21:53]OFD Sender: No OFD packet to send [11:21:58]OFD Sender: No OFD packet to send [11:22:03]OFD Sender: No OFD packet to send [11:22:08]OFD Sender: No OFD packet to send [11:22:13]OFD Sender: No OFD packet to send [11:22:18]OFD Sender: No OFD packet to send [11:22:23]OFD Sender: No OFD packet to send [11:22:28]OFD Sender: No OFD packet to send [11:22:33]OFD Sender: No OFD packet to send [11:22:38]OFD Sender: No OFD packet to send [11:22:43]OFD Sender: No OFD packet to send [11:22:48]OFD Sender: No OFD packet to send [11:22:53]OFD Sender: No OFD packet to send [11:22:58]OFD Sender: No OFD packet to send [11:23:03]OFD Sender: No OFD packet to send [11:23:08]OFD Sender: No OFD packet to send [11:23:13]OFD Sender: No OFD packet to send [11:23:18]OFD Sender: No OFD packet to send [11:23:23]OFD Sender: No OFD packet to send [11:23:28]OFD Sender: No OFD packet to send [11:23:33]OFD Sender: No OFD packet to send [11:23:38]OFD Sender: No OFD packet to send [11:23:43]OFD Sender: No OFD packet to send [11:23:48]OFD Sender: No OFD packet to send [11:23:53]OFD Sender: No OFD packet to send [11:23:58]OFD Sender: No OFD packet to send [11:24:03]OFD Sender: No OFD packet to send [11:24:08]OFD Sender: No OFD packet to send [11:24:13]OFD Sender: No OFD packet to send [11:24:18]OFD Sender: No OFD packet to send [11:24:23]OFD Sender: No OFD packet to send [11:24:28]OFD Sender: No OFD packet to send [11:24:33]OFD Sender: No OFD packet to send [11:24:38]OFD Sender: No OFD packet to send [11:24:43]OFD Sender: No OFD packet to send [11:24:48]OFD Sender: No OFD packet to send [11:24:53]OFD Sender: No OFD packet to send [11:24:58]OFD Sender: No OFD packet to send [11:25:03]OFD Sender: No OFD packet to send [11:25:09]OFD Sender: No OFD packet to send [11:25:14]OFD Sender: No OFD packet to send [11:25:19]OFD Sender: No OFD packet to send [11:25:24]OFD Sender: No OFD packet to send [11:25:29]OFD Sender: No OFD packet to send [11:25:34]OFD Sender: No OFD packet to send [11:25:39]OFD Sender: No OFD packet to send [11:25:44]OFD Sender: No OFD packet to send [11:25:49]OFD Sender: No OFD packet to send [11:25:54]OFD Sender: No OFD packet to send [11:25:59]OFD Sender: No OFD packet to send [11:26:04]OFD Sender: No OFD packet to send [11:26:09]OFD Sender: No OFD packet to send [11:26:14]OFD Sender: No OFD packet to send [11:26:19]OFD Sender: No OFD packet to send [11:26:24]OFD Sender: No OFD packet to send [11:26:29]OFD Sender: No OFD packet to send [11:26:34]OFD Sender: No OFD packet to send [11:26:39]OFD Sender: No OFD packet to send [11:26:44]OFD Sender: No OFD packet to send [11:26:49]OFD Sender: No OFD packet to send [11:26:54]OFD Sender: No OFD packet to send [11:26:59]OFD Sender: No OFD packet to send [11:27:04]OFD Sender: No OFD packet to send [11:27:09]OFD Sender: No OFD packet to send [11:27:14]OFD Sender: No OFD packet to send [11:27:19]OFD Sender: No OFD packet to send [11:27:24]OFD Sender: No OFD packet to send [11:27:29]OFD Sender: No OFD packet to send [11:27:34]OFD Sender: No OFD packet to send [11:27:39]OFD Sender: No OFD packet to send [11:27:44]OFD Sender: No OFD packet to send [11:27:49]OFD Sender: No OFD packet to send [11:27:54]OFD Sender: No OFD packet to send [11:27:59]OFD Sender: No OFD packet to send [11:28:04]OFD Sender: No OFD packet to send [11:28:09]OFD Sender: No OFD packet to send [11:28:14]OFD Sender: No OFD packet to send [11:28:19]OFD Sender: No OFD packet to send [11:28:24]OFD Sender: No OFD packet to send [11:28:29]OFD Sender: No OFD packet to send [11:28:34]OFD Sender: No OFD packet to send [11:28:39]OFD Sender: No OFD packet to send [11:28:44]OFD Sender: No OFD packet to send [11:28:49]OFD Sender: No OFD packet to send [11:28:54]OFD Sender: No OFD packet to send [11:28:59]OFD Sender: No OFD packet to send [11:29:04]OFD Sender: No OFD packet to send [11:29:09]OFD Sender: No OFD packet to send [11:29:14]OFD Sender: No OFD packet to send [11:29:19]OFD Sender: No OFD packet to send [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:24]OFD Sender: No OFD packet to send [11:45:29]OFD Sender: No OFD packet to send [11:45:34]OFD Sender: No OFD packet to send [11:45:39]OFD Sender: No OFD packet to send [11:45:44]OFD Sender: No OFD packet to send [11:45:49]OFD Sender: No OFD packet to send [11:45:54]OFD Sender: No OFD packet to send [11:45:59]OFD Sender: No OFD packet to send [11:46:04]OFD Sender: No OFD packet to send [11:46:09]OFD Sender: No OFD packet to send [11:46:14]OFD Sender: No OFD packet to send [11:46:19]OFD Sender: No OFD packet to send [11:46:24]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:48]accept exits with 9 [11:54:48]New connection [11:54:48]New thread 3067616612 created [11:54:48]Thread 3067473252 joined [11:54:48]Waiting for new connection... [11:54:48] Sock 9.Parse request [11:54:48]Sock 9.Check first char [11:54:48]Sock 9.First char is OK [11:54:48]request: POST /json_proto HTTP/1.0 [11:54:48]Method: POST [11:54:48]URL: /json_proto [11:54:48]Method is POST - this is cgi request [11:54:48]url: /json_proto [11:54:48]query_string will be loaded in cgi processing [11:54:48]execute_cgi json_proto POST (null) [11:54:48]execute_cgi path=json_proto method=POST [11:54:48]POST find Content-Length [11:54:48]Host: 172.17.38.134:8080 [11:54:48]Content-Length: 901 [11:54:48]Content-Type: application/json [11:54:48] [11:54:48]POST finish read [11:54:48]Found Content-Length = 901 [11:54:48]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184353", "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: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:54:48]execute_script... [11:54: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)184353", "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: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:54:48]POST & json_proto [11:54:48]process_json_proto [11:54:48]json parsed OK: [11:54:48]protocol is kg_v1.0 [11:54:48]action value=close_receipt [11:54:48]process_action close_receipt [11:54:48]cmd_close_receipt [11:54:48]MH_GetDate [11:54:48]Write to MH i2c: F0 00 00 DE 15 E2 [11:54:48]Write i2c OK [11:54:48]MH_I2C_Read... [11:54:48]Read from MH i2c: F0 [11:54:48]MH_I2C_Read... [11:54:48]Read from MH i2c: F0 09 00 [11:54:48]MH_I2C_Read... [11:54:48]Read from MH i2c: F0 09 00 DE 15 00 8D BB 76 66 13 9C 7C 64 9E [11:54:48]GetLastDocTimeStamp 1719053439 [11:54:48]current date 1719057293 [11:54:48]FM_GetShiftState [11:54:48]SAM_PROTO_GetShiftState [11:54:48]wFMCommunicate request_size=4 [11:54:48]MH_SAM_APDU [11:54:48]CAPDU: 80 13 01 00 [11:54:48]Write to MH i2c: E2 08 00 DF 15 80 13 01 00 00 00 00 00 71 [11:54:48]Write i2c OK [11:54:48]MH_I2C_Read... [11:54:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:54:48]Read from MH i2c: E2 [11:54:48]MH_I2C_Read... [11:54:48]Read from MH i2c: E2 0E 00 [11:54:48]MH_I2C_Read... [11:54:48]Read from MH i2c: E2 0E 00 DF 15 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 2B [11:54:48]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [11:54:48]wFMCommunicate OK [11:54:48]SAM_PROTO_GetShiftState done [11:54:48]FM_GetShiftState done [11:54:48]opened in 1719016120 [11:54:48]opened+sec_in_day 1719102520 [11:54:48]quantity*price = 9500 [11:54:48]sum+1 = 9501 [11:54:48]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 0.00 Безнал.: 95.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 22 22.06.2024 11:54 Смена: 327 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 Платежная система: O! деньги ФМ: 0000000000875095 ФД: 34596 ФПД: 144491430751495 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T115453&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34596&fm=144491430751495&tin=02508201610067®Number=0000000000092786&sum=9500 0 [11:54:49]StoreToDocumentArchive [11:54:49]shift 327 fd 34596 [11:54:49]save to /storage/0327/doc_00034596 [11:54:49]save last doc name /storage/0327/doc_00034596 to /storage/kkm_last_doc_name [11:54:49]save OK [11:54:49]Clear old archive folders... [11:54:49]ProcessDocumentItem done err = 0, tmpTLVsize=311 [11:54:49]tlvbuf is 015B59D0 [11:54:49]SAM_PROTO_ClearQueue [11:54:49]wFMCommunicate request_size=4 [11:54:49]MH_SAM_APDU [11:54:49]CAPDU: 80 09 00 00 [11:54:49]Write to MH i2c: E2 08 00 EC 15 80 09 00 00 00 00 00 00 73 [11:54:49]Write i2c OK [11:54:49]MH_I2C_Read... [11:54:49]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:54:49]Read from MH i2c: E2 [11:54:49]MH_I2C_Read... [11:54:49]Read from MH i2c: E2 03 00 [11:54:49]MH_I2C_Read... [11:54:49]Read from MH i2c: E2 03 00 EC 15 00 90 00 75 [11:54:49]RAPDU: 90 00 [11:54:49]wFMCommunicate OK [11:54:49]SAM_PROTO_ClearQueue done [11:54:49]KKMCreateOFDPacket [11:54:49]OFDProtocolAddRootSTLVToBuf [11:54:49]FM_MakeSignedData [11:54:49]FM_MakeSignedData [11:54:49]SAM_PROTO_SignData [11:54:49]wFMCommunicate request_size=4 [11:54:49]MH_SAM_APDU [11:54:49]CAPDU: 80 0D 01 02 [11:54:49]Write to MH i2c: E2 08 00 ED 15 80 0D 01 02 00 00 00 00 7B [11:54:49]Write i2c OK [11:54:49]MH_I2C_Read... [11:54:49]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:54:49]Read from MH i2c: E2 [11:54:49]MH_I2C_Read... [11:54:49]Read from MH i2c: E2 03 00 [11:54:49]MH_I2C_Read... [11:54:49]Read from MH i2c: E2 03 00 ED 15 00 90 00 76 [11:54:49]RAPDU: 90 00 [11:54:49]wFMCommunicate OK [11:54:49]wFMCommunicate request_size=255 [11:54:49]MH_SAM_APDU [11:54:49]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 16 00 00 00 F4 03 04 00 8D BB 76 66 0E 04 04 00 47 01 [11:54:49]Write to MH i2c: E2 02 01 EE 15 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 16 00 00 00 F4 03 04 00 8D BB 76 66 0E 04 04 00 47 01 00 00 88 [11:54:49]Write i2c OK [11:54:49]MH_I2C_Read... [11:54:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:54:50]Read from MH i2c: E2 [11:54:50]MH_I2C_Read... [11:54:50]Read from MH i2c: E2 03 00 [11:54:50]MH_I2C_Read... [11:54:50]Read from MH i2c: E2 03 00 EE 15 00 90 00 77 [11:54:50]RAPDU: 90 00 [11:54:50]wFMCommunicate OK [11:54:50]wFMCommunicate request_size=70 [11:54:50]MH_SAM_APDU [11:54:50]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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 24 87 00 00 35 04 06 00 83 6A 08 67 2D 07 [11:54:50]Write to MH i2c: E2 49 00 EF 15 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 24 87 00 00 35 04 06 00 83 6A 08 67 2D 07 00 00 D9 [11:54:50]Write i2c OK [11:54:50]MH_I2C_Read... [11:54:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:54:50]Read from MH i2c: E2 [11:54:50]MH_I2C_Read... [11:54:50]Read from MH i2c: E2 03 00 [11:54:50]MH_I2C_Read... [11:54:50]Read from MH i2c: E2 03 00 EF 15 00 90 00 78 [11:54:50]RAPDU: 90 00 [11:54:50]wFMCommunicate OK [11:54:50]wFMCommunicate request_size=4 [11:54:50]MH_SAM_APDU [11:54:50]CAPDU: 80 0D 03 02 [11:54:50]Write to MH i2c: E2 08 00 F0 15 80 0D 03 02 00 00 00 00 80 [11:54:50]Write i2c OK [11:54:50]MH_I2C_Read... [11:54:50]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:54:50]Read from MH i2c: E2 [11:54:50]MH_I2C_Read... [11:54:50]Read from MH i2c: E2 0B 00 [11:54:50]MH_I2C_Read... [11:54:50]Read from MH i2c: E2 0B 00 F0 15 00 A4 56 26 7E C1 4B 92 7D 90 00 3A [11:54:50]RAPDU: A4 56 26 7E C1 4B 92 7D 90 00 [11:54:50]wFMCommunicate OK [11:54:50]SAM_PROTO_SignData done [11:54:50]FM_MakeSignedData done [11:54:50]CreateOFDProtocolMessage [11:54:50]wFMCommunicate request_size=4 [11:54:50]MH_SAM_APDU [11:54:50]CAPDU: 80 11 00 00 [11:54:50]Write to MH i2c: E2 08 00 F1 15 80 11 00 00 00 00 00 00 80 [11:54:50]Write i2c OK [11:54:50]MH_I2C_Read... [11:54:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:54:50]Read from MH i2c: E2 [11:54:50]MH_I2C_Read... [11:54:50]Read from MH i2c: E2 17 00 [11:54:50]MH_I2C_Read... [11:54:50]Read from MH i2c: E2 17 00 F1 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 D5 [11:54:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [11:54:50]wFMCommunicate OK [11:54:50]CreateOFDProtocolMessage done [11:54:50]OFDSenderStorePacket 34596 [11:54:50]StoreOFDPacket docnum=34596 [11:54:50]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4B 01 00 00 55 12 43 01 AE EF 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 16 00 00 00 F4 03 04 00 8D BB 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 24 87 00 00 35 04 06 00 83 6A 08 67 2D 07 A4 56 26 7E C1 4B 92 7D [11:54:50]CheckFolder [11:54:50]dirname=/storage/ofd_packets [11:54:50]CheckFolder done [11:54:50]ProducePacketName [11:54:50]name=ofd_packets/00034596 [11:54:50]NVStorageSaveData ofd_packets/00034596 [11:54:50]File name is /storage/ofd_packets/00034596 [11:54:50]Write 361 bytes [11:54:50]NVStorageSaveData done [11:54:50]OFDSenderStorePacket done [11:54:50]KKMCreateOFDPacket done [11:54:50]NVStorageSaveData kkm_last_timestamp [11:54:50]File name is /storage/kkm_last_timestamp [11:54:50]Write 4 bytes [11:54:50]NVStorageSaveData done [11:54:50]ExternCall_PrintAddStr [11:54:50]wPrintStart [11:54:50]Write to MH i2c: 01 00 00 F2 15 07 [11:54:50]Write i2c OK [11:54:50]MH_I2C_Read... [11:54:50]Read from MH i2c: 01 [11:54:50]MH_I2C_Read... [11:54:50]Read from MH i2c: 01 07 00 [11:54:50]MH_I2C_Read... [11:54:50]Read from MH i2c: 01 07 00 F2 15 00 00 00 00 00 FF 0F 1C [11:54:50]RasterBufferAndPrint [11:54:50]line Счет N : (3)184353 [11:54:50]line ИНН: 02508201610067 [11:54:50]line Контрольно-Кассовый Чек [11:54:50]line ПРОДАЖА [11:54:50]line Товар: 4700000481972 [11:54:50]line Напиток энерг Nitro грейпфрут-маракуйя 0 [11:54:50]line 1.000 * 95.00 [11:54:50]line = 95.00 [11:54:50]line НДС 12% НСП 1% [11:54:50]line > о реализуемом товаре [11:54:50]line ИТОГО: 95.00 [11:54:50]line НСП 1% : 0.84 [11:54:50]line НДС 12% : 10.09 [11:54:50]line Наличными: 0.00 [11:54:50]line Безнал.: 95.00 [11:54:50]line Место: АЗС № 120 "Партнер Нефть" [11:54:50]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [11:54:50]line СНО: Общий режим [11:54:50]line Чек 22 22.06.2024 11:54 [11:54:50]line Смена: 327 ФФД: 1.0 [11:54:50]line ЗНМ: 0300000172 [11:54:50]line РНМ: 0000000000092786 [11:54:50]line Версия ККМ: 001 [11:54:50]line Платежная система: O! деньги [11:54:50]line ФМ: 0000000000875095 [11:54:50]line ФД: 34596 [11:54:50]line ФПД: 144491430751495 [11:54:50]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T115453&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34596&fm=144491430751495&tin=02508201610067®Number=0000000000092786&sum=9500 [11:54:50]line 0 [11:54:50]OFD Sender: Processing packet 34596 [packets to send 8, broken 7] [11:54:50]ProducePacketName [11:54:50]name=ofd_packets/00034596 [11:54:50]OFD Sender: To server: pG, [11:54:50]CommunicateWithHost lk.salyk.kg:30040 [11:54:50]ConnectInit lk.salyk.kg [11:54:50]written 0, free lines is 4095 [11:54:50]Connected sock=10 [11:54:50]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4B 01 00 00 55 12 43 01 AE EF 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 16 00 00 00 F4 03 04 00 8D BB 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 24 87 00 00 35 04 06 00 83 6A 08 67 2D 07 A4 56 26 7E C1 4B 92 7D [11:54:51]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 88 A0 47 00 B6 0A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 24 87 00 00 F4 03 04 00 51 62 76 66 B6 04 01 00 00 57 3D DA B8 F4 9D 8A 14 [11:54:51]CommunicateWithHost err = 0 [11:54:51]CheckOFDResponse [11:54:51]1017 (14) - 77093643461234 [11:54:51]1041 (16) - 0000000000875095 [11:54:51]1040 (4) - 34596 [11:54:51]1012 (4) - 22.06.2024 05:34 [11:54:51]1206 (1) - 0 [11:54:51]OFD Sender: Remove packet 34596 [11:54:51]ProducePacketName [11:54:51]name=ofd_packets/00034596 [11:54:51]NVStorageDeleteData [11:54:51]Write to MH i2c: 01 00 00 1D 16 33 [11:54:51]Write i2c OK [11:54:51]MH_I2C_Read... [11:54:51]Read from MH i2c: 01 [11:54:51]MH_I2C_Read... [11:54:51]Read from MH i2c: 01 07 00 [11:54:51]MH_I2C_Read... [11:54:51]Read from MH i2c: 01 07 00 1D 16 00 00 00 00 00 BE 0C 04 [11:54:51]RasterBufferAndPrint [11:54:51]line [11:54:51]line [11:54:51]line [11:54:51]line [11:54:51]line [11:54:51]written 0, free lines is 3267 [11:54:51]MH_Cut [11:54:51]Write to MH i2c: D1 01 00 24 16 01 0C [11:54:51]Write i2c OK [11:54:51]MH_I2C_Read... [11:54:51]Read from MH i2c: D1 [11:54:51]MH_I2C_Read... [11:54:51]Read from MH i2c: D1 01 00 [11:54:51]MH_I2C_Read... [11:54:51]Read from MH i2c: D1 01 00 24 16 00 0B [11:54:51]Write to MH i2c: 01 00 00 25 16 3B [11:54:51]Write i2c OK [11:54:51]MH_I2C_Read... [11:54:51]OFD Sender: No OFD packet to send [11:54:51]*** Cut start [11:54:51]*** Partial cut [11:54:51]*** CUTSNS_PIN = 1 [11:54:51]*** CUTSNS_PIN = 0 [11:54:52]*** Brake cut motor [11:54:52]Read from MH i2c: 01 [11:54:52]MH_I2C_Read... [11:54:52]*** Stop cut motor [11:54:52]*** Cut end [11:54:52]Read from MH i2c: 01 07 00 [11:54:52]MH_I2C_Read... [11:54:52]Read from MH i2c: 01 07 00 25 16 00 00 00 00 00 FF 0F 50 [11:54:52]process_action close_receipt done [11:54:52]requested_data is exist [11:54:52]produce_requested_data [11:54:52]requested_item fm.sn is exist - process it [11:54:52]wFMCommunicate request_size=4 [11:54:52]MH_SAM_APDU [11:54:52]CAPDU: 80 11 00 00 [11:54:52]Write to MH i2c: E2 08 00 26 16 80 11 00 00 00 00 00 00 B6 [11:54:52]Write i2c OK [11:54:52]MH_I2C_Read... [11:54:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:54:52]Read from MH i2c: E2 [11:54:52]MH_I2C_Read... [11:54:52]Read from MH i2c: E2 17 00 [11:54:52]MH_I2C_Read... [11:54:52]Read from MH i2c: E2 17 00 26 16 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 0B [11:54:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [11:54:52]wFMCommunicate OK [11:54:52]requested_item fd.num is exist - process it [11:54:52]SAM_PROTO_GetFieldsCounters [11:54:52]wFMCommunicate request_size=4 [11:54:52]MH_SAM_APDU [11:54:52]CAPDU: 80 13 00 00 [11:54:52]Write to MH i2c: E2 08 00 27 16 80 13 00 00 00 00 00 00 B9 [11:54:52]Write i2c OK [11:54:52]MH_I2C_Read... [11:54:52]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:54:52]Read from MH i2c: E2 [11:54:52]MH_I2C_Read... [11:54:52]Read from MH i2c: E2 62 00 [11:54:52]MH_I2C_Read... [11:54:52]Read from MH i2c: E2 62 00 27 16 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 24 87 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 18 [11:54:52]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 24 87 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:54:52]wFMCommunicate OK [11:54:52]SAM_PROTO_GetFieldsCounters done [11:54:52]requested_item shift.num is exist - process it [11:54:52]requested_item shift.opened is exist - process it [11:54:52]req_shift_opened [11:54:52]FM_GetShiftState [11:54:52]SAM_PROTO_GetShiftState [11:54:52]wFMCommunicate request_size=4 [11:54:52]MH_SAM_APDU [11:54:52]CAPDU: 80 13 01 00 [11:54:52]Write to MH i2c: E2 08 00 28 16 80 13 01 00 00 00 00 00 BB [11:54:52]Write i2c OK [11:54:52]MH_I2C_Read... [11:54:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:54:52]Read from MH i2c: E2 [11:54:52]MH_I2C_Read... [11:54:52]Read from MH i2c: E2 0E 00 [11:54:52]MH_I2C_Read... [11:54:52]Read from MH i2c: E2 0E 00 28 16 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 75 [11:54:52]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [11:54:52]wFMCommunicate OK [11:54:52]SAM_PROTO_GetShiftState done [11:54:52]FM_GetShiftState done [11:54:52]req_shift_opened done [11:54:52]requested_item shift.open_date is exist - process it [11:54:52]req_shift_open_date [11:54:52]req_shift_open_date done [11:54:52]produce_requested_data done [11:54:52]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34596,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120} [11:54:52]process_action_free close_receipt [11:54:52]json_value_free [11:54:52]json_value_free done [11:54:52]process_json_proto returns [11:54:52]Send response to host [11:54:52]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34596,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120}}} [11:54:52]free response buf [11:54:52]execute_script done [11:54:52]execute_script returns [11:54:52]free content buf [11:54:52]Sock 9.Close socket [11:54:52]Sock 9.Thread stoped [11:54:56]OFD Sender: No OFD packet to send [11:55:01]OFD Sender: No OFD packet to send [11:55:06]OFD Sender: No OFD packet to send [11:55:11]OFD Sender: No OFD packet to send [11:55:16]OFD Sender: No OFD packet to send [11:55:21]OFD Sender: No OFD packet to send [11:55:26]OFD Sender: No OFD packet to send [11:55:31]OFD Sender: No OFD packet to send [11:55:36]OFD Sender: No OFD packet to send [11:55:41]OFD Sender: No OFD packet to send [11:55:46]OFD Sender: No OFD packet to send [11:55:51]OFD Sender: No OFD packet to send [11:55:56]OFD Sender: No OFD packet to send [11:56:01]OFD Sender: No OFD packet to send [11:56:06]OFD Sender: No OFD packet to send [11:56:11]OFD Sender: No OFD packet to send [11:56:16]OFD Sender: No OFD packet to send [11:56:21]OFD Sender: No OFD packet to send [11:56:26]OFD Sender: No OFD packet to send [11:56:31]OFD Sender: No OFD packet to send [11:56:36]OFD Sender: No OFD packet to send [11:56:41]OFD Sender: No OFD packet to send [11:56:46]OFD Sender: No OFD packet to send [11:56:51]OFD Sender: No OFD packet to send [11:56:56]OFD Sender: No OFD packet to send [11:57:01]OFD Sender: No OFD packet to send [11:57:06]OFD Sender: No OFD packet to send [11:57:11]OFD Sender: No OFD packet to send [11:57:16]OFD Sender: No OFD packet to send [11:57:21]OFD Sender: No OFD packet to send [11:57:26]OFD Sender: No OFD packet to send [11:57:31]OFD Sender: No OFD packet to send [11:57:36]OFD Sender: No OFD packet to send [11:57:41]OFD Sender: No OFD packet to send [11:57:46]OFD Sender: No OFD packet to send [11:57:51]OFD Sender: No OFD packet to send [11:57:56]OFD Sender: No OFD packet to send [11:58:01]OFD Sender: No OFD packet to send [11:58:06]OFD Sender: No OFD packet to send [11:58:11]OFD Sender: No OFD packet to send [11:58:16]OFD Sender: No OFD packet to send [11:58:21]OFD Sender: No OFD packet to send [11:58:26]OFD Sender: No OFD packet to send [11:58:31]OFD Sender: No OFD packet to send [11:58:36]OFD Sender: No OFD packet to send [11:58:41]OFD Sender: No OFD packet to send [11:58:46]OFD Sender: No OFD packet to send [11:58:51]OFD Sender: No OFD packet to send [11:58:56]OFD Sender: No OFD packet to send [11:59:01]OFD Sender: No OFD packet to send [11:59:06]OFD Sender: No OFD packet to send [11:59:11]OFD Sender: No OFD packet to send [11:59:16]OFD Sender: No OFD packet to send [11:59:21]OFD Sender: No OFD packet to send [11:59:26]OFD Sender: No OFD packet to send [11:59:31]OFD Sender: No OFD packet to send [11:59:36]OFD Sender: No OFD packet to send [11:59:41]OFD Sender: No OFD packet to send [11:59:44]accept exits with 7 [11:59:44]New connection [11:59:44]New thread 3067473252 created [11:59:44]Thread 3067616612 joined [11:59:44]Waiting for new connection... [11:59:44] Sock 7.Parse request [11:59:44]Sock 7.Check first char [11:59:44]Sock 7.First char is OK [11:59:44]request: POST /json_proto HTTP/1.0 [11:59:44]Method: POST [11:59:44]URL: /json_proto [11:59:44]Method is POST - this is cgi request [11:59:44]url: /json_proto [11:59:44]query_string will be loaded in cgi processing [11:59:44]execute_cgi json_proto POST (null) [11:59:44]execute_cgi path=json_proto method=POST [11:59:44]POST find Content-Length [11:59:44]Host: 172.17.38.134:8080 [11:59:44]Content-Length: 695 [11:59:44]Content-Type: application/json [11:59:44] [11:59:44]POST finish read [11:59:44]Found Content-Length = 695 [11:59:44]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184354", "tax_sys" : 0, "items" : [ { "code": "4631162227163", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0433\u0430\u0437\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0439 Mojito LEMON LIME \u0436", "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" ] } } [11:59:44]execute_script... [11:59: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)184354", "tax_sys" : 0, "items" : [ { "code": "4631162227163", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0433\u0430\u0437\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0439 Mojito LEMON LIME \u0436", "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" ] } } [11:59:44]POST & json_proto [11:59:44]process_json_proto [11:59:44]json parsed OK: [11:59:44]protocol is kg_v1.0 [11:59:44]action value=close_receipt [11:59:44]process_action close_receipt [11:59:44]cmd_close_receipt [11:59:44]MH_GetDate [11:59:44]Write to MH i2c: F0 00 00 29 16 2E [11:59:44]Write i2c OK [11:59:44]MH_I2C_Read... [11:59:44]Read from MH i2c: F0 [11:59:44]MH_I2C_Read... [11:59:44]Read from MH i2c: F0 09 00 [11:59:44]MH_I2C_Read... [11:59:44]Read from MH i2c: F0 09 00 29 16 00 B5 BC 76 66 13 9C 7C 64 13 [11:59:44]GetLastDocTimeStamp 1719057293 [11:59:44]current date 1719057589 [11:59:44]FM_GetShiftState [11:59:44]SAM_PROTO_GetShiftState [11:59:44]wFMCommunicate request_size=4 [11:59:44]MH_SAM_APDU [11:59:44]CAPDU: 80 13 01 00 [11:59:44]Write to MH i2c: E2 08 00 2A 16 80 13 01 00 00 00 00 00 BD [11:59:44]Write i2c OK [11:59:44]MH_I2C_Read... [11:59:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:59:44]Read from MH i2c: E2 [11:59:44]MH_I2C_Read... [11:59:44]Read from MH i2c: E2 0E 00 [11:59:44]MH_I2C_Read... [11:59:44]Read from MH i2c: E2 0E 00 2A 16 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 77 [11:59:44]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [11:59:44]wFMCommunicate OK [11:59:44]SAM_PROTO_GetShiftState done [11:59:44]FM_GetShiftState done [11:59:44]opened in 1719016120 [11:59:44]opened+sec_in_day 1719102520 [11:59:44]quantity*price = 9500 [11:59:44]sum+1 = 9501 [11:59:44]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 95.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 23 22.06.2024 11:59 Смена: 327 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34597 ФПД: 181326771237878 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T115949&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34597&fm=181326771237878&tin=02508201610067®Number=0000000000092786&sum=9500 0 [11:59:45]StoreToDocumentArchive [11:59:45]shift 327 fd 34597 [11:59:45]save to /storage/0327/doc_00034597 [11:59:45]save last doc name /storage/0327/doc_00034597 to /storage/kkm_last_doc_name [11:59:45]save OK [11:59:45]Clear old archive folders... [11:59:45]ProcessDocumentItem done err = 0, tmpTLVsize=302 [11:59:45]tlvbuf is 015CB880 [11:59:45]SAM_PROTO_ClearQueue [11:59:45]wFMCommunicate request_size=4 [11:59:45]MH_SAM_APDU [11:59:45]CAPDU: 80 09 00 00 [11:59:45]Write to MH i2c: E2 08 00 37 16 80 09 00 00 00 00 00 00 BF [11:59:45]Write i2c OK [11:59:45]MH_I2C_Read... [11:59:45]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:59:45]Read from MH i2c: E2 [11:59:45]MH_I2C_Read... [11:59:45]Read from MH i2c: E2 03 00 [11:59:45]MH_I2C_Read... [11:59:45]Read from MH i2c: E2 03 00 37 16 00 90 00 C1 [11:59:45]RAPDU: 90 00 [11:59:45]wFMCommunicate OK [11:59:45]SAM_PROTO_ClearQueue done [11:59:45]KKMCreateOFDPacket [11:59:45]OFDProtocolAddRootSTLVToBuf [11:59:45]FM_MakeSignedData [11:59:45]FM_MakeSignedData [11:59:45]SAM_PROTO_SignData [11:59:45]wFMCommunicate request_size=4 [11:59:45]MH_SAM_APDU [11:59:45]CAPDU: 80 0D 01 02 [11:59:45]Write to MH i2c: E2 08 00 38 16 80 0D 01 02 00 00 00 00 C7 [11:59:45]Write i2c OK [11:59:45]MH_I2C_Read... [11:59:45]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:59:45]Read from MH i2c: E2 [11:59:45]MH_I2C_Read... [11:59:45]Read from MH i2c: E2 03 00 [11:59:45]MH_I2C_Read... [11:59:45]Read from MH i2c: E2 03 00 38 16 00 90 00 C2 [11:59:45]RAPDU: 90 00 [11:59:45]wFMCommunicate OK [11:59:45]wFMCommunicate request_size=255 [11:59:45]MH_SAM_APDU [11:59:45]CAPDU: 80 0D 02 02 FA 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 17 00 00 00 F4 03 04 00 B5 BC 76 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 [11:59:45]Write to MH i2c: E2 02 01 39 16 80 0D 02 02 FA 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 17 00 00 00 F4 03 04 00 B5 BC 76 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 00 00 52 [11:59:45]Write i2c OK [11:59:45]MH_I2C_Read... [11:59:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:59:46]Read from MH i2c: E2 [11:59:46]MH_I2C_Read... [11:59:46]Read from MH i2c: E2 03 00 [11:59:46]MH_I2C_Read... [11:59:46]Read from MH i2c: E2 03 00 39 16 00 90 00 C3 [11:59:46]RAPDU: 90 00 [11:59:46]wFMCommunicate OK [11:59:46]wFMCommunicate request_size=61 [11:59:46]MH_SAM_APDU [11:59:46]CAPDU: 80 0D 02 02 38 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 25 87 00 00 35 04 06 00 A4 EA 6D C9 B3 F6 [11:59:46]Write to MH i2c: E2 40 00 3A 16 80 0D 02 02 38 00 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 25 87 00 00 35 04 06 00 A4 EA 6D C9 B3 F6 00 00 21 [11:59:46]Write i2c OK [11:59:46]MH_I2C_Read... [11:59:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:59:46]Read from MH i2c: E2 [11:59:46]MH_I2C_Read... [11:59:46]Read from MH i2c: E2 03 00 [11:59:46]MH_I2C_Read... [11:59:46]Read from MH i2c: E2 03 00 3A 16 00 90 00 C4 [11:59:46]RAPDU: 90 00 [11:59:46]wFMCommunicate OK [11:59:46]wFMCommunicate request_size=4 [11:59:46]MH_SAM_APDU [11:59:46]CAPDU: 80 0D 03 02 [11:59:46]Write to MH i2c: E2 08 00 3B 16 80 0D 03 02 00 00 00 00 CC [11:59:46]Write i2c OK [11:59:46]MH_I2C_Read... [11:59:46]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:59:46]Read from MH i2c: E2 [11:59:46]MH_I2C_Read... [11:59:46]Read from MH i2c: E2 0B 00 [11:59:46]MH_I2C_Read... [11:59:46]Read from MH i2c: E2 0B 00 3B 16 00 44 8A 13 BE 40 E7 CA 21 90 00 7E [11:59:46]RAPDU: 44 8A 13 BE 40 E7 CA 21 90 00 [11:59:46]wFMCommunicate OK [11:59:46]SAM_PROTO_SignData done [11:59:46]FM_MakeSignedData done [11:59:46]CreateOFDProtocolMessage [11:59:46]wFMCommunicate request_size=4 [11:59:46]MH_SAM_APDU [11:59:46]CAPDU: 80 11 00 00 [11:59:46]Write to MH i2c: E2 08 00 3C 16 80 11 00 00 00 00 00 00 CC [11:59:46]Write i2c OK [11:59:46]MH_I2C_Read... [11:59:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:59:46]Read from MH i2c: E2 [11:59:46]MH_I2C_Read... [11:59:46]Read from MH i2c: E2 17 00 [11:59:46]MH_I2C_Read... [11:59:46]Read from MH i2c: E2 17 00 3C 16 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 21 [11:59:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [11:59:46]wFMCommunicate OK [11:59:46]CreateOFDProtocolMessage done [11:59:46]OFDSenderStorePacket 34597 [11:59:46]StoreOFDPacket docnum=34597 [11:59:46]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 42 01 00 00 6C CF 3A 01 7C 74 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 17 00 00 00 F4 03 04 00 B5 BC 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 25 87 00 00 35 04 06 00 A4 EA 6D C9 B3 F6 44 8A 13 BE 40 E7 CA 21 [11:59:46]CheckFolder [11:59:46]dirname=/storage/ofd_packets [11:59:46]CheckFolder done [11:59:46]ProducePacketName [11:59:46]name=ofd_packets/00034597 [11:59:46]NVStorageSaveData ofd_packets/00034597 [11:59:46]File name is /storage/ofd_packets/00034597 [11:59:46]Write 352 bytes [11:59:46]NVStorageSaveData done [11:59:46]OFDSenderStorePacket done [11:59:46]KKMCreateOFDPacket done [11:59:46]NVStorageSaveData kkm_last_timestamp [11:59:46]File name is /storage/kkm_last_timestamp [11:59:46]Write 4 bytes [11:59:46]NVStorageSaveData done [11:59:46]ExternCall_PrintAddStr [11:59:46]wPrintStart [11:59:46]Write to MH i2c: 01 00 00 3D 16 53 [11:59:46]Write i2c OK [11:59:46]MH_I2C_Read... [11:59:46]Read from MH i2c: 01 [11:59:46]MH_I2C_Read... [11:59:46]Read from MH i2c: 01 07 00 [11:59:46]MH_I2C_Read... [11:59:46]Read from MH i2c: 01 07 00 3D 16 00 00 00 00 00 FF 0F 68 [11:59:46]RasterBufferAndPrint [11:59:46]line Счет N : (3)184354 [11:59:46]line ИНН: 02508201610067 [11:59:46]line Контрольно-Кассовый Чек [11:59:46]line ПРОДАЖА [11:59:46]line Товар: 4631162227163 [11:59:46]line Напиток газированный Mojito LEMON LIME ж [11:59:46]line 1.000 * 95.00 [11:59:46]line = 95.00 [11:59:46]line НДС 12% НСП 1% [11:59:46]line > о реализуемом товаре [11:59:46]line ИТОГО: 95.00 [11:59:46]line НСП 1% : 0.84 [11:59:46]line НДС 12% : 10.09 [11:59:46]line Наличными: 95.00 [11:59:46]line Безнал.: 0.00 [11:59:46]line Место: АЗС № 120 "Партнер Нефть" [11:59:46]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [11:59:46]line СНО: Общий режим [11:59:46]line Чек 23 22.06.2024 11:59 [11:59:46]line Смена: 327 ФФД: 1.0 [11:59:46]line ЗНМ: 0300000172 [11:59:46]line РНМ: 0000000000092786 [11:59:46]line Версия ККМ: 001 [11:59:46]line ФМ: 0000000000875095 [11:59:46]line ФД: 34597 [11:59:46]line ФПД: 181326771237878 [11:59:46]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T115949&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34597&fm=181326771237878&tin=02508201610067®Number=0000000000092786&sum=9500 [11:59:46]line 0 [11:59:46]OFD Sender: Processing packet 34597 [packets to send 8, broken 7] [11:59:46]ProducePacketName [11:59:46]name=ofd_packets/00034597 [11:59:46]OFD Sender: To server: pG, [11:59:46]CommunicateWithHost lk.salyk.kg:30040 [11:59:46]ConnectInit lk.salyk.kg [11:59:46]written 0, free lines is 4095 [11:59:46]Connected sock=10 [11:59:46]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 42 01 00 00 6C CF 3A 01 7C 74 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 17 00 00 00 F4 03 04 00 B5 BC 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 25 87 00 00 35 04 06 00 A4 EA 6D C9 B3 F6 44 8A 13 BE 40 E7 CA 21 [11:59:47]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 A4 08 47 00 91 AB A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 25 87 00 00 F4 03 04 00 79 63 76 66 B6 04 01 00 00 6B A7 32 7F 2C DF DB 64 [11:59:47]CommunicateWithHost err = 0 [11:59:47]CheckOFDResponse [11:59:47]1017 (14) - 77093643461234 [11:59:47]1041 (16) - 0000000000875095 [11:59:47]1040 (4) - 34597 [11:59:47]1012 (4) - 22.06.2024 05:39 [11:59:47]1206 (1) - 0 [11:59:47]OFD Sender: Remove packet 34597 [11:59:47]ProducePacketName [11:59:47]name=ofd_packets/00034597 [11:59:47]NVStorageDeleteData [11:59:47]Write to MH i2c: 01 00 00 66 16 7C [11:59:47]Write i2c OK [11:59:47]MH_I2C_Read... [11:59:47]Read from MH i2c: 01 [11:59:47]MH_I2C_Read... [11:59:47]Read from MH i2c: 01 07 00 [11:59:47]MH_I2C_Read... [11:59:47]Read from MH i2c: 01 07 00 66 16 00 00 00 00 00 DA 0C 69 [11:59:47]RasterBufferAndPrint [11:59:47]line [11:59:47]line [11:59:47]line [11:59:47]line [11:59:47]line [11:59:47]written 0, free lines is 3297 [11:59:47]MH_Cut [11:59:47]Write to MH i2c: D1 01 00 6D 16 01 55 [11:59:47]Write i2c OK [11:59:47]MH_I2C_Read... [11:59:47]Read from MH i2c: D1 [11:59:47]MH_I2C_Read... [11:59:47]Read from MH i2c: D1 01 00 [11:59:47]MH_I2C_Read... [11:59:47]Read from MH i2c: D1 01 00 6D 16 00 54 [11:59:47]Write to MH i2c: 01 00 00 6E 16 84 [11:59:47]Write i2c OK [11:59:47]MH_I2C_Read... [11:59:47]OFD Sender: No OFD packet to send [11:59:47]*** Cut start [11:59:47]*** Partial cut [11:59:47]*** CUTSNS_PIN = 1 [11:59:47]*** CUTSNS_PIN = 0 [11:59:48]*** Brake cut motor [11:59:48]Read from MH i2c: 01 [11:59:48]MH_I2C_Read... [11:59:48]*** Stop cut motor [11:59:48]*** Cut end [11:59:48]Read from MH i2c: 01 07 00 [11:59:48]MH_I2C_Read... [11:59:48]Read from MH i2c: 01 07 00 6E 16 00 00 00 00 00 FF 0F 99 [11:59:48]process_action close_receipt done [11:59:48]requested_data is exist [11:59:48]produce_requested_data [11:59:48]requested_item fm.sn is exist - process it [11:59:48]wFMCommunicate request_size=4 [11:59:48]MH_SAM_APDU [11:59:48]CAPDU: 80 11 00 00 [11:59:48]Write to MH i2c: E2 08 00 6F 16 80 11 00 00 00 00 00 00 FF [11:59:48]Write i2c OK [11:59:48]MH_I2C_Read... [11:59:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:59:48]Read from MH i2c: E2 [11:59:48]MH_I2C_Read... [11:59:48]Read from MH i2c: E2 17 00 [11:59:48]MH_I2C_Read... [11:59:48]Read from MH i2c: E2 17 00 6F 16 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 54 [11:59:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [11:59:48]wFMCommunicate OK [11:59:48]requested_item fd.num is exist - process it [11:59:48]SAM_PROTO_GetFieldsCounters [11:59:48]wFMCommunicate request_size=4 [11:59:48]MH_SAM_APDU [11:59:48]CAPDU: 80 13 00 00 [11:59:48]Write to MH i2c: E2 08 00 70 16 80 13 00 00 00 00 00 00 02 [11:59:48]Write i2c OK [11:59:48]MH_I2C_Read... [11:59:48]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:59:48]Read from MH i2c: E2 [11:59:48]MH_I2C_Read... [11:59:48]Read from MH i2c: E2 62 00 [11:59:48]MH_I2C_Read... [11:59:48]Read from MH i2c: E2 62 00 70 16 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 25 87 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 65 [11:59:48]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 25 87 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:59:48]wFMCommunicate OK [11:59:48]SAM_PROTO_GetFieldsCounters done [11:59:48]requested_item shift.num is exist - process it [11:59:48]requested_item shift.opened is exist - process it [11:59:48]req_shift_opened [11:59:48]FM_GetShiftState [11:59:48]SAM_PROTO_GetShiftState [11:59:48]wFMCommunicate request_size=4 [11:59:48]MH_SAM_APDU [11:59:48]CAPDU: 80 13 01 00 [11:59:48]Write to MH i2c: E2 08 00 71 16 80 13 01 00 00 00 00 00 04 [11:59:48]Write i2c OK [11:59:48]MH_I2C_Read... [11:59:48]Read from MH i2c: E2 [11:59:48]MH_I2C_Read... [11:59:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:59:48]Read from MH i2c: E2 0E 00 [11:59:48]MH_I2C_Read... [11:59:48]Read from MH i2c: E2 0E 00 71 16 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 BE [11:59:48]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [11:59:48]wFMCommunicate OK [11:59:48]SAM_PROTO_GetShiftState done [11:59:48]FM_GetShiftState done [11:59:48]req_shift_opened done [11:59:48]requested_item shift.open_date is exist - process it [11:59:48]req_shift_open_date [11:59:48]req_shift_open_date done [11:59:48]produce_requested_data done [11:59:48]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34597,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120} [11:59:48]process_action_free close_receipt [11:59:48]json_value_free [11:59:48]json_value_free done [11:59:48]process_json_proto returns [11:59:48]Send response to host [11:59:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34597,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120}}} [11:59:48]free response buf [11:59:48]execute_script done [11:59:48]execute_script returns [11:59:48]free content buf [11:59:48]Sock 7.Close socket [11:59:48]Sock 7.Thread stoped [11:59:52]OFD Sender: No OFD packet to send [11:59:57]OFD Sender: No OFD packet to send [12:00:02]OFD Sender: No OFD packet to send [12:00:07]OFD Sender: No OFD packet to send [12:00:12]OFD Sender: No OFD packet to send [12:00:17]OFD Sender: No OFD packet to send [12:00:22]OFD Sender: No OFD packet to send [12:00:27]OFD Sender: No OFD packet to send [12:00:32]OFD Sender: No OFD packet to send [12:00:37]OFD Sender: No OFD packet to send [12:00:42]OFD Sender: No OFD packet to send [12:00:47]OFD Sender: No OFD packet to send [12:00:52]OFD Sender: No OFD packet to send [12:00:57]OFD Sender: No OFD packet to send [12:01:02]OFD Sender: No OFD packet to send [12:01:07]OFD Sender: No OFD packet to send [12:01:12]OFD Sender: No OFD packet to send [12:01:17]OFD Sender: No OFD packet to send [12:01:22]OFD Sender: No OFD packet to send [12:01:27]OFD Sender: No OFD packet to send [12:01:32]OFD Sender: No OFD packet to send [12:01:37]OFD Sender: No OFD packet to send [12:01:42]OFD Sender: No OFD packet to send [12:01:47]OFD Sender: No OFD packet to send [12:01:52]OFD Sender: No OFD packet to send [12:01:57]OFD Sender: No OFD packet to send [12:02:02]OFD Sender: No OFD packet to send [12:02:07]OFD Sender: No OFD packet to send [12:02:12]OFD Sender: No OFD packet to send [12:02:17]OFD Sender: No OFD packet to send [12:02:22]OFD Sender: No OFD packet to send [12:02:27]OFD Sender: No OFD packet to send [12:02:32]OFD Sender: No OFD packet to send [12:02:37]OFD Sender: No OFD packet to send [12:02:42]OFD Sender: No OFD packet to send [12:02:47]OFD Sender: No OFD packet to send [12:02:52]OFD Sender: No OFD packet to send [12:02:57]OFD Sender: No OFD packet to send [12:03:02]OFD Sender: No OFD packet to send [12:03:07]OFD Sender: No OFD packet to send [12:03:12]OFD Sender: No OFD packet to send [12:03:17]OFD Sender: No OFD packet to send [12:03:22]OFD Sender: No OFD packet to send [12:03:27]OFD Sender: No OFD packet to send [12:03:32]OFD Sender: No OFD packet to send [12:03:37]OFD Sender: No OFD packet to send [12:03:42]OFD Sender: No OFD packet to send [12:03:47]OFD Sender: No OFD packet to send [12:03:52]OFD Sender: No OFD packet to send [12:03:57]OFD Sender: No OFD packet to send [12:04:02]OFD Sender: No OFD packet to send [12:04:07]OFD Sender: No OFD packet to send [12:04:12]OFD Sender: No OFD packet to send [12:04:17]OFD Sender: No OFD packet to send [12:04:22]OFD Sender: No OFD packet to send [12:04:27]OFD Sender: No OFD packet to send [12:04:32]OFD Sender: No OFD packet to send [12:04:37]OFD Sender: No OFD packet to send [12:04:42]OFD Sender: No OFD packet to send [12:04:47]OFD Sender: No OFD packet to send [12:04:52]OFD Sender: No OFD packet to send [12:04:57]OFD Sender: No OFD packet to send [12:05:02]OFD Sender: No OFD packet to send [12:05:07]OFD Sender: No OFD packet to send [12:05:12]OFD Sender: No OFD packet to send [12:05:17]OFD Sender: No OFD packet to send [12:05:22]OFD Sender: No OFD packet to send [12:05:27]OFD Sender: No OFD packet to send [12:05:32]OFD Sender: No OFD packet to send [12:05:37]OFD Sender: No OFD packet to send [12:05:42]OFD Sender: No OFD packet to send [12:05:47]OFD Sender: No OFD packet to send [12:05:52]OFD Sender: No OFD packet to send [12:05:57]OFD Sender: No OFD packet to send [12:06:02]OFD Sender: No OFD packet to send [12:06:07]OFD Sender: No OFD packet to send [12:06:12]OFD Sender: No OFD packet to send [12:06:17]OFD Sender: No OFD packet to send [12:06:22]OFD Sender: No OFD packet to send [12:06:27]OFD Sender: No OFD packet to send [12:06:32]OFD Sender: No OFD packet to send [12:06:37]OFD Sender: No OFD packet to send [12:06:42]OFD Sender: No OFD packet to send [12:06:47]OFD Sender: No OFD packet to send [12:06:52]OFD Sender: No OFD packet to send [12:06:57]OFD Sender: No OFD packet to send [12:07:02]OFD Sender: No OFD packet to send [12:07:07]OFD Sender: No OFD packet to send [12:07:12]OFD Sender: No OFD packet to send [12:07:17]OFD Sender: No OFD packet to send [12:07:22]OFD Sender: No OFD packet to send [12:07:27]OFD Sender: No OFD packet to send [12:07:32]OFD Sender: No OFD packet to send [12:07:37]OFD Sender: No OFD packet to send [12:07:42]OFD Sender: No OFD packet to send [12:07:47]OFD Sender: No OFD packet to send [12:07:52]OFD Sender: No OFD packet to send [12:07:57]OFD Sender: No OFD packet to send [12:08:02]OFD Sender: No OFD packet to send [12:08:07]OFD Sender: No OFD packet to send [12:08:12]OFD Sender: No OFD packet to send [12:08:17]OFD Sender: No OFD packet to send [12:08:22]OFD Sender: No OFD packet to send [12:08:27]OFD Sender: No OFD packet to send [12:08:32]OFD Sender: No OFD packet to send [12:08:37]OFD Sender: No OFD packet to send [12:08:43]OFD Sender: No OFD packet to send [12:08:48]OFD Sender: No OFD packet to send [12:08:53]OFD Sender: No OFD packet to send [12:08:58]OFD Sender: No OFD packet to send [12:09:03]OFD Sender: No OFD packet to send [12:09:08]OFD Sender: No OFD packet to send [12:09:13]OFD Sender: No OFD packet to send [12:09:18]OFD Sender: No OFD packet to send [12:09:23]OFD Sender: No OFD packet to send [12:09:28]OFD Sender: No OFD packet to send [12:09:33]OFD Sender: No OFD packet to send [12:09:38]OFD Sender: No OFD packet to send [12:09:43]OFD Sender: No OFD packet to send [12:09:48]OFD Sender: No OFD packet to send [12:09:53]OFD Sender: No OFD packet to send [12:09:58]OFD Sender: No OFD packet to send [12:10:03]OFD Sender: No OFD packet to send [12:10:08]OFD Sender: No OFD packet to send [12:10:13]OFD Sender: No OFD packet to send [12:10:18]OFD Sender: No OFD packet to send [12:10:23]OFD Sender: No OFD packet to send [12:10:28]OFD Sender: No OFD packet to send [12:10:33]OFD Sender: No OFD packet to send [12:10:38]OFD Sender: No OFD packet to send [12:10:43]OFD Sender: No OFD packet to send [12:10:48]OFD Sender: No OFD packet to send [12:10:53]OFD Sender: No OFD packet to send [12:10:58]OFD Sender: No OFD packet to send [12:11:03]OFD Sender: No OFD packet to send [12:11:08]OFD Sender: No OFD packet to send [12:11:13]OFD Sender: No OFD packet to send [12:11:18]OFD Sender: No OFD packet to send [12:11:23]OFD Sender: No OFD packet to send [12:11:28]OFD Sender: No OFD packet to send [12:11:33]OFD Sender: No OFD packet to send [12:11:38]OFD Sender: No OFD packet to send [12:11:43]OFD Sender: No OFD packet to send [12:11:48]OFD Sender: No OFD packet to send [12:11:53]OFD Sender: No OFD packet to send [12:11:58]OFD Sender: No OFD packet to send [12:12:03]OFD Sender: No OFD packet to send [12:12:08]OFD Sender: No OFD packet to send [12:12:13]OFD Sender: No OFD packet to send [12:12:18]OFD Sender: No OFD packet to send [12:12:23]OFD Sender: No OFD packet to send [12:12:28]OFD Sender: No OFD packet to send [12:12:33]OFD Sender: No OFD packet to send [12:12:38]OFD Sender: No OFD packet to send [12:12:43]OFD Sender: No OFD packet to send [12:12:48]OFD Sender: No OFD packet to send [12:12:53]OFD Sender: No OFD packet to send [12:12:58]OFD Sender: No OFD packet to send [12:13:03]OFD Sender: No OFD packet to send [12:13:08]OFD Sender: No OFD packet to send [12:13:13]OFD Sender: No OFD packet to send [12:13:18]OFD Sender: No OFD packet to send [12:13:23]OFD Sender: No OFD packet to send [12:13:28]OFD Sender: No OFD packet to send [12:13:33]OFD Sender: No OFD packet to send [12:13:38]OFD Sender: No OFD packet to send [12:13:43]OFD Sender: No OFD packet to send [12:13:48]OFD Sender: No OFD packet to send [12:13:53]OFD Sender: No OFD packet to send [12:13:58]OFD Sender: No OFD packet to send [12:14:03]OFD Sender: No OFD packet to send [12:14:08]OFD Sender: No OFD packet to send [12:14:13]OFD Sender: No OFD packet to send [12:14:18]OFD Sender: No OFD packet to send [12:14:23]OFD Sender: No OFD packet to send [12:14:28]OFD Sender: No OFD packet to send [12:14:33]OFD Sender: No OFD packet to send [12:14:38]OFD Sender: No OFD packet to send [12:14:43]OFD Sender: No OFD packet to send [12:14:48]OFD Sender: No OFD packet to send [12:14:53]OFD Sender: No OFD packet to send [12:14:58]OFD Sender: No OFD packet to send [12:15:03]OFD Sender: No OFD packet to send [12:15:08]OFD Sender: No OFD packet to send [12:15:13]OFD Sender: No OFD packet to send [12:15:18]OFD Sender: No OFD packet to send [12:15:23]OFD Sender: No OFD packet to send [12:15:28]OFD Sender: No OFD packet to send [12:15:33]OFD Sender: No OFD packet to send [12:15:38]OFD Sender: No OFD packet to send [12:15:43]OFD Sender: No OFD packet to send [12:15:48]OFD Sender: No OFD packet to send [12:15:53]OFD Sender: No OFD packet to send [12:15:58]OFD Sender: No OFD packet to send [12:16:03]OFD Sender: No OFD packet to send [12:16:08]OFD Sender: No OFD packet to send [12:16:13]OFD Sender: No OFD packet to send [12:16:18]OFD Sender: No OFD packet to send [12:16:23]OFD Sender: No OFD packet to send [12:16:28]OFD Sender: No OFD packet to send [12:16:33]OFD Sender: No OFD packet to send [12:16:38]OFD Sender: No OFD packet to send [12:16:43]OFD Sender: No OFD packet to send [12:16:48]OFD Sender: No OFD packet to send [12:16:53]OFD Sender: No OFD packet to send [12:16:58]OFD Sender: No OFD packet to send [12:17:03]OFD Sender: No OFD packet to send [12:17:08]OFD Sender: No OFD packet to send [12:17:13]OFD Sender: No OFD packet to send [12:17:18]OFD Sender: No OFD packet to send [12:17:23]OFD Sender: No OFD packet to send [12:17:28]OFD Sender: No OFD packet to send [12:17:33]OFD Sender: No OFD packet to send [12:17:38]OFD Sender: No OFD packet to send [12:17:43]OFD Sender: No OFD packet to send [12:17:48]OFD Sender: No OFD packet to send [12:17:53]OFD Sender: No OFD packet to send [12:17:58]OFD Sender: No OFD packet to send [12:18:03]OFD Sender: No OFD packet to send [12:18:08]OFD Sender: No OFD packet to send [12:18:13]OFD Sender: No OFD packet to send [12:18:18]OFD Sender: No OFD packet to send [12:18:23]OFD Sender: No OFD packet to send [12:18:28]OFD Sender: No OFD packet to send [12:18:33]OFD Sender: No OFD packet to send [12:18:38]OFD Sender: No OFD packet to send [12:18:43]OFD Sender: No OFD packet to send [12:18:48]OFD Sender: No OFD packet to send [12:18:53]OFD Sender: No OFD packet to send [12:18:58]OFD Sender: No OFD packet to send [12:19:03]OFD Sender: No OFD packet to send [12:19:08]OFD Sender: No OFD packet to send [12:19:13]OFD Sender: No OFD packet to send [12:19:18]OFD Sender: No OFD packet to send [12:19:23]OFD Sender: No OFD packet to send [12:19:28]OFD Sender: No OFD packet to send [12:19:33]OFD Sender: No OFD packet to send [12:19:38]OFD Sender: No OFD packet to send [12:19:43]OFD Sender: No OFD packet to send [12:19:48]OFD Sender: No OFD packet to send [12:19:53]OFD Sender: No OFD packet to send [12:19:58]OFD Sender: No OFD packet to send [12:20:03]OFD Sender: No OFD packet to send [12:20:08]OFD Sender: No OFD packet to send [12:20:13]OFD Sender: No OFD packet to send [12:20:18]OFD Sender: No OFD packet to send [12:20:23]OFD Sender: No OFD packet to send [12:20:28]OFD Sender: No OFD packet to send [12:20:33]OFD Sender: No OFD packet to send [12:20:38]OFD Sender: No OFD packet to send [12:20:43]OFD Sender: No OFD packet to send [12:20:48]OFD Sender: No OFD packet to send [12:20:53]OFD Sender: No OFD packet to send [12:20:58]OFD Sender: No OFD packet to send [12:21:03]OFD Sender: No OFD packet to send [12:21:08]OFD Sender: No OFD packet to send [12:21:13]OFD Sender: No OFD packet to send [12:21:18]OFD Sender: No OFD packet to send [12:21:23]OFD Sender: No OFD packet to send [12:21:28]OFD Sender: No OFD packet to send [12:21:33]OFD Sender: No OFD packet to send [12:21:38]OFD Sender: No OFD packet to send [12:21:43]OFD Sender: No OFD packet to send [12:21:48]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:53]OFD Sender: No OFD packet to send [12:26:58]OFD Sender: No OFD packet to send [12:27:03]OFD Sender: No OFD packet to send [12:27:08]OFD Sender: No OFD packet to send [12:27:13]OFD Sender: No OFD packet to send [12:27:18]OFD Sender: No OFD packet to send [12:27:23]OFD Sender: No OFD packet to send [12:27:28]OFD Sender: No OFD packet to send [12:27:33]OFD Sender: No OFD packet to send [12:27:38]OFD Sender: No OFD packet to send [12:27:43]OFD Sender: No OFD packet to send [12:27:48]OFD Sender: No OFD packet to send [12:27:53]OFD Sender: No OFD packet to send [12:27:58]OFD Sender: No OFD packet to send [12:28:03]OFD Sender: No OFD packet to send [12:28:08]OFD Sender: No OFD packet to send [12:28:13]OFD Sender: No OFD packet to send [12:28:18]OFD Sender: No OFD packet to send [12:28:23]OFD Sender: No OFD packet to send [12:28:28]OFD Sender: No OFD packet to send [12:28:33]OFD Sender: No OFD packet to send [12:28:38]OFD Sender: No OFD packet to send [12:28:43]OFD Sender: No OFD packet to send [12:28:48]OFD Sender: No OFD packet to send [12:28:53]OFD Sender: No OFD packet to send [12:28:58]OFD Sender: No OFD packet to send [12:29:03]OFD Sender: No OFD packet to send [12:29:08]OFD Sender: No OFD packet to send [12:29:13]OFD Sender: No OFD packet to send [12:29:18]OFD Sender: No OFD packet to send [12:29:23]OFD Sender: No OFD packet to send [12:29:28]OFD Sender: No OFD packet to send [12:29:33]OFD Sender: No OFD packet to send [12:29:38]OFD Sender: No OFD packet to send [12:29:43]OFD Sender: No OFD packet to send [12:29:48]OFD Sender: No OFD packet to send [12:29:53]OFD Sender: No OFD packet to send [12:29:59]OFD Sender: No OFD packet to send [12:30:04]OFD Sender: No OFD packet to send [12:30:09]OFD Sender: No OFD packet to send [12:30:14]OFD Sender: No OFD packet to send [12:30:19]OFD Sender: No OFD packet to send [12:30:24]OFD Sender: No OFD packet to send [12:30:29]OFD Sender: No OFD packet to send [12:30:34]OFD Sender: No OFD packet to send [12:30:39]OFD Sender: No OFD packet to send [12:30:44]OFD Sender: No OFD packet to send [12:30:49]OFD Sender: No OFD packet to send [12:30:54]OFD Sender: No OFD packet to send [12:30:59]OFD Sender: No OFD packet to send [12:31:04]OFD Sender: No OFD packet to send [12:31:09]OFD Sender: No OFD packet to send [12:31:14]OFD Sender: No OFD packet to send [12:31:19]OFD Sender: No OFD packet to send [12:31:24]OFD Sender: No OFD packet to send [12:31:29]OFD Sender: No OFD packet to send [12:31:34]OFD Sender: No OFD packet to send [12:31:39]OFD Sender: No OFD packet to send [12:31:44]OFD Sender: No OFD packet to send [12:31:49]OFD Sender: No OFD packet to send [12:31:54]OFD Sender: No OFD packet to send [12:31:59]OFD Sender: No OFD packet to send [12:32:04]OFD Sender: No OFD packet to send [12:32:09]OFD Sender: No OFD packet to send [12:32:14]OFD Sender: No OFD packet to send [12:32:19]OFD Sender: No OFD packet to send [12:32:24]OFD Sender: No OFD packet to send [12:32:29]OFD Sender: No OFD packet to send [12:32:34]OFD Sender: No OFD packet to send [12:32:39]OFD Sender: No OFD packet to send [12:32:44]OFD Sender: No OFD packet to send [12:32:49]OFD Sender: No OFD packet to send [12:32:53]accept exits with 9 [12:32:53]New connection [12:32:53]New thread 3067616612 created [12:32:53]Thread 3067473252 joined [12:32:53]Waiting for new connection... [12:32:53] Sock 9.Parse request [12:32:53]Sock 9.Check first char [12:32:53]Sock 9.First char is OK [12:32:53]request: POST /json_proto HTTP/1.0 [12:32:53]Method: POST [12:32:53]URL: /json_proto [12:32:53]Method is POST - this is cgi request [12:32:53]url: /json_proto [12:32:53]query_string will be loaded in cgi processing [12:32:53]execute_cgi json_proto POST (null) [12:32:53]execute_cgi path=json_proto method=POST [12:32:53]POST find Content-Length [12:32:53]Host: 172.17.38.134:8080 [12:32:53]Content-Length: 621 [12:32:53]Content-Type: application/json [12:32:53] [12:32:53]POST finish read [12:32:53]Found Content-Length = 621 [12:32:53]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184355", "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" ] } } [12:32:53]execute_script... [12:32:53]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)184355", "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" ] } } [12:32:53]POST & json_proto [12:32:53]process_json_proto [12:32:53]json parsed OK: [12:32:53]protocol is kg_v1.0 [12:32:53]action value=close_receipt [12:32:53]process_action close_receipt [12:32:53]cmd_close_receipt [12:32:53]MH_GetDate [12:32:53]Write to MH i2c: F0 00 00 72 16 77 [12:32:53]Write i2c OK [12:32:53]MH_I2C_Read... [12:32:53]Read from MH i2c: F0 [12:32:53]MH_I2C_Read... [12:32:53]Read from MH i2c: F0 09 00 [12:32:53]MH_I2C_Read... [12:32:53]Read from MH i2c: F0 09 00 72 16 00 7A C4 76 66 13 9C 7C 64 29 [12:32:53]GetLastDocTimeStamp 1719057589 [12:32:53]current date 1719059578 [12:32:53]FM_GetShiftState [12:32:53]SAM_PROTO_GetShiftState [12:32:53]wFMCommunicate request_size=4 [12:32:53]MH_SAM_APDU [12:32:53]CAPDU: 80 13 01 00 [12:32:53]Write to MH i2c: E2 08 00 73 16 80 13 01 00 00 00 00 00 06 [12:32:53]Write i2c OK [12:32:53]MH_I2C_Read... [12:32:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:32:53]Read from MH i2c: E2 [12:32:53]MH_I2C_Read... [12:32:53]Read from MH i2c: E2 0E 00 [12:32:53]MH_I2C_Read... [12:32:53]Read from MH i2c: E2 0E 00 73 16 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 C0 [12:32:53]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [12:32:53]wFMCommunicate OK [12:32:53]SAM_PROTO_GetShiftState done [12:32:53]FM_GetShiftState done [12:32:53]opened in 1719016120 [12:32:53]opened+sec_in_day 1719102520 [12:32:53]quantity*price = 14000 [12:32:53]sum+1 = 14001 [12:32:53]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 140.00 НСП 1% : 1.24 НДС 12% : 14.87 Наличными: 140.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 24 22.06.2024 12:32 Смена: 327 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34598 ФПД: 135115812250514 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T123258&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34598&fm=135115812250514&tin=02508201610067®Number=0000000000092786&sum=14000 0 [12:32:54]StoreToDocumentArchive [12:32:54]shift 327 fd 34598 [12:32:54]save to /storage/0327/doc_00034598 [12:32:54]save last doc name /storage/0327/doc_00034598 to /storage/kkm_last_doc_name [12:32:54]save OK [12:32:54]Clear old archive folders... [12:32:54]ProcessDocumentItem done err = 0, tmpTLVsize=273 [12:32:54]tlvbuf is B6F4AD50 [12:32:54]SAM_PROTO_ClearQueue [12:32:54]wFMCommunicate request_size=4 [12:32:54]MH_SAM_APDU [12:32:54]CAPDU: 80 09 00 00 [12:32:54]Write to MH i2c: E2 08 00 80 16 80 09 00 00 00 00 00 00 08 [12:32:54]Write i2c OK [12:32:54]MH_I2C_Read... [12:32:54]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:32:54]Read from MH i2c: E2 [12:32:54]MH_I2C_Read... [12:32:54]Read from MH i2c: E2 03 00 [12:32:54]MH_I2C_Read... [12:32:54]Read from MH i2c: E2 03 00 80 16 00 90 00 0A [12:32:54]RAPDU: 90 00 [12:32:54]wFMCommunicate OK [12:32:54]SAM_PROTO_ClearQueue done [12:32:54]KKMCreateOFDPacket [12:32:54]OFDProtocolAddRootSTLVToBuf [12:32:54]FM_MakeSignedData [12:32:54]FM_MakeSignedData [12:32:54]SAM_PROTO_SignData [12:32:54]wFMCommunicate request_size=4 [12:32:54]MH_SAM_APDU [12:32:54]CAPDU: 80 0D 01 02 [12:32:54]Write to MH i2c: E2 08 00 81 16 80 0D 01 02 00 00 00 00 10 [12:32:54]Write i2c OK [12:32:54]MH_I2C_Read... [12:32:54]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:32:54]Read from MH i2c: E2 [12:32:54]MH_I2C_Read... [12:32:54]Read from MH i2c: E2 03 00 [12:32:54]MH_I2C_Read... [12:32:54]Read from MH i2c: E2 03 00 81 16 00 90 00 0B [12:32:54]RAPDU: 90 00 [12:32:54]wFMCommunicate OK [12:32:54]wFMCommunicate request_size=255 [12:32:54]MH_SAM_APDU [12:32:54]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 18 00 00 00 F4 03 04 00 7A C4 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 [12:32:54]Write to MH i2c: E2 02 01 82 16 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 18 00 00 00 F4 03 04 00 7A C4 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 00 00 86 [12:32:54]Write i2c OK [12:32:54]MH_I2C_Read... [12:32:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:32:55]Read from MH i2c: E2 [12:32:55]MH_I2C_Read... [12:32:55]Read from MH i2c: E2 03 00 [12:32:55]MH_I2C_Read... [12:32:55]Read from MH i2c: E2 03 00 82 16 00 90 00 0C [12:32:55]RAPDU: 90 00 [12:32:55]wFMCommunicate OK [12:32:55]wFMCommunicate request_size=32 [12:32:55]MH_SAM_APDU [12:32:55]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 35 30 39 35 10 04 04 00 26 87 00 00 35 04 06 00 7A E3 19 FE 23 92 [12:32:55]Write to MH i2c: E2 23 00 83 16 80 0D 02 02 1B 00 30 30 30 38 37 35 30 39 35 10 04 04 00 26 87 00 00 35 04 06 00 7A E3 19 FE 23 92 00 00 48 [12:32:55]Write i2c OK [12:32:55]MH_I2C_Read... [12:32:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:32:55]Read from MH i2c: E2 [12:32:55]MH_I2C_Read... [12:32:55]Read from MH i2c: E2 03 00 [12:32:55]MH_I2C_Read... [12:32:55]Read from MH i2c: E2 03 00 83 16 00 90 00 0D [12:32:55]RAPDU: 90 00 [12:32:55]wFMCommunicate OK [12:32:55]wFMCommunicate request_size=4 [12:32:55]MH_SAM_APDU [12:32:55]CAPDU: 80 0D 03 02 [12:32:55]Write to MH i2c: E2 08 00 84 16 80 0D 03 02 00 00 00 00 15 [12:32:55]Write i2c OK [12:32:55]MH_I2C_Read... [12:32:55]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:32:55]Read from MH i2c: E2 [12:32:55]MH_I2C_Read... [12:32:55]Read from MH i2c: E2 0B 00 [12:32:55]MH_I2C_Read... [12:32:55]Read from MH i2c: E2 0B 00 84 16 00 55 07 53 EC 40 D9 F8 4B 90 00 0D [12:32:55]RAPDU: 55 07 53 EC 40 D9 F8 4B 90 00 [12:32:55]wFMCommunicate OK [12:32:55]SAM_PROTO_SignData done [12:32:55]FM_MakeSignedData done [12:32:55]CreateOFDProtocolMessage [12:32:55]wFMCommunicate request_size=4 [12:32:55]MH_SAM_APDU [12:32:55]CAPDU: 80 11 00 00 [12:32:55]Write to MH i2c: E2 08 00 85 16 80 11 00 00 00 00 00 00 15 [12:32:55]Write i2c OK [12:32:55]MH_I2C_Read... [12:32:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:32:55]Read from MH i2c: E2 [12:32:55]MH_I2C_Read... [12:32:55]Read from MH i2c: E2 17 00 [12:32:55]MH_I2C_Read... [12:32:55]Read from MH i2c: E2 17 00 85 16 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 6A [12:32:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [12:32:55]wFMCommunicate OK [12:32:55]CreateOFDProtocolMessage done [12:32:55]OFDSenderStorePacket 34598 [12:32:55]StoreOFDPacket docnum=34598 [12:32:55]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 25 01 00 00 A1 77 1D 01 6A F3 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 7A C4 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 26 87 00 00 35 04 06 00 7A E3 19 FE 23 92 55 07 53 EC 40 D9 F8 4B [12:32:55]CheckFolder [12:32:55]dirname=/storage/ofd_packets [12:32:55]CheckFolder done [12:32:55]ProducePacketName [12:32:55]name=ofd_packets/00034598 [12:32:55]NVStorageSaveData ofd_packets/00034598 [12:32:55]File name is /storage/ofd_packets/00034598 [12:32:55]Write 323 bytes [12:32:55]NVStorageSaveData done [12:32:55]OFDSenderStorePacket done [12:32:55]KKMCreateOFDPacket done [12:32:55]NVStorageSaveData kkm_last_timestamp [12:32:55]File name is /storage/kkm_last_timestamp [12:32:55]Write 4 bytes [12:32:55]NVStorageSaveData done [12:32:55]ExternCall_PrintAddStr [12:32:55]wPrintStart [12:32:55]Write to MH i2c: 01 00 00 86 16 9C [12:32:55]Write i2c OK [12:32:55]MH_I2C_Read... [12:32:55]Read from MH i2c: 01 [12:32:55]MH_I2C_Read... [12:32:55]Read from MH i2c: 01 07 00 [12:32:55]MH_I2C_Read... [12:32:55]Read from MH i2c: 01 07 00 86 16 00 00 00 00 00 FF 0F B1 [12:32:55]RasterBufferAndPrint [12:32:55]line Счет N : (3)184355 [12:32:55]line ИНН: 02508201610067 [12:32:55]line Контрольно-Кассовый Чек [12:32:55]line ПРОДАЖА [12:32:55]line Товар: 48743570 [12:32:55]line Сигареты Winston XStyle Blue [12:32:55]line 1.000 * 140.00 [12:32:55]line = 140.00 [12:32:55]line НДС 12% НСП 1% [12:32:55]line > о реализуемом товаре [12:32:55]line ИТОГО: 140.00 [12:32:55]line НСП 1% : 1.24 [12:32:55]line НДС 12% : 14.87 [12:32:55]line Наличными: 140.00 [12:32:55]line Безнал.: 0.00 [12:32:55]line Место: АЗС № 120 "Партнер Нефть" [12:32:55]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [12:32:55]line СНО: Общий режим [12:32:55]line Чек 24 22.06.2024 12:32 [12:32:55]line Смена: 327 ФФД: 1.0 [12:32:55]line ЗНМ: 0300000172 [12:32:55]line РНМ: 0000000000092786 [12:32:55]line Версия ККМ: 001 [12:32:55]line ФМ: 0000000000875095 [12:32:55]line ФД: 34598 [12:32:55]line ФПД: 135115812250514 [12:32:55]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T123258&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34598&fm=135115812250514&tin=02508201610067®Number=0000000000092786&sum=14000 [12:32:55]line 0 [12:32:55]OFD Sender: Processing packet 34598 [packets to send 8, broken 7] [12:32:55]ProducePacketName [12:32:55]name=ofd_packets/00034598 [12:32:55]OFD Sender: To server: pG, [12:32:55]CommunicateWithHost lk.salyk.kg:30040 [12:32:55]ConnectInit lk.salyk.kg [12:32:55]written 0, free lines is 4095 [12:32:55]Connected sock=11 [12:32:55]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 25 01 00 00 A1 77 1D 01 6A F3 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 7A C4 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 26 87 00 00 35 04 06 00 7A E3 19 FE 23 92 55 07 53 EC 40 D9 F8 4B [12:32:56]Write to MH i2c: 01 00 00 AE 16 C4 [12:32:56]Write i2c OK [12:32:56]MH_I2C_Read... [12:32:56]Read from MH i2c: 01 [12:32:56]MH_I2C_Read... [12:32:56]Read from MH i2c: 01 07 00 [12:32:56]MH_I2C_Read... [12:32:56]Read from MH i2c: 01 07 00 AE 16 00 00 00 00 00 E9 0C C0 [12:32:56]RasterBufferAndPrint [12:32:56]line [12:32:56]line [12:32:56]line [12:32:56]line [12:32:56]line [12:32:56]written 0, free lines is 3312 [12:32:56]MH_Cut [12:32:56]Write to MH i2c: D1 01 00 B5 16 01 9D [12:32:56]Write i2c OK [12:32:56]MH_I2C_Read... [12:32:56]Read from MH i2c: D1 [12:32:56]MH_I2C_Read... [12:32:56]Read from MH i2c: D1 01 00 [12:32:56]MH_I2C_Read... [12:32:56]Read from MH i2c: D1 01 00 B5 16 00 9C [12:32:56]Write to MH i2c: 01 00 00 B6 16 CC [12:32:56]Write i2c OK [12:32:56]MH_I2C_Read... [12:32:56]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 80 8A 47 00 55 7C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 26 87 00 00 F4 03 04 00 3E 6B 76 66 B6 04 01 00 00 44 CF 92 9B 29 0F FC C6 [12:32:56]CommunicateWithHost err = 0 [12:32:56]CheckOFDResponse [12:32:56]1017 (14) - 77093643461234 [12:32:56]1041 (16) - 0000000000875095 [12:32:56]1040 (4) - 34598 [12:32:56]1012 (4) - 22.06.2024 06:12 [12:32:56]1206 (1) - 0 [12:32:56]OFD Sender: Remove packet 34598 [12:32:56]ProducePacketName [12:32:56]name=ofd_packets/00034598 [12:32:56]NVStorageDeleteData [12:32:56]OFD Sender: No OFD packet to send [12:32:56]*** Cut start [12:32:56]*** Partial cut [12:32:56]*** CUTSNS_PIN = 1 [12:32:56]*** CUTSNS_PIN = 0 [12:32:57]*** Brake cut motor [12:32:57]Read from MH i2c: 01 [12:32:57]MH_I2C_Read... [12:32:57]*** Stop cut motor [12:32:57]*** Cut end [12:32:57]Read from MH i2c: 01 07 00 [12:32:57]MH_I2C_Read... [12:32:57]Read from MH i2c: 01 07 00 B6 16 00 00 00 00 00 FF 0F E1 [12:32:57]process_action close_receipt done [12:32:57]requested_data is exist [12:32:57]produce_requested_data [12:32:57]requested_item fm.sn is exist - process it [12:32:57]wFMCommunicate request_size=4 [12:32:57]MH_SAM_APDU [12:32:57]CAPDU: 80 11 00 00 [12:32:57]Write to MH i2c: E2 08 00 B7 16 80 11 00 00 00 00 00 00 47 [12:32:57]Write i2c OK [12:32:57]MH_I2C_Read... [12:32:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:32:57]Read from MH i2c: E2 [12:32:57]MH_I2C_Read... [12:32:57]Read from MH i2c: E2 17 00 [12:32:57]MH_I2C_Read... [12:32:57]Read from MH i2c: E2 17 00 B7 16 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 9C [12:32:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [12:32:57]wFMCommunicate OK [12:32:57]requested_item fd.num is exist - process it [12:32:57]SAM_PROTO_GetFieldsCounters [12:32:57]wFMCommunicate request_size=4 [12:32:57]MH_SAM_APDU [12:32:57]CAPDU: 80 13 00 00 [12:32:57]Write to MH i2c: E2 08 00 B8 16 80 13 00 00 00 00 00 00 4A [12:32:57]Write i2c OK [12:32:57]MH_I2C_Read... [12:32:57]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:32:57]Read from MH i2c: E2 [12:32:57]MH_I2C_Read... [12:32:57]Read from MH i2c: E2 62 00 [12:32:57]MH_I2C_Read... [12:32:57]Read from MH i2c: E2 62 00 B8 16 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 26 87 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 B1 [12:32:57]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 26 87 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 [12:32:57]wFMCommunicate OK [12:32:57]SAM_PROTO_GetFieldsCounters done [12:32:57]requested_item shift.num is exist - process it [12:32:57]requested_item shift.opened is exist - process it [12:32:57]req_shift_opened [12:32:57]FM_GetShiftState [12:32:57]SAM_PROTO_GetShiftState [12:32:57]wFMCommunicate request_size=4 [12:32:57]MH_SAM_APDU [12:32:57]CAPDU: 80 13 01 00 [12:32:57]Write to MH i2c: E2 08 00 B9 16 80 13 01 00 00 00 00 00 4C [12:32:57]Write i2c OK [12:32:57]MH_I2C_Read... [12:32:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:32:57]Read from MH i2c: E2 [12:32:57]MH_I2C_Read... [12:32:57]Read from MH i2c: E2 0E 00 [12:32:57]MH_I2C_Read... [12:32:57]Read from MH i2c: E2 0E 00 B9 16 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 06 [12:32:57]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [12:32:57]wFMCommunicate OK [12:32:57]SAM_PROTO_GetShiftState done [12:32:57]FM_GetShiftState done [12:32:57]req_shift_opened done [12:32:57]requested_item shift.open_date is exist - process it [12:32:57]req_shift_open_date [12:32:57]req_shift_open_date done [12:32:57]produce_requested_data done [12:32:57]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34598,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120} [12:32:57]process_action_free close_receipt [12:32:57]json_value_free [12:32:57]json_value_free done [12:32:57]process_json_proto returns [12:32:57]Send response to host [12:32:57]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34598,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120}}} [12:32:57]free response buf [12:32:57]execute_script done [12:32:57]execute_script returns [12:32:57]free content buf [12:32:57]Sock 9.Close socket [12:32:57]Sock 9.Thread stoped [12:33:01]OFD Sender: No OFD packet to send [12:33:06]OFD Sender: No OFD packet to send [12:33:11]OFD Sender: No OFD packet to send [12:33:16]OFD Sender: No OFD packet to send [12:33:21]OFD Sender: No OFD packet to send [12:33:26]OFD Sender: No OFD packet to send [12:33:31]OFD Sender: No OFD packet to send [12:33:36]OFD Sender: No OFD packet to send [12:33:41]OFD Sender: No OFD packet to send [12:33:46]OFD Sender: No OFD packet to send [12:33:51]OFD Sender: No OFD packet to send [12:33:56]OFD Sender: No OFD packet to send [12:34:01]OFD Sender: No OFD packet to send [12:34:06]OFD Sender: No OFD packet to send [12:34:11]OFD Sender: No OFD packet to send [12:34:16]OFD Sender: No OFD packet to send [12:34:21]OFD Sender: No OFD packet to send [12:34:26]OFD Sender: No OFD packet to send [12:34:31]OFD Sender: No OFD packet to send [12:34:36]OFD Sender: No OFD packet to send [12:34:41]OFD Sender: No OFD packet to send [12:34:46]OFD Sender: No OFD packet to send [12:34:51]OFD Sender: No OFD packet to send [12:34:56]accept exits with 7 [12:34:56]New connection [12:34:56]New thread 3067473252 created [12:34:56]Thread 3067616612 joined [12:34:56]Waiting for new connection... [12:34:56] Sock 7.Parse request [12:34:56]Sock 7.Check first char [12:34:56]Sock 7.First char is OK [12:34:56]request: POST /json_proto HTTP/1.0 [12:34:56]Method: POST [12:34:56]URL: /json_proto [12:34:56]Method is POST - this is cgi request [12:34:56]url: /json_proto [12:34:56]query_string will be loaded in cgi processing [12:34:56]execute_cgi json_proto POST (null) [12:34:56]execute_cgi path=json_proto method=POST [12:34:56]POST find Content-Length [12:34:56]Host: 172.17.38.134:8080 [12:34:56]Content-Length: 2257 [12:34:56]Content-Type: application/json [12:34:56] [12:34:56]POST finish read [12:34:56]Found Content-Length = 2257 [12:34:56]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184356", "tax_sys" : 0, "items" : [ { "code": "5053990101597", "name": "\u0427\u0438\u043F\u0441\u044B \u041F\u0440\u0438\u043D\u0433\u043B\u0441 \u0441\u043C\u0435\u0442\u0430\u043D\u0430 \u0438 \u043B\u0443\u043A 165\u0433", "price" : 420.00, "quantity" : 1.000, "sum" : 420.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607015235777", "name": "\u041F\u0435\u0447. \u0441\u0434. \u042F\u0448\u043A\u0438\u043D\u043E \u0432\u0438\u0448\u043D\u044F 137\u0433", "price" : 79.00, "quantity" : 1.000, "sum" : 79.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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": "4870002328398", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043C\u044F\u0442\u0430 \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": "4860103356611", "name": "\u041F\u0438\u0432\u043E \u041C\u0438\u043B\u043B\u0435\u0440 \u0414\u0436\u0435\u043D\u044C\u044E\u043D \u0414\u0440\u0430\u0444\u0442 0,5\u043B \u0441\u0442", "price" : 260.00, "quantity" : 4.000, "sum" : 1040.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" : 1801.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:34:56]execute_script... [12:34: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)184356", "tax_sys" : 0, "items" : [ { "code": "5053990101597", "name": "\u0427\u0438\u043F\u0441\u044B \u041F\u0440\u0438\u043D\u0433\u043B\u0441 \u0441\u043C\u0435\u0442\u0430\u043D\u0430 \u0438 \u043B\u0443\u043A 165\u0433", "price" : 420.00, "quantity" : 1.000, "sum" : 420.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607015235777", "name": "\u041F\u0435\u0447. \u0441\u0434. \u042F\u0448\u043A\u0438\u043D\u043E \u0432\u0438\u0448\u043D\u044F 137\u0433", "price" : 79.00, "quantity" : 1.000, "sum" : 79.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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": "4870002328398", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043C\u044F\u0442\u0430 \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": "4860103356611", "name": "\u041F\u0438\u0432\u043E \u041C\u0438\u043B\u043B\u0435\u0440 \u0414\u0436\u0435\u043D\u044C\u044E\u043D \u0414\u0440\u0430\u0444\u0442 0,5\u043B \u0441\u0442", "price" : 260.00, "quantity" : 4.000, "sum" : 1040.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" : 1801.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:34:56]POST & json_proto [12:34:56]process_json_proto [12:34:56]json parsed OK: [12:34:56]protocol is kg_v1.0 [12:34:56]action value=close_receipt [12:34:56]process_action close_receipt [12:34:56]cmd_close_receipt [12:34:56]MH_GetDate [12:34:56]Write to MH i2c: F0 00 00 BA 16 BF [12:34:56]OFD Sender: No OFD packet to send [12:34:56]Write i2c OK [12:34:56]MH_I2C_Read... [12:34:56]Read from MH i2c: F0 [12:34:56]MH_I2C_Read... [12:34:56]Read from MH i2c: F0 09 00 [12:34:56]MH_I2C_Read... [12:34:56]Read from MH i2c: F0 09 00 BA 16 00 F6 C4 76 66 13 9C 7C 64 ED [12:34:56]GetLastDocTimeStamp 1719059578 [12:34:56]current date 1719059702 [12:34:56]FM_GetShiftState [12:34:56]SAM_PROTO_GetShiftState [12:34:56]wFMCommunicate request_size=4 [12:34:56]MH_SAM_APDU [12:34:56]CAPDU: 80 13 01 00 [12:34:56]Write to MH i2c: E2 08 00 BB 16 80 13 01 00 00 00 00 00 4E [12:34:56]Write i2c OK [12:34:56]MH_I2C_Read... [12:34:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:34:56]Read from MH i2c: E2 [12:34:56]MH_I2C_Read... [12:34:56]Read from MH i2c: E2 0E 00 [12:34:56]MH_I2C_Read... [12:34:56]Read from MH i2c: E2 0E 00 BB 16 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 08 [12:34:56]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [12:34:56]wFMCommunicate OK [12:34:56]SAM_PROTO_GetShiftState done [12:34:56]FM_GetShiftState done [12:34:56]opened in 1719016120 [12:34:56]opened+sec_in_day 1719102520 [12:34:56]quantity*price = 42000 [12:34:56]sum+1 = 42001 [12:34:56]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4607015235777 Печ. сд. Яшкино вишня 137г 1.000 * 79.00 = 79.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4607035653513 Вафли Голландские карамел 290 1.000 * 137.00 = 137.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4870002328398 Вода ASU пит н.газ мята ПЭТ 1л 1.000 * 100.00 = 100.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4860103356611 Пиво Миллер Дженьюн Драфт 0,5л ст 4.000 * 260.00 = 1040.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 2000027340020 Пакет бумажный витая ручка 1.000 * 25.00 = 25.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 1801.00 НСП 1% : 15.93 НДС 12% : 191.25 Наличными: 1801.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 25 22.06.2024 12:35 Смена: 327 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34599 ФПД: 62029033358256 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T123502&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34599&fm=62029033358256&tin=02508201610067®Number=0000000000092786&sum=180100 0 [12:34:58]StoreToDocumentArchive [12:34:58]shift 327 fd 34599 [12:34:58]save to /storage/0327/doc_00034599 [12:34:58]save last doc name /storage/0327/doc_00034599 to /storage/kkm_last_doc_name [12:34:58]save OK [12:34:58]Clear old archive folders... [12:34:58]ProcessDocumentItem done err = 0, tmpTLVsize=909 [12:34:58]tlvbuf is 01552F40 [12:34:58]SAM_PROTO_ClearQueue [12:34:58]wFMCommunicate request_size=4 [12:34:58]MH_SAM_APDU [12:34:58]CAPDU: 80 09 00 00 [12:34:58]Write to MH i2c: E2 08 00 C8 16 80 09 00 00 00 00 00 00 50 [12:34:58]Write i2c OK [12:34:58]MH_I2C_Read... [12:34:58]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:34:58]Read from MH i2c: E2 [12:34:58]MH_I2C_Read... [12:34:58]Read from MH i2c: E2 03 00 [12:34:58]MH_I2C_Read... [12:34:58]Read from MH i2c: E2 03 00 C8 16 00 90 00 52 [12:34:58]RAPDU: 90 00 [12:34:58]wFMCommunicate OK [12:34:58]SAM_PROTO_ClearQueue done [12:34:58]KKMCreateOFDPacket [12:34:58]OFDProtocolAddRootSTLVToBuf [12:34:58]FM_MakeSignedData [12:34:58]FM_MakeSignedData [12:34:58]SAM_PROTO_SignData [12:34:58]wFMCommunicate request_size=4 [12:34:58]MH_SAM_APDU [12:34:58]CAPDU: 80 0D 01 02 [12:34:58]Write to MH i2c: E2 08 00 C9 16 80 0D 01 02 00 00 00 00 58 [12:34:58]Write i2c OK [12:34:58]MH_I2C_Read... [12:34:58]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:34:58]Read from MH i2c: E2 [12:34:58]MH_I2C_Read... [12:34:58]Read from MH i2c: E2 03 00 [12:34:58]MH_I2C_Read... [12:34:58]Read from MH i2c: E2 03 00 C9 16 00 90 00 53 [12:34:58]RAPDU: 90 00 [12:34:58]wFMCommunicate OK [12:34:58]wFMCommunicate request_size=255 [12:34:58]MH_SAM_APDU [12:34:58]CAPDU: 80 0D 02 02 FA 03 00 8D 03 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 35 30 35 33 39 39 30 31 30 31 35 39 37 06 04 38 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 D0 9F D1 80 D0 B8 D0 BD D0 B3 D0 BB D1 81 20 D1 81 D0 BC D0 B5 D1 82 D0 B0 D0 BD D0 B0 20 D0 B8 20 D0 BB D1 83 D0 BA 20 31 36 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 A4 00 00 00 00 13 04 06 00 10 A4 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 36 30 37 30 31 35 32 33 35 37 37 37 06 04 2B 00 D0 9F D0 B5 D1 87 2E 20 D1 81 D0 B4 2E 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D0 B2 D0 B8 D1 88 D0 BD D1 8F 20 31 33 37 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 1E 00 00 00 00 13 04 06 00 DC 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 [12:34:58]Write to MH i2c: E2 02 01 CA 16 80 0D 02 02 FA 00 03 00 8D 03 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 35 30 35 33 39 39 30 31 30 31 35 39 37 06 04 38 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 D0 9F D1 80 D0 B8 D0 BD D0 B3 D0 BB D1 81 20 D1 81 D0 BC D0 B5 D1 82 D0 B0 D0 BD D0 B0 20 D0 B8 20 D0 BB D1 83 D0 BA 20 31 36 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 A4 00 00 00 00 13 04 06 00 10 A4 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 36 30 37 30 31 35 32 33 35 37 37 37 06 04 2B 00 D0 9F D0 B5 D1 87 2E 20 D1 81 D0 B4 2E 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D0 B2 D0 B8 D1 88 D0 BD D1 8F 20 31 33 37 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 1E 00 00 00 00 13 04 06 00 DC 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 00 7C [12:34:58]Write i2c OK [12:34:58]MH_I2C_Read... [12:34:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:34:58]Read from MH i2c: E2 [12:34:58]MH_I2C_Read... [12:34:58]Read from MH i2c: E2 03 00 [12:34:58]MH_I2C_Read... [12:34:58]Read from MH i2c: E2 03 00 CA 16 00 90 00 54 [12:34:58]RAPDU: 90 00 [12:34:58]wFMCommunicate OK [12:34:58]wFMCommunicate request_size=255 [12:34:58]MH_SAM_APDU [12:34:58]CAPDU: 80 0D 02 02 FA 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 75 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 38 33 39 38 06 04 31 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 BC D1 8F D1 82 D0 B0 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 7E [12:34:58]Write to MH i2c: E2 02 01 CB 16 80 0D 02 02 FA 00 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 75 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 38 33 39 38 06 04 31 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 BC D1 8F D1 82 D0 B0 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 7E 00 00 7C [12:34:58]Write i2c OK [12:34:58]MH_I2C_Read... [12:34:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:34:59]Read from MH i2c: E2 [12:34:59]MH_I2C_Read... [12:34:59]Read from MH i2c: E2 03 00 [12:34:59]MH_I2C_Read... [12:34:59]Read from MH i2c: E2 03 00 CB 16 00 90 00 55 [12:34:59]RAPDU: 90 00 [12:34:59]wFMCommunicate OK [12:34:59]wFMCommunicate request_size=255 [12:34:59]MH_SAM_APDU [12:34:59]CAPDU: 80 0D 02 02 FA 00 8A 04 0D 00 34 38 36 30 31 30 33 33 35 36 36 31 31 06 04 3A 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 9C D0 B8 D0 BB D0 BB D0 B5 D1 80 20 D0 94 D0 B6 D0 B5 D0 BD D1 8C D1 8E D0 BD 20 D0 94 D1 80 D0 B0 D1 84 D1 82 20 30 2C 35 D0 BB 20 D1 81 D1 82 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 90 65 00 00 00 00 13 04 06 00 40 96 01 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 [12:34:59]Write to MH i2c: E2 02 01 CC 16 80 0D 02 02 FA 00 00 8A 04 0D 00 34 38 36 30 31 30 33 33 35 36 36 31 31 06 04 3A 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 9C D0 B8 D0 BB D0 BB D0 B5 D1 80 20 D0 94 D0 B6 D0 B5 D0 BD D1 8C D1 8E D0 BD 20 D0 94 D1 80 D0 B0 D1 84 D1 82 20 30 2C 35 D0 BB 20 D1 81 D1 82 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 90 65 00 00 00 00 13 04 06 00 40 96 01 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 00 00 37 [12:34:59]Write i2c OK [12:34:59]MH_I2C_Read... [12:34:59]Read from MH i2c: E2 [12:34:59]MH_I2C_Read... [12:34:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:34:59]Read from MH i2c: E2 03 00 [12:34:59]MH_I2C_Read... [12:34:59]Read from MH i2c: E2 03 00 CC 16 00 90 00 56 [12:34:59]RAPDU: 90 00 [12:34:59]wFMCommunicate OK [12:34:59]wFMCommunicate request_size=168 [12:34:59]MH_SAM_APDU [12:34:59]CAPDU: 80 0D 02 02 A3 06 00 84 BF 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 39 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B5 4A 00 00 00 00 07 04 06 00 84 BF 02 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 F6 C4 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 27 87 00 00 35 04 06 00 38 6A 42 7F C3 B0 [12:34:59]Write to MH i2c: E2 AB 00 CD 16 80 0D 02 02 A3 00 06 00 84 BF 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 39 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B5 4A 00 00 00 00 07 04 06 00 84 BF 02 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 F6 C4 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 27 87 00 00 35 04 06 00 38 6A 42 7F C3 B0 00 00 32 [12:34:59]Write i2c OK [12:34:59]MH_I2C_Read... [12:34:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:34:59]Read from MH i2c: E2 [12:34:59]MH_I2C_Read... [12:34:59]Read from MH i2c: E2 03 00 [12:34:59]MH_I2C_Read... [12:34:59]Read from MH i2c: E2 03 00 CD 16 00 90 00 57 [12:34:59]RAPDU: 90 00 [12:34:59]wFMCommunicate OK [12:34:59]wFMCommunicate request_size=4 [12:34:59]MH_SAM_APDU [12:34:59]CAPDU: 80 0D 03 02 [12:34:59]Write to MH i2c: E2 08 00 CE 16 80 0D 03 02 00 00 00 00 5F [12:34:59]Write i2c OK [12:34:59]MH_I2C_Read... [12:34:59]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:34:59]Read from MH i2c: E2 [12:34:59]MH_I2C_Read... [12:34:59]Read from MH i2c: E2 0B 00 [12:34:59]MH_I2C_Read... [12:34:59]Read from MH i2c: E2 0B 00 CE 16 00 A3 70 AB 1E 08 1A 4B 7F 90 00 28 [12:34:59]RAPDU: A3 70 AB 1E 08 1A 4B 7F 90 00 [12:34:59]wFMCommunicate OK [12:34:59]SAM_PROTO_SignData done [12:34:59]FM_MakeSignedData done [12:34:59]CreateOFDProtocolMessage [12:34:59]wFMCommunicate request_size=4 [12:34:59]MH_SAM_APDU [12:34:59]CAPDU: 80 11 00 00 [12:34:59]Write to MH i2c: E2 08 00 CF 16 80 11 00 00 00 00 00 00 5F [12:34:59]Write i2c OK [12:34:59]MH_I2C_Read... [12:34:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:34:59]Read from MH i2c: E2 [12:34:59]MH_I2C_Read... [12:34:59]Read from MH i2c: E2 17 00 [12:34:59]MH_I2C_Read... [12:34:59]Read from MH i2c: E2 17 00 CF 16 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 B4 [12:34:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [12:34:59]wFMCommunicate OK [12:34:59]CreateOFDProtocolMessage done [12:34:59]OFDSenderStorePacket 34599 [12:34:59]StoreOFDPacket docnum=34599 [12:34:59]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 A1 03 00 00 9C C3 99 03 C2 66 5A 03 01 00 03 00 8D 03 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 35 30 35 33 39 39 30 31 30 31 35 39 37 06 04 38 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 D0 9F D1 80 D0 B8 D0 BD D0 B3 D0 BB D1 81 20 D1 81 D0 BC D0 B5 D1 82 D0 B0 D0 BD D0 B0 20 D0 B8 20 D0 BB D1 83 D0 BA 20 31 36 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 A4 00 00 00 00 13 04 06 00 10 A4 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 36 30 37 30 31 35 32 33 35 37 37 37 06 04 2B 00 D0 9F D0 B5 D1 87 2E 20 D1 81 D0 B4 2E 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D0 B2 D0 B8 D1 88 D0 BD D1 8F 20 31 33 37 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 1E 00 00 00 00 13 04 06 00 DC 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 75 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 38 33 39 38 06 04 31 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 BC D1 8F D1 82 D0 B0 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 7E 00 8A 04 0D 00 34 38 36 30 31 30 33 33 35 36 36 31 31 06 04 3A 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 9C D0 B8 D0 BB D0 BB D0 B5 D1 80 20 D0 94 D0 B6 D0 B5 D0 BD D1 8C D1 8E D0 BD 20 D0 94 D1 80 D0 B0 D1 84 D1 82 20 30 2C 35 D0 BB 20 D1 81 D1 82 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 90 65 00 00 00 00 13 04 06 00 40 96 01 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 84 BF 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 39 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B5 4A 00 00 00 00 07 04 06 00 84 BF 02 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 F6 C4 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 27 87 00 00 35 04 06 00 38 6A 42 7F C3 B0 A3 70 AB 1E 08 1A 4B 7F [12:34:59]CheckFolder [12:34:59]dirname=/storage/ofd_packets [12:34:59]CheckFolder done [12:34:59]ProducePacketName [12:34:59]name=ofd_packets/00034599 [12:34:59]NVStorageSaveData ofd_packets/00034599 [12:34:59]File name is /storage/ofd_packets/00034599 [12:34:59]Write 959 bytes [12:34:59]NVStorageSaveData done [12:34:59]OFDSenderStorePacket done [12:34:59]KKMCreateOFDPacket done [12:34:59]NVStorageSaveData kkm_last_timestamp [12:34:59]File name is /storage/kkm_last_timestamp [12:34:59]Write 4 bytes [12:34:59]NVStorageSaveData done [12:34:59]ExternCall_PrintAddStr [12:34:59]wPrintStart [12:34:59]Write to MH i2c: 01 00 00 D0 16 E6 [12:34:59]Write i2c OK [12:34:59]MH_I2C_Read... [12:34:59]Read from MH i2c: 01 [12:34:59]MH_I2C_Read... [12:34:59]Read from MH i2c: 01 07 00 [12:34:59]MH_I2C_Read... [12:34:59]Read from MH i2c: 01 07 00 D0 16 00 00 00 00 00 FF 0F FB [12:34:59]RasterBufferAndPrint [12:34:59]line Счет N : (3)184356 [12:35:00]line ИНН: 02508201610067 [12:35:00]line Контрольно-Кассовый Чек [12:35:00]line ПРОДАЖА [12:35:00]line Товар: 5053990101597 [12:35:00]line Чипсы Принглс сметана и лук 165г [12:35:00]line 1.000 * 420.00 [12:35:00]line = 420.00 [12:35:00]line НДС 12% НСП 1% [12:35:00]line > о реализуемом товаре [12:35:00]line Товар: 4607015235777 [12:35:00]line Печ. сд. Яшкино вишня 137г [12:35:00]line 1.000 * 79.00 [12:35:00]line = 79.00 [12:35:00]line НДС 12% НСП 1% [12:35:00]line > о реализуемом товаре [12:35:00]line Товар: 4607035653513 [12:35:00]line Вафли Голландские карамел 290 [12:35:00]line 1.000 * 137.00 [12:35:00]line = 137.00 [12:35:00]line НДС 12% НСП 1% [12:35:00]line > о реализуемом товаре [12:35:00]line Товар: 4870002328398 [12:35:00]line Вода ASU пит н.газ мята ПЭТ 1л [12:35:00]line 1.000 * 100.00 [12:35:00]line = 100.00 [12:35:00]line НДС 12% НСП 1% [12:35:00]line > о реализуемом товаре [12:35:00]line Товар: 4860103356611 [12:35:00]line Пиво Миллер Дженьюн Драфт 0,5л ст [12:35:00]line 4.000 * 260.00 [12:35:00]line = 1040.00 [12:35:00]line НДС 12% НСП 1% [12:35:00]line > о реализуемом товаре [12:35:00]line Товар: 2000027340020 [12:35:00]line Пакет бумажный витая ручка [12:35:00]line 1.000 * 25.00 [12:35:00]line = 25.00 [12:35:00]line НДС 12% НСП 1% [12:35:00]line > о реализуемом товаре [12:35:00]line ИТОГО: 1801.00 [12:35:00]line НСП 1% : 15.93 [12:35:00]line НДС 12% : 191.25 [12:35:00]line Наличными: 1801.00 [12:35:00]line Безнал.: 0.00 [12:35:00]line Место: АЗС № 120 "Партнер Нефть" [12:35:00]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [12:35:00]line СНО: Общий режим [12:35:00]line Чек 25 22.06.2024 12:35 [12:35:00]line Смена: 327 ФФД: 1.0 [12:35:00]line ЗНМ: 0300000172 [12:35:00]line РНМ: 0000000000092786 [12:35:00]line Версия ККМ: 001 [12:35:00]line ФМ: 0000000000875095 [12:35:00]line ФД: 34599 [12:35:00]line ФПД: 62029033358256 [12:35:00]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T123502&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34599&fm=62029033358256&tin=02508201610067®Number=0000000000092786&sum=180100 [12:35:00]OFD Sender: Processing packet 34599 [packets to send 8, broken 7] [12:35:00]line 0 [12:35:00]ProducePacketName [12:35:00]name=ofd_packets/00034599 [12:35:00]OFD Sender: To server: pG, [12:35:00]CommunicateWithHost lk.salyk.kg:30040 [12:35:00]ConnectInit lk.salyk.kg [12:35:00]written 0, free lines is 4095 [12:35:00]Connected sock=10 [12:35:00]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 A1 03 00 00 9C C3 99 03 C2 66 5A 03 01 00 03 00 8D 03 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 35 30 35 33 39 39 30 31 30 31 35 39 37 06 04 38 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 D0 9F D1 80 D0 B8 D0 BD D0 B3 D0 BB D1 81 20 D1 81 D0 BC D0 B5 D1 82 D0 B0 D0 BD D0 B0 20 D0 B8 20 D0 BB D1 83 D0 BA 20 31 36 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 A4 00 00 00 00 13 04 06 00 10 A4 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 36 30 37 30 31 35 32 33 35 37 37 37 06 04 2B 00 D0 9F D0 B5 D1 87 2E 20 D1 81 D0 B4 2E 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D0 B2 D0 B8 D1 88 D0 BD D1 8F 20 31 33 37 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 1E 00 00 00 00 13 04 06 00 DC 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 75 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 38 33 39 38 06 04 31 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 BC D1 8F D1 82 D0 B0 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 7E 00 8A 04 0D 00 34 38 36 30 31 30 33 33 35 36 36 31 31 06 04 3A 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 9C D0 B8 D0 BB D0 BB D0 B5 D1 80 20 D0 94 D0 B6 D0 B5 D0 BD D1 8C D1 8E D0 BD 20 D0 94 D1 80 D0 B0 D1 84 D1 82 20 30 2C 35 D0 BB 20 D1 81 D1 82 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 90 65 00 00 00 00 13 04 06 00 40 96 01 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 84 BF 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 39 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B5 4A 00 00 00 00 07 04 06 00 84 BF 02 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 F6 C4 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 27 87 00 00 35 04 06 00 38 6A 42 7F C3 B0 A3 70 AB 1E 08 1A 4B 7F [12:35:00]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 1D 95 47 00 91 72 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 27 87 00 00 F4 03 04 00 BB 6B 76 66 B6 04 01 00 00 97 09 27 6B 49 6A 7B 27 [12:35:00]CommunicateWithHost err = 0 [12:35:00]CheckOFDResponse [12:35:00]1017 (14) - 77093643461234 [12:35:00]1041 (16) - 0000000000875095 [12:35:00]1040 (4) - 34599 [12:35:00]1012 (4) - 22.06.2024 06:14 [12:35:00]1206 (1) - 0 [12:35:00]OFD Sender: Remove packet 34599 [12:35:00]ProducePacketName [12:35:00]name=ofd_packets/00034599 [12:35:00]NVStorageDeleteData [12:35:00]Write to MH i2c: 01 00 00 1A 17 31 [12:35:00]Write i2c OK [12:35:00]MH_I2C_Read... [12:35:00]Read from MH i2c: 01 [12:35:00]MH_I2C_Read... [12:35:00]Read from MH i2c: 01 07 00 [12:35:00]MH_I2C_Read... [12:35:00]Read from MH i2c: 01 07 00 1A 17 00 00 00 00 00 EB 0A 2D [12:35:00]RasterBufferAndPrint [12:35:00]line [12:35:00]line [12:35:00]line [12:35:00]line [12:35:00]line [12:35:00]written 0, free lines is 2807 [12:35:00]MH_Cut [12:35:00]Write to MH i2c: D1 01 00 21 17 01 0A [12:35:00]Write i2c OK [12:35:00]MH_I2C_Read... [12:35:00]Read from MH i2c: D1 [12:35:00]MH_I2C_Read... [12:35:00]Read from MH i2c: D1 01 00 [12:35:00]MH_I2C_Read... [12:35:00]Read from MH i2c: D1 01 00 21 17 00 09 [12:35:00]Write to MH i2c: 01 00 00 22 17 39 [12:35:00]Write i2c OK [12:35:00]MH_I2C_Read... [12:35:01]OFD Sender: No OFD packet to send [12:35:02]*** Cut start [12:35:02]*** Partial cut [12:35:02]*** CUTSNS_PIN = 1 [12:35:02]*** CUTSNS_PIN = 0 [12:35:02]*** Brake cut motor [12:35:02]Read from MH i2c: 01 [12:35:02]MH_I2C_Read... [12:35:02]*** Stop cut motor [12:35:02]*** Cut end [12:35:02]Read from MH i2c: 01 07 00 [12:35:02]MH_I2C_Read... [12:35:02]Read from MH i2c: 01 07 00 22 17 00 00 00 00 00 FF 0F 4E [12:35:02]process_action close_receipt done [12:35:02]requested_data is exist [12:35:02]produce_requested_data [12:35:02]requested_item fm.sn is exist - process it [12:35:02]wFMCommunicate request_size=4 [12:35:02]MH_SAM_APDU [12:35:02]CAPDU: 80 11 00 00 [12:35:02]Write to MH i2c: E2 08 00 23 17 80 11 00 00 00 00 00 00 B4 [12:35:02]Write i2c OK [12:35:02]MH_I2C_Read... [12:35:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:35:02]Read from MH i2c: E2 [12:35:02]MH_I2C_Read... [12:35:02]Read from MH i2c: E2 17 00 [12:35:02]MH_I2C_Read... [12:35:02]Read from MH i2c: E2 17 00 23 17 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 09 [12:35:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [12:35:02]wFMCommunicate OK [12:35:02]requested_item fd.num is exist - process it [12:35:02]SAM_PROTO_GetFieldsCounters [12:35:02]wFMCommunicate request_size=4 [12:35:02]MH_SAM_APDU [12:35:02]CAPDU: 80 13 00 00 [12:35:02]Write to MH i2c: E2 08 00 24 17 80 13 00 00 00 00 00 00 B7 [12:35:02]Write i2c OK [12:35:02]MH_I2C_Read... [12:35:02]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:35:02]Read from MH i2c: E2 [12:35:02]MH_I2C_Read... [12:35:02]Read from MH i2c: E2 62 00 [12:35:02]MH_I2C_Read... [12:35:02]Read from MH i2c: E2 62 00 24 17 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 27 87 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 22 [12:35:02]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 27 87 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:35:02]wFMCommunicate OK [12:35:02]SAM_PROTO_GetFieldsCounters done [12:35:02]requested_item shift.num is exist - process it [12:35:02]requested_item shift.opened is exist - process it [12:35:02]req_shift_opened [12:35:02]FM_GetShiftState [12:35:02]SAM_PROTO_GetShiftState [12:35:02]wFMCommunicate request_size=4 [12:35:02]MH_SAM_APDU [12:35:02]CAPDU: 80 13 01 00 [12:35:02]Write to MH i2c: E2 08 00 25 17 80 13 01 00 00 00 00 00 B9 [12:35:02]Write i2c OK [12:35:02]MH_I2C_Read... [12:35:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:35:02]Read from MH i2c: E2 [12:35:02]MH_I2C_Read... [12:35:02]Read from MH i2c: E2 0E 00 [12:35:02]MH_I2C_Read... [12:35:02]Read from MH i2c: E2 0E 00 25 17 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 73 [12:35:02]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [12:35:02]wFMCommunicate OK [12:35:02]SAM_PROTO_GetShiftState done [12:35:02]FM_GetShiftState done [12:35:02]req_shift_opened done [12:35:02]requested_item shift.open_date is exist - process it [12:35:02]req_shift_open_date [12:35:02]req_shift_open_date done [12:35:02]produce_requested_data done [12:35:02]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34599,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120} [12:35:02]process_action_free close_receipt [12:35:02]json_value_free [12:35:02]json_value_free done [12:35:02]process_json_proto returns [12:35:02]Send response to host [12:35:02]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34599,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120}}} [12:35:02]free response buf [12:35:02]execute_script done [12:35:02]execute_script returns [12:35:02]free content buf [12:35:02]Sock 7.Close socket [12:35:02]Sock 7.Thread stoped [12:35:06]OFD Sender: No OFD packet to send [12:35:11]OFD Sender: No OFD packet to send [12:35:16]OFD Sender: No OFD packet to send [12:35:21]OFD Sender: No OFD packet to send [12:35:26]OFD Sender: No OFD packet to send [12:35:31]OFD Sender: No OFD packet to send [12:35:36]OFD Sender: No OFD packet to send [12:35:41]OFD Sender: No OFD packet to send [12:35:46]OFD Sender: No OFD packet to send [12:35:51]OFD Sender: No OFD packet to send [12:35:56]OFD Sender: No OFD packet to send [12:36:01]OFD Sender: No OFD packet to send [12:36:06]OFD Sender: No OFD packet to send [12:36:11]OFD Sender: No OFD packet to send [12:36:16]OFD Sender: No OFD packet to send [12:36:21]OFD Sender: No OFD packet to send [12:36:26]OFD Sender: No OFD packet to send [12:36:31]OFD Sender: No OFD packet to send [12:36:36]OFD Sender: No OFD packet to send [12:36:41]OFD Sender: No OFD packet to send [12:36:46]OFD Sender: No OFD packet to send [12:36:51]OFD Sender: No OFD packet to send [12:36:56]OFD Sender: No OFD packet to send [12:37:01]OFD Sender: No OFD packet to send [12:37:06]OFD Sender: No OFD packet to send [12:37:11]OFD Sender: No OFD packet to send [12:37:16]OFD Sender: No OFD packet to send [12:37:21]OFD Sender: No OFD packet to send [12:37:26]OFD Sender: No OFD packet to send [12:37:31]OFD Sender: No OFD packet to send [12:37:36]OFD Sender: No OFD packet to send [12:37:41]OFD Sender: No OFD packet to send [12:37:46]OFD Sender: No OFD packet to send [12:37:51]OFD Sender: No OFD packet to send [12:37:56]OFD Sender: No OFD packet to send [12:38:01]OFD Sender: No OFD packet to send [12:38:06]OFD Sender: No OFD packet to send [12:38:11]OFD Sender: No OFD packet to send [12:38:16]OFD Sender: No OFD packet to send [12:38:21]OFD Sender: No OFD packet to send [12:38:26]OFD Sender: No OFD packet to send [12:38:31]OFD Sender: No OFD packet to send [12:38:36]OFD Sender: No OFD packet to send [12:38:41]OFD Sender: No OFD packet to send [12:38:46]OFD Sender: No OFD packet to send [12:38:51]OFD Sender: No OFD packet to send [12:38:56]OFD Sender: No OFD packet to send [12:39:01]OFD Sender: No OFD packet to send [12:39:06]OFD Sender: No OFD packet to send [12:39:11]OFD Sender: No OFD packet to send [12:39:12]accept exits with 9 [12:39:12]New connection [12:39:12]New thread 3067616612 created [12:39:12]Thread 3067473252 joined [12:39:12]Waiting for new connection... [12:39:12] Sock 9.Parse request [12:39:12]Sock 9.Check first char [12:39:12]Sock 9.First char is OK [12:39:12]request: POST /json_proto HTTP/1.0 [12:39:12]Method: POST [12:39:12]URL: /json_proto [12:39:12]Method is POST - this is cgi request [12:39:12]url: /json_proto [12:39:12]query_string will be loaded in cgi processing [12:39:12]execute_cgi json_proto POST (null) [12:39:12]execute_cgi path=json_proto method=POST [12:39:12]POST find Content-Length [12:39:12]Host: 172.17.38.134:8080 [12:39:12]Content-Length: 865 [12:39:12]Content-Type: application/json [12:39:12] [12:39:12]POST finish read [12:39:12]Found Content-Length = 865 [12:39:12]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184357", "tax_sys" : 0, "items" : [ { "code": "5449000133328", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 Zero 1\u043B", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "50173808", "name": "\u0416\u0435\u0432 Orbit Sweet Mint", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 170.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:39:12]execute_script... [12:39:12]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184357", "tax_sys" : 0, "items" : [ { "code": "5449000133328", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 Zero 1\u043B", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "50173808", "name": "\u0416\u0435\u0432 Orbit Sweet Mint", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 170.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:39:12]POST & json_proto [12:39:12]process_json_proto [12:39:12]json parsed OK: [12:39:12]protocol is kg_v1.0 [12:39:12]action value=close_receipt [12:39:12]process_action close_receipt [12:39:12]cmd_close_receipt [12:39:12]MH_GetDate [12:39:12]Write to MH i2c: F0 00 00 26 17 2C [12:39:12]Write i2c OK [12:39:12]MH_I2C_Read... [12:39:12]Read from MH i2c: F0 [12:39:12]MH_I2C_Read... [12:39:12]Read from MH i2c: F0 09 00 [12:39:12]MH_I2C_Read... [12:39:12]Read from MH i2c: F0 09 00 26 17 00 F6 C5 76 66 13 9C 7C 64 5B [12:39:12]GetLastDocTimeStamp 1719059702 [12:39:12]current date 1719059958 [12:39:12]FM_GetShiftState [12:39:12]SAM_PROTO_GetShiftState [12:39:12]wFMCommunicate request_size=4 [12:39:12]MH_SAM_APDU [12:39:12]CAPDU: 80 13 01 00 [12:39:12]Write to MH i2c: E2 08 00 27 17 80 13 01 00 00 00 00 00 BB [12:39:12]Write i2c OK [12:39:12]MH_I2C_Read... [12:39:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:39:12]Read from MH i2c: E2 [12:39:12]MH_I2C_Read... [12:39:12]Read from MH i2c: E2 0E 00 [12:39:12]MH_I2C_Read... [12:39:12]Read from MH i2c: E2 0E 00 27 17 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 75 [12:39:12]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [12:39:12]wFMCommunicate OK [12:39:12]SAM_PROTO_GetShiftState done [12:39:12]FM_GetShiftState done [12:39:12]opened in 1719016120 [12:39:12]opened+sec_in_day 1719102520 [12:39:12]quantity*price = 12500 [12:39:12]sum+1 = 12501 [12:39:12]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 50173808 Жев Orbit Sweet Mint 1.000 * 45.00 = 45.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 170.00 НСП 1% : 1.51 НДС 12% : 18.05 Наличными: 170.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 26 22.06.2024 12:39 Смена: 327 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34600 ФПД: 275130415503539 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T123918&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34600&fm=275130415503539&tin=02508201610067®Number=0000000000092786&sum=17000 0 [12:39:13]StoreToDocumentArchive [12:39:13]shift 327 fd 34600 [12:39:13]save to /storage/0327/doc_00034600 [12:39:13]save last doc name /storage/0327/doc_00034600 to /storage/kkm_last_doc_name [12:39:13]save OK [12:39:13]Clear old archive folders... [12:39:13]ProcessDocumentItem done err = 0, tmpTLVsize=373 [12:39:13]tlvbuf is 015D8330 [12:39:13]SAM_PROTO_ClearQueue [12:39:13]wFMCommunicate request_size=4 [12:39:13]MH_SAM_APDU [12:39:13]CAPDU: 80 09 00 00 [12:39:13]Write to MH i2c: E2 08 00 34 17 80 09 00 00 00 00 00 00 BD [12:39:13]Write i2c OK [12:39:13]MH_I2C_Read... [12:39:13]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:39:13]Read from MH i2c: E2 [12:39:13]MH_I2C_Read... [12:39:13]Read from MH i2c: E2 03 00 [12:39:13]MH_I2C_Read... [12:39:13]Read from MH i2c: E2 03 00 34 17 00 90 00 BF [12:39:13]RAPDU: 90 00 [12:39:13]wFMCommunicate OK [12:39:13]SAM_PROTO_ClearQueue done [12:39:13]KKMCreateOFDPacket [12:39:13]OFDProtocolAddRootSTLVToBuf [12:39:13]FM_MakeSignedData [12:39:13]FM_MakeSignedData [12:39:13]SAM_PROTO_SignData [12:39:13]wFMCommunicate request_size=4 [12:39:13]MH_SAM_APDU [12:39:13]CAPDU: 80 0D 01 02 [12:39:13]Write to MH i2c: E2 08 00 35 17 80 0D 01 02 00 00 00 00 C5 [12:39:13]Write i2c OK [12:39:13]MH_I2C_Read... [12:39:14]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:39:14]Read from MH i2c: E2 [12:39:14]MH_I2C_Read... [12:39:14]Read from MH i2c: E2 03 00 [12:39:14]MH_I2C_Read... [12:39:14]Read from MH i2c: E2 03 00 35 17 00 90 00 C0 [12:39:14]RAPDU: 90 00 [12:39:14]wFMCommunicate OK [12:39:14]wFMCommunicate request_size=255 [12:39:14]MH_SAM_APDU [12:39:14]CAPDU: 80 0D 02 02 FA 03 00 75 01 1E 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 56 00 8A 04 08 00 35 30 31 37 33 38 30 38 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 53 77 65 65 74 20 4D 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 68 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 97 00 00 00 00 00 EE 03 0F 00 F2 [12:39:14]Write to MH i2c: E2 02 01 36 17 80 0D 02 02 FA 00 03 00 75 01 1E 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 56 00 8A 04 08 00 35 30 31 37 33 38 30 38 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 53 77 65 65 74 20 4D 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 68 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 97 00 00 00 00 00 EE 03 0F 00 F2 00 00 A1 [12:39:14]Write i2c OK [12:39:14]MH_I2C_Read... [12:39:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:39:14]Read from MH i2c: E2 [12:39:14]MH_I2C_Read... [12:39:14]Read from MH i2c: E2 03 00 [12:39:14]MH_I2C_Read... [12:39:14]Read from MH i2c: E2 03 00 36 17 00 90 00 C1 [12:39:14]RAPDU: 90 00 [12:39:14]wFMCommunicate OK [12:39:14]wFMCommunicate request_size=132 [12:39:14]MH_SAM_APDU [12:39:14]CAPDU: 80 0D 02 02 7F 03 01 00 01 F3 03 06 00 0D 07 00 00 00 00 07 04 06 00 68 42 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 F6 C5 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 28 87 00 00 35 04 06 00 FA 3A CA AE D8 B3 [12:39:14]Write to MH i2c: E2 87 00 37 17 80 0D 02 02 7F 00 03 01 00 01 F3 03 06 00 0D 07 00 00 00 00 07 04 06 00 68 42 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 F6 C5 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 28 87 00 00 35 04 06 00 FA 3A CA AE D8 B3 00 00 A7 [12:39:14]Write i2c OK [12:39:14]MH_I2C_Read... [12:39:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:39:14]Read from MH i2c: E2 [12:39:14]MH_I2C_Read... [12:39:14]Read from MH i2c: E2 03 00 [12:39:14]MH_I2C_Read... [12:39:14]Read from MH i2c: E2 03 00 37 17 00 90 00 C2 [12:39:14]RAPDU: 90 00 [12:39:14]wFMCommunicate OK [12:39:14]wFMCommunicate request_size=4 [12:39:14]MH_SAM_APDU [12:39:14]CAPDU: 80 0D 03 02 [12:39:14]Write to MH i2c: E2 08 00 38 17 80 0D 03 02 00 00 00 00 CA [12:39:14]Write i2c OK [12:39:14]MH_I2C_Read... [12:39:14]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:39:14]Read from MH i2c: E2 [12:39:14]MH_I2C_Read... [12:39:14]Read from MH i2c: E2 0B 00 [12:39:14]MH_I2C_Read... [12:39:14]Read from MH i2c: E2 0B 00 38 17 00 21 3C CA 1E 72 22 E1 96 90 00 1B [12:39:14]RAPDU: 21 3C CA 1E 72 22 E1 96 90 00 [12:39:14]wFMCommunicate OK [12:39:14]SAM_PROTO_SignData done [12:39:14]FM_MakeSignedData done [12:39:14]CreateOFDProtocolMessage [12:39:14]wFMCommunicate request_size=4 [12:39:14]MH_SAM_APDU [12:39:14]CAPDU: 80 11 00 00 [12:39:14]Write to MH i2c: E2 08 00 39 17 80 11 00 00 00 00 00 00 CA [12:39:14]Write i2c OK [12:39:14]MH_I2C_Read... [12:39:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:39:14]Read from MH i2c: E2 [12:39:14]MH_I2C_Read... [12:39:14]Read from MH i2c: E2 17 00 [12:39:14]MH_I2C_Read... [12:39:14]Read from MH i2c: E2 17 00 39 17 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 1F [12:39:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [12:39:14]wFMCommunicate OK [12:39:14]CreateOFDProtocolMessage done [12:39:14]OFDSenderStorePacket 34600 [12:39:14]StoreOFDPacket docnum=34600 [12:39:14]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 89 01 00 00 B1 D9 81 01 F9 ED 5A 03 01 00 03 00 75 01 1E 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 56 00 8A 04 08 00 35 30 31 37 33 38 30 38 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 53 77 65 65 74 20 4D 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 68 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 97 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0D 07 00 00 00 00 07 04 06 00 68 42 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 F6 C5 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 28 87 00 00 35 04 06 00 FA 3A CA AE D8 B3 21 3C CA 1E 72 22 E1 96 [12:39:14]CheckFolder [12:39:14]dirname=/storage/ofd_packets [12:39:14]CheckFolder done [12:39:14]ProducePacketName [12:39:14]name=ofd_packets/00034600 [12:39:14]NVStorageSaveData ofd_packets/00034600 [12:39:14]File name is /storage/ofd_packets/00034600 [12:39:14]Write 423 bytes [12:39:14]NVStorageSaveData done [12:39:14]OFDSenderStorePacket done [12:39:14]KKMCreateOFDPacket done [12:39:14]NVStorageSaveData kkm_last_timestamp [12:39:14]File name is /storage/kkm_last_timestamp [12:39:14]Write 4 bytes [12:39:14]NVStorageSaveData done [12:39:14]ExternCall_PrintAddStr [12:39:14]wPrintStart [12:39:14]Write to MH i2c: 01 00 00 3A 17 51 [12:39:14]Write i2c OK [12:39:14]MH_I2C_Read... [12:39:14]Read from MH i2c: 01 [12:39:14]MH_I2C_Read... [12:39:14]Read from MH i2c: 01 07 00 [12:39:14]MH_I2C_Read... [12:39:14]Read from MH i2c: 01 07 00 3A 17 00 00 00 00 00 FF 0F 66 [12:39:14]RasterBufferAndPrint [12:39:14]line Счет N : (3)184357 [12:39:14]line ИНН: 02508201610067 [12:39:14]line Контрольно-Кассовый Чек [12:39:14]line ПРОДАЖА [12:39:14]line Товар: 5449000133328 [12:39:14]line Напиток Кока-Кола Zero 1л [12:39:14]line 1.000 * 125.00 [12:39:14]line = 125.00 [12:39:14]line НДС 12% НСП 1% [12:39:14]line > о реализуемом товаре [12:39:14]line Товар: 50173808 [12:39:14]line Жев Orbit Sweet Mint [12:39:14]line 1.000 * 45.00 [12:39:14]line = 45.00 [12:39:14]line НДС 12% НСП 1% [12:39:14]line > о реализуемом товаре [12:39:14]line ИТОГО: 170.00 [12:39:14]line НСП 1% : 1.51 [12:39:14]line НДС 12% : 18.05 [12:39:14]line Наличными: 170.00 [12:39:14]line Безнал.: 0.00 [12:39:14]line Место: АЗС № 120 "Партнер Нефть" [12:39:14]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [12:39:14]line СНО: Общий режим [12:39:14]line Чек 26 22.06.2024 12:39 [12:39:14]line Смена: 327 ФФД: 1.0 [12:39:14]line ЗНМ: 0300000172 [12:39:14]line РНМ: 0000000000092786 [12:39:14]line Версия ККМ: 001 [12:39:14]line ФМ: 0000000000875095 [12:39:14]line ФД: 34600 [12:39:14]line ФПД: 275130415503539 [12:39:14]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T123918&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34600&fm=275130415503539&tin=02508201610067®Number=0000000000092786&sum=17000 [12:39:14]line 0 [12:39:14]OFD Sender: Processing packet 34600 [packets to send 8, broken 7] [12:39:14]ProducePacketName [12:39:14]name=ofd_packets/00034600 [12:39:14]OFD Sender: To server: pG, [12:39:14]CommunicateWithHost lk.salyk.kg:30040 [12:39:14]ConnectInit lk.salyk.kg [12:39:14]written 0, free lines is 4095 [12:39:15]Connected sock=11 [12:39:15]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 89 01 00 00 B1 D9 81 01 F9 ED 5A 03 01 00 03 00 75 01 1E 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 56 00 8A 04 08 00 35 30 31 37 33 38 30 38 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 53 77 65 65 74 20 4D 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 68 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 97 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0D 07 00 00 00 00 07 04 06 00 68 42 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 F6 C5 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 28 87 00 00 35 04 06 00 FA 3A CA AE D8 B3 21 3C CA 1E 72 22 E1 96 [12:39:15]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 9B DA 47 00 AC 73 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 28 87 00 00 F4 03 04 00 BA 6C 76 66 B6 04 01 00 00 84 10 5D EA 58 0E 5E C4 [12:39:15]CommunicateWithHost err = 0 [12:39:15]CheckOFDResponse [12:39:15]1017 (14) - 77093643461234 [12:39:15]1041 (16) - 0000000000875095 [12:39:15]1040 (4) - 34600 [12:39:15]1012 (4) - 22.06.2024 06:18 [12:39:15]1206 (1) - 0 [12:39:15]OFD Sender: Remove packet 34600 [12:39:15]ProducePacketName [12:39:15]name=ofd_packets/00034600 [12:39:15]NVStorageDeleteData [12:39:15]Write to MH i2c: 01 00 00 68 17 7F [12:39:15]Write i2c OK [12:39:15]MH_I2C_Read... [12:39:15]Read from MH i2c: 01 [12:39:15]MH_I2C_Read... [12:39:15]Read from MH i2c: 01 07 00 [12:39:15]MH_I2C_Read... [12:39:15]Read from MH i2c: 01 07 00 68 17 00 00 00 00 00 A1 0C 33 [12:39:15]RasterBufferAndPrint [12:39:15]line [12:39:15]line [12:39:15]line [12:39:15]line [12:39:15]line [12:39:15]written 0, free lines is 3238 [12:39:15]MH_Cut [12:39:15]Write to MH i2c: D1 01 00 6F 17 01 58 [12:39:15]Write i2c OK [12:39:15]MH_I2C_Read... [12:39:15]Read from MH i2c: D1 [12:39:15]MH_I2C_Read... [12:39:15]Read from MH i2c: D1 01 00 [12:39:15]MH_I2C_Read... [12:39:15]Read from MH i2c: D1 01 00 6F 17 00 57 [12:39:15]Write to MH i2c: 01 00 00 70 17 87 [12:39:15]Write i2c OK [12:39:15]MH_I2C_Read... [12:39:15]OFD Sender: No OFD packet to send [12:39:16]*** Cut start [12:39:16]*** Partial cut [12:39:16]*** CUTSNS_PIN = 1 [12:39:16]*** CUTSNS_PIN = 0 [12:39:16]*** Brake cut motor [12:39:16]Read from MH i2c: 01 [12:39:16]MH_I2C_Read... [12:39:16]*** Stop cut motor [12:39:16]*** Cut end [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 70 17 00 00 00 00 00 FF 0F 9C [12:39:16]process_action close_receipt done [12:39:16]requested_data is exist [12:39:16]produce_requested_data [12:39:16]requested_item fm.sn is exist - process it [12:39:16]wFMCommunicate request_size=4 [12:39:16]MH_SAM_APDU [12:39:16]CAPDU: 80 11 00 00 [12:39:16]Write to MH i2c: E2 08 00 71 17 80 11 00 00 00 00 00 00 02 [12:39:16]Write i2c OK [12:39:16]MH_I2C_Read... [12:39:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:39:16]Read from MH i2c: E2 [12:39:16]MH_I2C_Read... [12:39:16]Read from MH i2c: E2 17 00 [12:39:16]MH_I2C_Read... [12:39:16]Read from MH i2c: E2 17 00 71 17 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 57 [12:39:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [12:39:16]wFMCommunicate OK [12:39:16]requested_item fd.num is exist - process it [12:39:16]SAM_PROTO_GetFieldsCounters [12:39:16]wFMCommunicate request_size=4 [12:39:16]MH_SAM_APDU [12:39:16]CAPDU: 80 13 00 00 [12:39:16]Write to MH i2c: E2 08 00 72 17 80 13 00 00 00 00 00 00 05 [12:39:16]Write i2c OK [12:39:16]MH_I2C_Read... [12:39:16]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:39:17]Read from MH i2c: E2 [12:39:17]MH_I2C_Read... [12:39:17]Read from MH i2c: E2 62 00 [12:39:17]MH_I2C_Read... [12:39:17]Read from MH i2c: E2 62 00 72 17 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 28 87 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 74 [12:39:17]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 28 87 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:39:17]wFMCommunicate OK [12:39:17]SAM_PROTO_GetFieldsCounters done [12:39:17]requested_item shift.num is exist - process it [12:39:17]requested_item shift.opened is exist - process it [12:39:17]req_shift_opened [12:39:17]FM_GetShiftState [12:39:17]SAM_PROTO_GetShiftState [12:39:17]wFMCommunicate request_size=4 [12:39:17]MH_SAM_APDU [12:39:17]CAPDU: 80 13 01 00 [12:39:17]Write to MH i2c: E2 08 00 73 17 80 13 01 00 00 00 00 00 07 [12:39:17]Write i2c OK [12:39:17]MH_I2C_Read... [12:39:17]Read from MH i2c: E2 [12:39:17]MH_I2C_Read... [12:39:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:39:17]Read from MH i2c: E2 0E 00 [12:39:17]MH_I2C_Read... [12:39:17]Read from MH i2c: E2 0E 00 73 17 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 C1 [12:39:17]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [12:39:17]wFMCommunicate OK [12:39:17]SAM_PROTO_GetShiftState done [12:39:17]FM_GetShiftState done [12:39:17]req_shift_opened done [12:39:17]requested_item shift.open_date is exist - process it [12:39:17]req_shift_open_date [12:39:17]req_shift_open_date done [12:39:17]produce_requested_data done [12:39:17]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34600,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120} [12:39:17]process_action_free close_receipt [12:39:17]json_value_free [12:39:17]json_value_free done [12:39:17]process_json_proto returns [12:39:17]Send response to host [12:39:17]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34600,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120}}} [12:39:17]free response buf [12:39:17]execute_script done [12:39:17]execute_script returns [12:39:17]free content buf [12:39:17]Sock 9.Close socket [12:39:17]Sock 9.Thread stoped [12:39:20]OFD Sender: No OFD packet to send [12:39:25]OFD Sender: No OFD packet to send [12:39:30]OFD Sender: No OFD packet to send [12:39:35]OFD Sender: No OFD packet to send [12:39:40]OFD Sender: No OFD packet to send [12:39:45]OFD Sender: No OFD packet to send [12:39:50]OFD Sender: No OFD packet to send [12:39:55]OFD Sender: No OFD packet to send [12:40:00]OFD Sender: No OFD packet to send [12:40:05]OFD Sender: No OFD packet to send [12:40:10]OFD Sender: No OFD packet to send [12:40:15]OFD Sender: No OFD packet to send [12:40:20]OFD Sender: No OFD packet to send [12:40:25]OFD Sender: No OFD packet to send [12:40:30]OFD Sender: No OFD packet to send [12:40:35]OFD Sender: No OFD packet to send [12:40:40]OFD Sender: No OFD packet to send [12:40:45]OFD Sender: No OFD packet to send [12:40:50]OFD Sender: No OFD packet to send [12:40:55]OFD Sender: No OFD packet to send [12:41:00]OFD Sender: No OFD packet to send [12:41:05]OFD Sender: No OFD packet to send [12:41:10]OFD Sender: No OFD packet to send [12:41:15]OFD Sender: No OFD packet to send [12:41:20]OFD Sender: No OFD packet to send [12:41:25]OFD Sender: No OFD packet to send [12:41:30]OFD Sender: No OFD packet to send [12:41:35]OFD Sender: No OFD packet to send [12:41:39]accept exits with 7 [12:41:39]New connection [12:41:39]New thread 3067473252 created [12:41:39]Thread 3067616612 joined [12:41:39]Waiting for new connection... [12:41:39] Sock 7.Parse request [12:41:39]Sock 7.Check first char [12:41:39]Sock 7.First char is OK [12:41:39]request: POST /json_proto HTTP/1.0 [12:41:39]Method: POST [12:41:39]URL: /json_proto [12:41:39]Method is POST - this is cgi request [12:41:39]url: /json_proto [12:41:39]query_string will be loaded in cgi processing [12:41:39]execute_cgi json_proto POST (null) [12:41:39]execute_cgi path=json_proto method=POST [12:41:39]POST find Content-Length [12:41:39]Host: 172.17.38.134:8080 [12:41:39]Content-Length: 930 [12:41:39]Content-Type: application/json [12:41:39] [12:41:39]POST finish read [12:41:39]Found Content-Length = 930 [12:41:39]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184358", "tax_sys" : 0, "items" : [ { "code": "6000911553446", "name": "\u0410\u0432\u0442\u043E\u043C\u043E\u0431\u0438\u043B\u044C\u043D\u043E\u0435 \u0437\u0430\u0440\u044F\u0434\u043D\u043E\u0435 \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u043E CAR CH", "price" : 300.00, "quantity" : 1.000, "sum" : 300.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 300.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:41:39]execute_script... [12:41: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)184358", "tax_sys" : 0, "items" : [ { "code": "6000911553446", "name": "\u0410\u0432\u0442\u043E\u043C\u043E\u0431\u0438\u043B\u044C\u043D\u043E\u0435 \u0437\u0430\u0440\u044F\u0434\u043D\u043E\u0435 \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u043E CAR CH", "price" : 300.00, "quantity" : 1.000, "sum" : 300.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 300.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:41:39]POST & json_proto [12:41:39]process_json_proto [12:41:39]json parsed OK: [12:41:39]protocol is kg_v1.0 [12:41:39]action value=close_receipt [12:41:39]process_action close_receipt [12:41:39]cmd_close_receipt [12:41:39]MH_GetDate [12:41:39]Write to MH i2c: F0 00 00 74 17 7A [12:41:39]Write i2c OK [12:41:39]MH_I2C_Read... [12:41:39]Read from MH i2c: F0 [12:41:39]MH_I2C_Read... [12:41:39]Read from MH i2c: F0 09 00 [12:41:39]MH_I2C_Read... [12:41:39]Read from MH i2c: F0 09 00 74 17 00 88 C6 76 66 13 9C 7C 64 3C [12:41:39]GetLastDocTimeStamp 1719059958 [12:41:39]current date 1719060104 [12:41:39]FM_GetShiftState [12:41:39]SAM_PROTO_GetShiftState [12:41:39]wFMCommunicate request_size=4 [12:41:39]MH_SAM_APDU [12:41:39]CAPDU: 80 13 01 00 [12:41:39]Write to MH i2c: E2 08 00 75 17 80 13 01 00 00 00 00 00 09 [12:41:39]Write i2c OK [12:41:39]MH_I2C_Read... [12:41:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:41:39]Read from MH i2c: E2 [12:41:39]MH_I2C_Read... [12:41:39]Read from MH i2c: E2 0E 00 [12:41:39]MH_I2C_Read... [12:41:39]Read from MH i2c: E2 0E 00 75 17 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 C3 [12:41:39]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [12:41:39]wFMCommunicate OK [12:41:39]SAM_PROTO_GetShiftState done [12:41:39]FM_GetShiftState done [12:41:39]opened in 1719016120 [12:41:39]opened+sec_in_day 1719102520 [12:41:39]quantity*price = 30000 [12:41:39]sum+1 = 30001 [12:41:39]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 300.00 НСП 1% : 2.65 НДС 12% : 31.86 Наличными: 0.00 Безнал.: 300.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 27 22.06.2024 12:41 Смена: 327 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 Платежная система: Бакай Банк ФМ: 0000000000875095 ФД: 34601 ФПД: 45461644026502 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T124144&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34601&fm=45461644026502&tin=02508201610067®Number=0000000000092786&sum=30000 0 [12:41:40]StoreToDocumentArchive [12:41:40]shift 327 fd 34601 [12:41:40]save to /storage/0327/doc_00034601 [12:41:40]save last doc name /storage/0327/doc_00034601 to /storage/kkm_last_doc_name [12:41:40]save OK [12:41:40]Clear old archive folders... [12:41:40]ProcessDocumentItem done err = 0, tmpTLVsize=313 [12:41:40]tlvbuf is B6FFA960 [12:41:40]SAM_PROTO_ClearQueue [12:41:40]wFMCommunicate request_size=4 [12:41:40]MH_SAM_APDU [12:41:40]CAPDU: 80 09 00 00 [12:41:40]Write to MH i2c: E2 08 00 82 17 80 09 00 00 00 00 00 00 0B [12:41:40]Write i2c OK [12:41:40]MH_I2C_Read... [12:41:40]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:41:40]Read from MH i2c: E2 [12:41:40]MH_I2C_Read... [12:41:40]Read from MH i2c: E2 03 00 [12:41:40]MH_I2C_Read... [12:41:40]Read from MH i2c: E2 03 00 82 17 00 90 00 0D [12:41:40]RAPDU: 90 00 [12:41:40]wFMCommunicate OK [12:41:40]SAM_PROTO_ClearQueue done [12:41:40]KKMCreateOFDPacket [12:41:40]OFDProtocolAddRootSTLVToBuf [12:41:40]FM_MakeSignedData [12:41:40]FM_MakeSignedData [12:41:40]SAM_PROTO_SignData [12:41:40]wFMCommunicate request_size=4 [12:41:40]MH_SAM_APDU [12:41:40]CAPDU: 80 0D 01 02 [12:41:40]Write to MH i2c: E2 08 00 83 17 80 0D 01 02 00 00 00 00 13 [12:41:40]Write i2c OK [12:41:40]MH_I2C_Read... [12:41:40]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:41:40]Read from MH i2c: E2 [12:41:40]MH_I2C_Read... [12:41:40]Read from MH i2c: E2 03 00 [12:41:40]MH_I2C_Read... [12:41:40]Read from MH i2c: E2 03 00 83 17 00 90 00 0E [12:41:40]RAPDU: 90 00 [12:41:40]wFMCommunicate OK [12:41:40]wFMCommunicate request_size=255 [12:41:40]MH_SAM_APDU [12:41:40]CAPDU: 80 0D 02 02 FA 03 00 39 01 1E 04 01 00 01 23 04 8B 00 8A 04 0D 00 36 30 30 30 39 31 31 35 35 33 34 34 36 06 04 47 00 D0 90 D0 B2 D1 82 D0 BE D0 BC D0 BE D0 B1 D0 B8 D0 BB D1 8C D0 BD D0 BE D0 B5 20 D0 B7 D0 B0 D1 80 D1 8F D0 B4 D0 BD D0 BE D0 B5 20 D1 83 D1 81 D1 82 D1 80 D0 BE D0 B9 D1 81 D1 82 D0 B2 D0 BE 20 43 41 52 20 43 48 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 30 75 00 00 00 00 13 04 06 00 30 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 72 0C 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 30 75 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 88 C6 76 66 0E 04 04 00 [12:41:40]Write to MH i2c: E2 02 01 84 17 80 0D 02 02 FA 00 03 00 39 01 1E 04 01 00 01 23 04 8B 00 8A 04 0D 00 36 30 30 30 39 31 31 35 35 33 34 34 36 06 04 47 00 D0 90 D0 B2 D1 82 D0 BE D0 BC D0 BE D0 B1 D0 B8 D0 BB D1 8C D0 BD D0 BE D0 B5 20 D0 B7 D0 B0 D1 80 D1 8F D0 B4 D0 BD D0 BE D0 B5 20 D1 83 D1 81 D1 82 D1 80 D0 BE D0 B9 D1 81 D1 82 D0 B2 D0 BE 20 43 41 52 20 43 48 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 30 75 00 00 00 00 13 04 06 00 30 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 72 0C 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 30 75 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 88 C6 76 66 0E 04 04 00 00 00 FE [12:41:40]Write i2c OK [12:41:40]MH_I2C_Read... [12:41:41]OFD Sender: No OFD packet to send [12:41:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:41:41]Read from MH i2c: E2 [12:41:41]MH_I2C_Read... [12:41:41]Read from MH i2c: E2 03 00 [12:41:41]MH_I2C_Read... [12:41:41]Read from MH i2c: E2 03 00 84 17 00 90 00 0F [12:41:41]RAPDU: 90 00 [12:41:41]wFMCommunicate OK [12:41:41]wFMCommunicate request_size=72 [12:41:41]MH_SAM_APDU [12:41:41]CAPDU: 80 0D 02 02 43 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 29 87 00 00 35 04 06 00 29 58 DD 24 A2 86 [12:41:41]Write to MH i2c: E2 4B 00 85 17 80 0D 02 02 43 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 29 87 00 00 35 04 06 00 29 58 DD 24 A2 86 00 00 DC [12:41:41]Write i2c OK [12:41:41]MH_I2C_Read... [12:41:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:41:41]Read from MH i2c: E2 [12:41:41]MH_I2C_Read... [12:41:41]Read from MH i2c: E2 03 00 [12:41:41]MH_I2C_Read... [12:41:41]Read from MH i2c: E2 03 00 85 17 00 90 00 10 [12:41:41]RAPDU: 90 00 [12:41:41]wFMCommunicate OK [12:41:41]wFMCommunicate request_size=4 [12:41:41]MH_SAM_APDU [12:41:41]CAPDU: 80 0D 03 02 [12:41:41]Write to MH i2c: E2 08 00 86 17 80 0D 03 02 00 00 00 00 18 [12:41:41]Write i2c OK [12:41:41]MH_I2C_Read... [12:41:41]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:41:41]Read from MH i2c: E2 [12:41:41]MH_I2C_Read... [12:41:41]Read from MH i2c: E2 0B 00 [12:41:41]MH_I2C_Read... [12:41:41]Read from MH i2c: E2 0B 00 86 17 00 A7 62 7A ED A8 80 6B 27 90 00 43 [12:41:41]RAPDU: A7 62 7A ED A8 80 6B 27 90 00 [12:41:41]wFMCommunicate OK [12:41:41]SAM_PROTO_SignData done [12:41:41]FM_MakeSignedData done [12:41:41]CreateOFDProtocolMessage [12:41:41]wFMCommunicate request_size=4 [12:41:41]MH_SAM_APDU [12:41:41]CAPDU: 80 11 00 00 [12:41:41]Write to MH i2c: E2 08 00 87 17 80 11 00 00 00 00 00 00 18 [12:41:41]Write i2c OK [12:41:41]MH_I2C_Read... [12:41:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:41:41]Read from MH i2c: E2 [12:41:41]MH_I2C_Read... [12:41:41]Read from MH i2c: E2 17 00 [12:41:41]MH_I2C_Read... [12:41:41]Read from MH i2c: E2 17 00 87 17 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 6D [12:41:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [12:41:41]wFMCommunicate OK [12:41:41]CreateOFDProtocolMessage done [12:41:41]OFDSenderStorePacket 34601 [12:41:41]StoreOFDPacket docnum=34601 [12:41:41]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4D 01 00 00 59 87 45 01 98 F9 5A 03 01 00 03 00 39 01 1E 04 01 00 01 23 04 8B 00 8A 04 0D 00 36 30 30 30 39 31 31 35 35 33 34 34 36 06 04 47 00 D0 90 D0 B2 D1 82 D0 BE D0 BC D0 BE D0 B1 D0 B8 D0 BB D1 8C D0 BD D0 BE D0 B5 20 D0 B7 D0 B0 D1 80 D1 8F D0 B4 D0 BD D0 BE D0 B5 20 D1 83 D1 81 D1 82 D1 80 D0 BE D0 B9 D1 81 D1 82 D0 B2 D0 BE 20 43 41 52 20 43 48 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 30 75 00 00 00 00 13 04 06 00 30 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 72 0C 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 30 75 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 88 C6 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 29 87 00 00 35 04 06 00 29 58 DD 24 A2 86 A7 62 7A ED A8 80 6B 27 [12:41:41]CheckFolder [12:41:41]dirname=/storage/ofd_packets [12:41:41]CheckFolder done [12:41:41]ProducePacketName [12:41:41]name=ofd_packets/00034601 [12:41:41]NVStorageSaveData ofd_packets/00034601 [12:41:41]File name is /storage/ofd_packets/00034601 [12:41:41]Write 363 bytes [12:41:41]NVStorageSaveData done [12:41:41]OFDSenderStorePacket done [12:41:41]KKMCreateOFDPacket done [12:41:41]NVStorageSaveData kkm_last_timestamp [12:41:41]File name is /storage/kkm_last_timestamp [12:41:41]Write 4 bytes [12:41:41]NVStorageSaveData done [12:41:41]ExternCall_PrintAddStr [12:41:41]wPrintStart [12:41:41]Write to MH i2c: 01 00 00 88 17 9F [12:41:41]Write i2c OK [12:41:41]MH_I2C_Read... [12:41:41]Read from MH i2c: 01 [12:41:41]MH_I2C_Read... [12:41:41]Read from MH i2c: 01 07 00 [12:41:41]MH_I2C_Read... [12:41:41]Read from MH i2c: 01 07 00 88 17 00 00 00 00 00 FF 0F B4 [12:41:41]RasterBufferAndPrint [12:41:41]line Счет N : (3)184358 [12:41:41]line ИНН: 02508201610067 [12:41:41]line Контрольно-Кассовый Чек [12:41:41]line ПРОДАЖА [12:41:41]line Товар: 6000911553446 [12:41:41]line Автомобильное зарядное устройство CAR CH [12:41:41]line 1.000 * 300.00 [12:41:41]line = 300.00 [12:41:41]line НДС 12% НСП 1% [12:41:41]line > о реализуемом товаре [12:41:41]line ИТОГО: 300.00 [12:41:41]line НСП 1% : 2.65 [12:41:41]line НДС 12% : 31.86 [12:41:41]line Наличными: 0.00 [12:41:41]line Безнал.: 300.00 [12:41:41]line Место: АЗС № 120 "Партнер Нефть" [12:41:41]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [12:41:41]line СНО: Общий режим [12:41:41]line Чек 27 22.06.2024 12:41 [12:41:41]line Смена: 327 ФФД: 1.0 [12:41:41]line ЗНМ: 0300000172 [12:41:41]line РНМ: 0000000000092786 [12:41:41]line Версия ККМ: 001 [12:41:41]line Платежная система: Бакай Банк [12:41:41]line ФМ: 0000000000875095 [12:41:41]line ФД: 34601 [12:41:41]line ФПД: 45461644026502 [12:41:41]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T124144&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34601&fm=45461644026502&tin=02508201610067®Number=0000000000092786&sum=30000 [12:41:41]line 0 [12:41:41]OFD Sender: Processing packet 34601 [packets to send 8, broken 7] [12:41:41]ProducePacketName [12:41:41]name=ofd_packets/00034601 [12:41:41]OFD Sender: To server: pG, [12:41:41]CommunicateWithHost lk.salyk.kg:30040 [12:41:41]ConnectInit lk.salyk.kg [12:41:41]written 0, free lines is 4095 [12:41:41]Connected sock=10 [12:41:41]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4D 01 00 00 59 87 45 01 98 F9 5A 03 01 00 03 00 39 01 1E 04 01 00 01 23 04 8B 00 8A 04 0D 00 36 30 30 30 39 31 31 35 35 33 34 34 36 06 04 47 00 D0 90 D0 B2 D1 82 D0 BE D0 BC D0 BE D0 B1 D0 B8 D0 BB D1 8C D0 BD D0 BE D0 B5 20 D0 B7 D0 B0 D1 80 D1 8F D0 B4 D0 BD D0 BE D0 B5 20 D1 83 D1 81 D1 82 D1 80 D0 BE D0 B9 D1 81 D1 82 D0 B2 D0 BE 20 43 41 52 20 43 48 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 30 75 00 00 00 00 13 04 06 00 30 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 72 0C 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 30 75 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 88 C6 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 29 87 00 00 35 04 06 00 29 58 DD 24 A2 86 A7 62 7A ED A8 80 6B 27 [12:41:42]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 B5 B5 47 00 01 DA A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 29 87 00 00 F4 03 04 00 4C 6D 76 66 B6 04 01 00 00 56 43 BC 59 87 43 59 57 [12:41:42]CommunicateWithHost err = 0 [12:41:42]CheckOFDResponse [12:41:42]1017 (14) - 77093643461234 [12:41:42]1041 (16) - 0000000000875095 [12:41:42]1040 (4) - 34601 [12:41:42]1012 (4) - 22.06.2024 06:21 [12:41:42]1206 (1) - 0 [12:41:42]OFD Sender: Remove packet 34601 [12:41:42]ProducePacketName [12:41:42]name=ofd_packets/00034601 [12:41:42]NVStorageDeleteData [12:41:42]Write to MH i2c: 01 00 00 B3 17 CA [12:41:42]Write i2c OK [12:41:42]MH_I2C_Read... [12:41:42]Read from MH i2c: 01 [12:41:42]MH_I2C_Read... [12:41:42]Read from MH i2c: 01 07 00 [12:41:42]MH_I2C_Read... [12:41:42]Read from MH i2c: 01 07 00 B3 17 00 00 00 00 00 C4 0C A1 [12:41:42]RasterBufferAndPrint [12:41:42]line [12:41:42]line [12:41:42]line [12:41:42]line [12:41:42]line [12:41:42]written 0, free lines is 3277 [12:41:42]MH_Cut [12:41:42]Write to MH i2c: D1 01 00 BA 17 01 A3 [12:41:42]Write i2c OK [12:41:42]MH_I2C_Read... [12:41:42]Read from MH i2c: D1 [12:41:42]MH_I2C_Read... [12:41:42]Read from MH i2c: D1 01 00 [12:41:42]MH_I2C_Read... [12:41:42]Read from MH i2c: D1 01 00 BA 17 00 A2 [12:41:42]Write to MH i2c: 01 00 00 BB 17 D2 [12:41:42]Write i2c OK [12:41:42]MH_I2C_Read... [12:41:42]OFD Sender: No OFD packet to send [12:41:42]*** Cut start [12:41:42]*** Partial cut [12:41:42]*** CUTSNS_PIN = 1 [12:41:42]*** CUTSNS_PIN = 0 [12:41:43]*** Brake cut motor [12:41:43]Read from MH i2c: 01 [12:41:43]MH_I2C_Read... [12:41:43]*** Stop cut motor [12:41:43]*** Cut end [12:41:43]Read from MH i2c: 01 07 00 [12:41:43]MH_I2C_Read... [12:41:43]Read from MH i2c: 01 07 00 BB 17 00 00 00 00 00 FF 0F E7 [12:41:43]process_action close_receipt done [12:41:43]requested_data is exist [12:41:43]produce_requested_data [12:41:43]requested_item fm.sn is exist - process it [12:41:43]wFMCommunicate request_size=4 [12:41:43]MH_SAM_APDU [12:41:43]CAPDU: 80 11 00 00 [12:41:43]Write to MH i2c: E2 08 00 BC 17 80 11 00 00 00 00 00 00 4D [12:41:43]Write i2c OK [12:41:43]MH_I2C_Read... [12:41:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:41:43]Read from MH i2c: E2 [12:41:43]MH_I2C_Read... [12:41:43]Read from MH i2c: E2 17 00 [12:41:43]MH_I2C_Read... [12:41:43]Read from MH i2c: E2 17 00 BC 17 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 A2 [12:41:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [12:41:43]wFMCommunicate OK [12:41:43]requested_item fd.num is exist - process it [12:41:43]SAM_PROTO_GetFieldsCounters [12:41:43]wFMCommunicate request_size=4 [12:41:43]MH_SAM_APDU [12:41:43]CAPDU: 80 13 00 00 [12:41:43]Write to MH i2c: E2 08 00 BD 17 80 13 00 00 00 00 00 00 50 [12:41:43]Write i2c OK [12:41:43]MH_I2C_Read... [12:41:43]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:41:43]Read from MH i2c: E2 [12:41:43]MH_I2C_Read... [12:41:43]Read from MH i2c: E2 62 00 [12:41:43]MH_I2C_Read... [12:41:43]Read from MH i2c: E2 62 00 BD 17 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 29 87 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 C3 [12:41:43]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 29 87 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:41:43]wFMCommunicate OK [12:41:43]SAM_PROTO_GetFieldsCounters done [12:41:43]requested_item shift.num is exist - process it [12:41:43]requested_item shift.opened is exist - process it [12:41:43]req_shift_opened [12:41:43]FM_GetShiftState [12:41:43]SAM_PROTO_GetShiftState [12:41:43]wFMCommunicate request_size=4 [12:41:43]MH_SAM_APDU [12:41:43]CAPDU: 80 13 01 00 [12:41:43]Write to MH i2c: E2 08 00 BE 17 80 13 01 00 00 00 00 00 52 [12:41:43]Write i2c OK [12:41:43]MH_I2C_Read... [12:41:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:41:43]Read from MH i2c: E2 [12:41:43]MH_I2C_Read... [12:41:43]Read from MH i2c: E2 0E 00 [12:41:43]MH_I2C_Read... [12:41:43]Read from MH i2c: E2 0E 00 BE 17 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 0C [12:41:43]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [12:41:43]wFMCommunicate OK [12:41:43]SAM_PROTO_GetShiftState done [12:41:43]FM_GetShiftState done [12:41:43]req_shift_opened done [12:41:43]requested_item shift.open_date is exist - process it [12:41:43]req_shift_open_date [12:41:43]req_shift_open_date done [12:41:43]produce_requested_data done [12:41:43]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34601,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120} [12:41:43]process_action_free close_receipt [12:41:43]json_value_free [12:41:43]json_value_free done [12:41:43]process_json_proto returns [12:41:43]Send response to host [12:41:43]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34601,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120}}} [12:41:43]free response buf [12:41:43]execute_script done [12:41:43]execute_script returns [12:41:43]free content buf [12:41:43]Sock 7.Close socket [12:41:43]Sock 7.Thread stoped [12:41:47]OFD Sender: No OFD packet to send [12:41:52]OFD Sender: No OFD packet to send [12:41:57]OFD Sender: No OFD packet to send [12:42:02]OFD Sender: No OFD packet to send [12:42:07]OFD Sender: No OFD packet to send [12:42:12]OFD Sender: No OFD packet to send [12:42:17]OFD Sender: No OFD packet to send [12:42:22]OFD Sender: No OFD packet to send [12:42:27]OFD Sender: No OFD packet to send [12:42:32]OFD Sender: No OFD packet to send [12:42:37]OFD Sender: No OFD packet to send [12:42:42]OFD Sender: No OFD packet to send [12:42:47]OFD Sender: No OFD packet to send [12:42:52]OFD Sender: No OFD packet to send [12:42:57]OFD Sender: No OFD packet to send [12:43:02]OFD Sender: No OFD packet to send [12:43:07]OFD Sender: No OFD packet to send [12:43:12]OFD Sender: No OFD packet to send [12:43:17]OFD Sender: No OFD packet to send [12:43:22]OFD Sender: No OFD packet to send [12:43:27]OFD Sender: No OFD packet to send [12:43:32]OFD Sender: No OFD packet to send [12:43:37]OFD Sender: No OFD packet to send [12:43:42]OFD Sender: No OFD packet to send [12:43:47]OFD Sender: No OFD packet to send [12:43:52]OFD Sender: No OFD packet to send [12:43:57]OFD Sender: No OFD packet to send [12:44:02]OFD Sender: No OFD packet to send [12:44:07]OFD Sender: No OFD packet to send [12:44:12]OFD Sender: No OFD packet to send [12:44:17]OFD Sender: No OFD packet to send [12:44:22]OFD Sender: No OFD packet to send [12:44:27]OFD Sender: No OFD packet to send [12:44:32]OFD Sender: No OFD packet to send [12:44:37]OFD Sender: No OFD packet to send [12:44:42]OFD Sender: No OFD packet to send [12:44:47]OFD Sender: No OFD packet to send [12:44:52]OFD Sender: No OFD packet to send [12:44:57]OFD Sender: No OFD packet to send [12:45:02]OFD Sender: No OFD packet to send [12:45:07]OFD Sender: No OFD packet to send [12:45:12]OFD Sender: No OFD packet to send [12:45:17]OFD Sender: No OFD packet to send [12:45:22]OFD Sender: No OFD packet to send [12:45:27]OFD Sender: No OFD packet to send [12:45:32]OFD Sender: No OFD packet to send [12:45:37]OFD Sender: No OFD packet to send [12:45:42]OFD Sender: No OFD packet to send [12:45:47]OFD Sender: No OFD packet to send [12:45:52]OFD Sender: No OFD packet to send [12:45:57]OFD Sender: No OFD packet to send [12:46:02]OFD Sender: No OFD packet to send [12:46:07]OFD Sender: No OFD packet to send [12:46:12]OFD Sender: No OFD packet to send [12:46:17]OFD Sender: No OFD packet to send [12:46:22]OFD Sender: No OFD packet to send [12:46:27]OFD Sender: No OFD packet to send [12:46:32]OFD Sender: No OFD packet to send [12:46:37]OFD Sender: No OFD packet to send [12:46:42]OFD Sender: No OFD packet to send [12:46:47]OFD Sender: No OFD packet to send [12:46:52]OFD Sender: No OFD packet to send [12:46:57]OFD Sender: No OFD packet to send [12:47:02]OFD Sender: No OFD packet to send [12:47:07]OFD Sender: No OFD packet to send [12:47:12]OFD Sender: No OFD packet to send [12:47:17]OFD Sender: No OFD packet to send [12:47:22]OFD Sender: No OFD packet to send [12:47:27]OFD Sender: No OFD packet to send [12:47:32]OFD Sender: No OFD packet to send [12:47:37]OFD Sender: No OFD packet to send [12:47:42]OFD Sender: No OFD packet to send [12:47:47]OFD Sender: No OFD packet to send [12:47:52]OFD Sender: No OFD packet to send [12:47:57]OFD Sender: No OFD packet to send [12:48:02]OFD Sender: No OFD packet to send [12:48:07]OFD Sender: No OFD packet to send [12:48:12]OFD Sender: No OFD packet to send [12:48:17]OFD Sender: No OFD packet to send [12:48:22]OFD Sender: No OFD packet to send [12:48:27]OFD Sender: No OFD packet to send [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:06]accept exits with 9 [12:49:06]New connection [12:49:06]New thread 3067616612 created [12:49:06]Thread 3067473252 joined [12:49:06]Waiting for new connection... [12:49:06] Sock 9.Parse request [12:49:06]Sock 9.Check first char [12:49:06]Sock 9.First char is OK [12:49:06]request: POST /json_proto HTTP/1.0 [12:49:06]Method: POST [12:49:06]URL: /json_proto [12:49:06]Method is POST - this is cgi request [12:49:06]url: /json_proto [12:49:06]query_string will be loaded in cgi processing [12:49:06]execute_cgi json_proto POST (null) [12:49:06]execute_cgi path=json_proto method=POST [12:49:06]POST find Content-Length [12:49:06]Host: 172.17.38.134:8080 [12:49:06]Content-Length: 585 [12:49:06]Content-Type: application/json [12:49:06] [12:49:06]POST finish read [12:49:06]Found Content-Length = 585 [12:49:06]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184359", "tax_sys" : 0, "items" : [ { "code": "50173808", "name": "\u0416\u0435\u0432 Orbit Sweet Mint", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 45.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:49:06]execute_script... [12:49: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)184359", "tax_sys" : 0, "items" : [ { "code": "50173808", "name": "\u0416\u0435\u0432 Orbit Sweet Mint", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 45.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:49:06]POST & json_proto [12:49:06]process_json_proto [12:49:06]json parsed OK: [12:49:06]protocol is kg_v1.0 [12:49:06]action value=close_receipt [12:49:06]process_action close_receipt [12:49:06]cmd_close_receipt [12:49:06]MH_GetDate [12:49:06]Write to MH i2c: F0 00 00 BF 17 C5 [12:49:06]Write i2c OK [12:49:06]MH_I2C_Read... [12:49:06]Read from MH i2c: F0 [12:49:06]MH_I2C_Read... [12:49:06]Read from MH i2c: F0 09 00 [12:49:06]MH_I2C_Read... [12:49:06]Read from MH i2c: F0 09 00 BF 17 00 47 C8 76 66 13 9C 7C 64 48 [12:49:06]GetLastDocTimeStamp 1719060104 [12:49:06]current date 1719060551 [12:49:06]FM_GetShiftState [12:49:06]SAM_PROTO_GetShiftState [12:49:06]wFMCommunicate request_size=4 [12:49:06]MH_SAM_APDU [12:49:06]CAPDU: 80 13 01 00 [12:49:06]Write to MH i2c: E2 08 00 C0 17 80 13 01 00 00 00 00 00 54 [12:49:06]Write i2c OK [12:49:06]MH_I2C_Read... [12:49:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:49:06]Read from MH i2c: E2 [12:49:06]MH_I2C_Read... [12:49:06]Read from MH i2c: E2 0E 00 [12:49:06]MH_I2C_Read... [12:49:06]Read from MH i2c: E2 0E 00 C0 17 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 0E [12:49:06]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [12:49:06]wFMCommunicate OK [12:49:06]SAM_PROTO_GetShiftState done [12:49:06]FM_GetShiftState done [12:49:06]opened in 1719016120 [12:49:06]opened+sec_in_day 1719102520 [12:49:06]quantity*price = 4500 [12:49:06]sum+1 = 4501 [12:49:06]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 45.00 НСП 1% : 0.40 НДС 12% : 4.78 Наличными: 45.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 28 22.06.2024 12:49 Смена: 327 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34602 ФПД: 30256423489734 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T124911&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34602&fm=30256423489734&tin=02508201610067®Number=0000000000092786&sum=4500 0 [12:49:07]StoreToDocumentArchive [12:49:07]shift 327 fd 34602 [12:49:07]save to /storage/0327/doc_00034602 [12:49:07]save last doc name /storage/0327/doc_00034602 to /storage/kkm_last_doc_name [12:49:07]save OK [12:49:07]Clear old archive folders... [12:49:07]ProcessDocumentItem done err = 0, tmpTLVsize=260 [12:49:07]tlvbuf is 01594A70 [12:49:07]SAM_PROTO_ClearQueue [12:49:07]wFMCommunicate request_size=4 [12:49:07]MH_SAM_APDU [12:49:07]CAPDU: 80 09 00 00 [12:49:07]Write to MH i2c: E2 08 00 CD 17 80 09 00 00 00 00 00 00 56 [12:49:07]Write i2c OK [12:49:07]MH_I2C_Read... [12:49:07]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:49:07]Read from MH i2c: E2 [12:49:07]MH_I2C_Read... [12:49:07]Read from MH i2c: E2 03 00 [12:49:07]MH_I2C_Read... [12:49:07]Read from MH i2c: E2 03 00 CD 17 00 90 00 58 [12:49:07]RAPDU: 90 00 [12:49:07]wFMCommunicate OK [12:49:07]SAM_PROTO_ClearQueue done [12:49:07]KKMCreateOFDPacket [12:49:07]OFDProtocolAddRootSTLVToBuf [12:49:07]FM_MakeSignedData [12:49:07]FM_MakeSignedData [12:49:07]SAM_PROTO_SignData [12:49:07]wFMCommunicate request_size=4 [12:49:07]MH_SAM_APDU [12:49:07]CAPDU: 80 0D 01 02 [12:49:07]Write to MH i2c: E2 08 00 CE 17 80 0D 01 02 00 00 00 00 5E [12:49:07]Write i2c OK [12:49:07]MH_I2C_Read... [12:49:07]Read from MH i2c: E2 [12:49:07]MH_I2C_Read... [12:49:07]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:49:07]Read from MH i2c: E2 03 00 [12:49:07]MH_I2C_Read... [12:49:07]Read from MH i2c: E2 03 00 CE 17 00 90 00 59 [12:49:07]RAPDU: 90 00 [12:49:07]wFMCommunicate OK [12:49:07]wFMCommunicate request_size=255 [12:49:07]MH_SAM_APDU [12:49:07]CAPDU: 80 0D 02 02 FA 03 00 04 01 1E 04 01 00 01 23 04 56 00 8A 04 08 00 35 30 31 37 33 38 30 38 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 53 77 65 65 74 20 4D 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 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 47 C8 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 [12:49:07]Write to MH i2c: E2 02 01 CF 17 80 0D 02 02 FA 00 03 00 04 01 1E 04 01 00 01 23 04 56 00 8A 04 08 00 35 30 31 37 33 38 30 38 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 53 77 65 65 74 20 4D 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 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 47 C8 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 00 00 C2 [12:49:07]Write i2c OK [12:49:07]MH_I2C_Read... [12:49:07]OFD Sender: No OFD packet to send [12:49:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:49:07]Read from MH i2c: E2 [12:49:07]MH_I2C_Read... [12:49:07]Read from MH i2c: E2 03 00 [12:49:07]MH_I2C_Read... [12:49:07]Read from MH i2c: E2 03 00 CF 17 00 90 00 5A [12:49:07]RAPDU: 90 00 [12:49:07]wFMCommunicate OK [12:49:07]wFMCommunicate request_size=19 [12:49:07]MH_SAM_APDU [12:49:07]CAPDU: 80 0D 02 02 0E 2A 87 00 00 35 04 06 00 1B 84 9F 5F D0 C6 [12:49:07]Write to MH i2c: E2 16 00 D0 17 80 0D 02 02 0E 00 2A 87 00 00 35 04 06 00 1B 84 9F 5F D0 C6 00 00 A0 [12:49:07]Write i2c OK [12:49:07]MH_I2C_Read... [12:49:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:49:07]Read from MH i2c: E2 [12:49:07]MH_I2C_Read... [12:49:07]Read from MH i2c: E2 03 00 [12:49:07]MH_I2C_Read... [12:49:07]Read from MH i2c: E2 03 00 D0 17 00 90 00 5B [12:49:07]RAPDU: 90 00 [12:49:07]wFMCommunicate OK [12:49:07]wFMCommunicate request_size=4 [12:49:07]MH_SAM_APDU [12:49:07]CAPDU: 80 0D 03 02 [12:49:07]Write to MH i2c: E2 08 00 D1 17 80 0D 03 02 00 00 00 00 63 [12:49:07]Write i2c OK [12:49:07]MH_I2C_Read... [12:49:08]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:49:08]Read from MH i2c: E2 [12:49:08]MH_I2C_Read... [12:49:08]Read from MH i2c: E2 0B 00 [12:49:08]MH_I2C_Read... [12:49:08]Read from MH i2c: E2 0B 00 D1 17 00 9C 67 C6 C6 82 C2 E5 A7 90 00 C3 [12:49:08]RAPDU: 9C 67 C6 C6 82 C2 E5 A7 90 00 [12:49:08]wFMCommunicate OK [12:49:08]SAM_PROTO_SignData done [12:49:08]FM_MakeSignedData done [12:49:08]CreateOFDProtocolMessage [12:49:08]wFMCommunicate request_size=4 [12:49:08]MH_SAM_APDU [12:49:08]CAPDU: 80 11 00 00 [12:49:08]Write to MH i2c: E2 08 00 D2 17 80 11 00 00 00 00 00 00 63 [12:49:08]Write i2c OK [12:49:08]MH_I2C_Read... [12:49:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:49:08]Read from MH i2c: E2 [12:49:08]MH_I2C_Read... [12:49:08]Read from MH i2c: E2 17 00 [12:49:08]MH_I2C_Read... [12:49:08]Read from MH i2c: E2 17 00 D2 17 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 B8 [12:49:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [12:49:08]wFMCommunicate OK [12:49:08]CreateOFDProtocolMessage done [12:49:08]OFDSenderStorePacket 34602 [12:49:08]StoreOFDPacket docnum=34602 [12:49:08]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 18 01 00 00 7B AA 10 01 05 57 5A 03 01 00 03 00 04 01 1E 04 01 00 01 23 04 56 00 8A 04 08 00 35 30 31 37 33 38 30 38 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 53 77 65 65 74 20 4D 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 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 47 C8 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 2A 87 00 00 35 04 06 00 1B 84 9F 5F D0 C6 9C 67 C6 C6 82 C2 E5 A7 [12:49:08]CheckFolder [12:49:08]dirname=/storage/ofd_packets [12:49:08]CheckFolder done [12:49:08]ProducePacketName [12:49:08]name=ofd_packets/00034602 [12:49:08]NVStorageSaveData ofd_packets/00034602 [12:49:08]File name is /storage/ofd_packets/00034602 [12:49:08]Write 310 bytes [12:49:08]NVStorageSaveData done [12:49:08]OFDSenderStorePacket done [12:49:08]KKMCreateOFDPacket done [12:49:08]NVStorageSaveData kkm_last_timestamp [12:49:08]File name is /storage/kkm_last_timestamp [12:49:08]Write 4 bytes [12:49:08]NVStorageSaveData done [12:49:08]ExternCall_PrintAddStr [12:49:08]wPrintStart [12:49:08]Write to MH i2c: 01 00 00 D3 17 EA [12:49:08]Write i2c OK [12:49:08]MH_I2C_Read... [12:49:08]Read from MH i2c: 01 [12:49:08]MH_I2C_Read... [12:49:08]Read from MH i2c: 01 07 00 [12:49:08]MH_I2C_Read... [12:49:08]Read from MH i2c: 01 07 00 D3 17 00 00 00 00 00 FF 0F FF [12:49:08]RasterBufferAndPrint [12:49:08]line Счет N : (3)184359 [12:49:08]line ИНН: 02508201610067 [12:49:08]line Контрольно-Кассовый Чек [12:49:08]line ПРОДАЖА [12:49:08]line Товар: 50173808 [12:49:08]line Жев Orbit Sweet Mint [12:49:08]line 1.000 * 45.00 [12:49:08]line = 45.00 [12:49:08]line НДС 12% НСП 1% [12:49:08]line > о реализуемом товаре [12:49:08]line ИТОГО: 45.00 [12:49:08]line НСП 1% : 0.40 [12:49:08]line НДС 12% : 4.78 [12:49:08]line Наличными: 45.00 [12:49:08]line Безнал.: 0.00 [12:49:08]line Место: АЗС № 120 "Партнер Нефть" [12:49:08]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [12:49:08]line СНО: Общий режим [12:49:08]line Чек 28 22.06.2024 12:49 [12:49:08]line Смена: 327 ФФД: 1.0 [12:49:08]line ЗНМ: 0300000172 [12:49:08]line РНМ: 0000000000092786 [12:49:08]line Версия ККМ: 001 [12:49:08]line ФМ: 0000000000875095 [12:49:08]line ФД: 34602 [12:49:08]line ФПД: 30256423489734 [12:49:08]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T124911&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34602&fm=30256423489734&tin=02508201610067®Number=0000000000092786&sum=4500 [12:49:08]line 0 [12:49:08]OFD Sender: Processing packet 34602 [packets to send 8, broken 7] [12:49:08]ProducePacketName [12:49:08]name=ofd_packets/00034602 [12:49:08]OFD Sender: To server: pG, [12:49:08]CommunicateWithHost lk.salyk.kg:30040 [12:49:08]ConnectInit lk.salyk.kg [12:49:08]written 0, free lines is 4095 [12:49:08]Connected sock=10 [12:49:08]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 18 01 00 00 7B AA 10 01 05 57 5A 03 01 00 03 00 04 01 1E 04 01 00 01 23 04 56 00 8A 04 08 00 35 30 31 37 33 38 30 38 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 53 77 65 65 74 20 4D 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 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 47 C8 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 2A 87 00 00 35 04 06 00 1B 84 9F 5F D0 C6 9C 67 C6 C6 82 C2 E5 A7 [12:49:08]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 A9 FA 47 00 18 30 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 2A 87 00 00 F4 03 04 00 0B 6F 76 66 B6 04 01 00 00 1A 31 55 B1 4C 76 68 44 [12:49:08]CommunicateWithHost err = 0 [12:49:08]CheckOFDResponse [12:49:08]1017 (14) - 77093643461234 [12:49:08]1041 (16) - 0000000000875095 [12:49:08]1040 (4) - 34602 [12:49:08]1012 (4) - 22.06.2024 06:28 [12:49:08]1206 (1) - 0 [12:49:08]OFD Sender: Remove packet 34602 [12:49:08]ProducePacketName [12:49:08]name=ofd_packets/00034602 [12:49:08]NVStorageDeleteData [12:49:08]Write to MH i2c: 01 00 00 FB 17 12 [12:49:08]Write i2c OK [12:49:08]MH_I2C_Read... [12:49:08]Read from MH i2c: 01 [12:49:08]MH_I2C_Read... [12:49:08]Read from MH i2c: 01 07 00 [12:49:08]MH_I2C_Read... [12:49:08]Read from MH i2c: 01 07 00 FB 17 00 00 00 00 00 F0 0C 15 [12:49:08]RasterBufferAndPrint [12:49:08]line [12:49:08]line [12:49:08]line [12:49:08]line [12:49:08]line [12:49:08]written 0, free lines is 3318 [12:49:08]MH_Cut [12:49:08]Write to MH i2c: D1 01 00 02 18 01 EC [12:49:08]Write i2c OK [12:49:08]MH_I2C_Read... [12:49:08]Read from MH i2c: D1 [12:49:08]MH_I2C_Read... [12:49:08]Read from MH i2c: D1 01 00 [12:49:08]MH_I2C_Read... [12:49:08]Read from MH i2c: D1 01 00 02 18 00 EB [12:49:08]Write to MH i2c: 01 00 00 03 18 1B [12:49:08]Write i2c OK [12:49:08]MH_I2C_Read... [12:49:09]OFD Sender: No OFD packet to send [12:49:09]*** Cut start [12:49:09]*** Partial cut [12:49:09]*** CUTSNS_PIN = 1 [12:49:09]*** CUTSNS_PIN = 0 [12:49:09]*** Brake cut motor [12:49:10]Read from MH i2c: 01 [12:49:10]MH_I2C_Read... [12:49:10]*** Stop cut motor [12:49:10]*** Cut end [12:49:10]Read from MH i2c: 01 07 00 [12:49:10]MH_I2C_Read... [12:49:10]Read from MH i2c: 01 07 00 03 18 00 00 00 00 00 FF 0F 30 [12:49:10]process_action close_receipt done [12:49:10]requested_data is exist [12:49:10]produce_requested_data [12:49:10]requested_item fm.sn is exist - process it [12:49:10]wFMCommunicate request_size=4 [12:49:10]MH_SAM_APDU [12:49:10]CAPDU: 80 11 00 00 [12:49:10]Write to MH i2c: E2 08 00 04 18 80 11 00 00 00 00 00 00 96 [12:49:10]Write i2c OK [12:49:10]MH_I2C_Read... [12:49:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:49:10]Read from MH i2c: E2 [12:49:10]MH_I2C_Read... [12:49:10]Read from MH i2c: E2 17 00 [12:49:10]MH_I2C_Read... [12:49:10]Read from MH i2c: E2 17 00 04 18 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 EB [12:49:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [12:49:10]wFMCommunicate OK [12:49:10]requested_item fd.num is exist - process it [12:49:10]SAM_PROTO_GetFieldsCounters [12:49:10]wFMCommunicate request_size=4 [12:49:10]MH_SAM_APDU [12:49:10]CAPDU: 80 13 00 00 [12:49:10]Write to MH i2c: E2 08 00 05 18 80 13 00 00 00 00 00 00 99 [12:49:10]Write i2c OK [12:49:10]MH_I2C_Read... [12:49:10]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:49:10]Read from MH i2c: E2 [12:49:10]MH_I2C_Read... [12:49:10]Read from MH i2c: E2 62 00 [12:49:10]MH_I2C_Read... [12:49:10]Read from MH i2c: E2 62 00 05 18 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 2A 87 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 10 [12:49:10]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 2A 87 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:49:10]wFMCommunicate OK [12:49:10]SAM_PROTO_GetFieldsCounters done [12:49:10]requested_item shift.num is exist - process it [12:49:10]requested_item shift.opened is exist - process it [12:49:10]req_shift_opened [12:49:10]FM_GetShiftState [12:49:10]SAM_PROTO_GetShiftState [12:49:10]wFMCommunicate request_size=4 [12:49:10]MH_SAM_APDU [12:49:10]CAPDU: 80 13 01 00 [12:49:10]Write to MH i2c: E2 08 00 06 18 80 13 01 00 00 00 00 00 9B [12:49:10]Write i2c OK [12:49:10]MH_I2C_Read... [12:49:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:49:10]Read from MH i2c: E2 [12:49:10]MH_I2C_Read... [12:49:10]Read from MH i2c: E2 0E 00 [12:49:10]MH_I2C_Read... [12:49:10]Read from MH i2c: E2 0E 00 06 18 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 55 [12:49:10]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [12:49:10]wFMCommunicate OK [12:49:10]SAM_PROTO_GetShiftState done [12:49:10]FM_GetShiftState done [12:49:10]req_shift_opened done [12:49:10]requested_item shift.open_date is exist - process it [12:49:10]req_shift_open_date [12:49:10]req_shift_open_date done [12:49:10]produce_requested_data done [12:49:10]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34602,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120} [12:49:10]process_action_free close_receipt [12:49:10]json_value_free [12:49:10]json_value_free done [12:49:10]process_json_proto returns [12:49:10]Send response to host [12:49:10]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34602,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120}}} [12:49:10]free response buf [12:49:10]execute_script done [12:49:10]execute_script returns [12:49:10]free content buf [12:49:10]Sock 9.Close socket [12:49:10]Sock 9.Thread stoped [12:49:14]OFD Sender: No OFD packet to send [12:49:19]OFD Sender: No OFD packet to send [12:49:24]OFD Sender: No OFD packet to send [12:49:29]OFD Sender: No OFD packet to send [12:49:34]OFD Sender: No OFD packet to send [12:49:39]OFD Sender: No OFD packet to send [12:49:44]OFD Sender: No OFD packet to send [12:49:49]OFD Sender: No OFD packet to send [12:49:54]OFD Sender: No OFD packet to send [12:49:59]OFD Sender: No OFD packet to send [12:50:04]OFD Sender: No OFD packet to send [12:50:09]OFD Sender: No OFD packet to send [12:50:14]OFD Sender: No OFD packet to send [12:50:19]OFD Sender: No OFD packet to send [12:50:24]OFD Sender: No OFD packet to send [12:50:29]OFD Sender: No OFD packet to send [12:50:34]OFD Sender: No OFD packet to send [12:50:39]OFD Sender: No OFD packet to send [12:50:44]OFD Sender: No OFD packet to send [12:50:49]OFD Sender: No OFD packet to send [12:50:54]OFD Sender: No OFD packet to send [12:50:59]OFD Sender: No OFD packet to send [12:51:04]OFD Sender: No OFD packet to send [12:51:09]OFD Sender: No OFD packet to send [12:51:14]OFD Sender: No OFD packet to send [12:51:19]OFD Sender: No OFD packet to send [12:51:24]OFD Sender: No OFD packet to send [12:51:29]OFD Sender: No OFD packet to send [12:51:34]OFD Sender: No OFD packet to send [12:51:39]OFD Sender: No OFD packet to send [12:51:44]OFD Sender: No OFD packet to send [12:51:49]OFD Sender: No OFD packet to send [12:51:54]OFD Sender: No OFD packet to send [12:51:59]OFD Sender: No OFD packet to send [12:52:04]OFD Sender: No OFD packet to send [12:52:09]OFD Sender: No OFD packet to send [12:52:14]OFD Sender: No OFD packet to send [12:52:19]OFD Sender: No OFD packet to send [12:52:24]OFD Sender: No OFD packet to send [12:52:29]OFD Sender: No OFD packet to send [12:52:34]OFD Sender: No OFD packet to send [12:52:39]OFD Sender: No OFD packet to send [12:52:44]OFD Sender: No OFD packet to send [12:52:49]OFD Sender: No OFD packet to send [12:52:54]OFD Sender: No OFD packet to send [12:52:59]OFD Sender: No OFD packet to send [12:53:04]OFD Sender: No OFD packet to send [12:53:09]OFD Sender: No OFD packet to send [12:53:14]OFD Sender: No OFD packet to send [12:53:19]OFD Sender: No OFD packet to send [12:53:24]OFD Sender: No OFD packet to send [12:53:29]OFD Sender: No OFD packet to send [12:53:34]OFD Sender: No OFD packet to send [12:53:39]OFD Sender: No OFD packet to send [12:53:44]OFD Sender: No OFD packet to send [12:53:49]OFD Sender: No OFD packet to send [12:53:54]OFD Sender: No OFD packet to send [12:53:59]OFD Sender: No OFD packet to send [12:54:04]OFD Sender: No OFD packet to send [12:54:09]OFD Sender: No OFD packet to send [12:54:14]OFD Sender: No OFD packet to send [12:54:19]OFD Sender: No OFD packet to send [12:54:24]OFD Sender: No OFD packet to send [12:54:29]OFD Sender: No OFD packet to send [12:54:34]OFD Sender: No OFD packet to send [12:54:39]OFD Sender: No OFD packet to send [12:54:44]OFD Sender: No OFD packet to send [12:54:49]OFD Sender: No OFD packet to send [12:54:54]OFD Sender: No OFD packet to send [12:54:59]OFD Sender: No OFD packet to send [12:55:04]OFD Sender: No OFD packet to send [12:55:09]OFD Sender: No OFD packet to send [12:55:14]OFD Sender: No OFD packet to send [12:55:19]OFD Sender: No OFD packet to send [12:55:24]OFD Sender: No OFD packet to send [12:55:29]OFD Sender: No OFD packet to send [12:55:34]OFD Sender: No OFD packet to send [12:55:39]OFD Sender: No OFD packet to send [12:55:44]OFD Sender: No OFD packet to send [12:55:49]OFD Sender: No OFD packet to send [12:55:54]OFD Sender: No OFD packet to send [12:55:59]OFD Sender: No OFD packet to send [12:56:04]OFD Sender: No OFD packet to send [12:56:09]OFD Sender: No OFD packet to send [12:56:14]OFD Sender: No OFD packet to send [12:56:19]OFD Sender: No OFD packet to send [12:56:20]accept exits with 7 [12:56:20]New connection [12:56:20]New thread 3067473252 created [12:56:20]Thread 3067616612 joined [12:56:20]Waiting for new connection... [12:56:20] Sock 7.Parse request [12:56:20]Sock 7.Check first char [12:56:20]Sock 7.First char is OK [12:56:20]request: POST /json_proto HTTP/1.0 [12:56:20]Method: POST [12:56:20]URL: /json_proto [12:56:20]Method is POST - this is cgi request [12:56:20]url: /json_proto [12:56:20]query_string will be loaded in cgi processing [12:56:20]execute_cgi json_proto POST (null) [12:56:20]execute_cgi path=json_proto method=POST [12:56:20]POST find Content-Length [12:56:20]Host: 172.17.38.134:8080 [12:56:20]Content-Length: 996 [12:56:20]Content-Type: application/json [12:56:20] [12:56:20]POST finish read [12:56:20]Found Content-Length = 996 [12:56:20]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184360", "tax_sys" : 0, "items" : [ { "code": "4870202522701", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Maxi \u0427\u0430\u0439 \u0447\u0435\u0440\u043D\u044B\u0439 \u041C\u0430\u043B\u0438\u043D\u0430 1,2", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4680036915880", "name": "Gorilla \u044D\u043D \u043D\u0430\u043F \u043C\u0430\u043D\u0433\u043E-\u043A\u043E\u043A\u043E\u0441 0,45 \u0436/\u0431", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 235.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:56:20]execute_script... [12:56: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)184360", "tax_sys" : 0, "items" : [ { "code": "4870202522701", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Maxi \u0427\u0430\u0439 \u0447\u0435\u0440\u043D\u044B\u0439 \u041C\u0430\u043B\u0438\u043D\u0430 1,2", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4680036915880", "name": "Gorilla \u044D\u043D \u043D\u0430\u043F \u043C\u0430\u043D\u0433\u043E-\u043A\u043E\u043A\u043E\u0441 0,45 \u0436/\u0431", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 235.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:56:20]POST & json_proto [12:56:20]process_json_proto [12:56:20]json parsed OK: [12:56:20]protocol is kg_v1.0 [12:56:20]action value=close_receipt [12:56:20]process_action close_receipt [12:56:20]cmd_close_receipt [12:56:20]MH_GetDate [12:56:20]Write to MH i2c: F0 00 00 07 18 0E [12:56:20]Write i2c OK [12:56:20]MH_I2C_Read... [12:56:20]Read from MH i2c: F0 [12:56:20]MH_I2C_Read... [12:56:20]Read from MH i2c: F0 09 00 [12:56:20]MH_I2C_Read... [12:56:20]Read from MH i2c: F0 09 00 07 18 00 FA C9 76 66 13 9C 7C 64 45 [12:56:20]GetLastDocTimeStamp 1719060551 [12:56:20]current date 1719060986 [12:56:20]FM_GetShiftState [12:56:20]SAM_PROTO_GetShiftState [12:56:20]wFMCommunicate request_size=4 [12:56:20]MH_SAM_APDU [12:56:20]CAPDU: 80 13 01 00 [12:56:20]Write to MH i2c: E2 08 00 08 18 80 13 01 00 00 00 00 00 9D [12:56:20]Write i2c OK [12:56:20]MH_I2C_Read... [12:56:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:56:20]Read from MH i2c: E2 [12:56:20]MH_I2C_Read... [12:56:20]Read from MH i2c: E2 0E 00 [12:56:20]MH_I2C_Read... [12:56:20]Read from MH i2c: E2 0E 00 08 18 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 57 [12:56:20]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [12:56:20]wFMCommunicate OK [12:56:20]SAM_PROTO_GetShiftState done [12:56:20]FM_GetShiftState done [12:56:20]opened in 1719016120 [12:56:20]opened+sec_in_day 1719102520 [12:56:20]quantity*price = 12500 [12:56:20]sum+1 = 12501 [12:56:20]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4680036915880 Gorilla эн нап манго-кокос 0,45 ж/б 1.000 * 110.00 = 110.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 235.00 НСП 1% : 2.08 НДС 12% : 24.95 Наличными: 235.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 29 22.06.2024 12:56 Смена: 327 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34603 ФПД: 43984883325070 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T125626&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34603&fm=43984883325070&tin=02508201610067®Number=0000000000092786&sum=23500 0 [12:56:21]StoreToDocumentArchive [12:56:21]shift 327 fd 34603 [12:56:21]save to /storage/0327/doc_00034603 [12:56:21]save last doc name /storage/0327/doc_00034603 to /storage/kkm_last_doc_name [12:56:21]save OK [12:56:21]Clear old archive folders... [12:56:21]ProcessDocumentItem done err = 0, tmpTLVsize=422 [12:56:21]tlvbuf is 015EDF20 [12:56:21]SAM_PROTO_ClearQueue [12:56:21]wFMCommunicate request_size=4 [12:56:21]MH_SAM_APDU [12:56:21]CAPDU: 80 09 00 00 [12:56:21]Write to MH i2c: E2 08 00 15 18 80 09 00 00 00 00 00 00 9F [12:56:21]Write i2c OK [12:56:21]MH_I2C_Read... [12:56:21]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:56:21]Read from MH i2c: E2 [12:56:21]MH_I2C_Read... [12:56:21]Read from MH i2c: E2 03 00 [12:56:21]MH_I2C_Read... [12:56:21]Read from MH i2c: E2 03 00 15 18 00 90 00 A1 [12:56:21]RAPDU: 90 00 [12:56:21]wFMCommunicate OK [12:56:21]SAM_PROTO_ClearQueue done [12:56:21]KKMCreateOFDPacket [12:56:21]OFDProtocolAddRootSTLVToBuf [12:56:21]FM_MakeSignedData [12:56:21]FM_MakeSignedData [12:56:21]SAM_PROTO_SignData [12:56:21]wFMCommunicate request_size=4 [12:56:21]MH_SAM_APDU [12:56:21]CAPDU: 80 0D 01 02 [12:56:21]Write to MH i2c: E2 08 00 16 18 80 0D 01 02 00 00 00 00 A7 [12:56:21]Write i2c OK [12:56:21]MH_I2C_Read... [12:56:21]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:56:21]Read from MH i2c: E2 [12:56:21]MH_I2C_Read... [12:56:21]Read from MH i2c: E2 03 00 [12:56:21]MH_I2C_Read... [12:56:21]Read from MH i2c: E2 03 00 16 18 00 90 00 A2 [12:56:21]RAPDU: 90 00 [12:56:21]wFMCommunicate OK [12:56:21]wFMCommunicate request_size=255 [12:56:21]MH_SAM_APDU [12:56:21]CAPDU: 80 0D 02 02 FA 03 00 A6 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 37 30 31 06 04 38 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 61 78 69 20 D0 A7 D0 B0 D0 B9 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D0 9C D0 B0 D0 BB D0 B8 D0 BD D0 B0 20 31 2C 32 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 78 00 8A 04 0D 00 34 36 38 30 30 33 36 39 31 35 38 38 30 06 04 34 00 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BE D0 BA D0 BE D1 81 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 [12:56:21]Write to MH i2c: E2 02 01 17 18 80 0D 02 02 FA 00 03 00 A6 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 37 30 31 06 04 38 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 61 78 69 20 D0 A7 D0 B0 D0 B9 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D0 9C D0 B0 D0 BB D0 B8 D0 BD D0 B0 20 31 2C 32 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 78 00 8A 04 0D 00 34 36 38 30 30 33 36 39 31 35 38 38 30 06 04 34 00 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BE D0 BA D0 BE D1 81 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 00 00 E6 [12:56:21]Write i2c OK [12:56:21]MH_I2C_Read... [12:56:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:56:22]Read from MH i2c: E2 [12:56:22]MH_I2C_Read... [12:56:22]Read from MH i2c: E2 03 00 [12:56:22]MH_I2C_Read... [12:56:22]Read from MH i2c: E2 03 00 17 18 00 90 00 A3 [12:56:22]RAPDU: 90 00 [12:56:22]wFMCommunicate OK [12:56:22]wFMCommunicate request_size=181 [12:56:22]MH_SAM_APDU [12:56:22]CAPDU: 80 0D 02 02 B0 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CC 5B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BF 09 00 00 00 00 07 04 06 00 CC 5B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 FA C9 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 2B 87 00 00 35 04 06 00 28 01 07 58 98 8E [12:56:22]Write to MH i2c: E2 B8 00 18 18 80 0D 02 02 B0 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CC 5B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BF 09 00 00 00 00 07 04 06 00 CC 5B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 FA C9 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 2B 87 00 00 35 04 06 00 28 01 07 58 98 8E 00 00 5D [12:56:22]Write i2c OK [12:56:22]MH_I2C_Read... [12:56:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:56:22]Read from MH i2c: E2 [12:56:22]MH_I2C_Read... [12:56:22]Read from MH i2c: E2 03 00 [12:56:22]MH_I2C_Read... [12:56:22]Read from MH i2c: E2 03 00 18 18 00 90 00 A4 [12:56:22]RAPDU: 90 00 [12:56:22]wFMCommunicate OK [12:56:22]wFMCommunicate request_size=4 [12:56:22]MH_SAM_APDU [12:56:22]CAPDU: 80 0D 03 02 [12:56:22]Write to MH i2c: E2 08 00 19 18 80 0D 03 02 00 00 00 00 AC [12:56:22]Write i2c OK [12:56:22]MH_I2C_Read... [12:56:22]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:56:22]Read from MH i2c: E2 [12:56:22]MH_I2C_Read... [12:56:22]Read from MH i2c: E2 0B 00 [12:56:22]MH_I2C_Read... [12:56:22]Read from MH i2c: E2 0B 00 19 18 00 BE 64 9A 97 52 53 D4 66 90 00 DF [12:56:22]RAPDU: BE 64 9A 97 52 53 D4 66 90 00 [12:56:22]wFMCommunicate OK [12:56:22]SAM_PROTO_SignData done [12:56:22]FM_MakeSignedData done [12:56:22]CreateOFDProtocolMessage [12:56:22]wFMCommunicate request_size=4 [12:56:22]MH_SAM_APDU [12:56:22]CAPDU: 80 11 00 00 [12:56:22]Write to MH i2c: E2 08 00 1A 18 80 11 00 00 00 00 00 00 AC [12:56:22]Write i2c OK [12:56:22]MH_I2C_Read... [12:56:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:56:22]Read from MH i2c: E2 [12:56:22]MH_I2C_Read... [12:56:22]Read from MH i2c: E2 17 00 [12:56:22]MH_I2C_Read... [12:56:22]Read from MH i2c: E2 17 00 1A 18 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 01 [12:56:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [12:56:22]wFMCommunicate OK [12:56:22]CreateOFDProtocolMessage done [12:56:22]OFDSenderStorePacket 34603 [12:56:22]StoreOFDPacket docnum=34603 [12:56:22]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 BA 01 00 00 6F 51 B2 01 BB 5D 5A 03 01 00 03 00 A6 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 37 30 31 06 04 38 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 61 78 69 20 D0 A7 D0 B0 D0 B9 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D0 9C D0 B0 D0 BB D0 B8 D0 BD D0 B0 20 31 2C 32 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 78 00 8A 04 0D 00 34 36 38 30 30 33 36 39 31 35 38 38 30 06 04 34 00 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BE D0 BA D0 BE D1 81 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CC 5B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BF 09 00 00 00 00 07 04 06 00 CC 5B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 FA C9 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 2B 87 00 00 35 04 06 00 28 01 07 58 98 8E BE 64 9A 97 52 53 D4 66 [12:56:22]CheckFolder [12:56:22]dirname=/storage/ofd_packets [12:56:22]CheckFolder done [12:56:22]ProducePacketName [12:56:22]name=ofd_packets/00034603 [12:56:22]NVStorageSaveData ofd_packets/00034603 [12:56:22]File name is /storage/ofd_packets/00034603 [12:56:22]Write 472 bytes [12:56:22]NVStorageSaveData done [12:56:22]OFDSenderStorePacket done [12:56:22]KKMCreateOFDPacket done [12:56:22]NVStorageSaveData kkm_last_timestamp [12:56:22]File name is /storage/kkm_last_timestamp [12:56:22]Write 4 bytes [12:56:22]NVStorageSaveData done [12:56:22]ExternCall_PrintAddStr [12:56:22]wPrintStart [12:56:22]Write to MH i2c: 01 00 00 1B 18 33 [12:56:22]Write i2c OK [12:56:22]MH_I2C_Read... [12:56:22]OFD Sender: Processing packet 34603 [packets to send 8, broken 7] [12:56:22]ProducePacketName [12:56:22]name=ofd_packets/00034603 [12:56:22]OFD Sender: To server: pG, [12:56:22]CommunicateWithHost lk.salyk.kg:30040 [12:56:22]ConnectInit lk.salyk.kg [12:56:22]Read from MH i2c: 01 [12:56:22]MH_I2C_Read... [12:56:22]Read from MH i2c: 01 07 00 [12:56:22]MH_I2C_Read... [12:56:22]Read from MH i2c: 01 07 00 1B 18 00 00 00 00 00 FF 0F 48 [12:56:22]RasterBufferAndPrint [12:56:22]line Счет N : (3)184360 [12:56:22]line ИНН: 02508201610067 [12:56:22]line Контрольно-Кассовый Чек [12:56:22]line ПРОДАЖА [12:56:22]line Товар: 4870202522701 [12:56:22]line Напиток Maxi Чай черный Малина 1,2 [12:56:22]line 1.000 * 125.00 [12:56:22]line = 125.00 [12:56:22]line НДС 12% НСП 1% [12:56:22]line > о реализуемом товаре [12:56:22]line Товар: 4680036915880 [12:56:22]line Gorilla эн нап манго-кокос 0,45 ж/б [12:56:22]line 1.000 * 110.00 [12:56:22]line = 110.00 [12:56:22]line НДС 12% НСП 1% [12:56:22]line > о реализуемом товаре [12:56:22]line ИТОГО: 235.00 [12:56:22]line НСП 1% : 2.08 [12:56:22]line НДС 12% : 24.95 [12:56:22]line Наличными: 235.00 [12:56:22]line Безнал.: 0.00 [12:56:22]line Место: АЗС № 120 "Партнер Нефть" [12:56:22]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [12:56:22]line СНО: Общий режим [12:56:22]line Чек 29 22.06.2024 12:56 [12:56:22]line Смена: 327 ФФД: 1.0 [12:56:22]line ЗНМ: 0300000172 [12:56:22]line РНМ: 0000000000092786 [12:56:22]line Версия ККМ: 001 [12:56:22]line ФМ: 0000000000875095 [12:56:22]line ФД: 34603 [12:56:22]line ФПД: 43984883325070 [12:56:22]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T125626&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34603&fm=43984883325070&tin=02508201610067®Number=0000000000092786&sum=23500 [12:56:22]line 0 [12:56:22]written 0, free lines is 4095 [12:56:22]Connected sock=10 [12:56:22]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 BA 01 00 00 6F 51 B2 01 BB 5D 5A 03 01 00 03 00 A6 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 37 30 31 06 04 38 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 61 78 69 20 D0 A7 D0 B0 D0 B9 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D0 9C D0 B0 D0 BB D0 B8 D0 BD D0 B0 20 31 2C 32 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 78 00 8A 04 0D 00 34 36 38 30 30 33 36 39 31 35 38 38 30 06 04 34 00 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BE D0 BA D0 BE D1 81 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CC 5B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BF 09 00 00 00 00 07 04 06 00 CC 5B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 FA C9 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 2B 87 00 00 35 04 06 00 28 01 07 58 98 8E BE 64 9A 97 52 53 D4 66 [12:56:23]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 31 29 47 00 9B E3 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 2B 87 00 00 F4 03 04 00 BE 70 76 66 B6 04 01 00 00 E8 8A B2 09 FC FC 88 62 [12:56:23]CommunicateWithHost err = 0 [12:56:23]CheckOFDResponse [12:56:23]1017 (14) - 77093643461234 [12:56:23]1041 (16) - 0000000000875095 [12:56:23]1040 (4) - 34603 [12:56:23]1012 (4) - 22.06.2024 06:35 [12:56:23]1206 (1) - 0 [12:56:23]OFD Sender: Remove packet 34603 [12:56:23]ProducePacketName [12:56:23]name=ofd_packets/00034603 [12:56:23]NVStorageDeleteData [12:56:23]Write to MH i2c: 01 00 00 4B 18 63 [12:56:23]Write i2c OK [12:56:23]MH_I2C_Read... [12:56:23]Read from MH i2c: 01 [12:56:23]MH_I2C_Read... [12:56:23]Read from MH i2c: 01 07 00 [12:56:23]MH_I2C_Read... [12:56:23]Read from MH i2c: 01 07 00 4B 18 00 00 00 00 00 87 0C FD [12:56:23]RasterBufferAndPrint [12:56:23]line [12:56:23]line [12:56:23]line [12:56:23]line [12:56:23]line [12:56:23]written 0, free lines is 3214 [12:56:23]MH_Cut [12:56:23]Write to MH i2c: D1 01 00 52 18 01 3C [12:56:23]Write i2c OK [12:56:23]MH_I2C_Read... [12:56:23]Read from MH i2c: D1 [12:56:23]MH_I2C_Read... [12:56:23]Read from MH i2c: D1 01 00 [12:56:23]MH_I2C_Read... [12:56:23]Read from MH i2c: D1 01 00 52 18 00 3B [12:56:23]Write to MH i2c: 01 00 00 53 18 6B [12:56:23]Write i2c OK [12:56:23]MH_I2C_Read... [12:56:23]OFD Sender: No OFD packet to send [12:56:24]*** Cut start [12:56:24]*** Partial cut [12:56:24]*** CUTSNS_PIN = 1 [12:56:24]*** CUTSNS_PIN = 0 [12:56:24]*** Brake cut motor [12:56:24]Read from MH i2c: 01 [12:56:24]MH_I2C_Read... [12:56:24]*** Stop cut motor [12:56:24]*** Cut end [12:56:24]Read from MH i2c: 01 07 00 [12:56:24]MH_I2C_Read... [12:56:24]Read from MH i2c: 01 07 00 53 18 00 00 00 00 00 FF 0F 80 [12:56:24]process_action close_receipt done [12:56:24]requested_data is exist [12:56:24]produce_requested_data [12:56:24]requested_item fm.sn is exist - process it [12:56:24]wFMCommunicate request_size=4 [12:56:24]MH_SAM_APDU [12:56:24]CAPDU: 80 11 00 00 [12:56:24]Write to MH i2c: E2 08 00 54 18 80 11 00 00 00 00 00 00 E6 [12:56:24]Write i2c OK [12:56:24]MH_I2C_Read... [12:56:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:56:24]Read from MH i2c: E2 [12:56:24]MH_I2C_Read... [12:56:24]Read from MH i2c: E2 17 00 [12:56:24]MH_I2C_Read... [12:56:24]Read from MH i2c: E2 17 00 54 18 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 3B [12:56:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [12:56:24]wFMCommunicate OK [12:56:24]requested_item fd.num is exist - process it [12:56:24]SAM_PROTO_GetFieldsCounters [12:56:24]wFMCommunicate request_size=4 [12:56:24]MH_SAM_APDU [12:56:24]CAPDU: 80 13 00 00 [12:56:24]Write to MH i2c: E2 08 00 55 18 80 13 00 00 00 00 00 00 E9 [12:56:24]Write i2c OK [12:56:24]MH_I2C_Read... [12:56:24]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:56:24]Read from MH i2c: E2 [12:56:24]MH_I2C_Read... [12:56:24]Read from MH i2c: E2 62 00 [12:56:24]MH_I2C_Read... [12:56:24]Read from MH i2c: E2 62 00 55 18 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 2B 87 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 64 [12:56:24]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 2B 87 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:56:24]wFMCommunicate OK [12:56:24]SAM_PROTO_GetFieldsCounters done [12:56:24]requested_item shift.num is exist - process it [12:56:24]requested_item shift.opened is exist - process it [12:56:24]req_shift_opened [12:56:24]FM_GetShiftState [12:56:24]SAM_PROTO_GetShiftState [12:56:24]wFMCommunicate request_size=4 [12:56:24]MH_SAM_APDU [12:56:24]CAPDU: 80 13 01 00 [12:56:24]Write to MH i2c: E2 08 00 56 18 80 13 01 00 00 00 00 00 EB [12:56:24]Write i2c OK [12:56:24]MH_I2C_Read... [12:56:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:56:25]Read from MH i2c: E2 [12:56:25]MH_I2C_Read... [12:56:25]Read from MH i2c: E2 0E 00 [12:56:25]MH_I2C_Read... [12:56:25]Read from MH i2c: E2 0E 00 56 18 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 A5 [12:56:25]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [12:56:25]wFMCommunicate OK [12:56:25]SAM_PROTO_GetShiftState done [12:56:25]FM_GetShiftState done [12:56:25]req_shift_opened done [12:56:25]requested_item shift.open_date is exist - process it [12:56:25]req_shift_open_date [12:56:25]req_shift_open_date done [12:56:25]produce_requested_data done [12:56:25]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34603,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120} [12:56:25]process_action_free close_receipt [12:56:25]json_value_free [12:56:25]json_value_free done [12:56:25]process_json_proto returns [12:56:25]Send response to host [12:56:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34603,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120}}} [12:56:25]free response buf [12:56:25]execute_script done [12:56:25]execute_script returns [12:56:25]free content buf [12:56:25]Sock 7.Close socket [12:56:25]Sock 7.Thread stoped [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:48]OFD Sender: No OFD packet to send [12:56:53]OFD Sender: No OFD packet to send [12:56:58]OFD Sender: No OFD packet to send [12:57:03]OFD Sender: No OFD packet to send [12:57:08]OFD Sender: No OFD packet to send [12:57:13]OFD Sender: No OFD packet to send [12:57:18]OFD Sender: No OFD packet to send [12:57:23]OFD Sender: No OFD packet to send [12:57:28]OFD Sender: No OFD packet to send [12:57:33]OFD Sender: No OFD packet to send [12:57:38]OFD Sender: No OFD packet to send [12:57:43]OFD Sender: No OFD packet to send [12:57:48]OFD Sender: No OFD packet to send [12:57:53]OFD Sender: No OFD packet to send [12:57:58]OFD Sender: No OFD packet to send [12:58:03]OFD Sender: No OFD packet to send [12:58:08]OFD Sender: No OFD packet to send [12:58:13]OFD Sender: No OFD packet to send [12:58:18]OFD Sender: No OFD packet to send [12:58:23]OFD Sender: No OFD packet to send [12:58:28]OFD Sender: No OFD packet to send [12:58:33]OFD Sender: No OFD packet to send [12:58:38]OFD Sender: No OFD packet to send [12:58:43]OFD Sender: No OFD packet to send [12:58:48]OFD Sender: No OFD packet to send [12:58:53]OFD Sender: No OFD packet to send [12:58:58]OFD Sender: No OFD packet to send [12:59:03]OFD Sender: No OFD packet to send [12:59:08]OFD Sender: No OFD packet to send [12:59:13]OFD Sender: No OFD packet to send [12:59:18]OFD Sender: No OFD packet to send [12:59:23]OFD Sender: No OFD packet to send [12:59:28]OFD Sender: No OFD packet to send [12:59:33]OFD Sender: No OFD packet to send [12:59:38]OFD Sender: No OFD packet to send [12:59:43]OFD Sender: No OFD packet to send [12:59:48]OFD Sender: No OFD packet to send [12:59:53]OFD Sender: No OFD packet to send [12:59:58]OFD Sender: No OFD packet to send [13:00:03]OFD Sender: No OFD packet to send [13:00:08]OFD Sender: No OFD packet to send [13:00:13]OFD Sender: No OFD packet to send [13:00:18]OFD Sender: No OFD packet to send [13:00:23]OFD Sender: No OFD packet to send [13:00:28]OFD Sender: No OFD packet to send [13:00:33]OFD Sender: No OFD packet to send [13:00:38]OFD Sender: No OFD packet to send [13:00:43]OFD Sender: No OFD packet to send [13:00:48]OFD Sender: No OFD packet to send [13:00:53]OFD Sender: No OFD packet to send [13:00:58]OFD Sender: No OFD packet to send [13:01:03]OFD Sender: No OFD packet to send [13:01:08]OFD Sender: No OFD packet to send [13:01:13]OFD Sender: No OFD packet to send [13:01:18]OFD Sender: No OFD packet to send [13:01:23]OFD Sender: No OFD packet to send [13:01:28]OFD Sender: No OFD packet to send [13:01:33]OFD Sender: No OFD packet to send [13:01:38]OFD Sender: No OFD packet to send [13:01:43]OFD Sender: No OFD packet to send [13:01:48]OFD Sender: No OFD packet to send [13:01:53]OFD Sender: No OFD packet to send [13:01:58]OFD Sender: No OFD packet to send [13:02:03]OFD Sender: No OFD packet to send [13:02:08]OFD Sender: No OFD packet to send [13:02:13]OFD Sender: No OFD packet to send [13:02:18]OFD Sender: No OFD packet to send [13:02:23]OFD Sender: No OFD packet to send [13:02:28]OFD Sender: No OFD packet to send [13:02:33]OFD Sender: No OFD packet to send [13:02:38]OFD Sender: No OFD packet to send [13:02:43]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]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: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: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 [13:08:09]OFD Sender: No OFD packet to send [13:08:14]OFD Sender: No OFD packet to send [13:08:19]OFD Sender: No OFD packet to send [13:08:24]OFD Sender: No OFD packet to send [13:08:29]OFD Sender: No OFD packet to send [13:08:34]OFD Sender: No OFD packet to send [13:08:39]OFD Sender: No OFD packet to send [13:08:44]OFD Sender: No OFD packet to send [13:08:49]OFD Sender: No OFD packet to send [13:08:54]OFD Sender: No OFD packet to send [13:08:59]OFD Sender: No OFD packet to send [13:09:04]OFD Sender: No OFD packet to send [13:09:09]OFD Sender: No OFD packet to send [13:09:14]OFD Sender: No OFD packet to send [13:09:19]OFD Sender: No OFD packet to send [13:09:24]OFD Sender: No OFD packet to send [13:09:29]OFD Sender: No OFD packet to send [13:09:34]OFD Sender: No OFD packet to send [13:09:39]OFD Sender: No OFD packet to send [13:09:44]OFD Sender: No OFD packet to send [13:09:49]OFD Sender: No OFD packet to send [13:09:54]OFD Sender: No OFD packet to send [13:09:59]OFD Sender: No OFD packet to send [13:10:04]OFD Sender: No OFD packet to send [13:10:09]OFD Sender: No OFD packet to send [13:10:14]OFD Sender: No OFD packet to send [13:10:19]OFD Sender: No OFD packet to send [13:10:24]OFD Sender: No OFD packet to send [13:10:29]OFD Sender: No OFD packet to send [13:10:34]OFD Sender: No OFD packet to send [13:10:39]OFD Sender: No OFD packet to send [13:10:44]OFD Sender: No OFD packet to send [13:10:49]OFD Sender: No OFD packet to send [13:10:50]accept exits with 9 [13:10:50]New connection [13:10:50]New thread 3067616612 created [13:10:50]Thread 3067473252 joined [13:10:50]Waiting for new connection... [13:10:50] Sock 9.Parse request [13:10:50]Sock 9.Check first char [13:10:50]Sock 9.First char is OK [13:10:50]request: POST /json_proto HTTP/1.0 [13:10:50]Method: POST [13:10:50]URL: /json_proto [13:10:50]Method is POST - this is cgi request [13:10:50]url: /json_proto [13:10:50]query_string will be loaded in cgi processing [13:10:50]execute_cgi json_proto POST (null) [13:10:50]execute_cgi path=json_proto method=POST [13:10:50]POST find Content-Length [13:10:50]Host: 172.17.38.134:8080 [13:10:50]Content-Length: 673 [13:10:50]Content-Type: application/json [13:10:50] [13:10:50]POST finish read [13:10:50]Found Content-Length = 673 [13:10:50]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184361", "tax_sys" : 0, "items" : [ { "code": "2000053020015", "name": "\u0411\u0443\u043C\u0430\u0436\u043D\u044B\u0435 \u0441\u0442\u0430\u043A\u0430\u043D\u044B 250\u043C\u043B 1\u0448\u0442", "price" : 7.00, "quantity" : 1.000, "sum" : 7.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 7.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:10:50]execute_script... [13:10: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)184361", "tax_sys" : 0, "items" : [ { "code": "2000053020015", "name": "\u0411\u0443\u043C\u0430\u0436\u043D\u044B\u0435 \u0441\u0442\u0430\u043A\u0430\u043D\u044B 250\u043C\u043B 1\u0448\u0442", "price" : 7.00, "quantity" : 1.000, "sum" : 7.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 7.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:10:50]POST & json_proto [13:10:50]process_json_proto [13:10:50]json parsed OK: [13:10:50]protocol is kg_v1.0 [13:10:50]action value=close_receipt [13:10:50]process_action close_receipt [13:10:50]cmd_close_receipt [13:10:50]MH_GetDate [13:10:50]Write to MH i2c: F0 00 00 57 18 5E [13:10:50]Write i2c OK [13:10:50]MH_I2C_Read... [13:10:50]Read from MH i2c: F0 [13:10:50]MH_I2C_Read... [13:10:50]Read from MH i2c: F0 09 00 [13:10:50]MH_I2C_Read... [13:10:50]Read from MH i2c: F0 09 00 57 18 00 5F CD 76 66 13 9C 7C 64 FE [13:10:50]GetLastDocTimeStamp 1719060986 [13:10:50]current date 1719061855 [13:10:50]FM_GetShiftState [13:10:50]SAM_PROTO_GetShiftState [13:10:50]wFMCommunicate request_size=4 [13:10:50]MH_SAM_APDU [13:10:50]CAPDU: 80 13 01 00 [13:10:50]Write to MH i2c: E2 08 00 58 18 80 13 01 00 00 00 00 00 ED [13:10:50]Write i2c OK [13:10:50]MH_I2C_Read... [13:10:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:10:50]Read from MH i2c: E2 [13:10:50]MH_I2C_Read... [13:10:50]Read from MH i2c: E2 0E 00 [13:10:50]MH_I2C_Read... [13:10:50]Read from MH i2c: E2 0E 00 58 18 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 A7 [13:10:50]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [13:10:50]wFMCommunicate OK [13:10:50]SAM_PROTO_GetShiftState done [13:10:50]FM_GetShiftState done [13:10:50]opened in 1719016120 [13:10:50]opened+sec_in_day 1719102520 [13:10:50]quantity*price = 700 [13:10:50]sum+1 = 701 [13:10:50]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 7.00 НСП 1% : 0.06 НДС 12% : 0.74 Наличными: 7.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 30 22.06.2024 13:10 Смена: 327 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34604 ФПД: 167619369918531 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T131055&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34604&fm=167619369918531&tin=02508201610067®Number=0000000000092786&sum=700 0 [13:10:51]StoreToDocumentArchive [13:10:51]shift 327 fd 34604 [13:10:51]save to /storage/0327/doc_00034604 [13:10:51]save last doc name /storage/0327/doc_00034604 to /storage/kkm_last_doc_name [13:10:51]save OK [13:10:51]Clear old archive folders... [13:10:51]ProcessDocumentItem done err = 0, tmpTLVsize=287 [13:10:51]tlvbuf is 01601F10 [13:10:51]SAM_PROTO_ClearQueue [13:10:51]wFMCommunicate request_size=4 [13:10:51]MH_SAM_APDU [13:10:51]CAPDU: 80 09 00 00 [13:10:51]Write to MH i2c: E2 08 00 65 18 80 09 00 00 00 00 00 00 EF [13:10:51]Write i2c OK [13:10:51]MH_I2C_Read... [13:10:51]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:10:51]Read from MH i2c: E2 [13:10:51]MH_I2C_Read... [13:10:51]Read from MH i2c: E2 03 00 [13:10:51]MH_I2C_Read... [13:10:51]Read from MH i2c: E2 03 00 65 18 00 90 00 F1 [13:10:51]RAPDU: 90 00 [13:10:51]wFMCommunicate OK [13:10:51]SAM_PROTO_ClearQueue done [13:10:51]KKMCreateOFDPacket [13:10:51]OFDProtocolAddRootSTLVToBuf [13:10:51]FM_MakeSignedData [13:10:51]FM_MakeSignedData [13:10:51]SAM_PROTO_SignData [13:10:51]wFMCommunicate request_size=4 [13:10:51]MH_SAM_APDU [13:10:51]CAPDU: 80 0D 01 02 [13:10:51]Write to MH i2c: E2 08 00 66 18 80 0D 01 02 00 00 00 00 F7 [13:10:51]Write i2c OK [13:10:51]MH_I2C_Read... [13:10:51]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:10:51]Read from MH i2c: E2 [13:10:51]MH_I2C_Read... [13:10:51]Read from MH i2c: E2 03 00 [13:10:51]MH_I2C_Read... [13:10:51]Read from MH i2c: E2 03 00 66 18 00 90 00 F2 [13:10:51]RAPDU: 90 00 [13:10:51]wFMCommunicate OK [13:10:51]wFMCommunicate request_size=255 [13:10:51]MH_SAM_APDU [13:10:51]CAPDU: 80 0D 02 02 FA 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 BC 02 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 02 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 06 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4A 00 00 00 00 00 07 04 06 00 BC 02 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 5F CD 76 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 32 [13:10:51]Write to MH i2c: E2 02 01 67 18 80 0D 02 02 FA 00 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 BC 02 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 02 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 06 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4A 00 00 00 00 00 07 04 06 00 BC 02 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 5F CD 76 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 32 00 00 A1 [13:10:51]Write i2c OK [13:10:51]MH_I2C_Read... [13:10:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:10:51]Read from MH i2c: E2 [13:10:51]MH_I2C_Read... [13:10:51]Read from MH i2c: E2 03 00 [13:10:51]MH_I2C_Read... [13:10:51]Read from MH i2c: E2 03 00 67 18 00 90 00 F3 [13:10:51]RAPDU: 90 00 [13:10:51]wFMCommunicate OK [13:10:51]wFMCommunicate request_size=46 [13:10:51]MH_SAM_APDU [13:10:51]CAPDU: 80 0D 02 02 29 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 2C 87 00 00 35 04 06 00 98 72 ED 00 60 43 [13:10:51]Write to MH i2c: E2 31 00 68 18 80 0D 02 02 29 00 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 2C 87 00 00 35 04 06 00 98 72 ED 00 60 43 00 00 DC [13:10:51]Write i2c OK [13:10:51]MH_I2C_Read... [13:10:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:10:51]Read from MH i2c: E2 [13:10:51]MH_I2C_Read... [13:10:51]Read from MH i2c: E2 03 00 [13:10:51]MH_I2C_Read... [13:10:51]Read from MH i2c: E2 03 00 68 18 00 90 00 F4 [13:10:51]RAPDU: 90 00 [13:10:51]wFMCommunicate OK [13:10:51]wFMCommunicate request_size=4 [13:10:51]MH_SAM_APDU [13:10:51]CAPDU: 80 0D 03 02 [13:10:51]Write to MH i2c: E2 08 00 69 18 80 0D 03 02 00 00 00 00 FC [13:10:51]Write i2c OK [13:10:51]MH_I2C_Read... [13:10:52]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:10:52]Read from MH i2c: E2 [13:10:52]MH_I2C_Read... [13:10:52]Read from MH i2c: E2 0B 00 [13:10:52]MH_I2C_Read... [13:10:52]Read from MH i2c: E2 0B 00 69 18 00 D7 7F F0 48 03 95 2F 5D 90 00 AF [13:10:52]RAPDU: D7 7F F0 48 03 95 2F 5D 90 00 [13:10:52]wFMCommunicate OK [13:10:52]SAM_PROTO_SignData done [13:10:52]FM_MakeSignedData done [13:10:52]CreateOFDProtocolMessage [13:10:52]wFMCommunicate request_size=4 [13:10:52]MH_SAM_APDU [13:10:52]CAPDU: 80 11 00 00 [13:10:52]Write to MH i2c: E2 08 00 6A 18 80 11 00 00 00 00 00 00 FC [13:10:52]Write i2c OK [13:10:52]MH_I2C_Read... [13:10:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:10:52]Read from MH i2c: E2 [13:10:52]MH_I2C_Read... [13:10:52]Read from MH i2c: E2 17 00 [13:10:52]MH_I2C_Read... [13:10:52]Read from MH i2c: E2 17 00 6A 18 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 51 [13:10:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [13:10:52]wFMCommunicate OK [13:10:52]CreateOFDProtocolMessage done [13:10:52]OFDSenderStorePacket 34604 [13:10:52]StoreOFDPacket docnum=34604 [13:10:52]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 33 01 00 00 1C 7C 2B 01 F4 0C 5A 03 01 00 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 BC 02 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 02 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 06 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4A 00 00 00 00 00 07 04 06 00 BC 02 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 5F CD 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 2C 87 00 00 35 04 06 00 98 72 ED 00 60 43 D7 7F F0 48 03 95 2F 5D [13:10:52]CheckFolder [13:10:52]dirname=/storage/ofd_packets [13:10:52]CheckFolder done [13:10:52]ProducePacketName [13:10:52]name=ofd_packets/00034604 [13:10:52]NVStorageSaveData ofd_packets/00034604 [13:10:52]File name is /storage/ofd_packets/00034604 [13:10:52]Write 337 bytes [13:10:52]NVStorageSaveData done [13:10:52]OFDSenderStorePacket done [13:10:52]KKMCreateOFDPacket done [13:10:52]NVStorageSaveData kkm_last_timestamp [13:10:52]File name is /storage/kkm_last_timestamp [13:10:52]Write 4 bytes [13:10:52]NVStorageSaveData done [13:10:52]ExternCall_PrintAddStr [13:10:52]wPrintStart [13:10:52]Write to MH i2c: 01 00 00 6B 18 83 [13:10:52]Write i2c OK [13:10:52]MH_I2C_Read... [13:10:52]Read from MH i2c: 01 [13:10:52]MH_I2C_Read... [13:10:52]Read from MH i2c: 01 07 00 [13:10:52]MH_I2C_Read... [13:10:52]Read from MH i2c: 01 07 00 6B 18 00 00 00 00 00 FF 0F 98 [13:10:52]RasterBufferAndPrint [13:10:52]line Счет N : (3)184361 [13:10:52]line ИНН: 02508201610067 [13:10:52]line Контрольно-Кассовый Чек [13:10:52]line ПРОДАЖА [13:10:52]line Товар: 2000053020015 [13:10:52]line Бумажные стаканы 250мл 1шт [13:10:52]line 1.000 * 7.00 [13:10:52]line = 7.00 [13:10:52]line НДС 12% НСП 1% [13:10:52]line > о реализуемом товаре [13:10:52]line ИТОГО: 7.00 [13:10:52]line НСП 1% : 0.06 [13:10:52]line НДС 12% : 0.74 [13:10:52]line Наличными: 7.00 [13:10:52]line Безнал.: 0.00 [13:10:52]line Место: АЗС № 120 "Партнер Нефть" [13:10:52]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [13:10:52]line СНО: Общий режим [13:10:52]line Чек 30 22.06.2024 13:10 [13:10:52]line Смена: 327 ФФД: 1.0 [13:10:52]line ЗНМ: 0300000172 [13:10:52]line РНМ: 0000000000092786 [13:10:52]line Версия ККМ: 001 [13:10:52]line ФМ: 0000000000875095 [13:10:52]line ФД: 34604 [13:10:52]line ФПД: 167619369918531 [13:10:52]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T131055&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34604&fm=167619369918531&tin=02508201610067®Number=0000000000092786&sum=700 [13:10:52]line 0 [13:10:52]OFD Sender: Processing packet 34604 [packets to send 8, broken 7] [13:10:52]ProducePacketName [13:10:52]name=ofd_packets/00034604 [13:10:52]OFD Sender: To server: pG, [13:10:52]CommunicateWithHost lk.salyk.kg:30040 [13:10:52]ConnectInit lk.salyk.kg [13:10:52]written 0, free lines is 4095 [13:10:52]Connected sock=10 [13:10:52]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 33 01 00 00 1C 7C 2B 01 F4 0C 5A 03 01 00 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 BC 02 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 02 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 06 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4A 00 00 00 00 00 07 04 06 00 BC 02 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 5F CD 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 2C 87 00 00 35 04 06 00 98 72 ED 00 60 43 D7 7F F0 48 03 95 2F 5D [13:10:52]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 D5 A4 47 00 E8 2B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 2C 87 00 00 F4 03 04 00 23 74 76 66 B6 04 01 00 00 C5 C1 DE 5D F0 9D CC 39 [13:10:52]CommunicateWithHost err = 0 [13:10:52]CheckOFDResponse [13:10:52]1017 (14) - 77093643461234 [13:10:52]1041 (16) - 0000000000875095 [13:10:52]1040 (4) - 34604 [13:10:52]1012 (4) - 22.06.2024 06:50 [13:10:52]1206 (1) - 0 [13:10:52]OFD Sender: Remove packet 34604 [13:10:52]ProducePacketName [13:10:52]name=ofd_packets/00034604 [13:10:52]NVStorageDeleteData [13:10:52]Write to MH i2c: 01 00 00 94 18 AC [13:10:52]Write i2c OK [13:10:52]MH_I2C_Read... [13:10:52]Read from MH i2c: 01 [13:10:52]MH_I2C_Read... [13:10:52]Read from MH i2c: 01 07 00 [13:10:52]MH_I2C_Read... [13:10:52]Read from MH i2c: 01 07 00 94 18 00 00 00 00 00 DA 0C 99 [13:10:52]RasterBufferAndPrint [13:10:52]line [13:10:52]line [13:10:52]line [13:10:52]line [13:10:52]line [13:10:52]written 0, free lines is 3299 [13:10:52]MH_Cut [13:10:52]Write to MH i2c: D1 01 00 9B 18 01 85 [13:10:52]Write i2c OK [13:10:52]MH_I2C_Read... [13:10:52]Read from MH i2c: D1 [13:10:52]MH_I2C_Read... [13:10:52]Read from MH i2c: D1 01 00 [13:10:52]MH_I2C_Read... [13:10:52]Read from MH i2c: D1 01 00 9B 18 00 84 [13:10:52]Write to MH i2c: 01 00 00 9C 18 B4 [13:10:52]Write i2c OK [13:10:52]MH_I2C_Read... [13:10:53]OFD Sender: No OFD packet to send [13:10:53]*** Cut start [13:10:53]*** Partial cut [13:10:53]*** CUTSNS_PIN = 1 [13:10:53]*** CUTSNS_PIN = 0 [13:10:53]*** Brake cut motor [13:10:54]Read from MH i2c: 01 [13:10:54]MH_I2C_Read... [13:10:54]*** Stop cut motor [13:10:54]*** Cut end [13:10:54]Read from MH i2c: 01 07 00 [13:10:54]MH_I2C_Read... [13:10:54]Read from MH i2c: 01 07 00 9C 18 00 00 00 00 00 FF 0F C9 [13:10:54]process_action close_receipt done [13:10:54]requested_data is exist [13:10:54]produce_requested_data [13:10:54]requested_item fm.sn is exist - process it [13:10:54]wFMCommunicate request_size=4 [13:10:54]MH_SAM_APDU [13:10:54]CAPDU: 80 11 00 00 [13:10:54]Write to MH i2c: E2 08 00 9D 18 80 11 00 00 00 00 00 00 2F [13:10:54]Write i2c OK [13:10:54]MH_I2C_Read... [13:10:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:10:54]Read from MH i2c: E2 [13:10:54]MH_I2C_Read... [13:10:54]Read from MH i2c: E2 17 00 [13:10:54]MH_I2C_Read... [13:10:54]Read from MH i2c: E2 17 00 9D 18 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 84 [13:10:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [13:10:54]wFMCommunicate OK [13:10:54]requested_item fd.num is exist - process it [13:10:54]SAM_PROTO_GetFieldsCounters [13:10:54]wFMCommunicate request_size=4 [13:10:54]MH_SAM_APDU [13:10:54]CAPDU: 80 13 00 00 [13:10:54]Write to MH i2c: E2 08 00 9E 18 80 13 00 00 00 00 00 00 32 [13:10:54]Write i2c OK [13:10:54]MH_I2C_Read... [13:10:54]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:10:54]Read from MH i2c: E2 [13:10:54]MH_I2C_Read... [13:10:54]Read from MH i2c: E2 62 00 [13:10:54]MH_I2C_Read... [13:10:54]Read from MH i2c: E2 62 00 9E 18 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 2C 87 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 B1 [13:10:54]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 2C 87 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 [13:10:54]wFMCommunicate OK [13:10:54]SAM_PROTO_GetFieldsCounters done [13:10:54]requested_item shift.num is exist - process it [13:10:54]requested_item shift.opened is exist - process it [13:10:54]req_shift_opened [13:10:54]FM_GetShiftState [13:10:54]SAM_PROTO_GetShiftState [13:10:54]wFMCommunicate request_size=4 [13:10:54]MH_SAM_APDU [13:10:54]CAPDU: 80 13 01 00 [13:10:54]Write to MH i2c: E2 08 00 9F 18 80 13 01 00 00 00 00 00 34 [13:10:54]Write i2c OK [13:10:54]MH_I2C_Read... [13:10:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:10:54]Read from MH i2c: E2 [13:10:54]MH_I2C_Read... [13:10:54]Read from MH i2c: E2 0E 00 [13:10:54]MH_I2C_Read... [13:10:54]Read from MH i2c: E2 0E 00 9F 18 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 EE [13:10:54]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [13:10:54]wFMCommunicate OK [13:10:54]SAM_PROTO_GetShiftState done [13:10:54]FM_GetShiftState done [13:10:54]req_shift_opened done [13:10:54]requested_item shift.open_date is exist - process it [13:10:54]req_shift_open_date [13:10:54]req_shift_open_date done [13:10:54]produce_requested_data done [13:10:54]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34604,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120} [13:10:54]process_action_free close_receipt [13:10:54]json_value_free [13:10:54]json_value_free done [13:10:54]process_json_proto returns [13:10:54]Send response to host [13:10:54]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34604,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120}}} [13:10:54]free response buf [13:10:54]execute_script done [13:10:54]execute_script returns [13:10:54]free content buf [13:10:54]Sock 9.Close socket [13:10:54]Sock 9.Thread stoped [13:10:58]OFD Sender: No OFD packet to send [13:11:03]OFD Sender: No OFD packet to send [13:11:08]OFD Sender: No OFD packet to send [13:11:13]OFD Sender: No OFD packet to send [13:11:18]OFD Sender: No OFD packet to send [13:11:23]OFD Sender: No OFD packet to send [13:11:28]OFD Sender: No OFD packet to send [13:11:33]OFD Sender: No OFD packet to send [13:11:38]OFD Sender: No OFD packet to send [13:11:43]OFD Sender: No OFD packet to send [13:11:48]OFD Sender: No OFD packet to send [13:11:53]OFD Sender: No OFD packet to send [13:11:58]OFD Sender: No OFD packet to send [13:12:03]OFD Sender: No OFD packet to send [13:12:08]OFD Sender: No OFD packet to send [13:12:13]OFD Sender: No OFD packet to send [13:12:18]OFD Sender: No OFD packet to send [13:12:23]OFD Sender: No OFD packet to send [13:12:28]OFD Sender: No OFD packet to send [13:12:33]OFD Sender: No OFD packet to send [13:12:38]OFD Sender: No OFD packet to send [13:12:43]OFD Sender: No OFD packet to send [13:12:48]OFD Sender: No OFD packet to send [13:12:53]OFD Sender: No OFD packet to send [13:12:58]OFD Sender: No OFD packet to send [13:13:03]OFD Sender: No OFD packet to send [13:13:08]OFD Sender: No OFD packet to send [13:13:13]OFD Sender: No OFD packet to send [13:13:18]OFD Sender: No OFD packet to send [13:13:23]OFD Sender: No OFD packet to send [13:13:28]OFD Sender: No OFD packet to send [13:13:33]OFD Sender: No OFD packet to send [13:13:38]OFD Sender: No OFD packet to send [13:13:43]OFD Sender: No OFD packet to send [13:13:48]OFD Sender: No OFD packet to send [13:13:53]OFD Sender: No OFD packet to send [13:13:58]OFD Sender: No OFD packet to send [13:14:03]OFD Sender: No OFD packet to send [13:14:08]OFD Sender: No OFD packet to send [13:14:13]OFD Sender: No OFD packet to send [13:14:18]OFD Sender: No OFD packet to send [13:14:23]OFD Sender: No OFD packet to send [13:14:28]OFD Sender: No OFD packet to send [13:14:33]OFD Sender: No OFD packet to send [13:14:38]OFD Sender: No OFD packet to send [13:14:43]OFD Sender: No OFD packet to send [13:14:48]OFD Sender: No OFD packet to send [13:14:53]OFD Sender: No OFD packet to send [13:14:58]OFD Sender: No OFD packet to send [13:15:03]OFD Sender: No OFD packet to send [13:15:08]OFD Sender: No OFD packet to send [13:15:13]OFD Sender: No OFD packet to send [13:15:18]OFD Sender: No OFD packet to send [13:15:23]OFD Sender: No OFD packet to send [13:15:28]OFD Sender: No OFD packet to send [13:15:33]OFD Sender: No OFD packet to send [13:15:38]OFD Sender: No OFD packet to send [13:15:43]OFD Sender: No OFD packet to send [13:15:48]OFD Sender: No OFD packet to send [13:15:53]OFD Sender: No OFD packet to send [13:15:58]OFD Sender: No OFD packet to send [13:16:03]OFD Sender: No OFD packet to send [13:16:08]OFD Sender: No OFD packet to send [13:16:13]OFD Sender: No OFD packet to send [13:16:18]OFD Sender: No OFD packet to send [13:16:23]OFD Sender: No OFD packet to send [13:16:28]OFD Sender: No OFD packet to send [13:16:33]OFD Sender: No OFD packet to send [13:16:38]OFD Sender: No OFD packet to send [13:16:41]accept exits with 7 [13:16:41]New connection [13:16:41]New thread 3067473252 created [13:16:41]Thread 3067616612 joined [13:16:41]Waiting for new connection... [13:16:41] Sock 7.Parse request [13:16:41]Sock 7.Check first char [13:16:41]Sock 7.First char is OK [13:16:41]request: POST /json_proto HTTP/1.0 [13:16:41]Method: POST [13:16:41]URL: /json_proto [13:16:41]Method is POST - this is cgi request [13:16:41]url: /json_proto [13:16:41]query_string will be loaded in cgi processing [13:16:41]execute_cgi json_proto POST (null) [13:16:41]execute_cgi path=json_proto method=POST [13:16:41]POST find Content-Length [13:16:41]Host: 172.17.38.134:8080 [13:16:41]Content-Length: 632 [13:16:41]Content-Type: application/json [13:16:41] [13:16:41]POST finish read [13:16:41]Found Content-Length = 632 [13:16:41]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184362", "tax_sys" : 0, "items" : [ { "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 2.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" ] } } [13:16:41]execute_script... [13:16:41]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184362", "tax_sys" : 0, "items" : [ { "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 2.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" ] } } [13:16:41]POST & json_proto [13:16:41]process_json_proto [13:16:41]json parsed OK: [13:16:41]protocol is kg_v1.0 [13:16:41]action value=close_receipt [13:16:41]process_action close_receipt [13:16:41]cmd_close_receipt [13:16:41]MH_GetDate [13:16:41]Write to MH i2c: F0 00 00 A0 18 A7 [13:16:41]Write i2c OK [13:16:41]MH_I2C_Read... [13:16:41]Read from MH i2c: F0 [13:16:41]MH_I2C_Read... [13:16:41]Read from MH i2c: F0 09 00 [13:16:41]MH_I2C_Read... [13:16:41]Read from MH i2c: F0 09 00 A0 18 00 BE CE 76 66 13 9C 7C 64 A7 [13:16:41]GetLastDocTimeStamp 1719061855 [13:16:41]current date 1719062206 [13:16:41]FM_GetShiftState [13:16:41]SAM_PROTO_GetShiftState [13:16:41]wFMCommunicate request_size=4 [13:16:41]MH_SAM_APDU [13:16:41]CAPDU: 80 13 01 00 [13:16:41]Write to MH i2c: E2 08 00 A1 18 80 13 01 00 00 00 00 00 36 [13:16:41]Write i2c OK [13:16:41]MH_I2C_Read... [13:16:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:16:41]Read from MH i2c: E2 [13:16:41]MH_I2C_Read... [13:16:41]Read from MH i2c: E2 0E 00 [13:16:41]MH_I2C_Read... [13:16:41]Read from MH i2c: E2 0E 00 A1 18 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 F0 [13:16:41]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [13:16:41]wFMCommunicate OK [13:16:41]SAM_PROTO_GetShiftState done [13:16:41]FM_GetShiftState done [13:16:41]opened in 1719016120 [13:16:41]opened+sec_in_day 1719102520 [13:16:41]quantity*price = 10000 [13:16:41]sum+1 = 10001 [13:16:41]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 100.00 НСП 1% : 0.88 НДС 12% : 10.62 Наличными: 100.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 31 22.06.2024 13:16 Смена: 327 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34605 ФПД: 99854817225960 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T131647&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34605&fm=99854817225960&tin=02508201610067®Number=0000000000092786&sum=10000 0 [13:16:42]StoreToDocumentArchive [13:16:42]shift 327 fd 34605 [13:16:42]save to /storage/0327/doc_00034605 [13:16:42]save last doc name /storage/0327/doc_00034605 to /storage/kkm_last_doc_name [13:16:42]save OK [13:16:42]Clear old archive folders... [13:16:42]ProcessDocumentItem done err = 0, tmpTLVsize=269 [13:16:42]tlvbuf is B6F4AD30 [13:16:42]SAM_PROTO_ClearQueue [13:16:42]wFMCommunicate request_size=4 [13:16:42]MH_SAM_APDU [13:16:42]CAPDU: 80 09 00 00 [13:16:42]Write to MH i2c: E2 08 00 AE 18 80 09 00 00 00 00 00 00 38 [13:16:42]Write i2c OK [13:16:42]MH_I2C_Read... [13:16:42]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:16:42]Read from MH i2c: E2 [13:16:42]MH_I2C_Read... [13:16:42]Read from MH i2c: E2 03 00 [13:16:42]MH_I2C_Read... [13:16:42]Read from MH i2c: E2 03 00 AE 18 00 90 00 3A [13:16:42]RAPDU: 90 00 [13:16:42]wFMCommunicate OK [13:16:42]SAM_PROTO_ClearQueue done [13:16:42]KKMCreateOFDPacket [13:16:42]OFDProtocolAddRootSTLVToBuf [13:16:42]FM_MakeSignedData [13:16:42]FM_MakeSignedData [13:16:42]SAM_PROTO_SignData [13:16:42]wFMCommunicate request_size=4 [13:16:42]MH_SAM_APDU [13:16:42]CAPDU: 80 0D 01 02 [13:16:42]Write to MH i2c: E2 08 00 AF 18 80 0D 01 02 00 00 00 00 40 [13:16:42]Write i2c OK [13:16:42]MH_I2C_Read... [13:16:42]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:16:42]Read from MH i2c: E2 [13:16:42]MH_I2C_Read... [13:16:42]Read from MH i2c: E2 03 00 [13:16:42]MH_I2C_Read... [13:16:42]Read from MH i2c: E2 03 00 AF 18 00 90 00 3B [13:16:42]RAPDU: 90 00 [13:16:42]wFMCommunicate OK [13:16:42]wFMCommunicate request_size=255 [13:16:42]MH_SAM_APDU [13:16:42]CAPDU: 80 0D 02 02 FA 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 88 13 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 1F 00 00 00 F4 03 04 00 BF CE 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 [13:16:42]Write to MH i2c: E2 02 01 B0 18 80 0D 02 02 FA 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 88 13 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 1F 00 00 00 F4 03 04 00 BF CE 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 00 00 2F [13:16:42]Write i2c OK [13:16:42]MH_I2C_Read... [13:16:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:16:42]Read from MH i2c: E2 [13:16:42]MH_I2C_Read... [13:16:42]Read from MH i2c: E2 03 00 [13:16:42]MH_I2C_Read... [13:16:42]Read from MH i2c: E2 03 00 B0 18 00 90 00 3C [13:16:42]RAPDU: 90 00 [13:16:42]wFMCommunicate OK [13:16:42]wFMCommunicate request_size=28 [13:16:42]MH_SAM_APDU [13:16:42]CAPDU: 80 0D 02 02 17 37 35 30 39 35 10 04 04 00 2D 87 00 00 35 04 06 00 5A D1 42 E8 EC E8 [13:16:42]Write to MH i2c: E2 1F 00 B1 18 80 0D 02 02 17 00 37 35 30 39 35 10 04 04 00 2D 87 00 00 35 04 06 00 5A D1 42 E8 EC E8 00 00 AF [13:16:42]Write i2c OK [13:16:42]MH_I2C_Read... [13:16:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:16:43]Read from MH i2c: E2 [13:16:43]MH_I2C_Read... [13:16:43]Read from MH i2c: E2 03 00 [13:16:43]MH_I2C_Read... [13:16:43]Read from MH i2c: E2 03 00 B1 18 00 90 00 3D [13:16:43]RAPDU: 90 00 [13:16:43]wFMCommunicate OK [13:16:43]wFMCommunicate request_size=4 [13:16:43]MH_SAM_APDU [13:16:43]CAPDU: 80 0D 03 02 [13:16:43]Write to MH i2c: E2 08 00 B2 18 80 0D 03 02 00 00 00 00 45 [13:16:43]Write i2c OK [13:16:43]MH_I2C_Read... [13:16:43]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:16:43]Read from MH i2c: E2 [13:16:43]MH_I2C_Read... [13:16:43]Read from MH i2c: E2 0B 00 [13:16:43]MH_I2C_Read... [13:16:43]Read from MH i2c: E2 0B 00 B2 18 00 2B EB A9 1B EA 61 2D 51 90 00 E9 [13:16:43]RAPDU: 2B EB A9 1B EA 61 2D 51 90 00 [13:16:43]wFMCommunicate OK [13:16:43]SAM_PROTO_SignData done [13:16:43]FM_MakeSignedData done [13:16:43]CreateOFDProtocolMessage [13:16:43]wFMCommunicate request_size=4 [13:16:43]MH_SAM_APDU [13:16:43]CAPDU: 80 11 00 00 [13:16:43]Write to MH i2c: E2 08 00 B3 18 80 11 00 00 00 00 00 00 45 [13:16:43]Write i2c OK [13:16:43]MH_I2C_Read... [13:16:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:16:43]Read from MH i2c: E2 [13:16:43]MH_I2C_Read... [13:16:43]Read from MH i2c: E2 17 00 [13:16:43]MH_I2C_Read... [13:16:43]Read from MH i2c: E2 17 00 B3 18 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 9A [13:16:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [13:16:43]wFMCommunicate OK [13:16:43]CreateOFDProtocolMessage done [13:16:43]OFDSenderStorePacket 34605 [13:16:43]StoreOFDPacket docnum=34605 [13:16:43]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 21 01 00 00 ED F6 19 01 E9 9D 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 88 13 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 1F 00 00 00 F4 03 04 00 BF CE 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 2D 87 00 00 35 04 06 00 5A D1 42 E8 EC E8 2B EB A9 1B EA 61 2D 51 [13:16:43]CheckFolder [13:16:43]dirname=/storage/ofd_packets [13:16:43]CheckFolder done [13:16:43]ProducePacketName [13:16:43]name=ofd_packets/00034605 [13:16:43]NVStorageSaveData ofd_packets/00034605 [13:16:43]File name is /storage/ofd_packets/00034605 [13:16:43]Write 319 bytes [13:16:43]NVStorageSaveData done [13:16:43]OFDSenderStorePacket done [13:16:43]KKMCreateOFDPacket done [13:16:43]NVStorageSaveData kkm_last_timestamp [13:16:43]File name is /storage/kkm_last_timestamp [13:16:43]Write 4 bytes [13:16:43]NVStorageSaveData done [13:16:43]ExternCall_PrintAddStr [13:16:43]wPrintStart [13:16:43]Write to MH i2c: 01 00 00 B4 18 CC [13:16:43]Write i2c OK [13:16:43]MH_I2C_Read... [13:16:43]Read from MH i2c: 01 [13:16:43]MH_I2C_Read... [13:16:43]Read from MH i2c: 01 07 00 [13:16:43]MH_I2C_Read... [13:16:43]Read from MH i2c: 01 07 00 B4 18 00 00 00 00 00 FF 0F E1 [13:16:43]RasterBufferAndPrint [13:16:43]line Счет N : (3)184362 [13:16:43]line ИНН: 02508201610067 [13:16:43]line Контрольно-Кассовый Чек [13:16:43]line ПРОДАЖА [13:16:43]line Товар: 4700000160358 [13:16:43]line Вода Легенда 1л [13:16:43]line 2.000 * 50.00 [13:16:43]line = 100.00 [13:16:43]line НДС 12% НСП 1% [13:16:43]line > о реализуемом товаре [13:16:43]line ИТОГО: 100.00 [13:16:43]line НСП 1% : 0.88 [13:16:43]line НДС 12% : 10.62 [13:16:43]line Наличными: 100.00 [13:16:43]line Безнал.: 0.00 [13:16:43]line Место: АЗС № 120 "Партнер Нефть" [13:16:43]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [13:16:43]line СНО: Общий режим [13:16:43]line Чек 31 22.06.2024 13:16 [13:16:43]line Смена: 327 ФФД: 1.0 [13:16:43]line ЗНМ: 0300000172 [13:16:43]line РНМ: 0000000000092786 [13:16:43]line Версия ККМ: 001 [13:16:43]line ФМ: 0000000000875095 [13:16:43]line ФД: 34605 [13:16:43]line ФПД: 99854817225960 [13:16:43]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T131647&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34605&fm=99854817225960&tin=02508201610067®Number=0000000000092786&sum=10000 [13:16:43]line 0 [13:16:43]OFD Sender: Processing packet 34605 [packets to send 8, broken 7] [13:16:43]ProducePacketName [13:16:43]name=ofd_packets/00034605 [13:16:43]OFD Sender: To server: pG, [13:16:43]CommunicateWithHost lk.salyk.kg:30040 [13:16:43]ConnectInit lk.salyk.kg [13:16:43]written 0, free lines is 4095 [13:16:43]Connected sock=10 [13:16:43]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 21 01 00 00 ED F6 19 01 E9 9D 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 88 13 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 1F 00 00 00 F4 03 04 00 BF CE 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 2D 87 00 00 35 04 06 00 5A D1 42 E8 EC E8 2B EB A9 1B EA 61 2D 51 [13:16:43]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 99 C3 47 00 2D 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 38 37 35 30 39 35 10 04 04 00 2D 87 00 00 F4 03 04 00 82 75 76 66 B6 04 01 00 00 0A EA EC 4E 92 10 5F CC [13:16:43]CommunicateWithHost err = 0 [13:16:43]CheckOFDResponse [13:16:43]1017 (14) - 77093643461234 [13:16:43]1041 (16) - 0000000000875095 [13:16:43]1040 (4) - 34605 [13:16:43]1012 (4) - 22.06.2024 06:56 [13:16:43]1206 (1) - 0 [13:16:43]OFD Sender: Remove packet 34605 [13:16:43]ProducePacketName [13:16:43]name=ofd_packets/00034605 [13:16:43]NVStorageDeleteData [13:16:43]Write to MH i2c: 01 00 00 DC 18 F4 [13:16:43]Write i2c OK [13:16:43]MH_I2C_Read... [13:16:43]Read from MH i2c: 01 [13:16:43]MH_I2C_Read... [13:16:43]Read from MH i2c: 01 07 00 [13:16:43]MH_I2C_Read... [13:16:43]Read from MH i2c: 01 07 00 DC 18 00 00 00 00 00 09 0D 11 [13:16:43]RasterBufferAndPrint [13:16:43]line [13:16:43]line [13:16:43]line [13:16:43]line [13:16:43]line [13:16:43]written 0, free lines is 3343 [13:16:43]MH_Cut [13:16:43]Write to MH i2c: D1 01 00 E3 18 01 CD [13:16:43]Write i2c OK [13:16:43]MH_I2C_Read... [13:16:43]Read from MH i2c: D1 [13:16:43]MH_I2C_Read... [13:16:43]Read from MH i2c: D1 01 00 [13:16:43]MH_I2C_Read... [13:16:43]Read from MH i2c: D1 01 00 E3 18 00 CC [13:16:43]Write to MH i2c: 01 00 00 E4 18 FC [13:16:43]Write i2c OK [13:16:43]MH_I2C_Read... [13:16:44]OFD Sender: No OFD packet to send [13:16:44]*** Cut start [13:16:44]*** Partial cut [13:16:44]*** CUTSNS_PIN = 1 [13:16:44]*** CUTSNS_PIN = 0 [13:16:44]*** Brake cut motor [13:16:45]Read from MH i2c: 01 [13:16:45]MH_I2C_Read... [13:16:45]*** Stop cut motor [13:16:45]*** Cut end [13:16:45]Read from MH i2c: 01 07 00 [13:16:45]MH_I2C_Read... [13:16:45]Read from MH i2c: 01 07 00 E4 18 00 00 00 00 00 FF 0F 11 [13:16:45]process_action close_receipt done [13:16:45]requested_data is exist [13:16:45]produce_requested_data [13:16:45]requested_item fm.sn is exist - process it [13:16:45]wFMCommunicate request_size=4 [13:16:45]MH_SAM_APDU [13:16:45]CAPDU: 80 11 00 00 [13:16:45]Write to MH i2c: E2 08 00 E5 18 80 11 00 00 00 00 00 00 77 [13:16:45]Write i2c OK [13:16:45]MH_I2C_Read... [13:16:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:16:45]Read from MH i2c: E2 [13:16:45]MH_I2C_Read... [13:16:45]Read from MH i2c: E2 17 00 [13:16:45]MH_I2C_Read... [13:16:45]Read from MH i2c: E2 17 00 E5 18 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 CC [13:16:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [13:16:45]wFMCommunicate OK [13:16:45]requested_item fd.num is exist - process it [13:16:45]SAM_PROTO_GetFieldsCounters [13:16:45]wFMCommunicate request_size=4 [13:16:45]MH_SAM_APDU [13:16:45]CAPDU: 80 13 00 00 [13:16:45]Write to MH i2c: E2 08 00 E6 18 80 13 00 00 00 00 00 00 7A [13:16:45]Write i2c OK [13:16:45]MH_I2C_Read... [13:16:45]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:16:45]Read from MH i2c: E2 [13:16:45]MH_I2C_Read... [13:16:45]Read from MH i2c: E2 62 00 [13:16:45]MH_I2C_Read... [13:16:45]Read from MH i2c: E2 62 00 E6 18 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 2D 87 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 FD [13:16:45]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 2D 87 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 [13:16:45]wFMCommunicate OK [13:16:45]SAM_PROTO_GetFieldsCounters done [13:16:45]requested_item shift.num is exist - process it [13:16:45]requested_item shift.opened is exist - process it [13:16:45]req_shift_opened [13:16:45]FM_GetShiftState [13:16:45]SAM_PROTO_GetShiftState [13:16:45]wFMCommunicate request_size=4 [13:16:45]MH_SAM_APDU [13:16:45]CAPDU: 80 13 01 00 [13:16:45]Write to MH i2c: E2 08 00 E7 18 80 13 01 00 00 00 00 00 7C [13:16:45]Write i2c OK [13:16:45]MH_I2C_Read... [13:16:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:16:45]Read from MH i2c: E2 [13:16:45]MH_I2C_Read... [13:16:45]Read from MH i2c: E2 0E 00 [13:16:45]MH_I2C_Read... [13:16:45]Read from MH i2c: E2 0E 00 E7 18 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 36 [13:16:45]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [13:16:45]wFMCommunicate OK [13:16:45]SAM_PROTO_GetShiftState done [13:16:45]FM_GetShiftState done [13:16:45]req_shift_opened done [13:16:45]requested_item shift.open_date is exist - process it [13:16:45]req_shift_open_date [13:16:45]req_shift_open_date done [13:16:45]produce_requested_data done [13:16:45]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34605,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120} [13:16:45]process_action_free close_receipt [13:16:45]json_value_free [13:16:45]json_value_free done [13:16:45]process_json_proto returns [13:16:45]Send response to host [13:16:45]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34605,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120}}} [13:16:45]free response buf [13:16:45]execute_script done [13:16:45]execute_script returns [13:16:45]free content buf [13:16:45]Sock 7.Close socket [13:16:45]Sock 7.Thread stoped [13:16:49]OFD Sender: No OFD packet to send [13:16:53]accept exits with 9 [13:16:53]New connection [13:16:53]New thread 3067616612 created [13:16:53]Thread 3067473252 joined [13:16:53]Waiting for new connection... [13:16:53] Sock 9.Parse request [13:16:53]Sock 9.Check first char [13:16:53]Sock 9.First char is OK [13:16:53]request: POST /json_proto HTTP/1.0 [13:16:53]Method: POST [13:16:53]URL: /json_proto [13:16:53]Method is POST - this is cgi request [13:16:53]url: /json_proto [13:16:53]query_string will be loaded in cgi processing [13:16:53]execute_cgi json_proto POST (null) [13:16:53]execute_cgi path=json_proto method=POST [13:16:53]POST find Content-Length [13:16:53]Host: 172.17.38.134:8080 [13:16:53]Content-Length: 718 [13:16:53]Content-Type: application/json [13:16:53] [13:16:53]POST finish read [13:16:53]Found Content-Length = 718 [13:16:53]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184363", "tax_sys" : 0, "items" : [ { "code": "9780231379413", "name": "\u041F\u043E\u0434\u0430\u0440\u043E\u0447\u043D\u0430\u044F \u0442\u043E\u043F\u043B\u0438\u0432\u043D\u0430\u044F \u043A\u0430\u0440\u0442\u0430 3000\u0441", "price" : 3000.00, "quantity" : 2.000, "sum" : 6000.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 6000.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:16:53]execute_script... [13:16:53]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)184363", "tax_sys" : 0, "items" : [ { "code": "9780231379413", "name": "\u041F\u043E\u0434\u0430\u0440\u043E\u0447\u043D\u0430\u044F \u0442\u043E\u043F\u043B\u0438\u0432\u043D\u0430\u044F \u043A\u0430\u0440\u0442\u0430 3000\u0441", "price" : 3000.00, "quantity" : 2.000, "sum" : 6000.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 6000.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:16:53]POST & json_proto [13:16:53]process_json_proto [13:16:53]json parsed OK: [13:16:53]protocol is kg_v1.0 [13:16:53]action value=close_receipt [13:16:53]process_action close_receipt [13:16:53]cmd_close_receipt [13:16:53]MH_GetDate [13:16:53]Write to MH i2c: F0 00 00 E8 18 EF [13:16:53]Write i2c OK [13:16:53]MH_I2C_Read... [13:16:53]Read from MH i2c: F0 [13:16:53]MH_I2C_Read... [13:16:53]Read from MH i2c: F0 09 00 [13:16:53]MH_I2C_Read... [13:16:53]Read from MH i2c: F0 09 00 E8 18 00 CA CE 76 66 13 9C 7C 64 FB [13:16:53]GetLastDocTimeStamp 1719062207 [13:16:53]current date 1719062218 [13:16:53]FM_GetShiftState [13:16:53]SAM_PROTO_GetShiftState [13:16:53]wFMCommunicate request_size=4 [13:16:53]MH_SAM_APDU [13:16:53]CAPDU: 80 13 01 00 [13:16:53]Write to MH i2c: E2 08 00 E9 18 80 13 01 00 00 00 00 00 7E [13:16:53]Write i2c OK [13:16:53]MH_I2C_Read... [13:16:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:16:53]Read from MH i2c: E2 [13:16:53]MH_I2C_Read... [13:16:53]Read from MH i2c: E2 0E 00 [13:16:53]MH_I2C_Read... [13:16:53]Read from MH i2c: E2 0E 00 E9 18 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 38 [13:16:53]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [13:16:53]wFMCommunicate OK [13:16:53]SAM_PROTO_GetShiftState done [13:16:53]FM_GetShiftState done [13:16:53]opened in 1719016120 [13:16:53]opened+sec_in_day 1719102520 [13:16:53]quantity*price = 600000 [13:16:53]sum+1 = 600001 [13:16:53]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 6000.00 НСП 1% : 53.10 НДС 12% : 637.17 Наличными: 6000.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 32 22.06.2024 13:16 Смена: 327 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34606 ФПД: 37096248617142 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T131658&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34606&fm=37096248617142&tin=02508201610067®Number=0000000000092786&sum=600000 0 [13:16:54]StoreToDocumentArchive [13:16:54]shift 327 fd 34606 [13:16:54]save to /storage/0327/doc_00034606 [13:16:54]save last doc name /storage/0327/doc_00034606 to /storage/kkm_last_doc_name [13:16:54]save OK [13:16:54]Clear old archive folders... [13:16:54]ProcessDocumentItem done err = 0, tmpTLVsize=299 [13:16:54]tlvbuf is 015A8600 [13:16:54]SAM_PROTO_ClearQueue [13:16:54]wFMCommunicate request_size=4 [13:16:54]MH_SAM_APDU [13:16:54]CAPDU: 80 09 00 00 [13:16:54]Write to MH i2c: E2 08 00 F6 18 80 09 00 00 00 00 00 00 80 [13:16:54]Write i2c OK [13:16:54]MH_I2C_Read... [13:16:54]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:16:54]Read from MH i2c: E2 [13:16:54]MH_I2C_Read... [13:16:54]Read from MH i2c: E2 03 00 [13:16:54]MH_I2C_Read... [13:16:54]Read from MH i2c: E2 03 00 F6 18 00 90 00 82 [13:16:54]RAPDU: 90 00 [13:16:54]wFMCommunicate OK [13:16:54]SAM_PROTO_ClearQueue done [13:16:54]KKMCreateOFDPacket [13:16:54]OFDProtocolAddRootSTLVToBuf [13:16:54]FM_MakeSignedData [13:16:54]FM_MakeSignedData [13:16:54]SAM_PROTO_SignData [13:16:54]wFMCommunicate request_size=4 [13:16:54]MH_SAM_APDU [13:16:54]CAPDU: 80 0D 01 02 [13:16:54]Write to MH i2c: E2 08 00 F7 18 80 0D 01 02 00 00 00 00 88 [13:16:54]Write i2c OK [13:16:54]MH_I2C_Read... [13:16:54]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:16:54]Read from MH i2c: E2 [13:16:54]MH_I2C_Read... [13:16:54]Read from MH i2c: E2 03 00 [13:16:54]MH_I2C_Read... [13:16:54]Read from MH i2c: E2 03 00 F7 18 00 90 00 83 [13:16:54]RAPDU: 90 00 [13:16:54]wFMCommunicate OK [13:16:54]wFMCommunicate request_size=255 [13:16:54]MH_SAM_APDU [13:16:54]CAPDU: 80 0D 02 02 FA 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 39 37 38 30 32 33 31 33 37 39 34 31 33 06 04 39 00 D0 9F D0 BE D0 B4 D0 B0 D1 80 D0 BE D1 87 D0 BD D0 B0 D1 8F 20 D1 82 D0 BE D0 BF D0 BB D0 B8 D0 B2 D0 BD D0 B0 D1 8F 20 D0 BA D0 B0 D1 80 D1 82 D0 B0 20 33 30 30 30 D1 81 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E0 93 04 00 00 00 13 04 06 00 C0 27 09 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 27 09 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BE 14 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E5 F8 00 00 00 00 07 04 06 00 C0 27 09 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 CA CE 76 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 [13:16:54]Write to MH i2c: E2 02 01 F8 18 80 0D 02 02 FA 00 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 39 37 38 30 32 33 31 33 37 39 34 31 33 06 04 39 00 D0 9F D0 BE D0 B4 D0 B0 D1 80 D0 BE D1 87 D0 BD D0 B0 D1 8F 20 D1 82 D0 BE D0 BF D0 BB D0 B8 D0 B2 D0 BD D0 B0 D1 8F 20 D0 BA D0 B0 D1 80 D1 82 D0 B0 20 33 30 30 30 D1 81 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E0 93 04 00 00 00 13 04 06 00 C0 27 09 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 27 09 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BE 14 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E5 F8 00 00 00 00 07 04 06 00 C0 27 09 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 CA CE 76 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 00 00 3C [13:16:54]Write i2c OK [13:16:54]MH_I2C_Read... [13:16:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:16:54]Read from MH i2c: E2 [13:16:54]MH_I2C_Read... [13:16:54]Read from MH i2c: E2 03 00 [13:16:54]MH_I2C_Read... [13:16:54]Read from MH i2c: E2 03 00 F8 18 00 90 00 84 [13:16:54]RAPDU: 90 00 [13:16:54]wFMCommunicate OK [13:16:54]wFMCommunicate request_size=58 [13:16:54]MH_SAM_APDU [13:16:54]CAPDU: 80 0D 02 02 35 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 2E 87 00 00 35 04 06 00 21 BD 24 B8 A8 B6 [13:16:54]Write to MH i2c: E2 3D 00 F9 18 80 0D 02 02 35 00 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 2E 87 00 00 35 04 06 00 21 BD 24 B8 A8 B6 00 00 50 [13:16:54]Write i2c OK [13:16:54]MH_I2C_Read... [13:16:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:16:55]Read from MH i2c: E2 [13:16:55]MH_I2C_Read... [13:16:55]Read from MH i2c: E2 03 00 [13:16:55]MH_I2C_Read... [13:16:55]Read from MH i2c: E2 03 00 F9 18 00 90 00 85 [13:16:55]RAPDU: 90 00 [13:16:55]wFMCommunicate OK [13:16:55]wFMCommunicate request_size=4 [13:16:55]MH_SAM_APDU [13:16:55]CAPDU: 80 0D 03 02 [13:16:55]Write to MH i2c: E2 08 00 FA 18 80 0D 03 02 00 00 00 00 8D [13:16:55]Write i2c OK [13:16:55]MH_I2C_Read... [13:16:55]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:16:55]Read from MH i2c: E2 [13:16:55]MH_I2C_Read... [13:16:55]Read from MH i2c: E2 0B 00 [13:16:55]MH_I2C_Read... [13:16:55]Read from MH i2c: E2 0B 00 FA 18 00 F1 D4 9A EE EB 97 E9 8E 90 00 D4 [13:16:55]RAPDU: F1 D4 9A EE EB 97 E9 8E 90 00 [13:16:55]wFMCommunicate OK [13:16:55]SAM_PROTO_SignData done [13:16:55]FM_MakeSignedData done [13:16:55]CreateOFDProtocolMessage [13:16:55]wFMCommunicate request_size=4 [13:16:55]MH_SAM_APDU [13:16:55]CAPDU: 80 11 00 00 [13:16:55]Write to MH i2c: E2 08 00 FB 18 80 11 00 00 00 00 00 00 8D [13:16:55]Write i2c OK [13:16:55]MH_I2C_Read... [13:16:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:16:55]Read from MH i2c: E2 [13:16:55]MH_I2C_Read... [13:16:55]Read from MH i2c: E2 17 00 [13:16:55]MH_I2C_Read... [13:16:55]Read from MH i2c: E2 17 00 FB 18 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 E2 [13:16:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [13:16:55]wFMCommunicate OK [13:16:55]CreateOFDProtocolMessage done [13:16:55]OFDSenderStorePacket 34606 [13:16:55]StoreOFDPacket docnum=34606 [13:16:55]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 3F 01 00 00 DE C3 37 01 E5 4A 5A 03 01 00 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 39 37 38 30 32 33 31 33 37 39 34 31 33 06 04 39 00 D0 9F D0 BE D0 B4 D0 B0 D1 80 D0 BE D1 87 D0 BD D0 B0 D1 8F 20 D1 82 D0 BE D0 BF D0 BB D0 B8 D0 B2 D0 BD D0 B0 D1 8F 20 D0 BA D0 B0 D1 80 D1 82 D0 B0 20 33 30 30 30 D1 81 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E0 93 04 00 00 00 13 04 06 00 C0 27 09 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 27 09 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BE 14 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E5 F8 00 00 00 00 07 04 06 00 C0 27 09 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 CA CE 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 2E 87 00 00 35 04 06 00 21 BD 24 B8 A8 B6 F1 D4 9A EE EB 97 E9 8E [13:16:55]CheckFolder [13:16:55]dirname=/storage/ofd_packets [13:16:55]CheckFolder done [13:16:55]ProducePacketName [13:16:55]name=ofd_packets/00034606 [13:16:55]NVStorageSaveData ofd_packets/00034606 [13:16:55]File name is /storage/ofd_packets/00034606 [13:16:55]Write 349 bytes [13:16:55]NVStorageSaveData done [13:16:55]OFDSenderStorePacket done [13:16:55]KKMCreateOFDPacket done [13:16:55]NVStorageSaveData kkm_last_timestamp [13:16:55]File name is /storage/kkm_last_timestamp [13:16:55]Write 4 bytes [13:16:55]NVStorageSaveData done [13:16:55]ExternCall_PrintAddStr [13:16:55]wPrintStart [13:16:55]Write to MH i2c: 01 00 00 FC 18 14 [13:16:55]Write i2c OK [13:16:55]MH_I2C_Read... [13:16:55]Read from MH i2c: 01 [13:16:55]MH_I2C_Read... [13:16:55]Read from MH i2c: 01 07 00 [13:16:55]MH_I2C_Read... [13:16:55]Read from MH i2c: 01 07 00 FC 18 00 00 00 00 00 FF 0F 29 [13:16:55]RasterBufferAndPrint [13:16:55]line Счет N : (3)184363 [13:16:55]line ИНН: 02508201610067 [13:16:55]line Контрольно-Кассовый Чек [13:16:55]line ПРОДАЖА [13:16:55]line Товар: 9780231379413 [13:16:55]line Подарочная топливная карта 3000с [13:16:55]line 2.000 * 3000.00 [13:16:55]line = 6000.00 [13:16:55]line НДС 12% НСП 1% [13:16:55]line > о реализуемом товаре [13:16:55]line ИТОГО: 6000.00 [13:16:55]line НСП 1% : 53.10 [13:16:55]line НДС 12% : 637.17 [13:16:55]line Наличными: 6000.00 [13:16:55]line Безнал.: 0.00 [13:16:55]line Место: АЗС № 120 "Партнер Нефть" [13:16:55]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [13:16:55]line СНО: Общий режим [13:16:55]line Чек 32 22.06.2024 13:16 [13:16:55]line Смена: 327 ФФД: 1.0 [13:16:55]line ЗНМ: 0300000172 [13:16:55]line РНМ: 0000000000092786 [13:16:55]line Версия ККМ: 001 [13:16:55]line ФМ: 0000000000875095 [13:16:55]line ФД: 34606 [13:16:55]line ФПД: 37096248617142 [13:16:55]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T131658&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34606&fm=37096248617142&tin=02508201610067®Number=0000000000092786&sum=600000 [13:16:55]line 0 [13:16:55]written 0, free lines is 4095 [13:16:55]OFD Sender: Processing packet 34606 [packets to send 8, broken 7] [13:16:55]ProducePacketName [13:16:55]name=ofd_packets/00034606 [13:16:55]OFD Sender: To server: pG, [13:16:55]CommunicateWithHost lk.salyk.kg:30040 [13:16:55]ConnectInit lk.salyk.kg [13:16:55]Connected sock=10 [13:16:55]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 3F 01 00 00 DE C3 37 01 E5 4A 5A 03 01 00 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 39 37 38 30 32 33 31 33 37 39 34 31 33 06 04 39 00 D0 9F D0 BE D0 B4 D0 B0 D1 80 D0 BE D1 87 D0 BD D0 B0 D1 8F 20 D1 82 D0 BE D0 BF D0 BB D0 B8 D0 B2 D0 BD D0 B0 D1 8F 20 D0 BA D0 B0 D1 80 D1 82 D0 B0 20 33 30 30 30 D1 81 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E0 93 04 00 00 00 13 04 06 00 C0 27 09 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 27 09 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BE 14 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E5 F8 00 00 00 00 07 04 06 00 C0 27 09 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 CA CE 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 2E 87 00 00 35 04 06 00 21 BD 24 B8 A8 B6 F1 D4 9A EE EB 97 E9 8E [13:16:55]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 95 3C 47 00 EA 99 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 2E 87 00 00 F4 03 04 00 8E 75 76 66 B6 04 01 00 00 A9 31 83 E6 FC 43 37 7E [13:16:55]CommunicateWithHost err = 0 [13:16:55]CheckOFDResponse [13:16:55]1017 (14) - 77093643461234 [13:16:55]1041 (16) - 0000000000875095 [13:16:55]1040 (4) - 34606 [13:16:55]1012 (4) - 22.06.2024 06:56 [13:16:55]1206 (1) - 0 [13:16:55]OFD Sender: Remove packet 34606 [13:16:55]ProducePacketName [13:16:55]name=ofd_packets/00034606 [13:16:55]NVStorageDeleteData [13:16:55]Write to MH i2c: 01 00 00 25 19 3E [13:16:55]Write i2c OK [13:16:55]MH_I2C_Read... [13:16:55]Read from MH i2c: 01 [13:16:55]MH_I2C_Read... [13:16:55]Read from MH i2c: 01 07 00 [13:16:55]MH_I2C_Read... [13:16:55]Read from MH i2c: 01 07 00 25 19 00 00 00 00 00 EA 0C 3B [13:16:55]RasterBufferAndPrint [13:16:55]line [13:16:55]line [13:16:55]line [13:16:55]line [13:16:55]line [13:16:55]written 0, free lines is 3315 [13:16:55]MH_Cut [13:16:55]Write to MH i2c: D1 01 00 2C 19 01 17 [13:16:55]Write i2c OK [13:16:55]MH_I2C_Read... [13:16:55]Read from MH i2c: D1 [13:16:55]MH_I2C_Read... [13:16:55]Read from MH i2c: D1 01 00 [13:16:55]MH_I2C_Read... [13:16:55]Read from MH i2c: D1 01 00 2C 19 00 16 [13:16:55]Write to MH i2c: 01 00 00 2D 19 46 [13:16:55]Write i2c OK [13:16:55]MH_I2C_Read... [13:16:56]OFD Sender: No OFD packet to send [13:16:56]*** Cut start [13:16:56]*** Partial cut [13:16:56]*** CUTSNS_PIN = 1 [13:16:56]*** CUTSNS_PIN = 0 [13:16:56]*** Brake cut motor [13:16:56]Read from MH i2c: 01 [13:16:57]MH_I2C_Read... [13:16:57]*** Stop cut motor [13:16:57]*** Cut end [13:16:57]Read from MH i2c: 01 07 00 [13:16:57]MH_I2C_Read... [13:16:57]Read from MH i2c: 01 07 00 2D 19 00 00 00 00 00 FF 0F 5B [13:16:57]process_action close_receipt done [13:16:57]requested_data is exist [13:16:57]produce_requested_data [13:16:57]requested_item fm.sn is exist - process it [13:16:57]wFMCommunicate request_size=4 [13:16:57]MH_SAM_APDU [13:16:57]CAPDU: 80 11 00 00 [13:16:57]Write to MH i2c: E2 08 00 2E 19 80 11 00 00 00 00 00 00 C1 [13:16:57]Write i2c OK [13:16:57]MH_I2C_Read... [13:16:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:16:57]Read from MH i2c: E2 [13:16:57]MH_I2C_Read... [13:16:57]Read from MH i2c: E2 17 00 [13:16:57]MH_I2C_Read... [13:16:57]Read from MH i2c: E2 17 00 2E 19 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 16 [13:16:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [13:16:57]wFMCommunicate OK [13:16:57]requested_item fd.num is exist - process it [13:16:57]SAM_PROTO_GetFieldsCounters [13:16:57]wFMCommunicate request_size=4 [13:16:57]MH_SAM_APDU [13:16:57]CAPDU: 80 13 00 00 [13:16:57]Write to MH i2c: E2 08 00 2F 19 80 13 00 00 00 00 00 00 C4 [13:16:57]Write i2c OK [13:16:57]MH_I2C_Read... [13:16:57]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:16:57]Read from MH i2c: E2 [13:16:57]MH_I2C_Read... [13:16:57]Read from MH i2c: E2 62 00 [13:16:57]MH_I2C_Read... [13:16:57]Read from MH i2c: E2 62 00 2F 19 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 2E 87 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 4B [13:16:57]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 2E 87 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 [13:16:57]wFMCommunicate OK [13:16:57]SAM_PROTO_GetFieldsCounters done [13:16:57]requested_item shift.num is exist - process it [13:16:57]requested_item shift.opened is exist - process it [13:16:57]req_shift_opened [13:16:57]FM_GetShiftState [13:16:57]SAM_PROTO_GetShiftState [13:16:57]wFMCommunicate request_size=4 [13:16:57]MH_SAM_APDU [13:16:57]CAPDU: 80 13 01 00 [13:16:57]Write to MH i2c: E2 08 00 30 19 80 13 01 00 00 00 00 00 C6 [13:16:57]Write i2c OK [13:16:57]MH_I2C_Read... [13:16:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:16:57]Read from MH i2c: E2 [13:16:57]MH_I2C_Read... [13:16:57]Read from MH i2c: E2 0E 00 [13:16:57]MH_I2C_Read... [13:16:57]Read from MH i2c: E2 0E 00 30 19 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 80 [13:16:57]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [13:16:57]wFMCommunicate OK [13:16:57]SAM_PROTO_GetShiftState done [13:16:57]FM_GetShiftState done [13:16:57]req_shift_opened done [13:16:57]requested_item shift.open_date is exist - process it [13:16:57]req_shift_open_date [13:16:57]req_shift_open_date done [13:16:57]produce_requested_data done [13:16:57]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34606,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120} [13:16:57]process_action_free close_receipt [13:16:57]json_value_free [13:16:57]json_value_free done [13:16:57]process_json_proto returns [13:16:57]Send response to host [13:16:57]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34606,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120}}} [13:16:57]free response buf [13:16:57]execute_script done [13:16:57]execute_script returns [13:16:57]free content buf [13:16:57]Sock 9.Close socket [13:16:57]Sock 9.Thread stoped [13:17:01]OFD Sender: No OFD packet to send [13:17:01]accept exits with 7 [13:17:01]New connection [13:17:01]New thread 3067473252 created [13:17:01]Thread 3067616612 joined [13:17:01]Waiting for new connection... [13:17:01] Sock 7.Parse request [13:17:01]Sock 7.Check first char [13:17:01]Sock 7.First char is OK [13:17:01]request: POST /json_proto HTTP/1.0 [13:17:01]Method: POST [13:17:01]URL: /json_proto [13:17:01]Method is POST - this is cgi request [13:17:01]url: /json_proto [13:17:01]query_string will be loaded in cgi processing [13:17:01]execute_cgi json_proto POST (null) [13:17:01]execute_cgi path=json_proto method=POST [13:17:01]POST find Content-Length [13:17:01]Host: 172.17.38.134:8080 [13:17:01]Content-Length: 718 [13:17:01]Content-Type: application/json [13:17:01] [13:17:01]POST finish read [13:17:01]Found Content-Length = 718 [13:17:01]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184364", "tax_sys" : 0, "items" : [ { "code": "9780223379416", "name": "\u041F\u043E\u0434\u0430\u0440\u043E\u0447\u043D\u0430\u044F \u0442\u043E\u043F\u043B\u0438\u0432\u043D\u0430\u044F \u043A\u0430\u0440\u0442\u0430 2000\u0441", "price" : 2000.00, "quantity" : 2.000, "sum" : 4000.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 4000.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:17:01]execute_script... [13:17:01]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184364", "tax_sys" : 0, "items" : [ { "code": "9780223379416", "name": "\u041F\u043E\u0434\u0430\u0440\u043E\u0447\u043D\u0430\u044F \u0442\u043E\u043F\u043B\u0438\u0432\u043D\u0430\u044F \u043A\u0430\u0440\u0442\u0430 2000\u0441", "price" : 2000.00, "quantity" : 2.000, "sum" : 4000.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 4000.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:17:01]POST & json_proto [13:17:01]process_json_proto [13:17:01]json parsed OK: [13:17:01]protocol is kg_v1.0 [13:17:01]action value=close_receipt [13:17:01]process_action close_receipt [13:17:01]cmd_close_receipt [13:17:01]MH_GetDate [13:17:01]Write to MH i2c: F0 00 00 31 19 39 [13:17:01]Write i2c OK [13:17:01]MH_I2C_Read... [13:17:01]Read from MH i2c: F0 [13:17:01]MH_I2C_Read... [13:17:01]Read from MH i2c: F0 09 00 [13:17:01]MH_I2C_Read... [13:17:01]Read from MH i2c: F0 09 00 31 19 00 D2 CE 76 66 13 9C 7C 64 4D [13:17:01]GetLastDocTimeStamp 1719062218 [13:17:01]current date 1719062226 [13:17:01]FM_GetShiftState [13:17:01]SAM_PROTO_GetShiftState [13:17:01]wFMCommunicate request_size=4 [13:17:01]MH_SAM_APDU [13:17:01]CAPDU: 80 13 01 00 [13:17:01]Write to MH i2c: E2 08 00 32 19 80 13 01 00 00 00 00 00 C8 [13:17:01]Write i2c OK [13:17:01]MH_I2C_Read... [13:17:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:17:01]Read from MH i2c: E2 [13:17:01]MH_I2C_Read... [13:17:01]Read from MH i2c: E2 0E 00 [13:17:01]MH_I2C_Read... [13:17:01]Read from MH i2c: E2 0E 00 32 19 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 82 [13:17:01]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [13:17:01]wFMCommunicate OK [13:17:01]SAM_PROTO_GetShiftState done [13:17:01]FM_GetShiftState done [13:17:01]opened in 1719016120 [13:17:01]opened+sec_in_day 1719102520 [13:17:01]quantity*price = 400000 [13:17:01]sum+1 = 400001 [13:17:01]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 4000.00 НСП 1% : 35.40 НДС 12% : 424.78 Наличными: 4000.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 33 22.06.2024 13:17 Смена: 327 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34607 ФПД: 202327827526316 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T131706&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34607&fm=202327827526316&tin=02508201610067®Number=0000000000092786&sum=400000 0 [13:17:02]StoreToDocumentArchive [13:17:02]shift 327 fd 34607 [13:17:02]save to /storage/0327/doc_00034607 [13:17:02]save last doc name /storage/0327/doc_00034607 to /storage/kkm_last_doc_name [13:17:02]save OK [13:17:02]Clear old archive folders... [13:17:02]ProcessDocumentItem done err = 0, tmpTLVsize=299 [13:17:02]tlvbuf is 015DA890 [13:17:02]SAM_PROTO_ClearQueue [13:17:02]wFMCommunicate request_size=4 [13:17:02]MH_SAM_APDU [13:17:02]CAPDU: 80 09 00 00 [13:17:02]Write to MH i2c: E2 08 00 3F 19 80 09 00 00 00 00 00 00 CA [13:17:02]Write i2c OK [13:17:02]MH_I2C_Read... [13:17:02]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:17:02]Read from MH i2c: E2 [13:17:02]MH_I2C_Read... [13:17:02]Read from MH i2c: E2 03 00 [13:17:02]MH_I2C_Read... [13:17:02]Read from MH i2c: E2 03 00 3F 19 00 90 00 CC [13:17:02]RAPDU: 90 00 [13:17:02]wFMCommunicate OK [13:17:02]SAM_PROTO_ClearQueue done [13:17:02]KKMCreateOFDPacket [13:17:02]OFDProtocolAddRootSTLVToBuf [13:17:02]FM_MakeSignedData [13:17:02]FM_MakeSignedData [13:17:02]SAM_PROTO_SignData [13:17:02]wFMCommunicate request_size=4 [13:17:02]MH_SAM_APDU [13:17:02]CAPDU: 80 0D 01 02 [13:17:02]Write to MH i2c: E2 08 00 40 19 80 0D 01 02 00 00 00 00 D2 [13:17:02]Write i2c OK [13:17:02]MH_I2C_Read... [13:17:02]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:17:02]Read from MH i2c: E2 [13:17:02]MH_I2C_Read... [13:17:02]Read from MH i2c: E2 03 00 [13:17:02]MH_I2C_Read... [13:17:02]Read from MH i2c: E2 03 00 40 19 00 90 00 CD [13:17:02]RAPDU: 90 00 [13:17:02]wFMCommunicate OK [13:17:02]wFMCommunicate request_size=255 [13:17:02]MH_SAM_APDU [13:17:02]CAPDU: 80 0D 02 02 FA 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 39 37 38 30 32 32 33 33 37 39 34 31 36 06 04 39 00 D0 9F D0 BE D0 B4 D0 B0 D1 80 D0 BE D1 87 D0 BD D0 B0 D1 8F 20 D1 82 D0 BE D0 BF D0 BB D0 B8 D0 B2 D0 BD D0 B0 D1 8F 20 D0 BA D0 B0 D1 80 D1 82 D0 B0 20 32 30 30 30 D1 81 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 40 0D 03 00 00 00 13 04 06 00 80 1A 06 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 1A 06 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D4 0D 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EE A5 00 00 00 00 07 04 06 00 80 1A 06 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 D2 CE 76 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 [13:17:02]Write to MH i2c: E2 02 01 41 19 80 0D 02 02 FA 00 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 39 37 38 30 32 32 33 33 37 39 34 31 36 06 04 39 00 D0 9F D0 BE D0 B4 D0 B0 D1 80 D0 BE D1 87 D0 BD D0 B0 D1 8F 20 D1 82 D0 BE D0 BF D0 BB D0 B8 D0 B2 D0 BD D0 B0 D1 8F 20 D0 BA D0 B0 D1 80 D1 82 D0 B0 20 32 30 30 30 D1 81 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 40 0D 03 00 00 00 13 04 06 00 80 1A 06 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 1A 06 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D4 0D 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EE A5 00 00 00 00 07 04 06 00 80 1A 06 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 D2 CE 76 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 00 00 40 [13:17:02]Write i2c OK [13:17:02]MH_I2C_Read... [13:17:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:17:03]Read from MH i2c: E2 [13:17:03]MH_I2C_Read... [13:17:03]Read from MH i2c: E2 03 00 [13:17:03]MH_I2C_Read... [13:17:03]Read from MH i2c: E2 03 00 41 19 00 90 00 CE [13:17:03]RAPDU: 90 00 [13:17:03]wFMCommunicate OK [13:17:03]wFMCommunicate request_size=58 [13:17:03]MH_SAM_APDU [13:17:03]CAPDU: 80 0D 02 02 35 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 2F 87 00 00 35 04 06 00 B8 04 1E 49 B2 AC [13:17:03]Write to MH i2c: E2 3D 00 42 19 80 0D 02 02 35 00 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 2F 87 00 00 35 04 06 00 B8 04 1E 49 B2 AC 00 00 04 [13:17:03]Write i2c OK [13:17:03]MH_I2C_Read... [13:17:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:17:03]Read from MH i2c: E2 [13:17:03]MH_I2C_Read... [13:17:03]Read from MH i2c: E2 03 00 [13:17:03]MH_I2C_Read... [13:17:03]Read from MH i2c: E2 03 00 42 19 00 90 00 CF [13:17:03]RAPDU: 90 00 [13:17:03]wFMCommunicate OK [13:17:03]wFMCommunicate request_size=4 [13:17:03]MH_SAM_APDU [13:17:03]CAPDU: 80 0D 03 02 [13:17:03]Write to MH i2c: E2 08 00 43 19 80 0D 03 02 00 00 00 00 D7 [13:17:03]Write i2c OK [13:17:03]MH_I2C_Read... [13:17:03]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:17:03]Read from MH i2c: E2 [13:17:03]MH_I2C_Read... [13:17:03]Read from MH i2c: E2 0B 00 [13:17:03]MH_I2C_Read... [13:17:03]Read from MH i2c: E2 0B 00 43 19 00 61 40 D2 D2 74 9E 42 D4 90 00 45 [13:17:03]RAPDU: 61 40 D2 D2 74 9E 42 D4 90 00 [13:17:03]wFMCommunicate OK [13:17:03]SAM_PROTO_SignData done [13:17:03]FM_MakeSignedData done [13:17:03]CreateOFDProtocolMessage [13:17:03]wFMCommunicate request_size=4 [13:17:03]MH_SAM_APDU [13:17:03]CAPDU: 80 11 00 00 [13:17:03]Write to MH i2c: E2 08 00 44 19 80 11 00 00 00 00 00 00 D7 [13:17:03]Write i2c OK [13:17:03]MH_I2C_Read... [13:17:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:17:03]Read from MH i2c: E2 [13:17:03]MH_I2C_Read... [13:17:03]Read from MH i2c: E2 17 00 [13:17:03]MH_I2C_Read... [13:17:03]Read from MH i2c: E2 17 00 44 19 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 2C [13:17:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [13:17:03]wFMCommunicate OK [13:17:03]CreateOFDProtocolMessage done [13:17:03]OFDSenderStorePacket 34607 [13:17:03]StoreOFDPacket docnum=34607 [13:17:03]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 3F 01 00 00 E7 81 37 01 16 8A 5A 03 01 00 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 39 37 38 30 32 32 33 33 37 39 34 31 36 06 04 39 00 D0 9F D0 BE D0 B4 D0 B0 D1 80 D0 BE D1 87 D0 BD D0 B0 D1 8F 20 D1 82 D0 BE D0 BF D0 BB D0 B8 D0 B2 D0 BD D0 B0 D1 8F 20 D0 BA D0 B0 D1 80 D1 82 D0 B0 20 32 30 30 30 D1 81 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 40 0D 03 00 00 00 13 04 06 00 80 1A 06 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 1A 06 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D4 0D 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EE A5 00 00 00 00 07 04 06 00 80 1A 06 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 D2 CE 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 2F 87 00 00 35 04 06 00 B8 04 1E 49 B2 AC 61 40 D2 D2 74 9E 42 D4 [13:17:03]CheckFolder [13:17:03]dirname=/storage/ofd_packets [13:17:03]CheckFolder done [13:17:03]ProducePacketName [13:17:03]name=ofd_packets/00034607 [13:17:03]NVStorageSaveData ofd_packets/00034607 [13:17:03]File name is /storage/ofd_packets/00034607 [13:17:03]Write 349 bytes [13:17:03]NVStorageSaveData done [13:17:03]OFDSenderStorePacket done [13:17:03]KKMCreateOFDPacket done [13:17:03]NVStorageSaveData kkm_last_timestamp [13:17:03]File name is /storage/kkm_last_timestamp [13:17:03]Write 4 bytes [13:17:03]NVStorageSaveData done [13:17:03]ExternCall_PrintAddStr [13:17:03]wPrintStart [13:17:03]Write to MH i2c: 01 00 00 45 19 5E [13:17:03]Write i2c OK [13:17:03]MH_I2C_Read... [13:17:03]Read from MH i2c: 01 [13:17:03]MH_I2C_Read... [13:17:03]Read from MH i2c: 01 07 00 [13:17:03]MH_I2C_Read... [13:17:03]Read from MH i2c: 01 07 00 45 19 00 00 00 00 00 FF 0F 73 [13:17:03]RasterBufferAndPrint [13:17:03]line Счет N : (3)184364 [13:17:03]line ИНН: 02508201610067 [13:17:03]line Контрольно-Кассовый Чек [13:17:03]line ПРОДАЖА [13:17:03]line Товар: 9780223379416 [13:17:03]line Подарочная топливная карта 2000с [13:17:03]line 2.000 * 2000.00 [13:17:03]line = 4000.00 [13:17:03]line НДС 12% НСП 1% [13:17:03]line > о реализуемом товаре [13:17:03]line ИТОГО: 4000.00 [13:17:03]line НСП 1% : 35.40 [13:17:03]line НДС 12% : 424.78 [13:17:03]line Наличными: 4000.00 [13:17:03]line Безнал.: 0.00 [13:17:03]line Место: АЗС № 120 "Партнер Нефть" [13:17:03]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [13:17:03]line СНО: Общий режим [13:17:03]line Чек 33 22.06.2024 13:17 [13:17:03]line Смена: 327 ФФД: 1.0 [13:17:03]line ЗНМ: 0300000172 [13:17:03]line РНМ: 0000000000092786 [13:17:03]line Версия ККМ: 001 [13:17:03]line ФМ: 0000000000875095 [13:17:03]line ФД: 34607 [13:17:03]line ФПД: 202327827526316 [13:17:03]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T131706&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34607&fm=202327827526316&tin=02508201610067®Number=0000000000092786&sum=400000 [13:17:03]line 0 [13:17:03]OFD Sender: Processing packet 34607 [packets to send 8, broken 7] [13:17:03]ProducePacketName [13:17:03]name=ofd_packets/00034607 [13:17:03]written 0, free lines is 4095 [13:17:03]OFD Sender: To server: pG, [13:17:03]CommunicateWithHost lk.salyk.kg:30040 [13:17:03]ConnectInit lk.salyk.kg [13:17:03]Connected sock=10 [13:17:03]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 3F 01 00 00 E7 81 37 01 16 8A 5A 03 01 00 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 39 37 38 30 32 32 33 33 37 39 34 31 36 06 04 39 00 D0 9F D0 BE D0 B4 D0 B0 D1 80 D0 BE D1 87 D0 BD D0 B0 D1 8F 20 D1 82 D0 BE D0 BF D0 BB D0 B8 D0 B2 D0 BD D0 B0 D1 8F 20 D0 BA D0 B0 D1 80 D1 82 D0 B0 20 32 30 30 30 D1 81 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 40 0D 03 00 00 00 13 04 06 00 80 1A 06 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 1A 06 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D4 0D 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EE A5 00 00 00 00 07 04 06 00 80 1A 06 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 D2 CE 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 2F 87 00 00 35 04 06 00 B8 04 1E 49 B2 AC 61 40 D2 D2 74 9E 42 D4 [13:17:03]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 80 38 47 00 9D 0B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 2F 87 00 00 F4 03 04 00 96 75 76 66 B6 04 01 00 00 36 7D D0 77 D9 86 84 CA [13:17:03]CommunicateWithHost err = 0 [13:17:03]CheckOFDResponse [13:17:03]1017 (14) - 77093643461234 [13:17:03]1041 (16) - 0000000000875095 [13:17:03]1040 (4) - 34607 [13:17:03]1012 (4) - 22.06.2024 06:56 [13:17:03]1206 (1) - 0 [13:17:03]OFD Sender: Remove packet 34607 [13:17:03]ProducePacketName [13:17:03]name=ofd_packets/00034607 [13:17:03]NVStorageDeleteData [13:17:03]Write to MH i2c: 01 00 00 6E 19 87 [13:17:03]Write i2c OK [13:17:03]MH_I2C_Read... [13:17:03]Read from MH i2c: 01 [13:17:03]MH_I2C_Read... [13:17:03]Read from MH i2c: 01 07 00 [13:17:03]MH_I2C_Read... [13:17:03]Read from MH i2c: 01 07 00 6E 19 00 00 00 00 00 EB 0C 85 [13:17:03]RasterBufferAndPrint [13:17:03]line [13:17:03]line [13:17:03]line [13:17:03]line [13:17:03]line [13:17:03]written 0, free lines is 3323 [13:17:03]MH_Cut [13:17:03]Write to MH i2c: D1 01 00 75 19 01 60 [13:17:03]Write i2c OK [13:17:03]MH_I2C_Read... [13:17:03]Read from MH i2c: D1 [13:17:03]MH_I2C_Read... [13:17:03]Read from MH i2c: D1 01 00 [13:17:03]MH_I2C_Read... [13:17:03]Read from MH i2c: D1 01 00 75 19 00 5F [13:17:03]Write to MH i2c: 01 00 00 76 19 8F [13:17:03]Write i2c OK [13:17:03]MH_I2C_Read... [13:17:04]OFD Sender: No OFD packet to send [13:17:04]*** Cut start [13:17:04]*** Partial cut [13:17:04]*** CUTSNS_PIN = 1 [13:17:04]*** CUTSNS_PIN = 0 [13:17:04]*** Brake cut motor [13:17:05]Read from MH i2c: 01 [13:17:05]MH_I2C_Read... [13:17:05]*** Stop cut motor [13:17:05]*** Cut end [13:17:05]Read from MH i2c: 01 07 00 [13:17:05]MH_I2C_Read... [13:17:05]Read from MH i2c: 01 07 00 76 19 00 00 00 00 00 FF 0F A4 [13:17:05]process_action close_receipt done [13:17:05]requested_data is exist [13:17:05]produce_requested_data [13:17:05]requested_item fm.sn is exist - process it [13:17:05]wFMCommunicate request_size=4 [13:17:05]MH_SAM_APDU [13:17:05]CAPDU: 80 11 00 00 [13:17:05]Write to MH i2c: E2 08 00 77 19 80 11 00 00 00 00 00 00 0A [13:17:05]Write i2c OK [13:17:05]MH_I2C_Read... [13:17:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:17:05]Read from MH i2c: E2 [13:17:05]MH_I2C_Read... [13:17:05]Read from MH i2c: E2 17 00 [13:17:05]MH_I2C_Read... [13:17:05]Read from MH i2c: E2 17 00 77 19 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 5F [13:17:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [13:17:05]wFMCommunicate OK [13:17:05]requested_item fd.num is exist - process it [13:17:05]SAM_PROTO_GetFieldsCounters [13:17:05]wFMCommunicate request_size=4 [13:17:05]MH_SAM_APDU [13:17:05]CAPDU: 80 13 00 00 [13:17:05]Write to MH i2c: E2 08 00 78 19 80 13 00 00 00 00 00 00 0D [13:17:05]Write i2c OK [13:17:05]MH_I2C_Read... [13:17:05]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:17:05]Read from MH i2c: E2 [13:17:05]MH_I2C_Read... [13:17:05]Read from MH i2c: E2 62 00 [13:17:05]MH_I2C_Read... [13:17:05]Read from MH i2c: E2 62 00 78 19 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 2F 87 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 98 [13:17:05]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 2F 87 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 [13:17:05]wFMCommunicate OK [13:17:05]SAM_PROTO_GetFieldsCounters done [13:17:05]requested_item shift.num is exist - process it [13:17:05]requested_item shift.opened is exist - process it [13:17:05]req_shift_opened [13:17:05]FM_GetShiftState [13:17:05]SAM_PROTO_GetShiftState [13:17:05]wFMCommunicate request_size=4 [13:17:05]MH_SAM_APDU [13:17:05]CAPDU: 80 13 01 00 [13:17:05]Write to MH i2c: E2 08 00 79 19 80 13 01 00 00 00 00 00 0F [13:17:05]Write i2c OK [13:17:05]MH_I2C_Read... [13:17:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:17:05]Read from MH i2c: E2 [13:17:05]MH_I2C_Read... [13:17:05]Read from MH i2c: E2 0E 00 [13:17:05]MH_I2C_Read... [13:17:05]Read from MH i2c: E2 0E 00 79 19 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 C9 [13:17:05]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [13:17:05]wFMCommunicate OK [13:17:05]SAM_PROTO_GetShiftState done [13:17:05]FM_GetShiftState done [13:17:05]req_shift_opened done [13:17:05]requested_item shift.open_date is exist - process it [13:17:05]req_shift_open_date [13:17:05]req_shift_open_date done [13:17:05]produce_requested_data done [13:17:05]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34607,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120} [13:17:05]process_action_free close_receipt [13:17:05]json_value_free [13:17:05]json_value_free done [13:17:05]process_json_proto returns [13:17:05]Send response to host [13:17:05]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34607,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120}}} [13:17:05]free response buf [13:17:05]execute_script done [13:17:05]execute_script returns [13:17:05]free content buf [13:17:05]Sock 7.Close socket [13:17:05]Sock 7.Thread stoped [13:17:09]OFD Sender: No OFD packet to send [13:17:09]accept exits with 9 [13:17:09]New connection [13:17:09]New thread 3067616612 created [13:17:09]Thread 3067473252 joined [13:17:09]Waiting for new connection... [13:17:09] Sock 9.Parse request [13:17:09]Sock 9.Check first char [13:17:09]Sock 9.First char is OK [13:17:09]request: POST /json_proto HTTP/1.0 [13:17:09]Method: POST [13:17:09]URL: /json_proto [13:17:09]Method is POST - this is cgi request [13:17:09]url: /json_proto [13:17:09]query_string will be loaded in cgi processing [13:17:09]execute_cgi json_proto POST (null) [13:17:09]execute_cgi path=json_proto method=POST [13:17:09]POST find Content-Length [13:17:09]Host: 172.17.38.134:8080 [13:17:09]Content-Length: 720 [13:17:09]Content-Type: application/json [13:17:09] [13:17:09]POST finish read [13:17:09]Found Content-Length = 720 [13:17:09]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184365", "tax_sys" : 0, "items" : [ { "code": "9780225379418", "name": "\u041F\u043E\u0434\u0430\u0440\u043E\u0447\u043D\u0430\u044F \u0442\u043E\u043F\u043B\u0438\u0432\u043D\u0430\u044F \u043A\u0430\u0440\u0442\u0430 5000\u0441", "price" : 5000.00, "quantity" : 2.000, "sum" : 10000.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 10000.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:17:09]execute_script... [13:17:09]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184365", "tax_sys" : 0, "items" : [ { "code": "9780225379418", "name": "\u041F\u043E\u0434\u0430\u0440\u043E\u0447\u043D\u0430\u044F \u0442\u043E\u043F\u043B\u0438\u0432\u043D\u0430\u044F \u043A\u0430\u0440\u0442\u0430 5000\u0441", "price" : 5000.00, "quantity" : 2.000, "sum" : 10000.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 10000.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:17:09]POST & json_proto [13:17:09]process_json_proto [13:17:09]json parsed OK: [13:17:09]protocol is kg_v1.0 [13:17:09]action value=close_receipt [13:17:09]process_action close_receipt [13:17:09]cmd_close_receipt [13:17:09]MH_GetDate [13:17:09]Write to MH i2c: F0 00 00 7A 19 82 [13:17:09]Write i2c OK [13:17:09]MH_I2C_Read... [13:17:09]Read from MH i2c: F0 [13:17:09]MH_I2C_Read... [13:17:09]Read from MH i2c: F0 09 00 [13:17:09]MH_I2C_Read... [13:17:09]Read from MH i2c: F0 09 00 7A 19 00 DA CE 76 66 13 9C 7C 64 9E [13:17:09]GetLastDocTimeStamp 1719062226 [13:17:09]current date 1719062234 [13:17:09]FM_GetShiftState [13:17:09]SAM_PROTO_GetShiftState [13:17:09]wFMCommunicate request_size=4 [13:17:09]MH_SAM_APDU [13:17:09]CAPDU: 80 13 01 00 [13:17:09]Write to MH i2c: E2 08 00 7B 19 80 13 01 00 00 00 00 00 11 [13:17:09]Write i2c OK [13:17:09]MH_I2C_Read... [13:17:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:17:09]Read from MH i2c: E2 [13:17:09]MH_I2C_Read... [13:17:09]Read from MH i2c: E2 0E 00 [13:17:09]MH_I2C_Read... [13:17:09]Read from MH i2c: E2 0E 00 7B 19 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 CB [13:17:09]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [13:17:09]wFMCommunicate OK [13:17:09]SAM_PROTO_GetShiftState done [13:17:09]FM_GetShiftState done [13:17:09]opened in 1719016120 [13:17:09]opened+sec_in_day 1719102520 [13:17:09]quantity*price = 1000000 [13:17:09]sum+1 = 1000001 [13:17:09]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 10000.00 НСП 1% : 88.50 НДС 12% : 1061.95 Наличными: 10000.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 34 22.06.2024 13:17 Смена: 327 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34608 ФПД: 228707199585065 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T131714&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34608&fm=228707199585065&tin=02508201610067®Number=0000000000092786&sum=1000000 0 [13:17:10]StoreToDocumentArchive [13:17:10]shift 327 fd 34608 [13:17:10]save to /storage/0327/doc_00034608 [13:17:10]save last doc name /storage/0327/doc_00034608 to /storage/kkm_last_doc_name [13:17:10]save OK [13:17:10]Clear old archive folders... [13:17:10]ProcessDocumentItem done err = 0, tmpTLVsize=299 [13:17:10]tlvbuf is 016241B0 [13:17:10]SAM_PROTO_ClearQueue [13:17:10]wFMCommunicate request_size=4 [13:17:10]MH_SAM_APDU [13:17:10]CAPDU: 80 09 00 00 [13:17:10]Write to MH i2c: E2 08 00 88 19 80 09 00 00 00 00 00 00 13 [13:17:10]Write i2c OK [13:17:10]MH_I2C_Read... [13:17:10]Read from MH i2c: E2 [13:17:10]MH_I2C_Read... [13:17:10]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:17:10]Read from MH i2c: E2 03 00 [13:17:10]MH_I2C_Read... [13:17:10]Read from MH i2c: E2 03 00 88 19 00 90 00 15 [13:17:10]RAPDU: 90 00 [13:17:10]wFMCommunicate OK [13:17:10]SAM_PROTO_ClearQueue done [13:17:10]KKMCreateOFDPacket [13:17:10]OFDProtocolAddRootSTLVToBuf [13:17:10]FM_MakeSignedData [13:17:10]FM_MakeSignedData [13:17:10]SAM_PROTO_SignData [13:17:10]wFMCommunicate request_size=4 [13:17:10]MH_SAM_APDU [13:17:10]CAPDU: 80 0D 01 02 [13:17:10]Write to MH i2c: E2 08 00 89 19 80 0D 01 02 00 00 00 00 1B [13:17:10]Write i2c OK [13:17:10]MH_I2C_Read... [13:17:10]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:17:10]Read from MH i2c: E2 [13:17:10]MH_I2C_Read... [13:17:10]Read from MH i2c: E2 03 00 [13:17:10]MH_I2C_Read... [13:17:10]Read from MH i2c: E2 03 00 89 19 00 90 00 16 [13:17:10]RAPDU: 90 00 [13:17:10]wFMCommunicate OK [13:17:10]wFMCommunicate request_size=255 [13:17:10]MH_SAM_APDU [13:17:10]CAPDU: 80 0D 02 02 FA 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 39 37 38 30 32 32 35 33 37 39 34 31 38 06 04 39 00 D0 9F D0 BE D0 B4 D0 B0 D1 80 D0 BE D1 87 D0 BD D0 B0 D1 8F 20 D1 82 D0 BE D0 BF D0 BB D0 B8 D0 B2 D0 BD D0 B0 D1 8F 20 D0 BA D0 B0 D1 80 D1 82 D0 B0 20 35 30 30 30 D1 81 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 20 A1 07 00 00 00 13 04 06 00 40 42 0F 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 42 0F 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 92 22 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D3 9E 01 00 00 00 07 04 06 00 40 42 0F 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 22 00 00 00 F4 03 04 00 DA CE 76 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 [13:17:10]Write to MH i2c: E2 02 01 8A 19 80 0D 02 02 FA 00 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 39 37 38 30 32 32 35 33 37 39 34 31 38 06 04 39 00 D0 9F D0 BE D0 B4 D0 B0 D1 80 D0 BE D1 87 D0 BD D0 B0 D1 8F 20 D1 82 D0 BE D0 BF D0 BB D0 B8 D0 B2 D0 BD D0 B0 D1 8F 20 D0 BA D0 B0 D1 80 D1 82 D0 B0 20 35 30 30 30 D1 81 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 20 A1 07 00 00 00 13 04 06 00 40 42 0F 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 42 0F 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 92 22 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D3 9E 01 00 00 00 07 04 06 00 40 42 0F 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 22 00 00 00 F4 03 04 00 DA CE 76 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 00 00 96 [13:17:10]Write i2c OK [13:17:10]MH_I2C_Read... [13:17:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:17:10]Read from MH i2c: E2 [13:17:10]MH_I2C_Read... [13:17:10]Read from MH i2c: E2 03 00 [13:17:10]MH_I2C_Read... [13:17:10]Read from MH i2c: E2 03 00 8A 19 00 90 00 17 [13:17:10]RAPDU: 90 00 [13:17:10]wFMCommunicate OK [13:17:10]wFMCommunicate request_size=58 [13:17:10]MH_SAM_APDU [13:17:10]CAPDU: 80 0D 02 02 35 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 30 87 00 00 35 04 06 00 D0 02 0B 63 8B 29 [13:17:10]Write to MH i2c: E2 3D 00 8B 19 80 0D 02 02 35 00 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 30 87 00 00 35 04 06 00 D0 02 0B 63 8B 29 00 00 C1 [13:17:10]Write i2c OK [13:17:10]MH_I2C_Read... [13:17:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:17:11]Read from MH i2c: E2 [13:17:11]MH_I2C_Read... [13:17:11]Read from MH i2c: E2 03 00 [13:17:11]MH_I2C_Read... [13:17:11]Read from MH i2c: E2 03 00 8B 19 00 90 00 18 [13:17:11]RAPDU: 90 00 [13:17:11]wFMCommunicate OK [13:17:11]wFMCommunicate request_size=4 [13:17:11]MH_SAM_APDU [13:17:11]CAPDU: 80 0D 03 02 [13:17:11]Write to MH i2c: E2 08 00 8C 19 80 0D 03 02 00 00 00 00 20 [13:17:11]Write i2c OK [13:17:11]MH_I2C_Read... [13:17:11]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:17:11]Read from MH i2c: E2 [13:17:11]MH_I2C_Read... [13:17:11]Read from MH i2c: E2 0B 00 [13:17:11]MH_I2C_Read... [13:17:11]Read from MH i2c: E2 0B 00 8C 19 00 67 D6 8F 9B 09 23 F6 91 90 00 3B [13:17:11]RAPDU: 67 D6 8F 9B 09 23 F6 91 90 00 [13:17:11]wFMCommunicate OK [13:17:11]SAM_PROTO_SignData done [13:17:11]FM_MakeSignedData done [13:17:11]CreateOFDProtocolMessage [13:17:11]wFMCommunicate request_size=4 [13:17:11]MH_SAM_APDU [13:17:11]CAPDU: 80 11 00 00 [13:17:11]Write to MH i2c: E2 08 00 8D 19 80 11 00 00 00 00 00 00 20 [13:17:11]Write i2c OK [13:17:11]MH_I2C_Read... [13:17:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:17:11]Read from MH i2c: E2 [13:17:11]MH_I2C_Read... [13:17:11]Read from MH i2c: E2 17 00 [13:17:11]MH_I2C_Read... [13:17:11]Read from MH i2c: E2 17 00 8D 19 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 75 [13:17:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [13:17:11]wFMCommunicate OK [13:17:11]CreateOFDProtocolMessage done [13:17:11]OFDSenderStorePacket 34608 [13:17:11]StoreOFDPacket docnum=34608 [13:17:11]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 3F 01 00 00 29 C2 37 01 F1 E5 5A 03 01 00 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 39 37 38 30 32 32 35 33 37 39 34 31 38 06 04 39 00 D0 9F D0 BE D0 B4 D0 B0 D1 80 D0 BE D1 87 D0 BD D0 B0 D1 8F 20 D1 82 D0 BE D0 BF D0 BB D0 B8 D0 B2 D0 BD D0 B0 D1 8F 20 D0 BA D0 B0 D1 80 D1 82 D0 B0 20 35 30 30 30 D1 81 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 20 A1 07 00 00 00 13 04 06 00 40 42 0F 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 42 0F 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 92 22 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D3 9E 01 00 00 00 07 04 06 00 40 42 0F 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 22 00 00 00 F4 03 04 00 DA CE 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 30 87 00 00 35 04 06 00 D0 02 0B 63 8B 29 67 D6 8F 9B 09 23 F6 91 [13:17:11]CheckFolder [13:17:11]dirname=/storage/ofd_packets [13:17:11]CheckFolder done [13:17:11]ProducePacketName [13:17:11]name=ofd_packets/00034608 [13:17:11]NVStorageSaveData ofd_packets/00034608 [13:17:11]File name is /storage/ofd_packets/00034608 [13:17:11]Write 349 bytes [13:17:11]NVStorageSaveData done [13:17:11]OFDSenderStorePacket done [13:17:11]KKMCreateOFDPacket done [13:17:11]NVStorageSaveData kkm_last_timestamp [13:17:11]File name is /storage/kkm_last_timestamp [13:17:11]Write 4 bytes [13:17:11]NVStorageSaveData done [13:17:11]ExternCall_PrintAddStr [13:17:11]wPrintStart [13:17:11]Write to MH i2c: 01 00 00 8E 19 A7 [13:17:11]OFD Sender: Processing packet 34608 [packets to send 8, broken 7] [13:17:11]ProducePacketName [13:17:11]name=ofd_packets/00034608 [13:17:11]OFD Sender: To server: pG, [13:17:11]CommunicateWithHost lk.salyk.kg:30040 [13:17:11]ConnectInit lk.salyk.kg [13:17:11]Write i2c OK [13:17:11]MH_I2C_Read... [13:17:11]Read from MH i2c: 01 [13:17:11]MH_I2C_Read... [13:17:11]Read from MH i2c: 01 07 00 [13:17:11]MH_I2C_Read... [13:17:11]Read from MH i2c: 01 07 00 8E 19 00 00 00 00 00 FF 0F BC [13:17:11]RasterBufferAndPrint [13:17:11]line Счет N : (3)184365 [13:17:11]line ИНН: 02508201610067 [13:17:11]line Контрольно-Кассовый Чек [13:17:11]line ПРОДАЖА [13:17:11]line Товар: 9780225379418 [13:17:11]line Подарочная топливная карта 5000с [13:17:11]line 2.000 * 5000.00 [13:17:11]line = 10000.00 [13:17:11]line НДС 12% НСП 1% [13:17:11]line > о реализуемом товаре [13:17:11]line ИТОГО: 10000.00 [13:17:11]line НСП 1% : 88.50 [13:17:11]line НДС 12% : 1061.95 [13:17:11]line Наличными: 10000.00 [13:17:11]line Безнал.: 0.00 [13:17:11]line Место: АЗС № 120 "Партнер Нефть" [13:17:11]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [13:17:11]line СНО: Общий режим [13:17:11]line Чек 34 22.06.2024 13:17 [13:17:11]line Смена: 327 ФФД: 1.0 [13:17:11]line ЗНМ: 0300000172 [13:17:11]line РНМ: 0000000000092786 [13:17:11]line Версия ККМ: 001 [13:17:11]line ФМ: 0000000000875095 [13:17:11]line ФД: 34608 [13:17:11]line ФПД: 228707199585065 [13:17:11]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T131714&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34608&fm=228707199585065&tin=02508201610067®Number=0000000000092786&sum=1000000 [13:17:11]line 0 [13:17:11]written 0, free lines is 4095 [13:17:11]Connected sock=10 [13:17:11]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 3F 01 00 00 29 C2 37 01 F1 E5 5A 03 01 00 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 39 37 38 30 32 32 35 33 37 39 34 31 38 06 04 39 00 D0 9F D0 BE D0 B4 D0 B0 D1 80 D0 BE D1 87 D0 BD D0 B0 D1 8F 20 D1 82 D0 BE D0 BF D0 BB D0 B8 D0 B2 D0 BD D0 B0 D1 8F 20 D0 BA D0 B0 D1 80 D1 82 D0 B0 20 35 30 30 30 D1 81 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 20 A1 07 00 00 00 13 04 06 00 40 42 0F 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 42 0F 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 92 22 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D3 9E 01 00 00 00 07 04 06 00 40 42 0F 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 22 00 00 00 F4 03 04 00 DA CE 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 30 87 00 00 35 04 06 00 D0 02 0B 63 8B 29 67 D6 8F 9B 09 23 F6 91 [13:17:11]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 3D 6B 47 00 1E A6 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 30 87 00 00 F4 03 04 00 9E 75 76 66 B6 04 01 00 00 3B 1A 5D DD 3B 8D 62 28 [13:17:11]CommunicateWithHost err = 0 [13:17:11]CheckOFDResponse [13:17:11]Write to MH i2c: 1017 (14) - 77093643461234 [13:17:11]01 1041 (16) - 0000000000875095 [13:17:11]00 1040 (4) - 34608 [13:17:11]00 1012 (4) - 22.06.2024 06:56 [13:17:11]B7 1206 (1) - 0 [13:17:11]19 OFD Sender: Remove packet 34608 [13:17:11]D0 ProducePacketName [13:17:11] [13:17:11]name=ofd_packets/00034608 [13:17:11]NVStorageDeleteData [13:17:11]Write i2c OK [13:17:11]MH_I2C_Read... [13:17:11]Read from MH i2c: 01 [13:17:11]MH_I2C_Read... [13:17:11]Read from MH i2c: 01 07 00 [13:17:11]MH_I2C_Read... [13:17:11]Read from MH i2c: 01 07 00 B7 19 00 00 00 00 00 52 0D 36 [13:17:11]RasterBufferAndPrint [13:17:11]line [13:17:11]line [13:17:11]line [13:17:11]line [13:17:11]line [13:17:11]written 0, free lines is 3430 [13:17:11]MH_Cut [13:17:11]Write to MH i2c: D1 01 00 BE 19 01 A9 [13:17:11]Write i2c OK [13:17:11]MH_I2C_Read... [13:17:11]Read from MH i2c: D1 [13:17:11]MH_I2C_Read... [13:17:11]Read from MH i2c: D1 01 00 [13:17:11]MH_I2C_Read... [13:17:11]Read from MH i2c: D1 01 00 BE 19 00 A8 [13:17:11]Write to MH i2c: 01 00 00 BF 19 D8 [13:17:11]Write i2c OK [13:17:11]MH_I2C_Read... [13:17:12]OFD Sender: No OFD packet to send [13:17:12]*** Cut start [13:17:12]*** Partial cut [13:17:12]*** CUTSNS_PIN = 1 [13:17:12]*** CUTSNS_PIN = 0 [13:17:12]*** Brake cut motor [13:17:13]Read from MH i2c: 01 [13:17:13]MH_I2C_Read... [13:17:13]*** Stop cut motor [13:17:13]*** Cut end [13:17:13]Read from MH i2c: 01 07 00 [13:17:13]MH_I2C_Read... [13:17:13]Read from MH i2c: 01 07 00 BF 19 00 00 00 00 00 FF 0F ED [13:17:13]process_action close_receipt done [13:17:13]requested_data is exist [13:17:13]produce_requested_data [13:17:13]requested_item fm.sn is exist - process it [13:17:13]wFMCommunicate request_size=4 [13:17:13]MH_SAM_APDU [13:17:13]CAPDU: 80 11 00 00 [13:17:13]Write to MH i2c: E2 08 00 C0 19 80 11 00 00 00 00 00 00 53 [13:17:13]Write i2c OK [13:17:13]MH_I2C_Read... [13:17:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:17:13]Read from MH i2c: E2 [13:17:13]MH_I2C_Read... [13:17:13]Read from MH i2c: E2 17 00 [13:17:13]MH_I2C_Read... [13:17:13]Read from MH i2c: E2 17 00 C0 19 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 A8 [13:17:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [13:17:13]wFMCommunicate OK [13:17:13]requested_item fd.num is exist - process it [13:17:13]SAM_PROTO_GetFieldsCounters [13:17:13]wFMCommunicate request_size=4 [13:17:13]MH_SAM_APDU [13:17:13]CAPDU: 80 13 00 00 [13:17:13]Write to MH i2c: E2 08 00 C1 19 80 13 00 00 00 00 00 00 56 [13:17:13]Write i2c OK [13:17:13]MH_I2C_Read... [13:17:13]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:17:13]Read from MH i2c: E2 [13:17:13]MH_I2C_Read... [13:17:13]Read from MH i2c: E2 62 00 [13:17:13]MH_I2C_Read... [13:17:13]Read from MH i2c: E2 62 00 C1 19 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 30 87 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 E5 [13:17:13]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 30 87 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 [13:17:13]wFMCommunicate OK [13:17:13]SAM_PROTO_GetFieldsCounters done [13:17:13]requested_item shift.num is exist - process it [13:17:13]requested_item shift.opened is exist - process it [13:17:13]req_shift_opened [13:17:13]FM_GetShiftState [13:17:13]SAM_PROTO_GetShiftState [13:17:13]wFMCommunicate request_size=4 [13:17:13]MH_SAM_APDU [13:17:13]CAPDU: 80 13 01 00 [13:17:13]Write to MH i2c: E2 08 00 C2 19 80 13 01 00 00 00 00 00 58 [13:17:13]Write i2c OK [13:17:13]MH_I2C_Read... [13:17:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:17:13]Read from MH i2c: E2 [13:17:13]MH_I2C_Read... [13:17:13]Read from MH i2c: E2 0E 00 [13:17:13]MH_I2C_Read... [13:17:13]Read from MH i2c: E2 0E 00 C2 19 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 12 [13:17:13]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [13:17:13]wFMCommunicate OK [13:17:13]SAM_PROTO_GetShiftState done [13:17:13]FM_GetShiftState done [13:17:13]req_shift_opened done [13:17:13]requested_item shift.open_date is exist - process it [13:17:13]req_shift_open_date [13:17:13]req_shift_open_date done [13:17:13]produce_requested_data done [13:17:13]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34608,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120} [13:17:13]process_action_free close_receipt [13:17:13]json_value_free [13:17:13]json_value_free done [13:17:13]process_json_proto returns [13:17:13]Send response to host [13:17:13]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34608,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120}}} [13:17:13]free response buf [13:17:13]execute_script done [13:17:13]execute_script returns [13:17:13]free content buf [13:17:13]Sock 9.Close socket [13:17:13]Sock 9.Thread stoped [13:17:17]OFD Sender: No OFD packet to send [13:17:22]OFD Sender: No OFD packet to send [13:17:27]OFD Sender: No OFD packet to send [13:17:32]OFD Sender: No OFD packet to send [13:17:37]OFD Sender: No OFD packet to send [13:17:42]OFD Sender: No OFD packet to send [13:17:47]OFD Sender: No OFD packet to send [13:17:52]OFD Sender: No OFD packet to send [13:17:57]OFD Sender: No OFD packet to send [13:18:02]OFD Sender: No OFD packet to send [13:18:07]OFD Sender: No OFD packet to send [13:18:12]OFD Sender: No OFD packet to send [13:18:17]OFD Sender: No OFD packet to send [13:18:22]OFD Sender: No OFD packet to send [13:18:27]OFD Sender: No OFD packet to send [13:18:32]OFD Sender: No OFD packet to send [13:18:37]OFD Sender: No OFD packet to send [13:18:42]OFD Sender: No OFD packet to send [13:18:47]OFD Sender: No OFD packet to send [13:18:52]OFD Sender: No OFD packet to send [13:18:57]OFD Sender: No OFD packet to send [13:19:02]OFD Sender: No OFD packet to send [13:19:07]OFD Sender: No OFD packet to send [13:19:12]OFD Sender: No OFD packet to send [13:19:17]OFD Sender: No OFD packet to send [13:19:22]OFD Sender: No OFD packet to send [13:19:27]OFD Sender: No OFD packet to send [13:19:32]OFD Sender: No OFD packet to send [13:19:37]OFD Sender: No OFD packet to send [13:19:42]OFD Sender: No OFD packet to send [13:19:47]OFD Sender: No OFD packet to send [13:19:52]OFD Sender: No OFD packet to send [13:19:57]OFD Sender: No OFD packet to send [13:20:02]OFD Sender: No OFD packet to send [13:20:07]OFD Sender: No OFD packet to send [13:20:12]OFD Sender: No OFD packet to send [13:20:17]OFD Sender: No OFD packet to send [13:20:22]OFD Sender: No OFD packet to send [13:20:27]OFD Sender: No OFD packet to send [13:20:32]OFD Sender: No OFD packet to send [13:20:37]OFD Sender: No OFD packet to send [13:20:42]OFD Sender: No OFD packet to send [13:20:47]OFD Sender: No OFD packet to send [13:20:52]OFD Sender: No OFD packet to send [13:20:57]OFD Sender: No OFD packet to send [13:21:02]OFD Sender: No OFD packet to send [13:21:07]OFD Sender: No OFD packet to send [13:21:12]OFD Sender: No OFD packet to send [13:21:17]OFD Sender: No OFD packet to send [13:21:22]OFD Sender: No OFD packet to send [13:21:27]OFD Sender: No OFD packet to send [13:21:32]OFD Sender: No OFD packet to send [13:21:37]OFD Sender: No OFD packet to send [13:21:42]OFD Sender: No OFD packet to send [13:21:47]OFD Sender: No OFD packet to send [13:21:52]OFD Sender: No OFD packet to send [13:21:57]OFD Sender: No OFD packet to send [13:22:02]OFD Sender: No OFD packet to send [13:22:07]OFD Sender: No OFD packet to send [13:22:12]OFD Sender: No OFD packet to send [13:22:17]OFD Sender: No OFD packet to send [13:22:22]OFD Sender: No OFD packet to send [13:22:27]OFD Sender: No OFD packet to send [13:22:32]OFD Sender: No OFD packet to send [13:22:37]OFD Sender: No OFD packet to send [13:22:42]OFD Sender: No OFD packet to send [13:22:47]OFD Sender: No OFD packet to send [13:22:52]OFD Sender: No OFD packet to send [13:22:57]OFD Sender: No OFD packet to send [13:23:02]OFD Sender: No OFD packet to send [13:23:07]OFD Sender: No OFD packet to send [13:23:12]OFD Sender: No OFD packet to send [13:23:17]OFD Sender: No OFD packet to send [13:23:22]OFD Sender: No OFD packet to send [13:23:27]OFD Sender: No OFD packet to send [13:23:32]OFD Sender: No OFD packet to send [13:23:37]OFD Sender: No OFD packet to send [13:23:42]OFD Sender: No OFD packet to send [13:23:47]OFD Sender: No OFD packet to send [13:23:52]OFD Sender: No OFD packet to send [13:23:57]OFD Sender: No OFD packet to send [13:24:02]OFD Sender: No OFD packet to send [13:24:07]OFD Sender: No OFD packet to send [13:24:12]OFD Sender: No OFD packet to send [13:24:17]OFD Sender: No OFD packet to send [13:24:22]OFD Sender: No OFD packet to send [13:24:27]OFD Sender: No OFD packet to send [13:24:32]OFD Sender: No OFD packet to send [13:24:37]OFD Sender: No OFD packet to send [13:24:42]OFD Sender: No OFD packet to send [13:24:47]OFD Sender: No OFD packet to send [13:24:52]OFD Sender: No OFD packet to send [13:24:57]OFD Sender: No OFD packet to send [13:25:02]OFD Sender: No OFD packet to send [13:25:07]OFD Sender: No OFD packet to send [13:25:12]OFD Sender: No OFD packet to send [13:25:17]OFD Sender: No OFD packet to send [13:25:22]OFD Sender: No OFD packet to send [13:25:27]OFD Sender: No OFD packet to send [13:25:32]OFD Sender: No OFD packet to send [13:25:37]OFD Sender: No OFD packet to send [13:25:42]OFD Sender: No OFD packet to send [13:25:47]OFD Sender: No OFD packet to send [13:25:52]OFD Sender: No OFD packet to send [13:25:57]OFD Sender: No OFD packet to send [13:26:02]OFD Sender: No OFD packet to send [13:26:07]OFD Sender: No OFD packet to send [13:26:12]OFD Sender: No OFD packet to send [13:26:17]OFD Sender: No OFD packet to send [13:26:22]OFD Sender: No OFD packet to send [13:26:27]OFD Sender: No OFD packet to send [13:26:32]OFD Sender: No OFD packet to send [13:26:37]OFD Sender: No OFD packet to send [13:26:42]OFD Sender: No OFD packet to send [13:26:47]OFD Sender: No OFD packet to send [13:26:52]OFD Sender: No OFD packet to send [13:26:57]OFD Sender: No OFD packet to send [13:27:02]OFD Sender: No OFD packet to send [13:27:07]OFD Sender: No OFD packet to send [13:27:12]OFD Sender: No OFD packet to send [13:27:17]OFD Sender: No OFD packet to send [13:27:22]OFD Sender: No OFD packet to send [13:27:27]OFD Sender: No OFD packet to send [13:27:32]OFD Sender: No OFD packet to send [13:27:37]OFD Sender: No OFD packet to send [13:27:42]OFD Sender: No OFD packet to send [13:27:47]OFD Sender: No OFD packet to send [13:27:52]OFD Sender: No OFD packet to send [13:27:57]OFD Sender: No OFD packet to send [13:28:02]OFD Sender: No OFD packet to send [13:28:07]OFD Sender: No OFD packet to send [13:28:12]OFD Sender: No OFD packet to send [13:28:17]OFD Sender: No OFD packet to send [13:28:22]OFD Sender: No OFD packet to send [13:28:27]OFD Sender: No OFD packet to send [13:28:32]OFD Sender: No OFD packet to send [13:28:37]OFD Sender: No OFD packet to send [13:28:42]OFD Sender: No OFD packet to send [13:28:47]OFD Sender: No OFD packet to send [13:28:52]OFD Sender: No OFD packet to send [13:28:57]OFD Sender: No OFD packet to send [13:29:02]OFD Sender: No OFD packet to send [13:29:07]OFD Sender: No OFD packet to send [13:29:12]OFD Sender: No OFD packet to send [13:29:17]OFD Sender: No OFD packet to send [13:29:22]OFD Sender: No OFD packet to send [13:29:27]OFD Sender: No OFD packet to send [13:29:32]OFD Sender: No OFD packet to send [13:29:37]OFD Sender: No OFD packet to send [13:29:42]OFD Sender: No OFD packet to send [13:29:47]OFD Sender: No OFD packet to send [13:29:52]OFD Sender: No OFD packet to send [13:29:57]OFD Sender: No OFD packet to send [13:30:02]OFD Sender: No OFD packet to send [13:30:07]OFD Sender: No OFD packet to send [13:30:12]OFD Sender: No OFD packet to send [13:30:17]OFD Sender: No OFD packet to send [13:30:22]OFD Sender: No OFD packet to send [13:30:27]OFD Sender: No OFD packet to send [13:30:32]OFD Sender: No OFD packet to send [13:30:37]OFD Sender: No OFD packet to send [13:30:42]OFD Sender: No OFD packet to send [13:30:47]OFD Sender: No OFD packet to send [13:30:52]OFD Sender: No OFD packet to send [13:30:57]OFD Sender: No OFD packet to send [13:31:02]OFD Sender: No OFD packet to send [13:31:07]OFD Sender: No OFD packet to send [13:31:12]OFD Sender: No OFD packet to send [13:31:17]OFD Sender: No OFD packet to send [13:31:22]OFD Sender: No OFD packet to send [13:31:27]OFD Sender: No OFD packet to send [13:31:32]OFD Sender: No OFD packet to send [13:31:37]OFD Sender: No OFD packet to send [13:31:42]OFD Sender: No OFD packet to send [13:31:47]OFD Sender: No OFD packet to send [13:31:52]OFD Sender: No OFD packet to send [13:31:57]OFD Sender: No OFD packet to send [13:32:02]OFD Sender: No OFD packet to send [13:32:07]OFD Sender: No OFD packet to send [13:32:12]OFD Sender: No OFD packet to send [13:32:17]OFD Sender: No OFD packet to send [13:32:22]OFD Sender: No OFD packet to send [13:32:27]OFD Sender: No OFD packet to send [13:32:33]OFD Sender: No OFD packet to send [13:32:38]OFD Sender: No OFD packet to send [13:32:43]OFD Sender: No OFD packet to send [13:32:48]OFD Sender: No OFD packet to send [13:32:53]OFD Sender: No OFD packet to send [13:32:58]OFD Sender: No OFD packet to send [13:33:03]OFD Sender: No OFD packet to send [13:33:08]OFD Sender: No OFD packet to send [13:33:13]OFD Sender: No OFD packet to send [13:33:18]OFD Sender: No OFD packet to send [13:33:23]OFD Sender: No OFD packet to send [13:33:28]OFD Sender: No OFD packet to send [13:33:33]OFD Sender: No OFD packet to send [13:33:38]OFD Sender: No OFD packet to send [13:33:43]OFD Sender: No OFD packet to send [13:33:48]OFD Sender: No OFD packet to send [13:33:53]OFD Sender: No OFD packet to send [13:33:58]OFD Sender: No OFD packet to send [13:34:03]OFD Sender: No OFD packet to send [13:34:08]OFD Sender: No OFD packet to send [13:34:13]OFD Sender: No OFD packet to send [13:34:18]OFD Sender: No OFD packet to send [13:34:23]OFD Sender: No OFD packet to send [13:34:28]OFD Sender: No OFD packet to send [13:34:33]OFD Sender: No OFD packet to send [13:34:38]OFD Sender: No OFD packet to send [13:34:43]OFD Sender: No OFD packet to send [13:34:48]OFD Sender: No OFD packet to send [13:34:53]OFD Sender: No OFD packet to send [13:34:58]OFD Sender: No OFD packet to send [13:35:03]OFD Sender: No OFD packet to send [13:35:08]OFD Sender: No OFD packet to send [13:35:13]OFD Sender: No OFD packet to send [13:35:18]OFD Sender: No OFD packet to send [13:35:23]OFD Sender: No OFD packet to send [13:35:28]OFD Sender: No OFD packet to send [13:35:33]OFD Sender: No OFD packet to send [13:35:38]OFD Sender: No OFD packet to send [13:35:43]OFD Sender: No OFD packet to send [13:35:48]OFD Sender: No OFD packet to send [13:35:53]OFD Sender: No OFD packet to send [13:35:58]OFD Sender: No OFD packet to send [13:36:03]OFD Sender: No OFD packet to send [13:36:08]OFD Sender: No OFD packet to send [13:36:13]OFD Sender: No OFD packet to send [13:36:18]OFD Sender: No OFD packet to send [13:36:23]OFD Sender: No OFD packet to send [13:36:28]OFD Sender: No OFD packet to send [13:36:33]OFD Sender: No OFD packet to send [13:36:38]OFD Sender: No OFD packet to send [13:36:43]OFD Sender: No OFD packet to send [13:36:48]OFD Sender: No OFD packet to send [13:36:53]OFD Sender: No OFD packet to send [13:36:58]OFD Sender: No OFD packet to send [13:37:03]OFD Sender: No OFD packet to send [13:37:08]OFD Sender: No OFD packet to send [13:37:13]OFD Sender: No OFD packet to send [13:37:18]OFD Sender: No OFD packet to send [13:37:23]OFD Sender: No OFD packet to send [13:37:28]OFD Sender: No OFD packet to send [13:37:33]OFD Sender: No OFD packet to send [13:37:38]OFD Sender: No OFD packet to send [13:37:43]OFD Sender: No OFD packet to send [13:37:48]OFD Sender: No OFD packet to send [13:37:53]OFD Sender: No OFD packet to send [13:37:58]OFD Sender: No OFD packet to send [13:38:03]OFD Sender: No OFD packet to send [13:38:08]OFD Sender: No OFD packet to send [13:38:13]OFD Sender: No OFD packet to send [13:38:18]OFD Sender: No OFD packet to send [13:38:23]OFD Sender: No OFD packet to send [13:38:28]OFD Sender: No OFD packet to send [13:38:33]OFD Sender: No OFD packet to send [13:38:33]accept exits with 7 [13:38:33]New connection [13:38:33]New thread 3067473252 created [13:38:33]Thread 3067616612 joined [13:38:33]Waiting for new connection... [13:38:33] Sock 7.Parse request [13:38:33]Sock 7.Check first char [13:38:33]Sock 7.First char is OK [13:38:33]request: POST /json_proto HTTP/1.0 [13:38:33]Method: POST [13:38:33]URL: /json_proto [13:38:33]Method is POST - this is cgi request [13:38:33]url: /json_proto [13:38:33]query_string will be loaded in cgi processing [13:38:33]execute_cgi json_proto POST (null) [13:38:33]execute_cgi path=json_proto method=POST [13:38:33]POST find Content-Length [13:38:33]Host: 172.17.38.134:8080 [13:38:33]Content-Length: 819 [13:38:33]Content-Type: application/json [13:38:33] [13:38:33]POST finish read [13:38:33]Found Content-Length = 819 [13:38:33]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)673924", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 32", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.40, "quantity" : 30.130, "sum" : 2000.63, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 2000.63 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:38:33]execute_script... [13:38:33]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)673924", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 32", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.40, "quantity" : 30.130, "sum" : 2000.63, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 2000.63 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:38:33]POST & json_proto [13:38:33]process_json_proto [13:38:33]json parsed OK: [13:38:33]protocol is kg_v1.0 [13:38:33]action value=close_receipt [13:38:33]process_action close_receipt [13:38:33]cmd_close_receipt [13:38:33]MH_GetDate [13:38:33]Write to MH i2c: F0 00 00 C3 19 CB [13:38:33]Write i2c OK [13:38:33]MH_I2C_Read... [13:38:33]Read from MH i2c: F0 [13:38:33]MH_I2C_Read... [13:38:33]Read from MH i2c: F0 09 00 [13:38:33]MH_I2C_Read... [13:38:33]Read from MH i2c: F0 09 00 C3 19 00 DF D3 76 66 13 9C 7C 64 F1 [13:38:33]GetLastDocTimeStamp 1719062234 [13:38:33]current date 1719063519 [13:38:33]FM_GetShiftState [13:38:33]SAM_PROTO_GetShiftState [13:38:33]wFMCommunicate request_size=4 [13:38:33]MH_SAM_APDU [13:38:33]CAPDU: 80 13 01 00 [13:38:33]Write to MH i2c: E2 08 00 C4 19 80 13 01 00 00 00 00 00 5A [13:38:33]Write i2c OK [13:38:33]MH_I2C_Read... [13:38:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:38:33]Read from MH i2c: E2 [13:38:33]MH_I2C_Read... [13:38:33]Read from MH i2c: E2 0E 00 [13:38:33]MH_I2C_Read... [13:38:33]Read from MH i2c: E2 0E 00 C4 19 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 14 [13:38:33]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [13:38:33]wFMCommunicate OK [13:38:33]SAM_PROTO_GetShiftState done [13:38:33]FM_GetShiftState done [13:38:33]opened in 1719016120 [13:38:33]opened+sec_in_day 1719102520 [13:38:33]quantity*price = 200063 [13:38:33]sum+1 = 200064 [13:38:33]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 2000.63 НСП 1% : 17.70 НДС 12% : 212.46 Наличными: 0.00 Безнал.: 2000.63 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 35 22.06.2024 13:38 Смена: 327 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 Платежная система: Бакай Банк ФМ: 0000000000875095 ФД: 34609 ФПД: 278206359312412 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T133839&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34609&fm=278206359312412&tin=02508201610067®Number=0000000000092786&sum=200063 [13:38:34]StoreToDocumentArchive [13:38:34]shift 327 fd 34609 [13:38:34]save to /storage/0327/doc_00034609 [13:38:34]save last doc name /storage/0327/doc_00034609 to /storage/kkm_last_doc_name [13:38:34]save OK [13:38:34]Clear old archive folders... [13:38:34]ProcessDocumentItem done err = 0, tmpTLVsize=251 [13:38:34]tlvbuf is 015EDEB0 [13:38:34]SAM_PROTO_ClearQueue [13:38:34]wFMCommunicate request_size=4 [13:38:34]MH_SAM_APDU [13:38:34]CAPDU: 80 09 00 00 [13:38:34]Write to MH i2c: E2 08 00 D1 19 80 09 00 00 00 00 00 00 5C [13:38:34]Write i2c OK [13:38:34]MH_I2C_Read... [13:38:34]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:38:34]Read from MH i2c: E2 [13:38:34]MH_I2C_Read... [13:38:34]Read from MH i2c: E2 03 00 [13:38:34]MH_I2C_Read... [13:38:34]Read from MH i2c: E2 03 00 D1 19 00 90 00 5E [13:38:34]RAPDU: 90 00 [13:38:34]wFMCommunicate OK [13:38:34]SAM_PROTO_ClearQueue done [13:38:34]KKMCreateOFDPacket [13:38:34]OFDProtocolAddRootSTLVToBuf [13:38:34]FM_MakeSignedData [13:38:34]FM_MakeSignedData [13:38:34]SAM_PROTO_SignData [13:38:34]wFMCommunicate request_size=4 [13:38:34]MH_SAM_APDU [13:38:34]CAPDU: 80 0D 01 02 [13:38:34]Write to MH i2c: E2 08 00 D2 19 80 0D 01 02 00 00 00 00 64 [13:38:34]Write i2c OK [13:38:34]MH_I2C_Read... [13:38:34]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:38:34]Read from MH i2c: E2 [13:38:34]MH_I2C_Read... [13:38:34]Read from MH i2c: E2 03 00 [13:38:34]MH_I2C_Read... [13:38:34]Read from MH i2c: E2 03 00 D2 19 00 90 00 5F [13:38:34]RAPDU: 90 00 [13:38:34]wFMCommunicate OK [13:38:34]wFMCommunicate request_size=255 [13:38:34]MH_SAM_APDU [13:38:34]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 B2 75 00 00 00 00 00 37 04 06 00 F0 19 00 00 00 00 13 04 06 00 7F 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7F 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FE 52 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 7F 0D 03 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 DF D3 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 31 87 00 00 35 04 06 00 FD [13:38:34]Write to MH i2c: E2 02 01 D3 19 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 B2 75 00 00 00 00 00 37 04 06 00 F0 19 00 00 00 00 13 04 06 00 7F 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7F 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FE 52 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 7F 0D 03 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 DF D3 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 31 87 00 00 35 04 06 00 FD 00 00 42 [13:38:34]Write i2c OK [13:38:34]MH_I2C_Read... [13:38:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:38:35]Read from MH i2c: E2 [13:38:35]MH_I2C_Read... [13:38:35]Read from MH i2c: E2 03 00 [13:38:35]MH_I2C_Read... [13:38:35]Read from MH i2c: E2 03 00 D3 19 00 90 00 60 [13:38:35]RAPDU: 90 00 [13:38:35]wFMCommunicate OK [13:38:35]wFMCommunicate request_size=10 [13:38:35]MH_SAM_APDU [13:38:35]CAPDU: 80 0D 02 02 05 06 F7 38 98 1C [13:38:35]Write to MH i2c: E2 0D 00 D4 19 80 0D 02 02 05 00 06 F7 38 98 1C 00 00 5A [13:38:35]Write i2c OK [13:38:35]MH_I2C_Read... [13:38:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:38:35]Read from MH i2c: E2 [13:38:35]MH_I2C_Read... [13:38:35]Read from MH i2c: E2 03 00 [13:38:35]MH_I2C_Read... [13:38:35]Read from MH i2c: E2 03 00 D4 19 00 90 00 61 [13:38:35]RAPDU: 90 00 [13:38:35]wFMCommunicate OK [13:38:35]wFMCommunicate request_size=4 [13:38:35]MH_SAM_APDU [13:38:35]CAPDU: 80 0D 03 02 [13:38:35]Write to MH i2c: E2 08 00 D5 19 80 0D 03 02 00 00 00 00 69 [13:38:35]Write i2c OK [13:38:35]MH_I2C_Read... [13:38:35]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:38:35]Read from MH i2c: E2 [13:38:35]MH_I2C_Read... [13:38:35]Read from MH i2c: E2 0B 00 [13:38:35]MH_I2C_Read... [13:38:35]Read from MH i2c: E2 0B 00 D5 19 00 E0 3B C1 FA C0 1C 40 13 90 00 6F [13:38:35]RAPDU: E0 3B C1 FA C0 1C 40 13 90 00 [13:38:35]wFMCommunicate OK [13:38:35]SAM_PROTO_SignData done [13:38:35]FM_MakeSignedData done [13:38:35]CreateOFDProtocolMessage [13:38:35]wFMCommunicate request_size=4 [13:38:35]MH_SAM_APDU [13:38:35]CAPDU: 80 11 00 00 [13:38:35]Write to MH i2c: E2 08 00 D6 19 80 11 00 00 00 00 00 00 69 [13:38:35]Write i2c OK [13:38:35]MH_I2C_Read... [13:38:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:38:35]Read from MH i2c: E2 [13:38:35]MH_I2C_Read... [13:38:35]Read from MH i2c: E2 17 00 [13:38:35]MH_I2C_Read... [13:38:35]Read from MH i2c: E2 17 00 D6 19 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 BE [13:38:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [13:38:35]wFMCommunicate OK [13:38:35]CreateOFDProtocolMessage done [13:38:35]OFDSenderStorePacket 34609 [13:38:35]StoreOFDPacket docnum=34609 [13:38:35]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0F 01 00 00 42 30 07 01 3E 3C 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 B2 75 00 00 00 00 00 37 04 06 00 F0 19 00 00 00 00 13 04 06 00 7F 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7F 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FE 52 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 7F 0D 03 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 DF D3 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 31 87 00 00 35 04 06 00 FD 06 F7 38 98 1C E0 3B C1 FA C0 1C 40 13 [13:38:35]CheckFolder [13:38:35]dirname=/storage/ofd_packets [13:38:35]CheckFolder done [13:38:35]ProducePacketName [13:38:35]name=ofd_packets/00034609 [13:38:35]NVStorageSaveData ofd_packets/00034609 [13:38:35]File name is /storage/ofd_packets/00034609 [13:38:35]Write 301 bytes [13:38:35]NVStorageSaveData done [13:38:35]OFDSenderStorePacket done [13:38:35]KKMCreateOFDPacket done [13:38:35]NVStorageSaveData kkm_last_timestamp [13:38:35]File name is /storage/kkm_last_timestamp [13:38:35]Write 4 bytes [13:38:35]NVStorageSaveData done [13:38:35]ExternCall_PrintAddStr [13:38:35]wPrintStart [13:38:35]Write to MH i2c: 01 00 00 D7 19 F0 [13:38:35]Write i2c OK [13:38:35]MH_I2C_Read... [13:38:35]Read from MH i2c: 01 [13:38:35]MH_I2C_Read... [13:38:35]Read from MH i2c: 01 07 00 [13:38:35]MH_I2C_Read... [13:38:35]Read from MH i2c: 01 07 00 D7 19 00 00 00 00 00 FF 0F 05 [13:38:35]RasterBufferAndPrint [13:38:35]line Счет N : (1)673924 [13:38:35]line ИНН: 02508201610067 [13:38:35]line Контрольно-Кассовый Чек [13:38:35]line ПРОДАЖА [13:38:35]line ТРК (МРК, ГНК) : 32 [13:38:35]line Товар: 2710124130 [13:38:35]line Аи-92-К-5 [13:38:35]line 30.130 * 66.40 [13:38:35]line = 2000.63 [13:38:35]line НДС 12% НСП 1% [13:38:35]line > о реализуемом товаре [13:38:35]line ИТОГО: 2000.63 [13:38:35]line НСП 1% : 17.70 [13:38:35]line НДС 12% : 212.46 [13:38:35]line Наличными: 0.00 [13:38:35]line Безнал.: 2000.63 [13:38:35]line Место: АЗС № 120 "Партнер Нефть" [13:38:35]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [13:38:35]line СНО: Общий режим [13:38:35]line Чек 35 22.06.2024 13:38 [13:38:35]line Смена: 327 ФФД: 1.0 [13:38:35]line ЗНМ: 0300000172 [13:38:35]line РНМ: 0000000000092786 [13:38:35]line Версия ККМ: 001 [13:38:35]line Платежная система: Бакай Банк [13:38:35]line ФМ: 0000000000875095 [13:38:35]line ФД: 34609 [13:38:35]line ФПД: 278206359312412 [13:38:35]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T133839&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34609&fm=278206359312412&tin=02508201610067®Number=0000000000092786&sum=200063 [13:38:35]OFD Sender: Processing packet 34609 [packets to send 8, broken 7] [13:38:35]ProducePacketName [13:38:35]name=ofd_packets/00034609 [13:38:35]OFD Sender: To server: pG, [13:38:35]CommunicateWithHost lk.salyk.kg:30040 [13:38:35]ConnectInit lk.salyk.kg [13:38:35]written 0, free lines is 4095 [13:38:35]Connected sock=10 [13:38:35]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0F 01 00 00 42 30 07 01 3E 3C 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 B2 75 00 00 00 00 00 37 04 06 00 F0 19 00 00 00 00 13 04 06 00 7F 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7F 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FE 52 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 7F 0D 03 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 DF D3 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 31 87 00 00 35 04 06 00 FD 06 F7 38 98 1C E0 3B C1 FA C0 1C 40 13 [13:38:36]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 88 66 47 00 CD 37 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 31 87 00 00 F4 03 04 00 A2 7A 76 66 B6 04 01 00 00 04 96 8F 6B A9 04 95 8D [13:38:36]CommunicateWithHost err = 0 [13:38:36]CheckOFDResponse [13:38:36]1017 (14) - 77093643461234 [13:38:36]1041 (16) - 0000000000875095 [13:38:36]1040 (4) - 34609 [13:38:36]1012 (4) - 22.06.2024 07:17 [13:38:36]1206 (1) - 0 [13:38:36]OFD Sender: Remove packet 34609 [13:38:36]ProducePacketName [13:38:36]name=ofd_packets/00034609 [13:38:36]NVStorageDeleteData [13:38:36]Write to MH i2c: 01 00 00 01 1A 1B [13:38:36]Write i2c OK [13:38:36]MH_I2C_Read... [13:38:36]Read from MH i2c: 01 [13:38:36]MH_I2C_Read... [13:38:36]Read from MH i2c: 01 07 00 [13:38:36]MH_I2C_Read... [13:38:36]Read from MH i2c: 01 07 00 01 1A 00 00 00 00 00 F2 0C 20 [13:38:36]RasterBufferAndPrint [13:38:36]line [13:38:36]line [13:38:36]line [13:38:36]line [13:38:36]line [13:38:36]written 0, free lines is 3320 [13:38:36]MH_Cut [13:38:36]Write to MH i2c: D1 01 00 08 1A 01 F4 [13:38:36]Write i2c OK [13:38:36]MH_I2C_Read... [13:38:36]Read from MH i2c: D1 [13:38:36]MH_I2C_Read... [13:38:36]Read from MH i2c: D1 01 00 [13:38:36]MH_I2C_Read... [13:38:36]Read from MH i2c: D1 01 00 08 1A 00 F3 [13:38:36]Write to MH i2c: 01 00 00 09 1A 23 [13:38:36]Write i2c OK [13:38:36]MH_I2C_Read... [13:38:36]OFD Sender: No OFD packet to send [13:38:36]*** Cut start [13:38:36]*** Partial cut [13:38:36]*** CUTSNS_PIN = 1 [13:38:36]*** CUTSNS_PIN = 0 [13:38:37]*** Brake cut motor [13:38:37]Read from MH i2c: 01 [13:38:37]MH_I2C_Read... [13:38:37]*** Stop cut motor [13:38:37]*** Cut end [13:38:37]Read from MH i2c: 01 07 00 [13:38:37]MH_I2C_Read... [13:38:37]Read from MH i2c: 01 07 00 09 1A 00 00 00 00 00 FF 0F 38 [13:38:37]process_action close_receipt done [13:38:37]requested_data is exist [13:38:37]produce_requested_data [13:38:37]requested_item fm.sn is exist - process it [13:38:37]wFMCommunicate request_size=4 [13:38:37]MH_SAM_APDU [13:38:37]CAPDU: 80 11 00 00 [13:38:37]Write to MH i2c: E2 08 00 0A 1A 80 11 00 00 00 00 00 00 9E [13:38:37]Write i2c OK [13:38:37]MH_I2C_Read... [13:38:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:38:37]Read from MH i2c: E2 [13:38:37]MH_I2C_Read... [13:38:37]Read from MH i2c: E2 17 00 [13:38:37]MH_I2C_Read... [13:38:37]Read from MH i2c: E2 17 00 0A 1A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 F3 [13:38:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [13:38:37]wFMCommunicate OK [13:38:37]requested_item fd.num is exist - process it [13:38:37]SAM_PROTO_GetFieldsCounters [13:38:37]wFMCommunicate request_size=4 [13:38:37]MH_SAM_APDU [13:38:37]CAPDU: 80 13 00 00 [13:38:37]Write to MH i2c: E2 08 00 0B 1A 80 13 00 00 00 00 00 00 A1 [13:38:37]Write i2c OK [13:38:37]MH_I2C_Read... [13:38:37]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:38:37]Read from MH i2c: E2 [13:38:37]MH_I2C_Read... [13:38:37]Read from MH i2c: E2 62 00 [13:38:37]MH_I2C_Read... [13:38:37]Read from MH i2c: E2 62 00 0B 1A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 31 87 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 34 [13:38:37]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 31 87 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 [13:38:37]wFMCommunicate OK [13:38:37]SAM_PROTO_GetFieldsCounters done [13:38:37]requested_item shift.num is exist - process it [13:38:37]requested_item shift.opened is exist - process it [13:38:37]req_shift_opened [13:38:37]FM_GetShiftState [13:38:37]SAM_PROTO_GetShiftState [13:38:37]wFMCommunicate request_size=4 [13:38:37]MH_SAM_APDU [13:38:37]CAPDU: 80 13 01 00 [13:38:37]Write to MH i2c: E2 08 00 0C 1A 80 13 01 00 00 00 00 00 A3 [13:38:37]Write i2c OK [13:38:37]MH_I2C_Read... [13:38:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:38:37]Read from MH i2c: E2 [13:38:37]MH_I2C_Read... [13:38:37]Read from MH i2c: E2 0E 00 [13:38:37]MH_I2C_Read... [13:38:37]Read from MH i2c: E2 0E 00 0C 1A 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 5D [13:38:37]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [13:38:37]wFMCommunicate OK [13:38:37]SAM_PROTO_GetShiftState done [13:38:37]FM_GetShiftState done [13:38:37]req_shift_opened done [13:38:37]requested_item shift.open_date is exist - process it [13:38:37]req_shift_open_date [13:38:37]req_shift_open_date done [13:38:37]produce_requested_data done [13:38:37]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34609,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120} [13:38:37]process_action_free close_receipt [13:38:37]json_value_free [13:38:37]json_value_free done [13:38:37]process_json_proto returns [13:38:37]Send response to host [13:38:37]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34609,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120}}} [13:38:37]free response buf [13:38:37]execute_script done [13:38:37]execute_script returns [13:38:37]free content buf [13:38:37]Sock 7.Close socket [13:38:37]Sock 7.Thread stoped [13:38:41]OFD Sender: No OFD packet to send [13:38:46]OFD Sender: No OFD packet to send [13:38:51]OFD Sender: No OFD packet to send [13:38:56]OFD Sender: No OFD packet to send [13:39:01]OFD Sender: No OFD packet to send [13:39:06]OFD Sender: No OFD packet to send [13:39:11]OFD Sender: No OFD packet to send [13:39:16]OFD Sender: No OFD packet to send [13:39:21]OFD Sender: No OFD packet to send [13:39:26]OFD Sender: No OFD packet to send [13:39:31]OFD Sender: No OFD packet to send [13:39:36]OFD Sender: No OFD packet to send [13:39:41]OFD Sender: No OFD packet to send [13:39:46]OFD Sender: No OFD packet to send [13:39:51]OFD Sender: No OFD packet to send [13:39:56]OFD Sender: No OFD packet to send [13:40:01]OFD Sender: No OFD packet to send [13:40:06]OFD Sender: No OFD packet to send [13:40:11]OFD Sender: No OFD packet to send [13:40:16]OFD Sender: No OFD packet to send [13:40:21]OFD Sender: No OFD packet to send [13:40:26]OFD Sender: No OFD packet to send [13:40:31]OFD Sender: No OFD packet to send [13:40:36]OFD Sender: No OFD packet to send [13:40:41]OFD Sender: No OFD packet to send [13:40:46]OFD Sender: No OFD packet to send [13:40:51]OFD Sender: No OFD packet to send [13:40:56]OFD Sender: No OFD packet to send [13:41:01]OFD Sender: No OFD packet to send [13:41:06]OFD Sender: No OFD packet to send [13:41:11]OFD Sender: No OFD packet to send [13:41:16]OFD Sender: No OFD packet to send [13:41:21]OFD Sender: No OFD packet to send [13:41:26]OFD Sender: No OFD packet to send [13:41:31]OFD Sender: No OFD packet to send [13:41:36]OFD Sender: No OFD packet to send [13:41:41]OFD Sender: No OFD packet to send [13:41:46]OFD Sender: No OFD packet to send [13:41:51]OFD Sender: No OFD packet to send [13:41:56]OFD Sender: No OFD packet to send [13:42:01]OFD Sender: No OFD packet to send [13:42:06]OFD Sender: No OFD packet to send [13:42:11]OFD Sender: No OFD packet to send [13:42:16]OFD Sender: No OFD packet to send [13:42:21]OFD Sender: No OFD packet to send [13:42:26]OFD Sender: No OFD packet to send [13:42:31]OFD Sender: No OFD packet to send [13:42:36]OFD Sender: No OFD packet to send [13:42:41]OFD Sender: No OFD packet to send [13:42:46]OFD Sender: No OFD packet to send [13:42:51]OFD Sender: No OFD packet to send [13:42:56]OFD Sender: No OFD packet to send [13:43:01]OFD Sender: No OFD packet to send [13:43:06]OFD Sender: No OFD packet to send [13:43:11]OFD Sender: No OFD packet to send [13:43:16]OFD Sender: No OFD packet to send [13:43:21]OFD Sender: No OFD packet to send [13:43:26]OFD Sender: No OFD packet to send [13:43:31]OFD Sender: No OFD packet to send [13:43:36]OFD Sender: No OFD packet to send [13:43:41]OFD Sender: No OFD packet to send [13:43:46]OFD Sender: No OFD packet to send [13:43:51]OFD Sender: No OFD packet to send [13:43:56]OFD Sender: No OFD packet to send [13:44:01]OFD Sender: No OFD packet to send [13:44:06]OFD Sender: No OFD packet to send [13:44:11]OFD Sender: No OFD packet to send [13:44:16]OFD Sender: No OFD packet to send [13:44:21]OFD Sender: No OFD packet to send [13:44:26]OFD Sender: No OFD packet to send [13:44:31]OFD Sender: No OFD packet to send [13:44:36]OFD Sender: No OFD packet to send [13:44:41]OFD Sender: No OFD packet to send [13:44:46]OFD Sender: No OFD packet to send [13:44:51]OFD Sender: No OFD packet to send [13:44:56]OFD Sender: No OFD packet to send [13:45:01]OFD Sender: No OFD packet to send [13:45:06]OFD Sender: No OFD packet to send [13:45:11]OFD Sender: No OFD packet to send [13:45:16]OFD Sender: No OFD packet to send [13:45:21]OFD Sender: No OFD packet to send [13:45:26]OFD Sender: No OFD packet to send [13:45:31]OFD Sender: No OFD packet to send [13:45:36]OFD Sender: No OFD packet to send [13:45:41]OFD Sender: No OFD packet to send [13:45:46]OFD Sender: No OFD packet to send [13:45:51]OFD Sender: No OFD packet to send [13:45:56]OFD Sender: No OFD packet to send [13:46:01]OFD Sender: No OFD packet to send [13:46:06]OFD Sender: No OFD packet to send [13:46:11]OFD Sender: No OFD packet to send [13:46:16]OFD Sender: No OFD packet to send [13:46:21]OFD Sender: No OFD packet to send [13:46:26]OFD Sender: No OFD packet to send [13:46:31]OFD Sender: No OFD packet to send [13:46:36]OFD Sender: No OFD packet to send [13:46:41]OFD Sender: No OFD packet to send [13:46:46]OFD Sender: No OFD packet to send [13:46:51]OFD Sender: No OFD packet to send [13:46:56]OFD Sender: No OFD packet to send [13:47:01]OFD Sender: No OFD packet to send [13:47:06]OFD Sender: No OFD packet to send [13:47:11]OFD Sender: No OFD packet to send [13:47:16]OFD Sender: No OFD packet to send [13:47:21]OFD Sender: No OFD packet to send [13:47:26]OFD Sender: No OFD packet to send [13:47:31]OFD Sender: No OFD packet to send [13:47:36]OFD Sender: No OFD packet to send [13:47:41]OFD Sender: No OFD packet to send [13:47:46]OFD Sender: No OFD packet to send [13:47:51]OFD Sender: No OFD packet to send [13:47:56]OFD Sender: No OFD packet to send [13:48:01]OFD Sender: No OFD packet to send [13:48:06]OFD Sender: No OFD packet to send [13:48:11]OFD Sender: No OFD packet to send [13:48:16]OFD Sender: No OFD packet to send [13:48:21]OFD Sender: No OFD packet to send [13:48:26]OFD Sender: No OFD packet to send [13:48:31]OFD Sender: No OFD packet to send [13:48:36]OFD Sender: No OFD packet to send [13:48:41]OFD Sender: No OFD packet to send [13:48:46]OFD Sender: No OFD packet to send [13:48:51]OFD Sender: No OFD packet to send [13:48:57]OFD Sender: No OFD packet to send [13:49:02]OFD Sender: No OFD packet to send [13:49:07]OFD Sender: No OFD packet to send [13:49:12]OFD Sender: No OFD packet to send [13:49:17]OFD Sender: No OFD packet to send [13:49:22]OFD Sender: No OFD packet to send [13:49:27]OFD Sender: No OFD packet to send [13:49:32]OFD Sender: No OFD packet to send [13:49:37]OFD Sender: No OFD packet to send [13:49:42]OFD Sender: No OFD packet to send [13:49:47]OFD Sender: No OFD packet to send [13:49:52]OFD Sender: No OFD packet to send [13:49:57]OFD Sender: No OFD packet to send [13:50:02]OFD Sender: No OFD packet to send [13:50:07]OFD Sender: No OFD packet to send [13:50:12]OFD Sender: No OFD packet to send [13:50:17]OFD Sender: No OFD packet to send [13:50:22]OFD Sender: No OFD packet to send [13:50:27]OFD Sender: No OFD packet to send [13:50:32]OFD Sender: No OFD packet to send [13:50:37]OFD Sender: No OFD packet to send [13:50:42]OFD Sender: No OFD packet to send [13:50:47]OFD Sender: No OFD packet to send [13:50:52]OFD Sender: No OFD packet to send [13:50:57]OFD Sender: No OFD packet to send [13:51:02]OFD Sender: No OFD packet to send [13:51:07]OFD Sender: No OFD packet to send [13:51:12]OFD Sender: No OFD packet to send [13:51:17]OFD Sender: No OFD packet to send [13:51:22]OFD Sender: No OFD packet to send [13:51:27]OFD Sender: No OFD packet to send [13:51:32]OFD Sender: No OFD packet to send [13:51:37]OFD Sender: No OFD packet to send [13:51:42]OFD Sender: No OFD packet to send [13:51:47]OFD Sender: No OFD packet to send [13:51:52]OFD Sender: No OFD packet to send [13:51:57]OFD Sender: No OFD packet to send [13:52:02]OFD Sender: No OFD packet to send [13:52:07]OFD Sender: No OFD packet to send [13:52:12]OFD Sender: No OFD packet to send [13:52:17]OFD Sender: No OFD packet to send [13:52:22]OFD Sender: No OFD packet to send [13:52:27]OFD Sender: No OFD packet to send [13:52:32]OFD Sender: No OFD packet to send [13:52:37]OFD Sender: No OFD packet to send [13:52:42]OFD Sender: No OFD packet to send [13:52:47]OFD Sender: No OFD packet to send [13:52:52]OFD Sender: No OFD packet to send [13:52:57]OFD Sender: No OFD packet to send [13:53:02]OFD Sender: No OFD packet to send [13:53:07]OFD Sender: No OFD packet to send [13:53:12]OFD Sender: No OFD packet to send [13:53:17]OFD Sender: No OFD packet to send [13:53:22]OFD Sender: No OFD packet to send [13:53:27]OFD Sender: No OFD packet to send [13:53:32]OFD Sender: No OFD packet to send [13:53:37]OFD Sender: No OFD packet to send [13:53:42]OFD Sender: No OFD packet to send [13:53:47]OFD Sender: No OFD packet to send [13:53:52]OFD Sender: No OFD packet to send [13:53:57]OFD Sender: No OFD packet to send [13:54:02]OFD Sender: No OFD packet to send [13:54:07]OFD Sender: No OFD packet to send [13:54:12]OFD Sender: No OFD packet to send [13:54:17]OFD Sender: No OFD packet to send [13:54:22]OFD Sender: No OFD packet to send [13:54:27]OFD Sender: No OFD packet to send [13:54:32]OFD Sender: No OFD packet to send [13:54:37]OFD Sender: No OFD packet to send [13:54:42]OFD Sender: No OFD packet to send [13:54:47]OFD Sender: No OFD packet to send [13:54:52]OFD Sender: No OFD packet to send [13:54:57]OFD Sender: No OFD packet to send [13:55:02]OFD Sender: No OFD packet to send [13:55:07]OFD Sender: No OFD packet to send [13:55:12]OFD Sender: No OFD packet to send [13:55:17]OFD Sender: No OFD packet to send [13:55:22]OFD Sender: No OFD packet to send [13:55:27]OFD Sender: No OFD packet to send [13:55:32]OFD Sender: No OFD packet to send [13:55:37]OFD Sender: No OFD packet to send [13:55:42]OFD Sender: No OFD packet to send [13:55:47]OFD Sender: No OFD packet to send [13:55:52]OFD Sender: No OFD packet to send [13:55:57]OFD Sender: No OFD packet to send [13:56:02]OFD Sender: No OFD packet to send [13:56:07]OFD Sender: No OFD packet to send [13:56:12]OFD Sender: No OFD packet to send [13:56:17]OFD Sender: No OFD packet to send [13:56:22]OFD Sender: No OFD packet to send [13:56:27]OFD Sender: No OFD packet to send [13:56:32]OFD Sender: No OFD packet to send [13:56:37]OFD Sender: No OFD packet to send [13:56:42]OFD Sender: No OFD packet to send [13:56:47]OFD Sender: No OFD packet to send [13:56:52]OFD Sender: No OFD packet to send [13:56:57]OFD Sender: No OFD packet to send [13:57:02]OFD Sender: No OFD packet to send [13:57:07]OFD Sender: No OFD packet to send [13:57:12]OFD Sender: No OFD packet to send [13:57:17]OFD Sender: No OFD packet to send [13:57:22]OFD Sender: No OFD packet to send [13:57:27]OFD Sender: No OFD packet to send [13:57:32]OFD Sender: No OFD packet to send [13:57:37]OFD Sender: No OFD packet to send [13:57:42]OFD Sender: No OFD packet to send [13:57:47]OFD Sender: No OFD packet to send [13:57:52]OFD Sender: No OFD packet to send [13:57:57]OFD Sender: No OFD packet to send [13:58:02]OFD Sender: No OFD packet to send [13:58:07]OFD Sender: No OFD packet to send [13:58:12]OFD Sender: No OFD packet to send [13:58:17]OFD Sender: No OFD packet to send [13:58:22]OFD Sender: No OFD packet to send [13:58:27]OFD Sender: No OFD packet to send [13:58:32]OFD Sender: No OFD packet to send [13:58:37]OFD Sender: No OFD packet to send [13:58:42]OFD Sender: No OFD packet to send [13:58:47]OFD Sender: No OFD packet to send [13:58:52]OFD Sender: No OFD packet to send [13:58:57]OFD Sender: No OFD packet to send [13:59:02]OFD Sender: No OFD packet to send [13:59:07]OFD Sender: No OFD packet to send [13:59:12]OFD Sender: No OFD packet to send [13:59:17]OFD Sender: No OFD packet to send [13:59:22]OFD Sender: No OFD packet to send [13:59:27]OFD Sender: No OFD packet to send [13:59:32]OFD Sender: No OFD packet to send [13:59:37]OFD Sender: No OFD packet to send [13:59:42]OFD Sender: No OFD packet to send [13:59:47]OFD Sender: No OFD packet to send [13:59:52]OFD Sender: No OFD packet to send [13:59:57]OFD Sender: No OFD packet to send [14:00:02]OFD Sender: No OFD packet to send [14:00:07]OFD Sender: No OFD packet to send [14:00:12]OFD Sender: No OFD packet to send [14:00:17]OFD Sender: No OFD packet to send [14:00:22]OFD Sender: No OFD packet to send [14:00:27]OFD Sender: No OFD packet to send [14:00:32]OFD Sender: No OFD packet to send [14:00:37]OFD Sender: No OFD packet to send [14:00:42]OFD Sender: No OFD packet to send [14:00:47]OFD Sender: No OFD packet to send [14:00:52]OFD Sender: No OFD packet to send [14:00:57]OFD Sender: No OFD packet to send [14:01:02]OFD Sender: No OFD packet to send [14:01:07]OFD Sender: No OFD packet to send [14:01:12]OFD Sender: No OFD packet to send [14:01:17]OFD Sender: No OFD packet to send [14:01:22]OFD Sender: No OFD packet to send [14:01:27]OFD Sender: No OFD packet to send [14:01:32]OFD Sender: No OFD packet to send [14:01:37]OFD Sender: No OFD packet to send [14:01:42]OFD Sender: No OFD packet to send [14:01:47]OFD Sender: No OFD packet to send [14:01:52]OFD Sender: No OFD packet to send [14:01:57]OFD Sender: No OFD packet to send [14:02:02]OFD Sender: No OFD packet to send [14:02:07]OFD Sender: No OFD packet to send [14:02:12]OFD Sender: No OFD packet to send [14:02:17]OFD Sender: No OFD packet to send [14:02:22]OFD Sender: No OFD packet to send [14:02:27]OFD Sender: No OFD packet to send [14:02:32]OFD Sender: No OFD packet to send [14:02:37]OFD Sender: No OFD packet to send [14:02:42]OFD Sender: No OFD packet to send [14:02:47]OFD Sender: No OFD packet to send [14:02:52]OFD Sender: No OFD packet to send [14:02:57]OFD Sender: No OFD packet to send [14:03:02]OFD Sender: No OFD packet to send [14:03:07]OFD Sender: No OFD packet to send [14:03:12]OFD Sender: No OFD packet to send [14:03:17]OFD Sender: No OFD packet to send [14:03:22]OFD Sender: No OFD packet to send [14:03:27]OFD Sender: No OFD packet to send [14:03:32]OFD Sender: No OFD packet to send [14:03:37]OFD Sender: No OFD packet to send [14:03:42]OFD Sender: No OFD packet to send [14:03:47]OFD Sender: No OFD packet to send [14:03:52]OFD Sender: No OFD packet to send [14:03:57]OFD Sender: No OFD packet to send [14:04:02]OFD Sender: No OFD packet to send [14:04:07]OFD Sender: No OFD packet to send [14:04:12]OFD Sender: No OFD packet to send [14:04:17]OFD Sender: No OFD packet to send [14:04:22]OFD Sender: No OFD packet to send [14:04:27]OFD Sender: No OFD packet to send [14:04:32]OFD Sender: No OFD packet to send [14:04:37]OFD Sender: No OFD packet to send [14:04:42]OFD Sender: No OFD packet to send [14:04:47]OFD Sender: No OFD packet to send [14:04:52]OFD Sender: No OFD packet to send [14:04:57]OFD Sender: No OFD packet to send [14:05:02]OFD Sender: No OFD packet to send [14:05:07]OFD Sender: No OFD packet to send [14:05:12]OFD Sender: No OFD packet to send [14:05:17]OFD Sender: No OFD packet to send [14:05:22]OFD Sender: No OFD packet to send [14:05:27]OFD Sender: No OFD packet to send [14:05:32]OFD Sender: No OFD packet to send [14:05:37]OFD Sender: No OFD packet to send [14:05:42]OFD Sender: No OFD packet to send [14:05:47]OFD Sender: No OFD packet to send [14:05:52]OFD Sender: No OFD packet to send [14:05:57]OFD Sender: No OFD packet to send [14:06:02]OFD Sender: No OFD packet to send [14:06:07]OFD Sender: No OFD packet to send [14:06:12]OFD Sender: No OFD packet to send [14:06:17]OFD Sender: No OFD packet to send [14:06:22]OFD Sender: No OFD packet to send [14:06:27]OFD Sender: No OFD packet to send [14:06:32]OFD Sender: No OFD packet to send [14:06:37]OFD Sender: No OFD packet to send [14:06:42]OFD Sender: No OFD packet to send [14:06:47]OFD Sender: No OFD packet to send [14:06:52]OFD Sender: No OFD packet to send [14:06:57]OFD Sender: No OFD packet to send [14:07:02]OFD Sender: No OFD packet to send [14:07:07]OFD Sender: No OFD packet to send [14:07:12]OFD Sender: No OFD packet to send [14:07:17]OFD Sender: No OFD packet to send [14:07:22]OFD Sender: No OFD packet to send [14:07:27]OFD Sender: No OFD packet to send [14:07:32]OFD Sender: No OFD packet to send [14:07:37]OFD Sender: No OFD packet to send [14:07:42]OFD Sender: No OFD packet to send [14:07:47]OFD Sender: No OFD packet to send [14:07:52]OFD Sender: No OFD packet to send [14:07:57]OFD Sender: No OFD packet to send [14:08:02]OFD Sender: No OFD packet to send [14:08:07]OFD Sender: No OFD packet to send [14:08:12]OFD Sender: No OFD packet to send [14:08:17]OFD Sender: No OFD packet to send [14:08:22]OFD Sender: No OFD packet to send [14:08:27]OFD Sender: No OFD packet to send [14:08:32]OFD Sender: No OFD packet to send [14:08:37]OFD Sender: No OFD packet to send [14:08:42]OFD Sender: No OFD packet to send [14:08:47]OFD Sender: No OFD packet to send [14:08:52]OFD Sender: No OFD packet to send [14:08:57]OFD Sender: No OFD packet to send [14:09:02]OFD Sender: No OFD packet to send [14:09:07]OFD Sender: No OFD packet to send [14:09:12]OFD Sender: No OFD packet to send [14:09:17]OFD Sender: No OFD packet to send [14:09:22]OFD Sender: No OFD packet to send [14:09:27]OFD Sender: No OFD packet to send [14:09:32]OFD Sender: No OFD packet to send [14:09:37]OFD Sender: No OFD packet to send [14:09:42]OFD Sender: No OFD packet to send [14:09:47]OFD Sender: No OFD packet to send [14:09:52]OFD Sender: No OFD packet to send [14:09:57]OFD Sender: No OFD packet to send [14:10:02]OFD Sender: No OFD packet to send [14:10:07]OFD Sender: No OFD packet to send [14:10:12]OFD Sender: No OFD packet to send [14:10:18]OFD Sender: No OFD packet to send [14:10:23]OFD Sender: No OFD packet to send [14:10:28]OFD Sender: No OFD packet to send [14:10:33]OFD Sender: No OFD packet to send [14:10:38]OFD Sender: No OFD packet to send [14:10:43]OFD Sender: No OFD packet to send [14:10:48]OFD Sender: No OFD packet to send [14:10:53]OFD Sender: No OFD packet to send [14:10:58]OFD Sender: No OFD packet to send [14:11:03]OFD Sender: No OFD packet to send [14:11:08]OFD Sender: No OFD packet to send [14:11:13]OFD Sender: No OFD packet to send [14:11:18]OFD Sender: No OFD packet to send [14:11:23]OFD Sender: No OFD packet to send [14:11:28]OFD Sender: No OFD packet to send [14:11:33]OFD Sender: No OFD packet to send [14:11:38]OFD Sender: No OFD packet to send [14:11:43]OFD Sender: No OFD packet to send [14:11:48]OFD Sender: No OFD packet to send [14:11:53]OFD Sender: No OFD packet to send [14:11:58]OFD Sender: No OFD packet to send [14:12:03]OFD Sender: No OFD packet to send [14:12:08]OFD Sender: No OFD packet to send [14:12:13]OFD Sender: No OFD packet to send [14:12:18]OFD Sender: No OFD packet to send [14:12:23]OFD Sender: No OFD packet to send [14:12:28]OFD Sender: No OFD packet to send [14:12:33]OFD Sender: No OFD packet to send [14:12:38]OFD Sender: No OFD packet to send [14:12:43]OFD Sender: No OFD packet to send [14:12:48]OFD Sender: No OFD packet to send [14:12:53]OFD Sender: No OFD packet to send [14:12:58]OFD Sender: No OFD packet to send [14:13:03]OFD Sender: No OFD packet to send [14:13:08]OFD Sender: No OFD packet to send [14:13:13]OFD Sender: No OFD packet to send [14:13:18]OFD Sender: No OFD packet to send [14:13:23]OFD Sender: No OFD packet to send [14:13:28]OFD Sender: No OFD packet to send [14:13:33]OFD Sender: No OFD packet to send [14:13:38]OFD Sender: No OFD packet to send [14:13:43]OFD Sender: No OFD packet to send [14:13:48]OFD Sender: No OFD packet to send [14:13:53]OFD Sender: No OFD packet to send [14:13:58]OFD Sender: No OFD packet to send [14:14:03]OFD Sender: No OFD packet to send [14:14:08]OFD Sender: No OFD packet to send [14:14:13]OFD Sender: No OFD packet to send [14:14:18]OFD Sender: No OFD packet to send [14:14:23]OFD Sender: No OFD packet to send [14:14:28]OFD Sender: No OFD packet to send [14:14:33]OFD Sender: No OFD packet to send [14:14:38]OFD Sender: No OFD packet to send [14:14:43]OFD Sender: No OFD packet to send [14:14:48]OFD Sender: No OFD packet to send [14:14:53]OFD Sender: No OFD packet to send [14:14:58]OFD Sender: No OFD packet to send [14:15:03]OFD Sender: No OFD packet to send [14:15:08]OFD Sender: No OFD packet to send [14:15:13]OFD Sender: No OFD packet to send [14:15:18]OFD Sender: No OFD packet to send [14:15:23]OFD Sender: No OFD packet to send [14:15:28]OFD Sender: No OFD packet to send [14:15:33]OFD Sender: No OFD packet to send [14:15:38]OFD Sender: No OFD packet to send [14:15:43]OFD Sender: No OFD packet to send [14:15:48]OFD Sender: No OFD packet to send [14:15:53]OFD Sender: No OFD packet to send [14:15:58]OFD Sender: No OFD packet to send [14:16:03]OFD Sender: No OFD packet to send [14:16:08]OFD Sender: No OFD packet to send [14:16:13]OFD Sender: No OFD packet to send [14:16:18]OFD Sender: No OFD packet to send [14:16:23]OFD Sender: No OFD packet to send [14:16:28]OFD Sender: No OFD packet to send [14:16:33]OFD Sender: No OFD packet to send [14:16:38]OFD Sender: No OFD packet to send [14:16:43]OFD Sender: No OFD packet to send [14:16:48]OFD Sender: No OFD packet to send [14:16:53]OFD Sender: No OFD packet to send [14:16:58]OFD Sender: No OFD packet to send [14:17:03]OFD Sender: No OFD packet to send [14:17:08]OFD Sender: No OFD packet to send [14:17:13]OFD Sender: No OFD packet to send [14:17:18]OFD Sender: No OFD packet to send [14:17:23]OFD Sender: No OFD packet to send [14:17:28]OFD Sender: No OFD packet to send [14:17:33]OFD Sender: No OFD packet to send [14:17:38]OFD Sender: No OFD packet to send [14:17:43]OFD Sender: No OFD packet to send [14:17:48]OFD Sender: No OFD packet to send [14:17:53]OFD Sender: No OFD packet to send [14:17:58]OFD Sender: No OFD packet to send [14:18:03]OFD Sender: No OFD packet to send [14:18:08]OFD Sender: No OFD packet to send [14:18:13]OFD Sender: No OFD packet to send [14:18:18]OFD Sender: No OFD packet to send [14:18:23]OFD Sender: No OFD packet to send [14:18:28]OFD Sender: No OFD packet to send [14:18:33]OFD Sender: No OFD packet to send [14:18:38]OFD Sender: No OFD packet to send [14:18:43]OFD Sender: No OFD packet to send [14:18:48]OFD Sender: No OFD packet to send [14:18:53]OFD Sender: No OFD packet to send [14:18:58]OFD Sender: No OFD packet to send [14:19:03]OFD Sender: No OFD packet to send [14:19:08]OFD Sender: No OFD packet to send [14:19:13]OFD Sender: No OFD packet to send [14:19:18]OFD Sender: No OFD packet to send [14:19:23]OFD Sender: No OFD packet to send [14:19:28]OFD Sender: No OFD packet to send [14:19:33]OFD Sender: No OFD packet to send [14:19:38]OFD Sender: No OFD packet to send [14:19:43]OFD Sender: No OFD packet to send [14:19:48]OFD Sender: No OFD packet to send [14:19:53]OFD Sender: No OFD packet to send [14:19:58]OFD Sender: No OFD packet to send [14:20:03]OFD Sender: No OFD packet to send [14:20:08]OFD Sender: No OFD packet to send [14:20:13]OFD Sender: No OFD packet to send [14:20:18]OFD Sender: No OFD packet to send [14:20:23]OFD Sender: No OFD packet to send [14:20:28]OFD Sender: No OFD packet to send [14:20:33]OFD Sender: No OFD packet to send [14:20:38]OFD Sender: No OFD packet to send [14:20:43]OFD Sender: No OFD packet to send [14:20:48]OFD Sender: No OFD packet to send [14:20:53]OFD Sender: No OFD packet to send [14:20:58]OFD Sender: No OFD packet to send [14:21:03]OFD Sender: No OFD packet to send [14:21:08]OFD Sender: No OFD packet to send [14:21:13]OFD Sender: No OFD packet to send [14:21:18]OFD Sender: No OFD packet to send [14:21:23]OFD Sender: No OFD packet to send [14:21:28]OFD Sender: No OFD packet to send [14:21:33]OFD Sender: No OFD packet to send [14:21:38]OFD Sender: No OFD packet to send [14:21:43]OFD Sender: No OFD packet to send [14:21:48]OFD Sender: No OFD packet to send [14:21:53]OFD Sender: No OFD packet to send [14:21:58]OFD Sender: No OFD packet to send [14:22:03]OFD Sender: No OFD packet to send [14:22:08]OFD Sender: No OFD packet to send [14:22:13]OFD Sender: No OFD packet to send [14:22:18]OFD Sender: No OFD packet to send [14:22:23]OFD Sender: No OFD packet to send [14:22:28]OFD Sender: No OFD packet to send [14:22:33]OFD Sender: No OFD packet to send [14:22:38]OFD Sender: No OFD packet to send [14:22:43]OFD Sender: No OFD packet to send [14:22:48]OFD Sender: No OFD packet to send [14:22:53]OFD Sender: No OFD packet to send [14:22:58]OFD Sender: No OFD packet to send [14:23:03]OFD Sender: No OFD packet to send [14:23:08]OFD Sender: No OFD packet to send [14:23:13]OFD Sender: No OFD packet to send [14:23:18]OFD Sender: No OFD packet to send [14:23:23]OFD Sender: No OFD packet to send [14:23:28]OFD Sender: No OFD packet to send [14:23:33]OFD Sender: No OFD packet to send [14:23:38]OFD Sender: No OFD packet to send [14:23:43]OFD Sender: No OFD packet to send [14:23:48]OFD Sender: No OFD packet to send [14:23:53]OFD Sender: No OFD packet to send [14:23:58]OFD Sender: No OFD packet to send [14:24:03]OFD Sender: No OFD packet to send [14:24:08]OFD Sender: No OFD packet to send [14:24:13]OFD Sender: No OFD packet to send [14:24:18]OFD Sender: No OFD packet to send [14:24:23]OFD Sender: No OFD packet to send [14:24:28]OFD Sender: No OFD packet to send [14:24:33]OFD Sender: No OFD packet to send [14:24:38]OFD Sender: No OFD packet to send [14:24:43]OFD Sender: No OFD packet to send [14:24:48]OFD Sender: No OFD packet to send [14:24:53]OFD Sender: No OFD packet to send [14:24:58]OFD Sender: No OFD packet to send [14:25:03]OFD Sender: No OFD packet to send [14:25:08]OFD Sender: No OFD packet to send [14:25:13]OFD Sender: No OFD packet to send [14:25:18]OFD Sender: No OFD packet to send [14:25:23]OFD Sender: No OFD packet to send [14:25:28]OFD Sender: No OFD packet to send [14:25:33]OFD Sender: No OFD packet to send [14:25:38]OFD Sender: No OFD packet to send [14:25:43]OFD Sender: No OFD packet to send [14:25:48]OFD Sender: No OFD packet to send [14:25:53]OFD Sender: No OFD packet to send [14:25:58]OFD Sender: No OFD packet to send [14:26:03]OFD Sender: No OFD packet to send [14:26:08]OFD Sender: No OFD packet to send [14:26:13]OFD Sender: No OFD packet to send [14:26:18]OFD Sender: No OFD packet to send [14:26:23]OFD Sender: No OFD packet to send [14:26:28]OFD Sender: No OFD packet to send [14:26:33]OFD Sender: No OFD packet to send [14:26:38]OFD Sender: No OFD packet to send [14:26:43]OFD Sender: No OFD packet to send [14:26:48]OFD Sender: No OFD packet to send [14:26:53]OFD Sender: No OFD packet to send [14:26:58]OFD Sender: No OFD packet to send [14:27:03]OFD Sender: No OFD packet to send [14:27:08]OFD Sender: No OFD packet to send [14:27:13]OFD Sender: No OFD packet to send [14:27:18]OFD Sender: No OFD packet to send [14:27:23]OFD Sender: No OFD packet to send [14:27:28]OFD Sender: No OFD packet to send [14:27:33]OFD Sender: No OFD packet to send [14:27:38]OFD Sender: No OFD packet to send [14:27:43]OFD Sender: No OFD packet to send [14:27:48]OFD Sender: No OFD packet to send [14:27:53]OFD Sender: No OFD packet to send [14:27:58]OFD Sender: No OFD packet to send [14:28:03]OFD Sender: No OFD packet to send [14:28:08]OFD Sender: No OFD packet to send [14:28:13]OFD Sender: No OFD packet to send [14:28:18]OFD Sender: No OFD packet to send [14:28:23]OFD Sender: No OFD packet to send [14:28:28]OFD Sender: No OFD packet to send [14:28:33]OFD Sender: No OFD packet to send [14:28:38]OFD Sender: No OFD packet to send [14:28:43]OFD Sender: No OFD packet to send [14:28:48]OFD Sender: No OFD packet to send [14:28:53]OFD Sender: No OFD packet to send [14:28:58]OFD Sender: No OFD packet to send [14:29:03]OFD Sender: No OFD packet to send [14:29:08]OFD Sender: No OFD packet to send [14:29:13]OFD Sender: No OFD packet to send [14:29:18]OFD Sender: No OFD packet to send [14:29:23]OFD Sender: No OFD packet to send [14:29:28]OFD Sender: No OFD packet to send [14:29:33]OFD Sender: No OFD packet to send [14:29:38]OFD Sender: No OFD packet to send [14:29:43]OFD Sender: No OFD packet to send [14:29:48]OFD Sender: No OFD packet to send [14:29:53]OFD Sender: No OFD packet to send [14:29:58]OFD Sender: No OFD packet to send [14:30:03]OFD Sender: No OFD packet to send [14:30:08]OFD Sender: No OFD packet to send [14:30:13]OFD Sender: No OFD packet to send [14:30:18]OFD Sender: No OFD packet to send [14:30:23]OFD Sender: No OFD packet to send [14:30:28]OFD Sender: No OFD packet to send [14:30:33]OFD Sender: No OFD packet to send [14:30:38]OFD Sender: No OFD packet to send [14:30:43]OFD Sender: No OFD packet to send [14:30:48]OFD Sender: No OFD packet to send [14:30:53]OFD Sender: No OFD packet to send [14:30:58]OFD Sender: No OFD packet to send [14:31:00]accept exits with 9 [14:31:00]New connection [14:31:00]New thread 3067616612 created [14:31:00]Thread 3067473252 joined [14:31:00]Waiting for new connection... [14:31:00] Sock 9.Parse request [14:31:00]Sock 9.Check first char [14:31:00]Sock 9.First char is OK [14:31:00]request: POST /json_proto HTTP/1.0 [14:31:00]Method: POST [14:31:00]URL: /json_proto [14:31:00]Method is POST - this is cgi request [14:31:00]url: /json_proto [14:31:00]query_string will be loaded in cgi processing [14:31:00]execute_cgi json_proto POST (null) [14:31:00]execute_cgi path=json_proto method=POST [14:31:00]POST find Content-Length [14:31:00]Host: 172.17.38.134:8080 [14:31:00]Content-Length: 1086 [14:31:00]Content-Type: application/json [14:31:00] [14:31:00]POST finish read [14:31:00]Found Content-Length = 1086 [14:31:00]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184366", "tax_sys" : 0, "items" : [ { "code": "46227720", "name": "\u0420/\u0436 mentos pure fresh \u0432\u0438\u043D\u043E\u0433\u0440\u0430\u0434 \u0440\u043E\u043B\u043B 15,5", "price" : 49.00, "quantity" : 1.000, "sum" : 49.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: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 89.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:31:00]execute_script... [14:31: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)184366", "tax_sys" : 0, "items" : [ { "code": "46227720", "name": "\u0420/\u0436 mentos pure fresh \u0432\u0438\u043D\u043E\u0433\u0440\u0430\u0434 \u0440\u043E\u043B\u043B 15,5", "price" : 49.00, "quantity" : 1.000, "sum" : 49.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: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 89.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:31:00]POST & json_proto [14:31:00]process_json_proto [14:31:00]json parsed OK: [14:31:00]protocol is kg_v1.0 [14:31:00]action value=close_receipt [14:31:00]process_action close_receipt [14:31:00]cmd_close_receipt [14:31:00]MH_GetDate [14:31:00]Write to MH i2c: F0 00 00 0D 1A 16 [14:31:00]Write i2c OK [14:31:00]MH_I2C_Read... [14:31:00]Read from MH i2c: F0 [14:31:00]MH_I2C_Read... [14:31:00]Read from MH i2c: F0 09 00 [14:31:00]MH_I2C_Read... [14:31:00]Read from MH i2c: F0 09 00 0D 1A 00 2A E0 76 66 13 9C 7C 64 94 [14:31:00]GetLastDocTimeStamp 1719063519 [14:31:00]current date 1719066666 [14:31:00]FM_GetShiftState [14:31:00]SAM_PROTO_GetShiftState [14:31:00]wFMCommunicate request_size=4 [14:31:00]MH_SAM_APDU [14:31:00]CAPDU: 80 13 01 00 [14:31:00]Write to MH i2c: E2 08 00 0E 1A 80 13 01 00 00 00 00 00 A5 [14:31:00]Write i2c OK [14:31:00]MH_I2C_Read... [14:31:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:31:00]Read from MH i2c: E2 [14:31:00]MH_I2C_Read... [14:31:00]Read from MH i2c: E2 0E 00 [14:31:00]MH_I2C_Read... [14:31:00]Read from MH i2c: E2 0E 00 0E 1A 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 5F [14:31:00]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [14:31:00]wFMCommunicate OK [14:31:00]SAM_PROTO_GetShiftState done [14:31:00]FM_GetShiftState done [14:31:00]opened in 1719016120 [14:31:00]opened+sec_in_day 1719102520 [14:31:00]quantity*price = 4900 [14:31:00]sum+1 = 4901 [14:31:00]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000160211 Вода Легенда 0,5л 1.000 * 40.00 = 40.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 89.00 НСП 1% : 0.78 НДС 12% : 9.45 Наличными: 0.00 Безнал.: 89.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 36 22.06.2024 14:31 Смена: 327 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 Платежная система: Бакай Банк ФМ: 0000000000875095 ФД: 34610 ФПД: 29047246706836 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T143106&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34610&fm=29047246706836&tin=02508201610067®Number=0000000000092786&sum=8900 0 [14:31:01]StoreToDocumentArchive [14:31:01]shift 327 fd 34610 [14:31:01]save to /storage/0327/doc_00034610 [14:31:01]save last doc name /storage/0327/doc_00034610 to /storage/kkm_last_doc_name [14:31:01]save OK [14:31:01]Clear old archive folders... [14:31:01]ProcessDocumentItem done err = 0, tmpTLVsize=392 [14:31:01]tlvbuf is 015A8090 [14:31:01]SAM_PROTO_ClearQueue [14:31:01]wFMCommunicate request_size=4 [14:31:01]MH_SAM_APDU [14:31:01]CAPDU: 80 09 00 00 [14:31:01]Write to MH i2c: E2 08 00 1B 1A 80 09 00 00 00 00 00 00 A7 [14:31:01]Write i2c OK [14:31:01]MH_I2C_Read... [14:31:01]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:31:01]Read from MH i2c: E2 [14:31:01]MH_I2C_Read... [14:31:01]Read from MH i2c: E2 03 00 [14:31:01]MH_I2C_Read... [14:31:01]Read from MH i2c: E2 03 00 1B 1A 00 90 00 A9 [14:31:01]RAPDU: 90 00 [14:31:01]wFMCommunicate OK [14:31:01]SAM_PROTO_ClearQueue done [14:31:01]KKMCreateOFDPacket [14:31:01]OFDProtocolAddRootSTLVToBuf [14:31:01]FM_MakeSignedData [14:31:01]FM_MakeSignedData [14:31:01]SAM_PROTO_SignData [14:31:01]wFMCommunicate request_size=4 [14:31:01]MH_SAM_APDU [14:31:01]CAPDU: 80 0D 01 02 [14:31:01]Write to MH i2c: E2 08 00 1C 1A 80 0D 01 02 00 00 00 00 AF [14:31:01]Write i2c OK [14:31:01]MH_I2C_Read... [14:31:01]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:31:01]Read from MH i2c: E2 [14:31:01]MH_I2C_Read... [14:31:01]Read from MH i2c: E2 03 00 [14:31:01]MH_I2C_Read... [14:31:01]Read from MH i2c: E2 03 00 1C 1A 00 90 00 AA [14:31:01]RAPDU: 90 00 [14:31:01]wFMCommunicate OK [14:31:01]wFMCommunicate request_size=255 [14:31:01]MH_SAM_APDU [14:31:01]CAPDU: 80 0D 02 02 FA 03 00 88 01 1E 04 01 00 01 23 04 75 00 8A 04 08 00 34 36 32 32 37 37 32 30 06 04 36 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 70 75 72 65 20 66 72 65 73 68 20 D0 B2 D0 B8 D0 BD D0 BE D0 B3 D1 80 D0 B0 D0 B4 20 D1 80 D0 BE D0 BB D0 BB 20 31 35 2C 35 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 C4 22 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 [14:31:01]Write to MH i2c: E2 02 01 1D 1A 80 0D 02 02 FA 00 03 00 88 01 1E 04 01 00 01 23 04 75 00 8A 04 08 00 34 36 32 32 37 37 32 30 06 04 36 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 70 75 72 65 20 66 72 65 73 68 20 D0 B2 D0 B8 D0 BD D0 BE D0 B3 D1 80 D0 B0 D0 B4 20 D1 80 D0 BE D0 BB D0 BB 20 31 35 2C 35 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 C4 22 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 00 00 ED [14:31:01]Write i2c OK [14:31:01]MH_I2C_Read... [14:31:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:31:02]Read from MH i2c: E2 [14:31:02]MH_I2C_Read... [14:31:02]Read from MH i2c: E2 03 00 [14:31:02]MH_I2C_Read... [14:31:02]Read from MH i2c: E2 03 00 1D 1A 00 90 00 AB [14:31:02]RAPDU: 90 00 [14:31:02]wFMCommunicate OK [14:31:02]wFMCommunicate request_size=151 [14:31:02]MH_SAM_APDU [14:31:02]CAPDU: 80 0D 02 02 92 03 01 00 01 F7 03 06 00 4E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B1 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C4 22 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 2A E0 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 32 87 00 00 35 04 06 00 1A 6B 16 D2 58 94 [14:31:02]Write to MH i2c: E2 9A 00 1E 1A 80 0D 02 02 92 00 03 01 00 01 F7 03 06 00 4E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B1 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C4 22 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 2A E0 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 32 87 00 00 35 04 06 00 1A 6B 16 D2 58 94 00 00 5D [14:31:02]Write i2c OK [14:31:02]MH_I2C_Read... [14:31:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:31:02]Read from MH i2c: E2 [14:31:02]MH_I2C_Read... [14:31:02]Read from MH i2c: E2 03 00 [14:31:02]MH_I2C_Read... [14:31:02]Read from MH i2c: E2 03 00 1E 1A 00 90 00 AC [14:31:02]RAPDU: 90 00 [14:31:02]wFMCommunicate OK [14:31:02]wFMCommunicate request_size=4 [14:31:02]MH_SAM_APDU [14:31:02]CAPDU: 80 0D 03 02 [14:31:02]Write to MH i2c: E2 08 00 1F 1A 80 0D 03 02 00 00 00 00 B4 [14:31:02]Write i2c OK [14:31:02]MH_I2C_Read... [14:31:02]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:31:02]Read from MH i2c: E2 [14:31:02]MH_I2C_Read... [14:31:02]Read from MH i2c: E2 0B 00 [14:31:02]MH_I2C_Read... [14:31:02]Read from MH i2c: E2 0B 00 1F 1A 00 0B 9C 23 08 71 05 B1 D9 90 00 87 [14:31:02]RAPDU: 0B 9C 23 08 71 05 B1 D9 90 00 [14:31:02]wFMCommunicate OK [14:31:02]SAM_PROTO_SignData done [14:31:02]FM_MakeSignedData done [14:31:02]CreateOFDProtocolMessage [14:31:02]wFMCommunicate request_size=4 [14:31:02]MH_SAM_APDU [14:31:02]CAPDU: 80 11 00 00 [14:31:02]Write to MH i2c: E2 08 00 20 1A 80 11 00 00 00 00 00 00 B4 [14:31:02]Write i2c OK [14:31:02]MH_I2C_Read... [14:31:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:31:02]Read from MH i2c: E2 [14:31:02]MH_I2C_Read... [14:31:02]Read from MH i2c: E2 17 00 [14:31:02]MH_I2C_Read... [14:31:02]Read from MH i2c: E2 17 00 20 1A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 09 [14:31:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [14:31:02]wFMCommunicate OK [14:31:02]CreateOFDProtocolMessage done [14:31:02]OFDSenderStorePacket 34610 [14:31:02]StoreOFDPacket docnum=34610 [14:31:02]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 9C 01 00 00 7F 19 94 01 02 54 5A 03 01 00 03 00 88 01 1E 04 01 00 01 23 04 75 00 8A 04 08 00 34 36 32 32 37 37 32 30 06 04 36 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 70 75 72 65 20 66 72 65 73 68 20 D0 B2 D0 B8 D0 BD D0 BE D0 B3 D1 80 D0 B0 D0 B4 20 D1 80 D0 BE D0 BB D0 BB 20 31 35 2C 35 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 C4 22 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B1 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C4 22 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 2A E0 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 32 87 00 00 35 04 06 00 1A 6B 16 D2 58 94 0B 9C 23 08 71 05 B1 D9 [14:31:02]CheckFolder [14:31:02]dirname=/storage/ofd_packets [14:31:02]CheckFolder done [14:31:02]ProducePacketName [14:31:02]name=ofd_packets/00034610 [14:31:02]NVStorageSaveData ofd_packets/00034610 [14:31:02]File name is /storage/ofd_packets/00034610 [14:31:02]Write 442 bytes [14:31:02]NVStorageSaveData done [14:31:02]OFDSenderStorePacket done [14:31:02]KKMCreateOFDPacket done [14:31:02]NVStorageSaveData kkm_last_timestamp [14:31:02]File name is /storage/kkm_last_timestamp [14:31:02]Write 4 bytes [14:31:02]NVStorageSaveData done [14:31:02]ExternCall_PrintAddStr [14:31:02]wPrintStart [14:31:02]Write to MH i2c: 01 00 00 21 1A 3B [14:31:02]Write i2c OK [14:31:02]MH_I2C_Read... [14:31:02]Read from MH i2c: 01 [14:31:02]MH_I2C_Read... [14:31:02]OFD Sender: Processing packet 34610 [packets to send 8, broken 7] [14:31:02]Read from MH i2c: ProducePacketName [14:31:02]01 name=ofd_packets/00034610 [14:31:02]07 00 OFD Sender: To server: pG, [14:31:02] [14:31:02]CommunicateWithHost lk.salyk.kg:30040 [14:31:02]MH_I2C_Read... [14:31:02]ConnectInit lk.salyk.kg [14:31:02]Read from MH i2c: 01 07 00 21 1A 00 00 00 00 00 FF 0F 50 [14:31:02]RasterBufferAndPrint [14:31:02]line Счет N : (3)184366 [14:31:02]line ИНН: 02508201610067 [14:31:02]line Контрольно-Кассовый Чек [14:31:02]line ПРОДАЖА [14:31:02]line Товар: 46227720 [14:31:02]line Р/ж mentos pure fresh виноград ролл 15,5 [14:31:02]line 1.000 * 49.00 [14:31:02]line = 49.00 [14:31:02]line НДС 12% НСП 1% [14:31:02]line > о реализуемом товаре [14:31:02]line Товар: 4700000160211 [14:31:02]line Вода Легенда 0,5л [14:31:02]line 1.000 * 40.00 [14:31:02]line = 40.00 [14:31:02]line НДС 12% НСП 1% [14:31:02]line > о реализуемом товаре [14:31:02]line ИТОГО: 89.00 [14:31:02]line НСП 1% : 0.78 [14:31:02]line НДС 12% : 9.45 [14:31:02]line Наличными: 0.00 [14:31:02]line Безнал.: 89.00 [14:31:02]line Место: АЗС № 120 "Партнер Нефть" [14:31:02]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [14:31:02]line СНО: Общий режим [14:31:02]line Чек 36 22.06.2024 14:31 [14:31:02]line Смена: 327 ФФД: 1.0 [14:31:02]line ЗНМ: 0300000172 [14:31:02]line РНМ: 0000000000092786 [14:31:02]line Версия ККМ: 001 [14:31:02]line Платежная система: Бакай Банк [14:31:02]line ФМ: 0000000000875095 [14:31:02]line ФД: 34610 [14:31:02]line ФПД: 29047246706836 [14:31:02]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T143106&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34610&fm=29047246706836&tin=02508201610067®Number=0000000000092786&sum=8900 [14:31:02]line 0 [14:31:02]written 0, free lines is 4095 [14:31:02]Connected sock=10 [14:31:02]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 9C 01 00 00 7F 19 94 01 02 54 5A 03 01 00 03 00 88 01 1E 04 01 00 01 23 04 75 00 8A 04 08 00 34 36 32 32 37 37 32 30 06 04 36 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 70 75 72 65 20 66 72 65 73 68 20 D0 B2 D0 B8 D0 BD D0 BE D0 B3 D1 80 D0 B0 D0 B4 20 D1 80 D0 BE D0 BB D0 BB 20 31 35 2C 35 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 C4 22 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B1 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C4 22 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 2A E0 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 32 87 00 00 35 04 06 00 1A 6B 16 D2 58 94 0B 9C 23 08 71 05 B1 D9 [14:31:03]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 53 41 47 00 4E FA A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 32 87 00 00 F4 03 04 00 EE 86 76 66 B6 04 01 00 00 77 53 FA EA 1E 5C 65 12 [14:31:03]CommunicateWithHost err = 0 [14:31:03]CheckOFDResponse [14:31:03]1017 (14) - 77093643461234 [14:31:03]1041 (16) - 0000000000875095 [14:31:03]1040 (4) - 34610 [14:31:03]1012 (4) - 22.06.2024 08:10 [14:31:03]1206 (1) - 0 [14:31:03]OFD Sender: Remove packet 34610 [14:31:03]ProducePacketName [14:31:03]name=ofd_packets/00034610 [14:31:03]NVStorageDeleteData [14:31:03]Write to MH i2c: 01 00 00 52 1A 6C [14:31:03]Write i2c OK [14:31:03]MH_I2C_Read... [14:31:03]Read from MH i2c: 01 [14:31:03]MH_I2C_Read... [14:31:03]Read from MH i2c: 01 07 00 [14:31:03]MH_I2C_Read... [14:31:03]Read from MH i2c: 01 07 00 52 1A 00 00 00 00 00 78 0C F7 [14:31:03]RasterBufferAndPrint [14:31:03]line [14:31:03]line [14:31:03]line [14:31:03]line [14:31:03]line [14:31:03]written 0, free lines is 3198 [14:31:03]MH_Cut [14:31:03]Write to MH i2c: D1 01 00 59 1A 01 45 [14:31:03]Write i2c OK [14:31:03]MH_I2C_Read... [14:31:03]Read from MH i2c: D1 [14:31:03]MH_I2C_Read... [14:31:03]Read from MH i2c: D1 01 00 [14:31:03]MH_I2C_Read... [14:31:03]Read from MH i2c: D1 01 00 59 1A 00 44 [14:31:03]Write to MH i2c: 01 00 00 5A 1A 74 [14:31:03]Write i2c OK [14:31:03]MH_I2C_Read... [14:31:03]OFD Sender: No OFD packet to send [14:31:04]*** Cut start [14:31:04]*** Partial cut [14:31:04]*** CUTSNS_PIN = 1 [14:31:04]*** CUTSNS_PIN = 0 [14:31:04]*** Brake cut motor [14:31:04]Read from MH i2c: 01 [14:31:04]MH_I2C_Read... [14:31:04]*** Stop cut motor [14:31:04]*** Cut end [14:31:04]Read from MH i2c: 01 07 00 [14:31:04]MH_I2C_Read... [14:31:04]Read from MH i2c: 01 07 00 5A 1A 00 00 00 00 00 FF 0F 89 [14:31:04]process_action close_receipt done [14:31:04]requested_data is exist [14:31:04]produce_requested_data [14:31:04]requested_item fm.sn is exist - process it [14:31:04]wFMCommunicate request_size=4 [14:31:04]MH_SAM_APDU [14:31:04]CAPDU: 80 11 00 00 [14:31:04]Write to MH i2c: E2 08 00 5B 1A 80 11 00 00 00 00 00 00 EF [14:31:04]Write i2c OK [14:31:04]MH_I2C_Read... [14:31:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:31:04]Read from MH i2c: E2 [14:31:04]MH_I2C_Read... [14:31:04]Read from MH i2c: E2 17 00 [14:31:04]MH_I2C_Read... [14:31:04]Read from MH i2c: E2 17 00 5B 1A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 44 [14:31:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [14:31:04]wFMCommunicate OK [14:31:04]requested_item fd.num is exist - process it [14:31:04]SAM_PROTO_GetFieldsCounters [14:31:04]wFMCommunicate request_size=4 [14:31:04]MH_SAM_APDU [14:31:04]CAPDU: 80 13 00 00 [14:31:04]Write to MH i2c: E2 08 00 5C 1A 80 13 00 00 00 00 00 00 F2 [14:31:04]Write i2c OK [14:31:04]MH_I2C_Read... [14:31:04]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:31:04]Read from MH i2c: E2 [14:31:04]MH_I2C_Read... [14:31:04]Read from MH i2c: E2 62 00 [14:31:04]MH_I2C_Read... [14:31:04]Read from MH i2c: E2 62 00 5C 1A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 32 87 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 89 [14:31:04]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 32 87 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 [14:31:04]wFMCommunicate OK [14:31:04]SAM_PROTO_GetFieldsCounters done [14:31:04]requested_item shift.num is exist - process it [14:31:04]requested_item shift.opened is exist - process it [14:31:04]req_shift_opened [14:31:04]FM_GetShiftState [14:31:04]SAM_PROTO_GetShiftState [14:31:04]wFMCommunicate request_size=4 [14:31:04]MH_SAM_APDU [14:31:04]CAPDU: 80 13 01 00 [14:31:04]Write to MH i2c: E2 08 00 5D 1A 80 13 01 00 00 00 00 00 F4 [14:31:04]Write i2c OK [14:31:04]MH_I2C_Read... [14:31:04]Read from MH i2c: E2 [14:31:04]MH_I2C_Read... [14:31:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:31:04]Read from MH i2c: E2 0E 00 [14:31:04]MH_I2C_Read... [14:31:04]Read from MH i2c: E2 0E 00 5D 1A 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 AE [14:31:04]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [14:31:04]wFMCommunicate OK [14:31:04]SAM_PROTO_GetShiftState done [14:31:04]FM_GetShiftState done [14:31:04]req_shift_opened done [14:31:04]requested_item shift.open_date is exist - process it [14:31:04]req_shift_open_date [14:31:04]req_shift_open_date done [14:31:04]produce_requested_data done [14:31:04]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34610,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120} [14:31:04]process_action_free close_receipt [14:31:04]json_value_free [14:31:04]json_value_free done [14:31:04]process_json_proto returns [14:31:04]Send response to host [14:31:04]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34610,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120}}} [14:31:04]free response buf [14:31:04]execute_script done [14:31:04]execute_script returns [14:31:04]free content buf [14:31:04]Sock 9.Close socket [14:31:04]Sock 9.Thread stoped [14:31:08]OFD Sender: No OFD packet to send [14:31:13]OFD Sender: No OFD packet to send [14:31:18]OFD Sender: No OFD packet to send [14:31:23]OFD Sender: No OFD packet to send [14:31:28]OFD Sender: No OFD packet to send [14:31:33]OFD Sender: No OFD packet to send [14:31:38]OFD Sender: No OFD packet to send [14:31:43]OFD Sender: No OFD packet to send [14:31:48]OFD Sender: No OFD packet to send [14:31:53]OFD Sender: No OFD packet to send [14:31:58]OFD Sender: No OFD packet to send [14:32:03]OFD Sender: No OFD packet to send [14:32:08]OFD Sender: No OFD packet to send [14:32:13]OFD Sender: No OFD packet to send [14:32:18]OFD Sender: No OFD packet to send [14:32:23]OFD Sender: No OFD packet to send [14:32:28]OFD Sender: No OFD packet to send [14:32:33]OFD Sender: No OFD packet to send [14:32:38]OFD Sender: No OFD packet to send [14:32:43]OFD Sender: No OFD packet to send [14:32:48]OFD Sender: No OFD packet to send [14:32:53]OFD Sender: No OFD packet to send [14:32:58]OFD Sender: No OFD packet to send [14:33:03]OFD Sender: No OFD packet to send [14:33:08]OFD Sender: No OFD packet to send [14:33:13]OFD Sender: No OFD packet to send [14:33:18]OFD Sender: No OFD packet to send [14:33:23]OFD Sender: No OFD packet to send [14:33:28]OFD Sender: No OFD packet to send [14:33:33]OFD Sender: No OFD packet to send [14:33:38]OFD Sender: No OFD packet to send [14:33:43]OFD Sender: No OFD packet to send [14:33:48]OFD Sender: No OFD packet to send [14:33:53]OFD Sender: No OFD packet to send [14:33:58]OFD Sender: No OFD packet to send [14:34:03]OFD Sender: No OFD packet to send [14:34:08]OFD Sender: No OFD packet to send [14:34:13]OFD Sender: No OFD packet to send [14:34:18]OFD Sender: No OFD packet to send [14:34:23]OFD Sender: No OFD packet to send [14:34:28]OFD Sender: No OFD packet to send [14:34:33]OFD Sender: No OFD packet to send [14:34:38]OFD Sender: No OFD packet to send [14:34:43]OFD Sender: No OFD packet to send [14:34:48]OFD Sender: No OFD packet to send [14:34:53]OFD Sender: No OFD packet to send [14:34:58]OFD Sender: No OFD packet to send [14:35:03]OFD Sender: No OFD packet to send [14:35:08]OFD Sender: No OFD packet to send [14:35:13]OFD Sender: No OFD packet to send [14:35:18]OFD Sender: No OFD packet to send [14:35:23]OFD Sender: No OFD packet to send [14:35:28]OFD Sender: No OFD packet to send [14:35:33]OFD Sender: No OFD packet to send [14:35:38]OFD Sender: No OFD packet to send [14:35:43]OFD Sender: No OFD packet to send [14:35:48]OFD Sender: No OFD packet to send [14:35:53]OFD Sender: No OFD packet to send [14:35:58]OFD Sender: No OFD packet to send [14:36:03]OFD Sender: No OFD packet to send [14:36:08]OFD Sender: No OFD packet to send [14:36:13]OFD Sender: No OFD packet to send [14:36:18]OFD Sender: No OFD packet to send [14:36:23]OFD Sender: No OFD packet to send [14:36:28]OFD Sender: No OFD packet to send [14:36:33]OFD Sender: No OFD packet to send [14:36:38]OFD Sender: No OFD packet to send [14:36:43]OFD Sender: No OFD packet to send [14:36:48]OFD Sender: No OFD packet to send [14:36:53]OFD Sender: No OFD packet to send [14:36:58]OFD Sender: No OFD packet to send [14:37:03]OFD Sender: No OFD packet to send [14:37:08]OFD Sender: No OFD packet to send [14:37:13]OFD Sender: No OFD packet to send [14:37:18]OFD Sender: No OFD packet to send [14:37:23]OFD Sender: No OFD packet to send [14:37:28]OFD Sender: No OFD packet to send [14:37:33]OFD Sender: No OFD packet to send [14:37:38]OFD Sender: No OFD packet to send [14:37:43]OFD Sender: No OFD packet to send [14:37:48]OFD Sender: No OFD packet to send [14:37:53]OFD Sender: No OFD packet to send [14:37:58]OFD Sender: No OFD packet to send [14:38:03]OFD Sender: No OFD packet to send [14:38:08]OFD Sender: No OFD packet to send [14:38:13]OFD Sender: No OFD packet to send [14:38:18]OFD Sender: No OFD packet to send [14:38:23]OFD Sender: No OFD packet to send [14:38:28]OFD Sender: No OFD packet to send [14:38:33]OFD Sender: No OFD packet to send [14:38:38]OFD Sender: No OFD packet to send [14:38:43]OFD Sender: No OFD packet to send [14:38:48]accept exits with 7 [14:38:48]New connection [14:38:48]New thread 3067473252 created [14:38:48]Thread 3067616612 joined [14:38:48]Waiting for new connection... [14:38:48] Sock 7.Parse request [14:38:48]Sock 7.Check first char [14:38:48]Sock 7.First char is OK [14:38:48]request: POST /json_proto HTTP/1.0 [14:38:48]Method: POST [14:38:48]URL: /json_proto [14:38:48]Method is POST - this is cgi request [14:38:48]url: /json_proto [14:38:48]query_string will be loaded in cgi processing [14:38:48]execute_cgi json_proto POST (null) [14:38:48]execute_cgi path=json_proto method=POST [14:38:48]POST find Content-Length [14:38:48]Host: 172.17.38.134:8080 [14:38:48]Content-Length: 639 [14:38:48]Content-Type: application/json [14:38:48] [14:38:48]POST finish read [14:38:48]Found Content-Length = 639 [14:38:48]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184367", "tax_sys" : 0, "items" : [ { "code": "4700000160044", "name": "\u0412\u043E\u0434\u0430 \u042B\u0441\u0441\u044B\u043A \u0410\u0442\u0430 0,5\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 40.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:38:48]execute_script... [14:38: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)184367", "tax_sys" : 0, "items" : [ { "code": "4700000160044", "name": "\u0412\u043E\u0434\u0430 \u042B\u0441\u0441\u044B\u043A \u0410\u0442\u0430 0,5\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 40.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:38:48]POST & json_proto [14:38:48]process_json_proto [14:38:48]json parsed OK: [14:38:48]protocol is kg_v1.0 [14:38:48]action value=close_receipt [14:38:48]process_action close_receipt [14:38:48]cmd_close_receipt [14:38:48]MH_GetDate [14:38:48]Write to MH i2c: F0 00 00 5E 1A 67 [14:38:48]Write i2c OK [14:38:48]MH_I2C_Read... [14:38:48]Read from MH i2c: F0 [14:38:48]MH_I2C_Read... [14:38:48]Read from MH i2c: F0 09 00 [14:38:48]MH_I2C_Read... [14:38:48]Read from MH i2c: F0 09 00 5E 1A 00 FD E1 76 66 13 9C 7C 64 B9 [14:38:48]GetLastDocTimeStamp 1719066666 [14:38:48]current date 1719067133 [14:38:48]FM_GetShiftState [14:38:48]SAM_PROTO_GetShiftState [14:38:48]wFMCommunicate request_size=4 [14:38:48]MH_SAM_APDU [14:38:48]CAPDU: 80 13 01 00 [14:38:48]Write to MH i2c: E2 08 00 5F 1A 80 13 01 00 00 00 00 00 F6 [14:38:48]Write i2c OK [14:38:48]MH_I2C_Read... [14:38:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:38:48]Read from MH i2c: E2 [14:38:48]MH_I2C_Read... [14:38:48]Read from MH i2c: E2 0E 00 [14:38:48]MH_I2C_Read... [14:38:48]Read from MH i2c: E2 0E 00 5F 1A 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 B0 [14:38:48]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [14:38:48]wFMCommunicate OK [14:38:48]SAM_PROTO_GetShiftState done [14:38:48]FM_GetShiftState done [14:38:48]opened in 1719016120 [14:38:48]opened+sec_in_day 1719102520 [14:38:48]quantity*price = 4000 [14:38:48]sum+1 = 4001 [14:38:48]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 40.00 НСП 1% : 0.35 НДС 12% : 4.25 Наличными: 40.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 37 22.06.2024 14:38 Смена: 327 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34611 ФПД: 224123775077917 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T143854&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34611&fm=224123775077917&tin=02508201610067®Number=0000000000092786&sum=4000 0 [14:38:49]StoreToDocumentArchive [14:38:49]shift 327 fd 34611 [14:38:49]save to /storage/0327/doc_00034611 [14:38:49]save last doc name /storage/0327/doc_00034611 to /storage/kkm_last_doc_name [14:38:49]save OK [14:38:49]Clear old archive folders... [14:38:49]ProcessDocumentItem done err = 0, tmpTLVsize=274 [14:38:49]tlvbuf is 0157AB50 [14:38:49]SAM_PROTO_ClearQueue [14:38:49]wFMCommunicate request_size=4 [14:38:49]MH_SAM_APDU [14:38:49]CAPDU: 80 09 00 00 [14:38:49]Write to MH i2c: E2 08 00 6C 1A 80 09 00 00 00 00 00 00 F8 [14:38:49]Write i2c OK [14:38:49]MH_I2C_Read... [14:38:49]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:38:49]Read from MH i2c: E2 [14:38:49]MH_I2C_Read... [14:38:49]Read from MH i2c: E2 03 00 [14:38:49]MH_I2C_Read... [14:38:49]Read from MH i2c: E2 03 00 6C 1A 00 90 00 FA [14:38:49]RAPDU: 90 00 [14:38:49]wFMCommunicate OK [14:38:49]SAM_PROTO_ClearQueue done [14:38:49]KKMCreateOFDPacket [14:38:49]OFDProtocolAddRootSTLVToBuf [14:38:49]FM_MakeSignedData [14:38:49]FM_MakeSignedData [14:38:49]SAM_PROTO_SignData [14:38:49]wFMCommunicate request_size=4 [14:38:49]MH_SAM_APDU [14:38:49]CAPDU: 80 0D 01 02 [14:38:49]Write to MH i2c: E2 08 00 6D 1A 80 0D 01 02 00 00 00 00 00 [14:38:49]Write i2c OK [14:38:49]MH_I2C_Read... [14:38:49]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:38:49]Read from MH i2c: E2 [14:38:49]MH_I2C_Read... [14:38:49]Read from MH i2c: E2 03 00 [14:38:49]MH_I2C_Read... [14:38:49]Read from MH i2c: E2 03 00 6D 1A 00 90 00 FB [14:38:49]RAPDU: 90 00 [14:38:49]wFMCommunicate OK [14:38:49]wFMCommunicate request_size=255 [14:38:49]MH_SAM_APDU [14:38:49]CAPDU: 80 0D 02 02 FA 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 34 34 06 04 20 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 AB D1 81 D1 81 D1 8B D0 BA 20 D0 90 D1 82 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 FE E1 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 [14:38:49]Write to MH i2c: E2 02 01 6E 1A 80 0D 02 02 FA 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 34 34 06 04 20 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 AB D1 81 D1 81 D1 8B D0 BA 20 D0 90 D1 82 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 FE E1 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 00 00 60 [14:38:49]Write i2c OK [14:38:49]MH_I2C_Read... [14:38:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:38:49]Read from MH i2c: E2 [14:38:49]MH_I2C_Read... [14:38:49]Read from MH i2c: E2 03 00 [14:38:49]MH_I2C_Read... [14:38:49]Read from MH i2c: E2 03 00 6E 1A 00 90 00 FC [14:38:49]RAPDU: 90 00 [14:38:49]wFMCommunicate OK [14:38:49]wFMCommunicate request_size=33 [14:38:49]MH_SAM_APDU [14:38:49]CAPDU: 80 0D 02 02 1C 30 30 30 30 38 37 35 30 39 35 10 04 04 00 33 87 00 00 35 04 06 00 CB D6 E1 FF CE 1D [14:38:49]Write to MH i2c: E2 24 00 6F 1A 80 0D 02 02 1C 00 30 30 30 30 38 37 35 30 39 35 10 04 04 00 33 87 00 00 35 04 06 00 CB D6 E1 FF CE 1D 00 00 BA [14:38:49]Write i2c OK [14:38:49]MH_I2C_Read... [14:38:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:38:49]Read from MH i2c: E2 [14:38:49]MH_I2C_Read... [14:38:49]Read from MH i2c: E2 03 00 [14:38:49]MH_I2C_Read... [14:38:49]Read from MH i2c: E2 03 00 6F 1A 00 90 00 FD [14:38:49]RAPDU: 90 00 [14:38:49]wFMCommunicate OK [14:38:49]wFMCommunicate request_size=4 [14:38:49]MH_SAM_APDU [14:38:49]CAPDU: 80 0D 03 02 [14:38:49]Write to MH i2c: E2 08 00 70 1A 80 0D 03 02 00 00 00 00 05 [14:38:49]Write i2c OK [14:38:49]MH_I2C_Read... [14:38:49]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:38:49]Read from MH i2c: E2 [14:38:49]MH_I2C_Read... [14:38:49]Read from MH i2c: E2 0B 00 [14:38:49]MH_I2C_Read... [14:38:49]Read from MH i2c: E2 0B 00 70 1A 00 02 16 83 DA 6B 50 B2 8E 90 00 76 [14:38:49]RAPDU: 02 16 83 DA 6B 50 B2 8E 90 00 [14:38:49]wFMCommunicate OK [14:38:49]SAM_PROTO_SignData done [14:38:49]FM_MakeSignedData done [14:38:49]CreateOFDProtocolMessage [14:38:49]wFMCommunicate request_size=4 [14:38:49]MH_SAM_APDU [14:38:49]CAPDU: 80 11 00 00 [14:38:49]Write to MH i2c: E2 08 00 71 1A 80 11 00 00 00 00 00 00 05 [14:38:49]Write i2c OK [14:38:49]MH_I2C_Read... [14:38:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:38:49]Read from MH i2c: E2 [14:38:49]MH_I2C_Read... [14:38:49]Read from MH i2c: E2 17 00 [14:38:49]MH_I2C_Read... [14:38:49]Read from MH i2c: E2 17 00 71 1A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 5A [14:38:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [14:38:49]wFMCommunicate OK [14:38:49]CreateOFDProtocolMessage done [14:38:49]OFDSenderStorePacket 34611 [14:38:49]StoreOFDPacket docnum=34611 [14:38:49]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 26 01 00 00 BE 40 1E 01 24 DF 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 34 34 06 04 20 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 AB D1 81 D1 81 D1 8B D0 BA 20 D0 90 D1 82 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 FE E1 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 33 87 00 00 35 04 06 00 CB D6 E1 FF CE 1D 02 16 83 DA 6B 50 B2 8E [14:38:49]CheckFolder [14:38:49]dirname=/storage/ofd_packets [14:38:49]CheckFolder done [14:38:49]ProducePacketName [14:38:49]name=ofd_packets/00034611 [14:38:49]NVStorageSaveData ofd_packets/00034611 [14:38:49]File name is /storage/ofd_packets/00034611 [14:38:49]Write 324 bytes [14:38:49]NVStorageSaveData done [14:38:49]OFDSenderStorePacket done [14:38:49]KKMCreateOFDPacket done [14:38:49]NVStorageSaveData kkm_last_timestamp [14:38:49]File name is /storage/kkm_last_timestamp [14:38:49]Write 4 bytes [14:38:49]NVStorageSaveData done [14:38:49]ExternCall_PrintAddStr [14:38:49]wPrintStart [14:38:49]Write to MH i2c: 01 00 00 72 1A 8C [14:38:49]Write i2c OK [14:38:49]MH_I2C_Read... [14:38:49]Read from MH i2c: 01 [14:38:49]MH_I2C_Read... [14:38:49]Read from MH i2c: 01 07 00 [14:38:49]MH_I2C_Read... [14:38:49]Read from MH i2c: 01 07 00 72 1A 00 00 00 00 00 FF 0F A1 [14:38:49]RasterBufferAndPrint [14:38:49]line Счет N : (3)184367 [14:38:49]line ИНН: 02508201610067 [14:38:49]line Контрольно-Кассовый Чек [14:38:49]line ПРОДАЖА [14:38:49]line Товар: 4700000160044 [14:38:49]line Вода Ыссык Ата 0,5л [14:38:49]line 1.000 * 40.00 [14:38:49]line = 40.00 [14:38:49]line НДС 12% НСП 1% [14:38:49]line > о реализуемом товаре [14:38:49]line ИТОГО: 40.00 [14:38:49]line НСП 1% : 0.35 [14:38:49]line НДС 12% : 4.25 [14:38:49]line Наличными: 40.00 [14:38:49]line Безнал.: 0.00 [14:38:49]line Место: АЗС № 120 "Партнер Нефть" [14:38:49]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [14:38:49]line СНО: Общий режим [14:38:49]line Чек 37 22.06.2024 14:38 [14:38:49]line Смена: 327 ФФД: 1.0 [14:38:49]line ЗНМ: 0300000172 [14:38:49]line РНМ: 0000000000092786 [14:38:49]line Версия ККМ: 001 [14:38:49]line ФМ: 0000000000875095 [14:38:49]line ФД: 34611 [14:38:49]line ФПД: 224123775077917 [14:38:50]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T143854&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34611&fm=224123775077917&tin=02508201610067®Number=0000000000092786&sum=4000 [14:38:50]line 0 [14:38:50]OFD Sender: Processing packet 34611 [packets to send 8, broken 7] [14:38:50]ProducePacketName [14:38:50]name=ofd_packets/00034611 [14:38:50]OFD Sender: To server: pG, [14:38:50]CommunicateWithHost lk.salyk.kg:30040 [14:38:50]ConnectInit lk.salyk.kg [14:38:50]written 0, free lines is 4095 [14:38:50]Connected sock=10 [14:38:50]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 26 01 00 00 BE 40 1E 01 24 DF 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 34 34 06 04 20 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 AB D1 81 D1 81 D1 8B D0 BA 20 D0 90 D1 82 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 FE E1 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 33 87 00 00 35 04 06 00 CB D6 E1 FF CE 1D 02 16 83 DA 6B 50 B2 8E [14:38:50]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 75 CD 47 00 B7 D5 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 33 87 00 00 F4 03 04 00 C1 88 76 66 B6 04 01 00 00 C7 06 99 18 C1 C2 E1 D8 [14:38:50]CommunicateWithHost err = 0 [14:38:50]CheckOFDResponse [14:38:50]1017 (14) - 77093643461234 [14:38:50]1041 (16) - 0000000000875095 [14:38:50]1040 (4) - 34611 [14:38:50]1012 (4) - 22.06.2024 08:18 [14:38:50]1206 (1) - 0 [14:38:50]OFD Sender: Remove packet 34611 [14:38:50]ProducePacketName [14:38:50]name=ofd_packets/00034611 [14:38:50]NVStorageDeleteData [14:38:50]Write to MH i2c: 01 00 00 9A 1A B4 [14:38:50]Write i2c OK [14:38:50]MH_I2C_Read... [14:38:50]Read from MH i2c: 01 [14:38:50]MH_I2C_Read... [14:38:50]Read from MH i2c: 01 07 00 [14:38:50]MH_I2C_Read... [14:38:50]Read from MH i2c: 01 07 00 9A 1A 00 00 00 00 00 01 0D C9 [14:38:50]RasterBufferAndPrint [14:38:50]line [14:38:50]line [14:38:50]line [14:38:50]line [14:38:50]line [14:38:50]written 0, free lines is 3335 [14:38:50]MH_Cut [14:38:50]Write to MH i2c: D1 01 00 A1 1A 01 8D [14:38:50]Write i2c OK [14:38:50]MH_I2C_Read... [14:38:50]Read from MH i2c: D1 [14:38:50]MH_I2C_Read... [14:38:50]Read from MH i2c: D1 01 00 [14:38:50]MH_I2C_Read... [14:38:50]Read from MH i2c: D1 01 00 A1 1A 00 8C [14:38:50]Write to MH i2c: 01 00 00 A2 1A BC [14:38:50]Write i2c OK [14:38:50]MH_I2C_Read... [14:38:51]OFD Sender: No OFD packet to send [14:38:51]*** Cut start [14:38:51]*** Partial cut [14:38:51]*** CUTSNS_PIN = 1 [14:38:51]*** CUTSNS_PIN = 0 [14:38:51]*** Brake cut motor [14:38:51]Read from MH i2c: 01 [14:38:51]MH_I2C_Read... [14:38:51]*** Stop cut motor [14:38:52]*** Cut end [14:38:52]Read from MH i2c: 01 07 00 [14:38:52]MH_I2C_Read... [14:38:52]Read from MH i2c: 01 07 00 A2 1A 00 00 00 00 00 FF 0F D1 [14:38:52]process_action close_receipt done [14:38:52]requested_data is exist [14:38:52]produce_requested_data [14:38:52]requested_item fm.sn is exist - process it [14:38:52]wFMCommunicate request_size=4 [14:38:52]MH_SAM_APDU [14:38:52]CAPDU: 80 11 00 00 [14:38:52]Write to MH i2c: E2 08 00 A3 1A 80 11 00 00 00 00 00 00 37 [14:38:52]Write i2c OK [14:38:52]MH_I2C_Read... [14:38:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:38:52]Read from MH i2c: E2 [14:38:52]MH_I2C_Read... [14:38:52]Read from MH i2c: E2 17 00 [14:38:52]MH_I2C_Read... [14:38:52]Read from MH i2c: E2 17 00 A3 1A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 8C [14:38:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [14:38:52]wFMCommunicate OK [14:38:52]requested_item fd.num is exist - process it [14:38:52]SAM_PROTO_GetFieldsCounters [14:38:52]wFMCommunicate request_size=4 [14:38:52]MH_SAM_APDU [14:38:52]CAPDU: 80 13 00 00 [14:38:52]Write to MH i2c: E2 08 00 A4 1A 80 13 00 00 00 00 00 00 3A [14:38:52]Write i2c OK [14:38:52]MH_I2C_Read... [14:38:52]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:38:52]Read from MH i2c: E2 [14:38:52]MH_I2C_Read... [14:38:52]Read from MH i2c: E2 62 00 [14:38:52]MH_I2C_Read... [14:38:52]Read from MH i2c: E2 62 00 A4 1A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 33 87 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 D5 [14:38:52]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 33 87 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 [14:38:52]wFMCommunicate OK [14:38:52]SAM_PROTO_GetFieldsCounters done [14:38:52]requested_item shift.num is exist - process it [14:38:52]requested_item shift.opened is exist - process it [14:38:52]req_shift_opened [14:38:52]FM_GetShiftState [14:38:52]SAM_PROTO_GetShiftState [14:38:52]wFMCommunicate request_size=4 [14:38:52]MH_SAM_APDU [14:38:52]CAPDU: 80 13 01 00 [14:38:52]Write to MH i2c: E2 08 00 A5 1A 80 13 01 00 00 00 00 00 3C [14:38:52]Write i2c OK [14:38:52]MH_I2C_Read... [14:38:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:38:52]Read from MH i2c: E2 [14:38:52]MH_I2C_Read... [14:38:52]Read from MH i2c: E2 0E 00 [14:38:52]MH_I2C_Read... [14:38:52]Read from MH i2c: E2 0E 00 A5 1A 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 F6 [14:38:52]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [14:38:52]wFMCommunicate OK [14:38:52]SAM_PROTO_GetShiftState done [14:38:52]FM_GetShiftState done [14:38:52]req_shift_opened done [14:38:52]requested_item shift.open_date is exist - process it [14:38:52]req_shift_open_date [14:38:52]req_shift_open_date done [14:38:52]produce_requested_data done [14:38:52]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34611,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120} [14:38:52]process_action_free close_receipt [14:38:52]json_value_free [14:38:52]json_value_free done [14:38:52]process_json_proto returns [14:38:52]Send response to host [14:38:52]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34611,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120}}} [14:38:52]free response buf [14:38:52]execute_script done [14:38:52]execute_script returns [14:38:52]free content buf [14:38:52]Sock 7.Close socket [14:38:52]Sock 7.Thread stoped [14:38:54]int [14:38:54]Write to MH i2c: 01 00 00 A6 1A C0 [14:38:54]*** FLAG_PRN_PAP2 set [14:38:54]Write i2c OK [14:38:54]MH_I2C_Read... [14:38:54]Read from MH i2c: 01 [14:38:54]MH_I2C_Read... [14:38:54]Read from MH i2c: 01 07 00 [14:38:54]MH_I2C_Read... [14:38:54]Read from MH i2c: 01 07 00 A6 1A 00 02 00 00 00 FF 0F D7 [14:38:54]state=0 [14:38:54]Cover opened [14:38:56]OFD Sender: No OFD packet to send [14:38:59]Write to MH i2c: 01 00 00 A7 1A C1 [14:38:59]Write i2c OK [14:38:59]MH_I2C_Read... [14:38:59]Read from MH i2c: 01 [14:38:59]MH_I2C_Read... [14:38:59]Read from MH i2c: 01 07 00 [14:38:59]MH_I2C_Read... [14:38:59]Read from MH i2c: 01 07 00 A7 1A 00 02 00 00 00 FF 0F D8 [14:38:59]state=3 [14:38:59]Cover opened [14:39:00]int [14:39:00]Write to MH i2c: 01 00 00 A8 1A C2 [14:39:00]*** FLAG_PRN_PAP2 reset [14:39:00]Write i2c OK [14:39:00]MH_I2C_Read... [14:39:00]Read from MH i2c: 01 [14:39:00]MH_I2C_Read... [14:39:00]Read from MH i2c: 01 07 00 [14:39:00]MH_I2C_Read... [14:39:00]Read from MH i2c: 01 07 00 A8 1A 00 00 00 00 00 FF 0F D7 [14:39:00]state=3 [14:39:00]Cover closed [14:39:01]int [14:39:01]Write to MH i2c: 01 00 00 A9 1A C3 [14:39:01]*** FLAG_PRN_KEY set [14:39:01]Write i2c OK [14:39:01]MH_I2C_Read... [14:39:01]Read from MH i2c: 01 [14:39:01]MH_I2C_Read... [14:39:01]Read from MH i2c: 01 07 00 [14:39:01]MH_I2C_Read... [14:39:01]Read from MH i2c: 01 07 00 A9 1A 00 08 00 00 00 FF 0F E0 [14:39:01]state=0 [14:39:01]Key pressed [14:39:01]Feed [14:39:01]Write to MH i2c: D8 00 00 AA 1A 9B [14:39:01]Write i2c OK [14:39:01]MH_I2C_Read... [14:39:01]Read from MH i2c: D8 [14:39:01]MH_I2C_Read... [14:39:01]Read from MH i2c: D8 01 00 [14:39:01]MH_I2C_Read... [14:39:01]Read from MH i2c: D8 01 00 AA 1A 00 9C [14:39:01]int [14:39:01]Write to MH i2c: 01 00 00 AB 1A C5 [14:39:01]Write i2c OK [14:39:01]MH_I2C_Read... [14:39:01]Read from MH i2c: 01 [14:39:01]MH_I2C_Read... [14:39:01]Read from MH i2c: 01 07 00 [14:39:01]MH_I2C_Read... [14:39:01]Read from MH i2c: 01 07 00 AB 1A 00 48 00 00 00 3C 00 50 [14:39:01]state=2 [14:39:01]Key pressed [14:39:01]OFD Sender: No OFD packet to send [14:39:01]int [14:39:01]Write to MH i2c: 01 00 00 AC 1A C6 [14:39:01]*** FLAG_PRN_KEY reset [14:39:01]Write i2c OK [14:39:01]MH_I2C_Read... [14:39:01]Read from MH i2c: 01 [14:39:01]MH_I2C_Read... [14:39:01]Read from MH i2c: 01 07 00 [14:39:01]MH_I2C_Read... [14:39:01]Read from MH i2c: 01 07 00 AC 1A 00 00 00 00 00 FF 0F DB [14:39:01]state=2 [14:39:01]Stop feed [14:39:06]OFD Sender: No OFD packet to send [14:39:11]OFD Sender: No OFD packet to send [14:39:16]OFD Sender: No OFD packet to send [14:39:21]OFD Sender: No OFD packet to send [14:39:26]OFD Sender: No OFD packet to send [14:39:31]OFD Sender: No OFD packet to send [14:39:36]OFD Sender: No OFD packet to send [14:39:41]OFD Sender: No OFD packet to send [14:39:46]OFD Sender: No OFD packet to send [14:39:51]OFD Sender: No OFD packet to send [14:39:56]OFD Sender: No OFD packet to send [14:40:01]OFD Sender: No OFD packet to send [14:40:06]OFD Sender: No OFD packet to send [14:40:11]OFD Sender: No OFD packet to send [14:40:16]OFD Sender: No OFD packet to send [14:40:21]OFD Sender: No OFD packet to send [14:40:26]OFD Sender: No OFD packet to send [14:40:31]OFD Sender: No OFD packet to send [14:40:36]OFD Sender: No OFD packet to send [14:40:41]OFD Sender: No OFD packet to send [14:40:46]OFD Sender: No OFD packet to send [14:40:51]OFD Sender: No OFD packet to send [14:40:56]OFD Sender: No OFD packet to send [14:41:01]OFD Sender: No OFD packet to send [14:41:06]OFD Sender: No OFD packet to send [14:41:11]OFD Sender: No OFD packet to send [14:41:16]OFD Sender: No OFD packet to send [14:41:21]OFD Sender: No OFD packet to send [14:41:26]OFD Sender: No OFD packet to send [14:41:31]OFD Sender: No OFD packet to send [14:41:36]OFD Sender: No OFD packet to send [14:41:41]OFD Sender: No OFD packet to send [14:41:46]OFD Sender: No OFD packet to send [14:41:51]OFD Sender: No OFD packet to send [14:41:56]OFD Sender: No OFD packet to send [14:42:01]OFD Sender: No OFD packet to send [14:42:06]OFD Sender: No OFD packet to send [14:42:11]OFD Sender: No OFD packet to send [14:42:16]OFD Sender: No OFD packet to send [14:42:21]OFD Sender: No OFD packet to send [14:42:26]OFD Sender: No OFD packet to send [14:42:31]OFD Sender: No OFD packet to send [14:42:36]OFD Sender: No OFD packet to send [14:42:41]OFD Sender: No OFD packet to send [14:42:46]OFD Sender: No OFD packet to send [14:42:51]OFD Sender: No OFD packet to send [14:42:56]OFD Sender: No OFD packet to send [14:43:01]OFD Sender: No OFD packet to send [14:43:06]OFD Sender: No OFD packet to send [14:43:11]OFD Sender: No OFD packet to send [14:43:16]OFD Sender: No OFD packet to send [14:43:21]OFD Sender: No OFD packet to send [14:43:26]OFD Sender: No OFD packet to send [14:43:31]OFD Sender: No OFD packet to send [14:43:36]OFD Sender: No OFD packet to send [14:43:41]OFD Sender: No OFD packet to send [14:43:46]OFD Sender: No OFD packet to send [14:43:51]OFD Sender: No OFD packet to send [14:43:56]OFD Sender: No OFD packet to send [14:44:01]OFD Sender: No OFD packet to send [14:44:06]OFD Sender: No OFD packet to send [14:44:11]OFD Sender: No OFD packet to send [14:44:16]OFD Sender: No OFD packet to send [14:44:21]OFD Sender: No OFD packet to send [14:44:26]OFD Sender: No OFD packet to send [14:44:31]OFD Sender: No OFD packet to send [14:44:36]OFD Sender: No OFD packet to send [14:44:41]OFD Sender: No OFD packet to send [14:44:46]OFD Sender: No OFD packet to send [14:44:51]OFD Sender: No OFD packet to send [14:44:56]OFD Sender: No OFD packet to send [14:45:01]OFD Sender: No OFD packet to send [14:45:06]OFD Sender: No OFD packet to send [14:45:11]OFD Sender: No OFD packet to send [14:45:16]OFD Sender: No OFD packet to send [14:45:21]OFD Sender: No OFD packet to send [14:45:26]OFD Sender: No OFD packet to send [14:45:31]OFD Sender: No OFD packet to send [14:45:36]OFD Sender: No OFD packet to send [14:45:41]OFD Sender: No OFD packet to send [14:45:46]OFD Sender: No OFD packet to send [14:45:51]OFD Sender: No OFD packet to send [14:45:56]OFD Sender: No OFD packet to send [14:46:01]OFD Sender: No OFD packet to send [14:46:06]OFD Sender: No OFD packet to send [14:46:11]OFD Sender: No OFD packet to send [14:46:16]OFD Sender: No OFD packet to send [14:46:21]OFD Sender: No OFD packet to send [14:46:26]OFD Sender: No OFD packet to send [14:46:31]OFD Sender: No OFD packet to send [14:46:36]OFD Sender: No OFD packet to send [14:46:41]OFD Sender: No OFD packet to send [14:46:46]OFD Sender: No OFD packet to send [14:46:51]OFD Sender: No OFD packet to send [14:46:56]OFD Sender: No OFD packet to send [14:47:01]OFD Sender: No OFD packet to send [14:47:06]OFD Sender: No OFD packet to send [14:47:11]OFD Sender: No OFD packet to send [14:47:16]OFD Sender: No OFD packet to send [14:47:21]OFD Sender: No OFD packet to send [14:47:26]OFD Sender: No OFD packet to send [14:47:31]OFD Sender: No OFD packet to send [14:47:36]OFD Sender: No OFD packet to send [14:47:41]OFD Sender: No OFD packet to send [14:47:46]OFD Sender: No OFD packet to send [14:47:51]OFD Sender: No OFD packet to send [14:47:56]OFD Sender: No OFD packet to send [14:48:01]OFD Sender: No OFD packet to send [14:48:06]OFD Sender: No OFD packet to send [14:48:11]OFD Sender: No OFD packet to send [14:48:16]OFD Sender: No OFD packet to send [14:48:21]OFD Sender: No OFD packet to send [14:48:26]OFD Sender: No OFD packet to send [14:48:31]OFD Sender: No OFD packet to send [14:48:36]OFD Sender: No OFD packet to send [14:48:41]OFD Sender: No OFD packet to send [14:48:46]OFD Sender: No OFD packet to send [14:48:51]OFD Sender: No OFD packet to send [14:48:56]OFD Sender: No OFD packet to send [14:49:01]OFD Sender: No OFD packet to send [14:49:06]OFD Sender: No OFD packet to send [14:49:11]OFD Sender: No OFD packet to send [14:49:16]OFD Sender: No OFD packet to send [14:49:21]OFD Sender: No OFD packet to send [14:49:26]OFD Sender: No OFD packet to send [14:49:31]OFD Sender: No OFD packet to send [14:49:36]OFD Sender: No OFD packet to send [14:49:41]OFD Sender: No OFD packet to send [14:49:46]OFD Sender: No OFD packet to send [14:49:51]OFD Sender: No OFD packet to send [14:49:56]OFD Sender: No OFD packet to send [14:50:01]OFD Sender: No OFD packet to send [14:50:06]OFD Sender: No OFD packet to send [14:50:11]OFD Sender: No OFD packet to send [14:50:16]OFD Sender: No OFD packet to send [14:50:21]OFD Sender: No OFD packet to send [14:50:26]OFD Sender: No OFD packet to send [14:50:31]OFD Sender: No OFD packet to send [14:50:36]OFD Sender: No OFD packet to send [14:50:41]OFD Sender: No OFD packet to send [14:50:46]OFD Sender: No OFD packet to send [14:50:51]OFD Sender: No OFD packet to send [14:50:56]OFD Sender: No OFD packet to send [14:51:01]OFD Sender: No OFD packet to send [14:51:06]OFD Sender: No OFD packet to send [14:51:11]OFD Sender: No OFD packet to send [14:51:16]OFD Sender: No OFD packet to send [14:51:21]OFD Sender: No OFD packet to send [14:51:26]OFD Sender: No OFD packet to send [14:51:31]OFD Sender: No OFD packet to send [14:51:36]OFD Sender: No OFD packet to send [14:51:41]OFD Sender: No OFD packet to send [14:51:46]OFD Sender: No OFD packet to send [14:51:51]OFD Sender: No OFD packet to send [14:51:56]OFD Sender: No OFD packet to send [14:52:01]OFD Sender: No OFD packet to send [14:52:06]OFD Sender: No OFD packet to send [14:52:11]OFD Sender: No OFD packet to send [14:52:16]OFD Sender: No OFD packet to send [14:52:21]OFD Sender: No OFD packet to send [14:52:26]OFD Sender: No OFD packet to send [14:52:31]OFD Sender: No OFD packet to send [14:52:36]OFD Sender: No OFD packet to send [14:52:41]OFD Sender: No OFD packet to send [14:52:46]OFD Sender: No OFD packet to send [14:52:51]OFD Sender: No OFD packet to send [14:52:56]OFD Sender: No OFD packet to send [14:53:01]OFD Sender: No OFD packet to send [14:53:06]OFD Sender: No OFD packet to send [14:53:11]OFD Sender: No OFD packet to send [14:53:16]OFD Sender: No OFD packet to send [14:53:21]OFD Sender: No OFD packet to send [14:53:26]OFD Sender: No OFD packet to send [14:53:31]OFD Sender: No OFD packet to send [14:53:36]OFD Sender: No OFD packet to send [14:53:41]OFD Sender: No OFD packet to send [14:53:46]OFD Sender: No OFD packet to send [14:53:51]OFD Sender: No OFD packet to send [14:53:56]OFD Sender: No OFD packet to send [14:54:01]OFD Sender: No OFD packet to send [14:54:06]OFD Sender: No OFD packet to send [14:54:11]OFD Sender: No OFD packet to send [14:54:16]OFD Sender: No OFD packet to send [14:54:21]OFD Sender: No OFD packet to send [14:54:26]OFD Sender: No OFD packet to send [14:54:31]OFD Sender: No OFD packet to send [14:54:36]OFD Sender: No OFD packet to send [14:54:41]OFD Sender: No OFD packet to send [14:54:46]OFD Sender: No OFD packet to send [14:54:51]OFD Sender: No OFD packet to send [14:54:56]OFD Sender: No OFD packet to send [14:55:01]OFD Sender: No OFD packet to send [14:55:06]OFD Sender: No OFD packet to send [14:55:11]OFD Sender: No OFD packet to send [14:55:16]OFD Sender: No OFD packet to send [14:55:21]OFD Sender: No OFD packet to send [14:55:26]OFD Sender: No OFD packet to send [14:55:31]OFD Sender: No OFD packet to send [14:55:36]OFD Sender: No OFD packet to send [14:55:41]OFD Sender: No OFD packet to send [14:55:46]OFD Sender: No OFD packet to send [14:55:51]OFD Sender: No OFD packet to send [14:55:56]OFD Sender: No OFD packet to send [14:56:01]OFD Sender: No OFD packet to send [14:56:06]OFD Sender: No OFD packet to send [14:56:11]OFD Sender: No OFD packet to send [14:56:16]OFD Sender: No OFD packet to send [14:56:21]OFD Sender: No OFD packet to send [14:56:26]OFD Sender: No OFD packet to send [14:56:31]OFD Sender: No OFD packet to send [14:56:36]OFD Sender: No OFD packet to send [14:56:41]OFD Sender: No OFD packet to send [14:56:46]OFD Sender: No OFD packet to send [14:56:51]OFD Sender: No OFD packet to send [14:56:56]OFD Sender: No OFD packet to send [14:57:01]OFD Sender: No OFD packet to send [14:57:06]OFD Sender: No OFD packet to send [14:57:11]OFD Sender: No OFD packet to send [14:57:16]OFD Sender: No OFD packet to send [14:57:21]OFD Sender: No OFD packet to send [14:57:26]OFD Sender: No OFD packet to send [14:57:31]OFD Sender: No OFD packet to send [14:57:36]OFD Sender: No OFD packet to send [14:57:41]OFD Sender: No OFD packet to send [14:57:46]OFD Sender: No OFD packet to send [14:57:51]OFD Sender: No OFD packet to send [14:57:57]OFD Sender: No OFD packet to send [14:58:02]OFD Sender: No OFD packet to send [14:58:07]OFD Sender: No OFD packet to send [14:58:12]OFD Sender: No OFD packet to send [14:58:17]OFD Sender: No OFD packet to send [14:58:22]OFD Sender: No OFD packet to send [14:58:27]OFD Sender: No OFD packet to send [14:58:32]OFD Sender: No OFD packet to send [14:58:37]OFD Sender: No OFD packet to send [14:58:42]OFD Sender: No OFD packet to send [14:58:47]OFD Sender: No OFD packet to send [14:58:52]OFD Sender: No OFD packet to send [14:58:57]OFD Sender: No OFD packet to send [14:59:02]OFD Sender: No OFD packet to send [14:59:07]OFD Sender: No OFD packet to send [14:59:12]OFD Sender: No OFD packet to send [14:59:17]OFD Sender: No OFD packet to send [14:59:22]OFD Sender: No OFD packet to send [14:59:27]OFD Sender: No OFD packet to send [14:59:32]OFD Sender: No OFD packet to send [14:59:37]OFD Sender: No OFD packet to send [14:59:42]OFD Sender: No OFD packet to send [14:59:47]OFD Sender: No OFD packet to send [14:59:52]OFD Sender: No OFD packet to send [14:59:57]OFD Sender: No OFD packet to send [15:00:02]OFD Sender: No OFD packet to send [15:00:07]OFD Sender: No OFD packet to send [15:00:12]OFD Sender: No OFD packet to send [15:00:17]OFD Sender: No OFD packet to send [15:00:22]OFD Sender: No OFD packet to send [15:00:27]OFD Sender: No OFD packet to send [15:00:32]OFD Sender: No OFD packet to send [15:00:37]OFD Sender: No OFD packet to send [15:00:42]OFD Sender: No OFD packet to send [15:00:47]OFD Sender: No OFD packet to send [15:00:52]OFD Sender: No OFD packet to send [15:00:57]OFD Sender: No OFD packet to send [15:01:02]OFD Sender: No OFD packet to send [15:01:07]OFD Sender: No OFD packet to send [15:01:12]OFD Sender: No OFD packet to send [15:01:17]OFD Sender: No OFD packet to send [15:01:22]OFD Sender: No OFD packet to send [15:01:27]OFD Sender: No OFD packet to send [15:01:32]OFD Sender: No OFD packet to send [15:01:37]OFD Sender: No OFD packet to send [15:01:42]OFD Sender: No OFD packet to send [15:01:47]OFD Sender: No OFD packet to send [15:01:52]OFD Sender: No OFD packet to send [15:01:57]OFD Sender: No OFD packet to send [15:01:57]int [15:01:57]Write to MH i2c: 01 00 00 AD 1A C7 [15:01:57]*** FLAG_PRN_PAP2 set [15:01:57]Write i2c OK [15:01:57]MH_I2C_Read... [15:01:57]Read from MH i2c: 01 [15:01:57]MH_I2C_Read... [15:01:57]Read from MH i2c: 01 07 00 [15:01:58]MH_I2C_Read... [15:01:58]Read from MH i2c: 01 07 00 AD 1A 00 02 00 00 00 FF 0F DE [15:01:58]state=0 [15:01:58]Cover opened [15:02:01]int [15:02:01]Write to MH i2c: 01 00 00 AE 1A C8 [15:02:01]*** FLAG_PRN_PAP2 reset [15:02:01]Write i2c OK [15:02:01]MH_I2C_Read... [15:02:01]Read from MH i2c: 01 [15:02:01]MH_I2C_Read... [15:02:01]Read from MH i2c: 01 07 00 [15:02:01]MH_I2C_Read... [15:02:01]Read from MH i2c: 01 07 00 AE 1A 00 00 00 00 00 FF 0F DD [15:02:01]state=3 [15:02:01]Cover closed [15:02:02]OFD Sender: No OFD packet to send [15:02:07]OFD Sender: No OFD packet to send [15:02:12]OFD Sender: No OFD packet to send [15:02:17]OFD Sender: No OFD packet to send [15:02:22]OFD Sender: No OFD packet to send [15:02:27]OFD Sender: No OFD packet to send [15:02:32]OFD Sender: No OFD packet to send [15:02:37]OFD Sender: No OFD packet to send [15:02:42]OFD Sender: No OFD packet to send [15:02:47]OFD Sender: No OFD packet to send [15:02:52]OFD Sender: No OFD packet to send [15:02:57]OFD Sender: No OFD packet to send [15:03:02]OFD Sender: No OFD packet to send [15:03:07]OFD Sender: No OFD packet to send [15:03:12]OFD Sender: No OFD packet to send [15:03:17]OFD Sender: No OFD packet to send [15:03:22]OFD Sender: No OFD packet to send [15:03:27]OFD Sender: No OFD packet to send [15:03:32]OFD Sender: No OFD packet to send [15:03:37]OFD Sender: No OFD packet to send [15:03:42]OFD Sender: No OFD packet to send [15:03:47]OFD Sender: No OFD packet to send [15:03:52]OFD Sender: No OFD packet to send [15:03:57]OFD Sender: No OFD packet to send [15:04:02]OFD Sender: No OFD packet to send [15:04:07]OFD Sender: No OFD packet to send [15:04:12]OFD Sender: No OFD packet to send [15:04:17]OFD Sender: No OFD packet to send [15:04:22]OFD Sender: No OFD packet to send [15:04:27]OFD Sender: No OFD packet to send [15:04:28]accept exits with 9 [15:04:28]New connection [15:04:28]New thread 3067616612 created [15:04:28]Thread 3067473252 joined [15:04:28]Waiting for new connection... [15:04:28] Sock 9.Parse request [15:04:28]Sock 9.Check first char [15:04:28]Sock 9.First char is OK [15:04:28]request: POST /json_proto HTTP/1.0 [15:04:28]Method: POST [15:04:28]URL: /json_proto [15:04:28]Method is POST - this is cgi request [15:04:28]url: /json_proto [15:04:28]query_string will be loaded in cgi processing [15:04:28]execute_cgi json_proto POST (null) [15:04:28]execute_cgi path=json_proto method=POST [15:04:28]POST find Content-Length [15:04:28]Host: 172.17.38.134:8080 [15:04:28]Content-Length: 629 [15:04:28]Content-Type: application/json [15:04:28] [15:04:28]POST finish read [15:04:28]Found Content-Length = 629 [15:04:28]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184368", "tax_sys" : 0, "items" : [ { "code": "80942726", "name": "\u0420/\u0436 mentos \u043C\u044F\u0442\u0430 \u0440\u043E\u043B\u043B 16\u0433", "price" : 49.00, "quantity" : 1.000, "sum" : 49.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 49.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:04:28]execute_script... [15:04: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)184368", "tax_sys" : 0, "items" : [ { "code": "80942726", "name": "\u0420/\u0436 mentos \u043C\u044F\u0442\u0430 \u0440\u043E\u043B\u043B 16\u0433", "price" : 49.00, "quantity" : 1.000, "sum" : 49.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 49.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:04:28]POST & json_proto [15:04:28]process_json_proto [15:04:28]json parsed OK: [15:04:28]protocol is kg_v1.0 [15:04:28]action value=close_receipt [15:04:28]process_action close_receipt [15:04:28]cmd_close_receipt [15:04:28]MH_GetDate [15:04:28]Write to MH i2c: F0 00 00 AF 1A B8 [15:04:28]Write i2c OK [15:04:28]MH_I2C_Read... [15:04:28]Read from MH i2c: F0 [15:04:28]MH_I2C_Read... [15:04:28]Read from MH i2c: F0 09 00 [15:04:28]MH_I2C_Read... [15:04:28]Read from MH i2c: F0 09 00 AF 1A 00 02 E8 76 66 13 9C 7C 64 16 [15:04:28]GetLastDocTimeStamp 1719067134 [15:04:28]current date 1719068674 [15:04:28]FM_GetShiftState [15:04:28]SAM_PROTO_GetShiftState [15:04:28]wFMCommunicate request_size=4 [15:04:28]MH_SAM_APDU [15:04:28]CAPDU: 80 13 01 00 [15:04:28]Write to MH i2c: E2 08 00 B0 1A 80 13 01 00 00 00 00 00 47 [15:04:28]Write i2c OK [15:04:28]MH_I2C_Read... [15:04:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:04:28]Read from MH i2c: E2 [15:04:28]MH_I2C_Read... [15:04:28]Read from MH i2c: E2 0E 00 [15:04:28]MH_I2C_Read... [15:04:28]Read from MH i2c: E2 0E 00 B0 1A 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 01 [15:04:28]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [15:04:28]wFMCommunicate OK [15:04:28]SAM_PROTO_GetShiftState done [15:04:28]FM_GetShiftState done [15:04:28]opened in 1719016120 [15:04:28]opened+sec_in_day 1719102520 [15:04:28]quantity*price = 4900 [15:04:28]sum+1 = 4901 [15:04:28]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 49.00 НСП 1% : 0.43 НДС 12% : 5.20 Наличными: 49.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 38 22.06.2024 15:04 Смена: 327 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34612 ФПД: 33705336725627 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T150434&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34612&fm=33705336725627&tin=02508201610067®Number=0000000000092786&sum=4900 0 [15:04:29]StoreToDocumentArchive [15:04:29]shift 327 fd 34612 [15:04:29]save to /storage/0327/doc_00034612 [15:04:29]save last doc name /storage/0327/doc_00034612 to /storage/kkm_last_doc_name [15:04:29]save OK [15:04:29]Clear old archive folders... [15:04:29]ProcessDocumentItem done err = 0, tmpTLVsize=272 [15:04:29]tlvbuf is 0156D940 [15:04:29]SAM_PROTO_ClearQueue [15:04:29]wFMCommunicate request_size=4 [15:04:29]MH_SAM_APDU [15:04:29]CAPDU: 80 09 00 00 [15:04:29]Write to MH i2c: E2 08 00 BD 1A 80 09 00 00 00 00 00 00 49 [15:04:29]Write i2c OK [15:04:29]MH_I2C_Read... [15:04:29]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:04:29]Read from MH i2c: E2 [15:04:29]MH_I2C_Read... [15:04:29]Read from MH i2c: E2 03 00 [15:04:29]MH_I2C_Read... [15:04:29]Read from MH i2c: E2 03 00 BD 1A 00 90 00 4B [15:04:29]RAPDU: 90 00 [15:04:29]wFMCommunicate OK [15:04:29]SAM_PROTO_ClearQueue done [15:04:29]KKMCreateOFDPacket [15:04:29]OFDProtocolAddRootSTLVToBuf [15:04:29]FM_MakeSignedData [15:04:29]FM_MakeSignedData [15:04:29]SAM_PROTO_SignData [15:04:29]wFMCommunicate request_size=4 [15:04:29]MH_SAM_APDU [15:04:29]CAPDU: 80 0D 01 02 [15:04:29]Write to MH i2c: E2 08 00 BE 1A 80 0D 01 02 00 00 00 00 51 [15:04:29]Write i2c OK [15:04:29]MH_I2C_Read... [15:04:29]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:04:29]Read from MH i2c: E2 [15:04:29]MH_I2C_Read... [15:04:29]Read from MH i2c: E2 03 00 [15:04:29]MH_I2C_Read... [15:04:29]Read from MH i2c: E2 03 00 BE 1A 00 90 00 4C [15:04:29]RAPDU: 90 00 [15:04:29]wFMCommunicate OK [15:04:29]wFMCommunicate request_size=255 [15:04:29]MH_SAM_APDU [15:04:29]CAPDU: 80 0D 02 02 FA 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 38 30 39 34 32 37 32 36 06 04 23 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 D0 BC D1 8F D1 82 D0 B0 20 D1 80 D0 BE D0 BB D0 BB 20 31 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 24 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 08 02 00 00 00 00 07 04 06 00 24 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 02 E8 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 [15:04:29]Write to MH i2c: E2 02 01 BF 1A 80 0D 02 02 FA 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 38 30 39 34 32 37 32 36 06 04 23 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 D0 BC D1 8F D1 82 D0 B0 20 D1 80 D0 BE D0 BB D0 BB 20 31 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 24 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 08 02 00 00 00 00 07 04 06 00 24 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 02 E8 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 00 00 EC [15:04:29]Write i2c OK [15:04:29]MH_I2C_Read... [15:04:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:04:29]Read from MH i2c: E2 [15:04:29]MH_I2C_Read... [15:04:29]Read from MH i2c: E2 03 00 [15:04:29]MH_I2C_Read... [15:04:29]Read from MH i2c: E2 03 00 BF 1A 00 90 00 4D [15:04:29]RAPDU: 90 00 [15:04:29]wFMCommunicate OK [15:04:29]wFMCommunicate request_size=31 [15:04:29]MH_SAM_APDU [15:04:29]CAPDU: 80 0D 02 02 1A 30 30 38 37 35 30 39 35 10 04 04 00 34 87 00 00 35 04 06 00 1E A7 A2 9F 60 7B [15:04:29]Write to MH i2c: E2 22 00 C0 1A 80 0D 02 02 1A 00 30 30 38 37 35 30 39 35 10 04 04 00 34 87 00 00 35 04 06 00 1E A7 A2 9F 60 7B 00 00 1D [15:04:29]Write i2c OK [15:04:29]MH_I2C_Read... [15:04:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:04:29]Read from MH i2c: E2 [15:04:29]MH_I2C_Read... [15:04:29]Read from MH i2c: E2 03 00 [15:04:29]MH_I2C_Read... [15:04:29]Read from MH i2c: E2 03 00 C0 1A 00 90 00 4E [15:04:29]RAPDU: 90 00 [15:04:29]wFMCommunicate OK [15:04:29]wFMCommunicate request_size=4 [15:04:29]MH_SAM_APDU [15:04:29]CAPDU: 80 0D 03 02 [15:04:29]Write to MH i2c: E2 08 00 C1 1A 80 0D 03 02 00 00 00 00 56 [15:04:29]Write i2c OK [15:04:29]MH_I2C_Read... [15:04:29]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:04:29]Read from MH i2c: E2 [15:04:29]MH_I2C_Read... [15:04:29]Read from MH i2c: E2 0B 00 [15:04:29]MH_I2C_Read... [15:04:29]Read from MH i2c: E2 0B 00 C1 1A 00 55 12 CD C4 81 4D 18 CE 90 00 03 [15:04:29]RAPDU: 55 12 CD C4 81 4D 18 CE 90 00 [15:04:29]wFMCommunicate OK [15:04:29]SAM_PROTO_SignData done [15:04:29]FM_MakeSignedData done [15:04:29]CreateOFDProtocolMessage [15:04:29]wFMCommunicate request_size=4 [15:04:29]MH_SAM_APDU [15:04:29]CAPDU: 80 11 00 00 [15:04:29]Write to MH i2c: E2 08 00 C2 1A 80 11 00 00 00 00 00 00 56 [15:04:29]Write i2c OK [15:04:29]MH_I2C_Read... [15:04:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:04:29]Read from MH i2c: E2 [15:04:29]MH_I2C_Read... [15:04:29]Read from MH i2c: E2 17 00 [15:04:29]MH_I2C_Read... [15:04:29]Read from MH i2c: E2 17 00 C2 1A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 AB [15:04:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [15:04:29]wFMCommunicate OK [15:04:29]CreateOFDProtocolMessage done [15:04:29]OFDSenderStorePacket 34612 [15:04:29]StoreOFDPacket docnum=34612 [15:04:29]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 24 01 00 00 4F 3E 1C 01 28 0C 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 38 30 39 34 32 37 32 36 06 04 23 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 D0 BC D1 8F D1 82 D0 B0 20 D1 80 D0 BE D0 BB D0 BB 20 31 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 24 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 08 02 00 00 00 00 07 04 06 00 24 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 02 E8 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 34 87 00 00 35 04 06 00 1E A7 A2 9F 60 7B 55 12 CD C4 81 4D 18 CE [15:04:29]CheckFolder [15:04:29]dirname=/storage/ofd_packets [15:04:29]CheckFolder done [15:04:29]ProducePacketName [15:04:29]name=ofd_packets/00034612 [15:04:29]NVStorageSaveData ofd_packets/00034612 [15:04:29]File name is /storage/ofd_packets/00034612 [15:04:29]Write 322 bytes [15:04:29]NVStorageSaveData done [15:04:29]OFDSenderStorePacket done [15:04:29]KKMCreateOFDPacket done [15:04:29]NVStorageSaveData kkm_last_timestamp [15:04:29]File name is /storage/kkm_last_timestamp [15:04:29]Write 4 bytes [15:04:29]NVStorageSaveData done [15:04:29]ExternCall_PrintAddStr [15:04:29]wPrintStart [15:04:29]Write to MH i2c: 01 00 00 C3 1A DD [15:04:29]OFD Sender: Processing packet 34612 [packets to send 8, broken 7] [15:04:29]ProducePacketName [15:04:29]name=ofd_packets/00034612 [15:04:29]OFD Sender: To server: pG, [15:04:29]CommunicateWithHost lk.salyk.kg:30040 [15:04:29]ConnectInit lk.salyk.kg [15:04:29]Write i2c OK [15:04:29]MH_I2C_Read... [15:04:29]Read from MH i2c: 01 [15:04:29]MH_I2C_Read... [15:04:29]Read from MH i2c: 01 07 00 [15:04:29]MH_I2C_Read... [15:04:29]Read from MH i2c: 01 07 00 C3 1A 00 00 00 00 00 FF 0F F2 [15:04:29]RasterBufferAndPrint [15:04:29]line Счет N : (3)184368 [15:04:29]line ИНН: 02508201610067 [15:04:29]line Контрольно-Кассовый Чек [15:04:29]line ПРОДАЖА [15:04:29]line Товар: 80942726 [15:04:29]line Р/ж mentos мята ролл 16г [15:04:29]line 1.000 * 49.00 [15:04:29]line = 49.00 [15:04:29]line НДС 12% НСП 1% [15:04:29]line > о реализуемом товаре [15:04:29]line ИТОГО: 49.00 [15:04:29]line НСП 1% : 0.43 [15:04:29]line НДС 12% : 5.20 [15:04:29]line Наличными: 49.00 [15:04:29]line Безнал.: 0.00 [15:04:29]line Место: АЗС № 120 "Партнер Нефть" [15:04:29]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [15:04:29]line СНО: Общий режим [15:04:29]line Чек 38 22.06.2024 15:04 [15:04:29]line Смена: 327 ФФД: 1.0 [15:04:30]line ЗНМ: 0300000172 [15:04:30]line РНМ: 0000000000092786 [15:04:30]line Версия ККМ: 001 [15:04:30]line ФМ: 0000000000875095 [15:04:30]line ФД: 34612 [15:04:30]line ФПД: 33705336725627 [15:04:30]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T150434&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34612&fm=33705336725627&tin=02508201610067®Number=0000000000092786&sum=4900 [15:04:30]line 0 [15:04:30]Connected sock=10 [15:04:30]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 24 01 00 00 4F 3E 1C 01 28 0C 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 38 30 39 34 32 37 32 36 06 04 23 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 D0 BC D1 8F D1 82 D0 B0 20 D1 80 D0 BE D0 BB D0 BB 20 31 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 24 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 08 02 00 00 00 00 07 04 06 00 24 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 02 E8 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 34 87 00 00 35 04 06 00 1E A7 A2 9F 60 7B 55 12 CD C4 81 4D 18 CE [15:04:30]written 0, free lines is 4095 [15:04:30]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 E6 D9 47 00 C3 B1 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 34 87 00 00 F4 03 04 00 C5 8E 76 66 B6 04 01 00 00 53 DD 9C 43 45 A9 2C BA [15:04:30]CommunicateWithHost err = 0 [15:04:30]CheckOFDResponse [15:04:30]1017 (14) - 77093643461234 [15:04:30]1041 (16) - 0000000000875095 [15:04:30]1040 (4) - 34612 [15:04:30]1012 (4) - 22.06.2024 08:43 [15:04:30]1206 (1) - 0 [15:04:30]OFD Sender: Remove packet 34612 [15:04:30]ProducePacketName [15:04:30]name=ofd_packets/00034612 [15:04:30]NVStorageDeleteData [15:04:30]Write to MH i2c: 01 00 00 EB 1A 05 [15:04:30]Write i2c OK [15:04:30]MH_I2C_Read... [15:04:30]Read from MH i2c: 01 [15:04:30]MH_I2C_Read... [15:04:30]Read from MH i2c: 01 07 00 [15:04:30]MH_I2C_Read... [15:04:30]Read from MH i2c: 01 07 00 EB 1A 00 00 00 00 00 FD 0C 15 [15:04:30]RasterBufferAndPrint [15:04:30]line [15:04:30]line [15:04:30]line [15:04:30]line [15:04:30]line [15:04:30]written 0, free lines is 3331 [15:04:30]MH_Cut [15:04:30]Write to MH i2c: D1 01 00 F2 1A 01 DE [15:04:30]Write i2c OK [15:04:30]MH_I2C_Read... [15:04:30]Read from MH i2c: D1 [15:04:30]MH_I2C_Read... [15:04:30]Read from MH i2c: D1 01 00 [15:04:30]MH_I2C_Read... [15:04:30]Read from MH i2c: D1 01 00 F2 1A 00 DD [15:04:30]Write to MH i2c: 01 00 00 F3 1A 0D [15:04:30]Write i2c OK [15:04:30]MH_I2C_Read... [15:04:30]OFD Sender: No OFD packet to send [15:04:31]*** Cut start [15:04:31]*** Partial cut [15:04:31]*** CUTSNS_PIN = 1 [15:04:31]*** CUTSNS_PIN = 0 [15:04:31]*** Brake cut motor [15:04:31]Read from MH i2c: 01 [15:04:31]MH_I2C_Read... [15:04:31]*** Stop cut motor [15:04:31]*** Cut end [15:04:31]Read from MH i2c: 01 07 00 [15:04:31]MH_I2C_Read... [15:04:31]Read from MH i2c: 01 07 00 F3 1A 00 00 00 00 00 FF 0F 22 [15:04:31]process_action close_receipt done [15:04:31]requested_data is exist [15:04:32]produce_requested_data [15:04:32]requested_item fm.sn is exist - process it [15:04:32]wFMCommunicate request_size=4 [15:04:32]MH_SAM_APDU [15:04:32]CAPDU: 80 11 00 00 [15:04:32]Write to MH i2c: E2 08 00 F4 1A 80 11 00 00 00 00 00 00 88 [15:04:32]Write i2c OK [15:04:32]MH_I2C_Read... [15:04:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:04:32]Read from MH i2c: E2 [15:04:32]MH_I2C_Read... [15:04:32]Read from MH i2c: E2 17 00 [15:04:32]MH_I2C_Read... [15:04:32]Read from MH i2c: E2 17 00 F4 1A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 DD [15:04:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [15:04:32]wFMCommunicate OK [15:04:32]requested_item fd.num is exist - process it [15:04:32]SAM_PROTO_GetFieldsCounters [15:04:32]wFMCommunicate request_size=4 [15:04:32]MH_SAM_APDU [15:04:32]CAPDU: 80 13 00 00 [15:04:32]Write to MH i2c: E2 08 00 F5 1A 80 13 00 00 00 00 00 00 8B [15:04:32]Write i2c OK [15:04:32]MH_I2C_Read... [15:04:32]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:04:32]Read from MH i2c: E2 [15:04:32]MH_I2C_Read... [15:04:32]Read from MH i2c: E2 62 00 [15:04:32]MH_I2C_Read... [15:04:32]Read from MH i2c: E2 62 00 F5 1A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 34 87 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 26 00 00 00 5E 04 04 00 26 00 00 00 57 04 04 00 27 00 00 00 19 04 04 00 00 00 00 00 90 00 2A [15:04:32]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 34 87 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 26 00 00 00 5E 04 04 00 26 00 00 00 57 04 04 00 27 00 00 00 19 04 04 00 00 00 00 00 90 00 [15:04:32]wFMCommunicate OK [15:04:32]SAM_PROTO_GetFieldsCounters done [15:04:32]requested_item shift.num is exist - process it [15:04:32]requested_item shift.opened is exist - process it [15:04:32]req_shift_opened [15:04:32]FM_GetShiftState [15:04:32]SAM_PROTO_GetShiftState [15:04:32]wFMCommunicate request_size=4 [15:04:32]MH_SAM_APDU [15:04:32]CAPDU: 80 13 01 00 [15:04:32]Write to MH i2c: E2 08 00 F6 1A 80 13 01 00 00 00 00 00 8D [15:04:32]Write i2c OK [15:04:32]MH_I2C_Read... [15:04:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:04:32]Read from MH i2c: E2 [15:04:32]MH_I2C_Read... [15:04:32]Read from MH i2c: E2 0E 00 [15:04:32]MH_I2C_Read... [15:04:32]Read from MH i2c: E2 0E 00 F6 1A 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 47 [15:04:32]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [15:04:32]wFMCommunicate OK [15:04:32]SAM_PROTO_GetShiftState done [15:04:32]FM_GetShiftState done [15:04:32]req_shift_opened done [15:04:32]requested_item shift.open_date is exist - process it [15:04:32]req_shift_open_date [15:04:32]req_shift_open_date done [15:04:32]produce_requested_data done [15:04:32]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34612,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120} [15:04:32]process_action_free close_receipt [15:04:32]json_value_free [15:04:32]json_value_free done [15:04:32]process_json_proto returns [15:04:32]Send response to host [15:04:32]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34612,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120}}} [15:04:32]free response buf [15:04:32]execute_script done [15:04:32]execute_script returns [15:04:32]free content buf [15:04:32]Sock 9.Close socket [15:04:32]Sock 9.Thread stoped [15:04:35]OFD Sender: No OFD packet to send [15:04:39]accept exits with 7 [15:04:39]New connection [15:04:39]New thread 3067473252 created [15:04:39]Thread 3067616612 joined [15:04:39]Waiting for new connection... [15:04:39] Sock 7.Parse request [15:04:39]Sock 7.Check first char [15:04:39]Sock 7.First char is OK [15:04:39]request: POST /json_proto HTTP/1.0 [15:04:39]Method: POST [15:04:39]URL: /json_proto [15:04:39]Method is POST - this is cgi request [15:04:39]url: /json_proto [15:04:39]query_string will be loaded in cgi processing [15:04:39]execute_cgi json_proto POST (null) [15:04:39]execute_cgi path=json_proto method=POST [15:04:39]POST find Content-Length [15:04:39]Host: 172.17.38.134:8080 [15:04:39]Content-Length: 675 [15:04:39]Content-Type: application/json [15:04:39] [15:04:39]POST finish read [15:04:39]Found Content-Length = 675 [15:04:39]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184369", "tax_sys" : 0, "items" : [ { "code": "2000053020015", "name": "\u0411\u0443\u043C\u0430\u0436\u043D\u044B\u0435 \u0441\u0442\u0430\u043A\u0430\u043D\u044B 250\u043C\u043B 1\u0448\u0442", "price" : 7.00, "quantity" : 3.000, "sum" : 21.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 21.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:04:39]execute_script... [15:04: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)184369", "tax_sys" : 0, "items" : [ { "code": "2000053020015", "name": "\u0411\u0443\u043C\u0430\u0436\u043D\u044B\u0435 \u0441\u0442\u0430\u043A\u0430\u043D\u044B 250\u043C\u043B 1\u0448\u0442", "price" : 7.00, "quantity" : 3.000, "sum" : 21.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 21.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:04:39]POST & json_proto [15:04:39]process_json_proto [15:04:39]json parsed OK: [15:04:39]protocol is kg_v1.0 [15:04:39]action value=close_receipt [15:04:39]process_action close_receipt [15:04:39]cmd_close_receipt [15:04:39]MH_GetDate [15:04:39]Write to MH i2c: F0 00 00 F7 1A 00 [15:04:39]Write i2c OK [15:04:39]MH_I2C_Read... [15:04:39]Read from MH i2c: F0 [15:04:39]MH_I2C_Read... [15:04:39]Read from MH i2c: F0 09 00 [15:04:39]MH_I2C_Read... [15:04:39]Read from MH i2c: F0 09 00 F7 1A 00 0D E8 76 66 13 9C 7C 64 69 [15:04:39]GetLastDocTimeStamp 1719068674 [15:04:39]current date 1719068685 [15:04:39]FM_GetShiftState [15:04:39]SAM_PROTO_GetShiftState [15:04:39]wFMCommunicate request_size=4 [15:04:39]MH_SAM_APDU [15:04:39]CAPDU: 80 13 01 00 [15:04:39]Write to MH i2c: E2 08 00 F8 1A 80 13 01 00 00 00 00 00 8F [15:04:39]Write i2c OK [15:04:39]MH_I2C_Read... [15:04:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:04:39]Read from MH i2c: E2 [15:04:39]MH_I2C_Read... [15:04:39]Read from MH i2c: E2 0E 00 [15:04:39]MH_I2C_Read... [15:04:39]Read from MH i2c: E2 0E 00 F8 1A 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 49 [15:04:39]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [15:04:39]wFMCommunicate OK [15:04:39]SAM_PROTO_GetShiftState done [15:04:39]FM_GetShiftState done [15:04:39]opened in 1719016120 [15:04:39]opened+sec_in_day 1719102520 [15:04:39]quantity*price = 2100 [15:04:39]sum+1 = 2101 [15:04:39]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 21.00 НСП 1% : 0.19 НДС 12% : 2.23 Наличными: 21.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 39 22.06.2024 15:04 Смена: 327 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34613 ФПД: 193308226008440 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T150445&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34613&fm=193308226008440&tin=02508201610067®Number=0000000000092786&sum=2100 0 [15:04:40]StoreToDocumentArchive [15:04:40]shift 327 fd 34613 [15:04:40]save to /storage/0327/doc_00034613 [15:04:40]save last doc name /storage/0327/doc_00034613 to /storage/kkm_last_doc_name [15:04:40]save OK [15:04:40]Clear old archive folders... [15:04:40]ProcessDocumentItem done err = 0, tmpTLVsize=287 [15:04:40]tlvbuf is B6F7C980 [15:04:40]SAM_PROTO_ClearQueue [15:04:40]wFMCommunicate request_size=4 [15:04:40]MH_SAM_APDU [15:04:40]CAPDU: 80 09 00 00 [15:04:40]Write to MH i2c: E2 08 00 05 1B 80 09 00 00 00 00 00 00 92 [15:04:40]Write i2c OK [15:04:40]MH_I2C_Read... [15:04:40]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:04:40]Read from MH i2c: E2 [15:04:40]MH_I2C_Read... [15:04:40]Read from MH i2c: E2 03 00 [15:04:40]MH_I2C_Read... [15:04:40]Read from MH i2c: E2 03 00 05 1B 00 90 00 94 [15:04:40]RAPDU: 90 00 [15:04:40]wFMCommunicate OK [15:04:40]SAM_PROTO_ClearQueue done [15:04:40]KKMCreateOFDPacket [15:04:40]OFDProtocolAddRootSTLVToBuf [15:04:40]FM_MakeSignedData [15:04:40]FM_MakeSignedData [15:04:40]SAM_PROTO_SignData [15:04:40]wFMCommunicate request_size=4 [15:04:40]MH_SAM_APDU [15:04:40]CAPDU: 80 0D 01 02 [15:04:40]Write to MH i2c: E2 08 00 06 1B 80 0D 01 02 00 00 00 00 9A [15:04:40]Write i2c OK [15:04:40]MH_I2C_Read... [15:04:40]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:04:40]Read from MH i2c: E2 [15:04:40]MH_I2C_Read... [15:04:40]Read from MH i2c: E2 03 00 [15:04:40]MH_I2C_Read... [15:04:40]Read from MH i2c: E2 03 00 06 1B 00 90 00 95 [15:04:40]RAPDU: 90 00 [15:04:40]wFMCommunicate OK [15:04:40]wFMCommunicate request_size=255 [15:04:40]MH_SAM_APDU [15:04:40]CAPDU: 80 0D 02 02 FA 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 34 08 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 08 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DF 00 00 00 00 00 07 04 06 00 34 08 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 0D E8 76 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 32 [15:04:40]Write to MH i2c: E2 02 01 07 1B 80 0D 02 02 FA 00 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 34 08 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 08 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DF 00 00 00 00 00 07 04 06 00 34 08 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 0D E8 76 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 32 00 00 0A [15:04:40]Write i2c OK [15:04:40]MH_I2C_Read... [15:04:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:04:40]Read from MH i2c: E2 [15:04:40]MH_I2C_Read... [15:04:40]Read from MH i2c: E2 03 00 [15:04:40]MH_I2C_Read... [15:04:40]Read from MH i2c: E2 03 00 07 1B 00 90 00 96 [15:04:40]RAPDU: 90 00 [15:04:40]wFMCommunicate OK [15:04:40]wFMCommunicate request_size=46 [15:04:40]MH_SAM_APDU [15:04:40]CAPDU: 80 0D 02 02 29 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 35 87 00 00 35 04 06 00 AF D0 14 24 B5 78 [15:04:40]Write to MH i2c: E2 31 00 08 1B 80 0D 02 02 29 00 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 35 87 00 00 35 04 06 00 AF D0 14 24 B5 78 00 00 D2 [15:04:40]Write i2c OK [15:04:40]MH_I2C_Read... [15:04:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:04:40]Read from MH i2c: E2 [15:04:40]MH_I2C_Read... [15:04:40]Read from MH i2c: E2 03 00 [15:04:40]MH_I2C_Read... [15:04:40]Read from MH i2c: E2 03 00 08 1B 00 90 00 97 [15:04:40]RAPDU: 90 00 [15:04:40]wFMCommunicate OK [15:04:40]wFMCommunicate request_size=4 [15:04:40]MH_SAM_APDU [15:04:40]CAPDU: 80 0D 03 02 [15:04:40]Write to MH i2c: E2 08 00 09 1B 80 0D 03 02 00 00 00 00 9F [15:04:40]Write i2c OK [15:04:40]MH_I2C_Read... [15:04:40]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:04:40]Read from MH i2c: E2 [15:04:40]MH_I2C_Read... [15:04:40]Read from MH i2c: E2 0B 00 [15:04:40]MH_I2C_Read... [15:04:40]Read from MH i2c: E2 0B 00 09 1B 00 C0 F3 98 D4 C1 56 C2 3A 90 00 D2 [15:04:40]RAPDU: C0 F3 98 D4 C1 56 C2 3A 90 00 [15:04:40]wFMCommunicate OK [15:04:40]SAM_PROTO_SignData done [15:04:40]FM_MakeSignedData done [15:04:40]CreateOFDProtocolMessage [15:04:40]wFMCommunicate request_size=4 [15:04:40]MH_SAM_APDU [15:04:40]CAPDU: 80 11 00 00 [15:04:40]Write to MH i2c: E2 08 00 0A 1B 80 11 00 00 00 00 00 00 9F [15:04:40]Write i2c OK [15:04:40]MH_I2C_Read... [15:04:40]OFD Sender: No OFD packet to send [15:04:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:04:40]Read from MH i2c: E2 [15:04:40]MH_I2C_Read... [15:04:40]Read from MH i2c: E2 17 00 [15:04:40]MH_I2C_Read... [15:04:40]Read from MH i2c: E2 17 00 0A 1B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 F4 [15:04:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [15:04:41]wFMCommunicate OK [15:04:41]CreateOFDProtocolMessage done [15:04:41]OFDSenderStorePacket 34613 [15:04:41]StoreOFDPacket docnum=34613 [15:04:41]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 33 01 00 00 0A 3F 2B 01 1F 29 5A 03 01 00 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 34 08 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 08 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DF 00 00 00 00 00 07 04 06 00 34 08 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 0D E8 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 35 87 00 00 35 04 06 00 AF D0 14 24 B5 78 C0 F3 98 D4 C1 56 C2 3A [15:04:41]CheckFolder [15:04:41]dirname=/storage/ofd_packets [15:04:41]CheckFolder done [15:04:41]ProducePacketName [15:04:41]name=ofd_packets/00034613 [15:04:41]NVStorageSaveData ofd_packets/00034613 [15:04:41]File name is /storage/ofd_packets/00034613 [15:04:41]Write 337 bytes [15:04:41]NVStorageSaveData done [15:04:41]OFDSenderStorePacket done [15:04:41]KKMCreateOFDPacket done [15:04:41]NVStorageSaveData kkm_last_timestamp [15:04:41]File name is /storage/kkm_last_timestamp [15:04:41]Write 4 bytes [15:04:41]NVStorageSaveData done [15:04:41]ExternCall_PrintAddStr [15:04:41]wPrintStart [15:04:41]Write to MH i2c: 01 00 00 0B 1B 26 [15:04:41]Write i2c OK [15:04:41]MH_I2C_Read... [15:04:41]Read from MH i2c: 01 [15:04:41]MH_I2C_Read... [15:04:41]Read from MH i2c: 01 07 00 [15:04:41]MH_I2C_Read... [15:04:41]Read from MH i2c: 01 07 00 0B 1B 00 00 00 00 00 FF 0F 3B [15:04:41]RasterBufferAndPrint [15:04:41]line Счет N : (3)184369 [15:04:41]line ИНН: 02508201610067 [15:04:41]line Контрольно-Кассовый Чек [15:04:41]line ПРОДАЖА [15:04:41]line Товар: 2000053020015 [15:04:41]line Бумажные стаканы 250мл 1шт [15:04:41]line 3.000 * 7.00 [15:04:41]line = 21.00 [15:04:41]line НДС 12% НСП 1% [15:04:41]line > о реализуемом товаре [15:04:41]line ИТОГО: 21.00 [15:04:41]line НСП 1% : 0.19 [15:04:41]line НДС 12% : 2.23 [15:04:41]line Наличными: 21.00 [15:04:41]line Безнал.: 0.00 [15:04:41]line Место: АЗС № 120 "Партнер Нефть" [15:04:41]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [15:04:41]line СНО: Общий режим [15:04:41]line Чек 39 22.06.2024 15:04 [15:04:41]line Смена: 327 ФФД: 1.0 [15:04:41]line ЗНМ: 0300000172 [15:04:41]line РНМ: 0000000000092786 [15:04:41]line Версия ККМ: 001 [15:04:41]line ФМ: 0000000000875095 [15:04:41]line ФД: 34613 [15:04:41]line ФПД: 193308226008440 [15:04:41]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T150445&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34613&fm=193308226008440&tin=02508201610067®Number=0000000000092786&sum=2100 [15:04:41]line 0 [15:04:41]OFD Sender: Processing packet 34613 [packets to send 8, broken 7] [15:04:41]ProducePacketName [15:04:41]name=ofd_packets/00034613 [15:04:41]OFD Sender: To server: pG, [15:04:41]CommunicateWithHost lk.salyk.kg:30040 [15:04:41]ConnectInit lk.salyk.kg [15:04:41]written 0, free lines is 4095 [15:04:41]Connected sock=10 [15:04:41]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 33 01 00 00 0A 3F 2B 01 1F 29 5A 03 01 00 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 34 08 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 08 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DF 00 00 00 00 00 07 04 06 00 34 08 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 0D E8 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 35 87 00 00 35 04 06 00 AF D0 14 24 B5 78 C0 F3 98 D4 C1 56 C2 3A [15:04:41]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 A5 B7 47 00 17 42 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 35 87 00 00 F4 03 04 00 D0 8E 76 66 B6 04 01 00 00 F1 54 FA 28 88 F1 EC 47 [15:04:41]CommunicateWithHost err = 0 [15:04:41]CheckOFDResponse [15:04:41]1017 (14) - 77093643461234 [15:04:41]1041 (16) - 0000000000875095 [15:04:41]1040 (4) - 34613 [15:04:41]1012 (4) - 22.06.2024 08:44 [15:04:41]1206 (1) - 0 [15:04:41]OFD Sender: Remove packet 34613 [15:04:41]ProducePacketName [15:04:41]name=ofd_packets/00034613 [15:04:41]NVStorageDeleteData [15:04:41]Write to MH i2c: 01 00 00 34 1B 4F [15:04:41]Write i2c OK [15:04:41]MH_I2C_Read... [15:04:41]Read from MH i2c: 01 [15:04:41]MH_I2C_Read... [15:04:41]Read from MH i2c: 01 07 00 [15:04:41]MH_I2C_Read... [15:04:41]Read from MH i2c: 01 07 00 34 1B 00 00 00 00 00 E1 0C 43 [15:04:41]RasterBufferAndPrint [15:04:41]line [15:04:41]line [15:04:41]line [15:04:41]line [15:04:41]line [15:04:41]written 0, free lines is 3307 [15:04:41]MH_Cut [15:04:41]Write to MH i2c: D1 01 00 3B 1B 01 28 [15:04:41]Write i2c OK [15:04:41]MH_I2C_Read... [15:04:41]Read from MH i2c: D1 [15:04:41]MH_I2C_Read... [15:04:41]Read from MH i2c: D1 01 00 [15:04:41]MH_I2C_Read... [15:04:41]Read from MH i2c: D1 01 00 3B 1B 00 27 [15:04:41]Write to MH i2c: 01 00 00 3C 1B 57 [15:04:41]Write i2c OK [15:04:41]MH_I2C_Read... [15:04:42]OFD Sender: No OFD packet to send [15:04:42]*** Cut start [15:04:42]*** Partial cut [15:04:42]*** CUTSNS_PIN = 1 [15:04:42]*** CUTSNS_PIN = 0 [15:04:42]*** Brake cut motor [15:04:43]Read from MH i2c: 01 [15:04:43]MH_I2C_Read... [15:04:43]*** Stop cut motor [15:04:43]*** Cut end [15:04:43]Read from MH i2c: 01 07 00 [15:04:43]MH_I2C_Read... [15:04:43]Read from MH i2c: 01 07 00 3C 1B 00 00 00 00 00 FF 0F 6C [15:04:43]process_action close_receipt done [15:04:43]requested_data is exist [15:04:43]produce_requested_data [15:04:43]requested_item fm.sn is exist - process it [15:04:43]wFMCommunicate request_size=4 [15:04:43]MH_SAM_APDU [15:04:43]CAPDU: 80 11 00 00 [15:04:43]Write to MH i2c: E2 08 00 3D 1B 80 11 00 00 00 00 00 00 D2 [15:04:43]Write i2c OK [15:04:43]MH_I2C_Read... [15:04:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:04:43]Read from MH i2c: E2 [15:04:43]MH_I2C_Read... [15:04:43]Read from MH i2c: E2 17 00 [15:04:43]MH_I2C_Read... [15:04:43]Read from MH i2c: E2 17 00 3D 1B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 27 [15:04:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [15:04:43]wFMCommunicate OK [15:04:43]requested_item fd.num is exist - process it [15:04:43]SAM_PROTO_GetFieldsCounters [15:04:43]wFMCommunicate request_size=4 [15:04:43]MH_SAM_APDU [15:04:43]CAPDU: 80 13 00 00 [15:04:43]Write to MH i2c: E2 08 00 3E 1B 80 13 00 00 00 00 00 00 D5 [15:04:43]Write i2c OK [15:04:43]MH_I2C_Read... [15:04:43]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:04:43]Read from MH i2c: E2 [15:04:43]MH_I2C_Read... [15:04:43]Read from MH i2c: E2 62 00 [15:04:43]MH_I2C_Read... [15:04:43]Read from MH i2c: E2 62 00 3E 1B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 35 87 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 27 00 00 00 5E 04 04 00 27 00 00 00 57 04 04 00 28 00 00 00 19 04 04 00 00 00 00 00 90 00 78 [15:04:43]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 35 87 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 27 00 00 00 5E 04 04 00 27 00 00 00 57 04 04 00 28 00 00 00 19 04 04 00 00 00 00 00 90 00 [15:04:43]wFMCommunicate OK [15:04:43]SAM_PROTO_GetFieldsCounters done [15:04:43]requested_item shift.num is exist - process it [15:04:43]requested_item shift.opened is exist - process it [15:04:43]req_shift_opened [15:04:43]FM_GetShiftState [15:04:43]SAM_PROTO_GetShiftState [15:04:43]wFMCommunicate request_size=4 [15:04:43]MH_SAM_APDU [15:04:43]CAPDU: 80 13 01 00 [15:04:43]Write to MH i2c: E2 08 00 3F 1B 80 13 01 00 00 00 00 00 D7 [15:04:43]Write i2c OK [15:04:43]MH_I2C_Read... [15:04:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:04:43]Read from MH i2c: E2 [15:04:43]MH_I2C_Read... [15:04:43]Read from MH i2c: E2 0E 00 [15:04:43]MH_I2C_Read... [15:04:43]Read from MH i2c: E2 0E 00 3F 1B 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 91 [15:04:43]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [15:04:43]wFMCommunicate OK [15:04:43]SAM_PROTO_GetShiftState done [15:04:43]FM_GetShiftState done [15:04:43]req_shift_opened done [15:04:43]requested_item shift.open_date is exist - process it [15:04:43]req_shift_open_date [15:04:43]req_shift_open_date done [15:04:43]produce_requested_data done [15:04:43]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34613,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120} [15:04:43]process_action_free close_receipt [15:04:43]json_value_free [15:04:43]json_value_free done [15:04:43]process_json_proto returns [15:04:43]Send response to host [15:04:43]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34613,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120}}} [15:04:43]free response buf [15:04:43]execute_script done [15:04:43]execute_script returns [15:04:43]free content buf [15:04:43]Sock 7.Close socket [15:04:43]Sock 7.Thread stoped [15:04:47]OFD Sender: No OFD packet to send [15:04:52]OFD Sender: No OFD packet to send [15:04:57]OFD Sender: No OFD packet to send [15:05:02]OFD Sender: No OFD packet to send [15:05:07]OFD Sender: No OFD packet to send [15:05:12]OFD Sender: No OFD packet to send [15:05:17]OFD Sender: No OFD packet to send [15:05:22]OFD Sender: No OFD packet to send [15:05:27]OFD Sender: No OFD packet to send [15:05:32]OFD Sender: No OFD packet to send [15:05:37]OFD Sender: No OFD packet to send [15:05:42]OFD Sender: No OFD packet to send [15:05:47]OFD Sender: No OFD packet to send [15:05:52]OFD Sender: No OFD packet to send [15:05:57]OFD Sender: No OFD packet to send [15:06:02]OFD Sender: No OFD packet to send [15:06:07]OFD Sender: No OFD packet to send [15:06:12]OFD Sender: No OFD packet to send [15:06:17]OFD Sender: No OFD packet to send [15:06:22]OFD Sender: No OFD packet to send [15:06:27]OFD Sender: No OFD packet to send [15:06:32]OFD Sender: No OFD packet to send [15:06:37]OFD Sender: No OFD packet to send [15:06:42]OFD Sender: No OFD packet to send [15:06:47]OFD Sender: No OFD packet to send [15:06:52]OFD Sender: No OFD packet to send [15:06:57]OFD Sender: No OFD packet to send [15:07:02]OFD Sender: No OFD packet to send [15:07:07]OFD Sender: No OFD packet to send [15:07:12]OFD Sender: No OFD packet to send [15:07:17]OFD Sender: No OFD packet to send [15:07:22]OFD Sender: No OFD packet to send [15:07:27]OFD Sender: No OFD packet to send [15:07:32]OFD Sender: No OFD packet to send [15:07:37]OFD Sender: No OFD packet to send [15:07:42]OFD Sender: No OFD packet to send [15:07:47]OFD Sender: No OFD packet to send [15:07:52]OFD Sender: No OFD packet to send [15:07:57]OFD Sender: No OFD packet to send [15:08:02]OFD Sender: No OFD packet to send [15:08:07]OFD Sender: No OFD packet to send [15:08:12]OFD Sender: No OFD packet to send [15:08:17]OFD Sender: No OFD packet to send [15:08:22]OFD Sender: No OFD packet to send [15:08:27]OFD Sender: No OFD packet to send [15:08:32]OFD Sender: No OFD packet to send [15:08:37]OFD Sender: No OFD packet to send [15:08:42]OFD Sender: No OFD packet to send [15:08:47]OFD Sender: No OFD packet to send [15:08:52]OFD Sender: No OFD packet to send [15:08:57]OFD Sender: No OFD packet to send [15:09:02]OFD Sender: No OFD packet to send [15:09:07]OFD Sender: No OFD packet to send [15:09:11]accept exits with 9 [15:09:11]New connection [15:09:11]New thread 3067616612 created [15:09:11]Thread 3067473252 joined [15:09:11]Waiting for new connection... [15:09:11] Sock 9.Parse request [15:09:11]Sock 9.Check first char [15:09:11]Sock 9.First char is OK [15:09:11]request: POST /json_proto HTTP/1.0 [15:09:11]Method: POST [15:09:11]URL: /json_proto [15:09:11]Method is POST - this is cgi request [15:09:11]url: /json_proto [15:09:11]query_string will be loaded in cgi processing [15:09:11]execute_cgi json_proto POST (null) [15:09:11]execute_cgi path=json_proto method=POST [15:09:11]POST find Content-Length [15:09:11]Host: 172.17.38.134:8080 [15:09:11]Content-Length: 690 [15:09:11]Content-Type: application/json [15:09:11] [15:09:11]POST finish read [15:09:11]Found Content-Length = 690 [15:09:11]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184370", "tax_sys" : 0, "items" : [ { "code": "4870202521247", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 1,2 \u0447\u0435\u0440\u043D.\u043F\u0435\u0440\u0441\u0438\u043A", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 125.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:09:11]execute_script... [15:09:11]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)184370", "tax_sys" : 0, "items" : [ { "code": "4870202521247", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 1,2 \u0447\u0435\u0440\u043D.\u043F\u0435\u0440\u0441\u0438\u043A", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 125.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:09:11]POST & json_proto [15:09:11]process_json_proto [15:09:11]json parsed OK: [15:09:11]protocol is kg_v1.0 [15:09:11]action value=close_receipt [15:09:11]process_action close_receipt [15:09:11]cmd_close_receipt [15:09:11]MH_GetDate [15:09:11]Write to MH i2c: F0 00 00 40 1B 4A [15:09:11]Write i2c OK [15:09:11]MH_I2C_Read... [15:09:11]Read from MH i2c: F0 [15:09:11]MH_I2C_Read... [15:09:11]Read from MH i2c: F0 09 00 [15:09:11]MH_I2C_Read... [15:09:11]Read from MH i2c: F0 09 00 40 1B 00 1D E9 76 66 13 9C 7C 64 C4 [15:09:11]GetLastDocTimeStamp 1719068685 [15:09:11]current date 1719068957 [15:09:11]FM_GetShiftState [15:09:11]SAM_PROTO_GetShiftState [15:09:11]wFMCommunicate request_size=4 [15:09:11]MH_SAM_APDU [15:09:11]CAPDU: 80 13 01 00 [15:09:11]Write to MH i2c: E2 08 00 41 1B 80 13 01 00 00 00 00 00 D9 [15:09:11]Write i2c OK [15:09:11]MH_I2C_Read... [15:09:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:09:11]Read from MH i2c: E2 [15:09:11]MH_I2C_Read... [15:09:11]Read from MH i2c: E2 0E 00 [15:09:11]MH_I2C_Read... [15:09:11]Read from MH i2c: E2 0E 00 41 1B 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 93 [15:09:11]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [15:09:11]wFMCommunicate OK [15:09:11]SAM_PROTO_GetShiftState done [15:09:11]FM_GetShiftState done [15:09:11]opened in 1719016120 [15:09:11]opened+sec_in_day 1719102520 [15:09:11]quantity*price = 12500 [15:09:11]sum+1 = 12501 [15:09:11]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 125.00 НСП 1% : 1.11 НДС 12% : 13.27 Наличными: 125.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 40 22.06.2024 15:09 Смена: 327 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34614 ФПД: 141736607476518 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T150917&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34614&fm=141736607476518&tin=02508201610067®Number=0000000000092786&sum=12500 0 [15:09:12]StoreToDocumentArchive [15:09:12]shift 327 fd 34614 [15:09:12]save to /storage/0327/doc_00034614 [15:09:12]save last doc name /storage/0327/doc_00034614 to /storage/kkm_last_doc_name [15:09:12]save OK [15:09:12]Clear old archive folders... [15:09:12]ProcessDocumentItem done err = 0, tmpTLVsize=294 [15:09:12]tlvbuf is 01583E40 [15:09:12]SAM_PROTO_ClearQueue [15:09:12]wFMCommunicate request_size=4 [15:09:12]MH_SAM_APDU [15:09:12]CAPDU: 80 09 00 00 [15:09:12]Write to MH i2c: E2 08 00 4E 1B 80 09 00 00 00 00 00 00 DB [15:09:12]Write i2c OK [15:09:12]MH_I2C_Read... [15:09:12]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:09:12]Read from MH i2c: E2 [15:09:12]MH_I2C_Read... [15:09:12]Read from MH i2c: E2 03 00 [15:09:12]MH_I2C_Read... [15:09:12]Read from MH i2c: E2 03 00 4E 1B 00 90 00 DD [15:09:12]RAPDU: 90 00 [15:09:12]wFMCommunicate OK [15:09:12]SAM_PROTO_ClearQueue done [15:09:12]KKMCreateOFDPacket [15:09:12]OFDProtocolAddRootSTLVToBuf [15:09:12]FM_MakeSignedData [15:09:12]FM_MakeSignedData [15:09:12]SAM_PROTO_SignData [15:09:12]wFMCommunicate request_size=4 [15:09:12]MH_SAM_APDU [15:09:12]CAPDU: 80 0D 01 02 [15:09:12]Write to MH i2c: E2 08 00 4F 1B 80 0D 01 02 00 00 00 00 E3 [15:09:12]Write i2c OK [15:09:12]MH_I2C_Read... [15:09:12]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:09:12]OFD Sender: No OFD packet to send [15:09:12]Read from MH i2c: E2 [15:09:12]MH_I2C_Read... [15:09:12]Read from MH i2c: E2 03 00 [15:09:12]MH_I2C_Read... [15:09:12]Read from MH i2c: E2 03 00 4F 1B 00 90 00 DE [15:09:12]RAPDU: 90 00 [15:09:12]wFMCommunicate OK [15:09:12]wFMCommunicate request_size=255 [15:09:12]MH_SAM_APDU [15:09:12]CAPDU: 80 0D 02 02 FA 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 34 37 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D1 87 D0 B5 D1 80 D0 BD 2E D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 1D E9 76 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 [15:09:12]Write to MH i2c: E2 02 01 50 1B 80 0D 02 02 FA 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 34 37 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D1 87 D0 B5 D1 80 D0 BD 2E D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 1D E9 76 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 00 00 B8 [15:09:12]Write i2c OK [15:09:12]MH_I2C_Read... [15:09:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:09:12]Read from MH i2c: E2 [15:09:12]MH_I2C_Read... [15:09:12]Read from MH i2c: E2 03 00 [15:09:12]MH_I2C_Read... [15:09:12]Read from MH i2c: E2 03 00 50 1B 00 90 00 DF [15:09:12]RAPDU: 90 00 [15:09:12]wFMCommunicate OK [15:09:12]wFMCommunicate request_size=53 [15:09:12]MH_SAM_APDU [15:09:12]CAPDU: 80 0D 02 02 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 36 87 00 00 35 04 06 00 80 E8 A0 23 EB 26 [15:09:12]Write to MH i2c: E2 38 00 51 1B 80 0D 02 02 30 00 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 36 87 00 00 35 04 06 00 80 E8 A0 23 EB 26 00 00 DD [15:09:12]Write i2c OK [15:09:12]MH_I2C_Read... [15:09:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:09:12]Read from MH i2c: E2 [15:09:12]MH_I2C_Read... [15:09:12]Read from MH i2c: E2 03 00 [15:09:12]MH_I2C_Read... [15:09:12]Read from MH i2c: E2 03 00 51 1B 00 90 00 E0 [15:09:12]RAPDU: 90 00 [15:09:12]wFMCommunicate OK [15:09:12]wFMCommunicate request_size=4 [15:09:12]MH_SAM_APDU [15:09:12]CAPDU: 80 0D 03 02 [15:09:12]Write to MH i2c: E2 08 00 52 1B 80 0D 03 02 00 00 00 00 E8 [15:09:12]Write i2c OK [15:09:12]MH_I2C_Read... [15:09:12]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:09:12]Read from MH i2c: E2 [15:09:12]MH_I2C_Read... [15:09:12]Read from MH i2c: E2 0B 00 [15:09:12]MH_I2C_Read... [15:09:12]Read from MH i2c: E2 0B 00 52 1B 00 83 52 76 67 16 9F 7F E7 90 00 B6 [15:09:12]RAPDU: 83 52 76 67 16 9F 7F E7 90 00 [15:09:12]wFMCommunicate OK [15:09:12]SAM_PROTO_SignData done [15:09:12]FM_MakeSignedData done [15:09:12]CreateOFDProtocolMessage [15:09:12]wFMCommunicate request_size=4 [15:09:12]MH_SAM_APDU [15:09:12]CAPDU: 80 11 00 00 [15:09:12]Write to MH i2c: E2 08 00 53 1B 80 11 00 00 00 00 00 00 E8 [15:09:12]Write i2c OK [15:09:12]MH_I2C_Read... [15:09:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:09:12]Read from MH i2c: E2 [15:09:12]MH_I2C_Read... [15:09:12]Read from MH i2c: E2 17 00 [15:09:12]MH_I2C_Read... [15:09:12]Read from MH i2c: E2 17 00 53 1B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 3D [15:09:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [15:09:12]wFMCommunicate OK [15:09:12]CreateOFDProtocolMessage done [15:09:12]OFDSenderStorePacket 34614 [15:09:12]StoreOFDPacket docnum=34614 [15:09:12]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 3A 01 00 00 A7 92 32 01 D9 42 5A 03 01 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 34 37 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D1 87 D0 B5 D1 80 D0 BD 2E D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 1D E9 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 36 87 00 00 35 04 06 00 80 E8 A0 23 EB 26 83 52 76 67 16 9F 7F E7 [15:09:12]CheckFolder [15:09:12]dirname=/storage/ofd_packets [15:09:12]CheckFolder done [15:09:12]ProducePacketName [15:09:12]name=ofd_packets/00034614 [15:09:12]NVStorageSaveData ofd_packets/00034614 [15:09:12]File name is /storage/ofd_packets/00034614 [15:09:12]Write 344 bytes [15:09:12]NVStorageSaveData done [15:09:12]OFDSenderStorePacket done [15:09:12]KKMCreateOFDPacket done [15:09:12]NVStorageSaveData kkm_last_timestamp [15:09:12]File name is /storage/kkm_last_timestamp [15:09:12]Write 4 bytes [15:09:12]NVStorageSaveData done [15:09:12]ExternCall_PrintAddStr [15:09:12]wPrintStart [15:09:12]Write to MH i2c: 01 00 00 54 1B 6F [15:09:12]Write i2c OK [15:09:12]MH_I2C_Read... [15:09:12]Read from MH i2c: 01 [15:09:12]MH_I2C_Read... [15:09:12]Read from MH i2c: 01 07 00 [15:09:12]MH_I2C_Read... [15:09:12]Read from MH i2c: 01 07 00 54 1B 00 00 00 00 00 FF 0F 84 [15:09:12]RasterBufferAndPrint [15:09:12]line Счет N : (3)184370 [15:09:12]line ИНН: 02508201610067 [15:09:12]line Контрольно-Кассовый Чек [15:09:12]line ПРОДАЖА [15:09:12]line Товар: 4870202521247 [15:09:12]line Напиток MAXI чай 1,2 черн.персик [15:09:12]line 1.000 * 125.00 [15:09:12]line = 125.00 [15:09:12]line НДС 12% НСП 1% [15:09:12]line > о реализуемом товаре [15:09:12]line ИТОГО: 125.00 [15:09:12]line НСП 1% : 1.11 [15:09:12]line НДС 12% : 13.27 [15:09:12]line Наличными: 125.00 [15:09:12]line Безнал.: 0.00 [15:09:12]line Место: АЗС № 120 "Партнер Нефть" [15:09:12]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [15:09:12]line СНО: Общий режим [15:09:12]line Чек 40 22.06.2024 15:09 [15:09:12]line Смена: 327 ФФД: 1.0 [15:09:12]line ЗНМ: 0300000172 [15:09:12]line РНМ: 0000000000092786 [15:09:12]line Версия ККМ: 001 [15:09:12]line ФМ: 0000000000875095 [15:09:12]line ФД: 34614 [15:09:12]line ФПД: 141736607476518 [15:09:12]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T150917&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34614&fm=141736607476518&tin=02508201610067®Number=0000000000092786&sum=12500 [15:09:12]line 0 [15:09:12]written 0, free lines is 4095 [15:09:12]OFD Sender: Processing packet 34614 [packets to send 8, broken 7] [15:09:12]ProducePacketName [15:09:12]name=ofd_packets/00034614 [15:09:12]OFD Sender: To server: pG, [15:09:12]CommunicateWithHost lk.salyk.kg:30040 [15:09:12]ConnectInit lk.salyk.kg [15:09:13]Connected sock=10 [15:09:13]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 3A 01 00 00 A7 92 32 01 D9 42 5A 03 01 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 34 37 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D1 87 D0 B5 D1 80 D0 BD 2E D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 1D E9 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 36 87 00 00 35 04 06 00 80 E8 A0 23 EB 26 83 52 76 67 16 9F 7F E7 [15:09:13]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 38 8C 47 00 92 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 38 37 35 30 39 35 10 04 04 00 36 87 00 00 F4 03 04 00 E0 8F 76 66 B6 04 01 00 00 A7 3C 7B 97 A9 1C 01 BD [15:09:13]CommunicateWithHost err = 0 [15:09:13]CheckOFDResponse [15:09:13]1017 (14) - 77093643461234 [15:09:13]1041 (16) - 0000000000875095 [15:09:13]1040 (4) - 34614 [15:09:13]1012 (4) - 22.06.2024 08:48 [15:09:13]1206 (1) - 0 [15:09:13]OFD Sender: Remove packet 34614 [15:09:13]ProducePacketName [15:09:13]name=ofd_packets/00034614 [15:09:13]NVStorageDeleteData [15:09:13]Write to MH i2c: 01 00 00 7D 1B 98 [15:09:13]Write i2c OK [15:09:13]MH_I2C_Read... [15:09:13]Read from MH i2c: 01 [15:09:13]MH_I2C_Read... [15:09:13]Read from MH i2c: 01 07 00 [15:09:13]MH_I2C_Read... [15:09:13]Read from MH i2c: 01 07 00 7D 1B 00 00 00 00 00 E8 0C 93 [15:09:13]RasterBufferAndPrint [15:09:13]line [15:09:13]line [15:09:13]line [15:09:13]line [15:09:13]line [15:09:13]written 0, free lines is 3313 [15:09:13]MH_Cut [15:09:13]Write to MH i2c: D1 01 00 84 1B 01 71 [15:09:13]Write i2c OK [15:09:13]MH_I2C_Read... [15:09:13]Read from MH i2c: D1 [15:09:13]MH_I2C_Read... [15:09:13]Read from MH i2c: D1 01 00 [15:09:13]MH_I2C_Read... [15:09:13]Read from MH i2c: D1 01 00 84 1B 00 70 [15:09:13]Write to MH i2c: 01 00 00 85 1B A0 [15:09:13]Write i2c OK [15:09:13]MH_I2C_Read... [15:09:13]OFD Sender: No OFD packet to send [15:09:14]*** Cut start [15:09:14]*** Partial cut [15:09:14]*** CUTSNS_PIN = 1 [15:09:14]*** CUTSNS_PIN = 0 [15:09:14]*** Brake cut motor [15:09:14]Read from MH i2c: 01 [15:09:14]MH_I2C_Read... [15:09:14]*** Stop cut motor [15:09:14]Read from MH i2c: 01 07 00 [15:09:14]MH_I2C_Read... [15:09:14]*** Cut end [15:09:14]Read from MH i2c: 01 07 00 85 1B 00 00 00 00 00 FF 0F B5 [15:09:14]process_action close_receipt done [15:09:14]requested_data is exist [15:09:14]produce_requested_data [15:09:14]requested_item fm.sn is exist - process it [15:09:14]wFMCommunicate request_size=4 [15:09:14]MH_SAM_APDU [15:09:14]CAPDU: 80 11 00 00 [15:09:14]Write to MH i2c: E2 08 00 86 1B 80 11 00 00 00 00 00 00 1B [15:09:14]Write i2c OK [15:09:14]MH_I2C_Read... [15:09:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:09:14]Read from MH i2c: E2 [15:09:14]MH_I2C_Read... [15:09:14]Read from MH i2c: E2 17 00 [15:09:14]MH_I2C_Read... [15:09:14]Read from MH i2c: E2 17 00 86 1B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 70 [15:09:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [15:09:14]wFMCommunicate OK [15:09:14]requested_item fd.num is exist - process it [15:09:14]SAM_PROTO_GetFieldsCounters [15:09:14]wFMCommunicate request_size=4 [15:09:14]MH_SAM_APDU [15:09:14]CAPDU: 80 13 00 00 [15:09:14]Write to MH i2c: E2 08 00 87 1B 80 13 00 00 00 00 00 00 1E [15:09:14]Write i2c OK [15:09:14]MH_I2C_Read... [15:09:14]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:09:14]Read from MH i2c: E2 [15:09:14]MH_I2C_Read... [15:09:14]Read from MH i2c: E2 62 00 [15:09:14]MH_I2C_Read... [15:09:14]Read from MH i2c: E2 62 00 87 1B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 36 87 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 28 00 00 00 5E 04 04 00 28 00 00 00 57 04 04 00 29 00 00 00 19 04 04 00 00 00 00 00 90 00 C5 [15:09:14]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 36 87 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 28 00 00 00 5E 04 04 00 28 00 00 00 57 04 04 00 29 00 00 00 19 04 04 00 00 00 00 00 90 00 [15:09:14]wFMCommunicate OK [15:09:14]SAM_PROTO_GetFieldsCounters done [15:09:14]requested_item shift.num is exist - process it [15:09:14]requested_item shift.opened is exist - process it [15:09:14]req_shift_opened [15:09:14]FM_GetShiftState [15:09:14]SAM_PROTO_GetShiftState [15:09:14]wFMCommunicate request_size=4 [15:09:14]MH_SAM_APDU [15:09:14]CAPDU: 80 13 01 00 [15:09:14]Write to MH i2c: E2 08 00 88 1B 80 13 01 00 00 00 00 00 20 [15:09:14]Write i2c OK [15:09:14]MH_I2C_Read... [15:09:15]Read from MH i2c: E2 [15:09:15]MH_I2C_Read... [15:09:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:09:15]Read from MH i2c: E2 0E 00 [15:09:15]MH_I2C_Read... [15:09:15]Read from MH i2c: E2 0E 00 88 1B 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 DA [15:09:15]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [15:09:15]wFMCommunicate OK [15:09:15]SAM_PROTO_GetShiftState done [15:09:15]FM_GetShiftState done [15:09:15]req_shift_opened done [15:09:15]requested_item shift.open_date is exist - process it [15:09:15]req_shift_open_date [15:09:15]req_shift_open_date done [15:09:15]produce_requested_data done [15:09:15]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34614,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120} [15:09:15]process_action_free close_receipt [15:09:15]json_value_free [15:09:15]json_value_free done [15:09:15]process_json_proto returns [15:09:15]Send response to host [15:09:15]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34614,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120}}} [15:09:15]free response buf [15:09:15]execute_script done [15:09:15]execute_script returns [15:09:15]free content buf [15:09:15]Sock 9.Close socket [15:09:15]Sock 9.Thread stoped [15:09:18]OFD Sender: No OFD packet to send [15:09:23]OFD Sender: No OFD packet to send [15:09:28]OFD Sender: No OFD packet to send [15:09:33]OFD Sender: No OFD packet to send [15:09:38]OFD Sender: No OFD packet to send [15:09:43]OFD Sender: No OFD packet to send [15:09:48]OFD Sender: No OFD packet to send [15:09:53]OFD Sender: No OFD packet to send [15:09:58]OFD Sender: No OFD packet to send [15:10:03]OFD Sender: No OFD packet to send [15:10:08]OFD Sender: No OFD packet to send [15:10:13]OFD Sender: No OFD packet to send [15:10:18]OFD Sender: No OFD packet to send [15:10:23]OFD Sender: No OFD packet to send [15:10:28]OFD Sender: No OFD packet to send [15:10:33]OFD Sender: No OFD packet to send [15:10:38]OFD Sender: No OFD packet to send [15:10:43]OFD Sender: No OFD packet to send [15:10:48]OFD Sender: No OFD packet to send [15:10:53]OFD Sender: No OFD packet to send [15:10:58]OFD Sender: No OFD packet to send [15:11:03]OFD Sender: No OFD packet to send [15:11:08]OFD Sender: No OFD packet to send [15:11:13]OFD Sender: No OFD packet to send [15:11:18]OFD Sender: No OFD packet to send [15:11:23]OFD Sender: No OFD packet to send [15:11:28]OFD Sender: No OFD packet to send [15:11:33]OFD Sender: No OFD packet to send [15:11:38]OFD Sender: No OFD packet to send [15:11:43]OFD Sender: No OFD packet to send [15:11:48]OFD Sender: No OFD packet to send [15:11:54]OFD Sender: No OFD packet to send [15:11:59]OFD Sender: No OFD packet to send [15:12:04]OFD Sender: No OFD packet to send [15:12:09]OFD Sender: No OFD packet to send [15:12:14]OFD Sender: No OFD packet to send [15:12:19]OFD Sender: No OFD packet to send [15:12:24]OFD Sender: No OFD packet to send [15:12:29]OFD Sender: No OFD packet to send [15:12:34]OFD Sender: No OFD packet to send [15:12:39]OFD Sender: No OFD packet to send [15:12:44]OFD Sender: No OFD packet to send [15:12:49]OFD Sender: No OFD packet to send [15:12:54]OFD Sender: No OFD packet to send [15:12:59]OFD Sender: No OFD packet to send [15:13:04]OFD Sender: No OFD packet to send [15:13:09]OFD Sender: No OFD packet to send [15:13:14]OFD Sender: No OFD packet to send [15:13:19]OFD Sender: No OFD packet to send [15:13:24]OFD Sender: No OFD packet to send [15:13:29]OFD Sender: No OFD packet to send [15:13:34]OFD Sender: No OFD packet to send [15:13:39]OFD Sender: No OFD packet to send [15:13:44]OFD Sender: No OFD packet to send [15:13:49]OFD Sender: No OFD packet to send [15:13:54]OFD Sender: No OFD packet to send [15:13:59]OFD Sender: No OFD packet to send [15:14:04]OFD Sender: No OFD packet to send [15:14:09]OFD Sender: No OFD packet to send [15:14:14]OFD Sender: No OFD packet to send [15:14:19]OFD Sender: No OFD packet to send [15:14:24]OFD Sender: No OFD packet to send [15:14:29]OFD Sender: No OFD packet to send [15:14:34]OFD Sender: No OFD packet to send [15:14:39]OFD Sender: No OFD packet to send [15:14:44]OFD Sender: No OFD packet to send [15:14:49]OFD Sender: No OFD packet to send [15:14:54]OFD Sender: No OFD packet to send [15:14:59]OFD Sender: No OFD packet to send [15:15:04]OFD Sender: No OFD packet to send [15:15:09]OFD Sender: No OFD packet to send [15:15:14]OFD Sender: No OFD packet to send [15:15:19]OFD Sender: No OFD packet to send [15:15:24]OFD Sender: No OFD packet to send [15:15:29]OFD Sender: No OFD packet to send [15:15:34]OFD Sender: No OFD packet to send [15:15:39]OFD Sender: No OFD packet to send [15:15:44]OFD Sender: No OFD packet to send [15:15:49]OFD Sender: No OFD packet to send [15:15:54]OFD Sender: No OFD packet to send [15:15:59]OFD Sender: No OFD packet to send [15:16:04]OFD Sender: No OFD packet to send [15:16:09]OFD Sender: No OFD packet to send [15:16:14]OFD Sender: No OFD packet to send [15:16:19]OFD Sender: No OFD packet to send [15:16:24]OFD Sender: No OFD packet to send [15:16:29]OFD Sender: No OFD packet to send [15:16:34]OFD Sender: No OFD packet to send [15:16:39]OFD Sender: No OFD packet to send [15:16:44]OFD Sender: No OFD packet to send [15:16:49]OFD Sender: No OFD packet to send [15:16:54]OFD Sender: No OFD packet to send [15:16:59]OFD Sender: No OFD packet to send [15:17:04]OFD Sender: No OFD packet to send [15:17:09]OFD Sender: No OFD packet to send [15:17:14]OFD Sender: No OFD packet to send [15:17:19]OFD Sender: No OFD packet to send [15:17:24]OFD Sender: No OFD packet to send [15:17:29]OFD Sender: No OFD packet to send [15:17:34]OFD Sender: No OFD packet to send [15:17:39]OFD Sender: No OFD packet to send [15:17:44]OFD Sender: No OFD packet to send [15:17:49]OFD Sender: No OFD packet to send [15:17:54]OFD Sender: No OFD packet to send [15:17:59]OFD Sender: No OFD packet to send [15:18:04]OFD Sender: No OFD packet to send [15:18:09]OFD Sender: No OFD packet to send [15:18:14]OFD Sender: No OFD packet to send [15:18:19]OFD Sender: No OFD packet to send [15:18:24]OFD Sender: No OFD packet to send [15:18:29]OFD Sender: No OFD packet to send [15:18:34]OFD Sender: No OFD packet to send [15:18:39]OFD Sender: No OFD packet to send [15:18:44]OFD Sender: No OFD packet to send [15:18:49]OFD Sender: No OFD packet to send [15:18:54]OFD Sender: No OFD packet to send [15:18:59]OFD Sender: No OFD packet to send [15:19:04]OFD Sender: No OFD packet to send [15:19:09]OFD Sender: No OFD packet to send [15:19:14]OFD Sender: No OFD packet to send [15:19:19]OFD Sender: No OFD packet to send [15:19:24]OFD Sender: No OFD packet to send [15:19:29]OFD Sender: No OFD packet to send [15:19:34]OFD Sender: No OFD packet to send [15:19:39]OFD Sender: No OFD packet to send [15:19:44]OFD Sender: No OFD packet to send [15:19:49]OFD Sender: No OFD packet to send [15:19:54]OFD Sender: No OFD packet to send [15:19:59]OFD Sender: No OFD packet to send [15:20:04]OFD Sender: No OFD packet to send [15:20:09]OFD Sender: No OFD packet to send [15:20:14]OFD Sender: No OFD packet to send [15:20:19]OFD Sender: No OFD packet to send [15:20:24]OFD Sender: No OFD packet to send [15:20:29]OFD Sender: No OFD packet to send [15:20:34]OFD Sender: No OFD packet to send [15:20:39]OFD Sender: No OFD packet to send [15:20:44]OFD Sender: No OFD packet to send [15:20:49]OFD Sender: No OFD packet to send [15:20:54]OFD Sender: No OFD packet to send [15:20:59]OFD Sender: No OFD packet to send [15:21:04]OFD Sender: No OFD packet to send [15:21:09]OFD Sender: No OFD packet to send [15:21:14]OFD Sender: No OFD packet to send [15:21:19]OFD Sender: No OFD packet to send [15:21:24]OFD Sender: No OFD packet to send [15:21:29]OFD Sender: No OFD packet to send [15:21:34]OFD Sender: No OFD packet to send [15:21:39]OFD Sender: No OFD packet to send [15:21:44]OFD Sender: No OFD packet to send [15:21:49]OFD Sender: No OFD packet to send [15:21:54]OFD Sender: No OFD packet to send [15:21:59]OFD Sender: No OFD packet to send [15:22:04]OFD Sender: No OFD packet to send [15:22:09]OFD Sender: No OFD packet to send [15:22:14]OFD Sender: No OFD packet to send [15:22:19]OFD Sender: No OFD packet to send [15:22:24]OFD Sender: No OFD packet to send [15:22:29]OFD Sender: No OFD packet to send [15:22:34]OFD Sender: No OFD packet to send [15:22:39]OFD Sender: No OFD packet to send [15:22:44]OFD Sender: No OFD packet to send [15:22:49]OFD Sender: No OFD packet to send [15:22:54]OFD Sender: No OFD packet to send [15:22:59]OFD Sender: No OFD packet to send [15:23:04]OFD Sender: No OFD packet to send [15:23:09]OFD Sender: No OFD packet to send [15:23:14]OFD Sender: No OFD packet to send [15:23:19]OFD Sender: No OFD packet to send [15:23:24]OFD Sender: No OFD packet to send [15:23:29]OFD Sender: No OFD packet to send [15:23:34]OFD Sender: No OFD packet to send [15:23:39]OFD Sender: No OFD packet to send [15:23:44]OFD Sender: No OFD packet to send [15:23:49]OFD Sender: No OFD packet to send [15:23:54]OFD Sender: No OFD packet to send [15:23:59]OFD Sender: No OFD packet to send [15:24:04]OFD Sender: No OFD packet to send [15:24:09]OFD Sender: No OFD packet to send [15:24:14]OFD Sender: No OFD packet to send [15:24:19]OFD Sender: No OFD packet to send [15:24:24]OFD Sender: No OFD packet to send [15:24:29]OFD Sender: No OFD packet to send [15:24:34]OFD Sender: No OFD packet to send [15:24:39]OFD Sender: No OFD packet to send [15:24:44]OFD Sender: No OFD packet to send [15:24:49]OFD Sender: No OFD packet to send [15:24:54]OFD Sender: No OFD packet to send [15:24:59]OFD Sender: No OFD packet to send [15:25:04]OFD Sender: No OFD packet to send [15:25:09]OFD Sender: No OFD packet to send [15:25:14]OFD Sender: No OFD packet to send [15:25:19]OFD Sender: No OFD packet to send [15:25:24]OFD Sender: No OFD packet to send [15:25:29]OFD Sender: No OFD packet to send [15:25:34]OFD Sender: No OFD packet to send [15:25:39]OFD Sender: No OFD packet to send [15:25:44]OFD Sender: No OFD packet to send [15:25:49]OFD Sender: No OFD packet to send [15:25:54]OFD Sender: No OFD packet to send [15:25:59]OFD Sender: No OFD packet to send [15:26:04]OFD Sender: No OFD packet to send [15:26:09]OFD Sender: No OFD packet to send [15:26:14]OFD Sender: No OFD packet to send [15:26:19]OFD Sender: No OFD packet to send [15:26:24]OFD Sender: No OFD packet to send [15:26:29]OFD Sender: No OFD packet to send [15:26:34]OFD Sender: No OFD packet to send [15:26:39]OFD Sender: No OFD packet to send [15:26:44]OFD Sender: No OFD packet to send [15:26:49]OFD Sender: No OFD packet to send [15:26:54]OFD Sender: No OFD packet to send [15:26:59]OFD Sender: No OFD packet to send [15:27:04]OFD Sender: No OFD packet to send [15:27:09]OFD Sender: No OFD packet to send [15:27:14]OFD Sender: No OFD packet to send [15:27:19]OFD Sender: No OFD packet to send [15:27:24]OFD Sender: No OFD packet to send [15:27:29]OFD Sender: No OFD packet to send [15:27:34]OFD Sender: No OFD packet to send [15:27:39]OFD Sender: No OFD packet to send [15:27:44]OFD Sender: No OFD packet to send [15:27:49]OFD Sender: No OFD packet to send [15:27:54]OFD Sender: No OFD packet to send [15:27:59]OFD Sender: No OFD packet to send [15:28:04]OFD Sender: No OFD packet to send [15:28:09]OFD Sender: No OFD packet to send [15:28:14]OFD Sender: No OFD packet to send [15:28:19]OFD Sender: No OFD packet to send [15:28:24]OFD Sender: No OFD packet to send [15:28:29]OFD Sender: No OFD packet to send [15:28:32]accept exits with 7 [15:28:32]New connection [15:28:32]New thread 3067473252 created [15:28:32]Thread 3067616612 joined [15:28:32]Waiting for new connection... [15:28:32] Sock 7.Parse request [15:28:32]Sock 7.Check first char [15:28:32]Sock 7.First char is OK [15:28:32]request: POST /json_proto HTTP/1.0 [15:28:32]Method: POST [15:28:32]URL: /json_proto [15:28:32]Method is POST - this is cgi request [15:28:32]url: /json_proto [15:28:32]query_string will be loaded in cgi processing [15:28:32]execute_cgi json_proto POST (null) [15:28:32]execute_cgi path=json_proto method=POST [15:28:32]POST find Content-Length [15:28:32]Host: 172.17.38.134:8080 [15:28:32]Content-Length: 621 [15:28:32]Content-Type: application/json [15:28:32] [15:28:32]POST finish read [15:28:32]Found Content-Length = 621 [15:28:32]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184371", "tax_sys" : 0, "items" : [ { "code": "48747059", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Legend Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:28:32]execute_script... [15:28:32]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184371", "tax_sys" : 0, "items" : [ { "code": "48747059", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Legend Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:28:32]POST & json_proto [15:28:32]process_json_proto [15:28:32]json parsed OK: [15:28:32]protocol is kg_v1.0 [15:28:32]action value=close_receipt [15:28:32]process_action close_receipt [15:28:32]cmd_close_receipt [15:28:32]MH_GetDate [15:28:32]Write to MH i2c: F0 00 00 89 1B 93 [15:28:32]Write i2c OK [15:28:32]MH_I2C_Read... [15:28:32]Read from MH i2c: F0 [15:28:32]MH_I2C_Read... [15:28:32]Read from MH i2c: F0 09 00 [15:28:32]MH_I2C_Read... [15:28:32]Read from MH i2c: F0 09 00 89 1B 00 A6 ED 76 66 13 9C 7C 64 9A [15:28:32]GetLastDocTimeStamp 1719068957 [15:28:32]current date 1719070118 [15:28:32]FM_GetShiftState [15:28:32]SAM_PROTO_GetShiftState [15:28:32]wFMCommunicate request_size=4 [15:28:32]MH_SAM_APDU [15:28:32]CAPDU: 80 13 01 00 [15:28:32]Write to MH i2c: E2 08 00 8A 1B 80 13 01 00 00 00 00 00 22 [15:28:32]Write i2c OK [15:28:32]MH_I2C_Read... [15:28:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:28:32]Read from MH i2c: E2 [15:28:32]MH_I2C_Read... [15:28:32]Read from MH i2c: E2 0E 00 [15:28:32]MH_I2C_Read... [15:28:32]Read from MH i2c: E2 0E 00 8A 1B 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 DC [15:28:32]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [15:28:32]wFMCommunicate OK [15:28:32]SAM_PROTO_GetShiftState done [15:28:32]FM_GetShiftState done [15:28:32]opened in 1719016120 [15:28:32]opened+sec_in_day 1719102520 [15:28:32]quantity*price = 14000 [15:28:32]sum+1 = 14001 [15:28:32]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 140.00 НСП 1% : 1.24 НДС 12% : 14.87 Наличными: 140.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 41 22.06.2024 15:28 Смена: 327 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34615 ФПД: 23789974073724 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T152838&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34615&fm=23789974073724&tin=02508201610067®Number=0000000000092786&sum=14000 0 [15:28:33]StoreToDocumentArchive [15:28:33]shift 327 fd 34615 [15:28:33]save to /storage/0327/doc_00034615 [15:28:33]save last doc name /storage/0327/doc_00034615 to /storage/kkm_last_doc_name [15:28:33]save OK [15:28:33]Clear old archive folders... [15:28:33]ProcessDocumentItem done err = 0, tmpTLVsize=273 [15:28:33]tlvbuf is B6F7C990 [15:28:33]SAM_PROTO_ClearQueue [15:28:33]wFMCommunicate request_size=4 [15:28:33]MH_SAM_APDU [15:28:33]CAPDU: 80 09 00 00 [15:28:33]Write to MH i2c: E2 08 00 97 1B 80 09 00 00 00 00 00 00 24 [15:28:33]Write i2c OK [15:28:33]MH_I2C_Read... [15:28:33]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:28:33]Read from MH i2c: E2 [15:28:33]MH_I2C_Read... [15:28:33]Read from MH i2c: E2 03 00 [15:28:33]MH_I2C_Read... [15:28:33]Read from MH i2c: E2 03 00 97 1B 00 90 00 26 [15:28:33]RAPDU: 90 00 [15:28:33]wFMCommunicate OK [15:28:33]SAM_PROTO_ClearQueue done [15:28:33]KKMCreateOFDPacket [15:28:33]OFDProtocolAddRootSTLVToBuf [15:28:33]FM_MakeSignedData [15:28:33]FM_MakeSignedData [15:28:33]SAM_PROTO_SignData [15:28:33]wFMCommunicate request_size=4 [15:28:33]MH_SAM_APDU [15:28:33]CAPDU: 80 0D 01 02 [15:28:33]Write to MH i2c: E2 08 00 98 1B 80 0D 01 02 00 00 00 00 2C [15:28:33]Write i2c OK [15:28:33]MH_I2C_Read... [15:28:33]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:28:33]Read from MH i2c: E2 [15:28:33]MH_I2C_Read... [15:28:33]Read from MH i2c: E2 03 00 [15:28:33]MH_I2C_Read... [15:28:33]Read from MH i2c: E2 03 00 98 1B 00 90 00 27 [15:28:33]RAPDU: 90 00 [15:28:33]wFMCommunicate OK [15:28:33]wFMCommunicate request_size=255 [15:28:33]MH_SAM_APDU [15:28:33]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 A6 ED 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 [15:28:33]Write to MH i2c: E2 02 01 99 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 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 29 00 00 00 F4 03 04 00 A6 ED 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 00 00 F4 [15:28:33]Write i2c OK [15:28:33]MH_I2C_Read... [15:28:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:28:33]Read from MH i2c: E2 [15:28:33]MH_I2C_Read... [15:28:33]Read from MH i2c: E2 03 00 [15:28:33]MH_I2C_Read... [15:28:33]Read from MH i2c: E2 03 00 99 1B 00 90 00 28 [15:28:33]RAPDU: 90 00 [15:28:33]wFMCommunicate OK [15:28:33]wFMCommunicate request_size=32 [15:28:33]MH_SAM_APDU [15:28:33]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 35 30 39 35 10 04 04 00 37 87 00 00 35 04 06 00 15 A3 08 F4 31 7C [15:28:33]Write to MH i2c: E2 23 00 9A 1B 80 0D 02 02 1B 00 30 30 30 38 37 35 30 39 35 10 04 04 00 37 87 00 00 35 04 06 00 15 A3 08 F4 31 7C 00 00 AD [15:28:33]Write i2c OK [15:28:33]MH_I2C_Read... [15:28:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:28:33]Read from MH i2c: E2 [15:28:33]MH_I2C_Read... [15:28:33]Read from MH i2c: E2 03 00 [15:28:33]MH_I2C_Read... [15:28:33]Read from MH i2c: E2 03 00 9A 1B 00 90 00 29 [15:28:33]RAPDU: 90 00 [15:28:33]wFMCommunicate OK [15:28:33]wFMCommunicate request_size=4 [15:28:33]MH_SAM_APDU [15:28:33]CAPDU: 80 0D 03 02 [15:28:33]Write to MH i2c: E2 08 00 9B 1B 80 0D 03 02 00 00 00 00 31 [15:28:33]Write i2c OK [15:28:33]MH_I2C_Read... [15:28:33]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:28:33]Read from MH i2c: E2 [15:28:33]MH_I2C_Read... [15:28:33]Read from MH i2c: E2 0B 00 [15:28:33]MH_I2C_Read... [15:28:33]Read from MH i2c: E2 0B 00 9B 1B 00 B3 AB 14 AB 0C 12 15 E6 90 00 68 [15:28:33]RAPDU: B3 AB 14 AB 0C 12 15 E6 90 00 [15:28:33]wFMCommunicate OK [15:28:33]SAM_PROTO_SignData done [15:28:33]FM_MakeSignedData done [15:28:33]CreateOFDProtocolMessage [15:28:33]wFMCommunicate request_size=4 [15:28:33]MH_SAM_APDU [15:28:33]CAPDU: 80 11 00 00 [15:28:33]Write to MH i2c: E2 08 00 9C 1B 80 11 00 00 00 00 00 00 31 [15:28:33]Write i2c OK [15:28:33]MH_I2C_Read... [15:28:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:28:33]Read from MH i2c: E2 [15:28:33]MH_I2C_Read... [15:28:33]Read from MH i2c: E2 17 00 [15:28:33]MH_I2C_Read... [15:28:33]Read from MH i2c: E2 17 00 9C 1B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 86 [15:28:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [15:28:33]wFMCommunicate OK [15:28:33]CreateOFDProtocolMessage done [15:28:33]OFDSenderStorePacket 34615 [15:28:33]StoreOFDPacket docnum=34615 [15:28:33]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 25 01 00 00 CF D0 1D 01 68 15 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 A6 ED 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 37 87 00 00 35 04 06 00 15 A3 08 F4 31 7C B3 AB 14 AB 0C 12 15 E6 [15:28:33]CheckFolder [15:28:33]dirname=/storage/ofd_packets [15:28:33]CheckFolder done [15:28:33]ProducePacketName [15:28:33]name=ofd_packets/00034615 [15:28:33]NVStorageSaveData ofd_packets/00034615 [15:28:33]File name is /storage/ofd_packets/00034615 [15:28:33]Write 323 bytes [15:28:33]NVStorageSaveData done [15:28:33]OFDSenderStorePacket done [15:28:33]KKMCreateOFDPacket done [15:28:33]NVStorageSaveData kkm_last_timestamp [15:28:33]File name is /storage/kkm_last_timestamp [15:28:33]Write 4 bytes [15:28:33]NVStorageSaveData done [15:28:33]ExternCall_PrintAddStr [15:28:33]wPrintStart [15:28:33]Write to MH i2c: 01 00 00 9D 1B B8 [15:28:33]Write i2c OK [15:28:33]MH_I2C_Read... [15:28:33]Read from MH i2c: 01 [15:28:33]MH_I2C_Read... [15:28:33]Read from MH i2c: 01 07 00 [15:28:33]MH_I2C_Read... [15:28:33]Read from MH i2c: 01 07 00 9D 1B 00 00 00 00 00 FF 0F CD [15:28:33]RasterBufferAndPrint [15:28:33]line Счет N : (3)184371 [15:28:33]line ИНН: 02508201610067 [15:28:33]line Контрольно-Кассовый Чек [15:28:33]line ПРОДАЖА [15:28:33]line Товар: 48747059 [15:28:33]line Сигареты Winston Legend Blue [15:28:33]line 1.000 * 140.00 [15:28:33]line = 140.00 [15:28:33]line НДС 12% НСП 1% [15:28:33]line > о реализуемом товаре [15:28:33]line ИТОГО: 140.00 [15:28:33]line НСП 1% : 1.24 [15:28:33]line НДС 12% : 14.87 [15:28:33]line Наличными: 140.00 [15:28:33]line Безнал.: 0.00 [15:28:33]line Место: АЗС № 120 "Партнер Нефть" [15:28:33]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [15:28:33]line СНО: Общий режим [15:28:33]line Чек 41 22.06.2024 15:28 [15:28:33]line Смена: 327 ФФД: 1.0 [15:28:33]line ЗНМ: 0300000172 [15:28:34]line РНМ: 0000000000092786 [15:28:34]line Версия ККМ: 001 [15:28:34]line ФМ: 0000000000875095 [15:28:34]line ФД: 34615 [15:28:34]line ФПД: 23789974073724 [15:28:34]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T152838&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34615&fm=23789974073724&tin=02508201610067®Number=0000000000092786&sum=14000 [15:28:34]line 0 [15:28:34]OFD Sender: Processing packet 34615 [packets to send 8, broken 7] [15:28:34]ProducePacketName [15:28:34]name=ofd_packets/00034615 [15:28:34]OFD Sender: To server: pG, [15:28:34]CommunicateWithHost lk.salyk.kg:30040 [15:28:34]ConnectInit lk.salyk.kg [15:28:34]written 0, free lines is 4095 [15:28:34]Connected sock=10 [15:28:34]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 25 01 00 00 CF D0 1D 01 68 15 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 A6 ED 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 37 87 00 00 35 04 06 00 15 A3 08 F4 31 7C B3 AB 14 AB 0C 12 15 E6 [15:28:34]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 4C 62 47 00 55 BC A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 37 87 00 00 F4 03 04 00 69 94 76 66 B6 04 01 00 00 1B 9C 6E CB F1 44 60 C4 [15:28:34]CommunicateWithHost err = 0 [15:28:34]CheckOFDResponse [15:28:34]1017 (14) - 77093643461234 [15:28:34]1041 (16) - 0000000000875095 [15:28:34]1040 (4) - 34615 [15:28:34]1012 (4) - 22.06.2024 09:07 [15:28:34]1206 (1) - 0 [15:28:34]OFD Sender: Remove packet 34615 [15:28:34]ProducePacketName [15:28:34]name=ofd_packets/00034615 [15:28:34]NVStorageDeleteData [15:28:34]Write to MH i2c: 01 00 00 C6 1B E1 [15:28:34]Write i2c OK [15:28:34]MH_I2C_Read... [15:28:34]Read from MH i2c: 01 [15:28:34]MH_I2C_Read... [15:28:34]Read from MH i2c: 01 07 00 [15:28:34]MH_I2C_Read... [15:28:34]Read from MH i2c: 01 07 00 C6 1B 00 00 00 00 00 D2 0C C6 [15:28:34]RasterBufferAndPrint [15:28:34]line [15:28:34]line [15:28:34]line [15:28:34]line [15:28:34]line [15:28:34]written 0, free lines is 3288 [15:28:34]MH_Cut [15:28:34]Write to MH i2c: D1 01 00 CD 1B 01 BA [15:28:34]Write i2c OK [15:28:34]MH_I2C_Read... [15:28:34]Read from MH i2c: D1 [15:28:34]MH_I2C_Read... [15:28:34]Read from MH i2c: D1 01 00 [15:28:34]MH_I2C_Read... [15:28:34]Read from MH i2c: D1 01 00 CD 1B 00 B9 [15:28:34]Write to MH i2c: 01 00 00 CE 1B E9 [15:28:34]Write i2c OK [15:28:34]MH_I2C_Read... [15:28:35]OFD Sender: No OFD packet to send [15:28:35]*** Cut start [15:28:35]*** Partial cut [15:28:35]*** CUTSNS_PIN = 1 [15:28:35]*** CUTSNS_PIN = 0 [15:28:35]*** Brake cut motor [15:28:35]Read from MH i2c: 01 [15:28:35]MH_I2C_Read... [15:28:35]*** Stop cut motor [15:28:35]*** Cut end [15:28:35]Read from MH i2c: 01 07 00 [15:28:35]MH_I2C_Read... [15:28:35]Read from MH i2c: 01 07 00 CE 1B 00 00 00 00 00 FF 0F FE [15:28:35]process_action close_receipt done [15:28:35]requested_data is exist [15:28:35]produce_requested_data [15:28:35]requested_item fm.sn is exist - process it [15:28:35]wFMCommunicate request_size=4 [15:28:35]MH_SAM_APDU [15:28:35]CAPDU: 80 11 00 00 [15:28:35]Write to MH i2c: E2 08 00 CF 1B 80 11 00 00 00 00 00 00 64 [15:28:36]Write i2c OK [15:28:36]MH_I2C_Read... [15:28:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:28:36]Read from MH i2c: E2 [15:28:36]MH_I2C_Read... [15:28:36]Read from MH i2c: E2 17 00 [15:28:36]MH_I2C_Read... [15:28:36]Read from MH i2c: E2 17 00 CF 1B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 B9 [15:28:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [15:28:36]wFMCommunicate OK [15:28:36]requested_item fd.num is exist - process it [15:28:36]SAM_PROTO_GetFieldsCounters [15:28:36]wFMCommunicate request_size=4 [15:28:36]MH_SAM_APDU [15:28:36]CAPDU: 80 13 00 00 [15:28:36]Write to MH i2c: E2 08 00 D0 1B 80 13 00 00 00 00 00 00 67 [15:28:36]Write i2c OK [15:28:36]MH_I2C_Read... [15:28:36]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:28:36]Read from MH i2c: E2 [15:28:36]MH_I2C_Read... [15:28:36]Read from MH i2c: E2 62 00 [15:28:36]MH_I2C_Read... [15:28:36]Read from MH i2c: E2 62 00 D0 1B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 37 87 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 29 00 00 00 5E 04 04 00 29 00 00 00 57 04 04 00 2A 00 00 00 19 04 04 00 00 00 00 00 90 00 12 [15:28:36]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 37 87 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 29 00 00 00 5E 04 04 00 29 00 00 00 57 04 04 00 2A 00 00 00 19 04 04 00 00 00 00 00 90 00 [15:28:36]wFMCommunicate OK [15:28:36]SAM_PROTO_GetFieldsCounters done [15:28:36]requested_item shift.num is exist - process it [15:28:36]requested_item shift.opened is exist - process it [15:28:36]req_shift_opened [15:28:36]FM_GetShiftState [15:28:36]SAM_PROTO_GetShiftState [15:28:36]wFMCommunicate request_size=4 [15:28:36]MH_SAM_APDU [15:28:36]CAPDU: 80 13 01 00 [15:28:36]Write to MH i2c: E2 08 00 D1 1B 80 13 01 00 00 00 00 00 69 [15:28:36]Write i2c OK [15:28:36]MH_I2C_Read... [15:28:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:28:36]Read from MH i2c: E2 [15:28:36]MH_I2C_Read... [15:28:36]Read from MH i2c: E2 0E 00 [15:28:36]MH_I2C_Read... [15:28:36]Read from MH i2c: E2 0E 00 D1 1B 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 23 [15:28:36]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [15:28:36]wFMCommunicate OK [15:28:36]SAM_PROTO_GetShiftState done [15:28:36]FM_GetShiftState done [15:28:36]req_shift_opened done [15:28:36]requested_item shift.open_date is exist - process it [15:28:36]req_shift_open_date [15:28:36]req_shift_open_date done [15:28:36]produce_requested_data done [15:28:36]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34615,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120} [15:28:36]process_action_free close_receipt [15:28:36]json_value_free [15:28:36]json_value_free done [15:28:36]process_json_proto returns [15:28:36]Send response to host [15:28:36]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34615,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120}}} [15:28:36]free response buf [15:28:36]execute_script done [15:28:36]execute_script returns [15:28:36]free content buf [15:28:36]Sock 7.Close socket [15:28:36]Sock 7.Thread stoped [15:28:40]OFD Sender: No OFD packet to send [15:28:45]OFD Sender: No OFD packet to send [15:28:50]OFD Sender: No OFD packet to send [15:28:55]OFD Sender: No OFD packet to send [15:29:00]OFD Sender: No OFD packet to send [15:29:05]OFD Sender: No OFD packet to send [15:29:10]OFD Sender: No OFD packet to send [15:29:15]OFD Sender: No OFD packet to send [15:29:20]OFD Sender: No OFD packet to send [15:29:25]OFD Sender: No OFD packet to send [15:29:30]OFD Sender: No OFD packet to send [15:29:35]OFD Sender: No OFD packet to send [15:29:40]OFD Sender: No OFD packet to send [15:29:45]OFD Sender: No OFD packet to send [15:29:50]OFD Sender: No OFD packet to send [15:29:55]OFD Sender: No OFD packet to send [15:30:00]OFD Sender: No OFD packet to send [15:30:05]OFD Sender: No OFD packet to send [15:30:10]OFD Sender: No OFD packet to send [15:30:15]OFD Sender: No OFD packet to send [15:30:20]OFD Sender: No OFD packet to send [15:30:25]OFD Sender: No OFD packet to send [15:30:30]OFD Sender: No OFD packet to send [15:30:35]OFD Sender: No OFD packet to send [15:30:40]OFD Sender: No OFD packet to send [15:30:45]OFD Sender: No OFD packet to send [15:30:50]OFD Sender: No OFD packet to send [15:30:55]OFD Sender: No OFD packet to send [15:31:00]OFD Sender: No OFD packet to send [15:31:05]OFD Sender: No OFD packet to send [15:31:10]OFD Sender: No OFD packet to send [15:31:15]OFD Sender: No OFD packet to send [15:31:20]OFD Sender: No OFD packet to send [15:31:25]OFD Sender: No OFD packet to send [15:31:30]OFD Sender: No OFD packet to send [15:31:35]OFD Sender: No OFD packet to send [15:31:40]OFD Sender: No OFD packet to send [15:31:45]OFD Sender: No OFD packet to send [15:31:50]OFD Sender: No OFD packet to send [15:31:55]OFD Sender: No OFD packet to send [15:32:00]OFD Sender: No OFD packet to send [15:32:05]OFD Sender: No OFD packet to send [15:32:10]OFD Sender: No OFD packet to send [15:32:15]OFD Sender: No OFD packet to send [15:32:20]OFD Sender: No OFD packet to send [15:32:25]OFD Sender: No OFD packet to send [15:32:30]OFD Sender: No OFD packet to send [15:32:35]OFD Sender: No OFD packet to send [15:32:40]OFD Sender: No OFD packet to send [15:32:45]OFD Sender: No OFD packet to send [15:32:47]accept exits with 9 [15:32:47]New connection [15:32:47]New thread 3067616612 created [15:32:47]Thread 3067473252 joined [15:32:47]Waiting for new connection... [15:32:47] Sock 9.Parse request [15:32:47]Sock 9.Check first char [15:32:47]Sock 9.First char is OK [15:32:47]request: POST /json_proto HTTP/1.0 [15:32:47]Method: POST [15:32:47]URL: /json_proto [15:32:47]Method is POST - this is cgi request [15:32:47]url: /json_proto [15:32:47]query_string will be loaded in cgi processing [15:32:47]execute_cgi json_proto POST (null) [15:32:47]execute_cgi path=json_proto method=POST [15:32:47]POST find Content-Length [15:32:47]Host: 172.17.38.134:8080 [15:32:47]Content-Length: 895 [15:32:47]Content-Type: application/json [15:32:47] [15:32:47]POST finish read [15:32:47]Found Content-Length = 895 [15:32:47]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184372", "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": "4700000160211", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 0,5\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 165.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:32:47]execute_script... [15:32:47]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184372", "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": "4700000160211", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 0,5\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 165.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:32:47]POST & json_proto [15:32:47]process_json_proto [15:32:47]json parsed OK: [15:32:47]protocol is kg_v1.0 [15:32:47]action value=close_receipt [15:32:47]process_action close_receipt [15:32:47]cmd_close_receipt [15:32:47]MH_GetDate [15:32:47]Write to MH i2c: F0 00 00 D2 1B DC [15:32:47]Write i2c OK [15:32:47]MH_I2C_Read... [15:32:47]Read from MH i2c: F0 [15:32:47]MH_I2C_Read... [15:32:47]Read from MH i2c: F0 09 00 [15:32:47]MH_I2C_Read... [15:32:47]Read from MH i2c: F0 09 00 D2 1B 00 A5 EE 76 66 13 9C 7C 64 E3 [15:32:47]GetLastDocTimeStamp 1719070118 [15:32:47]current date 1719070373 [15:32:47]FM_GetShiftState [15:32:47]SAM_PROTO_GetShiftState [15:32:47]wFMCommunicate request_size=4 [15:32:47]MH_SAM_APDU [15:32:47]CAPDU: 80 13 01 00 [15:32:47]Write to MH i2c: E2 08 00 D3 1B 80 13 01 00 00 00 00 00 6B [15:32:47]Write i2c OK [15:32:47]MH_I2C_Read... [15:32:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:32:47]Read from MH i2c: E2 [15:32:47]MH_I2C_Read... [15:32:47]Read from MH i2c: E2 0E 00 [15:32:47]MH_I2C_Read... [15:32:47]Read from MH i2c: E2 0E 00 D3 1B 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 25 [15:32:47]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [15:32:47]wFMCommunicate OK [15:32:47]SAM_PROTO_GetShiftState done [15:32:47]FM_GetShiftState done [15:32:47]opened in 1719016120 [15:32:47]opened+sec_in_day 1719102520 [15:32:47]quantity*price = 12500 [15:32:47]sum+1 = 12501 [15:32:47]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000160211 Вода Легенда 0,5л 1.000 * 40.00 = 40.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 165.00 НСП 1% : 1.46 НДС 12% : 17.52 Наличными: 165.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 42 22.06.2024 15:32 Смена: 327 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34616 ФПД: 169563397322516 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T153253&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34616&fm=169563397322516&tin=02508201610067®Number=0000000000092786&sum=16500 0 [15:32:48]StoreToDocumentArchive [15:32:48]shift 327 fd 34616 [15:32:48]save to /storage/0327/doc_00034616 [15:32:48]save last doc name /storage/0327/doc_00034616 to /storage/kkm_last_doc_name [15:32:48]save OK [15:32:48]Clear old archive folders... [15:32:48]ProcessDocumentItem done err = 0, tmpTLVsize=383 [15:32:48]tlvbuf is 015D8370 [15:32:48]SAM_PROTO_ClearQueue [15:32:48]wFMCommunicate request_size=4 [15:32:48]MH_SAM_APDU [15:32:48]CAPDU: 80 09 00 00 [15:32:48]Write to MH i2c: E2 08 00 E0 1B 80 09 00 00 00 00 00 00 6D [15:32:48]Write i2c OK [15:32:48]MH_I2C_Read... [15:32:48]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:32:48]Read from MH i2c: E2 [15:32:48]MH_I2C_Read... [15:32:48]Read from MH i2c: E2 03 00 [15:32:48]MH_I2C_Read... [15:32:48]Read from MH i2c: E2 03 00 E0 1B 00 90 00 6F [15:32:48]RAPDU: 90 00 [15:32:48]wFMCommunicate OK [15:32:48]SAM_PROTO_ClearQueue done [15:32:48]KKMCreateOFDPacket [15:32:48]OFDProtocolAddRootSTLVToBuf [15:32:48]FM_MakeSignedData [15:32:48]FM_MakeSignedData [15:32:48]SAM_PROTO_SignData [15:32:48]wFMCommunicate request_size=4 [15:32:48]MH_SAM_APDU [15:32:48]CAPDU: 80 0D 01 02 [15:32:48]Write to MH i2c: E2 08 00 E1 1B 80 0D 01 02 00 00 00 00 75 [15:32:48]Write i2c OK [15:32:48]MH_I2C_Read... [15:32:48]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:32:48]Read from MH i2c: E2 [15:32:48]MH_I2C_Read... [15:32:48]Read from MH i2c: E2 03 00 [15:32:48]MH_I2C_Read... [15:32:48]Read from MH i2c: E2 03 00 E1 1B 00 90 00 70 [15:32:48]RAPDU: 90 00 [15:32:48]wFMCommunicate OK [15:32:48]wFMCommunicate request_size=255 [15:32:48]MH_SAM_APDU [15:32:48]CAPDU: 80 0D 02 02 FA 03 00 7F 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 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 74 40 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 92 [15:32:48]Write to MH i2c: E2 02 01 E2 1B 80 0D 02 02 FA 00 03 00 7F 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 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 74 40 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 92 00 00 DE [15:32:48]Write i2c OK [15:32:48]MH_I2C_Read... [15:32:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:32:48]Read from MH i2c: E2 [15:32:48]MH_I2C_Read... [15:32:48]Read from MH i2c: E2 03 00 [15:32:48]MH_I2C_Read... [15:32:48]Read from MH i2c: E2 03 00 E2 1B 00 90 00 71 [15:32:48]RAPDU: 90 00 [15:32:48]wFMCommunicate OK [15:32:48]wFMCommunicate request_size=142 [15:32:48]MH_SAM_APDU [15:32:48]CAPDU: 80 0D 02 02 89 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D8 06 00 00 00 00 07 04 06 00 74 40 00 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 A5 EE 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 38 87 00 00 35 04 06 00 9A 37 8E 10 77 14 [15:32:48]Write to MH i2c: E2 91 00 E3 1B 80 0D 02 02 89 00 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D8 06 00 00 00 00 07 04 06 00 74 40 00 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 A5 EE 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 38 87 00 00 35 04 06 00 9A 37 8E 10 77 14 00 00 EC [15:32:48]Write i2c OK [15:32:48]MH_I2C_Read... [15:32:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:32:49]Read from MH i2c: E2 [15:32:49]MH_I2C_Read... [15:32:49]Read from MH i2c: E2 03 00 [15:32:49]MH_I2C_Read... [15:32:49]Read from MH i2c: E2 03 00 E3 1B 00 90 00 72 [15:32:49]RAPDU: 90 00 [15:32:49]wFMCommunicate OK [15:32:49]wFMCommunicate request_size=4 [15:32:49]MH_SAM_APDU [15:32:49]CAPDU: 80 0D 03 02 [15:32:49]Write to MH i2c: E2 08 00 E4 1B 80 0D 03 02 00 00 00 00 7A [15:32:49]Write i2c OK [15:32:49]MH_I2C_Read... [15:32:49]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:32:49]Read from MH i2c: E2 [15:32:49]MH_I2C_Read... [15:32:49]Read from MH i2c: E2 0B 00 [15:32:49]MH_I2C_Read... [15:32:49]Read from MH i2c: E2 0B 00 E4 1B 00 21 A1 12 CA 35 D6 00 98 90 00 BC [15:32:49]RAPDU: 21 A1 12 CA 35 D6 00 98 90 00 [15:32:49]wFMCommunicate OK [15:32:49]SAM_PROTO_SignData done [15:32:49]FM_MakeSignedData done [15:32:49]CreateOFDProtocolMessage [15:32:49]wFMCommunicate request_size=4 [15:32:49]MH_SAM_APDU [15:32:49]CAPDU: 80 11 00 00 [15:32:49]Write to MH i2c: E2 08 00 E5 1B 80 11 00 00 00 00 00 00 7A [15:32:49]Write i2c OK [15:32:49]MH_I2C_Read... [15:32:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:32:49]Read from MH i2c: E2 [15:32:49]MH_I2C_Read... [15:32:49]Read from MH i2c: E2 17 00 [15:32:49]MH_I2C_Read... [15:32:49]Read from MH i2c: E2 17 00 E5 1B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 CF [15:32:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [15:32:49]wFMCommunicate OK [15:32:49]CreateOFDProtocolMessage done [15:32:49]OFDSenderStorePacket 34616 [15:32:49]StoreOFDPacket docnum=34616 [15:32:49]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 93 01 00 00 B7 8E 8B 01 BA 4E 5A 03 01 00 03 00 7F 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 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 74 40 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 92 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D8 06 00 00 00 00 07 04 06 00 74 40 00 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 A5 EE 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 38 87 00 00 35 04 06 00 9A 37 8E 10 77 14 21 A1 12 CA 35 D6 00 98 [15:32:49]CheckFolder [15:32:49]dirname=/storage/ofd_packets [15:32:49]CheckFolder done [15:32:49]ProducePacketName [15:32:49]name=ofd_packets/00034616 [15:32:49]NVStorageSaveData ofd_packets/00034616 [15:32:49]File name is /storage/ofd_packets/00034616 [15:32:49]Write 433 bytes [15:32:49]NVStorageSaveData done [15:32:49]OFDSenderStorePacket done [15:32:49]KKMCreateOFDPacket done [15:32:49]NVStorageSaveData kkm_last_timestamp [15:32:49]File name is /storage/kkm_last_timestamp [15:32:49]Write 4 bytes [15:32:49]NVStorageSaveData done [15:32:49]ExternCall_PrintAddStr [15:32:49]wPrintStart [15:32:49]Write to MH i2c: 01 00 00 E6 1B 01 [15:32:49]Write i2c OK [15:32:49]MH_I2C_Read... [15:32:49]Read from MH i2c: 01 [15:32:49]MH_I2C_Read... [15:32:49]Read from MH i2c: 01 07 00 [15:32:49]MH_I2C_Read... [15:32:49]Read from MH i2c: 01 07 00 E6 1B 00 00 00 00 00 FF 0F 16 [15:32:49]RasterBufferAndPrint [15:32:49]line Счет N : (3)184372 [15:32:49]line ИНН: 02508201610067 [15:32:49]line Контрольно-Кассовый Чек [15:32:49]line ПРОДАЖА [15:32:49]line Товар: 2000036220012 [15:32:49]line Кофе Капучино XL(GABB TRADE) [15:32:49]line 1.000 * 125.00 [15:32:49]line = 125.00 [15:32:49]line НДС 12% НСП 1% [15:32:49]line > о реализуемом товаре [15:32:49]line Товар: 4700000160211 [15:32:49]line Вода Легенда 0,5л [15:32:49]line 1.000 * 40.00 [15:32:49]line = 40.00 [15:32:49]line НДС 12% НСП 1% [15:32:49]line > о реализуемом товаре [15:32:49]line ИТОГО: 165.00 [15:32:49]line НСП 1% : 1.46 [15:32:49]line НДС 12% : 17.52 [15:32:49]line Наличными: 165.00 [15:32:49]line Безнал.: 0.00 [15:32:49]line Место: АЗС № 120 "Партнер Нефть" [15:32:49]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [15:32:49]line СНО: Общий режим [15:32:49]line Чек 42 22.06.2024 15:32 [15:32:49]line Смена: 327 ФФД: 1.0 [15:32:49]line ЗНМ: 0300000172 [15:32:49]line РНМ: 0000000000092786 [15:32:49]line Версия ККМ: 001 [15:32:49]line ФМ: 0000000000875095 [15:32:49]line ФД: 34616 [15:32:49]line ФПД: 169563397322516 [15:32:49]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T153253&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34616&fm=169563397322516&tin=02508201610067®Number=0000000000092786&sum=16500 [15:32:49]OFD Sender: Processing packet 34616 [packets to send 8, broken 7] [15:32:49]ProducePacketName [15:32:49]name=ofd_packets/00034616 [15:32:49]OFD Sender: To server: pG, [15:32:49]CommunicateWithHost lk.salyk.kg:30040 [15:32:49]ConnectInit lk.salyk.kg [15:32:49]line 0 [15:32:49]written 0, free lines is 4095 [15:32:49]Connected sock=10 [15:32:49]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 93 01 00 00 B7 8E 8B 01 BA 4E 5A 03 01 00 03 00 7F 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 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 74 40 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 92 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D8 06 00 00 00 00 07 04 06 00 74 40 00 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 A5 EE 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 38 87 00 00 35 04 06 00 9A 37 8E 10 77 14 21 A1 12 CA 35 D6 00 98 [15:32:49]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 2A BF 47 00 19 D1 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 38 87 00 00 F4 03 04 00 68 95 76 66 B6 04 01 00 00 45 15 06 C7 A8 C8 86 3C [15:32:49]CommunicateWithHost err = 0 [15:32:49]CheckOFDResponse [15:32:49]1017 (14) - 77093643461234 [15:32:49]1041 (16) - 0000000000875095 [15:32:49]1040 (4) - 34616 [15:32:49]1012 (4) - 22.06.2024 09:12 [15:32:49]1206 (1) - 0 [15:32:49]OFD Sender: Remove packet 34616 [15:32:49]ProducePacketName [15:32:49]name=ofd_packets/00034616 [15:32:49]NVStorageDeleteData [15:32:49]Write to MH i2c: 01 00 00 15 1C 31 [15:32:49]Write i2c OK [15:32:49]MH_I2C_Read... [15:32:49]Read from MH i2c: 01 [15:32:49]MH_I2C_Read... [15:32:49]Read from MH i2c: 01 07 00 [15:32:49]MH_I2C_Read... [15:32:49]Read from MH i2c: 01 07 00 15 1C 00 00 00 00 00 95 0C D9 [15:32:49]RasterBufferAndPrint [15:32:49]line [15:32:49]line [15:32:49]line [15:32:49]line [15:32:49]line [15:32:49]written 0, free lines is 3232 [15:32:49]MH_Cut [15:32:49]Write to MH i2c: D1 01 00 1C 1C 01 0A [15:32:49]Write i2c OK [15:32:49]MH_I2C_Read... [15:32:49]Read from MH i2c: D1 [15:32:49]MH_I2C_Read... [15:32:49]Read from MH i2c: D1 01 00 [15:32:49]MH_I2C_Read... [15:32:49]Read from MH i2c: D1 01 00 1C 1C 00 09 [15:32:49]Write to MH i2c: 01 00 00 1D 1C 39 [15:32:49]Write i2c OK [15:32:49]MH_I2C_Read... [15:32:50]OFD Sender: No OFD packet to send [15:32:50]*** Cut start [15:32:50]*** Partial cut [15:32:50]*** CUTSNS_PIN = 1 [15:32:50]*** CUTSNS_PIN = 0 [15:32:51]*** Brake cut motor [15:32:51]Read from MH i2c: 01 [15:32:51]MH_I2C_Read... [15:32:51]*** Stop cut motor [15:32:51]*** Cut end [15:32:51]Read from MH i2c: 01 07 00 [15:32:51]MH_I2C_Read... [15:32:51]Read from MH i2c: 01 07 00 1D 1C 00 00 00 00 00 FF 0F 4E [15:32:51]process_action close_receipt done [15:32:51]requested_data is exist [15:32:51]produce_requested_data [15:32:51]requested_item fm.sn is exist - process it [15:32:51]wFMCommunicate request_size=4 [15:32:51]MH_SAM_APDU [15:32:51]CAPDU: 80 11 00 00 [15:32:51]Write to MH i2c: E2 08 00 1E 1C 80 11 00 00 00 00 00 00 B4 [15:32:51]Write i2c OK [15:32:51]MH_I2C_Read... [15:32:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:32:51]Read from MH i2c: E2 [15:32:51]MH_I2C_Read... [15:32:51]Read from MH i2c: E2 17 00 [15:32:51]MH_I2C_Read... [15:32:51]Read from MH i2c: E2 17 00 1E 1C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 09 [15:32:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [15:32:51]wFMCommunicate OK [15:32:51]requested_item fd.num is exist - process it [15:32:51]SAM_PROTO_GetFieldsCounters [15:32:51]wFMCommunicate request_size=4 [15:32:51]MH_SAM_APDU [15:32:51]CAPDU: 80 13 00 00 [15:32:51]Write to MH i2c: E2 08 00 1F 1C 80 13 00 00 00 00 00 00 B7 [15:32:51]Write i2c OK [15:32:51]MH_I2C_Read... [15:32:51]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:32:51]Read from MH i2c: E2 [15:32:51]MH_I2C_Read... [15:32:51]Read from MH i2c: E2 62 00 [15:32:51]MH_I2C_Read... [15:32:51]Read from MH i2c: E2 62 00 1F 1C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 38 87 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 2A 00 00 00 5E 04 04 00 2A 00 00 00 57 04 04 00 2B 00 00 00 19 04 04 00 00 00 00 00 90 00 66 [15:32:51]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 38 87 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 2A 00 00 00 5E 04 04 00 2A 00 00 00 57 04 04 00 2B 00 00 00 19 04 04 00 00 00 00 00 90 00 [15:32:51]wFMCommunicate OK [15:32:51]SAM_PROTO_GetFieldsCounters done [15:32:51]requested_item shift.num is exist - process it [15:32:51]requested_item shift.opened is exist - process it [15:32:51]req_shift_opened [15:32:51]FM_GetShiftState [15:32:51]SAM_PROTO_GetShiftState [15:32:51]wFMCommunicate request_size=4 [15:32:51]MH_SAM_APDU [15:32:51]CAPDU: 80 13 01 00 [15:32:51]Write to MH i2c: E2 08 00 20 1C 80 13 01 00 00 00 00 00 B9 [15:32:51]Write i2c OK [15:32:51]MH_I2C_Read... [15:32:51]Read from MH i2c: E2 [15:32:51]MH_I2C_Read... [15:32:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:32:51]Read from MH i2c: E2 0E 00 [15:32:51]MH_I2C_Read... [15:32:51]Read from MH i2c: E2 0E 00 20 1C 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 73 [15:32:51]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [15:32:51]wFMCommunicate OK [15:32:51]SAM_PROTO_GetShiftState done [15:32:51]FM_GetShiftState done [15:32:51]req_shift_opened done [15:32:51]requested_item shift.open_date is exist - process it [15:32:51]req_shift_open_date [15:32:51]req_shift_open_date done [15:32:51]produce_requested_data done [15:32:51]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34616,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120} [15:32:51]process_action_free close_receipt [15:32:51]json_value_free [15:32:51]json_value_free done [15:32:51]process_json_proto returns [15:32:51]Send response to host [15:32:51]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34616,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120}}} [15:32:51]free response buf [15:32:51]execute_script done [15:32:51]execute_script returns [15:32:51]free content buf [15:32:51]Sock 9.Close socket [15:32:51]Sock 9.Thread stoped [15:32:55]OFD Sender: No OFD packet to send [15:33:00]OFD Sender: No OFD packet to send [15:33:05]OFD Sender: No OFD packet to send [15:33:10]OFD Sender: No OFD packet to send [15:33:15]OFD Sender: No OFD packet to send [15:33:20]OFD Sender: No OFD packet to send [15:33:25]OFD Sender: No OFD packet to send [15:33:30]OFD Sender: No OFD packet to send [15:33:35]OFD Sender: No OFD packet to send [15:33:40]OFD Sender: No OFD packet to send [15:33:45]OFD Sender: No OFD packet to send [15:33:50]OFD Sender: No OFD packet to send [15:33:55]OFD Sender: No OFD packet to send [15:34:00]OFD Sender: No OFD packet to send [15:34:05]OFD Sender: No OFD packet to send [15:34:10]OFD Sender: No OFD packet to send [15:34:15]OFD Sender: No OFD packet to send [15:34:20]OFD Sender: No OFD packet to send [15:34:25]OFD Sender: No OFD packet to send [15:34:30]OFD Sender: No OFD packet to send [15:34:35]OFD Sender: No OFD packet to send [15:34:40]OFD Sender: No OFD packet to send [15:34:45]OFD Sender: No OFD packet to send [15:34:50]OFD Sender: No OFD packet to send [15:34:55]OFD Sender: No OFD packet to send [15:35:00]OFD Sender: No OFD packet to send [15:35:05]OFD Sender: No OFD packet to send [15:35:10]OFD Sender: No OFD packet to send [15:35:15]OFD Sender: No OFD packet to send [15:35:20]OFD Sender: No OFD packet to send [15:35:25]OFD Sender: No OFD packet to send [15:35:30]OFD Sender: No OFD packet to send [15:35:35]OFD Sender: No OFD packet to send [15:35:40]OFD Sender: No OFD packet to send [15:35:45]OFD Sender: No OFD packet to send [15:35:50]OFD Sender: No OFD packet to send [15:35:55]OFD Sender: No OFD packet to send [15:36:00]OFD Sender: No OFD packet to send [15:36:05]OFD Sender: No OFD packet to send [15:36:10]OFD Sender: No OFD packet to send [15:36:15]OFD Sender: No OFD packet to send [15:36:20]OFD Sender: No OFD packet to send [15:36:25]OFD Sender: No OFD packet to send [15:36:30]OFD Sender: No OFD packet to send [15:36:35]OFD Sender: No OFD packet to send [15:36:40]OFD Sender: No OFD packet to send [15:36:45]OFD Sender: No OFD packet to send [15:36:50]OFD Sender: No OFD packet to send [15:36:55]OFD Sender: No OFD packet to send [15:37:00]OFD Sender: No OFD packet to send [15:37:05]OFD Sender: No OFD packet to send [15:37:10]OFD Sender: No OFD packet to send [15:37:15]OFD Sender: No OFD packet to send [15:37:20]OFD Sender: No OFD packet to send [15:37:25]OFD Sender: No OFD packet to send [15:37:30]OFD Sender: No OFD packet to send [15:37:35]OFD Sender: No OFD packet to send [15:37:40]OFD Sender: No OFD packet to send [15:37:45]OFD Sender: No OFD packet to send [15:37:50]OFD Sender: No OFD packet to send [15:37:55]OFD Sender: No OFD packet to send [15:38:00]OFD Sender: No OFD packet to send [15:38:05]OFD Sender: No OFD packet to send [15:38:10]OFD Sender: No OFD packet to send [15:38:15]OFD Sender: No OFD packet to send [15:38:20]OFD Sender: No OFD packet to send [15:38:25]OFD Sender: No OFD packet to send [15:38:30]OFD Sender: No OFD packet to send [15:38:35]OFD Sender: No OFD packet to send [15:38:40]OFD Sender: No OFD packet to send [15:38:45]OFD Sender: No OFD packet to send [15:38:50]OFD Sender: No OFD packet to send [15:38:55]OFD Sender: No OFD packet to send [15:39:00]OFD Sender: No OFD packet to send [15:39:05]OFD Sender: No OFD packet to send [15:39:10]OFD Sender: No OFD packet to send [15:39:15]OFD Sender: No OFD packet to send [15:39:20]OFD Sender: No OFD packet to send [15:39:25]OFD Sender: No OFD packet to send [15:39:30]OFD Sender: No OFD packet to send [15:39:35]OFD Sender: No OFD packet to send [15:39:40]OFD Sender: No OFD packet to send [15:39:45]OFD Sender: No OFD packet to send [15:39:50]OFD Sender: No OFD packet to send [15:39:55]OFD Sender: No OFD packet to send [15:40:00]OFD Sender: No OFD packet to send [15:40:05]OFD Sender: No OFD packet to send [15:40:10]OFD Sender: No OFD packet to send [15:40:15]OFD Sender: No OFD packet to send [15:40:20]OFD Sender: No OFD packet to send [15:40:25]OFD Sender: No OFD packet to send [15:40:30]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:35]accept exits with 7 [15:41:35]New connection [15:41:35]New thread 3067473252 created [15:41:35]Thread 3067616612 joined [15:41:35]Waiting for new connection... [15:41:35] Sock 7.Parse request [15:41:35]Sock 7.Check first char [15:41:35]Sock 7.First char is OK [15:41:35]request: POST /json_proto HTTP/1.0 [15:41:35]Method: POST [15:41:35]URL: /json_proto [15:41:35]Method is POST - this is cgi request [15:41:35]url: /json_proto [15:41:35]query_string will be loaded in cgi processing [15:41:35]execute_cgi json_proto POST (null) [15:41:35]execute_cgi path=json_proto method=POST [15:41:35]POST find Content-Length [15:41:35]Host: 172.17.38.134:8080 [15:41:35]Content-Length: 677 [15:41:35]Content-Type: application/json [15:41:35] [15:41:35]POST finish read [15:41:35]Found Content-Length = 677 [15:41:35]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)673983", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 42", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.40, "quantity" : 4.520, "sum" : 300.13, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 300.00, "total" : 300.00, "payments": [ { "type": 0, "sum" : 300.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:41:35]execute_script... [15:41:35]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)673983", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 42", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.40, "quantity" : 4.520, "sum" : 300.13, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 300.00, "total" : 300.00, "payments": [ { "type": 0, "sum" : 300.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:41:35]POST & json_proto [15:41:35]process_json_proto [15:41:35]json parsed OK: [15:41:35]protocol is kg_v1.0 [15:41:35]action value=close_receipt [15:41:35]process_action close_receipt [15:41:35]cmd_close_receipt [15:41:35]MH_GetDate [15:41:35]Write to MH i2c: F0 00 00 21 1C 2C [15:41:35]Write i2c OK [15:41:35]MH_I2C_Read... [15:41:35]Read from MH i2c: F0 [15:41:35]MH_I2C_Read... [15:41:35]Read from MH i2c: F0 09 00 [15:41:35]MH_I2C_Read... [15:41:35]Read from MH i2c: F0 09 00 21 1C 00 B5 F0 76 66 13 9C 7C 64 45 [15:41:35]GetLastDocTimeStamp 1719070373 [15:41:35]current date 1719070901 [15:41:35]FM_GetShiftState [15:41:35]SAM_PROTO_GetShiftState [15:41:35]wFMCommunicate request_size=4 [15:41:35]MH_SAM_APDU [15:41:35]CAPDU: 80 13 01 00 [15:41:35]Write to MH i2c: E2 08 00 22 1C 80 13 01 00 00 00 00 00 BB [15:41:35]Write i2c OK [15:41:35]MH_I2C_Read... [15:41:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:41:35]Read from MH i2c: E2 [15:41:35]MH_I2C_Read... [15:41:35]Read from MH i2c: E2 0E 00 [15:41:35]MH_I2C_Read... [15:41:35]Read from MH i2c: E2 0E 00 22 1C 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 75 [15:41:35]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [15:41:35]wFMCommunicate OK [15:41:35]SAM_PROTO_GetShiftState done [15:41:35]FM_GetShiftState done [15:41:35]opened in 1719016120 [15:41:35]opened+sec_in_day 1719102520 [15:41:35]quantity*price = 30012 [15:41:35]sum+1 = 30014 [15:41:35]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.13 ИТОГО: 300.00 Внесено: 300.00 СДАЧА: 0.00 НСП 1% : 2.66 НДС 12% : 31.87 Наличными: 300.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 43 22.06.2024 15:41 Смена: 327 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34617 ФПД: 255473724810182 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T154141&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34617&fm=255473724810182&tin=02508201610067®Number=0000000000092786&sum=30000 [15:41:36]StoreToDocumentArchive [15:41:36]shift 327 fd 34617 [15:41:36]save to /storage/0327/doc_00034617 [15:41:36]save last doc name /storage/0327/doc_00034617 to /storage/kkm_last_doc_name [15:41:36]save OK [15:41:36]Clear old archive folders... [15:41:36]ProcessDocumentItem done err = 0, tmpTLVsize=251 [15:41:36]tlvbuf is 015EDB10 [15:41:36]SAM_PROTO_ClearQueue [15:41:36]wFMCommunicate request_size=4 [15:41:36]MH_SAM_APDU [15:41:36]CAPDU: 80 09 00 00 [15:41:36]Write to MH i2c: E2 08 00 2F 1C 80 09 00 00 00 00 00 00 BD [15:41:36]Write i2c OK [15:41:36]MH_I2C_Read... [15:41:37]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:41:37]Read from MH i2c: E2 [15:41:37]MH_I2C_Read... [15:41:37]Read from MH i2c: E2 03 00 [15:41:37]MH_I2C_Read... [15:41:37]Read from MH i2c: E2 03 00 2F 1C 00 90 00 BF [15:41:37]RAPDU: 90 00 [15:41:37]wFMCommunicate OK [15:41:37]SAM_PROTO_ClearQueue done [15:41:37]KKMCreateOFDPacket [15:41:37]OFDProtocolAddRootSTLVToBuf [15:41:37]FM_MakeSignedData [15:41:37]FM_MakeSignedData [15:41:37]SAM_PROTO_SignData [15:41:37]wFMCommunicate request_size=4 [15:41:37]MH_SAM_APDU [15:41:37]CAPDU: 80 0D 01 02 [15:41:37]Write to MH i2c: E2 08 00 30 1C 80 0D 01 02 00 00 00 00 C5 [15:41:37]Write i2c OK [15:41:37]MH_I2C_Read... [15:41:37]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:41:37]Read from MH i2c: E2 [15:41:37]MH_I2C_Read... [15:41:37]Read from MH i2c: E2 03 00 [15:41:37]MH_I2C_Read... [15:41:37]Read from MH i2c: E2 03 00 30 1C 00 90 00 C0 [15:41:37]RAPDU: 90 00 [15:41:37]wFMCommunicate OK [15:41:37]wFMCommunicate request_size=255 [15:41:37]MH_SAM_APDU [15:41:37]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 A8 11 00 00 00 00 00 37 04 06 00 F0 19 00 00 00 00 13 04 06 00 3D 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 73 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 B5 F0 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 39 87 00 00 35 04 06 00 E8 [15:41:37]Write to MH i2c: E2 02 01 31 1C 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 A8 11 00 00 00 00 00 37 04 06 00 F0 19 00 00 00 00 13 04 06 00 3D 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 73 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 B5 F0 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 39 87 00 00 35 04 06 00 E8 00 00 BC [15:41:37]Write i2c OK [15:41:37]MH_I2C_Read... [15:41:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:41:37]Read from MH i2c: E2 [15:41:37]MH_I2C_Read... [15:41:37]Read from MH i2c: E2 03 00 [15:41:37]MH_I2C_Read... [15:41:37]Read from MH i2c: E2 03 00 31 1C 00 90 00 C1 [15:41:37]RAPDU: 90 00 [15:41:37]wFMCommunicate OK [15:41:37]wFMCommunicate request_size=10 [15:41:37]MH_SAM_APDU [15:41:37]CAPDU: 80 0D 02 02 05 5A 1C 9D E3 C6 [15:41:37]Write to MH i2c: E2 0D 00 32 1C 80 0D 02 02 05 00 5A 1C 9D E3 C6 00 00 8E [15:41:37]Write i2c OK [15:41:37]MH_I2C_Read... [15:41:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:41:37]Read from MH i2c: E2 [15:41:37]MH_I2C_Read... [15:41:37]Read from MH i2c: E2 03 00 [15:41:37]MH_I2C_Read... [15:41:37]Read from MH i2c: E2 03 00 32 1C 00 90 00 C2 [15:41:37]RAPDU: 90 00 [15:41:37]wFMCommunicate OK [15:41:37]wFMCommunicate request_size=4 [15:41:37]MH_SAM_APDU [15:41:37]CAPDU: 80 0D 03 02 [15:41:37]Write to MH i2c: E2 08 00 33 1C 80 0D 03 02 00 00 00 00 CA [15:41:37]Write i2c OK [15:41:37]MH_I2C_Read... [15:41:37]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:41:37]Read from MH i2c: E2 [15:41:37]MH_I2C_Read... [15:41:37]Read from MH i2c: E2 0B 00 [15:41:37]MH_I2C_Read... [15:41:37]Read from MH i2c: E2 0B 00 33 1C 00 21 00 E7 E3 8E 1E 3B 7B 90 00 18 [15:41:37]RAPDU: 21 00 E7 E3 8E 1E 3B 7B 90 00 [15:41:37]wFMCommunicate OK [15:41:37]SAM_PROTO_SignData done [15:41:37]FM_MakeSignedData done [15:41:37]CreateOFDProtocolMessage [15:41:37]wFMCommunicate request_size=4 [15:41:37]MH_SAM_APDU [15:41:37]CAPDU: 80 11 00 00 [15:41:37]Write to MH i2c: E2 08 00 34 1C 80 11 00 00 00 00 00 00 CA [15:41:37]Write i2c OK [15:41:37]MH_I2C_Read... [15:41:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:41:37]Read from MH i2c: E2 [15:41:37]MH_I2C_Read... [15:41:37]Read from MH i2c: E2 17 00 [15:41:37]MH_I2C_Read... [15:41:37]Read from MH i2c: E2 17 00 34 1C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 1F [15:41:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [15:41:37]wFMCommunicate OK [15:41:37]CreateOFDProtocolMessage done [15:41:37]OFDSenderStorePacket 34617 [15:41:37]StoreOFDPacket docnum=34617 [15:41:37]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0F 01 00 00 12 1E 07 01 37 59 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 A8 11 00 00 00 00 00 37 04 06 00 F0 19 00 00 00 00 13 04 06 00 3D 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 73 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 B5 F0 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 39 87 00 00 35 04 06 00 E8 5A 1C 9D E3 C6 21 00 E7 E3 8E 1E 3B 7B [15:41:37]CheckFolder [15:41:37]dirname=/storage/ofd_packets [15:41:37]CheckFolder done [15:41:37]ProducePacketName [15:41:37]name=ofd_packets/00034617 [15:41:37]NVStorageSaveData ofd_packets/00034617 [15:41:37]File name is /storage/ofd_packets/00034617 [15:41:37]Write 301 bytes [15:41:37]NVStorageSaveData done [15:41:37]OFDSenderStorePacket done [15:41:37]KKMCreateOFDPacket done [15:41:37]NVStorageSaveData kkm_last_timestamp [15:41:37]File name is /storage/kkm_last_timestamp [15:41:37]Write 4 bytes [15:41:37]NVStorageSaveData done [15:41:37]ExternCall_PrintAddStr [15:41:37]wPrintStart [15:41:37]Write to MH i2c: 01 00 00 35 1C 51 [15:41:37]Write i2c OK [15:41:37]MH_I2C_Read... [15:41:37]Read from MH i2c: 01 [15:41:37]MH_I2C_Read... [15:41:37]Read from MH i2c: 01 07 00 [15:41:37]MH_I2C_Read... [15:41:37]Read from MH i2c: 01 07 00 35 1C 00 00 00 00 00 FF 0F 66 [15:41:37]RasterBufferAndPrint [15:41:37]line Счет N : (1)673983 [15:41:37]line ИНН: 02508201610067 [15:41:37]line Контрольно-Кассовый Чек [15:41:37]line ПРОДАЖА [15:41:37]line ТРК (МРК, ГНК) : 42 [15:41:37]line Товар: 2710124130 [15:41:37]line Аи-92-К-5 [15:41:37]line 4.520 * 66.40 [15:41:37]line = 300.13 [15:41:37]line НДС 12% НСП 1% [15:41:37]line > о реализуемом товаре [15:41:37]line ОКРУГЛЕНИЕ: -0.13 [15:41:37]line ИТОГО: 300.00 [15:41:37]line Внесено: 300.00 [15:41:37]line СДАЧА: 0.00 [15:41:37]line НСП 1% : 2.66 [15:41:37]line НДС 12% : 31.87 [15:41:37]line Наличными: 300.00 [15:41:37]line Безнал.: 0.00 [15:41:37]line Место: АЗС № 120 "Партнер Нефть" [15:41:37]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [15:41:37]line СНО: Общий режим [15:41:37]line Чек 43 22.06.2024 15:41 [15:41:37]line Смена: 327 ФФД: 1.0 [15:41:37]line ЗНМ: 0300000172 [15:41:37]line РНМ: 0000000000092786 [15:41:37]line Версия ККМ: 001 [15:41:37]line ФМ: 0000000000875095 [15:41:37]line ФД: 34617 [15:41:37]line ФПД: 255473724810182 [15:41:37]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T154141&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34617&fm=255473724810182&tin=02508201610067®Number=0000000000092786&sum=30000 [15:41:37]OFD Sender: Processing packet 34617 [packets to send 8, broken 7] [15:41:37]ProducePacketName [15:41:37]name=ofd_packets/00034617 [15:41:37]OFD Sender: To server: pG, [15:41:37]CommunicateWithHost lk.salyk.kg:30040 [15:41:37]ConnectInit lk.salyk.kg [15:41:37]written 0, free lines is 4095 [15:41:38]Connected sock=10 [15:41:38]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0F 01 00 00 12 1E 07 01 37 59 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 A8 11 00 00 00 00 00 37 04 06 00 F0 19 00 00 00 00 13 04 06 00 3D 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 73 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 B5 F0 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 39 87 00 00 35 04 06 00 E8 5A 1C 9D E3 C6 21 00 E7 E3 8E 1E 3B 7B [15:41:38]Write to MH i2c: 01 00 00 60 1C 7C [15:41:38]Write i2c OK [15:41:38]MH_I2C_Read... [15:41:38]Read from MH i2c: 01 [15:41:38]MH_I2C_Read... [15:41:38]Read from MH i2c: 01 07 00 [15:41:38]MH_I2C_Read... [15:41:38]Read from MH i2c: 01 07 00 60 1C 00 00 00 00 00 C6 0C 55 [15:41:38]RasterBufferAndPrint [15:41:38]line [15:41:38]line [15:41:38]line [15:41:38]line [15:41:38]line [15:41:38]written 0, free lines is 3276 [15:41:38]MH_Cut [15:41:38]Write to MH i2c: D1 01 00 67 1C 01 55 [15:41:38]Write i2c OK [15:41:38]MH_I2C_Read... [15:41:38]Read from MH i2c: D1 [15:41:38]MH_I2C_Read... [15:41:38]Read from MH i2c: D1 01 00 [15:41:38]MH_I2C_Read... [15:41:38]Read from MH i2c: D1 01 00 67 1C 00 54 [15:41:38]Write to MH i2c: 01 00 00 68 1C 84 [15:41:38]Write i2c OK [15:41:38]MH_I2C_Read... [15:41:38]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 55 9A 47 00 32 F6 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 39 87 00 00 F4 03 04 00 79 97 76 66 B6 04 01 00 00 10 B2 6C 9A 14 3D 19 3E [15:41:38]CommunicateWithHost err = 0 [15:41:38]CheckOFDResponse [15:41:38]1017 (14) - 77093643461234 [15:41:38]1041 (16) - 0000000000875095 [15:41:38]1040 (4) - 34617 [15:41:38]1012 (4) - 22.06.2024 09:20 [15:41:38]1206 (1) - 0 [15:41:38]OFD Sender: Remove packet 34617 [15:41:38]ProducePacketName [15:41:38]name=ofd_packets/00034617 [15:41:38]NVStorageDeleteData [15:41:38]OFD Sender: No OFD packet to send [15:41:39]*** Cut start [15:41:39]*** Partial cut [15:41:39]*** CUTSNS_PIN = 1 [15:41:39]*** CUTSNS_PIN = 0 [15:41:39]*** Brake cut motor [15:41:39]Read from MH i2c: 01 [15:41:39]MH_I2C_Read... [15:41:39]*** Stop cut motor [15:41:39]*** Cut end [15:41:39]Read from MH i2c: 01 07 00 [15:41:39]MH_I2C_Read... [15:41:39]Read from MH i2c: 01 07 00 68 1C 00 00 00 00 00 FF 0F 99 [15:41:39]process_action close_receipt done [15:41:39]requested_data is exist [15:41:39]produce_requested_data [15:41:39]requested_item fm.sn is exist - process it [15:41:39]wFMCommunicate request_size=4 [15:41:39]MH_SAM_APDU [15:41:39]CAPDU: 80 11 00 00 [15:41:39]Write to MH i2c: E2 08 00 69 1C 80 11 00 00 00 00 00 00 FF [15:41:39]Write i2c OK [15:41:39]MH_I2C_Read... [15:41:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:41:39]Read from MH i2c: E2 [15:41:39]MH_I2C_Read... [15:41:39]Read from MH i2c: E2 17 00 [15:41:39]MH_I2C_Read... [15:41:39]Read from MH i2c: E2 17 00 69 1C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 54 [15:41:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [15:41:39]wFMCommunicate OK [15:41:39]requested_item fd.num is exist - process it [15:41:39]SAM_PROTO_GetFieldsCounters [15:41:39]wFMCommunicate request_size=4 [15:41:39]MH_SAM_APDU [15:41:39]CAPDU: 80 13 00 00 [15:41:39]Write to MH i2c: E2 08 00 6A 1C 80 13 00 00 00 00 00 00 02 [15:41:39]Write i2c OK [15:41:39]MH_I2C_Read... [15:41:39]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:41:39]Read from MH i2c: E2 [15:41:39]MH_I2C_Read... [15:41:39]Read from MH i2c: E2 62 00 [15:41:39]MH_I2C_Read... [15:41:39]Read from MH i2c: E2 62 00 6A 1C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 39 87 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 2B 00 00 00 5E 04 04 00 2B 00 00 00 57 04 04 00 2C 00 00 00 19 04 04 00 00 00 00 00 90 00 B5 [15:41:39]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 39 87 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 2B 00 00 00 5E 04 04 00 2B 00 00 00 57 04 04 00 2C 00 00 00 19 04 04 00 00 00 00 00 90 00 [15:41:39]wFMCommunicate OK [15:41:39]SAM_PROTO_GetFieldsCounters done [15:41:39]requested_item shift.num is exist - process it [15:41:39]requested_item shift.opened is exist - process it [15:41:39]req_shift_opened [15:41:39]FM_GetShiftState [15:41:39]SAM_PROTO_GetShiftState [15:41:39]wFMCommunicate request_size=4 [15:41:39]MH_SAM_APDU [15:41:39]CAPDU: 80 13 01 00 [15:41:39]Write to MH i2c: E2 08 00 6B 1C 80 13 01 00 00 00 00 00 04 [15:41:39]Write i2c OK [15:41:39]MH_I2C_Read... [15:41:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:41:39]Read from MH i2c: E2 [15:41:39]MH_I2C_Read... [15:41:39]Read from MH i2c: E2 0E 00 [15:41:39]MH_I2C_Read... [15:41:39]Read from MH i2c: E2 0E 00 6B 1C 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 BE [15:41:39]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [15:41:39]wFMCommunicate OK [15:41:39]SAM_PROTO_GetShiftState done [15:41:39]FM_GetShiftState done [15:41:39]req_shift_opened done [15:41:39]requested_item shift.open_date is exist - process it [15:41:39]req_shift_open_date [15:41:39]req_shift_open_date done [15:41:39]produce_requested_data done [15:41:39]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34617,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120} [15:41:39]process_action_free close_receipt [15:41:39]json_value_free [15:41:39]json_value_free done [15:41:39]process_json_proto returns [15:41:39]Send response to host [15:41:39]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34617,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120}}} [15:41:39]free response buf [15:41:39]execute_script done [15:41:39]execute_script returns [15:41:39]free content buf [15:41:39]Sock 7.Close socket [15:41:39]Sock 7.Thread stoped [15:41:43]OFD Sender: No OFD packet to send [15:41:48]OFD Sender: No OFD packet to send [15:41:53]OFD Sender: No OFD packet to send [15:41:58]OFD Sender: No OFD packet to send [15:42:03]OFD Sender: No OFD packet to send [15:42:08]OFD Sender: No OFD packet to send [15:42:13]OFD Sender: No OFD packet to send [15:42:18]OFD Sender: No OFD packet to send [15:42:23]OFD Sender: No OFD packet to send [15:42:28]OFD Sender: No OFD packet to send [15:42:33]OFD Sender: No OFD packet to send [15:42:38]OFD Sender: No OFD packet to send [15:42:43]OFD Sender: No OFD packet to send [15:42:48]OFD Sender: No OFD packet to send [15:42:53]OFD Sender: No OFD packet to send [15:42:58]OFD Sender: No OFD packet to send [15:43:03]OFD Sender: No OFD packet to send [15:43:08]OFD Sender: No OFD packet to send [15:43:13]OFD Sender: No OFD packet to send [15:43:18]OFD Sender: No OFD packet to send [15:43:23]OFD Sender: No OFD packet to send [15:43:28]OFD Sender: No OFD packet to send [15:43:33]OFD Sender: No OFD packet to send [15:43:38]OFD Sender: No OFD packet to send [15:43:43]OFD Sender: No OFD packet to send [15:43:48]OFD Sender: No OFD packet to send [15:43:53]OFD Sender: No OFD packet to send [15:43:58]OFD Sender: No OFD packet to send [15:44:03]OFD Sender: No OFD packet to send [15:44:08]OFD Sender: No OFD packet to send [15:44:13]OFD Sender: No OFD packet to send [15:44:18]OFD Sender: No OFD packet to send [15:44:23]OFD Sender: No OFD packet to send [15:44:28]OFD Sender: No OFD packet to send [15:44:34]OFD Sender: No OFD packet to send [15:44:39]OFD Sender: No OFD packet to send [15:44:44]OFD Sender: No OFD packet to send [15:44:49]OFD Sender: No OFD packet to send [15:44:54]OFD Sender: No OFD packet to send [15:44:59]OFD Sender: No OFD packet to send [15:45:04]OFD Sender: No OFD packet to send [15:45:09]OFD Sender: No OFD packet to send [15:45:14]OFD Sender: No OFD packet to send [15:45:19]OFD Sender: No OFD packet to send [15:45:24]OFD Sender: No OFD packet to send [15:45:29]OFD Sender: No OFD packet to send [15:45:34]OFD Sender: No OFD packet to send [15:45:39]OFD Sender: No OFD packet to send [15:45:44]OFD Sender: No OFD packet to send [15:45:49]OFD Sender: No OFD packet to send [15:45:54]OFD Sender: No OFD packet to send [15:45:59]OFD Sender: No OFD packet to send [15:46:04]OFD Sender: No OFD packet to send [15:46:09]OFD Sender: No OFD packet to send [15:46:14]OFD Sender: No OFD packet to send [15:46:19]OFD Sender: No OFD packet to send [15:46:24]OFD Sender: No OFD packet to send [15:46:29]OFD Sender: No OFD packet to send [15:46:34]OFD Sender: No OFD packet to send [15:46:39]OFD Sender: No OFD packet to send [15:46:44]OFD Sender: No OFD packet to send [15:46:49]OFD Sender: No OFD packet to send [15:46:54]OFD Sender: No OFD packet to send [15:46:59]OFD Sender: No OFD packet to send [15:47:04]OFD Sender: No OFD packet to send [15:47:09]OFD Sender: No OFD packet to send [15:47:14]OFD Sender: No OFD packet to send [15:47:19]OFD Sender: No OFD packet to send [15:47:24]OFD Sender: No OFD packet to send [15:47:29]OFD Sender: No OFD packet to send [15:47:34]OFD Sender: No OFD packet to send [15:47:39]OFD Sender: No OFD packet to send [15:47:44]OFD Sender: No OFD packet to send [15:47:49]OFD Sender: No OFD packet to send [15:47:54]OFD Sender: No OFD packet to send [15:47:59]OFD Sender: No OFD packet to send [15:48:04]OFD Sender: No OFD packet to send [15:48:09]OFD Sender: No OFD packet to send [15:48:14]OFD Sender: No OFD packet to send [15:48:19]OFD Sender: No OFD packet to send [15:48:24]OFD Sender: No OFD packet to send [15:48:29]OFD Sender: No OFD packet to send [15:48:34]OFD Sender: No OFD packet to send [15:48:39]OFD Sender: No OFD packet to send [15:48:44]OFD Sender: No OFD packet to send [15:48:49]OFD Sender: No OFD packet to send [15:48:54]OFD Sender: No OFD packet to send [15:48:59]OFD Sender: No OFD packet to send [15:49:04]OFD Sender: No OFD packet to send [15:49:09]OFD Sender: No OFD packet to send [15:49:14]OFD Sender: No OFD packet to send [15:49:19]OFD Sender: No OFD packet to send [15:49:24]OFD Sender: No OFD packet to send [15:49:29]OFD Sender: No OFD packet to send [15:49:34]OFD Sender: No OFD packet to send [15:49:39]OFD Sender: No OFD packet to send [15:49:44]OFD Sender: No OFD packet to send [15:49:49]OFD Sender: No OFD packet to send [15:49:54]OFD Sender: No OFD packet to send [15:49:59]OFD Sender: No OFD packet to send [15:50:04]OFD Sender: No OFD packet to send [15:50:09]OFD Sender: No OFD packet to send [15:50:14]OFD Sender: No OFD packet to send [15:50:19]OFD Sender: No OFD packet to send [15:50:24]OFD Sender: No OFD packet to send [15:50:29]OFD Sender: No OFD packet to send [15:50:34]OFD Sender: No OFD packet to send [15:50:39]OFD Sender: No OFD packet to send [15:50:44]OFD Sender: No OFD packet to send [15:50:49]OFD Sender: No OFD packet to send [15:50:54]OFD Sender: No OFD packet to send [15:50:59]OFD Sender: No OFD packet to send [15:51:04]OFD Sender: No OFD packet to send [15:51:09]OFD Sender: No OFD packet to send [15:51:14]OFD Sender: No OFD packet to send [15:51:19]OFD Sender: No OFD packet to send [15:51:24]OFD Sender: No OFD packet to send [15:51:29]OFD Sender: No OFD packet to send [15:51:34]OFD Sender: No OFD packet to send [15:51:39]OFD Sender: No OFD packet to send [15:51:44]OFD Sender: No OFD packet to send [15:51:49]OFD Sender: No OFD packet to send [15:51:54]OFD Sender: No OFD packet to send [15:51:59]OFD Sender: No OFD packet to send [15:52:04]OFD Sender: No OFD packet to send [15:52:09]OFD Sender: No OFD packet to send [15:52:14]OFD Sender: No OFD packet to send [15:52:19]OFD Sender: No OFD packet to send [15:52:24]OFD Sender: No OFD packet to send [15:52:29]OFD Sender: No OFD packet to send [15:52:34]OFD Sender: No OFD packet to send [15:52:39]OFD Sender: No OFD packet to send [15:52:44]OFD Sender: No OFD packet to send [15:52:49]OFD Sender: No OFD packet to send [15:52:54]OFD Sender: No OFD packet to send [15:52:59]OFD Sender: No OFD packet to send [15:53:04]OFD Sender: No OFD packet to send [15:53:09]OFD Sender: No OFD packet to send [15:53:14]OFD Sender: No OFD packet to send [15:53:19]OFD Sender: No OFD packet to send [15:53:24]OFD Sender: No OFD packet to send [15:53:29]OFD Sender: No OFD packet to send [15:53:34]OFD Sender: No OFD packet to send [15:53:39]OFD Sender: No OFD packet to send [15:53:44]OFD Sender: No OFD packet to send [15:53:49]OFD Sender: No OFD packet to send [15:53:54]OFD Sender: No OFD packet to send [15:53:59]OFD Sender: No OFD packet to send [15:54:04]OFD Sender: No OFD packet to send [15:54:09]OFD Sender: No OFD packet to send [15:54:14]OFD Sender: No OFD packet to send [15:54:19]OFD Sender: No OFD packet to send [15:54:24]OFD Sender: No OFD packet to send [15:54:29]OFD Sender: No OFD packet to send [15:54:34]OFD Sender: No OFD packet to send [15:54:39]OFD Sender: No OFD packet to send [15:54:44]OFD Sender: No OFD packet to send [15:54:49]OFD Sender: No OFD packet to send [15:54:54]OFD Sender: No OFD packet to send [15:54:59]OFD Sender: No OFD packet to send [15:55:04]OFD Sender: No OFD packet to send [15:55:09]OFD Sender: No OFD packet to send [15:55:14]OFD Sender: No OFD packet to send [15:55:19]OFD Sender: No OFD packet to send [15:55:24]OFD Sender: No OFD packet to send [15:55:29]OFD Sender: No OFD packet to send [15:55:34]OFD Sender: No OFD packet to send [15:55:39]OFD Sender: No OFD packet to send [15:55:43]accept exits with 9 [15:55:43]New connection [15:55:43]New thread 3067616612 created [15:55:43]Thread 3067473252 joined [15:55:43]Waiting for new connection... [15:55:43] Sock 9.Parse request [15:55:43]Sock 9.Check first char [15:55:43]Sock 9.First char is OK [15:55:43]request: POST /json_proto HTTP/1.0 [15:55:43]Method: POST [15:55:43]URL: /json_proto [15:55:43]Method is POST - this is cgi request [15:55:43]url: /json_proto [15:55:43]query_string will be loaded in cgi processing [15:55:43]execute_cgi json_proto POST (null) [15:55:43]execute_cgi path=json_proto method=POST [15:55:43]POST find Content-Length [15:55:43]Host: 172.17.38.134:8080 [15:55:43]Content-Length: 623 [15:55:43]Content-Type: application/json [15:55:43] [15:55:43]POST finish read [15:55:43]Found Content-Length = 623 [15:55:43]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184373", "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" ] } } [15:55:43]execute_script... [15:55:43]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184373", "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" ] } } [15:55:43]POST & json_proto [15:55:43]process_json_proto [15:55:43]json parsed OK: [15:55:43]protocol is kg_v1.0 [15:55:43]action value=close_receipt [15:55:43]process_action close_receipt [15:55:43]cmd_close_receipt [15:55:43]MH_GetDate [15:55:43]Write to MH i2c: F0 00 00 6C 1C 77 [15:55:43]Write i2c OK [15:55:43]MH_I2C_Read... [15:55:43]Read from MH i2c: F0 [15:55:43]MH_I2C_Read... [15:55:43]Read from MH i2c: F0 09 00 [15:55:43]MH_I2C_Read... [15:55:43]Read from MH i2c: F0 09 00 6C 1C 00 05 F4 76 66 13 9C 7C 64 E4 [15:55:43]GetLastDocTimeStamp 1719070901 [15:55:43]current date 1719071749 [15:55:43]FM_GetShiftState [15:55:43]SAM_PROTO_GetShiftState [15:55:43]wFMCommunicate request_size=4 [15:55:43]MH_SAM_APDU [15:55:43]CAPDU: 80 13 01 00 [15:55:43]Write to MH i2c: E2 08 00 6D 1C 80 13 01 00 00 00 00 00 06 [15:55:43]Write i2c OK [15:55:43]MH_I2C_Read... [15:55:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:55:43]Read from MH i2c: E2 [15:55:43]MH_I2C_Read... [15:55:43]Read from MH i2c: E2 0E 00 [15:55:43]MH_I2C_Read... [15:55:43]Read from MH i2c: E2 0E 00 6D 1C 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 C0 [15:55:43]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [15:55:43]wFMCommunicate OK [15:55:43]SAM_PROTO_GetShiftState done [15:55:43]FM_GetShiftState done [15:55:43]opened in 1719016120 [15:55:43]opened+sec_in_day 1719102520 [15:55:43]quantity*price = 14000 [15:55:43]sum+1 = 14001 [15:55:43]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 140.00 НСП 1% : 1.24 НДС 12% : 14.87 Наличными: 140.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 44 22.06.2024 15:55 Смена: 327 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34618 ФПД: 235643308733118 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T155549&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34618&fm=235643308733118&tin=02508201610067®Number=0000000000092786&sum=14000 0 [15:55:44]StoreToDocumentArchive [15:55:44]shift 327 fd 34618 [15:55:44]save to /storage/0327/doc_00034618 [15:55:44]save last doc name /storage/0327/doc_00034618 to /storage/kkm_last_doc_name [15:55:44]save OK [15:55:44]Clear old archive folders... [15:55:44]ProcessDocumentItem done err = 0, tmpTLVsize=275 [15:55:44]tlvbuf is 015EDD50 [15:55:44]SAM_PROTO_ClearQueue [15:55:44]wFMCommunicate request_size=4 [15:55:44]MH_SAM_APDU [15:55:44]CAPDU: 80 09 00 00 [15:55:44]Write to MH i2c: E2 08 00 7A 1C 80 09 00 00 00 00 00 00 08 [15:55:44]Write i2c OK [15:55:44]MH_I2C_Read... [15:55:44]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:55:44]Read from MH i2c: E2 [15:55:44]MH_I2C_Read... [15:55:44]Read from MH i2c: E2 03 00 [15:55:44]MH_I2C_Read... [15:55:44]Read from MH i2c: E2 03 00 7A 1C 00 90 00 0A [15:55:44]RAPDU: 90 00 [15:55:44]wFMCommunicate OK [15:55:44]SAM_PROTO_ClearQueue done [15:55:44]KKMCreateOFDPacket [15:55:44]OFDProtocolAddRootSTLVToBuf [15:55:44]FM_MakeSignedData [15:55:44]FM_MakeSignedData [15:55:44]SAM_PROTO_SignData [15:55:44]wFMCommunicate request_size=4 [15:55:44]MH_SAM_APDU [15:55:44]CAPDU: 80 0D 01 02 [15:55:44]Write to MH i2c: E2 08 00 7B 1C 80 0D 01 02 00 00 00 00 10 [15:55:44]Write i2c OK [15:55:44]MH_I2C_Read... [15:55:44]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:55:44]Read from MH i2c: E2 [15:55:44]MH_I2C_Read... [15:55:44]Read from MH i2c: E2 03 00 [15:55:44]MH_I2C_Read... [15:55:44]Read from MH i2c: E2 03 00 7B 1C 00 90 00 0B [15:55:44]RAPDU: 90 00 [15:55:44]wFMCommunicate OK [15:55:44]wFMCommunicate request_size=255 [15:55:44]MH_SAM_APDU [15:55:44]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 2C 00 00 00 F4 03 04 00 05 F4 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 [15:55:44]Write to MH i2c: E2 02 01 7C 1C 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 2C 00 00 00 F4 03 04 00 05 F4 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 00 00 F0 [15:55:44]Write i2c OK [15:55:44]MH_I2C_Read... [15:55:44]OFD Sender: No OFD packet to send [15:55:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:55:44]Read from MH i2c: E2 [15:55:44]MH_I2C_Read... [15:55:44]Read from MH i2c: E2 03 00 [15:55:44]MH_I2C_Read... [15:55:44]Read from MH i2c: E2 03 00 7C 1C 00 90 00 0C [15:55:44]RAPDU: 90 00 [15:55:44]wFMCommunicate OK [15:55:44]wFMCommunicate request_size=34 [15:55:44]MH_SAM_APDU [15:55:44]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 3A 87 00 00 35 04 06 00 D6 50 FB B5 F2 BE [15:55:44]Write to MH i2c: E2 25 00 7D 1C 80 0D 02 02 1D 00 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 3A 87 00 00 35 04 06 00 D6 50 FB B5 F2 BE 00 00 1D [15:55:44]Write i2c OK [15:55:44]MH_I2C_Read... [15:55:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:55:44]Read from MH i2c: E2 [15:55:44]MH_I2C_Read... [15:55:44]Read from MH i2c: E2 03 00 [15:55:44]MH_I2C_Read... [15:55:44]Read from MH i2c: E2 03 00 7D 1C 00 90 00 0D [15:55:44]RAPDU: 90 00 [15:55:44]wFMCommunicate OK [15:55:44]wFMCommunicate request_size=4 [15:55:44]MH_SAM_APDU [15:55:44]CAPDU: 80 0D 03 02 [15:55:44]Write to MH i2c: E2 08 00 7E 1C 80 0D 03 02 00 00 00 00 15 [15:55:44]Write i2c OK [15:55:44]MH_I2C_Read... [15:55:44]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:55:44]Read from MH i2c: E2 [15:55:44]MH_I2C_Read... [15:55:44]Read from MH i2c: E2 0B 00 [15:55:44]MH_I2C_Read... [15:55:44]Read from MH i2c: E2 0B 00 7E 1C 00 4F 1C C3 1F C5 4E 4B 3A 90 00 FB [15:55:44]RAPDU: 4F 1C C3 1F C5 4E 4B 3A 90 00 [15:55:44]wFMCommunicate OK [15:55:44]SAM_PROTO_SignData done [15:55:44]FM_MakeSignedData done [15:55:44]CreateOFDProtocolMessage [15:55:44]wFMCommunicate request_size=4 [15:55:44]MH_SAM_APDU [15:55:44]CAPDU: 80 11 00 00 [15:55:44]Write to MH i2c: E2 08 00 7F 1C 80 11 00 00 00 00 00 00 15 [15:55:44]Write i2c OK [15:55:44]MH_I2C_Read... [15:55:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:55:44]Read from MH i2c: E2 [15:55:44]MH_I2C_Read... [15:55:44]Read from MH i2c: E2 17 00 [15:55:44]MH_I2C_Read... [15:55:44]Read from MH i2c: E2 17 00 7F 1C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 6A [15:55:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [15:55:44]wFMCommunicate OK [15:55:44]CreateOFDProtocolMessage done [15:55:44]OFDSenderStorePacket 34618 [15:55:44]StoreOFDPacket docnum=34618 [15:55:44]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 27 01 00 00 1E A5 1F 01 63 F1 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 2C 00 00 00 F4 03 04 00 05 F4 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 3A 87 00 00 35 04 06 00 D6 50 FB B5 F2 BE 4F 1C C3 1F C5 4E 4B 3A [15:55:44]CheckFolder [15:55:44]dirname=/storage/ofd_packets [15:55:44]CheckFolder done [15:55:44]ProducePacketName [15:55:44]name=ofd_packets/00034618 [15:55:44]NVStorageSaveData ofd_packets/00034618 [15:55:44]File name is /storage/ofd_packets/00034618 [15:55:44]Write 325 bytes [15:55:44]NVStorageSaveData done [15:55:44]OFDSenderStorePacket done [15:55:44]KKMCreateOFDPacket done [15:55:44]NVStorageSaveData kkm_last_timestamp [15:55:44]File name is /storage/kkm_last_timestamp [15:55:44]Write 4 bytes [15:55:44]NVStorageSaveData done [15:55:44]ExternCall_PrintAddStr [15:55:44]wPrintStart [15:55:44]Write to MH i2c: 01 00 00 80 1C 9C [15:55:44]Write i2c OK [15:55:44]MH_I2C_Read... [15:55:44]Read from MH i2c: 01 [15:55:44]MH_I2C_Read... [15:55:44]Read from MH i2c: 01 07 00 [15:55:44]MH_I2C_Read... [15:55:44]Read from MH i2c: 01 07 00 80 1C 00 00 00 00 00 FF 0F B1 [15:55:44]RasterBufferAndPrint [15:55:44]line Счет N : (3)184373 [15:55:44]line ИНН: 02508201610067 [15:55:44]line Контрольно-Кассовый Чек [15:55:44]line ПРОДАЖА [15:55:44]line Товар: 48743587 [15:55:44]line Сигареты Winston XStyle Silver [15:55:44]line 1.000 * 140.00 [15:55:44]line = 140.00 [15:55:44]line НДС 12% НСП 1% [15:55:44]line > о реализуемом товаре [15:55:44]line ИТОГО: 140.00 [15:55:44]line НСП 1% : 1.24 [15:55:44]line НДС 12% : 14.87 [15:55:44]line Наличными: 140.00 [15:55:44]line Безнал.: 0.00 [15:55:44]line Место: АЗС № 120 "Партнер Нефть" [15:55:44]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [15:55:44]line СНО: Общий режим [15:55:44]line Чек 44 22.06.2024 15:55 [15:55:44]line Смена: 327 ФФД: 1.0 [15:55:44]line ЗНМ: 0300000172 [15:55:44]line РНМ: 0000000000092786 [15:55:44]line Версия ККМ: 001 [15:55:44]line ФМ: 0000000000875095 [15:55:45]line ФД: 34618 [15:55:45]line ФПД: 235643308733118 [15:55:45]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T155549&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34618&fm=235643308733118&tin=02508201610067®Number=0000000000092786&sum=14000 [15:55:45]line 0 [15:55:45]OFD Sender: Processing packet 34618 [packets to send 8, broken 7] [15:55:45]ProducePacketName [15:55:45]name=ofd_packets/00034618 [15:55:45]OFD Sender: To server: pG, [15:55:45]CommunicateWithHost lk.salyk.kg:30040 [15:55:45]ConnectInit lk.salyk.kg [15:55:45]written 0, free lines is 4095 [15:55:45]Connected sock=10 [15:55:45]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 27 01 00 00 1E A5 1F 01 63 F1 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 2C 00 00 00 F4 03 04 00 05 F4 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 3A 87 00 00 35 04 06 00 D6 50 FB B5 F2 BE 4F 1C C3 1F C5 4E 4B 3A [15:55:45]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 7C CE 47 00 3E CA A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 3A 87 00 00 F4 03 04 00 C8 9A 76 66 B6 04 01 00 00 4C D2 A3 58 AE 39 47 95 [15:55:45]CommunicateWithHost err = 0 [15:55:45]CheckOFDResponse [15:55:45]1017 (14) - 77093643461234 [15:55:45]1041 (16) - 0000000000875095 [15:55:45]1040 (4) - 34618 [15:55:45]1012 (4) - 22.06.2024 09:35 [15:55:45]1206 (1) - 0 [15:55:45]OFD Sender: Remove packet 34618 [15:55:45]ProducePacketName [15:55:45]name=ofd_packets/00034618 [15:55:45]NVStorageDeleteData [15:55:45]Write to MH i2c: 01 00 00 A9 1C C5 [15:55:45]Write i2c OK [15:55:45]MH_I2C_Read... [15:55:45]Read from MH i2c: 01 [15:55:45]MH_I2C_Read... [15:55:45]Read from MH i2c: 01 07 00 [15:55:45]MH_I2C_Read... [15:55:45]Read from MH i2c: 01 07 00 A9 1C 00 00 00 00 00 E1 0C B9 [15:55:45]RasterBufferAndPrint [15:55:45]line [15:55:45]line [15:55:45]line [15:55:45]line [15:55:45]line [15:55:45]written 0, free lines is 3305 [15:55:45]MH_Cut [15:55:45]Write to MH i2c: D1 01 00 B0 1C 01 9E [15:55:45]Write i2c OK [15:55:45]MH_I2C_Read... [15:55:45]Read from MH i2c: D1 [15:55:45]MH_I2C_Read... [15:55:45]Read from MH i2c: D1 01 00 [15:55:45]MH_I2C_Read... [15:55:45]Read from MH i2c: D1 01 00 B0 1C 00 9D [15:55:45]Write to MH i2c: 01 00 00 B1 1C CD [15:55:45]Write i2c OK [15:55:45]MH_I2C_Read... [15:55:46]OFD Sender: No OFD packet to send [15:55:46]*** Cut start [15:55:46]*** Partial cut [15:55:46]*** CUTSNS_PIN = 1 [15:55:46]*** CUTSNS_PIN = 0 [15:55:46]*** Brake cut motor [15:55:46]Read from MH i2c: 01 [15:55:46]MH_I2C_Read... [15:55:46]*** Stop cut motor [15:55:46]*** Cut end [15:55:46]Read from MH i2c: 01 07 00 [15:55:46]MH_I2C_Read... [15:55:46]Read from MH i2c: 01 07 00 B1 1C 00 00 00 00 00 FF 0F E2 [15:55:46]process_action close_receipt done [15:55:46]requested_data is exist [15:55:46]produce_requested_data [15:55:46]requested_item fm.sn is exist - process it [15:55:46]wFMCommunicate request_size=4 [15:55:46]MH_SAM_APDU [15:55:46]CAPDU: 80 11 00 00 [15:55:46]Write to MH i2c: E2 08 00 B2 1C 80 11 00 00 00 00 00 00 48 [15:55:46]Write i2c OK [15:55:46]MH_I2C_Read... [15:55:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:55:47]Read from MH i2c: E2 [15:55:47]MH_I2C_Read... [15:55:47]Read from MH i2c: E2 17 00 [15:55:47]MH_I2C_Read... [15:55:47]Read from MH i2c: E2 17 00 B2 1C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 9D [15:55:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [15:55:47]wFMCommunicate OK [15:55:47]requested_item fd.num is exist - process it [15:55:47]SAM_PROTO_GetFieldsCounters [15:55:47]wFMCommunicate request_size=4 [15:55:47]MH_SAM_APDU [15:55:47]CAPDU: 80 13 00 00 [15:55:47]Write to MH i2c: E2 08 00 B3 1C 80 13 00 00 00 00 00 00 4B [15:55:47]Write i2c OK [15:55:47]MH_I2C_Read... [15:55:47]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:55:47]Read from MH i2c: E2 [15:55:47]MH_I2C_Read... [15:55:47]Read from MH i2c: E2 62 00 [15:55:47]MH_I2C_Read... [15:55:47]Read from MH i2c: E2 62 00 B3 1C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 3A 87 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 2C 00 00 00 5E 04 04 00 2C 00 00 00 57 04 04 00 2D 00 00 00 19 04 04 00 00 00 00 00 90 00 02 [15:55:47]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 3A 87 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 2C 00 00 00 5E 04 04 00 2C 00 00 00 57 04 04 00 2D 00 00 00 19 04 04 00 00 00 00 00 90 00 [15:55:47]wFMCommunicate OK [15:55:47]SAM_PROTO_GetFieldsCounters done [15:55:47]requested_item shift.num is exist - process it [15:55:47]requested_item shift.opened is exist - process it [15:55:47]req_shift_opened [15:55:47]FM_GetShiftState [15:55:47]SAM_PROTO_GetShiftState [15:55:47]wFMCommunicate request_size=4 [15:55:47]MH_SAM_APDU [15:55:47]CAPDU: 80 13 01 00 [15:55:47]Write to MH i2c: E2 08 00 B4 1C 80 13 01 00 00 00 00 00 4D [15:55:47]Write i2c OK [15:55:47]MH_I2C_Read... [15:55:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:55:47]Read from MH i2c: E2 [15:55:47]MH_I2C_Read... [15:55:47]Read from MH i2c: E2 0E 00 [15:55:47]MH_I2C_Read... [15:55:47]Read from MH i2c: E2 0E 00 B4 1C 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 07 [15:55:47]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [15:55:47]wFMCommunicate OK [15:55:47]SAM_PROTO_GetShiftState done [15:55:47]FM_GetShiftState done [15:55:47]req_shift_opened done [15:55:47]requested_item shift.open_date is exist - process it [15:55:47]req_shift_open_date [15:55:47]req_shift_open_date done [15:55:47]produce_requested_data done [15:55:47]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34618,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120} [15:55:47]process_action_free close_receipt [15:55:47]json_value_free [15:55:47]json_value_free done [15:55:47]process_json_proto returns [15:55:47]Send response to host [15:55:47]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34618,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120}}} [15:55:47]free response buf [15:55:47]execute_script done [15:55:47]execute_script returns [15:55:47]free content buf [15:55:47]Sock 9.Close socket [15:55:47]Sock 9.Thread stoped [15:55:51]OFD Sender: No OFD packet to send [15:55:51]accept exits with 7 [15:55:51]New connection [15:55:51]New thread 3067473252 created [15:55:51]Thread 3067616612 joined [15:55:51]Waiting for new connection... [15:55:51] Sock 7.Parse request [15:55:51]Sock 7.Check first char [15:55:51]Sock 7.First char is OK [15:55:51]request: POST /json_proto HTTP/1.0 [15:55:51]Method: POST [15:55:51]URL: /json_proto [15:55:51]Method is POST - this is cgi request [15:55:51]url: /json_proto [15:55:51]query_string will be loaded in cgi processing [15:55:51]execute_cgi json_proto POST (null) [15:55:51]execute_cgi path=json_proto method=POST [15:55:51]POST find Content-Length [15:55:51]Host: 172.17.38.134:8080 [15:55:51]Content-Length: 715 [15:55:51]Content-Type: application/json [15:55:51] [15:55:51]POST finish read [15:55:51]Found Content-Length = 715 [15:55:51]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184374", "tax_sys" : 0, "items" : [ { "code": "4700000481965", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u0434\u0438\u043A\u0438\u0435 \u044F\u0433\u043E\u0434\u044B 0,45 \u0436/\u0431", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:55:51]execute_script... [15:55: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)184374", "tax_sys" : 0, "items" : [ { "code": "4700000481965", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u0434\u0438\u043A\u0438\u0435 \u044F\u0433\u043E\u0434\u044B 0,45 \u0436/\u0431", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:55:51]POST & json_proto [15:55:51]process_json_proto [15:55:51]json parsed OK: [15:55:51]protocol is kg_v1.0 [15:55:51]action value=close_receipt [15:55:51]process_action close_receipt [15:55:51]cmd_close_receipt [15:55:51]MH_GetDate [15:55:51]Write to MH i2c: F0 00 00 B5 1C C0 [15:55:51]Write i2c OK [15:55:51]MH_I2C_Read... [15:55:51]Read from MH i2c: F0 [15:55:51]MH_I2C_Read... [15:55:51]Read from MH i2c: F0 09 00 [15:55:51]MH_I2C_Read... [15:55:51]Read from MH i2c: F0 09 00 B5 1C 00 0D F4 76 66 13 9C 7C 64 35 [15:55:51]GetLastDocTimeStamp 1719071749 [15:55:51]current date 1719071757 [15:55:51]FM_GetShiftState [15:55:51]SAM_PROTO_GetShiftState [15:55:51]wFMCommunicate request_size=4 [15:55:51]MH_SAM_APDU [15:55:51]CAPDU: 80 13 01 00 [15:55:51]Write to MH i2c: E2 08 00 B6 1C 80 13 01 00 00 00 00 00 4F [15:55:51]Write i2c OK [15:55:51]MH_I2C_Read... [15:55:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:55:51]Read from MH i2c: E2 [15:55:51]MH_I2C_Read... [15:55:51]Read from MH i2c: E2 0E 00 [15:55:51]MH_I2C_Read... [15:55:51]Read from MH i2c: E2 0E 00 B6 1C 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 09 [15:55:51]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [15:55:51]wFMCommunicate OK [15:55:51]SAM_PROTO_GetShiftState done [15:55:51]FM_GetShiftState done [15:55:51]opened in 1719016120 [15:55:51]opened+sec_in_day 1719102520 [15:55:51]quantity*price = 9500 [15:55:51]sum+1 = 9501 [15:55:51]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 95.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 45 22.06.2024 15:55 Смена: 327 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34619 ФПД: 157093468524805 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T155557&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34619&fm=157093468524805&tin=02508201610067®Number=0000000000092786&sum=9500 0 [15:55:52]StoreToDocumentArchive [15:55:52]shift 327 fd 34619 [15:55:52]save to /storage/0327/doc_00034619 [15:55:52]save last doc name /storage/0327/doc_00034619 to /storage/kkm_last_doc_name [15:55:52]save OK [15:55:52]Clear old archive folders... [15:55:52]ProcessDocumentItem done err = 0, tmpTLVsize=306 [15:55:52]tlvbuf is 0159C3D0 [15:55:52]SAM_PROTO_ClearQueue [15:55:52]wFMCommunicate request_size=4 [15:55:52]MH_SAM_APDU [15:55:52]CAPDU: 80 09 00 00 [15:55:52]Write to MH i2c: E2 08 00 C3 1C 80 09 00 00 00 00 00 00 51 [15:55:52]Write i2c OK [15:55:52]MH_I2C_Read... [15:55:52]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:55:52]Read from MH i2c: E2 [15:55:52]MH_I2C_Read... [15:55:52]Read from MH i2c: E2 03 00 [15:55:52]MH_I2C_Read... [15:55:52]Read from MH i2c: E2 03 00 C3 1C 00 90 00 53 [15:55:52]RAPDU: 90 00 [15:55:52]wFMCommunicate OK [15:55:52]SAM_PROTO_ClearQueue done [15:55:52]KKMCreateOFDPacket [15:55:52]OFDProtocolAddRootSTLVToBuf [15:55:52]FM_MakeSignedData [15:55:52]FM_MakeSignedData [15:55:52]SAM_PROTO_SignData [15:55:52]wFMCommunicate request_size=4 [15:55:52]MH_SAM_APDU [15:55:52]CAPDU: 80 0D 01 02 [15:55:52]Write to MH i2c: E2 08 00 C4 1C 80 0D 01 02 00 00 00 00 59 [15:55:52]Write i2c OK [15:55:52]MH_I2C_Read... [15:55:52]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:55:52]Read from MH i2c: E2 [15:55:52]MH_I2C_Read... [15:55:52]Read from MH i2c: E2 03 00 [15:55:52]MH_I2C_Read... [15:55:52]Read from MH i2c: E2 03 00 C4 1C 00 90 00 54 [15:55:52]RAPDU: 90 00 [15:55:52]wFMCommunicate OK [15:55:52]wFMCommunicate request_size=255 [15:55:52]MH_SAM_APDU [15:55:52]CAPDU: 80 0D 02 02 FA 03 00 32 01 1E 04 01 00 01 23 04 84 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 39 36 35 06 04 40 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 B4 D0 B8 D0 BA D0 B8 D0 B5 20 D1 8F D0 B3 D0 BE D0 B4 D1 8B 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2D 00 00 00 F4 03 04 00 0D F4 76 66 0E 04 04 00 47 01 00 00 B9 04 01 [15:55:52]Write to MH i2c: E2 02 01 C5 1C 80 0D 02 02 FA 00 03 00 32 01 1E 04 01 00 01 23 04 84 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 39 36 35 06 04 40 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 B4 D0 B8 D0 BA D0 B8 D0 B5 20 D1 8F D0 B3 D0 BE D0 B4 D1 8B 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2D 00 00 00 F4 03 04 00 0D F4 76 66 0E 04 04 00 47 01 00 00 B9 04 01 00 00 57 [15:55:52]Write i2c OK [15:55:52]MH_I2C_Read... [15:55:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:55:52]Read from MH i2c: E2 [15:55:52]MH_I2C_Read... [15:55:52]Read from MH i2c: E2 03 00 [15:55:52]MH_I2C_Read... [15:55:52]Read from MH i2c: E2 03 00 C5 1C 00 90 00 55 [15:55:52]RAPDU: 90 00 [15:55:52]wFMCommunicate OK [15:55:52]wFMCommunicate request_size=65 [15:55:52]MH_SAM_APDU [15:55:52]CAPDU: 80 0D 02 02 3C 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 3B 87 00 00 35 04 06 00 8E E0 2C 63 51 05 [15:55:52]Write to MH i2c: E2 44 00 C6 1C 80 0D 02 02 3C 00 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 3B 87 00 00 35 04 06 00 8E E0 2C 63 51 05 00 00 C9 [15:55:52]Write i2c OK [15:55:52]MH_I2C_Read... [15:55:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:55:52]Read from MH i2c: E2 [15:55:52]MH_I2C_Read... [15:55:52]Read from MH i2c: E2 03 00 [15:55:52]MH_I2C_Read... [15:55:52]Read from MH i2c: E2 03 00 C6 1C 00 90 00 56 [15:55:52]RAPDU: 90 00 [15:55:52]wFMCommunicate OK [15:55:52]wFMCommunicate request_size=4 [15:55:52]MH_SAM_APDU [15:55:52]CAPDU: 80 0D 03 02 [15:55:52]Write to MH i2c: E2 08 00 C7 1C 80 0D 03 02 00 00 00 00 5E [15:55:52]Write i2c OK [15:55:52]MH_I2C_Read... [15:55:52]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:55:52]Read from MH i2c: E2 [15:55:52]MH_I2C_Read... [15:55:52]Read from MH i2c: E2 0B 00 [15:55:52]MH_I2C_Read... [15:55:52]Read from MH i2c: E2 0B 00 C7 1C 00 40 2F BF 74 98 F3 04 10 90 00 A0 [15:55:52]RAPDU: 40 2F BF 74 98 F3 04 10 90 00 [15:55:52]wFMCommunicate OK [15:55:52]SAM_PROTO_SignData done [15:55:52]FM_MakeSignedData done [15:55:52]CreateOFDProtocolMessage [15:55:52]wFMCommunicate request_size=4 [15:55:52]MH_SAM_APDU [15:55:52]CAPDU: 80 11 00 00 [15:55:52]Write to MH i2c: E2 08 00 C8 1C 80 11 00 00 00 00 00 00 5E [15:55:52]Write i2c OK [15:55:52]MH_I2C_Read... [15:55:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:55:52]Read from MH i2c: E2 [15:55:52]MH_I2C_Read... [15:55:52]Read from MH i2c: E2 17 00 [15:55:52]MH_I2C_Read... [15:55:52]Read from MH i2c: E2 17 00 C8 1C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 B3 [15:55:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [15:55:52]wFMCommunicate OK [15:55:52]CreateOFDProtocolMessage done [15:55:52]OFDSenderStorePacket 34619 [15:55:52]StoreOFDPacket docnum=34619 [15:55:52]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 46 01 00 00 D4 E3 3E 01 87 90 5A 03 01 00 03 00 32 01 1E 04 01 00 01 23 04 84 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 39 36 35 06 04 40 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 B4 D0 B8 D0 BA D0 B8 D0 B5 20 D1 8F D0 B3 D0 BE D0 B4 D1 8B 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2D 00 00 00 F4 03 04 00 0D F4 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 3B 87 00 00 35 04 06 00 8E E0 2C 63 51 05 40 2F BF 74 98 F3 04 10 [15:55:52]CheckFolder [15:55:52]dirname=/storage/ofd_packets [15:55:52]CheckFolder done [15:55:52]ProducePacketName [15:55:52]name=ofd_packets/00034619 [15:55:52]NVStorageSaveData ofd_packets/00034619 [15:55:52]File name is /storage/ofd_packets/00034619 [15:55:52]Write 356 bytes [15:55:52]NVStorageSaveData done [15:55:52]OFDSenderStorePacket done [15:55:52]KKMCreateOFDPacket done [15:55:52]NVStorageSaveData kkm_last_timestamp [15:55:52]File name is /storage/kkm_last_timestamp [15:55:52]Write 4 bytes [15:55:52]NVStorageSaveData done [15:55:52]ExternCall_PrintAddStr [15:55:52]wPrintStart [15:55:52]Write to MH i2c: 01 00 00 C9 1C E5 [15:55:52]Write i2c OK [15:55:52]MH_I2C_Read... [15:55:52]Read from MH i2c: 01 [15:55:52]MH_I2C_Read... [15:55:52]Read from MH i2c: 01 07 00 [15:55:52]MH_I2C_Read... [15:55:52]Read from MH i2c: 01 07 00 C9 1C 00 00 00 00 00 FF 0F FA [15:55:52]RasterBufferAndPrint [15:55:52]line Счет N : (3)184374 [15:55:52]line ИНН: 02508201610067 [15:55:52]line Контрольно-Кассовый Чек [15:55:52]line ПРОДАЖА [15:55:52]line Товар: 4700000481965 [15:55:52]line Напиток энерг Nitro дикие ягоды 0,45 ж/б [15:55:52]line 1.000 * 95.00 [15:55:52]line = 95.00 [15:55:52]line НДС 12% НСП 1% [15:55:52]line > о реализуемом товаре [15:55:52]line ИТОГО: 95.00 [15:55:52]line НСП 1% : 0.84 [15:55:52]line НДС 12% : 10.09 [15:55:52]line Наличными: 95.00 [15:55:52]line Безнал.: 0.00 [15:55:52]line Место: АЗС № 120 "Партнер Нефть" [15:55:52]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [15:55:52]line СНО: Общий режим [15:55:52]line Чек 45 22.06.2024 15:55 [15:55:52]line Смена: 327 ФФД: 1.0 [15:55:52]line ЗНМ: 0300000172 [15:55:52]line РНМ: 0000000000092786 [15:55:52]line Версия ККМ: 001 [15:55:52]line ФМ: 0000000000875095 [15:55:52]line ФД: 34619 [15:55:52]line ФПД: 157093468524805 [15:55:52]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T155557&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34619&fm=157093468524805&tin=02508201610067®Number=0000000000092786&sum=9500 [15:55:52]line 0 [15:55:52]written 0, free lines is 4095 [15:55:52]OFD Sender: Processing packet 34619 [packets to send 8, broken 7] [15:55:52]ProducePacketName [15:55:52]name=ofd_packets/00034619 [15:55:52]OFD Sender: To server: pG, [15:55:52]CommunicateWithHost lk.salyk.kg:30040 [15:55:52]ConnectInit lk.salyk.kg [15:55:53]Connected sock=10 [15:55:53]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 46 01 00 00 D4 E3 3E 01 87 90 5A 03 01 00 03 00 32 01 1E 04 01 00 01 23 04 84 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 39 36 35 06 04 40 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 B4 D0 B8 D0 BA D0 B8 D0 B5 20 D1 8F D0 B3 D0 BE D0 B4 D1 8B 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2D 00 00 00 F4 03 04 00 0D F4 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 3B 87 00 00 35 04 06 00 8E E0 2C 63 51 05 40 2F BF 74 98 F3 04 10 [15:55:53]Write to MH i2c: 01 00 00 F2 1C 0E [15:55:53]Write i2c OK [15:55:53]MH_I2C_Read... [15:55:53]Read from MH i2c: 01 [15:55:53]MH_I2C_Read... [15:55:53]Read from MH i2c: 01 07 00 [15:55:53]MH_I2C_Read... [15:55:53]Read from MH i2c: 01 07 00 F2 1C 00 00 00 00 00 ED 0C 0E [15:55:53]RasterBufferAndPrint [15:55:53]line [15:55:53]line [15:55:53]line [15:55:53]line [15:55:53]line [15:55:53]written 0, free lines is 3322 [15:55:53]MH_Cut [15:55:53]Write to MH i2c: D1 01 00 F9 1C 01 E7 [15:55:53]Write i2c OK [15:55:53]MH_I2C_Read... [15:55:53]Read from MH i2c: D1 [15:55:53]MH_I2C_Read... [15:55:53]Read from MH i2c: D1 01 00 [15:55:53]MH_I2C_Read... [15:55:53]Read from MH i2c: D1 01 00 F9 1C 00 E6 [15:55:53]Write to MH i2c: 01 00 00 FA 1C 16 [15:55:53]Write i2c OK [15:55:53]MH_I2C_Read... [15:55:53]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 00 88 47 00 BE 0B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 3B 87 00 00 F4 03 04 00 D0 9A 76 66 B6 04 01 00 00 9E 08 4B 82 ED 9C F5 C3 [15:55:53]CommunicateWithHost err = 0 [15:55:53]CheckOFDResponse [15:55:53]1017 (14) - 77093643461234 [15:55:53]1041 (16) - 0000000000875095 [15:55:53]1040 (4) - 34619 [15:55:53]1012 (4) - 22.06.2024 09:35 [15:55:53]1206 (1) - 0 [15:55:53]OFD Sender: Remove packet 34619 [15:55:53]ProducePacketName [15:55:53]name=ofd_packets/00034619 [15:55:53]NVStorageDeleteData [15:55:53]OFD Sender: No OFD packet to send [15:55:54]*** Cut start [15:55:54]*** Partial cut [15:55:54]*** CUTSNS_PIN = 1 [15:55:54]*** CUTSNS_PIN = 0 [15:55:54]*** Brake cut motor [15:55:54]Read from MH i2c: 01 [15:55:54]MH_I2C_Read... [15:55:54]*** Stop cut motor [15:55:54]*** Cut end [15:55:54]Read from MH i2c: 01 07 00 [15:55:54]MH_I2C_Read... [15:55:54]Read from MH i2c: 01 07 00 FA 1C 00 00 00 00 00 FF 0F 2B [15:55:54]process_action close_receipt done [15:55:54]requested_data is exist [15:55:54]produce_requested_data [15:55:54]requested_item fm.sn is exist - process it [15:55:54]wFMCommunicate request_size=4 [15:55:54]MH_SAM_APDU [15:55:54]CAPDU: 80 11 00 00 [15:55:54]Write to MH i2c: E2 08 00 FB 1C 80 11 00 00 00 00 00 00 91 [15:55:54]Write i2c OK [15:55:54]MH_I2C_Read... [15:55:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:55:54]Read from MH i2c: E2 [15:55:54]MH_I2C_Read... [15:55:54]Read from MH i2c: E2 17 00 [15:55:54]MH_I2C_Read... [15:55:54]Read from MH i2c: E2 17 00 FB 1C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 E6 [15:55:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [15:55:54]wFMCommunicate OK [15:55:54]requested_item fd.num is exist - process it [15:55:54]SAM_PROTO_GetFieldsCounters [15:55:54]wFMCommunicate request_size=4 [15:55:54]MH_SAM_APDU [15:55:54]CAPDU: 80 13 00 00 [15:55:54]Write to MH i2c: E2 08 00 FC 1C 80 13 00 00 00 00 00 00 94 [15:55:54]Write i2c OK [15:55:54]MH_I2C_Read... [15:55:54]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:55:54]Read from MH i2c: E2 [15:55:54]MH_I2C_Read... [15:55:54]Read from MH i2c: E2 62 00 [15:55:54]MH_I2C_Read... [15:55:54]Read from MH i2c: E2 62 00 FC 1C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 3B 87 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 2D 00 00 00 5E 04 04 00 2D 00 00 00 57 04 04 00 2E 00 00 00 19 04 04 00 00 00 00 00 90 00 4F [15:55:54]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 3B 87 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 2D 00 00 00 5E 04 04 00 2D 00 00 00 57 04 04 00 2E 00 00 00 19 04 04 00 00 00 00 00 90 00 [15:55:54]wFMCommunicate OK [15:55:54]SAM_PROTO_GetFieldsCounters done [15:55:54]requested_item shift.num is exist - process it [15:55:54]requested_item shift.opened is exist - process it [15:55:54]req_shift_opened [15:55:54]FM_GetShiftState [15:55:54]SAM_PROTO_GetShiftState [15:55:54]wFMCommunicate request_size=4 [15:55:54]MH_SAM_APDU [15:55:54]CAPDU: 80 13 01 00 [15:55:54]Write to MH i2c: E2 08 00 FD 1C 80 13 01 00 00 00 00 00 96 [15:55:54]Write i2c OK [15:55:54]MH_I2C_Read... [15:55:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:55:54]Read from MH i2c: E2 [15:55:54]MH_I2C_Read... [15:55:54]Read from MH i2c: E2 0E 00 [15:55:54]MH_I2C_Read... [15:55:54]Read from MH i2c: E2 0E 00 FD 1C 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 50 [15:55:54]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [15:55:54]wFMCommunicate OK [15:55:54]SAM_PROTO_GetShiftState done [15:55:54]FM_GetShiftState done [15:55:54]req_shift_opened done [15:55:54]requested_item shift.open_date is exist - process it [15:55:54]req_shift_open_date [15:55:54]req_shift_open_date done [15:55:54]produce_requested_data done [15:55:54]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34619,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120} [15:55:54]process_action_free close_receipt [15:55:54]json_value_free [15:55:54]json_value_free done [15:55:54]process_json_proto returns [15:55:54]Send response to host [15:55:54]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34619,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120}}} [15:55:54]free response buf [15:55:54]execute_script done [15:55:54]execute_script returns [15:55:54]free content buf [15:55:54]Sock 7.Close socket [15:55:54]Sock 7.Thread stoped [15:55:55]accept exits with 9 [15:55:55]New connection [15:55:55]New thread 3067616612 created [15:55:55]Thread 3067473252 joined [15:55:55]Waiting for new connection... [15:55:55] Sock 9.Parse request [15:55:55]Sock 9.Check first char [15:55:55]Sock 9.First char is OK [15:55:55]request: POST /json_proto HTTP/1.0 [15:55:55]Method: POST [15:55:55]URL: /json_proto [15:55:55]Method is POST - this is cgi request [15:55:55]url: /json_proto [15:55:55]query_string will be loaded in cgi processing [15:55:55]execute_cgi json_proto POST (null) [15:55:55]execute_cgi path=json_proto method=POST [15:55:55]POST find Content-Length [15:55:55]Host: 172.17.38.134:8080 [15:55:55]Content-Length: 663 [15:55:55]Content-Type: application/json [15:55:55] [15:55:55]POST finish read [15:55:55]Found Content-Length = 663 [15:55:55]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)673991", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 32", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.40, "quantity" : 20.000, "sum" : 1328.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1500.00, "payments": [ { "type": 0, "sum" : 1328.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:55:55]execute_script... [15:55:55]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)673991", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 32", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.40, "quantity" : 20.000, "sum" : 1328.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1500.00, "payments": [ { "type": 0, "sum" : 1328.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:55:55]POST & json_proto [15:55:55]process_json_proto [15:55:55]json parsed OK: [15:55:55]protocol is kg_v1.0 [15:55:55]action value=close_receipt [15:55:55]process_action close_receipt [15:55:55]cmd_close_receipt [15:55:55]MH_GetDate [15:55:55]Write to MH i2c: F0 00 00 FE 1C 09 [15:55:55]Write i2c OK [15:55:55]MH_I2C_Read... [15:55:55]Read from MH i2c: F0 [15:55:55]MH_I2C_Read... [15:55:55]Read from MH i2c: F0 09 00 [15:55:55]MH_I2C_Read... [15:55:55]Read from MH i2c: F0 09 00 FE 1C 00 11 F4 76 66 13 9C 7C 64 82 [15:55:55]GetLastDocTimeStamp 1719071757 [15:55:55]current date 1719071761 [15:55:55]FM_GetShiftState [15:55:55]SAM_PROTO_GetShiftState [15:55:55]wFMCommunicate request_size=4 [15:55:55]MH_SAM_APDU [15:55:55]CAPDU: 80 13 01 00 [15:55:55]Write to MH i2c: E2 08 00 FF 1C 80 13 01 00 00 00 00 00 98 [15:55:55]Write i2c OK [15:55:55]MH_I2C_Read... [15:55:55]Read from MH i2c: E2 [15:55:55]MH_I2C_Read... [15:55:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:55:55]Read from MH i2c: E2 0E 00 [15:55:55]MH_I2C_Read... [15:55:55]Read from MH i2c: E2 0E 00 FF 1C 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 52 [15:55:55]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [15:55:55]wFMCommunicate OK [15:55:55]SAM_PROTO_GetShiftState done [15:55:55]FM_GetShiftState done [15:55:55]opened in 1719016120 [15:55:55]opened+sec_in_day 1719102520 [15:55:55]quantity*price = 132800 [15:55:55]sum+1 = 132801 [15:55:55]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 1328.00 Внесено: 1500.00 СДАЧА: 172.00 НСП 1% : 11.75 НДС 12% : 141.03 Наличными: 1328.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 46 22.06.2024 15:56 Смена: 327 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34620 ФПД: 224392829051934 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T155601&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34620&fm=224392829051934&tin=02508201610067®Number=0000000000092786&sum=132800 [15:55:56]StoreToDocumentArchive [15:55:56]shift 327 fd 34620 [15:55:56]save to /storage/0327/doc_00034620 [15:55:56]save last doc name /storage/0327/doc_00034620 to /storage/kkm_last_doc_name [15:55:56]save OK [15:55:56]Clear old archive folders... [15:55:56]ProcessDocumentItem done err = 0, tmpTLVsize=251 [15:55:56]tlvbuf is 0159C2B0 [15:55:56]SAM_PROTO_ClearQueue [15:55:56]wFMCommunicate request_size=4 [15:55:56]MH_SAM_APDU [15:55:56]CAPDU: 80 09 00 00 [15:55:56]Write to MH i2c: E2 08 00 0C 1D 80 09 00 00 00 00 00 00 9B [15:55:56]Write i2c OK [15:55:56]MH_I2C_Read... [15:55:56]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:55:56]Read from MH i2c: E2 [15:55:56]MH_I2C_Read... [15:55:56]Read from MH i2c: E2 03 00 [15:55:56]MH_I2C_Read... [15:55:56]Read from MH i2c: E2 03 00 0C 1D 00 90 00 9D [15:55:56]RAPDU: 90 00 [15:55:56]wFMCommunicate OK [15:55:56]SAM_PROTO_ClearQueue done [15:55:56]KKMCreateOFDPacket [15:55:56]OFDProtocolAddRootSTLVToBuf [15:55:56]FM_MakeSignedData [15:55:56]FM_MakeSignedData [15:55:56]SAM_PROTO_SignData [15:55:56]wFMCommunicate request_size=4 [15:55:56]MH_SAM_APDU [15:55:56]CAPDU: 80 0D 01 02 [15:55:56]Write to MH i2c: E2 08 00 0D 1D 80 0D 01 02 00 00 00 00 A3 [15:55:56]Write i2c OK [15:55:56]MH_I2C_Read... [15:55:56]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:55:56]Read from MH i2c: E2 [15:55:56]MH_I2C_Read... [15:55:56]Read from MH i2c: E2 03 00 [15:55:56]MH_I2C_Read... [15:55:56]Read from MH i2c: E2 03 00 0D 1D 00 90 00 9E [15:55:56]RAPDU: 90 00 [15:55:56]wFMCommunicate OK [15:55:56]wFMCommunicate request_size=255 [15:55:56]MH_SAM_APDU [15:55:56]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 20 4E 00 00 00 00 00 37 04 06 00 F0 19 00 00 00 00 13 04 06 00 C0 06 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 06 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 97 04 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 17 37 00 00 00 00 07 04 06 00 C0 06 02 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 11 F4 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 3C 87 00 00 35 04 06 00 CC [15:55:56]Write to MH i2c: E2 02 01 0E 1D 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 20 4E 00 00 00 00 00 37 04 06 00 F0 19 00 00 00 00 13 04 06 00 C0 06 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 06 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 97 04 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 17 37 00 00 00 00 07 04 06 00 C0 06 02 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 11 F4 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 3C 87 00 00 35 04 06 00 CC 00 00 54 [15:55:56]Write i2c OK [15:55:56]MH_I2C_Read... [15:55:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:55:57]Read from MH i2c: E2 [15:55:57]MH_I2C_Read... [15:55:57]Read from MH i2c: E2 03 00 [15:55:57]MH_I2C_Read... [15:55:57]Read from MH i2c: E2 03 00 0E 1D 00 90 00 9F [15:55:57]RAPDU: 90 00 [15:55:57]wFMCommunicate OK [15:55:57]wFMCommunicate request_size=10 [15:55:57]MH_SAM_APDU [15:55:57]CAPDU: 80 0D 02 02 05 15 86 DD A4 1E [15:55:57]Write to MH i2c: E2 0D 00 0F 1D 80 0D 02 02 05 00 15 86 DD A4 1E 00 00 EA [15:55:57]Write i2c OK [15:55:57]MH_I2C_Read... [15:55:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:55:57]Read from MH i2c: E2 [15:55:57]MH_I2C_Read... [15:55:57]Read from MH i2c: E2 03 00 [15:55:57]MH_I2C_Read... [15:55:57]Read from MH i2c: E2 03 00 0F 1D 00 90 00 A0 [15:55:57]RAPDU: 90 00 [15:55:57]wFMCommunicate OK [15:55:57]wFMCommunicate request_size=4 [15:55:57]MH_SAM_APDU [15:55:57]CAPDU: 80 0D 03 02 [15:55:57]Write to MH i2c: E2 08 00 10 1D 80 0D 03 02 00 00 00 00 A8 [15:55:57]Write i2c OK [15:55:57]MH_I2C_Read... [15:55:57]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:55:57]Read from MH i2c: E2 [15:55:57]MH_I2C_Read... [15:55:57]Read from MH i2c: E2 0B 00 [15:55:57]MH_I2C_Read... [15:55:57]Read from MH i2c: E2 0B 00 10 1D 00 B6 0B 88 13 1E C3 96 78 90 00 F4 [15:55:57]RAPDU: B6 0B 88 13 1E C3 96 78 90 00 [15:55:57]wFMCommunicate OK [15:55:57]SAM_PROTO_SignData done [15:55:57]FM_MakeSignedData done [15:55:57]CreateOFDProtocolMessage [15:55:57]wFMCommunicate request_size=4 [15:55:57]MH_SAM_APDU [15:55:57]CAPDU: 80 11 00 00 [15:55:57]Write to MH i2c: E2 08 00 11 1D 80 11 00 00 00 00 00 00 A8 [15:55:57]Write i2c OK [15:55:57]MH_I2C_Read... [15:55:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:55:57]Read from MH i2c: E2 [15:55:57]MH_I2C_Read... [15:55:57]Read from MH i2c: E2 17 00 [15:55:57]MH_I2C_Read... [15:55:57]Read from MH i2c: E2 17 00 11 1D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 FD [15:55:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [15:55:57]wFMCommunicate OK [15:55:57]CreateOFDProtocolMessage done [15:55:57]OFDSenderStorePacket 34620 [15:55:57]StoreOFDPacket docnum=34620 [15:55:57]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0F 01 00 00 CA 95 07 01 AE 02 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 20 4E 00 00 00 00 00 37 04 06 00 F0 19 00 00 00 00 13 04 06 00 C0 06 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 06 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 97 04 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 17 37 00 00 00 00 07 04 06 00 C0 06 02 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 11 F4 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 3C 87 00 00 35 04 06 00 CC 15 86 DD A4 1E B6 0B 88 13 1E C3 96 78 [15:55:57]CheckFolder [15:55:57]dirname=/storage/ofd_packets [15:55:57]CheckFolder done [15:55:57]ProducePacketName [15:55:57]name=ofd_packets/00034620 [15:55:57]NVStorageSaveData ofd_packets/00034620 [15:55:57]File name is /storage/ofd_packets/00034620 [15:55:57]Write 301 bytes [15:55:57]NVStorageSaveData done [15:55:57]OFDSenderStorePacket done [15:55:57]KKMCreateOFDPacket done [15:55:57]NVStorageSaveData kkm_last_timestamp [15:55:57]File name is /storage/kkm_last_timestamp [15:55:57]Write 4 bytes [15:55:57]NVStorageSaveData done [15:55:57]ExternCall_PrintAddStr [15:55:57]wPrintStart [15:55:57]Write to MH i2c: 01 00 00 12 1D 2F [15:55:57]Write i2c OK [15:55:57]MH_I2C_Read... [15:55:57]Read from MH i2c: 01 [15:55:57]MH_I2C_Read... [15:55:57]Read from MH i2c: 01 07 00 [15:55:57]MH_I2C_Read... [15:55:57]Read from MH i2c: 01 07 00 12 1D 00 00 00 00 00 FF 0F 44 [15:55:57]RasterBufferAndPrint [15:55:57]line Счет N : (1)673991 [15:55:57]line ИНН: 02508201610067 [15:55:57]line Контрольно-Кассовый Чек [15:55:57]line ПРОДАЖА [15:55:57]line ТРК (МРК, ГНК) : 32 [15:55:57]line Товар: 2710124130 [15:55:57]line Аи-92-К-5 [15:55:57]line 20.000 * 66.40 [15:55:57]line = 1328.00 [15:55:57]line НДС 12% НСП 1% [15:55:57]line > о реализуемом товаре [15:55:57]line ИТОГО: 1328.00 [15:55:57]line Внесено: 1500.00 [15:55:57]line СДАЧА: 172.00 [15:55:57]line НСП 1% : 11.75 [15:55:57]line НДС 12% : 141.03 [15:55:57]line Наличными: 1328.00 [15:55:57]line Безнал.: 0.00 [15:55:57]line Место: АЗС № 120 "Партнер Нефть" [15:55:57]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [15:55:57]line СНО: Общий режим [15:55:57]line Чек 46 22.06.2024 15:56 [15:55:57]line Смена: 327 ФФД: 1.0 [15:55:57]line ЗНМ: 0300000172 [15:55:57]line РНМ: 0000000000092786 [15:55:57]line Версия ККМ: 001 [15:55:57]line ФМ: 0000000000875095 [15:55:57]line ФД: 34620 [15:55:57]line ФПД: 224392829051934 [15:55:57]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T155601&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34620&fm=224392829051934&tin=02508201610067®Number=0000000000092786&sum=132800 [15:55:57]OFD Sender: Processing packet 34620 [packets to send 8, broken 7] [15:55:57]ProducePacketName [15:55:57]name=ofd_packets/00034620 [15:55:57]OFD Sender: To server: pG, [15:55:57]CommunicateWithHost lk.salyk.kg:30040 [15:55:57]ConnectInit lk.salyk.kg [15:55:57]written 0, free lines is 4095 [15:55:57]Connected sock=11 [15:55:57]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0F 01 00 00 CA 95 07 01 AE 02 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 20 4E 00 00 00 00 00 37 04 06 00 F0 19 00 00 00 00 13 04 06 00 C0 06 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 06 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 97 04 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 17 37 00 00 00 00 07 04 06 00 C0 06 02 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 11 F4 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 3C 87 00 00 35 04 06 00 CC 15 86 DD A4 1E B6 0B 88 13 1E C3 96 78 [15:55:58]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 74 DB 47 00 7D 31 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 3C 87 00 00 F4 03 04 00 D5 9A 76 66 B6 04 01 00 00 87 F1 C8 6F 84 84 7B 8C [15:55:58]CommunicateWithHost err = 0 [15:55:58]CheckOFDResponse [15:55:58]1017 (14) - 77093643461234 [15:55:58]1041 (16) - 0000000000875095 [15:55:58]1040 (4) - 34620 [15:55:58]1012 (4) - 22.06.2024 09:35 [15:55:58]1206 (1) - 0 [15:55:58]OFD Sender: Remove packet 34620 [15:55:58]ProducePacketName [15:55:58]name=ofd_packets/00034620 [15:55:58]NVStorageDeleteData [15:55:58]Write to MH i2c: 01 00 00 3C 1D 59 [15:55:58]Write i2c OK [15:55:58]MH_I2C_Read... [15:55:58]Read from MH i2c: 01 [15:55:58]MH_I2C_Read... [15:55:58]Read from MH i2c: 01 07 00 [15:55:58]MH_I2C_Read... [15:55:58]Read from MH i2c: 01 07 00 3C 1D 00 00 00 00 00 2E 0D 9B [15:55:58]RasterBufferAndPrint [15:55:58]line [15:55:58]line [15:55:58]line [15:55:58]line [15:55:58]line [15:55:58]written 0, free lines is 3393 [15:55:58]MH_Cut [15:55:58]Write to MH i2c: D1 01 00 43 1D 01 32 [15:55:58]Write i2c OK [15:55:58]MH_I2C_Read... [15:55:58]Read from MH i2c: D1 [15:55:58]MH_I2C_Read... [15:55:58]Read from MH i2c: D1 01 00 [15:55:58]MH_I2C_Read... [15:55:58]Read from MH i2c: D1 01 00 43 1D 00 31 [15:55:58]Write to MH i2c: 01 00 00 44 1D 61 [15:55:58]Write i2c OK [15:55:58]MH_I2C_Read... [15:55:58]OFD Sender: No OFD packet to send [15:55:58]*** Cut start [15:55:58]*** Partial cut [15:55:58]*** CUTSNS_PIN = 1 [15:55:58]*** CUTSNS_PIN = 0 [15:55:59]*** Brake cut motor [15:55:59]Read from MH i2c: 01 [15:55:59]MH_I2C_Read... [15:55:59]*** Stop cut motor [15:55:59]*** Cut end [15:55:59]Read from MH i2c: 01 07 00 [15:55:59]MH_I2C_Read... [15:55:59]Read from MH i2c: 01 07 00 44 1D 00 00 00 00 00 FF 0F 76 [15:55:59]process_action close_receipt done [15:55:59]requested_data is exist [15:55:59]produce_requested_data [15:55:59]requested_item fm.sn is exist - process it [15:55:59]wFMCommunicate request_size=4 [15:55:59]MH_SAM_APDU [15:55:59]CAPDU: 80 11 00 00 [15:55:59]Write to MH i2c: E2 08 00 45 1D 80 11 00 00 00 00 00 00 DC [15:55:59]Write i2c OK [15:55:59]MH_I2C_Read... [15:55:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:55:59]Read from MH i2c: E2 [15:55:59]MH_I2C_Read... [15:55:59]Read from MH i2c: E2 17 00 [15:55:59]MH_I2C_Read... [15:55:59]Read from MH i2c: E2 17 00 45 1D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 31 [15:55:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [15:55:59]wFMCommunicate OK [15:55:59]requested_item fd.num is exist - process it [15:55:59]SAM_PROTO_GetFieldsCounters [15:55:59]wFMCommunicate request_size=4 [15:55:59]MH_SAM_APDU [15:55:59]CAPDU: 80 13 00 00 [15:55:59]Write to MH i2c: E2 08 00 46 1D 80 13 00 00 00 00 00 00 DF [15:55:59]Write i2c OK [15:55:59]MH_I2C_Read... [15:55:59]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:55:59]Read from MH i2c: E2 [15:55:59]MH_I2C_Read... [15:55:59]Read from MH i2c: E2 62 00 [15:55:59]MH_I2C_Read... [15:55:59]Read from MH i2c: E2 62 00 46 1D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 3C 87 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 2E 00 00 00 5E 04 04 00 2E 00 00 00 57 04 04 00 2F 00 00 00 19 04 04 00 00 00 00 00 90 00 9E [15:55:59]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 3C 87 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 2E 00 00 00 5E 04 04 00 2E 00 00 00 57 04 04 00 2F 00 00 00 19 04 04 00 00 00 00 00 90 00 [15:55:59]wFMCommunicate OK [15:55:59]SAM_PROTO_GetFieldsCounters done [15:55:59]requested_item shift.num is exist - process it [15:55:59]requested_item shift.opened is exist - process it [15:55:59]req_shift_opened [15:55:59]FM_GetShiftState [15:55:59]SAM_PROTO_GetShiftState [15:55:59]wFMCommunicate request_size=4 [15:55:59]MH_SAM_APDU [15:55:59]CAPDU: 80 13 01 00 [15:55:59]Write to MH i2c: E2 08 00 47 1D 80 13 01 00 00 00 00 00 E1 [15:55:59]Write i2c OK [15:55:59]MH_I2C_Read... [15:55:59]Read from MH i2c: E2 [15:55:59]MH_I2C_Read... [15:55:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:55:59]Read from MH i2c: E2 0E 00 [15:55:59]MH_I2C_Read... [15:55:59]Read from MH i2c: E2 0E 00 47 1D 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 9B [15:55:59]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [15:55:59]wFMCommunicate OK [15:55:59]SAM_PROTO_GetShiftState done [15:55:59]FM_GetShiftState done [15:55:59]req_shift_opened done [15:55:59]requested_item shift.open_date is exist - process it [15:55:59]req_shift_open_date [15:55:59]req_shift_open_date done [15:55:59]produce_requested_data done [15:55:59]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34620,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120} [15:55:59]process_action_free close_receipt [15:55:59]json_value_free [15:55:59]json_value_free done [15:55:59]process_json_proto returns [15:55:59]Send response to host [15:55:59]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34620,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120}}} [15:55:59]free response buf [15:55:59]execute_script done [15:55:59]execute_script returns [15:55:59]free content buf [15:55:59]Sock 9.Close socket [15:55:59]Sock 9.Thread stoped [15:56:00]accept exits with 7 [15:56:00]New connection [15:56:00]New thread 3067473252 created [15:56:00]Thread 3067616612 joined [15:56:00]Waiting for new connection... [15:56:00] Sock 7.Parse request [15:56:00]Sock 7.Check first char [15:56:00]Sock 7.First char is OK [15:56:00]request: POST /json_proto HTTP/1.0 [15:56:00]Method: POST [15:56:00]URL: /json_proto [15:56:00]Method is POST - this is cgi request [15:56:00]url: /json_proto [15:56:00]query_string will be loaded in cgi processing [15:56:00]execute_cgi json_proto POST (null) [15:56:00]execute_cgi path=json_proto method=POST [15:56:00]POST find Content-Length [15:56:00]Host: 172.17.38.134:8080 [15:56:00]Content-Length: 682 [15:56:00]Content-Type: application/json [15:56:00] [15:56:00]POST finish read [15:56:00]Found Content-Length = 682 [15:56:00]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)673992", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 41", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 73.90, "quantity" : 16.240, "sum" : 1200.14, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1200.00, "total" : 1200.00, "payments": [ { "type": 0, "sum" : 1200.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:56:00]execute_script... [15:56:00]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)673992", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 41", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 73.90, "quantity" : 16.240, "sum" : 1200.14, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1200.00, "total" : 1200.00, "payments": [ { "type": 0, "sum" : 1200.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:56:00]POST & json_proto [15:56:00]process_json_proto [15:56:00]json parsed OK: [15:56:00]protocol is kg_v1.0 [15:56:00]action value=close_receipt [15:56:00]process_action close_receipt [15:56:00]cmd_close_receipt [15:56:00]MH_GetDate [15:56:00]Write to MH i2c: F0 00 00 48 1D 54 [15:56:00]Write i2c OK [15:56:00]MH_I2C_Read... [15:56:00]Read from MH i2c: F0 [15:56:00]MH_I2C_Read... [15:56:00]Read from MH i2c: F0 09 00 [15:56:00]MH_I2C_Read... [15:56:00]Read from MH i2c: F0 09 00 48 1D 00 16 F4 76 66 13 9C 7C 64 D2 [15:56:00]GetLastDocTimeStamp 1719071761 [15:56:00]current date 1719071766 [15:56:00]FM_GetShiftState [15:56:00]SAM_PROTO_GetShiftState [15:56:00]wFMCommunicate request_size=4 [15:56:00]MH_SAM_APDU [15:56:00]CAPDU: 80 13 01 00 [15:56:00]Write to MH i2c: E2 08 00 49 1D 80 13 01 00 00 00 00 00 E3 [15:56:00]Write i2c OK [15:56:00]MH_I2C_Read... [15:56:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:56:00]Read from MH i2c: E2 [15:56:00]MH_I2C_Read... [15:56:00]Read from MH i2c: E2 0E 00 [15:56:00]MH_I2C_Read... [15:56:00]Read from MH i2c: E2 0E 00 49 1D 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 9D [15:56:00]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [15:56:00]wFMCommunicate OK [15:56:00]SAM_PROTO_GetShiftState done [15:56:00]FM_GetShiftState done [15:56:00]opened in 1719016120 [15:56:00]opened+sec_in_day 1719102520 [15:56:00]quantity*price = 120013 [15:56:00]sum+1 = 120015 [15:56:00]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.14 ИТОГО: 1200.00 Внесено: 1200.00 СДАЧА: 0.00 НСП 1% : 10.62 НДС 12% : 127.45 Наличными: 1200.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 47 22.06.2024 15:56 Смена: 327 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34621 ФПД: 7804299058675 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T155606&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34621&fm=7804299058675&tin=02508201610067®Number=0000000000092786&sum=120000 [15:56:01]StoreToDocumentArchive [15:56:01]shift 327 fd 34621 [15:56:01]save to /storage/0327/doc_00034621 [15:56:01]save last doc name /storage/0327/doc_00034621 to /storage/kkm_last_doc_name [15:56:01]save OK [15:56:01]Clear old archive folders... [15:56:01]ProcessDocumentItem done err = 0, tmpTLVsize=251 [15:56:01]tlvbuf is 016445B0 [15:56:01]SAM_PROTO_ClearQueue [15:56:01]wFMCommunicate request_size=4 [15:56:01]MH_SAM_APDU [15:56:01]CAPDU: 80 09 00 00 [15:56:01]Write to MH i2c: E2 08 00 56 1D 80 09 00 00 00 00 00 00 E5 [15:56:01]Write i2c OK [15:56:01]MH_I2C_Read... [15:56:01]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:56:01]Read from MH i2c: E2 [15:56:01]MH_I2C_Read... [15:56:01]Read from MH i2c: E2 03 00 [15:56:01]MH_I2C_Read... [15:56:01]Read from MH i2c: E2 03 00 56 1D 00 90 00 E7 [15:56:01]RAPDU: 90 00 [15:56:01]wFMCommunicate OK [15:56:01]SAM_PROTO_ClearQueue done [15:56:01]KKMCreateOFDPacket [15:56:01]OFDProtocolAddRootSTLVToBuf [15:56:01]FM_MakeSignedData [15:56:01]FM_MakeSignedData [15:56:01]SAM_PROTO_SignData [15:56:01]wFMCommunicate request_size=4 [15:56:01]MH_SAM_APDU [15:56:01]CAPDU: 80 0D 01 02 [15:56:01]Write to MH i2c: E2 08 00 57 1D 80 0D 01 02 00 00 00 00 ED [15:56:01]Write i2c OK [15:56:01]MH_I2C_Read... [15:56:01]Read from MH i2c: E2 [15:56:01]MH_I2C_Read... [15:56:01]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:56:01]Read from MH i2c: E2 03 00 [15:56:01]MH_I2C_Read... [15:56:01]Read from MH i2c: E2 03 00 57 1D 00 90 00 E8 [15:56:01]RAPDU: 90 00 [15:56:01]wFMCommunicate OK [15:56:01]wFMCommunicate request_size=255 [15:56:01]MH_SAM_APDU [15:56:01]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 70 3F 00 00 00 00 00 37 04 06 00 DE 1C 00 00 00 00 13 04 06 00 CE D4 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 D4 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 26 04 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C9 31 00 00 00 00 07 04 06 00 C0 D4 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2F 00 00 00 F4 03 04 00 16 F4 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 3D 87 00 00 35 04 06 00 07 [15:56:01]Write to MH i2c: E2 02 01 58 1D 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 70 3F 00 00 00 00 00 37 04 06 00 DE 1C 00 00 00 00 13 04 06 00 CE D4 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 D4 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 26 04 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C9 31 00 00 00 00 07 04 06 00 C0 D4 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2F 00 00 00 F4 03 04 00 16 F4 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 3D 87 00 00 35 04 06 00 07 00 00 C6 [15:56:01]Write i2c OK [15:56:01]MH_I2C_Read... [15:56:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:56:02]Read from MH i2c: E2 [15:56:02]MH_I2C_Read... [15:56:02]Read from MH i2c: E2 03 00 [15:56:02]MH_I2C_Read... [15:56:02]Read from MH i2c: E2 03 00 58 1D 00 90 00 E9 [15:56:02]RAPDU: 90 00 [15:56:02]wFMCommunicate OK [15:56:02]wFMCommunicate request_size=10 [15:56:02]MH_SAM_APDU [15:56:02]CAPDU: 80 0D 02 02 05 19 14 79 1D F3 [15:56:02]Write to MH i2c: E2 0D 00 59 1D 80 0D 02 02 05 00 19 14 79 1D F3 00 00 B0 [15:56:02]Write i2c OK [15:56:02]MH_I2C_Read... [15:56:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:56:02]Read from MH i2c: E2 [15:56:02]MH_I2C_Read... [15:56:02]Read from MH i2c: E2 03 00 [15:56:02]MH_I2C_Read... [15:56:02]Read from MH i2c: E2 03 00 59 1D 00 90 00 EA [15:56:02]RAPDU: 90 00 [15:56:02]wFMCommunicate OK [15:56:02]wFMCommunicate request_size=4 [15:56:02]MH_SAM_APDU [15:56:02]CAPDU: 80 0D 03 02 [15:56:02]Write to MH i2c: E2 08 00 5A 1D 80 0D 03 02 00 00 00 00 F2 [15:56:02]Write i2c OK [15:56:02]MH_I2C_Read... [15:56:02]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:56:02]Read from MH i2c: E2 [15:56:02]MH_I2C_Read... [15:56:02]Read from MH i2c: E2 0B 00 [15:56:02]MH_I2C_Read... [15:56:02]Read from MH i2c: E2 0B 00 5A 1D 00 16 E6 E2 E7 CC 31 71 7C 90 00 A2 [15:56:02]RAPDU: 16 E6 E2 E7 CC 31 71 7C 90 00 [15:56:02]wFMCommunicate OK [15:56:02]SAM_PROTO_SignData done [15:56:02]FM_MakeSignedData done [15:56:02]CreateOFDProtocolMessage [15:56:02]wFMCommunicate request_size=4 [15:56:02]MH_SAM_APDU [15:56:02]CAPDU: 80 11 00 00 [15:56:02]Write to MH i2c: E2 08 00 5B 1D 80 11 00 00 00 00 00 00 F2 [15:56:02]Write i2c OK [15:56:02]MH_I2C_Read... [15:56:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:56:02]Read from MH i2c: E2 [15:56:02]MH_I2C_Read... [15:56:02]Read from MH i2c: E2 17 00 [15:56:02]MH_I2C_Read... [15:56:02]Read from MH i2c: E2 17 00 5B 1D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 47 [15:56:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [15:56:02]wFMCommunicate OK [15:56:02]CreateOFDProtocolMessage done [15:56:02]OFDSenderStorePacket 34621 [15:56:02]StoreOFDPacket docnum=34621 [15:56:02]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0F 01 00 00 BA 4C 07 01 2F 59 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 70 3F 00 00 00 00 00 37 04 06 00 DE 1C 00 00 00 00 13 04 06 00 CE D4 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 D4 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 26 04 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C9 31 00 00 00 00 07 04 06 00 C0 D4 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2F 00 00 00 F4 03 04 00 16 F4 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 3D 87 00 00 35 04 06 00 07 19 14 79 1D F3 16 E6 E2 E7 CC 31 71 7C [15:56:02]CheckFolder [15:56:02]dirname=/storage/ofd_packets [15:56:02]CheckFolder done [15:56:02]ProducePacketName [15:56:02]name=ofd_packets/00034621 [15:56:02]NVStorageSaveData ofd_packets/00034621 [15:56:02]File name is /storage/ofd_packets/00034621 [15:56:02]Write 301 bytes [15:56:02]NVStorageSaveData done [15:56:02]OFDSenderStorePacket done [15:56:02]KKMCreateOFDPacket done [15:56:02]NVStorageSaveData kkm_last_timestamp [15:56:02]File name is /storage/kkm_last_timestamp [15:56:02]Write 4 bytes [15:56:02]NVStorageSaveData done [15:56:02]ExternCall_PrintAddStr [15:56:02]wPrintStart [15:56:02]Write to MH i2c: 01 00 00 5C 1D 79 [15:56:02]Write i2c OK [15:56:02]MH_I2C_Read... [15:56:02]Read from MH i2c: 01 [15:56:02]MH_I2C_Read... [15:56:02]Read from MH i2c: 01 07 00 [15:56:02]MH_I2C_Read... [15:56:02]Read from MH i2c: 01 07 00 5C 1D 00 00 00 00 00 FF 0F 8E [15:56:02]RasterBufferAndPrint [15:56:02]line Счет N : (1)673992 [15:56:02]line ИНН: 02508201610067 [15:56:02]line Контрольно-Кассовый Чек [15:56:02]line ПРОДАЖА [15:56:02]line ТРК (МРК, ГНК) : 41 [15:56:02]line Товар: 2710124500 [15:56:02]line Аи-95-К-5 [15:56:02]line 16.240 * 73.90 [15:56:02]line = 1200.14 [15:56:02]line НДС 12% НСП 1% [15:56:02]line > о реализуемом товаре [15:56:02]line ОКРУГЛЕНИЕ: -0.14 [15:56:02]line ИТОГО: 1200.00 [15:56:02]line Внесено: 1200.00 [15:56:02]line СДАЧА: 0.00 [15:56:02]line НСП 1% : 10.62 [15:56:02]line НДС 12% : 127.45 [15:56:02]line Наличными: 1200.00 [15:56:02]line Безнал.: 0.00 [15:56:02]line Место: АЗС № 120 "Партнер Нефть" [15:56:02]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [15:56:02]line СНО: Общий режим [15:56:02]line Чек 47 22.06.2024 15:56 [15:56:02]line Смена: 327 ФФД: 1.0 [15:56:02]line ЗНМ: 0300000172 [15:56:02]line РНМ: 0000000000092786 [15:56:02]line Версия ККМ: 001 [15:56:02]line ФМ: 0000000000875095 [15:56:02]line ФД: 34621 [15:56:02]line ФПД: 7804299058675 [15:56:02]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T155606&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34621&fm=7804299058675&tin=02508201610067®Number=0000000000092786&sum=120000 [15:56:02]OFD Sender: Processing packet 34621 [packets to send 8, broken 7] [15:56:02]ProducePacketName [15:56:02]name=ofd_packets/00034621 [15:56:02]OFD Sender: To server: pG, [15:56:02]CommunicateWithHost lk.salyk.kg:30040 [15:56:02]ConnectInit lk.salyk.kg [15:56:02]written 0, free lines is 4095 [15:56:02]Connected sock=10 [15:56:02]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0F 01 00 00 BA 4C 07 01 2F 59 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 70 3F 00 00 00 00 00 37 04 06 00 DE 1C 00 00 00 00 13 04 06 00 CE D4 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 D4 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 26 04 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C9 31 00 00 00 00 07 04 06 00 C0 D4 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2F 00 00 00 F4 03 04 00 16 F4 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 3D 87 00 00 35 04 06 00 07 19 14 79 1D F3 16 E6 E2 E7 CC 31 71 7C [15:56:02]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 65 B8 47 00 A0 5D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 3D 87 00 00 F4 03 04 00 D9 9A 76 66 B6 04 01 00 00 09 50 FD 2B 3F 46 C2 AE [15:56:02]CommunicateWithHost err = 0 [15:56:02]CheckOFDResponse [15:56:02]1017 (14) - 77093643461234 [15:56:02]1041 (16) - 0000000000875095 [15:56:02]1040 (4) - 34621 [15:56:02]1012 (4) - 22.06.2024 09:35 [15:56:02]1206 (1) - 0 [15:56:02]OFD Sender: Remove packet 34621 [15:56:02]ProducePacketName [15:56:02]name=ofd_packets/00034621 [15:56:02]NVStorageDeleteData [15:56:02]Write to MH i2c: 01 00 00 87 1D A4 [15:56:02]Write i2c OK [15:56:02]MH_I2C_Read... [15:56:02]Read from MH i2c: 01 [15:56:03]MH_I2C_Read... [15:56:03]Read from MH i2c: 01 07 00 [15:56:03]MH_I2C_Read... [15:56:03]Read from MH i2c: 01 07 00 87 1D 00 00 00 00 00 73 0D 2B [15:56:03]RasterBufferAndPrint [15:56:03]line [15:56:03]line [15:56:03]line [15:56:03]line [15:56:03]line [15:56:03]written 0, free lines is 3466 [15:56:03]MH_Cut [15:56:03]Write to MH i2c: D1 01 00 8E 1D 01 7D [15:56:03]Write i2c OK [15:56:03]MH_I2C_Read... [15:56:03]Read from MH i2c: D1 [15:56:03]MH_I2C_Read... [15:56:03]Read from MH i2c: D1 01 00 [15:56:03]MH_I2C_Read... [15:56:03]Read from MH i2c: D1 01 00 8E 1D 00 7C [15:56:03]Write to MH i2c: 01 00 00 8F 1D AC [15:56:03]Write i2c OK [15:56:03]MH_I2C_Read... [15:56:03]OFD Sender: No OFD packet to send [15:56:03]*** Cut start [15:56:03]*** Partial cut [15:56:03]*** CUTSNS_PIN = 1 [15:56:03]*** CUTSNS_PIN = 0 [15:56:03]*** Brake cut motor [15:56:04]Read from MH i2c: 01 [15:56:04]MH_I2C_Read... [15:56:04]*** Stop cut motor [15:56:04]*** Cut end [15:56:04]Read from MH i2c: 01 07 00 [15:56:04]MH_I2C_Read... [15:56:04]Read from MH i2c: 01 07 00 8F 1D 00 00 00 00 00 FF 0F C1 [15:56:04]process_action close_receipt done [15:56:04]requested_data is exist [15:56:04]produce_requested_data [15:56:04]requested_item fm.sn is exist - process it [15:56:04]wFMCommunicate request_size=4 [15:56:04]MH_SAM_APDU [15:56:04]CAPDU: 80 11 00 00 [15:56:04]Write to MH i2c: E2 08 00 90 1D 80 11 00 00 00 00 00 00 27 [15:56:04]Write i2c OK [15:56:04]MH_I2C_Read... [15:56:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:56:04]Read from MH i2c: E2 [15:56:04]MH_I2C_Read... [15:56:04]Read from MH i2c: E2 17 00 [15:56:04]MH_I2C_Read... [15:56:04]Read from MH i2c: E2 17 00 90 1D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 7C [15:56:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [15:56:04]wFMCommunicate OK [15:56:04]requested_item fd.num is exist - process it [15:56:04]SAM_PROTO_GetFieldsCounters [15:56:04]wFMCommunicate request_size=4 [15:56:04]MH_SAM_APDU [15:56:04]CAPDU: 80 13 00 00 [15:56:04]Write to MH i2c: E2 08 00 91 1D 80 13 00 00 00 00 00 00 2A [15:56:04]Write i2c OK [15:56:04]MH_I2C_Read... [15:56:04]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:56:04]Read from MH i2c: E2 [15:56:04]MH_I2C_Read... [15:56:04]Read from MH i2c: E2 62 00 [15:56:04]MH_I2C_Read... [15:56:04]Read from MH i2c: E2 62 00 91 1D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 3D 87 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 ED [15:56:04]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 3D 87 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 [15:56:04]wFMCommunicate OK [15:56:04]SAM_PROTO_GetFieldsCounters done [15:56:04]requested_item shift.num is exist - process it [15:56:04]requested_item shift.opened is exist - process it [15:56:04]req_shift_opened [15:56:04]FM_GetShiftState [15:56:04]SAM_PROTO_GetShiftState [15:56:04]wFMCommunicate request_size=4 [15:56:04]MH_SAM_APDU [15:56:04]CAPDU: 80 13 01 00 [15:56:04]Write to MH i2c: E2 08 00 92 1D 80 13 01 00 00 00 00 00 2C [15:56:04]Write i2c OK [15:56:04]MH_I2C_Read... [15:56:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:56:04]Read from MH i2c: E2 [15:56:04]MH_I2C_Read... [15:56:04]Read from MH i2c: E2 0E 00 [15:56:04]MH_I2C_Read... [15:56:04]Read from MH i2c: E2 0E 00 92 1D 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 E6 [15:56:04]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [15:56:04]wFMCommunicate OK [15:56:04]SAM_PROTO_GetShiftState done [15:56:04]FM_GetShiftState done [15:56:04]req_shift_opened done [15:56:04]requested_item shift.open_date is exist - process it [15:56:04]req_shift_open_date [15:56:04]req_shift_open_date done [15:56:04]produce_requested_data done [15:56:04]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34621,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120} [15:56:04]process_action_free close_receipt [15:56:04]json_value_free [15:56:04]json_value_free done [15:56:04]process_json_proto returns [15:56:04]Send response to host [15:56:04]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34621,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120}}} [15:56:04]free response buf [15:56:04]execute_script done [15:56:04]execute_script returns [15:56:04]free content buf [15:56:04]Sock 7.Close socket [15:56:04]Sock 7.Thread stoped [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:33]accept exits with 9 [15:57:33]New connection [15:57:33]New thread 3067616612 created [15:57:33]Thread 3067473252 joined [15:57:33]Waiting for new connection... [15:57:33] Sock 9.Parse request [15:57:33]Sock 9.Check first char [15:57:33]Sock 9.First char is OK [15:57:33]request: POST /json_proto HTTP/1.0 [15:57:33]Method: POST [15:57:33]URL: /json_proto [15:57:33]Method is POST - this is cgi request [15:57:33]url: /json_proto [15:57:33]query_string will be loaded in cgi processing [15:57:33]execute_cgi json_proto POST (null) [15:57:33]execute_cgi path=json_proto method=POST [15:57:33]POST find Content-Length [15:57:33]Host: 172.17.38.134:8080 [15:57:33]Content-Length: 687 [15:57:33]Content-Type: application/json [15:57:33] [15:57:33]POST finish read [15:57:33]Found Content-Length = 687 [15:57:33]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)673989", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 11", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-5", "price" : 72.90, "quantity" : 31.540, "sum" : 2299.27, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 4000.00, "total" : 2299.00, "payments": [ { "type": 0, "sum" : 2299.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:57:33]execute_script... [15:57:33]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)673989", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 11", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-5", "price" : 72.90, "quantity" : 31.540, "sum" : 2299.27, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 4000.00, "total" : 2299.00, "payments": [ { "type": 0, "sum" : 2299.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:57:33]POST & json_proto [15:57:33]process_json_proto [15:57:33]json parsed OK: [15:57:33]protocol is kg_v1.0 [15:57:33]action value=close_receipt [15:57:33]process_action close_receipt [15:57:33]cmd_close_receipt [15:57:33]MH_GetDate [15:57:33]Write to MH i2c: F0 00 00 93 1D 9F [15:57:33]Write i2c OK [15:57:33]MH_I2C_Read... [15:57:33]Read from MH i2c: F0 [15:57:33]MH_I2C_Read... [15:57:33]Read from MH i2c: F0 09 00 [15:57:33]MH_I2C_Read... [15:57:33]Read from MH i2c: F0 09 00 93 1D 00 73 F4 76 66 13 9C 7C 64 7A [15:57:33]GetLastDocTimeStamp 1719071766 [15:57:33]current date 1719071859 [15:57:33]FM_GetShiftState [15:57:33]SAM_PROTO_GetShiftState [15:57:33]wFMCommunicate request_size=4 [15:57:33]MH_SAM_APDU [15:57:33]CAPDU: 80 13 01 00 [15:57:33]Write to MH i2c: E2 08 00 94 1D 80 13 01 00 00 00 00 00 2E [15:57:33]Write i2c OK [15:57:33]MH_I2C_Read... [15:57:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:57:33]Read from MH i2c: E2 [15:57:33]MH_I2C_Read... [15:57:33]Read from MH i2c: E2 0E 00 [15:57:33]MH_I2C_Read... [15:57:33]Read from MH i2c: E2 0E 00 94 1D 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 E8 [15:57:33]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [15:57:33]wFMCommunicate OK [15:57:33]SAM_PROTO_GetShiftState done [15:57:33]FM_GetShiftState done [15:57:33]opened in 1719016120 [15:57:33]opened+sec_in_day 1719102520 [15:57:33]quantity*price = 229926 [15:57:33]sum+1 = 229928 [15:57:33]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.27 ИТОГО: 2299.00 Внесено: 4000.00 СДАЧА: 1701.00 НСП 1% : 20.35 НДС 12% : 244.17 Наличными: 2299.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 48 22.06.2024 15:57 Смена: 327 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34622 ФПД: 239900912929257 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T155739&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34622&fm=239900912929257&tin=02508201610067®Number=0000000000092786&sum=229900 [15:57:34]StoreToDocumentArchive [15:57:34]shift 327 fd 34622 [15:57:34]save to /storage/0327/doc_00034622 [15:57:34]save last doc name /storage/0327/doc_00034622 to /storage/kkm_last_doc_name [15:57:34]save OK [15:57:34]Clear old archive folders... [15:57:34]ProcessDocumentItem done err = 0, tmpTLVsize=252 [15:57:34]tlvbuf is 01584280 [15:57:34]SAM_PROTO_ClearQueue [15:57:34]wFMCommunicate request_size=4 [15:57:34]MH_SAM_APDU [15:57:34]CAPDU: 80 09 00 00 [15:57:34]Write to MH i2c: E2 08 00 A1 1D 80 09 00 00 00 00 00 00 30 [15:57:34]Write i2c OK [15:57:34]MH_I2C_Read... [15:57:34]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:57:34]Read from MH i2c: E2 [15:57:34]MH_I2C_Read... [15:57:34]Read from MH i2c: E2 03 00 [15:57:34]MH_I2C_Read... [15:57:34]Read from MH i2c: E2 03 00 A1 1D 00 90 00 32 [15:57:34]RAPDU: 90 00 [15:57:34]wFMCommunicate OK [15:57:34]SAM_PROTO_ClearQueue done [15:57:34]KKMCreateOFDPacket [15:57:34]OFDProtocolAddRootSTLVToBuf [15:57:34]FM_MakeSignedData [15:57:34]FM_MakeSignedData [15:57:34]SAM_PROTO_SignData [15:57:34]wFMCommunicate request_size=4 [15:57:34]MH_SAM_APDU [15:57:34]CAPDU: 80 0D 01 02 [15:57:34]Write to MH i2c: E2 08 00 A2 1D 80 0D 01 02 00 00 00 00 38 [15:57:34]Write i2c OK [15:57:34]MH_I2C_Read... [15:57:34]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:57:34]Read from MH i2c: E2 [15:57:34]MH_I2C_Read... [15:57:34]Read from MH i2c: E2 03 00 [15:57:34]MH_I2C_Read... [15:57:34]Read from MH i2c: E2 03 00 A2 1D 00 90 00 33 [15:57:34]RAPDU: 90 00 [15:57:34]wFMCommunicate OK [15:57:34]wFMCommunicate request_size=255 [15:57:34]MH_SAM_APDU [15:57:34]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 34 7B 00 00 00 00 00 37 04 06 00 7A 1C 00 00 00 00 13 04 06 00 27 82 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 0C 82 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F3 07 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 61 5F 00 00 00 00 07 04 06 00 0C 82 03 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 73 F4 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 3E 87 00 00 35 04 06 00 [15:57:34]Write to MH i2c: E2 02 01 A3 1D 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 34 7B 00 00 00 00 00 37 04 06 00 7A 1C 00 00 00 00 13 04 06 00 27 82 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 0C 82 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F3 07 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 61 5F 00 00 00 00 07 04 06 00 0C 82 03 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 73 F4 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 3E 87 00 00 35 04 06 00 00 00 D3 [15:57:34]Write i2c OK [15:57:34]MH_I2C_Read... [15:57:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:57:35]Read from MH i2c: E2 [15:57:35]MH_I2C_Read... [15:57:35]Read from MH i2c: E2 03 00 [15:57:35]MH_I2C_Read... [15:57:35]Read from MH i2c: E2 03 00 A3 1D 00 90 00 34 [15:57:35]RAPDU: 90 00 [15:57:35]wFMCommunicate OK [15:57:35]wFMCommunicate request_size=11 [15:57:35]MH_SAM_APDU [15:57:35]CAPDU: 80 0D 02 02 06 DA 30 48 B2 49 E9 [15:57:35]Write to MH i2c: E2 0E 00 A4 1D 80 0D 02 02 06 00 DA 30 48 B2 49 E9 00 00 7D [15:57:35]Write i2c OK [15:57:35]MH_I2C_Read... [15:57:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:57:35]Read from MH i2c: E2 [15:57:35]MH_I2C_Read... [15:57:35]Read from MH i2c: E2 03 00 [15:57:35]MH_I2C_Read... [15:57:35]Read from MH i2c: E2 03 00 A4 1D 00 90 00 35 [15:57:35]RAPDU: 90 00 [15:57:35]wFMCommunicate OK [15:57:35]wFMCommunicate request_size=4 [15:57:35]MH_SAM_APDU [15:57:35]CAPDU: 80 0D 03 02 [15:57:35]Write to MH i2c: E2 08 00 A5 1D 80 0D 03 02 00 00 00 00 3D [15:57:35]Write i2c OK [15:57:35]MH_I2C_Read... [15:57:35]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:57:35]Read from MH i2c: E2 [15:57:35]MH_I2C_Read... [15:57:35]Read from MH i2c: E2 0B 00 [15:57:35]MH_I2C_Read... [15:57:35]Read from MH i2c: E2 0B 00 A5 1D 00 06 98 13 D8 9A 9C 6E 97 90 00 02 [15:57:35]RAPDU: 06 98 13 D8 9A 9C 6E 97 90 00 [15:57:35]wFMCommunicate OK [15:57:35]SAM_PROTO_SignData done [15:57:35]FM_MakeSignedData done [15:57:35]CreateOFDProtocolMessage [15:57:35]wFMCommunicate request_size=4 [15:57:35]MH_SAM_APDU [15:57:35]CAPDU: 80 11 00 00 [15:57:35]Write to MH i2c: E2 08 00 A6 1D 80 11 00 00 00 00 00 00 3D [15:57:35]Write i2c OK [15:57:35]MH_I2C_Read... [15:57:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:57:35]Read from MH i2c: E2 [15:57:35]MH_I2C_Read... [15:57:35]Read from MH i2c: E2 17 00 [15:57:35]MH_I2C_Read... [15:57:35]Read from MH i2c: E2 17 00 A6 1D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 92 [15:57:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [15:57:35]wFMCommunicate OK [15:57:35]CreateOFDProtocolMessage done [15:57:35]OFDSenderStorePacket 34622 [15:57:35]StoreOFDPacket docnum=34622 [15:57:35]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 01 00 00 B9 D8 08 01 EC 8D 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 34 7B 00 00 00 00 00 37 04 06 00 7A 1C 00 00 00 00 13 04 06 00 27 82 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 0C 82 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F3 07 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 61 5F 00 00 00 00 07 04 06 00 0C 82 03 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 73 F4 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 3E 87 00 00 35 04 06 00 DA 30 48 B2 49 E9 06 98 13 D8 9A 9C 6E 97 [15:57:35]CheckFolder [15:57:35]dirname=/storage/ofd_packets [15:57:35]CheckFolder done [15:57:35]ProducePacketName [15:57:35]name=ofd_packets/00034622 [15:57:35]NVStorageSaveData ofd_packets/00034622 [15:57:35]File name is /storage/ofd_packets/00034622 [15:57:35]Write 302 bytes [15:57:35]NVStorageSaveData done [15:57:35]OFDSenderStorePacket done [15:57:35]KKMCreateOFDPacket done [15:57:35]NVStorageSaveData kkm_last_timestamp [15:57:35]File name is /storage/kkm_last_timestamp [15:57:35]Write 4 bytes [15:57:35]NVStorageSaveData done [15:57:35]ExternCall_PrintAddStr [15:57:35]wPrintStart [15:57:35]Write to MH i2c: 01 00 00 A7 1D C4 [15:57:35]Write i2c OK [15:57:35]MH_I2C_Read... [15:57:35]Read from MH i2c: 01 [15:57:35]MH_I2C_Read... [15:57:35]Read from MH i2c: 01 07 00 [15:57:35]MH_I2C_Read... [15:57:35]Read from MH i2c: 01 07 00 A7 1D 00 00 00 00 00 FF 0F D9 [15:57:35]RasterBufferAndPrint [15:57:35]line Счет N : (1)673989 [15:57:35]line ИНН: 02508201610067 [15:57:35]line Контрольно-Кассовый Чек [15:57:35]line ПРОДАЖА [15:57:35]line ТРК (МРК, ГНК) : 11 [15:57:35]line Товар: 2710194210 [15:57:35]line ДТ(л)-К-5 [15:57:35]line 31.540 * 72.90 [15:57:35]line = 2299.27 [15:57:35]line НДС 12% НСП 1% [15:57:35]line > о реализуемом товаре [15:57:35]line ОКРУГЛЕНИЕ: -0.27 [15:57:35]line ИТОГО: 2299.00 [15:57:35]line Внесено: 4000.00 [15:57:35]line СДАЧА: 1701.00 [15:57:35]line НСП 1% : 20.35 [15:57:35]line НДС 12% : 244.17 [15:57:35]line Наличными: 2299.00 [15:57:35]line Безнал.: 0.00 [15:57:35]line Место: АЗС № 120 "Партнер Нефть" [15:57:35]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [15:57:35]line СНО: Общий режим [15:57:35]line Чек 48 22.06.2024 15:57 [15:57:35]line Смена: 327 ФФД: 1.0 [15:57:35]line ЗНМ: 0300000172 [15:57:35]line РНМ: 0000000000092786 [15:57:35]line Версия ККМ: 001 [15:57:35]line ФМ: 0000000000875095 [15:57:35]line ФД: 34622 [15:57:35]line ФПД: 239900912929257 [15:57:35]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T155739&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34622&fm=239900912929257&tin=02508201610067®Number=0000000000092786&sum=229900 [15:57:35]OFD Sender: Processing packet 34622 [packets to send 8, broken 7] [15:57:35]ProducePacketName [15:57:35]name=ofd_packets/00034622 [15:57:35]OFD Sender: To server: pG, [15:57:35]CommunicateWithHost lk.salyk.kg:30040 [15:57:35]ConnectInit lk.salyk.kg [15:57:35]written 0, free lines is 4095 [15:57:35]Connected sock=10 [15:57:35]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 01 00 00 B9 D8 08 01 EC 8D 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 34 7B 00 00 00 00 00 37 04 06 00 7A 1C 00 00 00 00 13 04 06 00 27 82 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 0C 82 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F3 07 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 61 5F 00 00 00 00 07 04 06 00 0C 82 03 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 73 F4 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 3E 87 00 00 35 04 06 00 DA 30 48 B2 49 E9 06 98 13 D8 9A 9C 6E 97 [15:57:36]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 5D 46 47 00 C6 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 38 37 35 30 39 35 10 04 04 00 3E 87 00 00 F4 03 04 00 37 9B 76 66 B6 04 01 00 00 5E 64 28 74 6F D5 B3 F4 [15:57:36]CommunicateWithHost err = 0 [15:57:36]CheckOFDResponse [15:57:36]1017 (14) - 77093643461234 [15:57:36]1041 (16) - 0000000000875095 [15:57:36]1040 (4) - 34622 [15:57:36]1012 (4) - 22.06.2024 09:36 [15:57:36]1206 (1) - 0 [15:57:36]OFD Sender: Remove packet 34622 [15:57:36]ProducePacketName [15:57:36]name=ofd_packets/00034622 [15:57:36]NVStorageDeleteData [15:57:36]Write to MH i2c: 01 00 00 D2 1D EF [15:57:36]Write i2c OK [15:57:36]MH_I2C_Read... [15:57:36]Read from MH i2c: 01 [15:57:36]MH_I2C_Read... [15:57:36]Read from MH i2c: 01 07 00 [15:57:36]MH_I2C_Read... [15:57:36]Read from MH i2c: 01 07 00 D2 1D 00 00 00 00 00 E4 0C E6 [15:57:36]RasterBufferAndPrint [15:57:36]line [15:57:36]line [15:57:36]line [15:57:36]line [15:57:36]line [15:57:36]written 0, free lines is 3307 [15:57:36]MH_Cut [15:57:36]Write to MH i2c: D1 01 00 D9 1D 01 C8 [15:57:36]Write i2c OK [15:57:36]MH_I2C_Read... [15:57:36]Read from MH i2c: D1 [15:57:36]MH_I2C_Read... [15:57:36]Read from MH i2c: D1 01 00 [15:57:36]MH_I2C_Read... [15:57:36]Read from MH i2c: D1 01 00 D9 1D 00 C7 [15:57:36]Write to MH i2c: 01 00 00 DA 1D F7 [15:57:36]Write i2c OK [15:57:36]MH_I2C_Read... [15:57:36]OFD Sender: No OFD packet to send [15:57:36]*** Cut start [15:57:36]*** Partial cut [15:57:36]*** CUTSNS_PIN = 1 [15:57:37]*** CUTSNS_PIN = 0 [15:57:37]*** Brake cut motor [15:57:37]Read from MH i2c: 01 [15:57:37]MH_I2C_Read... [15:57:37]*** Stop cut motor [15:57:37]*** Cut end [15:57:37]Read from MH i2c: 01 07 00 [15:57:37]MH_I2C_Read... [15:57:37]Read from MH i2c: 01 07 00 DA 1D 00 00 00 00 00 FF 0F 0C [15:57:37]process_action close_receipt done [15:57:37]requested_data is exist [15:57:37]produce_requested_data [15:57:37]requested_item fm.sn is exist - process it [15:57:37]wFMCommunicate request_size=4 [15:57:37]MH_SAM_APDU [15:57:37]CAPDU: 80 11 00 00 [15:57:37]Write to MH i2c: E2 08 00 DB 1D 80 11 00 00 00 00 00 00 72 [15:57:37]Write i2c OK [15:57:37]MH_I2C_Read... [15:57:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:57:37]Read from MH i2c: E2 [15:57:37]MH_I2C_Read... [15:57:37]Read from MH i2c: E2 17 00 [15:57:37]MH_I2C_Read... [15:57:37]Read from MH i2c: E2 17 00 DB 1D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 C7 [15:57:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [15:57:37]wFMCommunicate OK [15:57:37]requested_item fd.num is exist - process it [15:57:37]SAM_PROTO_GetFieldsCounters [15:57:37]wFMCommunicate request_size=4 [15:57:37]MH_SAM_APDU [15:57:37]CAPDU: 80 13 00 00 [15:57:37]Write to MH i2c: E2 08 00 DC 1D 80 13 00 00 00 00 00 00 75 [15:57:37]Write i2c OK [15:57:37]MH_I2C_Read... [15:57:37]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:57:37]Read from MH i2c: E2 [15:57:37]MH_I2C_Read... [15:57:37]Read from MH i2c: E2 62 00 [15:57:37]MH_I2C_Read... [15:57:37]Read from MH i2c: E2 62 00 DC 1D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 3E 87 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 3C [15:57:37]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 3E 87 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 [15:57:37]wFMCommunicate OK [15:57:37]SAM_PROTO_GetFieldsCounters done [15:57:37]requested_item shift.num is exist - process it [15:57:37]requested_item shift.opened is exist - process it [15:57:37]req_shift_opened [15:57:37]FM_GetShiftState [15:57:37]SAM_PROTO_GetShiftState [15:57:37]wFMCommunicate request_size=4 [15:57:37]MH_SAM_APDU [15:57:37]CAPDU: 80 13 01 00 [15:57:37]Write to MH i2c: E2 08 00 DD 1D 80 13 01 00 00 00 00 00 77 [15:57:37]Write i2c OK [15:57:37]MH_I2C_Read... [15:57:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:57:37]Read from MH i2c: E2 [15:57:37]MH_I2C_Read... [15:57:37]Read from MH i2c: E2 0E 00 [15:57:37]MH_I2C_Read... [15:57:37]Read from MH i2c: E2 0E 00 DD 1D 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 31 [15:57:37]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [15:57:37]wFMCommunicate OK [15:57:37]SAM_PROTO_GetShiftState done [15:57:37]FM_GetShiftState done [15:57:37]req_shift_opened done [15:57:37]requested_item shift.open_date is exist - process it [15:57:37]req_shift_open_date [15:57:37]req_shift_open_date done [15:57:37]produce_requested_data done [15:57:37]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34622,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120} [15:57:37]process_action_free close_receipt [15:57:37]json_value_free [15:57:37]json_value_free done [15:57:37]process_json_proto returns [15:57:37]Send response to host [15:57:37]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34622,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120}}} [15:57:37]free response buf [15:57:37]execute_script done [15:57:37]execute_script returns [15:57:37]free content buf [15:57:37]Sock 9.Close socket [15:57:37]Sock 9.Thread stoped [15:57:41]OFD Sender: No OFD packet to send [15:57:46]OFD Sender: No OFD packet to send [15:57:51]OFD Sender: No OFD packet to send [15:57:56]OFD Sender: No OFD packet to send [15:58:01]OFD Sender: No OFD packet to send [15:58:06]OFD Sender: No OFD packet to send [15:58:11]OFD Sender: No OFD packet to send [15:58:16]OFD Sender: No OFD packet to send [15:58:21]OFD Sender: No OFD packet to send [15:58:26]OFD Sender: No OFD packet to send [15:58:31]OFD Sender: No OFD packet to send [15:58:36]OFD Sender: No OFD packet to send [15:58:41]OFD Sender: No OFD packet to send [15:58:46]OFD Sender: No OFD packet to send [15:58:51]OFD Sender: No OFD packet to send [15:58:56]OFD Sender: No OFD packet to send [15:59:01]OFD Sender: No OFD packet to send [15:59:06]OFD Sender: No OFD packet to send [15:59:11]OFD Sender: No OFD packet to send [15:59:16]OFD Sender: No OFD packet to send [15:59:21]OFD Sender: No OFD packet to send [15:59:26]OFD Sender: No OFD packet to send [15:59:31]OFD Sender: No OFD packet to send [15:59:36]OFD Sender: No OFD packet to send [15:59:41]OFD Sender: No OFD packet to send [15:59:46]OFD Sender: No OFD packet to send [15:59:51]OFD Sender: No OFD packet to send [15:59:56]OFD Sender: No OFD packet to send [16:00:01]OFD Sender: No OFD packet to send [16:00:06]OFD Sender: No OFD packet to send [16:00:11]OFD Sender: No OFD packet to send [16:00:16]OFD Sender: No OFD packet to send [16:00:21]OFD Sender: No OFD packet to send [16:00:26]OFD Sender: No OFD packet to send [16:00:29]accept exits with 7 [16:00:29]New connection [16:00:29]New thread 3067473252 created [16:00:29]Thread 3067616612 joined [16:00:29]Waiting for new connection... [16:00:29] Sock 7.Parse request [16:00:29]Sock 7.Check first char [16:00:29]Sock 7.First char is OK [16:00:29]request: POST /json_proto HTTP/1.0 [16:00:29]Method: POST [16:00:29]URL: /json_proto [16:00:29]Method is POST - this is cgi request [16:00:29]url: /json_proto [16:00:29]query_string will be loaded in cgi processing [16:00:29]execute_cgi json_proto POST (null) [16:00:29]execute_cgi path=json_proto method=POST [16:00:29]POST find Content-Length [16:00:29]Host: 172.17.38.134:8080 [16:00:29]Content-Length: 666 [16:00:29]Content-Type: application/json [16:00:29] [16:00:29]POST finish read [16:00:29]Found Content-Length = 666 [16:00:29]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184375", "tax_sys" : 0, "items" : [ { "code": "4870202521292", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0421\u043E\u043A \u0431\u0435\u0440\u0435\u0437\u044B 1,2\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" ] } } [16:00:29]execute_script... [16:00:29]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184375", "tax_sys" : 0, "items" : [ { "code": "4870202521292", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0421\u043E\u043A \u0431\u0435\u0440\u0435\u0437\u044B 1,2\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" ] } } [16:00:29]POST & json_proto [16:00:29]process_json_proto [16:00:29]json parsed OK: [16:00:29]protocol is kg_v1.0 [16:00:29]action value=close_receipt [16:00:29]process_action close_receipt [16:00:29]cmd_close_receipt [16:00:29]MH_GetDate [16:00:29]Write to MH i2c: F0 00 00 DE 1D EA [16:00:29]Write i2c OK [16:00:29]MH_I2C_Read... [16:00:29]Read from MH i2c: F0 [16:00:29]MH_I2C_Read... [16:00:29]Read from MH i2c: F0 09 00 [16:00:29]MH_I2C_Read... [16:00:29]Read from MH i2c: F0 09 00 DE 1D 00 23 F5 76 66 13 9C 7C 64 76 [16:00:29]GetLastDocTimeStamp 1719071859 [16:00:29]current date 1719072035 [16:00:29]FM_GetShiftState [16:00:29]SAM_PROTO_GetShiftState [16:00:29]wFMCommunicate request_size=4 [16:00:29]MH_SAM_APDU [16:00:29]CAPDU: 80 13 01 00 [16:00:29]Write to MH i2c: E2 08 00 DF 1D 80 13 01 00 00 00 00 00 79 [16:00:29]Write i2c OK [16:00:29]MH_I2C_Read... [16:00:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:00:29]Read from MH i2c: E2 [16:00:29]MH_I2C_Read... [16:00:29]Read from MH i2c: E2 0E 00 [16:00:29]MH_I2C_Read... [16:00:29]Read from MH i2c: E2 0E 00 DF 1D 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 33 [16:00:29]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [16:00:29]wFMCommunicate OK [16:00:29]SAM_PROTO_GetShiftState done [16:00:29]FM_GetShiftState done [16:00:29]opened in 1719016120 [16:00:29]opened+sec_in_day 1719102520 [16:00:29]quantity*price = 12500 [16:00:29]sum+1 = 12501 [16:00:29]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 125.00 НСП 1% : 1.11 НДС 12% : 13.27 Наличными: 125.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 49 22.06.2024 16:00 Смена: 327 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34623 ФПД: 141100160093083 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T160035&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34623&fm=141100160093083&tin=02508201610067®Number=0000000000092786&sum=12500 0 [16:00:30]StoreToDocumentArchive [16:00:30]shift 327 fd 34623 [16:00:30]save to /storage/0327/doc_00034623 [16:00:30]save last doc name /storage/0327/doc_00034623 to /storage/kkm_last_doc_name [16:00:30]save OK [16:00:30]Clear old archive folders... [16:00:30]ProcessDocumentItem done err = 0, tmpTLVsize=282 [16:00:30]tlvbuf is 0157A230 [16:00:30]SAM_PROTO_ClearQueue [16:00:30]wFMCommunicate request_size=4 [16:00:30]MH_SAM_APDU [16:00:30]CAPDU: 80 09 00 00 [16:00:30]Write to MH i2c: E2 08 00 EC 1D 80 09 00 00 00 00 00 00 7B [16:00:30]Write i2c OK [16:00:30]MH_I2C_Read... [16:00:30]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:00:30]Read from MH i2c: E2 [16:00:30]MH_I2C_Read... [16:00:30]Read from MH i2c: E2 03 00 [16:00:30]MH_I2C_Read... [16:00:30]Read from MH i2c: E2 03 00 EC 1D 00 90 00 7D [16:00:30]RAPDU: 90 00 [16:00:30]wFMCommunicate OK [16:00:30]SAM_PROTO_ClearQueue done [16:00:30]KKMCreateOFDPacket [16:00:30]OFDProtocolAddRootSTLVToBuf [16:00:30]FM_MakeSignedData [16:00:30]FM_MakeSignedData [16:00:30]SAM_PROTO_SignData [16:00:30]wFMCommunicate request_size=4 [16:00:30]MH_SAM_APDU [16:00:30]CAPDU: 80 0D 01 02 [16:00:30]Write to MH i2c: E2 08 00 ED 1D 80 0D 01 02 00 00 00 00 83 [16:00:30]Write i2c OK [16:00:30]MH_I2C_Read... [16:00:30]Read from MH i2c: E2 [16:00:30]MH_I2C_Read... [16:00:30]Read from MH i2c: E2 03 00 [16:00:30]MH_I2C_Read... [16:00:30]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:00:30]Read from MH i2c: E2 03 00 ED 1D 00 90 00 7E [16:00:30]RAPDU: 90 00 [16:00:30]wFMCommunicate OK [16:00:30]wFMCommunicate request_size=255 [16:00:30]MH_SAM_APDU [16:00:30]CAPDU: 80 0D 02 02 FA 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 39 32 06 04 28 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A1 D0 BE D0 BA 20 D0 B1 D0 B5 D1 80 D0 B5 D0 B7 D1 8B 20 31 2C 32 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 23 F5 76 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 32 37 38 36 11 04 [16:00:30]Write to MH i2c: E2 02 01 EE 1D 80 0D 02 02 FA 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 39 32 06 04 28 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A1 D0 BE D0 BA 20 D0 B1 D0 B5 D1 80 D0 B5 D0 B7 D1 8B 20 31 2C 32 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 23 F5 76 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 32 37 38 36 11 04 00 00 D5 [16:00:30]Write i2c OK [16:00:30]MH_I2C_Read... [16:00:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:00:30]Read from MH i2c: E2 [16:00:30]MH_I2C_Read... [16:00:30]Read from MH i2c: E2 03 00 [16:00:30]MH_I2C_Read... [16:00:30]Read from MH i2c: E2 03 00 EE 1D 00 90 00 7F [16:00:30]RAPDU: 90 00 [16:00:30]wFMCommunicate OK [16:00:30]wFMCommunicate request_size=41 [16:00:30]MH_SAM_APDU [16:00:30]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 3F 87 00 00 35 04 06 00 80 54 70 EB 8B 9B [16:00:30]Write to MH i2c: E2 2C 00 EF 1D 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 3F 87 00 00 35 04 06 00 80 54 70 EB 8B 9B 00 00 72 [16:00:30]Write i2c OK [16:00:30]MH_I2C_Read... [16:00:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:00:30]Read from MH i2c: E2 [16:00:30]MH_I2C_Read... [16:00:30]Read from MH i2c: E2 03 00 [16:00:30]MH_I2C_Read... [16:00:30]Read from MH i2c: E2 03 00 EF 1D 00 90 00 80 [16:00:30]RAPDU: 90 00 [16:00:30]wFMCommunicate OK [16:00:30]wFMCommunicate request_size=4 [16:00:30]MH_SAM_APDU [16:00:30]CAPDU: 80 0D 03 02 [16:00:30]Write to MH i2c: E2 08 00 F0 1D 80 0D 03 02 00 00 00 00 88 [16:00:30]Write i2c OK [16:00:30]MH_I2C_Read... [16:00:30]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:00:30]Read from MH i2c: E2 [16:00:30]MH_I2C_Read... [16:00:30]Read from MH i2c: E2 0B 00 [16:00:30]MH_I2C_Read... [16:00:30]Read from MH i2c: E2 0B 00 F0 1D 00 CF 2F A6 26 E3 C0 EE D6 90 00 BA [16:00:30]RAPDU: CF 2F A6 26 E3 C0 EE D6 90 00 [16:00:30]wFMCommunicate OK [16:00:30]SAM_PROTO_SignData done [16:00:30]FM_MakeSignedData done [16:00:30]CreateOFDProtocolMessage [16:00:30]wFMCommunicate request_size=4 [16:00:30]MH_SAM_APDU [16:00:30]CAPDU: 80 11 00 00 [16:00:30]Write to MH i2c: E2 08 00 F1 1D 80 11 00 00 00 00 00 00 88 [16:00:30]Write i2c OK [16:00:30]MH_I2C_Read... [16:00:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:00:30]Read from MH i2c: E2 [16:00:30]MH_I2C_Read... [16:00:30]Read from MH i2c: E2 17 00 [16:00:30]MH_I2C_Read... [16:00:30]Read from MH i2c: E2 17 00 F1 1D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 DD [16:00:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [16:00:30]wFMCommunicate OK [16:00:30]CreateOFDProtocolMessage done [16:00:30]OFDSenderStorePacket 34623 [16:00:30]StoreOFDPacket docnum=34623 [16:00:30]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 2E 01 00 00 C0 B4 26 01 01 9A 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 39 32 06 04 28 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A1 D0 BE D0 BA 20 D0 B1 D0 B5 D1 80 D0 B5 D0 B7 D1 8B 20 31 2C 32 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 23 F5 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 3F 87 00 00 35 04 06 00 80 54 70 EB 8B 9B CF 2F A6 26 E3 C0 EE D6 [16:00:30]CheckFolder [16:00:30]dirname=/storage/ofd_packets [16:00:30]CheckFolder done [16:00:30]ProducePacketName [16:00:30]name=ofd_packets/00034623 [16:00:30]NVStorageSaveData ofd_packets/00034623 [16:00:30]File name is /storage/ofd_packets/00034623 [16:00:30]Write 332 bytes [16:00:30]NVStorageSaveData done [16:00:30]OFDSenderStorePacket done [16:00:30]KKMCreateOFDPacket done [16:00:30]NVStorageSaveData kkm_last_timestamp [16:00:30]File name is /storage/kkm_last_timestamp [16:00:30]Write 4 bytes [16:00:30]NVStorageSaveData done [16:00:30]ExternCall_PrintAddStr [16:00:30]wPrintStart [16:00:30]Write to MH i2c: 01 00 00 F2 1D 0F [16:00:30]Write i2c OK [16:00:30]MH_I2C_Read... [16:00:30]Read from MH i2c: 01 [16:00:30]MH_I2C_Read... [16:00:30]Read from MH i2c: 01 07 00 [16:00:30]MH_I2C_Read... [16:00:30]Read from MH i2c: 01 07 00 F2 1D 00 00 00 00 00 FF 0F 24 [16:00:30]RasterBufferAndPrint [16:00:30]line Счет N : (3)184375 [16:00:30]line ИНН: 02508201610067 [16:00:30]line Контрольно-Кассовый Чек [16:00:30]line ПРОДАЖА [16:00:30]line Товар: 4870202521292 [16:00:30]line Напиток Сок березы 1,2л [16:00:30]line 1.000 * 125.00 [16:00:30]line = 125.00 [16:00:30]line НДС 12% НСП 1% [16:00:30]line > о реализуемом товаре [16:00:30]line ИТОГО: 125.00 [16:00:30]line НСП 1% : 1.11 [16:00:30]line НДС 12% : 13.27 [16:00:30]line Наличными: 125.00 [16:00:30]line Безнал.: 0.00 [16:00:30]line Место: АЗС № 120 "Партнер Нефть" [16:00:30]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [16:00:30]line СНО: Общий режим [16:00:30]line Чек 49 22.06.2024 16:00 [16:00:30]line Смена: 327 ФФД: 1.0 [16:00:30]line ЗНМ: 0300000172 [16:00:30]line РНМ: 0000000000092786 [16:00:31]line Версия ККМ: 001 [16:00:31]line ФМ: 0000000000875095 [16:00:31]line ФД: 34623 [16:00:31]line ФПД: 141100160093083 [16:00:31]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T160035&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34623&fm=141100160093083&tin=02508201610067®Number=0000000000092786&sum=12500 [16:00:31]line 0 [16:00:31]OFD Sender: Processing packet 34623 [packets to send 8, broken 7] [16:00:31]ProducePacketName [16:00:31]name=ofd_packets/00034623 [16:00:31]OFD Sender: To server: pG, [16:00:31]CommunicateWithHost lk.salyk.kg:30040 [16:00:31]ConnectInit lk.salyk.kg [16:00:31]written 0, free lines is 4095 [16:00:31]Connected sock=10 [16:00:31]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 2E 01 00 00 C0 B4 26 01 01 9A 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 39 32 06 04 28 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A1 D0 BE D0 BA 20 D0 B1 D0 B5 D1 80 D0 B5 D0 B7 D1 8B 20 31 2C 32 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 23 F5 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 3F 87 00 00 35 04 06 00 80 54 70 EB 8B 9B CF 2F A6 26 E3 C0 EE D6 [16:00:31]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 10 CD 47 00 A0 44 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 3F 87 00 00 F4 03 04 00 E6 9B 76 66 B6 04 01 00 00 8D 93 9E 63 CF E0 7A 06 [16:00:31]CommunicateWithHost err = 0 [16:00:31]CheckOFDResponse [16:00:31]1017 (14) - 77093643461234 [16:00:31]1041 (16) - 0000000000875095 [16:00:31]1040 (4) - 34623 [16:00:31]1012 (4) - 22.06.2024 09:39 [16:00:31]1206 (1) - 0 [16:00:31]OFD Sender: Remove packet 34623 [16:00:31]ProducePacketName [16:00:31]name=ofd_packets/00034623 [16:00:31]NVStorageDeleteData [16:00:31]Write to MH i2c: 01 00 00 1A 1E 38 [16:00:31]Write i2c OK [16:00:31]MH_I2C_Read... [16:00:31]Read from MH i2c: 01 [16:00:31]MH_I2C_Read... [16:00:31]Read from MH i2c: 01 07 00 [16:00:31]MH_I2C_Read... [16:00:31]Read from MH i2c: 01 07 00 1A 1E 00 00 00 00 00 FA 0C 45 [16:00:31]RasterBufferAndPrint [16:00:31]line [16:00:31]line [16:00:31]line [16:00:31]line [16:00:31]line [16:00:31]written 0, free lines is 3326 [16:00:31]MH_Cut [16:00:31]Write to MH i2c: D1 01 00 21 1E 01 11 [16:00:31]Write i2c OK [16:00:31]MH_I2C_Read... [16:00:31]Read from MH i2c: D1 [16:00:31]MH_I2C_Read... [16:00:31]Read from MH i2c: D1 01 00 [16:00:31]MH_I2C_Read... [16:00:31]Read from MH i2c: D1 01 00 21 1E 00 10 [16:00:31]Write to MH i2c: 01 00 00 22 1E 40 [16:00:31]Write i2c OK [16:00:31]MH_I2C_Read... [16:00:31]OFD Sender: No OFD packet to send [16:00:32]*** Cut start [16:00:32]*** Partial cut [16:00:32]*** CUTSNS_PIN = 1 [16:00:32]*** CUTSNS_PIN = 0 [16:00:32]*** Brake cut motor [16:00:32]Read from MH i2c: 01 [16:00:32]MH_I2C_Read... [16:00:32]*** Stop cut motor [16:00:32]*** Cut end [16:00:32]Read from MH i2c: 01 07 00 [16:00:32]MH_I2C_Read... [16:00:32]Read from MH i2c: 01 07 00 22 1E 00 00 00 00 00 FF 0F 55 [16:00:32]process_action close_receipt done [16:00:32]requested_data is exist [16:00:32]produce_requested_data [16:00:32]requested_item fm.sn is exist - process it [16:00:32]wFMCommunicate request_size=4 [16:00:32]MH_SAM_APDU [16:00:32]CAPDU: 80 11 00 00 [16:00:32]Write to MH i2c: E2 08 00 23 1E 80 11 00 00 00 00 00 00 BB [16:00:32]Write i2c OK [16:00:32]MH_I2C_Read... [16:00:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:00:32]Read from MH i2c: E2 [16:00:32]MH_I2C_Read... [16:00:32]Read from MH i2c: E2 17 00 [16:00:32]MH_I2C_Read... [16:00:32]Read from MH i2c: E2 17 00 23 1E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 10 [16:00:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [16:00:32]wFMCommunicate OK [16:00:32]requested_item fd.num is exist - process it [16:00:32]SAM_PROTO_GetFieldsCounters [16:00:32]wFMCommunicate request_size=4 [16:00:32]MH_SAM_APDU [16:00:32]CAPDU: 80 13 00 00 [16:00:32]Write to MH i2c: E2 08 00 24 1E 80 13 00 00 00 00 00 00 BE [16:00:32]Write i2c OK [16:00:32]MH_I2C_Read... [16:00:33]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:00:33]Read from MH i2c: E2 [16:00:33]MH_I2C_Read... [16:00:33]Read from MH i2c: E2 62 00 [16:00:33]MH_I2C_Read... [16:00:33]Read from MH i2c: E2 62 00 24 1E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 3F 87 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 89 [16:00:33]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 3F 87 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 [16:00:33]wFMCommunicate OK [16:00:33]SAM_PROTO_GetFieldsCounters done [16:00:33]requested_item shift.num is exist - process it [16:00:33]requested_item shift.opened is exist - process it [16:00:33]req_shift_opened [16:00:33]FM_GetShiftState [16:00:33]SAM_PROTO_GetShiftState [16:00:33]wFMCommunicate request_size=4 [16:00:33]MH_SAM_APDU [16:00:33]CAPDU: 80 13 01 00 [16:00:33]Write to MH i2c: E2 08 00 25 1E 80 13 01 00 00 00 00 00 C0 [16:00:33]Write i2c OK [16:00:33]MH_I2C_Read... [16:00:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:00:33]Read from MH i2c: E2 [16:00:33]MH_I2C_Read... [16:00:33]Read from MH i2c: E2 0E 00 [16:00:33]MH_I2C_Read... [16:00:33]Read from MH i2c: E2 0E 00 25 1E 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 7A [16:00:33]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [16:00:33]wFMCommunicate OK [16:00:33]SAM_PROTO_GetShiftState done [16:00:33]FM_GetShiftState done [16:00:33]req_shift_opened done [16:00:33]requested_item shift.open_date is exist - process it [16:00:33]req_shift_open_date [16:00:33]req_shift_open_date done [16:00:33]produce_requested_data done [16:00:33]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34623,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120} [16:00:33]process_action_free close_receipt [16:00:33]json_value_free [16:00:33]json_value_free done [16:00:33]process_json_proto returns [16:00:33]Send response to host [16:00:33]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34623,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120}}} [16:00:33]free response buf [16:00:33]execute_script done [16:00:33]execute_script returns [16:00:33]free content buf [16:00:33]Sock 7.Close socket [16:00:33]Sock 7.Thread stoped [16:00:36]OFD Sender: No OFD packet to send [16:00:41]OFD Sender: No OFD packet to send [16:00:46]OFD Sender: No OFD packet to send [16:00:51]OFD Sender: No OFD packet to send [16:00:56]OFD Sender: No OFD packet to send [16:01:01]OFD Sender: No OFD packet to send [16:01:06]OFD Sender: No OFD packet to send [16:01:11]OFD Sender: No OFD packet to send [16:01:16]OFD Sender: No OFD packet to send [16:01:22]OFD Sender: No OFD packet to send [16:01:27]OFD Sender: No OFD packet to send [16:01:32]OFD Sender: No OFD packet to send [16:01:37]OFD Sender: No OFD packet to send [16:01:42]OFD Sender: No OFD packet to send [16:01:47]OFD Sender: No OFD packet to send [16:01:52]OFD Sender: No OFD packet to send [16:01:57]OFD Sender: No OFD packet to send [16:02:02]OFD Sender: No OFD packet to send [16:02:07]OFD Sender: No OFD packet to send [16:02:12]OFD Sender: No OFD packet to send [16:02:17]OFD Sender: No OFD packet to send [16:02:22]OFD Sender: No OFD packet to send [16:02:27]OFD Sender: No OFD packet to send [16:02:32]OFD Sender: No OFD packet to send [16:02:37]OFD Sender: No OFD packet to send [16:02:42]OFD Sender: No OFD packet to send [16:02:47]OFD Sender: No OFD packet to send [16:02:52]OFD Sender: No OFD packet to send [16:02:57]OFD Sender: No OFD packet to send [16:03:02]OFD Sender: No OFD packet to send [16:03:07]OFD Sender: No OFD packet to send [16:03:12]OFD Sender: No OFD packet to send [16:03:17]OFD Sender: No OFD packet to send [16:03:22]OFD Sender: No OFD packet to send [16:03:27]OFD Sender: No OFD packet to send [16:03:32]OFD Sender: No OFD packet to send [16:03:37]OFD Sender: No OFD packet to send [16:03:42]OFD Sender: No OFD packet to send [16:03:47]OFD Sender: No OFD packet to send [16:03:52]OFD Sender: No OFD packet to send [16:03:57]OFD Sender: No OFD packet to send [16:04:02]OFD Sender: No OFD packet to send [16:04:07]OFD Sender: No OFD packet to send [16:04:12]OFD Sender: No OFD packet to send [16:04:17]OFD Sender: No OFD packet to send [16:04:22]OFD Sender: No OFD packet to send [16:04:27]OFD Sender: No OFD packet to send [16:04:32]OFD Sender: No OFD packet to send [16:04:37]OFD Sender: No OFD packet to send [16:04:42]OFD Sender: No OFD packet to send [16:04:47]OFD Sender: No OFD packet to send [16:04:52]OFD Sender: No OFD packet to send [16:04:57]OFD Sender: No OFD packet to send [16:05:02]OFD Sender: No OFD packet to send [16:05:07]OFD Sender: No OFD packet to send [16:05:12]OFD Sender: No OFD packet to send [16:05:17]OFD Sender: No OFD packet to send [16:05:22]OFD Sender: No OFD packet to send [16:05:27]OFD Sender: No OFD packet to send [16:05:32]OFD Sender: No OFD packet to send [16:05:37]OFD Sender: No OFD packet to send [16:05:42]OFD Sender: No OFD packet to send [16:05:47]OFD Sender: No OFD packet to send [16:05:52]OFD Sender: No OFD packet to send [16:05:57]OFD Sender: No OFD packet to send [16:06:02]OFD Sender: No OFD packet to send [16:06:07]OFD Sender: No OFD packet to send [16:06:12]OFD Sender: No OFD packet to send [16:06:17]OFD Sender: No OFD packet to send [16:06:22]OFD Sender: No OFD packet to send [16:06:27]OFD Sender: No OFD packet to send [16:06:32]OFD Sender: No OFD packet to send [16:06:37]OFD Sender: No OFD packet to send [16:06:42]OFD Sender: No OFD packet to send [16:06:47]OFD Sender: No OFD packet to send [16:06:52]OFD Sender: No OFD packet to send [16:06:57]OFD Sender: No OFD packet to send [16:07:02]OFD Sender: No OFD packet to send [16:07:07]OFD Sender: No OFD packet to send [16:07:12]OFD Sender: No OFD packet to send [16:07:17]OFD Sender: No OFD packet to send [16:07:22]OFD Sender: No OFD packet to send [16:07:27]OFD Sender: No OFD packet to send [16:07:32]OFD Sender: No OFD packet to send [16:07:37]OFD Sender: No OFD packet to send [16:07:42]OFD Sender: No OFD packet to send [16:07:47]OFD Sender: No OFD packet to send [16:07:52]OFD Sender: No OFD packet to send [16:07:57]OFD Sender: No OFD packet to send [16:08:02]OFD Sender: No OFD packet to send [16:08:07]OFD Sender: No OFD packet to send [16:08:12]OFD Sender: No OFD packet to send [16:08:17]OFD Sender: No OFD packet to send [16:08:22]OFD Sender: No OFD packet to send [16:08:27]OFD Sender: No OFD packet to send [16:08:32]OFD Sender: No OFD packet to send [16:08:37]OFD Sender: No OFD packet to send [16:08:42]OFD Sender: No OFD packet to send [16:08:47]OFD Sender: No OFD packet to send [16:08:52]OFD Sender: No OFD packet to send [16:08:57]OFD Sender: No OFD packet to send [16:09:02]OFD Sender: No OFD packet to send [16:09:07]OFD Sender: No OFD packet to send [16:09:12]OFD Sender: No OFD packet to send [16:09:17]OFD Sender: No OFD packet to send [16:09:22]OFD Sender: No OFD packet to send [16:09:27]OFD Sender: No OFD packet to send [16:09:32]OFD Sender: No OFD packet to send [16:09:37]OFD Sender: No OFD packet to send [16:09:42]OFD Sender: No OFD packet to send [16:09:47]OFD Sender: No OFD packet to send [16:09:52]OFD Sender: No OFD packet to send [16:09:57]OFD Sender: No OFD packet to send [16:10:02]OFD Sender: No OFD packet to send [16:10:07]OFD Sender: No OFD packet to send [16:10:12]OFD Sender: No OFD packet to send [16:10:17]OFD Sender: No OFD packet to send [16:10:22]OFD Sender: No OFD packet to send [16:10:27]OFD Sender: No OFD packet to send [16:10:32]OFD Sender: No OFD packet to send [16:10:37]OFD Sender: No OFD packet to send [16:10:42]OFD Sender: No OFD packet to send [16:10:47]OFD Sender: No OFD packet to send [16:10:52]OFD Sender: No OFD packet to send [16:10:57]OFD Sender: No OFD packet to send [16:11:02]OFD Sender: No OFD packet to send [16:11:07]OFD Sender: No OFD packet to send [16:11:12]OFD Sender: No OFD packet to send [16:11:17]OFD Sender: No OFD packet to send [16:11:22]OFD Sender: No OFD packet to send [16:11:27]OFD Sender: No OFD packet to send [16:11:32]OFD Sender: No OFD packet to send [16:11:37]OFD Sender: No OFD packet to send [16:11:42]OFD Sender: No OFD packet to send [16:11:47]OFD Sender: No OFD packet to send [16:11:52]OFD Sender: No OFD packet to send [16:11:57]OFD Sender: No OFD packet to send [16:12:02]OFD Sender: No OFD packet to send [16:12:07]OFD Sender: No OFD packet to send [16:12:12]OFD Sender: No OFD packet to send [16:12:17]OFD Sender: No OFD packet to send [16:12:22]OFD Sender: No OFD packet to send [16:12:27]OFD Sender: No OFD packet to send [16:12:32]OFD Sender: No OFD packet to send [16:12:37]OFD Sender: No OFD packet to send [16:12:42]OFD Sender: No OFD packet to send [16:12:47]OFD Sender: No OFD packet to send [16:12:52]OFD Sender: No OFD packet to send [16:12:57]OFD Sender: No OFD packet to send [16:13:02]OFD Sender: No OFD packet to send [16:13:07]OFD Sender: No OFD packet to send [16:13:12]OFD Sender: No OFD packet to send [16:13:17]OFD Sender: No OFD packet to send [16:13:22]OFD Sender: No OFD packet to send [16:13:27]OFD Sender: No OFD packet to send [16:13:32]OFD Sender: No OFD packet to send [16:13:37]OFD Sender: No OFD packet to send [16:13:42]OFD Sender: No OFD packet to send [16:13:47]OFD Sender: No OFD packet to send [16:13:52]OFD Sender: No OFD packet to send [16:13:57]OFD Sender: No OFD packet to send [16:14:02]OFD Sender: No OFD packet to send [16:14:07]OFD Sender: No OFD packet to send [16:14:12]OFD Sender: No OFD packet to send [16:14:17]OFD Sender: No OFD packet to send [16:14:22]OFD Sender: No OFD packet to send [16:14:27]OFD Sender: No OFD packet to send [16:14:32]OFD Sender: No OFD packet to send [16:14:37]OFD Sender: No OFD packet to send [16:14:42]OFD Sender: No OFD packet to send [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:07]OFD Sender: No OFD packet to send [16:15:12]OFD Sender: No OFD packet to send [16:15:17]OFD Sender: No OFD packet to send [16:15:22]OFD Sender: No OFD packet to send [16:15:27]OFD Sender: No OFD packet to send [16:15:32]OFD Sender: No OFD packet to send [16:15:37]OFD Sender: No OFD packet to send [16:15:42]OFD Sender: No OFD packet to send [16:15:47]OFD Sender: No OFD packet to send [16:15:52]OFD Sender: No OFD packet to send [16:15:57]OFD Sender: No OFD packet to send [16:16:02]OFD Sender: No OFD packet to send [16:16:07]OFD Sender: No OFD packet to send [16:16:12]OFD Sender: No OFD packet to send [16:16:17]OFD Sender: No OFD packet to send [16:16:22]OFD Sender: No OFD packet to send [16:16:27]OFD Sender: No OFD packet to send [16:16:32]OFD Sender: No OFD packet to send [16:16:37]OFD Sender: No OFD packet to send [16:16:42]OFD Sender: No OFD packet to send [16:16:47]OFD Sender: No OFD packet to send [16:16:52]OFD Sender: No OFD packet to send [16:16:57]OFD Sender: No OFD packet to send [16:17:02]OFD Sender: No OFD packet to send [16:17:07]OFD Sender: No OFD packet to send [16:17:12]OFD Sender: No OFD packet to send [16:17:17]OFD Sender: No OFD packet to send [16:17:22]OFD Sender: No OFD packet to send [16:17:27]OFD Sender: No OFD packet to send [16:17:32]OFD Sender: No OFD packet to send [16:17:37]OFD Sender: No OFD packet to send [16:17:42]OFD Sender: No OFD packet to send [16:17:47]OFD Sender: No OFD packet to send [16:17:52]OFD Sender: No OFD packet to send [16:17:57]OFD Sender: No OFD packet to send [16:18:02]OFD Sender: No OFD packet to send [16:18:07]OFD Sender: No OFD packet to send [16:18:12]OFD Sender: No OFD packet to send [16:18:17]OFD Sender: No OFD packet to send [16:18:22]OFD Sender: No OFD packet to send [16:18:27]OFD Sender: No OFD packet to send [16:18:32]OFD Sender: No OFD packet to send [16:18:37]OFD Sender: No OFD packet to send [16:18:42]OFD Sender: No OFD packet to send [16:18:47]OFD Sender: No OFD packet to send [16:18:52]OFD Sender: No OFD packet to send [16:18:57]OFD Sender: No OFD packet to send [16:19:02]OFD Sender: No OFD packet to send [16:19:07]OFD Sender: No OFD packet to send [16:19:12]OFD Sender: No OFD packet to send [16:19:17]OFD Sender: No OFD packet to send [16:19:22]OFD Sender: No OFD packet to send [16:19:27]OFD Sender: No OFD packet to send [16:19:32]OFD Sender: No OFD packet to send [16:19:37]OFD Sender: No OFD packet to send [16:19:42]OFD Sender: No OFD packet to send [16:19:47]OFD Sender: No OFD packet to send [16:19:52]OFD Sender: No OFD packet to send [16:19:57]OFD Sender: No OFD packet to send [16:20:02]OFD Sender: No OFD packet to send [16:20:07]OFD Sender: No OFD packet to send [16:20:12]OFD Sender: No OFD packet to send [16:20:17]OFD Sender: No OFD packet to send [16:20:22]OFD Sender: No OFD packet to send [16:20:27]OFD Sender: No OFD packet to send [16:20:32]OFD Sender: No OFD packet to send [16:20:37]OFD Sender: No OFD packet to send [16:20:42]OFD Sender: No OFD packet to send [16:20:47]OFD Sender: No OFD packet to send [16:20:52]OFD Sender: No OFD packet to send [16:20:57]OFD Sender: No OFD packet to send [16:21:02]OFD Sender: No OFD packet to send [16:21:07]OFD Sender: No OFD packet to send [16:21:12]OFD Sender: No OFD packet to send [16:21:17]OFD Sender: No OFD packet to send [16:21:22]OFD Sender: No OFD packet to send [16:21:27]OFD Sender: No OFD packet to send [16:21:32]OFD Sender: No OFD packet to send [16:21:37]OFD Sender: No OFD packet to send [16:21:42]OFD Sender: No OFD packet to send [16:21:47]OFD Sender: No OFD packet to send [16:21:52]OFD Sender: No OFD packet to send [16:21:57]OFD Sender: No OFD packet to send [16:22:02]OFD Sender: No OFD packet to send [16:22:07]OFD Sender: No OFD packet to send [16:22:12]OFD Sender: No OFD packet to send [16:22:17]OFD Sender: No OFD packet to send [16:22:22]OFD Sender: No OFD packet to send [16:22:27]OFD Sender: No OFD packet to send [16:22:32]OFD Sender: No OFD packet to send [16:22:37]OFD Sender: No OFD packet to send [16:22:42]OFD Sender: No OFD packet to send [16:22:47]OFD Sender: No OFD packet to send [16:22:52]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:18]OFD Sender: No OFD packet to send [16:23:23]OFD Sender: No OFD packet to send [16:23:28]OFD Sender: No OFD packet to send [16:23:33]OFD Sender: No OFD packet to send [16:23:38]OFD Sender: No OFD packet to send [16:23:43]OFD Sender: No OFD packet to send [16:23:48]OFD Sender: No OFD packet to send [16:23:53]OFD Sender: No OFD packet to send [16:23:58]OFD Sender: No OFD packet to send [16:24:03]OFD Sender: No OFD packet to send [16:24:08]OFD Sender: No OFD packet to send [16:24:13]OFD Sender: No OFD packet to send [16:24:18]OFD Sender: No OFD packet to send [16:24:23]OFD Sender: No OFD packet to send [16:24:28]OFD Sender: No OFD packet to send [16:24:33]OFD Sender: No OFD packet to send [16:24:38]OFD Sender: No OFD packet to send [16:24:43]OFD Sender: No OFD packet to send [16:24:48]OFD Sender: No OFD packet to send [16:24:53]OFD Sender: No OFD packet to send [16:24:58]OFD Sender: No OFD packet to send [16:25:03]OFD Sender: No OFD packet to send [16:25:08]OFD Sender: No OFD packet to send [16:25:13]OFD Sender: No OFD packet to send [16:25:18]OFD Sender: No OFD packet to send [16:25:23]OFD Sender: No OFD packet to send [16:25:28]OFD Sender: No OFD packet to send [16:25:33]OFD Sender: No OFD packet to send [16:25:38]OFD Sender: No OFD packet to send [16:25:43]OFD Sender: No OFD packet to send [16:25:48]OFD Sender: No OFD packet to send [16:25:53]OFD Sender: No OFD packet to send [16:25:58]OFD Sender: No OFD packet to send [16:26:03]OFD Sender: No OFD packet to send [16:26:08]OFD Sender: No OFD packet to send [16:26:13]OFD Sender: No OFD packet to send [16:26:18]OFD Sender: No OFD packet to send [16:26:23]OFD Sender: No OFD packet to send [16:26:28]OFD Sender: No OFD packet to send [16:26:33]OFD Sender: No OFD packet to send [16:26:38]OFD Sender: No OFD packet to send [16:26:43]OFD Sender: No OFD packet to send [16:26:48]OFD Sender: No OFD packet to send [16:26:53]OFD Sender: No OFD packet to send [16:26:58]OFD Sender: No OFD packet to send [16:27:03]OFD Sender: No OFD packet to send [16:27:08]OFD Sender: No OFD packet to send [16:27:13]OFD Sender: No OFD packet to send [16:27:18]OFD Sender: No OFD packet to send [16:27:23]OFD Sender: No OFD packet to send [16:27:28]OFD Sender: No OFD packet to send [16:27:33]OFD Sender: No OFD packet to send [16:27:38]OFD Sender: No OFD packet to send [16:27:43]OFD Sender: No OFD packet to send [16:27:48]OFD Sender: No OFD packet to send [16:27:53]OFD Sender: No OFD packet to send [16:27:58]OFD Sender: No OFD packet to send [16:28:03]OFD Sender: No OFD packet to send [16:28:08]OFD Sender: No OFD packet to send [16:28:13]OFD Sender: No OFD packet to send [16:28:18]OFD Sender: No OFD packet to send [16:28:23]OFD Sender: No OFD packet to send [16:28:28]OFD Sender: No OFD packet to send [16:28:33]OFD Sender: No OFD packet to send [16:28:38]OFD Sender: No OFD packet to send [16:28:43]OFD Sender: No OFD packet to send [16:28:48]OFD Sender: No OFD packet to send [16:28:53]OFD Sender: No OFD packet to send [16:28:58]OFD Sender: No OFD packet to send [16:29:03]OFD Sender: No OFD packet to send [16:29:08]OFD Sender: No OFD packet to send [16:29:13]OFD Sender: No OFD packet to send [16:29:18]OFD Sender: No OFD packet to send [16:29:23]OFD Sender: No OFD packet to send [16:29:28]OFD Sender: No OFD packet to send [16:29:33]OFD Sender: No OFD packet to send [16:29:38]OFD Sender: No OFD packet to send [16:29:43]OFD Sender: No OFD packet to send [16:29:48]OFD Sender: No OFD packet to send [16:29:53]OFD Sender: No OFD packet to send [16:29:58]OFD Sender: No OFD packet to send [16:30:03]OFD Sender: No OFD packet to send [16:30:08]OFD Sender: No OFD packet to send [16:30:13]OFD Sender: No OFD packet to send [16:30:18]OFD Sender: No OFD packet to send [16:30:23]OFD Sender: No OFD packet to send [16:30:28]OFD Sender: No OFD packet to send [16:30:33]OFD Sender: No OFD packet to send [16:30:38]OFD Sender: No OFD packet to send [16:30:43]OFD Sender: No OFD packet to send [16:30:48]OFD Sender: No OFD packet to send [16:30:53]OFD Sender: No OFD packet to send [16:30:58]OFD Sender: No OFD packet to send [16:31:03]OFD Sender: No OFD packet to send [16:31:08]OFD Sender: No OFD packet to send [16:31:13]OFD Sender: No OFD packet to send [16:31:18]OFD Sender: No OFD packet to send [16:31:23]OFD Sender: No OFD packet to send [16:31:28]OFD Sender: No OFD packet to send [16:31:33]OFD Sender: No OFD packet to send [16:31:38]OFD Sender: No OFD packet to send [16:31:43]OFD Sender: No OFD packet to send [16:31:48]OFD Sender: No OFD packet to send [16:31:53]OFD Sender: No OFD packet to send [16:31:58]OFD Sender: No OFD packet to send [16:32:03]OFD Sender: No OFD packet to send [16:32:08]OFD Sender: No OFD packet to send [16:32:13]OFD Sender: No OFD packet to send [16:32:18]OFD Sender: No OFD packet to send [16:32:23]OFD Sender: No OFD packet to send [16:32:28]OFD Sender: No OFD packet to send [16:32:33]OFD Sender: No OFD packet to send [16:32:38]OFD Sender: No OFD packet to send [16:32:43]OFD Sender: No OFD packet to send [16:32:48]OFD Sender: No OFD packet to send [16:32:53]OFD Sender: No OFD packet to send [16:32:58]OFD Sender: No OFD packet to send [16:33:03]OFD Sender: No OFD packet to send [16:33:08]OFD Sender: No OFD packet to send [16:33:13]OFD Sender: No OFD packet to send [16:33:18]OFD Sender: No OFD packet to send [16:33:23]OFD Sender: No OFD packet to send [16:33:28]OFD Sender: No OFD packet to send [16:33:33]OFD Sender: No OFD packet to send [16:33:38]OFD Sender: No OFD packet to send [16:33:43]OFD Sender: No OFD packet to send [16:33:48]OFD Sender: No OFD packet to send [16:33:53]OFD Sender: No OFD packet to send [16:33:58]OFD Sender: No OFD packet to send [16:34:03]OFD Sender: No OFD packet to send [16:34:08]OFD Sender: No OFD packet to send [16:34:13]OFD Sender: No OFD packet to send [16:34:18]OFD Sender: No OFD packet to send [16:34:23]OFD Sender: No OFD packet to send [16:34:28]OFD Sender: No OFD packet to send [16:34:33]OFD Sender: No OFD packet to send [16:34:38]OFD Sender: No OFD packet to send [16:34:43]OFD Sender: No OFD packet to send [16:34:48]OFD Sender: No OFD packet to send [16:34:53]OFD Sender: No OFD packet to send [16:34:58]OFD Sender: No OFD packet to send [16:35:03]OFD Sender: No OFD packet to send [16:35:08]OFD Sender: No OFD packet to send [16:35:13]OFD Sender: No OFD packet to send [16:35:18]OFD Sender: No OFD packet to send [16:35:23]OFD Sender: No OFD packet to send [16:35:28]OFD Sender: No OFD packet to send [16:35:33]OFD Sender: No OFD packet to send [16:35:38]OFD Sender: No OFD packet to send [16:35:43]OFD Sender: No OFD packet to send [16:35:48]OFD Sender: No OFD packet to send [16:35:53]OFD Sender: No OFD packet to send [16:35:58]OFD Sender: No OFD packet to send [16:36:03]OFD Sender: No OFD packet to send [16:36:08]OFD Sender: No OFD packet to send [16:36:13]OFD Sender: No OFD packet to send [16:36:18]OFD Sender: No OFD packet to send [16:36:23]OFD Sender: No OFD packet to send [16:36:28]OFD Sender: No OFD packet to send [16:36:33]OFD Sender: No OFD packet to send [16:36:38]OFD Sender: No OFD packet to send [16:36:43]OFD Sender: No OFD packet to send [16:36:48]OFD Sender: No OFD packet to send [16:36:53]OFD Sender: No OFD packet to send [16:36:58]OFD Sender: No OFD packet to send [16:37:03]OFD Sender: No OFD packet to send [16:37:08]OFD Sender: No OFD packet to send [16:37:13]OFD Sender: No OFD packet to send [16:37:18]OFD Sender: No OFD packet to send [16:37:23]OFD Sender: No OFD packet to send [16:37:28]OFD Sender: No OFD packet to send [16:37:33]OFD Sender: No OFD packet to send [16:37:38]OFD Sender: No OFD packet to send [16:37:43]OFD Sender: No OFD packet to send [16:37:48]OFD Sender: No OFD packet to send [16:37:53]OFD Sender: No OFD packet to send [16:37:58]OFD Sender: No OFD packet to send [16:38:03]OFD Sender: No OFD packet to send [16:38:08]OFD Sender: No OFD packet to send [16:38:13]OFD Sender: No OFD packet to send [16:38:18]OFD Sender: No OFD packet to send [16:38:23]OFD Sender: No OFD packet to send [16:38:28]OFD Sender: No OFD packet to send [16:38:33]OFD Sender: No OFD packet to send [16:38:38]OFD Sender: No OFD packet to send [16:38:43]OFD Sender: No OFD packet to send [16:38:48]OFD Sender: No OFD packet to send [16:38:53]OFD Sender: No OFD packet to send [16:38:58]OFD Sender: No OFD packet to send [16:39:03]OFD Sender: No OFD packet to send [16:39:08]OFD Sender: No OFD packet to send [16:39:13]OFD Sender: No OFD packet to send [16:39:18]OFD Sender: No OFD packet to send [16:39:23]OFD Sender: No OFD packet to send [16:39:28]OFD Sender: No OFD packet to send [16:39:33]OFD Sender: No OFD packet to send [16:39:38]OFD Sender: No OFD packet to send [16:39:43]OFD Sender: No OFD packet to send [16:39:48]OFD Sender: No OFD packet to send [16:39:53]OFD Sender: No OFD packet to send [16:39:58]OFD Sender: No OFD packet to send [16:40:03]OFD Sender: No OFD packet to send [16:40:08]OFD Sender: No OFD packet to send [16:40:13]OFD Sender: No OFD packet to send [16:40:18]OFD Sender: No OFD packet to send [16:40:23]OFD Sender: No OFD packet to send [16:40:28]OFD Sender: No OFD packet to send [16:40:33]OFD Sender: No OFD packet to send [16:40:38]OFD Sender: No OFD packet to send [16:40:43]OFD Sender: No OFD packet to send [16:40:48]OFD Sender: No OFD packet to send [16:40:53]OFD Sender: No OFD packet to send [16:40:58]OFD Sender: No OFD packet to send [16:41:03]OFD Sender: No OFD packet to send [16:41:08]OFD Sender: No OFD packet to send [16:41:13]OFD Sender: No OFD packet to send [16:41:18]OFD Sender: No OFD packet to send [16:41:23]OFD Sender: No OFD packet to send [16:41:28]OFD Sender: No OFD packet to send [16:41:33]OFD Sender: No OFD packet to send [16:41:38]OFD Sender: No OFD packet to send [16:41:43]OFD Sender: No OFD packet to send [16:41:48]OFD Sender: No OFD packet to send [16:41:53]OFD Sender: No OFD packet to send [16:41:58]OFD Sender: No OFD packet to send [16:42:03]OFD Sender: No OFD packet to send [16:42:08]OFD Sender: No OFD packet to send [16:42:13]OFD Sender: No OFD packet to send [16:42:18]OFD Sender: No OFD packet to send [16:42:23]OFD Sender: No OFD packet to send [16:42:28]OFD Sender: No OFD packet to send [16:42:33]OFD Sender: No OFD packet to send [16:42:38]OFD Sender: No OFD packet to send [16:42:43]OFD Sender: No OFD packet to send [16:42:48]OFD Sender: No OFD packet to send [16:42:52]accept exits with 9 [16:42:52]New connection [16:42:52]New thread 3067616612 created [16:42:52]Thread 3067473252 joined [16:42:52]Waiting for new connection... [16:42:52] Sock 9.Parse request [16:42:52]Sock 9.Check first char [16:42:52]Sock 9.First char is OK [16:42:52]request: POST /json_proto HTTP/1.0 [16:42:52]Method: POST [16:42:52]URL: /json_proto [16:42:52]Method is POST - this is cgi request [16:42:52]url: /json_proto [16:42:52]query_string will be loaded in cgi processing [16:42:52]execute_cgi json_proto POST (null) [16:42:52]execute_cgi path=json_proto method=POST [16:42:52]POST find Content-Length [16:42:52]Host: 172.17.38.134:8080 [16:42:52]Content-Length: 689 [16:42:52]Content-Type: application/json [16:42:52] [16:42:52]POST finish read [16:42:52]Found Content-Length = 689 [16:42:52]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184376", "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" ] } } [16:42:52]execute_script... [16:42: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)184376", "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" ] } } [16:42:52]POST & json_proto [16:42:52]process_json_proto [16:42:52]json parsed OK: [16:42:52]protocol is kg_v1.0 [16:42:52]action value=close_receipt [16:42:52]process_action close_receipt [16:42:52]cmd_close_receipt [16:42:52]MH_GetDate [16:42:52]Write to MH i2c: F0 00 00 26 1E 33 [16:42:52]Write i2c OK [16:42:52]MH_I2C_Read... [16:42:52]Read from MH i2c: F0 [16:42:52]MH_I2C_Read... [16:42:52]Read from MH i2c: F0 09 00 [16:42:52]MH_I2C_Read... [16:42:52]Read from MH i2c: F0 09 00 26 1E 00 13 FF 76 66 13 9C 7C 64 B9 [16:42:52]GetLastDocTimeStamp 1719072035 [16:42:52]current date 1719074579 [16:42:52]FM_GetShiftState [16:42:52]SAM_PROTO_GetShiftState [16:42:52]wFMCommunicate request_size=4 [16:42:52]MH_SAM_APDU [16:42:52]CAPDU: 80 13 01 00 [16:42:52]Write to MH i2c: E2 08 00 27 1E 80 13 01 00 00 00 00 00 C2 [16:42:52]Write i2c OK [16:42:52]MH_I2C_Read... [16:42:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:42:53]Read from MH i2c: E2 [16:42:53]MH_I2C_Read... [16:42:53]Read from MH i2c: E2 0E 00 [16:42:53]MH_I2C_Read... [16:42:53]Read from MH i2c: E2 0E 00 27 1E 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 7C [16:42:53]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [16:42:53]wFMCommunicate OK [16:42:53]SAM_PROTO_GetShiftState done [16:42:53]FM_GetShiftState done [16:42:53]opened in 1719016120 [16:42:53]opened+sec_in_day 1719102520 [16:42:53]quantity*price = 10000 [16:42:53]sum+1 = 10001 [16:42:53]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 100.00 НСП 1% : 0.88 НДС 12% : 10.62 Наличными: 100.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 50 22.06.2024 16:42 Смена: 327 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34624 ФПД: 16401462312049 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T164259&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34624&fm=16401462312049&tin=02508201610067®Number=0000000000092786&sum=10000 0 [16:42:54]StoreToDocumentArchive [16:42:54]shift 327 fd 34624 [16:42:54]save to /storage/0327/doc_00034624 [16:42:54]save last doc name /storage/0327/doc_00034624 to /storage/kkm_last_doc_name [16:42:54]save OK [16:42:54]Clear old archive folders... [16:42:54]ProcessDocumentItem done err = 0, tmpTLVsize=293 [16:42:54]tlvbuf is 015CBC00 [16:42:54]SAM_PROTO_ClearQueue [16:42:54]wFMCommunicate request_size=4 [16:42:54]MH_SAM_APDU [16:42:54]CAPDU: 80 09 00 00 [16:42:54]Write to MH i2c: E2 08 00 34 1E 80 09 00 00 00 00 00 00 C4 [16:42:54]Write i2c OK [16:42:54]MH_I2C_Read... [16:42:54]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:42:54]Read from MH i2c: E2 [16:42:54]MH_I2C_Read... [16:42:54]Read from MH i2c: E2 03 00 [16:42:54]MH_I2C_Read... [16:42:54]Read from MH i2c: E2 03 00 34 1E 00 90 00 C6 [16:42:54]RAPDU: 90 00 [16:42:54]wFMCommunicate OK [16:42:54]SAM_PROTO_ClearQueue done [16:42:54]KKMCreateOFDPacket [16:42:54]OFDProtocolAddRootSTLVToBuf [16:42:54]FM_MakeSignedData [16:42:54]FM_MakeSignedData [16:42:54]SAM_PROTO_SignData [16:42:54]wFMCommunicate request_size=4 [16:42:54]MH_SAM_APDU [16:42:54]CAPDU: 80 0D 01 02 [16:42:54]Write to MH i2c: E2 08 00 35 1E 80 0D 01 02 00 00 00 00 CC [16:42:54]Write i2c OK [16:42:54]MH_I2C_Read... [16:42:54]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:42:54]Read from MH i2c: E2 [16:42:54]MH_I2C_Read... [16:42:54]Read from MH i2c: E2 03 00 [16:42:54]MH_I2C_Read... [16:42:54]Read from MH i2c: E2 03 00 35 1E 00 90 00 C7 [16:42:54]RAPDU: 90 00 [16:42:54]wFMCommunicate OK [16:42:54]wFMCommunicate request_size=255 [16:42:54]MH_SAM_APDU [16:42:54]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 32 00 00 00 F4 03 04 00 13 FF 76 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 [16:42:54]Write to MH i2c: E2 02 01 36 1E 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 32 00 00 00 F4 03 04 00 13 FF 76 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 ED [16:42:54]Write i2c OK [16:42:54]MH_I2C_Read... [16:42:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:42:54]Read from MH i2c: E2 [16:42:54]MH_I2C_Read... [16:42:54]Read from MH i2c: E2 03 00 [16:42:54]MH_I2C_Read... [16:42:54]Read from MH i2c: E2 03 00 36 1E 00 90 00 C8 [16:42:54]RAPDU: 90 00 [16:42:54]wFMCommunicate OK [16:42:54]wFMCommunicate request_size=52 [16:42:54]MH_SAM_APDU [16:42:54]CAPDU: 80 0D 02 02 2F 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 40 87 00 00 35 04 06 00 0E EA C3 55 BC 71 [16:42:54]Write to MH i2c: E2 37 00 37 1E 80 0D 02 02 2F 00 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 40 87 00 00 35 04 06 00 0E EA C3 55 BC 71 00 00 9F [16:42:54]Write i2c OK [16:42:54]MH_I2C_Read... [16:42:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:42:54]Read from MH i2c: E2 [16:42:54]MH_I2C_Read... [16:42:54]Read from MH i2c: E2 03 00 [16:42:54]MH_I2C_Read... [16:42:54]Read from MH i2c: E2 03 00 37 1E 00 90 00 C9 [16:42:54]RAPDU: 90 00 [16:42:54]wFMCommunicate OK [16:42:54]wFMCommunicate request_size=4 [16:42:54]MH_SAM_APDU [16:42:54]CAPDU: 80 0D 03 02 [16:42:54]Write to MH i2c: E2 08 00 38 1E 80 0D 03 02 00 00 00 00 D1 [16:42:54]Write i2c OK [16:42:54]MH_I2C_Read... [16:42:54]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:42:54]Read from MH i2c: E2 [16:42:54]MH_I2C_Read... [16:42:54]Read from MH i2c: E2 0B 00 [16:42:54]MH_I2C_Read... [16:42:54]Read from MH i2c: E2 0B 00 38 1E 00 EC 73 40 11 AC 8F D5 34 90 00 C6 [16:42:54]RAPDU: EC 73 40 11 AC 8F D5 34 90 00 [16:42:54]wFMCommunicate OK [16:42:54]SAM_PROTO_SignData done [16:42:54]FM_MakeSignedData done [16:42:54]CreateOFDProtocolMessage [16:42:54]wFMCommunicate request_size=4 [16:42:54]MH_SAM_APDU [16:42:54]CAPDU: 80 11 00 00 [16:42:54]Write to MH i2c: E2 08 00 39 1E 80 11 00 00 00 00 00 00 D1 [16:42:54]Write i2c OK [16:42:54]MH_I2C_Read... [16:42:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:42:54]Read from MH i2c: E2 [16:42:54]MH_I2C_Read... [16:42:54]Read from MH i2c: E2 17 00 [16:42:54]MH_I2C_Read... [16:42:54]Read from MH i2c: E2 17 00 39 1E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 26 [16:42:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [16:42:54]wFMCommunicate OK [16:42:54]CreateOFDProtocolMessage done [16:42:54]OFDSenderStorePacket 34624 [16:42:54]StoreOFDPacket docnum=34624 [16:42:54]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 39 01 00 00 FF 18 31 01 E4 02 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 32 00 00 00 F4 03 04 00 13 FF 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 40 87 00 00 35 04 06 00 0E EA C3 55 BC 71 EC 73 40 11 AC 8F D5 34 [16:42:54]CheckFolder [16:42:54]dirname=/storage/ofd_packets [16:42:54]CheckFolder done [16:42:54]ProducePacketName [16:42:54]name=ofd_packets/00034624 [16:42:54]NVStorageSaveData ofd_packets/00034624 [16:42:54]File name is /storage/ofd_packets/00034624 [16:42:54]Write 343 bytes [16:42:54]NVStorageSaveData done [16:42:54]OFDSenderStorePacket done [16:42:54]KKMCreateOFDPacket done [16:42:54]NVStorageSaveData kkm_last_timestamp [16:42:54]File name is /storage/kkm_last_timestamp [16:42:54]Write 4 bytes [16:42:54]NVStorageSaveData done [16:42:54]ExternCall_PrintAddStr [16:42:54]wPrintStart [16:42:54]Write to MH i2c: 01 00 00 3A 1E 58 [16:42:54]Write i2c OK [16:42:54]MH_I2C_Read... [16:42:54]Read from MH i2c: 01 [16:42:54]MH_I2C_Read... [16:42:54]Read from MH i2c: 01 07 00 [16:42:54]MH_I2C_Read... [16:42:54]Read from MH i2c: 01 07 00 3A 1E 00 00 00 00 00 FF 0F 6D [16:42:54]RasterBufferAndPrint [16:42:54]line Счет N : (3)184376 [16:42:54]line ИНН: 02508201610067 [16:42:54]line Контрольно-Кассовый Чек [16:42:54]line ПРОДАЖА [16:42:54]line Товар: 4870002326172 [16:42:54]line Вода ASU пит н.газ лимон ПЭТ 1л [16:42:54]line 1.000 * 100.00 [16:42:54]line = 100.00 [16:42:54]line НДС 12% НСП 1% [16:42:54]line > о реализуемом товаре [16:42:54]line ИТОГО: 100.00 [16:42:54]line НСП 1% : 0.88 [16:42:54]line НДС 12% : 10.62 [16:42:54]line Наличными: 100.00 [16:42:54]line Безнал.: 0.00 [16:42:54]line Место: АЗС № 120 "Партнер Нефть" [16:42:54]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [16:42:54]line СНО: Общий режим [16:42:54]line Чек 50 22.06.2024 16:42 [16:42:54]line Смена: 327 ФФД: 1.0 [16:42:54]line ЗНМ: 0300000172 [16:42:54]line РНМ: 0000000000092786 [16:42:54]line Версия ККМ: 001 [16:42:54]line ФМ: 0000000000875095 [16:42:54]line ФД: 34624 [16:42:54]line ФПД: 16401462312049 [16:42:55]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T164259&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34624&fm=16401462312049&tin=02508201610067®Number=0000000000092786&sum=10000 [16:42:55]line 0 [16:42:55]OFD Sender: Processing packet 34624 [packets to send 8, broken 7] [16:42:55]ProducePacketName [16:42:55]name=ofd_packets/00034624 [16:42:55]OFD Sender: To server: pG, [16:42:55]CommunicateWithHost lk.salyk.kg:30040 [16:42:55]ConnectInit lk.salyk.kg [16:42:55]written 0, free lines is 4095 [16:42:55]Connected sock=10 [16:42:55]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 39 01 00 00 FF 18 31 01 E4 02 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 32 00 00 00 F4 03 04 00 13 FF 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 40 87 00 00 35 04 06 00 0E EA C3 55 BC 71 EC 73 40 11 AC 8F D5 34 [16:42:55]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 B1 8D 47 00 F0 54 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 40 87 00 00 F4 03 04 00 D6 A5 76 66 B6 04 01 00 00 11 5D 06 32 D3 D4 CC 07 [16:42:55]CommunicateWithHost err = 0 [16:42:55]CheckOFDResponse [16:42:55]1017 (14) - 77093643461234 [16:42:55]1041 (16) - 0000000000875095 [16:42:55]1040 (4) - 34624 [16:42:55]1012 (4) - 22.06.2024 10:22 [16:42:55]1206 (1) - 0 [16:42:55]OFD Sender: Remove packet 34624 [16:42:55]ProducePacketName [16:42:55]name=ofd_packets/00034624 [16:42:55]NVStorageDeleteData [16:42:55]Write to MH i2c: 01 00 00 63 1E 81 [16:42:55]Write i2c OK [16:42:55]MH_I2C_Read... [16:42:55]Read from MH i2c: 01 [16:42:55]MH_I2C_Read... [16:42:55]Read from MH i2c: 01 07 00 [16:42:55]MH_I2C_Read... [16:42:55]Read from MH i2c: 01 07 00 63 1E 00 00 00 00 00 E6 0C 7A [16:42:55]RasterBufferAndPrint [16:42:55]line [16:42:55]line [16:42:55]line [16:42:55]line [16:42:55]line [16:42:55]written 0, free lines is 3308 [16:42:55]MH_Cut [16:42:55]Write to MH i2c: D1 01 00 6A 1E 01 5A [16:42:55]Write i2c OK [16:42:55]MH_I2C_Read... [16:42:55]Read from MH i2c: D1 [16:42:55]MH_I2C_Read... [16:42:55]Read from MH i2c: D1 01 00 [16:42:55]MH_I2C_Read... [16:42:55]Read from MH i2c: D1 01 00 6A 1E 00 59 [16:42:55]Write to MH i2c: 01 00 00 6B 1E 89 [16:42:55]Write i2c OK [16:42:55]MH_I2C_Read... [16:42:55]OFD Sender: No OFD packet to send [16:42:56]*** Cut start [16:42:56]*** Partial cut [16:42:56]*** CUTSNS_PIN = 1 [16:42:56]*** CUTSNS_PIN = 0 [16:42:56]*** Brake cut motor [16:42:56]Read from MH i2c: 01 [16:42:56]MH_I2C_Read... [16:42:56]*** Stop cut motor [16:42:56]*** Cut end [16:42:56]Read from MH i2c: 01 07 00 [16:42:56]MH_I2C_Read... [16:42:56]Read from MH i2c: 01 07 00 6B 1E 00 00 00 00 00 FF 0F 9E [16:42:56]process_action close_receipt done [16:42:56]requested_data is exist [16:42:56]produce_requested_data [16:42:56]requested_item fm.sn is exist - process it [16:42:56]wFMCommunicate request_size=4 [16:42:56]MH_SAM_APDU [16:42:56]CAPDU: 80 11 00 00 [16:42:56]Write to MH i2c: E2 08 00 6C 1E 80 11 00 00 00 00 00 00 04 [16:42:56]Write i2c OK [16:42:56]MH_I2C_Read... [16:42:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:42:56]Read from MH i2c: E2 [16:42:56]MH_I2C_Read... [16:42:56]Read from MH i2c: E2 17 00 [16:42:56]MH_I2C_Read... [16:42:56]Read from MH i2c: E2 17 00 6C 1E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 59 [16:42:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [16:42:56]wFMCommunicate OK [16:42:56]requested_item fd.num is exist - process it [16:42:56]SAM_PROTO_GetFieldsCounters [16:42:56]wFMCommunicate request_size=4 [16:42:56]MH_SAM_APDU [16:42:56]CAPDU: 80 13 00 00 [16:42:56]Write to MH i2c: E2 08 00 6D 1E 80 13 00 00 00 00 00 00 07 [16:42:56]Write i2c OK [16:42:56]MH_I2C_Read... [16:42:57]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:42:57]Read from MH i2c: E2 [16:42:57]MH_I2C_Read... [16:42:57]Read from MH i2c: E2 62 00 [16:42:57]MH_I2C_Read... [16:42:57]Read from MH i2c: E2 62 00 6D 1E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 40 87 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 D6 [16:42:57]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 40 87 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 [16:42:57]wFMCommunicate OK [16:42:57]SAM_PROTO_GetFieldsCounters done [16:42:57]requested_item shift.num is exist - process it [16:42:57]requested_item shift.opened is exist - process it [16:42:57]req_shift_opened [16:42:57]FM_GetShiftState [16:42:57]SAM_PROTO_GetShiftState [16:42:57]wFMCommunicate request_size=4 [16:42:57]MH_SAM_APDU [16:42:57]CAPDU: 80 13 01 00 [16:42:57]Write to MH i2c: E2 08 00 6E 1E 80 13 01 00 00 00 00 00 09 [16:42:57]Write i2c OK [16:42:57]MH_I2C_Read... [16:42:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:42:57]Read from MH i2c: E2 [16:42:57]MH_I2C_Read... [16:42:57]Read from MH i2c: E2 0E 00 [16:42:57]MH_I2C_Read... [16:42:57]Read from MH i2c: E2 0E 00 6E 1E 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 C3 [16:42:57]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [16:42:57]wFMCommunicate OK [16:42:57]SAM_PROTO_GetShiftState done [16:42:57]FM_GetShiftState done [16:42:57]req_shift_opened done [16:42:57]requested_item shift.open_date is exist - process it [16:42:57]req_shift_open_date [16:42:57]req_shift_open_date done [16:42:57]produce_requested_data done [16:42:57]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34624,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120} [16:42:57]process_action_free close_receipt [16:42:57]json_value_free [16:42:57]json_value_free done [16:42:57]process_json_proto returns [16:42:57]Send response to host [16:42:57]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34624,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120}}} [16:42:57]free response buf [16:42:57]execute_script done [16:42:57]execute_script returns [16:42:57]free content buf [16:42:57]Sock 9.Close socket [16:42:57]Sock 9.Thread stoped [16:43:00]OFD Sender: No OFD packet to send [16:43:05]OFD Sender: No OFD packet to send [16:43:10]OFD Sender: No OFD packet to send [16:43:15]OFD Sender: No OFD packet to send [16:43:20]accept exits with 7 [16:43:20]New connection [16:43:20]New thread 3067473252 created [16:43:20]Thread 3067616612 joined [16:43:20]Waiting for new connection... [16:43:20] Sock 7.Parse request [16:43:20]Sock 7.Check first char [16:43:20]Sock 7.First char is OK [16:43:20]request: POST /json_proto HTTP/1.0 [16:43:20]Method: POST [16:43:20]URL: /json_proto [16:43:20]Method is POST - this is cgi request [16:43:20]url: /json_proto [16:43:20]query_string will be loaded in cgi processing [16:43:20]execute_cgi json_proto POST (null) [16:43:20]execute_cgi path=json_proto method=POST [16:43:20]POST find Content-Length [16:43:20]Host: 172.17.38.134:8080 [16:43:20]Content-Length: 718 [16:43:20]Content-Type: application/json [16:43:20] [16:43:20]POST finish read [16:43:20]Found Content-Length = 718 [16:43:20]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184377", "tax_sys" : 0, "items" : [ { "code": "9780231379413", "name": "\u041F\u043E\u0434\u0430\u0440\u043E\u0447\u043D\u0430\u044F \u0442\u043E\u043F\u043B\u0438\u0432\u043D\u0430\u044F \u043A\u0430\u0440\u0442\u0430 3000\u0441", "price" : 3000.00, "quantity" : 1.000, "sum" : 3000.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 3000.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:43:20]execute_script... [16:43: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)184377", "tax_sys" : 0, "items" : [ { "code": "9780231379413", "name": "\u041F\u043E\u0434\u0430\u0440\u043E\u0447\u043D\u0430\u044F \u0442\u043E\u043F\u043B\u0438\u0432\u043D\u0430\u044F \u043A\u0430\u0440\u0442\u0430 3000\u0441", "price" : 3000.00, "quantity" : 1.000, "sum" : 3000.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 3000.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:43:20]POST & json_proto [16:43:20]process_json_proto [16:43:20]json parsed OK: [16:43:20]protocol is kg_v1.0 [16:43:20]action value=close_receipt [16:43:20]process_action close_receipt [16:43:20]cmd_close_receipt [16:43:20]MH_GetDate [16:43:20]Write to MH i2c: F0 00 00 6F 1E 7C [16:43:20]Write i2c OK [16:43:20]MH_I2C_Read... [16:43:20]Read from MH i2c: F0 [16:43:20]MH_I2C_Read... [16:43:20]Read from MH i2c: F0 09 00 [16:43:20]MH_I2C_Read... [16:43:20]Read from MH i2c: F0 09 00 6F 1E 00 2E FF 76 66 13 9C 7C 64 1D [16:43:20]GetLastDocTimeStamp 1719074579 [16:43:20]current date 1719074606 [16:43:20]FM_GetShiftState [16:43:20]SAM_PROTO_GetShiftState [16:43:20]wFMCommunicate request_size=4 [16:43:20]MH_SAM_APDU [16:43:20]CAPDU: 80 13 01 00 [16:43:20]Write to MH i2c: E2 08 00 70 1E 80 13 01 00 00 00 00 00 0B [16:43:20]Write i2c OK [16:43:20]MH_I2C_Read... [16:43:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:43:20]Read from MH i2c: E2 [16:43:20]MH_I2C_Read... [16:43:20]Read from MH i2c: E2 0E 00 [16:43:20]MH_I2C_Read... [16:43:20]Read from MH i2c: E2 0E 00 70 1E 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 C5 [16:43:20]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [16:43:20]wFMCommunicate OK [16:43:20]SAM_PROTO_GetShiftState done [16:43:20]FM_GetShiftState done [16:43:20]opened in 1719016120 [16:43:20]opened+sec_in_day 1719102520 [16:43:20]quantity*price = 300000 [16:43:20]sum+1 = 300001 [16:43:20]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 3000.00 НСП 1% : 26.55 НДС 12% : 318.58 Наличными: 3000.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 51 22.06.2024 16:43 Смена: 327 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34625 ФПД: 2291779678640 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T164326&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34625&fm=2291779678640&tin=02508201610067®Number=0000000000092786&sum=300000 0 [16:43:21]StoreToDocumentArchive [16:43:21]shift 327 fd 34625 [16:43:21]save to /storage/0327/doc_00034625 [16:43:21]save last doc name /storage/0327/doc_00034625 to /storage/kkm_last_doc_name [16:43:21]save OK [16:43:21]Clear old archive folders... [16:43:21]ProcessDocumentItem done err = 0, tmpTLVsize=299 [16:43:21]tlvbuf is 015EE360 [16:43:21]SAM_PROTO_ClearQueue [16:43:21]wFMCommunicate request_size=4 [16:43:21]MH_SAM_APDU [16:43:21]CAPDU: 80 09 00 00 [16:43:21]Write to MH i2c: E2 08 00 7D 1E 80 09 00 00 00 00 00 00 0D [16:43:21]Write i2c OK [16:43:21]MH_I2C_Read... [16:43:21]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:43:21]Read from MH i2c: E2 [16:43:21]MH_I2C_Read... [16:43:21]Read from MH i2c: E2 03 00 [16:43:21]MH_I2C_Read... [16:43:21]Read from MH i2c: E2 03 00 7D 1E 00 90 00 0F [16:43:21]RAPDU: 90 00 [16:43:21]wFMCommunicate OK [16:43:21]SAM_PROTO_ClearQueue done [16:43:21]KKMCreateOFDPacket [16:43:21]OFDProtocolAddRootSTLVToBuf [16:43:21]FM_MakeSignedData [16:43:21]FM_MakeSignedData [16:43:21]SAM_PROTO_SignData [16:43:21]wFMCommunicate request_size=4 [16:43:21]MH_SAM_APDU [16:43:21]CAPDU: 80 0D 01 02 [16:43:21]Write to MH i2c: E2 08 00 7E 1E 80 0D 01 02 00 00 00 00 15 [16:43:21]Write i2c OK [16:43:21]MH_I2C_Read... [16:43:21]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:43:21]Read from MH i2c: E2 [16:43:21]MH_I2C_Read... [16:43:21]Read from MH i2c: E2 03 00 [16:43:21]MH_I2C_Read... [16:43:21]Read from MH i2c: E2 03 00 7E 1E 00 90 00 10 [16:43:21]RAPDU: 90 00 [16:43:21]wFMCommunicate OK [16:43:21]wFMCommunicate request_size=255 [16:43:21]MH_SAM_APDU [16:43:21]CAPDU: 80 0D 02 02 FA 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 39 37 38 30 32 33 31 33 37 39 34 31 33 06 04 39 00 D0 9F D0 BE D0 B4 D0 B0 D1 80 D0 BE D1 87 D0 BD D0 B0 D1 8F 20 D1 82 D0 BE D0 BF D0 BB D0 B8 D0 B2 D0 BD D0 B0 D1 8F 20 D0 BA D0 B0 D1 80 D1 82 D0 B0 20 33 30 30 30 D1 81 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 93 04 00 00 00 13 04 06 00 E0 93 04 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 93 04 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5F 0A 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 72 7C 00 00 00 00 07 04 06 00 E0 93 04 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 2E FF 76 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 [16:43:21]Write to MH i2c: E2 02 01 7F 1E 80 0D 02 02 FA 00 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 39 37 38 30 32 33 31 33 37 39 34 31 33 06 04 39 00 D0 9F D0 BE D0 B4 D0 B0 D1 80 D0 BE D1 87 D0 BD D0 B0 D1 8F 20 D1 82 D0 BE D0 BF D0 BB D0 B8 D0 B2 D0 BD D0 B0 D1 8F 20 D0 BA D0 B0 D1 80 D1 82 D0 B0 20 33 30 30 30 D1 81 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 93 04 00 00 00 13 04 06 00 E0 93 04 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 93 04 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5F 0A 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 72 7C 00 00 00 00 07 04 06 00 E0 93 04 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 2E FF 76 66 0E 04 04 00 47 01 00 00 B9 04 01 00 01 0D 04 10 00 30 00 00 C2 [16:43:21]Write i2c OK [16:43:21]MH_I2C_Read... [16:43:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:43:21]Read from MH i2c: E2 [16:43:21]MH_I2C_Read... [16:43:21]Read from MH i2c: E2 03 00 [16:43:21]MH_I2C_Read... [16:43:21]Read from MH i2c: E2 03 00 7F 1E 00 90 00 11 [16:43:21]RAPDU: 90 00 [16:43:21]wFMCommunicate OK [16:43:21]wFMCommunicate request_size=58 [16:43:21]MH_SAM_APDU [16:43:21]CAPDU: 80 0D 02 02 35 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 41 87 00 00 35 04 06 00 02 15 98 B6 B1 B0 [16:43:21]Write to MH i2c: E2 3D 00 80 1E 80 0D 02 02 35 00 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 41 87 00 00 35 04 06 00 02 15 98 B6 B1 B0 00 00 9E [16:43:21]Write i2c OK [16:43:21]MH_I2C_Read... [16:43:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:43:21]Read from MH i2c: E2 [16:43:21]MH_I2C_Read... [16:43:21]Read from MH i2c: E2 03 00 [16:43:21]MH_I2C_Read... [16:43:21]Read from MH i2c: E2 03 00 80 1E 00 90 00 12 [16:43:21]RAPDU: 90 00 [16:43:21]wFMCommunicate OK [16:43:21]wFMCommunicate request_size=4 [16:43:21]MH_SAM_APDU [16:43:21]CAPDU: 80 0D 03 02 [16:43:21]Write to MH i2c: E2 08 00 81 1E 80 0D 03 02 00 00 00 00 1A [16:43:21]Write i2c OK [16:43:21]MH_I2C_Read... [16:43:21]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:43:21]Read from MH i2c: E2 [16:43:21]MH_I2C_Read... [16:43:21]Read from MH i2c: E2 0B 00 [16:43:21]MH_I2C_Read... [16:43:21]Read from MH i2c: E2 0B 00 81 1E 00 59 7F BD 4C 2E A0 A1 EA 90 00 55 [16:43:21]RAPDU: 59 7F BD 4C 2E A0 A1 EA 90 00 [16:43:21]wFMCommunicate OK [16:43:21]SAM_PROTO_SignData done [16:43:21]FM_MakeSignedData done [16:43:21]CreateOFDProtocolMessage [16:43:21]wFMCommunicate request_size=4 [16:43:21]MH_SAM_APDU [16:43:21]CAPDU: 80 11 00 00 [16:43:21]Write to MH i2c: E2 08 00 82 1E 80 11 00 00 00 00 00 00 1A [16:43:21]Write i2c OK [16:43:21]MH_I2C_Read... [16:43:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:43:21]Read from MH i2c: E2 [16:43:21]MH_I2C_Read... [16:43:21]Read from MH i2c: E2 17 00 [16:43:21]MH_I2C_Read... [16:43:21]Read from MH i2c: E2 17 00 82 1E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 6F [16:43:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [16:43:21]wFMCommunicate OK [16:43:21]CreateOFDProtocolMessage done [16:43:21]OFDSenderStorePacket 34625 [16:43:21]StoreOFDPacket docnum=34625 [16:43:21]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 3F 01 00 00 2A 52 37 01 FD 55 5A 03 01 00 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 39 37 38 30 32 33 31 33 37 39 34 31 33 06 04 39 00 D0 9F D0 BE D0 B4 D0 B0 D1 80 D0 BE D1 87 D0 BD D0 B0 D1 8F 20 D1 82 D0 BE D0 BF D0 BB D0 B8 D0 B2 D0 BD D0 B0 D1 8F 20 D0 BA D0 B0 D1 80 D1 82 D0 B0 20 33 30 30 30 D1 81 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 93 04 00 00 00 13 04 06 00 E0 93 04 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 93 04 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5F 0A 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 72 7C 00 00 00 00 07 04 06 00 E0 93 04 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 2E FF 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 41 87 00 00 35 04 06 00 02 15 98 B6 B1 B0 59 7F BD 4C 2E A0 A1 EA [16:43:21]CheckFolder [16:43:21]dirname=/storage/ofd_packets [16:43:21]CheckFolder done [16:43:21]ProducePacketName [16:43:21]name=ofd_packets/00034625 [16:43:21]NVStorageSaveData ofd_packets/00034625 [16:43:21]File name is /storage/ofd_packets/00034625 [16:43:21]Write 349 bytes [16:43:21]NVStorageSaveData done [16:43:21]OFDSenderStorePacket done [16:43:21]KKMCreateOFDPacket done [16:43:21]NVStorageSaveData kkm_last_timestamp [16:43:21]File name is /storage/kkm_last_timestamp [16:43:21]OFD Sender: Processing packet 34625 [packets to send 8, broken 7] [16:43:21]ProducePacketName [16:43:21]name=ofd_packets/00034625 [16:43:21]OFD Sender: To server: pG, [16:43:21]CommunicateWithHost lk.salyk.kg:30040 [16:43:21]ConnectInit lk.salyk.kg [16:43:21]Write 4 bytes [16:43:21]NVStorageSaveData done [16:43:21]ExternCall_PrintAddStr [16:43:21]wPrintStart [16:43:21]Write to MH i2c: 01 00 00 83 1E A1 [16:43:21]Write i2c OK [16:43:21]MH_I2C_Read... [16:43:21]Read from MH i2c: 01 [16:43:21]MH_I2C_Read... [16:43:21]Read from MH i2c: 01 07 00 [16:43:21]MH_I2C_Read... [16:43:21]Read from MH i2c: 01 07 00 83 1E 00 00 00 00 00 FF 0F B6 [16:43:21]RasterBufferAndPrint [16:43:21]line Счет N : (3)184377 [16:43:21]line ИНН: 02508201610067 [16:43:21]line Контрольно-Кассовый Чек [16:43:21]line ПРОДАЖА [16:43:21]line Товар: 9780231379413 [16:43:21]line Подарочная топливная карта 3000с [16:43:21]line 1.000 * 3000.00 [16:43:21]line = 3000.00 [16:43:21]line НДС 12% НСП 1% [16:43:21]line > о реализуемом товаре [16:43:21]line ИТОГО: 3000.00 [16:43:21]line НСП 1% : 26.55 [16:43:21]line НДС 12% : 318.58 [16:43:21]line Наличными: 3000.00 [16:43:21]line Безнал.: 0.00 [16:43:21]line Место: АЗС № 120 "Партнер Нефть" [16:43:21]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [16:43:21]line СНО: Общий режим [16:43:21]line Чек 51 22.06.2024 16:43 [16:43:21]line Смена: 327 ФФД: 1.0 [16:43:21]line ЗНМ: 0300000172 [16:43:21]line РНМ: 0000000000092786 [16:43:22]line Версия ККМ: 001 [16:43:22]line ФМ: 0000000000875095 [16:43:22]line ФД: 34625 [16:43:22]line ФПД: 2291779678640 [16:43:22]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T164326&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34625&fm=2291779678640&tin=02508201610067®Number=0000000000092786&sum=300000 [16:43:22]line 0 [16:43:22]Connected sock=11 [16:43:22]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 3F 01 00 00 2A 52 37 01 FD 55 5A 03 01 00 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 39 37 38 30 32 33 31 33 37 39 34 31 33 06 04 39 00 D0 9F D0 BE D0 B4 D0 B0 D1 80 D0 BE D1 87 D0 BD D0 B0 D1 8F 20 D1 82 D0 BE D0 BF D0 BB D0 B8 D0 B2 D0 BD D0 B0 D1 8F 20 D0 BA D0 B0 D1 80 D1 82 D0 B0 20 33 30 30 30 D1 81 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 93 04 00 00 00 13 04 06 00 E0 93 04 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 93 04 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5F 0A 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 72 7C 00 00 00 00 07 04 06 00 E0 93 04 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 2E FF 76 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 41 87 00 00 35 04 06 00 02 15 98 B6 B1 B0 59 7F BD 4C 2E A0 A1 EA [16:43:22]written 0, free lines is 4095 [16:43:22]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 1F 62 47 00 31 C0 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 41 87 00 00 F4 03 04 00 F1 A5 76 66 B6 04 01 00 00 13 41 CB DD 4A 5A 0D D5 [16:43:22]CommunicateWithHost err = 0 [16:43:22]CheckOFDResponse [16:43:22]1017 (14) - 77093643461234 [16:43:22]1041 (16) - 0000000000875095 [16:43:22]1040 (4) - 34625 [16:43:22]1012 (4) - 22.06.2024 10:22 [16:43:22]1206 (1) - 0 [16:43:22]OFD Sender: Remove packet 34625 [16:43:22]ProducePacketName [16:43:22]name=ofd_packets/00034625 [16:43:22]NVStorageDeleteData [16:43:22]Write to MH i2c: 01 00 00 AC 1E CA [16:43:22]Write i2c OK [16:43:22]MH_I2C_Read... [16:43:22]Read from MH i2c: 01 [16:43:22]MH_I2C_Read... [16:43:22]Read from MH i2c: 01 07 00 [16:43:22]MH_I2C_Read... [16:43:22]Read from MH i2c: 01 07 00 AC 1E 00 00 00 00 00 D7 0C B4 [16:43:22]RasterBufferAndPrint [16:43:22]line [16:43:22]line [16:43:22]line [16:43:22]line [16:43:22]line [16:43:22]written 0, free lines is 3295 [16:43:22]MH_Cut [16:43:22]Write to MH i2c: D1 01 00 B3 1E 01 A3 [16:43:22]Write i2c OK [16:43:22]MH_I2C_Read... [16:43:22]Read from MH i2c: D1 [16:43:22]MH_I2C_Read... [16:43:22]Read from MH i2c: D1 01 00 [16:43:22]MH_I2C_Read... [16:43:22]Read from MH i2c: D1 01 00 B3 1E 00 A2 [16:43:22]Write to MH i2c: 01 00 00 B4 1E D2 [16:43:22]Write i2c OK [16:43:22]MH_I2C_Read... [16:43:22]OFD Sender: No OFD packet to send [16:43:23]*** Cut start [16:43:23]*** Partial cut [16:43:23]*** CUTSNS_PIN = 1 [16:43:23]*** CUTSNS_PIN = 0 [16:43:23]*** Brake cut motor [16:43:23]Read from MH i2c: 01 [16:43:23]MH_I2C_Read... [16:43:23]*** Stop cut motor [16:43:23]*** Cut end [16:43:23]Read from MH i2c: 01 07 00 [16:43:23]MH_I2C_Read... [16:43:23]Read from MH i2c: 01 07 00 B4 1E 00 00 00 00 00 FF 0F E7 [16:43:24]process_action close_receipt done [16:43:24]requested_data is exist [16:43:24]produce_requested_data [16:43:24]requested_item fm.sn is exist - process it [16:43:24]wFMCommunicate request_size=4 [16:43:24]MH_SAM_APDU [16:43:24]CAPDU: 80 11 00 00 [16:43:24]Write to MH i2c: E2 08 00 B5 1E 80 11 00 00 00 00 00 00 4D [16:43:24]Write i2c OK [16:43:24]MH_I2C_Read... [16:43:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:43:24]Read from MH i2c: E2 [16:43:24]MH_I2C_Read... [16:43:24]Read from MH i2c: E2 17 00 [16:43:24]MH_I2C_Read... [16:43:24]Read from MH i2c: E2 17 00 B5 1E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 A2 [16:43:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [16:43:24]wFMCommunicate OK [16:43:24]requested_item fd.num is exist - process it [16:43:24]SAM_PROTO_GetFieldsCounters [16:43:24]wFMCommunicate request_size=4 [16:43:24]MH_SAM_APDU [16:43:24]CAPDU: 80 13 00 00 [16:43:24]Write to MH i2c: E2 08 00 B6 1E 80 13 00 00 00 00 00 00 50 [16:43:24]Write i2c OK [16:43:24]MH_I2C_Read... [16:43:24]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:43:24]Read from MH i2c: E2 [16:43:24]MH_I2C_Read... [16:43:24]Read from MH i2c: E2 62 00 [16:43:24]MH_I2C_Read... [16:43:24]Read from MH i2c: E2 62 00 B6 1E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 41 87 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 23 [16:43:24]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 41 87 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:43:24]wFMCommunicate OK [16:43:24]SAM_PROTO_GetFieldsCounters done [16:43:24]requested_item shift.num is exist - process it [16:43:24]requested_item shift.opened is exist - process it [16:43:24]req_shift_opened [16:43:24]FM_GetShiftState [16:43:24]SAM_PROTO_GetShiftState [16:43:24]wFMCommunicate request_size=4 [16:43:24]MH_SAM_APDU [16:43:24]CAPDU: 80 13 01 00 [16:43:24]Write to MH i2c: E2 08 00 B7 1E 80 13 01 00 00 00 00 00 52 [16:43:24]Write i2c OK [16:43:24]MH_I2C_Read... [16:43:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:43:24]Read from MH i2c: E2 [16:43:24]MH_I2C_Read... [16:43:24]Read from MH i2c: E2 0E 00 [16:43:24]MH_I2C_Read... [16:43:24]Read from MH i2c: E2 0E 00 B7 1E 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 0C [16:43:24]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [16:43:24]wFMCommunicate OK [16:43:24]SAM_PROTO_GetShiftState done [16:43:24]FM_GetShiftState done [16:43:24]req_shift_opened done [16:43:24]requested_item shift.open_date is exist - process it [16:43:24]req_shift_open_date [16:43:24]req_shift_open_date done [16:43:24]produce_requested_data done [16:43:24]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34625,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120} [16:43:24]process_action_free close_receipt [16:43:24]json_value_free [16:43:24]json_value_free done [16:43:24]process_json_proto returns [16:43:24]Send response to host [16:43:24]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34625,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120}}} [16:43:24]free response buf [16:43:24]execute_script done [16:43:24]execute_script returns [16:43:24]free content buf [16:43:24]Sock 7.Close socket [16:43:24]Sock 7.Thread stoped [16:43:27]OFD Sender: No OFD packet to send [16:43:32]OFD Sender: No OFD packet to send [16:43:37]OFD Sender: No OFD packet to send [16:43:42]OFD Sender: No OFD packet to send [16:43:47]OFD Sender: No OFD packet to send [16:43:52]OFD Sender: No OFD packet to send [16:43:57]OFD Sender: No OFD packet to send [16:44:02]OFD Sender: No OFD packet to send [16:44:07]OFD Sender: No OFD packet to send [16:44:12]OFD Sender: No OFD packet to send [16:44:17]OFD Sender: No OFD packet to send [16:44:22]OFD Sender: No OFD packet to send [16:44:27]OFD Sender: No OFD packet to send [16:44:32]OFD Sender: No OFD packet to send [16:44:37]OFD Sender: No OFD packet to send [16:44:42]OFD Sender: No OFD packet to send [16:44:47]OFD Sender: No OFD packet to send [16:44:52]OFD Sender: No OFD packet to send [16:44:57]OFD Sender: No OFD packet to send [16:45:02]OFD Sender: No OFD packet to send [16:45:07]OFD Sender: No OFD packet to send [16:45:12]OFD Sender: No OFD packet to send [16:45:17]OFD Sender: No OFD packet to send [16:45:22]OFD Sender: No OFD packet to send [16:45:27]OFD Sender: No OFD packet to send [16:45:32]OFD Sender: No OFD packet to send [16:45:37]OFD Sender: No OFD packet to send [16:45:42]OFD Sender: No OFD packet to send [16:45:47]OFD Sender: No OFD packet to send [16:45:52]OFD Sender: No OFD packet to send [16:45:57]OFD Sender: No OFD packet to send [16:46:02]OFD Sender: No OFD packet to send [16:46:07]OFD Sender: No OFD packet to send [16:46:12]OFD Sender: No OFD packet to send [16:46:18]OFD Sender: No OFD packet to send [16:46:23]OFD Sender: No OFD packet to send [16:46:28]OFD Sender: No OFD packet to send [16:46:33]OFD Sender: No OFD packet to send [16:46:38]OFD Sender: No OFD packet to send [16:46:43]OFD Sender: No OFD packet to send [16:46:48]OFD Sender: No OFD packet to send [16:46:53]OFD Sender: No OFD packet to send [16:46:58]OFD Sender: No OFD packet to send [16:47:03]OFD Sender: No OFD packet to send [16:47:08]OFD Sender: No OFD packet to send [16:47:13]OFD Sender: No OFD packet to send [16:47:18]OFD Sender: No OFD packet to send [16:47:23]OFD Sender: No OFD packet to send [16:47:28]OFD Sender: No OFD packet to send [16:47:33]OFD Sender: No OFD packet to send [16:47:38]OFD Sender: No OFD packet to send [16:47:43]OFD Sender: No OFD packet to send [16:47:48]OFD Sender: No OFD packet to send [16:47:53]OFD Sender: No OFD packet to send [16:47:58]OFD Sender: No OFD packet to send [16:48:03]OFD Sender: No OFD packet to send [16:48:08]OFD Sender: No OFD packet to send [16:48:13]OFD Sender: No OFD packet to send [16:48:18]OFD Sender: No OFD packet to send [16:48:23]OFD Sender: No OFD packet to send [16:48:28]OFD Sender: No OFD packet to send [16:48:33]OFD Sender: No OFD packet to send [16:48:38]OFD Sender: No OFD packet to send [16:48:43]OFD Sender: No OFD packet to send [16:48:48]OFD Sender: No OFD packet to send [16:48:53]OFD Sender: No OFD packet to send [16:48:58]OFD Sender: No OFD packet to send [16:49:03]OFD Sender: No OFD packet to send [16:49:08]OFD Sender: No OFD packet to send [16:49:13]OFD Sender: No OFD packet to send [16:49:18]OFD Sender: No OFD packet to send [16:49:23]OFD Sender: No OFD packet to send [16:49:28]OFD Sender: No OFD packet to send [16:49:33]OFD Sender: No OFD packet to send [16:49:38]OFD Sender: No OFD packet to send [16:49:43]OFD Sender: No OFD packet to send [16:49:48]OFD Sender: No OFD packet to send [16:49:53]OFD Sender: No OFD packet to send [16:49:58]OFD Sender: No OFD packet to send [16:50:03]OFD Sender: No OFD packet to send [16:50:08]OFD Sender: No OFD packet to send [16:50:13]OFD Sender: No OFD packet to send [16:50:18]OFD Sender: No OFD packet to send [16:50:23]OFD Sender: No OFD packet to send [16:50:28]OFD Sender: No OFD packet to send [16:50:33]OFD Sender: No OFD packet to send [16:50:38]OFD Sender: No OFD packet to send [16:50:43]OFD Sender: No OFD packet to send [16:50:48]OFD Sender: No OFD packet to send [16:50:53]OFD Sender: No OFD packet to send [16:50:58]OFD Sender: No OFD packet to send [16:51:03]OFD Sender: No OFD packet to send [16:51:08]OFD Sender: No OFD packet to send [16:51:13]OFD Sender: No OFD packet to send [16:51:18]OFD Sender: No OFD packet to send [16:51:23]OFD Sender: No OFD packet to send [16:51:28]OFD Sender: No OFD packet to send [16:51:33]OFD Sender: No OFD packet to send [16:51:38]OFD Sender: No OFD packet to send [16:51:43]OFD Sender: No OFD packet to send [16:51:48]OFD Sender: No OFD packet to send [16:51:53]OFD Sender: No OFD packet to send [16:51:58]OFD Sender: No OFD packet to send [16:52:03]OFD Sender: No OFD packet to send [16:52:08]OFD Sender: No OFD packet to send [16:52:13]OFD Sender: No OFD packet to send [16:52:18]OFD Sender: No OFD packet to send [16:52:23]OFD Sender: No OFD packet to send [16:52:28]OFD Sender: No OFD packet to send [16:52:33]OFD Sender: No OFD packet to send [16:52:38]OFD Sender: No OFD packet to send [16:52:43]OFD Sender: No OFD packet to send [16:52:48]OFD Sender: No OFD packet to send [16:52:53]OFD Sender: No OFD packet to send [16:52:58]OFD Sender: No OFD packet to send [16:53:03]OFD Sender: No OFD packet to send [16:53:08]OFD Sender: No OFD packet to send [16:53:13]OFD Sender: No OFD packet to send [16:53:18]OFD Sender: No OFD packet to send [16:53:23]OFD Sender: No OFD packet to send [16:53:28]OFD Sender: No OFD packet to send [16:53:33]OFD Sender: No OFD packet to send [16:53:38]OFD Sender: No OFD packet to send [16:53:43]OFD Sender: No OFD packet to send [16:53:48]OFD Sender: No OFD packet to send [16:53:53]OFD Sender: No OFD packet to send [16:53:58]OFD Sender: No OFD packet to send [16:54:03]OFD Sender: No OFD packet to send [16:54:08]OFD Sender: No OFD packet to send [16:54:13]OFD Sender: No OFD packet to send [16:54:18]OFD Sender: No OFD packet to send [16:54:23]OFD Sender: No OFD packet to send [16:54:28]OFD Sender: No OFD packet to send [16:54:33]OFD Sender: No OFD packet to send [16:54:38]OFD Sender: No OFD packet to send [16:54:43]OFD Sender: No OFD packet to send [16:54:48]OFD Sender: No OFD packet to send [16:54:53]OFD Sender: No OFD packet to send [16:54:58]OFD Sender: No OFD packet to send [16:55:03]OFD Sender: No OFD packet to send [16:55:08]OFD Sender: No OFD packet to send [16:55:13]OFD Sender: No OFD packet to send [16:55:18]OFD Sender: No OFD packet to send [16:55:23]OFD Sender: No OFD packet to send [16:55:28]OFD Sender: No OFD packet to send [16:55:33]OFD Sender: No OFD packet to send [16:55:38]OFD Sender: No OFD packet to send [16:55:43]OFD Sender: No OFD packet to send [16:55:48]OFD Sender: No OFD packet to send [16:55:53]OFD Sender: No OFD packet to send [16:55:58]OFD Sender: No OFD packet to send [16:56:03]OFD Sender: No OFD packet to send [16:56:08]OFD Sender: No OFD packet to send [16:56:13]OFD Sender: No OFD packet to send [16:56:18]OFD Sender: No OFD packet to send [16:56:23]OFD Sender: No OFD packet to send [16:56:28]OFD Sender: No OFD packet to send [16:56:33]OFD Sender: No OFD packet to send [16:56:38]OFD Sender: No OFD packet to send [16:56:43]OFD Sender: No OFD packet to send [16:56:48]OFD Sender: No OFD packet to send [16:56:53]OFD Sender: No OFD packet to send [16:56:58]OFD Sender: No OFD packet to send [16:57:03]OFD Sender: No OFD packet to send [16:57:08]OFD Sender: No OFD packet to send [16:57:13]OFD Sender: No OFD packet to send [16:57:18]OFD Sender: No OFD packet to send [16:57:23]OFD Sender: No OFD packet to send [16:57:28]OFD Sender: No OFD packet to send [16:57:33]OFD Sender: No OFD packet to send [16:57:38]OFD Sender: No OFD packet to send [16:57:43]OFD Sender: No OFD packet to send [16:57:48]OFD Sender: No OFD packet to send [16:57:53]OFD Sender: No OFD packet to send [16:57:58]OFD Sender: No OFD packet to send [16:58:03]OFD Sender: No OFD packet to send [16:58:08]OFD Sender: No OFD packet to send [16:58:13]OFD Sender: No OFD packet to send [16:58:18]OFD Sender: No OFD packet to send [16:58:23]OFD Sender: No OFD packet to send [16:58:28]OFD Sender: No OFD packet to send [16:58:33]OFD Sender: No OFD packet to send [16:58:38]OFD Sender: No OFD packet to send [16:58:43]OFD Sender: No OFD packet to send [16:58:48]OFD Sender: No OFD packet to send [16:58:53]OFD Sender: No OFD packet to send [16:58:58]OFD Sender: No OFD packet to send [16:59:03]OFD Sender: No OFD packet to send [16:59:08]OFD Sender: No OFD packet to send [16:59:13]OFD Sender: No OFD packet to send [16:59:18]OFD Sender: No OFD packet to send [16:59:23]OFD Sender: No OFD packet to send [16:59:28]OFD Sender: No OFD packet to send [16:59:32]accept exits with 10 [16:59:32]New connection [16:59:32]New thread 3067616612 created [16:59:32]Thread 3067473252 joined [16:59:32]Waiting for new connection... [16:59:32] Sock 10.Parse request [16:59:32]Sock 10.Check first char [16:59:32]Sock 10.First char is OK [16:59:32]request: POST /json_proto HTTP/1.0 [16:59:32]Method: POST [16:59:32]URL: /json_proto [16:59:32]Method is POST - this is cgi request [16:59:32]url: /json_proto [16:59:32]query_string will be loaded in cgi processing [16:59:32]execute_cgi json_proto POST (null) [16:59:32]execute_cgi path=json_proto method=POST [16:59:32]POST find Content-Length [16:59:32]Host: 172.17.38.134:8080 [16:59:32]Content-Length: 682 [16:59:32]Content-Type: application/json [16:59:32] [16:59:32]POST finish read [16:59:32]Found Content-Length = 682 [16:59:32]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)674015", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 41", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 73.90, "quantity" : 59.540, "sum" : 4400.01, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 5000.00, "total" : 4400.00, "payments": [ { "type": 0, "sum" : 4400.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:59:32]execute_script... [16:59:32]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)674015", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 41", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 73.90, "quantity" : 59.540, "sum" : 4400.01, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 5000.00, "total" : 4400.00, "payments": [ { "type": 0, "sum" : 4400.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:59:32]POST & json_proto [16:59:32]process_json_proto [16:59:32]json parsed OK: [16:59:32]protocol is kg_v1.0 [16:59:32]action value=close_receipt [16:59:32]process_action close_receipt [16:59:32]cmd_close_receipt [16:59:32]MH_GetDate [16:59:32]Write to MH i2c: F0 00 00 B8 1E C5 [16:59:32]Write i2c OK [16:59:32]MH_I2C_Read... [16:59:32]Read from MH i2c: F0 [16:59:32]MH_I2C_Read... [16:59:32]Read from MH i2c: F0 09 00 [16:59:32]MH_I2C_Read... [16:59:32]Read from MH i2c: F0 09 00 B8 1E 00 FA 02 77 66 13 9C 7C 64 36 [16:59:32]GetLastDocTimeStamp 1719074606 [16:59:32]current date 1719075578 [16:59:32]FM_GetShiftState [16:59:32]SAM_PROTO_GetShiftState [16:59:32]wFMCommunicate request_size=4 [16:59:32]MH_SAM_APDU [16:59:32]CAPDU: 80 13 01 00 [16:59:32]Write to MH i2c: E2 08 00 B9 1E 80 13 01 00 00 00 00 00 54 [16:59:32]Write i2c OK [16:59:32]MH_I2C_Read... [16:59:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:59:32]Read from MH i2c: E2 [16:59:32]MH_I2C_Read... [16:59:32]Read from MH i2c: E2 0E 00 [16:59:32]MH_I2C_Read... [16:59:32]Read from MH i2c: E2 0E 00 B9 1E 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 0E [16:59:32]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [16:59:32]wFMCommunicate OK [16:59:32]SAM_PROTO_GetShiftState done [16:59:32]FM_GetShiftState done [16:59:32]opened in 1719016120 [16:59:32]opened+sec_in_day 1719102520 [16:59:32]quantity*price = 440000 [16:59:32]sum+1 = 440002 [16:59:32]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.01 ИТОГО: 4400.00 Внесено: 5000.00 СДАЧА: 600.00 НСП 1% : 38.94 НДС 12% : 467.26 Наличными: 4400.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 52 22.06.2024 16:59 Смена: 327 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34626 ФПД: 10435637967859 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T165938&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34626&fm=10435637967859&tin=02508201610067®Number=0000000000092786&sum=440000 [16:59:33]StoreToDocumentArchive [16:59:33]shift 327 fd 34626 [16:59:33]save to /storage/0327/doc_00034626 [16:59:33]save last doc name /storage/0327/doc_00034626 to /storage/kkm_last_doc_name [16:59:33]save OK [16:59:33]Clear old archive folders... [16:59:33]ProcessDocumentItem done err = 0, tmpTLVsize=251 [16:59:33]tlvbuf is 01628FB0 [16:59:33]SAM_PROTO_ClearQueue [16:59:33]wFMCommunicate request_size=4 [16:59:33]MH_SAM_APDU [16:59:33]CAPDU: 80 09 00 00 [16:59:33]Write to MH i2c: E2 08 00 C6 1E 80 09 00 00 00 00 00 00 56 [16:59:33]Write i2c OK [16:59:33]MH_I2C_Read... [16:59:33]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:59:33]Read from MH i2c: E2 [16:59:33]MH_I2C_Read... [16:59:33]Read from MH i2c: E2 03 00 [16:59:33]MH_I2C_Read... [16:59:33]Read from MH i2c: E2 03 00 C6 1E 00 90 00 58 [16:59:33]RAPDU: 90 00 [16:59:33]wFMCommunicate OK [16:59:33]SAM_PROTO_ClearQueue done [16:59:33]KKMCreateOFDPacket [16:59:33]OFDProtocolAddRootSTLVToBuf [16:59:33]FM_MakeSignedData [16:59:33]FM_MakeSignedData [16:59:33]SAM_PROTO_SignData [16:59:33]wFMCommunicate request_size=4 [16:59:33]MH_SAM_APDU [16:59:33]CAPDU: 80 0D 01 02 [16:59:33]Write to MH i2c: E2 08 00 C7 1E 80 0D 01 02 00 00 00 00 5E [16:59:33]Write i2c OK [16:59:33]MH_I2C_Read... [16:59:33]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:59:33]Read from MH i2c: E2 [16:59:33]MH_I2C_Read... [16:59:33]Read from MH i2c: E2 03 00 [16:59:33]MH_I2C_Read... [16:59:33]Read from MH i2c: E2 03 00 C7 1E 00 90 00 59 [16:59:33]RAPDU: 90 00 [16:59:33]wFMCommunicate OK [16:59:33]wFMCommunicate request_size=255 [16:59:33]MH_SAM_APDU [16:59:33]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 94 E8 00 00 00 00 00 37 04 06 00 DE 1C 00 00 00 00 13 04 06 00 C1 B6 06 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 B6 06 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 36 0F 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 86 B6 00 00 00 00 07 04 06 00 C0 B6 06 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 34 00 00 00 F4 03 04 00 FA 02 77 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 42 87 00 00 35 04 06 00 09 [16:59:33]Write to MH i2c: E2 02 01 C8 1E 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 94 E8 00 00 00 00 00 37 04 06 00 DE 1C 00 00 00 00 13 04 06 00 C1 B6 06 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 B6 06 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 36 0F 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 86 B6 00 00 00 00 07 04 06 00 C0 B6 06 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 34 00 00 00 F4 03 04 00 FA 02 77 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 42 87 00 00 35 04 06 00 09 00 00 08 [16:59:33]Write i2c OK [16:59:33]MH_I2C_Read... [16:59:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:59:34]Read from MH i2c: E2 [16:59:34]MH_I2C_Read... [16:59:34]Read from MH i2c: E2 03 00 [16:59:34]MH_I2C_Read... [16:59:34]Read from MH i2c: E2 03 00 C8 1E 00 90 00 5A [16:59:34]RAPDU: 90 00 [16:59:34]wFMCommunicate OK [16:59:34]wFMCommunicate request_size=10 [16:59:34]MH_SAM_APDU [16:59:34]CAPDU: 80 0D 02 02 05 7D BC 7E 7B F3 [16:59:34]Write to MH i2c: E2 0D 00 C9 1E 80 0D 02 02 05 00 7D BC 7E 7B F3 00 00 90 [16:59:34]Write i2c OK [16:59:34]MH_I2C_Read... [16:59:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:59:34]Read from MH i2c: E2 [16:59:34]MH_I2C_Read... [16:59:34]Read from MH i2c: E2 03 00 [16:59:34]MH_I2C_Read... [16:59:34]Read from MH i2c: E2 03 00 C9 1E 00 90 00 5B [16:59:34]RAPDU: 90 00 [16:59:34]wFMCommunicate OK [16:59:34]wFMCommunicate request_size=4 [16:59:34]MH_SAM_APDU [16:59:34]CAPDU: 80 0D 03 02 [16:59:34]Write to MH i2c: E2 08 00 CA 1E 80 0D 03 02 00 00 00 00 63 [16:59:34]Write i2c OK [16:59:34]MH_I2C_Read... [16:59:34]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:59:34]Read from MH i2c: E2 [16:59:34]MH_I2C_Read... [16:59:34]Read from MH i2c: E2 0B 00 [16:59:34]MH_I2C_Read... [16:59:34]Read from MH i2c: E2 0B 00 CA 1E 00 9C 3E 19 36 23 23 83 25 90 00 7B [16:59:34]RAPDU: 9C 3E 19 36 23 23 83 25 90 00 [16:59:34]wFMCommunicate OK [16:59:34]SAM_PROTO_SignData done [16:59:34]FM_MakeSignedData done [16:59:34]CreateOFDProtocolMessage [16:59:34]wFMCommunicate request_size=4 [16:59:34]MH_SAM_APDU [16:59:34]CAPDU: 80 11 00 00 [16:59:34]Write to MH i2c: E2 08 00 CB 1E 80 11 00 00 00 00 00 00 63 [16:59:34]Write i2c OK [16:59:34]MH_I2C_Read... [16:59:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:59:34]Read from MH i2c: E2 [16:59:34]MH_I2C_Read... [16:59:34]Read from MH i2c: E2 17 00 [16:59:34]MH_I2C_Read... [16:59:34]Read from MH i2c: E2 17 00 CB 1E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 B8 [16:59:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [16:59:34]wFMCommunicate OK [16:59:34]CreateOFDProtocolMessage done [16:59:34]OFDSenderStorePacket 34626 [16:59:34]StoreOFDPacket docnum=34626 [16:59:34]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0F 01 00 00 FF 42 07 01 3B 82 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 94 E8 00 00 00 00 00 37 04 06 00 DE 1C 00 00 00 00 13 04 06 00 C1 B6 06 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 B6 06 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 36 0F 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 86 B6 00 00 00 00 07 04 06 00 C0 B6 06 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 34 00 00 00 F4 03 04 00 FA 02 77 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 42 87 00 00 35 04 06 00 09 7D BC 7E 7B F3 9C 3E 19 36 23 23 83 25 [16:59:34]CheckFolder [16:59:34]dirname=/storage/ofd_packets [16:59:34]CheckFolder done [16:59:34]ProducePacketName [16:59:34]name=ofd_packets/00034626 [16:59:34]NVStorageSaveData ofd_packets/00034626 [16:59:34]File name is /storage/ofd_packets/00034626 [16:59:34]Write 301 bytes [16:59:34]NVStorageSaveData done [16:59:34]OFDSenderStorePacket done [16:59:34]KKMCreateOFDPacket done [16:59:34]NVStorageSaveData kkm_last_timestamp [16:59:34]File name is /storage/kkm_last_timestamp [16:59:34]Write 4 bytes [16:59:34]NVStorageSaveData done [16:59:34]ExternCall_PrintAddStr [16:59:34]wPrintStart [16:59:34]Write to MH i2c: 01 00 00 CC 1E EA [16:59:34]Write i2c OK [16:59:34]MH_I2C_Read... [16:59:34]Read from MH i2c: 01 [16:59:34]MH_I2C_Read... [16:59:34]Read from MH i2c: 01 07 00 [16:59:34]MH_I2C_Read... [16:59:34]Read from MH i2c: 01 07 00 CC 1E 00 00 00 00 00 FF 0F FF [16:59:34]RasterBufferAndPrint [16:59:34]line Счет N : (1)674015 [16:59:34]line ИНН: 02508201610067 [16:59:34]line Контрольно-Кассовый Чек [16:59:34]line ПРОДАЖА [16:59:34]line ТРК (МРК, ГНК) : 41 [16:59:34]line Товар: 2710124500 [16:59:34]line Аи-95-К-5 [16:59:34]line 59.540 * 73.90 [16:59:34]line = 4400.01 [16:59:34]line НДС 12% НСП 1% [16:59:34]line > о реализуемом товаре [16:59:34]line ОКРУГЛЕНИЕ: -0.01 [16:59:34]line ИТОГО: 4400.00 [16:59:34]line Внесено: 5000.00 [16:59:34]line СДАЧА: 600.00 [16:59:34]line НСП 1% : 38.94 [16:59:34]line НДС 12% : 467.26 [16:59:34]line Наличными: 4400.00 [16:59:34]line Безнал.: 0.00 [16:59:34]line Место: АЗС № 120 "Партнер Нефть" [16:59:34]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [16:59:34]line СНО: Общий режим [16:59:34]line Чек 52 22.06.2024 16:59 [16:59:34]line Смена: 327 ФФД: 1.0 [16:59:34]line ЗНМ: 0300000172 [16:59:34]line РНМ: 0000000000092786 [16:59:34]line Версия ККМ: 001 [16:59:34]line ФМ: 0000000000875095 [16:59:34]line ФД: 34626 [16:59:34]line ФПД: 10435637967859 [16:59:34]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T165938&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34626&fm=10435637967859&tin=02508201610067®Number=0000000000092786&sum=440000 [16:59:34]OFD Sender: Processing packet 34626 [packets to send 8, broken 7] [16:59:34]ProducePacketName [16:59:34]name=ofd_packets/00034626 [16:59:34]OFD Sender: To server: pG, [16:59:34]CommunicateWithHost lk.salyk.kg:30040 [16:59:34]ConnectInit lk.salyk.kg [16:59:34]written 0, free lines is 4095 [16:59:34]Connected sock=9 [16:59:34]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0F 01 00 00 FF 42 07 01 3B 82 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 94 E8 00 00 00 00 00 37 04 06 00 DE 1C 00 00 00 00 13 04 06 00 C1 B6 06 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 B6 06 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 36 0F 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 86 B6 00 00 00 00 07 04 06 00 C0 B6 06 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 34 00 00 00 F4 03 04 00 FA 02 77 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 42 87 00 00 35 04 06 00 09 7D BC 7E 7B F3 9C 3E 19 36 23 23 83 25 [16:59:34]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 DF 31 47 00 6F F5 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 42 87 00 00 F4 03 04 00 BE A9 76 66 B6 04 01 00 00 96 6C 39 AC 2B 2D D2 B3 [16:59:34]CommunicateWithHost err = 0 [16:59:34]CheckOFDResponse [16:59:34]1017 (14) - 77093643461234 [16:59:34]1041 (16) - 0000000000875095 [16:59:34]1040 (4) - 34626 [16:59:34]1012 (4) - 22.06.2024 10:38 [16:59:34]1206 (1) - 0 [16:59:34]OFD Sender: Remove packet 34626 [16:59:34]ProducePacketName [16:59:34]name=ofd_packets/00034626 [16:59:34]NVStorageDeleteData [16:59:35]Write to MH i2c: 01 00 00 F7 1E 15 [16:59:35]Write i2c OK [16:59:35]MH_I2C_Read... [16:59:35]Read from MH i2c: 01 [16:59:35]MH_I2C_Read... [16:59:35]Read from MH i2c: 01 07 00 [16:59:35]MH_I2C_Read... [16:59:35]Read from MH i2c: 01 07 00 F7 1E 00 00 00 00 00 EE 0C 16 [16:59:35]RasterBufferAndPrint [16:59:35]line [16:59:35]line [16:59:35]line [16:59:35]line [16:59:35]line [16:59:35]written 0, free lines is 3319 [16:59:35]MH_Cut [16:59:35]Write to MH i2c: D1 01 00 FE 1E 01 EE [16:59:35]Write i2c OK [16:59:35]MH_I2C_Read... [16:59:35]Read from MH i2c: D1 [16:59:35]MH_I2C_Read... [16:59:35]Read from MH i2c: D1 01 00 [16:59:35]MH_I2C_Read... [16:59:35]Read from MH i2c: D1 01 00 FE 1E 00 ED [16:59:35]Write to MH i2c: 01 00 00 FF 1E 1D [16:59:35]Write i2c OK [16:59:35]MH_I2C_Read... [16:59:35]OFD Sender: No OFD packet to send [16:59:35]*** Cut start [16:59:35]*** Partial cut [16:59:35]*** CUTSNS_PIN = 1 [16:59:35]*** CUTSNS_PIN = 0 [16:59:36]*** Brake cut motor [16:59:36]Read from MH i2c: 01 [16:59:36]MH_I2C_Read... [16:59:36]*** Stop cut motor [16:59:36]*** Cut end [16:59:36]Read from MH i2c: 01 07 00 [16:59:36]MH_I2C_Read... [16:59:36]Read from MH i2c: 01 07 00 FF 1E 00 00 00 00 00 FF 0F 32 [16:59:36]process_action close_receipt done [16:59:36]requested_data is exist [16:59:36]produce_requested_data [16:59:36]requested_item fm.sn is exist - process it [16:59:36]wFMCommunicate request_size=4 [16:59:36]MH_SAM_APDU [16:59:36]CAPDU: 80 11 00 00 [16:59:36]Write to MH i2c: E2 08 00 00 1F 80 11 00 00 00 00 00 00 99 [16:59:36]Write i2c OK [16:59:36]MH_I2C_Read... [16:59:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:59:36]Read from MH i2c: E2 [16:59:36]MH_I2C_Read... [16:59:36]Read from MH i2c: E2 17 00 [16:59:36]MH_I2C_Read... [16:59:36]Read from MH i2c: E2 17 00 00 1F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 EE [16:59:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [16:59:36]wFMCommunicate OK [16:59:36]requested_item fd.num is exist - process it [16:59:36]SAM_PROTO_GetFieldsCounters [16:59:36]wFMCommunicate request_size=4 [16:59:36]MH_SAM_APDU [16:59:36]CAPDU: 80 13 00 00 [16:59:36]Write to MH i2c: E2 08 00 01 1F 80 13 00 00 00 00 00 00 9C [16:59:36]Write i2c OK [16:59:36]MH_I2C_Read... [16:59:36]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:59:36]Read from MH i2c: E2 [16:59:36]MH_I2C_Read... [16:59:36]Read from MH i2c: E2 62 00 [16:59:36]MH_I2C_Read... [16:59:36]Read from MH i2c: E2 62 00 01 1F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 42 87 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 73 [16:59:36]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 42 87 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:59:36]wFMCommunicate OK [16:59:36]SAM_PROTO_GetFieldsCounters done [16:59:36]requested_item shift.num is exist - process it [16:59:36]requested_item shift.opened is exist - process it [16:59:36]req_shift_opened [16:59:36]FM_GetShiftState [16:59:36]SAM_PROTO_GetShiftState [16:59:36]wFMCommunicate request_size=4 [16:59:36]MH_SAM_APDU [16:59:36]CAPDU: 80 13 01 00 [16:59:36]Write to MH i2c: E2 08 00 02 1F 80 13 01 00 00 00 00 00 9E [16:59:36]Write i2c OK [16:59:36]MH_I2C_Read... [16:59:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:59:36]Read from MH i2c: E2 [16:59:36]MH_I2C_Read... [16:59:36]Read from MH i2c: E2 0E 00 [16:59:36]MH_I2C_Read... [16:59:36]Read from MH i2c: E2 0E 00 02 1F 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 58 [16:59:36]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [16:59:36]wFMCommunicate OK [16:59:36]SAM_PROTO_GetShiftState done [16:59:36]FM_GetShiftState done [16:59:36]req_shift_opened done [16:59:36]requested_item shift.open_date is exist - process it [16:59:36]req_shift_open_date [16:59:36]req_shift_open_date done [16:59:36]produce_requested_data done [16:59:36]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34626,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120} [16:59:36]process_action_free close_receipt [16:59:36]json_value_free [16:59:36]json_value_free done [16:59:36]process_json_proto returns [16:59:36]Send response to host [16:59:36]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34626,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120}}} [16:59:36]free response buf [16:59:36]execute_script done [16:59:36]execute_script returns [16:59:36]free content buf [16:59:36]Sock 10.Close socket [16:59:36]Sock 10.Thread stoped [16:59:40]OFD Sender: No OFD packet to send [16:59:45]OFD Sender: No OFD packet to send [16:59:50]OFD Sender: No OFD packet to send [16:59:55]OFD Sender: No OFD packet to send [16:59:57]accept exits with 7 [16:59:57]New connection [16:59:57]New thread 3067473252 created [16:59:57]Thread 3067616612 joined [16:59:57]Waiting for new connection... [16:59:57] Sock 7.Parse request [16:59:57]Sock 7.Check first char [16:59:57]Sock 7.First char is OK [16:59:57]request: POST /json_proto HTTP/1.0 [16:59:57]Method: POST [16:59:57]URL: /json_proto [16:59:57]Method is POST - this is cgi request [16:59:57]url: /json_proto [16:59:57]query_string will be loaded in cgi processing [16:59:57]execute_cgi json_proto POST (null) [16:59:57]execute_cgi path=json_proto method=POST [16:59:57]POST find Content-Length [16:59:57]Host: 172.17.38.134:8080 [16:59:57]Content-Length: 650 [16:59:57]Content-Type: application/json [16:59:57] [16:59:57]POST finish read [16:59:57]Found Content-Length = 650 [16:59:57]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184378", "tax_sys" : 0, "items" : [ { "code": "5903111735517", "name": "\u0410\u0440\u043E\u043C\u0430\u0442\u0438\u0437\u0430\u0442\u043E\u0440 WIND FRESH ( ocean)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:59:57]execute_script... [16:59:57]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184378", "tax_sys" : 0, "items" : [ { "code": "5903111735517", "name": "\u0410\u0440\u043E\u043C\u0430\u0442\u0438\u0437\u0430\u0442\u043E\u0440 WIND FRESH ( ocean)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:59:57]POST & json_proto [16:59:57]process_json_proto [16:59:57]json parsed OK: [16:59:57]protocol is kg_v1.0 [16:59:57]action value=close_receipt [16:59:57]process_action close_receipt [16:59:57]cmd_close_receipt [16:59:57]MH_GetDate [16:59:57]Write to MH i2c: F0 00 00 03 1F 11 [16:59:57]Write i2c OK [16:59:57]MH_I2C_Read... [16:59:57]Read from MH i2c: F0 [16:59:57]MH_I2C_Read... [16:59:57]Read from MH i2c: F0 09 00 [16:59:57]MH_I2C_Read... [16:59:57]Read from MH i2c: F0 09 00 03 1F 00 14 03 77 66 13 9C 7C 64 9D [16:59:57]GetLastDocTimeStamp 1719075578 [16:59:57]current date 1719075604 [16:59:57]FM_GetShiftState [16:59:57]SAM_PROTO_GetShiftState [16:59:57]wFMCommunicate request_size=4 [16:59:57]MH_SAM_APDU [16:59:57]CAPDU: 80 13 01 00 [16:59:57]Write to MH i2c: E2 08 00 04 1F 80 13 01 00 00 00 00 00 A0 [16:59:57]Write i2c OK [16:59:57]MH_I2C_Read... [16:59:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:59:58]Read from MH i2c: E2 [16:59:58]MH_I2C_Read... [16:59:58]Read from MH i2c: E2 0E 00 [16:59:58]MH_I2C_Read... [16:59:58]Read from MH i2c: E2 0E 00 04 1F 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 5A [16:59:58]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [16:59:58]wFMCommunicate OK [16:59:58]SAM_PROTO_GetShiftState done [16:59:58]FM_GetShiftState done [16:59:58]opened in 1719016120 [16:59:58]opened+sec_in_day 1719102520 [16:59:58]quantity*price = 11500 [16:59:58]sum+1 = 11501 [16:59:58]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 115.00 НСП 1% : 1.02 НДС 12% : 12.21 Наличными: 115.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 53 22.06.2024 17:00 Смена: 327 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34627 ФПД: 212325369350711 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T170004&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34627&fm=212325369350711&tin=02508201610067®Number=0000000000092786&sum=11500 0 [16:59:59]StoreToDocumentArchive [16:59:59]shift 327 fd 34627 [16:59:59]save to /storage/0327/doc_00034627 [16:59:59]save last doc name /storage/0327/doc_00034627 to /storage/kkm_last_doc_name [16:59:59]save OK [16:59:59]Clear old archive folders... [16:59:59]ProcessDocumentItem done err = 0, tmpTLVsize=286 [16:59:59]tlvbuf is 01629000 [16:59:59]SAM_PROTO_ClearQueue [16:59:59]wFMCommunicate request_size=4 [16:59:59]MH_SAM_APDU [16:59:59]CAPDU: 80 09 00 00 [16:59:59]Write to MH i2c: E2 08 00 11 1F 80 09 00 00 00 00 00 00 A2 [16:59:59]Write i2c OK [16:59:59]MH_I2C_Read... [16:59:59]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:59:59]Read from MH i2c: E2 [16:59:59]MH_I2C_Read... [16:59:59]Read from MH i2c: E2 03 00 [16:59:59]MH_I2C_Read... [16:59:59]Read from MH i2c: E2 03 00 11 1F 00 90 00 A4 [16:59:59]RAPDU: 90 00 [16:59:59]wFMCommunicate OK [16:59:59]SAM_PROTO_ClearQueue done [16:59:59]KKMCreateOFDPacket [16:59:59]OFDProtocolAddRootSTLVToBuf [16:59:59]FM_MakeSignedData [16:59:59]FM_MakeSignedData [16:59:59]SAM_PROTO_SignData [16:59:59]wFMCommunicate request_size=4 [16:59:59]MH_SAM_APDU [16:59:59]CAPDU: 80 0D 01 02 [16:59:59]Write to MH i2c: E2 08 00 12 1F 80 0D 01 02 00 00 00 00 AA [16:59:59]Write i2c OK [16:59:59]MH_I2C_Read... [16:59:59]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:59:59]Read from MH i2c: E2 [16:59:59]MH_I2C_Read... [16:59:59]Read from MH i2c: E2 03 00 [16:59:59]MH_I2C_Read... [16:59:59]Read from MH i2c: E2 03 00 12 1F 00 90 00 A5 [16:59:59]RAPDU: 90 00 [16:59:59]wFMCommunicate OK [16:59:59]wFMCommunicate request_size=255 [16:59:59]MH_SAM_APDU [16:59:59]CAPDU: 80 0D 02 02 FA 03 00 1E 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 35 39 30 33 31 31 31 37 33 35 35 31 37 06 04 2C 00 D0 90 D1 80 D0 BE D0 BC D0 B0 D1 82 D0 B8 D0 B7 D0 B0 D1 82 D0 BE D1 80 20 57 49 4E 44 20 46 52 45 53 48 20 28 20 6F 63 65 61 6E 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 14 03 77 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 32 37 [16:59:59]Write to MH i2c: E2 02 01 13 1F 80 0D 02 02 FA 00 03 00 1E 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 35 39 30 33 31 31 31 37 33 35 35 31 37 06 04 2C 00 D0 90 D1 80 D0 BE D0 BC D0 B0 D1 82 D0 B8 D0 B7 D0 B0 D1 82 D0 BE D1 80 20 57 49 4E 44 20 46 52 45 53 48 20 28 20 6F 63 65 61 6E 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 14 03 77 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 32 37 00 00 18 [16:59:59]Write i2c OK [16:59:59]MH_I2C_Read... [16:59:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:59:59]Read from MH i2c: E2 [16:59:59]MH_I2C_Read... [16:59:59]Read from MH i2c: E2 03 00 [16:59:59]MH_I2C_Read... [16:59:59]Read from MH i2c: E2 03 00 13 1F 00 90 00 A6 [16:59:59]RAPDU: 90 00 [16:59:59]wFMCommunicate OK [16:59:59]wFMCommunicate request_size=45 [16:59:59]MH_SAM_APDU [16:59:59]CAPDU: 80 0D 02 02 28 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 43 87 00 00 35 04 06 00 C1 1B DA 37 8A 37 [16:59:59]Write to MH i2c: E2 30 00 14 1F 80 0D 02 02 28 00 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 43 87 00 00 35 04 06 00 C1 1B DA 37 8A 37 00 00 81 [16:59:59]Write i2c OK [16:59:59]MH_I2C_Read... [16:59:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:59:59]Read from MH i2c: E2 [16:59:59]MH_I2C_Read... [16:59:59]Read from MH i2c: E2 03 00 [16:59:59]MH_I2C_Read... [16:59:59]Read from MH i2c: E2 03 00 14 1F 00 90 00 A7 [16:59:59]RAPDU: 90 00 [16:59:59]wFMCommunicate OK [16:59:59]wFMCommunicate request_size=4 [16:59:59]MH_SAM_APDU [16:59:59]CAPDU: 80 0D 03 02 [16:59:59]Write to MH i2c: E2 08 00 15 1F 80 0D 03 02 00 00 00 00 AF [16:59:59]Write i2c OK [16:59:59]MH_I2C_Read... [16:59:59]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:59:59]Read from MH i2c: E2 [16:59:59]MH_I2C_Read... [16:59:59]Read from MH i2c: E2 0B 00 [16:59:59]MH_I2C_Read... [16:59:59]Read from MH i2c: E2 0B 00 15 1F 00 A0 ED 29 11 3C 91 36 9F 90 00 19 [16:59:59]RAPDU: A0 ED 29 11 3C 91 36 9F 90 00 [16:59:59]wFMCommunicate OK [16:59:59]SAM_PROTO_SignData done [16:59:59]FM_MakeSignedData done [16:59:59]CreateOFDProtocolMessage [16:59:59]wFMCommunicate request_size=4 [16:59:59]MH_SAM_APDU [16:59:59]CAPDU: 80 11 00 00 [16:59:59]Write to MH i2c: E2 08 00 16 1F 80 11 00 00 00 00 00 00 AF [16:59:59]Write i2c OK [16:59:59]MH_I2C_Read... [16:59:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:59:59]Read from MH i2c: E2 [16:59:59]MH_I2C_Read... [16:59:59]Read from MH i2c: E2 17 00 [16:59:59]MH_I2C_Read... [16:59:59]Read from MH i2c: E2 17 00 16 1F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 04 [16:59:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [16:59:59]wFMCommunicate OK [16:59:59]CreateOFDProtocolMessage done [16:59:59]OFDSenderStorePacket 34627 [16:59:59]StoreOFDPacket docnum=34627 [16:59:59]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 32 01 00 00 27 3B 2A 01 47 ED 5A 03 01 00 03 00 1E 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 35 39 30 33 31 31 31 37 33 35 35 31 37 06 04 2C 00 D0 90 D1 80 D0 BE D0 BC D0 B0 D1 82 D0 B8 D0 B7 D0 B0 D1 82 D0 BE D1 80 20 57 49 4E 44 20 46 52 45 53 48 20 28 20 6F 63 65 61 6E 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 14 03 77 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 43 87 00 00 35 04 06 00 C1 1B DA 37 8A 37 A0 ED 29 11 3C 91 36 9F [16:59:59]CheckFolder [16:59:59]dirname=/storage/ofd_packets [16:59:59]CheckFolder done [16:59:59]ProducePacketName [16:59:59]name=ofd_packets/00034627 [16:59:59]NVStorageSaveData ofd_packets/00034627 [16:59:59]File name is /storage/ofd_packets/00034627 [16:59:59]Write 336 bytes [16:59:59]NVStorageSaveData done [16:59:59]OFDSenderStorePacket done [16:59:59]KKMCreateOFDPacket done [16:59:59]NVStorageSaveData kkm_last_timestamp [16:59:59]File name is /storage/kkm_last_timestamp [16:59:59]Write 4 bytes [16:59:59]NVStorageSaveData done [16:59:59]ExternCall_PrintAddStr [16:59:59]wPrintStart [16:59:59]Write to MH i2c: 01 00 00 17 1F 36 [16:59:59]Write i2c OK [16:59:59]MH_I2C_Read... [16:59:59]Read from MH i2c: 01 [16:59:59]MH_I2C_Read... [16:59:59]Read from MH i2c: 01 07 00 [16:59:59]MH_I2C_Read... [16:59:59]Read from MH i2c: 01 07 00 17 1F 00 00 00 00 00 FF 0F 4B [16:59:59]RasterBufferAndPrint [16:59:59]line Счет N : (3)184378 [16:59:59]line ИНН: 02508201610067 [16:59:59]line Контрольно-Кассовый Чек [16:59:59]line ПРОДАЖА [16:59:59]line Товар: 5903111735517 [16:59:59]line Ароматизатор WIND FRESH ( ocean) [16:59:59]line 1.000 * 115.00 [16:59:59]line = 115.00 [16:59:59]line НДС 12% НСП 1% [16:59:59]line > о реализуемом товаре [16:59:59]line ИТОГО: 115.00 [16:59:59]line НСП 1% : 1.02 [16:59:59]line НДС 12% : 12.21 [16:59:59]line Наличными: 115.00 [16:59:59]line Безнал.: 0.00 [16:59:59]line Место: АЗС № 120 "Партнер Нефть" [16:59:59]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [16:59:59]line СНО: Общий режим [16:59:59]line Чек 53 22.06.2024 17:00 [16:59:59]line Смена: 327 ФФД: 1.0 [16:59:59]line ЗНМ: 0300000172 [16:59:59]line РНМ: 0000000000092786 [16:59:59]line Версия ККМ: 001 [16:59:59]line ФМ: 0000000000875095 [16:59:59]line ФД: 34627 [16:59:59]line ФПД: 212325369350711 [17:00:00]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T170004&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34627&fm=212325369350711&tin=02508201610067®Number=0000000000092786&sum=11500 [17:00:00]line 0 [17:00:00]OFD Sender: Processing packet 34627 [packets to send 8, broken 7] [17:00:00]ProducePacketName [17:00:00]name=ofd_packets/00034627 [17:00:00]OFD Sender: To server: pG, [17:00:00]CommunicateWithHost lk.salyk.kg:30040 [17:00:00]ConnectInit lk.salyk.kg [17:00:00]written 0, free lines is 4095 [17:00:00]Connected sock=10 [17:00:00]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 32 01 00 00 27 3B 2A 01 47 ED 5A 03 01 00 03 00 1E 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 35 39 30 33 31 31 31 37 33 35 35 31 37 06 04 2C 00 D0 90 D1 80 D0 BE D0 BC D0 B0 D1 82 D0 B8 D0 B7 D0 B0 D1 82 D0 BE D1 80 20 57 49 4E 44 20 46 52 45 53 48 20 28 20 6F 63 65 61 6E 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 14 03 77 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 43 87 00 00 35 04 06 00 C1 1B DA 37 8A 37 A0 ED 29 11 3C 91 36 9F [17:00:00]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 BF 13 47 00 3D 99 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 43 87 00 00 F4 03 04 00 D7 A9 76 66 B6 04 01 00 00 31 13 89 05 B0 53 D7 7C [17:00:00]CommunicateWithHost err = 0 [17:00:00]CheckOFDResponse [17:00:00]1017 (14) - 77093643461234 [17:00:00]1041 (16) - 0000000000875095 [17:00:00]1040 (4) - 34627 [17:00:00]1012 (4) - 22.06.2024 10:39 [17:00:00]1206 (1) - 0 [17:00:00]OFD Sender: Remove packet 34627 [17:00:00]ProducePacketName [17:00:00]name=ofd_packets/00034627 [17:00:00]NVStorageDeleteData [17:00:00]Write to MH i2c: 01 00 00 40 1F 5F [17:00:00]Write i2c OK [17:00:00]MH_I2C_Read... [17:00:00]Read from MH i2c: 01 [17:00:00]MH_I2C_Read... [17:00:00]Read from MH i2c: 01 07 00 [17:00:00]MH_I2C_Read... [17:00:00]Read from MH i2c: 01 07 00 40 1F 00 00 00 00 00 EC 0C 5E [17:00:00]RasterBufferAndPrint [17:00:00]line [17:00:00]line [17:00:00]line [17:00:00]line [17:00:00]line [17:00:00]written 0, free lines is 3317 [17:00:00]MH_Cut [17:00:00]Write to MH i2c: D1 01 00 47 1F 01 38 [17:00:00]Write i2c OK [17:00:00]MH_I2C_Read... [17:00:00]Read from MH i2c: D1 [17:00:00]MH_I2C_Read... [17:00:00]Read from MH i2c: D1 01 00 [17:00:00]MH_I2C_Read... [17:00:00]Read from MH i2c: D1 01 00 47 1F 00 37 [17:00:00]Write to MH i2c: 01 00 00 48 1F 67 [17:00:00]Write i2c OK [17:00:00]MH_I2C_Read... [17:00:00]OFD Sender: No OFD packet to send [17:00:01]*** Cut start [17:00:01]*** Partial cut [17:00:01]*** CUTSNS_PIN = 1 [17:00:01]*** CUTSNS_PIN = 0 [17:00:01]*** Brake cut motor [17:00:01]Read from MH i2c: 01 [17:00:01]MH_I2C_Read... [17:00:01]*** Stop cut motor [17:00:01]*** Cut end [17:00:01]Read from MH i2c: 01 07 00 [17:00:01]MH_I2C_Read... [17:00:01]Read from MH i2c: 01 07 00 48 1F 00 00 00 00 00 FF 0F 7C [17:00:01]process_action close_receipt done [17:00:01]requested_data is exist [17:00:01]produce_requested_data [17:00:01]requested_item fm.sn is exist - process it [17:00:01]wFMCommunicate request_size=4 [17:00:01]MH_SAM_APDU [17:00:01]CAPDU: 80 11 00 00 [17:00:01]Write to MH i2c: E2 08 00 49 1F 80 11 00 00 00 00 00 00 E2 [17:00:01]Write i2c OK [17:00:01]MH_I2C_Read... [17:00:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:00:01]Read from MH i2c: E2 [17:00:01]MH_I2C_Read... [17:00:01]Read from MH i2c: E2 17 00 [17:00:01]MH_I2C_Read... [17:00:01]Read from MH i2c: E2 17 00 49 1F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 37 [17:00:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [17:00:01]wFMCommunicate OK [17:00:01]requested_item fd.num is exist - process it [17:00:01]SAM_PROTO_GetFieldsCounters [17:00:01]wFMCommunicate request_size=4 [17:00:01]MH_SAM_APDU [17:00:01]CAPDU: 80 13 00 00 [17:00:01]Write to MH i2c: E2 08 00 4A 1F 80 13 00 00 00 00 00 00 E5 [17:00:01]Write i2c OK [17:00:01]MH_I2C_Read... [17:00:02]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:00:02]Read from MH i2c: E2 [17:00:02]MH_I2C_Read... [17:00:02]Read from MH i2c: E2 62 00 [17:00:02]MH_I2C_Read... [17:00:02]Read from MH i2c: E2 62 00 4A 1F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 43 87 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 35 00 00 00 5E 04 04 00 35 00 00 00 57 04 04 00 36 00 00 00 19 04 04 00 00 00 00 00 90 00 C0 [17:00:02]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 43 87 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 35 00 00 00 5E 04 04 00 35 00 00 00 57 04 04 00 36 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:00:02]wFMCommunicate OK [17:00:02]SAM_PROTO_GetFieldsCounters done [17:00:02]requested_item shift.num is exist - process it [17:00:02]requested_item shift.opened is exist - process it [17:00:02]req_shift_opened [17:00:02]FM_GetShiftState [17:00:02]SAM_PROTO_GetShiftState [17:00:02]wFMCommunicate request_size=4 [17:00:02]MH_SAM_APDU [17:00:02]CAPDU: 80 13 01 00 [17:00:02]Write to MH i2c: E2 08 00 4B 1F 80 13 01 00 00 00 00 00 E7 [17:00:02]Write i2c OK [17:00:02]MH_I2C_Read... [17:00:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:00:02]Read from MH i2c: E2 [17:00:02]MH_I2C_Read... [17:00:02]Read from MH i2c: E2 0E 00 [17:00:02]MH_I2C_Read... [17:00:02]Read from MH i2c: E2 0E 00 4B 1F 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 A1 [17:00:02]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [17:00:02]wFMCommunicate OK [17:00:02]SAM_PROTO_GetShiftState done [17:00:02]FM_GetShiftState done [17:00:02]req_shift_opened done [17:00:02]requested_item shift.open_date is exist - process it [17:00:02]req_shift_open_date [17:00:02]req_shift_open_date done [17:00:02]produce_requested_data done [17:00:02]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34627,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120} [17:00:02]process_action_free close_receipt [17:00:02]json_value_free [17:00:02]json_value_free done [17:00:02]process_json_proto returns [17:00:02]Send response to host [17:00:02]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34627,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120}}} [17:00:02]free response buf [17:00:02]execute_script done [17:00:02]execute_script returns [17:00:02]free content buf [17:00:02]Sock 7.Close socket [17:00:02]Sock 7.Thread stoped [17:00:05]OFD Sender: No OFD packet to send [17:00:10]OFD Sender: No OFD packet to send [17:00:15]OFD Sender: No OFD packet to send [17:00:20]OFD Sender: No OFD packet to send [17:00:25]OFD Sender: No OFD packet to send [17:00:30]OFD Sender: No OFD packet to send [17:00:35]OFD Sender: No OFD packet to send [17:00:40]OFD Sender: No OFD packet to send [17:00:45]OFD Sender: No OFD packet to send [17:00:50]OFD Sender: No OFD packet to send [17:00:55]OFD Sender: No OFD packet to send [17:01:00]OFD Sender: No OFD packet to send [17:01:05]OFD Sender: No OFD packet to send [17:01:10]OFD Sender: No OFD packet to send [17:01:15]OFD Sender: No OFD packet to send [17:01:20]OFD Sender: No OFD packet to send [17:01:25]OFD Sender: No OFD packet to send [17:01:30]OFD Sender: No OFD packet to send [17:01:35]OFD Sender: No OFD packet to send [17:01:36]accept exits with 9 [17:01:36]New connection [17:01:36]New thread 3067616612 created [17:01:36]Thread 3067473252 joined [17:01:36]Waiting for new connection... [17:01:36] Sock 9.Parse request [17:01:36]Sock 9.Check first char [17:01:36]Sock 9.First char is OK [17:01:36]request: POST /json_proto HTTP/1.0 [17:01:36]Method: POST [17:01:36]URL: /json_proto [17:01:36]Method is POST - this is cgi request [17:01:36]url: /json_proto [17:01:36]query_string will be loaded in cgi processing [17:01:36]execute_cgi json_proto POST (null) [17:01:36]execute_cgi path=json_proto method=POST [17:01:36]POST find Content-Length [17:01:36]Host: 172.17.38.134:8080 [17:01:36]Content-Length: 646 [17:01:36]Content-Type: application/json [17:01:36] [17:01:36]POST finish read [17:01:36]Found Content-Length = 646 [17:01:36]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184379", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 125.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:01:36]execute_script... [17:01: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)184379", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 125.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:01:36]POST & json_proto [17:01:36]process_json_proto [17:01:36]json parsed OK: [17:01:36]protocol is kg_v1.0 [17:01:36]action value=close_receipt [17:01:36]process_action close_receipt [17:01:36]cmd_close_receipt [17:01:36]MH_GetDate [17:01:36]Write to MH i2c: F0 00 00 4C 1F 5A [17:01:36]Write i2c OK [17:01:36]MH_I2C_Read... [17:01:36]Read from MH i2c: F0 [17:01:36]MH_I2C_Read... [17:01:36]Read from MH i2c: F0 09 00 [17:01:36]MH_I2C_Read... [17:01:36]Read from MH i2c: F0 09 00 4C 1F 00 77 03 77 66 13 9C 7C 64 49 [17:01:36]GetLastDocTimeStamp 1719075604 [17:01:36]current date 1719075703 [17:01:36]FM_GetShiftState [17:01:36]SAM_PROTO_GetShiftState [17:01:36]wFMCommunicate request_size=4 [17:01:36]MH_SAM_APDU [17:01:36]CAPDU: 80 13 01 00 [17:01:36]Write to MH i2c: E2 08 00 4D 1F 80 13 01 00 00 00 00 00 E9 [17:01:36]Write i2c OK [17:01:36]MH_I2C_Read... [17:01:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:01:36]Read from MH i2c: E2 [17:01:36]MH_I2C_Read... [17:01:36]Read from MH i2c: E2 0E 00 [17:01:36]MH_I2C_Read... [17:01:36]Read from MH i2c: E2 0E 00 4D 1F 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 A3 [17:01:36]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [17:01:36]wFMCommunicate OK [17:01:36]SAM_PROTO_GetShiftState done [17:01:36]FM_GetShiftState done [17:01:36]opened in 1719016120 [17:01:36]opened+sec_in_day 1719102520 [17:01:36]quantity*price = 12500 [17:01:36]sum+1 = 12501 [17:01:36]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 125.00 НСП 1% : 1.11 НДС 12% : 13.27 Наличными: 125.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 54 22.06.2024 17:01 Смена: 327 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34628 ФПД: 133004112169878 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T170143&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34628&fm=133004112169878&tin=02508201610067®Number=0000000000092786&sum=12500 0 [17:01:38]StoreToDocumentArchive [17:01:38]shift 327 fd 34628 [17:01:38]save to /storage/0327/doc_00034628 [17:01:38]save last doc name /storage/0327/doc_00034628 to /storage/kkm_last_doc_name [17:01:38]save OK [17:01:38]Clear old archive folders... [17:01:38]ProcessDocumentItem done err = 0, tmpTLVsize=282 [17:01:38]tlvbuf is 015CFC70 [17:01:38]SAM_PROTO_ClearQueue [17:01:38]wFMCommunicate request_size=4 [17:01:38]MH_SAM_APDU [17:01:38]CAPDU: 80 09 00 00 [17:01:38]Write to MH i2c: E2 08 00 5A 1F 80 09 00 00 00 00 00 00 EB [17:01:38]Write i2c OK [17:01:38]MH_I2C_Read... [17:01:38]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:01:38]Read from MH i2c: E2 [17:01:38]MH_I2C_Read... [17:01:38]Read from MH i2c: E2 03 00 [17:01:38]MH_I2C_Read... [17:01:38]Read from MH i2c: E2 03 00 5A 1F 00 90 00 ED [17:01:38]RAPDU: 90 00 [17:01:38]wFMCommunicate OK [17:01:38]SAM_PROTO_ClearQueue done [17:01:38]KKMCreateOFDPacket [17:01:38]OFDProtocolAddRootSTLVToBuf [17:01:38]FM_MakeSignedData [17:01:38]FM_MakeSignedData [17:01:38]SAM_PROTO_SignData [17:01:38]wFMCommunicate request_size=4 [17:01:38]MH_SAM_APDU [17:01:38]CAPDU: 80 0D 01 02 [17:01:38]Write to MH i2c: E2 08 00 5B 1F 80 0D 01 02 00 00 00 00 F3 [17:01:38]Write i2c OK [17:01:38]MH_I2C_Read... [17:01:38]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:01:38]Read from MH i2c: E2 [17:01:38]MH_I2C_Read... [17:01:38]Read from MH i2c: E2 03 00 [17:01:38]MH_I2C_Read... [17:01:38]Read from MH i2c: E2 03 00 5B 1F 00 90 00 EE [17:01:38]RAPDU: 90 00 [17:01:38]wFMCommunicate OK [17:01:38]wFMCommunicate request_size=255 [17:01:38]MH_SAM_APDU [17:01:38]CAPDU: 80 0D 02 02 FA 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 77 03 77 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 32 37 38 36 11 04 [17:01:38]Write to MH i2c: E2 02 01 5C 1F 80 0D 02 02 FA 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 77 03 77 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 32 37 38 36 11 04 00 00 CD [17:01:38]Write i2c OK [17:01:38]MH_I2C_Read... [17:01:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:01:38]Read from MH i2c: E2 [17:01:38]MH_I2C_Read... [17:01:38]Read from MH i2c: E2 03 00 [17:01:38]MH_I2C_Read... [17:01:38]Read from MH i2c: E2 03 00 5C 1F 00 90 00 EF [17:01:38]RAPDU: 90 00 [17:01:38]wFMCommunicate OK [17:01:38]wFMCommunicate request_size=41 [17:01:38]MH_SAM_APDU [17:01:38]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 44 87 00 00 35 04 06 00 78 F7 6E DC 0B 96 [17:01:38]Write to MH i2c: E2 2C 00 5D 1F 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 44 87 00 00 35 04 06 00 78 F7 6E DC 0B 96 00 00 EC [17:01:38]Write i2c OK [17:01:38]MH_I2C_Read... [17:01:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:01:38]Read from MH i2c: E2 [17:01:38]MH_I2C_Read... [17:01:38]Read from MH i2c: E2 03 00 [17:01:38]MH_I2C_Read... [17:01:38]Read from MH i2c: E2 03 00 5D 1F 00 90 00 F0 [17:01:38]RAPDU: 90 00 [17:01:38]wFMCommunicate OK [17:01:38]wFMCommunicate request_size=4 [17:01:38]MH_SAM_APDU [17:01:38]CAPDU: 80 0D 03 02 [17:01:38]Write to MH i2c: E2 08 00 5E 1F 80 0D 03 02 00 00 00 00 F8 [17:01:38]Write i2c OK [17:01:38]MH_I2C_Read... [17:01:38]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:01:38]Read from MH i2c: E2 [17:01:38]MH_I2C_Read... [17:01:38]Read from MH i2c: E2 0B 00 [17:01:38]MH_I2C_Read... [17:01:38]Read from MH i2c: E2 0B 00 5E 1F 00 CE 6F 6F 1C 97 D5 C4 5E 90 00 4F [17:01:38]RAPDU: CE 6F 6F 1C 97 D5 C4 5E 90 00 [17:01:38]wFMCommunicate OK [17:01:38]SAM_PROTO_SignData done [17:01:38]FM_MakeSignedData done [17:01:38]CreateOFDProtocolMessage [17:01:38]wFMCommunicate request_size=4 [17:01:38]MH_SAM_APDU [17:01:38]CAPDU: 80 11 00 00 [17:01:38]Write to MH i2c: E2 08 00 5F 1F 80 11 00 00 00 00 00 00 F8 [17:01:38]Write i2c OK [17:01:38]MH_I2C_Read... [17:01:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:01:38]Read from MH i2c: E2 [17:01:38]MH_I2C_Read... [17:01:38]Read from MH i2c: E2 17 00 [17:01:38]MH_I2C_Read... [17:01:38]Read from MH i2c: E2 17 00 5F 1F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 4D [17:01:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [17:01:38]wFMCommunicate OK [17:01:38]CreateOFDProtocolMessage done [17:01:38]OFDSenderStorePacket 34628 [17:01:38]StoreOFDPacket docnum=34628 [17:01:38]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 2E 01 00 00 24 5C 26 01 90 FD 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 36 00 00 00 F4 03 04 00 77 03 77 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 44 87 00 00 35 04 06 00 78 F7 6E DC 0B 96 CE 6F 6F 1C 97 D5 C4 5E [17:01:38]CheckFolder [17:01:38]dirname=/storage/ofd_packets [17:01:38]CheckFolder done [17:01:38]ProducePacketName [17:01:38]name=ofd_packets/00034628 [17:01:38]NVStorageSaveData ofd_packets/00034628 [17:01:38]File name is /storage/ofd_packets/00034628 [17:01:38]Write 332 bytes [17:01:38]NVStorageSaveData done [17:01:38]OFDSenderStorePacket done [17:01:38]KKMCreateOFDPacket done [17:01:38]NVStorageSaveData kkm_last_timestamp [17:01:38]File name is /storage/kkm_last_timestamp [17:01:38]Write 4 bytes [17:01:38]NVStorageSaveData done [17:01:38]ExternCall_PrintAddStr [17:01:38]wPrintStart [17:01:38]Write to MH i2c: 01 00 00 60 1F 7F [17:01:38]Write i2c OK [17:01:38]MH_I2C_Read... [17:01:38]Read from MH i2c: 01 [17:01:38]MH_I2C_Read... [17:01:38]Read from MH i2c: 01 07 00 [17:01:38]MH_I2C_Read... [17:01:38]Read from MH i2c: 01 07 00 60 1F 00 00 00 00 00 FF 0F 94 [17:01:38]RasterBufferAndPrint [17:01:38]line Счет N : (3)184379 [17:01:38]line ИНН: 02508201610067 [17:01:38]line Контрольно-Кассовый Чек [17:01:38]line ПРОДАЖА [17:01:38]line Товар: 2000036220012 [17:01:38]line Кофе Капучино XL(GABB TRADE) [17:01:38]line 1.000 * 125.00 [17:01:38]line = 125.00 [17:01:38]line НДС 12% НСП 1% [17:01:38]line > о реализуемом товаре [17:01:38]line ИТОГО: 125.00 [17:01:38]line НСП 1% : 1.11 [17:01:38]line НДС 12% : 13.27 [17:01:38]line Наличными: 125.00 [17:01:38]line Безнал.: 0.00 [17:01:38]line Место: АЗС № 120 "Партнер Нефть" [17:01:38]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [17:01:38]line СНО: Общий режим [17:01:38]line Чек 54 22.06.2024 17:01 [17:01:38]line Смена: 327 ФФД: 1.0 [17:01:38]line ЗНМ: 0300000172 [17:01:38]line РНМ: 0000000000092786 [17:01:38]line Версия ККМ: 001 [17:01:38]line ФМ: 0000000000875095 [17:01:38]line ФД: 34628 [17:01:38]line ФПД: 133004112169878 [17:01:38]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240622T170143&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34628&fm=133004112169878&tin=02508201610067®Number=0000000000092786&sum=12500 [17:01:38]line 0 [17:01:38]OFD Sender: Processing packet 34628 [packets to send 8, broken 7] [17:01:38]ProducePacketName [17:01:38]name=ofd_packets/00034628 [17:01:38]OFD Sender: To server: pG, [17:01:38]CommunicateWithHost lk.salyk.kg:30040 [17:01:38]ConnectInit lk.salyk.kg [17:01:38]written 0, free lines is 4095 [17:01:39]Connected sock=10 [17:01:39]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 2E 01 00 00 24 5C 26 01 90 FD 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 36 00 00 00 F4 03 04 00 77 03 77 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 44 87 00 00 35 04 06 00 78 F7 6E DC 0B 96 CE 6F 6F 1C 97 D5 C4 5E [17:01:39]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 B7 C3 47 00 D2 82 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 44 87 00 00 F4 03 04 00 3A AA 76 66 B6 04 01 00 00 40 70 DF BD D2 93 66 BB [17:01:39]CommunicateWithHost err = 0 [17:01:39]CheckOFDResponse [17:01:39]1017 (14) - 77093643461234 [17:01:39]1041 (16) - 0000000000875095 [17:01:39]1040 (4) - 34628 [17:01:39]1012 (4) - 22.06.2024 10:40 [17:01:39]1206 (1) - 0 [17:01:39]OFD Sender: Remove packet 34628 [17:01:39]ProducePacketName [17:01:39]name=ofd_packets/00034628 [17:01:39]NVStorageDeleteData [17:01:39]Write to MH i2c: 01 00 00 89 1F A8 [17:01:39]Write i2c OK [17:01:39]MH_I2C_Read... [17:01:39]Read from MH i2c: 01 [17:01:39]MH_I2C_Read... [17:01:39]Read from MH i2c: 01 07 00 [17:01:39]MH_I2C_Read... [17:01:39]Read from MH i2c: 01 07 00 89 1F 00 00 00 00 00 ED 0C A8 [17:01:39]RasterBufferAndPrint [17:01:39]line [17:01:39]line [17:01:39]line [17:01:39]line [17:01:39]line [17:01:39]written 0, free lines is 3315 [17:01:39]MH_Cut [17:01:39]Write to MH i2c: D1 01 00 90 1F 01 81 [17:01:39]Write i2c OK [17:01:39]MH_I2C_Read... [17:01:39]Read from MH i2c: D1 [17:01:39]MH_I2C_Read... [17:01:39]Read from MH i2c: D1 01 00 [17:01:39]MH_I2C_Read... [17:01:39]Read from MH i2c: D1 01 00 90 1F 00 80 [17:01:39]Write to MH i2c: 01 00 00 91 1F B0 [17:01:39]Write i2c OK [17:01:39]MH_I2C_Read... [17:01:39]OFD Sender: No OFD packet to send [17:01:40]*** Cut start [17:01:40]*** Partial cut [17:01:40]*** CUTSNS_PIN = 1 [17:01:40]*** CUTSNS_PIN = 0 [17:01:40]*** Brake cut motor [17:01:40]Read from MH i2c: 01 [17:01:40]MH_I2C_Read... [17:01:40]*** Stop cut motor [17:01:40]*** Cut end [17:01:40]Read from MH i2c: 01 07 00 [17:01:40]MH_I2C_Read... [17:01:40]Read from MH i2c: 01 07 00 91 1F 00 00 00 00 00 FF 0F C5 [17:01:40]process_action close_receipt done [17:01:40]requested_data is exist [17:01:40]produce_requested_data [17:01:40]requested_item fm.sn is exist - process it [17:01:40]wFMCommunicate request_size=4 [17:01:40]MH_SAM_APDU [17:01:40]CAPDU: 80 11 00 00 [17:01:40]Write to MH i2c: E2 08 00 92 1F 80 11 00 00 00 00 00 00 2B [17:01:40]Write i2c OK [17:01:40]MH_I2C_Read... [17:01:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:01:40]Read from MH i2c: E2 [17:01:40]MH_I2C_Read... [17:01:40]Read from MH i2c: E2 17 00 [17:01:40]MH_I2C_Read... [17:01:40]Read from MH i2c: E2 17 00 92 1F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 80 [17:01:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [17:01:40]wFMCommunicate OK [17:01:40]requested_item fd.num is exist - process it [17:01:40]SAM_PROTO_GetFieldsCounters [17:01:40]wFMCommunicate request_size=4 [17:01:40]MH_SAM_APDU [17:01:40]CAPDU: 80 13 00 00 [17:01:40]Write to MH i2c: E2 08 00 93 1F 80 13 00 00 00 00 00 00 2E [17:01:40]Write i2c OK [17:01:40]MH_I2C_Read... [17:01:40]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:01:40]Read from MH i2c: E2 [17:01:40]MH_I2C_Read... [17:01:40]Read from MH i2c: E2 62 00 [17:01:40]MH_I2C_Read... [17:01:40]Read from MH i2c: E2 62 00 93 1F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 44 87 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 36 00 00 00 5E 04 04 00 36 00 00 00 57 04 04 00 37 00 00 00 19 04 04 00 00 00 00 00 90 00 0D [17:01:40]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 44 87 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 36 00 00 00 5E 04 04 00 36 00 00 00 57 04 04 00 37 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:01:40]wFMCommunicate OK [17:01:40]SAM_PROTO_GetFieldsCounters done [17:01:40]requested_item shift.num is exist - process it [17:01:40]requested_item shift.opened is exist - process it [17:01:40]req_shift_opened [17:01:40]FM_GetShiftState [17:01:40]SAM_PROTO_GetShiftState [17:01:40]wFMCommunicate request_size=4 [17:01:40]MH_SAM_APDU [17:01:40]CAPDU: 80 13 01 00 [17:01:40]Write to MH i2c: E2 08 00 94 1F 80 13 01 00 00 00 00 00 30 [17:01:40]Write i2c OK [17:01:40]MH_I2C_Read... [17:01:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:01:40]Read from MH i2c: E2 [17:01:40]MH_I2C_Read... [17:01:40]Read from MH i2c: E2 0E 00 [17:01:40]MH_I2C_Read... [17:01:40]Read from MH i2c: E2 0E 00 94 1F 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 EA [17:01:40]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [17:01:40]wFMCommunicate OK [17:01:40]SAM_PROTO_GetShiftState done [17:01:40]FM_GetShiftState done [17:01:40]req_shift_opened done [17:01:40]requested_item shift.open_date is exist - process it [17:01:40]req_shift_open_date [17:01:40]req_shift_open_date done [17:01:40]produce_requested_data done [17:01:40]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34628,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120} [17:01:40]process_action_free close_receipt [17:01:40]json_value_free [17:01:40]json_value_free done [17:01:40]process_json_proto returns [17:01:40]Send response to host [17:01:40]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34628,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120}}} [17:01:40]free response buf [17:01:40]execute_script done [17:01:40]execute_script returns [17:01:40]free content buf [17:01:40]Sock 9.Close socket [17:01:40]Sock 9.Thread stoped [17:01:44]OFD Sender: No OFD packet to send [17:01:49]OFD Sender: No OFD packet to send [17:01:54]OFD Sender: No OFD packet to send [17:01:59]OFD Sender: No OFD packet to send [17:02:04]OFD Sender: No OFD packet to send [17:02:09]OFD Sender: No OFD packet to send [17:02:14]OFD Sender: No OFD packet to send [17:02:19]OFD Sender: No OFD packet to send [17:02:24]OFD Sender: No OFD packet to send [17:02:29]OFD Sender: No OFD packet to send [17:02:34]OFD Sender: No OFD packet to send [17:02:39]OFD Sender: No OFD packet to send [17:02:44]OFD Sender: No OFD packet to send [17:02:49]OFD Sender: No OFD packet to send [17:02:54]OFD Sender: No OFD packet to send [17:02:59]OFD Sender: No OFD packet to send [17:03:04]OFD Sender: No OFD packet to send [17:03:09]OFD Sender: No OFD packet to send [17:03:14]OFD Sender: No OFD packet to send [17:03:19]OFD Sender: No OFD packet to send [17:03:24]OFD Sender: No OFD packet to send [17:03:29]OFD Sender: No OFD packet to send [17:03:34]OFD Sender: No OFD packet to send [17:03:39]OFD Sender: No OFD packet to send [17:03:44]OFD Sender: No OFD packet to send [17:03:49]OFD Sender: No OFD packet to send [17:03:54]OFD Sender: No OFD packet to send [17:03:59]OFD Sender: No OFD packet to send [17:04:04]OFD Sender: No OFD packet to send [17:04:09]OFD Sender: No OFD packet to send [17:04:14]OFD Sender: No OFD packet to send [17:04:19]OFD Sender: No OFD packet to send [17:04:24]OFD Sender: No OFD packet to send [17:04:29]OFD Sender: No OFD packet to send [17:04:34]OFD Sender: No OFD packet to send [17:04:39]OFD Sender: No OFD packet to send [17:04:44]OFD Sender: No OFD packet to send [17:04:49]OFD Sender: No OFD packet to send [17:04:54]OFD Sender: No OFD packet to send [17:04:59]OFD Sender: No OFD packet to send [17:05:04]OFD Sender: No OFD packet to send [17:05:09]OFD Sender: No OFD packet to send [17:05:14]OFD Sender: No OFD packet to send [17:05:19]OFD Sender: No OFD packet to send [17:05:24]OFD Sender: No OFD packet to send [17:05:29]OFD Sender: No OFD packet to send [17:05:34]OFD Sender: No OFD packet to send [17:05:39]OFD Sender: No OFD packet to send [17:05:44]OFD Sender: No OFD packet to send [17:05:50]OFD Sender: No OFD packet to send [17:05:55]OFD Sender: No OFD packet to send [17:06:00]OFD Sender: No OFD packet to send [17:06:05]OFD Sender: No OFD packet to send [17:06:10]OFD Sender: No OFD packet to send [17:06:15]OFD Sender: No OFD packet to send [17:06:20]OFD Sender: No OFD packet to send [17:06:25]OFD Sender: No OFD packet to send [17:06:30]OFD Sender: No OFD packet to send [17:06:35]OFD Sender: No OFD packet to send [17:06:40]OFD Sender: No OFD packet to send [17:06:45]OFD Sender: No OFD packet to send [17:06:50]OFD Sender: No OFD packet to send [17:06:55]OFD Sender: No OFD packet to send [17:07:00]OFD Sender: No OFD packet to send [17:07:05]OFD Sender: No OFD packet to send [17:07:10]OFD Sender: No OFD packet to send [17:07:15]OFD Sender: No OFD packet to send [17:07:20]OFD Sender: No OFD packet to send [17:07:25]OFD Sender: No OFD packet to send [17:07:30]OFD Sender: No OFD packet to send [17:07:35]OFD Sender: No OFD packet to send [17:07:40]OFD Sender: No OFD packet to send [17:07:45]OFD Sender: No OFD packet to send [17:07:50]OFD Sender: No OFD packet to send [17:07:55]OFD Sender: No OFD packet to send [17:08:00]OFD Sender: No OFD packet to send [17:08:05]OFD Sender: No OFD packet to send [17:08:10]OFD Sender: No OFD packet to send [17:08:15]OFD Sender: No OFD packet to send [17:08:20]OFD Sender: No OFD packet to send [17:08:25]OFD Sender: No OFD packet to send [17:08:30]OFD Sender: No OFD packet to send [17:08:35]OFD Sender: No OFD packet to send [17:08:40]OFD Sender: No OFD packet to send [17:08:45]OFD Sender: No OFD packet to send [17:08:50]OFD Sender: No OFD packet to send [17:08:55]OFD Sender: No OFD packet to send [17:09:00]OFD Sender: No OFD packet to send [17:09:05]OFD Sender: No OFD packet to send [17:09:08]accept exits with 7 [17:09:08]New connection [17:09:08]New thread 3067473252 created [17:09:08]Thread 3067616612 joined [17:09:08]Waiting for new connection... [17:09:08] Sock 7.Parse request [17:09:08]Sock 7.Check first char [17:09:08]Sock 7.First char is OK [17:09:08]request: POST /json_proto HTTP/1.0 [17:09:08]Method: POST [17:09:08]URL: /json_proto [17:09:08]Method is POST - this is cgi request [17:09:08]url: /json_proto [17:09:08]query_string will be loaded in cgi processing [17:09:08]execute_cgi json_proto POST (null) [17:09:08]execute_cgi path=json_proto method=POST [17:09:08]POST find Content-Length [17:09:08]Host: 172.17.38.134:8080 [17:09:08]Content-Length: 215 [17:09:08]Content-Type: application/json [17:09:08] [17:09:08]POST finish read [17:09:08]Found Content-Length = 215 [17:09:08]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:09:08]execute_script... [17:09:08]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:09:08]POST & json_proto [17:09:08]process_json_proto [17:09:08]json parsed OK: [17:09:08]protocol is kg_v1.0 [17:09:08]action value=get_value [17:09:08]process_action get_value [17:09:08]cmd_get_value [17:09:08]process_action get_value done [17:09:08]requested_data is exist [17:09:08]produce_requested_data [17:09:08]requested_item kkm.sn is exist - process it [17:09:08]requested_item kkm.ver is exist - process it [17:09:08]requested_item fm.sn is exist - process it [17:09:08]wFMCommunicate request_size=4 [17:09:08]MH_SAM_APDU [17:09:08]CAPDU: 80 11 00 00 [17:09:08]Write to MH i2c: E2 08 00 95 1F 80 11 00 00 00 00 00 00 2E [17:09:08]Write i2c OK [17:09:08]MH_I2C_Read... [17:09:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:09:08]Read from MH i2c: E2 [17:09:08]MH_I2C_Read... [17:09:08]Read from MH i2c: E2 17 00 [17:09:08]MH_I2C_Read... [17:09:08]Read from MH i2c: E2 17 00 95 1F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 83 [17:09:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [17:09:08]wFMCommunicate OK [17:09:08]requested_item fd.num is exist - process it [17:09:08]SAM_PROTO_GetFieldsCounters [17:09:08]wFMCommunicate request_size=4 [17:09:08]MH_SAM_APDU [17:09:08]CAPDU: 80 13 00 00 [17:09:08]Write to MH i2c: E2 08 00 96 1F 80 13 00 00 00 00 00 00 31 [17:09:08]Write i2c OK [17:09:08]MH_I2C_Read... [17:09:08]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:09:08]Read from MH i2c: E2 [17:09:08]MH_I2C_Read... [17:09:08]Read from MH i2c: E2 62 00 [17:09:08]MH_I2C_Read... [17:09:08]Read from MH i2c: E2 62 00 96 1F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 44 87 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 36 00 00 00 5E 04 04 00 36 00 00 00 57 04 04 00 37 00 00 00 19 04 04 00 00 00 00 00 90 00 10 [17:09:08]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 44 87 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 36 00 00 00 5E 04 04 00 36 00 00 00 57 04 04 00 37 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:09:08]wFMCommunicate OK [17:09:08]SAM_PROTO_GetFieldsCounters done [17:09:08]requested_item shift.num is exist - process it [17:09:08]requested_item shift.opened is exist - process it [17:09:08]req_shift_opened [17:09:08]FM_GetShiftState [17:09:08]SAM_PROTO_GetShiftState [17:09:08]wFMCommunicate request_size=4 [17:09:08]MH_SAM_APDU [17:09:08]CAPDU: 80 13 01 00 [17:09:08]Write to MH i2c: E2 08 00 97 1F 80 13 01 00 00 00 00 00 33 [17:09:08]Write i2c OK [17:09:08]MH_I2C_Read... [17:09:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:09:08]Read from MH i2c: E2 [17:09:08]MH_I2C_Read... [17:09:08]Read from MH i2c: E2 0E 00 [17:09:08]MH_I2C_Read... [17:09:08]Read from MH i2c: E2 0E 00 97 1F 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 ED [17:09:08]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [17:09:08]wFMCommunicate OK [17:09:08]SAM_PROTO_GetShiftState done [17:09:08]FM_GetShiftState done [17:09:08]req_shift_opened done [17:09:08]requested_item shift.open_date is exist - process it [17:09:08]req_shift_open_date [17:09:08]req_shift_open_date done [17:09:08]produce_requested_data done [17:09:08]produce_requested_data return {"kkm.sn":"0300000172","kkm.ver":"001","fm.sn":"0000000000875095","fd.num":34628,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120} [17:09:08]process_action_free get_value [17:09:08]json_value_free [17:09:08]json_value_free done [17:09:08]process_json_proto returns [17:09:08]Send response to host [17:09:08]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000172","kkm.ver":"001","fm.sn":"0000000000875095","fd.num":34628,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120}}} [17:09:08]free response buf [17:09:08]execute_script done [17:09:08]execute_script returns [17:09:08]free content buf [17:09:08]Sock 7.Close socket [17:09:08]Sock 7.Thread stoped [17:09:08]accept exits with 9 [17:09:08]New connection [17:09:08]New thread 3067616612 created [17:09:08]Thread 3067473252 joined [17:09:08]Waiting for new connection... [17:09:08] Sock 9.Parse request [17:09:08]Sock 9.Check first char [17:09:08]Sock 9.First char is OK [17:09:08]request: POST /json_proto HTTP/1.0 [17:09:08]Method: POST [17:09:08]URL: /json_proto [17:09:08]Method is POST - this is cgi request [17:09:08]url: /json_proto [17:09:08]query_string will be loaded in cgi processing [17:09:08]execute_cgi json_proto POST (null) [17:09:08]execute_cgi path=json_proto method=POST [17:09:08]POST find Content-Length [17:09:08]Host: 172.17.38.134:8080 [17:09:08]Content-Length: 331 [17:09:08]Content-Type: application/json [17:09:08] [17:09:08]POST finish read [17:09:08]Found Content-Length = 331 [17:09:08]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [17:09:08]execute_script... [17:09:09]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [17:09:09]POST & json_proto [17:09:09]process_json_proto [17:09:09]json parsed OK: [17:09:09]protocol is kg_v1.0 [17:09:09]action value=get_value [17:09:09]process_action get_value [17:09:09]cmd_get_value [17:09:09]process_action get_value done [17:09:09]requested_data is exist [17:09:09]produce_requested_data [17:09:09]requested_item fm.sale.total is exist - process it [17:09:09]SAM_PROTO_GetFMData [17:09:09]wFMCommunicate request_size=4 [17:09:09]MH_SAM_APDU [17:09:09]CAPDU: 80 13 03 00 [17:09:09]Write to MH i2c: E2 08 00 98 1F 80 13 03 00 00 00 00 00 36 [17:09:09]Write i2c OK [17:09:09]MH_I2C_Read... [17:09:09]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [17:09:09]Read from MH i2c: E2 [17:09:09]MH_I2C_Read... [17:09:09]Read from MH i2c: E2 FD 00 [17:09:09]MH_I2C_Read... [17:09:09]Read from MH i2c: E2 FD 00 98 1F 00 C4 04 85 04 C0 04 6E 04 04 00 B6 84 00 00 69 04 A0 00 6F 04 04 00 C2 83 00 00 B1 04 04 00 70 13 69 51 70 04 04 00 74 00 CD 45 72 04 04 00 FC 12 9C 0B 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 C4 4E A5 08 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 E1 61 B8 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 F4 00 00 00 B1 04 04 00 FC 69 DC 03 70 04 04 00 AC 50 C8 03 72 04 03 00 50 19 14 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 B5 F7 68 EF 03 09 00 90 00 92 [17:09:09]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 B6 84 00 00 69 04 A0 00 6F 04 04 00 C2 83 00 00 B1 04 04 00 70 13 69 51 70 04 04 00 74 00 CD 45 72 04 04 00 FC 12 9C 0B 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 C4 4E A5 08 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 E1 61 B8 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 F4 00 00 00 B1 04 04 00 FC 69 DC 03 70 04 04 00 AC 50 C8 03 72 04 03 00 50 19 14 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 B5 F7 68 EF 03 09 00 90 00 [17:09:09]wFMCommunicate OK [17:09:09]wFMCommunicate request_size=4 [17:09:09]MH_SAM_APDU [17:09:09]CAPDU: 80 17 00 00 [17:09:09]Write to MH i2c: E2 08 00 99 1F 80 17 00 00 00 00 00 00 38 [17:09:09]Write i2c OK [17:09:09]MH_I2C_Read... [17:09:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:09:10]Read from MH i2c: E2 [17:09:10]MH_I2C_Read... [17:09:10]Read from MH i2c: E2 FD 00 [17:09:10]MH_I2C_Read... [17:09:10]Read from MH i2c: E2 FD 00 99 1F 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 38 BF 08 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 ED [17:09:10]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 38 BF 08 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [17:09:10]wFMCommunicate OK [17:09:10]wFMCommunicate request_size=4 [17:09:10]MH_SAM_APDU [17:09:10]CAPDU: 80 17 00 00 [17:09:10]Write to MH i2c: E2 08 00 9A 1F 80 17 00 00 00 00 00 00 39 [17:09:10]Write i2c OK [17:09:10]MH_I2C_Read... [17:09:10]OFD Sender: No OFD packet to send [17:09:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:09:10]Read from MH i2c: E2 [17:09:10]MH_I2C_Read... [17:09:10]Read from MH i2c: E2 FD 00 [17:09:10]MH_I2C_Read... [17:09:10]Read from MH i2c: E2 FD 00 9A 1F 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 4E [17:09:10]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [17:09:10]wFMCommunicate OK [17:09:10]wFMCommunicate request_size=4 [17:09:10]MH_SAM_APDU [17:09:10]CAPDU: 80 17 00 00 [17:09:10]Write to MH i2c: E2 08 00 9B 1F 80 17 00 00 00 00 00 00 3A [17:09:10]Write i2c OK [17:09:10]MH_I2C_Read... [17:09:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:09:10]Read from MH i2c: E2 [17:09:10]MH_I2C_Read... [17:09:10]Read from MH i2c: E2 FD 00 [17:09:10]MH_I2C_Read... [17:09:10]Read from MH i2c: E2 FD 00 9B 1F 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 B2 [17:09:10]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [17:09:10]wFMCommunicate OK [17:09:10]wFMCommunicate request_size=4 [17:09:10]MH_SAM_APDU [17:09:10]CAPDU: 80 17 00 00 [17:09:10]Write to MH i2c: E2 08 00 9C 1F 80 17 00 00 00 00 00 00 3B [17:09:10]Write i2c OK [17:09:10]MH_I2C_Read... [17:09:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [17:09:10]Read from MH i2c: E2 [17:09:10]MH_I2C_Read... [17:09:10]Read from MH i2c: E2 E1 00 [17:09:10]MH_I2C_Read... [17:09:10]Read from MH i2c: E2 E1 00 9C 1F 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 29 [17:09:10]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [17:09:10]wFMCommunicate OK [17:09:10]SAM_PROTO_GetFMData done [17:09:10]requested_item fm.sale_refund.total is exist - process it [17:09:10]requested_item fm.buy.total is exist - process it [17:09:10]requested_item shift.sale.total is exist - process it [17:09:10]SAM_PROTO_GetShiftData [17:09:10]wFMCommunicate request_size=4 [17:09:10]MH_SAM_APDU [17:09:10]CAPDU: 80 13 02 00 [17:09:10]Write to MH i2c: E2 08 00 9D 1F 80 13 02 00 00 00 00 00 3A [17:09:10]Write i2c OK [17:09:10]MH_I2C_Read... [17:09:11]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [17:09:11]Read from MH i2c: E2 [17:09:11]MH_I2C_Read... [17:09:11]Read from MH i2c: E2 FD 00 [17:09:11]MH_I2C_Read... [17:09:11]Read from MH i2c: E2 FD 00 9D 1F 00 AE 04 AA 04 AA 04 6E 04 04 00 36 00 00 00 69 04 9B 00 6F 04 04 00 36 00 00 00 B1 04 03 00 DB E4 42 70 04 03 00 0C 39 3D 72 04 03 00 CF AB 05 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 92 1A 07 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 8A 97 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 3D [17:09:11]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 36 00 00 00 69 04 9B 00 6F 04 04 00 36 00 00 00 B1 04 03 00 DB E4 42 70 04 03 00 0C 39 3D 72 04 03 00 CF AB 05 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 92 1A 07 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 8A 97 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [17:09:11]wFMCommunicate OK [17:09:11]wFMCommunicate request_size=4 [17:09:11]MH_SAM_APDU [17:09:11]CAPDU: 80 17 00 00 [17:09:11]Write to MH i2c: E2 08 00 9E 1F 80 17 00 00 00 00 00 00 3D [17:09:11]Write i2c OK [17:09:11]MH_I2C_Read... [17:09:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:09:11]Read from MH i2c: E2 [17:09:11]MH_I2C_Read... [17:09:11]Read from MH i2c: E2 FD 00 [17:09:11]MH_I2C_Read... [17:09:11]Read from MH i2c: E2 FD 00 9E 1F 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 5F [17:09:11]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 [17:09:11]wFMCommunicate OK [17:09:11]wFMCommunicate request_size=4 [17:09:11]MH_SAM_APDU [17:09:11]CAPDU: 80 17 00 00 [17:09:11]Write to MH i2c: E2 08 00 9F 1F 80 17 00 00 00 00 00 00 3E [17:09:11]Write i2c OK [17:09:11]MH_I2C_Read... [17:09:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:09:11]Read from MH i2c: E2 [17:09:11]MH_I2C_Read... [17:09:11]Read from MH i2c: E2 FD 00 [17:09:11]MH_I2C_Read... [17:09:11]Read from MH i2c: E2 FD 00 9F 1F 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 F5 [17:09:11]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 [17:09:11]wFMCommunicate OK [17:09:11]wFMCommunicate request_size=4 [17:09:11]MH_SAM_APDU [17:09:11]CAPDU: 80 17 00 00 [17:09:11]Write to MH i2c: E2 08 00 A0 1F 80 17 00 00 00 00 00 00 3F [17:09:11]Write i2c OK [17:09:11]MH_I2C_Read... [17:09:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:09:12]Read from MH i2c: E2 [17:09:12]MH_I2C_Read... [17:09:12]Read from MH i2c: E2 FD 00 [17:09:12]MH_I2C_Read... [17:09:12]Read from MH i2c: E2 FD 00 A0 1F 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 B1 [17:09:12]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 [17:09:12]wFMCommunicate OK [17:09:12]wFMCommunicate request_size=4 [17:09:12]MH_SAM_APDU [17:09:12]CAPDU: 80 17 00 00 [17:09:12]Write to MH i2c: E2 08 00 A1 1F 80 17 00 00 00 00 00 00 40 [17:09:12]Write i2c OK [17:09:12]MH_I2C_Read... [17:09:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [17:09:12]Read from MH i2c: E2 [17:09:12]MH_I2C_Read... [17:09:12]Read from MH i2c: E2 CB 00 [17:09:12]MH_I2C_Read... [17:09:12]Read from MH i2c: E2 CB 00 A1 1F 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 29 [17:09:12]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 [17:09:12]wFMCommunicate OK [17:09:12]SAM_PROTO_GetShiftData done [17:09:12]requested_item shift.sale.total_cash is exist - process it [17:09:12]requested_item shift.sale_refund.total is exist - process it [17:09:12]requested_item shift.sale_refund.total_cash is exist - process it [17:09:12]requested_item shift.buy.total is exist - process it [17:09:12]requested_item shift.buy.total_cash is exist - process it [17:09:12]produce_requested_data done [17:09:12]produce_requested_data return {"fm.sale.total":13658407.52,"fm.sale_refund.total":647767.00,"fm.buy.total":0.00,"shift.sale.total":43839.63,"shift.sale.total_cash":40123.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [17:09:12]process_action_free get_value [17:09:12]json_value_free [17:09:12]json_value_free done [17:09:12]process_json_proto returns [17:09:12]Send response to host [17:09:12]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":13658407.52,"fm.sale_refund.total":647767.00,"fm.buy.total":0.00,"shift.sale.total":43839.63,"shift.sale.total_cash":40123.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [17:09:12]free response buf [17:09:12]execute_script done [17:09:12]execute_script returns [17:09:12]free content buf [17:09:12]Sock 9.Close socket [17:09:12]Sock 9.Thread stoped [17:09:12]accept exits with 7 [17:09:12]New connection [17:09:12]New thread 3067473252 created [17:09:12]Thread 3067616612 joined [17:09:12]Waiting for new connection... [17:09:12] Sock 7.Parse request [17:09:12]Sock 7.Check first char [17:09:12]Sock 7.First char is OK [17:09:12]request: POST /json_proto HTTP/1.0 [17:09:12]Method: POST [17:09:12]URL: /json_proto [17:09:12]Method is POST - this is cgi request [17:09:12]url: /json_proto [17:09:12]query_string will be loaded in cgi processing [17:09:12]execute_cgi json_proto POST (null) [17:09:12]execute_cgi path=json_proto method=POST [17:09:12]POST find Content-Length [17:09:12]Host: 172.17.38.134:8080 [17:09:12]Content-Length: 331 [17:09:12]Content-Type: application/json [17:09:12] [17:09:12]POST finish read [17:09:12]Found Content-Length = 331 [17:09:12]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [17:09:12]execute_script... [17:09:12]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [17:09:12]POST & json_proto [17:09:12]process_json_proto [17:09:12]json parsed OK: [17:09:12]protocol is kg_v1.0 [17:09:12]action value=get_value [17:09:12]process_action get_value [17:09:12]cmd_get_value [17:09:12]process_action get_value done [17:09:12]requested_data is exist [17:09:12]produce_requested_data [17:09:12]requested_item fm.sale.total is exist - process it [17:09:12]SAM_PROTO_GetFMData [17:09:12]wFMCommunicate request_size=4 [17:09:12]MH_SAM_APDU [17:09:12]CAPDU: 80 13 03 00 [17:09:12]Write to MH i2c: E2 08 00 A2 1F 80 13 03 00 00 00 00 00 40 [17:09:12]Write i2c OK [17:09:12]MH_I2C_Read... [17:09:12]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [17:09:12]Read from MH i2c: E2 [17:09:12]MH_I2C_Read... [17:09:12]Read from MH i2c: E2 FD 00 [17:09:12]MH_I2C_Read... [17:09:12]Read from MH i2c: E2 FD 00 A2 1F 00 C4 04 85 04 C0 04 6E 04 04 00 B6 84 00 00 69 04 A0 00 6F 04 04 00 C2 83 00 00 B1 04 04 00 70 13 69 51 70 04 04 00 74 00 CD 45 72 04 04 00 FC 12 9C 0B 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 C4 4E A5 08 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 E1 61 B8 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 F4 00 00 00 B1 04 04 00 FC 69 DC 03 70 04 04 00 AC 50 C8 03 72 04 03 00 50 19 14 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 B5 F7 68 EF 03 09 00 90 00 9C [17:09:13]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 B6 84 00 00 69 04 A0 00 6F 04 04 00 C2 83 00 00 B1 04 04 00 70 13 69 51 70 04 04 00 74 00 CD 45 72 04 04 00 FC 12 9C 0B 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 C4 4E A5 08 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 E1 61 B8 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 F4 00 00 00 B1 04 04 00 FC 69 DC 03 70 04 04 00 AC 50 C8 03 72 04 03 00 50 19 14 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 B5 F7 68 EF 03 09 00 90 00 [17:09:13]wFMCommunicate OK [17:09:13]wFMCommunicate request_size=4 [17:09:13]MH_SAM_APDU [17:09:13]CAPDU: 80 17 00 00 [17:09:13]Write to MH i2c: E2 08 00 A3 1F 80 17 00 00 00 00 00 00 42 [17:09:13]Write i2c OK [17:09:13]MH_I2C_Read... [17:09:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:09:13]Read from MH i2c: E2 [17:09:13]MH_I2C_Read... [17:09:13]Read from MH i2c: E2 FD 00 [17:09:13]MH_I2C_Read... [17:09:13]Read from MH i2c: E2 FD 00 A3 1F 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 38 BF 08 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 F7 [17:09:13]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 38 BF 08 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [17:09:13]wFMCommunicate OK [17:09:13]wFMCommunicate request_size=4 [17:09:13]MH_SAM_APDU [17:09:13]CAPDU: 80 17 00 00 [17:09:13]Write to MH i2c: E2 08 00 A4 1F 80 17 00 00 00 00 00 00 43 [17:09:13]Write i2c OK [17:09:13]MH_I2C_Read... [17:09:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:09:13]Read from MH i2c: E2 [17:09:13]MH_I2C_Read... [17:09:13]Read from MH i2c: E2 FD 00 [17:09:13]MH_I2C_Read... [17:09:13]Read from MH i2c: E2 FD 00 A4 1F 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 58 [17:09:13]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [17:09:13]wFMCommunicate OK [17:09:13]wFMCommunicate request_size=4 [17:09:13]MH_SAM_APDU [17:09:13]CAPDU: 80 17 00 00 [17:09:13]Write to MH i2c: E2 08 00 A5 1F 80 17 00 00 00 00 00 00 44 [17:09:13]Write i2c OK [17:09:13]MH_I2C_Read... [17:09:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:09:14]Read from MH i2c: E2 [17:09:14]MH_I2C_Read... [17:09:14]Read from MH i2c: E2 FD 00 [17:09:14]MH_I2C_Read... [17:09:14]Read from MH i2c: E2 FD 00 A5 1F 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 BC [17:09:14]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [17:09:14]wFMCommunicate OK [17:09:14]wFMCommunicate request_size=4 [17:09:14]MH_SAM_APDU [17:09:14]CAPDU: 80 17 00 00 [17:09:14]Write to MH i2c: E2 08 00 A6 1F 80 17 00 00 00 00 00 00 45 [17:09:14]Write i2c OK [17:09:14]MH_I2C_Read... [17:09:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [17:09:14]Read from MH i2c: E2 [17:09:14]MH_I2C_Read... [17:09:14]Read from MH i2c: E2 E1 00 [17:09:14]MH_I2C_Read... [17:09:14]Read from MH i2c: E2 E1 00 A6 1F 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 33 [17:09:14]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [17:09:14]wFMCommunicate OK [17:09:14]SAM_PROTO_GetFMData done [17:09:14]requested_item fm.sale_refund.total is exist - process it [17:09:14]requested_item fm.buy.total is exist - process it [17:09:14]requested_item shift.sale.total is exist - process it [17:09:14]SAM_PROTO_GetShiftData [17:09:14]wFMCommunicate request_size=4 [17:09:14]MH_SAM_APDU [17:09:14]CAPDU: 80 13 02 00 [17:09:14]Write to MH i2c: E2 08 00 A7 1F 80 13 02 00 00 00 00 00 44 [17:09:14]Write i2c OK [17:09:14]MH_I2C_Read... [17:09:14]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [17:09:14]Read from MH i2c: E2 [17:09:14]MH_I2C_Read... [17:09:14]Read from MH i2c: E2 FD 00 [17:09:14]MH_I2C_Read... [17:09:14]Read from MH i2c: E2 FD 00 A7 1F 00 AE 04 AA 04 AA 04 6E 04 04 00 36 00 00 00 69 04 9B 00 6F 04 04 00 36 00 00 00 B1 04 03 00 DB E4 42 70 04 03 00 0C 39 3D 72 04 03 00 CF AB 05 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 92 1A 07 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 8A 97 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 47 [17:09:15]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 36 00 00 00 69 04 9B 00 6F 04 04 00 36 00 00 00 B1 04 03 00 DB E4 42 70 04 03 00 0C 39 3D 72 04 03 00 CF AB 05 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 92 1A 07 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 8A 97 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [17:09:15]wFMCommunicate OK [17:09:15]wFMCommunicate request_size=4 [17:09:15]MH_SAM_APDU [17:09:15]CAPDU: 80 17 00 00 [17:09:15]Write to MH i2c: E2 08 00 A8 1F 80 17 00 00 00 00 00 00 47 [17:09:15]Write i2c OK [17:09:15]MH_I2C_Read... [17:09:15]OFD Sender: No OFD packet to send [17:09:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:09:15]Read from MH i2c: E2 [17:09:15]MH_I2C_Read... [17:09:15]Read from MH i2c: E2 FD 00 [17:09:15]MH_I2C_Read... [17:09:15]Read from MH i2c: E2 FD 00 A8 1F 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 [17:09:15]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [17:09:15]wFMCommunicate OK [17:09:15]wFMCommunicate request_size=4 [17:09:15]MH_SAM_APDU [17:09:15]CAPDU: 80 17 00 00 [17:09:15]Write to MH i2c: E2 08 00 A9 1F 80 17 00 00 00 00 00 00 48 [17:09:15]Write i2c OK [17:09:15]MH_I2C_Read... [17:09:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:09:15]Read from MH i2c: E2 [17:09:15]MH_I2C_Read... [17:09:15]Read from MH i2c: E2 FD 00 [17:09:15]MH_I2C_Read... [17:09:15]Read from MH i2c: E2 FD 00 A9 1F 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [17:09:15]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [17:09:15]wFMCommunicate OK [17:09:15]wFMCommunicate request_size=4 [17:09:15]MH_SAM_APDU [17:09:15]CAPDU: 80 17 00 00 [17:09:15]Write to MH i2c: E2 08 00 AA 1F 80 17 00 00 00 00 00 00 49 [17:09:15]Write i2c OK [17:09:15]MH_I2C_Read... [17:09:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:09:16]Read from MH i2c: E2 [17:09:16]MH_I2C_Read... [17:09:16]Read from MH i2c: E2 FD 00 [17:09:16]MH_I2C_Read... [17:09:16]Read from MH i2c: E2 FD 00 AA 1F 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 [17:09:16]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [17:09:16]wFMCommunicate OK [17:09:16]wFMCommunicate request_size=4 [17:09:16]MH_SAM_APDU [17:09:16]CAPDU: 80 17 00 00 [17:09:16]Write to MH i2c: E2 08 00 AB 1F 80 17 00 00 00 00 00 00 4A [17:09:16]Write i2c OK [17:09:16]MH_I2C_Read... [17:09:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [17:09:16]Read from MH i2c: E2 [17:09:16]MH_I2C_Read... [17:09:16]Read from MH i2c: E2 CB 00 [17:09:16]MH_I2C_Read... [17:09:16]Read from MH i2c: E2 CB 00 AB 1F 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 [17:09:16]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [17:09:16]wFMCommunicate OK [17:09:16]SAM_PROTO_GetShiftData done [17:09:16]requested_item shift.sale.total_cash is exist - process it [17:09:16]requested_item shift.sale_refund.total is exist - process it [17:09:16]requested_item shift.sale_refund.total_cash is exist - process it [17:09:16]requested_item shift.buy.total is exist - process it [17:09:16]requested_item shift.buy.total_cash is exist - process it [17:09:16]produce_requested_data done [17:09:16]produce_requested_data return {"fm.sale.total":13658407.52,"fm.sale_refund.total":647767.00,"fm.buy.total":0.00,"shift.sale.total":43839.63,"shift.sale.total_cash":40123.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [17:09:16]process_action_free get_value [17:09:16]json_value_free [17:09:16]json_value_free done [17:09:16]process_json_proto returns [17:09:16]Send response to host [17:09:16]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":13658407.52,"fm.sale_refund.total":647767.00,"fm.buy.total":0.00,"shift.sale.total":43839.63,"shift.sale.total_cash":40123.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [17:09:16]free response buf [17:09:16]execute_script done [17:09:16]execute_script returns [17:09:16]free content buf [17:09:16]Sock 7.Close socket [17:09:16]Sock 7.Thread stoped [17:09:16]accept exits with 9 [17:09:16]New connection [17:09:16]New thread 3067616612 created [17:09:16]Thread 3067473252 joined [17:09:16]Waiting for new connection... [17:09:16] Sock 9.Parse request [17:09:16]Sock 9.Check first char [17:09:16]Sock 9.First char is OK [17:09:16]request: POST /json_proto HTTP/1.0 [17:09:16]Method: POST [17:09:16]URL: /json_proto [17:09:16]Method is POST - this is cgi request [17:09:16]url: /json_proto [17:09:16]query_string will be loaded in cgi processing [17:09:16]execute_cgi json_proto POST (null) [17:09:16]execute_cgi path=json_proto method=POST [17:09:16]POST find Content-Length [17:09:16]Host: 172.17.38.134:8080 [17:09:16]Content-Length: 269 [17:09:16]Content-Type: application/json [17:09:16] [17:09:16]POST finish read [17:09:16]Found Content-Length = 269 [17:09:16]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u0411\u0430\u0439\u0431\u0443\u0433\u0443\u0435\u0432\u0430 \u0413. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:09:16]execute_script... [17:09:16]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u0411\u0430\u0439\u0431\u0443\u0433\u0443\u0435\u0432\u0430 \u0413. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:09:16]POST & json_proto [17:09:16]process_json_proto [17:09:16]json parsed OK: [17:09:16]protocol is kg_v1.0 [17:09:16]action value=x_report [17:09:16]process_action x_report [17:09:16]cmd_x_report [17:09:16]MH_GetDate [17:09:16]Write to MH i2c: F0 00 00 AC 1F BA [17:09:16]Write i2c OK [17:09:16]MH_I2C_Read... [17:09:16]Read from MH i2c: F0 [17:09:16]MH_I2C_Read... [17:09:16]Read from MH i2c: F0 09 00 [17:09:16]MH_I2C_Read... [17:09:16]Read from MH i2c: F0 09 00 AC 1F 00 43 05 77 66 13 9C 7C 64 77 [17:09:16]GetLastDocTimeStamp 1719075703 [17:09:16]current date 1719076163 [17:09:16]FM_GetShiftState [17:09:16]SAM_PROTO_GetShiftState [17:09:16]wFMCommunicate request_size=4 [17:09:16]MH_SAM_APDU [17:09:16]CAPDU: 80 13 01 00 [17:09:16]Write to MH i2c: E2 08 00 AD 1F 80 13 01 00 00 00 00 00 49 [17:09:16]Write i2c OK [17:09:16]MH_I2C_Read... [17:09:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:09:16]Read from MH i2c: E2 [17:09:16]MH_I2C_Read... [17:09:16]Read from MH i2c: E2 0E 00 [17:09:16]MH_I2C_Read... [17:09:16]Read from MH i2c: E2 0E 00 AD 1F 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 03 [17:09:16]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [17:09:16]wFMCommunicate OK [17:09:16]SAM_PROTO_GetShiftState done [17:09:16]FM_GetShiftState done [17:09:16]KKMCreateXReportDocument [17:09:16]Load OK [17:09:16]Malloc new data [17:09:16]MH_GetDate [17:09:16]Write to MH i2c: F0 00 00 AE 1F BC [17:09:16]Write i2c OK [17:09:16]MH_I2C_Read... [17:09:16]Read from MH i2c: F0 [17:09:16]MH_I2C_Read... [17:09:16]Read from MH i2c: F0 09 00 [17:09:16]MH_I2C_Read... [17:09:16]Read from MH i2c: F0 09 00 AE 1F 00 43 05 77 66 13 9C 7C 64 79 [17:09:16]Malloc new data [17:09:16]Malloc new data [17:09:16]wFMCommunicate request_size=4 [17:09:16]MH_SAM_APDU [17:09:16]CAPDU: 80 11 00 00 [17:09:16]Write to MH i2c: E2 08 00 AF 1F 80 11 00 00 00 00 00 00 48 [17:09:16]Write i2c OK [17:09:16]MH_I2C_Read... [17:09:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:09:16]Read from MH i2c: E2 [17:09:16]MH_I2C_Read... [17:09:16]Read from MH i2c: E2 17 00 [17:09:16]MH_I2C_Read... [17:09:16]Read from MH i2c: E2 17 00 AF 1F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 9D [17:09:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [17:09:16]wFMCommunicate OK [17:09:16]SAM_PROTO_GetFieldsCounters [17:09:16]wFMCommunicate request_size=4 [17:09:16]MH_SAM_APDU [17:09:16]CAPDU: 80 13 00 00 [17:09:16]Write to MH i2c: E2 08 00 B0 1F 80 13 00 00 00 00 00 00 4B [17:09:16]Write i2c OK [17:09:16]MH_I2C_Read... [17:09:17]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:09:17]Read from MH i2c: E2 [17:09:17]MH_I2C_Read... [17:09:17]Read from MH i2c: E2 62 00 [17:09:17]MH_I2C_Read... [17:09:17]Read from MH i2c: E2 62 00 B0 1F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 44 87 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 36 00 00 00 5E 04 04 00 36 00 00 00 57 04 04 00 37 00 00 00 19 04 04 00 00 00 00 00 90 00 2A [17:09:17]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 44 87 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 36 00 00 00 5E 04 04 00 36 00 00 00 57 04 04 00 37 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:09:17]wFMCommunicate OK [17:09:17]SAM_PROTO_GetFieldsCounters done [17:09:17]Malloc new data [17:09:17]Malloc new data [17:09:17]Malloc new data [17:09:17]KKMCreateXReportDocument OK [17:09:17]KKMSetXReportData OK [17:09:17]KKMPrepareXReportFMData [17:09:17]SAM_PROTO_GetShiftData [17:09:17]wFMCommunicate request_size=4 [17:09:17]MH_SAM_APDU [17:09:17]CAPDU: 80 13 02 00 [17:09:17]Write to MH i2c: E2 08 00 B1 1F 80 13 02 00 00 00 00 00 4E [17:09:17]Write i2c OK [17:09:17]MH_I2C_Read... [17:09:17]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [17:09:17]Read from MH i2c: E2 [17:09:17]MH_I2C_Read... [17:09:17]Read from MH i2c: E2 FD 00 [17:09:17]MH_I2C_Read... [17:09:17]Read from MH i2c: E2 FD 00 B1 1F 00 AE 04 AA 04 AA 04 6E 04 04 00 36 00 00 00 69 04 9B 00 6F 04 04 00 36 00 00 00 B1 04 03 00 DB E4 42 70 04 03 00 0C 39 3D 72 04 03 00 CF AB 05 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 92 1A 07 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 8A 97 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 51 [17:09:17]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 36 00 00 00 69 04 9B 00 6F 04 04 00 36 00 00 00 B1 04 03 00 DB E4 42 70 04 03 00 0C 39 3D 72 04 03 00 CF AB 05 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 92 1A 07 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 8A 97 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [17:09:17]wFMCommunicate OK [17:09:17]wFMCommunicate request_size=4 [17:09:17]MH_SAM_APDU [17:09:17]CAPDU: 80 17 00 00 [17:09:17]Write to MH i2c: E2 08 00 B2 1F 80 17 00 00 00 00 00 00 51 [17:09:17]Write i2c OK [17:09:17]MH_I2C_Read... [17:09:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:09:18]Read from MH i2c: E2 [17:09:18]MH_I2C_Read... [17:09:18]Read from MH i2c: E2 FD 00 [17:09:18]MH_I2C_Read... [17:09:18]Read from MH i2c: E2 FD 00 B2 1F 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 73 [17:09:18]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 [17:09:18]wFMCommunicate OK [17:09:18]wFMCommunicate request_size=4 [17:09:18]MH_SAM_APDU [17:09:18]CAPDU: 80 17 00 00 [17:09:18]Write to MH i2c: E2 08 00 B3 1F 80 17 00 00 00 00 00 00 52 [17:09:18]Write i2c OK [17:09:18]MH_I2C_Read... [17:09:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:09:18]Read from MH i2c: E2 [17:09:18]MH_I2C_Read... [17:09:18]Read from MH i2c: E2 FD 00 [17:09:18]MH_I2C_Read... [17:09:18]Read from MH i2c: E2 FD 00 B3 1F 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 09 [17:09:18]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 [17:09:18]wFMCommunicate OK [17:09:18]wFMCommunicate request_size=4 [17:09:18]MH_SAM_APDU [17:09:18]CAPDU: 80 17 00 00 [17:09:18]Write to MH i2c: E2 08 00 B4 1F 80 17 00 00 00 00 00 00 53 [17:09:18]Write i2c OK [17:09:18]MH_I2C_Read... [17:09:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:09:18]Read from MH i2c: E2 [17:09:18]MH_I2C_Read... [17:09:18]Read from MH i2c: E2 FD 00 [17:09:18]MH_I2C_Read... [17:09:18]Read from MH i2c: E2 FD 00 B4 1F 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 C5 [17:09:19]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 [17:09:19]wFMCommunicate OK [17:09:19]wFMCommunicate request_size=4 [17:09:19]MH_SAM_APDU [17:09:19]CAPDU: 80 17 00 00 [17:09:19]Write to MH i2c: E2 08 00 B5 1F 80 17 00 00 00 00 00 00 54 [17:09:19]Write i2c OK [17:09:19]MH_I2C_Read... [17:09:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [17:09:19]Read from MH i2c: E2 [17:09:19]MH_I2C_Read... [17:09:19]Read from MH i2c: E2 CB 00 [17:09:19]MH_I2C_Read... [17:09:19]Read from MH i2c: E2 CB 00 B5 1F 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 3D [17:09:19]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 [17:09:19]wFMCommunicate OK [17:09:19]SAM_PROTO_GetShiftData done [17:09:19]1194 (1194) - счетчики итогов смены [17:09:19] 1134 (4) - 54 - количество чеков со всеми признаками расчетов [17:09:19] 1129 (155) - счетчики операций «приход» [17:09:19] 1135 (4) - 54 - количество чеков по признаку расчетов [17:09:19] 1201 (3) - 43839.63 - общая итоговая сумма в чеках [17:09:19] 1136 (3) - 40123.00 - итоговая сумма в чеках наличными [17:09:19] 1138 (3) - 3716.63 - итоговая сумма в чеках безналичными [17:09:19] 1024 (122) - суммы налогов [17:09:19] 1006 (9) - суммы НДС [17:09:19] 1010 (1) - 0% - код ставки НДС [17:09:19] 1011 (0) - 0.00 - сумма НДС по ставке [17:09:19] 1006 (12) - суммы НДС [17:09:19] 1010 (1) - 12% - код ставки НДС [17:09:19] 1011 (3) - 4655.54 - сумма НДС по ставке [17:09:19] 1007 (9) - суммы НСП [17:09:19] 1014 (1) - 0% - код ставки НСП [17:09:19] 1015 (0) - 0.00 - сумма НСП по ставке [17:09:19] 1007 (11) - суммы НСП [17:09:19] 1014 (1) - 1% - код ставки НСП [17:09:19] 1015 (2) - 387.94 - сумма НСП по ставке [17:09:19] 1007 (9) - суммы НСП [17:09:19] 1014 (1) - 2% - код ставки НСП [17:09:19] 1015 (0) - 0.00 - сумма НСП по ставке [17:09:19] 1007 (9) - суммы НСП [17:09:19] 1014 (1) - 3% - код ставки НСП [17:09:19] 1015 (0) - 0.00 - сумма НСП по ставке [17:09:19] 1007 (9) - суммы НСП [17:09:19] 1014 (1) - 5% - код ставки НСП [17:09:19] 1015 (0) - 0.00 - сумма НСП по ставке [17:09:19] 1007 (9) - суммы НСП [17:09:19] 1014 (1) - 0,50% - код ставки НСП [17:09:19] 1015 (0) - 0.00 - сумма НСП по ставке [17:09:19] 1007 (9) - суммы НСП [17:09:19] 1014 (1) - 1,50% - код ставки НСП [17:09:19] 1015 (0) - 0.00 - сумма НСП по ставке [17:09:19] 1130 (141) - счетчики операций «возврат прихода» [17:09:19] 1135 (4) - 0 - количество чеков по признаку расчетов [17:09:19] 1201 (0) - 0.00 - общая итоговая сумма в чеках [17:09:19] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [17:09:19] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [17:09:19] 1024 (117) - суммы налогов [17:09:19] 1006 (9) - суммы НДС [17:09:19] 1010 (1) - 0% - код ставки НДС [17:09:19] 1011 (0) - 0.00 - сумма НДС по ставке [17:09:19] 1006 (9) - суммы НДС [17:09:19] 1010 (1) - 12% - код ставки НДС [17:09:19] 1011 (0) - 0.00 - сумма НДС по ставке [17:09:19] 1007 (9) - суммы НСП [17:09:19] 1014 (1) - 0% - код ставки НСП [17:09:19] 1015 (0) - 0.00 - сумма НСП по ставке [17:09:19] 1007 (9) - суммы НСП [17:09:19] 1014 (1) - 1% - код ставки НСП [17:09:19] 1015 (0) - 0.00 - сумма НСП по ставке [17:09:19] 1007 (9) - суммы НСП [17:09:19] 1014 (1) - 2% - код ставки НСП [17:09:19] 1015 (0) - 0.00 - сумма НСП по ставке [17:09:19] 1007 (9) - суммы НСП [17:09:19] 1014 (1) - 3% - код ставки НСП [17:09:19] 1015 (0) - 0.00 - сумма НСП по ставке [17:09:19] 1007 (9) - суммы НСП [17:09:19] 1014 (1) - 5% - код ставки НСП [17:09:19] 1015 (0) - 0.00 - сумма НСП по ставке [17:09:19] 1007 (9) - суммы НСП [17:09:19] 1014 (1) - 0,50% - код ставки НСП [17:09:19] 1015 (0) - 0.00 - сумма НСП по ставке [17:09:19] 1007 (9) - суммы НСП [17:09:19] 1014 (1) - 1,50% - код ставки НСП [17:09:19] 1015 (0) - 0.00 - сумма НСП по ставке [17:09:19] 1131 (141) - счетчики операций «расход» [17:09:19] 1135 (4) - 0 - количество чеков по признаку расчетов [17:09:19] 1201 (0) - 0.00 - общая итоговая сумма в чеках [17:09:19] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [17:09:19] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [17:09:19] 1024 (117) - суммы налогов [17:09:19] 1006 (9) - суммы НДС [17:09:19] 1010 (1) - 0% - код ставки НДС [17:09:19] 1011 (0) - 0.00 - сумма НДС по ставке [17:09:19] 1006 (9) - суммы НДС [17:09:19] 1010 (1) - 12% - код ставки НДС [17:09:19] 1011 (0) - 0.00 - сумма НДС по ставке [17:09:19] 1007 (9) - суммы НСП [17:09:19] 1014 (1) - 0% - код ставки НСП [17:09:19] 1015 (0) - 0.00 - сумма НСП по ставке [17:09:19] 1007 (9) - суммы НСП [17:09:19] 1014 (1) - 1% - код ставки НСП [17:09:19] 1015 (0) - 0.00 - сумма НСП по ставке [17:09:19] 1007 (9) - суммы НСП [17:09:19] 1014 (1) - 2% - код ставки НСП [17:09:19] 1015 (0) - 0.00 - сумма НСП по ставке [17:09:19] 1007 (9) - суммы НСП [17:09:19] 1014 (1) - 3% - код ставки НСП [17:09:19] 1015 (0) - 0.00 - сумма НСП по ставке [17:09:19] 1007 (9) - суммы НСП [17:09:19] 1014 (1) - 5% - код ставки НСП [17:09:19] 1015 (0) - 0.00 - сумма НСП по ставке [17:09:19] 1007 (9) - суммы НСП [17:09:19] 1014 (1) - 0,50% - код ставки НСП [17:09:19] 1015 (0) - 0.00 - сумма НСП по ставке [17:09:19] 1007 (9) - суммы НСП [17:09:19] 1014 (1) - 1,50% - код ставки НСП [17:09:19] 1015 (0) - 0.00 - сумма НСП по ставке [17:09:19] 1132 (141) - счетчики операций «возврат расхода» [17:09:19] 1135 (4) - 0 - количество чеков по признаку расчетов [17:09:19] 1201 (0) - 0.00 - общая итоговая сумма в чеках [17:09:19] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [17:09:19] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [17:09:19] 1024 (117) - суммы налогов [17:09:19] 1006 (9) - суммы НДС [17:09:19] 1010 (1) - 0% - код ставки НДС [17:09:19] 1011 (0) - 0.00 - сумма НДС по ставке [17:09:19] 1006 (9) - суммы НДС [17:09:19] 1010 (1) - 12% - код ставки НДС [17:09:19] 1011 (0) - 0.00 - сумма НДС по ставке [17:09:19] 1007 (9) - суммы НСП [17:09:19] 1014 (1) - 0% - код ставки НСП [17:09:19] 1015 (0) - 0.00 - сумма НСП по ставке [17:09:19] 1007 (9) - суммы НСП [17:09:19] 1014 (1) - 1% - код ставки НСП [17:09:19] 1015 (0) - 0.00 - сумма НСП по ставке [17:09:19] 1007 (9) - суммы НСП [17:09:19] 1014 (1) - 2% - код ставки НСП [17:09:19] 1015 (0) - 0.00 - сумма НСП по ставке [17:09:19] 1007 (9) - суммы НСП [17:09:19] 1014 (1) - 3% - код ставки НСП [17:09:19] 1015 (0) - 0.00 - сумма НСП по ставке [17:09:19] 1007 (9) - суммы НСП [17:09:19] 1014 (1) - 5% - код ставки НСП [17:09:19] 1015 (0) - 0.00 - сумма НСП по ставке [17:09:19] 1007 (9) - суммы НСП [17:09:19] 1014 (1) - 0,50% - код ставки НСП [17:09:19] 1015 (0) - 0.00 - сумма НСП по ставке [17:09:19] 1007 (9) - суммы НСП [17:09:19] 1014 (1) - 1,50% - код ставки НСП [17:09:19] 1015 (0) - 0.00 - сумма НСП по ставке [17:09:19] 1133 (588) - - счетчики коррекции - не используются [17:09:19]SetTLVBufToDocument [17:09:19]Processing tag 1194 (04AA) [17:09:19]Load OK [17:09:19]SetTLVBufToDocument [17:09:19]Processing tag 1134 (046E) [17:09:19]Malloc new data [17:09:19]Processing tag 1129 (0469) [17:09:19]Load OK [17:09:19]SetTLVBufToDocument [17:09:19]Processing tag 1135 (046F) [17:09:19]Malloc new data [17:09:19]Processing tag 1201 (04B1) [17:09:19]Malloc new data [17:09:19]Processing tag 1136 (0470) [17:09:19]Malloc new data [17:09:19]Processing tag 1138 (0472) [17:09:19]Malloc new data [17:09:19]Processing tag 1024 (0400) [17:09:19]Load OK [17:09:19]SetTLVBufToDocument [17:09:19]Processing tag 1006 (03EE) [17:09:19]Load OK [17:09:19]SetTLVBufToDocument [17:09:19]Processing tag 1010 (03F2) [17:09:20]Malloc new data [17:09:20]Processing tag 1011 (03F3) [17:09:20]Malloc new data [17:09:20]SetTLVBufToDocument err=0 [17:09:20]Processing tag 1006 (03EE) [17:09:20]Load OK [17:09:20]SetTLVBufToDocument [17:09:20]Processing tag 1010 (03F2) [17:09:20]Malloc new data [17:09:20]Processing tag 1011 (03F3) [17:09:20]Malloc new data [17:09:20]SetTLVBufToDocument err=0 [17:09:20]Processing tag 1007 (03EF) [17:09:20]Load OK [17:09:20]SetTLVBufToDocument [17:09:20]Processing tag 1014 (03F6) [17:09:20]Malloc new data [17:09:20]Processing tag 1015 (03F7) [17:09:20]Malloc new data [17:09:20]SetTLVBufToDocument err=0 [17:09:20]Processing tag 1007 (03EF) [17:09:20]Load OK [17:09:20]SetTLVBufToDocument [17:09:20]Processing tag 1014 (03F6) [17:09:20]Malloc new data [17:09:20]Processing tag 1015 (03F7) [17:09:20]Malloc new data [17:09:20]SetTLVBufToDocument err=0 [17:09:20]Processing tag 1007 (03EF) [17:09:20]Load OK [17:09:20]SetTLVBufToDocument [17:09:20]Processing tag 1014 (03F6) [17:09:20]Malloc new data [17:09:20]Processing tag 1015 (03F7) [17:09:20]Malloc new data [17:09:20]SetTLVBufToDocument err=0 [17:09:20]Processing tag 1007 (03EF) [17:09:20]Load OK [17:09:20]SetTLVBufToDocument [17:09:20]Processing tag 1014 (03F6) [17:09:20]Malloc new data [17:09:20]Processing tag 1015 (03F7) [17:09:20]Malloc new data [17:09:20]SetTLVBufToDocument err=0 [17:09:20]Processing tag 1007 (03EF) [17:09:20]Load OK [17:09:20]SetTLVBufToDocument [17:09:20]Processing tag 1014 (03F6) [17:09:20]Malloc new data [17:09:20]Processing tag 1015 (03F7) [17:09:20]Malloc new data [17:09:20]SetTLVBufToDocument err=0 [17:09:20]Processing tag 1007 (03EF) [17:09:20]Load OK [17:09:20]SetTLVBufToDocument [17:09:20]Processing tag 1014 (03F6) [17:09:20]Malloc new data [17:09:20]Processing tag 1015 (03F7) [17:09:20]Malloc new data [17:09:20]SetTLVBufToDocument err=0 [17:09:20]Processing tag 1007 (03EF) [17:09:20]Load OK [17:09:20]SetTLVBufToDocument [17:09:20]Processing tag 1014 (03F6) [17:09:20]Malloc new data [17:09:20]Processing tag 1015 (03F7) [17:09:20]Malloc new data [17:09:20]SetTLVBufToDocument err=0 [17:09:20]SetTLVBufToDocument err=0 [17:09:20]SetTLVBufToDocument err=0 [17:09:20]Processing tag 1130 (046A) [17:09:20]Load OK [17:09:20]SetTLVBufToDocument [17:09:20]Processing tag 1135 (046F) [17:09:20]Malloc new data [17:09:20]Processing tag 1201 (04B1) [17:09:20]Malloc new data [17:09:20]Processing tag 1136 (0470) [17:09:20]Malloc new data [17:09:20]Processing tag 1138 (0472) [17:09:20]Malloc new data [17:09:20]Processing tag 1024 (0400) [17:09:20]Load OK [17:09:20]SetTLVBufToDocument [17:09:20]Processing tag 1006 (03EE) [17:09:20]Load OK [17:09:20]SetTLVBufToDocument [17:09:20]Processing tag 1010 (03F2) [17:09:20]Malloc new data [17:09:20]Processing tag 1011 (03F3) [17:09:20]Malloc new data [17:09:20]SetTLVBufToDocument err=0 [17:09:20]Processing tag 1006 (03EE) [17:09:20]Load OK [17:09:20]SetTLVBufToDocument [17:09:20]Processing tag 1010 (03F2) [17:09:20]Malloc new data [17:09:20]Processing tag 1011 (03F3) [17:09:20]Malloc new data [17:09:20]SetTLVBufToDocument err=0 [17:09:20]Processing tag 1007 (03EF) [17:09:20]Load OK [17:09:20]SetTLVBufToDocument [17:09:20]Processing tag 1014 (03F6) [17:09:20]Malloc new data [17:09:20]Processing tag 1015 (03F7) [17:09:20]Malloc new data [17:09:20]SetTLVBufToDocument err=0 [17:09:20]Processing tag 1007 (03EF) [17:09:20]Load OK [17:09:20]SetTLVBufToDocument [17:09:20]Processing tag 1014 (03F6) [17:09:20]Malloc new data [17:09:20]Processing tag 1015 (03F7) [17:09:20]Malloc new data [17:09:20]SetTLVBufToDocument err=0 [17:09:20]Processing tag 1007 (03EF) [17:09:20]Load OK [17:09:20]SetTLVBufToDocument [17:09:20]Processing tag 1014 (03F6) [17:09:20]Malloc new data [17:09:20]Processing tag 1015 (03F7) [17:09:20]Malloc new data [17:09:20]SetTLVBufToDocument err=0 [17:09:20]Processing tag 1007 (03EF) [17:09:20]Load OK [17:09:20]SetTLVBufToDocument [17:09:20]Processing tag 1014 (03F6) [17:09:20]Malloc new data [17:09:20]Processing tag 1015 (03F7) [17:09:20]Malloc new data [17:09:20]SetTLVBufToDocument err=0 [17:09:20]Processing tag 1007 (03EF) [17:09:20]Load OK [17:09:20]SetTLVBufToDocument [17:09:20]Processing tag 1014 (03F6) [17:09:20]Malloc new data [17:09:20]Processing tag 1015 (03F7) [17:09:20]Malloc new data [17:09:20]SetTLVBufToDocument err=0 [17:09:20]Processing tag 1007 (03EF) [17:09:20]Load OK [17:09:20]SetTLVBufToDocument [17:09:20]Processing tag 1014 (03F6) [17:09:20]Malloc new data [17:09:20]Processing tag 1015 (03F7) [17:09:20]Malloc new data [17:09:20]SetTLVBufToDocument err=0 [17:09:20]Processing tag 1007 (03EF) [17:09:20]Load OK [17:09:20]SetTLVBufToDocument [17:09:20]Processing tag 1014 (03F6) [17:09:20]Malloc new data [17:09:20]Processing tag 1015 (03F7) [17:09:20]Malloc new data [17:09:20]SetTLVBufToDocument err=0 [17:09:20]SetTLVBufToDocument err=0 [17:09:20]SetTLVBufToDocument err=0 [17:09:20]Processing tag 1131 (046B) [17:09:20]Load OK [17:09:20]SetTLVBufToDocument [17:09:20]Processing tag 1135 (046F) [17:09:20]Malloc new data [17:09:20]Processing tag 1201 (04B1) [17:09:20]Malloc new data [17:09:20]Processing tag 1136 (0470) [17:09:20]Malloc new data [17:09:20]Processing tag 1138 (0472) [17:09:20]Malloc new data [17:09:20]Processing tag 1024 (0400) [17:09:20]Load OK [17:09:20]SetTLVBufToDocument [17:09:20]Processing tag 1006 (03EE) [17:09:20]Load OK [17:09:20]SetTLVBufToDocument [17:09:20]Processing tag 1010 (03F2) [17:09:20]Malloc new data [17:09:20]Processing tag 1011 (03F3) [17:09:20]Malloc new data [17:09:20]SetTLVBufToDocument err=0 [17:09:20]Processing tag 1006 (03EE) [17:09:20]Load OK [17:09:20]SetTLVBufToDocument [17:09:20]Processing tag 1010 (03F2) [17:09:20]Malloc new data [17:09:20]Processing tag 1011 (03F3) [17:09:20]Malloc new data [17:09:20]SetTLVBufToDocument err=0 [17:09:20]Processing tag 1007 (03EF) [17:09:20]Load OK [17:09:20]SetTLVBufToDocument [17:09:20]Processing tag 1014 (03F6) [17:09:20]Malloc new data [17:09:20]Processing tag 1015 (03F7) [17:09:20]Malloc new data [17:09:20]SetTLVBufToDocument err=0 [17:09:20]Processing tag 1007 (03EF) [17:09:20]Load OK [17:09:20]SetTLVBufToDocument [17:09:20]Processing tag 1014 (03F6) [17:09:20]Malloc new data [17:09:20]Processing tag 1015 (03F7) [17:09:20]Malloc new data [17:09:20]SetTLVBufToDocument err=0 [17:09:20]Processing tag 1007 (03EF) [17:09:20]Load OK [17:09:20]SetTLVBufToDocument [17:09:20]Processing tag 1014 (03F6) [17:09:20]Malloc new data [17:09:20]Processing tag 1015 (03F7) [17:09:20]Malloc new data [17:09:20]SetTLVBufToDocument err=0 [17:09:20]Processing tag 1007 (03EF) [17:09:20]Load OK [17:09:20]SetTLVBufToDocument [17:09:20]Processing tag 1014 (03F6) [17:09:20]Malloc new data [17:09:20]Processing tag 1015 (03F7) [17:09:20]Malloc new data [17:09:20]SetTLVBufToDocument err=0 [17:09:20]Processing tag 1007 (03EF) [17:09:20]Load OK [17:09:20]SetTLVBufToDocument [17:09:20]Processing tag 1014 (03F6) [17:09:20]Malloc new data [17:09:20]Processing tag 1015 (03F7) [17:09:20]Malloc new data [17:09:20]SetTLVBufToDocument err=0 [17:09:20]Processing tag 1007 (03EF) [17:09:20]Load OK [17:09:20]SetTLVBufToDocument [17:09:20]Processing tag 1014 (03F6) [17:09:20]Malloc new data [17:09:20]Processing tag 1015 (03F7) [17:09:20]Malloc new data [17:09:20]SetTLVBufToDocument err=0 [17:09:20]Processing tag 1007 (03EF) [17:09:20]Load OK [17:09:20]SetTLVBufToDocument [17:09:20]Processing tag 1014 (03F6) [17:09:20]Malloc new data [17:09:20]Processing tag 1015 (03F7) [17:09:20]Malloc new data [17:09:20]SetTLVBufToDocument err=0 [17:09:20]SetTLVBufToDocument err=0 [17:09:20]SetTLVBufToDocument err=0 [17:09:20]Processing tag 1132 (046C) [17:09:20]Load OK [17:09:20]SetTLVBufToDocument [17:09:20]Processing tag 1135 (046F) [17:09:20]Malloc new data [17:09:20]Processing tag 1201 (04B1) [17:09:20]Malloc new data [17:09:20]Processing tag 1136 (0470) [17:09:20]Malloc new data [17:09:20]Processing tag 1138 (0472) [17:09:20]Malloc new data [17:09:20]Processing tag 1024 (0400) [17:09:20]Load OK [17:09:20]SetTLVBufToDocument [17:09:20]Processing tag 1006 (03EE) [17:09:20]Load OK [17:09:20]SetTLVBufToDocument [17:09:20]Processing tag 1010 (03F2) [17:09:20]Malloc new data [17:09:20]Processing tag 1011 (03F3) [17:09:20]Malloc new data [17:09:20]SetTLVBufToDocument err=0 [17:09:20]Processing tag 1006 (03EE) [17:09:20]Load OK [17:09:20]SetTLVBufToDocument [17:09:20]Processing tag 1010 (03F2) [17:09:20]Malloc new data [17:09:20]Processing tag 1011 (03F3) [17:09:20]Malloc new data [17:09:20]SetTLVBufToDocument err=0 [17:09:20]Processing tag 1007 (03EF) [17:09:20]Load OK [17:09:20]SetTLVBufToDocument [17:09:20]Processing tag 1014 (03F6) [17:09:20]Malloc new data [17:09:20]Processing tag 1015 (03F7) [17:09:20]Malloc new data [17:09:20]SetTLVBufToDocument err=0 [17:09:20]Processing tag 1007 (03EF) [17:09:20]Load OK [17:09:20]SetTLVBufToDocument [17:09:20]Processing tag 1014 (03F6) [17:09:20]Malloc new data [17:09:20]Processing tag 1015 (03F7) [17:09:20]Malloc new data [17:09:20]SetTLVBufToDocument err=0 [17:09:20]Processing tag 1007 (03EF) [17:09:20]Load OK [17:09:20]SetTLVBufToDocument [17:09:20]Processing tag 1014 (03F6) [17:09:20]Malloc new data [17:09:20]Processing tag 1015 (03F7) [17:09:20]Malloc new data [17:09:20]SetTLVBufToDocument err=0 [17:09:20]Processing tag 1007 (03EF) [17:09:20]Load OK [17:09:20]SetTLVBufToDocument [17:09:20]Processing tag 1014 (03F6) [17:09:20]Malloc new data [17:09:20]Processing tag 1015 (03F7) [17:09:20]Malloc new data [17:09:20]SetTLVBufToDocument err=0 [17:09:20]Processing tag 1007 (03EF) [17:09:20]Load OK [17:09:20]SetTLVBufToDocument [17:09:20]Processing tag 1014 (03F6) [17:09:20]Malloc new data [17:09:20]Processing tag 1015 (03F7) [17:09:20]Malloc new data [17:09:20]SetTLVBufToDocument err=0 [17:09:20]Processing tag 1007 (03EF) [17:09:20]Load OK [17:09:20]SetTLVBufToDocument [17:09:20]Processing tag 1014 (03F6) [17:09:20]Malloc new data [17:09:20]Processing tag 1015 (03F7) [17:09:20]Malloc new data [17:09:20]SetTLVBufToDocument err=0 [17:09:20]Processing tag 1007 (03EF) [17:09:20]Load OK [17:09:20]SetTLVBufToDocument [17:09:20]Processing tag 1014 (03F6) [17:09:20]Malloc new data [17:09:20]Processing tag 1015 (03F7) [17:09:20]Malloc new data [17:09:20]SetTLVBufToDocument err=0 [17:09:20]SetTLVBufToDocument err=0 [17:09:20]SetTLVBufToDocument err=0 [17:09:20]Processing tag 1133 (046D) [17:09:20]Malloc new data [17:09:20]SetTLVBufToDocument err=0 [17:09:20]SetTLVBufToDocument err=0 [17:09:20]Malloc new data [17:09:20]SAM_PROTO_GetFMData [17:09:20]wFMCommunicate request_size=4 [17:09:20]MH_SAM_APDU [17:09:20]CAPDU: 80 13 03 00 [17:09:20]Write to MH i2c: E2 08 00 B6 1F 80 13 03 00 00 00 00 00 54 [17:09:20]OFD Sender: No OFD packet to send [17:09:20]Write i2c OK [17:09:20]MH_I2C_Read... [17:09:21]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [17:09:21]Read from MH i2c: E2 [17:09:21]MH_I2C_Read... [17:09:21]Read from MH i2c: E2 FD 00 [17:09:21]MH_I2C_Read... [17:09:21]Read from MH i2c: E2 FD 00 B6 1F 00 C4 04 85 04 C0 04 6E 04 04 00 B6 84 00 00 69 04 A0 00 6F 04 04 00 C2 83 00 00 B1 04 04 00 70 13 69 51 70 04 04 00 74 00 CD 45 72 04 04 00 FC 12 9C 0B 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 C4 4E A5 08 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 E1 61 B8 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 F4 00 00 00 B1 04 04 00 FC 69 DC 03 70 04 04 00 AC 50 C8 03 72 04 03 00 50 19 14 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 B5 F7 68 EF 03 09 00 90 00 B0 [17:09:21]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 B6 84 00 00 69 04 A0 00 6F 04 04 00 C2 83 00 00 B1 04 04 00 70 13 69 51 70 04 04 00 74 00 CD 45 72 04 04 00 FC 12 9C 0B 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 C4 4E A5 08 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 E1 61 B8 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 F4 00 00 00 B1 04 04 00 FC 69 DC 03 70 04 04 00 AC 50 C8 03 72 04 03 00 50 19 14 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 B5 F7 68 EF 03 09 00 90 00 [17:09:21]wFMCommunicate OK [17:09:21]wFMCommunicate request_size=4 [17:09:21]MH_SAM_APDU [17:09:21]CAPDU: 80 17 00 00 [17:09:21]Write to MH i2c: E2 08 00 B7 1F 80 17 00 00 00 00 00 00 56 [17:09:21]Write i2c OK [17:09:21]MH_I2C_Read... [17:09:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:09:21]Read from MH i2c: E2 [17:09:21]MH_I2C_Read... [17:09:21]Read from MH i2c: E2 FD 00 [17:09:21]MH_I2C_Read... [17:09:21]Read from MH i2c: E2 FD 00 B7 1F 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 38 BF 08 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 0B [17:09:21]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 38 BF 08 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [17:09:22]wFMCommunicate OK [17:09:22]wFMCommunicate request_size=4 [17:09:22]MH_SAM_APDU [17:09:22]CAPDU: 80 17 00 00 [17:09:22]Write to MH i2c: E2 08 00 B8 1F 80 17 00 00 00 00 00 00 57 [17:09:22]Write i2c OK [17:09:22]MH_I2C_Read... [17:09:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:09:22]Read from MH i2c: E2 [17:09:22]MH_I2C_Read... [17:09:22]Read from MH i2c: E2 FD 00 [17:09:22]MH_I2C_Read... [17:09:22]Read from MH i2c: E2 FD 00 B8 1F 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 6C [17:09:22]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [17:09:22]wFMCommunicate OK [17:09:22]wFMCommunicate request_size=4 [17:09:22]MH_SAM_APDU [17:09:22]CAPDU: 80 17 00 00 [17:09:22]Write to MH i2c: E2 08 00 B9 1F 80 17 00 00 00 00 00 00 58 [17:09:22]Write i2c OK [17:09:22]MH_I2C_Read... [17:09:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:09:22]Read from MH i2c: E2 [17:09:22]MH_I2C_Read... [17:09:22]Read from MH i2c: E2 FD 00 [17:09:22]MH_I2C_Read... [17:09:22]Read from MH i2c: E2 FD 00 B9 1F 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 D0 [17:09:22]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [17:09:23]wFMCommunicate OK [17:09:23]wFMCommunicate request_size=4 [17:09:23]MH_SAM_APDU [17:09:23]CAPDU: 80 17 00 00 [17:09:23]Write to MH i2c: E2 08 00 BA 1F 80 17 00 00 00 00 00 00 59 [17:09:23]Write i2c OK [17:09:23]MH_I2C_Read... [17:09:23]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [17:09:23]Read from MH i2c: E2 [17:09:23]MH_I2C_Read... [17:09:23]Read from MH i2c: E2 E1 00 [17:09:23]MH_I2C_Read... [17:09:23]Read from MH i2c: E2 E1 00 BA 1F 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 47 [17:09:23]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [17:09:23]wFMCommunicate OK [17:09:23]SAM_PROTO_GetFMData done [17:09:23]FM_GetFMData:85 04 C0 04 6E 04 04 00 B6 84 00 00 69 04 A0 00 6F 04 04 00 C2 83 00 00 B1 04 04 00 70 13 69 51 70 04 04 00 74 00 CD 45 72 04 04 00 FC 12 9C 0B 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 C4 4E A5 08 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 E1 61 B8 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 F4 00 00 00 B1 04 04 00 FC 69 DC 03 70 04 04 00 AC 50 C8 03 72 04 03 00 50 19 14 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 B5 F7 68 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 38 BF 08 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [17:09:24]oper:6F 04 04 00 C2 83 00 00 B1 04 04 00 70 13 69 51 70 04 04 00 74 00 CD 45 72 04 04 00 FC 12 9C 0B 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 C4 4E A5 08 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 E1 61 B8 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [17:09:24]total:70 13 69 51 [17:09:24]Malloc new data [17:09:24]oper:6F 04 04 00 F4 00 00 00 B1 04 04 00 FC 69 DC 03 70 04 04 00 AC 50 C8 03 72 04 03 00 50 19 14 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 B5 F7 68 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 38 BF 08 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [17:09:24]total:FC 69 DC 03 [17:09:24]Malloc new data [17:09:24]oper:6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [17:09:24]total: [17:09:24]Malloc new data [17:09:24]oper:6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [17:09:24]total: [17:09:24]Malloc new data [17:09:24]KKMPrepareXReportFMData err=0 [17:09:24]Х отчет ИНН: 02508201610067 Кассир: Байбугуева Г. 22.06.2024 17:09 Смена: 266 РНМ: 0000000000092786 ЗНМ: 0300000172 СНО: Общий режим Всего чеков: 54 ИТОГИ ПРИХОД Чеков: 54 Общий итог: 43839.63 Итого наличными: 40123.00 Итого безнал.: 3716.63 НДС 0% : 0.00 НДС 12% : 4655.54 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 387.94 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 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 Нал. в кассе: 40123.00 НС Приход: 13658407.52 НС Возвр.Прихода: 647767.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФМ: 0000000000875095 [17:09:24]StoreToDocumentArchive [17:09:24]MH_GetDate [17:09:24]Write to MH i2c: F0 00 00 BB 1F C9 [17:09:24]Write i2c OK [17:09:24]MH_I2C_Read... [17:09:24]Read from MH i2c: F0 [17:09:24]MH_I2C_Read... [17:09:24]Read from MH i2c: F0 09 00 [17:09:24]MH_I2C_Read... [17:09:24]Read from MH i2c: F0 09 00 BB 1F 00 4A 05 77 66 13 9C 7C 64 8D [17:09:24]shift 266 fd 1719076170 [17:09:24]Create dir for shift 0266 [17:09:24]save to /storage/0266/doc_1719076170 [17:09:24]save last doc name /storage/0266/doc_1719076170 to /storage/kkm_last_doc_name [17:09:24]save OK [17:09:24]Clear old archive folders... [17:09:24]NVStorageSaveData kkm_last_timestamp [17:09:24]File name is /storage/kkm_last_timestamp [17:09:24]Write 4 bytes [17:09:24]NVStorageSaveData done [17:09:24]ExternCall_PrintAddStr [17:09:24]wPrintStart [17:09:24]Write to MH i2c: 01 00 00 BC 1F DB [17:09:24]Write i2c OK [17:09:24]MH_I2C_Read... [17:09:24]Read from MH i2c: 01 [17:09:24]MH_I2C_Read... [17:09:24]Read from MH i2c: 01 07 00 [17:09:24]MH_I2C_Read... [17:09:24]Read from MH i2c: 01 07 00 BC 1F 00 00 00 00 00 FF 0F F0 [17:09:24]RasterBufferAndPrint [17:09:24]line Х отчет [17:09:24]line ИНН: 02508201610067 [17:09:24]line Кассир: Байбугуева Г. [17:09:24]line 22.06.2024 17:09 [17:09:24]line Смена: 266 [17:09:24]line РНМ: 0000000000092786 [17:09:24]line ЗНМ: 0300000172 [17:09:24]line СНО: Общий режим [17:09:24]line Всего чеков: 54 [17:09:24]line ИТОГИ ПРИХОД [17:09:24]line Чеков: 54 [17:09:24]line Общий итог: 43839.63 [17:09:24]line Итого наличными: 40123.00 [17:09:24]line Итого безнал.: 3716.63 [17:09:24]line НДС 0% : 0.00 [17:09:24]line НДС 12% : 4655.54 [17:09:24]line НСП 0% : 0.00 [17:09:24]line НСП 1,50% : 0.00 [17:09:24]line НСП 0,50% : 0.00 [17:09:24]line НСП 5% : 0.00 [17:09:24]line НСП 3% : 0.00 [17:09:24]line НСП 2% : 0.00 [17:09:24]line НСП 1% : 387.94 [17:09:24]line ИТОГИ ВОЗВРАТ ПРИХОДА [17:09:24]line Чеков: 0 [17:09:24]line Общий итог: 0.00 [17:09:24]line Итого наличными: 0.00 [17:09:24]line Итого безнал.: 0.00 [17:09:24]line НДС 0% : 0.00 [17:09:24]line НДС 12% : 0.00 [17:09:24]line НСП 0% : 0.00 [17:09:24]line НСП 1,50% : 0.00 [17:09:24]line НСП 0,50% : 0.00 [17:09:24]line НСП 5% : 0.00 [17:09:24]line НСП 3% : 0.00 [17:09:24]line НСП 2% : 0.00 [17:09:24]line НСП 1% : 0.00 [17:09:24]line ИТОГИ РАСХОД [17:09:24]line Чеков: 0 [17:09:24]line Общий итог: 0.00 [17:09:24]line Итого наличными: 0.00 [17:09:24]line Итого безнал.: 0.00 [17:09:24]line НДС 0% : 0.00 [17:09:24]line НДС 12% : 0.00 [17:09:24]line НСП 0% : 0.00 [17:09:24]line НСП 1,50% : 0.00 [17:09:24]line НСП 0,50% : 0.00 [17:09:24]line НСП 5% : 0.00 [17:09:24]line НСП 3% : 0.00 [17:09:24]line НСП 2% : 0.00 [17:09:24]line НСП 1% : 0.00 [17:09:24]line ИТОГИ ВОЗВРАТ РАСХОДА [17:09:24]line Чеков: 0 [17:09:24]line Общий итог: 0.00 [17:09:24]line Итого наличными: 0.00 [17:09:24]line Итого безнал.: 0.00 [17:09:24]line НДС 0% : 0.00 [17:09:24]line НДС 12% : 0.00 [17:09:24]line НСП 0% : 0.00 [17:09:24]line НСП 1,50% : 0.00 [17:09:24]line НСП 0,50% : 0.00 [17:09:24]line НСП 5% : 0.00 [17:09:24]line НСП 3% : 0.00 [17:09:24]line НСП 2% : 0.00 [17:09:24]line НСП 1% : 0.00 [17:09:24]line Сумма внесений: 0.00 [17:09:24]line Сумма выплат: 0.00 [17:09:24]line Нал. в кассе: 40123.00 [17:09:24]line НС Приход: 13658407.52 [17:09:24]line НС Возвр.Прихода: 647767.00 [17:09:24]line НС Расход: 0.00 [17:09:24]line НС Возвр.Расхода: 0.00 [17:09:24]line ФМ: 0000000000875095 [17:09:24]written 0, free lines is 4095 [17:09:25]Write to MH i2c: 01 00 00 07 20 27 [17:09:25]Write i2c OK [17:09:25]MH_I2C_Read... [17:09:25]Read from MH i2c: 01 [17:09:25]MH_I2C_Read... [17:09:25]Read from MH i2c: 01 07 00 [17:09:25]MH_I2C_Read... [17:09:25]Read from MH i2c: 01 07 00 07 20 00 00 00 00 00 A5 0A DD [17:09:25]RasterBufferAndPrint [17:09:25]line [17:09:25]line [17:09:25]line [17:09:25]line [17:09:25]line [17:09:25]written 0, free lines is 2759 [17:09:25]MH_Cut [17:09:25]Write to MH i2c: D1 01 00 0E 20 01 00 [17:09:25]Write i2c OK [17:09:25]MH_I2C_Read... [17:09:25]Read from MH i2c: D1 [17:09:25]MH_I2C_Read... [17:09:25]Read from MH i2c: D1 01 00 [17:09:25]MH_I2C_Read... [17:09:25]Read from MH i2c: D1 01 00 0E 20 00 FF [17:09:25]Write to MH i2c: 01 00 00 0F 20 2F [17:09:25]Write i2c OK [17:09:25]MH_I2C_Read... [17:09:25]OFD Sender: No OFD packet to send [17:09:26]*** Cut start [17:09:26]*** Partial cut [17:09:26]*** CUTSNS_PIN = 1 [17:09:26]*** CUTSNS_PIN = 0 [17:09:26]*** Brake cut motor [17:09:27]Read from MH i2c: 01 [17:09:27]MH_I2C_Read... [17:09:27]*** Stop cut motor [17:09:27]*** Cut end [17:09:27]Read from MH i2c: 01 07 00 [17:09:27]MH_I2C_Read... [17:09:27]Read from MH i2c: 01 07 00 0F 20 00 00 00 00 00 FF 0F 44 [17:09:27]process_action x_report done [17:09:27]requested_data is exist [17:09:27]produce_requested_data [17:09:27]requested_item fd.num is exist - process it [17:09:27]SAM_PROTO_GetFieldsCounters [17:09:27]wFMCommunicate request_size=4 [17:09:27]MH_SAM_APDU [17:09:27]CAPDU: 80 13 00 00 [17:09:27]Write to MH i2c: E2 08 00 10 20 80 13 00 00 00 00 00 00 AC [17:09:27]Write i2c OK [17:09:27]MH_I2C_Read... [17:09:27]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:09:27]Read from MH i2c: E2 [17:09:27]MH_I2C_Read... [17:09:27]Read from MH i2c: E2 62 00 [17:09:27]MH_I2C_Read... [17:09:27]Read from MH i2c: E2 62 00 10 20 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 44 87 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 36 00 00 00 5E 04 04 00 36 00 00 00 57 04 04 00 37 00 00 00 19 04 04 00 00 00 00 00 90 00 8B [17:09:27]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 44 87 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 36 00 00 00 5E 04 04 00 36 00 00 00 57 04 04 00 37 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:09:27]wFMCommunicate OK [17:09:27]SAM_PROTO_GetFieldsCounters done [17:09:27]requested_item shift.num is exist - process it [17:09:27]requested_item shift.opened is exist - process it [17:09:27]req_shift_opened [17:09:27]FM_GetShiftState [17:09:27]SAM_PROTO_GetShiftState [17:09:27]wFMCommunicate request_size=4 [17:09:27]MH_SAM_APDU [17:09:27]CAPDU: 80 13 01 00 [17:09:27]Write to MH i2c: E2 08 00 11 20 80 13 01 00 00 00 00 00 AE [17:09:27]Write i2c OK [17:09:27]MH_I2C_Read... [17:09:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:09:27]Read from MH i2c: E2 [17:09:27]MH_I2C_Read... [17:09:27]Read from MH i2c: E2 0E 00 [17:09:27]MH_I2C_Read... [17:09:27]Read from MH i2c: E2 0E 00 11 20 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 68 [17:09:27]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [17:09:27]wFMCommunicate OK [17:09:27]SAM_PROTO_GetShiftState done [17:09:27]FM_GetShiftState done [17:09:27]req_shift_opened done [17:09:27]requested_item shift.open_date is exist - process it [17:09:27]req_shift_open_date [17:09:27]req_shift_open_date done [17:09:27]produce_requested_data done [17:09:27]produce_requested_data return {"fd.num":34628,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120} [17:09:27]process_action_free x_report [17:09:27]json_value_free [17:09:27]json_value_free done [17:09:27]process_json_proto returns [17:09:27]Send response to host [17:09:27]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":34628,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120}}} [17:09:27]free response buf [17:09:27]execute_script done [17:09:27]execute_script returns [17:09:27]free content buf [17:09:27]Sock 9.Close socket [17:09:27]Sock 9.Thread stoped [17:09:30]OFD Sender: No OFD packet to send [17:09:35]OFD Sender: No OFD packet to send [17:09:40]OFD Sender: No OFD packet to send [17:09:45]OFD Sender: No OFD packet to send [17:09:50]OFD Sender: No OFD packet to send [17:09:55]OFD Sender: No OFD packet to send [17:10:00]accept exits with 7 [17:10:00]New connection [17:10:00]New thread 3067473252 created [17:10:00]Thread 3067616612 joined [17:10:00]Waiting for new connection... [17:10:00] Sock 7.Parse request [17:10:00]Sock 7.Check first char [17:10:00]Sock 7.First char is OK [17:10:00]request: POST /json_proto HTTP/1.0 [17:10:00]Method: POST [17:10:00]URL: /json_proto [17:10:00]Method is POST - this is cgi request [17:10:00]url: /json_proto [17:10:00]query_string will be loaded in cgi processing [17:10:00]execute_cgi json_proto POST (null) [17:10:00]execute_cgi path=json_proto method=POST [17:10:00]POST find Content-Length [17:10:00]Host: 172.17.38.134:8080 [17:10:00]Content-Length: 215 [17:10:00]Content-Type: application/json [17:10:00] [17:10:00]POST finish read [17:10:00]Found Content-Length = 215 [17:10:00]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:10:00]execute_script... [17:10:00]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:10:00]POST & json_proto [17:10:00]process_json_proto [17:10:00]json parsed OK: [17:10:00]protocol is kg_v1.0 [17:10:00]action value=get_value [17:10:00]process_action get_value [17:10:00]cmd_get_value [17:10:00]process_action get_value done [17:10:00]requested_data is exist [17:10:00]produce_requested_data [17:10:00]requested_item kkm.sn is exist - process it [17:10:00]requested_item kkm.ver is exist - process it [17:10:00]requested_item fm.sn is exist - process it [17:10:00]wFMCommunicate request_size=4 [17:10:00]MH_SAM_APDU [17:10:00]CAPDU: 80 11 00 00 [17:10:00]Write to MH i2c: E2 08 00 12 20 80 11 00 00 00 00 00 00 AC [17:10:00]Write i2c OK [17:10:00]MH_I2C_Read... [17:10:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:10:00]Read from MH i2c: E2 [17:10:00]MH_I2C_Read... [17:10:00]Read from MH i2c: E2 17 00 [17:10:00]MH_I2C_Read... [17:10:00]Read from MH i2c: E2 17 00 12 20 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 01 [17:10:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [17:10:00]wFMCommunicate OK [17:10:00]requested_item fd.num is exist - process it [17:10:00]SAM_PROTO_GetFieldsCounters [17:10:00]wFMCommunicate request_size=4 [17:10:00]MH_SAM_APDU [17:10:00]CAPDU: 80 13 00 00 [17:10:00]Write to MH i2c: E2 08 00 13 20 80 13 00 00 00 00 00 00 AF [17:10:00]Write i2c OK [17:10:00]MH_I2C_Read... [17:10:00]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:10:00]Read from MH i2c: E2 [17:10:00]MH_I2C_Read... [17:10:00]Read from MH i2c: E2 62 00 [17:10:00]MH_I2C_Read... [17:10:00]Read from MH i2c: E2 62 00 13 20 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 44 87 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 36 00 00 00 5E 04 04 00 36 00 00 00 57 04 04 00 37 00 00 00 19 04 04 00 00 00 00 00 90 00 8E [17:10:00]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 44 87 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 36 00 00 00 5E 04 04 00 36 00 00 00 57 04 04 00 37 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:10:00]wFMCommunicate OK [17:10:00]SAM_PROTO_GetFieldsCounters done [17:10:00]requested_item shift.num is exist - process it [17:10:00]requested_item shift.opened is exist - process it [17:10:00]req_shift_opened [17:10:00]FM_GetShiftState [17:10:00]SAM_PROTO_GetShiftState [17:10:00]wFMCommunicate request_size=4 [17:10:00]MH_SAM_APDU [17:10:00]CAPDU: 80 13 01 00 [17:10:00]Write to MH i2c: E2 08 00 14 20 80 13 01 00 00 00 00 00 B1 [17:10:00]Write i2c OK [17:10:00]MH_I2C_Read... [17:10:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:10:00]Read from MH i2c: E2 [17:10:00]MH_I2C_Read... [17:10:00]Read from MH i2c: E2 0E 00 [17:10:00]MH_I2C_Read... [17:10:00]Read from MH i2c: E2 0E 00 14 20 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 6B [17:10:00]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [17:10:00]wFMCommunicate OK [17:10:00]SAM_PROTO_GetShiftState done [17:10:00]FM_GetShiftState done [17:10:00]req_shift_opened done [17:10:00]requested_item shift.open_date is exist - process it [17:10:00]req_shift_open_date [17:10:00]req_shift_open_date done [17:10:00]produce_requested_data done [17:10:00]produce_requested_data return {"kkm.sn":"0300000172","kkm.ver":"001","fm.sn":"0000000000875095","fd.num":34628,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120} [17:10:00]process_action_free get_value [17:10:00]json_value_free [17:10:00]json_value_free done [17:10:00]process_json_proto returns [17:10:00]Send response to host [17:10:00]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000172","kkm.ver":"001","fm.sn":"0000000000875095","fd.num":34628,"shift.num":327,"shift.opened":1,"shift.open_date":1719016120}}} [17:10:00]free response buf [17:10:00]execute_script done [17:10:00]execute_script returns [17:10:00]free content buf [17:10:00]Sock 7.Close socket [17:10:00]Sock 7.Thread stoped [17:10:00]accept exits with 9 [17:10:00]New connection [17:10:00]New thread 3067616612 created [17:10:00]Thread 3067473252 joined [17:10:00]Waiting for new connection... [17:10:00] Sock 9.Parse request [17:10:00]Sock 9.Check first char [17:10:00]Sock 9.First char is OK [17:10:00]request: POST /json_proto HTTP/1.0 [17:10:00]Method: POST [17:10:00]URL: /json_proto [17:10:00]Method is POST - this is cgi request [17:10:00]url: /json_proto [17:10:00]query_string will be loaded in cgi processing [17:10:00]execute_cgi json_proto POST (null) [17:10:00]execute_cgi path=json_proto method=POST [17:10:00]POST find Content-Length [17:10:00]Host: 172.17.38.134:8080 [17:10:00]Content-Length: 331 [17:10:00]Content-Type: application/json [17:10:00] [17:10:00]POST finish read [17:10:00]Found Content-Length = 331 [17:10:00]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [17:10:00]execute_script... [17:10:00]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [17:10:00]POST & json_proto [17:10:00]process_json_proto [17:10:00]json parsed OK: [17:10:00]protocol is kg_v1.0 [17:10:00]action value=get_value [17:10:00]process_action get_value [17:10:00]cmd_get_value [17:10:00]process_action get_value done [17:10:00]requested_data is exist [17:10:00]produce_requested_data [17:10:00]requested_item fm.sale.total is exist - process it [17:10:00]SAM_PROTO_GetFMData [17:10:00]wFMCommunicate request_size=4 [17:10:00]MH_SAM_APDU [17:10:00]CAPDU: 80 13 03 00 [17:10:00]Write to MH i2c: E2 08 00 15 20 80 13 03 00 00 00 00 00 B4 [17:10:00]Write i2c OK [17:10:00]MH_I2C_Read... [17:10:00]OFD Sender: No OFD packet to send [17:10:01]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [17:10:01]Read from MH i2c: E2 [17:10:01]MH_I2C_Read... [17:10:01]Read from MH i2c: E2 FD 00 [17:10:01]MH_I2C_Read... [17:10:01]Read from MH i2c: E2 FD 00 15 20 00 C4 04 85 04 C0 04 6E 04 04 00 B6 84 00 00 69 04 A0 00 6F 04 04 00 C2 83 00 00 B1 04 04 00 70 13 69 51 70 04 04 00 74 00 CD 45 72 04 04 00 FC 12 9C 0B 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 C4 4E A5 08 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 E1 61 B8 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 F4 00 00 00 B1 04 04 00 FC 69 DC 03 70 04 04 00 AC 50 C8 03 72 04 03 00 50 19 14 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 B5 F7 68 EF 03 09 00 90 00 10 [17:10:01]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 B6 84 00 00 69 04 A0 00 6F 04 04 00 C2 83 00 00 B1 04 04 00 70 13 69 51 70 04 04 00 74 00 CD 45 72 04 04 00 FC 12 9C 0B 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 C4 4E A5 08 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 E1 61 B8 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 F4 00 00 00 B1 04 04 00 FC 69 DC 03 70 04 04 00 AC 50 C8 03 72 04 03 00 50 19 14 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 B5 F7 68 EF 03 09 00 90 00 [17:10:01]wFMCommunicate OK [17:10:01]wFMCommunicate request_size=4 [17:10:01]MH_SAM_APDU [17:10:01]CAPDU: 80 17 00 00 [17:10:01]Write to MH i2c: E2 08 00 16 20 80 17 00 00 00 00 00 00 B6 [17:10:01]Write i2c OK [17:10:01]MH_I2C_Read... [17:10:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:10:01]Read from MH i2c: E2 [17:10:01]MH_I2C_Read... [17:10:01]Read from MH i2c: E2 FD 00 [17:10:01]MH_I2C_Read... [17:10:01]Read from MH i2c: E2 FD 00 16 20 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 38 BF 08 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 6B [17:10:01]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 38 BF 08 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [17:10:01]wFMCommunicate OK [17:10:01]wFMCommunicate request_size=4 [17:10:01]MH_SAM_APDU [17:10:01]CAPDU: 80 17 00 00 [17:10:01]Write to MH i2c: E2 08 00 17 20 80 17 00 00 00 00 00 00 B7 [17:10:01]Write i2c OK [17:10:01]MH_I2C_Read... [17:10:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:10:01]Read from MH i2c: E2 [17:10:01]MH_I2C_Read... [17:10:01]Read from MH i2c: E2 FD 00 [17:10:01]MH_I2C_Read... [17:10:01]Read from MH i2c: E2 FD 00 17 20 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 CC [17:10:01]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [17:10:01]wFMCommunicate OK [17:10:01]wFMCommunicate request_size=4 [17:10:01]MH_SAM_APDU [17:10:01]CAPDU: 80 17 00 00 [17:10:01]Write to MH i2c: E2 08 00 18 20 80 17 00 00 00 00 00 00 B8 [17:10:01]Write i2c OK [17:10:01]MH_I2C_Read... [17:10:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:10:02]Read from MH i2c: E2 [17:10:02]MH_I2C_Read... [17:10:02]Read from MH i2c: E2 FD 00 [17:10:02]MH_I2C_Read... [17:10:02]Read from MH i2c: E2 FD 00 18 20 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 30 [17:10:02]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [17:10:02]wFMCommunicate OK [17:10:02]wFMCommunicate request_size=4 [17:10:02]MH_SAM_APDU [17:10:02]CAPDU: 80 17 00 00 [17:10:02]Write to MH i2c: E2 08 00 19 20 80 17 00 00 00 00 00 00 B9 [17:10:02]Write i2c OK [17:10:02]MH_I2C_Read... [17:10:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [17:10:02]Read from MH i2c: E2 [17:10:02]MH_I2C_Read... [17:10:02]Read from MH i2c: E2 E1 00 [17:10:02]MH_I2C_Read... [17:10:02]Read from MH i2c: E2 E1 00 19 20 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 A7 [17:10:02]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [17:10:02]wFMCommunicate OK [17:10:02]SAM_PROTO_GetFMData done [17:10:02]requested_item fm.sale_refund.total is exist - process it [17:10:02]requested_item fm.buy.total is exist - process it [17:10:02]requested_item shift.sale.total is exist - process it [17:10:02]SAM_PROTO_GetShiftData [17:10:02]wFMCommunicate request_size=4 [17:10:02]MH_SAM_APDU [17:10:02]CAPDU: 80 13 02 00 [17:10:02]Write to MH i2c: E2 08 00 1A 20 80 13 02 00 00 00 00 00 B8 [17:10:02]Write i2c OK [17:10:02]MH_I2C_Read... [17:10:02]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [17:10:02]Read from MH i2c: E2 [17:10:02]MH_I2C_Read... [17:10:02]Read from MH i2c: E2 FD 00 [17:10:02]MH_I2C_Read... [17:10:02]Read from MH i2c: E2 FD 00 1A 20 00 AE 04 AA 04 AA 04 6E 04 04 00 36 00 00 00 69 04 9B 00 6F 04 04 00 36 00 00 00 B1 04 03 00 DB E4 42 70 04 03 00 0C 39 3D 72 04 03 00 CF AB 05 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 92 1A 07 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 8A 97 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 BB [17:10:02]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 36 00 00 00 69 04 9B 00 6F 04 04 00 36 00 00 00 B1 04 03 00 DB E4 42 70 04 03 00 0C 39 3D 72 04 03 00 CF AB 05 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 92 1A 07 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 8A 97 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [17:10:02]wFMCommunicate OK [17:10:02]wFMCommunicate request_size=4 [17:10:02]MH_SAM_APDU [17:10:02]CAPDU: 80 17 00 00 [17:10:02]Write to MH i2c: E2 08 00 1B 20 80 17 00 00 00 00 00 00 BB [17:10:02]Write i2c OK [17:10:02]MH_I2C_Read... [17:10:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:10:03]Read from MH i2c: E2 [17:10:03]MH_I2C_Read... [17:10:03]Read from MH i2c: E2 FD 00 [17:10:03]MH_I2C_Read... [17:10:03]Read from MH i2c: E2 FD 00 1B 20 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 DD [17:10:03]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 [17:10:03]wFMCommunicate OK [17:10:03]wFMCommunicate request_size=4 [17:10:03]MH_SAM_APDU [17:10:03]CAPDU: 80 17 00 00 [17:10:03]Write to MH i2c: E2 08 00 1C 20 80 17 00 00 00 00 00 00 BC [17:10:03]Write i2c OK [17:10:03]MH_I2C_Read... [17:10:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:10:03]Read from MH i2c: E2 [17:10:03]MH_I2C_Read... [17:10:03]Read from MH i2c: E2 FD 00 [17:10:03]MH_I2C_Read... [17:10:03]Read from MH i2c: E2 FD 00 1C 20 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 73 [17:10:03]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [17:10:03]wFMCommunicate OK [17:10:03]wFMCommunicate request_size=4 [17:10:03]MH_SAM_APDU [17:10:03]CAPDU: 80 17 00 00 [17:10:03]Write to MH i2c: E2 08 00 1D 20 80 17 00 00 00 00 00 00 BD [17:10:03]Write i2c OK [17:10:03]MH_I2C_Read... [17:10:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:10:03]Read from MH i2c: E2 [17:10:03]MH_I2C_Read... [17:10:03]Read from MH i2c: E2 FD 00 [17:10:03]MH_I2C_Read... [17:10:03]Read from MH i2c: E2 FD 00 1D 20 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 2F [17:10:03]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [17:10:03]wFMCommunicate OK [17:10:03]wFMCommunicate request_size=4 [17:10:03]MH_SAM_APDU [17:10:03]CAPDU: 80 17 00 00 [17:10:03]Write to MH i2c: E2 08 00 1E 20 80 17 00 00 00 00 00 00 BE [17:10:03]Write i2c OK [17:10:03]MH_I2C_Read... [17:10:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [17:10:04]Read from MH i2c: E2 [17:10:04]MH_I2C_Read... [17:10:04]Read from MH i2c: E2 CB 00 [17:10:04]MH_I2C_Read... [17:10:04]Read from MH i2c: E2 CB 00 1E 20 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 A7 [17:10:04]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [17:10:04]wFMCommunicate OK [17:10:04]SAM_PROTO_GetShiftData done [17:10:04]requested_item shift.sale.total_cash is exist - process it [17:10:04]requested_item shift.sale_refund.total is exist - process it [17:10:04]requested_item shift.sale_refund.total_cash is exist - process it [17:10:04]requested_item shift.buy.total is exist - process it [17:10:04]requested_item shift.buy.total_cash is exist - process it [17:10:04]produce_requested_data done [17:10:04]produce_requested_data return {"fm.sale.total":13658407.52,"fm.sale_refund.total":647767.00,"fm.buy.total":0.00,"shift.sale.total":43839.63,"shift.sale.total_cash":40123.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [17:10:04]process_action_free get_value [17:10:04]json_value_free [17:10:04]json_value_free done [17:10:04]process_json_proto returns [17:10:04]Send response to host [17:10:04]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":13658407.52,"fm.sale_refund.total":647767.00,"fm.buy.total":0.00,"shift.sale.total":43839.63,"shift.sale.total_cash":40123.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [17:10:04]free response buf [17:10:04]execute_script done [17:10:04]execute_script returns [17:10:04]free content buf [17:10:04]Sock 9.Close socket [17:10:04]Sock 9.Thread stoped [17:10:04]accept exits with 7 [17:10:04]New connection [17:10:04]New thread 3067473252 created [17:10:04]Thread 3067616612 joined [17:10:04]Waiting for new connection... [17:10:04] Sock 7.Parse request [17:10:04]Sock 7.Check first char [17:10:04]Sock 7.First char is OK [17:10:04]request: POST /json_proto HTTP/1.0 [17:10:04]Method: POST [17:10:04]URL: /json_proto [17:10:04]Method is POST - this is cgi request [17:10:04]url: /json_proto [17:10:04]query_string will be loaded in cgi processing [17:10:04]execute_cgi json_proto POST (null) [17:10:04]execute_cgi path=json_proto method=POST [17:10:04]POST find Content-Length [17:10:04]Host: 172.17.38.134:8080 [17:10:04]Content-Length: 331 [17:10:04]Content-Type: application/json [17:10:04] [17:10:04]POST finish read [17:10:04]Found Content-Length = 331 [17:10:04]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [17:10:04]execute_script... [17:10:04]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [17:10:04]POST & json_proto [17:10:04]process_json_proto [17:10:04]json parsed OK: [17:10:04]protocol is kg_v1.0 [17:10:04]action value=get_value [17:10:04]process_action get_value [17:10:04]cmd_get_value [17:10:04]process_action get_value done [17:10:04]requested_data is exist [17:10:04]produce_requested_data [17:10:04]requested_item fm.sale.total is exist - process it [17:10:04]SAM_PROTO_GetFMData [17:10:04]wFMCommunicate request_size=4 [17:10:04]MH_SAM_APDU [17:10:04]CAPDU: 80 13 03 00 [17:10:04]Write to MH i2c: E2 08 00 1F 20 80 13 03 00 00 00 00 00 BE [17:10:04]Write i2c OK [17:10:04]MH_I2C_Read... [17:10:04]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [17:10:04]Read from MH i2c: E2 [17:10:04]MH_I2C_Read... [17:10:04]Read from MH i2c: E2 FD 00 [17:10:04]MH_I2C_Read... [17:10:04]Read from MH i2c: E2 FD 00 1F 20 00 C4 04 85 04 C0 04 6E 04 04 00 B6 84 00 00 69 04 A0 00 6F 04 04 00 C2 83 00 00 B1 04 04 00 70 13 69 51 70 04 04 00 74 00 CD 45 72 04 04 00 FC 12 9C 0B 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 C4 4E A5 08 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 E1 61 B8 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 F4 00 00 00 B1 04 04 00 FC 69 DC 03 70 04 04 00 AC 50 C8 03 72 04 03 00 50 19 14 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 B5 F7 68 EF 03 09 00 90 00 1A [17:10:04]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 B6 84 00 00 69 04 A0 00 6F 04 04 00 C2 83 00 00 B1 04 04 00 70 13 69 51 70 04 04 00 74 00 CD 45 72 04 04 00 FC 12 9C 0B 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 C4 4E A5 08 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 E1 61 B8 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 F4 00 00 00 B1 04 04 00 FC 69 DC 03 70 04 04 00 AC 50 C8 03 72 04 03 00 50 19 14 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 B5 F7 68 EF 03 09 00 90 00 [17:10:05]wFMCommunicate OK [17:10:05]wFMCommunicate request_size=4 [17:10:05]MH_SAM_APDU [17:10:05]CAPDU: 80 17 00 00 [17:10:05]Write to MH i2c: E2 08 00 20 20 80 17 00 00 00 00 00 00 C0 [17:10:05]Write i2c OK [17:10:05]MH_I2C_Read... [17:10:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:10:05]Read from MH i2c: E2 [17:10:05]MH_I2C_Read... [17:10:05]Read from MH i2c: E2 FD 00 [17:10:05]MH_I2C_Read... [17:10:05]Read from MH i2c: E2 FD 00 20 20 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 38 BF 08 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 75 [17:10:05]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 38 BF 08 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [17:10:05]wFMCommunicate OK [17:10:05]wFMCommunicate request_size=4 [17:10:05]MH_SAM_APDU [17:10:05]CAPDU: 80 17 00 00 [17:10:05]Write to MH i2c: E2 08 00 21 20 80 17 00 00 00 00 00 00 C1 [17:10:05]Write i2c OK [17:10:05]MH_I2C_Read... [17:10:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:10:05]Read from MH i2c: E2 [17:10:05]MH_I2C_Read... [17:10:05]Read from MH i2c: E2 FD 00 [17:10:05]MH_I2C_Read... [17:10:05]Read from MH i2c: E2 FD 00 21 20 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 D6 [17:10:05]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [17:10:05]wFMCommunicate OK [17:10:05]wFMCommunicate request_size=4 [17:10:05]MH_SAM_APDU [17:10:05]CAPDU: 80 17 00 00 [17:10:05]Write to MH i2c: E2 08 00 22 20 80 17 00 00 00 00 00 00 C2 [17:10:05]Write i2c OK [17:10:05]MH_I2C_Read... [17:10:05]OFD Sender: No OFD packet to send [17:10:06]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:10:06]Read from MH i2c: E2 [17:10:06]MH_I2C_Read... [17:10:06]Read from MH i2c: E2 FD 00 [17:10:06]MH_I2C_Read... [17:10:06]Read from MH i2c: E2 FD 00 22 20 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 3A [17:10:06]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [17:10:06]wFMCommunicate OK [17:10:06]wFMCommunicate request_size=4 [17:10:06]MH_SAM_APDU [17:10:06]CAPDU: 80 17 00 00 [17:10:06]Write to MH i2c: E2 08 00 23 20 80 17 00 00 00 00 00 00 C3 [17:10:06]Write i2c OK [17:10:06]MH_I2C_Read... [17:10:06]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [17:10:06]Read from MH i2c: E2 [17:10:06]MH_I2C_Read... [17:10:06]Read from MH i2c: E2 E1 00 [17:10:06]MH_I2C_Read... [17:10:06]Read from MH i2c: E2 E1 00 23 20 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 B1 [17:10:06]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [17:10:06]wFMCommunicate OK [17:10:06]SAM_PROTO_GetFMData done [17:10:06]requested_item fm.sale_refund.total is exist - process it [17:10:06]requested_item fm.buy.total is exist - process it [17:10:06]requested_item shift.sale.total is exist - process it [17:10:06]SAM_PROTO_GetShiftData [17:10:06]wFMCommunicate request_size=4 [17:10:06]MH_SAM_APDU [17:10:06]CAPDU: 80 13 02 00 [17:10:06]Write to MH i2c: E2 08 00 24 20 80 13 02 00 00 00 00 00 C2 [17:10:06]Write i2c OK [17:10:06]MH_I2C_Read... [17:10:07]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [17:10:07]Read from MH i2c: E2 [17:10:07]MH_I2C_Read... [17:10:07]Read from MH i2c: E2 FD 00 [17:10:07]MH_I2C_Read... [17:10:07]Read from MH i2c: E2 FD 00 24 20 00 AE 04 AA 04 AA 04 6E 04 04 00 36 00 00 00 69 04 9B 00 6F 04 04 00 36 00 00 00 B1 04 03 00 DB E4 42 70 04 03 00 0C 39 3D 72 04 03 00 CF AB 05 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 92 1A 07 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 8A 97 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 C5 [17:10:07]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 36 00 00 00 69 04 9B 00 6F 04 04 00 36 00 00 00 B1 04 03 00 DB E4 42 70 04 03 00 0C 39 3D 72 04 03 00 CF AB 05 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 92 1A 07 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 8A 97 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [17:10:07]wFMCommunicate OK [17:10:07]wFMCommunicate request_size=4 [17:10:07]MH_SAM_APDU [17:10:07]CAPDU: 80 17 00 00 [17:10:07]Write to MH i2c: E2 08 00 25 20 80 17 00 00 00 00 00 00 C5 [17:10:07]Write i2c OK [17:10:07]MH_I2C_Read... [17:10:07]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:10:07]Read from MH i2c: E2 [17:10:07]MH_I2C_Read... [17:10:07]Read from MH i2c: E2 FD 00 [17:10:07]MH_I2C_Read... [17:10:07]Read from MH i2c: E2 FD 00 25 20 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 E7 [17:10:07]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 [17:10:07]wFMCommunicate OK [17:10:07]wFMCommunicate request_size=4 [17:10:07]MH_SAM_APDU [17:10:07]CAPDU: 80 17 00 00 [17:10:07]Write to MH i2c: E2 08 00 26 20 80 17 00 00 00 00 00 00 C6 [17:10:07]Write i2c OK [17:10:07]MH_I2C_Read... [17:10:07]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:10:08]Read from MH i2c: E2 [17:10:08]MH_I2C_Read... [17:10:08]Read from MH i2c: E2 FD 00 [17:10:08]MH_I2C_Read... [17:10:08]Read from MH i2c: E2 FD 00 26 20 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 7D [17:10:08]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 [17:10:08]wFMCommunicate OK [17:10:08]wFMCommunicate request_size=4 [17:10:08]MH_SAM_APDU [17:10:08]CAPDU: 80 17 00 00 [17:10:08]Write to MH i2c: E2 08 00 27 20 80 17 00 00 00 00 00 00 C7 [17:10:08]Write i2c OK [17:10:08]MH_I2C_Read... [17:10:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:10:08]Read from MH i2c: E2 [17:10:08]MH_I2C_Read... [17:10:08]Read from MH i2c: E2 FD 00 [17:10:08]MH_I2C_Read... [17:10:08]Read from MH i2c: E2 FD 00 27 20 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 39 [17:10:08]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 [17:10:08]wFMCommunicate OK [17:10:08]wFMCommunicate request_size=4 [17:10:08]MH_SAM_APDU [17:10:08]CAPDU: 80 17 00 00 [17:10:08]Write to MH i2c: E2 08 00 28 20 80 17 00 00 00 00 00 00 C8 [17:10:08]Write i2c OK [17:10:08]MH_I2C_Read... [17:10:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [17:10:08]Read from MH i2c: E2 [17:10:08]MH_I2C_Read... [17:10:08]Read from MH i2c: E2 CB 00 [17:10:08]MH_I2C_Read... [17:10:08]Read from MH i2c: E2 CB 00 28 20 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 B1 [17:10:09]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [17:10:09]wFMCommunicate OK [17:10:09]SAM_PROTO_GetShiftData done [17:10:09]requested_item shift.sale.total_cash is exist - process it [17:10:09]requested_item shift.sale_refund.total is exist - process it [17:10:09]requested_item shift.sale_refund.total_cash is exist - process it [17:10:09]requested_item shift.buy.total is exist - process it [17:10:09]requested_item shift.buy.total_cash is exist - process it [17:10:09]produce_requested_data done [17:10:09]produce_requested_data return {"fm.sale.total":13658407.52,"fm.sale_refund.total":647767.00,"fm.buy.total":0.00,"shift.sale.total":43839.63,"shift.sale.total_cash":40123.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [17:10:09]process_action_free get_value [17:10:09]json_value_free [17:10:09]json_value_free done [17:10:09]process_json_proto returns [17:10:09]Send response to host [17:10:09]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":13658407.52,"fm.sale_refund.total":647767.00,"fm.buy.total":0.00,"shift.sale.total":43839.63,"shift.sale.total_cash":40123.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [17:10:09]free response buf [17:10:09]execute_script done [17:10:09]execute_script returns [17:10:09]free content buf [17:10:09]Sock 7.Close socket [17:10:09]Sock 7.Thread stoped [17:10:09]accept exits with 9 [17:10:09]New connection [17:10:09]New thread 3067616612 created [17:10:09]Thread 3067473252 joined [17:10:09]Waiting for new connection... [17:10:09] Sock 9.Parse request [17:10:09]Sock 9.Check first char [17:10:09]Sock 9.First char is OK [17:10:09]request: POST /json_proto HTTP/1.0 [17:10:09]Method: POST [17:10:09]URL: /json_proto [17:10:09]Method is POST - this is cgi request [17:10:09]url: /json_proto [17:10:09]query_string will be loaded in cgi processing [17:10:09]execute_cgi json_proto POST (null) [17:10:09]execute_cgi path=json_proto method=POST [17:10:09]POST find Content-Length [17:10:09]Host: 172.17.38.134:8080 [17:10:09]Content-Length: 272 [17:10:09]Content-Type: application/json [17:10:09] [17:10:09]POST finish read [17:10:09]Found Content-Length = 272 [17:10:09]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u0411\u0430\u0439\u0431\u0443\u0433\u0443\u0435\u0432\u0430 \u0413. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:10:09]execute_script... [17:10:09]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u0411\u0430\u0439\u0431\u0443\u0433\u0443\u0435\u0432\u0430 \u0413. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:10:09]POST & json_proto [17:10:09]process_json_proto [17:10:09]json parsed OK: [17:10:09]protocol is kg_v1.0 [17:10:09]action value=close_shift [17:10:09]process_action close_shift [17:10:09]cmd_close_shift [17:10:09]MH_GetDate [17:10:09]Write to MH i2c: F0 00 00 29 20 38 [17:10:09]Write i2c OK [17:10:09]MH_I2C_Read... [17:10:09]Read from MH i2c: F0 [17:10:09]MH_I2C_Read... [17:10:09]Read from MH i2c: F0 09 00 [17:10:09]MH_I2C_Read... [17:10:09]Read from MH i2c: F0 09 00 29 20 00 77 05 77 66 13 9C 7C 64 29 [17:10:09]GetLastDocTimeStamp 1719076163 [17:10:09]current date 1719076215 [17:10:09]FM_GetShiftState [17:10:09]SAM_PROTO_GetShiftState [17:10:09]wFMCommunicate request_size=4 [17:10:09]MH_SAM_APDU [17:10:09]CAPDU: 80 13 01 00 [17:10:09]Write to MH i2c: E2 08 00 2A 20 80 13 01 00 00 00 00 00 C7 [17:10:09]Write i2c OK [17:10:09]MH_I2C_Read... [17:10:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:10:09]Read from MH i2c: E2 [17:10:09]MH_I2C_Read... [17:10:09]Read from MH i2c: E2 0E 00 [17:10:09]MH_I2C_Read... [17:10:09]Read from MH i2c: E2 0E 00 2A 20 00 09 00 01 B8 1A 76 66 00 00 00 00 90 00 81 [17:10:09]RAPDU: 09 00 01 B8 1A 76 66 00 00 00 00 90 00 [17:10:09]wFMCommunicate OK [17:10:09]SAM_PROTO_GetShiftState done [17:10:09]FM_GetShiftState done [17:10:09]KKMCreateCloseShiftDocument [17:10:09]Load OK [17:10:09]Malloc new data [17:10:09]MH_GetDate [17:10:09]Write to MH i2c: F0 00 00 2B 20 3A [17:10:09]Write i2c OK [17:10:09]MH_I2C_Read... [17:10:09]Read from MH i2c: F0 [17:10:09]MH_I2C_Read... [17:10:09]Read from MH i2c: F0 09 00 [17:10:09]MH_I2C_Read... [17:10:09]Read from MH i2c: F0 09 00 2B 20 00 77 05 77 66 13 9C 7C 64 2B [17:10:09]Malloc new data [17:10:09]Malloc new data [17:10:09]Malloc new data [17:10:09]Malloc new data [17:10:09]KKMCreateCloseShiftDocument OK [17:10:09]KKMSetCloseShiftData OK [17:10:09]ProcessDocumentItem done err = 0, tmpTLVsize=75 [17:10:09]tlvbuf is 01647FD0 [17:10:09]KKMLoadAndSignCloseShiftData [17:10:09]SAM_PROTO_ProcessDocument [17:10:09]wFMCommunicate request_size=9 [17:10:09]MH_SAM_APDU [17:10:09]CAPDU: 80 15 01 00 04 05 00 4B 00 [17:10:09]Write to MH i2c: E2 0C 00 2C 20 80 15 01 00 04 00 05 00 4B 00 00 00 23 [17:10:09]Write i2c OK [17:10:09]MH_I2C_Read... [17:10:09]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [17:10:09]Read from MH i2c: E2 [17:10:09]MH_I2C_Read... [17:10:09]Read from MH i2c: E2 03 00 [17:10:09]MH_I2C_Read... [17:10:09]Read from MH i2c: E2 03 00 2C 20 00 90 00 C0 [17:10:09]RAPDU: 90 00 [17:10:09]wFMCommunicate OK [17:10:09]wFMCommunicate request_size=23 [17:10:09]MH_SAM_APDU [17:10:09]CAPDU: 80 15 02 00 12 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 [17:10:09]Write to MH i2c: E2 1A 00 2D 20 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 C2 [17:10:09]Write i2c OK [17:10:09]MH_I2C_Read... [17:10:09]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [17:10:09]Read from MH i2c: E2 [17:10:09]MH_I2C_Read... [17:10:09]Read from MH i2c: E2 03 00 [17:10:09]MH_I2C_Read... [17:10:09]Read from MH i2c: E2 03 00 2D 20 00 90 00 C1 [17:10:09]RAPDU: 90 00 [17:10:09]wFMCommunicate OK [17:10:09]wFMCommunicate request_size=34 [17:10:09]MH_SAM_APDU [17:10:09]CAPDU: 80 15 02 00 1D FD 03 19 00 D0 91 D0 B0 D0 B9 D0 B1 D1 83 D0 B3 D1 83 D0 B5 D0 B2 D0 B0 20 D0 93 2E 20 [17:10:09]Write to MH i2c: E2 25 00 2E 20 80 15 02 00 1D 00 FD 03 19 00 D0 91 D0 B0 D0 B9 D0 B1 D1 83 D0 B3 D1 83 D0 B5 D0 B2 D0 B0 20 D0 93 2E 20 00 00 8F [17:10:09]Write i2c OK [17:10:09]MH_I2C_Read... [17:10:09]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [17:10:09]Read from MH i2c: E2 [17:10:09]MH_I2C_Read... [17:10:09]Read from MH i2c: E2 03 00 [17:10:09]MH_I2C_Read... [17:10:09]Read from MH i2c: E2 03 00 2E 20 00 90 00 C2 [17:10:09]RAPDU: 90 00 [17:10:09]wFMCommunicate OK [17:10:09]wFMCommunicate request_size=13 [17:10:09]MH_SAM_APDU [17:10:09]CAPDU: 80 15 02 00 08 F4 03 04 00 77 05 77 66 [17:10:09]Write to MH i2c: E2 10 00 2F 20 80 15 02 00 08 00 F4 03 04 00 77 05 77 66 00 00 33 [17:10:09]Write i2c OK [17:10:09]MH_I2C_Read... [17:10:09]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [17:10:09]Read from MH i2c: E2 [17:10:09]MH_I2C_Read... [17:10:09]Read from MH i2c: E2 03 00 [17:10:09]MH_I2C_Read... [17:10:09]Read from MH i2c: E2 03 00 2F 20 00 90 00 C3 [17:10:09]RAPDU: 90 00 [17:10:09]wFMCommunicate OK [17:10:09]wFMCommunicate request_size=25 [17:10:09]MH_SAM_APDU [17:10:09]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 [17:10:09]Write to MH i2c: E2 1C 00 30 20 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 00 00 39 [17:10:09]Write i2c OK [17:10:09]MH_I2C_Read... [17:10:09]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [17:10:09]Read from MH i2c: E2 [17:10:09]MH_I2C_Read... [17:10:09]Read from MH i2c: E2 03 00 [17:10:09]MH_I2C_Read... [17:10:09]Read from MH i2c: E2 03 00 30 20 00 90 00 C4 [17:10:09]RAPDU: 90 00 [17:10:09]wFMCommunicate OK [17:10:09]wFMCommunicate request_size=4 [17:10:09]MH_SAM_APDU [17:10:09]CAPDU: 80 15 03 00 [17:10:09]Write to MH i2c: E2 08 00 31 20 80 15 03 00 00 00 00 00 D2 [17:10:09]Write i2c OK [17:10:09]MH_I2C_Read... [17:10:10]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 250! [17:10:10]Read from MH i2c: E2 [17:10:10]MH_I2C_Read... [17:10:10]Read from MH i2c: E2 FD 00 [17:10:10]MH_I2C_Read... [17:10:10]Read from MH i2c: E2 FD 00 31 20 00 F1 04 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 45 87 00 00 0E 04 04 00 47 01 00 00 5E 04 04 00 36 00 00 00 57 04 04 00 38 00 00 00 AA 04 AA 04 6E 04 04 00 36 00 00 00 69 04 9B 00 6F 04 04 00 36 00 00 00 B1 04 03 00 DB E4 42 70 04 03 00 0C 39 3D 72 04 03 00 CF AB 05 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 92 1A 07 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 8A 97 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 F8 [17:10:10]RAPDU: F1 04 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 45 87 00 00 0E 04 04 00 47 01 00 00 5E 04 04 00 36 00 00 00 57 04 04 00 38 00 00 00 AA 04 AA 04 6E 04 04 00 36 00 00 00 69 04 9B 00 6F 04 04 00 36 00 00 00 B1 04 03 00 DB E4 42 70 04 03 00 0C 39 3D 72 04 03 00 CF AB 05 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 92 1A 07 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 8A 97 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [17:10:10]wFMCommunicate OK [17:10:10]SAM_PROTO_ProcessDocument answer len = 1265 [17:10:10]SAM_PROTO_ProcessDocument remain to read = 1017 [17:10:10]wFMCommunicate request_size=4 [17:10:10]MH_SAM_APDU [17:10:10]CAPDU: 80 17 00 00 [17:10:10]Write to MH i2c: E2 08 00 32 20 80 17 00 00 00 00 00 00 D2 [17:10:10]Write i2c OK [17:10:10]MH_I2C_Read... [17:10:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:10:10]Read from MH i2c: E2 [17:10:10]MH_I2C_Read... [17:10:10]Read from MH i2c: E2 FD 00 [17:10:10]MH_I2C_Read... [17:10:10]Read from MH i2c: E2 FD 00 32 20 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 1B [17:10:10]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 OFD Sender: No OFD packet to send [17:10:11]F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [17:10:11]wFMCommunicate OK [17:10:11]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [17:10:11]SAM_PROTO_ProcessDocument remain to read = 767 [17:10:11]wFMCommunicate request_size=4 [17:10:11]MH_SAM_APDU [17:10:11]CAPDU: 80 17 00 00 [17:10:11]Write to MH i2c: E2 08 00 33 20 80 17 00 00 00 00 00 00 D3 [17:10:11]Write i2c OK [17:10:11]MH_I2C_Read... [17:10:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:10:11]Read from MH i2c: E2 [17:10:11]MH_I2C_Read... [17:10:11]Read from MH i2c: E2 FD 00 [17:10:11]MH_I2C_Read... [17:10:11]Read from MH i2c: E2 FD 00 33 20 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 35 [17:10:11]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 [17:10:11]wFMCommunicate OK [17:10:11]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [17:10:11]SAM_PROTO_ProcessDocument remain to read = 517 [17:10:11]wFMCommunicate request_size=4 [17:10:11]MH_SAM_APDU [17:10:11]CAPDU: 80 17 00 00 [17:10:11]Write to MH i2c: E2 08 00 34 20 80 17 00 00 00 00 00 00 D4 [17:10:11]Write i2c OK [17:10:11]MH_I2C_Read... [17:10:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:10:11]Read from MH i2c: E2 [17:10:11]MH_I2C_Read... [17:10:11]Read from MH i2c: E2 FD 00 [17:10:11]MH_I2C_Read... [17:10:11]Read from MH i2c: E2 FD 00 34 20 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 5E [17:10:12]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 [17:10:12]wFMCommunicate OK [17:10:12]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [17:10:12]SAM_PROTO_ProcessDocument remain to read = 267 [17:10:12]wFMCommunicate request_size=4 [17:10:12]MH_SAM_APDU [17:10:12]CAPDU: 80 17 00 00 [17:10:12]Write to MH i2c: E2 08 00 35 20 80 17 00 00 00 00 00 00 D5 [17:10:12]Write i2c OK [17:10:12]MH_I2C_Read... [17:10:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:10:12]Read from MH i2c: E2 [17:10:12]MH_I2C_Read... [17:10:12]Read from MH i2c: E2 FD 00 [17:10:12]MH_I2C_Read... [17:10:12]Read from MH i2c: E2 FD 00 35 20 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 9D [17:10:12]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 [17:10:12]wFMCommunicate OK [17:10:12]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [17:10:12]SAM_PROTO_ProcessDocument remain to read = 17 [17:10:12]wFMCommunicate request_size=4 [17:10:12]MH_SAM_APDU [17:10:12]CAPDU: 80 17 00 00 [17:10:12]Write to MH i2c: E2 08 00 36 20 80 17 00 00 00 00 00 00 D6 [17:10:12]Write i2c OK [17:10:12]MH_I2C_Read... [17:10:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 17! [17:10:12]Read from MH i2c: E2 [17:10:12]MH_I2C_Read... [17:10:12]Read from MH i2c: E2 14 00 [17:10:12]MH_I2C_Read... [17:10:12]Read from MH i2c: E2 14 00 36 20 00 01 00 06 F7 03 00 00 35 04 06 00 0F F5 0A 4F B3 2E 90 00 59 [17:10:12]RAPDU: 01 00 06 F7 03 00 00 35 04 06 00 0F F5 0A 4F B3 2E 90 00 [17:10:12]wFMCommunicate OK [17:10:12]SAM_PROTO_ProcessDocument received (without SW) 17 bytes [17:10:12]SAM_PROTO_ProcessDocument done [17:10:12]1209 (1) - 1.0 - номер версии ФФД [17:10:12]1041 (16) - 0000000000875095 - номер ФМ [17:10:12]1040 (4) - 34629 - номер ФД [17:10:12]1038 (4) - 327 - номер смены [17:10:12]1118 (4) - 54 - количество кассовых чеков за смену [17:10:12]1111 (4) - 56 - общее количество ФД за смену [17:10:12]1194 (1194) - счетчики итогов смены [17:10:12] 1134 (4) - 54 - количество чеков со всеми признаками расчетов [17:10:12] 1129 (155) - счетчики операций «приход» [17:10:12] 1135 (4) - 54 - количество чеков по признаку расчетов [17:10:12] 1201 (3) - 43839.63 - общая итоговая сумма в чеках [17:10:12] 1136 (3) - 40123.00 - итоговая сумма в чеках наличными [17:10:12] 1138 (3) - 3716.63 - итоговая сумма в чеках безналичными [17:10:12] 1024 (122) - суммы налогов [17:10:12] 1006 (9) - суммы НДС [17:10:12] 1010 (1) - 0% - код ставки НДС [17:10:12] 1011 (0) - 0.00 - сумма НДС по ставке [17:10:12] 1006 (12) - суммы НДС [17:10:12] 1010 (1) - 12% - код ставки НДС [17:10:12] 1011 (3) - 4655.54 - сумма НДС по ставке [17:10:12] 1007 (9) - суммы НСП [17:10:12] 1014 (1) - 0% - код ставки НСП [17:10:12] 1015 (0) - 0.00 - сумма НСП по ставке [17:10:12] 1007 (11) - суммы НСП [17:10:12] 1014 (1) - 1% - код ставки НСП [17:10:12] 1015 (2) - 387.94 - сумма НСП по ставке [17:10:12] 1007 (9) - суммы НСП [17:10:12] 1014 (1) - 2% - код ставки НСП [17:10:12] 1015 (0) - 0.00 - сумма НСП по ставке [17:10:12] 1007 (9) - суммы НСП [17:10:12] 1014 (1) - 3% - код ставки НСП [17:10:12] 1015 (0) - 0.00 - сумма НСП по ставке [17:10:12] 1007 (9) - суммы НСП [17:10:12] 1014 (1) - 5% - код ставки НСП [17:10:12] 1015 (0) - 0.00 - сумма НСП по ставке [17:10:12] 1007 (9) - суммы НСП [17:10:12] 1014 (1) - 0,50% - код ставки НСП [17:10:12] 1015 (0) - 0.00 - сумма НСП по ставке [17:10:12] 1007 (9) - суммы НСП [17:10:12] 1014 (1) - 1,50% - код ставки НСП [17:10:12] 1015 (0) - 0.00 - сумма НСП по ставке [17:10:12] 1130 (141) - счетчики операций «возврат прихода» [17:10:12] 1135 (4) - 0 - количество чеков по признаку расчетов [17:10:12] 1201 (0) - 0.00 - общая итоговая сумма в чеках [17:10:12] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [17:10:12] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [17:10:12] 1024 (117) - суммы налогов [17:10:12] 1006 (9) - суммы НДС [17:10:12] 1010 (1) - 0% - код ставки НДС [17:10:12] 1011 (0) - 0.00 - сумма НДС по ставке [17:10:12] 1006 (9) - суммы НДС [17:10:12] 1010 (1) - 12% - код ставки НДС [17:10:12] 1011 (0) - 0.00 - сумма НДС по ставке [17:10:12] 1007 (9) - суммы НСП [17:10:12] 1014 (1) - 0% - код ставки НСП [17:10:12] 1015 (0) - 0.00 - сумма НСП по ставке [17:10:12] 1007 (9) - суммы НСП [17:10:12] 1014 (1) - 1% - код ставки НСП [17:10:12] 1015 (0) - 0.00 - сумма НСП по ставке [17:10:12] 1007 (9) - суммы НСП [17:10:12] 1014 (1) - 2% - код ставки НСП [17:10:12] 1015 (0) - 0.00 - сумма НСП по ставке [17:10:13] 1007 (9) - суммы НСП [17:10:13] 1014 (1) - 3% - код ставки НСП [17:10:13] 1015 (0) - 0.00 - сумма НСП по ставке [17:10:13] 1007 (9) - суммы НСП [17:10:13] 1014 (1) - 5% - код ставки НСП [17:10:13] 1015 (0) - 0.00 - сумма НСП по ставке [17:10:13] 1007 (9) - суммы НСП [17:10:13] 1014 (1) - 0,50% - код ставки НСП [17:10:13] 1015 (0) - 0.00 - сумма НСП по ставке [17:10:13] 1007 (9) - суммы НСП [17:10:13] 1014 (1) - 1,50% - код ставки НСП [17:10:13] 1015 (0) - 0.00 - сумма НСП по ставке [17:10:13] 1131 (141) - счетчики операций «расход» [17:10:13] 1135 (4) - 0 - количество чеков по признаку расчетов [17:10:13] 1201 (0) - 0.00 - общая итоговая сумма в чеках [17:10:13] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [17:10:13] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [17:10:13] 1024 (117) - суммы налогов [17:10:13] 1006 (9) - суммы НДС [17:10:13] 1010 (1) - 0% - код ставки НДС [17:10:13] 1011 (0) - 0.00 - сумма НДС по ставке [17:10:13] 1006 (9) - суммы НДС [17:10:13] 1010 (1) - 12% - код ставки НДС [17:10:13] 1011 (0) - 0.00 - сумма НДС по ставке [17:10:13] 1007 (9) - суммы НСП [17:10:13] 1014 (1) - 0% - код ставки НСП [17:10:13] 1015 (0) - 0.00 - сумма НСП по ставке [17:10:13] 1007 (9) - суммы НСП [17:10:13] 1014 (1) - 1% - код ставки НСП [17:10:13] 1015 (0) - 0.00 - сумма НСП по ставке [17:10:13] 1007 (9) - суммы НСП [17:10:13] 1014 (1) - 2% - код ставки НСП [17:10:13] 1015 (0) - 0.00 - сумма НСП по ставке [17:10:13] 1007 (9) - суммы НСП [17:10:13] 1014 (1) - 3% - код ставки НСП [17:10:13] 1015 (0) - 0.00 - сумма НСП по ставке [17:10:13] 1007 (9) - суммы НСП [17:10:13] 1014 (1) - 5% - код ставки НСП [17:10:13] 1015 (0) - 0.00 - сумма НСП по ставке [17:10:13] 1007 (9) - суммы НСП [17:10:13] 1014 (1) - 0,50% - код ставки НСП [17:10:13] 1015 (0) - 0.00 - сумма НСП по ставке [17:10:13] 1007 (9) - суммы НСП [17:10:13] 1014 (1) - 1,50% - код ставки НСП [17:10:13] 1015 (0) - 0.00 - сумма НСП по ставке [17:10:13] 1132 (141) - счетчики операций «возврат расхода» [17:10:13] 1135 (4) - 0 - количество чеков по признаку расчетов [17:10:13] 1201 (0) - 0.00 - общая итоговая сумма в чеках [17:10:13] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [17:10:13] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [17:10:13] 1024 (117) - суммы налогов [17:10:13] 1006 (9) - суммы НДС [17:10:13] 1010 (1) - 0% - код ставки НДС [17:10:13] 1011 (0) - 0.00 - сумма НДС по ставке [17:10:13] 1006 (9) - суммы НДС [17:10:13] 1010 (1) - 12% - код ставки НДС [17:10:13] 1011 (0) - 0.00 - сумма НДС по ставке [17:10:13] 1007 (9) - суммы НСП [17:10:13] 1014 (1) - 0% - код ставки НСП [17:10:13] 1015 (0) - 0.00 - сумма НСП по ставке [17:10:13] 1007 (9) - суммы НСП [17:10:13] 1014 (1) - 1% - код ставки НСП [17:10:13] 1015 (0) - 0.00 - сумма НСП по ставке [17:10:13] 1007 (9) - суммы НСП [17:10:13] 1014 (1) - 2% - код ставки НСП [17:10:13] 1015 (0) - 0.00 - сумма НСП по ставке [17:10:13] 1007 (9) - суммы НСП [17:10:13] 1014 (1) - 3% - код ставки НСП [17:10:13] 1015 (0) - 0.00 - сумма НСП по ставке [17:10:13] 1007 (9) - суммы НСП [17:10:13] 1014 (1) - 5% - код ставки НСП [17:10:13] 1015 (0) - 0.00 - сумма НСП по ставке [17:10:13] 1007 (9) - суммы НСП [17:10:13] 1014 (1) - 0,50% - код ставки НСП [17:10:13] 1015 (0) - 0.00 - сумма НСП по ставке [17:10:13] 1007 (9) - суммы НСП [17:10:13] 1014 (1) - 1,50% - код ставки НСП [17:10:13] 1015 (0) - 0.00 - сумма НСП по ставке [17:10:13] 1133 (588) - - счетчики коррекции - не используются [17:10:13]1077 (6) - 17545114399534 - ФПД [17:10:13]SetTLVBufToDocument [17:10:13]Processing tag 1209 (04B9) [17:10:13]Malloc new data [17:10:13]Processing tag 1041 (0411) [17:10:13]Processing tag 1040 (0410) [17:10:13]Malloc new data [17:10:13]Processing tag 1038 (040E) [17:10:13]Malloc new data [17:10:13]Processing tag 1118 (045E) [17:10:13]Malloc new data [17:10:13]Processing tag 1111 (0457) [17:10:13]Malloc new data [17:10:13]Processing tag 1194 (04AA) [17:10:13]Load OK [17:10:13]SetTLVBufToDocument [17:10:13]Processing tag 1134 (046E) [17:10:13]Malloc new data [17:10:13]Processing tag 1129 (0469) [17:10:13]Load OK [17:10:13]SetTLVBufToDocument [17:10:13]Processing tag 1135 (046F) [17:10:13]Malloc new data [17:10:13]Processing tag 1201 (04B1) [17:10:13]Malloc new data [17:10:13]Processing tag 1136 (0470) [17:10:13]Malloc new data [17:10:13]Processing tag 1138 (0472) [17:10:13]Malloc new data [17:10:13]Processing tag 1024 (0400) [17:10:13]Load OK [17:10:13]SetTLVBufToDocument [17:10:13]Processing tag 1006 (03EE) [17:10:13]Load OK [17:10:13]SetTLVBufToDocument [17:10:13]Processing tag 1010 (03F2) [17:10:13]Malloc new data [17:10:13]Processing tag 1011 (03F3) [17:10:13]Malloc new data [17:10:13]SetTLVBufToDocument err=0 [17:10:13]Processing tag 1006 (03EE) [17:10:13]Load OK [17:10:13]SetTLVBufToDocument [17:10:13]Processing tag 1010 (03F2) [17:10:13]Malloc new data [17:10:13]Processing tag 1011 (03F3) [17:10:13]Malloc new data [17:10:13]SetTLVBufToDocument err=0 [17:10:13]Processing tag 1007 (03EF) [17:10:13]Load OK [17:10:13]SetTLVBufToDocument [17:10:13]Processing tag 1014 (03F6) [17:10:13]Malloc new data [17:10:13]Processing tag 1015 (03F7) [17:10:13]Malloc new data [17:10:13]SetTLVBufToDocument err=0 [17:10:13]Processing tag 1007 (03EF) [17:10:13]Load OK [17:10:13]SetTLVBufToDocument [17:10:13]Processing tag 1014 (03F6) [17:10:13]Malloc new data [17:10:13]Processing tag 1015 (03F7) [17:10:13]Malloc new data [17:10:13]SetTLVBufToDocument err=0 [17:10:13]Processing tag 1007 (03EF) [17:10:13]Load OK [17:10:13]SetTLVBufToDocument [17:10:13]Processing tag 1014 (03F6) [17:10:13]Malloc new data [17:10:13]Processing tag 1015 (03F7) [17:10:13]Malloc new data [17:10:13]SetTLVBufToDocument err=0 [17:10:13]Processing tag 1007 (03EF) [17:10:13]Load OK [17:10:13]SetTLVBufToDocument [17:10:13]Processing tag 1014 (03F6) [17:10:13]Malloc new data [17:10:13]Processing tag 1015 (03F7) [17:10:13]Malloc new data [17:10:13]SetTLVBufToDocument err=0 [17:10:13]Processing tag 1007 (03EF) [17:10:13]Load OK [17:10:13]SetTLVBufToDocument [17:10:13]Processing tag 1014 (03F6) [17:10:13]Malloc new data [17:10:13]Processing tag 1015 (03F7) [17:10:13]Malloc new data [17:10:13]SetTLVBufToDocument err=0 [17:10:13]Processing tag 1007 (03EF) [17:10:13]Load OK [17:10:13]SetTLVBufToDocument [17:10:13]Processing tag 1014 (03F6) [17:10:13]Malloc new data [17:10:13]Processing tag 1015 (03F7) [17:10:13]Malloc new data [17:10:13]SetTLVBufToDocument err=0 [17:10:13]Processing tag 1007 (03EF) [17:10:13]Load OK [17:10:13]SetTLVBufToDocument [17:10:13]Processing tag 1014 (03F6) [17:10:13]Malloc new data [17:10:13]Processing tag 1015 (03F7) [17:10:13]Malloc new data [17:10:13]SetTLVBufToDocument err=0 [17:10:13]SetTLVBufToDocument err=0 [17:10:13]SetTLVBufToDocument err=0 [17:10:13]Processing tag 1130 (046A) [17:10:13]Load OK [17:10:13]SetTLVBufToDocument [17:10:13]Processing tag 1135 (046F) [17:10:13]Malloc new data [17:10:13]Processing tag 1201 (04B1) [17:10:13]Malloc new data [17:10:13]Processing tag 1136 (0470) [17:10:13]Malloc new data [17:10:13]Processing tag 1138 (0472) [17:10:13]Malloc new data [17:10:13]Processing tag 1024 (0400) [17:10:13]Load OK [17:10:13]SetTLVBufToDocument [17:10:13]Processing tag 1006 (03EE) [17:10:13]Load OK [17:10:13]SetTLVBufToDocument [17:10:13]Processing tag 1010 (03F2) [17:10:13]Malloc new data [17:10:13]Processing tag 1011 (03F3) [17:10:13]Malloc new data [17:10:13]SetTLVBufToDocument err=0 [17:10:13]Processing tag 1006 (03EE) [17:10:13]Load OK [17:10:13]SetTLVBufToDocument [17:10:13]Processing tag 1010 (03F2) [17:10:13]Malloc new data [17:10:13]Processing tag 1011 (03F3) [17:10:13]Malloc new data [17:10:13]SetTLVBufToDocument err=0 [17:10:13]Processing tag 1007 (03EF) [17:10:13]Load OK [17:10:13]SetTLVBufToDocument [17:10:13]Processing tag 1014 (03F6) [17:10:13]Malloc new data [17:10:13]Processing tag 1015 (03F7) [17:10:13]Malloc new data [17:10:13]SetTLVBufToDocument err=0 [17:10:13]Processing tag 1007 (03EF) [17:10:13]Load OK [17:10:13]SetTLVBufToDocument [17:10:13]Processing tag 1014 (03F6) [17:10:13]Malloc new data [17:10:13]Processing tag 1015 (03F7) [17:10:13]Malloc new data [17:10:13]SetTLVBufToDocument err=0 [17:10:13]Processing tag 1007 (03EF) [17:10:13]Load OK [17:10:13]SetTLVBufToDocument [17:10:13]Processing tag 1014 (03F6) [17:10:13]Malloc new data [17:10:13]Processing tag 1015 (03F7) [17:10:13]Malloc new data [17:10:13]SetTLVBufToDocument err=0 [17:10:13]Processing tag 1007 (03EF) [17:10:13]Load OK [17:10:13]SetTLVBufToDocument [17:10:13]Processing tag 1014 (03F6) [17:10:13]Malloc new data [17:10:13]Processing tag 1015 (03F7) [17:10:13]Malloc new data [17:10:13]SetTLVBufToDocument err=0 [17:10:13]Processing tag 1007 (03EF) [17:10:13]Load OK [17:10:13]SetTLVBufToDocument [17:10:13]Processing tag 1014 (03F6) [17:10:13]Malloc new data [17:10:13]Processing tag 1015 (03F7) [17:10:13]Malloc new data [17:10:13]SetTLVBufToDocument err=0 [17:10:13]Processing tag 1007 (03EF) [17:10:13]Load OK [17:10:13]SetTLVBufToDocument [17:10:13]Processing tag 1014 (03F6) [17:10:13]Malloc new data [17:10:13]Processing tag 1015 (03F7) [17:10:13]Malloc new data [17:10:13]SetTLVBufToDocument err=0 [17:10:13]Processing tag 1007 (03EF) [17:10:13]Load OK [17:10:13]SetTLVBufToDocument [17:10:13]Processing tag 1014 (03F6) [17:10:13]Malloc new data [17:10:13]Processing tag 1015 (03F7) [17:10:13]Malloc new data [17:10:13]SetTLVBufToDocument err=0 [17:10:13]SetTLVBufToDocument err=0 [17:10:13]SetTLVBufToDocument err=0 [17:10:13]Processing tag 1131 (046B) [17:10:13]Load OK [17:10:13]SetTLVBufToDocument [17:10:13]Processing tag 1135 (046F) [17:10:13]Malloc new data [17:10:13]Processing tag 1201 (04B1) [17:10:13]Malloc new data [17:10:13]Processing tag 1136 (0470) [17:10:13]Malloc new data [17:10:13]Processing tag 1138 (0472) [17:10:13]Malloc new data [17:10:13]Processing tag 1024 (0400) [17:10:13]Load OK [17:10:13]SetTLVBufToDocument [17:10:13]Processing tag 1006 (03EE) [17:10:13]Load OK [17:10:13]SetTLVBufToDocument [17:10:13]Processing tag 1010 (03F2) [17:10:13]Malloc new data [17:10:13]Processing tag 1011 (03F3) [17:10:13]Malloc new data [17:10:13]SetTLVBufToDocument err=0 [17:10:13]Processing tag 1006 (03EE) [17:10:13]Load OK [17:10:13]SetTLVBufToDocument [17:10:13]Processing tag 1010 (03F2) [17:10:13]Malloc new data [17:10:13]Processing tag 1011 (03F3) [17:10:13]Malloc new data [17:10:13]SetTLVBufToDocument err=0 [17:10:13]Processing tag 1007 (03EF) [17:10:13]Load OK [17:10:13]SetTLVBufToDocument [17:10:13]Processing tag 1014 (03F6) [17:10:13]Malloc new data [17:10:13]Processing tag 1015 (03F7) [17:10:13]Malloc new data [17:10:13]SetTLVBufToDocument err=0 [17:10:13]Processing tag 1007 (03EF) [17:10:13]Load OK [17:10:13]SetTLVBufToDocument [17:10:13]Processing tag 1014 (03F6) [17:10:13]Malloc new data [17:10:13]Processing tag 1015 (03F7) [17:10:13]Malloc new data [17:10:13]SetTLVBufToDocument err=0 [17:10:13]Processing tag 1007 (03EF) [17:10:13]Load OK [17:10:13]SetTLVBufToDocument [17:10:13]Processing tag 1014 (03F6) [17:10:13]Malloc new data [17:10:13]Processing tag 1015 (03F7) [17:10:13]Malloc new data [17:10:13]SetTLVBufToDocument err=0 [17:10:13]Processing tag 1007 (03EF) [17:10:13]Load OK [17:10:13]SetTLVBufToDocument [17:10:13]Processing tag 1014 (03F6) [17:10:13]Malloc new data [17:10:13]Processing tag 1015 (03F7) [17:10:13]Malloc new data [17:10:13]SetTLVBufToDocument err=0 [17:10:13]Processing tag 1007 (03EF) [17:10:13]Load OK [17:10:13]SetTLVBufToDocument [17:10:13]Processing tag 1014 (03F6) [17:10:13]Malloc new data [17:10:13]Processing tag 1015 (03F7) [17:10:13]Malloc new data [17:10:13]SetTLVBufToDocument err=0 [17:10:13]Processing tag 1007 (03EF) [17:10:13]Load OK [17:10:13]SetTLVBufToDocument [17:10:13]Processing tag 1014 (03F6) [17:10:13]Malloc new data [17:10:13]Processing tag 1015 (03F7) [17:10:13]Malloc new data [17:10:13]SetTLVBufToDocument err=0 [17:10:13]Processing tag 1007 (03EF) [17:10:13]Load OK [17:10:13]SetTLVBufToDocument [17:10:13]Processing tag 1014 (03F6) [17:10:13]Malloc new data [17:10:13]Processing tag 1015 (03F7) [17:10:13]Malloc new data [17:10:13]SetTLVBufToDocument err=0 [17:10:13]SetTLVBufToDocument err=0 [17:10:13]SetTLVBufToDocument err=0 [17:10:13]Processing tag 1132 (046C) [17:10:13]Load OK [17:10:13]SetTLVBufToDocument [17:10:13]Processing tag 1135 (046F) [17:10:13]Malloc new data [17:10:13]Processing tag 1201 (04B1) [17:10:13]Malloc new data [17:10:13]Processing tag 1136 (0470) [17:10:13]Malloc new data [17:10:13]Processing tag 1138 (0472) [17:10:13]Malloc new data [17:10:13]Processing tag 1024 (0400) [17:10:13]Load OK [17:10:13]SetTLVBufToDocument [17:10:13]Processing tag 1006 (03EE) [17:10:13]Load OK [17:10:13]SetTLVBufToDocument [17:10:13]Processing tag 1010 (03F2) [17:10:13]Malloc new data [17:10:13]Processing tag 1011 (03F3) [17:10:13]Malloc new data [17:10:13]SetTLVBufToDocument err=0 [17:10:13]Processing tag 1006 (03EE) [17:10:13]Load OK [17:10:13]SetTLVBufToDocument [17:10:13]Processing tag 1010 (03F2) [17:10:13]Malloc new data [17:10:13]Processing tag 1011 (03F3) [17:10:13]Malloc new data [17:10:13]SetTLVBufToDocument err=0 [17:10:13]Processing tag 1007 (03EF) [17:10:13]Load OK [17:10:13]SetTLVBufToDocument [17:10:13]Processing tag 1014 (03F6) [17:10:13]Malloc new data [17:10:13]Processing tag 1015 (03F7) [17:10:13]Malloc new data [17:10:13]SetTLVBufToDocument err=0 [17:10:13]Processing tag 1007 (03EF) [17:10:13]Load OK [17:10:13]SetTLVBufToDocument [17:10:13]Processing tag 1014 (03F6) [17:10:13]Malloc new data [17:10:13]Processing tag 1015 (03F7) [17:10:13]Malloc new data [17:10:13]SetTLVBufToDocument err=0 [17:10:13]Processing tag 1007 (03EF) [17:10:13]Load OK [17:10:13]SetTLVBufToDocument [17:10:13]Processing tag 1014 (03F6) [17:10:13]Malloc new data [17:10:13]Processing tag 1015 (03F7) [17:10:13]Malloc new data [17:10:13]SetTLVBufToDocument err=0 [17:10:13]Processing tag 1007 (03EF) [17:10:13]Load OK [17:10:13]SetTLVBufToDocument [17:10:13]Processing tag 1014 (03F6) [17:10:13]Malloc new data [17:10:13]Processing tag 1015 (03F7) [17:10:13]Malloc new data [17:10:13]SetTLVBufToDocument err=0 [17:10:13]Processing tag 1007 (03EF) [17:10:13]Load OK [17:10:13]SetTLVBufToDocument [17:10:13]Processing tag 1014 (03F6) [17:10:13]Malloc new data [17:10:13]Processing tag 1015 (03F7) [17:10:13]Malloc new data [17:10:13]SetTLVBufToDocument err=0 [17:10:13]Processing tag 1007 (03EF) [17:10:13]Load OK [17:10:13]SetTLVBufToDocument [17:10:13]Processing tag 1014 (03F6) [17:10:13]Malloc new data [17:10:13]Processing tag 1015 (03F7) [17:10:13]Malloc new data [17:10:13]SetTLVBufToDocument err=0 [17:10:13]Processing tag 1007 (03EF) [17:10:13]Load OK [17:10:13]SetTLVBufToDocument [17:10:13]Processing tag 1014 (03F6) [17:10:13]Malloc new data [17:10:13]Processing tag 1015 (03F7) [17:10:13]Malloc new data [17:10:13]SetTLVBufToDocument err=0 [17:10:14]SetTLVBufToDocument err=0 [17:10:14]SetTLVBufToDocument err=0 [17:10:14]Processing tag 1133 (046D) [17:10:14]Malloc new data [17:10:14]SetTLVBufToDocument err=0 [17:10:14]Processing tag 1077 (0435) [17:10:14]Malloc new data [17:10:14]SetTLVBufToDocument err=0 [17:10:14]Malloc new data [17:10:14]SAM_PROTO_GetFMData [17:10:14]wFMCommunicate request_size=4 [17:10:14]MH_SAM_APDU [17:10:14]CAPDU: 80 13 03 00 [17:10:14]Write to MH i2c: E2 08 00 37 20 80 13 03 00 00 00 00 00 D6 [17:10:14]Write i2c OK [17:10:14]MH_I2C_Read... [17:10:14]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [17:10:14]Read from MH i2c: E2 [17:10:14]MH_I2C_Read... [17:10:14]Read from MH i2c: E2 FD 00 [17:10:14]MH_I2C_Read... [17:10:14]Read from MH i2c: E2 FD 00 37 20 00 C4 04 85 04 C0 04 6E 04 04 00 B6 84 00 00 69 04 A0 00 6F 04 04 00 C2 83 00 00 B1 04 04 00 70 13 69 51 70 04 04 00 74 00 CD 45 72 04 04 00 FC 12 9C 0B 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 C4 4E A5 08 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 E1 61 B8 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 F4 00 00 00 B1 04 04 00 FC 69 DC 03 70 04 04 00 AC 50 C8 03 72 04 03 00 50 19 14 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 B5 F7 68 EF 03 09 00 90 00 32 [17:10:14]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 B6 84 00 00 69 04 A0 00 6F 04 04 00 C2 83 00 00 B1 04 04 00 70 13 69 51 70 04 04 00 74 00 CD 45 72 04 04 00 FC 12 9C 0B 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 C4 4E A5 08 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 E1 61 B8 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 F4 00 00 00 B1 04 04 00 FC 69 DC 03 70 04 04 00 AC 50 C8 03 72 04 03 00 50 19 14 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 B5 F7 68 EF 03 09 00 90 00 [17:10:14]wFMCommunicate OK [17:10:14]wFMCommunicate request_size=4 [17:10:14]MH_SAM_APDU [17:10:14]CAPDU: 80 17 00 00 [17:10:14]Write to MH i2c: E2 08 00 38 20 80 17 00 00 00 00 00 00 D8 [17:10:14]Write i2c OK [17:10:14]MH_I2C_Read... [17:10:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:10:15]Read from MH i2c: E2 [17:10:15]MH_I2C_Read... [17:10:15]Read from MH i2c: E2 FD 00 [17:10:15]MH_I2C_Read... [17:10:15]Read from MH i2c: E2 FD 00 38 20 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 38 BF 08 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 8D [17:10:15]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 38 BF 08 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [17:10:15]wFMCommunicate OK [17:10:15]wFMCommunicate request_size=4 [17:10:15]MH_SAM_APDU [17:10:15]CAPDU: 80 17 00 00 [17:10:15]Write to MH i2c: E2 08 00 39 20 80 17 00 00 00 00 00 00 D9 [17:10:15]Write i2c OK [17:10:15]MH_I2C_Read... [17:10:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:10:15]Read from MH i2c: E2 [17:10:15]MH_I2C_Read... [17:10:15]Read from MH i2c: E2 FD 00 [17:10:15]MH_I2C_Read... [17:10:15]Read from MH i2c: E2 FD 00 39 20 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 EE [17:10:15]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 OFD Sender: No OFD packet to send [17:10:16]03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [17:10:16]wFMCommunicate OK [17:10:16]wFMCommunicate request_size=4 [17:10:16]MH_SAM_APDU [17:10:16]CAPDU: 80 17 00 00 [17:10:16]Write to MH i2c: E2 08 00 3A 20 80 17 00 00 00 00 00 00 DA [17:10:16]Write i2c OK [17:10:16]MH_I2C_Read... [17:10:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:10:16]Read from MH i2c: E2 [17:10:16]MH_I2C_Read... [17:10:16]Read from MH i2c: E2 FD 00 [17:10:16]MH_I2C_Read... [17:10:16]Read from MH i2c: E2 FD 00 3A 20 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 52 [17:10:16]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [17:10:16]wFMCommunicate OK [17:10:16]wFMCommunicate request_size=4 [17:10:16]MH_SAM_APDU [17:10:16]CAPDU: 80 17 00 00 [17:10:16]Write to MH i2c: E2 08 00 3B 20 80 17 00 00 00 00 00 00 DB [17:10:16]Write i2c OK [17:10:16]MH_I2C_Read... [17:10:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [17:10:17]Read from MH i2c: E2 [17:10:17]MH_I2C_Read... [17:10:17]Read from MH i2c: E2 E1 00 [17:10:17]MH_I2C_Read... [17:10:17]Read from MH i2c: E2 E1 00 3B 20 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 C9 [17:10:17]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [17:10:17]wFMCommunicate OK [17:10:17]SAM_PROTO_GetFMData done [17:10:17]Malloc new data [17:10:17]Malloc new data [17:10:17]Malloc new data [17:10:17]Malloc new data [17:10:17]KKMLoadAndSignCloseShiftData err=0 [17:10:17]Отчет о закрытии смены ФФД: 1.0 ИНН: 02508201610067 Кассир: Байбугуева Г. 22.06.2024 17:10 Смена: 327 РНМ: 0000000000092786 ЗНМ: 0300000172 СНО: Общий режим Чеков за смену: 54 ФД за смену: 56 Всего чеков: 54 ИТОГИ ПРИХОД Чеков: 54 Общий итог: 43839.63 Итого наличными: 40123.00 Итого безнал.: 3716.63 НДС 0% : 0.00 НДС 12% : 4655.54 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 387.94 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 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 Нал. в кассе: 40123.00 НС Приход: 13658407.52 НС Возвр.Прихода: 647767.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФД: 34629 ФМ: 0000000000875095 ФПД: 17545114399534 [17:10:17]StoreToDocumentArchive [17:10:17]shift 327 fd 34629 [17:10:17]save to /storage/0327/doc_00034629 [17:10:17]save last doc name /storage/0327/doc_00034629 to /storage/kkm_last_doc_name [17:10:17]save OK [17:10:17]Clear old archive folders... [17:10:17]Remove dir /storage/0266 [17:10:17]opendir ok [17:10:17]file . [17:10:17]file .. [17:10:17]file doc_1719076170 [17:10:17]remove file /storage/0266/doc_1719076170 [17:10:17]remove dir /storage/0266 [17:10:17]NVStorageSaveData kkm_registers [17:10:17]File name is /storage/kkm_registers [17:10:17]Write 24 bytes [17:10:17]NVStorageSaveData done [17:10:17]NVStorageSaveData kkm_registers [17:10:17]File name is /storage/kkm_registers [17:10:17]Write 24 bytes [17:10:17]NVStorageSaveData done [17:10:17]ProcessDocumentItem done err = 0, tmpTLVsize=1383 [17:10:17]tlvbuf is 015EE200 [17:10:17]SAM_PROTO_ClearQueue [17:10:17]wFMCommunicate request_size=4 [17:10:17]MH_SAM_APDU [17:10:17]CAPDU: 80 09 00 00 [17:10:17]Write to MH i2c: E2 08 00 3C 20 80 09 00 00 00 00 00 00 CE [17:10:17]Write i2c OK [17:10:17]MH_I2C_Read... [17:10:17]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:10:17]Read from MH i2c: E2 [17:10:17]MH_I2C_Read... [17:10:17]Read from MH i2c: E2 03 00 [17:10:17]MH_I2C_Read... [17:10:17]Read from MH i2c: E2 03 00 3C 20 00 90 00 D0 [17:10:17]RAPDU: 90 00 [17:10:17]wFMCommunicate OK [17:10:17]SAM_PROTO_ClearQueue done [17:10:17]KKMCreateOFDPacket [17:10:17]OFDProtocolAddRootSTLVToBuf [17:10:17]FM_MakeSignedData [17:10:17]FM_MakeSignedData [17:10:17]SAM_PROTO_SignData [17:10:17]wFMCommunicate request_size=4 [17:10:17]MH_SAM_APDU [17:10:17]CAPDU: 80 0D 01 02 [17:10:17]Write to MH i2c: E2 08 00 3D 20 80 0D 01 02 00 00 00 00 D6 [17:10:17]Write i2c OK [17:10:17]MH_I2C_Read... [17:10:17]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:10:17]Read from MH i2c: E2 [17:10:17]MH_I2C_Read... [17:10:17]Read from MH i2c: E2 03 00 [17:10:17]MH_I2C_Read... [17:10:17]Read from MH i2c: E2 03 00 3D 20 00 90 00 D1 [17:10:17]RAPDU: 90 00 [17:10:17]wFMCommunicate OK [17:10:17]wFMCommunicate request_size=255 [17:10:17]MH_SAM_APDU [17:10:17]CAPDU: 80 0D 02 02 FA 05 00 67 05 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 19 00 D0 91 D0 B0 D0 B9 D0 B1 D1 83 D0 B3 D1 83 D0 B5 D0 B2 D0 B0 20 D0 93 2E 20 F4 03 04 00 77 05 77 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 32 37 38 36 5E 04 04 00 36 00 00 00 57 04 04 00 38 00 00 00 AA 04 D5 04 6E 04 04 00 36 00 00 00 69 04 A2 00 6F 04 04 00 36 00 00 00 B1 04 03 00 DB E4 42 70 04 03 00 0C 39 3D 72 04 03 00 CF AB 05 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 92 1A 07 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 [17:10:17]Write to MH i2c: E2 02 01 3E 20 80 0D 02 02 FA 00 05 00 67 05 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 19 00 D0 91 D0 B0 D0 B9 D0 B1 D1 83 D0 B3 D1 83 D0 B5 D0 B2 D0 B0 20 D0 93 2E 20 F4 03 04 00 77 05 77 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 32 37 38 36 5E 04 04 00 36 00 00 00 57 04 04 00 38 00 00 00 AA 04 D5 04 6E 04 04 00 36 00 00 00 69 04 A2 00 6F 04 04 00 36 00 00 00 B1 04 03 00 DB E4 42 70 04 03 00 0C 39 3D 72 04 03 00 CF AB 05 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 92 1A 07 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 EA [17:10:17]Write i2c OK [17:10:17]MH_I2C_Read... [17:10:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:10:18]Read from MH i2c: E2 [17:10:18]MH_I2C_Read... [17:10:18]Read from MH i2c: E2 03 00 [17:10:18]MH_I2C_Read... [17:10:18]Read from MH i2c: E2 03 00 3E 20 00 90 00 D2 [17:10:18]RAPDU: 90 00 [17:10:18]wFMCommunicate OK [17:10:18]wFMCommunicate request_size=255 [17:10:18]MH_SAM_APDU [17:10:18]CAPDU: 80 0D 02 02 FA 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 8A 97 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 [17:10:18]Write to MH i2c: E2 02 01 3F 20 80 0D 02 02 FA 00 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 8A 97 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 67 [17:10:18]Write i2c OK [17:10:18]MH_I2C_Read... [17:10:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:10:18]Read from MH i2c: E2 [17:10:18]MH_I2C_Read... [17:10:18]Read from MH i2c: E2 03 00 [17:10:18]MH_I2C_Read... [17:10:18]Read from MH i2c: E2 03 00 3F 20 00 90 00 D3 [17:10:18]RAPDU: 90 00 [17:10:18]wFMCommunicate OK [17:10:18]wFMCommunicate request_size=255 [17:10:18]MH_SAM_APDU [17:10:18]CAPDU: 80 0D 02 02 FA 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6C 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 [17:10:19]Write to MH i2c: E2 02 01 40 20 80 0D 02 02 FA 00 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6C 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 A0 [17:10:19]Write i2c OK [17:10:19]MH_I2C_Read... [17:10:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:10:19]Read from MH i2c: E2 [17:10:19]MH_I2C_Read... [17:10:19]Read from MH i2c: E2 03 00 [17:10:19]MH_I2C_Read... [17:10:19]Read from MH i2c: E2 03 00 40 20 00 90 00 D4 [17:10:19]RAPDU: 90 00 [17:10:19]wFMCommunicate OK [17:10:19]wFMCommunicate request_size=255 [17:10:19]MH_SAM_APDU [17:10:19]CAPDU: 80 0D 02 02 FA 00 01 F7 03 01 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 [17:10:19]Write to MH i2c: E2 02 01 41 20 80 0D 02 02 FA 00 00 01 F7 03 01 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 00 00 9F [17:10:19]Write i2c OK [17:10:19]MH_I2C_Read... [17:10:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:10:20]Read from MH i2c: E2 [17:10:20]MH_I2C_Read... [17:10:20]Read from MH i2c: E2 03 00 [17:10:20]MH_I2C_Read... [17:10:20]Read from MH i2c: E2 03 00 41 20 00 90 00 D5 [17:10:20]RAPDU: 90 00 [17:10:20]wFMCommunicate OK [17:10:20]wFMCommunicate request_size=255 [17:10:20]MH_SAM_APDU [17:10:20]CAPDU: 80 0D 02 02 FA 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 [17:10:20]Write to MH i2c: E2 02 01 42 20 80 0D 02 02 FA 00 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 00 00 64 [17:10:20]Write i2c OK [17:10:20]MH_I2C_Read... [17:10:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:10:20]Read from MH i2c: E2 [17:10:20]MH_I2C_Read... [17:10:20]Read from MH i2c: E2 03 00 [17:10:20]MH_I2C_Read... [17:10:20]Read from MH i2c: E2 03 00 42 20 00 90 00 D6 [17:10:20]RAPDU: 90 00 [17:10:20]wFMCommunicate OK [17:10:20]wFMCommunicate request_size=142 [17:10:20]MH_SAM_APDU [17:10:20]CAPDU: 80 0D 02 02 89 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 10 04 04 00 45 87 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 35 04 06 00 0F F5 0A 4F B3 2E [17:10:21]Write to MH i2c: E2 91 00 43 20 80 0D 02 02 89 00 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 10 04 04 00 45 87 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 35 04 06 00 0F F5 0A 4F B3 2E 00 00 30 [17:10:21]Write i2c OK [17:10:21]MH_I2C_Read... [17:10:21]OFD Sender: No OFD packet to send [17:10:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:10:21]Read from MH i2c: E2 [17:10:21]MH_I2C_Read... [17:10:21]Read from MH i2c: E2 03 00 [17:10:21]MH_I2C_Read... [17:10:21]Read from MH i2c: E2 03 00 43 20 00 90 00 D7 [17:10:21]RAPDU: 90 00 [17:10:21]wFMCommunicate OK [17:10:21]wFMCommunicate request_size=4 [17:10:21]MH_SAM_APDU [17:10:21]CAPDU: 80 0D 03 02 [17:10:21]Write to MH i2c: E2 08 00 44 20 80 0D 03 02 00 00 00 00 DF [17:10:21]Write i2c OK [17:10:21]MH_I2C_Read... [17:10:21]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:10:21]Read from MH i2c: E2 [17:10:21]MH_I2C_Read... [17:10:21]Read from MH i2c: E2 0B 00 [17:10:21]MH_I2C_Read... [17:10:21]Read from MH i2c: E2 0B 00 44 20 00 C0 43 20 FE 9C B0 B9 30 90 00 36 [17:10:21]RAPDU: C0 43 20 FE 9C B0 B9 30 90 00 [17:10:21]wFMCommunicate OK [17:10:21]SAM_PROTO_SignData done [17:10:21]FM_MakeSignedData done [17:10:21]CreateOFDProtocolMessage [17:10:21]wFMCommunicate request_size=4 [17:10:21]MH_SAM_APDU [17:10:21]CAPDU: 80 11 00 00 [17:10:21]Write to MH i2c: E2 08 00 45 20 80 11 00 00 00 00 00 00 DF [17:10:21]Write i2c OK [17:10:21]MH_I2C_Read... [17:10:21]Read from MH i2c: E2 [17:10:21]MH_I2C_Read... [17:10:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:10:21]Read from MH i2c: E2 17 00 [17:10:21]MH_I2C_Read... [17:10:21]Read from MH i2c: E2 17 00 45 20 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 34 [17:10:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [17:10:21]wFMCommunicate OK [17:10:21]CreateOFDProtocolMessage done [17:10:21]OFDSenderStorePacket 34629 [17:10:21]StoreOFDPacket docnum=34629 [17:10:21]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 7B 05 00 00 76 87 73 05 DC 5A 5A 05 01 00 05 00 67 05 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 19 00 D0 91 D0 B0 D0 B9 D0 B1 D1 83 D0 B3 D1 83 D0 B5 D0 B2 D0 B0 20 D0 93 2E 20 F4 03 04 00 77 05 77 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 32 37 38 36 5E 04 04 00 36 00 00 00 57 04 04 00 38 00 00 00 AA 04 D5 04 6E 04 04 00 36 00 00 00 69 04 A2 00 6F 04 04 00 36 00 00 00 B1 04 03 00 DB E4 42 70 04 03 00 0C 39 3D 72 04 03 00 CF AB 05 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 92 1A 07 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 8A 97 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 45 87 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 35 04 06 00 0F F5 0A 4F B3 2E C0 43 20 FE 9C B0 B9 30 [17:10:21]CheckFolder [17:10:21]dirname=/storage/ofd_packets [17:10:21]CheckFolder done [17:10:21]ProducePacketName [17:10:21]name=ofd_packets/00034629 [17:10:21]NVStorageSaveData ofd_packets/00034629 [17:10:21]File name is /storage/ofd_packets/00034629 [17:10:21]Write 1433 bytes [17:10:21]NVStorageSaveData done [17:10:21]OFDSenderStorePacket done [17:10:21]KKMCreateOFDPacket done [17:10:21]NVStorageSaveData kkm_last_timestamp [17:10:21]File name is /storage/kkm_last_timestamp [17:10:21]Write 4 bytes [17:10:21]NVStorageSaveData done [17:10:21]ExternCall_PrintAddStr [17:10:21]wPrintStart [17:10:21]Write to MH i2c: 01 00 00 46 20 66 [17:10:21]Write i2c OK [17:10:21]MH_I2C_Read... [17:10:21]Read from MH i2c: 01 [17:10:21]MH_I2C_Read... [17:10:21]Read from MH i2c: 01 07 00 [17:10:21]MH_I2C_Read... [17:10:21]Read from MH i2c: 01 07 00 46 20 00 00 00 00 00 FF 0F 7B [17:10:21]RasterBufferAndPrint [17:10:21]line Отчет о закрытии смены [17:10:21]line ФФД: 1.0 [17:10:21]line ИНН: 02508201610067 [17:10:21]line Кассир: Байбугуева Г. [17:10:21]line 22.06.2024 17:10 [17:10:21]line Смена: 327 [17:10:21]line РНМ: 0000000000092786 [17:10:21]line ЗНМ: 0300000172 [17:10:21]line СНО: Общий режим [17:10:21]line Чеков за смену: 54 [17:10:21]line ФД за смену: 56 [17:10:21]line Всего чеков: 54 [17:10:21]line ИТОГИ ПРИХОД [17:10:21]line Чеков: 54 [17:10:21]line Общий итог: 43839.63 [17:10:21]line Итого наличными: 40123.00 [17:10:21]line Итого безнал.: 3716.63 [17:10:21]line НДС 0% : 0.00 [17:10:21]line НДС 12% : 4655.54 [17:10:21]line НСП 0% : 0.00 [17:10:21]line НСП 1,50% : 0.00 [17:10:21]line НСП 0,50% : 0.00 [17:10:21]line НСП 5% : 0.00 [17:10:21]line НСП 3% : 0.00 [17:10:21]line НСП 2% : 0.00 [17:10:21]line НСП 1% : 387.94 [17:10:21]line ИТОГИ ВОЗВРАТ ПРИХОДА [17:10:21]line Чеков: 0 [17:10:21]line Общий итог: 0.00 [17:10:21]line Итого наличными: 0.00 [17:10:21]line Итого безнал.: 0.00 [17:10:21]line НДС 0% : 0.00 [17:10:21]line НДС 12% : 0.00 [17:10:21]line НСП 0% : 0.00 [17:10:21]line НСП 1,50% : 0.00 [17:10:21]line НСП 0,50% : 0.00 [17:10:21]line НСП 5% : 0.00 [17:10:21]line НСП 3% : 0.00 [17:10:21]line НСП 2% : 0.00 [17:10:21]line НСП 1% : 0.00 [17:10:21]line ИТОГИ РАСХОД [17:10:21]line Чеков: 0 [17:10:21]line Общий итог: 0.00 [17:10:21]line Итого наличными: 0.00 [17:10:21]line Итого безнал.: 0.00 [17:10:21]line НДС 0% : 0.00 [17:10:21]line НДС 12% : 0.00 [17:10:21]line НСП 0% : 0.00 [17:10:21]line НСП 1,50% : 0.00 [17:10:21]line НСП 0,50% : 0.00 [17:10:21]line НСП 5% : 0.00 [17:10:21]line НСП 3% : 0.00 [17:10:21]line НСП 2% : 0.00 [17:10:21]line НСП 1% : 0.00 [17:10:21]line ИТОГИ ВОЗВРАТ РАСХОДА [17:10:21]line Чеков: 0 [17:10:21]line Общий итог: 0.00 [17:10:21]line Итого наличными: 0.00 [17:10:21]line Итого безнал.: 0.00 [17:10:21]line НДС 0% : 0.00 [17:10:21]line НДС 12% : 0.00 [17:10:21]line НСП 0% : 0.00 [17:10:21]line НСП 1,50% : 0.00 [17:10:21]line НСП 0,50% : 0.00 [17:10:21]line НСП 5% : 0.00 [17:10:21]line НСП 3% : 0.00 [17:10:21]line НСП 2% : 0.00 [17:10:21]line НСП 1% : 0.00 [17:10:21]line Сумма внесений: 0.00 [17:10:21]line Сумма выплат: 0.00 [17:10:21]line Нал. в кассе: 40123.00 [17:10:21]line НС Приход: 13658407.52 [17:10:21]line НС Возвр.Прихода: 647767.00 [17:10:21]line НС Расход: 0.00 [17:10:21]line НС Возвр.Расхода: 0.00 [17:10:21]line ФД: 34629 [17:10:22]line ФМ: 0000000000875095 [17:10:22]line ФПД: 17545114399534 [17:10:22]OFD Sender: Processing packet 34629 [packets to send 8, broken 7] [17:10:22]ProducePacketName [17:10:22]name=ofd_packets/00034629 [17:10:22]OFD Sender: To server: pG, [17:10:22]CommunicateWithHost lk.salyk.kg:30040 [17:10:22]ConnectInit lk.salyk.kg [17:10:22]written 0, free lines is 4095 [17:10:22]Connected sock=11 [17:10:22]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 7B 05 00 00 76 87 73 05 DC 5A 5A 05 01 00 05 00 67 05 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 19 00 D0 91 D0 B0 D0 B9 D0 B1 D1 83 D0 B3 D1 83 D0 B5 D0 B2 D0 B0 20 D0 93 2E 20 F4 03 04 00 77 05 77 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 32 37 38 36 5E 04 04 00 36 00 00 00 57 04 04 00 38 00 00 00 AA 04 D5 04 6E 04 04 00 36 00 00 00 69 04 A2 00 6F 04 04 00 36 00 00 00 B1 04 03 00 DB E4 42 70 04 03 00 0C 39 3D 72 04 03 00 CF AB 05 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 92 1A 07 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 8A 97 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 Write to MH i2c: 01 01 00 00 00 00 F3 96 03 20 00 B6 00 [17:10:23]EE Write i2c OK [17:10:23]03 MH_I2C_Read... [17:10:23]09 Read from MH i2c: 00 01 F2 [17:10:23]03 MH_I2C_Read... [17:10:23]01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 Read from MH i2c: 01 01 F7 07 03 00 00 [17:10:23]00 MH_I2C_Read... [17:10:23]EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF Read from MH i2c: 03 01 09 07 00 00 F6 96 03 20 01 00 00 00 03 00 F7 00 03 00 00 E7 00 0B EF AF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 [17:10:23]F6 RasterBufferAndPrint [17:10:23]03 line [17:10:23]01 line [17:10:23]00 line [17:10:23]05 line [17:10:23]F7 line [17:10:23]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 written 0, free lines is 3229 [17:10:23]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 MH_Cut [17:10:23]00 Write to MH i2c: 00 D1 00 01 04 00 75 9D 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 20 03 01 09 8F 00 [17:10:23]F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF Write i2c OK [17:10:23]MH_I2C_Read... [17:10:23]03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 Read from MH i2c: 00 D1 00 [17:10:23]00 MH_I2C_Read... [17:10:23]04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 Read from MH i2c: EE D1 03 01 09 00 00 [17:10:23]F2 MH_I2C_Read... [17:10:23]03 01 00 01 F3 03 00 00 Read from MH i2c: EF D1 03 01 09 00 00 9D F6 20 03 00 01 8E 00 [17:10:23]00 Write to MH i2c: F7 01 03 00 00 00 00 9E EF 20 03 09 BE 00 [17:10:23]F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 Write i2c OK [17:10:23]03 MH_I2C_Read... [17:10:23]01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 45 87 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 35 04 06 00 0F F5 0A 4F B3 2E C0 43 20 FE 9C B0 B9 30 [17:10:23]*** Cut start [17:10:23]*** Partial cut [17:10:23]*** CUTSNS_PIN = 1 [17:10:23]*** CUTSNS_PIN = 0 [17:10:23]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 84 0F 47 00 C5 CF A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 45 87 00 00 F4 03 04 00 47 AC 76 66 B6 04 01 00 00 97 80 05 80 DC 14 72 14 [17:10:24]CommunicateWithHost err = 0 [17:10:24]CheckOFDResponse [17:10:24]1017 (14) - 77093643461234 [17:10:24]1041 (16) - 0000000000875095 [17:10:24]1040 (4) - 34629 [17:10:24]1012 (4) - 22.06.2024 10:49 [17:10:24]1206 (1) - 0 [17:10:24]OFD Sender: Remove packet 34629 [17:10:24]ProducePacketName [17:10:24]name=ofd_packets/00034629 [17:10:24]NVStorageDeleteData [17:10:24]*** Brake cut motor [17:10:24]Read from MH i2c: 01 [17:10:24]MH_I2C_Read... [17:10:24]*** Stop cut motor [17:10:24]*** Cut end [17:10:24]Read from MH i2c: 01 07 00 [17:10:24]MH_I2C_Read... [17:10:24]Read from MH i2c: 01 07 00 9E 20 00 00 00 00 00 FF 0F D3 [17:10:24]process_action close_shift done [17:10:24]requested_data is exist [17:10:24]produce_requested_data [17:10:24]requested_item fd.num is exist - process it [17:10:24]SAM_PROTO_GetFieldsCounters [17:10:24]wFMCommunicate request_size=4 [17:10:24]MH_SAM_APDU [17:10:24]CAPDU: 80 13 00 00 [17:10:24]Write to MH i2c: E2 08 00 9F 20 80 13 00 00 00 00 00 00 3B [17:10:24]Write i2c OK [17:10:24]MH_I2C_Read... [17:10:24]OFD Sender: No OFD packet to send [17:10:24]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:10:24]Read from MH i2c: E2 [17:10:24]MH_I2C_Read... [17:10:24]Read from MH i2c: E2 62 00 [17:10:24]MH_I2C_Read... [17:10:24]Read from MH i2c: E2 62 00 9F 20 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 45 87 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 36 00 00 00 5E 04 04 00 36 00 00 00 57 04 04 00 38 00 00 00 19 04 04 00 00 00 00 00 90 00 1C [17:10:24]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 45 87 00 00 0E 04 04 00 47 01 00 00 12 04 04 00 36 00 00 00 5E 04 04 00 36 00 00 00 57 04 04 00 38 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:10:24]wFMCommunicate OK [17:10:24]SAM_PROTO_GetFieldsCounters done [17:10:24]requested_item shift.num is exist - process it [17:10:24]requested_item shift.opened is exist - process it [17:10:24]req_shift_opened [17:10:24]FM_GetShiftState [17:10:24]SAM_PROTO_GetShiftState [17:10:24]wFMCommunicate request_size=4 [17:10:24]MH_SAM_APDU [17:10:24]CAPDU: 80 13 01 00 [17:10:24]Write to MH i2c: E2 08 00 A0 20 80 13 01 00 00 00 00 00 3D [17:10:24]Write i2c OK [17:10:24]MH_I2C_Read... [17:10:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:10:24]Read from MH i2c: E2 [17:10:24]MH_I2C_Read... [17:10:24]Read from MH i2c: E2 0E 00 [17:10:24]MH_I2C_Read... [17:10:24]Read from MH i2c: E2 0E 00 A0 20 00 09 00 00 00 00 00 00 00 00 00 00 90 00 48 [17:10:25]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [17:10:25]wFMCommunicate OK [17:10:25]SAM_PROTO_GetShiftState done [17:10:25]FM_GetShiftState done [17:10:25]req_shift_opened done [17:10:25]requested_item shift.open_date is exist - process it [17:10:25]req_shift_open_date [17:10:25]FM_GetShiftState [17:10:25]SAM_PROTO_GetShiftState [17:10:25]wFMCommunicate request_size=4 [17:10:25]MH_SAM_APDU [17:10:25]CAPDU: 80 13 01 00 [17:10:25]Write to MH i2c: E2 08 00 A1 20 80 13 01 00 00 00 00 00 3E [17:10:25]Write i2c OK [17:10:25]MH_I2C_Read... [17:10:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:10:25]Read from MH i2c: E2 [17:10:25]MH_I2C_Read... [17:10:25]Read from MH i2c: E2 0E 00 [17:10:25]MH_I2C_Read... [17:10:25]Read from MH i2c: E2 0E 00 A1 20 00 09 00 00 00 00 00 00 00 00 00 00 90 00 49 [17:10:25]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [17:10:25]wFMCommunicate OK [17:10:25]SAM_PROTO_GetShiftState done [17:10:25]FM_GetShiftState done [17:10:25]req_shift_open_date done [17:10:25]produce_requested_data done [17:10:25]produce_requested_data return {"fd.num":34629,"shift.num":327,"shift.opened":0,"shift.open_date":0} [17:10:25]process_action_free close_shift [17:10:25]json_value_free [17:10:25]json_value_free done [17:10:25]process_json_proto returns [17:10:25]Send response to host [17:10:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":34629,"shift.num":327,"shift.opened":0,"shift.open_date":0}}} [17:10:25]free response buf [17:10:25]execute_script done [17:10:25]execute_script returns [17:10:25]free content buf [17:10:25]Sock 9.Close socket [17:10:25]Sock 9.Thread stoped [17:10:29]OFD Sender: No OFD packet to send [17:10:34]OFD Sender: No OFD packet to send [17:10:39]OFD Sender: No OFD packet to send [17:10:44]OFD Sender: No OFD packet to send [17:10:49]OFD Sender: No OFD packet to send [17:10:54]OFD Sender: No OFD packet to send [17:10:59]OFD Sender: No OFD packet to send [17:11:04]OFD Sender: No OFD packet to send [17:11:09]OFD Sender: No OFD packet to send [17:11:14]OFD Sender: No OFD packet to send [17:11:19]OFD Sender: No OFD packet to send [17:11:24]OFD Sender: No OFD packet to send [17:11:29]OFD Sender: No OFD packet to send [17:11:34]OFD Sender: No OFD packet to send [17:11:39]OFD Sender: No OFD packet to send [17:11:44]OFD Sender: No OFD packet to send [17:11:49]OFD Sender: No OFD packet to send [17:11:54]OFD Sender: No OFD packet to send [17:11:59]OFD Sender: No OFD packet to send [17:12:04]OFD Sender: No OFD packet to send [17:12:09]OFD Sender: No OFD packet to send [17:12:14]OFD Sender: No OFD packet to send [17:12:19]OFD Sender: No OFD packet to send [17:12:24]OFD Sender: No OFD packet to send [17:12:29]OFD Sender: No OFD packet to send [17:12:34]OFD Sender: No OFD packet to send [17:12:39]OFD Sender: No OFD packet to send [17:12:44]OFD Sender: No OFD packet to send [17:12:49]OFD Sender: No OFD packet to send [17:12:54]OFD Sender: No OFD packet to send [17:12:59]OFD Sender: No OFD packet to send [17:13:04]OFD Sender: No OFD packet to send [17:13:09]OFD Sender: No OFD packet to send [17:13:14]OFD Sender: No OFD packet to send [17:13:19]OFD Sender: No OFD packet to send [17:13:24]OFD Sender: No OFD packet to send [17:13:29]OFD Sender: No OFD packet to send [17:13:34]OFD Sender: No OFD packet to send [17:13:39]OFD Sender: No OFD packet to send [17:13:44]OFD Sender: No OFD packet to send [17:13:49]OFD Sender: No OFD packet to send [17:13:54]OFD Sender: No OFD packet to send [17:13:59]OFD Sender: No OFD packet to send [17:14:04]OFD Sender: No OFD packet to send [17:14:09]OFD Sender: No OFD packet to send [17:14:14]OFD Sender: No OFD packet to send [17:14:19]OFD Sender: No OFD packet to send [17:14:24]OFD Sender: No OFD packet to send [17:14:29]OFD Sender: No OFD packet to send [17:14:34]OFD Sender: No OFD packet to send [17:14:39]OFD Sender: No OFD packet to send [17:14:44]OFD Sender: No OFD packet to send [17:14:49]OFD Sender: No OFD packet to send [17:14:54]OFD Sender: No OFD packet to send [17:14:59]OFD Sender: No OFD packet to send [17:15:04]OFD Sender: No OFD packet to send [17:15:09]OFD Sender: No OFD packet to send [17:15:14]OFD Sender: No OFD packet to send [17:15:19]OFD Sender: No OFD packet to send [17:15:24]OFD Sender: No OFD packet to send [17:15:29]OFD Sender: No OFD packet to send [17:15:34]OFD Sender: No OFD packet to send [17:15:39]OFD Sender: No OFD packet to send [17:15:44]OFD Sender: No OFD packet to send [17:15:49]OFD Sender: No OFD packet to send [17:15:54]OFD Sender: No OFD packet to send [17:15:59]OFD Sender: No OFD packet to send [17:16:04]OFD Sender: No OFD packet to send [17:16:09]OFD Sender: No OFD packet to send [17:16:14]OFD Sender: No OFD packet to send [17:16:19]OFD Sender: No OFD packet to send [17:16:24]OFD Sender: No OFD packet to send [17:16:29]OFD Sender: No OFD packet to send [17:16:34]OFD Sender: No OFD packet to send [17:16:39]OFD Sender: No OFD packet to send [17:16:44]OFD Sender: No OFD packet to send [17:16:49]OFD Sender: No OFD packet to send [17:16:54]OFD Sender: No OFD packet to send [17:16:59]OFD Sender: No OFD packet to send [17:17:04]OFD Sender: No OFD packet to send [17:17:09]OFD Sender: No OFD packet to send [17:17:14]OFD Sender: No OFD packet to send [17:17:19]OFD Sender: No OFD packet to send [17:17:24]OFD Sender: No OFD packet to send [17:17:29]OFD Sender: No OFD packet to send [17:17:34]OFD Sender: No OFD packet to send [17:17:39]OFD Sender: No OFD packet to send [17:17:45]OFD Sender: No OFD packet to send [17:17:50]OFD Sender: No OFD packet to send [17:17:55]OFD Sender: No OFD packet to send [17:18:00]OFD Sender: No OFD packet to send [17:18:05]OFD Sender: No OFD packet to send [17:18:10]OFD Sender: No OFD packet to send [17:18:15]OFD Sender: No OFD packet to send [17:18:20]OFD Sender: No OFD packet to send [17:18:25]OFD Sender: No OFD packet to send [17:18:30]OFD Sender: No OFD packet to send [17:18:35]OFD Sender: No OFD packet to send [17:18:40]OFD Sender: No OFD packet to send [17:18:45]OFD Sender: No OFD packet to send [17:18:50]OFD Sender: No OFD packet to send [17:18:55]OFD Sender: No OFD packet to send [17:19:00]OFD Sender: No OFD packet to send [17:19:05]OFD Sender: No OFD packet to send [17:19:10]OFD Sender: No OFD packet to send [17:19:15]OFD Sender: No OFD packet to send [17:19:20]OFD Sender: No OFD packet to send [17:19:25]OFD Sender: No OFD packet to send [17:19:30]OFD Sender: No OFD packet to send [17:19:35]OFD Sender: No OFD packet to send [17:19:40]OFD Sender: No OFD packet to send [17:19:45]OFD Sender: No OFD packet to send [17:19:50]OFD Sender: No OFD packet to send [17:19:55]OFD Sender: No OFD packet to send [17:20:00]OFD Sender: No OFD packet to send [17:20:05]OFD Sender: No OFD packet to send [17:20:10]OFD Sender: No OFD packet to send [17:20:15]OFD Sender: No OFD packet to send [17:20:20]OFD Sender: No OFD packet to send [17:20:25]OFD Sender: No OFD packet to send [17:20:30]OFD Sender: No OFD packet to send [17:20:35]OFD Sender: No OFD packet to send [17:20:40]OFD Sender: No OFD packet to send [17:20:45]OFD Sender: No OFD packet to send [17:20:50]OFD Sender: No OFD packet to send [17:20:55]OFD Sender: No OFD packet to send [17:21:00]OFD Sender: No OFD packet to send [17:21:05]OFD Sender: No OFD packet to send [17:21:10]OFD Sender: No OFD packet to send [17:21:15]OFD Sender: No OFD packet to send [17:21:20]OFD Sender: No OFD packet to send [17:21:25]OFD Sender: No OFD packet to send [17:21:30]OFD Sender: No OFD packet to send [17:21:35]OFD Sender: No OFD packet to send [17:21:40]OFD Sender: No OFD packet to send [17:21:45]OFD Sender: No OFD packet to send [17:21:50]OFD Sender: No OFD packet to send [17:21:55]OFD Sender: No OFD packet to send [17:22:00]OFD Sender: No OFD packet to send [17:22:05]OFD Sender: No OFD packet to send [17:22:10]OFD Sender: No OFD packet to send [17:22:15]OFD Sender: No OFD packet to send [17:22:20]OFD Sender: No OFD packet to send [17:22:25]OFD Sender: No OFD packet to send [17:22:30]OFD Sender: No OFD packet to send [17:22:35]OFD Sender: No OFD packet to send [17:22:40]OFD Sender: No OFD packet to send [17:22:45]OFD Sender: No OFD packet to send [17:22:50]OFD Sender: No OFD packet to send [17:22:55]OFD Sender: No OFD packet to send [17:23:00]OFD Sender: No OFD packet to send [17:23:05]OFD Sender: No OFD packet to send [17:23:10]OFD Sender: No OFD packet to send [17:23:15]OFD Sender: No OFD packet to send [17:23:20]OFD Sender: No OFD packet to send [17:23:25]OFD Sender: No OFD packet to send [17:23:30]OFD Sender: No OFD packet to send [17:23:35]OFD Sender: No OFD packet to send [17:23:40]OFD Sender: No OFD packet to send [17:23:45]OFD Sender: No OFD packet to send [17:23:50]OFD Sender: No OFD packet to send [17:23:55]OFD Sender: No OFD packet to send [17:24:00]OFD Sender: No OFD packet to send [17:24:05]OFD Sender: No OFD packet to send [17:24:10]OFD Sender: No OFD packet to send [17:24:15]OFD Sender: No OFD packet to send [17:24:20]OFD Sender: No OFD packet to send [17:24:25]OFD Sender: No OFD packet to send [17:24:30]OFD Sender: No OFD packet to send [17:24:35]OFD Sender: No OFD packet to send [17:24:40]OFD Sender: No OFD packet to send [17:24:45]OFD Sender: No OFD packet to send [17:24:50]OFD Sender: No OFD packet to send [17:24:55]OFD Sender: No OFD packet to send [17:25:00]OFD Sender: No OFD packet to send [17:25:05]OFD Sender: No OFD packet to send [17:25:10]OFD Sender: No OFD packet to send [17:25:15]OFD Sender: No OFD packet to send [17:25:20]OFD Sender: No OFD packet to send [17:25:25]OFD Sender: No OFD packet to send [17:25:30]OFD Sender: No OFD packet to send [17:25:35]OFD Sender: No OFD packet to send [17:25:40]OFD Sender: No OFD packet to send [17:25:45]OFD Sender: No OFD packet to send [17:25:50]OFD Sender: No OFD packet to send [17:25:55]OFD Sender: No OFD packet to send [17:26:00]OFD Sender: No OFD packet to send [17:26:05]OFD Sender: No OFD packet to send [17:26:10]OFD Sender: No OFD packet to send [17:26:15]OFD Sender: No OFD packet to send [17:26:20]OFD Sender: No OFD packet to send [17:26:25]OFD Sender: No OFD packet to send [17:26:30]OFD Sender: No OFD packet to send [17:26:35]OFD Sender: No OFD packet to send [17:26:40]OFD Sender: No OFD packet to send [17:26:45]OFD Sender: No OFD packet to send [17:26:50]OFD Sender: No OFD packet to send [17:26:55]OFD Sender: No OFD packet to send [17:27:00]OFD Sender: No OFD packet to send [17:27:05]OFD Sender: No OFD packet to send [17:27:10]OFD Sender: No OFD packet to send [17:27:15]OFD Sender: No OFD packet to send [17:27:20]OFD Sender: No OFD packet to send [17:27:25]OFD Sender: No OFD packet to send [17:27:30]OFD Sender: No OFD packet to send [17:27:35]OFD Sender: No OFD packet to send [17:27:40]OFD Sender: No OFD packet to send [17:27:45]OFD Sender: No OFD packet to send [17:27:50]OFD Sender: No OFD packet to send [17:27:55]OFD Sender: No OFD packet to send