[02:58:16]OFD Sender: No OFD packet to send [02:58:21]OFD Sender: No OFD packet to send [02:58:26]OFD Sender: No OFD packet to send [02:58:31]OFD Sender: No OFD packet to send [02:58:36]OFD Sender: No OFD packet to send [02:58:41]OFD Sender: No OFD packet to send [02:58:46]OFD Sender: No OFD packet to send [02:58:51]OFD Sender: No OFD packet to send [02:58:56]OFD Sender: No OFD packet to send [02:59:01]OFD Sender: No OFD packet to send [02:59:06]OFD Sender: No OFD packet to send [02:59:11]OFD Sender: No OFD packet to send [02:59:16]OFD Sender: No OFD packet to send [02:59:21]OFD Sender: No OFD packet to send [02:59:26]OFD Sender: No OFD packet to send [02:59:31]OFD Sender: No OFD packet to send [02:59:36]OFD Sender: No OFD packet to send [02:59:41]OFD Sender: No OFD packet to send [02:59:46]OFD Sender: No OFD packet to send [02:59:51]OFD Sender: No OFD packet to send [02:59:56]OFD Sender: No OFD packet to send [03:00:01]OFD Sender: No OFD packet to send [03:00:06]OFD Sender: No OFD packet to send [03:00:11]OFD Sender: No OFD packet to send [03:00:16]OFD Sender: No OFD packet to send [03:00:21]OFD Sender: No OFD packet to send [03:00:26]OFD Sender: No OFD packet to send [03:00:31]OFD Sender: No OFD packet to send [03:00:36]OFD Sender: No OFD packet to send [03:00:41]OFD Sender: No OFD packet to send [03:00:46]OFD Sender: No OFD packet to send [03:00:51]OFD Sender: No OFD packet to send [03:00:56]OFD Sender: No OFD packet to send [03:01:01]OFD Sender: No OFD packet to send [03:01:06]OFD Sender: No OFD packet to send [03:01:11]OFD Sender: No OFD packet to send [03:01:16]accept exits with 8 [03:01:16]New connection [03:01:16]New thread 3067370852 created [03:01:16]Thread 3067227492 joined [03:01:16]Waiting for new connection... [03:01:16] Sock 8.Parse request [03:01:16]Sock 8.Check first char [03:01:16]Sock 8.First char is OK [03:01:16]request: POST /json_proto HTTP/1.0 [03:01:16]Method: POST [03:01:16]URL: /json_proto [03:01:16]Method is POST - this is cgi request [03:01:16]url: /json_proto [03:01:16]query_string will be loaded in cgi processing [03:01:16]execute_cgi json_proto POST (null) [03:01:16]execute_cgi path=json_proto method=POST [03:01:16]POST find Content-Length [03:01:16]Host: 172.17.56.68:8080 [03:01:16]Content-Length: 909 [03:01:16]Content-Type: application/json [03:01:16] [03:01:16]POST finish read [03:01:16]Found Content-Length = 909 [03:01:16]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4398", "tax_sys" : 0, "items" : [ { "code": "4700000480517", "name": "\u041F\u0438\u0432\u043E \u0416\u0438\u0432\u043E\u0435 1\u043B \u041F\u042D\u0422", "price" : 162.00, "quantity" : 1.000, "sum" : 162.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 257.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [03:01:16]execute_script... [03:01:16]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4398", "tax_sys" : 0, "items" : [ { "code": "4700000480517", "name": "\u041F\u0438\u0432\u043E \u0416\u0438\u0432\u043E\u0435 1\u043B \u041F\u042D\u0422", "price" : 162.00, "quantity" : 1.000, "sum" : 162.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 257.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [03:01:16]POST & json_proto [03:01:16]process_json_proto [03:01:16]json parsed OK: [03:01:16]protocol is kg_v1.0 [03:01:16]action value=close_receipt [03:01:16]process_action close_receipt [03:01:16]cmd_close_receipt [03:01:16]MH_GetDate [03:01:16]Write to MH i2c: F0 00 00 29 29 41 [03:01:16]Write i2c OK [03:01:16]MH_I2C_Read... [03:01:16]Read from MH i2c: F0 [03:01:16]MH_I2C_Read... [03:01:16]Read from MH i2c: F0 09 00 [03:01:16]MH_I2C_Read... [03:01:16]Read from MH i2c: F0 09 00 29 29 00 08 D5 5F 66 42 69 5C 66 59 [03:01:16]GetLastDocTimeStamp 1717552281 [03:01:16]current date 1717556488 [03:01:16]FM_GetShiftState [03:01:16]SAM_PROTO_GetShiftState [03:01:16]wFMCommunicate request_size=4 [03:01:16]MH_SAM_APDU [03:01:16]CAPDU: 80 13 01 00 [03:01:16]Write to MH i2c: E2 08 00 2A 29 80 13 01 00 00 00 00 00 D0 [03:01:16]Write i2c OK [03:01:16]MH_I2C_Read... [03:01:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:01:16]Read from MH i2c: E2 [03:01:16]MH_I2C_Read... [03:01:16]Read from MH i2c: E2 0E 00 [03:01:16]MH_I2C_Read... [03:01:16]Read from MH i2c: E2 0E 00 2A 29 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 71 [03:01:16]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [03:01:16]wFMCommunicate OK [03:01:16]SAM_PROTO_GetShiftState done [03:01:16]FM_GetShiftState done [03:01:16]opened in 1717545765 [03:01:16]opened+sec_in_day 1717632165 [03:01:16]quantity*price = 16200 [03:01:16]sum+1 = 16201 [03:01:16]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000480050 Напиток Nitro Energy эн green ж/б 0,45л 1.000 * 95.00 = 95.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 257.00 НСП 1% : 2.27 НДС 12% : 27.29 Наличными: 257.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 3 05.06.2024 03:01 Смена: 84 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4145 ФПД: 138990186730665 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T030128&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4145&fm=138990186730665&tin=02508201610067®Number=0000000000145775&sum=25700 0 [03:01:17]StoreToDocumentArchive [03:01:17]shift 84 fd 4145 [03:01:17]save to /storage/0084/doc_00004145 [03:01:17]save last doc name /storage/0084/doc_00004145 to /storage/kkm_last_doc_name [03:01:17]save OK [03:01:17]Clear old archive folders... [03:01:17]ProcessDocumentItem done err = 0, tmpTLVsize=395 [03:01:17]tlvbuf is 007FFB80 [03:01:17]SAM_PROTO_ClearQueue [03:01:17]wFMCommunicate request_size=4 [03:01:17]MH_SAM_APDU [03:01:17]CAPDU: 80 09 00 00 [03:01:17]Write to MH i2c: E2 08 00 37 29 80 09 00 00 00 00 00 00 D2 [03:01:17]Write i2c OK [03:01:17]MH_I2C_Read... [03:01:17]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [03:01:17]Read from MH i2c: E2 [03:01:17]MH_I2C_Read... [03:01:17]Read from MH i2c: E2 03 00 [03:01:17]MH_I2C_Read... [03:01:17]Read from MH i2c: E2 03 00 37 29 00 90 00 D4 [03:01:17]RAPDU: 90 00 [03:01:17]wFMCommunicate OK [03:01:17]SAM_PROTO_ClearQueue done [03:01:17]KKMCreateOFDPacket [03:01:17]OFDProtocolAddRootSTLVToBuf [03:01:17]FM_MakeSignedData [03:01:17]FM_MakeSignedData [03:01:17]SAM_PROTO_SignData [03:01:17]wFMCommunicate request_size=4 [03:01:17]MH_SAM_APDU [03:01:17]CAPDU: 80 0D 01 02 [03:01:17]Write to MH i2c: E2 08 00 38 29 80 0D 01 02 00 00 00 00 DA [03:01:17]Write i2c OK [03:01:17]MH_I2C_Read... [03:01:17]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [03:01:17]Read from MH i2c: E2 [03:01:17]MH_I2C_Read... [03:01:17]Read from MH i2c: E2 03 00 [03:01:17]MH_I2C_Read... [03:01:17]Read from MH i2c: E2 03 00 38 29 00 90 00 D5 [03:01:17]RAPDU: 90 00 [03:01:17]wFMCommunicate OK [03:01:17]wFMCommunicate request_size=255 [03:01:17]MH_SAM_APDU [03:01:17]CAPDU: 80 0D 02 02 FA 03 00 8B 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 35 31 37 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B8 D0 B2 D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 48 3F 00 00 00 00 13 04 06 00 48 3F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 64 00 00 00 00 EB 03 26 00 EF 03 [03:01:17]Write to MH i2c: E2 02 01 39 29 80 0D 02 02 FA 00 03 00 8B 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 35 31 37 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B8 D0 B2 D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 48 3F 00 00 00 00 13 04 06 00 48 3F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 64 00 00 00 00 EB 03 26 00 EF 03 00 00 08 [03:01:17]Write i2c OK [03:01:17]MH_I2C_Read... [03:01:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:01:17]Read from MH i2c: E2 [03:01:17]MH_I2C_Read... [03:01:17]Read from MH i2c: E2 03 00 [03:01:17]MH_I2C_Read... [03:01:17]Read from MH i2c: E2 03 00 39 29 00 90 00 D6 [03:01:17]RAPDU: 90 00 [03:01:17]wFMCommunicate OK [03:01:17]wFMCommunicate request_size=154 [03:01:17]MH_SAM_APDU [03:01:17]CAPDU: 80 0D 02 02 95 0F 00 F6 03 01 00 01 F7 03 06 00 E3 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 0A 00 00 00 00 07 04 06 00 64 64 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 08 D5 5F 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 31 10 00 00 35 04 06 00 7E 69 2C B5 14 A9 [03:01:17]Write to MH i2c: E2 9D 00 3A 29 80 0D 02 02 95 00 0F 00 F6 03 01 00 01 F7 03 06 00 E3 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 0A 00 00 00 00 07 04 06 00 64 64 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 08 D5 5F 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 31 10 00 00 35 04 06 00 7E 69 2C B5 14 A9 00 00 5F [03:01:17]Write i2c OK [03:01:17]MH_I2C_Read... [03:01:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:01:17]Read from MH i2c: E2 [03:01:17]MH_I2C_Read... [03:01:17]Read from MH i2c: E2 03 00 [03:01:17]MH_I2C_Read... [03:01:17]Read from MH i2c: E2 03 00 3A 29 00 90 00 D7 [03:01:17]RAPDU: 90 00 [03:01:17]wFMCommunicate OK [03:01:17]wFMCommunicate request_size=4 [03:01:17]MH_SAM_APDU [03:01:17]CAPDU: 80 0D 03 02 [03:01:17]Write to MH i2c: E2 08 00 3B 29 80 0D 03 02 00 00 00 00 DF [03:01:17]Write i2c OK [03:01:17]MH_I2C_Read... [03:01:17]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [03:01:17]Read from MH i2c: E2 [03:01:17]MH_I2C_Read... [03:01:17]Read from MH i2c: E2 0B 00 [03:01:17]MH_I2C_Read... [03:01:17]Read from MH i2c: E2 0B 00 3B 29 00 D9 B0 D5 3D BD B9 17 31 90 00 39 [03:01:17]RAPDU: D9 B0 D5 3D BD B9 17 31 90 00 [03:01:17]wFMCommunicate OK [03:01:17]SAM_PROTO_SignData done [03:01:17]FM_MakeSignedData done [03:01:17]CreateOFDProtocolMessage [03:01:17]wFMCommunicate request_size=4 [03:01:17]MH_SAM_APDU [03:01:17]CAPDU: 80 11 00 00 [03:01:17]Write to MH i2c: E2 08 00 3C 29 80 11 00 00 00 00 00 00 DF [03:01:17]Write i2c OK [03:01:17]MH_I2C_Read... [03:01:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [03:01:17]Read from MH i2c: E2 [03:01:17]MH_I2C_Read... [03:01:17]Read from MH i2c: E2 17 00 [03:01:17]MH_I2C_Read... [03:01:17]Read from MH i2c: E2 17 00 3C 29 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 32 [03:01:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [03:01:17]wFMCommunicate OK [03:01:17]CreateOFDProtocolMessage done [03:01:17]OFDSenderStorePacket 4145 [03:01:17]StoreOFDPacket docnum=4145 [03:01:17]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 9F 01 00 00 E5 51 97 01 B0 8E 5A 03 01 00 03 00 8B 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 35 31 37 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B8 D0 B2 D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 48 3F 00 00 00 00 13 04 06 00 48 3F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 64 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E3 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 0A 00 00 00 00 07 04 06 00 64 64 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 08 D5 5F 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 31 10 00 00 35 04 06 00 7E 69 2C B5 14 A9 D9 B0 D5 3D BD B9 17 31 [03:01:17]CheckFolder [03:01:17]dirname=/storage/ofd_packets [03:01:17]CheckFolder done [03:01:17]ProducePacketName [03:01:17]name=ofd_packets/00004145 [03:01:17]NVStorageSaveData ofd_packets/00004145 [03:01:17]File name is /storage/ofd_packets/00004145 [03:01:17]Write 445 bytes [03:01:17]NVStorageSaveData done [03:01:17]OFDSenderStorePacket done [03:01:17]KKMCreateOFDPacket done [03:01:17]NVStorageSaveData kkm_last_timestamp [03:01:17]File name is /storage/kkm_last_timestamp [03:01:17]Write 4 bytes [03:01:17]NVStorageSaveData done [03:01:17]ExternCall_PrintAddStr [03:01:17]wPrintStart [03:01:17]Write to MH i2c: 01 00 00 3D 29 66 [03:01:17]Write i2c OK [03:01:17]MH_I2C_Read... [03:01:17]Read from MH i2c: 01 [03:01:17]MH_I2C_Read... [03:01:17]Read from MH i2c: 01 07 00 [03:01:18]MH_I2C_Read... [03:01:18]OFD Sender: Processing packet 4145 [packets to send 2, broken 1] [03:01:18]ProducePacketName [03:01:18]name=ofd_packets/00004145 [03:01:18]OFD Sender: To server: pG, [03:01:18]CommunicateWithHost lk.salyk.kg:30040 [03:01:18]ConnectInit lk.salyk.kg [03:01:18]Read from MH i2c: 01 07 00 3D 29 00 00 00 00 00 FF 0F 7B [03:01:18]RasterBufferAndPrint [03:01:18]line Счет N : (3)4398 [03:01:18]line ИНН: 02508201610067 [03:01:18]line Контрольно-Кассовый Чек [03:01:18]line ПРОДАЖА [03:01:18]line Товар: 4700000480517 [03:01:18]line Пиво Живое 1л ПЭТ [03:01:18]line 1.000 * 162.00 [03:01:18]line = 162.00 [03:01:18]line НДС 12% НСП 1% [03:01:18]line > о реализуемом товаре [03:01:18]line Товар: 4700000480050 [03:01:18]line Напиток Nitro Energy эн green ж/б 0,45л [03:01:18]line 1.000 * 95.00 [03:01:18]line = 95.00 [03:01:18]line НДС 12% НСП 1% [03:01:18]line > о реализуемом товаре [03:01:18]line ИТОГО: 257.00 [03:01:18]line НСП 1% : 2.27 [03:01:18]line НДС 12% : 27.29 [03:01:18]line Наличными: 257.00 [03:01:18]line Безнал.: 0.00 [03:01:18]line Место: АЗС № 116 "Партнер Нефть" [03:01:18]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [03:01:18]line СНО: Общий режим [03:01:18]line Чек 3 05.06.2024 03:01 [03:01:18]line Смена: 84 ФФД: 1.0 [03:01:18]line ЗНМ: 0300000233 [03:01:18]line РНМ: 0000000000145775 [03:01:18]line Версия ККМ: v1.0 [03:01:18]line ФМ: 0000000000959360 [03:01:18]line ФД: 4145 [03:01:18]line ФПД: 138990186730665 [03:01:18]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T030128&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4145&fm=138990186730665&tin=02508201610067®Number=0000000000145775&sum=25700 [03:01:18]line 0 [03:01:18]written 0, free lines is 4095 [03:01:18]Connected sock=10 [03:01:18]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 9F 01 00 00 E5 51 97 01 B0 8E 5A 03 01 00 03 00 8B 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 35 31 37 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B8 D0 B2 D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 48 3F 00 00 00 00 13 04 06 00 48 3F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 64 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E3 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 0A 00 00 00 00 07 04 06 00 64 64 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 08 D5 5F 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 31 10 00 00 35 04 06 00 7E 69 2C B5 14 A9 D9 B0 D5 3D BD B9 17 31 [03:01:18]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 24 EB 47 00 78 F5 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 31 10 00 00 F4 03 04 00 07 81 5F 66 B6 04 01 00 00 67 A8 0E 95 0F 8B AC 3F [03:01:18]CommunicateWithHost err = 0 [03:01:18]CheckOFDResponse [03:01:18]1017 (14) - 77093643461234 [03:01:18]1041 (16) - 0000000000959360 [03:01:18]1040 (4) - 4145 [03:01:18]1012 (4) - 04.06.2024 21:03 [03:01:18]1206 (1) - 0 [03:01:18]OFD Sender: Remove packet 4145 [03:01:18]ProducePacketName [03:01:18]name=ofd_packets/00004145 [03:01:18]NVStorageDeleteData [03:01:18]Write to MH i2c: 01 00 00 6C 29 95 [03:01:18]Write i2c OK [03:01:18]MH_I2C_Read... [03:01:18]Read from MH i2c: 01 [03:01:18]MH_I2C_Read... [03:01:18]Read from MH i2c: 01 07 00 [03:01:18]MH_I2C_Read... [03:01:18]Read from MH i2c: 01 07 00 6C 29 00 00 00 00 00 34 0C DC [03:01:18]RasterBufferAndPrint [03:01:18]line [03:01:18]line [03:01:18]line [03:01:18]line [03:01:18]line [03:01:18]written 0, free lines is 3130 [03:01:18]MH_Cut [03:01:18]Write to MH i2c: D1 01 00 73 29 01 6E [03:01:18]Write i2c OK [03:01:18]MH_I2C_Read... [03:01:18]Read from MH i2c: D1 [03:01:18]MH_I2C_Read... [03:01:18]Read from MH i2c: D1 01 00 [03:01:18]MH_I2C_Read... [03:01:18]Read from MH i2c: D1 01 00 73 29 00 6D [03:01:18]Write to MH i2c: 01 00 00 74 29 9D [03:01:18]Write i2c OK [03:01:18]MH_I2C_Read... [03:01:19]OFD Sender: No OFD packet to send [03:01:19]*** Cut start [03:01:19]*** Partial cut [03:01:19]*** CUTSNS_PIN = 1 [03:01:19]*** CUTSNS_PIN = 0 [03:01:20]*** Brake cut motor [03:01:20]Read from MH i2c: 01 [03:01:20]MH_I2C_Read... [03:01:20]*** Stop cut motor [03:01:20]*** Cut end [03:01:20]Read from MH i2c: 01 07 00 [03:01:20]MH_I2C_Read... [03:01:20]Read from MH i2c: 01 07 00 74 29 00 00 00 00 00 FF 0F B2 [03:01:20]process_action close_receipt done [03:01:20]requested_data is exist [03:01:20]produce_requested_data [03:01:20]requested_item fm.sn is exist - process it [03:01:20]wFMCommunicate request_size=4 [03:01:20]MH_SAM_APDU [03:01:20]CAPDU: 80 11 00 00 [03:01:20]Write to MH i2c: E2 08 00 75 29 80 11 00 00 00 00 00 00 18 [03:01:20]Write i2c OK [03:01:20]MH_I2C_Read... [03:01:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [03:01:20]Read from MH i2c: E2 [03:01:20]MH_I2C_Read... [03:01:20]Read from MH i2c: E2 17 00 [03:01:20]MH_I2C_Read... [03:01:20]Read from MH i2c: E2 17 00 75 29 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 6B [03:01:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [03:01:20]wFMCommunicate OK [03:01:20]requested_item fd.num is exist - process it [03:01:20]SAM_PROTO_GetFieldsCounters [03:01:20]wFMCommunicate request_size=4 [03:01:20]MH_SAM_APDU [03:01:20]CAPDU: 80 13 00 00 [03:01:20]Write to MH i2c: E2 08 00 76 29 80 13 00 00 00 00 00 00 1B [03:01:20]Write i2c OK [03:01:20]MH_I2C_Read... [03:01:20]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [03:01:20]Read from MH i2c: E2 [03:01:20]MH_I2C_Read... [03:01:20]Read from MH i2c: E2 62 00 [03:01:20]MH_I2C_Read... [03:01:20]Read from MH i2c: E2 62 00 76 29 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 31 10 00 00 0E 04 04 00 54 00 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 DE [03:01:20]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 31 10 00 00 0E 04 04 00 54 00 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:01:20]wFMCommunicate OK [03:01:20]SAM_PROTO_GetFieldsCounters done [03:01:20]requested_item shift.num is exist - process it [03:01:20]requested_item shift.opened is exist - process it [03:01:20]req_shift_opened [03:01:20]FM_GetShiftState [03:01:20]SAM_PROTO_GetShiftState [03:01:20]wFMCommunicate request_size=4 [03:01:20]MH_SAM_APDU [03:01:20]CAPDU: 80 13 01 00 [03:01:20]Write to MH i2c: E2 08 00 77 29 80 13 01 00 00 00 00 00 1D [03:01:20]Write i2c OK [03:01:20]MH_I2C_Read... [03:01:20]Read from MH i2c: E2 [03:01:20]MH_I2C_Read... [03:01:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:01:20]Read from MH i2c: E2 0E 00 [03:01:20]MH_I2C_Read... [03:01:20]Read from MH i2c: E2 0E 00 77 29 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 BE [03:01:20]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [03:01:20]wFMCommunicate OK [03:01:20]SAM_PROTO_GetShiftState done [03:01:20]FM_GetShiftState done [03:01:20]req_shift_opened done [03:01:20]requested_item shift.open_date is exist - process it [03:01:20]req_shift_open_date [03:01:20]req_shift_open_date done [03:01:20]produce_requested_data done [03:01:20]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4145,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765} [03:01:20]process_action_free close_receipt [03:01:20]json_value_free [03:01:20]json_value_free done [03:01:20]process_json_proto returns [03:01:20]Send response to host [03:01:20]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4145,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765}}} [03:01:20]free response buf [03:01:20]execute_script done [03:01:20]execute_script returns [03:01:20]free content buf [03:01:20]Sock 8.Close socket [03:01:20]Sock 8.Thread stoped [03:01:24]OFD Sender: No OFD packet to send [03:01:29]OFD Sender: No OFD packet to send [03:01:34]OFD Sender: No OFD packet to send [03:01:39]OFD Sender: No OFD packet to send [03:01:44]OFD Sender: No OFD packet to send [03:01:49]OFD Sender: No OFD packet to send [03:01:54]OFD Sender: No OFD packet to send [03:01:59]OFD Sender: No OFD packet to send [03:02:04]OFD Sender: No OFD packet to send [03:02:09]OFD Sender: No OFD packet to send [03:02:14]OFD Sender: No OFD packet to send [03:02:19]OFD Sender: No OFD packet to send [03:02:24]OFD Sender: No OFD packet to send [03:02:29]OFD Sender: No OFD packet to send [03:02:34]OFD Sender: No OFD packet to send [03:02:39]OFD Sender: No OFD packet to send [03:02:44]OFD Sender: No OFD packet to send [03:02:49]OFD Sender: No OFD packet to send [03:02:54]OFD Sender: No OFD packet to send [03:02:59]OFD Sender: No OFD packet to send [03:03:04]OFD Sender: No OFD packet to send [03:03:09]OFD Sender: No OFD packet to send [03:03:14]OFD Sender: No OFD packet to send [03:03:19]OFD Sender: No OFD packet to send [03:03:24]OFD Sender: No OFD packet to send [03:03:29]OFD Sender: No OFD packet to send [03:03:34]OFD Sender: No OFD packet to send [03:03:39]OFD Sender: No OFD packet to send [03:03:44]OFD Sender: No OFD packet to send [03:03:49]OFD Sender: No OFD packet to send [03:03:54]OFD Sender: No OFD packet to send [03:03:59]OFD Sender: No OFD packet to send [03:04:04]OFD Sender: No OFD packet to send [03:04:09]OFD Sender: No OFD packet to send [03:04:14]OFD Sender: No OFD packet to send [03:04:19]OFD Sender: No OFD packet to send [03:04:24]OFD Sender: No OFD packet to send [03:04:29]OFD Sender: No OFD packet to send [03:04:34]OFD Sender: No OFD packet to send [03:04:39]OFD Sender: No OFD packet to send [03:04:44]OFD Sender: No OFD packet to send [03:04:49]OFD Sender: No OFD packet to send [03:04:54]OFD Sender: No OFD packet to send [03:04:59]OFD Sender: No OFD packet to send [03:05:04]OFD Sender: No OFD packet to send [03:05:09]OFD Sender: No OFD packet to send [03:05:14]OFD Sender: No OFD packet to send [03:05:19]OFD Sender: No OFD packet to send [03:05:24]OFD Sender: No OFD packet to send [03:05:29]OFD Sender: No OFD packet to send [03:05:34]OFD Sender: No OFD packet to send [03:05:39]OFD Sender: No OFD packet to send [03:05:44]OFD Sender: No OFD packet to send [03:05:49]OFD Sender: No OFD packet to send [03:05:54]OFD Sender: No OFD packet to send [03:05:59]OFD Sender: No OFD packet to send [03:06:04]OFD Sender: No OFD packet to send [03:06:09]OFD Sender: No OFD packet to send [03:06:14]OFD Sender: No OFD packet to send [03:06:19]OFD Sender: No OFD packet to send [03:06:24]OFD Sender: No OFD packet to send [03:06:29]OFD Sender: No OFD packet to send [03:06:34]OFD Sender: No OFD packet to send [03:06:39]OFD Sender: No OFD packet to send [03:06:44]OFD Sender: No OFD packet to send [03:06:49]OFD Sender: No OFD packet to send [03:06:54]OFD Sender: No OFD packet to send [03:06:59]OFD Sender: No OFD packet to send [03:07:04]OFD Sender: No OFD packet to send [03:07:09]OFD Sender: No OFD packet to send [03:07:14]OFD Sender: No OFD packet to send [03:07:19]OFD Sender: No OFD packet to send [03:07:24]OFD Sender: No OFD packet to send [03:07:29]OFD Sender: No OFD packet to send [03:07:34]OFD Sender: No OFD packet to send [03:07:39]OFD Sender: No OFD packet to send [03:07:44]OFD Sender: No OFD packet to send [03:07:49]OFD Sender: No OFD packet to send [03:07:54]OFD Sender: No OFD packet to send [03:07:59]OFD Sender: No OFD packet to send [03:08:04]OFD Sender: No OFD packet to send [03:08:09]OFD Sender: No OFD packet to send [03:08:14]OFD Sender: No OFD packet to send [03:08:19]OFD Sender: No OFD packet to send [03:08:24]OFD Sender: No OFD packet to send [03:08:29]OFD Sender: No OFD packet to send [03:08:34]OFD Sender: No OFD packet to send [03:08:39]OFD Sender: No OFD packet to send [03:08:44]OFD Sender: No OFD packet to send [03:08:49]OFD Sender: No OFD packet to send [03:08:54]OFD Sender: No OFD packet to send [03:08:59]OFD Sender: No OFD packet to send [03:09:04]OFD Sender: No OFD packet to send [03:09:09]OFD Sender: No OFD packet to send [03:09:14]OFD Sender: No OFD packet to send [03:09:19]OFD Sender: No OFD packet to send [03:09:24]OFD Sender: No OFD packet to send [03:09:29]OFD Sender: No OFD packet to send [03:09:34]OFD Sender: No OFD packet to send [03:09:39]OFD Sender: No OFD packet to send [03:09:44]OFD Sender: No OFD packet to send [03:09:49]OFD Sender: No OFD packet to send [03:09:54]OFD Sender: No OFD packet to send [03:09:59]OFD Sender: No OFD packet to send [03:10:04]OFD Sender: No OFD packet to send [03:10:09]OFD Sender: No OFD packet to send [03:10:14]OFD Sender: No OFD packet to send [03:10:19]OFD Sender: No OFD packet to send [03:10:24]OFD Sender: No OFD packet to send [03:10:29]OFD Sender: No OFD packet to send [03:10:34]OFD Sender: No OFD packet to send [03:10:39]OFD Sender: No OFD packet to send [03:10:44]OFD Sender: No OFD packet to send [03:10:49]OFD Sender: No OFD packet to send [03:10:54]OFD Sender: No OFD packet to send [03:10:59]OFD Sender: No OFD packet to send [03:11:04]OFD Sender: No OFD packet to send [03:11:09]OFD Sender: No OFD packet to send [03:11:14]OFD Sender: No OFD packet to send [03:11:19]OFD Sender: No OFD packet to send [03:11:24]OFD Sender: No OFD packet to send [03:11:29]OFD Sender: No OFD packet to send [03:11:34]OFD Sender: No OFD packet to send [03:11:39]OFD Sender: No OFD packet to send [03:11:44]OFD Sender: No OFD packet to send [03:11:49]OFD Sender: No OFD packet to send [03:11:54]OFD Sender: No OFD packet to send [03:11:59]OFD Sender: No OFD packet to send [03:12:04]OFD Sender: No OFD packet to send [03:12:09]OFD Sender: No OFD packet to send [03:12:14]OFD Sender: No OFD packet to send [03:12:19]OFD Sender: No OFD packet to send [03:12:24]OFD Sender: No OFD packet to send [03:12:29]OFD Sender: No OFD packet to send [03:12:34]OFD Sender: No OFD packet to send [03:12:39]OFD Sender: No OFD packet to send [03:12:44]OFD Sender: No OFD packet to send [03:12:49]OFD Sender: No OFD packet to send [03:12:54]OFD Sender: No OFD packet to send [03:12:59]OFD Sender: No OFD packet to send [03:13:04]OFD Sender: No OFD packet to send [03:13:09]OFD Sender: No OFD packet to send [03:13:14]OFD Sender: No OFD packet to send [03:13:19]OFD Sender: No OFD packet to send [03:13:24]OFD Sender: No OFD packet to send [03:13:29]OFD Sender: No OFD packet to send [03:13:34]OFD Sender: No OFD packet to send [03:13:39]OFD Sender: No OFD packet to send [03:13:44]OFD Sender: No OFD packet to send [03:13:49]OFD Sender: No OFD packet to send [03:13:54]OFD Sender: No OFD packet to send [03:13:59]OFD Sender: No OFD packet to send [03:14:04]OFD Sender: No OFD packet to send [03:14:09]OFD Sender: No OFD packet to send [03:14:14]OFD Sender: No OFD packet to send [03:14:19]OFD Sender: No OFD packet to send [03:14:24]OFD Sender: No OFD packet to send [03:14:29]OFD Sender: No OFD packet to send [03:14:34]OFD Sender: No OFD packet to send [03:14:39]OFD Sender: No OFD packet to send [03:14:44]OFD Sender: No OFD packet to send [03:14:49]OFD Sender: No OFD packet to send [03:14:54]OFD Sender: No OFD packet to send [03:14:59]OFD Sender: No OFD packet to send [03:15:04]OFD Sender: No OFD packet to send [03:15:09]OFD Sender: No OFD packet to send [03:15:14]OFD Sender: No OFD packet to send [03:15:19]OFD Sender: No OFD packet to send [03:15:24]OFD Sender: No OFD packet to send [03:15:29]OFD Sender: No OFD packet to send [03:15:34]OFD Sender: No OFD packet to send [03:15:39]OFD Sender: No OFD packet to send [03:15:44]OFD Sender: No OFD packet to send [03:15:49]OFD Sender: No OFD packet to send [03:15:54]OFD Sender: No OFD packet to send [03:15:59]OFD Sender: No OFD packet to send [03:16:04]OFD Sender: No OFD packet to send [03:16:09]OFD Sender: No OFD packet to send [03:16:14]OFD Sender: No OFD packet to send [03:16:19]OFD Sender: No OFD packet to send [03:16:24]OFD Sender: No OFD packet to send [03:16:29]OFD Sender: No OFD packet to send [03:16:34]OFD Sender: No OFD packet to send [03:16:39]OFD Sender: No OFD packet to send [03:16:44]OFD Sender: No OFD packet to send [03:16:49]OFD Sender: No OFD packet to send [03:16:54]OFD Sender: No OFD packet to send [03:16:59]OFD Sender: No OFD packet to send [03:17:04]OFD Sender: No OFD packet to send [03:17:09]OFD Sender: No OFD packet to send [03:17:14]OFD Sender: No OFD packet to send [03:17:19]OFD Sender: No OFD packet to send [03:17:24]OFD Sender: No OFD packet to send [03:17:29]OFD Sender: No OFD packet to send [03:17:34]OFD Sender: No OFD packet to send [03:17:39]OFD Sender: No OFD packet to send [03:17:44]OFD Sender: No OFD packet to send [03:17:49]OFD Sender: No OFD packet to send [03:17:54]OFD Sender: No OFD packet to send [03:17:59]OFD Sender: No OFD packet to send [03:18:04]OFD Sender: No OFD packet to send [03:18:09]OFD Sender: No OFD packet to send [03:18:14]OFD Sender: No OFD packet to send [03:18:19]OFD Sender: No OFD packet to send [03:18:24]OFD Sender: No OFD packet to send [03:18:29]OFD Sender: No OFD packet to send [03:18:34]OFD Sender: No OFD packet to send [03:18:39]OFD Sender: No OFD packet to send [03:18:44]OFD Sender: No OFD packet to send [03:18:49]OFD Sender: No OFD packet to send [03:18:54]OFD Sender: No OFD packet to send [03:18:59]OFD Sender: No OFD packet to send [03:19:04]OFD Sender: No OFD packet to send [03:19:09]OFD Sender: No OFD packet to send [03:19:14]OFD Sender: No OFD packet to send [03:19:19]OFD Sender: No OFD packet to send [03:19:24]OFD Sender: No OFD packet to send [03:19:29]OFD Sender: No OFD packet to send [03:19:34]OFD Sender: No OFD packet to send [03:19:39]OFD Sender: No OFD packet to send [03:19:45]OFD Sender: No OFD packet to send [03:19:50]OFD Sender: No OFD packet to send [03:19:55]OFD Sender: No OFD packet to send [03:20:00]OFD Sender: No OFD packet to send [03:20:05]OFD Sender: No OFD packet to send [03:20:10]OFD Sender: No OFD packet to send [03:20:15]OFD Sender: No OFD packet to send [03:20:20]OFD Sender: No OFD packet to send [03:20:25]OFD Sender: No OFD packet to send [03:20:30]OFD Sender: No OFD packet to send [03:20:35]OFD Sender: No OFD packet to send [03:20:40]OFD Sender: No OFD packet to send [03:20:45]OFD Sender: No OFD packet to send [03:20:50]OFD Sender: No OFD packet to send [03:20:55]OFD Sender: No OFD packet to send [03:21:00]OFD Sender: No OFD packet to send [03:21:05]OFD Sender: No OFD packet to send [03:21:10]OFD Sender: No OFD packet to send [03:21:15]OFD Sender: No OFD packet to send [03:21:20]OFD Sender: No OFD packet to send [03:21:25]OFD Sender: No OFD packet to send [03:21:30]OFD Sender: No OFD packet to send [03:21:35]OFD Sender: No OFD packet to send [03:21:40]OFD Sender: No OFD packet to send [03:21:45]OFD Sender: No OFD packet to send [03:21:50]OFD Sender: No OFD packet to send [03:21:55]OFD Sender: No OFD packet to send [03:22:00]OFD Sender: No OFD packet to send [03:22:05]OFD Sender: No OFD packet to send [03:22:10]OFD Sender: No OFD packet to send [03:22:15]OFD Sender: No OFD packet to send [03:22:20]OFD Sender: No OFD packet to send [03:22:25]OFD Sender: No OFD packet to send [03:22:30]OFD Sender: No OFD packet to send [03:22:35]OFD Sender: No OFD packet to send [03:22:40]OFD Sender: No OFD packet to send [03:22:45]OFD Sender: No OFD packet to send [03:22:50]OFD Sender: No OFD packet to send [03:22:55]OFD Sender: No OFD packet to send [03:23:00]OFD Sender: No OFD packet to send [03:23:05]OFD Sender: No OFD packet to send [03:23:10]OFD Sender: No OFD packet to send [03:23:15]OFD Sender: No OFD packet to send [03:23:20]OFD Sender: No OFD packet to send [03:23:25]OFD Sender: No OFD packet to send [03:23:30]OFD Sender: No OFD packet to send [03:23:35]OFD Sender: No OFD packet to send [03:23:40]OFD Sender: No OFD packet to send [03:23:45]OFD Sender: No OFD packet to send [03:23:50]OFD Sender: No OFD packet to send [03:23:55]OFD Sender: No OFD packet to send [03:24:00]OFD Sender: No OFD packet to send [03:24:05]OFD Sender: No OFD packet to send [03:24:10]OFD Sender: No OFD packet to send [03:24:15]OFD Sender: No OFD packet to send [03:24:20]OFD Sender: No OFD packet to send [03:24:25]OFD Sender: No OFD packet to send [03:24:30]OFD Sender: No OFD packet to send [03:24:35]OFD Sender: No OFD packet to send [03:24:40]OFD Sender: No OFD packet to send [03:24:45]OFD Sender: No OFD packet to send [03:24:50]OFD Sender: No OFD packet to send [03:24:55]OFD Sender: No OFD packet to send [03:25:00]OFD Sender: No OFD packet to send [03:25:05]OFD Sender: No OFD packet to send [03:25:10]OFD Sender: No OFD packet to send [03:25:15]OFD Sender: No OFD packet to send [03:25:20]OFD Sender: No OFD packet to send [03:25:25]OFD Sender: No OFD packet to send [03:25:30]OFD Sender: No OFD packet to send [03:25:35]OFD Sender: No OFD packet to send [03:25:40]OFD Sender: No OFD packet to send [03:25:45]OFD Sender: No OFD packet to send [03:25:50]OFD Sender: No OFD packet to send [03:25:55]OFD Sender: No OFD packet to send [03:26:00]OFD Sender: No OFD packet to send [03:26:05]OFD Sender: No OFD packet to send [03:26:10]OFD Sender: No OFD packet to send [03:26:15]OFD Sender: No OFD packet to send [03:26:20]OFD Sender: No OFD packet to send [03:26:25]OFD Sender: No OFD packet to send [03:26:30]OFD Sender: No OFD packet to send [03:26:35]OFD Sender: No OFD packet to send [03:26:40]OFD Sender: No OFD packet to send [03:26:45]OFD Sender: No OFD packet to send [03:26:50]OFD Sender: No OFD packet to send [03:26:55]OFD Sender: No OFD packet to send [03:27:00]OFD Sender: No OFD packet to send [03:27:05]OFD Sender: No OFD packet to send [03:27:10]OFD Sender: No OFD packet to send [03:27:15]OFD Sender: No OFD packet to send [03:27:20]OFD Sender: No OFD packet to send [03:27:25]OFD Sender: No OFD packet to send [03:27:30]OFD Sender: No OFD packet to send [03:27:35]OFD Sender: No OFD packet to send [03:27:40]OFD Sender: No OFD packet to send [03:27:45]OFD Sender: No OFD packet to send [03:27:50]OFD Sender: No OFD packet to send [03:27:55]OFD Sender: No OFD packet to send [03:28:00]OFD Sender: No OFD packet to send [03:28:05]OFD Sender: No OFD packet to send [03:28:10]OFD Sender: No OFD packet to send [03:28:15]OFD Sender: No OFD packet to send [03:28:20]OFD Sender: No OFD packet to send [03:28:25]OFD Sender: No OFD packet to send [03:28:30]OFD Sender: No OFD packet to send [03:28:35]OFD Sender: No OFD packet to send [03:28:40]OFD Sender: No OFD packet to send [03:28:45]OFD Sender: No OFD packet to send [03:28:50]OFD Sender: No OFD packet to send [03:28:55]OFD Sender: No OFD packet to send [03:29:00]OFD Sender: No OFD packet to send [03:29:05]OFD Sender: No OFD packet to send [03:29:10]OFD Sender: No OFD packet to send [03:29:15]OFD Sender: No OFD packet to send [03:29:20]OFD Sender: No OFD packet to send [03:29:25]OFD Sender: No OFD packet to send [03:29:30]OFD Sender: No OFD packet to send [03:29:35]OFD Sender: No OFD packet to send [03:29:40]OFD Sender: No OFD packet to send [03:29:45]OFD Sender: No OFD packet to send [03:29:50]OFD Sender: No OFD packet to send [03:29:55]OFD Sender: No OFD packet to send [03:30:00]OFD Sender: No OFD packet to send [03:30:05]OFD Sender: No OFD packet to send [03:30:10]OFD Sender: No OFD packet to send [03:30:15]OFD Sender: No OFD packet to send [03:30:20]OFD Sender: No OFD packet to send [03:30:25]OFD Sender: No OFD packet to send [03:30:30]OFD Sender: No OFD packet to send [03:30:35]OFD Sender: No OFD packet to send [03:30:40]OFD Sender: No OFD packet to send [03:30:45]OFD Sender: No OFD packet to send [03:30:50]OFD Sender: No OFD packet to send [03:30:55]OFD Sender: No OFD packet to send [03:31:00]OFD Sender: No OFD packet to send [03:31:05]OFD Sender: No OFD packet to send [03:31:10]OFD Sender: No OFD packet to send [03:31:15]OFD Sender: No OFD packet to send [03:31:20]OFD Sender: No OFD packet to send [03:31:25]OFD Sender: No OFD packet to send [03:31:30]OFD Sender: No OFD packet to send [03:31:35]OFD Sender: No OFD packet to send [03:31:40]OFD Sender: No OFD packet to send [03:31:45]OFD Sender: No OFD packet to send [03:31:50]OFD Sender: No OFD packet to send [03:31:55]OFD Sender: No OFD packet to send [03:32:00]OFD Sender: No OFD packet to send [03:32:05]OFD Sender: No OFD packet to send [03:32:10]OFD Sender: No OFD packet to send [03:32:15]OFD Sender: No OFD packet to send [03:32:20]OFD Sender: No OFD packet to send [03:32:25]OFD Sender: No OFD packet to send [03:32:30]OFD Sender: No OFD packet to send [03:32:35]OFD Sender: No OFD packet to send [03:32:40]OFD Sender: No OFD packet to send [03:32:45]OFD Sender: No OFD packet to send [03:32:50]OFD Sender: No OFD packet to send [03:32:55]OFD Sender: No OFD packet to send [03:33:00]OFD Sender: No OFD packet to send [03:33:05]OFD Sender: No OFD packet to send [03:33:10]OFD Sender: No OFD packet to send [03:33:15]OFD Sender: No OFD packet to send [03:33:20]OFD Sender: No OFD packet to send [03:33:25]OFD Sender: No OFD packet to send [03:33:30]OFD Sender: No OFD packet to send [03:33:35]OFD Sender: No OFD packet to send [03:33:40]OFD Sender: No OFD packet to send [03:33:45]OFD Sender: No OFD packet to send [03:33:50]OFD Sender: No OFD packet to send [03:33:55]OFD Sender: No OFD packet to send [03:34:00]OFD Sender: No OFD packet to send [03:34:05]OFD Sender: No OFD packet to send [03:34:10]OFD Sender: No OFD packet to send [03:34:15]OFD Sender: No OFD packet to send [03:34:20]OFD Sender: No OFD packet to send [03:34:25]OFD Sender: No OFD packet to send [03:34:30]OFD Sender: No OFD packet to send [03:34:35]OFD Sender: No OFD packet to send [03:34:40]OFD Sender: No OFD packet to send [03:34:45]OFD Sender: No OFD packet to send [03:34:50]OFD Sender: No OFD packet to send [03:34:55]OFD Sender: No OFD packet to send [03:35:00]OFD Sender: No OFD packet to send [03:35:05]OFD Sender: No OFD packet to send [03:35:10]OFD Sender: No OFD packet to send [03:35:15]OFD Sender: No OFD packet to send [03:35:20]OFD Sender: No OFD packet to send [03:35:25]OFD Sender: No OFD packet to send [03:35:30]OFD Sender: No OFD packet to send [03:35:35]OFD Sender: No OFD packet to send [03:35:40]OFD Sender: No OFD packet to send [03:35:45]OFD Sender: No OFD packet to send [03:35:50]OFD Sender: No OFD packet to send [03:35:55]OFD Sender: No OFD packet to send [03:36:00]OFD Sender: No OFD packet to send [03:36:05]OFD Sender: No OFD packet to send [03:36:10]OFD Sender: No OFD packet to send [03:36:15]OFD Sender: No OFD packet to send [03:36:20]OFD Sender: No OFD packet to send [03:36:25]OFD Sender: No OFD packet to send [03:36:30]OFD Sender: No OFD packet to send [03:36:35]OFD Sender: No OFD packet to send [03:36:40]OFD Sender: No OFD packet to send [03:36:45]OFD Sender: No OFD packet to send [03:36:50]OFD Sender: No OFD packet to send [03:36:55]OFD Sender: No OFD packet to send [03:37:00]OFD Sender: No OFD packet to send [03:37:05]OFD Sender: No OFD packet to send [03:37:10]OFD Sender: No OFD packet to send [03:37:15]OFD Sender: No OFD packet to send [03:37:20]OFD Sender: No OFD packet to send [03:37:25]OFD Sender: No OFD packet to send [03:37:30]OFD Sender: No OFD packet to send [03:37:35]OFD Sender: No OFD packet to send [03:37:40]OFD Sender: No OFD packet to send [03:37:45]OFD Sender: No OFD packet to send [03:37:50]OFD Sender: No OFD packet to send [03:37:55]OFD Sender: No OFD packet to send [03:38:00]OFD Sender: No OFD packet to send [03:38:05]OFD Sender: No OFD packet to send [03:38:10]OFD Sender: No OFD packet to send [03:38:15]OFD Sender: No OFD packet to send [03:38:20]OFD Sender: No OFD packet to send [03:38:25]OFD Sender: No OFD packet to send [03:38:30]OFD Sender: No OFD packet to send [03:38:35]OFD Sender: No OFD packet to send [03:38:40]OFD Sender: No OFD packet to send [03:38:45]OFD Sender: No OFD packet to send [03:38:50]OFD Sender: No OFD packet to send [03:38:55]OFD Sender: No OFD packet to send [03:39:00]OFD Sender: No OFD packet to send [03:39:05]OFD Sender: No OFD packet to send [03:39:10]OFD Sender: No OFD packet to send [03:39:15]OFD Sender: No OFD packet to send [03:39:20]OFD Sender: No OFD packet to send [03:39:25]OFD Sender: No OFD packet to send [03:39:30]OFD Sender: No OFD packet to send [03:39:35]OFD Sender: No OFD packet to send [03:39:40]OFD Sender: No OFD packet to send [03:39:45]OFD Sender: No OFD packet to send [03:39:50]OFD Sender: No OFD packet to send [03:39:55]OFD Sender: No OFD packet to send [03:40:00]OFD Sender: No OFD packet to send [03:40:05]OFD Sender: No OFD packet to send [03:40:10]OFD Sender: No OFD packet to send [03:40:15]OFD Sender: No OFD packet to send [03:40:20]OFD Sender: No OFD packet to send [03:40:25]OFD Sender: No OFD packet to send [03:40:30]OFD Sender: No OFD packet to send [03:40:35]OFD Sender: No OFD packet to send [03:40:40]OFD Sender: No OFD packet to send [03:40:45]OFD Sender: No OFD packet to send [03:40:50]OFD Sender: No OFD packet to send [03:40:55]OFD Sender: No OFD packet to send [03:41:00]OFD Sender: No OFD packet to send [03:41:05]OFD Sender: No OFD packet to send [03:41:10]OFD Sender: No OFD packet to send [03:41:15]OFD Sender: No OFD packet to send [03:41:20]OFD Sender: No OFD packet to send [03:41:25]OFD Sender: No OFD packet to send [03:41:30]OFD Sender: No OFD packet to send [03:41:35]OFD Sender: No OFD packet to send [03:41:40]OFD Sender: No OFD packet to send [03:41:45]OFD Sender: No OFD packet to send [03:41:51]OFD Sender: No OFD packet to send [03:41:56]OFD Sender: No OFD packet to send [03:42:01]OFD Sender: No OFD packet to send [03:42:06]OFD Sender: No OFD packet to send [03:42:11]OFD Sender: No OFD packet to send [03:42:16]OFD Sender: No OFD packet to send [03:42:21]OFD Sender: No OFD packet to send [03:42:26]OFD Sender: No OFD packet to send [03:42:31]OFD Sender: No OFD packet to send [03:42:36]OFD Sender: No OFD packet to send [03:42:41]OFD Sender: No OFD packet to send [03:42:46]OFD Sender: No OFD packet to send [03:42:51]OFD Sender: No OFD packet to send [03:42:56]OFD Sender: No OFD packet to send [03:43:01]OFD Sender: No OFD packet to send [03:43:06]OFD Sender: No OFD packet to send [03:43:11]OFD Sender: No OFD packet to send [03:43:16]OFD Sender: No OFD packet to send [03:43:21]OFD Sender: No OFD packet to send [03:43:26]OFD Sender: No OFD packet to send [03:43:31]OFD Sender: No OFD packet to send [03:43:36]OFD Sender: No OFD packet to send [03:43:41]OFD Sender: No OFD packet to send [03:43:46]OFD Sender: No OFD packet to send [03:43:51]OFD Sender: No OFD packet to send [03:43:56]OFD Sender: No OFD packet to send [03:44:01]OFD Sender: No OFD packet to send [03:44:06]OFD Sender: No OFD packet to send [03:44:11]OFD Sender: No OFD packet to send [03:44:16]OFD Sender: No OFD packet to send [03:44:21]OFD Sender: No OFD packet to send [03:44:26]OFD Sender: No OFD packet to send [03:44:31]OFD Sender: No OFD packet to send [03:44:36]OFD Sender: No OFD packet to send [03:44:41]OFD Sender: No OFD packet to send [03:44:46]OFD Sender: No OFD packet to send [03:44:51]OFD Sender: No OFD packet to send [03:44:56]OFD Sender: No OFD packet to send [03:45:01]OFD Sender: No OFD packet to send [03:45:06]OFD Sender: No OFD packet to send [03:45:11]OFD Sender: No OFD packet to send [03:45:16]OFD Sender: No OFD packet to send [03:45:21]OFD Sender: No OFD packet to send [03:45:26]OFD Sender: No OFD packet to send [03:45:31]OFD Sender: No OFD packet to send [03:45:36]OFD Sender: No OFD packet to send [03:45:41]OFD Sender: No OFD packet to send [03:45:46]OFD Sender: No OFD packet to send [03:45:51]OFD Sender: No OFD packet to send [03:45:56]OFD Sender: No OFD packet to send [03:46:01]OFD Sender: No OFD packet to send [03:46:06]OFD Sender: No OFD packet to send [03:46:11]OFD Sender: No OFD packet to send [03:46:16]OFD Sender: No OFD packet to send [03:46:21]OFD Sender: No OFD packet to send [03:46:26]OFD Sender: No OFD packet to send [03:46:31]OFD Sender: No OFD packet to send [03:46:36]OFD Sender: No OFD packet to send [03:46:41]OFD Sender: No OFD packet to send [03:46:46]OFD Sender: No OFD packet to send [03:46:51]OFD Sender: No OFD packet to send [03:46:56]OFD Sender: No OFD packet to send [03:47:01]OFD Sender: No OFD packet to send [03:47:06]OFD Sender: No OFD packet to send [03:47:11]OFD Sender: No OFD packet to send [03:47:16]OFD Sender: No OFD packet to send [03:47:21]OFD Sender: No OFD packet to send [03:47:26]OFD Sender: No OFD packet to send [03:47:31]OFD Sender: No OFD packet to send [03:47:36]OFD Sender: No OFD packet to send [03:47:41]OFD Sender: No OFD packet to send [03:47:46]OFD Sender: No OFD packet to send [03:47:51]OFD Sender: No OFD packet to send [03:47:56]OFD Sender: No OFD packet to send [03:48:01]OFD Sender: No OFD packet to send [03:48:06]OFD Sender: No OFD packet to send [03:48:11]OFD Sender: No OFD packet to send [03:48:16]OFD Sender: No OFD packet to send [03:48:21]OFD Sender: No OFD packet to send [03:48:26]OFD Sender: No OFD packet to send [03:48:31]OFD Sender: No OFD packet to send [03:48:36]OFD Sender: No OFD packet to send [03:48:41]OFD Sender: No OFD packet to send [03:48:46]OFD Sender: No OFD packet to send [03:48:51]OFD Sender: No OFD packet to send [03:48:56]OFD Sender: No OFD packet to send [03:49:01]OFD Sender: No OFD packet to send [03:49:06]OFD Sender: No OFD packet to send [03:49:11]OFD Sender: No OFD packet to send [03:49:16]OFD Sender: No OFD packet to send [03:49:21]OFD Sender: No OFD packet to send [03:49:26]OFD Sender: No OFD packet to send [03:49:31]OFD Sender: No OFD packet to send [03:49:36]OFD Sender: No OFD packet to send [03:49:41]OFD Sender: No OFD packet to send [03:49:46]OFD Sender: No OFD packet to send [03:49:51]OFD Sender: No OFD packet to send [03:49:56]OFD Sender: No OFD packet to send [03:50:01]OFD Sender: No OFD packet to send [03:50:06]OFD Sender: No OFD packet to send [03:50:11]OFD Sender: No OFD packet to send [03:50:16]OFD Sender: No OFD packet to send [03:50:21]OFD Sender: No OFD packet to send [03:50:26]OFD Sender: No OFD packet to send [03:50:31]OFD Sender: No OFD packet to send [03:50:36]OFD Sender: No OFD packet to send [03:50:41]OFD Sender: No OFD packet to send [03:50:46]OFD Sender: No OFD packet to send [03:50:51]OFD Sender: No OFD packet to send [03:50:56]OFD Sender: No OFD packet to send [03:51:01]OFD Sender: No OFD packet to send [03:51:06]OFD Sender: No OFD packet to send [03:51:11]OFD Sender: No OFD packet to send [03:51:16]OFD Sender: No OFD packet to send [03:51:21]OFD Sender: No OFD packet to send [03:51:26]OFD Sender: No OFD packet to send [03:51:31]OFD Sender: No OFD packet to send [03:51:36]OFD Sender: No OFD packet to send [03:51:41]OFD Sender: No OFD packet to send [03:51:46]OFD Sender: No OFD packet to send [03:51:51]OFD Sender: No OFD packet to send [03:51:56]OFD Sender: No OFD packet to send [03:52:01]OFD Sender: No OFD packet to send [03:52:06]OFD Sender: No OFD packet to send [03:52:11]OFD Sender: No OFD packet to send [03:52:16]OFD Sender: No OFD packet to send [03:52:21]OFD Sender: No OFD packet to send [03:52:26]OFD Sender: No OFD packet to send [03:52:31]OFD Sender: No OFD packet to send [03:52:36]OFD Sender: No OFD packet to send [03:52:41]OFD Sender: No OFD packet to send [03:52:46]OFD Sender: No OFD packet to send [03:52:51]OFD Sender: No OFD packet to send [03:52:56]OFD Sender: No OFD packet to send [03:53:01]OFD Sender: No OFD packet to send [03:53:06]OFD Sender: No OFD packet to send [03:53:11]OFD Sender: No OFD packet to send [03:53:16]OFD Sender: No OFD packet to send [03:53:21]OFD Sender: No OFD packet to send [03:53:26]OFD Sender: No OFD packet to send [03:53:31]OFD Sender: No OFD packet to send [03:53:36]OFD Sender: No OFD packet to send [03:53:41]OFD Sender: No OFD packet to send [03:53:46]OFD Sender: No OFD packet to send [03:53:51]OFD Sender: No OFD packet to send [03:53:56]OFD Sender: No OFD packet to send [03:54:01]OFD Sender: No OFD packet to send [03:54:06]OFD Sender: No OFD packet to send [03:54:11]OFD Sender: No OFD packet to send [03:54:16]OFD Sender: No OFD packet to send [03:54:21]OFD Sender: No OFD packet to send [03:54:26]OFD Sender: No OFD packet to send [03:54:31]OFD Sender: No OFD packet to send [03:54:36]OFD Sender: No OFD packet to send [03:54:41]OFD Sender: No OFD packet to send [03:54:46]OFD Sender: No OFD packet to send [03:54:51]OFD Sender: No OFD packet to send [03:54:56]OFD Sender: No OFD packet to send [03:55:01]OFD Sender: No OFD packet to send [03:55:06]OFD Sender: No OFD packet to send [03:55:11]OFD Sender: No OFD packet to send [03:55:16]OFD Sender: No OFD packet to send [03:55:21]OFD Sender: No OFD packet to send [03:55:26]OFD Sender: No OFD packet to send [03:55:31]OFD Sender: No OFD packet to send [03:55:36]OFD Sender: No OFD packet to send [03:55:41]OFD Sender: No OFD packet to send [03:55:46]OFD Sender: No OFD packet to send [03:55:51]OFD Sender: No OFD packet to send [03:55:56]OFD Sender: No OFD packet to send [03:56:01]OFD Sender: No OFD packet to send [03:56:06]OFD Sender: No OFD packet to send [03:56:11]OFD Sender: No OFD packet to send [03:56:16]OFD Sender: No OFD packet to send [03:56:21]OFD Sender: No OFD packet to send [03:56:26]OFD Sender: No OFD packet to send [03:56:31]OFD Sender: No OFD packet to send [03:56:36]OFD Sender: No OFD packet to send [03:56:41]OFD Sender: No OFD packet to send [03:56:46]OFD Sender: No OFD packet to send [03:56:51]OFD Sender: No OFD packet to send [03:56:56]OFD Sender: No OFD packet to send [03:57:01]OFD Sender: No OFD packet to send [03:57:06]OFD Sender: No OFD packet to send [03:57:11]OFD Sender: No OFD packet to send [03:57:16]OFD Sender: No OFD packet to send [03:57:21]OFD Sender: No OFD packet to send [03:57:26]OFD Sender: No OFD packet to send [03:57:31]OFD Sender: No OFD packet to send [03:57:36]OFD Sender: No OFD packet to send [03:57:41]OFD Sender: No OFD packet to send [03:57:46]OFD Sender: No OFD packet to send [03:57:51]OFD Sender: No OFD packet to send [03:57:56]OFD Sender: No OFD packet to send [03:58:01]OFD Sender: No OFD packet to send [03:58:06]OFD Sender: No OFD packet to send [03:58:11]OFD Sender: No OFD packet to send [03:58:16]OFD Sender: No OFD packet to send [03:58:21]OFD Sender: No OFD packet to send [03:58:26]OFD Sender: No OFD packet to send [03:58:31]OFD Sender: No OFD packet to send [03:58:36]OFD Sender: No OFD packet to send [03:58:41]OFD Sender: No OFD packet to send [03:58:46]OFD Sender: No OFD packet to send [03:58:51]OFD Sender: No OFD packet to send [03:58:56]OFD Sender: No OFD packet to send [03:59:01]OFD Sender: No OFD packet to send [03:59:06]OFD Sender: No OFD packet to send [03:59:11]OFD Sender: No OFD packet to send [03:59:16]OFD Sender: No OFD packet to send [03:59:21]OFD Sender: No OFD packet to send [03:59:26]OFD Sender: No OFD packet to send [03:59:31]OFD Sender: No OFD packet to send [03:59:36]OFD Sender: No OFD packet to send [03:59:41]OFD Sender: No OFD packet to send [03:59:46]OFD Sender: No OFD packet to send [03:59:51]OFD Sender: No OFD packet to send [03:59:56]OFD Sender: No OFD packet to send [04:00:01]OFD Sender: No OFD packet to send [04:00:06]OFD Sender: No OFD packet to send [04:00:11]OFD Sender: No OFD packet to send [04:00:16]OFD Sender: No OFD packet to send [04:00:21]OFD Sender: No OFD packet to send [04:00:26]OFD Sender: No OFD packet to send [04:00:31]OFD Sender: No OFD packet to send [04:00:36]OFD Sender: No OFD packet to send [04:00:41]OFD Sender: No OFD packet to send [04:00:46]OFD Sender: No OFD packet to send [04:00:51]OFD Sender: No OFD packet to send [04:00:56]OFD Sender: No OFD packet to send [04:01:01]OFD Sender: No OFD packet to send [04:01:06]OFD Sender: No OFD packet to send [04:01:11]OFD Sender: No OFD packet to send [04:01:16]OFD Sender: No OFD packet to send [04:01:21]OFD Sender: No OFD packet to send [04:01:26]OFD Sender: No OFD packet to send [04:01:31]OFD Sender: No OFD packet to send [04:01:36]OFD Sender: No OFD packet to send [04:01:41]OFD Sender: No OFD packet to send [04:01:46]OFD Sender: No OFD packet to send [04:01:51]OFD Sender: No OFD packet to send [04:01:56]OFD Sender: No OFD packet to send [04:02:01]OFD Sender: No OFD packet to send [04:02:06]OFD Sender: No OFD packet to send [04:02:11]OFD Sender: No OFD packet to send [04:02:16]OFD Sender: No OFD packet to send [04:02:21]OFD Sender: No OFD packet to send [04:02:26]OFD Sender: No OFD packet to send [04:02:31]OFD Sender: No OFD packet to send [04:02:36]OFD Sender: No OFD packet to send [04:02:41]OFD Sender: No OFD packet to send [04:02:46]OFD Sender: No OFD packet to send [04:02:51]OFD Sender: No OFD packet to send [04:02:56]OFD Sender: No OFD packet to send [04:03:01]OFD Sender: No OFD packet to send [04:03:06]OFD Sender: No OFD packet to send [04:03:11]OFD Sender: No OFD packet to send [04:03:16]OFD Sender: No OFD packet to send [04:03:21]OFD Sender: No OFD packet to send [04:03:26]OFD Sender: No OFD packet to send [04:03:31]OFD Sender: No OFD packet to send [04:03:36]OFD Sender: No OFD packet to send [04:03:41]OFD Sender: No OFD packet to send [04:03:47]OFD Sender: No OFD packet to send [04:03:52]OFD Sender: No OFD packet to send [04:03:57]OFD Sender: No OFD packet to send [04:04:02]OFD Sender: No OFD packet to send [04:04:07]OFD Sender: No OFD packet to send [04:04:12]OFD Sender: No OFD packet to send [04:04:17]OFD Sender: No OFD packet to send [04:04:22]OFD Sender: No OFD packet to send [04:04:27]OFD Sender: No OFD packet to send [04:04:32]OFD Sender: No OFD packet to send [04:04:37]OFD Sender: No OFD packet to send [04:04:42]OFD Sender: No OFD packet to send [04:04:47]OFD Sender: No OFD packet to send [04:04:52]OFD Sender: No OFD packet to send [04:04:57]OFD Sender: No OFD packet to send [04:05:02]OFD Sender: No OFD packet to send [04:05:07]OFD Sender: No OFD packet to send [04:05:12]OFD Sender: No OFD packet to send [04:05:17]OFD Sender: No OFD packet to send [04:05:22]OFD Sender: No OFD packet to send [04:05:27]OFD Sender: No OFD packet to send [04:05:32]OFD Sender: No OFD packet to send [04:05:37]OFD Sender: No OFD packet to send [04:05:42]OFD Sender: No OFD packet to send [04:05:47]OFD Sender: No OFD packet to send [04:05:52]OFD Sender: No OFD packet to send [04:05:57]OFD Sender: No OFD packet to send [04:06:02]OFD Sender: No OFD packet to send [04:06:07]OFD Sender: No OFD packet to send [04:06:12]OFD Sender: No OFD packet to send [04:06:17]OFD Sender: No OFD packet to send [04:06:22]OFD Sender: No OFD packet to send [04:06:27]OFD Sender: No OFD packet to send [04:06:32]OFD Sender: No OFD packet to send [04:06:37]OFD Sender: No OFD packet to send [04:06:42]OFD Sender: No OFD packet to send [04:06:47]OFD Sender: No OFD packet to send [04:06:52]OFD Sender: No OFD packet to send [04:06:57]OFD Sender: No OFD packet to send [04:07:02]OFD Sender: No OFD packet to send [04:07:07]OFD Sender: No OFD packet to send [04:07:12]OFD Sender: No OFD packet to send [04:07:17]OFD Sender: No OFD packet to send [04:07:22]OFD Sender: No OFD packet to send [04:07:27]OFD Sender: No OFD packet to send [04:07:32]OFD Sender: No OFD packet to send [04:07:37]OFD Sender: No OFD packet to send [04:07:42]OFD Sender: No OFD packet to send [04:07:47]OFD Sender: No OFD packet to send [04:07:52]OFD Sender: No OFD packet to send [04:07:57]OFD Sender: No OFD packet to send [04:08:02]OFD Sender: No OFD packet to send [04:08:07]OFD Sender: No OFD packet to send [04:08:12]OFD Sender: No OFD packet to send [04:08:17]OFD Sender: No OFD packet to send [04:08:22]OFD Sender: No OFD packet to send [04:08:27]OFD Sender: No OFD packet to send [04:08:32]OFD Sender: No OFD packet to send [04:08:37]OFD Sender: No OFD packet to send [04:08:42]OFD Sender: No OFD packet to send [04:08:47]OFD Sender: No OFD packet to send [04:08:52]OFD Sender: No OFD packet to send [04:08:57]OFD Sender: No OFD packet to send [04:09:02]OFD Sender: No OFD packet to send [04:09:07]OFD Sender: No OFD packet to send [04:09:12]OFD Sender: No OFD packet to send [04:09:17]OFD Sender: No OFD packet to send [04:09:22]OFD Sender: No OFD packet to send [04:09:27]OFD Sender: No OFD packet to send [04:09:32]OFD Sender: No OFD packet to send [04:09:37]OFD Sender: No OFD packet to send [04:09:42]OFD Sender: No OFD packet to send [04:09:47]OFD Sender: No OFD packet to send [04:09:52]OFD Sender: No OFD packet to send [04:09:57]OFD Sender: No OFD packet to send [04:10:02]OFD Sender: No OFD packet to send [04:10:07]OFD Sender: No OFD packet to send [04:10:12]OFD Sender: No OFD packet to send [04:10:17]OFD Sender: No OFD packet to send [04:10:22]OFD Sender: No OFD packet to send [04:10:27]OFD Sender: No OFD packet to send [04:10:32]OFD Sender: No OFD packet to send [04:10:37]OFD Sender: No OFD packet to send [04:10:42]OFD Sender: No OFD packet to send [04:10:47]OFD Sender: No OFD packet to send [04:10:52]OFD Sender: No OFD packet to send [04:10:57]OFD Sender: No OFD packet to send [04:11:02]OFD Sender: No OFD packet to send [04:11:07]OFD Sender: No OFD packet to send [04:11:12]OFD Sender: No OFD packet to send [04:11:17]OFD Sender: No OFD packet to send [04:11:22]OFD Sender: No OFD packet to send [04:11:27]OFD Sender: No OFD packet to send [04:11:32]OFD Sender: No OFD packet to send [04:11:37]OFD Sender: No OFD packet to send [04:11:42]OFD Sender: No OFD packet to send [04:11:47]OFD Sender: No OFD packet to send [04:11:52]OFD Sender: No OFD packet to send [04:11:57]OFD Sender: No OFD packet to send [04:12:02]OFD Sender: No OFD packet to send [04:12:07]OFD Sender: No OFD packet to send [04:12:12]OFD Sender: No OFD packet to send [04:12:17]OFD Sender: No OFD packet to send [04:12:22]OFD Sender: No OFD packet to send [04:12:27]OFD Sender: No OFD packet to send [04:12:32]OFD Sender: No OFD packet to send [04:12:37]OFD Sender: No OFD packet to send [04:12:42]OFD Sender: No OFD packet to send [04:12:47]OFD Sender: No OFD packet to send [04:12:52]OFD Sender: No OFD packet to send [04:12:57]OFD Sender: No OFD packet to send [04:13:02]OFD Sender: No OFD packet to send [04:13:07]OFD Sender: No OFD packet to send [04:13:12]OFD Sender: No OFD packet to send [04:13:17]OFD Sender: No OFD packet to send [04:13:22]OFD Sender: No OFD packet to send [04:13:27]OFD Sender: No OFD packet to send [04:13:32]OFD Sender: No OFD packet to send [04:13:37]OFD Sender: No OFD packet to send [04:13:42]OFD Sender: No OFD packet to send [04:13:47]OFD Sender: No OFD packet to send [04:13:52]OFD Sender: No OFD packet to send [04:13:57]OFD Sender: No OFD packet to send [04:14:02]OFD Sender: No OFD packet to send [04:14:07]OFD Sender: No OFD packet to send [04:14:12]OFD Sender: No OFD packet to send [04:14:17]OFD Sender: No OFD packet to send [04:14:22]OFD Sender: No OFD packet to send [04:14:27]OFD Sender: No OFD packet to send [04:14:32]OFD Sender: No OFD packet to send [04:14:37]OFD Sender: No OFD packet to send [04:14:42]OFD Sender: No OFD packet to send [04:14:47]OFD Sender: No OFD packet to send [04:14:52]OFD Sender: No OFD packet to send [04:14:57]OFD Sender: No OFD packet to send [04:15:02]OFD Sender: No OFD packet to send [04:15:07]OFD Sender: No OFD packet to send [04:15:12]OFD Sender: No OFD packet to send [04:15:17]OFD Sender: No OFD packet to send [04:15:22]OFD Sender: No OFD packet to send [04:15:27]OFD Sender: No OFD packet to send [04:15:32]OFD Sender: No OFD packet to send [04:15:37]OFD Sender: No OFD packet to send [04:15:42]OFD Sender: No OFD packet to send [04:15:47]OFD Sender: No OFD packet to send [04:15:52]OFD Sender: No OFD packet to send [04:15:57]OFD Sender: No OFD packet to send [04:16:02]OFD Sender: No OFD packet to send [04:16:07]OFD Sender: No OFD packet to send [04:16:12]OFD Sender: No OFD packet to send [04:16:17]OFD Sender: No OFD packet to send [04:16:22]OFD Sender: No OFD packet to send [04:16:27]OFD Sender: No OFD packet to send [04:16:32]OFD Sender: No OFD packet to send [04:16:37]OFD Sender: No OFD packet to send [04:16:42]OFD Sender: No OFD packet to send [04:16:47]OFD Sender: No OFD packet to send [04:16:52]OFD Sender: No OFD packet to send [04:16:57]OFD Sender: No OFD packet to send [04:17:02]OFD Sender: No OFD packet to send [04:17:07]OFD Sender: No OFD packet to send [04:17:12]OFD Sender: No OFD packet to send [04:17:17]OFD Sender: No OFD packet to send [04:17:22]OFD Sender: No OFD packet to send [04:17:27]OFD Sender: No OFD packet to send [04:17:32]OFD Sender: No OFD packet to send [04:17:37]OFD Sender: No OFD packet to send [04:17:42]OFD Sender: No OFD packet to send [04:17:47]OFD Sender: No OFD packet to send [04:17:52]OFD Sender: No OFD packet to send [04:17:57]OFD Sender: No OFD packet to send [04:18:02]OFD Sender: No OFD packet to send [04:18:07]OFD Sender: No OFD packet to send [04:18:12]OFD Sender: No OFD packet to send [04:18:17]OFD Sender: No OFD packet to send [04:18:22]OFD Sender: No OFD packet to send [04:18:27]OFD Sender: No OFD packet to send [04:18:32]OFD Sender: No OFD packet to send [04:18:37]OFD Sender: No OFD packet to send [04:18:42]OFD Sender: No OFD packet to send [04:18:47]OFD Sender: No OFD packet to send [04:18:52]OFD Sender: No OFD packet to send [04:18:57]OFD Sender: No OFD packet to send [04:19:02]OFD Sender: No OFD packet to send [04:19:07]OFD Sender: No OFD packet to send [04:19:12]OFD Sender: No OFD packet to send [04:19:17]OFD Sender: No OFD packet to send [04:19:22]OFD Sender: No OFD packet to send [04:19:27]OFD Sender: No OFD packet to send [04:19:32]OFD Sender: No OFD packet to send [04:19:37]OFD Sender: No OFD packet to send [04:19:42]OFD Sender: No OFD packet to send [04:19:47]OFD Sender: No OFD packet to send [04:19:52]OFD Sender: No OFD packet to send [04:19:57]OFD Sender: No OFD packet to send [04:20:02]OFD Sender: No OFD packet to send [04:20:07]OFD Sender: No OFD packet to send [04:20:12]OFD Sender: No OFD packet to send [04:20:17]OFD Sender: No OFD packet to send [04:20:22]OFD Sender: No OFD packet to send [04:20:27]OFD Sender: No OFD packet to send [04:20:32]OFD Sender: No OFD packet to send [04:20:37]OFD Sender: No OFD packet to send [04:20:42]OFD Sender: No OFD packet to send [04:20:47]OFD Sender: No OFD packet to send [04:20:52]OFD Sender: No OFD packet to send [04:20:57]OFD Sender: No OFD packet to send [04:21:02]OFD Sender: No OFD packet to send [04:21:07]OFD Sender: No OFD packet to send [04:21:12]OFD Sender: No OFD packet to send [04:21:17]OFD Sender: No OFD packet to send [04:21:22]OFD Sender: No OFD packet to send [04:21:27]OFD Sender: No OFD packet to send [04:21:32]OFD Sender: No OFD packet to send [04:21:37]OFD Sender: No OFD packet to send [04:21:42]OFD Sender: No OFD packet to send [04:21:47]OFD Sender: No OFD packet to send [04:21:52]OFD Sender: No OFD packet to send [04:21:57]OFD Sender: No OFD packet to send [04:22:02]OFD Sender: No OFD packet to send [04:22:07]OFD Sender: No OFD packet to send [04:22:12]OFD Sender: No OFD packet to send [04:22:17]OFD Sender: No OFD packet to send [04:22:22]OFD Sender: No OFD packet to send [04:22:27]OFD Sender: No OFD packet to send [04:22:32]OFD Sender: No OFD packet to send [04:22:37]OFD Sender: No OFD packet to send [04:22:42]OFD Sender: No OFD packet to send [04:22:47]OFD Sender: No OFD packet to send [04:22:52]OFD Sender: No OFD packet to send [04:22:57]OFD Sender: No OFD packet to send [04:23:02]OFD Sender: No OFD packet to send [04:23:07]OFD Sender: No OFD packet to send [04:23:12]OFD Sender: No OFD packet to send [04:23:17]OFD Sender: No OFD packet to send [04:23:22]OFD Sender: No OFD packet to send [04:23:27]OFD Sender: No OFD packet to send [04:23:32]OFD Sender: No OFD packet to send [04:23:37]OFD Sender: No OFD packet to send [04:23:42]OFD Sender: No OFD packet to send [04:23:47]OFD Sender: No OFD packet to send [04:23:52]OFD Sender: No OFD packet to send [04:23:57]OFD Sender: No OFD packet to send [04:24:02]OFD Sender: No OFD packet to send [04:24:07]OFD Sender: No OFD packet to send [04:24:12]OFD Sender: No OFD packet to send [04:24:17]OFD Sender: No OFD packet to send [04:24:22]OFD Sender: No OFD packet to send [04:24:27]OFD Sender: No OFD packet to send [04:24:32]OFD Sender: No OFD packet to send [04:24:37]OFD Sender: No OFD packet to send [04:24:42]OFD Sender: No OFD packet to send [04:24:47]OFD Sender: No OFD packet to send [04:24:52]OFD Sender: No OFD packet to send [04:24:57]OFD Sender: No OFD packet to send [04:25:02]OFD Sender: No OFD packet to send [04:25:07]OFD Sender: No OFD packet to send [04:25:12]OFD Sender: No OFD packet to send [04:25:17]OFD Sender: No OFD packet to send [04:25:22]OFD Sender: No OFD packet to send [04:25:27]OFD Sender: No OFD packet to send [04:25:32]OFD Sender: No OFD packet to send [04:25:37]OFD Sender: No OFD packet to send [04:25:42]OFD Sender: No OFD packet to send [04:25:48]OFD Sender: No OFD packet to send [04:25:53]OFD Sender: No OFD packet to send [04:25:58]OFD Sender: No OFD packet to send [04:26:03]OFD Sender: No OFD packet to send [04:26:08]OFD Sender: No OFD packet to send [04:26:13]OFD Sender: No OFD packet to send [04:26:18]OFD Sender: No OFD packet to send [04:26:23]OFD Sender: No OFD packet to send [04:26:28]OFD Sender: No OFD packet to send [04:26:33]OFD Sender: No OFD packet to send [04:26:38]OFD Sender: No OFD packet to send [04:26:43]OFD Sender: No OFD packet to send [04:26:48]OFD Sender: No OFD packet to send [04:26:53]OFD Sender: No OFD packet to send [04:26:58]OFD Sender: No OFD packet to send [04:27:03]OFD Sender: No OFD packet to send [04:27:08]OFD Sender: No OFD packet to send [04:27:13]OFD Sender: No OFD packet to send [04:27:18]OFD Sender: No OFD packet to send [04:27:23]OFD Sender: No OFD packet to send [04:27:28]OFD Sender: No OFD packet to send [04:27:33]OFD Sender: No OFD packet to send [04:27:38]OFD Sender: No OFD packet to send [04:27:43]OFD Sender: No OFD packet to send [04:27:48]OFD Sender: No OFD packet to send [04:27:53]OFD Sender: No OFD packet to send [04:27:58]OFD Sender: No OFD packet to send [04:28:03]OFD Sender: No OFD packet to send [04:28:08]OFD Sender: No OFD packet to send [04:28:13]OFD Sender: No OFD packet to send [04:28:18]OFD Sender: No OFD packet to send [04:28:23]OFD Sender: No OFD packet to send [04:28:28]OFD Sender: No OFD packet to send [04:28:33]OFD Sender: No OFD packet to send [04:28:38]OFD Sender: No OFD packet to send [04:28:43]OFD Sender: No OFD packet to send [04:28:48]OFD Sender: No OFD packet to send [04:28:53]OFD Sender: No OFD packet to send [04:28:58]OFD Sender: No OFD packet to send [04:29:03]OFD Sender: No OFD packet to send [04:29:08]OFD Sender: No OFD packet to send [04:29:13]OFD Sender: No OFD packet to send [04:29:18]OFD Sender: No OFD packet to send [04:29:23]OFD Sender: No OFD packet to send [04:29:28]OFD Sender: No OFD packet to send [04:29:33]OFD Sender: No OFD packet to send [04:29:38]OFD Sender: No OFD packet to send [04:29:43]OFD Sender: No OFD packet to send [04:29:48]OFD Sender: No OFD packet to send [04:29:53]OFD Sender: No OFD packet to send [04:29:58]OFD Sender: No OFD packet to send [04:30:03]OFD Sender: No OFD packet to send [04:30:08]OFD Sender: No OFD packet to send [04:30:13]OFD Sender: No OFD packet to send [04:30:18]OFD Sender: No OFD packet to send [04:30:23]OFD Sender: No OFD packet to send [04:30:28]OFD Sender: No OFD packet to send [04:30:33]OFD Sender: No OFD packet to send [04:30:38]OFD Sender: No OFD packet to send [04:30:43]OFD Sender: No OFD packet to send [04:30:48]OFD Sender: No OFD packet to send [04:30:53]OFD Sender: No OFD packet to send [04:30:58]OFD Sender: No OFD packet to send [04:31:03]OFD Sender: No OFD packet to send [04:31:08]OFD Sender: No OFD packet to send [04:31:13]OFD Sender: No OFD packet to send [04:31:18]OFD Sender: No OFD packet to send [04:31:23]OFD Sender: No OFD packet to send [04:31:28]OFD Sender: No OFD packet to send [04:31:33]OFD Sender: No OFD packet to send [04:31:38]OFD Sender: No OFD packet to send [04:31:43]OFD Sender: No OFD packet to send [04:31:48]OFD Sender: No OFD packet to send [04:31:53]OFD Sender: No OFD packet to send [04:31:58]OFD Sender: No OFD packet to send [04:32:03]OFD Sender: No OFD packet to send [04:32:08]OFD Sender: No OFD packet to send [04:32:13]OFD Sender: No OFD packet to send [04:32:18]OFD Sender: No OFD packet to send [04:32:23]OFD Sender: No OFD packet to send [04:32:28]OFD Sender: No OFD packet to send [04:32:33]OFD Sender: No OFD packet to send [04:32:38]OFD Sender: No OFD packet to send [04:32:43]OFD Sender: No OFD packet to send [04:32:48]OFD Sender: No OFD packet to send [04:32:53]OFD Sender: No OFD packet to send [04:32:58]OFD Sender: No OFD packet to send [04:33:03]OFD Sender: No OFD packet to send [04:33:08]OFD Sender: No OFD packet to send [04:33:13]OFD Sender: No OFD packet to send [04:33:18]OFD Sender: No OFD packet to send [04:33:23]OFD Sender: No OFD packet to send [04:33:28]OFD Sender: No OFD packet to send [04:33:33]OFD Sender: No OFD packet to send [04:33:38]OFD Sender: No OFD packet to send [04:33:43]OFD Sender: No OFD packet to send [04:33:48]OFD Sender: No OFD packet to send [04:33:53]OFD Sender: No OFD packet to send [04:33:58]OFD Sender: No OFD packet to send [04:34:03]OFD Sender: No OFD packet to send [04:34:08]OFD Sender: No OFD packet to send [04:34:13]OFD Sender: No OFD packet to send [04:34:18]OFD Sender: No OFD packet to send [04:34:23]OFD Sender: No OFD packet to send [04:34:28]OFD Sender: No OFD packet to send [04:34:33]OFD Sender: No OFD packet to send [04:34:38]OFD Sender: No OFD packet to send [04:34:43]OFD Sender: No OFD packet to send [04:34:48]OFD Sender: No OFD packet to send [04:34:53]OFD Sender: No OFD packet to send [04:34:58]OFD Sender: No OFD packet to send [04:35:03]OFD Sender: No OFD packet to send [04:35:08]OFD Sender: No OFD packet to send [04:35:13]OFD Sender: No OFD packet to send [04:35:18]OFD Sender: No OFD packet to send [04:35:23]OFD Sender: No OFD packet to send [04:35:28]OFD Sender: No OFD packet to send [04:35:33]OFD Sender: No OFD packet to send [04:35:38]OFD Sender: No OFD packet to send [04:35:43]OFD Sender: No OFD packet to send [04:35:48]OFD Sender: No OFD packet to send [04:35:53]OFD Sender: No OFD packet to send [04:35:58]OFD Sender: No OFD packet to send [04:36:03]OFD Sender: No OFD packet to send [04:36:08]OFD Sender: No OFD packet to send [04:36:13]OFD Sender: No OFD packet to send [04:36:18]OFD Sender: No OFD packet to send [04:36:23]OFD Sender: No OFD packet to send [04:36:28]OFD Sender: No OFD packet to send [04:36:33]OFD Sender: No OFD packet to send [04:36:38]OFD Sender: No OFD packet to send [04:36:43]OFD Sender: No OFD packet to send [04:36:48]OFD Sender: No OFD packet to send [04:36:53]OFD Sender: No OFD packet to send [04:36:58]OFD Sender: No OFD packet to send [04:37:03]OFD Sender: No OFD packet to send [04:37:08]OFD Sender: No OFD packet to send [04:37:13]OFD Sender: No OFD packet to send [04:37:18]OFD Sender: No OFD packet to send [04:37:23]OFD Sender: No OFD packet to send [04:37:28]OFD Sender: No OFD packet to send [04:37:33]OFD Sender: No OFD packet to send [04:37:38]OFD Sender: No OFD packet to send [04:37:43]OFD Sender: No OFD packet to send [04:37:48]OFD Sender: No OFD packet to send [04:37:53]OFD Sender: No OFD packet to send [04:37:58]OFD Sender: No OFD packet to send [04:38:03]OFD Sender: No OFD packet to send [04:38:08]OFD Sender: No OFD packet to send [04:38:13]OFD Sender: No OFD packet to send [04:38:18]OFD Sender: No OFD packet to send [04:38:23]OFD Sender: No OFD packet to send [04:38:28]OFD Sender: No OFD packet to send [04:38:33]OFD Sender: No OFD packet to send [04:38:38]OFD Sender: No OFD packet to send [04:38:43]OFD Sender: No OFD packet to send [04:38:48]OFD Sender: No OFD packet to send [04:38:53]OFD Sender: No OFD packet to send [04:38:58]OFD Sender: No OFD packet to send [04:39:03]OFD Sender: No OFD packet to send [04:39:08]OFD Sender: No OFD packet to send [04:39:13]OFD Sender: No OFD packet to send [04:39:18]OFD Sender: No OFD packet to send [04:39:23]OFD Sender: No OFD packet to send [04:39:28]OFD Sender: No OFD packet to send [04:39:33]OFD Sender: No OFD packet to send [04:39:38]OFD Sender: No OFD packet to send [04:39:43]OFD Sender: No OFD packet to send [04:39:48]OFD Sender: No OFD packet to send [04:39:53]OFD Sender: No OFD packet to send [04:39:58]OFD Sender: No OFD packet to send [04:40:03]OFD Sender: No OFD packet to send [04:40:08]OFD Sender: No OFD packet to send [04:40:13]OFD Sender: No OFD packet to send [04:40:18]OFD Sender: No OFD packet to send [04:40:23]OFD Sender: No OFD packet to send [04:40:28]OFD Sender: No OFD packet to send [04:40:33]OFD Sender: No OFD packet to send [04:40:38]OFD Sender: No OFD packet to send [04:40:43]OFD Sender: No OFD packet to send [04:40:48]OFD Sender: No OFD packet to send [04:40:53]OFD Sender: No OFD packet to send [04:40:58]OFD Sender: No OFD packet to send [04:41:03]OFD Sender: No OFD packet to send [04:41:08]OFD Sender: No OFD packet to send [04:41:13]OFD Sender: No OFD packet to send [04:41:18]OFD Sender: No OFD packet to send [04:41:23]OFD Sender: No OFD packet to send [04:41:28]OFD Sender: No OFD packet to send [04:41:33]OFD Sender: No OFD packet to send [04:41:38]OFD Sender: No OFD packet to send [04:41:43]OFD Sender: No OFD packet to send [04:41:48]OFD Sender: No OFD packet to send [04:41:53]OFD Sender: No OFD packet to send [04:41:58]OFD Sender: No OFD packet to send [04:42:03]OFD Sender: No OFD packet to send [04:42:08]OFD Sender: No OFD packet to send [04:42:13]OFD Sender: No OFD packet to send [04:42:18]OFD Sender: No OFD packet to send [04:42:23]OFD Sender: No OFD packet to send [04:42:28]OFD Sender: No OFD packet to send [04:42:33]OFD Sender: No OFD packet to send [04:42:38]OFD Sender: No OFD packet to send [04:42:43]OFD Sender: No OFD packet to send [04:42:48]OFD Sender: No OFD packet to send [04:42:53]OFD Sender: No OFD packet to send [04:42:58]OFD Sender: No OFD packet to send [04:43:03]OFD Sender: No OFD packet to send [04:43:08]OFD Sender: No OFD packet to send [04:43:13]OFD Sender: No OFD packet to send [04:43:18]OFD Sender: No OFD packet to send [04:43:23]OFD Sender: No OFD packet to send [04:43:28]OFD Sender: No OFD packet to send [04:43:33]OFD Sender: No OFD packet to send [04:43:38]OFD Sender: No OFD packet to send [04:43:43]OFD Sender: No OFD packet to send [04:43:48]OFD Sender: No OFD packet to send [04:43:53]OFD Sender: No OFD packet to send [04:43:58]OFD Sender: No OFD packet to send [04:44:03]OFD Sender: No OFD packet to send [04:44:08]OFD Sender: No OFD packet to send [04:44:13]OFD Sender: No OFD packet to send [04:44:18]OFD Sender: No OFD packet to send [04:44:23]OFD Sender: No OFD packet to send [04:44:28]OFD Sender: No OFD packet to send [04:44:33]OFD Sender: No OFD packet to send [04:44:38]OFD Sender: No OFD packet to send [04:44:43]OFD Sender: No OFD packet to send [04:44:48]OFD Sender: No OFD packet to send [04:44:53]OFD Sender: No OFD packet to send [04:44:58]OFD Sender: No OFD packet to send [04:45:03]OFD Sender: No OFD packet to send [04:45:08]OFD Sender: No OFD packet to send [04:45:13]OFD Sender: No OFD packet to send [04:45:18]OFD Sender: No OFD packet to send [04:45:23]OFD Sender: No OFD packet to send [04:45:28]OFD Sender: No OFD packet to send [04:45:33]OFD Sender: No OFD packet to send [04:45:38]OFD Sender: No OFD packet to send [04:45:43]OFD Sender: No OFD packet to send [04:45:48]OFD Sender: No OFD packet to send [04:45:53]OFD Sender: No OFD packet to send [04:45:58]OFD Sender: No OFD packet to send [04:46:03]OFD Sender: No OFD packet to send [04:46:08]OFD Sender: No OFD packet to send [04:46:13]OFD Sender: No OFD packet to send [04:46:18]OFD Sender: No OFD packet to send [04:46:23]OFD Sender: No OFD packet to send [04:46:28]OFD Sender: No OFD packet to send [04:46:33]OFD Sender: No OFD packet to send [04:46:38]OFD Sender: No OFD packet to send [04:46:43]OFD Sender: No OFD packet to send [04:46:48]OFD Sender: No OFD packet to send [04:46:53]OFD Sender: No OFD packet to send [04:46:58]OFD Sender: No OFD packet to send [04:47:03]OFD Sender: No OFD packet to send [04:47:08]OFD Sender: No OFD packet to send [04:47:13]OFD Sender: No OFD packet to send [04:47:18]OFD Sender: No OFD packet to send [04:47:23]OFD Sender: No OFD packet to send [04:47:28]OFD Sender: No OFD packet to send [04:47:33]OFD Sender: No OFD packet to send [04:47:38]OFD Sender: No OFD packet to send [04:47:43]OFD Sender: No OFD packet to send [04:47:48]OFD Sender: No OFD packet to send [04:47:54]OFD Sender: No OFD packet to send [04:47:59]OFD Sender: No OFD packet to send [04:48:04]OFD Sender: No OFD packet to send [04:48:09]OFD Sender: No OFD packet to send [04:48:14]OFD Sender: No OFD packet to send [04:48:19]OFD Sender: No OFD packet to send [04:48:24]OFD Sender: No OFD packet to send [04:48:29]OFD Sender: No OFD packet to send [04:48:34]OFD Sender: No OFD packet to send [04:48:39]OFD Sender: No OFD packet to send [04:48:44]OFD Sender: No OFD packet to send [04:48:49]OFD Sender: No OFD packet to send [04:48:54]OFD Sender: No OFD packet to send [04:48:59]OFD Sender: No OFD packet to send [04:49:04]OFD Sender: No OFD packet to send [04:49:09]OFD Sender: No OFD packet to send [04:49:14]OFD Sender: No OFD packet to send [04:49:19]OFD Sender: No OFD packet to send [04:49:24]OFD Sender: No OFD packet to send [04:49:29]OFD Sender: No OFD packet to send [04:49:34]OFD Sender: No OFD packet to send [04:49:39]OFD Sender: No OFD packet to send [04:49:44]OFD Sender: No OFD packet to send [04:49:49]OFD Sender: No OFD packet to send [04:49:54]OFD Sender: No OFD packet to send [04:49:59]OFD Sender: No OFD packet to send [04:50:04]OFD Sender: No OFD packet to send [04:50:09]OFD Sender: No OFD packet to send [04:50:14]OFD Sender: No OFD packet to send [04:50:19]OFD Sender: No OFD packet to send [04:50:24]OFD Sender: No OFD packet to send [04:50:29]OFD Sender: No OFD packet to send [04:50:34]OFD Sender: No OFD packet to send [04:50:39]OFD Sender: No OFD packet to send [04:50:44]OFD Sender: No OFD packet to send [04:50:49]OFD Sender: No OFD packet to send [04:50:54]OFD Sender: No OFD packet to send [04:50:59]OFD Sender: No OFD packet to send [04:51:04]OFD Sender: No OFD packet to send [04:51:09]OFD Sender: No OFD packet to send [04:51:14]OFD Sender: No OFD packet to send [04:51:19]OFD Sender: No OFD packet to send [04:51:24]OFD Sender: No OFD packet to send [04:51:29]OFD Sender: No OFD packet to send [04:51:34]OFD Sender: No OFD packet to send [04:51:39]OFD Sender: No OFD packet to send [04:51:44]OFD Sender: No OFD packet to send [04:51:49]OFD Sender: No OFD packet to send [04:51:54]OFD Sender: No OFD packet to send [04:51:59]OFD Sender: No OFD packet to send [04:52:04]OFD Sender: No OFD packet to send [04:52:09]OFD Sender: No OFD packet to send [04:52:14]OFD Sender: No OFD packet to send [04:52:19]OFD Sender: No OFD packet to send [04:52:24]OFD Sender: No OFD packet to send [04:52:29]OFD Sender: No OFD packet to send [04:52:34]OFD Sender: No OFD packet to send [04:52:39]OFD Sender: No OFD packet to send [04:52:44]OFD Sender: No OFD packet to send [04:52:49]OFD Sender: No OFD packet to send [04:52:54]OFD Sender: No OFD packet to send [04:52:59]OFD Sender: No OFD packet to send [04:53:04]OFD Sender: No OFD packet to send [04:53:09]OFD Sender: No OFD packet to send [04:53:14]OFD Sender: No OFD packet to send [04:53:19]OFD Sender: No OFD packet to send [04:53:24]OFD Sender: No OFD packet to send [04:53:29]OFD Sender: No OFD packet to send [04:53:34]OFD Sender: No OFD packet to send [04:53:39]OFD Sender: No OFD packet to send [04:53:44]OFD Sender: No OFD packet to send [04:53:49]OFD Sender: No OFD packet to send [04:53:54]OFD Sender: No OFD packet to send [04:53:59]OFD Sender: No OFD packet to send [04:54:04]OFD Sender: No OFD packet to send [04:54:09]OFD Sender: No OFD packet to send [04:54:14]OFD Sender: No OFD packet to send [04:54:19]OFD Sender: No OFD packet to send [04:54:24]OFD Sender: No OFD packet to send [04:54:29]OFD Sender: No OFD packet to send [04:54:34]OFD Sender: No OFD packet to send [04:54:39]OFD Sender: No OFD packet to send [04:54:44]OFD Sender: No OFD packet to send [04:54:49]OFD Sender: No OFD packet to send [04:54:54]OFD Sender: No OFD packet to send [04:54:59]OFD Sender: No OFD packet to send [04:55:04]OFD Sender: No OFD packet to send [04:55:09]OFD Sender: No OFD packet to send [04:55:14]OFD Sender: No OFD packet to send [04:55:19]OFD Sender: No OFD packet to send [04:55:24]OFD Sender: No OFD packet to send [04:55:29]OFD Sender: No OFD packet to send [04:55:34]OFD Sender: No OFD packet to send [04:55:39]OFD Sender: No OFD packet to send [04:55:44]OFD Sender: No OFD packet to send [04:55:49]OFD Sender: No OFD packet to send [04:55:54]OFD Sender: No OFD packet to send [04:55:59]OFD Sender: No OFD packet to send [04:56:04]OFD Sender: No OFD packet to send [04:56:09]OFD Sender: No OFD packet to send [04:56:14]OFD Sender: No OFD packet to send [04:56:19]OFD Sender: No OFD packet to send [04:56:24]OFD Sender: No OFD packet to send [04:56:29]OFD Sender: No OFD packet to send [04:56:34]OFD Sender: No OFD packet to send [04:56:39]OFD Sender: No OFD packet to send [04:56:44]OFD Sender: No OFD packet to send [04:56:49]OFD Sender: No OFD packet to send [04:56:54]OFD Sender: No OFD packet to send [04:56:59]OFD Sender: No OFD packet to send [04:57:04]OFD Sender: No OFD packet to send [04:57:09]OFD Sender: No OFD packet to send [04:57:14]OFD Sender: No OFD packet to send [04:57:19]OFD Sender: No OFD packet to send [04:57:24]OFD Sender: No OFD packet to send [04:57:29]OFD Sender: No OFD packet to send [04:57:34]OFD Sender: No OFD packet to send [04:57:39]OFD Sender: No OFD packet to send [04:57:44]OFD Sender: No OFD packet to send [04:57:49]OFD Sender: No OFD packet to send [04:57:54]OFD Sender: No OFD packet to send [04:57:59]OFD Sender: No OFD packet to send [04:58:04]OFD Sender: No OFD packet to send [04:58:09]OFD Sender: No OFD packet to send [04:58:14]OFD Sender: No OFD packet to send [04:58:19]OFD Sender: No OFD packet to send [04:58:24]OFD Sender: No OFD packet to send [04:58:29]OFD Sender: No OFD packet to send [04:58:34]OFD Sender: No OFD packet to send [04:58:39]OFD Sender: No OFD packet to send [04:58:44]OFD Sender: No OFD packet to send [04:58:49]OFD Sender: No OFD packet to send [04:58:54]OFD Sender: No OFD packet to send [04:58:59]OFD Sender: No OFD packet to send [04:59:04]OFD Sender: No OFD packet to send [04:59:09]OFD Sender: No OFD packet to send [04:59:14]OFD Sender: No OFD packet to send [04:59:19]OFD Sender: No OFD packet to send [04:59:24]OFD Sender: No OFD packet to send [04:59:29]OFD Sender: No OFD packet to send [04:59:34]OFD Sender: No OFD packet to send [04:59:39]OFD Sender: No OFD packet to send [04:59:44]OFD Sender: No OFD packet to send [04:59:49]OFD Sender: No OFD packet to send [04:59:54]OFD Sender: No OFD packet to send [04:59:59]OFD Sender: No OFD packet to send [05:00:04]OFD Sender: No OFD packet to send [05:00:09]OFD Sender: No OFD packet to send [05:00:14]OFD Sender: No OFD packet to send [05:00:19]OFD Sender: No OFD packet to send [05:00:24]OFD Sender: No OFD packet to send [05:00:29]OFD Sender: No OFD packet to send [05:00:34]OFD Sender: No OFD packet to send [05:00:39]OFD Sender: No OFD packet to send [05:00:44]OFD Sender: No OFD packet to send [05:00:49]OFD Sender: No OFD packet to send [05:00:54]OFD Sender: No OFD packet to send [05:00:59]OFD Sender: No OFD packet to send [05:01:04]OFD Sender: No OFD packet to send [05:01:09]OFD Sender: No OFD packet to send [05:01:14]OFD Sender: No OFD packet to send [05:01:19]OFD Sender: No OFD packet to send [05:01:24]OFD Sender: No OFD packet to send [05:01:29]OFD Sender: No OFD packet to send [05:01:34]OFD Sender: No OFD packet to send [05:01:39]OFD Sender: No OFD packet to send [05:01:44]OFD Sender: No OFD packet to send [05:01:49]OFD Sender: No OFD packet to send [05:01:54]OFD Sender: No OFD packet to send [05:01:59]OFD Sender: No OFD packet to send [05:02:04]OFD Sender: No OFD packet to send [05:02:09]OFD Sender: No OFD packet to send [05:02:14]OFD Sender: No OFD packet to send [05:02:19]OFD Sender: No OFD packet to send [05:02:24]OFD Sender: No OFD packet to send [05:02:29]OFD Sender: No OFD packet to send [05:02:34]OFD Sender: No OFD packet to send [05:02:39]OFD Sender: No OFD packet to send [05:02:44]OFD Sender: No OFD packet to send [05:02:49]OFD Sender: No OFD packet to send [05:02:54]OFD Sender: No OFD packet to send [05:02:59]OFD Sender: No OFD packet to send [05:03:04]OFD Sender: No OFD packet to send [05:03:09]OFD Sender: No OFD packet to send [05:03:14]OFD Sender: No OFD packet to send [05:03:19]OFD Sender: No OFD packet to send [05:03:24]OFD Sender: No OFD packet to send [05:03:29]OFD Sender: No OFD packet to send [05:03:34]OFD Sender: No OFD packet to send [05:03:39]OFD Sender: No OFD packet to send [05:03:44]OFD Sender: No OFD packet to send [05:03:49]OFD Sender: No OFD packet to send [05:03:54]OFD Sender: No OFD packet to send [05:03:59]OFD Sender: No OFD packet to send [05:04:04]OFD Sender: No OFD packet to send [05:04:09]OFD Sender: No OFD packet to send [05:04:14]OFD Sender: No OFD packet to send [05:04:19]OFD Sender: No OFD packet to send [05:04:24]OFD Sender: No OFD packet to send [05:04:29]OFD Sender: No OFD packet to send [05:04:34]OFD Sender: No OFD packet to send [05:04:39]OFD Sender: No OFD packet to send [05:04:44]OFD Sender: No OFD packet to send [05:04:49]OFD Sender: No OFD packet to send [05:04:54]OFD Sender: No OFD packet to send [05:04:59]OFD Sender: No OFD packet to send [05:05:04]OFD Sender: No OFD packet to send [05:05:09]OFD Sender: No OFD packet to send [05:05:14]OFD Sender: No OFD packet to send [05:05:19]OFD Sender: No OFD packet to send [05:05:24]OFD Sender: No OFD packet to send [05:05:29]OFD Sender: No OFD packet to send [05:05:34]OFD Sender: No OFD packet to send [05:05:39]OFD Sender: No OFD packet to send [05:05:44]OFD Sender: No OFD packet to send [05:05:49]OFD Sender: No OFD packet to send [05:05:54]OFD Sender: No OFD packet to send [05:05:59]OFD Sender: No OFD packet to send [05:06:04]OFD Sender: No OFD packet to send [05:06:09]OFD Sender: No OFD packet to send [05:06:14]OFD Sender: No OFD packet to send [05:06:19]OFD Sender: No OFD packet to send [05:06:24]OFD Sender: No OFD packet to send [05:06:29]OFD Sender: No OFD packet to send [05:06:34]OFD Sender: No OFD packet to send [05:06:39]OFD Sender: No OFD packet to send [05:06:44]OFD Sender: No OFD packet to send [05:06:49]OFD Sender: No OFD packet to send [05:06:54]OFD Sender: No OFD packet to send [05:06:59]OFD Sender: No OFD packet to send [05:07:04]OFD Sender: No OFD packet to send [05:07:09]OFD Sender: No OFD packet to send [05:07:14]OFD Sender: No OFD packet to send [05:07:19]OFD Sender: No OFD packet to send [05:07:24]OFD Sender: No OFD packet to send [05:07:29]OFD Sender: No OFD packet to send [05:07:34]OFD Sender: No OFD packet to send [05:07:39]OFD Sender: No OFD packet to send [05:07:44]OFD Sender: No OFD packet to send [05:07:49]OFD Sender: No OFD packet to send [05:07:54]OFD Sender: No OFD packet to send [05:07:59]OFD Sender: No OFD packet to send [05:08:04]OFD Sender: No OFD packet to send [05:08:09]OFD Sender: No OFD packet to send [05:08:14]OFD Sender: No OFD packet to send [05:08:19]OFD Sender: No OFD packet to send [05:08:24]OFD Sender: No OFD packet to send [05:08:29]OFD Sender: No OFD packet to send [05:08:34]OFD Sender: No OFD packet to send [05:08:39]OFD Sender: No OFD packet to send [05:08:44]OFD Sender: No OFD packet to send [05:08:49]OFD Sender: No OFD packet to send [05:08:54]OFD Sender: No OFD packet to send [05:08:59]OFD Sender: No OFD packet to send [05:09:04]OFD Sender: No OFD packet to send [05:09:09]OFD Sender: No OFD packet to send [05:09:14]OFD Sender: No OFD packet to send [05:09:19]OFD Sender: No OFD packet to send [05:09:24]OFD Sender: No OFD packet to send [05:09:29]OFD Sender: No OFD packet to send [05:09:34]OFD Sender: No OFD packet to send [05:09:40]OFD Sender: No OFD packet to send [05:09:45]OFD Sender: No OFD packet to send [05:09:50]OFD Sender: No OFD packet to send [05:09:55]OFD Sender: No OFD packet to send [05:10:00]OFD Sender: No OFD packet to send [05:10:05]OFD Sender: No OFD packet to send [05:10:10]OFD Sender: No OFD packet to send [05:10:15]OFD Sender: No OFD packet to send [05:10:20]OFD Sender: No OFD packet to send [05:10:25]OFD Sender: No OFD packet to send [05:10:30]OFD Sender: No OFD packet to send [05:10:35]OFD Sender: No OFD packet to send [05:10:40]OFD Sender: No OFD packet to send [05:10:45]OFD Sender: No OFD packet to send [05:10:50]OFD Sender: No OFD packet to send [05:10:55]OFD Sender: No OFD packet to send [05:11:00]OFD Sender: No OFD packet to send [05:11:05]OFD Sender: No OFD packet to send [05:11:10]OFD Sender: No OFD packet to send [05:11:15]OFD Sender: No OFD packet to send [05:11:20]OFD Sender: No OFD packet to send [05:11:25]OFD Sender: No OFD packet to send [05:11:30]OFD Sender: No OFD packet to send [05:11:35]OFD Sender: No OFD packet to send [05:11:40]OFD Sender: No OFD packet to send [05:11:45]OFD Sender: No OFD packet to send [05:11:50]OFD Sender: No OFD packet to send [05:11:55]OFD Sender: No OFD packet to send [05:12:00]OFD Sender: No OFD packet to send [05:12:05]OFD Sender: No OFD packet to send [05:12:10]OFD Sender: No OFD packet to send [05:12:15]OFD Sender: No OFD packet to send [05:12:20]OFD Sender: No OFD packet to send [05:12:25]OFD Sender: No OFD packet to send [05:12:30]OFD Sender: No OFD packet to send [05:12:35]OFD Sender: No OFD packet to send [05:12:40]OFD Sender: No OFD packet to send [05:12:45]OFD Sender: No OFD packet to send [05:12:50]OFD Sender: No OFD packet to send [05:12:55]OFD Sender: No OFD packet to send [05:13:00]OFD Sender: No OFD packet to send [05:13:05]OFD Sender: No OFD packet to send [05:13:10]OFD Sender: No OFD packet to send [05:13:15]OFD Sender: No OFD packet to send [05:13:20]OFD Sender: No OFD packet to send [05:13:25]OFD Sender: No OFD packet to send [05:13:30]OFD Sender: No OFD packet to send [05:13:35]OFD Sender: No OFD packet to send [05:13:40]OFD Sender: No OFD packet to send [05:13:45]OFD Sender: No OFD packet to send [05:13:50]OFD Sender: No OFD packet to send [05:13:55]OFD Sender: No OFD packet to send [05:14:00]OFD Sender: No OFD packet to send [05:14:05]OFD Sender: No OFD packet to send [05:14:10]OFD Sender: No OFD packet to send [05:14:15]OFD Sender: No OFD packet to send [05:14:20]OFD Sender: No OFD packet to send [05:14:25]OFD Sender: No OFD packet to send [05:14:30]OFD Sender: No OFD packet to send [05:14:35]OFD Sender: No OFD packet to send [05:14:40]OFD Sender: No OFD packet to send [05:14:45]OFD Sender: No OFD packet to send [05:14:50]OFD Sender: No OFD packet to send [05:14:55]OFD Sender: No OFD packet to send [05:15:00]OFD Sender: No OFD packet to send [05:15:05]OFD Sender: No OFD packet to send [05:15:10]OFD Sender: No OFD packet to send [05:15:15]OFD Sender: No OFD packet to send [05:15:20]OFD Sender: No OFD packet to send [05:15:25]OFD Sender: No OFD packet to send [05:15:30]OFD Sender: No OFD packet to send [05:15:35]OFD Sender: No OFD packet to send [05:15:40]OFD Sender: No OFD packet to send [05:15:45]OFD Sender: No OFD packet to send [05:15:50]OFD Sender: No OFD packet to send [05:15:55]OFD Sender: No OFD packet to send [05:16:00]OFD Sender: No OFD packet to send [05:16:05]OFD Sender: No OFD packet to send [05:16:10]OFD Sender: No OFD packet to send [05:16:15]OFD Sender: No OFD packet to send [05:16:20]OFD Sender: No OFD packet to send [05:16:25]OFD Sender: No OFD packet to send [05:16:30]OFD Sender: No OFD packet to send [05:16:35]OFD Sender: No OFD packet to send [05:16:40]OFD Sender: No OFD packet to send [05:16:45]OFD Sender: No OFD packet to send [05:16:50]OFD Sender: No OFD packet to send [05:16:55]OFD Sender: No OFD packet to send [05:17:00]OFD Sender: No OFD packet to send [05:17:05]OFD Sender: No OFD packet to send [05:17:10]OFD Sender: No OFD packet to send [05:17:15]OFD Sender: No OFD packet to send [05:17:20]OFD Sender: No OFD packet to send [05:17:25]OFD Sender: No OFD packet to send [05:17:30]OFD Sender: No OFD packet to send [05:17:35]OFD Sender: No OFD packet to send [05:17:40]OFD Sender: No OFD packet to send [05:17:45]OFD Sender: No OFD packet to send [05:17:50]OFD Sender: No OFD packet to send [05:17:55]OFD Sender: No OFD packet to send [05:18:00]OFD Sender: No OFD packet to send [05:18:05]OFD Sender: No OFD packet to send [05:18:10]OFD Sender: No OFD packet to send [05:18:15]OFD Sender: No OFD packet to send [05:18:20]OFD Sender: No OFD packet to send [05:18:25]OFD Sender: No OFD packet to send [05:18:30]OFD Sender: No OFD packet to send [05:18:35]OFD Sender: No OFD packet to send [05:18:40]OFD Sender: No OFD packet to send [05:18:45]OFD Sender: No OFD packet to send [05:18:50]OFD Sender: No OFD packet to send [05:18:55]OFD Sender: No OFD packet to send [05:19:00]OFD Sender: No OFD packet to send [05:19:05]OFD Sender: No OFD packet to send [05:19:10]OFD Sender: No OFD packet to send [05:19:15]OFD Sender: No OFD packet to send [05:19:20]OFD Sender: No OFD packet to send [05:19:25]OFD Sender: No OFD packet to send [05:19:30]OFD Sender: No OFD packet to send [05:19:35]OFD Sender: No OFD packet to send [05:19:40]OFD Sender: No OFD packet to send [05:19:45]OFD Sender: No OFD packet to send [05:19:50]OFD Sender: No OFD packet to send [05:19:55]OFD Sender: No OFD packet to send [05:20:00]OFD Sender: No OFD packet to send [05:20:05]OFD Sender: No OFD packet to send [05:20:10]OFD Sender: No OFD packet to send [05:20:15]OFD Sender: No OFD packet to send [05:20:20]OFD Sender: No OFD packet to send [05:20:25]OFD Sender: No OFD packet to send [05:20:30]OFD Sender: No OFD packet to send [05:20:35]OFD Sender: No OFD packet to send [05:20:40]OFD Sender: No OFD packet to send [05:20:45]OFD Sender: No OFD packet to send [05:20:50]OFD Sender: No OFD packet to send [05:20:55]OFD Sender: No OFD packet to send [05:21:00]OFD Sender: No OFD packet to send [05:21:05]OFD Sender: No OFD packet to send [05:21:10]OFD Sender: No OFD packet to send [05:21:15]OFD Sender: No OFD packet to send [05:21:20]OFD Sender: No OFD packet to send [05:21:25]OFD Sender: No OFD packet to send [05:21:30]OFD Sender: No OFD packet to send [05:21:35]OFD Sender: No OFD packet to send [05:21:40]OFD Sender: No OFD packet to send [05:21:45]OFD Sender: No OFD packet to send [05:21:50]OFD Sender: No OFD packet to send [05:21:55]OFD Sender: No OFD packet to send [05:22:00]OFD Sender: No OFD packet to send [05:22:05]OFD Sender: No OFD packet to send [05:22:10]OFD Sender: No OFD packet to send [05:22:15]OFD Sender: No OFD packet to send [05:22:20]OFD Sender: No OFD packet to send [05:22:25]OFD Sender: No OFD packet to send [05:22:30]OFD Sender: No OFD packet to send [05:22:35]OFD Sender: No OFD packet to send [05:22:40]OFD Sender: No OFD packet to send [05:22:45]OFD Sender: No OFD packet to send [05:22:50]OFD Sender: No OFD packet to send [05:22:55]OFD Sender: No OFD packet to send [05:23:00]OFD Sender: No OFD packet to send [05:23:05]OFD Sender: No OFD packet to send [05:23:10]OFD Sender: No OFD packet to send [05:23:15]OFD Sender: No OFD packet to send [05:23:20]OFD Sender: No OFD packet to send [05:23:25]OFD Sender: No OFD packet to send [05:23:30]OFD Sender: No OFD packet to send [05:23:35]OFD Sender: No OFD packet to send [05:23:40]OFD Sender: No OFD packet to send [05:23:45]OFD Sender: No OFD packet to send [05:23:50]OFD Sender: No OFD packet to send [05:23:55]OFD Sender: No OFD packet to send [05:24:00]OFD Sender: No OFD packet to send [05:24:05]OFD Sender: No OFD packet to send [05:24:10]OFD Sender: No OFD packet to send [05:24:15]OFD Sender: No OFD packet to send [05:24:20]OFD Sender: No OFD packet to send [05:24:25]OFD Sender: No OFD packet to send [05:24:30]OFD Sender: No OFD packet to send [05:24:35]OFD Sender: No OFD packet to send [05:24:40]OFD Sender: No OFD packet to send [05:24:45]OFD Sender: No OFD packet to send [05:24:50]OFD Sender: No OFD packet to send [05:24:55]OFD Sender: No OFD packet to send [05:25:00]OFD Sender: No OFD packet to send [05:25:05]OFD Sender: No OFD packet to send [05:25:10]OFD Sender: No OFD packet to send [05:25:15]OFD Sender: No OFD packet to send [05:25:20]OFD Sender: No OFD packet to send [05:25:25]OFD Sender: No OFD packet to send [05:25:30]OFD Sender: No OFD packet to send [05:25:35]OFD Sender: No OFD packet to send [05:25:40]OFD Sender: No OFD packet to send [05:25:45]OFD Sender: No OFD packet to send [05:25:50]OFD Sender: No OFD packet to send [05:25:55]OFD Sender: No OFD packet to send [05:26:00]OFD Sender: No OFD packet to send [05:26:05]OFD Sender: No OFD packet to send [05:26:10]OFD Sender: No OFD packet to send [05:26:15]OFD Sender: No OFD packet to send [05:26:20]OFD Sender: No OFD packet to send [05:26:25]OFD Sender: No OFD packet to send [05:26:30]OFD Sender: No OFD packet to send [05:26:35]OFD Sender: No OFD packet to send [05:26:40]OFD Sender: No OFD packet to send [05:26:45]OFD Sender: No OFD packet to send [05:26:50]OFD Sender: No OFD packet to send [05:26:55]OFD Sender: No OFD packet to send [05:27:00]OFD Sender: No OFD packet to send [05:27:05]OFD Sender: No OFD packet to send [05:27:10]OFD Sender: No OFD packet to send [05:27:15]OFD Sender: No OFD packet to send [05:27:20]OFD Sender: No OFD packet to send [05:27:25]OFD Sender: No OFD packet to send [05:27:30]OFD Sender: No OFD packet to send [05:27:35]OFD Sender: No OFD packet to send [05:27:40]OFD Sender: No OFD packet to send [05:27:45]OFD Sender: No OFD packet to send [05:27:50]OFD Sender: No OFD packet to send [05:27:55]OFD Sender: No OFD packet to send [05:28:00]OFD Sender: No OFD packet to send [05:28:05]OFD Sender: No OFD packet to send [05:28:10]OFD Sender: No OFD packet to send [05:28:15]OFD Sender: No OFD packet to send [05:28:20]OFD Sender: No OFD packet to send [05:28:25]OFD Sender: No OFD packet to send [05:28:30]OFD Sender: No OFD packet to send [05:28:35]OFD Sender: No OFD packet to send [05:28:40]OFD Sender: No OFD packet to send [05:28:45]OFD Sender: No OFD packet to send [05:28:50]OFD Sender: No OFD packet to send [05:28:55]OFD Sender: No OFD packet to send [05:29:00]OFD Sender: No OFD packet to send [05:29:05]OFD Sender: No OFD packet to send [05:29:10]OFD Sender: No OFD packet to send [05:29:15]OFD Sender: No OFD packet to send [05:29:20]OFD Sender: No OFD packet to send [05:29:25]OFD Sender: No OFD packet to send [05:29:30]OFD Sender: No OFD packet to send [05:29:35]OFD Sender: No OFD packet to send [05:29:40]OFD Sender: No OFD packet to send [05:29:45]OFD Sender: No OFD packet to send [05:29:50]OFD Sender: No OFD packet to send [05:29:55]OFD Sender: No OFD packet to send [05:30:00]OFD Sender: No OFD packet to send [05:30:05]OFD Sender: No OFD packet to send [05:30:10]OFD Sender: No OFD packet to send [05:30:15]OFD Sender: No OFD packet to send [05:30:20]OFD Sender: No OFD packet to send [05:30:25]OFD Sender: No OFD packet to send [05:30:30]OFD Sender: No OFD packet to send [05:30:35]OFD Sender: No OFD packet to send [05:30:40]OFD Sender: No OFD packet to send [05:30:45]OFD Sender: No OFD packet to send [05:30:50]OFD Sender: No OFD packet to send [05:30:55]OFD Sender: No OFD packet to send [05:31:00]OFD Sender: No OFD packet to send [05:31:05]OFD Sender: No OFD packet to send [05:31:10]OFD Sender: No OFD packet to send [05:31:15]OFD Sender: No OFD packet to send [05:31:20]OFD Sender: No OFD packet to send [05:31:25]OFD Sender: No OFD packet to send [05:31:30]OFD Sender: No OFD packet to send [05:31:35]OFD Sender: No OFD packet to send [05:31:41]OFD Sender: No OFD packet to send [05:31:46]OFD Sender: No OFD packet to send [05:31:51]OFD Sender: No OFD packet to send [05:31:56]OFD Sender: No OFD packet to send [05:32:01]OFD Sender: No OFD packet to send [05:32:06]OFD Sender: No OFD packet to send [05:32:11]OFD Sender: No OFD packet to send [05:32:16]OFD Sender: No OFD packet to send [05:32:21]OFD Sender: No OFD packet to send [05:32:26]OFD Sender: No OFD packet to send [05:32:31]OFD Sender: No OFD packet to send [05:32:36]OFD Sender: No OFD packet to send [05:32:41]OFD Sender: No OFD packet to send [05:32:46]OFD Sender: No OFD packet to send [05:32:51]OFD Sender: No OFD packet to send [05:32:56]OFD Sender: No OFD packet to send [05:33:01]OFD Sender: No OFD packet to send [05:33:06]OFD Sender: No OFD packet to send [05:33:11]OFD Sender: No OFD packet to send [05:33:16]OFD Sender: No OFD packet to send [05:33:21]OFD Sender: No OFD packet to send [05:33:26]OFD Sender: No OFD packet to send [05:33:31]OFD Sender: No OFD packet to send [05:33:36]OFD Sender: No OFD packet to send [05:33:41]OFD Sender: No OFD packet to send [05:33:46]OFD Sender: No OFD packet to send [05:33:51]OFD Sender: No OFD packet to send [05:33:56]OFD Sender: No OFD packet to send [05:34:01]OFD Sender: No OFD packet to send [05:34:06]OFD Sender: No OFD packet to send [05:34:11]OFD Sender: No OFD packet to send [05:34:16]OFD Sender: No OFD packet to send [05:34:21]OFD Sender: No OFD packet to send [05:34:26]OFD Sender: No OFD packet to send [05:34:31]OFD Sender: No OFD packet to send [05:34:36]OFD Sender: No OFD packet to send [05:34:41]OFD Sender: No OFD packet to send [05:34:46]OFD Sender: No OFD packet to send [05:34:51]OFD Sender: No OFD packet to send [05:34:56]OFD Sender: No OFD packet to send [05:35:01]OFD Sender: No OFD packet to send [05:35:06]OFD Sender: No OFD packet to send [05:35:11]OFD Sender: No OFD packet to send [05:35:16]OFD Sender: No OFD packet to send [05:35:21]OFD Sender: No OFD packet to send [05:35:26]OFD Sender: No OFD packet to send [05:35:31]OFD Sender: No OFD packet to send [05:35:36]OFD Sender: No OFD packet to send [05:35:41]OFD Sender: No OFD packet to send [05:35:46]OFD Sender: No OFD packet to send [05:35:51]OFD Sender: No OFD packet to send [05:35:56]OFD Sender: No OFD packet to send [05:36:01]OFD Sender: No OFD packet to send [05:36:06]OFD Sender: No OFD packet to send [05:36:11]OFD Sender: No OFD packet to send [05:36:16]OFD Sender: No OFD packet to send [05:36:21]OFD Sender: No OFD packet to send [05:36:26]OFD Sender: No OFD packet to send [05:36:31]OFD Sender: No OFD packet to send [05:36:36]OFD Sender: No OFD packet to send [05:36:41]OFD Sender: No OFD packet to send [05:36:46]OFD Sender: No OFD packet to send [05:36:51]OFD Sender: No OFD packet to send [05:36:56]OFD Sender: No OFD packet to send [05:37:01]OFD Sender: No OFD packet to send [05:37:06]OFD Sender: No OFD packet to send [05:37:11]OFD Sender: No OFD packet to send [05:37:16]OFD Sender: No OFD packet to send [05:37:21]OFD Sender: No OFD packet to send [05:37:26]OFD Sender: No OFD packet to send [05:37:31]OFD Sender: No OFD packet to send [05:37:36]OFD Sender: No OFD packet to send [05:37:41]OFD Sender: No OFD packet to send [05:37:46]OFD Sender: No OFD packet to send [05:37:51]OFD Sender: No OFD packet to send [05:37:56]OFD Sender: No OFD packet to send [05:38:01]OFD Sender: No OFD packet to send [05:38:06]OFD Sender: No OFD packet to send [05:38:11]OFD Sender: No OFD packet to send [05:38:16]OFD Sender: No OFD packet to send [05:38:21]OFD Sender: No OFD packet to send [05:38:26]OFD Sender: No OFD packet to send [05:38:31]OFD Sender: No OFD packet to send [05:38:36]OFD Sender: No OFD packet to send [05:38:41]OFD Sender: No OFD packet to send [05:38:46]OFD Sender: No OFD packet to send [05:38:51]OFD Sender: No OFD packet to send [05:38:56]OFD Sender: No OFD packet to send [05:39:01]OFD Sender: No OFD packet to send [05:39:06]OFD Sender: No OFD packet to send [05:39:11]OFD Sender: No OFD packet to send [05:39:16]OFD Sender: No OFD packet to send [05:39:21]OFD Sender: No OFD packet to send [05:39:26]OFD Sender: No OFD packet to send [05:39:31]OFD Sender: No OFD packet to send [05:39:36]OFD Sender: No OFD packet to send [05:39:41]OFD Sender: No OFD packet to send [05:39:46]OFD Sender: No OFD packet to send [05:39:51]OFD Sender: No OFD packet to send [05:39:56]OFD Sender: No OFD packet to send [05:40:01]OFD Sender: No OFD packet to send [05:40:06]OFD Sender: No OFD packet to send [05:40:11]OFD Sender: No OFD packet to send [05:40:16]OFD Sender: No OFD packet to send [05:40:21]OFD Sender: No OFD packet to send [05:40:26]OFD Sender: No OFD packet to send [05:40:31]OFD Sender: No OFD packet to send [05:40:36]OFD Sender: No OFD packet to send [05:40:41]OFD Sender: No OFD packet to send [05:40:46]OFD Sender: No OFD packet to send [05:40:51]OFD Sender: No OFD packet to send [05:40:56]OFD Sender: No OFD packet to send [05:41:01]OFD Sender: No OFD packet to send [05:41:06]OFD Sender: No OFD packet to send [05:41:11]OFD Sender: No OFD packet to send [05:41:16]OFD Sender: No OFD packet to send [05:41:21]OFD Sender: No OFD packet to send [05:41:26]OFD Sender: No OFD packet to send [05:41:31]OFD Sender: No OFD packet to send [05:41:36]OFD Sender: No OFD packet to send [05:41:41]OFD Sender: No OFD packet to send [05:41:46]OFD Sender: No OFD packet to send [05:41:51]OFD Sender: No OFD packet to send [05:41:56]OFD Sender: No OFD packet to send [05:42:01]OFD Sender: No OFD packet to send [05:42:06]OFD Sender: No OFD packet to send [05:42:11]OFD Sender: No OFD packet to send [05:42:16]OFD Sender: No OFD packet to send [05:42:21]OFD Sender: No OFD packet to send [05:42:26]OFD Sender: No OFD packet to send [05:42:31]OFD Sender: No OFD packet to send [05:42:36]OFD Sender: No OFD packet to send [05:42:41]OFD Sender: No OFD packet to send [05:42:46]OFD Sender: No OFD packet to send [05:42:51]OFD Sender: No OFD packet to send [05:42:56]OFD Sender: No OFD packet to send [05:43:01]OFD Sender: No OFD packet to send [05:43:06]OFD Sender: No OFD packet to send [05:43:11]OFD Sender: No OFD packet to send [05:43:16]OFD Sender: No OFD packet to send [05:43:21]OFD Sender: No OFD packet to send [05:43:26]OFD Sender: No OFD packet to send [05:43:31]OFD Sender: No OFD packet to send [05:43:36]OFD Sender: No OFD packet to send [05:43:41]OFD Sender: No OFD packet to send [05:43:46]OFD Sender: No OFD packet to send [05:43:51]OFD Sender: No OFD packet to send [05:43:56]OFD Sender: No OFD packet to send [05:44:01]OFD Sender: No OFD packet to send [05:44:06]OFD Sender: No OFD packet to send [05:44:11]OFD Sender: No OFD packet to send [05:44:16]OFD Sender: No OFD packet to send [05:44:21]OFD Sender: No OFD packet to send [05:44:26]OFD Sender: No OFD packet to send [05:44:31]OFD Sender: No OFD packet to send [05:44:36]OFD Sender: No OFD packet to send [05:44:41]OFD Sender: No OFD packet to send [05:44:46]OFD Sender: No OFD packet to send [05:44:51]OFD Sender: No OFD packet to send [05:44:56]OFD Sender: No OFD packet to send [05:45:01]OFD Sender: No OFD packet to send [05:45:06]OFD Sender: No OFD packet to send [05:45:11]OFD Sender: No OFD packet to send [05:45:16]OFD Sender: No OFD packet to send [05:45:21]OFD Sender: No OFD packet to send [05:45:26]OFD Sender: No OFD packet to send [05:45:31]OFD Sender: No OFD packet to send [05:45:36]OFD Sender: No OFD packet to send [05:45:41]OFD Sender: No OFD packet to send [05:45:46]OFD Sender: No OFD packet to send [05:45:51]OFD Sender: No OFD packet to send [05:45:56]OFD Sender: No OFD packet to send [05:46:01]OFD Sender: No OFD packet to send [05:46:06]OFD Sender: No OFD packet to send [05:46:11]OFD Sender: No OFD packet to send [05:46:16]OFD Sender: No OFD packet to send [05:46:21]OFD Sender: No OFD packet to send [05:46:26]OFD Sender: No OFD packet to send [05:46:31]OFD Sender: No OFD packet to send [05:46:36]OFD Sender: No OFD packet to send [05:46:41]OFD Sender: No OFD packet to send [05:46:46]OFD Sender: No OFD packet to send [05:46:51]OFD Sender: No OFD packet to send [05:46:56]OFD Sender: No OFD packet to send [05:47:01]OFD Sender: No OFD packet to send [05:47:06]OFD Sender: No OFD packet to send [05:47:11]OFD Sender: No OFD packet to send [05:47:16]OFD Sender: No OFD packet to send [05:47:21]OFD Sender: No OFD packet to send [05:47:26]OFD Sender: No OFD packet to send [05:47:31]OFD Sender: No OFD packet to send [05:47:36]OFD Sender: No OFD packet to send [05:47:41]OFD Sender: No OFD packet to send [05:47:46]OFD Sender: No OFD packet to send [05:47:51]OFD Sender: No OFD packet to send [05:47:56]OFD Sender: No OFD packet to send [05:48:01]OFD Sender: No OFD packet to send [05:48:06]OFD Sender: No OFD packet to send [05:48:11]OFD Sender: No OFD packet to send [05:48:16]OFD Sender: No OFD packet to send [05:48:21]OFD Sender: No OFD packet to send [05:48:26]OFD Sender: No OFD packet to send [05:48:31]OFD Sender: No OFD packet to send [05:48:36]OFD Sender: No OFD packet to send [05:48:41]OFD Sender: No OFD packet to send [05:48:46]OFD Sender: No OFD packet to send [05:48:51]OFD Sender: No OFD packet to send [05:48:56]OFD Sender: No OFD packet to send [05:49:01]OFD Sender: No OFD packet to send [05:49:06]OFD Sender: No OFD packet to send [05:49:11]OFD Sender: No OFD packet to send [05:49:16]OFD Sender: No OFD packet to send [05:49:21]OFD Sender: No OFD packet to send [05:49:26]OFD Sender: No OFD packet to send [05:49:31]OFD Sender: No OFD packet to send [05:49:36]OFD Sender: No OFD packet to send [05:49:41]OFD Sender: No OFD packet to send [05:49:46]OFD Sender: No OFD packet to send [05:49:51]OFD Sender: No OFD packet to send [05:49:56]OFD Sender: No OFD packet to send [05:50:01]OFD Sender: No OFD packet to send [05:50:06]OFD Sender: No OFD packet to send [05:50:11]OFD Sender: No OFD packet to send [05:50:16]OFD Sender: No OFD packet to send [05:50:21]OFD Sender: No OFD packet to send [05:50:26]OFD Sender: No OFD packet to send [05:50:31]OFD Sender: No OFD packet to send [05:50:36]OFD Sender: No OFD packet to send [05:50:41]OFD Sender: No OFD packet to send [05:50:46]OFD Sender: No OFD packet to send [05:50:51]OFD Sender: No OFD packet to send [05:50:56]OFD Sender: No OFD packet to send [05:51:01]OFD Sender: No OFD packet to send [05:51:06]OFD Sender: No OFD packet to send [05:51:11]OFD Sender: No OFD packet to send [05:51:16]OFD Sender: No OFD packet to send [05:51:21]OFD Sender: No OFD packet to send [05:51:26]OFD Sender: No OFD packet to send [05:51:31]OFD Sender: No OFD packet to send [05:51:36]OFD Sender: No OFD packet to send [05:51:41]OFD Sender: No OFD packet to send [05:51:46]OFD Sender: No OFD packet to send [05:51:51]OFD Sender: No OFD packet to send [05:51:56]OFD Sender: No OFD packet to send [05:52:01]OFD Sender: No OFD packet to send [05:52:06]OFD Sender: No OFD packet to send [05:52:11]OFD Sender: No OFD packet to send [05:52:16]OFD Sender: No OFD packet to send [05:52:21]OFD Sender: No OFD packet to send [05:52:26]OFD Sender: No OFD packet to send [05:52:31]OFD Sender: No OFD packet to send [05:52:36]OFD Sender: No OFD packet to send [05:52:41]OFD Sender: No OFD packet to send [05:52:46]OFD Sender: No OFD packet to send [05:52:51]OFD Sender: No OFD packet to send [05:52:56]OFD Sender: No OFD packet to send [05:53:01]OFD Sender: No OFD packet to send [05:53:06]OFD Sender: No OFD packet to send [05:53:11]OFD Sender: No OFD packet to send [05:53:16]OFD Sender: No OFD packet to send [05:53:21]OFD Sender: No OFD packet to send [05:53:26]OFD Sender: No OFD packet to send [05:53:31]OFD Sender: No OFD packet to send [05:53:36]OFD Sender: No OFD packet to send [05:53:42]OFD Sender: No OFD packet to send [05:53:47]OFD Sender: No OFD packet to send [05:53:52]OFD Sender: No OFD packet to send [05:53:57]OFD Sender: No OFD packet to send [05:54:02]OFD Sender: No OFD packet to send [05:54:07]OFD Sender: No OFD packet to send [05:54:12]OFD Sender: No OFD packet to send [05:54:17]OFD Sender: No OFD packet to send [05:54:22]OFD Sender: No OFD packet to send [05:54:27]OFD Sender: No OFD packet to send [05:54:32]OFD Sender: No OFD packet to send [05:54:37]OFD Sender: No OFD packet to send [05:54:42]OFD Sender: No OFD packet to send [05:54:47]OFD Sender: No OFD packet to send [05:54:52]OFD Sender: No OFD packet to send [05:54:57]OFD Sender: No OFD packet to send [05:55:02]OFD Sender: No OFD packet to send [05:55:07]OFD Sender: No OFD packet to send [05:55:12]OFD Sender: No OFD packet to send [05:55:17]OFD Sender: No OFD packet to send [05:55:22]OFD Sender: No OFD packet to send [05:55:27]OFD Sender: No OFD packet to send [05:55:32]OFD Sender: No OFD packet to send [05:55:37]OFD Sender: No OFD packet to send [05:55:42]OFD Sender: No OFD packet to send [05:55:47]OFD Sender: No OFD packet to send [05:55:52]OFD Sender: No OFD packet to send [05:55:57]OFD Sender: No OFD packet to send [05:56:02]OFD Sender: No OFD packet to send [05:56:07]OFD Sender: No OFD packet to send [05:56:12]OFD Sender: No OFD packet to send [05:56:17]OFD Sender: No OFD packet to send [05:56:22]OFD Sender: No OFD packet to send [05:56:27]OFD Sender: No OFD packet to send [05:56:32]OFD Sender: No OFD packet to send [05:56:37]OFD Sender: No OFD packet to send [05:56:42]OFD Sender: No OFD packet to send [05:56:47]OFD Sender: No OFD packet to send [05:56:52]OFD Sender: No OFD packet to send [05:56:57]OFD Sender: No OFD packet to send [05:57:02]OFD Sender: No OFD packet to send [05:57:07]OFD Sender: No OFD packet to send [05:57:12]OFD Sender: No OFD packet to send [05:57:17]OFD Sender: No OFD packet to send [05:57:22]OFD Sender: No OFD packet to send [05:57:27]OFD Sender: No OFD packet to send [05:57:32]OFD Sender: No OFD packet to send [05:57:37]OFD Sender: No OFD packet to send [05:57:42]OFD Sender: No OFD packet to send [05:57:47]OFD Sender: No OFD packet to send [05:57:52]OFD Sender: No OFD packet to send [05:57:57]OFD Sender: No OFD packet to send [05:58:02]OFD Sender: No OFD packet to send [05:58:07]OFD Sender: No OFD packet to send [05:58:12]OFD Sender: No OFD packet to send [05:58:17]OFD Sender: No OFD packet to send [05:58:22]OFD Sender: No OFD packet to send [05:58:27]OFD Sender: No OFD packet to send [05:58:32]OFD Sender: No OFD packet to send [05:58:37]OFD Sender: No OFD packet to send [05:58:42]OFD Sender: No OFD packet to send [05:58:47]OFD Sender: No OFD packet to send [05:58:52]OFD Sender: No OFD packet to send [05:58:57]OFD Sender: No OFD packet to send [05:59:02]OFD Sender: No OFD packet to send [05:59:07]OFD Sender: No OFD packet to send [05:59:12]OFD Sender: No OFD packet to send [05:59:17]OFD Sender: No OFD packet to send [05:59:22]OFD Sender: No OFD packet to send [05:59:27]OFD Sender: No OFD packet to send [05:59:32]OFD Sender: No OFD packet to send [05:59:37]OFD Sender: No OFD packet to send [05:59:42]OFD Sender: No OFD packet to send [05:59:47]OFD Sender: No OFD packet to send [05:59:52]OFD Sender: No OFD packet to send [05:59:57]OFD Sender: No OFD packet to send [06:00:02]OFD Sender: No OFD packet to send [06:00:07]OFD Sender: No OFD packet to send [06:00:12]OFD Sender: No OFD packet to send [06:00:17]OFD Sender: No OFD packet to send [06:00:22]OFD Sender: No OFD packet to send [06:00:27]OFD Sender: No OFD packet to send [06:00:32]OFD Sender: No OFD packet to send [06:00:37]OFD Sender: No OFD packet to send [06:00:42]OFD Sender: No OFD packet to send [06:00:47]OFD Sender: No OFD packet to send [06:00:52]OFD Sender: No OFD packet to send [06:00:57]OFD Sender: No OFD packet to send [06:01:02]OFD Sender: No OFD packet to send [06:01:07]OFD Sender: No OFD packet to send [06:01:12]OFD Sender: No OFD packet to send [06:01:17]OFD Sender: No OFD packet to send [06:01:22]OFD Sender: No OFD packet to send [06:01:27]OFD Sender: No OFD packet to send [06:01:32]OFD Sender: No OFD packet to send [06:01:37]OFD Sender: No OFD packet to send [06:01:42]OFD Sender: No OFD packet to send [06:01:47]OFD Sender: No OFD packet to send [06:01:52]OFD Sender: No OFD packet to send [06:01:57]OFD Sender: No OFD packet to send [06:02:02]OFD Sender: No OFD packet to send [06:02:07]OFD Sender: No OFD packet to send [06:02:12]OFD Sender: No OFD packet to send [06:02:17]OFD Sender: No OFD packet to send [06:02:22]OFD Sender: No OFD packet to send [06:02:27]OFD Sender: No OFD packet to send [06:02:32]OFD Sender: No OFD packet to send [06:02:37]OFD Sender: No OFD packet to send [06:02:42]OFD Sender: No OFD packet to send [06:02:47]OFD Sender: No OFD packet to send [06:02:52]OFD Sender: No OFD packet to send [06:02:57]OFD Sender: No OFD packet to send [06:03:02]OFD Sender: No OFD packet to send [06:03:07]OFD Sender: No OFD packet to send [06:03:12]OFD Sender: No OFD packet to send [06:03:17]OFD Sender: No OFD packet to send [06:03:22]OFD Sender: No OFD packet to send [06:03:27]OFD Sender: No OFD packet to send [06:03:32]OFD Sender: No OFD packet to send [06:03:37]OFD Sender: No OFD packet to send [06:03:42]OFD Sender: No OFD packet to send [06:03:47]OFD Sender: No OFD packet to send [06:03:52]OFD Sender: No OFD packet to send [06:03:57]OFD Sender: No OFD packet to send [06:04:02]OFD Sender: No OFD packet to send [06:04:07]OFD Sender: No OFD packet to send [06:04:12]OFD Sender: No OFD packet to send [06:04:17]OFD Sender: No OFD packet to send [06:04:22]OFD Sender: No OFD packet to send [06:04:27]OFD Sender: No OFD packet to send [06:04:32]OFD Sender: No OFD packet to send [06:04:37]OFD Sender: No OFD packet to send [06:04:42]OFD Sender: No OFD packet to send [06:04:47]OFD Sender: No OFD packet to send [06:04:52]OFD Sender: No OFD packet to send [06:04:57]OFD Sender: No OFD packet to send [06:05:02]OFD Sender: No OFD packet to send [06:05:07]OFD Sender: No OFD packet to send [06:05:12]OFD Sender: No OFD packet to send [06:05:17]OFD Sender: No OFD packet to send [06:05:22]OFD Sender: No OFD packet to send [06:05:27]OFD Sender: No OFD packet to send [06:05:32]OFD Sender: No OFD packet to send [06:05:37]OFD Sender: No OFD packet to send [06:05:42]OFD Sender: No OFD packet to send [06:05:47]OFD Sender: No OFD packet to send [06:05:52]OFD Sender: No OFD packet to send [06:05:57]OFD Sender: No OFD packet to send [06:06:02]OFD Sender: No OFD packet to send [06:06:07]OFD Sender: No OFD packet to send [06:06:12]OFD Sender: No OFD packet to send [06:06:17]OFD Sender: No OFD packet to send [06:06:22]OFD Sender: No OFD packet to send [06:06:27]OFD Sender: No OFD packet to send [06:06:32]OFD Sender: No OFD packet to send [06:06:37]OFD Sender: No OFD packet to send [06:06:42]OFD Sender: No OFD packet to send [06:06:47]OFD Sender: No OFD packet to send [06:06:52]OFD Sender: No OFD packet to send [06:06:57]OFD Sender: No OFD packet to send [06:07:02]OFD Sender: No OFD packet to send [06:07:07]OFD Sender: No OFD packet to send [06:07:12]OFD Sender: No OFD packet to send [06:07:17]OFD Sender: No OFD packet to send [06:07:22]OFD Sender: No OFD packet to send [06:07:27]OFD Sender: No OFD packet to send [06:07:32]OFD Sender: No OFD packet to send [06:07:37]OFD Sender: No OFD packet to send [06:07:42]OFD Sender: No OFD packet to send [06:07:47]OFD Sender: No OFD packet to send [06:07:52]OFD Sender: No OFD packet to send [06:07:57]OFD Sender: No OFD packet to send [06:08:02]OFD Sender: No OFD packet to send [06:08:07]OFD Sender: No OFD packet to send [06:08:12]OFD Sender: No OFD packet to send [06:08:17]OFD Sender: No OFD packet to send [06:08:22]OFD Sender: No OFD packet to send [06:08:27]OFD Sender: No OFD packet to send [06:08:32]OFD Sender: No OFD packet to send [06:08:37]OFD Sender: No OFD packet to send [06:08:42]OFD Sender: No OFD packet to send [06:08:47]OFD Sender: No OFD packet to send [06:08:52]OFD Sender: No OFD packet to send [06:08:57]OFD Sender: No OFD packet to send [06:09:02]OFD Sender: No OFD packet to send [06:09:07]OFD Sender: No OFD packet to send [06:09:12]OFD Sender: No OFD packet to send [06:09:17]OFD Sender: No OFD packet to send [06:09:22]OFD Sender: No OFD packet to send [06:09:27]OFD Sender: No OFD packet to send [06:09:32]OFD Sender: No OFD packet to send [06:09:37]OFD Sender: No OFD packet to send [06:09:42]OFD Sender: No OFD packet to send [06:09:47]OFD Sender: No OFD packet to send [06:09:52]OFD Sender: No OFD packet to send [06:09:57]OFD Sender: No OFD packet to send [06:10:02]OFD Sender: No OFD packet to send [06:10:07]OFD Sender: No OFD packet to send [06:10:12]OFD Sender: No OFD packet to send [06:10:17]OFD Sender: No OFD packet to send [06:10:22]OFD Sender: No OFD packet to send [06:10:27]OFD Sender: No OFD packet to send [06:10:32]OFD Sender: No OFD packet to send [06:10:37]OFD Sender: No OFD packet to send [06:10:42]OFD Sender: No OFD packet to send [06:10:47]OFD Sender: No OFD packet to send [06:10:52]OFD Sender: No OFD packet to send [06:10:57]OFD Sender: No OFD packet to send [06:11:02]OFD Sender: No OFD packet to send [06:11:07]OFD Sender: No OFD packet to send [06:11:12]OFD Sender: No OFD packet to send [06:11:17]OFD Sender: No OFD packet to send [06:11:22]OFD Sender: No OFD packet to send [06:11:27]OFD Sender: No OFD packet to send [06:11:32]OFD Sender: No OFD packet to send [06:11:37]OFD Sender: No OFD packet to send [06:11:42]OFD Sender: No OFD packet to send [06:11:47]OFD Sender: No OFD packet to send [06:11:52]OFD Sender: No OFD packet to send [06:11:57]OFD Sender: No OFD packet to send [06:12:02]OFD Sender: No OFD packet to send [06:12:07]OFD Sender: No OFD packet to send [06:12:12]OFD Sender: No OFD packet to send [06:12:17]OFD Sender: No OFD packet to send [06:12:22]OFD Sender: No OFD packet to send [06:12:27]OFD Sender: No OFD packet to send [06:12:32]OFD Sender: No OFD packet to send [06:12:37]OFD Sender: No OFD packet to send [06:12:42]OFD Sender: No OFD packet to send [06:12:47]OFD Sender: No OFD packet to send [06:12:52]OFD Sender: No OFD packet to send [06:12:57]OFD Sender: No OFD packet to send [06:13:02]OFD Sender: No OFD packet to send [06:13:07]OFD Sender: No OFD packet to send [06:13:12]OFD Sender: No OFD packet to send [06:13:17]OFD Sender: No OFD packet to send [06:13:22]OFD Sender: No OFD packet to send [06:13:27]OFD Sender: No OFD packet to send [06:13:32]OFD Sender: No OFD packet to send [06:13:37]OFD Sender: No OFD packet to send [06:13:42]OFD Sender: No OFD packet to send [06:13:47]OFD Sender: No OFD packet to send [06:13:52]OFD Sender: No OFD packet to send [06:13:57]OFD Sender: No OFD packet to send [06:14:02]OFD Sender: No OFD packet to send [06:14:07]OFD Sender: No OFD packet to send [06:14:12]OFD Sender: No OFD packet to send [06:14:17]OFD Sender: No OFD packet to send [06:14:22]OFD Sender: No OFD packet to send [06:14:27]OFD Sender: No OFD packet to send [06:14:32]OFD Sender: No OFD packet to send [06:14:37]OFD Sender: No OFD packet to send [06:14:42]OFD Sender: No OFD packet to send [06:14:47]OFD Sender: No OFD packet to send [06:14:52]OFD Sender: No OFD packet to send [06:14:57]OFD Sender: No OFD packet to send [06:15:02]OFD Sender: No OFD packet to send [06:15:07]OFD Sender: No OFD packet to send [06:15:12]OFD Sender: No OFD packet to send [06:15:17]OFD Sender: No OFD packet to send [06:15:22]OFD Sender: No OFD packet to send [06:15:27]OFD Sender: No OFD packet to send [06:15:33]OFD Sender: No OFD packet to send [06:15:38]OFD Sender: No OFD packet to send [06:15:43]OFD Sender: No OFD packet to send [06:15:48]OFD Sender: No OFD packet to send [06:15:53]OFD Sender: No OFD packet to send [06:15:58]OFD Sender: No OFD packet to send [06:16:03]OFD Sender: No OFD packet to send [06:16:08]OFD Sender: No OFD packet to send [06:16:13]OFD Sender: No OFD packet to send [06:16:18]OFD Sender: No OFD packet to send [06:16:23]OFD Sender: No OFD packet to send [06:16:28]OFD Sender: No OFD packet to send [06:16:33]OFD Sender: No OFD packet to send [06:16:38]OFD Sender: No OFD packet to send [06:16:43]OFD Sender: No OFD packet to send [06:16:48]OFD Sender: No OFD packet to send [06:16:53]OFD Sender: No OFD packet to send [06:16:58]OFD Sender: No OFD packet to send [06:17:03]OFD Sender: No OFD packet to send [06:17:08]OFD Sender: No OFD packet to send [06:17:13]OFD Sender: No OFD packet to send [06:17:18]OFD Sender: No OFD packet to send [06:17:23]OFD Sender: No OFD packet to send [06:17:28]OFD Sender: No OFD packet to send [06:17:33]OFD Sender: No OFD packet to send [06:17:38]OFD Sender: No OFD packet to send [06:17:43]OFD Sender: No OFD packet to send [06:17:48]OFD Sender: No OFD packet to send [06:17:53]OFD Sender: No OFD packet to send [06:17:58]OFD Sender: No OFD packet to send [06:18:03]OFD Sender: No OFD packet to send [06:18:08]OFD Sender: No OFD packet to send [06:18:13]OFD Sender: No OFD packet to send [06:18:18]OFD Sender: No OFD packet to send [06:18:23]OFD Sender: No OFD packet to send [06:18:28]OFD Sender: No OFD packet to send [06:18:33]OFD Sender: No OFD packet to send [06:18:38]OFD Sender: No OFD packet to send [06:18:43]OFD Sender: No OFD packet to send [06:18:48]OFD Sender: No OFD packet to send [06:18:53]OFD Sender: No OFD packet to send [06:18:58]OFD Sender: No OFD packet to send [06:19:03]OFD Sender: No OFD packet to send [06:19:08]OFD Sender: No OFD packet to send [06:19:13]OFD Sender: No OFD packet to send [06:19:18]OFD Sender: No OFD packet to send [06:19:23]OFD Sender: No OFD packet to send [06:19:28]OFD Sender: No OFD packet to send [06:19:33]OFD Sender: No OFD packet to send [06:19:38]OFD Sender: No OFD packet to send [06:19:43]OFD Sender: No OFD packet to send [06:19:48]OFD Sender: No OFD packet to send [06:19:53]OFD Sender: No OFD packet to send [06:19:58]OFD Sender: No OFD packet to send [06:20:03]OFD Sender: No OFD packet to send [06:20:08]OFD Sender: No OFD packet to send [06:20:13]OFD Sender: No OFD packet to send [06:20:18]OFD Sender: No OFD packet to send [06:20:23]OFD Sender: No OFD packet to send [06:20:28]OFD Sender: No OFD packet to send [06:20:33]OFD Sender: No OFD packet to send [06:20:38]OFD Sender: No OFD packet to send [06:20:43]OFD Sender: No OFD packet to send [06:20:48]OFD Sender: No OFD packet to send [06:20:53]OFD Sender: No OFD packet to send [06:20:58]OFD Sender: No OFD packet to send [06:21:03]OFD Sender: No OFD packet to send [06:21:08]OFD Sender: No OFD packet to send [06:21:13]OFD Sender: No OFD packet to send [06:21:18]OFD Sender: No OFD packet to send [06:21:23]OFD Sender: No OFD packet to send [06:21:28]OFD Sender: No OFD packet to send [06:21:33]OFD Sender: No OFD packet to send [06:21:38]OFD Sender: No OFD packet to send [06:21:43]OFD Sender: No OFD packet to send [06:21:48]OFD Sender: No OFD packet to send [06:21:53]OFD Sender: No OFD packet to send [06:21:58]OFD Sender: No OFD packet to send [06:22:03]OFD Sender: No OFD packet to send [06:22:08]OFD Sender: No OFD packet to send [06:22:13]OFD Sender: No OFD packet to send [06:22:18]OFD Sender: No OFD packet to send [06:22:23]OFD Sender: No OFD packet to send [06:22:28]OFD Sender: No OFD packet to send [06:22:33]OFD Sender: No OFD packet to send [06:22:38]OFD Sender: No OFD packet to send [06:22:43]OFD Sender: No OFD packet to send [06:22:48]OFD Sender: No OFD packet to send [06:22:53]OFD Sender: No OFD packet to send [06:22:58]OFD Sender: No OFD packet to send [06:23:03]OFD Sender: No OFD packet to send [06:23:08]OFD Sender: No OFD packet to send [06:23:13]OFD Sender: No OFD packet to send [06:23:18]OFD Sender: No OFD packet to send [06:23:23]OFD Sender: No OFD packet to send [06:23:28]OFD Sender: No OFD packet to send [06:23:33]OFD Sender: No OFD packet to send [06:23:38]OFD Sender: No OFD packet to send [06:23:43]OFD Sender: No OFD packet to send [06:23:48]OFD Sender: No OFD packet to send [06:23:53]OFD Sender: No OFD packet to send [06:23:58]OFD Sender: No OFD packet to send [06:24:03]OFD Sender: No OFD packet to send [06:24:08]OFD Sender: No OFD packet to send [06:24:13]OFD Sender: No OFD packet to send [06:24:18]OFD Sender: No OFD packet to send [06:24:23]OFD Sender: No OFD packet to send [06:24:28]OFD Sender: No OFD packet to send [06:24:33]OFD Sender: No OFD packet to send [06:24:38]OFD Sender: No OFD packet to send [06:24:43]OFD Sender: No OFD packet to send [06:24:48]OFD Sender: No OFD packet to send [06:24:53]OFD Sender: No OFD packet to send [06:24:58]OFD Sender: No OFD packet to send [06:25:03]OFD Sender: No OFD packet to send [06:25:08]OFD Sender: No OFD packet to send [06:25:13]OFD Sender: No OFD packet to send [06:25:18]OFD Sender: No OFD packet to send [06:25:23]OFD Sender: No OFD packet to send [06:25:28]OFD Sender: No OFD packet to send [06:25:33]OFD Sender: No OFD packet to send [06:25:38]OFD Sender: No OFD packet to send [06:25:43]OFD Sender: No OFD packet to send [06:25:48]OFD Sender: No OFD packet to send [06:25:53]OFD Sender: No OFD packet to send [06:25:58]OFD Sender: No OFD packet to send [06:26:03]OFD Sender: No OFD packet to send [06:26:08]OFD Sender: No OFD packet to send [06:26:13]OFD Sender: No OFD packet to send [06:26:18]OFD Sender: No OFD packet to send [06:26:23]OFD Sender: No OFD packet to send [06:26:28]OFD Sender: No OFD packet to send [06:26:33]OFD Sender: No OFD packet to send [06:26:38]OFD Sender: No OFD packet to send [06:26:43]OFD Sender: No OFD packet to send [06:26:48]OFD Sender: No OFD packet to send [06:26:53]OFD Sender: No OFD packet to send [06:26:58]OFD Sender: No OFD packet to send [06:27:03]OFD Sender: No OFD packet to send [06:27:08]OFD Sender: No OFD packet to send [06:27:13]OFD Sender: No OFD packet to send [06:27:18]OFD Sender: No OFD packet to send [06:27:23]OFD Sender: No OFD packet to send [06:27:28]OFD Sender: No OFD packet to send [06:27:33]OFD Sender: No OFD packet to send [06:27:38]OFD Sender: No OFD packet to send [06:27:43]OFD Sender: No OFD packet to send [06:27:48]OFD Sender: No OFD packet to send [06:27:53]OFD Sender: No OFD packet to send [06:27:58]OFD Sender: No OFD packet to send [06:28:03]OFD Sender: No OFD packet to send [06:28:08]OFD Sender: No OFD packet to send [06:28:13]OFD Sender: No OFD packet to send [06:28:18]OFD Sender: No OFD packet to send [06:28:23]OFD Sender: No OFD packet to send [06:28:28]OFD Sender: No OFD packet to send [06:28:33]OFD Sender: No OFD packet to send [06:28:38]OFD Sender: No OFD packet to send [06:28:43]OFD Sender: No OFD packet to send [06:28:48]OFD Sender: No OFD packet to send [06:28:53]OFD Sender: No OFD packet to send [06:28:58]OFD Sender: No OFD packet to send [06:29:03]OFD Sender: No OFD packet to send [06:29:08]OFD Sender: No OFD packet to send [06:29:13]OFD Sender: No OFD packet to send [06:29:18]OFD Sender: No OFD packet to send [06:29:23]OFD Sender: No OFD packet to send [06:29:28]OFD Sender: No OFD packet to send [06:29:33]OFD Sender: No OFD packet to send [06:29:38]OFD Sender: No OFD packet to send [06:29:43]OFD Sender: No OFD packet to send [06:29:48]OFD Sender: No OFD packet to send [06:29:53]OFD Sender: No OFD packet to send [06:29:58]OFD Sender: No OFD packet to send [06:30:03]OFD Sender: No OFD packet to send [06:30:08]OFD Sender: No OFD packet to send [06:30:13]OFD Sender: No OFD packet to send [06:30:18]OFD Sender: No OFD packet to send [06:30:23]OFD Sender: No OFD packet to send [06:30:28]OFD Sender: No OFD packet to send [06:30:33]OFD Sender: No OFD packet to send [06:30:38]OFD Sender: No OFD packet to send [06:30:43]OFD Sender: No OFD packet to send [06:30:48]OFD Sender: No OFD packet to send [06:30:53]OFD Sender: No OFD packet to send [06:30:58]OFD Sender: No OFD packet to send [06:31:03]OFD Sender: No OFD packet to send [06:31:08]OFD Sender: No OFD packet to send [06:31:13]OFD Sender: No OFD packet to send [06:31:18]OFD Sender: No OFD packet to send [06:31:23]OFD Sender: No OFD packet to send [06:31:28]OFD Sender: No OFD packet to send [06:31:33]OFD Sender: No OFD packet to send [06:31:38]OFD Sender: No OFD packet to send [06:31:43]OFD Sender: No OFD packet to send [06:31:48]OFD Sender: No OFD packet to send [06:31:53]OFD Sender: No OFD packet to send [06:31:58]OFD Sender: No OFD packet to send [06:32:03]OFD Sender: No OFD packet to send [06:32:08]OFD Sender: No OFD packet to send [06:32:13]OFD Sender: No OFD packet to send [06:32:18]OFD Sender: No OFD packet to send [06:32:23]OFD Sender: No OFD packet to send [06:32:28]OFD Sender: No OFD packet to send [06:32:33]OFD Sender: No OFD packet to send [06:32:38]OFD Sender: No OFD packet to send [06:32:43]OFD Sender: No OFD packet to send [06:32:48]OFD Sender: No OFD packet to send [06:32:53]OFD Sender: No OFD packet to send [06:32:58]OFD Sender: No OFD packet to send [06:33:03]OFD Sender: No OFD packet to send [06:33:08]OFD Sender: No OFD packet to send [06:33:13]OFD Sender: No OFD packet to send [06:33:18]OFD Sender: No OFD packet to send [06:33:23]OFD Sender: No OFD packet to send [06:33:28]OFD Sender: No OFD packet to send [06:33:33]OFD Sender: No OFD packet to send [06:33:38]OFD Sender: No OFD packet to send [06:33:43]OFD Sender: No OFD packet to send [06:33:48]OFD Sender: No OFD packet to send [06:33:53]OFD Sender: No OFD packet to send [06:33:58]OFD Sender: No OFD packet to send [06:34:03]OFD Sender: No OFD packet to send [06:34:08]OFD Sender: No OFD packet to send [06:34:13]OFD Sender: No OFD packet to send [06:34:18]OFD Sender: No OFD packet to send [06:34:23]OFD Sender: No OFD packet to send [06:34:28]OFD Sender: No OFD packet to send [06:34:33]OFD Sender: No OFD packet to send [06:34:38]OFD Sender: No OFD packet to send [06:34:43]OFD Sender: No OFD packet to send [06:34:48]OFD Sender: No OFD packet to send [06:34:53]OFD Sender: No OFD packet to send [06:34:58]OFD Sender: No OFD packet to send [06:35:03]OFD Sender: No OFD packet to send [06:35:08]OFD Sender: No OFD packet to send [06:35:13]OFD Sender: No OFD packet to send [06:35:18]OFD Sender: No OFD packet to send [06:35:23]OFD Sender: No OFD packet to send [06:35:28]OFD Sender: No OFD packet to send [06:35:33]OFD Sender: No OFD packet to send [06:35:38]OFD Sender: No OFD packet to send [06:35:43]OFD Sender: No OFD packet to send [06:35:48]OFD Sender: No OFD packet to send [06:35:53]OFD Sender: No OFD packet to send [06:35:58]OFD Sender: No OFD packet to send [06:36:03]OFD Sender: No OFD packet to send [06:36:08]OFD Sender: No OFD packet to send [06:36:13]OFD Sender: No OFD packet to send [06:36:18]OFD Sender: No OFD packet to send [06:36:23]OFD Sender: No OFD packet to send [06:36:28]OFD Sender: No OFD packet to send [06:36:33]OFD Sender: No OFD packet to send [06:36:38]OFD Sender: No OFD packet to send [06:36:43]OFD Sender: No OFD packet to send [06:36:48]OFD Sender: No OFD packet to send [06:36:53]OFD Sender: No OFD packet to send [06:36:58]OFD Sender: No OFD packet to send [06:37:03]OFD Sender: No OFD packet to send [06:37:08]OFD Sender: No OFD packet to send [06:37:13]OFD Sender: No OFD packet to send [06:37:18]OFD Sender: No OFD packet to send [06:37:23]OFD Sender: No OFD packet to send [06:37:28]OFD Sender: No OFD packet to send [06:37:34]OFD Sender: No OFD packet to send [06:37:39]OFD Sender: No OFD packet to send [06:37:44]OFD Sender: No OFD packet to send [06:37:49]OFD Sender: No OFD packet to send [06:37:54]OFD Sender: No OFD packet to send [06:37:59]OFD Sender: No OFD packet to send [06:38:04]OFD Sender: No OFD packet to send [06:38:09]OFD Sender: No OFD packet to send [06:38:14]OFD Sender: No OFD packet to send [06:38:19]OFD Sender: No OFD packet to send [06:38:24]OFD Sender: No OFD packet to send [06:38:29]OFD Sender: No OFD packet to send [06:38:34]OFD Sender: No OFD packet to send [06:38:39]OFD Sender: No OFD packet to send [06:38:44]OFD Sender: No OFD packet to send [06:38:49]OFD Sender: No OFD packet to send [06:38:54]OFD Sender: No OFD packet to send [06:38:59]OFD Sender: No OFD packet to send [06:39:04]OFD Sender: No OFD packet to send [06:39:09]OFD Sender: No OFD packet to send [06:39:14]OFD Sender: No OFD packet to send [06:39:19]OFD Sender: No OFD packet to send [06:39:24]OFD Sender: No OFD packet to send [06:39:29]OFD Sender: No OFD packet to send [06:39:34]OFD Sender: No OFD packet to send [06:39:39]OFD Sender: No OFD packet to send [06:39:44]OFD Sender: No OFD packet to send [06:39:49]OFD Sender: No OFD packet to send [06:39:54]OFD Sender: No OFD packet to send [06:39:59]OFD Sender: No OFD packet to send [06:40:04]OFD Sender: No OFD packet to send [06:40:09]OFD Sender: No OFD packet to send [06:40:14]OFD Sender: No OFD packet to send [06:40:19]OFD Sender: No OFD packet to send [06:40:24]OFD Sender: No OFD packet to send [06:40:29]OFD Sender: No OFD packet to send [06:40:34]OFD Sender: No OFD packet to send [06:40:39]OFD Sender: No OFD packet to send [06:40:44]OFD Sender: No OFD packet to send [06:40:49]OFD Sender: No OFD packet to send [06:40:54]OFD Sender: No OFD packet to send [06:40:59]OFD Sender: No OFD packet to send [06:41:04]OFD Sender: No OFD packet to send [06:41:09]OFD Sender: No OFD packet to send [06:41:14]OFD Sender: No OFD packet to send [06:41:19]OFD Sender: No OFD packet to send [06:41:24]OFD Sender: No OFD packet to send [06:41:29]OFD Sender: No OFD packet to send [06:41:34]OFD Sender: No OFD packet to send [06:41:39]OFD Sender: No OFD packet to send [06:41:44]OFD Sender: No OFD packet to send [06:41:49]OFD Sender: No OFD packet to send [06:41:54]OFD Sender: No OFD packet to send [06:41:59]OFD Sender: No OFD packet to send [06:42:04]OFD Sender: No OFD packet to send [06:42:09]OFD Sender: No OFD packet to send [06:42:14]OFD Sender: No OFD packet to send [06:42:19]OFD Sender: No OFD packet to send [06:42:24]OFD Sender: No OFD packet to send [06:42:29]OFD Sender: No OFD packet to send [06:42:34]OFD Sender: No OFD packet to send [06:42:39]OFD Sender: No OFD packet to send [06:42:44]OFD Sender: No OFD packet to send [06:42:49]OFD Sender: No OFD packet to send [06:42:54]OFD Sender: No OFD packet to send [06:42:59]OFD Sender: No OFD packet to send [06:43:04]OFD Sender: No OFD packet to send [06:43:09]OFD Sender: No OFD packet to send [06:43:14]OFD Sender: No OFD packet to send [06:43:19]OFD Sender: No OFD packet to send [06:43:24]OFD Sender: No OFD packet to send [06:43:29]OFD Sender: No OFD packet to send [06:43:34]OFD Sender: No OFD packet to send [06:43:39]OFD Sender: No OFD packet to send [06:43:44]OFD Sender: No OFD packet to send [06:43:49]OFD Sender: No OFD packet to send [06:43:54]OFD Sender: No OFD packet to send [06:43:59]OFD Sender: No OFD packet to send [06:44:04]OFD Sender: No OFD packet to send [06:44:09]OFD Sender: No OFD packet to send [06:44:14]OFD Sender: No OFD packet to send [06:44:19]OFD Sender: No OFD packet to send [06:44:24]OFD Sender: No OFD packet to send [06:44:29]OFD Sender: No OFD packet to send [06:44:34]OFD Sender: No OFD packet to send [06:44:39]OFD Sender: No OFD packet to send [06:44:44]OFD Sender: No OFD packet to send [06:44:49]OFD Sender: No OFD packet to send [06:44:54]OFD Sender: No OFD packet to send [06:44:59]OFD Sender: No OFD packet to send [06:45:04]OFD Sender: No OFD packet to send [06:45:09]OFD Sender: No OFD packet to send [06:45:14]OFD Sender: No OFD packet to send [06:45:19]OFD Sender: No OFD packet to send [06:45:24]OFD Sender: No OFD packet to send [06:45:29]OFD Sender: No OFD packet to send [06:45:34]OFD Sender: No OFD packet to send [06:45:39]OFD Sender: No OFD packet to send [06:45:44]OFD Sender: No OFD packet to send [06:45:49]OFD Sender: No OFD packet to send [06:45:54]OFD Sender: No OFD packet to send [06:45:59]OFD Sender: No OFD packet to send [06:46:04]OFD Sender: No OFD packet to send [06:46:09]OFD Sender: No OFD packet to send [06:46:14]OFD Sender: No OFD packet to send [06:46:19]OFD Sender: No OFD packet to send [06:46:24]OFD Sender: No OFD packet to send [06:46:29]OFD Sender: No OFD packet to send [06:46:34]OFD Sender: No OFD packet to send [06:46:39]OFD Sender: No OFD packet to send [06:46:44]OFD Sender: No OFD packet to send [06:46:49]OFD Sender: No OFD packet to send [06:46:54]OFD Sender: No OFD packet to send [06:46:59]OFD Sender: No OFD packet to send [06:47:04]OFD Sender: No OFD packet to send [06:47:09]OFD Sender: No OFD packet to send [06:47:14]OFD Sender: No OFD packet to send [06:47:19]OFD Sender: No OFD packet to send [06:47:24]OFD Sender: No OFD packet to send [06:47:29]OFD Sender: No OFD packet to send [06:47:34]OFD Sender: No OFD packet to send [06:47:39]OFD Sender: No OFD packet to send [06:47:44]OFD Sender: No OFD packet to send [06:47:49]OFD Sender: No OFD packet to send [06:47:54]OFD Sender: No OFD packet to send [06:47:59]OFD Sender: No OFD packet to send [06:48:04]OFD Sender: No OFD packet to send [06:48:09]OFD Sender: No OFD packet to send [06:48:14]OFD Sender: No OFD packet to send [06:48:19]OFD Sender: No OFD packet to send [06:48:24]OFD Sender: No OFD packet to send [06:48:29]OFD Sender: No OFD packet to send [06:48:34]OFD Sender: No OFD packet to send [06:48:39]OFD Sender: No OFD packet to send [06:48:44]OFD Sender: No OFD packet to send [06:48:49]OFD Sender: No OFD packet to send [06:48:54]OFD Sender: No OFD packet to send [06:48:59]OFD Sender: No OFD packet to send [06:49:04]OFD Sender: No OFD packet to send [06:49:09]OFD Sender: No OFD packet to send [06:49:14]OFD Sender: No OFD packet to send [06:49:19]OFD Sender: No OFD packet to send [06:49:24]OFD Sender: No OFD packet to send [06:49:29]OFD Sender: No OFD packet to send [06:49:34]OFD Sender: No OFD packet to send [06:49:39]OFD Sender: No OFD packet to send [06:49:44]OFD Sender: No OFD packet to send [06:49:49]OFD Sender: No OFD packet to send [06:49:54]OFD Sender: No OFD packet to send [06:49:59]OFD Sender: No OFD packet to send [06:50:04]OFD Sender: No OFD packet to send [06:50:09]OFD Sender: No OFD packet to send [06:50:14]OFD Sender: No OFD packet to send [06:50:19]OFD Sender: No OFD packet to send [06:50:24]OFD Sender: No OFD packet to send [06:50:29]OFD Sender: No OFD packet to send [06:50:34]OFD Sender: No OFD packet to send [06:50:39]OFD Sender: No OFD packet to send [06:50:44]OFD Sender: No OFD packet to send [06:50:49]OFD Sender: No OFD packet to send [06:50:54]OFD Sender: No OFD packet to send [06:50:59]OFD Sender: No OFD packet to send [06:51:04]OFD Sender: No OFD packet to send [06:51:09]OFD Sender: No OFD packet to send [06:51:14]OFD Sender: No OFD packet to send [06:51:19]OFD Sender: No OFD packet to send [06:51:24]OFD Sender: No OFD packet to send [06:51:29]OFD Sender: No OFD packet to send [06:51:34]OFD Sender: No OFD packet to send [06:51:39]OFD Sender: No OFD packet to send [06:51:44]OFD Sender: No OFD packet to send [06:51:49]OFD Sender: No OFD packet to send [06:51:54]OFD Sender: No OFD packet to send [06:51:59]OFD Sender: No OFD packet to send [06:52:04]OFD Sender: No OFD packet to send [06:52:09]OFD Sender: No OFD packet to send [06:52:14]OFD Sender: No OFD packet to send [06:52:19]OFD Sender: No OFD packet to send [06:52:24]OFD Sender: No OFD packet to send [06:52:29]OFD Sender: No OFD packet to send [06:52:34]OFD Sender: No OFD packet to send [06:52:39]OFD Sender: No OFD packet to send [06:52:44]OFD Sender: No OFD packet to send [06:52:49]OFD Sender: No OFD packet to send [06:52:54]OFD Sender: No OFD packet to send [06:52:59]OFD Sender: No OFD packet to send [06:53:04]OFD Sender: No OFD packet to send [06:53:09]OFD Sender: No OFD packet to send [06:53:14]OFD Sender: No OFD packet to send [06:53:19]OFD Sender: No OFD packet to send [06:53:24]OFD Sender: No OFD packet to send [06:53:29]OFD Sender: No OFD packet to send [06:53:34]OFD Sender: No OFD packet to send [06:53:39]OFD Sender: No OFD packet to send [06:53:44]OFD Sender: No OFD packet to send [06:53:49]OFD Sender: No OFD packet to send [06:53:54]OFD Sender: No OFD packet to send [06:53:59]OFD Sender: No OFD packet to send [06:54:04]OFD Sender: No OFD packet to send [06:54:09]OFD Sender: No OFD packet to send [06:54:14]OFD Sender: No OFD packet to send [06:54:19]OFD Sender: No OFD packet to send [06:54:24]OFD Sender: No OFD packet to send [06:54:29]OFD Sender: No OFD packet to send [06:54:34]OFD Sender: No OFD packet to send [06:54:39]OFD Sender: No OFD packet to send [06:54:44]OFD Sender: No OFD packet to send [06:54:49]OFD Sender: No OFD packet to send [06:54:54]OFD Sender: No OFD packet to send [06:54:59]OFD Sender: No OFD packet to send [06:55:04]OFD Sender: No OFD packet to send [06:55:09]OFD Sender: No OFD packet to send [06:55:14]OFD Sender: No OFD packet to send [06:55:19]OFD Sender: No OFD packet to send [06:55:24]OFD Sender: No OFD packet to send [06:55:29]OFD Sender: No OFD packet to send [06:55:34]OFD Sender: No OFD packet to send [06:55:39]OFD Sender: No OFD packet to send [06:55:44]OFD Sender: No OFD packet to send [06:55:49]OFD Sender: No OFD packet to send [06:55:54]OFD Sender: No OFD packet to send [06:55:59]OFD Sender: No OFD packet to send [06:56:04]OFD Sender: No OFD packet to send [06:56:09]OFD Sender: No OFD packet to send [06:56:14]OFD Sender: No OFD packet to send [06:56:19]OFD Sender: No OFD packet to send [06:56:24]OFD Sender: No OFD packet to send [06:56:29]OFD Sender: No OFD packet to send [06:56:34]OFD Sender: No OFD packet to send [06:56:39]OFD Sender: No OFD packet to send [06:56:44]OFD Sender: No OFD packet to send [06:56:49]OFD Sender: No OFD packet to send [06:56:54]OFD Sender: No OFD packet to send [06:56:59]OFD Sender: No OFD packet to send [06:57:04]OFD Sender: No OFD packet to send [06:57:09]OFD Sender: No OFD packet to send [06:57:14]OFD Sender: No OFD packet to send [06:57:19]OFD Sender: No OFD packet to send [06:57:24]OFD Sender: No OFD packet to send [06:57:29]OFD Sender: No OFD packet to send [06:57:34]OFD Sender: No OFD packet to send [06:57:39]OFD Sender: No OFD packet to send [06:57:44]OFD Sender: No OFD packet to send [06:57:49]OFD Sender: No OFD packet to send [06:57:54]OFD Sender: No OFD packet to send [06:57:59]OFD Sender: No OFD packet to send [06:58:04]OFD Sender: No OFD packet to send [06:58:09]OFD Sender: No OFD packet to send [06:58:14]OFD Sender: No OFD packet to send [06:58:19]OFD Sender: No OFD packet to send [06:58:24]OFD Sender: No OFD packet to send [06:58:29]OFD Sender: No OFD packet to send [06:58:34]OFD Sender: No OFD packet to send [06:58:39]OFD Sender: No OFD packet to send [06:58:44]OFD Sender: No OFD packet to send [06:58:49]OFD Sender: No OFD packet to send [06:58:54]OFD Sender: No OFD packet to send [06:58:59]OFD Sender: No OFD packet to send [06:59:04]OFD Sender: No OFD packet to send [06:59:09]OFD Sender: No OFD packet to send [06:59:14]OFD Sender: No OFD packet to send [06:59:20]OFD Sender: No OFD packet to send [06:59:25]OFD Sender: No OFD packet to send [06:59:30]OFD Sender: No OFD packet to send [06:59:35]OFD Sender: No OFD packet to send [06:59:40]OFD Sender: No OFD packet to send [06:59:45]OFD Sender: No OFD packet to send [06:59:50]OFD Sender: No OFD packet to send [06:59:55]OFD Sender: No OFD packet to send [07:00:00]OFD Sender: No OFD packet to send [07:00:05]OFD Sender: No OFD packet to send [07:00:10]OFD Sender: No OFD packet to send [07:00:15]OFD Sender: No OFD packet to send [07:00:20]OFD Sender: No OFD packet to send [07:00:25]OFD Sender: No OFD packet to send [07:00:30]OFD Sender: No OFD packet to send [07:00:35]OFD Sender: No OFD packet to send [07:00:40]OFD Sender: No OFD packet to send [07:00:45]OFD Sender: No OFD packet to send [07:00:50]OFD Sender: No OFD packet to send [07:00:55]OFD Sender: No OFD packet to send [07:01:00]OFD Sender: No OFD packet to send [07:01:05]OFD Sender: No OFD packet to send [07:01:10]OFD Sender: No OFD packet to send [07:01:15]OFD Sender: No OFD packet to send [07:01:20]OFD Sender: No OFD packet to send [07:01:25]OFD Sender: No OFD packet to send [07:01:30]OFD Sender: No OFD packet to send [07:01:35]OFD Sender: No OFD packet to send [07:01:40]OFD Sender: No OFD packet to send [07:01:45]OFD Sender: No OFD packet to send [07:01:50]OFD Sender: No OFD packet to send [07:01:55]OFD Sender: No OFD packet to send [07:02:00]OFD Sender: No OFD packet to send [07:02:05]OFD Sender: No OFD packet to send [07:02:10]OFD Sender: No OFD packet to send [07:02:15]OFD Sender: No OFD packet to send [07:02:20]OFD Sender: No OFD packet to send [07:02:25]OFD Sender: No OFD packet to send [07:02:30]OFD Sender: No OFD packet to send [07:02:35]OFD Sender: No OFD packet to send [07:02:40]OFD Sender: No OFD packet to send [07:02:45]OFD Sender: No OFD packet to send [07:02:46]accept exits with 9 [07:02:46]New connection [07:02:46]New thread 3067227492 created [07:02:46]Thread 3067370852 joined [07:02:46]Waiting for new connection... [07:02:46] Sock 9.Parse request [07:02:46]Sock 9.Check first char [07:02:46]Sock 9.First char is OK [07:02:46]request: POST /json_proto HTTP/1.0 [07:02:46]Method: POST [07:02:46]URL: /json_proto [07:02:46]Method is POST - this is cgi request [07:02:46]url: /json_proto [07:02:46]query_string will be loaded in cgi processing [07:02:46]execute_cgi json_proto POST (null) [07:02:46]execute_cgi path=json_proto method=POST [07:02:46]POST find Content-Length [07:02:46]Host: 172.17.56.68:8080 [07:02:46]Content-Length: 898 [07:02:46]Content-Type: application/json [07:02:46] [07:02:46]POST finish read [07:02:46]Found Content-Length = 898 [07:02:46]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4399", "tax_sys" : 0, "items" : [ { "code": "48744997", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Compact Blue", "price" : 135.00, "quantity" : 1.000, "sum" : 135.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 }]} ], "payments": [ { "type": 0, "sum" : 202.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:02:46]execute_script... [07:02:46]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4399", "tax_sys" : 0, "items" : [ { "code": "48744997", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Compact Blue", "price" : 135.00, "quantity" : 1.000, "sum" : 135.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 }]} ], "payments": [ { "type": 0, "sum" : 202.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:02:46]POST & json_proto [07:02:46]process_json_proto [07:02:46]json parsed OK: [07:02:46]protocol is kg_v1.0 [07:02:46]action value=close_receipt [07:02:46]process_action close_receipt [07:02:46]cmd_close_receipt [07:02:46]MH_GetDate [07:02:46]Write to MH i2c: F0 00 00 78 29 90 [07:02:46]Write i2c OK [07:02:46]MH_I2C_Read... [07:02:46]Read from MH i2c: F0 [07:02:46]MH_I2C_Read... [07:02:46]Read from MH i2c: F0 09 00 [07:02:46]MH_I2C_Read... [07:02:47]Read from MH i2c: F0 09 00 78 29 00 A3 0D 60 66 42 69 5C 66 7C [07:02:47]GetLastDocTimeStamp 1717556488 [07:02:47]current date 1717570979 [07:02:47]FM_GetShiftState [07:02:47]SAM_PROTO_GetShiftState [07:02:47]wFMCommunicate request_size=4 [07:02:47]MH_SAM_APDU [07:02:47]CAPDU: 80 13 01 00 [07:02:47]Write to MH i2c: E2 08 00 79 29 80 13 01 00 00 00 00 00 1F [07:02:47]Write i2c OK [07:02:47]MH_I2C_Read... [07:02:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:02:47]Read from MH i2c: E2 [07:02:47]MH_I2C_Read... [07:02:47]Read from MH i2c: E2 0E 00 [07:02:47]MH_I2C_Read... [07:02:47]Read from MH i2c: E2 0E 00 79 29 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 C0 [07:02:47]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [07:02:47]wFMCommunicate OK [07:02:47]SAM_PROTO_GetShiftState done [07:02:47]FM_GetShiftState done [07:02:47]opened in 1717545765 [07:02:47]opened+sec_in_day 1717632165 [07:02:47]quantity*price = 13500 [07:02:47]sum+1 = 13501 [07:02:47]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 6931280300549 Зажигалка Cricket ПН пьезо 1.000 * 67.00 = 67.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 202.00 НСП 1% : 1.78 НДС 12% : 21.45 Наличными: 202.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 4 05.06.2024 07:02 Смена: 84 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4146 ФПД: 71310926584719 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T070259&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4146&fm=71310926584719&tin=02508201610067®Number=0000000000145775&sum=20200 0 [07:02:48]StoreToDocumentArchive [07:02:48]shift 84 fd 4146 [07:02:48]save to /storage/0084/doc_00004146 [07:02:48]save last doc name /storage/0084/doc_00004146 to /storage/kkm_last_doc_name [07:02:48]save OK [07:02:48]Clear old archive folders... [07:02:48]ProcessDocumentItem done err = 0, tmpTLVsize=388 [07:02:48]tlvbuf is 0077E550 [07:02:48]SAM_PROTO_ClearQueue [07:02:48]wFMCommunicate request_size=4 [07:02:48]MH_SAM_APDU [07:02:48]CAPDU: 80 09 00 00 [07:02:48]Write to MH i2c: E2 08 00 86 29 80 09 00 00 00 00 00 00 21 [07:02:48]Write i2c OK [07:02:48]MH_I2C_Read... [07:02:48]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:02:48]Read from MH i2c: E2 [07:02:48]MH_I2C_Read... [07:02:48]Read from MH i2c: E2 03 00 [07:02:48]MH_I2C_Read... [07:02:48]Read from MH i2c: E2 03 00 86 29 00 90 00 23 [07:02:48]RAPDU: 90 00 [07:02:48]wFMCommunicate OK [07:02:48]SAM_PROTO_ClearQueue done [07:02:48]KKMCreateOFDPacket [07:02:48]OFDProtocolAddRootSTLVToBuf [07:02:48]FM_MakeSignedData [07:02:48]FM_MakeSignedData [07:02:48]SAM_PROTO_SignData [07:02:48]wFMCommunicate request_size=4 [07:02:48]MH_SAM_APDU [07:02:48]CAPDU: 80 0D 01 02 [07:02:48]Write to MH i2c: E2 08 00 87 29 80 0D 01 02 00 00 00 00 29 [07:02:48]Write i2c OK [07:02:48]MH_I2C_Read... [07:02:48]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:02:48]Read from MH i2c: E2 [07:02:48]MH_I2C_Read... [07:02:48]Read from MH i2c: E2 03 00 [07:02:48]MH_I2C_Read... [07:02:48]Read from MH i2c: E2 03 00 87 29 00 90 00 24 [07:02:48]RAPDU: 90 00 [07:02:48]wFMCommunicate OK [07:02:48]wFMCommunicate request_size=255 [07:02:48]MH_SAM_APDU [07:02:48]CAPDU: 80 0D 02 02 FA 03 00 84 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 34 39 39 37 06 04 25 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 43 6F 6D 70 61 63 74 20 42 6C 75 65 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 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 E8 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 [07:02:48]Write to MH i2c: E2 02 01 88 29 80 0D 02 02 FA 00 03 00 84 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 34 39 39 37 06 04 25 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 43 6F 6D 70 61 63 74 20 42 6C 75 65 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 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 E8 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 00 00 D7 [07:02:48]Write i2c OK [07:02:48]MH_I2C_Read... [07:02:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:02:48]Read from MH i2c: E2 [07:02:48]MH_I2C_Read... [07:02:48]Read from MH i2c: E2 03 00 [07:02:48]MH_I2C_Read... [07:02:48]Read from MH i2c: E2 03 00 88 29 00 90 00 25 [07:02:48]RAPDU: 90 00 [07:02:48]wFMCommunicate OK [07:02:48]wFMCommunicate request_size=147 [07:02:48]MH_SAM_APDU [07:02:48]CAPDU: 80 0D 02 02 8E F7 03 06 00 B2 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 61 08 00 00 00 00 07 04 06 00 E8 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 04 00 00 00 F4 03 04 00 A3 0D 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 32 10 00 00 35 04 06 00 40 DB 5E 72 9B 8F [07:02:48]Write to MH i2c: E2 96 00 89 29 80 0D 02 02 8E 00 F7 03 06 00 B2 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 61 08 00 00 00 00 07 04 06 00 E8 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 04 00 00 00 F4 03 04 00 A3 0D 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 32 10 00 00 35 04 06 00 40 DB 5E 72 9B 8F 00 00 EF [07:02:48]Write i2c OK [07:02:48]MH_I2C_Read... [07:02:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:02:48]Read from MH i2c: E2 [07:02:48]MH_I2C_Read... [07:02:48]Read from MH i2c: E2 03 00 [07:02:48]MH_I2C_Read... [07:02:48]Read from MH i2c: E2 03 00 89 29 00 90 00 26 [07:02:48]RAPDU: 90 00 [07:02:48]wFMCommunicate OK [07:02:48]wFMCommunicate request_size=4 [07:02:48]MH_SAM_APDU [07:02:48]CAPDU: 80 0D 03 02 [07:02:48]Write to MH i2c: E2 08 00 8A 29 80 0D 03 02 00 00 00 00 2E [07:02:48]Write i2c OK [07:02:48]MH_I2C_Read... [07:02:48]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:02:48]Read from MH i2c: E2 [07:02:48]MH_I2C_Read... [07:02:48]Read from MH i2c: E2 0B 00 [07:02:48]MH_I2C_Read... [07:02:48]Read from MH i2c: E2 0B 00 8A 29 00 AF 2D 29 3E D1 E7 E6 ED 90 00 FD [07:02:48]RAPDU: AF 2D 29 3E D1 E7 E6 ED 90 00 [07:02:48]wFMCommunicate OK [07:02:48]SAM_PROTO_SignData done [07:02:48]FM_MakeSignedData done [07:02:48]CreateOFDProtocolMessage [07:02:48]wFMCommunicate request_size=4 [07:02:48]MH_SAM_APDU [07:02:48]CAPDU: 80 11 00 00 [07:02:48]Write to MH i2c: E2 08 00 8B 29 80 11 00 00 00 00 00 00 2E [07:02:48]Write i2c OK [07:02:48]MH_I2C_Read... [07:02:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:02:48]Read from MH i2c: E2 [07:02:48]MH_I2C_Read... [07:02:48]Read from MH i2c: E2 17 00 [07:02:48]MH_I2C_Read... [07:02:48]Read from MH i2c: E2 17 00 8B 29 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 81 [07:02:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [07:02:48]wFMCommunicate OK [07:02:48]CreateOFDProtocolMessage done [07:02:48]OFDSenderStorePacket 4146 [07:02:48]StoreOFDPacket docnum=4146 [07:02:48]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 98 01 00 00 93 CE 90 01 1D FF 5A 03 01 00 03 00 84 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 34 39 39 37 06 04 25 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 43 6F 6D 70 61 63 74 20 42 6C 75 65 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 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 E8 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B2 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 61 08 00 00 00 00 07 04 06 00 E8 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 04 00 00 00 F4 03 04 00 A3 0D 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 32 10 00 00 35 04 06 00 40 DB 5E 72 9B 8F AF 2D 29 3E D1 E7 E6 ED [07:02:48]CheckFolder [07:02:48]dirname=/storage/ofd_packets [07:02:48]CheckFolder done [07:02:48]ProducePacketName [07:02:48]name=ofd_packets/00004146 [07:02:48]NVStorageSaveData ofd_packets/00004146 [07:02:48]File name is /storage/ofd_packets/00004146 [07:02:48]Write 438 bytes [07:02:48]NVStorageSaveData done [07:02:48]OFDSenderStorePacket done [07:02:48]KKMCreateOFDPacket done [07:02:48]NVStorageSaveData kkm_last_timestamp [07:02:48]File name is /storage/kkm_last_timestamp [07:02:48]Write 4 bytes [07:02:48]NVStorageSaveData done [07:02:48]ExternCall_PrintAddStr [07:02:48]wPrintStart [07:02:48]Write to MH i2c: 01 00 00 8C 29 B5 [07:02:48]Write i2c OK [07:02:48]MH_I2C_Read... [07:02:48]Read from MH i2c: 01 [07:02:48]MH_I2C_Read... [07:02:48]Read from MH i2c: 01 07 00 [07:02:48]MH_I2C_Read... [07:02:48]Read from MH i2c: 01 07 00 8C 29 00 00 00 00 00 FF 0F CA [07:02:48]RasterBufferAndPrint [07:02:48]line Счет N : (3)4399 [07:02:48]line ИНН: 02508201610067 [07:02:48]line Контрольно-Кассовый Чек [07:02:48]line ПРОДАЖА [07:02:49]line Товар: 48744997 [07:02:49]line Сигареты Winston Compact Blue [07:02:49]line 1.000 * 135.00 [07:02:49]line = 135.00 [07:02:49]line НДС 12% НСП 1% [07:02:49]line > о реализуемом товаре [07:02:49]line Товар: 6931280300549 [07:02:49]line Зажигалка Cricket ПН пьезо [07:02:49]line 1.000 * 67.00 [07:02:49]line = 67.00 [07:02:49]line НДС 12% НСП 1% [07:02:49]line > о реализуемом товаре [07:02:49]line ИТОГО: 202.00 [07:02:49]line НСП 1% : 1.78 [07:02:49]line НДС 12% : 21.45 [07:02:49]line Наличными: 202.00 [07:02:49]line Безнал.: 0.00 [07:02:49]line Место: АЗС № 116 "Партнер Нефть" [07:02:49]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [07:02:49]line СНО: Общий режим [07:02:49]line Чек 4 05.06.2024 07:02 [07:02:49]line Смена: 84 ФФД: 1.0 [07:02:49]line ЗНМ: 0300000233 [07:02:49]line РНМ: 0000000000145775 [07:02:49]line Версия ККМ: v1.0 [07:02:49]line ФМ: 0000000000959360 [07:02:49]line ФД: 4146 [07:02:49]line ФПД: 71310926584719 [07:02:49]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T070259&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4146&fm=71310926584719&tin=02508201610067®Number=0000000000145775&sum=20200 [07:02:49]OFD Sender: Processing packet 4146 [packets to send 2, broken 1] [07:02:49]ProducePacketName [07:02:49]name=ofd_packets/00004146 [07:02:49]OFD Sender: To server: pG, [07:02:49]CommunicateWithHost lk.salyk.kg:30040 [07:02:49]ConnectInit lk.salyk.kg [07:02:49]line 0 [07:02:49]written 0, free lines is 4095 [07:02:49]Connected sock=10 [07:02:49]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 98 01 00 00 93 CE 90 01 1D FF 5A 03 01 00 03 00 84 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 34 39 39 37 06 04 25 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 43 6F 6D 70 61 63 74 20 42 6C 75 65 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 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 E8 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B2 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 61 08 00 00 00 00 07 04 06 00 E8 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 04 00 00 00 F4 03 04 00 A3 0D 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 32 10 00 00 35 04 06 00 40 DB 5E 72 9B 8F AF 2D 29 3E D1 E7 E6 ED [07:02:49]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 08 E5 47 00 DF 94 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 32 10 00 00 F4 03 04 00 A2 B9 5F 66 B6 04 01 00 00 57 D6 AE B8 90 71 E0 2E [07:02:49]CommunicateWithHost err = 0 [07:02:49]CheckOFDResponse [07:02:49]1017 (14) - 77093643461234 [07:02:49]1041 (16) - 0000000000959360 [07:02:49]1040 (4) - 4146 [07:02:49]1012 (4) - 05.06.2024 01:04 [07:02:49]1206 (1) - 0 [07:02:49]OFD Sender: Remove packet 4146 [07:02:49]ProducePacketName [07:02:49]name=ofd_packets/00004146 [07:02:49]NVStorageDeleteData [07:02:49]Write to MH i2c: 01 00 00 BB 29 E4 [07:02:49]Write i2c OK [07:02:49]MH_I2C_Read... [07:02:49]Read from MH i2c: 01 [07:02:49]MH_I2C_Read... [07:02:49]Read from MH i2c: 01 07 00 [07:02:49]MH_I2C_Read... [07:02:49]Read from MH i2c: 01 07 00 BB 29 00 00 00 00 00 46 0C 3D [07:02:49]RasterBufferAndPrint [07:02:49]line [07:02:49]line [07:02:49]line [07:02:49]line [07:02:49]line [07:02:49]written 0, free lines is 3148 [07:02:49]MH_Cut [07:02:49]Write to MH i2c: D1 01 00 C2 29 01 BD [07:02:49]Write i2c OK [07:02:49]MH_I2C_Read... [07:02:49]Read from MH i2c: D1 [07:02:49]MH_I2C_Read... [07:02:49]Read from MH i2c: D1 01 00 [07:02:49]MH_I2C_Read... [07:02:49]Read from MH i2c: D1 01 00 C2 29 00 BC [07:02:49]Write to MH i2c: 01 00 00 C3 29 EC [07:02:49]Write i2c OK [07:02:49]MH_I2C_Read... [07:02:49]OFD Sender: No OFD packet to send [07:02:50]*** Cut start [07:02:50]*** Partial cut [07:02:50]*** CUTSNS_PIN = 1 [07:02:50]*** CUTSNS_PIN = 0 [07:02:50]*** Brake cut motor [07:02:51]Read from MH i2c: 01 [07:02:51]MH_I2C_Read... [07:02:51]*** Stop cut motor [07:02:51]*** Cut end [07:02:51]Read from MH i2c: 01 07 00 [07:02:51]MH_I2C_Read... [07:02:51]Read from MH i2c: 01 07 00 C3 29 00 00 00 00 00 FF 0F 01 [07:02:51]process_action close_receipt done [07:02:51]requested_data is exist [07:02:51]produce_requested_data [07:02:51]requested_item fm.sn is exist - process it [07:02:51]wFMCommunicate request_size=4 [07:02:51]MH_SAM_APDU [07:02:51]CAPDU: 80 11 00 00 [07:02:51]Write to MH i2c: E2 08 00 C4 29 80 11 00 00 00 00 00 00 67 [07:02:51]Write i2c OK [07:02:51]MH_I2C_Read... [07:02:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:02:51]Read from MH i2c: E2 [07:02:51]MH_I2C_Read... [07:02:51]Read from MH i2c: E2 17 00 [07:02:51]MH_I2C_Read... [07:02:51]Read from MH i2c: E2 17 00 C4 29 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 BA [07:02:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [07:02:51]wFMCommunicate OK [07:02:51]requested_item fd.num is exist - process it [07:02:51]SAM_PROTO_GetFieldsCounters [07:02:51]wFMCommunicate request_size=4 [07:02:51]MH_SAM_APDU [07:02:51]CAPDU: 80 13 00 00 [07:02:51]Write to MH i2c: E2 08 00 C5 29 80 13 00 00 00 00 00 00 6A [07:02:51]Write i2c OK [07:02:51]MH_I2C_Read... [07:02:51]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:02:51]Read from MH i2c: E2 [07:02:51]MH_I2C_Read... [07:02:51]Read from MH i2c: E2 62 00 [07:02:51]MH_I2C_Read... [07:02:51]Read from MH i2c: E2 62 00 C5 29 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 32 10 00 00 0E 04 04 00 54 00 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 31 [07:02:51]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 32 10 00 00 0E 04 04 00 54 00 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:02:51]wFMCommunicate OK [07:02:51]SAM_PROTO_GetFieldsCounters done [07:02:51]requested_item shift.num is exist - process it [07:02:51]requested_item shift.opened is exist - process it [07:02:51]req_shift_opened [07:02:51]FM_GetShiftState [07:02:51]SAM_PROTO_GetShiftState [07:02:51]wFMCommunicate request_size=4 [07:02:51]MH_SAM_APDU [07:02:51]CAPDU: 80 13 01 00 [07:02:51]Write to MH i2c: E2 08 00 C6 29 80 13 01 00 00 00 00 00 6C [07:02:51]Write i2c OK [07:02:51]MH_I2C_Read... [07:02:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:02:51]Read from MH i2c: E2 [07:02:51]MH_I2C_Read... [07:02:51]Read from MH i2c: E2 0E 00 [07:02:51]MH_I2C_Read... [07:02:51]Read from MH i2c: E2 0E 00 C6 29 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 0D [07:02:51]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [07:02:51]wFMCommunicate OK [07:02:51]SAM_PROTO_GetShiftState done [07:02:51]FM_GetShiftState done [07:02:51]req_shift_opened done [07:02:51]requested_item shift.open_date is exist - process it [07:02:51]req_shift_open_date [07:02:51]req_shift_open_date done [07:02:51]produce_requested_data done [07:02:51]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4146,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765} [07:02:51]process_action_free close_receipt [07:02:51]json_value_free [07:02:51]json_value_free done [07:02:51]process_json_proto returns [07:02:51]Send response to host [07:02:51]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4146,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765}}} [07:02:51]free response buf [07:02:51]execute_script done [07:02:51]execute_script returns [07:02:51]free content buf [07:02:51]Sock 9.Close socket [07:02:51]Sock 9.Thread stoped [07:02:54]OFD Sender: No OFD packet to send [07:02:59]OFD Sender: No OFD packet to send [07:03:04]OFD Sender: No OFD packet to send [07:03:09]OFD Sender: No OFD packet to send [07:03:14]OFD Sender: No OFD packet to send [07:03:19]OFD Sender: No OFD packet to send [07:03:25]OFD Sender: No OFD packet to send [07:03:30]OFD Sender: No OFD packet to send [07:03:35]OFD Sender: No OFD packet to send [07:03:40]OFD Sender: No OFD packet to send [07:03:45]OFD Sender: No OFD packet to send [07:03:50]OFD Sender: No OFD packet to send [07:03:55]OFD Sender: No OFD packet to send [07:04:00]OFD Sender: No OFD packet to send [07:04:05]OFD Sender: No OFD packet to send [07:04:10]OFD Sender: No OFD packet to send [07:04:15]OFD Sender: No OFD packet to send [07:04:20]OFD Sender: No OFD packet to send [07:04:25]OFD Sender: No OFD packet to send [07:04:30]OFD Sender: No OFD packet to send [07:04:35]OFD Sender: No OFD packet to send [07:04:39]accept exits with 8 [07:04:39]New connection [07:04:39]New thread 3067370852 created [07:04:39]Thread 3067227492 joined [07:04:39]Waiting for new connection... [07:04:39] Sock 8.Parse request [07:04:39]Sock 8.Check first char [07:04:39]Sock 8.First char is OK [07:04:39]request: POST /json_proto HTTP/1.0 [07:04:39]Method: POST [07:04:39]URL: /json_proto [07:04:39]Method is POST - this is cgi request [07:04:39]url: /json_proto [07:04:39]query_string will be loaded in cgi processing [07:04:39]execute_cgi json_proto POST (null) [07:04:39]execute_cgi path=json_proto method=POST [07:04:39]POST find Content-Length [07:04:39]Host: 172.17.56.68:8080 [07:04:39]Content-Length: 661 [07:04:39]Content-Type: application/json [07:04:39] [07:04:39]POST finish read [07:04:39]Found Content-Length = 661 [07:04:39]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4400", "tax_sys" : 0, "items" : [ { "code": "5449000176448", "name": "\u0421\u043E\u043A Piko Pulpy \u0430\u043F\u0435\u043B\u044C\u0441\u0438\u043D \u041F\u042D\u0422 1\u043B", "price" : 170.00, "quantity" : 1.000, "sum" : 170.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" ] } } [07:04:39]execute_script... [07: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)4400", "tax_sys" : 0, "items" : [ { "code": "5449000176448", "name": "\u0421\u043E\u043A Piko Pulpy \u0430\u043F\u0435\u043B\u044C\u0441\u0438\u043D \u041F\u042D\u0422 1\u043B", "price" : 170.00, "quantity" : 1.000, "sum" : 170.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" ] } } [07:04:39]POST & json_proto [07:04:39]process_json_proto [07:04:39]json parsed OK: [07:04:39]protocol is kg_v1.0 [07:04:39]action value=close_receipt [07:04:39]process_action close_receipt [07:04:39]cmd_close_receipt [07:04:39]MH_GetDate [07:04:39]Write to MH i2c: F0 00 00 C7 29 DF [07:04:39]Write i2c OK [07:04:39]MH_I2C_Read... [07:04:39]Read from MH i2c: F0 [07:04:39]MH_I2C_Read... [07:04:39]Read from MH i2c: F0 09 00 [07:04:39]MH_I2C_Read... [07:04:39]Read from MH i2c: F0 09 00 C7 29 00 14 0E 60 66 42 69 5C 66 3D [07:04:39]GetLastDocTimeStamp 1717570979 [07:04:39]current date 1717571092 [07:04:39]FM_GetShiftState [07:04:39]SAM_PROTO_GetShiftState [07:04:39]wFMCommunicate request_size=4 [07:04:39]MH_SAM_APDU [07:04:39]CAPDU: 80 13 01 00 [07:04:39]Write to MH i2c: E2 08 00 C8 29 80 13 01 00 00 00 00 00 6E [07:04:39]Write i2c OK [07:04:39]MH_I2C_Read... [07:04:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:04:39]Read from MH i2c: E2 [07:04:39]MH_I2C_Read... [07:04:39]Read from MH i2c: E2 0E 00 [07:04:39]MH_I2C_Read... [07:04:39]Read from MH i2c: E2 0E 00 C8 29 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 0F [07:04:39]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [07:04:39]wFMCommunicate OK [07:04:39]SAM_PROTO_GetShiftState done [07:04:39]FM_GetShiftState done [07:04:39]opened in 1717545765 [07:04:39]opened+sec_in_day 1717632165 [07:04:39]quantity*price = 17000 [07:04:39]sum+1 = 17001 [07:04:39]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 170.00 НСП 1% : 1.50 НДС 12% : 18.05 Наличными: 170.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 5 05.06.2024 07:04 Смена: 84 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4147 ФПД: 201025732435720 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T070452&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4147&fm=201025732435720&tin=02508201610067®Number=0000000000145775&sum=17000 0 [07:04:40]StoreToDocumentArchive [07:04:40]shift 84 fd 4147 [07:04:40]save to /storage/0084/doc_00004147 [07:04:40]save last doc name /storage/0084/doc_00004147 to /storage/kkm_last_doc_name [07:04:40]save OK [07:04:40]Clear old archive folders... [07:04:40]ProcessDocumentItem done err = 0, tmpTLVsize=287 [07:04:40]tlvbuf is 00793190 [07:04:40]SAM_PROTO_ClearQueue [07:04:40]wFMCommunicate request_size=4 [07:04:40]MH_SAM_APDU [07:04:40]CAPDU: 80 09 00 00 [07:04:40]Write to MH i2c: E2 08 00 D5 29 80 09 00 00 00 00 00 00 70 [07:04:40]Write i2c OK [07:04:40]MH_I2C_Read... [07:04:40]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:04:40]Read from MH i2c: E2 [07:04:40]MH_I2C_Read... [07:04:40]Read from MH i2c: E2 03 00 [07:04:40]MH_I2C_Read... [07:04:40]Read from MH i2c: E2 03 00 D5 29 00 90 00 72 [07:04:40]RAPDU: 90 00 [07:04:40]wFMCommunicate OK [07:04:40]SAM_PROTO_ClearQueue done [07:04:40]KKMCreateOFDPacket [07:04:40]OFDProtocolAddRootSTLVToBuf [07:04:40]FM_MakeSignedData [07:04:40]FM_MakeSignedData [07:04:40]SAM_PROTO_SignData [07:04:40]wFMCommunicate request_size=4 [07:04:40]MH_SAM_APDU [07:04:40]CAPDU: 80 0D 01 02 [07:04:40]Write to MH i2c: E2 08 00 D6 29 80 0D 01 02 00 00 00 00 78 [07:04:40]Write i2c OK [07:04:40]MH_I2C_Read... [07:04:41]Read from MH i2c: E2 [07:04:41]MH_I2C_Read... [07:04:41]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:04:41]Read from MH i2c: E2 03 00 [07:04:41]MH_I2C_Read... [07:04:41]Read from MH i2c: E2 03 00 D6 29 00 90 00 73 [07:04:41]RAPDU: 90 00 [07:04:41]wFMCommunicate OK [07:04:41]wFMCommunicate request_size=255 [07:04:41]MH_SAM_APDU [07:04:41]CAPDU: 80 0D 02 02 FA 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 37 36 34 34 38 06 04 2D 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 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 96 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 05 00 00 00 F4 03 04 00 14 0E 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 [07:04:41]Write to MH i2c: E2 02 01 D7 29 80 0D 02 02 FA 00 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 37 36 34 34 38 06 04 2D 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 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 96 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 05 00 00 00 F4 03 04 00 14 0E 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 00 00 3B [07:04:41]Write i2c OK [07:04:41]MH_I2C_Read... [07:04:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:04:41]Read from MH i2c: E2 [07:04:41]MH_I2C_Read... [07:04:41]Read from MH i2c: E2 03 00 [07:04:41]MH_I2C_Read... [07:04:41]Read from MH i2c: E2 03 00 D7 29 00 90 00 74 [07:04:41]RAPDU: 90 00 [07:04:41]wFMCommunicate OK [07:04:41]wFMCommunicate request_size=46 [07:04:41]MH_SAM_APDU [07:04:41]CAPDU: 80 0D 02 02 29 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 33 10 00 00 35 04 06 00 B6 D4 F3 5F 5F 08 [07:04:41]Write to MH i2c: E2 31 00 D8 29 80 0D 02 02 29 00 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 33 10 00 00 35 04 06 00 B6 D4 F3 5F 5F 08 00 00 92 [07:04:41]Write i2c OK [07:04:41]MH_I2C_Read... [07:04:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:04:41]Read from MH i2c: E2 [07:04:41]MH_I2C_Read... [07:04:41]Read from MH i2c: E2 03 00 [07:04:41]MH_I2C_Read... [07:04:41]Read from MH i2c: E2 03 00 D8 29 00 90 00 75 [07:04:41]RAPDU: 90 00 [07:04:41]wFMCommunicate OK [07:04:41]wFMCommunicate request_size=4 [07:04:41]MH_SAM_APDU [07:04:41]CAPDU: 80 0D 03 02 [07:04:41]Write to MH i2c: E2 08 00 D9 29 80 0D 03 02 00 00 00 00 7D [07:04:41]Write i2c OK [07:04:41]MH_I2C_Read... [07:04:41]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:04:41]Read from MH i2c: E2 [07:04:41]MH_I2C_Read... [07:04:41]Read from MH i2c: E2 0B 00 [07:04:41]MH_I2C_Read... [07:04:41]Read from MH i2c: E2 0B 00 D9 29 00 24 C1 9E AB 4E C5 F1 94 90 00 44 [07:04:41]RAPDU: 24 C1 9E AB 4E C5 F1 94 90 00 [07:04:41]wFMCommunicate OK [07:04:41]SAM_PROTO_SignData done [07:04:41]FM_MakeSignedData done [07:04:41]CreateOFDProtocolMessage [07:04:41]wFMCommunicate request_size=4 [07:04:41]MH_SAM_APDU [07:04:41]CAPDU: 80 11 00 00 [07:04:41]Write to MH i2c: E2 08 00 DA 29 80 11 00 00 00 00 00 00 7D [07:04:41]Write i2c OK [07:04:41]MH_I2C_Read... [07:04:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:04:41]Read from MH i2c: E2 [07:04:41]MH_I2C_Read... [07:04:41]Read from MH i2c: E2 17 00 [07:04:41]MH_I2C_Read... [07:04:41]Read from MH i2c: E2 17 00 DA 29 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 D0 [07:04:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [07:04:41]wFMCommunicate OK [07:04:41]CreateOFDProtocolMessage done [07:04:41]OFDSenderStorePacket 4147 [07:04:41]StoreOFDPacket docnum=4147 [07:04:41]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 33 01 00 00 B9 CE 2B 01 FA 59 5A 03 01 00 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 37 36 34 34 38 06 04 2D 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 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 96 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 05 00 00 00 F4 03 04 00 14 0E 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 33 10 00 00 35 04 06 00 B6 D4 F3 5F 5F 08 24 C1 9E AB 4E C5 F1 94 [07:04:41]CheckFolder [07:04:41]dirname=/storage/ofd_packets [07:04:41]CheckFolder done [07:04:41]ProducePacketName [07:04:41]name=ofd_packets/00004147 [07:04:41]NVStorageSaveData ofd_packets/00004147 [07:04:41]File name is /storage/ofd_packets/00004147 [07:04:41]Write 337 bytes [07:04:41]NVStorageSaveData done [07:04:41]OFDSenderStorePacket done [07:04:41]KKMCreateOFDPacket done [07:04:41]NVStorageSaveData kkm_last_timestamp [07:04:41]File name is /storage/kkm_last_timestamp [07:04:41]Write 4 bytes [07:04:41]NVStorageSaveData done [07:04:41]ExternCall_PrintAddStr [07:04:41]wPrintStart [07:04:41]Write to MH i2c: 01 00 00 DB 29 04 [07:04:41]Write i2c OK [07:04:41]MH_I2C_Read... [07:04:41]Read from MH i2c: 01 [07:04:41]MH_I2C_Read... [07:04:41]Read from MH i2c: 01 07 00 [07:04:41]MH_I2C_Read... [07:04:41]Read from MH i2c: 01 07 00 DB 29 00 00 00 00 00 FF 0F 19 [07:04:41]RasterBufferAndPrint [07:04:41]line Счет N : (3)4400 [07:04:41]line ИНН: 02508201610067 [07:04:41]line Контрольно-Кассовый Чек [07:04:41]line ПРОДАЖА [07:04:41]line Товар: 5449000176448 [07:04:41]line Сок Piko Pulpy апельсин ПЭТ 1л [07:04:41]line 1.000 * 170.00 [07:04:41]line = 170.00 [07:04:41]line НДС 12% НСП 1% [07:04:41]line > о реализуемом товаре [07:04:41]line ИТОГО: 170.00 [07:04:41]line НСП 1% : 1.50 [07:04:41]line НДС 12% : 18.05 [07:04:41]line Наличными: 170.00 [07:04:41]line Безнал.: 0.00 [07:04:41]line Место: АЗС № 116 "Партнер Нефть" [07:04:41]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [07:04:41]line СНО: Общий режим [07:04:41]line Чек 5 05.06.2024 07:04 [07:04:41]line Смена: 84 ФФД: 1.0 [07:04:41]line ЗНМ: 0300000233 [07:04:41]line РНМ: 0000000000145775 [07:04:41]line Версия ККМ: v1.0 [07:04:41]line ФМ: 0000000000959360 [07:04:41]line ФД: 4147 [07:04:41]line ФПД: 201025732435720 [07:04:41]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T070452&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4147&fm=201025732435720&tin=02508201610067®Number=0000000000145775&sum=17000 [07:04:41]line 0 [07:04:41]OFD Sender: Processing packet 4147 [packets to send 2, broken 1] [07:04:41]ProducePacketName [07:04:41]name=ofd_packets/00004147 [07:04:41]OFD Sender: To server: pG, [07:04:41]CommunicateWithHost lk.salyk.kg:30040 [07:04:41]ConnectInit lk.salyk.kg [07:04:41]written 0, free lines is 4095 [07:04:41]Connected sock=10 [07:04:41]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 33 01 00 00 B9 CE 2B 01 FA 59 5A 03 01 00 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 37 36 34 34 38 06 04 2D 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 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 96 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 05 00 00 00 F4 03 04 00 14 0E 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 33 10 00 00 35 04 06 00 B6 D4 F3 5F 5F 08 24 C1 9E AB 4E C5 F1 94 [07:04:42]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 DD D1 47 00 F9 6E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 33 10 00 00 F4 03 04 00 12 BA 5F 66 B6 04 01 00 00 20 36 7C 0C 19 76 CD E8 [07:04:42]CommunicateWithHost err = 0 [07:04:42]CheckOFDResponse [07:04:42]1017 (14) - 77093643461234 [07:04:42]1041 (16) - 0000000000959360 [07:04:42]1040 (4) - 4147 [07:04:42]1012 (4) - 05.06.2024 01:06 [07:04:42]1206 (1) - 0 [07:04:42]OFD Sender: Remove packet 4147 [07:04:42]ProducePacketName [07:04:42]name=ofd_packets/00004147 [07:04:42]NVStorageDeleteData [07:04:42]Write to MH i2c: 01 00 00 04 2A 2E [07:04:42]Write i2c OK [07:04:42]MH_I2C_Read... [07:04:42]Read from MH i2c: 01 [07:04:42]MH_I2C_Read... [07:04:42]Read from MH i2c: 01 07 00 [07:04:42]MH_I2C_Read... [07:04:42]Read from MH i2c: 01 07 00 04 2A 00 00 00 00 00 B3 0C F4 [07:04:42]RasterBufferAndPrint [07:04:42]line [07:04:42]line [07:04:42]line [07:04:42]line [07:04:42]line [07:04:42]written 0, free lines is 3255 [07:04:42]MH_Cut [07:04:42]Write to MH i2c: D1 01 00 0B 2A 01 07 [07:04:42]Write i2c OK [07:04:42]MH_I2C_Read... [07:04:42]Read from MH i2c: D1 [07:04:42]MH_I2C_Read... [07:04:42]Read from MH i2c: D1 01 00 [07:04:42]MH_I2C_Read... [07:04:42]Read from MH i2c: D1 01 00 0B 2A 00 06 [07:04:42]Write to MH i2c: 01 00 00 0C 2A 36 [07:04:42]Write i2c OK [07:04:42]MH_I2C_Read... [07:04:42]OFD Sender: No OFD packet to send [07:04:43]*** Cut start [07:04:43]*** Partial cut [07:04:43]*** CUTSNS_PIN = 1 [07:04:43]*** CUTSNS_PIN = 0 [07:04:43]*** Brake cut motor [07:04:43]Read from MH i2c: 01 [07:04:43]MH_I2C_Read... [07:04:43]*** Stop cut motor [07:04:43]*** Cut end [07:04:43]Read from MH i2c: 01 07 00 [07:04:43]MH_I2C_Read... [07:04:43]Read from MH i2c: 01 07 00 0C 2A 00 00 00 00 00 FF 0F 4B [07:04:43]process_action close_receipt done [07:04:43]requested_data is exist [07:04:43]produce_requested_data [07:04:43]requested_item fm.sn is exist - process it [07:04:43]wFMCommunicate request_size=4 [07:04:43]MH_SAM_APDU [07:04:43]CAPDU: 80 11 00 00 [07:04:43]Write to MH i2c: E2 08 00 0D 2A 80 11 00 00 00 00 00 00 B1 [07:04:43]Write i2c OK [07:04:43]MH_I2C_Read... [07:04:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:04:43]Read from MH i2c: E2 [07:04:43]MH_I2C_Read... [07:04:43]Read from MH i2c: E2 17 00 [07:04:43]MH_I2C_Read... [07:04:43]Read from MH i2c: E2 17 00 0D 2A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 04 [07:04:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [07:04:43]wFMCommunicate OK [07:04:43]requested_item fd.num is exist - process it [07:04:43]SAM_PROTO_GetFieldsCounters [07:04:43]wFMCommunicate request_size=4 [07:04:43]MH_SAM_APDU [07:04:43]CAPDU: 80 13 00 00 [07:04:43]Write to MH i2c: E2 08 00 0E 2A 80 13 00 00 00 00 00 00 B4 [07:04:43]Write i2c OK [07:04:43]MH_I2C_Read... [07:04:43]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:04:43]Read from MH i2c: E2 [07:04:43]MH_I2C_Read... [07:04:43]Read from MH i2c: E2 62 00 [07:04:43]MH_I2C_Read... [07:04:43]Read from MH i2c: E2 62 00 0E 2A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 33 10 00 00 0E 04 04 00 54 00 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 7F [07:04:43]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 33 10 00 00 0E 04 04 00 54 00 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 [07:04:43]wFMCommunicate OK [07:04:43]SAM_PROTO_GetFieldsCounters done [07:04:43]requested_item shift.num is exist - process it [07:04:43]requested_item shift.opened is exist - process it [07:04:43]req_shift_opened [07:04:43]FM_GetShiftState [07:04:43]SAM_PROTO_GetShiftState [07:04:43]wFMCommunicate request_size=4 [07:04:43]MH_SAM_APDU [07:04:43]CAPDU: 80 13 01 00 [07:04:43]Write to MH i2c: E2 08 00 0F 2A 80 13 01 00 00 00 00 00 B6 [07:04:43]Write i2c OK [07:04:43]MH_I2C_Read... [07:04:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:04:44]Read from MH i2c: E2 [07:04:44]MH_I2C_Read... [07:04:44]Read from MH i2c: E2 0E 00 [07:04:44]MH_I2C_Read... [07:04:44]Read from MH i2c: E2 0E 00 0F 2A 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 57 [07:04:44]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [07:04:44]wFMCommunicate OK [07:04:44]SAM_PROTO_GetShiftState done [07:04:44]FM_GetShiftState done [07:04:44]req_shift_opened done [07:04:44]requested_item shift.open_date is exist - process it [07:04:44]req_shift_open_date [07:04:44]req_shift_open_date done [07:04:44]produce_requested_data done [07:04:44]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4147,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765} [07:04:44]process_action_free close_receipt [07:04:44]json_value_free [07:04:44]json_value_free done [07:04:44]process_json_proto returns [07:04:44]Send response to host [07:04:44]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4147,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765}}} [07:04:44]free response buf [07:04:44]execute_script done [07:04:44]execute_script returns [07:04:44]free content buf [07:04:44]Sock 8.Close socket [07:04:44]Sock 8.Thread stoped [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:47]OFD Sender: No OFD packet to send [07:11:52]OFD Sender: No OFD packet to send [07:11:57]OFD Sender: No OFD packet to send [07:12:02]OFD Sender: No OFD packet to send [07:12:07]OFD Sender: No OFD packet to send [07:12:12]OFD Sender: No OFD packet to send [07:12:17]OFD Sender: No OFD packet to send [07:12:22]OFD Sender: No OFD packet to send [07:12:27]OFD Sender: No OFD packet to send [07:12:32]OFD Sender: No OFD packet to send [07:12:37]OFD Sender: No OFD packet to send [07:12:42]OFD Sender: No OFD packet to send [07:12:47]OFD Sender: No OFD packet to send [07:12:52]OFD Sender: No OFD packet to send [07:12:57]OFD Sender: No OFD packet to send [07:13:02]OFD Sender: No OFD packet to send [07:13:07]OFD Sender: No OFD packet to send [07:13:12]OFD Sender: No OFD packet to send [07:13:17]OFD Sender: No OFD packet to send [07:13:22]OFD Sender: No OFD packet to send [07:13:27]OFD Sender: No OFD packet to send [07:13:32]OFD Sender: No OFD packet to send [07:13:37]OFD Sender: No OFD packet to send [07:13:42]OFD Sender: No OFD packet to send [07:13:47]OFD Sender: No OFD packet to send [07:13:52]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:58]OFD Sender: No OFD packet to send [07:19:03]OFD Sender: No OFD packet to send [07:19:08]OFD Sender: No OFD packet to send [07:19:13]OFD Sender: No OFD packet to send [07:19:18]OFD Sender: No OFD packet to send [07:19:23]OFD Sender: No OFD packet to send [07:19:28]OFD Sender: No OFD packet to send [07:19:33]OFD Sender: No OFD packet to send [07:19:38]OFD Sender: No OFD packet to send [07:19:43]OFD Sender: No OFD packet to send [07:19:48]OFD Sender: No OFD packet to send [07:19:53]OFD Sender: No OFD packet to send [07:19:58]OFD Sender: No OFD packet to send [07:20:03]OFD Sender: No OFD packet to send [07:20:08]OFD Sender: No OFD packet to send [07:20:13]OFD Sender: No OFD packet to send [07:20:18]OFD Sender: No OFD packet to send [07:20:23]OFD Sender: No OFD packet to send [07:20:28]OFD Sender: No OFD packet to send [07:20:33]OFD Sender: No OFD packet to send [07:20:38]OFD Sender: No OFD packet to send [07:20:43]OFD Sender: No OFD packet to send [07:20:48]OFD Sender: No OFD packet to send [07:20:53]OFD Sender: No OFD packet to send [07:20:58]OFD Sender: No OFD packet to send [07:21:03]OFD Sender: No OFD packet to send [07:21:08]OFD Sender: No OFD packet to send [07:21:13]OFD Sender: No OFD packet to send [07:21:18]OFD Sender: No OFD packet to send [07:21:23]OFD Sender: No OFD packet to send [07:21:28]OFD Sender: No OFD packet to send [07:21:33]OFD Sender: No OFD packet to send [07:21:38]OFD Sender: No OFD packet to send [07:21:43]OFD Sender: No OFD packet to send [07:21:48]OFD Sender: No OFD packet to send [07:21:53]OFD Sender: No OFD packet to send [07:21:58]OFD Sender: No OFD packet to send [07:22:03]OFD Sender: No OFD packet to send [07:22:08]OFD Sender: No OFD packet to send [07:22:13]OFD Sender: No OFD packet to send [07:22:18]OFD Sender: No OFD packet to send [07:22:23]OFD Sender: No OFD packet to send [07:22:28]OFD Sender: No OFD packet to send [07:22:33]OFD Sender: No OFD packet to send [07:22:38]OFD Sender: No OFD packet to send [07:22:43]OFD Sender: No OFD packet to send [07:22:48]OFD Sender: No OFD packet to send [07:22:53]OFD Sender: No OFD packet to send [07:22:58]OFD Sender: No OFD packet to send [07:23:03]OFD Sender: No OFD packet to send [07:23:08]OFD Sender: No OFD packet to send [07:23:13]OFD Sender: No OFD packet to send [07:23:18]OFD Sender: No OFD packet to send [07:23:23]OFD Sender: No OFD packet to send [07:23:28]OFD Sender: No OFD packet to send [07:23:33]OFD Sender: No OFD packet to send [07:23:38]OFD Sender: No OFD packet to send [07:23:43]OFD Sender: No OFD packet to send [07:23:48]OFD Sender: No OFD packet to send [07:23:53]OFD Sender: No OFD packet to send [07:23:58]OFD Sender: No OFD packet to send [07:24:03]OFD Sender: No OFD packet to send [07:24:08]OFD Sender: No OFD packet to send [07:24:13]OFD Sender: No OFD packet to send [07:24:18]OFD Sender: No OFD packet to send [07:24:23]OFD Sender: No OFD packet to send [07:24:28]OFD Sender: No OFD packet to send [07:24:33]OFD Sender: No OFD packet to send [07:24:38]OFD Sender: No OFD packet to send [07:24:43]OFD Sender: No OFD packet to send [07:24:48]OFD Sender: No OFD packet to send [07:24:53]OFD Sender: No OFD packet to send [07:24:58]OFD Sender: No OFD packet to send [07:25:03]OFD Sender: No OFD packet to send [07:25:08]OFD Sender: No OFD packet to send [07:25:13]OFD Sender: No OFD packet to send [07:25:18]OFD Sender: No OFD packet to send [07:25:23]OFD Sender: No OFD packet to send [07:25:28]OFD Sender: No OFD packet to send [07:25:33]OFD Sender: No OFD packet to send [07:25:38]OFD Sender: No OFD packet to send [07:25:43]OFD Sender: No OFD packet to send [07:25:48]OFD Sender: No OFD packet to send [07:25:53]OFD Sender: No OFD packet to send [07:25:58]OFD Sender: No OFD packet to send [07:26:03]OFD Sender: No OFD packet to send [07:26:08]OFD Sender: No OFD packet to send [07:26:13]OFD Sender: No OFD packet to send [07:26:18]OFD Sender: No OFD packet to send [07:26:23]OFD Sender: No OFD packet to send [07:26:28]OFD Sender: No OFD packet to send [07:26:33]OFD Sender: No OFD packet to send [07:26:38]OFD Sender: No OFD packet to send [07:26:43]OFD Sender: No OFD packet to send [07:26:48]OFD Sender: No OFD packet to send [07:26:53]OFD Sender: No OFD packet to send [07:26:58]OFD Sender: No OFD packet to send [07:27:03]OFD Sender: No OFD packet to send [07:27:08]OFD Sender: No OFD packet to send [07:27:13]OFD Sender: No OFD packet to send [07:27:18]OFD Sender: No OFD packet to send [07:27:23]OFD Sender: No OFD packet to send [07:27:28]OFD Sender: No OFD packet to send [07:27:33]OFD Sender: No OFD packet to send [07:27:38]OFD Sender: No OFD packet to send [07:27:43]OFD Sender: No OFD packet to send [07:27:48]OFD Sender: No OFD packet to send [07:27:53]OFD Sender: No OFD packet to send [07:27:58]OFD Sender: No OFD packet to send [07:28:03]OFD Sender: No OFD packet to send [07:28:08]OFD Sender: No OFD packet to send [07:28:13]OFD Sender: No OFD packet to send [07:28:18]OFD Sender: No OFD packet to send [07:28:23]OFD Sender: No OFD packet to send [07:28:28]OFD Sender: No OFD packet to send [07:28:33]OFD Sender: No OFD packet to send [07:28:38]OFD Sender: No OFD packet to send [07:28:43]OFD Sender: No OFD packet to send [07:28:48]OFD Sender: No OFD packet to send [07:28:53]OFD Sender: No OFD packet to send [07:28:58]OFD Sender: No OFD packet to send [07:29:03]OFD Sender: No OFD packet to send [07:29:08]OFD Sender: No OFD packet to send [07:29:13]OFD Sender: No OFD packet to send [07:29:18]OFD Sender: No OFD packet to send [07:29:23]OFD Sender: No OFD packet to send [07:29:28]OFD Sender: No OFD packet to send [07:29:33]OFD Sender: No OFD packet to send [07:29:38]OFD Sender: No OFD packet to send [07:29:43]OFD Sender: No OFD packet to send [07:29:48]OFD Sender: No OFD packet to send [07:29:53]OFD Sender: No OFD packet to send [07:29:58]OFD Sender: No OFD packet to send [07:30:03]OFD Sender: No OFD packet to send [07:30:08]OFD Sender: No OFD packet to send [07:30:13]OFD Sender: No OFD packet to send [07:30:18]OFD Sender: No OFD packet to send [07:30:23]OFD Sender: No OFD packet to send [07:30:28]OFD Sender: No OFD packet to send [07:30:33]OFD Sender: No OFD packet to send [07:30:38]OFD Sender: No OFD packet to send [07:30:43]OFD Sender: No OFD packet to send [07:30:48]OFD Sender: No OFD packet to send [07:30:53]OFD Sender: No OFD packet to send [07:30:58]OFD Sender: No OFD packet to send [07:31:03]OFD Sender: No OFD packet to send [07:31:08]OFD Sender: No OFD packet to send [07:31:13]OFD Sender: No OFD packet to send [07:31:18]OFD Sender: No OFD packet to send [07:31:23]OFD Sender: No OFD packet to send [07:31:28]OFD Sender: No OFD packet to send [07:31:33]OFD Sender: No OFD packet to send [07:31:38]OFD Sender: No OFD packet to send [07:31:43]OFD Sender: No OFD packet to send [07:31:48]OFD Sender: No OFD packet to send [07:31:53]OFD Sender: No OFD packet to send [07:31:58]OFD Sender: No OFD packet to send [07:32:03]OFD Sender: No OFD packet to send [07:32:08]OFD Sender: No OFD packet to send [07:32:13]OFD Sender: No OFD packet to send [07:32:18]OFD Sender: No OFD packet to send [07:32:23]OFD Sender: No OFD packet to send [07:32:28]OFD Sender: No OFD packet to send [07:32:33]OFD Sender: No OFD packet to send [07:32:38]OFD Sender: No OFD packet to send [07:32:43]OFD Sender: No OFD packet to send [07:32:48]OFD Sender: No OFD packet to send [07:32:53]OFD Sender: No OFD packet to send [07:32:58]OFD Sender: No OFD packet to send [07:33:03]OFD Sender: No OFD packet to send [07:33:08]OFD Sender: No OFD packet to send [07:33:13]OFD Sender: No OFD packet to send [07:33:18]OFD Sender: No OFD packet to send [07:33:23]OFD Sender: No OFD packet to send [07:33:28]OFD Sender: No OFD packet to send [07:33:33]OFD Sender: No OFD packet to send [07:33:38]OFD Sender: No OFD packet to send [07:33:43]OFD Sender: No OFD packet to send [07:33:48]OFD Sender: No OFD packet to send [07:33:53]OFD Sender: No OFD packet to send [07:33:58]OFD Sender: No OFD packet to send [07:34:03]OFD Sender: No OFD packet to send [07:34:08]OFD Sender: No OFD packet to send [07:34:13]OFD Sender: No OFD packet to send [07:34:18]OFD Sender: No OFD packet to send [07:34:23]OFD Sender: No OFD packet to send [07:34:28]OFD Sender: No OFD packet to send [07:34:33]OFD Sender: No OFD packet to send [07:34:38]OFD Sender: No OFD packet to send [07:34:43]OFD Sender: No OFD packet to send [07:34:48]OFD Sender: No OFD packet to send [07:34:53]OFD Sender: No OFD packet to send [07:34:58]OFD Sender: No OFD packet to send [07:35:03]OFD Sender: No OFD packet to send [07:35:08]OFD Sender: No OFD packet to send [07:35:13]OFD Sender: No OFD packet to send [07:35:18]OFD Sender: No OFD packet to send [07:35:23]OFD Sender: No OFD packet to send [07:35:28]OFD Sender: No OFD packet to send [07:35:33]OFD Sender: No OFD packet to send [07:35:38]OFD Sender: No OFD packet to send [07:35:43]OFD Sender: No OFD packet to send [07:35:48]OFD Sender: No OFD packet to send [07:35:54]OFD Sender: No OFD packet to send [07:35:59]OFD Sender: No OFD packet to send [07:36:04]OFD Sender: No OFD packet to send [07:36:09]OFD Sender: No OFD packet to send [07:36:14]OFD Sender: No OFD packet to send [07:36:19]OFD Sender: No OFD packet to send [07:36:24]OFD Sender: No OFD packet to send [07:36:29]OFD Sender: No OFD packet to send [07:36:34]OFD Sender: No OFD packet to send [07:36:39]OFD Sender: No OFD packet to send [07:36:44]OFD Sender: No OFD packet to send [07:36:49]OFD Sender: No OFD packet to send [07:36:54]OFD Sender: No OFD packet to send [07:36:59]OFD Sender: No OFD packet to send [07:37:04]OFD Sender: No OFD packet to send [07:37:09]OFD Sender: No OFD packet to send [07:37:14]OFD Sender: No OFD packet to send [07:37:19]OFD Sender: No OFD packet to send [07:37:24]OFD Sender: No OFD packet to send [07:37:29]OFD Sender: No OFD packet to send [07:37:34]OFD Sender: No OFD packet to send [07:37:39]OFD Sender: No OFD packet to send [07:37:44]OFD Sender: No OFD packet to send [07:37:49]OFD Sender: No OFD packet to send [07:37:54]OFD Sender: No OFD packet to send [07:37:59]OFD Sender: No OFD packet to send [07:38:04]OFD Sender: No OFD packet to send [07:38:09]OFD Sender: No OFD packet to send [07:38:14]OFD Sender: No OFD packet to send [07:38:19]OFD Sender: No OFD packet to send [07:38:24]OFD Sender: No OFD packet to send [07:38:29]OFD Sender: No OFD packet to send [07:38:34]OFD Sender: No OFD packet to send [07:38:39]OFD Sender: No OFD packet to send [07:38:44]OFD Sender: No OFD packet to send [07:38:49]OFD Sender: No OFD packet to send [07:38:54]OFD Sender: No OFD packet to send [07:38:59]OFD Sender: No OFD packet to send [07:39:04]OFD Sender: No OFD packet to send [07:39:09]OFD Sender: No OFD packet to send [07:39:14]OFD Sender: No OFD packet to send [07:39:19]OFD Sender: No OFD packet to send [07:39:24]OFD Sender: No OFD packet to send [07:39:29]OFD Sender: No OFD packet to send [07:39:34]OFD Sender: No OFD packet to send [07:39:39]OFD Sender: No OFD packet to send [07:39:44]OFD Sender: No OFD packet to send [07:39:49]OFD Sender: No OFD packet to send [07:39:54]OFD Sender: No OFD packet to send [07:39:59]OFD Sender: No OFD packet to send [07:40:04]OFD Sender: No OFD packet to send [07:40:09]OFD Sender: No OFD packet to send [07:40:14]OFD Sender: No OFD packet to send [07:40:19]OFD Sender: No OFD packet to send [07:40:24]OFD Sender: No OFD packet to send [07:40:29]OFD Sender: No OFD packet to send [07:40:34]OFD Sender: No OFD packet to send [07:40:39]OFD Sender: No OFD packet to send [07:40:44]OFD Sender: No OFD packet to send [07:40:49]OFD Sender: No OFD packet to send [07:40:54]OFD Sender: No OFD packet to send [07:40:59]OFD Sender: No OFD packet to send [07:41:04]OFD Sender: No OFD packet to send [07:41:09]OFD Sender: No OFD packet to send [07:41:14]OFD Sender: No OFD packet to send [07:41:19]OFD Sender: No OFD packet to send [07:41:24]OFD Sender: No OFD packet to send [07:41:29]OFD Sender: No OFD packet to send [07:41:34]OFD Sender: No OFD packet to send [07:41:39]OFD Sender: No OFD packet to send [07:41:44]OFD Sender: No OFD packet to send [07:41:49]OFD Sender: No OFD packet to send [07:41:54]OFD Sender: No OFD packet to send [07:41:59]OFD Sender: No OFD packet to send [07:42:04]OFD Sender: No OFD packet to send [07:42:09]OFD Sender: No OFD packet to send [07:42:14]OFD Sender: No OFD packet to send [07:42:19]OFD Sender: No OFD packet to send [07:42:24]OFD Sender: No OFD packet to send [07:42:29]OFD Sender: No OFD packet to send [07:42:34]OFD Sender: No OFD packet to send [07:42:39]OFD Sender: No OFD packet to send [07:42:44]OFD Sender: No OFD packet to send [07:42:49]OFD Sender: No OFD packet to send [07:42:54]OFD Sender: No OFD packet to send [07:42:59]OFD Sender: No OFD packet to send [07:43:04]OFD Sender: No OFD packet to send [07:43:09]OFD Sender: No OFD packet to send [07:43:14]OFD Sender: No OFD packet to send [07:43:19]OFD Sender: No OFD packet to send [07:43:24]OFD Sender: No OFD packet to send [07:43:29]OFD Sender: No OFD packet to send [07:43:34]OFD Sender: No OFD packet to send [07:43:39]OFD Sender: No OFD packet to send [07:43:44]OFD Sender: No OFD packet to send [07:43:49]OFD Sender: No OFD packet to send [07:43:54]OFD Sender: No OFD packet to send [07:43:59]OFD Sender: No OFD packet to send [07:44:04]OFD Sender: No OFD packet to send [07:44:09]OFD Sender: No OFD packet to send [07:44:14]OFD Sender: No OFD packet to send [07:44:19]OFD Sender: No OFD packet to send [07:44:24]OFD Sender: No OFD packet to send [07:44:29]OFD Sender: No OFD packet to send [07:44:34]OFD Sender: No OFD packet to send [07:44:39]OFD Sender: No OFD packet to send [07:44:44]OFD Sender: No OFD packet to send [07:44:49]OFD Sender: No OFD packet to send [07:44:54]OFD Sender: No OFD packet to send [07:44:59]OFD Sender: No OFD packet to send [07:45:04]OFD Sender: No OFD packet to send [07:45:09]OFD Sender: No OFD packet to send [07:45:14]OFD Sender: No OFD packet to send [07:45:19]OFD Sender: No OFD packet to send [07:45:24]OFD Sender: No OFD packet to send [07:45:29]OFD Sender: No OFD packet to send [07:45:34]OFD Sender: No OFD packet to send [07:45:39]OFD Sender: No OFD packet to send [07:45:44]OFD Sender: No OFD packet to send [07:45:49]OFD Sender: No OFD packet to send [07:45:54]OFD Sender: No OFD packet to send [07:45:59]OFD Sender: No OFD packet to send [07:46:04]OFD Sender: No OFD packet to send [07:46:09]OFD Sender: No OFD packet to send [07:46:14]OFD Sender: No OFD packet to send [07:46:19]OFD Sender: No OFD packet to send [07:46:24]OFD Sender: No OFD packet to send [07:46:29]OFD Sender: No OFD packet to send [07:46:34]OFD Sender: No OFD packet to send [07:46:39]OFD Sender: No OFD packet to send [07:46:44]OFD Sender: No OFD packet to send [07:46:49]OFD Sender: No OFD packet to send [07:46:54]OFD Sender: No OFD packet to send [07:46:59]OFD Sender: No OFD packet to send [07:47:04]OFD Sender: No OFD packet to send [07:47:09]OFD Sender: No OFD packet to send [07:47:14]OFD Sender: No OFD packet to send [07:47:19]OFD Sender: No OFD packet to send [07:47:24]OFD Sender: No OFD packet to send [07:47:29]OFD Sender: No OFD packet to send [07:47:34]OFD Sender: No OFD packet to send [07:47:39]OFD Sender: No OFD packet to send [07:47:44]OFD Sender: No OFD packet to send [07:47:49]OFD Sender: No OFD packet to send [07:47:54]OFD Sender: No OFD packet to send [07:47:59]OFD Sender: No OFD packet to send [07:48:04]OFD Sender: No OFD packet to send [07:48:09]OFD Sender: No OFD packet to send [07:48:14]OFD Sender: No OFD packet to send [07:48:19]OFD Sender: No OFD packet to send [07:48:24]OFD Sender: No OFD packet to send [07:48:29]OFD Sender: No OFD packet to send [07:48:34]OFD Sender: No OFD packet to send [07:48:39]OFD Sender: No OFD packet to send [07:48:44]OFD Sender: No OFD packet to send [07:48:49]OFD Sender: No OFD packet to send [07:48:54]OFD Sender: No OFD packet to send [07:48:59]OFD Sender: No OFD packet to send [07:49:04]OFD Sender: No OFD packet to send [07:49:09]OFD Sender: No OFD packet to send [07:49:14]OFD Sender: No OFD packet to send [07:49:19]OFD Sender: No OFD packet to send [07:49:24]OFD Sender: No OFD packet to send [07:49:29]OFD Sender: No OFD packet to send [07:49:34]OFD Sender: No OFD packet to send [07:49:39]OFD Sender: No OFD packet to send [07:49:44]OFD Sender: No OFD packet to send [07:49:49]OFD Sender: No OFD packet to send [07:49:54]OFD Sender: No OFD packet to send [07:49:59]OFD Sender: No OFD packet to send [07:50:04]OFD Sender: No OFD packet to send [07:50:09]OFD Sender: No OFD packet to send [07:50:14]OFD Sender: No OFD packet to send [07:50:19]OFD Sender: No OFD packet to send [07:50:24]OFD Sender: No OFD packet to send [07:50:29]OFD Sender: No OFD packet to send [07:50:34]OFD Sender: No OFD packet to send [07:50:39]OFD Sender: No OFD packet to send [07:50:44]OFD Sender: No OFD packet to send [07:50:49]OFD Sender: No OFD packet to send [07:50:54]OFD Sender: No OFD packet to send [07:50:59]OFD Sender: No OFD packet to send [07:51:04]OFD Sender: No OFD packet to send [07:51:09]OFD Sender: No OFD packet to send [07:51:14]OFD Sender: No OFD packet to send [07:51:19]OFD Sender: No OFD packet to send [07:51:24]OFD Sender: No OFD packet to send [07:51:29]OFD Sender: No OFD packet to send [07:51:34]OFD Sender: No OFD packet to send [07:51:39]OFD Sender: No OFD packet to send [07:51:44]OFD Sender: No OFD packet to send [07:51:49]OFD Sender: No OFD packet to send [07:51:54]OFD Sender: No OFD packet to send [07:51:59]OFD Sender: No OFD packet to send [07:52:04]OFD Sender: No OFD packet to send [07:52:09]OFD Sender: No OFD packet to send [07:52:14]OFD Sender: No OFD packet to send [07:52:19]OFD Sender: No OFD packet to send [07:52:24]OFD Sender: No OFD packet to send [07:52:29]OFD Sender: No OFD packet to send [07:52:34]OFD Sender: No OFD packet to send [07:52:39]OFD Sender: No OFD packet to send [07:52:44]OFD Sender: No OFD packet to send [07:52:49]OFD Sender: No OFD packet to send [07:52:54]OFD Sender: No OFD packet to send [07:52:59]OFD Sender: No OFD packet to send [07:53:04]OFD Sender: No OFD packet to send [07:53:09]OFD Sender: No OFD packet to send [07:53:14]OFD Sender: No OFD packet to send [07:53:19]OFD Sender: No OFD packet to send [07:53:24]OFD Sender: No OFD packet to send [07:53:29]OFD Sender: No OFD packet to send [07:53:34]OFD Sender: No OFD packet to send [07:53:39]OFD Sender: No OFD packet to send [07:53:44]OFD Sender: No OFD packet to send [07:53:49]OFD Sender: No OFD packet to send [07:53:54]OFD Sender: No OFD packet to send [07:53:59]OFD Sender: No OFD packet to send [07:54:04]OFD Sender: No OFD packet to send [07:54:09]OFD Sender: No OFD packet to send [07:54:14]OFD Sender: No OFD packet to send [07:54:19]OFD Sender: No OFD packet to send [07:54:24]OFD Sender: No OFD packet to send [07:54:29]OFD Sender: No OFD packet to send [07:54:34]OFD Sender: No OFD packet to send [07:54:39]OFD Sender: No OFD packet to send [07:54:44]OFD Sender: No OFD packet to send [07:54:49]OFD Sender: No OFD packet to send [07:54:54]OFD Sender: No OFD packet to send [07:54:59]OFD Sender: No OFD packet to send [07:55:04]OFD Sender: No OFD packet to send [07:55:09]OFD Sender: No OFD packet to send [07:55:14]OFD Sender: No OFD packet to send [07:55:19]OFD Sender: No OFD packet to send [07:55:24]OFD Sender: No OFD packet to send [07:55:29]OFD Sender: No OFD packet to send [07:55:34]OFD Sender: No OFD packet to send [07:55:39]OFD Sender: No OFD packet to send [07:55:44]OFD Sender: No OFD packet to send [07:55:49]OFD Sender: No OFD packet to send [07:55:54]OFD Sender: No OFD packet to send [07:55:59]OFD Sender: No OFD packet to send [07:56:04]OFD Sender: No OFD packet to send [07:56:09]OFD Sender: No OFD packet to send [07:56:14]OFD Sender: No OFD packet to send [07:56:19]OFD Sender: No OFD packet to send [07:56:24]OFD Sender: No OFD packet to send [07:56:29]OFD Sender: No OFD packet to send [07:56:34]OFD Sender: No OFD packet to send [07:56:39]OFD Sender: No OFD packet to send [07:56:44]OFD Sender: No OFD packet to send [07:56:49]OFD Sender: No OFD packet to send [07:56:54]OFD Sender: No OFD packet to send [07:56:59]OFD Sender: No OFD packet to send [07:57:04]OFD Sender: No OFD packet to send [07:57:07]accept exits with 9 [07:57:07]New connection [07:57:07]New thread 3067227492 created [07:57:07]Thread 3067370852 joined [07:57:07]Waiting for new connection... [07:57:07] Sock 9.Parse request [07:57:07]Sock 9.Check first char [07:57:07]Sock 9.First char is OK [07:57:07]request: POST /json_proto HTTP/1.0 [07:57:07]Method: POST [07:57:07]URL: /json_proto [07:57:07]Method is POST - this is cgi request [07:57:07]url: /json_proto [07:57:07]query_string will be loaded in cgi processing [07:57:07]execute_cgi json_proto POST (null) [07:57:07]execute_cgi path=json_proto method=POST [07:57:07]POST find Content-Length [07:57:07]Host: 172.17.56.68:8080 [07:57:07]Content-Length: 612 [07:57:07]Content-Type: application/json [07:57:07] [07:57:07]POST finish read [07:57:07]Found Content-Length = 612 [07:57:07]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4401", "tax_sys" : 0, "items" : [ { "code": "4870001570071", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1\u043B", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 110.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:57:07]execute_script... [07:57:07]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4401", "tax_sys" : 0, "items" : [ { "code": "4870001570071", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1\u043B", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 110.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:57:07]POST & json_proto [07:57:07]process_json_proto [07:57:07]json parsed OK: [07:57:07]protocol is kg_v1.0 [07:57:07]action value=close_receipt [07:57:07]process_action close_receipt [07:57:07]cmd_close_receipt [07:57:07]MH_GetDate [07:57:07]Write to MH i2c: F0 00 00 10 2A 29 [07:57:07]Write i2c OK [07:57:07]MH_I2C_Read... [07:57:07]Read from MH i2c: F0 [07:57:07]MH_I2C_Read... [07:57:07]Read from MH i2c: F0 09 00 [07:57:07]MH_I2C_Read... [07:57:07]Read from MH i2c: F0 09 00 10 2A 00 60 1A 60 66 42 69 5C 66 DF [07:57:07]GetLastDocTimeStamp 1717571092 [07:57:07]current date 1717574240 [07:57:07]FM_GetShiftState [07:57:07]SAM_PROTO_GetShiftState [07:57:07]wFMCommunicate request_size=4 [07:57:07]MH_SAM_APDU [07:57:07]CAPDU: 80 13 01 00 [07:57:07]Write to MH i2c: E2 08 00 11 2A 80 13 01 00 00 00 00 00 B8 [07:57:07]Write i2c OK [07:57:07]MH_I2C_Read... [07:57:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:57:07]Read from MH i2c: E2 [07:57:07]MH_I2C_Read... [07:57:07]Read from MH i2c: E2 0E 00 [07:57:07]MH_I2C_Read... [07:57:07]Read from MH i2c: E2 0E 00 11 2A 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 59 [07:57:07]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [07:57:07]wFMCommunicate OK [07:57:07]SAM_PROTO_GetShiftState done [07:57:07]FM_GetShiftState done [07:57:07]opened in 1717545765 [07:57:07]opened+sec_in_day 1717632165 [07:57:07]quantity*price = 11000 [07:57:07]sum+1 = 11001 [07:57:07]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 110.00 НСП 1% : 0.97 НДС 12% : 11.68 Наличными: 110.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 6 05.06.2024 07:57 Смена: 84 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4148 ФПД: 148082428549727 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T075720&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4148&fm=148082428549727&tin=02508201610067®Number=0000000000145775&sum=11000 0 [07:57:08]StoreToDocumentArchive [07:57:08]shift 84 fd 4148 [07:57:08]save to /storage/0084/doc_00004148 [07:57:08]save last doc name /storage/0084/doc_00004148 to /storage/kkm_last_doc_name [07:57:08]save OK [07:57:08]Clear old archive folders... [07:57:08]ProcessDocumentItem done err = 0, tmpTLVsize=266 [07:57:08]tlvbuf is 007FA2D0 [07:57:08]SAM_PROTO_ClearQueue [07:57:08]wFMCommunicate request_size=4 [07:57:08]MH_SAM_APDU [07:57:08]CAPDU: 80 09 00 00 [07:57:08]Write to MH i2c: E2 08 00 1E 2A 80 09 00 00 00 00 00 00 BA [07:57:08]Write i2c OK [07:57:08]MH_I2C_Read... [07:57:08]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:57:08]Read from MH i2c: E2 [07:57:08]MH_I2C_Read... [07:57:08]Read from MH i2c: E2 03 00 [07:57:08]MH_I2C_Read... [07:57:08]Read from MH i2c: E2 03 00 1E 2A 00 90 00 BC [07:57:08]RAPDU: 90 00 [07:57:08]wFMCommunicate OK [07:57:08]SAM_PROTO_ClearQueue done [07:57:08]KKMCreateOFDPacket [07:57:08]OFDProtocolAddRootSTLVToBuf [07:57:08]FM_MakeSignedData [07:57:08]FM_MakeSignedData [07:57:08]SAM_PROTO_SignData [07:57:08]wFMCommunicate request_size=4 [07:57:08]MH_SAM_APDU [07:57:08]CAPDU: 80 0D 01 02 [07:57:08]Write to MH i2c: E2 08 00 1F 2A 80 0D 01 02 00 00 00 00 C2 [07:57:08]Write i2c OK [07:57:08]MH_I2C_Read... [07:57:08]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:57:08]Read from MH i2c: E2 [07:57:08]MH_I2C_Read... [07:57:08]Read from MH i2c: E2 03 00 [07:57:08]MH_I2C_Read... [07:57:08]Read from MH i2c: E2 03 00 1F 2A 00 90 00 BD [07:57:08]RAPDU: 90 00 [07:57:08]wFMCommunicate OK [07:57:08]wFMCommunicate request_size=255 [07:57:08]MH_SAM_APDU [07:57:08]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 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 F8 2A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 60 1A 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 [07:57:08]Write to MH i2c: E2 02 01 20 2A 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 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 F8 2A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 60 1A 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 00 00 D9 [07:57:08]Write i2c OK [07:57:08]MH_I2C_Read... [07:57:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:57:09]Read from MH i2c: E2 [07:57:09]MH_I2C_Read... [07:57:09]Read from MH i2c: E2 03 00 [07:57:09]MH_I2C_Read... [07:57:09]Read from MH i2c: E2 03 00 20 2A 00 90 00 BE [07:57:09]RAPDU: 90 00 [07:57:09]wFMCommunicate OK [07:57:09]wFMCommunicate request_size=25 [07:57:09]MH_SAM_APDU [07:57:09]CAPDU: 80 0D 02 02 14 36 30 10 04 04 00 34 10 00 00 35 04 06 00 86 AE 20 8D 1A 5F [07:57:09]Write to MH i2c: E2 1C 00 21 2A 80 0D 02 02 14 00 36 30 10 04 04 00 34 10 00 00 35 04 06 00 86 AE 20 8D 1A 5F 00 00 48 [07:57:09]Write i2c OK [07:57:09]MH_I2C_Read... [07:57:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:57:09]Read from MH i2c: E2 [07:57:09]MH_I2C_Read... [07:57:09]Read from MH i2c: E2 03 00 [07:57:09]MH_I2C_Read... [07:57:09]Read from MH i2c: E2 03 00 21 2A 00 90 00 BF [07:57:09]RAPDU: 90 00 [07:57:09]wFMCommunicate OK [07:57:09]wFMCommunicate request_size=4 [07:57:09]MH_SAM_APDU [07:57:09]CAPDU: 80 0D 03 02 [07:57:09]Write to MH i2c: E2 08 00 22 2A 80 0D 03 02 00 00 00 00 C7 [07:57:09]Write i2c OK [07:57:09]MH_I2C_Read... [07:57:09]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:57:09]Read from MH i2c: E2 [07:57:09]MH_I2C_Read... [07:57:09]Read from MH i2c: E2 0B 00 [07:57:09]MH_I2C_Read... [07:57:09]Read from MH i2c: E2 0B 00 22 2A 00 23 4B 73 DC 67 E4 2C C4 90 00 C0 [07:57:09]RAPDU: 23 4B 73 DC 67 E4 2C C4 90 00 [07:57:09]wFMCommunicate OK [07:57:09]SAM_PROTO_SignData done [07:57:09]FM_MakeSignedData done [07:57:09]CreateOFDProtocolMessage [07:57:09]wFMCommunicate request_size=4 [07:57:09]MH_SAM_APDU [07:57:09]CAPDU: 80 11 00 00 [07:57:09]Write to MH i2c: E2 08 00 23 2A 80 11 00 00 00 00 00 00 C7 [07:57:09]Write i2c OK [07:57:09]MH_I2C_Read... [07:57:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:57:09]Read from MH i2c: E2 [07:57:09]MH_I2C_Read... [07:57:09]Read from MH i2c: E2 17 00 [07:57:09]MH_I2C_Read... [07:57:09]Read from MH i2c: E2 17 00 23 2A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 1A [07:57:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [07:57:09]wFMCommunicate OK [07:57:09]CreateOFDProtocolMessage done [07:57:09]OFDSenderStorePacket 4148 [07:57:09]StoreOFDPacket docnum=4148 [07:57:09]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 1E 01 00 00 C0 82 16 01 B3 A0 5A 03 01 00 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 F8 2A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 60 1A 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 34 10 00 00 35 04 06 00 86 AE 20 8D 1A 5F 23 4B 73 DC 67 E4 2C C4 [07:57:09]CheckFolder [07:57:09]dirname=/storage/ofd_packets [07:57:09]CheckFolder done [07:57:09]ProducePacketName [07:57:09]name=ofd_packets/00004148 [07:57:09]NVStorageSaveData ofd_packets/00004148 [07:57:09]File name is /storage/ofd_packets/00004148 [07:57:09]Write 316 bytes [07:57:09]NVStorageSaveData done [07:57:09]OFDSenderStorePacket done [07:57:09]KKMCreateOFDPacket done [07:57:09]NVStorageSaveData kkm_last_timestamp [07:57:09]File name is /storage/kkm_last_timestamp [07:57:09]Write 4 bytes [07:57:09]NVStorageSaveData done [07:57:09]ExternCall_PrintAddStr [07:57:09]wPrintStart [07:57:09]Write to MH i2c: 01 00 00 24 2A 4E [07:57:09]Write i2c OK [07:57:09]MH_I2C_Read... [07:57:09]Read from MH i2c: 01 [07:57:09]MH_I2C_Read... [07:57:09]Read from MH i2c: 01 07 00 [07:57:09]MH_I2C_Read... [07:57:09]Read from MH i2c: 01 07 00 24 2A 00 00 00 00 00 FF 0F 63 [07:57:09]RasterBufferAndPrint [07:57:09]line Счет N : (3)4401 [07:57:09]line ИНН: 02508201610067 [07:57:09]line Контрольно-Кассовый Чек [07:57:09]line ПРОДАЖА [07:57:09]line Товар: 4870001570071 [07:57:09]line Напиток Pepsi 1л [07:57:09]line 1.000 * 110.00 [07:57:09]line = 110.00 [07:57:09]line НДС 12% НСП 1% [07:57:09]line > о реализуемом товаре [07:57:09]line ИТОГО: 110.00 [07:57:09]line НСП 1% : 0.97 [07:57:09]line НДС 12% : 11.68 [07:57:09]line Наличными: 110.00 [07:57:09]line Безнал.: 0.00 [07:57:09]line Место: АЗС № 116 "Партнер Нефть" [07:57:09]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [07:57:09]line СНО: Общий режим [07:57:09]line Чек 6 05.06.2024 07:57 [07:57:09]line Смена: 84 ФФД: 1.0 [07:57:09]line ЗНМ: 0300000233 [07:57:09]line РНМ: 0000000000145775 [07:57:09]line Версия ККМ: v1.0 [07:57:09]line ФМ: 0000000000959360 [07:57:09]line ФД: 4148 [07:57:09]line ФПД: 148082428549727 [07:57:09]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T075720&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4148&fm=148082428549727&tin=02508201610067®Number=0000000000145775&sum=11000 [07:57:09]line 0 [07:57:09]OFD Sender: Processing packet 4148 [packets to send 2, broken 1] [07:57:09]ProducePacketName [07:57:09]name=ofd_packets/00004148 [07:57:09]OFD Sender: To server: pG, [07:57:09]CommunicateWithHost lk.salyk.kg:30040 [07:57:09]ConnectInit lk.salyk.kg [07:57:09]written 0, free lines is 4095 [07:57:09]Connected sock=10 [07:57:09]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 1E 01 00 00 C0 82 16 01 B3 A0 5A 03 01 00 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 F8 2A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 60 1A 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 34 10 00 00 35 04 06 00 86 AE 20 8D 1A 5F 23 4B 73 DC 67 E4 2C C4 [07:57:09]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 5A 6A 47 00 34 C6 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 34 10 00 00 F4 03 04 00 5E C6 5F 66 B6 04 01 00 00 E8 64 61 1C 0C 45 B7 59 [07:57:09]CommunicateWithHost err = 0 [07:57:09]CheckOFDResponse [07:57:09]1017 (14) - 77093643461234 [07:57:09]1041 (16) - 0000000000959360 [07:57:09]1040 (4) - 4148 [07:57:09]1012 (4) - 05.06.2024 01:58 [07:57:09]1206 (1) - 0 [07:57:09]OFD Sender: Remove packet 4148 [07:57:09]ProducePacketName [07:57:09]name=ofd_packets/00004148 [07:57:09]NVStorageDeleteData [07:57:10]Write to MH i2c: 01 00 00 4C 2A 76 [07:57:10]Write i2c OK [07:57:10]MH_I2C_Read... [07:57:10]Read from MH i2c: 01 [07:57:10]MH_I2C_Read... [07:57:10]Read from MH i2c: 01 07 00 [07:57:10]MH_I2C_Read... [07:57:10]Read from MH i2c: 01 07 00 4C 2A 00 00 00 00 00 B4 0C 3D [07:57:10]RasterBufferAndPrint [07:57:10]line [07:57:10]line [07:57:10]line [07:57:10]line [07:57:10]line [07:57:10]written 0, free lines is 3257 [07:57:10]MH_Cut [07:57:10]Write to MH i2c: D1 01 00 53 2A 01 4F [07:57:10]Write i2c OK [07:57:10]MH_I2C_Read... [07:57:10]Read from MH i2c: D1 [07:57:10]MH_I2C_Read... [07:57:10]Read from MH i2c: D1 01 00 [07:57:10]MH_I2C_Read... [07:57:10]Read from MH i2c: D1 01 00 53 2A 00 4E [07:57:10]Write to MH i2c: 01 00 00 54 2A 7E [07:57:10]Write i2c OK [07:57:10]MH_I2C_Read... [07:57:10]OFD Sender: No OFD packet to send [07:57:10]*** Cut start [07:57:10]*** Partial cut [07:57:10]*** CUTSNS_PIN = 1 [07:57:11]*** CUTSNS_PIN = 0 [07:57:11]*** Brake cut motor [07:57:11]Read from MH i2c: 01 [07:57:11]MH_I2C_Read... [07:57:11]*** Stop cut motor [07:57:11]*** Cut end [07:57:11]Read from MH i2c: 01 07 00 [07:57:11]MH_I2C_Read... [07:57:11]Read from MH i2c: 01 07 00 54 2A 00 00 00 00 00 FF 0F 93 [07:57:11]process_action close_receipt done [07:57:11]requested_data is exist [07:57:11]produce_requested_data [07:57:11]requested_item fm.sn is exist - process it [07:57:11]wFMCommunicate request_size=4 [07:57:11]MH_SAM_APDU [07:57:11]CAPDU: 80 11 00 00 [07:57:11]Write to MH i2c: E2 08 00 55 2A 80 11 00 00 00 00 00 00 F9 [07:57:11]Write i2c OK [07:57:11]MH_I2C_Read... [07:57:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:57:11]Read from MH i2c: E2 [07:57:11]MH_I2C_Read... [07:57:11]Read from MH i2c: E2 17 00 [07:57:11]MH_I2C_Read... [07:57:11]Read from MH i2c: E2 17 00 55 2A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 4C [07:57:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [07:57:11]wFMCommunicate OK [07:57:11]requested_item fd.num is exist - process it [07:57:11]SAM_PROTO_GetFieldsCounters [07:57:11]wFMCommunicate request_size=4 [07:57:11]MH_SAM_APDU [07:57:11]CAPDU: 80 13 00 00 [07:57:11]Write to MH i2c: E2 08 00 56 2A 80 13 00 00 00 00 00 00 FC [07:57:11]Write i2c OK [07:57:11]MH_I2C_Read... [07:57:11]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:57:11]Read from MH i2c: E2 [07:57:11]MH_I2C_Read... [07:57:11]Read from MH i2c: E2 62 00 [07:57:11]MH_I2C_Read... [07:57:11]Read from MH i2c: E2 62 00 56 2A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 34 10 00 00 0E 04 04 00 54 00 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 CB [07:57:11]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 34 10 00 00 0E 04 04 00 54 00 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 [07:57:11]wFMCommunicate OK [07:57:11]SAM_PROTO_GetFieldsCounters done [07:57:11]requested_item shift.num is exist - process it [07:57:11]requested_item shift.opened is exist - process it [07:57:11]req_shift_opened [07:57:11]FM_GetShiftState [07:57:11]SAM_PROTO_GetShiftState [07:57:11]wFMCommunicate request_size=4 [07:57:11]MH_SAM_APDU [07:57:11]CAPDU: 80 13 01 00 [07:57:11]Write to MH i2c: E2 08 00 57 2A 80 13 01 00 00 00 00 00 FE [07:57:11]Write i2c OK [07:57:11]MH_I2C_Read... [07:57:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:57:11]Read from MH i2c: E2 [07:57:11]MH_I2C_Read... [07:57:11]Read from MH i2c: E2 0E 00 [07:57:11]MH_I2C_Read... [07:57:11]Read from MH i2c: E2 0E 00 57 2A 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 9F [07:57:11]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [07:57:11]wFMCommunicate OK [07:57:11]SAM_PROTO_GetShiftState done [07:57:11]FM_GetShiftState done [07:57:11]req_shift_opened done [07:57:11]requested_item shift.open_date is exist - process it [07:57:11]req_shift_open_date [07:57:11]req_shift_open_date done [07:57:11]produce_requested_data done [07:57:11]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4148,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765} [07:57:11]process_action_free close_receipt [07:57:11]json_value_free [07:57:11]json_value_free done [07:57:11]process_json_proto returns [07:57:11]Send response to host [07:57:11]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4148,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765}}} [07:57:11]free response buf [07:57:11]execute_script done [07:57:11]execute_script returns [07:57:11]free content buf [07:57:11]Sock 9.Close socket [07:57:11]Sock 9.Thread stoped [07:57:15]OFD Sender: No OFD packet to send [07:57:20]OFD Sender: No OFD packet to send [07:57:25]OFD Sender: No OFD packet to send [07:57:30]OFD Sender: No OFD packet to send [07:57:35]OFD Sender: No OFD packet to send [07:57:40]OFD Sender: No OFD packet to send [07:57:45]OFD Sender: No OFD packet to send [07:57:50]OFD Sender: No OFD packet to send [07:57:55]OFD Sender: No OFD packet to send [07:58:00]OFD Sender: No OFD packet to send [07:58:05]OFD Sender: No OFD packet to send [07:58:10]OFD Sender: No OFD packet to send [07:58:15]OFD Sender: No OFD packet to send [07:58:20]OFD Sender: No OFD packet to send [07:58:25]OFD Sender: No OFD packet to send [07:58:30]OFD Sender: No OFD packet to send [07:58:35]OFD Sender: No OFD packet to send [07:58:40]OFD Sender: No OFD packet to send [07:58:45]OFD Sender: No OFD packet to send [07:58:50]OFD Sender: No OFD packet to send [07:58:55]OFD Sender: No OFD packet to send [07:59:00]OFD Sender: No OFD packet to send [07:59:05]OFD Sender: No OFD packet to send [07:59:10]OFD Sender: No OFD packet to send [07:59:15]OFD Sender: No OFD packet to send [07:59:20]OFD Sender: No OFD packet to send [07:59:25]OFD Sender: No OFD packet to send [07:59:30]OFD Sender: No OFD packet to send [07:59:35]OFD Sender: No OFD packet to send [07:59:40]OFD Sender: No OFD packet to send [07:59:45]OFD Sender: No OFD packet to send [07:59:50]OFD Sender: No OFD packet to send [07:59:55]OFD Sender: No OFD packet to send [08:00:00]OFD Sender: No OFD packet to send [08:00:05]OFD Sender: No OFD packet to send [08:00:10]OFD Sender: No OFD packet to send [08:00:15]OFD Sender: No OFD packet to send [08:00:20]OFD Sender: No OFD packet to send [08:00:25]OFD Sender: No OFD packet to send [08:00:30]OFD Sender: No OFD packet to send [08:00:35]OFD Sender: No OFD packet to send [08:00:40]OFD Sender: No OFD packet to send [08:00:45]OFD Sender: No OFD packet to send [08:00:50]OFD Sender: No OFD packet to send [08:00:55]OFD Sender: No OFD packet to send [08:01:00]OFD Sender: No OFD packet to send [08:01:05]OFD Sender: No OFD packet to send [08:01:10]OFD Sender: No OFD packet to send [08:01:15]OFD Sender: No OFD packet to send [08:01:20]OFD Sender: No OFD packet to send [08:01:25]OFD Sender: No OFD packet to send [08:01:30]OFD Sender: No OFD packet to send [08:01:35]OFD Sender: No OFD packet to send [08:01:40]OFD Sender: No OFD packet to send [08:01:45]OFD Sender: No OFD packet to send [08:01:50]OFD Sender: No OFD packet to send [08:01:55]OFD Sender: No OFD packet to send [08:02:00]OFD Sender: No OFD packet to send [08:02:05]OFD Sender: No OFD packet to send [08:02:10]OFD Sender: No OFD packet to send [08:02:15]OFD Sender: No OFD packet to send [08:02:20]OFD Sender: No OFD packet to send [08:02:25]OFD Sender: No OFD packet to send [08:02:30]OFD Sender: No OFD packet to send [08:02:35]OFD Sender: No OFD packet to send [08:02:40]OFD Sender: No OFD packet to send [08:02:45]OFD Sender: No OFD packet to send [08:02:50]OFD Sender: No OFD packet to send [08:02:55]OFD Sender: No OFD packet to send [08:03:00]OFD Sender: No OFD packet to send [08:03:05]OFD Sender: No OFD packet to send [08:03:10]OFD Sender: No OFD packet to send [08:03:15]OFD Sender: No OFD packet to send [08:03:20]OFD Sender: No OFD packet to send [08:03:25]OFD Sender: No OFD packet to send [08:03:30]OFD Sender: No OFD packet to send [08:03:35]OFD Sender: No OFD packet to send [08:03:40]OFD Sender: No OFD packet to send [08:03:45]OFD Sender: No OFD packet to send [08:03:50]OFD Sender: No OFD packet to send [08:03:55]OFD Sender: No OFD packet to send [08:04:00]OFD Sender: No OFD packet to send [08:04:05]OFD Sender: No OFD packet to send [08:04:10]OFD Sender: No OFD packet to send [08:04:15]OFD Sender: No OFD packet to send [08:04:20]OFD Sender: No OFD packet to send [08:04:25]OFD Sender: No OFD packet to send [08:04:30]OFD Sender: No OFD packet to send [08:04:35]OFD Sender: No OFD packet to send [08:04:40]OFD Sender: No OFD packet to send [08:04:45]OFD Sender: No OFD packet to send [08:04:50]OFD Sender: No OFD packet to send [08:04:55]OFD Sender: No OFD packet to send [08:05:00]OFD Sender: No OFD packet to send [08:05:05]OFD Sender: No OFD packet to send [08:05:10]OFD Sender: No OFD packet to send [08:05:15]OFD Sender: No OFD packet to send [08:05:20]OFD Sender: No OFD packet to send [08:05:25]OFD Sender: No OFD packet to send [08:05:30]OFD Sender: No OFD packet to send [08:05:35]OFD Sender: No OFD packet to send [08:05:40]OFD Sender: No OFD packet to send [08:05:45]OFD Sender: No OFD packet to send [08:05:50]OFD Sender: No OFD packet to send [08:05:55]OFD Sender: No OFD packet to send [08:06:00]OFD Sender: No OFD packet to send [08:06:05]OFD Sender: No OFD packet to send [08:06:10]OFD Sender: No OFD packet to send [08:06:15]OFD Sender: No OFD packet to send [08:06:20]OFD Sender: No OFD packet to send [08:06:25]OFD Sender: No OFD packet to send [08:06:30]OFD Sender: No OFD packet to send [08:06:35]OFD Sender: No OFD packet to send [08:06:40]OFD Sender: No OFD packet to send [08:06:45]OFD Sender: No OFD packet to send [08:06:50]OFD Sender: No OFD packet to send [08:06:55]OFD Sender: No OFD packet to send [08:07:00]OFD Sender: No OFD packet to send [08:07:05]OFD Sender: No OFD packet to send [08:07:10]OFD Sender: No OFD packet to send [08:07:15]OFD Sender: No OFD packet to send [08:07:20]OFD Sender: No OFD packet to send [08:07:25]OFD Sender: No OFD packet to send [08:07:30]accept exits with 8 [08:07:30]New connection [08:07:30]New thread 3067370852 created [08:07:30]Thread 3067227492 joined [08:07:30]Waiting for new connection... [08:07:30] Sock 8.Parse request [08:07:30]Sock 8.Check first char [08:07:30]Sock 8.First char is OK [08:07:30]request: POST /json_proto HTTP/1.0 [08:07:30]Method: POST [08:07:30]URL: /json_proto [08:07:30]Method is POST - this is cgi request [08:07:30]url: /json_proto [08:07:30]query_string will be loaded in cgi processing [08:07:30]execute_cgi json_proto POST (null) [08:07:30]execute_cgi path=json_proto method=POST [08:07:30]POST find Content-Length [08:07:30]Host: 172.17.56.68:8080 [08:07:30]Content-Length: 624 [08:07:30]Content-Type: application/json [08:07:30] [08:07:30]POST finish read [08:07:30]Found Content-Length = 624 [08:07:30]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4402", "tax_sys" : 0, "items" : [ { "code": "4640030092499", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE SENSE Himalaya", "price" : 138.00, "quantity" : 1.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 138.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:07:30]execute_script... [08:07:30]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4402", "tax_sys" : 0, "items" : [ { "code": "4640030092499", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE SENSE Himalaya", "price" : 138.00, "quantity" : 1.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 138.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:07:30]POST & json_proto [08:07:30]process_json_proto [08:07:30]json parsed OK: [08:07:30]protocol is kg_v1.0 [08:07:30]action value=close_receipt [08:07:30]process_action close_receipt [08:07:30]cmd_close_receipt [08:07:30]MH_GetDate [08:07:30]Write to MH i2c: F0 00 00 58 2A 71 [08:07:30]Write i2c OK [08:07:30]MH_I2C_Read... [08:07:30]Read from MH i2c: F0 [08:07:30]MH_I2C_Read... [08:07:30]Read from MH i2c: F0 09 00 [08:07:30]MH_I2C_Read... [08:07:30]Read from MH i2c: F0 09 00 58 2A 00 CF 1C 60 66 42 69 5C 66 98 [08:07:30]GetLastDocTimeStamp 1717574240 [08:07:30]current date 1717574863 [08:07:30]FM_GetShiftState [08:07:30]SAM_PROTO_GetShiftState [08:07:30]wFMCommunicate request_size=4 [08:07:30]MH_SAM_APDU [08:07:30]CAPDU: 80 13 01 00 [08:07:30]Write to MH i2c: E2 08 00 59 2A 80 13 01 00 00 00 00 00 00 [08:07:30]Write i2c OK [08:07:30]MH_I2C_Read... [08:07:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:07:30]Read from MH i2c: E2 [08:07:30]MH_I2C_Read... [08:07:30]Read from MH i2c: E2 0E 00 [08:07:30]MH_I2C_Read... [08:07:30]Read from MH i2c: E2 0E 00 59 2A 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 A1 [08:07:30]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [08:07:30]wFMCommunicate OK [08:07:30]SAM_PROTO_GetShiftState done [08:07:30]FM_GetShiftState done [08:07:30]opened in 1717545765 [08:07:30]opened+sec_in_day 1717632165 [08:07:30]quantity*price = 13800 [08:07:30]sum+1 = 13801 [08:07:30]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 138.00 НСП 1% : 1.22 НДС 12% : 14.65 Наличными: 138.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 7 05.06.2024 08:07 Смена: 84 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4149 ФПД: 30067719192818 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T080743&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4149&fm=30067719192818&tin=02508201610067®Number=0000000000145775&sum=13800 0 [08:07:31]StoreToDocumentArchive [08:07:31]shift 84 fd 4149 [08:07:31]save to /storage/0084/doc_00004149 [08:07:31]save last doc name /storage/0084/doc_00004149 to /storage/kkm_last_doc_name [08:07:31]save OK [08:07:31]Clear old archive folders... [08:07:31]ProcessDocumentItem done err = 0, tmpTLVsize=278 [08:07:31]tlvbuf is 00800100 [08:07:31]SAM_PROTO_ClearQueue [08:07:31]wFMCommunicate request_size=4 [08:07:31]MH_SAM_APDU [08:07:31]CAPDU: 80 09 00 00 [08:07:31]Write to MH i2c: E2 08 00 66 2A 80 09 00 00 00 00 00 00 02 [08:07:31]Write i2c OK [08:07:31]MH_I2C_Read... [08:07:31]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:07:31]Read from MH i2c: E2 [08:07:31]MH_I2C_Read... [08:07:31]Read from MH i2c: E2 03 00 [08:07:31]MH_I2C_Read... [08:07:31]Read from MH i2c: E2 03 00 66 2A 00 90 00 04 [08:07:31]RAPDU: 90 00 [08:07:31]wFMCommunicate OK [08:07:31]SAM_PROTO_ClearQueue done [08:07:31]KKMCreateOFDPacket [08:07:31]OFDProtocolAddRootSTLVToBuf [08:07:31]FM_MakeSignedData [08:07:31]FM_MakeSignedData [08:07:31]SAM_PROTO_SignData [08:07:31]wFMCommunicate request_size=4 [08:07:31]MH_SAM_APDU [08:07:31]CAPDU: 80 0D 01 02 [08:07:31]Write to MH i2c: E2 08 00 67 2A 80 0D 01 02 00 00 00 00 0A [08:07:31]Write i2c OK [08:07:31]MH_I2C_Read... [08:07:31]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:07:31]Read from MH i2c: E2 [08:07:31]MH_I2C_Read... [08:07:31]Read from MH i2c: E2 03 00 [08:07:31]MH_I2C_Read... [08:07:31]Read from MH i2c: E2 03 00 67 2A 00 90 00 05 [08:07:31]RAPDU: 90 00 [08:07:31]wFMCommunicate OK [08:07:31]wFMCommunicate request_size=255 [08:07:31]MH_SAM_APDU [08:07:31]CAPDU: 80 0D 02 02 FA 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 32 34 39 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 53 45 4E 53 45 20 48 69 6D 61 6C 61 79 61 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 35 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 CF 1C 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 [08:07:31]Write to MH i2c: E2 02 01 68 2A 80 0D 02 02 FA 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 32 34 39 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 53 45 4E 53 45 20 48 69 6D 61 6C 61 79 61 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 35 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 CF 1C 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 00 00 DF [08:07:31]Write i2c OK [08:07:31]MH_I2C_Read... [08:07:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:07:31]Read from MH i2c: E2 [08:07:31]MH_I2C_Read... [08:07:31]Read from MH i2c: E2 03 00 [08:07:31]MH_I2C_Read... [08:07:31]Read from MH i2c: E2 03 00 68 2A 00 90 00 06 [08:07:31]RAPDU: 90 00 [08:07:31]wFMCommunicate OK [08:07:31]wFMCommunicate request_size=37 [08:07:31]MH_SAM_APDU [08:07:31]CAPDU: 80 0D 02 02 20 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 35 10 00 00 35 04 06 00 1B 58 AF B8 C0 F2 [08:07:31]Write to MH i2c: E2 28 00 69 2A 80 0D 02 02 20 00 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 35 10 00 00 35 04 06 00 1B 58 AF B8 C0 F2 00 00 35 [08:07:31]Write i2c OK [08:07:31]MH_I2C_Read... [08:07:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:07:31]Read from MH i2c: E2 [08:07:31]MH_I2C_Read... [08:07:31]Read from MH i2c: E2 03 00 [08:07:31]MH_I2C_Read... [08:07:31]Read from MH i2c: E2 03 00 69 2A 00 90 00 07 [08:07:31]RAPDU: 90 00 [08:07:31]wFMCommunicate OK [08:07:31]wFMCommunicate request_size=4 [08:07:31]MH_SAM_APDU [08:07:31]CAPDU: 80 0D 03 02 [08:07:31]Write to MH i2c: E2 08 00 6A 2A 80 0D 03 02 00 00 00 00 0F [08:07:31]Write i2c OK [08:07:31]MH_I2C_Read... [08:07:31]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:07:31]Read from MH i2c: E2 [08:07:31]MH_I2C_Read... [08:07:31]Read from MH i2c: E2 0B 00 [08:07:31]MH_I2C_Read... [08:07:31]Read from MH i2c: E2 0B 00 6A 2A 00 F5 9C 28 26 7F E3 05 E8 90 00 3E [08:07:31]RAPDU: F5 9C 28 26 7F E3 05 E8 90 00 [08:07:31]wFMCommunicate OK [08:07:31]SAM_PROTO_SignData done [08:07:31]FM_MakeSignedData done [08:07:31]CreateOFDProtocolMessage [08:07:31]wFMCommunicate request_size=4 [08:07:31]MH_SAM_APDU [08:07:31]CAPDU: 80 11 00 00 [08:07:31]Write to MH i2c: E2 08 00 6B 2A 80 11 00 00 00 00 00 00 0F [08:07:31]Write i2c OK [08:07:31]MH_I2C_Read... [08:07:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:07:31]Read from MH i2c: E2 [08:07:31]MH_I2C_Read... [08:07:31]Read from MH i2c: E2 17 00 [08:07:31]MH_I2C_Read... [08:07:31]Read from MH i2c: E2 17 00 6B 2A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 62 [08:07:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [08:07:31]wFMCommunicate OK [08:07:31]CreateOFDProtocolMessage done [08:07:31]OFDSenderStorePacket 4149 [08:07:31]StoreOFDPacket docnum=4149 [08:07:31]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 2A 01 00 00 CC 62 22 01 28 47 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 32 34 39 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 53 45 4E 53 45 20 48 69 6D 61 6C 61 79 61 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 35 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 CF 1C 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 35 10 00 00 35 04 06 00 1B 58 AF B8 C0 F2 F5 9C 28 26 7F E3 05 E8 [08:07:31]CheckFolder [08:07:31]dirname=/storage/ofd_packets [08:07:31]CheckFolder done [08:07:31]ProducePacketName [08:07:31]name=ofd_packets/00004149 [08:07:31]NVStorageSaveData ofd_packets/00004149 [08:07:31]File name is /storage/ofd_packets/00004149 [08:07:31]Write 328 bytes [08:07:31]NVStorageSaveData done [08:07:31]OFDSenderStorePacket done [08:07:31]KKMCreateOFDPacket done [08:07:31]NVStorageSaveData kkm_last_timestamp [08:07:31]File name is /storage/kkm_last_timestamp [08:07:31]Write 4 bytes [08:07:31]NVStorageSaveData done [08:07:31]ExternCall_PrintAddStr [08:07:31]wPrintStart [08:07:31]Write to MH i2c: 01 00 00 6C 2A 96 [08:07:31]Write i2c OK [08:07:31]MH_I2C_Read... [08:07:31]Read from MH i2c: 01 [08:07:31]MH_I2C_Read... [08:07:31]Read from MH i2c: 01 07 00 [08:07:31]MH_I2C_Read... [08:07:31]Read from MH i2c: 01 07 00 6C 2A 00 00 00 00 00 FF 0F AB [08:07:31]RasterBufferAndPrint [08:07:31]line Счет N : (3)4402 [08:07:31]line ИНН: 02508201610067 [08:07:31]line Контрольно-Кассовый Чек [08:07:31]line ПРОДАЖА [08:07:31]line Товар: 4640030092499 [08:07:31]line Сигареты ESSE SENSE Himalaya [08:07:31]line 1.000 * 138.00 [08:07:31]line = 138.00 [08:07:31]line НДС 12% НСП 1% [08:07:31]line > о реализуемом товаре [08:07:31]line ИТОГО: 138.00 [08:07:31]line НСП 1% : 1.22 [08:07:31]line НДС 12% : 14.65 [08:07:31]line Наличными: 138.00 [08:07:31]line Безнал.: 0.00 [08:07:31]line Место: АЗС № 116 "Партнер Нефть" [08:07:31]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [08:07:31]line СНО: Общий режим [08:07:31]line Чек 7 05.06.2024 08:07 [08:07:31]line Смена: 84 ФФД: 1.0 [08:07:31]line ЗНМ: 0300000233 [08:07:31]line РНМ: 0000000000145775 [08:07:31]line Версия ККМ: v1.0 [08:07:31]line ФМ: 0000000000959360 [08:07:31]line ФД: 4149 [08:07:31]line ФПД: 30067719192818 [08:07:32]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T080743&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4149&fm=30067719192818&tin=02508201610067®Number=0000000000145775&sum=13800 [08:07:32]line 0 [08:07:32]OFD Sender: Processing packet 4149 [packets to send 2, broken 1] [08:07:32]ProducePacketName [08:07:32]name=ofd_packets/00004149 [08:07:32]OFD Sender: To server: pG, [08:07:32]CommunicateWithHost lk.salyk.kg:30040 [08:07:32]ConnectInit lk.salyk.kg [08:07:32]written 0, free lines is 4095 [08:07:32]Connected sock=10 [08:07:32]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 2A 01 00 00 CC 62 22 01 28 47 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 32 34 39 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 53 45 4E 53 45 20 48 69 6D 61 6C 61 79 61 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 35 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 CF 1C 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 35 10 00 00 35 04 06 00 1B 58 AF B8 C0 F2 F5 9C 28 26 7F E3 05 E8 [08:07:32]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 6F 56 47 00 94 C0 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 35 10 00 00 F4 03 04 00 CD C8 5F 66 B6 04 01 00 00 3E 3F 71 C8 82 09 5F D7 [08:07:32]CommunicateWithHost err = 0 [08:07:32]CheckOFDResponse [08:07:32]1017 (14) - 77093643461234 [08:07:32]1041 (16) - 0000000000959360 [08:07:32]1040 (4) - 4149 [08:07:32]1012 (4) - 05.06.2024 02:09 [08:07:32]1206 (1) - 0 [08:07:32]OFD Sender: Remove packet 4149 [08:07:32]ProducePacketName [08:07:32]name=ofd_packets/00004149 [08:07:32]NVStorageDeleteData [08:07:32]Write to MH i2c: 01 00 00 95 2A BF [08:07:32]Write i2c OK [08:07:32]MH_I2C_Read... [08:07:32]Read from MH i2c: 01 [08:07:32]MH_I2C_Read... [08:07:32]Read from MH i2c: 01 07 00 [08:07:32]MH_I2C_Read... [08:07:32]Read from MH i2c: 01 07 00 95 2A 00 00 00 00 00 9F 0C 71 [08:07:32]RasterBufferAndPrint [08:07:32]line [08:07:32]line [08:07:32]line [08:07:32]line [08:07:32]line [08:07:32]written 0, free lines is 3236 [08:07:32]MH_Cut [08:07:32]Write to MH i2c: D1 01 00 9C 2A 01 98 [08:07:32]Write i2c OK [08:07:32]MH_I2C_Read... [08:07:32]Read from MH i2c: D1 [08:07:32]MH_I2C_Read... [08:07:32]Read from MH i2c: D1 01 00 [08:07:32]MH_I2C_Read... [08:07:32]Read from MH i2c: D1 01 00 9C 2A 00 97 [08:07:32]Write to MH i2c: 01 00 00 9D 2A C7 [08:07:32]Write i2c OK [08:07:32]MH_I2C_Read... [08:07:32]OFD Sender: No OFD packet to send [08:07:33]*** Cut start [08:07:33]*** Partial cut [08:07:33]*** CUTSNS_PIN = 1 [08:07:33]*** CUTSNS_PIN = 0 [08:07:33]*** Brake cut motor [08:07:34]Read from MH i2c: 01 [08:07:34]MH_I2C_Read... [08:07:34]*** Stop cut motor [08:07:34]*** Cut end [08:07:34]Read from MH i2c: 01 07 00 [08:07:34]MH_I2C_Read... [08:07:34]Read from MH i2c: 01 07 00 9D 2A 00 00 00 00 00 FF 0F DC [08:07:34]process_action close_receipt done [08:07:34]requested_data is exist [08:07:34]produce_requested_data [08:07:34]requested_item fm.sn is exist - process it [08:07:34]wFMCommunicate request_size=4 [08:07:34]MH_SAM_APDU [08:07:34]CAPDU: 80 11 00 00 [08:07:34]Write to MH i2c: E2 08 00 9E 2A 80 11 00 00 00 00 00 00 42 [08:07:34]Write i2c OK [08:07:34]MH_I2C_Read... [08:07:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:07:34]Read from MH i2c: E2 [08:07:34]MH_I2C_Read... [08:07:34]Read from MH i2c: E2 17 00 [08:07:34]MH_I2C_Read... [08:07:34]Read from MH i2c: E2 17 00 9E 2A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 95 [08:07:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [08:07:34]wFMCommunicate OK [08:07:34]requested_item fd.num is exist - process it [08:07:34]SAM_PROTO_GetFieldsCounters [08:07:34]wFMCommunicate request_size=4 [08:07:34]MH_SAM_APDU [08:07:34]CAPDU: 80 13 00 00 [08:07:34]Write to MH i2c: E2 08 00 9F 2A 80 13 00 00 00 00 00 00 45 [08:07:34]Write i2c OK [08:07:34]MH_I2C_Read... [08:07:34]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:07:34]Read from MH i2c: E2 [08:07:34]MH_I2C_Read... [08:07:34]Read from MH i2c: E2 62 00 [08:07:34]MH_I2C_Read... [08:07:34]Read from MH i2c: E2 62 00 9F 2A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 35 10 00 00 0E 04 04 00 54 00 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 18 [08:07:34]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 35 10 00 00 0E 04 04 00 54 00 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:07:34]wFMCommunicate OK [08:07:34]SAM_PROTO_GetFieldsCounters done [08:07:34]requested_item shift.num is exist - process it [08:07:34]requested_item shift.opened is exist - process it [08:07:34]req_shift_opened [08:07:34]FM_GetShiftState [08:07:34]SAM_PROTO_GetShiftState [08:07:34]wFMCommunicate request_size=4 [08:07:34]MH_SAM_APDU [08:07:34]CAPDU: 80 13 01 00 [08:07:34]Write to MH i2c: E2 08 00 A0 2A 80 13 01 00 00 00 00 00 47 [08:07:34]Write i2c OK [08:07:34]MH_I2C_Read... [08:07:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:07:34]Read from MH i2c: E2 [08:07:34]MH_I2C_Read... [08:07:34]Read from MH i2c: E2 0E 00 [08:07:34]MH_I2C_Read... [08:07:34]Read from MH i2c: E2 0E 00 A0 2A 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 E8 [08:07:34]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [08:07:34]wFMCommunicate OK [08:07:34]SAM_PROTO_GetShiftState done [08:07:34]FM_GetShiftState done [08:07:34]req_shift_opened done [08:07:34]requested_item shift.open_date is exist - process it [08:07:34]req_shift_open_date [08:07:34]req_shift_open_date done [08:07:34]produce_requested_data done [08:07:34]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4149,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765} [08:07:34]process_action_free close_receipt [08:07:34]json_value_free [08:07:34]json_value_free done [08:07:34]process_json_proto returns [08:07:34]Send response to host [08:07:34]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4149,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765}}} [08:07:34]free response buf [08:07:34]execute_script done [08:07:34]execute_script returns [08:07:34]free content buf [08:07:34]Sock 8.Close socket [08:07:34]Sock 8.Thread stoped [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:03]OFD Sender: No OFD packet to send [08:10:08]OFD Sender: No OFD packet to send [08:10:13]OFD Sender: No OFD packet to send [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:53]OFD Sender: No OFD packet to send [08:13:58]OFD Sender: No OFD packet to send [08:14:03]OFD Sender: No OFD packet to send [08:14:08]OFD Sender: No OFD packet to send [08:14:13]OFD Sender: No OFD packet to send [08:14:18]OFD Sender: No OFD packet to send [08:14:23]OFD Sender: No OFD packet to send [08:14:28]OFD Sender: No OFD packet to send [08:14:33]OFD Sender: No OFD packet to send [08:14:38]OFD Sender: No OFD packet to send [08:14:43]OFD Sender: No OFD packet to send [08:14:48]OFD Sender: No OFD packet to send [08:14:53]OFD Sender: No OFD packet to send [08:14:58]OFD Sender: No OFD packet to send [08:15:03]OFD Sender: No OFD packet to send [08:15:08]OFD Sender: No OFD packet to send [08:15:13]OFD Sender: No OFD packet to send [08:15:18]OFD Sender: No OFD packet to send [08:15:23]OFD Sender: No OFD packet to send [08:15:28]OFD Sender: No OFD packet to send [08:15:33]OFD Sender: No OFD packet to send [08:15:38]OFD Sender: No OFD packet to send [08:15:43]OFD Sender: No OFD packet to send [08:15:48]OFD Sender: No OFD packet to send [08:15:53]OFD Sender: No OFD packet to send [08:15:58]OFD Sender: No OFD packet to send [08:16:03]OFD Sender: No OFD packet to send [08:16:08]OFD Sender: No OFD packet to send [08:16:13]OFD Sender: No OFD packet to send [08:16:18]OFD Sender: No OFD packet to send [08:16:23]OFD Sender: No OFD packet to send [08:16:28]OFD Sender: No OFD packet to send [08:16:33]OFD Sender: No OFD packet to send [08:16:38]OFD Sender: No OFD packet to send [08:16:43]OFD Sender: No OFD packet to send [08:16:48]OFD Sender: No OFD packet to send [08:16:53]OFD Sender: No OFD packet to send [08:16:58]OFD Sender: No OFD packet to send [08:17:03]OFD Sender: No OFD packet to send [08:17:08]OFD Sender: No OFD packet to send [08:17:12]accept exits with 9 [08:17:12]New connection [08:17:12]New thread 3067227492 created [08:17:12]Thread 3067370852 joined [08:17:12]Waiting for new connection... [08:17:12] Sock 9.Parse request [08:17:12]Sock 9.Check first char [08:17:12]Sock 9.First char is OK [08:17:12]request: POST /json_proto HTTP/1.0 [08:17:12]Method: POST [08:17:12]URL: /json_proto [08:17:12]Method is POST - this is cgi request [08:17:12]url: /json_proto [08:17:12]query_string will be loaded in cgi processing [08:17:12]execute_cgi json_proto POST (null) [08:17:12]execute_cgi path=json_proto method=POST [08:17:12]POST find Content-Length [08:17:12]Host: 172.17.56.68:8080 [08:17:12]Content-Length: 808 [08:17:12]Content-Type: application/json [08:17:12] [08:17:12]POST finish read [08:17:12]Found Content-Length = 808 [08:17:12]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4403", "tax_sys" : 0, "items" : [ { "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:17:12]execute_script... [08:17: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)4403", "tax_sys" : 0, "items" : [ { "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:17:12]POST & json_proto [08:17:12]process_json_proto [08:17:12]json parsed OK: [08:17:12]protocol is kg_v1.0 [08:17:12]action value=close_receipt [08:17:12]process_action close_receipt [08:17:12]cmd_close_receipt [08:17:12]MH_GetDate [08:17:12]Write to MH i2c: F0 00 00 A1 2A BA [08:17:12]Write i2c OK [08:17:12]MH_I2C_Read... [08:17:12]Read from MH i2c: F0 [08:17:12]MH_I2C_Read... [08:17:12]Read from MH i2c: F0 09 00 [08:17:12]MH_I2C_Read... [08:17:12]Read from MH i2c: F0 09 00 A1 2A 00 15 1F 60 66 42 69 5C 66 2A [08:17:12]GetLastDocTimeStamp 1717574863 [08:17:12]current date 1717575445 [08:17:12]FM_GetShiftState [08:17:12]SAM_PROTO_GetShiftState [08:17:12]wFMCommunicate request_size=4 [08:17:12]MH_SAM_APDU [08:17:12]CAPDU: 80 13 01 00 [08:17:12]Write to MH i2c: E2 08 00 A2 2A 80 13 01 00 00 00 00 00 49 [08:17:12]Write i2c OK [08:17:12]MH_I2C_Read... [08:17:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:17:12]Read from MH i2c: E2 [08:17:12]MH_I2C_Read... [08:17:12]Read from MH i2c: E2 0E 00 [08:17:12]MH_I2C_Read... [08:17:12]Read from MH i2c: E2 0E 00 A2 2A 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 EA [08:17:12]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [08:17:12]wFMCommunicate OK [08:17:12]SAM_PROTO_GetShiftState done [08:17:12]FM_GetShiftState done [08:17:12]opened in 1717545765 [08:17:12]opened+sec_in_day 1717632165 [08:17:12]quantity*price = 11500 [08:17:12]sum+1 = 11501 [08:17:12]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 115.00 НСП 1% : 1.02 НДС 12% : 12.21 Наличными: 0.00 Безнал.: 115.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 8 05.06.2024 08:17 Смена: 84 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 Платежная система: О! деньги ФМ: 0000000000959360 ФД: 4150 ФПД: 200570788162180 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T081725&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4150&fm=200570788162180&tin=02508201610067®Number=0000000000145775&sum=11500 0 [08:17:13]StoreToDocumentArchive [08:17:13]shift 84 fd 4150 [08:17:13]save to /storage/0084/doc_00004150 [08:17:13]save last doc name /storage/0084/doc_00004150 to /storage/kkm_last_doc_name [08:17:13]save OK [08:17:13]Clear old archive folders... [08:17:13]ProcessDocumentItem done err = 0, tmpTLVsize=280 [08:17:13]tlvbuf is 007D2170 [08:17:13]SAM_PROTO_ClearQueue [08:17:13]wFMCommunicate request_size=4 [08:17:13]MH_SAM_APDU [08:17:13]CAPDU: 80 09 00 00 [08:17:13]Write to MH i2c: E2 08 00 AF 2A 80 09 00 00 00 00 00 00 4B [08:17:13]Write i2c OK [08:17:13]MH_I2C_Read... [08:17:13]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:17:13]Read from MH i2c: E2 [08:17:13]MH_I2C_Read... [08:17:13]Read from MH i2c: E2 03 00 [08:17:13]MH_I2C_Read... [08:17:13]Read from MH i2c: E2 03 00 AF 2A 00 90 00 4D [08:17:13]RAPDU: 90 00 [08:17:13]wFMCommunicate OK [08:17:13]SAM_PROTO_ClearQueue done [08:17:13]KKMCreateOFDPacket [08:17:13]OFDProtocolAddRootSTLVToBuf [08:17:13]FM_MakeSignedData [08:17:13]FM_MakeSignedData [08:17:13]SAM_PROTO_SignData [08:17:13]wFMCommunicate request_size=4 [08:17:13]MH_SAM_APDU [08:17:13]CAPDU: 80 0D 01 02 [08:17:13]Write to MH i2c: E2 08 00 B0 2A 80 0D 01 02 00 00 00 00 53 [08:17:13]Write i2c OK [08:17:13]MH_I2C_Read... [08:17:13]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:17:13]Read from MH i2c: E2 [08:17:13]MH_I2C_Read... [08:17:13]Read from MH i2c: E2 03 00 [08:17:13]MH_I2C_Read... [08:17:13]Read from MH i2c: E2 03 00 B0 2A 00 90 00 4E [08:17:13]RAPDU: 90 00 [08:17:13]wFMCommunicate OK [08:17:13]wFMCommunicate request_size=255 [08:17:13]MH_SAM_APDU [08:17:13]CAPDU: 80 0D 02 02 FA 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 EC 2C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 15 1F 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 [08:17:13]Write to MH i2c: E2 02 01 B1 2A 80 0D 02 02 FA 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 EC 2C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 15 1F 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 00 00 ED [08:17:13]Write i2c OK [08:17:13]MH_I2C_Read... [08:17:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:17:14]Read from MH i2c: E2 [08:17:14]MH_I2C_Read... [08:17:14]Read from MH i2c: E2 03 00 [08:17:14]MH_I2C_Read... [08:17:14]Read from MH i2c: E2 03 00 B1 2A 00 90 00 4F [08:17:14]RAPDU: 90 00 [08:17:14]wFMCommunicate OK [08:17:14]wFMCommunicate request_size=39 [08:17:14]MH_SAM_APDU [08:17:14]CAPDU: 80 0D 02 02 22 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 36 10 00 00 35 04 06 00 B6 6B 06 94 AA 84 [08:17:14]Write to MH i2c: E2 2A 00 B2 2A 80 0D 02 02 22 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 36 10 00 00 35 04 06 00 B6 6B 06 94 AA 84 00 00 40 [08:17:14]Write i2c OK [08:17:14]MH_I2C_Read... [08:17:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:17:14]Read from MH i2c: E2 [08:17:14]MH_I2C_Read... [08:17:14]Read from MH i2c: E2 03 00 [08:17:14]MH_I2C_Read... [08:17:14]Read from MH i2c: E2 03 00 B2 2A 00 90 00 50 [08:17:14]RAPDU: 90 00 [08:17:14]wFMCommunicate OK [08:17:14]wFMCommunicate request_size=4 [08:17:14]MH_SAM_APDU [08:17:14]CAPDU: 80 0D 03 02 [08:17:14]Write to MH i2c: E2 08 00 B3 2A 80 0D 03 02 00 00 00 00 58 [08:17:14]Write i2c OK [08:17:14]MH_I2C_Read... [08:17:14]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:17:14]Read from MH i2c: E2 [08:17:14]MH_I2C_Read... [08:17:14]Read from MH i2c: E2 0B 00 [08:17:14]MH_I2C_Read... [08:17:14]Read from MH i2c: E2 0B 00 B3 2A 00 A1 39 C9 5F E3 55 69 3F 90 00 3B [08:17:14]RAPDU: A1 39 C9 5F E3 55 69 3F 90 00 [08:17:14]wFMCommunicate OK [08:17:14]SAM_PROTO_SignData done [08:17:14]FM_MakeSignedData done [08:17:14]CreateOFDProtocolMessage [08:17:14]wFMCommunicate request_size=4 [08:17:14]MH_SAM_APDU [08:17:14]CAPDU: 80 11 00 00 [08:17:14]Write to MH i2c: E2 08 00 B4 2A 80 11 00 00 00 00 00 00 58 [08:17:14]Write i2c OK [08:17:14]MH_I2C_Read... [08:17:14]Read from MH i2c: E2 [08:17:14]MH_I2C_Read... [08:17:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:17:14]Read from MH i2c: E2 17 00 [08:17:14]MH_I2C_Read... [08:17:14]Read from MH i2c: E2 17 00 B4 2A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 AB [08:17:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [08:17:14]wFMCommunicate OK [08:17:14]CreateOFDProtocolMessage done [08:17:14]OFDSenderStorePacket 4150 [08:17:14]StoreOFDPacket docnum=4150 [08:17:14]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 2C 01 00 00 9D E7 24 01 15 39 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 EC 2C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 15 1F 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 36 10 00 00 35 04 06 00 B6 6B 06 94 AA 84 A1 39 C9 5F E3 55 69 3F [08:17:14]CheckFolder [08:17:14]dirname=/storage/ofd_packets [08:17:14]CheckFolder done [08:17:14]ProducePacketName [08:17:14]name=ofd_packets/00004150 [08:17:14]NVStorageSaveData ofd_packets/00004150 [08:17:14]File name is /storage/ofd_packets/00004150 [08:17:14]Write 330 bytes [08:17:14]NVStorageSaveData done [08:17:14]OFDSenderStorePacket done [08:17:14]KKMCreateOFDPacket done [08:17:14]NVStorageSaveData kkm_last_timestamp [08:17:14]File name is /storage/kkm_last_timestamp [08:17:14]Write 4 bytes [08:17:14]NVStorageSaveData done [08:17:14]ExternCall_PrintAddStr [08:17:14]wPrintStart [08:17:14]Write to MH i2c: 01 00 00 B5 2A DF [08:17:14]Write i2c OK [08:17:14]MH_I2C_Read... [08:17:14]Read from MH i2c: 01 [08:17:14]MH_I2C_Read... [08:17:14]Read from MH i2c: 01 07 00 [08:17:14]MH_I2C_Read... [08:17:14]Read from MH i2c: 01 07 00 B5 2A 00 00 00 00 00 FF 0F F4 [08:17:14]RasterBufferAndPrint [08:17:14]line Счет N : (3)4403 [08:17:14]line ИНН: 02508201610067 [08:17:14]line Контрольно-Кассовый Чек [08:17:14]line ПРОДАЖА [08:17:14]line Товар: 2000036210013 [08:17:14]line Кофе Капучино (GABB TRADE) [08:17:14]line 1.000 * 115.00 [08:17:14]line = 115.00 [08:17:14]line НДС 12% НСП 1% [08:17:14]line > о реализуемом товаре [08:17:14]line ИТОГО: 115.00 [08:17:14]line НСП 1% : 1.02 [08:17:14]line НДС 12% : 12.21 [08:17:14]line Наличными: 0.00 [08:17:14]line Безнал.: 115.00 [08:17:14]line Место: АЗС № 116 "Партнер Нефть" [08:17:14]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [08:17:14]line СНО: Общий режим [08:17:14]line Чек 8 05.06.2024 08:17 [08:17:14]line Смена: 84 ФФД: 1.0 [08:17:14]line ЗНМ: 0300000233 [08:17:14]line РНМ: 0000000000145775 [08:17:14]line Версия ККМ: v1.0 [08:17:14]line Платежная система: О! деньги [08:17:14]line ФМ: 0000000000959360 [08:17:14]line ФД: 4150 [08:17:14]line ФПД: 200570788162180 [08:17:14]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T081725&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4150&fm=200570788162180&tin=02508201610067®Number=0000000000145775&sum=11500 [08:17:14]line 0 [08:17:14]written 0, free lines is 4095 [08:17:14]OFD Sender: Processing packet 4150 [packets to send 2, broken 1] [08:17:14]ProducePacketName [08:17:14]name=ofd_packets/00004150 [08:17:14]OFD Sender: To server: pG, [08:17:14]CommunicateWithHost lk.salyk.kg:30040 [08:17:14]ConnectInit lk.salyk.kg [08:17:14]Connected sock=10 [08:17:14]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 2C 01 00 00 9D E7 24 01 15 39 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 EC 2C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 15 1F 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 36 10 00 00 35 04 06 00 B6 6B 06 94 AA 84 A1 39 C9 5F E3 55 69 3F [08:17:14]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 42 12 47 00 10 6F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 36 10 00 00 F4 03 04 00 13 CB 5F 66 B6 04 01 00 00 70 04 35 0A 9D 63 8B DA [08:17:14]CommunicateWithHost err = 0 [08:17:14]CheckOFDResponse [08:17:14]1017 (14) - 77093643461234 [08:17:14]1041 (16) - 0000000000959360 [08:17:14]1040 (4) - 4150 [08:17:14]1012 (4) - 05.06.2024 02:18 [08:17:14]1206 (1) - 0 [08:17:14]OFD Sender: Remove packet 4150 [08:17:14]ProducePacketName [08:17:14]name=ofd_packets/00004150 [08:17:14]NVStorageDeleteData [08:17:14]Write to MH i2c: 01 00 00 DF 2A 09 [08:17:14]Write i2c OK [08:17:14]MH_I2C_Read... [08:17:14]Read from MH i2c: 01 [08:17:14]MH_I2C_Read... [08:17:14]Read from MH i2c: 01 07 00 [08:17:14]MH_I2C_Read... [08:17:14]Read from MH i2c: 01 07 00 DF 2A 00 00 00 00 00 AC 0C C8 [08:17:14]RasterBufferAndPrint [08:17:14]line [08:17:14]line [08:17:14]line [08:17:14]line [08:17:14]line [08:17:14]written 0, free lines is 3251 [08:17:14]MH_Cut [08:17:14]Write to MH i2c: D1 01 00 E6 2A 01 E2 [08:17:14]Write i2c OK [08:17:14]MH_I2C_Read... [08:17:14]Read from MH i2c: D1 [08:17:14]MH_I2C_Read... [08:17:14]Read from MH i2c: D1 01 00 [08:17:14]MH_I2C_Read... [08:17:14]Read from MH i2c: D1 01 00 E6 2A 00 E1 [08:17:14]Write to MH i2c: 01 00 00 E7 2A 11 [08:17:14]Write i2c OK [08:17:14]MH_I2C_Read... [08:17:15]OFD Sender: No OFD packet to send [08:17:15]*** Cut start [08:17:15]*** Partial cut [08:17:15]*** CUTSNS_PIN = 1 [08:17:15]*** CUTSNS_PIN = 0 [08:17:15]*** Brake cut motor [08:17:16]Read from MH i2c: 01 [08:17:16]MH_I2C_Read... [08:17:16]*** Stop cut motor [08:17:16]*** Cut end [08:17:16]Read from MH i2c: 01 07 00 [08:17:16]MH_I2C_Read... [08:17:16]Read from MH i2c: 01 07 00 E7 2A 00 00 00 00 00 FF 0F 26 [08:17:16]process_action close_receipt done [08:17:16]requested_data is exist [08:17:16]produce_requested_data [08:17:16]requested_item fm.sn is exist - process it [08:17:16]wFMCommunicate request_size=4 [08:17:16]MH_SAM_APDU [08:17:16]CAPDU: 80 11 00 00 [08:17:16]Write to MH i2c: E2 08 00 E8 2A 80 11 00 00 00 00 00 00 8C [08:17:16]Write i2c OK [08:17:16]MH_I2C_Read... [08:17:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:17:16]Read from MH i2c: E2 [08:17:16]MH_I2C_Read... [08:17:16]Read from MH i2c: E2 17 00 [08:17:16]MH_I2C_Read... [08:17:16]Read from MH i2c: E2 17 00 E8 2A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 DF [08:17:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [08:17:16]wFMCommunicate OK [08:17:16]requested_item fd.num is exist - process it [08:17:16]SAM_PROTO_GetFieldsCounters [08:17:16]wFMCommunicate request_size=4 [08:17:16]MH_SAM_APDU [08:17:16]CAPDU: 80 13 00 00 [08:17:16]Write to MH i2c: E2 08 00 E9 2A 80 13 00 00 00 00 00 00 8F [08:17:16]Write i2c OK [08:17:16]MH_I2C_Read... [08:17:16]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:17:16]Read from MH i2c: E2 [08:17:16]MH_I2C_Read... [08:17:16]Read from MH i2c: E2 62 00 [08:17:16]MH_I2C_Read... [08:17:16]Read from MH i2c: E2 62 00 E9 2A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 36 10 00 00 0E 04 04 00 54 00 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 66 [08:17:16]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 36 10 00 00 0E 04 04 00 54 00 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 [08:17:16]wFMCommunicate OK [08:17:16]SAM_PROTO_GetFieldsCounters done [08:17:16]requested_item shift.num is exist - process it [08:17:16]requested_item shift.opened is exist - process it [08:17:16]req_shift_opened [08:17:16]FM_GetShiftState [08:17:16]SAM_PROTO_GetShiftState [08:17:16]wFMCommunicate request_size=4 [08:17:16]MH_SAM_APDU [08:17:16]CAPDU: 80 13 01 00 [08:17:16]Write to MH i2c: E2 08 00 EA 2A 80 13 01 00 00 00 00 00 91 [08:17:16]Write i2c OK [08:17:16]MH_I2C_Read... [08:17:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:17:16]Read from MH i2c: E2 [08:17:16]MH_I2C_Read... [08:17:16]Read from MH i2c: E2 0E 00 [08:17:16]MH_I2C_Read... [08:17:16]Read from MH i2c: E2 0E 00 EA 2A 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 32 [08:17:16]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [08:17:16]wFMCommunicate OK [08:17:16]SAM_PROTO_GetShiftState done [08:17:16]FM_GetShiftState done [08:17:16]req_shift_opened done [08:17:16]requested_item shift.open_date is exist - process it [08:17:16]req_shift_open_date [08:17:16]req_shift_open_date done [08:17:16]produce_requested_data done [08:17:16]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4150,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765} [08:17:16]process_action_free close_receipt [08:17:16]json_value_free [08:17:16]json_value_free done [08:17:16]process_json_proto returns [08:17:16]Send response to host [08:17:16]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4150,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765}}} [08:17:16]free response buf [08:17:16]execute_script done [08:17:16]execute_script returns [08:17:16]free content buf [08:17:16]Sock 9.Close socket [08:17:16]Sock 9.Thread stoped [08:17:20]OFD Sender: No OFD packet to send [08:17:25]OFD Sender: No OFD packet to send [08:17:30]OFD Sender: No OFD packet to send [08:17:35]OFD Sender: No OFD packet to send [08:17:40]OFD Sender: No OFD packet to send [08:17:45]OFD Sender: No OFD packet to send [08:17:50]OFD Sender: No OFD packet to send [08:17:55]OFD Sender: No OFD packet to send [08:18:00]OFD Sender: No OFD packet to send [08:18:05]OFD Sender: No OFD packet to send [08:18:10]OFD Sender: No OFD packet to send [08:18:15]OFD Sender: No OFD packet to send [08:18:20]OFD Sender: No OFD packet to send [08:18:25]OFD Sender: No OFD packet to send [08:18:30]OFD Sender: No OFD packet to send [08:18:35]OFD Sender: No OFD packet to send [08:18:40]OFD Sender: No OFD packet to send [08:18:45]OFD Sender: No OFD packet to send [08:18:50]OFD Sender: No OFD packet to send [08:18:55]OFD Sender: No OFD packet to send [08:19:00]OFD Sender: No OFD packet to send [08:19:05]OFD Sender: No OFD packet to send [08:19:10]OFD Sender: No OFD packet to send [08:19:15]OFD Sender: No OFD packet to send [08:19:20]OFD Sender: No OFD packet to send [08:19:25]OFD Sender: No OFD packet to send [08:19:30]OFD Sender: No OFD packet to send [08:19:35]OFD Sender: No OFD packet to send [08:19:40]OFD Sender: No OFD packet to send [08:19:45]OFD Sender: No OFD packet to send [08:19:50]OFD Sender: No OFD packet to send [08:19:55]OFD Sender: No OFD packet to send [08:20:00]OFD Sender: No OFD packet to send [08:20:05]OFD Sender: No OFD packet to send [08:20:10]OFD Sender: No OFD packet to send [08:20:15]OFD Sender: No OFD packet to send [08:20:20]OFD Sender: No OFD packet to send [08:20:25]OFD Sender: No OFD packet to send [08:20:30]OFD Sender: No OFD packet to send [08:20:35]OFD Sender: No OFD packet to send [08:20:40]OFD Sender: No OFD packet to send [08:20:45]OFD Sender: No OFD packet to send [08:20:50]OFD Sender: No OFD packet to send [08:20:55]OFD Sender: No OFD packet to send [08:21:00]OFD Sender: No OFD packet to send [08:21:05]OFD Sender: No OFD packet to send [08:21:10]OFD Sender: No OFD packet to send [08:21:15]OFD Sender: No OFD packet to send [08:21:20]OFD Sender: No OFD packet to send [08:21:25]OFD Sender: No OFD packet to send [08:21:30]OFD Sender: No OFD packet to send [08:21:35]OFD Sender: No OFD packet to send [08:21:40]OFD Sender: No OFD packet to send [08:21:45]OFD Sender: No OFD packet to send [08:21:50]OFD Sender: No OFD packet to send [08:21:55]OFD Sender: No OFD packet to send [08:22:00]OFD Sender: No OFD packet to send [08:22:05]OFD Sender: No OFD packet to send [08:22:10]OFD Sender: No OFD packet to send [08:22:15]OFD Sender: No OFD packet to send [08:22:20]OFD Sender: No OFD packet to send [08:22:25]OFD Sender: No OFD packet to send [08:22:30]OFD Sender: No OFD packet to send [08:22:35]OFD Sender: No OFD packet to send [08:22:40]OFD Sender: No OFD packet to send [08:22:45]OFD Sender: No OFD packet to send [08:22:50]OFD Sender: No OFD packet to send [08:22:55]OFD Sender: No OFD packet to send [08:23:00]OFD Sender: No OFD packet to send [08:23:05]OFD Sender: No OFD packet to send [08:23:10]OFD Sender: No OFD packet to send [08:23:15]OFD Sender: No OFD packet to send [08:23:20]OFD Sender: No OFD packet to send [08:23:25]OFD Sender: No OFD packet to send [08:23:30]OFD Sender: No OFD packet to send [08:23:35]OFD Sender: No OFD packet to send [08:23:40]OFD Sender: No OFD packet to send [08:23:45]OFD Sender: No OFD packet to send [08:23:50]OFD Sender: No OFD packet to send [08:23:55]OFD Sender: No OFD packet to send [08:24:00]OFD Sender: No OFD packet to send [08:24:05]OFD Sender: No OFD packet to send [08:24:10]OFD Sender: No OFD packet to send [08:24:15]OFD Sender: No OFD packet to send [08:24:20]OFD Sender: No OFD packet to send [08:24:25]OFD Sender: No OFD packet to send [08:24:30]OFD Sender: No OFD packet to send [08:24:35]OFD Sender: No OFD packet to send [08:24:40]OFD Sender: No OFD packet to send [08:24:45]OFD Sender: No OFD packet to send [08:24:50]OFD Sender: No OFD packet to send [08:24:55]OFD Sender: No OFD packet to send [08:25:00]OFD Sender: No OFD packet to send [08:25:05]OFD Sender: No OFD packet to send [08:25:10]OFD Sender: No OFD packet to send [08:25:15]OFD Sender: No OFD packet to send [08:25:20]OFD Sender: No OFD packet to send [08:25:25]OFD Sender: No OFD packet to send [08:25:30]OFD Sender: No OFD packet to send [08:25:35]OFD Sender: No OFD packet to send [08:25:40]OFD Sender: No OFD packet to send [08:25:45]OFD Sender: No OFD packet to send [08:25:50]OFD Sender: No OFD packet to send [08:25:55]OFD Sender: No OFD packet to send [08:26:00]OFD Sender: No OFD packet to send [08:26:05]OFD Sender: No OFD packet to send [08:26:10]OFD Sender: No OFD packet to send [08:26:15]OFD Sender: No OFD packet to send [08:26:20]OFD Sender: No OFD packet to send [08:26:25]OFD Sender: No OFD packet to send [08:26:30]OFD Sender: No OFD packet to send [08:26:35]OFD Sender: No OFD packet to send [08:26:40]OFD Sender: No OFD packet to send [08:26:45]OFD Sender: No OFD packet to send [08:26:50]OFD Sender: No OFD packet to send [08:26:55]OFD Sender: No OFD packet to send [08:27:00]OFD Sender: No OFD packet to send [08:27:05]OFD Sender: No OFD packet to send [08:27:10]OFD Sender: No OFD packet to send [08:27:15]OFD Sender: No OFD packet to send [08:27:20]OFD Sender: No OFD packet to send [08:27:25]OFD Sender: No OFD packet to send [08:27:30]OFD Sender: No OFD packet to send [08:27:35]OFD Sender: No OFD packet to send [08:27:40]OFD Sender: No OFD packet to send [08:27:45]OFD Sender: No OFD packet to send [08:27:50]OFD Sender: No OFD packet to send [08:27:55]OFD Sender: No OFD packet to send [08:28:00]OFD Sender: No OFD packet to send [08:28:05]OFD Sender: No OFD packet to send [08:28:10]OFD Sender: No OFD packet to send [08:28:15]OFD Sender: No OFD packet to send [08:28:20]OFD Sender: No OFD packet to send [08:28:25]OFD Sender: No OFD packet to send [08:28:30]OFD Sender: No OFD packet to send [08:28:35]OFD Sender: No OFD packet to send [08:28:40]OFD Sender: No OFD packet to send [08:28:45]OFD Sender: No OFD packet to send [08:28:50]OFD Sender: No OFD packet to send [08:28:55]OFD Sender: No OFD packet to send [08:29:00]OFD Sender: No OFD packet to send [08:29:05]OFD Sender: No OFD packet to send [08:29:10]OFD Sender: No OFD packet to send [08:29:15]OFD Sender: No OFD packet to send [08:29:20]OFD Sender: No OFD packet to send [08:29:25]OFD Sender: No OFD packet to send [08:29:30]OFD Sender: No OFD packet to send [08:29:35]OFD Sender: No OFD packet to send [08:29:40]OFD Sender: No OFD packet to send [08:29:45]OFD Sender: No OFD packet to send [08:29:50]OFD Sender: No OFD packet to send [08:29:55]OFD Sender: No OFD packet to send [08:30:00]OFD Sender: No OFD packet to send [08:30:05]OFD Sender: No OFD packet to send [08:30:10]OFD Sender: No OFD packet to send [08:30:15]OFD Sender: No OFD packet to send [08:30:20]OFD Sender: No OFD packet to send [08:30:25]OFD Sender: No OFD packet to send [08:30:30]OFD Sender: No OFD packet to send [08:30:35]OFD Sender: No OFD packet to send [08:30:40]OFD Sender: No OFD packet to send [08:30:45]OFD Sender: No OFD packet to send [08:30:50]OFD Sender: No OFD packet to send [08:30:55]OFD Sender: No OFD packet to send [08:31:00]OFD Sender: No OFD packet to send [08:31:05]OFD Sender: No OFD packet to send [08:31:10]OFD Sender: No OFD packet to send [08:31:15]OFD Sender: No OFD packet to send [08:31:20]OFD Sender: No OFD packet to send [08:31:25]OFD Sender: No OFD packet to send [08:31:30]OFD Sender: No OFD packet to send [08:31:35]OFD Sender: No OFD packet to send [08:31:40]OFD Sender: No OFD packet to send [08:31:45]OFD Sender: No OFD packet to send [08:31:50]OFD Sender: No OFD packet to send [08:31:55]OFD Sender: No OFD packet to send [08:32:00]OFD Sender: No OFD packet to send [08:32:05]OFD Sender: No OFD packet to send [08:32:10]OFD Sender: No OFD packet to send [08:32:15]OFD Sender: No OFD packet to send [08:32:20]OFD Sender: No OFD packet to send [08:32:25]OFD Sender: No OFD packet to send [08:32:30]OFD Sender: No OFD packet to send [08:32:35]OFD Sender: No OFD packet to send [08:32:40]OFD Sender: No OFD packet to send [08:32:45]OFD Sender: No OFD packet to send [08:32:50]OFD Sender: No OFD packet to send [08:32:55]OFD Sender: No OFD packet to send [08:33:00]OFD Sender: No OFD packet to send [08:33:05]OFD Sender: No OFD packet to send [08:33:10]OFD Sender: No OFD packet to send [08:33:15]OFD Sender: No OFD packet to send [08:33:20]OFD Sender: No OFD packet to send [08:33:25]OFD Sender: No OFD packet to send [08:33:30]OFD Sender: No OFD packet to send [08:33:31]accept exits with 8 [08:33:31]New connection [08:33:31]New thread 3067370852 created [08:33:31]Thread 3067227492 joined [08:33:31]Waiting for new connection... [08:33:31] Sock 8.Parse request [08:33:31]Sock 8.Check first char [08:33:31]Sock 8.First char is OK [08:33:31]request: POST /json_proto HTTP/1.0 [08:33:31]Method: POST [08:33:31]URL: /json_proto [08:33:31]Method is POST - this is cgi request [08:33:31]url: /json_proto [08:33:31]query_string will be loaded in cgi processing [08:33:31]execute_cgi json_proto POST (null) [08:33:31]execute_cgi path=json_proto method=POST [08:33:31]POST find Content-Length [08:33:31]Host: 172.17.56.68:8080 [08:33:31]Content-Length: 619 [08:33:31]Content-Type: application/json [08:33:31] [08:33:31]POST finish read [08:33:31]Found Content-Length = 619 [08:33:31]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4404", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:33:31]execute_script... [08:33:31]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4404", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:33:31]POST & json_proto [08:33:31]process_json_proto [08:33:31]json parsed OK: [08:33:31]protocol is kg_v1.0 [08:33:31]action value=close_receipt [08:33:31]process_action close_receipt [08:33:31]cmd_close_receipt [08:33:31]MH_GetDate [08:33:31]Write to MH i2c: F0 00 00 EB 2A 04 [08:33:31]Write i2c OK [08:33:31]MH_I2C_Read... [08:33:31]Read from MH i2c: F0 [08:33:31]MH_I2C_Read... [08:33:31]Read from MH i2c: F0 09 00 [08:33:31]MH_I2C_Read... [08:33:31]Read from MH i2c: F0 09 00 EB 2A 00 E8 22 60 66 42 69 5C 66 4A [08:33:31]GetLastDocTimeStamp 1717575445 [08:33:31]current date 1717576424 [08:33:31]FM_GetShiftState [08:33:31]SAM_PROTO_GetShiftState [08:33:31]wFMCommunicate request_size=4 [08:33:31]MH_SAM_APDU [08:33:31]CAPDU: 80 13 01 00 [08:33:31]Write to MH i2c: E2 08 00 EC 2A 80 13 01 00 00 00 00 00 93 [08:33:31]Write i2c OK [08:33:31]MH_I2C_Read... [08:33:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:33:31]Read from MH i2c: E2 [08:33:31]MH_I2C_Read... [08:33:31]Read from MH i2c: E2 0E 00 [08:33:31]MH_I2C_Read... [08:33:31]Read from MH i2c: E2 0E 00 EC 2A 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 34 [08:33:31]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [08:33:31]wFMCommunicate OK [08:33:31]SAM_PROTO_GetShiftState done [08:33:31]FM_GetShiftState done [08:33:31]opened in 1717545765 [08:33:31]opened+sec_in_day 1717632165 [08:33:31]quantity*price = 14000 [08:33:31]sum+1 = 14001 [08:33:31]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 140.00 НСП 1% : 1.24 НДС 12% : 14.87 Наличными: 140.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 9 05.06.2024 08:33 Смена: 84 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4151 ФПД: 46596534379122 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T083344&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4151&fm=46596534379122&tin=02508201610067®Number=0000000000145775&sum=14000 0 [08:33:32]StoreToDocumentArchive [08:33:32]shift 84 fd 4151 [08:33:32]save to /storage/0084/doc_00004151 [08:33:32]save last doc name /storage/0084/doc_00004151 to /storage/kkm_last_doc_name [08:33:32]save OK [08:33:32]Clear old archive folders... [08:33:32]ProcessDocumentItem done err = 0, tmpTLVsize=273 [08:33:32]tlvbuf is 0077A390 [08:33:32]SAM_PROTO_ClearQueue [08:33:32]wFMCommunicate request_size=4 [08:33:32]MH_SAM_APDU [08:33:32]CAPDU: 80 09 00 00 [08:33:32]Write to MH i2c: E2 08 00 F9 2A 80 09 00 00 00 00 00 00 95 [08:33:32]Write i2c OK [08:33:32]MH_I2C_Read... [08:33:32]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:33:32]Read from MH i2c: E2 [08:33:32]MH_I2C_Read... [08:33:32]Read from MH i2c: E2 03 00 [08:33:32]MH_I2C_Read... [08:33:32]Read from MH i2c: E2 03 00 F9 2A 00 90 00 97 [08:33:32]RAPDU: 90 00 [08:33:32]wFMCommunicate OK [08:33:32]SAM_PROTO_ClearQueue done [08:33:32]KKMCreateOFDPacket [08:33:32]OFDProtocolAddRootSTLVToBuf [08:33:32]FM_MakeSignedData [08:33:32]FM_MakeSignedData [08:33:32]SAM_PROTO_SignData [08:33:32]wFMCommunicate request_size=4 [08:33:32]MH_SAM_APDU [08:33:32]CAPDU: 80 0D 01 02 [08:33:32]Write to MH i2c: E2 08 00 FA 2A 80 0D 01 02 00 00 00 00 9D [08:33:32]Write i2c OK [08:33:32]MH_I2C_Read... [08:33:32]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:33:32]Read from MH i2c: E2 [08:33:32]MH_I2C_Read... [08:33:32]Read from MH i2c: E2 03 00 [08:33:32]MH_I2C_Read... [08:33:32]Read from MH i2c: E2 03 00 FA 2A 00 90 00 98 [08:33:32]RAPDU: 90 00 [08:33:32]wFMCommunicate OK [08:33:32]wFMCommunicate request_size=255 [08:33:32]MH_SAM_APDU [08:33:32]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 09 00 00 00 F4 03 04 00 E8 22 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 [08:33:32]Write to MH i2c: E2 02 01 FB 2A 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 09 00 00 00 F4 03 04 00 E8 22 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 00 00 C3 [08:33:32]Write i2c OK [08:33:32]MH_I2C_Read... [08:33:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:33:32]Read from MH i2c: E2 [08:33:32]MH_I2C_Read... [08:33:32]Read from MH i2c: E2 03 00 [08:33:32]MH_I2C_Read... [08:33:32]Read from MH i2c: E2 03 00 FB 2A 00 90 00 99 [08:33:32]RAPDU: 90 00 [08:33:32]wFMCommunicate OK [08:33:32]wFMCommunicate request_size=32 [08:33:32]MH_SAM_APDU [08:33:32]CAPDU: 80 0D 02 02 1B 30 30 30 39 35 39 33 36 30 10 04 04 00 37 10 00 00 35 04 06 00 2A 61 19 E1 22 72 [08:33:32]Write to MH i2c: E2 23 00 FC 2A 80 0D 02 02 1B 00 30 30 30 39 35 39 33 36 30 10 04 04 00 37 10 00 00 35 04 06 00 2A 61 19 E1 22 72 00 00 5D [08:33:32]Write i2c OK [08:33:32]MH_I2C_Read... [08:33:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:33:32]Read from MH i2c: E2 [08:33:32]MH_I2C_Read... [08:33:32]Read from MH i2c: E2 03 00 [08:33:32]MH_I2C_Read... [08:33:32]Read from MH i2c: E2 03 00 FC 2A 00 90 00 9A [08:33:32]RAPDU: 90 00 [08:33:32]wFMCommunicate OK [08:33:32]wFMCommunicate request_size=4 [08:33:32]MH_SAM_APDU [08:33:32]CAPDU: 80 0D 03 02 [08:33:32]Write to MH i2c: E2 08 00 FD 2A 80 0D 03 02 00 00 00 00 A2 [08:33:32]Write i2c OK [08:33:32]MH_I2C_Read... [08:33:32]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:33:32]Read from MH i2c: E2 [08:33:32]MH_I2C_Read... [08:33:32]Read from MH i2c: E2 0B 00 [08:33:32]MH_I2C_Read... [08:33:32]Read from MH i2c: E2 0B 00 FD 2A 00 ED 91 AD 19 B5 3A 54 BF 90 00 E9 [08:33:32]RAPDU: ED 91 AD 19 B5 3A 54 BF 90 00 [08:33:32]wFMCommunicate OK [08:33:32]SAM_PROTO_SignData done [08:33:32]FM_MakeSignedData done [08:33:32]CreateOFDProtocolMessage [08:33:32]wFMCommunicate request_size=4 [08:33:32]MH_SAM_APDU [08:33:32]CAPDU: 80 11 00 00 [08:33:32]Write to MH i2c: E2 08 00 FE 2A 80 11 00 00 00 00 00 00 A2 [08:33:32]Write i2c OK [08:33:32]MH_I2C_Read... [08:33:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:33:32]Read from MH i2c: E2 [08:33:32]MH_I2C_Read... [08:33:32]Read from MH i2c: E2 17 00 [08:33:32]MH_I2C_Read... [08:33:32]Read from MH i2c: E2 17 00 FE 2A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 F5 [08:33:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [08:33:32]wFMCommunicate OK [08:33:32]CreateOFDProtocolMessage done [08:33:32]OFDSenderStorePacket 4151 [08:33:32]StoreOFDPacket docnum=4151 [08:33:32]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 25 01 00 00 44 86 1D 01 2C C0 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 09 00 00 00 F4 03 04 00 E8 22 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 37 10 00 00 35 04 06 00 2A 61 19 E1 22 72 ED 91 AD 19 B5 3A 54 BF [08:33:32]CheckFolder [08:33:32]dirname=/storage/ofd_packets [08:33:32]CheckFolder done [08:33:32]ProducePacketName [08:33:32]name=ofd_packets/00004151 [08:33:32]NVStorageSaveData ofd_packets/00004151 [08:33:32]File name is /storage/ofd_packets/00004151 [08:33:32]Write 323 bytes [08:33:32]NVStorageSaveData done [08:33:32]OFDSenderStorePacket done [08:33:32]KKMCreateOFDPacket done [08:33:32]NVStorageSaveData kkm_last_timestamp [08:33:32]File name is /storage/kkm_last_timestamp [08:33:32]Write 4 bytes [08:33:32]NVStorageSaveData done [08:33:32]ExternCall_PrintAddStr [08:33:32]wPrintStart [08:33:32]Write to MH i2c: 01 00 00 FF 2A 29 [08:33:32]Write i2c OK [08:33:32]MH_I2C_Read... [08:33:32]Read from MH i2c: 01 [08:33:32]MH_I2C_Read... [08:33:32]Read from MH i2c: 01 07 00 [08:33:32]MH_I2C_Read... [08:33:32]Read from MH i2c: 01 07 00 FF 2A 00 00 00 00 00 FF 0F 3E [08:33:32]RasterBufferAndPrint [08:33:32]line Счет N : (3)4404 [08:33:32]line ИНН: 02508201610067 [08:33:32]line Контрольно-Кассовый Чек [08:33:32]line ПРОДАЖА [08:33:32]line Товар: 48743570 [08:33:32]line Сигареты Winston XStyle Blue [08:33:32]line 1.000 * 140.00 [08:33:32]line = 140.00 [08:33:32]line НДС 12% НСП 1% [08:33:32]line > о реализуемом товаре [08:33:32]line ИТОГО: 140.00 [08:33:32]line НСП 1% : 1.24 [08:33:32]line НДС 12% : 14.87 [08:33:32]line Наличными: 140.00 [08:33:32]line Безнал.: 0.00 [08:33:32]line Место: АЗС № 116 "Партнер Нефть" [08:33:32]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [08:33:32]line СНО: Общий режим [08:33:32]line Чек 9 05.06.2024 08:33 [08:33:32]line Смена: 84 ФФД: 1.0 [08:33:32]line ЗНМ: 0300000233 [08:33:32]line РНМ: 0000000000145775 [08:33:32]line Версия ККМ: v1.0 [08:33:32]line ФМ: 0000000000959360 [08:33:32]line ФД: 4151 [08:33:32]line ФПД: 46596534379122 [08:33:33]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T083344&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4151&fm=46596534379122&tin=02508201610067®Number=0000000000145775&sum=14000 [08:33:33]line 0 [08:33:33]OFD Sender: Processing packet 4151 [packets to send 2, broken 1] [08:33:33]ProducePacketName [08:33:33]name=ofd_packets/00004151 [08:33:33]OFD Sender: To server: pG, [08:33:33]CommunicateWithHost lk.salyk.kg:30040 [08:33:33]ConnectInit lk.salyk.kg [08:33:33]written 0, free lines is 4095 [08:33:33]Connected sock=11 [08:33:33]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 25 01 00 00 44 86 1D 01 2C C0 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 09 00 00 00 F4 03 04 00 E8 22 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 37 10 00 00 35 04 06 00 2A 61 19 E1 22 72 ED 91 AD 19 B5 3A 54 BF [08:33:33]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 4B E4 47 00 7A AD A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 37 10 00 00 F4 03 04 00 E6 CE 5F 66 B6 04 01 00 00 BC F3 E8 01 62 A7 69 84 [08:33:33]CommunicateWithHost err = 0 [08:33:33]CheckOFDResponse [08:33:33]1017 (14) - 77093643461234 [08:33:33]1041 (16) - 0000000000959360 [08:33:33]1040 (4) - 4151 [08:33:33]1012 (4) - 05.06.2024 02:35 [08:33:33]1206 (1) - 0 [08:33:33]OFD Sender: Remove packet 4151 [08:33:33]ProducePacketName [08:33:33]name=ofd_packets/00004151 [08:33:33]NVStorageDeleteData [08:33:33]Write to MH i2c: 01 00 00 27 2B 52 [08:33:33]Write i2c OK [08:33:33]MH_I2C_Read... [08:33:33]Read from MH i2c: 01 [08:33:33]MH_I2C_Read... [08:33:33]Read from MH i2c: 01 07 00 [08:33:33]MH_I2C_Read... [08:33:33]Read from MH i2c: 01 07 00 27 2B 00 00 00 00 00 D4 0C 39 [08:33:33]RasterBufferAndPrint [08:33:33]line [08:33:33]line [08:33:33]line [08:33:33]line [08:33:33]line [08:33:33]written 0, free lines is 3290 [08:33:33]MH_Cut [08:33:33]Write to MH i2c: D1 01 00 2E 2B 01 2B [08:33:33]Write i2c OK [08:33:33]MH_I2C_Read... [08:33:33]Read from MH i2c: D1 [08:33:33]MH_I2C_Read... [08:33:33]Read from MH i2c: D1 01 00 [08:33:33]MH_I2C_Read... [08:33:33]Read from MH i2c: D1 01 00 2E 2B 00 2A [08:33:33]Write to MH i2c: 01 00 00 2F 2B 5A [08:33:33]Write i2c OK [08:33:33]MH_I2C_Read... [08:33:34]OFD Sender: No OFD packet to send [08:33:34]*** Cut start [08:33:34]*** Partial cut [08:33:34]*** CUTSNS_PIN = 1 [08:33:34]*** CUTSNS_PIN = 0 [08:33:34]*** Brake cut motor [08:33:35]Read from MH i2c: 01 [08:33:35]MH_I2C_Read... [08:33:35]*** Stop cut motor [08:33:35]Read from MH i2c: *** Cut end [08:33:35]01 07 00 [08:33:35]MH_I2C_Read... [08:33:35]Read from MH i2c: 01 07 00 2F 2B 00 00 00 00 00 FF 0F 6F [08:33:35]process_action close_receipt done [08:33:35]requested_data is exist [08:33:35]produce_requested_data [08:33:35]requested_item fm.sn is exist - process it [08:33:35]wFMCommunicate request_size=4 [08:33:35]MH_SAM_APDU [08:33:35]CAPDU: 80 11 00 00 [08:33:35]Write to MH i2c: E2 08 00 30 2B 80 11 00 00 00 00 00 00 D5 [08:33:35]Write i2c OK [08:33:35]MH_I2C_Read... [08:33:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:33:35]Read from MH i2c: E2 [08:33:35]MH_I2C_Read... [08:33:35]Read from MH i2c: E2 17 00 [08:33:35]MH_I2C_Read... [08:33:35]Read from MH i2c: E2 17 00 30 2B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 28 [08:33:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [08:33:35]wFMCommunicate OK [08:33:35]requested_item fd.num is exist - process it [08:33:35]SAM_PROTO_GetFieldsCounters [08:33:35]wFMCommunicate request_size=4 [08:33:35]MH_SAM_APDU [08:33:35]CAPDU: 80 13 00 00 [08:33:35]Write to MH i2c: E2 08 00 31 2B 80 13 00 00 00 00 00 00 D8 [08:33:35]Write i2c OK [08:33:35]MH_I2C_Read... [08:33:35]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:33:35]Read from MH i2c: E2 [08:33:35]MH_I2C_Read... [08:33:35]Read from MH i2c: E2 62 00 [08:33:35]MH_I2C_Read... [08:33:35]Read from MH i2c: E2 62 00 31 2B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 37 10 00 00 0E 04 04 00 54 00 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 B3 [08:33:35]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 37 10 00 00 0E 04 04 00 54 00 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 [08:33:35]wFMCommunicate OK [08:33:35]SAM_PROTO_GetFieldsCounters done [08:33:35]requested_item shift.num is exist - process it [08:33:35]requested_item shift.opened is exist - process it [08:33:35]req_shift_opened [08:33:35]FM_GetShiftState [08:33:35]SAM_PROTO_GetShiftState [08:33:35]wFMCommunicate request_size=4 [08:33:35]MH_SAM_APDU [08:33:35]CAPDU: 80 13 01 00 [08:33:35]Write to MH i2c: E2 08 00 32 2B 80 13 01 00 00 00 00 00 DA [08:33:35]Write i2c OK [08:33:35]MH_I2C_Read... [08:33:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:33:35]Read from MH i2c: E2 [08:33:35]MH_I2C_Read... [08:33:35]Read from MH i2c: E2 0E 00 [08:33:35]MH_I2C_Read... [08:33:35]Read from MH i2c: E2 0E 00 32 2B 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 7B [08:33:35]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [08:33:35]wFMCommunicate OK [08:33:35]SAM_PROTO_GetShiftState done [08:33:35]FM_GetShiftState done [08:33:35]req_shift_opened done [08:33:35]requested_item shift.open_date is exist - process it [08:33:35]req_shift_open_date [08:33:35]req_shift_open_date done [08:33:35]produce_requested_data done [08:33:35]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4151,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765} [08:33:35]process_action_free close_receipt [08:33:35]json_value_free [08:33:35]json_value_free done [08:33:35]process_json_proto returns [08:33:35]Send response to host [08:33:35]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4151,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765}}} [08:33:35]free response buf [08:33:35]execute_script done [08:33:35]execute_script returns [08:33:35]free content buf [08:33:35]Sock 8.Close socket [08:33:35]Sock 8.Thread stoped [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:54]OFD Sender: No OFD packet to send [08:34:59]OFD Sender: No OFD packet to send [08:35:04]OFD Sender: No OFD packet to send [08:35:09]OFD Sender: No OFD packet to send [08:35:14]OFD Sender: No OFD packet to send [08:35:19]OFD Sender: No OFD packet to send [08:35:24]OFD Sender: No OFD packet to send [08:35:29]OFD Sender: No OFD packet to send [08:35:34]OFD Sender: No OFD packet to send [08:35:39]OFD Sender: No OFD packet to send [08:35:44]OFD Sender: No OFD packet to send [08:35:49]OFD Sender: No OFD packet to send [08:35:54]OFD Sender: No OFD packet to send [08:35:59]OFD Sender: No OFD packet to send [08:36:04]OFD Sender: No OFD packet to send [08:36:09]OFD Sender: No OFD packet to send [08:36:14]OFD Sender: No OFD packet to send [08:36:19]OFD Sender: No OFD packet to send [08:36:24]OFD Sender: No OFD packet to send [08:36:29]OFD Sender: No OFD packet to send [08:36:34]OFD Sender: No OFD packet to send [08:36:39]OFD Sender: No OFD packet to send [08:36:44]OFD Sender: No OFD packet to send [08:36:49]OFD Sender: No OFD packet to send [08:36:54]OFD Sender: No OFD packet to send [08:36:59]OFD Sender: No OFD packet to send [08:37:04]OFD Sender: No OFD packet to send [08:37:09]OFD Sender: No OFD packet to send [08:37:14]OFD Sender: No OFD packet to send [08:37:19]OFD Sender: No OFD packet to send [08:37:24]OFD Sender: No OFD packet to send [08:37:29]OFD Sender: No OFD packet to send [08:37:34]OFD Sender: No OFD packet to send [08:37:39]OFD Sender: No OFD packet to send [08:37:44]OFD Sender: No OFD packet to send [08:37:49]OFD Sender: No OFD packet to send [08:37:54]OFD Sender: No OFD packet to send [08:37:59]OFD Sender: No OFD packet to send [08:38:04]OFD Sender: No OFD packet to send [08:38:09]OFD Sender: No OFD packet to send [08:38:14]OFD Sender: No OFD packet to send [08:38:19]OFD Sender: No OFD packet to send [08:38:24]OFD Sender: No OFD packet to send [08:38:29]OFD Sender: No OFD packet to send [08:38:34]OFD Sender: No OFD packet to send [08:38:39]OFD Sender: No OFD packet to send [08:38:44]OFD Sender: No OFD packet to send [08:38:49]OFD Sender: No OFD packet to send [08:38:54]OFD Sender: No OFD packet to send [08:38:59]OFD Sender: No OFD packet to send [08:39:04]OFD Sender: No OFD packet to send [08:39:09]OFD Sender: No OFD packet to send [08:39:14]OFD Sender: No OFD packet to send [08:39:19]OFD Sender: No OFD packet to send [08:39:24]OFD Sender: No OFD packet to send [08:39:29]OFD Sender: No OFD packet to send [08:39:34]OFD Sender: No OFD packet to send [08:39:39]OFD Sender: No OFD packet to send [08:39:44]OFD Sender: No OFD packet to send [08:39:49]OFD Sender: No OFD packet to send [08:39:54]OFD Sender: No OFD packet to send [08:39:59]OFD Sender: No OFD packet to send [08:40:04]OFD Sender: No OFD packet to send [08:40:09]OFD Sender: No OFD packet to send [08:40:14]OFD Sender: No OFD packet to send [08:40:19]OFD Sender: No OFD packet to send [08:40:24]OFD Sender: No OFD packet to send [08:40:29]OFD Sender: No OFD packet to send [08:40:34]OFD Sender: No OFD packet to send [08:40:39]OFD Sender: No OFD packet to send [08:40:44]OFD Sender: No OFD packet to send [08:40:49]OFD Sender: No OFD packet to send [08:40:54]OFD Sender: No OFD packet to send [08:40:59]OFD Sender: No OFD packet to send [08:41:04]OFD Sender: No OFD packet to send [08:41:09]OFD Sender: No OFD packet to send [08:41:14]OFD Sender: No OFD packet to send [08:41:19]OFD Sender: No OFD packet to send [08:41:24]OFD Sender: No OFD packet to send [08:41:29]OFD Sender: No OFD packet to send [08:41:34]OFD Sender: No OFD packet to send [08:41:39]OFD Sender: No OFD packet to send [08:41:44]OFD Sender: No OFD packet to send [08:41:49]OFD Sender: No OFD packet to send [08:41:54]OFD Sender: No OFD packet to send [08:41:59]OFD Sender: No OFD packet to send [08:42:04]OFD Sender: No OFD packet to send [08:42:09]OFD Sender: No OFD packet to send [08:42:14]OFD Sender: No OFD packet to send [08:42:19]OFD Sender: No OFD packet to send [08:42:24]OFD Sender: No OFD packet to send [08:42:29]OFD Sender: No OFD packet to send [08:42:34]OFD Sender: No OFD packet to send [08:42:39]OFD Sender: No OFD packet to send [08:42:44]OFD Sender: No OFD packet to send [08:42:49]OFD Sender: No OFD packet to send [08:42:54]OFD Sender: No OFD packet to send [08:42:59]OFD Sender: No OFD packet to send [08:43:04]OFD Sender: No OFD packet to send [08:43:09]OFD Sender: No OFD packet to send [08:43:14]OFD Sender: No OFD packet to send [08:43:19]OFD Sender: No OFD packet to send [08:43:24]OFD Sender: No OFD packet to send [08:43:29]OFD Sender: No OFD packet to send [08:43:34]OFD Sender: No OFD packet to send [08:43:39]OFD Sender: No OFD packet to send [08:43:44]OFD Sender: No OFD packet to send [08:43:49]OFD Sender: No OFD packet to send [08:43:54]OFD Sender: No OFD packet to send [08:43:59]OFD Sender: No OFD packet to send [08:44:04]OFD Sender: No OFD packet to send [08:44:09]OFD Sender: No OFD packet to send [08:44:14]OFD Sender: No OFD packet to send [08:44:19]OFD Sender: No OFD packet to send [08:44:24]OFD Sender: No OFD packet to send [08:44:29]OFD Sender: No OFD packet to send [08:44:34]OFD Sender: No OFD packet to send [08:44:39]OFD Sender: No OFD packet to send [08:44:44]OFD Sender: No OFD packet to send [08:44:49]OFD Sender: No OFD packet to send [08:44:54]OFD Sender: No OFD packet to send [08:44:59]OFD Sender: No OFD packet to send [08:45:04]OFD Sender: No OFD packet to send [08:45:09]OFD Sender: No OFD packet to send [08:45:14]OFD Sender: No OFD packet to send [08:45:19]OFD Sender: No OFD packet to send [08:45:24]OFD Sender: No OFD packet to send [08:45:29]OFD Sender: No OFD packet to send [08:45:34]OFD Sender: No OFD packet to send [08:45:39]OFD Sender: No OFD packet to send [08:45:44]OFD Sender: No OFD packet to send [08:45:49]OFD Sender: No OFD packet to send [08:45:54]OFD Sender: No OFD packet to send [08:45:59]OFD Sender: No OFD packet to send [08:46:04]OFD Sender: No OFD packet to send [08:46:09]OFD Sender: No OFD packet to send [08:46:14]OFD Sender: No OFD packet to send [08:46:19]OFD Sender: No OFD packet to send [08:46:24]OFD Sender: No OFD packet to send [08:46:29]OFD Sender: No OFD packet to send [08:46:34]OFD Sender: No OFD packet to send [08:46:39]OFD Sender: No OFD packet to send [08:46:44]OFD Sender: No OFD packet to send [08:46:49]OFD Sender: No OFD packet to send [08:46:54]OFD Sender: No OFD packet to send [08:46:59]OFD Sender: No OFD packet to send [08:47:04]OFD Sender: No OFD packet to send [08:47:09]OFD Sender: No OFD packet to send [08:47:14]OFD Sender: No OFD packet to send [08:47:19]OFD Sender: No OFD packet to send [08:47:24]OFD Sender: No OFD packet to send [08:47:29]OFD Sender: No OFD packet to send [08:47:34]OFD Sender: No OFD packet to send [08:47:39]OFD Sender: No OFD packet to send [08:47:44]OFD Sender: No OFD packet to send [08:47:49]OFD Sender: No OFD packet to send [08:47:54]OFD Sender: No OFD packet to send [08:47:59]OFD Sender: No OFD packet to send [08:48:04]OFD Sender: No OFD packet to send [08:48:09]OFD Sender: No OFD packet to send [08:48:14]OFD Sender: No OFD packet to send [08:48:19]OFD Sender: No OFD packet to send [08:48:24]OFD Sender: No OFD packet to send [08:48:29]OFD Sender: No OFD packet to send [08:48:34]OFD Sender: No OFD packet to send [08:48:39]OFD Sender: No OFD packet to send [08:48:44]OFD Sender: No OFD packet to send [08:48:49]OFD Sender: No OFD packet to send [08:48:54]OFD Sender: No OFD packet to send [08:48:59]OFD Sender: No OFD packet to send [08:49:04]OFD Sender: No OFD packet to send [08:49:09]OFD Sender: No OFD packet to send [08:49:14]OFD Sender: No OFD packet to send [08:49:19]OFD Sender: No OFD packet to send [08:49:24]OFD Sender: No OFD packet to send [08:49:29]OFD Sender: No OFD packet to send [08:49:34]OFD Sender: No OFD packet to send [08:49:39]OFD Sender: No OFD packet to send [08:49:44]OFD Sender: No OFD packet to send [08:49:49]OFD Sender: No OFD packet to send [08:49:54]OFD Sender: No OFD packet to send [08:49:59]OFD Sender: No OFD packet to send [08:50:04]OFD Sender: No OFD packet to send [08:50:09]OFD Sender: No OFD packet to send [08:50:14]OFD Sender: No OFD packet to send [08:50:19]OFD Sender: No OFD packet to send [08:50:24]OFD Sender: No OFD packet to send [08:50:29]OFD Sender: No OFD packet to send [08:50:34]OFD Sender: No OFD packet to send [08:50:39]OFD Sender: No OFD packet to send [08:50:44]OFD Sender: No OFD packet to send [08:50:49]OFD Sender: No OFD packet to send [08:50:54]OFD Sender: No OFD packet to send [08:50:59]OFD Sender: No OFD packet to send [08:51:04]OFD Sender: No OFD packet to send [08:51:09]OFD Sender: No OFD packet to send [08:51:14]OFD Sender: No OFD packet to send [08:51:19]OFD Sender: No OFD packet to send [08:51:24]OFD Sender: No OFD packet to send [08:51:29]OFD Sender: No OFD packet to send [08:51:34]OFD Sender: No OFD packet to send [08:51:39]OFD Sender: No OFD packet to send [08:51:44]OFD Sender: No OFD packet to send [08:51:49]OFD Sender: No OFD packet to send [08:51:54]OFD Sender: No OFD packet to send [08:51:59]OFD Sender: No OFD packet to send [08:52:04]OFD Sender: No OFD packet to send [08:52:09]OFD Sender: No OFD packet to send [08:52:14]OFD Sender: No OFD packet to send [08:52:19]OFD Sender: No OFD packet to send [08:52:24]OFD Sender: No OFD packet to send [08:52:29]OFD Sender: No OFD packet to send [08:52:34]OFD Sender: No OFD packet to send [08:52:39]OFD Sender: No OFD packet to send [08:52:44]OFD Sender: No OFD packet to send [08:52:49]OFD Sender: No OFD packet to send [08:52:54]OFD Sender: No OFD packet to send [08:52:59]OFD Sender: No OFD packet to send [08:53:04]OFD Sender: No OFD packet to send [08:53:09]OFD Sender: No OFD packet to send [08:53:14]OFD Sender: No OFD packet to send [08:53:19]OFD Sender: No OFD packet to send [08:53: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:55]OFD Sender: No OFD packet to send [08:58:00]OFD Sender: No OFD packet to send [08:58:05]OFD Sender: No OFD packet to send [08:58:10]OFD Sender: No OFD packet to send [08:58:15]OFD Sender: No OFD packet to send [08:58:20]OFD Sender: No OFD packet to send [08:58:25]OFD Sender: No OFD packet to send [08:58:30]OFD Sender: No OFD packet to send [08:58:35]OFD Sender: No OFD packet to send [08:58:40]OFD Sender: No OFD packet to send [08:58:45]OFD Sender: No OFD packet to send [08:58:50]OFD Sender: No OFD packet to send [08:58:55]OFD Sender: No OFD packet to send [08:59:00]OFD Sender: No OFD packet to send [08:59:05]OFD Sender: No OFD packet to send [08:59:10]OFD Sender: No OFD packet to send [08:59:15]OFD Sender: No OFD packet to send [08:59:20]OFD Sender: No OFD packet to send [08:59:25]OFD Sender: No OFD packet to send [08:59:30]OFD Sender: No OFD packet to send [08:59:35]OFD Sender: No OFD packet to send [08:59:40]OFD Sender: No OFD packet to send [08:59:45]OFD Sender: No OFD packet to send [08:59:50]OFD Sender: No OFD packet to send [08:59:55]OFD Sender: No OFD packet to send [09:00:00]OFD Sender: No OFD packet to send [09:00:05]OFD Sender: No OFD packet to send [09:00:10]OFD Sender: No OFD packet to send [09:00:15]OFD Sender: No OFD packet to send [09:00:20]OFD Sender: No OFD packet to send [09:00:25]OFD Sender: No OFD packet to send [09:00:30]OFD Sender: No OFD packet to send [09:00:35]OFD Sender: No OFD packet to send [09:00:40]OFD Sender: No OFD packet to send [09:00:45]OFD Sender: No OFD packet to send [09:00:50]OFD Sender: No OFD packet to send [09:00:55]OFD Sender: No OFD packet to send [09:01:00]OFD Sender: No OFD packet to send [09:01:05]OFD Sender: No OFD packet to send [09:01:10]OFD Sender: No OFD packet to send [09:01:15]OFD Sender: No OFD packet to send [09:01:20]OFD Sender: No OFD packet to send [09:01:25]OFD Sender: No OFD packet to send [09:01:30]OFD Sender: No OFD packet to send [09:01:35]OFD Sender: No OFD packet to send [09:01:40]OFD Sender: No OFD packet to send [09:01:45]OFD Sender: No OFD packet to send [09:01:50]OFD Sender: No OFD packet to send [09:01:55]OFD Sender: No OFD packet to send [09:05:47]ConnectInit Can't connect to host [09:05:50]OFD Sender: No OFD packet to send [09:05:55]OFD Sender: No OFD packet to send [09:06:00]OFD Sender: No OFD packet to send [09:06:05]OFD Sender: No OFD packet to send [09:06:10]OFD Sender: No OFD packet to send [09:06:15]OFD Sender: No OFD packet to send [09:06:20]OFD Sender: No OFD packet to send [09:06:25]OFD Sender: No OFD packet to send [09:06:30]OFD Sender: No OFD packet to send [09:06:35]OFD Sender: No OFD packet to send [09:06:40]OFD Sender: No OFD packet to send [09:06:45]OFD Sender: No OFD packet to send [09:06:50]OFD Sender: No OFD packet to send [09:06:55]OFD Sender: No OFD packet to send [09:07:00]OFD Sender: No OFD packet to send [09:07:05]OFD Sender: No OFD packet to send [09:07:10]OFD Sender: No OFD packet to send [09:07:15]OFD Sender: No OFD packet to send [09:07:20]OFD Sender: No OFD packet to send [09:07:25]OFD Sender: No OFD packet to send [09:07:30]OFD Sender: No OFD packet to send [09:07:35]OFD Sender: No OFD packet to send [09:07:40]OFD Sender: No OFD packet to send [09:07:45]OFD Sender: No OFD packet to send [09:07:50]OFD Sender: No OFD packet to send [09:07:55]OFD Sender: No OFD packet to send [09:08:00]OFD Sender: No OFD packet to send [09:08:05]OFD Sender: No OFD packet to send [09:08:10]OFD Sender: No OFD packet to send [09:08:15]OFD Sender: No OFD packet to send [09:08:20]OFD Sender: No OFD packet to send [09:08:25]OFD Sender: No OFD packet to send [09:08:30]OFD Sender: No OFD packet to send [09:08:35]OFD Sender: No OFD packet to send [09:08:40]OFD Sender: No OFD packet to send [09:08:45]OFD Sender: No OFD packet to send [09:08:50]OFD Sender: No OFD packet to send [09:08:55]OFD Sender: No OFD packet to send [09:09:00]OFD Sender: No OFD packet to send [09:09:05]OFD Sender: No OFD packet to send [09:09:10]OFD Sender: No OFD packet to send [09:09:15]OFD Sender: No OFD packet to send [09:09:20]OFD Sender: No OFD packet to send [09:09:25]OFD Sender: No OFD packet to send [09:09:30]OFD Sender: No OFD packet to send [09:09:35]OFD Sender: No OFD packet to send [09:09:40]OFD Sender: No OFD packet to send [09:09:45]OFD Sender: No OFD packet to send [09:09:50]OFD Sender: No OFD packet to send [09:09:55]OFD Sender: No OFD packet to send [09:10:00]OFD Sender: No OFD packet to send [09:10:05]OFD Sender: No OFD packet to send [09:10:10]OFD Sender: No OFD packet to send [09:10:15]OFD Sender: No OFD packet to send [09:10:20]OFD Sender: No OFD packet to send [09:10:25]OFD Sender: No OFD packet to send [09:10:30]OFD Sender: No OFD packet to send [09:10:35]OFD Sender: No OFD packet to send [09:13:21]ConnectInit Can't connect to host [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:17]accept exits with 9 [09:17:17]New connection [09:17:17]New thread 3067444580 created [09:17:17]Waiting for new connection... [09:17:17] Sock 9.Parse request [09:17:17]Sock 9.Check first char [09:17:17]Sock 9.First char is OK [09:17:17]request: POST /json_proto HTTP/1.0 [09:17:17]Method: POST [09:17:17]URL: /json_proto [09:17:17]Method is POST - this is cgi request [09:17:17]url: /json_proto [09:17:17]query_string will be loaded in cgi processing [09:17:17]execute_cgi json_proto POST (null) [09:17:17]execute_cgi path=json_proto method=POST [09:17:17]POST find Content-Length [09:17:17]Host: 172.17.56.68:8080 [09:17:17]Content-Length: 215 [09:17:17]Content-Type: application/json [09:17:17] [09:17:17]POST finish read [09:17:17]Found Content-Length = 215 [09:17:17]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" ] } } [09:17:17]execute_script... [09:17:17]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" ] } } [09:17:17]POST & json_proto [09:17:17]process_json_proto [09:17:17]json parsed OK: [09:17:17]protocol is kg_v1.0 [09:17:17]action value=get_value [09:17:17]process_action get_value [09:17:17]cmd_get_value [09:17:17]process_action get_value done [09:17:17]requested_data is exist [09:17:17]produce_requested_data [09:17:17]requested_item kkm.sn is exist - process it [09:17:17]requested_item kkm.ver is exist - process it [09:17:17]requested_item fm.sn is exist - process it [09:17:17]wFMCommunicate request_size=4 [09:17:17]MH_SAM_APDU [09:17:17]CAPDU: 80 11 00 00 [09:17:17]Write to MH i2c: E2 08 00 10 00 80 11 00 00 00 00 00 00 8A [09:17:17]Write i2c OK [09:17:17]MH_I2C_Read... [09:17:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:17:18]Read from MH i2c: E2 [09:17:18]MH_I2C_Read... [09:17:18]Read from MH i2c: E2 17 00 [09:17:18]MH_I2C_Read... [09:17:18]Read from MH i2c: E2 17 00 10 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 DD [09:17:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [09:17:18]wFMCommunicate OK [09:17:18]requested_item fd.num is exist - process it [09:17:18]SAM_PROTO_GetFieldsCounters [09:17:18]wFMCommunicate request_size=4 [09:17:18]MH_SAM_APDU [09:17:18]CAPDU: 80 13 00 00 [09:17:18]Write to MH i2c: E2 08 00 11 00 80 13 00 00 00 00 00 00 8D [09:17:18]Write i2c OK [09:17:18]MH_I2C_Read... [09:17:18]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:17:18]Read from MH i2c: E2 [09:17:18]MH_I2C_Read... [09:17:18]Read from MH i2c: E2 62 00 [09:17:18]MH_I2C_Read... [09:17:18]Read from MH i2c: E2 62 00 11 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 37 10 00 00 0E 04 04 00 54 00 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 68 [09:17:18]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 37 10 00 00 0E 04 04 00 54 00 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:17:18]wFMCommunicate OK [09:17:18]SAM_PROTO_GetFieldsCounters done [09:17:18]requested_item shift.num is exist - process it [09:17:18]requested_item shift.opened is exist - process it [09:17:18]req_shift_opened [09:17:18]FM_GetShiftState [09:17:18]SAM_PROTO_GetShiftState [09:17:18]wFMCommunicate request_size=4 [09:17:18]MH_SAM_APDU [09:17:18]CAPDU: 80 13 01 00 [09:17:18]Write to MH i2c: E2 08 00 12 00 80 13 01 00 00 00 00 00 8F [09:17:18]Write i2c OK [09:17:18]MH_I2C_Read... [09:17:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:17:18]Read from MH i2c: E2 [09:17:18]MH_I2C_Read... [09:17:18]Read from MH i2c: E2 0E 00 [09:17:18]MH_I2C_Read... [09:17:18]Read from MH i2c: E2 0E 00 12 00 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 30 [09:17:18]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [09:17:18]wFMCommunicate OK [09:17:18]SAM_PROTO_GetShiftState done [09:17:18]FM_GetShiftState done [09:17:18]req_shift_opened done [09:17:18]requested_item shift.open_date is exist - process it [09:17:18]req_shift_open_date [09:17:18]req_shift_open_date done [09:17:18]produce_requested_data done [09:17:18]produce_requested_data return {"kkm.sn":"0300000233","kkm.ver":"v1.0","fm.sn":"0000000000959360","fd.num":4151,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765} [09:17:18]process_action_free get_value [09:17:18]json_value_free [09:17:18]json_value_free done [09:17:18]process_json_proto returns [09:17:18]Send response to host [09:17:18]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000233","kkm.ver":"v1.0","fm.sn":"0000000000959360","fd.num":4151,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765}}} [09:17:18]free response buf [09:17:18]execute_script done [09:17:18]execute_script returns [09:17:18]free content buf [09:17:18]Sock 9.Close socket [09:17:18]Sock 9.Thread stoped [09:17:21]accept exits with 7 [09:17:21]New connection [09:17:21]New thread 3067301220 created [09:17:21]Thread 3067444580 joined [09:17:21]Waiting for new connection... [09:17:21] Sock 7.Parse request [09:17:21]Sock 7.Check first char [09:17:21]Sock 7.First char is OK [09:17:21]request: POST /json_proto HTTP/1.0 [09:17:21]Method: POST [09:17:21]URL: /json_proto [09:17:21]Method is POST - this is cgi request [09:17:21]url: /json_proto [09:17:21]query_string will be loaded in cgi processing [09:17:21]execute_cgi json_proto POST (null) [09:17:21]execute_cgi path=json_proto method=POST [09:17:21]POST find Content-Length [09:17:21]Host: 172.17.56.68:8080 [09:17:21]Content-Length: 331 [09:17:21]Content-Type: application/json [09:17:21] [09:17:21]POST finish read [09:17:21]Found Content-Length = 331 [09:17:21]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" ] } } [09:17:21]execute_script... [09:17:21]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" ] } } [09:17:21]POST & json_proto [09:17:21]process_json_proto [09:17:21]json parsed OK: [09:17:21]protocol is kg_v1.0 [09:17:21]action value=get_value [09:17:21]process_action get_value [09:17:21]cmd_get_value [09:17:21]process_action get_value done [09:17:21]requested_data is exist [09:17:21]produce_requested_data [09:17:21]requested_item fm.sale.total is exist - process it [09:17:21]SAM_PROTO_GetFMData [09:17:21]wFMCommunicate request_size=4 [09:17:21]MH_SAM_APDU [09:17:21]CAPDU: 80 13 03 00 [09:17:21]Write to MH i2c: E2 08 00 13 00 80 13 03 00 00 00 00 00 92 [09:17:21]Write i2c OK [09:17:21]MH_I2C_Read... [09:17:21]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [09:17:21]Read from MH i2c: E2 [09:17:21]MH_I2C_Read... [09:17:21]Read from MH i2c: E2 FD 00 [09:17:21]MH_I2C_Read... [09:17:21]Read from MH i2c: E2 FD 00 13 00 00 BB 04 85 04 B7 04 6E 04 04 00 8F 0F 00 00 69 04 9E 00 6F 04 04 00 86 0F 00 00 B1 04 04 00 DF 6D 86 05 70 04 04 00 88 27 9C 04 72 04 03 00 57 46 EA 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 81 33 96 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 69 82 0C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 97 00 6F 04 04 00 09 00 00 00 B1 04 03 00 10 B1 02 70 04 03 00 10 B1 02 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 2C 49 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 9F [09:17:21]RAPDU: BB 04 85 04 B7 04 6E 04 04 00 8F 0F 00 00 69 04 9E 00 6F 04 04 00 86 0F 00 00 B1 04 04 00 DF 6D 86 05 70 04 04 00 88 27 9C 04 72 04 03 00 57 46 EA 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 81 33 96 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 69 82 0C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 97 00 6F 04 04 00 09 00 00 00 B1 04 03 00 10 B1 02 70 04 03 00 10 B1 02 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 2C 49 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [09:17:21]wFMCommunicate OK [09:17:21]wFMCommunicate request_size=4 [09:17:21]MH_SAM_APDU [09:17:21]CAPDU: 80 17 00 00 [09:17:21]Write to MH i2c: E2 08 00 14 00 80 17 00 00 00 00 00 00 94 [09:17:21]Write i2c OK [09:17:21]MH_I2C_Read... [09:17:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:17:21]Read from MH i2c: E2 [09:17:21]MH_I2C_Read... [09:17:21]Read from MH i2c: E2 FD 00 [09:17:21]MH_I2C_Read... [09:17:21]Read from MH i2c: E2 FD 00 14 00 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 18 06 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 5C [09:17:21]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 18 06 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [09:17:21]wFMCommunicate OK [09:17:21]wFMCommunicate request_size=4 [09:17:21]MH_SAM_APDU [09:17:21]CAPDU: 80 17 00 00 [09:17:21]Write to MH i2c: E2 08 00 15 00 80 17 00 00 00 00 00 00 95 [09:17:21]Write i2c OK [09:17:21]MH_I2C_Read... [09:17:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:17:22]Read from MH i2c: E2 [09:17:22]MH_I2C_Read... [09:17:22]Read from MH i2c: E2 FD 00 [09:17:22]MH_I2C_Read... [09:17:22]Read from MH i2c: E2 FD 00 15 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 C1 [09:17:22]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [09:17:22]wFMCommunicate OK [09:17:22]wFMCommunicate request_size=4 [09:17:22]MH_SAM_APDU [09:17:22]CAPDU: 80 17 00 00 [09:17:22]Write to MH i2c: E2 08 00 16 00 80 17 00 00 00 00 00 00 96 [09:17:22]Write i2c OK [09:17:22]MH_I2C_Read... [09:17:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:17:22]Read from MH i2c: E2 [09:17:22]MH_I2C_Read... [09:17:22]Read from MH i2c: E2 FD 00 [09:17:22]MH_I2C_Read... [09:17:22]Read from MH i2c: E2 FD 00 16 00 00 00 00 EF 03 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 90 00 0B [09:17:22]RAPDU: 00 00 EF 03 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 90 00 [09:17:22]wFMCommunicate OK [09:17:22]wFMCommunicate request_size=4 [09:17:22]MH_SAM_APDU [09:17:22]CAPDU: 80 17 00 00 [09:17:22]Write to MH i2c: E2 08 00 17 00 80 17 00 00 00 00 00 00 97 [09:17:22]Write i2c OK [09:17:22]MH_I2C_Read... [09:17:22]OFD Sender: No OFD packet to send [09:17:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [09:17:22]Read from MH i2c: E2 [09:17:22]MH_I2C_Read... [09:17:22]Read from MH i2c: E2 D8 00 [09:17:22]MH_I2C_Read... [09:17:22]Read from MH i2c: E2 D8 00 17 00 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 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 7E [09:17:22]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 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 [09:17:22]wFMCommunicate OK [09:17:22]SAM_PROTO_GetFMData done [09:17:22]requested_item fm.sale_refund.total is exist - process it [09:17:22]requested_item fm.buy.total is exist - process it [09:17:22]requested_item shift.sale.total is exist - process it [09:17:22]SAM_PROTO_GetShiftData [09:17:22]wFMCommunicate request_size=4 [09:17:22]MH_SAM_APDU [09:17:22]CAPDU: 80 13 02 00 [09:17:22]Write to MH i2c: E2 08 00 18 00 80 13 02 00 00 00 00 00 96 [09:17:22]Write i2c OK [09:17:22]MH_I2C_Read... [09:17:23]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [09:17:23]Read from MH i2c: E2 [09:17:23]MH_I2C_Read... [09:17:23]Read from MH i2c: E2 FD 00 [09:17:23]MH_I2C_Read... [09:17:23]Read from MH i2c: E2 FD 00 18 00 00 AC 04 AA 04 A8 04 6E 04 04 00 09 00 00 00 69 04 99 00 6F 04 04 00 09 00 00 00 B1 04 03 00 E4 7D 02 70 04 03 00 3C B8 01 72 04 02 00 A8 C5 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 BC 43 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 A3 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 90 00 CE [09:17:23]RAPDU: AC 04 AA 04 A8 04 6E 04 04 00 09 00 00 00 69 04 99 00 6F 04 04 00 09 00 00 00 B1 04 03 00 E4 7D 02 70 04 03 00 3C B8 01 72 04 02 00 A8 C5 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 BC 43 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 A3 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 90 00 [09:17:23]wFMCommunicate OK [09:17:23]wFMCommunicate request_size=4 [09:17:23]MH_SAM_APDU [09:17:23]CAPDU: 80 17 00 00 [09:17:23]Write to MH i2c: E2 08 00 19 00 80 17 00 00 00 00 00 00 99 [09:17:23]Write i2c OK [09:17:23]MH_I2C_Read... [09:17:23]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:17:23]Read from MH i2c: E2 [09:17:23]MH_I2C_Read... [09:17:23]Read from MH i2c: E2 FD 00 [09:17:23]MH_I2C_Read... [09:17:23]Read from MH i2c: E2 FD 00 19 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 90 00 AE [09:17:23]RAPDU: 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 90 00 [09:17:23]wFMCommunicate OK [09:17:23]wFMCommunicate request_size=4 [09:17:23]MH_SAM_APDU [09:17:23]CAPDU: 80 17 00 00 [09:17:23]Write to MH i2c: E2 08 00 1A 00 80 17 00 00 00 00 00 00 9A [09:17:23]Write i2c OK [09:17:23]MH_I2C_Read... [09:17:23]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:17:23]Read from MH i2c: E2 [09:17:23]MH_I2C_Read... [09:17:23]Read from MH i2c: E2 FD 00 [09:17:23]MH_I2C_Read... [09:17:23]Read from MH i2c: E2 FD 00 1A 00 00 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 90 00 5B [09:17:23]RAPDU: 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 90 00 [09:17:23]wFMCommunicate OK [09:17:23]wFMCommunicate request_size=4 [09:17:23]MH_SAM_APDU [09:17:23]CAPDU: 80 17 00 00 [09:17:23]Write to MH i2c: E2 08 00 1B 00 80 17 00 00 00 00 00 00 9B [09:17:23]Write i2c OK [09:17:23]MH_I2C_Read... [09:17:23]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:17:23]Read from MH i2c: E2 [09:17:23]MH_I2C_Read... [09:17:23]Read from MH i2c: E2 FD 00 [09:17:23]MH_I2C_Read... [09:17:23]Read from MH i2c: E2 FD 00 1B 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 90 00 10 [09:17:24]RAPDU: EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 90 00 [09:17:24]wFMCommunicate OK [09:17:24]wFMCommunicate request_size=4 [09:17:24]MH_SAM_APDU [09:17:24]CAPDU: 80 17 00 00 [09:17:24]Write to MH i2c: E2 08 00 1C 00 80 17 00 00 00 00 00 00 9C [09:17:24]Write i2c OK [09:17:24]MH_I2C_Read... [09:17:24]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 198! [09:17:24]Read from MH i2c: E2 [09:17:24]MH_I2C_Read... [09:17:24]Read from MH i2c: E2 C9 00 [09:17:24]MH_I2C_Read... [09:17:24]Read from MH i2c: E2 C9 00 1C 00 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 80 [09:17:24]RAPDU: 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [09:17:24]wFMCommunicate OK [09:17:24]SAM_PROTO_GetShiftData done [09:17:24]requested_item shift.sale.total_cash is exist - process it [09:17:24]requested_item shift.sale_refund.total is exist - process it [09:17:24]requested_item shift.sale_refund.total_cash is exist - process it [09:17:24]requested_item shift.buy.total is exist - process it [09:17:24]requested_item shift.buy.total_cash is exist - process it [09:17:24]produce_requested_data done [09:17:24]produce_requested_data return {"fm.sale.total":926960.31,"fm.sale_refund.total":1764.00,"fm.buy.total":0.00,"shift.sale.total":1633.00,"shift.sale.total_cash":1127.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} [09:17:24]process_action_free get_value [09:17:24]json_value_free [09:17:24]json_value_free done [09:17:24]process_json_proto returns [09:17:24]Send response to host [09:17:24]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":926960.31,"fm.sale_refund.total":1764.00,"fm.buy.total":0.00,"shift.sale.total":1633.00,"shift.sale.total_cash":1127.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}}} [09:17:24]free response buf [09:17:24]execute_script done [09:17:24]execute_script returns [09:17:24]free content buf [09:17:24]Sock 7.Close socket [09:17:24]Sock 7.Thread stoped [09:17:27]OFD Sender: No OFD packet to send [09:17:32]OFD Sender: No OFD packet to send [09:17:37]OFD Sender: No OFD packet to send [09:17:42]OFD Sender: No OFD packet to send [09:17:47]OFD Sender: No OFD packet to send [09:17:52]OFD Sender: No OFD packet to send [09:17:57]OFD Sender: No OFD packet to send [09:18:02]OFD Sender: No OFD packet to send [09:18:07]OFD Sender: No OFD packet to send [09:18:12]OFD Sender: No OFD packet to send [09:18:17]OFD Sender: No OFD packet to send [09:18:22]OFD Sender: No OFD packet to send [09:18:27]OFD Sender: No OFD packet to send [09:18:32]OFD Sender: No OFD packet to send [09:18:37]OFD Sender: No OFD packet to send [09:18:42]OFD Sender: No OFD packet to send [09:18:47]OFD Sender: No OFD packet to send [09:18:52]OFD Sender: No OFD packet to send [09:18:57]OFD Sender: No OFD packet to send [09:19:02]OFD Sender: No OFD packet to send [09:19:07]OFD Sender: No OFD packet to send [09:19:12]OFD Sender: No OFD packet to send [09:19:17]OFD Sender: No OFD packet to send [09:19:22]OFD Sender: No OFD packet to send [09:19:27]OFD Sender: No OFD packet to send [09:19:32]OFD Sender: No OFD packet to send [09:19:37]OFD Sender: No OFD packet to send [09:19:42]OFD Sender: No OFD packet to send [09:19:47]OFD Sender: No OFD packet to send [09:19:52]OFD Sender: No OFD packet to send [09:19:57]OFD Sender: No OFD packet to send [09:20:02]OFD Sender: No OFD packet to send [09:20:07]OFD Sender: No OFD packet to send [09:20:12]OFD Sender: No OFD packet to send [09:20:17]OFD Sender: No OFD packet to send [09:20:22]OFD Sender: No OFD packet to send [09:20:27]OFD Sender: No OFD packet to send [09:20:32]OFD Sender: No OFD packet to send [09:20:37]OFD Sender: No OFD packet to send [09:20:42]OFD Sender: No OFD packet to send [09:20:47]OFD Sender: No OFD packet to send [09:20:52]OFD Sender: No OFD packet to send [09:20:57]OFD Sender: No OFD packet to send [09:21:02]OFD Sender: No OFD packet to send [09:21:07]OFD Sender: No OFD packet to send [09:21:12]OFD Sender: No OFD packet to send [09:21:17]OFD Sender: No OFD packet to send [09:21:22]OFD Sender: No OFD packet to send [09:21:27]OFD Sender: No OFD packet to send [09:21:32]OFD Sender: No OFD packet to send [09:21:37]OFD Sender: No OFD packet to send [09:21:42]OFD Sender: No OFD packet to send [09:21:47]OFD Sender: No OFD packet to send [09:21:52]OFD Sender: No OFD packet to send [09:21:57]OFD Sender: No OFD packet to send [09:22:02]OFD Sender: No OFD packet to send [09:22:07]OFD Sender: No OFD packet to send [09:22:12]OFD Sender: No OFD packet to send [09:22:17]OFD Sender: No OFD packet to send [09:22:22]OFD Sender: No OFD packet to send [09:22:27]OFD Sender: No OFD packet to send [09:22:32]OFD Sender: No OFD packet to send [09:22:37]OFD Sender: No OFD packet to send [09:22:42]OFD Sender: No OFD packet to send [09:22:47]OFD Sender: No OFD packet to send [09:22:52]OFD Sender: No OFD packet to send [09:22:57]OFD Sender: No OFD packet to send [09:23:02]OFD Sender: No OFD packet to send [09:23:07]OFD Sender: No OFD packet to send [09:23:12]OFD Sender: No OFD packet to send [09:23:17]OFD Sender: No OFD packet to send [09:23:22]OFD Sender: No OFD packet to send [09:23:27]OFD Sender: No OFD packet to send [09:23:32]OFD Sender: No OFD packet to send [09:23:37]OFD Sender: No OFD packet to send [09:23:42]OFD Sender: No OFD packet to send [09:23:48]OFD Sender: No OFD packet to send [09:23:53]OFD Sender: No OFD packet to send [09:23:58]OFD Sender: No OFD packet to send [09:24:03]OFD Sender: No OFD packet to send [09:24:08]OFD Sender: No OFD packet to send [09:24:13]OFD Sender: No OFD packet to send [09:24:13]recv_with_timeout no data received [09:24:18]OFD Sender: No OFD packet to send [09:24:23]OFD Sender: No OFD packet to send [09:24:28]OFD Sender: No OFD packet to send [09:24:33]OFD Sender: No OFD packet to send [09:24:38]OFD Sender: No OFD packet to send [09:24:43]OFD Sender: No OFD packet to send [09:24:48]OFD Sender: No OFD packet to send [09:24:53]OFD Sender: No OFD packet to send [09:24:58]OFD Sender: No OFD packet to send [09:25:03]OFD Sender: No OFD packet to send [09:25:08]OFD Sender: No OFD packet to send [09:25:13]OFD Sender: No OFD packet to send [09:25:18]OFD Sender: No OFD packet to send [09:25:23]OFD Sender: No OFD packet to send [09:25:28]OFD Sender: No OFD packet to send [09:25:33]OFD Sender: No OFD packet to send [09:25:38]OFD Sender: No OFD packet to send [09:25:43]OFD Sender: No OFD packet to send [09:25:48]OFD Sender: No OFD packet to send [09:25:53]OFD Sender: No OFD packet to send [09:25:58]OFD Sender: No OFD packet to send [09:26:03]OFD Sender: No OFD packet to send [09:26:08]OFD Sender: No OFD packet to send [09:26:13]OFD Sender: No OFD packet to send [09:26:18]OFD Sender: No OFD packet to send [09:26:23]OFD Sender: No OFD packet to send [09:26:28]OFD Sender: No OFD packet to send [09:26:33]OFD Sender: No OFD packet to send [09:26:38]OFD Sender: No OFD packet to send [09:26:43]OFD Sender: No OFD packet to send [09:26:48]OFD Sender: No OFD packet to send [09:26:53]OFD Sender: No OFD packet to send [09:26:58]OFD Sender: No OFD packet to send [09:27:03]OFD Sender: No OFD packet to send [09:27:08]OFD Sender: No OFD packet to send [09:27:13]OFD Sender: No OFD packet to send [09:27:18]OFD Sender: No OFD packet to send [09:27:23]OFD Sender: No OFD packet to send [09:27:28]OFD Sender: No OFD packet to send [09:27:33]OFD Sender: No OFD packet to send [09:27:38]OFD Sender: No OFD packet to send [09:27:43]OFD Sender: No OFD packet to send [09:27:48]OFD Sender: No OFD packet to send [09:27:53]OFD Sender: No OFD packet to send [09:27:58]OFD Sender: No OFD packet to send [09:28:03]OFD Sender: No OFD packet to send [09:28:08]OFD Sender: No OFD packet to send [09:28:13]OFD Sender: No OFD packet to send [09:28:18]OFD Sender: No OFD packet to send [09:28:23]OFD Sender: No OFD packet to send [09:28:28]OFD Sender: No OFD packet to send [09:28:33]OFD Sender: No OFD packet to send [09:28:38]OFD Sender: No OFD packet to send [09:28:43]OFD Sender: No OFD packet to send [09:28:48]OFD Sender: No OFD packet to send [09:28:53]OFD Sender: No OFD packet to send [09:28:58]OFD Sender: No OFD packet to send [09:29:03]OFD Sender: No OFD packet to send [09:29:08]OFD Sender: No OFD packet to send [09:29:13]OFD Sender: No OFD packet to send [09:29:18]OFD Sender: No OFD packet to send [09:29:23]OFD Sender: No OFD packet to send [09:29:28]OFD Sender: No OFD packet to send [09:29:33]OFD Sender: No OFD packet to send [09:29:38]OFD Sender: No OFD packet to send [09:29:43]OFD Sender: No OFD packet to send [09:29:48]OFD Sender: No OFD packet to send [09:29:53]OFD Sender: No OFD packet to send [09:29:58]OFD Sender: No OFD packet to send [09:30:03]OFD Sender: No OFD packet to send [09:30:08]OFD Sender: No OFD packet to send [09:30:13]OFD Sender: No OFD packet to send [09:30:18]OFD Sender: No OFD packet to send [09:30:23]OFD Sender: No OFD packet to send [09:30:28]OFD Sender: No OFD packet to send [09:30:33]OFD Sender: No OFD packet to send [09:30:38]OFD Sender: No OFD packet to send [09:30:43]OFD Sender: No OFD packet to send [09:30:48]OFD Sender: No OFD packet to send [09:30:53]OFD Sender: No OFD packet to send [09:30:58]OFD Sender: No OFD packet to send [09:31:03]OFD Sender: No OFD packet to send [09:31:08]OFD Sender: No OFD packet to send [09:31:13]OFD Sender: No OFD packet to send [09:31:15]accept exits with 9 [09:31:15]New connection [09:31:15]New thread 3067444580 created [09:31:15]Thread 3067301220 joined [09:31:15]Waiting for new connection... [09:31:15] Sock 9.Parse request [09:31:15]Sock 9.Check first char [09:31:15]Sock 9.First char is OK [09:31:15]request: POST /json_proto HTTP/1.0 [09:31:15]Method: POST [09:31:15]URL: /json_proto [09:31:15]Method is POST - this is cgi request [09:31:15]url: /json_proto [09:31:15]query_string will be loaded in cgi processing [09:31:15]execute_cgi json_proto POST (null) [09:31:15]execute_cgi path=json_proto method=POST [09:31:15]POST find Content-Length [09:31:15]Host: 172.17.56.68:8080 [09:31:15]Content-Length: 612 [09:31:15]Content-Type: application/json [09:31:15] [09:31:15]POST finish read [09:31:15]Found Content-Length = 612 [09:31:15]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4405", "tax_sys" : 0, "items" : [ { "code": "4870001570071", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1\u043B", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 110.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:31:15]execute_script... [09:31:15]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4405", "tax_sys" : 0, "items" : [ { "code": "4870001570071", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1\u043B", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 110.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:31:15]POST & json_proto [09:31:15]process_json_proto [09:31:15]json parsed OK: [09:31:15]protocol is kg_v1.0 [09:31:15]action value=close_receipt [09:31:15]process_action close_receipt [09:31:15]cmd_close_receipt [09:31:15]MH_GetDate [09:31:15]Write to MH i2c: F0 00 00 1D 00 0C [09:31:15]Write i2c OK [09:31:15]MH_I2C_Read... [09:31:15]Read from MH i2c: F0 [09:31:15]MH_I2C_Read... [09:31:15]Read from MH i2c: F0 09 00 [09:31:15]MH_I2C_Read... [09:31:15]Read from MH i2c: F0 09 00 1D 00 00 63 30 60 66 42 69 5C 66 DB [09:31:15]GetLastDocTimeStamp 1717576424 [09:31:15]current date 1717579875 [09:31:15]FM_GetShiftState [09:31:15]SAM_PROTO_GetShiftState [09:31:15]wFMCommunicate request_size=4 [09:31:15]MH_SAM_APDU [09:31:15]CAPDU: 80 13 01 00 [09:31:15]Write to MH i2c: E2 08 00 1E 00 80 13 01 00 00 00 00 00 9B [09:31:15]Write i2c OK [09:31:15]MH_I2C_Read... [09:31:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:31:15]Read from MH i2c: E2 [09:31:15]MH_I2C_Read... [09:31:15]Read from MH i2c: E2 0E 00 [09:31:15]MH_I2C_Read... [09:31:15]Read from MH i2c: E2 0E 00 1E 00 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 3C [09:31:15]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [09:31:15]wFMCommunicate OK [09:31:15]SAM_PROTO_GetShiftState done [09:31:15]FM_GetShiftState done [09:31:15]opened in 1717545765 [09:31:15]opened+sec_in_day 1717632165 [09:31:15]quantity*price = 11000 [09:31:15]sum+1 = 11001 [09:31:15]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 110.00 НСП 1% : 0.97 НДС 12% : 11.68 Наличными: 110.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 10 05.06.2024 09:31 Смена: 84 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4152 ФПД: 214442161922002 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T093115&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4152&fm=214442161922002&tin=02508201610067®Number=0000000000145775&sum=11000 0 [09:31:16]StoreToDocumentArchive [09:31:16]shift 84 fd 4152 [09:31:16]save to /storage/0084/doc_00004152 [09:31:16]save last doc name /storage/0084/doc_00004152 to /storage/kkm_last_doc_name [09:31:16]save OK [09:31:16]Clear old archive folders... [09:31:16]ProcessDocumentItem done err = 0, tmpTLVsize=266 [09:31:16]tlvbuf is 008FF740 [09:31:16]SAM_PROTO_ClearQueue [09:31:16]wFMCommunicate request_size=4 [09:31:16]MH_SAM_APDU [09:31:16]CAPDU: 80 09 00 00 [09:31:16]Write to MH i2c: E2 08 00 2B 00 80 09 00 00 00 00 00 00 9D [09:31:16]Write i2c OK [09:31:16]MH_I2C_Read... [09:31:16]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:31:16]Read from MH i2c: E2 [09:31:16]MH_I2C_Read... [09:31:16]Read from MH i2c: E2 03 00 [09:31:16]MH_I2C_Read... [09:31:16]Read from MH i2c: E2 03 00 2B 00 00 90 00 9F [09:31:16]RAPDU: 90 00 [09:31:16]wFMCommunicate OK [09:31:16]SAM_PROTO_ClearQueue done [09:31:16]KKMCreateOFDPacket [09:31:16]OFDProtocolAddRootSTLVToBuf [09:31:16]FM_MakeSignedData [09:31:16]FM_MakeSignedData [09:31:16]SAM_PROTO_SignData [09:31:16]wFMCommunicate request_size=4 [09:31:16]MH_SAM_APDU [09:31:16]CAPDU: 80 0D 01 02 [09:31:16]Write to MH i2c: E2 08 00 2C 00 80 0D 01 02 00 00 00 00 A5 [09:31:16]Write i2c OK [09:31:16]MH_I2C_Read... [09:31:16]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:31:16]Read from MH i2c: E2 [09:31:16]MH_I2C_Read... [09:31:16]Read from MH i2c: E2 03 00 [09:31:16]MH_I2C_Read... [09:31:16]Read from MH i2c: E2 03 00 2C 00 00 90 00 A0 [09:31:16]RAPDU: 90 00 [09:31:16]wFMCommunicate OK [09:31:16]wFMCommunicate request_size=255 [09:31:16]MH_SAM_APDU [09:31:16]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 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 F8 2A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 63 30 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 [09:31:16]Write to MH i2c: E2 02 01 2D 00 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 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 F8 2A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 63 30 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 00 00 D9 [09:31:16]Write i2c OK [09:31:16]MH_I2C_Read... [09:31:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:31:16]Read from MH i2c: E2 [09:31:16]MH_I2C_Read... [09:31:16]Read from MH i2c: E2 03 00 [09:31:16]MH_I2C_Read... [09:31:16]Read from MH i2c: E2 03 00 2D 00 00 90 00 A1 [09:31:16]RAPDU: 90 00 [09:31:16]wFMCommunicate OK [09:31:16]wFMCommunicate request_size=25 [09:31:16]MH_SAM_APDU [09:31:16]CAPDU: 80 0D 02 02 14 36 30 10 04 04 00 38 10 00 00 35 04 06 00 C3 08 B4 E2 DF D2 [09:31:16]Write to MH i2c: E2 1C 00 2E 00 80 0D 02 02 14 00 36 30 10 04 04 00 38 10 00 00 35 04 06 00 C3 08 B4 E2 DF D2 00 00 E7 [09:31:16]Write i2c OK [09:31:16]MH_I2C_Read... [09:31:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:31:16]Read from MH i2c: E2 [09:31:16]MH_I2C_Read... [09:31:16]Read from MH i2c: E2 03 00 [09:31:16]MH_I2C_Read... [09:31:16]Read from MH i2c: E2 03 00 2E 00 00 90 00 A2 [09:31:16]RAPDU: 90 00 [09:31:16]wFMCommunicate OK [09:31:16]wFMCommunicate request_size=4 [09:31:16]MH_SAM_APDU [09:31:16]CAPDU: 80 0D 03 02 [09:31:16]Write to MH i2c: E2 08 00 2F 00 80 0D 03 02 00 00 00 00 AA [09:31:16]Write i2c OK [09:31:16]MH_I2C_Read... [09:31:16]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:31:16]Read from MH i2c: E2 [09:31:16]MH_I2C_Read... [09:31:16]Read from MH i2c: E2 0B 00 [09:31:16]MH_I2C_Read... [09:31:16]Read from MH i2c: E2 0B 00 2F 00 00 04 D9 C0 92 D9 6C 54 73 90 00 E6 [09:31:16]RAPDU: 04 D9 C0 92 D9 6C 54 73 90 00 [09:31:16]wFMCommunicate OK [09:31:16]SAM_PROTO_SignData done [09:31:16]FM_MakeSignedData done [09:31:16]CreateOFDProtocolMessage [09:31:16]wFMCommunicate request_size=4 [09:31:16]MH_SAM_APDU [09:31:16]CAPDU: 80 11 00 00 [09:31:16]Write to MH i2c: E2 08 00 30 00 80 11 00 00 00 00 00 00 AA [09:31:16]Write i2c OK [09:31:16]MH_I2C_Read... [09:31:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:31:16]Read from MH i2c: E2 [09:31:16]MH_I2C_Read... [09:31:16]Read from MH i2c: E2 17 00 [09:31:16]MH_I2C_Read... [09:31:16]Read from MH i2c: E2 17 00 30 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 FD [09:31:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [09:31:16]wFMCommunicate OK [09:31:16]CreateOFDProtocolMessage done [09:31:16]OFDSenderStorePacket 4152 [09:31:16]StoreOFDPacket docnum=4152 [09:31:16]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 1E 01 00 00 38 23 16 01 BA B9 5A 03 01 00 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 F8 2A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 63 30 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 38 10 00 00 35 04 06 00 C3 08 B4 E2 DF D2 04 D9 C0 92 D9 6C 54 73 [09:31:16]CheckFolder [09:31:16]dirname=/storage/ofd_packets [09:31:16]CheckFolder done [09:31:16]ProducePacketName [09:31:16]name=ofd_packets/00004152 [09:31:16]NVStorageSaveData ofd_packets/00004152 [09:31:16]File name is /storage/ofd_packets/00004152 [09:31:16]Write 316 bytes [09:31:16]NVStorageSaveData done [09:31:16]OFDSenderStorePacket done [09:31:16]KKMCreateOFDPacket done [09:31:16]NVStorageSaveData kkm_last_timestamp [09:31:16]File name is /storage/kkm_last_timestamp [09:31:16]Write 4 bytes [09:31:16]NVStorageSaveData done [09:31:16]ExternCall_PrintAddStr [09:31:16]wPrintStart [09:31:16]Write to MH i2c: 01 00 00 31 00 31 [09:31:16]Write i2c OK [09:31:16]MH_I2C_Read... [09:31:16]Read from MH i2c: 01 [09:31:16]MH_I2C_Read... [09:31:16]Read from MH i2c: 01 07 00 [09:31:16]MH_I2C_Read... [09:31:16]Read from MH i2c: 01 07 00 31 00 00 00 00 00 00 FF 0F 46 [09:31:16]RasterBufferAndPrint [09:31:16]line Счет N : (3)4405 [09:31:16]line ИНН: 02508201610067 [09:31:16]line Контрольно-Кассовый Чек [09:31:16]line ПРОДАЖА [09:31:16]line Товар: 4870001570071 [09:31:16]line Напиток Pepsi 1л [09:31:16]line 1.000 * 110.00 [09:31:16]line = 110.00 [09:31:16]line НДС 12% НСП 1% [09:31:16]line > о реализуемом товаре [09:31:16]line ИТОГО: 110.00 [09:31:16]line НСП 1% : 0.97 [09:31:16]line НДС 12% : 11.68 [09:31:16]line Наличными: 110.00 [09:31:16]line Безнал.: 0.00 [09:31:16]line Место: АЗС № 116 "Партнер Нефть" [09:31:16]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [09:31:16]line СНО: Общий режим [09:31:16]line Чек 10 05.06.2024 09:31 [09:31:16]line Смена: 84 ФФД: 1.0 [09:31:16]line ЗНМ: 0300000233 [09:31:16]line РНМ: 0000000000145775 [09:31:16]line Версия ККМ: v1.0 [09:31:16]line ФМ: 0000000000959360 [09:31:16]line ФД: 4152 [09:31:16]line ФПД: 214442161922002 [09:31:17]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T093115&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4152&fm=214442161922002&tin=02508201610067®Number=0000000000145775&sum=11000 [09:31:17]OFD Sender: Processing packet 4152 [packets to send 2, broken 1] [09:31:17]ProducePacketName [09:31:17]name=ofd_packets/00004152 [09:31:17]OFD Sender: To server: pG, [09:31:17]CommunicateWithHost lk.salyk.kg:30040 [09:31:17]ConnectInit lk.salyk.kg [09:31:17]line 0 [09:31:17]written 0, free lines is 4095 [09:31:17]Connected sock=10 [09:31:17]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 1E 01 00 00 38 23 16 01 BA B9 5A 03 01 00 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 F8 2A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 63 30 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 38 10 00 00 35 04 06 00 C3 08 B4 E2 DF D2 04 D9 C0 92 D9 6C 54 73 [09:31:17]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 88 9C 47 00 0D 9E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 38 10 00 00 F4 03 04 00 61 DC 5F 66 B6 04 01 00 00 34 CD DB EC 8D 57 90 7D [09:31:17]CommunicateWithHost err = 0 [09:31:17]CheckOFDResponse [09:31:17]1017 (14) - 77093643461234 [09:31:17]1041 (16) - 0000000000959360 [09:31:17]1040 (4) - 4152 [09:31:17]1012 (4) - 05.06.2024 03:32 [09:31:17]1206 (1) - 0 [09:31:17]OFD Sender: Remove packet 4152 [09:31:17]ProducePacketName [09:31:17]name=ofd_packets/00004152 [09:31:17]NVStorageDeleteData [09:31:17]Write to MH i2c: 01 00 00 59 00 59 [09:31:17]Write i2c OK [09:31:17]MH_I2C_Read... [09:31:17]Read from MH i2c: 01 [09:31:17]MH_I2C_Read... [09:31:17]Read from MH i2c: 01 07 00 [09:31:17]MH_I2C_Read... [09:31:17]Read from MH i2c: 01 07 00 59 00 00 00 00 00 00 C5 0C 31 [09:31:17]RasterBufferAndPrint [09:31:17]line [09:31:17]line [09:31:17]line [09:31:17]line [09:31:17]line [09:31:17]written 0, free lines is 3272 [09:31:17]MH_Cut [09:31:17]Write to MH i2c: D1 01 00 60 00 01 32 [09:31:17]Write i2c OK [09:31:17]MH_I2C_Read... [09:31:17]Read from MH i2c: D1 [09:31:17]MH_I2C_Read... [09:31:17]Read from MH i2c: D1 01 00 [09:31:17]MH_I2C_Read... [09:31:17]Read from MH i2c: D1 01 00 60 00 00 31 [09:31:17]Write to MH i2c: 01 00 00 61 00 61 [09:31:17]Write i2c OK [09:31:17]MH_I2C_Read... [09:31:18]OFD Sender: No OFD packet to send [09:31:18]*** Cut start [09:31:18]*** Partial cut [09:31:18]*** CUTSNS_PIN = 1 [09:31:18]*** CUTSNS_PIN = 0 [09:31:18]*** Brake cut motor [09:31:19]Read from MH i2c: 01 [09:31:19]MH_I2C_Read... [09:31:19]*** Stop cut motor [09:31:19]*** Cut end [09:31:19]Read from MH i2c: 01 07 00 [09:31:19]MH_I2C_Read... [09:31:19]Read from MH i2c: 01 07 00 61 00 00 00 00 00 00 FF 0F 76 [09:31:19]process_action close_receipt done [09:31:19]requested_data is exist [09:31:19]produce_requested_data [09:31:19]requested_item fm.sn is exist - process it [09:31:19]wFMCommunicate request_size=4 [09:31:19]MH_SAM_APDU [09:31:19]CAPDU: 80 11 00 00 [09:31:19]Write to MH i2c: E2 08 00 62 00 80 11 00 00 00 00 00 00 DC [09:31:19]Write i2c OK [09:31:19]MH_I2C_Read... [09:31:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:31:19]Read from MH i2c: E2 [09:31:19]MH_I2C_Read... [09:31:19]Read from MH i2c: E2 17 00 [09:31:19]MH_I2C_Read... [09:31:19]Read from MH i2c: E2 17 00 62 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 2F [09:31:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [09:31:19]wFMCommunicate OK [09:31:19]requested_item fd.num is exist - process it [09:31:19]SAM_PROTO_GetFieldsCounters [09:31:19]wFMCommunicate request_size=4 [09:31:19]MH_SAM_APDU [09:31:19]CAPDU: 80 13 00 00 [09:31:19]Write to MH i2c: E2 08 00 63 00 80 13 00 00 00 00 00 00 DF [09:31:19]Write i2c OK [09:31:19]MH_I2C_Read... [09:31:19]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:31:19]Read from MH i2c: E2 [09:31:19]MH_I2C_Read... [09:31:19]Read from MH i2c: E2 62 00 [09:31:19]MH_I2C_Read... [09:31:19]Read from MH i2c: E2 62 00 63 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 38 10 00 00 0E 04 04 00 54 00 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 BE [09:31:19]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 38 10 00 00 0E 04 04 00 54 00 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:31:19]wFMCommunicate OK [09:31:19]SAM_PROTO_GetFieldsCounters done [09:31:19]requested_item shift.num is exist - process it [09:31:19]requested_item shift.opened is exist - process it [09:31:19]req_shift_opened [09:31:19]FM_GetShiftState [09:31:19]SAM_PROTO_GetShiftState [09:31:19]wFMCommunicate request_size=4 [09:31:19]MH_SAM_APDU [09:31:19]CAPDU: 80 13 01 00 [09:31:19]Write to MH i2c: E2 08 00 64 00 80 13 01 00 00 00 00 00 E1 [09:31:19]Write i2c OK [09:31:19]MH_I2C_Read... [09:31:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:31:19]Read from MH i2c: E2 [09:31:19]MH_I2C_Read... [09:31:19]Read from MH i2c: E2 0E 00 [09:31:19]MH_I2C_Read... [09:31:19]Read from MH i2c: E2 0E 00 64 00 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 82 [09:31:19]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [09:31:19]wFMCommunicate OK [09:31:19]SAM_PROTO_GetShiftState done [09:31:19]FM_GetShiftState done [09:31:19]req_shift_opened done [09:31:19]requested_item shift.open_date is exist - process it [09:31:19]req_shift_open_date [09:31:19]req_shift_open_date done [09:31:19]produce_requested_data done [09:31:19]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4152,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765} [09:31:19]process_action_free close_receipt [09:31:19]json_value_free [09:31:19]json_value_free done [09:31:19]process_json_proto returns [09:31:19]Send response to host [09:31:19]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4152,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765}}} [09:31:19]free response buf [09:31:19]execute_script done [09:31:19]execute_script returns [09:31:19]free content buf [09:31:19]Sock 9.Close socket [09:31:19]Sock 9.Thread stoped [09:31:23]OFD Sender: No OFD packet to send [09:31:28]OFD Sender: No OFD packet to send [09:31:33]OFD Sender: No OFD packet to send [09:31:38]OFD Sender: No OFD packet to send [09:31:43]OFD Sender: No OFD packet to send [09:31:48]OFD Sender: No OFD packet to send [09:31:53]OFD Sender: No OFD packet to send [09:31:58]OFD Sender: No OFD packet to send [09:32:03]OFD Sender: No OFD packet to send [09:32:08]OFD Sender: No OFD packet to send [09:32:13]OFD Sender: No OFD packet to send [09:32:18]OFD Sender: No OFD packet to send [09:32:23]OFD Sender: No OFD packet to send [09:32:28]OFD Sender: No OFD packet to send [09:32:33]OFD Sender: No OFD packet to send [09:32:38]OFD Sender: No OFD packet to send [09:32:43]OFD Sender: No OFD packet to send [09:32:48]OFD Sender: No OFD packet to send [09:32:53]OFD Sender: No OFD packet to send [09:32:58]OFD Sender: No OFD packet to send [09:33:03]OFD Sender: No OFD packet to send [09:33:08]OFD Sender: No OFD packet to send [09:33:13]OFD Sender: No OFD packet to send [09:33:18]OFD Sender: No OFD packet to send [09:33:23]OFD Sender: No OFD packet to send [09:33:28]OFD Sender: No OFD packet to send [09:33:33]OFD Sender: No OFD packet to send [09:33:38]OFD Sender: No OFD packet to send [09:33:43]OFD Sender: No OFD packet to send [09:33:48]OFD Sender: No OFD packet to send [09:33:53]OFD Sender: No OFD packet to send [09:33:58]OFD Sender: No OFD packet to send [09:34:03]OFD Sender: No OFD packet to send [09:34:08]OFD Sender: No OFD packet to send [09:34:13]OFD Sender: No OFD packet to send [09:34:18]OFD Sender: No OFD packet to send [09:34:23]OFD Sender: No OFD packet to send [09:34:28]accept exits with 7 [09:34:28]New connection [09:34:28]New thread 3067301220 created [09:34:28]Thread 3067444580 joined [09:34:28]Waiting for new connection... [09:34:28] Sock 7.Parse request [09:34:28]Sock 7.Check first char [09:34:28]Sock 7.First char is OK [09:34:28]request: POST /json_proto HTTP/1.0 [09:34:28]Method: POST [09:34:28]URL: /json_proto [09:34:28]Method is POST - this is cgi request [09:34:28]url: /json_proto [09:34:28]query_string will be loaded in cgi processing [09:34:28]execute_cgi json_proto POST (null) [09:34:28]execute_cgi path=json_proto method=POST [09:34:28]POST find Content-Length [09:34:28]Host: 172.17.56.68:8080 [09:34:28]Content-Length: 668 [09:34:28]Content-Type: application/json [09:34:28] [09:34:28]POST finish read [09:34:28]Found Content-Length = 668 [09:34:28]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4406", "tax_sys" : 0, "items" : [ { "code": "4700003010056", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B Let`s Go! \u0437\u0435\u043B \u043B\u0438\u043C \u041F\u042D\u0422 1,25\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:34:28]execute_script... [09:34: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)4406", "tax_sys" : 0, "items" : [ { "code": "4700003010056", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B Let`s Go! \u0437\u0435\u043B \u043B\u0438\u043C \u041F\u042D\u0422 1,25\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:34:28]POST & json_proto [09:34:28]process_json_proto [09:34:28]json parsed OK: [09:34:28]protocol is kg_v1.0 [09:34:28]action value=close_receipt [09:34:28]process_action close_receipt [09:34:28]cmd_close_receipt [09:34:28]MH_GetDate [09:34:28]Write to MH i2c: F0 00 00 65 00 54 [09:34:28]Write i2c OK [09:34:28]MH_I2C_Read... [09:34:28]Read from MH i2c: F0 [09:34:28]MH_I2C_Read... [09:34:28]Read from MH i2c: F0 09 00 [09:34:28]MH_I2C_Read... [09:34:28]Read from MH i2c: F0 09 00 65 00 00 24 31 60 66 42 69 5C 66 E5 [09:34:28]GetLastDocTimeStamp 1717579875 [09:34:28]current date 1717580068 [09:34:28]FM_GetShiftState [09:34:28]SAM_PROTO_GetShiftState [09:34:28]wFMCommunicate request_size=4 [09:34:28]MH_SAM_APDU [09:34:28]CAPDU: 80 13 01 00 [09:34:28]Write to MH i2c: E2 08 00 66 00 80 13 01 00 00 00 00 00 E3 [09:34:28]Write i2c OK [09:34:28]MH_I2C_Read... [09:34:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:34:28]Read from MH i2c: E2 [09:34:28]MH_I2C_Read... [09:34:28]Read from MH i2c: E2 0E 00 [09:34:28]MH_I2C_Read... [09:34:28]Read from MH i2c: E2 0E 00 66 00 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 84 [09:34:28]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [09:34:28]wFMCommunicate OK [09:34:28]SAM_PROTO_GetShiftState done [09:34:28]FM_GetShiftState done [09:34:28]opened in 1717545765 [09:34:28]opened+sec_in_day 1717632165 [09:34:28]quantity*price = 9500 [09:34:28]sum+1 = 9501 [09:34:28]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 95.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 11 05.06.2024 09:34 Смена: 84 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4153 ФПД: 112488753488976 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T093428&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4153&fm=112488753488976&tin=02508201610067®Number=0000000000145775&sum=9500 0 [09:34:29]StoreToDocumentArchive [09:34:29]shift 84 fd 4153 [09:34:29]save to /storage/0084/doc_00004153 [09:34:29]save last doc name /storage/0084/doc_00004153 to /storage/kkm_last_doc_name [09:34:29]save OK [09:34:29]Clear old archive folders... [09:34:29]ProcessDocumentItem done err = 0, tmpTLVsize=293 [09:34:29]tlvbuf is 008E9A10 [09:34:29]SAM_PROTO_ClearQueue [09:34:29]wFMCommunicate request_size=4 [09:34:29]MH_SAM_APDU [09:34:29]CAPDU: 80 09 00 00 [09:34:29]Write to MH i2c: E2 08 00 73 00 80 09 00 00 00 00 00 00 E5 [09:34:29]Write i2c OK [09:34:29]MH_I2C_Read... [09:34:29]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:34:29]Read from MH i2c: E2 [09:34:29]MH_I2C_Read... [09:34:29]Read from MH i2c: E2 03 00 [09:34:29]MH_I2C_Read... [09:34:29]Read from MH i2c: E2 03 00 73 00 00 90 00 E7 [09:34:29]RAPDU: 90 00 [09:34:29]wFMCommunicate OK [09:34:29]SAM_PROTO_ClearQueue done [09:34:29]KKMCreateOFDPacket [09:34:29]OFDProtocolAddRootSTLVToBuf [09:34:29]FM_MakeSignedData [09:34:29]FM_MakeSignedData [09:34:29]SAM_PROTO_SignData [09:34:29]wFMCommunicate request_size=4 [09:34:29]MH_SAM_APDU [09:34:29]CAPDU: 80 0D 01 02 [09:34:29]Write to MH i2c: E2 08 00 74 00 80 0D 01 02 00 00 00 00 ED [09:34:29]Write i2c OK [09:34:29]MH_I2C_Read... [09:34:29]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:34:29]Read from MH i2c: E2 [09:34:29]MH_I2C_Read... [09:34:29]Read from MH i2c: E2 03 00 [09:34:29]MH_I2C_Read... [09:34:29]Read from MH i2c: E2 03 00 74 00 00 90 00 E8 [09:34:29]RAPDU: 90 00 [09:34:29]wFMCommunicate OK [09:34:29]wFMCommunicate request_size=255 [09:34:29]MH_SAM_APDU [09:34:29]CAPDU: 80 0D 02 02 FA 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 35 36 06 04 33 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC 20 D0 9F D0 AD D0 A2 20 31 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 24 31 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 [09:34:29]Write to MH i2c: E2 02 01 75 00 80 0D 02 02 FA 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 35 36 06 04 33 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC 20 D0 9F D0 AD D0 A2 20 31 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 24 31 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 00 00 5F [09:34:29]Write i2c OK [09:34:29]MH_I2C_Read... [09:34:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:34:29]Read from MH i2c: E2 [09:34:29]MH_I2C_Read... [09:34:29]Read from MH i2c: E2 03 00 [09:34:29]MH_I2C_Read... [09:34:29]Read from MH i2c: E2 03 00 75 00 00 90 00 E9 [09:34:29]RAPDU: 90 00 [09:34:29]wFMCommunicate OK [09:34:29]wFMCommunicate request_size=52 [09:34:29]MH_SAM_APDU [09:34:29]CAPDU: 80 0D 02 02 2F 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 39 10 00 00 35 04 06 00 66 4E D4 31 64 50 [09:34:29]Write to MH i2c: E2 37 00 76 00 80 0D 02 02 2F 00 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 39 10 00 00 35 04 06 00 66 4E D4 31 64 50 00 00 6D [09:34:29]Write i2c OK [09:34:29]MH_I2C_Read... [09:34:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:34:29]Read from MH i2c: E2 [09:34:29]MH_I2C_Read... [09:34:29]Read from MH i2c: E2 03 00 [09:34:29]MH_I2C_Read... [09:34:29]Read from MH i2c: E2 03 00 76 00 00 90 00 EA [09:34:29]RAPDU: 90 00 [09:34:29]wFMCommunicate OK [09:34:29]wFMCommunicate request_size=4 [09:34:29]MH_SAM_APDU [09:34:29]CAPDU: 80 0D 03 02 [09:34:29]Write to MH i2c: E2 08 00 77 00 80 0D 03 02 00 00 00 00 F2 [09:34:29]Write i2c OK [09:34:29]MH_I2C_Read... [09:34:29]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:34:29]Read from MH i2c: E2 [09:34:29]MH_I2C_Read... [09:34:29]Read from MH i2c: E2 0B 00 [09:34:29]MH_I2C_Read... [09:34:29]Read from MH i2c: E2 0B 00 77 00 00 2E 1E 72 16 3D CB 88 0B 90 00 62 [09:34:29]RAPDU: 2E 1E 72 16 3D CB 88 0B 90 00 [09:34:29]wFMCommunicate OK [09:34:29]SAM_PROTO_SignData done [09:34:29]FM_MakeSignedData done [09:34:29]CreateOFDProtocolMessage [09:34:29]wFMCommunicate request_size=4 [09:34:29]MH_SAM_APDU [09:34:29]CAPDU: 80 11 00 00 [09:34:29]Write to MH i2c: E2 08 00 78 00 80 11 00 00 00 00 00 00 F2 [09:34:29]Write i2c OK [09:34:29]MH_I2C_Read... [09:34:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:34:29]Read from MH i2c: E2 [09:34:29]MH_I2C_Read... [09:34:29]Read from MH i2c: E2 17 00 [09:34:29]MH_I2C_Read... [09:34:29]Read from MH i2c: E2 17 00 78 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 45 [09:34:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [09:34:29]wFMCommunicate OK [09:34:29]CreateOFDProtocolMessage done [09:34:29]OFDSenderStorePacket 4153 [09:34:29]StoreOFDPacket docnum=4153 [09:34:29]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 39 01 00 00 D9 BC 31 01 0D 65 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 35 36 06 04 33 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC 20 D0 9F D0 AD D0 A2 20 31 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 24 31 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 39 10 00 00 35 04 06 00 66 4E D4 31 64 50 2E 1E 72 16 3D CB 88 0B [09:34:29]CheckFolder [09:34:29]dirname=/storage/ofd_packets [09:34:29]CheckFolder done [09:34:29]ProducePacketName [09:34:29]name=ofd_packets/00004153 [09:34:29]NVStorageSaveData ofd_packets/00004153 [09:34:29]File name is /storage/ofd_packets/00004153 [09:34:29]Write 343 bytes [09:34:29]NVStorageSaveData done [09:34:29]OFDSenderStorePacket done [09:34:29]KKMCreateOFDPacket done [09:34:29]NVStorageSaveData kkm_last_timestamp [09:34:29]File name is /storage/kkm_last_timestamp [09:34:29]Write 4 bytes [09:34:29]NVStorageSaveData done [09:34:29]ExternCall_PrintAddStr [09:34:29]wPrintStart [09:34:29]Write to MH i2c: 01 00 00 79 00 79 [09:34:29]Write i2c OK [09:34:29]MH_I2C_Read... [09:34:29]Read from MH i2c: 01 [09:34:29]MH_I2C_Read... [09:34:29]Read from MH i2c: 01 07 00 [09:34:29]MH_I2C_Read... [09:34:29]Read from MH i2c: 01 07 00 79 00 00 00 00 00 00 FF 0F 8E [09:34:29]RasterBufferAndPrint [09:34:29]line Счет N : (3)4406 [09:34:29]line ИНН: 02508201610067 [09:34:29]line Контрольно-Кассовый Чек [09:34:29]line ПРОДАЖА [09:34:29]line Товар: 4700003010056 [09:34:29]line Чай хол Let`s Go! зел лим ПЭТ 1,25л [09:34:29]line 1.000 * 95.00 [09:34:29]line = 95.00 [09:34:29]line НДС 12% НСП 1% [09:34:29]line > о реализуемом товаре [09:34:29]line ИТОГО: 95.00 [09:34:29]line НСП 1% : 0.84 [09:34:29]line НДС 12% : 10.09 [09:34:29]line Наличными: 95.00 [09:34:29]line Безнал.: 0.00 [09:34:29]line Место: АЗС № 116 "Партнер Нефть" [09:34:29]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [09:34:29]line СНО: Общий режим [09:34:29]line Чек 11 05.06.2024 09:34 [09:34:30]line Смена: 84 ФФД: 1.0 [09:34:30]line ЗНМ: 0300000233 [09:34:30]line РНМ: 0000000000145775 [09:34:30]line Версия ККМ: v1.0 [09:34:30]line ФМ: 0000000000959360 [09:34:30]line ФД: 4153 [09:34:30]line ФПД: 112488753488976 [09:34:30]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T093428&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4153&fm=112488753488976&tin=02508201610067®Number=0000000000145775&sum=9500 [09:34:30]line 0 [09:34:30]OFD Sender: Processing packet 4153 [packets to send 2, broken 1] [09:34:30]ProducePacketName [09:34:30]name=ofd_packets/00004153 [09:34:30]OFD Sender: To server: pG, [09:34:30]CommunicateWithHost lk.salyk.kg:30040 [09:34:30]ConnectInit lk.salyk.kg [09:34:30]written 0, free lines is 4095 [09:34:30]Connected sock=10 [09:34:30]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 39 01 00 00 D9 BC 31 01 0D 65 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 35 36 06 04 33 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC 20 D0 9F D0 AD D0 A2 20 31 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 24 31 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 39 10 00 00 35 04 06 00 66 4E D4 31 64 50 2E 1E 72 16 3D CB 88 0B [09:34:30]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 9E 83 47 00 5A CD A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 39 10 00 00 F4 03 04 00 22 DD 5F 66 B6 04 01 00 00 93 41 FB AD C1 A1 81 FC [09:34:30]CommunicateWithHost err = 0 [09:34:30]CheckOFDResponse [09:34:30]1017 (14) - 77093643461234 [09:34:30]1041 (16) - 0000000000959360 [09:34:30]1040 (4) - 4153 [09:34:30]1012 (4) - 05.06.2024 03:36 [09:34:30]1206 (1) - 0 [09:34:30]OFD Sender: Remove packet 4153 [09:34:30]ProducePacketName [09:34:30]name=ofd_packets/00004153 [09:34:30]NVStorageDeleteData [09:34:30]Write to MH i2c: 01 00 00 A2 00 A2 [09:34:30]Write i2c OK [09:34:30]MH_I2C_Read... [09:34:30]Read from MH i2c: 01 [09:34:30]MH_I2C_Read... [09:34:30]Read from MH i2c: 01 07 00 [09:34:30]MH_I2C_Read... [09:34:30]Read from MH i2c: 01 07 00 A2 00 00 00 00 00 00 BA 0C 6F [09:34:30]RasterBufferAndPrint [09:34:30]line [09:34:30]line [09:34:30]line [09:34:30]line [09:34:30]line [09:34:30]written 0, free lines is 3262 [09:34:30]MH_Cut [09:34:30]Write to MH i2c: D1 01 00 A9 00 01 7B [09:34:30]Write i2c OK [09:34:30]MH_I2C_Read... [09:34:30]Read from MH i2c: D1 [09:34:30]MH_I2C_Read... [09:34:30]Read from MH i2c: D1 01 00 [09:34:30]MH_I2C_Read... [09:34:30]Read from MH i2c: D1 01 00 A9 00 00 7A [09:34:30]Write to MH i2c: 01 00 00 AA 00 AA [09:34:30]Write i2c OK [09:34:30]MH_I2C_Read... [09:34:30]OFD Sender: No OFD packet to send [09:34:31]*** Cut start [09:34:31]*** Partial cut [09:34:31]*** CUTSNS_PIN = 1 [09:34:31]*** CUTSNS_PIN = 0 [09:34:31]*** Brake cut motor [09:34:32]Read from MH i2c: 01 [09:34:32]MH_I2C_Read... [09:34:32]*** Stop cut motor [09:34:32]*** Cut end [09:34:32]Read from MH i2c: 01 07 00 [09:34:32]MH_I2C_Read... [09:34:32]Read from MH i2c: 01 07 00 AA 00 00 00 00 00 00 FF 0F BF [09:34:32]process_action close_receipt done [09:34:32]requested_data is exist [09:34:32]produce_requested_data [09:34:32]requested_item fm.sn is exist - process it [09:34:32]wFMCommunicate request_size=4 [09:34:32]MH_SAM_APDU [09:34:32]CAPDU: 80 11 00 00 [09:34:32]Write to MH i2c: E2 08 00 AB 00 80 11 00 00 00 00 00 00 25 [09:34:32]Write i2c OK [09:34:32]MH_I2C_Read... [09:34:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:34:32]Read from MH i2c: E2 [09:34:32]MH_I2C_Read... [09:34:32]Read from MH i2c: E2 17 00 [09:34:32]MH_I2C_Read... [09:34:32]Read from MH i2c: E2 17 00 AB 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 78 [09:34:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [09:34:32]wFMCommunicate OK [09:34:32]requested_item fd.num is exist - process it [09:34:32]SAM_PROTO_GetFieldsCounters [09:34:32]wFMCommunicate request_size=4 [09:34:32]MH_SAM_APDU [09:34:32]CAPDU: 80 13 00 00 [09:34:32]Write to MH i2c: E2 08 00 AC 00 80 13 00 00 00 00 00 00 28 [09:34:32]Write i2c OK [09:34:32]MH_I2C_Read... [09:34:32]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:34:32]Read from MH i2c: E2 [09:34:32]MH_I2C_Read... [09:34:32]Read from MH i2c: E2 62 00 [09:34:32]MH_I2C_Read... [09:34:32]Read from MH i2c: E2 62 00 AC 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 39 10 00 00 0E 04 04 00 54 00 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 0B [09:34:32]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 39 10 00 00 0E 04 04 00 54 00 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:32]wFMCommunicate OK [09:34:32]SAM_PROTO_GetFieldsCounters done [09:34:32]requested_item shift.num is exist - process it [09:34:32]requested_item shift.opened is exist - process it [09:34:32]req_shift_opened [09:34:32]FM_GetShiftState [09:34:32]SAM_PROTO_GetShiftState [09:34:32]wFMCommunicate request_size=4 [09:34:32]MH_SAM_APDU [09:34:32]CAPDU: 80 13 01 00 [09:34:32]Write to MH i2c: E2 08 00 AD 00 80 13 01 00 00 00 00 00 2A [09:34:32]Write i2c OK [09:34:32]MH_I2C_Read... [09:34:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:34:32]Read from MH i2c: E2 [09:34:32]MH_I2C_Read... [09:34:32]Read from MH i2c: E2 0E 00 [09:34:32]MH_I2C_Read... [09:34:32]Read from MH i2c: E2 0E 00 AD 00 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 CB [09:34:32]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [09:34:32]wFMCommunicate OK [09:34:32]SAM_PROTO_GetShiftState done [09:34:32]FM_GetShiftState done [09:34:32]req_shift_opened done [09:34:32]requested_item shift.open_date is exist - process it [09:34:32]req_shift_open_date [09:34:32]req_shift_open_date done [09:34:32]produce_requested_data done [09:34:32]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4153,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765} [09:34:32]process_action_free close_receipt [09:34:32]json_value_free [09:34:32]json_value_free done [09:34:32]process_json_proto returns [09:34:32]Send response to host [09:34:32]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4153,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765}}} [09:34:32]free response buf [09:34:32]execute_script done [09:34:32]execute_script returns [09:34:32]free content buf [09:34:32]Sock 7.Close socket [09:34:32]Sock 7.Thread stoped [09:34:35]OFD Sender: No OFD packet to send [09:34:40]OFD Sender: No OFD packet to send [09:34:45]OFD Sender: No OFD packet to send [09:34:50]OFD Sender: No OFD packet to send [09:34:55]OFD Sender: No OFD packet to send [09:35:00]OFD Sender: No OFD packet to send [09:35:05]OFD Sender: No OFD packet to send [09:35:10]OFD Sender: No OFD packet to send [09:35:16]OFD Sender: No OFD packet to send [09:35:21]OFD Sender: No OFD packet to send [09:35:26]OFD Sender: No OFD packet to send [09:35:31]OFD Sender: No OFD packet to send [09:35:36]OFD Sender: No OFD packet to send [09:35:41]OFD Sender: No OFD packet to send [09:35:46]OFD Sender: No OFD packet to send [09:35:51]OFD Sender: No OFD packet to send [09:35:56]OFD Sender: No OFD packet to send [09:36:01]OFD Sender: No OFD packet to send [09:36:06]OFD Sender: No OFD packet to send [09:36:11]OFD Sender: No OFD packet to send [09:36:16]OFD Sender: No OFD packet to send [09:36:21]OFD Sender: No OFD packet to send [09:36:26]OFD Sender: No OFD packet to send [09:36:31]OFD Sender: No OFD packet to send [09:36:36]OFD Sender: No OFD packet to send [09:36:41]OFD Sender: No OFD packet to send [09:36:46]OFD Sender: No OFD packet to send [09:36:51]OFD Sender: No OFD packet to send [09:36:56]OFD Sender: No OFD packet to send [09:37:01]OFD Sender: No OFD packet to send [09:37:06]OFD Sender: No OFD packet to send [09:37:11]OFD Sender: No OFD packet to send [09:37:16]OFD Sender: No OFD packet to send [09:37:21]OFD Sender: No OFD packet to send [09:37:26]OFD Sender: No OFD packet to send [09:37:31]OFD Sender: No OFD packet to send [09:37:36]OFD Sender: No OFD packet to send [09:37:41]OFD Sender: No OFD packet to send [09:37:46]OFD Sender: No OFD packet to send [09:37:51]OFD Sender: No OFD packet to send [09:37:56]OFD Sender: No OFD packet to send [09:38:01]OFD Sender: No OFD packet to send [09:38:06]OFD Sender: No OFD packet to send [09:38:11]OFD Sender: No OFD packet to send [09:38:16]OFD Sender: No OFD packet to send [09:38:21]OFD Sender: No OFD packet to send [09:38:26]OFD Sender: No OFD packet to send [09:38:31]OFD Sender: No OFD packet to send [09:38:36]OFD Sender: No OFD packet to send [09:38:41]OFD Sender: No OFD packet to send [09:38:46]OFD Sender: No OFD packet to send [09:38:51]OFD Sender: No OFD packet to send [09:38:56]OFD Sender: No OFD packet to send [09:39:01]OFD Sender: No OFD packet to send [09:39:06]OFD Sender: No OFD packet to send [09:39:11]OFD Sender: No OFD packet to send [09:39:16]OFD Sender: No OFD packet to send [09:39:21]OFD Sender: No OFD packet to send [09:39:26]OFD Sender: No OFD packet to send [09:39:31]OFD Sender: No OFD packet to send [09:39:36]OFD Sender: No OFD packet to send [09:39:41]OFD Sender: No OFD packet to send [09:39:46]OFD Sender: No OFD packet to send [09:39:51]OFD Sender: No OFD packet to send [09:39:56]OFD Sender: No OFD packet to send [09:40:01]OFD Sender: No OFD packet to send [09:40:06]OFD Sender: No OFD packet to send [09:40:11]OFD Sender: No OFD packet to send [09:40:16]OFD Sender: No OFD packet to send [09:40:21]OFD Sender: No OFD packet to send [09:40:26]OFD Sender: No OFD packet to send [09:40:31]OFD Sender: No OFD packet to send [09:40:36]OFD Sender: No OFD packet to send [09:40:41]OFD Sender: No OFD packet to send [09:40:46]OFD Sender: No OFD packet to send [09:40:51]OFD Sender: No OFD packet to send [09:40:56]OFD Sender: No OFD packet to send [09:41:01]OFD Sender: No OFD packet to send [09:41:06]OFD Sender: No OFD packet to send [09:41:11]OFD Sender: No OFD packet to send [09:41:16]OFD Sender: No OFD packet to send [09:41:21]OFD Sender: No OFD packet to send [09:41:26]OFD Sender: No OFD packet to send [09:41:31]OFD Sender: No OFD packet to send [09:41:36]OFD Sender: No OFD packet to send [09:41:41]OFD Sender: No OFD packet to send [09:41:45]accept exits with 9 [09:41:45]New connection [09:41:45]New thread 3067444580 created [09:41:45]Thread 3067301220 joined [09:41:45]Waiting for new connection... [09:41:45] Sock 9.Parse request [09:41:45]Sock 9.Check first char [09:41:45]Sock 9.First char is OK [09:41:45]request: POST /json_proto HTTP/1.0 [09:41:45]Method: POST [09:41:45]URL: /json_proto [09:41:45]Method is POST - this is cgi request [09:41:45]url: /json_proto [09:41:45]query_string will be loaded in cgi processing [09:41:45]execute_cgi json_proto POST (null) [09:41:45]execute_cgi path=json_proto method=POST [09:41:45]POST find Content-Length [09:41:45]Host: 172.17.56.68:8080 [09:41:45]Content-Length: 1124 [09:41:45]Content-Type: application/json [09:41:45] [09:41:45]POST finish read [09:41:45]Found Content-Length = 1124 [09:41:45]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4407", "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" : 4.000, "sum" : 28.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870002329951", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Lipton IceTea 1\u043B \u0437\u0435\u043B \u0447\u0430\u0439 Regular", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 138.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:41:45]execute_script... [09:41:45]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4407", "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" : 4.000, "sum" : 28.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870002329951", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Lipton IceTea 1\u043B \u0437\u0435\u043B \u0447\u0430\u0439 Regular", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 138.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:41:45]POST & json_proto [09:41:45]process_json_proto [09:41:45]json parsed OK: [09:41:45]protocol is kg_v1.0 [09:41:45]action value=close_receipt [09:41:45]process_action close_receipt [09:41:45]cmd_close_receipt [09:41:45]MH_GetDate [09:41:45]Write to MH i2c: F0 00 00 AE 00 9D [09:41:45]Write i2c OK [09:41:45]MH_I2C_Read... [09:41:45]Read from MH i2c: F0 [09:41:45]MH_I2C_Read... [09:41:45]Read from MH i2c: F0 09 00 [09:41:45]MH_I2C_Read... [09:41:45]Read from MH i2c: F0 09 00 AE 00 00 D9 32 60 66 42 69 5C 66 E4 [09:41:45]GetLastDocTimeStamp 1717580068 [09:41:45]current date 1717580505 [09:41:45]FM_GetShiftState [09:41:45]SAM_PROTO_GetShiftState [09:41:45]wFMCommunicate request_size=4 [09:41:45]MH_SAM_APDU [09:41:45]CAPDU: 80 13 01 00 [09:41:45]Write to MH i2c: E2 08 00 AF 00 80 13 01 00 00 00 00 00 2C [09:41:45]Write i2c OK [09:41:45]MH_I2C_Read... [09:41:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:41:45]Read from MH i2c: E2 [09:41:45]MH_I2C_Read... [09:41:45]Read from MH i2c: E2 0E 00 [09:41:45]MH_I2C_Read... [09:41:45]Read from MH i2c: E2 0E 00 AF 00 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 CD [09:41:45]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [09:41:45]wFMCommunicate OK [09:41:45]SAM_PROTO_GetShiftState done [09:41:45]FM_GetShiftState done [09:41:45]opened in 1717545765 [09:41:45]opened+sec_in_day 1717632165 [09:41:45]quantity*price = 2800 [09:41:45]sum+1 = 2801 [09:41:45]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870002329951 Напиток Lipton IceTea 1л зел чай Regular 1.000 * 110.00 = 110.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 138.00 НСП 1% : 1.22 НДС 12% : 14.65 Наличными: 0.00 Безнал.: 138.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 12 05.06.2024 09:41 Смена: 84 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 Платежная система: О! деньги ФМ: 0000000000959360 ФД: 4154 ФПД: 257935506892230 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T094145&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4154&fm=257935506892230&tin=02508201610067®Number=0000000000145775&sum=13800 0 [09:41:46]StoreToDocumentArchive [09:41:46]shift 84 fd 4154 [09:41:46]save to /storage/0084/doc_00004154 [09:41:46]save last doc name /storage/0084/doc_00004154 to /storage/kkm_last_doc_name [09:41:46]save OK [09:41:46]Clear old archive folders... [09:41:46]ProcessDocumentItem done err = 0, tmpTLVsize=413 [09:41:46]tlvbuf is 008E9600 [09:41:46]SAM_PROTO_ClearQueue [09:41:46]wFMCommunicate request_size=4 [09:41:46]MH_SAM_APDU [09:41:46]CAPDU: 80 09 00 00 [09:41:46]Write to MH i2c: E2 08 00 BC 00 80 09 00 00 00 00 00 00 2E [09:41:46]Write i2c OK [09:41:46]MH_I2C_Read... [09:41:46]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:41:46]Read from MH i2c: E2 [09:41:46]MH_I2C_Read... [09:41:46]Read from MH i2c: E2 03 00 [09:41:46]MH_I2C_Read... [09:41:46]Read from MH i2c: E2 03 00 BC 00 00 90 00 30 [09:41:46]RAPDU: 90 00 [09:41:46]wFMCommunicate OK [09:41:46]SAM_PROTO_ClearQueue done [09:41:46]KKMCreateOFDPacket [09:41:46]OFDProtocolAddRootSTLVToBuf [09:41:46]FM_MakeSignedData [09:41:46]FM_MakeSignedData [09:41:46]SAM_PROTO_SignData [09:41:46]wFMCommunicate request_size=4 [09:41:46]MH_SAM_APDU [09:41:46]CAPDU: 80 0D 01 02 [09:41:46]Write to MH i2c: E2 08 00 BD 00 80 0D 01 02 00 00 00 00 36 [09:41:46]Write i2c OK [09:41:46]MH_I2C_Read... [09:41:46]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:41:46]Read from MH i2c: E2 [09:41:46]MH_I2C_Read... [09:41:46]Read from MH i2c: E2 03 00 [09:41:46]MH_I2C_Read... [09:41:46]Read from MH i2c: E2 03 00 BD 00 00 90 00 31 [09:41:46]RAPDU: 90 00 [09:41:46]wFMCommunicate OK [09:41:46]wFMCommunicate request_size=255 [09:41:46]MH_SAM_APDU [09:41:46]CAPDU: 80 0D 02 02 FA 03 00 9D 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 A0 0F 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 F0 0A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 39 35 31 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 69 70 74 6F 6E 20 49 63 65 54 65 61 20 31 D0 BB 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 52 65 67 75 6C 61 72 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 [09:41:46]Write to MH i2c: E2 02 01 BE 00 80 0D 02 02 FA 00 03 00 9D 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 A0 0F 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 F0 0A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 39 35 31 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 69 70 74 6F 6E 20 49 63 65 54 65 61 20 31 D0 BB 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 52 65 67 75 6C 61 72 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 00 DD [09:41:46]Write i2c OK [09:41:46]MH_I2C_Read... [09:41:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:41:46]Read from MH i2c: E2 [09:41:46]MH_I2C_Read... [09:41:46]Read from MH i2c: E2 03 00 [09:41:46]MH_I2C_Read... [09:41:46]Read from MH i2c: E2 03 00 BE 00 00 90 00 32 [09:41:46]RAPDU: 90 00 [09:41:46]wFMCommunicate OK [09:41:46]wFMCommunicate request_size=172 [09:41:46]MH_SAM_APDU [09:41:46]CAPDU: 80 0D 02 02 A7 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 00 00 00 00 00 00 39 04 06 00 E8 35 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 D9 32 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 3A 10 00 00 35 04 06 00 EA 97 4A 43 65 C6 [09:41:46]Write to MH i2c: E2 AF 00 BF 00 80 0D 02 02 A7 00 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 00 00 00 00 00 00 39 04 06 00 E8 35 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 D9 32 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 3A 10 00 00 35 04 06 00 EA 97 4A 43 65 C6 00 00 F4 [09:41:46]Write i2c OK [09:41:46]MH_I2C_Read... [09:41:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:41:46]Read from MH i2c: E2 [09:41:46]MH_I2C_Read... [09:41:46]Read from MH i2c: E2 03 00 [09:41:46]MH_I2C_Read... [09:41:46]Read from MH i2c: E2 03 00 BF 00 00 90 00 33 [09:41:46]RAPDU: 90 00 [09:41:46]wFMCommunicate OK [09:41:46]wFMCommunicate request_size=4 [09:41:46]MH_SAM_APDU [09:41:46]CAPDU: 80 0D 03 02 [09:41:46]Write to MH i2c: E2 08 00 C0 00 80 0D 03 02 00 00 00 00 3B [09:41:46]Write i2c OK [09:41:46]MH_I2C_Read... [09:41:47]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:41:47]Read from MH i2c: E2 [09:41:47]MH_I2C_Read... [09:41:47]Read from MH i2c: E2 0B 00 [09:41:47]MH_I2C_Read... [09:41:47]Read from MH i2c: E2 0B 00 C0 00 00 C2 38 DE 70 28 E9 77 B1 90 00 BD [09:41:47]RAPDU: C2 38 DE 70 28 E9 77 B1 90 00 [09:41:47]wFMCommunicate OK [09:41:47]SAM_PROTO_SignData done [09:41:47]FM_MakeSignedData done [09:41:47]CreateOFDProtocolMessage [09:41:47]wFMCommunicate request_size=4 [09:41:47]MH_SAM_APDU [09:41:47]CAPDU: 80 11 00 00 [09:41:47]Write to MH i2c: E2 08 00 C1 00 80 11 00 00 00 00 00 00 3B [09:41:47]Write i2c OK [09:41:47]MH_I2C_Read... [09:41:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:41:47]Read from MH i2c: E2 [09:41:47]MH_I2C_Read... [09:41:47]Read from MH i2c: E2 17 00 [09:41:47]MH_I2C_Read... [09:41:47]Read from MH i2c: E2 17 00 C1 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 8E [09:41:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [09:41:47]wFMCommunicate OK [09:41:47]CreateOFDProtocolMessage done [09:41:47]OFDSenderStorePacket 4154 [09:41:47]StoreOFDPacket docnum=4154 [09:41:47]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 B1 01 00 00 C1 8A A9 01 88 A4 5A 03 01 00 03 00 9D 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 A0 0F 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 F0 0A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 39 35 31 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 69 70 74 6F 6E 20 49 63 65 54 65 61 20 31 D0 BB 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 52 65 67 75 6C 61 72 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 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 00 00 00 00 00 00 39 04 06 00 E8 35 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 D9 32 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 3A 10 00 00 35 04 06 00 EA 97 4A 43 65 C6 C2 38 DE 70 28 E9 77 B1 [09:41:47]CheckFolder [09:41:47]dirname=/storage/ofd_packets [09:41:47]CheckFolder done [09:41:47]ProducePacketName [09:41:47]name=ofd_packets/00004154 [09:41:47]NVStorageSaveData ofd_packets/00004154 [09:41:47]File name is /storage/ofd_packets/00004154 [09:41:47]Write 463 bytes [09:41:47]NVStorageSaveData done [09:41:47]OFDSenderStorePacket done [09:41:47]KKMCreateOFDPacket done [09:41:47]NVStorageSaveData kkm_last_timestamp [09:41:47]File name is /storage/kkm_last_timestamp [09:41:47]Write 4 bytes [09:41:47]NVStorageSaveData done [09:41:47]ExternCall_PrintAddStr [09:41:47]wPrintStart [09:41:47]Write to MH i2c: 01 00 00 C2 00 C2 [09:41:47]Write i2c OK [09:41:47]MH_I2C_Read... [09:41:47]Read from MH i2c: 01 [09:41:47]MH_I2C_Read... [09:41:47]Read from MH i2c: 01 07 00 [09:41:47]MH_I2C_Read... [09:41:47]Read from MH i2c: 01 07 00 C2 00 00 00 00 00 00 FF 0F D7 [09:41:47]RasterBufferAndPrint [09:41:47]line Счет N : (3)4407 [09:41:47]line ИНН: 02508201610067 [09:41:47]line Контрольно-Кассовый Чек [09:41:47]line ПРОДАЖА [09:41:47]line Товар: 2000053020015 [09:41:47]line Бумажные стаканы 250мл 1шт [09:41:47]line 4.000 * 7.00 [09:41:47]line = 28.00 [09:41:47]line НДС 12% НСП 1% [09:41:47]line > о реализуемом товаре [09:41:47]line Товар: 4870002329951 [09:41:47]line Напиток Lipton IceTea 1л зел чай Regular [09:41:47]line 1.000 * 110.00 [09:41:47]line = 110.00 [09:41:47]line НДС 12% НСП 1% [09:41:47]line > о реализуемом товаре [09:41:47]line ИТОГО: 138.00 [09:41:47]line НСП 1% : 1.22 [09:41:47]line НДС 12% : 14.65 [09:41:47]line Наличными: 0.00 [09:41:47]line Безнал.: 138.00 [09:41:47]line Место: АЗС № 116 "Партнер Нефть" [09:41:47]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [09:41:47]line СНО: Общий режим [09:41:47]line Чек 12 05.06.2024 09:41 [09:41:47]line Смена: 84 ФФД: 1.0 [09:41:47]line ЗНМ: 0300000233 [09:41:47]line РНМ: 0000000000145775 [09:41:47]line Версия ККМ: v1.0 [09:41:47]line Платежная система: О! деньги [09:41:47]line ФМ: 0000000000959360 [09:41:47]line ФД: 4154 [09:41:47]line ФПД: 257935506892230 [09:41:47]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T094145&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4154&fm=257935506892230&tin=02508201610067®Number=0000000000145775&sum=13800 [09:41:47]OFD Sender: Processing packet 4154 [packets to send 2, broken 1] [09:41:47]ProducePacketName [09:41:47]name=ofd_packets/00004154 [09:41:47]OFD Sender: To server: pG, [09:41:47]CommunicateWithHost lk.salyk.kg:30040 [09:41:47]ConnectInit lk.salyk.kg [09:41:47]line 0 [09:41:47]written 0, free lines is 4095 [09:41:47]Connected sock=10 [09:41:47]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 B1 01 00 00 C1 8A A9 01 88 A4 5A 03 01 00 03 00 9D 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 A0 0F 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 F0 0A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 39 35 31 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 69 70 74 6F 6E 20 49 63 65 54 65 61 20 31 D0 BB 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 52 65 67 75 6C 61 72 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 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 00 00 00 00 00 00 39 04 06 00 E8 35 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 D9 32 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 3A 10 00 00 35 04 06 00 EA 97 4A 43 65 C6 C2 38 DE 70 28 E9 77 B1 [09:41:47]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 F1 A4 47 00 67 72 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 3A 10 00 00 F4 03 04 00 D7 DE 5F 66 B6 04 01 00 00 85 14 F5 E4 1F 84 0A 4B [09:41:47]CommunicateWithHost err = 0 [09:41:47]CheckOFDResponse [09:41:47]1017 (14) - 77093643461234 [09:41:47]1041 (16) - 0000000000959360 [09:41:47]1040 (4) - 4154 [09:41:47]1012 (4) - 05.06.2024 03:43 [09:41:47]1206 (1) - 0 [09:41:47]OFD Sender: Remove packet 4154 [09:41:47]ProducePacketName [09:41:47]name=ofd_packets/00004154 [09:41:47]NVStorageDeleteData [09:41:47]Write to MH i2c: 01 00 00 F4 00 F4 [09:41:47]Write i2c OK [09:41:47]MH_I2C_Read... [09:41:47]Read from MH i2c: 01 [09:41:47]MH_I2C_Read... [09:41:47]Read from MH i2c: 01 07 00 [09:41:47]MH_I2C_Read... [09:41:47]Read from MH i2c: 01 07 00 F4 00 00 00 00 00 00 F5 0B FB [09:41:47]RasterBufferAndPrint [09:41:47]line [09:41:47]line [09:41:47]line [09:41:47]line [09:41:47]line [09:41:47]written 0, free lines is 3065 [09:41:47]MH_Cut [09:41:47]Write to MH i2c: D1 01 00 FB 00 01 CD [09:41:47]Write i2c OK [09:41:47]MH_I2C_Read... [09:41:47]Read from MH i2c: D1 [09:41:47]MH_I2C_Read... [09:41:47]Read from MH i2c: D1 01 00 [09:41:47]MH_I2C_Read... [09:41:47]Read from MH i2c: D1 01 00 FB 00 00 CC [09:41:47]Write to MH i2c: 01 00 00 FC 00 FC [09:41:47]Write i2c OK [09:41:47]MH_I2C_Read... [09:41:48]OFD Sender: No OFD packet to send [09:41:49]*** Cut start [09:41:49]*** Partial cut [09:41:49]*** CUTSNS_PIN = 1 [09:41:49]*** CUTSNS_PIN = 0 [09:41:49]*** Brake cut motor [09:41:49]Read from MH i2c: 01 [09:41:49]MH_I2C_Read... [09:41:49]*** Stop cut motor [09:41:49]*** Cut end [09:41:49]Read from MH i2c: 01 07 00 [09:41:49]MH_I2C_Read... [09:41:49]Read from MH i2c: 01 07 00 FC 00 00 00 00 00 00 FF 0F 11 [09:41:49]process_action close_receipt done [09:41:49]requested_data is exist [09:41:49]produce_requested_data [09:41:49]requested_item fm.sn is exist - process it [09:41:49]wFMCommunicate request_size=4 [09:41:49]MH_SAM_APDU [09:41:49]CAPDU: 80 11 00 00 [09:41:49]Write to MH i2c: E2 08 00 FD 00 80 11 00 00 00 00 00 00 77 [09:41:49]Write i2c OK [09:41:49]MH_I2C_Read... [09:41:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:41:49]Read from MH i2c: E2 [09:41:49]MH_I2C_Read... [09:41:49]Read from MH i2c: E2 17 00 [09:41:49]MH_I2C_Read... [09:41:49]Read from MH i2c: E2 17 00 FD 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 CA [09:41:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [09:41:49]wFMCommunicate OK [09:41:49]requested_item fd.num is exist - process it [09:41:49]SAM_PROTO_GetFieldsCounters [09:41:49]wFMCommunicate request_size=4 [09:41:49]MH_SAM_APDU [09:41:49]CAPDU: 80 13 00 00 [09:41:49]Write to MH i2c: E2 08 00 FE 00 80 13 00 00 00 00 00 00 7A [09:41:49]Write i2c OK [09:41:49]MH_I2C_Read... [09:41:49]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:41:49]Read from MH i2c: E2 [09:41:49]MH_I2C_Read... [09:41:49]Read from MH i2c: E2 62 00 [09:41:49]MH_I2C_Read... [09:41:49]Read from MH i2c: E2 62 00 FE 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 3A 10 00 00 0E 04 04 00 54 00 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 61 [09:41:49]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 3A 10 00 00 0E 04 04 00 54 00 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:41:49]wFMCommunicate OK [09:41:49]SAM_PROTO_GetFieldsCounters done [09:41:49]requested_item shift.num is exist - process it [09:41:49]requested_item shift.opened is exist - process it [09:41:49]req_shift_opened [09:41:49]FM_GetShiftState [09:41:49]SAM_PROTO_GetShiftState [09:41:49]wFMCommunicate request_size=4 [09:41:49]MH_SAM_APDU [09:41:49]CAPDU: 80 13 01 00 [09:41:49]Write to MH i2c: E2 08 00 FF 00 80 13 01 00 00 00 00 00 7C [09:41:49]Write i2c OK [09:41:49]MH_I2C_Read... [09:41:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:41:49]Read from MH i2c: E2 [09:41:49]MH_I2C_Read... [09:41:49]Read from MH i2c: E2 0E 00 [09:41:49]MH_I2C_Read... [09:41:49]Read from MH i2c: E2 0E 00 FF 00 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 1D [09:41:49]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [09:41:49]wFMCommunicate OK [09:41:49]SAM_PROTO_GetShiftState done [09:41:49]FM_GetShiftState done [09:41:49]req_shift_opened done [09:41:49]requested_item shift.open_date is exist - process it [09:41:49]req_shift_open_date [09:41:49]req_shift_open_date done [09:41:49]produce_requested_data done [09:41:49]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4154,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765} [09:41:49]process_action_free close_receipt [09:41:49]json_value_free [09:41:49]json_value_free done [09:41:49]process_json_proto returns [09:41:49]Send response to host [09:41:49]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4154,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765}}} [09:41:49]free response buf [09:41:49]execute_script done [09:41:49]execute_script returns [09:41:49]free content buf [09:41:49]Sock 9.Close socket [09:41:49]Sock 9.Thread stoped [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:53]OFD Sender: No OFD packet to send [09:45:58]OFD Sender: No OFD packet to send [09:46:03]OFD Sender: No OFD packet to send [09:46:08]OFD Sender: No OFD packet to send [09:46:13]OFD Sender: No OFD packet to send [09:46:18]OFD Sender: No OFD packet to send [09:46:23]OFD Sender: No OFD packet to send [09:46:28]OFD Sender: No OFD packet to send [09:46:33]OFD Sender: No OFD packet to send [09:46:38]OFD Sender: No OFD packet to send [09:46:43]OFD Sender: No OFD packet to send [09:46:48]OFD Sender: No OFD packet to send [09:46:53]OFD Sender: No OFD packet to send [09:46:58]OFD Sender: No OFD packet to send [09:47:03]OFD Sender: No OFD packet to send [09:47:08]OFD Sender: No OFD packet to send [09:47:13]OFD Sender: No OFD packet to send [09:47:18]OFD Sender: No OFD packet to send [09:47:23]OFD Sender: No OFD packet to send [09:47:28]OFD Sender: No OFD packet to send [09:47:33]OFD Sender: No OFD packet to send [09:47:38]OFD Sender: No OFD packet to send [09:47:43]OFD Sender: No OFD packet to send [09:47:48]OFD Sender: No OFD packet to send [09:47:53]OFD Sender: No OFD packet to send [09:47:58]OFD Sender: No OFD packet to send [09:48:03]OFD Sender: No OFD packet to send [09:48:08]OFD Sender: No OFD packet to send [09:48:13]OFD Sender: No OFD packet to send [09:48:18]OFD Sender: No OFD packet to send [09:48:23]OFD Sender: No OFD packet to send [09:48:28]OFD Sender: No OFD packet to send [09:48:33]OFD Sender: No OFD packet to send [09:48:38]OFD Sender: No OFD packet to send [09:48:43]OFD Sender: No OFD packet to send [09:48:48]OFD Sender: No OFD packet to send [09:48:53]OFD Sender: No OFD packet to send [09:48:58]OFD Sender: No OFD packet to send [09:49:03]OFD Sender: No OFD packet to send [09:49:08]OFD Sender: No OFD packet to send [09:49:13]OFD Sender: No OFD packet to send [09:49:18]OFD Sender: No OFD packet to send [09:49:23]OFD Sender: No OFD packet to send [09:49:28]OFD Sender: No OFD packet to send [09:49:33]OFD Sender: No OFD packet to send [09:49:38]OFD Sender: No OFD packet to send [09:49:43]OFD Sender: No OFD packet to send [09:49:48]OFD Sender: No OFD packet to send [09:49:53]OFD Sender: No OFD packet to send [09:49:58]OFD Sender: No OFD packet to send [09:50:03]OFD Sender: No OFD packet to send [09:50:08]OFD Sender: No OFD packet to send [09:50:13]OFD Sender: No OFD packet to send [09:50:18]OFD Sender: No OFD packet to send [09:50:23]OFD Sender: No OFD packet to send [09:50:28]OFD Sender: No OFD packet to send [09:50:33]OFD Sender: No OFD packet to send [09:50:38]OFD Sender: No OFD packet to send [09:50:43]OFD Sender: No OFD packet to send [09:50:48]OFD Sender: No OFD packet to send [09:50:53]OFD Sender: No OFD packet to send [09:50:58]OFD Sender: No OFD packet to send [09:51:03]OFD Sender: No OFD packet to send [09:51:08]OFD Sender: No OFD packet to send [09:51:13]OFD Sender: No OFD packet to send [09:51:18]OFD Sender: No OFD packet to send [09:51:23]OFD Sender: No OFD packet to send [09:51:28]OFD Sender: No OFD packet to send [09:51:33]OFD Sender: No OFD packet to send [09:51:38]OFD Sender: No OFD packet to send [09:51:43]OFD Sender: No OFD packet to send [09:51:48]OFD Sender: No OFD packet to send [09:51:53]OFD Sender: No OFD packet to send [09:51:58]OFD Sender: No OFD packet to send [09:52:03]OFD Sender: No OFD packet to send [09:52:08]OFD Sender: No OFD packet to send [09:52:13]OFD Sender: No OFD packet to send [09:52:18]OFD Sender: No OFD packet to send [09:52:23]OFD Sender: No OFD packet to send [09:52:28]OFD Sender: No OFD packet to send [09:52:33]OFD Sender: No OFD packet to send [09:52:38]OFD Sender: No OFD packet to send [09:52:43]OFD Sender: No OFD packet to send [09:52:48]OFD Sender: No OFD packet to send [09:52:53]OFD Sender: No OFD packet to send [09:52:58]OFD Sender: No OFD packet to send [09:53:03]OFD Sender: No OFD packet to send [09:53:08]OFD Sender: No OFD packet to send [09:53:13]OFD Sender: No OFD packet to send [09:53:18]OFD Sender: No OFD packet to send [09:53:23]OFD Sender: No OFD packet to send [09:53:28]OFD Sender: No OFD packet to send [09:53:33]OFD Sender: No OFD packet to send [09:53:38]OFD Sender: No OFD packet to send [09:53:43]OFD Sender: No OFD packet to send [09:53:48]OFD Sender: No OFD packet to send [09:53:53]OFD Sender: No OFD packet to send [09:53:58]OFD Sender: No OFD packet to send [09:54:03]OFD Sender: No OFD packet to send [09:54:08]OFD Sender: No OFD packet to send [09:54:13]OFD Sender: No OFD packet to send [09:54:18]OFD Sender: No OFD packet to send [09:54:23]OFD Sender: No OFD packet to send [09:54:28]OFD Sender: No OFD packet to send [09:54:33]OFD Sender: No OFD packet to send [09:54:38]OFD Sender: No OFD packet to send [09:54:43]OFD Sender: No OFD packet to send [09:54:48]OFD Sender: No OFD packet to send [09:54:53]OFD Sender: No OFD packet to send [09:54:58]OFD Sender: No OFD packet to send [09:55:03]OFD Sender: No OFD packet to send [09:55:08]OFD Sender: No OFD packet to send [09:55:13]OFD Sender: No OFD packet to send [09:55:18]OFD Sender: No OFD packet to send [09:55:23]OFD Sender: No OFD packet to send [09:55:28]OFD Sender: No OFD packet to send [09:55:33]OFD Sender: No OFD packet to send [09:55:38]OFD Sender: No OFD packet to send [09:55:43]OFD Sender: No OFD packet to send [09:55:48]OFD Sender: No OFD packet to send [09:55:53]OFD Sender: No OFD packet to send [09:55:58]OFD Sender: No OFD packet to send [09:56:03]OFD Sender: No OFD packet to send [09:56:08]OFD Sender: No OFD packet to send [09:56:13]OFD Sender: No OFD packet to send [09:56:18]OFD Sender: No OFD packet to send [09:56:23]OFD Sender: No OFD packet to send [09:56:28]OFD Sender: No OFD packet to send [09:56:33]OFD Sender: No OFD packet to send [09:56:38]OFD Sender: No OFD packet to send [09:56:43]OFD Sender: No OFD packet to send [09:56:48]OFD Sender: No OFD packet to send [09:56:53]OFD Sender: No OFD packet to send [09:56:58]OFD Sender: No OFD packet to send [09:57:03]OFD Sender: No OFD packet to send [09:57:08]OFD Sender: No OFD packet to send [09:57:13]OFD Sender: No OFD packet to send [09:57:18]OFD Sender: No OFD packet to send [09:57:23]OFD Sender: No OFD packet to send [09:57:28]OFD Sender: No OFD packet to send [09:57:33]OFD Sender: No OFD packet to send [09:57:38]OFD Sender: No OFD packet to send [09:57:43]OFD Sender: No OFD packet to send [09:57:48]OFD Sender: No OFD packet to send [09:57:54]OFD Sender: No OFD packet to send [09:57:59]OFD Sender: No OFD packet to send [09:58:04]OFD Sender: No OFD packet to send [09:58:09]OFD Sender: No OFD packet to send [09:58:14]OFD Sender: No OFD packet to send [09:58:19]OFD Sender: No OFD packet to send [09:58:24]OFD Sender: No OFD packet to send [09:58:29]OFD Sender: No OFD packet to send [09:58:34]OFD Sender: No OFD packet to send [09:58:39]OFD Sender: No OFD packet to send [09:58:44]OFD Sender: No OFD packet to send [09:58:49]OFD Sender: No OFD packet to send [09:58:54]OFD Sender: No OFD packet to send [09:58:59]OFD Sender: No OFD packet to send [09:59:04]OFD Sender: No OFD packet to send [09:59:09]OFD Sender: No OFD packet to send [09:59:14]OFD Sender: No OFD packet to send [09:59:19]OFD Sender: No OFD packet to send [09:59:24]OFD Sender: No OFD packet to send [09:59:29]OFD Sender: No OFD packet to send [09:59:34]OFD Sender: No OFD packet to send [09:59:39]OFD Sender: No OFD packet to send [09:59:44]OFD Sender: No OFD packet to send [09:59:49]OFD Sender: No OFD packet to send [09:59:54]OFD Sender: No OFD packet to send [09:59:59]OFD Sender: No OFD packet to send [10:00:04]OFD Sender: No OFD packet to send [10:00:09]OFD Sender: No OFD packet to send [10:00:14]OFD Sender: No OFD packet to send [10:00:19]OFD Sender: No OFD packet to send [10:00:24]OFD Sender: No OFD packet to send [10:00:29]OFD Sender: No OFD packet to send [10:00:34]OFD Sender: No OFD packet to send [10:00:39]OFD Sender: No OFD packet to send [10:00:44]OFD Sender: No OFD packet to send [10:00:49]OFD Sender: No OFD packet to send [10:00:54]OFD Sender: No OFD packet to send [10:00:59]OFD Sender: No OFD packet to send [10:01:04]OFD Sender: No OFD packet to send [10:01:09]OFD Sender: No OFD packet to send [10:01:14]OFD Sender: No OFD packet to send [10:01:19]OFD Sender: No OFD packet to send [10:01:24]OFD Sender: No OFD packet to send [10:01:29]OFD Sender: No OFD packet to send [10:01:34]OFD Sender: No OFD packet to send [10:01:39]OFD Sender: No OFD packet to send [10:01:44]OFD Sender: No OFD packet to send [10:01:49]OFD Sender: No OFD packet to send [10:01:54]OFD Sender: No OFD packet to send [10:01:59]OFD Sender: No OFD packet to send [10:02:04]OFD Sender: No OFD packet to send [10:02:09]OFD Sender: No OFD packet to send [10:02:14]OFD Sender: No OFD packet to send [10:02:19]OFD Sender: No OFD packet to send [10:02:24]OFD Sender: No OFD packet to send [10:02:29]OFD Sender: No OFD packet to send [10:02:34]OFD Sender: No OFD packet to send [10:02:39]OFD Sender: No OFD packet to send [10:02:44]OFD Sender: No OFD packet to send [10:02:49]OFD Sender: No OFD packet to send [10:02:54]OFD Sender: No OFD packet to send [10:02:59]OFD Sender: No OFD packet to send [10:03:04]OFD Sender: No OFD packet to send [10:03:09]OFD Sender: No OFD packet to send [10:03:14]OFD Sender: No OFD packet to send [10:03:19]OFD Sender: No OFD packet to send [10:03:24]OFD Sender: No OFD packet to send [10:03:29]OFD Sender: No OFD packet to send [10:03:34]OFD Sender: No OFD packet to send [10:03:39]OFD Sender: No OFD packet to send [10:03:44]OFD Sender: No OFD packet to send [10:03:49]OFD Sender: No OFD packet to send [10:03:54]OFD Sender: No OFD packet to send [10:03:59]OFD Sender: No OFD packet to send [10:04:04]OFD Sender: No OFD packet to send [10:04:09]OFD Sender: No OFD packet to send [10:04:14]OFD Sender: No OFD packet to send [10:04:19]OFD Sender: No OFD packet to send [10:04:24]OFD Sender: No OFD packet to send [10:04:29]OFD Sender: No OFD packet to send [10:04:34]OFD Sender: No OFD packet to send [10:04:39]OFD Sender: No OFD packet to send [10:04:44]OFD Sender: No OFD packet to send [10:04:49]OFD Sender: No OFD packet to send [10:04:54]OFD Sender: No OFD packet to send [10:04:59]OFD Sender: No OFD packet to send [10:05:04]OFD Sender: No OFD packet to send [10:05:09]OFD Sender: No OFD packet to send [10:05:14]OFD Sender: No OFD packet to send [10:05:19]OFD Sender: No OFD packet to send [10:05:24]OFD Sender: No OFD packet to send [10:05:29]OFD Sender: No OFD packet to send [10:05:34]OFD Sender: No OFD packet to send [10:05:39]OFD Sender: No OFD packet to send [10:05:44]OFD Sender: No OFD packet to send [10:05:49]OFD Sender: No OFD packet to send [10:05:54]OFD Sender: No OFD packet to send [10:05:59]OFD Sender: No OFD packet to send [10:06:04]OFD Sender: No OFD packet to send [10:06:09]OFD Sender: No OFD packet to send [10:06:14]OFD Sender: No OFD packet to send [10:06:19]OFD Sender: No OFD packet to send [10:06:24]OFD Sender: No OFD packet to send [10:06:29]OFD Sender: No OFD packet to send [10:06:34]OFD Sender: No OFD packet to send [10:06:39]OFD Sender: No OFD packet to send [10:06:44]OFD Sender: No OFD packet to send [10:06:49]OFD Sender: No OFD packet to send [10:06:54]OFD Sender: No OFD packet to send [10:06:59]OFD Sender: No OFD packet to send [10:07:04]OFD Sender: No OFD packet to send [10:07:09]OFD Sender: No OFD packet to send [10:07:14]OFD Sender: No OFD packet to send [10:07:19]OFD Sender: No OFD packet to send [10:07:24]OFD Sender: No OFD packet to send [10:07:29]OFD Sender: No OFD packet to send [10:07:34]OFD Sender: No OFD packet to send [10:07:39]OFD Sender: No OFD packet to send [10:07:44]OFD Sender: No OFD packet to send [10:07:49]OFD Sender: No OFD packet to send [10:07:54]OFD Sender: No OFD packet to send [10:07:59]OFD Sender: No OFD packet to send [10:08:04]OFD Sender: No OFD packet to send [10:08:09]OFD Sender: No OFD packet to send [10:08:14]OFD Sender: No OFD packet to send [10:08:19]OFD Sender: No OFD packet to send [10:08:24]OFD Sender: No OFD packet to send [10:08:29]OFD Sender: No OFD packet to send [10:08:34]OFD Sender: No OFD packet to send [10:08:39]OFD Sender: No OFD packet to send [10:08:44]OFD Sender: No OFD packet to send [10:08:49]OFD Sender: No OFD packet to send [10:08:54]OFD Sender: No OFD packet to send [10:08:59]OFD Sender: No OFD packet to send [10:09:04]OFD Sender: No OFD packet to send [10:09:09]OFD Sender: No OFD packet to send [10:09:14]OFD Sender: No OFD packet to send [10:09:19]OFD Sender: No OFD packet to send [10:09:24]OFD Sender: No OFD packet to send [10:09:29]OFD Sender: No OFD packet to send [10:09:34]OFD Sender: No OFD packet to send [10:09:39]OFD Sender: No OFD packet to send [10:09:44]OFD Sender: No OFD packet to send [10:09:49]OFD Sender: No OFD packet to send [10:09:54]OFD Sender: No OFD packet to send [10:09:59]OFD Sender: No OFD packet to send [10:10:04]OFD Sender: No OFD packet to send [10:10:09]OFD Sender: No OFD packet to send [10:10:14]OFD Sender: No OFD packet to send [10:10:19]OFD Sender: No OFD packet to send [10:10:24]OFD Sender: No OFD packet to send [10:10:29]OFD Sender: No OFD packet to send [10:10:34]OFD Sender: No OFD packet to send [10:10:39]OFD Sender: No OFD packet to send [10:10:44]OFD Sender: No OFD packet to send [10:10:49]OFD Sender: No OFD packet to send [10:10:54]OFD Sender: No OFD packet to send [10:10:59]OFD Sender: No OFD packet to send [10:11:04]OFD Sender: No OFD packet to send [10:11:09]OFD Sender: No OFD packet to send [10:11:14]OFD Sender: No OFD packet to send [10:11:19]OFD Sender: No OFD packet to send [10:11:24]OFD Sender: No OFD packet to send [10:11:29]OFD Sender: No OFD packet to send [10:11:34]OFD Sender: No OFD packet to send [10:11:39]OFD Sender: No OFD packet to send [10:11:44]OFD Sender: No OFD packet to send [10:11:49]OFD Sender: No OFD packet to send [10:11:54]OFD Sender: No OFD packet to send [10:11:59]OFD Sender: No OFD packet to send [10:12:04]OFD Sender: No OFD packet to send [10:12:09]OFD Sender: No OFD packet to send [10:12:14]OFD Sender: No OFD packet to send [10:12:19]OFD Sender: No OFD packet to send [10:12:24]OFD Sender: No OFD packet to send [10:12:29]OFD Sender: No OFD packet to send [10:12:34]OFD Sender: No OFD packet to send [10:12:39]OFD Sender: No OFD packet to send [10:12:44]OFD Sender: No OFD packet to send [10:12:49]OFD Sender: No OFD packet to send [10:12:54]OFD Sender: No OFD packet to send [10:12:59]OFD Sender: No OFD packet to send [10:13:04]OFD Sender: No OFD packet to send [10:13:09]OFD Sender: No OFD packet to send [10:13:14]OFD Sender: No OFD packet to send [10:13:19]OFD Sender: No OFD packet to send [10:13:24]OFD Sender: No OFD packet to send [10:13:29]OFD Sender: No OFD packet to send [10:13:34]OFD Sender: No OFD packet to send [10:13:39]OFD Sender: No OFD packet to send [10:13:44]OFD Sender: No OFD packet to send [10:13:49]OFD Sender: No OFD packet to send [10:13:54]OFD Sender: No OFD packet to send [10:13:59]OFD Sender: No OFD packet to send [10:14:04]OFD Sender: No OFD packet to send [10:14:09]OFD Sender: No OFD packet to send [10:14:14]OFD Sender: No OFD packet to send [10:14:19]OFD Sender: No OFD packet to send [10:14:24]OFD Sender: No OFD packet to send [10:14:29]OFD Sender: No OFD packet to send [10:14:34]OFD Sender: No OFD packet to send [10:14:39]OFD Sender: No OFD packet to send [10:14:44]OFD Sender: No OFD packet to send [10:14:49]OFD Sender: No OFD packet to send [10:14:54]OFD Sender: No OFD packet to send [10:14:59]OFD Sender: No OFD packet to send [10:15:04]OFD Sender: No OFD packet to send [10:15:09]OFD Sender: No OFD packet to send [10:15:14]OFD Sender: No OFD packet to send [10:15:19]OFD Sender: No OFD packet to send [10:15:24]OFD Sender: No OFD packet to send [10:15:29]OFD Sender: No OFD packet to send [10:15:34]OFD Sender: No OFD packet to send [10:15:39]OFD Sender: No OFD packet to send [10:15:44]OFD Sender: No OFD packet to send [10:15:49]OFD Sender: No OFD packet to send [10:15:54]OFD Sender: No OFD packet to send [10:15:59]OFD Sender: No OFD packet to send [10:16:04]OFD Sender: No OFD packet to send [10:16:09]OFD Sender: No OFD packet to send [10:16:14]OFD Sender: No OFD packet to send [10:16:19]OFD Sender: No OFD packet to send [10:16:24]OFD Sender: No OFD packet to send [10:16:29]OFD Sender: No OFD packet to send [10:16:34]OFD Sender: No OFD packet to send [10:16:39]OFD Sender: No OFD packet to send [10:16:41]accept exits with 7 [10:16:41]New connection [10:16:41]New thread 3067301220 created [10:16:41]Thread 3067444580 joined [10:16:41]Waiting for new connection... [10:16:41] Sock 7.Parse request [10:16:41]Sock 7.Check first char [10:16:41]Sock 7.First char is OK [10:16:41]request: POST /json_proto HTTP/1.0 [10:16:41]Method: POST [10:16:41]URL: /json_proto [10:16:41]Method is POST - this is cgi request [10:16:41]url: /json_proto [10:16:41]query_string will be loaded in cgi processing [10:16:41]execute_cgi json_proto POST (null) [10:16:41]execute_cgi path=json_proto method=POST [10:16:41]POST find Content-Length [10:16:41]Host: 172.17.56.68:8080 [10:16:41]Content-Length: 655 [10:16:41]Content-Type: application/json [10:16:41] [10:16:41]POST finish read [10:16:41]Found Content-Length = 655 [10:16:41]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4408", "tax_sys" : 0, "items" : [ { "code": "4700000481453", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro Max 0,45 \u0436/\u0431", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 85.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:16:41]execute_script... [10: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)4408", "tax_sys" : 0, "items" : [ { "code": "4700000481453", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro Max 0,45 \u0436/\u0431", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 85.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:16:41]POST & json_proto [10:16:41]process_json_proto [10:16:41]json parsed OK: [10:16:41]protocol is kg_v1.0 [10:16:41]action value=close_receipt [10:16:41]process_action close_receipt [10:16:41]cmd_close_receipt [10:16:41]MH_GetDate [10:16:41]Write to MH i2c: F0 00 00 00 01 F0 [10:16:41]Write i2c OK [10:16:41]MH_I2C_Read... [10:16:41]Read from MH i2c: F0 [10:16:41]MH_I2C_Read... [10:16:41]Read from MH i2c: F0 09 00 [10:16:41]MH_I2C_Read... [10:16:41]Read from MH i2c: F0 09 00 00 01 00 0A 3B 60 66 42 69 5C 66 71 [10:16:41]GetLastDocTimeStamp 1717580505 [10:16:41]current date 1717582602 [10:16:41]FM_GetShiftState [10:16:41]SAM_PROTO_GetShiftState [10:16:41]wFMCommunicate request_size=4 [10:16:41]MH_SAM_APDU [10:16:41]CAPDU: 80 13 01 00 [10:16:41]Write to MH i2c: E2 08 00 01 01 80 13 01 00 00 00 00 00 7F [10:16:41]Write i2c OK [10:16:41]MH_I2C_Read... [10:16:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:16:41]Read from MH i2c: E2 [10:16:41]MH_I2C_Read... [10:16:41]Read from MH i2c: E2 0E 00 [10:16:41]MH_I2C_Read... [10:16:41]Read from MH i2c: E2 0E 00 01 01 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 20 [10:16:41]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [10:16:41]wFMCommunicate OK [10:16:41]SAM_PROTO_GetShiftState done [10:16:41]FM_GetShiftState done [10:16:41]opened in 1717545765 [10:16:41]opened+sec_in_day 1717632165 [10:16:41]quantity*price = 8500 [10:16:41]sum+1 = 8501 [10:16:41]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 85.00 НСП 1% : 0.75 НДС 12% : 9.03 Наличными: 85.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 13 05.06.2024 10:16 Смена: 84 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4155 ФПД: 157303172674264 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T101642&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4155&fm=157303172674264&tin=02508201610067®Number=0000000000145775&sum=8500 0 [10:16:42]StoreToDocumentArchive [10:16:42]shift 84 fd 4155 [10:16:42]save to /storage/0084/doc_00004155 [10:16:42]save last doc name /storage/0084/doc_00004155 to /storage/kkm_last_doc_name [10:16:42]save OK [10:16:42]Clear old archive folders... [10:16:42]ProcessDocumentItem done err = 0, tmpTLVsize=288 [10:16:42]tlvbuf is 0092C400 [10:16:42]SAM_PROTO_ClearQueue [10:16:42]wFMCommunicate request_size=4 [10:16:42]MH_SAM_APDU [10:16:42]CAPDU: 80 09 00 00 [10:16:42]Write to MH i2c: E2 08 00 0E 01 80 09 00 00 00 00 00 00 81 [10:16:42]Write i2c OK [10:16:42]MH_I2C_Read... [10:16:43]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:16:43]Read from MH i2c: E2 [10:16:43]MH_I2C_Read... [10:16:43]Read from MH i2c: E2 03 00 [10:16:43]MH_I2C_Read... [10:16:43]Read from MH i2c: E2 03 00 0E 01 00 90 00 83 [10:16:43]RAPDU: 90 00 [10:16:43]wFMCommunicate OK [10:16:43]SAM_PROTO_ClearQueue done [10:16:43]KKMCreateOFDPacket [10:16:43]OFDProtocolAddRootSTLVToBuf [10:16:43]FM_MakeSignedData [10:16:43]FM_MakeSignedData [10:16:43]SAM_PROTO_SignData [10:16:43]wFMCommunicate request_size=4 [10:16:43]MH_SAM_APDU [10:16:43]CAPDU: 80 0D 01 02 [10:16:43]Write to MH i2c: E2 08 00 0F 01 80 0D 01 02 00 00 00 00 89 [10:16:43]Write i2c OK [10:16:43]MH_I2C_Read... [10:16:43]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:16:43]Read from MH i2c: E2 [10:16:43]MH_I2C_Read... [10:16:43]Read from MH i2c: E2 03 00 [10:16:43]MH_I2C_Read... [10:16:43]Read from MH i2c: E2 03 00 0F 01 00 90 00 84 [10:16:43]RAPDU: 90 00 [10:16:43]wFMCommunicate OK [10:16:43]wFMCommunicate request_size=255 [10:16:43]MH_SAM_APDU [10:16:43]CAPDU: 80 0D 02 02 FA 03 00 20 01 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 34 35 33 06 04 2E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 4D 61 78 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 34 21 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 0A 3B 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 [10:16:43]Write to MH i2c: E2 02 01 10 01 80 0D 02 02 FA 00 03 00 20 01 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 34 35 33 06 04 2E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 4D 61 78 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 34 21 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 0A 3B 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 00 00 B9 [10:16:43]Write i2c OK [10:16:43]MH_I2C_Read... [10:16:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:16:43]Read from MH i2c: E2 [10:16:43]MH_I2C_Read... [10:16:43]Read from MH i2c: E2 03 00 [10:16:43]MH_I2C_Read... [10:16:43]Read from MH i2c: E2 03 00 10 01 00 90 00 85 [10:16:43]RAPDU: 90 00 [10:16:43]wFMCommunicate OK [10:16:43]wFMCommunicate request_size=47 [10:16:43]MH_SAM_APDU [10:16:43]CAPDU: 80 0D 02 02 2A 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 3B 10 00 00 35 04 06 00 8F 10 FF BA B2 D8 [10:16:43]Write to MH i2c: E2 32 00 11 01 80 0D 02 02 2A 00 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 3B 10 00 00 35 04 06 00 8F 10 FF BA B2 D8 00 00 81 [10:16:43]Write i2c OK [10:16:43]MH_I2C_Read... [10:16:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:16:43]Read from MH i2c: E2 [10:16:43]MH_I2C_Read... [10:16:43]Read from MH i2c: E2 03 00 [10:16:43]MH_I2C_Read... [10:16:43]Read from MH i2c: E2 03 00 11 01 00 90 00 86 [10:16:43]RAPDU: 90 00 [10:16:43]wFMCommunicate OK [10:16:43]wFMCommunicate request_size=4 [10:16:43]MH_SAM_APDU [10:16:43]CAPDU: 80 0D 03 02 [10:16:43]Write to MH i2c: E2 08 00 12 01 80 0D 03 02 00 00 00 00 8E [10:16:43]Write i2c OK [10:16:43]MH_I2C_Read... [10:16:43]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:16:43]Read from MH i2c: E2 [10:16:43]MH_I2C_Read... [10:16:43]Read from MH i2c: E2 0B 00 [10:16:43]MH_I2C_Read... [10:16:43]Read from MH i2c: E2 0B 00 12 01 00 CD 8E DD 6A CE C8 C1 2E 90 00 B6 [10:16:43]RAPDU: CD 8E DD 6A CE C8 C1 2E 90 00 [10:16:43]wFMCommunicate OK [10:16:43]SAM_PROTO_SignData done [10:16:43]FM_MakeSignedData done [10:16:43]CreateOFDProtocolMessage [10:16:43]wFMCommunicate request_size=4 [10:16:43]MH_SAM_APDU [10:16:43]CAPDU: 80 11 00 00 [10:16:43]Write to MH i2c: E2 08 00 13 01 80 11 00 00 00 00 00 00 8E [10:16:43]Write i2c OK [10:16:43]MH_I2C_Read... [10:16:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:16:43]Read from MH i2c: E2 [10:16:43]MH_I2C_Read... [10:16:43]Read from MH i2c: E2 17 00 [10:16:43]MH_I2C_Read... [10:16:43]Read from MH i2c: E2 17 00 13 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 E1 [10:16:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [10:16:43]wFMCommunicate OK [10:16:43]CreateOFDProtocolMessage done [10:16:43]OFDSenderStorePacket 4155 [10:16:43]StoreOFDPacket docnum=4155 [10:16:43]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 34 01 00 00 D3 74 2C 01 8E 5D 5A 03 01 00 03 00 20 01 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 34 35 33 06 04 2E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 4D 61 78 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 34 21 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 0A 3B 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 3B 10 00 00 35 04 06 00 8F 10 FF BA B2 D8 CD 8E DD 6A CE C8 C1 2E [10:16:43]CheckFolder [10:16:43]dirname=/storage/ofd_packets [10:16:43]CheckFolder done [10:16:43]ProducePacketName [10:16:43]name=ofd_packets/00004155 [10:16:43]NVStorageSaveData ofd_packets/00004155 [10:16:43]File name is /storage/ofd_packets/00004155 [10:16:43]Write 338 bytes [10:16:43]NVStorageSaveData done [10:16:43]OFDSenderStorePacket done [10:16:43]KKMCreateOFDPacket done [10:16:43]NVStorageSaveData kkm_last_timestamp [10:16:43]File name is /storage/kkm_last_timestamp [10:16:43]Write 4 bytes [10:16:43]NVStorageSaveData done [10:16:43]ExternCall_PrintAddStr [10:16:43]wPrintStart [10:16:43]Write to MH i2c: 01 00 00 14 01 15 [10:16:43]Write i2c OK [10:16:43]MH_I2C_Read... [10:16:43]Read from MH i2c: 01 [10:16:43]MH_I2C_Read... [10:16:43]Read from MH i2c: 01 07 00 [10:16:43]MH_I2C_Read... [10:16:43]Read from MH i2c: 01 07 00 14 01 00 00 00 00 00 FF 0F 2A [10:16:43]RasterBufferAndPrint [10:16:43]line Счет N : (3)4408 [10:16:43]line ИНН: 02508201610067 [10:16:43]line Контрольно-Кассовый Чек [10:16:43]line ПРОДАЖА [10:16:43]line Товар: 4700000481453 [10:16:43]line Напиток энерг Nitro Max 0,45 ж/б [10:16:43]line 1.000 * 85.00 [10:16:43]line = 85.00 [10:16:43]line НДС 12% НСП 1% [10:16:43]line > о реализуемом товаре [10:16:43]line ИТОГО: 85.00 [10:16:43]line НСП 1% : 0.75 [10:16:43]line НДС 12% : 9.03 [10:16:43]line Наличными: 85.00 [10:16:43]line Безнал.: 0.00 [10:16:43]line Место: АЗС № 116 "Партнер Нефть" [10:16:43]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [10:16:43]line СНО: Общий режим [10:16:43]line Чек 13 05.06.2024 10:16 [10:16:43]line Смена: 84 ФФД: 1.0 [10:16:43]line ЗНМ: 0300000233 [10:16:43]line РНМ: 0000000000145775 [10:16:43]line Версия ККМ: v1.0 [10:16:43]line ФМ: 0000000000959360 [10:16:43]line ФД: 4155 [10:16:43]line ФПД: 157303172674264 [10:16:43]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T101642&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4155&fm=157303172674264&tin=02508201610067®Number=0000000000145775&sum=8500 [10:16:43]line 0 [10:16:43]OFD Sender: Processing packet 4155 [packets to send 2, broken 1] [10:16:43]ProducePacketName [10:16:43]name=ofd_packets/00004155 [10:16:43]OFD Sender: To server: pG, [10:16:43]CommunicateWithHost lk.salyk.kg:30040 [10:16:43]ConnectInit lk.salyk.kg [10:16:43]written 0, free lines is 4095 [10:16:43]Connected sock=10 [10:16:43]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 34 01 00 00 D3 74 2C 01 8E 5D 5A 03 01 00 03 00 20 01 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 34 35 33 06 04 2E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 4D 61 78 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 34 21 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 0A 3B 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 3B 10 00 00 35 04 06 00 8F 10 FF BA B2 D8 CD 8E DD 6A CE C8 C1 2E [10:16:44]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 A1 DF 47 00 D8 32 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 3B 10 00 00 F4 03 04 00 08 E7 5F 66 B6 04 01 00 00 10 60 6C 8D EC 6D 1E 62 [10:16:44]CommunicateWithHost err = 0 [10:16:44]CheckOFDResponse [10:16:44]1017 (14) - 77093643461234 [10:16:44]1041 (16) - 0000000000959360 [10:16:44]1040 (4) - 4155 [10:16:44]1012 (4) - 05.06.2024 04:18 [10:16:44]1206 (1) - 0 [10:16:44]OFD Sender: Remove packet 4155 [10:16:44]ProducePacketName [10:16:44]name=ofd_packets/00004155 [10:16:44]NVStorageDeleteData [10:16:44]Write to MH i2c: 01 00 00 3D 01 3E [10:16:44]Write i2c OK [10:16:44]MH_I2C_Read... [10:16:44]Read from MH i2c: 01 [10:16:44]MH_I2C_Read... [10:16:44]Read from MH i2c: 01 07 00 [10:16:44]MH_I2C_Read... [10:16:44]Read from MH i2c: 01 07 00 3D 01 00 00 00 00 00 9D 0C EE [10:16:44]RasterBufferAndPrint [10:16:44]line [10:16:44]line [10:16:44]line [10:16:44]line [10:16:44]line [10:16:44]written 0, free lines is 3233 [10:16:44]MH_Cut [10:16:44]Write to MH i2c: D1 01 00 44 01 01 17 [10:16:44]Write i2c OK [10:16:44]MH_I2C_Read... [10:16:44]Read from MH i2c: D1 [10:16:44]MH_I2C_Read... [10:16:44]Read from MH i2c: D1 01 00 [10:16:44]MH_I2C_Read... [10:16:44]Read from MH i2c: D1 01 00 44 01 00 16 [10:16:44]Write to MH i2c: 01 00 00 45 01 46 [10:16:44]Write i2c OK [10:16:44]MH_I2C_Read... [10:16:44]OFD Sender: No OFD packet to send [10:16:45]*** Cut start [10:16:45]*** Partial cut [10:16:45]*** CUTSNS_PIN = 1 [10:16:45]*** CUTSNS_PIN = 0 [10:16:45]*** Brake cut motor [10:16:45]Read from MH i2c: 01 [10:16:45]MH_I2C_Read... [10:16:45]*** Stop cut motor [10:16:45]*** Cut end [10:16:45]Read from MH i2c: 01 07 00 [10:16:45]MH_I2C_Read... [10:16:45]Read from MH i2c: 01 07 00 45 01 00 00 00 00 00 FF 0F 5B [10:16:45]process_action close_receipt done [10:16:45]requested_data is exist [10:16:45]produce_requested_data [10:16:45]requested_item fm.sn is exist - process it [10:16:45]wFMCommunicate request_size=4 [10:16:45]MH_SAM_APDU [10:16:45]CAPDU: 80 11 00 00 [10:16:45]Write to MH i2c: E2 08 00 46 01 80 11 00 00 00 00 00 00 C1 [10:16:45]Write i2c OK [10:16:45]MH_I2C_Read... [10:16:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:16:45]Read from MH i2c: E2 [10:16:45]MH_I2C_Read... [10:16:45]Read from MH i2c: E2 17 00 [10:16:45]MH_I2C_Read... [10:16:45]Read from MH i2c: E2 17 00 46 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 14 [10:16:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [10:16:45]wFMCommunicate OK [10:16:45]requested_item fd.num is exist - process it [10:16:45]SAM_PROTO_GetFieldsCounters [10:16:45]wFMCommunicate request_size=4 [10:16:45]MH_SAM_APDU [10:16:45]CAPDU: 80 13 00 00 [10:16:45]Write to MH i2c: E2 08 00 47 01 80 13 00 00 00 00 00 00 C4 [10:16:45]Write i2c OK [10:16:45]MH_I2C_Read... [10:16:46]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:16:46]Read from MH i2c: E2 [10:16:46]MH_I2C_Read... [10:16:46]Read from MH i2c: E2 62 00 [10:16:46]MH_I2C_Read... [10:16:46]Read from MH i2c: E2 62 00 47 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 3B 10 00 00 0E 04 04 00 54 00 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 AF [10:16:46]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 3B 10 00 00 0E 04 04 00 54 00 00 00 12 04 04 00 0D 00 00 00 5E 04 04 00 0D 00 00 00 57 04 04 00 0E 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:16:46]wFMCommunicate OK [10:16:46]SAM_PROTO_GetFieldsCounters done [10:16:46]requested_item shift.num is exist - process it [10:16:46]requested_item shift.opened is exist - process it [10:16:46]req_shift_opened [10:16:46]FM_GetShiftState [10:16:46]SAM_PROTO_GetShiftState [10:16:46]wFMCommunicate request_size=4 [10:16:46]MH_SAM_APDU [10:16:46]CAPDU: 80 13 01 00 [10:16:46]Write to MH i2c: E2 08 00 48 01 80 13 01 00 00 00 00 00 C6 [10:16:46]Write i2c OK [10:16:46]MH_I2C_Read... [10:16:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:16:46]Read from MH i2c: E2 [10:16:46]MH_I2C_Read... [10:16:46]Read from MH i2c: E2 0E 00 [10:16:46]MH_I2C_Read... [10:16:46]Read from MH i2c: E2 0E 00 48 01 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 67 [10:16:46]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [10:16:46]wFMCommunicate OK [10:16:46]SAM_PROTO_GetShiftState done [10:16:46]FM_GetShiftState done [10:16:46]req_shift_opened done [10:16:46]requested_item shift.open_date is exist - process it [10:16:46]req_shift_open_date [10:16:46]req_shift_open_date done [10:16:46]produce_requested_data done [10:16:46]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4155,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765} [10:16:46]process_action_free close_receipt [10:16:46]json_value_free [10:16:46]json_value_free done [10:16:46]process_json_proto returns [10:16:46]Send response to host [10:16:46]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4155,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765}}} [10:16:46]free response buf [10:16:46]execute_script done [10:16:46]execute_script returns [10:16:46]free content buf [10:16:46]Sock 7.Close socket [10:16:46]Sock 7.Thread stoped [10:16:49]OFD Sender: No OFD packet to send [10:16:54]OFD Sender: No OFD packet to send [10:16:59]OFD Sender: No OFD packet to send [10:17:04]OFD Sender: No OFD packet to send [10:17:09]OFD Sender: No OFD packet to send [10:17:14]OFD Sender: No OFD packet to send [10:17:19]OFD Sender: No OFD packet to send [10:17:24]OFD Sender: No OFD packet to send [10:17:29]OFD Sender: No OFD packet to send [10:17:34]OFD Sender: No OFD packet to send [10:17:39]OFD Sender: No OFD packet to send [10:17:44]OFD Sender: No OFD packet to send [10:17:49]OFD Sender: No OFD packet to send [10:17:54]OFD Sender: No OFD packet to send [10:17:59]OFD Sender: No OFD packet to send [10:18:04]OFD Sender: No OFD packet to send [10:18:09]OFD Sender: No OFD packet to send [10:18:14]OFD Sender: No OFD packet to send [10:18:19]OFD Sender: No OFD packet to send [10:18:24]OFD Sender: No OFD packet to send [10:18:29]OFD Sender: No OFD packet to send [10:18:34]OFD Sender: No OFD packet to send [10:18:39]OFD Sender: No OFD packet to send [10:18:44]OFD Sender: No OFD packet to send [10:18:49]OFD Sender: No OFD packet to send [10:18:54]OFD Sender: No OFD packet to send [10:18:59]OFD Sender: No OFD packet to send [10:19:04]OFD Sender: No OFD packet to send [10:19:09]OFD Sender: No OFD packet to send [10:19:14]OFD Sender: No OFD packet to send [10:19:19]OFD Sender: No OFD packet to send [10:19:24]OFD Sender: No OFD packet to send [10:19:29]OFD Sender: No OFD packet to send [10:19:34]OFD Sender: No OFD packet to send [10:19:39]OFD Sender: No OFD packet to send [10:19:44]OFD Sender: No OFD packet to send [10:19:49]OFD Sender: No OFD packet to send [10:19:54]OFD Sender: No OFD packet to send [10:19:59]OFD Sender: No OFD packet to send [10:20:04]OFD Sender: No OFD packet to send [10:20:09]OFD Sender: No OFD packet to send [10:20:14]OFD Sender: No OFD packet to send [10:20:19]OFD Sender: No OFD packet to send [10:20:24]OFD Sender: No OFD packet to send [10:20:29]OFD Sender: No OFD packet to send [10:20:34]OFD Sender: No OFD packet to send [10:20:39]OFD Sender: No OFD packet to send [10:20:44]OFD Sender: No OFD packet to send [10:20:49]OFD Sender: No OFD packet to send [10:20:54]OFD Sender: No OFD packet to send [10:20:59]OFD Sender: No OFD packet to send [10:21:04]OFD Sender: No OFD packet to send [10:21:09]OFD Sender: No OFD packet to send [10:21:14]OFD Sender: No OFD packet to send [10:21:19]OFD Sender: No OFD packet to send [10:21:24]OFD Sender: No OFD packet to send [10:21:29]OFD Sender: No OFD packet to send [10:21:34]OFD Sender: No OFD packet to send [10:21:39]OFD Sender: No OFD packet to send [10:21:44]OFD Sender: No OFD packet to send [10:21:49]OFD Sender: No OFD packet to send [10:21:54]OFD Sender: No OFD packet to send [10:21:59]OFD Sender: No OFD packet to send [10:22:04]OFD Sender: No OFD packet to send [10:22:09]OFD Sender: No OFD packet to send [10:22:14]OFD Sender: No OFD packet to send [10:22:19]OFD Sender: No OFD packet to send [10:22:24]OFD Sender: No OFD packet to send [10:22:29]OFD Sender: No OFD packet to send [10:22:34]OFD Sender: No OFD packet to send [10:22:39]OFD Sender: No OFD packet to send [10:22:44]OFD Sender: No OFD packet to send [10:22:49]OFD Sender: No OFD packet to send [10:22:54]OFD Sender: No OFD packet to send [10:22:59]OFD Sender: No OFD packet to send [10:23:04]OFD Sender: No OFD packet to send [10:23:09]OFD Sender: No OFD packet to send [10:23:14]OFD Sender: No OFD packet to send [10:23:19]OFD Sender: No OFD packet to send [10:23:24]OFD Sender: No OFD packet to send [10:23:29]OFD Sender: No OFD packet to send [10:23:34]OFD Sender: No OFD packet to send [10:23:39]OFD Sender: No OFD packet to send [10:23:44]OFD Sender: No OFD packet to send [10:23:49]OFD Sender: No OFD packet to send [10:23:54]OFD Sender: No OFD packet to send [10:23:59]OFD Sender: No OFD packet to send [10:24:04]OFD Sender: No OFD packet to send [10:24:09]OFD Sender: No OFD packet to send [10:24:15]OFD Sender: No OFD packet to send [10:24:20]OFD Sender: No OFD packet to send [10:24:25]OFD Sender: No OFD packet to send [10:24:30]OFD Sender: No OFD packet to send [10:24:35]OFD Sender: No OFD packet to send [10:24:40]OFD Sender: No OFD packet to send [10:24:45]OFD Sender: No OFD packet to send [10:24:50]OFD Sender: No OFD packet to send [10:24:55]OFD Sender: No OFD packet to send [10:25:00]OFD Sender: No OFD packet to send [10:25:05]OFD Sender: No OFD packet to send [10:25:10]OFD Sender: No OFD packet to send [10:25:15]OFD Sender: No OFD packet to send [10:25:20]OFD Sender: No OFD packet to send [10:25:25]OFD Sender: No OFD packet to send [10:25:30]OFD Sender: No OFD packet to send [10:25:35]OFD Sender: No OFD packet to send [10:25:40]OFD Sender: No OFD packet to send [10:25:45]OFD Sender: No OFD packet to send [10:25:50]OFD Sender: No OFD packet to send [10:25:55]OFD Sender: No OFD packet to send [10:26:00]OFD Sender: No OFD packet to send [10:26:05]OFD Sender: No OFD packet to send [10:26:10]OFD Sender: No OFD packet to send [10:26:15]OFD Sender: No OFD packet to send [10:26:20]OFD Sender: No OFD packet to send [10:26:25]OFD Sender: No OFD packet to send [10:26:30]OFD Sender: No OFD packet to send [10:26:35]OFD Sender: No OFD packet to send [10:26:40]OFD Sender: No OFD packet to send [10:26:45]OFD Sender: No OFD packet to send [10:26:50]OFD Sender: No OFD packet to send [10:26:55]OFD Sender: No OFD packet to send [10:27:00]OFD Sender: No OFD packet to send [10:27:05]OFD Sender: No OFD packet to send [10:27:10]OFD Sender: No OFD packet to send [10:27:15]OFD Sender: No OFD packet to send [10:27:20]OFD Sender: No OFD packet to send [10:27:25]OFD Sender: No OFD packet to send [10:27:30]OFD Sender: No OFD packet to send [10:27:35]OFD Sender: No OFD packet to send [10:27:40]OFD Sender: No OFD packet to send [10:27:45]OFD Sender: No OFD packet to send [10:27:50]OFD Sender: No OFD packet to send [10:27:55]OFD Sender: No OFD packet to send [10:28:00]OFD Sender: No OFD packet to send [10:28:05]OFD Sender: No OFD packet to send [10:28:10]OFD Sender: No OFD packet to send [10:28:15]OFD Sender: No OFD packet to send [10:28:20]OFD Sender: No OFD packet to send [10:28:25]OFD Sender: No OFD packet to send [10:28:30]OFD Sender: No OFD packet to send [10:28:35]OFD Sender: No OFD packet to send [10:28:40]OFD Sender: No OFD packet to send [10:28:45]OFD Sender: No OFD packet to send [10:28:50]OFD Sender: No OFD packet to send [10:28:55]OFD Sender: No OFD packet to send [10:29:00]OFD Sender: No OFD packet to send [10:29:05]OFD Sender: No OFD packet to send [10:29:10]OFD Sender: No OFD packet to send [10:29:15]OFD Sender: No OFD packet to send [10:29:20]OFD Sender: No OFD packet to send [10:29:25]OFD Sender: No OFD packet to send [10:29:30]OFD Sender: No OFD packet to send [10:29:35]OFD Sender: No OFD packet to send [10:29:40]OFD Sender: No OFD packet to send [10:29:45]OFD Sender: No OFD packet to send [10:29:50]OFD Sender: No OFD packet to send [10:29:55]OFD Sender: No OFD packet to send [10:30:00]OFD Sender: No OFD packet to send [10:30:05]OFD Sender: No OFD packet to send [10:30:10]OFD Sender: No OFD packet to send [10:30:15]OFD Sender: No OFD packet to send [10:30:20]OFD Sender: No OFD packet to send [10:30:25]OFD Sender: No OFD packet to send [10:30:30]OFD Sender: No OFD packet to send [10:30:35]OFD Sender: No OFD packet to send [10:30:40]OFD Sender: No OFD packet to send [10:30:45]OFD Sender: No OFD packet to send [10:30:50]OFD Sender: No OFD packet to send [10:30:55]OFD Sender: No OFD packet to send [10:31:00]OFD Sender: No OFD packet to send [10:31:05]OFD Sender: No OFD packet to send [10:31:10]OFD Sender: No OFD packet to send [10:31:15]OFD Sender: No OFD packet to send [10:31:20]OFD Sender: No OFD packet to send [10:31:25]OFD Sender: No OFD packet to send [10:31:30]OFD Sender: No OFD packet to send [10:31:35]OFD Sender: No OFD packet to send [10:31:40]OFD Sender: No OFD packet to send [10:31:45]OFD Sender: No OFD packet to send [10:31:50]OFD Sender: No OFD packet to send [10:31:55]OFD Sender: No OFD packet to send [10:32:00]OFD Sender: No OFD packet to send [10:32:05]OFD Sender: No OFD packet to send [10:32:10]OFD Sender: No OFD packet to send [10:32:15]OFD Sender: No OFD packet to send [10:32:20]OFD Sender: No OFD packet to send [10:32:25]OFD Sender: No OFD packet to send [10:32:30]OFD Sender: No OFD packet to send [10:32:35]OFD Sender: No OFD packet to send [10:32:40]OFD Sender: No OFD packet to send [10:32:45]OFD Sender: No OFD packet to send [10:32:50]OFD Sender: No OFD packet to send [10:32:55]OFD Sender: No OFD packet to send [10:33:00]OFD Sender: No OFD packet to send [10:33:05]OFD Sender: No OFD packet to send [10:33:10]OFD Sender: No OFD packet to send [10:33:15]OFD Sender: No OFD packet to send [10:33:20]OFD Sender: No OFD packet to send [10:33:25]OFD Sender: No OFD packet to send [10:33:30]OFD Sender: No OFD packet to send [10:33:35]OFD Sender: No OFD packet to send [10:33:40]OFD Sender: No OFD packet to send [10:33:45]OFD Sender: No OFD packet to send [10:33:50]OFD Sender: No OFD packet to send [10:33:55]OFD Sender: No OFD packet to send [10:34:00]OFD Sender: No OFD packet to send [10:34:05]OFD Sender: No OFD packet to send [10:34:10]OFD Sender: No OFD packet to send [10:34:15]OFD Sender: No OFD packet to send [10:34:20]OFD Sender: No OFD packet to send [10:34:25]OFD Sender: No OFD packet to send [10:34:30]OFD Sender: No OFD packet to send [10:34:35]OFD Sender: No OFD packet to send [10:34:40]OFD Sender: No OFD packet to send [10:34:45]OFD Sender: No OFD packet to send [10:34:50]OFD Sender: No OFD packet to send [10:34:55]OFD Sender: No OFD packet to send [10:35:00]OFD Sender: No OFD packet to send [10:35:05]OFD Sender: No OFD packet to send [10:35:10]OFD Sender: No OFD packet to send [10:35:15]OFD Sender: No OFD packet to send [10:35:20]OFD Sender: No OFD packet to send [10:35:25]OFD Sender: No OFD packet to send [10:35:30]OFD Sender: No OFD packet to send [10:35:35]OFD Sender: No OFD packet to send [10:35:40]OFD Sender: No OFD packet to send [10:35:45]OFD Sender: No OFD packet to send [10:35:50]OFD Sender: No OFD packet to send [10:35:55]OFD Sender: No OFD packet to send [10:36:00]OFD Sender: No OFD packet to send [10:36:05]OFD Sender: No OFD packet to send [10:36:10]OFD Sender: No OFD packet to send [10:36:15]OFD Sender: No OFD packet to send [10:36:20]OFD Sender: No OFD packet to send [10:36:25]OFD Sender: No OFD packet to send [10:36:30]OFD Sender: No OFD packet to send [10:36:35]OFD Sender: No OFD packet to send [10:36:40]OFD Sender: No OFD packet to send [10:36:45]OFD Sender: No OFD packet to send [10:36:50]OFD Sender: No OFD packet to send [10:36:55]OFD Sender: No OFD packet to send [10:37:00]OFD Sender: No OFD packet to send [10:37:05]OFD Sender: No OFD packet to send [10:37:10]OFD Sender: No OFD packet to send [10:37:15]OFD Sender: No OFD packet to send [10:37:16]accept exits with 9 [10:37:16]New connection [10:37:16]New thread 3067444580 created [10:37:16]Thread 3067301220 joined [10:37:16]Waiting for new connection... [10:37:16] Sock 9.Parse request [10:37:16]Sock 9.Check first char [10:37:16]Sock 9.First char is OK [10:37:16]request: POST /json_proto HTTP/1.0 [10:37:16]Method: POST [10:37:16]URL: /json_proto [10:37:16]Method is POST - this is cgi request [10:37:16]url: /json_proto [10:37:16]query_string will be loaded in cgi processing [10:37:16]execute_cgi json_proto POST (null) [10:37:16]execute_cgi path=json_proto method=POST [10:37:16]POST find Content-Length [10:37:16]Host: 172.17.56.68:8080 [10:37:16]Content-Length: 612 [10:37:16]Content-Type: application/json [10:37:16] [10:37:16]POST finish read [10:37:16]Found Content-Length = 612 [10:37:16]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4409", "tax_sys" : 0, "items" : [ { "code": "4870001570071", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1\u043B", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 110.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:37:16]execute_script... [10:37:16]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4409", "tax_sys" : 0, "items" : [ { "code": "4870001570071", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1\u043B", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 110.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:37:16]POST & json_proto [10:37:16]process_json_proto [10:37:16]json parsed OK: [10:37:16]protocol is kg_v1.0 [10:37:16]action value=close_receipt [10:37:16]process_action close_receipt [10:37:16]cmd_close_receipt [10:37:16]MH_GetDate [10:37:16]Write to MH i2c: F0 00 00 49 01 39 [10:37:16]Write i2c OK [10:37:16]MH_I2C_Read... [10:37:16]Read from MH i2c: F0 [10:37:16]MH_I2C_Read... [10:37:16]Read from MH i2c: F0 09 00 [10:37:16]MH_I2C_Read... [10:37:16]Read from MH i2c: F0 09 00 49 01 00 DD 3F 60 66 42 69 5C 66 91 [10:37:16]GetLastDocTimeStamp 1717582602 [10:37:16]current date 1717583837 [10:37:16]FM_GetShiftState [10:37:16]SAM_PROTO_GetShiftState [10:37:16]wFMCommunicate request_size=4 [10:37:16]MH_SAM_APDU [10:37:16]CAPDU: 80 13 01 00 [10:37:16]Write to MH i2c: E2 08 00 4A 01 80 13 01 00 00 00 00 00 C8 [10:37:16]Write i2c OK [10:37:16]MH_I2C_Read... [10:37:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:37:16]Read from MH i2c: E2 [10:37:16]MH_I2C_Read... [10:37:16]Read from MH i2c: E2 0E 00 [10:37:16]MH_I2C_Read... [10:37:16]Read from MH i2c: E2 0E 00 4A 01 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 69 [10:37:16]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [10:37:16]wFMCommunicate OK [10:37:16]SAM_PROTO_GetShiftState done [10:37:16]FM_GetShiftState done [10:37:16]opened in 1717545765 [10:37:16]opened+sec_in_day 1717632165 [10:37:16]quantity*price = 11000 [10:37:16]sum+1 = 11001 [10:37:16]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 110.00 НСП 1% : 0.97 НДС 12% : 11.68 Наличными: 110.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 14 05.06.2024 10:37 Смена: 84 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4156 ФПД: 200189041054792 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T103717&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4156&fm=200189041054792&tin=02508201610067®Number=0000000000145775&sum=11000 0 [10:37:17]StoreToDocumentArchive [10:37:17]shift 84 fd 4156 [10:37:17]save to /storage/0084/doc_00004156 [10:37:17]save last doc name /storage/0084/doc_00004156 to /storage/kkm_last_doc_name [10:37:17]save OK [10:37:17]Clear old archive folders... [10:37:17]ProcessDocumentItem done err = 0, tmpTLVsize=266 [10:37:17]tlvbuf is 009363D0 [10:37:17]SAM_PROTO_ClearQueue [10:37:17]wFMCommunicate request_size=4 [10:37:17]MH_SAM_APDU [10:37:17]CAPDU: 80 09 00 00 [10:37:17]Write to MH i2c: E2 08 00 57 01 80 09 00 00 00 00 00 00 CA [10:37:17]Write i2c OK [10:37:17]MH_I2C_Read... [10:37:17]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:37:17]Read from MH i2c: E2 [10:37:17]MH_I2C_Read... [10:37:17]Read from MH i2c: E2 03 00 [10:37:17]MH_I2C_Read... [10:37:17]Read from MH i2c: E2 03 00 57 01 00 90 00 CC [10:37:17]RAPDU: 90 00 [10:37:17]wFMCommunicate OK [10:37:17]SAM_PROTO_ClearQueue done [10:37:17]KKMCreateOFDPacket [10:37:17]OFDProtocolAddRootSTLVToBuf [10:37:17]FM_MakeSignedData [10:37:17]FM_MakeSignedData [10:37:17]SAM_PROTO_SignData [10:37:17]wFMCommunicate request_size=4 [10:37:17]MH_SAM_APDU [10:37:17]CAPDU: 80 0D 01 02 [10:37:17]Write to MH i2c: E2 08 00 58 01 80 0D 01 02 00 00 00 00 D2 [10:37:17]Write i2c OK [10:37:17]MH_I2C_Read... [10:37:17]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:37:17]Read from MH i2c: E2 [10:37:17]MH_I2C_Read... [10:37:17]Read from MH i2c: E2 03 00 [10:37:17]MH_I2C_Read... [10:37:17]Read from MH i2c: E2 03 00 58 01 00 90 00 CD [10:37:17]RAPDU: 90 00 [10:37:17]wFMCommunicate OK [10:37:17]wFMCommunicate request_size=255 [10:37:17]MH_SAM_APDU [10:37:17]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 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 F8 2A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 DD 3F 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 [10:37:17]Write to MH i2c: E2 02 01 59 01 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 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 F8 2A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 DD 3F 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 00 00 93 [10:37:17]Write i2c OK [10:37:17]MH_I2C_Read... [10:37:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:37:18]Read from MH i2c: E2 [10:37:18]MH_I2C_Read... [10:37:18]Read from MH i2c: E2 03 00 [10:37:18]MH_I2C_Read... [10:37:18]Read from MH i2c: E2 03 00 59 01 00 90 00 CE [10:37:18]RAPDU: 90 00 [10:37:18]wFMCommunicate OK [10:37:18]wFMCommunicate request_size=25 [10:37:18]MH_SAM_APDU [10:37:18]CAPDU: 80 0D 02 02 14 36 30 10 04 04 00 3C 10 00 00 35 04 06 00 B6 12 24 AE 14 48 [10:37:18]Write to MH i2c: E2 1C 00 5A 01 80 0D 02 02 14 00 36 30 10 04 04 00 3C 10 00 00 35 04 06 00 B6 12 24 AE 14 48 00 00 FC [10:37:18]Write i2c OK [10:37:18]MH_I2C_Read... [10:37:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:37:18]Read from MH i2c: E2 [10:37:18]MH_I2C_Read... [10:37:18]Read from MH i2c: E2 03 00 [10:37:18]MH_I2C_Read... [10:37:18]Read from MH i2c: E2 03 00 5A 01 00 90 00 CF [10:37:18]RAPDU: 90 00 [10:37:18]wFMCommunicate OK [10:37:18]wFMCommunicate request_size=4 [10:37:18]MH_SAM_APDU [10:37:18]CAPDU: 80 0D 03 02 [10:37:18]Write to MH i2c: E2 08 00 5B 01 80 0D 03 02 00 00 00 00 D7 [10:37:18]Write i2c OK [10:37:18]MH_I2C_Read... [10:37:18]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:37:18]Read from MH i2c: E2 [10:37:18]MH_I2C_Read... [10:37:18]Read from MH i2c: E2 0B 00 [10:37:18]MH_I2C_Read... [10:37:18]Read from MH i2c: E2 0B 00 5B 01 00 67 65 C5 14 87 BF 19 33 90 00 0F [10:37:18]RAPDU: 67 65 C5 14 87 BF 19 33 90 00 [10:37:18]wFMCommunicate OK [10:37:18]SAM_PROTO_SignData done [10:37:18]FM_MakeSignedData done [10:37:18]CreateOFDProtocolMessage [10:37:18]wFMCommunicate request_size=4 [10:37:18]MH_SAM_APDU [10:37:18]CAPDU: 80 11 00 00 [10:37:18]Write to MH i2c: E2 08 00 5C 01 80 11 00 00 00 00 00 00 D7 [10:37:18]Write i2c OK [10:37:18]MH_I2C_Read... [10:37:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:37:18]Read from MH i2c: E2 [10:37:18]MH_I2C_Read... [10:37:18]Read from MH i2c: E2 17 00 [10:37:18]MH_I2C_Read... [10:37:18]Read from MH i2c: E2 17 00 5C 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 2A [10:37:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [10:37:18]wFMCommunicate OK [10:37:18]CreateOFDProtocolMessage done [10:37:18]OFDSenderStorePacket 4156 [10:37:18]StoreOFDPacket docnum=4156 [10:37:18]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 1E 01 00 00 B2 11 16 01 4D 5E 5A 03 01 00 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 F8 2A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 DD 3F 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 3C 10 00 00 35 04 06 00 B6 12 24 AE 14 48 67 65 C5 14 87 BF 19 33 [10:37:18]CheckFolder [10:37:18]dirname=/storage/ofd_packets [10:37:18]CheckFolder done [10:37:18]ProducePacketName [10:37:18]name=ofd_packets/00004156 [10:37:18]NVStorageSaveData ofd_packets/00004156 [10:37:18]File name is /storage/ofd_packets/00004156 [10:37:18]Write 316 bytes [10:37:18]NVStorageSaveData done [10:37:18]OFDSenderStorePacket done [10:37:18]KKMCreateOFDPacket done [10:37:18]NVStorageSaveData kkm_last_timestamp [10:37:18]File name is /storage/kkm_last_timestamp [10:37:18]Write 4 bytes [10:37:18]NVStorageSaveData done [10:37:18]ExternCall_PrintAddStr [10:37:18]wPrintStart [10:37:18]Write to MH i2c: 01 00 00 5D 01 5E [10:37:18]Write i2c OK [10:37:18]MH_I2C_Read... [10:37:18]Read from MH i2c: 01 [10:37:18]MH_I2C_Read... [10:37:18]Read from MH i2c: 01 07 00 [10:37:18]MH_I2C_Read... [10:37:18]Read from MH i2c: 01 07 00 5D 01 00 00 00 00 00 FF 0F 73 [10:37:18]RasterBufferAndPrint [10:37:18]line Счет N : (3)4409 [10:37:18]line ИНН: 02508201610067 [10:37:18]line Контрольно-Кассовый Чек [10:37:18]line ПРОДАЖА [10:37:18]line Товар: 4870001570071 [10:37:18]line Напиток Pepsi 1л [10:37:18]line 1.000 * 110.00 [10:37:18]line = 110.00 [10:37:18]line НДС 12% НСП 1% [10:37:18]line > о реализуемом товаре [10:37:18]line ИТОГО: 110.00 [10:37:18]line НСП 1% : 0.97 [10:37:18]line НДС 12% : 11.68 [10:37:18]line Наличными: 110.00 [10:37:18]line Безнал.: 0.00 [10:37:18]line Место: АЗС № 116 "Партнер Нефть" [10:37:18]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [10:37:18]line СНО: Общий режим [10:37:18]line Чек 14 05.06.2024 10:37 [10:37:18]line Смена: 84 ФФД: 1.0 [10:37:18]line ЗНМ: 0300000233 [10:37:18]line РНМ: 0000000000145775 [10:37:18]line Версия ККМ: v1.0 [10:37:18]line ФМ: 0000000000959360 [10:37:18]line ФД: 4156 [10:37:18]line ФПД: 200189041054792 [10:37:18]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T103717&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4156&fm=200189041054792&tin=02508201610067®Number=0000000000145775&sum=11000 [10:37:18]line 0 [10:37:18]OFD Sender: Processing packet 4156 [packets to send 2, broken 1] [10:37:18]ProducePacketName [10:37:18]name=ofd_packets/00004156 [10:37:18]OFD Sender: To server: pG, [10:37:18]CommunicateWithHost lk.salyk.kg:30040 [10:37:18]ConnectInit lk.salyk.kg [10:37:18]written 0, free lines is 4095 [10:37:18]Connected sock=10 [10:37:18]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 1E 01 00 00 B2 11 16 01 4D 5E 5A 03 01 00 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 F8 2A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 DD 3F 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 3C 10 00 00 35 04 06 00 B6 12 24 AE 14 48 67 65 C5 14 87 BF 19 33 [10:37:18]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 89 13 47 00 E7 37 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 3C 10 00 00 F4 03 04 00 DB EB 5F 66 B6 04 01 00 00 46 1C A8 08 1F B3 72 39 [10:37:18]CommunicateWithHost err = 0 [10:37:18]CheckOFDResponse [10:37:18]1017 (14) - 77093643461234 [10:37:18]1041 (16) - 0000000000959360 [10:37:18]1040 (4) - 4156 [10:37:18]1012 (4) - 05.06.2024 04:38 [10:37:18]1206 (1) - 0 [10:37:18]OFD Sender: Remove packet 4156 [10:37:18]ProducePacketName [10:37:18]name=ofd_packets/00004156 [10:37:18]NVStorageDeleteData [10:37:19]Write to MH i2c: 01 00 00 85 01 86 [10:37:19]Write i2c OK [10:37:19]MH_I2C_Read... [10:37:19]Read from MH i2c: 01 [10:37:19]MH_I2C_Read... [10:37:19]Read from MH i2c: 01 07 00 [10:37:19]MH_I2C_Read... [10:37:19]Read from MH i2c: 01 07 00 85 01 00 00 00 00 00 B7 0C 50 [10:37:19]RasterBufferAndPrint [10:37:19]line [10:37:19]line [10:37:19]line [10:37:19]line [10:37:19]line [10:37:19]written 0, free lines is 3258 [10:37:19]MH_Cut [10:37:19]Write to MH i2c: D1 01 00 8C 01 01 5F [10:37:19]Write i2c OK [10:37:19]MH_I2C_Read... [10:37:19]Read from MH i2c: D1 [10:37:19]MH_I2C_Read... [10:37:19]Read from MH i2c: D1 01 00 [10:37:19]MH_I2C_Read... [10:37:19]Read from MH i2c: D1 01 00 8C 01 00 5E [10:37:19]Write to MH i2c: 01 00 00 8D 01 8E [10:37:19]Write i2c OK [10:37:19]MH_I2C_Read... [10:37:19]OFD Sender: No OFD packet to send [10:37:20]*** Cut start [10:37:20]*** Partial cut [10:37:20]*** CUTSNS_PIN = 1 [10:37:20]*** CUTSNS_PIN = 0 [10:37:20]*** Brake cut motor [10:37:20]Read from MH i2c: 01 [10:37:20]MH_I2C_Read... [10:37:20]*** Stop cut motor [10:37:20]*** Cut end [10:37:20]Read from MH i2c: 01 07 00 [10:37:20]MH_I2C_Read... [10:37:20]Read from MH i2c: 01 07 00 8D 01 00 00 00 00 00 FF 0F A3 [10:37:20]process_action close_receipt done [10:37:20]requested_data is exist [10:37:20]produce_requested_data [10:37:20]requested_item fm.sn is exist - process it [10:37:20]wFMCommunicate request_size=4 [10:37:20]MH_SAM_APDU [10:37:20]CAPDU: 80 11 00 00 [10:37:20]Write to MH i2c: E2 08 00 8E 01 80 11 00 00 00 00 00 00 09 [10:37:20]Write i2c OK [10:37:20]MH_I2C_Read... [10:37:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:37:20]Read from MH i2c: E2 [10:37:20]MH_I2C_Read... [10:37:20]Read from MH i2c: E2 17 00 [10:37:20]MH_I2C_Read... [10:37:20]Read from MH i2c: E2 17 00 8E 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 5C [10:37:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [10:37:20]wFMCommunicate OK [10:37:20]requested_item fd.num is exist - process it [10:37:20]SAM_PROTO_GetFieldsCounters [10:37:20]wFMCommunicate request_size=4 [10:37:20]MH_SAM_APDU [10:37:20]CAPDU: 80 13 00 00 [10:37:20]Write to MH i2c: E2 08 00 8F 01 80 13 00 00 00 00 00 00 0C [10:37:20]Write i2c OK [10:37:20]MH_I2C_Read... [10:37:20]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:37:20]Read from MH i2c: E2 [10:37:20]MH_I2C_Read... [10:37:20]Read from MH i2c: E2 62 00 [10:37:20]MH_I2C_Read... [10:37:20]Read from MH i2c: E2 62 00 8F 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 3C 10 00 00 0E 04 04 00 54 00 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 FB [10:37:20]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 3C 10 00 00 0E 04 04 00 54 00 00 00 12 04 04 00 0E 00 00 00 5E 04 04 00 0E 00 00 00 57 04 04 00 0F 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:37:20]wFMCommunicate OK [10:37:20]SAM_PROTO_GetFieldsCounters done [10:37:20]requested_item shift.num is exist - process it [10:37:20]requested_item shift.opened is exist - process it [10:37:20]req_shift_opened [10:37:20]FM_GetShiftState [10:37:20]SAM_PROTO_GetShiftState [10:37:20]wFMCommunicate request_size=4 [10:37:20]MH_SAM_APDU [10:37:20]CAPDU: 80 13 01 00 [10:37:20]Write to MH i2c: E2 08 00 90 01 80 13 01 00 00 00 00 00 0E [10:37:20]Write i2c OK [10:37:20]MH_I2C_Read... [10:37:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:37:20]Read from MH i2c: E2 [10:37:20]MH_I2C_Read... [10:37:20]Read from MH i2c: E2 0E 00 [10:37:20]MH_I2C_Read... [10:37:20]Read from MH i2c: E2 0E 00 90 01 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 AF [10:37:20]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [10:37:20]wFMCommunicate OK [10:37:20]SAM_PROTO_GetShiftState done [10:37:20]FM_GetShiftState done [10:37:20]req_shift_opened done [10:37:20]requested_item shift.open_date is exist - process it [10:37:20]req_shift_open_date [10:37:20]req_shift_open_date done [10:37:20]produce_requested_data done [10:37:20]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4156,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765} [10:37:20]process_action_free close_receipt [10:37:20]json_value_free [10:37:20]json_value_free done [10:37:20]process_json_proto returns [10:37:20]Send response to host [10:37:20]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4156,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765}}} [10:37:20]free response buf [10:37:20]execute_script done [10:37:20]execute_script returns [10:37:20]free content buf [10:37:20]Sock 9.Close socket [10:37:20]Sock 9.Thread stoped [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:04]OFD Sender: No OFD packet to send [10:39:09]OFD Sender: No OFD packet to send [10:39:14]OFD Sender: No OFD packet to send [10:39:19]OFD Sender: No OFD packet to send [10:39:24]OFD Sender: No OFD packet to send [10:39:29]OFD Sender: No OFD packet to send [10:39:34]OFD Sender: No OFD packet to send [10:39:39]OFD Sender: No OFD packet to send [10:39:44]OFD Sender: No OFD packet to send [10:39:49]OFD Sender: No OFD packet to send [10:39:54]OFD Sender: No OFD packet to send [10:39:59]OFD Sender: No OFD packet to send [10:40:04]OFD Sender: No OFD packet to send [10:40:09]OFD Sender: No OFD packet to send [10:40:14]OFD Sender: No OFD packet to send [10:40:19]OFD Sender: No OFD packet to send [10:40:24]OFD Sender: No OFD packet to send [10:40:29]OFD Sender: No OFD packet to send [10:40:34]OFD Sender: No OFD packet to send [10:40:39]OFD Sender: No OFD packet to send [10:40:44]OFD Sender: No OFD packet to send [10:40:49]OFD Sender: No OFD packet to send [10:40:54]OFD Sender: No OFD packet to send [10:40:59]OFD Sender: No OFD packet to send [10:41:04]OFD Sender: No OFD packet to send [10:41:09]OFD Sender: No OFD packet to send [10:41:14]OFD Sender: No OFD packet to send [10:41:19]OFD Sender: No OFD packet to send [10:41:24]OFD Sender: No OFD packet to send [10:41:29]OFD Sender: No OFD packet to send [10:41:34]OFD Sender: No OFD packet to send [10:41:39]OFD Sender: No OFD packet to send [10:41:44]OFD Sender: No OFD packet to send [10:41:49]OFD Sender: No OFD packet to send [10:41:54]OFD Sender: No OFD packet to send [10:41:59]OFD Sender: No OFD packet to send [10:42:04]OFD Sender: No OFD packet to send [10:42:09]OFD Sender: No OFD packet to send [10:42:14]OFD Sender: No OFD packet to send [10:42:19]OFD Sender: No OFD packet to send [10:42:24]OFD Sender: No OFD packet to send [10:42:29]OFD Sender: No OFD packet to send [10:42:34]OFD Sender: No OFD packet to send [10:42:39]OFD Sender: No OFD packet to send [10:42:44]OFD Sender: No OFD packet to send [10:42:49]OFD Sender: No OFD packet to send [10:42:54]OFD Sender: No OFD packet to send [10:42:59]OFD Sender: No OFD packet to send [10:43:04]OFD Sender: No OFD packet to send [10:43:09]OFD Sender: No OFD packet to send [10:43:14]OFD Sender: No OFD packet to send [10:43:19]OFD Sender: No OFD packet to send [10:43:24]OFD Sender: No OFD packet to send [10:43:29]OFD Sender: No OFD packet to send [10:43:34]OFD Sender: No OFD packet to send [10:43:39]OFD Sender: No OFD packet to send [10:43:44]OFD Sender: No OFD packet to send [10:43:49]OFD Sender: No OFD packet to send [10:43:54]OFD Sender: No OFD packet to send [10:43:59]OFD Sender: No OFD packet to send [10:44:04]OFD Sender: No OFD packet to send [10:44:09]OFD Sender: No OFD packet to send [10:44:14]OFD Sender: No OFD packet to send [10:44:19]OFD Sender: No OFD packet to send [10:44:24]OFD Sender: No OFD packet to send [10:44:29]OFD Sender: No OFD packet to send [10:44:34]OFD Sender: No OFD packet to send [10:44:39]OFD Sender: No OFD packet to send [10:44:44]OFD Sender: No OFD packet to send [10:44:49]OFD Sender: No OFD packet to send [10:44:54]OFD Sender: No OFD packet to send [10:44:59]OFD Sender: No OFD packet to send [10:45:04]OFD Sender: No OFD packet to send [10:45:09]OFD Sender: No OFD packet to send [10:45:14]OFD Sender: No OFD packet to send [10:45:19]OFD Sender: No OFD packet to send [10:45:24]OFD Sender: No OFD packet to send [10:45:29]OFD Sender: No OFD packet to send [10:45:34]OFD Sender: No OFD packet to send [10:45:39]OFD Sender: No OFD packet to send [10:45:44]OFD Sender: No OFD packet to send [10:45:49]OFD Sender: No OFD packet to send [10:45:54]OFD Sender: No OFD packet to send [10:45:59]OFD Sender: No OFD packet to send [10:46:04]OFD Sender: No OFD packet to send [10:46:09]OFD Sender: No OFD packet to send [10:46:14]OFD Sender: No OFD packet to send [10:46:19]OFD Sender: No OFD packet to send [10:46:24]OFD Sender: No OFD packet to send [10:46:29]OFD Sender: No OFD packet to send [10:46:31]accept exits with 7 [10:46:31]New connection [10:46:31]New thread 3067301220 created [10:46:31]Thread 3067444580 joined [10:46:31]Waiting for new connection... [10:46:31] Sock 7.Parse request [10:46:31]Sock 7.Check first char [10:46:31]Sock 7.First char is OK [10:46:31]request: POST /json_proto HTTP/1.0 [10:46:31]Method: POST [10:46:31]URL: /json_proto [10:46:31]Method is POST - this is cgi request [10:46:31]url: /json_proto [10:46:31]query_string will be loaded in cgi processing [10:46:31]execute_cgi json_proto POST (null) [10:46:31]execute_cgi path=json_proto method=POST [10:46:31]POST find Content-Length [10:46:31]Host: 172.17.56.68:8080 [10:46:31]Content-Length: 1205 [10:46:31]Content-Type: application/json [10:46:31] [10:46:31]POST finish read [10:46:31]Found Content-Length = 1205 [10:46:31]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4410", "tax_sys" : 0, "items" : [ { "code": "4700003010346", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Let`s Go! \u0441/\u0441 \u0433\u0440\u0443\u0448\u0430 \u041F\u042D\u0422 0,5\u043B", "price" : 40.00, "quantity" : 2.000, "sum" : 80.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4630056952563", "name": "\u041F\u0435\u0447 \u042E\u0431\u0438\u043B\u0435\u0439\u043D\u043E\u0435 \u0422\u043E\u0440\u0436\u0435\u0441\u0442\u0432\u043E \u043C\u043E\u043B\u043E\u0447\u043D\u043E\u0435 120\u0433", "price" : 59.00, "quantity" : 1.000, "sum" : 59.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 139.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:46:31]execute_script... [10:46:31]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4410", "tax_sys" : 0, "items" : [ { "code": "4700003010346", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Let`s Go! \u0441/\u0441 \u0433\u0440\u0443\u0448\u0430 \u041F\u042D\u0422 0,5\u043B", "price" : 40.00, "quantity" : 2.000, "sum" : 80.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4630056952563", "name": "\u041F\u0435\u0447 \u042E\u0431\u0438\u043B\u0435\u0439\u043D\u043E\u0435 \u0422\u043E\u0440\u0436\u0435\u0441\u0442\u0432\u043E \u043C\u043E\u043B\u043E\u0447\u043D\u043E\u0435 120\u0433", "price" : 59.00, "quantity" : 1.000, "sum" : 59.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 139.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:46:31]POST & json_proto [10:46:31]process_json_proto [10:46:31]json parsed OK: [10:46:31]protocol is kg_v1.0 [10:46:31]action value=close_receipt [10:46:31]process_action close_receipt [10:46:31]cmd_close_receipt [10:46:31]MH_GetDate [10:46:31]Write to MH i2c: F0 00 00 91 01 81 [10:46:31]Write i2c OK [10:46:31]MH_I2C_Read... [10:46:31]Read from MH i2c: F0 [10:46:31]MH_I2C_Read... [10:46:31]Read from MH i2c: F0 09 00 [10:46:31]MH_I2C_Read... [10:46:31]Read from MH i2c: F0 09 00 91 01 00 08 42 60 66 42 69 5C 66 07 [10:46:31]GetLastDocTimeStamp 1717583837 [10:46:31]current date 1717584392 [10:46:31]FM_GetShiftState [10:46:31]SAM_PROTO_GetShiftState [10:46:31]wFMCommunicate request_size=4 [10:46:31]MH_SAM_APDU [10:46:31]CAPDU: 80 13 01 00 [10:46:31]Write to MH i2c: E2 08 00 92 01 80 13 01 00 00 00 00 00 10 [10:46:31]Write i2c OK [10:46:31]MH_I2C_Read... [10:46:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:46:31]Read from MH i2c: E2 [10:46:31]MH_I2C_Read... [10:46:31]Read from MH i2c: E2 0E 00 [10:46:31]MH_I2C_Read... [10:46:31]Read from MH i2c: E2 0E 00 92 01 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 B1 [10:46:31]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [10:46:31]wFMCommunicate OK [10:46:31]SAM_PROTO_GetShiftState done [10:46:31]FM_GetShiftState done [10:46:31]opened in 1717545765 [10:46:31]opened+sec_in_day 1717632165 [10:46:31]quantity*price = 8000 [10:46:31]sum+1 = 8001 [10:46:31]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4630056952563 Печ Юбилейное Торжество молочное 120г 1.000 * 59.00 = 59.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 139.00 НСП 1% : 1.23 НДС 12% : 14.76 Наличными: 0.00 Безнал.: 139.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 15 05.06.2024 10:46 Смена: 84 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 Платежная система: О! деньги ФМ: 0000000000959360 ФД: 4157 ФПД: 261921146912398 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T104632&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4157&fm=261921146912398&tin=02508201610067®Number=0000000000145775&sum=13900 0 [10:46:33]StoreToDocumentArchive [10:46:33]shift 84 fd 4157 [10:46:33]save to /storage/0084/doc_00004157 [10:46:33]save last doc name /storage/0084/doc_00004157 to /storage/kkm_last_doc_name [10:46:33]save OK [10:46:33]Clear old archive folders... [10:46:33]ProcessDocumentItem done err = 0, tmpTLVsize=435 [10:46:33]tlvbuf is 00941B30 [10:46:33]SAM_PROTO_ClearQueue [10:46:33]wFMCommunicate request_size=4 [10:46:33]MH_SAM_APDU [10:46:33]CAPDU: 80 09 00 00 [10:46:33]Write to MH i2c: E2 08 00 9F 01 80 09 00 00 00 00 00 00 12 [10:46:33]Write i2c OK [10:46:33]MH_I2C_Read... [10:46:33]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:46:33]Read from MH i2c: E2 [10:46:33]MH_I2C_Read... [10:46:33]Read from MH i2c: E2 03 00 [10:46:33]MH_I2C_Read... [10:46:33]Read from MH i2c: E2 03 00 9F 01 00 90 00 14 [10:46:33]RAPDU: 90 00 [10:46:33]wFMCommunicate OK [10:46:33]SAM_PROTO_ClearQueue done [10:46:33]KKMCreateOFDPacket [10:46:33]OFDProtocolAddRootSTLVToBuf [10:46:33]FM_MakeSignedData [10:46:33]FM_MakeSignedData [10:46:33]SAM_PROTO_SignData [10:46:33]wFMCommunicate request_size=4 [10:46:33]MH_SAM_APDU [10:46:33]CAPDU: 80 0D 01 02 [10:46:33]Write to MH i2c: E2 08 00 A0 01 80 0D 01 02 00 00 00 00 1A [10:46:33]Write i2c OK [10:46:33]MH_I2C_Read... [10:46:33]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:46:33]Read from MH i2c: E2 [10:46:33]MH_I2C_Read... [10:46:33]Read from MH i2c: E2 03 00 [10:46:33]MH_I2C_Read... [10:46:33]Read from MH i2c: E2 03 00 A0 01 00 90 00 15 [10:46:33]RAPDU: 90 00 [10:46:33]wFMCommunicate OK [10:46:33]wFMCommunicate request_size=255 [10:46:33]MH_SAM_APDU [10:46:33]CAPDU: 80 0D 02 02 FA 03 00 B3 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 33 34 36 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 65 74 60 73 20 47 6F 21 20 D1 81 2F D1 81 20 D0 B3 D1 80 D1 83 D1 88 D0 B0 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 A0 0F 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 87 00 8A 04 0D 00 34 36 33 30 30 35 36 39 35 32 35 36 33 06 04 43 00 D0 9F D0 B5 D1 87 20 D0 AE D0 B1 D0 B8 D0 BB D0 B5 D0 B9 D0 BD D0 BE D0 B5 20 D0 A2 D0 BE D1 80 D0 B6 D0 B5 D1 81 D1 82 D0 B2 D0 BE 20 D0 BC D0 BE D0 BB D0 BE D1 87 D0 BD D0 BE D0 B5 20 31 32 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 [10:46:33]Write to MH i2c: E2 02 01 A1 01 80 0D 02 02 FA 00 03 00 B3 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 33 34 36 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 65 74 60 73 20 47 6F 21 20 D1 81 2F D1 81 20 D0 B3 D1 80 D1 83 D1 88 D0 B0 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 A0 0F 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 87 00 8A 04 0D 00 34 36 33 30 30 35 36 39 35 32 35 36 33 06 04 43 00 D0 9F D0 B5 D1 87 20 D0 AE D0 B1 D0 B8 D0 BB D0 B5 D0 B9 D0 BD D0 BE D0 B5 20 D0 A2 D0 BE D1 80 D0 B6 D0 B5 D1 81 D1 82 D0 B2 D0 BE 20 D0 BC D0 BE D0 BB D0 BE D1 87 D0 BD D0 BE D0 B5 20 31 32 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 00 00 CD [10:46:33]Write i2c OK [10:46:33]MH_I2C_Read... [10:46:33]Read from MH i2c: E2 [10:46:33]MH_I2C_Read... [10:46:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:46:33]Read from MH i2c: E2 03 00 [10:46:33]MH_I2C_Read... [10:46:33]Read from MH i2c: E2 03 00 A1 01 00 90 00 16 [10:46:33]RAPDU: 90 00 [10:46:33]wFMCommunicate OK [10:46:33]wFMCommunicate request_size=194 [10:46:33]MH_SAM_APDU [10:46:33]CAPDU: 80 0D 02 02 BD 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 4C 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 4C 36 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 08 42 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 3D 10 00 00 35 04 06 00 EE 37 44 EB BE 8E [10:46:33]Write to MH i2c: E2 C5 00 A2 01 80 0D 02 02 BD 00 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 4C 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 4C 36 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 08 42 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 3D 10 00 00 35 04 06 00 EE 37 44 EB BE 8E 00 00 66 [10:46:33]Write i2c OK [10:46:33]MH_I2C_Read... [10:46:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:46:33]Read from MH i2c: E2 [10:46:33]MH_I2C_Read... [10:46:33]Read from MH i2c: E2 03 00 [10:46:33]MH_I2C_Read... [10:46:33]Read from MH i2c: E2 03 00 A2 01 00 90 00 17 [10:46:33]RAPDU: 90 00 [10:46:33]wFMCommunicate OK [10:46:33]wFMCommunicate request_size=4 [10:46:33]MH_SAM_APDU [10:46:33]CAPDU: 80 0D 03 02 [10:46:33]Write to MH i2c: E2 08 00 A3 01 80 0D 03 02 00 00 00 00 1F [10:46:33]Write i2c OK [10:46:33]MH_I2C_Read... [10:46:33]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:46:33]Read from MH i2c: E2 [10:46:33]MH_I2C_Read... [10:46:33]Read from MH i2c: E2 0B 00 [10:46:33]MH_I2C_Read... [10:46:33]Read from MH i2c: E2 0B 00 A3 01 00 E5 D0 80 B8 E7 2F FA 48 90 00 65 [10:46:33]RAPDU: E5 D0 80 B8 E7 2F FA 48 90 00 [10:46:33]wFMCommunicate OK [10:46:33]SAM_PROTO_SignData done [10:46:33]FM_MakeSignedData done [10:46:33]CreateOFDProtocolMessage [10:46:33]wFMCommunicate request_size=4 [10:46:33]MH_SAM_APDU [10:46:33]CAPDU: 80 11 00 00 [10:46:33]Write to MH i2c: E2 08 00 A4 01 80 11 00 00 00 00 00 00 1F [10:46:33]Write i2c OK [10:46:33]MH_I2C_Read... [10:46:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:46:33]Read from MH i2c: E2 [10:46:33]MH_I2C_Read... [10:46:33]Read from MH i2c: E2 17 00 [10:46:33]MH_I2C_Read... [10:46:33]Read from MH i2c: E2 17 00 A4 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 72 [10:46:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [10:46:33]wFMCommunicate OK [10:46:33]CreateOFDProtocolMessage done [10:46:33]OFDSenderStorePacket 4157 [10:46:33]StoreOFDPacket docnum=4157 [10:46:33]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 C7 01 00 00 55 2A BF 01 65 A5 5A 03 01 00 03 00 B3 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 33 34 36 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 65 74 60 73 20 47 6F 21 20 D1 81 2F D1 81 20 D0 B3 D1 80 D1 83 D1 88 D0 B0 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 A0 0F 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 87 00 8A 04 0D 00 34 36 33 30 30 35 36 39 35 32 35 36 33 06 04 43 00 D0 9F D0 B5 D1 87 20 D0 AE D0 B1 D0 B8 D0 BB D0 B5 D0 B9 D0 BD D0 BE D0 B5 20 D0 A2 D0 BE D1 80 D0 B6 D0 B5 D1 81 D1 82 D0 B2 D0 BE 20 D0 BC D0 BE D0 BB D0 BE D1 87 D0 BD D0 BE D0 B5 20 31 32 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 4C 36 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 08 42 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 3D 10 00 00 35 04 06 00 EE 37 44 EB BE 8E E5 D0 80 B8 E7 2F FA 48 [10:46:33]CheckFolder [10:46:33]dirname=/storage/ofd_packets [10:46:33]CheckFolder done [10:46:33]ProducePacketName [10:46:33]name=ofd_packets/00004157 [10:46:33]NVStorageSaveData ofd_packets/00004157 [10:46:33]File name is /storage/ofd_packets/00004157 [10:46:33]Write 485 bytes [10:46:33]NVStorageSaveData done [10:46:33]OFDSenderStorePacket done [10:46:33]KKMCreateOFDPacket done [10:46:33]NVStorageSaveData kkm_last_timestamp [10:46:33]File name is /storage/kkm_last_timestamp [10:46:33]Write 4 bytes [10:46:33]NVStorageSaveData done [10:46:33]ExternCall_PrintAddStr [10:46:33]wPrintStart [10:46:33]Write to MH i2c: 01 00 00 A5 01 A6 [10:46:33]Write i2c OK [10:46:33]MH_I2C_Read... [10:46:33]Read from MH i2c: 01 [10:46:33]MH_I2C_Read... [10:46:33]Read from MH i2c: 01 07 00 [10:46:33]MH_I2C_Read... [10:46:33]Read from MH i2c: 01 07 00 A5 01 00 00 00 00 00 FF 0F BB [10:46:33]RasterBufferAndPrint [10:46:33]line Счет N : (3)4410 [10:46:33]line ИНН: 02508201610067 [10:46:33]line Контрольно-Кассовый Чек [10:46:33]line ПРОДАЖА [10:46:33]line Товар: 4700003010346 [10:46:33]line Напиток Let`s Go! с/с груша ПЭТ 0,5л [10:46:33]line 2.000 * 40.00 [10:46:33]line = 80.00 [10:46:33]line НДС 12% НСП 1% [10:46:33]line > о реализуемом товаре [10:46:33]line Товар: 4630056952563 [10:46:33]line Печ Юбилейное Торжество молочное 120г [10:46:33]line 1.000 * 59.00 [10:46:33]line = 59.00 [10:46:33]line НДС 12% НСП 1% [10:46:33]line > о реализуемом товаре [10:46:33]line ИТОГО: 139.00 [10:46:33]line НСП 1% : 1.23 [10:46:33]line НДС 12% : 14.76 [10:46:33]line Наличными: 0.00 [10:46:33]line Безнал.: 139.00 [10:46:33]line Место: АЗС № 116 "Партнер Нефть" [10:46:33]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [10:46:33]line СНО: Общий режим [10:46:33]line Чек 15 05.06.2024 10:46 [10:46:33]line Смена: 84 ФФД: 1.0 [10:46:33]line ЗНМ: 0300000233 [10:46:33]line РНМ: 0000000000145775 [10:46:33]line Версия ККМ: v1.0 [10:46:33]line Платежная система: О! деньги [10:46:33]line ФМ: 0000000000959360 [10:46:33]line ФД: 4157 [10:46:33]line ФПД: 261921146912398 [10:46:34]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T104632&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4157&fm=261921146912398&tin=02508201610067®Number=0000000000145775&sum=13900 [10:46:34]line 0 [10:46:34]OFD Sender: Processing packet 4157 [packets to send 2, broken 1] [10:46:34]ProducePacketName [10:46:34]name=ofd_packets/00004157 [10:46:34]OFD Sender: To server: pG, [10:46:34]CommunicateWithHost lk.salyk.kg:30040 [10:46:34]ConnectInit lk.salyk.kg [10:46:34]written 0, free lines is 4095 [10:46:34]Connected sock=10 [10:46:34]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 C7 01 00 00 55 2A BF 01 65 A5 5A 03 01 00 03 00 B3 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 33 34 36 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 65 74 60 73 20 47 6F 21 20 D1 81 2F D1 81 20 D0 B3 D1 80 D1 83 D1 88 D0 B0 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 A0 0F 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 87 00 8A 04 0D 00 34 36 33 30 30 35 36 39 35 32 35 36 33 06 04 43 00 D0 9F D0 B5 D1 87 20 D0 AE D0 B1 D0 B8 D0 BB D0 B5 D0 B9 D0 BD D0 BE D0 B5 20 D0 A2 D0 BE D1 80 D0 B6 D0 B5 D1 81 D1 82 D0 B2 D0 BE 20 D0 BC D0 BE D0 BB D0 BE D1 87 D0 BD D0 BE D0 B5 20 31 32 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 4C 36 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 08 42 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 3D 10 00 00 35 04 06 00 EE 37 44 EB BE 8E E5 D0 80 B8 E7 2F FA 48 [10:46:34]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 4B 7D 47 00 5A E0 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 3D 10 00 00 F4 03 04 00 06 EE 5F 66 B6 04 01 00 00 6C 30 B3 96 BA F2 D3 5B [10:46:34]CommunicateWithHost err = 0 [10:46:34]CheckOFDResponse [10:46:34]1017 (14) - 77093643461234 [10:46:34]1041 (16) - 0000000000959360 [10:46:34]1040 (4) - 4157 [10:46:34]1012 (4) - 05.06.2024 04:48 [10:46:34]1206 (1) - 0 [10:46:34]OFD Sender: Remove packet 4157 [10:46:34]ProducePacketName [10:46:34]name=ofd_packets/00004157 [10:46:34]NVStorageDeleteData [10:46:34]Write to MH i2c: 01 00 00 D7 01 D8 [10:46:34]Write i2c OK [10:46:34]MH_I2C_Read... [10:46:34]Read from MH i2c: 01 [10:46:34]MH_I2C_Read... [10:46:34]Read from MH i2c: 01 07 00 [10:46:34]MH_I2C_Read... [10:46:34]Read from MH i2c: 01 07 00 D7 01 00 00 00 00 00 0A 0C F5 [10:46:34]RasterBufferAndPrint [10:46:34]line [10:46:34]line [10:46:34]line [10:46:34]line [10:46:34]line [10:46:34]written 0, free lines is 3088 [10:46:34]MH_Cut [10:46:34]Write to MH i2c: D1 01 00 DE 01 01 B1 [10:46:34]Write i2c OK [10:46:34]MH_I2C_Read... [10:46:34]Read from MH i2c: D1 [10:46:34]MH_I2C_Read... [10:46:34]Read from MH i2c: D1 01 00 [10:46:34]MH_I2C_Read... [10:46:34]Read from MH i2c: D1 01 00 DE 01 00 B0 [10:46:34]Write to MH i2c: 01 00 00 DF 01 E0 [10:46:34]Write i2c OK [10:46:34]MH_I2C_Read... [10:46:34]OFD Sender: No OFD packet to send [10:46:35]*** Cut start [10:46:35]*** Partial cut [10:46:35]*** CUTSNS_PIN = 1 [10:46:35]*** CUTSNS_PIN = 0 [10:46:36]*** Brake cut motor [10:46:36]Read from MH i2c: 01 [10:46:36]MH_I2C_Read... [10:46:36]*** Stop cut motor [10:46:36]*** Cut end [10:46:36]Read from MH i2c: 01 07 00 [10:46:36]MH_I2C_Read... [10:46:36]Read from MH i2c: 01 07 00 DF 01 00 00 00 00 00 FF 0F F5 [10:46:36]process_action close_receipt done [10:46:36]requested_data is exist [10:46:36]produce_requested_data [10:46:36]requested_item fm.sn is exist - process it [10:46:36]wFMCommunicate request_size=4 [10:46:36]MH_SAM_APDU [10:46:36]CAPDU: 80 11 00 00 [10:46:36]Write to MH i2c: E2 08 00 E0 01 80 11 00 00 00 00 00 00 5B [10:46:36]Write i2c OK [10:46:36]MH_I2C_Read... [10:46:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:46:36]Read from MH i2c: E2 [10:46:36]MH_I2C_Read... [10:46:36]Read from MH i2c: E2 17 00 [10:46:36]MH_I2C_Read... [10:46:36]Read from MH i2c: E2 17 00 E0 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 AE [10:46:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [10:46:36]wFMCommunicate OK [10:46:36]requested_item fd.num is exist - process it [10:46:36]SAM_PROTO_GetFieldsCounters [10:46:36]wFMCommunicate request_size=4 [10:46:36]MH_SAM_APDU [10:46:36]CAPDU: 80 13 00 00 [10:46:36]Write to MH i2c: E2 08 00 E1 01 80 13 00 00 00 00 00 00 5E [10:46:36]Write i2c OK [10:46:36]MH_I2C_Read... [10:46:36]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:46:36]Read from MH i2c: E2 [10:46:36]MH_I2C_Read... [10:46:36]Read from MH i2c: E2 62 00 [10:46:36]MH_I2C_Read... [10:46:36]Read from MH i2c: E2 62 00 E1 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 3D 10 00 00 0E 04 04 00 54 00 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 51 [10:46:36]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 3D 10 00 00 0E 04 04 00 54 00 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:46:36]wFMCommunicate OK [10:46:36]SAM_PROTO_GetFieldsCounters done [10:46:36]requested_item shift.num is exist - process it [10:46:36]requested_item shift.opened is exist - process it [10:46:36]req_shift_opened [10:46:36]FM_GetShiftState [10:46:36]SAM_PROTO_GetShiftState [10:46:36]wFMCommunicate request_size=4 [10:46:36]MH_SAM_APDU [10:46:36]CAPDU: 80 13 01 00 [10:46:36]Write to MH i2c: E2 08 00 E2 01 80 13 01 00 00 00 00 00 60 [10:46:36]Write i2c OK [10:46:36]MH_I2C_Read... [10:46:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:46:36]Read from MH i2c: E2 [10:46:36]MH_I2C_Read... [10:46:36]Read from MH i2c: E2 0E 00 [10:46:36]MH_I2C_Read... [10:46:36]Read from MH i2c: E2 0E 00 E2 01 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 01 [10:46:36]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [10:46:36]wFMCommunicate OK [10:46:36]SAM_PROTO_GetShiftState done [10:46:36]FM_GetShiftState done [10:46:36]req_shift_opened done [10:46:36]requested_item shift.open_date is exist - process it [10:46:36]req_shift_open_date [10:46:36]req_shift_open_date done [10:46:36]produce_requested_data done [10:46:36]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4157,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765} [10:46:36]process_action_free close_receipt [10:46:36]json_value_free [10:46:36]json_value_free done [10:46:36]process_json_proto returns [10:46:36]Send response to host [10:46:36]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4157,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765}}} [10:46:36]free response buf [10:46:36]execute_script done [10:46:36]execute_script returns [10:46:36]free content buf [10:46:36]Sock 7.Close socket [10:46:36]Sock 7.Thread stoped [10:46:39]OFD Sender: No OFD packet to send [10:46:44]OFD Sender: No OFD packet to send [10:46:49]OFD Sender: No OFD packet to send [10:46:54]OFD Sender: No OFD packet to send [10:46:59]OFD Sender: No OFD packet to send [10:47:04]OFD Sender: No OFD packet to send [10:47:09]OFD Sender: No OFD packet to send [10:47:14]OFD Sender: No OFD packet to send [10:47:19]OFD Sender: No OFD packet to send [10:47:24]OFD Sender: No OFD packet to send [10:47:29]OFD Sender: No OFD packet to send [10:47:34]OFD Sender: No OFD packet to send [10:47:40]OFD Sender: No OFD packet to send [10:47:45]OFD Sender: No OFD packet to send [10:47:50]OFD Sender: No OFD packet to send [10:47:55]OFD Sender: No OFD packet to send [10:48:00]OFD Sender: No OFD packet to send [10:48:05]OFD Sender: No OFD packet to send [10:48:10]OFD Sender: No OFD packet to send [10:48:15]OFD Sender: No OFD packet to send [10:48:20]OFD Sender: No OFD packet to send [10:48:25]OFD Sender: No OFD packet to send [10:48:30]OFD Sender: No OFD packet to send [10:48:35]OFD Sender: No OFD packet to send [10:48:40]OFD Sender: No OFD packet to send [10:48:45]OFD Sender: No OFD packet to send [10:48:50]OFD Sender: No OFD packet to send [10:48:55]OFD Sender: No OFD packet to send [10:49:00]OFD Sender: No OFD packet to send [10:49:05]OFD Sender: No OFD packet to send [10:49:10]OFD Sender: No OFD packet to send [10:49:15]OFD Sender: No OFD packet to send [10:49:20]OFD Sender: No OFD packet to send [10:49:25]OFD Sender: No OFD packet to send [10:49:30]OFD Sender: No OFD packet to send [10:49:35]OFD Sender: No OFD packet to send [10:49:40]OFD Sender: No OFD packet to send [10:49:45]OFD Sender: No OFD packet to send [10:49:50]OFD Sender: No OFD packet to send [10:49:55]OFD Sender: No OFD packet to send [10:50:00]OFD Sender: No OFD packet to send [10:50:05]OFD Sender: No OFD packet to send [10:50:10]OFD Sender: No OFD packet to send [10:50:15]OFD Sender: No OFD packet to send [10:50:20]OFD Sender: No OFD packet to send [10:50:25]OFD Sender: No OFD packet to send [10:50:26]accept exits with 9 [10:50:26]New connection [10:50:26]New thread 3067444580 created [10:50:26]Thread 3067301220 joined [10:50:26]Waiting for new connection... [10:50:26] Sock 9.Parse request [10:50:26]Sock 9.Check first char [10:50:26]Sock 9.First char is OK [10:50:26]request: POST /json_proto HTTP/1.0 [10:50:26]Method: POST [10:50:26]URL: /json_proto [10:50:26]Method is POST - this is cgi request [10:50:26]url: /json_proto [10:50:26]query_string will be loaded in cgi processing [10:50:26]execute_cgi json_proto POST (null) [10:50:26]execute_cgi path=json_proto method=POST [10:50:26]POST find Content-Length [10:50:26]Host: 172.17.56.68:8080 [10:50:26]Content-Length: 764 [10:50:26]Content-Type: application/json [10:50:26] [10:50:26]POST finish read [10:50:26]Found Content-Length = 764 [10:50:26]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4411", "tax_sys" : 0, "items" : [ { "code": "4600682029830", "name": "Garage Hard Lemon 0,44 \u0441\u0442/\u0431", "price" : 120.00, "quantity" : 2.000, "sum" : 240.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: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 240.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:50:26]execute_script... [10:50: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)4411", "tax_sys" : 0, "items" : [ { "code": "4600682029830", "name": "Garage Hard Lemon 0,44 \u0441\u0442/\u0431", "price" : 120.00, "quantity" : 2.000, "sum" : 240.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: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 240.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:50:26]POST & json_proto [10:50:26]process_json_proto [10:50:26]json parsed OK: [10:50:26]protocol is kg_v1.0 [10:50:26]action value=close_receipt [10:50:26]process_action close_receipt [10:50:26]cmd_close_receipt [10:50:26]MH_GetDate [10:50:26]Write to MH i2c: F0 00 00 E3 01 D3 [10:50:26]Write i2c OK [10:50:26]MH_I2C_Read... [10:50:26]Read from MH i2c: F0 [10:50:26]MH_I2C_Read... [10:50:26]Read from MH i2c: F0 09 00 [10:50:26]MH_I2C_Read... [10:50:26]Read from MH i2c: F0 09 00 E3 01 00 F3 42 60 66 42 69 5C 66 44 [10:50:26]GetLastDocTimeStamp 1717584392 [10:50:26]current date 1717584627 [10:50:26]FM_GetShiftState [10:50:26]SAM_PROTO_GetShiftState [10:50:26]wFMCommunicate request_size=4 [10:50:26]MH_SAM_APDU [10:50:26]CAPDU: 80 13 01 00 [10:50:26]Write to MH i2c: E2 08 00 E4 01 80 13 01 00 00 00 00 00 62 [10:50:26]Write i2c OK [10:50:26]MH_I2C_Read... [10:50:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:50:26]Read from MH i2c: E2 [10:50:26]MH_I2C_Read... [10:50:26]Read from MH i2c: E2 0E 00 [10:50:26]MH_I2C_Read... [10:50:26]Read from MH i2c: E2 0E 00 E4 01 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 03 [10:50:26]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [10:50:26]wFMCommunicate OK [10:50:26]SAM_PROTO_GetShiftState done [10:50:26]FM_GetShiftState done [10:50:26]opened in 1717545765 [10:50:26]opened+sec_in_day 1717632165 [10:50:26]quantity*price = 24000 [10:50:26]sum+1 = 24001 [10:50:26]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 240.00 НСП 1% : 2.12 НДС 12% : 25.49 Наличными: 0.00 Безнал.: 240.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 16 05.06.2024 10:50 Смена: 84 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 Платежная система: О! деньги ФМ: 0000000000959360 ФД: 4158 ФПД: 247965876409214 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T105027&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4158&fm=247965876409214&tin=02508201610067®Number=0000000000145775&sum=24000 0 [10:50:27]StoreToDocumentArchive [10:50:27]shift 84 fd 4158 [10:50:27]save to /storage/0084/doc_00004158 [10:50:27]save last doc name /storage/0084/doc_00004158 to /storage/kkm_last_doc_name [10:50:27]save OK [10:50:27]Clear old archive folders... [10:50:27]ProcessDocumentItem done err = 0, tmpTLVsize=272 [10:50:27]tlvbuf is 0093EB70 [10:50:27]SAM_PROTO_ClearQueue [10:50:27]wFMCommunicate request_size=4 [10:50:27]MH_SAM_APDU [10:50:27]CAPDU: 80 09 00 00 [10:50:27]Write to MH i2c: E2 08 00 F1 01 80 09 00 00 00 00 00 00 64 [10:50:27]Write i2c OK [10:50:27]MH_I2C_Read... [10:50:27]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:50:28]Read from MH i2c: E2 [10:50:28]MH_I2C_Read... [10:50:28]Read from MH i2c: E2 03 00 [10:50:28]MH_I2C_Read... [10:50:28]Read from MH i2c: E2 03 00 F1 01 00 90 00 66 [10:50:28]RAPDU: 90 00 [10:50:28]wFMCommunicate OK [10:50:28]SAM_PROTO_ClearQueue done [10:50:28]KKMCreateOFDPacket [10:50:28]OFDProtocolAddRootSTLVToBuf [10:50:28]FM_MakeSignedData [10:50:28]FM_MakeSignedData [10:50:28]SAM_PROTO_SignData [10:50:28]wFMCommunicate request_size=4 [10:50:28]MH_SAM_APDU [10:50:28]CAPDU: 80 0D 01 02 [10:50:28]Write to MH i2c: E2 08 00 F2 01 80 0D 01 02 00 00 00 00 6C [10:50:28]Write i2c OK [10:50:28]MH_I2C_Read... [10:50:28]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:50:28]Read from MH i2c: E2 [10:50:28]MH_I2C_Read... [10:50:28]Read from MH i2c: E2 03 00 [10:50:28]MH_I2C_Read... [10:50:28]Read from MH i2c: E2 03 00 F2 01 00 90 00 67 [10:50:28]RAPDU: 90 00 [10:50:28]wFMCommunicate OK [10:50:28]wFMCommunicate request_size=255 [10:50:28]MH_SAM_APDU [10:50:28]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 30 30 36 38 32 30 32 39 38 33 30 06 04 1E 00 47 61 72 61 67 65 20 48 61 72 64 20 4C 65 6D 6F 6E 20 30 2C 34 34 20 D1 81 D1 82 2F D0 B1 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 C0 5D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 5D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D4 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F5 09 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C0 5D 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 F3 42 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 [10:50:28]Write to MH i2c: E2 02 01 F3 01 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 30 30 36 38 32 30 32 39 38 33 30 06 04 1E 00 47 61 72 61 67 65 20 48 61 72 64 20 4C 65 6D 6F 6E 20 30 2C 34 34 20 D1 81 D1 82 2F D0 B1 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 C0 5D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 5D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D4 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F5 09 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C0 5D 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 F3 42 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 00 00 BC [10:50:28]Write i2c OK [10:50:28]MH_I2C_Read... [10:50:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:50:28]Read from MH i2c: E2 [10:50:28]MH_I2C_Read... [10:50:28]Read from MH i2c: E2 03 00 [10:50:28]MH_I2C_Read... [10:50:28]Read from MH i2c: E2 03 00 F3 01 00 90 00 68 [10:50:28]RAPDU: 90 00 [10:50:28]wFMCommunicate OK [10:50:28]wFMCommunicate request_size=31 [10:50:28]MH_SAM_APDU [10:50:28]CAPDU: 80 0D 02 02 1A 30 30 39 35 39 33 36 30 10 04 04 00 3E 10 00 00 35 04 06 00 E1 86 0D FA D3 7E [10:50:28]Write to MH i2c: E2 22 00 F4 01 80 0D 02 02 1A 00 30 30 39 35 39 33 36 30 10 04 04 00 3E 10 00 00 35 04 06 00 E1 86 0D FA D3 7E 00 00 A7 [10:50:28]Write i2c OK [10:50:28]MH_I2C_Read... [10:50:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:50:28]Read from MH i2c: E2 [10:50:28]MH_I2C_Read... [10:50:28]Read from MH i2c: E2 03 00 [10:50:28]MH_I2C_Read... [10:50:28]Read from MH i2c: E2 03 00 F4 01 00 90 00 69 [10:50:28]RAPDU: 90 00 [10:50:28]wFMCommunicate OK [10:50:28]wFMCommunicate request_size=4 [10:50:28]MH_SAM_APDU [10:50:28]CAPDU: 80 0D 03 02 [10:50:28]Write to MH i2c: E2 08 00 F5 01 80 0D 03 02 00 00 00 00 71 [10:50:28]Write i2c OK [10:50:28]MH_I2C_Read... [10:50:28]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:50:28]Read from MH i2c: E2 [10:50:28]MH_I2C_Read... [10:50:28]Read from MH i2c: E2 0B 00 [10:50:28]MH_I2C_Read... [10:50:28]Read from MH i2c: E2 0B 00 F5 01 00 EF 96 38 2D EA 42 1C BD 90 00 61 [10:50:28]RAPDU: EF 96 38 2D EA 42 1C BD 90 00 [10:50:28]wFMCommunicate OK [10:50:28]SAM_PROTO_SignData done [10:50:28]FM_MakeSignedData done [10:50:28]CreateOFDProtocolMessage [10:50:28]wFMCommunicate request_size=4 [10:50:28]MH_SAM_APDU [10:50:28]CAPDU: 80 11 00 00 [10:50:28]Write to MH i2c: E2 08 00 F6 01 80 11 00 00 00 00 00 00 71 [10:50:28]Write i2c OK [10:50:28]MH_I2C_Read... [10:50:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:50:28]Read from MH i2c: E2 [10:50:28]MH_I2C_Read... [10:50:28]Read from MH i2c: E2 17 00 [10:50:28]MH_I2C_Read... [10:50:28]Read from MH i2c: E2 17 00 F6 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 C4 [10:50:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [10:50:28]wFMCommunicate OK [10:50:28]CreateOFDProtocolMessage done [10:50:28]OFDSenderStorePacket 4158 [10:50:28]StoreOFDPacket docnum=4158 [10:50:28]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 24 01 00 00 C8 75 1C 01 8E DC 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 30 30 36 38 32 30 32 39 38 33 30 06 04 1E 00 47 61 72 61 67 65 20 48 61 72 64 20 4C 65 6D 6F 6E 20 30 2C 34 34 20 D1 81 D1 82 2F D0 B1 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 C0 5D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 5D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D4 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F5 09 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C0 5D 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 F3 42 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 3E 10 00 00 35 04 06 00 E1 86 0D FA D3 7E EF 96 38 2D EA 42 1C BD [10:50:28]CheckFolder [10:50:28]dirname=/storage/ofd_packets [10:50:28]CheckFolder done [10:50:28]ProducePacketName [10:50:28]name=ofd_packets/00004158 [10:50:28]NVStorageSaveData ofd_packets/00004158 [10:50:28]File name is /storage/ofd_packets/00004158 [10:50:28]Write 322 bytes [10:50:28]NVStorageSaveData done [10:50:28]OFDSenderStorePacket done [10:50:28]KKMCreateOFDPacket done [10:50:28]NVStorageSaveData kkm_last_timestamp [10:50:28]File name is /storage/kkm_last_timestamp [10:50:28]Write 4 bytes [10:50:28]NVStorageSaveData done [10:50:28]ExternCall_PrintAddStr [10:50:28]wPrintStart [10:50:28]Write to MH i2c: 01 00 00 F7 01 F8 [10:50:28]Write i2c OK [10:50:28]MH_I2C_Read... [10:50:28]Read from MH i2c: 01 [10:50:28]MH_I2C_Read... [10:50:28]Read from MH i2c: 01 07 00 [10:50:28]MH_I2C_Read... [10:50:28]Read from MH i2c: 01 07 00 F7 01 00 00 00 00 00 FF 0F 0D [10:50:28]RasterBufferAndPrint [10:50:28]line Счет N : (3)4411 [10:50:28]line ИНН: 02508201610067 [10:50:28]line Контрольно-Кассовый Чек [10:50:28]line ПРОДАЖА [10:50:28]line Товар: 4600682029830 [10:50:28]line Garage Hard Lemon 0,44 ст/б [10:50:28]line 2.000 * 120.00 [10:50:28]line = 240.00 [10:50:28]line НДС 12% НСП 1% [10:50:28]line > о реализуемом товаре [10:50:28]line ИТОГО: 240.00 [10:50:28]line НСП 1% : 2.12 [10:50:28]line НДС 12% : 25.49 [10:50:28]line Наличными: 0.00 [10:50:28]line Безнал.: 240.00 [10:50:28]line Место: АЗС № 116 "Партнер Нефть" [10:50:28]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [10:50:28]line СНО: Общий режим [10:50:28]line Чек 16 05.06.2024 10:50 [10:50:28]line Смена: 84 ФФД: 1.0 [10:50:28]line ЗНМ: 0300000233 [10:50:28]line РНМ: 0000000000145775 [10:50:28]line Версия ККМ: v1.0 [10:50:28]line Платежная система: О! деньги [10:50:28]line ФМ: 0000000000959360 [10:50:28]line ФД: 4158 [10:50:28]line ФПД: 247965876409214 [10:50:28]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T105027&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4158&fm=247965876409214&tin=02508201610067®Number=0000000000145775&sum=24000 [10:50:28]line 0 [10:50:28]OFD Sender: Processing packet 4158 [packets to send 2, broken 1] [10:50:28]ProducePacketName [10:50:28]name=ofd_packets/00004158 [10:50:28]OFD Sender: To server: pG, [10:50:28]CommunicateWithHost lk.salyk.kg:30040 [10:50:28]ConnectInit lk.salyk.kg [10:50:28]written 0, free lines is 4095 [10:50:28]Connected sock=10 [10:50:28]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 24 01 00 00 C8 75 1C 01 8E DC 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 30 30 36 38 32 30 32 39 38 33 30 06 04 1E 00 47 61 72 61 67 65 20 48 61 72 64 20 4C 65 6D 6F 6E 20 30 2C 34 34 20 D1 81 D1 82 2F D0 B1 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 C0 5D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 5D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D4 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F5 09 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C0 5D 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 F3 42 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 3E 10 00 00 35 04 06 00 E1 86 0D FA D3 7E EF 96 38 2D EA 42 1C BD [10:50:29]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 4B 1D 47 00 A1 1D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 3E 10 00 00 F4 03 04 00 F1 EE 5F 66 B6 04 01 00 00 DB 83 21 7F 21 1C 00 92 [10:50:29]CommunicateWithHost err = 0 [10:50:29]CheckOFDResponse [10:50:29]1017 (14) - 77093643461234 [10:50:29]1041 (16) - 0000000000959360 [10:50:29]1040 (4) - 4158 [10:50:29]1012 (4) - 05.06.2024 04:52 [10:50:29]1206 (1) - 0 [10:50:29]OFD Sender: Remove packet 4158 [10:50:29]ProducePacketName [10:50:29]name=ofd_packets/00004158 [10:50:29]NVStorageDeleteData [10:50:29]Write to MH i2c: 01 00 00 21 02 23 [10:50:29]Write i2c OK [10:50:29]MH_I2C_Read... [10:50:29]Read from MH i2c: 01 [10:50:29]MH_I2C_Read... [10:50:29]Read from MH i2c: 01 07 00 [10:50:29]MH_I2C_Read... [10:50:29]Read from MH i2c: 01 07 00 21 02 00 00 00 00 00 A8 0C DE [10:50:29]RasterBufferAndPrint [10:50:29]line [10:50:29]line [10:50:29]line [10:50:29]line [10:50:29]line [10:50:29]written 0, free lines is 3245 [10:50:29]MH_Cut [10:50:29]Write to MH i2c: D1 01 00 28 02 01 FC [10:50:29]Write i2c OK [10:50:29]MH_I2C_Read... [10:50:29]Read from MH i2c: D1 [10:50:29]MH_I2C_Read... [10:50:29]Read from MH i2c: D1 01 00 [10:50:29]MH_I2C_Read... [10:50:29]Read from MH i2c: D1 01 00 28 02 00 FB [10:50:29]Write to MH i2c: 01 00 00 29 02 2B [10:50:29]Write i2c OK [10:50:29]MH_I2C_Read... [10:50:29]OFD Sender: No OFD packet to send [10:50:30]*** Cut start [10:50:30]*** Partial cut [10:50:30]*** CUTSNS_PIN = 1 [10:50:30]*** CUTSNS_PIN = 0 [10:50:30]*** Brake cut motor [10:50:30]Read from MH i2c: 01 [10:50:30]MH_I2C_Read... [10:50:30]*** Stop cut motor [10:50:30]*** Cut end [10:50:30]Read from MH i2c: 01 07 00 [10:50:30]MH_I2C_Read... [10:50:30]Read from MH i2c: 01 07 00 29 02 00 00 00 00 00 FF 0F 40 [10:50:30]process_action close_receipt done [10:50:30]requested_data is exist [10:50:30]produce_requested_data [10:50:30]requested_item fm.sn is exist - process it [10:50:30]wFMCommunicate request_size=4 [10:50:30]MH_SAM_APDU [10:50:30]CAPDU: 80 11 00 00 [10:50:30]Write to MH i2c: E2 08 00 2A 02 80 11 00 00 00 00 00 00 A6 [10:50:30]Write i2c OK [10:50:30]MH_I2C_Read... [10:50:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:50:30]Read from MH i2c: E2 [10:50:30]MH_I2C_Read... [10:50:30]Read from MH i2c: E2 17 00 [10:50:30]MH_I2C_Read... [10:50:30]Read from MH i2c: E2 17 00 2A 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 F9 [10:50:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [10:50:30]wFMCommunicate OK [10:50:30]requested_item fd.num is exist - process it [10:50:30]SAM_PROTO_GetFieldsCounters [10:50:30]wFMCommunicate request_size=4 [10:50:30]MH_SAM_APDU [10:50:30]CAPDU: 80 13 00 00 [10:50:30]Write to MH i2c: E2 08 00 2B 02 80 13 00 00 00 00 00 00 A9 [10:50:30]Write i2c OK [10:50:30]MH_I2C_Read... [10:50:31]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:50:31]Read from MH i2c: E2 [10:50:31]MH_I2C_Read... [10:50:31]Read from MH i2c: E2 62 00 [10:50:31]MH_I2C_Read... [10:50:31]Read from MH i2c: E2 62 00 2B 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 3E 10 00 00 0E 04 04 00 54 00 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 A0 [10:50:31]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 3E 10 00 00 0E 04 04 00 54 00 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:50:31]wFMCommunicate OK [10:50:31]SAM_PROTO_GetFieldsCounters done [10:50:31]requested_item shift.num is exist - process it [10:50:31]requested_item shift.opened is exist - process it [10:50:31]req_shift_opened [10:50:31]FM_GetShiftState [10:50:31]SAM_PROTO_GetShiftState [10:50:31]wFMCommunicate request_size=4 [10:50:31]MH_SAM_APDU [10:50:31]CAPDU: 80 13 01 00 [10:50:31]Write to MH i2c: E2 08 00 2C 02 80 13 01 00 00 00 00 00 AB [10:50:31]Write i2c OK [10:50:31]MH_I2C_Read... [10:50:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:50:31]Read from MH i2c: E2 [10:50:31]MH_I2C_Read... [10:50:31]Read from MH i2c: E2 0E 00 [10:50:31]MH_I2C_Read... [10:50:31]Read from MH i2c: E2 0E 00 2C 02 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 4C [10:50:31]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [10:50:31]wFMCommunicate OK [10:50:31]SAM_PROTO_GetShiftState done [10:50:31]FM_GetShiftState done [10:50:31]req_shift_opened done [10:50:31]requested_item shift.open_date is exist - process it [10:50:31]req_shift_open_date [10:50:31]req_shift_open_date done [10:50:31]produce_requested_data done [10:50:31]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4158,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765} [10:50:31]process_action_free close_receipt [10:50:31]json_value_free [10:50:31]json_value_free done [10:50:31]process_json_proto returns [10:50:31]Send response to host [10:50:31]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4158,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765}}} [10:50:31]free response buf [10:50:31]execute_script done [10:50:31]execute_script returns [10:50:31]free content buf [10:50:31]Sock 9.Close socket [10:50:31]Sock 9.Thread stoped [10:50:34]OFD Sender: No OFD packet to send [10:50:39]OFD Sender: No OFD packet to send [10:50:44]OFD Sender: No OFD packet to send [10:50:49]OFD Sender: No OFD packet to send [10:50:54]OFD Sender: No OFD packet to send [10:50:59]OFD Sender: No OFD packet to send [10:51:04]OFD Sender: No OFD packet to send [10:51:09]OFD Sender: No OFD packet to send [10:51:14]OFD Sender: No OFD packet to send [10:51:19]OFD Sender: No OFD packet to send [10:51:24]OFD Sender: No OFD packet to send [10:51:29]OFD Sender: No OFD packet to send [10:51:34]OFD Sender: No OFD packet to send [10:51:39]OFD Sender: No OFD packet to send [10:51:44]OFD Sender: No OFD packet to send [10:51:49]OFD Sender: No OFD packet to send [10:51:54]OFD Sender: No OFD packet to send [10:51:59]OFD Sender: No OFD packet to send [10:52:04]OFD Sender: No OFD packet to send [10:52:09]OFD Sender: No OFD packet to send [10:52:14]OFD Sender: No OFD packet to send [10:52:19]OFD Sender: No OFD packet to send [10:52:24]OFD Sender: No OFD packet to send [10:52:29]OFD Sender: No OFD packet to send [10:52:34]OFD Sender: No OFD packet to send [10:52:39]OFD Sender: No OFD packet to send [10:52:44]OFD Sender: No OFD packet to send [10:52:49]OFD Sender: No OFD packet to send [10:52:54]OFD Sender: No OFD packet to send [10:52:59]OFD Sender: No OFD packet to send [10:53:04]OFD Sender: No OFD packet to send [10:53:09]OFD Sender: No OFD packet to send [10:53:14]OFD Sender: No OFD packet to send [10:53:19]OFD Sender: No OFD packet to send [10:53:24]OFD Sender: No OFD packet to send [10:53:29]OFD Sender: No OFD packet to send [10:53:34]OFD Sender: No OFD packet to send [10:53:39]OFD Sender: No OFD packet to send [10:53:44]OFD Sender: No OFD packet to send [10:53:49]OFD Sender: No OFD packet to send [10:53:54]OFD Sender: No OFD packet to send [10:53:59]OFD Sender: No OFD packet to send [10:54:04]OFD Sender: No OFD packet to send [10:54:09]OFD Sender: No OFD packet to send [10:54:14]OFD Sender: No OFD packet to send [10:54:19]OFD Sender: No OFD packet to send [10:54:24]OFD Sender: No OFD packet to send [10:54:29]OFD Sender: No OFD packet to send [10:54:34]OFD Sender: No OFD packet to send [10:54:39]OFD Sender: No OFD packet to send [10:54:44]OFD Sender: No OFD packet to send [10:54:49]OFD Sender: No OFD packet to send [10:54:54]OFD Sender: No OFD packet to send [10:54:59]OFD Sender: No OFD packet to send [10:55:04]OFD Sender: No OFD packet to send [10:55:09]OFD Sender: No OFD packet to send [10:55:14]OFD Sender: No OFD packet to send [10:55:19]OFD Sender: No OFD packet to send [10:55:24]OFD Sender: No OFD packet to send [10:55:29]OFD Sender: No OFD packet to send [10:55:34]OFD Sender: No OFD packet to send [10:55:39]OFD Sender: No OFD packet to send [10:55:44]OFD Sender: No OFD packet to send [10:55:49]OFD Sender: No OFD packet to send [10:55:54]OFD Sender: No OFD packet to send [10:55:59]OFD Sender: No OFD packet to send [10:56:04]OFD Sender: No OFD packet to send [10:56:09]OFD Sender: No OFD packet to send [10:56:14]OFD Sender: No OFD packet to send [10:56:19]OFD Sender: No OFD packet to send [10:56:24]OFD Sender: No OFD packet to send [10:56:29]OFD Sender: No OFD packet to send [10:56:34]OFD Sender: No OFD packet to send [10:56:39]OFD Sender: No OFD packet to send [10:56:44]OFD Sender: No OFD packet to send [10:56:50]OFD Sender: No OFD packet to send [10:56:55]OFD Sender: No OFD packet to send [10:57:00]OFD Sender: No OFD packet to send [10:57:05]OFD Sender: No OFD packet to send [10:57:10]OFD Sender: No OFD packet to send [10:57:15]OFD Sender: No OFD packet to send [10:57:20]OFD Sender: No OFD packet to send [10:57:25]OFD Sender: No OFD packet to send [10:57:30]OFD Sender: No OFD packet to send [10:57:35]OFD Sender: No OFD packet to send [10:57:40]OFD Sender: No OFD packet to send [10:57:45]OFD Sender: No OFD packet to send [10:57:50]OFD Sender: No OFD packet to send [10:57:55]OFD Sender: No OFD packet to send [10:58:00]OFD Sender: No OFD packet to send [10:58:05]OFD Sender: No OFD packet to send [10:58:10]OFD Sender: No OFD packet to send [10:58:15]OFD Sender: No OFD packet to send [10:58:20]OFD Sender: No OFD packet to send [10:58:25]OFD Sender: No OFD packet to send [10:58:30]OFD Sender: No OFD packet to send [10:58:35]OFD Sender: No OFD packet to send [10:58:40]OFD Sender: No OFD packet to send [10:58:45]OFD Sender: No OFD packet to send [10:58:50]OFD Sender: No OFD packet to send [10:58:55]OFD Sender: No OFD packet to send [10:59:00]OFD Sender: No OFD packet to send [10:59:05]OFD Sender: No OFD packet to send [10:59:10]OFD Sender: No OFD packet to send [10:59:15]OFD Sender: No OFD packet to send [10:59:20]OFD Sender: No OFD packet to send [10:59:25]OFD Sender: No OFD packet to send [10:59:30]OFD Sender: No OFD packet to send [10:59:35]OFD Sender: No OFD packet to send [10:59:40]OFD Sender: No OFD packet to send [10:59:45]OFD Sender: No OFD packet to send [10:59:50]OFD Sender: No OFD packet to send [10:59:55]OFD Sender: No OFD packet to send [11:00:00]OFD Sender: No OFD packet to send [11:00:05]OFD Sender: No OFD packet to send [11:00:10]OFD Sender: No OFD packet to send [11:00:15]OFD Sender: No OFD packet to send [11:00:20]OFD Sender: No OFD packet to send [11:00:25]OFD Sender: No OFD packet to send [11:00:30]OFD Sender: No OFD packet to send [11:00:35]OFD Sender: No OFD packet to send [11:00:40]OFD Sender: No OFD packet to send [11:00:45]OFD Sender: No OFD packet to send [11:00:50]OFD Sender: No OFD packet to send [11:00:55]OFD Sender: No OFD packet to send [11:01:00]OFD Sender: No OFD packet to send [11:01:05]OFD Sender: No OFD packet to send [11:01:10]OFD Sender: No OFD packet to send [11:01:15]OFD Sender: No OFD packet to send [11:01:20]OFD Sender: No OFD packet to send [11:01:25]OFD Sender: No OFD packet to send [11:01:30]OFD Sender: No OFD packet to send [11:01:35]OFD Sender: No OFD packet to send [11:01:40]OFD Sender: No OFD packet to send [11:01:45]OFD Sender: No OFD packet to send [11:01:50]OFD Sender: No OFD packet to send [11:01:55]OFD Sender: No OFD packet to send [11:02:00]OFD Sender: No OFD packet to send [11:02:05]OFD Sender: No OFD packet to send [11:02:10]OFD Sender: No OFD packet to send [11:02:15]OFD Sender: No OFD packet to send [11:02:20]OFD Sender: No OFD packet to send [11:02:25]OFD Sender: No OFD packet to send [11:02:30]OFD Sender: No OFD packet to send [11:02:35]OFD Sender: No OFD packet to send [11:02:40]OFD Sender: No OFD packet to send [11:02:45]OFD Sender: No OFD packet to send [11:02:50]OFD Sender: No OFD packet to send [11:02:55]OFD Sender: No OFD packet to send [11:03:00]OFD Sender: No OFD packet to send [11:03:05]OFD Sender: No OFD packet to send [11:03:10]OFD Sender: No OFD packet to send [11:03:15]OFD Sender: No OFD packet to send [11:03:20]OFD Sender: No OFD packet to send [11:03:25]OFD Sender: No OFD packet to send [11:03:30]OFD Sender: No OFD packet to send [11:03:35]OFD Sender: No OFD packet to send [11:03:40]OFD Sender: No OFD packet to send [11:03:45]OFD Sender: No OFD packet to send [11:03:50]OFD Sender: No OFD packet to send [11:03:55]OFD Sender: No OFD packet to send [11:04:00]OFD Sender: No OFD packet to send [11:04:05]OFD Sender: No OFD packet to send [11:04:10]OFD Sender: No OFD packet to send [11:04:15]OFD Sender: No OFD packet to send [11:04:20]OFD Sender: No OFD packet to send [11:04:25]OFD Sender: No OFD packet to send [11:04:30]OFD Sender: No OFD packet to send [11:04:35]OFD Sender: No OFD packet to send [11:04:40]OFD Sender: No OFD packet to send [11:04:45]OFD Sender: No OFD packet to send [11:04:50]OFD Sender: No OFD packet to send [11:04:55]OFD Sender: No OFD packet to send [11:05:00]OFD Sender: No OFD packet to send [11:05:05]OFD Sender: No OFD packet to send [11:05:10]OFD Sender: No OFD packet to send [11:05:15]OFD Sender: No OFD packet to send [11:05:20]OFD Sender: No OFD packet to send [11:05:25]OFD Sender: No OFD packet to send [11:05:30]OFD Sender: No OFD packet to send [11:05:35]OFD Sender: No OFD packet to send [11:05:40]OFD Sender: No OFD packet to send [11:05:45]OFD Sender: No OFD packet to send [11:05:50]OFD Sender: No OFD packet to send [11:05:55]OFD Sender: No OFD packet to send [11:06:00]OFD Sender: No OFD packet to send [11:06:05]OFD Sender: No OFD packet to send [11:06:10]OFD Sender: No OFD packet to send [11:06:15]OFD Sender: No OFD packet to send [11:06:20]OFD Sender: No OFD packet to send [11:06:25]OFD Sender: No OFD packet to send [11:06:30]OFD Sender: No OFD packet to send [11:06:35]OFD Sender: No OFD packet to send [11:06:40]OFD Sender: No OFD packet to send [11:06:45]OFD Sender: No OFD packet to send [11:06:50]OFD Sender: No OFD packet to send [11:06:55]OFD Sender: No OFD packet to send [11:07:00]OFD Sender: No OFD packet to send [11:07:05]OFD Sender: No OFD packet to send [11:07:10]OFD Sender: No OFD packet to send [11:07:15]OFD Sender: No OFD packet to send [11:07:20]OFD Sender: No OFD packet to send [11:07:25]OFD Sender: No OFD packet to send [11:07:30]OFD Sender: No OFD packet to send [11:07:35]OFD Sender: No OFD packet to send [11:07:40]OFD Sender: No OFD packet to send [11:07:45]OFD Sender: No OFD packet to send [11:07:50]OFD Sender: No OFD packet to send [11:07:55]OFD Sender: No OFD packet to send [11:08:00]OFD Sender: No OFD packet to send [11:08:05]OFD Sender: No OFD packet to send [11:08:10]OFD Sender: No OFD packet to send [11:08:15]OFD Sender: No OFD packet to send [11:08:20]OFD Sender: No OFD packet to send [11:08:25]OFD Sender: No OFD packet to send [11:08:30]OFD Sender: No OFD packet to send [11:08:35]OFD Sender: No OFD packet to send [11:08:40]OFD Sender: No OFD packet to send [11:08:45]OFD Sender: No OFD packet to send [11:08:50]OFD Sender: No OFD packet to send [11:08:55]OFD Sender: No OFD packet to send [11:09:00]OFD Sender: No OFD packet to send [11:09:05]OFD Sender: No OFD packet to send [11:09:10]OFD Sender: No OFD packet to send [11:09:15]OFD Sender: No OFD packet to send [11:09:20]OFD Sender: No OFD packet to send [11:09:25]OFD Sender: No OFD packet to send [11:09:30]OFD Sender: No OFD packet to send [11:09:35]OFD Sender: No OFD packet to send [11:09:40]OFD Sender: No OFD packet to send [11:09:45]OFD Sender: No OFD packet to send [11:09:50]OFD Sender: No OFD packet to send [11:09:55]OFD Sender: No OFD packet to send [11:10:00]OFD Sender: No OFD packet to send [11:10:05]OFD Sender: No OFD packet to send [11:33:08]ConnectInit Can't connect to host [11:33:08]OFD Sender: No OFD packet to send [11:33:13]OFD Sender: No OFD packet to send [11:33:18]OFD Sender: No OFD packet to send [11:33:23]OFD Sender: No OFD packet to send [11:33:28]OFD Sender: No OFD packet to send [11:33:33]OFD Sender: No OFD packet to send [11:33:38]OFD Sender: No OFD packet to send [11:33:43]OFD Sender: No OFD packet to send [11:33:48]OFD Sender: No OFD packet to send [11:33:53]OFD Sender: No OFD packet to send [11:33:58]OFD Sender: No OFD packet to send [11:34:03]OFD Sender: No OFD packet to send [11:34:08]OFD Sender: No OFD packet to send [11:34:13]OFD Sender: No OFD packet to send [11:34:18]OFD Sender: No OFD packet to send [11:34:23]OFD Sender: No OFD packet to send [11:34:28]OFD Sender: No OFD packet to send [11:34:33]OFD Sender: No OFD packet to send [11:34:38]OFD Sender: No OFD packet to send [11:34:43]OFD Sender: No OFD packet to send [11:34:48]OFD Sender: No OFD packet to send [11:34:53]OFD Sender: No OFD packet to send [11:34:58]OFD Sender: No OFD packet to send [11:35:03]OFD Sender: No OFD packet to send [11:35:08]OFD Sender: No OFD packet to send [11:35:13]OFD Sender: No OFD packet to send [11:35:18]OFD Sender: No OFD packet to send [11:35:23]OFD Sender: No OFD packet to send [11:35:28]OFD Sender: No OFD packet to send [11:35:33]OFD Sender: No OFD packet to send [11:35:38]OFD Sender: No OFD packet to send [11:35:43]OFD Sender: No OFD packet to send [11:35:48]OFD Sender: No OFD packet to send [11:35:53]OFD Sender: No OFD packet to send [11:35:58]OFD Sender: No OFD packet to send [11:36:03]OFD Sender: No OFD packet to send [11:36:08]OFD Sender: No OFD packet to send [11:36:13]OFD Sender: No OFD packet to send [11:36:18]OFD Sender: No OFD packet to send [11:36:23]OFD Sender: No OFD packet to send [11:36:28]OFD Sender: No OFD packet to send [11:36:33]OFD Sender: No OFD packet to send [11:36:38]OFD Sender: No OFD packet to send [11:36:43]OFD Sender: No OFD packet to send [11:36:48]OFD Sender: No OFD packet to send [11:36:53]OFD Sender: No OFD packet to send [11:36:58]OFD Sender: No OFD packet to send [11:37:03]OFD Sender: No OFD packet to send [11:37:08]OFD Sender: No OFD packet to send [11:37:13]OFD Sender: No OFD packet to send [11:37:18]OFD Sender: No OFD packet to send [11:37:23]OFD Sender: No OFD packet to send [11:37:28]OFD Sender: No OFD packet to send [11:37:33]OFD Sender: No OFD packet to send [11:37:38]OFD Sender: No OFD packet to send [11:37:43]OFD Sender: No OFD packet to send [11:37:48]OFD Sender: No OFD packet to send [11:37:53]OFD Sender: No OFD packet to send [11:37:58]OFD Sender: No OFD packet to send [11:38:03]OFD Sender: No OFD packet to send [11:38:08]OFD Sender: No OFD packet to send [11:38:13]OFD Sender: No OFD packet to send [11:38:18]OFD Sender: No OFD packet to send [11:38:23]OFD Sender: No OFD packet to send [11:38:28]OFD Sender: No OFD packet to send [11:38:33]OFD Sender: No OFD packet to send [11:38:38]OFD Sender: No OFD packet to send [11:38:43]OFD Sender: No OFD packet to send [11:38:48]OFD Sender: No OFD packet to send [11:38:53]OFD Sender: No OFD packet to send [11:38:58]OFD Sender: No OFD packet to send [11:39:03]OFD Sender: No OFD packet to send [11:39:08]OFD Sender: No OFD packet to send [11:39:13]OFD Sender: No OFD packet to send [11:39:18]OFD Sender: No OFD packet to send [11:39:23]OFD Sender: No OFD packet to send [11:39:28]OFD Sender: No OFD packet to send [11:39:33]OFD Sender: No OFD packet to send [11:39:38]OFD Sender: No OFD packet to send [11:39:43]OFD Sender: No OFD packet to send [11:39:48]OFD Sender: No OFD packet to send [11:39:53]OFD Sender: No OFD packet to send [11:39:58]OFD Sender: No OFD packet to send [11:40:03]OFD Sender: No OFD packet to send [11:40:08]OFD Sender: No OFD packet to send [11:40:13]OFD Sender: No OFD packet to send [11:40:18]OFD Sender: No OFD packet to send [11:40:23]OFD Sender: No OFD packet to send [11:40:28]OFD Sender: No OFD packet to send [11:40:33]OFD Sender: No OFD packet to send [11:40:38]OFD Sender: No OFD packet to send [11:40:43]OFD Sender: No OFD packet to send [11:40:48]OFD Sender: No OFD packet to send [11:40:53]OFD Sender: No OFD packet to send [11:40:58]OFD Sender: No OFD packet to send [11:41:03]OFD Sender: No OFD packet to send [11:41:08]OFD Sender: No OFD packet to send [11:41:13]OFD Sender: No OFD packet to send [11:41:18]OFD Sender: No OFD packet to send [11:41:23]OFD Sender: No OFD packet to send [11:41:28]OFD Sender: No OFD packet to send [11:41:33]OFD Sender: No OFD packet to send [11:41:38]OFD Sender: No OFD packet to send [11:41:43]OFD Sender: No OFD packet to send [11:41:48]OFD Sender: No OFD packet to send [11:41:53]OFD Sender: No OFD packet to send [11:41:58]OFD Sender: No OFD packet to send [11:42:03]OFD Sender: No OFD packet to send [11:42:08]OFD Sender: No OFD packet to send [11:42:13]OFD Sender: No OFD packet to send [11:42:18]OFD Sender: No OFD packet to send [11:42:23]OFD Sender: No OFD packet to send [11:42:28]OFD Sender: No OFD packet to send [11:42:33]OFD Sender: No OFD packet to send [11:42:38]OFD Sender: No OFD packet to send [11:42:43]OFD Sender: No OFD packet to send [11:42:48]OFD Sender: No OFD packet to send [11:42:53]OFD Sender: No OFD packet to send [11:42:58]OFD Sender: No OFD packet to send [11:43:03]OFD Sender: No OFD packet to send [11:43:08]OFD Sender: No OFD packet to send [11:43:13]OFD Sender: No OFD packet to send [11:43:18]OFD Sender: No OFD packet to send [11:43:23]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:29]OFD Sender: No OFD packet to send [11:46:34]OFD Sender: No OFD packet to send [11:46:39]OFD Sender: No OFD packet to send [11:46:44]OFD Sender: No OFD packet to send [11:46:49]OFD Sender: No OFD packet to send [11:46:54]OFD Sender: No OFD packet to send [11:46:59]OFD Sender: No OFD packet to send [11:47:04]OFD Sender: No OFD packet to send [11:47:09]OFD Sender: No OFD packet to send [11:47:14]OFD Sender: No OFD packet to send [11:47:19]OFD Sender: No OFD packet to send [11:47:24]OFD Sender: No OFD packet to send [11:47:29]OFD Sender: No OFD packet to send [11:47:34]OFD Sender: No OFD packet to send [11:47:39]OFD Sender: No OFD packet to send [11:47:44]OFD Sender: No OFD packet to send [11:47:49]OFD Sender: No OFD packet to send [11:47:54]OFD Sender: No OFD packet to send [11:47:59]OFD Sender: No OFD packet to send [11:48:04]OFD Sender: No OFD packet to send [11:48:09]OFD Sender: No OFD packet to send [11:48:14]OFD Sender: No OFD packet to send [11:48:19]OFD Sender: No OFD packet to send [11:48:24]OFD Sender: No OFD packet to send [11:48:29]OFD Sender: No OFD packet to send [11:48:34]OFD Sender: No OFD packet to send [11:48:39]OFD Sender: No OFD packet to send [11:48:44]OFD Sender: No OFD packet to send [11:48:49]OFD Sender: No OFD packet to send [11:48:54]OFD Sender: No OFD packet to send [11:48:59]OFD Sender: No OFD packet to send [11:49:04]OFD Sender: No OFD packet to send [11:49:09]OFD Sender: No OFD packet to send [11:49:14]OFD Sender: No OFD packet to send [11:49:19]OFD Sender: No OFD packet to send [11:49:24]OFD Sender: No OFD packet to send [11:49:29]OFD Sender: No OFD packet to send [11:49:34]OFD Sender: No OFD packet to send [11:49:39]OFD Sender: No OFD packet to send [11:49:44]OFD Sender: No OFD packet to send [11:49:49]OFD Sender: No OFD packet to send [11:49:54]OFD Sender: No OFD packet to send [11:49:59]OFD Sender: No OFD packet to send [11:50:04]OFD Sender: No OFD packet to send [11:50:09]OFD Sender: No OFD packet to send [11:50:14]OFD Sender: No OFD packet to send [11:50:19]OFD Sender: No OFD packet to send [11:50:24]OFD Sender: No OFD packet to send [11:50:29]OFD Sender: No OFD packet to send [11:50:34]OFD Sender: No OFD packet to send [11:50:39]OFD Sender: No OFD packet to send [11:50:44]OFD Sender: No OFD packet to send [11:50:49]OFD Sender: No OFD packet to send [11:50:54]OFD Sender: No OFD packet to send [11:50:59]OFD Sender: No OFD packet to send [11:51:04]OFD Sender: No OFD packet to send [11:51:09]OFD Sender: No OFD packet to send [11:51:14]OFD Sender: No OFD packet to send [11:51:19]OFD Sender: No OFD packet to send [11:51:24]OFD Sender: No OFD packet to send [11:51:29]OFD Sender: No OFD packet to send [11:51:34]OFD Sender: No OFD packet to send [11:51:36]accept exits with 8 [11:51:36]New connection [11:51:36]New thread 3066748260 created [11:51:36]Thread 3066604900 joined [11:51:36]Waiting for new connection... [11:51:36] Sock 8.Parse request [11:51:36]Sock 8.Check first char [11:51:36]Sock 8.First char is OK [11:51:36]request: POST /json_proto HTTP/1.0 [11:51:36]Method: POST [11:51:36]URL: /json_proto [11:51:36]Method is POST - this is cgi request [11:51:36]url: /json_proto [11:51:36]query_string will be loaded in cgi processing [11:51:36]execute_cgi json_proto POST (null) [11:51:36]execute_cgi path=json_proto method=POST [11:51:36]POST find Content-Length [11:51:36]Host: 172.17.56.68:8080 [11:51:36]Content-Length: 913 [11:51:36]Content-Type: application/json [11:51:36] [11:51:36]POST finish read [11:51:36]Found Content-Length = 913 [11:51:36]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4412", "tax_sys" : 0, "items" : [ { "code": "6921090700103", "name": "\u041E\u0447\u043A\u0438 \u0441\u043E\u043B\u043D\u0446\u0435\u0437\u0430\u0449\u0438\u0442\u043D\u044B\u0435 \u0432 \u0430\u0441\u0441\u043E\u0440\u0442\u0438\u043C\u0435\u043D\u0442\u0435", "price" : 502.00, "quantity" : 2.000, "sum" : 1004.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: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 1004.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:51:36]execute_script... [11:51: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)4412", "tax_sys" : 0, "items" : [ { "code": "6921090700103", "name": "\u041E\u0447\u043A\u0438 \u0441\u043E\u043B\u043D\u0446\u0435\u0437\u0430\u0449\u0438\u0442\u043D\u044B\u0435 \u0432 \u0430\u0441\u0441\u043E\u0440\u0442\u0438\u043C\u0435\u043D\u0442\u0435", "price" : 502.00, "quantity" : 2.000, "sum" : 1004.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: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 1004.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:51:36]POST & json_proto [11:51:36]process_json_proto [11:51:36]json parsed OK: [11:51:36]protocol is kg_v1.0 [11:51:36]action value=close_receipt [11:51:36]process_action close_receipt [11:51:36]cmd_close_receipt [11:51:36]MH_GetDate [11:51:36]Write to MH i2c: F0 00 00 1D 00 0C [11:51:36]Write i2c OK [11:51:36]MH_I2C_Read... [11:51:36]Read from MH i2c: F0 [11:51:36]MH_I2C_Read... [11:51:36]Read from MH i2c: F0 09 00 [11:51:36]MH_I2C_Read... [11:51:36]Read from MH i2c: F0 09 00 1D 00 00 48 51 60 66 42 69 5C 66 E1 [11:51:36]GetLastDocTimeStamp 1717584627 [11:51:36]current date 1717588296 [11:51:36]FM_GetShiftState [11:51:36]SAM_PROTO_GetShiftState [11:51:36]wFMCommunicate request_size=4 [11:51:36]MH_SAM_APDU [11:51:36]CAPDU: 80 13 01 00 [11:51:36]Write to MH i2c: E2 08 00 1E 00 80 13 01 00 00 00 00 00 9B [11:51:36]Write i2c OK [11:51:36]MH_I2C_Read... [11:51:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:51:36]Read from MH i2c: E2 [11:51:36]MH_I2C_Read... [11:51:36]Read from MH i2c: E2 0E 00 [11:51:36]MH_I2C_Read... [11:51:36]Read from MH i2c: E2 0E 00 1E 00 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 3C [11:51:36]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [11:51:36]wFMCommunicate OK [11:51:36]SAM_PROTO_GetShiftState done [11:51:36]FM_GetShiftState done [11:51:36]opened in 1717545765 [11:51:36]opened+sec_in_day 1717632165 [11:51:36]quantity*price = 100400 [11:51:36]sum+1 = 100401 [11:51:36]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 1004.00 НСП 1% : 8.88 НДС 12% : 106.62 Наличными: 0.00 Безнал.: 1004.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 17 05.06.2024 11:51 Смена: 84 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 Платежная система: О! деньги ФМ: 0000000000959360 ФД: 4159 ФПД: 71577604957171 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T115136&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4159&fm=71577604957171&tin=02508201610067®Number=0000000000145775&sum=100400 0 [11:51:37]StoreToDocumentArchive [11:51:37]shift 84 fd 4159 [11:51:37]save to /storage/0084/doc_00004159 [11:51:37]save last doc name /storage/0084/doc_00004159 to /storage/kkm_last_doc_name [11:51:37]save OK [11:51:37]Clear old archive folders... [11:51:37]ProcessDocumentItem done err = 0, tmpTLVsize=307 [11:51:37]tlvbuf is 01308D20 [11:51:37]SAM_PROTO_ClearQueue [11:51:37]wFMCommunicate request_size=4 [11:51:37]MH_SAM_APDU [11:51:37]CAPDU: 80 09 00 00 [11:51:37]Write to MH i2c: E2 08 00 2B 00 80 09 00 00 00 00 00 00 9D [11:51:37]Write i2c OK [11:51:37]MH_I2C_Read... [11:51:37]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:51:37]Read from MH i2c: E2 [11:51:37]MH_I2C_Read... [11:51:37]Read from MH i2c: E2 03 00 [11:51:37]MH_I2C_Read... [11:51:37]Read from MH i2c: E2 03 00 2B 00 00 90 00 9F [11:51:37]RAPDU: 90 00 [11:51:37]wFMCommunicate OK [11:51:37]SAM_PROTO_ClearQueue done [11:51:37]KKMCreateOFDPacket [11:51:37]OFDProtocolAddRootSTLVToBuf [11:51:37]FM_MakeSignedData [11:51:37]FM_MakeSignedData [11:51:37]SAM_PROTO_SignData [11:51:37]wFMCommunicate request_size=4 [11:51:37]MH_SAM_APDU [11:51:37]CAPDU: 80 0D 01 02 [11:51:37]Write to MH i2c: E2 08 00 2C 00 80 0D 01 02 00 00 00 00 A5 [11:51:37]Write i2c OK [11:51:37]MH_I2C_Read... [11:51:37]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:51:37]Read from MH i2c: E2 [11:51:37]MH_I2C_Read... [11:51:37]Read from MH i2c: E2 03 00 [11:51:37]MH_I2C_Read... [11:51:37]Read from MH i2c: E2 03 00 2C 00 00 90 00 A0 [11:51:37]RAPDU: 90 00 [11:51:37]wFMCommunicate OK [11:51:37]wFMCommunicate request_size=255 [11:51:37]MH_SAM_APDU [11:51:37]CAPDU: 80 0D 02 02 FA 03 00 33 01 1E 04 01 00 01 23 04 85 00 8A 04 0D 00 36 39 32 31 30 39 30 37 30 30 31 30 33 06 04 41 00 D0 9E D1 87 D0 BA D0 B8 20 D1 81 D0 BE D0 BB D0 BD D1 86 D0 B5 D0 B7 D0 B0 D1 89 D0 B8 D1 82 D0 BD D1 8B D0 B5 20 D0 B2 20 D0 B0 D1 81 D1 81 D0 BE D1 80 D1 82 D0 B8 D0 BC D0 B5 D0 BD D1 82 D0 B5 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 18 C4 00 00 00 00 13 04 06 00 30 88 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 88 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 78 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A6 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 30 88 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 48 51 60 66 0E 04 04 00 54 00 00 00 B9 04 [11:51:37]Write to MH i2c: E2 02 01 2D 00 80 0D 02 02 FA 00 03 00 33 01 1E 04 01 00 01 23 04 85 00 8A 04 0D 00 36 39 32 31 30 39 30 37 30 30 31 30 33 06 04 41 00 D0 9E D1 87 D0 BA D0 B8 20 D1 81 D0 BE D0 BB D0 BD D1 86 D0 B5 D0 B7 D0 B0 D1 89 D0 B8 D1 82 D0 BD D1 8B D0 B5 20 D0 B2 20 D0 B0 D1 81 D1 81 D0 BE D1 80 D1 82 D0 B8 D0 BC D0 B5 D0 BD D1 82 D0 B5 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 18 C4 00 00 00 00 13 04 06 00 30 88 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 88 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 78 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A6 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 30 88 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 48 51 60 66 0E 04 04 00 54 00 00 00 B9 04 00 00 20 [11:51:37]Write i2c OK [11:51:37]MH_I2C_Read... [11:51:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:51:37]Read from MH i2c: E2 [11:51:37]MH_I2C_Read... [11:51:37]Read from MH i2c: E2 03 00 [11:51:37]MH_I2C_Read... [11:51:37]Read from MH i2c: E2 03 00 2D 00 00 90 00 A1 [11:51:37]RAPDU: 90 00 [11:51:37]wFMCommunicate OK [11:51:37]wFMCommunicate request_size=66 [11:51:37]MH_SAM_APDU [11:51:37]CAPDU: 80 0D 02 02 3D 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 3F 10 00 00 35 04 06 00 41 19 75 B7 A3 F3 [11:51:37]Write to MH i2c: E2 45 00 2E 00 80 0D 02 02 3D 00 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 3F 10 00 00 35 04 06 00 41 19 75 B7 A3 F3 00 00 69 [11:51:37]Write i2c OK [11:51:37]MH_I2C_Read... [11:51:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:51:38]Read from MH i2c: E2 [11:51:38]MH_I2C_Read... [11:51:38]Read from MH i2c: E2 03 00 [11:51:38]MH_I2C_Read... [11:51:38]Read from MH i2c: E2 03 00 2E 00 00 90 00 A2 [11:51:38]RAPDU: 90 00 [11:51:38]wFMCommunicate OK [11:51:38]wFMCommunicate request_size=4 [11:51:38]MH_SAM_APDU [11:51:38]CAPDU: 80 0D 03 02 [11:51:38]Write to MH i2c: E2 08 00 2F 00 80 0D 03 02 00 00 00 00 AA [11:51:38]Write i2c OK [11:51:38]MH_I2C_Read... [11:51:38]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:51:38]Read from MH i2c: E2 [11:51:38]MH_I2C_Read... [11:51:38]Read from MH i2c: E2 0B 00 [11:51:38]MH_I2C_Read... [11:51:38]Read from MH i2c: E2 0B 00 2F 00 00 C7 36 F4 86 86 87 B9 3F 90 00 27 [11:51:38]RAPDU: C7 36 F4 86 86 87 B9 3F 90 00 [11:51:38]wFMCommunicate OK [11:51:38]SAM_PROTO_SignData done [11:51:38]FM_MakeSignedData done [11:51:38]CreateOFDProtocolMessage [11:51:38]wFMCommunicate request_size=4 [11:51:38]MH_SAM_APDU [11:51:38]CAPDU: 80 11 00 00 [11:51:38]Write to MH i2c: E2 08 00 30 00 80 11 00 00 00 00 00 00 AA [11:51:38]Write i2c OK [11:51:38]MH_I2C_Read... [11:51:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:51:38]Read from MH i2c: E2 [11:51:38]MH_I2C_Read... [11:51:38]Read from MH i2c: E2 17 00 [11:51:38]MH_I2C_Read... [11:51:38]Read from MH i2c: E2 17 00 30 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 FD [11:51:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [11:51:38]wFMCommunicate OK [11:51:38]CreateOFDProtocolMessage done [11:51:38]OFDSenderStorePacket 4159 [11:51:38]StoreOFDPacket docnum=4159 [11:51:38]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 47 01 00 00 2D 82 3F 01 5C 11 5A 03 01 00 03 00 33 01 1E 04 01 00 01 23 04 85 00 8A 04 0D 00 36 39 32 31 30 39 30 37 30 30 31 30 33 06 04 41 00 D0 9E D1 87 D0 BA D0 B8 20 D1 81 D0 BE D0 BB D0 BD D1 86 D0 B5 D0 B7 D0 B0 D1 89 D0 B8 D1 82 D0 BD D1 8B D0 B5 20 D0 B2 20 D0 B0 D1 81 D1 81 D0 BE D1 80 D1 82 D0 B8 D0 BC D0 B5 D0 BD D1 82 D0 B5 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 18 C4 00 00 00 00 13 04 06 00 30 88 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 88 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 78 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A6 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 30 88 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 48 51 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 3F 10 00 00 35 04 06 00 41 19 75 B7 A3 F3 C7 36 F4 86 86 87 B9 3F [11:51:38]CheckFolder [11:51:38]dirname=/storage/ofd_packets [11:51:38]CheckFolder done [11:51:38]ProducePacketName [11:51:38]name=ofd_packets/00004159 [11:51:38]NVStorageSaveData ofd_packets/00004159 [11:51:38]File name is /storage/ofd_packets/00004159 [11:51:38]Write 357 bytes [11:51:38]NVStorageSaveData done [11:51:38]OFDSenderStorePacket done [11:51:38]KKMCreateOFDPacket done [11:51:38]NVStorageSaveData kkm_last_timestamp [11:51:38]File name is /storage/kkm_last_timestamp [11:51:38]Write 4 bytes [11:51:38]NVStorageSaveData done [11:51:38]ExternCall_PrintAddStr [11:51:38]wPrintStart [11:51:38]Write to MH i2c: 01 00 00 31 00 31 [11:51:38]Write i2c OK [11:51:38]MH_I2C_Read... [11:51:38]Read from MH i2c: 01 [11:51:38]MH_I2C_Read... [11:51:38]Read from MH i2c: 01 07 00 [11:51:38]MH_I2C_Read... [11:51:38]Read from MH i2c: 01 07 00 31 00 00 00 00 00 00 FF 0F 46 [11:51:38]RasterBufferAndPrint [11:51:38]line Счет N : (3)4412 [11:51:38]line ИНН: 02508201610067 [11:51:38]line Контрольно-Кассовый Чек [11:51:38]line ПРОДАЖА [11:51:38]line Товар: 6921090700103 [11:51:38]line Очки солнцезащитные в ассортименте [11:51:38]line 2.000 * 502.00 [11:51:38]line = 1004.00 [11:51:38]line НДС 12% НСП 1% [11:51:38]line > о реализуемом товаре [11:51:38]line ИТОГО: 1004.00 [11:51:38]line НСП 1% : 8.88 [11:51:38]line НДС 12% : 106.62 [11:51:38]line Наличными: 0.00 [11:51:38]line Безнал.: 1004.00 [11:51:38]line Место: АЗС № 116 "Партнер Нефть" [11:51:38]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [11:51:38]line СНО: Общий режим [11:51:38]line Чек 17 05.06.2024 11:51 [11:51:38]line Смена: 84 ФФД: 1.0 [11:51:38]line ЗНМ: 0300000233 [11:51:38]line РНМ: 0000000000145775 [11:51:38]line Версия ККМ: v1.0 [11:51:38]line Платежная система: О! деньги [11:51:38]line ФМ: 0000000000959360 [11:51:38]line ФД: 4159 [11:51:38]line ФПД: 71577604957171 [11:51:38]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T115136&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4159&fm=71577604957171&tin=02508201610067®Number=0000000000145775&sum=100400 [11:51:38]OFD Sender: Processing packet 4159 [packets to send 2, broken 1] [11:51:38]ProducePacketName [11:51:38]name=ofd_packets/00004159 [11:51:38]OFD Sender: To server: pG, [11:51:38]CommunicateWithHost lk.salyk.kg:30040 [11:51:38]ConnectInit lk.salyk.kg [11:51:38]line 0 [11:51:38]written 0, free lines is 4095 [11:51:38]Connected sock=10 [11:51:38]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 47 01 00 00 2D 82 3F 01 5C 11 5A 03 01 00 03 00 33 01 1E 04 01 00 01 23 04 85 00 8A 04 0D 00 36 39 32 31 30 39 30 37 30 30 31 30 33 06 04 41 00 D0 9E D1 87 D0 BA D0 B8 20 D1 81 D0 BE D0 BB D0 BD D1 86 D0 B5 D0 B7 D0 B0 D1 89 D0 B8 D1 82 D0 BD D1 8B D0 B5 20 D0 B2 20 D0 B0 D1 81 D1 81 D0 BE D1 80 D1 82 D0 B8 D0 BC D0 B5 D0 BD D1 82 D0 B5 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 18 C4 00 00 00 00 13 04 06 00 30 88 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 88 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 78 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A6 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 30 88 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 48 51 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 3F 10 00 00 35 04 06 00 41 19 75 B7 A3 F3 C7 36 F4 86 86 87 B9 3F [11:51:38]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 62 A7 47 00 CA 86 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 3F 10 00 00 F4 03 04 00 46 FD 5F 66 B6 04 01 00 00 9C 22 A6 AC 94 00 1D 80 [11:51:38]CommunicateWithHost err = 0 [11:51:38]CheckOFDResponse [11:51:38]1017 (14) - 77093643461234 [11:51:38]1041 (16) - 0000000000959360 [11:51:38]1040 (4) - 4159 [11:51:38]1012 (4) - 05.06.2024 05:53 [11:51:38]1206 (1) - 0 [11:51:38]OFD Sender: Remove packet 4159 [11:51:38]ProducePacketName [11:51:38]name=ofd_packets/00004159 [11:51:38]NVStorageDeleteData [11:51:38]Write to MH i2c: 01 00 00 5C 00 5C [11:51:38]Write i2c OK [11:51:38]MH_I2C_Read... [11:51:38]Read from MH i2c: 01 [11:51:38]MH_I2C_Read... [11:51:38]Read from MH i2c: 01 07 00 [11:51:38]MH_I2C_Read... [11:51:38]Read from MH i2c: 01 07 00 5C 00 00 00 00 00 00 75 0C E4 [11:51:38]RasterBufferAndPrint [11:51:38]line [11:51:38]line [11:51:38]line [11:51:38]line [11:51:38]line [11:51:38]written 0, free lines is 3193 [11:51:38]MH_Cut [11:51:38]Write to MH i2c: D1 01 00 63 00 01 35 [11:51:38]Write i2c OK [11:51:38]MH_I2C_Read... [11:51:38]Read from MH i2c: D1 [11:51:38]MH_I2C_Read... [11:51:38]Read from MH i2c: D1 01 00 [11:51:38]MH_I2C_Read... [11:51:38]Read from MH i2c: D1 01 00 63 00 00 34 [11:51:38]Write to MH i2c: 01 00 00 64 00 64 [11:51:38]Write i2c OK [11:51:38]MH_I2C_Read... [11:51:39]OFD Sender: No OFD packet to send [11:51:40]*** Cut start [11:51:40]*** Partial cut [11:51:40]*** CUTSNS_PIN = 1 [11:51:40]*** CUTSNS_PIN = 0 [11:51:40]*** Brake cut motor [11:51:40]Read from MH i2c: 01 [11:51:40]MH_I2C_Read... [11:51:40]*** Stop cut motor [11:51:40]*** Cut end [11:51:40]Read from MH i2c: 01 07 00 [11:51:40]MH_I2C_Read... [11:51:40]Read from MH i2c: 01 07 00 64 00 00 00 00 00 00 FF 0F 79 [11:51:40]process_action close_receipt done [11:51:40]requested_data is exist [11:51:40]produce_requested_data [11:51:40]requested_item fm.sn is exist - process it [11:51:40]wFMCommunicate request_size=4 [11:51:40]MH_SAM_APDU [11:51:40]CAPDU: 80 11 00 00 [11:51:40]Write to MH i2c: E2 08 00 65 00 80 11 00 00 00 00 00 00 DF [11:51:40]Write i2c OK [11:51:40]MH_I2C_Read... [11:51:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:51:40]Read from MH i2c: E2 [11:51:40]MH_I2C_Read... [11:51:40]Read from MH i2c: E2 17 00 [11:51:40]MH_I2C_Read... [11:51:40]Read from MH i2c: E2 17 00 65 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 32 [11:51:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [11:51:40]wFMCommunicate OK [11:51:40]requested_item fd.num is exist - process it [11:51:40]SAM_PROTO_GetFieldsCounters [11:51:40]wFMCommunicate request_size=4 [11:51:40]MH_SAM_APDU [11:51:40]CAPDU: 80 13 00 00 [11:51:40]Write to MH i2c: E2 08 00 66 00 80 13 00 00 00 00 00 00 E2 [11:51:40]Write i2c OK [11:51:40]MH_I2C_Read... [11:51:40]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:51:40]Read from MH i2c: E2 [11:51:40]MH_I2C_Read... [11:51:40]Read from MH i2c: E2 62 00 [11:51:40]MH_I2C_Read... [11:51:40]Read from MH i2c: E2 62 00 66 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 3F 10 00 00 0E 04 04 00 54 00 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 DD [11:51:40]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 3F 10 00 00 0E 04 04 00 54 00 00 00 12 04 04 00 11 00 00 00 5E 04 04 00 11 00 00 00 57 04 04 00 12 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:51:40]wFMCommunicate OK [11:51:40]SAM_PROTO_GetFieldsCounters done [11:51:40]requested_item shift.num is exist - process it [11:51:40]requested_item shift.opened is exist - process it [11:51:40]req_shift_opened [11:51:40]FM_GetShiftState [11:51:40]SAM_PROTO_GetShiftState [11:51:40]wFMCommunicate request_size=4 [11:51:40]MH_SAM_APDU [11:51:40]CAPDU: 80 13 01 00 [11:51:40]Write to MH i2c: E2 08 00 67 00 80 13 01 00 00 00 00 00 E4 [11:51:40]Write i2c OK [11:51:40]MH_I2C_Read... [11:51:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:51:40]Read from MH i2c: E2 [11:51:40]MH_I2C_Read... [11:51:40]Read from MH i2c: E2 0E 00 [11:51:40]MH_I2C_Read... [11:51:40]Read from MH i2c: E2 0E 00 67 00 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 85 [11:51:40]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [11:51:40]wFMCommunicate OK [11:51:40]SAM_PROTO_GetShiftState done [11:51:40]FM_GetShiftState done [11:51:40]req_shift_opened done [11:51:40]requested_item shift.open_date is exist - process it [11:51:40]req_shift_open_date [11:51:40]req_shift_open_date done [11:51:40]produce_requested_data done [11:51:40]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4159,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765} [11:51:40]process_action_free close_receipt [11:51:40]json_value_free [11:51:40]json_value_free done [11:51:40]process_json_proto returns [11:51:40]Send response to host [11:51:40]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4159,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765}}} [11:51:40]free response buf [11:51:40]execute_script done [11:51:40]execute_script returns [11:51:40]free content buf [11:51:40]Sock 8.Close socket [11:51:40]Sock 8.Thread stoped [11:51:44]OFD Sender: No OFD packet to send [11:51:49]OFD Sender: No OFD packet to send [11:51:54]accept exits with 9 [11:51:54]New connection [11:51:54]New thread 3066604900 created [11:51:54]Thread 3066748260 joined [11:51:54]Waiting for new connection... [11:51:54] Sock 9.Parse request [11:51:54]Sock 9.Check first char [11:51:54]Sock 9.First char is OK [11:51:54]request: POST /json_proto HTTP/1.0 [11:51:54]Method: POST [11:51:54]URL: /json_proto [11:51:54]Method is POST - this is cgi request [11:51:54]url: /json_proto [11:51:54]query_string will be loaded in cgi processing [11:51:54]execute_cgi json_proto POST (null) [11:51:54]execute_cgi path=json_proto method=POST [11:51:54]POST find Content-Length [11:51:54]Host: 172.17.56.68:8080 [11:51:54]Content-Length: 628 [11:51:54]Content-Type: application/json [11:51:54] [11:51:54]POST finish read [11:51:54]Found Content-Length = 628 [11:51:54]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4413", "tax_sys" : 0, "items" : [ { "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "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" ] } } [11:51:54]execute_script... [11:51:54]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4413", "tax_sys" : 0, "items" : [ { "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "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" ] } } [11:51:54]POST & json_proto [11:51:54]process_json_proto [11:51:54]json parsed OK: [11:51:54]protocol is kg_v1.0 [11:51:54]action value=close_receipt [11:51:54]process_action close_receipt [11:51:54]cmd_close_receipt [11:51:54]MH_GetDate [11:51:54]Write to MH i2c: F0 00 00 68 00 57 [11:51:54]Write i2c OK [11:51:54]MH_I2C_Read... [11:51:54]Read from MH i2c: F0 [11:51:54]MH_I2C_Read... [11:51:54]Read from MH i2c: F0 09 00 [11:51:54]MH_I2C_Read... [11:51:54]Read from MH i2c: F0 09 00 68 00 00 5A 51 60 66 42 69 5C 66 3E [11:51:54]GetLastDocTimeStamp 1717588296 [11:51:54]current date 1717588314 [11:51:54]FM_GetShiftState [11:51:54]SAM_PROTO_GetShiftState [11:51:54]wFMCommunicate request_size=4 [11:51:54]MH_SAM_APDU [11:51:54]CAPDU: 80 13 01 00 [11:51:54]Write to MH i2c: E2 08 00 69 00 80 13 01 00 00 00 00 00 E6 [11:51:54]Write i2c OK [11:51:54]MH_I2C_Read... [11:51:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:51:54]Read from MH i2c: E2 [11:51:54]MH_I2C_Read... [11:51:54]Read from MH i2c: E2 0E 00 [11:51:54]MH_I2C_Read... [11:51:54]Read from MH i2c: E2 0E 00 69 00 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 87 [11:51:54]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [11:51:54]wFMCommunicate OK [11:51:54]SAM_PROTO_GetShiftState done [11:51:54]FM_GetShiftState done [11:51:54]opened in 1717545765 [11:51:54]opened+sec_in_day 1717632165 [11:51:54]quantity*price = 4500 [11:51:54]sum+1 = 4501 [11:51:54]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 45.00 НСП 1% : 0.40 НДС 12% : 4.78 Наличными: 45.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 18 05.06.2024 11:51 Смена: 84 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4160 ФПД: 26970513551647 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T115154&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4160&fm=26970513551647&tin=02508201610067®Number=0000000000145775&sum=4500 0 [11:51:55]StoreToDocumentArchive [11:51:55]shift 84 fd 4160 [11:51:55]save to /storage/0084/doc_00004160 [11:51:55]save last doc name /storage/0084/doc_00004160 to /storage/kkm_last_doc_name [11:51:55]save OK [11:51:55]Clear old archive folders... [11:51:55]ProcessDocumentItem done err = 0, tmpTLVsize=269 [11:51:55]tlvbuf is 01303590 [11:51:55]SAM_PROTO_ClearQueue [11:51:55]wFMCommunicate request_size=4 [11:51:55]MH_SAM_APDU [11:51:55]CAPDU: 80 09 00 00 [11:51:55]Write to MH i2c: E2 08 00 76 00 80 09 00 00 00 00 00 00 E8 [11:51:55]Write i2c OK [11:51:55]MH_I2C_Read... [11:51:55]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:51:55]Read from MH i2c: E2 [11:51:55]MH_I2C_Read... [11:51:55]Read from MH i2c: E2 03 00 [11:51:55]MH_I2C_Read... [11:51:55]Read from MH i2c: E2 03 00 76 00 00 90 00 EA [11:51:55]RAPDU: 90 00 [11:51:55]wFMCommunicate OK [11:51:55]SAM_PROTO_ClearQueue done [11:51:55]KKMCreateOFDPacket [11:51:55]OFDProtocolAddRootSTLVToBuf [11:51:55]FM_MakeSignedData [11:51:55]FM_MakeSignedData [11:51:55]SAM_PROTO_SignData [11:51:55]wFMCommunicate request_size=4 [11:51:55]MH_SAM_APDU [11:51:55]CAPDU: 80 0D 01 02 [11:51:55]Write to MH i2c: E2 08 00 77 00 80 0D 01 02 00 00 00 00 F0 [11:51:55]Write i2c OK [11:51:55]MH_I2C_Read... [11:51:55]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:51:55]Read from MH i2c: E2 [11:51:55]MH_I2C_Read... [11:51:55]Read from MH i2c: E2 03 00 [11:51:55]MH_I2C_Read... [11:51:55]Read from MH i2c: E2 03 00 77 00 00 90 00 EB [11:51:55]RAPDU: 90 00 [11:51:55]wFMCommunicate OK [11:51:55]wFMCommunicate request_size=255 [11:51:55]MH_SAM_APDU [11:51:55]CAPDU: 80 0D 02 02 FA 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 12 00 00 00 F4 03 04 00 5A 51 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 [11:51:55]Write to MH i2c: E2 02 01 78 00 80 0D 02 02 FA 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 12 00 00 00 F4 03 04 00 5A 51 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 00 00 D1 [11:51:55]Write i2c OK [11:51:55]MH_I2C_Read... [11:51:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:51:55]Read from MH i2c: E2 [11:51:55]MH_I2C_Read... [11:51:55]Read from MH i2c: E2 03 00 [11:51:55]MH_I2C_Read... [11:51:55]Read from MH i2c: E2 03 00 78 00 00 90 00 EC [11:51:55]RAPDU: 90 00 [11:51:55]wFMCommunicate OK [11:51:55]wFMCommunicate request_size=28 [11:51:55]MH_SAM_APDU [11:51:55]CAPDU: 80 0D 02 02 17 35 39 33 36 30 10 04 04 00 40 10 00 00 35 04 06 00 18 87 8F E1 31 1F [11:51:55]Write to MH i2c: E2 1F 00 79 00 80 0D 02 02 17 00 35 39 33 36 30 10 04 04 00 40 10 00 00 35 04 06 00 18 87 8F E1 31 1F 00 00 2E [11:51:55]Write i2c OK [11:51:55]MH_I2C_Read... [11:51:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:51:55]Read from MH i2c: E2 [11:51:55]MH_I2C_Read... [11:51:55]Read from MH i2c: E2 03 00 [11:51:55]MH_I2C_Read... [11:51:55]Read from MH i2c: E2 03 00 79 00 00 90 00 ED [11:51:55]RAPDU: 90 00 [11:51:55]wFMCommunicate OK [11:51:55]wFMCommunicate request_size=4 [11:51:55]MH_SAM_APDU [11:51:55]CAPDU: 80 0D 03 02 [11:51:55]Write to MH i2c: E2 08 00 7A 00 80 0D 03 02 00 00 00 00 F5 [11:51:55]Write i2c OK [11:51:55]MH_I2C_Read... [11:51:55]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:51:55]Read from MH i2c: E2 [11:51:55]MH_I2C_Read... [11:51:55]Read from MH i2c: E2 0B 00 [11:51:55]MH_I2C_Read... [11:51:55]Read from MH i2c: E2 0B 00 7A 00 00 96 86 5E 68 5A 98 A2 4D 90 00 B9 [11:51:55]RAPDU: 96 86 5E 68 5A 98 A2 4D 90 00 [11:51:55]wFMCommunicate OK [11:51:55]SAM_PROTO_SignData done [11:51:55]FM_MakeSignedData done [11:51:55]CreateOFDProtocolMessage [11:51:55]wFMCommunicate request_size=4 [11:51:55]MH_SAM_APDU [11:51:55]CAPDU: 80 11 00 00 [11:51:55]Write to MH i2c: E2 08 00 7B 00 80 11 00 00 00 00 00 00 F5 [11:51:55]Write i2c OK [11:51:55]MH_I2C_Read... [11:51:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:51:55]Read from MH i2c: E2 [11:51:55]MH_I2C_Read... [11:51:55]Read from MH i2c: E2 17 00 [11:51:55]MH_I2C_Read... [11:51:55]Read from MH i2c: E2 17 00 7B 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 48 [11:51:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [11:51:55]wFMCommunicate OK [11:51:55]CreateOFDProtocolMessage done [11:51:55]OFDSenderStorePacket 4160 [11:51:55]StoreOFDPacket docnum=4160 [11:51:55]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 21 01 00 00 7E 3F 19 01 43 BA 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 12 00 00 00 F4 03 04 00 5A 51 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 40 10 00 00 35 04 06 00 18 87 8F E1 31 1F 96 86 5E 68 5A 98 A2 4D [11:51:55]CheckFolder [11:51:55]dirname=/storage/ofd_packets [11:51:55]CheckFolder done [11:51:55]ProducePacketName [11:51:55]name=ofd_packets/00004160 [11:51:55]NVStorageSaveData ofd_packets/00004160 [11:51:55]File name is /storage/ofd_packets/00004160 [11:51:55]Write 319 bytes [11:51:55]NVStorageSaveData done [11:51:55]OFDSenderStorePacket done [11:51:55]KKMCreateOFDPacket done [11:51:55]NVStorageSaveData kkm_last_timestamp [11:51:55]File name is /storage/kkm_last_timestamp [11:51:55]Write 4 bytes [11:51:55]NVStorageSaveData done [11:51:55]ExternCall_PrintAddStr [11:51:55]wPrintStart [11:51:55]Write to MH i2c: 01 00 00 7C 00 7C [11:51:55]Write i2c OK [11:51:55]MH_I2C_Read... [11:51:55]Read from MH i2c: 01 [11:51:55]MH_I2C_Read... [11:51:55]Read from MH i2c: 01 07 00 [11:51:55]MH_I2C_Read... [11:51:55]Read from MH i2c: 01 07 00 7C 00 00 00 00 00 00 FF 0F 91 [11:51:55]RasterBufferAndPrint [11:51:55]line Счет N : (3)4413 [11:51:55]line ИНН: 02508201610067 [11:51:55]line Контрольно-Кассовый Чек [11:51:55]line ПРОДАЖА [11:51:55]line Товар: 4700000160358 [11:51:55]line Вода Легенда 1л [11:51:55]line 1.000 * 45.00 [11:51:55]line = 45.00 [11:51:55]line НДС 12% НСП 1% [11:51:55]line > о реализуемом товаре [11:51:55]line ИТОГО: 45.00 [11:51:55]line НСП 1% : 0.40 [11:51:55]line НДС 12% : 4.78 [11:51:55]line Наличными: 45.00 [11:51:55]line Безнал.: 0.00 [11:51:55]line Место: АЗС № 116 "Партнер Нефть" [11:51:55]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [11:51:55]line СНО: Общий режим [11:51:55]line Чек 18 05.06.2024 11:51 [11:51:55]line Смена: 84 ФФД: 1.0 [11:51:55]line ЗНМ: 0300000233 [11:51:55]line РНМ: 0000000000145775 [11:51:55]line Версия ККМ: v1.0 [11:51:55]line ФМ: 0000000000959360 [11:51:55]line ФД: 4160 [11:51:55]line ФПД: 26970513551647 [11:51:56]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T115154&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4160&fm=26970513551647&tin=02508201610067®Number=0000000000145775&sum=4500 [11:51:56]line 0 [11:51:56]OFD Sender: Processing packet 4160 [packets to send 2, broken 1] [11:51:56]ProducePacketName [11:51:56]name=ofd_packets/00004160 [11:51:56]OFD Sender: To server: pG, [11:51:56]CommunicateWithHost lk.salyk.kg:30040 [11:51:56]ConnectInit lk.salyk.kg [11:51:56]written 0, free lines is 4095 [11:51:56]Connected sock=10 [11:51:56]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 21 01 00 00 7E 3F 19 01 43 BA 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 12 00 00 00 F4 03 04 00 5A 51 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 40 10 00 00 35 04 06 00 18 87 8F E1 31 1F 96 86 5E 68 5A 98 A2 4D [11:51:56]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 C4 1A 47 00 40 3E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 40 10 00 00 F4 03 04 00 58 FD 5F 66 B6 04 01 00 00 2F AE FE AE 2B 16 5D 74 [11:51:56]CommunicateWithHost err = 0 [11:51:56]CheckOFDResponse [11:51:56]1017 (14) - 77093643461234 [11:51:56]1041 (16) - 0000000000959360 [11:51:56]1040 (4) - 4160 [11:51:56]1012 (4) - 05.06.2024 05:53 [11:51:56]1206 (1) - 0 [11:51:56]OFD Sender: Remove packet 4160 [11:51:56]ProducePacketName [11:51:56]name=ofd_packets/00004160 [11:51:56]NVStorageDeleteData [11:51:56]Write to MH i2c: 01 00 00 A4 00 A4 [11:51:56]Write i2c OK [11:51:56]MH_I2C_Read... [11:51:56]Read from MH i2c: 01 [11:51:56]MH_I2C_Read... [11:51:56]Read from MH i2c: 01 07 00 [11:51:56]MH_I2C_Read... [11:51:56]Read from MH i2c: 01 07 00 A4 00 00 00 00 00 00 BA 0C 71 [11:51:56]RasterBufferAndPrint [11:51:56]line [11:51:56]line [11:51:56]line [11:51:56]line [11:51:56]line [11:51:56]written 0, free lines is 3263 [11:51:56]MH_Cut [11:51:56]Write to MH i2c: D1 01 00 AB 00 01 7D [11:51:56]Write i2c OK [11:51:56]MH_I2C_Read... [11:51:56]Read from MH i2c: D1 [11:51:56]MH_I2C_Read... [11:51:56]Read from MH i2c: D1 01 00 [11:51:56]MH_I2C_Read... [11:51:56]Read from MH i2c: D1 01 00 AB 00 00 7C [11:51:56]Write to MH i2c: 01 00 00 AC 00 AC [11:51:56]Write i2c OK [11:51:56]MH_I2C_Read... [11:51:57]OFD Sender: No OFD packet to send [11:51:57]*** Cut start [11:51:57]*** Partial cut [11:51:57]*** CUTSNS_PIN = 1 [11:51:57]*** CUTSNS_PIN = 0 [11:51:57]*** Brake cut motor [11:51:58]Read from MH i2c: 01 [11:51:58]MH_I2C_Read... [11:51:58]*** Stop cut motor [11:51:58]*** Cut end [11:51:58]Read from MH i2c: 01 07 00 [11:51:58]MH_I2C_Read... [11:51:58]Read from MH i2c: 01 07 00 AC 00 00 00 00 00 00 FF 0F C1 [11:51:58]process_action close_receipt done [11:51:58]requested_data is exist [11:51:58]produce_requested_data [11:51:58]requested_item fm.sn is exist - process it [11:51:58]wFMCommunicate request_size=4 [11:51:58]MH_SAM_APDU [11:51:58]CAPDU: 80 11 00 00 [11:51:58]Write to MH i2c: E2 08 00 AD 00 80 11 00 00 00 00 00 00 27 [11:51:58]Write i2c OK [11:51:58]MH_I2C_Read... [11:51:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:51:58]Read from MH i2c: E2 [11:51:58]MH_I2C_Read... [11:51:58]Read from MH i2c: E2 17 00 [11:51:58]MH_I2C_Read... [11:51:58]Read from MH i2c: E2 17 00 AD 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 7A [11:51:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [11:51:58]wFMCommunicate OK [11:51:58]requested_item fd.num is exist - process it [11:51:58]SAM_PROTO_GetFieldsCounters [11:51:58]wFMCommunicate request_size=4 [11:51:58]MH_SAM_APDU [11:51:58]CAPDU: 80 13 00 00 [11:51:58]Write to MH i2c: E2 08 00 AE 00 80 13 00 00 00 00 00 00 2A [11:51:58]Write i2c OK [11:51:58]MH_I2C_Read... [11:51:58]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:51:58]Read from MH i2c: E2 [11:51:58]MH_I2C_Read... [11:51:58]Read from MH i2c: E2 62 00 [11:51:58]MH_I2C_Read... [11:51:58]Read from MH i2c: E2 62 00 AE 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 40 10 00 00 0E 04 04 00 54 00 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 29 [11:51:58]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 40 10 00 00 0E 04 04 00 54 00 00 00 12 04 04 00 12 00 00 00 5E 04 04 00 12 00 00 00 57 04 04 00 13 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:51:58]wFMCommunicate OK [11:51:58]SAM_PROTO_GetFieldsCounters done [11:51:58]requested_item shift.num is exist - process it [11:51:58]requested_item shift.opened is exist - process it [11:51:58]req_shift_opened [11:51:58]FM_GetShiftState [11:51:58]SAM_PROTO_GetShiftState [11:51:58]wFMCommunicate request_size=4 [11:51:58]MH_SAM_APDU [11:51:58]CAPDU: 80 13 01 00 [11:51:58]Write to MH i2c: E2 08 00 AF 00 80 13 01 00 00 00 00 00 2C [11:51:58]Write i2c OK [11:51:58]MH_I2C_Read... [11:51:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:51:58]Read from MH i2c: E2 [11:51:58]MH_I2C_Read... [11:51:58]Read from MH i2c: E2 0E 00 [11:51:58]MH_I2C_Read... [11:51:58]Read from MH i2c: E2 0E 00 AF 00 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 CD [11:51:58]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [11:51:58]wFMCommunicate OK [11:51:58]SAM_PROTO_GetShiftState done [11:51:58]FM_GetShiftState done [11:51:58]req_shift_opened done [11:51:58]requested_item shift.open_date is exist - process it [11:51:58]req_shift_open_date [11:51:58]req_shift_open_date done [11:51:58]produce_requested_data done [11:51:58]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4160,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765} [11:51:58]process_action_free close_receipt [11:51:58]json_value_free [11:51:58]json_value_free done [11:51:58]process_json_proto returns [11:51:58]Send response to host [11:51:58]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4160,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765}}} [11:51:58]free response buf [11:51:58]execute_script done [11:51:58]execute_script returns [11:51:58]free content buf [11:51:58]Sock 9.Close socket [11:51:58]Sock 9.Thread stoped [11:52:02]OFD Sender: No OFD packet to send [11:52:07]OFD Sender: No OFD packet to send [11:52:12]OFD Sender: No OFD packet to send [11:52:17]OFD Sender: No OFD packet to send [11:52:22]OFD Sender: No OFD packet to send [11:52:27]OFD Sender: No OFD packet to send [11:52:32]OFD Sender: No OFD packet to send [11:52:37]OFD Sender: No OFD packet to send [11:52:42]OFD Sender: No OFD packet to send [11:52:47]OFD Sender: No OFD packet to send [11:52:52]OFD Sender: No OFD packet to send [11:52:57]OFD Sender: No OFD packet to send [11:53:02]OFD Sender: No OFD packet to send [11:53:07]OFD Sender: No OFD packet to send [11:53:12]OFD Sender: No OFD packet to send [11:53:17]OFD Sender: No OFD packet to send [11:53:22]OFD Sender: No OFD packet to send [11:53:27]OFD Sender: No OFD packet to send [11:53:32]OFD Sender: No OFD packet to send [11:53:37]OFD Sender: No OFD packet to send [11:53:42]OFD Sender: No OFD packet to send [11:53:47]OFD Sender: No OFD packet to send [11:53:52]OFD Sender: No OFD packet to send [11:53:57]OFD Sender: No OFD packet to send [11:54:02]OFD Sender: No OFD packet to send [11:54:07]OFD Sender: No OFD packet to send [11:54:12]OFD Sender: No OFD packet to send [11:54:17]OFD Sender: No OFD packet to send [11:54:22]OFD Sender: No OFD packet to send [11:54:27]OFD Sender: No OFD packet to send [11:54:32]OFD Sender: No OFD packet to send [11:54:37]OFD Sender: No OFD packet to send [11:54:42]OFD Sender: No OFD packet to send [11:54:47]OFD Sender: No OFD packet to send [11:54:52]OFD Sender: No OFD packet to send [11:54:57]OFD Sender: No OFD packet to send [11:55:02]OFD Sender: No OFD packet to send [11:55:07]OFD Sender: No OFD packet to send [11:55:12]OFD Sender: No OFD packet to send [11:55:17]OFD Sender: No OFD packet to send [11:55:22]OFD Sender: No OFD packet to send [11:55:27]OFD Sender: No OFD packet to send [11:55:32]OFD Sender: No OFD packet to send [11:55:37]OFD Sender: No OFD packet to send [11:55:42]OFD Sender: No OFD packet to send [11:55:47]OFD Sender: No OFD packet to send [11:55:52]OFD Sender: No OFD packet to send [11:55:57]OFD Sender: No OFD packet to send [11:56:02]OFD Sender: No OFD packet to send [11:56:07]OFD Sender: No OFD packet to send [11:56:12]OFD Sender: No OFD packet to send [11:56:17]OFD Sender: No OFD packet to send [11:56:22]OFD Sender: No OFD packet to send [11:56:27]OFD Sender: No OFD packet to send [11:56:32]OFD Sender: No OFD packet to send [11:56:37]OFD Sender: No OFD packet to send [11:56:42]OFD Sender: No OFD packet to send [11:56:47]OFD Sender: No OFD packet to send [11:56:52]OFD Sender: No OFD packet to send [11:56:57]OFD Sender: No OFD packet to send [11:57:02]OFD Sender: No OFD packet to send [11:57:07]OFD Sender: No OFD packet to send [11:57:12]OFD Sender: No OFD packet to send [11:57:17]OFD Sender: No OFD packet to send [11:57:22]OFD Sender: No OFD packet to send [11:57:27]OFD Sender: No OFD packet to send [11:57:32]OFD Sender: No OFD packet to send [11:57:37]OFD Sender: No OFD packet to send [11:57:42]OFD Sender: No OFD packet to send [11:57:47]OFD Sender: No OFD packet to send [11:57:52]OFD Sender: No OFD packet to send [11:57:57]OFD Sender: No OFD packet to send [11:58:02]OFD Sender: No OFD packet to send [11:58:07]OFD Sender: No OFD packet to send [11:58:12]OFD Sender: No OFD packet to send [11:58:17]OFD Sender: No OFD packet to send [11:58:22]OFD Sender: No OFD packet to send [11:58:27]OFD Sender: No OFD packet to send [11:58:32]OFD Sender: No OFD packet to send [11:58:37]OFD Sender: No OFD packet to send [11:58:42]OFD Sender: No OFD packet to send [11:58:47]OFD Sender: No OFD packet to send [11:58:52]OFD Sender: No OFD packet to send [11:58:57]OFD Sender: No OFD packet to send [11:59:02]OFD Sender: No OFD packet to send [11:59:07]OFD Sender: No OFD packet to send [11:59:12]OFD Sender: No OFD packet to send [11:59:17]OFD Sender: No OFD packet to send [11:59:22]OFD Sender: No OFD packet to send [11:59:27]OFD Sender: No OFD packet to send [11:59:32]OFD Sender: No OFD packet to send [11:59:37]OFD Sender: No OFD packet to send [11:59:42]OFD Sender: No OFD packet to send [11:59:47]OFD Sender: No OFD packet to send [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:50]accept exits with 8 [12:00:50]New connection [12:00:50]New thread 3066748260 created [12:00:50]Thread 3066604900 joined [12:00:50]Waiting for new connection... [12:00:50] Sock 8.Parse request [12:00:50]Sock 8.Check first char [12:00:50]Sock 8.First char is OK [12:00:50]request: POST /json_proto HTTP/1.0 [12:00:50]Method: POST [12:00:50]URL: /json_proto [12:00:50]Method is POST - this is cgi request [12:00:50]url: /json_proto [12:00:50]query_string will be loaded in cgi processing [12:00:50]execute_cgi json_proto POST (null) [12:00:50]execute_cgi path=json_proto method=POST [12:00:50]POST find Content-Length [12:00:50]Host: 172.17.56.68:8080 [12:00:50]Content-Length: 635 [12:00:50]Content-Type: application/json [12:00:50] [12:00:50]POST finish read [12:00:50]Found Content-Length = 635 [12:00:50]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4414", "tax_sys" : 0, "items" : [ { "code": "4700003610546", "name": "\u0412\u043E\u0434\u0430 \u0421orona Ice \u043D\u0435\u0433\u0430\u0437 6\u043B", "price" : 100.00, "quantity" : 1.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 100.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:00:50]execute_script... [12:00: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)4414", "tax_sys" : 0, "items" : [ { "code": "4700003610546", "name": "\u0412\u043E\u0434\u0430 \u0421orona Ice \u043D\u0435\u0433\u0430\u0437 6\u043B", "price" : 100.00, "quantity" : 1.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 100.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:00:50]POST & json_proto [12:00:50]process_json_proto [12:00:50]json parsed OK: [12:00:50]protocol is kg_v1.0 [12:00:50]action value=close_receipt [12:00:50]process_action close_receipt [12:00:50]cmd_close_receipt [12:00:50]MH_GetDate [12:00:50]Write to MH i2c: F0 00 00 B0 00 9F [12:00:50]Write i2c OK [12:00:50]MH_I2C_Read... [12:00:50]Read from MH i2c: F0 [12:00:50]MH_I2C_Read... [12:00:50]Read from MH i2c: F0 09 00 [12:00:50]MH_I2C_Read... [12:00:50]Read from MH i2c: F0 09 00 B0 00 00 72 53 60 66 42 69 5C 66 A0 [12:00:50]GetLastDocTimeStamp 1717588314 [12:00:50]current date 1717588850 [12:00:50]FM_GetShiftState [12:00:50]SAM_PROTO_GetShiftState [12:00:50]wFMCommunicate request_size=4 [12:00:50]MH_SAM_APDU [12:00:50]CAPDU: 80 13 01 00 [12:00:50]Write to MH i2c: E2 08 00 B1 00 80 13 01 00 00 00 00 00 2E [12:00:50]Write i2c OK [12:00:50]MH_I2C_Read... [12:00:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:00:50]Read from MH i2c: E2 [12:00:50]MH_I2C_Read... [12:00:50]Read from MH i2c: E2 0E 00 [12:00:50]MH_I2C_Read... [12:00:50]Read from MH i2c: E2 0E 00 B1 00 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 CF [12:00:50]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [12:00:50]wFMCommunicate OK [12:00:50]SAM_PROTO_GetShiftState done [12:00:50]FM_GetShiftState done [12:00:50]opened in 1717545765 [12:00:50]opened+sec_in_day 1717632165 [12:00:50]quantity*price = 10000 [12:00:50]sum+1 = 10001 [12:00:50]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 100.00 НСП 1% : 0.88 НДС 12% : 10.62 Наличными: 100.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 19 05.06.2024 12:00 Смена: 84 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4161 ФПД: 70354071290501 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T120050&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4161&fm=70354071290501&tin=02508201610067®Number=0000000000145775&sum=10000 0 [12:00:51]StoreToDocumentArchive [12:00:51]shift 84 fd 4161 [12:00:51]save to /storage/0084/doc_00004161 [12:00:51]save last doc name /storage/0084/doc_00004161 to /storage/kkm_last_doc_name [12:00:51]save OK [12:00:51]Clear old archive folders... [12:00:51]ProcessDocumentItem done err = 0, tmpTLVsize=277 [12:00:51]tlvbuf is 012F4150 [12:00:51]SAM_PROTO_ClearQueue [12:00:51]wFMCommunicate request_size=4 [12:00:51]MH_SAM_APDU [12:00:51]CAPDU: 80 09 00 00 [12:00:51]Write to MH i2c: E2 08 00 BE 00 80 09 00 00 00 00 00 00 30 [12:00:51]Write i2c OK [12:00:51]MH_I2C_Read... [12:00:51]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:00:51]Read from MH i2c: E2 [12:00:51]MH_I2C_Read... [12:00:51]Read from MH i2c: E2 03 00 [12:00:51]MH_I2C_Read... [12:00:51]Read from MH i2c: E2 03 00 BE 00 00 90 00 32 [12:00:51]RAPDU: 90 00 [12:00:51]wFMCommunicate OK [12:00:51]SAM_PROTO_ClearQueue done [12:00:51]KKMCreateOFDPacket [12:00:51]OFDProtocolAddRootSTLVToBuf [12:00:51]FM_MakeSignedData [12:00:51]FM_MakeSignedData [12:00:51]SAM_PROTO_SignData [12:00:51]wFMCommunicate request_size=4 [12:00:51]MH_SAM_APDU [12:00:51]CAPDU: 80 0D 01 02 [12:00:51]Write to MH i2c: E2 08 00 BF 00 80 0D 01 02 00 00 00 00 38 [12:00:51]Write i2c OK [12:00:51]MH_I2C_Read... [12:00:51]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:00:51]Read from MH i2c: E2 [12:00:51]MH_I2C_Read... [12:00:51]Read from MH i2c: E2 03 00 [12:00:51]MH_I2C_Read... [12:00:51]Read from MH i2c: E2 03 00 BF 00 00 90 00 33 [12:00:51]RAPDU: 90 00 [12:00:51]wFMCommunicate OK [12:00:51]wFMCommunicate request_size=255 [12:00:51]MH_SAM_APDU [12:00:51]CAPDU: 80 0D 02 02 FA 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 34 37 30 30 30 30 33 36 31 30 35 34 36 06 04 23 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 A1 6F 72 6F 6E 61 20 49 63 65 20 D0 BD D0 B5 D0 B3 D0 B0 D0 B7 20 36 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 13 00 00 00 F4 03 04 00 72 53 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 [12:00:51]Write to MH i2c: E2 02 01 C0 00 80 0D 02 02 FA 00 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 34 37 30 30 30 30 33 36 31 30 35 34 36 06 04 23 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 A1 6F 72 6F 6E 61 20 49 63 65 20 D0 BD D0 B5 D0 B3 D0 B0 D0 B7 20 36 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 13 00 00 00 F4 03 04 00 72 53 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 00 00 81 [12:00:51]Write i2c OK [12:00:51]MH_I2C_Read... [12:00:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:00:51]Read from MH i2c: E2 [12:00:51]MH_I2C_Read... [12:00:51]Read from MH i2c: E2 03 00 [12:00:51]MH_I2C_Read... [12:00:51]Read from MH i2c: E2 03 00 C0 00 00 90 00 34 [12:00:51]RAPDU: 90 00 [12:00:51]wFMCommunicate OK [12:00:51]wFMCommunicate request_size=36 [12:00:51]MH_SAM_APDU [12:00:51]CAPDU: 80 0D 02 02 1F 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 41 10 00 00 35 04 06 00 3F FC 95 6D 82 85 [12:00:51]Write to MH i2c: E2 27 00 C1 00 80 0D 02 02 1F 00 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 41 10 00 00 35 04 06 00 3F FC 95 6D 82 85 00 00 F5 [12:00:51]Write i2c OK [12:00:51]MH_I2C_Read... [12:00:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:00:51]Read from MH i2c: E2 [12:00:51]MH_I2C_Read... [12:00:51]Read from MH i2c: E2 03 00 [12:00:51]MH_I2C_Read... [12:00:51]Read from MH i2c: E2 03 00 C1 00 00 90 00 35 [12:00:51]RAPDU: 90 00 [12:00:51]wFMCommunicate OK [12:00:51]wFMCommunicate request_size=4 [12:00:51]MH_SAM_APDU [12:00:51]CAPDU: 80 0D 03 02 [12:00:51]Write to MH i2c: E2 08 00 C2 00 80 0D 03 02 00 00 00 00 3D [12:00:51]Write i2c OK [12:00:51]MH_I2C_Read... [12:00:51]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:00:51]Read from MH i2c: E2 [12:00:51]MH_I2C_Read... [12:00:51]Read from MH i2c: E2 0B 00 [12:00:51]MH_I2C_Read... [12:00:51]Read from MH i2c: E2 0B 00 C2 00 00 7D 7D 09 5E 2B 14 99 7D 90 00 F4 [12:00:51]RAPDU: 7D 7D 09 5E 2B 14 99 7D 90 00 [12:00:51]wFMCommunicate OK [12:00:51]SAM_PROTO_SignData done [12:00:51]FM_MakeSignedData done [12:00:51]CreateOFDProtocolMessage [12:00:51]wFMCommunicate request_size=4 [12:00:51]MH_SAM_APDU [12:00:51]CAPDU: 80 11 00 00 [12:00:51]Write to MH i2c: E2 08 00 C3 00 80 11 00 00 00 00 00 00 3D [12:00:51]Write i2c OK [12:00:51]MH_I2C_Read... [12:00:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:00:51]Read from MH i2c: E2 [12:00:51]MH_I2C_Read... [12:00:51]Read from MH i2c: E2 17 00 [12:00:51]MH_I2C_Read... [12:00:51]Read from MH i2c: E2 17 00 C3 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 90 [12:00:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [12:00:51]wFMCommunicate OK [12:00:51]CreateOFDProtocolMessage done [12:00:51]OFDSenderStorePacket 4161 [12:00:51]StoreOFDPacket docnum=4161 [12:00:51]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 29 01 00 00 65 80 21 01 87 6B 5A 03 01 00 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 34 37 30 30 30 30 33 36 31 30 35 34 36 06 04 23 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 A1 6F 72 6F 6E 61 20 49 63 65 20 D0 BD D0 B5 D0 B3 D0 B0 D0 B7 20 36 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 13 00 00 00 F4 03 04 00 72 53 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 41 10 00 00 35 04 06 00 3F FC 95 6D 82 85 7D 7D 09 5E 2B 14 99 7D [12:00:52]CheckFolder [12:00:52]dirname=/storage/ofd_packets [12:00:52]CheckFolder done [12:00:52]ProducePacketName [12:00:52]name=ofd_packets/00004161 [12:00:52]NVStorageSaveData ofd_packets/00004161 [12:00:52]File name is /storage/ofd_packets/00004161 [12:00:52]Write 327 bytes [12:00:52]NVStorageSaveData done [12:00:52]OFDSenderStorePacket done [12:00:52]KKMCreateOFDPacket done [12:00:52]NVStorageSaveData kkm_last_timestamp [12:00:52]File name is /storage/kkm_last_timestamp [12:00:52]Write 4 bytes [12:00:52]NVStorageSaveData done [12:00:52]ExternCall_PrintAddStr [12:00:52]wPrintStart [12:00:52]Write to MH i2c: 01 00 00 C4 00 C4 [12:00:52]Write i2c OK [12:00:52]MH_I2C_Read... [12:00:52]Read from MH i2c: 01 [12:00:52]MH_I2C_Read... [12:00:52]Read from MH i2c: 01 07 00 [12:00:52]MH_I2C_Read... [12:00:52]Read from MH i2c: 01 07 00 C4 00 00 00 00 00 00 FF 0F D9 [12:00:52]RasterBufferAndPrint [12:00:52]line Счет N : (3)4414 [12:00:52]line ИНН: 02508201610067 [12:00:52]line Контрольно-Кассовый Чек [12:00:52]line ПРОДАЖА [12:00:52]line Товар: 4700003610546 [12:00:52]line Вода Сorona Ice негаз 6л [12:00:52]line 1.000 * 100.00 [12:00:52]line = 100.00 [12:00:52]line НДС 12% НСП 1% [12:00:52]line > о реализуемом товаре [12:00:52]line ИТОГО: 100.00 [12:00:52]line НСП 1% : 0.88 [12:00:52]line НДС 12% : 10.62 [12:00:52]line Наличными: 100.00 [12:00:52]line Безнал.: 0.00 [12:00:52]line Место: АЗС № 116 "Партнер Нефть" [12:00:52]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [12:00:52]line СНО: Общий режим [12:00:52]line Чек 19 05.06.2024 12:00 [12:00:52]line Смена: 84 ФФД: 1.0 [12:00:52]line ЗНМ: 0300000233 [12:00:52]line РНМ: 0000000000145775 [12:00:52]line Версия ККМ: v1.0 [12:00:52]line ФМ: 0000000000959360 [12:00:52]line ФД: 4161 [12:00:52]line ФПД: 70354071290501 [12:00:52]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T120050&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4161&fm=70354071290501&tin=02508201610067®Number=0000000000145775&sum=10000 [12:00:52]line 0 [12:00:52]OFD Sender: Processing packet 4161 [packets to send 2, broken 1] [12:00:52]ProducePacketName [12:00:52]name=ofd_packets/00004161 [12:00:52]OFD Sender: To server: pG, [12:00:52]CommunicateWithHost lk.salyk.kg:30040 [12:00:52]ConnectInit lk.salyk.kg [12:00:52]written 0, free lines is 4095 [12:00:52]Connected sock=10 [12:00:52]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 29 01 00 00 65 80 21 01 87 6B 5A 03 01 00 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 34 37 30 30 30 30 33 36 31 30 35 34 36 06 04 23 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 A1 6F 72 6F 6E 61 20 49 63 65 20 D0 BD D0 B5 D0 B3 D0 B0 D0 B7 20 36 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 13 00 00 00 F4 03 04 00 72 53 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 41 10 00 00 35 04 06 00 3F FC 95 6D 82 85 7D 7D 09 5E 2B 14 99 7D [12:00:52]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 4E 5F 47 00 59 E7 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 41 10 00 00 F4 03 04 00 70 FF 5F 66 B6 04 01 00 00 37 3C 64 49 DB 01 7D 6A [12:00:52]CommunicateWithHost err = 0 [12:00:52]CheckOFDResponse [12:00:52]1017 (14) - 77093643461234 [12:00:52]1041 (16) - 0000000000959360 [12:00:52]1040 (4) - 4161 [12:00:52]1012 (4) - 05.06.2024 06:02 [12:00:52]1206 (1) - 0 [12:00:52]OFD Sender: Remove packet 4161 [12:00:52]ProducePacketName [12:00:52]name=ofd_packets/00004161 [12:00:52]NVStorageDeleteData [12:00:52]Write to MH i2c: 01 00 00 EC 00 EC [12:00:52]Write i2c OK [12:00:52]MH_I2C_Read... [12:00:52]Read from MH i2c: 01 [12:00:52]MH_I2C_Read... [12:00:52]Read from MH i2c: 01 07 00 [12:00:52]MH_I2C_Read... [12:00:52]Read from MH i2c: 01 07 00 EC 00 00 00 00 00 00 B3 0C B2 [12:00:52]RasterBufferAndPrint [12:00:52]line [12:00:52]line [12:00:52]line [12:00:52]line [12:00:52]line [12:00:52]written 0, free lines is 3255 [12:00:52]MH_Cut [12:00:52]Write to MH i2c: D1 01 00 F3 00 01 C5 [12:00:52]Write i2c OK [12:00:52]MH_I2C_Read... [12:00:52]Read from MH i2c: D1 [12:00:52]MH_I2C_Read... [12:00:52]Read from MH i2c: D1 01 00 [12:00:52]MH_I2C_Read... [12:00:52]Read from MH i2c: D1 01 00 F3 00 00 C4 [12:00:52]Write to MH i2c: 01 00 00 F4 00 F4 [12:00:52]Write i2c OK [12:00:52]MH_I2C_Read... [12:00:53]OFD Sender: No OFD packet to send [12:00:53]*** Cut start [12:00:53]*** Partial cut [12:00:53]*** CUTSNS_PIN = 1 [12:00:53]*** CUTSNS_PIN = 0 [12:00:53]*** Brake cut motor [12:00:54]Read from MH i2c: 01 [12:00:54]MH_I2C_Read... [12:00:54]*** Stop cut motor [12:00:54]*** Cut end [12:00:54]Read from MH i2c: 01 07 00 [12:00:54]MH_I2C_Read... [12:00:54]Read from MH i2c: 01 07 00 F4 00 00 00 00 00 00 FF 0F 09 [12:00:54]process_action close_receipt done [12:00:54]requested_data is exist [12:00:54]produce_requested_data [12:00:54]requested_item fm.sn is exist - process it [12:00:54]wFMCommunicate request_size=4 [12:00:54]MH_SAM_APDU [12:00:54]CAPDU: 80 11 00 00 [12:00:54]Write to MH i2c: E2 08 00 F5 00 80 11 00 00 00 00 00 00 6F [12:00:54]Write i2c OK [12:00:54]MH_I2C_Read... [12:00:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:00:54]Read from MH i2c: E2 [12:00:54]MH_I2C_Read... [12:00:54]Read from MH i2c: E2 17 00 [12:00:54]MH_I2C_Read... [12:00:54]Read from MH i2c: E2 17 00 F5 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 C2 [12:00:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [12:00:54]wFMCommunicate OK [12:00:54]requested_item fd.num is exist - process it [12:00:54]SAM_PROTO_GetFieldsCounters [12:00:54]wFMCommunicate request_size=4 [12:00:54]MH_SAM_APDU [12:00:54]CAPDU: 80 13 00 00 [12:00:54]Write to MH i2c: E2 08 00 F6 00 80 13 00 00 00 00 00 00 72 [12:00:54]Write i2c OK [12:00:54]MH_I2C_Read... [12:00:54]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:00:54]Read from MH i2c: E2 [12:00:54]MH_I2C_Read... [12:00:54]Read from MH i2c: E2 62 00 [12:00:54]MH_I2C_Read... [12:00:54]Read from MH i2c: E2 62 00 F6 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 41 10 00 00 0E 04 04 00 54 00 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 75 [12:00:54]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 41 10 00 00 0E 04 04 00 54 00 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 [12:00:54]wFMCommunicate OK [12:00:54]SAM_PROTO_GetFieldsCounters done [12:00:54]requested_item shift.num is exist - process it [12:00:54]requested_item shift.opened is exist - process it [12:00:54]req_shift_opened [12:00:54]FM_GetShiftState [12:00:54]SAM_PROTO_GetShiftState [12:00:54]wFMCommunicate request_size=4 [12:00:54]MH_SAM_APDU [12:00:54]CAPDU: 80 13 01 00 [12:00:54]Write to MH i2c: E2 08 00 F7 00 80 13 01 00 00 00 00 00 74 [12:00:54]Write i2c OK [12:00:54]MH_I2C_Read... [12:00:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:00:54]Read from MH i2c: E2 [12:00:54]MH_I2C_Read... [12:00:54]Read from MH i2c: E2 0E 00 [12:00:54]MH_I2C_Read... [12:00:54]Read from MH i2c: E2 0E 00 F7 00 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 15 [12:00:54]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [12:00:54]wFMCommunicate OK [12:00:54]SAM_PROTO_GetShiftState done [12:00:54]FM_GetShiftState done [12:00:54]req_shift_opened done [12:00:54]requested_item shift.open_date is exist - process it [12:00:54]req_shift_open_date [12:00:54]req_shift_open_date done [12:00:54]produce_requested_data done [12:00:54]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4161,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765} [12:00:54]process_action_free close_receipt [12:00:54]json_value_free [12:00:54]json_value_free done [12:00:54]process_json_proto returns [12:00:54]Send response to host [12:00:54]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4161,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765}}} [12:00:54]free response buf [12:00:54]execute_script done [12:00:54]execute_script returns [12:00:54]free content buf [12:00:54]Sock 8.Close socket [12:00:54]Sock 8.Thread stoped [12:00:58]OFD Sender: No OFD packet to send [12:01:03]OFD Sender: No OFD packet to send [12:01:08]OFD Sender: No OFD packet to send [12:01:13]OFD Sender: No OFD packet to send [12:01:18]OFD Sender: No OFD packet to send [12:01:23]OFD Sender: No OFD packet to send [12:01:28]OFD Sender: No OFD packet to send [12:01:33]OFD Sender: No OFD packet to send [12:01:38]OFD Sender: No OFD packet to send [12:01:43]OFD Sender: No OFD packet to send [12:01:48]OFD Sender: No OFD packet to send [12:01:53]OFD Sender: No OFD packet to send [12:01:58]OFD Sender: No OFD packet to send [12:02:03]OFD Sender: No OFD packet to send [12:02:08]OFD Sender: No OFD packet to send [12:02:13]OFD Sender: No OFD packet to send [12:02:18]OFD Sender: No OFD packet to send [12:02:23]OFD Sender: No OFD packet to send [12:02:28]OFD Sender: No OFD packet to send [12:02:33]OFD Sender: No OFD packet to send [12:02:38]OFD Sender: No OFD packet to send [12:02:43]OFD Sender: No OFD packet to send [12:02:48]OFD Sender: No OFD packet to send [12:02:53]OFD Sender: No OFD packet to send [12:02:58]OFD Sender: No OFD packet to send [12:03:03]OFD Sender: No OFD packet to send [12:03:08]OFD Sender: No OFD packet to send [12:03:13]OFD Sender: No OFD packet to send [12:03:18]OFD Sender: No OFD packet to send [12:03:23]OFD Sender: No OFD packet to send [12:03:28]OFD Sender: No OFD packet to send [12:03:33]OFD Sender: No OFD packet to send [12:03:38]OFD Sender: No OFD packet to send [12:03:43]OFD Sender: No OFD packet to send [12:03:48]OFD Sender: No OFD packet to send [12:03:53]OFD Sender: No OFD packet to send [12:03:58]OFD Sender: No OFD packet to send [12:04:03]OFD Sender: No OFD packet to send [12:04:08]OFD Sender: No OFD packet to send [12:04:13]OFD Sender: No OFD packet to send [12:04:18]OFD Sender: No OFD packet to send [12:04:23]OFD Sender: No OFD packet to send [12:04:28]OFD Sender: No OFD packet to send [12:04:33]OFD Sender: No OFD packet to send [12:04:38]OFD Sender: No OFD packet to send [12:04:43]OFD Sender: No OFD packet to send [12:04:48]OFD Sender: No OFD packet to send [12:04:53]OFD Sender: No OFD packet to send [12:04:58]OFD Sender: No OFD packet to send [12:05:03]OFD Sender: No OFD packet to send [12:05:08]OFD Sender: No OFD packet to send [12:05:13]OFD Sender: No OFD packet to send [12:05:18]OFD Sender: No OFD packet to send [12:05:23]OFD Sender: No OFD packet to send [12:05:28]OFD Sender: No OFD packet to send [12:05:33]OFD Sender: No OFD packet to send [12:05:38]OFD Sender: No OFD packet to send [12:05:43]OFD Sender: No OFD packet to send [12:05:48]OFD Sender: No OFD packet to send [12:05:53]OFD Sender: No OFD packet to send [12:05:58]OFD Sender: No OFD packet to send [12:06:03]OFD Sender: No OFD packet to send [12:06:08]OFD Sender: No OFD packet to send [12:06:13]OFD Sender: No OFD packet to send [12:06:18]OFD Sender: No OFD packet to send [12:06:23]OFD Sender: No OFD packet to send [12:06:28]OFD Sender: No OFD packet to send [12:06:33]OFD Sender: No OFD packet to send [12:06:38]OFD Sender: No OFD packet to send [12:06:43]OFD Sender: No OFD packet to send [12:06:48]OFD Sender: No OFD packet to send [12:06:53]OFD Sender: No OFD packet to send [12:06:58]OFD Sender: No OFD packet to send [12:07:03]OFD Sender: No OFD packet to send [12:07:08]OFD Sender: No OFD packet to send [12:07:13]OFD Sender: No OFD packet to send [12:07:18]OFD Sender: No OFD packet to send [12:07:23]OFD Sender: No OFD packet to send [12:07:28]OFD Sender: No OFD packet to send [12:07:33]OFD Sender: No OFD packet to send [12:07:38]OFD Sender: No OFD packet to send [12:07:43]OFD Sender: No OFD packet to send [12:07:48]OFD Sender: No OFD packet to send [12:07:53]OFD Sender: No OFD packet to send [12:07:58]OFD Sender: No OFD packet to send [12:08:03]OFD Sender: No OFD packet to send [12:08:08]OFD Sender: No OFD packet to send [12:08:13]OFD Sender: No OFD packet to send [12:08:18]OFD Sender: No OFD packet to send [12:08:23]OFD Sender: No OFD packet to send [12:08:28]OFD Sender: No OFD packet to send [12:08:33]OFD Sender: No OFD packet to send [12:08:38]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:39]OFD Sender: No OFD packet to send [12:19:44]OFD Sender: No OFD packet to send [12:19:49]OFD Sender: No OFD packet to send [12:19:54]OFD Sender: No OFD packet to send [12:19:59]OFD Sender: No OFD packet to send [12:20:04]OFD Sender: No OFD packet to send [12:20:09]OFD Sender: No OFD packet to send [12:20:14]OFD Sender: No OFD packet to send [12:20:19]OFD Sender: No OFD packet to send [12:20:22]accept exits with 9 [12:20:22]New connection [12:20:22]New thread 3066604900 created [12:20:22]Thread 3066748260 joined [12:20:22]Waiting for new connection... [12:20:22] Sock 9.Parse request [12:20:22]Sock 9.Check first char [12:20:22]Sock 9.First char is OK [12:20:22]request: POST /json_proto HTTP/1.0 [12:20:22]Method: POST [12:20:22]URL: /json_proto [12:20:22]Method is POST - this is cgi request [12:20:22]url: /json_proto [12:20:22]query_string will be loaded in cgi processing [12:20:22]execute_cgi json_proto POST (null) [12:20:22]execute_cgi path=json_proto method=POST [12:20:22]POST find Content-Length [12:20:22]Host: 172.17.56.68:8080 [12:20:22]Content-Length: 630 [12:20:22]Content-Type: application/json [12:20:22] [12:20:22]POST finish read [12:20:22]Found Content-Length = 630 [12:20:22]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4415", "tax_sys" : 0, "items" : [ { "code": "4700000160204", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1,5\u043B", "price" : 55.00, "quantity" : 1.000, "sum" : 55.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 55.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:20:22]execute_script... [12:20: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)4415", "tax_sys" : 0, "items" : [ { "code": "4700000160204", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1,5\u043B", "price" : 55.00, "quantity" : 1.000, "sum" : 55.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 55.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:20:22]POST & json_proto [12:20:22]process_json_proto [12:20:22]json parsed OK: [12:20:22]protocol is kg_v1.0 [12:20:22]action value=close_receipt [12:20:22]process_action close_receipt [12:20:22]cmd_close_receipt [12:20:22]MH_GetDate [12:20:22]Write to MH i2c: F0 00 00 F8 00 E7 [12:20:22]Write i2c OK [12:20:22]MH_I2C_Read... [12:20:22]Read from MH i2c: F0 [12:20:22]MH_I2C_Read... [12:20:22]Read from MH i2c: F0 09 00 [12:20:22]MH_I2C_Read... [12:20:22]Read from MH i2c: F0 09 00 F8 00 00 06 58 60 66 42 69 5C 66 81 [12:20:22]GetLastDocTimeStamp 1717588850 [12:20:22]current date 1717590022 [12:20:22]FM_GetShiftState [12:20:22]SAM_PROTO_GetShiftState [12:20:22]wFMCommunicate request_size=4 [12:20:22]MH_SAM_APDU [12:20:22]CAPDU: 80 13 01 00 [12:20:22]Write to MH i2c: E2 08 00 F9 00 80 13 01 00 00 00 00 00 76 [12:20:22]Write i2c OK [12:20:22]MH_I2C_Read... [12:20:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:20:22]Read from MH i2c: E2 [12:20:22]MH_I2C_Read... [12:20:22]Read from MH i2c: E2 0E 00 [12:20:22]MH_I2C_Read... [12:20:22]Read from MH i2c: E2 0E 00 F9 00 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 17 [12:20:22]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [12:20:22]wFMCommunicate OK [12:20:22]SAM_PROTO_GetShiftState done [12:20:22]FM_GetShiftState done [12:20:22]opened in 1717545765 [12:20:22]opened+sec_in_day 1717632165 [12:20:22]quantity*price = 5500 [12:20:22]sum+1 = 5501 [12:20:22]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 55.00 НСП 1% : 0.49 НДС 12% : 5.84 Наличными: 55.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 20 05.06.2024 12:20 Смена: 84 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4162 ФПД: 126957835322709 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T122022&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4162&fm=126957835322709&tin=02508201610067®Number=0000000000145775&sum=5500 0 [12:20:23]StoreToDocumentArchive [12:20:23]shift 84 fd 4162 [12:20:23]save to /storage/0084/doc_00004162 [12:20:23]save last doc name /storage/0084/doc_00004162 to /storage/kkm_last_doc_name [12:20:23]save OK [12:20:23]Clear old archive folders... [12:20:23]ProcessDocumentItem done err = 0, tmpTLVsize=271 [12:20:23]tlvbuf is 01300600 [12:20:23]SAM_PROTO_ClearQueue [12:20:23]wFMCommunicate request_size=4 [12:20:23]MH_SAM_APDU [12:20:23]CAPDU: 80 09 00 00 [12:20:23]Write to MH i2c: E2 08 00 06 01 80 09 00 00 00 00 00 00 79 [12:20:23]Write i2c OK [12:20:23]MH_I2C_Read... [12:20:23]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:20:23]Read from MH i2c: E2 [12:20:23]MH_I2C_Read... [12:20:23]Read from MH i2c: E2 03 00 [12:20:23]MH_I2C_Read... [12:20:23]Read from MH i2c: E2 03 00 06 01 00 90 00 7B [12:20:23]RAPDU: 90 00 [12:20:23]wFMCommunicate OK [12:20:23]SAM_PROTO_ClearQueue done [12:20:23]KKMCreateOFDPacket [12:20:23]OFDProtocolAddRootSTLVToBuf [12:20:23]FM_MakeSignedData [12:20:23]FM_MakeSignedData [12:20:23]SAM_PROTO_SignData [12:20:23]wFMCommunicate request_size=4 [12:20:23]MH_SAM_APDU [12:20:23]CAPDU: 80 0D 01 02 [12:20:23]Write to MH i2c: E2 08 00 07 01 80 0D 01 02 00 00 00 00 81 [12:20:23]Write i2c OK [12:20:23]MH_I2C_Read... [12:20:23]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:20:23]Read from MH i2c: E2 [12:20:23]MH_I2C_Read... [12:20:23]Read from MH i2c: E2 03 00 [12:20:23]MH_I2C_Read... [12:20:23]Read from MH i2c: E2 03 00 07 01 00 90 00 7C [12:20:23]RAPDU: 90 00 [12:20:23]wFMCommunicate OK [12:20:23]wFMCommunicate request_size=255 [12:20:23]MH_SAM_APDU [12:20:23]CAPDU: 80 0D 02 02 FA 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 15 00 00 00 00 13 04 06 00 7C 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7C 15 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 31 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 48 02 00 00 00 00 07 04 06 00 7C 15 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 06 58 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 [12:20:23]Write to MH i2c: E2 02 01 08 01 80 0D 02 02 FA 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 15 00 00 00 00 13 04 06 00 7C 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7C 15 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 31 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 48 02 00 00 00 00 07 04 06 00 7C 15 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 06 58 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 00 00 2F [12:20:23]Write i2c OK [12:20:23]MH_I2C_Read... [12:20:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:20:23]Read from MH i2c: E2 [12:20:23]MH_I2C_Read... [12:20:23]Read from MH i2c: E2 03 00 [12:20:23]MH_I2C_Read... [12:20:23]Read from MH i2c: E2 03 00 08 01 00 90 00 7D [12:20:23]RAPDU: 90 00 [12:20:23]wFMCommunicate OK [12:20:23]wFMCommunicate request_size=30 [12:20:23]MH_SAM_APDU [12:20:23]CAPDU: 80 0D 02 02 19 30 39 35 39 33 36 30 10 04 04 00 42 10 00 00 35 04 06 00 73 77 AC AD 05 55 [12:20:23]Write to MH i2c: E2 21 00 09 01 80 0D 02 02 19 00 30 39 35 39 33 36 30 10 04 04 00 42 10 00 00 35 04 06 00 73 77 AC AD 05 55 00 00 6C [12:20:23]Write i2c OK [12:20:23]MH_I2C_Read... [12:20:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:20:23]Read from MH i2c: E2 [12:20:23]MH_I2C_Read... [12:20:23]Read from MH i2c: E2 03 00 [12:20:23]MH_I2C_Read... [12:20:23]Read from MH i2c: E2 03 00 09 01 00 90 00 7E [12:20:23]RAPDU: 90 00 [12:20:23]wFMCommunicate OK [12:20:23]wFMCommunicate request_size=4 [12:20:23]MH_SAM_APDU [12:20:23]CAPDU: 80 0D 03 02 [12:20:23]Write to MH i2c: E2 08 00 0A 01 80 0D 03 02 00 00 00 00 86 [12:20:23]Write i2c OK [12:20:23]MH_I2C_Read... [12:20:23]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:20:23]Read from MH i2c: E2 [12:20:23]MH_I2C_Read... [12:20:23]Read from MH i2c: E2 0B 00 [12:20:23]MH_I2C_Read... [12:20:23]Read from MH i2c: E2 0B 00 0A 01 00 23 4E 92 2E D1 9B A2 91 90 00 57 [12:20:23]RAPDU: 23 4E 92 2E D1 9B A2 91 90 00 [12:20:23]wFMCommunicate OK [12:20:23]SAM_PROTO_SignData done [12:20:23]FM_MakeSignedData done [12:20:23]CreateOFDProtocolMessage [12:20:23]wFMCommunicate request_size=4 [12:20:23]MH_SAM_APDU [12:20:23]CAPDU: 80 11 00 00 [12:20:23]Write to MH i2c: E2 08 00 0B 01 80 11 00 00 00 00 00 00 86 [12:20:23]Write i2c OK [12:20:23]MH_I2C_Read... [12:20:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:20:23]Read from MH i2c: E2 [12:20:23]MH_I2C_Read... [12:20:23]Read from MH i2c: E2 17 00 [12:20:23]MH_I2C_Read... [12:20:23]Read from MH i2c: E2 17 00 0B 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 D9 [12:20:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [12:20:23]wFMCommunicate OK [12:20:23]CreateOFDProtocolMessage done [12:20:23]OFDSenderStorePacket 4162 [12:20:23]StoreOFDPacket docnum=4162 [12:20:23]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 23 01 00 00 27 DF 1B 01 F0 06 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 15 00 00 00 00 13 04 06 00 7C 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7C 15 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 31 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 48 02 00 00 00 00 07 04 06 00 7C 15 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 06 58 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 42 10 00 00 35 04 06 00 73 77 AC AD 05 55 23 4E 92 2E D1 9B A2 91 [12:20:23]CheckFolder [12:20:23]dirname=/storage/ofd_packets [12:20:23]CheckFolder done [12:20:23]ProducePacketName [12:20:23]name=ofd_packets/00004162 [12:20:23]NVStorageSaveData ofd_packets/00004162 [12:20:23]File name is /storage/ofd_packets/00004162 [12:20:23]Write 321 bytes [12:20:23]NVStorageSaveData done [12:20:23]OFDSenderStorePacket done [12:20:23]KKMCreateOFDPacket done [12:20:23]NVStorageSaveData kkm_last_timestamp [12:20:23]File name is /storage/kkm_last_timestamp [12:20:23]Write 4 bytes [12:20:23]NVStorageSaveData done [12:20:23]ExternCall_PrintAddStr [12:20:23]wPrintStart [12:20:23]Write to MH i2c: 01 00 00 0C 01 0D [12:20:23]Write i2c OK [12:20:23]MH_I2C_Read... [12:20:23]Read from MH i2c: 01 [12:20:23]MH_I2C_Read... [12:20:23]Read from MH i2c: 01 07 00 [12:20:23]MH_I2C_Read... [12:20:23]Read from MH i2c: 01 07 00 0C 01 00 00 00 00 00 FF 0F 22 [12:20:23]RasterBufferAndPrint [12:20:23]line Счет N : (3)4415 [12:20:23]line ИНН: 02508201610067 [12:20:23]line Контрольно-Кассовый Чек [12:20:23]line ПРОДАЖА [12:20:23]line Товар: 4700000160204 [12:20:23]line Вода Легенда 1,5л [12:20:23]line 1.000 * 55.00 [12:20:23]line = 55.00 [12:20:23]line НДС 12% НСП 1% [12:20:23]line > о реализуемом товаре [12:20:23]line ИТОГО: 55.00 [12:20:23]line НСП 1% : 0.49 [12:20:23]line НДС 12% : 5.84 [12:20:23]line Наличными: 55.00 [12:20:23]line Безнал.: 0.00 [12:20:23]line Место: АЗС № 116 "Партнер Нефть" [12:20:23]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [12:20:23]line СНО: Общий режим [12:20:23]line Чек 20 05.06.2024 12:20 [12:20:23]line Смена: 84 ФФД: 1.0 [12:20:23]line ЗНМ: 0300000233 [12:20:23]line РНМ: 0000000000145775 [12:20:23]line Версия ККМ: v1.0 [12:20:23]line ФМ: 0000000000959360 [12:20:23]line ФД: 4162 [12:20:23]line ФПД: 126957835322709 [12:20:24]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T122022&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4162&fm=126957835322709&tin=02508201610067®Number=0000000000145775&sum=5500 [12:20:24]line 0 [12:20:24]OFD Sender: Processing packet 4162 [packets to send 2, broken 1] [12:20:24]ProducePacketName [12:20:24]name=ofd_packets/00004162 [12:20:24]OFD Sender: To server: pG, [12:20:24]CommunicateWithHost lk.salyk.kg:30040 [12:20:24]ConnectInit lk.salyk.kg [12:20:24]written 0, free lines is 4095 [12:20:24]Connected sock=10 [12:20:24]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 23 01 00 00 27 DF 1B 01 F0 06 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 15 00 00 00 00 13 04 06 00 7C 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7C 15 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 31 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 48 02 00 00 00 00 07 04 06 00 7C 15 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 06 58 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 42 10 00 00 35 04 06 00 73 77 AC AD 05 55 23 4E 92 2E D1 9B A2 91 [12:20:24]Write to MH i2c: 01 00 00 34 01 35 [12:20:24]Write i2c OK [12:20:24]MH_I2C_Read... [12:20:24]Read from MH i2c: 01 [12:20:24]MH_I2C_Read... [12:20:24]Read from MH i2c: 01 07 00 [12:20:24]MH_I2C_Read... [12:20:24]Read from MH i2c: 01 07 00 34 01 00 00 00 00 00 B4 0C FC [12:20:24]RasterBufferAndPrint [12:20:24]line [12:20:24]line [12:20:24]line [12:20:24]line [12:20:24]line [12:20:24]written 0, free lines is 3256 [12:20:24]MH_Cut [12:20:24]Write to MH i2c: D1 01 00 3B 01 01 0E [12:20:24]Write i2c OK [12:20:24]MH_I2C_Read... [12:20:24]Read from MH i2c: D1 [12:20:24]MH_I2C_Read... [12:20:24]Read from MH i2c: D1 01 00 [12:20:24]MH_I2C_Read... [12:20:24]Read from MH i2c: D1 01 00 3B 01 00 0D [12:20:24]Write to MH i2c: 01 00 00 3C 01 3D [12:20:24]Write i2c OK [12:20:24]MH_I2C_Read... [12:20:24]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 07 6D 47 00 BD 3A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 42 10 00 00 F4 03 04 00 04 04 60 66 B6 04 01 00 00 F4 55 13 C8 18 E0 C1 C3 [12:20:24]CommunicateWithHost err = 0 [12:20:24]CheckOFDResponse [12:20:24]1017 (14) - 77093643461234 [12:20:24]1041 (16) - 0000000000959360 [12:20:24]1040 (4) - 4162 [12:20:24]1012 (4) - 05.06.2024 06:21 [12:20:24]1206 (1) - 0 [12:20:24]OFD Sender: Remove packet 4162 [12:20:24]ProducePacketName [12:20:24]name=ofd_packets/00004162 [12:20:24]NVStorageDeleteData [12:20:25]OFD Sender: No OFD packet to send [12:20:25]*** Cut start [12:20:25]*** Partial cut [12:20:25]*** CUTSNS_PIN = 1 [12:20:25]*** CUTSNS_PIN = 0 [12:20:25]*** Brake cut motor [12:20:26]Read from MH i2c: 01 [12:20:26]MH_I2C_Read... [12:20:26]*** Stop cut motor [12:20:26]*** Cut end [12:20:26]Read from MH i2c: 01 07 00 [12:20:26]MH_I2C_Read... [12:20:26]Read from MH i2c: 01 07 00 3C 01 00 00 00 00 00 FF 0F 52 [12:20:26]process_action close_receipt done [12:20:26]requested_data is exist [12:20:26]produce_requested_data [12:20:26]requested_item fm.sn is exist - process it [12:20:26]wFMCommunicate request_size=4 [12:20:26]MH_SAM_APDU [12:20:26]CAPDU: 80 11 00 00 [12:20:26]Write to MH i2c: E2 08 00 3D 01 80 11 00 00 00 00 00 00 B8 [12:20:26]Write i2c OK [12:20:26]MH_I2C_Read... [12:20:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:20:26]Read from MH i2c: E2 [12:20:26]MH_I2C_Read... [12:20:26]Read from MH i2c: E2 17 00 [12:20:26]MH_I2C_Read... [12:20:26]Read from MH i2c: E2 17 00 3D 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 0B [12:20:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [12:20:26]wFMCommunicate OK [12:20:26]requested_item fd.num is exist - process it [12:20:26]SAM_PROTO_GetFieldsCounters [12:20:26]wFMCommunicate request_size=4 [12:20:26]MH_SAM_APDU [12:20:26]CAPDU: 80 13 00 00 [12:20:26]Write to MH i2c: E2 08 00 3E 01 80 13 00 00 00 00 00 00 BB [12:20:26]Write i2c OK [12:20:26]MH_I2C_Read... [12:20:26]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:20:26]Read from MH i2c: E2 [12:20:26]MH_I2C_Read... [12:20:26]Read from MH i2c: E2 62 00 [12:20:26]MH_I2C_Read... [12:20:26]Read from MH i2c: E2 62 00 3E 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 42 10 00 00 0E 04 04 00 54 00 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 C2 [12:20:26]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 42 10 00 00 0E 04 04 00 54 00 00 00 12 04 04 00 14 00 00 00 5E 04 04 00 14 00 00 00 57 04 04 00 15 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:20:26]wFMCommunicate OK [12:20:26]SAM_PROTO_GetFieldsCounters done [12:20:26]requested_item shift.num is exist - process it [12:20:26]requested_item shift.opened is exist - process it [12:20:26]req_shift_opened [12:20:26]FM_GetShiftState [12:20:26]SAM_PROTO_GetShiftState [12:20:26]wFMCommunicate request_size=4 [12:20:26]MH_SAM_APDU [12:20:26]CAPDU: 80 13 01 00 [12:20:26]Write to MH i2c: E2 08 00 3F 01 80 13 01 00 00 00 00 00 BD [12:20:26]Write i2c OK [12:20:26]MH_I2C_Read... [12:20:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:20:26]Read from MH i2c: E2 [12:20:26]MH_I2C_Read... [12:20:26]Read from MH i2c: E2 0E 00 [12:20:26]MH_I2C_Read... [12:20:26]Read from MH i2c: E2 0E 00 3F 01 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 5E [12:20:26]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [12:20:26]wFMCommunicate OK [12:20:26]SAM_PROTO_GetShiftState done [12:20:26]FM_GetShiftState done [12:20:26]req_shift_opened done [12:20:26]requested_item shift.open_date is exist - process it [12:20:26]req_shift_open_date [12:20:26]req_shift_open_date done [12:20:26]produce_requested_data done [12:20:26]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4162,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765} [12:20:26]process_action_free close_receipt [12:20:26]json_value_free [12:20:26]json_value_free done [12:20:26]process_json_proto returns [12:20:26]Send response to host [12:20:26]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4162,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765}}} [12:20:26]free response buf [12:20:26]execute_script done [12:20:26]execute_script returns [12:20:26]free content buf [12:20:26]Sock 9.Close socket [12:20:26]Sock 9.Thread stoped [12:20:30]OFD Sender: No OFD packet to send [12:20:35]OFD Sender: No OFD packet to send [12:20:40]OFD Sender: No OFD packet to send [12:20:45]OFD Sender: No OFD packet to send [12:20:50]OFD Sender: No OFD packet to send [12:20:55]OFD Sender: No OFD packet to send [12:21:00]OFD Sender: No OFD packet to send [12:21:05]OFD Sender: No OFD packet to send [12:21:10]OFD Sender: No OFD packet to send [12:21:15]OFD Sender: No OFD packet to send [12:21:20]OFD Sender: No OFD packet to send [12:21:25]OFD Sender: No OFD packet to send [12:21:30]OFD Sender: No OFD packet to send [12:21:35]OFD Sender: No OFD packet to send [12:21:40]OFD Sender: No OFD packet to send [12:21:45]OFD Sender: No OFD packet to send [12:21:50]OFD Sender: No OFD packet to send [12:21:55]OFD Sender: No OFD packet to send [12:22:00]OFD Sender: No OFD packet to send [12:22:05]OFD Sender: No OFD packet to send [12:22:10]OFD Sender: No OFD packet to send [12:22:15]OFD Sender: No OFD packet to send [12:22:20]OFD Sender: No OFD packet to send [12:22:25]OFD Sender: No OFD packet to send [12:22:30]OFD Sender: No OFD packet to send [12:22:35]OFD Sender: No OFD packet to send [12:22:40]OFD Sender: No OFD packet to send [12:22:45]OFD Sender: No OFD packet to send [12:22:50]OFD Sender: No OFD packet to send [12:22:55]OFD Sender: No OFD packet to send [12:23:00]OFD Sender: No OFD packet to send [12:23:05]OFD Sender: No OFD packet to send [12:23:10]OFD Sender: No OFD packet to send [12:23:15]OFD Sender: No OFD packet to send [12:23:20]OFD Sender: No OFD packet to send [12:23:25]OFD Sender: No OFD packet to send [12:23:30]OFD Sender: No OFD packet to send [12:23:35]OFD Sender: No OFD packet to send [12:23:40]OFD Sender: No OFD packet to send [12:23:45]OFD Sender: No OFD packet to send [12:23:50]OFD Sender: No OFD packet to send [12:23:55]OFD Sender: No OFD packet to send [12:24:00]OFD Sender: No OFD packet to send [12:24:05]OFD Sender: No OFD packet to send [12:24:10]OFD Sender: No OFD packet to send [12:24:15]OFD Sender: No OFD packet to send [12:24:20]OFD Sender: No OFD packet to send [12:24:25]OFD Sender: No OFD packet to send [12:24:30]OFD Sender: No OFD packet to send [12:24:35]OFD Sender: No OFD packet to send [12:24:40]OFD Sender: No OFD packet to send [12:24:45]OFD Sender: No OFD packet to send [12:24:50]OFD Sender: No OFD packet to send [12:24:55]OFD Sender: No OFD packet to send [12:25:00]OFD Sender: No OFD packet to send [12:25:05]OFD Sender: No OFD packet to send [12:25:10]OFD Sender: No OFD packet to send [12:25:15]OFD Sender: No OFD packet to send [12:25:20]OFD Sender: No OFD packet to send [12:25:25]OFD Sender: No OFD packet to send [12:25:30]OFD Sender: No OFD packet to send [12:25:35]OFD Sender: No OFD packet to send [12:25:40]OFD Sender: No OFD packet to send [12:25:45]OFD Sender: No OFD packet to send [12:25:50]OFD Sender: No OFD packet to send [12:25:55]OFD Sender: No OFD packet to send [12:25:55]accept exits with 8 [12:25:55]New connection [12:25:55]New thread 3066748260 created [12:25:55]Thread 3066604900 joined [12:25:55]Waiting for new connection... [12:25:55] Sock 8.Parse request [12:25:55]Sock 8.Check first char [12:25:55]Sock 8.First char is OK [12:25:55]request: POST /json_proto HTTP/1.0 [12:25:55]Method: POST [12:25:55]URL: /json_proto [12:25:55]Method is POST - this is cgi request [12:25:55]url: /json_proto [12:25:55]query_string will be loaded in cgi processing [12:25:55]execute_cgi json_proto POST (null) [12:25:55]execute_cgi path=json_proto method=POST [12:25:55]POST find Content-Length [12:25:55]Host: 172.17.56.68:8080 [12:25:55]Content-Length: 1140 [12:25:55]Content-Type: application/json [12:25:55] [12:25:55]POST finish read [12:25:55]Found Content-Length = 1140 [12:25:55]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4416", "tax_sys" : 0, "items" : [ { "code": "48744119", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Xstyle Dual", "price" : 145.00, "quantity" : 1.000, "sum" : 145.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000131836", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 Zero 0,5\u043B", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 335.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:25:55]execute_script... [12:25:55]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4416", "tax_sys" : 0, "items" : [ { "code": "48744119", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Xstyle Dual", "price" : 145.00, "quantity" : 1.000, "sum" : 145.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000131836", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 Zero 0,5\u043B", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 335.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:25:55]POST & json_proto [12:25:55]process_json_proto [12:25:55]json parsed OK: [12:25:55]protocol is kg_v1.0 [12:25:55]action value=close_receipt [12:25:55]process_action close_receipt [12:25:55]cmd_close_receipt [12:25:55]MH_GetDate [12:25:55]Write to MH i2c: F0 00 00 40 01 30 [12:25:55]Write i2c OK [12:25:55]MH_I2C_Read... [12:25:55]Read from MH i2c: F0 [12:25:55]MH_I2C_Read... [12:25:55]Read from MH i2c: F0 09 00 [12:25:55]MH_I2C_Read... [12:25:55]Read from MH i2c: F0 09 00 40 01 00 54 59 60 66 42 69 5C 66 19 [12:25:55]GetLastDocTimeStamp 1717590022 [12:25:55]current date 1717590356 [12:25:55]FM_GetShiftState [12:25:55]SAM_PROTO_GetShiftState [12:25:55]wFMCommunicate request_size=4 [12:25:55]MH_SAM_APDU [12:25:55]CAPDU: 80 13 01 00 [12:25:55]Write to MH i2c: E2 08 00 41 01 80 13 01 00 00 00 00 00 BF [12:25:55]Write i2c OK [12:25:55]MH_I2C_Read... [12:25:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:25:55]Read from MH i2c: E2 [12:25:55]MH_I2C_Read... [12:25:55]Read from MH i2c: E2 0E 00 [12:25:55]MH_I2C_Read... [12:25:55]Read from MH i2c: E2 0E 00 41 01 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 60 [12:25:55]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [12:25:55]wFMCommunicate OK [12:25:55]SAM_PROTO_GetShiftState done [12:25:55]FM_GetShiftState done [12:25:55]opened in 1717545765 [12:25:55]opened+sec_in_day 1717632165 [12:25:55]quantity*price = 14500 [12:25:55]sum+1 = 14501 [12:25:55]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 5449000131836 Напиток Кока-Кола Zero 0,5л 1.000 * 75.00 = 75.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 2000036240010 Кофе Латте (GABB TRADE) 1.000 * 115.00 = 115.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 335.00 НСП 1% : 2.96 НДС 12% : 35.57 Наличными: 335.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 21 05.06.2024 12:25 Смена: 84 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4163 ФПД: 181888384710383 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T122556&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4163&fm=181888384710383&tin=02508201610067®Number=0000000000145775&sum=33500 0 [12:25:56]StoreToDocumentArchive [12:25:56]shift 84 fd 4163 [12:25:56]save to /storage/0084/doc_00004163 [12:25:56]save last doc name /storage/0084/doc_00004163 to /storage/kkm_last_doc_name [12:25:56]save OK [12:25:56]Clear old archive folders... [12:25:56]ProcessDocumentItem done err = 0, tmpTLVsize=492 [12:25:56]tlvbuf is 012F98C0 [12:25:56]SAM_PROTO_ClearQueue [12:25:56]wFMCommunicate request_size=4 [12:25:56]MH_SAM_APDU [12:25:56]CAPDU: 80 09 00 00 [12:25:56]Write to MH i2c: E2 08 00 4E 01 80 09 00 00 00 00 00 00 C1 [12:25:56]Write i2c OK [12:25:56]MH_I2C_Read... [12:25:56]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:25:56]Read from MH i2c: E2 [12:25:56]MH_I2C_Read... [12:25:56]Read from MH i2c: E2 03 00 [12:25:56]MH_I2C_Read... [12:25:56]Read from MH i2c: E2 03 00 4E 01 00 90 00 C3 [12:25:56]RAPDU: 90 00 [12:25:56]wFMCommunicate OK [12:25:56]SAM_PROTO_ClearQueue done [12:25:56]KKMCreateOFDPacket [12:25:56]OFDProtocolAddRootSTLVToBuf [12:25:56]FM_MakeSignedData [12:25:56]FM_MakeSignedData [12:25:56]SAM_PROTO_SignData [12:25:56]wFMCommunicate request_size=4 [12:25:56]MH_SAM_APDU [12:25:56]CAPDU: 80 0D 01 02 [12:25:56]Write to MH i2c: E2 08 00 4F 01 80 0D 01 02 00 00 00 00 C9 [12:25:56]Write i2c OK [12:25:56]MH_I2C_Read... [12:25:56]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:25:56]Read from MH i2c: E2 [12:25:56]MH_I2C_Read... [12:25:56]Read from MH i2c: E2 03 00 [12:25:56]MH_I2C_Read... [12:25:56]Read from MH i2c: E2 03 00 4F 01 00 90 00 C4 [12:25:56]RAPDU: 90 00 [12:25:56]wFMCommunicate OK [12:25:56]wFMCommunicate request_size=255 [12:25:56]MH_SAM_APDU [12:25:56]CAPDU: 80 0D 02 02 FA 03 00 EC 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 34 31 31 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 58 73 74 79 6C 65 20 44 75 61 6C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A4 38 00 00 00 00 13 04 06 00 A4 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6F 00 8A 04 0D 00 35 34 34 39 30 30 30 31 33 31 38 33 36 06 04 2B 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 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 [12:25:57]Write to MH i2c: E2 02 01 50 01 80 0D 02 02 FA 00 03 00 EC 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 34 31 31 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 58 73 74 79 6C 65 20 44 75 61 6C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A4 38 00 00 00 00 13 04 06 00 A4 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6F 00 8A 04 0D 00 35 34 34 39 30 30 30 31 33 31 38 33 36 06 04 2B 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 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 00 00 B9 [12:25:57]Write i2c OK [12:25:57]MH_I2C_Read... [12:25:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:25:57]Read from MH i2c: E2 [12:25:57]MH_I2C_Read... [12:25:57]Read from MH i2c: E2 03 00 [12:25:57]MH_I2C_Read... [12:25:57]Read from MH i2c: E2 03 00 50 01 00 90 00 C5 [12:25:57]RAPDU: 90 00 [12:25:57]wFMCommunicate OK [12:25:57]wFMCommunicate request_size=251 [12:25:57]MH_SAM_APDU [12:25:57]CAPDU: 80 0D 02 02 F6 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 82 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E5 0D 00 00 00 00 07 04 06 00 DC 82 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 54 59 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 43 10 00 00 35 04 06 00 A5 6D 30 8F 36 EF [12:25:57]Write to MH i2c: E2 FE 00 51 01 80 0D 02 02 F6 00 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 82 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E5 0D 00 00 00 00 07 04 06 00 DC 82 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 54 59 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 43 10 00 00 35 04 06 00 A5 6D 30 8F 36 EF 00 00 69 [12:25:57]Write i2c OK [12:25:57]MH_I2C_Read... [12:25:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:25:57]Read from MH i2c: E2 [12:25:57]MH_I2C_Read... [12:25:57]Read from MH i2c: E2 03 00 [12:25:57]MH_I2C_Read... [12:25:57]Read from MH i2c: E2 03 00 51 01 00 90 00 C6 [12:25:57]RAPDU: 90 00 [12:25:57]wFMCommunicate OK [12:25:57]wFMCommunicate request_size=4 [12:25:57]MH_SAM_APDU [12:25:57]CAPDU: 80 0D 03 02 [12:25:57]Write to MH i2c: E2 08 00 52 01 80 0D 03 02 00 00 00 00 CE [12:25:57]Write i2c OK [12:25:57]MH_I2C_Read... [12:25:57]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:25:57]Read from MH i2c: E2 [12:25:57]MH_I2C_Read... [12:25:57]Read from MH i2c: E2 0B 00 [12:25:57]MH_I2C_Read... [12:25:57]Read from MH i2c: E2 0B 00 52 01 00 2B 50 0E 64 5D 04 89 40 90 00 E6 [12:25:57]RAPDU: 2B 50 0E 64 5D 04 89 40 90 00 [12:25:57]wFMCommunicate OK [12:25:57]SAM_PROTO_SignData done [12:25:57]FM_MakeSignedData done [12:25:57]CreateOFDProtocolMessage [12:25:57]wFMCommunicate request_size=4 [12:25:57]MH_SAM_APDU [12:25:57]CAPDU: 80 11 00 00 [12:25:57]Write to MH i2c: E2 08 00 53 01 80 11 00 00 00 00 00 00 CE [12:25:57]Write i2c OK [12:25:57]MH_I2C_Read... [12:25:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:25:57]Read from MH i2c: E2 [12:25:57]MH_I2C_Read... [12:25:57]Read from MH i2c: E2 17 00 [12:25:57]MH_I2C_Read... [12:25:57]Read from MH i2c: E2 17 00 53 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 21 [12:25:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [12:25:57]wFMCommunicate OK [12:25:57]CreateOFDProtocolMessage done [12:25:57]OFDSenderStorePacket 4163 [12:25:57]StoreOFDPacket docnum=4163 [12:25:57]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 00 02 00 00 E6 07 F8 01 C1 60 5A 03 01 00 03 00 EC 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 34 31 31 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 58 73 74 79 6C 65 20 44 75 61 6C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A4 38 00 00 00 00 13 04 06 00 A4 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6F 00 8A 04 0D 00 35 34 34 39 30 30 30 31 33 31 38 33 36 06 04 2B 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 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 82 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E5 0D 00 00 00 00 07 04 06 00 DC 82 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 54 59 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 43 10 00 00 35 04 06 00 A5 6D 30 8F 36 EF 2B 50 0E 64 5D 04 89 40 [12:25:57]CheckFolder [12:25:57]dirname=/storage/ofd_packets [12:25:57]CheckFolder done [12:25:57]ProducePacketName [12:25:57]name=ofd_packets/00004163 [12:25:57]NVStorageSaveData ofd_packets/00004163 [12:25:57]File name is /storage/ofd_packets/00004163 [12:25:57]Write 542 bytes [12:25:57]NVStorageSaveData done [12:25:57]OFDSenderStorePacket done [12:25:57]KKMCreateOFDPacket done [12:25:57]NVStorageSaveData kkm_last_timestamp [12:25:57]File name is /storage/kkm_last_timestamp [12:25:57]Write 4 bytes [12:25:57]NVStorageSaveData done [12:25:57]ExternCall_PrintAddStr [12:25:57]wPrintStart [12:25:57]Write to MH i2c: 01 00 00 54 01 55 [12:25:57]Write i2c OK [12:25:57]MH_I2C_Read... [12:25:57]Read from MH i2c: 01 [12:25:57]MH_I2C_Read... [12:25:57]Read from MH i2c: 01 07 00 [12:25:57]MH_I2C_Read... [12:25:57]Read from MH i2c: 01 07 00 54 01 00 00 00 00 00 FF 0F 6A [12:25:57]RasterBufferAndPrint [12:25:57]line Счет N : (3)4416 [12:25:57]line ИНН: 02508201610067 [12:25:57]line Контрольно-Кассовый Чек [12:25:57]line ПРОДАЖА [12:25:57]line Товар: 48744119 [12:25:57]line Сигареты Winston Xstyle Dual [12:25:57]line 1.000 * 145.00 [12:25:57]line = 145.00 [12:25:57]line НДС 12% НСП 1% [12:25:57]line > о реализуемом товаре [12:25:57]line Товар: 5449000131836 [12:25:57]line Напиток Кока-Кола Zero 0,5л [12:25:57]line 1.000 * 75.00 [12:25:57]line = 75.00 [12:25:57]line НДС 12% НСП 1% [12:25:57]line > о реализуемом товаре [12:25:57]line Товар: 2000036240010 [12:25:57]line Кофе Латте (GABB TRADE) [12:25:57]line 1.000 * 115.00 [12:25:57]line = 115.00 [12:25:57]line НДС 12% НСП 1% [12:25:57]line > о реализуемом товаре [12:25:57]line ИТОГО: 335.00 [12:25:57]line НСП 1% : 2.96 [12:25:57]line НДС 12% : 35.57 [12:25:57]line Наличными: 335.00 [12:25:57]line Безнал.: 0.00 [12:25:57]line Место: АЗС № 116 "Партнер Нефть" [12:25:57]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [12:25:57]line СНО: Общий режим [12:25:57]line Чек 21 05.06.2024 12:25 [12:25:57]line Смена: 84 ФФД: 1.0 [12:25:57]line ЗНМ: 0300000233 [12:25:57]line РНМ: 0000000000145775 [12:25:57]line Версия ККМ: v1.0 [12:25:57]line ФМ: 0000000000959360 [12:25:57]line ФД: 4163 [12:25:57]line ФПД: 181888384710383 [12:25:57]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T122556&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4163&fm=181888384710383&tin=02508201610067®Number=0000000000145775&sum=33500 [12:25:57]line 0 [12:25:57]written 0, free lines is 4095 [12:25:57]OFD Sender: Processing packet 4163 [packets to send 2, broken 1] [12:25:57]ProducePacketName [12:25:57]name=ofd_packets/00004163 [12:25:57]OFD Sender: To server: pG, [12:25:57]CommunicateWithHost lk.salyk.kg:30040 [12:25:57]ConnectInit lk.salyk.kg [12:25:57]Connected sock=10 [12:25:57]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 00 02 00 00 E6 07 F8 01 C1 60 5A 03 01 00 03 00 EC 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 34 31 31 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 58 73 74 79 6C 65 20 44 75 61 6C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A4 38 00 00 00 00 13 04 06 00 A4 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6F 00 8A 04 0D 00 35 34 34 39 30 30 30 31 33 31 38 33 36 06 04 2B 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 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 82 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E5 0D 00 00 00 00 07 04 06 00 DC 82 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 54 59 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 43 10 00 00 35 04 06 00 A5 6D 30 8F 36 EF 2B 50 0E 64 5D 04 89 40 [12:25:58]Write to MH i2c: 01 00 00 88 01 89 [12:25:58]Write i2c OK [12:25:58]MH_I2C_Read... [12:25:58]Read from MH i2c: 01 [12:25:58]MH_I2C_Read... [12:25:58]Read from MH i2c: 01 07 00 [12:25:58]MH_I2C_Read... [12:25:58]Read from MH i2c: 01 07 00 88 01 00 00 00 00 00 E8 0B 83 [12:25:58]RasterBufferAndPrint [12:25:58]line [12:25:58]line [12:25:58]line [12:25:58]line [12:25:58]line [12:25:58]written 0, free lines is 3053 [12:25:58]MH_Cut [12:25:58]Write to MH i2c: D1 01 00 8F 01 01 62 [12:25:58]Write i2c OK [12:25:58]MH_I2C_Read... [12:25:58]Read from MH i2c: D1 [12:25:58]MH_I2C_Read... [12:25:58]Read from MH i2c: D1 01 00 [12:25:58]MH_I2C_Read... [12:25:58]Read from MH i2c: D1 01 00 8F 01 00 61 [12:25:58]Write to MH i2c: 01 00 00 90 01 91 [12:25:58]Write i2c OK [12:25:58]MH_I2C_Read... [12:25:58]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 35 CF 47 00 C8 C9 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 43 10 00 00 F4 03 04 00 52 05 60 66 B6 04 01 00 00 99 90 D2 20 47 E7 5E 48 [12:25:58]CommunicateWithHost err = 0 [12:25:58]CheckOFDResponse [12:25:58]1017 (14) - 77093643461234 [12:25:58]1041 (16) - 0000000000959360 [12:25:58]1040 (4) - 4163 [12:25:58]1012 (4) - 05.06.2024 06:27 [12:25:58]1206 (1) - 0 [12:25:58]OFD Sender: Remove packet 4163 [12:25:58]ProducePacketName [12:25:58]name=ofd_packets/00004163 [12:25:58]NVStorageDeleteData [12:25:59]OFD Sender: No OFD packet to send [12:25:59]*** Cut start [12:25:59]*** Partial cut [12:25:59]*** CUTSNS_PIN = 1 [12:25:59]*** CUTSNS_PIN = 0 [12:25:59]*** Brake cut motor [12:26:00]Read from MH i2c: 01 [12:26:00]MH_I2C_Read... [12:26:00]*** Stop cut motor [12:26:00]*** Cut end [12:26:00]Read from MH i2c: 01 07 00 [12:26:00]MH_I2C_Read... [12:26:00]Read from MH i2c: 01 07 00 90 01 00 00 00 00 00 FF 0F A6 [12:26:00]process_action close_receipt done [12:26:00]requested_data is exist [12:26:00]produce_requested_data [12:26:00]requested_item fm.sn is exist - process it [12:26:00]wFMCommunicate request_size=4 [12:26:00]MH_SAM_APDU [12:26:00]CAPDU: 80 11 00 00 [12:26:00]Write to MH i2c: E2 08 00 91 01 80 11 00 00 00 00 00 00 0C [12:26:00]Write i2c OK [12:26:00]MH_I2C_Read... [12:26:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:26:00]Read from MH i2c: E2 [12:26:00]MH_I2C_Read... [12:26:00]Read from MH i2c: E2 17 00 [12:26:00]MH_I2C_Read... [12:26:00]Read from MH i2c: E2 17 00 91 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 5F [12:26:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [12:26:00]wFMCommunicate OK [12:26:00]requested_item fd.num is exist - process it [12:26:00]SAM_PROTO_GetFieldsCounters [12:26:00]wFMCommunicate request_size=4 [12:26:00]MH_SAM_APDU [12:26:00]CAPDU: 80 13 00 00 [12:26:00]Write to MH i2c: E2 08 00 92 01 80 13 00 00 00 00 00 00 0F [12:26:00]Write i2c OK [12:26:00]MH_I2C_Read... [12:26:00]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:26:00]Read from MH i2c: E2 [12:26:00]MH_I2C_Read... [12:26:00]Read from MH i2c: E2 62 00 [12:26:00]MH_I2C_Read... [12:26:00]Read from MH i2c: E2 62 00 92 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 43 10 00 00 0E 04 04 00 54 00 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 1A [12:26:00]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 43 10 00 00 0E 04 04 00 54 00 00 00 12 04 04 00 15 00 00 00 5E 04 04 00 15 00 00 00 57 04 04 00 16 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:26:00]wFMCommunicate OK [12:26:00]SAM_PROTO_GetFieldsCounters done [12:26:00]requested_item shift.num is exist - process it [12:26:00]requested_item shift.opened is exist - process it [12:26:00]req_shift_opened [12:26:00]FM_GetShiftState [12:26:00]SAM_PROTO_GetShiftState [12:26:00]wFMCommunicate request_size=4 [12:26:00]MH_SAM_APDU [12:26:00]CAPDU: 80 13 01 00 [12:26:00]Write to MH i2c: E2 08 00 93 01 80 13 01 00 00 00 00 00 11 [12:26:00]Write i2c OK [12:26:00]MH_I2C_Read... [12:26:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:26:00]Read from MH i2c: E2 [12:26:00]MH_I2C_Read... [12:26:00]Read from MH i2c: E2 0E 00 [12:26:00]MH_I2C_Read... [12:26:00]Read from MH i2c: E2 0E 00 93 01 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 B2 [12:26:00]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [12:26:00]wFMCommunicate OK [12:26:00]SAM_PROTO_GetShiftState done [12:26:00]FM_GetShiftState done [12:26:00]req_shift_opened done [12:26:00]requested_item shift.open_date is exist - process it [12:26:00]req_shift_open_date [12:26:00]req_shift_open_date done [12:26:00]produce_requested_data done [12:26:00]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4163,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765} [12:26:00]process_action_free close_receipt [12:26:00]json_value_free [12:26:00]json_value_free done [12:26:00]process_json_proto returns [12:26:00]Send response to host [12:26:00]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4163,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765}}} [12:26:00]free response buf [12:26:00]execute_script done [12:26:00]execute_script returns [12:26:00]free content buf [12:26:00]Sock 8.Close socket [12:26:00]Sock 8.Thread stoped [12:26:04]OFD Sender: No OFD packet to send [12:26:09]OFD Sender: No OFD packet to send [12:26:14]OFD Sender: No OFD packet to send [12:26:19]OFD Sender: No OFD packet to send [12:26:19]accept exits with 9 [12:26:19]New connection [12:26:19]New thread 3066604900 created [12:26:19]Thread 3066748260 joined [12:26:19]Waiting for new connection... [12:26:19] Sock 9.Parse request [12:26:19]Sock 9.Check first char [12:26:19]Sock 9.First char is OK [12:26:19]request: POST /json_proto HTTP/1.0 [12:26:19]Method: POST [12:26:19]URL: /json_proto [12:26:19]Method is POST - this is cgi request [12:26:19]url: /json_proto [12:26:19]query_string will be loaded in cgi processing [12:26:19]execute_cgi json_proto POST (null) [12:26:19]execute_cgi path=json_proto method=POST [12:26:19]POST find Content-Length [12:26:19]Host: 172.17.56.68:8080 [12:26:19]Content-Length: 644 [12:26:19]Content-Type: application/json [12:26:19] [12:26:19]POST finish read [12:26:19]Found Content-Length = 644 [12:26:19]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4417", "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" ] } } [12:26:19]execute_script... [12:26:19]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4417", "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" ] } } [12:26:19]POST & json_proto [12:26:19]process_json_proto [12:26:19]json parsed OK: [12:26:19]protocol is kg_v1.0 [12:26:19]action value=close_receipt [12:26:19]process_action close_receipt [12:26:19]cmd_close_receipt [12:26:19]MH_GetDate [12:26:19]Write to MH i2c: F0 00 00 94 01 84 [12:26:19]Write i2c OK [12:26:19]MH_I2C_Read... [12:26:19]Read from MH i2c: F0 [12:26:19]MH_I2C_Read... [12:26:19]Read from MH i2c: F0 09 00 [12:26:19]MH_I2C_Read... [12:26:19]Read from MH i2c: F0 09 00 94 01 00 6B 59 60 66 42 69 5C 66 84 [12:26:19]GetLastDocTimeStamp 1717590356 [12:26:19]current date 1717590379 [12:26:19]FM_GetShiftState [12:26:19]SAM_PROTO_GetShiftState [12:26:19]wFMCommunicate request_size=4 [12:26:19]MH_SAM_APDU [12:26:19]CAPDU: 80 13 01 00 [12:26:19]Write to MH i2c: E2 08 00 95 01 80 13 01 00 00 00 00 00 13 [12:26:19]Write i2c OK [12:26:19]MH_I2C_Read... [12:26:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:26:19]Read from MH i2c: E2 [12:26:19]MH_I2C_Read... [12:26:19]Read from MH i2c: E2 0E 00 [12:26:19]MH_I2C_Read... [12:26:19]Read from MH i2c: E2 0E 00 95 01 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 B4 [12:26:19]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [12:26:19]wFMCommunicate OK [12:26:19]SAM_PROTO_GetShiftState done [12:26:19]FM_GetShiftState done [12:26:19]opened in 1717545765 [12:26:19]opened+sec_in_day 1717632165 [12:26:19]quantity*price = 12500 [12:26:19]sum+1 = 12501 [12:26:19]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 125.00 НСП 1% : 1.11 НДС 12% : 13.27 Наличными: 125.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 22 05.06.2024 12:26 Смена: 84 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4164 ФПД: 115620782460869 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T122619&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4164&fm=115620782460869&tin=02508201610067®Number=0000000000145775&sum=12500 0 [12:26:20]StoreToDocumentArchive [12:26:20]shift 84 fd 4164 [12:26:20]save to /storage/0084/doc_00004164 [12:26:20]save last doc name /storage/0084/doc_00004164 to /storage/kkm_last_doc_name [12:26:20]save OK [12:26:20]Clear old archive folders... [12:26:20]ProcessDocumentItem done err = 0, tmpTLVsize=282 [12:26:20]tlvbuf is 012FC050 [12:26:20]SAM_PROTO_ClearQueue [12:26:20]wFMCommunicate request_size=4 [12:26:20]MH_SAM_APDU [12:26:20]CAPDU: 80 09 00 00 [12:26:20]Write to MH i2c: E2 08 00 A2 01 80 09 00 00 00 00 00 00 15 [12:26:20]Write i2c OK [12:26:20]MH_I2C_Read... [12:26:20]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:26:20]Read from MH i2c: E2 [12:26:20]MH_I2C_Read... [12:26:20]Read from MH i2c: E2 03 00 [12:26:20]MH_I2C_Read... [12:26:20]Read from MH i2c: E2 03 00 A2 01 00 90 00 17 [12:26:20]RAPDU: 90 00 [12:26:20]wFMCommunicate OK [12:26:20]SAM_PROTO_ClearQueue done [12:26:20]KKMCreateOFDPacket [12:26:20]OFDProtocolAddRootSTLVToBuf [12:26:20]FM_MakeSignedData [12:26:20]FM_MakeSignedData [12:26:20]SAM_PROTO_SignData [12:26:20]wFMCommunicate request_size=4 [12:26:20]MH_SAM_APDU [12:26:20]CAPDU: 80 0D 01 02 [12:26:20]Write to MH i2c: E2 08 00 A3 01 80 0D 01 02 00 00 00 00 1D [12:26:20]Write i2c OK [12:26:20]MH_I2C_Read... [12:26:20]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:26:20]Read from MH i2c: E2 [12:26:20]MH_I2C_Read... [12:26:20]Read from MH i2c: E2 03 00 [12:26:20]MH_I2C_Read... [12:26:20]Read from MH i2c: E2 03 00 A3 01 00 90 00 18 [12:26:20]RAPDU: 90 00 [12:26:20]wFMCommunicate OK [12:26:20]wFMCommunicate request_size=255 [12:26:20]MH_SAM_APDU [12:26:20]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 16 00 00 00 F4 03 04 00 6B 59 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 [12:26:20]Write to MH i2c: E2 02 01 A4 01 80 0D 02 02 FA 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 6B 59 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 00 00 13 [12:26:20]Write i2c OK [12:26:20]MH_I2C_Read... [12:26:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:26:20]Read from MH i2c: E2 [12:26:20]MH_I2C_Read... [12:26:20]Read from MH i2c: E2 03 00 [12:26:20]MH_I2C_Read... [12:26:20]Read from MH i2c: E2 03 00 A4 01 00 90 00 19 [12:26:20]RAPDU: 90 00 [12:26:20]wFMCommunicate OK [12:26:20]wFMCommunicate request_size=41 [12:26:20]MH_SAM_APDU [12:26:20]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 44 10 00 00 35 04 06 00 69 28 0F AA CF C5 [12:26:20]Write to MH i2c: E2 2C 00 A5 01 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 44 10 00 00 35 04 06 00 69 28 0F AA CF C5 00 00 21 [12:26:20]Write i2c OK [12:26:20]MH_I2C_Read... [12:26:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:26:20]Read from MH i2c: E2 [12:26:20]MH_I2C_Read... [12:26:20]Read from MH i2c: E2 03 00 [12:26:20]MH_I2C_Read... [12:26:20]Read from MH i2c: E2 03 00 A5 01 00 90 00 1A [12:26:20]RAPDU: 90 00 [12:26:20]wFMCommunicate OK [12:26:20]wFMCommunicate request_size=4 [12:26:20]MH_SAM_APDU [12:26:20]CAPDU: 80 0D 03 02 [12:26:20]Write to MH i2c: E2 08 00 A6 01 80 0D 03 02 00 00 00 00 22 [12:26:20]Write i2c OK [12:26:20]MH_I2C_Read... [12:26:20]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:26:20]Read from MH i2c: E2 [12:26:20]MH_I2C_Read... [12:26:20]Read from MH i2c: E2 0B 00 [12:26:20]MH_I2C_Read... [12:26:20]Read from MH i2c: E2 0B 00 A6 01 00 CD 7B C0 4A 82 76 B2 76 90 00 95 [12:26:20]RAPDU: CD 7B C0 4A 82 76 B2 76 90 00 [12:26:20]wFMCommunicate OK [12:26:20]SAM_PROTO_SignData done [12:26:20]FM_MakeSignedData done [12:26:20]CreateOFDProtocolMessage [12:26:20]wFMCommunicate request_size=4 [12:26:20]MH_SAM_APDU [12:26:20]CAPDU: 80 11 00 00 [12:26:20]Write to MH i2c: E2 08 00 A7 01 80 11 00 00 00 00 00 00 22 [12:26:20]Write i2c OK [12:26:20]MH_I2C_Read... [12:26:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:26:20]Read from MH i2c: E2 [12:26:20]MH_I2C_Read... [12:26:20]Read from MH i2c: E2 17 00 [12:26:20]MH_I2C_Read... [12:26:20]Read from MH i2c: E2 17 00 A7 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 75 [12:26:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [12:26:20]wFMCommunicate OK [12:26:20]CreateOFDProtocolMessage done [12:26:20]OFDSenderStorePacket 4164 [12:26:20]StoreOFDPacket docnum=4164 [12:26:20]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 2E 01 00 00 A7 46 26 01 5A 51 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 16 00 00 00 F4 03 04 00 6B 59 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 44 10 00 00 35 04 06 00 69 28 0F AA CF C5 CD 7B C0 4A 82 76 B2 76 [12:26:20]CheckFolder [12:26:20]dirname=/storage/ofd_packets [12:26:20]CheckFolder done [12:26:20]ProducePacketName [12:26:20]name=ofd_packets/00004164 [12:26:20]NVStorageSaveData ofd_packets/00004164 [12:26:20]File name is /storage/ofd_packets/00004164 [12:26:20]Write 332 bytes [12:26:20]NVStorageSaveData done [12:26:20]OFDSenderStorePacket done [12:26:20]KKMCreateOFDPacket done [12:26:20]NVStorageSaveData kkm_last_timestamp [12:26:20]File name is /storage/kkm_last_timestamp [12:26:20]Write 4 bytes [12:26:20]NVStorageSaveData done [12:26:20]ExternCall_PrintAddStr [12:26:20]wPrintStart [12:26:20]Write to MH i2c: 01 00 00 A8 01 A9 [12:26:20]Write i2c OK [12:26:20]MH_I2C_Read... [12:26:20]Read from MH i2c: 01 [12:26:20]MH_I2C_Read... [12:26:20]Read from MH i2c: 01 07 00 [12:26:20]MH_I2C_Read... [12:26:20]Read from MH i2c: 01 07 00 A8 01 00 00 00 00 00 FF 0F BE [12:26:20]RasterBufferAndPrint [12:26:20]line Счет N : (3)4417 [12:26:20]line ИНН: 02508201610067 [12:26:20]line Контрольно-Кассовый Чек [12:26:20]line ПРОДАЖА [12:26:20]line Товар: 2000036220012 [12:26:20]line Кофе Капучино XL(GABB TRADE) [12:26:20]line 1.000 * 125.00 [12:26:20]line = 125.00 [12:26:20]line НДС 12% НСП 1% [12:26:20]line > о реализуемом товаре [12:26:20]line ИТОГО: 125.00 [12:26:20]line НСП 1% : 1.11 [12:26:20]line НДС 12% : 13.27 [12:26:20]line Наличными: 125.00 [12:26:20]line Безнал.: 0.00 [12:26:20]line Место: АЗС № 116 "Партнер Нефть" [12:26:20]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [12:26:20]line СНО: Общий режим [12:26:20]line Чек 22 05.06.2024 12:26 [12:26:20]line Смена: 84 ФФД: 1.0 [12:26:20]line ЗНМ: 0300000233 [12:26:20]line РНМ: 0000000000145775 [12:26:21]line Версия ККМ: v1.0 [12:26:21]line ФМ: 0000000000959360 [12:26:21]line ФД: 4164 [12:26:21]line ФПД: 115620782460869 [12:26:21]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T122619&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4164&fm=115620782460869&tin=02508201610067®Number=0000000000145775&sum=12500 [12:26:21]line 0 [12:26:21]OFD Sender: Processing packet 4164 [packets to send 2, broken 1] [12:26:21]ProducePacketName [12:26:21]name=ofd_packets/00004164 [12:26:21]OFD Sender: To server: pG, [12:26:21]CommunicateWithHost lk.salyk.kg:30040 [12:26:21]ConnectInit lk.salyk.kg [12:26:21]written 0, free lines is 4095 [12:26:21]Connected sock=10 [12:26:21]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 2E 01 00 00 A7 46 26 01 5A 51 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 16 00 00 00 F4 03 04 00 6B 59 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 44 10 00 00 35 04 06 00 69 28 0F AA CF C5 CD 7B C0 4A 82 76 B2 76 [12:26:21]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 AB A8 47 00 23 5B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 44 10 00 00 F4 03 04 00 69 05 60 66 B6 04 01 00 00 BE 6A 66 BA F2 60 34 E1 [12:26:21]CommunicateWithHost err = 0 [12:26:21]CheckOFDResponse [12:26:21]1017 (14) - 77093643461234 [12:26:21]1041 (16) - 0000000000959360 [12:26:21]1040 (4) - 4164 [12:26:21]1012 (4) - 05.06.2024 06:27 [12:26:21]1206 (1) - 0 [12:26:21]OFD Sender: Remove packet 4164 [12:26:21]ProducePacketName [12:26:21]name=ofd_packets/00004164 [12:26:21]NVStorageDeleteData [12:26:21]Write to MH i2c: 01 00 00 D1 01 D2 [12:26:21]Write i2c OK [12:26:21]MH_I2C_Read... [12:26:21]Read from MH i2c: 01 [12:26:21]MH_I2C_Read... [12:26:21]Read from MH i2c: 01 07 00 [12:26:21]MH_I2C_Read... [12:26:21]Read from MH i2c: 01 07 00 D1 01 00 00 00 00 00 B5 0C 9A [12:26:21]RasterBufferAndPrint [12:26:21]line [12:26:21]line [12:26:21]line [12:26:21]line [12:26:21]line [12:26:21]written 0, free lines is 3257 [12:26:21]MH_Cut [12:26:21]Write to MH i2c: D1 01 00 D8 01 01 AB [12:26:21]Write i2c OK [12:26:21]MH_I2C_Read... [12:26:21]Read from MH i2c: D1 [12:26:21]MH_I2C_Read... [12:26:21]Read from MH i2c: D1 01 00 [12:26:21]MH_I2C_Read... [12:26:21]Read from MH i2c: D1 01 00 D8 01 00 AA [12:26:21]Write to MH i2c: 01 00 00 D9 01 DA [12:26:21]Write i2c OK [12:26:21]MH_I2C_Read... [12:26:21]OFD Sender: No OFD packet to send [12:26:22]*** Cut start [12:26:22]*** Partial cut [12:26:22]*** CUTSNS_PIN = 1 [12:26:22]*** CUTSNS_PIN = 0 [12:26:22]*** Brake cut motor [12:26:23]Read from MH i2c: 01 [12:26:23]MH_I2C_Read... [12:26:23]*** Stop cut motor [12:26:23]*** Cut end [12:26:23]Read from MH i2c: 01 07 00 [12:26:23]MH_I2C_Read... [12:26:23]Read from MH i2c: 01 07 00 D9 01 00 00 00 00 00 FF 0F EF [12:26:23]process_action close_receipt done [12:26:23]requested_data is exist [12:26:23]produce_requested_data [12:26:23]requested_item fm.sn is exist - process it [12:26:23]wFMCommunicate request_size=4 [12:26:23]MH_SAM_APDU [12:26:23]CAPDU: 80 11 00 00 [12:26:23]Write to MH i2c: E2 08 00 DA 01 80 11 00 00 00 00 00 00 55 [12:26:23]Write i2c OK [12:26:23]MH_I2C_Read... [12:26:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:26:23]Read from MH i2c: E2 [12:26:23]MH_I2C_Read... [12:26:23]Read from MH i2c: E2 17 00 [12:26:23]MH_I2C_Read... [12:26:23]Read from MH i2c: E2 17 00 DA 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 A8 [12:26:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [12:26:23]wFMCommunicate OK [12:26:23]requested_item fd.num is exist - process it [12:26:23]SAM_PROTO_GetFieldsCounters [12:26:23]wFMCommunicate request_size=4 [12:26:23]MH_SAM_APDU [12:26:23]CAPDU: 80 13 00 00 [12:26:23]Write to MH i2c: E2 08 00 DB 01 80 13 00 00 00 00 00 00 58 [12:26:23]Write i2c OK [12:26:23]MH_I2C_Read... [12:26:23]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:26:23]Read from MH i2c: E2 [12:26:23]MH_I2C_Read... [12:26:23]Read from MH i2c: E2 62 00 [12:26:23]MH_I2C_Read... [12:26:23]Read from MH i2c: E2 62 00 DB 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 44 10 00 00 0E 04 04 00 54 00 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 67 [12:26:23]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 44 10 00 00 0E 04 04 00 54 00 00 00 12 04 04 00 16 00 00 00 5E 04 04 00 16 00 00 00 57 04 04 00 17 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:26:23]wFMCommunicate OK [12:26:23]SAM_PROTO_GetFieldsCounters done [12:26:23]requested_item shift.num is exist - process it [12:26:23]requested_item shift.opened is exist - process it [12:26:23]req_shift_opened [12:26:23]FM_GetShiftState [12:26:23]SAM_PROTO_GetShiftState [12:26:23]wFMCommunicate request_size=4 [12:26:23]MH_SAM_APDU [12:26:23]CAPDU: 80 13 01 00 [12:26:23]Write to MH i2c: E2 08 00 DC 01 80 13 01 00 00 00 00 00 5A [12:26:23]Write i2c OK [12:26:23]MH_I2C_Read... [12:26:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:26:23]Read from MH i2c: E2 [12:26:23]MH_I2C_Read... [12:26:23]Read from MH i2c: E2 0E 00 [12:26:23]MH_I2C_Read... [12:26:23]Read from MH i2c: E2 0E 00 DC 01 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 FB [12:26:23]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [12:26:23]wFMCommunicate OK [12:26:23]SAM_PROTO_GetShiftState done [12:26:23]FM_GetShiftState done [12:26:23]req_shift_opened done [12:26:23]requested_item shift.open_date is exist - process it [12:26:23]req_shift_open_date [12:26:23]req_shift_open_date done [12:26:23]produce_requested_data done [12:26:23]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4164,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765} [12:26:23]process_action_free close_receipt [12:26:23]json_value_free [12:26:23]json_value_free done [12:26:23]process_json_proto returns [12:26:23]Send response to host [12:26:23]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4164,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765}}} [12:26:23]free response buf [12:26:23]execute_script done [12:26:23]execute_script returns [12:26:23]free content buf [12:26:23]Sock 9.Close socket [12:26:23]Sock 9.Thread stoped [12:26:26]OFD Sender: No OFD packet to send [12:26:31]OFD Sender: No OFD packet to send [12:26:36]OFD Sender: No OFD packet to send [12:26:41]OFD Sender: No OFD packet to send [12:26:46]OFD Sender: No OFD packet to send [12:26:51]OFD Sender: No OFD packet to send [12:26:55]accept exits with 8 [12:26:55]New connection [12:26:55]New thread 3066748260 created [12:26:55]Thread 3066604900 joined [12:26:55]Waiting for new connection... [12:26:55] Sock 8.Parse request [12:26:55]Sock 8.Check first char [12:26:55]Sock 8.First char is OK [12:26:55]request: POST /json_proto HTTP/1.0 [12:26:55]Method: POST [12:26:55]URL: /json_proto [12:26:55]Method is POST - this is cgi request [12:26:55]url: /json_proto [12:26:55]query_string will be loaded in cgi processing [12:26:55]execute_cgi json_proto POST (null) [12:26:55]execute_cgi path=json_proto method=POST [12:26:55]POST find Content-Length [12:26:55]Host: 172.17.56.68:8080 [12:26:55]Content-Length: 647 [12:26:55]Content-Type: application/json [12:26:55] [12:26:55]POST finish read [12:26:55]Found Content-Length = 647 [12:26:55]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4418", "tax_sys" : 0, "items" : [ { "code": "2000034730018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E (GABB TRADE)", "price" : 75.00, "quantity" : 2.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 150.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:26:55]execute_script... [12:26:55]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4418", "tax_sys" : 0, "items" : [ { "code": "2000034730018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E (GABB TRADE)", "price" : 75.00, "quantity" : 2.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 150.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:26:55]POST & json_proto [12:26:55]process_json_proto [12:26:55]json parsed OK: [12:26:55]protocol is kg_v1.0 [12:26:55]action value=close_receipt [12:26:55]process_action close_receipt [12:26:55]cmd_close_receipt [12:26:55]MH_GetDate [12:26:55]Write to MH i2c: F0 00 00 DD 01 CD [12:26:55]Write i2c OK [12:26:55]MH_I2C_Read... [12:26:55]Read from MH i2c: F0 [12:26:55]MH_I2C_Read... [12:26:55]Read from MH i2c: F0 09 00 [12:26:55]MH_I2C_Read... [12:26:55]Read from MH i2c: F0 09 00 DD 01 00 8F 59 60 66 42 69 5C 66 F1 [12:26:55]GetLastDocTimeStamp 1717590379 [12:26:55]current date 1717590415 [12:26:55]FM_GetShiftState [12:26:55]SAM_PROTO_GetShiftState [12:26:55]wFMCommunicate request_size=4 [12:26:55]MH_SAM_APDU [12:26:55]CAPDU: 80 13 01 00 [12:26:55]Write to MH i2c: E2 08 00 DE 01 80 13 01 00 00 00 00 00 5C [12:26:55]Write i2c OK [12:26:55]MH_I2C_Read... [12:26:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:26:55]Read from MH i2c: E2 [12:26:55]MH_I2C_Read... [12:26:55]Read from MH i2c: E2 0E 00 [12:26:55]MH_I2C_Read... [12:26:55]Read from MH i2c: E2 0E 00 DE 01 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 FD [12:26:55]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [12:26:55]wFMCommunicate OK [12:26:55]SAM_PROTO_GetShiftState done [12:26:55]FM_GetShiftState done [12:26:55]opened in 1717545765 [12:26:55]opened+sec_in_day 1717632165 [12:26:55]quantity*price = 15000 [12:26:55]sum+1 = 15001 [12:26:55]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 150.00 НСП 1% : 1.33 НДС 12% : 15.93 Наличными: 150.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 23 05.06.2024 12:26 Смена: 84 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4165 ФПД: 42055670420000 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T122655&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4165&fm=42055670420000&tin=02508201610067®Number=0000000000145775&sum=15000 0 [12:26:56]StoreToDocumentArchive [12:26:56]shift 84 fd 4165 [12:26:56]save to /storage/0084/doc_00004165 [12:26:56]save last doc name /storage/0084/doc_00004165 to /storage/kkm_last_doc_name [12:26:56]save OK [12:26:56]Clear old archive folders... [12:26:56]ProcessDocumentItem done err = 0, tmpTLVsize=282 [12:26:56]tlvbuf is 01305AA0 [12:26:56]SAM_PROTO_ClearQueue [12:26:56]wFMCommunicate request_size=4 [12:26:56]MH_SAM_APDU [12:26:56]CAPDU: 80 09 00 00 [12:26:56]Write to MH i2c: E2 08 00 EB 01 80 09 00 00 00 00 00 00 5E [12:26:56]Write i2c OK [12:26:56]MH_I2C_Read... [12:26:56]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:26:56]Read from MH i2c: E2 [12:26:56]MH_I2C_Read... [12:26:56]Read from MH i2c: E2 03 00 [12:26:56]MH_I2C_Read... [12:26:56]Read from MH i2c: E2 03 00 EB 01 00 90 00 60 [12:26:56]RAPDU: 90 00 [12:26:56]wFMCommunicate OK [12:26:56]SAM_PROTO_ClearQueue done [12:26:56]KKMCreateOFDPacket [12:26:56]OFDProtocolAddRootSTLVToBuf [12:26:56]FM_MakeSignedData [12:26:56]FM_MakeSignedData [12:26:56]SAM_PROTO_SignData [12:26:56]wFMCommunicate request_size=4 [12:26:56]MH_SAM_APDU [12:26:56]CAPDU: 80 0D 01 02 [12:26:56]Write to MH i2c: E2 08 00 EC 01 80 0D 01 02 00 00 00 00 66 [12:26:56]Write i2c OK [12:26:56]MH_I2C_Read... [12:26:56]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:26:56]Read from MH i2c: E2 [12:26:56]MH_I2C_Read... [12:26:56]Read from MH i2c: E2 03 00 [12:26:56]MH_I2C_Read... [12:26:56]Read from MH i2c: E2 03 00 EC 01 00 90 00 61 [12:26:56]RAPDU: 90 00 [12:26:56]wFMCommunicate OK [12:26:56]wFMCommunicate request_size=255 [12:26:56]MH_SAM_APDU [12:26:56]CAPDU: 80 0D 02 02 FA 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 34 37 33 30 30 31 38 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 8F 59 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 [12:26:56]Write to MH i2c: E2 02 01 ED 01 80 0D 02 02 FA 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 34 37 33 30 30 31 38 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 8F 59 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 00 00 6A [12:26:56]Write i2c OK [12:26:56]MH_I2C_Read... [12:26:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:26:56]Read from MH i2c: E2 [12:26:56]MH_I2C_Read... [12:26:56]Read from MH i2c: E2 03 00 [12:26:56]MH_I2C_Read... [12:26:56]Read from MH i2c: E2 03 00 ED 01 00 90 00 62 [12:26:56]RAPDU: 90 00 [12:26:56]wFMCommunicate OK [12:26:56]wFMCommunicate request_size=41 [12:26:56]MH_SAM_APDU [12:26:56]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 45 10 00 00 35 04 06 00 26 3F D9 4B D2 20 [12:26:56]Write to MH i2c: E2 2C 00 EE 01 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 45 10 00 00 35 04 06 00 26 3F D9 4B D2 20 00 00 08 [12:26:56]Write i2c OK [12:26:56]MH_I2C_Read... [12:26:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:26:56]Read from MH i2c: E2 [12:26:56]MH_I2C_Read... [12:26:56]Read from MH i2c: E2 03 00 [12:26:56]MH_I2C_Read... [12:26:56]Read from MH i2c: E2 03 00 EE 01 00 90 00 63 [12:26:56]RAPDU: 90 00 [12:26:56]wFMCommunicate OK [12:26:56]wFMCommunicate request_size=4 [12:26:56]MH_SAM_APDU [12:26:56]CAPDU: 80 0D 03 02 [12:26:56]Write to MH i2c: E2 08 00 EF 01 80 0D 03 02 00 00 00 00 6B [12:26:56]Write i2c OK [12:26:56]MH_I2C_Read... [12:26:56]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:26:56]Read from MH i2c: E2 [12:26:56]MH_I2C_Read... [12:26:56]Read from MH i2c: E2 0B 00 [12:26:56]MH_I2C_Read... [12:26:56]Read from MH i2c: E2 0B 00 EF 01 00 DB 8D 53 12 4F 59 F2 27 90 00 FA [12:26:56]RAPDU: DB 8D 53 12 4F 59 F2 27 90 00 [12:26:56]wFMCommunicate OK [12:26:56]SAM_PROTO_SignData done [12:26:56]FM_MakeSignedData done [12:26:56]CreateOFDProtocolMessage [12:26:56]wFMCommunicate request_size=4 [12:26:56]MH_SAM_APDU [12:26:56]CAPDU: 80 11 00 00 [12:26:56]Write to MH i2c: E2 08 00 F0 01 80 11 00 00 00 00 00 00 6B [12:26:56]Write i2c OK [12:26:56]MH_I2C_Read... [12:26:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:26:56]Read from MH i2c: E2 [12:26:56]MH_I2C_Read... [12:26:56]Read from MH i2c: E2 17 00 [12:26:56]MH_I2C_Read... [12:26:56]Read from MH i2c: E2 17 00 F0 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 BE [12:26:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [12:26:56]wFMCommunicate OK [12:26:56]CreateOFDProtocolMessage done [12:26:56]OFDSenderStorePacket 4165 [12:26:56]StoreOFDPacket docnum=4165 [12:26:56]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 2E 01 00 00 79 67 26 01 26 13 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 34 37 33 30 30 31 38 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 8F 59 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 45 10 00 00 35 04 06 00 26 3F D9 4B D2 20 DB 8D 53 12 4F 59 F2 27 [12:26:56]CheckFolder [12:26:56]dirname=/storage/ofd_packets [12:26:56]CheckFolder done [12:26:56]ProducePacketName [12:26:56]name=ofd_packets/00004165 [12:26:56]NVStorageSaveData ofd_packets/00004165 [12:26:56]File name is /storage/ofd_packets/00004165 [12:26:56]Write 332 bytes [12:26:56]NVStorageSaveData done [12:26:56]OFDSenderStorePacket done [12:26:56]KKMCreateOFDPacket done [12:26:56]NVStorageSaveData kkm_last_timestamp [12:26:56]File name is /storage/kkm_last_timestamp [12:26:56]Write 4 bytes [12:26:56]NVStorageSaveData done [12:26:56]ExternCall_PrintAddStr [12:26:56]wPrintStart [12:26:56]Write to MH i2c: 01 00 00 F1 01 F2 [12:26:56]Write i2c OK [12:26:56]MH_I2C_Read... [12:26:56]Read from MH i2c: 01 [12:26:56]MH_I2C_Read... [12:26:56]Read from MH i2c: 01 07 00 [12:26:56]MH_I2C_Read... [12:26:56]Read from MH i2c: 01 07 00 F1 01 00 00 00 00 00 FF 0F 07 [12:26:56]RasterBufferAndPrint [12:26:56]line Счет N : (3)4418 [12:26:56]line ИНН: 02508201610067 [12:26:56]line Контрольно-Кассовый Чек [12:26:56]line ПРОДАЖА [12:26:56]line Товар: 2000034730018 [12:26:56]line Кофе Американо (GABB TRADE) [12:26:56]line 2.000 * 75.00 [12:26:56]line = 150.00 [12:26:56]line НДС 12% НСП 1% [12:26:56]line > о реализуемом товаре [12:26:56]line ИТОГО: 150.00 [12:26:56]line НСП 1% : 1.33 [12:26:56]line НДС 12% : 15.93 [12:26:56]line Наличными: 150.00 [12:26:56]line Безнал.: 0.00 [12:26:56]line Место: АЗС № 116 "Партнер Нефть" [12:26:56]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [12:26:56]line СНО: Общий режим [12:26:56]line Чек 23 05.06.2024 12:26 [12:26:56]line Смена: 84 ФФД: 1.0 [12:26:56]line ЗНМ: 0300000233 [12:26:56]line РНМ: 0000000000145775 [12:26:56]line Версия ККМ: v1.0 [12:26:56]line ФМ: 0000000000959360 [12:26:56]line ФД: 4165 [12:26:56]line ФПД: 42055670420000 [12:26:57]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T122655&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4165&fm=42055670420000&tin=02508201610067®Number=0000000000145775&sum=15000 [12:26:57]line 0 [12:26:57]OFD Sender: Processing packet 4165 [packets to send 2, broken 1] [12:26:57]ProducePacketName [12:26:57]name=ofd_packets/00004165 [12:26:57]OFD Sender: To server: pG, [12:26:57]CommunicateWithHost lk.salyk.kg:30040 [12:26:57]ConnectInit lk.salyk.kg [12:26:57]written 0, free lines is 4095 [12:26:57]Connected sock=10 [12:26:57]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 2E 01 00 00 79 67 26 01 26 13 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 34 37 33 30 30 31 38 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 8F 59 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 45 10 00 00 35 04 06 00 26 3F D9 4B D2 20 DB 8D 53 12 4F 59 F2 27 [12:26:57]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 65 0A 47 00 87 93 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 45 10 00 00 F4 03 04 00 8D 05 60 66 B6 04 01 00 00 CC 8D 1D 65 01 25 FC 88 [12:26:57]CommunicateWithHost err = 0 [12:26:57]CheckOFDResponse [12:26:57]1017 (14) - 77093643461234 [12:26:57]1041 (16) - 0000000000959360 [12:26:57]1040 (4) - 4165 [12:26:57]1012 (4) - 05.06.2024 06:28 [12:26:57]1206 (1) - 0 [12:26:57]OFD Sender: Remove packet 4165 [12:26:57]ProducePacketName [12:26:57]name=ofd_packets/00004165 [12:26:57]NVStorageDeleteData [12:26:57]Write to MH i2c: 01 00 00 1A 02 1C [12:26:57]Write i2c OK [12:26:57]MH_I2C_Read... [12:26:57]Read from MH i2c: 01 [12:26:57]MH_I2C_Read... [12:26:57]Read from MH i2c: 01 07 00 [12:26:57]MH_I2C_Read... [12:26:57]Read from MH i2c: 01 07 00 1A 02 00 00 00 00 00 B0 0C DF [12:26:57]RasterBufferAndPrint [12:26:57]line [12:26:57]line [12:26:57]line [12:26:57]line [12:26:57]line [12:26:57]written 0, free lines is 3253 [12:26:57]MH_Cut [12:26:57]Write to MH i2c: D1 01 00 21 02 01 F5 [12:26:57]Write i2c OK [12:26:57]MH_I2C_Read... [12:26:57]Read from MH i2c: D1 [12:26:57]MH_I2C_Read... [12:26:57]Read from MH i2c: D1 01 00 [12:26:57]MH_I2C_Read... [12:26:57]Read from MH i2c: D1 01 00 21 02 00 F4 [12:26:57]Write to MH i2c: 01 00 00 22 02 24 [12:26:57]Write i2c OK [12:26:57]MH_I2C_Read... [12:26:58]OFD Sender: No OFD packet to send [12:26:58]*** Cut start [12:26:58]*** Partial cut [12:26:58]*** CUTSNS_PIN = 1 [12:26:58]*** CUTSNS_PIN = 0 [12:26:58]*** Brake cut motor [12:26:59]Read from MH i2c: 01 [12:26:59]MH_I2C_Read... [12:26:59]*** Stop cut motor [12:26:59]*** Cut end [12:26:59]Read from MH i2c: 01 07 00 [12:26:59]MH_I2C_Read... [12:26:59]Read from MH i2c: 01 07 00 22 02 00 00 00 00 00 FF 0F 39 [12:26:59]process_action close_receipt done [12:26:59]requested_data is exist [12:26:59]produce_requested_data [12:26:59]requested_item fm.sn is exist - process it [12:26:59]wFMCommunicate request_size=4 [12:26:59]MH_SAM_APDU [12:26:59]CAPDU: 80 11 00 00 [12:26:59]Write to MH i2c: E2 08 00 23 02 80 11 00 00 00 00 00 00 9F [12:26:59]Write i2c OK [12:26:59]MH_I2C_Read... [12:26:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:26:59]Read from MH i2c: E2 [12:26:59]MH_I2C_Read... [12:26:59]Read from MH i2c: E2 17 00 [12:26:59]MH_I2C_Read... [12:26:59]Read from MH i2c: E2 17 00 23 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 F2 [12:26:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [12:26:59]wFMCommunicate OK [12:26:59]requested_item fd.num is exist - process it [12:26:59]SAM_PROTO_GetFieldsCounters [12:26:59]wFMCommunicate request_size=4 [12:26:59]MH_SAM_APDU [12:26:59]CAPDU: 80 13 00 00 [12:26:59]Write to MH i2c: E2 08 00 24 02 80 13 00 00 00 00 00 00 A2 [12:26:59]Write i2c OK [12:26:59]MH_I2C_Read... [12:26:59]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:26:59]Read from MH i2c: E2 [12:26:59]MH_I2C_Read... [12:26:59]Read from MH i2c: E2 62 00 [12:26:59]MH_I2C_Read... [12:26:59]Read from MH i2c: E2 62 00 24 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 45 10 00 00 0E 04 04 00 54 00 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 B5 [12:26:59]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 45 10 00 00 0E 04 04 00 54 00 00 00 12 04 04 00 17 00 00 00 5E 04 04 00 17 00 00 00 57 04 04 00 18 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:26:59]wFMCommunicate OK [12:26:59]SAM_PROTO_GetFieldsCounters done [12:26:59]requested_item shift.num is exist - process it [12:26:59]requested_item shift.opened is exist - process it [12:26:59]req_shift_opened [12:26:59]FM_GetShiftState [12:26:59]SAM_PROTO_GetShiftState [12:26:59]wFMCommunicate request_size=4 [12:26:59]MH_SAM_APDU [12:26:59]CAPDU: 80 13 01 00 [12:26:59]Write to MH i2c: E2 08 00 25 02 80 13 01 00 00 00 00 00 A4 [12:26:59]Write i2c OK [12:26:59]MH_I2C_Read... [12:26:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:26:59]Read from MH i2c: E2 [12:26:59]MH_I2C_Read... [12:26:59]Read from MH i2c: E2 0E 00 [12:26:59]MH_I2C_Read... [12:26:59]Read from MH i2c: E2 0E 00 25 02 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 45 [12:26:59]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [12:26:59]wFMCommunicate OK [12:26:59]SAM_PROTO_GetShiftState done [12:26:59]FM_GetShiftState done [12:26:59]req_shift_opened done [12:26:59]requested_item shift.open_date is exist - process it [12:26:59]req_shift_open_date [12:26:59]req_shift_open_date done [12:26:59]produce_requested_data done [12:26:59]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4165,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765} [12:26:59]process_action_free close_receipt [12:26:59]json_value_free [12:26:59]json_value_free done [12:26:59]process_json_proto returns [12:26:59]Send response to host [12:26:59]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4165,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765}}} [12:26:59]free response buf [12:26:59]execute_script done [12:26:59]execute_script returns [12:26:59]free content buf [12:26:59]Sock 8.Close socket [12:26:59]Sock 8.Thread stoped [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:34]accept exits with 9 [12:27:34]New connection [12:27:34]New thread 3066604900 created [12:27:34]Thread 3066748260 joined [12:27:34]Waiting for new connection... [12:27:34] Sock 9.Parse request [12:27:34]Sock 9.Check first char [12:27:34]Sock 9.First char is OK [12:27:34]request: POST /json_proto HTTP/1.0 [12:27:34]Method: POST [12:27:34]URL: /json_proto [12:27:34]Method is POST - this is cgi request [12:27:34]url: /json_proto [12:27:34]query_string will be loaded in cgi processing [12:27:34]execute_cgi json_proto POST (null) [12:27:34]execute_cgi path=json_proto method=POST [12:27:34]POST find Content-Length [12:27:34]Host: 172.17.56.68:8080 [12:27:34]Content-Length: 624 [12:27:34]Content-Type: application/json [12:27:34] [12:27:34]POST finish read [12:27:34]Found Content-Length = 624 [12:27:34]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4419", "tax_sys" : 0, "items" : [ { "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:27:34]execute_script... [12:27: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)4419", "tax_sys" : 0, "items" : [ { "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:27:34]POST & json_proto [12:27:34]process_json_proto [12:27:34]json parsed OK: [12:27:34]protocol is kg_v1.0 [12:27:34]action value=close_receipt [12:27:34]process_action close_receipt [12:27:34]cmd_close_receipt [12:27:34]MH_GetDate [12:27:34]Write to MH i2c: F0 00 00 26 02 17 [12:27:34]Write i2c OK [12:27:34]MH_I2C_Read... [12:27:34]Read from MH i2c: F0 [12:27:34]MH_I2C_Read... [12:27:34]Read from MH i2c: F0 09 00 [12:27:34]MH_I2C_Read... [12:27:34]Read from MH i2c: F0 09 00 26 02 00 B6 59 60 66 42 69 5C 66 62 [12:27:34]GetLastDocTimeStamp 1717590415 [12:27:34]current date 1717590454 [12:27:34]FM_GetShiftState [12:27:34]SAM_PROTO_GetShiftState [12:27:34]wFMCommunicate request_size=4 [12:27:34]MH_SAM_APDU [12:27:34]CAPDU: 80 13 01 00 [12:27:34]Write to MH i2c: E2 08 00 27 02 80 13 01 00 00 00 00 00 A6 [12:27:34]Write i2c OK [12:27:34]MH_I2C_Read... [12:27:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:27:34]Read from MH i2c: E2 [12:27:34]MH_I2C_Read... [12:27:34]Read from MH i2c: E2 0E 00 [12:27:34]MH_I2C_Read... [12:27:34]Read from MH i2c: E2 0E 00 27 02 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 47 [12:27:34]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [12:27:34]wFMCommunicate OK [12:27:34]SAM_PROTO_GetShiftState done [12:27:34]FM_GetShiftState done [12:27:34]opened in 1717545765 [12:27:34]opened+sec_in_day 1717632165 [12:27:34]quantity*price = 11500 [12:27:34]sum+1 = 11501 [12:27:34]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 115.00 НСП 1% : 1.02 НДС 12% : 12.21 Наличными: 115.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 24 05.06.2024 12:27 Смена: 84 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4166 ФПД: 245448247107575 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T122734&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4166&fm=245448247107575&tin=02508201610067®Number=0000000000145775&sum=11500 0 [12:27:35]StoreToDocumentArchive [12:27:35]shift 84 fd 4166 [12:27:35]save to /storage/0084/doc_00004166 [12:27:35]save last doc name /storage/0084/doc_00004166 to /storage/kkm_last_doc_name [12:27:35]save OK [12:27:35]Clear old archive folders... [12:27:35]ProcessDocumentItem done err = 0, tmpTLVsize=274 [12:27:35]tlvbuf is 01301D80 [12:27:35]SAM_PROTO_ClearQueue [12:27:35]wFMCommunicate request_size=4 [12:27:35]MH_SAM_APDU [12:27:35]CAPDU: 80 09 00 00 [12:27:35]Write to MH i2c: E2 08 00 34 02 80 09 00 00 00 00 00 00 A8 [12:27:35]Write i2c OK [12:27:35]MH_I2C_Read... [12:27:35]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:27:35]Read from MH i2c: E2 [12:27:35]MH_I2C_Read... [12:27:35]Read from MH i2c: E2 03 00 [12:27:35]MH_I2C_Read... [12:27:35]Read from MH i2c: E2 03 00 34 02 00 90 00 AA [12:27:35]RAPDU: 90 00 [12:27:35]wFMCommunicate OK [12:27:35]SAM_PROTO_ClearQueue done [12:27:35]KKMCreateOFDPacket [12:27:35]OFDProtocolAddRootSTLVToBuf [12:27:35]FM_MakeSignedData [12:27:35]FM_MakeSignedData [12:27:35]SAM_PROTO_SignData [12:27:35]wFMCommunicate request_size=4 [12:27:35]MH_SAM_APDU [12:27:35]CAPDU: 80 0D 01 02 [12:27:35]Write to MH i2c: E2 08 00 35 02 80 0D 01 02 00 00 00 00 B0 [12:27:35]Write i2c OK [12:27:35]MH_I2C_Read... [12:27:35]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:27:35]Read from MH i2c: E2 [12:27:35]MH_I2C_Read... [12:27:35]Read from MH i2c: E2 03 00 [12:27:35]MH_I2C_Read... [12:27:35]Read from MH i2c: E2 03 00 35 02 00 90 00 AB [12:27:35]RAPDU: 90 00 [12:27:35]wFMCommunicate OK [12:27:35]wFMCommunicate request_size=255 [12:27:35]MH_SAM_APDU [12:27:35]CAPDU: 80 0D 02 02 FA 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 B6 59 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 [12:27:35]Write to MH i2c: E2 02 01 36 02 80 0D 02 02 FA 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 B6 59 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 00 00 91 [12:27:35]Write i2c OK [12:27:35]MH_I2C_Read... [12:27:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:27:35]Read from MH i2c: E2 [12:27:35]MH_I2C_Read... [12:27:35]Read from MH i2c: E2 03 00 [12:27:35]MH_I2C_Read... [12:27:35]Read from MH i2c: E2 03 00 36 02 00 90 00 AC [12:27:35]RAPDU: 90 00 [12:27:35]wFMCommunicate OK [12:27:35]wFMCommunicate request_size=33 [12:27:35]MH_SAM_APDU [12:27:35]CAPDU: 80 0D 02 02 1C 30 30 30 30 39 35 39 33 36 30 10 04 04 00 46 10 00 00 35 04 06 00 DF 3B DF 94 5F F7 [12:27:35]Write to MH i2c: E2 24 00 37 02 80 0D 02 02 1C 00 30 30 30 30 39 35 39 33 36 30 10 04 04 00 46 10 00 00 35 04 06 00 DF 3B DF 94 5F F7 00 00 7B [12:27:35]Write i2c OK [12:27:35]MH_I2C_Read... [12:27:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:27:35]Read from MH i2c: E2 [12:27:35]MH_I2C_Read... [12:27:35]Read from MH i2c: E2 03 00 [12:27:35]MH_I2C_Read... [12:27:35]Read from MH i2c: E2 03 00 37 02 00 90 00 AD [12:27:35]RAPDU: 90 00 [12:27:35]wFMCommunicate OK [12:27:35]wFMCommunicate request_size=4 [12:27:35]MH_SAM_APDU [12:27:35]CAPDU: 80 0D 03 02 [12:27:35]Write to MH i2c: E2 08 00 38 02 80 0D 03 02 00 00 00 00 B5 [12:27:35]Write i2c OK [12:27:35]MH_I2C_Read... [12:27:35]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:27:35]Read from MH i2c: E2 [12:27:35]MH_I2C_Read... [12:27:35]Read from MH i2c: E2 0B 00 [12:27:35]MH_I2C_Read... [12:27:35]Read from MH i2c: E2 0B 00 38 02 00 00 34 7E 72 37 09 94 D1 90 00 7F [12:27:35]RAPDU: 00 34 7E 72 37 09 94 D1 90 00 [12:27:35]wFMCommunicate OK [12:27:35]SAM_PROTO_SignData done [12:27:35]FM_MakeSignedData done [12:27:35]CreateOFDProtocolMessage [12:27:35]wFMCommunicate request_size=4 [12:27:35]MH_SAM_APDU [12:27:35]CAPDU: 80 11 00 00 [12:27:35]Write to MH i2c: E2 08 00 39 02 80 11 00 00 00 00 00 00 B5 [12:27:35]Write i2c OK [12:27:35]MH_I2C_Read... [12:27:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:27:35]Read from MH i2c: E2 [12:27:35]MH_I2C_Read... [12:27:35]Read from MH i2c: E2 17 00 [12:27:35]MH_I2C_Read... [12:27:35]Read from MH i2c: E2 17 00 39 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 08 [12:27:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [12:27:35]wFMCommunicate OK [12:27:35]CreateOFDProtocolMessage done [12:27:35]OFDSenderStorePacket 4166 [12:27:35]StoreOFDPacket docnum=4166 [12:27:35]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 26 01 00 00 89 5F 1E 01 BD 98 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 B6 59 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 46 10 00 00 35 04 06 00 DF 3B DF 94 5F F7 00 34 7E 72 37 09 94 D1 [12:27:35]CheckFolder [12:27:35]dirname=/storage/ofd_packets [12:27:35]CheckFolder done [12:27:35]ProducePacketName [12:27:35]name=ofd_packets/00004166 [12:27:35]NVStorageSaveData ofd_packets/00004166 [12:27:35]File name is /storage/ofd_packets/00004166 [12:27:35]Write 324 bytes [12:27:35]NVStorageSaveData done [12:27:35]OFDSenderStorePacket done [12:27:35]KKMCreateOFDPacket done [12:27:35]NVStorageSaveData kkm_last_timestamp [12:27:35]File name is /storage/kkm_last_timestamp [12:27:35]Write 4 bytes [12:27:35]NVStorageSaveData done [12:27:35]ExternCall_PrintAddStr [12:27:35]wPrintStart [12:27:35]Write to MH i2c: 01 00 00 3A 02 3C [12:27:35]Write i2c OK [12:27:35]MH_I2C_Read... [12:27:35]Read from MH i2c: 01 [12:27:35]MH_I2C_Read... [12:27:35]Read from MH i2c: 01 07 00 [12:27:35]MH_I2C_Read... [12:27:35]Read from MH i2c: 01 07 00 3A 02 00 00 00 00 00 FF 0F 51 [12:27:35]RasterBufferAndPrint [12:27:35]line Счет N : (3)4419 [12:27:35]line ИНН: 02508201610067 [12:27:35]line Контрольно-Кассовый Чек [12:27:35]line ПРОДАЖА [12:27:35]line Товар: 2000036240010 [12:27:35]line Кофе Латте (GABB TRADE) [12:27:35]line 1.000 * 115.00 [12:27:35]line = 115.00 [12:27:35]line НДС 12% НСП 1% [12:27:35]line > о реализуемом товаре [12:27:35]line ИТОГО: 115.00 [12:27:35]line НСП 1% : 1.02 [12:27:35]line НДС 12% : 12.21 [12:27:35]line Наличными: 115.00 [12:27:35]line Безнал.: 0.00 [12:27:35]line Место: АЗС № 116 "Партнер Нефть" [12:27:35]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [12:27:35]line СНО: Общий режим [12:27:35]line Чек 24 05.06.2024 12:27 [12:27:35]line Смена: 84 ФФД: 1.0 [12:27:35]line ЗНМ: 0300000233 [12:27:35]line РНМ: 0000000000145775 [12:27:35]line Версия ККМ: v1.0 [12:27:36]line ФМ: 0000000000959360 [12:27:36]line ФД: 4166 [12:27:36]line ФПД: 245448247107575 [12:27:36]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T122734&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4166&fm=245448247107575&tin=02508201610067®Number=0000000000145775&sum=11500 [12:27:36]line 0 [12:27:36]OFD Sender: Processing packet 4166 [packets to send 2, broken 1] [12:27:36]ProducePacketName [12:27:36]name=ofd_packets/00004166 [12:27:36]OFD Sender: To server: pG, [12:27:36]CommunicateWithHost lk.salyk.kg:30040 [12:27:36]ConnectInit lk.salyk.kg [12:27:36]written 0, free lines is 4095 [12:27:36]Connected sock=10 [12:27:36]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 26 01 00 00 89 5F 1E 01 BD 98 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 B6 59 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 46 10 00 00 35 04 06 00 DF 3B DF 94 5F F7 00 34 7E 72 37 09 94 D1 [12:27:36]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 91 B6 47 00 3C D9 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 46 10 00 00 F4 03 04 00 B4 05 60 66 B6 04 01 00 00 C3 BA 0C E0 F6 27 7D F8 [12:27:36]CommunicateWithHost err = 0 [12:27:36]CheckOFDResponse [12:27:36]1017 (14) - 77093643461234 [12:27:36]1041 (16) - 0000000000959360 [12:27:36]1040 (4) - 4166 [12:27:36]1012 (4) - 05.06.2024 06:29 [12:27:36]1206 (1) - 0 [12:27:36]OFD Sender: Remove packet 4166 [12:27:36]ProducePacketName [12:27:36]name=ofd_packets/00004166 [12:27:36]NVStorageDeleteData [12:27:36]Write to MH i2c: 01 00 00 62 02 64 [12:27:36]Write i2c OK [12:27:36]MH_I2C_Read... [12:27:36]Read from MH i2c: 01 [12:27:36]MH_I2C_Read... [12:27:36]Read from MH i2c: 01 07 00 [12:27:36]MH_I2C_Read... [12:27:36]Read from MH i2c: 01 07 00 62 02 00 00 00 00 00 C1 0C 38 [12:27:36]RasterBufferAndPrint [12:27:36]line [12:27:36]line [12:27:36]line [12:27:36]line [12:27:36]line [12:27:36]written 0, free lines is 3269 [12:27:36]MH_Cut [12:27:36]Write to MH i2c: D1 01 00 69 02 01 3D [12:27:36]Write i2c OK [12:27:36]MH_I2C_Read... [12:27:36]Read from MH i2c: D1 [12:27:36]MH_I2C_Read... [12:27:36]Read from MH i2c: D1 01 00 [12:27:36]MH_I2C_Read... [12:27:36]Read from MH i2c: D1 01 00 69 02 00 3C [12:27:36]Write to MH i2c: 01 00 00 6A 02 6C [12:27:36]Write i2c OK [12:27:36]MH_I2C_Read... [12:27:36]OFD Sender: No OFD packet to send [12:27:37]*** Cut start [12:27:37]*** Partial cut [12:27:37]*** CUTSNS_PIN = 1 [12:27:37]*** CUTSNS_PIN = 0 [12:27:37]*** Brake cut motor [12:27:37]Read from MH i2c: 01 [12:27:37]MH_I2C_Read... [12:27:37]*** Stop cut motor [12:27:38]*** Cut end [12:27:38]Read from MH i2c: 01 07 00 [12:27:38]MH_I2C_Read... [12:27:38]Read from MH i2c: 01 07 00 6A 02 00 00 00 00 00 FF 0F 81 [12:27:38]process_action close_receipt done [12:27:38]requested_data is exist [12:27:38]produce_requested_data [12:27:38]requested_item fm.sn is exist - process it [12:27:38]wFMCommunicate request_size=4 [12:27:38]MH_SAM_APDU [12:27:38]CAPDU: 80 11 00 00 [12:27:38]Write to MH i2c: E2 08 00 6B 02 80 11 00 00 00 00 00 00 E7 [12:27:38]Write i2c OK [12:27:38]MH_I2C_Read... [12:27:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:27:38]Read from MH i2c: E2 [12:27:38]MH_I2C_Read... [12:27:38]Read from MH i2c: E2 17 00 [12:27:38]MH_I2C_Read... [12:27:38]Read from MH i2c: E2 17 00 6B 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 3A [12:27:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [12:27:38]wFMCommunicate OK [12:27:38]requested_item fd.num is exist - process it [12:27:38]SAM_PROTO_GetFieldsCounters [12:27:38]wFMCommunicate request_size=4 [12:27:38]MH_SAM_APDU [12:27:38]CAPDU: 80 13 00 00 [12:27:38]Write to MH i2c: E2 08 00 6C 02 80 13 00 00 00 00 00 00 EA [12:27:38]Write i2c OK [12:27:38]MH_I2C_Read... [12:27:38]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:27:38]Read from MH i2c: E2 [12:27:38]MH_I2C_Read... [12:27:38]Read from MH i2c: E2 62 00 [12:27:38]MH_I2C_Read... [12:27:38]Read from MH i2c: E2 62 00 6C 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 46 10 00 00 0E 04 04 00 54 00 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 01 [12:27:38]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 46 10 00 00 0E 04 04 00 54 00 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:27:38]wFMCommunicate OK [12:27:38]SAM_PROTO_GetFieldsCounters done [12:27:38]requested_item shift.num is exist - process it [12:27:38]requested_item shift.opened is exist - process it [12:27:38]req_shift_opened [12:27:38]FM_GetShiftState [12:27:38]SAM_PROTO_GetShiftState [12:27:38]wFMCommunicate request_size=4 [12:27:38]MH_SAM_APDU [12:27:38]CAPDU: 80 13 01 00 [12:27:38]Write to MH i2c: E2 08 00 6D 02 80 13 01 00 00 00 00 00 EC [12:27:38]Write i2c OK [12:27:38]MH_I2C_Read... [12:27:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:27:38]Read from MH i2c: E2 [12:27:38]MH_I2C_Read... [12:27:38]Read from MH i2c: E2 0E 00 [12:27:38]MH_I2C_Read... [12:27:38]Read from MH i2c: E2 0E 00 6D 02 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 8D [12:27:38]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [12:27:38]wFMCommunicate OK [12:27:38]SAM_PROTO_GetShiftState done [12:27:38]FM_GetShiftState done [12:27:38]req_shift_opened done [12:27:38]requested_item shift.open_date is exist - process it [12:27:38]req_shift_open_date [12:27:38]req_shift_open_date done [12:27:38]produce_requested_data done [12:27:38]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4166,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765} [12:27:38]process_action_free close_receipt [12:27:38]json_value_free [12:27:38]json_value_free done [12:27:38]process_json_proto returns [12:27:38]Send response to host [12:27:38]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4166,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765}}} [12:27:38]free response buf [12:27:38]execute_script done [12:27:38]execute_script returns [12:27:38]free content buf [12:27:38]Sock 9.Close socket [12:27:38]Sock 9.Thread stoped [12:27:41]OFD Sender: No OFD packet to send [12:27:46]OFD Sender: No OFD packet to send [12:27:51]OFD Sender: No OFD packet to send [12:27:56]OFD Sender: No OFD packet to send [12:28:01]accept exits with 8 [12:28:01]New connection [12:28:01]New thread 3066748260 created [12:28:01]Thread 3066604900 joined [12:28:01]Waiting for new connection... [12:28:01] Sock 8.Parse request [12:28:01]Sock 8.Check first char [12:28:01]Sock 8.First char is OK [12:28:01]request: POST /json_proto HTTP/1.0 [12:28:01]Method: POST [12:28:01]URL: /json_proto [12:28:01]Method is POST - this is cgi request [12:28:01]url: /json_proto [12:28:01]query_string will be loaded in cgi processing [12:28:01]execute_cgi json_proto POST (null) [12:28:01]execute_cgi path=json_proto method=POST [12:28:01]POST find Content-Length [12:28:01]Host: 172.17.56.68:8080 [12:28:01]Content-Length: 612 [12:28:01]Content-Type: application/json [12:28:01] [12:28:01]POST finish read [12:28:01]Found Content-Length = 612 [12:28:01]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4420", "tax_sys" : 0, "items" : [ { "code": "48744317", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Camel Yellow", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 150.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:28:01]execute_script... [12:28: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)4420", "tax_sys" : 0, "items" : [ { "code": "48744317", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Camel Yellow", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 150.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:28:01]POST & json_proto [12:28:01]process_json_proto [12:28:01]json parsed OK: [12:28:01]protocol is kg_v1.0 [12:28:01]action value=close_receipt [12:28:01]process_action close_receipt [12:28:01]cmd_close_receipt [12:28:01]MH_GetDate [12:28:01]Write to MH i2c: F0 00 00 6E 02 5F [12:28:01]Write i2c OK [12:28:01]MH_I2C_Read... [12:28:01]Read from MH i2c: F0 [12:28:01]MH_I2C_Read... [12:28:01]Read from MH i2c: F0 09 00 [12:28:01]MH_I2C_Read... [12:28:01]Read from MH i2c: F0 09 00 6E 02 00 D1 59 60 66 42 69 5C 66 C5 [12:28:01]GetLastDocTimeStamp 1717590454 [12:28:01]current date 1717590481 [12:28:01]FM_GetShiftState [12:28:01]SAM_PROTO_GetShiftState [12:28:01]wFMCommunicate request_size=4 [12:28:01]MH_SAM_APDU [12:28:01]CAPDU: 80 13 01 00 [12:28:01]Write to MH i2c: E2 08 00 6F 02 80 13 01 00 00 00 00 00 EE [12:28:01]Write i2c OK [12:28:01]MH_I2C_Read... [12:28:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:28:01]Read from MH i2c: E2 [12:28:01]MH_I2C_Read... [12:28:01]Read from MH i2c: E2 0E 00 [12:28:01]MH_I2C_Read... [12:28:01]Read from MH i2c: E2 0E 00 6F 02 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 8F [12:28:01]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [12:28:01]wFMCommunicate OK [12:28:01]SAM_PROTO_GetShiftState done [12:28:01]FM_GetShiftState done [12:28:01]opened in 1717545765 [12:28:01]opened+sec_in_day 1717632165 [12:28:01]quantity*price = 15000 [12:28:01]sum+1 = 15001 [12:28:01]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 150.00 НСП 1% : 1.33 НДС 12% : 15.93 Наличными: 150.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 25 05.06.2024 12:28 Смена: 84 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4167 ФПД: 63465043310412 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T122801&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4167&fm=63465043310412&tin=02508201610067®Number=0000000000145775&sum=15000 0 [12:28:02]StoreToDocumentArchive [12:28:02]shift 84 fd 4167 [12:28:02]save to /storage/0084/doc_00004167 [12:28:02]save last doc name /storage/0084/doc_00004167 to /storage/kkm_last_doc_name [12:28:02]save OK [12:28:02]Clear old archive folders... [12:28:02]ProcessDocumentItem done err = 0, tmpTLVsize=266 [12:28:02]tlvbuf is 01301DD0 [12:28:02]SAM_PROTO_ClearQueue [12:28:02]wFMCommunicate request_size=4 [12:28:02]MH_SAM_APDU [12:28:02]CAPDU: 80 09 00 00 [12:28:02]Write to MH i2c: E2 08 00 7C 02 80 09 00 00 00 00 00 00 F0 [12:28:02]Write i2c OK [12:28:02]MH_I2C_Read... [12:28:02]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:28:02]Read from MH i2c: E2 [12:28:02]MH_I2C_Read... [12:28:02]Read from MH i2c: E2 03 00 [12:28:02]MH_I2C_Read... [12:28:02]Read from MH i2c: E2 03 00 7C 02 00 90 00 F2 [12:28:02]RAPDU: 90 00 [12:28:02]wFMCommunicate OK [12:28:02]SAM_PROTO_ClearQueue done [12:28:02]KKMCreateOFDPacket [12:28:02]OFDProtocolAddRootSTLVToBuf [12:28:02]FM_MakeSignedData [12:28:02]FM_MakeSignedData [12:28:02]SAM_PROTO_SignData [12:28:02]wFMCommunicate request_size=4 [12:28:02]MH_SAM_APDU [12:28:02]CAPDU: 80 0D 01 02 [12:28:02]Write to MH i2c: E2 08 00 7D 02 80 0D 01 02 00 00 00 00 F8 [12:28:02]Write i2c OK [12:28:02]MH_I2C_Read... [12:28:02]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:28:02]Read from MH i2c: E2 [12:28:02]MH_I2C_Read... [12:28:02]Read from MH i2c: E2 03 00 [12:28:02]MH_I2C_Read... [12:28:02]Read from MH i2c: E2 03 00 7D 02 00 90 00 F3 [12:28:02]RAPDU: 90 00 [12:28:02]wFMCommunicate OK [12:28:02]wFMCommunicate request_size=255 [12:28:02]MH_SAM_APDU [12:28:02]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 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 D1 59 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 [12:28:02]Write to MH i2c: E2 02 01 7E 02 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 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 D1 59 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 00 00 22 [12:28:02]Write i2c OK [12:28:02]MH_I2C_Read... [12:28:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:28:02]Read from MH i2c: E2 [12:28:02]MH_I2C_Read... [12:28:02]Read from MH i2c: E2 03 00 [12:28:02]MH_I2C_Read... [12:28:02]Read from MH i2c: E2 03 00 7E 02 00 90 00 F4 [12:28:02]RAPDU: 90 00 [12:28:02]wFMCommunicate OK [12:28:02]wFMCommunicate request_size=25 [12:28:02]MH_SAM_APDU [12:28:02]CAPDU: 80 0D 02 02 14 36 30 10 04 04 00 47 10 00 00 35 04 06 00 39 B8 9B 5C B7 4C [12:28:02]Write to MH i2c: E2 1C 00 7F 02 80 0D 02 02 14 00 36 30 10 04 04 00 47 10 00 00 35 04 06 00 39 B8 9B 5C B7 4C 00 00 22 [12:28:02]Write i2c OK [12:28:02]MH_I2C_Read... [12:28:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:28:02]Read from MH i2c: E2 [12:28:02]MH_I2C_Read... [12:28:02]Read from MH i2c: E2 03 00 [12:28:02]MH_I2C_Read... [12:28:02]Read from MH i2c: E2 03 00 7F 02 00 90 00 F5 [12:28:02]RAPDU: 90 00 [12:28:02]wFMCommunicate OK [12:28:02]wFMCommunicate request_size=4 [12:28:02]MH_SAM_APDU [12:28:02]CAPDU: 80 0D 03 02 [12:28:02]Write to MH i2c: E2 08 00 80 02 80 0D 03 02 00 00 00 00 FD [12:28:02]Write i2c OK [12:28:02]MH_I2C_Read... [12:28:02]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:28:02]Read from MH i2c: E2 [12:28:02]MH_I2C_Read... [12:28:02]Read from MH i2c: E2 0B 00 [12:28:02]MH_I2C_Read... [12:28:02]Read from MH i2c: E2 0B 00 80 02 00 28 5E A2 6F E1 3E 92 85 90 00 CB [12:28:02]RAPDU: 28 5E A2 6F E1 3E 92 85 90 00 [12:28:02]wFMCommunicate OK [12:28:02]SAM_PROTO_SignData done [12:28:02]FM_MakeSignedData done [12:28:02]CreateOFDProtocolMessage [12:28:02]wFMCommunicate request_size=4 [12:28:02]MH_SAM_APDU [12:28:02]CAPDU: 80 11 00 00 [12:28:02]Write to MH i2c: E2 08 00 81 02 80 11 00 00 00 00 00 00 FD [12:28:02]Write i2c OK [12:28:02]MH_I2C_Read... [12:28:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:28:02]Read from MH i2c: E2 [12:28:02]MH_I2C_Read... [12:28:02]Read from MH i2c: E2 17 00 [12:28:02]MH_I2C_Read... [12:28:02]Read from MH i2c: E2 17 00 81 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 50 [12:28:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [12:28:02]wFMCommunicate OK [12:28:02]CreateOFDProtocolMessage done [12:28:02]OFDSenderStorePacket 4167 [12:28:02]StoreOFDPacket docnum=4167 [12:28:02]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 1E 01 00 00 58 89 16 01 AE A6 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 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 D1 59 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 47 10 00 00 35 04 06 00 39 B8 9B 5C B7 4C 28 5E A2 6F E1 3E 92 85 [12:28:02]CheckFolder [12:28:02]dirname=/storage/ofd_packets [12:28:02]CheckFolder done [12:28:02]ProducePacketName [12:28:02]name=ofd_packets/00004167 [12:28:02]NVStorageSaveData ofd_packets/00004167 [12:28:02]File name is /storage/ofd_packets/00004167 [12:28:02]Write 316 bytes [12:28:02]NVStorageSaveData done [12:28:02]OFDSenderStorePacket done [12:28:02]KKMCreateOFDPacket done [12:28:02]NVStorageSaveData kkm_last_timestamp [12:28:02]File name is /storage/kkm_last_timestamp [12:28:02]Write 4 bytes [12:28:02]NVStorageSaveData done [12:28:02]ExternCall_PrintAddStr [12:28:02]wPrintStart [12:28:02]Write to MH i2c: 01 00 00 82 02 84 [12:28:02]Write i2c OK [12:28:02]MH_I2C_Read... [12:28:02]Read from MH i2c: 01 [12:28:02]MH_I2C_Read... [12:28:02]Read from MH i2c: 01 07 00 [12:28:02]MH_I2C_Read... [12:28:02]Read from MH i2c: 01 07 00 82 02 00 00 00 00 00 FF 0F 99 [12:28:02]RasterBufferAndPrint [12:28:02]line Счет N : (3)4420 [12:28:02]line ИНН: 02508201610067 [12:28:02]line Контрольно-Кассовый Чек [12:28:02]line ПРОДАЖА [12:28:02]line Товар: 48744317 [12:28:02]line Сигареты Camel Yellow [12:28:02]line 1.000 * 150.00 [12:28:02]line = 150.00 [12:28:02]line НДС 12% НСП 1% [12:28:02]line > о реализуемом товаре [12:28:02]line ИТОГО: 150.00 [12:28:02]line НСП 1% : 1.33 [12:28:02]line НДС 12% : 15.93 [12:28:02]line Наличными: 150.00 [12:28:02]line Безнал.: 0.00 [12:28:02]line Место: АЗС № 116 "Партнер Нефть" [12:28:02]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [12:28:02]line СНО: Общий режим [12:28:02]line Чек 25 05.06.2024 12:28 [12:28:02]line Смена: 84 ФФД: 1.0 [12:28:02]line ЗНМ: 0300000233 [12:28:02]line РНМ: 0000000000145775 [12:28:02]line Версия ККМ: v1.0 [12:28:02]line ФМ: 0000000000959360 [12:28:02]line ФД: 4167 [12:28:02]line ФПД: 63465043310412 [12:28:03]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T122801&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4167&fm=63465043310412&tin=02508201610067®Number=0000000000145775&sum=15000 [12:28:03]line 0 [12:28:03]OFD Sender: Processing packet 4167 [packets to send 2, broken 1] [12:28:03]ProducePacketName [12:28:03]name=ofd_packets/00004167 [12:28:03]OFD Sender: To server: pG, [12:28:03]CommunicateWithHost lk.salyk.kg:30040 [12:28:03]ConnectInit lk.salyk.kg [12:28:03]written 0, free lines is 4095 [12:28:03]Connected sock=9 [12:28:03]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 1E 01 00 00 58 89 16 01 AE A6 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 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 D1 59 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 47 10 00 00 35 04 06 00 39 B8 9B 5C B7 4C 28 5E A2 6F E1 3E 92 85 [12:28:03]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 87 7B 47 00 3D 87 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 47 10 00 00 F4 03 04 00 CF 05 60 66 B6 04 01 00 00 B6 9B BD 9E 76 0E 61 41 [12:28:03]CommunicateWithHost err = 0 [12:28:03]CheckOFDResponse [12:28:03]1017 (14) - 77093643461234 [12:28:03]1041 (16) - 0000000000959360 [12:28:03]1040 (4) - 4167 [12:28:03]1012 (4) - 05.06.2024 06:29 [12:28:03]1206 (1) - 0 [12:28:03]OFD Sender: Remove packet 4167 [12:28:03]ProducePacketName [12:28:03]name=ofd_packets/00004167 [12:28:03]NVStorageDeleteData [12:28:03]Write to MH i2c: 01 00 00 AA 02 AC [12:28:03]Write i2c OK [12:28:03]MH_I2C_Read... [12:28:03]Read from MH i2c: 01 [12:28:03]MH_I2C_Read... [12:28:03]Read from MH i2c: 01 07 00 [12:28:03]MH_I2C_Read... [12:28:03]Read from MH i2c: 01 07 00 AA 02 00 00 00 00 00 D0 0C 8F [12:28:03]RasterBufferAndPrint [12:28:03]line [12:28:03]line [12:28:03]line [12:28:03]line [12:28:03]line [12:28:03]written 0, free lines is 3286 [12:28:03]MH_Cut [12:28:03]Write to MH i2c: D1 01 00 B1 02 01 85 [12:28:03]Write i2c OK [12:28:03]MH_I2C_Read... [12:28:03]Read from MH i2c: D1 [12:28:03]MH_I2C_Read... [12:28:03]Read from MH i2c: D1 01 00 [12:28:03]MH_I2C_Read... [12:28:03]Read from MH i2c: D1 01 00 B1 02 00 84 [12:28:03]Write to MH i2c: 01 00 00 B2 02 B4 [12:28:03]Write i2c OK [12:28:03]MH_I2C_Read... [12:28:03]OFD Sender: No OFD packet to send [12:28:04]*** Cut start [12:28:04]*** Partial cut [12:28:04]*** CUTSNS_PIN = 1 [12:28:04]*** CUTSNS_PIN = 0 [12:28:04]*** Brake cut motor [12:28:05]Read from MH i2c: 01 [12:28:05]MH_I2C_Read... [12:28:05]*** Stop cut motor [12:28:05]*** Cut end [12:28:05]Read from MH i2c: 01 07 00 [12:28:05]MH_I2C_Read... [12:28:05]Read from MH i2c: 01 07 00 B2 02 00 00 00 00 00 FF 0F C9 [12:28:05]process_action close_receipt done [12:28:05]requested_data is exist [12:28:05]produce_requested_data [12:28:05]requested_item fm.sn is exist - process it [12:28:05]wFMCommunicate request_size=4 [12:28:05]MH_SAM_APDU [12:28:05]CAPDU: 80 11 00 00 [12:28:05]Write to MH i2c: E2 08 00 B3 02 80 11 00 00 00 00 00 00 2F [12:28:05]Write i2c OK [12:28:05]MH_I2C_Read... [12:28:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:28:05]Read from MH i2c: E2 [12:28:05]MH_I2C_Read... [12:28:05]Read from MH i2c: E2 17 00 [12:28:05]MH_I2C_Read... [12:28:05]Read from MH i2c: E2 17 00 B3 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 82 [12:28:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [12:28:05]wFMCommunicate OK [12:28:05]requested_item fd.num is exist - process it [12:28:05]SAM_PROTO_GetFieldsCounters [12:28:05]wFMCommunicate request_size=4 [12:28:05]MH_SAM_APDU [12:28:05]CAPDU: 80 13 00 00 [12:28:05]Write to MH i2c: E2 08 00 B4 02 80 13 00 00 00 00 00 00 32 [12:28:05]Write i2c OK [12:28:05]MH_I2C_Read... [12:28:05]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:28:05]Read from MH i2c: E2 [12:28:05]MH_I2C_Read... [12:28:05]Read from MH i2c: E2 62 00 [12:28:05]MH_I2C_Read... [12:28:05]Read from MH i2c: E2 62 00 B4 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 47 10 00 00 0E 04 04 00 54 00 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 4D [12:28:05]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 47 10 00 00 0E 04 04 00 54 00 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:28:05]wFMCommunicate OK [12:28:05]SAM_PROTO_GetFieldsCounters done [12:28:05]requested_item shift.num is exist - process it [12:28:05]requested_item shift.opened is exist - process it [12:28:05]req_shift_opened [12:28:05]FM_GetShiftState [12:28:05]SAM_PROTO_GetShiftState [12:28:05]wFMCommunicate request_size=4 [12:28:05]MH_SAM_APDU [12:28:05]CAPDU: 80 13 01 00 [12:28:05]Write to MH i2c: E2 08 00 B5 02 80 13 01 00 00 00 00 00 34 [12:28:05]Write i2c OK [12:28:05]MH_I2C_Read... [12:28:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:28:05]Read from MH i2c: E2 [12:28:05]MH_I2C_Read... [12:28:05]Read from MH i2c: E2 0E 00 [12:28:05]MH_I2C_Read... [12:28:05]Read from MH i2c: E2 0E 00 B5 02 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 D5 [12:28:05]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [12:28:05]wFMCommunicate OK [12:28:05]SAM_PROTO_GetShiftState done [12:28:05]FM_GetShiftState done [12:28:05]req_shift_opened done [12:28:05]requested_item shift.open_date is exist - process it [12:28:05]req_shift_open_date [12:28:05]req_shift_open_date done [12:28:05]produce_requested_data done [12:28:05]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4167,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765} [12:28:05]process_action_free close_receipt [12:28:05]json_value_free [12:28:05]json_value_free done [12:28:05]process_json_proto returns [12:28:05]Send response to host [12:28:05]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4167,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765}}} [12:28:05]free response buf [12:28:05]execute_script done [12:28:05]execute_script returns [12:28:05]free content buf [12:28:05]Sock 8.Close socket [12:28:05]Sock 8.Thread stoped [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:57]accept exits with 10 [12:28:57]New connection [12:28:57]New thread 3066604900 created [12:28:57]Thread 3066748260 joined [12:28:57]Waiting for new connection... [12:28:57] Sock 10.Parse request [12:28:57]Sock 10.Check first char [12:28:57]Sock 10.First char is OK [12:28:57]request: POST /json_proto HTTP/1.0 [12:28:57]Method: POST [12:28:57]URL: /json_proto [12:28:57]Method is POST - this is cgi request [12:28:57]url: /json_proto [12:28:57]query_string will be loaded in cgi processing [12:28:57]execute_cgi json_proto POST (null) [12:28:57]execute_cgi path=json_proto method=POST [12:28:57]POST find Content-Length [12:28:57]Host: 172.17.56.68:8080 [12:28:57]Content-Length: 796 [12:28:57]Content-Type: application/json [12:28:57] [12:28:57]POST finish read [12:28:57]Found Content-Length = 796 [12:28:57]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4421", "tax_sys" : 0, "items" : [ { "code": "4602441018161", "name": "\u0427\u0438\u043F\u0441\u044B FRY`S \u041A\u0440\u0430\u0431 1/70", "price" : 90.00, "quantity" : 1.000, "sum" : 90.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" : 90.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:28:57]execute_script... [12:28: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)4421", "tax_sys" : 0, "items" : [ { "code": "4602441018161", "name": "\u0427\u0438\u043F\u0441\u044B FRY`S \u041A\u0440\u0430\u0431 1/70", "price" : 90.00, "quantity" : 1.000, "sum" : 90.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" : 90.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:28:57]POST & json_proto [12:28:57]process_json_proto [12:28:57]json parsed OK: [12:28:57]protocol is kg_v1.0 [12:28:57]action value=close_receipt [12:28:57]process_action close_receipt [12:28:57]cmd_close_receipt [12:28:57]MH_GetDate [12:28:57]Write to MH i2c: F0 00 00 B6 02 A7 [12:28:57]Write i2c OK [12:28:57]MH_I2C_Read... [12:28:57]Read from MH i2c: F0 [12:28:57]MH_I2C_Read... [12:28:57]Read from MH i2c: F0 09 00 [12:28:57]MH_I2C_Read... [12:28:57]Read from MH i2c: F0 09 00 B6 02 00 09 5A 60 66 42 69 5C 66 46 [12:28:57]GetLastDocTimeStamp 1717590481 [12:28:57]current date 1717590537 [12:28:57]FM_GetShiftState [12:28:57]SAM_PROTO_GetShiftState [12:28:57]wFMCommunicate request_size=4 [12:28:57]MH_SAM_APDU [12:28:57]CAPDU: 80 13 01 00 [12:28:57]Write to MH i2c: E2 08 00 B7 02 80 13 01 00 00 00 00 00 36 [12:28:57]Write i2c OK [12:28:57]MH_I2C_Read... [12:28:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:28:57]Read from MH i2c: E2 [12:28:57]MH_I2C_Read... [12:28:57]Read from MH i2c: E2 0E 00 [12:28:57]MH_I2C_Read... [12:28:57]Read from MH i2c: E2 0E 00 B7 02 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 D7 [12:28:57]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [12:28:57]wFMCommunicate OK [12:28:57]SAM_PROTO_GetShiftState done [12:28:57]FM_GetShiftState done [12:28:57]opened in 1717545765 [12:28:57]opened+sec_in_day 1717632165 [12:28:57]quantity*price = 9000 [12:28:57]sum+1 = 9001 [12:28:57]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 90.00 НСП 1% : 0.80 НДС 12% : 9.56 Наличными: 0.00 Безнал.: 90.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 26 05.06.2024 12:28 Смена: 84 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 Платежная система: Бакай Банк ФМ: 0000000000959360 ФД: 4168 ФПД: 172931855530971 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T122857&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4168&fm=172931855530971&tin=02508201610067®Number=0000000000145775&sum=9000 0 [12:28:58]StoreToDocumentArchive [12:28:58]shift 84 fd 4168 [12:28:58]save to /storage/0084/doc_00004168 [12:28:58]save last doc name /storage/0084/doc_00004168 to /storage/kkm_last_doc_name [12:28:58]save OK [12:28:58]Clear old archive folders... [12:28:58]ProcessDocumentItem done err = 0, tmpTLVsize=272 [12:28:58]tlvbuf is 0130AD20 [12:28:58]SAM_PROTO_ClearQueue [12:28:58]wFMCommunicate request_size=4 [12:28:58]MH_SAM_APDU [12:28:58]CAPDU: 80 09 00 00 [12:28:58]Write to MH i2c: E2 08 00 C4 02 80 09 00 00 00 00 00 00 38 [12:28:58]Write i2c OK [12:28:58]MH_I2C_Read... [12:28:58]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:28:58]Read from MH i2c: E2 [12:28:58]MH_I2C_Read... [12:28:58]Read from MH i2c: E2 03 00 [12:28:58]MH_I2C_Read... [12:28:58]Read from MH i2c: E2 03 00 C4 02 00 90 00 3A [12:28:58]RAPDU: 90 00 [12:28:58]wFMCommunicate OK [12:28:58]SAM_PROTO_ClearQueue done [12:28:58]KKMCreateOFDPacket [12:28:58]OFDProtocolAddRootSTLVToBuf [12:28:58]FM_MakeSignedData [12:28:58]FM_MakeSignedData [12:28:58]SAM_PROTO_SignData [12:28:58]wFMCommunicate request_size=4 [12:28:58]MH_SAM_APDU [12:28:58]CAPDU: 80 0D 01 02 [12:28:58]Write to MH i2c: E2 08 00 C5 02 80 0D 01 02 00 00 00 00 40 [12:28:58]Write i2c OK [12:28:58]MH_I2C_Read... [12:28:58]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:28:58]Read from MH i2c: E2 [12:28:58]MH_I2C_Read... [12:28:58]Read from MH i2c: E2 03 00 [12:28:58]MH_I2C_Read... [12:28:58]Read from MH i2c: E2 03 00 C5 02 00 90 00 3B [12:28:58]RAPDU: 90 00 [12:28:58]wFMCommunicate OK [12:28:58]wFMCommunicate request_size=255 [12:28:58]MH_SAM_APDU [12:28:58]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 30 32 34 34 31 30 31 38 31 36 31 06 04 1E 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 46 52 59 60 53 20 D0 9A D1 80 D0 B0 D0 B1 20 31 2F 37 30 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 23 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BC 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 28 23 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 09 5A 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 [12:28:58]Write to MH i2c: E2 02 01 C6 02 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 30 32 34 34 31 30 31 38 31 36 31 06 04 1E 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 46 52 59 60 53 20 D0 9A D1 80 D0 B0 D0 B1 20 31 2F 37 30 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 23 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BC 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 28 23 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 09 5A 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 00 00 3F [12:28:58]Write i2c OK [12:28:58]MH_I2C_Read... [12:28:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:28:58]Read from MH i2c: E2 [12:28:58]MH_I2C_Read... [12:28:58]Read from MH i2c: E2 03 00 [12:28:58]MH_I2C_Read... [12:28:58]Read from MH i2c: E2 03 00 C6 02 00 90 00 3C [12:28:58]RAPDU: 90 00 [12:28:58]wFMCommunicate OK [12:28:58]wFMCommunicate request_size=31 [12:28:58]MH_SAM_APDU [12:28:58]CAPDU: 80 0D 02 02 1A 30 30 39 35 39 33 36 30 10 04 04 00 48 10 00 00 35 04 06 00 9D 47 D5 D1 BB DB [12:28:58]Write to MH i2c: E2 22 00 C7 02 80 0D 02 02 1A 00 30 30 39 35 39 33 36 30 10 04 04 00 48 10 00 00 35 04 06 00 9D 47 D5 D1 BB DB 00 00 E6 [12:28:58]Write i2c OK [12:28:58]MH_I2C_Read... [12:28:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:28:58]Read from MH i2c: E2 [12:28:58]MH_I2C_Read... [12:28:58]Read from MH i2c: E2 03 00 [12:28:58]MH_I2C_Read... [12:28:58]Read from MH i2c: E2 03 00 C7 02 00 90 00 3D [12:28:58]RAPDU: 90 00 [12:28:58]wFMCommunicate OK [12:28:58]wFMCommunicate request_size=4 [12:28:58]MH_SAM_APDU [12:28:58]CAPDU: 80 0D 03 02 [12:28:58]Write to MH i2c: E2 08 00 C8 02 80 0D 03 02 00 00 00 00 45 [12:28:58]Write i2c OK [12:28:58]MH_I2C_Read... [12:28:58]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:28:58]Read from MH i2c: E2 [12:28:58]MH_I2C_Read... [12:28:58]Read from MH i2c: E2 0B 00 [12:28:58]MH_I2C_Read... [12:28:58]Read from MH i2c: E2 0B 00 C8 02 00 4B CC F0 62 12 CE 45 98 90 00 6C [12:28:58]RAPDU: 4B CC F0 62 12 CE 45 98 90 00 [12:28:58]wFMCommunicate OK [12:28:58]SAM_PROTO_SignData done [12:28:58]FM_MakeSignedData done [12:28:58]CreateOFDProtocolMessage [12:28:58]wFMCommunicate request_size=4 [12:28:58]MH_SAM_APDU [12:28:58]CAPDU: 80 11 00 00 [12:28:58]Write to MH i2c: E2 08 00 C9 02 80 11 00 00 00 00 00 00 45 [12:28:58]Write i2c OK [12:28:58]MH_I2C_Read... [12:28:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:28:58]Read from MH i2c: E2 [12:28:58]MH_I2C_Read... [12:28:58]Read from MH i2c: E2 17 00 [12:28:58]MH_I2C_Read... [12:28:58]Read from MH i2c: E2 17 00 C9 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 98 [12:28:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [12:28:58]wFMCommunicate OK [12:28:58]CreateOFDProtocolMessage done [12:28:58]OFDSenderStorePacket 4168 [12:28:58]StoreOFDPacket docnum=4168 [12:28:58]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 24 01 00 00 C3 4E 1C 01 24 7A 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 30 32 34 34 31 30 31 38 31 36 31 06 04 1E 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 46 52 59 60 53 20 D0 9A D1 80 D0 B0 D0 B1 20 31 2F 37 30 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 23 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BC 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 28 23 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 09 5A 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 48 10 00 00 35 04 06 00 9D 47 D5 D1 BB DB 4B CC F0 62 12 CE 45 98 [12:28:58]CheckFolder [12:28:58]dirname=/storage/ofd_packets [12:28:58]CheckFolder done [12:28:58]ProducePacketName [12:28:58]name=ofd_packets/00004168 [12:28:58]NVStorageSaveData ofd_packets/00004168 [12:28:58]File name is /storage/ofd_packets/00004168 [12:28:58]Write 322 bytes [12:28:58]NVStorageSaveData done [12:28:58]OFDSenderStorePacket done [12:28:58]KKMCreateOFDPacket done [12:28:58]NVStorageSaveData kkm_last_timestamp [12:28:58]File name is /storage/kkm_last_timestamp [12:28:58]Write 4 bytes [12:28:58]NVStorageSaveData done [12:28:58]ExternCall_PrintAddStr [12:28:58]wPrintStart [12:28:58]Write to MH i2c: 01 00 00 CA 02 CC [12:28:58]OFD Sender: Processing packet 4168 [packets to send 2, broken 1] [12:28:58]ProducePacketName [12:28:58]name=ofd_packets/00004168 [12:28:58]OFD Sender: To server: pG, [12:28:58]CommunicateWithHost lk.salyk.kg:30040 [12:28:58]ConnectInit lk.salyk.kg [12:28:58]Write i2c OK [12:28:58]MH_I2C_Read... [12:28:58]Read from MH i2c: 01 [12:28:58]MH_I2C_Read... [12:28:58]Read from MH i2c: 01 07 00 [12:28:58]MH_I2C_Read... [12:28:58]Read from MH i2c: 01 07 00 CA 02 00 00 00 00 00 FF 0F E1 [12:28:58]RasterBufferAndPrint [12:28:58]line Счет N : (3)4421 [12:28:58]line ИНН: 02508201610067 [12:28:58]line Контрольно-Кассовый Чек [12:28:58]line ПРОДАЖА [12:28:58]line Товар: 4602441018161 [12:28:58]line Чипсы FRY`S Краб 1/70 [12:28:58]line 1.000 * 90.00 [12:28:58]line = 90.00 [12:28:58]line НДС 12% НСП 1% [12:28:58]line > о реализуемом товаре [12:28:58]line ИТОГО: 90.00 [12:28:58]line НСП 1% : 0.80 [12:28:58]line НДС 12% : 9.56 [12:28:58]line Наличными: 0.00 [12:28:58]line Безнал.: 90.00 [12:28:58]line Место: АЗС № 116 "Партнер Нефть" [12:28:58]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [12:28:58]line СНО: Общий режим [12:28:58]line Чек 26 05.06.2024 12:28 [12:28:58]line Смена: 84 ФФД: 1.0 [12:28:58]line ЗНМ: 0300000233 [12:28:58]line РНМ: 0000000000145775 [12:28:58]line Версия ККМ: v1.0 [12:28:58]line Платежная система: Бакай Банк [12:28:58]line ФМ: 0000000000959360 [12:28:58]line ФД: 4168 [12:28:58]line ФПД: 172931855530971 [12:28:59]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T122857&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4168&fm=172931855530971&tin=02508201610067®Number=0000000000145775&sum=9000 [12:28:59]line 0 [12:28:59]Connected sock=9 [12:28:59]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 24 01 00 00 C3 4E 1C 01 24 7A 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 30 32 34 34 31 30 31 38 31 36 31 06 04 1E 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 46 52 59 60 53 20 D0 9A D1 80 D0 B0 D0 B1 20 31 2F 37 30 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 23 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BC 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 28 23 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 09 5A 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 48 10 00 00 35 04 06 00 9D 47 D5 D1 BB DB 4B CC F0 62 12 CE 45 98 [12:28:59]written 0, free lines is 4095 [12:28:59]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 14 8D 47 00 16 29 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 48 10 00 00 F4 03 04 00 07 06 60 66 B6 04 01 00 00 2A F3 E6 11 E6 B7 F2 56 [12:28:59]CommunicateWithHost err = 0 [12:28:59]CheckOFDResponse [12:28:59]1017 (14) - 77093643461234 [12:28:59]1041 (16) - 0000000000959360 [12:28:59]1040 (4) - 4168 [12:28:59]1012 (4) - 05.06.2024 06:30 [12:28:59]1206 (1) - 0 [12:28:59]OFD Sender: Remove packet 4168 [12:28:59]ProducePacketName [12:28:59]name=ofd_packets/00004168 [12:28:59]NVStorageDeleteData [12:28:59]Write to MH i2c: 01 00 00 F4 02 F6 [12:28:59]Write i2c OK [12:28:59]MH_I2C_Read... [12:28:59]Read from MH i2c: 01 [12:28:59]MH_I2C_Read... [12:28:59]Read from MH i2c: 01 07 00 [12:28:59]MH_I2C_Read... [12:28:59]Read from MH i2c: 01 07 00 F4 02 00 00 00 00 00 A5 0C AE [12:28:59]RasterBufferAndPrint [12:28:59]line [12:28:59]line [12:28:59]line [12:28:59]line [12:28:59]line [12:28:59]written 0, free lines is 3242 [12:28:59]MH_Cut [12:28:59]Write to MH i2c: D1 01 00 FB 02 01 CF [12:28:59]Write i2c OK [12:28:59]MH_I2C_Read... [12:28:59]Read from MH i2c: D1 [12:28:59]MH_I2C_Read... [12:28:59]Read from MH i2c: D1 01 00 [12:28:59]MH_I2C_Read... [12:28:59]Read from MH i2c: D1 01 00 FB 02 00 CE [12:28:59]Write to MH i2c: 01 00 00 FC 02 FE [12:28:59]Write i2c OK [12:28:59]MH_I2C_Read... [12:28:59]OFD Sender: No OFD packet to send [12:29:00]*** Cut start [12:29:00]*** Partial cut [12:29:00]*** CUTSNS_PIN = 1 [12:29:00]*** CUTSNS_PIN = 0 [12:29:00]*** Brake cut motor [12:29:01]Read from MH i2c: 01 [12:29:01]MH_I2C_Read... [12:29:01]*** Stop cut motor [12:29:01]*** Cut end [12:29:01]Read from MH i2c: 01 07 00 [12:29:01]MH_I2C_Read... [12:29:01]Read from MH i2c: 01 07 00 FC 02 00 00 00 00 00 FF 0F 13 [12:29:01]process_action close_receipt done [12:29:01]requested_data is exist [12:29:01]produce_requested_data [12:29:01]requested_item fm.sn is exist - process it [12:29:01]wFMCommunicate request_size=4 [12:29:01]MH_SAM_APDU [12:29:01]CAPDU: 80 11 00 00 [12:29:01]Write to MH i2c: E2 08 00 FD 02 80 11 00 00 00 00 00 00 79 [12:29:01]Write i2c OK [12:29:01]MH_I2C_Read... [12:29:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:29:01]Read from MH i2c: E2 [12:29:01]MH_I2C_Read... [12:29:01]Read from MH i2c: E2 17 00 [12:29:01]MH_I2C_Read... [12:29:01]Read from MH i2c: E2 17 00 FD 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 CC [12:29:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [12:29:01]wFMCommunicate OK [12:29:01]requested_item fd.num is exist - process it [12:29:01]SAM_PROTO_GetFieldsCounters [12:29:01]wFMCommunicate request_size=4 [12:29:01]MH_SAM_APDU [12:29:01]CAPDU: 80 13 00 00 [12:29:01]Write to MH i2c: E2 08 00 FE 02 80 13 00 00 00 00 00 00 7C [12:29:01]Write i2c OK [12:29:01]MH_I2C_Read... [12:29:01]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:29:01]Read from MH i2c: E2 [12:29:01]MH_I2C_Read... [12:29:01]Read from MH i2c: E2 62 00 [12:29:01]MH_I2C_Read... [12:29:01]Read from MH i2c: E2 62 00 FE 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 48 10 00 00 0E 04 04 00 54 00 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 9B [12:29:01]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 48 10 00 00 0E 04 04 00 54 00 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:29:01]wFMCommunicate OK [12:29:01]SAM_PROTO_GetFieldsCounters done [12:29:01]requested_item shift.num is exist - process it [12:29:01]requested_item shift.opened is exist - process it [12:29:01]req_shift_opened [12:29:01]FM_GetShiftState [12:29:01]SAM_PROTO_GetShiftState [12:29:01]wFMCommunicate request_size=4 [12:29:01]MH_SAM_APDU [12:29:01]CAPDU: 80 13 01 00 [12:29:01]Write to MH i2c: E2 08 00 FF 02 80 13 01 00 00 00 00 00 7E [12:29:01]Write i2c OK [12:29:01]MH_I2C_Read... [12:29:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:29:01]Read from MH i2c: E2 [12:29:01]MH_I2C_Read... [12:29:01]Read from MH i2c: E2 0E 00 [12:29:01]MH_I2C_Read... [12:29:01]Read from MH i2c: E2 0E 00 FF 02 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 1F [12:29:01]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [12:29:01]wFMCommunicate OK [12:29:01]SAM_PROTO_GetShiftState done [12:29:01]FM_GetShiftState done [12:29:01]req_shift_opened done [12:29:01]requested_item shift.open_date is exist - process it [12:29:01]req_shift_open_date [12:29:01]req_shift_open_date done [12:29:01]produce_requested_data done [12:29:01]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4168,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765} [12:29:01]process_action_free close_receipt [12:29:01]json_value_free [12:29:01]json_value_free done [12:29:01]process_json_proto returns [12:29:01]Send response to host [12:29:01]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4168,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765}}} [12:29:01]free response buf [12:29:01]execute_script done [12:29:01]execute_script returns [12:29:01]free content buf [12:29:01]Sock 10.Close socket [12:29:01]Sock 10.Thread stoped [12:29:04]OFD Sender: No OFD packet to send [12:29:09]OFD Sender: No OFD packet to send [12:29:14]OFD Sender: No OFD packet to send [12:29:19]OFD Sender: No OFD packet to send [12:29:25]OFD Sender: No OFD packet to send [12:29:30]OFD Sender: No OFD packet to send [12:29:35]OFD Sender: No OFD packet to send [12:29:40]OFD Sender: No OFD packet to send [12:29:45]OFD Sender: No OFD packet to send [12:29:50]OFD Sender: No OFD packet to send [12:29:55]OFD Sender: No OFD packet to send [12:30:00]OFD Sender: No OFD packet to send [12:30:05]OFD Sender: No OFD packet to send [12:30:10]OFD Sender: No OFD packet to send [12:30:15]OFD Sender: No OFD packet to send [12:30:20]OFD Sender: No OFD packet to send [12:30:25]OFD Sender: No OFD packet to send [12:30:30]OFD Sender: No OFD packet to send [12:30:35]OFD Sender: No OFD packet to send [12:30:40]OFD Sender: No OFD packet to send [12:30:45]OFD Sender: No OFD packet to send [12:30:50]OFD Sender: No OFD packet to send [12:30:55]OFD Sender: No OFD packet to send [12:31:00]OFD Sender: No OFD packet to send [12:31:05]OFD Sender: No OFD packet to send [12:31:10]OFD Sender: No OFD packet to send [12:31:15]OFD Sender: No OFD packet to send [12:31:20]OFD Sender: No OFD packet to send [12:31:25]OFD Sender: No OFD packet to send [12:31:30]OFD Sender: No OFD packet to send [12:31:35]OFD Sender: No OFD packet to send [12:31:40]OFD Sender: No OFD packet to send [12:31:45]OFD Sender: No OFD packet to send [12:31:50]OFD Sender: No OFD packet to send [12:31:55]OFD Sender: No OFD packet to send [12:32:00]OFD Sender: No OFD packet to send [12:32:05]OFD Sender: No OFD packet to send [12:32:10]OFD Sender: No OFD packet to send [12:32:15]OFD Sender: No OFD packet to send [12:32:20]OFD Sender: No OFD packet to send [12:32:25]OFD Sender: No OFD packet to send [12:32:30]OFD Sender: No OFD packet to send [12:32:35]OFD Sender: No OFD packet to send [12:32:40]OFD Sender: No OFD packet to send [12:32:45]OFD Sender: No OFD packet to send [12:32:50]accept exits with 8 [12:32:50]New connection [12:32:50]New thread 3066748260 created [12:32:50]Thread 3066604900 joined [12:32:50]Waiting for new connection... [12:32:50] Sock 8.Parse request [12:32:50]Sock 8.Check first char [12:32:50]Sock 8.First char is OK [12:32:50]request: POST /json_proto HTTP/1.0 [12:32:50]Method: POST [12:32:50]URL: /json_proto [12:32:50]Method is POST - this is cgi request [12:32:50]url: /json_proto [12:32:50]query_string will be loaded in cgi processing [12:32:50]execute_cgi json_proto POST (null) [12:32:50]execute_cgi path=json_proto method=POST [12:32:50]POST find Content-Length [12:32:50]Host: 172.17.56.68:8080 [12:32:50]Content-Length: 645 [12:32:50]Content-Type: application/json [12:32:50] [12:32:50]POST finish read [12:32:50]Found Content-Length = 645 [12:32:50]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4422", "tax_sys" : 0, "items" : [ { "code": "2000034730018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E (GABB TRADE)", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 75.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:32:50]execute_script... [12:32: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)4422", "tax_sys" : 0, "items" : [ { "code": "2000034730018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E (GABB TRADE)", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 75.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:32:50]POST & json_proto [12:32:50]process_json_proto [12:32:50]json parsed OK: [12:32:50]protocol is kg_v1.0 [12:32:50]action value=close_receipt [12:32:50]process_action close_receipt [12:32:50]cmd_close_receipt [12:32:50]MH_GetDate [12:32:50]Write to MH i2c: F0 00 00 00 03 F2 [12:32:50]Write i2c OK [12:32:50]MH_I2C_Read... [12:32:50]Read from MH i2c: F0 [12:32:50]MH_I2C_Read... [12:32:50]Read from MH i2c: F0 09 00 [12:32:50]MH_I2C_Read... [12:32:50]Read from MH i2c: F0 09 00 00 03 00 F2 5A 60 66 42 69 5C 66 7A [12:32:50]GetLastDocTimeStamp 1717590537 [12:32:50]current date 1717590770 [12:32:50]FM_GetShiftState [12:32:50]SAM_PROTO_GetShiftState [12:32:50]wFMCommunicate request_size=4 [12:32:50]MH_SAM_APDU [12:32:50]CAPDU: 80 13 01 00 [12:32:50]Write to MH i2c: E2 08 00 01 03 80 13 01 00 00 00 00 00 81 [12:32:50]Write i2c OK [12:32:50]MH_I2C_Read... [12:32:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:32:50]Read from MH i2c: E2 [12:32:50]MH_I2C_Read... [12:32:50]Read from MH i2c: E2 0E 00 [12:32:50]MH_I2C_Read... [12:32:50]Read from MH i2c: E2 0E 00 01 03 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 22 [12:32:50]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [12:32:50]wFMCommunicate OK [12:32:50]SAM_PROTO_GetShiftState done [12:32:50]FM_GetShiftState done [12:32:50]opened in 1717545765 [12:32:50]opened+sec_in_day 1717632165 [12:32:50]quantity*price = 7500 [12:32:50]sum+1 = 7501 [12:32:50]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 75.00 НСП 1% : 0.66 НДС 12% : 7.96 Наличными: 75.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 27 05.06.2024 12:32 Смена: 84 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4169 ФПД: 162599660712577 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T123250&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4169&fm=162599660712577&tin=02508201610067®Number=0000000000145775&sum=7500 0 [12:32:51]StoreToDocumentArchive [12:32:51]shift 84 fd 4169 [12:32:51]save to /storage/0084/doc_00004169 [12:32:51]save last doc name /storage/0084/doc_00004169 to /storage/kkm_last_doc_name [12:32:51]save OK [12:32:51]Clear old archive folders... [12:32:51]ProcessDocumentItem done err = 0, tmpTLVsize=282 [12:32:51]tlvbuf is 012FB400 [12:32:51]SAM_PROTO_ClearQueue [12:32:51]wFMCommunicate request_size=4 [12:32:51]MH_SAM_APDU [12:32:51]CAPDU: 80 09 00 00 [12:32:51]Write to MH i2c: E2 08 00 0E 03 80 09 00 00 00 00 00 00 83 [12:32:51]Write i2c OK [12:32:51]MH_I2C_Read... [12:32:51]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:32:51]Read from MH i2c: E2 [12:32:51]MH_I2C_Read... [12:32:51]Read from MH i2c: E2 03 00 [12:32:51]MH_I2C_Read... [12:32:51]Read from MH i2c: E2 03 00 0E 03 00 90 00 85 [12:32:51]RAPDU: 90 00 [12:32:51]wFMCommunicate OK [12:32:51]SAM_PROTO_ClearQueue done [12:32:51]KKMCreateOFDPacket [12:32:51]OFDProtocolAddRootSTLVToBuf [12:32:51]FM_MakeSignedData [12:32:51]FM_MakeSignedData [12:32:51]SAM_PROTO_SignData [12:32:51]wFMCommunicate request_size=4 [12:32:51]MH_SAM_APDU [12:32:51]CAPDU: 80 0D 01 02 [12:32:51]Write to MH i2c: E2 08 00 0F 03 80 0D 01 02 00 00 00 00 8B [12:32:51]Write i2c OK [12:32:51]MH_I2C_Read... [12:32:51]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:32:51]Read from MH i2c: E2 [12:32:51]MH_I2C_Read... [12:32:51]Read from MH i2c: E2 03 00 [12:32:51]MH_I2C_Read... [12:32:51]Read from MH i2c: E2 03 00 0F 03 00 90 00 86 [12:32:51]RAPDU: 90 00 [12:32:51]wFMCommunicate OK [12:32:51]wFMCommunicate request_size=255 [12:32:51]MH_SAM_APDU [12:32:51]CAPDU: 80 0D 02 02 FA 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 34 37 33 30 30 31 38 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 1D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 42 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1C 03 00 00 00 00 07 04 06 00 4C 1D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 F2 5A 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 [12:32:51]Write to MH i2c: E2 02 01 10 03 80 0D 02 02 FA 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 34 37 33 30 30 31 38 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 1D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 42 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1C 03 00 00 00 00 07 04 06 00 4C 1D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 F2 5A 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 00 00 6D [12:32:51]Write i2c OK [12:32:51]MH_I2C_Read... [12:32:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:32:51]Read from MH i2c: E2 [12:32:51]MH_I2C_Read... [12:32:51]Read from MH i2c: E2 03 00 [12:32:51]MH_I2C_Read... [12:32:51]Read from MH i2c: E2 03 00 10 03 00 90 00 87 [12:32:51]RAPDU: 90 00 [12:32:51]wFMCommunicate OK [12:32:51]wFMCommunicate request_size=41 [12:32:51]MH_SAM_APDU [12:32:51]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 49 10 00 00 35 04 06 00 93 E2 2F 04 72 81 [12:32:51]Write to MH i2c: E2 2C 00 11 03 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 49 10 00 00 35 04 06 00 93 E2 2F 04 72 81 00 00 51 [12:32:51]Write i2c OK [12:32:51]MH_I2C_Read... [12:32:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:32:51]Read from MH i2c: E2 [12:32:51]MH_I2C_Read... [12:32:51]Read from MH i2c: E2 03 00 [12:32:51]MH_I2C_Read... [12:32:51]Read from MH i2c: E2 03 00 11 03 00 90 00 88 [12:32:51]RAPDU: 90 00 [12:32:51]wFMCommunicate OK [12:32:51]wFMCommunicate request_size=4 [12:32:51]MH_SAM_APDU [12:32:51]CAPDU: 80 0D 03 02 [12:32:51]Write to MH i2c: E2 08 00 12 03 80 0D 03 02 00 00 00 00 90 [12:32:51]Write i2c OK [12:32:51]MH_I2C_Read... [12:32:51]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:32:51]Read from MH i2c: E2 [12:32:51]MH_I2C_Read... [12:32:51]Read from MH i2c: E2 0B 00 [12:32:51]MH_I2C_Read... [12:32:51]Read from MH i2c: E2 0B 00 12 03 00 39 FC 77 AF 1F 8E D1 55 90 00 BF [12:32:51]RAPDU: 39 FC 77 AF 1F 8E D1 55 90 00 [12:32:51]wFMCommunicate OK [12:32:51]SAM_PROTO_SignData done [12:32:51]FM_MakeSignedData done [12:32:51]CreateOFDProtocolMessage [12:32:51]wFMCommunicate request_size=4 [12:32:51]MH_SAM_APDU [12:32:51]CAPDU: 80 11 00 00 [12:32:51]Write to MH i2c: E2 08 00 13 03 80 11 00 00 00 00 00 00 90 [12:32:51]Write i2c OK [12:32:51]MH_I2C_Read... [12:32:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:32:51]Read from MH i2c: E2 [12:32:51]MH_I2C_Read... [12:32:51]Read from MH i2c: E2 17 00 [12:32:51]MH_I2C_Read... [12:32:51]Read from MH i2c: E2 17 00 13 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 E3 [12:32:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [12:32:51]wFMCommunicate OK [12:32:51]CreateOFDProtocolMessage done [12:32:51]OFDSenderStorePacket 4169 [12:32:51]StoreOFDPacket docnum=4169 [12:32:51]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 2E 01 00 00 C5 FC 26 01 A1 54 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 34 37 33 30 30 31 38 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 1D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 42 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1C 03 00 00 00 00 07 04 06 00 4C 1D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 F2 5A 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 49 10 00 00 35 04 06 00 93 E2 2F 04 72 81 39 FC 77 AF 1F 8E D1 55 [12:32:51]CheckFolder [12:32:51]dirname=/storage/ofd_packets [12:32:51]CheckFolder done [12:32:51]ProducePacketName [12:32:51]name=ofd_packets/00004169 [12:32:51]NVStorageSaveData ofd_packets/00004169 [12:32:51]File name is /storage/ofd_packets/00004169 [12:32:51]Write 332 bytes [12:32:51]NVStorageSaveData done [12:32:51]OFDSenderStorePacket done [12:32:51]KKMCreateOFDPacket done [12:32:51]NVStorageSaveData kkm_last_timestamp [12:32:51]File name is /storage/kkm_last_timestamp [12:32:51]Write 4 bytes [12:32:51]NVStorageSaveData done [12:32:51]ExternCall_PrintAddStr [12:32:51]wPrintStart [12:32:51]Write to MH i2c: 01 00 00 14 03 17 [12:32:51]Write i2c OK [12:32:51]MH_I2C_Read... [12:32:51]Read from MH i2c: 01 [12:32:51]MH_I2C_Read... [12:32:51]Read from MH i2c: 01 07 00 [12:32:51]MH_I2C_Read... [12:32:51]Read from MH i2c: 01 07 00 14 03 00 00 00 00 00 FF 0F 2C [12:32:51]RasterBufferAndPrint [12:32:51]line Счет N : (3)4422 [12:32:51]line ИНН: 02508201610067 [12:32:51]line Контрольно-Кассовый Чек [12:32:51]line ПРОДАЖА [12:32:51]line Товар: 2000034730018 [12:32:51]line Кофе Американо (GABB TRADE) [12:32:51]line 1.000 * 75.00 [12:32:51]line = 75.00 [12:32:51]line НДС 12% НСП 1% [12:32:51]line > о реализуемом товаре [12:32:51]line ИТОГО: 75.00 [12:32:51]line НСП 1% : 0.66 [12:32:51]line НДС 12% : 7.96 [12:32:51]line Наличными: 75.00 [12:32:51]line Безнал.: 0.00 [12:32:51]line Место: АЗС № 116 "Партнер Нефть" [12:32:51]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [12:32:51]line СНО: Общий режим [12:32:51]line Чек 27 05.06.2024 12:32 [12:32:51]line Смена: 84 ФФД: 1.0 [12:32:51]line ЗНМ: 0300000233 [12:32:51]line РНМ: 0000000000145775 [12:32:51]line Версия ККМ: v1.0 [12:32:51]line ФМ: 0000000000959360 [12:32:51]line ФД: 4169 [12:32:51]line ФПД: 162599660712577 [12:32:52]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T123250&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4169&fm=162599660712577&tin=02508201610067®Number=0000000000145775&sum=7500 [12:32:52]line 0 [12:32:52]OFD Sender: Processing packet 4169 [packets to send 2, broken 1] [12:32:52]ProducePacketName [12:32:52]name=ofd_packets/00004169 [12:32:52]OFD Sender: To server: pG, [12:32:52]CommunicateWithHost lk.salyk.kg:30040 [12:32:52]ConnectInit lk.salyk.kg [12:32:52]written 0, free lines is 4095 [12:32:52]Connected sock=10 [12:32:52]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 2E 01 00 00 C5 FC 26 01 A1 54 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 34 37 33 30 30 31 38 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 1D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 42 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1C 03 00 00 00 00 07 04 06 00 4C 1D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 F2 5A 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 49 10 00 00 35 04 06 00 93 E2 2F 04 72 81 39 FC 77 AF 1F 8E D1 55 [12:32:52]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 AA 0C 47 00 02 B5 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 49 10 00 00 F4 03 04 00 F0 06 60 66 B6 04 01 00 00 A5 A5 C3 EE 07 39 92 0A [12:32:52]CommunicateWithHost err = 0 [12:32:52]CheckOFDResponse [12:32:52]1017 (14) - 77093643461234 [12:32:52]1041 (16) - 0000000000959360 [12:32:52]1040 (4) - 4169 [12:32:52]1012 (4) - 05.06.2024 06:34 [12:32:52]1206 (1) - 0 [12:32:52]OFD Sender: Remove packet 4169 [12:32:52]ProducePacketName [12:32:52]name=ofd_packets/00004169 [12:32:52]NVStorageDeleteData [12:32:52]Write to MH i2c: 01 00 00 3D 03 40 [12:32:52]Write i2c OK [12:32:52]MH_I2C_Read... [12:32:52]Read from MH i2c: 01 [12:32:52]MH_I2C_Read... [12:32:52]Read from MH i2c: 01 07 00 [12:32:52]MH_I2C_Read... [12:32:52]Read from MH i2c: 01 07 00 3D 03 00 00 00 00 00 B4 0C 07 [12:32:52]RasterBufferAndPrint [12:32:52]line [12:32:52]line [12:32:52]line [12:32:52]line [12:32:52]line [12:32:52]written 0, free lines is 3256 [12:32:52]MH_Cut [12:32:52]Write to MH i2c: D1 01 00 44 03 01 19 [12:32:52]Write i2c OK [12:32:52]MH_I2C_Read... [12:32:52]Read from MH i2c: D1 [12:32:52]MH_I2C_Read... [12:32:52]Read from MH i2c: D1 01 00 [12:32:52]MH_I2C_Read... [12:32:52]Read from MH i2c: D1 01 00 44 03 00 18 [12:32:52]Write to MH i2c: 01 00 00 45 03 48 [12:32:52]Write i2c OK [12:32:52]MH_I2C_Read... [12:32:52]OFD Sender: No OFD packet to send [12:32:53]*** Cut start [12:32:53]*** Partial cut [12:32:53]*** CUTSNS_PIN = 1 [12:32:53]*** CUTSNS_PIN = 0 [12:32:53]*** Brake cut motor [12:32:54]Read from MH i2c: 01 [12:32:54]MH_I2C_Read... [12:32:54]*** Stop cut motor [12:32:54]*** Cut end [12:32:54]Read from MH i2c: 01 07 00 [12:32:54]MH_I2C_Read... [12:32:54]Read from MH i2c: 01 07 00 45 03 00 00 00 00 00 FF 0F 5D [12:32:54]process_action close_receipt done [12:32:54]requested_data is exist [12:32:54]produce_requested_data [12:32:54]requested_item fm.sn is exist - process it [12:32:54]wFMCommunicate request_size=4 [12:32:54]MH_SAM_APDU [12:32:54]CAPDU: 80 11 00 00 [12:32:54]Write to MH i2c: E2 08 00 46 03 80 11 00 00 00 00 00 00 C3 [12:32:54]Write i2c OK [12:32:54]MH_I2C_Read... [12:32:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:32:54]Read from MH i2c: E2 [12:32:54]MH_I2C_Read... [12:32:54]Read from MH i2c: E2 17 00 [12:32:54]MH_I2C_Read... [12:32:54]Read from MH i2c: E2 17 00 46 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 16 [12:32:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [12:32:54]wFMCommunicate OK [12:32:54]requested_item fd.num is exist - process it [12:32:54]SAM_PROTO_GetFieldsCounters [12:32:54]wFMCommunicate request_size=4 [12:32:54]MH_SAM_APDU [12:32:54]CAPDU: 80 13 00 00 [12:32:54]Write to MH i2c: E2 08 00 47 03 80 13 00 00 00 00 00 00 C6 [12:32:54]Write i2c OK [12:32:54]MH_I2C_Read... [12:32:54]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:32:54]Read from MH i2c: E2 [12:32:54]MH_I2C_Read... [12:32:54]Read from MH i2c: E2 62 00 [12:32:54]MH_I2C_Read... [12:32:54]Read from MH i2c: E2 62 00 47 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 49 10 00 00 0E 04 04 00 54 00 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 E9 [12:32:54]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 49 10 00 00 0E 04 04 00 54 00 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:32:54]wFMCommunicate OK [12:32:54]SAM_PROTO_GetFieldsCounters done [12:32:54]requested_item shift.num is exist - process it [12:32:54]requested_item shift.opened is exist - process it [12:32:54]req_shift_opened [12:32:54]FM_GetShiftState [12:32:54]SAM_PROTO_GetShiftState [12:32:54]wFMCommunicate request_size=4 [12:32:54]MH_SAM_APDU [12:32:54]CAPDU: 80 13 01 00 [12:32:54]Write to MH i2c: E2 08 00 48 03 80 13 01 00 00 00 00 00 C8 [12:32:54]Write i2c OK [12:32:54]MH_I2C_Read... [12:32:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:32:54]Read from MH i2c: E2 [12:32:54]MH_I2C_Read... [12:32:54]Read from MH i2c: E2 0E 00 [12:32:54]MH_I2C_Read... [12:32:54]Read from MH i2c: E2 0E 00 48 03 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 69 [12:32:54]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [12:32:54]wFMCommunicate OK [12:32:54]SAM_PROTO_GetShiftState done [12:32:54]FM_GetShiftState done [12:32:54]req_shift_opened done [12:32:54]requested_item shift.open_date is exist - process it [12:32:54]req_shift_open_date [12:32:54]req_shift_open_date done [12:32:54]produce_requested_data done [12:32:54]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4169,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765} [12:32:54]process_action_free close_receipt [12:32:54]json_value_free [12:32:54]json_value_free done [12:32:54]process_json_proto returns [12:32:54]Send response to host [12:32:54]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4169,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765}}} [12:32:54]free response buf [12:32:54]execute_script done [12:32:54]execute_script returns [12:32:54]free content buf [12:32:54]Sock 8.Close socket [12:32:54]Sock 8.Thread stoped [12:32:57]OFD Sender: No OFD packet to send [12:33:02]OFD Sender: No OFD packet to send [12:33:07]OFD Sender: No OFD packet to send [12:33:12]OFD Sender: No OFD packet to send [12:33:17]OFD Sender: No OFD packet to send [12:33:22]OFD Sender: No OFD packet to send [12:33:27]OFD Sender: No OFD packet to send [12:33:32]OFD Sender: No OFD packet to send [12:33:37]OFD Sender: No OFD packet to send [12:33:42]OFD Sender: No OFD packet to send [12:33:47]OFD Sender: No OFD packet to send [12:33:52]OFD Sender: No OFD packet to send [12:33:57]OFD Sender: No OFD packet to send [12:34:02]OFD Sender: No OFD packet to send [12:34:07]OFD Sender: No OFD packet to send [12:34:12]OFD Sender: No OFD packet to send [12:34:17]OFD Sender: No OFD packet to send [12:34:22]OFD Sender: No OFD packet to send [12:34:27]OFD Sender: No OFD packet to send [12:34:32]OFD Sender: No OFD packet to send [12:34:37]OFD Sender: No OFD packet to send [12:34:42]OFD Sender: No OFD packet to send [12:34:48]OFD Sender: No OFD packet to send [12:34:53]OFD Sender: No OFD packet to send [12:34:58]OFD Sender: No OFD packet to send [12:35:03]OFD Sender: No OFD packet to send [12:35:08]OFD Sender: No OFD packet to send [12:35:13]OFD Sender: No OFD packet to send [12:35:18]OFD Sender: No OFD packet to send [12:35:23]OFD Sender: No OFD packet to send [12:35:28]OFD Sender: No OFD packet to send [12:35:33]OFD Sender: No OFD packet to send [12:35:38]OFD Sender: No OFD packet to send [12:35:43]OFD Sender: No OFD packet to send [12:35:48]OFD Sender: No OFD packet to send [12:35:53]OFD Sender: No OFD packet to send [12:35:58]OFD Sender: No OFD packet to send [12:36:03]OFD Sender: No OFD packet to send [12:36:08]OFD Sender: No OFD packet to send [12:36:13]OFD Sender: No OFD packet to send [12:36:18]OFD Sender: No OFD packet to send [12:36:23]OFD Sender: No OFD packet to send [12:36:28]OFD Sender: No OFD packet to send [12:36:33]OFD Sender: No OFD packet to send [12:36:38]OFD Sender: No OFD packet to send [12:36:43]OFD Sender: No OFD packet to send [12:36:48]OFD Sender: No OFD packet to send [12:36:53]OFD Sender: No OFD packet to send [12:36:58]OFD Sender: No OFD packet to send [12:37:03]OFD Sender: No OFD packet to send [12:37:08]OFD Sender: No OFD packet to send [12:37:13]OFD Sender: No OFD packet to send [12:37:18]OFD Sender: No OFD packet to send [12:37:23]OFD Sender: No OFD packet to send [12:37:28]OFD Sender: No OFD packet to send [12:37:33]OFD Sender: No OFD packet to send [12:37:38]OFD Sender: No OFD packet to send [12:37:43]OFD Sender: No OFD packet to send [12:37:48]OFD Sender: No OFD packet to send [12:37:53]OFD Sender: No OFD packet to send [12:37:58]OFD Sender: No OFD packet to send [12:38:03]OFD Sender: No OFD packet to send [12:38:08]OFD Sender: No OFD packet to send [12:38:13]OFD Sender: No OFD packet to send [12:38:18]OFD Sender: No OFD packet to send [12:38:23]OFD Sender: No OFD packet to send [12:38:28]OFD Sender: No OFD packet to send [12:38:33]OFD Sender: No OFD packet to send [12:38:38]OFD Sender: No OFD packet to send [12:38:43]OFD Sender: No OFD packet to send [12:38:48]OFD Sender: No OFD packet to send [12:38:53]OFD Sender: No OFD packet to send [12:38:58]OFD Sender: No OFD packet to send [12:39:03]OFD Sender: No OFD packet to send [12:39:08]OFD Sender: No OFD packet to send [12:39:13]OFD Sender: No OFD packet to send [12:39:18]OFD Sender: No OFD packet to send [12:39:23]OFD Sender: No OFD packet to send [12:39:28]OFD Sender: No OFD packet to send [12:39:33]OFD Sender: No OFD packet to send [12:39:38]OFD Sender: No OFD packet to send [12:39:43]OFD Sender: No OFD packet to send [12:39:48]OFD Sender: No OFD packet to send [12:39:53]OFD Sender: No OFD packet to send [12:39:58]OFD Sender: No OFD packet to send [12:40:03]OFD Sender: No OFD packet to send [12:40:08]OFD Sender: No OFD packet to send [12:40:13]OFD Sender: No OFD packet to send [12:40:18]OFD Sender: No OFD packet to send [12:40:23]OFD Sender: No OFD packet to send [12:40:28]OFD Sender: No OFD packet to send [12:40:33]OFD Sender: No OFD packet to send [12:40:38]OFD Sender: No OFD packet to send [12:40:43]OFD Sender: No OFD packet to send [12:40:48]OFD Sender: No OFD packet to send [12:40:53]OFD Sender: No OFD packet to send [12:40:58]OFD Sender: No OFD packet to send [12:41:03]OFD Sender: No OFD packet to send [12:41:08]OFD Sender: No OFD packet to send [12:41:13]OFD Sender: No OFD packet to send [12:41:18]OFD Sender: No OFD packet to send [12:41:23]OFD Sender: No OFD packet to send [12:41:28]OFD Sender: No OFD packet to send [12:41:33]OFD Sender: No OFD packet to send [12:41:38]OFD Sender: No OFD packet to send [12:41:43]OFD Sender: No OFD packet to send [12:41:48]OFD Sender: No OFD packet to send [12:41:53]OFD Sender: No OFD packet to send [12:41:58]OFD Sender: No OFD packet to send [12:42:03]OFD Sender: No OFD packet to send [12:42:08]OFD Sender: No OFD packet to send [12:42:13]OFD Sender: No OFD packet to send [12:42:18]OFD Sender: No OFD packet to send [12:42:23]OFD Sender: No OFD packet to send [12:42:28]OFD Sender: No OFD packet to send [12:42:33]OFD Sender: No OFD packet to send [12:42:38]OFD Sender: No OFD packet to send [12:42:43]OFD Sender: No OFD packet to send [12:42:48]OFD Sender: No OFD packet to send [12:42:53]OFD Sender: No OFD packet to send [12:42:58]OFD Sender: No OFD packet to send [12:43:03]OFD Sender: No OFD packet to send [12:43:08]OFD Sender: No OFD packet to send [12:43:13]OFD Sender: No OFD packet to send [12:43:18]OFD Sender: No OFD packet to send [12:43:23]OFD Sender: No OFD packet to send [12:43:28]OFD Sender: No OFD packet to send [12:43:33]OFD Sender: No OFD packet to send [12:43:38]OFD Sender: No OFD packet to send [12:43:43]OFD Sender: No OFD packet to send [12:43:48]OFD Sender: No OFD packet to send [12:43:53]OFD Sender: No OFD packet to send [12:43:58]OFD Sender: No OFD packet to send [12:44:03]OFD Sender: No OFD packet to send [12:44:08]OFD Sender: No OFD packet to send [12:44:13]OFD Sender: No OFD packet to send [12:44:18]OFD Sender: No OFD packet to send [12:44:18]accept exits with 9 [12:44:18]New connection [12:44:18]New thread 3066604900 created [12:44:18]Thread 3066748260 joined [12:44:18]Waiting for new connection... [12:44:18] Sock 9.Parse request [12:44:18]Sock 9.Check first char [12:44:18]Sock 9.First char is OK [12:44:18]request: POST /json_proto HTTP/1.0 [12:44:18]Method: POST [12:44:18]URL: /json_proto [12:44:18]Method is POST - this is cgi request [12:44:18]url: /json_proto [12:44:18]query_string will be loaded in cgi processing [12:44:18]execute_cgi json_proto POST (null) [12:44:18]execute_cgi path=json_proto method=POST [12:44:18]POST find Content-Length [12:44:18]Host: 172.17.56.68:8080 [12:44:18]Content-Length: 625 [12:44:18]Content-Type: application/json [12:44:18] [12:44:18]POST finish read [12:44:18]Found Content-Length = 625 [12:44:18]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4423", "tax_sys" : 0, "items" : [ { "code": "2000039440011", "name": "\u0427\u0430\u0439 \u0447\u0435\u0440\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" : 40.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:44:18]execute_script... [12:44:18]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4423", "tax_sys" : 0, "items" : [ { "code": "2000039440011", "name": "\u0427\u0430\u0439 \u0447\u0435\u0440\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" : 40.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:44:18]POST & json_proto [12:44:18]process_json_proto [12:44:18]json parsed OK: [12:44:18]protocol is kg_v1.0 [12:44:18]action value=close_receipt [12:44:18]process_action close_receipt [12:44:18]cmd_close_receipt [12:44:18]MH_GetDate [12:44:18]Write to MH i2c: F0 00 00 49 03 3B [12:44:18]Write i2c OK [12:44:18]MH_I2C_Read... [12:44:18]Read from MH i2c: F0 [12:44:18]MH_I2C_Read... [12:44:18]Read from MH i2c: F0 09 00 [12:44:18]MH_I2C_Read... [12:44:18]Read from MH i2c: F0 09 00 49 03 00 A3 5D 60 66 42 69 5C 66 77 [12:44:18]GetLastDocTimeStamp 1717590770 [12:44:18]current date 1717591459 [12:44:18]FM_GetShiftState [12:44:18]SAM_PROTO_GetShiftState [12:44:18]wFMCommunicate request_size=4 [12:44:18]MH_SAM_APDU [12:44:18]CAPDU: 80 13 01 00 [12:44:18]Write to MH i2c: E2 08 00 4A 03 80 13 01 00 00 00 00 00 CA [12:44:18]Write i2c OK [12:44:18]MH_I2C_Read... [12:44:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:44:19]Read from MH i2c: E2 [12:44:19]MH_I2C_Read... [12:44:19]Read from MH i2c: E2 0E 00 [12:44:19]MH_I2C_Read... [12:44:19]Read from MH i2c: E2 0E 00 4A 03 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 6B [12:44:19]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [12:44:19]wFMCommunicate OK [12:44:19]SAM_PROTO_GetShiftState done [12:44:19]FM_GetShiftState done [12:44:19]opened in 1717545765 [12:44:19]opened+sec_in_day 1717632165 [12:44:19]quantity*price = 4000 [12:44:19]sum+1 = 4001 [12:44:19]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 40.00 НСП 1% : 0.35 НДС 12% : 4.25 Наличными: 40.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 28 05.06.2024 12:44 Смена: 84 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4170 ФПД: 150217069301961 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T124419&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4170&fm=150217069301961&tin=02508201610067®Number=0000000000145775&sum=4000 0 [12:44:20]StoreToDocumentArchive [12:44:20]shift 84 fd 4170 [12:44:20]save to /storage/0084/doc_00004170 [12:44:20]save last doc name /storage/0084/doc_00004170 to /storage/kkm_last_doc_name [12:44:20]save OK [12:44:20]Clear old archive folders... [12:44:20]ProcessDocumentItem done err = 0, tmpTLVsize=270 [12:44:20]tlvbuf is 01306130 [12:44:20]SAM_PROTO_ClearQueue [12:44:20]wFMCommunicate request_size=4 [12:44:20]MH_SAM_APDU [12:44:20]CAPDU: 80 09 00 00 [12:44:20]Write to MH i2c: E2 08 00 57 03 80 09 00 00 00 00 00 00 CC [12:44:20]Write i2c OK [12:44:20]MH_I2C_Read... [12:44:20]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:44:20]Read from MH i2c: E2 [12:44:20]MH_I2C_Read... [12:44:20]Read from MH i2c: E2 03 00 [12:44:20]MH_I2C_Read... [12:44:20]Read from MH i2c: E2 03 00 57 03 00 90 00 CE [12:44:20]RAPDU: 90 00 [12:44:20]wFMCommunicate OK [12:44:20]SAM_PROTO_ClearQueue done [12:44:20]KKMCreateOFDPacket [12:44:20]OFDProtocolAddRootSTLVToBuf [12:44:20]FM_MakeSignedData [12:44:20]FM_MakeSignedData [12:44:20]SAM_PROTO_SignData [12:44:20]wFMCommunicate request_size=4 [12:44:20]MH_SAM_APDU [12:44:20]CAPDU: 80 0D 01 02 [12:44:20]Write to MH i2c: E2 08 00 58 03 80 0D 01 02 00 00 00 00 D4 [12:44:20]Write i2c OK [12:44:20]MH_I2C_Read... [12:44:20]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:44:20]Read from MH i2c: E2 [12:44:20]MH_I2C_Read... [12:44:20]Read from MH i2c: E2 03 00 [12:44:20]MH_I2C_Read... [12:44:20]Read from MH i2c: E2 03 00 58 03 00 90 00 CF [12:44:20]RAPDU: 90 00 [12:44:20]wFMCommunicate OK [12:44:20]wFMCommunicate request_size=255 [12:44:20]MH_SAM_APDU [12:44:20]CAPDU: 80 0D 02 02 FA 03 00 0E 01 1E 04 01 00 01 23 04 60 00 8A 04 0D 00 32 30 30 30 30 33 39 34 34 30 30 31 31 06 04 1C 00 D0 A7 D0 B0 D0 B9 20 D1 87 D0 B5 D1 80 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 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 1C 00 00 00 F4 03 04 00 A3 5D 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 [12:44:20]Write to MH i2c: E2 02 01 59 03 80 0D 02 02 FA 00 03 00 0E 01 1E 04 01 00 01 23 04 60 00 8A 04 0D 00 32 30 30 30 30 33 39 34 34 30 30 31 31 06 04 1C 00 D0 A7 D0 B0 D0 B9 20 D1 87 D0 B5 D1 80 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 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 1C 00 00 00 F4 03 04 00 A3 5D 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 00 00 72 [12:44:20]Write i2c OK [12:44:20]MH_I2C_Read... [12:44:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:44:20]Read from MH i2c: E2 [12:44:20]MH_I2C_Read... [12:44:20]Read from MH i2c: E2 03 00 [12:44:20]MH_I2C_Read... [12:44:20]Read from MH i2c: E2 03 00 59 03 00 90 00 D0 [12:44:20]RAPDU: 90 00 [12:44:20]wFMCommunicate OK [12:44:20]wFMCommunicate request_size=29 [12:44:20]MH_SAM_APDU [12:44:20]CAPDU: 80 0D 02 02 18 39 35 39 33 36 30 10 04 04 00 4A 10 00 00 35 04 06 00 88 9F 23 0E 10 C9 [12:44:20]Write to MH i2c: E2 20 00 5A 03 80 0D 02 02 18 00 39 35 39 33 36 30 10 04 04 00 4A 10 00 00 35 04 06 00 88 9F 23 0E 10 C9 00 00 29 [12:44:20]Write i2c OK [12:44:20]MH_I2C_Read... [12:44:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:44:20]Read from MH i2c: E2 [12:44:20]MH_I2C_Read... [12:44:20]Read from MH i2c: E2 03 00 [12:44:20]MH_I2C_Read... [12:44:20]Read from MH i2c: E2 03 00 5A 03 00 90 00 D1 [12:44:20]RAPDU: 90 00 [12:44:20]wFMCommunicate OK [12:44:20]wFMCommunicate request_size=4 [12:44:20]MH_SAM_APDU [12:44:20]CAPDU: 80 0D 03 02 [12:44:20]Write to MH i2c: E2 08 00 5B 03 80 0D 03 02 00 00 00 00 D9 [12:44:20]Write i2c OK [12:44:20]MH_I2C_Read... [12:44:20]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:44:20]Read from MH i2c: E2 [12:44:20]MH_I2C_Read... [12:44:20]Read from MH i2c: E2 0B 00 [12:44:20]MH_I2C_Read... [12:44:20]Read from MH i2c: E2 0B 00 5B 03 00 1F BC 7B A9 A8 0C 3F 42 90 00 0E [12:44:20]RAPDU: 1F BC 7B A9 A8 0C 3F 42 90 00 [12:44:20]wFMCommunicate OK [12:44:20]SAM_PROTO_SignData done [12:44:20]FM_MakeSignedData done [12:44:20]CreateOFDProtocolMessage [12:44:20]wFMCommunicate request_size=4 [12:44:20]MH_SAM_APDU [12:44:20]CAPDU: 80 11 00 00 [12:44:20]Write to MH i2c: E2 08 00 5C 03 80 11 00 00 00 00 00 00 D9 [12:44:20]Write i2c OK [12:44:20]MH_I2C_Read... [12:44:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:44:20]Read from MH i2c: E2 [12:44:20]MH_I2C_Read... [12:44:20]Read from MH i2c: E2 17 00 [12:44:20]MH_I2C_Read... [12:44:20]Read from MH i2c: E2 17 00 5C 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 2C [12:44:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [12:44:20]wFMCommunicate OK [12:44:20]CreateOFDProtocolMessage done [12:44:20]OFDSenderStorePacket 4170 [12:44:20]StoreOFDPacket docnum=4170 [12:44:20]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 22 01 00 00 7F 15 1A 01 31 D8 5A 03 01 00 03 00 0E 01 1E 04 01 00 01 23 04 60 00 8A 04 0D 00 32 30 30 30 30 33 39 34 34 30 30 31 31 06 04 1C 00 D0 A7 D0 B0 D0 B9 20 D1 87 D0 B5 D1 80 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 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 1C 00 00 00 F4 03 04 00 A3 5D 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 4A 10 00 00 35 04 06 00 88 9F 23 0E 10 C9 1F BC 7B A9 A8 0C 3F 42 [12:44:20]CheckFolder [12:44:20]dirname=/storage/ofd_packets [12:44:20]CheckFolder done [12:44:20]ProducePacketName [12:44:20]name=ofd_packets/00004170 [12:44:20]NVStorageSaveData ofd_packets/00004170 [12:44:20]File name is /storage/ofd_packets/00004170 [12:44:20]Write 320 bytes [12:44:20]NVStorageSaveData done [12:44:20]OFDSenderStorePacket done [12:44:20]KKMCreateOFDPacket done [12:44:20]NVStorageSaveData kkm_last_timestamp [12:44:20]File name is /storage/kkm_last_timestamp [12:44:20]Write 4 bytes [12:44:20]NVStorageSaveData done [12:44:20]ExternCall_PrintAddStr [12:44:20]wPrintStart [12:44:20]Write to MH i2c: 01 00 00 5D 03 60 [12:44:20]Write i2c OK [12:44:20]MH_I2C_Read... [12:44:20]Read from MH i2c: 01 [12:44:20]MH_I2C_Read... [12:44:20]Read from MH i2c: 01 07 00 [12:44:20]MH_I2C_Read... [12:44:20]Read from MH i2c: 01 07 00 5D 03 00 00 00 00 00 FF 0F 75 [12:44:20]RasterBufferAndPrint [12:44:20]line Счет N : (3)4423 [12:44:20]line ИНН: 02508201610067 [12:44:20]line Контрольно-Кассовый Чек [12:44:20]line ПРОДАЖА [12:44:20]line Товар: 2000039440011 [12:44:20]line Чай черный 200 мл [12:44:20]line 1.000 * 40.00 [12:44:20]line = 40.00 [12:44:20]line НДС 12% НСП 1% [12:44:20]line > о реализуемом товаре [12:44:20]line ИТОГО: 40.00 [12:44:20]line НСП 1% : 0.35 [12:44:20]line НДС 12% : 4.25 [12:44:20]line Наличными: 40.00 [12:44:20]line Безнал.: 0.00 [12:44:20]line Место: АЗС № 116 "Партнер Нефть" [12:44:20]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [12:44:20]line СНО: Общий режим [12:44:20]line Чек 28 05.06.2024 12:44 [12:44:20]line Смена: 84 ФФД: 1.0 [12:44:20]line ЗНМ: 0300000233 [12:44:20]line РНМ: 0000000000145775 [12:44:20]line Версия ККМ: v1.0 [12:44:20]line ФМ: 0000000000959360 [12:44:20]line ФД: 4170 [12:44:20]line ФПД: 150217069301961 [12:44:21]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T124419&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4170&fm=150217069301961&tin=02508201610067®Number=0000000000145775&sum=4000 [12:44:21]line 0 [12:44:21]OFD Sender: Processing packet 4170 [packets to send 2, broken 1] [12:44:21]ProducePacketName [12:44:21]name=ofd_packets/00004170 [12:44:21]OFD Sender: To server: pG, [12:44:21]CommunicateWithHost lk.salyk.kg:30040 [12:44:21]ConnectInit lk.salyk.kg [12:44:21]written 0, free lines is 4095 [12:44:21]Connected sock=11 [12:44:21]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 22 01 00 00 7F 15 1A 01 31 D8 5A 03 01 00 03 00 0E 01 1E 04 01 00 01 23 04 60 00 8A 04 0D 00 32 30 30 30 30 33 39 34 34 30 30 31 31 06 04 1C 00 D0 A7 D0 B0 D0 B9 20 D1 87 D0 B5 D1 80 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 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 1C 00 00 00 F4 03 04 00 A3 5D 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 4A 10 00 00 35 04 06 00 88 9F 23 0E 10 C9 1F BC 7B A9 A8 0C 3F 42 [12:44:21]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 CC C6 47 00 B4 35 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 4A 10 00 00 F4 03 04 00 A1 09 60 66 B6 04 01 00 00 E4 5A 62 E4 65 FB FA CB [12:44:21]CommunicateWithHost err = 0 [12:44:21]CheckOFDResponse [12:44:21]1017 (14) - 77093643461234 [12:44:21]1041 (16) - 0000000000959360 [12:44:21]1040 (4) - 4170 [12:44:21]1012 (4) - 05.06.2024 06:45 [12:44:21]1206 (1) - 0 [12:44:21]OFD Sender: Remove packet 4170 [12:44:21]ProducePacketName [12:44:21]name=ofd_packets/00004170 [12:44:21]NVStorageDeleteData [12:44:21]Write to MH i2c: 01 00 00 85 03 88 [12:44:21]Write i2c OK [12:44:21]MH_I2C_Read... [12:44:21]Read from MH i2c: 01 [12:44:21]MH_I2C_Read... [12:44:21]Read from MH i2c: 01 07 00 [12:44:21]MH_I2C_Read... [12:44:21]Read from MH i2c: 01 07 00 85 03 00 00 00 00 00 C6 0C 61 [12:44:21]RasterBufferAndPrint [12:44:21]line [12:44:21]line [12:44:21]line [12:44:21]line [12:44:21]line [12:44:21]written 0, free lines is 3275 [12:44:21]MH_Cut [12:44:21]Write to MH i2c: D1 01 00 8C 03 01 61 [12:44:21]Write i2c OK [12:44:21]MH_I2C_Read... [12:44:21]Read from MH i2c: D1 [12:44:21]MH_I2C_Read... [12:44:21]Read from MH i2c: D1 01 00 [12:44:21]MH_I2C_Read... [12:44:21]Read from MH i2c: D1 01 00 8C 03 00 60 [12:44:21]Write to MH i2c: 01 00 00 8D 03 90 [12:44:21]Write i2c OK [12:44:21]MH_I2C_Read... [12:44:21]OFD Sender: No OFD packet to send [12:44:22]*** Cut start [12:44:22]*** Partial cut [12:44:22]*** CUTSNS_PIN = 1 [12:44:22]*** CUTSNS_PIN = 0 [12:44:22]*** Brake cut motor [12:44:22]Read from MH i2c: 01 [12:44:23]MH_I2C_Read... [12:44:23]*** Stop cut motor [12:44:23]*** Cut end [12:44:23]Read from MH i2c: 01 07 00 [12:44:23]MH_I2C_Read... [12:44:23]Read from MH i2c: 01 07 00 8D 03 00 00 00 00 00 FF 0F A5 [12:44:23]process_action close_receipt done [12:44:23]requested_data is exist [12:44:23]produce_requested_data [12:44:23]requested_item fm.sn is exist - process it [12:44:23]wFMCommunicate request_size=4 [12:44:23]MH_SAM_APDU [12:44:23]CAPDU: 80 11 00 00 [12:44:23]Write to MH i2c: E2 08 00 8E 03 80 11 00 00 00 00 00 00 0B [12:44:23]Write i2c OK [12:44:23]MH_I2C_Read... [12:44:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:44:23]Read from MH i2c: E2 [12:44:23]MH_I2C_Read... [12:44:23]Read from MH i2c: E2 17 00 [12:44:23]MH_I2C_Read... [12:44:23]Read from MH i2c: E2 17 00 8E 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 5E [12:44:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [12:44:23]wFMCommunicate OK [12:44:23]requested_item fd.num is exist - process it [12:44:23]SAM_PROTO_GetFieldsCounters [12:44:23]wFMCommunicate request_size=4 [12:44:23]MH_SAM_APDU [12:44:23]CAPDU: 80 13 00 00 [12:44:23]Write to MH i2c: E2 08 00 8F 03 80 13 00 00 00 00 00 00 0E [12:44:23]Write i2c OK [12:44:23]MH_I2C_Read... [12:44:23]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:44:23]Read from MH i2c: E2 [12:44:23]MH_I2C_Read... [12:44:23]Read from MH i2c: E2 62 00 [12:44:23]MH_I2C_Read... [12:44:23]Read from MH i2c: E2 62 00 8F 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 4A 10 00 00 0E 04 04 00 54 00 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 35 [12:44:23]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 4A 10 00 00 0E 04 04 00 54 00 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:44:23]wFMCommunicate OK [12:44:23]SAM_PROTO_GetFieldsCounters done [12:44:23]requested_item shift.num is exist - process it [12:44:23]requested_item shift.opened is exist - process it [12:44:23]req_shift_opened [12:44:23]FM_GetShiftState [12:44:23]SAM_PROTO_GetShiftState [12:44:23]wFMCommunicate request_size=4 [12:44:23]MH_SAM_APDU [12:44:23]CAPDU: 80 13 01 00 [12:44:23]Write to MH i2c: E2 08 00 90 03 80 13 01 00 00 00 00 00 10 [12:44:23]Write i2c OK [12:44:23]MH_I2C_Read... [12:44:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:44:23]Read from MH i2c: E2 [12:44:23]MH_I2C_Read... [12:44:23]Read from MH i2c: E2 0E 00 [12:44:23]MH_I2C_Read... [12:44:23]Read from MH i2c: E2 0E 00 90 03 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 B1 [12:44:23]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [12:44:23]wFMCommunicate OK [12:44:23]SAM_PROTO_GetShiftState done [12:44:23]FM_GetShiftState done [12:44:23]req_shift_opened done [12:44:23]requested_item shift.open_date is exist - process it [12:44:23]req_shift_open_date [12:44:23]req_shift_open_date done [12:44:23]produce_requested_data done [12:44:23]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4170,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765} [12:44:23]process_action_free close_receipt [12:44:23]json_value_free [12:44:23]json_value_free done [12:44:23]process_json_proto returns [12:44:23]Send response to host [12:44:23]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4170,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765}}} [12:44:23]free response buf [12:44:23]execute_script done [12:44:23]execute_script returns [12:44:23]free content buf [12:44:23]Sock 9.Close socket [12:44:23]Sock 9.Thread stoped [12:44:26]OFD Sender: No OFD packet to send [12:44:31]OFD Sender: No OFD packet to send [12:44:36]OFD Sender: No OFD packet to send [12:44:41]OFD Sender: No OFD packet to send [12:44:46]OFD Sender: No OFD packet to send [12:44:51]OFD Sender: No OFD packet to send [12:44:56]OFD Sender: No OFD packet to send [12:45:01]OFD Sender: No OFD packet to send [12:45:06]OFD Sender: No OFD packet to send [12:45:11]OFD Sender: No OFD packet to send [12:45:16]OFD Sender: No OFD packet to send [12:45:21]OFD Sender: No OFD packet to send [12:45:26]OFD Sender: No OFD packet to send [12:45:31]OFD Sender: No OFD packet to send [12:45:36]OFD Sender: No OFD packet to send [12:45:41]OFD Sender: No OFD packet to send [12:45:46]OFD Sender: No OFD packet to send [12:45:51]OFD Sender: No OFD packet to send [12:45:56]OFD Sender: No OFD packet to send [12:46:01]OFD Sender: No OFD packet to send [12:46:06]OFD Sender: No OFD packet to send [12:46:11]OFD Sender: No OFD packet to send [12:46:16]OFD Sender: No OFD packet to send [12:46:21]OFD Sender: No OFD packet to send [12:46:26]OFD Sender: No OFD packet to send [12:46:31]OFD Sender: No OFD packet to send [12:46:36]OFD Sender: No OFD packet to send [12:46:41]OFD Sender: No OFD packet to send [12:46:46]OFD Sender: No OFD packet to send [12:46:51]OFD Sender: No OFD packet to send [12:46:56]OFD Sender: No OFD packet to send [12:47:01]OFD Sender: No OFD packet to send [12:47:06]OFD Sender: No OFD packet to send [12:47:11]OFD Sender: No OFD packet to send [12:47:16]OFD Sender: No OFD packet to send [12:47:21]OFD Sender: No OFD packet to send [12:47:26]OFD Sender: No OFD packet to send [12:47:31]OFD Sender: No OFD packet to send [12:47:36]OFD Sender: No OFD packet to send [12:47:41]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:01]accept exits with 10 [12:48:01]New connection [12:48:01]New thread 3066748260 created [12:48:01]Thread 3066604900 joined [12:48:01]Waiting for new connection... [12:48:01] Sock 10.Parse request [12:48:01]Sock 10.Check first char [12:48:01]Sock 10.First char is OK [12:48:01]request: POST /json_proto HTTP/1.0 [12:48:01]Method: POST [12:48:01]URL: /json_proto [12:48:01]Method is POST - this is cgi request [12:48:01]url: /json_proto [12:48:01]query_string will be loaded in cgi processing [12:48:01]execute_cgi json_proto POST (null) [12:48:01]execute_cgi path=json_proto method=POST [12:48:01]POST find Content-Length [12:48:01]Host: 172.17.56.68:8080 [12:48:01]Content-Length: 612 [12:48:01]Content-Type: application/json [12:48:01] [12:48:01]POST finish read [12:48:01]Found Content-Length = 612 [12:48:01]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4424", "tax_sys" : 0, "items" : [ { "code": "48744317", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Camel Yellow", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 150.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:48:01]execute_script... [12:48: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)4424", "tax_sys" : 0, "items" : [ { "code": "48744317", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Camel Yellow", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 150.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:48:01]POST & json_proto [12:48:01]process_json_proto [12:48:01]json parsed OK: [12:48:01]protocol is kg_v1.0 [12:48:01]action value=close_receipt [12:48:01]process_action close_receipt [12:48:01]cmd_close_receipt [12:48:01]MH_GetDate [12:48:01]Write to MH i2c: F0 00 00 91 03 83 [12:48:01]Write i2c OK [12:48:01]MH_I2C_Read... [12:48:01]Read from MH i2c: F0 [12:48:01]MH_I2C_Read... [12:48:01]Read from MH i2c: F0 09 00 [12:48:01]MH_I2C_Read... [12:48:01]Read from MH i2c: F0 09 00 91 03 00 82 5E 60 66 42 69 5C 66 9F [12:48:01]GetLastDocTimeStamp 1717591459 [12:48:01]current date 1717591682 [12:48:01]FM_GetShiftState [12:48:01]SAM_PROTO_GetShiftState [12:48:01]wFMCommunicate request_size=4 [12:48:01]MH_SAM_APDU [12:48:01]CAPDU: 80 13 01 00 [12:48:01]Write to MH i2c: E2 08 00 92 03 80 13 01 00 00 00 00 00 12 [12:48:01]Write i2c OK [12:48:01]MH_I2C_Read... [12:48:02]OFD Sender: No OFD packet to send [12:48:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:48:02]Read from MH i2c: E2 [12:48:02]MH_I2C_Read... [12:48:02]Read from MH i2c: E2 0E 00 [12:48:02]MH_I2C_Read... [12:48:02]Read from MH i2c: E2 0E 00 92 03 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 B3 [12:48:02]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [12:48:02]wFMCommunicate OK [12:48:02]SAM_PROTO_GetShiftState done [12:48:02]FM_GetShiftState done [12:48:02]opened in 1717545765 [12:48:02]opened+sec_in_day 1717632165 [12:48:02]quantity*price = 15000 [12:48:02]sum+1 = 15001 [12:48:02]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 150.00 НСП 1% : 1.33 НДС 12% : 15.93 Наличными: 150.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 29 05.06.2024 12:48 Смена: 84 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4171 ФПД: 147776868382687 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T124802&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4171&fm=147776868382687&tin=02508201610067®Number=0000000000145775&sum=15000 0 [12:48:03]StoreToDocumentArchive [12:48:03]shift 84 fd 4171 [12:48:03]save to /storage/0084/doc_00004171 [12:48:03]save last doc name /storage/0084/doc_00004171 to /storage/kkm_last_doc_name [12:48:03]save OK [12:48:03]Clear old archive folders... [12:48:03]ProcessDocumentItem done err = 0, tmpTLVsize=266 [12:48:03]tlvbuf is 01304990 [12:48:03]SAM_PROTO_ClearQueue [12:48:03]wFMCommunicate request_size=4 [12:48:03]MH_SAM_APDU [12:48:03]CAPDU: 80 09 00 00 [12:48:03]Write to MH i2c: E2 08 00 9F 03 80 09 00 00 00 00 00 00 14 [12:48:03]Write i2c OK [12:48:03]MH_I2C_Read... [12:48:03]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:48:03]Read from MH i2c: E2 [12:48:03]MH_I2C_Read... [12:48:03]Read from MH i2c: E2 03 00 [12:48:03]MH_I2C_Read... [12:48:03]Read from MH i2c: E2 03 00 9F 03 00 90 00 16 [12:48:03]RAPDU: 90 00 [12:48:03]wFMCommunicate OK [12:48:03]SAM_PROTO_ClearQueue done [12:48:03]KKMCreateOFDPacket [12:48:03]OFDProtocolAddRootSTLVToBuf [12:48:03]FM_MakeSignedData [12:48:03]FM_MakeSignedData [12:48:03]SAM_PROTO_SignData [12:48:03]wFMCommunicate request_size=4 [12:48:03]MH_SAM_APDU [12:48:03]CAPDU: 80 0D 01 02 [12:48:03]Write to MH i2c: E2 08 00 A0 03 80 0D 01 02 00 00 00 00 1C [12:48:03]Write i2c OK [12:48:03]MH_I2C_Read... [12:48:03]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:48:03]Read from MH i2c: E2 [12:48:03]MH_I2C_Read... [12:48:03]Read from MH i2c: E2 03 00 [12:48:03]MH_I2C_Read... [12:48:03]Read from MH i2c: E2 03 00 A0 03 00 90 00 17 [12:48:03]RAPDU: 90 00 [12:48:03]wFMCommunicate OK [12:48:03]wFMCommunicate request_size=255 [12:48:03]MH_SAM_APDU [12:48:03]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 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 82 5E 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 [12:48:03]Write to MH i2c: E2 02 01 A1 03 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 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 82 5E 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 00 00 00 [12:48:03]Write i2c OK [12:48:03]MH_I2C_Read... [12:48:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:48:03]Read from MH i2c: E2 [12:48:03]MH_I2C_Read... [12:48:03]Read from MH i2c: E2 03 00 [12:48:03]MH_I2C_Read... [12:48:03]Read from MH i2c: E2 03 00 A1 03 00 90 00 18 [12:48:03]RAPDU: 90 00 [12:48:03]wFMCommunicate OK [12:48:03]wFMCommunicate request_size=25 [12:48:03]MH_SAM_APDU [12:48:03]CAPDU: 80 0D 02 02 14 36 30 10 04 04 00 4B 10 00 00 35 04 06 00 86 66 FB BE F7 DF [12:48:03]Write to MH i2c: E2 1C 00 A2 03 80 0D 02 02 14 00 36 30 10 04 04 00 4B 10 00 00 35 04 06 00 86 66 FB BE F7 DF 00 00 DA [12:48:03]Write i2c OK [12:48:03]MH_I2C_Read... [12:48:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:48:03]Read from MH i2c: E2 [12:48:03]MH_I2C_Read... [12:48:03]Read from MH i2c: E2 03 00 [12:48:03]MH_I2C_Read... [12:48:03]Read from MH i2c: E2 03 00 A2 03 00 90 00 19 [12:48:03]RAPDU: 90 00 [12:48:03]wFMCommunicate OK [12:48:03]wFMCommunicate request_size=4 [12:48:03]MH_SAM_APDU [12:48:03]CAPDU: 80 0D 03 02 [12:48:03]Write to MH i2c: E2 08 00 A3 03 80 0D 03 02 00 00 00 00 21 [12:48:03]Write i2c OK [12:48:03]MH_I2C_Read... [12:48:03]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:48:03]Read from MH i2c: E2 [12:48:03]MH_I2C_Read... [12:48:03]Read from MH i2c: E2 0B 00 [12:48:03]MH_I2C_Read... [12:48:03]Read from MH i2c: E2 0B 00 A3 03 00 3D EC 3A FA AC 64 88 84 90 00 9B [12:48:03]RAPDU: 3D EC 3A FA AC 64 88 84 90 00 [12:48:03]wFMCommunicate OK [12:48:03]SAM_PROTO_SignData done [12:48:03]FM_MakeSignedData done [12:48:03]CreateOFDProtocolMessage [12:48:03]wFMCommunicate request_size=4 [12:48:03]MH_SAM_APDU [12:48:03]CAPDU: 80 11 00 00 [12:48:03]Write to MH i2c: E2 08 00 A4 03 80 11 00 00 00 00 00 00 21 [12:48:03]Write i2c OK [12:48:03]MH_I2C_Read... [12:48:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:48:03]Read from MH i2c: E2 [12:48:03]MH_I2C_Read... [12:48:03]Read from MH i2c: E2 17 00 [12:48:03]MH_I2C_Read... [12:48:03]Read from MH i2c: E2 17 00 A4 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 74 [12:48:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [12:48:03]wFMCommunicate OK [12:48:03]CreateOFDProtocolMessage done [12:48:03]OFDSenderStorePacket 4171 [12:48:03]StoreOFDPacket docnum=4171 [12:48:03]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 1E 01 00 00 B4 B8 16 01 FE 42 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 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 82 5E 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 4B 10 00 00 35 04 06 00 86 66 FB BE F7 DF 3D EC 3A FA AC 64 88 84 [12:48:03]CheckFolder [12:48:03]dirname=/storage/ofd_packets [12:48:03]CheckFolder done [12:48:03]ProducePacketName [12:48:03]name=ofd_packets/00004171 [12:48:03]NVStorageSaveData ofd_packets/00004171 [12:48:03]File name is /storage/ofd_packets/00004171 [12:48:03]Write 316 bytes [12:48:03]NVStorageSaveData done [12:48:03]OFDSenderStorePacket done [12:48:03]KKMCreateOFDPacket done [12:48:03]NVStorageSaveData kkm_last_timestamp [12:48:03]File name is /storage/kkm_last_timestamp [12:48:03]Write 4 bytes [12:48:03]NVStorageSaveData done [12:48:03]ExternCall_PrintAddStr [12:48:03]wPrintStart [12:48:03]Write to MH i2c: 01 00 00 A5 03 A8 [12:48:03]Write i2c OK [12:48:03]MH_I2C_Read... [12:48:03]Read from MH i2c: 01 [12:48:03]MH_I2C_Read... [12:48:03]Read from MH i2c: 01 07 00 [12:48:03]MH_I2C_Read... [12:48:03]Read from MH i2c: 01 07 00 A5 03 00 00 00 00 00 FF 0F BD [12:48:03]RasterBufferAndPrint [12:48:03]line Счет N : (3)4424 [12:48:03]line ИНН: 02508201610067 [12:48:03]line Контрольно-Кассовый Чек [12:48:03]line ПРОДАЖА [12:48:03]line Товар: 48744317 [12:48:03]line Сигареты Camel Yellow [12:48:03]line 1.000 * 150.00 [12:48:03]line = 150.00 [12:48:03]line НДС 12% НСП 1% [12:48:03]line > о реализуемом товаре [12:48:03]line ИТОГО: 150.00 [12:48:03]line НСП 1% : 1.33 [12:48:03]line НДС 12% : 15.93 [12:48:03]line Наличными: 150.00 [12:48:03]line Безнал.: 0.00 [12:48:03]line Место: АЗС № 116 "Партнер Нефть" [12:48:03]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [12:48:03]line СНО: Общий режим [12:48:03]line Чек 29 05.06.2024 12:48 [12:48:03]line Смена: 84 ФФД: 1.0 [12:48:03]line ЗНМ: 0300000233 [12:48:03]line РНМ: 0000000000145775 [12:48:03]line Версия ККМ: v1.0 [12:48:03]line ФМ: 0000000000959360 [12:48:03]line ФД: 4171 [12:48:03]line ФПД: 147776868382687 [12:48:03]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T124802&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4171&fm=147776868382687&tin=02508201610067®Number=0000000000145775&sum=15000 [12:48:03]line 0 [12:48:03]OFD Sender: Processing packet 4171 [packets to send 2, broken 1] [12:48:03]ProducePacketName [12:48:03]name=ofd_packets/00004171 [12:48:03]OFD Sender: To server: pG, [12:48:03]CommunicateWithHost lk.salyk.kg:30040 [12:48:04]ConnectInit lk.salyk.kg [12:48:04]written 0, free lines is 4095 [12:48:04]Connected sock=9 [12:48:04]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 1E 01 00 00 B4 B8 16 01 FE 42 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 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 82 5E 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 4B 10 00 00 35 04 06 00 86 66 FB BE F7 DF 3D EC 3A FA AC 64 88 84 [12:48:04]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 41 A0 47 00 19 24 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 4B 10 00 00 F4 03 04 00 80 0A 60 66 B6 04 01 00 00 4A E3 C9 ED 28 A0 F0 A1 [12:48:04]CommunicateWithHost err = 0 [12:48:04]CheckOFDResponse [12:48:04]1017 (14) - 77093643461234 [12:48:04]1041 (16) - 0000000000959360 [12:48:04]1040 (4) - 4171 [12:48:04]1012 (4) - 05.06.2024 06:49 [12:48:04]1206 (1) - 0 [12:48:04]OFD Sender: Remove packet 4171 [12:48:04]ProducePacketName [12:48:04]name=ofd_packets/00004171 [12:48:04]NVStorageDeleteData [12:48:04]Write to MH i2c: 01 00 00 CD 03 D0 [12:48:04]Write i2c OK [12:48:04]MH_I2C_Read... [12:48:04]Read from MH i2c: 01 [12:48:04]MH_I2C_Read... [12:48:04]Read from MH i2c: 01 07 00 [12:48:04]MH_I2C_Read... [12:48:04]Read from MH i2c: 01 07 00 CD 03 00 00 00 00 00 BF 0C A2 [12:48:04]RasterBufferAndPrint [12:48:04]line [12:48:04]line [12:48:04]line [12:48:04]line [12:48:04]line [12:48:04]written 0, free lines is 3268 [12:48:04]MH_Cut [12:48:04]Write to MH i2c: D1 01 00 D4 03 01 A9 [12:48:04]Write i2c OK [12:48:04]MH_I2C_Read... [12:48:04]Read from MH i2c: D1 [12:48:04]MH_I2C_Read... [12:48:04]Read from MH i2c: D1 01 00 [12:48:04]MH_I2C_Read... [12:48:04]Read from MH i2c: D1 01 00 D4 03 00 A8 [12:48:04]Write to MH i2c: 01 00 00 D5 03 D8 [12:48:04]Write i2c OK [12:48:04]MH_I2C_Read... [12:48:04]OFD Sender: No OFD packet to send [12:48:05]*** Cut start [12:48:05]*** Partial cut [12:48:05]*** CUTSNS_PIN = 1 [12:48:05]*** CUTSNS_PIN = 0 [12:48:05]*** Brake cut motor [12:48:05]Read from MH i2c: 01 [12:48:05]MH_I2C_Read... [12:48:05]*** Stop cut motor [12:48:05]*** Cut end [12:48:05]Read from MH i2c: 01 07 00 [12:48:05]MH_I2C_Read... [12:48:05]Read from MH i2c: 01 07 00 D5 03 00 00 00 00 00 FF 0F ED [12:48:05]process_action close_receipt done [12:48:05]requested_data is exist [12:48:05]produce_requested_data [12:48:05]requested_item fm.sn is exist - process it [12:48:05]wFMCommunicate request_size=4 [12:48:05]MH_SAM_APDU [12:48:05]CAPDU: 80 11 00 00 [12:48:05]Write to MH i2c: E2 08 00 D6 03 80 11 00 00 00 00 00 00 53 [12:48:05]Write i2c OK [12:48:05]MH_I2C_Read... [12:48:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:48:06]Read from MH i2c: E2 [12:48:06]MH_I2C_Read... [12:48:06]Read from MH i2c: E2 17 00 [12:48:06]MH_I2C_Read... [12:48:06]Read from MH i2c: E2 17 00 D6 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 A6 [12:48:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [12:48:06]wFMCommunicate OK [12:48:06]requested_item fd.num is exist - process it [12:48:06]SAM_PROTO_GetFieldsCounters [12:48:06]wFMCommunicate request_size=4 [12:48:06]MH_SAM_APDU [12:48:06]CAPDU: 80 13 00 00 [12:48:06]Write to MH i2c: E2 08 00 D7 03 80 13 00 00 00 00 00 00 56 [12:48:06]Write i2c OK [12:48:06]MH_I2C_Read... [12:48:06]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:48:06]Read from MH i2c: E2 [12:48:06]MH_I2C_Read... [12:48:06]Read from MH i2c: E2 62 00 [12:48:06]MH_I2C_Read... [12:48:06]Read from MH i2c: E2 62 00 D7 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 4B 10 00 00 0E 04 04 00 54 00 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 81 [12:48:06]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 4B 10 00 00 0E 04 04 00 54 00 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:48:06]wFMCommunicate OK [12:48:06]SAM_PROTO_GetFieldsCounters done [12:48:06]requested_item shift.num is exist - process it [12:48:06]requested_item shift.opened is exist - process it [12:48:06]req_shift_opened [12:48:06]FM_GetShiftState [12:48:06]SAM_PROTO_GetShiftState [12:48:06]wFMCommunicate request_size=4 [12:48:06]MH_SAM_APDU [12:48:06]CAPDU: 80 13 01 00 [12:48:06]Write to MH i2c: E2 08 00 D8 03 80 13 01 00 00 00 00 00 58 [12:48:06]Write i2c OK [12:48:06]MH_I2C_Read... [12:48:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:48:06]Read from MH i2c: E2 [12:48:06]MH_I2C_Read... [12:48:06]Read from MH i2c: E2 0E 00 [12:48:06]MH_I2C_Read... [12:48:06]Read from MH i2c: E2 0E 00 D8 03 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 F9 [12:48:06]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [12:48:06]wFMCommunicate OK [12:48:06]SAM_PROTO_GetShiftState done [12:48:06]FM_GetShiftState done [12:48:06]req_shift_opened done [12:48:06]requested_item shift.open_date is exist - process it [12:48:06]req_shift_open_date [12:48:06]req_shift_open_date done [12:48:06]produce_requested_data done [12:48:06]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4171,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765} [12:48:06]process_action_free close_receipt [12:48:06]json_value_free [12:48:06]json_value_free done [12:48:06]process_json_proto returns [12:48:06]Send response to host [12:48:06]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4171,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765}}} [12:48:06]free response buf [12:48:06]execute_script done [12:48:06]execute_script returns [12:48:06]free content buf [12:48:06]Sock 10.Close socket [12:48:06]Sock 10.Thread stoped [12:48:09]OFD Sender: No OFD packet to send [12:48:14]OFD Sender: No OFD packet to send [12:48:19]OFD Sender: No OFD packet to send [12:48:24]OFD Sender: No OFD packet to send [12:48:29]OFD Sender: No OFD packet to send [12:48:34]OFD Sender: No OFD packet to send [12:48:39]OFD Sender: No OFD packet to send [12:48:44]OFD Sender: No OFD packet to send [12:48:49]OFD Sender: No OFD packet to send [12:48:54]OFD Sender: No OFD packet to send [12:48:59]OFD Sender: No OFD packet to send [12:49:04]OFD Sender: No OFD packet to send [12:49:09]OFD Sender: No OFD packet to send [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:50]OFD Sender: No OFD packet to send [12:52:55]OFD Sender: No OFD packet to send [12:53:00]OFD Sender: No OFD packet to send [12:53:05]OFD Sender: No OFD packet to send [12:53:10]OFD Sender: No OFD packet to send [12:53:15]OFD Sender: No OFD packet to send [12:53:20]OFD Sender: No OFD packet to send [12:53:25]OFD Sender: No OFD packet to send [12:53:30]OFD Sender: No OFD packet to send [12:53:35]OFD Sender: No OFD packet to send [12:53:40]OFD Sender: No OFD packet to send [12:53:45]OFD Sender: No OFD packet to send [12:53:50]OFD Sender: No OFD packet to send [12:53:55]OFD Sender: No OFD packet to send [12:54:00]OFD Sender: No OFD packet to send [12:54:05]OFD Sender: No OFD packet to send [12:54:10]OFD Sender: No OFD packet to send [12:54:15]OFD Sender: No OFD packet to send [12:54:20]OFD Sender: No OFD packet to send [12:54:25]OFD Sender: No OFD packet to send [12:54:30]OFD Sender: No OFD packet to send [12:54:35]OFD Sender: No OFD packet to send [12:54:40]OFD Sender: No OFD packet to send [12:54:45]OFD Sender: No OFD packet to send [12:54:50]OFD Sender: No OFD packet to send [12:54:55]OFD Sender: No OFD packet to send [12:55:00]OFD Sender: No OFD packet to send [12:55:05]OFD Sender: No OFD packet to send [12:55:10]OFD Sender: No OFD packet to send [12:55:15]OFD Sender: No OFD packet to send [12:55:20]OFD Sender: No OFD packet to send [12:55:25]OFD Sender: No OFD packet to send [12:55:30]OFD Sender: No OFD packet to send [12:55:35]OFD Sender: No OFD packet to send [12:55:40]OFD Sender: No OFD packet to send [12:55:45]OFD Sender: No OFD packet to send [12:55:50]OFD Sender: No OFD packet to send [12:55:55]OFD Sender: No OFD packet to send [12:56:00]OFD Sender: No OFD packet to send [12:56:05]OFD Sender: No OFD packet to send [12:56:10]OFD Sender: No OFD packet to send [12:56:15]OFD Sender: No OFD packet to send [12:56:20]OFD Sender: No OFD packet to send [12:56:25]OFD Sender: No OFD packet to send [12:56:30]OFD Sender: No OFD packet to send [12:56:35]OFD Sender: No OFD packet to send [12:56:40]OFD Sender: No OFD packet to send [12:56:45]OFD Sender: No OFD packet to send [12:56:50]OFD Sender: No OFD packet to send [12:56:55]OFD Sender: No OFD packet to send [12:57:00]OFD Sender: No OFD packet to send [12:57:05]OFD Sender: No OFD packet to send [12:57:10]OFD Sender: No OFD packet to send [12:57:15]OFD Sender: No OFD packet to send [12:57:20]OFD Sender: No OFD packet to send [12:57:25]OFD Sender: No OFD packet to send [12:57:30]OFD Sender: No OFD packet to send [12:57:35]OFD Sender: No OFD packet to send [12:57:40]OFD Sender: No OFD packet to send [12:57:45]OFD Sender: No OFD packet to send [12:57:50]OFD Sender: No OFD packet to send [12:57:55]OFD Sender: No OFD packet to send [12:58:00]OFD Sender: No OFD packet to send [12:58:05]OFD Sender: No OFD packet to send [12:58:10]OFD Sender: No OFD packet to send [12:58:15]OFD Sender: No OFD packet to send [12:58:20]OFD Sender: No OFD packet to send [12:58:25]OFD Sender: No OFD packet to send [12:58:30]OFD Sender: No OFD packet to send [12:58:35]OFD Sender: No OFD packet to send [12:58:40]OFD Sender: No OFD packet to send [12:58:45]OFD Sender: No OFD packet to send [12:58:50]OFD Sender: No OFD packet to send [12:58:55]OFD Sender: No OFD packet to send [12:59:00]OFD Sender: No OFD packet to send [12:59:05]OFD Sender: No OFD packet to send [12:59:10]OFD Sender: No OFD packet to send [12:59:15]OFD Sender: No OFD packet to send [12:59:20]OFD Sender: No OFD packet to send [12:59:25]OFD Sender: No OFD packet to send [12:59:30]OFD Sender: No OFD packet to send [12:59:35]OFD Sender: No OFD packet to send [12:59:40]OFD Sender: No OFD packet to send [12:59:45]OFD Sender: No OFD packet to send [12:59:50]OFD Sender: No OFD packet to send [12:59:55]OFD Sender: No OFD packet to send [13:00:00]OFD Sender: No OFD packet to send [13:00:05]OFD Sender: No OFD packet to send [13:00:10]OFD Sender: No OFD packet to send [13:00:15]OFD Sender: No OFD packet to send [13:00:20]OFD Sender: No OFD packet to send [13:00:25]OFD Sender: No OFD packet to send [13:00:30]OFD Sender: No OFD packet to send [13:00:35]OFD Sender: No OFD packet to send [13:00:40]OFD Sender: No OFD packet to send [13:00:45]OFD Sender: No OFD packet to send [13:00:50]OFD Sender: No OFD packet to send [13:00:55]OFD Sender: No OFD packet to send [13:01:00]OFD Sender: No OFD packet to send [13:01:05]OFD Sender: No OFD packet to send [13:01:10]OFD Sender: No OFD packet to send [13:01:15]OFD Sender: No OFD packet to send [13:01:20]OFD Sender: No OFD packet to send [13:01:25]OFD Sender: No OFD packet to send [13:01:30]OFD Sender: No OFD packet to send [13:01:35]OFD Sender: No OFD packet to send [13:01:40]OFD Sender: No OFD packet to send [13:01:45]OFD Sender: No OFD packet to send [13:01:50]OFD Sender: No OFD packet to send [13:01:55]OFD Sender: No OFD packet to send [13:02:00]OFD Sender: No OFD packet to send [13:02:05]OFD Sender: No OFD packet to send [13:02:10]OFD Sender: No OFD packet to send [13:02:15]OFD Sender: No OFD packet to send [13:02:20]OFD Sender: No OFD packet to send [13:02:25]OFD Sender: No OFD packet to send [13:02:30]OFD Sender: No OFD packet to send [13:02:35]OFD Sender: No OFD packet to send [13:02:40]OFD Sender: No OFD packet to send [13:02:45]OFD Sender: No OFD packet to send [13:02:50]OFD Sender: No OFD packet to send [13:02:55]OFD Sender: No OFD packet to send [13:03:00]OFD Sender: No OFD packet to send [13:03:05]OFD Sender: No OFD packet to send [13:03:10]OFD Sender: No OFD packet to send [13:03:15]OFD Sender: No OFD packet to send [13:03:20]OFD Sender: No OFD packet to send [13:03:25]OFD Sender: No OFD packet to send [13:03:30]OFD Sender: No OFD packet to send [13:03:35]OFD Sender: No OFD packet to send [13:03:40]OFD Sender: No OFD packet to send [13:03:45]OFD Sender: No OFD packet to send [13:03:50]OFD Sender: No OFD packet to send [13:03:55]OFD Sender: No OFD packet to send [13:04:00]OFD Sender: No OFD packet to send [13:04:05]OFD Sender: No OFD packet to send [13:04:09]accept exits with 8 [13:04:09]New connection [13:04:09]New thread 3066604900 created [13:04:09]Thread 3066748260 joined [13:04:09]Waiting for new connection... [13:04:09] Sock 8.Parse request [13:04:09]Sock 8.Check first char [13:04:09]Sock 8.First char is OK [13:04:09]request: POST /json_proto HTTP/1.0 [13:04:09]Method: POST [13:04:09]URL: /json_proto [13:04:09]Method is POST - this is cgi request [13:04:09]url: /json_proto [13:04:09]query_string will be loaded in cgi processing [13:04:09]execute_cgi json_proto POST (null) [13:04:09]execute_cgi path=json_proto method=POST [13:04:09]POST find Content-Length [13:04:09]Host: 172.17.56.68:8080 [13:04:09]Content-Length: 626 [13:04:09]Content-Type: application/json [13:04:09] [13:04:09]POST finish read [13:04:09]Found Content-Length = 626 [13:04:09]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4425", "tax_sys" : 0, "items" : [ { "code": "48741231", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Super Slims Silver", "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" ] } } [13:04:09]execute_script... [13:04:09]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4425", "tax_sys" : 0, "items" : [ { "code": "48741231", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Super Slims Silver", "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" ] } } [13:04:09]POST & json_proto [13:04:09]process_json_proto [13:04:09]json parsed OK: [13:04:09]protocol is kg_v1.0 [13:04:09]action value=close_receipt [13:04:09]process_action close_receipt [13:04:09]cmd_close_receipt [13:04:09]MH_GetDate [13:04:09]Write to MH i2c: F0 00 00 D9 03 CB [13:04:09]Write i2c OK [13:04:09]MH_I2C_Read... [13:04:09]Read from MH i2c: F0 [13:04:09]MH_I2C_Read... [13:04:09]Read from MH i2c: F0 09 00 [13:04:09]MH_I2C_Read... [13:04:09]Read from MH i2c: F0 09 00 D9 03 00 4A 62 60 66 42 69 5C 66 B3 [13:04:09]GetLastDocTimeStamp 1717591682 [13:04:09]current date 1717592650 [13:04:09]FM_GetShiftState [13:04:09]SAM_PROTO_GetShiftState [13:04:09]wFMCommunicate request_size=4 [13:04:09]MH_SAM_APDU [13:04:09]CAPDU: 80 13 01 00 [13:04:09]Write to MH i2c: E2 08 00 DA 03 80 13 01 00 00 00 00 00 5A [13:04:09]Write i2c OK [13:04:09]MH_I2C_Read... [13:04:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:04:09]Read from MH i2c: E2 [13:04:09]MH_I2C_Read... [13:04:09]Read from MH i2c: E2 0E 00 [13:04:09]MH_I2C_Read... [13:04:09]Read from MH i2c: E2 0E 00 DA 03 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 FB [13:04:09]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [13:04:09]wFMCommunicate OK [13:04:09]SAM_PROTO_GetShiftState done [13:04:09]FM_GetShiftState done [13:04:09]opened in 1717545765 [13:04:09]opened+sec_in_day 1717632165 [13:04:09]quantity*price = 13500 [13:04:09]sum+1 = 13501 [13:04:09]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 135.00 НСП 1% : 1.19 НДС 12% : 14.34 Наличными: 135.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 30 05.06.2024 13:04 Смена: 84 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4172 ФПД: 253717290798094 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T130410&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4172&fm=253717290798094&tin=02508201610067®Number=0000000000145775&sum=13500 0 [13:04:11]StoreToDocumentArchive [13:04:11]shift 84 fd 4172 [13:04:11]save to /storage/0084/doc_00004172 [13:04:11]save last doc name /storage/0084/doc_00004172 to /storage/kkm_last_doc_name [13:04:11]save OK [13:04:11]Clear old archive folders... [13:04:11]ProcessDocumentItem done err = 0, tmpTLVsize=280 [13:04:11]tlvbuf is 01316EB0 [13:04:11]SAM_PROTO_ClearQueue [13:04:11]wFMCommunicate request_size=4 [13:04:11]MH_SAM_APDU [13:04:11]CAPDU: 80 09 00 00 [13:04:11]Write to MH i2c: E2 08 00 E7 03 80 09 00 00 00 00 00 00 5C [13:04:11]Write i2c OK [13:04:11]MH_I2C_Read... [13:04:11]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:04:11]Read from MH i2c: E2 [13:04:11]MH_I2C_Read... [13:04:11]Read from MH i2c: E2 03 00 [13:04:11]MH_I2C_Read... [13:04:11]Read from MH i2c: E2 03 00 E7 03 00 90 00 5E [13:04:11]RAPDU: 90 00 [13:04:11]wFMCommunicate OK [13:04:11]SAM_PROTO_ClearQueue done [13:04:11]KKMCreateOFDPacket [13:04:11]OFDProtocolAddRootSTLVToBuf [13:04:11]FM_MakeSignedData [13:04:11]FM_MakeSignedData [13:04:11]SAM_PROTO_SignData [13:04:11]wFMCommunicate request_size=4 [13:04:11]MH_SAM_APDU [13:04:11]CAPDU: 80 0D 01 02 [13:04:11]Write to MH i2c: E2 08 00 E8 03 80 0D 01 02 00 00 00 00 64 [13:04:11]Write i2c OK [13:04:11]MH_I2C_Read... [13:04:11]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:04:11]Read from MH i2c: E2 [13:04:11]MH_I2C_Read... [13:04:11]Read from MH i2c: E2 03 00 [13:04:11]MH_I2C_Read... [13:04:11]Read from MH i2c: E2 03 00 E8 03 00 90 00 5F [13:04:11]RAPDU: 90 00 [13:04:11]wFMCommunicate OK [13:04:11]wFMCommunicate request_size=255 [13:04:11]MH_SAM_APDU [13:04:11]CAPDU: 80 0D 02 02 FA 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 08 00 34 38 37 34 31 32 33 31 06 04 2B 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 53 69 6C 76 65 72 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 1E 00 00 00 F4 03 04 00 4A 62 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 [13:04:11]Write to MH i2c: E2 02 01 E9 03 80 0D 02 02 FA 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 08 00 34 38 37 34 31 32 33 31 06 04 2B 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 53 69 6C 76 65 72 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 1E 00 00 00 F4 03 04 00 4A 62 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 00 00 A7 [13:04:11]Write i2c OK [13:04:11]MH_I2C_Read... [13:04:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:04:11]Read from MH i2c: E2 [13:04:11]MH_I2C_Read... [13:04:11]Read from MH i2c: E2 03 00 [13:04:11]MH_I2C_Read... [13:04:11]Read from MH i2c: E2 03 00 E9 03 00 90 00 60 [13:04:11]RAPDU: 90 00 [13:04:11]wFMCommunicate OK [13:04:11]wFMCommunicate request_size=39 [13:04:11]MH_SAM_APDU [13:04:11]CAPDU: 80 0D 02 02 22 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 4C 10 00 00 35 04 06 00 E6 C1 28 FD CC 0E [13:04:11]Write to MH i2c: E2 2A 00 EA 03 80 0D 02 02 22 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 4C 10 00 00 35 04 06 00 E6 C1 28 FD CC 0E 00 00 24 [13:04:11]Write i2c OK [13:04:11]MH_I2C_Read... [13:04:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:04:11]Read from MH i2c: E2 [13:04:11]MH_I2C_Read... [13:04:11]Read from MH i2c: E2 03 00 [13:04:11]MH_I2C_Read... [13:04:11]Read from MH i2c: E2 03 00 EA 03 00 90 00 61 [13:04:11]RAPDU: 90 00 [13:04:11]wFMCommunicate OK [13:04:11]wFMCommunicate request_size=4 [13:04:11]MH_SAM_APDU [13:04:11]CAPDU: 80 0D 03 02 [13:04:11]Write to MH i2c: E2 08 00 EB 03 80 0D 03 02 00 00 00 00 69 [13:04:11]Write i2c OK [13:04:11]MH_I2C_Read... [13:04:11]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:04:11]Read from MH i2c: E2 [13:04:11]MH_I2C_Read... [13:04:11]Read from MH i2c: E2 0B 00 [13:04:11]MH_I2C_Read... [13:04:11]Read from MH i2c: E2 0B 00 EB 03 00 C5 32 70 24 B4 E1 88 81 90 00 93 [13:04:11]RAPDU: C5 32 70 24 B4 E1 88 81 90 00 [13:04:11]wFMCommunicate OK [13:04:11]SAM_PROTO_SignData done [13:04:11]FM_MakeSignedData done [13:04:11]CreateOFDProtocolMessage [13:04:11]wFMCommunicate request_size=4 [13:04:11]MH_SAM_APDU [13:04:11]CAPDU: 80 11 00 00 [13:04:11]Write to MH i2c: E2 08 00 EC 03 80 11 00 00 00 00 00 00 69 [13:04:11]Write i2c OK [13:04:11]MH_I2C_Read... [13:04:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:04:11]Read from MH i2c: E2 [13:04:11]MH_I2C_Read... [13:04:11]Read from MH i2c: E2 17 00 [13:04:11]MH_I2C_Read... [13:04:11]Read from MH i2c: E2 17 00 EC 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 BC [13:04:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [13:04:11]wFMCommunicate OK [13:04:11]CreateOFDProtocolMessage done [13:04:11]OFDSenderStorePacket 4172 [13:04:11]StoreOFDPacket docnum=4172 [13:04:11]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 2C 01 00 00 19 C3 24 01 BD B8 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 08 00 34 38 37 34 31 32 33 31 06 04 2B 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 53 69 6C 76 65 72 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 1E 00 00 00 F4 03 04 00 4A 62 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 4C 10 00 00 35 04 06 00 E6 C1 28 FD CC 0E C5 32 70 24 B4 E1 88 81 [13:04:11]CheckFolder [13:04:11]dirname=/storage/ofd_packets [13:04:11]CheckFolder done [13:04:11]ProducePacketName [13:04:11]name=ofd_packets/00004172 [13:04:11]NVStorageSaveData ofd_packets/00004172 [13:04:11]File name is /storage/ofd_packets/00004172 [13:04:11]Write 330 bytes [13:04:11]NVStorageSaveData done [13:04:11]OFDSenderStorePacket done [13:04:11]KKMCreateOFDPacket done [13:04:11]NVStorageSaveData kkm_last_timestamp [13:04:11]File name is /storage/kkm_last_timestamp [13:04:11]Write 4 bytes [13:04:11]NVStorageSaveData done [13:04:11]ExternCall_PrintAddStr [13:04:11]wPrintStart [13:04:11]Write to MH i2c: 01 00 00 ED 03 F0 [13:04:11]Write i2c OK [13:04:11]MH_I2C_Read... [13:04:11]Read from MH i2c: 01 [13:04:11]MH_I2C_Read... [13:04:11]Read from MH i2c: 01 07 00 [13:04:11]MH_I2C_Read... [13:04:11]Read from MH i2c: 01 07 00 ED 03 00 00 00 00 00 FF 0F 05 [13:04:11]RasterBufferAndPrint [13:04:11]line Счет N : (3)4425 [13:04:11]line ИНН: 02508201610067 [13:04:11]line Контрольно-Кассовый Чек [13:04:11]line ПРОДАЖА [13:04:11]line Товар: 48741231 [13:04:11]line Сигареты Winston Super Slims Silver [13:04:11]line 1.000 * 135.00 [13:04:11]line = 135.00 [13:04:11]line НДС 12% НСП 1% [13:04:11]line > о реализуемом товаре [13:04:11]line ИТОГО: 135.00 [13:04:11]line НСП 1% : 1.19 [13:04:11]line НДС 12% : 14.34 [13:04:11]line Наличными: 135.00 [13:04:11]line Безнал.: 0.00 [13:04:11]line Место: АЗС № 116 "Партнер Нефть" [13:04:11]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [13:04:11]line СНО: Общий режим [13:04:11]line Чек 30 05.06.2024 13:04 [13:04:11]line Смена: 84 ФФД: 1.0 [13:04:11]line ЗНМ: 0300000233 [13:04:11]line РНМ: 0000000000145775 [13:04:11]line Версия ККМ: v1.0 [13:04:11]line ФМ: 0000000000959360 [13:04:11]line ФД: 4172 [13:04:11]line ФПД: 253717290798094 [13:04:11]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T130410&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4172&fm=253717290798094&tin=02508201610067®Number=0000000000145775&sum=13500 [13:04:11]line 0 [13:04:11]OFD Sender: Processing packet 4172 [packets to send 2, broken 1] [13:04:11]ProducePacketName [13:04:11]name=ofd_packets/00004172 [13:04:11]OFD Sender: To server: pG, [13:04:11]CommunicateWithHost lk.salyk.kg:30040 [13:04:11]ConnectInit lk.salyk.kg [13:04:11]written 0, free lines is 4095 [13:04:12]Connected sock=10 [13:04:12]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 2C 01 00 00 19 C3 24 01 BD B8 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 08 00 34 38 37 34 31 32 33 31 06 04 2B 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 53 69 6C 76 65 72 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 1E 00 00 00 F4 03 04 00 4A 62 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 4C 10 00 00 35 04 06 00 E6 C1 28 FD CC 0E C5 32 70 24 B4 E1 88 81 [13:04:12]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 BD 4D 47 00 78 65 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 4C 10 00 00 F4 03 04 00 48 0E 60 66 B6 04 01 00 00 CA 8F 28 BF 07 82 97 4F [13:04:12]CommunicateWithHost err = 0 [13:04:12]CheckOFDResponse [13:04:12]1017 (14) - 77093643461234 [13:04:12]1041 (16) - 0000000000959360 [13:04:12]1040 (4) - 4172 [13:04:12]1012 (4) - 05.06.2024 07:05 [13:04:12]1206 (1) - 0 [13:04:12]OFD Sender: Remove packet 4172 [13:04:12]ProducePacketName [13:04:12]name=ofd_packets/00004172 [13:04:12]NVStorageDeleteData [13:04:12]Write to MH i2c: 01 00 00 16 04 1A [13:04:12]Write i2c OK [13:04:12]MH_I2C_Read... [13:04:12]Read from MH i2c: 01 [13:04:12]MH_I2C_Read... [13:04:12]Read from MH i2c: 01 07 00 [13:04:12]MH_I2C_Read... [13:04:12]Read from MH i2c: 01 07 00 16 04 00 00 00 00 00 A8 0C D5 [13:04:12]RasterBufferAndPrint [13:04:12]line [13:04:12]line [13:04:12]line [13:04:12]line [13:04:12]line [13:04:12]written 0, free lines is 3244 [13:04:12]MH_Cut [13:04:12]Write to MH i2c: D1 01 00 1D 04 01 F3 [13:04:12]Write i2c OK [13:04:12]MH_I2C_Read... [13:04:12]Read from MH i2c: D1 [13:04:12]MH_I2C_Read... [13:04:12]Read from MH i2c: D1 01 00 [13:04:12]MH_I2C_Read... [13:04:12]Read from MH i2c: D1 01 00 1D 04 00 F2 [13:04:12]Write to MH i2c: 01 00 00 1E 04 22 [13:04:12]Write i2c OK [13:04:12]MH_I2C_Read... [13:04:12]OFD Sender: No OFD packet to send [13:04:13]*** Cut start [13:04:13]*** Partial cut [13:04:13]*** CUTSNS_PIN = 1 [13:04:13]*** CUTSNS_PIN = 0 [13:04:13]*** Brake cut motor [13:04:13]Read from MH i2c: 01 [13:04:13]MH_I2C_Read... [13:04:13]*** Stop cut motor [13:04:13]*** Cut end [13:04:13]Read from MH i2c: 01 07 00 [13:04:13]MH_I2C_Read... [13:04:13]Read from MH i2c: 01 07 00 1E 04 00 00 00 00 00 FF 0F 37 [13:04:13]process_action close_receipt done [13:04:13]requested_data is exist [13:04:13]produce_requested_data [13:04:13]requested_item fm.sn is exist - process it [13:04:13]wFMCommunicate request_size=4 [13:04:13]MH_SAM_APDU [13:04:13]CAPDU: 80 11 00 00 [13:04:13]Write to MH i2c: E2 08 00 1F 04 80 11 00 00 00 00 00 00 9D [13:04:13]Write i2c OK [13:04:13]MH_I2C_Read... [13:04:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:04:14]Read from MH i2c: E2 [13:04:14]MH_I2C_Read... [13:04:14]Read from MH i2c: E2 17 00 [13:04:14]MH_I2C_Read... [13:04:14]Read from MH i2c: E2 17 00 1F 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 F0 [13:04:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [13:04:14]wFMCommunicate OK [13:04:14]requested_item fd.num is exist - process it [13:04:14]SAM_PROTO_GetFieldsCounters [13:04:14]wFMCommunicate request_size=4 [13:04:14]MH_SAM_APDU [13:04:14]CAPDU: 80 13 00 00 [13:04:14]Write to MH i2c: E2 08 00 20 04 80 13 00 00 00 00 00 00 A0 [13:04:14]Write i2c OK [13:04:14]MH_I2C_Read... [13:04:14]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:04:14]Read from MH i2c: E2 [13:04:14]MH_I2C_Read... [13:04:14]Read from MH i2c: E2 62 00 [13:04:14]MH_I2C_Read... [13:04:14]Read from MH i2c: E2 62 00 20 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 4C 10 00 00 0E 04 04 00 54 00 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 CF [13:04:14]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 4C 10 00 00 0E 04 04 00 54 00 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:04:14]wFMCommunicate OK [13:04:14]SAM_PROTO_GetFieldsCounters done [13:04:14]requested_item shift.num is exist - process it [13:04:14]requested_item shift.opened is exist - process it [13:04:14]req_shift_opened [13:04:14]FM_GetShiftState [13:04:14]SAM_PROTO_GetShiftState [13:04:14]wFMCommunicate request_size=4 [13:04:14]MH_SAM_APDU [13:04:14]CAPDU: 80 13 01 00 [13:04:14]Write to MH i2c: E2 08 00 21 04 80 13 01 00 00 00 00 00 A2 [13:04:14]Write i2c OK [13:04:14]MH_I2C_Read... [13:04:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:04:14]Read from MH i2c: E2 [13:04:14]MH_I2C_Read... [13:04:14]Read from MH i2c: E2 0E 00 [13:04:14]MH_I2C_Read... [13:04:14]Read from MH i2c: E2 0E 00 21 04 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 43 [13:04:14]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [13:04:14]wFMCommunicate OK [13:04:14]SAM_PROTO_GetShiftState done [13:04:14]FM_GetShiftState done [13:04:14]req_shift_opened done [13:04:14]requested_item shift.open_date is exist - process it [13:04:14]req_shift_open_date [13:04:14]req_shift_open_date done [13:04:14]produce_requested_data done [13:04:14]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4172,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765} [13:04:14]process_action_free close_receipt [13:04:14]json_value_free [13:04:14]json_value_free done [13:04:14]process_json_proto returns [13:04:14]Send response to host [13:04:14]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4172,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765}}} [13:04:14]free response buf [13:04:14]execute_script done [13:04:14]execute_script returns [13:04:14]free content buf [13:04:14]Sock 8.Close socket [13:04:14]Sock 8.Thread stoped [13:04:17]OFD Sender: No OFD packet to send [13:04:22]OFD Sender: No OFD packet to send [13:04:27]OFD Sender: No OFD packet to send [13:04:32]OFD Sender: No OFD packet to send [13:04:37]OFD Sender: No OFD packet to send [13:04:42]OFD Sender: No OFD packet to send [13:04:47]OFD Sender: No OFD packet to send [13:04:52]OFD Sender: No OFD packet to send [13:04:57]OFD Sender: No OFD packet to send [13:05:02]OFD Sender: No OFD packet to send [13:05:07]OFD Sender: No OFD packet to send [13:05:12]OFD Sender: No OFD packet to send [13:05:17]OFD Sender: No OFD packet to send [13:05:22]OFD Sender: No OFD packet to send [13:05:27]OFD Sender: No OFD packet to send [13:05:32]OFD Sender: No OFD packet to send [13:05:37]OFD Sender: No OFD packet to send [13:05:42]OFD Sender: No OFD packet to send [13:05:47]OFD Sender: No OFD packet to send [13:05:52]OFD Sender: No OFD packet to send [13:05:57]OFD Sender: No OFD packet to send [13:06:02]OFD Sender: No OFD packet to send [13:06:07]OFD Sender: No OFD packet to send [13:06:12]OFD Sender: No OFD packet to send [13:06:17]OFD Sender: No OFD packet to send [13:06:22]OFD Sender: No OFD packet to send [13:06:27]OFD Sender: No OFD packet to send [13:06:32]OFD Sender: No OFD packet to send [13:06:37]OFD Sender: No OFD packet to send [13:06:42]OFD Sender: No OFD packet to send [13:06:47]OFD Sender: No OFD packet to send [13:06:52]OFD Sender: No OFD packet to send [13:06:57]OFD Sender: No OFD packet to send [13:07:02]OFD Sender: No OFD packet to send [13:07:07]OFD Sender: No OFD packet to send [13:07:12]OFD Sender: No OFD packet to send [13:07:17]OFD Sender: No OFD packet to send [13:07:22]OFD Sender: No OFD packet to send [13:07:27]OFD Sender: No OFD packet to send [13:07:32]OFD Sender: No OFD packet to send [13:07:37]OFD Sender: No OFD packet to send [13:07:42]OFD Sender: No OFD packet to send [13:07:47]OFD Sender: No OFD packet to send [13:07:52]OFD Sender: No OFD packet to send [13:07:57]OFD Sender: No OFD packet to send [13:08:02]OFD Sender: No OFD packet to send [13:08:07]OFD Sender: No OFD packet to send [13:08:12]OFD Sender: No OFD packet to send [13:08:17]OFD Sender: No OFD packet to send [13:08:22]OFD Sender: No OFD packet to send [13:08:27]OFD Sender: No OFD packet to send [13:08:32]OFD Sender: No OFD packet to send [13:08:37]OFD Sender: No OFD packet to send [13:08:42]OFD Sender: No OFD packet to send [13:08:47]OFD Sender: No OFD packet to send [13:08:52]OFD Sender: No OFD packet to send [13:08:57]OFD Sender: No OFD packet to send [13:09:02]OFD Sender: No OFD packet to send [13:09:07]OFD Sender: No OFD packet to send [13:09:12]OFD Sender: No OFD packet to send [13:09:17]OFD Sender: No OFD packet to send [13:09:22]OFD Sender: No OFD packet to send [13:09:27]OFD Sender: No OFD packet to send [13:09:32]OFD Sender: No OFD packet to send [13:09:37]OFD Sender: No OFD packet to send [13:09:42]OFD Sender: No OFD packet to send [13:09:47]OFD Sender: No OFD packet to send [13:09:52]OFD Sender: No OFD packet to send [13:09:57]OFD Sender: No OFD packet to send [13:10:03]OFD Sender: No OFD packet to send [13:10:08]OFD Sender: No OFD packet to send [13:10:13]OFD Sender: No OFD packet to send [13:10:18]OFD Sender: No OFD packet to send [13:10:23]OFD Sender: No OFD packet to send [13:10:28]OFD Sender: No OFD packet to send [13:10:33]OFD Sender: No OFD packet to send [13:10:38]OFD Sender: No OFD packet to send [13:10:43]OFD Sender: No OFD packet to send [13:10:48]OFD Sender: No OFD packet to send [13:10:53]OFD Sender: No OFD packet to send [13:10:58]OFD Sender: No OFD packet to send [13:11:03]OFD Sender: No OFD packet to send [13:11:08]OFD Sender: No OFD packet to send [13:11:13]OFD Sender: No OFD packet to send [13:11:18]OFD Sender: No OFD packet to send [13:11:23]OFD Sender: No OFD packet to send [13:11:28]OFD Sender: No OFD packet to send [13:11:33]OFD Sender: No OFD packet to send [13:11:38]OFD Sender: No OFD packet to send [13:11:43]OFD Sender: No OFD packet to send [13:11:48]OFD Sender: No OFD packet to send [13:11:53]OFD Sender: No OFD packet to send [13:11:58]OFD Sender: No OFD packet to send [13:12:03]OFD Sender: No OFD packet to send [13:12:08]OFD Sender: No OFD packet to send [13:12:13]OFD Sender: No OFD packet to send [13:12:18]OFD Sender: No OFD packet to send [13:12:23]OFD Sender: No OFD packet to send [13:12:28]OFD Sender: No OFD packet to send [13:12:33]OFD Sender: No OFD packet to send [13:12:38]OFD Sender: No OFD packet to send [13:12:43]OFD Sender: No OFD packet to send [13:12:48]OFD Sender: No OFD packet to send [13:12:53]OFD Sender: No OFD packet to send [13:12:58]OFD Sender: No OFD packet to send [13:13:03]OFD Sender: No OFD packet to send [13:13:08]OFD Sender: No OFD packet to send [13:13:13]OFD Sender: No OFD packet to send [13:13:13]accept exits with 9 [13:13:13]New connection [13:13:13]New thread 3066748260 created [13:13:13]Thread 3066604900 joined [13:13:13]Waiting for new connection... [13:13:13] Sock 9.Parse request [13:13:13]Sock 9.Check first char [13:13:13]Sock 9.First char is OK [13:13:13]request: POST /json_proto HTTP/1.0 [13:13:13]Method: POST [13:13:13]URL: /json_proto [13:13:13]Method is POST - this is cgi request [13:13:13]url: /json_proto [13:13:13]query_string will be loaded in cgi processing [13:13:13]execute_cgi json_proto POST (null) [13:13:13]execute_cgi path=json_proto method=POST [13:13:13]POST find Content-Length [13:13:13]Host: 172.17.56.68:8080 [13:13:13]Content-Length: 653 [13:13:13]Content-Type: application/json [13:13:13] [13:13:13]POST finish read [13:13:13]Found Content-Length = 653 [13:13:13]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4426", "tax_sys" : 0, "items" : [ { "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 }]} ], "payments": [ { "type": 0, "sum" : 72.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:13:13]execute_script... [13:13:13]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4426", "tax_sys" : 0, "items" : [ { "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 }]} ], "payments": [ { "type": 0, "sum" : 72.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:13:13]POST & json_proto [13:13:13]process_json_proto [13:13:13]json parsed OK: [13:13:13]protocol is kg_v1.0 [13:13:13]action value=close_receipt [13:13:13]process_action close_receipt [13:13:13]cmd_close_receipt [13:13:13]MH_GetDate [13:13:13]Write to MH i2c: F0 00 00 22 04 15 [13:13:13]Write i2c OK [13:13:13]MH_I2C_Read... [13:13:13]Read from MH i2c: F0 [13:13:13]MH_I2C_Read... [13:13:13]Read from MH i2c: F0 09 00 [13:13:13]MH_I2C_Read... [13:13:13]Read from MH i2c: F0 09 00 22 04 00 6A 64 60 66 42 69 5C 66 1F [13:13:13]GetLastDocTimeStamp 1717592650 [13:13:13]current date 1717593194 [13:13:13]FM_GetShiftState [13:13:13]SAM_PROTO_GetShiftState [13:13:13]wFMCommunicate request_size=4 [13:13:13]MH_SAM_APDU [13:13:13]CAPDU: 80 13 01 00 [13:13:13]Write to MH i2c: E2 08 00 23 04 80 13 01 00 00 00 00 00 A4 [13:13:13]Write i2c OK [13:13:13]MH_I2C_Read... [13:13:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:13:14]Read from MH i2c: E2 [13:13:14]MH_I2C_Read... [13:13:14]Read from MH i2c: E2 0E 00 [13:13:14]MH_I2C_Read... [13:13:14]Read from MH i2c: E2 0E 00 23 04 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 45 [13:13:14]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [13:13:14]wFMCommunicate OK [13:13:14]SAM_PROTO_GetShiftState done [13:13:14]FM_GetShiftState done [13:13:14]opened in 1717545765 [13:13:14]opened+sec_in_day 1717632165 [13:13:14]quantity*price = 7200 [13:13:14]sum+1 = 7201 [13:13:14]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 72.00 НСП 1% : 0.64 НДС 12% : 7.65 Наличными: 72.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 31 05.06.2024 13:13 Смена: 84 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4173 ФПД: 250686230992805 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T131314&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4173&fm=250686230992805&tin=02508201610067®Number=0000000000145775&sum=7200 0 [13:13:15]StoreToDocumentArchive [13:13:15]shift 84 fd 4173 [13:13:15]save to /storage/0084/doc_00004173 [13:13:15]save last doc name /storage/0084/doc_00004173 to /storage/kkm_last_doc_name [13:13:15]save OK [13:13:15]Clear old archive folders... [13:13:15]ProcessDocumentItem done err = 0, tmpTLVsize=294 [13:13:15]tlvbuf is 013055D0 [13:13:15]SAM_PROTO_ClearQueue [13:13:15]wFMCommunicate request_size=4 [13:13:15]MH_SAM_APDU [13:13:15]CAPDU: 80 09 00 00 [13:13:15]Write to MH i2c: E2 08 00 30 04 80 09 00 00 00 00 00 00 A6 [13:13:15]Write i2c OK [13:13:15]MH_I2C_Read... [13:13:15]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:13:15]Read from MH i2c: E2 [13:13:15]MH_I2C_Read... [13:13:15]Read from MH i2c: E2 03 00 [13:13:15]MH_I2C_Read... [13:13:15]Read from MH i2c: E2 03 00 30 04 00 90 00 A8 [13:13:15]RAPDU: 90 00 [13:13:15]wFMCommunicate OK [13:13:15]SAM_PROTO_ClearQueue done [13:13:15]KKMCreateOFDPacket [13:13:15]OFDProtocolAddRootSTLVToBuf [13:13:15]FM_MakeSignedData [13:13:15]FM_MakeSignedData [13:13:15]SAM_PROTO_SignData [13:13:15]wFMCommunicate request_size=4 [13:13:15]MH_SAM_APDU [13:13:15]CAPDU: 80 0D 01 02 [13:13:15]Write to MH i2c: E2 08 00 31 04 80 0D 01 02 00 00 00 00 AE [13:13:15]Write i2c OK [13:13:15]MH_I2C_Read... [13:13:15]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:13:15]Read from MH i2c: E2 [13:13:15]MH_I2C_Read... [13:13:15]Read from MH i2c: E2 03 00 [13:13:15]MH_I2C_Read... [13:13:15]Read from MH i2c: E2 03 00 31 04 00 90 00 A9 [13:13:15]RAPDU: 90 00 [13:13:15]wFMCommunicate OK [13:13:15]wFMCommunicate request_size=255 [13:13:15]MH_SAM_APDU [13:13:15]CAPDU: 80 0D 02 02 FA 03 00 26 01 1E 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 FC 03 06 00 20 1C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 40 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FD 02 00 00 00 00 07 04 06 00 20 1C 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 6A 64 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 [13:13:15]Write to MH i2c: E2 02 01 32 04 80 0D 02 02 FA 00 03 00 26 01 1E 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 FC 03 06 00 20 1C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 40 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FD 02 00 00 00 00 07 04 06 00 20 1C 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 6A 64 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 00 00 9F [13:13:15]Write i2c OK [13:13:15]MH_I2C_Read... [13:13:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:13:15]Read from MH i2c: E2 [13:13:15]MH_I2C_Read... [13:13:15]Read from MH i2c: E2 03 00 [13:13:15]MH_I2C_Read... [13:13:15]Read from MH i2c: E2 03 00 32 04 00 90 00 AA [13:13:15]RAPDU: 90 00 [13:13:15]wFMCommunicate OK [13:13:15]wFMCommunicate request_size=53 [13:13:15]MH_SAM_APDU [13:13:15]CAPDU: 80 0D 02 02 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 4D 10 00 00 35 04 06 00 E3 FF 6F BF 97 A5 [13:13:15]Write to MH i2c: E2 38 00 33 04 80 0D 02 02 30 00 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 4D 10 00 00 35 04 06 00 E3 FF 6F BF 97 A5 00 00 53 [13:13:15]Write i2c OK [13:13:15]MH_I2C_Read... [13:13:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:13:15]Read from MH i2c: E2 [13:13:15]MH_I2C_Read... [13:13:15]Read from MH i2c: E2 03 00 [13:13:15]MH_I2C_Read... [13:13:15]Read from MH i2c: E2 03 00 33 04 00 90 00 AB [13:13:15]RAPDU: 90 00 [13:13:15]wFMCommunicate OK [13:13:15]wFMCommunicate request_size=4 [13:13:15]MH_SAM_APDU [13:13:15]CAPDU: 80 0D 03 02 [13:13:15]Write to MH i2c: E2 08 00 34 04 80 0D 03 02 00 00 00 00 B3 [13:13:15]Write i2c OK [13:13:15]MH_I2C_Read... [13:13:15]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:13:15]Read from MH i2c: E2 [13:13:15]MH_I2C_Read... [13:13:15]Read from MH i2c: E2 0B 00 [13:13:15]MH_I2C_Read... [13:13:15]Read from MH i2c: E2 0B 00 34 04 00 58 16 EE A3 1D 2F EF 71 90 00 5F [13:13:15]RAPDU: 58 16 EE A3 1D 2F EF 71 90 00 [13:13:15]wFMCommunicate OK [13:13:15]SAM_PROTO_SignData done [13:13:15]FM_MakeSignedData done [13:13:15]CreateOFDProtocolMessage [13:13:15]wFMCommunicate request_size=4 [13:13:15]MH_SAM_APDU [13:13:15]CAPDU: 80 11 00 00 [13:13:15]Write to MH i2c: E2 08 00 35 04 80 11 00 00 00 00 00 00 B3 [13:13:15]Write i2c OK [13:13:15]MH_I2C_Read... [13:13:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:13:15]Read from MH i2c: E2 [13:13:15]MH_I2C_Read... [13:13:15]Read from MH i2c: E2 17 00 [13:13:15]MH_I2C_Read... [13:13:15]Read from MH i2c: E2 17 00 35 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 06 [13:13:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [13:13:15]wFMCommunicate OK [13:13:15]CreateOFDProtocolMessage done [13:13:15]OFDSenderStorePacket 4173 [13:13:15]StoreOFDPacket docnum=4173 [13:13:15]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 3A 01 00 00 E3 5D 32 01 C5 46 5A 03 01 00 03 00 26 01 1E 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 FC 03 06 00 20 1C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 40 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FD 02 00 00 00 00 07 04 06 00 20 1C 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 6A 64 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 4D 10 00 00 35 04 06 00 E3 FF 6F BF 97 A5 58 16 EE A3 1D 2F EF 71 [13:13:15]CheckFolder [13:13:15]dirname=/storage/ofd_packets [13:13:15]CheckFolder done [13:13:15]ProducePacketName [13:13:15]name=ofd_packets/00004173 [13:13:15]NVStorageSaveData ofd_packets/00004173 [13:13:15]File name is /storage/ofd_packets/00004173 [13:13:15]Write 344 bytes [13:13:15]NVStorageSaveData done [13:13:15]OFDSenderStorePacket done [13:13:15]KKMCreateOFDPacket done [13:13:15]NVStorageSaveData kkm_last_timestamp [13:13:15]File name is /storage/kkm_last_timestamp [13:13:15]Write 4 bytes [13:13:15]NVStorageSaveData done [13:13:15]ExternCall_PrintAddStr [13:13:15]wPrintStart [13:13:15]Write to MH i2c: 01 00 00 36 04 3A [13:13:15]Write i2c OK [13:13:15]MH_I2C_Read... [13:13:15]Read from MH i2c: 01 [13:13:15]MH_I2C_Read... [13:13:15]Read from MH i2c: 01 07 00 [13:13:15]MH_I2C_Read... [13:13:15]Read from MH i2c: 01 07 00 36 04 00 00 00 00 00 FF 0F 4F [13:13:15]RasterBufferAndPrint [13:13:15]line Счет N : (3)4426 [13:13:15]line ИНН: 02508201610067 [13:13:15]line Контрольно-Кассовый Чек [13:13:15]line ПРОДАЖА [13:13:15]line Товар: 4600682557456 [13:13:15]line Напиток FLash up energy эн ж/б 0,5/0,45л [13:13:15]line 1.000 * 72.00 [13:13:15]line = 72.00 [13:13:15]line НДС 12% НСП 1% [13:13:15]line > о реализуемом товаре [13:13:15]line ИТОГО: 72.00 [13:13:15]line НСП 1% : 0.64 [13:13:15]line НДС 12% : 7.65 [13:13:15]line Наличными: 72.00 [13:13:15]line Безнал.: 0.00 [13:13:15]line Место: АЗС № 116 "Партнер Нефть" [13:13:15]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [13:13:15]line СНО: Общий режим [13:13:15]line Чек 31 05.06.2024 13:13 [13:13:15]line Смена: 84 ФФД: 1.0 [13:13:15]line ЗНМ: 0300000233 [13:13:15]line РНМ: 0000000000145775 [13:13:15]line Версия ККМ: v1.0 [13:13:15]line ФМ: 0000000000959360 [13:13:15]line ФД: 4173 [13:13:15]line ФПД: 250686230992805 [13:13:16]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T131314&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4173&fm=250686230992805&tin=02508201610067®Number=0000000000145775&sum=7200 [13:13:16]line 0 [13:13:16]OFD Sender: Processing packet 4173 [packets to send 2, broken 1] [13:13:16]ProducePacketName [13:13:16]name=ofd_packets/00004173 [13:13:16]OFD Sender: To server: pG, [13:13:16]CommunicateWithHost lk.salyk.kg:30040 [13:13:16]ConnectInit lk.salyk.kg [13:13:16]written 0, free lines is 4095 [13:13:16]Connected sock=11 [13:13:16]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 3A 01 00 00 E3 5D 32 01 C5 46 5A 03 01 00 03 00 26 01 1E 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 FC 03 06 00 20 1C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 40 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FD 02 00 00 00 00 07 04 06 00 20 1C 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 6A 64 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 4D 10 00 00 35 04 06 00 E3 FF 6F BF 97 A5 58 16 EE A3 1D 2F EF 71 [13:13:16]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 05 0C 47 00 F1 08 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 4D 10 00 00 F4 03 04 00 68 10 60 66 B6 04 01 00 00 E5 F5 1B 12 B4 86 47 94 [13:13:16]CommunicateWithHost err = 0 [13:13:16]CheckOFDResponse [13:13:16]1017 (14) - 77093643461234 [13:13:16]1041 (16) - 0000000000959360 [13:13:16]1040 (4) - 4173 [13:13:16]1012 (4) - 05.06.2024 07:14 [13:13:16]1206 (1) - 0 [13:13:16]OFD Sender: Remove packet 4173 [13:13:16]ProducePacketName [13:13:16]name=ofd_packets/00004173 [13:13:16]NVStorageDeleteData [13:13:16]Write to MH i2c: 01 00 00 5F 04 63 [13:13:16]Write i2c OK [13:13:16]MH_I2C_Read... [13:13:16]Read from MH i2c: 01 [13:13:16]MH_I2C_Read... [13:13:16]Read from MH i2c: 01 07 00 [13:13:16]MH_I2C_Read... [13:13:16]Read from MH i2c: 01 07 00 5F 04 00 00 00 00 00 B1 0C 27 [13:13:16]RasterBufferAndPrint [13:13:16]line [13:13:16]line [13:13:16]line [13:13:16]line [13:13:16]line [13:13:16]written 0, free lines is 3252 [13:13:16]MH_Cut [13:13:16]Write to MH i2c: D1 01 00 66 04 01 3C [13:13:16]Write i2c OK [13:13:16]MH_I2C_Read... [13:13:16]Read from MH i2c: D1 [13:13:16]MH_I2C_Read... [13:13:16]Read from MH i2c: D1 01 00 [13:13:16]MH_I2C_Read... [13:13:16]Read from MH i2c: D1 01 00 66 04 00 3B [13:13:16]Write to MH i2c: 01 00 00 67 04 6B [13:13:16]Write i2c OK [13:13:16]MH_I2C_Read... [13:13:16]OFD Sender: No OFD packet to send [13:13:17]*** Cut start [13:13:17]*** Partial cut [13:13:17]*** CUTSNS_PIN = 1 [13:13:17]*** CUTSNS_PIN = 0 [13:13:17]*** Brake cut motor [13:13:18]Read from MH i2c: 01 [13:13:18]MH_I2C_Read... [13:13:18]*** Stop cut motor [13:13:18]*** Cut end [13:13:18]Read from MH i2c: 01 07 00 [13:13:18]MH_I2C_Read... [13:13:18]Read from MH i2c: 01 07 00 67 04 00 00 00 00 00 FF 0F 80 [13:13:18]process_action close_receipt done [13:13:18]requested_data is exist [13:13:18]produce_requested_data [13:13:18]requested_item fm.sn is exist - process it [13:13:18]wFMCommunicate request_size=4 [13:13:18]MH_SAM_APDU [13:13:18]CAPDU: 80 11 00 00 [13:13:18]Write to MH i2c: E2 08 00 68 04 80 11 00 00 00 00 00 00 E6 [13:13:18]Write i2c OK [13:13:18]MH_I2C_Read... [13:13:18]Read from MH i2c: E2 [13:13:18]MH_I2C_Read... [13:13:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:13:18]Read from MH i2c: E2 17 00 [13:13:18]MH_I2C_Read... [13:13:18]Read from MH i2c: E2 17 00 68 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 39 [13:13:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [13:13:18]wFMCommunicate OK [13:13:18]requested_item fd.num is exist - process it [13:13:18]SAM_PROTO_GetFieldsCounters [13:13:18]wFMCommunicate request_size=4 [13:13:18]MH_SAM_APDU [13:13:18]CAPDU: 80 13 00 00 [13:13:18]Write to MH i2c: E2 08 00 69 04 80 13 00 00 00 00 00 00 E9 [13:13:18]Write i2c OK [13:13:18]MH_I2C_Read... [13:13:18]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:13:18]Read from MH i2c: E2 [13:13:18]MH_I2C_Read... [13:13:18]Read from MH i2c: E2 62 00 [13:13:18]MH_I2C_Read... [13:13:18]Read from MH i2c: E2 62 00 69 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 4D 10 00 00 0E 04 04 00 54 00 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 1C [13:13:18]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 4D 10 00 00 0E 04 04 00 54 00 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:13:18]wFMCommunicate OK [13:13:18]SAM_PROTO_GetFieldsCounters done [13:13:18]requested_item shift.num is exist - process it [13:13:18]requested_item shift.opened is exist - process it [13:13:18]req_shift_opened [13:13:18]FM_GetShiftState [13:13:18]SAM_PROTO_GetShiftState [13:13:18]wFMCommunicate request_size=4 [13:13:18]MH_SAM_APDU [13:13:18]CAPDU: 80 13 01 00 [13:13:18]Write to MH i2c: E2 08 00 6A 04 80 13 01 00 00 00 00 00 EB [13:13:18]Write i2c OK [13:13:18]MH_I2C_Read... [13:13:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:13:18]Read from MH i2c: E2 [13:13:18]MH_I2C_Read... [13:13:18]Read from MH i2c: E2 0E 00 [13:13:18]MH_I2C_Read... [13:13:18]Read from MH i2c: E2 0E 00 6A 04 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 8C [13:13:18]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [13:13:18]wFMCommunicate OK [13:13:18]SAM_PROTO_GetShiftState done [13:13:18]FM_GetShiftState done [13:13:18]req_shift_opened done [13:13:18]requested_item shift.open_date is exist - process it [13:13:18]req_shift_open_date [13:13:18]req_shift_open_date done [13:13:18]produce_requested_data done [13:13:18]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4173,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765} [13:13:18]process_action_free close_receipt [13:13:18]json_value_free [13:13:18]json_value_free done [13:13:18]process_json_proto returns [13:13:18]Send response to host [13:13:18]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4173,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765}}} [13:13:18]free response buf [13:13:18]execute_script done [13:13:18]execute_script returns [13:13:18]free content buf [13:13:18]Sock 9.Close socket [13:13:18]Sock 9.Thread stoped [13:13:21]OFD Sender: No OFD packet to send [13:13:26]OFD Sender: No OFD packet to send [13:13:31]OFD Sender: No OFD packet to send [13:13:36]OFD Sender: No OFD packet to send [13:13:41]OFD Sender: No OFD packet to send [13:13:46]OFD Sender: No OFD packet to send [13:13:51]OFD Sender: No OFD packet to send [13:13:56]OFD Sender: No OFD packet to send [13:14:01]OFD Sender: No OFD packet to send [13:14:06]OFD Sender: No OFD packet to send [13:14:11]OFD Sender: No OFD packet to send [13:14:16]OFD Sender: No OFD packet to send [13:14:21]OFD Sender: No OFD packet to send [13:14:26]OFD Sender: No OFD packet to send [13:14:31]OFD Sender: No OFD packet to send [13:14:36]OFD Sender: No OFD packet to send [13:14:41]OFD Sender: No OFD packet to send [13:14:46]OFD Sender: No OFD packet to send [13:14:51]OFD Sender: No OFD packet to send [13:14:56]OFD Sender: No OFD packet to send [13:15:01]OFD Sender: No OFD packet to send [13:15:06]OFD Sender: No OFD packet to send [13:15:11]OFD Sender: No OFD packet to send [13:15:16]OFD Sender: No OFD packet to send [13:15:21]OFD Sender: No OFD packet to send [13:15:26]OFD Sender: No OFD packet to send [13:15:31]OFD Sender: No OFD packet to send [13:15:36]OFD Sender: No OFD packet to send [13:15:41]OFD Sender: No OFD packet to send [13:15:46]OFD Sender: No OFD packet to send [13:15:51]OFD Sender: No OFD packet to send [13:15:56]OFD Sender: No OFD packet to send [13:16:01]OFD Sender: No OFD packet to send [13:16:06]OFD Sender: No OFD packet to send [13:16:11]OFD Sender: No OFD packet to send [13:16:16]OFD Sender: No OFD packet to send [13:16:21]OFD Sender: No OFD packet to send [13:16:26]OFD Sender: No OFD packet to send [13:16:31]OFD Sender: No OFD packet to send [13:16:36]OFD Sender: No OFD packet to send [13:16:41]OFD Sender: No OFD packet to send [13:16:46]OFD Sender: No OFD packet to send [13:16:51]OFD Sender: No OFD packet to send [13:16:56]OFD Sender: No OFD packet to send [13:17:01]OFD Sender: No OFD packet to send [13:17:07]OFD Sender: No OFD packet to send [13:17:12]OFD Sender: No OFD packet to send [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:31]accept exits with 8 [13:31:31]New connection [13:31:31]New thread 3066604900 created [13:31:31]Thread 3066748260 joined [13:31:31]Waiting for new connection... [13:31:31] Sock 8.Parse request [13:31:31]Sock 8.Check first char [13:31:31]Sock 8.First char is OK [13:31:31]request: POST /json_proto HTTP/1.0 [13:31:31]Method: POST [13:31:31]URL: /json_proto [13:31:31]Method is POST - this is cgi request [13:31:31]url: /json_proto [13:31:31]query_string will be loaded in cgi processing [13:31:31]execute_cgi json_proto POST (null) [13:31:31]execute_cgi path=json_proto method=POST [13:31:31]POST find Content-Length [13:31:31]Host: 172.17.56.68:8080 [13:31:31]Content-Length: 618 [13:31:31]Content-Type: application/json [13:31:31] [13:31:31]POST finish read [13:31:31]Found Content-Length = 618 [13:31:31]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4427", "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" ] } } [13:31:31]execute_script... [13:31:31]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4427", "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" ] } } [13:31:31]POST & json_proto [13:31:31]process_json_proto [13:31:31]json parsed OK: [13:31:31]protocol is kg_v1.0 [13:31:31]action value=close_receipt [13:31:31]process_action close_receipt [13:31:31]cmd_close_receipt [13:31:31]MH_GetDate [13:31:31]Write to MH i2c: F0 00 00 6B 04 5E [13:31:31]Write i2c OK [13:31:31]MH_I2C_Read... [13:31:31]Read from MH i2c: F0 [13:31:31]MH_I2C_Read... [13:31:31]Read from MH i2c: F0 09 00 [13:31:31]MH_I2C_Read... [13:31:31]Read from MH i2c: F0 09 00 6B 04 00 B4 68 60 66 42 69 5C 66 B6 [13:31:31]GetLastDocTimeStamp 1717593194 [13:31:31]current date 1717594292 [13:31:31]FM_GetShiftState [13:31:31]SAM_PROTO_GetShiftState [13:31:31]wFMCommunicate request_size=4 [13:31:31]MH_SAM_APDU [13:31:31]CAPDU: 80 13 01 00 [13:31:31]Write to MH i2c: E2 08 00 6C 04 80 13 01 00 00 00 00 00 ED [13:31:31]Write i2c OK [13:31:31]MH_I2C_Read... [13:31:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:31:31]Read from MH i2c: E2 [13:31:31]MH_I2C_Read... [13:31:31]Read from MH i2c: E2 0E 00 [13:31:31]MH_I2C_Read... [13:31:31]Read from MH i2c: E2 0E 00 6C 04 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 8E [13:31:31]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [13:31:31]wFMCommunicate OK [13:31:31]SAM_PROTO_GetShiftState done [13:31:31]FM_GetShiftState done [13:31:31]opened in 1717545765 [13:31:31]opened+sec_in_day 1717632165 [13:31:31]quantity*price = 13500 [13:31:31]sum+1 = 13501 [13:31:31]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 135.00 НСП 1% : 1.19 НДС 12% : 14.34 Наличными: 135.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 32 05.06.2024 13:31 Смена: 84 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4174 ФПД: 43656041394823 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T133132&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4174&fm=43656041394823&tin=02508201610067®Number=0000000000145775&sum=13500 0 [13:31:33]StoreToDocumentArchive [13:31:33]shift 84 fd 4174 [13:31:33]save to /storage/0084/doc_00004174 [13:31:33]save last doc name /storage/0084/doc_00004174 to /storage/kkm_last_doc_name [13:31:33]save OK [13:31:33]Clear old archive folders... [13:31:33]ProcessDocumentItem done err = 0, tmpTLVsize=272 [13:31:33]tlvbuf is 01325360 [13:31:33]SAM_PROTO_ClearQueue [13:31:33]wFMCommunicate request_size=4 [13:31:33]MH_SAM_APDU [13:31:33]CAPDU: 80 09 00 00 [13:31:33]Write to MH i2c: E2 08 00 79 04 80 09 00 00 00 00 00 00 EF [13:31:33]Write i2c OK [13:31:33]MH_I2C_Read... [13:31:33]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:31:33]Read from MH i2c: E2 [13:31:33]MH_I2C_Read... [13:31:33]Read from MH i2c: E2 03 00 [13:31:33]MH_I2C_Read... [13:31:33]Read from MH i2c: E2 03 00 79 04 00 90 00 F1 [13:31:33]RAPDU: 90 00 [13:31:33]wFMCommunicate OK [13:31:33]SAM_PROTO_ClearQueue done [13:31:33]KKMCreateOFDPacket [13:31:33]OFDProtocolAddRootSTLVToBuf [13:31:33]FM_MakeSignedData [13:31:33]FM_MakeSignedData [13:31:33]SAM_PROTO_SignData [13:31:33]wFMCommunicate request_size=4 [13:31:33]MH_SAM_APDU [13:31:33]CAPDU: 80 0D 01 02 [13:31:33]Write to MH i2c: E2 08 00 7A 04 80 0D 01 02 00 00 00 00 F7 [13:31:33]Write i2c OK [13:31:33]MH_I2C_Read... [13:31:33]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:31:33]Read from MH i2c: E2 [13:31:33]MH_I2C_Read... [13:31:33]Read from MH i2c: E2 03 00 [13:31:33]MH_I2C_Read... [13:31:33]Read from MH i2c: E2 03 00 7A 04 00 90 00 F2 [13:31:33]RAPDU: 90 00 [13:31:33]wFMCommunicate OK [13:31:33]wFMCommunicate request_size=255 [13:31:33]MH_SAM_APDU [13:31:33]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 20 00 00 00 F4 03 04 00 B4 68 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 [13:31:33]Write to MH i2c: E2 02 01 7B 04 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 20 00 00 00 F4 03 04 00 B4 68 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 00 00 0C [13:31:33]Write i2c OK [13:31:33]MH_I2C_Read... [13:31:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:31:33]Read from MH i2c: E2 [13:31:33]MH_I2C_Read... [13:31:33]Read from MH i2c: E2 03 00 [13:31:33]MH_I2C_Read... [13:31:33]Read from MH i2c: E2 03 00 7B 04 00 90 00 F3 [13:31:33]RAPDU: 90 00 [13:31:33]wFMCommunicate OK [13:31:33]wFMCommunicate request_size=31 [13:31:33]MH_SAM_APDU [13:31:33]CAPDU: 80 0D 02 02 1A 30 30 39 35 39 33 36 30 10 04 04 00 4E 10 00 00 35 04 06 00 27 B4 76 D6 F2 87 [13:31:33]Write to MH i2c: E2 22 00 7C 04 80 0D 02 02 1A 00 30 30 39 35 39 33 36 30 10 04 04 00 4E 10 00 00 35 04 06 00 27 B4 76 D6 F2 87 00 00 23 [13:31:33]Write i2c OK [13:31:33]MH_I2C_Read... [13:31:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:31:33]Read from MH i2c: E2 [13:31:33]MH_I2C_Read... [13:31:33]Read from MH i2c: E2 03 00 [13:31:33]MH_I2C_Read... [13:31:33]Read from MH i2c: E2 03 00 7C 04 00 90 00 F4 [13:31:33]RAPDU: 90 00 [13:31:33]wFMCommunicate OK [13:31:33]wFMCommunicate request_size=4 [13:31:33]MH_SAM_APDU [13:31:33]CAPDU: 80 0D 03 02 [13:31:33]Write to MH i2c: E2 08 00 7D 04 80 0D 03 02 00 00 00 00 FC [13:31:33]Write i2c OK [13:31:33]MH_I2C_Read... [13:31:33]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:31:33]Read from MH i2c: E2 [13:31:33]MH_I2C_Read... [13:31:33]Read from MH i2c: E2 0B 00 [13:31:33]MH_I2C_Read... [13:31:33]Read from MH i2c: E2 0B 00 7D 04 00 6D 5C 99 5D 18 F8 62 B1 90 00 DF [13:31:33]RAPDU: 6D 5C 99 5D 18 F8 62 B1 90 00 [13:31:33]wFMCommunicate OK [13:31:33]SAM_PROTO_SignData done [13:31:33]FM_MakeSignedData done [13:31:33]CreateOFDProtocolMessage [13:31:33]wFMCommunicate request_size=4 [13:31:33]MH_SAM_APDU [13:31:33]CAPDU: 80 11 00 00 [13:31:33]Write to MH i2c: E2 08 00 7E 04 80 11 00 00 00 00 00 00 FC [13:31:33]Write i2c OK [13:31:33]MH_I2C_Read... [13:31:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:31:33]Read from MH i2c: E2 [13:31:33]MH_I2C_Read... [13:31:33]Read from MH i2c: E2 17 00 [13:31:33]MH_I2C_Read... [13:31:33]Read from MH i2c: E2 17 00 7E 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 4F [13:31:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [13:31:33]wFMCommunicate OK [13:31:33]CreateOFDProtocolMessage done [13:31:33]OFDSenderStorePacket 4174 [13:31:33]StoreOFDPacket docnum=4174 [13:31:33]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 24 01 00 00 26 97 1C 01 85 47 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 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 20 00 00 00 F4 03 04 00 B4 68 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 4E 10 00 00 35 04 06 00 27 B4 76 D6 F2 87 6D 5C 99 5D 18 F8 62 B1 [13:31:33]CheckFolder [13:31:33]dirname=/storage/ofd_packets [13:31:33]CheckFolder done [13:31:33]ProducePacketName [13:31:33]name=ofd_packets/00004174 [13:31:33]NVStorageSaveData ofd_packets/00004174 [13:31:33]File name is /storage/ofd_packets/00004174 [13:31:33]Write 322 bytes [13:31:33]NVStorageSaveData done [13:31:33]OFDSenderStorePacket done [13:31:33]KKMCreateOFDPacket done [13:31:33]NVStorageSaveData kkm_last_timestamp [13:31:33]File name is /storage/kkm_last_timestamp [13:31:33]Write 4 bytes [13:31:33]NVStorageSaveData done [13:31:33]ExternCall_PrintAddStr [13:31:33]wPrintStart [13:31:33]Write to MH i2c: 01 00 00 7F 04 83 [13:31:33]Write i2c OK [13:31:33]MH_I2C_Read... [13:31:33]Read from MH i2c: 01 [13:31:33]MH_I2C_Read... [13:31:33]Read from MH i2c: 01 07 00 [13:31:33]MH_I2C_Read... [13:31:33]Read from MH i2c: 01 07 00 7F 04 00 00 00 00 00 FF 0F 98 [13:31:33]RasterBufferAndPrint [13:31:33]line Счет N : (3)4427 [13:31:33]line ИНН: 02508201610067 [13:31:33]line Контрольно-Кассовый Чек [13:31:33]line ПРОДАЖА [13:31:33]line Товар: 48745000 [13:31:33]line Сигареты Winston Purple Mix [13:31:33]line 1.000 * 135.00 [13:31:33]line = 135.00 [13:31:33]line НДС 12% НСП 1% [13:31:33]line > о реализуемом товаре [13:31:33]line ИТОГО: 135.00 [13:31:33]line НСП 1% : 1.19 [13:31:33]line НДС 12% : 14.34 [13:31:33]line Наличными: 135.00 [13:31:33]line Безнал.: 0.00 [13:31:33]line Место: АЗС № 116 "Партнер Нефть" [13:31:33]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [13:31:33]line СНО: Общий режим [13:31:33]line Чек 32 05.06.2024 13:31 [13:31:33]line Смена: 84 ФФД: 1.0 [13:31:33]line ЗНМ: 0300000233 [13:31:33]line РНМ: 0000000000145775 [13:31:33]line Версия ККМ: v1.0 [13:31:33]line ФМ: 0000000000959360 [13:31:33]line ФД: 4174 [13:31:33]line ФПД: 43656041394823 [13:31:33]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T133132&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4174&fm=43656041394823&tin=02508201610067®Number=0000000000145775&sum=13500 [13:31:33]line 0 [13:31:33]OFD Sender: Processing packet 4174 [packets to send 2, broken 1] [13:31:33]ProducePacketName [13:31:33]name=ofd_packets/00004174 [13:31:33]OFD Sender: To server: pG, [13:31:33]CommunicateWithHost lk.salyk.kg:30040 [13:31:33]ConnectInit lk.salyk.kg [13:31:33]written 0, free lines is 4095 [13:31:34]Connected sock=10 [13:31:34]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 24 01 00 00 26 97 1C 01 85 47 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 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 20 00 00 00 F4 03 04 00 B4 68 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 4E 10 00 00 35 04 06 00 27 B4 76 D6 F2 87 6D 5C 99 5D 18 F8 62 B1 [13:31:34]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 F9 C5 47 00 B4 BE A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 4E 10 00 00 F4 03 04 00 B2 14 60 66 B6 04 01 00 00 1D 5C 6A 7A 0C 01 90 5B [13:31:34]CommunicateWithHost err = 0 [13:31:34]CheckOFDResponse [13:31:34]1017 (14) - 77093643461234 [13:31:34]1041 (16) - 0000000000959360 [13:31:34]1040 (4) - 4174 [13:31:34]1012 (4) - 05.06.2024 07:33 [13:31:34]1206 (1) - 0 [13:31:34]OFD Sender: Remove packet 4174 [13:31:34]ProducePacketName [13:31:34]name=ofd_packets/00004174 [13:31:34]NVStorageDeleteData [13:31:34]Write to MH i2c: 01 00 00 A7 04 AB [13:31:34]Write i2c OK [13:31:34]MH_I2C_Read... [13:31:34]Read from MH i2c: 01 [13:31:34]MH_I2C_Read... [13:31:34]Read from MH i2c: 01 07 00 [13:31:34]MH_I2C_Read... [13:31:34]Read from MH i2c: 01 07 00 A7 04 00 00 00 00 00 B5 0C 73 [13:31:34]RasterBufferAndPrint [13:31:34]line [13:31:34]line [13:31:34]line [13:31:34]line [13:31:34]line [13:31:34]written 0, free lines is 3257 [13:31:34]MH_Cut [13:31:34]Write to MH i2c: D1 01 00 AE 04 01 84 [13:31:34]Write i2c OK [13:31:34]MH_I2C_Read... [13:31:34]Read from MH i2c: D1 [13:31:34]MH_I2C_Read... [13:31:34]Read from MH i2c: D1 01 00 [13:31:34]MH_I2C_Read... [13:31:34]Read from MH i2c: D1 01 00 AE 04 00 83 [13:31:34]Write to MH i2c: 01 00 00 AF 04 B3 [13:31:34]Write i2c OK [13:31:34]MH_I2C_Read... [13:31:34]OFD Sender: No OFD packet to send [13:31:35]*** Cut start [13:31:35]*** Partial cut [13:31:35]*** CUTSNS_PIN = 1 [13:31:35]*** CUTSNS_PIN = 0 [13:31:35]*** Brake cut motor [13:31:35]Read from MH i2c: 01 [13:31:35]MH_I2C_Read... [13:31:35]*** Stop cut motor [13:31:35]*** Cut end [13:31:35]Read from MH i2c: 01 07 00 [13:31:35]MH_I2C_Read... [13:31:35]Read from MH i2c: 01 07 00 AF 04 00 00 00 00 00 FF 0F C8 [13:31:35]process_action close_receipt done [13:31:35]requested_data is exist [13:31:35]produce_requested_data [13:31:35]requested_item fm.sn is exist - process it [13:31:35]wFMCommunicate request_size=4 [13:31:35]MH_SAM_APDU [13:31:35]CAPDU: 80 11 00 00 [13:31:35]Write to MH i2c: E2 08 00 B0 04 80 11 00 00 00 00 00 00 2E [13:31:35]Write i2c OK [13:31:35]MH_I2C_Read... [13:31:35]Read from MH i2c: E2 [13:31:35]MH_I2C_Read... [13:31:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:31:35]Read from MH i2c: E2 17 00 [13:31:35]MH_I2C_Read... [13:31:35]Read from MH i2c: E2 17 00 B0 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 81 [13:31:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [13:31:35]wFMCommunicate OK [13:31:35]requested_item fd.num is exist - process it [13:31:35]SAM_PROTO_GetFieldsCounters [13:31:35]wFMCommunicate request_size=4 [13:31:35]MH_SAM_APDU [13:31:35]CAPDU: 80 13 00 00 [13:31:35]Write to MH i2c: E2 08 00 B1 04 80 13 00 00 00 00 00 00 31 [13:31:35]Write i2c OK [13:31:35]MH_I2C_Read... [13:31:36]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:31:36]Read from MH i2c: E2 [13:31:36]MH_I2C_Read... [13:31:36]Read from MH i2c: E2 62 00 [13:31:36]MH_I2C_Read... [13:31:36]Read from MH i2c: E2 62 00 B1 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 4E 10 00 00 0E 04 04 00 54 00 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 68 [13:31:36]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 4E 10 00 00 0E 04 04 00 54 00 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:31:36]wFMCommunicate OK [13:31:36]SAM_PROTO_GetFieldsCounters done [13:31:36]requested_item shift.num is exist - process it [13:31:36]requested_item shift.opened is exist - process it [13:31:36]req_shift_opened [13:31:36]FM_GetShiftState [13:31:36]SAM_PROTO_GetShiftState [13:31:36]wFMCommunicate request_size=4 [13:31:36]MH_SAM_APDU [13:31:36]CAPDU: 80 13 01 00 [13:31:36]Write to MH i2c: E2 08 00 B2 04 80 13 01 00 00 00 00 00 33 [13:31:36]Write i2c OK [13:31:36]MH_I2C_Read... [13:31:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:31:36]Read from MH i2c: E2 [13:31:36]MH_I2C_Read... [13:31:36]Read from MH i2c: E2 0E 00 [13:31:36]MH_I2C_Read... [13:31:36]Read from MH i2c: E2 0E 00 B2 04 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 D4 [13:31:36]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [13:31:36]wFMCommunicate OK [13:31:36]SAM_PROTO_GetShiftState done [13:31:36]FM_GetShiftState done [13:31:36]req_shift_opened done [13:31:36]requested_item shift.open_date is exist - process it [13:31:36]req_shift_open_date [13:31:36]req_shift_open_date done [13:31:36]produce_requested_data done [13:31:36]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4174,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765} [13:31:36]process_action_free close_receipt [13:31:36]json_value_free [13:31:36]json_value_free done [13:31:36]process_json_proto returns [13:31:36]Send response to host [13:31:36]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4174,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765}}} [13:31:36]free response buf [13:31:36]execute_script done [13:31:36]execute_script returns [13:31:36]free content buf [13:31:36]Sock 8.Close socket [13:31:36]Sock 8.Thread stoped [13:31:39]OFD Sender: No OFD packet to send [13:31:44]OFD Sender: No OFD packet to send [13:31:49]OFD Sender: No OFD packet to send [13:31:54]OFD Sender: No OFD packet to send [13:31:59]OFD Sender: No OFD packet to send [13:32:04]OFD Sender: No OFD packet to send [13:32:09]OFD Sender: No OFD packet to send [13:32:14]OFD Sender: No OFD packet to send [13:32:19]OFD Sender: No OFD packet to send [13:32:24]OFD Sender: No OFD packet to send [13:32:29]OFD Sender: No OFD packet to send [13:32:34]OFD Sender: No OFD packet to send [13:32:39]OFD Sender: No OFD packet to send [13:32:44]OFD Sender: No OFD packet to send [13:32:49]OFD Sender: No OFD packet to send [13:32:54]OFD Sender: No OFD packet to send [13:32:59]OFD Sender: No OFD packet to send [13:33:04]OFD Sender: No OFD packet to send [13:33:09]OFD Sender: No OFD packet to send [13:33:14]OFD Sender: No OFD packet to send [13:33:19]OFD Sender: No OFD packet to send [13:33:24]OFD Sender: No OFD packet to send [13:33:29]OFD Sender: No OFD packet to send [13:33:34]OFD Sender: No OFD packet to send [13:33:39]OFD Sender: No OFD packet to send [13:33:44]OFD Sender: No OFD packet to send [13:33:49]OFD Sender: No OFD packet to send [13:33:54]OFD Sender: No OFD packet to send [13:33:59]OFD Sender: No OFD packet to send [13:34:04]OFD Sender: No OFD packet to send [13:34:09]OFD Sender: No OFD packet to send [13:34:14]OFD Sender: No OFD packet to send [13:34:19]OFD Sender: No OFD packet to send [13:34:24]OFD Sender: No OFD packet to send [13:34:29]OFD Sender: No OFD packet to send [13:34:34]OFD Sender: No OFD packet to send [13:34:39]OFD Sender: No OFD packet to send [13:34:44]OFD Sender: No OFD packet to send [13:34:49]OFD Sender: No OFD packet to send [13:34:54]OFD Sender: No OFD packet to send [13:34:59]OFD Sender: No OFD packet to send [13:35:04]OFD Sender: No OFD packet to send [13:35:09]OFD Sender: No OFD packet to send [13:35:14]OFD Sender: No OFD packet to send [13:35:19]OFD Sender: No OFD packet to send [13:35:24]OFD Sender: No OFD packet to send [13:35:29]OFD Sender: No OFD packet to send [13:35:34]OFD Sender: No OFD packet to send [13:35:39]OFD Sender: No OFD packet to send [13:35:44]OFD Sender: No OFD packet to send [13:35:49]OFD Sender: No OFD packet to send [13:35:54]OFD Sender: No OFD packet to send [13:35:59]OFD Sender: No OFD packet to send [13:36:04]OFD Sender: No OFD packet to send [13:36:09]OFD Sender: No OFD packet to send [13:36:14]OFD Sender: No OFD packet to send [13:36:19]OFD Sender: No OFD packet to send [13:36:24]OFD Sender: No OFD packet to send [13:36:29]OFD Sender: No OFD packet to send [13:36:34]OFD Sender: No OFD packet to send [13:36:39]OFD Sender: No OFD packet to send [13:36:44]OFD Sender: No OFD packet to send [13:36:49]OFD Sender: No OFD packet to send [13:36:54]OFD Sender: No OFD packet to send [13:36:59]OFD Sender: No OFD packet to send [13:37:04]OFD Sender: No OFD packet to send [13:37:09]OFD Sender: No OFD packet to send [13:37:14]OFD Sender: No OFD packet to send [13:37:19]OFD Sender: No OFD packet to send [13:37:24]OFD Sender: No OFD packet to send [13:37:29]OFD Sender: No OFD packet to send [13:37:34]OFD Sender: No OFD packet to send [13:37:39]OFD Sender: No OFD packet to send [13:37:44]OFD Sender: No OFD packet to send [13:37:49]OFD Sender: No OFD packet to send [13:37:55]OFD Sender: No OFD packet to send [13:38:00]OFD Sender: No OFD packet to send [13:38:05]OFD Sender: No OFD packet to send [13:38:10]OFD Sender: No OFD packet to send [13:38:15]OFD Sender: No OFD packet to send [13:38:20]OFD Sender: No OFD packet to send [13:38:25]OFD Sender: No OFD packet to send [13:38:30]OFD Sender: No OFD packet to send [13:38:35]OFD Sender: No OFD packet to send [13:38:40]OFD Sender: No OFD packet to send [13:38:45]OFD Sender: No OFD packet to send [13:38:50]OFD Sender: No OFD packet to send [13:38:55]OFD Sender: No OFD packet to send [13:39:00]OFD Sender: No OFD packet to send [13:39:05]OFD Sender: No OFD packet to send [13:39:10]OFD Sender: No OFD packet to send [13:39:15]OFD Sender: No OFD packet to send [13:39:20]OFD Sender: No OFD packet to send [13:39:25]OFD Sender: No OFD packet to send [13:39:30]OFD Sender: No OFD packet to send [13:39:35]OFD Sender: No OFD packet to send [13:39:40]OFD Sender: No OFD packet to send [13:39:45]OFD Sender: No OFD packet to send [13:39:50]OFD Sender: No OFD packet to send [13:39:55]OFD Sender: No OFD packet to send [13:40:00]OFD Sender: No OFD packet to send [13:40:05]OFD Sender: No OFD packet to send [13:40:10]OFD Sender: No OFD packet to send [13:40:15]OFD Sender: No OFD packet to send [13:40:20]OFD Sender: No OFD packet to send [13:40:25]OFD Sender: No OFD packet to send [13:40:30]OFD Sender: No OFD packet to send [13:40:35]OFD Sender: No OFD packet to send [13:40:40]OFD Sender: No OFD packet to send [13:40:45]OFD Sender: No OFD packet to send [13:40:50]OFD Sender: No OFD packet to send [13:40:55]OFD Sender: No OFD packet to send [13:41:00]OFD Sender: No OFD packet to send [13:41:05]OFD Sender: No OFD packet to send [13:41:08]accept exits with 9 [13:41:08]New connection [13:41:08]New thread 3066748260 created [13:41:08]Thread 3066604900 joined [13:41:08]Waiting for new connection... [13:41:08] Sock 9.Parse request [13:41:08]Sock 9.Check first char [13:41:08]Sock 9.First char is OK [13:41:08]request: POST /json_proto HTTP/1.0 [13:41:08]Method: POST [13:41:08]URL: /json_proto [13:41:08]Method is POST - this is cgi request [13:41:08]url: /json_proto [13:41:08]query_string will be loaded in cgi processing [13:41:08]execute_cgi json_proto POST (null) [13:41:08]execute_cgi path=json_proto method=POST [13:41:08]POST find Content-Length [13:41:08]Host: 172.17.56.68:8080 [13:41:08]Content-Length: 712 [13:41:08]Content-Type: application/json [13:41:08] [13:41:08]POST finish read [13:41:08]Found Content-Length = 712 [13:41:08]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4428", "tax_sys" : 0, "items" : [ { "code": "4860019001810", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u0440\u0436\u043E\u043C\u0438 \u043C\u0438\u043D\u0435\u0440\u0430\u043B\u044C\u043D\u0430\u044F \u0436/\u0431 0,33\u043B", "price" : 80.00, "quantity" : 1.000, "sum" : 80.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 80.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:41:08]execute_script... [13:41:08]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4428", "tax_sys" : 0, "items" : [ { "code": "4860019001810", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u0440\u0436\u043E\u043C\u0438 \u043C\u0438\u043D\u0435\u0440\u0430\u043B\u044C\u043D\u0430\u044F \u0436/\u0431 0,33\u043B", "price" : 80.00, "quantity" : 1.000, "sum" : 80.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 80.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:41:08]POST & json_proto [13:41:08]process_json_proto [13:41:08]json parsed OK: [13:41:08]protocol is kg_v1.0 [13:41:08]action value=close_receipt [13:41:08]process_action close_receipt [13:41:08]cmd_close_receipt [13:41:08]MH_GetDate [13:41:08]Write to MH i2c: F0 00 00 B3 04 A6 [13:41:08]Write i2c OK [13:41:08]MH_I2C_Read... [13:41:08]Read from MH i2c: F0 [13:41:08]MH_I2C_Read... [13:41:08]Read from MH i2c: F0 09 00 [13:41:08]MH_I2C_Read... [13:41:08]Read from MH i2c: F0 09 00 B3 04 00 F5 6A 60 66 42 69 5C 66 41 [13:41:08]GetLastDocTimeStamp 1717594292 [13:41:08]current date 1717594869 [13:41:08]FM_GetShiftState [13:41:08]SAM_PROTO_GetShiftState [13:41:08]wFMCommunicate request_size=4 [13:41:08]MH_SAM_APDU [13:41:08]CAPDU: 80 13 01 00 [13:41:08]Write to MH i2c: E2 08 00 B4 04 80 13 01 00 00 00 00 00 35 [13:41:08]Write i2c OK [13:41:08]MH_I2C_Read... [13:41:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:41:08]Read from MH i2c: E2 [13:41:08]MH_I2C_Read... [13:41:08]Read from MH i2c: E2 0E 00 [13:41:08]MH_I2C_Read... [13:41:08]Read from MH i2c: E2 0E 00 B4 04 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 D6 [13:41:08]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [13:41:08]wFMCommunicate OK [13:41:08]SAM_PROTO_GetShiftState done [13:41:08]FM_GetShiftState done [13:41:08]opened in 1717545765 [13:41:08]opened+sec_in_day 1717632165 [13:41:08]quantity*price = 8000 [13:41:08]sum+1 = 8001 [13:41:08]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 80.00 НСП 1% : 0.71 НДС 12% : 8.50 Наличными: 80.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 33 05.06.2024 13:41 Смена: 84 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4175 ФПД: 238120137661359 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T134109&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4175&fm=238120137661359&tin=02508201610067®Number=0000000000145775&sum=8000 0 [13:41:10]StoreToDocumentArchive [13:41:10]shift 84 fd 4175 [13:41:10]save to /storage/0084/doc_00004175 [13:41:10]save last doc name /storage/0084/doc_00004175 to /storage/kkm_last_doc_name [13:41:10]save OK [13:41:10]Clear old archive folders... [13:41:10]ProcessDocumentItem done err = 0, tmpTLVsize=301 [13:41:10]tlvbuf is 01324C50 [13:41:10]SAM_PROTO_ClearQueue [13:41:10]wFMCommunicate request_size=4 [13:41:10]MH_SAM_APDU [13:41:10]CAPDU: 80 09 00 00 [13:41:10]Write to MH i2c: E2 08 00 C1 04 80 09 00 00 00 00 00 00 37 [13:41:10]Write i2c OK [13:41:10]MH_I2C_Read... [13:41:10]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:41:10]Read from MH i2c: E2 [13:41:10]MH_I2C_Read... [13:41:10]Read from MH i2c: E2 03 00 [13:41:10]MH_I2C_Read... [13:41:10]Read from MH i2c: E2 03 00 C1 04 00 90 00 39 [13:41:10]RAPDU: 90 00 [13:41:10]wFMCommunicate OK [13:41:10]SAM_PROTO_ClearQueue done [13:41:10]KKMCreateOFDPacket [13:41:10]OFDProtocolAddRootSTLVToBuf [13:41:10]FM_MakeSignedData [13:41:10]FM_MakeSignedData [13:41:10]SAM_PROTO_SignData [13:41:10]wFMCommunicate request_size=4 [13:41:10]MH_SAM_APDU [13:41:10]CAPDU: 80 0D 01 02 [13:41:10]Write to MH i2c: E2 08 00 C2 04 80 0D 01 02 00 00 00 00 3F [13:41:10]Write i2c OK [13:41:10]MH_I2C_Read... [13:41:10]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:41:10]OFD Sender: No OFD packet to send [13:41:10]Read from MH i2c: E2 [13:41:10]MH_I2C_Read... [13:41:10]Read from MH i2c: E2 03 00 [13:41:10]MH_I2C_Read... [13:41:10]Read from MH i2c: E2 03 00 C2 04 00 90 00 3A [13:41:10]RAPDU: 90 00 [13:41:10]wFMCommunicate OK [13:41:10]wFMCommunicate request_size=255 [13:41:10]MH_SAM_APDU [13:41:10]CAPDU: 80 0D 02 02 FA 03 00 2D 01 1E 04 01 00 01 23 04 7F 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 38 31 30 06 04 3B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D1 80 D0 B6 D0 BE D0 BC D0 B8 20 D0 BC D0 B8 D0 BD D0 B5 D1 80 D0 B0 D0 BB D1 8C D0 BD D0 B0 D1 8F 20 D0 B6 2F D0 B1 20 30 2C 33 33 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 FC 03 06 00 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 03 00 00 00 00 07 04 06 00 40 1F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 F5 6A 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 [13:41:10]Write to MH i2c: E2 02 01 C3 04 80 0D 02 02 FA 00 03 00 2D 01 1E 04 01 00 01 23 04 7F 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 38 31 30 06 04 3B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D1 80 D0 B6 D0 BE D0 BC D0 B8 20 D0 BC D0 B8 D0 BD D0 B5 D1 80 D0 B0 D0 BB D1 8C D0 BD D0 B0 D1 8F 20 D0 B6 2F D0 B1 20 30 2C 33 33 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 FC 03 06 00 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 03 00 00 00 00 07 04 06 00 40 1F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 F5 6A 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 00 9B [13:41:10]Write i2c OK [13:41:10]MH_I2C_Read... [13:41:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:41:10]Read from MH i2c: E2 [13:41:10]MH_I2C_Read... [13:41:10]Read from MH i2c: E2 03 00 [13:41:10]MH_I2C_Read... [13:41:10]Read from MH i2c: E2 03 00 C3 04 00 90 00 3B [13:41:10]RAPDU: 90 00 [13:41:10]wFMCommunicate OK [13:41:10]wFMCommunicate request_size=60 [13:41:10]MH_SAM_APDU [13:41:10]CAPDU: 80 0D 02 02 37 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 4F 10 00 00 35 04 06 00 D8 91 AA 38 1B AF [13:41:10]Write to MH i2c: E2 3F 00 C4 04 80 0D 02 02 37 00 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 4F 10 00 00 35 04 06 00 D8 91 AA 38 1B AF 00 00 DD [13:41:10]Write i2c OK [13:41:10]MH_I2C_Read... [13:41:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:41:10]Read from MH i2c: E2 [13:41:10]MH_I2C_Read... [13:41:10]Read from MH i2c: E2 03 00 [13:41:10]MH_I2C_Read... [13:41:10]Read from MH i2c: E2 03 00 C4 04 00 90 00 3C [13:41:10]RAPDU: 90 00 [13:41:10]wFMCommunicate OK [13:41:10]wFMCommunicate request_size=4 [13:41:10]MH_SAM_APDU [13:41:10]CAPDU: 80 0D 03 02 [13:41:10]Write to MH i2c: E2 08 00 C5 04 80 0D 03 02 00 00 00 00 44 [13:41:10]Write i2c OK [13:41:10]MH_I2C_Read... [13:41:10]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:41:10]Read from MH i2c: E2 [13:41:10]MH_I2C_Read... [13:41:10]Read from MH i2c: E2 0B 00 [13:41:10]MH_I2C_Read... [13:41:10]Read from MH i2c: E2 0B 00 C5 04 00 15 D6 98 C7 F1 49 62 D8 90 00 03 [13:41:10]RAPDU: 15 D6 98 C7 F1 49 62 D8 90 00 [13:41:10]wFMCommunicate OK [13:41:10]SAM_PROTO_SignData done [13:41:10]FM_MakeSignedData done [13:41:10]CreateOFDProtocolMessage [13:41:10]wFMCommunicate request_size=4 [13:41:10]MH_SAM_APDU [13:41:10]CAPDU: 80 11 00 00 [13:41:10]Write to MH i2c: E2 08 00 C6 04 80 11 00 00 00 00 00 00 44 [13:41:10]Write i2c OK [13:41:10]MH_I2C_Read... [13:41:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:41:10]Read from MH i2c: E2 [13:41:10]MH_I2C_Read... [13:41:10]Read from MH i2c: E2 17 00 [13:41:10]MH_I2C_Read... [13:41:10]Read from MH i2c: E2 17 00 C6 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 97 [13:41:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [13:41:10]wFMCommunicate OK [13:41:10]CreateOFDProtocolMessage done [13:41:10]OFDSenderStorePacket 4175 [13:41:10]StoreOFDPacket docnum=4175 [13:41:10]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 41 01 00 00 6A 66 39 01 9B 03 5A 03 01 00 03 00 2D 01 1E 04 01 00 01 23 04 7F 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 38 31 30 06 04 3B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D1 80 D0 B6 D0 BE D0 BC D0 B8 20 D0 BC D0 B8 D0 BD D0 B5 D1 80 D0 B0 D0 BB D1 8C D0 BD D0 B0 D1 8F 20 D0 B6 2F D0 B1 20 30 2C 33 33 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 FC 03 06 00 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 03 00 00 00 00 07 04 06 00 40 1F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 F5 6A 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 4F 10 00 00 35 04 06 00 D8 91 AA 38 1B AF 15 D6 98 C7 F1 49 62 D8 [13:41:10]CheckFolder [13:41:10]dirname=/storage/ofd_packets [13:41:10]CheckFolder done [13:41:10]ProducePacketName [13:41:10]name=ofd_packets/00004175 [13:41:10]NVStorageSaveData ofd_packets/00004175 [13:41:10]File name is /storage/ofd_packets/00004175 [13:41:10]Write 351 bytes [13:41:10]NVStorageSaveData done [13:41:10]OFDSenderStorePacket done [13:41:10]KKMCreateOFDPacket done [13:41:10]NVStorageSaveData kkm_last_timestamp [13:41:10]File name is /storage/kkm_last_timestamp [13:41:10]Write 4 bytes [13:41:10]NVStorageSaveData done [13:41:10]ExternCall_PrintAddStr [13:41:10]wPrintStart [13:41:10]Write to MH i2c: 01 00 00 C7 04 CB [13:41:10]Write i2c OK [13:41:10]MH_I2C_Read... [13:41:10]Read from MH i2c: 01 [13:41:10]MH_I2C_Read... [13:41:10]Read from MH i2c: 01 07 00 [13:41:10]MH_I2C_Read... [13:41:10]Read from MH i2c: 01 07 00 C7 04 00 00 00 00 00 FF 0F E0 [13:41:10]RasterBufferAndPrint [13:41:10]line Счет N : (3)4428 [13:41:10]line ИНН: 02508201610067 [13:41:10]line Контрольно-Кассовый Чек [13:41:10]line ПРОДАЖА [13:41:10]line Товар: 4860019001810 [13:41:10]line Вода Боржоми минеральная ж/б 0,33л [13:41:10]line 1.000 * 80.00 [13:41:10]line = 80.00 [13:41:10]line НДС 12% НСП 1% [13:41:10]line > о реализуемом товаре [13:41:10]line ИТОГО: 80.00 [13:41:10]line НСП 1% : 0.71 [13:41:10]line НДС 12% : 8.50 [13:41:10]line Наличными: 80.00 [13:41:10]line Безнал.: 0.00 [13:41:10]line Место: АЗС № 116 "Партнер Нефть" [13:41:10]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [13:41:10]line СНО: Общий режим [13:41:10]line Чек 33 05.06.2024 13:41 [13:41:10]line Смена: 84 ФФД: 1.0 [13:41:10]line ЗНМ: 0300000233 [13:41:10]line РНМ: 0000000000145775 [13:41:10]line Версия ККМ: v1.0 [13:41:10]line ФМ: 0000000000959360 [13:41:10]line ФД: 4175 [13:41:10]line ФПД: 238120137661359 [13:41:10]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T134109&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4175&fm=238120137661359&tin=02508201610067®Number=0000000000145775&sum=8000 [13:41:10]line 0 [13:41:10]OFD Sender: Processing packet 4175 [packets to send 2, broken 1] [13:41:10]ProducePacketName [13:41:10]name=ofd_packets/00004175 [13:41:10]OFD Sender: To server: pG, [13:41:10]CommunicateWithHost lk.salyk.kg:30040 [13:41:10]ConnectInit lk.salyk.kg [13:41:10]written 0, free lines is 4095 [13:41:11]Connected sock=10 [13:41:11]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 41 01 00 00 6A 66 39 01 9B 03 5A 03 01 00 03 00 2D 01 1E 04 01 00 01 23 04 7F 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 38 31 30 06 04 3B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D1 80 D0 B6 D0 BE D0 BC D0 B8 20 D0 BC D0 B8 D0 BD D0 B5 D1 80 D0 B0 D0 BB D1 8C D0 BD D0 B0 D1 8F 20 D0 B6 2F D0 B1 20 30 2C 33 33 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 FC 03 06 00 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 03 00 00 00 00 07 04 06 00 40 1F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 F5 6A 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 4F 10 00 00 35 04 06 00 D8 91 AA 38 1B AF 15 D6 98 C7 F1 49 62 D8 [13:41:11]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 02 7F 47 00 D2 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 39 35 39 33 36 30 10 04 04 00 4F 10 00 00 F4 03 04 00 F3 16 60 66 B6 04 01 00 00 4E F2 FB C7 D3 26 D3 10 [13:41:11]CommunicateWithHost err = 0 [13:41:11]CheckOFDResponse [13:41:11]1017 (14) - 77093643461234 [13:41:11]1041 (16) - 0000000000959360 [13:41:11]1040 (4) - 4175 [13:41:11]1012 (4) - 05.06.2024 07:42 [13:41:11]1206 (1) - 0 [13:41:11]OFD Sender: Remove packet 4175 [13:41:11]ProducePacketName [13:41:11]name=ofd_packets/00004175 [13:41:11]NVStorageDeleteData [13:41:11]Write to MH i2c: 01 00 00 F0 04 F4 [13:41:11]Write i2c OK [13:41:11]MH_I2C_Read... [13:41:11]Read from MH i2c: 01 [13:41:11]MH_I2C_Read... [13:41:11]Read from MH i2c: 01 07 00 [13:41:11]MH_I2C_Read... [13:41:11]Read from MH i2c: 01 07 00 F0 04 00 00 00 00 00 9B 0C A2 [13:41:11]RasterBufferAndPrint [13:41:11]line [13:41:11]line [13:41:11]line [13:41:11]line [13:41:11]line [13:41:11]written 0, free lines is 3231 [13:41:11]MH_Cut [13:41:11]Write to MH i2c: D1 01 00 F7 04 01 CD [13:41:11]Write i2c OK [13:41:11]MH_I2C_Read... [13:41:11]Read from MH i2c: D1 [13:41:11]MH_I2C_Read... [13:41:11]Read from MH i2c: D1 01 00 [13:41:11]MH_I2C_Read... [13:41:11]Read from MH i2c: D1 01 00 F7 04 00 CC [13:41:11]Write to MH i2c: 01 00 00 F8 04 FC [13:41:11]Write i2c OK [13:41:11]MH_I2C_Read... [13:41:11]OFD Sender: No OFD packet to send [13:41:12]*** Cut start [13:41:12]*** Partial cut [13:41:12]*** CUTSNS_PIN = 1 [13:41:12]*** CUTSNS_PIN = 0 [13:41:12]*** Brake cut motor [13:41:12]Read from MH i2c: 01 [13:41:13]MH_I2C_Read... [13:41:13]*** Stop cut motor [13:41:13]*** Cut end [13:41:13]Read from MH i2c: 01 07 00 [13:41:13]MH_I2C_Read... [13:41:13]Read from MH i2c: 01 07 00 F8 04 00 00 00 00 00 FF 0F 11 [13:41:13]process_action close_receipt done [13:41:13]requested_data is exist [13:41:13]produce_requested_data [13:41:13]requested_item fm.sn is exist - process it [13:41:13]wFMCommunicate request_size=4 [13:41:13]MH_SAM_APDU [13:41:13]CAPDU: 80 11 00 00 [13:41:13]Write to MH i2c: E2 08 00 F9 04 80 11 00 00 00 00 00 00 77 [13:41:13]Write i2c OK [13:41:13]MH_I2C_Read... [13:41:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:41:13]Read from MH i2c: E2 [13:41:13]MH_I2C_Read... [13:41:13]Read from MH i2c: E2 17 00 [13:41:13]MH_I2C_Read... [13:41:13]Read from MH i2c: E2 17 00 F9 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 CA [13:41:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [13:41:13]wFMCommunicate OK [13:41:13]requested_item fd.num is exist - process it [13:41:13]SAM_PROTO_GetFieldsCounters [13:41:13]wFMCommunicate request_size=4 [13:41:13]MH_SAM_APDU [13:41:13]CAPDU: 80 13 00 00 [13:41:13]Write to MH i2c: E2 08 00 FA 04 80 13 00 00 00 00 00 00 7A [13:41:13]Write i2c OK [13:41:13]MH_I2C_Read... [13:41:13]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:41:13]Read from MH i2c: E2 [13:41:13]MH_I2C_Read... [13:41:13]Read from MH i2c: E2 62 00 [13:41:13]MH_I2C_Read... [13:41:13]Read from MH i2c: E2 62 00 FA 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 4F 10 00 00 0E 04 04 00 54 00 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 B5 [13:41:13]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 4F 10 00 00 0E 04 04 00 54 00 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:41:13]wFMCommunicate OK [13:41:13]SAM_PROTO_GetFieldsCounters done [13:41:13]requested_item shift.num is exist - process it [13:41:13]requested_item shift.opened is exist - process it [13:41:13]req_shift_opened [13:41:13]FM_GetShiftState [13:41:13]SAM_PROTO_GetShiftState [13:41:13]wFMCommunicate request_size=4 [13:41:13]MH_SAM_APDU [13:41:13]CAPDU: 80 13 01 00 [13:41:13]Write to MH i2c: E2 08 00 FB 04 80 13 01 00 00 00 00 00 7C [13:41:13]Write i2c OK [13:41:13]MH_I2C_Read... [13:41:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:41:13]Read from MH i2c: E2 [13:41:13]MH_I2C_Read... [13:41:13]Read from MH i2c: E2 0E 00 [13:41:13]MH_I2C_Read... [13:41:13]Read from MH i2c: E2 0E 00 FB 04 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 1D [13:41:13]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [13:41:13]wFMCommunicate OK [13:41:13]SAM_PROTO_GetShiftState done [13:41:13]FM_GetShiftState done [13:41:13]req_shift_opened done [13:41:13]requested_item shift.open_date is exist - process it [13:41:13]req_shift_open_date [13:41:13]req_shift_open_date done [13:41:13]produce_requested_data done [13:41:13]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4175,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765} [13:41:13]process_action_free close_receipt [13:41:13]json_value_free [13:41:13]json_value_free done [13:41:13]process_json_proto returns [13:41:13]Send response to host [13:41:13]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4175,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765}}} [13:41:13]free response buf [13:41:13]execute_script done [13:41:13]execute_script returns [13:41:13]free content buf [13:41:13]Sock 9.Close socket [13:41:13]Sock 9.Thread stoped [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:45]accept exits with 8 [13:41:45]New connection [13:41:45]New thread 3066604900 created [13:41:45]Thread 3066748260 joined [13:41:45]Waiting for new connection... [13:41:45] Sock 8.Parse request [13:41:45]Sock 8.Check first char [13:41:45]Sock 8.First char is OK [13:41:45]request: POST /json_proto HTTP/1.0 [13:41:45]Method: POST [13:41:45]URL: /json_proto [13:41:45]Method is POST - this is cgi request [13:41:45]url: /json_proto [13:41:45]query_string will be loaded in cgi processing [13:41:45]execute_cgi json_proto POST (null) [13:41:45]execute_cgi path=json_proto method=POST [13:41:45]POST find Content-Length [13:41:45]Host: 172.17.56.68:8080 [13:41:45]Content-Length: 707 [13:41:45]Content-Type: application/json [13:41:45] [13:41:45]POST finish read [13:41:45]Found Content-Length = 707 [13:41:45]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4429", "tax_sys" : 0, "items" : [ { "code": "4700000480302", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u043C\u0430\u043D\u0433\u043E-\u043A\u043B\u0443\u0431 0.45 \u0436/\u0431", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:41:45]execute_script... [13:41:45]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4429", "tax_sys" : 0, "items" : [ { "code": "4700000480302", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u043C\u0430\u043D\u0433\u043E-\u043A\u043B\u0443\u0431 0.45 \u0436/\u0431", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:41:45]POST & json_proto [13:41:45]process_json_proto [13:41:45]json parsed OK: [13:41:45]protocol is kg_v1.0 [13:41:45]action value=close_receipt [13:41:45]process_action close_receipt [13:41:45]cmd_close_receipt [13:41:45]MH_GetDate [13:41:45]Write to MH i2c: F0 00 00 FC 04 EF [13:41:45]Write i2c OK [13:41:45]MH_I2C_Read... [13:41:45]Read from MH i2c: F0 [13:41:45]MH_I2C_Read... [13:41:45]Read from MH i2c: F0 09 00 [13:41:45]MH_I2C_Read... [13:41:45]Read from MH i2c: F0 09 00 FC 04 00 1A 6B 60 66 42 69 5C 66 B0 [13:41:45]GetLastDocTimeStamp 1717594869 [13:41:45]current date 1717594906 [13:41:45]FM_GetShiftState [13:41:45]SAM_PROTO_GetShiftState [13:41:45]wFMCommunicate request_size=4 [13:41:45]MH_SAM_APDU [13:41:45]CAPDU: 80 13 01 00 [13:41:45]Write to MH i2c: E2 08 00 FD 04 80 13 01 00 00 00 00 00 7E [13:41:45]Write i2c OK [13:41:45]MH_I2C_Read... [13:41:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:41:45]Read from MH i2c: E2 [13:41:45]MH_I2C_Read... [13:41:45]Read from MH i2c: E2 0E 00 [13:41:45]MH_I2C_Read... [13:41:45]Read from MH i2c: E2 0E 00 FD 04 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 1F [13:41:45]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [13:41:45]wFMCommunicate OK [13:41:45]SAM_PROTO_GetShiftState done [13:41:45]FM_GetShiftState done [13:41:45]opened in 1717545765 [13:41:45]opened+sec_in_day 1717632165 [13:41:45]quantity*price = 9500 [13:41:45]sum+1 = 9501 [13:41:45]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 95.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 34 05.06.2024 13:41 Смена: 84 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4176 ФПД: 17672692397997 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T134146&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4176&fm=17672692397997&tin=02508201610067®Number=0000000000145775&sum=9500 0 [13:41:47]StoreToDocumentArchive [13:41:47]shift 84 fd 4176 [13:41:47]save to /storage/0084/doc_00004176 [13:41:47]save last doc name /storage/0084/doc_00004176 to /storage/kkm_last_doc_name [13:41:47]save OK [13:41:47]Clear old archive folders... [13:41:47]ProcessDocumentItem done err = 0, tmpTLVsize=304 [13:41:47]tlvbuf is 01305730 [13:41:47]SAM_PROTO_ClearQueue [13:41:47]wFMCommunicate request_size=4 [13:41:47]MH_SAM_APDU [13:41:47]CAPDU: 80 09 00 00 [13:41:47]Write to MH i2c: E2 08 00 0A 05 80 09 00 00 00 00 00 00 81 [13:41:47]Write i2c OK [13:41:47]MH_I2C_Read... [13:41:47]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:41:47]Read from MH i2c: E2 [13:41:47]MH_I2C_Read... [13:41:47]Read from MH i2c: E2 03 00 [13:41:47]MH_I2C_Read... [13:41:47]Read from MH i2c: E2 03 00 0A 05 00 90 00 83 [13:41:47]RAPDU: 90 00 [13:41:47]wFMCommunicate OK [13:41:47]SAM_PROTO_ClearQueue done [13:41:47]KKMCreateOFDPacket [13:41:47]OFDProtocolAddRootSTLVToBuf [13:41:47]FM_MakeSignedData [13:41:47]FM_MakeSignedData [13:41:47]SAM_PROTO_SignData [13:41:47]wFMCommunicate request_size=4 [13:41:47]MH_SAM_APDU [13:41:47]CAPDU: 80 0D 01 02 [13:41:47]Write to MH i2c: E2 08 00 0B 05 80 0D 01 02 00 00 00 00 89 [13:41:47]Write i2c OK [13:41:47]MH_I2C_Read... [13:41:47]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:41:47]Read from MH i2c: E2 [13:41:47]MH_I2C_Read... [13:41:47]Read from MH i2c: E2 03 00 [13:41:47]MH_I2C_Read... [13:41:47]Read from MH i2c: E2 03 00 0B 05 00 90 00 84 [13:41:47]RAPDU: 90 00 [13:41:47]wFMCommunicate OK [13:41:47]wFMCommunicate request_size=255 [13:41:47]MH_SAM_APDU [13:41:47]CAPDU: 80 0D 02 02 FA 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 30 32 06 04 3E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BB D1 83 D0 B1 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 22 00 00 00 F4 03 04 00 1A 6B 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 [13:41:47]Write to MH i2c: E2 02 01 0C 05 80 0D 02 02 FA 00 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 30 32 06 04 3E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BB D1 83 D0 B1 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 22 00 00 00 F4 03 04 00 1A 6B 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 00 00 90 [13:41:47]Write i2c OK [13:41:47]MH_I2C_Read... [13:41:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:41:47]Read from MH i2c: E2 [13:41:47]MH_I2C_Read... [13:41:47]Read from MH i2c: E2 03 00 [13:41:47]MH_I2C_Read... [13:41:47]Read from MH i2c: E2 03 00 0C 05 00 90 00 85 [13:41:47]RAPDU: 90 00 [13:41:47]wFMCommunicate OK [13:41:47]wFMCommunicate request_size=63 [13:41:47]MH_SAM_APDU [13:41:47]CAPDU: 80 0D 02 02 3A 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 50 10 00 00 35 04 06 00 10 12 BE 8D 77 AD [13:41:47]Write to MH i2c: E2 42 00 0D 05 80 0D 02 02 3A 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 50 10 00 00 35 04 06 00 10 12 BE 8D 77 AD 00 00 CB [13:41:47]Write i2c OK [13:41:47]MH_I2C_Read... [13:41:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:41:47]Read from MH i2c: E2 [13:41:47]MH_I2C_Read... [13:41:47]Read from MH i2c: E2 03 00 [13:41:47]MH_I2C_Read... [13:41:47]Read from MH i2c: E2 03 00 0D 05 00 90 00 86 [13:41:47]RAPDU: 90 00 [13:41:47]wFMCommunicate OK [13:41:47]wFMCommunicate request_size=4 [13:41:47]MH_SAM_APDU [13:41:47]CAPDU: 80 0D 03 02 [13:41:47]Write to MH i2c: E2 08 00 0E 05 80 0D 03 02 00 00 00 00 8E [13:41:47]Write i2c OK [13:41:47]MH_I2C_Read... [13:41:47]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:41:47]Read from MH i2c: E2 [13:41:47]MH_I2C_Read... [13:41:47]Read from MH i2c: E2 0B 00 [13:41:47]MH_I2C_Read... [13:41:47]Read from MH i2c: E2 0B 00 0E 05 00 A4 4A 54 A9 5F 45 FD 96 90 00 B1 [13:41:47]RAPDU: A4 4A 54 A9 5F 45 FD 96 90 00 [13:41:47]wFMCommunicate OK [13:41:47]SAM_PROTO_SignData done [13:41:47]FM_MakeSignedData done [13:41:47]CreateOFDProtocolMessage [13:41:47]wFMCommunicate request_size=4 [13:41:47]MH_SAM_APDU [13:41:47]CAPDU: 80 11 00 00 [13:41:47]Write to MH i2c: E2 08 00 0F 05 80 11 00 00 00 00 00 00 8E [13:41:47]Write i2c OK [13:41:47]MH_I2C_Read... [13:41:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:41:47]Read from MH i2c: E2 [13:41:47]MH_I2C_Read... [13:41:47]Read from MH i2c: E2 17 00 [13:41:47]MH_I2C_Read... [13:41:47]Read from MH i2c: E2 17 00 0F 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 E1 [13:41:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [13:41:47]wFMCommunicate OK [13:41:47]CreateOFDProtocolMessage done [13:41:47]OFDSenderStorePacket 4176 [13:41:47]StoreOFDPacket docnum=4176 [13:41:47]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 44 01 00 00 C1 F2 3C 01 3C 67 5A 03 01 00 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 30 32 06 04 3E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BB D1 83 D0 B1 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 22 00 00 00 F4 03 04 00 1A 6B 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 50 10 00 00 35 04 06 00 10 12 BE 8D 77 AD A4 4A 54 A9 5F 45 FD 96 [13:41:47]CheckFolder [13:41:47]dirname=/storage/ofd_packets [13:41:47]CheckFolder done [13:41:47]ProducePacketName [13:41:47]name=ofd_packets/00004176 [13:41:47]NVStorageSaveData ofd_packets/00004176 [13:41:47]File name is /storage/ofd_packets/00004176 [13:41:47]Write 354 bytes [13:41:47]NVStorageSaveData done [13:41:47]OFDSenderStorePacket done [13:41:47]KKMCreateOFDPacket done [13:41:47]NVStorageSaveData kkm_last_timestamp [13:41:47]File name is /storage/kkm_last_timestamp [13:41:47]Write 4 bytes [13:41:47]NVStorageSaveData done [13:41:47]ExternCall_PrintAddStr [13:41:47]wPrintStart [13:41:47]Write to MH i2c: 01 00 00 10 05 15 [13:41:47]Write i2c OK [13:41:47]MH_I2C_Read... [13:41:47]Read from MH i2c: 01 [13:41:47]MH_I2C_Read... [13:41:47]Read from MH i2c: 01 07 00 [13:41:47]MH_I2C_Read... [13:41:47]Read from MH i2c: 01 07 00 10 05 00 00 00 00 00 FF 0F 2A [13:41:47]RasterBufferAndPrint [13:41:47]line Счет N : (3)4429 [13:41:47]line ИНН: 02508201610067 [13:41:47]line Контрольно-Кассовый Чек [13:41:47]line ПРОДАЖА [13:41:47]line Товар: 4700000480302 [13:41:47]line Напиток энерг Nitro манго-клуб 0.45 ж/б [13:41:47]line 1.000 * 95.00 [13:41:47]line = 95.00 [13:41:47]line НДС 12% НСП 1% [13:41:47]line > о реализуемом товаре [13:41:47]line ИТОГО: 95.00 [13:41:47]line НСП 1% : 0.84 [13:41:47]line НДС 12% : 10.09 [13:41:47]line Наличными: 95.00 [13:41:47]line Безнал.: 0.00 [13:41:47]line Место: АЗС № 116 "Партнер Нефть" [13:41:47]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [13:41:47]line СНО: Общий режим [13:41:47]line Чек 34 05.06.2024 13:41 [13:41:47]line Смена: 84 ФФД: 1.0 [13:41:47]line ЗНМ: 0300000233 [13:41:47]line РНМ: 0000000000145775 [13:41:47]line Версия ККМ: v1.0 [13:41:47]line ФМ: 0000000000959360 [13:41:47]line ФД: 4176 [13:41:47]line ФПД: 17672692397997 [13:41:47]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T134146&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4176&fm=17672692397997&tin=02508201610067®Number=0000000000145775&sum=9500 [13:41:47]line 0 [13:41:47]OFD Sender: Processing packet 4176 [packets to send 2, broken 1] [13:41:47]ProducePacketName [13:41:47]name=ofd_packets/00004176 [13:41:47]OFD Sender: To server: pG, [13:41:47]CommunicateWithHost lk.salyk.kg:30040 [13:41:47]ConnectInit lk.salyk.kg [13:41:47]written 0, free lines is 4095 [13:41:48]Connected sock=11 [13:41:48]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 44 01 00 00 C1 F2 3C 01 3C 67 5A 03 01 00 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 30 32 06 04 3E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BB D1 83 D0 B1 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 22 00 00 00 F4 03 04 00 1A 6B 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 50 10 00 00 35 04 06 00 10 12 BE 8D 77 AD A4 4A 54 A9 5F 45 FD 96 [13:41:48]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 E8 6C 47 00 2A 82 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 50 10 00 00 F4 03 04 00 18 17 60 66 B6 04 01 00 00 FF E8 8A D0 DE 3A 41 93 [13:41:48]CommunicateWithHost err = 0 [13:41:48]CheckOFDResponse [13:41:48]1017 (14) - 77093643461234 [13:41:48]1041 (16) - 0000000000959360 [13:41:48]1040 (4) - 4176 [13:41:48]1012 (4) - 05.06.2024 07:43 [13:41:48]1206 (1) - 0 [13:41:48]OFD Sender: Remove packet 4176 [13:41:48]ProducePacketName [13:41:48]name=ofd_packets/00004176 [13:41:48]NVStorageDeleteData [13:41:48]Write to MH i2c: 01 00 00 39 05 3E [13:41:48]Write i2c OK [13:41:48]MH_I2C_Read... [13:41:48]Read from MH i2c: 01 [13:41:48]MH_I2C_Read... [13:41:48]Read from MH i2c: 01 07 00 [13:41:48]MH_I2C_Read... [13:41:48]Read from MH i2c: 01 07 00 39 05 00 00 00 00 00 AC 0C FD [13:41:48]RasterBufferAndPrint [13:41:48]line [13:41:48]line [13:41:48]line [13:41:48]line [13:41:48]line [13:41:48]written 0, free lines is 3247 [13:41:48]MH_Cut [13:41:48]Write to MH i2c: D1 01 00 40 05 01 17 [13:41:48]Write i2c OK [13:41:48]MH_I2C_Read... [13:41:48]Read from MH i2c: D1 [13:41:48]MH_I2C_Read... [13:41:48]Read from MH i2c: D1 01 00 [13:41:48]MH_I2C_Read... [13:41:48]Read from MH i2c: D1 01 00 40 05 00 16 [13:41:48]Write to MH i2c: 01 00 00 41 05 46 [13:41:48]Write i2c OK [13:41:48]MH_I2C_Read... [13:41:48]OFD Sender: No OFD packet to send [13:41:49]*** Cut start [13:41:49]*** Partial cut [13:41:49]*** CUTSNS_PIN = 1 [13:41:49]*** CUTSNS_PIN = 0 [13:41:49]*** Brake cut motor [13:41:49]Read from MH i2c: 01 [13:41:49]MH_I2C_Read... [13:41:49]*** Stop cut motor [13:41:49]*** Cut end [13:41:49]Read from MH i2c: 01 07 00 [13:41:49]MH_I2C_Read... [13:41:49]Read from MH i2c: 01 07 00 41 05 00 00 00 00 00 FF 0F 5B [13:41:49]process_action close_receipt done [13:41:49]requested_data is exist [13:41:49]produce_requested_data [13:41:49]requested_item fm.sn is exist - process it [13:41:49]wFMCommunicate request_size=4 [13:41:49]MH_SAM_APDU [13:41:49]CAPDU: 80 11 00 00 [13:41:49]Write to MH i2c: E2 08 00 42 05 80 11 00 00 00 00 00 00 C1 [13:41:49]Write i2c OK [13:41:49]MH_I2C_Read... [13:41:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:41:50]Read from MH i2c: E2 [13:41:50]MH_I2C_Read... [13:41:50]Read from MH i2c: E2 17 00 [13:41:50]MH_I2C_Read... [13:41:50]Read from MH i2c: E2 17 00 42 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 14 [13:41:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [13:41:50]wFMCommunicate OK [13:41:50]requested_item fd.num is exist - process it [13:41:50]SAM_PROTO_GetFieldsCounters [13:41:50]wFMCommunicate request_size=4 [13:41:50]MH_SAM_APDU [13:41:50]CAPDU: 80 13 00 00 [13:41:50]Write to MH i2c: E2 08 00 43 05 80 13 00 00 00 00 00 00 C4 [13:41:50]Write i2c OK [13:41:50]MH_I2C_Read... [13:41:50]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:41:50]Read from MH i2c: E2 [13:41:50]MH_I2C_Read... [13:41:50]Read from MH i2c: E2 62 00 [13:41:50]MH_I2C_Read... [13:41:50]Read from MH i2c: E2 62 00 43 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 50 10 00 00 0E 04 04 00 54 00 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 03 [13:41:50]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 50 10 00 00 0E 04 04 00 54 00 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:41:50]wFMCommunicate OK [13:41:50]SAM_PROTO_GetFieldsCounters done [13:41:50]requested_item shift.num is exist - process it [13:41:50]requested_item shift.opened is exist - process it [13:41:50]req_shift_opened [13:41:50]FM_GetShiftState [13:41:50]SAM_PROTO_GetShiftState [13:41:50]wFMCommunicate request_size=4 [13:41:50]MH_SAM_APDU [13:41:50]CAPDU: 80 13 01 00 [13:41:50]Write to MH i2c: E2 08 00 44 05 80 13 01 00 00 00 00 00 C6 [13:41:50]Write i2c OK [13:41:50]MH_I2C_Read... [13:41:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:41:50]Read from MH i2c: E2 [13:41:50]MH_I2C_Read... [13:41:50]Read from MH i2c: E2 0E 00 [13:41:50]MH_I2C_Read... [13:41:50]Read from MH i2c: E2 0E 00 44 05 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 67 [13:41:50]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [13:41:50]wFMCommunicate OK [13:41:50]SAM_PROTO_GetShiftState done [13:41:50]FM_GetShiftState done [13:41:50]req_shift_opened done [13:41:50]requested_item shift.open_date is exist - process it [13:41:50]req_shift_open_date [13:41:50]req_shift_open_date done [13:41:50]produce_requested_data done [13:41:50]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4176,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765} [13:41:50]process_action_free close_receipt [13:41:50]json_value_free [13:41:50]json_value_free done [13:41:50]process_json_proto returns [13:41:50]Send response to host [13:41:50]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4176,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765}}} [13:41:50]free response buf [13:41:50]execute_script done [13:41:50]execute_script returns [13:41:50]free content buf [13:41:50]Sock 8.Close socket [13:41:50]Sock 8.Thread stoped [13:41:53]OFD Sender: No OFD packet to send [13:41:58]OFD Sender: No OFD packet to send [13:42:03]OFD Sender: No OFD packet to send [13:42:08]OFD Sender: No OFD packet to send [13:42:13]OFD Sender: No OFD packet to send [13:42:18]OFD Sender: No OFD packet to send [13:42:23]OFD Sender: No OFD packet to send [13:42:28]OFD Sender: No OFD packet to send [13:42:33]OFD Sender: No OFD packet to send [13:42:38]OFD Sender: No OFD packet to send [13:42:43]OFD Sender: No OFD packet to send [13:42:48]OFD Sender: No OFD packet to send [13:42:53]OFD Sender: No OFD packet to send [13:42:58]OFD Sender: No OFD packet to send [13:43:03]OFD Sender: No OFD packet to send [13:43:08]OFD Sender: No OFD packet to send [13:43:13]OFD Sender: No OFD packet to send [13:43:18]OFD Sender: No OFD packet to send [13:43:23]OFD Sender: No OFD packet to send [13:43:27]accept exits with 9 [13:43:27]New connection [13:43:27]New thread 3066748260 created [13:43:27]Thread 3066604900 joined [13:43:27]Waiting for new connection... [13:43:27] Sock 9.Parse request [13:43:27]Sock 9.Check first char [13:43:27]Sock 9.First char is OK [13:43:27]request: POST /json_proto HTTP/1.0 [13:43:27]Method: POST [13:43:27]URL: /json_proto [13:43:27]Method is POST - this is cgi request [13:43:27]url: /json_proto [13:43:27]query_string will be loaded in cgi processing [13:43:27]execute_cgi json_proto POST (null) [13:43:27]execute_cgi path=json_proto method=POST [13:43:27]POST find Content-Length [13:43:27]Host: 172.17.56.68:8080 [13:43:27]Content-Length: 1494 [13:43:27]Content-Type: application/json [13:43:27] [13:43:27]POST finish read [13:43:27]Found Content-Length = 1494 [13:43:27]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4430", "tax_sys" : 0, "items" : [ { "code": "4700000310043", "name": "\u0412\u043E\u0434\u0430 \u0416\u0430\u043B\u0430\u043B\u0430\u0431\u0430\u0442 27 1\u043B", "price" : 55.00, "quantity" : 1.000, "sum" : 55.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 45.00, "quantity" : 2.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870209741778", "name": "\u0410\u0440\u0430\u0445\u0438\u0441 BIG BOB \u0421\u043E\u043B\u044C 50 \u0433\u0440", "price" : 60.00, "quantity" : 3.000, "sum" : 180.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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" : 385.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:43:27]execute_script... [13:43:27]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4430", "tax_sys" : 0, "items" : [ { "code": "4700000310043", "name": "\u0412\u043E\u0434\u0430 \u0416\u0430\u043B\u0430\u043B\u0430\u0431\u0430\u0442 27 1\u043B", "price" : 55.00, "quantity" : 1.000, "sum" : 55.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 45.00, "quantity" : 2.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870209741778", "name": "\u0410\u0440\u0430\u0445\u0438\u0441 BIG BOB \u0421\u043E\u043B\u044C 50 \u0433\u0440", "price" : 60.00, "quantity" : 3.000, "sum" : 180.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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" : 385.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:43:27]POST & json_proto [13:43:27]process_json_proto [13:43:27]json parsed OK: [13:43:27]protocol is kg_v1.0 [13:43:27]action value=close_receipt [13:43:27]process_action close_receipt [13:43:27]cmd_close_receipt [13:43:27]MH_GetDate [13:43:27]Write to MH i2c: F0 00 00 45 05 39 [13:43:27]Write i2c OK [13:43:27]MH_I2C_Read... [13:43:27]Read from MH i2c: F0 [13:43:27]MH_I2C_Read... [13:43:27]Read from MH i2c: F0 09 00 [13:43:27]MH_I2C_Read... [13:43:27]Read from MH i2c: F0 09 00 45 05 00 80 6B 60 66 42 69 5C 66 60 [13:43:27]GetLastDocTimeStamp 1717594906 [13:43:27]current date 1717595008 [13:43:27]FM_GetShiftState [13:43:27]SAM_PROTO_GetShiftState [13:43:27]wFMCommunicate request_size=4 [13:43:27]MH_SAM_APDU [13:43:27]CAPDU: 80 13 01 00 [13:43:27]Write to MH i2c: E2 08 00 46 05 80 13 01 00 00 00 00 00 C8 [13:43:27]Write i2c OK [13:43:27]MH_I2C_Read... [13:43:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:43:27]Read from MH i2c: E2 [13:43:27]MH_I2C_Read... [13:43:27]Read from MH i2c: E2 0E 00 [13:43:27]MH_I2C_Read... [13:43:27]Read from MH i2c: E2 0E 00 46 05 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 69 [13:43:27]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [13:43:27]wFMCommunicate OK [13:43:27]SAM_PROTO_GetShiftState done [13:43:27]FM_GetShiftState done [13:43:27]opened in 1717545765 [13:43:27]opened+sec_in_day 1717632165 [13:43:27]quantity*price = 5500 [13:43:27]sum+1 = 5501 [13:43:27]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000160358 Вода Легенда 1л 2.000 * 45.00 = 90.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4870209741778 Арахис BIG BOB Соль 50 гр 3.000 * 60.00 = 180.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700000160792 Снек Курут классический (круглый) 1.000 * 60.00 = 60.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 385.00 НСП 1% : 3.41 НДС 12% : 40.88 Наличными: 385.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 35 05.06.2024 13:43 Смена: 84 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4177 ФПД: 250549624187322 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T134328&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4177&fm=250549624187322&tin=02508201610067®Number=0000000000145775&sum=38500 0 [13:43:28]StoreToDocumentArchive [13:43:28]shift 84 fd 4177 [13:43:28]save to /storage/0084/doc_00004177 [13:43:28]save last doc name /storage/0084/doc_00004177 to /storage/kkm_last_doc_name [13:43:28]save OK [13:43:28]Clear old archive folders... [13:43:28]ProcessDocumentItem done err = 0, tmpTLVsize=617 [13:43:28]tlvbuf is 012FA4E0 [13:43:28]SAM_PROTO_ClearQueue [13:43:28]wFMCommunicate request_size=4 [13:43:28]MH_SAM_APDU [13:43:28]CAPDU: 80 09 00 00 [13:43:28]Write to MH i2c: E2 08 00 53 05 80 09 00 00 00 00 00 00 CA [13:43:28]Write i2c OK [13:43:28]MH_I2C_Read... [13:43:29]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:43:29]Read from MH i2c: E2 [13:43:29]MH_I2C_Read... [13:43:29]Read from MH i2c: E2 03 00 [13:43:29]MH_I2C_Read... [13:43:29]Read from MH i2c: E2 03 00 53 05 00 90 00 CC [13:43:29]RAPDU: 90 00 [13:43:29]wFMCommunicate OK [13:43:29]SAM_PROTO_ClearQueue done [13:43:29]KKMCreateOFDPacket [13:43:29]OFDProtocolAddRootSTLVToBuf [13:43:29]FM_MakeSignedData [13:43:29]FM_MakeSignedData [13:43:29]SAM_PROTO_SignData [13:43:29]wFMCommunicate request_size=4 [13:43:29]MH_SAM_APDU [13:43:29]CAPDU: 80 0D 01 02 [13:43:29]Write to MH i2c: E2 08 00 54 05 80 0D 01 02 00 00 00 00 D2 [13:43:29]Write i2c OK [13:43:29]MH_I2C_Read... [13:43:29]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:43:29]Read from MH i2c: E2 [13:43:29]MH_I2C_Read... [13:43:29]Read from MH i2c: E2 03 00 [13:43:29]MH_I2C_Read... [13:43:29]Read from MH i2c: E2 03 00 54 05 00 90 00 CD [13:43:29]RAPDU: 90 00 [13:43:29]wFMCommunicate OK [13:43:29]wFMCommunicate request_size=255 [13:43:29]MH_SAM_APDU [13:43:29]CAPDU: 80 0D 02 02 FA 03 00 69 02 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 15 00 00 00 00 13 04 06 00 7C 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 69 00 8A 04 0D 00 34 38 37 30 32 30 39 37 34 31 37 37 38 06 04 25 00 D0 90 D1 80 D0 B0 D1 85 D0 B8 D1 [13:43:29]Write to MH i2c: E2 02 01 55 05 80 0D 02 02 FA 00 03 00 69 02 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 15 00 00 00 00 13 04 06 00 7C 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 69 00 8A 04 0D 00 34 38 37 30 32 30 39 37 34 31 37 37 38 06 04 25 00 D0 90 D1 80 D0 B0 D1 85 D0 B8 D1 00 00 4B [13:43:29]Write i2c OK [13:43:29]MH_I2C_Read... [13:43:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:43:29]Read from MH i2c: E2 [13:43:29]MH_I2C_Read... [13:43:29]Read from MH i2c: E2 03 00 [13:43:29]MH_I2C_Read... [13:43:29]Read from MH i2c: E2 03 00 55 05 00 90 00 CE [13:43:29]RAPDU: 90 00 [13:43:29]wFMCommunicate OK [13:43:29]wFMCommunicate request_size=255 [13:43:29]MH_SAM_APDU [13:43:29]CAPDU: 80 0D 02 02 FA 81 20 42 49 47 20 42 4F 42 20 D0 A1 D0 BE D0 BB D1 8C 20 35 30 20 D0 B3 D1 80 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 64 96 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 55 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 [13:43:29]Write to MH i2c: E2 02 01 56 05 80 0D 02 02 FA 00 81 20 42 49 47 20 42 4F 42 20 D0 A1 D0 BE D0 BB D1 8C 20 35 30 20 D0 B3 D1 80 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 64 96 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 55 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 00 00 58 [13:43:29]Write i2c OK [13:43:29]MH_I2C_Read... [13:43:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:43:29]Read from MH i2c: E2 [13:43:29]MH_I2C_Read... [13:43:29]Read from MH i2c: E2 03 00 [13:43:29]MH_I2C_Read... [13:43:29]Read from MH i2c: E2 03 00 56 05 00 90 00 CF [13:43:29]RAPDU: 90 00 [13:43:29]wFMCommunicate OK [13:43:29]wFMCommunicate request_size=126 [13:43:29]MH_SAM_APDU [13:43:29]CAPDU: 80 0D 02 02 79 06 00 F8 0F 00 00 00 00 07 04 06 00 64 96 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 80 6B 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 51 10 00 00 35 04 06 00 E3 DF A1 59 29 BA [13:43:29]Write to MH i2c: E2 81 00 57 05 80 0D 02 02 79 00 06 00 F8 0F 00 00 00 00 07 04 06 00 64 96 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 80 6B 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 51 10 00 00 35 04 06 00 E3 DF A1 59 29 BA 00 00 35 [13:43:29]Write i2c OK [13:43:29]MH_I2C_Read... [13:43:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:43:29]Read from MH i2c: E2 [13:43:29]MH_I2C_Read... [13:43:29]Read from MH i2c: E2 03 00 [13:43:29]MH_I2C_Read... [13:43:29]Read from MH i2c: E2 03 00 57 05 00 90 00 D0 [13:43:29]RAPDU: 90 00 [13:43:29]wFMCommunicate OK [13:43:29]wFMCommunicate request_size=4 [13:43:29]MH_SAM_APDU [13:43:29]CAPDU: 80 0D 03 02 [13:43:29]Write to MH i2c: E2 08 00 58 05 80 0D 03 02 00 00 00 00 D8 [13:43:29]Write i2c OK [13:43:29]MH_I2C_Read... [13:43:29]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:43:29]Read from MH i2c: E2 [13:43:29]MH_I2C_Read... [13:43:29]Read from MH i2c: E2 0B 00 [13:43:29]MH_I2C_Read... [13:43:29]Read from MH i2c: E2 0B 00 58 05 00 EB D3 1C C9 D6 82 62 C1 90 00 F7 [13:43:29]RAPDU: EB D3 1C C9 D6 82 62 C1 90 00 [13:43:29]wFMCommunicate OK [13:43:29]SAM_PROTO_SignData done [13:43:29]FM_MakeSignedData done [13:43:29]CreateOFDProtocolMessage [13:43:29]wFMCommunicate request_size=4 [13:43:29]MH_SAM_APDU [13:43:29]CAPDU: 80 11 00 00 [13:43:29]Write to MH i2c: E2 08 00 59 05 80 11 00 00 00 00 00 00 D8 [13:43:29]Write i2c OK [13:43:29]MH_I2C_Read... [13:43:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:43:29]Read from MH i2c: E2 [13:43:29]MH_I2C_Read... [13:43:29]Read from MH i2c: E2 17 00 [13:43:29]MH_I2C_Read... [13:43:29]Read from MH i2c: E2 17 00 59 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 2B [13:43:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [13:43:29]wFMCommunicate OK [13:43:29]CreateOFDProtocolMessage done [13:43:29]OFDSenderStorePacket 4177 [13:43:29]StoreOFDPacket docnum=4177 [13:43:29]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 7D 02 00 00 37 EA 75 02 3D 28 5A 03 01 00 03 00 69 02 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 15 00 00 00 00 13 04 06 00 7C 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 69 00 8A 04 0D 00 34 38 37 30 32 30 39 37 34 31 37 37 38 06 04 25 00 D0 90 D1 80 D0 B0 D1 85 D0 B8 D1 81 20 42 49 47 20 42 4F 42 20 D0 A1 D0 BE D0 BB D1 8C 20 35 30 20 D0 B3 D1 80 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 64 96 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 55 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F8 0F 00 00 00 00 07 04 06 00 64 96 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 80 6B 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 51 10 00 00 35 04 06 00 E3 DF A1 59 29 BA EB D3 1C C9 D6 82 62 C1 [13:43:29]CheckFolder [13:43:29]dirname=/storage/ofd_packets [13:43:29]CheckFolder done [13:43:29]ProducePacketName [13:43:29]name=ofd_packets/00004177 [13:43:29]NVStorageSaveData ofd_packets/00004177 [13:43:29]File name is /storage/ofd_packets/00004177 [13:43:29]Write 667 bytes [13:43:29]NVStorageSaveData done [13:43:29]OFDSenderStorePacket done [13:43:29]KKMCreateOFDPacket done [13:43:29]NVStorageSaveData kkm_last_timestamp [13:43:29]File name is /storage/kkm_last_timestamp [13:43:29]Write 4 bytes [13:43:29]NVStorageSaveData done [13:43:29]ExternCall_PrintAddStr [13:43:29]wPrintStart [13:43:29]Write to MH i2c: 01 00 00 5A 05 5F [13:43:29]Write i2c OK [13:43:29]MH_I2C_Read... [13:43:29]Read from MH i2c: 01 [13:43:29]MH_I2C_Read... [13:43:29]Read from MH i2c: 01 07 00 [13:43:29]MH_I2C_Read... [13:43:29]Read from MH i2c: 01 07 00 5A 05 00 00 00 00 00 FF 0F 74 [13:43:29]RasterBufferAndPrint [13:43:29]line Счет N : (3)4430 [13:43:29]line ИНН: 02508201610067 [13:43:29]line Контрольно-Кассовый Чек [13:43:29]line ПРОДАЖА [13:43:29]line Товар: 4700000310043 [13:43:29]line Вода Жалалабат 27 1л [13:43:30]line 1.000 * 55.00 [13:43:30]line = 55.00 [13:43:30]line НДС 12% НСП 1% [13:43:30]line > о реализуемом товаре [13:43:30]line Товар: 4700000160358 [13:43:30]line Вода Легенда 1л [13:43:30]line 2.000 * 45.00 [13:43:30]line = 90.00 [13:43:30]line НДС 12% НСП 1% [13:43:30]line > о реализуемом товаре [13:43:30]line Товар: 4870209741778 [13:43:30]line Арахис BIG BOB Соль 50 гр [13:43:30]line 3.000 * 60.00 [13:43:30]line = 180.00 [13:43:30]line НДС 12% НСП 1% [13:43:30]line > о реализуемом товаре [13:43:30]line Товар: 4700000160792 [13:43:30]line Снек Курут классический (круглый) [13:43:30]line 1.000 * 60.00 [13:43:30]line = 60.00 [13:43:30]line НДС 12% НСП 1% [13:43:30]line > о реализуемом товаре [13:43:30]line ИТОГО: 385.00 [13:43:30]line НСП 1% : 3.41 [13:43:30]line НДС 12% : 40.88 [13:43:30]line Наличными: 385.00 [13:43:30]line Безнал.: 0.00 [13:43:30]line Место: АЗС № 116 "Партнер Нефть" [13:43:30]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [13:43:30]line СНО: Общий режим [13:43:30]line Чек 35 05.06.2024 13:43 [13:43:30]line Смена: 84 ФФД: 1.0 [13:43:30]line ЗНМ: 0300000233 [13:43:30]line РНМ: 0000000000145775 [13:43:30]line Версия ККМ: v1.0 [13:43:30]line ФМ: 0000000000959360 [13:43:30]line ФД: 4177 [13:43:30]line ФПД: 250549624187322 [13:43:30]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T134328&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4177&fm=250549624187322&tin=02508201610067®Number=0000000000145775&sum=38500 [13:43:30]line 0 [13:43:30]OFD Sender: Processing packet 4177 [packets to send 2, broken 1] [13:43:30]ProducePacketName [13:43:30]name=ofd_packets/00004177 [13:43:30]OFD Sender: To server: pG, [13:43:30]CommunicateWithHost lk.salyk.kg:30040 [13:43:30]ConnectInit lk.salyk.kg [13:43:30]written 0, free lines is 4095 [13:43:30]Connected sock=10 [13:43:30]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 7D 02 00 00 37 EA 75 02 3D 28 5A 03 01 00 03 00 69 02 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 15 00 00 00 00 13 04 06 00 7C 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 69 00 8A 04 0D 00 34 38 37 30 32 30 39 37 34 31 37 37 38 06 04 25 00 D0 90 D1 80 D0 B0 D1 85 D0 B8 D1 81 20 42 49 47 20 42 4F 42 20 D0 A1 D0 BE D0 BB D1 8C 20 35 30 20 D0 B3 D1 80 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 64 96 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 55 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F8 0F 00 00 00 00 07 04 06 00 64 96 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 80 6B 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 51 10 00 00 35 04 06 00 E3 DF A1 59 29 BA EB D3 1C C9 D6 82 62 C1 [13:43:30]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 43 BA 47 00 2A 91 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 51 10 00 00 F4 03 04 00 7E 17 60 66 B6 04 01 00 00 70 7B 23 05 7A 3A AE 74 [13:43:30]CommunicateWithHost err = 0 [13:43:30]CheckOFDResponse [13:43:30]1017 (14) - 77093643461234 [13:43:30]1041 (16) - 0000000000959360 [13:43:30]1040 (4) - 4177 [13:43:30]1012 (4) - 05.06.2024 07:45 [13:43:30]1206 (1) - 0 [13:43:30]OFD Sender: Remove packet 4177 [13:43:30]ProducePacketName [13:43:30]name=ofd_packets/00004177 [13:43:30]NVStorageDeleteData [13:43:30]Write to MH i2c: 01 00 00 95 05 9A [13:43:30]Write i2c OK [13:43:30]MH_I2C_Read... [13:43:30]Read from MH i2c: 01 [13:43:30]MH_I2C_Read... [13:43:30]Read from MH i2c: 01 07 00 [13:43:30]MH_I2C_Read... [13:43:30]Read from MH i2c: 01 07 00 95 05 00 00 00 00 00 62 0B 0E [13:43:30]RasterBufferAndPrint [13:43:30]line [13:43:30]line [13:43:30]line [13:43:30]line [13:43:30]line [13:43:30]written 0, free lines is 2920 [13:43:30]MH_Cut [13:43:30]Write to MH i2c: D1 01 00 9C 05 01 73 [13:43:30]Write i2c OK [13:43:30]MH_I2C_Read... [13:43:30]Read from MH i2c: D1 [13:43:30]MH_I2C_Read... [13:43:30]Read from MH i2c: D1 01 00 [13:43:30]MH_I2C_Read... [13:43:30]Read from MH i2c: D1 01 00 9C 05 00 72 [13:43:30]Write to MH i2c: 01 00 00 9D 05 A2 [13:43:30]Write i2c OK [13:43:30]MH_I2C_Read... [13:43:31]OFD Sender: No OFD packet to send [13:43:32]*** Cut start [13:43:32]*** Partial cut [13:43:32]*** CUTSNS_PIN = 1 [13:43:32]*** CUTSNS_PIN = 0 [13:43:32]*** Brake cut motor [13:43:32]Read from MH i2c: 01 [13:43:32]MH_I2C_Read... [13:43:32]*** Stop cut motor [13:43:32]*** Cut end [13:43:32]Read from MH i2c: 01 07 00 [13:43:32]MH_I2C_Read... [13:43:32]Read from MH i2c: 01 07 00 9D 05 00 00 00 00 00 FF 0F B7 [13:43:32]process_action close_receipt done [13:43:32]requested_data is exist [13:43:32]produce_requested_data [13:43:32]requested_item fm.sn is exist - process it [13:43:32]wFMCommunicate request_size=4 [13:43:32]MH_SAM_APDU [13:43:32]CAPDU: 80 11 00 00 [13:43:32]Write to MH i2c: E2 08 00 9E 05 80 11 00 00 00 00 00 00 1D [13:43:32]Write i2c OK [13:43:32]MH_I2C_Read... [13:43:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:43:32]Read from MH i2c: E2 [13:43:32]MH_I2C_Read... [13:43:32]Read from MH i2c: E2 17 00 [13:43:32]MH_I2C_Read... [13:43:32]Read from MH i2c: E2 17 00 9E 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 70 [13:43:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [13:43:32]wFMCommunicate OK [13:43:32]requested_item fd.num is exist - process it [13:43:32]SAM_PROTO_GetFieldsCounters [13:43:32]wFMCommunicate request_size=4 [13:43:32]MH_SAM_APDU [13:43:32]CAPDU: 80 13 00 00 [13:43:32]Write to MH i2c: E2 08 00 9F 05 80 13 00 00 00 00 00 00 20 [13:43:32]Write i2c OK [13:43:32]MH_I2C_Read... [13:43:32]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:43:32]Read from MH i2c: E2 [13:43:32]MH_I2C_Read... [13:43:32]Read from MH i2c: E2 62 00 [13:43:32]MH_I2C_Read... [13:43:32]Read from MH i2c: E2 62 00 9F 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 51 10 00 00 0E 04 04 00 54 00 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 63 [13:43:32]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 51 10 00 00 0E 04 04 00 54 00 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:43:32]wFMCommunicate OK [13:43:32]SAM_PROTO_GetFieldsCounters done [13:43:32]requested_item shift.num is exist - process it [13:43:32]requested_item shift.opened is exist - process it [13:43:32]req_shift_opened [13:43:32]FM_GetShiftState [13:43:32]SAM_PROTO_GetShiftState [13:43:32]wFMCommunicate request_size=4 [13:43:32]MH_SAM_APDU [13:43:32]CAPDU: 80 13 01 00 [13:43:32]Write to MH i2c: E2 08 00 A0 05 80 13 01 00 00 00 00 00 22 [13:43:32]Write i2c OK [13:43:32]MH_I2C_Read... [13:43:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:43:32]Read from MH i2c: E2 [13:43:32]MH_I2C_Read... [13:43:32]Read from MH i2c: E2 0E 00 [13:43:32]MH_I2C_Read... [13:43:32]Read from MH i2c: E2 0E 00 A0 05 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 C3 [13:43:32]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [13:43:32]wFMCommunicate OK [13:43:32]SAM_PROTO_GetShiftState done [13:43:32]FM_GetShiftState done [13:43:32]req_shift_opened done [13:43:32]requested_item shift.open_date is exist - process it [13:43:32]req_shift_open_date [13:43:32]req_shift_open_date done [13:43:32]produce_requested_data done [13:43:32]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4177,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765} [13:43:32]process_action_free close_receipt [13:43:32]json_value_free [13:43:32]json_value_free done [13:43:32]process_json_proto returns [13:43:32]Send response to host [13:43:32]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4177,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765}}} [13:43:32]free response buf [13:43:32]execute_script done [13:43:32]execute_script returns [13:43:32]free content buf [13:43:32]Sock 9.Close socket [13:43:32]Sock 9.Thread stoped [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:22]accept exits with 8 [13:44:22]New connection [13:44:22]New thread 3066604900 created [13:44:22]Thread 3066748260 joined [13:44:22]Waiting for new connection... [13:44:22] Sock 8.Parse request [13:44:22]Sock 8.Check first char [13:44:22]Sock 8.First char is OK [13:44:22]request: POST /json_proto HTTP/1.0 [13:44:22]Method: POST [13:44:22]URL: /json_proto [13:44:22]Method is POST - this is cgi request [13:44:22]url: /json_proto [13:44:22]query_string will be loaded in cgi processing [13:44:22]execute_cgi json_proto POST (null) [13:44:22]execute_cgi path=json_proto method=POST [13:44:22]POST find Content-Length [13:44:22]Host: 172.17.56.68:8080 [13:44:22]Content-Length: 1504 [13:44:22]Content-Type: application/json [13:44:22] [13:44:22]POST finish read [13:44:22]Found Content-Length = 1504 [13:44:22]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4431", "tax_sys" : 0, "items" : [ { "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4860019001810", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u0440\u0436\u043E\u043C\u0438 \u043C\u0438\u043D\u0435\u0440\u0430\u043B\u044C\u043D\u0430\u044F \u0436/\u0431 0,33\u043B", "price" : 80.00, "quantity" : 1.000, "sum" : 80.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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 }]} ,{ "code": "2000031750019", "name": "\u041F\u0430\u043A\u0435\u0442 \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u041D\u0435\u0444\u0442\u044C", "price" : 4.00, "quantity" : 1.000, "sum" : 4.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 228.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:44:22]execute_script... [13:44: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)4431", "tax_sys" : 0, "items" : [ { "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4860019001810", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u0440\u0436\u043E\u043C\u0438 \u043C\u0438\u043D\u0435\u0440\u0430\u043B\u044C\u043D\u0430\u044F \u0436/\u0431 0,33\u043B", "price" : 80.00, "quantity" : 1.000, "sum" : 80.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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 }]} ,{ "code": "2000031750019", "name": "\u041F\u0430\u043A\u0435\u0442 \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u041D\u0435\u0444\u0442\u044C", "price" : 4.00, "quantity" : 1.000, "sum" : 4.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 228.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:44:22]POST & json_proto [13:44:22]process_json_proto [13:44:22]json parsed OK: [13:44:22]protocol is kg_v1.0 [13:44:22]action value=close_receipt [13:44:22]process_action close_receipt [13:44:22]cmd_close_receipt [13:44:22]MH_GetDate [13:44:22]Write to MH i2c: F0 00 00 A1 05 95 [13:44:22]Write i2c OK [13:44:22]MH_I2C_Read... [13:44:22]Read from MH i2c: F0 [13:44:22]MH_I2C_Read... [13:44:22]Read from MH i2c: F0 09 00 [13:44:22]MH_I2C_Read... [13:44:22]Read from MH i2c: F0 09 00 A1 05 00 B7 6B 60 66 42 69 5C 66 F3 [13:44:22]GetLastDocTimeStamp 1717595008 [13:44:22]current date 1717595063 [13:44:22]FM_GetShiftState [13:44:22]SAM_PROTO_GetShiftState [13:44:22]wFMCommunicate request_size=4 [13:44:22]MH_SAM_APDU [13:44:22]CAPDU: 80 13 01 00 [13:44:22]Write to MH i2c: E2 08 00 A2 05 80 13 01 00 00 00 00 00 24 [13:44:22]Write i2c OK [13:44:22]MH_I2C_Read... [13:44:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:44:22]Read from MH i2c: E2 [13:44:22]MH_I2C_Read... [13:44:22]Read from MH i2c: E2 0E 00 [13:44:22]MH_I2C_Read... [13:44:22]Read from MH i2c: E2 0E 00 A2 05 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 C5 [13:44:22]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [13:44:22]wFMCommunicate OK [13:44:22]SAM_PROTO_GetShiftState done [13:44:22]FM_GetShiftState done [13:44:22]opened in 1717545765 [13:44:22]opened+sec_in_day 1717632165 [13:44:22]quantity*price = 9500 [13:44:22]sum+1 = 9501 [13:44:22]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4860019001810 Вода Боржоми минеральная ж/б 0,33л 1.000 * 80.00 = 80.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 80942726 Р/ж mentos мята ролл 16г 1.000 * 49.00 = 49.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 2000031750019 Пакет Партнер Нефть 1.000 * 4.00 = 4.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 228.00 НСП 1% : 2.01 НДС 12% : 24.21 Наличными: 228.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 36 05.06.2024 13:44 Смена: 84 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4178 ФПД: 47020626554056 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T134423&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4178&fm=47020626554056&tin=02508201610067®Number=0000000000145775&sum=22800 0 [13:44:23]StoreToDocumentArchive [13:44:23]shift 84 fd 4178 [13:44:23]save to /storage/0084/doc_00004178 [13:44:23]save last doc name /storage/0084/doc_00004178 to /storage/kkm_last_doc_name [13:44:23]save OK [13:44:23]Clear old archive folders... [13:44:23]ProcessDocumentItem done err = 0, tmpTLVsize=634 [13:44:23]tlvbuf is 01323B50 [13:44:23]SAM_PROTO_ClearQueue [13:44:23]wFMCommunicate request_size=4 [13:44:23]MH_SAM_APDU [13:44:23]CAPDU: 80 09 00 00 [13:44:23]Write to MH i2c: E2 08 00 AF 05 80 09 00 00 00 00 00 00 26 [13:44:24]Write i2c OK [13:44:24]MH_I2C_Read... [13:44:24]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:44:24]Read from MH i2c: E2 [13:44:24]MH_I2C_Read... [13:44:24]Read from MH i2c: E2 03 00 [13:44:24]MH_I2C_Read... [13:44:24]Read from MH i2c: E2 03 00 AF 05 00 90 00 28 [13:44:24]RAPDU: 90 00 [13:44:24]wFMCommunicate OK [13:44:24]SAM_PROTO_ClearQueue done [13:44:24]KKMCreateOFDPacket [13:44:24]OFDProtocolAddRootSTLVToBuf [13:44:24]FM_MakeSignedData [13:44:24]FM_MakeSignedData [13:44:24]SAM_PROTO_SignData [13:44:24]wFMCommunicate request_size=4 [13:44:24]MH_SAM_APDU [13:44:24]CAPDU: 80 0D 01 02 [13:44:24]Write to MH i2c: E2 08 00 B0 05 80 0D 01 02 00 00 00 00 2E [13:44:24]Write i2c OK [13:44:24]MH_I2C_Read... [13:44:24]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:44:24]Read from MH i2c: E2 [13:44:24]MH_I2C_Read... [13:44:24]Read from MH i2c: E2 03 00 [13:44:24]MH_I2C_Read... [13:44:24]Read from MH i2c: E2 03 00 B0 05 00 90 00 29 [13:44:24]RAPDU: 90 00 [13:44:24]wFMCommunicate OK [13:44:24]wFMCommunicate request_size=255 [13:44:24]MH_SAM_APDU [13:44:24]CAPDU: 80 0D 02 02 FA 03 00 7A 02 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7F 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 38 31 30 06 04 3B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D1 80 D0 B6 D0 BE D0 BC D0 B8 20 D0 BC D0 B8 D0 BD D0 B5 D1 80 D0 B0 D0 BB D1 8C D0 BD D0 B0 D1 8F 20 D0 B6 2F D0 B1 20 30 2C 33 33 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 [13:44:24]Write to MH i2c: E2 02 01 B1 05 80 0D 02 02 FA 00 03 00 7A 02 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7F 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 38 31 30 06 04 3B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D1 80 D0 B6 D0 BE D0 BC D0 B8 20 D0 BC D0 B8 D0 BD D0 B5 D1 80 D0 B0 D0 BB D1 8C D0 BD D0 B0 D1 8F 20 D0 B6 2F D0 B1 20 30 2C 33 33 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 00 00 4D [13:44:24]Write i2c OK [13:44:24]MH_I2C_Read... [13:44:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:44:24]Read from MH i2c: E2 [13:44:24]MH_I2C_Read... [13:44:24]Read from MH i2c: E2 03 00 [13:44:24]MH_I2C_Read... [13:44:24]Read from MH i2c: E2 03 00 B1 05 00 90 00 2A [13:44:24]RAPDU: 90 00 [13:44:24]wFMCommunicate OK [13:44:24]wFMCommunicate request_size=255 [13:44:24]MH_SAM_APDU [13:44:24]CAPDU: 80 0D 02 02 FA 01 00 01 F6 03 01 00 01 BC 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 23 04 68 00 8A 04 0D 00 32 30 30 30 30 33 31 37 35 30 30 31 39 06 04 24 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 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 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 90 01 00 00 00 00 13 04 06 00 90 01 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 59 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 [13:44:24]Write to MH i2c: E2 02 01 B2 05 80 0D 02 02 FA 00 01 00 01 F6 03 01 00 01 BC 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 23 04 68 00 8A 04 0D 00 32 30 30 30 30 33 31 37 35 30 30 31 39 06 04 24 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 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 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 90 01 00 00 00 00 13 04 06 00 90 01 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 59 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 34 [13:44:24]Write i2c OK [13:44:24]MH_I2C_Read... [13:44:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:44:24]Read from MH i2c: E2 [13:44:24]MH_I2C_Read... [13:44:24]Read from MH i2c: E2 03 00 [13:44:24]MH_I2C_Read... [13:44:24]Read from MH i2c: E2 03 00 B2 05 00 90 00 2B [13:44:24]RAPDU: 90 00 [13:44:24]wFMCommunicate OK [13:44:24]wFMCommunicate request_size=143 [13:44:24]MH_SAM_APDU [13:44:24]CAPDU: 80 0D 02 02 8A C9 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 75 09 00 00 00 00 07 04 06 00 10 59 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 B7 6B 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 52 10 00 00 35 04 06 00 2A C3 D7 BE 2C C8 [13:44:24]Write to MH i2c: E2 92 00 B3 05 80 0D 02 02 8A 00 C9 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 75 09 00 00 00 00 07 04 06 00 10 59 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 B7 6B 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 52 10 00 00 35 04 06 00 2A C3 D7 BE 2C C8 00 00 5F [13:44:24]Write i2c OK [13:44:24]MH_I2C_Read... [13:44:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:44:24]Read from MH i2c: E2 [13:44:24]MH_I2C_Read... [13:44:24]Read from MH i2c: E2 03 00 [13:44:24]MH_I2C_Read... [13:44:24]Read from MH i2c: E2 03 00 B3 05 00 90 00 2C [13:44:24]RAPDU: 90 00 [13:44:24]wFMCommunicate OK [13:44:24]wFMCommunicate request_size=4 [13:44:24]MH_SAM_APDU [13:44:24]CAPDU: 80 0D 03 02 [13:44:24]Write to MH i2c: E2 08 00 B4 05 80 0D 03 02 00 00 00 00 34 [13:44:24]Write i2c OK [13:44:24]MH_I2C_Read... [13:44:24]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:44:24]Read from MH i2c: E2 [13:44:24]MH_I2C_Read... [13:44:24]Read from MH i2c: E2 0B 00 [13:44:24]MH_I2C_Read... [13:44:24]Read from MH i2c: E2 0B 00 B4 05 00 EE 8B A0 8E 39 AD 3E 91 90 00 91 [13:44:24]RAPDU: EE 8B A0 8E 39 AD 3E 91 90 00 [13:44:24]wFMCommunicate OK [13:44:24]SAM_PROTO_SignData done [13:44:24]FM_MakeSignedData done [13:44:24]CreateOFDProtocolMessage [13:44:24]wFMCommunicate request_size=4 [13:44:24]MH_SAM_APDU [13:44:24]CAPDU: 80 11 00 00 [13:44:24]Write to MH i2c: E2 08 00 B5 05 80 11 00 00 00 00 00 00 34 [13:44:24]Write i2c OK [13:44:24]MH_I2C_Read... [13:44:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:44:24]Read from MH i2c: E2 [13:44:24]MH_I2C_Read... [13:44:24]Read from MH i2c: E2 17 00 [13:44:24]MH_I2C_Read... [13:44:24]Read from MH i2c: E2 17 00 B5 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 87 [13:44:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [13:44:24]wFMCommunicate OK [13:44:24]CreateOFDProtocolMessage done [13:44:24]OFDSenderStorePacket 4178 [13:44:24]StoreOFDPacket docnum=4178 [13:44:24]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 8E 02 00 00 77 06 86 02 B8 71 5A 03 01 00 03 00 7A 02 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7F 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 38 31 30 06 04 3B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D1 80 D0 B6 D0 BE D0 BC D0 B8 20 D0 BC D0 B8 D0 BD D0 B5 D1 80 D0 B0 D0 BB D1 8C D0 BD D0 B0 D1 8F 20 D0 B6 2F D0 B1 20 30 2C 33 33 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 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 23 04 68 00 8A 04 0D 00 32 30 30 30 30 33 31 37 35 30 30 31 39 06 04 24 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 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 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 90 01 00 00 00 00 13 04 06 00 90 01 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 59 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C9 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 75 09 00 00 00 00 07 04 06 00 10 59 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 B7 6B 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 52 10 00 00 35 04 06 00 2A C3 D7 BE 2C C8 EE 8B A0 8E 39 AD 3E 91 [13:44:24]CheckFolder [13:44:24]dirname=/storage/ofd_packets [13:44:24]CheckFolder done [13:44:24]ProducePacketName [13:44:24]name=ofd_packets/00004178 [13:44:24]NVStorageSaveData ofd_packets/00004178 [13:44:24]File name is /storage/ofd_packets/00004178 [13:44:24]Write 684 bytes [13:44:24]NVStorageSaveData done [13:44:24]OFDSenderStorePacket done [13:44:24]KKMCreateOFDPacket done [13:44:24]NVStorageSaveData kkm_last_timestamp [13:44:24]File name is /storage/kkm_last_timestamp [13:44:24]Write 4 bytes [13:44:24]NVStorageSaveData done [13:44:24]ExternCall_PrintAddStr [13:44:24]wPrintStart [13:44:24]Write to MH i2c: 01 00 00 B6 05 BB [13:44:24]Write i2c OK [13:44:24]MH_I2C_Read... [13:44:24]Read from MH i2c: 01 [13:44:24]MH_I2C_Read... [13:44:24]Read from MH i2c: 01 07 00 [13:44:24]MH_I2C_Read... [13:44:24]Read from MH i2c: 01 07 00 B6 05 00 00 00 00 00 FF 0F D0 [13:44:24]RasterBufferAndPrint [13:44:24]line Счет N : (3)4431 [13:44:24]line ИНН: 02508201610067 [13:44:24]line Контрольно-Кассовый Чек [13:44:24]line ПРОДАЖА [13:44:24]line Товар: 4700000480050 [13:44:24]line Напиток Nitro Energy эн green ж/б 0,45л [13:44:25]line 1.000 * 95.00 [13:44:25]line = 95.00 [13:44:25]line НДС 12% НСП 1% [13:44:25]line > о реализуемом товаре [13:44:25]line Товар: 4860019001810 [13:44:25]line Вода Боржоми минеральная ж/б 0,33л [13:44:25]line 1.000 * 80.00 [13:44:25]line = 80.00 [13:44:25]line НДС 12% НСП 1% [13:44:25]line > о реализуемом товаре [13:44:25]line Товар: 80942726 [13:44:25]line Р/ж mentos мята ролл 16г [13:44:25]line 1.000 * 49.00 [13:44:25]line = 49.00 [13:44:25]line НДС 12% НСП 1% [13:44:25]line > о реализуемом товаре [13:44:25]line Товар: 2000031750019 [13:44:25]line Пакет Партнер Нефть [13:44:25]line 1.000 * 4.00 [13:44:25]line = 4.00 [13:44:25]line НДС 12% НСП 1% [13:44:25]line > о реализуемом товаре [13:44:25]line ИТОГО: 228.00 [13:44:25]line НСП 1% : 2.01 [13:44:25]line НДС 12% : 24.21 [13:44:25]line Наличными: 228.00 [13:44:25]line Безнал.: 0.00 [13:44:25]line Место: АЗС № 116 "Партнер Нефть" [13:44:25]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [13:44:25]line СНО: Общий режим [13:44:25]line Чек 36 05.06.2024 13:44 [13:44:25]line Смена: 84 ФФД: 1.0 [13:44:25]line ЗНМ: 0300000233 [13:44:25]line РНМ: 0000000000145775 [13:44:25]line Версия ККМ: v1.0 [13:44:25]line ФМ: 0000000000959360 [13:44:25]line ФД: 4178 [13:44:25]line ФПД: 47020626554056 [13:44:25]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T134423&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4178&fm=47020626554056&tin=02508201610067®Number=0000000000145775&sum=22800 [13:44:25]line 0 [13:44:25]OFD Sender: Processing packet 4178 [packets to send 2, broken 1] [13:44:25]ProducePacketName [13:44:25]name=ofd_packets/00004178 [13:44:25]OFD Sender: To server: pG, [13:44:25]CommunicateWithHost lk.salyk.kg:30040 [13:44:25]ConnectInit lk.salyk.kg [13:44:25]written 0, free lines is 4095 [13:44:25]Connected sock=10 [13:44:25]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 8E 02 00 00 77 06 86 02 B8 71 5A 03 01 00 03 00 7A 02 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7F 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 38 31 30 06 04 3B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D1 80 D0 B6 D0 BE D0 BC D0 B8 20 D0 BC D0 B8 D0 BD D0 B5 D1 80 D0 B0 D0 BB D1 8C D0 BD D0 B0 D1 8F 20 D0 B6 2F D0 B1 20 30 2C 33 33 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 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 23 04 68 00 8A 04 0D 00 32 30 30 30 30 33 31 37 35 30 30 31 39 06 04 24 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 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 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 90 01 00 00 00 00 13 04 06 00 90 01 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 59 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C9 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 75 09 00 00 00 00 07 04 06 00 10 59 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 B7 6B 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 52 10 00 00 35 04 06 00 2A C3 D7 BE 2C C8 EE 8B A0 8E 39 AD 3E 91 [13:44:25]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 CE 02 47 00 E9 E0 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 52 10 00 00 F4 03 04 00 B5 17 60 66 B6 04 01 00 00 A0 90 F2 6D 8D 97 30 DE [13:44:25]CommunicateWithHost err = 0 [13:44:25]CheckOFDResponse [13:44:25]1017 (14) - 77093643461234 [13:44:25]1041 (16) - 0000000000959360 [13:44:25]1040 (4) - 4178 [13:44:25]1012 (4) - 05.06.2024 07:45 [13:44:25]1206 (1) - 0 [13:44:25]OFD Sender: Remove packet 4178 [13:44:25]ProducePacketName [13:44:25]name=ofd_packets/00004178 [13:44:25]NVStorageDeleteData [13:44:25]Write to MH i2c: 01 00 00 F2 05 F7 [13:44:25]Write i2c OK [13:44:25]MH_I2C_Read... [13:44:25]Read from MH i2c: 01 [13:44:25]MH_I2C_Read... [13:44:25]Read from MH i2c: 01 07 00 [13:44:25]MH_I2C_Read... [13:44:25]Read from MH i2c: 01 07 00 F2 05 00 00 00 00 00 3F 0B 48 [13:44:25]RasterBufferAndPrint [13:44:25]line [13:44:25]line [13:44:25]line [13:44:25]line [13:44:25]line [13:44:25]written 0, free lines is 2885 [13:44:25]MH_Cut [13:44:25]Write to MH i2c: D1 01 00 F9 05 01 D0 [13:44:25]Write i2c OK [13:44:25]MH_I2C_Read... [13:44:25]Read from MH i2c: D1 [13:44:25]MH_I2C_Read... [13:44:25]Read from MH i2c: D1 01 00 [13:44:25]MH_I2C_Read... [13:44:25]Read from MH i2c: D1 01 00 F9 05 00 CF [13:44:25]Write to MH i2c: 01 00 00 FA 05 FF [13:44:25]Write i2c OK [13:44:25]MH_I2C_Read... [13:44:26]OFD Sender: No OFD packet to send [13:44:27]*** Cut start [13:44:27]*** Partial cut [13:44:27]*** CUTSNS_PIN = 1 [13:44:27]*** CUTSNS_PIN = 0 [13:44:27]*** Brake cut motor [13:44:27]Read from MH i2c: 01 [13:44:27]MH_I2C_Read... [13:44:27]*** Stop cut motor [13:44:27]*** Cut end [13:44:27]Read from MH i2c: 01 07 00 [13:44:27]MH_I2C_Read... [13:44:27]Read from MH i2c: 01 07 00 FA 05 00 00 00 00 00 FF 0F 14 [13:44:27]process_action close_receipt done [13:44:27]requested_data is exist [13:44:27]produce_requested_data [13:44:27]requested_item fm.sn is exist - process it [13:44:27]wFMCommunicate request_size=4 [13:44:27]MH_SAM_APDU [13:44:27]CAPDU: 80 11 00 00 [13:44:27]Write to MH i2c: E2 08 00 FB 05 80 11 00 00 00 00 00 00 7A [13:44:27]Write i2c OK [13:44:27]MH_I2C_Read... [13:44:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:44:27]Read from MH i2c: E2 [13:44:27]MH_I2C_Read... [13:44:27]Read from MH i2c: E2 17 00 [13:44:27]MH_I2C_Read... [13:44:27]Read from MH i2c: E2 17 00 FB 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 CD [13:44:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [13:44:27]wFMCommunicate OK [13:44:27]requested_item fd.num is exist - process it [13:44:27]SAM_PROTO_GetFieldsCounters [13:44:27]wFMCommunicate request_size=4 [13:44:27]MH_SAM_APDU [13:44:27]CAPDU: 80 13 00 00 [13:44:27]Write to MH i2c: E2 08 00 FC 05 80 13 00 00 00 00 00 00 7D [13:44:27]Write i2c OK [13:44:27]MH_I2C_Read... [13:44:27]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:44:27]Read from MH i2c: E2 [13:44:27]MH_I2C_Read... [13:44:27]Read from MH i2c: E2 62 00 [13:44:27]MH_I2C_Read... [13:44:27]Read from MH i2c: E2 62 00 FC 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 52 10 00 00 0E 04 04 00 54 00 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 C4 [13:44:27]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 52 10 00 00 0E 04 04 00 54 00 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 [13:44:27]wFMCommunicate OK [13:44:27]SAM_PROTO_GetFieldsCounters done [13:44:27]requested_item shift.num is exist - process it [13:44:27]requested_item shift.opened is exist - process it [13:44:27]req_shift_opened [13:44:27]FM_GetShiftState [13:44:27]SAM_PROTO_GetShiftState [13:44:27]wFMCommunicate request_size=4 [13:44:27]MH_SAM_APDU [13:44:27]CAPDU: 80 13 01 00 [13:44:27]Write to MH i2c: E2 08 00 FD 05 80 13 01 00 00 00 00 00 7F [13:44:27]Write i2c OK [13:44:27]MH_I2C_Read... [13:44:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:44:28]Read from MH i2c: E2 [13:44:28]MH_I2C_Read... [13:44:28]Read from MH i2c: E2 0E 00 [13:44:28]MH_I2C_Read... [13:44:28]Read from MH i2c: E2 0E 00 FD 05 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 20 [13:44:28]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [13:44:28]wFMCommunicate OK [13:44:28]SAM_PROTO_GetShiftState done [13:44:28]FM_GetShiftState done [13:44:28]req_shift_opened done [13:44:28]requested_item shift.open_date is exist - process it [13:44:28]req_shift_open_date [13:44:28]req_shift_open_date done [13:44:28]produce_requested_data done [13:44:28]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4178,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765} [13:44:28]process_action_free close_receipt [13:44:28]json_value_free [13:44:28]json_value_free done [13:44:28]process_json_proto returns [13:44:28]Send response to host [13:44:28]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4178,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765}}} [13:44:28]free response buf [13:44:28]execute_script done [13:44:28]execute_script returns [13:44:28]free content buf [13:44:28]Sock 8.Close socket [13:44:28]Sock 8.Thread stoped [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:15]accept exits with 9 [13:48:15]New connection [13:48:15]New thread 3066748260 created [13:48:15]Thread 3066604900 joined [13:48:15]Waiting for new connection... [13:48:15] Sock 9.Parse request [13:48:15]Sock 9.Check first char [13:48:15]Sock 9.First char is OK [13:48:15]request: POST /json_proto HTTP/1.0 [13:48:15]Method: POST [13:48:15]URL: /json_proto [13:48:15]Method is POST - this is cgi request [13:48:15]url: /json_proto [13:48:15]query_string will be loaded in cgi processing [13:48:15]execute_cgi json_proto POST (null) [13:48:15]execute_cgi path=json_proto method=POST [13:48:15]POST find Content-Length [13:48:15]Host: 172.17.56.68:8080 [13:48:15]Content-Length: 1294 [13:48:15]Content-Type: application/json [13:48:15] [13:48:15]POST finish read [13:48:15]Found Content-Length = 1294 [13:48:15]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4432", "tax_sys" : 0, "items" : [ { "code": "2000036190018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E XL(GABB TRADE)", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607015235333", "name": "\u041F\u0440\u044F\u043D\u0438\u043A\u0438 \u042F\u0448\u043A\u0438\u043D\u043E \u0441 \u0432\u0430\u0440\u0435\u043D\u043E\u0439 \u0441\u0433\u0443\u0449\u0435\u043D\u043A\u043E\u0439 350\u0433", "price" : 149.00, "quantity" : 1.000, "sum" : 149.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 }]} ], "payments": [ { "type": 0, "sum" : 311.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:48:15]execute_script... [13:48:15]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4432", "tax_sys" : 0, "items" : [ { "code": "2000036190018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E XL(GABB TRADE)", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607015235333", "name": "\u041F\u0440\u044F\u043D\u0438\u043A\u0438 \u042F\u0448\u043A\u0438\u043D\u043E \u0441 \u0432\u0430\u0440\u0435\u043D\u043E\u0439 \u0441\u0433\u0443\u0449\u0435\u043D\u043A\u043E\u0439 350\u0433", "price" : 149.00, "quantity" : 1.000, "sum" : 149.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 }]} ], "payments": [ { "type": 0, "sum" : 311.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:48:15]POST & json_proto [13:48:15]process_json_proto [13:48:15]json parsed OK: [13:48:15]protocol is kg_v1.0 [13:48:15]action value=close_receipt [13:48:15]process_action close_receipt [13:48:15]cmd_close_receipt [13:48:15]MH_GetDate [13:48:15]Write to MH i2c: F0 00 00 FE 05 F2 [13:48:15]Write i2c OK [13:48:15]MH_I2C_Read... [13:48:15]Read from MH i2c: F0 [13:48:15]MH_I2C_Read... [13:48:15]Read from MH i2c: F0 09 00 [13:48:15]MH_I2C_Read... [13:48:15]Read from MH i2c: F0 09 00 FE 05 00 A0 6C 60 66 42 69 5C 66 3A [13:48:15]GetLastDocTimeStamp 1717595063 [13:48:15]current date 1717595296 [13:48:15]FM_GetShiftState [13:48:15]SAM_PROTO_GetShiftState [13:48:15]wFMCommunicate request_size=4 [13:48:15]MH_SAM_APDU [13:48:15]CAPDU: 80 13 01 00 [13:48:15]Write to MH i2c: E2 08 00 FF 05 80 13 01 00 00 00 00 00 81 [13:48:15]Write i2c OK [13:48:15]MH_I2C_Read... [13:48:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:48:15]Read from MH i2c: E2 [13:48:15]MH_I2C_Read... [13:48:15]Read from MH i2c: E2 0E 00 [13:48:15]MH_I2C_Read... [13:48:15]Read from MH i2c: E2 0E 00 FF 05 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 22 [13:48:15]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [13:48:15]wFMCommunicate OK [13:48:15]SAM_PROTO_GetShiftState done [13:48:15]FM_GetShiftState done [13:48:15]opened in 1717545765 [13:48:15]opened+sec_in_day 1717632165 [13:48:15]quantity*price = 9500 [13:48:15]sum+1 = 9501 [13:48:15]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4607015235333 Пряники Яшкино с вареной сгущенкой 350г 1.000 * 149.00 = 149.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 6931280300549 Зажигалка Cricket ПН пьезо 1.000 * 67.00 = 67.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 311.00 НСП 1% : 2.75 НДС 12% : 33.02 Наличными: 311.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 37 05.06.2024 13:48 Смена: 84 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4179 ФПД: 143884087906883 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T134816&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4179&fm=143884087906883&tin=02508201610067®Number=0000000000145775&sum=31100 0 [13:48:16]StoreToDocumentArchive [13:48:16]shift 84 fd 4179 [13:48:16]save to /storage/0084/doc_00004179 [13:48:16]save last doc name /storage/0084/doc_00004179 to /storage/kkm_last_doc_name [13:48:16]save OK [13:48:16]Clear old archive folders... [13:48:16]ProcessDocumentItem done err = 0, tmpTLVsize=540 [13:48:16]tlvbuf is 013245B0 [13:48:16]SAM_PROTO_ClearQueue [13:48:16]wFMCommunicate request_size=4 [13:48:16]MH_SAM_APDU [13:48:16]CAPDU: 80 09 00 00 [13:48:16]Write to MH i2c: E2 08 00 0C 06 80 09 00 00 00 00 00 00 84 [13:48:16]Write i2c OK [13:48:16]MH_I2C_Read... [13:48:16]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:48:16]Read from MH i2c: E2 [13:48:16]MH_I2C_Read... [13:48:16]Read from MH i2c: E2 03 00 [13:48:16]MH_I2C_Read... [13:48:16]Read from MH i2c: E2 03 00 0C 06 00 90 00 86 [13:48:16]RAPDU: 90 00 [13:48:16]wFMCommunicate OK [13:48:16]SAM_PROTO_ClearQueue done [13:48:16]KKMCreateOFDPacket [13:48:16]OFDProtocolAddRootSTLVToBuf [13:48:16]FM_MakeSignedData [13:48:16]FM_MakeSignedData [13:48:16]SAM_PROTO_SignData [13:48:16]wFMCommunicate request_size=4 [13:48:16]MH_SAM_APDU [13:48:16]CAPDU: 80 0D 01 02 [13:48:16]Write to MH i2c: E2 08 00 0D 06 80 0D 01 02 00 00 00 00 8C [13:48:16]Write i2c OK [13:48:16]MH_I2C_Read... [13:48:16]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:48:16]Read from MH i2c: E2 [13:48:16]MH_I2C_Read... [13:48:16]Read from MH i2c: E2 03 00 [13:48:16]MH_I2C_Read... [13:48:16]Read from MH i2c: E2 03 00 0D 06 00 90 00 87 [13:48:16]RAPDU: 90 00 [13:48:16]wFMCommunicate OK [13:48:16]wFMCommunicate request_size=255 [13:48:16]MH_SAM_APDU [13:48:16]CAPDU: 80 0D 02 02 FA 03 00 1C 02 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 8A 00 8A 04 0D 00 34 36 30 37 30 31 35 32 33 35 33 33 33 06 04 46 00 D0 9F D1 80 D1 8F D0 BD D0 B8 D0 BA D0 B8 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D1 81 20 D0 B2 D0 B0 D1 80 D0 B5 D0 BD D0 BE D0 B9 20 D1 81 D0 B3 D1 83 D1 89 D0 B5 D0 BD D0 BA D0 BE D0 B9 20 33 35 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 3A 00 00 00 00 13 04 06 00 34 3A 00 00 00 00 [13:48:16]Write to MH i2c: E2 02 01 0E 06 80 0D 02 02 FA 00 03 00 1C 02 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 8A 00 8A 04 0D 00 34 36 30 37 30 31 35 32 33 35 33 33 33 06 04 46 00 D0 9F D1 80 D1 8F D0 BD D0 B8 D0 BA D0 B8 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D1 81 20 D0 B2 D0 B0 D1 80 D0 B5 D0 BD D0 BE D0 B9 20 D1 81 D0 B3 D1 83 D1 89 D0 B5 D0 BD D0 BA D0 BE D0 B9 20 33 35 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 3A 00 00 00 00 13 04 06 00 34 3A 00 00 00 00 00 00 CB [13:48:16]Write i2c OK [13:48:16]MH_I2C_Read... [13:48:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:48:17]Read from MH i2c: E2 [13:48:17]MH_I2C_Read... [13:48:17]Read from MH i2c: E2 03 00 [13:48:17]MH_I2C_Read... [13:48:17]Read from MH i2c: E2 03 00 0E 06 00 90 00 88 [13:48:17]RAPDU: 90 00 [13:48:17]wFMCommunicate OK [13:48:17]wFMCommunicate request_size=255 [13:48:17]MH_SAM_APDU [13:48:17]CAPDU: 80 0D 02 02 FA 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 7C 79 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E6 0C 00 00 00 00 07 04 06 00 7C 79 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 A0 6C 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 [13:48:17]Write to MH i2c: E2 02 01 0F 06 80 0D 02 02 FA 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 7C 79 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E6 0C 00 00 00 00 07 04 06 00 7C 79 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 A0 6C 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 00 00 90 [13:48:17]Write i2c OK [13:48:17]MH_I2C_Read... [13:48:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:48:17]Read from MH i2c: E2 [13:48:17]MH_I2C_Read... [13:48:17]Read from MH i2c: E2 03 00 [13:48:17]MH_I2C_Read... [13:48:17]Read from MH i2c: E2 03 00 0F 06 00 90 00 89 [13:48:17]RAPDU: 90 00 [13:48:17]wFMCommunicate OK [13:48:17]wFMCommunicate request_size=49 [13:48:17]MH_SAM_APDU [13:48:17]CAPDU: 80 0D 02 02 2C 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 53 10 00 00 35 04 06 00 82 DC 9F F2 D2 43 [13:48:17]Write to MH i2c: E2 34 00 10 06 80 0D 02 02 2C 00 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 53 10 00 00 35 04 06 00 82 DC 9F F2 D2 43 00 00 28 [13:48:17]Write i2c OK [13:48:17]MH_I2C_Read... [13:48:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:48:17]Read from MH i2c: E2 [13:48:17]MH_I2C_Read... [13:48:17]Read from MH i2c: E2 03 00 [13:48:17]MH_I2C_Read... [13:48:17]Read from MH i2c: E2 03 00 10 06 00 90 00 8A [13:48:17]RAPDU: 90 00 [13:48:17]wFMCommunicate OK [13:48:17]wFMCommunicate request_size=4 [13:48:17]MH_SAM_APDU [13:48:17]CAPDU: 80 0D 03 02 [13:48:17]Write to MH i2c: E2 08 00 11 06 80 0D 03 02 00 00 00 00 92 [13:48:17]Write i2c OK [13:48:17]MH_I2C_Read... [13:48:17]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:48:17]Read from MH i2c: E2 [13:48:17]MH_I2C_Read... [13:48:17]Read from MH i2c: E2 0B 00 [13:48:17]MH_I2C_Read... [13:48:17]Read from MH i2c: E2 0B 00 11 06 00 33 AF 4F 41 81 89 10 07 90 00 26 [13:48:17]RAPDU: 33 AF 4F 41 81 89 10 07 90 00 [13:48:17]wFMCommunicate OK [13:48:17]SAM_PROTO_SignData done [13:48:17]FM_MakeSignedData done [13:48:17]CreateOFDProtocolMessage [13:48:17]wFMCommunicate request_size=4 [13:48:17]MH_SAM_APDU [13:48:17]CAPDU: 80 11 00 00 [13:48:17]Write to MH i2c: E2 08 00 12 06 80 11 00 00 00 00 00 00 92 [13:48:17]Write i2c OK [13:48:17]MH_I2C_Read... [13:48:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:48:17]Read from MH i2c: E2 [13:48:17]MH_I2C_Read... [13:48:17]Read from MH i2c: E2 17 00 [13:48:17]MH_I2C_Read... [13:48:17]Read from MH i2c: E2 17 00 12 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 E5 [13:48:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [13:48:17]wFMCommunicate OK [13:48:17]CreateOFDProtocolMessage done [13:48:17]OFDSenderStorePacket 4179 [13:48:17]StoreOFDPacket docnum=4179 [13:48:17]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 30 02 00 00 60 6A 28 02 0F 97 5A 03 01 00 03 00 1C 02 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 8A 00 8A 04 0D 00 34 36 30 37 30 31 35 32 33 35 33 33 33 06 04 46 00 D0 9F D1 80 D1 8F D0 BD D0 B8 D0 BA D0 B8 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D1 81 20 D0 B2 D0 B0 D1 80 D0 B5 D0 BD D0 BE D0 B9 20 D1 81 D0 B3 D1 83 D1 89 D0 B5 D0 BD D0 BA D0 BE D0 B9 20 33 35 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 3A 00 00 00 00 13 04 06 00 34 3A 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 7C 79 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E6 0C 00 00 00 00 07 04 06 00 7C 79 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 A0 6C 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 53 10 00 00 35 04 06 00 82 DC 9F F2 D2 43 33 AF 4F 41 81 89 10 07 [13:48:17]CheckFolder [13:48:17]dirname=/storage/ofd_packets [13:48:17]CheckFolder done [13:48:17]ProducePacketName [13:48:17]name=ofd_packets/00004179 [13:48:17]NVStorageSaveData ofd_packets/00004179 [13:48:17]File name is /storage/ofd_packets/00004179 [13:48:17]Write 590 bytes [13:48:17]NVStorageSaveData done [13:48:17]OFDSenderStorePacket done [13:48:17]KKMCreateOFDPacket done [13:48:17]NVStorageSaveData kkm_last_timestamp [13:48:17]File name is /storage/kkm_last_timestamp [13:48:17]Write 4 bytes [13:48:17]NVStorageSaveData done [13:48:17]ExternCall_PrintAddStr [13:48:17]wPrintStart [13:48:17]Write to MH i2c: 01 00 00 13 06 19 [13:48:17]Write i2c OK [13:48:17]MH_I2C_Read... [13:48:17]Read from MH i2c: 01 [13:48:17]MH_I2C_Read... [13:48:17]Read from MH i2c: 01 07 00 [13:48:17]MH_I2C_Read... [13:48:17]Read from MH i2c: 01 07 00 13 06 00 00 00 00 00 FF 0F 2E [13:48:17]RasterBufferAndPrint [13:48:17]line Счет N : (3)4432 [13:48:17]line ИНН: 02508201610067 [13:48:17]line Контрольно-Кассовый Чек [13:48:17]line ПРОДАЖА [13:48:17]line Товар: 2000036190018 [13:48:17]line Кофе Американо XL(GABB TRADE) [13:48:17]line 1.000 * 95.00 [13:48:17]line = 95.00 [13:48:17]line НДС 12% НСП 1% [13:48:17]line > о реализуемом товаре [13:48:17]line Товар: 4607015235333 [13:48:17]line Пряники Яшкино с вареной сгущенкой 350г [13:48:17]line 1.000 * 149.00 [13:48:17]line = 149.00 [13:48:17]line НДС 12% НСП 1% [13:48:17]line > о реализуемом товаре [13:48:17]line Товар: 6931280300549 [13:48:17]line Зажигалка Cricket ПН пьезо [13:48:17]line 1.000 * 67.00 [13:48:17]line = 67.00 [13:48:17]line НДС 12% НСП 1% [13:48:17]line > о реализуемом товаре [13:48:17]line ИТОГО: 311.00 [13:48:17]line НСП 1% : 2.75 [13:48:17]line НДС 12% : 33.02 [13:48:17]line Наличными: 311.00 [13:48:17]line Безнал.: 0.00 [13:48:17]line Место: АЗС № 116 "Партнер Нефть" [13:48:17]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [13:48:17]line СНО: Общий режим [13:48:17]line Чек 37 05.06.2024 13:48 [13:48:17]line Смена: 84 ФФД: 1.0 [13:48:17]line ЗНМ: 0300000233 [13:48:17]line РНМ: 0000000000145775 [13:48:17]line Версия ККМ: v1.0 [13:48:17]line ФМ: 0000000000959360 [13:48:17]line ФД: 4179 [13:48:17]line ФПД: 143884087906883 [13:48:17]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T134816&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4179&fm=143884087906883&tin=02508201610067®Number=0000000000145775&sum=31100 [13:48:17]line 0 [13:48:17]OFD Sender: Processing packet 4179 [packets to send 2, broken 1] [13:48:17]ProducePacketName [13:48:17]name=ofd_packets/00004179 [13:48:17]OFD Sender: To server: pG, [13:48:17]CommunicateWithHost lk.salyk.kg:30040 [13:48:17]ConnectInit lk.salyk.kg [13:48:17]written 0, free lines is 4095 [13:48:17]Connected sock=11 [13:48:17]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 30 02 00 00 60 6A 28 02 0F 97 5A 03 01 00 03 00 1C 02 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 8A 00 8A 04 0D 00 34 36 30 37 30 31 35 32 33 35 33 33 33 06 04 46 00 D0 9F D1 80 D1 8F D0 BD D0 B8 D0 BA D0 B8 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D1 81 20 D0 B2 D0 B0 D1 80 D0 B5 D0 BD D0 BE D0 B9 20 D1 81 D0 B3 D1 83 D1 89 D0 B5 D0 BD D0 BA D0 BE D0 B9 20 33 35 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 3A 00 00 00 00 13 04 06 00 34 3A 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 7C 79 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E6 0C 00 00 00 00 07 04 06 00 7C 79 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 A0 6C 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 53 10 00 00 35 04 06 00 82 DC 9F F2 D2 43 33 AF 4F 41 81 89 10 07 [13:48:18]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 F5 7E 47 00 8F CC A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 53 10 00 00 F4 03 04 00 9E 18 60 66 B6 04 01 00 00 8A 58 14 68 AC 04 86 FA [13:48:18]CommunicateWithHost err = 0 [13:48:18]CheckOFDResponse [13:48:18]1017 (14) - 77093643461234 [13:48:18]1041 (16) - 0000000000959360 [13:48:18]1040 (4) - 4179 [13:48:18]1012 (4) - 05.06.2024 07:49 [13:48:18]1206 (1) - 0 [13:48:18]OFD Sender: Remove packet 4179 [13:48:18]ProducePacketName [13:48:18]name=ofd_packets/00004179 [13:48:18]NVStorageDeleteData [13:48:18]Write to MH i2c: 01 00 00 49 06 4F [13:48:18]Write i2c OK [13:48:18]MH_I2C_Read... [13:48:18]Read from MH i2c: 01 [13:48:18]MH_I2C_Read... [13:48:18]Read from MH i2c: 01 07 00 [13:48:18]MH_I2C_Read... [13:48:18]Read from MH i2c: 01 07 00 49 06 00 00 00 00 00 E1 0B 42 [13:48:18]RasterBufferAndPrint [13:48:18]line [13:48:18]line [13:48:18]line [13:48:18]line [13:48:18]line [13:48:18]written 0, free lines is 3047 [13:48:18]MH_Cut [13:48:18]Write to MH i2c: D1 01 00 50 06 01 28 [13:48:18]Write i2c OK [13:48:18]MH_I2C_Read... [13:48:18]Read from MH i2c: D1 [13:48:18]MH_I2C_Read... [13:48:18]Read from MH i2c: D1 01 00 [13:48:18]MH_I2C_Read... [13:48:18]Read from MH i2c: D1 01 00 50 06 00 27 [13:48:18]Write to MH i2c: 01 00 00 51 06 57 [13:48:18]Write i2c OK [13:48:18]MH_I2C_Read... [13:48:18]OFD Sender: No OFD packet to send [13:48:19]*** Cut start [13:48:19]*** Partial cut [13:48:19]*** CUTSNS_PIN = 1 [13:48:19]*** CUTSNS_PIN = 0 [13:48:19]*** Brake cut motor [13:48:20]Read from MH i2c: 01 [13:48:20]MH_I2C_Read... [13:48:20]*** Stop cut motor [13:48:20]*** Cut end [13:48:20]Read from MH i2c: 01 07 00 [13:48:20]MH_I2C_Read... [13:48:20]Read from MH i2c: 01 07 00 51 06 00 00 00 00 00 FF 0F 6C [13:48:20]process_action close_receipt done [13:48:20]requested_data is exist [13:48:20]produce_requested_data [13:48:20]requested_item fm.sn is exist - process it [13:48:20]wFMCommunicate request_size=4 [13:48:20]MH_SAM_APDU [13:48:20]CAPDU: 80 11 00 00 [13:48:20]Write to MH i2c: E2 08 00 52 06 80 11 00 00 00 00 00 00 D2 [13:48:20]Write i2c OK [13:48:20]MH_I2C_Read... [13:48:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:48:20]Read from MH i2c: E2 [13:48:20]MH_I2C_Read... [13:48:20]Read from MH i2c: E2 17 00 [13:48:20]MH_I2C_Read... [13:48:20]Read from MH i2c: E2 17 00 52 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 25 [13:48:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [13:48:20]wFMCommunicate OK [13:48:20]requested_item fd.num is exist - process it [13:48:20]SAM_PROTO_GetFieldsCounters [13:48:20]wFMCommunicate request_size=4 [13:48:20]MH_SAM_APDU [13:48:20]CAPDU: 80 13 00 00 [13:48:20]Write to MH i2c: E2 08 00 53 06 80 13 00 00 00 00 00 00 D5 [13:48:20]Write i2c OK [13:48:20]MH_I2C_Read... [13:48:20]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:48:20]Read from MH i2c: E2 [13:48:20]MH_I2C_Read... [13:48:20]Read from MH i2c: E2 62 00 [13:48:20]MH_I2C_Read... [13:48:20]Read from MH i2c: E2 62 00 53 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 53 10 00 00 0E 04 04 00 54 00 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 20 [13:48:20]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 53 10 00 00 0E 04 04 00 54 00 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 [13:48:20]wFMCommunicate OK [13:48:20]SAM_PROTO_GetFieldsCounters done [13:48:20]requested_item shift.num is exist - process it [13:48:20]requested_item shift.opened is exist - process it [13:48:20]req_shift_opened [13:48:20]FM_GetShiftState [13:48:20]SAM_PROTO_GetShiftState [13:48:20]wFMCommunicate request_size=4 [13:48:20]MH_SAM_APDU [13:48:20]CAPDU: 80 13 01 00 [13:48:20]Write to MH i2c: E2 08 00 54 06 80 13 01 00 00 00 00 00 D7 [13:48:20]Write i2c OK [13:48:20]MH_I2C_Read... [13:48:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:48:20]Read from MH i2c: E2 [13:48:20]MH_I2C_Read... [13:48:20]Read from MH i2c: E2 0E 00 [13:48:20]MH_I2C_Read... [13:48:20]Read from MH i2c: E2 0E 00 54 06 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 78 [13:48:20]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [13:48:20]wFMCommunicate OK [13:48:20]SAM_PROTO_GetShiftState done [13:48:20]FM_GetShiftState done [13:48:20]req_shift_opened done [13:48:20]requested_item shift.open_date is exist - process it [13:48:20]req_shift_open_date [13:48:20]req_shift_open_date done [13:48:20]produce_requested_data done [13:48:20]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4179,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765} [13:48:20]process_action_free close_receipt [13:48:20]json_value_free [13:48:20]json_value_free done [13:48:20]process_json_proto returns [13:48:20]Send response to host [13:48:20]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4179,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765}}} [13:48:20]free response buf [13:48:20]execute_script done [13:48:20]execute_script returns [13:48:20]free content buf [13:48:20]Sock 9.Close socket [13:48:20]Sock 9.Thread stoped [13:48:23]OFD Sender: No OFD packet to send [13:48:28]OFD Sender: No OFD packet to send [13:48:33]OFD Sender: No OFD packet to send [13:48:38]OFD Sender: No OFD packet to send [13:48:43]OFD Sender: No OFD packet to send [13:48:48]OFD Sender: No OFD packet to send [13:48:53]OFD Sender: No OFD packet to send [13:48:58]OFD Sender: No OFD packet to send [13:49:03]OFD Sender: No OFD packet to send [13:49:08]OFD Sender: No OFD packet to send [13:49:13]OFD Sender: No OFD packet to send [13:49:17]accept exits with 8 [13:49:17]New connection [13:49:17]New thread 3066604900 created [13:49:17]Thread 3066748260 joined [13:49:17]Waiting for new connection... [13:49:17] Sock 8.Parse request [13:49:17]Sock 8.Check first char [13:49:17]Sock 8.First char is OK [13:49:17]request: POST /json_proto HTTP/1.0 [13:49:17]Method: POST [13:49:17]URL: /json_proto [13:49:17]Method is POST - this is cgi request [13:49:17]url: /json_proto [13:49:17]query_string will be loaded in cgi processing [13:49:17]execute_cgi json_proto POST (null) [13:49:17]execute_cgi path=json_proto method=POST [13:49:17]POST find Content-Length [13:49:17]Host: 172.17.56.68:8080 [13:49:17]Content-Length: 638 [13:49:17]Content-Type: application/json [13:49:17] [13:49:17]POST finish read [13:49:17]Found Content-Length = 638 [13:49:17]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4433", "tax_sys" : 0, "items" : [ { "code": "4700026030024", "name": "\u041A\u0443\u0440\u0443\u0442 \u043A\u043E\u043F\u0447\u0435\u043D\u043D\u044B\u0439", "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" ] } } [13:49:17]execute_script... [13:49: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)4433", "tax_sys" : 0, "items" : [ { "code": "4700026030024", "name": "\u041A\u0443\u0440\u0443\u0442 \u043A\u043E\u043F\u0447\u0435\u043D\u043D\u044B\u0439", "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" ] } } [13:49:17]POST & json_proto [13:49:17]process_json_proto [13:49:17]json parsed OK: [13:49:17]protocol is kg_v1.0 [13:49:17]action value=close_receipt [13:49:17]process_action close_receipt [13:49:17]cmd_close_receipt [13:49:17]MH_GetDate [13:49:17]Write to MH i2c: F0 00 00 55 06 4A [13:49:17]Write i2c OK [13:49:17]MH_I2C_Read... [13:49:17]Read from MH i2c: F0 [13:49:17]MH_I2C_Read... [13:49:17]Read from MH i2c: F0 09 00 [13:49:17]MH_I2C_Read... [13:49:17]Read from MH i2c: F0 09 00 55 06 00 DE 6C 60 66 42 69 5C 66 D0 [13:49:17]GetLastDocTimeStamp 1717595296 [13:49:17]current date 1717595358 [13:49:17]FM_GetShiftState [13:49:17]SAM_PROTO_GetShiftState [13:49:17]wFMCommunicate request_size=4 [13:49:17]MH_SAM_APDU [13:49:17]CAPDU: 80 13 01 00 [13:49:17]Write to MH i2c: E2 08 00 56 06 80 13 01 00 00 00 00 00 D9 [13:49:17]Write i2c OK [13:49:17]MH_I2C_Read... [13:49:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:49:17]Read from MH i2c: E2 [13:49:17]MH_I2C_Read... [13:49:17]Read from MH i2c: E2 0E 00 [13:49:17]MH_I2C_Read... [13:49:17]Read from MH i2c: E2 0E 00 56 06 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 7A [13:49:17]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [13:49:17]wFMCommunicate OK [13:49:17]SAM_PROTO_GetShiftState done [13:49:17]FM_GetShiftState done [13:49:17]opened in 1717545765 [13:49:17]opened+sec_in_day 1717632165 [13:49:17]quantity*price = 4900 [13:49:17]sum+1 = 4901 [13:49:17]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 49.00 НСП 1% : 0.43 НДС 12% : 5.20 Наличными: 49.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 38 05.06.2024 13:49 Смена: 84 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4180 ФПД: 70691903193724 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T134918&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4180&fm=70691903193724&tin=02508201610067®Number=0000000000145775&sum=4900 0 [13:49:18]StoreToDocumentArchive [13:49:18]shift 84 fd 4180 [13:49:18]save to /storage/0084/doc_00004180 [13:49:18]save last doc name /storage/0084/doc_00004180 to /storage/kkm_last_doc_name [13:49:18]save OK [13:49:18]Clear old archive folders... [13:49:18]ProcessDocumentItem done err = 0, tmpTLVsize=271 [13:49:18]tlvbuf is 01317CC0 [13:49:18]SAM_PROTO_ClearQueue [13:49:18]wFMCommunicate request_size=4 [13:49:18]MH_SAM_APDU [13:49:18]CAPDU: 80 09 00 00 [13:49:18]Write to MH i2c: E2 08 00 63 06 80 09 00 00 00 00 00 00 DB [13:49:18]Write i2c OK [13:49:18]MH_I2C_Read... [13:49:18]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:49:18]Read from MH i2c: E2 [13:49:18]MH_I2C_Read... [13:49:18]Read from MH i2c: E2 03 00 [13:49:18]MH_I2C_Read... [13:49:18]Read from MH i2c: E2 03 00 63 06 00 90 00 DD [13:49:18]RAPDU: 90 00 [13:49:18]wFMCommunicate OK [13:49:18]SAM_PROTO_ClearQueue done [13:49:18]KKMCreateOFDPacket [13:49:18]OFDProtocolAddRootSTLVToBuf [13:49:18]FM_MakeSignedData [13:49:18]FM_MakeSignedData [13:49:18]SAM_PROTO_SignData [13:49:18]wFMCommunicate request_size=4 [13:49:18]MH_SAM_APDU [13:49:18]CAPDU: 80 0D 01 02 [13:49:18]Write to MH i2c: E2 08 00 64 06 80 0D 01 02 00 00 00 00 E3 [13:49:18]Write i2c OK [13:49:18]MH_I2C_Read... [13:49:18]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:49:18]Read from MH i2c: E2 [13:49:18]MH_I2C_Read... [13:49:18]Read from MH i2c: E2 03 00 [13:49:18]MH_I2C_Read... [13:49:18]Read from MH i2c: E2 03 00 64 06 00 90 00 DE [13:49:18]RAPDU: 90 00 [13:49:18]wFMCommunicate OK [13:49:18]wFMCommunicate request_size=255 [13:49:18]MH_SAM_APDU [13:49:18]CAPDU: 80 0D 02 02 FA 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 32 36 30 33 30 30 32 34 06 04 1D 00 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 BA D0 BE D0 BF D1 87 D0 B5 D0 BD D0 BD D1 8B D0 B9 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 DE 6C 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 [13:49:18]Write to MH i2c: E2 02 01 65 06 80 0D 02 02 FA 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 32 36 30 33 30 30 32 34 06 04 1D 00 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 BA D0 BE D0 BF D1 87 D0 B5 D0 BD D0 BD D1 8B D0 B9 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 DE 6C 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 00 00 64 [13:49:18]Write i2c OK [13:49:18]MH_I2C_Read... [13:49:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:49:19]Read from MH i2c: E2 [13:49:19]MH_I2C_Read... [13:49:19]Read from MH i2c: E2 03 00 [13:49:19]MH_I2C_Read... [13:49:19]Read from MH i2c: E2 03 00 65 06 00 90 00 DF [13:49:19]RAPDU: 90 00 [13:49:19]wFMCommunicate OK [13:49:19]wFMCommunicate request_size=30 [13:49:19]MH_SAM_APDU [13:49:19]CAPDU: 80 0D 02 02 19 30 39 35 39 33 36 30 10 04 04 00 54 10 00 00 35 04 06 00 40 4B 3D C7 42 7C [13:49:19]Write to MH i2c: E2 21 00 66 06 80 0D 02 02 19 00 30 39 35 39 33 36 30 10 04 04 00 54 10 00 00 35 04 06 00 40 4B 3D C7 42 7C 00 00 90 [13:49:19]Write i2c OK [13:49:19]MH_I2C_Read... [13:49:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:49:19]Read from MH i2c: E2 [13:49:19]MH_I2C_Read... [13:49:19]Read from MH i2c: E2 03 00 [13:49:19]MH_I2C_Read... [13:49:19]Read from MH i2c: E2 03 00 66 06 00 90 00 E0 [13:49:19]RAPDU: 90 00 [13:49:19]wFMCommunicate OK [13:49:19]wFMCommunicate request_size=4 [13:49:19]MH_SAM_APDU [13:49:19]CAPDU: 80 0D 03 02 [13:49:19]Write to MH i2c: E2 08 00 67 06 80 0D 03 02 00 00 00 00 E8 [13:49:19]Write i2c OK [13:49:19]MH_I2C_Read... [13:49:19]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:49:19]Read from MH i2c: E2 [13:49:19]MH_I2C_Read... [13:49:19]Read from MH i2c: E2 0B 00 [13:49:19]MH_I2C_Read... [13:49:19]Read from MH i2c: E2 0B 00 67 06 00 17 45 79 38 ED 21 7E 1E 90 00 A0 [13:49:19]RAPDU: 17 45 79 38 ED 21 7E 1E 90 00 [13:49:19]wFMCommunicate OK [13:49:19]SAM_PROTO_SignData done [13:49:19]FM_MakeSignedData done [13:49:19]CreateOFDProtocolMessage [13:49:19]wFMCommunicate request_size=4 [13:49:19]MH_SAM_APDU [13:49:19]CAPDU: 80 11 00 00 [13:49:19]Write to MH i2c: E2 08 00 68 06 80 11 00 00 00 00 00 00 E8 [13:49:19]Write i2c OK [13:49:19]MH_I2C_Read... [13:49:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:49:19]Read from MH i2c: E2 [13:49:19]MH_I2C_Read... [13:49:19]Read from MH i2c: E2 17 00 [13:49:19]MH_I2C_Read... [13:49:19]Read from MH i2c: E2 17 00 68 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 3B [13:49:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [13:49:19]wFMCommunicate OK [13:49:19]CreateOFDProtocolMessage done [13:49:19]OFDSenderStorePacket 4180 [13:49:19]StoreOFDPacket docnum=4180 [13:49:19]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 23 01 00 00 65 FB 1B 01 15 58 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 32 36 30 33 30 30 32 34 06 04 1D 00 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 BA D0 BE D0 BF D1 87 D0 B5 D0 BD D0 BD D1 8B D0 B9 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 DE 6C 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 54 10 00 00 35 04 06 00 40 4B 3D C7 42 7C 17 45 79 38 ED 21 7E 1E [13:49:19]CheckFolder [13:49:19]dirname=/storage/ofd_packets [13:49:19]CheckFolder done [13:49:19]ProducePacketName [13:49:19]name=ofd_packets/00004180 [13:49:19]NVStorageSaveData ofd_packets/00004180 [13:49:19]File name is /storage/ofd_packets/00004180 [13:49:19]Write 321 bytes [13:49:19]NVStorageSaveData done [13:49:19]OFDSenderStorePacket done [13:49:19]KKMCreateOFDPacket done [13:49:19]NVStorageSaveData kkm_last_timestamp [13:49:19]File name is /storage/kkm_last_timestamp [13:49:19]Write 4 bytes [13:49:19]NVStorageSaveData done [13:49:19]ExternCall_PrintAddStr [13:49:19]wPrintStart [13:49:19]Write to MH i2c: 01 00 00 69 06 6F [13:49:19]Write i2c OK [13:49:19]MH_I2C_Read... [13:49:19]Read from MH i2c: 01 [13:49:19]MH_I2C_Read... [13:49:19]Read from MH i2c: 01 07 00 [13:49:19]MH_I2C_Read... [13:49:19]Read from MH i2c: 01 07 00 69 06 00 00 00 00 00 FF 0F 84 [13:49:19]RasterBufferAndPrint [13:49:19]line Счет N : (3)4433 [13:49:19]line ИНН: 02508201610067 [13:49:19]line Контрольно-Кассовый Чек [13:49:19]line ПРОДАЖА [13:49:19]line Товар: 4700026030024 [13:49:19]line Курут копченный [13:49:19]line 1.000 * 49.00 [13:49:19]line = 49.00 [13:49:19]line НДС 12% НСП 1% [13:49:19]line > о реализуемом товаре [13:49:19]line ИТОГО: 49.00 [13:49:19]line НСП 1% : 0.43 [13:49:19]line НДС 12% : 5.20 [13:49:19]line Наличными: 49.00 [13:49:19]line Безнал.: 0.00 [13:49:19]line Место: АЗС № 116 "Партнер Нефть" [13:49:19]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [13:49:19]line СНО: Общий режим [13:49:19]line Чек 38 05.06.2024 13:49 [13:49:19]line Смена: 84 ФФД: 1.0 [13:49:19]line ЗНМ: 0300000233 [13:49:19]line РНМ: 0000000000145775 [13:49:19]line Версия ККМ: v1.0 [13:49:19]line ФМ: 0000000000959360 [13:49:19]line ФД: 4180 [13:49:19]line ФПД: 70691903193724 [13:49:19]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T134918&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4180&fm=70691903193724&tin=02508201610067®Number=0000000000145775&sum=4900 [13:49:19]line 0 [13:49:19]OFD Sender: Processing packet 4180 [packets to send 2, broken 1] [13:49:19]ProducePacketName [13:49:19]name=ofd_packets/00004180 [13:49:19]OFD Sender: To server: pG, [13:49:19]CommunicateWithHost lk.salyk.kg:30040 [13:49:19]ConnectInit lk.salyk.kg [13:49:19]written 0, free lines is 4095 [13:49:19]Connected sock=10 [13:49:19]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 23 01 00 00 65 FB 1B 01 15 58 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 32 36 30 33 30 30 32 34 06 04 1D 00 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 BA D0 BE D0 BF D1 87 D0 B5 D0 BD D0 BD D1 8B D0 B9 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 DE 6C 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 54 10 00 00 35 04 06 00 40 4B 3D C7 42 7C 17 45 79 38 ED 21 7E 1E [13:49:20]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 FF 65 47 00 D2 B2 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 54 10 00 00 F4 03 04 00 DC 18 60 66 B6 04 01 00 00 67 9F 63 BF C2 4C D1 68 [13:49:20]CommunicateWithHost err = 0 [13:49:20]CheckOFDResponse [13:49:20]1017 (14) - 77093643461234 [13:49:20]1041 (16) - 0000000000959360 [13:49:20]1040 (4) - 4180 [13:49:20]1012 (4) - 05.06.2024 07:50 [13:49:20]1206 (1) - 0 [13:49:20]OFD Sender: Remove packet 4180 [13:49:20]ProducePacketName [13:49:20]name=ofd_packets/00004180 [13:49:20]NVStorageDeleteData [13:49:20]Write to MH i2c: 01 00 00 91 06 97 [13:49:20]Write i2c OK [13:49:20]MH_I2C_Read... [13:49:20]Read from MH i2c: 01 [13:49:20]MH_I2C_Read... [13:49:20]Read from MH i2c: 01 07 00 [13:49:20]MH_I2C_Read... [13:49:20]Read from MH i2c: 01 07 00 91 06 00 00 00 00 00 C9 0C 73 [13:49:20]RasterBufferAndPrint [13:49:20]line [13:49:20]line [13:49:20]line [13:49:20]line [13:49:20]line [13:49:20]written 0, free lines is 3278 [13:49:20]MH_Cut [13:49:20]Write to MH i2c: D1 01 00 98 06 01 70 [13:49:20]Write i2c OK [13:49:20]MH_I2C_Read... [13:49:20]Read from MH i2c: D1 [13:49:20]MH_I2C_Read... [13:49:20]Read from MH i2c: D1 01 00 [13:49:20]MH_I2C_Read... [13:49:20]Read from MH i2c: D1 01 00 98 06 00 6F [13:49:20]Write to MH i2c: 01 00 00 99 06 9F [13:49:20]Write i2c OK [13:49:20]MH_I2C_Read... [13:49:20]OFD Sender: No OFD packet to send [13:49:21]*** Cut start [13:49:21]*** Partial cut [13:49:21]*** CUTSNS_PIN = 1 [13:49:21]*** CUTSNS_PIN = 0 [13:49:21]*** Brake cut motor [13:49:21]Read from MH i2c: 01 [13:49:21]MH_I2C_Read... [13:49:21]*** Stop cut motor [13:49:21]*** Cut end [13:49:21]Read from MH i2c: 01 07 00 [13:49:21]MH_I2C_Read... [13:49:21]Read from MH i2c: 01 07 00 99 06 00 00 00 00 00 FF 0F B4 [13:49:21]process_action close_receipt done [13:49:21]requested_data is exist [13:49:21]produce_requested_data [13:49:21]requested_item fm.sn is exist - process it [13:49:21]wFMCommunicate request_size=4 [13:49:21]MH_SAM_APDU [13:49:21]CAPDU: 80 11 00 00 [13:49:21]Write to MH i2c: E2 08 00 9A 06 80 11 00 00 00 00 00 00 1A [13:49:21]Write i2c OK [13:49:21]MH_I2C_Read... [13:49:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:49:21]Read from MH i2c: E2 [13:49:21]MH_I2C_Read... [13:49:21]Read from MH i2c: E2 17 00 [13:49:21]MH_I2C_Read... [13:49:21]Read from MH i2c: E2 17 00 9A 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 6D [13:49:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [13:49:21]wFMCommunicate OK [13:49:21]requested_item fd.num is exist - process it [13:49:21]SAM_PROTO_GetFieldsCounters [13:49:21]wFMCommunicate request_size=4 [13:49:21]MH_SAM_APDU [13:49:21]CAPDU: 80 13 00 00 [13:49:21]Write to MH i2c: E2 08 00 9B 06 80 13 00 00 00 00 00 00 1D [13:49:21]Write i2c OK [13:49:21]MH_I2C_Read... [13:49:21]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:49:21]Read from MH i2c: E2 [13:49:21]MH_I2C_Read... [13:49:21]Read from MH i2c: E2 62 00 [13:49:21]MH_I2C_Read... [13:49:21]Read from MH i2c: E2 62 00 9B 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 54 10 00 00 0E 04 04 00 54 00 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 6C [13:49:21]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 54 10 00 00 0E 04 04 00 54 00 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 [13:49:21]wFMCommunicate OK [13:49:21]SAM_PROTO_GetFieldsCounters done [13:49:21]requested_item shift.num is exist - process it [13:49:21]requested_item shift.opened is exist - process it [13:49:21]req_shift_opened [13:49:21]FM_GetShiftState [13:49:21]SAM_PROTO_GetShiftState [13:49:21]wFMCommunicate request_size=4 [13:49:21]MH_SAM_APDU [13:49:21]CAPDU: 80 13 01 00 [13:49:21]Write to MH i2c: E2 08 00 9C 06 80 13 01 00 00 00 00 00 1F [13:49:21]Write i2c OK [13:49:21]MH_I2C_Read... [13:49:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:49:21]Read from MH i2c: E2 [13:49:21]MH_I2C_Read... [13:49:21]Read from MH i2c: E2 0E 00 [13:49:21]MH_I2C_Read... [13:49:21]Read from MH i2c: E2 0E 00 9C 06 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 C0 [13:49:21]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [13:49:21]wFMCommunicate OK [13:49:21]SAM_PROTO_GetShiftState done [13:49:21]FM_GetShiftState done [13:49:21]req_shift_opened done [13:49:21]requested_item shift.open_date is exist - process it [13:49:21]req_shift_open_date [13:49:21]req_shift_open_date done [13:49:21]produce_requested_data done [13:49:21]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4180,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765} [13:49:21]process_action_free close_receipt [13:49:21]json_value_free [13:49:21]json_value_free done [13:49:21]process_json_proto returns [13:49:21]Send response to host [13:49:21]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4180,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765}}} [13:49:21]free response buf [13:49:21]execute_script done [13:49:21]execute_script returns [13:49:21]free content buf [13:49:21]Sock 8.Close socket [13:49:21]Sock 8.Thread stoped [13:49:25]OFD Sender: No OFD packet to send [13:49:30]OFD Sender: No OFD packet to send [13:49:35]OFD Sender: No OFD packet to send [13:49:40]OFD Sender: No OFD packet to send [13:49:45]OFD Sender: No OFD packet to send [13:49:50]OFD Sender: No OFD packet to send [13:49:55]OFD Sender: No OFD packet to send [13:50:00]OFD Sender: No OFD packet to send [13:50:05]OFD Sender: No OFD packet to send [13:50:10]OFD Sender: No OFD packet to send [13:50:15]OFD Sender: No OFD packet to send [13:50:20]OFD Sender: No OFD packet to send [13:50:25]OFD Sender: No OFD packet to send [13:50:30]OFD Sender: No OFD packet to send [13:50:35]OFD Sender: No OFD packet to send [13:50:40]OFD Sender: No OFD packet to send [13:50:45]OFD Sender: No OFD packet to send [13:50:50]OFD Sender: No OFD packet to send [13:50:55]OFD Sender: No OFD packet to send [13:51:00]OFD Sender: No OFD packet to send [13:51:05]OFD Sender: No OFD packet to send [13:51:10]OFD Sender: No OFD packet to send [13:51:15]OFD Sender: No OFD packet to send [13:51:20]OFD Sender: No OFD packet to send [13:51:25]OFD Sender: No OFD packet to send [13:51:30]OFD Sender: No OFD packet to send [13:51:33]accept exits with 9 [13:51:33]New connection [13:51:33]New thread 3066748260 created [13:51:33]Thread 3066604900 joined [13:51:33]Waiting for new connection... [13:51:33] Sock 9.Parse request [13:51:33]Sock 9.Check first char [13:51:33]Sock 9.First char is OK [13:51:33]request: POST /json_proto HTTP/1.0 [13:51:33]Method: POST [13:51:33]URL: /json_proto [13:51:33]Method is POST - this is cgi request [13:51:33]url: /json_proto [13:51:33]query_string will be loaded in cgi processing [13:51:33]execute_cgi json_proto POST (null) [13:51:33]execute_cgi path=json_proto method=POST [13:51:33]POST find Content-Length [13:51:33]Host: 172.17.56.68:8080 [13:51:33]Content-Length: 937 [13:51:33]Content-Type: application/json [13:51:33] [13:51:33]POST finish read [13:51:33]Found Content-Length = 937 [13:51:33]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4434", "tax_sys" : 0, "items" : [ { "code": "4602441018222", "name": "\u0427\u0438\u043F\u0441\u044B FRY`S \u0421\u043C\u0435\u0442\u0430\u043D\u0430 \u0441 \u0437\u0435\u043B\u0435\u043D\u044C\u044E 1/130", "price" : 175.00, "quantity" : 1.000, "sum" : 175.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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" : 224.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:51:33]execute_script... [13:51:33]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4434", "tax_sys" : 0, "items" : [ { "code": "4602441018222", "name": "\u0427\u0438\u043F\u0441\u044B FRY`S \u0421\u043C\u0435\u0442\u0430\u043D\u0430 \u0441 \u0437\u0435\u043B\u0435\u043D\u044C\u044E 1/130", "price" : 175.00, "quantity" : 1.000, "sum" : 175.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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" : 224.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:51:33]POST & json_proto [13:51:33]process_json_proto [13:51:33]json parsed OK: [13:51:33]protocol is kg_v1.0 [13:51:33]action value=close_receipt [13:51:33]process_action close_receipt [13:51:33]cmd_close_receipt [13:51:33]MH_GetDate [13:51:33]Write to MH i2c: F0 00 00 9D 06 92 [13:51:33]Write i2c OK [13:51:33]MH_I2C_Read... [13:51:33]Read from MH i2c: F0 [13:51:33]MH_I2C_Read... [13:51:33]Read from MH i2c: F0 09 00 [13:51:33]MH_I2C_Read... [13:51:33]Read from MH i2c: F0 09 00 9D 06 00 66 6D 60 66 42 69 5C 66 A1 [13:51:33]GetLastDocTimeStamp 1717595358 [13:51:33]current date 1717595494 [13:51:33]FM_GetShiftState [13:51:33]SAM_PROTO_GetShiftState [13:51:33]wFMCommunicate request_size=4 [13:51:33]MH_SAM_APDU [13:51:33]CAPDU: 80 13 01 00 [13:51:33]Write to MH i2c: E2 08 00 9E 06 80 13 01 00 00 00 00 00 21 [13:51:33]Write i2c OK [13:51:33]MH_I2C_Read... [13:51:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:51:34]Read from MH i2c: E2 [13:51:34]MH_I2C_Read... [13:51:34]Read from MH i2c: E2 0E 00 [13:51:34]MH_I2C_Read... [13:51:34]Read from MH i2c: E2 0E 00 9E 06 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 C2 [13:51:34]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [13:51:34]wFMCommunicate OK [13:51:34]SAM_PROTO_GetShiftState done [13:51:34]FM_GetShiftState done [13:51:34]opened in 1717545765 [13:51:34]opened+sec_in_day 1717632165 [13:51:34]quantity*price = 17500 [13:51:34]sum+1 = 17501 [13:51:34]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 80942726 Р/ж mentos мята ролл 16г 1.000 * 49.00 = 49.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 224.00 НСП 1% : 1.98 НДС 12% : 23.78 Наличными: 224.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 39 05.06.2024 13:51 Смена: 84 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4181 ФПД: 214383914132663 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T135134&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4181&fm=214383914132663&tin=02508201610067®Number=0000000000145775&sum=22400 0 [13:51:35]StoreToDocumentArchive [13:51:35]shift 84 fd 4181 [13:51:35]save to /storage/0084/doc_00004181 [13:51:35]save last doc name /storage/0084/doc_00004181 to /storage/kkm_last_doc_name [13:51:35]save OK [13:51:35]Clear old archive folders... [13:51:35]ProcessDocumentItem done err = 0, tmpTLVsize=399 [13:51:35]tlvbuf is 012F5D10 [13:51:35]SAM_PROTO_ClearQueue [13:51:35]wFMCommunicate request_size=4 [13:51:35]MH_SAM_APDU [13:51:35]CAPDU: 80 09 00 00 [13:51:35]Write to MH i2c: E2 08 00 AB 06 80 09 00 00 00 00 00 00 23 [13:51:35]Write i2c OK [13:51:35]MH_I2C_Read... [13:51:35]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:51:35]Read from MH i2c: E2 [13:51:35]MH_I2C_Read... [13:51:35]Read from MH i2c: E2 03 00 [13:51:35]MH_I2C_Read... [13:51:35]Read from MH i2c: E2 03 00 AB 06 00 90 00 25 [13:51:35]RAPDU: 90 00 [13:51:35]wFMCommunicate OK [13:51:35]SAM_PROTO_ClearQueue done [13:51:35]KKMCreateOFDPacket [13:51:35]OFDProtocolAddRootSTLVToBuf [13:51:35]FM_MakeSignedData [13:51:35]FM_MakeSignedData [13:51:35]SAM_PROTO_SignData [13:51:35]wFMCommunicate request_size=4 [13:51:35]MH_SAM_APDU [13:51:35]CAPDU: 80 0D 01 02 [13:51:35]Write to MH i2c: E2 08 00 AC 06 80 0D 01 02 00 00 00 00 2B [13:51:35]Write i2c OK [13:51:35]MH_I2C_Read... [13:51:35]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:51:35]Read from MH i2c: E2 [13:51:35]MH_I2C_Read... [13:51:35]Read from MH i2c: E2 03 00 [13:51:35]MH_I2C_Read... [13:51:35]Read from MH i2c: E2 03 00 AC 06 00 90 00 26 [13:51:35]RAPDU: 90 00 [13:51:35]wFMCommunicate OK [13:51:35]wFMCommunicate request_size=255 [13:51:35]MH_SAM_APDU [13:51:35]CAPDU: 80 0D 02 02 FA 03 00 8F 01 1E 04 01 00 01 23 04 7B 00 8A 04 0D 00 34 36 30 32 34 34 31 30 31 38 32 32 32 06 04 37 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 46 52 59 60 53 20 D0 A1 D0 BC D0 B5 D1 82 D0 B0 D0 BD D0 B0 20 D1 81 20 D0 B7 D0 B5 D0 BB D0 B5 D0 BD D1 8C D1 8E 20 31 2F 31 33 30 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 5C 44 00 00 00 00 13 04 06 00 5C 44 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 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 80 57 00 00 00 00 EB 03 [13:51:35]Write to MH i2c: E2 02 01 AD 06 80 0D 02 02 FA 00 03 00 8F 01 1E 04 01 00 01 23 04 7B 00 8A 04 0D 00 34 36 30 32 34 34 31 30 31 38 32 32 32 06 04 37 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 46 52 59 60 53 20 D0 A1 D0 BC D0 B5 D1 82 D0 B0 D0 BD D0 B0 20 D1 81 20 D0 B7 D0 B5 D0 BB D0 B5 D0 BD D1 8C D1 8E 20 31 2F 31 33 30 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 5C 44 00 00 00 00 13 04 06 00 5C 44 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 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 80 57 00 00 00 00 EB 03 00 00 CF [13:51:35]Write i2c OK [13:51:35]MH_I2C_Read... [13:51:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:51:35]Read from MH i2c: E2 [13:51:35]MH_I2C_Read... [13:51:35]Read from MH i2c: E2 03 00 [13:51:35]MH_I2C_Read... [13:51:35]Read from MH i2c: E2 03 00 AD 06 00 90 00 27 [13:51:35]RAPDU: 90 00 [13:51:35]wFMCommunicate OK [13:51:35]wFMCommunicate request_size=158 [13:51:35]MH_SAM_APDU [13:51:35]CAPDU: 80 0D 02 02 99 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4A 09 00 00 00 00 07 04 06 00 80 57 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 66 6D 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 55 10 00 00 35 04 06 00 C2 FB 25 0C 24 B7 [13:51:35]Write to MH i2c: E2 A1 00 AE 06 80 0D 02 02 99 00 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4A 09 00 00 00 00 07 04 06 00 80 57 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 66 6D 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 55 10 00 00 35 04 06 00 C2 FB 25 0C 24 B7 00 00 E5 [13:51:35]Write i2c OK [13:51:35]MH_I2C_Read... [13:51:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:51:35]Read from MH i2c: E2 [13:51:35]MH_I2C_Read... [13:51:35]Read from MH i2c: E2 03 00 [13:51:35]MH_I2C_Read... [13:51:35]Read from MH i2c: E2 03 00 AE 06 00 90 00 28 [13:51:35]RAPDU: 90 00 [13:51:35]wFMCommunicate OK [13:51:35]wFMCommunicate request_size=4 [13:51:35]MH_SAM_APDU [13:51:35]CAPDU: 80 0D 03 02 [13:51:35]Write to MH i2c: E2 08 00 AF 06 80 0D 03 02 00 00 00 00 30 [13:51:35]Write i2c OK [13:51:35]MH_I2C_Read... [13:51:35]OFD Sender: No OFD packet to send [13:51:35]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:51:35]Read from MH i2c: E2 [13:51:35]MH_I2C_Read... [13:51:35]Read from MH i2c: E2 0B 00 [13:51:35]MH_I2C_Read... [13:51:35]Read from MH i2c: E2 0B 00 AF 06 00 07 DD 9C C2 86 6E 92 A8 90 00 A1 [13:51:35]RAPDU: 07 DD 9C C2 86 6E 92 A8 90 00 [13:51:35]wFMCommunicate OK [13:51:35]SAM_PROTO_SignData done [13:51:35]FM_MakeSignedData done [13:51:35]CreateOFDProtocolMessage [13:51:35]wFMCommunicate request_size=4 [13:51:35]MH_SAM_APDU [13:51:35]CAPDU: 80 11 00 00 [13:51:35]Write to MH i2c: E2 08 00 B0 06 80 11 00 00 00 00 00 00 30 [13:51:35]Write i2c OK [13:51:35]MH_I2C_Read... [13:51:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:51:35]Read from MH i2c: E2 [13:51:35]MH_I2C_Read... [13:51:35]Read from MH i2c: E2 17 00 [13:51:35]MH_I2C_Read... [13:51:35]Read from MH i2c: E2 17 00 B0 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 83 [13:51:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [13:51:35]wFMCommunicate OK [13:51:35]CreateOFDProtocolMessage done [13:51:35]OFDSenderStorePacket 4181 [13:51:35]StoreOFDPacket docnum=4181 [13:51:35]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 A3 01 00 00 A4 E0 9B 01 62 82 5A 03 01 00 03 00 8F 01 1E 04 01 00 01 23 04 7B 00 8A 04 0D 00 34 36 30 32 34 34 31 30 31 38 32 32 32 06 04 37 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 46 52 59 60 53 20 D0 A1 D0 BC D0 B5 D1 82 D0 B0 D0 BD D0 B0 20 D1 81 20 D0 B7 D0 B5 D0 BB D0 B5 D0 BD D1 8C D1 8E 20 31 2F 31 33 30 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 5C 44 00 00 00 00 13 04 06 00 5C 44 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 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 80 57 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4A 09 00 00 00 00 07 04 06 00 80 57 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 66 6D 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 55 10 00 00 35 04 06 00 C2 FB 25 0C 24 B7 07 DD 9C C2 86 6E 92 A8 [13:51:35]CheckFolder [13:51:35]dirname=/storage/ofd_packets [13:51:35]CheckFolder done [13:51:35]ProducePacketName [13:51:35]name=ofd_packets/00004181 [13:51:35]NVStorageSaveData ofd_packets/00004181 [13:51:35]File name is /storage/ofd_packets/00004181 [13:51:35]Write 449 bytes [13:51:35]NVStorageSaveData done [13:51:35]OFDSenderStorePacket done [13:51:35]KKMCreateOFDPacket done [13:51:35]NVStorageSaveData kkm_last_timestamp [13:51:35]File name is /storage/kkm_last_timestamp [13:51:35]Write 4 bytes [13:51:35]NVStorageSaveData done [13:51:35]ExternCall_PrintAddStr [13:51:35]wPrintStart [13:51:35]Write to MH i2c: 01 00 00 B1 06 B7 [13:51:35]Write i2c OK [13:51:35]MH_I2C_Read... [13:51:35]Read from MH i2c: 01 [13:51:35]MH_I2C_Read... [13:51:35]Read from MH i2c: 01 07 00 [13:51:35]MH_I2C_Read... [13:51:35]Read from MH i2c: 01 07 00 B1 06 00 00 00 00 00 FF 0F CC [13:51:35]RasterBufferAndPrint [13:51:35]line Счет N : (3)4434 [13:51:36]line ИНН: 02508201610067 [13:51:36]line Контрольно-Кассовый Чек [13:51:36]line ПРОДАЖА [13:51:36]line Товар: 4602441018222 [13:51:36]line Чипсы FRY`S Сметана с зеленью 1/130 [13:51:36]line 1.000 * 175.00 [13:51:36]line = 175.00 [13:51:36]line НДС 12% НСП 1% [13:51:36]line > о реализуемом товаре [13:51:36]line Товар: 80942726 [13:51:36]line Р/ж mentos мята ролл 16г [13:51:36]line 1.000 * 49.00 [13:51:36]line = 49.00 [13:51:36]line НДС 12% НСП 1% [13:51:36]line > о реализуемом товаре [13:51:36]line ИТОГО: 224.00 [13:51:36]line НСП 1% : 1.98 [13:51:36]line НДС 12% : 23.78 [13:51:36]line Наличными: 224.00 [13:51:36]line Безнал.: 0.00 [13:51:36]line Место: АЗС № 116 "Партнер Нефть" [13:51:36]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [13:51:36]line СНО: Общий режим [13:51:36]line Чек 39 05.06.2024 13:51 [13:51:36]line Смена: 84 ФФД: 1.0 [13:51:36]line ЗНМ: 0300000233 [13:51:36]line РНМ: 0000000000145775 [13:51:36]line Версия ККМ: v1.0 [13:51:36]line ФМ: 0000000000959360 [13:51:36]line ФД: 4181 [13:51:36]line ФПД: 214383914132663 [13:51:36]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T135134&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4181&fm=214383914132663&tin=02508201610067®Number=0000000000145775&sum=22400 [13:51:36]line 0 [13:51:36]OFD Sender: Processing packet 4181 [packets to send 2, broken 1] [13:51:36]ProducePacketName [13:51:36]name=ofd_packets/00004181 [13:51:36]OFD Sender: To server: pG, [13:51:36]CommunicateWithHost lk.salyk.kg:30040 [13:51:36]ConnectInit lk.salyk.kg [13:51:36]written 0, free lines is 4095 [13:51:36]Connected sock=10 [13:51:36]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 A3 01 00 00 A4 E0 9B 01 62 82 5A 03 01 00 03 00 8F 01 1E 04 01 00 01 23 04 7B 00 8A 04 0D 00 34 36 30 32 34 34 31 30 31 38 32 32 32 06 04 37 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 46 52 59 60 53 20 D0 A1 D0 BC D0 B5 D1 82 D0 B0 D0 BD D0 B0 20 D1 81 20 D0 B7 D0 B5 D0 BB D0 B5 D0 BD D1 8C D1 8E 20 31 2F 31 33 30 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 5C 44 00 00 00 00 13 04 06 00 5C 44 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 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 80 57 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4A 09 00 00 00 00 07 04 06 00 80 57 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 66 6D 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 55 10 00 00 35 04 06 00 C2 FB 25 0C 24 B7 07 DD 9C C2 86 6E 92 A8 [13:51:36]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 A2 BF 47 00 E2 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 39 35 39 33 36 30 10 04 04 00 55 10 00 00 F4 03 04 00 64 19 60 66 B6 04 01 00 00 7D B4 3D B2 B2 CD A6 91 [13:51:36]CommunicateWithHost err = 0 [13:51:36]CheckOFDResponse [13:51:36]1017 (14) - 77093643461234 [13:51:36]1041 (16) - 0000000000959360 [13:51:36]1040 (4) - 4181 [13:51:36]1012 (4) - 05.06.2024 07:53 [13:51:36]1206 (1) - 0 [13:51:36]OFD Sender: Remove packet 4181 [13:51:36]ProducePacketName [13:51:36]name=ofd_packets/00004181 [13:51:36]NVStorageDeleteData [13:51:36]Write to MH i2c: 01 00 00 E0 06 E6 [13:51:36]Write i2c OK [13:51:36]MH_I2C_Read... [13:51:36]Read from MH i2c: 01 [13:51:36]MH_I2C_Read... [13:51:36]Read from MH i2c: 01 07 00 [13:51:36]MH_I2C_Read... [13:51:36]Read from MH i2c: 01 07 00 E0 06 00 00 00 00 00 55 0C 4E [13:51:36]RasterBufferAndPrint [13:51:36]line [13:51:36]line [13:51:36]line [13:51:36]line [13:51:36]line [13:51:36]written 0, free lines is 3164 [13:51:36]MH_Cut [13:51:36]Write to MH i2c: D1 01 00 E7 06 01 BF [13:51:36]Write i2c OK [13:51:36]MH_I2C_Read... [13:51:36]Read from MH i2c: D1 [13:51:36]MH_I2C_Read... [13:51:36]Read from MH i2c: D1 01 00 [13:51:36]MH_I2C_Read... [13:51:36]Read from MH i2c: D1 01 00 E7 06 00 BE [13:51:36]Write to MH i2c: 01 00 00 E8 06 EE [13:51:36]Write i2c OK [13:51:36]MH_I2C_Read... [13:51:36]OFD Sender: No OFD packet to send [13:51:37]*** Cut start [13:51:37]*** Partial cut [13:51:37]*** CUTSNS_PIN = 1 [13:51:37]*** CUTSNS_PIN = 0 [13:51:37]*** Brake cut motor [13:51:38]Read from MH i2c: 01 [13:51:38]MH_I2C_Read... [13:51:38]*** Stop cut motor [13:51:38]*** Cut end [13:51:38]Read from MH i2c: 01 07 00 [13:51:38]MH_I2C_Read... [13:51:38]Read from MH i2c: 01 07 00 E8 06 00 00 00 00 00 FF 0F 03 [13:51:38]process_action close_receipt done [13:51:38]requested_data is exist [13:51:38]produce_requested_data [13:51:38]requested_item fm.sn is exist - process it [13:51:38]wFMCommunicate request_size=4 [13:51:38]MH_SAM_APDU [13:51:38]CAPDU: 80 11 00 00 [13:51:38]Write to MH i2c: E2 08 00 E9 06 80 11 00 00 00 00 00 00 69 [13:51:38]Write i2c OK [13:51:38]MH_I2C_Read... [13:51:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:51:38]Read from MH i2c: E2 [13:51:38]MH_I2C_Read... [13:51:38]Read from MH i2c: E2 17 00 [13:51:38]MH_I2C_Read... [13:51:38]Read from MH i2c: E2 17 00 E9 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 BC [13:51:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [13:51:38]wFMCommunicate OK [13:51:38]requested_item fd.num is exist - process it [13:51:38]SAM_PROTO_GetFieldsCounters [13:51:38]wFMCommunicate request_size=4 [13:51:38]MH_SAM_APDU [13:51:38]CAPDU: 80 13 00 00 [13:51:38]Write to MH i2c: E2 08 00 EA 06 80 13 00 00 00 00 00 00 6C [13:51:38]Write i2c OK [13:51:38]MH_I2C_Read... [13:51:38]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:51:38]Read from MH i2c: E2 [13:51:38]MH_I2C_Read... [13:51:38]Read from MH i2c: E2 62 00 [13:51:38]MH_I2C_Read... [13:51:38]Read from MH i2c: E2 62 00 EA 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 55 10 00 00 0E 04 04 00 54 00 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 BF [13:51:38]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 55 10 00 00 0E 04 04 00 54 00 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 [13:51:38]wFMCommunicate OK [13:51:38]SAM_PROTO_GetFieldsCounters done [13:51:38]requested_item shift.num is exist - process it [13:51:38]requested_item shift.opened is exist - process it [13:51:38]req_shift_opened [13:51:38]FM_GetShiftState [13:51:38]SAM_PROTO_GetShiftState [13:51:38]wFMCommunicate request_size=4 [13:51:38]MH_SAM_APDU [13:51:38]CAPDU: 80 13 01 00 [13:51:38]Write to MH i2c: E2 08 00 EB 06 80 13 01 00 00 00 00 00 6E [13:51:38]Write i2c OK [13:51:38]MH_I2C_Read... [13:51:38]Read from MH i2c: E2 [13:51:38]MH_I2C_Read... [13:51:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:51:38]Read from MH i2c: E2 0E 00 [13:51:38]MH_I2C_Read... [13:51:38]Read from MH i2c: E2 0E 00 EB 06 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 0F [13:51:38]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [13:51:38]wFMCommunicate OK [13:51:38]SAM_PROTO_GetShiftState done [13:51:38]FM_GetShiftState done [13:51:38]req_shift_opened done [13:51:38]requested_item shift.open_date is exist - process it [13:51:38]req_shift_open_date [13:51:38]req_shift_open_date done [13:51:38]produce_requested_data done [13:51:38]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4181,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765} [13:51:38]process_action_free close_receipt [13:51:38]json_value_free [13:51:38]json_value_free done [13:51:38]process_json_proto returns [13:51:38]Send response to host [13:51:38]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4181,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765}}} [13:51:38]free response buf [13:51:38]execute_script done [13:51:38]execute_script returns [13:51:38]free content buf [13:51:38]Sock 9.Close socket [13:51:38]Sock 9.Thread stoped [13:51:41]OFD Sender: No OFD packet to send [13:51:46]OFD Sender: No OFD packet to send [13:51:51]OFD Sender: No OFD packet to send [13:51:56]OFD Sender: No OFD packet to send [13:52:01]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:17]OFD Sender: No OFD packet to send [14:10:22]OFD Sender: No OFD packet to send [14:10:27]OFD Sender: No OFD packet to send [14:10:32]OFD Sender: No OFD packet to send [14:10:37]OFD Sender: No OFD packet to send [14:10:42]OFD Sender: No OFD packet to send [14:10:47]OFD Sender: No OFD packet to send [14:10:52]OFD Sender: No OFD packet to send [14:10:57]OFD Sender: No OFD packet to send [14:11:02]OFD Sender: No OFD packet to send [14:11:07]OFD Sender: No OFD packet to send [14:11:12]OFD Sender: No OFD packet to send [14:11:17]OFD Sender: No OFD packet to send [14:11:22]OFD Sender: No OFD packet to send [14:11:27]OFD Sender: No OFD packet to send [14:11:32]OFD Sender: No OFD packet to send [14:11:37]OFD Sender: No OFD packet to send [14:11:42]OFD Sender: No OFD packet to send [14:11:47]OFD Sender: No OFD packet to send [14:11:52]OFD Sender: No OFD packet to send [14:11:57]OFD Sender: No OFD packet to send [14:12:02]OFD Sender: No OFD packet to send [14:12:07]OFD Sender: No OFD packet to send [14:12:12]OFD Sender: No OFD packet to send [14:12:17]OFD Sender: No OFD packet to send [14:12:22]OFD Sender: No OFD packet to send [14:12:27]OFD Sender: No OFD packet to send [14:12:32]OFD Sender: No OFD packet to send [14:12:37]OFD Sender: No OFD packet to send [14:12:42]OFD Sender: No OFD packet to send [14:12:47]OFD Sender: No OFD packet to send [14:12:52]OFD Sender: No OFD packet to send [14:12:57]OFD Sender: No OFD packet to send [14:13:02]OFD Sender: No OFD packet to send [14:13:07]OFD Sender: No OFD packet to send [14:13:12]OFD Sender: No OFD packet to send [14:13:17]OFD Sender: No OFD packet to send [14:13:22]OFD Sender: No OFD packet to send [14:13:27]OFD Sender: No OFD packet to send [14:13:32]OFD Sender: No OFD packet to send [14:13:37]OFD Sender: No OFD packet to send [14:13:42]OFD Sender: No OFD packet to send [14:13:47]OFD Sender: No OFD packet to send [14:13:52]OFD Sender: No OFD packet to send [14:13:57]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:17:58]accept exits with 8 [14:17:58]New connection [14:17:58]New thread 3066604900 created [14:17:58]Thread 3066748260 joined [14:17:58]Waiting for new connection... [14:17:58] Sock 8.Parse request [14:17:58]Sock 8.Check first char [14:17:58]Sock 8.First char is OK [14:17:58]request: POST /json_proto HTTP/1.0 [14:17:58]Method: POST [14:17:58]URL: /json_proto [14:17:58]Method is POST - this is cgi request [14:17:58]url: /json_proto [14:17:58]query_string will be loaded in cgi processing [14:17:58]execute_cgi json_proto POST (null) [14:17:58]execute_cgi path=json_proto method=POST [14:17:58]POST find Content-Length [14:17:58]Host: 172.17.56.68:8080 [14:17:58]Content-Length: 619 [14:17:58]Content-Type: application/json [14:17:58] [14:17:58]POST finish read [14:17:58]Found Content-Length = 619 [14:17:58]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4435", "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" ] } } [14:17:58]execute_script... [14:17:58]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)4435", "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" ] } } [14:17:58]POST & json_proto [14:17:58]process_json_proto [14:17:58]json parsed OK: [14:17:58]protocol is kg_v1.0 [14:17:58]action value=close_receipt [14:17:58]process_action close_receipt [14:17:58]cmd_close_receipt [14:17:58]MH_GetDate [14:17:58]Write to MH i2c: F0 00 00 EC 06 E1 [14:17:58]Write i2c OK [14:17:58]MH_I2C_Read... [14:17:58]Read from MH i2c: F0 [14:17:58]MH_I2C_Read... [14:17:58]Read from MH i2c: F0 09 00 [14:17:58]MH_I2C_Read... [14:17:58]Read from MH i2c: F0 09 00 EC 06 00 97 73 60 66 42 69 5C 66 27 [14:17:58]GetLastDocTimeStamp 1717595494 [14:17:58]current date 1717597079 [14:17:58]FM_GetShiftState [14:17:58]SAM_PROTO_GetShiftState [14:17:58]wFMCommunicate request_size=4 [14:17:58]MH_SAM_APDU [14:17:58]CAPDU: 80 13 01 00 [14:17:58]Write to MH i2c: E2 08 00 ED 06 80 13 01 00 00 00 00 00 70 [14:17:58]Write i2c OK [14:17:58]MH_I2C_Read... [14:17:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:17:58]Read from MH i2c: E2 [14:17:58]MH_I2C_Read... [14:17:58]Read from MH i2c: E2 0E 00 [14:17:58]MH_I2C_Read... [14:17:58]Read from MH i2c: E2 0E 00 ED 06 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 11 [14:17:58]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [14:17:58]wFMCommunicate OK [14:17:58]SAM_PROTO_GetShiftState done [14:17:58]FM_GetShiftState done [14:17:58]opened in 1717545765 [14:17:58]opened+sec_in_day 1717632165 [14:17:58]quantity*price = 14000 [14:17:58]sum+1 = 14001 [14:17:58]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 140.00 НСП 1% : 1.24 НДС 12% : 14.87 Наличными: 140.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 40 05.06.2024 14:17 Смена: 84 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4182 ФПД: 281135091066126 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T141759&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4182&fm=281135091066126&tin=02508201610067®Number=0000000000145775&sum=14000 0 [14:17:59]StoreToDocumentArchive [14:17:59]shift 84 fd 4182 [14:17:59]save to /storage/0084/doc_00004182 [14:17:59]save last doc name /storage/0084/doc_00004182 to /storage/kkm_last_doc_name [14:17:59]save OK [14:17:59]Clear old archive folders... [14:17:59]ProcessDocumentItem done err = 0, tmpTLVsize=273 [14:17:59]tlvbuf is 012F50C0 [14:17:59]SAM_PROTO_ClearQueue [14:17:59]wFMCommunicate request_size=4 [14:17:59]MH_SAM_APDU [14:17:59]CAPDU: 80 09 00 00 [14:17:59]Write to MH i2c: E2 08 00 FA 06 80 09 00 00 00 00 00 00 72 [14:17:59]Write i2c OK [14:17:59]MH_I2C_Read... [14:17:59]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:17:59]Read from MH i2c: E2 [14:17:59]MH_I2C_Read... [14:17:59]Read from MH i2c: E2 03 00 [14:17:59]MH_I2C_Read... [14:17:59]Read from MH i2c: E2 03 00 FA 06 00 90 00 74 [14:17:59]RAPDU: 90 00 [14:17:59]wFMCommunicate OK [14:17:59]SAM_PROTO_ClearQueue done [14:17:59]KKMCreateOFDPacket [14:17:59]OFDProtocolAddRootSTLVToBuf [14:17:59]FM_MakeSignedData [14:17:59]FM_MakeSignedData [14:17:59]SAM_PROTO_SignData [14:17:59]wFMCommunicate request_size=4 [14:17:59]MH_SAM_APDU [14:17:59]CAPDU: 80 0D 01 02 [14:17:59]Write to MH i2c: E2 08 00 FB 06 80 0D 01 02 00 00 00 00 7A [14:17:59]Write i2c OK [14:17:59]MH_I2C_Read... [14:17:59]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:17:59]Read from MH i2c: E2 [14:17:59]MH_I2C_Read... [14:17:59]Read from MH i2c: E2 03 00 [14:17:59]MH_I2C_Read... [14:17:59]Read from MH i2c: E2 03 00 FB 06 00 90 00 75 [14:17:59]RAPDU: 90 00 [14:17:59]wFMCommunicate OK [14:17:59]wFMCommunicate request_size=255 [14:17:59]MH_SAM_APDU [14:17:59]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 28 00 00 00 F4 03 04 00 97 73 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 [14:17:59]Write to MH i2c: E2 02 01 FC 06 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 28 00 00 00 F4 03 04 00 97 73 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 00 00 BF [14:17:59]Write i2c OK [14:17:59]MH_I2C_Read... [14:18:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:18:00]Read from MH i2c: E2 [14:18:00]MH_I2C_Read... [14:18:00]Read from MH i2c: E2 03 00 [14:18:00]MH_I2C_Read... [14:18:00]Read from MH i2c: E2 03 00 FC 06 00 90 00 76 [14:18:00]RAPDU: 90 00 [14:18:00]wFMCommunicate OK [14:18:00]wFMCommunicate request_size=32 [14:18:00]MH_SAM_APDU [14:18:00]CAPDU: 80 0D 02 02 1B 30 30 30 39 35 39 33 36 30 10 04 04 00 56 10 00 00 35 04 06 00 FF B0 DD 3C A5 0E [14:18:00]Write to MH i2c: E2 23 00 FD 06 80 0D 02 02 1B 00 30 30 30 39 35 39 33 36 30 10 04 04 00 56 10 00 00 35 04 06 00 FF B0 DD 3C A5 0E 00 00 BB [14:18:00]Write i2c OK [14:18:00]MH_I2C_Read... [14:18:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:18:00]Read from MH i2c: E2 [14:18:00]MH_I2C_Read... [14:18:00]Read from MH i2c: E2 03 00 [14:18:00]MH_I2C_Read... [14:18:00]Read from MH i2c: E2 03 00 FD 06 00 90 00 77 [14:18:00]RAPDU: 90 00 [14:18:00]wFMCommunicate OK [14:18:00]wFMCommunicate request_size=4 [14:18:00]MH_SAM_APDU [14:18:00]CAPDU: 80 0D 03 02 [14:18:00]Write to MH i2c: E2 08 00 FE 06 80 0D 03 02 00 00 00 00 7F [14:18:00]Write i2c OK [14:18:00]MH_I2C_Read... [14:18:00]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:18:00]Read from MH i2c: E2 [14:18:00]MH_I2C_Read... [14:18:00]Read from MH i2c: E2 0B 00 [14:18:00]MH_I2C_Read... [14:18:00]Read from MH i2c: E2 0B 00 FE 06 00 34 8B 14 71 8B 6E BD F5 90 00 6F [14:18:00]RAPDU: 34 8B 14 71 8B 6E BD F5 90 00 [14:18:00]wFMCommunicate OK [14:18:00]SAM_PROTO_SignData done [14:18:00]FM_MakeSignedData done [14:18:00]CreateOFDProtocolMessage [14:18:00]wFMCommunicate request_size=4 [14:18:00]MH_SAM_APDU [14:18:00]CAPDU: 80 11 00 00 [14:18:00]Write to MH i2c: E2 08 00 FF 06 80 11 00 00 00 00 00 00 7F [14:18:00]Write i2c OK [14:18:00]MH_I2C_Read... [14:18:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:18:00]Read from MH i2c: E2 [14:18:00]MH_I2C_Read... [14:18:00]Read from MH i2c: E2 17 00 [14:18:00]MH_I2C_Read... [14:18:00]Read from MH i2c: E2 17 00 FF 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 D2 [14:18:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [14:18:00]wFMCommunicate OK [14:18:00]CreateOFDProtocolMessage done [14:18:00]OFDSenderStorePacket 4182 [14:18:00]StoreOFDPacket docnum=4182 [14:18:00]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 25 01 00 00 61 ED 1D 01 17 8C 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 28 00 00 00 F4 03 04 00 97 73 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 56 10 00 00 35 04 06 00 FF B0 DD 3C A5 0E 34 8B 14 71 8B 6E BD F5 [14:18:00]CheckFolder [14:18:00]dirname=/storage/ofd_packets [14:18:00]CheckFolder done [14:18:00]ProducePacketName [14:18:00]name=ofd_packets/00004182 [14:18:00]NVStorageSaveData ofd_packets/00004182 [14:18:00]File name is /storage/ofd_packets/00004182 [14:18:00]Write 323 bytes [14:18:00]NVStorageSaveData done [14:18:00]OFDSenderStorePacket done [14:18:00]KKMCreateOFDPacket done [14:18:00]NVStorageSaveData kkm_last_timestamp [14:18:00]File name is /storage/kkm_last_timestamp [14:18:00]Write 4 bytes [14:18:00]NVStorageSaveData done [14:18:00]ExternCall_PrintAddStr [14:18:00]wPrintStart [14:18:00]Write to MH i2c: 01 00 00 00 07 07 [14:18:00]Write i2c OK [14:18:00]MH_I2C_Read... [14:18:00]Read from MH i2c: 01 [14:18:00]MH_I2C_Read... [14:18:00]Read from MH i2c: 01 07 00 [14:18:00]MH_I2C_Read... [14:18:00]Read from MH i2c: 01 07 00 00 07 00 00 00 00 00 FF 0F 1C [14:18:00]RasterBufferAndPrint [14:18:00]line Счет N : (3)4435 [14:18:00]line ИНН: 02508201610067 [14:18:00]line Контрольно-Кассовый Чек [14:18:00]line ПРОДАЖА [14:18:00]line Товар: 48743570 [14:18:00]line Сигареты Winston XStyle Blue [14:18:00]line 1.000 * 140.00 [14:18:00]line = 140.00 [14:18:00]line НДС 12% НСП 1% [14:18:00]line > о реализуемом товаре [14:18:00]line ИТОГО: 140.00 [14:18:00]line НСП 1% : 1.24 [14:18:00]line НДС 12% : 14.87 [14:18:00]line Наличными: 140.00 [14:18:00]line Безнал.: 0.00 [14:18:00]line Место: АЗС № 116 "Партнер Нефть" [14:18:00]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [14:18:00]line СНО: Общий режим [14:18:00]line Чек 40 05.06.2024 14:17 [14:18:00]line Смена: 84 ФФД: 1.0 [14:18:00]line ЗНМ: 0300000233 [14:18:00]line РНМ: 0000000000145775 [14:18:00]line Версия ККМ: v1.0 [14:18:00]line ФМ: 0000000000959360 [14:18:00]line ФД: 4182 [14:18:00]line ФПД: 281135091066126 [14:18:00]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T141759&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4182&fm=281135091066126&tin=02508201610067®Number=0000000000145775&sum=14000 [14:18:00]line 0 [14:18:00]OFD Sender: Processing packet 4182 [packets to send 2, broken 1] [14:18:00]ProducePacketName [14:18:00]name=ofd_packets/00004182 [14:18:00]OFD Sender: To server: pG, [14:18:00]CommunicateWithHost lk.salyk.kg:30040 [14:18:00]ConnectInit lk.salyk.kg [14:18:00]written 0, free lines is 4095 [14:18:00]Connected sock=11 [14:18:00]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 25 01 00 00 61 ED 1D 01 17 8C 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 28 00 00 00 F4 03 04 00 97 73 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 56 10 00 00 35 04 06 00 FF B0 DD 3C A5 0E 34 8B 14 71 8B 6E BD F5 [14:18:00]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 B2 27 47 00 66 7C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 56 10 00 00 F4 03 04 00 95 1F 60 66 B6 04 01 00 00 C9 A4 4E A7 38 36 0E 29 [14:18:00]CommunicateWithHost err = 0 [14:18:00]CheckOFDResponse [14:18:00]1017 (14) - 77093643461234 [14:18:00]1041 (16) - 0000000000959360 [14:18:00]1040 (4) - 4182 [14:18:00]1012 (4) - 05.06.2024 08:19 [14:18:00]1206 (1) - 0 [14:18:00]OFD Sender: Remove packet 4182 [14:18:00]ProducePacketName [14:18:00]name=ofd_packets/00004182 [14:18:00]NVStorageDeleteData [14:18:01]Write to MH i2c: 01 00 00 28 07 2F [14:18:01]Write i2c OK [14:18:01]MH_I2C_Read... [14:18:01]Read from MH i2c: 01 [14:18:01]MH_I2C_Read... [14:18:01]Read from MH i2c: 01 07 00 [14:18:01]MH_I2C_Read... [14:18:01]Read from MH i2c: 01 07 00 28 07 00 00 00 00 00 CF 0C 11 [14:18:01]RasterBufferAndPrint [14:18:01]line [14:18:01]line [14:18:01]line [14:18:01]line [14:18:01]line [14:18:01]written 0, free lines is 3283 [14:18:01]MH_Cut [14:18:01]Write to MH i2c: D1 01 00 2F 07 01 08 [14:18:01]Write i2c OK [14:18:01]MH_I2C_Read... [14:18:01]Read from MH i2c: D1 [14:18:01]MH_I2C_Read... [14:18:01]Read from MH i2c: D1 01 00 [14:18:01]MH_I2C_Read... [14:18:01]Read from MH i2c: D1 01 00 2F 07 00 07 [14:18:01]Write to MH i2c: 01 00 00 30 07 37 [14:18:01]Write i2c OK [14:18:01]MH_I2C_Read... [14:18:01]OFD Sender: No OFD packet to send [14:18:02]*** Cut start [14:18:02]*** Partial cut [14:18:02]*** CUTSNS_PIN = 1 [14:18:02]*** CUTSNS_PIN = 0 [14:18:02]*** Brake cut motor [14:18:02]Read from MH i2c: 01 [14:18:02]MH_I2C_Read... [14:18:02]*** Stop cut motor [14:18:02]*** Cut end [14:18:02]Read from MH i2c: 01 07 00 [14:18:02]MH_I2C_Read... [14:18:02]Read from MH i2c: 01 07 00 30 07 00 00 00 00 00 FF 0F 4C [14:18:02]process_action close_receipt done [14:18:02]requested_data is exist [14:18:02]produce_requested_data [14:18:02]requested_item fm.sn is exist - process it [14:18:02]wFMCommunicate request_size=4 [14:18:02]MH_SAM_APDU [14:18:02]CAPDU: 80 11 00 00 [14:18:02]Write to MH i2c: E2 08 00 31 07 80 11 00 00 00 00 00 00 B2 [14:18:02]Write i2c OK [14:18:02]MH_I2C_Read... [14:18:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:18:02]Read from MH i2c: E2 [14:18:02]MH_I2C_Read... [14:18:02]Read from MH i2c: E2 17 00 [14:18:02]MH_I2C_Read... [14:18:02]Read from MH i2c: E2 17 00 31 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 05 [14:18:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [14:18:02]wFMCommunicate OK [14:18:02]requested_item fd.num is exist - process it [14:18:02]SAM_PROTO_GetFieldsCounters [14:18:02]wFMCommunicate request_size=4 [14:18:02]MH_SAM_APDU [14:18:02]CAPDU: 80 13 00 00 [14:18:02]Write to MH i2c: E2 08 00 32 07 80 13 00 00 00 00 00 00 B5 [14:18:02]Write i2c OK [14:18:02]MH_I2C_Read... [14:18:02]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:18:02]Read from MH i2c: E2 [14:18:02]MH_I2C_Read... [14:18:02]Read from MH i2c: E2 62 00 [14:18:02]MH_I2C_Read... [14:18:02]Read from MH i2c: E2 62 00 32 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 56 10 00 00 0E 04 04 00 54 00 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 0C [14:18:02]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 56 10 00 00 0E 04 04 00 54 00 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 [14:18:02]wFMCommunicate OK [14:18:02]SAM_PROTO_GetFieldsCounters done [14:18:02]requested_item shift.num is exist - process it [14:18:02]requested_item shift.opened is exist - process it [14:18:02]req_shift_opened [14:18:02]FM_GetShiftState [14:18:02]SAM_PROTO_GetShiftState [14:18:02]wFMCommunicate request_size=4 [14:18:02]MH_SAM_APDU [14:18:02]CAPDU: 80 13 01 00 [14:18:02]Write to MH i2c: E2 08 00 33 07 80 13 01 00 00 00 00 00 B7 [14:18:02]Write i2c OK [14:18:02]MH_I2C_Read... [14:18:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:18:02]Read from MH i2c: E2 [14:18:02]MH_I2C_Read... [14:18:02]Read from MH i2c: E2 0E 00 [14:18:02]MH_I2C_Read... [14:18:02]Read from MH i2c: E2 0E 00 33 07 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 58 [14:18:02]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [14:18:02]wFMCommunicate OK [14:18:02]SAM_PROTO_GetShiftState done [14:18:02]FM_GetShiftState done [14:18:02]req_shift_opened done [14:18:02]requested_item shift.open_date is exist - process it [14:18:02]req_shift_open_date [14:18:02]req_shift_open_date done [14:18:02]produce_requested_data done [14:18:02]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4182,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765} [14:18:02]process_action_free close_receipt [14:18:02]json_value_free [14:18:02]json_value_free done [14:18:02]process_json_proto returns [14:18:02]Send response to host [14:18:02]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4182,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765}}} [14:18:02]free response buf [14:18:02]execute_script done [14:18:02]execute_script returns [14:18:02]free content buf [14:18:02]Sock 8.Close socket [14:18:02]Sock 8.Thread stoped [14:18:06]OFD Sender: No OFD packet to send [14:18:11]OFD Sender: No OFD packet to send [14:18:16]OFD Sender: No OFD packet to send [14:18:21]OFD Sender: No OFD packet to send [14:18:26]OFD Sender: No OFD packet to send [14:18:31]OFD Sender: No OFD packet to send [14:18:36]OFD Sender: No OFD packet to send [14:18:41]OFD Sender: No OFD packet to send [14:18:46]OFD Sender: No OFD packet to send [14:18:51]OFD Sender: No OFD packet to send [14:18:56]OFD Sender: No OFD packet to send [14:19:01]OFD Sender: No OFD packet to send [14:19:06]OFD Sender: No OFD packet to send [14:19:11]OFD Sender: No OFD packet to send [14:19:16]OFD Sender: No OFD packet to send [14:19:21]OFD Sender: No OFD packet to send [14:19:26]OFD Sender: No OFD packet to send [14:19:31]OFD Sender: No OFD packet to send [14:19:36]OFD Sender: No OFD packet to send [14:19:41]OFD Sender: No OFD packet to send [14:19:46]OFD Sender: No OFD packet to send [14:19:51]OFD Sender: No OFD packet to send [14:19:56]OFD Sender: No OFD packet to send [14:20:01]OFD Sender: No OFD packet to send [14:20:06]OFD Sender: No OFD packet to send [14:20:11]OFD Sender: No OFD packet to send [14:20:16]OFD Sender: No OFD packet to send [14:20:21]OFD Sender: No OFD packet to send [14:20:26]OFD Sender: No OFD packet to send [14:20:31]OFD Sender: No OFD packet to send [14:20:36]OFD Sender: No OFD packet to send [14:20:41]OFD Sender: No OFD packet to send [14:20:46]OFD Sender: No OFD packet to send [14:20:51]OFD Sender: No OFD packet to send [14:20:56]OFD Sender: No OFD packet to send [14:21:01]OFD Sender: No OFD packet to send [14:21:06]OFD Sender: No OFD packet to send [14:21:11]OFD Sender: No OFD packet to send [14:21:16]OFD Sender: No OFD packet to send [14:21:21]OFD Sender: No OFD packet to send [14:21:26]OFD Sender: No OFD packet to send [14:21:31]OFD Sender: No OFD packet to send [14:21:36]OFD Sender: No OFD packet to send [14:21:41]OFD Sender: No OFD packet to send [14:21:46]OFD Sender: No OFD packet to send [14:21:51]OFD Sender: No OFD packet to send [14:21:56]OFD Sender: No OFD packet to send [14:22:01]OFD Sender: No OFD packet to send [14:22:06]OFD Sender: No OFD packet to send [14:22:11]OFD Sender: No OFD packet to send [14:22:16]OFD Sender: No OFD packet to send [14:22:21]OFD Sender: No OFD packet to send [14:22:26]OFD Sender: No OFD packet to send [14:22:31]OFD Sender: No OFD packet to send [14:22:36]OFD Sender: No OFD packet to send [14:22:41]OFD Sender: No OFD packet to send [14:22:46]OFD Sender: No OFD packet to send [14:22:51]OFD Sender: No OFD packet to send [14:22:56]OFD Sender: No OFD packet to send [14:23:01]OFD Sender: No OFD packet to send [14:23:06]OFD Sender: No OFD packet to send [14:23:11]OFD Sender: No OFD packet to send [14:23:16]OFD Sender: No OFD packet to send [14:23:21]OFD Sender: No OFD packet to send [14:23:26]OFD Sender: No OFD packet to send [14:23:31]OFD Sender: No OFD packet to send [14:23:36]OFD Sender: No OFD packet to send [14:23:41]OFD Sender: No OFD packet to send [14:23:46]OFD Sender: No OFD packet to send [14:23:51]OFD Sender: No OFD packet to send [14:23:56]OFD Sender: No OFD packet to send [14:24:01]OFD Sender: No OFD packet to send [14:24:06]OFD Sender: No OFD packet to send [14:24:11]OFD Sender: No OFD packet to send [14:24:16]OFD Sender: No OFD packet to send [14:24:21]OFD Sender: No OFD packet to send [14:24:26]OFD Sender: No OFD packet to send [14:24:31]OFD Sender: No OFD packet to send [14:24:36]OFD Sender: No OFD packet to send [14:24:41]OFD Sender: No OFD packet to send [14:24:46]OFD Sender: No OFD packet to send [14:24:51]OFD Sender: No OFD packet to send [14:24:56]OFD Sender: No OFD packet to send [14:25:01]OFD Sender: No OFD packet to send [14:25:06]OFD Sender: No OFD packet to send [14:25:11]OFD Sender: No OFD packet to send [14:25:16]OFD Sender: No OFD packet to send [14:25:21]OFD Sender: No OFD packet to send [14:25:26]OFD Sender: No OFD packet to send [14:25:31]OFD Sender: No OFD packet to send [14:25:36]OFD Sender: No OFD packet to send [14:25:41]OFD Sender: No OFD packet to send [14:25:46]OFD Sender: No OFD packet to send [14:25:51]OFD Sender: No OFD packet to send [14:25:56]OFD Sender: No OFD packet to send [14:26:01]OFD Sender: No OFD packet to send [14:26:06]OFD Sender: No OFD packet to send [14:26:11]OFD Sender: No OFD packet to send [14:26:16]OFD Sender: No OFD packet to send [14:26:21]OFD Sender: No OFD packet to send [14:26:26]OFD Sender: No OFD packet to send [14:26:31]OFD Sender: No OFD packet to send [14:26:36]OFD Sender: No OFD packet to send [14:26:41]OFD Sender: No OFD packet to send [14:26:46]OFD Sender: No OFD packet to send [14:26:51]OFD Sender: No OFD packet to send [14:26:56]OFD Sender: No OFD packet to send [14:27:01]OFD Sender: No OFD packet to send [14:27:06]OFD Sender: No OFD packet to send [14:27:11]OFD Sender: No OFD packet to send [14:27:16]OFD Sender: No OFD packet to send [14:27:21]OFD Sender: No OFD packet to send [14:27:26]OFD Sender: No OFD packet to send [14:27:31]OFD Sender: No OFD packet to send [14:27:36]OFD Sender: No OFD packet to send [14:27:41]OFD Sender: No OFD packet to send [14:27:46]OFD Sender: No OFD packet to send [14:27:51]OFD Sender: No OFD packet to send [14:27:56]OFD Sender: No OFD packet to send [14:28:01]OFD Sender: No OFD packet to send [14:28:06]OFD Sender: No OFD packet to send [14:28:11]OFD Sender: No OFD packet to send [14:28:16]OFD Sender: No OFD packet to send [14:28:21]OFD Sender: No OFD packet to send [14:28:26]OFD Sender: No OFD packet to send [14:28:31]OFD Sender: No OFD packet to send [14:28:36]OFD Sender: No OFD packet to send [14:28:41]OFD Sender: No OFD packet to send [14:28:46]OFD Sender: No OFD packet to send [14:28:51]OFD Sender: No OFD packet to send [14:28:56]OFD Sender: No OFD packet to send [14:29:01]OFD Sender: No OFD packet to send [14:29:06]OFD Sender: No OFD packet to send [14:29:11]OFD Sender: No OFD packet to send [14:29:16]OFD Sender: No OFD packet to send [14:29:21]OFD Sender: No OFD packet to send [14:29:26]OFD Sender: No OFD packet to send [14:29:31]OFD Sender: No OFD packet to send [14:29:36]OFD Sender: No OFD packet to send [14:29:41]OFD Sender: No OFD packet to send [14:29:46]OFD Sender: No OFD packet to send [14:29:51]OFD Sender: No OFD packet to send [14:29:57]OFD Sender: No OFD packet to send [14:30:02]OFD Sender: No OFD packet to send [14:30:07]OFD Sender: No OFD packet to send [14:30:12]OFD Sender: No OFD packet to send [14:30:17]OFD Sender: No OFD packet to send [14:30:22]OFD Sender: No OFD packet to send [14:30:27]OFD Sender: No OFD packet to send [14:30:32]OFD Sender: No OFD packet to send [14:30:37]OFD Sender: No OFD packet to send [14:30:42]OFD Sender: No OFD packet to send [14:30:47]OFD Sender: No OFD packet to send [14:30:52]OFD Sender: No OFD packet to send [14:30:57]OFD Sender: No OFD packet to send [14:31:02]OFD Sender: No OFD packet to send [14:31:07]OFD Sender: No OFD packet to send [14:31:12]OFD Sender: No OFD packet to send [14:31:17]OFD Sender: No OFD packet to send [14:31:22]OFD Sender: No OFD packet to send [14:31:26]accept exits with 9 [14:31:26]New connection [14:31:26]New thread 3066748260 created [14:31:26]Thread 3066604900 joined [14:31:26]Waiting for new connection... [14:31:26] Sock 9.Parse request [14:31:26]Sock 9.Check first char [14:31:26]Sock 9.First char is OK [14:31:26]request: POST /json_proto HTTP/1.0 [14:31:26]Method: POST [14:31:26]URL: /json_proto [14:31:26]Method is POST - this is cgi request [14:31:26]url: /json_proto [14:31:26]query_string will be loaded in cgi processing [14:31:26]execute_cgi json_proto POST (null) [14:31:26]execute_cgi path=json_proto method=POST [14:31:26]POST find Content-Length [14:31:26]Host: 172.17.56.68:8080 [14:31:26]Content-Length: 797 [14:31:26]Content-Type: application/json [14:31:26] [14:31:26]POST finish read [14:31:26]Found Content-Length = 797 [14:31:26]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4436", "tax_sys" : 0, "items" : [ { "code": "46230614", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Richmond Red Edition", "price" : 150.00, "quantity" : 4.000, "sum" : 600.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" : 600.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:31:26]execute_script... [14:31: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)4436", "tax_sys" : 0, "items" : [ { "code": "46230614", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Richmond Red Edition", "price" : 150.00, "quantity" : 4.000, "sum" : 600.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" : 600.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:31:26]POST & json_proto [14:31:26]process_json_proto [14:31:26]json parsed OK: [14:31:26]protocol is kg_v1.0 [14:31:26]action value=close_receipt [14:31:26]process_action close_receipt [14:31:26]cmd_close_receipt [14:31:26]MH_GetDate [14:31:26]Write to MH i2c: F0 00 00 34 07 2A [14:31:26]Write i2c OK [14:31:26]MH_I2C_Read... [14:31:26]Read from MH i2c: F0 [14:31:26]MH_I2C_Read... [14:31:26]Read from MH i2c: F0 09 00 [14:31:26]MH_I2C_Read... [14:31:26]Read from MH i2c: F0 09 00 34 07 00 BF 76 60 66 42 69 5C 66 9B [14:31:26]GetLastDocTimeStamp 1717597079 [14:31:26]current date 1717597887 [14:31:26]FM_GetShiftState [14:31:26]SAM_PROTO_GetShiftState [14:31:26]wFMCommunicate request_size=4 [14:31:26]MH_SAM_APDU [14:31:26]CAPDU: 80 13 01 00 [14:31:26]Write to MH i2c: E2 08 00 35 07 80 13 01 00 00 00 00 00 B9 [14:31:26]Write i2c OK [14:31:26]MH_I2C_Read... [14:31:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:31:26]Read from MH i2c: E2 [14:31:26]MH_I2C_Read... [14:31:26]Read from MH i2c: E2 0E 00 [14:31:26]MH_I2C_Read... [14:31:26]Read from MH i2c: E2 0E 00 35 07 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 5A [14:31:26]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [14:31:26]wFMCommunicate OK [14:31:26]SAM_PROTO_GetShiftState done [14:31:26]FM_GetShiftState done [14:31:26]opened in 1717545765 [14:31:26]opened+sec_in_day 1717632165 [14:31:26]quantity*price = 60000 [14:31:26]sum+1 = 60001 [14:31:26]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 600.00 НСП 1% : 5.31 НДС 12% : 63.72 Наличными: 0.00 Безнал.: 600.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 41 05.06.2024 14:31 Смена: 84 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 Платежная система: Бакай Банк ФМ: 0000000000959360 ФД: 4183 ФПД: 229207574467044 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T143127&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4183&fm=229207574467044&tin=02508201610067®Number=0000000000145775&sum=60000 0 [14:31:27]StoreToDocumentArchive [14:31:27]shift 84 fd 4183 [14:31:27]save to /storage/0084/doc_00004183 [14:31:27]save last doc name /storage/0084/doc_00004183 to /storage/kkm_last_doc_name [14:31:27]save OK [14:31:27]Clear old archive folders... [14:31:27]ProcessDocumentItem done err = 0, tmpTLVsize=274 [14:31:27]tlvbuf is 012F49D0 [14:31:27]SAM_PROTO_ClearQueue [14:31:27]wFMCommunicate request_size=4 [14:31:27]MH_SAM_APDU [14:31:27]CAPDU: 80 09 00 00 [14:31:27]Write to MH i2c: E2 08 00 42 07 80 09 00 00 00 00 00 00 BB [14:31:27]Write i2c OK [14:31:27]MH_I2C_Read... [14:31:27]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:31:27]Read from MH i2c: E2 [14:31:27]MH_I2C_Read... [14:31:27]Read from MH i2c: E2 03 00 [14:31:27]MH_I2C_Read... [14:31:27]Read from MH i2c: E2 03 00 42 07 00 90 00 BD [14:31:27]RAPDU: 90 00 [14:31:27]wFMCommunicate OK [14:31:27]SAM_PROTO_ClearQueue done [14:31:27]KKMCreateOFDPacket [14:31:27]OFDProtocolAddRootSTLVToBuf [14:31:27]FM_MakeSignedData [14:31:27]FM_MakeSignedData [14:31:27]SAM_PROTO_SignData [14:31:27]wFMCommunicate request_size=4 [14:31:27]MH_SAM_APDU [14:31:27]CAPDU: 80 0D 01 02 [14:31:27]Write to MH i2c: E2 08 00 43 07 80 0D 01 02 00 00 00 00 C3 [14:31:27]Write i2c OK [14:31:27]MH_I2C_Read... [14:31:27]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:31:27]Read from MH i2c: E2 [14:31:27]MH_I2C_Read... [14:31:27]Read from MH i2c: E2 03 00 [14:31:27]MH_I2C_Read... [14:31:27]Read from MH i2c: E2 03 00 43 07 00 90 00 BE [14:31:27]RAPDU: 90 00 [14:31:27]wFMCommunicate OK [14:31:27]wFMCommunicate request_size=255 [14:31:27]MH_SAM_APDU [14:31:27]CAPDU: 80 0D 02 02 FA 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 36 32 33 30 36 31 34 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 52 65 64 20 45 64 69 74 69 6F 6E FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 60 EA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 EA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E4 18 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 60 EA 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 BF 76 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 [14:31:27]Write to MH i2c: E2 02 01 44 07 80 0D 02 02 FA 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 36 32 33 30 36 31 34 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 52 65 64 20 45 64 69 74 69 6F 6E FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 60 EA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 EA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E4 18 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 60 EA 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 BF 76 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 00 00 D0 [14:31:27]Write i2c OK [14:31:27]MH_I2C_Read... [14:31:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:31:28]Read from MH i2c: E2 [14:31:28]MH_I2C_Read... [14:31:28]Read from MH i2c: E2 03 00 [14:31:28]MH_I2C_Read... [14:31:28]Read from MH i2c: E2 03 00 44 07 00 90 00 BF [14:31:28]RAPDU: 90 00 [14:31:28]wFMCommunicate OK [14:31:28]wFMCommunicate request_size=33 [14:31:28]MH_SAM_APDU [14:31:28]CAPDU: 80 0D 02 02 1C 30 30 30 30 39 35 39 33 36 30 10 04 04 00 57 10 00 00 35 04 06 00 D0 76 8C 0E 51 E4 [14:31:28]Write to MH i2c: E2 24 00 45 07 80 0D 02 02 1C 00 30 30 30 30 39 35 39 33 36 30 10 04 04 00 57 10 00 00 35 04 06 00 D0 76 8C 0E 51 E4 00 00 D1 [14:31:28]Write i2c OK [14:31:28]MH_I2C_Read... [14:31:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:31:28]Read from MH i2c: E2 [14:31:28]MH_I2C_Read... [14:31:28]Read from MH i2c: E2 03 00 [14:31:28]MH_I2C_Read... [14:31:28]Read from MH i2c: E2 03 00 45 07 00 90 00 C0 [14:31:28]RAPDU: 90 00 [14:31:28]wFMCommunicate OK [14:31:28]wFMCommunicate request_size=4 [14:31:28]MH_SAM_APDU [14:31:28]CAPDU: 80 0D 03 02 [14:31:28]Write to MH i2c: E2 08 00 46 07 80 0D 03 02 00 00 00 00 C8 [14:31:28]Write i2c OK [14:31:28]MH_I2C_Read... [14:31:28]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:31:28]Read from MH i2c: E2 [14:31:28]MH_I2C_Read... [14:31:28]Read from MH i2c: E2 0B 00 [14:31:28]MH_I2C_Read... [14:31:28]Read from MH i2c: E2 0B 00 46 07 00 AE BC 71 86 11 9D BF F3 90 00 8A [14:31:28]RAPDU: AE BC 71 86 11 9D BF F3 90 00 [14:31:28]wFMCommunicate OK [14:31:28]SAM_PROTO_SignData done [14:31:28]FM_MakeSignedData done [14:31:28]CreateOFDProtocolMessage [14:31:28]wFMCommunicate request_size=4 [14:31:28]MH_SAM_APDU [14:31:28]CAPDU: 80 11 00 00 [14:31:28]Write to MH i2c: E2 08 00 47 07 80 11 00 00 00 00 00 00 C8 [14:31:28]Write i2c OK [14:31:28]MH_I2C_Read... [14:31:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:31:28]Read from MH i2c: E2 [14:31:28]MH_I2C_Read... [14:31:28]Read from MH i2c: E2 17 00 [14:31:28]MH_I2C_Read... [14:31:28]Read from MH i2c: E2 17 00 47 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 1B [14:31:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [14:31:28]wFMCommunicate OK [14:31:28]CreateOFDProtocolMessage done [14:31:28]OFDSenderStorePacket 4183 [14:31:28]StoreOFDPacket docnum=4183 [14:31:28]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 26 01 00 00 54 69 1E 01 A0 5F 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 36 32 33 30 36 31 34 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 52 65 64 20 45 64 69 74 69 6F 6E FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 60 EA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 EA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E4 18 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 60 EA 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 BF 76 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 57 10 00 00 35 04 06 00 D0 76 8C 0E 51 E4 AE BC 71 86 11 9D BF F3 [14:31:28]CheckFolder [14:31:28]dirname=/storage/ofd_packets [14:31:28]CheckFolder done [14:31:28]ProducePacketName [14:31:28]name=ofd_packets/00004183 [14:31:28]NVStorageSaveData ofd_packets/00004183 [14:31:28]File name is /storage/ofd_packets/00004183 [14:31:28]Write 324 bytes [14:31:28]NVStorageSaveData done [14:31:28]OFDSenderStorePacket done [14:31:28]KKMCreateOFDPacket done [14:31:28]NVStorageSaveData kkm_last_timestamp [14:31:28]File name is /storage/kkm_last_timestamp [14:31:28]Write 4 bytes [14:31:28]NVStorageSaveData done [14:31:28]ExternCall_PrintAddStr [14:31:28]wPrintStart [14:31:28]Write to MH i2c: 01 00 00 48 07 4F [14:31:28]OFD Sender: Processing packet 4183 [packets to send 2, broken 1] [14:31:28]ProducePacketName [14:31:28]name=ofd_packets/00004183 [14:31:28]OFD Sender: To server: pG, [14:31:28]CommunicateWithHost lk.salyk.kg:30040 [14:31:28]ConnectInit lk.salyk.kg [14:31:28]Write i2c OK [14:31:28]MH_I2C_Read... [14:31:28]Read from MH i2c: 01 [14:31:28]MH_I2C_Read... [14:31:28]Read from MH i2c: 01 07 00 [14:31:28]MH_I2C_Read... [14:31:28]Read from MH i2c: 01 07 00 48 07 00 00 00 00 00 FF 0F 64 [14:31:28]RasterBufferAndPrint [14:31:28]line Счет N : (3)4436 [14:31:28]line ИНН: 02508201610067 [14:31:28]line Контрольно-Кассовый Чек [14:31:28]line ПРОДАЖА [14:31:28]line Товар: 46230614 [14:31:28]line Сигареты Richmond Red Edition [14:31:28]line 4.000 * 150.00 [14:31:28]line = 600.00 [14:31:28]line НДС 12% НСП 1% [14:31:28]line > о реализуемом товаре [14:31:28]line ИТОГО: 600.00 [14:31:28]line НСП 1% : 5.31 [14:31:28]line НДС 12% : 63.72 [14:31:28]line Наличными: 0.00 [14:31:28]line Безнал.: 600.00 [14:31:28]line Место: АЗС № 116 "Партнер Нефть" [14:31:28]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [14:31:28]line СНО: Общий режим [14:31:28]line Чек 41 05.06.2024 14:31 [14:31:28]line Смена: 84 ФФД: 1.0 [14:31:28]line ЗНМ: 0300000233 [14:31:28]line РНМ: 0000000000145775 [14:31:28]line Версия ККМ: v1.0 [14:31:28]line Платежная система: Бакай Банк [14:31:28]line ФМ: 0000000000959360 [14:31:28]line ФД: 4183 [14:31:28]line ФПД: 229207574467044 [14:31:28]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T143127&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4183&fm=229207574467044&tin=02508201610067®Number=0000000000145775&sum=60000 [14:31:28]line 0 [14:31:28]Connected sock=10 [14:31:28]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 26 01 00 00 54 69 1E 01 A0 5F 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 36 32 33 30 36 31 34 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 52 65 64 20 45 64 69 74 69 6F 6E FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 60 EA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 EA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E4 18 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 60 EA 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 BF 76 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 57 10 00 00 35 04 06 00 D0 76 8C 0E 51 E4 AE BC 71 86 11 9D BF F3 [14:31:28]written 0, free lines is 4095 [14:31:28]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 D7 4B 47 00 B2 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 39 35 39 33 36 30 10 04 04 00 57 10 00 00 F4 03 04 00 BC 22 60 66 B6 04 01 00 00 7E F6 4E 07 F2 4A F9 B8 [14:31:28]CommunicateWithHost err = 0 [14:31:28]CheckOFDResponse [14:31:28]1017 (14) - 77093643461234 [14:31:28]1041 (16) - 0000000000959360 [14:31:28]1040 (4) - 4183 [14:31:28]1012 (4) - 05.06.2024 08:33 [14:31:28]1206 (1) - 0 [14:31:28]OFD Sender: Remove packet 4183 [14:31:28]ProducePacketName [14:31:28]name=ofd_packets/00004183 [14:31:28]NVStorageDeleteData [14:31:29]Write to MH i2c: 01 00 00 73 07 7A [14:31:29]Write i2c OK [14:31:29]MH_I2C_Read... [14:31:29]Read from MH i2c: 01 [14:31:29]MH_I2C_Read... [14:31:29]Read from MH i2c: 01 07 00 [14:31:29]MH_I2C_Read... [14:31:29]Read from MH i2c: 01 07 00 73 07 00 00 00 00 00 8A 0C 17 [14:31:29]RasterBufferAndPrint [14:31:29]line [14:31:29]line [14:31:29]line [14:31:29]line [14:31:29]line [14:31:29]written 0, free lines is 3215 [14:31:29]MH_Cut [14:31:29]Write to MH i2c: D1 01 00 7A 07 01 53 [14:31:29]Write i2c OK [14:31:29]MH_I2C_Read... [14:31:29]Read from MH i2c: D1 [14:31:29]MH_I2C_Read... [14:31:29]Read from MH i2c: D1 01 00 [14:31:29]MH_I2C_Read... [14:31:29]Read from MH i2c: D1 01 00 7A 07 00 52 [14:31:29]Write to MH i2c: 01 00 00 7B 07 82 [14:31:29]Write i2c OK [14:31:29]MH_I2C_Read... [14:31:29]OFD Sender: No OFD packet to send [14:31:30]*** Cut start [14:31:30]*** Partial cut [14:31:30]*** CUTSNS_PIN = 1 [14:31:30]*** CUTSNS_PIN = 0 [14:31:30]*** Brake cut motor [14:31:30]Read from MH i2c: 01 [14:31:30]MH_I2C_Read... [14:31:30]*** Stop cut motor [14:31:30]*** Cut end [14:31:30]Read from MH i2c: 01 07 00 [14:31:30]MH_I2C_Read... [14:31:30]Read from MH i2c: 01 07 00 7B 07 00 00 00 00 00 FF 0F 97 [14:31:30]process_action close_receipt done [14:31:30]requested_data is exist [14:31:30]produce_requested_data [14:31:30]requested_item fm.sn is exist - process it [14:31:30]wFMCommunicate request_size=4 [14:31:30]MH_SAM_APDU [14:31:30]CAPDU: 80 11 00 00 [14:31:30]Write to MH i2c: E2 08 00 7C 07 80 11 00 00 00 00 00 00 FD [14:31:30]Write i2c OK [14:31:30]MH_I2C_Read... [14:31:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:31:30]Read from MH i2c: E2 [14:31:30]MH_I2C_Read... [14:31:30]Read from MH i2c: E2 17 00 [14:31:30]MH_I2C_Read... [14:31:30]Read from MH i2c: E2 17 00 7C 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 50 [14:31:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [14:31:30]wFMCommunicate OK [14:31:30]requested_item fd.num is exist - process it [14:31:30]SAM_PROTO_GetFieldsCounters [14:31:30]wFMCommunicate request_size=4 [14:31:30]MH_SAM_APDU [14:31:30]CAPDU: 80 13 00 00 [14:31:30]Write to MH i2c: E2 08 00 7D 07 80 13 00 00 00 00 00 00 00 [14:31:30]Write i2c OK [14:31:30]MH_I2C_Read... [14:31:30]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:31:30]Read from MH i2c: E2 [14:31:30]MH_I2C_Read... [14:31:30]Read from MH i2c: E2 62 00 [14:31:30]MH_I2C_Read... [14:31:30]Read from MH i2c: E2 62 00 7D 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 57 10 00 00 0E 04 04 00 54 00 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 5B [14:31:30]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 57 10 00 00 0E 04 04 00 54 00 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 [14:31:30]wFMCommunicate OK [14:31:30]SAM_PROTO_GetFieldsCounters done [14:31:30]requested_item shift.num is exist - process it [14:31:30]requested_item shift.opened is exist - process it [14:31:30]req_shift_opened [14:31:30]FM_GetShiftState [14:31:30]SAM_PROTO_GetShiftState [14:31:30]wFMCommunicate request_size=4 [14:31:30]MH_SAM_APDU [14:31:30]CAPDU: 80 13 01 00 [14:31:30]Write to MH i2c: E2 08 00 7E 07 80 13 01 00 00 00 00 00 02 [14:31:30]Write i2c OK [14:31:30]MH_I2C_Read... [14:31:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:31:31]Read from MH i2c: E2 [14:31:31]MH_I2C_Read... [14:31:31]Read from MH i2c: E2 0E 00 [14:31:31]MH_I2C_Read... [14:31:31]Read from MH i2c: E2 0E 00 7E 07 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 A3 [14:31:31]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [14:31:31]wFMCommunicate OK [14:31:31]SAM_PROTO_GetShiftState done [14:31:31]FM_GetShiftState done [14:31:31]req_shift_opened done [14:31:31]requested_item shift.open_date is exist - process it [14:31:31]req_shift_open_date [14:31:31]req_shift_open_date done [14:31:31]produce_requested_data done [14:31:31]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4183,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765} [14:31:31]process_action_free close_receipt [14:31:31]json_value_free [14:31:31]json_value_free done [14:31:31]process_json_proto returns [14:31:31]Send response to host [14:31:31]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4183,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765}}} [14:31:31]free response buf [14:31:31]execute_script done [14:31:31]execute_script returns [14:31:31]free content buf [14:31:31]Sock 9.Close socket [14:31:31]Sock 9.Thread stoped [14:31:34]OFD Sender: No OFD packet to send [14:31:39]OFD Sender: No OFD packet to send [14:31:44]OFD Sender: No OFD packet to send [14:31:49]OFD Sender: No OFD packet to send [14:31:54]OFD Sender: No OFD packet to send [14:31:59]OFD Sender: No OFD packet to send [14:32:04]OFD Sender: No OFD packet to send [14:32:09]OFD Sender: No OFD packet to send [14:32:14]OFD Sender: No OFD packet to send [14:32:19]OFD Sender: No OFD packet to send [14:32:24]OFD Sender: No OFD packet to send [14:32:29]OFD Sender: No OFD packet to send [14:32:34]OFD Sender: No OFD packet to send [14:32:39]OFD Sender: No OFD packet to send [14:32:44]OFD Sender: No OFD packet to send [14:32:49]OFD Sender: No OFD packet to send [14:32:53]accept exits with 8 [14:32:53]New connection [14:32:53]New thread 3066604900 created [14:32:53]Thread 3066748260 joined [14:32:53]Waiting for new connection... [14:32:53] Sock 8.Parse request [14:32:53]Sock 8.Check first char [14:32:53]Sock 8.First char is OK [14:32:53]request: POST /json_proto HTTP/1.0 [14:32:53]Method: POST [14:32:53]URL: /json_proto [14:32:53]Method is POST - this is cgi request [14:32:53]url: /json_proto [14:32:53]query_string will be loaded in cgi processing [14:32:53]execute_cgi json_proto POST (null) [14:32:53]execute_cgi path=json_proto method=POST [14:32:53]POST find Content-Length [14:32:53]Host: 172.17.56.68:8080 [14:32:53]Content-Length: 1356 [14:32:53]Content-Type: application/json [14:32:53] [14:32:53]POST finish read [14:32:53]Found Content-Length = 1356 [14:32:53]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4437", "tax_sys" : 0, "items" : [ { "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607065000790", "name": "\u0428\u043E\u043A M\u0026M`s \u0441 \u0430\u0440\u0430\u0445\u0438\u0441\u043E\u043C 45\u0433", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4860019001414", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u0440\u0436\u043E\u043C\u0438 0,75\u043B \u041F\u042D\u0422", "price" : 165.00, "quantity" : 2.000, "sum" : 330.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" : 515.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:32:53]execute_script... [14: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)4437", "tax_sys" : 0, "items" : [ { "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607065000790", "name": "\u0428\u043E\u043A M\u0026M`s \u0441 \u0430\u0440\u0430\u0445\u0438\u0441\u043E\u043C 45\u0433", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4860019001414", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u0440\u0436\u043E\u043C\u0438 0,75\u043B \u041F\u042D\u0422", "price" : 165.00, "quantity" : 2.000, "sum" : 330.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" : 515.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:32:53]POST & json_proto [14:32:53]process_json_proto [14:32:53]json parsed OK: [14:32:53]protocol is kg_v1.0 [14:32:53]action value=close_receipt [14:32:53]process_action close_receipt [14:32:53]cmd_close_receipt [14:32:53]MH_GetDate [14:32:53]Write to MH i2c: F0 00 00 7F 07 75 [14:32:53]Write i2c OK [14:32:53]MH_I2C_Read... [14:32:53]Read from MH i2c: F0 [14:32:53]MH_I2C_Read... [14:32:53]Read from MH i2c: F0 09 00 [14:32:53]MH_I2C_Read... [14:32:53]Read from MH i2c: F0 09 00 7F 07 00 16 77 60 66 42 69 5C 66 3E [14:32:53]GetLastDocTimeStamp 1717597887 [14:32:53]current date 1717597974 [14:32:53]FM_GetShiftState [14:32:53]SAM_PROTO_GetShiftState [14:32:53]wFMCommunicate request_size=4 [14:32:53]MH_SAM_APDU [14:32:53]CAPDU: 80 13 01 00 [14:32:53]Write to MH i2c: E2 08 00 80 07 80 13 01 00 00 00 00 00 04 [14:32:53]Write i2c OK [14:32:53]MH_I2C_Read... [14:32:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:32:53]Read from MH i2c: E2 [14:32:53]MH_I2C_Read... [14:32:53]Read from MH i2c: E2 0E 00 [14:32:53]MH_I2C_Read... [14:32:53]Read from MH i2c: E2 0E 00 80 07 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 A5 [14:32:53]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [14:32:53]wFMCommunicate OK [14:32:53]SAM_PROTO_GetShiftState done [14:32:53]FM_GetShiftState done [14:32:53]opened in 1717545765 [14:32:53]opened+sec_in_day 1717632165 [14:32:53]quantity*price = 11500 [14:32:53]sum+1 = 11501 [14:32:53]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4607065000790 Шок M&M`s с арахисом 45г 1.000 * 70.00 = 70.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4860019001414 Вода Боржоми 0,75л ПЭТ 2.000 * 165.00 = 330.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 515.00 НСП 1% : 4.56 НДС 12% : 54.68 Наличными: 0.00 Безнал.: 515.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 42 05.06.2024 14:32 Смена: 84 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 Платежная система: Бакай Банк ФМ: 0000000000959360 ФД: 4184 ФПД: 139154759836305 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T143254&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4184&fm=139154759836305&tin=02508201610067®Number=0000000000145775&sum=51500 0 [14:32:54]StoreToDocumentArchive [14:32:54]shift 84 fd 4184 [14:32:54]save to /storage/0084/doc_00004184 [14:32:54]save last doc name /storage/0084/doc_00004184 to /storage/kkm_last_doc_name [14:32:54]save OK [14:32:54]Clear old archive folders... [14:32:54]ProcessDocumentItem done err = 0, tmpTLVsize=498 [14:32:54]tlvbuf is 01348180 [14:32:54]SAM_PROTO_ClearQueue [14:32:54]wFMCommunicate request_size=4 [14:32:54]MH_SAM_APDU [14:32:54]CAPDU: 80 09 00 00 [14:32:54]Write to MH i2c: E2 08 00 8D 07 80 09 00 00 00 00 00 00 06 [14:32:54]Write i2c OK [14:32:54]MH_I2C_Read... [14:32:54]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:32:54]Read from MH i2c: E2 [14:32:54]MH_I2C_Read... [14:32:54]Read from MH i2c: E2 03 00 [14:32:54]MH_I2C_Read... [14:32:54]Read from MH i2c: E2 03 00 8D 07 00 90 00 08 [14:32:54]RAPDU: 90 00 [14:32:54]wFMCommunicate OK [14:32:54]SAM_PROTO_ClearQueue done [14:32:54]KKMCreateOFDPacket [14:32:54]OFDProtocolAddRootSTLVToBuf [14:32:54]FM_MakeSignedData [14:32:54]FM_MakeSignedData [14:32:54]SAM_PROTO_SignData [14:32:54]wFMCommunicate request_size=4 [14:32:54]MH_SAM_APDU [14:32:54]CAPDU: 80 0D 01 02 [14:32:54]Write to MH i2c: E2 08 00 8E 07 80 0D 01 02 00 00 00 00 0E [14:32:54]Write i2c OK [14:32:54]MH_I2C_Read... [14:32:54]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:32:54]Read from MH i2c: E2 [14:32:54]MH_I2C_Read... [14:32:54]Read from MH i2c: E2 03 00 [14:32:54]MH_I2C_Read... [14:32:54]Read from MH i2c: E2 03 00 8E 07 00 90 00 09 [14:32:54]RAPDU: 90 00 [14:32:54]wFMCommunicate OK [14:32:54]wFMCommunicate request_size=255 [14:32:54]MH_SAM_APDU [14:32:54]CAPDU: 80 0D 02 02 FA 03 00 F2 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 69 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 30 37 39 30 06 04 25 00 D0 A8 D0 BE D0 BA 20 4D 26 4D 60 73 20 D1 81 20 D0 B0 D1 80 D0 B0 D1 85 D0 B8 D1 81 D0 BE D0 BC 20 34 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 69 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 34 31 34 06 [14:32:54]Write to MH i2c: E2 02 01 8F 07 80 0D 02 02 FA 00 03 00 F2 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 69 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 30 37 39 30 06 04 25 00 D0 A8 D0 BE D0 BA 20 4D 26 4D 60 73 20 D1 81 20 D0 B0 D1 80 D0 B0 D1 85 D0 B8 D1 81 D0 BE D0 BC 20 34 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 69 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 34 31 34 06 00 00 27 [14:32:54]OFD Sender: No OFD packet to send [14:32:54]Write i2c OK [14:32:54]MH_I2C_Read... [14:32:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:32:54]Read from MH i2c: E2 [14:32:54]MH_I2C_Read... [14:32:54]Read from MH i2c: E2 03 00 [14:32:54]MH_I2C_Read... [14:32:54]Read from MH i2c: E2 03 00 8F 07 00 90 00 0A [14:32:54]RAPDU: 90 00 [14:32:54]wFMCommunicate OK [14:32:54]wFMCommunicate request_size=255 [14:32:54]MH_SAM_APDU [14:32:54]CAPDU: 80 0D 02 02 FA 04 25 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D1 80 D0 B6 D0 BE D0 BC D0 B8 20 30 2C 37 35 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 74 40 00 00 00 00 13 04 06 00 E8 80 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C C9 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C8 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5C 15 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 2C C9 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 16 77 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 58 10 00 00 35 04 06 00 7E 8F 7E 07 [14:32:54]Write to MH i2c: E2 02 01 90 07 80 0D 02 02 FA 00 04 25 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D1 80 D0 B6 D0 BE D0 BC D0 B8 20 30 2C 37 35 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 74 40 00 00 00 00 13 04 06 00 E8 80 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C C9 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C8 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5C 15 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 2C C9 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 16 77 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 58 10 00 00 35 04 06 00 7E 8F 7E 07 00 00 E3 [14:32:54]Write i2c OK [14:32:54]MH_I2C_Read... [14:32:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:32:55]Read from MH i2c: E2 [14:32:55]MH_I2C_Read... [14:32:55]Read from MH i2c: E2 03 00 [14:32:55]MH_I2C_Read... [14:32:55]Read from MH i2c: E2 03 00 90 07 00 90 00 0B [14:32:55]RAPDU: 90 00 [14:32:55]wFMCommunicate OK [14:32:55]wFMCommunicate request_size=7 [14:32:55]MH_SAM_APDU [14:32:55]CAPDU: 80 0D 02 02 02 62 91 [14:32:55]Write to MH i2c: E2 0A 00 91 07 80 0D 02 02 02 00 62 91 00 00 09 [14:32:55]Write i2c OK [14:32:55]MH_I2C_Read... [14:32:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:32:55]Read from MH i2c: E2 [14:32:55]MH_I2C_Read... [14:32:55]Read from MH i2c: E2 03 00 [14:32:55]MH_I2C_Read... [14:32:55]Read from MH i2c: E2 03 00 91 07 00 90 00 0C [14:32:55]RAPDU: 90 00 [14:32:55]wFMCommunicate OK [14:32:55]wFMCommunicate request_size=4 [14:32:55]MH_SAM_APDU [14:32:55]CAPDU: 80 0D 03 02 [14:32:55]Write to MH i2c: E2 08 00 92 07 80 0D 03 02 00 00 00 00 14 [14:32:55]Write i2c OK [14:32:55]MH_I2C_Read... [14:32:55]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:32:55]Read from MH i2c: E2 [14:32:55]MH_I2C_Read... [14:32:55]Read from MH i2c: E2 0B 00 [14:32:55]MH_I2C_Read... [14:32:55]Read from MH i2c: E2 0B 00 92 07 00 98 2A 91 9B 32 4B D5 55 90 00 AA [14:32:55]RAPDU: 98 2A 91 9B 32 4B D5 55 90 00 [14:32:55]wFMCommunicate OK [14:32:55]SAM_PROTO_SignData done [14:32:55]FM_MakeSignedData done [14:32:55]CreateOFDProtocolMessage [14:32:55]wFMCommunicate request_size=4 [14:32:55]MH_SAM_APDU [14:32:55]CAPDU: 80 11 00 00 [14:32:55]Write to MH i2c: E2 08 00 93 07 80 11 00 00 00 00 00 00 14 [14:32:55]Write i2c OK [14:32:55]MH_I2C_Read... [14:32:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:32:55]Read from MH i2c: E2 [14:32:55]MH_I2C_Read... [14:32:55]Read from MH i2c: E2 17 00 [14:32:55]MH_I2C_Read... [14:32:55]Read from MH i2c: E2 17 00 93 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 67 [14:32:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [14:32:55]wFMCommunicate OK [14:32:55]CreateOFDProtocolMessage done [14:32:55]OFDSenderStorePacket 4184 [14:32:55]StoreOFDPacket docnum=4184 [14:32:55]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 06 02 00 00 BA 68 FE 01 AA EC 5A 03 01 00 03 00 F2 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 69 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 30 37 39 30 06 04 25 00 D0 A8 D0 BE D0 BA 20 4D 26 4D 60 73 20 D1 81 20 D0 B0 D1 80 D0 B0 D1 85 D0 B8 D1 81 D0 BE D0 BC 20 34 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 69 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 34 31 34 06 04 25 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D1 80 D0 B6 D0 BE D0 BC D0 B8 20 30 2C 37 35 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 74 40 00 00 00 00 13 04 06 00 E8 80 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C C9 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C8 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5C 15 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 2C C9 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 16 77 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 58 10 00 00 35 04 06 00 7E 8F 7E 07 62 91 98 2A 91 9B 32 4B D5 55 [14:32:55]CheckFolder [14:32:55]dirname=/storage/ofd_packets [14:32:55]CheckFolder done [14:32:55]ProducePacketName [14:32:55]name=ofd_packets/00004184 [14:32:55]NVStorageSaveData ofd_packets/00004184 [14:32:55]File name is /storage/ofd_packets/00004184 [14:32:55]Write 548 bytes [14:32:55]NVStorageSaveData done [14:32:55]OFDSenderStorePacket done [14:32:55]KKMCreateOFDPacket done [14:32:55]NVStorageSaveData kkm_last_timestamp [14:32:55]File name is /storage/kkm_last_timestamp [14:32:55]Write 4 bytes [14:32:55]NVStorageSaveData done [14:32:55]ExternCall_PrintAddStr [14:32:55]wPrintStart [14:32:55]Write to MH i2c: 01 00 00 94 07 9B [14:32:55]Write i2c OK [14:32:55]MH_I2C_Read... [14:32:55]Read from MH i2c: 01 [14:32:55]MH_I2C_Read... [14:32:55]Read from MH i2c: 01 07 00 [14:32:55]MH_I2C_Read... [14:32:55]Read from MH i2c: 01 07 00 94 07 00 00 00 00 00 FF 0F B0 [14:32:55]RasterBufferAndPrint [14:32:55]line Счет N : (3)4437 [14:32:55]line ИНН: 02508201610067 [14:32:55]line Контрольно-Кассовый Чек [14:32:55]line ПРОДАЖА [14:32:55]line Товар: 2000036210013 [14:32:55]line Кофе Капучино (GABB TRADE) [14:32:55]line 1.000 * 115.00 [14:32:55]line = 115.00 [14:32:55]line НДС 12% НСП 1% [14:32:55]line > о реализуемом товаре [14:32:55]line Товар: 4607065000790 [14:32:55]line Шок M&M`s с арахисом 45г [14:32:55]line 1.000 * 70.00 [14:32:55]line = 70.00 [14:32:55]line НДС 12% НСП 1% [14:32:55]line > о реализуемом товаре [14:32:55]line Товар: 4860019001414 [14:32:55]line Вода Боржоми 0,75л ПЭТ [14:32:55]line 2.000 * 165.00 [14:32:55]line = 330.00 [14:32:55]line НДС 12% НСП 1% [14:32:55]line > о реализуемом товаре [14:32:55]line ИТОГО: 515.00 [14:32:55]line НСП 1% : 4.56 [14:32:55]line НДС 12% : 54.68 [14:32:55]line Наличными: 0.00 [14:32:55]line Безнал.: 515.00 [14:32:55]line Место: АЗС № 116 "Партнер Нефть" [14:32:55]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [14:32:55]line СНО: Общий режим [14:32:55]line Чек 42 05.06.2024 14:32 [14:32:55]line Смена: 84 ФФД: 1.0 [14:32:55]line ЗНМ: 0300000233 [14:32:55]line РНМ: 0000000000145775 [14:32:55]line Версия ККМ: v1.0 [14:32:55]line Платежная система: Бакай Банк [14:32:55]line ФМ: 0000000000959360 [14:32:55]line ФД: 4184 [14:32:55]line ФПД: 139154759836305 [14:32:55]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T143254&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4184&fm=139154759836305&tin=02508201610067®Number=0000000000145775&sum=51500 [14:32:55]OFD Sender: Processing packet 4184 [packets to send 2, broken 1] [14:32:55]ProducePacketName [14:32:55]name=ofd_packets/00004184 [14:32:55]OFD Sender: To server: pG, [14:32:55]CommunicateWithHost lk.salyk.kg:30040 [14:32:55]ConnectInit lk.salyk.kg [14:32:55]line 0 [14:32:55]written 0, free lines is 4095 [14:32:55]Connected sock=10 [14:32:55]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 06 02 00 00 BA 68 FE 01 AA EC 5A 03 01 00 03 00 F2 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 69 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 30 37 39 30 06 04 25 00 D0 A8 D0 BE D0 BA 20 4D 26 4D 60 73 20 D1 81 20 D0 B0 D1 80 D0 B0 D1 85 D0 B8 D1 81 D0 BE D0 BC 20 34 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 69 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 34 31 34 06 04 25 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D1 80 D0 B6 D0 BE D0 BC D0 B8 20 30 2C 37 35 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 74 40 00 00 00 00 13 04 06 00 E8 80 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C C9 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C8 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5C 15 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 2C C9 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 16 77 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 58 10 00 00 35 04 06 00 7E 8F 7E 07 62 91 98 2A 91 9B 32 4B D5 55 [14:32:56]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 A7 2F 47 00 29 83 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 58 10 00 00 F4 03 04 00 14 23 60 66 B6 04 01 00 00 ED 56 12 79 5E DA 21 D1 [14:32:56]CommunicateWithHost err = 0 [14:32:56]CheckOFDResponse [14:32:56]1017 (14) - 77093643461234 [14:32:56]1041 (16) - 0000000000959360 [14:32:56]1040 (4) - 4184 [14:32:56]1012 (4) - 05.06.2024 08:34 [14:32:56]1206 (1) - 0 [14:32:56]OFD Sender: Remove packet 4184 [14:32:56]ProducePacketName [14:32:56]name=ofd_packets/00004184 [14:32:56]NVStorageDeleteData [14:32:56]Write to MH i2c: 01 00 00 CA 07 D1 [14:32:56]Write i2c OK [14:32:56]MH_I2C_Read... [14:32:56]Read from MH i2c: 01 [14:32:56]MH_I2C_Read... [14:32:56]Read from MH i2c: 01 07 00 [14:32:56]MH_I2C_Read... [14:32:56]Read from MH i2c: 01 07 00 CA 07 00 00 00 00 00 D8 0B BB [14:32:56]RasterBufferAndPrint [14:32:56]line [14:32:56]line [14:32:56]line [14:32:56]line [14:32:56]line [14:32:56]written 0, free lines is 3036 [14:32:56]MH_Cut [14:32:56]Write to MH i2c: D1 01 00 D1 07 01 AA [14:32:56]Write i2c OK [14:32:56]MH_I2C_Read... [14:32:56]Read from MH i2c: D1 [14:32:56]MH_I2C_Read... [14:32:56]Read from MH i2c: D1 01 00 [14:32:56]MH_I2C_Read... [14:32:56]Read from MH i2c: D1 01 00 D1 07 00 A9 [14:32:56]Write to MH i2c: 01 00 00 D2 07 D9 [14:32:56]Write i2c OK [14:32:56]MH_I2C_Read... [14:32:56]OFD Sender: No OFD packet to send [14:32:57]*** Cut start [14:32:57]*** Partial cut [14:32:57]*** CUTSNS_PIN = 1 [14:32:57]*** CUTSNS_PIN = 0 [14:32:57]*** Brake cut motor [14:32:58]Read from MH i2c: 01 [14:32:58]MH_I2C_Read... [14:32:58]*** Stop cut motor [14:32:58]*** Cut end [14:32:58]Read from MH i2c: 01 07 00 [14:32:58]MH_I2C_Read... [14:32:58]Read from MH i2c: 01 07 00 D2 07 00 00 00 00 00 FF 0F EE [14:32:58]process_action close_receipt done [14:32:58]requested_data is exist [14:32:58]produce_requested_data [14:32:58]requested_item fm.sn is exist - process it [14:32:58]wFMCommunicate request_size=4 [14:32:58]MH_SAM_APDU [14:32:58]CAPDU: 80 11 00 00 [14:32:58]Write to MH i2c: E2 08 00 D3 07 80 11 00 00 00 00 00 00 54 [14:32:58]Write i2c OK [14:32:58]MH_I2C_Read... [14:32:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:32:58]Read from MH i2c: E2 [14:32:58]MH_I2C_Read... [14:32:58]Read from MH i2c: E2 17 00 [14:32:58]MH_I2C_Read... [14:32:58]Read from MH i2c: E2 17 00 D3 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 A7 [14:32:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [14:32:58]wFMCommunicate OK [14:32:58]requested_item fd.num is exist - process it [14:32:58]SAM_PROTO_GetFieldsCounters [14:32:58]wFMCommunicate request_size=4 [14:32:58]MH_SAM_APDU [14:32:58]CAPDU: 80 13 00 00 [14:32:58]Write to MH i2c: E2 08 00 D4 07 80 13 00 00 00 00 00 00 57 [14:32:58]Write i2c OK [14:32:58]MH_I2C_Read... [14:32:58]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:32:58]Read from MH i2c: E2 [14:32:58]MH_I2C_Read... [14:32:58]Read from MH i2c: E2 62 00 [14:32:58]MH_I2C_Read... [14:32:58]Read from MH i2c: E2 62 00 D4 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 58 10 00 00 0E 04 04 00 54 00 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 B6 [14:32:58]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 58 10 00 00 0E 04 04 00 54 00 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 [14:32:58]wFMCommunicate OK [14:32:58]SAM_PROTO_GetFieldsCounters done [14:32:58]requested_item shift.num is exist - process it [14:32:58]requested_item shift.opened is exist - process it [14:32:58]req_shift_opened [14:32:58]FM_GetShiftState [14:32:58]SAM_PROTO_GetShiftState [14:32:58]wFMCommunicate request_size=4 [14:32:58]MH_SAM_APDU [14:32:58]CAPDU: 80 13 01 00 [14:32:58]Write to MH i2c: E2 08 00 D5 07 80 13 01 00 00 00 00 00 59 [14:32:58]Write i2c OK [14:32:58]MH_I2C_Read... [14:32:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:32:58]Read from MH i2c: E2 [14:32:58]MH_I2C_Read... [14:32:58]Read from MH i2c: E2 0E 00 [14:32:58]MH_I2C_Read... [14:32:58]Read from MH i2c: E2 0E 00 D5 07 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 FA [14:32:58]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [14:32:58]wFMCommunicate OK [14:32:58]SAM_PROTO_GetShiftState done [14:32:58]FM_GetShiftState done [14:32:58]req_shift_opened done [14:32:58]requested_item shift.open_date is exist - process it [14:32:58]req_shift_open_date [14:32:58]req_shift_open_date done [14:32:58]produce_requested_data done [14:32:58]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4184,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765} [14:32:58]process_action_free close_receipt [14:32:58]json_value_free [14:32:58]json_value_free done [14:32:58]process_json_proto returns [14:32:58]Send response to host [14:32:58]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4184,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765}}} [14:32:58]free response buf [14:32:58]execute_script done [14:32:58]execute_script returns [14:32:58]free content buf [14:32:58]Sock 8.Close socket [14:32:58]Sock 8.Thread stoped [14:33:01]OFD Sender: No OFD packet to send [14:33:06]OFD Sender: No OFD packet to send [14:33:11]OFD Sender: No OFD packet to send [14:33:16]OFD Sender: No OFD packet to send [14:33:21]OFD Sender: No OFD packet to send [14:33:26]OFD Sender: No OFD packet to send [14:33:31]OFD Sender: No OFD packet to send [14:33:36]OFD Sender: No OFD packet to send [14:33:41]OFD Sender: No OFD packet to send [14:33:46]OFD Sender: No OFD packet to send [14:33:51]OFD Sender: No OFD packet to send [14:33:56]OFD Sender: No OFD packet to send [14:34:01]OFD Sender: No OFD packet to send [14:34:06]OFD Sender: No OFD packet to send [14:34:11]OFD Sender: No OFD packet to send [14:34:16]OFD Sender: No OFD packet to send [14:34:21]OFD Sender: No OFD packet to send [14:34:26]OFD Sender: No OFD packet to send [14:34:31]OFD Sender: No OFD packet to send [14:34:36]OFD Sender: No OFD packet to send [14:34:41]OFD Sender: No OFD packet to send [14:34:46]OFD Sender: No OFD packet to send [14:34:51]OFD Sender: No OFD packet to send [14:34:56]OFD Sender: No OFD packet to send [14:35:01]OFD Sender: No OFD packet to send [14:35:06]OFD Sender: No OFD packet to send [14:35:11]OFD Sender: No OFD packet to send [14:35:16]OFD Sender: No OFD packet to send [14:35:21]OFD Sender: No OFD packet to send [14:35:26]OFD Sender: No OFD packet to send [14:35:31]OFD Sender: No OFD packet to send [14:35:36]OFD Sender: No OFD packet to send [14:35:41]OFD Sender: No OFD packet to send [14:35:46]OFD Sender: No OFD packet to send [14:35:51]OFD Sender: No OFD packet to send [14:35:56]OFD Sender: No OFD packet to send [14:36:01]OFD Sender: No OFD packet to send [14:36:06]OFD Sender: No OFD packet to send [14:36:11]OFD Sender: No OFD packet to send [14:36:16]OFD Sender: No OFD packet to send [14:36:21]OFD Sender: No OFD packet to send [14:36:26]OFD Sender: No OFD packet to send [14:36:31]OFD Sender: No OFD packet to send [14:36:36]OFD Sender: No OFD packet to send [14:36:41]OFD Sender: No OFD packet to send [14:36:46]OFD Sender: No OFD packet to send [14:36:51]OFD Sender: No OFD packet to send [14:36:56]OFD Sender: No OFD packet to send [14:37:01]OFD Sender: No OFD packet to send [14:37:06]OFD Sender: No OFD packet to send [14:37:11]OFD Sender: No OFD packet to send [14:37:16]OFD Sender: No OFD packet to send [14:37:21]OFD Sender: No OFD packet to send [14:37:26]OFD Sender: No OFD packet to send [14:37:31]OFD Sender: No OFD packet to send [14:37:36]OFD Sender: No OFD packet to send [14:37:41]OFD Sender: No OFD packet to send [14:37:46]OFD Sender: No OFD packet to send [14:37:51]OFD Sender: No OFD packet to send [14:37:56]OFD Sender: No OFD packet to send [14:38:01]OFD Sender: No OFD packet to send [14:38:06]OFD Sender: No OFD packet to send [14:38:11]OFD Sender: No OFD packet to send [14:38:16]OFD Sender: No OFD packet to send [14:38:21]OFD Sender: No OFD packet to send [14:38:26]OFD Sender: No OFD packet to send [14:38:31]OFD Sender: No OFD packet to send [14:38:36]OFD Sender: No OFD packet to send [14:38:37]accept exits with 9 [14:38:37]New connection [14:38:37]New thread 3066748260 created [14:38:37]Thread 3066604900 joined [14:38:37]Waiting for new connection... [14:38:37] Sock 9.Parse request [14:38:37]Sock 9.Check first char [14:38:37]Sock 9.First char is OK [14:38:37]request: POST /json_proto HTTP/1.0 [14:38:37]Method: POST [14:38:37]URL: /json_proto [14:38:37]Method is POST - this is cgi request [14:38:37]url: /json_proto [14:38:37]query_string will be loaded in cgi processing [14:38:37]execute_cgi json_proto POST (null) [14:38:37]execute_cgi path=json_proto method=POST [14:38:37]POST find Content-Length [14:38:37]Host: 172.17.56.68:8080 [14:38:37]Content-Length: 620 [14:38:37]Content-Type: application/json [14:38:37] [14:38:37]POST finish read [14:38:37]Found Content-Length = 620 [14:38:37]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4438", "tax_sys" : 0, "items" : [ { "code": "46230614", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Richmond Red Edition", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 150.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:38:37]execute_script... [14:38:37]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4438", "tax_sys" : 0, "items" : [ { "code": "46230614", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Richmond Red Edition", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 150.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:38:37]POST & json_proto [14:38:37]process_json_proto [14:38:37]json parsed OK: [14:38:37]protocol is kg_v1.0 [14:38:37]action value=close_receipt [14:38:37]process_action close_receipt [14:38:37]cmd_close_receipt [14:38:37]MH_GetDate [14:38:37]Write to MH i2c: F0 00 00 D6 07 CC [14:38:37]Write i2c OK [14:38:37]MH_I2C_Read... [14:38:37]Read from MH i2c: F0 [14:38:37]MH_I2C_Read... [14:38:37]Read from MH i2c: F0 09 00 [14:38:37]MH_I2C_Read... [14:38:37]Read from MH i2c: F0 09 00 D6 07 00 6E 78 60 66 42 69 5C 66 EE [14:38:37]GetLastDocTimeStamp 1717597974 [14:38:37]current date 1717598318 [14:38:37]FM_GetShiftState [14:38:37]SAM_PROTO_GetShiftState [14:38:37]wFMCommunicate request_size=4 [14:38:37]MH_SAM_APDU [14:38:37]CAPDU: 80 13 01 00 [14:38:37]Write to MH i2c: E2 08 00 D7 07 80 13 01 00 00 00 00 00 5B [14:38:37]Write i2c OK [14:38:37]MH_I2C_Read... [14:38:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:38:37]Read from MH i2c: E2 [14:38:37]MH_I2C_Read... [14:38:37]Read from MH i2c: E2 0E 00 [14:38:37]MH_I2C_Read... [14:38:37]Read from MH i2c: E2 0E 00 D7 07 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 FC [14:38:37]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [14:38:37]wFMCommunicate OK [14:38:37]SAM_PROTO_GetShiftState done [14:38:37]FM_GetShiftState done [14:38:37]opened in 1717545765 [14:38:37]opened+sec_in_day 1717632165 [14:38:37]quantity*price = 15000 [14:38:37]sum+1 = 15001 [14:38:37]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 150.00 НСП 1% : 1.33 НДС 12% : 15.93 Наличными: 150.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 43 05.06.2024 14:38 Смена: 84 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4185 ФПД: 79396205134679 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T143838&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4185&fm=79396205134679&tin=02508201610067®Number=0000000000145775&sum=15000 0 [14:38:38]StoreToDocumentArchive [14:38:38]shift 84 fd 4185 [14:38:38]save to /storage/0084/doc_00004185 [14:38:38]save last doc name /storage/0084/doc_00004185 to /storage/kkm_last_doc_name [14:38:38]save OK [14:38:38]Clear old archive folders... [14:38:38]ProcessDocumentItem done err = 0, tmpTLVsize=274 [14:38:38]tlvbuf is 013084E0 [14:38:38]SAM_PROTO_ClearQueue [14:38:38]wFMCommunicate request_size=4 [14:38:38]MH_SAM_APDU [14:38:38]CAPDU: 80 09 00 00 [14:38:38]Write to MH i2c: E2 08 00 E4 07 80 09 00 00 00 00 00 00 5D [14:38:38]Write i2c OK [14:38:38]MH_I2C_Read... [14:38:38]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:38:38]Read from MH i2c: E2 [14:38:38]MH_I2C_Read... [14:38:38]Read from MH i2c: E2 03 00 [14:38:38]MH_I2C_Read... [14:38:38]Read from MH i2c: E2 03 00 E4 07 00 90 00 5F [14:38:38]RAPDU: 90 00 [14:38:38]wFMCommunicate OK [14:38:38]SAM_PROTO_ClearQueue done [14:38:38]KKMCreateOFDPacket [14:38:38]OFDProtocolAddRootSTLVToBuf [14:38:38]FM_MakeSignedData [14:38:38]FM_MakeSignedData [14:38:38]SAM_PROTO_SignData [14:38:38]wFMCommunicate request_size=4 [14:38:38]MH_SAM_APDU [14:38:38]CAPDU: 80 0D 01 02 [14:38:38]Write to MH i2c: E2 08 00 E5 07 80 0D 01 02 00 00 00 00 65 [14:38:38]Write i2c OK [14:38:38]MH_I2C_Read... [14:38:38]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:38:38]Read from MH i2c: E2 [14:38:38]MH_I2C_Read... [14:38:38]Read from MH i2c: E2 03 00 [14:38:38]MH_I2C_Read... [14:38:38]Read from MH i2c: E2 03 00 E5 07 00 90 00 60 [14:38:38]RAPDU: 90 00 [14:38:38]wFMCommunicate OK [14:38:38]wFMCommunicate request_size=255 [14:38:38]MH_SAM_APDU [14:38:38]CAPDU: 80 0D 02 02 FA 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 36 32 33 30 36 31 34 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 52 65 64 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 6E 78 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 [14:38:38]Write to MH i2c: E2 02 01 E6 07 80 0D 02 02 FA 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 36 32 33 30 36 31 34 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 52 65 64 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 6E 78 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 00 00 AC [14:38:38]Write i2c OK [14:38:38]MH_I2C_Read... [14:38:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:38:39]Read from MH i2c: E2 [14:38:39]MH_I2C_Read... [14:38:39]Read from MH i2c: E2 03 00 [14:38:39]MH_I2C_Read... [14:38:39]Read from MH i2c: E2 03 00 E6 07 00 90 00 61 [14:38:39]RAPDU: 90 00 [14:38:39]wFMCommunicate OK [14:38:39]wFMCommunicate request_size=33 [14:38:39]MH_SAM_APDU [14:38:39]CAPDU: 80 0D 02 02 1C 30 30 30 30 39 35 39 33 36 30 10 04 04 00 59 10 00 00 35 04 06 00 48 35 DE 9A 83 57 [14:38:39]Write to MH i2c: E2 24 00 E7 07 80 0D 02 02 1C 00 30 30 30 30 39 35 39 33 36 30 10 04 04 00 59 10 00 00 35 04 06 00 48 35 DE 9A 83 57 00 00 2F [14:38:39]Write i2c OK [14:38:39]MH_I2C_Read... [14:38:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:38:39]Read from MH i2c: E2 [14:38:39]MH_I2C_Read... [14:38:39]Read from MH i2c: E2 03 00 [14:38:39]MH_I2C_Read... [14:38:39]Read from MH i2c: E2 03 00 E7 07 00 90 00 62 [14:38:39]RAPDU: 90 00 [14:38:39]wFMCommunicate OK [14:38:39]wFMCommunicate request_size=4 [14:38:39]MH_SAM_APDU [14:38:39]CAPDU: 80 0D 03 02 [14:38:39]Write to MH i2c: E2 08 00 E8 07 80 0D 03 02 00 00 00 00 6A [14:38:39]Write i2c OK [14:38:39]MH_I2C_Read... [14:38:39]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:38:39]Read from MH i2c: E2 [14:38:39]MH_I2C_Read... [14:38:39]Read from MH i2c: E2 0B 00 [14:38:39]MH_I2C_Read... [14:38:39]Read from MH i2c: E2 0B 00 E8 07 00 86 A8 24 D5 DB 45 74 28 90 00 4E [14:38:39]RAPDU: 86 A8 24 D5 DB 45 74 28 90 00 [14:38:39]wFMCommunicate OK [14:38:39]SAM_PROTO_SignData done [14:38:39]FM_MakeSignedData done [14:38:39]CreateOFDProtocolMessage [14:38:39]wFMCommunicate request_size=4 [14:38:39]MH_SAM_APDU [14:38:39]CAPDU: 80 11 00 00 [14:38:39]Write to MH i2c: E2 08 00 E9 07 80 11 00 00 00 00 00 00 6A [14:38:39]Write i2c OK [14:38:39]MH_I2C_Read... [14:38:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:38:39]Read from MH i2c: E2 [14:38:39]MH_I2C_Read... [14:38:39]Read from MH i2c: E2 17 00 [14:38:39]MH_I2C_Read... [14:38:39]Read from MH i2c: E2 17 00 E9 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 BD [14:38:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [14:38:39]wFMCommunicate OK [14:38:39]CreateOFDProtocolMessage done [14:38:39]OFDSenderStorePacket 4185 [14:38:39]StoreOFDPacket docnum=4185 [14:38:39]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 26 01 00 00 39 D5 1E 01 35 E7 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 36 32 33 30 36 31 34 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 52 65 64 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 6E 78 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 59 10 00 00 35 04 06 00 48 35 DE 9A 83 57 86 A8 24 D5 DB 45 74 28 [14:38:39]CheckFolder [14:38:39]dirname=/storage/ofd_packets [14:38:39]CheckFolder done [14:38:39]ProducePacketName [14:38:39]name=ofd_packets/00004185 [14:38:39]NVStorageSaveData ofd_packets/00004185 [14:38:39]File name is /storage/ofd_packets/00004185 [14:38:39]Write 324 bytes [14:38:39]NVStorageSaveData done [14:38:39]OFDSenderStorePacket done [14:38:39]KKMCreateOFDPacket done [14:38:39]NVStorageSaveData kkm_last_timestamp [14:38:39]File name is /storage/kkm_last_timestamp [14:38:39]Write 4 bytes [14:38:39]NVStorageSaveData done [14:38:39]ExternCall_PrintAddStr [14:38:39]wPrintStart [14:38:39]Write to MH i2c: 01 00 00 EA 07 F1 [14:38:39]Write i2c OK [14:38:39]MH_I2C_Read... [14:38:39]Read from MH i2c: 01 [14:38:39]MH_I2C_Read... [14:38:39]Read from MH i2c: 01 07 00 [14:38:39]MH_I2C_Read... [14:38:39]Read from MH i2c: 01 07 00 EA 07 00 00 00 00 00 FF 0F 06 [14:38:39]RasterBufferAndPrint [14:38:39]line Счет N : (3)4438 [14:38:39]line ИНН: 02508201610067 [14:38:39]line Контрольно-Кассовый Чек [14:38:39]line ПРОДАЖА [14:38:39]line Товар: 46230614 [14:38:39]line Сигареты Richmond Red Edition [14:38:39]line 1.000 * 150.00 [14:38:39]line = 150.00 [14:38:39]line НДС 12% НСП 1% [14:38:39]line > о реализуемом товаре [14:38:39]line ИТОГО: 150.00 [14:38:39]line НСП 1% : 1.33 [14:38:39]line НДС 12% : 15.93 [14:38:39]line Наличными: 150.00 [14:38:39]line Безнал.: 0.00 [14:38:39]line Место: АЗС № 116 "Партнер Нефть" [14:38:39]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [14:38:39]line СНО: Общий режим [14:38:39]line Чек 43 05.06.2024 14:38 [14:38:39]line Смена: 84 ФФД: 1.0 [14:38:39]line ЗНМ: 0300000233 [14:38:39]line РНМ: 0000000000145775 [14:38:39]line Версия ККМ: v1.0 [14:38:39]line ФМ: 0000000000959360 [14:38:39]line ФД: 4185 [14:38:39]line ФПД: 79396205134679 [14:38:39]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T143838&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4185&fm=79396205134679&tin=02508201610067®Number=0000000000145775&sum=15000 [14:38:39]line 0 [14:38:39]OFD Sender: Processing packet 4185 [packets to send 2, broken 1] [14:38:39]ProducePacketName [14:38:39]name=ofd_packets/00004185 [14:38:39]OFD Sender: To server: pG, [14:38:39]CommunicateWithHost lk.salyk.kg:30040 [14:38:39]ConnectInit lk.salyk.kg [14:38:39]written 0, free lines is 4095 [14:38:39]Connected sock=10 [14:38:39]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 26 01 00 00 39 D5 1E 01 35 E7 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 36 32 33 30 36 31 34 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 52 65 64 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 6E 78 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 59 10 00 00 35 04 06 00 48 35 DE 9A 83 57 86 A8 24 D5 DB 45 74 28 [14:38:40]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 C5 53 47 00 97 50 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 59 10 00 00 F4 03 04 00 6C 24 60 66 B6 04 01 00 00 CA 03 C3 FD DA 00 12 CA [14:38:40]CommunicateWithHost err = 0 [14:38:40]CheckOFDResponse [14:38:40]1017 (14) - 77093643461234 [14:38:40]1041 (16) - 0000000000959360 [14:38:40]1040 (4) - 4185 [14:38:40]1012 (4) - 05.06.2024 08:40 [14:38:40]1206 (1) - 0 [14:38:40]OFD Sender: Remove packet 4185 [14:38:40]ProducePacketName [14:38:40]name=ofd_packets/00004185 [14:38:40]NVStorageDeleteData [14:38:40]Write to MH i2c: 01 00 00 13 08 1B [14:38:40]Write i2c OK [14:38:40]MH_I2C_Read... [14:38:40]Read from MH i2c: 01 [14:38:40]MH_I2C_Read... [14:38:40]Read from MH i2c: 01 07 00 [14:38:40]MH_I2C_Read... [14:38:40]Read from MH i2c: 01 07 00 13 08 00 00 00 00 00 B4 0C E2 [14:38:40]RasterBufferAndPrint [14:38:40]line [14:38:40]line [14:38:40]line [14:38:40]line [14:38:40]line [14:38:40]written 0, free lines is 3257 [14:38:40]MH_Cut [14:38:40]Write to MH i2c: D1 01 00 1A 08 01 F4 [14:38:40]Write i2c OK [14:38:40]MH_I2C_Read... [14:38:40]Read from MH i2c: D1 [14:38:40]MH_I2C_Read... [14:38:40]Read from MH i2c: D1 01 00 [14:38:40]MH_I2C_Read... [14:38:40]Read from MH i2c: D1 01 00 1A 08 00 F3 [14:38:40]Write to MH i2c: 01 00 00 1B 08 23 [14:38:40]Write i2c OK [14:38:40]MH_I2C_Read... [14:38:40]OFD Sender: No OFD packet to send [14:38:41]*** Cut start [14:38:41]*** Partial cut [14:38:41]*** CUTSNS_PIN = 1 [14:38:41]*** CUTSNS_PIN = 0 [14:38:41]*** Brake cut motor [14:38:41]Read from MH i2c: 01 [14:38:41]MH_I2C_Read... [14:38:41]*** Stop cut motor [14:38:41]*** Cut end [14:38:41]Read from MH i2c: 01 07 00 [14:38:41]MH_I2C_Read... [14:38:41]Read from MH i2c: 01 07 00 1B 08 00 00 00 00 00 FF 0F 38 [14:38:41]process_action close_receipt done [14:38:41]requested_data is exist [14:38:41]produce_requested_data [14:38:41]requested_item fm.sn is exist - process it [14:38:41]wFMCommunicate request_size=4 [14:38:41]MH_SAM_APDU [14:38:41]CAPDU: 80 11 00 00 [14:38:41]Write to MH i2c: E2 08 00 1C 08 80 11 00 00 00 00 00 00 9E [14:38:41]Write i2c OK [14:38:41]MH_I2C_Read... [14:38:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:38:41]Read from MH i2c: E2 [14:38:41]MH_I2C_Read... [14:38:41]Read from MH i2c: E2 17 00 [14:38:41]MH_I2C_Read... [14:38:41]Read from MH i2c: E2 17 00 1C 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 F1 [14:38:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [14:38:41]wFMCommunicate OK [14:38:41]requested_item fd.num is exist - process it [14:38:41]SAM_PROTO_GetFieldsCounters [14:38:41]wFMCommunicate request_size=4 [14:38:41]MH_SAM_APDU [14:38:41]CAPDU: 80 13 00 00 [14:38:41]Write to MH i2c: E2 08 00 1D 08 80 13 00 00 00 00 00 00 A1 [14:38:41]Write i2c OK [14:38:41]MH_I2C_Read... [14:38:41]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:38:41]Read from MH i2c: E2 [14:38:41]MH_I2C_Read... [14:38:41]Read from MH i2c: E2 62 00 [14:38:41]MH_I2C_Read... [14:38:41]Read from MH i2c: E2 62 00 1D 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 59 10 00 00 0E 04 04 00 54 00 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 04 [14:38:41]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 59 10 00 00 0E 04 04 00 54 00 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 [14:38:41]wFMCommunicate OK [14:38:41]SAM_PROTO_GetFieldsCounters done [14:38:41]requested_item shift.num is exist - process it [14:38:41]requested_item shift.opened is exist - process it [14:38:41]req_shift_opened [14:38:41]FM_GetShiftState [14:38:41]SAM_PROTO_GetShiftState [14:38:41]wFMCommunicate request_size=4 [14:38:41]MH_SAM_APDU [14:38:41]CAPDU: 80 13 01 00 [14:38:41]Write to MH i2c: E2 08 00 1E 08 80 13 01 00 00 00 00 00 A3 [14:38:41]Write i2c OK [14:38:41]MH_I2C_Read... [14:38:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:38:41]Read from MH i2c: E2 [14:38:41]MH_I2C_Read... [14:38:41]Read from MH i2c: E2 0E 00 [14:38:41]MH_I2C_Read... [14:38:41]Read from MH i2c: E2 0E 00 1E 08 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 44 [14:38:42]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [14:38:42]wFMCommunicate OK [14:38:42]SAM_PROTO_GetShiftState done [14:38:42]FM_GetShiftState done [14:38:42]req_shift_opened done [14:38:42]requested_item shift.open_date is exist - process it [14:38:42]req_shift_open_date [14:38:42]req_shift_open_date done [14:38:42]produce_requested_data done [14:38:42]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4185,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765} [14:38:42]process_action_free close_receipt [14:38:42]json_value_free [14:38:42]json_value_free done [14:38:42]process_json_proto returns [14:38:42]Send response to host [14:38:42]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4185,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765}}} [14:38:42]free response buf [14:38:42]execute_script done [14:38:42]execute_script returns [14:38:42]free content buf [14:38:42]Sock 9.Close socket [14:38:42]Sock 9.Thread stoped [14:38:45]OFD Sender: No OFD packet to send [14:38:50]OFD Sender: No OFD packet to send [14:38:55]OFD Sender: No OFD packet to send [14:39:00]OFD Sender: No OFD packet to send [14:39:05]OFD Sender: No OFD packet to send [14:39:10]OFD Sender: No OFD packet to send [14:39:15]OFD Sender: No OFD packet to send [14:39:19]accept exits with 8 [14:39:19]New connection [14:39:19]New thread 3066604900 created [14:39:19]Thread 3066748260 joined [14:39:19]Waiting for new connection... [14:39:19] Sock 8.Parse request [14:39:19]Sock 8.Check first char [14:39:19]Sock 8.First char is OK [14:39:19]request: POST /json_proto HTTP/1.0 [14:39:19]Method: POST [14:39:19]URL: /json_proto [14:39:19]Method is POST - this is cgi request [14:39:19]url: /json_proto [14:39:19]query_string will be loaded in cgi processing [14:39:19]execute_cgi json_proto POST (null) [14:39:19]execute_cgi path=json_proto method=POST [14:39:19]POST find Content-Length [14:39:19]Host: 172.17.56.68:8080 [14:39:19]Content-Length: 645 [14:39:19]Content-Type: application/json [14:39:19] [14:39:19]POST finish read [14:39:19]Found Content-Length = 645 [14:39:19]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4439", "tax_sys" : 0, "items" : [ { "code": "4620017453130", "name": "\u0422\u0430\u0440\u0430\u043B\u043B\u0438\u043D\u0438 NF 180\u0433 \u043A\u043B\u0430\u0441", "price" : 80.00, "quantity" : 1.000, "sum" : 80.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 80.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:39:19]execute_script... [14:39:19]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4439", "tax_sys" : 0, "items" : [ { "code": "4620017453130", "name": "\u0422\u0430\u0440\u0430\u043B\u043B\u0438\u043D\u0438 NF 180\u0433 \u043A\u043B\u0430\u0441", "price" : 80.00, "quantity" : 1.000, "sum" : 80.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 80.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:39:19]POST & json_proto [14:39:19]process_json_proto [14:39:19]json parsed OK: [14:39:19]protocol is kg_v1.0 [14:39:19]action value=close_receipt [14:39:19]process_action close_receipt [14:39:19]cmd_close_receipt [14:39:19]MH_GetDate [14:39:19]Write to MH i2c: F0 00 00 1F 08 16 [14:39:19]Write i2c OK [14:39:19]MH_I2C_Read... [14:39:19]Read from MH i2c: F0 [14:39:19]MH_I2C_Read... [14:39:19]Read from MH i2c: F0 09 00 [14:39:19]MH_I2C_Read... [14:39:19]Read from MH i2c: F0 09 00 1F 08 00 98 78 60 66 42 69 5C 66 62 [14:39:19]GetLastDocTimeStamp 1717598318 [14:39:19]current date 1717598360 [14:39:19]FM_GetShiftState [14:39:19]SAM_PROTO_GetShiftState [14:39:19]wFMCommunicate request_size=4 [14:39:19]MH_SAM_APDU [14:39:19]CAPDU: 80 13 01 00 [14:39:19]Write to MH i2c: E2 08 00 20 08 80 13 01 00 00 00 00 00 A5 [14:39:19]Write i2c OK [14:39:19]MH_I2C_Read... [14:39:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:39:19]Read from MH i2c: E2 [14:39:19]MH_I2C_Read... [14:39:19]Read from MH i2c: E2 0E 00 [14:39:19]MH_I2C_Read... [14:39:19]Read from MH i2c: E2 0E 00 20 08 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 46 [14:39:19]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [14:39:19]wFMCommunicate OK [14:39:19]SAM_PROTO_GetShiftState done [14:39:19]FM_GetShiftState done [14:39:19]opened in 1717545765 [14:39:19]opened+sec_in_day 1717632165 [14:39:19]quantity*price = 8000 [14:39:19]sum+1 = 8001 [14:39:19]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 80.00 НСП 1% : 0.71 НДС 12% : 8.50 Наличными: 80.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 44 05.06.2024 14:39 Смена: 84 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4186 ФПД: 242075971457368 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T143920&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4186&fm=242075971457368&tin=02508201610067®Number=0000000000145775&sum=8000 0 [14:39:20]StoreToDocumentArchive [14:39:20]shift 84 fd 4186 [14:39:20]save to /storage/0084/doc_00004186 [14:39:20]save last doc name /storage/0084/doc_00004186 to /storage/kkm_last_doc_name [14:39:20]save OK [14:39:20]Clear old archive folders... [14:39:20]ProcessDocumentItem done err = 0, tmpTLVsize=278 [14:39:20]tlvbuf is 013126A0 [14:39:20]SAM_PROTO_ClearQueue [14:39:20]wFMCommunicate request_size=4 [14:39:20]MH_SAM_APDU [14:39:20]CAPDU: 80 09 00 00 [14:39:20]Write to MH i2c: E2 08 00 2D 08 80 09 00 00 00 00 00 00 A7 [14:39:20]Write i2c OK [14:39:20]MH_I2C_Read... [14:39:20]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:39:20]Read from MH i2c: E2 [14:39:20]MH_I2C_Read... [14:39:20]Read from MH i2c: E2 03 00 [14:39:20]MH_I2C_Read... [14:39:20]Read from MH i2c: E2 03 00 2D 08 00 90 00 A9 [14:39:20]RAPDU: 90 00 [14:39:20]wFMCommunicate OK [14:39:20]SAM_PROTO_ClearQueue done [14:39:20]KKMCreateOFDPacket [14:39:20]OFDProtocolAddRootSTLVToBuf [14:39:20]FM_MakeSignedData [14:39:20]FM_MakeSignedData [14:39:20]SAM_PROTO_SignData [14:39:20]wFMCommunicate request_size=4 [14:39:20]MH_SAM_APDU [14:39:20]CAPDU: 80 0D 01 02 [14:39:20]Write to MH i2c: E2 08 00 2E 08 80 0D 01 02 00 00 00 00 AF [14:39:20]Write i2c OK [14:39:20]MH_I2C_Read... [14:39:20]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:39:20]Read from MH i2c: E2 [14:39:20]MH_I2C_Read... [14:39:20]Read from MH i2c: E2 03 00 [14:39:20]MH_I2C_Read... [14:39:20]Read from MH i2c: E2 03 00 2E 08 00 90 00 AA [14:39:20]RAPDU: 90 00 [14:39:20]wFMCommunicate OK [14:39:20]wFMCommunicate request_size=255 [14:39:20]MH_SAM_APDU [14:39:20]CAPDU: 80 0D 02 02 FA 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 36 32 30 30 31 37 34 35 33 31 33 30 06 04 24 00 D0 A2 D0 B0 D1 80 D0 B0 D0 BB D0 BB D0 B8 D0 BD D0 B8 20 4E 46 20 31 38 30 D0 B3 20 D0 BA D0 BB D0 B0 D1 81 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 03 00 00 00 00 07 04 06 00 40 1F 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 98 78 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 [14:39:20]Write to MH i2c: E2 02 01 2F 08 80 0D 02 02 FA 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 36 32 30 30 31 37 34 35 33 31 33 30 06 04 24 00 D0 A2 D0 B0 D1 80 D0 B0 D0 BB D0 BB D0 B8 D0 BD D0 B8 20 4E 46 20 31 38 30 D0 B3 20 D0 BA D0 BB D0 B0 D1 81 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 03 00 00 00 00 07 04 06 00 40 1F 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 98 78 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 00 00 E4 [14:39:20]Write i2c OK [14:39:20]MH_I2C_Read... [14:39:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:39:21]Read from MH i2c: E2 [14:39:21]MH_I2C_Read... [14:39:21]Read from MH i2c: E2 03 00 [14:39:21]MH_I2C_Read... [14:39:21]Read from MH i2c: E2 03 00 2F 08 00 90 00 AB [14:39:21]RAPDU: 90 00 [14:39:21]wFMCommunicate OK [14:39:21]wFMCommunicate request_size=37 [14:39:21]MH_SAM_APDU [14:39:21]CAPDU: 80 0D 02 02 20 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 5A 10 00 00 35 04 06 00 DC 2A B4 49 91 58 [14:39:21]Write to MH i2c: E2 28 00 30 08 80 0D 02 02 20 00 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 5A 10 00 00 35 04 06 00 DC 2A B4 49 91 58 00 00 5F [14:39:21]Write i2c OK [14:39:21]MH_I2C_Read... [14:39:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:39:21]Read from MH i2c: E2 [14:39:21]MH_I2C_Read... [14:39:21]Read from MH i2c: E2 03 00 [14:39:21]MH_I2C_Read... [14:39:21]Read from MH i2c: E2 03 00 30 08 00 90 00 AC [14:39:21]RAPDU: 90 00 [14:39:21]wFMCommunicate OK [14:39:21]wFMCommunicate request_size=4 [14:39:21]MH_SAM_APDU [14:39:21]CAPDU: 80 0D 03 02 [14:39:21]Write to MH i2c: E2 08 00 31 08 80 0D 03 02 00 00 00 00 B4 [14:39:21]Write i2c OK [14:39:21]MH_I2C_Read... [14:39:21]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:39:21]Read from MH i2c: E2 [14:39:21]MH_I2C_Read... [14:39:21]Read from MH i2c: E2 0B 00 [14:39:21]MH_I2C_Read... [14:39:21]Read from MH i2c: E2 0B 00 31 08 00 C0 85 F3 4F 75 B2 94 CB 90 00 C2 [14:39:21]RAPDU: C0 85 F3 4F 75 B2 94 CB 90 00 [14:39:21]wFMCommunicate OK [14:39:21]SAM_PROTO_SignData done [14:39:21]FM_MakeSignedData done [14:39:21]CreateOFDProtocolMessage [14:39:21]wFMCommunicate request_size=4 [14:39:21]MH_SAM_APDU [14:39:21]CAPDU: 80 11 00 00 [14:39:21]Write to MH i2c: E2 08 00 32 08 80 11 00 00 00 00 00 00 B4 [14:39:21]Write i2c OK [14:39:21]MH_I2C_Read... [14:39:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:39:21]Read from MH i2c: E2 [14:39:21]MH_I2C_Read... [14:39:21]Read from MH i2c: E2 17 00 [14:39:21]MH_I2C_Read... [14:39:21]Read from MH i2c: E2 17 00 32 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 07 [14:39:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [14:39:21]wFMCommunicate OK [14:39:21]CreateOFDProtocolMessage done [14:39:21]OFDSenderStorePacket 4186 [14:39:21]StoreOFDPacket docnum=4186 [14:39:21]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 2A 01 00 00 B7 83 22 01 D9 7B 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 36 32 30 30 31 37 34 35 33 31 33 30 06 04 24 00 D0 A2 D0 B0 D1 80 D0 B0 D0 BB D0 BB D0 B8 D0 BD D0 B8 20 4E 46 20 31 38 30 D0 B3 20 D0 BA D0 BB D0 B0 D1 81 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 03 00 00 00 00 07 04 06 00 40 1F 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 98 78 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 5A 10 00 00 35 04 06 00 DC 2A B4 49 91 58 C0 85 F3 4F 75 B2 94 CB [14:39:21]CheckFolder [14:39:21]dirname=/storage/ofd_packets [14:39:21]CheckFolder done [14:39:21]ProducePacketName [14:39:21]name=ofd_packets/00004186 [14:39:21]NVStorageSaveData ofd_packets/00004186 [14:39:21]File name is /storage/ofd_packets/00004186 [14:39:21]Write 328 bytes [14:39:21]NVStorageSaveData done [14:39:21]OFDSenderStorePacket done [14:39:21]KKMCreateOFDPacket done [14:39:21]NVStorageSaveData kkm_last_timestamp [14:39:21]File name is /storage/kkm_last_timestamp [14:39:21]Write 4 bytes [14:39:21]NVStorageSaveData done [14:39:21]ExternCall_PrintAddStr [14:39:21]wPrintStart [14:39:21]Write to MH i2c: 01 00 00 33 08 3B [14:39:21]Write i2c OK [14:39:21]MH_I2C_Read... [14:39:21]Read from MH i2c: 01 [14:39:21]MH_I2C_Read... [14:39:21]Read from MH i2c: 01 07 00 [14:39:21]MH_I2C_Read... [14:39:21]Read from MH i2c: 01 07 00 33 08 00 00 00 00 00 FF 0F 50 [14:39:21]RasterBufferAndPrint [14:39:21]line Счет N : (3)4439 [14:39:21]line ИНН: 02508201610067 [14:39:21]line Контрольно-Кассовый Чек [14:39:21]line ПРОДАЖА [14:39:21]line Товар: 4620017453130 [14:39:21]line Тараллини NF 180г клас [14:39:21]line 1.000 * 80.00 [14:39:21]line = 80.00 [14:39:21]line НДС 12% НСП 1% [14:39:21]line > о реализуемом товаре [14:39:21]line ИТОГО: 80.00 [14:39:21]line НСП 1% : 0.71 [14:39:21]line НДС 12% : 8.50 [14:39:21]line Наличными: 80.00 [14:39:21]line Безнал.: 0.00 [14:39:21]line Место: АЗС № 116 "Партнер Нефть" [14:39:21]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [14:39:21]line СНО: Общий режим [14:39:21]line Чек 44 05.06.2024 14:39 [14:39:21]line Смена: 84 ФФД: 1.0 [14:39:21]line ЗНМ: 0300000233 [14:39:21]line РНМ: 0000000000145775 [14:39:21]line Версия ККМ: v1.0 [14:39:21]line ФМ: 0000000000959360 [14:39:21]line ФД: 4186 [14:39:21]line ФПД: 242075971457368 [14:39:21]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T143920&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4186&fm=242075971457368&tin=02508201610067®Number=0000000000145775&sum=8000 [14:39:21]line 0 [14:39:21]OFD Sender: Processing packet 4186 [packets to send 2, broken 1] [14:39:21]ProducePacketName [14:39:21]name=ofd_packets/00004186 [14:39:21]OFD Sender: To server: pG, [14:39:21]CommunicateWithHost lk.salyk.kg:30040 [14:39:21]ConnectInit lk.salyk.kg [14:39:21]written 0, free lines is 4095 [14:39:21]Connected sock=10 [14:39:21]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 2A 01 00 00 B7 83 22 01 D9 7B 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 36 32 30 30 31 37 34 35 33 31 33 30 06 04 24 00 D0 A2 D0 B0 D1 80 D0 B0 D0 BB D0 BB D0 B8 D0 BD D0 B8 20 4E 46 20 31 38 30 D0 B3 20 D0 BA D0 BB D0 B0 D1 81 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 03 00 00 00 00 07 04 06 00 40 1F 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 98 78 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 5A 10 00 00 35 04 06 00 DC 2A B4 49 91 58 C0 85 F3 4F 75 B2 94 CB [14:39:21]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 51 86 47 00 08 36 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 5A 10 00 00 F4 03 04 00 96 24 60 66 B6 04 01 00 00 33 A6 84 23 C4 6A B4 E8 [14:39:22]CommunicateWithHost err = 0 [14:39:22]CheckOFDResponse [14:39:22]1017 (14) - 77093643461234 [14:39:22]1041 (16) - 0000000000959360 [14:39:22]1040 (4) - 4186 [14:39:22]1012 (4) - 05.06.2024 08:40 [14:39:22]1206 (1) - 0 [14:39:22]OFD Sender: Remove packet 4186 [14:39:22]ProducePacketName [14:39:22]name=ofd_packets/00004186 [14:39:22]NVStorageDeleteData [14:39:22]Write to MH i2c: 01 00 00 5B 08 63 [14:39:22]Write i2c OK [14:39:22]MH_I2C_Read... [14:39:22]Read from MH i2c: 01 [14:39:22]MH_I2C_Read... [14:39:22]Read from MH i2c: 01 07 00 [14:39:22]MH_I2C_Read... [14:39:22]Read from MH i2c: 01 07 00 5B 08 00 00 00 00 00 C8 0C 3E [14:39:22]RasterBufferAndPrint [14:39:22]line [14:39:22]line [14:39:22]line [14:39:22]line [14:39:22]line [14:39:22]written 0, free lines is 3277 [14:39:22]MH_Cut [14:39:22]Write to MH i2c: D1 01 00 62 08 01 3C [14:39:22]Write i2c OK [14:39:22]MH_I2C_Read... [14:39:22]Read from MH i2c: D1 [14:39:22]MH_I2C_Read... [14:39:22]Read from MH i2c: D1 01 00 [14:39:22]MH_I2C_Read... [14:39:22]Read from MH i2c: D1 01 00 62 08 00 3B [14:39:22]Write to MH i2c: 01 00 00 63 08 6B [14:39:22]Write i2c OK [14:39:22]MH_I2C_Read... [14:39:22]OFD Sender: No OFD packet to send [14:39:23]*** Cut start [14:39:23]*** Partial cut [14:39:23]*** CUTSNS_PIN = 1 [14:39:23]*** CUTSNS_PIN = 0 [14:39:23]*** Brake cut motor [14:39:23]Read from MH i2c: 01 [14:39:23]MH_I2C_Read... [14:39:23]*** Stop cut motor [14:39:23]*** Cut end [14:39:23]Read from MH i2c: 01 07 00 [14:39:23]MH_I2C_Read... [14:39:23]Read from MH i2c: 01 07 00 63 08 00 00 00 00 00 FF 0F 80 [14:39:23]process_action close_receipt done [14:39:23]requested_data is exist [14:39:23]produce_requested_data [14:39:23]requested_item fm.sn is exist - process it [14:39:23]wFMCommunicate request_size=4 [14:39:23]MH_SAM_APDU [14:39:23]CAPDU: 80 11 00 00 [14:39:23]Write to MH i2c: E2 08 00 64 08 80 11 00 00 00 00 00 00 E6 [14:39:23]Write i2c OK [14:39:23]MH_I2C_Read... [14:39:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:39:23]Read from MH i2c: E2 [14:39:23]MH_I2C_Read... [14:39:23]Read from MH i2c: E2 17 00 [14:39:23]MH_I2C_Read... [14:39:23]Read from MH i2c: E2 17 00 64 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 39 [14:39:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [14:39:23]wFMCommunicate OK [14:39:23]requested_item fd.num is exist - process it [14:39:23]SAM_PROTO_GetFieldsCounters [14:39:23]wFMCommunicate request_size=4 [14:39:23]MH_SAM_APDU [14:39:23]CAPDU: 80 13 00 00 [14:39:23]Write to MH i2c: E2 08 00 65 08 80 13 00 00 00 00 00 00 E9 [14:39:23]Write i2c OK [14:39:23]MH_I2C_Read... [14:39:23]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:39:23]Read from MH i2c: E2 [14:39:23]MH_I2C_Read... [14:39:23]Read from MH i2c: E2 62 00 [14:39:23]MH_I2C_Read... [14:39:23]Read from MH i2c: E2 62 00 65 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 5A 10 00 00 0E 04 04 00 54 00 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 50 [14:39:23]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 5A 10 00 00 0E 04 04 00 54 00 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 [14:39:23]wFMCommunicate OK [14:39:23]SAM_PROTO_GetFieldsCounters done [14:39:23]requested_item shift.num is exist - process it [14:39:23]requested_item shift.opened is exist - process it [14:39:23]req_shift_opened [14:39:23]FM_GetShiftState [14:39:23]SAM_PROTO_GetShiftState [14:39:23]wFMCommunicate request_size=4 [14:39:23]MH_SAM_APDU [14:39:23]CAPDU: 80 13 01 00 [14:39:23]Write to MH i2c: E2 08 00 66 08 80 13 01 00 00 00 00 00 EB [14:39:23]Write i2c OK [14:39:23]MH_I2C_Read... [14:39:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:39:23]Read from MH i2c: E2 [14:39:23]MH_I2C_Read... [14:39:23]Read from MH i2c: E2 0E 00 [14:39:23]MH_I2C_Read... [14:39:23]Read from MH i2c: E2 0E 00 66 08 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 8C [14:39:23]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [14:39:23]wFMCommunicate OK [14:39:23]SAM_PROTO_GetShiftState done [14:39:23]FM_GetShiftState done [14:39:23]req_shift_opened done [14:39:23]requested_item shift.open_date is exist - process it [14:39:23]req_shift_open_date [14:39:23]req_shift_open_date done [14:39:23]produce_requested_data done [14:39:23]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4186,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765} [14:39:23]process_action_free close_receipt [14:39:23]json_value_free [14:39:23]json_value_free done [14:39:23]process_json_proto returns [14:39:23]Send response to host [14:39:23]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4186,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765}}} [14:39:23]free response buf [14:39:23]execute_script done [14:39:23]execute_script returns [14:39:23]free content buf [14:39:23]Sock 8.Close socket [14:39:23]Sock 8.Thread stoped [14:39:27]OFD Sender: No OFD packet to send [14:39:32]OFD Sender: No OFD packet to send [14:39:37]OFD Sender: No OFD packet to send [14:39:42]OFD Sender: No OFD packet to send [14:39:47]OFD Sender: No OFD packet to send [14:39:52]OFD Sender: No OFD packet to send [14:39:57]OFD Sender: No OFD packet to send [14:40:00]accept exits with 9 [14:40:00]New connection [14:40:00]New thread 3066748260 created [14:40:00]Thread 3066604900 joined [14:40:00]Waiting for new connection... [14:40:00] Sock 9.Parse request [14:40:00]Sock 9.Check first char [14:40:00]Sock 9.First char is OK [14:40:00]request: POST /json_proto HTTP/1.0 [14:40:00]Method: POST [14:40:00]URL: /json_proto [14:40:00]Method is POST - this is cgi request [14:40:00]url: /json_proto [14:40:00]query_string will be loaded in cgi processing [14:40:00]execute_cgi json_proto POST (null) [14:40:00]execute_cgi path=json_proto method=POST [14:40:00]POST find Content-Length [14:40:00]Host: 172.17.56.68:8080 [14:40:00]Content-Length: 626 [14:40:00]Content-Type: application/json [14:40:00] [14:40:00]POST finish read [14:40:00]Found Content-Length = 626 [14:40:00]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4440", "tax_sys" : 0, "items" : [ { "code": "48741231", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Super Slims Silver", "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" ] } } [14:40:00]execute_script... [14:40: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)4440", "tax_sys" : 0, "items" : [ { "code": "48741231", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Super Slims Silver", "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" ] } } [14:40:00]POST & json_proto [14:40:00]process_json_proto [14:40:00]json parsed OK: [14:40:00]protocol is kg_v1.0 [14:40:00]action value=close_receipt [14:40:00]process_action close_receipt [14:40:00]cmd_close_receipt [14:40:00]MH_GetDate [14:40:00]Write to MH i2c: F0 00 00 67 08 5E [14:40:00]Write i2c OK [14:40:00]MH_I2C_Read... [14:40:00]Read from MH i2c: F0 [14:40:00]MH_I2C_Read... [14:40:00]Read from MH i2c: F0 09 00 [14:40:00]MH_I2C_Read... [14:40:00]Read from MH i2c: F0 09 00 67 08 00 C1 78 60 66 42 69 5C 66 D3 [14:40:00]GetLastDocTimeStamp 1717598360 [14:40:00]current date 1717598401 [14:40:00]FM_GetShiftState [14:40:00]SAM_PROTO_GetShiftState [14:40:00]wFMCommunicate request_size=4 [14:40:00]MH_SAM_APDU [14:40:00]CAPDU: 80 13 01 00 [14:40:00]Write to MH i2c: E2 08 00 68 08 80 13 01 00 00 00 00 00 ED [14:40:00]Write i2c OK [14:40:00]MH_I2C_Read... [14:40:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:40:00]Read from MH i2c: E2 [14:40:00]MH_I2C_Read... [14:40:00]Read from MH i2c: E2 0E 00 [14:40:00]MH_I2C_Read... [14:40:00]Read from MH i2c: E2 0E 00 68 08 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 8E [14:40:00]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [14:40:00]wFMCommunicate OK [14:40:00]SAM_PROTO_GetShiftState done [14:40:00]FM_GetShiftState done [14:40:00]opened in 1717545765 [14:40:00]opened+sec_in_day 1717632165 [14:40:00]quantity*price = 13500 [14:40:00]sum+1 = 13501 [14:40:00]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 135.00 НСП 1% : 1.19 НДС 12% : 14.34 Наличными: 135.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 45 05.06.2024 14:40 Смена: 84 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4187 ФПД: 83215279113832 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T144001&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4187&fm=83215279113832&tin=02508201610067®Number=0000000000145775&sum=13500 0 [14:40:01]StoreToDocumentArchive [14:40:01]shift 84 fd 4187 [14:40:01]save to /storage/0084/doc_00004187 [14:40:01]save last doc name /storage/0084/doc_00004187 to /storage/kkm_last_doc_name [14:40:01]save OK [14:40:01]Clear old archive folders... [14:40:01]ProcessDocumentItem done err = 0, tmpTLVsize=280 [14:40:01]tlvbuf is 01319EF0 [14:40:01]SAM_PROTO_ClearQueue [14:40:01]wFMCommunicate request_size=4 [14:40:01]MH_SAM_APDU [14:40:01]CAPDU: 80 09 00 00 [14:40:01]Write to MH i2c: E2 08 00 75 08 80 09 00 00 00 00 00 00 EF [14:40:01]Write i2c OK [14:40:01]MH_I2C_Read... [14:40:01]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:40:01]Read from MH i2c: E2 [14:40:01]MH_I2C_Read... [14:40:01]Read from MH i2c: E2 03 00 [14:40:01]MH_I2C_Read... [14:40:01]Read from MH i2c: E2 03 00 75 08 00 90 00 F1 [14:40:01]RAPDU: 90 00 [14:40:01]wFMCommunicate OK [14:40:01]SAM_PROTO_ClearQueue done [14:40:01]KKMCreateOFDPacket [14:40:01]OFDProtocolAddRootSTLVToBuf [14:40:01]FM_MakeSignedData [14:40:01]FM_MakeSignedData [14:40:01]SAM_PROTO_SignData [14:40:01]wFMCommunicate request_size=4 [14:40:01]MH_SAM_APDU [14:40:01]CAPDU: 80 0D 01 02 [14:40:01]Write to MH i2c: E2 08 00 76 08 80 0D 01 02 00 00 00 00 F7 [14:40:01]Write i2c OK [14:40:01]MH_I2C_Read... [14:40:01]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:40:01]Read from MH i2c: E2 [14:40:01]MH_I2C_Read... [14:40:01]Read from MH i2c: E2 03 00 [14:40:01]MH_I2C_Read... [14:40:01]Read from MH i2c: E2 03 00 76 08 00 90 00 F2 [14:40:01]RAPDU: 90 00 [14:40:01]wFMCommunicate OK [14:40:01]wFMCommunicate request_size=255 [14:40:01]MH_SAM_APDU [14:40:01]CAPDU: 80 0D 02 02 FA 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 08 00 34 38 37 34 31 32 33 31 06 04 2B 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 53 69 6C 76 65 72 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 2D 00 00 00 F4 03 04 00 C1 78 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 [14:40:01]Write to MH i2c: E2 02 01 77 08 80 0D 02 02 FA 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 08 00 34 38 37 34 31 32 33 31 06 04 2B 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 53 69 6C 76 65 72 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 2D 00 00 00 F4 03 04 00 C1 78 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 00 00 D6 [14:40:01]Write i2c OK [14:40:01]MH_I2C_Read... [14:40:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:40:02]Read from MH i2c: E2 [14:40:02]MH_I2C_Read... [14:40:02]Read from MH i2c: E2 03 00 [14:40:02]MH_I2C_Read... [14:40:02]Read from MH i2c: E2 03 00 77 08 00 90 00 F3 [14:40:02]RAPDU: 90 00 [14:40:02]wFMCommunicate OK [14:40:02]wFMCommunicate request_size=39 [14:40:02]MH_SAM_APDU [14:40:02]CAPDU: 80 0D 02 02 22 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 5B 10 00 00 35 04 06 00 4B AF 11 26 C6 68 [14:40:02]Write to MH i2c: E2 2A 00 78 08 80 0D 02 02 22 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 5B 10 00 00 35 04 06 00 4B AF 11 26 C6 68 00 00 7F [14:40:02]Write i2c OK [14:40:02]MH_I2C_Read... [14:40:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:40:02]Read from MH i2c: E2 [14:40:02]MH_I2C_Read... [14:40:02]Read from MH i2c: E2 03 00 [14:40:02]MH_I2C_Read... [14:40:02]Read from MH i2c: E2 03 00 78 08 00 90 00 F4 [14:40:02]RAPDU: 90 00 [14:40:02]wFMCommunicate OK [14:40:02]wFMCommunicate request_size=4 [14:40:02]MH_SAM_APDU [14:40:02]CAPDU: 80 0D 03 02 [14:40:02]Write to MH i2c: E2 08 00 79 08 80 0D 03 02 00 00 00 00 FC [14:40:02]Write i2c OK [14:40:02]MH_I2C_Read... [14:40:02]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:40:02]Read from MH i2c: E2 [14:40:02]MH_I2C_Read... [14:40:02]Read from MH i2c: E2 0B 00 [14:40:02]MH_I2C_Read... [14:40:02]Read from MH i2c: E2 0B 00 79 08 00 03 26 B4 27 CF 16 F4 34 90 00 0E [14:40:02]RAPDU: 03 26 B4 27 CF 16 F4 34 90 00 [14:40:02]wFMCommunicate OK [14:40:02]SAM_PROTO_SignData done [14:40:02]FM_MakeSignedData done [14:40:02]CreateOFDProtocolMessage [14:40:02]wFMCommunicate request_size=4 [14:40:02]MH_SAM_APDU [14:40:02]CAPDU: 80 11 00 00 [14:40:02]Write to MH i2c: E2 08 00 7A 08 80 11 00 00 00 00 00 00 FC [14:40:02]Write i2c OK [14:40:02]MH_I2C_Read... [14:40:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:40:02]Read from MH i2c: E2 [14:40:02]MH_I2C_Read... [14:40:02]Read from MH i2c: E2 17 00 [14:40:02]MH_I2C_Read... [14:40:02]Read from MH i2c: E2 17 00 7A 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 4F [14:40:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [14:40:02]wFMCommunicate OK [14:40:02]CreateOFDProtocolMessage done [14:40:02]OFDSenderStorePacket 4187 [14:40:02]StoreOFDPacket docnum=4187 [14:40:02]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 2C 01 00 00 EB 1A 24 01 D1 C8 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 08 00 34 38 37 34 31 32 33 31 06 04 2B 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 53 69 6C 76 65 72 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 2D 00 00 00 F4 03 04 00 C1 78 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 5B 10 00 00 35 04 06 00 4B AF 11 26 C6 68 03 26 B4 27 CF 16 F4 34 [14:40:02]CheckFolder [14:40:02]dirname=/storage/ofd_packets [14:40:02]CheckFolder done [14:40:02]ProducePacketName [14:40:02]name=ofd_packets/00004187 [14:40:02]NVStorageSaveData ofd_packets/00004187 [14:40:02]File name is /storage/ofd_packets/00004187 [14:40:02]Write 330 bytes [14:40:02]NVStorageSaveData done [14:40:02]OFDSenderStorePacket done [14:40:02]KKMCreateOFDPacket done [14:40:02]NVStorageSaveData kkm_last_timestamp [14:40:02]File name is /storage/kkm_last_timestamp [14:40:02]Write 4 bytes [14:40:02]NVStorageSaveData done [14:40:02]ExternCall_PrintAddStr [14:40:02]wPrintStart [14:40:02]Write to MH i2c: 01 00 00 7B 08 83 [14:40:02]Write i2c OK [14:40:02]MH_I2C_Read... [14:40:02]Read from MH i2c: 01 [14:40:02]MH_I2C_Read... [14:40:02]Read from MH i2c: 01 07 00 [14:40:02]MH_I2C_Read... [14:40:02]Read from MH i2c: 01 07 00 7B 08 00 00 00 00 00 FF 0F 98 [14:40:02]RasterBufferAndPrint [14:40:02]line Счет N : (3)4440 [14:40:02]line ИНН: 02508201610067 [14:40:02]line Контрольно-Кассовый Чек [14:40:02]line ПРОДАЖА [14:40:02]line Товар: 48741231 [14:40:02]line Сигареты Winston Super Slims Silver [14:40:02]line 1.000 * 135.00 [14:40:02]line = 135.00 [14:40:02]line НДС 12% НСП 1% [14:40:02]line > о реализуемом товаре [14:40:02]line ИТОГО: 135.00 [14:40:02]line НСП 1% : 1.19 [14:40:02]line НДС 12% : 14.34 [14:40:02]line Наличными: 135.00 [14:40:02]line Безнал.: 0.00 [14:40:02]line Место: АЗС № 116 "Партнер Нефть" [14:40:02]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [14:40:02]line СНО: Общий режим [14:40:02]line Чек 45 05.06.2024 14:40 [14:40:02]line Смена: 84 ФФД: 1.0 [14:40:02]line ЗНМ: 0300000233 [14:40:02]line РНМ: 0000000000145775 [14:40:02]line Версия ККМ: v1.0 [14:40:02]line ФМ: 0000000000959360 [14:40:02]line ФД: 4187 [14:40:02]line ФПД: 83215279113832 [14:40:02]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T144001&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4187&fm=83215279113832&tin=02508201610067®Number=0000000000145775&sum=13500 [14:40:02]line 0 [14:40:02]OFD Sender: Processing packet 4187 [packets to send 2, broken 1] [14:40:02]ProducePacketName [14:40:02]name=ofd_packets/00004187 [14:40:02]OFD Sender: To server: pG, [14:40:02]CommunicateWithHost lk.salyk.kg:30040 [14:40:02]ConnectInit lk.salyk.kg [14:40:02]written 0, free lines is 4095 [14:40:02]Connected sock=10 [14:40:02]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 2C 01 00 00 EB 1A 24 01 D1 C8 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 08 00 34 38 37 34 31 32 33 31 06 04 2B 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 53 69 6C 76 65 72 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 2D 00 00 00 F4 03 04 00 C1 78 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 5B 10 00 00 35 04 06 00 4B AF 11 26 C6 68 03 26 B4 27 CF 16 F4 34 [14:40:02]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 D3 34 47 00 0D DE A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 5B 10 00 00 F4 03 04 00 BF 24 60 66 B6 04 01 00 00 45 1C C7 6D F3 3E 3E 56 [14:40:02]CommunicateWithHost err = 0 [14:40:02]CheckOFDResponse [14:40:02]1017 (14) - 77093643461234 [14:40:02]1041 (16) - 0000000000959360 [14:40:02]1040 (4) - 4187 [14:40:02]1012 (4) - 05.06.2024 08:41 [14:40:02]1206 (1) - 0 [14:40:02]OFD Sender: Remove packet 4187 [14:40:02]ProducePacketName [14:40:02]name=ofd_packets/00004187 [14:40:02]NVStorageDeleteData [14:40:03]Write to MH i2c: 01 00 00 A4 08 AC [14:40:03]Write i2c OK [14:40:03]MH_I2C_Read... [14:40:03]Read from MH i2c: 01 [14:40:03]MH_I2C_Read... [14:40:03]Read from MH i2c: 01 07 00 [14:40:03]MH_I2C_Read... [14:40:03]Read from MH i2c: 01 07 00 A4 08 00 00 00 00 00 B3 0C 72 [14:40:03]RasterBufferAndPrint [14:40:03]line [14:40:03]line [14:40:03]line [14:40:03]line [14:40:03]line [14:40:03]written 0, free lines is 3255 [14:40:03]MH_Cut [14:40:03]Write to MH i2c: D1 01 00 AB 08 01 85 [14:40:03]Write i2c OK [14:40:03]MH_I2C_Read... [14:40:03]Read from MH i2c: D1 [14:40:03]MH_I2C_Read... [14:40:03]Read from MH i2c: D1 01 00 [14:40:03]MH_I2C_Read... [14:40:03]Read from MH i2c: D1 01 00 AB 08 00 84 [14:40:03]Write to MH i2c: 01 00 00 AC 08 B4 [14:40:03]Write i2c OK [14:40:03]MH_I2C_Read... [14:40:03]OFD Sender: No OFD packet to send [14:40:04]*** Cut start [14:40:04]*** Partial cut [14:40:04]*** CUTSNS_PIN = 1 [14:40:04]*** CUTSNS_PIN = 0 [14:40:04]*** Brake cut motor [14:40:04]Read from MH i2c: 01 [14:40:04]MH_I2C_Read... [14:40:04]*** Stop cut motor [14:40:04]*** Cut end [14:40:04]Read from MH i2c: 01 07 00 [14:40:04]MH_I2C_Read... [14:40:04]Read from MH i2c: 01 07 00 AC 08 00 00 00 00 00 FF 0F C9 [14:40:04]process_action close_receipt done [14:40:04]requested_data is exist [14:40:04]produce_requested_data [14:40:04]requested_item fm.sn is exist - process it [14:40:04]wFMCommunicate request_size=4 [14:40:04]MH_SAM_APDU [14:40:04]CAPDU: 80 11 00 00 [14:40:04]Write to MH i2c: E2 08 00 AD 08 80 11 00 00 00 00 00 00 2F [14:40:04]Write i2c OK [14:40:04]MH_I2C_Read... [14:40:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:40:04]Read from MH i2c: E2 [14:40:04]MH_I2C_Read... [14:40:04]Read from MH i2c: E2 17 00 [14:40:04]MH_I2C_Read... [14:40:04]Read from MH i2c: E2 17 00 AD 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 82 [14:40:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [14:40:04]wFMCommunicate OK [14:40:04]requested_item fd.num is exist - process it [14:40:04]SAM_PROTO_GetFieldsCounters [14:40:04]wFMCommunicate request_size=4 [14:40:04]MH_SAM_APDU [14:40:04]CAPDU: 80 13 00 00 [14:40:04]Write to MH i2c: E2 08 00 AE 08 80 13 00 00 00 00 00 00 32 [14:40:04]Write i2c OK [14:40:04]MH_I2C_Read... [14:40:04]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:40:04]Read from MH i2c: E2 [14:40:04]MH_I2C_Read... [14:40:04]Read from MH i2c: E2 62 00 [14:40:04]MH_I2C_Read... [14:40:04]Read from MH i2c: E2 62 00 AE 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 5B 10 00 00 0E 04 04 00 54 00 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 9D [14:40:04]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 5B 10 00 00 0E 04 04 00 54 00 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 [14:40:04]wFMCommunicate OK [14:40:04]SAM_PROTO_GetFieldsCounters done [14:40:04]requested_item shift.num is exist - process it [14:40:04]requested_item shift.opened is exist - process it [14:40:04]req_shift_opened [14:40:04]FM_GetShiftState [14:40:04]SAM_PROTO_GetShiftState [14:40:04]wFMCommunicate request_size=4 [14:40:04]MH_SAM_APDU [14:40:04]CAPDU: 80 13 01 00 [14:40:04]Write to MH i2c: E2 08 00 AF 08 80 13 01 00 00 00 00 00 34 [14:40:04]Write i2c OK [14:40:04]MH_I2C_Read... [14:40:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:40:04]Read from MH i2c: E2 [14:40:04]MH_I2C_Read... [14:40:04]Read from MH i2c: E2 0E 00 [14:40:04]MH_I2C_Read... [14:40:04]Read from MH i2c: E2 0E 00 AF 08 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 D5 [14:40:04]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [14:40:04]wFMCommunicate OK [14:40:04]SAM_PROTO_GetShiftState done [14:40:04]FM_GetShiftState done [14:40:04]req_shift_opened done [14:40:04]requested_item shift.open_date is exist - process it [14:40:04]req_shift_open_date [14:40:04]req_shift_open_date done [14:40:04]produce_requested_data done [14:40:04]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4187,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765} [14:40:04]process_action_free close_receipt [14:40:04]json_value_free [14:40:04]json_value_free done [14:40:04]process_json_proto returns [14:40:04]Send response to host [14:40:04]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4187,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765}}} [14:40:04]free response buf [14:40:04]execute_script done [14:40:04]execute_script returns [14:40:04]free content buf [14:40:04]Sock 9.Close socket [14:40:04]Sock 9.Thread stoped [14:40:08]OFD Sender: No OFD packet to send [14:40:13]OFD Sender: No OFD packet to send [14:40:18]OFD Sender: No OFD packet to send [14:40:23]OFD Sender: No OFD packet to send [14:40:28]OFD Sender: No OFD packet to send [14:40:33]OFD Sender: No OFD packet to send [14:40:38]OFD Sender: No OFD packet to send [14:40:43]OFD Sender: No OFD packet to send [14:40:48]OFD Sender: No OFD packet to send [14:40:53]OFD Sender: No OFD packet to send [14:40:58]OFD Sender: No OFD packet to send [14:41:03]OFD Sender: No OFD packet to send [14:41:08]OFD Sender: No OFD packet to send [14:41:13]OFD Sender: No OFD packet to send [14:41:18]OFD Sender: No OFD packet to send [14:41:23]OFD Sender: No OFD packet to send [14:41:28]OFD Sender: No OFD packet to send [14:41:33]OFD Sender: No OFD packet to send [14:41:38]OFD Sender: No OFD packet to send [14:41:43]OFD Sender: No OFD packet to send [14:41:48]OFD Sender: No OFD packet to send [14:41:53]OFD Sender: No OFD packet to send [14:41:58]OFD Sender: No OFD packet to send [14:42:03]OFD Sender: No OFD packet to send [14:42:08]OFD Sender: No OFD packet to send [14:42:13]OFD Sender: No OFD packet to send [14:42:18]OFD Sender: No OFD packet to send [14:42:23]OFD Sender: No OFD packet to send [14:42:28]OFD Sender: No OFD packet to send [14:42:33]OFD Sender: No OFD packet to send [14:42:38]OFD Sender: No OFD packet to send [14:42:43]OFD Sender: No OFD packet to send [14:42:48]OFD Sender: No OFD packet to send [14:42:53]OFD Sender: No OFD packet to send [14:42:58]OFD Sender: No OFD packet to send [14:43:03]OFD Sender: No OFD packet to send [14:43:08]OFD Sender: No OFD packet to send [14:43:13]OFD Sender: No OFD packet to send [14:43:18]OFD Sender: No OFD packet to send [14:43:23]OFD Sender: No OFD packet to send [14:43:28]OFD Sender: No OFD packet to send [14:43:33]OFD Sender: No OFD packet to send [14:43:38]OFD Sender: No OFD packet to send [14:43:43]OFD Sender: No OFD packet to send [14:43:48]OFD Sender: No OFD packet to send [14:43:53]OFD Sender: No OFD packet to send [14:43:58]OFD Sender: No OFD packet to send [14:44:03]OFD Sender: No OFD packet to send [14:44:08]OFD Sender: No OFD packet to send [14:44:13]OFD Sender: No OFD packet to send [14:44:18]OFD Sender: No OFD packet to send [14:44:23]OFD Sender: No OFD packet to send [14:44:28]OFD Sender: No OFD packet to send [14:44:33]OFD Sender: No OFD packet to send [14:44:38]OFD Sender: No OFD packet to send [14:44:43]OFD Sender: No OFD packet to send [14:44:48]OFD Sender: No OFD packet to send [14:44:53]OFD Sender: No OFD packet to send [14:44:58]OFD Sender: No OFD packet to send [14:45:03]OFD Sender: No OFD packet to send [14:45:08]OFD Sender: No OFD packet to send [14:45:13]OFD Sender: No OFD packet to send [14:45:18]OFD Sender: No OFD packet to send [14:45:23]OFD Sender: No OFD packet to send [14:45:28]OFD Sender: No OFD packet to send [14:45:33]OFD Sender: No OFD packet to send [14:45:38]OFD Sender: No OFD packet to send [14:45:43]OFD Sender: No OFD packet to send [14:45:48]OFD Sender: No OFD packet to send [14:45:53]OFD Sender: No OFD packet to send [14:45:58]OFD Sender: No OFD packet to send [14:46:03]OFD Sender: No OFD packet to send [14:46:08]OFD Sender: No OFD packet to send [14:46:13]OFD Sender: No OFD packet to send [14:46:18]OFD Sender: No OFD packet to send [14:46:23]OFD Sender: No OFD packet to send [14:46:28]OFD Sender: No OFD packet to send [14:46:33]OFD Sender: No OFD packet to send [14:46:38]OFD Sender: No OFD packet to send [14:46:43]OFD Sender: No OFD packet to send [14:46:48]OFD Sender: No OFD packet to send [14:46:53]OFD Sender: No OFD packet to send [14:46:58]OFD Sender: No OFD packet to send [14:47:03]OFD Sender: No OFD packet to send [14:47:08]OFD Sender: No OFD packet to send [14:47:13]OFD Sender: No OFD packet to send [14:47:18]OFD Sender: No OFD packet to send [14:47:23]OFD Sender: No OFD packet to send [14:47:28]OFD Sender: No OFD packet to send [14:47:33]OFD Sender: No OFD packet to send [14:47:38]OFD Sender: No OFD packet to send [14:47:43]OFD Sender: No OFD packet to send [14:47:48]OFD Sender: No OFD packet to send [14:47:53]OFD Sender: No OFD packet to send [14:47:58]OFD Sender: No OFD packet to send [14:48:03]OFD Sender: No OFD packet to send [14:48:08]OFD Sender: No OFD packet to send [14:48:13]OFD Sender: No OFD packet to send [14:48:18]OFD Sender: No OFD packet to send [14:48:23]OFD Sender: No OFD packet to send [14:48:28]OFD Sender: No OFD packet to send [14:48:33]OFD Sender: No OFD packet to send [14:48:38]OFD Sender: No OFD packet to send [14:48:43]OFD Sender: No OFD packet to send [14:48:48]OFD Sender: No OFD packet to send [14:48:53]OFD Sender: No OFD packet to send [14:48:58]OFD Sender: No OFD packet to send [14:49:03]OFD Sender: No OFD packet to send [14:49:08]OFD Sender: No OFD packet to send [14:49:13]OFD Sender: No OFD packet to send [14:49:18]OFD Sender: No OFD packet to send [14:49:23]OFD Sender: No OFD packet to send [14:49:28]OFD Sender: No OFD packet to send [14:49:33]OFD Sender: No OFD packet to send [14:49:38]OFD Sender: No OFD packet to send [14:49:43]OFD Sender: No OFD packet to send [14:49:48]OFD Sender: No OFD packet to send [14:49:53]OFD Sender: No OFD packet to send [14:49:58]OFD Sender: No OFD packet to send [14:50:03]OFD Sender: No OFD packet to send [14:50:08]OFD Sender: No OFD packet to send [14:50:13]OFD Sender: No OFD packet to send [14:50:18]OFD Sender: No OFD packet to send [14:50:23]OFD Sender: No OFD packet to send [14:50:28]OFD Sender: No OFD packet to send [14:50:33]OFD Sender: No OFD packet to send [14:50:38]OFD Sender: No OFD packet to send [14:50:43]OFD Sender: No OFD packet to send [14:50:48]OFD Sender: No OFD packet to send [14:50:53]OFD Sender: No OFD packet to send [14:50:58]OFD Sender: No OFD packet to send [14:51:03]OFD Sender: No OFD packet to send [14:51:08]OFD Sender: No OFD packet to send [14:51:13]OFD Sender: No OFD packet to send [14:51:18]OFD Sender: No OFD packet to send [14:51:23]OFD Sender: No OFD packet to send [14:51:28]OFD Sender: No OFD packet to send [14:51:33]OFD Sender: No OFD packet to send [14:51:38]OFD Sender: No OFD packet to send [14:51:43]OFD Sender: No OFD packet to send [14:51:48]OFD Sender: No OFD packet to send [14:51:53]OFD Sender: No OFD packet to send [14:51:58]OFD Sender: No OFD packet to send [14:52:03]OFD Sender: No OFD packet to send [14:52:08]OFD Sender: No OFD packet to send [14:52:13]OFD Sender: No OFD packet to send [14:52:18]OFD Sender: No OFD packet to send [14:52:23]OFD Sender: No OFD packet to send [14:52:28]OFD Sender: No OFD packet to send [14:52:33]OFD Sender: No OFD packet to send [14:52:38]OFD Sender: No OFD packet to send [14:52:44]OFD Sender: No OFD packet to send [14:52:49]OFD Sender: No OFD packet to send [14:52:54]OFD Sender: No OFD packet to send [14:52:59]OFD Sender: No OFD packet to send [14:53:04]OFD Sender: No OFD packet to send [14:53:09]OFD Sender: No OFD packet to send [14:53:14]OFD Sender: No OFD packet to send [14:53:19]OFD Sender: No OFD packet to send [14:53:24]OFD Sender: No OFD packet to send [14:53:29]OFD Sender: No OFD packet to send [14:53:34]OFD Sender: No OFD packet to send [14:53:39]OFD Sender: No OFD packet to send [14:53:44]OFD Sender: No OFD packet to send [14:53:49]OFD Sender: No OFD packet to send [14:53:54]OFD Sender: No OFD packet to send [14:53:59]OFD Sender: No OFD packet to send [14:54:04]OFD Sender: No OFD packet to send [14:54:09]OFD Sender: No OFD packet to send [14:54:14]OFD Sender: No OFD packet to send [14:54:19]OFD Sender: No OFD packet to send [14:54:24]OFD Sender: No OFD packet to send [14:54:29]OFD Sender: No OFD packet to send [14:54:34]OFD Sender: No OFD packet to send [14:54:39]OFD Sender: No OFD packet to send [14:54:44]OFD Sender: No OFD packet to send [14:54:49]OFD Sender: No OFD packet to send [14:54:54]OFD Sender: No OFD packet to send [14:54:59]OFD Sender: No OFD packet to send [14:55:04]OFD Sender: No OFD packet to send [14:55:09]OFD Sender: No OFD packet to send [14:55:14]OFD Sender: No OFD packet to send [14:55:19]OFD Sender: No OFD packet to send [14:55:24]OFD Sender: No OFD packet to send [14:55:29]OFD Sender: No OFD packet to send [14:55:34]OFD Sender: No OFD packet to send [14:55:39]OFD Sender: No OFD packet to send [14:55:44]OFD Sender: No OFD packet to send [14:55:49]OFD Sender: No OFD packet to send [14:55:54]OFD Sender: No OFD packet to send [14:55:59]OFD Sender: No OFD packet to send [14:56:04]OFD Sender: No OFD packet to send [14:56:09]OFD Sender: No OFD packet to send [14:56:14]OFD Sender: No OFD packet to send [14:56:19]OFD Sender: No OFD packet to send [14:56:24]OFD Sender: No OFD packet to send [14:56:29]OFD Sender: No OFD packet to send [14:56:34]OFD Sender: No OFD packet to send [14:56:39]OFD Sender: No OFD packet to send [14:56:44]OFD Sender: No OFD packet to send [14:56:49]OFD Sender: No OFD packet to send [14:56:54]OFD Sender: No OFD packet to send [14:56:59]OFD Sender: No OFD packet to send [14:57:04]OFD Sender: No OFD packet to send [14:57:09]OFD Sender: No OFD packet to send [14:57:14]OFD Sender: No OFD packet to send [14:57:19]OFD Sender: No OFD packet to send [14:57:24]OFD Sender: No OFD packet to send [14:57:29]OFD Sender: No OFD packet to send [14:57:34]OFD Sender: No OFD packet to send [14:57:39]OFD Sender: No OFD packet to send [14:57:44]OFD Sender: No OFD packet to send [14:57:49]OFD Sender: No OFD packet to send [14:57:54]OFD Sender: No OFD packet to send [14:57:59]OFD Sender: No OFD packet to send [14:58:04]OFD Sender: No OFD packet to send [14:58:09]OFD Sender: No OFD packet to send [14:58:14]OFD Sender: No OFD packet to send [14:58:19]OFD Sender: No OFD packet to send [14:58:24]OFD Sender: No OFD packet to send [14:58:29]OFD Sender: No OFD packet to send [14:58:34]OFD Sender: No OFD packet to send [14:58:39]OFD Sender: No OFD packet to send [14:58:44]OFD Sender: No OFD packet to send [14:58:49]OFD Sender: No OFD packet to send [14:58:54]OFD Sender: No OFD packet to send [14:58:59]OFD Sender: No OFD packet to send [14:59:04]OFD Sender: No OFD packet to send [14:59:09]OFD Sender: No OFD packet to send [14:59:14]OFD Sender: No OFD packet to send [14:59:19]OFD Sender: No OFD packet to send [14:59:24]OFD Sender: No OFD packet to send [14:59:29]OFD Sender: No OFD packet to send [14:59:34]OFD Sender: No OFD packet to send [14:59:39]OFD Sender: No OFD packet to send [14:59:44]OFD Sender: No OFD packet to send [14:59:49]OFD Sender: No OFD packet to send [14:59:54]OFD Sender: No OFD packet to send [14:59:59]OFD Sender: No OFD packet to send [15:00:04]OFD Sender: No OFD packet to send [15:00:09]OFD Sender: No OFD packet to send [15:00:14]OFD Sender: No OFD packet to send [15:00:19]OFD Sender: No OFD packet to send [15:00:24]OFD Sender: No OFD packet to send [15:00:29]OFD Sender: No OFD packet to send [15:00:34]OFD Sender: No OFD packet to send [15:00:39]OFD Sender: No OFD packet to send [15:00:44]OFD Sender: No OFD packet to send [15:00:49]OFD Sender: No OFD packet to send [15:00:54]OFD Sender: No OFD packet to send [15:00:59]OFD Sender: No OFD packet to send [15:01:04]OFD Sender: No OFD packet to send [15:01:09]OFD Sender: No OFD packet to send [15:01:14]OFD Sender: No OFD packet to send [15:01:19]OFD Sender: No OFD packet to send [15:01:24]OFD Sender: No OFD packet to send [15:01:29]OFD Sender: No OFD packet to send [15:01:34]OFD Sender: No OFD packet to send [15:01:39]OFD Sender: No OFD packet to send [15:01:44]OFD Sender: No OFD packet to send [15:01:49]OFD Sender: No OFD packet to send [15:01:54]OFD Sender: No OFD packet to send [15:01:59]OFD Sender: No OFD packet to send [15:02:04]OFD Sender: No OFD packet to send [15:02:09]OFD Sender: No OFD packet to send [15:02:14]OFD Sender: No OFD packet to send [15:02:19]OFD Sender: No OFD packet to send [15:02:24]OFD Sender: No OFD packet to send [15:02:29]OFD Sender: No OFD packet to send [15:02:34]OFD Sender: No OFD packet to send [15:02:39]OFD Sender: No OFD packet to send [15:02:44]OFD Sender: No OFD packet to send [15:02:49]OFD Sender: No OFD packet to send [15:02:54]OFD Sender: No OFD packet to send [15:02:59]OFD Sender: No OFD packet to send [15:03:04]OFD Sender: No OFD packet to send [15:03:09]OFD Sender: No OFD packet to send [15:03:14]OFD Sender: No OFD packet to send [15:03:19]OFD Sender: No OFD packet to send [15:03:24]OFD Sender: No OFD packet to send [15:03:29]OFD Sender: No OFD packet to send [15:03:34]OFD Sender: No OFD packet to send [15:03:39]OFD Sender: No OFD packet to send [15:03:44]OFD Sender: No OFD packet to send [15:03:49]OFD Sender: No OFD packet to send [15:03:54]OFD Sender: No OFD packet to send [15:03:59]OFD Sender: No OFD packet to send [15:04:04]OFD Sender: No OFD packet to send [15:04:09]OFD Sender: No OFD packet to send [15:04:14]OFD Sender: No OFD packet to send [15:04:19]OFD Sender: No OFD packet to send [15:04:24]OFD Sender: No OFD packet to send [15:04:29]OFD Sender: No OFD packet to send [15:04:34]OFD Sender: No OFD packet to send [15:04:39]OFD Sender: No OFD packet to send [15:04:44]OFD Sender: No OFD packet to send [15:04:49]OFD Sender: No OFD packet to send [15:04:54]OFD Sender: No OFD packet to send [15:04:59]OFD Sender: No OFD packet to send [15:05:04]OFD Sender: No OFD packet to send [15:05:09]OFD Sender: No OFD packet to send [15:05:14]OFD Sender: No OFD packet to send [15:05:19]OFD Sender: No OFD packet to send [15:05:24]OFD Sender: No OFD packet to send [15:05:29]OFD Sender: No OFD packet to send [15:05:34]OFD Sender: No OFD packet to send [15:05:39]OFD Sender: No OFD packet to send [15:05:44]OFD Sender: No OFD packet to send [15:05:49]OFD Sender: No OFD packet to send [15:05:54]OFD Sender: No OFD packet to send [15:05:59]OFD Sender: No OFD packet to send [15:06:04]OFD Sender: No OFD packet to send [15:06:09]OFD Sender: No OFD packet to send [15:06:14]OFD Sender: No OFD packet to send [15:06:19]OFD Sender: No OFD packet to send [15:06:24]OFD Sender: No OFD packet to send [15:06:29]OFD Sender: No OFD packet to send [15:06:34]OFD Sender: No OFD packet to send [15:06:39]OFD Sender: No OFD packet to send [15:06:44]OFD Sender: No OFD packet to send [15:06:49]OFD Sender: No OFD packet to send [15:06:54]OFD Sender: No OFD packet to send [15:06:59]OFD Sender: No OFD packet to send [15:07:04]OFD Sender: No OFD packet to send [15:07:09]OFD Sender: No OFD packet to send [15:07:14]OFD Sender: No OFD packet to send [15:07:19]OFD Sender: No OFD packet to send [15:07:24]OFD Sender: No OFD packet to send [15:07:29]OFD Sender: No OFD packet to send [15:07:34]OFD Sender: No OFD packet to send [15:07:39]OFD Sender: No OFD packet to send [15:07:44]OFD Sender: No OFD packet to send [15:07:49]OFD Sender: No OFD packet to send [15:07:54]OFD Sender: No OFD packet to send [15:07:59]OFD Sender: No OFD packet to send [15:08:04]OFD Sender: No OFD packet to send [15:08:09]OFD Sender: No OFD packet to send [15:08:14]OFD Sender: No OFD packet to send [15:08:19]OFD Sender: No OFD packet to send [15:08:24]OFD Sender: No OFD packet to send [15:08:29]OFD Sender: No OFD packet to send [15:08:34]OFD Sender: No OFD packet to send [15:08:39]OFD Sender: No OFD packet to send [15:08:44]OFD Sender: No OFD packet to send [15:08:49]OFD Sender: No OFD packet to send [15:08:54]OFD Sender: No OFD packet to send [15:08:59]OFD Sender: No OFD packet to send [15:09:04]OFD Sender: No OFD packet to send [15:09:09]OFD Sender: No OFD packet to send [15:09:14]OFD Sender: No OFD packet to send [15:09:19]OFD Sender: No OFD packet to send [15:09:24]OFD Sender: No OFD packet to send [15:09:29]OFD Sender: No OFD packet to send [15:09:34]OFD Sender: No OFD packet to send [15:09:39]OFD Sender: No OFD packet to send [15:09:44]OFD Sender: No OFD packet to send [15:09:49]OFD Sender: No OFD packet to send [15:09:54]OFD Sender: No OFD packet to send [15:09:59]OFD Sender: No OFD packet to send [15:10:04]OFD Sender: No OFD packet to send [15:10:09]OFD Sender: No OFD packet to send [15:10:14]OFD Sender: No OFD packet to send [15:10:19]OFD Sender: No OFD packet to send [15:10:24]OFD Sender: No OFD packet to send [15:10:29]OFD Sender: No OFD packet to send [15:10:34]OFD Sender: No OFD packet to send [15:10:39]OFD Sender: No OFD packet to send [15:10:44]OFD Sender: No OFD packet to send [15:10:49]OFD Sender: No OFD packet to send [15:10:54]OFD Sender: No OFD packet to send [15:10:59]OFD Sender: No OFD packet to send [15:11:04]OFD Sender: No OFD packet to send [15:11:09]OFD Sender: No OFD packet to send [15:11:14]OFD Sender: No OFD packet to send [15:11:19]OFD Sender: No OFD packet to send [15:11:24]OFD Sender: No OFD packet to send [15:11:29]OFD Sender: No OFD packet to send [15:11:34]OFD Sender: No OFD packet to send [15:11:39]OFD Sender: No OFD packet to send [15:11:44]OFD Sender: No OFD packet to send [15:11:49]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:35]OFD Sender: No OFD packet to send [15:14:40]OFD Sender: No OFD packet to send [15:14:45]OFD Sender: No OFD packet to send [15:14:50]OFD Sender: No OFD packet to send [15:14:55]OFD Sender: No OFD packet to send [15:15:00]OFD Sender: No OFD packet to send [15:15:05]OFD Sender: No OFD packet to send [15:15:10]OFD Sender: No OFD packet to send [15:15:15]OFD Sender: No OFD packet to send [15:15:20]OFD Sender: No OFD packet to send [15:15:25]OFD Sender: No OFD packet to send [15:15:30]OFD Sender: No OFD packet to send [15:15:35]OFD Sender: No OFD packet to send [15:15:40]OFD Sender: No OFD packet to send [15:15:45]OFD Sender: No OFD packet to send [15:15:50]OFD Sender: No OFD packet to send [15:15:55]OFD Sender: No OFD packet to send [15:16:00]OFD Sender: No OFD packet to send [15:16:05]OFD Sender: No OFD packet to send [15:16:10]OFD Sender: No OFD packet to send [15:16:15]OFD Sender: No OFD packet to send [15:16:20]OFD Sender: No OFD packet to send [15:16:25]OFD Sender: No OFD packet to send [15:16:30]OFD Sender: No OFD packet to send [15:16:35]OFD Sender: No OFD packet to send [15:16:40]OFD Sender: No OFD packet to send [15:16:45]OFD Sender: No OFD packet to send [15:16:50]OFD Sender: No OFD packet to send [15:16:55]OFD Sender: No OFD packet to send [15:17:00]OFD Sender: No OFD packet to send [15:17:05]OFD Sender: No OFD packet to send [15:17:10]OFD Sender: No OFD packet to send [15:17:15]OFD Sender: No OFD packet to send [15:17:20]OFD Sender: No OFD packet to send [15:17:25]OFD Sender: No OFD packet to send [15:17:30]OFD Sender: No OFD packet to send [15:17:35]OFD Sender: No OFD packet to send [15:17:40]OFD Sender: No OFD packet to send [15:17:45]OFD Sender: No OFD packet to send [15:17:50]OFD Sender: No OFD packet to send [15:17:55]OFD Sender: No OFD packet to send [15:18:00]OFD Sender: No OFD packet to send [15:18:05]OFD Sender: No OFD packet to send [15:18:10]OFD Sender: No OFD packet to send [15:18:15]OFD Sender: No OFD packet to send [15:18:20]OFD Sender: No OFD packet to send [15:18:25]OFD Sender: No OFD packet to send [15:18:30]OFD Sender: No OFD packet to send [15:18:35]OFD Sender: No OFD packet to send [15:18:40]OFD Sender: No OFD packet to send [15:18:45]OFD Sender: No OFD packet to send [15:18:50]OFD Sender: No OFD packet to send [15:18:55]OFD Sender: No OFD packet to send [15:19:00]OFD Sender: No OFD packet to send [15:19:05]OFD Sender: No OFD packet to send [15:19:10]OFD Sender: No OFD packet to send [15:19:15]OFD Sender: No OFD packet to send [15:19:20]OFD Sender: No OFD packet to send [15:19:25]OFD Sender: No OFD packet to send [15:19:30]OFD Sender: No OFD packet to send [15:19:35]OFD Sender: No OFD packet to send [15:19:40]OFD Sender: No OFD packet to send [15:19:45]OFD Sender: No OFD packet to send [15:19:50]OFD Sender: No OFD packet to send [15:19:55]OFD Sender: No OFD packet to send [15:20:00]OFD Sender: No OFD packet to send [15:20:05]OFD Sender: No OFD packet to send [15:20:10]OFD Sender: No OFD packet to send [15:20:15]OFD Sender: No OFD packet to send [15:20:20]OFD Sender: No OFD packet to send [15:20:25]OFD Sender: No OFD packet to send [15:20:30]OFD Sender: No OFD packet to send [15:20:35]OFD Sender: No OFD packet to send [15:20:40]OFD Sender: No OFD packet to send [15:20:45]OFD Sender: No OFD packet to send [15:20:50]OFD Sender: No OFD packet to send [15:20:55]OFD Sender: No OFD packet to send [15:21:00]OFD Sender: No OFD packet to send [15:21:05]OFD Sender: No OFD packet to send [15:21:10]OFD Sender: No OFD packet to send [15:21:15]OFD Sender: No OFD packet to send [15:21:20]OFD Sender: No OFD packet to send [15:21:25]OFD Sender: No OFD packet to send [15:21:30]OFD Sender: No OFD packet to send [15:21:35]OFD Sender: No OFD packet to send [15:21:40]OFD Sender: No OFD packet to send [15:21:45]OFD Sender: No OFD packet to send [15:21:50]OFD Sender: No OFD packet to send [15:21:55]OFD Sender: No OFD packet to send [15:22:00]OFD Sender: No OFD packet to send [15:22:05]OFD Sender: No OFD packet to send [15:22:10]OFD Sender: No OFD packet to send [15:22:15]OFD Sender: No OFD packet to send [15:22:20]OFD Sender: No OFD packet to send [15:22:20]accept exits with 8 [15:22:20]New connection [15:22:20]New thread 3066604900 created [15:22:20]Thread 3066748260 joined [15:22:20]Waiting for new connection... [15:22:20] Sock 8.Parse request [15:22:20]Sock 8.Check first char [15:22:20]Sock 8.First char is OK [15:22:20]request: POST /json_proto HTTP/1.0 [15:22:20]Method: POST [15:22:20]URL: /json_proto [15:22:20]Method is POST - this is cgi request [15:22:20]url: /json_proto [15:22:20]query_string will be loaded in cgi processing [15:22:20]execute_cgi json_proto POST (null) [15:22:20]execute_cgi path=json_proto method=POST [15:22:20]POST find Content-Length [15:22:20]Host: 172.17.56.68:8080 [15:22:20]Content-Length: 912 [15:22:20]Content-Type: application/json [15:22:20] [15:22:20]POST finish read [15:22:20]Found Content-Length = 912 [15:22:20]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4441", "tax_sys" : 0, "items" : [ { "code": "2000034730018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E (GABB TRADE)", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607065000790", "name": "\u0428\u043E\u043A M\u0026M`s \u0441 \u0430\u0440\u0430\u0445\u0438\u0441\u043E\u043C 45\u0433", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 145.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:22:20]execute_script... [15:22: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)4441", "tax_sys" : 0, "items" : [ { "code": "2000034730018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E (GABB TRADE)", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607065000790", "name": "\u0428\u043E\u043A M\u0026M`s \u0441 \u0430\u0440\u0430\u0445\u0438\u0441\u043E\u043C 45\u0433", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 145.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:22:20]POST & json_proto [15:22:20]process_json_proto [15:22:20]json parsed OK: [15:22:20]protocol is kg_v1.0 [15:22:20]action value=close_receipt [15:22:20]process_action close_receipt [15:22:20]cmd_close_receipt [15:22:20]MH_GetDate [15:22:20]Write to MH i2c: F0 00 00 B0 08 A7 [15:22:20]Write i2c OK [15:22:20]MH_I2C_Read... [15:22:20]Read from MH i2c: F0 [15:22:20]MH_I2C_Read... [15:22:20]Read from MH i2c: F0 09 00 [15:22:20]MH_I2C_Read... [15:22:20]Read from MH i2c: F0 09 00 B0 08 00 AD 82 60 66 42 69 5C 66 12 [15:22:20]GetLastDocTimeStamp 1717598401 [15:22:20]current date 1717600941 [15:22:20]FM_GetShiftState [15:22:20]SAM_PROTO_GetShiftState [15:22:20]wFMCommunicate request_size=4 [15:22:20]MH_SAM_APDU [15:22:20]CAPDU: 80 13 01 00 [15:22:20]Write to MH i2c: E2 08 00 B1 08 80 13 01 00 00 00 00 00 36 [15:22:20]Write i2c OK [15:22:20]MH_I2C_Read... [15:22:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:22:20]Read from MH i2c: E2 [15:22:20]MH_I2C_Read... [15:22:20]Read from MH i2c: E2 0E 00 [15:22:20]MH_I2C_Read... [15:22:20]Read from MH i2c: E2 0E 00 B1 08 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 D7 [15:22:20]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [15:22:20]wFMCommunicate OK [15:22:20]SAM_PROTO_GetShiftState done [15:22:20]FM_GetShiftState done [15:22:20]opened in 1717545765 [15:22:20]opened+sec_in_day 1717632165 [15:22:20]quantity*price = 7500 [15:22:20]sum+1 = 7501 [15:22:20]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4607065000790 Шок M&M`s с арахисом 45г 1.000 * 70.00 = 70.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 145.00 НСП 1% : 1.28 НДС 12% : 15.39 Наличными: 145.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 46 05.06.2024 15:22 Смена: 84 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4188 ФПД: 262136249312798 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T152221&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4188&fm=262136249312798&tin=02508201610067®Number=0000000000145775&sum=14500 0 [15:22:21]StoreToDocumentArchive [15:22:21]shift 84 fd 4188 [15:22:21]save to /storage/0084/doc_00004188 [15:22:21]save last doc name /storage/0084/doc_00004188 to /storage/kkm_last_doc_name [15:22:21]save OK [15:22:21]Clear old archive folders... [15:22:21]ProcessDocumentItem done err = 0, tmpTLVsize=391 [15:22:21]tlvbuf is 01319A40 [15:22:21]SAM_PROTO_ClearQueue [15:22:21]wFMCommunicate request_size=4 [15:22:21]MH_SAM_APDU [15:22:21]CAPDU: 80 09 00 00 [15:22:21]Write to MH i2c: E2 08 00 BE 08 80 09 00 00 00 00 00 00 38 [15:22:21]Write i2c OK [15:22:21]MH_I2C_Read... [15:22:21]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:22:21]Read from MH i2c: E2 [15:22:21]MH_I2C_Read... [15:22:21]Read from MH i2c: E2 03 00 [15:22:21]MH_I2C_Read... [15:22:21]Read from MH i2c: E2 03 00 BE 08 00 90 00 3A [15:22:21]RAPDU: 90 00 [15:22:21]wFMCommunicate OK [15:22:21]SAM_PROTO_ClearQueue done [15:22:21]KKMCreateOFDPacket [15:22:21]OFDProtocolAddRootSTLVToBuf [15:22:21]FM_MakeSignedData [15:22:21]FM_MakeSignedData [15:22:21]SAM_PROTO_SignData [15:22:21]wFMCommunicate request_size=4 [15:22:21]MH_SAM_APDU [15:22:21]CAPDU: 80 0D 01 02 [15:22:21]Write to MH i2c: E2 08 00 BF 08 80 0D 01 02 00 00 00 00 40 [15:22:21]Write i2c OK [15:22:21]MH_I2C_Read... [15:22:21]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:22:21]Read from MH i2c: E2 [15:22:21]MH_I2C_Read... [15:22:21]Read from MH i2c: E2 03 00 [15:22:21]MH_I2C_Read... [15:22:21]Read from MH i2c: E2 03 00 BF 08 00 90 00 3B [15:22:21]RAPDU: 90 00 [15:22:21]wFMCommunicate OK [15:22:21]wFMCommunicate request_size=255 [15:22:21]MH_SAM_APDU [15:22:21]CAPDU: 80 0D 02 02 FA 03 00 87 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 34 37 33 30 30 31 38 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 69 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 30 37 39 30 06 04 25 00 D0 A8 D0 BE D0 BA 20 4D 26 4D 60 73 20 D1 81 20 D0 B0 D1 80 D0 B0 D1 85 D0 B8 D1 81 D0 BE D0 BC 20 34 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A4 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 [15:22:21]Write to MH i2c: E2 02 01 C0 08 80 0D 02 02 FA 00 03 00 87 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 34 37 33 30 30 31 38 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 69 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 30 37 39 30 06 04 25 00 D0 A8 D0 BE D0 BA 20 4D 26 4D 60 73 20 D1 81 20 D0 B0 D1 80 D0 B0 D1 85 D0 B8 D1 81 D0 BE D0 BC 20 34 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A4 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 00 00 6D [15:22:21]Write i2c OK [15:22:21]MH_I2C_Read... [15:22:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:22:22]Read from MH i2c: E2 [15:22:22]MH_I2C_Read... [15:22:22]Read from MH i2c: E2 03 00 [15:22:22]MH_I2C_Read... [15:22:22]Read from MH i2c: E2 03 00 C0 08 00 90 00 3C [15:22:22]RAPDU: 90 00 [15:22:22]wFMCommunicate OK [15:22:22]wFMCommunicate request_size=150 [15:22:22]MH_SAM_APDU [15:22:22]CAPDU: 80 0D 02 02 91 01 00 01 F7 03 06 00 80 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 03 06 00 00 00 00 07 04 06 00 A4 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 AD 82 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 5C 10 00 00 35 04 06 00 EE 69 5A 05 E6 1E [15:22:22]Write to MH i2c: E2 99 00 C1 08 80 0D 02 02 91 00 01 00 01 F7 03 06 00 80 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 03 06 00 00 00 00 07 04 06 00 A4 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 AD 82 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 5C 10 00 00 35 04 06 00 EE 69 5A 05 E6 1E 00 00 9A [15:22:22]Write i2c OK [15:22:22]MH_I2C_Read... [15:22:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:22:22]Read from MH i2c: E2 [15:22:22]MH_I2C_Read... [15:22:22]Read from MH i2c: E2 03 00 [15:22:22]MH_I2C_Read... [15:22:22]Read from MH i2c: E2 03 00 C1 08 00 90 00 3D [15:22:22]RAPDU: 90 00 [15:22:22]wFMCommunicate OK [15:22:22]wFMCommunicate request_size=4 [15:22:22]MH_SAM_APDU [15:22:22]CAPDU: 80 0D 03 02 [15:22:22]Write to MH i2c: E2 08 00 C2 08 80 0D 03 02 00 00 00 00 45 [15:22:22]Write i2c OK [15:22:22]MH_I2C_Read... [15:22:22]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:22:22]Read from MH i2c: E2 [15:22:22]MH_I2C_Read... [15:22:22]Read from MH i2c: E2 0B 00 [15:22:22]MH_I2C_Read... [15:22:22]Read from MH i2c: E2 0B 00 C2 08 00 AD 90 06 13 0C 51 2D 70 90 00 96 [15:22:22]RAPDU: AD 90 06 13 0C 51 2D 70 90 00 [15:22:22]wFMCommunicate OK [15:22:22]SAM_PROTO_SignData done [15:22:22]FM_MakeSignedData done [15:22:22]CreateOFDProtocolMessage [15:22:22]wFMCommunicate request_size=4 [15:22:22]MH_SAM_APDU [15:22:22]CAPDU: 80 11 00 00 [15:22:22]Write to MH i2c: E2 08 00 C3 08 80 11 00 00 00 00 00 00 45 [15:22:22]Write i2c OK [15:22:22]MH_I2C_Read... [15:22:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:22:22]Read from MH i2c: E2 [15:22:22]MH_I2C_Read... [15:22:22]Read from MH i2c: E2 17 00 [15:22:22]MH_I2C_Read... [15:22:22]Read from MH i2c: E2 17 00 C3 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 98 [15:22:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [15:22:22]wFMCommunicate OK [15:22:22]CreateOFDProtocolMessage done [15:22:22]OFDSenderStorePacket 4188 [15:22:22]StoreOFDPacket docnum=4188 [15:22:22]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 9B 01 00 00 D0 93 93 01 0B CF 5A 03 01 00 03 00 87 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 34 37 33 30 30 31 38 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 69 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 30 37 39 30 06 04 25 00 D0 A8 D0 BE D0 BA 20 4D 26 4D 60 73 20 D1 81 20 D0 B0 D1 80 D0 B0 D1 85 D0 B8 D1 81 D0 BE D0 BC 20 34 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A4 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 80 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 03 06 00 00 00 00 07 04 06 00 A4 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 AD 82 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 5C 10 00 00 35 04 06 00 EE 69 5A 05 E6 1E AD 90 06 13 0C 51 2D 70 [15:22:22]CheckFolder [15:22:22]dirname=/storage/ofd_packets [15:22:22]CheckFolder done [15:22:22]ProducePacketName [15:22:22]name=ofd_packets/00004188 [15:22:22]NVStorageSaveData ofd_packets/00004188 [15:22:22]File name is /storage/ofd_packets/00004188 [15:22:22]Write 441 bytes [15:22:22]NVStorageSaveData done [15:22:22]OFDSenderStorePacket done [15:22:22]KKMCreateOFDPacket done [15:22:22]NVStorageSaveData kkm_last_timestamp [15:22:22]File name is /storage/kkm_last_timestamp [15:22:22]Write 4 bytes [15:22:22]NVStorageSaveData done [15:22:22]ExternCall_PrintAddStr [15:22:22]wPrintStart [15:22:22]Write to MH i2c: 01 00 00 C4 08 CC [15:22:22]Write i2c OK [15:22:22]MH_I2C_Read... [15:22:22]Read from MH i2c: 01 [15:22:22]MH_I2C_Read... [15:22:22]Read from MH i2c: 01 07 00 [15:22:22]MH_I2C_Read... [15:22:22]Read from MH i2c: 01 07 00 C4 08 00 00 00 00 00 FF 0F E1 [15:22:22]RasterBufferAndPrint [15:22:22]line Счет N : (3)4441 [15:22:22]line ИНН: 02508201610067 [15:22:22]line Контрольно-Кассовый Чек [15:22:22]line ПРОДАЖА [15:22:22]line Товар: 2000034730018 [15:22:22]line Кофе Американо (GABB TRADE) [15:22:22]line 1.000 * 75.00 [15:22:22]line = 75.00 [15:22:22]line НДС 12% НСП 1% [15:22:22]line > о реализуемом товаре [15:22:22]line Товар: 4607065000790 [15:22:22]line Шок M&M`s с арахисом 45г [15:22:22]line 1.000 * 70.00 [15:22:22]line = 70.00 [15:22:22]line НДС 12% НСП 1% [15:22:22]line > о реализуемом товаре [15:22:22]line ИТОГО: 145.00 [15:22:22]line НСП 1% : 1.28 [15:22:22]line НДС 12% : 15.39 [15:22:22]line Наличными: 145.00 [15:22:22]line Безнал.: 0.00 [15:22:22]line Место: АЗС № 116 "Партнер Нефть" [15:22:22]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [15:22:22]line СНО: Общий режим [15:22:22]line Чек 46 05.06.2024 15:22 [15:22:22]line Смена: 84 ФФД: 1.0 [15:22:22]line ЗНМ: 0300000233 [15:22:22]line РНМ: 0000000000145775 [15:22:22]line Версия ККМ: v1.0 [15:22:22]line ФМ: 0000000000959360 [15:22:22]line ФД: 4188 [15:22:22]line ФПД: 262136249312798 [15:22:22]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T152221&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4188&fm=262136249312798&tin=02508201610067®Number=0000000000145775&sum=14500 [15:22:22]line 0 [15:22:22]OFD Sender: Processing packet 4188 [packets to send 2, broken 1] [15:22:22]ProducePacketName [15:22:22]name=ofd_packets/00004188 [15:22:22]OFD Sender: To server: pG, [15:22:22]CommunicateWithHost lk.salyk.kg:30040 [15:22:22]ConnectInit lk.salyk.kg [15:22:22]written 0, free lines is 4095 [15:22:22]Connected sock=10 [15:22:22]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 9B 01 00 00 D0 93 93 01 0B CF 5A 03 01 00 03 00 87 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 34 37 33 30 30 31 38 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 69 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 30 37 39 30 06 04 25 00 D0 A8 D0 BE D0 BA 20 4D 26 4D 60 73 20 D1 81 20 D0 B0 D1 80 D0 B0 D1 85 D0 B8 D1 81 D0 BE D0 BC 20 34 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A4 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 80 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 03 06 00 00 00 00 07 04 06 00 A4 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 AD 82 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 5C 10 00 00 35 04 06 00 EE 69 5A 05 E6 1E AD 90 06 13 0C 51 2D 70 [15:22:23]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 09 6A 47 00 73 C7 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 5C 10 00 00 F4 03 04 00 AB 2E 60 66 B6 04 01 00 00 F9 C3 7D DE CB 7F B9 DF [15:22:23]CommunicateWithHost err = 0 [15:22:23]CheckOFDResponse [15:22:23]1017 (14) - 77093643461234 [15:22:23]1041 (16) - 0000000000959360 [15:22:23]1040 (4) - 4188 [15:22:23]1012 (4) - 05.06.2024 09:23 [15:22:23]1206 (1) - 0 [15:22:23]OFD Sender: Remove packet 4188 [15:22:23]ProducePacketName [15:22:23]name=ofd_packets/00004188 [15:22:23]NVStorageDeleteData [15:22:23]Write to MH i2c: 01 00 00 F3 08 FB [15:22:23]Write i2c OK [15:22:23]MH_I2C_Read... [15:22:23]Read from MH i2c: 01 [15:22:23]MH_I2C_Read... [15:22:23]Read from MH i2c: 01 07 00 [15:22:23]MH_I2C_Read... [15:22:23]Read from MH i2c: 01 07 00 F3 08 00 00 00 00 00 40 0C 4E [15:22:23]RasterBufferAndPrint [15:22:23]line [15:22:23]line [15:22:23]line [15:22:23]line [15:22:23]line [15:22:23]written 0, free lines is 3142 [15:22:23]MH_Cut [15:22:23]Write to MH i2c: D1 01 00 FA 08 01 D4 [15:22:23]Write i2c OK [15:22:23]MH_I2C_Read... [15:22:23]Read from MH i2c: D1 [15:22:23]MH_I2C_Read... [15:22:23]Read from MH i2c: D1 01 00 [15:22:23]MH_I2C_Read... [15:22:23]Read from MH i2c: D1 01 00 FA 08 00 D3 [15:22:23]Write to MH i2c: 01 00 00 FB 08 03 [15:22:23]Write i2c OK [15:22:23]MH_I2C_Read... [15:22:23]OFD Sender: No OFD packet to send [15:22:24]*** Cut start [15:22:24]*** Partial cut [15:22:24]*** CUTSNS_PIN = 1 [15:22:24]*** CUTSNS_PIN = 0 [15:22:24]*** Brake cut motor [15:22:24]Read from MH i2c: 01 [15:22:24]MH_I2C_Read... [15:22:24]*** Stop cut motor [15:22:24]*** Cut end [15:22:24]Read from MH i2c: 01 07 00 [15:22:24]MH_I2C_Read... [15:22:24]Read from MH i2c: 01 07 00 FB 08 00 00 00 00 00 FF 0F 18 [15:22:24]process_action close_receipt done [15:22:24]requested_data is exist [15:22:24]produce_requested_data [15:22:24]requested_item fm.sn is exist - process it [15:22:24]wFMCommunicate request_size=4 [15:22:24]MH_SAM_APDU [15:22:24]CAPDU: 80 11 00 00 [15:22:24]Write to MH i2c: E2 08 00 FC 08 80 11 00 00 00 00 00 00 7E [15:22:24]Write i2c OK [15:22:24]MH_I2C_Read... [15:22:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:22:24]Read from MH i2c: E2 [15:22:24]MH_I2C_Read... [15:22:24]Read from MH i2c: E2 17 00 [15:22:24]MH_I2C_Read... [15:22:24]Read from MH i2c: E2 17 00 FC 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 D1 [15:22:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [15:22:24]wFMCommunicate OK [15:22:24]requested_item fd.num is exist - process it [15:22:24]SAM_PROTO_GetFieldsCounters [15:22:24]wFMCommunicate request_size=4 [15:22:24]MH_SAM_APDU [15:22:24]CAPDU: 80 13 00 00 [15:22:24]Write to MH i2c: E2 08 00 FD 08 80 13 00 00 00 00 00 00 81 [15:22:24]Write i2c OK [15:22:24]MH_I2C_Read... [15:22:25]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:22:25]Read from MH i2c: E2 [15:22:25]MH_I2C_Read... [15:22:25]Read from MH i2c: E2 62 00 [15:22:25]MH_I2C_Read... [15:22:25]Read from MH i2c: E2 62 00 FD 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 5C 10 00 00 0E 04 04 00 54 00 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 F0 [15:22:25]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 5C 10 00 00 0E 04 04 00 54 00 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:22:25]wFMCommunicate OK [15:22:25]SAM_PROTO_GetFieldsCounters done [15:22:25]requested_item shift.num is exist - process it [15:22:25]requested_item shift.opened is exist - process it [15:22:25]req_shift_opened [15:22:25]FM_GetShiftState [15:22:25]SAM_PROTO_GetShiftState [15:22:25]wFMCommunicate request_size=4 [15:22:25]MH_SAM_APDU [15:22:25]CAPDU: 80 13 01 00 [15:22:25]Write to MH i2c: E2 08 00 FE 08 80 13 01 00 00 00 00 00 83 [15:22:25]Write i2c OK [15:22:25]MH_I2C_Read... [15:22:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:22:25]Read from MH i2c: E2 [15:22:25]MH_I2C_Read... [15:22:25]Read from MH i2c: E2 0E 00 [15:22:25]MH_I2C_Read... [15:22:25]Read from MH i2c: E2 0E 00 FE 08 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 24 [15:22:25]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [15:22:25]wFMCommunicate OK [15:22:25]SAM_PROTO_GetShiftState done [15:22:25]FM_GetShiftState done [15:22:25]req_shift_opened done [15:22:25]requested_item shift.open_date is exist - process it [15:22:25]req_shift_open_date [15:22:25]req_shift_open_date done [15:22:25]produce_requested_data done [15:22:25]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4188,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765} [15:22:25]process_action_free close_receipt [15:22:25]json_value_free [15:22:25]json_value_free done [15:22:25]process_json_proto returns [15:22:25]Send response to host [15:22:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4188,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765}}} [15:22:25]free response buf [15:22:25]execute_script done [15:22:25]execute_script returns [15:22:25]free content buf [15:22:25]Sock 8.Close socket [15:22:25]Sock 8.Thread stoped [15:22:28]OFD Sender: No OFD packet to send [15:22:33]OFD Sender: No OFD packet to send [15:22:38]OFD Sender: No OFD packet to send [15:22:43]OFD Sender: No OFD packet to send [15:22:48]OFD Sender: No OFD packet to send [15:22:53]OFD Sender: No OFD packet to send [15:22:58]OFD Sender: No OFD packet to send [15:23:03]OFD Sender: No OFD packet to send [15:23:08]OFD Sender: No OFD packet to send [15:23:13]OFD Sender: No OFD packet to send [15:23:18]OFD Sender: No OFD packet to send [15:23:23]OFD Sender: No OFD packet to send [15:23:28]OFD Sender: No OFD packet to send [15:23:33]OFD Sender: No OFD packet to send [15:23:38]OFD Sender: No OFD packet to send [15:23:43]OFD Sender: No OFD packet to send [15:23:48]OFD Sender: No OFD packet to send [15:23:53]OFD Sender: No OFD packet to send [15:23:58]OFD Sender: No OFD packet to send [15:24:03]OFD Sender: No OFD packet to send [15:24:08]OFD Sender: No OFD packet to send [15:24:13]OFD Sender: No OFD packet to send [15:24:18]OFD Sender: No OFD packet to send [15:24:23]OFD Sender: No OFD packet to send [15:24:28]OFD Sender: No OFD packet to send [15:24:33]OFD Sender: No OFD packet to send [15:24:38]OFD Sender: No OFD packet to send [15:24:43]OFD Sender: No OFD packet to send [15:24:48]OFD Sender: No OFD packet to send [15:24:53]OFD Sender: No OFD packet to send [15:24:58]OFD Sender: No OFD packet to send [15:25:03]OFD Sender: No OFD packet to send [15:25:08]OFD Sender: No OFD packet to send [15:25:10]accept exits with 9 [15:25:10]New connection [15:25:10]New thread 3066748260 created [15:25:10]Thread 3066604900 joined [15:25:10]Waiting for new connection... [15:25:10] Sock 9.Parse request [15:25:10]Sock 9.Check first char [15:25:10]Sock 9.First char is OK [15:25:10]request: POST /json_proto HTTP/1.0 [15:25:10]Method: POST [15:25:10]URL: /json_proto [15:25:10]Method is POST - this is cgi request [15:25:10]url: /json_proto [15:25:10]query_string will be loaded in cgi processing [15:25:10]execute_cgi json_proto POST (null) [15:25:10]execute_cgi path=json_proto method=POST [15:25:10]POST find Content-Length [15:25:10]Host: 172.17.56.68:8080 [15:25:10]Content-Length: 806 [15:25:10]Content-Type: application/json [15:25:10] [15:25:10]POST finish read [15:25:10]Found Content-Length = 806 [15:25:10]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4442", "tax_sys" : 0, "items" : [ { "code": "42069942", "name": "\u0416\u0435\u0432 Orbit White Fresh Mint", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4600682029830", "name": "Garage Hard Lemon 0,44 \u0441\u0442/\u0431", "price" : 120.00, "quantity" : 1.000, "sum" : 120.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:25:10]execute_script... [15:25:10]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4442", "tax_sys" : 0, "items" : [ { "code": "42069942", "name": "\u0416\u0435\u0432 Orbit White Fresh Mint", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4600682029830", "name": "Garage Hard Lemon 0,44 \u0441\u0442/\u0431", "price" : 120.00, "quantity" : 1.000, "sum" : 120.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:25:10]POST & json_proto [15:25:10]process_json_proto [15:25:10]json parsed OK: [15:25:10]protocol is kg_v1.0 [15:25:10]action value=close_receipt [15:25:10]process_action close_receipt [15:25:10]cmd_close_receipt [15:25:10]MH_GetDate [15:25:10]Write to MH i2c: F0 00 00 FF 08 F6 [15:25:10]Write i2c OK [15:25:10]MH_I2C_Read... [15:25:10]Read from MH i2c: F0 [15:25:10]MH_I2C_Read... [15:25:10]Read from MH i2c: F0 09 00 [15:25:10]MH_I2C_Read... [15:25:10]Read from MH i2c: F0 09 00 FF 08 00 57 83 60 66 42 69 5C 66 0C [15:25:10]GetLastDocTimeStamp 1717600941 [15:25:10]current date 1717601111 [15:25:10]FM_GetShiftState [15:25:10]SAM_PROTO_GetShiftState [15:25:10]wFMCommunicate request_size=4 [15:25:10]MH_SAM_APDU [15:25:10]CAPDU: 80 13 01 00 [15:25:10]Write to MH i2c: E2 08 00 00 09 80 13 01 00 00 00 00 00 86 [15:25:10]Write i2c OK [15:25:10]MH_I2C_Read... [15:25:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:25:10]Read from MH i2c: E2 [15:25:10]MH_I2C_Read... [15:25:10]Read from MH i2c: E2 0E 00 [15:25:10]MH_I2C_Read... [15:25:10]Read from MH i2c: E2 0E 00 00 09 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 27 [15:25:10]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [15:25:10]wFMCommunicate OK [15:25:10]SAM_PROTO_GetShiftState done [15:25:10]FM_GetShiftState done [15:25:10]opened in 1717545765 [15:25:10]opened+sec_in_day 1717632165 [15:25:10]quantity*price = 4500 [15:25:10]sum+1 = 4501 [15:25:10]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4600682029830 Garage Hard Lemon 0,44 ст/б 1.000 * 120.00 = 120.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 165.00 НСП 1% : 1.46 НДС 12% : 17.52 Наличными: 165.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 47 05.06.2024 15:25 Смена: 84 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4189 ФПД: 15883724499632 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T152511&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4189&fm=15883724499632&tin=02508201610067®Number=0000000000145775&sum=16500 0 [15:25:11]StoreToDocumentArchive [15:25:11]shift 84 fd 4189 [15:25:11]save to /storage/0084/doc_00004189 [15:25:11]save last doc name /storage/0084/doc_00004189 to /storage/kkm_last_doc_name [15:25:11]save OK [15:25:11]Clear old archive folders... [15:25:11]ProcessDocumentItem done err = 0, tmpTLVsize=368 [15:25:11]tlvbuf is 012F5150 [15:25:11]SAM_PROTO_ClearQueue [15:25:11]wFMCommunicate request_size=4 [15:25:11]MH_SAM_APDU [15:25:11]CAPDU: 80 09 00 00 [15:25:11]Write to MH i2c: E2 08 00 0D 09 80 09 00 00 00 00 00 00 88 [15:25:11]Write i2c OK [15:25:11]MH_I2C_Read... [15:25:11]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:25:11]Read from MH i2c: E2 [15:25:11]MH_I2C_Read... [15:25:11]Read from MH i2c: E2 03 00 [15:25:11]MH_I2C_Read... [15:25:11]Read from MH i2c: E2 03 00 0D 09 00 90 00 8A [15:25:11]RAPDU: 90 00 [15:25:11]wFMCommunicate OK [15:25:11]SAM_PROTO_ClearQueue done [15:25:11]KKMCreateOFDPacket [15:25:11]OFDProtocolAddRootSTLVToBuf [15:25:11]FM_MakeSignedData [15:25:11]FM_MakeSignedData [15:25:11]SAM_PROTO_SignData [15:25:11]wFMCommunicate request_size=4 [15:25:11]MH_SAM_APDU [15:25:11]CAPDU: 80 0D 01 02 [15:25:11]Write to MH i2c: E2 08 00 0E 09 80 0D 01 02 00 00 00 00 90 [15:25:11]Write i2c OK [15:25:11]MH_I2C_Read... [15:25:11]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:25:11]Read from MH i2c: E2 [15:25:11]MH_I2C_Read... [15:25:11]Read from MH i2c: E2 03 00 [15:25:11]MH_I2C_Read... [15:25:11]Read from MH i2c: E2 03 00 0E 09 00 90 00 8B [15:25:11]RAPDU: 90 00 [15:25:11]wFMCommunicate OK [15:25:11]wFMCommunicate request_size=255 [15:25:11]MH_SAM_APDU [15:25:11]CAPDU: 80 0D 02 02 FA 03 00 70 01 1E 04 01 00 01 23 04 5C 00 8A 04 08 00 34 32 30 36 39 39 34 32 06 04 1D 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 20 46 72 65 73 68 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 23 04 62 00 8A 04 0D 00 34 36 30 30 36 38 32 30 32 39 38 33 30 06 04 1E 00 47 61 72 61 67 65 20 48 61 72 64 20 4C 65 6D 6F 6E 20 30 2C 34 34 20 D1 81 D1 82 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 [15:25:11]Write to MH i2c: E2 02 01 0F 09 80 0D 02 02 FA 00 03 00 70 01 1E 04 01 00 01 23 04 5C 00 8A 04 08 00 34 32 30 36 39 39 34 32 06 04 1D 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 20 46 72 65 73 68 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 23 04 62 00 8A 04 0D 00 34 36 30 30 36 38 32 30 32 39 38 33 30 06 04 1E 00 47 61 72 61 67 65 20 48 61 72 64 20 4C 65 6D 6F 6E 20 30 2C 34 34 20 D1 81 D1 82 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 00 00 86 [15:25:11]Write i2c OK [15:25:11]MH_I2C_Read... [15:25:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:25:12]Read from MH i2c: E2 [15:25:12]MH_I2C_Read... [15:25:12]Read from MH i2c: E2 03 00 [15:25:12]MH_I2C_Read... [15:25:12]Read from MH i2c: E2 03 00 0F 09 00 90 00 8C [15:25:12]RAPDU: 90 00 [15:25:12]wFMCommunicate OK [15:25:12]wFMCommunicate request_size=127 [15:25:12]MH_SAM_APDU [15:25:12]CAPDU: 80 0D 02 02 7A 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 2F 00 00 00 F4 03 04 00 57 83 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 5D 10 00 00 35 04 06 00 0E 72 37 C1 AA B0 [15:25:12]Write to MH i2c: E2 82 00 10 09 80 0D 02 02 7A 00 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 2F 00 00 00 F4 03 04 00 57 83 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 5D 10 00 00 35 04 06 00 0E 72 37 C1 AA B0 00 00 C2 [15:25:12]Write i2c OK [15:25:12]MH_I2C_Read... [15:25:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:25:12]Read from MH i2c: E2 [15:25:12]MH_I2C_Read... [15:25:12]Read from MH i2c: E2 03 00 [15:25:12]MH_I2C_Read... [15:25:12]Read from MH i2c: E2 03 00 10 09 00 90 00 8D [15:25:12]RAPDU: 90 00 [15:25:12]wFMCommunicate OK [15:25:12]wFMCommunicate request_size=4 [15:25:12]MH_SAM_APDU [15:25:12]CAPDU: 80 0D 03 02 [15:25:12]Write to MH i2c: E2 08 00 11 09 80 0D 03 02 00 00 00 00 95 [15:25:12]Write i2c OK [15:25:12]MH_I2C_Read... [15:25:12]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:25:12]Read from MH i2c: E2 [15:25:12]MH_I2C_Read... [15:25:12]Read from MH i2c: E2 0B 00 [15:25:12]MH_I2C_Read... [15:25:12]Read from MH i2c: E2 0B 00 11 09 00 68 2A A4 44 AA E7 40 A3 90 00 84 [15:25:12]RAPDU: 68 2A A4 44 AA E7 40 A3 90 00 [15:25:12]wFMCommunicate OK [15:25:12]SAM_PROTO_SignData done [15:25:12]FM_MakeSignedData done [15:25:12]CreateOFDProtocolMessage [15:25:12]wFMCommunicate request_size=4 [15:25:12]MH_SAM_APDU [15:25:12]CAPDU: 80 11 00 00 [15:25:12]Write to MH i2c: E2 08 00 12 09 80 11 00 00 00 00 00 00 95 [15:25:12]Write i2c OK [15:25:12]MH_I2C_Read... [15:25:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:25:12]Read from MH i2c: E2 [15:25:12]MH_I2C_Read... [15:25:12]Read from MH i2c: E2 17 00 [15:25:12]MH_I2C_Read... [15:25:12]Read from MH i2c: E2 17 00 12 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 E8 [15:25:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [15:25:12]wFMCommunicate OK [15:25:12]CreateOFDProtocolMessage done [15:25:12]OFDSenderStorePacket 4189 [15:25:12]StoreOFDPacket docnum=4189 [15:25:12]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 84 01 00 00 45 8F 7C 01 6D C6 5A 03 01 00 03 00 70 01 1E 04 01 00 01 23 04 5C 00 8A 04 08 00 34 32 30 36 39 39 34 32 06 04 1D 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 20 46 72 65 73 68 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 23 04 62 00 8A 04 0D 00 34 36 30 30 36 38 32 30 32 39 38 33 30 06 04 1E 00 47 61 72 61 67 65 20 48 61 72 64 20 4C 65 6D 6F 6E 20 30 2C 34 34 20 D1 81 D1 82 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 2F 00 00 00 F4 03 04 00 57 83 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 5D 10 00 00 35 04 06 00 0E 72 37 C1 AA B0 68 2A A4 44 AA E7 40 A3 [15:25:12]CheckFolder [15:25:12]dirname=/storage/ofd_packets [15:25:12]CheckFolder done [15:25:12]ProducePacketName [15:25:12]name=ofd_packets/00004189 [15:25:12]NVStorageSaveData ofd_packets/00004189 [15:25:12]File name is /storage/ofd_packets/00004189 [15:25:12]Write 418 bytes [15:25:12]NVStorageSaveData done [15:25:12]OFDSenderStorePacket done [15:25:12]KKMCreateOFDPacket done [15:25:12]NVStorageSaveData kkm_last_timestamp [15:25:12]File name is /storage/kkm_last_timestamp [15:25:12]Write 4 bytes [15:25:12]NVStorageSaveData done [15:25:12]ExternCall_PrintAddStr [15:25:12]wPrintStart [15:25:12]Write to MH i2c: 01 00 00 13 09 1C [15:25:12]Write i2c OK [15:25:12]MH_I2C_Read... [15:25:12]Read from MH i2c: 01 [15:25:12]MH_I2C_Read... [15:25:12]Read from MH i2c: 01 07 00 [15:25:12]MH_I2C_Read... [15:25:12]Read from MH i2c: 01 07 00 13 09 00 00 00 00 00 FF 0F 31 [15:25:12]RasterBufferAndPrint [15:25:12]line Счет N : (3)4442 [15:25:12]line ИНН: 02508201610067 [15:25:12]line Контрольно-Кассовый Чек [15:25:12]line ПРОДАЖА [15:25:12]line Товар: 42069942 [15:25:12]line Жев Orbit White Fresh Mint [15:25:12]line 1.000 * 45.00 [15:25:12]line = 45.00 [15:25:12]line НДС 12% НСП 1% [15:25:12]line > о реализуемом товаре [15:25:12]line Товар: 4600682029830 [15:25:12]line Garage Hard Lemon 0,44 ст/б [15:25:12]line 1.000 * 120.00 [15:25:12]line = 120.00 [15:25:12]line НДС 12% НСП 1% [15:25:12]line > о реализуемом товаре [15:25:12]line ИТОГО: 165.00 [15:25:12]line НСП 1% : 1.46 [15:25:12]line НДС 12% : 17.52 [15:25:12]line Наличными: 165.00 [15:25:12]line Безнал.: 0.00 [15:25:12]line Место: АЗС № 116 "Партнер Нефть" [15:25:12]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [15:25:12]line СНО: Общий режим [15:25:12]line Чек 47 05.06.2024 15:25 [15:25:12]line Смена: 84 ФФД: 1.0 [15:25:12]line ЗНМ: 0300000233 [15:25:12]line РНМ: 0000000000145775 [15:25:12]line Версия ККМ: v1.0 [15:25:12]line ФМ: 0000000000959360 [15:25:12]line ФД: 4189 [15:25:12]line ФПД: 15883724499632 [15:25:12]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T152511&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4189&fm=15883724499632&tin=02508201610067®Number=0000000000145775&sum=16500 [15:25:12]line 0 [15:25:12]OFD Sender: Processing packet 4189 [packets to send 2, broken 1] [15:25:12]ProducePacketName [15:25:12]name=ofd_packets/00004189 [15:25:12]OFD Sender: To server: pG, [15:25:12]CommunicateWithHost lk.salyk.kg:30040 [15:25:12]ConnectInit lk.salyk.kg [15:25:12]written 0, free lines is 4095 [15:25:12]Connected sock=10 [15:25:12]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 84 01 00 00 45 8F 7C 01 6D C6 5A 03 01 00 03 00 70 01 1E 04 01 00 01 23 04 5C 00 8A 04 08 00 34 32 30 36 39 39 34 32 06 04 1D 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 20 46 72 65 73 68 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 23 04 62 00 8A 04 0D 00 34 36 30 30 36 38 32 30 32 39 38 33 30 06 04 1E 00 47 61 72 61 67 65 20 48 61 72 64 20 4C 65 6D 6F 6E 20 30 2C 34 34 20 D1 81 D1 82 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 2F 00 00 00 F4 03 04 00 57 83 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 5D 10 00 00 35 04 06 00 0E 72 37 C1 AA B0 68 2A A4 44 AA E7 40 A3 [15:25:13]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 88 B4 47 00 74 83 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 5D 10 00 00 F4 03 04 00 55 2F 60 66 B6 04 01 00 00 44 79 63 96 DF BF 17 07 [15:25:13]CommunicateWithHost err = 0 [15:25:13]CheckOFDResponse [15:25:13]1017 (14) - 77093643461234 [15:25:13]1041 (16) - 0000000000959360 [15:25:13]1040 (4) - 4189 [15:25:13]1012 (4) - 05.06.2024 09:26 [15:25:13]1206 (1) - 0 [15:25:13]OFD Sender: Remove packet 4189 [15:25:13]ProducePacketName [15:25:13]name=ofd_packets/00004189 [15:25:13]NVStorageDeleteData [15:25:13]Write to MH i2c: 01 00 00 41 09 4A [15:25:13]Write i2c OK [15:25:13]MH_I2C_Read... [15:25:13]Read from MH i2c: 01 [15:25:13]MH_I2C_Read... [15:25:13]Read from MH i2c: 01 07 00 [15:25:13]MH_I2C_Read... [15:25:13]Read from MH i2c: 01 07 00 41 09 00 00 00 00 00 55 0C B2 [15:25:13]RasterBufferAndPrint [15:25:13]line [15:25:13]line [15:25:13]line [15:25:13]line [15:25:13]line [15:25:13]written 0, free lines is 3164 [15:25:13]MH_Cut [15:25:13]Write to MH i2c: D1 01 00 48 09 01 23 [15:25:13]Write i2c OK [15:25:13]MH_I2C_Read... [15:25:13]Read from MH i2c: D1 [15:25:13]MH_I2C_Read... [15:25:13]Read from MH i2c: D1 01 00 [15:25:13]MH_I2C_Read... [15:25:13]Read from MH i2c: D1 01 00 48 09 00 22 [15:25:13]Write to MH i2c: 01 00 00 49 09 52 [15:25:13]Write i2c OK [15:25:13]MH_I2C_Read... [15:25:13]OFD Sender: No OFD packet to send [15:25:14]*** Cut start [15:25:14]*** Partial cut [15:25:14]*** CUTSNS_PIN = 1 [15:25:14]*** CUTSNS_PIN = 0 [15:25:14]*** Brake cut motor [15:25:14]Read from MH i2c: 01 [15:25:14]MH_I2C_Read... [15:25:14]*** Stop cut motor [15:25:14]*** Cut end [15:25:14]Read from MH i2c: 01 07 00 [15:25:14]MH_I2C_Read... [15:25:14]Read from MH i2c: 01 07 00 49 09 00 00 00 00 00 FF 0F 67 [15:25:14]process_action close_receipt done [15:25:14]requested_data is exist [15:25:14]produce_requested_data [15:25:14]requested_item fm.sn is exist - process it [15:25:14]wFMCommunicate request_size=4 [15:25:14]MH_SAM_APDU [15:25:14]CAPDU: 80 11 00 00 [15:25:14]Write to MH i2c: E2 08 00 4A 09 80 11 00 00 00 00 00 00 CD [15:25:14]Write i2c OK [15:25:14]MH_I2C_Read... [15:25:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:25:14]Read from MH i2c: E2 [15:25:14]MH_I2C_Read... [15:25:14]Read from MH i2c: E2 17 00 [15:25:14]MH_I2C_Read... [15:25:14]Read from MH i2c: E2 17 00 4A 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 20 [15:25:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [15:25:14]wFMCommunicate OK [15:25:14]requested_item fd.num is exist - process it [15:25:14]SAM_PROTO_GetFieldsCounters [15:25:14]wFMCommunicate request_size=4 [15:25:14]MH_SAM_APDU [15:25:14]CAPDU: 80 13 00 00 [15:25:14]Write to MH i2c: E2 08 00 4B 09 80 13 00 00 00 00 00 00 D0 [15:25:14]Write i2c OK [15:25:14]MH_I2C_Read... [15:25:15]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:25:15]Read from MH i2c: E2 [15:25:15]MH_I2C_Read... [15:25:15]Read from MH i2c: E2 62 00 [15:25:15]MH_I2C_Read... [15:25:15]Read from MH i2c: E2 62 00 4B 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 5D 10 00 00 0E 04 04 00 54 00 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 43 [15:25:15]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 5D 10 00 00 0E 04 04 00 54 00 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:25:15]wFMCommunicate OK [15:25:15]SAM_PROTO_GetFieldsCounters done [15:25:15]requested_item shift.num is exist - process it [15:25:15]requested_item shift.opened is exist - process it [15:25:15]req_shift_opened [15:25:15]FM_GetShiftState [15:25:15]SAM_PROTO_GetShiftState [15:25:15]wFMCommunicate request_size=4 [15:25:15]MH_SAM_APDU [15:25:15]CAPDU: 80 13 01 00 [15:25:15]Write to MH i2c: E2 08 00 4C 09 80 13 01 00 00 00 00 00 D2 [15:25:15]Write i2c OK [15:25:15]MH_I2C_Read... [15:25:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:25:15]Read from MH i2c: E2 [15:25:15]MH_I2C_Read... [15:25:15]Read from MH i2c: E2 0E 00 [15:25:15]MH_I2C_Read... [15:25:15]Read from MH i2c: E2 0E 00 4C 09 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 73 [15:25:15]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [15:25:15]wFMCommunicate OK [15:25:15]SAM_PROTO_GetShiftState done [15:25:15]FM_GetShiftState done [15:25:15]req_shift_opened done [15:25:15]requested_item shift.open_date is exist - process it [15:25:15]req_shift_open_date [15:25:15]req_shift_open_date done [15:25:15]produce_requested_data done [15:25:15]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4189,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765} [15:25:15]process_action_free close_receipt [15:25:15]json_value_free [15:25:15]json_value_free done [15:25:15]process_json_proto returns [15:25:15]Send response to host [15:25:15]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4189,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765}}} [15:25:15]free response buf [15:25:15]execute_script done [15:25:15]execute_script returns [15:25:15]free content buf [15:25:15]Sock 9.Close socket [15:25:15]Sock 9.Thread stoped [15:25:18]OFD Sender: No OFD packet to send [15:25:23]OFD Sender: No OFD packet to send [15:25:28]OFD Sender: No OFD packet to send [15:25:33]OFD Sender: No OFD packet to send [15:25:38]OFD Sender: No OFD packet to send [15:25:43]OFD Sender: No OFD packet to send [15:25:48]OFD Sender: No OFD packet to send [15:25:53]OFD Sender: No OFD packet to send [15:25:58]OFD Sender: No OFD packet to send [15:26:03]OFD Sender: No OFD packet to send [15:26:08]OFD Sender: No OFD packet to send [15:26:13]OFD Sender: No OFD packet to send [15:26:18]OFD Sender: No OFD packet to send [15:26:23]OFD Sender: No OFD packet to send [15:26:28]OFD Sender: No OFD packet to send [15:26:33]OFD Sender: No OFD packet to send [15:26:38]OFD Sender: No OFD packet to send [15:26:43]OFD Sender: No OFD packet to send [15:26:48]OFD Sender: No OFD packet to send [15:26:53]OFD Sender: No OFD packet to send [15:26:58]OFD Sender: No OFD packet to send [15:27:03]OFD Sender: No OFD packet to send [15:27:08]OFD Sender: No OFD packet to send [15:27:13]OFD Sender: No OFD packet to send [15:27:18]OFD Sender: No OFD packet to send [15:27:23]OFD Sender: No OFD packet to send [15:27:28]OFD Sender: No OFD packet to send [15:27:33]OFD Sender: No OFD packet to send [15:27:38]OFD Sender: No OFD packet to send [15:27:43]OFD Sender: No OFD packet to send [15:27:48]OFD Sender: No OFD packet to send [15:27:53]OFD Sender: No OFD packet to send [15:27:58]OFD Sender: No OFD packet to send [15:28:03]OFD Sender: No OFD packet to send [15:28:08]OFD Sender: No OFD packet to send [15:28:13]OFD Sender: No OFD packet to send [15:28:18]OFD Sender: No OFD packet to send [15:28:21]accept exits with 8 [15:28:21]New connection [15:28:21]New thread 3066604900 created [15:28:21]Thread 3066748260 joined [15:28:21]Waiting for new connection... [15:28:21] Sock 8.Parse request [15:28:21]Sock 8.Check first char [15:28:21]Sock 8.First char is OK [15:28:21]request: POST /json_proto HTTP/1.0 [15:28:21]Method: POST [15:28:21]URL: /json_proto [15:28:21]Method is POST - this is cgi request [15:28:21]url: /json_proto [15:28:21]query_string will be loaded in cgi processing [15:28:21]execute_cgi json_proto POST (null) [15:28:21]execute_cgi path=json_proto method=POST [15:28:21]POST find Content-Length [15:28:21]Host: 172.17.56.68:8080 [15:28:21]Content-Length: 890 [15:28:21]Content-Type: application/json [15:28:21] [15:28:21]POST finish read [15:28:21]Found Content-Length = 890 [15:28:21]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4443", "tax_sys" : 0, "items" : [ { "code": "4870235681376", "name": "\u0427\u0418\u041F\u0421\u042B SLANG \u0421\u041E \u0412\u041A\u0423\u0421\u041E\u041C \u041A\u0420\u0410\u0411 60\u0413", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4600682029830", "name": "Garage Hard Lemon 0,44 \u0441\u0442/\u0431", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 215.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:28:21]execute_script... [15:28:21]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4443", "tax_sys" : 0, "items" : [ { "code": "4870235681376", "name": "\u0427\u0418\u041F\u0421\u042B SLANG \u0421\u041E \u0412\u041A\u0423\u0421\u041E\u041C \u041A\u0420\u0410\u0411 60\u0413", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4600682029830", "name": "Garage Hard Lemon 0,44 \u0441\u0442/\u0431", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 215.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:28:21]POST & json_proto [15:28:21]process_json_proto [15:28:21]json parsed OK: [15:28:21]protocol is kg_v1.0 [15:28:21]action value=close_receipt [15:28:21]process_action close_receipt [15:28:21]cmd_close_receipt [15:28:21]MH_GetDate [15:28:21]Write to MH i2c: F0 00 00 4D 09 45 [15:28:21]Write i2c OK [15:28:21]MH_I2C_Read... [15:28:21]Read from MH i2c: F0 [15:28:21]MH_I2C_Read... [15:28:21]Read from MH i2c: F0 09 00 [15:28:21]MH_I2C_Read... [15:28:21]Read from MH i2c: F0 09 00 4D 09 00 16 84 60 66 42 69 5C 66 1B [15:28:21]GetLastDocTimeStamp 1717601111 [15:28:21]current date 1717601302 [15:28:21]FM_GetShiftState [15:28:21]SAM_PROTO_GetShiftState [15:28:21]wFMCommunicate request_size=4 [15:28:21]MH_SAM_APDU [15:28:21]CAPDU: 80 13 01 00 [15:28:21]Write to MH i2c: E2 08 00 4E 09 80 13 01 00 00 00 00 00 D4 [15:28:21]Write i2c OK [15:28:21]MH_I2C_Read... [15:28:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:28:21]Read from MH i2c: E2 [15:28:21]MH_I2C_Read... [15:28:21]Read from MH i2c: E2 0E 00 [15:28:21]MH_I2C_Read... [15:28:21]Read from MH i2c: E2 0E 00 4E 09 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 75 [15:28:21]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [15:28:21]wFMCommunicate OK [15:28:21]SAM_PROTO_GetShiftState done [15:28:21]FM_GetShiftState done [15:28:21]opened in 1717545765 [15:28:21]opened+sec_in_day 1717632165 [15:28:21]quantity*price = 9500 [15:28:21]sum+1 = 9501 [15:28:21]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4600682029830 Garage Hard Lemon 0,44 ст/б 1.000 * 120.00 = 120.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 215.00 НСП 1% : 1.90 НДС 12% : 22.83 Наличными: 215.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 48 05.06.2024 15:28 Смена: 84 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4190 ФПД: 273006943848013 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T152822&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4190&fm=273006943848013&tin=02508201610067®Number=0000000000145775&sum=21500 0 [15:28:22]StoreToDocumentArchive [15:28:22]shift 84 fd 4190 [15:28:22]save to /storage/0084/doc_00004190 [15:28:22]save last doc name /storage/0084/doc_00004190 to /storage/kkm_last_doc_name [15:28:22]save OK [15:28:22]Clear old archive folders... [15:28:22]ProcessDocumentItem done err = 0, tmpTLVsize=392 [15:28:22]tlvbuf is 013169C0 [15:28:22]SAM_PROTO_ClearQueue [15:28:22]wFMCommunicate request_size=4 [15:28:22]MH_SAM_APDU [15:28:22]CAPDU: 80 09 00 00 [15:28:22]Write to MH i2c: E2 08 00 5B 09 80 09 00 00 00 00 00 00 D6 [15:28:22]Write i2c OK [15:28:22]MH_I2C_Read... [15:28:22]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:28:22]Read from MH i2c: E2 [15:28:22]MH_I2C_Read... [15:28:22]Read from MH i2c: E2 03 00 [15:28:22]MH_I2C_Read... [15:28:22]Read from MH i2c: E2 03 00 5B 09 00 90 00 D8 [15:28:22]RAPDU: 90 00 [15:28:22]wFMCommunicate OK [15:28:22]SAM_PROTO_ClearQueue done [15:28:22]KKMCreateOFDPacket [15:28:22]OFDProtocolAddRootSTLVToBuf [15:28:22]FM_MakeSignedData [15:28:22]FM_MakeSignedData [15:28:22]SAM_PROTO_SignData [15:28:22]wFMCommunicate request_size=4 [15:28:22]MH_SAM_APDU [15:28:22]CAPDU: 80 0D 01 02 [15:28:22]Write to MH i2c: E2 08 00 5C 09 80 0D 01 02 00 00 00 00 DE [15:28:22]Write i2c OK [15:28:22]MH_I2C_Read... [15:28:22]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:28:22]Read from MH i2c: E2 [15:28:22]MH_I2C_Read... [15:28:22]Read from MH i2c: E2 03 00 [15:28:22]MH_I2C_Read... [15:28:22]Read from MH i2c: E2 03 00 5C 09 00 90 00 D9 [15:28:22]RAPDU: 90 00 [15:28:22]wFMCommunicate OK [15:28:22]wFMCommunicate request_size=255 [15:28:22]MH_SAM_APDU [15:28:22]CAPDU: 80 0D 02 02 FA 03 00 88 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 34 38 37 30 32 33 35 36 38 31 33 37 36 06 04 30 00 D0 A7 D0 98 D0 9F D0 A1 D0 AB 20 53 4C 41 4E 47 20 D0 A1 D0 9E 20 D0 92 D0 9A D0 A3 D0 A1 D0 9E D0 9C 20 D0 9A D0 A0 D0 90 D0 91 20 36 30 D0 93 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 30 30 36 38 32 30 32 39 38 33 30 06 04 1E 00 47 61 72 61 67 65 20 48 61 72 64 20 4C 65 6D 6F 6E 20 30 2C 34 34 20 D1 81 D1 82 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 FC 53 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 [15:28:22]Write to MH i2c: E2 02 01 5D 09 80 0D 02 02 FA 00 03 00 88 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 34 38 37 30 32 33 35 36 38 31 33 37 36 06 04 30 00 D0 A7 D0 98 D0 9F D0 A1 D0 AB 20 53 4C 41 4E 47 20 D0 A1 D0 9E 20 D0 92 D0 9A D0 A3 D0 A1 D0 9E D0 9C 20 D0 9A D0 A0 D0 90 D0 91 20 36 30 D0 93 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 30 30 36 38 32 30 32 39 38 33 30 06 04 1E 00 47 61 72 61 67 65 20 48 61 72 64 20 4C 65 6D 6F 6E 20 30 2C 34 34 20 D1 81 D1 82 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 FC 53 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 00 00 14 [15:28:22]Write i2c OK [15:28:22]MH_I2C_Read... [15:28:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:28:23]Read from MH i2c: E2 [15:28:23]MH_I2C_Read... [15:28:23]Read from MH i2c: E2 03 00 [15:28:23]MH_I2C_Read... [15:28:23]Read from MH i2c: E2 03 00 5D 09 00 90 00 DA [15:28:23]RAPDU: 90 00 [15:28:23]wFMCommunicate OK [15:28:23]wFMCommunicate request_size=151 [15:28:23]MH_SAM_APDU [15:28:23]CAPDU: 80 0D 02 02 92 03 01 00 01 F7 03 06 00 BE 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EB 08 00 00 00 00 07 04 06 00 FC 53 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 16 84 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 5E 10 00 00 35 04 06 00 F8 4C 61 E8 C6 4D [15:28:23]Write to MH i2c: E2 9A 00 5E 09 80 0D 02 02 92 00 03 01 00 01 F7 03 06 00 BE 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EB 08 00 00 00 00 07 04 06 00 FC 53 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 16 84 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 5E 10 00 00 35 04 06 00 F8 4C 61 E8 C6 4D 00 00 2D [15:28:23]Write i2c OK [15:28:23]MH_I2C_Read... [15:28:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:28:23]Read from MH i2c: E2 [15:28:23]MH_I2C_Read... [15:28:23]Read from MH i2c: E2 03 00 [15:28:23]MH_I2C_Read... [15:28:23]Read from MH i2c: E2 03 00 5E 09 00 90 00 DB [15:28:23]RAPDU: 90 00 [15:28:23]wFMCommunicate OK [15:28:23]wFMCommunicate request_size=4 [15:28:23]MH_SAM_APDU [15:28:23]CAPDU: 80 0D 03 02 [15:28:23]Write to MH i2c: E2 08 00 5F 09 80 0D 03 02 00 00 00 00 E3 [15:28:23]Write i2c OK [15:28:23]MH_I2C_Read... [15:28:23]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:28:23]Read from MH i2c: E2 [15:28:23]MH_I2C_Read... [15:28:23]Read from MH i2c: E2 0B 00 [15:28:23]MH_I2C_Read... [15:28:23]Read from MH i2c: E2 0B 00 5F 09 00 2F 7C 73 8F 5C 25 8F AC 90 00 4D [15:28:23]RAPDU: 2F 7C 73 8F 5C 25 8F AC 90 00 [15:28:23]wFMCommunicate OK [15:28:23]SAM_PROTO_SignData done [15:28:23]FM_MakeSignedData done [15:28:23]CreateOFDProtocolMessage [15:28:23]wFMCommunicate request_size=4 [15:28:23]MH_SAM_APDU [15:28:23]CAPDU: 80 11 00 00 [15:28:23]Write to MH i2c: E2 08 00 60 09 80 11 00 00 00 00 00 00 E3 [15:28:23]Write i2c OK [15:28:23]MH_I2C_Read... [15:28:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:28:23]Read from MH i2c: E2 [15:28:23]MH_I2C_Read... [15:28:23]Read from MH i2c: E2 17 00 [15:28:23]MH_I2C_Read... [15:28:23]Read from MH i2c: E2 17 00 60 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 36 [15:28:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [15:28:23]wFMCommunicate OK [15:28:23]CreateOFDProtocolMessage done [15:28:23]OFDSenderStorePacket 4190 [15:28:23]StoreOFDPacket docnum=4190 [15:28:23]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 9C 01 00 00 05 B8 94 01 AE 26 5A 03 01 00 03 00 88 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 34 38 37 30 32 33 35 36 38 31 33 37 36 06 04 30 00 D0 A7 D0 98 D0 9F D0 A1 D0 AB 20 53 4C 41 4E 47 20 D0 A1 D0 9E 20 D0 92 D0 9A D0 A3 D0 A1 D0 9E D0 9C 20 D0 9A D0 A0 D0 90 D0 91 20 36 30 D0 93 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 30 30 36 38 32 30 32 39 38 33 30 06 04 1E 00 47 61 72 61 67 65 20 48 61 72 64 20 4C 65 6D 6F 6E 20 30 2C 34 34 20 D1 81 D1 82 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 FC 53 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BE 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EB 08 00 00 00 00 07 04 06 00 FC 53 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 16 84 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 5E 10 00 00 35 04 06 00 F8 4C 61 E8 C6 4D 2F 7C 73 8F 5C 25 8F AC [15:28:23]CheckFolder [15:28:23]dirname=/storage/ofd_packets [15:28:23]CheckFolder done [15:28:23]ProducePacketName [15:28:23]name=ofd_packets/00004190 [15:28:23]NVStorageSaveData ofd_packets/00004190 [15:28:23]File name is /storage/ofd_packets/00004190 [15:28:23]Write 442 bytes [15:28:23]NVStorageSaveData done [15:28:23]OFDSenderStorePacket done [15:28:23]KKMCreateOFDPacket done [15:28:23]NVStorageSaveData kkm_last_timestamp [15:28:23]File name is /storage/kkm_last_timestamp [15:28:23]Write 4 bytes [15:28:23]NVStorageSaveData done [15:28:23]ExternCall_PrintAddStr [15:28:23]wPrintStart [15:28:23]Write to MH i2c: 01 00 00 61 09 6A [15:28:23]Write i2c OK [15:28:23]MH_I2C_Read... [15:28:23]Read from MH i2c: 01 [15:28:23]MH_I2C_Read... [15:28:23]Read from MH i2c: 01 07 00 [15:28:23]MH_I2C_Read... [15:28:23]Read from MH i2c: 01 07 00 61 09 00 00 00 00 00 FF 0F 7F [15:28:23]RasterBufferAndPrint [15:28:23]line Счет N : (3)4443 [15:28:23]line ИНН: 02508201610067 [15:28:23]line Контрольно-Кассовый Чек [15:28:23]line ПРОДАЖА [15:28:23]line Товар: 4870235681376 [15:28:23]line ЧИПСЫ SLANG СО ВКУСОМ КРАБ 60Г [15:28:23]line 1.000 * 95.00 [15:28:23]line = 95.00 [15:28:23]line НДС 12% НСП 1% [15:28:23]line > о реализуемом товаре [15:28:23]line Товар: 4600682029830 [15:28:23]line Garage Hard Lemon 0,44 ст/б [15:28:23]line 1.000 * 120.00 [15:28:23]line = 120.00 [15:28:23]line НДС 12% НСП 1% [15:28:23]line > о реализуемом товаре [15:28:23]line ИТОГО: 215.00 [15:28:23]line НСП 1% : 1.90 [15:28:23]line НДС 12% : 22.83 [15:28:23]line Наличными: 215.00 [15:28:23]line Безнал.: 0.00 [15:28:23]line Место: АЗС № 116 "Партнер Нефть" [15:28:23]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [15:28:23]line СНО: Общий режим [15:28:23]line Чек 48 05.06.2024 15:28 [15:28:23]line Смена: 84 ФФД: 1.0 [15:28:23]line ЗНМ: 0300000233 [15:28:23]line РНМ: 0000000000145775 [15:28:23]line Версия ККМ: v1.0 [15:28:23]line ФМ: 0000000000959360 [15:28:23]line ФД: 4190 [15:28:23]line ФПД: 273006943848013 [15:28:23]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T152822&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4190&fm=273006943848013&tin=02508201610067®Number=0000000000145775&sum=21500 [15:28:23]line 0 [15:28:23]OFD Sender: Processing packet 4190 [packets to send 2, broken 1] [15:28:23]ProducePacketName [15:28:23]name=ofd_packets/00004190 [15:28:23]OFD Sender: To server: pG, [15:28:23]CommunicateWithHost lk.salyk.kg:30040 [15:28:23]ConnectInit lk.salyk.kg [15:28:23]written 0, free lines is 4095 [15:28:23]Connected sock=10 [15:28:23]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 9C 01 00 00 05 B8 94 01 AE 26 5A 03 01 00 03 00 88 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 34 38 37 30 32 33 35 36 38 31 33 37 36 06 04 30 00 D0 A7 D0 98 D0 9F D0 A1 D0 AB 20 53 4C 41 4E 47 20 D0 A1 D0 9E 20 D0 92 D0 9A D0 A3 D0 A1 D0 9E D0 9C 20 D0 9A D0 A0 D0 90 D0 91 20 36 30 D0 93 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 30 30 36 38 32 30 32 39 38 33 30 06 04 1E 00 47 61 72 61 67 65 20 48 61 72 64 20 4C 65 6D 6F 6E 20 30 2C 34 34 20 D1 81 D1 82 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 FC 53 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BE 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EB 08 00 00 00 00 07 04 06 00 FC 53 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 16 84 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 5E 10 00 00 35 04 06 00 F8 4C 61 E8 C6 4D 2F 7C 73 8F 5C 25 8F AC [15:28:23]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 1F D0 47 00 50 F4 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 5E 10 00 00 F4 03 04 00 14 30 60 66 B6 04 01 00 00 D4 0D 48 60 9D CD 31 1F [15:28:23]CommunicateWithHost err = 0 [15:28:23]CheckOFDResponse [15:28:23]1017 (14) - 77093643461234 [15:28:23]1041 (16) - 0000000000959360 [15:28:23]1040 (4) - 4190 [15:28:23]1012 (4) - 05.06.2024 09:29 [15:28:23]1206 (1) - 0 [15:28:23]OFD Sender: Remove packet 4190 [15:28:23]ProducePacketName [15:28:23]name=ofd_packets/00004190 [15:28:23]NVStorageDeleteData [15:28:24]Write to MH i2c: 01 00 00 90 09 99 [15:28:24]Write i2c OK [15:28:24]MH_I2C_Read... [15:28:24]Read from MH i2c: 01 [15:28:24]MH_I2C_Read... [15:28:24]Read from MH i2c: 01 07 00 [15:28:24]MH_I2C_Read... [15:28:24]Read from MH i2c: 01 07 00 90 09 00 00 00 00 00 4C 0C F8 [15:28:24]RasterBufferAndPrint [15:28:24]line [15:28:24]line [15:28:24]line [15:28:24]line [15:28:24]line [15:28:24]written 0, free lines is 3153 [15:28:24]MH_Cut [15:28:24]Write to MH i2c: D1 01 00 97 09 01 72 [15:28:24]Write i2c OK [15:28:24]MH_I2C_Read... [15:28:24]Read from MH i2c: D1 [15:28:24]MH_I2C_Read... [15:28:24]Read from MH i2c: D1 01 00 [15:28:24]MH_I2C_Read... [15:28:24]Read from MH i2c: D1 01 00 97 09 00 71 [15:28:24]Write to MH i2c: 01 00 00 98 09 A1 [15:28:24]Write i2c OK [15:28:24]MH_I2C_Read... [15:28:24]OFD Sender: No OFD packet to send [15:28:25]*** Cut start [15:28:25]*** Partial cut [15:28:25]*** CUTSNS_PIN = 1 [15:28:25]*** CUTSNS_PIN = 0 [15:28:25]*** Brake cut motor [15:28:25]Read from MH i2c: 01 [15:28:25]MH_I2C_Read... [15:28:25]*** Stop cut motor [15:28:25]*** Cut end [15:28:25]Read from MH i2c: 01 07 00 [15:28:25]MH_I2C_Read... [15:28:25]Read from MH i2c: 01 07 00 98 09 00 00 00 00 00 FF 0F B6 [15:28:25]process_action close_receipt done [15:28:25]requested_data is exist [15:28:25]produce_requested_data [15:28:25]requested_item fm.sn is exist - process it [15:28:25]wFMCommunicate request_size=4 [15:28:25]MH_SAM_APDU [15:28:25]CAPDU: 80 11 00 00 [15:28:25]Write to MH i2c: E2 08 00 99 09 80 11 00 00 00 00 00 00 1C [15:28:25]Write i2c OK [15:28:25]MH_I2C_Read... [15:28:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:28:25]Read from MH i2c: E2 [15:28:25]MH_I2C_Read... [15:28:25]Read from MH i2c: E2 17 00 [15:28:25]MH_I2C_Read... [15:28:25]Read from MH i2c: E2 17 00 99 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 6F [15:28:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [15:28:25]wFMCommunicate OK [15:28:25]requested_item fd.num is exist - process it [15:28:25]SAM_PROTO_GetFieldsCounters [15:28:25]wFMCommunicate request_size=4 [15:28:25]MH_SAM_APDU [15:28:25]CAPDU: 80 13 00 00 [15:28:25]Write to MH i2c: E2 08 00 9A 09 80 13 00 00 00 00 00 00 1F [15:28:25]Write i2c OK [15:28:25]MH_I2C_Read... [15:28:26]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:28:26]Read from MH i2c: E2 [15:28:26]MH_I2C_Read... [15:28:26]Read from MH i2c: E2 62 00 [15:28:26]MH_I2C_Read... [15:28:26]Read from MH i2c: E2 62 00 9A 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 5E 10 00 00 0E 04 04 00 54 00 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 96 [15:28:26]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 5E 10 00 00 0E 04 04 00 54 00 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:28:26]wFMCommunicate OK [15:28:26]SAM_PROTO_GetFieldsCounters done [15:28:26]requested_item shift.num is exist - process it [15:28:26]requested_item shift.opened is exist - process it [15:28:26]req_shift_opened [15:28:26]FM_GetShiftState [15:28:26]SAM_PROTO_GetShiftState [15:28:26]wFMCommunicate request_size=4 [15:28:26]MH_SAM_APDU [15:28:26]CAPDU: 80 13 01 00 [15:28:26]Write to MH i2c: E2 08 00 9B 09 80 13 01 00 00 00 00 00 21 [15:28:26]Write i2c OK [15:28:26]MH_I2C_Read... [15:28:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:28:26]Read from MH i2c: E2 [15:28:26]MH_I2C_Read... [15:28:26]Read from MH i2c: E2 0E 00 [15:28:26]MH_I2C_Read... [15:28:26]Read from MH i2c: E2 0E 00 9B 09 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 C2 [15:28:26]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [15:28:26]wFMCommunicate OK [15:28:26]SAM_PROTO_GetShiftState done [15:28:26]FM_GetShiftState done [15:28:26]req_shift_opened done [15:28:26]requested_item shift.open_date is exist - process it [15:28:26]req_shift_open_date [15:28:26]req_shift_open_date done [15:28:26]produce_requested_data done [15:28:26]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4190,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765} [15:28:26]process_action_free close_receipt [15:28:26]json_value_free [15:28:26]json_value_free done [15:28:26]process_json_proto returns [15:28:26]Send response to host [15:28:26]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4190,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765}}} [15:28:26]free response buf [15:28:26]execute_script done [15:28:26]execute_script returns [15:28:26]free content buf [15:28:26]Sock 8.Close socket [15:28:26]Sock 8.Thread stoped [15:28:29]OFD Sender: No OFD packet to send [15:28:34]OFD Sender: No OFD packet to send [15:28:39]OFD Sender: No OFD packet to send [15:28:44]OFD Sender: No OFD packet to send [15:28:49]OFD Sender: No OFD packet to send [15:28:54]OFD Sender: No OFD packet to send [15:28:59]OFD Sender: No OFD packet to send [15:29:04]OFD Sender: No OFD packet to send [15:29:09]OFD Sender: No OFD packet to send [15:29:14]OFD Sender: No OFD packet to send [15:29:19]OFD Sender: No OFD packet to send [15:29:24]OFD Sender: No OFD packet to send [15:29:29]OFD Sender: No OFD packet to send [15:29:34]OFD Sender: No OFD packet to send [15:29:39]OFD Sender: No OFD packet to send [15:29:44]OFD Sender: No OFD packet to send [15:29:49]OFD Sender: No OFD packet to send [15:29:54]OFD Sender: No OFD packet to send [15:29:59]OFD Sender: No OFD packet to send [15:30:04]OFD Sender: No OFD packet to send [15:30:09]OFD Sender: No OFD packet to send [15:30:14]OFD Sender: No OFD packet to send [15:30:19]OFD Sender: No OFD packet to send [15:30:24]OFD Sender: No OFD packet to send [15:30:29]OFD Sender: No OFD packet to send [15:30:34]OFD Sender: No OFD packet to send [15:30:39]OFD Sender: No OFD packet to send [15:30:44]OFD Sender: No OFD packet to send [15:30:49]OFD Sender: No OFD packet to send [15:30:54]OFD Sender: No OFD packet to send [15:30:59]OFD Sender: No OFD packet to send [15:31:04]OFD Sender: No OFD packet to send [15:31:09]OFD Sender: No OFD packet to send [15:31:14]OFD Sender: No OFD packet to send [15:31:19]OFD Sender: No OFD packet to send [15:31:24]OFD Sender: No OFD packet to send [15:31:29]OFD Sender: No OFD packet to send [15:31:34]OFD Sender: No OFD packet to send [15:31:39]OFD Sender: No OFD packet to send [15:31:44]OFD Sender: No OFD packet to send [15:31:49]OFD Sender: No OFD packet to send [15:31:54]OFD Sender: No OFD packet to send [15:31:59]OFD Sender: No OFD packet to send [15:32:04]OFD Sender: No OFD packet to send [15:32:09]OFD Sender: No OFD packet to send [15:32:14]OFD Sender: No OFD packet to send [15:32:19]OFD Sender: No OFD packet to send [15:32:24]OFD Sender: No OFD packet to send [15:32:29]OFD Sender: No OFD packet to send [15:32:34]OFD Sender: No OFD packet to send [15:32:39]OFD Sender: No OFD packet to send [15:32:44]OFD Sender: No OFD packet to send [15:32:49]OFD Sender: No OFD packet to send [15:32:54]OFD Sender: No OFD packet to send [15:32:59]OFD Sender: No OFD packet to send [15:33:04]OFD Sender: No OFD packet to send [15:33:09]OFD Sender: No OFD packet to send [15:33:14]OFD Sender: No OFD packet to send [15:33:19]OFD Sender: No OFD packet to send [15:33:24]OFD Sender: No OFD packet to send [15:33:29]OFD Sender: No OFD packet to send [15:33:34]OFD Sender: No OFD packet to send [15:33:39]OFD Sender: No OFD packet to send [15:33:44]OFD Sender: No OFD packet to send [15:33:49]OFD Sender: No OFD packet to send [15:33:54]OFD Sender: No OFD packet to send [15:33:59]OFD Sender: No OFD packet to send [15:34:04]OFD Sender: No OFD packet to send [15:34:09]OFD Sender: No OFD packet to send [15:34:14]OFD Sender: No OFD packet to send [15:34:19]OFD Sender: No OFD packet to send [15:34:24]OFD Sender: No OFD packet to send [15:34:29]OFD Sender: No OFD packet to send [15:34:34]OFD Sender: No OFD packet to send [15:34:39]OFD Sender: No OFD packet to send [15:34:44]OFD Sender: No OFD packet to send [15:34:49]OFD Sender: No OFD packet to send [15:34:54]OFD Sender: No OFD packet to send [15:34:59]OFD Sender: No OFD packet to send [15:35:04]OFD Sender: No OFD packet to send [15:35:09]OFD Sender: No OFD packet to send [15:35:14]OFD Sender: No OFD packet to send [15:35:19]OFD Sender: No OFD packet to send [15:35:24]OFD Sender: No OFD packet to send [15:35:29]OFD Sender: No OFD packet to send [15:35:34]OFD Sender: No OFD packet to send [15:35:39]OFD Sender: No OFD packet to send [15:35:44]OFD Sender: No OFD packet to send [15:35:49]OFD Sender: No OFD packet to send [15:35:54]OFD Sender: No OFD packet to send [15:35:59]OFD Sender: No OFD packet to send [15:36:04]OFD Sender: No OFD packet to send [15:36:09]OFD Sender: No OFD packet to send [15:36:14]OFD Sender: No OFD packet to send [15:36:19]OFD Sender: No OFD packet to send [15:36:24]OFD Sender: No OFD packet to send [15:36:29]OFD Sender: No OFD packet to send [15:36:34]OFD Sender: No OFD packet to send [15:36:39]OFD Sender: No OFD packet to send [15:36:44]OFD Sender: No OFD packet to send [15:36:49]OFD Sender: No OFD packet to send [15:36:54]OFD Sender: No OFD packet to send [15:36:59]OFD Sender: No OFD packet to send [15:37:04]OFD Sender: No OFD packet to send [15:37:09]OFD Sender: No OFD packet to send [15:37:14]OFD Sender: No OFD packet to send [15:37:19]OFD Sender: No OFD packet to send [15:37:24]OFD Sender: No OFD packet to send [15:37:29]OFD Sender: No OFD packet to send [15:37:34]OFD Sender: No OFD packet to send [15:37:39]OFD Sender: No OFD packet to send [00:02:17]ConnectInit Can't connect to host [00:02:21]OFD Sender: No OFD packet to send [00:02:26]OFD Sender: No OFD packet to send [00:02:27]accept exits with 8 [00:02:27]New connection [00:02:27]New thread 3067092324 created [00:02:27]Thread 3066948964 joined [00:02:27]Waiting for new connection... [00:02:27] Sock 8.Parse request [00:02:27]Sock 8.Check first char [00:02:27]Sock 8.First char is OK [00:02:27]request: POST /json_proto HTTP/1.0 [00:02:27]Method: POST [00:02:27]URL: /json_proto [00:02:27]Method is POST - this is cgi request [00:02:27]url: /json_proto [00:02:27]query_string will be loaded in cgi processing [00:02:27]execute_cgi json_proto POST (null) [00:02:27]execute_cgi path=json_proto method=POST [00:02:27]POST find Content-Length [00:02:27]Host: 172.17.56.68:8080 [00:02:27]Content-Length: 215 [00:02:27]Content-Type: application/json [00:02:27] [00:02:27]POST finish read [00:02:27]Found Content-Length = 215 [00:02:27]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:02:27]execute_script... [00:02:27]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:02:27]POST & json_proto [00:02:27]process_json_proto [00:02:27]json parsed OK: [00:02:27]protocol is kg_v1.0 [00:02:27]action value=get_value [00:02:27]process_action get_value [00:02:27]cmd_get_value [00:02:27]process_action get_value done [00:02:27]requested_data is exist [00:02:27]produce_requested_data [00:02:27]requested_item kkm.sn is exist - process it [00:02:27]requested_item kkm.ver is exist - process it [00:02:27]requested_item fm.sn is exist - process it [00:02:27]wFMCommunicate request_size=4 [00:02:27]MH_SAM_APDU [00:02:27]CAPDU: 80 11 00 00 [00:02:27]Write to MH i2c: E2 08 00 1D 00 80 11 00 00 00 00 00 00 97 [00:02:27]Write i2c OK [00:02:27]MH_I2C_Read... [00:02:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:02:27]Read from MH i2c: E2 [00:02:27]MH_I2C_Read... [00:02:27]Read from MH i2c: E2 17 00 [00:02:27]MH_I2C_Read... [00:02:27]Read from MH i2c: E2 17 00 1D 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 EA [00:02:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [00:02:27]wFMCommunicate OK [00:02:27]requested_item fd.num is exist - process it [00:02:27]SAM_PROTO_GetFieldsCounters [00:02:27]wFMCommunicate request_size=4 [00:02:27]MH_SAM_APDU [00:02:27]CAPDU: 80 13 00 00 [00:02:27]Write to MH i2c: E2 08 00 1E 00 80 13 00 00 00 00 00 00 9A [00:02:27]Write i2c OK [00:02:27]MH_I2C_Read... [00:02:27]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:02:27]Read from MH i2c: E2 [00:02:27]MH_I2C_Read... [00:02:27]Read from MH i2c: E2 62 00 [00:02:27]MH_I2C_Read... [00:02:27]Read from MH i2c: E2 62 00 1E 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 5E 10 00 00 0E 04 04 00 54 00 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 11 [00:02:27]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 5E 10 00 00 0E 04 04 00 54 00 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 [00:02:27]wFMCommunicate OK [00:02:27]SAM_PROTO_GetFieldsCounters done [00:02:27]requested_item shift.num is exist - process it [00:02:27]requested_item shift.opened is exist - process it [00:02:27]req_shift_opened [00:02:27]FM_GetShiftState [00:02:27]SAM_PROTO_GetShiftState [00:02:27]wFMCommunicate request_size=4 [00:02:27]MH_SAM_APDU [00:02:27]CAPDU: 80 13 01 00 [00:02:27]Write to MH i2c: E2 08 00 1F 00 80 13 01 00 00 00 00 00 9C [00:02:27]Write i2c OK [00:02:27]MH_I2C_Read... [00:02:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:02:27]Read from MH i2c: E2 [00:02:27]MH_I2C_Read... [00:02:27]Read from MH i2c: E2 0E 00 [00:02:27]MH_I2C_Read... [00:02:27]Read from MH i2c: E2 0E 00 1F 00 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 3D [00:02:27]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [00:02:27]wFMCommunicate OK [00:02:27]SAM_PROTO_GetShiftState done [00:02:27]FM_GetShiftState done [00:02:27]req_shift_opened done [00:02:27]requested_item shift.open_date is exist - process it [00:02:27]req_shift_open_date [00:02:27]req_shift_open_date done [00:02:27]produce_requested_data done [00:02:27]produce_requested_data return {"kkm.sn":"0300000233","kkm.ver":"v1.0","fm.sn":"0000000000959360","fd.num":4190,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765} [00:02:27]process_action_free get_value [00:02:27]json_value_free [00:02:27]json_value_free done [00:02:27]process_json_proto returns [00:02:27]Send response to host [00:02:27]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000233","kkm.ver":"v1.0","fm.sn":"0000000000959360","fd.num":4190,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765}}} [00:02:27]free response buf [00:02:27]execute_script done [00:02:27]execute_script returns [00:02:27]free content buf [00:02:27]Sock 8.Close socket [00:02:27]Sock 8.Thread stoped [00:02:27]accept exits with 9 [00:02:27]New connection [00:02:27]New thread 3066948964 created [00:02:27]Thread 3067092324 joined [00:02:27]Waiting for new connection... [00:02:27] Sock 9.Parse request [00:02:27]Sock 9.Check first char [00:02:27]Sock 9.First char is OK [00:02:27]request: POST /json_proto HTTP/1.0 [00:02:27]Method: POST [00:02:27]URL: /json_proto [00:02:27]Method is POST - this is cgi request [00:02:27]url: /json_proto [00:02:27]query_string will be loaded in cgi processing [00:02:27]execute_cgi json_proto POST (null) [00:02:27]execute_cgi path=json_proto method=POST [00:02:27]POST find Content-Length [00:02:27]Host: 172.17.56.68:8080 [00:02:27]Content-Length: 331 [00:02:27]Content-Type: application/json [00:02:27] [00:02:27]POST finish read [00:02:27]Found Content-Length = 331 [00:02:27]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:02:27]execute_script... [00:02:27]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:02:27]POST & json_proto [00:02:27]process_json_proto [00:02:27]json parsed OK: [00:02:27]protocol is kg_v1.0 [00:02:27]action value=get_value [00:02:27]process_action get_value [00:02:27]cmd_get_value [00:02:27]process_action get_value done [00:02:27]requested_data is exist [00:02:27]produce_requested_data [00:02:27]requested_item fm.sale.total is exist - process it [00:02:27]SAM_PROTO_GetFMData [00:02:27]wFMCommunicate request_size=4 [00:02:27]MH_SAM_APDU [00:02:27]CAPDU: 80 13 03 00 [00:02:27]Write to MH i2c: E2 08 00 20 00 80 13 03 00 00 00 00 00 9F [00:02:27]Write i2c OK [00:02:27]MH_I2C_Read... [00:02:28]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:02:28]Read from MH i2c: E2 [00:02:28]MH_I2C_Read... [00:02:28]Read from MH i2c: E2 FD 00 [00:02:28]MH_I2C_Read... [00:02:28]Read from MH i2c: E2 FD 00 20 00 00 BB 04 85 04 B7 04 6E 04 04 00 B6 0F 00 00 69 04 9E 00 6F 04 04 00 AD 0F 00 00 B1 04 04 00 47 6E 91 05 70 04 04 00 18 FF A2 04 72 04 03 00 2F 6F EE 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 95 5E 97 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 52 9B 0C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 97 00 6F 04 04 00 09 00 00 00 B1 04 03 00 10 B1 02 70 04 03 00 10 B1 02 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 2C 49 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 23 [00:02:28]RAPDU: BB 04 85 04 B7 04 6E 04 04 00 B6 0F 00 00 69 04 9E 00 6F 04 04 00 AD 0F 00 00 B1 04 04 00 47 6E 91 05 70 04 04 00 18 FF A2 04 72 04 03 00 2F 6F EE 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 95 5E 97 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 52 9B 0C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 97 00 6F 04 04 00 09 00 00 00 B1 04 03 00 10 B1 02 70 04 03 00 10 B1 02 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 2C 49 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [00:02:28]wFMCommunicate OK [00:02:28]wFMCommunicate request_size=4 [00:02:28]MH_SAM_APDU [00:02:28]CAPDU: 80 17 00 00 [00:02:28]Write to MH i2c: E2 08 00 21 00 80 17 00 00 00 00 00 00 A1 [00:02:28]Write i2c OK [00:02:28]MH_I2C_Read... [00:02:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:02:28]Read from MH i2c: E2 [00:02:28]MH_I2C_Read... [00:02:28]Read from MH i2c: E2 FD 00 [00:02:28]MH_I2C_Read... [00:02:28]Read from MH i2c: E2 FD 00 21 00 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 18 06 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 69 [00:02:28]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 18 06 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:02:28]wFMCommunicate OK [00:02:28]wFMCommunicate request_size=4 [00:02:28]MH_SAM_APDU [00:02:28]CAPDU: 80 17 00 00 [00:02:28]Write to MH i2c: E2 08 00 22 00 80 17 00 00 00 00 00 00 A2 [00:02:28]Write i2c OK [00:02:28]MH_I2C_Read... [00:02:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:02:28]Read from MH i2c: E2 [00:02:28]MH_I2C_Read... [00:02:28]Read from MH i2c: E2 FD 00 [00:02:28]MH_I2C_Read... [00:02:28]Read from MH i2c: E2 FD 00 22 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 CE [00:02:28]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:02:28]wFMCommunicate OK [00:02:28]wFMCommunicate request_size=4 [00:02:28]MH_SAM_APDU [00:02:28]CAPDU: 80 17 00 00 [00:02:28]Write to MH i2c: E2 08 00 23 00 80 17 00 00 00 00 00 00 A3 [00:02:28]Write i2c OK [00:02:28]MH_I2C_Read... [00:02:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:02:28]Read from MH i2c: E2 [00:02:28]MH_I2C_Read... [00:02:28]Read from MH i2c: E2 FD 00 [00:02:28]MH_I2C_Read... [00:02:28]Read from MH i2c: E2 FD 00 23 00 00 00 00 EF 03 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 90 00 18 [00:02:28]RAPDU: 00 00 EF 03 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 90 00 [00:02:28]wFMCommunicate OK [00:02:28]wFMCommunicate request_size=4 [00:02:28]MH_SAM_APDU [00:02:28]CAPDU: 80 17 00 00 [00:02:28]Write to MH i2c: E2 08 00 24 00 80 17 00 00 00 00 00 00 A4 [00:02:28]Write i2c OK [00:02:28]MH_I2C_Read... [00:02:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [00:02:29]Read from MH i2c: E2 [00:02:29]MH_I2C_Read... [00:02:29]Read from MH i2c: E2 D8 00 [00:02:29]MH_I2C_Read... [00:02:29]Read from MH i2c: E2 D8 00 24 00 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 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 8B [00:02:29]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 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:02:29]wFMCommunicate OK [00:02:29]SAM_PROTO_GetFMData done [00:02:29]requested_item fm.sale_refund.total is exist - process it [00:02:29]requested_item fm.buy.total is exist - process it [00:02:29]requested_item shift.sale.total is exist - process it [00:02:29]SAM_PROTO_GetShiftData [00:02:29]wFMCommunicate request_size=4 [00:02:29]MH_SAM_APDU [00:02:29]CAPDU: 80 13 02 00 [00:02:29]Write to MH i2c: E2 08 00 25 00 80 13 02 00 00 00 00 00 A3 [00:02:29]Write i2c OK [00:02:29]MH_I2C_Read... [00:02:29]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:02:29]Read from MH i2c: E2 [00:02:29]MH_I2C_Read... [00:02:29]Read from MH i2c: E2 FD 00 [00:02:29]MH_I2C_Read... [00:02:29]Read from MH i2c: E2 FD 00 25 00 00 AE 04 AA 04 AA 04 6E 04 04 00 30 00 00 00 69 04 9B 00 6F 04 04 00 30 00 00 00 B1 04 03 00 4C 7E 0D 70 04 03 00 CC 8F 08 72 04 03 00 80 EE 04 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 D0 6E 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 8C 1E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 59 [00:02:29]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 30 00 00 00 69 04 9B 00 6F 04 04 00 30 00 00 00 B1 04 03 00 4C 7E 0D 70 04 03 00 CC 8F 08 72 04 03 00 80 EE 04 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 D0 6E 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 8C 1E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [00:02:29]wFMCommunicate OK [00:02:29]wFMCommunicate request_size=4 [00:02:29]MH_SAM_APDU [00:02:29]CAPDU: 80 17 00 00 [00:02:29]Write to MH i2c: E2 08 00 26 00 80 17 00 00 00 00 00 00 A6 [00:02:29]Write i2c OK [00:02:29]MH_I2C_Read... [00:02:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:02:29]Read from MH i2c: E2 [00:02:29]MH_I2C_Read... [00:02:29]Read from MH i2c: E2 FD 00 [00:02:29]MH_I2C_Read... [00:02:29]Read from MH i2c: E2 FD 00 26 00 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 C8 [00:02:29]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [00:02:29]wFMCommunicate OK [00:02:29]wFMCommunicate request_size=4 [00:02:29]MH_SAM_APDU [00:02:29]CAPDU: 80 17 00 00 [00:02:29]Write to MH i2c: E2 08 00 27 00 80 17 00 00 00 00 00 00 A7 [00:02:29]Write i2c OK [00:02:29]MH_I2C_Read... [00:02:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:02:30]Read from MH i2c: E2 [00:02:30]MH_I2C_Read... [00:02:30]Read from MH i2c: E2 FD 00 [00:02:30]MH_I2C_Read... [00:02:30]Read from MH i2c: E2 FD 00 27 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 5E [00:02:30]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [00:02:30]wFMCommunicate OK [00:02:30]wFMCommunicate request_size=4 [00:02:30]MH_SAM_APDU [00:02:30]CAPDU: 80 17 00 00 [00:02:30]Write to MH i2c: E2 08 00 28 00 80 17 00 00 00 00 00 00 A8 [00:02:30]Write i2c OK [00:02:30]MH_I2C_Read... [00:02:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:02:30]Read from MH i2c: E2 [00:02:30]MH_I2C_Read... [00:02:30]Read from MH i2c: E2 FD 00 [00:02:30]MH_I2C_Read... [00:02:30]Read from MH i2c: E2 FD 00 28 00 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 1A [00:02:30]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [00:02:30]wFMCommunicate OK [00:02:30]wFMCommunicate request_size=4 [00:02:30]MH_SAM_APDU [00:02:30]CAPDU: 80 17 00 00 [00:02:30]Write to MH i2c: E2 08 00 29 00 80 17 00 00 00 00 00 00 A9 [00:02:30]Write i2c OK [00:02:30]MH_I2C_Read... [00:02:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:02:30]Read from MH i2c: E2 [00:02:30]MH_I2C_Read... [00:02:30]Read from MH i2c: E2 CB 00 [00:02:30]MH_I2C_Read... [00:02:30]Read from MH i2c: E2 CB 00 29 00 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 92 [00:02:30]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:02:30]wFMCommunicate OK [00:02:30]SAM_PROTO_GetShiftData done [00:02:30]requested_item shift.sale.total_cash is exist - process it [00:02:30]requested_item shift.sale_refund.total is exist - process it [00:02:30]requested_item shift.sale_refund.total_cash is exist - process it [00:02:30]requested_item shift.buy.total is exist - process it [00:02:30]requested_item shift.buy.total_cash is exist - process it [00:02:30]produce_requested_data done [00:02:30]produce_requested_data return {"fm.sale.total":934170.31,"fm.sale_refund.total":1764.00,"fm.buy.total":0.00,"shift.sale.total":8843.00,"shift.sale.total_cash":5611.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:02:30]process_action_free get_value [00:02:30]json_value_free [00:02:30]json_value_free done [00:02:30]process_json_proto returns [00:02:30]Send response to host [00:02:30]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":934170.31,"fm.sale_refund.total":1764.00,"fm.buy.total":0.00,"shift.sale.total":8843.00,"shift.sale.total_cash":5611.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:02:30]free response buf [00:02:30]execute_script done [00:02:30]execute_script returns [00:02:30]free content buf [00:02:30]Sock 9.Close socket [00:02:30]Sock 9.Thread stoped [00:02:31]OFD Sender: No OFD packet to send [00:02:36]OFD Sender: No OFD packet to send [00:02:41]OFD Sender: No OFD packet to send [00:02:46]OFD Sender: No OFD packet to send [00:02:51]OFD Sender: No OFD packet to send [00:02:56]OFD Sender: No OFD packet to send [00:02:56]accept exits with 8 [00:02:56]New connection [00:02:56]New thread 3067092324 created [00:02:56]Thread 3066948964 joined [00:02:56]Waiting for new connection... [00:02:56] Sock 8.Parse request [00:02:56]Sock 8.Check first char [00:02:56]Sock 8.First char is OK [00:02:56]request: POST /json_proto HTTP/1.0 [00:02:56]Method: POST [00:02:56]URL: /json_proto [00:02:56]Method is POST - this is cgi request [00:02:56]url: /json_proto [00:02:56]query_string will be loaded in cgi processing [00:02:56]execute_cgi json_proto POST (null) [00:02:56]execute_cgi path=json_proto method=POST [00:02:56]POST find Content-Length [00:02:56]Host: 172.17.56.68:8080 [00:02:56]Content-Length: 215 [00:02:56]Content-Type: application/json [00:02:56] [00:02:56]POST finish read [00:02:56]Found Content-Length = 215 [00:02:56]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:02:56]execute_script... [00:02:56]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:02:56]POST & json_proto [00:02:56]process_json_proto [00:02:56]json parsed OK: [00:02:56]protocol is kg_v1.0 [00:02:56]action value=get_value [00:02:56]process_action get_value [00:02:56]cmd_get_value [00:02:56]process_action get_value done [00:02:56]requested_data is exist [00:02:56]produce_requested_data [00:02:56]requested_item kkm.sn is exist - process it [00:02:56]requested_item kkm.ver is exist - process it [00:02:56]requested_item fm.sn is exist - process it [00:02:56]wFMCommunicate request_size=4 [00:02:56]MH_SAM_APDU [00:02:56]CAPDU: 80 11 00 00 [00:02:56]Write to MH i2c: E2 08 00 2A 00 80 11 00 00 00 00 00 00 A4 [00:02:56]Write i2c OK [00:02:56]MH_I2C_Read... [00:02:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:02:56]Read from MH i2c: E2 [00:02:56]MH_I2C_Read... [00:02:56]Read from MH i2c: E2 17 00 [00:02:56]MH_I2C_Read... [00:02:56]Read from MH i2c: E2 17 00 2A 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 F7 [00:02:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [00:02:56]wFMCommunicate OK [00:02:56]requested_item fd.num is exist - process it [00:02:56]SAM_PROTO_GetFieldsCounters [00:02:56]wFMCommunicate request_size=4 [00:02:56]MH_SAM_APDU [00:02:56]CAPDU: 80 13 00 00 [00:02:56]Write to MH i2c: E2 08 00 2B 00 80 13 00 00 00 00 00 00 A7 [00:02:56]Write i2c OK [00:02:56]MH_I2C_Read... [00:02:56]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:02:56]Read from MH i2c: E2 [00:02:56]MH_I2C_Read... [00:02:56]Read from MH i2c: E2 62 00 [00:02:56]MH_I2C_Read... [00:02:56]Read from MH i2c: E2 62 00 2B 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 5E 10 00 00 0E 04 04 00 54 00 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 1E [00:02:56]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 5E 10 00 00 0E 04 04 00 54 00 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 [00:02:56]wFMCommunicate OK [00:02:56]SAM_PROTO_GetFieldsCounters done [00:02:56]requested_item shift.num is exist - process it [00:02:56]requested_item shift.opened is exist - process it [00:02:56]req_shift_opened [00:02:56]FM_GetShiftState [00:02:56]SAM_PROTO_GetShiftState [00:02:56]wFMCommunicate request_size=4 [00:02:56]MH_SAM_APDU [00:02:56]CAPDU: 80 13 01 00 [00:02:56]Write to MH i2c: E2 08 00 2C 00 80 13 01 00 00 00 00 00 A9 [00:02:56]Write i2c OK [00:02:56]MH_I2C_Read... [00:02:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:02:56]Read from MH i2c: E2 [00:02:56]MH_I2C_Read... [00:02:56]Read from MH i2c: E2 0E 00 [00:02:56]MH_I2C_Read... [00:02:56]Read from MH i2c: E2 0E 00 2C 00 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 4A [00:02:56]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [00:02:56]wFMCommunicate OK [00:02:56]SAM_PROTO_GetShiftState done [00:02:56]FM_GetShiftState done [00:02:56]req_shift_opened done [00:02:56]requested_item shift.open_date is exist - process it [00:02:56]req_shift_open_date [00:02:56]req_shift_open_date done [00:02:56]produce_requested_data done [00:02:56]produce_requested_data return {"kkm.sn":"0300000233","kkm.ver":"v1.0","fm.sn":"0000000000959360","fd.num":4190,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765} [00:02:56]process_action_free get_value [00:02:56]json_value_free [00:02:56]json_value_free done [00:02:56]process_json_proto returns [00:02:56]Send response to host [00:02:56]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000233","kkm.ver":"v1.0","fm.sn":"0000000000959360","fd.num":4190,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765}}} [00:02:56]free response buf [00:02:56]execute_script done [00:02:56]execute_script returns [00:02:56]free content buf [00:02:56]Sock 8.Close socket [00:02:56]Sock 8.Thread stoped [00:02:56]accept exits with 9 [00:02:56]New connection [00:02:56]New thread 3066948964 created [00:02:56]Thread 3067092324 joined [00:02:56]Waiting for new connection... [00:02:56] Sock 9.Parse request [00:02:56]Sock 9.Check first char [00:02:56]Sock 9.First char is OK [00:02:56]request: POST /json_proto HTTP/1.0 [00:02:56]Method: POST [00:02:56]URL: /json_proto [00:02:56]Method is POST - this is cgi request [00:02:56]url: /json_proto [00:02:56]query_string will be loaded in cgi processing [00:02:56]execute_cgi json_proto POST (null) [00:02:56]execute_cgi path=json_proto method=POST [00:02:56]POST find Content-Length [00:02:56]Host: 172.17.56.68:8080 [00:02:56]Content-Length: 331 [00:02:56]Content-Type: application/json [00:02:56] [00:02:56]POST finish read [00:02:56]Found Content-Length = 331 [00:02:56]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:02:56]execute_script... [00:02:57]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:02:57]POST & json_proto [00:02:57]process_json_proto [00:02:57]json parsed OK: [00:02:57]protocol is kg_v1.0 [00:02:57]action value=get_value [00:02:57]process_action get_value [00:02:57]cmd_get_value [00:02:57]process_action get_value done [00:02:57]requested_data is exist [00:02:57]produce_requested_data [00:02:57]requested_item fm.sale.total is exist - process it [00:02:57]SAM_PROTO_GetFMData [00:02:57]wFMCommunicate request_size=4 [00:02:57]MH_SAM_APDU [00:02:57]CAPDU: 80 13 03 00 [00:02:57]Write to MH i2c: E2 08 00 2D 00 80 13 03 00 00 00 00 00 AC [00:02:57]Write i2c OK [00:02:57]MH_I2C_Read... [00:02:57]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:02:57]Read from MH i2c: E2 [00:02:57]MH_I2C_Read... [00:02:57]Read from MH i2c: E2 FD 00 [00:02:57]MH_I2C_Read... [00:02:57]Read from MH i2c: E2 FD 00 2D 00 00 BB 04 85 04 B7 04 6E 04 04 00 B6 0F 00 00 69 04 9E 00 6F 04 04 00 AD 0F 00 00 B1 04 04 00 47 6E 91 05 70 04 04 00 18 FF A2 04 72 04 03 00 2F 6F EE 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 95 5E 97 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 52 9B 0C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 97 00 6F 04 04 00 09 00 00 00 B1 04 03 00 10 B1 02 70 04 03 00 10 B1 02 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 2C 49 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 30 [00:02:57]RAPDU: BB 04 85 04 B7 04 6E 04 04 00 B6 0F 00 00 69 04 9E 00 6F 04 04 00 AD 0F 00 00 B1 04 04 00 47 6E 91 05 70 04 04 00 18 FF A2 04 72 04 03 00 2F 6F EE 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 95 5E 97 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 52 9B 0C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 97 00 6F 04 04 00 09 00 00 00 B1 04 03 00 10 B1 02 70 04 03 00 10 B1 02 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 2C 49 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [00:02:57]wFMCommunicate OK [00:02:57]wFMCommunicate request_size=4 [00:02:57]MH_SAM_APDU [00:02:57]CAPDU: 80 17 00 00 [00:02:57]Write to MH i2c: E2 08 00 2E 00 80 17 00 00 00 00 00 00 AE [00:02:57]Write i2c OK [00:02:57]MH_I2C_Read... [00:02:57]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:02:57]Read from MH i2c: E2 [00:02:57]MH_I2C_Read... [00:02:57]Read from MH i2c: E2 FD 00 [00:02:57]MH_I2C_Read... [00:02:57]Read from MH i2c: E2 FD 00 2E 00 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 18 06 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 76 [00:02:57]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 18 06 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:02:57]wFMCommunicate OK [00:02:57]wFMCommunicate request_size=4 [00:02:57]MH_SAM_APDU [00:02:57]CAPDU: 80 17 00 00 [00:02:57]Write to MH i2c: E2 08 00 2F 00 80 17 00 00 00 00 00 00 AF [00:02:57]Write i2c OK [00:02:57]MH_I2C_Read... [00:02:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:02:58]Read from MH i2c: E2 [00:02:58]MH_I2C_Read... [00:02:58]Read from MH i2c: E2 FD 00 [00:02:58]MH_I2C_Read... [00:02:58]Read from MH i2c: E2 FD 00 2F 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 DB [00:02:58]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:02:58]wFMCommunicate OK [00:02:58]wFMCommunicate request_size=4 [00:02:58]MH_SAM_APDU [00:02:58]CAPDU: 80 17 00 00 [00:02:58]Write to MH i2c: E2 08 00 30 00 80 17 00 00 00 00 00 00 B0 [00:02:58]Write i2c OK [00:02:58]MH_I2C_Read... [00:02:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:02:58]Read from MH i2c: E2 [00:02:58]MH_I2C_Read... [00:02:58]Read from MH i2c: E2 FD 00 [00:02:58]MH_I2C_Read... [00:02:58]Read from MH i2c: E2 FD 00 30 00 00 00 00 EF 03 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 90 00 25 [00:02:58]RAPDU: 00 00 EF 03 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 90 00 [00:02:58]wFMCommunicate OK [00:02:58]wFMCommunicate request_size=4 [00:02:58]MH_SAM_APDU [00:02:58]CAPDU: 80 17 00 00 [00:02:58]Write to MH i2c: E2 08 00 31 00 80 17 00 00 00 00 00 00 B1 [00:02:58]Write i2c OK [00:02:58]MH_I2C_Read... [00:02:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [00:02:58]Read from MH i2c: E2 [00:02:58]MH_I2C_Read... [00:02:58]Read from MH i2c: E2 D8 00 [00:02:58]MH_I2C_Read... [00:02:58]Read from MH i2c: E2 D8 00 31 00 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 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 98 [00:02:58]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:02:58]wFMCommunicate OK [00:02:58]SAM_PROTO_GetFMData done [00:02:58]requested_item fm.sale_refund.total is exist - process it [00:02:58]requested_item fm.buy.total is exist - process it [00:02:58]requested_item shift.sale.total is exist - process it [00:02:58]SAM_PROTO_GetShiftData [00:02:58]wFMCommunicate request_size=4 [00:02:58]MH_SAM_APDU [00:02:58]CAPDU: 80 13 02 00 [00:02:58]Write to MH i2c: E2 08 00 32 00 80 13 02 00 00 00 00 00 B0 [00:02:58]Write i2c OK [00:02:58]MH_I2C_Read... [00:02:59]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:02:59]Read from MH i2c: E2 [00:02:59]MH_I2C_Read... [00:02:59]Read from MH i2c: E2 FD 00 [00:02:59]MH_I2C_Read... [00:02:59]Read from MH i2c: E2 FD 00 32 00 00 AE 04 AA 04 AA 04 6E 04 04 00 30 00 00 00 69 04 9B 00 6F 04 04 00 30 00 00 00 B1 04 03 00 4C 7E 0D 70 04 03 00 CC 8F 08 72 04 03 00 80 EE 04 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 D0 6E 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 8C 1E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 66 [00:02:59]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 30 00 00 00 69 04 9B 00 6F 04 04 00 30 00 00 00 B1 04 03 00 4C 7E 0D 70 04 03 00 CC 8F 08 72 04 03 00 80 EE 04 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 D0 6E 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 8C 1E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [00:02:59]wFMCommunicate OK [00:02:59]wFMCommunicate request_size=4 [00:02:59]MH_SAM_APDU [00:02:59]CAPDU: 80 17 00 00 [00:02:59]Write to MH i2c: E2 08 00 33 00 80 17 00 00 00 00 00 00 B3 [00:02:59]Write i2c OK [00:02:59]MH_I2C_Read... [00:02:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:02:59]Read from MH i2c: E2 [00:02:59]MH_I2C_Read... [00:02:59]Read from MH i2c: E2 FD 00 [00:02:59]MH_I2C_Read... [00:02:59]Read from MH i2c: E2 FD 00 33 00 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 D5 [00:02:59]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [00:02:59]wFMCommunicate OK [00:02:59]wFMCommunicate request_size=4 [00:02:59]MH_SAM_APDU [00:02:59]CAPDU: 80 17 00 00 [00:02:59]Write to MH i2c: E2 08 00 34 00 80 17 00 00 00 00 00 00 B4 [00:02:59]Write i2c OK [00:02:59]MH_I2C_Read... [00:02:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:02:59]Read from MH i2c: E2 [00:02:59]MH_I2C_Read... [00:02:59]Read from MH i2c: E2 FD 00 [00:02:59]MH_I2C_Read... [00:02:59]Read from MH i2c: E2 FD 00 34 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 6B [00:02:59]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [00:02:59]wFMCommunicate OK [00:02:59]wFMCommunicate request_size=4 [00:02:59]MH_SAM_APDU [00:02:59]CAPDU: 80 17 00 00 [00:02:59]Write to MH i2c: E2 08 00 35 00 80 17 00 00 00 00 00 00 B5 [00:02:59]Write i2c OK [00:02:59]MH_I2C_Read... [00:02:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:02:59]Read from MH i2c: E2 [00:02:59]MH_I2C_Read... [00:02:59]Read from MH i2c: E2 FD 00 [00:02:59]MH_I2C_Read... [00:02:59]Read from MH i2c: E2 FD 00 35 00 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 27 [00:02:59]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [00:03:00]wFMCommunicate OK [00:03:00]wFMCommunicate request_size=4 [00:03:00]MH_SAM_APDU [00:03:00]CAPDU: 80 17 00 00 [00:03:00]Write to MH i2c: E2 08 00 36 00 80 17 00 00 00 00 00 00 B6 [00:03:00]Write i2c OK [00:03:00]MH_I2C_Read... [00:03:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:03:00]Read from MH i2c: E2 [00:03:00]MH_I2C_Read... [00:03:00]Read from MH i2c: E2 CB 00 [00:03:00]MH_I2C_Read... [00:03:00]Read from MH i2c: E2 CB 00 36 00 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 9F [00:03:00]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:03:00]wFMCommunicate OK [00:03:00]SAM_PROTO_GetShiftData done [00:03:00]requested_item shift.sale.total_cash is exist - process it [00:03:00]requested_item shift.sale_refund.total is exist - process it [00:03:00]requested_item shift.sale_refund.total_cash is exist - process it [00:03:00]requested_item shift.buy.total is exist - process it [00:03:00]requested_item shift.buy.total_cash is exist - process it [00:03:00]produce_requested_data done [00:03:00]produce_requested_data return {"fm.sale.total":934170.31,"fm.sale_refund.total":1764.00,"fm.buy.total":0.00,"shift.sale.total":8843.00,"shift.sale.total_cash":5611.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:03:00]process_action_free get_value [00:03:00]json_value_free [00:03:00]json_value_free done [00:03:00]process_json_proto returns [00:03:00]Send response to host [00:03:00]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":934170.31,"fm.sale_refund.total":1764.00,"fm.buy.total":0.00,"shift.sale.total":8843.00,"shift.sale.total_cash":5611.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:03:00]free response buf [00:03:00]execute_script done [00:03:00]execute_script returns [00:03:00]free content buf [00:03:00]Sock 9.Close socket [00:03:00]Sock 9.Thread stoped [00:03:01]OFD Sender: No OFD packet to send [00:03:06]OFD Sender: No OFD packet to send [00:03:11]OFD Sender: No OFD packet to send [00:03:16]OFD Sender: No OFD packet to send [00:03:21]OFD Sender: No OFD packet to send [00:03:26]OFD Sender: No OFD packet to send [00:03:31]OFD Sender: No OFD packet to send [00:03:36]OFD Sender: No OFD packet to send [00:03:41]OFD Sender: No OFD packet to send [00:03:46]OFD Sender: No OFD packet to send [00:03:51]OFD Sender: No OFD packet to send [00:03:56]OFD Sender: No OFD packet to send [00:04:01]OFD Sender: No OFD packet to send [00:04:06]OFD Sender: No OFD packet to send [00:04:11]OFD Sender: No OFD packet to send [00:04:16]OFD Sender: No OFD packet to send [00:04:21]OFD Sender: No OFD packet to send [00:04:26]OFD Sender: No OFD packet to send [00:04:31]OFD Sender: No OFD packet to send [00:04:36]OFD Sender: No OFD packet to send [00:04:41]OFD Sender: No OFD packet to send [00:04:46]OFD Sender: No OFD packet to send [00:04:51]OFD Sender: No OFD packet to send [00:04:56]OFD Sender: No OFD packet to send [00:05:01]OFD Sender: No OFD packet to send [00:05:06]OFD Sender: No OFD packet to send [00:05:11]OFD Sender: No OFD packet to send [00:05:16]OFD Sender: No OFD packet to send [00:05:21]OFD Sender: No OFD packet to send [00:05:26]OFD Sender: No OFD packet to send [00:05:31]OFD Sender: No OFD packet to send [00:05:36]OFD Sender: No OFD packet to send [00:05:41]OFD Sender: No OFD packet to send [00:05:46]OFD Sender: No OFD packet to send [00:05:51]OFD Sender: No OFD packet to send [00:05:56]OFD Sender: No OFD packet to send [00:06:01]OFD Sender: No OFD packet to send [00:06:06]OFD Sender: No OFD packet to send [00:06:11]OFD Sender: No OFD packet to send [00:06:16]OFD Sender: No OFD packet to send [00:06:21]OFD Sender: No OFD packet to send [00:06:26]OFD Sender: No OFD packet to send [00:06:31]OFD Sender: No OFD packet to send [00:06:36]OFD Sender: No OFD packet to send [00:06:41]OFD Sender: No OFD packet to send [00:06:46]OFD Sender: No OFD packet to send [00:06:51]OFD Sender: No OFD packet to send [00:06:56]OFD Sender: No OFD packet to send [00:07:01]OFD Sender: No OFD packet to send [00:07:06]OFD Sender: No OFD packet to send [00:07:11]OFD Sender: No OFD packet to send [00:07:16]OFD Sender: No OFD packet to send [00:07:21]OFD Sender: No OFD packet to send [00:07:26]OFD Sender: No OFD packet to send [00:07:31]OFD Sender: No OFD packet to send [00:07:36]OFD Sender: No OFD packet to send [00:07:41]OFD Sender: No OFD packet to send [00:07:46]OFD Sender: No OFD packet to send [00:07:51]OFD Sender: No OFD packet to send [00:07:56]OFD Sender: No OFD packet to send [00:08:01]OFD Sender: No OFD packet to send [00:08:06]OFD Sender: No OFD packet to send [00:08:11]OFD Sender: No OFD packet to send [00:08:16]OFD Sender: No OFD packet to send [00:08:21]OFD Sender: No OFD packet to send [00:08:26]OFD Sender: No OFD packet to send [00:08:31]OFD Sender: No OFD packet to send [00:08:36]OFD Sender: No OFD packet to send [00:08:41]OFD Sender: No OFD packet to send [00:08:46]OFD Sender: No OFD packet to send [00:08:51]OFD Sender: No OFD packet to send [00:08:56]OFD Sender: No OFD packet to send [00:09:01]OFD Sender: No OFD packet to send [00:09:06]OFD Sender: No OFD packet to send [00:09:11]OFD Sender: No OFD packet to send [00:09:16]OFD Sender: No OFD packet to send [00:09:21]OFD Sender: No OFD packet to send [00:09:26]OFD Sender: No OFD packet to send [00:09:31]OFD Sender: No OFD packet to send [00:09:37]OFD Sender: No OFD packet to send [00:09:42]OFD Sender: No OFD packet to send [00:09:47]OFD Sender: No OFD packet to send [00:09:52]OFD Sender: No OFD packet to send [00:09:57]OFD Sender: No OFD packet to send [00:10:02]OFD Sender: No OFD packet to send [00:10:07]OFD Sender: No OFD packet to send [00:10:12]OFD Sender: No OFD packet to send [00:10:17]OFD Sender: No OFD packet to send [00:10:22]OFD Sender: No OFD packet to send [00:10:27]OFD Sender: No OFD packet to send [00:10:32]OFD Sender: No OFD packet to send [00:10:37]OFD Sender: No OFD packet to send [00:10:42]OFD Sender: No OFD packet to send [00:10:47]OFD Sender: No OFD packet to send [00:10:52]OFD Sender: No OFD packet to send [00:10:57]OFD Sender: No OFD packet to send [00:11:02]OFD Sender: No OFD packet to send [00:11:07]OFD Sender: No OFD packet to send [00:11:12]OFD Sender: No OFD packet to send [00:11:17]OFD Sender: No OFD packet to send [00:11:22]OFD Sender: No OFD packet to send [00:11:27]OFD Sender: No OFD packet to send [00:11:32]OFD Sender: No OFD packet to send [00:11:37]OFD Sender: No OFD packet to send [00:11:42]OFD Sender: No OFD packet to send [00:11:47]OFD Sender: No OFD packet to send [00:11:52]OFD Sender: No OFD packet to send [00:11:57]OFD Sender: No OFD packet to send [00:12:02]OFD Sender: No OFD packet to send [00:12:07]OFD Sender: No OFD packet to send [00:12:12]OFD Sender: No OFD packet to send [00:12:17]OFD Sender: No OFD packet to send [00:12:22]OFD Sender: No OFD packet to send [00:12:27]OFD Sender: No OFD packet to send [00:12:32]OFD Sender: No OFD packet to send [00:12:37]OFD Sender: No OFD packet to send [00:12:42]OFD Sender: No OFD packet to send [00:12:47]OFD Sender: No OFD packet to send [00:12:52]OFD Sender: No OFD packet to send [00:12:57]OFD Sender: No OFD packet to send [00:13:02]OFD Sender: No OFD packet to send [00:13:07]OFD Sender: No OFD packet to send [00:13:12]OFD Sender: No OFD packet to send [00:13:17]OFD Sender: No OFD packet to send [00:13:22]OFD Sender: No OFD packet to send [00:13:27]OFD Sender: No OFD packet to send [00:13:32]OFD Sender: No OFD packet to send [00:13:37]OFD Sender: No OFD packet to send [00:13:42]OFD Sender: No OFD packet to send [00:13:47]OFD Sender: No OFD packet to send [00:13:52]OFD Sender: No OFD packet to send [00:13:57]OFD Sender: No OFD packet to send [00:14:02]OFD Sender: No OFD packet to send [00:14:07]OFD Sender: No OFD packet to send [00:14:12]OFD Sender: No OFD packet to send [00:14:17]OFD Sender: No OFD packet to send [00:14:22]OFD Sender: No OFD packet to send [00:14:27]OFD Sender: No OFD packet to send [00:14:32]OFD Sender: No OFD packet to send [00:14:37]OFD Sender: No OFD packet to send [00:14:42]OFD Sender: No OFD packet to send [00:14:47]OFD Sender: No OFD packet to send [00:14:52]OFD Sender: No OFD packet to send [00:14:57]OFD Sender: No OFD packet to send [00:15:02]OFD Sender: No OFD packet to send [00:15:07]OFD Sender: No OFD packet to send [00:15:12]OFD Sender: No OFD packet to send [00:15:17]OFD Sender: No OFD packet to send [00:15:22]OFD Sender: No OFD packet to send [00:15:27]OFD Sender: No OFD packet to send [00:15:32]OFD Sender: No OFD packet to send [00:15:37]OFD Sender: No OFD packet to send [00:15:42]OFD Sender: No OFD packet to send [00:15:46]accept exits with 8 [00:15:46]New connection [00:15:46]New thread 3067092324 created [00:15:46]Thread 3066948964 joined [00:15:46]Waiting for new connection... [00:15:46] Sock 8.Parse request [00:15:46]Sock 8.Check first char [00:15:46]Sock 8.First char is OK [00:15:46]request: POST /json_proto HTTP/1.0 [00:15:46]Method: POST [00:15:46]URL: /json_proto [00:15:46]Method is POST - this is cgi request [00:15:46]url: /json_proto [00:15:46]query_string will be loaded in cgi processing [00:15:46]execute_cgi json_proto POST (null) [00:15:46]execute_cgi path=json_proto method=POST [00:15:46]POST find Content-Length [00:15:46]Host: 172.17.56.68:8080 [00:15:46]Content-Length: 936 [00:15:46]Content-Type: application/json [00:15:46] [00:15:46]POST finish read [00:15:46]Found Content-Length = 936 [00:15:46]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4444", "tax_sys" : 0, "items" : [ { "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 2.000, "sum" : 190.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4631150682851", "name": "\u041D\u0430\u043F En Dragon Mojito \u043B\u0430\u0439\u043C,\u043A\u043B\u0443\u0431 \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 285.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:15:46]execute_script... [00:15:46]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4444", "tax_sys" : 0, "items" : [ { "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 2.000, "sum" : 190.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4631150682851", "name": "\u041D\u0430\u043F En Dragon Mojito \u043B\u0430\u0439\u043C,\u043A\u043B\u0443\u0431 \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 285.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:15:46]POST & json_proto [00:15:46]process_json_proto [00:15:46]json parsed OK: [00:15:46]protocol is kg_v1.0 [00:15:46]action value=close_receipt [00:15:46]process_action close_receipt [00:15:46]cmd_close_receipt [00:15:46]MH_GetDate [00:15:46]Write to MH i2c: F0 00 00 37 00 26 [00:15:46]Write i2c OK [00:15:46]MH_I2C_Read... [00:15:46]Read from MH i2c: F0 [00:15:46]MH_I2C_Read... [00:15:46]Read from MH i2c: F0 09 00 [00:15:46]MH_I2C_Read... [00:15:46]Read from MH i2c: F0 09 00 37 00 00 B3 03 00 00 00 00 00 00 E5 [00:15:46]GetLastDocTimeStamp 1717601302 [00:15:46]current date 947 [00:15:46]curdatesum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4631150682851 Нап En Dragon Mojito лайм,клуб ж/б 0,45л 1.000 * 95.00 = 95.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 285.00 НСП 1% : 2.52 НДС 12% : 30.27 Наличными: 285.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 49 05.06.2024 16:16 Смена: 84 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4191 ФПД: 274950418327306 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T161615&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4191&fm=274950418327306&tin=02508201610067®Number=0000000000145775&sum=28500 0 [16:16:17]StoreToDocumentArchive [16:16:17]shift 84 fd 4191 [16:16:17]save to /storage/0084/doc_00004191 [16:16:17]save last doc name /storage/0084/doc_00004191 to /storage/kkm_last_doc_name [16:16:17]save OK [16:16:17]Clear old archive folders... [16:16:17]ProcessDocumentItem done err = 0, tmpTLVsize=419 [16:16:17]tlvbuf is 020AE3B0 [16:16:17]SAM_PROTO_ClearQueue [16:16:17]wFMCommunicate request_size=4 [16:16:17]MH_SAM_APDU [16:16:17]CAPDU: 80 09 00 00 [16:16:17]Write to MH i2c: E2 08 00 58 00 80 09 00 00 00 00 00 00 CA [16:16:17]Write i2c OK [16:16:17]MH_I2C_Read... [16:16:17]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:16:17]Read from MH i2c: E2 [16:16:17]MH_I2C_Read... [16:16:17]Read from MH i2c: E2 03 00 [16:16:17]MH_I2C_Read... [16:16:17]Read from MH i2c: E2 03 00 58 00 00 90 00 CC [16:16:17]RAPDU: 90 00 [16:16:17]wFMCommunicate OK [16:16:17]SAM_PROTO_ClearQueue done [16:16:17]KKMCreateOFDPacket [16:16:17]OFDProtocolAddRootSTLVToBuf [16:16:17]FM_MakeSignedData [16:16:17]FM_MakeSignedData [16:16:17]SAM_PROTO_SignData [16:16:17]wFMCommunicate request_size=4 [16:16:17]MH_SAM_APDU [16:16:17]CAPDU: 80 0D 01 02 [16:16:17]Write to MH i2c: E2 08 00 59 00 80 0D 01 02 00 00 00 00 D2 [16:16:17]Write i2c OK [16:16:17]MH_I2C_Read... [16:16:17]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:16:17]Read from MH i2c: E2 [16:16:17]MH_I2C_Read... [16:16:17]Read from MH i2c: E2 03 00 [16:16:17]MH_I2C_Read... [16:16:17]Read from MH i2c: E2 03 00 59 00 00 90 00 CD [16:16:17]RAPDU: 90 00 [16:16:17]wFMCommunicate OK [16:16:17]wFMCommunicate request_size=255 [16:16:17]MH_SAM_APDU [16:16:17]CAPDU: 80 0D 02 02 FA 03 00 A3 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 38 4A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 33 31 31 35 30 36 38 32 38 35 31 06 04 36 00 D0 9D D0 B0 D0 BF 20 45 6E 20 44 72 61 67 6F 6E 20 4D 6F 6A 69 74 6F 20 D0 BB D0 B0 D0 B9 D0 BC 2C D0 BA D0 BB D1 83 D0 B1 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 [16:16:17]Write to MH i2c: E2 02 01 5A 00 80 0D 02 02 FA 00 03 00 A3 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 38 4A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 33 31 31 35 30 36 38 32 38 35 31 06 04 36 00 D0 9D D0 B0 D0 BF 20 45 6E 20 44 72 61 67 6F 6E 20 4D 6F 6A 69 74 6F 20 D0 BB D0 B0 D0 B9 D0 BC 2C D0 BA D0 BB D1 83 D0 B1 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 00 00 D4 [16:16:17]Write i2c OK [16:16:17]MH_I2C_Read... [16:16:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:16:17]Read from MH i2c: E2 [16:16:17]MH_I2C_Read... [16:16:17]Read from MH i2c: E2 03 00 [16:16:17]MH_I2C_Read... [16:16:17]Read from MH i2c: E2 03 00 5A 00 00 90 00 CE [16:16:17]RAPDU: 90 00 [16:16:17]wFMCommunicate OK [16:16:17]wFMCommunicate request_size=178 [16:16:17]MH_SAM_APDU [16:16:17]CAPDU: 80 0D 02 02 AD 01 00 01 BC 04 01 00 01 FC 03 06 00 54 6F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FC 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D3 0B 00 00 00 00 07 04 06 00 54 6F 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 4F 8F 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 5F 10 00 00 35 04 06 00 FA 10 E2 03 E7 0A [16:16:17]Write to MH i2c: E2 B5 00 5B 00 80 0D 02 02 AD 00 01 00 01 BC 04 01 00 01 FC 03 06 00 54 6F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FC 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D3 0B 00 00 00 00 07 04 06 00 54 6F 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 4F 8F 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 5F 10 00 00 35 04 06 00 FA 10 E2 03 E7 0A 00 00 11 [16:16:17]Write i2c OK [16:16:17]MH_I2C_Read... [16:16:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:16:18]Read from MH i2c: E2 [16:16:18]MH_I2C_Read... [16:16:18]Read from MH i2c: E2 03 00 [16:16:18]MH_I2C_Read... [16:16:18]Read from MH i2c: E2 03 00 5B 00 00 90 00 CF [16:16:18]RAPDU: 90 00 [16:16:18]wFMCommunicate OK [16:16:18]wFMCommunicate request_size=4 [16:16:18]MH_SAM_APDU [16:16:18]CAPDU: 80 0D 03 02 [16:16:18]Write to MH i2c: E2 08 00 5C 00 80 0D 03 02 00 00 00 00 D7 [16:16:18]Write i2c OK [16:16:18]MH_I2C_Read... [16:16:18]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:16:18]Read from MH i2c: E2 [16:16:18]MH_I2C_Read... [16:16:18]Read from MH i2c: E2 0B 00 [16:16:18]MH_I2C_Read... [16:16:18]Read from MH i2c: E2 0B 00 5C 00 00 E5 36 92 73 20 C1 46 CA 90 00 E9 [16:16:18]RAPDU: E5 36 92 73 20 C1 46 CA 90 00 [16:16:18]wFMCommunicate OK [16:16:18]SAM_PROTO_SignData done [16:16:18]FM_MakeSignedData done [16:16:18]CreateOFDProtocolMessage [16:16:18]wFMCommunicate request_size=4 [16:16:18]MH_SAM_APDU [16:16:18]CAPDU: 80 11 00 00 [16:16:18]Write to MH i2c: E2 08 00 5D 00 80 11 00 00 00 00 00 00 D7 [16:16:18]Write i2c OK [16:16:18]MH_I2C_Read... [16:16:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:16:18]Read from MH i2c: E2 [16:16:18]MH_I2C_Read... [16:16:18]Read from MH i2c: E2 17 00 [16:16:18]MH_I2C_Read... [16:16:18]Read from MH i2c: E2 17 00 5D 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 2A [16:16:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [16:16:18]wFMCommunicate OK [16:16:18]CreateOFDProtocolMessage done [16:16:18]OFDSenderStorePacket 4191 [16:16:18]StoreOFDPacket docnum=4191 [16:16:18]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 B7 01 00 00 28 8E AF 01 CF 2D 5A 03 01 00 03 00 A3 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 38 4A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 33 31 31 35 30 36 38 32 38 35 31 06 04 36 00 D0 9D D0 B0 D0 BF 20 45 6E 20 44 72 61 67 6F 6E 20 4D 6F 6A 69 74 6F 20 D0 BB D0 B0 D0 B9 D0 BC 2C D0 BA D0 BB D1 83 D0 B1 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 54 6F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FC 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D3 0B 00 00 00 00 07 04 06 00 54 6F 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 4F 8F 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 5F 10 00 00 35 04 06 00 FA 10 E2 03 E7 0A E5 36 92 73 20 C1 46 CA [16:16:18]CheckFolder [16:16:18]dirname=/storage/ofd_packets [16:16:18]CheckFolder done [16:16:18]ProducePacketName [16:16:18]name=ofd_packets/00004191 [16:16:18]NVStorageSaveData ofd_packets/00004191 [16:16:18]File name is /storage/ofd_packets/00004191 [16:16:18]Write 469 bytes [16:16:18]NVStorageSaveData done [16:16:18]OFDSenderStorePacket done [16:16:18]KKMCreateOFDPacket done [16:16:18]NVStorageSaveData kkm_last_timestamp [16:16:18]File name is /storage/kkm_last_timestamp [16:16:18]Write 4 bytes [16:16:18]NVStorageSaveData done [16:16:18]ExternCall_PrintAddStr [16:16:18]wPrintStart [16:16:18]Write to MH i2c: 01 00 00 5E 00 5E [16:16:18]Write i2c OK [16:16:18]MH_I2C_Read... [16:16:18]Read from MH i2c: 01 [16:16:18]MH_I2C_Read... [16:16:18]Read from MH i2c: 01 07 00 [16:16:18]MH_I2C_Read... [16:16:18]Read from MH i2c: 01 07 00 5E 00 00 00 00 00 00 FF 0F 73 [16:16:18]RasterBufferAndPrint [16:16:18]line Счет N : (3)4444 [16:16:18]line ИНН: 02508201610067 [16:16:18]line Контрольно-Кассовый Чек [16:16:18]line ПРОДАЖА [16:16:18]line Товар: 4700000480050 [16:16:18]line Напиток Nitro Energy эн green ж/б 0,45л [16:16:18]line 2.000 * 95.00 [16:16:18]line = 190.00 [16:16:18]line НДС 12% НСП 1% [16:16:18]line > о реализуемом товаре [16:16:18]line Товар: 4631150682851 [16:16:18]line Нап En Dragon Mojito лайм,клуб ж/б 0,45л [16:16:18]line 1.000 * 95.00 [16:16:18]line = 95.00 [16:16:18]line НДС 12% НСП 1% [16:16:18]line > о реализуемом товаре [16:16:18]line ИТОГО: 285.00 [16:16:18]line НСП 1% : 2.52 [16:16:18]line НДС 12% : 30.27 [16:16:18]line Наличными: 285.00 [16:16:18]line Безнал.: 0.00 [16:16:18]line Место: АЗС № 116 "Партнер Нефть" [16:16:18]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [16:16:18]line СНО: Общий режим [16:16:18]line Чек 49 05.06.2024 16:16 [16:16:18]line Смена: 84 ФФД: 1.0 [16:16:18]line ЗНМ: 0300000233 [16:16:18]line РНМ: 0000000000145775 [16:16:18]line Версия ККМ: v1.0 [16:16:18]line ФМ: 0000000000959360 [16:16:18]line ФД: 4191 [16:16:18]line ФПД: 274950418327306 [16:16:18]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T161615&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4191&fm=274950418327306&tin=02508201610067®Number=0000000000145775&sum=28500 [16:16:18]line 0 [16:16:18]written 0, free lines is 4095 [16:16:18]OFD Sender: Processing packet 4191 [packets to send 2, broken 1] [16:16:18]ProducePacketName [16:16:18]name=ofd_packets/00004191 [16:16:18]OFD Sender: To server: pG, [16:16:18]CommunicateWithHost lk.salyk.kg:30040 [16:16:18]ConnectInit lk.salyk.kg [16:16:18]Connected sock=10 [16:16:18]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 B7 01 00 00 28 8E AF 01 CF 2D 5A 03 01 00 03 00 A3 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 38 4A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 33 31 31 35 30 36 38 32 38 35 31 06 04 36 00 D0 9D D0 B0 D0 BF 20 45 6E 20 44 72 61 67 6F 6E 20 4D 6F 6A 69 74 6F 20 D0 BB D0 B0 D0 B9 D0 BC 2C D0 BA D0 BB D1 83 D0 B1 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 54 6F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FC 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D3 0B 00 00 00 00 07 04 06 00 54 6F 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 4F 8F 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 5F 10 00 00 35 04 06 00 FA 10 E2 03 E7 0A E5 36 92 73 20 C1 46 CA [16:16:18]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 DC 62 47 00 47 EA A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 5F 10 00 00 F4 03 04 00 52 3B 60 66 B6 04 01 00 00 08 F8 D5 A5 3E C3 91 E3 [16:16:18]CommunicateWithHost err = 0 [16:16:18]CheckOFDResponse [16:16:18]1017 (14) - 77093643461234 [16:16:18]1041 (16) - 0000000000959360 [16:16:18]1040 (4) - 4191 [16:16:18]1012 (4) - 05.06.2024 10:17 [16:16:18]1206 (1) - 0 [16:16:18]OFD Sender: Remove packet 4191 [16:16:18]ProducePacketName [16:16:18]name=ofd_packets/00004191 [16:16:18]NVStorageDeleteData [16:16:18]Write to MH i2c: 01 00 00 8E 00 8E [16:16:18]Write i2c OK [16:16:18]MH_I2C_Read... [16:16:18]Read from MH i2c: 01 [16:16:18]MH_I2C_Read... [16:16:18]Read from MH i2c: 01 07 00 [16:16:18]MH_I2C_Read... [16:16:18]Read from MH i2c: 01 07 00 8E 00 00 00 00 00 00 24 0C C5 [16:16:18]RasterBufferAndPrint [16:16:18]line [16:16:18]line [16:16:18]line [16:16:18]line [16:16:18]line [16:16:18]written 0, free lines is 3115 [16:16:18]MH_Cut [16:16:18]Write to MH i2c: D1 01 00 95 00 01 67 [16:16:18]Write i2c OK [16:16:18]MH_I2C_Read... [16:16:18]Read from MH i2c: D1 [16:16:18]MH_I2C_Read... [16:16:18]Read from MH i2c: D1 01 00 [16:16:18]MH_I2C_Read... [16:16:18]Read from MH i2c: D1 01 00 95 00 00 66 [16:16:18]Write to MH i2c: 01 00 00 96 00 96 [16:16:18]Write i2c OK [16:16:18]MH_I2C_Read... [16:16:19]OFD Sender: No OFD packet to send [16:16:19]*** Cut start [16:16:19]*** Partial cut [16:16:19]*** CUTSNS_PIN = 1 [16:16:19]*** CUTSNS_PIN = 0 [16:16:20]*** Brake cut motor [16:16:20]Read from MH i2c: 01 [16:16:20]MH_I2C_Read... [16:16:20]*** Stop cut motor [16:16:20]*** Cut end [16:16:20]Read from MH i2c: 01 07 00 [16:16:20]MH_I2C_Read... [16:16:20]Read from MH i2c: 01 07 00 96 00 00 00 00 00 00 FF 0F AB [16:16:20]process_action close_receipt done [16:16:20]requested_data is exist [16:16:20]produce_requested_data [16:16:20]requested_item fm.sn is exist - process it [16:16:20]wFMCommunicate request_size=4 [16:16:20]MH_SAM_APDU [16:16:20]CAPDU: 80 11 00 00 [16:16:20]Write to MH i2c: E2 08 00 97 00 80 11 00 00 00 00 00 00 11 [16:16:20]Write i2c OK [16:16:20]MH_I2C_Read... [16:16:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:16:20]Read from MH i2c: E2 [16:16:20]MH_I2C_Read... [16:16:20]Read from MH i2c: E2 17 00 [16:16:20]MH_I2C_Read... [16:16:20]Read from MH i2c: E2 17 00 97 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 64 [16:16:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [16:16:20]wFMCommunicate OK [16:16:20]requested_item fd.num is exist - process it [16:16:20]SAM_PROTO_GetFieldsCounters [16:16:20]wFMCommunicate request_size=4 [16:16:20]MH_SAM_APDU [16:16:20]CAPDU: 80 13 00 00 [16:16:20]Write to MH i2c: E2 08 00 98 00 80 13 00 00 00 00 00 00 14 [16:16:20]Write i2c OK [16:16:20]MH_I2C_Read... [16:16:20]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:16:20]Read from MH i2c: E2 [16:16:20]MH_I2C_Read... [16:16:20]Read from MH i2c: E2 62 00 [16:16:20]MH_I2C_Read... [16:16:20]Read from MH i2c: E2 62 00 98 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 5F 10 00 00 0E 04 04 00 54 00 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 8F [16:16:20]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 5F 10 00 00 0E 04 04 00 54 00 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:16:20]wFMCommunicate OK [16:16:20]SAM_PROTO_GetFieldsCounters done [16:16:20]requested_item shift.num is exist - process it [16:16:20]requested_item shift.opened is exist - process it [16:16:20]req_shift_opened [16:16:20]FM_GetShiftState [16:16:20]SAM_PROTO_GetShiftState [16:16:20]wFMCommunicate request_size=4 [16:16:20]MH_SAM_APDU [16:16:20]CAPDU: 80 13 01 00 [16:16:20]Write to MH i2c: E2 08 00 99 00 80 13 01 00 00 00 00 00 16 [16:16:20]Write i2c OK [16:16:20]MH_I2C_Read... [16:16:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:16:20]Read from MH i2c: E2 [16:16:20]MH_I2C_Read... [16:16:20]Read from MH i2c: E2 0E 00 [16:16:20]MH_I2C_Read... [16:16:20]Read from MH i2c: E2 0E 00 99 00 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 B7 [16:16:20]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [16:16:20]wFMCommunicate OK [16:16:20]SAM_PROTO_GetShiftState done [16:16:20]FM_GetShiftState done [16:16:20]req_shift_opened done [16:16:20]requested_item shift.open_date is exist - process it [16:16:20]req_shift_open_date [16:16:20]req_shift_open_date done [16:16:20]produce_requested_data done [16:16:20]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4191,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765} [16:16:20]process_action_free close_receipt [16:16:20]json_value_free [16:16:20]json_value_free done [16:16:20]process_json_proto returns [16:16:20]Send response to host [16:16:20]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4191,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765}}} [16:16:20]free response buf [16:16:20]execute_script done [16:16:20]execute_script returns [16:16:20]free content buf [16:16:20]Sock 8.Close socket [16:16:20]Sock 8.Thread stoped [16:16:24]OFD Sender: No OFD packet to send [16:16:29]OFD Sender: No OFD packet to send [16:16:34]OFD Sender: No OFD packet to send [16:16:39]OFD Sender: No OFD packet to send [16:16:44]OFD Sender: No OFD packet to send [16:16:49]OFD Sender: No OFD packet to send [16:16:54]OFD Sender: No OFD packet to send [16:16:59]OFD Sender: No OFD packet to send [16:17:04]OFD Sender: No OFD packet to send [16:17:09]OFD Sender: No OFD packet to send [16:17:14]OFD Sender: No OFD packet to send [16:17:19]OFD Sender: No OFD packet to send [16:17:24]OFD Sender: No OFD packet to send [16:17:29]OFD Sender: No OFD packet to send [16:17:34]OFD Sender: No OFD packet to send [16:17:39]OFD Sender: No OFD packet to send [16:17:44]OFD Sender: No OFD packet to send [16:17:49]OFD Sender: No OFD packet to send [16:17:54]OFD Sender: No OFD packet to send [16:17:59]OFD Sender: No OFD packet to send [16:18:04]OFD Sender: No OFD packet to send [16:18:09]OFD Sender: No OFD packet to send [16:18:14]OFD Sender: No OFD packet to send [16:18:19]OFD Sender: No OFD packet to send [16:18:24]OFD Sender: No OFD packet to send [16:18:29]OFD Sender: No OFD packet to send [16:18:34]OFD Sender: No OFD packet to send [16:18:39]OFD Sender: No OFD packet to send [16:18:44]OFD Sender: No OFD packet to send [16:18:49]OFD Sender: No OFD packet to send [16:18:54]OFD Sender: No OFD packet to send [16:18:59]OFD Sender: No OFD packet to send [16:19:04]OFD Sender: No OFD packet to send [16:19:09]OFD Sender: No OFD packet to send [16:19:14]OFD Sender: No OFD packet to send [16:19:19]OFD Sender: No OFD packet to send [16:19:24]OFD Sender: No OFD packet to send [16:19:29]OFD Sender: No OFD packet to send [16:19:34]OFD Sender: No OFD packet to send [16:19:39]OFD Sender: No OFD packet to send [16:19:44]OFD Sender: No OFD packet to send [16:19:49]OFD Sender: No OFD packet to send [16:19:54]OFD Sender: No OFD packet to send [16:19:59]OFD Sender: No OFD packet to send [16:20:04]OFD Sender: No OFD packet to send [16:20:09]OFD Sender: No OFD packet to send [16:20:14]OFD Sender: No OFD packet to send [16:20:19]OFD Sender: No OFD packet to send [16:20:24]OFD Sender: No OFD packet to send [16:20:29]OFD Sender: No OFD packet to send [16:20:34]OFD Sender: No OFD packet to send [16:20:39]OFD Sender: No OFD packet to send [16:20:44]OFD Sender: No OFD packet to send [16:20:49]OFD Sender: No OFD packet to send [16:20:54]OFD Sender: No OFD packet to send [16:20:59]OFD Sender: No OFD packet to send [16:21:04]OFD Sender: No OFD packet to send [16:21:09]OFD Sender: No OFD packet to send [16:21:14]OFD Sender: No OFD packet to send [16:21:19]OFD Sender: No OFD packet to send [16:21:24]OFD Sender: No OFD packet to send [16:21:29]OFD Sender: No OFD packet to send [16:21:34]OFD Sender: No OFD packet to send [16:21:39]OFD Sender: No OFD packet to send [16:21:44]OFD Sender: No OFD packet to send [16:21:49]OFD Sender: No OFD packet to send [16:21:54]OFD Sender: No OFD packet to send [16:21:59]OFD Sender: No OFD packet to send [16:22:04]OFD Sender: No OFD packet to send [16:22:09]OFD Sender: No OFD packet to send [16:22:14]OFD Sender: No OFD packet to send [16:22:19]OFD Sender: No OFD packet to send [16:22:24]OFD Sender: No OFD packet to send [16:22:29]OFD Sender: No OFD packet to send [16:22:34]OFD Sender: No OFD packet to send [16:22:39]OFD Sender: No OFD packet to send [16:22:44]OFD Sender: No OFD packet to send [16:22:49]OFD Sender: No OFD packet to send [16:22:54]OFD Sender: No OFD packet to send [16:22:59]OFD Sender: No OFD packet to send [16:23:04]OFD Sender: No OFD packet to send [16:23:09]OFD Sender: No OFD packet to send [16:23:14]OFD Sender: No OFD packet to send [16:23:19]OFD Sender: No OFD packet to send [16:23:24]OFD Sender: No OFD packet to send [16:23:29]OFD Sender: No OFD packet to send [16:23:34]OFD Sender: No OFD packet to send [16:23:39]OFD Sender: No OFD packet to send [16:23:44]OFD Sender: No OFD packet to send [16:23:49]OFD Sender: No OFD packet to send [16:23:54]OFD Sender: No OFD packet to send [16:23:59]OFD Sender: No OFD packet to send [16:24:04]OFD Sender: No OFD packet to send [16:24:09]OFD Sender: No OFD packet to send [16:24:14]OFD Sender: No OFD packet to send [16:24:19]OFD Sender: No OFD packet to send [16:24:24]OFD Sender: No OFD packet to send [16:24:29]OFD Sender: No OFD packet to send [16:24:34]OFD Sender: No OFD packet to send [16:24:39]OFD Sender: No OFD packet to send [16:24:44]OFD Sender: No OFD packet to send [16:24:49]OFD Sender: No OFD packet to send [16:24:54]OFD Sender: No OFD packet to send [16:24:59]OFD Sender: No OFD packet to send [16:25:04]OFD Sender: No OFD packet to send [16:25:09]OFD Sender: No OFD packet to send [16:25:14]OFD Sender: No OFD packet to send [16:25:19]OFD Sender: No OFD packet to send [16:25:24]OFD Sender: No OFD packet to send [16:25:29]OFD Sender: No OFD packet to send [16:25:34]OFD Sender: No OFD packet to send [16:25:39]OFD Sender: No OFD packet to send [16:25:39]accept exits with 9 [16:25:39]New connection [16:25:39]New thread 3067432292 created [16:25:39]Thread 3067575652 joined [16:25:39]Waiting for new connection... [16:25:39] Sock 9.Parse request [16:25:39]Sock 9.Check first char [16:25:39]Sock 9.First char is OK [16:25:39]request: POST /json_proto HTTP/1.0 [16:25:39]Method: POST [16:25:39]URL: /json_proto [16:25:39]Method is POST - this is cgi request [16:25:39]url: /json_proto [16:25:39]query_string will be loaded in cgi processing [16:25:39]execute_cgi json_proto POST (null) [16:25:39]execute_cgi path=json_proto method=POST [16:25:39]POST find Content-Length [16:25:39]Host: 172.17.56.68:8080 [16:25:39]Content-Length: 745 [16:25:39]Content-Type: application/json [16:25:39] [16:25:39]POST finish read [16:25:39]Found Content-Length = 745 [16:25:39]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4445", "tax_sys" : 0, "items" : [ { "code": "6921090700103", "name": "\u041E\u0447\u043A\u0438 \u0441\u043E\u043B\u043D\u0446\u0435\u0437\u0430\u0449\u0438\u0442\u043D\u044B\u0435 \u0432 \u0430\u0441\u0441\u043E\u0440\u0442\u0438\u043C\u0435\u043D\u0442\u0435", "price" : 502.00, "quantity" : 1.000, "sum" : 502.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 502.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:25:39]execute_script... [16:25: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)4445", "tax_sys" : 0, "items" : [ { "code": "6921090700103", "name": "\u041E\u0447\u043A\u0438 \u0441\u043E\u043B\u043D\u0446\u0435\u0437\u0430\u0449\u0438\u0442\u043D\u044B\u0435 \u0432 \u0430\u0441\u0441\u043E\u0440\u0442\u0438\u043C\u0435\u043D\u0442\u0435", "price" : 502.00, "quantity" : 1.000, "sum" : 502.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 502.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:25:39]POST & json_proto [16:25:39]process_json_proto [16:25:39]json parsed OK: [16:25:39]protocol is kg_v1.0 [16:25:39]action value=close_receipt [16:25:39]process_action close_receipt [16:25:39]cmd_close_receipt [16:25:39]MH_GetDate [16:25:39]Write to MH i2c: F0 00 00 9A 00 89 [16:25:39]Write i2c OK [16:25:39]MH_I2C_Read... [16:25:39]Read from MH i2c: F0 [16:25:39]MH_I2C_Read... [16:25:39]Read from MH i2c: F0 09 00 [16:25:39]MH_I2C_Read... [16:25:39]Read from MH i2c: F0 09 00 9A 00 00 83 91 60 66 3A 8F 60 66 FB [16:25:39]GetLastDocTimeStamp 1717604175 [16:25:39]current date 1717604739 [16:25:39]FM_GetShiftState [16:25:39]SAM_PROTO_GetShiftState [16:25:39]wFMCommunicate request_size=4 [16:25:39]MH_SAM_APDU [16:25:39]CAPDU: 80 13 01 00 [16:25:39]Write to MH i2c: E2 08 00 9B 00 80 13 01 00 00 00 00 00 18 [16:25:39]Write i2c OK [16:25:39]MH_I2C_Read... [16:25:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:25:39]Read from MH i2c: E2 [16:25:39]MH_I2C_Read... [16:25:39]Read from MH i2c: E2 0E 00 [16:25:39]MH_I2C_Read... [16:25:39]Read from MH i2c: E2 0E 00 9B 00 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 B9 [16:25:39]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [16:25:39]wFMCommunicate OK [16:25:39]SAM_PROTO_GetShiftState done [16:25:39]FM_GetShiftState done [16:25:39]opened in 1717545765 [16:25:39]opened+sec_in_day 1717632165 [16:25:39]quantity*price = 50200 [16:25:39]sum+1 = 50201 [16:25:39]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 502.00 НСП 1% : 4.44 НДС 12% : 53.31 Наличными: 502.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 50 05.06.2024 16:25 Смена: 84 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4192 ФПД: 249197981707339 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T162539&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4192&fm=249197981707339&tin=02508201610067®Number=0000000000145775&sum=50200 0 [16:25:40]StoreToDocumentArchive [16:25:40]shift 84 fd 4192 [16:25:40]save to /storage/0084/doc_00004192 [16:25:40]save last doc name /storage/0084/doc_00004192 to /storage/kkm_last_doc_name [16:25:40]save OK [16:25:40]Clear old archive folders... [16:25:40]ProcessDocumentItem done err = 0, tmpTLVsize=307 [16:25:40]tlvbuf is 020D0400 [16:25:40]SAM_PROTO_ClearQueue [16:25:40]wFMCommunicate request_size=4 [16:25:40]MH_SAM_APDU [16:25:40]CAPDU: 80 09 00 00 [16:25:40]Write to MH i2c: E2 08 00 A8 00 80 09 00 00 00 00 00 00 1A [16:25:40]Write i2c OK [16:25:40]MH_I2C_Read... [16:25:40]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:25:40]Read from MH i2c: E2 [16:25:40]MH_I2C_Read... [16:25:40]Read from MH i2c: E2 03 00 [16:25:40]MH_I2C_Read... [16:25:40]Read from MH i2c: E2 03 00 A8 00 00 90 00 1C [16:25:40]RAPDU: 90 00 [16:25:40]wFMCommunicate OK [16:25:40]SAM_PROTO_ClearQueue done [16:25:40]KKMCreateOFDPacket [16:25:40]OFDProtocolAddRootSTLVToBuf [16:25:40]FM_MakeSignedData [16:25:40]FM_MakeSignedData [16:25:40]SAM_PROTO_SignData [16:25:40]wFMCommunicate request_size=4 [16:25:40]MH_SAM_APDU [16:25:40]CAPDU: 80 0D 01 02 [16:25:40]Write to MH i2c: E2 08 00 A9 00 80 0D 01 02 00 00 00 00 22 [16:25:40]Write i2c OK [16:25:40]MH_I2C_Read... [16:25:40]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:25:40]Read from MH i2c: E2 [16:25:40]MH_I2C_Read... [16:25:40]Read from MH i2c: E2 03 00 [16:25:40]MH_I2C_Read... [16:25:40]Read from MH i2c: E2 03 00 A9 00 00 90 00 1D [16:25:40]RAPDU: 90 00 [16:25:40]wFMCommunicate OK [16:25:40]wFMCommunicate request_size=255 [16:25:40]MH_SAM_APDU [16:25:40]CAPDU: 80 0D 02 02 FA 03 00 33 01 1E 04 01 00 01 23 04 85 00 8A 04 0D 00 36 39 32 31 30 39 30 37 30 30 31 30 33 06 04 41 00 D0 9E D1 87 D0 BA D0 B8 20 D1 81 D0 BE D0 BB D0 BD D1 86 D0 B5 D0 B7 D0 B0 D1 89 D0 B8 D1 82 D0 BD D1 8B D0 B5 20 D0 B2 20 D0 B0 D1 81 D1 81 D0 BE D1 80 D1 82 D0 B8 D0 BC D0 B5 D0 BD D1 82 D0 B5 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 18 C4 00 00 00 00 13 04 06 00 18 C4 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 18 C4 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BC 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D3 14 00 00 00 00 07 04 06 00 18 C4 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 83 91 60 66 0E 04 04 00 54 00 00 00 B9 04 [16:25:40]Write to MH i2c: E2 02 01 AA 00 80 0D 02 02 FA 00 03 00 33 01 1E 04 01 00 01 23 04 85 00 8A 04 0D 00 36 39 32 31 30 39 30 37 30 30 31 30 33 06 04 41 00 D0 9E D1 87 D0 BA D0 B8 20 D1 81 D0 BE D0 BB D0 BD D1 86 D0 B5 D0 B7 D0 B0 D1 89 D0 B8 D1 82 D0 BD D1 8B D0 B5 20 D0 B2 20 D0 B0 D1 81 D1 81 D0 BE D1 80 D1 82 D0 B8 D0 BC D0 B5 D0 BD D1 82 D0 B5 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 18 C4 00 00 00 00 13 04 06 00 18 C4 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 18 C4 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BC 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D3 14 00 00 00 00 07 04 06 00 18 C4 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 83 91 60 66 0E 04 04 00 54 00 00 00 B9 04 00 00 10 [16:25:40]Write i2c OK [16:25:40]MH_I2C_Read... [16:25:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:25:41]Read from MH i2c: E2 [16:25:41]MH_I2C_Read... [16:25:41]Read from MH i2c: E2 03 00 [16:25:41]MH_I2C_Read... [16:25:41]Read from MH i2c: E2 03 00 AA 00 00 90 00 1E [16:25:41]RAPDU: 90 00 [16:25:41]wFMCommunicate OK [16:25:41]wFMCommunicate request_size=66 [16:25:41]MH_SAM_APDU [16:25:41]CAPDU: 80 0D 02 02 3D 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 60 10 00 00 35 04 06 00 E2 A4 ED 2D AC 4B [16:25:41]Write to MH i2c: E2 45 00 AB 00 80 0D 02 02 3D 00 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 60 10 00 00 35 04 06 00 E2 A4 ED 2D AC 4B 00 00 82 [16:25:41]Write i2c OK [16:25:41]MH_I2C_Read... [16:25:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:25:41]Read from MH i2c: E2 [16:25:41]MH_I2C_Read... [16:25:41]Read from MH i2c: E2 03 00 [16:25:41]MH_I2C_Read... [16:25:41]Read from MH i2c: E2 03 00 AB 00 00 90 00 1F [16:25:41]RAPDU: 90 00 [16:25:41]wFMCommunicate OK [16:25:41]wFMCommunicate request_size=4 [16:25:41]MH_SAM_APDU [16:25:41]CAPDU: 80 0D 03 02 [16:25:41]Write to MH i2c: E2 08 00 AC 00 80 0D 03 02 00 00 00 00 27 [16:25:41]Write i2c OK [16:25:41]MH_I2C_Read... [16:25:41]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:25:41]Read from MH i2c: E2 [16:25:41]MH_I2C_Read... [16:25:41]Read from MH i2c: E2 0B 00 [16:25:41]MH_I2C_Read... [16:25:41]Read from MH i2c: E2 0B 00 AC 00 00 94 06 03 39 51 34 60 52 90 00 35 [16:25:41]RAPDU: 94 06 03 39 51 34 60 52 90 00 [16:25:41]wFMCommunicate OK [16:25:41]SAM_PROTO_SignData done [16:25:41]FM_MakeSignedData done [16:25:41]CreateOFDProtocolMessage [16:25:41]wFMCommunicate request_size=4 [16:25:41]MH_SAM_APDU [16:25:41]CAPDU: 80 11 00 00 [16:25:41]Write to MH i2c: E2 08 00 AD 00 80 11 00 00 00 00 00 00 27 [16:25:41]Write i2c OK [16:25:41]MH_I2C_Read... [16:25:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:25:41]Read from MH i2c: E2 [16:25:41]MH_I2C_Read... [16:25:41]Read from MH i2c: E2 17 00 [16:25:41]MH_I2C_Read... [16:25:41]Read from MH i2c: E2 17 00 AD 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 7A [16:25:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [16:25:41]wFMCommunicate OK [16:25:41]CreateOFDProtocolMessage done [16:25:41]OFDSenderStorePacket 4192 [16:25:41]StoreOFDPacket docnum=4192 [16:25:41]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 47 01 00 00 4F 34 3F 01 F7 A8 5A 03 01 00 03 00 33 01 1E 04 01 00 01 23 04 85 00 8A 04 0D 00 36 39 32 31 30 39 30 37 30 30 31 30 33 06 04 41 00 D0 9E D1 87 D0 BA D0 B8 20 D1 81 D0 BE D0 BB D0 BD D1 86 D0 B5 D0 B7 D0 B0 D1 89 D0 B8 D1 82 D0 BD D1 8B D0 B5 20 D0 B2 20 D0 B0 D1 81 D1 81 D0 BE D1 80 D1 82 D0 B8 D0 BC D0 B5 D0 BD D1 82 D0 B5 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 18 C4 00 00 00 00 13 04 06 00 18 C4 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 18 C4 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BC 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D3 14 00 00 00 00 07 04 06 00 18 C4 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 83 91 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 60 10 00 00 35 04 06 00 E2 A4 ED 2D AC 4B 94 06 03 39 51 34 60 52 [16:25:41]CheckFolder [16:25:41]dirname=/storage/ofd_packets [16:25:41]CheckFolder done [16:25:41]ProducePacketName [16:25:41]name=ofd_packets/00004192 [16:25:41]NVStorageSaveData ofd_packets/00004192 [16:25:41]File name is /storage/ofd_packets/00004192 [16:25:41]Write 357 bytes [16:25:41]NVStorageSaveData done [16:25:41]OFDSenderStorePacket done [16:25:41]KKMCreateOFDPacket done [16:25:41]NVStorageSaveData kkm_last_timestamp [16:25:41]File name is /storage/kkm_last_timestamp [16:25:41]Write 4 bytes [16:25:41]NVStorageSaveData done [16:25:41]ExternCall_PrintAddStr [16:25:41]wPrintStart [16:25:41]Write to MH i2c: 01 00 00 AE 00 AE [16:25:41]Write i2c OK [16:25:41]MH_I2C_Read... [16:25:41]Read from MH i2c: 01 [16:25:41]MH_I2C_Read... [16:25:41]Read from MH i2c: 01 07 00 [16:25:41]MH_I2C_Read... [16:25:41]Read from MH i2c: 01 07 00 AE 00 00 00 00 00 00 FF 0F C3 [16:25:41]RasterBufferAndPrint [16:25:41]line Счет N : (3)4445 [16:25:41]line ИНН: 02508201610067 [16:25:41]line Контрольно-Кассовый Чек [16:25:41]line ПРОДАЖА [16:25:41]line Товар: 6921090700103 [16:25:41]line Очки солнцезащитные в ассортименте [16:25:41]line 1.000 * 502.00 [16:25:41]line = 502.00 [16:25:41]line НДС 12% НСП 1% [16:25:41]line > о реализуемом товаре [16:25:41]line ИТОГО: 502.00 [16:25:41]line НСП 1% : 4.44 [16:25:41]line НДС 12% : 53.31 [16:25:41]line Наличными: 502.00 [16:25:41]line Безнал.: 0.00 [16:25:41]line Место: АЗС № 116 "Партнер Нефть" [16:25:41]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [16:25:41]line СНО: Общий режим [16:25:41]line Чек 50 05.06.2024 16:25 [16:25:41]line Смена: 84 ФФД: 1.0 [16:25:41]line ЗНМ: 0300000233 [16:25:41]line РНМ: 0000000000145775 [16:25:41]line Версия ККМ: v1.0 [16:25:41]line ФМ: 0000000000959360 [16:25:41]line ФД: 4192 [16:25:41]line ФПД: 249197981707339 [16:25:41]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T162539&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4192&fm=249197981707339&tin=02508201610067®Number=0000000000145775&sum=50200 [16:25:41]line 0 [16:25:41]OFD Sender: Processing packet 4192 [packets to send 2, broken 1] [16:25:41]ProducePacketName [16:25:41]name=ofd_packets/00004192 [16:25:41]OFD Sender: To server: pG, [16:25:41]CommunicateWithHost lk.salyk.kg:30040 [16:25:41]ConnectInit lk.salyk.kg [16:25:41]written 0, free lines is 4095 [16:25:41]Connected sock=10 [16:25:41]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 47 01 00 00 4F 34 3F 01 F7 A8 5A 03 01 00 03 00 33 01 1E 04 01 00 01 23 04 85 00 8A 04 0D 00 36 39 32 31 30 39 30 37 30 30 31 30 33 06 04 41 00 D0 9E D1 87 D0 BA D0 B8 20 D1 81 D0 BE D0 BB D0 BD D1 86 D0 B5 D0 B7 D0 B0 D1 89 D0 B8 D1 82 D0 BD D1 8B D0 B5 20 D0 B2 20 D0 B0 D1 81 D1 81 D0 BE D1 80 D1 82 D0 B8 D0 BC D0 B5 D0 BD D1 82 D0 B5 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 18 C4 00 00 00 00 13 04 06 00 18 C4 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 18 C4 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BC 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D3 14 00 00 00 00 07 04 06 00 18 C4 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 83 91 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 60 10 00 00 35 04 06 00 E2 A4 ED 2D AC 4B 94 06 03 39 51 34 60 52 [16:25:41]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 EE D4 47 00 1F 29 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 60 10 00 00 F4 03 04 00 85 3D 60 66 B6 04 01 00 00 39 47 DA 40 F2 BE BF 20 [16:25:41]CommunicateWithHost err = 0 [16:25:41]CheckOFDResponse [16:25:41]1017 (14) - 77093643461234 [16:25:41]1041 (16) - 0000000000959360 [16:25:41]1040 (4) - 4192 [16:25:41]1012 (4) - 05.06.2024 10:27 [16:25:41]1206 (1) - 0 [16:25:41]OFD Sender: Remove packet 4192 [16:25:41]ProducePacketName [16:25:41]name=ofd_packets/00004192 [16:25:41]NVStorageDeleteData [16:25:42]Write to MH i2c: 01 00 00 D7 00 D7 [16:25:42]Write i2c OK [16:25:42]MH_I2C_Read... [16:25:42]Read from MH i2c: 01 [16:25:42]MH_I2C_Read... [16:25:42]Read from MH i2c: 01 07 00 [16:25:42]MH_I2C_Read... [16:25:42]Read from MH i2c: 01 07 00 D7 00 00 00 00 00 00 A7 0C 91 [16:25:42]RasterBufferAndPrint [16:25:42]line [16:25:42]line [16:25:42]line [16:25:42]line [16:25:42]line [16:25:42]written 0, free lines is 3242 [16:25:42]MH_Cut [16:25:42]Write to MH i2c: D1 01 00 DE 00 01 B0 [16:25:42]Write i2c OK [16:25:42]MH_I2C_Read... [16:25:42]Read from MH i2c: D1 [16:25:42]MH_I2C_Read... [16:25:42]Read from MH i2c: D1 01 00 [16:25:42]MH_I2C_Read... [16:25:42]Read from MH i2c: D1 01 00 DE 00 00 AF [16:25:42]Write to MH i2c: 01 00 00 DF 00 DF [16:25:42]Write i2c OK [16:25:42]MH_I2C_Read... [16:25:42]OFD Sender: No OFD packet to send [16:25:42]*** Cut start [16:25:42]*** Partial cut [16:25:42]*** CUTSNS_PIN = 1 [16:25:43]*** CUTSNS_PIN = 0 [16:25:43]*** Brake cut motor [16:25:43]Read from MH i2c: 01 [16:25:43]MH_I2C_Read... [16:25:43]*** Stop cut motor [16:25:43]*** Cut end [16:25:43]Read from MH i2c: 01 07 00 [16:25:43]MH_I2C_Read... [16:25:43]Read from MH i2c: 01 07 00 DF 00 00 00 00 00 00 FF 0F F4 [16:25:43]process_action close_receipt done [16:25:43]requested_data is exist [16:25:43]produce_requested_data [16:25:43]requested_item fm.sn is exist - process it [16:25:43]wFMCommunicate request_size=4 [16:25:43]MH_SAM_APDU [16:25:43]CAPDU: 80 11 00 00 [16:25:43]Write to MH i2c: E2 08 00 E0 00 80 11 00 00 00 00 00 00 5A [16:25:43]Write i2c OK [16:25:43]MH_I2C_Read... [16:25:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:25:43]Read from MH i2c: E2 [16:25:43]MH_I2C_Read... [16:25:43]Read from MH i2c: E2 17 00 [16:25:43]MH_I2C_Read... [16:25:43]Read from MH i2c: E2 17 00 E0 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 AD [16:25:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [16:25:43]wFMCommunicate OK [16:25:43]requested_item fd.num is exist - process it [16:25:43]SAM_PROTO_GetFieldsCounters [16:25:43]wFMCommunicate request_size=4 [16:25:43]MH_SAM_APDU [16:25:43]CAPDU: 80 13 00 00 [16:25:43]Write to MH i2c: E2 08 00 E1 00 80 13 00 00 00 00 00 00 5D [16:25:43]Write i2c OK [16:25:43]MH_I2C_Read... [16:25:43]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:25:43]Read from MH i2c: E2 [16:25:43]MH_I2C_Read... [16:25:43]Read from MH i2c: E2 62 00 [16:25:43]MH_I2C_Read... [16:25:43]Read from MH i2c: E2 62 00 E1 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 60 10 00 00 0E 04 04 00 54 00 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 DC [16:25:43]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 60 10 00 00 0E 04 04 00 54 00 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:25:43]wFMCommunicate OK [16:25:43]SAM_PROTO_GetFieldsCounters done [16:25:43]requested_item shift.num is exist - process it [16:25:43]requested_item shift.opened is exist - process it [16:25:43]req_shift_opened [16:25:43]FM_GetShiftState [16:25:43]SAM_PROTO_GetShiftState [16:25:43]wFMCommunicate request_size=4 [16:25:43]MH_SAM_APDU [16:25:43]CAPDU: 80 13 01 00 [16:25:43]Write to MH i2c: E2 08 00 E2 00 80 13 01 00 00 00 00 00 5F [16:25:43]Write i2c OK [16:25:43]MH_I2C_Read... [16:25:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:25:43]Read from MH i2c: E2 [16:25:43]MH_I2C_Read... [16:25:43]Read from MH i2c: E2 0E 00 [16:25:43]MH_I2C_Read... [16:25:43]Read from MH i2c: E2 0E 00 E2 00 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 00 [16:25:43]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [16:25:43]wFMCommunicate OK [16:25:43]SAM_PROTO_GetShiftState done [16:25:43]FM_GetShiftState done [16:25:43]req_shift_opened done [16:25:43]requested_item shift.open_date is exist - process it [16:25:43]req_shift_open_date [16:25:43]req_shift_open_date done [16:25:43]produce_requested_data done [16:25:43]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4192,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765} [16:25:43]process_action_free close_receipt [16:25:43]json_value_free [16:25:43]json_value_free done [16:25:43]process_json_proto returns [16:25:43]Send response to host [16:25:43]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4192,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765}}} [16:25:43]free response buf [16:25:43]execute_script done [16:25:43]execute_script returns [16:25:43]free content buf [16:25:43]Sock 9.Close socket [16:25:43]Sock 9.Thread stoped [16:25:47]OFD Sender: No OFD packet to send [16:25:52]OFD Sender: No OFD packet to send [16:25:57]OFD Sender: No OFD packet to send [16:26:02]OFD Sender: No OFD packet to send [16:26:07]OFD Sender: No OFD packet to send [16:26:12]OFD Sender: No OFD packet to send [16:26:17]OFD Sender: No OFD packet to send [16:26:22]OFD Sender: No OFD packet to send [16:26:27]OFD Sender: No OFD packet to send [16:26:32]OFD Sender: No OFD packet to send [16:26:37]OFD Sender: No OFD packet to send [16:26:42]OFD Sender: No OFD packet to send [16:26:47]OFD Sender: No OFD packet to send [16:26:52]OFD Sender: No OFD packet to send [16:26:57]OFD Sender: No OFD packet to send [16:27:02]OFD Sender: No OFD packet to send [16:27:07]OFD Sender: No OFD packet to send [16:27:12]OFD Sender: No OFD packet to send [16:27:17]OFD Sender: No OFD packet to send [16:27:22]OFD Sender: No OFD packet to send [16:27:27]OFD Sender: No OFD packet to send [16:27:32]OFD Sender: No OFD packet to send [16:27:37]OFD Sender: No OFD packet to send [16:27:42]OFD Sender: No OFD packet to send [16:27:47]OFD Sender: No OFD packet to send [16:27:52]OFD Sender: No OFD packet to send [16:27:57]OFD Sender: No OFD packet to send [16:28:02]OFD Sender: No OFD packet to send [16:28:07]OFD Sender: No OFD packet to send [16:28:12]OFD Sender: No OFD packet to send [16:28:17]OFD Sender: No OFD packet to send [16:28:22]OFD Sender: No OFD packet to send [16:28:27]OFD Sender: No OFD packet to send [16:28:32]OFD Sender: No OFD packet to send [16:28:37]OFD Sender: No OFD packet to send [16:28:42]OFD Sender: No OFD packet to send [16:28:47]OFD Sender: No OFD packet to send [16:28:52]OFD Sender: No OFD packet to send [16:28:57]OFD Sender: No OFD packet to send [16:29:02]OFD Sender: No OFD packet to send [16:29:07]OFD Sender: No OFD packet to send [16:29:12]OFD Sender: No OFD packet to send [16:29:17]OFD Sender: No OFD packet to send [16:29:22]OFD Sender: No OFD packet to send [16:29:27]OFD Sender: No OFD packet to send [16:29:32]OFD Sender: No OFD packet to send [16:29:37]OFD Sender: No OFD packet to send [16:29:42]OFD Sender: No OFD packet to send [16:29:47]OFD Sender: No OFD packet to send [16:29:52]OFD Sender: No OFD packet to send [16:29:57]OFD Sender: No OFD packet to send [16:30:02]OFD Sender: No OFD packet to send [16:30:07]OFD Sender: No OFD packet to send [16:30:12]OFD Sender: No OFD packet to send [16:30:17]OFD Sender: No OFD packet to send [16:30:22]OFD Sender: No OFD packet to send [16:30:27]OFD Sender: No OFD packet to send [16:30:32]OFD Sender: No OFD packet to send [16:30:37]OFD Sender: No OFD packet to send [16:30:42]OFD Sender: No OFD packet to send [16:30:47]OFD Sender: No OFD packet to send [16:30:52]OFD Sender: No OFD packet to send [16:30:57]OFD Sender: No OFD packet to send [16:31:02]OFD Sender: No OFD packet to send [16:31:07]OFD Sender: No OFD packet to send [16:31:12]OFD Sender: No OFD packet to send [16:31:17]OFD Sender: No OFD packet to send [16:31:22]OFD Sender: No OFD packet to send [16:31:27]OFD Sender: No OFD packet to send [16:31:32]OFD Sender: No OFD packet to send [16:31:37]OFD Sender: No OFD packet to send [16:31:42]OFD Sender: No OFD packet to send [16:31:47]OFD Sender: No OFD packet to send [16:31:52]OFD Sender: No OFD packet to send [16:31:57]OFD Sender: No OFD packet to send [16:32:02]OFD Sender: No OFD packet to send [16:32:07]OFD Sender: No OFD packet to send [16:32:12]OFD Sender: No OFD packet to send [16:32:17]OFD Sender: No OFD packet to send [16:32:22]OFD Sender: No OFD packet to send [16:32:27]OFD Sender: No OFD packet to send [16:32:32]OFD Sender: No OFD packet to send [16:32:37]OFD Sender: No OFD packet to send [16:32:42]OFD Sender: No OFD packet to send [16:32:47]OFD Sender: No OFD packet to send [16:32:52]OFD Sender: No OFD packet to send [16:32:57]OFD Sender: No OFD packet to send [16:33:02]OFD Sender: No OFD packet to send [16:33:07]OFD Sender: No OFD packet to send [16:33:12]OFD Sender: No OFD packet to send [16:33:17]OFD Sender: No OFD packet to send [16:33:22]OFD Sender: No OFD packet to send [16:33:27]OFD Sender: No OFD packet to send [16:33:32]OFD Sender: No OFD packet to send [16:33:37]OFD Sender: No OFD packet to send [16:33:42]OFD Sender: No OFD packet to send [16:33:47]OFD Sender: No OFD packet to send [16:33:52]OFD Sender: No OFD packet to send [16:33:57]OFD Sender: No OFD packet to send [16:34:02]OFD Sender: No OFD packet to send [16:34:07]OFD Sender: No OFD packet to send [16:34:12]OFD Sender: No OFD packet to send [16:34:17]OFD Sender: No OFD packet to send [16:34:22]OFD Sender: No OFD packet to send [16:34:27]OFD Sender: No OFD packet to send [16:34:32]OFD Sender: No OFD packet to send [16:34:37]OFD Sender: No OFD packet to send [16:34:42]OFD Sender: No OFD packet to send [16:34:47]OFD Sender: No OFD packet to send [16:34:52]OFD Sender: No OFD packet to send [16:34:57]OFD Sender: No OFD packet to send [16:35:02]OFD Sender: No OFD packet to send [16:35:07]OFD Sender: No OFD packet to send [16:35:12]OFD Sender: No OFD packet to send [16:35:17]OFD Sender: No OFD packet to send [16:35:22]OFD Sender: No OFD packet to send [16:35:27]OFD Sender: No OFD packet to send [16:35:32]OFD Sender: No OFD packet to send [16:35:37]OFD Sender: No OFD packet to send [16:35:42]OFD Sender: No OFD packet to send [16:35:47]OFD Sender: No OFD packet to send [16:35:52]OFD Sender: No OFD packet to send [16:35:57]OFD Sender: No OFD packet to send [16:36:02]OFD Sender: No OFD packet to send [16:36:07]OFD Sender: No OFD packet to send [16:36:12]OFD Sender: No OFD packet to send [16:36:17]OFD Sender: No OFD packet to send [16:36:22]OFD Sender: No OFD packet to send [16:36:27]OFD Sender: No OFD packet to send [16:36:32]OFD Sender: No OFD packet to send [16:36:37]OFD Sender: No OFD packet to send [16:36:42]OFD Sender: No OFD packet to send [16:36:47]OFD Sender: No OFD packet to send [16:36:52]OFD Sender: No OFD packet to send [16:36:57]OFD Sender: No OFD packet to send [16:37:02]OFD Sender: No OFD packet to send [16:37:07]OFD Sender: No OFD packet to send [16:37:12]OFD Sender: No OFD packet to send [16:37:17]OFD Sender: No OFD packet to send [16:37:22]OFD Sender: No OFD packet to send [16:37:27]OFD Sender: No OFD packet to send [16:37:32]OFD Sender: No OFD packet to send [16:37:37]OFD Sender: No OFD packet to send [16:37:42]OFD Sender: No OFD packet to send [16:37:47]OFD Sender: No OFD packet to send [16:37:52]OFD Sender: No OFD packet to send [16:37:57]OFD Sender: No OFD packet to send [16:38:02]OFD Sender: No OFD packet to send [16:38:07]OFD Sender: No OFD packet to send [16:38:12]OFD Sender: No OFD packet to send [16:38:17]OFD Sender: No OFD packet to send [16:38:22]OFD Sender: No OFD packet to send [16:38:27]OFD Sender: No OFD packet to send [16:38:32]OFD Sender: No OFD packet to send [16:38:37]OFD Sender: No OFD packet to send [16:38:42]OFD Sender: No OFD packet to send [16:38:47]OFD Sender: No OFD packet to send [16:38:52]OFD Sender: No OFD packet to send [16:38:57]OFD Sender: No OFD packet to send [16:39:02]OFD Sender: No OFD packet to send [16:39:07]OFD Sender: No OFD packet to send [16:39:12]OFD Sender: No OFD packet to send [16:39:17]OFD Sender: No OFD packet to send [16:39:22]OFD Sender: No OFD packet to send [16:39:27]OFD Sender: No OFD packet to send [16:39:32]OFD Sender: No OFD packet to send [16:39:37]OFD Sender: No OFD packet to send [16:39:42]OFD Sender: No OFD packet to send [16:39:47]OFD Sender: No OFD packet to send [16:39:52]OFD Sender: No OFD packet to send [16:39:57]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:53]OFD Sender: No OFD packet to send [16:42:58]OFD Sender: No OFD packet to send [16:43:03]OFD Sender: No OFD packet to send [16:43:08]OFD Sender: No OFD packet to send [16:43:13]OFD Sender: No OFD packet to send [16:43:18]OFD Sender: No OFD packet to send [16:43:23]OFD Sender: No OFD packet to send [16:43:28]OFD Sender: No OFD packet to send [16:43:33]OFD Sender: No OFD packet to send [16:43:38]OFD Sender: No OFD packet to send [16:43:43]OFD Sender: No OFD packet to send [16:43:48]OFD Sender: No OFD packet to send [16:43:53]OFD Sender: No OFD packet to send [16:43:58]OFD Sender: No OFD packet to send [16:44:03]OFD Sender: No OFD packet to send [16:44:08]OFD Sender: No OFD packet to send [16:44:13]OFD Sender: No OFD packet to send [16:44:18]OFD Sender: No OFD packet to send [16:44:23]OFD Sender: No OFD packet to send [16:44:28]OFD Sender: No OFD packet to send [16:44:33]OFD Sender: No OFD packet to send [16:44:38]OFD Sender: No OFD packet to send [16:44:43]OFD Sender: No OFD packet to send [16:44:48]OFD Sender: No OFD packet to send [16:44:53]OFD Sender: No OFD packet to send [16:44:58]OFD Sender: No OFD packet to send [16:45:03]OFD Sender: No OFD packet to send [16:45:08]OFD Sender: No OFD packet to send [16:45:13]OFD Sender: No OFD packet to send [16:45:18]OFD Sender: No OFD packet to send [16:45:23]OFD Sender: No OFD packet to send [16:45:28]OFD Sender: No OFD packet to send [16:45:33]OFD Sender: No OFD packet to send [16:45:38]OFD Sender: No OFD packet to send [16:45:43]OFD Sender: No OFD packet to send [16:45:48]OFD Sender: No OFD packet to send [16:45:53]OFD Sender: No OFD packet to send [16:45:58]OFD Sender: No OFD packet to send [16:46:03]OFD Sender: No OFD packet to send [16:46:08]OFD Sender: No OFD packet to send [16:46:13]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:39]accept exits with 8 [16:54:39]New connection [16:54:39]New thread 3067575652 created [16:54:39]Thread 3067432292 joined [16:54:39]Waiting for new connection... [16:54:39] Sock 8.Parse request [16:54:39]Sock 8.Check first char [16:54:39]Sock 8.First char is OK [16:54:39]request: POST /json_proto HTTP/1.0 [16:54:39]Method: POST [16:54:39]URL: /json_proto [16:54:39]Method is POST - this is cgi request [16:54:39]url: /json_proto [16:54:39]query_string will be loaded in cgi processing [16:54:39]execute_cgi json_proto POST (null) [16:54:39]execute_cgi path=json_proto method=POST [16:54:39]POST find Content-Length [16:54:39]Host: 172.17.56.68:8080 [16:54:39]Content-Length: 612 [16:54:39]Content-Type: application/json [16:54:39] [16:54:39]POST finish read [16:54:39]Found Content-Length = 612 [16:54:39]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4446", "tax_sys" : 0, "items" : [ { "code": "48744317", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Camel Yellow", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 150.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:54:39]execute_script... [16:54: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)4446", "tax_sys" : 0, "items" : [ { "code": "48744317", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Camel Yellow", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 150.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:54:39]POST & json_proto [16:54:39]process_json_proto [16:54:39]json parsed OK: [16:54:39]protocol is kg_v1.0 [16:54:39]action value=close_receipt [16:54:39]process_action close_receipt [16:54:39]cmd_close_receipt [16:54:39]MH_GetDate [16:54:39]Write to MH i2c: F0 00 00 E3 00 D2 [16:54:39]Write i2c OK [16:54:39]MH_I2C_Read... [16:54:39]Read from MH i2c: F0 [16:54:39]MH_I2C_Read... [16:54:39]Read from MH i2c: F0 09 00 [16:54:39]MH_I2C_Read... [16:54:39]Read from MH i2c: F0 09 00 E3 00 00 4F 98 60 66 3A 8F 60 66 17 [16:54:39]GetLastDocTimeStamp 1717604739 [16:54:39]current date 1717606479 [16:54:39]FM_GetShiftState [16:54:39]SAM_PROTO_GetShiftState [16:54:39]wFMCommunicate request_size=4 [16:54:39]MH_SAM_APDU [16:54:39]CAPDU: 80 13 01 00 [16:54:39]Write to MH i2c: E2 08 00 E4 00 80 13 01 00 00 00 00 00 61 [16:54:39]Write i2c OK [16:54:39]MH_I2C_Read... [16:54:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:54:39]Read from MH i2c: E2 [16:54:39]MH_I2C_Read... [16:54:39]Read from MH i2c: E2 0E 00 [16:54:39]MH_I2C_Read... [16:54:39]Read from MH i2c: E2 0E 00 E4 00 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 02 [16:54:39]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [16:54:39]wFMCommunicate OK [16:54:39]SAM_PROTO_GetShiftState done [16:54:39]FM_GetShiftState done [16:54:39]opened in 1717545765 [16:54:39]opened+sec_in_day 1717632165 [16:54:39]quantity*price = 15000 [16:54:39]sum+1 = 15001 [16:54:39]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 150.00 НСП 1% : 1.33 НДС 12% : 15.93 Наличными: 150.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 51 05.06.2024 16:54 Смена: 84 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4193 ФПД: 224183423207768 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T165439&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4193&fm=224183423207768&tin=02508201610067®Number=0000000000145775&sum=15000 0 [16:54:40]StoreToDocumentArchive [16:54:40]shift 84 fd 4193 [16:54:40]save to /storage/0084/doc_00004193 [16:54:40]save last doc name /storage/0084/doc_00004193 to /storage/kkm_last_doc_name [16:54:40]save OK [16:54:40]Clear old archive folders... [16:54:40]ProcessDocumentItem done err = 0, tmpTLVsize=266 [16:54:40]tlvbuf is 020EEF40 [16:54:40]SAM_PROTO_ClearQueue [16:54:40]wFMCommunicate request_size=4 [16:54:40]MH_SAM_APDU [16:54:40]CAPDU: 80 09 00 00 [16:54:40]Write to MH i2c: E2 08 00 F1 00 80 09 00 00 00 00 00 00 63 [16:54:40]Write i2c OK [16:54:40]MH_I2C_Read... [16:54:40]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:54:40]Read from MH i2c: E2 [16:54:40]MH_I2C_Read... [16:54:40]Read from MH i2c: E2 03 00 [16:54:40]MH_I2C_Read... [16:54:40]Read from MH i2c: E2 03 00 F1 00 00 90 00 65 [16:54:40]RAPDU: 90 00 [16:54:40]wFMCommunicate OK [16:54:40]SAM_PROTO_ClearQueue done [16:54:40]KKMCreateOFDPacket [16:54:40]OFDProtocolAddRootSTLVToBuf [16:54:40]FM_MakeSignedData [16:54:40]FM_MakeSignedData [16:54:40]SAM_PROTO_SignData [16:54:40]wFMCommunicate request_size=4 [16:54:40]MH_SAM_APDU [16:54:40]CAPDU: 80 0D 01 02 [16:54:40]Write to MH i2c: E2 08 00 F2 00 80 0D 01 02 00 00 00 00 6B [16:54:40]Write i2c OK [16:54:40]MH_I2C_Read... [16:54:40]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:54:40]Read from MH i2c: E2 [16:54:40]MH_I2C_Read... [16:54:40]Read from MH i2c: E2 03 00 [16:54:40]MH_I2C_Read... [16:54:40]Read from MH i2c: E2 03 00 F2 00 00 90 00 66 [16:54:40]RAPDU: 90 00 [16:54:40]wFMCommunicate OK [16:54:40]wFMCommunicate request_size=255 [16:54:40]MH_SAM_APDU [16:54:40]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 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 4F 98 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 [16:54:40]Write to MH i2c: E2 02 01 F3 00 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 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 4F 98 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 00 00 6C [16:54:40]Write i2c OK [16:54:40]MH_I2C_Read... [16:54:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:54:41]Read from MH i2c: E2 [16:54:41]MH_I2C_Read... [16:54:41]Read from MH i2c: E2 03 00 [16:54:41]MH_I2C_Read... [16:54:41]Read from MH i2c: E2 03 00 F3 00 00 90 00 67 [16:54:41]RAPDU: 90 00 [16:54:41]wFMCommunicate OK [16:54:41]wFMCommunicate request_size=25 [16:54:41]MH_SAM_APDU [16:54:41]CAPDU: 80 0D 02 02 14 36 30 10 04 04 00 61 10 00 00 35 04 06 00 CB E4 C5 4E 09 58 [16:54:41]Write to MH i2c: E2 1C 00 F4 00 80 0D 02 02 14 00 36 30 10 04 04 00 61 10 00 00 35 04 06 00 CB E4 C5 4E 09 58 00 00 E7 [16:54:41]Write i2c OK [16:54:41]MH_I2C_Read... [16:54:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:54:41]Read from MH i2c: E2 [16:54:41]MH_I2C_Read... [16:54:41]Read from MH i2c: E2 03 00 [16:54:41]MH_I2C_Read... [16:54:41]Read from MH i2c: E2 03 00 F4 00 00 90 00 68 [16:54:41]RAPDU: 90 00 [16:54:41]wFMCommunicate OK [16:54:41]wFMCommunicate request_size=4 [16:54:41]MH_SAM_APDU [16:54:41]CAPDU: 80 0D 03 02 [16:54:41]Write to MH i2c: E2 08 00 F5 00 80 0D 03 02 00 00 00 00 70 [16:54:41]Write i2c OK [16:54:41]MH_I2C_Read... [16:54:41]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:54:41]Read from MH i2c: E2 [16:54:41]MH_I2C_Read... [16:54:41]Read from MH i2c: E2 0B 00 [16:54:41]MH_I2C_Read... [16:54:41]Read from MH i2c: E2 0B 00 F5 00 00 48 45 24 39 E9 2B C5 FF 90 00 33 [16:54:41]RAPDU: 48 45 24 39 E9 2B C5 FF 90 00 [16:54:41]wFMCommunicate OK [16:54:41]SAM_PROTO_SignData done [16:54:41]FM_MakeSignedData done [16:54:41]CreateOFDProtocolMessage [16:54:41]wFMCommunicate request_size=4 [16:54:41]MH_SAM_APDU [16:54:41]CAPDU: 80 11 00 00 [16:54:41]Write to MH i2c: E2 08 00 F6 00 80 11 00 00 00 00 00 00 70 [16:54:41]Write i2c OK [16:54:41]MH_I2C_Read... [16:54:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:54:41]Read from MH i2c: E2 [16:54:41]MH_I2C_Read... [16:54:41]Read from MH i2c: E2 17 00 [16:54:41]MH_I2C_Read... [16:54:41]Read from MH i2c: E2 17 00 F6 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 C3 [16:54:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [16:54:41]wFMCommunicate OK [16:54:41]CreateOFDProtocolMessage done [16:54:41]OFDSenderStorePacket 4193 [16:54:41]StoreOFDPacket docnum=4193 [16:54:41]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 1E 01 00 00 C5 00 16 01 06 5C 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 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 4F 98 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 61 10 00 00 35 04 06 00 CB E4 C5 4E 09 58 48 45 24 39 E9 2B C5 FF [16:54:41]CheckFolder [16:54:41]dirname=/storage/ofd_packets [16:54:41]CheckFolder done [16:54:41]ProducePacketName [16:54:41]name=ofd_packets/00004193 [16:54:41]NVStorageSaveData ofd_packets/00004193 [16:54:41]File name is /storage/ofd_packets/00004193 [16:54:41]Write 316 bytes [16:54:41]NVStorageSaveData done [16:54:41]OFDSenderStorePacket done [16:54:41]KKMCreateOFDPacket done [16:54:41]NVStorageSaveData kkm_last_timestamp [16:54:41]File name is /storage/kkm_last_timestamp [16:54:41]Write 4 bytes [16:54:41]NVStorageSaveData done [16:54:41]ExternCall_PrintAddStr [16:54:41]wPrintStart [16:54:41]Write to MH i2c: 01 00 00 F7 00 F7 [16:54:41]Write i2c OK [16:54:41]MH_I2C_Read... [16:54:41]Read from MH i2c: 01 [16:54:41]MH_I2C_Read... [16:54:41]Read from MH i2c: 01 07 00 [16:54:41]MH_I2C_Read... [16:54:41]Read from MH i2c: 01 07 00 F7 00 00 00 00 00 00 FF 0F 0C [16:54:41]RasterBufferAndPrint [16:54:41]line Счет N : (3)4446 [16:54:41]line ИНН: 02508201610067 [16:54:41]line Контрольно-Кассовый Чек [16:54:41]line ПРОДАЖА [16:54:41]line Товар: 48744317 [16:54:41]line Сигареты Camel Yellow [16:54:41]line 1.000 * 150.00 [16:54:41]line = 150.00 [16:54:41]line НДС 12% НСП 1% [16:54:41]line > о реализуемом товаре [16:54:41]line ИТОГО: 150.00 [16:54:41]line НСП 1% : 1.33 [16:54:41]line НДС 12% : 15.93 [16:54:41]line Наличными: 150.00 [16:54:41]line Безнал.: 0.00 [16:54:41]line Место: АЗС № 116 "Партнер Нефть" [16:54:41]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [16:54:41]line СНО: Общий режим [16:54:41]line Чек 51 05.06.2024 16:54 [16:54:41]line Смена: 84 ФФД: 1.0 [16:54:41]line ЗНМ: 0300000233 [16:54:41]line РНМ: 0000000000145775 [16:54:41]line Версия ККМ: v1.0 [16:54:41]line ФМ: 0000000000959360 [16:54:41]line ФД: 4193 [16:54:41]line ФПД: 224183423207768 [16:54:41]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T165439&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4193&fm=224183423207768&tin=02508201610067®Number=0000000000145775&sum=15000 [16:54:41]line 0 [16:54:41]OFD Sender: Processing packet 4193 [packets to send 2, broken 1] [16:54:41]ProducePacketName [16:54:41]name=ofd_packets/00004193 [16:54:41]OFD Sender: To server: pG, [16:54:41]CommunicateWithHost lk.salyk.kg:30040 [16:54:41]ConnectInit lk.salyk.kg [16:54:41]written 0, free lines is 4095 [16:54:41]Connected sock=10 [16:54:41]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 1E 01 00 00 C5 00 16 01 06 5C 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 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 4F 98 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 61 10 00 00 35 04 06 00 CB E4 C5 4E 09 58 48 45 24 39 E9 2B C5 FF [16:54:41]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 74 FC 47 00 42 DF A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 61 10 00 00 F4 03 04 00 51 44 60 66 B6 04 01 00 00 93 20 E4 58 FC EF 9D 6C [16:54:41]CommunicateWithHost err = 0 [16:54:41]CheckOFDResponse [16:54:41]1017 (14) - 77093643461234 [16:54:41]1041 (16) - 0000000000959360 [16:54:41]1040 (4) - 4193 [16:54:41]1012 (4) - 05.06.2024 10:56 [16:54:41]1206 (1) - 0 [16:54:41]OFD Sender: Remove packet 4193 [16:54:41]ProducePacketName [16:54:41]name=ofd_packets/00004193 [16:54:41]NVStorageDeleteData [16:54:41]Write to MH i2c: 01 00 00 1F 01 20 [16:54:41]Write i2c OK [16:54:41]MH_I2C_Read... [16:54:41]Read from MH i2c: 01 [16:54:41]MH_I2C_Read... [16:54:41]Read from MH i2c: 01 07 00 [16:54:41]MH_I2C_Read... [16:54:41]Read from MH i2c: 01 07 00 1F 01 00 00 00 00 00 CC 0C FF [16:54:41]RasterBufferAndPrint [16:54:41]line [16:54:41]line [16:54:41]line [16:54:41]line [16:54:41]line [16:54:41]written 0, free lines is 3281 [16:54:41]MH_Cut [16:54:41]Write to MH i2c: D1 01 00 26 01 01 F9 [16:54:41]Write i2c OK [16:54:41]MH_I2C_Read... [16:54:41]Read from MH i2c: D1 [16:54:41]MH_I2C_Read... [16:54:41]Read from MH i2c: D1 01 00 [16:54:41]MH_I2C_Read... [16:54:41]Read from MH i2c: D1 01 00 26 01 00 F8 [16:54:41]Write to MH i2c: 01 00 00 27 01 28 [16:54:41]Write i2c OK [16:54:41]MH_I2C_Read... [16:54:42]OFD Sender: No OFD packet to send [16:54:42]*** Cut start [16:54:42]*** Partial cut [16:54:42]*** CUTSNS_PIN = 1 [16:54:42]*** CUTSNS_PIN = 0 [16:54:43]*** Brake cut motor [16:54:43]Read from MH i2c: 01 [16:54:43]MH_I2C_Read... [16:54:43]*** Stop cut motor [16:54:43]*** Cut end [16:54:43]Read from MH i2c: 01 07 00 [16:54:43]MH_I2C_Read... [16:54:43]Read from MH i2c: 01 07 00 27 01 00 00 00 00 00 FF 0F 3D [16:54:43]process_action close_receipt done [16:54:43]requested_data is exist [16:54:43]produce_requested_data [16:54:43]requested_item fm.sn is exist - process it [16:54:43]wFMCommunicate request_size=4 [16:54:43]MH_SAM_APDU [16:54:43]CAPDU: 80 11 00 00 [16:54:43]Write to MH i2c: E2 08 00 28 01 80 11 00 00 00 00 00 00 A3 [16:54:43]Write i2c OK [16:54:43]MH_I2C_Read... [16:54:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:54:43]Read from MH i2c: E2 [16:54:43]MH_I2C_Read... [16:54:43]Read from MH i2c: E2 17 00 [16:54:43]MH_I2C_Read... [16:54:43]Read from MH i2c: E2 17 00 28 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 F6 [16:54:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [16:54:43]wFMCommunicate OK [16:54:43]requested_item fd.num is exist - process it [16:54:43]SAM_PROTO_GetFieldsCounters [16:54:43]wFMCommunicate request_size=4 [16:54:43]MH_SAM_APDU [16:54:43]CAPDU: 80 13 00 00 [16:54:43]Write to MH i2c: E2 08 00 29 01 80 13 00 00 00 00 00 00 A6 [16:54:43]Write i2c OK [16:54:43]MH_I2C_Read... [16:54:43]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:54:43]Read from MH i2c: E2 [16:54:43]MH_I2C_Read... [16:54:43]Read from MH i2c: E2 62 00 [16:54:43]MH_I2C_Read... [16:54:43]Read from MH i2c: E2 62 00 29 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 61 10 00 00 0E 04 04 00 54 00 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 29 [16:54:43]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 61 10 00 00 0E 04 04 00 54 00 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:54:43]wFMCommunicate OK [16:54:43]SAM_PROTO_GetFieldsCounters done [16:54:43]requested_item shift.num is exist - process it [16:54:43]requested_item shift.opened is exist - process it [16:54:43]req_shift_opened [16:54:43]FM_GetShiftState [16:54:43]SAM_PROTO_GetShiftState [16:54:43]wFMCommunicate request_size=4 [16:54:43]MH_SAM_APDU [16:54:43]CAPDU: 80 13 01 00 [16:54:43]Write to MH i2c: E2 08 00 2A 01 80 13 01 00 00 00 00 00 A8 [16:54:43]Write i2c OK [16:54:43]MH_I2C_Read... [16:54:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:54:43]Read from MH i2c: E2 [16:54:43]MH_I2C_Read... [16:54:43]Read from MH i2c: E2 0E 00 [16:54:43]MH_I2C_Read... [16:54:43]Read from MH i2c: E2 0E 00 2A 01 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 49 [16:54:43]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [16:54:43]wFMCommunicate OK [16:54:43]SAM_PROTO_GetShiftState done [16:54:43]FM_GetShiftState done [16:54:43]req_shift_opened done [16:54:43]requested_item shift.open_date is exist - process it [16:54:43]req_shift_open_date [16:54:43]req_shift_open_date done [16:54:43]produce_requested_data done [16:54:43]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4193,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765} [16:54:43]process_action_free close_receipt [16:54:43]json_value_free [16:54:43]json_value_free done [16:54:43]process_json_proto returns [16:54:43]Send response to host [16:54:43]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4193,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765}}} [16:54:43]free response buf [16:54:43]execute_script done [16:54:43]execute_script returns [16:54:43]free content buf [16:54:43]Sock 8.Close socket [16:54:43]Sock 8.Thread stoped [16:54:47]OFD Sender: No OFD packet to send [16:54:52]OFD Sender: No OFD packet to send [16:54:57]OFD Sender: No OFD packet to send [16:55:02]OFD Sender: No OFD packet to send [16:55:07]OFD Sender: No OFD packet to send [16:55:12]OFD Sender: No OFD packet to send [16:55:13]accept exits with 9 [16:55:13]New connection [16:55:13]New thread 3067432292 created [16:55:13]Thread 3067575652 joined [16:55:13]Waiting for new connection... [16:55:13] Sock 9.Parse request [16:55:13]Sock 9.Check first char [16:55:13]Sock 9.First char is OK [16:55:13]request: POST /json_proto HTTP/1.0 [16:55:13]Method: POST [16:55:13]URL: /json_proto [16:55:13]Method is POST - this is cgi request [16:55:13]url: /json_proto [16:55:13]query_string will be loaded in cgi processing [16:55:13]execute_cgi json_proto POST (null) [16:55:13]execute_cgi path=json_proto method=POST [16:55:13]POST find Content-Length [16:55:13]Host: 172.17.56.68:8080 [16:55:13]Content-Length: 654 [16:55:13]Content-Type: application/json [16:55:13] [16:55:13]POST finish read [16:55:13]Found Content-Length = 654 [16:55:13]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4447", "tax_sys" : 0, "items" : [ { "code": "4603290004831", "name": "\u041F\u0435\u0447.\u0437\u0430\u0442.TONDI \u0421\u044D\u043D\u0434.\u0448\u043E\u043A.\u0432\u043A.", "price" : 83.00, "quantity" : 1.000, "sum" : 83.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 83.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:55:13]execute_script... [16:55:13]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4447", "tax_sys" : 0, "items" : [ { "code": "4603290004831", "name": "\u041F\u0435\u0447.\u0437\u0430\u0442.TONDI \u0421\u044D\u043D\u0434.\u0448\u043E\u043A.\u0432\u043A.", "price" : 83.00, "quantity" : 1.000, "sum" : 83.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 83.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:55:13]POST & json_proto [16:55:13]process_json_proto [16:55:13]json parsed OK: [16:55:13]protocol is kg_v1.0 [16:55:13]action value=close_receipt [16:55:13]process_action close_receipt [16:55:13]cmd_close_receipt [16:55:13]MH_GetDate [16:55:13]Write to MH i2c: F0 00 00 2B 01 1B [16:55:13]Write i2c OK [16:55:13]MH_I2C_Read... [16:55:13]Read from MH i2c: F0 [16:55:13]MH_I2C_Read... [16:55:13]Read from MH i2c: F0 09 00 [16:55:13]MH_I2C_Read... [16:55:13]Read from MH i2c: F0 09 00 2B 01 00 71 98 60 66 3A 8F 60 66 82 [16:55:13]GetLastDocTimeStamp 1717606479 [16:55:13]current date 1717606513 [16:55:13]FM_GetShiftState [16:55:13]SAM_PROTO_GetShiftState [16:55:13]wFMCommunicate request_size=4 [16:55:13]MH_SAM_APDU [16:55:13]CAPDU: 80 13 01 00 [16:55:13]Write to MH i2c: E2 08 00 2C 01 80 13 01 00 00 00 00 00 AA [16:55:13]Write i2c OK [16:55:13]MH_I2C_Read... [16:55:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:55:13]Read from MH i2c: E2 [16:55:13]MH_I2C_Read... [16:55:13]Read from MH i2c: E2 0E 00 [16:55:13]MH_I2C_Read... [16:55:13]Read from MH i2c: E2 0E 00 2C 01 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 4B [16:55:13]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [16:55:13]wFMCommunicate OK [16:55:13]SAM_PROTO_GetShiftState done [16:55:13]FM_GetShiftState done [16:55:13]opened in 1717545765 [16:55:13]opened+sec_in_day 1717632165 [16:55:13]quantity*price = 8300 [16:55:13]sum+1 = 8301 [16:55:13]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 83.00 НСП 1% : 0.73 НДС 12% : 8.81 Наличными: 83.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 52 05.06.2024 16:55 Смена: 84 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4194 ФПД: 188425910716142 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T165513&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4194&fm=188425910716142&tin=02508201610067®Number=0000000000145775&sum=8300 0 [16:55:14]StoreToDocumentArchive [16:55:14]shift 84 fd 4194 [16:55:14]save to /storage/0084/doc_00004194 [16:55:14]save last doc name /storage/0084/doc_00004194 to /storage/kkm_last_doc_name [16:55:14]save OK [16:55:14]Clear old archive folders... [16:55:14]ProcessDocumentItem done err = 0, tmpTLVsize=283 [16:55:14]tlvbuf is 020EF3D0 [16:55:14]SAM_PROTO_ClearQueue [16:55:14]wFMCommunicate request_size=4 [16:55:14]MH_SAM_APDU [16:55:14]CAPDU: 80 09 00 00 [16:55:14]Write to MH i2c: E2 08 00 39 01 80 09 00 00 00 00 00 00 AC [16:55:14]Write i2c OK [16:55:14]MH_I2C_Read... [16:55:14]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:55:14]Read from MH i2c: E2 [16:55:14]MH_I2C_Read... [16:55:14]Read from MH i2c: E2 03 00 [16:55:14]MH_I2C_Read... [16:55:14]Read from MH i2c: E2 03 00 39 01 00 90 00 AE [16:55:14]RAPDU: 90 00 [16:55:14]wFMCommunicate OK [16:55:14]SAM_PROTO_ClearQueue done [16:55:14]KKMCreateOFDPacket [16:55:14]OFDProtocolAddRootSTLVToBuf [16:55:14]FM_MakeSignedData [16:55:14]FM_MakeSignedData [16:55:14]SAM_PROTO_SignData [16:55:14]wFMCommunicate request_size=4 [16:55:14]MH_SAM_APDU [16:55:14]CAPDU: 80 0D 01 02 [16:55:14]Write to MH i2c: E2 08 00 3A 01 80 0D 01 02 00 00 00 00 B4 [16:55:14]Write i2c OK [16:55:14]MH_I2C_Read... [16:55:14]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:55:14]Read from MH i2c: E2 [16:55:14]MH_I2C_Read... [16:55:14]Read from MH i2c: E2 03 00 [16:55:14]MH_I2C_Read... [16:55:14]Read from MH i2c: E2 03 00 3A 01 00 90 00 AF [16:55:14]RAPDU: 90 00 [16:55:14]wFMCommunicate OK [16:55:14]wFMCommunicate request_size=255 [16:55:14]MH_SAM_APDU [16:55:14]CAPDU: 80 0D 02 02 FA 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 36 30 33 32 39 30 30 30 34 38 33 31 06 04 29 00 D0 9F D0 B5 D1 87 2E D0 B7 D0 B0 D1 82 2E 54 4F 4E 44 49 20 D0 A1 D1 8D D0 BD D0 B4 2E D1 88 D0 BE D0 BA 2E D0 B2 D0 BA 2E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 6C 20 00 00 00 00 13 04 06 00 6C 20 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 6C 20 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 49 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 71 03 00 00 00 00 07 04 06 00 6C 20 00 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 71 98 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 [16:55:14]Write to MH i2c: E2 02 01 3B 01 80 0D 02 02 FA 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 36 30 33 32 39 30 30 30 34 38 33 31 06 04 29 00 D0 9F D0 B5 D1 87 2E D0 B7 D0 B0 D1 82 2E 54 4F 4E 44 49 20 D0 A1 D1 8D D0 BD D0 B4 2E D1 88 D0 BE D0 BA 2E D0 B2 D0 BA 2E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 6C 20 00 00 00 00 13 04 06 00 6C 20 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 6C 20 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 49 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 71 03 00 00 00 00 07 04 06 00 6C 20 00 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 71 98 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 00 00 78 [16:55:14]Write i2c OK [16:55:14]MH_I2C_Read... [16:55:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:55:15]Read from MH i2c: E2 [16:55:15]MH_I2C_Read... [16:55:15]Read from MH i2c: E2 03 00 [16:55:15]MH_I2C_Read... [16:55:15]Read from MH i2c: E2 03 00 3B 01 00 90 00 B0 [16:55:15]RAPDU: 90 00 [16:55:15]wFMCommunicate OK [16:55:15]wFMCommunicate request_size=42 [16:55:15]MH_SAM_APDU [16:55:15]CAPDU: 80 0D 02 02 25 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 62 10 00 00 35 04 06 00 AB 5F 53 79 86 EE [16:55:15]Write to MH i2c: E2 2D 00 3C 01 80 0D 02 02 25 00 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 62 10 00 00 35 04 06 00 AB 5F 53 79 86 EE 00 00 48 [16:55:15]Write i2c OK [16:55:15]MH_I2C_Read... [16:55:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:55:15]Read from MH i2c: E2 [16:55:15]MH_I2C_Read... [16:55:15]Read from MH i2c: E2 03 00 [16:55:15]MH_I2C_Read... [16:55:15]Read from MH i2c: E2 03 00 3C 01 00 90 00 B1 [16:55:15]RAPDU: 90 00 [16:55:15]wFMCommunicate OK [16:55:15]wFMCommunicate request_size=4 [16:55:15]MH_SAM_APDU [16:55:15]CAPDU: 80 0D 03 02 [16:55:15]Write to MH i2c: E2 08 00 3D 01 80 0D 03 02 00 00 00 00 B9 [16:55:15]Write i2c OK [16:55:15]MH_I2C_Read... [16:55:15]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:55:15]Read from MH i2c: E2 [16:55:15]MH_I2C_Read... [16:55:15]Read from MH i2c: E2 0B 00 [16:55:15]MH_I2C_Read... [16:55:15]Read from MH i2c: E2 0B 00 3D 01 00 C5 6B 69 E5 B5 35 8E 99 90 00 49 [16:55:15]RAPDU: C5 6B 69 E5 B5 35 8E 99 90 00 [16:55:15]wFMCommunicate OK [16:55:15]SAM_PROTO_SignData done [16:55:15]FM_MakeSignedData done [16:55:15]CreateOFDProtocolMessage [16:55:15]wFMCommunicate request_size=4 [16:55:15]MH_SAM_APDU [16:55:15]CAPDU: 80 11 00 00 [16:55:15]Write to MH i2c: E2 08 00 3E 01 80 11 00 00 00 00 00 00 B9 [16:55:15]Write i2c OK [16:55:15]MH_I2C_Read... [16:55:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:55:15]Read from MH i2c: E2 [16:55:15]MH_I2C_Read... [16:55:15]Read from MH i2c: E2 17 00 [16:55:15]MH_I2C_Read... [16:55:15]Read from MH i2c: E2 17 00 3E 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 0C [16:55:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [16:55:15]wFMCommunicate OK [16:55:15]CreateOFDProtocolMessage done [16:55:15]OFDSenderStorePacket 4194 [16:55:15]StoreOFDPacket docnum=4194 [16:55:15]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 2F 01 00 00 7A 17 27 01 E3 54 5A 03 01 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 36 30 33 32 39 30 30 30 34 38 33 31 06 04 29 00 D0 9F D0 B5 D1 87 2E D0 B7 D0 B0 D1 82 2E 54 4F 4E 44 49 20 D0 A1 D1 8D D0 BD D0 B4 2E D1 88 D0 BE D0 BA 2E D0 B2 D0 BA 2E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 6C 20 00 00 00 00 13 04 06 00 6C 20 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 6C 20 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 49 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 71 03 00 00 00 00 07 04 06 00 6C 20 00 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 71 98 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 62 10 00 00 35 04 06 00 AB 5F 53 79 86 EE C5 6B 69 E5 B5 35 8E 99 [16:55:15]CheckFolder [16:55:15]dirname=/storage/ofd_packets [16:55:15]CheckFolder done [16:55:15]ProducePacketName [16:55:15]name=ofd_packets/00004194 [16:55:15]NVStorageSaveData ofd_packets/00004194 [16:55:15]File name is /storage/ofd_packets/00004194 [16:55:15]Write 333 bytes [16:55:15]NVStorageSaveData done [16:55:15]OFDSenderStorePacket done [16:55:15]KKMCreateOFDPacket done [16:55:15]NVStorageSaveData kkm_last_timestamp [16:55:15]File name is /storage/kkm_last_timestamp [16:55:15]Write 4 bytes [16:55:15]NVStorageSaveData done [16:55:15]ExternCall_PrintAddStr [16:55:15]wPrintStart [16:55:15]Write to MH i2c: 01 00 00 3F 01 40 [16:55:15]Write i2c OK [16:55:15]MH_I2C_Read... [16:55:15]Read from MH i2c: 01 [16:55:15]MH_I2C_Read... [16:55:15]Read from MH i2c: 01 07 00 [16:55:15]MH_I2C_Read... [16:55:15]Read from MH i2c: 01 07 00 3F 01 00 00 00 00 00 FF 0F 55 [16:55:15]RasterBufferAndPrint [16:55:15]line Счет N : (3)4447 [16:55:15]line ИНН: 02508201610067 [16:55:15]line Контрольно-Кассовый Чек [16:55:15]line ПРОДАЖА [16:55:15]line Товар: 4603290004831 [16:55:15]line Печ.зат.TONDI Сэнд.шок.вк. [16:55:15]line 1.000 * 83.00 [16:55:15]line = 83.00 [16:55:15]line НДС 12% НСП 1% [16:55:15]line > о реализуемом товаре [16:55:15]line ИТОГО: 83.00 [16:55:15]line НСП 1% : 0.73 [16:55:15]line НДС 12% : 8.81 [16:55:15]line Наличными: 83.00 [16:55:15]line Безнал.: 0.00 [16:55:15]line Место: АЗС № 116 "Партнер Нефть" [16:55:15]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [16:55:15]line СНО: Общий режим [16:55:15]line Чек 52 05.06.2024 16:55 [16:55:15]line Смена: 84 ФФД: 1.0 [16:55:15]line ЗНМ: 0300000233 [16:55:15]line РНМ: 0000000000145775 [16:55:15]line Версия ККМ: v1.0 [16:55:15]line ФМ: 0000000000959360 [16:55:15]line ФД: 4194 [16:55:15]line ФПД: 188425910716142 [16:55:15]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T165513&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4194&fm=188425910716142&tin=02508201610067®Number=0000000000145775&sum=8300 [16:55:15]line 0 [16:55:15]OFD Sender: Processing packet 4194 [packets to send 2, broken 1] [16:55:15]ProducePacketName [16:55:15]name=ofd_packets/00004194 [16:55:15]OFD Sender: To server: pG, [16:55:15]CommunicateWithHost lk.salyk.kg:30040 [16:55:15]ConnectInit lk.salyk.kg [16:55:15]written 0, free lines is 4095 [16:55:15]Connected sock=10 [16:55:15]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 2F 01 00 00 7A 17 27 01 E3 54 5A 03 01 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 36 30 33 32 39 30 30 30 34 38 33 31 06 04 29 00 D0 9F D0 B5 D1 87 2E D0 B7 D0 B0 D1 82 2E 54 4F 4E 44 49 20 D0 A1 D1 8D D0 BD D0 B4 2E D1 88 D0 BE D0 BA 2E D0 B2 D0 BA 2E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 6C 20 00 00 00 00 13 04 06 00 6C 20 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 6C 20 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 49 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 71 03 00 00 00 00 07 04 06 00 6C 20 00 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 71 98 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 62 10 00 00 35 04 06 00 AB 5F 53 79 86 EE C5 6B 69 E5 B5 35 8E 99 [16:55:15]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 91 5B 47 00 E9 24 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 62 10 00 00 F4 03 04 00 73 44 60 66 B6 04 01 00 00 65 75 05 7E 0A B0 0F 24 [16:55:15]CommunicateWithHost err = 0 [16:55:15]CheckOFDResponse [16:55:15]1017 (14) - 77093643461234 [16:55:15]1041 (16) - 0000000000959360 [16:55:15]1040 (4) - 4194 [16:55:15]1012 (4) - 05.06.2024 10:56 [16:55:15]1206 (1) - 0 [16:55:15]OFD Sender: Remove packet 4194 [16:55:15]ProducePacketName [16:55:15]name=ofd_packets/00004194 [16:55:15]NVStorageDeleteData [16:55:16]Write to MH i2c: 01 00 00 67 01 68 [16:55:16]Write i2c OK [16:55:16]MH_I2C_Read... [16:55:16]Read from MH i2c: 01 [16:55:16]MH_I2C_Read... [16:55:16]Read from MH i2c: 01 07 00 [16:55:16]MH_I2C_Read... [16:55:16]Read from MH i2c: 01 07 00 67 01 00 00 00 00 00 C3 0C 3E [16:55:16]RasterBufferAndPrint [16:55:16]line [16:55:16]line [16:55:16]line [16:55:16]line [16:55:16]line [16:55:16]written 0, free lines is 3271 [16:55:16]MH_Cut [16:55:16]Write to MH i2c: D1 01 00 6E 01 01 41 [16:55:16]Write i2c OK [16:55:16]MH_I2C_Read... [16:55:16]Read from MH i2c: D1 [16:55:16]MH_I2C_Read... [16:55:16]Read from MH i2c: D1 01 00 [16:55:16]MH_I2C_Read... [16:55:16]Read from MH i2c: D1 01 00 6E 01 00 40 [16:55:16]Write to MH i2c: 01 00 00 6F 01 70 [16:55:16]Write i2c OK [16:55:16]MH_I2C_Read... [16:55:16]OFD Sender: No OFD packet to send [16:55:16]*** Cut start [16:55:16]*** Partial cut [16:55:16]*** CUTSNS_PIN = 1 [16:55:17]*** CUTSNS_PIN = 0 [16:55:17]*** Brake cut motor [16:55:17]Read from MH i2c: 01 [16:55:17]MH_I2C_Read... [16:55:17]*** Stop cut motor [16:55:17]*** Cut end [16:55:17]Read from MH i2c: 01 07 00 [16:55:17]MH_I2C_Read... [16:55:17]Read from MH i2c: 01 07 00 6F 01 00 00 00 00 00 FF 0F 85 [16:55:17]process_action close_receipt done [16:55:17]requested_data is exist [16:55:17]produce_requested_data [16:55:17]requested_item fm.sn is exist - process it [16:55:17]wFMCommunicate request_size=4 [16:55:17]MH_SAM_APDU [16:55:17]CAPDU: 80 11 00 00 [16:55:17]Write to MH i2c: E2 08 00 70 01 80 11 00 00 00 00 00 00 EB [16:55:17]Write i2c OK [16:55:17]MH_I2C_Read... [16:55:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:55:17]Read from MH i2c: E2 [16:55:17]MH_I2C_Read... [16:55:17]Read from MH i2c: E2 17 00 [16:55:17]MH_I2C_Read... [16:55:17]Read from MH i2c: E2 17 00 70 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 3E [16:55:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [16:55:17]wFMCommunicate OK [16:55:17]requested_item fd.num is exist - process it [16:55:17]SAM_PROTO_GetFieldsCounters [16:55:17]wFMCommunicate request_size=4 [16:55:17]MH_SAM_APDU [16:55:17]CAPDU: 80 13 00 00 [16:55:17]Write to MH i2c: E2 08 00 71 01 80 13 00 00 00 00 00 00 EE [16:55:17]Write i2c OK [16:55:17]MH_I2C_Read... [16:55:17]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:55:17]Read from MH i2c: E2 [16:55:17]MH_I2C_Read... [16:55:17]Read from MH i2c: E2 62 00 [16:55:17]MH_I2C_Read... [16:55:17]Read from MH i2c: E2 62 00 71 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 62 10 00 00 0E 04 04 00 54 00 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 75 [16:55:17]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 62 10 00 00 0E 04 04 00 54 00 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:55:17]wFMCommunicate OK [16:55:17]SAM_PROTO_GetFieldsCounters done [16:55:17]requested_item shift.num is exist - process it [16:55:17]requested_item shift.opened is exist - process it [16:55:17]req_shift_opened [16:55:17]FM_GetShiftState [16:55:17]SAM_PROTO_GetShiftState [16:55:17]wFMCommunicate request_size=4 [16:55:17]MH_SAM_APDU [16:55:17]CAPDU: 80 13 01 00 [16:55:17]Write to MH i2c: E2 08 00 72 01 80 13 01 00 00 00 00 00 F0 [16:55:17]Write i2c OK [16:55:17]MH_I2C_Read... [16:55:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:55:17]Read from MH i2c: E2 [16:55:17]MH_I2C_Read... [16:55:17]Read from MH i2c: E2 0E 00 [16:55:17]MH_I2C_Read... [16:55:17]Read from MH i2c: E2 0E 00 72 01 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 91 [16:55:17]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [16:55:17]wFMCommunicate OK [16:55:17]SAM_PROTO_GetShiftState done [16:55:17]FM_GetShiftState done [16:55:17]req_shift_opened done [16:55:17]requested_item shift.open_date is exist - process it [16:55:17]req_shift_open_date [16:55:17]req_shift_open_date done [16:55:17]produce_requested_data done [16:55:17]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4194,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765} [16:55:17]process_action_free close_receipt [16:55:17]json_value_free [16:55:17]json_value_free done [16:55:17]process_json_proto returns [16:55:17]Send response to host [16:55:17]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4194,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765}}} [16:55:17]free response buf [16:55:17]execute_script done [16:55:17]execute_script returns [16:55:17]free content buf [16:55:17]Sock 9.Close socket [16:55:17]Sock 9.Thread stoped [16:55:21]OFD Sender: No OFD packet to send [16:55:26]OFD Sender: No OFD packet to send [16:55:31]OFD Sender: No OFD packet to send [16:55:36]OFD Sender: No OFD packet to send [16:55:41]OFD Sender: No OFD packet to send [16:55:46]OFD Sender: No OFD packet to send [16:55:51]OFD Sender: No OFD packet to send [16:55:56]OFD Sender: No OFD packet to send [16:56:01]OFD Sender: No OFD packet to send [16:56:06]OFD Sender: No OFD packet to send [16:56:11]OFD Sender: No OFD packet to send [16:56:16]OFD Sender: No OFD packet to send [16:56:21]OFD Sender: No OFD packet to send [16:56:26]OFD Sender: No OFD packet to send [16:56:31]OFD Sender: No OFD packet to send [16:56:36]OFD Sender: No OFD packet to send [16:56:41]OFD Sender: No OFD packet to send [16:56:46]OFD Sender: No OFD packet to send [16:56:51]OFD Sender: No OFD packet to send [16:56:56]OFD Sender: No OFD packet to send [16:57:01]OFD Sender: No OFD packet to send [16:57:06]OFD Sender: No OFD packet to send [16:57:11]OFD Sender: No OFD packet to send [16:57:16]OFD Sender: No OFD packet to send [16:57:21]OFD Sender: No OFD packet to send [16:57:26]OFD Sender: No OFD packet to send [16:57:31]OFD Sender: No OFD packet to send [16:57:36]OFD Sender: No OFD packet to send [16:57:41]OFD Sender: No OFD packet to send [16:57:46]OFD Sender: No OFD packet to send [16:57:51]OFD Sender: No OFD packet to send [16:57:56]OFD Sender: No OFD packet to send [16:58:01]OFD Sender: No OFD packet to send [16:58:06]OFD Sender: No OFD packet to send [16:58:11]OFD Sender: No OFD packet to send [16:58:16]OFD Sender: No OFD packet to send [16:58:21]OFD Sender: No OFD packet to send [16:58:26]OFD Sender: No OFD packet to send [16:58:31]OFD Sender: No OFD packet to send [16:58:36]OFD Sender: No OFD packet to send [16:58:41]OFD Sender: No OFD packet to send [16:58:46]OFD Sender: No OFD packet to send [16:58:51]OFD Sender: No OFD packet to send [16:58:56]OFD Sender: No OFD packet to send [16:59:01]OFD Sender: No OFD packet to send [16:59:06]OFD Sender: No OFD packet to send [16:59:11]OFD Sender: No OFD packet to send [16:59:16]OFD Sender: No OFD packet to send [16:59:21]OFD Sender: No OFD packet to send [16:59:26]OFD Sender: No OFD packet to send [16:59:31]OFD Sender: No OFD packet to send [16:59:36]OFD Sender: No OFD packet to send [16:59:41]OFD Sender: No OFD packet to send [16:59:46]OFD Sender: No OFD packet to send [16:59:51]OFD Sender: No OFD packet to send [16:59:56]OFD Sender: No OFD packet to send [17:00:01]OFD Sender: No OFD packet to send [17:00:06]OFD Sender: No OFD packet to send [17:00:11]OFD Sender: No OFD packet to send [17:00:16]OFD Sender: No OFD packet to send [17:00:21]OFD Sender: No OFD packet to send [17:00:26]OFD Sender: No OFD packet to send [17:00:31]OFD Sender: No OFD packet to send [17:00:36]OFD Sender: No OFD packet to send [17:00:41]OFD Sender: No OFD packet to send [17:00:46]OFD Sender: No OFD packet to send [17:00:51]OFD Sender: No OFD packet to send [17:00:56]OFD Sender: No OFD packet to send [17:01:01]OFD Sender: No OFD packet to send [17:01:06]OFD Sender: No OFD packet to send [17:01:11]OFD Sender: No OFD packet to send [17:01:16]OFD Sender: No OFD packet to send [17:01:21]OFD Sender: No OFD packet to send [17:01:26]OFD Sender: No OFD packet to send [17:01:31]OFD Sender: No OFD packet to send [17:01:36]OFD Sender: No OFD packet to send EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 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:04:34]wFMCommunicate OK [17:04:34]wFMCommunicate request_size=4 [17:04:34]MH_SAM_APDU [17:04:34]CAPDU: 80 17 00 00 [17:04:34]Write to MH i2c: E2 08 00 1C 00 80 17 00 00 00 00 00 00 9C [17:04:34]Write i2c OK [17:04:34]MH_I2C_Read... [17:04:35]ConnectInit Can't connect to host [17:04:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [17:04:35]Read from MH i2c: E2 [17:04:35]MH_I2C_Read... [17:04:35]Read from MH i2c: E2 CB 00 [17:04:35]MH_I2C_Read... [17:04:35]Read from MH i2c: E2 CB 00 1C 00 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 85 [17:04:35]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:04:35]wFMCommunicate OK [17:04:35]SAM_PROTO_GetShiftData done [17:04:35]requested_item shift.sale.total_cash is exist - process it [17:04:35]requested_item shift.sale_refund.total is exist - process it [17:04:35]requested_item shift.sale_refund.total_cash is exist - process it [17:04:35]requested_item shift.buy.total is exist - process it [17:04:35]requested_item shift.buy.total_cash is exist - process it [17:04:35]produce_requested_data done [17:04:35]produce_requested_data return {"fm.sale.total":935190.31,"fm.sale_refund.total":1764.00,"fm.buy.total":0.00,"shift.sale.total":9863.00,"shift.sale.total_cash":6631.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:04:35]process_action_free get_value [17:04:35]json_value_free [17:04:35]json_value_free done [17:04:35]process_json_proto returns [17:04:35]Send response to host [17:04:35]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":935190.31,"fm.sale_refund.total":1764.00,"fm.buy.total":0.00,"shift.sale.total":9863.00,"shift.sale.total_cash":6631.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:04:35]free response buf [17:04:35]execute_script done [17:04:35]execute_script returns [17:04:35]free content buf [17:04:35]Sock 9.Close socket [17:04:35]Sock 9.Thread stoped [17:04:39]OFD Sender: No OFD packet to send [17:04:40]ConnectInit Can't connect to host [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:49]OFD Sender: No OFD packet to send [17:05:54]OFD Sender: No OFD packet to send [17:05:59]OFD Sender: No OFD packet to send [17:06:04]OFD Sender: No OFD packet to send [17:06:09]OFD Sender: No OFD packet to send [17:06:14]OFD Sender: No OFD packet to send [17:06:19]OFD Sender: No OFD packet to send [17:06:24]OFD Sender: No OFD packet to send [17:06:29]OFD Sender: No OFD packet to send [17:06:34]OFD Sender: No OFD packet to send [17:06:39]OFD Sender: No OFD packet to send [17:06:44]OFD Sender: No OFD packet to send [17:06:49]OFD Sender: No OFD packet to send [17:06:54]OFD Sender: No OFD packet to send [17:06:59]OFD Sender: No OFD packet to send [17:07:04]OFD Sender: No OFD packet to send [17:07:09]OFD Sender: No OFD packet to send [17:07:14]OFD Sender: No OFD packet to send [17:07:19]OFD Sender: No OFD packet to send [17:07:24]OFD Sender: No OFD packet to send [17:07:29]OFD Sender: No OFD packet to send [17:07:34]OFD Sender: No OFD packet to send [17:07:39]OFD Sender: No OFD packet to send [17:07:44]OFD Sender: No OFD packet to send [17:07:49]OFD Sender: No OFD packet to send [17:07:54]OFD Sender: No OFD packet to send [17:07:59]OFD Sender: No OFD packet to send [17:08:04]OFD Sender: No OFD packet to send [17:08:09]OFD Sender: No OFD packet to send [17:08:14]OFD Sender: No OFD packet to send [17:08:19]OFD Sender: No OFD packet to send [17:08:24]OFD Sender: No OFD packet to send [17:08:29]OFD Sender: No OFD packet to send [17:08:34]OFD Sender: No OFD packet to send [17:08:39]OFD Sender: No OFD packet to send [17:08:44]OFD Sender: No OFD packet to send [17:08:49]OFD Sender: No OFD packet to send [17:08:54]OFD Sender: No OFD packet to send [17:08:59]OFD Sender: No OFD packet to send [17:09:04]OFD Sender: No OFD packet to send [17:09:09]OFD Sender: No OFD packet to send [17:09:14]OFD Sender: No OFD packet to send [17:09:19]OFD Sender: No OFD packet to send [17:09:24]OFD Sender: No OFD packet to send [17:09:29]OFD Sender: No OFD packet to send [17:09:34]OFD Sender: No OFD packet to send [17:09:36]accept exits with 8 [17:09:36]New connection [17:09:36]New thread 3066772836 created [17:09:36]Thread 3066629476 joined [17:09:36]Waiting for new connection... [17:09:36] Sock 8.Parse request [17:09:36]Sock 8.Check first char [17:09:36]Sock 8.First char is OK [17:09:36]request: POST /json_proto HTTP/1.0 [17:09:36]Method: POST [17:09:36]URL: /json_proto [17:09:36]Method is POST - this is cgi request [17:09:36]url: /json_proto [17:09:36]query_string will be loaded in cgi processing [17:09:36]execute_cgi json_proto POST (null) [17:09:36]execute_cgi path=json_proto method=POST [17:09:36]POST find Content-Length [17:09:36]Host: 172.17.56.68:8080 [17:09:36]Content-Length: 629 [17:09:36]Content-Type: application/json [17:09:36] [17:09:36]POST finish read [17:09:36]Found Content-Length = 629 [17:09:36]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4448", "tax_sys" : 0, "items" : [ { "code": "4780022460216", "name": "\u0410\u043D\u0442\u0438\u0444\u0440\u0438\u0437 Yumiko red 1\u043A\u0433", "price" : 168.00, "quantity" : 1.000, "sum" : 168.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 168.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:09:36]execute_script... [17:09: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)4448", "tax_sys" : 0, "items" : [ { "code": "4780022460216", "name": "\u0410\u043D\u0442\u0438\u0444\u0440\u0438\u0437 Yumiko red 1\u043A\u0433", "price" : 168.00, "quantity" : 1.000, "sum" : 168.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 168.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:09:36]POST & json_proto [17:09:36]process_json_proto [17:09:36]json parsed OK: [17:09:36]protocol is kg_v1.0 [17:09:36]action value=close_receipt [17:09:36]process_action close_receipt [17:09:36]cmd_close_receipt [17:09:36]MH_GetDate [17:09:36]Write to MH i2c: F0 00 00 1D 00 0C [17:09:36]Write i2c OK [17:09:36]MH_I2C_Read... [17:09:36]Read from MH i2c: F0 [17:09:36]MH_I2C_Read... [17:09:36]Read from MH i2c: F0 09 00 [17:09:36]MH_I2C_Read... [17:09:36]Read from MH i2c: F0 09 00 1D 00 00 D0 9B 60 66 3A 8F 60 66 D5 [17:09:36]GetLastDocTimeStamp 1717606513 [17:09:36]current date 1717607376 [17:09:36]FM_GetShiftState [17:09:36]SAM_PROTO_GetShiftState [17:09:36]wFMCommunicate request_size=4 [17:09:36]MH_SAM_APDU [17:09:36]CAPDU: 80 13 01 00 [17:09:36]Write to MH i2c: E2 08 00 1E 00 80 13 01 00 00 00 00 00 9B [17:09:36]Write i2c OK [17:09:36]MH_I2C_Read... [17:09:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:09:36]Read from MH i2c: E2 [17:09:36]MH_I2C_Read... [17:09:36]Read from MH i2c: E2 0E 00 [17:09:36]MH_I2C_Read... [17:09:36]Read from MH i2c: E2 0E 00 1E 00 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 3C [17:09:36]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [17:09:36]wFMCommunicate OK [17:09:36]SAM_PROTO_GetShiftState done [17:09:36]FM_GetShiftState done [17:09:36]opened in 1717545765 [17:09:36]opened+sec_in_day 1717632165 [17:09:36]quantity*price = 16800 [17:09:36]sum+1 = 16801 [17:09:36]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 168.00 НСП 1% : 1.49 НДС 12% : 17.84 Наличными: 168.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 53 05.06.2024 17:09 Смена: 84 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4195 ФПД: 211673068026097 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T170937&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4195&fm=211673068026097&tin=02508201610067®Number=0000000000145775&sum=16800 0 [17:09:37]StoreToDocumentArchive [17:09:37]shift 84 fd 4195 [17:09:37]save to /storage/0084/doc_00004195 [17:09:37]save last doc name /storage/0084/doc_00004195 to /storage/kkm_last_doc_name [17:09:37]save OK [17:09:37]Clear old archive folders... [17:09:37]ProcessDocumentItem done err = 0, tmpTLVsize=275 [17:09:37]tlvbuf is 0197E770 [17:09:37]SAM_PROTO_ClearQueue [17:09:37]wFMCommunicate request_size=4 [17:09:37]MH_SAM_APDU [17:09:37]CAPDU: 80 09 00 00 [17:09:37]Write to MH i2c: E2 08 00 2B 00 80 09 00 00 00 00 00 00 9D [17:09:37]Write i2c OK [17:09:37]MH_I2C_Read... [17:09:37]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:09:37]Read from MH i2c: E2 [17:09:37]MH_I2C_Read... [17:09:37]Read from MH i2c: E2 03 00 [17:09:37]MH_I2C_Read... [17:09:37]Read from MH i2c: E2 03 00 2B 00 00 90 00 9F [17:09:37]RAPDU: 90 00 [17:09:37]wFMCommunicate OK [17:09:37]SAM_PROTO_ClearQueue done [17:09:37]KKMCreateOFDPacket [17:09:37]OFDProtocolAddRootSTLVToBuf [17:09:37]FM_MakeSignedData [17:09:37]FM_MakeSignedData [17:09:37]SAM_PROTO_SignData [17:09:37]wFMCommunicate request_size=4 [17:09:37]MH_SAM_APDU [17:09:37]CAPDU: 80 0D 01 02 [17:09:37]Write to MH i2c: E2 08 00 2C 00 80 0D 01 02 00 00 00 00 A5 [17:09:37]Write i2c OK [17:09:37]MH_I2C_Read... [17:09:37]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:09:37]Read from MH i2c: E2 [17:09:37]MH_I2C_Read... [17:09:37]Read from MH i2c: E2 03 00 [17:09:37]MH_I2C_Read... [17:09:37]Read from MH i2c: E2 03 00 2C 00 00 90 00 A0 [17:09:37]RAPDU: 90 00 [17:09:37]wFMCommunicate OK [17:09:37]wFMCommunicate request_size=255 [17:09:37]MH_SAM_APDU [17:09:37]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 37 38 30 30 32 32 34 36 30 32 31 36 06 04 21 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 59 75 6D 69 6B 6F 20 72 65 64 20 31 D0 BA D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 41 00 00 00 00 13 04 06 00 A0 41 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 41 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 95 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F8 06 00 00 00 00 07 04 06 00 A0 41 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 D1 9B 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 [17:09:37]Write to MH i2c: E2 02 01 2D 00 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 37 38 30 30 32 32 34 36 30 32 31 36 06 04 21 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 59 75 6D 69 6B 6F 20 72 65 64 20 31 D0 BA D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 41 00 00 00 00 13 04 06 00 A0 41 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 41 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 95 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F8 06 00 00 00 00 07 04 06 00 A0 41 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 D1 9B 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 00 00 32 [17:09:37]Write i2c OK [17:09:37]MH_I2C_Read... [17:09:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:09:37]Read from MH i2c: E2 [17:09:37]MH_I2C_Read... [17:09:37]Read from MH i2c: E2 03 00 [17:09:37]MH_I2C_Read... [17:09:37]Read from MH i2c: E2 03 00 2D 00 00 90 00 A1 [17:09:37]RAPDU: 90 00 [17:09:37]wFMCommunicate OK [17:09:37]wFMCommunicate request_size=34 [17:09:37]MH_SAM_APDU [17:09:37]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 63 10 00 00 35 04 06 00 C0 83 FA 07 38 F1 [17:09:37]Write to MH i2c: E2 25 00 2E 00 80 0D 02 02 1D 00 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 63 10 00 00 35 04 06 00 C0 83 FA 07 38 F1 00 00 49 [17:09:37]Write i2c OK [17:09:37]MH_I2C_Read... [17:09:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:09:37]Read from MH i2c: E2 [17:09:37]MH_I2C_Read... [17:09:37]Read from MH i2c: E2 03 00 [17:09:37]MH_I2C_Read... [17:09:37]Read from MH i2c: E2 03 00 2E 00 00 90 00 A2 [17:09:37]RAPDU: 90 00 [17:09:37]wFMCommunicate OK [17:09:37]wFMCommunicate request_size=4 [17:09:37]MH_SAM_APDU [17:09:37]CAPDU: 80 0D 03 02 [17:09:37]Write to MH i2c: E2 08 00 2F 00 80 0D 03 02 00 00 00 00 AA [17:09:37]Write i2c OK [17:09:37]MH_I2C_Read... [17:09:37]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:09:37]Read from MH i2c: E2 [17:09:37]MH_I2C_Read... [17:09:37]Read from MH i2c: E2 0B 00 [17:09:37]MH_I2C_Read... [17:09:37]Read from MH i2c: E2 0B 00 2F 00 00 52 92 93 D0 F4 27 EA AD 90 00 A4 [17:09:37]RAPDU: 52 92 93 D0 F4 27 EA AD 90 00 [17:09:37]wFMCommunicate OK [17:09:37]SAM_PROTO_SignData done [17:09:37]FM_MakeSignedData done [17:09:37]CreateOFDProtocolMessage [17:09:37]wFMCommunicate request_size=4 [17:09:37]MH_SAM_APDU [17:09:37]CAPDU: 80 11 00 00 [17:09:37]Write to MH i2c: E2 08 00 30 00 80 11 00 00 00 00 00 00 AA [17:09:37]Write i2c OK [17:09:37]MH_I2C_Read... [17:09:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:09:37]Read from MH i2c: E2 [17:09:37]MH_I2C_Read... [17:09:37]Read from MH i2c: E2 17 00 [17:09:37]MH_I2C_Read... [17:09:37]Read from MH i2c: E2 17 00 30 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 FD [17:09:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [17:09:37]wFMCommunicate OK [17:09:37]CreateOFDProtocolMessage done [17:09:37]OFDSenderStorePacket 4195 [17:09:37]StoreOFDPacket docnum=4195 [17:09:37]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 27 01 00 00 1E A3 1F 01 EB 79 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 37 38 30 30 32 32 34 36 30 32 31 36 06 04 21 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 59 75 6D 69 6B 6F 20 72 65 64 20 31 D0 BA D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 41 00 00 00 00 13 04 06 00 A0 41 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 41 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 95 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F8 06 00 00 00 00 07 04 06 00 A0 41 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 D1 9B 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 63 10 00 00 35 04 06 00 C0 83 FA 07 38 F1 52 92 93 D0 F4 27 EA AD [17:09:37]CheckFolder [17:09:37]dirname=/storage/ofd_packets [17:09:37]CheckFolder done [17:09:37]ProducePacketName [17:09:37]name=ofd_packets/00004195 [17:09:37]NVStorageSaveData ofd_packets/00004195 [17:09:37]File name is /storage/ofd_packets/00004195 [17:09:37]Write 325 bytes [17:09:37]NVStorageSaveData done [17:09:37]OFDSenderStorePacket done [17:09:37]KKMCreateOFDPacket done [17:09:37]NVStorageSaveData kkm_last_timestamp [17:09:37]File name is /storage/kkm_last_timestamp [17:09:37]Write 4 bytes [17:09:37]NVStorageSaveData done [17:09:37]ExternCall_PrintAddStr [17:09:37]wPrintStart [17:09:37]Write to MH i2c: 01 00 00 31 00 31 [17:09:37]Write i2c OK [17:09:37]MH_I2C_Read... [17:09:37]Read from MH i2c: 01 [17:09:37]MH_I2C_Read... [17:09:37]Read from MH i2c: 01 07 00 [17:09:37]MH_I2C_Read... [17:09:37]Read from MH i2c: 01 07 00 31 00 00 00 00 00 00 FF 0F 46 [17:09:37]RasterBufferAndPrint [17:09:37]line Счет N : (3)4448 [17:09:37]line ИНН: 02508201610067 [17:09:37]line Контрольно-Кассовый Чек [17:09:37]line ПРОДАЖА [17:09:37]line Товар: 4780022460216 [17:09:37]line Антифриз Yumiko red 1кг [17:09:37]line 1.000 * 168.00 [17:09:37]line = 168.00 [17:09:37]line НДС 12% НСП 1% [17:09:37]line > о реализуемом товаре [17:09:37]line ИТОГО: 168.00 [17:09:37]line НСП 1% : 1.49 [17:09:37]line НДС 12% : 17.84 [17:09:37]line Наличными: 168.00 [17:09:37]line Безнал.: 0.00 [17:09:37]line Место: АЗС № 116 "Партнер Нефть" [17:09:37]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [17:09:37]line СНО: Общий режим [17:09:37]line Чек 53 05.06.2024 17:09 [17:09:37]line Смена: 84 ФФД: 1.0 [17:09:37]line ЗНМ: 0300000233 [17:09:37]line РНМ: 0000000000145775 [17:09:37]line Версия ККМ: v1.0 [17:09:37]line ФМ: 0000000000959360 [17:09:37]line ФД: 4195 [17:09:37]line ФПД: 211673068026097 [17:09:38]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T170937&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4195&fm=211673068026097&tin=02508201610067®Number=0000000000145775&sum=16800 [17:09:38]OFD Sender: Processing packet 4195 [packets to send 2, broken 1] [17:09:38]ProducePacketName [17:09:38]name=ofd_packets/00004195 [17:09:38]OFD Sender: To server: pG, [17:09:38]CommunicateWithHost lk.salyk.kg:30040 [17:09:38]ConnectInit lk.salyk.kg [17:09:38]line 0 [17:09:38]written 0, free lines is 4095 [17:09:38]Connected sock=10 [17:09:38]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 27 01 00 00 1E A3 1F 01 EB 79 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 37 38 30 30 32 32 34 36 30 32 31 36 06 04 21 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 59 75 6D 69 6B 6F 20 72 65 64 20 31 D0 BA D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 41 00 00 00 00 13 04 06 00 A0 41 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 41 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 95 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F8 06 00 00 00 00 07 04 06 00 A0 41 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 D1 9B 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 63 10 00 00 35 04 06 00 C0 83 FA 07 38 F1 52 92 93 D0 F4 27 EA AD [17:09:38]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 0D 5E 47 00 99 59 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 63 10 00 00 F4 03 04 00 D2 47 60 66 B6 04 01 00 00 B1 72 38 BC A7 DB BC E5 [17:09:38]CommunicateWithHost err = 0 [17:09:38]CheckOFDResponse [17:09:38]1017 (14) - 77093643461234 [17:09:38]1041 (16) - 0000000000959360 [17:09:38]1040 (4) - 4195 [17:09:38]1012 (4) - 05.06.2024 11:11 [17:09:38]1206 (1) - 0 [17:09:38]OFD Sender: Remove packet 4195 [17:09:38]ProducePacketName [17:09:38]name=ofd_packets/00004195 [17:09:38]NVStorageDeleteData [17:09:38]Write to MH i2c: 01 00 00 59 00 59 [17:09:38]Write i2c OK [17:09:38]MH_I2C_Read... [17:09:38]Read from MH i2c: 01 [17:09:38]MH_I2C_Read... [17:09:38]Read from MH i2c: 01 07 00 [17:09:38]MH_I2C_Read... [17:09:38]Read from MH i2c: 01 07 00 59 00 00 00 00 00 00 C4 0C 30 [17:09:38]RasterBufferAndPrint [17:09:38]line [17:09:38]line [17:09:38]line [17:09:38]line [17:09:38]line [17:09:38]written 0, free lines is 3272 [17:09:38]MH_Cut [17:09:38]Write to MH i2c: D1 01 00 60 00 01 32 [17:09:38]Write i2c OK [17:09:38]MH_I2C_Read... [17:09:38]Read from MH i2c: D1 [17:09:38]MH_I2C_Read... [17:09:38]Read from MH i2c: D1 01 00 [17:09:38]MH_I2C_Read... [17:09:38]Read from MH i2c: D1 01 00 60 00 00 31 [17:09:38]Write to MH i2c: 01 00 00 61 00 61 [17:09:38]Write i2c OK [17:09:38]MH_I2C_Read... [17:09:38]OFD Sender: No OFD packet to send [17:09:39]*** Cut start [17:09:39]*** Partial cut [17:09:39]*** CUTSNS_PIN = 1 [17:09:39]*** CUTSNS_PIN = 0 [17:09:39]*** Brake cut motor [17:09:40]Read from MH i2c: 01 [17:09:40]MH_I2C_Read... [17:09:40]*** Stop cut motor [17:09:40]*** Cut end [17:09:40]Read from MH i2c: 01 07 00 [17:09:40]MH_I2C_Read... [17:09:40]Read from MH i2c: 01 07 00 61 00 00 00 00 00 00 FF 0F 76 [17:09:40]process_action close_receipt done [17:09:40]requested_data is exist [17:09:40]produce_requested_data [17:09:40]requested_item fm.sn is exist - process it [17:09:40]wFMCommunicate request_size=4 [17:09:40]MH_SAM_APDU [17:09:40]CAPDU: 80 11 00 00 [17:09:40]Write to MH i2c: E2 08 00 62 00 80 11 00 00 00 00 00 00 DC [17:09:40]Write i2c OK [17:09:40]MH_I2C_Read... [17:09:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:09:40]Read from MH i2c: E2 [17:09:40]MH_I2C_Read... [17:09:40]Read from MH i2c: E2 17 00 [17:09:40]MH_I2C_Read... [17:09:40]Read from MH i2c: E2 17 00 62 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 2F [17:09:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [17:09:40]wFMCommunicate OK [17:09:40]requested_item fd.num is exist - process it [17:09:40]SAM_PROTO_GetFieldsCounters [17:09:40]wFMCommunicate request_size=4 [17:09:40]MH_SAM_APDU [17:09:40]CAPDU: 80 13 00 00 [17:09:40]Write to MH i2c: E2 08 00 63 00 80 13 00 00 00 00 00 00 DF [17:09:40]Write i2c OK [17:09:40]MH_I2C_Read... [17:09:40]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:09:40]Read from MH i2c: E2 [17:09:40]MH_I2C_Read... [17:09:40]Read from MH i2c: E2 62 00 [17:09:40]MH_I2C_Read... [17:09:40]Read from MH i2c: E2 62 00 63 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 63 10 00 00 0E 04 04 00 54 00 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 6A [17:09:40]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 63 10 00 00 0E 04 04 00 54 00 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:09:40]wFMCommunicate OK [17:09:40]SAM_PROTO_GetFieldsCounters done [17:09:40]requested_item shift.num is exist - process it [17:09:40]requested_item shift.opened is exist - process it [17:09:40]req_shift_opened [17:09:40]FM_GetShiftState [17:09:40]SAM_PROTO_GetShiftState [17:09:40]wFMCommunicate request_size=4 [17:09:40]MH_SAM_APDU [17:09:40]CAPDU: 80 13 01 00 [17:09:40]Write to MH i2c: E2 08 00 64 00 80 13 01 00 00 00 00 00 E1 [17:09:40]Write i2c OK [17:09:40]MH_I2C_Read... [17:09:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:09:40]Read from MH i2c: E2 [17:09:40]MH_I2C_Read... [17:09:40]Read from MH i2c: E2 0E 00 [17:09:40]MH_I2C_Read... [17:09:40]Read from MH i2c: E2 0E 00 64 00 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 82 [17:09:40]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [17:09:40]wFMCommunicate OK [17:09:40]SAM_PROTO_GetShiftState done [17:09:40]FM_GetShiftState done [17:09:40]req_shift_opened done [17:09:40]requested_item shift.open_date is exist - process it [17:09:40]req_shift_open_date [17:09:40]req_shift_open_date done [17:09:40]produce_requested_data done [17:09:40]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4195,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765} [17:09:40]process_action_free close_receipt [17:09:40]json_value_free [17:09:40]json_value_free done [17:09:40]process_json_proto returns [17:09:40]Send response to host [17:09:40]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4195,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765}}} [17:09:40]free response buf [17:09:40]execute_script done [17:09:40]execute_script returns [17:09:40]free content buf [17:09:40]Sock 8.Close socket [17:09:40]Sock 8.Thread stoped [17:09:43]OFD Sender: No OFD packet to send [17:09:48]OFD Sender: No OFD packet to send [17:09:53]OFD Sender: No OFD packet to send [17:09:58]OFD Sender: No OFD packet to send [17:10:03]OFD Sender: No OFD packet to send [17:10:08]OFD Sender: No OFD packet to send [17:10:13]OFD Sender: No OFD packet to send [17:10:18]OFD Sender: No OFD packet to send [17:10:23]OFD Sender: No OFD packet to send [17:10:28]OFD Sender: No OFD packet to send [17:10:29]accept exits with 9 [17:10:29]New connection [17:10:29]New thread 3066629476 created [17:10:29]Thread 3066772836 joined [17:10:29]Waiting for new connection... [17:10:29] Sock 9.Parse request [17:10:29]Sock 9.Check first char [17:10:29]Sock 9.First char is OK [17:10:29]request: POST /json_proto HTTP/1.0 [17:10:29]Method: POST [17:10:29]URL: /json_proto [17:10:29]Method is POST - this is cgi request [17:10:29]url: /json_proto [17:10:29]query_string will be loaded in cgi processing [17:10:29]execute_cgi json_proto POST (null) [17:10:29]execute_cgi path=json_proto method=POST [17:10:29]POST find Content-Length [17:10:29]Host: 172.17.56.68:8080 [17:10:29]Content-Length: 849 [17:10:29]Content-Type: application/json [17:10:29] [17:10:29]POST finish read [17:10:29]Found Content-Length = 849 [17:10:29]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4449", "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 }]} ,{ "code": "4870001570071", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1\u043B", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 250.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:10:29]execute_script... [17:10: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)4449", "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 }]} ,{ "code": "4870001570071", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1\u043B", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 250.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:10:29]POST & json_proto [17:10:29]process_json_proto [17:10:29]json parsed OK: [17:10:29]protocol is kg_v1.0 [17:10:29]action value=close_receipt [17:10:29]process_action close_receipt [17:10:29]cmd_close_receipt [17:10:29]MH_GetDate [17:10:29]Write to MH i2c: F0 00 00 65 00 54 [17:10:29]Write i2c OK [17:10:29]MH_I2C_Read... [17:10:29]Read from MH i2c: F0 [17:10:29]MH_I2C_Read... [17:10:29]Read from MH i2c: F0 09 00 [17:10:29]MH_I2C_Read... [17:10:29]Read from MH i2c: F0 09 00 65 00 00 06 9C 60 66 3A 8F 60 66 54 [17:10:29]GetLastDocTimeStamp 1717607377 [17:10:29]current date 1717607430 [17:10:29]FM_GetShiftState [17:10:29]SAM_PROTO_GetShiftState [17:10:29]wFMCommunicate request_size=4 [17:10:29]MH_SAM_APDU [17:10:29]CAPDU: 80 13 01 00 [17:10:29]Write to MH i2c: E2 08 00 66 00 80 13 01 00 00 00 00 00 E3 [17:10:29]Write i2c OK [17:10:29]MH_I2C_Read... [17:10:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:10:29]Read from MH i2c: E2 [17:10:29]MH_I2C_Read... [17:10:29]Read from MH i2c: E2 0E 00 [17:10:29]MH_I2C_Read... [17:10:29]Read from MH i2c: E2 0E 00 66 00 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 84 [17:10:29]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [17:10:29]wFMCommunicate OK [17:10:29]SAM_PROTO_GetShiftState done [17:10:29]FM_GetShiftState done [17:10:29]opened in 1717545765 [17:10:29]opened+sec_in_day 1717632165 [17:10:29]quantity*price = 14000 [17:10:29]sum+1 = 14001 [17:10:29]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870001570071 Напиток Pepsi 1л 1.000 * 110.00 = 110.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 250.00 НСП 1% : 2.21 НДС 12% : 26.55 Наличными: 250.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 54 05.06.2024 17:10 Смена: 84 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4196 ФПД: 232688200455940 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T171030&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4196&fm=232688200455940&tin=02508201610067®Number=0000000000145775&sum=25000 0 [17:10:30]StoreToDocumentArchive [17:10:30]shift 84 fd 4196 [17:10:30]save to /storage/0084/doc_00004196 [17:10:30]save last doc name /storage/0084/doc_00004196 to /storage/kkm_last_doc_name [17:10:30]save OK [17:10:30]Clear old archive folders... [17:10:30]ProcessDocumentItem done err = 0, tmpTLVsize=369 [17:10:30]tlvbuf is 019B2CE0 [17:10:30]SAM_PROTO_ClearQueue [17:10:30]wFMCommunicate request_size=4 [17:10:30]MH_SAM_APDU [17:10:30]CAPDU: 80 09 00 00 [17:10:30]Write to MH i2c: E2 08 00 73 00 80 09 00 00 00 00 00 00 E5 [17:10:30]Write i2c OK [17:10:30]MH_I2C_Read... [17:10:30]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:10:30]Read from MH i2c: E2 [17:10:30]MH_I2C_Read... [17:10:30]Read from MH i2c: E2 03 00 [17:10:30]MH_I2C_Read... [17:10:30]Read from MH i2c: E2 03 00 73 00 00 90 00 E7 [17:10:30]RAPDU: 90 00 [17:10:30]wFMCommunicate OK [17:10:30]SAM_PROTO_ClearQueue done [17:10:30]KKMCreateOFDPacket [17:10:30]OFDProtocolAddRootSTLVToBuf [17:10:30]FM_MakeSignedData [17:10:30]FM_MakeSignedData [17:10:30]SAM_PROTO_SignData [17:10:30]wFMCommunicate request_size=4 [17:10:30]MH_SAM_APDU [17:10:30]CAPDU: 80 0D 01 02 [17:10:30]Write to MH i2c: E2 08 00 74 00 80 0D 01 02 00 00 00 00 ED [17:10:30]Write i2c OK [17:10:30]MH_I2C_Read... [17:10:30]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:10:30]Read from MH i2c: E2 [17:10:30]MH_I2C_Read... [17:10:30]Read from MH i2c: E2 03 00 [17:10:30]MH_I2C_Read... [17:10:30]Read from MH i2c: E2 03 00 74 00 00 90 00 E8 [17:10:30]RAPDU: 90 00 [17:10:30]wFMCommunicate OK [17:10:30]wFMCommunicate request_size=255 [17:10:30]MH_SAM_APDU [17:10:30]CAPDU: 80 0D 02 02 FA 03 00 71 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A8 61 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DD 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 [17:10:30]Write to MH i2c: E2 02 01 75 00 80 0D 02 02 FA 00 03 00 71 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A8 61 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DD 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 00 00 8F [17:10:30]Write i2c OK [17:10:30]MH_I2C_Read... [17:10:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:10:30]Read from MH i2c: E2 [17:10:30]MH_I2C_Read... [17:10:30]Read from MH i2c: E2 03 00 [17:10:30]MH_I2C_Read... [17:10:30]Read from MH i2c: E2 03 00 75 00 00 90 00 E9 [17:10:30]RAPDU: 90 00 [17:10:30]wFMCommunicate OK [17:10:30]wFMCommunicate request_size=128 [17:10:30]MH_SAM_APDU [17:10:30]CAPDU: 80 0D 02 02 7B F3 03 06 00 5F 0A 00 00 00 00 07 04 06 00 A8 61 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 06 9C 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 64 10 00 00 35 04 06 00 D3 A0 F1 88 17 04 [17:10:30]Write to MH i2c: E2 83 00 76 00 80 0D 02 02 7B 00 F3 03 06 00 5F 0A 00 00 00 00 07 04 06 00 A8 61 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 06 9C 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 64 10 00 00 35 04 06 00 D3 A0 F1 88 17 04 00 00 FF [17:10:30]Write i2c OK [17:10:30]MH_I2C_Read... [17:10:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:10:30]Read from MH i2c: E2 [17:10:30]MH_I2C_Read... [17:10:30]Read from MH i2c: E2 03 00 [17:10:30]MH_I2C_Read... [17:10:30]Read from MH i2c: E2 03 00 76 00 00 90 00 EA [17:10:30]RAPDU: 90 00 [17:10:30]wFMCommunicate OK [17:10:30]wFMCommunicate request_size=4 [17:10:30]MH_SAM_APDU [17:10:30]CAPDU: 80 0D 03 02 [17:10:30]Write to MH i2c: E2 08 00 77 00 80 0D 03 02 00 00 00 00 F2 [17:10:30]Write i2c OK [17:10:30]MH_I2C_Read... [17:10:30]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:10:30]Read from MH i2c: E2 [17:10:30]MH_I2C_Read... [17:10:30]Read from MH i2c: E2 0B 00 [17:10:30]MH_I2C_Read... [17:10:30]Read from MH i2c: E2 0B 00 77 00 00 83 F1 F1 0B 34 35 F4 7D 90 00 3D [17:10:30]RAPDU: 83 F1 F1 0B 34 35 F4 7D 90 00 [17:10:30]wFMCommunicate OK [17:10:30]SAM_PROTO_SignData done [17:10:30]FM_MakeSignedData done [17:10:30]CreateOFDProtocolMessage [17:10:30]wFMCommunicate request_size=4 [17:10:30]MH_SAM_APDU [17:10:30]CAPDU: 80 11 00 00 [17:10:30]Write to MH i2c: E2 08 00 78 00 80 11 00 00 00 00 00 00 F2 [17:10:30]Write i2c OK [17:10:30]MH_I2C_Read... [17:10:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:10:31]Read from MH i2c: E2 [17:10:31]MH_I2C_Read... [17:10:31]Read from MH i2c: E2 17 00 [17:10:31]MH_I2C_Read... [17:10:31]Read from MH i2c: E2 17 00 78 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 45 [17:10:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [17:10:31]wFMCommunicate OK [17:10:31]CreateOFDProtocolMessage done [17:10:31]OFDSenderStorePacket 4196 [17:10:31]StoreOFDPacket docnum=4196 [17:10:31]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 85 01 00 00 72 BF 7D 01 20 DE 5A 03 01 00 03 00 71 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A8 61 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DD 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5F 0A 00 00 00 00 07 04 06 00 A8 61 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 06 9C 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 64 10 00 00 35 04 06 00 D3 A0 F1 88 17 04 83 F1 F1 0B 34 35 F4 7D [17:10:31]CheckFolder [17:10:31]dirname=/storage/ofd_packets [17:10:31]CheckFolder done [17:10:31]ProducePacketName [17:10:31]name=ofd_packets/00004196 [17:10:31]NVStorageSaveData ofd_packets/00004196 [17:10:31]File name is /storage/ofd_packets/00004196 [17:10:31]Write 419 bytes [17:10:31]NVStorageSaveData done [17:10:31]OFDSenderStorePacket done [17:10:31]KKMCreateOFDPacket done [17:10:31]NVStorageSaveData kkm_last_timestamp [17:10:31]File name is /storage/kkm_last_timestamp [17:10:31]Write 4 bytes [17:10:31]NVStorageSaveData done [17:10:31]ExternCall_PrintAddStr [17:10:31]wPrintStart [17:10:31]Write to MH i2c: 01 00 00 79 00 79 [17:10:31]Write i2c OK [17:10:31]MH_I2C_Read... [17:10:31]Read from MH i2c: 01 [17:10:31]MH_I2C_Read... [17:10:31]Read from MH i2c: 01 07 00 [17:10:31]MH_I2C_Read... [17:10:31]Read from MH i2c: 01 07 00 79 00 00 00 00 00 00 FF 0F 8E [17:10:31]RasterBufferAndPrint [17:10:31]line Счет N : (3)4449 [17:10:31]line ИНН: 02508201610067 [17:10:31]line Контрольно-Кассовый Чек [17:10:31]line ПРОДАЖА [17:10:31]line Товар: 48743570 [17:10:31]line Сигареты Winston XStyle Blue [17:10:31]line 1.000 * 140.00 [17:10:31]line = 140.00 [17:10:31]line НДС 12% НСП 1% [17:10:31]line > о реализуемом товаре [17:10:31]line Товар: 4870001570071 [17:10:31]line Напиток Pepsi 1л [17:10:31]line 1.000 * 110.00 [17:10:31]line = 110.00 [17:10:31]line НДС 12% НСП 1% [17:10:31]line > о реализуемом товаре [17:10:31]line ИТОГО: 250.00 [17:10:31]line НСП 1% : 2.21 [17:10:31]line НДС 12% : 26.55 [17:10:31]line Наличными: 250.00 [17:10:31]line Безнал.: 0.00 [17:10:31]line Место: АЗС № 116 "Партнер Нефть" [17:10:31]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [17:10:31]line СНО: Общий режим [17:10:31]line Чек 54 05.06.2024 17:10 [17:10:31]line Смена: 84 ФФД: 1.0 [17:10:31]line ЗНМ: 0300000233 [17:10:31]line РНМ: 0000000000145775 [17:10:31]line Версия ККМ: v1.0 [17:10:31]line ФМ: 0000000000959360 [17:10:31]line ФД: 4196 [17:10:31]line ФПД: 232688200455940 [17:10:31]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T171030&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4196&fm=232688200455940&tin=02508201610067®Number=0000000000145775&sum=25000 [17:10:31]line 0 [17:10:31]OFD Sender: Processing packet 4196 [packets to send 2, broken 1] [17:10:31]ProducePacketName [17:10:31]name=ofd_packets/00004196 [17:10:31]OFD Sender: To server: pG, [17:10:31]CommunicateWithHost lk.salyk.kg:30040 [17:10:31]ConnectInit lk.salyk.kg [17:10:31]written 0, free lines is 4095 [17:10:31]Connected sock=10 [17:10:31]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 85 01 00 00 72 BF 7D 01 20 DE 5A 03 01 00 03 00 71 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A8 61 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DD 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5F 0A 00 00 00 00 07 04 06 00 A8 61 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 06 9C 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 64 10 00 00 35 04 06 00 D3 A0 F1 88 17 04 83 F1 F1 0B 34 35 F4 7D [17:10:31]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 2A BC 47 00 02 C8 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 64 10 00 00 F4 03 04 00 08 48 60 66 B6 04 01 00 00 F2 EB 25 C9 7A 36 D3 B9 [17:10:31]CommunicateWithHost err = 0 [17:10:31]CheckOFDResponse [17:10:31]1017 (14) - 77093643461234 [17:10:31]1041 (16) - 0000000000959360 [17:10:31]1040 (4) - 4196 [17:10:31]1012 (4) - 05.06.2024 11:12 [17:10:31]1206 (1) - 0 [17:10:31]OFD Sender: Remove packet 4196 [17:10:31]ProducePacketName [17:10:31]name=ofd_packets/00004196 [17:10:31]NVStorageDeleteData [17:10:31]Write to MH i2c: 01 00 00 A7 00 A7 [17:10:31]Write i2c OK [17:10:31]MH_I2C_Read... [17:10:31]Read from MH i2c: 01 [17:10:31]MH_I2C_Read... [17:10:31]Read from MH i2c: 01 07 00 [17:10:31]MH_I2C_Read... [17:10:31]Read from MH i2c: 01 07 00 A7 00 00 00 00 00 00 64 0C 1E [17:10:31]RasterBufferAndPrint [17:10:31]line [17:10:31]line [17:10:31]line [17:10:31]line [17:10:31]line [17:10:31]written 0, free lines is 3179 [17:10:31]MH_Cut [17:10:31]Write to MH i2c: D1 01 00 AE 00 01 80 [17:10:31]Write i2c OK [17:10:31]MH_I2C_Read... [17:10:31]Read from MH i2c: D1 [17:10:31]MH_I2C_Read... [17:10:31]Read from MH i2c: D1 01 00 [17:10:31]MH_I2C_Read... [17:10:31]Read from MH i2c: D1 01 00 AE 00 00 7F [17:10:31]Write to MH i2c: 01 00 00 AF 00 AF [17:10:31]Write i2c OK [17:10:31]MH_I2C_Read... [17:10:32]OFD Sender: No OFD packet to send [17:10:32]*** Cut start [17:10:32]*** Partial cut [17:10:32]*** CUTSNS_PIN = 1 [17:10:32]*** CUTSNS_PIN = 0 [17:10:33]*** Brake cut motor [17:10:33]Read from MH i2c: 01 [17:10:33]MH_I2C_Read... [17:10:33]*** Stop cut motor [17:10:33]*** Cut end [17:10:33]Read from MH i2c: 01 07 00 [17:10:33]MH_I2C_Read... [17:10:33]Read from MH i2c: 01 07 00 AF 00 00 00 00 00 00 FF 0F C4 [17:10:33]process_action close_receipt done [17:10:33]requested_data is exist [17:10:33]produce_requested_data [17:10:33]requested_item fm.sn is exist - process it [17:10:33]wFMCommunicate request_size=4 [17:10:33]MH_SAM_APDU [17:10:33]CAPDU: 80 11 00 00 [17:10:33]Write to MH i2c: E2 08 00 B0 00 80 11 00 00 00 00 00 00 2A [17:10:33]Write i2c OK [17:10:33]MH_I2C_Read... [17:10:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:10:33]Read from MH i2c: E2 [17:10:33]MH_I2C_Read... [17:10:33]Read from MH i2c: E2 17 00 [17:10:33]MH_I2C_Read... [17:10:33]Read from MH i2c: E2 17 00 B0 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 7D [17:10:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [17:10:33]wFMCommunicate OK [17:10:33]requested_item fd.num is exist - process it [17:10:33]SAM_PROTO_GetFieldsCounters [17:10:33]wFMCommunicate request_size=4 [17:10:33]MH_SAM_APDU [17:10:33]CAPDU: 80 13 00 00 [17:10:33]Write to MH i2c: E2 08 00 B1 00 80 13 00 00 00 00 00 00 2D [17:10:33]Write i2c OK [17:10:33]MH_I2C_Read... [17:10:33]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:10:33]Read from MH i2c: E2 [17:10:33]MH_I2C_Read... [17:10:33]Read from MH i2c: E2 62 00 [17:10:33]MH_I2C_Read... [17:10:33]Read from MH i2c: E2 62 00 B1 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 64 10 00 00 0E 04 04 00 54 00 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 BC [17:10:33]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 64 10 00 00 0E 04 04 00 54 00 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:33]wFMCommunicate OK [17:10:33]SAM_PROTO_GetFieldsCounters done [17:10:33]requested_item shift.num is exist - process it [17:10:33]requested_item shift.opened is exist - process it [17:10:33]req_shift_opened [17:10:33]FM_GetShiftState [17:10:33]SAM_PROTO_GetShiftState [17:10:33]wFMCommunicate request_size=4 [17:10:33]MH_SAM_APDU [17:10:33]CAPDU: 80 13 01 00 [17:10:33]Write to MH i2c: E2 08 00 B2 00 80 13 01 00 00 00 00 00 2F [17:10:33]Write i2c OK [17:10:33]MH_I2C_Read... [17:10:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:10:33]Read from MH i2c: E2 [17:10:33]MH_I2C_Read... [17:10:33]Read from MH i2c: E2 0E 00 [17:10:33]MH_I2C_Read... [17:10:33]Read from MH i2c: E2 0E 00 B2 00 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 D0 [17:10:33]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [17:10:33]wFMCommunicate OK [17:10:33]SAM_PROTO_GetShiftState done [17:10:33]FM_GetShiftState done [17:10:33]req_shift_opened done [17:10:33]requested_item shift.open_date is exist - process it [17:10:33]req_shift_open_date [17:10:33]req_shift_open_date done [17:10:33]produce_requested_data done [17:10:33]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4196,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765} [17:10:33]process_action_free close_receipt [17:10:33]json_value_free [17:10:33]json_value_free done [17:10:33]process_json_proto returns [17:10:33]Send response to host [17:10:33]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4196,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765}}} [17:10:33]free response buf [17:10:33]execute_script done [17:10:33]execute_script returns [17:10:33]free content buf [17:10:33]Sock 9.Close socket [17:10:33]Sock 9.Thread stoped [17:10:37]OFD Sender: No OFD packet to send [17:10:42]OFD Sender: No OFD packet to send [17:10:47]OFD Sender: No OFD packet to send [17:10:52]OFD Sender: No OFD packet to send [17:10:57]OFD Sender: No OFD packet to send [17:11:02]OFD Sender: No OFD packet to send [17:11:07]OFD Sender: No OFD packet to send [17:11:12]OFD Sender: No OFD packet to send [17:11:17]OFD Sender: No OFD packet to send [17:11:22]OFD Sender: No OFD packet to send [17:11:27]OFD Sender: No OFD packet to send [17:11:32]OFD Sender: No OFD packet to send [17:11:37]OFD Sender: No OFD packet to send [17:11:42]OFD Sender: No OFD packet to send [17:11:47]OFD Sender: No OFD packet to send [17:11:52]OFD Sender: No OFD packet to send [17:11:57]OFD Sender: No OFD packet to send [17:12:02]OFD Sender: No OFD packet to send [17:12:07]OFD Sender: No OFD packet to send [17:12:12]OFD Sender: No OFD packet to send [17:12:17]OFD Sender: No OFD packet to send [17:12:22]OFD Sender: No OFD packet to send [17:12:27]OFD Sender: No OFD packet to send [17:12:32]OFD Sender: No OFD packet to send [17:12:37]OFD Sender: No OFD packet to send [17:12:42]OFD Sender: No OFD packet to send [17:12:47]OFD Sender: No OFD packet to send [17:12:52]OFD Sender: No OFD packet to send [17:12:57]OFD Sender: No OFD packet to send [17:13:02]OFD Sender: No OFD packet to send [17:13:07]OFD Sender: No OFD packet to send [17:13:12]OFD Sender: No OFD packet to send [17:13:17]OFD Sender: No OFD packet to send [17:13:22]OFD Sender: No OFD packet to send [17:13:27]OFD Sender: No OFD packet to send [17:13:32]OFD Sender: No OFD packet to send [17:13:37]OFD Sender: No OFD packet to send [17:13:42]OFD Sender: No OFD packet to send [17:13:47]OFD Sender: No OFD packet to send [17:13:52]OFD Sender: No OFD packet to send [17:13:57]OFD Sender: No OFD packet to send [17:14:02]OFD Sender: No OFD packet to send [17:14:07]OFD Sender: No OFD packet to send [17:14:12]OFD Sender: No OFD packet to send [17:14:17]OFD Sender: No OFD packet to send [17:14:22]OFD Sender: No OFD packet to send [17:14:27]OFD Sender: No OFD packet to send [17:14:32]OFD Sender: No OFD packet to send [17:14:37]OFD Sender: No OFD packet to send [17:14:42]OFD Sender: No OFD packet to send [17:14:47]OFD Sender: No OFD packet to send [17:14:52]OFD Sender: No OFD packet to send [17:14:57]OFD Sender: No OFD packet to send [17:15:02]OFD Sender: No OFD packet to send [17:15:07]OFD Sender: No OFD packet to send [17:15:12]OFD Sender: No OFD packet to send [17:15:17]OFD Sender: No OFD packet to send [17:15:22]OFD Sender: No OFD packet to send [17:15:27]OFD Sender: No OFD packet to send [17:15:32]OFD Sender: No OFD packet to send [17:15:37]OFD Sender: No OFD packet to send [17:15:42]OFD Sender: No OFD packet to send [17:15:47]OFD Sender: No OFD packet to send [17:15:52]OFD Sender: No OFD packet to send [17:15:57]OFD Sender: No OFD packet to send [17:16:02]OFD Sender: No OFD packet to send [17:16:07]OFD Sender: No OFD packet to send [17:16:12]OFD Sender: No OFD packet to send [17:16:17]OFD Sender: No OFD packet to send [17:16:22]OFD Sender: No OFD packet to send [17:16:27]OFD Sender: No OFD packet to send [17:16:32]OFD Sender: No OFD packet to send [17:16:37]OFD Sender: No OFD packet to send [17:16:42]OFD Sender: No OFD packet to send [17:16:47]OFD Sender: No OFD packet to send [17:16:52]OFD Sender: No OFD packet to send [17:16:57]OFD Sender: No OFD packet to send [17:17:02]OFD Sender: No OFD packet to send [17:17:07]OFD Sender: No OFD packet to send [17:17:12]OFD Sender: No OFD packet to send [17:17:17]OFD Sender: No OFD packet to send [17:17:22]OFD Sender: No OFD packet to send [17:17:27]OFD Sender: No OFD packet to send [17:17:32]OFD Sender: No OFD packet to send [17:17:37]OFD Sender: No OFD packet to send [17:17:42]OFD Sender: No OFD packet to send [17:17:47]OFD Sender: No OFD packet to send [17:17:52]OFD Sender: No OFD packet to send [17:17:57]OFD Sender: No OFD packet to send [17:18:02]OFD Sender: No OFD packet to send [17:18:07]OFD Sender: No OFD packet to send [17:18:12]OFD Sender: No OFD packet to send [17:18:17]OFD Sender: No OFD packet to send [17:18:22]OFD Sender: No OFD packet to send [17:18:27]OFD Sender: No OFD packet to send [17:18:32]OFD Sender: No OFD packet to send [17:18:37]OFD Sender: No OFD packet to send [17:18:42]OFD Sender: No OFD packet to send [17:18:47]OFD Sender: No OFD packet to send [17:18:52]OFD Sender: No OFD packet to send [17:18:57]OFD Sender: No OFD packet to send [17:19:02]OFD Sender: No OFD packet to send [17:19:07]OFD Sender: No OFD packet to send [17:19:12]OFD Sender: No OFD packet to send [17:19:17]OFD Sender: No OFD packet to send [17:19:22]OFD Sender: No OFD packet to send [17:19:27]OFD Sender: No OFD packet to send [17:19:32]OFD Sender: No OFD packet to send [17:19:37]OFD Sender: No OFD packet to send [17:19:42]OFD Sender: No OFD packet to send [17:19:47]OFD Sender: No OFD packet to send [17:19:52]OFD Sender: No OFD packet to send [17:19:57]OFD Sender: No OFD packet to send [17:20:02]OFD Sender: No OFD packet to send [17:20:07]OFD Sender: No OFD packet to send [17:20:12]OFD Sender: No OFD packet to send [17:20:17]OFD Sender: No OFD packet to send [17:20:22]OFD Sender: No OFD packet to send [17:20:27]OFD Sender: No OFD packet to send [17:20:32]OFD Sender: No OFD packet to send [17:20:37]OFD Sender: No OFD packet to send [17:20:42]OFD Sender: No OFD packet to send [17:20:47]OFD Sender: No OFD packet to send [17:20:52]OFD Sender: No OFD packet to send [17:20:57]OFD Sender: No OFD packet to send [17:21:02]OFD Sender: No OFD packet to send [17:21:07]OFD Sender: No OFD packet to send [17:21:12]OFD Sender: No OFD packet to send [17:21:17]OFD Sender: No OFD packet to send [17:21:22]OFD Sender: No OFD packet to send [17:21:27]OFD Sender: No OFD packet to send [17:21:32]OFD Sender: No OFD packet to send [17:21:37]OFD Sender: No OFD packet to send [17:21:42]OFD Sender: No OFD packet to send [17:21:47]OFD Sender: No OFD packet to send [17:21:52]OFD Sender: No OFD packet to send [17:21:57]OFD Sender: No OFD packet to send [17:22:02]OFD Sender: No OFD packet to send [17:22:07]OFD Sender: No OFD packet to send [17:22:12]OFD Sender: No OFD packet to send [17:22:17]OFD Sender: No OFD packet to send [17:22:22]OFD Sender: No OFD packet to send [17:22:27]OFD Sender: No OFD packet to send [17:22:32]OFD Sender: No OFD packet to send [17:22:37]OFD Sender: No OFD packet to send [17:22:42]OFD Sender: No OFD packet to send [17:22:47]OFD Sender: No OFD packet to send [17:22:52]OFD Sender: No OFD packet to send [17:22:57]OFD Sender: No OFD packet to send [17:23:02]OFD Sender: No OFD packet to send [17:23:07]OFD Sender: No OFD packet to send [17:23:12]OFD Sender: No OFD packet to send [17:23:17]OFD Sender: No OFD packet to send [17:23:22]OFD Sender: No OFD packet to send [17:23:27]OFD Sender: No OFD packet to send [17:23:32]OFD Sender: No OFD packet to send [17:23:37]OFD Sender: No OFD packet to send [17:23:42]OFD Sender: No OFD packet to send [17:23:47]OFD Sender: No OFD packet to send [17:23:52]OFD Sender: No OFD packet to send [17:23:57]OFD Sender: No OFD packet to send [17:24:02]OFD Sender: No OFD packet to send [17:24:07]OFD Sender: No OFD packet to send [17:24:12]OFD Sender: No OFD packet to send [17:24:17]OFD Sender: No OFD packet to send [17:24:22]OFD Sender: No OFD packet to send [17:24:27]OFD Sender: No OFD packet to send [17:24:32]OFD Sender: No OFD packet to send [17:24:37]OFD Sender: No OFD packet to send [17:24:42]OFD Sender: No OFD packet to send [17:24:47]OFD Sender: No OFD packet to send [17:24:52]OFD Sender: No OFD packet to send [17:24:57]OFD Sender: No OFD packet to send [17:25:02]OFD Sender: No OFD packet to send [17:25:07]OFD Sender: No OFD packet to send [17:25:12]OFD Sender: No OFD packet to send [17:25:17]OFD Sender: No OFD packet to send [17:25:19]accept exits with 8 [17:25:19]New connection [17:25:19]New thread 3066772836 created [17:25:19]Thread 3066629476 joined [17:25:19]Waiting for new connection... [17:25:19] Sock 8.Parse request [17:25:19]Sock 8.Check first char [17:25:19]Sock 8.First char is OK [17:25:19]request: POST /json_proto HTTP/1.0 [17:25:19]Method: POST [17:25:19]URL: /json_proto [17:25:19]Method is POST - this is cgi request [17:25:19]url: /json_proto [17:25:19]query_string will be loaded in cgi processing [17:25:19]execute_cgi json_proto POST (null) [17:25:19]execute_cgi path=json_proto method=POST [17:25:19]POST find Content-Length [17:25:19]Host: 172.17.56.68:8080 [17:25:19]Content-Length: 653 [17:25:19]Content-Type: application/json [17:25:19] [17:25:19]POST finish read [17:25:19]Found Content-Length = 653 [17:25:19]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4450", "tax_sys" : 0, "items" : [ { "code": "4870001159955", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u041F\u042D\u0422 1\u043B", "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" ] } } [17:25:19]execute_script... [17:25:19]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4450", "tax_sys" : 0, "items" : [ { "code": "4870001159955", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u041F\u042D\u0422 1\u043B", "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" ] } } [17:25:19]POST & json_proto [17:25:19]process_json_proto [17:25:19]json parsed OK: [17:25:19]protocol is kg_v1.0 [17:25:19]action value=close_receipt [17:25:19]process_action close_receipt [17:25:19]cmd_close_receipt [17:25:19]MH_GetDate [17:25:19]Write to MH i2c: F0 00 00 B3 00 A2 [17:25:19]Write i2c OK [17:25:19]MH_I2C_Read... [17:25:19]Read from MH i2c: F0 [17:25:19]MH_I2C_Read... [17:25:19]Read from MH i2c: F0 09 00 [17:25:19]MH_I2C_Read... [17:25:19]Read from MH i2c: F0 09 00 B3 00 00 7F 9F 60 66 3A 8F 60 66 1E [17:25:19]GetLastDocTimeStamp 1717607430 [17:25:19]current date 1717608319 [17:25:19]FM_GetShiftState [17:25:19]SAM_PROTO_GetShiftState [17:25:19]wFMCommunicate request_size=4 [17:25:19]MH_SAM_APDU [17:25:19]CAPDU: 80 13 01 00 [17:25:19]Write to MH i2c: E2 08 00 B4 00 80 13 01 00 00 00 00 00 31 [17:25:19]Write i2c OK [17:25:19]MH_I2C_Read... [17:25:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:25:19]Read from MH i2c: E2 [17:25:19]MH_I2C_Read... [17:25:19]Read from MH i2c: E2 0E 00 [17:25:19]MH_I2C_Read... [17:25:19]Read from MH i2c: E2 0E 00 B4 00 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 D2 [17:25:19]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [17:25:19]wFMCommunicate OK [17:25:19]SAM_PROTO_GetShiftState done [17:25:19]FM_GetShiftState done [17:25:19]opened in 1717545765 [17:25:19]opened+sec_in_day 1717632165 [17:25:19]quantity*price = 4500 [17:25:19]sum+1 = 4501 [17:25:19]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 45.00 НСП 1% : 0.40 НДС 12% : 4.78 Наличными: 45.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 55 05.06.2024 17:25 Смена: 84 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4197 ФПД: 80602538437579 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T172520&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4197&fm=80602538437579&tin=02508201610067®Number=0000000000145775&sum=4500 0 [17:25:20]StoreToDocumentArchive [17:25:20]shift 84 fd 4197 [17:25:20]save to /storage/0084/doc_00004197 [17:25:20]save last doc name /storage/0084/doc_00004197 to /storage/kkm_last_doc_name [17:25:20]save OK [17:25:20]Clear old archive folders... [17:25:20]ProcessDocumentItem done err = 0, tmpTLVsize=282 [17:25:20]tlvbuf is 0196E8B0 [17:25:20]SAM_PROTO_ClearQueue [17:25:20]wFMCommunicate request_size=4 [17:25:20]MH_SAM_APDU [17:25:20]CAPDU: 80 09 00 00 [17:25:20]Write to MH i2c: E2 08 00 C1 00 80 09 00 00 00 00 00 00 33 [17:25:20]Write i2c OK [17:25:20]MH_I2C_Read... [17:25:20]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:25:20]Read from MH i2c: E2 [17:25:20]MH_I2C_Read... [17:25:20]Read from MH i2c: E2 03 00 [17:25:20]MH_I2C_Read... [17:25:20]Read from MH i2c: E2 03 00 C1 00 00 90 00 35 [17:25:20]RAPDU: 90 00 [17:25:20]wFMCommunicate OK [17:25:20]SAM_PROTO_ClearQueue done [17:25:20]KKMCreateOFDPacket [17:25:20]OFDProtocolAddRootSTLVToBuf [17:25:20]FM_MakeSignedData [17:25:20]FM_MakeSignedData [17:25:20]SAM_PROTO_SignData [17:25:20]wFMCommunicate request_size=4 [17:25:20]MH_SAM_APDU [17:25:20]CAPDU: 80 0D 01 02 [17:25:20]Write to MH i2c: E2 08 00 C2 00 80 0D 01 02 00 00 00 00 3B [17:25:20]Write i2c OK [17:25:20]MH_I2C_Read... [17:25:20]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:25:20]Read from MH i2c: E2 [17:25:20]MH_I2C_Read... [17:25:20]Read from MH i2c: E2 03 00 [17:25:20]MH_I2C_Read... [17:25:20]Read from MH i2c: E2 03 00 C2 00 00 90 00 36 [17:25:20]RAPDU: 90 00 [17:25:20]wFMCommunicate OK [17:25:20]wFMCommunicate request_size=255 [17:25:20]MH_SAM_APDU [17:25:20]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 30 30 31 31 35 39 39 35 35 06 04 28 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 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 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 37 00 00 00 F4 03 04 00 80 9F 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 [17:25:20]Write to MH i2c: E2 02 01 C3 00 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 30 30 31 31 35 39 39 35 35 06 04 28 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 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 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 37 00 00 00 F4 03 04 00 80 9F 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 00 00 94 [17:25:20]Write i2c OK [17:25:20]MH_I2C_Read... [17:25:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:25:20]Read from MH i2c: E2 [17:25:20]MH_I2C_Read... [17:25:20]Read from MH i2c: E2 03 00 [17:25:20]MH_I2C_Read... [17:25:20]Read from MH i2c: E2 03 00 C3 00 00 90 00 37 [17:25:20]RAPDU: 90 00 [17:25:20]wFMCommunicate OK [17:25:20]wFMCommunicate request_size=41 [17:25:20]MH_SAM_APDU [17:25:20]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 65 10 00 00 35 04 06 00 49 4E BD AB EB CB [17:25:20]Write to MH i2c: E2 2C 00 C4 00 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 65 10 00 00 35 04 06 00 49 4E BD AB EB CB 00 00 37 [17:25:20]Write i2c OK [17:25:20]MH_I2C_Read... [17:25:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:25:20]Read from MH i2c: E2 [17:25:20]MH_I2C_Read... [17:25:20]Read from MH i2c: E2 03 00 [17:25:20]MH_I2C_Read... [17:25:20]Read from MH i2c: E2 03 00 C4 00 00 90 00 38 [17:25:20]RAPDU: 90 00 [17:25:20]wFMCommunicate OK [17:25:20]wFMCommunicate request_size=4 [17:25:20]MH_SAM_APDU [17:25:20]CAPDU: 80 0D 03 02 [17:25:20]Write to MH i2c: E2 08 00 C5 00 80 0D 03 02 00 00 00 00 40 [17:25:20]Write i2c OK [17:25:20]MH_I2C_Read... [17:25:20]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:25:20]Read from MH i2c: E2 [17:25:20]MH_I2C_Read... [17:25:20]Read from MH i2c: E2 0B 00 [17:25:20]MH_I2C_Read... [17:25:20]Read from MH i2c: E2 0B 00 C5 00 00 BF 53 D5 AE 98 66 4E B4 90 00 D6 [17:25:20]RAPDU: BF 53 D5 AE 98 66 4E B4 90 00 [17:25:20]wFMCommunicate OK [17:25:20]SAM_PROTO_SignData done [17:25:20]FM_MakeSignedData done [17:25:20]CreateOFDProtocolMessage [17:25:20]wFMCommunicate request_size=4 [17:25:20]MH_SAM_APDU [17:25:20]CAPDU: 80 11 00 00 [17:25:20]Write to MH i2c: E2 08 00 C6 00 80 11 00 00 00 00 00 00 40 [17:25:20]Write i2c OK [17:25:20]MH_I2C_Read... [17:25:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:25:20]Read from MH i2c: E2 [17:25:20]MH_I2C_Read... [17:25:20]Read from MH i2c: E2 17 00 [17:25:20]MH_I2C_Read... [17:25:20]Read from MH i2c: E2 17 00 C6 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 93 [17:25:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [17:25:20]wFMCommunicate OK [17:25:20]CreateOFDProtocolMessage done [17:25:20]OFDSenderStorePacket 4197 [17:25:20]StoreOFDPacket docnum=4197 [17:25:20]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 2E 01 00 00 11 81 26 01 01 17 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 30 30 31 31 35 39 39 35 35 06 04 28 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 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 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 37 00 00 00 F4 03 04 00 80 9F 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 65 10 00 00 35 04 06 00 49 4E BD AB EB CB BF 53 D5 AE 98 66 4E B4 [17:25:20]CheckFolder [17:25:20]dirname=/storage/ofd_packets [17:25:20]CheckFolder done [17:25:20]ProducePacketName [17:25:20]name=ofd_packets/00004197 [17:25:20]NVStorageSaveData ofd_packets/00004197 [17:25:20]File name is /storage/ofd_packets/00004197 [17:25:20]Write 332 bytes [17:25:20]NVStorageSaveData done [17:25:20]OFDSenderStorePacket done [17:25:20]KKMCreateOFDPacket done [17:25:20]NVStorageSaveData kkm_last_timestamp [17:25:20]File name is /storage/kkm_last_timestamp [17:25:20]Write 4 bytes [17:25:20]NVStorageSaveData done [17:25:20]ExternCall_PrintAddStr [17:25:20]wPrintStart [17:25:20]Write to MH i2c: 01 00 00 C7 00 C7 [17:25:20]Write i2c OK [17:25:20]MH_I2C_Read... [17:25:20]Read from MH i2c: 01 [17:25:20]MH_I2C_Read... [17:25:20]Read from MH i2c: 01 07 00 [17:25:20]MH_I2C_Read... [17:25:20]Read from MH i2c: 01 07 00 C7 00 00 00 00 00 00 FF 0F DC [17:25:20]RasterBufferAndPrint [17:25:20]line Счет N : (3)4450 [17:25:20]line ИНН: 02508201610067 [17:25:20]line Контрольно-Кассовый Чек [17:25:20]line ПРОДАЖА [17:25:20]line Товар: 4870001159955 [17:25:20]line Вода ASU пит н.газ ПЭТ 1л [17:25:20]line 1.000 * 45.00 [17:25:20]line = 45.00 [17:25:20]line НДС 12% НСП 1% [17:25:20]line > о реализуемом товаре [17:25:20]line ИТОГО: 45.00 [17:25:20]line НСП 1% : 0.40 [17:25:20]line НДС 12% : 4.78 [17:25:20]line Наличными: 45.00 [17:25:20]line Безнал.: 0.00 [17:25:20]line Место: АЗС № 116 "Партнер Нефть" [17:25:20]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [17:25:20]line СНО: Общий режим [17:25:21]line Чек 55 05.06.2024 17:25 [17:25:21]line Смена: 84 ФФД: 1.0 [17:25:21]line ЗНМ: 0300000233 [17:25:21]line РНМ: 0000000000145775 [17:25:21]line Версия ККМ: v1.0 [17:25:21]line ФМ: 0000000000959360 [17:25:21]line ФД: 4197 [17:25:21]line ФПД: 80602538437579 [17:25:21]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T172520&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4197&fm=80602538437579&tin=02508201610067®Number=0000000000145775&sum=4500 [17:25:21]line 0 [17:25:21]OFD Sender: Processing packet 4197 [packets to send 2, broken 1] [17:25:21]ProducePacketName [17:25:21]name=ofd_packets/00004197 [17:25:21]OFD Sender: To server: pG, [17:25:21]CommunicateWithHost lk.salyk.kg:30040 [17:25:21]ConnectInit lk.salyk.kg [17:25:21]written 0, free lines is 4095 [17:25:21]Connected sock=10 [17:25:21]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 2E 01 00 00 11 81 26 01 01 17 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 30 30 31 31 35 39 39 35 35 06 04 28 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 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 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 37 00 00 00 F4 03 04 00 80 9F 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 65 10 00 00 35 04 06 00 49 4E BD AB EB CB BF 53 D5 AE 98 66 4E B4 [17:25:21]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 63 82 47 00 FD 05 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 65 10 00 00 F4 03 04 00 81 4B 60 66 B6 04 01 00 00 43 CA 6C 94 73 FC 48 58 [17:25:21]CommunicateWithHost err = 0 [17:25:21]CheckOFDResponse [17:25:21]1017 (14) - 77093643461234 [17:25:21]1041 (16) - 0000000000959360 [17:25:21]1040 (4) - 4197 [17:25:21]1012 (4) - 05.06.2024 11:26 [17:25:21]1206 (1) - 0 [17:25:21]OFD Sender: Remove packet 4197 [17:25:21]ProducePacketName [17:25:21]name=ofd_packets/00004197 [17:25:21]NVStorageDeleteData [17:25:21]Write to MH i2c: 01 00 00 EF 00 EF [17:25:21]Write i2c OK [17:25:21]MH_I2C_Read... [17:25:21]Read from MH i2c: 01 [17:25:21]MH_I2C_Read... [17:25:21]Read from MH i2c: 01 07 00 [17:25:21]MH_I2C_Read... [17:25:21]Read from MH i2c: 01 07 00 EF 00 00 00 00 00 00 BC 0C BE [17:25:21]RasterBufferAndPrint [17:25:21]line [17:25:21]line [17:25:21]line [17:25:21]line [17:25:21]line [17:25:21]written 0, free lines is 3264 [17:25:21]MH_Cut [17:25:21]Write to MH i2c: D1 01 00 F6 00 01 C8 [17:25:21]Write i2c OK [17:25:21]MH_I2C_Read... [17:25:21]Read from MH i2c: D1 [17:25:21]MH_I2C_Read... [17:25:21]Read from MH i2c: D1 01 00 [17:25:21]MH_I2C_Read... [17:25:21]Read from MH i2c: D1 01 00 F6 00 00 C7 [17:25:21]Write to MH i2c: 01 00 00 F7 00 F7 [17:25:21]Write i2c OK [17:25:21]MH_I2C_Read... [17:25:21]OFD Sender: No OFD packet to send [17:25:22]*** Cut start [17:25:22]*** Partial cut [17:25:22]*** CUTSNS_PIN = 1 [17:25:22]*** CUTSNS_PIN = 0 [17:25:22]*** Brake cut motor [17:25:23]Read from MH i2c: 01 [17:25:23]MH_I2C_Read... [17:25:23]*** Stop cut motor [17:25:23]*** Cut end [17:25:23]Read from MH i2c: 01 07 00 [17:25:23]MH_I2C_Read... [17:25:23]Read from MH i2c: 01 07 00 F7 00 00 00 00 00 00 FF 0F 0C [17:25:23]process_action close_receipt done [17:25:23]requested_data is exist [17:25:23]produce_requested_data [17:25:23]requested_item fm.sn is exist - process it [17:25:23]wFMCommunicate request_size=4 [17:25:23]MH_SAM_APDU [17:25:23]CAPDU: 80 11 00 00 [17:25:23]Write to MH i2c: E2 08 00 F8 00 80 11 00 00 00 00 00 00 72 [17:25:23]Write i2c OK [17:25:23]MH_I2C_Read... [17:25:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:25:23]Read from MH i2c: E2 [17:25:23]MH_I2C_Read... [17:25:23]Read from MH i2c: E2 17 00 [17:25:23]MH_I2C_Read... [17:25:23]Read from MH i2c: E2 17 00 F8 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 C5 [17:25:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [17:25:23]wFMCommunicate OK [17:25:23]requested_item fd.num is exist - process it [17:25:23]SAM_PROTO_GetFieldsCounters [17:25:23]wFMCommunicate request_size=4 [17:25:23]MH_SAM_APDU [17:25:23]CAPDU: 80 13 00 00 [17:25:23]Write to MH i2c: E2 08 00 F9 00 80 13 00 00 00 00 00 00 75 [17:25:23]Write i2c OK [17:25:23]MH_I2C_Read... [17:25:23]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:25:23]Read from MH i2c: E2 [17:25:23]MH_I2C_Read... [17:25:23]Read from MH i2c: E2 62 00 [17:25:23]MH_I2C_Read... [17:25:23]Read from MH i2c: E2 62 00 F9 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 65 10 00 00 0E 04 04 00 54 00 00 00 12 04 04 00 37 00 00 00 5E 04 04 00 37 00 00 00 57 04 04 00 38 00 00 00 19 04 04 00 00 00 00 00 90 00 08 [17:25:23]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 65 10 00 00 0E 04 04 00 54 00 00 00 12 04 04 00 37 00 00 00 5E 04 04 00 37 00 00 00 57 04 04 00 38 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:25:23]wFMCommunicate OK [17:25:23]SAM_PROTO_GetFieldsCounters done [17:25:23]requested_item shift.num is exist - process it [17:25:23]requested_item shift.opened is exist - process it [17:25:23]req_shift_opened [17:25:23]FM_GetShiftState [17:25:23]SAM_PROTO_GetShiftState [17:25:23]wFMCommunicate request_size=4 [17:25:23]MH_SAM_APDU [17:25:23]CAPDU: 80 13 01 00 [17:25:23]Write to MH i2c: E2 08 00 FA 00 80 13 01 00 00 00 00 00 77 [17:25:23]Write i2c OK [17:25:23]MH_I2C_Read... [17:25:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:25:23]Read from MH i2c: E2 [17:25:23]MH_I2C_Read... [17:25:23]Read from MH i2c: E2 0E 00 [17:25:23]MH_I2C_Read... [17:25:23]Read from MH i2c: E2 0E 00 FA 00 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 18 [17:25:23]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [17:25:23]wFMCommunicate OK [17:25:23]SAM_PROTO_GetShiftState done [17:25:23]FM_GetShiftState done [17:25:23]req_shift_opened done [17:25:23]requested_item shift.open_date is exist - process it [17:25:23]req_shift_open_date [17:25:23]req_shift_open_date done [17:25:23]produce_requested_data done [17:25:23]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4197,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765} [17:25:23]process_action_free close_receipt [17:25:23]json_value_free [17:25:23]json_value_free done [17:25:23]process_json_proto returns [17:25:23]Send response to host [17:25:23]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4197,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765}}} [17:25:23]free response buf [17:25:23]execute_script done [17:25:23]execute_script returns [17:25:23]free content buf [17:25:23]Sock 8.Close socket [17:25:23]Sock 8.Thread stoped [17:25:26]OFD Sender: No OFD packet to send [17:25:31]OFD Sender: No OFD packet to send [17:25:36]OFD Sender: No OFD packet to send [17:25:41]OFD Sender: No OFD packet to send [17:25:46]OFD Sender: No OFD packet to send [17:25:51]OFD Sender: No OFD packet to send [17:25:56]OFD Sender: No OFD packet to send [17:26:01]OFD Sender: No OFD packet to send [17:26:06]OFD Sender: No OFD packet to send [17:26:11]OFD Sender: No OFD packet to send [17:26:16]OFD Sender: No OFD packet to send [17:26:21]OFD Sender: No OFD packet to send [17:26:26]OFD Sender: No OFD packet to send [17:26:31]OFD Sender: No OFD packet to send [17:26:36]OFD Sender: No OFD packet to send [17:26:41]OFD Sender: No OFD packet to send [17:26:46]OFD Sender: No OFD packet to send [17:26:51]OFD Sender: No OFD packet to send [17:26:56]OFD Sender: No OFD packet to send [17:27:01]OFD Sender: No OFD packet to send [17:27:06]OFD Sender: No OFD packet to send [17:27:11]OFD Sender: No OFD packet to send [17:27:16]OFD Sender: No OFD packet to send [17:27:21]OFD Sender: No OFD packet to send [17:27:26]OFD Sender: No OFD packet to send [17:27:31]OFD Sender: No OFD packet to send [17:27:36]OFD Sender: No OFD packet to send [17:27:41]OFD Sender: No OFD packet to send [17:27:46]OFD Sender: No OFD packet to send [17:27:51]OFD Sender: No OFD packet to send [17:27:56]OFD Sender: No OFD packet to send [17:28:02]OFD Sender: No OFD packet to send [17:28:07]OFD Sender: No OFD packet to send [17:28:12]OFD Sender: No OFD packet to send [17:28:17]OFD Sender: No OFD packet to send [17:28:22]OFD Sender: No OFD packet to send [17:28:27]OFD Sender: No OFD packet to send [17:28:32]OFD Sender: No OFD packet to send [17:28:37]OFD Sender: No OFD packet to send [17:28:42]OFD Sender: No OFD packet to send [17:28:47]OFD Sender: No OFD packet to send [17:28:52]OFD Sender: No OFD packet to send [17:28:57]OFD Sender: No OFD packet to send [17:29:02]OFD Sender: No OFD packet to send [17:29:07]OFD Sender: No OFD packet to send [17:29:12]OFD Sender: No OFD packet to send [17:29:17]OFD Sender: No OFD packet to send [17:29:22]OFD Sender: No OFD packet to send [17:29:27]OFD Sender: No OFD packet to send [17:29:32]OFD Sender: No OFD packet to send [17:29:37]OFD Sender: No OFD packet to send [17:29:42]OFD Sender: No OFD packet to send [17:29:47]OFD Sender: No OFD packet to send [17:29:52]OFD Sender: No OFD packet to send [17:29:57]OFD Sender: No OFD packet to send [17:30:02]OFD Sender: No OFD packet to send [17:30:07]OFD Sender: No OFD packet to send [17:30:12]OFD Sender: No OFD packet to send [17:30:17]OFD Sender: No OFD packet to send [17:30:22]OFD Sender: No OFD packet to send [17:30:27]OFD Sender: No OFD packet to send [17:30:32]OFD Sender: No OFD packet to send [17:30:37]OFD Sender: No OFD packet to send [17:30:42]OFD Sender: No OFD packet to send [17:30:47]OFD Sender: No OFD packet to send [17:30:52]OFD Sender: No OFD packet to send [17:30:57]OFD Sender: No OFD packet to send [17:31:02]OFD Sender: No OFD packet to send [17:31:07]OFD Sender: No OFD packet to send [17:31:12]OFD Sender: No OFD packet to send [17:31:17]OFD Sender: No OFD packet to send [17:31:22]OFD Sender: No OFD packet to send [17:31:25]accept exits with 9 [17:31:25]New connection [17:31:25]New thread 3066629476 created [17:31:25]Thread 3066772836 joined [17:31:25]Waiting for new connection... [17:31:25] Sock 9.Parse request [17:31:25]Sock 9.Check first char [17:31:25]Sock 9.First char is OK [17:31:25]request: POST /json_proto HTTP/1.0 [17:31:25]Method: POST [17:31:25]URL: /json_proto [17:31:25]Method is POST - this is cgi request [17:31:25]url: /json_proto [17:31:25]query_string will be loaded in cgi processing [17:31:25]execute_cgi json_proto POST (null) [17:31:25]execute_cgi path=json_proto method=POST [17:31:25]POST find Content-Length [17:31:25]Host: 172.17.56.68:8080 [17:31:25]Content-Length: 826 [17:31:25]Content-Type: application/json [17:31:25] [17:31:25]POST finish read [17:31:25]Found Content-Length = 826 [17:31:25]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4451", "tax_sys" : 0, "items" : [ { "code": "4607120858977", "name": "\u0427\u0438\u043F\u0441\u044B \u0427\u0438\u043F\u0441\u043E\u043D\u044B \u043A\u0440\u0430\u0431 40\u0433", "price" : 41.00, "quantity" : 1.000, "sum" : 41.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: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 41.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:31:25]execute_script... [17:31:25]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4451", "tax_sys" : 0, "items" : [ { "code": "4607120858977", "name": "\u0427\u0438\u043F\u0441\u044B \u0427\u0438\u043F\u0441\u043E\u043D\u044B \u043A\u0440\u0430\u0431 40\u0433", "price" : 41.00, "quantity" : 1.000, "sum" : 41.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: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 41.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:31:25]POST & json_proto [17:31:25]process_json_proto [17:31:25]json parsed OK: [17:31:25]protocol is kg_v1.0 [17:31:25]action value=close_receipt [17:31:25]process_action close_receipt [17:31:25]cmd_close_receipt [17:31:25]MH_GetDate [17:31:25]Write to MH i2c: F0 00 00 FB 00 EA [17:31:25]Write i2c OK [17:31:25]MH_I2C_Read... [17:31:25]Read from MH i2c: F0 [17:31:25]MH_I2C_Read... [17:31:25]Read from MH i2c: F0 09 00 [17:31:25]MH_I2C_Read... [17:31:25]Read from MH i2c: F0 09 00 FB 00 00 ED A0 60 66 3A 8F 60 66 D5 [17:31:25]GetLastDocTimeStamp 1717608320 [17:31:25]current date 1717608685 [17:31:25]FM_GetShiftState [17:31:25]SAM_PROTO_GetShiftState [17:31:25]wFMCommunicate request_size=4 [17:31:25]MH_SAM_APDU [17:31:25]CAPDU: 80 13 01 00 [17:31:25]Write to MH i2c: E2 08 00 FC 00 80 13 01 00 00 00 00 00 79 [17:31:25]Write i2c OK [17:31:25]MH_I2C_Read... [17:31:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:31:25]Read from MH i2c: E2 [17:31:25]MH_I2C_Read... [17:31:25]Read from MH i2c: E2 0E 00 [17:31:25]MH_I2C_Read... [17:31:25]Read from MH i2c: E2 0E 00 FC 00 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 1A [17:31:25]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [17:31:25]wFMCommunicate OK [17:31:25]SAM_PROTO_GetShiftState done [17:31:25]FM_GetShiftState done [17:31:25]opened in 1717545765 [17:31:25]opened+sec_in_day 1717632165 [17:31:25]quantity*price = 4100 [17:31:25]sum+1 = 4101 [17:31:25]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 41.00 НСП 1% : 0.36 НДС 12% : 4.35 Наличными: 0.00 Безнал.: 41.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 56 05.06.2024 17:31 Смена: 84 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 Платежная система: О! деньги ФМ: 0000000000959360 ФД: 4198 ФПД: 136558229514642 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T173126&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4198&fm=136558229514642&tin=02508201610067®Number=0000000000145775&sum=4100 0 [17:31:26]StoreToDocumentArchive [17:31:26]shift 84 fd 4198 [17:31:26]save to /storage/0084/doc_00004198 [17:31:26]save last doc name /storage/0084/doc_00004198 to /storage/kkm_last_doc_name [17:31:26]save OK [17:31:26]Clear old archive folders... [17:31:26]ProcessDocumentItem done err = 0, tmpTLVsize=281 [17:31:26]tlvbuf is 0196E4B0 [17:31:26]SAM_PROTO_ClearQueue [17:31:26]wFMCommunicate request_size=4 [17:31:26]MH_SAM_APDU [17:31:26]CAPDU: 80 09 00 00 [17:31:26]Write to MH i2c: E2 08 00 09 01 80 09 00 00 00 00 00 00 7C [17:31:26]Write i2c OK [17:31:26]MH_I2C_Read... [17:31:26]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:31:26]Read from MH i2c: E2 [17:31:26]MH_I2C_Read... [17:31:26]Read from MH i2c: E2 03 00 [17:31:26]MH_I2C_Read... [17:31:26]Read from MH i2c: E2 03 00 09 01 00 90 00 7E [17:31:26]RAPDU: 90 00 [17:31:26]wFMCommunicate OK [17:31:26]SAM_PROTO_ClearQueue done [17:31:26]KKMCreateOFDPacket [17:31:26]OFDProtocolAddRootSTLVToBuf [17:31:26]FM_MakeSignedData [17:31:26]FM_MakeSignedData [17:31:26]SAM_PROTO_SignData [17:31:26]wFMCommunicate request_size=4 [17:31:26]MH_SAM_APDU [17:31:26]CAPDU: 80 0D 01 02 [17:31:26]Write to MH i2c: E2 08 00 0A 01 80 0D 01 02 00 00 00 00 84 [17:31:26]Write i2c OK [17:31:26]MH_I2C_Read... [17:31:26]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:31:26]Read from MH i2c: E2 [17:31:26]MH_I2C_Read... [17:31:26]Read from MH i2c: E2 03 00 [17:31:26]MH_I2C_Read... [17:31:26]Read from MH i2c: E2 03 00 0A 01 00 90 00 7F [17:31:26]RAPDU: 90 00 [17:31:26]wFMCommunicate OK [17:31:26]wFMCommunicate request_size=255 [17:31:26]MH_SAM_APDU [17:31:26]CAPDU: 80 0D 02 02 FA 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 31 32 30 38 35 38 39 37 37 06 04 27 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 D0 A7 D0 B8 D0 BF D1 81 D0 BE D0 BD D1 8B 20 D0 BA D1 80 D0 B0 D0 B1 20 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 10 00 00 00 00 13 04 06 00 04 10 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 10 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 24 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B3 01 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 04 10 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 38 00 00 00 F4 03 04 00 EE A0 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 [17:31:26]Write to MH i2c: E2 02 01 0B 01 80 0D 02 02 FA 00 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 31 32 30 38 35 38 39 37 37 06 04 27 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 D0 A7 D0 B8 D0 BF D1 81 D0 BE D0 BD D1 8B 20 D0 BA D1 80 D0 B0 D0 B1 20 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 10 00 00 00 00 13 04 06 00 04 10 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 10 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 24 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B3 01 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 04 10 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 38 00 00 00 F4 03 04 00 EE A0 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 00 61 [17:31:26]Write i2c OK [17:31:26]MH_I2C_Read... [17:31:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:31:26]Read from MH i2c: E2 [17:31:26]MH_I2C_Read... [17:31:26]Read from MH i2c: E2 03 00 [17:31:26]MH_I2C_Read... [17:31:26]Read from MH i2c: E2 03 00 0B 01 00 90 00 80 [17:31:26]RAPDU: 90 00 [17:31:26]wFMCommunicate OK [17:31:26]wFMCommunicate request_size=40 [17:31:26]MH_SAM_APDU [17:31:26]CAPDU: 80 0D 02 02 23 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 66 10 00 00 35 04 06 00 7C 32 F0 C2 E9 92 [17:31:26]Write to MH i2c: E2 2B 00 0C 01 80 0D 02 02 23 00 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 66 10 00 00 35 04 06 00 7C 32 F0 C2 E9 92 00 00 95 [17:31:26]Write i2c OK [17:31:26]MH_I2C_Read... [17:31:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:31:26]Read from MH i2c: E2 [17:31:26]MH_I2C_Read... [17:31:26]Read from MH i2c: E2 03 00 [17:31:26]MH_I2C_Read... [17:31:26]Read from MH i2c: E2 03 00 0C 01 00 90 00 81 [17:31:26]RAPDU: 90 00 [17:31:26]wFMCommunicate OK [17:31:26]wFMCommunicate request_size=4 [17:31:26]MH_SAM_APDU [17:31:26]CAPDU: 80 0D 03 02 [17:31:26]Write to MH i2c: E2 08 00 0D 01 80 0D 03 02 00 00 00 00 89 [17:31:26]Write i2c OK [17:31:26]MH_I2C_Read... [17:31:26]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:31:26]Read from MH i2c: E2 [17:31:26]MH_I2C_Read... [17:31:26]Read from MH i2c: E2 0B 00 [17:31:26]MH_I2C_Read... [17:31:26]Read from MH i2c: E2 0B 00 0D 01 00 AC 25 EF 78 D8 14 79 08 90 00 2F [17:31:26]RAPDU: AC 25 EF 78 D8 14 79 08 90 00 [17:31:26]wFMCommunicate OK [17:31:26]SAM_PROTO_SignData done [17:31:26]FM_MakeSignedData done [17:31:26]CreateOFDProtocolMessage [17:31:26]wFMCommunicate request_size=4 [17:31:26]MH_SAM_APDU [17:31:26]CAPDU: 80 11 00 00 [17:31:26]Write to MH i2c: E2 08 00 0E 01 80 11 00 00 00 00 00 00 89 [17:31:26]Write i2c OK [17:31:26]MH_I2C_Read... [17:31:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:31:26]Read from MH i2c: E2 [17:31:26]MH_I2C_Read... [17:31:26]Read from MH i2c: E2 17 00 [17:31:26]MH_I2C_Read... [17:31:26]Read from MH i2c: E2 17 00 0E 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 DC [17:31:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [17:31:26]wFMCommunicate OK [17:31:26]CreateOFDProtocolMessage done [17:31:26]OFDSenderStorePacket 4198 [17:31:26]StoreOFDPacket docnum=4198 [17:31:26]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 2D 01 00 00 1B AA 25 01 46 26 5A 03 01 00 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 31 32 30 38 35 38 39 37 37 06 04 27 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 D0 A7 D0 B8 D0 BF D1 81 D0 BE D0 BD D1 8B 20 D0 BA D1 80 D0 B0 D0 B1 20 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 10 00 00 00 00 13 04 06 00 04 10 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 10 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 24 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B3 01 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 04 10 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 38 00 00 00 F4 03 04 00 EE A0 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 66 10 00 00 35 04 06 00 7C 32 F0 C2 E9 92 AC 25 EF 78 D8 14 79 08 [17:31:26]CheckFolder [17:31:26]dirname=/storage/ofd_packets [17:31:26]CheckFolder done [17:31:26]ProducePacketName [17:31:26]name=ofd_packets/00004198 [17:31:26]NVStorageSaveData ofd_packets/00004198 [17:31:26]File name is /storage/ofd_packets/00004198 [17:31:26]Write 331 bytes [17:31:26]NVStorageSaveData done [17:31:26]OFDSenderStorePacket done [17:31:26]KKMCreateOFDPacket done [17:31:26]NVStorageSaveData kkm_last_timestamp [17:31:26]File name is /storage/kkm_last_timestamp [17:31:26]Write 4 bytes [17:31:26]NVStorageSaveData done [17:31:26]ExternCall_PrintAddStr [17:31:26]wPrintStart [17:31:26]Write to MH i2c: 01 00 00 0F 01 10 [17:31:26]Write i2c OK [17:31:26]MH_I2C_Read... [17:31:26]Read from MH i2c: 01 [17:31:26]MH_I2C_Read... [17:31:26]Read from MH i2c: 01 07 00 [17:31:26]MH_I2C_Read... [17:31:26]Read from MH i2c: 01 07 00 0F 01 00 00 00 00 00 FF 0F 25 [17:31:26]RasterBufferAndPrint [17:31:26]line Счет N : (3)4451 [17:31:26]line ИНН: 02508201610067 [17:31:26]line Контрольно-Кассовый Чек [17:31:26]line ПРОДАЖА [17:31:26]line Товар: 4607120858977 [17:31:26]line Чипсы Чипсоны краб 40г [17:31:26]line 1.000 * 41.00 [17:31:26]line = 41.00 [17:31:26]line НДС 12% НСП 1% [17:31:26]line > о реализуемом товаре [17:31:26]line ИТОГО: 41.00 [17:31:26]line НСП 1% : 0.36 [17:31:26]line НДС 12% : 4.35 [17:31:26]line Наличными: 0.00 [17:31:26]line Безнал.: 41.00 [17:31:26]line Место: АЗС № 116 "Партнер Нефть" [17:31:26]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [17:31:26]line СНО: Общий режим [17:31:26]line Чек 56 05.06.2024 17:31 [17:31:26]line Смена: 84 ФФД: 1.0 [17:31:26]line ЗНМ: 0300000233 [17:31:26]line РНМ: 0000000000145775 [17:31:26]line Версия ККМ: v1.0 [17:31:26]line Платежная система: О! деньги [17:31:26]line ФМ: 0000000000959360 [17:31:26]line ФД: 4198 [17:31:26]line ФПД: 136558229514642 [17:31:27]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T173126&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4198&fm=136558229514642&tin=02508201610067®Number=0000000000145775&sum=4100 [17:31:27]line 0 [17:31:27]OFD Sender: Processing packet 4198 [packets to send 2, broken 1] [17:31:27]ProducePacketName [17:31:27]name=ofd_packets/00004198 [17:31:27]OFD Sender: To server: pG, [17:31:27]CommunicateWithHost lk.salyk.kg:30040 [17:31:27]ConnectInit lk.salyk.kg [17:31:27]written 0, free lines is 4095 [17:31:27]Connected sock=10 [17:31:27]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 2D 01 00 00 1B AA 25 01 46 26 5A 03 01 00 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 31 32 30 38 35 38 39 37 37 06 04 27 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 D0 A7 D0 B8 D0 BF D1 81 D0 BE D0 BD D1 8B 20 D0 BA D1 80 D0 B0 D0 B1 20 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 10 00 00 00 00 13 04 06 00 04 10 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 10 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 24 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B3 01 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 04 10 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 38 00 00 00 F4 03 04 00 EE A0 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 66 10 00 00 35 04 06 00 7C 32 F0 C2 E9 92 AC 25 EF 78 D8 14 79 08 [17:31:27]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 D2 5A 47 00 29 9A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 66 10 00 00 F4 03 04 00 EF 4C 60 66 B6 04 01 00 00 3E A1 75 01 3C AD 71 BC [17:31:27]CommunicateWithHost err = 0 [17:31:27]CheckOFDResponse [17:31:27]1017 (14) - 77093643461234 [17:31:27]1041 (16) - 0000000000959360 [17:31:27]1040 (4) - 4198 [17:31:27]1012 (4) - 05.06.2024 11:33 [17:31:27]1206 (1) - 0 [17:31:27]OFD Sender: Remove packet 4198 [17:31:27]ProducePacketName [17:31:27]name=ofd_packets/00004198 [17:31:27]NVStorageDeleteData [17:31:27]Write to MH i2c: 01 00 00 39 01 3A [17:31:27]Write i2c OK [17:31:27]MH_I2C_Read... [17:31:27]Read from MH i2c: 01 [17:31:27]MH_I2C_Read... [17:31:27]Read from MH i2c: 01 07 00 [17:31:27]MH_I2C_Read... [17:31:27]Read from MH i2c: 01 07 00 39 01 00 00 00 00 00 9C 0C E9 [17:31:27]RasterBufferAndPrint [17:31:27]line [17:31:27]line [17:31:27]line [17:31:27]line [17:31:27]line [17:31:27]written 0, free lines is 3235 [17:31:27]MH_Cut [17:31:27]Write to MH i2c: D1 01 00 40 01 01 13 [17:31:27]Write i2c OK [17:31:27]MH_I2C_Read... [17:31:27]Read from MH i2c: D1 [17:31:27]MH_I2C_Read... [17:31:27]Read from MH i2c: D1 01 00 [17:31:27]MH_I2C_Read... [17:31:27]Read from MH i2c: D1 01 00 40 01 00 12 [17:31:27]Write to MH i2c: 01 00 00 41 01 42 [17:31:27]Write i2c OK [17:31:27]MH_I2C_Read... [17:31:27]OFD Sender: No OFD packet to send [17:31:28]*** Cut start [17:31:28]*** Partial cut [17:31:28]*** CUTSNS_PIN = 1 [17:31:28]*** CUTSNS_PIN = 0 [17:31:28]*** Brake cut motor [17:31:29]Read from MH i2c: 01 [17:31:29]MH_I2C_Read... [17:31:29]*** Stop cut motor [17:31:29]*** Cut end [17:31:29]Read from MH i2c: 01 07 00 [17:31:29]MH_I2C_Read... [17:31:29]Read from MH i2c: 01 07 00 41 01 00 00 00 00 00 FF 0F 57 [17:31:29]process_action close_receipt done [17:31:29]requested_data is exist [17:31:29]produce_requested_data [17:31:29]requested_item fm.sn is exist - process it [17:31:29]wFMCommunicate request_size=4 [17:31:29]MH_SAM_APDU [17:31:29]CAPDU: 80 11 00 00 [17:31:29]Write to MH i2c: E2 08 00 42 01 80 11 00 00 00 00 00 00 BD [17:31:29]Write i2c OK [17:31:29]MH_I2C_Read... [17:31:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:31:29]Read from MH i2c: E2 [17:31:29]MH_I2C_Read... [17:31:29]Read from MH i2c: E2 17 00 [17:31:29]MH_I2C_Read... [17:31:29]Read from MH i2c: E2 17 00 42 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 10 [17:31:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [17:31:29]wFMCommunicate OK [17:31:29]requested_item fd.num is exist - process it [17:31:29]SAM_PROTO_GetFieldsCounters [17:31:29]wFMCommunicate request_size=4 [17:31:29]MH_SAM_APDU [17:31:29]CAPDU: 80 13 00 00 [17:31:29]Write to MH i2c: E2 08 00 43 01 80 13 00 00 00 00 00 00 C0 [17:31:29]Write i2c OK [17:31:29]MH_I2C_Read... [17:31:29]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:31:29]Read from MH i2c: E2 [17:31:29]MH_I2C_Read... [17:31:29]Read from MH i2c: E2 62 00 [17:31:29]MH_I2C_Read... [17:31:29]Read from MH i2c: E2 62 00 43 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 66 10 00 00 0E 04 04 00 54 00 00 00 12 04 04 00 38 00 00 00 5E 04 04 00 38 00 00 00 57 04 04 00 39 00 00 00 19 04 04 00 00 00 00 00 90 00 57 [17:31:29]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 66 10 00 00 0E 04 04 00 54 00 00 00 12 04 04 00 38 00 00 00 5E 04 04 00 38 00 00 00 57 04 04 00 39 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:31:29]wFMCommunicate OK [17:31:29]SAM_PROTO_GetFieldsCounters done [17:31:29]requested_item shift.num is exist - process it [17:31:29]requested_item shift.opened is exist - process it [17:31:29]req_shift_opened [17:31:29]FM_GetShiftState [17:31:29]SAM_PROTO_GetShiftState [17:31:29]wFMCommunicate request_size=4 [17:31:29]MH_SAM_APDU [17:31:29]CAPDU: 80 13 01 00 [17:31:29]Write to MH i2c: E2 08 00 44 01 80 13 01 00 00 00 00 00 C2 [17:31:29]Write i2c OK [17:31:29]MH_I2C_Read... [17:31:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:31:29]Read from MH i2c: E2 [17:31:29]MH_I2C_Read... [17:31:29]Read from MH i2c: E2 0E 00 [17:31:29]MH_I2C_Read... [17:31:29]Read from MH i2c: E2 0E 00 44 01 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 63 [17:31:29]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [17:31:29]wFMCommunicate OK [17:31:29]SAM_PROTO_GetShiftState done [17:31:29]FM_GetShiftState done [17:31:29]req_shift_opened done [17:31:29]requested_item shift.open_date is exist - process it [17:31:29]req_shift_open_date [17:31:29]req_shift_open_date done [17:31:29]produce_requested_data done [17:31:29]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4198,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765} [17:31:29]process_action_free close_receipt [17:31:29]json_value_free [17:31:29]json_value_free done [17:31:29]process_json_proto returns [17:31:29]Send response to host [17:31:29]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4198,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765}}} [17:31:29]free response buf [17:31:29]execute_script done [17:31:29]execute_script returns [17:31:29]free content buf [17:31:29]Sock 9.Close socket [17:31:29]Sock 9.Thread stoped [17:31:32]OFD Sender: No OFD packet to send [17:31:37]OFD Sender: No OFD packet to send [17:31:42]OFD Sender: No OFD packet to send [17:31:47]OFD Sender: No OFD packet to send [17:31:52]OFD Sender: No OFD packet to send [17:31:57]OFD Sender: No OFD packet to send [17:32:02]OFD Sender: No OFD packet to send [17:32:07]OFD Sender: No OFD packet to send [17:32:12]OFD Sender: No OFD packet to send [17:32:17]OFD Sender: No OFD packet to send [17:32:22]OFD Sender: No OFD packet to send [17:32:27]OFD Sender: No OFD packet to send [17:32:32]OFD Sender: No OFD packet to send [17:32:37]OFD Sender: No OFD packet to send [17:32:42]OFD Sender: No OFD packet to send [17:32:47]OFD Sender: No OFD packet to send [17:32:52]OFD Sender: No OFD packet to send [17:32:57]OFD Sender: No OFD packet to send [17:33:02]OFD Sender: No OFD packet to send [17:33:07]OFD Sender: No OFD packet to send [17:33:12]OFD Sender: No OFD packet to send [17:33:17]OFD Sender: No OFD packet to send [17:33:22]OFD Sender: No OFD packet to send [17:33:27]OFD Sender: No OFD packet to send [17:33:32]OFD Sender: No OFD packet to send [17:33:37]OFD Sender: No OFD packet to send [17:33:42]OFD Sender: No OFD packet to send [17:33:47]OFD Sender: No OFD packet to send [17:33:52]OFD Sender: No OFD packet to send [17:33:57]OFD Sender: No OFD packet to send [17:34:02]OFD Sender: No OFD packet to send [17:34:07]OFD Sender: No OFD packet to send [17:34:13]OFD Sender: No OFD packet to send [17:34:18]OFD Sender: No OFD packet to send [17:34:23]OFD Sender: No OFD packet to send [17:34:28]OFD Sender: No OFD packet to send [17:34:33]OFD Sender: No OFD packet to send [17:34:38]OFD Sender: No OFD packet to send [17:34:43]OFD Sender: No OFD packet to send [17:34:48]OFD Sender: No OFD packet to send [17:34:53]OFD Sender: No OFD packet to send [17:34:58]OFD Sender: No OFD packet to send [17:35:03]OFD Sender: No OFD packet to send [17:35:08]OFD Sender: No OFD packet to send [17:35:13]OFD Sender: No OFD packet to send [17:35:18]OFD Sender: No OFD packet to send [17:35:23]OFD Sender: No OFD packet to send [17:35:28]OFD Sender: No OFD packet to send [17:35:33]OFD Sender: No OFD packet to send [17:35:38]OFD Sender: No OFD packet to send [17:35:43]OFD Sender: No OFD packet to send [17:35:48]OFD Sender: No OFD packet to send [17:35:53]OFD Sender: No OFD packet to send [17:35:58]OFD Sender: No OFD packet to send [17:36:03]OFD Sender: No OFD packet to send [17:36:08]OFD Sender: No OFD packet to send [17:36:13]OFD Sender: No OFD packet to send [17:36:18]OFD Sender: No OFD packet to send [17:36:23]OFD Sender: No OFD packet to send [17:36:28]OFD Sender: No OFD packet to send [17:36:33]OFD Sender: No OFD packet to send [17:36:38]OFD Sender: No OFD packet to send [17:36:43]OFD Sender: No OFD packet to send [17:36:48]OFD Sender: No OFD packet to send [17:36:53]OFD Sender: No OFD packet to send [17:36:58]OFD Sender: No OFD packet to send [17:37:03]OFD Sender: No OFD packet to send [17:37:08]OFD Sender: No OFD packet to send [17:37:13]OFD Sender: No OFD packet to send [17:37:18]OFD Sender: No OFD packet to send [17:37:23]OFD Sender: No OFD packet to send [17:37:28]OFD Sender: No OFD packet to send [17:37:33]OFD Sender: No OFD packet to send [17:37:38]OFD Sender: No OFD packet to send [17:37:43]OFD Sender: No OFD packet to send [17:37:48]OFD Sender: No OFD packet to send [17:37:53]OFD Sender: No OFD packet to send [17:37:58]OFD Sender: No OFD packet to send [17:38:03]OFD Sender: No OFD packet to send [17:38:08]OFD Sender: No OFD packet to send [17:38:13]OFD Sender: No OFD packet to send [17:38:18]OFD Sender: No OFD packet to send [17:38:23]OFD Sender: No OFD packet to send [17:38:28]OFD Sender: No OFD packet to send [17:38:33]OFD Sender: No OFD packet to send [17:38:38]OFD Sender: No OFD packet to send [17:38:43]OFD Sender: No OFD packet to send [17:38:48]OFD Sender: No OFD packet to send [17:38:53]OFD Sender: No OFD packet to send [17:38:58]OFD Sender: No OFD packet to send [17:39:03]OFD Sender: No OFD packet to send [17:39:08]OFD Sender: No OFD packet to send [17:39:13]OFD Sender: No OFD packet to send [17:39:18]OFD Sender: No OFD packet to send [17:39:23]OFD Sender: No OFD packet to send [17:39:28]OFD Sender: No OFD packet to send [17:39:33]OFD Sender: No OFD packet to send [17:39:38]OFD Sender: No OFD packet to send [17:39:43]OFD Sender: No OFD packet to send [17:39:48]OFD Sender: No OFD packet to send [17:39:53]OFD Sender: No OFD packet to send [17:39:58]OFD Sender: No OFD packet to send [17:40:03]OFD Sender: No OFD packet to send [17:40:08]OFD Sender: No OFD packet to send [17:40:13]OFD Sender: No OFD packet to send [17:40:18]OFD Sender: No OFD packet to send [17:40:23]OFD Sender: No OFD packet to send [17:40:28]OFD Sender: No OFD packet to send [17:40:33]OFD Sender: No OFD packet to send [17:40:38]OFD Sender: No OFD packet to send [17:40:43]OFD Sender: No OFD packet to send [17:40:48]OFD Sender: No OFD packet to send [17:40:53]OFD Sender: No OFD packet to send [17:40:58]OFD Sender: No OFD packet to send [17:41:03]OFD Sender: No OFD packet to send [17:41:08]OFD Sender: No OFD packet to send [17:41:13]OFD Sender: No OFD packet to send [17:41:18]OFD Sender: No OFD packet to send [17:41:23]OFD Sender: No OFD packet to send [17:41:28]OFD Sender: No OFD packet to send [17:41:33]OFD Sender: No OFD packet to send [17:41:38]OFD Sender: No OFD packet to send [17:41:43]OFD Sender: No OFD packet to send [17:41:48]OFD Sender: No OFD packet to send [17:41:53]OFD Sender: No OFD packet to send [17:41:58]OFD Sender: No OFD packet to send [17:42:03]OFD Sender: No OFD packet to send [17:42:08]OFD Sender: No OFD packet to send [17:42:13]OFD Sender: No OFD packet to send [17:42:18]OFD Sender: No OFD packet to send [17:42:23]OFD Sender: No OFD packet to send [17:42:28]OFD Sender: No OFD packet to send [17:42:33]OFD Sender: No OFD packet to send [17:42:38]OFD Sender: No OFD packet to send [17:42:43]OFD Sender: No OFD packet to send [17:42:48]OFD Sender: No OFD packet to send [17:42:53]OFD Sender: No OFD packet to send [17:42:58]OFD Sender: No OFD packet to send [17:43:03]OFD Sender: No OFD packet to send [17:43:08]OFD Sender: No OFD packet to send [17:43:13]OFD Sender: No OFD packet to send [17:43:18]OFD Sender: No OFD packet to send [17:43:23]OFD Sender: No OFD packet to send [17:43:28]OFD Sender: No OFD packet to send [17:43:33]OFD Sender: No OFD packet to send [17:43:38]OFD Sender: No OFD packet to send [17:43:43]OFD Sender: No OFD packet to send [17:43:48]OFD Sender: No OFD packet to send [17:43:53]OFD Sender: No OFD packet to send [17:43:58]OFD Sender: No OFD packet to send [17:44:03]OFD Sender: No OFD packet to send [17:44:08]OFD Sender: No OFD packet to send [17:44:13]OFD Sender: No OFD packet to send [17:44:18]OFD Sender: No OFD packet to send [17:44:23]OFD Sender: No OFD packet to send [17:44:28]OFD Sender: No OFD packet to send [17:44:33]OFD Sender: No OFD packet to send [17:44:38]OFD Sender: No OFD packet to send [17:44:43]OFD Sender: No OFD packet to send [17:44:48]OFD Sender: No OFD packet to send [17:44:53]OFD Sender: No OFD packet to send [17:44:58]OFD Sender: No OFD packet to send [17:45:03]OFD Sender: No OFD packet to send [17:45:08]OFD Sender: No OFD packet to send [17:45:13]OFD Sender: No OFD packet to send [17:45:18]OFD Sender: No OFD packet to send [17:45:23]OFD Sender: No OFD packet to send [17:45:28]OFD Sender: No OFD packet to send [17:45:33]OFD Sender: No OFD packet to send [17:45:38]OFD Sender: No OFD packet to send [17:45:43]OFD Sender: No OFD packet to send [17:45:48]OFD Sender: No OFD packet to send [17:45:53]OFD Sender: No OFD packet to send [17:45:58]OFD Sender: No OFD packet to send [17:46:03]OFD Sender: No OFD packet to send [17:46:08]OFD Sender: No OFD packet to send [17:46:13]OFD Sender: No OFD packet to send [17:46:18]OFD Sender: No OFD packet to send [17:46:23]OFD Sender: No OFD packet to send [17:46:28]OFD Sender: No OFD packet to send [17:46:33]OFD Sender: No OFD packet to send [17:46:38]OFD Sender: No OFD packet to send [17:46:43]OFD Sender: No OFD packet to send [17:46:48]OFD Sender: No OFD packet to send [17:46:53]OFD Sender: No OFD packet to send [17:46:58]OFD Sender: No OFD packet to send [17:47:03]OFD Sender: No OFD packet to send [17:47:08]OFD Sender: No OFD packet to send [17:47:13]OFD Sender: No OFD packet to send [17:47:18]OFD Sender: No OFD packet to send [17:47:23]OFD Sender: No OFD packet to send [17:47:28]OFD Sender: No OFD packet to send [17:47:33]OFD Sender: No OFD packet to send [17:47:38]OFD Sender: No OFD packet to send [17:47:43]OFD Sender: No OFD packet to send [17:47:48]OFD Sender: No OFD packet to send [17:47:53]OFD Sender: No OFD packet to send [17:47:58]OFD Sender: No OFD packet to send [17:48:03]OFD Sender: No OFD packet to send [17:48:08]OFD Sender: No OFD packet to send [17:48:13]OFD Sender: No OFD packet to send [17:48:18]OFD Sender: No OFD packet to send [17:48:23]OFD Sender: No OFD packet to send [17:48:28]OFD Sender: No OFD packet to send [17:48:33]OFD Sender: No OFD packet to send [17:48:38]OFD Sender: No OFD packet to send [17:48:43]OFD Sender: No OFD packet to send [17:48:48]OFD Sender: No OFD packet to send [17:48:53]OFD Sender: No OFD packet to send [17:48:58]OFD Sender: No OFD packet to send [17:49:03]OFD Sender: No OFD packet to send [17:49:08]OFD Sender: No OFD packet to send [17:49:13]OFD Sender: No OFD packet to send [17:49:18]OFD Sender: No OFD packet to send [17:49:23]OFD Sender: No OFD packet to send [17:49:28]OFD Sender: No OFD packet to send [17:49:33]OFD Sender: No OFD packet to send [17:49:38]OFD Sender: No OFD packet to send [17:49:43]OFD Sender: No OFD packet to send [17:49:48]OFD Sender: No OFD packet to send [17:49:53]OFD Sender: No OFD packet to send [17:49:58]OFD Sender: No OFD packet to send [17:50:03]OFD Sender: No OFD packet to send [17:50:08]OFD Sender: No OFD packet to send [17:50:13]OFD Sender: No OFD packet to send [17:50:18]OFD Sender: No OFD packet to send [17:50:23]OFD Sender: No OFD packet to send [17:50:28]OFD Sender: No OFD packet to send [17:50:33]OFD Sender: No OFD packet to send [17:50:38]OFD Sender: No OFD packet to send [17:50:43]OFD Sender: No OFD packet to send [17:50:48]OFD Sender: No OFD packet to send [17:50:53]OFD Sender: No OFD packet to send [17:50:58]OFD Sender: No OFD packet to send [17:51:03]OFD Sender: No OFD packet to send [17:51:08]OFD Sender: No OFD packet to send [17:51:13]OFD Sender: No OFD packet to send [17:51:18]OFD Sender: No OFD packet to send [17:51:23]OFD Sender: No OFD packet to send [17:51:28]OFD Sender: No OFD packet to send [17:51:33]OFD Sender: No OFD packet to send [17:51:38]OFD Sender: No OFD packet to send [17:51:43]OFD Sender: No OFD packet to send [17:51:48]OFD Sender: No OFD packet to send [17:51:53]OFD Sender: No OFD packet to send [17:51:58]OFD Sender: No OFD packet to send [17:52:03]OFD Sender: No OFD packet to send [17:52:08]OFD Sender: No OFD packet to send [17:52:13]OFD Sender: No OFD packet to send [17:52:18]OFD Sender: No OFD packet to send [17:52:23]OFD Sender: No OFD packet to send [17:52:28]OFD Sender: No OFD packet to send [17:52:33]OFD Sender: No OFD packet to send [17:52:38]OFD Sender: No OFD packet to send [17:52:43]OFD Sender: No OFD packet to send [17:52:48]OFD Sender: No OFD packet to send [17:52:53]OFD Sender: No OFD packet to send [17:52:58]OFD Sender: No OFD packet to send [17:53:03]OFD Sender: No OFD packet to send [17:53:08]OFD Sender: No OFD packet to send [17:53:13]OFD Sender: No OFD packet to send [17:53:18]OFD Sender: No OFD packet to send [17:53:23]OFD Sender: No OFD packet to send [17:53:28]OFD Sender: No OFD packet to send [17:53:33]OFD Sender: No OFD packet to send [17:53:38]OFD Sender: No OFD packet to send [17:53:43]OFD Sender: No OFD packet to send [17:53:48]OFD Sender: No OFD packet to send [17:53:53]OFD Sender: No OFD packet to send [17:53:58]OFD Sender: No OFD packet to send [17:54:03]OFD Sender: No OFD packet to send [17:54:08]OFD Sender: No OFD packet to send [17:54:13]OFD Sender: No OFD packet to send [17:54:18]OFD Sender: No OFD packet to send [17:54:23]OFD Sender: No OFD packet to send [17:54:28]OFD Sender: No OFD packet to send [17:54:33]OFD Sender: No OFD packet to send [17:54:38]OFD Sender: No OFD packet to send [17:54:43]OFD Sender: No OFD packet to send [17:54:48]OFD Sender: No OFD packet to send [17:54:53]OFD Sender: No OFD packet to send [17:54:58]OFD Sender: No OFD packet to send [17:55:03]OFD Sender: No OFD packet to send [17:55:08]OFD Sender: No OFD packet to send [17:55:13]OFD Sender: No OFD packet to send [17:55:18]OFD Sender: No OFD packet to send [17:55:23]OFD Sender: No OFD packet to send [17:55:28]OFD Sender: No OFD packet to send [17:55:33]OFD Sender: No OFD packet to send [17:55:38]OFD Sender: No OFD packet to send [17:55:43]OFD Sender: No OFD packet to send [17:55:48]OFD Sender: No OFD packet to send [17:55:53]OFD Sender: No OFD packet to send [17:55:59]OFD Sender: No OFD packet to send [17:56:04]OFD Sender: No OFD packet to send [17:56:09]OFD Sender: No OFD packet to send [17:56:14]OFD Sender: No OFD packet to send [17:56:19]OFD Sender: No OFD packet to send [17:56:24]OFD Sender: No OFD packet to send [17:56:29]OFD Sender: No OFD packet to send [17:56:34]OFD Sender: No OFD packet to send [17:56:39]OFD Sender: No OFD packet to send [17:56:44]OFD Sender: No OFD packet to send [17:56:49]OFD Sender: No OFD packet to send [17:56:54]OFD Sender: No OFD packet to send [17:56:59]OFD Sender: No OFD packet to send [17:57:04]OFD Sender: No OFD packet to send [17:57:09]OFD Sender: No OFD packet to send [17:57:14]OFD Sender: No OFD packet to send [17:57:19]OFD Sender: No OFD packet to send [17:57:24]OFD Sender: No OFD packet to send [17:57:29]OFD Sender: No OFD packet to send [17:57:34]OFD Sender: No OFD packet to send [17:57:39]OFD Sender: No OFD packet to send [17:57:44]OFD Sender: No OFD packet to send [17:57:49]OFD Sender: No OFD packet to send [17:57:54]OFD Sender: No OFD packet to send [17:57:59]OFD Sender: No OFD packet to send [17:58:04]OFD Sender: No OFD packet to send [17:58:09]OFD Sender: No OFD packet to send [17:58:14]OFD Sender: No OFD packet to send [17:58:19]OFD Sender: No OFD packet to send [17:58:24]OFD Sender: No OFD packet to send [17:58:29]OFD Sender: No OFD packet to send [17:58:34]OFD Sender: No OFD packet to send [17:58:39]OFD Sender: No OFD packet to send [17:58:44]OFD Sender: No OFD packet to send [17:58:49]OFD Sender: No OFD packet to send [17:58:54]OFD Sender: No OFD packet to send [17:58:59]OFD Sender: No OFD packet to send [17:59:04]OFD Sender: No OFD packet to send [17:59:09]OFD Sender: No OFD packet to send [17:59:14]OFD Sender: No OFD packet to send [17:59:19]OFD Sender: No OFD packet to send [17:59:24]OFD Sender: No OFD packet to send [17:59:29]OFD Sender: No OFD packet to send [17:59:34]OFD Sender: No OFD packet to send [17:59:39]OFD Sender: No OFD packet to send [17:59:44]OFD Sender: No OFD packet to send [17:59:49]OFD Sender: No OFD packet to send [17:59:54]OFD Sender: No OFD packet to send [17:59:59]OFD Sender: No OFD packet to send [18:00:04]OFD Sender: No OFD packet to send [18:00:09]OFD Sender: No OFD packet to send [18:00:14]OFD Sender: No OFD packet to send [18:00:19]OFD Sender: No OFD packet to send [18:00:24]OFD Sender: No OFD packet to send [18:00:29]OFD Sender: No OFD packet to send [18:00:34]OFD Sender: No OFD packet to send [18:00:39]OFD Sender: No OFD packet to send [18:00:44]OFD Sender: No OFD packet to send [18:00:49]OFD Sender: No OFD packet to send [18:00:54]OFD Sender: No OFD packet to send [18:00:59]OFD Sender: No OFD packet to send [18:01:04]OFD Sender: No OFD packet to send [18:01:09]OFD Sender: No OFD packet to send [18:01:14]OFD Sender: No OFD packet to send [18:01:19]OFD Sender: No OFD packet to send [18:01:24]OFD Sender: No OFD packet to send [18:01:29]OFD Sender: No OFD packet to send [18:01:34]OFD Sender: No OFD packet to send [18:01:39]OFD Sender: No OFD packet to send [18:01:44]OFD Sender: No OFD packet to send [18:01:49]OFD Sender: No OFD packet to send [18:01:54]OFD Sender: No OFD packet to send [18:01:59]OFD Sender: No OFD packet to send [18:02:04]OFD Sender: No OFD packet to send [18:02:09]OFD Sender: No OFD packet to send [18:02:14]OFD Sender: No OFD packet to send [18:02:19]OFD Sender: No OFD packet to send [18:02:24]OFD Sender: No OFD packet to send [18:02:29]OFD Sender: No OFD packet to send [18:02:34]OFD Sender: No OFD packet to send [18:02:39]OFD Sender: No OFD packet to send [18:02:44]OFD Sender: No OFD packet to send [18:02:49]OFD Sender: No OFD packet to send [18:02:54]OFD Sender: No OFD packet to send [18:02:59]OFD Sender: No OFD packet to send [18:03:04]OFD Sender: No OFD packet to send [18:03:09]OFD Sender: No OFD packet to send [18:03:14]OFD Sender: No OFD packet to send [18:03:19]OFD Sender: No OFD packet to send [18:03:24]OFD Sender: No OFD packet to send [18:03:29]OFD Sender: No OFD packet to send [18:03:34]OFD Sender: No OFD packet to send [18:03:39]OFD Sender: No OFD packet to send [18:03:44]OFD Sender: No OFD packet to send [18:03:49]OFD Sender: No OFD packet to send [18:03:54]OFD Sender: No OFD packet to send [18:03:59]OFD Sender: No OFD packet to send [18:04:04]OFD Sender: No OFD packet to send [18:04:09]OFD Sender: No OFD packet to send [18:04:14]OFD Sender: No OFD packet to send [18:04:19]OFD Sender: No OFD packet to send [18:04:24]OFD Sender: No OFD packet to send [18:04:29]OFD Sender: No OFD packet to send [18:04:34]OFD Sender: No OFD packet to send [18:04:39]OFD Sender: No OFD packet to send [18:04:44]OFD Sender: No OFD packet to send [18:04:49]OFD Sender: No OFD packet to send [18:04:54]OFD Sender: No OFD packet to send [18:04:59]OFD Sender: No OFD packet to send [18:05:04]OFD Sender: No OFD packet to send [18:05:09]OFD Sender: No OFD packet to send [18:05:14]OFD Sender: No OFD packet to send [18:05:19]OFD Sender: No OFD packet to send [18:05:24]OFD Sender: No OFD packet to send [18:05:29]OFD Sender: No OFD packet to send [18:05:34]OFD Sender: No OFD packet to send [18:05:39]OFD Sender: No OFD packet to send [18:05:44]OFD Sender: No OFD packet to send [18:05:49]OFD Sender: No OFD packet to send [18:05:54]OFD Sender: No OFD packet to send [18:05:59]OFD Sender: No OFD packet to send [18:06:04]OFD Sender: No OFD packet to send [18:06:09]OFD Sender: No OFD packet to send [18:06:14]OFD Sender: No OFD packet to send [18:06:19]OFD Sender: No OFD packet to send [18:06:24]OFD Sender: No OFD packet to send [18:06:29]OFD Sender: No OFD packet to send [18:06:34]OFD Sender: No OFD packet to send [18:06:39]OFD Sender: No OFD packet to send [18:06:44]OFD Sender: No OFD packet to send [18:06:49]OFD Sender: No OFD packet to send [18:06:54]OFD Sender: No OFD packet to send [18:06:59]OFD Sender: No OFD packet to send [18:07:04]OFD Sender: No OFD packet to send [18:07:09]OFD Sender: No OFD packet to send [18:07:14]OFD Sender: No OFD packet to send [18:07:19]OFD Sender: No OFD packet to send [18:07:24]OFD Sender: No OFD packet to send [18:07:29]OFD Sender: No OFD packet to send [18:07:34]OFD Sender: No OFD packet to send [18:07:39]OFD Sender: No OFD packet to send [18:07:44]OFD Sender: No OFD packet to send [18:07:49]OFD Sender: No OFD packet to send [18:07:54]OFD Sender: No OFD packet to send [18:07:59]OFD Sender: No OFD packet to send [18:08:04]OFD Sender: No OFD packet to send [18:08:09]OFD Sender: No OFD packet to send [18:08:14]OFD Sender: No OFD packet to send [18:08:19]OFD Sender: No OFD packet to send [18:08:24]OFD Sender: No OFD packet to send [18:08:29]OFD Sender: No OFD packet to send [18:08:34]OFD Sender: No OFD packet to send [18:08:39]OFD Sender: No OFD packet to send [18:08:44]OFD Sender: No OFD packet to send [18:08:49]OFD Sender: No OFD packet to send [18:08:54]OFD Sender: No OFD packet to send [18:08:59]OFD Sender: No OFD packet to send [18:09:04]OFD Sender: No OFD packet to send [18:09:09]OFD Sender: No OFD packet to send [18:09:14]OFD Sender: No OFD packet to send [18:09:19]OFD Sender: No OFD packet to send [18:09:24]OFD Sender: No OFD packet to send [18:09:29]OFD Sender: No OFD packet to send [18:09:34]OFD Sender: No OFD packet to send [18:09:39]OFD Sender: No OFD packet to send [18:09:44]OFD Sender: No OFD packet to send [18:09:49]OFD Sender: No OFD packet to send [18:09:54]OFD Sender: No OFD packet to send [18:09:59]OFD Sender: No OFD packet to send [18:10:04]OFD Sender: No OFD packet to send [18:10:09]OFD Sender: No OFD packet to send [18:10:14]OFD Sender: No OFD packet to send [18:10:19]OFD Sender: No OFD packet to send [18:10:24]OFD Sender: No OFD packet to send [18:10:29]OFD Sender: No OFD packet to send [18:10:34]OFD Sender: No OFD packet to send [18:10:39]OFD Sender: No OFD packet to send [18:10:44]OFD Sender: No OFD packet to send [18:10:49]OFD Sender: No OFD packet to send [18:10:54]OFD Sender: No OFD packet to send [18:10:59]OFD Sender: No OFD packet to send [18:11:04]OFD Sender: No OFD packet to send [18:11:09]OFD Sender: No OFD packet to send [18:11:14]OFD Sender: No OFD packet to send [18:11:19]OFD Sender: No OFD packet to send [18:11:24]OFD Sender: No OFD packet to send [18:11:29]OFD Sender: No OFD packet to send [18:11:34]OFD Sender: No OFD packet to send [18:11:39]OFD Sender: No OFD packet to send [18:11:44]OFD Sender: No OFD packet to send [18:11:49]OFD Sender: No OFD packet to send [18:11:54]OFD Sender: No OFD packet to send [18:11:59]OFD Sender: No OFD packet to send [18:12:04]OFD Sender: No OFD packet to send [18:12:09]OFD Sender: No OFD packet to send [18:12:14]OFD Sender: No OFD packet to send [18:12:19]OFD Sender: No OFD packet to send [18:12:24]OFD Sender: No OFD packet to send [18:12:29]OFD Sender: No OFD packet to send [18:12:34]OFD Sender: No OFD packet to send [18:12:39]OFD Sender: No OFD packet to send [18:12:44]OFD Sender: No OFD packet to send [18:12:49]OFD Sender: No OFD packet to send [18:12:54]OFD Sender: No OFD packet to send [18:12:59]OFD Sender: No OFD packet to send [18:13:04]OFD Sender: No OFD packet to send [18:13:09]OFD Sender: No OFD packet to send [18:13:14]OFD Sender: No OFD packet to send [18:13:19]OFD Sender: No OFD packet to send [18:13:24]OFD Sender: No OFD packet to send [18:13:29]OFD Sender: No OFD packet to send [18:13:34]OFD Sender: No OFD packet to send [18:13:39]OFD Sender: No OFD packet to send [18:13:44]OFD Sender: No OFD packet to send [18:13:49]OFD Sender: No OFD packet to send [18:13:54]OFD Sender: No OFD packet to send [18:13:59]OFD Sender: No OFD packet to send [18:14:04]OFD Sender: No OFD packet to send [18:14:09]OFD Sender: No OFD packet to send [18:14:14]OFD Sender: No OFD packet to send [18:14:19]OFD Sender: No OFD packet to send [18:14:24]OFD Sender: No OFD packet to send [18:14:29]OFD Sender: No OFD packet to send [18:14:34]OFD Sender: No OFD packet to send [18:14:39]OFD Sender: No OFD packet to send [18:14:44]OFD Sender: No OFD packet to send [18:14:49]OFD Sender: No OFD packet to send [18:14:54]OFD Sender: No OFD packet to send [18:14:59]OFD Sender: No OFD packet to send [18:15:04]OFD Sender: No OFD packet to send [18:15:09]OFD Sender: No OFD packet to send [18:15:14]OFD Sender: No OFD packet to send [18:15:19]OFD Sender: No OFD packet to send [18:15:24]OFD Sender: No OFD packet to send [18:15:29]OFD Sender: No OFD packet to send [18:15:34]OFD Sender: No OFD packet to send [18:15:39]OFD Sender: No OFD packet to send [18:15:44]OFD Sender: No OFD packet to send [18:15:49]OFD Sender: No OFD packet to send [18:15:54]OFD Sender: No OFD packet to send [18:15:59]OFD Sender: No OFD packet to send [18:16:04]OFD Sender: No OFD packet to send [18:16:09]OFD Sender: No OFD packet to send [18:16:14]OFD Sender: No OFD packet to send [18:16:19]OFD Sender: No OFD packet to send [18:16:24]OFD Sender: No OFD packet to send [18:16:29]OFD Sender: No OFD packet to send [18:16:34]OFD Sender: No OFD packet to send [18:16:39]OFD Sender: No OFD packet to send [18:16:44]OFD Sender: No OFD packet to send [18:16:49]OFD Sender: No OFD packet to send [18:16:54]OFD Sender: No OFD packet to send [18:16:59]OFD Sender: No OFD packet to send [18:17:04]OFD Sender: No OFD packet to send [18:17:09]OFD Sender: No OFD packet to send [18:17:14]OFD Sender: No OFD packet to send [18:17:19]OFD Sender: No OFD packet to send [18:17:24]OFD Sender: No OFD packet to send [18:17:29]OFD Sender: No OFD packet to send [18:17:34]OFD Sender: No OFD packet to send [18:17:39]OFD Sender: No OFD packet to send [18:17:44]OFD Sender: No OFD packet to send [18:17:50]OFD Sender: No OFD packet to send [18:17:55]OFD Sender: No OFD packet to send [18:18:00]OFD Sender: No OFD packet to send [18:18:05]OFD Sender: No OFD packet to send [18:18:10]OFD Sender: No OFD packet to send [18:18:15]OFD Sender: No OFD packet to send [18:18:20]OFD Sender: No OFD packet to send [18:18:25]OFD Sender: No OFD packet to send [18:18:30]OFD Sender: No OFD packet to send [18:18:35]OFD Sender: No OFD packet to send [18:18:40]OFD Sender: No OFD packet to send [18:18:45]OFD Sender: No OFD packet to send [18:18:50]OFD Sender: No OFD packet to send [18:18:55]OFD Sender: No OFD packet to send [18:19:00]OFD Sender: No OFD packet to send [18:19:05]OFD Sender: No OFD packet to send [18:19:10]OFD Sender: No OFD packet to send [18:19:15]OFD Sender: No OFD packet to send [18:19:20]OFD Sender: No OFD packet to send [18:19:25]OFD Sender: No OFD packet to send [18:19:30]OFD Sender: No OFD packet to send [18:19:35]OFD Sender: No OFD packet to send [18:19:40]OFD Sender: No OFD packet to send [18:19:45]OFD Sender: No OFD packet to send [18:19:50]OFD Sender: No OFD packet to send [18:19:55]OFD Sender: No OFD packet to send [18:20:00]OFD Sender: No OFD packet to send [18:20:05]OFD Sender: No OFD packet to send [18:20:10]OFD Sender: No OFD packet to send [18:20:15]OFD Sender: No OFD packet to send [18:20:20]OFD Sender: No OFD packet to send [18:20:25]OFD Sender: No OFD packet to send [18:20:30]OFD Sender: No OFD packet to send [18:20:35]OFD Sender: No OFD packet to send [18:20:40]OFD Sender: No OFD packet to send [18:20:45]OFD Sender: No OFD packet to send [18:20:50]OFD Sender: No OFD packet to send [18:20:55]OFD Sender: No OFD packet to send [18:21:00]OFD Sender: No OFD packet to send [18:21:05]OFD Sender: No OFD packet to send [18:21:10]OFD Sender: No OFD packet to send [18:21:15]OFD Sender: No OFD packet to send [18:21:20]OFD Sender: No OFD packet to send [18:21:25]OFD Sender: No OFD packet to send [18:21:30]OFD Sender: No OFD packet to send [18:21:35]OFD Sender: No OFD packet to send [18:21:40]OFD Sender: No OFD packet to send [18:21:45]OFD Sender: No OFD packet to send [18:21:50]OFD Sender: No OFD packet to send [18:21:55]OFD Sender: No OFD packet to send [18:22:00]OFD Sender: No OFD packet to send [18:22:05]OFD Sender: No OFD packet to send [18:22:10]OFD Sender: No OFD packet to send [18:22:15]OFD Sender: No OFD packet to send [18:22:20]OFD Sender: No OFD packet to send [18:22:25]OFD Sender: No OFD packet to send [18:22:30]OFD Sender: No OFD packet to send [18:22:35]OFD Sender: No OFD packet to send [18:22:40]OFD Sender: No OFD packet to send [18:22:45]OFD Sender: No OFD packet to send [18:22:50]OFD Sender: No OFD packet to send [18:22:55]OFD Sender: No OFD packet to send [18:23:00]OFD Sender: No OFD packet to send [18:23:05]OFD Sender: No OFD packet to send [18:23:10]OFD Sender: No OFD packet to send [18:23:15]OFD Sender: No OFD packet to send [18:23:20]OFD Sender: No OFD packet to send [18:23:25]OFD Sender: No OFD packet to send [18:23:30]OFD Sender: No OFD packet to send [18:23:35]OFD Sender: No OFD packet to send [18:23:40]OFD Sender: No OFD packet to send [18:23:45]OFD Sender: No OFD packet to send [18:23:50]OFD Sender: No OFD packet to send [18:23:55]OFD Sender: No OFD packet to send [18:24:00]OFD Sender: No OFD packet to send [18:24:05]OFD Sender: No OFD packet to send [18:24:10]OFD Sender: No OFD packet to send [18:24:15]OFD Sender: No OFD packet to send [18:24:20]OFD Sender: No OFD packet to send [18:24:25]OFD Sender: No OFD packet to send [18:24:30]OFD Sender: No OFD packet to send [18:24:35]OFD Sender: No OFD packet to send [18:24:40]OFD Sender: No OFD packet to send [18:24:45]OFD Sender: No OFD packet to send [18:24:50]OFD Sender: No OFD packet to send [18:24:55]OFD Sender: No OFD packet to send [18:25:00]OFD Sender: No OFD packet to send [18:25:05]OFD Sender: No OFD packet to send [18:25:10]OFD Sender: No OFD packet to send [18:25:15]OFD Sender: No OFD packet to send [18:25:20]OFD Sender: No OFD packet to send [18:25:25]OFD Sender: No OFD packet to send [18:25:30]OFD Sender: No OFD packet to send [18:25:35]OFD Sender: No OFD packet to send [18:25:40]OFD Sender: No OFD packet to send [18:25:45]OFD Sender: No OFD packet to send [18:25:50]OFD Sender: No OFD packet to send [18:25:55]OFD Sender: No OFD packet to send [18:26:00]OFD Sender: No OFD packet to send [18:26:05]OFD Sender: No OFD packet to send [18:26:10]OFD Sender: No OFD packet to send [18:26:15]OFD Sender: No OFD packet to send [18:26:20]OFD Sender: No OFD packet to send [18:26:25]OFD Sender: No OFD packet to send [18:26:30]OFD Sender: No OFD packet to send [18:26:35]OFD Sender: No OFD packet to send [18:26:40]OFD Sender: No OFD packet to send [18:26:45]OFD Sender: No OFD packet to send [18:26:50]OFD Sender: No OFD packet to send [18:26:55]OFD Sender: No OFD packet to send [18:27:00]OFD Sender: No OFD packet to send [18:27:05]OFD Sender: No OFD packet to send [18:27:10]OFD Sender: No OFD packet to send [18:27:15]OFD Sender: No OFD packet to send [18:27:20]OFD Sender: No OFD packet to send [18:27:25]OFD Sender: No OFD packet to send [18:27:30]OFD Sender: No OFD packet to send [18:27:35]OFD Sender: No OFD packet to send [18:27:40]OFD Sender: No OFD packet to send [18:27:45]OFD Sender: No OFD packet to send [18:27:50]OFD Sender: No OFD packet to send [18:27:55]OFD Sender: No OFD packet to send [18:28:00]OFD Sender: No OFD packet to send [18:28:05]OFD Sender: No OFD packet to send [18:28:10]OFD Sender: No OFD packet to send [18:28:15]OFD Sender: No OFD packet to send [18:28:20]OFD Sender: No OFD packet to send [18:28:25]OFD Sender: No OFD packet to send [18:28:30]OFD Sender: No OFD packet to send [18:28:33]accept exits with 8 [18:28:33]New connection [18:28:33]New thread 3066772836 created [18:28:33]Thread 3066629476 joined [18:28:33]Waiting for new connection... [18:28:33] Sock 8.Parse request [18:28:33]Sock 8.Check first char [18:28:33]Sock 8.First char is OK [18:28:33]request: POST /json_proto HTTP/1.0 [18:28:33]Method: POST [18:28:33]URL: /json_proto [18:28:33]Method is POST - this is cgi request [18:28:33]url: /json_proto [18:28:33]query_string will be loaded in cgi processing [18:28:33]execute_cgi json_proto POST (null) [18:28:33]execute_cgi path=json_proto method=POST [18:28:33]POST find Content-Length [18:28:33]Host: 172.17.56.68:8080 [18:28:33]Content-Length: 886 [18:28:33]Content-Type: application/json [18:28:33] [18:28:33]POST finish read [18:28:33]Found Content-Length = 886 [18:28:33]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4452", "tax_sys" : 0, "items" : [ { "code": "4870001570071", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1\u043B", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000054227", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 1\u043B", "price" : 113.00, "quantity" : 1.000, "sum" : 113.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 223.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:28:33]execute_script... [18:28:33]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4452", "tax_sys" : 0, "items" : [ { "code": "4870001570071", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1\u043B", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000054227", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 1\u043B", "price" : 113.00, "quantity" : 1.000, "sum" : 113.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 223.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:28:33]POST & json_proto [18:28:33]process_json_proto [18:28:33]json parsed OK: [18:28:33]protocol is kg_v1.0 [18:28:33]action value=close_receipt [18:28:33]process_action close_receipt [18:28:33]cmd_close_receipt [18:28:33]MH_GetDate [18:28:33]Write to MH i2c: F0 00 00 45 01 35 [18:28:33]Write i2c OK [18:28:33]MH_I2C_Read... [18:28:33]Read from MH i2c: F0 [18:28:33]MH_I2C_Read... [18:28:33]Read from MH i2c: F0 09 00 [18:28:33]MH_I2C_Read... [18:28:33]Read from MH i2c: F0 09 00 45 01 00 53 AE 60 66 3A 8F 60 66 94 [18:28:33]GetLastDocTimeStamp 1717608686 [18:28:33]current date 1717612115 [18:28:33]FM_GetShiftState [18:28:33]SAM_PROTO_GetShiftState [18:28:33]wFMCommunicate request_size=4 [18:28:33]MH_SAM_APDU [18:28:33]CAPDU: 80 13 01 00 [18:28:33]Write to MH i2c: E2 08 00 46 01 80 13 01 00 00 00 00 00 C4 [18:28:33]Write i2c OK [18:28:33]MH_I2C_Read... [18:28:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:28:33]Read from MH i2c: E2 [18:28:33]MH_I2C_Read... [18:28:33]Read from MH i2c: E2 0E 00 [18:28:33]MH_I2C_Read... [18:28:33]Read from MH i2c: E2 0E 00 46 01 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 65 [18:28:33]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [18:28:33]wFMCommunicate OK [18:28:33]SAM_PROTO_GetShiftState done [18:28:33]FM_GetShiftState done [18:28:33]opened in 1717545765 [18:28:33]opened+sec_in_day 1717632165 [18:28:33]quantity*price = 11000 [18:28:33]sum+1 = 11001 [18:28:33]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 5449000054227 Напиток Кока-Кола 1л 1.000 * 113.00 = 113.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 223.00 НСП 1% : 1.97 НДС 12% : 23.68 Наличными: 223.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 57 05.06.2024 18:28 Смена: 84 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4199 ФПД: 173917596776747 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T182835&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4199&fm=173917596776747&tin=02508201610067®Number=0000000000145775&sum=22300 0 [18:28:35]StoreToDocumentArchive [18:28:35]shift 84 fd 4199 [18:28:35]save to /storage/0084/doc_00004199 [18:28:35]save last doc name /storage/0084/doc_00004199 to /storage/kkm_last_doc_name [18:28:35]save OK [18:28:35]Clear old archive folders... [18:28:35]ProcessDocumentItem done err = 0, tmpTLVsize=374 [18:28:35]tlvbuf is 019A7080 [18:28:35]SAM_PROTO_ClearQueue [18:28:35]wFMCommunicate request_size=4 [18:28:35]MH_SAM_APDU [18:28:35]CAPDU: 80 09 00 00 [18:28:35]Write to MH i2c: E2 08 00 53 01 80 09 00 00 00 00 00 00 C6 [18:28:35]Write i2c OK [18:28:35]MH_I2C_Read... [18:28:35]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:28:35]Read from MH i2c: E2 [18:28:35]MH_I2C_Read... [18:28:35]Read from MH i2c: E2 03 00 [18:28:35]MH_I2C_Read... [18:28:35]Read from MH i2c: E2 03 00 53 01 00 90 00 C8 [18:28:35]RAPDU: 90 00 [18:28:35]wFMCommunicate OK [18:28:35]SAM_PROTO_ClearQueue done [18:28:35]KKMCreateOFDPacket [18:28:35]OFDProtocolAddRootSTLVToBuf [18:28:35]FM_MakeSignedData [18:28:35]FM_MakeSignedData [18:28:35]SAM_PROTO_SignData [18:28:35]wFMCommunicate request_size=4 [18:28:35]MH_SAM_APDU [18:28:35]CAPDU: 80 0D 01 02 [18:28:35]Write to MH i2c: E2 08 00 54 01 80 0D 01 02 00 00 00 00 CE [18:28:35]Write i2c OK [18:28:35]MH_I2C_Read... [18:28:35]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:28:35]Read from MH i2c: E2 [18:28:35]MH_I2C_Read... [18:28:35]Read from MH i2c: E2 03 00 [18:28:35]MH_I2C_Read... [18:28:35]Read from MH i2c: E2 03 00 54 01 00 90 00 C9 [18:28:35]RAPDU: 90 00 [18:28:35]wFMCommunicate OK [18:28:35]wFMCommunicate request_size=255 [18:28:35]MH_SAM_APDU [18:28:35]CAPDU: 80 0D 02 02 FA 03 00 76 01 1E 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 2C 00 00 00 00 13 04 06 00 24 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 57 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C5 00 00 00 00 00 EE 03 0F 00 [18:28:35]Write to MH i2c: E2 02 01 55 01 80 0D 02 02 FA 00 03 00 76 01 1E 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 2C 00 00 00 00 13 04 06 00 24 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 57 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C5 00 00 00 00 00 EE 03 0F 00 00 00 7B [18:28:35]Write i2c OK [18:28:35]MH_I2C_Read... [18:28:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:28:35]Read from MH i2c: E2 [18:28:35]MH_I2C_Read... [18:28:35]Read from MH i2c: E2 03 00 [18:28:35]MH_I2C_Read... [18:28:35]Read from MH i2c: E2 03 00 55 01 00 90 00 CA [18:28:35]RAPDU: 90 00 [18:28:35]wFMCommunicate OK [18:28:35]wFMCommunicate request_size=133 [18:28:35]MH_SAM_APDU [18:28:35]CAPDU: 80 0D 02 02 80 F2 03 01 00 01 F3 03 06 00 40 09 00 00 00 00 07 04 06 00 1C 57 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 39 00 00 00 F4 03 04 00 53 AE 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 67 10 00 00 35 04 06 00 9E 2D 58 93 79 2B [18:28:35]Write to MH i2c: E2 88 00 56 01 80 0D 02 02 80 00 F2 03 01 00 01 F3 03 06 00 40 09 00 00 00 00 07 04 06 00 1C 57 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 39 00 00 00 F4 03 04 00 53 AE 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 67 10 00 00 35 04 06 00 9E 2D 58 93 79 2B 00 00 E3 [18:28:35]Write i2c OK [18:28:35]MH_I2C_Read... [18:28:35]OFD Sender: No OFD packet to send [18:28:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:28:35]Read from MH i2c: E2 [18:28:35]MH_I2C_Read... [18:28:35]Read from MH i2c: E2 03 00 [18:28:35]MH_I2C_Read... [18:28:35]Read from MH i2c: E2 03 00 56 01 00 90 00 CB [18:28:35]RAPDU: 90 00 [18:28:35]wFMCommunicate OK [18:28:35]wFMCommunicate request_size=4 [18:28:35]MH_SAM_APDU [18:28:35]CAPDU: 80 0D 03 02 [18:28:35]Write to MH i2c: E2 08 00 57 01 80 0D 03 02 00 00 00 00 D3 [18:28:35]Write i2c OK [18:28:35]MH_I2C_Read... [18:28:35]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:28:35]Read from MH i2c: E2 [18:28:35]MH_I2C_Read... [18:28:35]Read from MH i2c: E2 0B 00 [18:28:35]MH_I2C_Read... [18:28:35]Read from MH i2c: E2 0B 00 57 01 00 C0 48 DC A8 BC C6 B9 76 90 00 11 [18:28:35]RAPDU: C0 48 DC A8 BC C6 B9 76 90 00 [18:28:35]wFMCommunicate OK [18:28:35]SAM_PROTO_SignData done [18:28:35]FM_MakeSignedData done [18:28:35]CreateOFDProtocolMessage [18:28:35]wFMCommunicate request_size=4 [18:28:35]MH_SAM_APDU [18:28:35]CAPDU: 80 11 00 00 [18:28:35]Write to MH i2c: E2 08 00 58 01 80 11 00 00 00 00 00 00 D3 [18:28:35]Write i2c OK [18:28:35]MH_I2C_Read... [18:28:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:28:35]Read from MH i2c: E2 [18:28:35]MH_I2C_Read... [18:28:35]Read from MH i2c: E2 17 00 [18:28:35]MH_I2C_Read... [18:28:35]Read from MH i2c: E2 17 00 58 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 26 [18:28:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [18:28:35]wFMCommunicate OK [18:28:35]CreateOFDProtocolMessage done [18:28:35]OFDSenderStorePacket 4199 [18:28:35]StoreOFDPacket docnum=4199 [18:28:35]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 8A 01 00 00 01 9C 82 01 27 9F 5A 03 01 00 03 00 76 01 1E 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 2C 00 00 00 00 13 04 06 00 24 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 57 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C5 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 40 09 00 00 00 00 07 04 06 00 1C 57 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 39 00 00 00 F4 03 04 00 53 AE 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 67 10 00 00 35 04 06 00 9E 2D 58 93 79 2B C0 48 DC A8 BC C6 B9 76 [18:28:35]CheckFolder [18:28:35]dirname=/storage/ofd_packets [18:28:35]CheckFolder done [18:28:35]ProducePacketName [18:28:35]name=ofd_packets/00004199 [18:28:35]NVStorageSaveData ofd_packets/00004199 [18:28:35]File name is /storage/ofd_packets/00004199 [18:28:35]Write 424 bytes [18:28:35]NVStorageSaveData done [18:28:35]OFDSenderStorePacket done [18:28:35]KKMCreateOFDPacket done [18:28:35]NVStorageSaveData kkm_last_timestamp [18:28:35]File name is /storage/kkm_last_timestamp [18:28:35]Write 4 bytes [18:28:35]NVStorageSaveData done [18:28:35]ExternCall_PrintAddStr [18:28:35]wPrintStart [18:28:35]Write to MH i2c: 01 00 00 59 01 5A [18:28:35]Write i2c OK [18:28:35]MH_I2C_Read... [18:28:35]Read from MH i2c: 01 [18:28:35]MH_I2C_Read... [18:28:35]Read from MH i2c: 01 07 00 [18:28:35]MH_I2C_Read... [18:28:35]Read from MH i2c: 01 07 00 59 01 00 00 00 00 00 FF 0F 6F [18:28:35]RasterBufferAndPrint [18:28:35]line Счет N : (3)4452 [18:28:35]line ИНН: 02508201610067 [18:28:35]line Контрольно-Кассовый Чек [18:28:35]line ПРОДАЖА [18:28:35]line Товар: 4870001570071 [18:28:35]line Напиток Pepsi 1л [18:28:35]line 1.000 * 110.00 [18:28:35]line = 110.00 [18:28:35]line НДС 12% НСП 1% [18:28:36]line > о реализуемом товаре [18:28:36]line Товар: 5449000054227 [18:28:36]line Напиток Кока-Кола 1л [18:28:36]line 1.000 * 113.00 [18:28:36]line = 113.00 [18:28:36]line НДС 12% НСП 1% [18:28:36]line > о реализуемом товаре [18:28:36]line ИТОГО: 223.00 [18:28:36]line НСП 1% : 1.97 [18:28:36]line НДС 12% : 23.68 [18:28:36]line Наличными: 223.00 [18:28:36]line Безнал.: 0.00 [18:28:36]line Место: АЗС № 116 "Партнер Нефть" [18:28:36]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [18:28:36]line СНО: Общий режим [18:28:36]line Чек 57 05.06.2024 18:28 [18:28:36]line Смена: 84 ФФД: 1.0 [18:28:36]line ЗНМ: 0300000233 [18:28:36]line РНМ: 0000000000145775 [18:28:36]line Версия ККМ: v1.0 [18:28:36]line ФМ: 0000000000959360 [18:28:36]line ФД: 4199 [18:28:36]line ФПД: 173917596776747 [18:28:36]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T182835&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4199&fm=173917596776747&tin=02508201610067®Number=0000000000145775&sum=22300 [18:28:36]line 0 [18:28:36]OFD Sender: Processing packet 4199 [packets to send 2, broken 1] [18:28:36]ProducePacketName [18:28:36]name=ofd_packets/00004199 [18:28:36]OFD Sender: To server: pG, [18:28:36]CommunicateWithHost lk.salyk.kg:30040 [18:28:36]ConnectInit lk.salyk.kg [18:28:36]written 0, free lines is 4095 [18:28:36]Connected sock=10 [18:28:36]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 8A 01 00 00 01 9C 82 01 27 9F 5A 03 01 00 03 00 76 01 1E 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 2C 00 00 00 00 13 04 06 00 24 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 57 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C5 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 40 09 00 00 00 00 07 04 06 00 1C 57 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 39 00 00 00 F4 03 04 00 53 AE 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 67 10 00 00 35 04 06 00 9E 2D 58 93 79 2B C0 48 DC A8 BC C6 B9 76 [18:28:36]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 FC 66 47 00 C4 53 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 67 10 00 00 F4 03 04 00 54 5A 60 66 B6 04 01 00 00 DA B4 C7 FC EA FC 69 FB [18:28:36]CommunicateWithHost err = 0 [18:28:36]CheckOFDResponse [18:28:36]1017 (14) - 77093643461234 [18:28:36]1041 (16) - 0000000000959360 [18:28:36]1040 (4) - 4199 [18:28:36]1012 (4) - 05.06.2024 12:30 [18:28:36]1206 (1) - 0 [18:28:36]OFD Sender: Remove packet 4199 [18:28:36]ProducePacketName [18:28:36]name=ofd_packets/00004199 [18:28:36]NVStorageDeleteData [18:28:36]Write to MH i2c: 01 00 00 87 01 88 [18:28:36]Write i2c OK [18:28:36]MH_I2C_Read... [18:28:36]Read from MH i2c: 01 [18:28:36]MH_I2C_Read... [18:28:36]Read from MH i2c: 01 07 00 [18:28:36]MH_I2C_Read... [18:28:36]Read from MH i2c: 01 07 00 87 01 00 00 00 00 00 4B 0C E6 [18:28:36]RasterBufferAndPrint [18:28:36]line [18:28:36]line [18:28:36]line [18:28:36]line [18:28:36]line [18:28:36]written 0, free lines is 3152 [18:28:36]MH_Cut [18:28:36]Write to MH i2c: D1 01 00 8E 01 01 61 [18:28:36]Write i2c OK [18:28:36]MH_I2C_Read... [18:28:36]Read from MH i2c: D1 [18:28:36]MH_I2C_Read... [18:28:36]Read from MH i2c: D1 01 00 [18:28:36]MH_I2C_Read... [18:28:36]Read from MH i2c: D1 01 00 8E 01 00 60 [18:28:36]Write to MH i2c: 01 00 00 8F 01 90 [18:28:36]Write i2c OK [18:28:36]MH_I2C_Read... [18:28:36]OFD Sender: No OFD packet to send [18:28:37]*** Cut start [18:28:37]*** Partial cut [18:28:37]*** CUTSNS_PIN = 1 [18:28:37]*** CUTSNS_PIN = 0 [18:28:37]*** Brake cut motor [18:28:38]Read from MH i2c: 01 [18:28:38]MH_I2C_Read... [18:28:38]*** Stop cut motor [18:28:38]*** Cut end [18:28:38]Read from MH i2c: 01 07 00 [18:28:38]MH_I2C_Read... [18:28:38]Read from MH i2c: 01 07 00 8F 01 00 00 00 00 00 FF 0F A5 [18:28:38]process_action close_receipt done [18:28:38]requested_data is exist [18:28:38]produce_requested_data [18:28:38]requested_item fm.sn is exist - process it [18:28:38]wFMCommunicate request_size=4 [18:28:38]MH_SAM_APDU [18:28:38]CAPDU: 80 11 00 00 [18:28:38]Write to MH i2c: E2 08 00 90 01 80 11 00 00 00 00 00 00 0B [18:28:38]Write i2c OK [18:28:38]MH_I2C_Read... [18:28:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:28:38]Read from MH i2c: E2 [18:28:38]MH_I2C_Read... [18:28:38]Read from MH i2c: E2 17 00 [18:28:38]MH_I2C_Read... [18:28:38]Read from MH i2c: E2 17 00 90 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 5E [18:28:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [18:28:38]wFMCommunicate OK [18:28:38]requested_item fd.num is exist - process it [18:28:38]SAM_PROTO_GetFieldsCounters [18:28:38]wFMCommunicate request_size=4 [18:28:38]MH_SAM_APDU [18:28:38]CAPDU: 80 13 00 00 [18:28:38]Write to MH i2c: E2 08 00 91 01 80 13 00 00 00 00 00 00 0E [18:28:38]Write i2c OK [18:28:38]MH_I2C_Read... [18:28:38]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:28:38]Read from MH i2c: E2 [18:28:38]MH_I2C_Read... [18:28:38]Read from MH i2c: E2 62 00 [18:28:38]MH_I2C_Read... [18:28:38]Read from MH i2c: E2 62 00 91 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 67 10 00 00 0E 04 04 00 54 00 00 00 12 04 04 00 39 00 00 00 5E 04 04 00 39 00 00 00 57 04 04 00 3A 00 00 00 19 04 04 00 00 00 00 00 90 00 A9 [18:28:38]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 67 10 00 00 0E 04 04 00 54 00 00 00 12 04 04 00 39 00 00 00 5E 04 04 00 39 00 00 00 57 04 04 00 3A 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:28:38]wFMCommunicate OK [18:28:38]SAM_PROTO_GetFieldsCounters done [18:28:38]requested_item shift.num is exist - process it [18:28:38]requested_item shift.opened is exist - process it [18:28:38]req_shift_opened [18:28:38]FM_GetShiftState [18:28:38]SAM_PROTO_GetShiftState [18:28:38]wFMCommunicate request_size=4 [18:28:38]MH_SAM_APDU [18:28:38]CAPDU: 80 13 01 00 [18:28:38]Write to MH i2c: E2 08 00 92 01 80 13 01 00 00 00 00 00 10 [18:28:38]Write i2c OK [18:28:38]MH_I2C_Read... [18:28:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:28:38]Read from MH i2c: E2 [18:28:38]MH_I2C_Read... [18:28:38]Read from MH i2c: E2 0E 00 [18:28:38]MH_I2C_Read... [18:28:38]Read from MH i2c: E2 0E 00 92 01 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 B1 [18:28:38]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [18:28:38]wFMCommunicate OK [18:28:38]SAM_PROTO_GetShiftState done [18:28:38]FM_GetShiftState done [18:28:38]req_shift_opened done [18:28:38]requested_item shift.open_date is exist - process it [18:28:38]req_shift_open_date [18:28:38]req_shift_open_date done [18:28:38]produce_requested_data done [18:28:38]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4199,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765} [18:28:38]process_action_free close_receipt [18:28:38]json_value_free [18:28:38]json_value_free done [18:28:38]process_json_proto returns [18:28:38]Send response to host [18:28:38]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4199,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765}}} [18:28:38]free response buf [18:28:38]execute_script done [18:28:38]execute_script returns [18:28:38]free content buf [18:28:38]Sock 8.Close socket [18:28:38]Sock 8.Thread stoped [18:28:41]OFD Sender: No OFD packet to send [18:28:44]accept exits with 9 [18:28:44]New connection [18:28:44]New thread 3066629476 created [18:28:44]Thread 3066772836 joined [18:28:44]Waiting for new connection... [18:28:44] Sock 9.Parse request [18:28:44]Sock 9.Check first char [18:28:44]Sock 9.First char is OK [18:28:44]request: POST /json_proto HTTP/1.0 [18:28:44]Method: POST [18:28:44]URL: /json_proto [18:28:44]Method is POST - this is cgi request [18:28:44]url: /json_proto [18:28:44]query_string will be loaded in cgi processing [18:28:44]execute_cgi json_proto POST (null) [18:28:44]execute_cgi path=json_proto method=POST [18:28:44]POST find Content-Length [18:28:44]Host: 172.17.56.68:8080 [18:28:44]Content-Length: 652 [18:28:44]Content-Type: application/json [18:28:44] [18:28:44]POST finish read [18:28:44]Found Content-Length = 652 [18:28:44]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4453", "tax_sys" : 0, "items" : [ { "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:28:44]execute_script... [18:28: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)4453", "tax_sys" : 0, "items" : [ { "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:28:44]POST & json_proto [18:28:44]process_json_proto [18:28:44]json parsed OK: [18:28:44]protocol is kg_v1.0 [18:28:44]action value=close_receipt [18:28:44]process_action close_receipt [18:28:44]cmd_close_receipt [18:28:44]MH_GetDate [18:28:44]Write to MH i2c: F0 00 00 93 01 83 [18:28:44]Write i2c OK [18:28:44]MH_I2C_Read... [18:28:44]Read from MH i2c: F0 [18:28:44]MH_I2C_Read... [18:28:44]Read from MH i2c: F0 09 00 [18:28:44]MH_I2C_Read... [18:28:44]Read from MH i2c: F0 09 00 93 01 00 5D AE 60 66 3A 8F 60 66 EC [18:28:44]GetLastDocTimeStamp 1717612115 [18:28:44]current date 1717612125 [18:28:44]FM_GetShiftState [18:28:44]SAM_PROTO_GetShiftState [18:28:44]wFMCommunicate request_size=4 [18:28:44]MH_SAM_APDU [18:28:44]CAPDU: 80 13 01 00 [18:28:44]Write to MH i2c: E2 08 00 94 01 80 13 01 00 00 00 00 00 12 [18:28:44]Write i2c OK [18:28:44]MH_I2C_Read... [18:28:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:28:44]Read from MH i2c: E2 [18:28:44]MH_I2C_Read... [18:28:44]Read from MH i2c: E2 0E 00 [18:28:44]MH_I2C_Read... [18:28:44]Read from MH i2c: E2 0E 00 94 01 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 B3 [18:28:44]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [18:28:44]wFMCommunicate OK [18:28:44]SAM_PROTO_GetShiftState done [18:28:44]FM_GetShiftState done [18:28:44]opened in 1717545765 [18:28:44]opened+sec_in_day 1717632165 [18:28:44]quantity*price = 9500 [18:28:44]sum+1 = 9501 [18:28:44]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 95.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 58 05.06.2024 18:28 Смена: 84 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4200 ФПД: 25987378386027 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T182846&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4200&fm=25987378386027&tin=02508201610067®Number=0000000000145775&sum=9500 0 [18:28:45]StoreToDocumentArchive [18:28:45]shift 84 fd 4200 [18:28:45]save to /storage/0084/doc_00004200 [18:28:45]save last doc name /storage/0084/doc_00004200 to /storage/kkm_last_doc_name [18:28:45]save OK [18:28:45]Clear old archive folders... [18:28:45]ProcessDocumentItem done err = 0, tmpTLVsize=293 [18:28:45]tlvbuf is 019502E0 [18:28:45]SAM_PROTO_ClearQueue [18:28:45]wFMCommunicate request_size=4 [18:28:45]MH_SAM_APDU [18:28:45]CAPDU: 80 09 00 00 [18:28:45]Write to MH i2c: E2 08 00 A1 01 80 09 00 00 00 00 00 00 14 [18:28:45]Write i2c OK [18:28:45]MH_I2C_Read... [18:28:46]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:28:46]Read from MH i2c: E2 [18:28:46]MH_I2C_Read... [18:28:46]Read from MH i2c: E2 03 00 [18:28:46]MH_I2C_Read... [18:28:46]Read from MH i2c: E2 03 00 A1 01 00 90 00 16 [18:28:46]RAPDU: 90 00 [18:28:46]wFMCommunicate OK [18:28:46]SAM_PROTO_ClearQueue done [18:28:46]KKMCreateOFDPacket [18:28:46]OFDProtocolAddRootSTLVToBuf [18:28:46]FM_MakeSignedData [18:28:46]FM_MakeSignedData [18:28:46]SAM_PROTO_SignData [18:28:46]wFMCommunicate request_size=4 [18:28:46]MH_SAM_APDU [18:28:46]CAPDU: 80 0D 01 02 [18:28:46]Write to MH i2c: E2 08 00 A2 01 80 0D 01 02 00 00 00 00 1C [18:28:46]Write i2c OK [18:28:46]MH_I2C_Read... [18:28:46]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:28:46]Read from MH i2c: E2 [18:28:46]MH_I2C_Read... [18:28:46]Read from MH i2c: E2 03 00 [18:28:46]MH_I2C_Read... [18:28:46]Read from MH i2c: E2 03 00 A2 01 00 90 00 17 [18:28:46]RAPDU: 90 00 [18:28:46]wFMCommunicate OK [18:28:46]wFMCommunicate request_size=255 [18:28:46]MH_SAM_APDU [18:28:46]CAPDU: 80 0D 02 02 FA 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 5E AE 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 [18:28:46]Write to MH i2c: E2 02 01 A3 01 80 0D 02 02 FA 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 5E AE 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 00 00 1C [18:28:46]Write i2c OK [18:28:46]MH_I2C_Read... [18:28:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:28:46]Read from MH i2c: E2 [18:28:46]MH_I2C_Read... [18:28:46]Read from MH i2c: E2 03 00 [18:28:46]MH_I2C_Read... [18:28:46]Read from MH i2c: E2 03 00 A3 01 00 90 00 18 [18:28:46]RAPDU: 90 00 [18:28:46]wFMCommunicate OK [18:28:46]wFMCommunicate request_size=52 [18:28:46]MH_SAM_APDU [18:28:46]CAPDU: 80 0D 02 02 2F 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 68 10 00 00 35 04 06 00 17 A2 A8 75 14 6B [18:28:46]Write to MH i2c: E2 37 00 A4 01 80 0D 02 02 2F 00 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 68 10 00 00 35 04 06 00 17 A2 A8 75 14 6B 00 00 B3 [18:28:46]Write i2c OK [18:28:46]MH_I2C_Read... [18:28:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:28:46]Read from MH i2c: E2 [18:28:46]MH_I2C_Read... [18:28:46]Read from MH i2c: E2 03 00 [18:28:46]MH_I2C_Read... [18:28:46]Read from MH i2c: E2 03 00 A4 01 00 90 00 19 [18:28:46]RAPDU: 90 00 [18:28:46]wFMCommunicate OK [18:28:46]wFMCommunicate request_size=4 [18:28:46]MH_SAM_APDU [18:28:46]CAPDU: 80 0D 03 02 [18:28:46]Write to MH i2c: E2 08 00 A5 01 80 0D 03 02 00 00 00 00 21 [18:28:46]Write i2c OK [18:28:46]MH_I2C_Read... [18:28:46]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:28:46]Read from MH i2c: E2 [18:28:46]MH_I2C_Read... [18:28:46]Read from MH i2c: E2 0B 00 [18:28:46]MH_I2C_Read... [18:28:46]Read from MH i2c: E2 0B 00 A5 01 00 04 35 71 FF 24 0F 71 1E 90 00 8D [18:28:46]RAPDU: 04 35 71 FF 24 0F 71 1E 90 00 [18:28:46]wFMCommunicate OK [18:28:46]SAM_PROTO_SignData done [18:28:46]FM_MakeSignedData done [18:28:46]CreateOFDProtocolMessage [18:28:46]wFMCommunicate request_size=4 [18:28:46]MH_SAM_APDU [18:28:46]CAPDU: 80 11 00 00 [18:28:46]Write to MH i2c: E2 08 00 A6 01 80 11 00 00 00 00 00 00 21 [18:28:46]Write i2c OK [18:28:46]MH_I2C_Read... [18:28:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:28:46]Read from MH i2c: E2 [18:28:46]MH_I2C_Read... [18:28:46]Read from MH i2c: E2 17 00 [18:28:46]MH_I2C_Read... [18:28:46]Read from MH i2c: E2 17 00 A6 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 74 [18:28:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [18:28:46]wFMCommunicate OK [18:28:46]CreateOFDProtocolMessage done [18:28:46]OFDSenderStorePacket 4200 [18:28:46]StoreOFDPacket docnum=4200 [18:28:46]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 39 01 00 00 F3 DE 31 01 62 D2 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 5E AE 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 68 10 00 00 35 04 06 00 17 A2 A8 75 14 6B 04 35 71 FF 24 0F 71 1E [18:28:46]CheckFolder [18:28:46]dirname=/storage/ofd_packets [18:28:46]CheckFolder done [18:28:46]ProducePacketName [18:28:46]name=ofd_packets/00004200 [18:28:46]NVStorageSaveData ofd_packets/00004200 [18:28:46]File name is /storage/ofd_packets/00004200 [18:28:46]Write 343 bytes [18:28:46]NVStorageSaveData done [18:28:46]OFDSenderStorePacket done [18:28:46]KKMCreateOFDPacket done [18:28:46]NVStorageSaveData kkm_last_timestamp [18:28:46]File name is /storage/kkm_last_timestamp [18:28:46]Write 4 bytes [18:28:46]NVStorageSaveData done [18:28:46]ExternCall_PrintAddStr [18:28:46]wPrintStart [18:28:46]Write to MH i2c: 01 00 00 A7 01 A8 [18:28:46]Write i2c OK [18:28:46]MH_I2C_Read... [18:28:46]Read from MH i2c: 01 [18:28:46]MH_I2C_Read... [18:28:46]Read from MH i2c: 01 07 00 [18:28:46]MH_I2C_Read... [18:28:46]Read from MH i2c: 01 07 00 A7 01 00 00 00 00 00 FF 0F BD [18:28:46]RasterBufferAndPrint [18:28:46]line Счет N : (3)4453 [18:28:46]line ИНН: 02508201610067 [18:28:46]line Контрольно-Кассовый Чек [18:28:46]line ПРОДАЖА [18:28:46]line Товар: 4700000480050 [18:28:46]line Напиток Nitro Energy эн green ж/б 0,45л [18:28:46]line 1.000 * 95.00 [18:28:46]line = 95.00 [18:28:46]line НДС 12% НСП 1% [18:28:46]line > о реализуемом товаре [18:28:46]line ИТОГО: 95.00 [18:28:46]line НСП 1% : 0.84 [18:28:46]line НДС 12% : 10.09 [18:28:46]line Наличными: 95.00 [18:28:46]line Безнал.: 0.00 [18:28:46]line Место: АЗС № 116 "Партнер Нефть" [18:28:46]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [18:28:46]line СНО: Общий режим [18:28:46]line Чек 58 05.06.2024 18:28 [18:28:46]line Смена: 84 ФФД: 1.0 [18:28:46]line ЗНМ: 0300000233 [18:28:46]line РНМ: 0000000000145775 [18:28:46]line Версия ККМ: v1.0 [18:28:46]line ФМ: 0000000000959360 [18:28:46]line ФД: 4200 [18:28:46]line ФПД: 25987378386027 [18:28:46]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T182846&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4200&fm=25987378386027&tin=02508201610067®Number=0000000000145775&sum=9500 [18:28:46]line 0 [18:28:46]OFD Sender: Processing packet 4200 [packets to send 2, broken 1] [18:28:46]ProducePacketName [18:28:46]name=ofd_packets/00004200 [18:28:46]OFD Sender: To server: pG, [18:28:46]CommunicateWithHost lk.salyk.kg:30040 [18:28:46]ConnectInit lk.salyk.kg [18:28:46]written 0, free lines is 4095 [18:28:46]Connected sock=10 [18:28:46]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 39 01 00 00 F3 DE 31 01 62 D2 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 5E AE 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 68 10 00 00 35 04 06 00 17 A2 A8 75 14 6B 04 35 71 FF 24 0F 71 1E [18:28:47]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 CC 0F 47 00 66 42 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 68 10 00 00 F4 03 04 00 5F 5A 60 66 B6 04 01 00 00 67 65 36 B7 82 97 68 2A [18:28:47]CommunicateWithHost err = 0 [18:28:47]CheckOFDResponse [18:28:47]1017 (14) - 77093643461234 [18:28:47]1041 (16) - 0000000000959360 [18:28:47]1040 (4) - 4200 [18:28:47]1012 (4) - 05.06.2024 12:30 [18:28:47]1206 (1) - 0 [18:28:47]OFD Sender: Remove packet 4200 [18:28:47]ProducePacketName [18:28:47]name=ofd_packets/00004200 [18:28:47]NVStorageDeleteData [18:28:47]Write to MH i2c: 01 00 00 D0 01 D1 [18:28:47]Write i2c OK [18:28:47]MH_I2C_Read... [18:28:47]Read from MH i2c: 01 [18:28:47]MH_I2C_Read... [18:28:47]Read from MH i2c: 01 07 00 [18:28:47]MH_I2C_Read... [18:28:47]Read from MH i2c: 01 07 00 D0 01 00 00 00 00 00 B0 0C 94 [18:28:47]RasterBufferAndPrint [18:28:47]line [18:28:47]line [18:28:47]line [18:28:47]line [18:28:47]line [18:28:47]written 0, free lines is 3253 [18:28:47]MH_Cut [18:28:47]Write to MH i2c: D1 01 00 D7 01 01 AA [18:28:47]Write i2c OK [18:28:47]MH_I2C_Read... [18:28:47]Read from MH i2c: D1 [18:28:47]MH_I2C_Read... [18:28:47]Read from MH i2c: D1 01 00 [18:28:47]MH_I2C_Read... [18:28:47]Read from MH i2c: D1 01 00 D7 01 00 A9 [18:28:47]Write to MH i2c: 01 00 00 D8 01 D9 [18:28:47]Write i2c OK [18:28:47]MH_I2C_Read... [18:28:47]OFD Sender: No OFD packet to send [18:28:48]*** Cut start [18:28:48]*** Partial cut [18:28:48]*** CUTSNS_PIN = 1 [18:28:48]*** CUTSNS_PIN = 0 [18:28:48]*** Brake cut motor [18:28:48]Read from MH i2c: 01 [18:28:48]MH_I2C_Read... [18:28:48]*** Stop cut motor [18:28:48]*** Cut end [18:28:48]Read from MH i2c: 01 07 00 [18:28:48]MH_I2C_Read... [18:28:48]Read from MH i2c: 01 07 00 D8 01 00 00 00 00 00 FF 0F EE [18:28:48]process_action close_receipt done [18:28:48]requested_data is exist [18:28:48]produce_requested_data [18:28:48]requested_item fm.sn is exist - process it [18:28:48]wFMCommunicate request_size=4 [18:28:48]MH_SAM_APDU [18:28:48]CAPDU: 80 11 00 00 [18:28:48]Write to MH i2c: E2 08 00 D9 01 80 11 00 00 00 00 00 00 54 [18:28:48]Write i2c OK [18:28:48]MH_I2C_Read... [18:28:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:28:48]Read from MH i2c: E2 [18:28:48]MH_I2C_Read... [18:28:48]Read from MH i2c: E2 17 00 [18:28:48]MH_I2C_Read... [18:28:48]Read from MH i2c: E2 17 00 D9 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 A7 [18:28:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [18:28:48]wFMCommunicate OK [18:28:48]requested_item fd.num is exist - process it [18:28:48]SAM_PROTO_GetFieldsCounters [18:28:48]wFMCommunicate request_size=4 [18:28:48]MH_SAM_APDU [18:28:48]CAPDU: 80 13 00 00 [18:28:48]Write to MH i2c: E2 08 00 DA 01 80 13 00 00 00 00 00 00 57 [18:28:48]Write i2c OK [18:28:48]MH_I2C_Read... [18:28:49]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:28:49]Read from MH i2c: E2 [18:28:49]MH_I2C_Read... [18:28:49]Read from MH i2c: E2 62 00 [18:28:49]MH_I2C_Read... [18:28:49]Read from MH i2c: E2 62 00 DA 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 68 10 00 00 0E 04 04 00 54 00 00 00 12 04 04 00 3A 00 00 00 5E 04 04 00 3A 00 00 00 57 04 04 00 3B 00 00 00 19 04 04 00 00 00 00 00 90 00 F6 [18:28:49]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 68 10 00 00 0E 04 04 00 54 00 00 00 12 04 04 00 3A 00 00 00 5E 04 04 00 3A 00 00 00 57 04 04 00 3B 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:28:49]wFMCommunicate OK [18:28:49]SAM_PROTO_GetFieldsCounters done [18:28:49]requested_item shift.num is exist - process it [18:28:49]requested_item shift.opened is exist - process it [18:28:49]req_shift_opened [18:28:49]FM_GetShiftState [18:28:49]SAM_PROTO_GetShiftState [18:28:49]wFMCommunicate request_size=4 [18:28:49]MH_SAM_APDU [18:28:49]CAPDU: 80 13 01 00 [18:28:49]Write to MH i2c: E2 08 00 DB 01 80 13 01 00 00 00 00 00 59 [18:28:49]Write i2c OK [18:28:49]MH_I2C_Read... [18:28:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:28:49]Read from MH i2c: E2 [18:28:49]MH_I2C_Read... [18:28:49]Read from MH i2c: E2 0E 00 [18:28:49]MH_I2C_Read... [18:28:49]Read from MH i2c: E2 0E 00 DB 01 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 FA [18:28:49]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [18:28:49]wFMCommunicate OK [18:28:49]SAM_PROTO_GetShiftState done [18:28:49]FM_GetShiftState done [18:28:49]req_shift_opened done [18:28:49]requested_item shift.open_date is exist - process it [18:28:49]req_shift_open_date [18:28:49]req_shift_open_date done [18:28:49]produce_requested_data done [18:28:49]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4200,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765} [18:28:49]process_action_free close_receipt [18:28:49]json_value_free [18:28:49]json_value_free done [18:28:49]process_json_proto returns [18:28:49]Send response to host [18:28:49]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4200,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765}}} [18:28:49]free response buf [18:28:49]execute_script done [18:28:49]execute_script returns [18:28:49]free content buf [18:28:49]Sock 9.Close socket [18:28:49]Sock 9.Thread stoped [18:28:52]OFD Sender: No OFD packet to send [18:28:57]OFD Sender: No OFD packet to send [18:29:02]OFD Sender: No OFD packet to send [18:29:07]OFD Sender: No OFD packet to send [18:29:12]OFD Sender: No OFD packet to send [18:29:17]OFD Sender: No OFD packet to send [18:29:22]OFD Sender: No OFD packet to send [18:29:27]OFD Sender: No OFD packet to send [18:29:32]OFD Sender: No OFD packet to send [18:29:37]OFD Sender: No OFD packet to send [18:29:42]OFD Sender: No OFD packet to send [18:29:47]OFD Sender: No OFD packet to send [18:29:52]OFD Sender: No OFD packet to send [18:29:57]OFD Sender: No OFD packet to send [18:30:02]OFD Sender: No OFD packet to send [18:30:07]OFD Sender: No OFD packet to send [18:30:12]OFD Sender: No OFD packet to send [18:30:17]OFD Sender: No OFD packet to send [18:30:22]OFD Sender: No OFD packet to send [18:30:27]OFD Sender: No OFD packet to send [18:30:32]OFD Sender: No OFD packet to send [18:30:37]OFD Sender: No OFD packet to send [18:30:42]OFD Sender: No OFD packet to send [18:30:45]accept exits with 8 [18:30:45]New connection [18:30:45]New thread 3066772836 created [18:30:45]Thread 3066629476 joined [18:30:45]Waiting for new connection... [18:30:45] Sock 8.Parse request [18:30:45]Sock 8.Check first char [18:30:45]Sock 8.First char is OK [18:30:45]request: POST /json_proto HTTP/1.0 [18:30:45]Method: POST [18:30:45]URL: /json_proto [18:30:45]Method is POST - this is cgi request [18:30:45]url: /json_proto [18:30:45]query_string will be loaded in cgi processing [18:30:45]execute_cgi json_proto POST (null) [18:30:45]execute_cgi path=json_proto method=POST [18:30:45]POST find Content-Length [18:30:45]Host: 172.17.56.68:8080 [18:30:45]Content-Length: 792 [18:30:45]Content-Type: application/json [18:30:45] [18:30:45]POST finish read [18:30:45]Found Content-Length = 792 [18:30:45]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4454", "tax_sys" : 0, "items" : [ { "code": "2000036230011", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:30:45]execute_script... [18:30:45]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4454", "tax_sys" : 0, "items" : [ { "code": "2000036230011", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:30:45]POST & json_proto [18:30:45]process_json_proto [18:30:45]json parsed OK: [18:30:45]protocol is kg_v1.0 [18:30:45]action value=close_receipt [18:30:45]process_action close_receipt [18:30:45]cmd_close_receipt [18:30:45]MH_GetDate [18:30:45]Write to MH i2c: F0 00 00 DC 01 CC [18:30:45]Write i2c OK [18:30:45]MH_I2C_Read... [18:30:45]Read from MH i2c: F0 [18:30:45]MH_I2C_Read... [18:30:45]Read from MH i2c: F0 09 00 [18:30:45]MH_I2C_Read... [18:30:45]Read from MH i2c: F0 09 00 DC 01 00 D6 AE 60 66 3A 8F 60 66 AE [18:30:45]GetLastDocTimeStamp 1717612126 [18:30:45]current date 1717612246 [18:30:45]FM_GetShiftState [18:30:45]SAM_PROTO_GetShiftState [18:30:45]wFMCommunicate request_size=4 [18:30:45]MH_SAM_APDU [18:30:45]CAPDU: 80 13 01 00 [18:30:45]Write to MH i2c: E2 08 00 DD 01 80 13 01 00 00 00 00 00 5B [18:30:45]Write i2c OK [18:30:45]MH_I2C_Read... [18:30:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:30:45]Read from MH i2c: E2 [18:30:45]MH_I2C_Read... [18:30:45]Read from MH i2c: E2 0E 00 [18:30:45]MH_I2C_Read... [18:30:45]Read from MH i2c: E2 0E 00 DD 01 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 FC [18:30:45]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [18:30:45]wFMCommunicate OK [18:30:45]SAM_PROTO_GetShiftState done [18:30:45]FM_GetShiftState done [18:30:45]opened in 1717545765 [18:30:45]opened+sec_in_day 1717632165 [18:30:45]quantity*price = 13000 [18:30:45]sum+1 = 13001 [18:30:45]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 0.00 Безнал.: 130.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 59 05.06.2024 18:30 Смена: 84 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 Платежная система: О! деньги ФМ: 0000000000959360 ФД: 4201 ФПД: 179487137444762 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T183046&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4201&fm=179487137444762&tin=02508201610067®Number=0000000000145775&sum=13000 0 [18:30:46]StoreToDocumentArchive [18:30:46]shift 84 fd 4201 [18:30:46]save to /storage/0084/doc_00004201 [18:30:46]save last doc name /storage/0084/doc_00004201 to /storage/kkm_last_doc_name [18:30:46]save OK [18:30:46]Clear old archive folders... [18:30:46]ProcessDocumentItem done err = 0, tmpTLVsize=276 [18:30:46]tlvbuf is 019C4C40 [18:30:46]SAM_PROTO_ClearQueue [18:30:46]wFMCommunicate request_size=4 [18:30:46]MH_SAM_APDU [18:30:46]CAPDU: 80 09 00 00 [18:30:46]Write to MH i2c: E2 08 00 EA 01 80 09 00 00 00 00 00 00 5D [18:30:46]Write i2c OK [18:30:46]MH_I2C_Read... [18:30:46]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:30:46]Read from MH i2c: E2 [18:30:46]MH_I2C_Read... [18:30:46]Read from MH i2c: E2 03 00 [18:30:46]MH_I2C_Read... [18:30:46]Read from MH i2c: E2 03 00 EA 01 00 90 00 5F [18:30:46]RAPDU: 90 00 [18:30:46]wFMCommunicate OK [18:30:46]SAM_PROTO_ClearQueue done [18:30:46]KKMCreateOFDPacket [18:30:46]OFDProtocolAddRootSTLVToBuf [18:30:46]FM_MakeSignedData [18:30:46]FM_MakeSignedData [18:30:46]SAM_PROTO_SignData [18:30:46]wFMCommunicate request_size=4 [18:30:46]MH_SAM_APDU [18:30:46]CAPDU: 80 0D 01 02 [18:30:46]Write to MH i2c: E2 08 00 EB 01 80 0D 01 02 00 00 00 00 65 [18:30:46]Write i2c OK [18:30:46]MH_I2C_Read... [18:30:47]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:30:47]Read from MH i2c: E2 [18:30:47]MH_I2C_Read... [18:30:47]Read from MH i2c: E2 03 00 [18:30:47]MH_I2C_Read... [18:30:47]Read from MH i2c: E2 03 00 EB 01 00 90 00 60 [18:30:47]RAPDU: 90 00 [18:30:47]wFMCommunicate OK [18:30:47]wFMCommunicate request_size=255 [18:30:47]MH_SAM_APDU [18:30:47]CAPDU: 80 0D 02 02 FA 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C8 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 D6 AE 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 [18:30:47]Write to MH i2c: E2 02 01 EC 01 80 0D 02 02 FA 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C8 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 D6 AE 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 00 00 5D [18:30:47]Write i2c OK [18:30:47]MH_I2C_Read... [18:30:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:30:47]Read from MH i2c: E2 [18:30:47]MH_I2C_Read... [18:30:47]Read from MH i2c: E2 03 00 [18:30:47]MH_I2C_Read... [18:30:47]Read from MH i2c: E2 03 00 EC 01 00 90 00 61 [18:30:47]RAPDU: 90 00 [18:30:47]wFMCommunicate OK [18:30:47]wFMCommunicate request_size=35 [18:30:47]MH_SAM_APDU [18:30:47]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 69 10 00 00 35 04 06 00 A3 3E 1B 11 B3 9A [18:30:47]Write to MH i2c: E2 26 00 ED 01 80 0D 02 02 1E 00 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 69 10 00 00 35 04 06 00 A3 3E 1B 11 B3 9A 00 00 2E [18:30:47]Write i2c OK [18:30:47]MH_I2C_Read... [18:30:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:30:47]Read from MH i2c: E2 [18:30:47]MH_I2C_Read... [18:30:47]Read from MH i2c: E2 03 00 [18:30:47]MH_I2C_Read... [18:30:47]Read from MH i2c: E2 03 00 ED 01 00 90 00 62 [18:30:47]RAPDU: 90 00 [18:30:47]wFMCommunicate OK [18:30:47]wFMCommunicate request_size=4 [18:30:47]MH_SAM_APDU [18:30:47]CAPDU: 80 0D 03 02 [18:30:47]Write to MH i2c: E2 08 00 EE 01 80 0D 03 02 00 00 00 00 6A [18:30:47]Write i2c OK [18:30:47]MH_I2C_Read... [18:30:47]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:30:47]Read from MH i2c: E2 [18:30:47]MH_I2C_Read... [18:30:47]Read from MH i2c: E2 0B 00 [18:30:47]MH_I2C_Read... [18:30:47]Read from MH i2c: E2 0B 00 EE 01 00 CC DA 17 97 F9 D1 30 E8 90 00 A1 [18:30:47]RAPDU: CC DA 17 97 F9 D1 30 E8 90 00 [18:30:47]wFMCommunicate OK [18:30:47]SAM_PROTO_SignData done [18:30:47]FM_MakeSignedData done [18:30:47]CreateOFDProtocolMessage [18:30:47]wFMCommunicate request_size=4 [18:30:47]MH_SAM_APDU [18:30:47]CAPDU: 80 11 00 00 [18:30:47]Write to MH i2c: E2 08 00 EF 01 80 11 00 00 00 00 00 00 6A [18:30:47]Write i2c OK [18:30:47]MH_I2C_Read... [18:30:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:30:47]Read from MH i2c: E2 [18:30:47]MH_I2C_Read... [18:30:47]Read from MH i2c: E2 17 00 [18:30:47]MH_I2C_Read... [18:30:47]Read from MH i2c: E2 17 00 EF 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 BD [18:30:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [18:30:47]wFMCommunicate OK [18:30:47]CreateOFDProtocolMessage done [18:30:47]OFDSenderStorePacket 4201 [18:30:47]StoreOFDPacket docnum=4201 [18:30:47]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 28 01 00 00 40 F4 20 01 43 BF 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C8 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 D6 AE 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 69 10 00 00 35 04 06 00 A3 3E 1B 11 B3 9A CC DA 17 97 F9 D1 30 E8 [18:30:47]CheckFolder [18:30:47]dirname=/storage/ofd_packets [18:30:47]CheckFolder done [18:30:47]ProducePacketName [18:30:47]name=ofd_packets/00004201 [18:30:47]NVStorageSaveData ofd_packets/00004201 [18:30:47]File name is /storage/ofd_packets/00004201 [18:30:47]Write 326 bytes [18:30:47]NVStorageSaveData done [18:30:47]OFDSenderStorePacket done [18:30:47]KKMCreateOFDPacket done [18:30:47]NVStorageSaveData kkm_last_timestamp [18:30:47]File name is /storage/kkm_last_timestamp [18:30:47]Write 4 bytes [18:30:47]NVStorageSaveData done [18:30:47]ExternCall_PrintAddStr [18:30:47]wPrintStart [18:30:47]Write to MH i2c: 01 00 00 F0 01 F1 [18:30:47]Write i2c OK [18:30:47]MH_I2C_Read... [18:30:47]Read from MH i2c: 01 [18:30:47]MH_I2C_Read... [18:30:47]Read from MH i2c: 01 07 00 [18:30:47]MH_I2C_Read... [18:30:47]Read from MH i2c: 01 07 00 F0 01 00 00 00 00 00 FF 0F 06 [18:30:47]RasterBufferAndPrint [18:30:47]line Счет N : (3)4454 [18:30:47]line ИНН: 02508201610067 [18:30:47]line Контрольно-Кассовый Чек [18:30:47]line ПРОДАЖА [18:30:47]line Товар: 2000036230011 [18:30:47]line Кофе Латте XL(GABB TRADE) [18:30:47]line 1.000 * 130.00 [18:30:47]line = 130.00 [18:30:47]line НДС 12% НСП 1% [18:30:47]line > о реализуемом товаре [18:30:47]line ИТОГО: 130.00 [18:30:47]line НСП 1% : 1.15 [18:30:47]line НДС 12% : 13.80 [18:30:47]line Наличными: 0.00 [18:30:47]line Безнал.: 130.00 [18:30:47]line Место: АЗС № 116 "Партнер Нефть" [18:30:47]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [18:30:47]line СНО: Общий режим [18:30:47]line Чек 59 05.06.2024 18:30 [18:30:47]line Смена: 84 ФФД: 1.0 [18:30:47]line ЗНМ: 0300000233 [18:30:47]line РНМ: 0000000000145775 [18:30:47]line Версия ККМ: v1.0 [18:30:47]line Платежная система: О! деньги [18:30:47]line ФМ: 0000000000959360 [18:30:47]line ФД: 4201 [18:30:47]line ФПД: 179487137444762 [18:30:47]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T183046&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4201&fm=179487137444762&tin=02508201610067®Number=0000000000145775&sum=13000 [18:30:47]line 0 [18:30:47]OFD Sender: Processing packet 4201 [packets to send 2, broken 1] [18:30:47]ProducePacketName [18:30:47]name=ofd_packets/00004201 [18:30:47]OFD Sender: To server: pG, [18:30:47]CommunicateWithHost lk.salyk.kg:30040 [18:30:47]ConnectInit lk.salyk.kg [18:30:47]written 0, free lines is 4095 [18:30:47]Connected sock=10 [18:30:47]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 28 01 00 00 40 F4 20 01 43 BF 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C8 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 D6 AE 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 69 10 00 00 35 04 06 00 A3 3E 1B 11 B3 9A CC DA 17 97 F9 D1 30 E8 [18:30:48]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 73 A8 47 00 D4 7A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 69 10 00 00 F4 03 04 00 D8 5A 60 66 B6 04 01 00 00 F2 D1 B6 3E 37 81 2A 40 [18:30:48]CommunicateWithHost err = 0 [18:30:48]CheckOFDResponse [18:30:48]1017 (14) - 77093643461234 [18:30:48]1041 (16) - 0000000000959360 [18:30:48]1040 (4) - 4201 [18:30:48]1012 (4) - 05.06.2024 12:32 [18:30:48]1206 (1) - 0 [18:30:48]OFD Sender: Remove packet 4201 [18:30:48]ProducePacketName [18:30:48]name=ofd_packets/00004201 [18:30:48]NVStorageDeleteData [18:30:48]Write to MH i2c: 01 00 00 1A 02 1C [18:30:48]Write i2c OK [18:30:48]MH_I2C_Read... [18:30:48]Read from MH i2c: 01 [18:30:48]MH_I2C_Read... [18:30:48]Read from MH i2c: 01 07 00 [18:30:48]MH_I2C_Read... [18:30:48]Read from MH i2c: 01 07 00 1A 02 00 00 00 00 00 AB 0C DA [18:30:48]RasterBufferAndPrint [18:30:48]line [18:30:48]line [18:30:48]line [18:30:48]line [18:30:48]line [18:30:48]written 0, free lines is 3248 [18:30:48]MH_Cut [18:30:48]Write to MH i2c: D1 01 00 21 02 01 F5 [18:30:48]Write i2c OK [18:30:48]MH_I2C_Read... [18:30:48]Read from MH i2c: D1 [18:30:48]MH_I2C_Read... [18:30:48]Read from MH i2c: D1 01 00 [18:30:48]MH_I2C_Read... [18:30:48]Read from MH i2c: D1 01 00 21 02 00 F4 [18:30:48]Write to MH i2c: 01 00 00 22 02 24 [18:30:48]Write i2c OK [18:30:48]MH_I2C_Read... [18:30:48]OFD Sender: No OFD packet to send [18:30:49]*** Cut start [18:30:49]*** Partial cut [18:30:49]*** CUTSNS_PIN = 1 [18:30:49]*** CUTSNS_PIN = 0 [18:30:49]*** Brake cut motor [18:30:49]Read from MH i2c: 01 [18:30:49]MH_I2C_Read... [18:30:49]*** Stop cut motor [18:30:49]*** Cut end [18:30:49]Read from MH i2c: 01 07 00 [18:30:49]MH_I2C_Read... [18:30:49]Read from MH i2c: 01 07 00 22 02 00 00 00 00 00 FF 0F 39 [18:30:49]process_action close_receipt done [18:30:49]requested_data is exist [18:30:49]produce_requested_data [18:30:49]requested_item fm.sn is exist - process it [18:30:49]wFMCommunicate request_size=4 [18:30:49]MH_SAM_APDU [18:30:49]CAPDU: 80 11 00 00 [18:30:49]Write to MH i2c: E2 08 00 23 02 80 11 00 00 00 00 00 00 9F [18:30:49]Write i2c OK [18:30:49]MH_I2C_Read... [18:30:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:30:49]Read from MH i2c: E2 [18:30:49]MH_I2C_Read... [18:30:49]Read from MH i2c: E2 17 00 [18:30:49]MH_I2C_Read... [18:30:49]Read from MH i2c: E2 17 00 23 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 F2 [18:30:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [18:30:49]wFMCommunicate OK [18:30:49]requested_item fd.num is exist - process it [18:30:49]SAM_PROTO_GetFieldsCounters [18:30:49]wFMCommunicate request_size=4 [18:30:49]MH_SAM_APDU [18:30:49]CAPDU: 80 13 00 00 [18:30:49]Write to MH i2c: E2 08 00 24 02 80 13 00 00 00 00 00 00 A2 [18:30:49]Write i2c OK [18:30:49]MH_I2C_Read... [18:30:50]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:30:50]Read from MH i2c: E2 [18:30:50]MH_I2C_Read... [18:30:50]Read from MH i2c: E2 62 00 [18:30:50]MH_I2C_Read... [18:30:50]Read from MH i2c: E2 62 00 24 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 69 10 00 00 0E 04 04 00 54 00 00 00 12 04 04 00 3B 00 00 00 5E 04 04 00 3B 00 00 00 57 04 04 00 3C 00 00 00 19 04 04 00 00 00 00 00 90 00 45 [18:30:50]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 69 10 00 00 0E 04 04 00 54 00 00 00 12 04 04 00 3B 00 00 00 5E 04 04 00 3B 00 00 00 57 04 04 00 3C 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:30:50]wFMCommunicate OK [18:30:50]SAM_PROTO_GetFieldsCounters done [18:30:50]requested_item shift.num is exist - process it [18:30:50]requested_item shift.opened is exist - process it [18:30:50]req_shift_opened [18:30:50]FM_GetShiftState [18:30:50]SAM_PROTO_GetShiftState [18:30:50]wFMCommunicate request_size=4 [18:30:50]MH_SAM_APDU [18:30:50]CAPDU: 80 13 01 00 [18:30:50]Write to MH i2c: E2 08 00 25 02 80 13 01 00 00 00 00 00 A4 [18:30:50]Write i2c OK [18:30:50]MH_I2C_Read... [18:30:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:30:50]Read from MH i2c: E2 [18:30:50]MH_I2C_Read... [18:30:50]Read from MH i2c: E2 0E 00 [18:30:50]MH_I2C_Read... [18:30:50]Read from MH i2c: E2 0E 00 25 02 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 45 [18:30:50]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [18:30:50]wFMCommunicate OK [18:30:50]SAM_PROTO_GetShiftState done [18:30:50]FM_GetShiftState done [18:30:50]req_shift_opened done [18:30:50]requested_item shift.open_date is exist - process it [18:30:50]req_shift_open_date [18:30:50]req_shift_open_date done [18:30:50]produce_requested_data done [18:30:50]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4201,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765} [18:30:50]process_action_free close_receipt [18:30:50]json_value_free [18:30:50]json_value_free done [18:30:50]process_json_proto returns [18:30:50]Send response to host [18:30:50]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4201,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765}}} [18:30:50]free response buf [18:30:50]execute_script done [18:30:50]execute_script returns [18:30:50]free content buf [18:30:50]Sock 8.Close socket [18:30:50]Sock 8.Thread stoped [18:30:53]OFD Sender: No OFD packet to send [18:30:58]OFD Sender: No OFD packet to send [18:31:03]OFD Sender: No OFD packet to send [18:31:08]OFD Sender: No OFD packet to send [18:31:13]OFD Sender: No OFD packet to send [18:31:18]OFD Sender: No OFD packet to send [18:31:23]OFD Sender: No OFD packet to send [18:31:28]OFD Sender: No OFD packet to send [18:31:33]OFD Sender: No OFD packet to send [18:31:38]OFD Sender: No OFD packet to send [18:31:43]OFD Sender: No OFD packet to send [18:31:48]OFD Sender: No OFD packet to send [18:31:53]OFD Sender: No OFD packet to send [18:31:58]OFD Sender: No OFD packet to send [18:32:03]OFD Sender: No OFD packet to send [18:32:08]OFD Sender: No OFD packet to send [18:32:13]OFD Sender: No OFD packet to send [18:32:18]OFD Sender: No OFD packet to send [18:32:23]OFD Sender: No OFD packet to send [18:32:28]OFD Sender: No OFD packet to send [18:32:33]OFD Sender: No OFD packet to send [18:32:38]OFD Sender: No OFD packet to send [18:32:43]OFD Sender: No OFD packet to send [18:32:48]OFD Sender: No OFD packet to send [18:32:53]OFD Sender: No OFD packet to send [18:32:58]OFD Sender: No OFD packet to send [18:33:03]OFD Sender: No OFD packet to send [18:33:08]OFD Sender: No OFD packet to send [18:33:13]OFD Sender: No OFD packet to send [18:33:18]OFD Sender: No OFD packet to send [18:33:23]OFD Sender: No OFD packet to send [18:33:28]OFD Sender: No OFD packet to send [18:33:33]OFD Sender: No OFD packet to send [18:33:38]OFD Sender: No OFD packet to send [18:33:43]OFD Sender: No OFD packet to send [18:33:48]OFD Sender: No OFD packet to send [18:33:53]OFD Sender: No OFD packet to send [18:33:58]OFD Sender: No OFD packet to send [18:34:03]OFD Sender: No OFD packet to send [18:34:08]OFD Sender: No OFD packet to send [18:34:13]OFD Sender: No OFD packet to send [18:34:18]OFD Sender: No OFD packet to send [18:34:23]OFD Sender: No OFD packet to send [18:34:28]OFD Sender: No OFD packet to send [18:34:33]OFD Sender: No OFD packet to send [18:34:38]OFD Sender: No OFD packet to send [18:34:43]OFD Sender: No OFD packet to send [18:34:48]OFD Sender: No OFD packet to send [18:34:53]OFD Sender: No OFD packet to send [18:34:58]OFD Sender: No OFD packet to send [18:35:03]OFD Sender: No OFD packet to send [18:35:08]OFD Sender: No OFD packet to send [18:35:13]OFD Sender: No OFD packet to send [18:35:18]OFD Sender: No OFD packet to send [18:35:23]OFD Sender: No OFD packet to send [18:35:28]OFD Sender: No OFD packet to send [18:35:33]OFD Sender: No OFD packet to send [18:35:38]OFD Sender: No OFD packet to send [18:35:43]OFD Sender: No OFD packet to send [18:35:48]OFD Sender: No OFD packet to send [18:35:53]OFD Sender: No OFD packet to send [18:35:58]OFD Sender: No OFD packet to send [18:36:03]OFD Sender: No OFD packet to send [18:36:08]OFD Sender: No OFD packet to send [18:36:13]OFD Sender: No OFD packet to send [18:36:18]OFD Sender: No OFD packet to send [18:36:23]OFD Sender: No OFD packet to send [18:36:28]OFD Sender: No OFD packet to send [18:36:33]OFD Sender: No OFD packet to send [18:36:38]OFD Sender: No OFD packet to send [18:36:43]OFD Sender: No OFD packet to send [18:36:48]OFD Sender: No OFD packet to send [18:36:53]OFD Sender: No OFD packet to send [18:36:58]OFD Sender: No OFD packet to send [18:37:03]OFD Sender: No OFD packet to send [18:37:08]OFD Sender: No OFD packet to send [18:37:13]OFD Sender: No OFD packet to send [18:37:18]OFD Sender: No OFD packet to send [18:37:23]OFD Sender: No OFD packet to send [18:37:28]OFD Sender: No OFD packet to send [18:37:33]OFD Sender: No OFD packet to send [18:37:38]OFD Sender: No OFD packet to send [18:37:43]OFD Sender: No OFD packet to send [18:37:48]OFD Sender: No OFD packet to send [18:37:53]OFD Sender: No OFD packet to send [18:37:58]OFD Sender: No OFD packet to send [18:38:03]OFD Sender: No OFD packet to send [18:38:08]OFD Sender: No OFD packet to send [18:38:13]OFD Sender: No OFD packet to send [18:38:18]OFD Sender: No OFD packet to send [18:38:23]OFD Sender: No OFD packet to send [18:38:28]OFD Sender: No OFD packet to send [18:38:33]OFD Sender: No OFD packet to send [18:38:38]OFD Sender: No OFD packet to send [18:38:43]OFD Sender: No OFD packet to send [18:38:48]OFD Sender: No OFD packet to send [18:38:53]OFD Sender: No OFD packet to send [18:38:58]OFD Sender: No OFD packet to send [18:39:03]OFD Sender: No OFD packet to send [18:39:08]OFD Sender: No OFD packet to send [18:39:13]OFD Sender: No OFD packet to send [18:39:18]OFD Sender: No OFD packet to send [18:39:23]OFD Sender: No OFD packet to send [18:39:28]OFD Sender: No OFD packet to send [18:39:33]OFD Sender: No OFD packet to send [18:39:38]OFD Sender: No OFD packet to send [18:39:43]OFD Sender: No OFD packet to send [18:39:48]OFD Sender: No OFD packet to send [18:39:53]OFD Sender: No OFD packet to send [18:39:58]OFD Sender: No OFD packet to send [18:40:03]OFD Sender: No OFD packet to send [18:40:08]OFD Sender: No OFD packet to send [18:40:13]OFD Sender: No OFD packet to send [18:40:19]OFD Sender: No OFD packet to send [18:40:24]OFD Sender: No OFD packet to send [18:40:29]OFD Sender: No OFD packet to send [18:40:34]OFD Sender: No OFD packet to send [18:40:39]OFD Sender: No OFD packet to send [18:40:44]OFD Sender: No OFD packet to send [18:40:49]OFD Sender: No OFD packet to send [18:40:54]OFD Sender: No OFD packet to send [18:40:59]OFD Sender: No OFD packet to send [18:41:04]OFD Sender: No OFD packet to send [18:41:09]OFD Sender: No OFD packet to send [18:41:14]OFD Sender: No OFD packet to send [18:41:19]OFD Sender: No OFD packet to send [18:41:24]OFD Sender: No OFD packet to send [18:41:29]OFD Sender: No OFD packet to send [18:41:34]OFD Sender: No OFD packet to send [18:41:39]OFD Sender: No OFD packet to send [18:41:44]OFD Sender: No OFD packet to send [18:41:49]OFD Sender: No OFD packet to send [18:41:54]OFD Sender: No OFD packet to send [18:41:59]OFD Sender: No OFD packet to send [18:42:04]OFD Sender: No OFD packet to send [18:42:09]OFD Sender: No OFD packet to send [18:42:14]OFD Sender: No OFD packet to send [18:42:19]OFD Sender: No OFD packet to send [18:42:24]OFD Sender: No OFD packet to send [18:42:29]OFD Sender: No OFD packet to send [18:42:34]OFD Sender: No OFD packet to send [18:42:39]OFD Sender: No OFD packet to send [18:42:44]OFD Sender: No OFD packet to send [18:42:49]OFD Sender: No OFD packet to send [18:42:54]OFD Sender: No OFD packet to send [18:42:59]OFD Sender: No OFD packet to send [18:43:04]OFD Sender: No OFD packet to send [18:43:09]OFD Sender: No OFD packet to send [18:43:14]OFD Sender: No OFD packet to send [18:43:19]OFD Sender: No OFD packet to send [18:43:24]OFD Sender: No OFD packet to send [18:43:29]OFD Sender: No OFD packet to send [18:43:34]OFD Sender: No OFD packet to send [18:43:39]OFD Sender: No OFD packet to send [18:43:44]OFD Sender: No OFD packet to send [18:43:49]OFD Sender: No OFD packet to send [18:43:54]OFD Sender: No OFD packet to send [18:43:59]OFD Sender: No OFD packet to send [18:44:04]OFD Sender: No OFD packet to send [18:44:09]OFD Sender: No OFD packet to send [18:44:14]OFD Sender: No OFD packet to send [18:44:19]OFD Sender: No OFD packet to send [18:44:24]OFD Sender: No OFD packet to send [18:44:29]OFD Sender: No OFD packet to send [18:44:34]OFD Sender: No OFD packet to send [18:44:39]OFD Sender: No OFD packet to send [18:44:44]OFD Sender: No OFD packet to send [18:44:49]OFD Sender: No OFD packet to send [18:44:54]OFD Sender: No OFD packet to send [18:44:59]OFD Sender: No OFD packet to send [18:45:04]OFD Sender: No OFD packet to send [18:45:09]OFD Sender: No OFD packet to send [18:45:14]OFD Sender: No OFD packet to send [18:45:19]OFD Sender: No OFD packet to send [18:45:24]OFD Sender: No OFD packet to send [18:45:29]OFD Sender: No OFD packet to send [18:45:34]OFD Sender: No OFD packet to send [18:45:39]OFD Sender: No OFD packet to send [18:45:44]OFD Sender: No OFD packet to send [18:45:49]OFD Sender: No OFD packet to send [18:45:54]OFD Sender: No OFD packet to send [18:45:59]OFD Sender: No OFD packet to send [18:46:04]OFD Sender: No OFD packet to send [18:46:09]OFD Sender: No OFD packet to send [18:46:14]OFD Sender: No OFD packet to send [18:46:19]OFD Sender: No OFD packet to send [18:46:24]OFD Sender: No OFD packet to send [18:46:29]OFD Sender: No OFD packet to send [18:46:34]OFD Sender: No OFD packet to send [18:46:39]OFD Sender: No OFD packet to send [18:46:44]OFD Sender: No OFD packet to send [18:46:49]OFD Sender: No OFD packet to send [18:46:54]OFD Sender: No OFD packet to send [18:46:59]OFD Sender: No OFD packet to send [18:47:04]OFD Sender: No OFD packet to send [18:47:09]OFD Sender: No OFD packet to send [18:47:14]OFD Sender: No OFD packet to send [18:47:19]OFD Sender: No OFD packet to send [18:47:24]OFD Sender: No OFD packet to send [18:47:29]OFD Sender: No OFD packet to send [18:47:34]OFD Sender: No OFD packet to send [18:47:39]OFD Sender: No OFD packet to send [18:47:44]OFD Sender: No OFD packet to send [18:47:49]OFD Sender: No OFD packet to send [18:47:54]OFD Sender: No OFD packet to send [18:47:59]OFD Sender: No OFD packet to send [18:48:00]accept exits with 9 [18:48:00]New connection [18:48:00]New thread 3066629476 created [18:48:00]Thread 3066772836 joined [18:48:00]Waiting for new connection... [18:48:00] Sock 9.Parse request [18:48:00]Sock 9.Check first char [18:48:00]Sock 9.First char is OK [18:48:00]request: POST /json_proto HTTP/1.0 [18:48:00]Method: POST [18:48:00]URL: /json_proto [18:48:00]Method is POST - this is cgi request [18:48:00]url: /json_proto [18:48:00]query_string will be loaded in cgi processing [18:48:00]execute_cgi json_proto POST (null) [18:48:00]execute_cgi path=json_proto method=POST [18:48:00]POST find Content-Length [18:48:00]Host: 172.17.56.68:8080 [18:48:00]Content-Length: 937 [18:48:00]Content-Type: application/json [18:48:00] [18:48:00]POST finish read [18:48:00]Found Content-Length = 937 [18:48:00]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4455", "tax_sys" : 0, "items" : [ { "code": "5000159390729", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0422\u0432\u0438\u043A\u0441 \u042D\u043A\u0441\u0442\u0440\u0430 82\u0433", "price" : 89.00, "quantity" : 1.000, "sum" : 89.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700026030109", "name": "\u041A\u0443\u0440\u0443\u0442 \u0447\u043E\u0431\u043E\u0433\u043E", "price" : 42.00, "quantity" : 1.000, "sum" : 42.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 131.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:48:00]execute_script... [18:48:00]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4455", "tax_sys" : 0, "items" : [ { "code": "5000159390729", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0422\u0432\u0438\u043A\u0441 \u042D\u043A\u0441\u0442\u0440\u0430 82\u0433", "price" : 89.00, "quantity" : 1.000, "sum" : 89.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700026030109", "name": "\u041A\u0443\u0440\u0443\u0442 \u0447\u043E\u0431\u043E\u0433\u043E", "price" : 42.00, "quantity" : 1.000, "sum" : 42.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 131.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:48:00]POST & json_proto [18:48:00]process_json_proto [18:48:00]json parsed OK: [18:48:00]protocol is kg_v1.0 [18:48:00]action value=close_receipt [18:48:00]process_action close_receipt [18:48:00]cmd_close_receipt [18:48:00]MH_GetDate [18:48:00]Write to MH i2c: F0 00 00 26 02 17 [18:48:00]Write i2c OK [18:48:00]MH_I2C_Read... [18:48:00]Read from MH i2c: F0 [18:48:00]MH_I2C_Read... [18:48:00]Read from MH i2c: F0 09 00 [18:48:00]MH_I2C_Read... [18:48:00]Read from MH i2c: F0 09 00 26 02 00 E2 B2 60 66 3A 8F 60 66 09 [18:48:00]GetLastDocTimeStamp 1717612246 [18:48:00]current date 1717613282 [18:48:00]FM_GetShiftState [18:48:00]SAM_PROTO_GetShiftState [18:48:00]wFMCommunicate request_size=4 [18:48:00]MH_SAM_APDU [18:48:00]CAPDU: 80 13 01 00 [18:48:00]Write to MH i2c: E2 08 00 27 02 80 13 01 00 00 00 00 00 A6 [18:48:00]Write i2c OK [18:48:00]MH_I2C_Read... [18:48:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:48:00]Read from MH i2c: E2 [18:48:00]MH_I2C_Read... [18:48:00]Read from MH i2c: E2 0E 00 [18:48:00]MH_I2C_Read... [18:48:00]Read from MH i2c: E2 0E 00 27 02 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 47 [18:48:00]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [18:48:00]wFMCommunicate OK [18:48:00]SAM_PROTO_GetShiftState done [18:48:00]FM_GetShiftState done [18:48:00]opened in 1717545765 [18:48:00]opened+sec_in_day 1717632165 [18:48:00]quantity*price = 8900 [18:48:00]sum+1 = 8901 [18:48:00]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700026030109 Курут чобого 1.000 * 42.00 = 42.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 131.00 НСП 1% : 1.16 НДС 12% : 13.91 Наличными: 131.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 60 05.06.2024 18:48 Смена: 84 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4202 ФПД: 6668289628523 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T184802&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4202&fm=6668289628523&tin=02508201610067®Number=0000000000145775&sum=13100 0 [18:48:02]StoreToDocumentArchive [18:48:02]shift 84 fd 4202 [18:48:02]save to /storage/0084/doc_00004202 [18:48:02]save last doc name /storage/0084/doc_00004202 to /storage/kkm_last_doc_name [18:48:02]save OK [18:48:02]Clear old archive folders... [18:48:02]ProcessDocumentItem done err = 0, tmpTLVsize=389 [18:48:02]tlvbuf is B6EAE910 [18:48:02]SAM_PROTO_ClearQueue [18:48:02]wFMCommunicate request_size=4 [18:48:02]MH_SAM_APDU [18:48:02]CAPDU: 80 09 00 00 [18:48:02]Write to MH i2c: E2 08 00 34 02 80 09 00 00 00 00 00 00 A8 [18:48:02]Write i2c OK [18:48:02]MH_I2C_Read... [18:48:02]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:48:02]Read from MH i2c: E2 [18:48:02]MH_I2C_Read... [18:48:02]Read from MH i2c: E2 03 00 [18:48:02]MH_I2C_Read... [18:48:02]Read from MH i2c: E2 03 00 34 02 00 90 00 AA [18:48:02]RAPDU: 90 00 [18:48:02]wFMCommunicate OK [18:48:02]SAM_PROTO_ClearQueue done [18:48:02]KKMCreateOFDPacket [18:48:02]OFDProtocolAddRootSTLVToBuf [18:48:02]FM_MakeSignedData [18:48:02]FM_MakeSignedData [18:48:02]SAM_PROTO_SignData [18:48:02]wFMCommunicate request_size=4 [18:48:02]MH_SAM_APDU [18:48:02]CAPDU: 80 0D 01 02 [18:48:02]Write to MH i2c: E2 08 00 35 02 80 0D 01 02 00 00 00 00 B0 [18:48:02]Write i2c OK [18:48:02]MH_I2C_Read... [18:48:02]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:48:02]Read from MH i2c: E2 [18:48:02]MH_I2C_Read... [18:48:02]Read from MH i2c: E2 03 00 [18:48:02]MH_I2C_Read... [18:48:02]Read from MH i2c: E2 03 00 35 02 00 90 00 AB [18:48:02]RAPDU: 90 00 [18:48:02]wFMCommunicate OK [18:48:02]wFMCommunicate request_size=255 [18:48:02]MH_SAM_APDU [18:48:02]CAPDU: 80 0D 02 02 FA 03 00 85 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 35 30 30 30 31 35 39 33 39 30 37 32 39 06 04 34 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A2 D0 B2 D0 B8 D0 BA D1 81 20 D0 AD D0 BA D1 81 D1 82 D1 80 D0 B0 20 38 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C4 22 00 00 00 00 13 04 06 00 C4 22 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5B 00 8A 04 0D 00 34 37 30 30 30 32 36 30 33 30 31 30 39 06 04 17 00 D0 9A D1 83 D1 80 D1 83 D1 82 20 D1 87 D0 BE D0 B1 D0 BE D0 B3 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 10 00 00 00 00 13 04 06 00 68 10 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 33 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 [18:48:02]Write to MH i2c: E2 02 01 36 02 80 0D 02 02 FA 00 03 00 85 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 35 30 30 30 31 35 39 33 39 30 37 32 39 06 04 34 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A2 D0 B2 D0 B8 D0 BA D1 81 20 D0 AD D0 BA D1 81 D1 82 D1 80 D0 B0 20 38 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C4 22 00 00 00 00 13 04 06 00 C4 22 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5B 00 8A 04 0D 00 34 37 30 30 30 32 36 30 33 30 31 30 39 06 04 17 00 D0 9A D1 83 D1 80 D1 83 D1 82 20 D1 87 D0 BE D0 B1 D0 BE D0 B3 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 10 00 00 00 00 13 04 06 00 68 10 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 33 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 00 00 E6 [18:48:02]Write i2c OK [18:48:02]MH_I2C_Read... [18:48:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:48:02]Read from MH i2c: E2 [18:48:02]MH_I2C_Read... [18:48:02]Read from MH i2c: E2 03 00 [18:48:02]MH_I2C_Read... [18:48:02]Read from MH i2c: E2 03 00 36 02 00 90 00 AC [18:48:02]RAPDU: 90 00 [18:48:02]wFMCommunicate OK [18:48:02]wFMCommunicate request_size=148 [18:48:02]MH_SAM_APDU [18:48:02]CAPDU: 80 0D 02 02 8F 01 F7 03 06 00 74 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6F 05 00 00 00 00 07 04 06 00 2C 33 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3C 00 00 00 F4 03 04 00 E2 B2 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 6A 10 00 00 35 04 06 00 06 10 95 08 D9 6B [18:48:02]Write to MH i2c: E2 97 00 37 02 80 0D 02 02 8F 00 01 F7 03 06 00 74 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6F 05 00 00 00 00 07 04 06 00 2C 33 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3C 00 00 00 F4 03 04 00 E2 B2 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 6A 10 00 00 35 04 06 00 06 10 95 08 D9 6B 00 00 A5 [18:48:02]Write i2c OK [18:48:02]MH_I2C_Read... [18:48:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:48:02]Read from MH i2c: E2 [18:48:02]MH_I2C_Read... [18:48:02]Read from MH i2c: E2 03 00 [18:48:02]MH_I2C_Read... [18:48:02]Read from MH i2c: E2 03 00 37 02 00 90 00 AD [18:48:02]RAPDU: 90 00 [18:48:02]wFMCommunicate OK [18:48:02]wFMCommunicate request_size=4 [18:48:02]MH_SAM_APDU [18:48:02]CAPDU: 80 0D 03 02 [18:48:02]Write to MH i2c: E2 08 00 38 02 80 0D 03 02 00 00 00 00 B5 [18:48:02]Write i2c OK [18:48:02]MH_I2C_Read... [18:48:02]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:48:02]Read from MH i2c: E2 [18:48:02]MH_I2C_Read... [18:48:02]Read from MH i2c: E2 0B 00 [18:48:02]MH_I2C_Read... [18:48:02]Read from MH i2c: E2 0B 00 38 02 00 FB 09 51 7D E0 02 80 CE 90 00 B8 [18:48:02]RAPDU: FB 09 51 7D E0 02 80 CE 90 00 [18:48:02]wFMCommunicate OK [18:48:02]SAM_PROTO_SignData done [18:48:02]FM_MakeSignedData done [18:48:02]CreateOFDProtocolMessage [18:48:02]wFMCommunicate request_size=4 [18:48:02]MH_SAM_APDU [18:48:02]CAPDU: 80 11 00 00 [18:48:02]Write to MH i2c: E2 08 00 39 02 80 11 00 00 00 00 00 00 B5 [18:48:02]Write i2c OK [18:48:02]MH_I2C_Read... [18:48:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:48:02]Read from MH i2c: E2 [18:48:02]MH_I2C_Read... [18:48:02]Read from MH i2c: E2 17 00 [18:48:02]MH_I2C_Read... [18:48:02]Read from MH i2c: E2 17 00 39 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 08 [18:48:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [18:48:02]wFMCommunicate OK [18:48:02]CreateOFDProtocolMessage done [18:48:02]OFDSenderStorePacket 4202 [18:48:02]StoreOFDPacket docnum=4202 [18:48:02]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 99 01 00 00 11 06 91 01 4C 32 5A 03 01 00 03 00 85 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 35 30 30 30 31 35 39 33 39 30 37 32 39 06 04 34 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A2 D0 B2 D0 B8 D0 BA D1 81 20 D0 AD D0 BA D1 81 D1 82 D1 80 D0 B0 20 38 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C4 22 00 00 00 00 13 04 06 00 C4 22 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5B 00 8A 04 0D 00 34 37 30 30 30 32 36 30 33 30 31 30 39 06 04 17 00 D0 9A D1 83 D1 80 D1 83 D1 82 20 D1 87 D0 BE D0 B1 D0 BE D0 B3 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 10 00 00 00 00 13 04 06 00 68 10 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 33 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 74 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6F 05 00 00 00 00 07 04 06 00 2C 33 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3C 00 00 00 F4 03 04 00 E2 B2 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 6A 10 00 00 35 04 06 00 06 10 95 08 D9 6B FB 09 51 7D E0 02 80 CE [18:48:02]CheckFolder [18:48:02]dirname=/storage/ofd_packets [18:48:02]CheckFolder done [18:48:02]ProducePacketName [18:48:02]name=ofd_packets/00004202 [18:48:02]NVStorageSaveData ofd_packets/00004202 [18:48:02]File name is /storage/ofd_packets/00004202 [18:48:02]Write 439 bytes [18:48:02]NVStorageSaveData done [18:48:02]OFDSenderStorePacket done [18:48:02]KKMCreateOFDPacket done [18:48:02]NVStorageSaveData kkm_last_timestamp [18:48:02]File name is /storage/kkm_last_timestamp [18:48:02]Write 4 bytes [18:48:02]NVStorageSaveData done [18:48:02]ExternCall_PrintAddStr [18:48:02]wPrintStart [18:48:02]Write to MH i2c: 01 00 00 3A 02 3C [18:48:02]Write i2c OK [18:48:02]MH_I2C_Read... [18:48:02]Read from MH i2c: 01 [18:48:02]MH_I2C_Read... [18:48:02]Read from MH i2c: 01 07 00 [18:48:02]MH_I2C_Read... [18:48:02]Read from MH i2c: 01 07 00 3A 02 00 00 00 00 00 FF 0F 51 [18:48:03]RasterBufferAndPrint [18:48:03]line Счет N : (3)4455 [18:48:03]line ИНН: 02508201610067 [18:48:03]line Контрольно-Кассовый Чек [18:48:03]line ПРОДАЖА [18:48:03]line Товар: 5000159390729 [18:48:03]line Шок Батончик Твикс Экстра 82г [18:48:03]line 1.000 * 89.00 [18:48:03]line = 89.00 [18:48:03]line НДС 12% НСП 1% [18:48:03]line > о реализуемом товаре [18:48:03]line Товар: 4700026030109 [18:48:03]line Курут чобого [18:48:03]line 1.000 * 42.00 [18:48:03]line = 42.00 [18:48:03]line НДС 12% НСП 1% [18:48:03]line > о реализуемом товаре [18:48:03]line ИТОГО: 131.00 [18:48:03]line НСП 1% : 1.16 [18:48:03]line НДС 12% : 13.91 [18:48:03]line Наличными: 131.00 [18:48:03]line Безнал.: 0.00 [18:48:03]line Место: АЗС № 116 "Партнер Нефть" [18:48:03]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [18:48:03]line СНО: Общий режим [18:48:03]line Чек 60 05.06.2024 18:48 [18:48:03]line Смена: 84 ФФД: 1.0 [18:48:03]line ЗНМ: 0300000233 [18:48:03]line РНМ: 0000000000145775 [18:48:03]line Версия ККМ: v1.0 [18:48:03]line ФМ: 0000000000959360 [18:48:03]line ФД: 4202 [18:48:03]line ФПД: 6668289628523 [18:48:03]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T184802&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4202&fm=6668289628523&tin=02508201610067®Number=0000000000145775&sum=13100 [18:48:03]line 0 [18:48:03]OFD Sender: Processing packet 4202 [packets to send 2, broken 1] [18:48:03]ProducePacketName [18:48:03]name=ofd_packets/00004202 [18:48:03]OFD Sender: To server: pG, [18:48:03]CommunicateWithHost lk.salyk.kg:30040 [18:48:03]ConnectInit lk.salyk.kg [18:48:03]written 0, free lines is 4095 [18:48:03]Connected sock=10 [18:48:03]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 99 01 00 00 11 06 91 01 4C 32 5A 03 01 00 03 00 85 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 35 30 30 30 31 35 39 33 39 30 37 32 39 06 04 34 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A2 D0 B2 D0 B8 D0 BA D1 81 20 D0 AD D0 BA D1 81 D1 82 D1 80 D0 B0 20 38 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C4 22 00 00 00 00 13 04 06 00 C4 22 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5B 00 8A 04 0D 00 34 37 30 30 30 32 36 30 33 30 31 30 39 06 04 17 00 D0 9A D1 83 D1 80 D1 83 D1 82 20 D1 87 D0 BE D0 B1 D0 BE D0 B3 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 10 00 00 00 00 13 04 06 00 68 10 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 33 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 74 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6F 05 00 00 00 00 07 04 06 00 2C 33 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3C 00 00 00 F4 03 04 00 E2 B2 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 6A 10 00 00 35 04 06 00 06 10 95 08 D9 6B FB 09 51 7D E0 02 80 CE [18:48:03]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 D8 9C 47 00 A8 DE A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 6A 10 00 00 F4 03 04 00 E3 5E 60 66 B6 04 01 00 00 6D CE 0C AA CD 29 EA 29 [18:48:03]CommunicateWithHost err = 0 [18:48:03]CheckOFDResponse [18:48:03]1017 (14) - 77093643461234 [18:48:03]1041 (16) - 0000000000959360 [18:48:03]1040 (4) - 4202 [18:48:03]1012 (4) - 05.06.2024 12:49 [18:48:03]1206 (1) - 0 [18:48:03]OFD Sender: Remove packet 4202 [18:48:03]ProducePacketName [18:48:03]name=ofd_packets/00004202 [18:48:03]NVStorageDeleteData [18:48:03]Write to MH i2c: 01 00 00 69 02 6B [18:48:03]Write i2c OK [18:48:03]MH_I2C_Read... [18:48:03]Read from MH i2c: 01 [18:48:03]MH_I2C_Read... [18:48:03]Read from MH i2c: 01 07 00 [18:48:03]MH_I2C_Read... [18:48:03]Read from MH i2c: 01 07 00 69 02 00 00 00 00 00 48 0C C6 [18:48:03]RasterBufferAndPrint [18:48:03]line [18:48:03]line [18:48:03]line [18:48:03]line [18:48:03]line [18:48:03]written 0, free lines is 3150 [18:48:03]MH_Cut [18:48:03]Write to MH i2c: D1 01 00 70 02 01 44 [18:48:03]Write i2c OK [18:48:03]MH_I2C_Read... [18:48:03]Read from MH i2c: D1 [18:48:03]MH_I2C_Read... [18:48:03]Read from MH i2c: D1 01 00 [18:48:03]MH_I2C_Read... [18:48:03]Read from MH i2c: D1 01 00 70 02 00 43 [18:48:03]Write to MH i2c: 01 00 00 71 02 73 [18:48:03]Write i2c OK [18:48:03]MH_I2C_Read... [18:48:03]OFD Sender: No OFD packet to send [18:48:04]*** Cut start [18:48:04]*** Partial cut [18:48:04]*** CUTSNS_PIN = 1 [18:48:04]*** CUTSNS_PIN = 0 [18:48:04]*** Brake cut motor [18:48:05]Read from MH i2c: 01 [18:48:05]MH_I2C_Read... [18:48:05]*** Stop cut motor [18:48:05]*** Cut end [18:48:05]Read from MH i2c: 01 07 00 [18:48:05]MH_I2C_Read... [18:48:05]Read from MH i2c: 01 07 00 71 02 00 00 00 00 00 FF 0F 88 [18:48:05]process_action close_receipt done [18:48:05]requested_data is exist [18:48:05]produce_requested_data [18:48:05]requested_item fm.sn is exist - process it [18:48:05]wFMCommunicate request_size=4 [18:48:05]MH_SAM_APDU [18:48:05]CAPDU: 80 11 00 00 [18:48:05]Write to MH i2c: E2 08 00 72 02 80 11 00 00 00 00 00 00 EE [18:48:05]Write i2c OK [18:48:05]MH_I2C_Read... [18:48:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:48:05]Read from MH i2c: E2 [18:48:05]MH_I2C_Read... [18:48:05]Read from MH i2c: E2 17 00 [18:48:05]MH_I2C_Read... [18:48:05]Read from MH i2c: E2 17 00 72 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 41 [18:48:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [18:48:05]wFMCommunicate OK [18:48:05]requested_item fd.num is exist - process it [18:48:05]SAM_PROTO_GetFieldsCounters [18:48:05]wFMCommunicate request_size=4 [18:48:05]MH_SAM_APDU [18:48:05]CAPDU: 80 13 00 00 [18:48:05]Write to MH i2c: E2 08 00 73 02 80 13 00 00 00 00 00 00 F1 [18:48:05]Write i2c OK [18:48:05]MH_I2C_Read... [18:48:05]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:48:05]Read from MH i2c: E2 [18:48:05]MH_I2C_Read... [18:48:05]Read from MH i2c: E2 62 00 [18:48:05]MH_I2C_Read... [18:48:05]Read from MH i2c: E2 62 00 73 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 6A 10 00 00 0E 04 04 00 54 00 00 00 12 04 04 00 3C 00 00 00 5E 04 04 00 3C 00 00 00 57 04 04 00 3D 00 00 00 19 04 04 00 00 00 00 00 90 00 98 [18:48:05]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 6A 10 00 00 0E 04 04 00 54 00 00 00 12 04 04 00 3C 00 00 00 5E 04 04 00 3C 00 00 00 57 04 04 00 3D 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:48:05]wFMCommunicate OK [18:48:05]SAM_PROTO_GetFieldsCounters done [18:48:05]requested_item shift.num is exist - process it [18:48:05]requested_item shift.opened is exist - process it [18:48:05]req_shift_opened [18:48:05]FM_GetShiftState [18:48:05]SAM_PROTO_GetShiftState [18:48:05]wFMCommunicate request_size=4 [18:48:05]MH_SAM_APDU [18:48:05]CAPDU: 80 13 01 00 [18:48:05]Write to MH i2c: E2 08 00 74 02 80 13 01 00 00 00 00 00 F3 [18:48:05]Write i2c OK [18:48:05]MH_I2C_Read... [18:48:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:48:05]Read from MH i2c: E2 [18:48:05]MH_I2C_Read... [18:48:05]Read from MH i2c: E2 0E 00 [18:48:05]MH_I2C_Read... [18:48:05]Read from MH i2c: E2 0E 00 74 02 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 94 [18:48:05]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [18:48:05]wFMCommunicate OK [18:48:05]SAM_PROTO_GetShiftState done [18:48:05]FM_GetShiftState done [18:48:05]req_shift_opened done [18:48:05]requested_item shift.open_date is exist - process it [18:48:05]req_shift_open_date [18:48:05]req_shift_open_date done [18:48:05]produce_requested_data done [18:48:05]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4202,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765} [18:48:05]process_action_free close_receipt [18:48:05]json_value_free [18:48:05]json_value_free done [18:48:05]process_json_proto returns [18:48:05]Send response to host [18:48:05]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4202,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765}}} [18:48:05]free response buf [18:48:05]execute_script done [18:48:05]execute_script returns [18:48:05]free content buf [18:48:05]Sock 9.Close socket [18:48:05]Sock 9.Thread stoped [18:48:08]OFD Sender: No OFD packet to send [18:48:13]OFD Sender: No OFD packet to send [18:48:18]OFD Sender: No OFD packet to send [18:48:23]OFD Sender: No OFD packet to send [18:48:28]OFD Sender: No OFD packet to send [18:48:33]OFD Sender: No OFD packet to send [18:48:38]OFD Sender: No OFD packet to send [18:48:43]OFD Sender: No OFD packet to send [18:48:48]OFD Sender: No OFD packet to send [18:48:53]OFD Sender: No OFD packet to send [18:48:58]OFD Sender: No OFD packet to send [18:49:03]OFD Sender: No OFD packet to send [18:49:08]OFD Sender: No OFD packet to send [18:49:13]OFD Sender: No OFD packet to send [18:49:18]OFD Sender: No OFD packet to send [18:49:23]OFD Sender: No OFD packet to send [18:49:28]OFD Sender: No OFD packet to send [18:49:33]OFD Sender: No OFD packet to send [18:49:38]OFD Sender: No OFD packet to send [18:49:43]OFD Sender: No OFD packet to send [18:49:48]OFD Sender: No OFD packet to send [18:49:53]OFD Sender: No OFD packet to send [18:49:58]OFD Sender: No OFD packet to send [18:50:03]OFD Sender: No OFD packet to send [18:50:08]OFD Sender: No OFD packet to send [18:50:13]OFD Sender: No OFD packet to send [18:50:18]OFD Sender: No OFD packet to send [18:50:23]OFD Sender: No OFD packet to send [18:50:28]OFD Sender: No OFD packet to send [18:50:33]OFD Sender: No OFD packet to send [18:50:38]OFD Sender: No OFD packet to send [18:50:43]OFD Sender: No OFD packet to send [18:50:48]OFD Sender: No OFD packet to send [18:50:53]OFD Sender: No OFD packet to send [18:50:58]OFD Sender: No OFD packet to send [18:51:03]OFD Sender: No OFD packet to send [18:51:08]OFD Sender: No OFD packet to send [18:51:13]OFD Sender: No OFD packet to send [18:51:18]OFD Sender: No OFD packet to send [18:51:23]OFD Sender: No OFD packet to send [18:51:28]OFD Sender: No OFD packet to send [18:51:33]OFD Sender: No OFD packet to send [18:51:38]OFD Sender: No OFD packet to send [18:51:43]OFD Sender: No OFD packet to send [18:51:48]OFD Sender: No OFD packet to send [18:51:53]OFD Sender: No OFD packet to send [18:51:58]OFD Sender: No OFD packet to send [18:52:03]OFD Sender: No OFD packet to send [18:52:08]OFD Sender: No OFD packet to send [18:52:13]OFD Sender: No OFD packet to send [18:52:18]OFD Sender: No OFD packet to send [18:52:23]OFD Sender: No OFD packet to send [18:52:28]OFD Sender: No OFD packet to send [18:52:33]OFD Sender: No OFD packet to send [18:52:38]OFD Sender: No OFD packet to send [18:52:43]OFD Sender: No OFD packet to send [18:52:49]OFD Sender: No OFD packet to send [18:52:54]OFD Sender: No OFD packet to send [18:52:59]OFD Sender: No OFD packet to send [18:53:04]OFD Sender: No OFD packet to send [18:53:09]OFD Sender: No OFD packet to send [18:53:14]OFD Sender: No OFD packet to send [18:53:19]OFD Sender: No OFD packet to send [18:53:24]OFD Sender: No OFD packet to send [18:53:29]OFD Sender: No OFD packet to send [18:53:34]OFD Sender: No OFD packet to send [18:53:39]OFD Sender: No OFD packet to send [18:53:44]OFD Sender: No OFD packet to send [18:53:49]OFD Sender: No OFD packet to send [18:53:54]OFD Sender: No OFD packet to send [18:53:55]accept exits with 8 [18:53:55]New connection [18:53:55]New thread 3066772836 created [18:53:55]Thread 3066629476 joined [18:53:55]Waiting for new connection... [18:53:55] Sock 8.Parse request [18:53:55]Sock 8.Check first char [18:53:55]Sock 8.First char is OK [18:53:55]request: POST /json_proto HTTP/1.0 [18:53:55]Method: POST [18:53:55]URL: /json_proto [18:53:55]Method is POST - this is cgi request [18:53:55]url: /json_proto [18:53:55]query_string will be loaded in cgi processing [18:53:55]execute_cgi json_proto POST (null) [18:53:55]execute_cgi path=json_proto method=POST [18:53:55]POST find Content-Length [18:53:55]Host: 172.17.56.68:8080 [18:53:55]Content-Length: 618 [18:53:55]Content-Type: application/json [18:53:55] [18:53:55]POST finish read [18:53:55]Found Content-Length = 618 [18:53:55]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4456", "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" ] } } [18:53:55]execute_script... [18:53:55]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4456", "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" ] } } [18:53:55]POST & json_proto [18:53:55]process_json_proto [18:53:55]json parsed OK: [18:53:55]protocol is kg_v1.0 [18:53:55]action value=close_receipt [18:53:55]process_action close_receipt [18:53:55]cmd_close_receipt [18:53:55]MH_GetDate [18:53:55]Write to MH i2c: F0 00 00 75 02 66 [18:53:55]Write i2c OK [18:53:55]MH_I2C_Read... [18:53:55]Read from MH i2c: F0 [18:53:55]MH_I2C_Read... [18:53:55]Read from MH i2c: F0 09 00 [18:53:55]MH_I2C_Read... [18:53:55]Read from MH i2c: F0 09 00 75 02 00 44 B4 60 66 3A 8F 60 66 BC [18:53:55]GetLastDocTimeStamp 1717613282 [18:53:55]current date 1717613636 [18:53:55]FM_GetShiftState [18:53:55]SAM_PROTO_GetShiftState [18:53:55]wFMCommunicate request_size=4 [18:53:55]MH_SAM_APDU [18:53:55]CAPDU: 80 13 01 00 [18:53:55]Write to MH i2c: E2 08 00 76 02 80 13 01 00 00 00 00 00 F5 [18:53:55]Write i2c OK [18:53:55]MH_I2C_Read... [18:53:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:53:55]Read from MH i2c: E2 [18:53:55]MH_I2C_Read... [18:53:55]Read from MH i2c: E2 0E 00 [18:53:55]MH_I2C_Read... [18:53:55]Read from MH i2c: E2 0E 00 76 02 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 96 [18:53:55]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [18:53:55]wFMCommunicate OK [18:53:55]SAM_PROTO_GetShiftState done [18:53:55]FM_GetShiftState done [18:53:55]opened in 1717545765 [18:53:55]opened+sec_in_day 1717632165 [18:53:55]quantity*price = 13500 [18:53:55]sum+1 = 13501 [18:53:55]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 135.00 НСП 1% : 1.19 НДС 12% : 14.34 Наличными: 135.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 61 05.06.2024 18:53 Смена: 84 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4203 ФПД: 41012502903306 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T185356&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4203&fm=41012502903306&tin=02508201610067®Number=0000000000145775&sum=13500 0 [18:53:56]StoreToDocumentArchive [18:53:56]shift 84 fd 4203 [18:53:56]save to /storage/0084/doc_00004203 [18:53:56]save last doc name /storage/0084/doc_00004203 to /storage/kkm_last_doc_name [18:53:56]save OK [18:53:56]Clear old archive folders... [18:53:56]ProcessDocumentItem done err = 0, tmpTLVsize=272 [18:53:56]tlvbuf is 019C4710 [18:53:56]SAM_PROTO_ClearQueue [18:53:56]wFMCommunicate request_size=4 [18:53:56]MH_SAM_APDU [18:53:56]CAPDU: 80 09 00 00 [18:53:56]Write to MH i2c: E2 08 00 83 02 80 09 00 00 00 00 00 00 F7 [18:53:56]Write i2c OK [18:53:56]MH_I2C_Read... [18:53:56]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:53:56]Read from MH i2c: E2 [18:53:56]MH_I2C_Read... [18:53:56]Read from MH i2c: E2 03 00 [18:53:56]MH_I2C_Read... [18:53:56]Read from MH i2c: E2 03 00 83 02 00 90 00 F9 [18:53:56]RAPDU: 90 00 [18:53:56]wFMCommunicate OK [18:53:56]SAM_PROTO_ClearQueue done [18:53:56]KKMCreateOFDPacket [18:53:56]OFDProtocolAddRootSTLVToBuf [18:53:56]FM_MakeSignedData [18:53:56]FM_MakeSignedData [18:53:56]SAM_PROTO_SignData [18:53:56]wFMCommunicate request_size=4 [18:53:56]MH_SAM_APDU [18:53:56]CAPDU: 80 0D 01 02 [18:53:56]Write to MH i2c: E2 08 00 84 02 80 0D 01 02 00 00 00 00 FF [18:53:56]Write i2c OK [18:53:56]MH_I2C_Read... [18:53:56]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:53:56]Read from MH i2c: E2 [18:53:56]MH_I2C_Read... [18:53:56]Read from MH i2c: E2 03 00 [18:53:56]MH_I2C_Read... [18:53:56]Read from MH i2c: E2 03 00 84 02 00 90 00 FA [18:53:56]RAPDU: 90 00 [18:53:56]wFMCommunicate OK [18:53:56]wFMCommunicate request_size=255 [18:53:56]MH_SAM_APDU [18:53:56]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 3D 00 00 00 F4 03 04 00 44 B4 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 [18:53:56]Write to MH i2c: E2 02 01 85 02 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 3D 00 00 00 F4 03 04 00 44 B4 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 00 00 0D [18:53:56]Write i2c OK [18:53:56]MH_I2C_Read... [18:53:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:53:57]Read from MH i2c: E2 [18:53:57]MH_I2C_Read... [18:53:57]Read from MH i2c: E2 03 00 [18:53:57]MH_I2C_Read... [18:53:57]Read from MH i2c: E2 03 00 85 02 00 90 00 FB [18:53:57]RAPDU: 90 00 [18:53:57]wFMCommunicate OK [18:53:57]wFMCommunicate request_size=31 [18:53:57]MH_SAM_APDU [18:53:57]CAPDU: 80 0D 02 02 1A 30 30 39 35 39 33 36 30 10 04 04 00 6B 10 00 00 35 04 06 00 25 4C F7 AA BA 0A [18:53:57]Write to MH i2c: E2 22 00 86 02 80 0D 02 02 1A 00 30 30 39 35 39 33 36 30 10 04 04 00 6B 10 00 00 35 04 06 00 25 4C F7 AA BA 0A 00 00 7E [18:53:57]Write i2c OK [18:53:57]MH_I2C_Read... [18:53:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:53:57]Read from MH i2c: E2 [18:53:57]MH_I2C_Read... [18:53:57]Read from MH i2c: E2 03 00 [18:53:57]MH_I2C_Read... [18:53:57]Read from MH i2c: E2 03 00 86 02 00 90 00 FC [18:53:57]RAPDU: 90 00 [18:53:57]wFMCommunicate OK [18:53:57]wFMCommunicate request_size=4 [18:53:57]MH_SAM_APDU [18:53:57]CAPDU: 80 0D 03 02 [18:53:57]Write to MH i2c: E2 08 00 87 02 80 0D 03 02 00 00 00 00 04 [18:53:57]Write i2c OK [18:53:57]MH_I2C_Read... [18:53:57]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:53:57]Read from MH i2c: E2 [18:53:57]MH_I2C_Read... [18:53:57]Read from MH i2c: E2 0B 00 [18:53:57]MH_I2C_Read... [18:53:57]Read from MH i2c: E2 0B 00 87 02 00 0A 82 5D FF 0C 6F 08 AD 90 00 1D [18:53:57]RAPDU: 0A 82 5D FF 0C 6F 08 AD 90 00 [18:53:57]wFMCommunicate OK [18:53:57]SAM_PROTO_SignData done [18:53:57]FM_MakeSignedData done [18:53:57]CreateOFDProtocolMessage [18:53:57]wFMCommunicate request_size=4 [18:53:57]MH_SAM_APDU [18:53:57]CAPDU: 80 11 00 00 [18:53:57]Write to MH i2c: E2 08 00 88 02 80 11 00 00 00 00 00 00 04 [18:53:57]Write i2c OK [18:53:57]MH_I2C_Read... [18:53:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:53:57]Read from MH i2c: E2 [18:53:57]MH_I2C_Read... [18:53:57]Read from MH i2c: E2 17 00 [18:53:57]MH_I2C_Read... [18:53:57]Read from MH i2c: E2 17 00 88 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 57 [18:53:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [18:53:57]wFMCommunicate OK [18:53:57]CreateOFDProtocolMessage done [18:53:57]OFDSenderStorePacket 4203 [18:53:57]StoreOFDPacket docnum=4203 [18:53:57]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 24 01 00 00 8B AC 1C 01 91 C9 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 3D 00 00 00 F4 03 04 00 44 B4 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 6B 10 00 00 35 04 06 00 25 4C F7 AA BA 0A 0A 82 5D FF 0C 6F 08 AD [18:53:57]CheckFolder [18:53:57]dirname=/storage/ofd_packets [18:53:57]CheckFolder done [18:53:57]ProducePacketName [18:53:57]name=ofd_packets/00004203 [18:53:57]NVStorageSaveData ofd_packets/00004203 [18:53:57]File name is /storage/ofd_packets/00004203 [18:53:57]Write 322 bytes [18:53:57]NVStorageSaveData done [18:53:57]OFDSenderStorePacket done [18:53:57]KKMCreateOFDPacket done [18:53:57]NVStorageSaveData kkm_last_timestamp [18:53:57]File name is /storage/kkm_last_timestamp [18:53:57]Write 4 bytes [18:53:57]NVStorageSaveData done [18:53:57]ExternCall_PrintAddStr [18:53:57]wPrintStart [18:53:57]Write to MH i2c: 01 00 00 89 02 8B [18:53:57]Write i2c OK [18:53:57]MH_I2C_Read... [18:53:57]Read from MH i2c: 01 [18:53:57]MH_I2C_Read... [18:53:57]Read from MH i2c: 01 07 00 [18:53:57]MH_I2C_Read... [18:53:57]Read from MH i2c: 01 07 00 89 02 00 00 00 00 00 FF 0F A0 [18:53:57]RasterBufferAndPrint [18:53:57]line Счет N : (3)4456 [18:53:57]line ИНН: 02508201610067 [18:53:57]line Контрольно-Кассовый Чек [18:53:57]line ПРОДАЖА [18:53:57]line Товар: 48745000 [18:53:57]line Сигареты Winston Purple Mix [18:53:57]line 1.000 * 135.00 [18:53:57]line = 135.00 [18:53:57]line НДС 12% НСП 1% [18:53:57]line > о реализуемом товаре [18:53:57]line ИТОГО: 135.00 [18:53:57]line НСП 1% : 1.19 [18:53:57]line НДС 12% : 14.34 [18:53:57]line Наличными: 135.00 [18:53:57]line Безнал.: 0.00 [18:53:57]line Место: АЗС № 116 "Партнер Нефть" [18:53:57]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [18:53:57]line СНО: Общий режим [18:53:57]line Чек 61 05.06.2024 18:53 [18:53:57]line Смена: 84 ФФД: 1.0 [18:53:57]line ЗНМ: 0300000233 [18:53:57]line РНМ: 0000000000145775 [18:53:57]line Версия ККМ: v1.0 [18:53:57]line ФМ: 0000000000959360 [18:53:57]line ФД: 4203 [18:53:57]line ФПД: 41012502903306 [18:53:57]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T185356&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4203&fm=41012502903306&tin=02508201610067®Number=0000000000145775&sum=13500 [18:53:57]line 0 [18:53:57]OFD Sender: Processing packet 4203 [packets to send 2, broken 1] [18:53:57]ProducePacketName [18:53:57]name=ofd_packets/00004203 [18:53:57]OFD Sender: To server: pG, [18:53:57]CommunicateWithHost lk.salyk.kg:30040 [18:53:57]ConnectInit lk.salyk.kg [18:53:57]written 0, free lines is 4095 [18:53:57]Connected sock=10 [18:53:57]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 24 01 00 00 8B AC 1C 01 91 C9 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 3D 00 00 00 F4 03 04 00 44 B4 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 6B 10 00 00 35 04 06 00 25 4C F7 AA BA 0A 0A 82 5D FF 0C 6F 08 AD [18:53:57]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 FD B6 47 00 75 8A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 6B 10 00 00 F4 03 04 00 46 60 60 66 B6 04 01 00 00 DA D5 9A F6 67 25 0F 51 [18:53:57]CommunicateWithHost err = 0 [18:53:57]CheckOFDResponse [18:53:57]1017 (14) - 77093643461234 [18:53:57]1041 (16) - 0000000000959360 [18:53:57]1040 (4) - 4203 [18:53:57]1012 (4) - 05.06.2024 12:55 [18:53:57]1206 (1) - 0 [18:53:57]OFD Sender: Remove packet 4203 [18:53:57]ProducePacketName [18:53:57]name=ofd_packets/00004203 [18:53:57]NVStorageDeleteData [18:53:57]Write to MH i2c: 01 00 00 B1 02 B3 [18:53:57]Write i2c OK [18:53:57]MH_I2C_Read... [18:53:57]Read from MH i2c: 01 [18:53:57]MH_I2C_Read... [18:53:57]Read from MH i2c: 01 07 00 [18:53:57]MH_I2C_Read... [18:53:57]Read from MH i2c: 01 07 00 B1 02 00 00 00 00 00 B4 0C 7A [18:53:57]RasterBufferAndPrint [18:53:57]line [18:53:57]line [18:53:57]line [18:53:57]line [18:53:57]line [18:53:57]written 0, free lines is 3257 [18:53:57]MH_Cut [18:53:57]Write to MH i2c: D1 01 00 B8 02 01 8C [18:53:57]Write i2c OK [18:53:57]MH_I2C_Read... [18:53:57]Read from MH i2c: D1 [18:53:57]MH_I2C_Read... [18:53:57]Read from MH i2c: D1 01 00 [18:53:57]MH_I2C_Read... [18:53:57]Read from MH i2c: D1 01 00 B8 02 00 8B [18:53:57]Write to MH i2c: 01 00 00 B9 02 BB [18:53:57]Write i2c OK [18:53:57]MH_I2C_Read... [18:53:58]OFD Sender: No OFD packet to send [18:53:58]*** Cut start [18:53:58]*** Partial cut [18:53:58]*** CUTSNS_PIN = 1 [18:53:58]*** CUTSNS_PIN = 0 [18:53:59]*** Brake cut motor [18:53:59]Read from MH i2c: 01 [18:53:59]MH_I2C_Read... [18:53:59]*** Stop cut motor [18:53:59]*** Cut end [18:53:59]Read from MH i2c: 01 07 00 [18:53:59]MH_I2C_Read... [18:53:59]Read from MH i2c: 01 07 00 B9 02 00 00 00 00 00 FF 0F D0 [18:53:59]process_action close_receipt done [18:53:59]requested_data is exist [18:53:59]produce_requested_data [18:53:59]requested_item fm.sn is exist - process it [18:53:59]wFMCommunicate request_size=4 [18:53:59]MH_SAM_APDU [18:53:59]CAPDU: 80 11 00 00 [18:53:59]Write to MH i2c: E2 08 00 BA 02 80 11 00 00 00 00 00 00 36 [18:53:59]Write i2c OK [18:53:59]MH_I2C_Read... [18:53:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:53:59]Read from MH i2c: E2 [18:53:59]MH_I2C_Read... [18:53:59]Read from MH i2c: E2 17 00 [18:53:59]MH_I2C_Read... [18:53:59]Read from MH i2c: E2 17 00 BA 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 89 [18:53:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [18:53:59]wFMCommunicate OK [18:53:59]requested_item fd.num is exist - process it [18:53:59]SAM_PROTO_GetFieldsCounters [18:53:59]wFMCommunicate request_size=4 [18:53:59]MH_SAM_APDU [18:53:59]CAPDU: 80 13 00 00 [18:53:59]Write to MH i2c: E2 08 00 BB 02 80 13 00 00 00 00 00 00 39 [18:53:59]Write i2c OK [18:53:59]MH_I2C_Read... [18:53:59]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:53:59]Read from MH i2c: E2 [18:53:59]MH_I2C_Read... [18:53:59]Read from MH i2c: E2 62 00 [18:53:59]MH_I2C_Read... [18:53:59]Read from MH i2c: E2 62 00 BB 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 6B 10 00 00 0E 04 04 00 54 00 00 00 12 04 04 00 3D 00 00 00 5E 04 04 00 3D 00 00 00 57 04 04 00 3E 00 00 00 19 04 04 00 00 00 00 00 90 00 E4 [18:53:59]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 6B 10 00 00 0E 04 04 00 54 00 00 00 12 04 04 00 3D 00 00 00 5E 04 04 00 3D 00 00 00 57 04 04 00 3E 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:53:59]wFMCommunicate OK [18:53:59]SAM_PROTO_GetFieldsCounters done [18:53:59]requested_item shift.num is exist - process it [18:53:59]requested_item shift.opened is exist - process it [18:53:59]req_shift_opened [18:53:59]FM_GetShiftState [18:53:59]SAM_PROTO_GetShiftState [18:53:59]wFMCommunicate request_size=4 [18:53:59]MH_SAM_APDU [18:53:59]CAPDU: 80 13 01 00 [18:53:59]Write to MH i2c: E2 08 00 BC 02 80 13 01 00 00 00 00 00 3B [18:53:59]Write i2c OK [18:53:59]MH_I2C_Read... [18:53:59]Read from MH i2c: E2 [18:53:59]MH_I2C_Read... [18:53:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:53:59]Read from MH i2c: E2 0E 00 [18:53:59]MH_I2C_Read... [18:53:59]Read from MH i2c: E2 0E 00 BC 02 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 DC [18:53:59]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [18:53:59]wFMCommunicate OK [18:53:59]SAM_PROTO_GetShiftState done [18:53:59]FM_GetShiftState done [18:53:59]req_shift_opened done [18:53:59]requested_item shift.open_date is exist - process it [18:53:59]req_shift_open_date [18:53:59]req_shift_open_date done [18:53:59]produce_requested_data done [18:53:59]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4203,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765} [18:53:59]process_action_free close_receipt [18:53:59]json_value_free [18:53:59]json_value_free done [18:53:59]process_json_proto returns [18:53:59]Send response to host [18:53:59]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4203,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765}}} [18:53:59]free response buf [18:53:59]execute_script done [18:53:59]execute_script returns [18:53:59]free content buf [18:53:59]Sock 8.Close socket [18:53:59]Sock 8.Thread stoped [18:54:03]OFD Sender: No OFD packet to send [18:54:08]OFD Sender: No OFD packet to send [18:54:13]OFD Sender: No OFD packet to send [18:54:18]OFD Sender: No OFD packet to send [18:54:23]OFD Sender: No OFD packet to send [18:54:28]OFD Sender: No OFD packet to send [18:54:33]OFD Sender: No OFD packet to send [18:54:38]OFD Sender: No OFD packet to send [18:54:43]OFD Sender: No OFD packet to send [18:54:48]OFD Sender: No OFD packet to send [18:54:50]accept exits with 9 [18:54:50]New connection [18:54:50]New thread 3066629476 created [18:54:50]Thread 3066772836 joined [18:54:50]Waiting for new connection... [18:54:50] Sock 9.Parse request [18:54:50]Sock 9.Check first char [18:54:50]Sock 9.First char is OK [18:54:50]request: POST /json_proto HTTP/1.0 [18:54:50]Method: POST [18:54:50]URL: /json_proto [18:54:50]Method is POST - this is cgi request [18:54:50]url: /json_proto [18:54:50]query_string will be loaded in cgi processing [18:54:50]execute_cgi json_proto POST (null) [18:54:50]execute_cgi path=json_proto method=POST [18:54:50]POST find Content-Length [18:54:50]Host: 172.17.56.68:8080 [18:54:50]Content-Length: 657 [18:54:50]Content-Type: application/json [18:54:50] [18:54:50]POST finish read [18:54:50]Found Content-Length = 657 [18:54:50]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4457", "tax_sys" : 0, "items" : [ { "code": "4700000481453", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro Max 0,45 \u0436/\u0431", "price" : 85.00, "quantity" : 2.000, "sum" : 170.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" ] } } [18:54:50]execute_script... [18:54: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)4457", "tax_sys" : 0, "items" : [ { "code": "4700000481453", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro Max 0,45 \u0436/\u0431", "price" : 85.00, "quantity" : 2.000, "sum" : 170.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" ] } } [18:54:50]POST & json_proto [18:54:50]process_json_proto [18:54:50]json parsed OK: [18:54:50]protocol is kg_v1.0 [18:54:50]action value=close_receipt [18:54:50]process_action close_receipt [18:54:50]cmd_close_receipt [18:54:50]MH_GetDate [18:54:50]Write to MH i2c: F0 00 00 BD 02 AE [18:54:50]Write i2c OK [18:54:50]MH_I2C_Read... [18:54:50]Read from MH i2c: F0 [18:54:50]MH_I2C_Read... [18:54:50]Read from MH i2c: F0 09 00 [18:54:50]MH_I2C_Read... [18:54:50]Read from MH i2c: F0 09 00 BD 02 00 7B B4 60 66 3A 8F 60 66 3B [18:54:50]GetLastDocTimeStamp 1717613636 [18:54:50]current date 1717613691 [18:54:50]FM_GetShiftState [18:54:50]SAM_PROTO_GetShiftState [18:54:50]wFMCommunicate request_size=4 [18:54:50]MH_SAM_APDU [18:54:50]CAPDU: 80 13 01 00 [18:54:50]Write to MH i2c: E2 08 00 BE 02 80 13 01 00 00 00 00 00 3D [18:54:50]Write i2c OK [18:54:50]MH_I2C_Read... [18:54:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:54:50]Read from MH i2c: E2 [18:54:50]MH_I2C_Read... [18:54:50]Read from MH i2c: E2 0E 00 [18:54:50]MH_I2C_Read... [18:54:50]Read from MH i2c: E2 0E 00 BE 02 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 DE [18:54:50]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [18:54:50]wFMCommunicate OK [18:54:50]SAM_PROTO_GetShiftState done [18:54:50]FM_GetShiftState done [18:54:50]opened in 1717545765 [18:54:50]opened+sec_in_day 1717632165 [18:54:50]quantity*price = 17000 [18:54:50]sum+1 = 17001 [18:54:50]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 170.00 НСП 1% : 1.50 НДС 12% : 18.05 Наличными: 170.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 62 05.06.2024 18:54 Смена: 84 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4204 ФПД: 46868105769361 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T185451&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4204&fm=46868105769361&tin=02508201610067®Number=0000000000145775&sum=17000 0 [18:54:51]StoreToDocumentArchive [18:54:51]shift 84 fd 4204 [18:54:51]save to /storage/0084/doc_00004204 [18:54:51]save last doc name /storage/0084/doc_00004204 to /storage/kkm_last_doc_name [18:54:51]save OK [18:54:51]Clear old archive folders... [18:54:51]ProcessDocumentItem done err = 0, tmpTLVsize=288 [18:54:51]tlvbuf is 019C46C0 [18:54:51]SAM_PROTO_ClearQueue [18:54:51]wFMCommunicate request_size=4 [18:54:51]MH_SAM_APDU [18:54:51]CAPDU: 80 09 00 00 [18:54:51]Write to MH i2c: E2 08 00 CB 02 80 09 00 00 00 00 00 00 3F [18:54:51]Write i2c OK [18:54:51]MH_I2C_Read... [18:54:51]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:54:51]Read from MH i2c: E2 [18:54:51]MH_I2C_Read... [18:54:51]Read from MH i2c: E2 03 00 [18:54:51]MH_I2C_Read... [18:54:51]Read from MH i2c: E2 03 00 CB 02 00 90 00 41 [18:54:51]RAPDU: 90 00 [18:54:51]wFMCommunicate OK [18:54:51]SAM_PROTO_ClearQueue done [18:54:51]KKMCreateOFDPacket [18:54:51]OFDProtocolAddRootSTLVToBuf [18:54:51]FM_MakeSignedData [18:54:51]FM_MakeSignedData [18:54:51]SAM_PROTO_SignData [18:54:51]wFMCommunicate request_size=4 [18:54:51]MH_SAM_APDU [18:54:51]CAPDU: 80 0D 01 02 [18:54:51]Write to MH i2c: E2 08 00 CC 02 80 0D 01 02 00 00 00 00 47 [18:54:51]Write i2c OK [18:54:51]MH_I2C_Read... [18:54:51]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:54:51]Read from MH i2c: E2 [18:54:51]MH_I2C_Read... [18:54:51]Read from MH i2c: E2 03 00 [18:54:51]MH_I2C_Read... [18:54:51]Read from MH i2c: E2 03 00 CC 02 00 90 00 42 [18:54:51]RAPDU: 90 00 [18:54:51]wFMCommunicate OK [18:54:51]wFMCommunicate request_size=255 [18:54:51]MH_SAM_APDU [18:54:51]CAPDU: 80 0D 02 02 FA 03 00 20 01 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 34 35 33 06 04 2E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 4D 61 78 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 68 42 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 96 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 3E 00 00 00 F4 03 04 00 7B B4 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 [18:54:51]Write to MH i2c: E2 02 01 CD 02 80 0D 02 02 FA 00 03 00 20 01 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 34 35 33 06 04 2E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 4D 61 78 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 68 42 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 96 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 3E 00 00 00 F4 03 04 00 7B B4 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 00 00 52 [18:54:51]Write i2c OK [18:54:51]MH_I2C_Read... [18:54:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:54:52]Read from MH i2c: E2 [18:54:52]MH_I2C_Read... [18:54:52]Read from MH i2c: E2 03 00 [18:54:52]MH_I2C_Read... [18:54:52]Read from MH i2c: E2 03 00 CD 02 00 90 00 43 [18:54:52]RAPDU: 90 00 [18:54:52]wFMCommunicate OK [18:54:52]wFMCommunicate request_size=47 [18:54:52]MH_SAM_APDU [18:54:52]CAPDU: 80 0D 02 02 2A 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 6C 10 00 00 35 04 06 00 2A A0 54 CB B1 91 [18:54:52]Write to MH i2c: E2 32 00 CE 02 80 0D 02 02 2A 00 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 6C 10 00 00 35 04 06 00 2A A0 54 CB B1 91 00 00 B9 [18:54:52]Write i2c OK [18:54:52]MH_I2C_Read... [18:54:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:54:52]Read from MH i2c: E2 [18:54:52]MH_I2C_Read... [18:54:52]Read from MH i2c: E2 03 00 [18:54:52]MH_I2C_Read... [18:54:52]Read from MH i2c: E2 03 00 CE 02 00 90 00 44 [18:54:52]RAPDU: 90 00 [18:54:52]wFMCommunicate OK [18:54:52]wFMCommunicate request_size=4 [18:54:52]MH_SAM_APDU [18:54:52]CAPDU: 80 0D 03 02 [18:54:52]Write to MH i2c: E2 08 00 CF 02 80 0D 03 02 00 00 00 00 4C [18:54:52]Write i2c OK [18:54:52]MH_I2C_Read... [18:54:52]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:54:52]Read from MH i2c: E2 [18:54:52]MH_I2C_Read... [18:54:52]Read from MH i2c: E2 0B 00 [18:54:52]MH_I2C_Read... [18:54:52]Read from MH i2c: E2 0B 00 CF 02 00 9D 5D 85 0D E3 07 9C 85 90 00 E4 [18:54:52]RAPDU: 9D 5D 85 0D E3 07 9C 85 90 00 [18:54:52]wFMCommunicate OK [18:54:52]SAM_PROTO_SignData done [18:54:52]FM_MakeSignedData done [18:54:52]CreateOFDProtocolMessage [18:54:52]wFMCommunicate request_size=4 [18:54:52]MH_SAM_APDU [18:54:52]CAPDU: 80 11 00 00 [18:54:52]Write to MH i2c: E2 08 00 D0 02 80 11 00 00 00 00 00 00 4C [18:54:52]Write i2c OK [18:54:52]MH_I2C_Read... [18:54:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:54:52]Read from MH i2c: E2 [18:54:52]MH_I2C_Read... [18:54:52]Read from MH i2c: E2 17 00 [18:54:52]MH_I2C_Read... [18:54:52]Read from MH i2c: E2 17 00 D0 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 9F [18:54:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [18:54:52]wFMCommunicate OK [18:54:52]CreateOFDProtocolMessage done [18:54:52]OFDSenderStorePacket 4204 [18:54:52]StoreOFDPacket docnum=4204 [18:54:52]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 34 01 00 00 B9 22 2C 01 D8 DF 5A 03 01 00 03 00 20 01 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 34 35 33 06 04 2E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 4D 61 78 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 68 42 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 96 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 3E 00 00 00 F4 03 04 00 7B B4 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 6C 10 00 00 35 04 06 00 2A A0 54 CB B1 91 9D 5D 85 0D E3 07 9C 85 [18:54:52]CheckFolder [18:54:52]dirname=/storage/ofd_packets [18:54:52]CheckFolder done [18:54:52]ProducePacketName [18:54:52]name=ofd_packets/00004204 [18:54:52]NVStorageSaveData ofd_packets/00004204 [18:54:52]File name is /storage/ofd_packets/00004204 [18:54:52]Write 338 bytes [18:54:52]NVStorageSaveData done [18:54:52]OFDSenderStorePacket done [18:54:52]KKMCreateOFDPacket done [18:54:52]NVStorageSaveData kkm_last_timestamp [18:54:52]File name is /storage/kkm_last_timestamp [18:54:52]Write 4 bytes [18:54:52]NVStorageSaveData done [18:54:52]ExternCall_PrintAddStr [18:54:52]wPrintStart [18:54:52]Write to MH i2c: 01 00 00 D1 02 D3 [18:54:52]Write i2c OK [18:54:52]MH_I2C_Read... [18:54:52]Read from MH i2c: 01 [18:54:52]MH_I2C_Read... [18:54:52]Read from MH i2c: 01 07 00 [18:54:52]MH_I2C_Read... [18:54:52]Read from MH i2c: 01 07 00 D1 02 00 00 00 00 00 FF 0F E8 [18:54:52]RasterBufferAndPrint [18:54:52]line Счет N : (3)4457 [18:54:52]line ИНН: 02508201610067 [18:54:52]line Контрольно-Кассовый Чек [18:54:52]line ПРОДАЖА [18:54:52]line Товар: 4700000481453 [18:54:52]line Напиток энерг Nitro Max 0,45 ж/б [18:54:52]line 2.000 * 85.00 [18:54:52]line = 170.00 [18:54:52]line НДС 12% НСП 1% [18:54:52]line > о реализуемом товаре [18:54:52]line ИТОГО: 170.00 [18:54:52]line НСП 1% : 1.50 [18:54:52]line НДС 12% : 18.05 [18:54:52]line Наличными: 170.00 [18:54:52]line Безнал.: 0.00 [18:54:52]line Место: АЗС № 116 "Партнер Нефть" [18:54:52]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [18:54:52]line СНО: Общий режим [18:54:52]line Чек 62 05.06.2024 18:54 [18:54:52]line Смена: 84 ФФД: 1.0 [18:54:52]line ЗНМ: 0300000233 [18:54:52]line РНМ: 0000000000145775 [18:54:52]line Версия ККМ: v1.0 [18:54:52]line ФМ: 0000000000959360 [18:54:52]line ФД: 4204 [18:54:52]line ФПД: 46868105769361 [18:54:52]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T185451&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4204&fm=46868105769361&tin=02508201610067®Number=0000000000145775&sum=17000 [18:54:52]line 0 [18:54:52]OFD Sender: Processing packet 4204 [packets to send 2, broken 1] [18:54:52]ProducePacketName [18:54:52]name=ofd_packets/00004204 [18:54:52]OFD Sender: To server: pG, [18:54:52]CommunicateWithHost lk.salyk.kg:30040 [18:54:52]ConnectInit lk.salyk.kg [18:54:52]written 0, free lines is 4095 [18:54:52]Connected sock=10 [18:54:52]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 34 01 00 00 B9 22 2C 01 D8 DF 5A 03 01 00 03 00 20 01 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 34 35 33 06 04 2E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 4D 61 78 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 68 42 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 96 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 3E 00 00 00 F4 03 04 00 7B B4 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 6C 10 00 00 35 04 06 00 2A A0 54 CB B1 91 9D 5D 85 0D E3 07 9C 85 [18:54:52]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 24 41 47 00 C0 58 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 6C 10 00 00 F4 03 04 00 7D 60 60 66 B6 04 01 00 00 DC 8E 2C 38 E5 B9 1B E6 [18:54:53]CommunicateWithHost err = 0 [18:54:53]CheckOFDResponse [18:54:53]1017 (14) - 77093643461234 [18:54:53]1041 (16) - 0000000000959360 [18:54:53]1040 (4) - 4204 [18:54:53]1012 (4) - 05.06.2024 12:56 [18:54:53]1206 (1) - 0 [18:54:53]OFD Sender: Remove packet 4204 [18:54:53]ProducePacketName [18:54:53]name=ofd_packets/00004204 [18:54:53]NVStorageDeleteData [18:54:53]Write to MH i2c: 01 00 00 FA 02 FC [18:54:53]Write i2c OK [18:54:53]MH_I2C_Read... [18:54:53]Read from MH i2c: 01 [18:54:53]MH_I2C_Read... [18:54:53]Read from MH i2c: 01 07 00 [18:54:53]MH_I2C_Read... [18:54:53]Read from MH i2c: 01 07 00 FA 02 00 00 00 00 00 AE 0C BD [18:54:53]RasterBufferAndPrint [18:54:53]line [18:54:53]line [18:54:53]line [18:54:53]line [18:54:53]line [18:54:53]written 0, free lines is 3249 [18:54:53]MH_Cut [18:54:53]Write to MH i2c: D1 01 00 01 03 01 D6 [18:54:53]Write i2c OK [18:54:53]MH_I2C_Read... [18:54:53]Read from MH i2c: D1 [18:54:53]MH_I2C_Read... [18:54:53]Read from MH i2c: D1 01 00 [18:54:53]MH_I2C_Read... [18:54:53]Read from MH i2c: D1 01 00 01 03 00 D5 [18:54:53]Write to MH i2c: 01 00 00 02 03 05 [18:54:53]Write i2c OK [18:54:53]MH_I2C_Read... [18:54:53]OFD Sender: No OFD packet to send [18:54:53]*** Cut start [18:54:53]*** Partial cut [18:54:53]*** CUTSNS_PIN = 1 [18:54:54]*** CUTSNS_PIN = 0 [18:54:54]*** Brake cut motor [18:54:54]Read from MH i2c: 01 [18:54:54]MH_I2C_Read... [18:54:54]*** Stop cut motor [18:54:54]*** Cut end [18:54:54]Read from MH i2c: 01 07 00 [18:54:54]MH_I2C_Read... [18:54:54]Read from MH i2c: 01 07 00 02 03 00 00 00 00 00 FF 0F 1A [18:54:54]process_action close_receipt done [18:54:54]requested_data is exist [18:54:54]produce_requested_data [18:54:54]requested_item fm.sn is exist - process it [18:54:54]wFMCommunicate request_size=4 [18:54:54]MH_SAM_APDU [18:54:54]CAPDU: 80 11 00 00 [18:54:54]Write to MH i2c: E2 08 00 03 03 80 11 00 00 00 00 00 00 80 [18:54:54]Write i2c OK [18:54:54]MH_I2C_Read... [18:54:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:54:54]Read from MH i2c: E2 [18:54:54]MH_I2C_Read... [18:54:54]Read from MH i2c: E2 17 00 [18:54:54]MH_I2C_Read... [18:54:54]Read from MH i2c: E2 17 00 03 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 D3 [18:54:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [18:54:54]wFMCommunicate OK [18:54:54]requested_item fd.num is exist - process it [18:54:54]SAM_PROTO_GetFieldsCounters [18:54:54]wFMCommunicate request_size=4 [18:54:54]MH_SAM_APDU [18:54:54]CAPDU: 80 13 00 00 [18:54:54]Write to MH i2c: E2 08 00 04 03 80 13 00 00 00 00 00 00 83 [18:54:54]Write i2c OK [18:54:54]MH_I2C_Read... [18:54:54]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:54:54]Read from MH i2c: E2 [18:54:54]MH_I2C_Read... [18:54:54]Read from MH i2c: E2 62 00 [18:54:54]MH_I2C_Read... [18:54:54]Read from MH i2c: E2 62 00 04 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 6C 10 00 00 0E 04 04 00 54 00 00 00 12 04 04 00 3E 00 00 00 5E 04 04 00 3E 00 00 00 57 04 04 00 3F 00 00 00 19 04 04 00 00 00 00 00 90 00 32 [18:54:54]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 6C 10 00 00 0E 04 04 00 54 00 00 00 12 04 04 00 3E 00 00 00 5E 04 04 00 3E 00 00 00 57 04 04 00 3F 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:54:54]wFMCommunicate OK [18:54:54]SAM_PROTO_GetFieldsCounters done [18:54:54]requested_item shift.num is exist - process it [18:54:54]requested_item shift.opened is exist - process it [18:54:54]req_shift_opened [18:54:54]FM_GetShiftState [18:54:54]SAM_PROTO_GetShiftState [18:54:54]wFMCommunicate request_size=4 [18:54:54]MH_SAM_APDU [18:54:54]CAPDU: 80 13 01 00 [18:54:54]Write to MH i2c: E2 08 00 05 03 80 13 01 00 00 00 00 00 85 [18:54:54]Write i2c OK [18:54:54]MH_I2C_Read... [18:54:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:54:54]Read from MH i2c: E2 [18:54:54]MH_I2C_Read... [18:54:54]Read from MH i2c: E2 0E 00 [18:54:54]MH_I2C_Read... [18:54:54]Read from MH i2c: E2 0E 00 05 03 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 26 [18:54:54]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [18:54:54]wFMCommunicate OK [18:54:54]SAM_PROTO_GetShiftState done [18:54:54]FM_GetShiftState done [18:54:54]req_shift_opened done [18:54:54]requested_item shift.open_date is exist - process it [18:54:54]req_shift_open_date [18:54:54]req_shift_open_date done [18:54:54]produce_requested_data done [18:54:54]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4204,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765} [18:54:54]process_action_free close_receipt [18:54:54]json_value_free [18:54:54]json_value_free done [18:54:54]process_json_proto returns [18:54:54]Send response to host [18:54:54]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4204,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765}}} [18:54:54]free response buf [18:54:54]execute_script done [18:54:54]execute_script returns [18:54:54]free content buf [18:54:54]Sock 9.Close socket [18:54:54]Sock 9.Thread stoped [18:54:58]OFD Sender: No OFD packet to send [18:55:03]OFD Sender: No OFD packet to send [18:55:08]OFD Sender: No OFD packet to send [18:55:13]OFD Sender: No OFD packet to send [18:55:18]OFD Sender: No OFD packet to send [18:55:23]OFD Sender: No OFD packet to send [18:55:28]OFD Sender: No OFD packet to send [18:55:33]OFD Sender: No OFD packet to send [18:55:38]OFD Sender: No OFD packet to send [18:55:43]OFD Sender: No OFD packet to send [18:55:48]OFD Sender: No OFD packet to send [18:55:53]OFD Sender: No OFD packet to send [18:55:58]OFD Sender: No OFD packet to send [18:56:03]OFD Sender: No OFD packet to send [18:56:08]OFD Sender: No OFD packet to send [18:56:08]accept exits with 8 [18:56:08]New connection [18:56:08]New thread 3066772836 created [18:56:08]Thread 3066629476 joined [18:56:08]Waiting for new connection... [18:56:08] Sock 8.Parse request [18:56:08]Sock 8.Check first char [18:56:08]Sock 8.First char is OK [18:56:08]request: POST /json_proto HTTP/1.0 [18:56:08]Method: POST [18:56:08]URL: /json_proto [18:56:08]Method is POST - this is cgi request [18:56:08]url: /json_proto [18:56:08]query_string will be loaded in cgi processing [18:56:08]execute_cgi json_proto POST (null) [18:56:08]execute_cgi path=json_proto method=POST [18:56:08]POST find Content-Length [18:56:08]Host: 172.17.56.68:8080 [18:56:08]Content-Length: 963 [18:56:08]Content-Type: application/json [18:56:08] [18:56:08]POST finish read [18:56:08]Found Content-Length = 963 [18:56:08]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4458", "tax_sys" : 0, "items" : [ { "code": "4870002325113", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A PEPSI \u0433\u0430\u0437\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0439 \u0441\u0442 0,25\u043B", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000310036", "name": "\u0412\u043E\u0434\u0430 \u0416\u0430\u043B\u0430\u043B\u0430\u0431\u0430\u0442 27 0,5\u043B", "price" : 35.00, "quantity" : 1.000, "sum" : 35.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" ] } } [18:56:08]execute_script... [18:56:08]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4458", "tax_sys" : 0, "items" : [ { "code": "4870002325113", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A PEPSI \u0433\u0430\u0437\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0439 \u0441\u0442 0,25\u043B", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000310036", "name": "\u0412\u043E\u0434\u0430 \u0416\u0430\u043B\u0430\u043B\u0430\u0431\u0430\u0442 27 0,5\u043B", "price" : 35.00, "quantity" : 1.000, "sum" : 35.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" ] } } [18:56:08]POST & json_proto [18:56:08]process_json_proto [18:56:08]json parsed OK: [18:56:08]protocol is kg_v1.0 [18:56:08]action value=close_receipt [18:56:08]process_action close_receipt [18:56:08]cmd_close_receipt [18:56:08]MH_GetDate [18:56:08]Write to MH i2c: F0 00 00 06 03 F8 [18:56:08]Write i2c OK [18:56:08]MH_I2C_Read... [18:56:08]Read from MH i2c: F0 [18:56:08]MH_I2C_Read... [18:56:08]Read from MH i2c: F0 09 00 [18:56:08]MH_I2C_Read... [18:56:08]Read from MH i2c: F0 09 00 06 03 00 CA B4 60 66 3A 8F 60 66 D4 [18:56:08]GetLastDocTimeStamp 1717613691 [18:56:08]current date 1717613770 [18:56:08]FM_GetShiftState [18:56:08]SAM_PROTO_GetShiftState [18:56:08]wFMCommunicate request_size=4 [18:56:08]MH_SAM_APDU [18:56:08]CAPDU: 80 13 01 00 [18:56:08]Write to MH i2c: E2 08 00 07 03 80 13 01 00 00 00 00 00 87 [18:56:08]Write i2c OK [18:56:08]MH_I2C_Read... [18:56:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:56:08]Read from MH i2c: E2 [18:56:08]MH_I2C_Read... [18:56:08]Read from MH i2c: E2 0E 00 [18:56:08]MH_I2C_Read... [18:56:08]Read from MH i2c: E2 0E 00 07 03 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 28 [18:56:08]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [18:56:08]wFMCommunicate OK [18:56:08]SAM_PROTO_GetShiftState done [18:56:08]FM_GetShiftState done [18:56:08]opened in 1717545765 [18:56:08]opened+sec_in_day 1717632165 [18:56:08]quantity*price = 9000 [18:56:08]sum+1 = 9001 [18:56:08]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000310036 Вода Жалалабат 27 0,5л 1.000 * 35.00 = 35.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 125.00 НСП 1% : 1.11 НДС 12% : 13.28 Наличными: 125.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 63 05.06.2024 18:56 Смена: 84 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4205 ФПД: 280011288483096 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T185610&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4205&fm=280011288483096&tin=02508201610067®Number=0000000000145775&sum=12500 0 [18:56:10]StoreToDocumentArchive [18:56:10]shift 84 fd 4205 [18:56:10]save to /storage/0084/doc_00004205 [18:56:10]save last doc name /storage/0084/doc_00004205 to /storage/kkm_last_doc_name [18:56:10]save OK [18:56:10]Clear old archive folders... [18:56:10]ProcessDocumentItem done err = 0, tmpTLVsize=407 [18:56:10]tlvbuf is 019AA9C0 [18:56:10]SAM_PROTO_ClearQueue [18:56:10]wFMCommunicate request_size=4 [18:56:10]MH_SAM_APDU [18:56:10]CAPDU: 80 09 00 00 [18:56:10]Write to MH i2c: E2 08 00 14 03 80 09 00 00 00 00 00 00 89 [18:56:10]Write i2c OK [18:56:10]MH_I2C_Read... [18:56:10]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:56:10]Read from MH i2c: E2 [18:56:10]MH_I2C_Read... [18:56:10]Read from MH i2c: E2 03 00 [18:56:10]MH_I2C_Read... [18:56:10]Read from MH i2c: E2 03 00 14 03 00 90 00 8B [18:56:10]RAPDU: 90 00 [18:56:10]wFMCommunicate OK [18:56:10]SAM_PROTO_ClearQueue done [18:56:10]KKMCreateOFDPacket [18:56:10]OFDProtocolAddRootSTLVToBuf [18:56:10]FM_MakeSignedData [18:56:10]FM_MakeSignedData [18:56:10]SAM_PROTO_SignData [18:56:10]wFMCommunicate request_size=4 [18:56:10]MH_SAM_APDU [18:56:10]CAPDU: 80 0D 01 02 [18:56:10]Write to MH i2c: E2 08 00 15 03 80 0D 01 02 00 00 00 00 91 [18:56:10]Write i2c OK [18:56:10]MH_I2C_Read... [18:56:10]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:56:10]Read from MH i2c: E2 [18:56:10]MH_I2C_Read... [18:56:10]Read from MH i2c: E2 03 00 [18:56:10]MH_I2C_Read... [18:56:10]Read from MH i2c: E2 03 00 15 03 00 90 00 8C [18:56:10]RAPDU: 90 00 [18:56:10]wFMCommunicate OK [18:56:10]wFMCommunicate request_size=255 [18:56:10]MH_SAM_APDU [18:56:10]CAPDU: 80 0D 02 02 FA 03 00 97 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 35 31 31 33 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 45 50 53 49 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 D1 81 D1 82 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 33 36 06 04 24 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 0D 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 [18:56:10]Write to MH i2c: E2 02 01 16 03 80 0D 02 02 FA 00 03 00 97 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 35 31 31 33 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 45 50 53 49 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 D1 81 D1 82 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 33 36 06 04 24 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 0D 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 00 DC [18:56:10]Write i2c OK [18:56:10]MH_I2C_Read... [18:56:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:56:10]Read from MH i2c: E2 [18:56:10]MH_I2C_Read... [18:56:10]Read from MH i2c: E2 03 00 [18:56:10]MH_I2C_Read... [18:56:10]Read from MH i2c: E2 03 00 16 03 00 90 00 8D [18:56:10]RAPDU: 90 00 [18:56:10]wFMCommunicate OK [18:56:10]wFMCommunicate request_size=166 [18:56:10]MH_SAM_APDU [18:56:10]CAPDU: 80 0D 02 02 A1 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 30 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 3F 00 00 00 F4 03 04 00 CA B4 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 6D 10 00 00 35 04 06 00 FE AB 35 62 15 18 [18:56:10]Write to MH i2c: E2 A9 00 17 03 80 0D 02 02 A1 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 30 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 3F 00 00 00 F4 03 04 00 CA B4 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 6D 10 00 00 35 04 06 00 FE AB 35 62 15 18 00 00 84 [18:56:10]Write i2c OK [18:56:10]MH_I2C_Read... [18:56:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:56:10]Read from MH i2c: E2 [18:56:10]MH_I2C_Read... [18:56:10]Read from MH i2c: E2 03 00 [18:56:10]MH_I2C_Read... [18:56:10]Read from MH i2c: E2 03 00 17 03 00 90 00 8E [18:56:10]RAPDU: 90 00 [18:56:10]wFMCommunicate OK [18:56:10]wFMCommunicate request_size=4 [18:56:10]MH_SAM_APDU [18:56:10]CAPDU: 80 0D 03 02 [18:56:10]Write to MH i2c: E2 08 00 18 03 80 0D 03 02 00 00 00 00 96 [18:56:10]Write i2c OK [18:56:10]MH_I2C_Read... [18:56:10]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:56:10]Read from MH i2c: E2 [18:56:10]MH_I2C_Read... [18:56:10]Read from MH i2c: E2 0B 00 [18:56:10]MH_I2C_Read... [18:56:10]Read from MH i2c: E2 0B 00 18 03 00 9E 9E FF 47 20 B3 9D 99 90 00 22 [18:56:10]RAPDU: 9E 9E FF 47 20 B3 9D 99 90 00 [18:56:10]wFMCommunicate OK [18:56:10]SAM_PROTO_SignData done [18:56:10]FM_MakeSignedData done [18:56:10]CreateOFDProtocolMessage [18:56:10]wFMCommunicate request_size=4 [18:56:10]MH_SAM_APDU [18:56:10]CAPDU: 80 11 00 00 [18:56:10]Write to MH i2c: E2 08 00 19 03 80 11 00 00 00 00 00 00 96 [18:56:10]Write i2c OK [18:56:10]MH_I2C_Read... [18:56:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:56:10]Read from MH i2c: E2 [18:56:10]MH_I2C_Read... [18:56:10]Read from MH i2c: E2 17 00 [18:56:10]MH_I2C_Read... [18:56:10]Read from MH i2c: E2 17 00 19 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 E9 [18:56:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [18:56:10]wFMCommunicate OK [18:56:10]CreateOFDProtocolMessage done [18:56:10]OFDSenderStorePacket 4205 [18:56:10]StoreOFDPacket docnum=4205 [18:56:10]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 AB 01 00 00 57 44 A3 01 4C 76 5A 03 01 00 03 00 97 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 35 31 31 33 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 45 50 53 49 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 D1 81 D1 82 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 33 36 06 04 24 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 0D 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 30 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 3F 00 00 00 F4 03 04 00 CA B4 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 6D 10 00 00 35 04 06 00 FE AB 35 62 15 18 9E 9E FF 47 20 B3 9D 99 [18:56:10]CheckFolder [18:56:10]dirname=/storage/ofd_packets [18:56:10]CheckFolder done [18:56:10]ProducePacketName [18:56:10]name=ofd_packets/00004205 [18:56:10]NVStorageSaveData ofd_packets/00004205 [18:56:10]File name is /storage/ofd_packets/00004205 [18:56:10]Write 457 bytes [18:56:10]NVStorageSaveData done [18:56:10]OFDSenderStorePacket done [18:56:10]KKMCreateOFDPacket done [18:56:10]NVStorageSaveData kkm_last_timestamp [18:56:10]File name is /storage/kkm_last_timestamp [18:56:10]Write 4 bytes [18:56:10]NVStorageSaveData done [18:56:10]ExternCall_PrintAddStr [18:56:10]wPrintStart [18:56:10]Write to MH i2c: 01 00 00 1A 03 1D [18:56:10]Write i2c OK [18:56:10]MH_I2C_Read... [18:56:10]Read from MH i2c: 01 [18:56:11]MH_I2C_Read... [18:56:11]OFD Sender: Processing packet 4205 [packets to send 2, broken 1] [18:56:11]Read from MH i2c: ProducePacketName [18:56:11]01 name=ofd_packets/00004205 [18:56:11]07 00 [18:56:11]OFD Sender: To server: pG, [18:56:11]MH_I2C_Read... [18:56:11]CommunicateWithHost lk.salyk.kg:30040 [18:56:11]ConnectInit lk.salyk.kg [18:56:11]Read from MH i2c: 01 07 00 1A 03 00 00 00 00 00 FF 0F 32 [18:56:11]RasterBufferAndPrint [18:56:11]line Счет N : (3)4458 [18:56:11]line ИНН: 02508201610067 [18:56:11]line Контрольно-Кассовый Чек [18:56:11]line ПРОДАЖА [18:56:11]line Товар: 4870002325113 [18:56:11]line Напиток PEPSI газированный ст 0,25л [18:56:11]line 1.000 * 90.00 [18:56:11]line = 90.00 [18:56:11]line НДС 12% НСП 1% [18:56:11]line > о реализуемом товаре [18:56:11]line Товар: 4700000310036 [18:56:11]line Вода Жалалабат 27 0,5л [18:56:11]line 1.000 * 35.00 [18:56:11]line = 35.00 [18:56:11]line НДС 12% НСП 1% [18:56:11]line > о реализуемом товаре [18:56:11]line ИТОГО: 125.00 [18:56:11]line НСП 1% : 1.11 [18:56:11]line НДС 12% : 13.28 [18:56:11]line Наличными: 125.00 [18:56:11]line Безнал.: 0.00 [18:56:11]line Место: АЗС № 116 "Партнер Нефть" [18:56:11]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [18:56:11]line СНО: Общий режим [18:56:11]line Чек 63 05.06.2024 18:56 [18:56:11]line Смена: 84 ФФД: 1.0 [18:56:11]line ЗНМ: 0300000233 [18:56:11]line РНМ: 0000000000145775 [18:56:11]line Версия ККМ: v1.0 [18:56:11]line ФМ: 0000000000959360 [18:56:11]line ФД: 4205 [18:56:11]line ФПД: 280011288483096 [18:56:11]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T185610&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4205&fm=280011288483096&tin=02508201610067®Number=0000000000145775&sum=12500 [18:56:11]line 0 [18:56:11]written 0, free lines is 4095 [18:56:11]Connected sock=10 [18:56:11]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 AB 01 00 00 57 44 A3 01 4C 76 5A 03 01 00 03 00 97 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 35 31 31 33 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 45 50 53 49 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 D1 81 D1 82 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 33 36 06 04 24 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 0D 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 30 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 3F 00 00 00 F4 03 04 00 CA B4 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 6D 10 00 00 35 04 06 00 FE AB 35 62 15 18 9E 9E FF 47 20 B3 9D 99 [18:56:11]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 9E 76 47 00 FF EA A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 6D 10 00 00 F4 03 04 00 CB 60 60 66 B6 04 01 00 00 7E 44 37 61 0C 51 5D D2 [18:56:11]CommunicateWithHost err = 0 [18:56:11]CheckOFDResponse [18:56:11]1017 (14) - 77093643461234 [18:56:11]1041 (16) - 0000000000959360 [18:56:11]1040 (4) - 4205 [18:56:11]1012 (4) - 05.06.2024 12:57 [18:56:11]1206 (1) - 0 [18:56:11]OFD Sender: Remove packet 4205 [18:56:11]ProducePacketName [18:56:11]name=ofd_packets/00004205 [18:56:11]NVStorageDeleteData [18:56:11]Write to MH i2c: 01 00 00 49 03 4C [18:56:11]Write i2c OK [18:56:11]MH_I2C_Read... [18:56:11]Read from MH i2c: 01 [18:56:11]MH_I2C_Read... [18:56:11]Read from MH i2c: 01 07 00 [18:56:11]MH_I2C_Read... [18:56:11]Read from MH i2c: 01 07 00 49 03 00 00 00 00 00 4F 0C AE [18:56:11]RasterBufferAndPrint [18:56:11]line [18:56:11]line [18:56:11]line [18:56:11]line [18:56:11]line [18:56:11]written 0, free lines is 3155 [18:56:11]MH_Cut [18:56:11]Write to MH i2c: D1 01 00 50 03 01 25 [18:56:11]Write i2c OK [18:56:11]MH_I2C_Read... [18:56:11]Read from MH i2c: D1 [18:56:11]MH_I2C_Read... [18:56:11]Read from MH i2c: D1 01 00 [18:56:11]MH_I2C_Read... [18:56:11]Read from MH i2c: D1 01 00 50 03 00 24 [18:56:11]Write to MH i2c: 01 00 00 51 03 54 [18:56:11]Write i2c OK [18:56:11]MH_I2C_Read... [18:56:11]OFD Sender: No OFD packet to send [18:56:12]*** Cut start [18:56:12]*** Partial cut [18:56:12]*** CUTSNS_PIN = 1 [18:56:12]*** CUTSNS_PIN = 0 [18:56:12]*** Brake cut motor [18:56:13]Read from MH i2c: 01 [18:56:13]MH_I2C_Read... [18:56:13]*** Stop cut motor [18:56:13]*** Cut end [18:56:13]Read from MH i2c: 01 07 00 [18:56:13]MH_I2C_Read... [18:56:13]Read from MH i2c: 01 07 00 51 03 00 00 00 00 00 FF 0F 69 [18:56:13]process_action close_receipt done [18:56:13]requested_data is exist [18:56:13]produce_requested_data [18:56:13]requested_item fm.sn is exist - process it [18:56:13]wFMCommunicate request_size=4 [18:56:13]MH_SAM_APDU [18:56:13]CAPDU: 80 11 00 00 [18:56:13]Write to MH i2c: E2 08 00 52 03 80 11 00 00 00 00 00 00 CF [18:56:13]Write i2c OK [18:56:13]MH_I2C_Read... [18:56:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:56:13]Read from MH i2c: E2 [18:56:13]MH_I2C_Read... [18:56:13]Read from MH i2c: E2 17 00 [18:56:13]MH_I2C_Read... [18:56:13]Read from MH i2c: E2 17 00 52 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 22 [18:56:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [18:56:13]wFMCommunicate OK [18:56:13]requested_item fd.num is exist - process it [18:56:13]SAM_PROTO_GetFieldsCounters [18:56:13]wFMCommunicate request_size=4 [18:56:13]MH_SAM_APDU [18:56:13]CAPDU: 80 13 00 00 [18:56:13]Write to MH i2c: E2 08 00 53 03 80 13 00 00 00 00 00 00 D2 [18:56:13]Write i2c OK [18:56:13]MH_I2C_Read... [18:56:13]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:56:13]Read from MH i2c: E2 [18:56:13]MH_I2C_Read... [18:56:13]Read from MH i2c: E2 62 00 [18:56:13]MH_I2C_Read... [18:56:13]Read from MH i2c: E2 62 00 53 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 6D 10 00 00 0E 04 04 00 54 00 00 00 12 04 04 00 3F 00 00 00 5E 04 04 00 3F 00 00 00 57 04 04 00 40 00 00 00 19 04 04 00 00 00 00 00 90 00 85 [18:56:13]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 6D 10 00 00 0E 04 04 00 54 00 00 00 12 04 04 00 3F 00 00 00 5E 04 04 00 3F 00 00 00 57 04 04 00 40 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:56:13]wFMCommunicate OK [18:56:13]SAM_PROTO_GetFieldsCounters done [18:56:13]requested_item shift.num is exist - process it [18:56:13]requested_item shift.opened is exist - process it [18:56:13]req_shift_opened [18:56:13]FM_GetShiftState [18:56:13]SAM_PROTO_GetShiftState [18:56:13]wFMCommunicate request_size=4 [18:56:13]MH_SAM_APDU [18:56:13]CAPDU: 80 13 01 00 [18:56:13]Write to MH i2c: E2 08 00 54 03 80 13 01 00 00 00 00 00 D4 [18:56:13]Write i2c OK [18:56:13]MH_I2C_Read... [18:56:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:56:13]Read from MH i2c: E2 [18:56:13]MH_I2C_Read... [18:56:13]Read from MH i2c: E2 0E 00 [18:56:13]MH_I2C_Read... [18:56:13]Read from MH i2c: E2 0E 00 54 03 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 75 [18:56:13]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [18:56:13]wFMCommunicate OK [18:56:13]SAM_PROTO_GetShiftState done [18:56:13]FM_GetShiftState done [18:56:13]req_shift_opened done [18:56:13]requested_item shift.open_date is exist - process it [18:56:13]req_shift_open_date [18:56:13]req_shift_open_date done [18:56:13]produce_requested_data done [18:56:13]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4205,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765} [18:56:13]process_action_free close_receipt [18:56:13]json_value_free [18:56:13]json_value_free done [18:56:13]process_json_proto returns [18:56:13]Send response to host [18:56:13]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4205,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765}}} [18:56:13]free response buf [18:56:13]execute_script done [18:56:13]execute_script returns [18:56:13]free content buf [18:56:13]Sock 8.Close socket [18:56:13]Sock 8.Thread stoped [18:56:16]OFD Sender: No OFD packet to send [18:56:21]OFD Sender: No OFD packet to send [18:56:26]OFD Sender: No OFD packet to send [18:56:31]OFD Sender: No OFD packet to send [18:56:36]OFD Sender: No OFD packet to send [18:56:41]OFD Sender: No OFD packet to send [18:56:46]OFD Sender: No OFD packet to send [18:56:51]OFD Sender: No OFD packet to send [18:56:56]OFD Sender: No OFD packet to send [18:57:01]OFD Sender: No OFD packet to send [18:57:06]OFD Sender: No OFD packet to send [18:57:11]OFD Sender: No OFD packet to send [18:57:16]OFD Sender: No OFD packet to send [18:57:21]OFD Sender: No OFD packet to send [18:57:26]OFD Sender: No OFD packet to send [18:57:31]OFD Sender: No OFD packet to send [18:57:36]OFD Sender: No OFD packet to send [18:57:41]OFD Sender: No OFD packet to send [18:57:46]OFD Sender: No OFD packet to send [18:57:51]OFD Sender: No OFD packet to send [18:57:56]OFD Sender: No OFD packet to send [18:58:01]OFD Sender: No OFD packet to send [18:58:06]OFD Sender: No OFD packet to send [18:58:11]OFD Sender: No OFD packet to send [18:58:16]OFD Sender: No OFD packet to send [18:58:21]OFD Sender: No OFD packet to send [18:58:26]OFD Sender: No OFD packet to send [18:58:31]OFD Sender: No OFD packet to send [18:58:36]OFD Sender: No OFD packet to send [18:58:41]OFD Sender: No OFD packet to send [18:58:46]OFD Sender: No OFD packet to send [18:58:51]OFD Sender: No OFD packet to send [18:58:56]OFD Sender: No OFD packet to send [18:59:01]OFD Sender: No OFD packet to send [18:59:06]OFD Sender: No OFD packet to send [18:59:11]OFD Sender: No OFD packet to send [18:59:16]OFD Sender: No OFD packet to send [18:59:21]OFD Sender: No OFD packet to send [18:59:26]OFD Sender: No OFD packet to send [18:59:31]OFD Sender: No OFD packet to send [18:59:36]OFD Sender: No OFD packet to send [18:59:41]OFD Sender: No OFD packet to send [18:59:46]OFD Sender: No OFD packet to send [18:59:51]OFD Sender: No OFD packet to send [18:59:57]OFD Sender: No OFD packet to send [19:00:02]OFD Sender: No OFD packet to send [19:00:07]OFD Sender: No OFD packet to send [19:00:12]OFD Sender: No OFD packet to send [19:00:17]OFD Sender: No OFD packet to send [19:00:22]OFD Sender: No OFD packet to send [19:00:27]OFD Sender: No OFD packet to send [19:00:32]OFD Sender: No OFD packet to send [19:00:37]OFD Sender: No OFD packet to send [19:00:42]OFD Sender: No OFD packet to send [19:00:47]OFD Sender: No OFD packet to send [19:00:52]OFD Sender: No OFD packet to send [19:00:57]OFD Sender: No OFD packet to send [19:01:02]OFD Sender: No OFD packet to send [19:01:07]OFD Sender: No OFD packet to send [19:01:12]OFD Sender: No OFD packet to send [19:01:17]OFD Sender: No OFD packet to send [19:01:22]OFD Sender: No OFD packet to send [19:01:27]OFD Sender: No OFD packet to send [19:01:32]OFD Sender: No OFD packet to send [19:01:37]OFD Sender: No OFD packet to send [19:01:42]OFD Sender: No OFD packet to send [19:01:47]OFD Sender: No OFD packet to send [19:01:52]OFD Sender: No OFD packet to send [19:01:57]OFD Sender: No OFD packet to send [19:02:02]OFD Sender: No OFD packet to send [19:02:07]OFD Sender: No OFD packet to send [19:02:12]OFD Sender: No OFD packet to send [19:02:17]OFD Sender: No OFD packet to send [19:02:22]OFD Sender: No OFD packet to send [19:02:27]OFD Sender: No OFD packet to send [19:02:32]OFD Sender: No OFD packet to send [19:02:37]OFD Sender: No OFD packet to send [19:02:42]OFD Sender: No OFD packet to send [19:02:47]OFD Sender: No OFD packet to send [19:02:52]OFD Sender: No OFD packet to send [19:02:57]OFD Sender: No OFD packet to send [19:03:02]OFD Sender: No OFD packet to send [19:03:07]OFD Sender: No OFD packet to send [19:03:12]OFD Sender: No OFD packet to send [19:03:17]OFD Sender: No OFD packet to send [19:03:22]OFD Sender: No OFD packet to send [19:03:27]OFD Sender: No OFD packet to send [19:03:32]OFD Sender: No OFD packet to send [19:03:37]OFD Sender: No OFD packet to send [19:03:42]OFD Sender: No OFD packet to send [19:03:47]OFD Sender: No OFD packet to send [19:03:52]OFD Sender: No OFD packet to send [19:03:57]OFD Sender: No OFD packet to send [19:04:02]OFD Sender: No OFD packet to send [19:04:07]OFD Sender: No OFD packet to send [19:04:12]OFD Sender: No OFD packet to send [19:04:17]OFD Sender: No OFD packet to send [19:04:22]OFD Sender: No OFD packet to send [19:04:27]OFD Sender: No OFD packet to send [19:04:32]OFD Sender: No OFD packet to send [19:04:37]OFD Sender: No OFD packet to send [19:04:42]OFD Sender: No OFD packet to send [19:04:47]OFD Sender: No OFD packet to send [19:04:52]OFD Sender: No OFD packet to send [19:04:57]OFD Sender: No OFD packet to send [19:05:02]OFD Sender: No OFD packet to send [19:05:07]OFD Sender: No OFD packet to send [19:05:12]OFD Sender: No OFD packet to send [19:05:17]OFD Sender: No OFD packet to send [19:05:22]OFD Sender: No OFD packet to send [19:05:27]OFD Sender: No OFD packet to send [19:05:32]OFD Sender: No OFD packet to send [19:05:37]OFD Sender: No OFD packet to send [19:05:42]OFD Sender: No OFD packet to send [19:05:47]OFD Sender: No OFD packet to send [19:05:52]OFD Sender: No OFD packet to send [19:05:57]OFD Sender: No OFD packet to send [19:06:02]OFD Sender: No OFD packet to send [19:06:07]OFD Sender: No OFD packet to send [19:06:12]OFD Sender: No OFD packet to send [19:06:17]OFD Sender: No OFD packet to send [19:06:22]OFD Sender: No OFD packet to send [19:06:27]OFD Sender: No OFD packet to send [19:06:32]OFD Sender: No OFD packet to send [19:06:37]OFD Sender: No OFD packet to send [19:06:42]OFD Sender: No OFD packet to send [19:06:47]OFD Sender: No OFD packet to send [19:06:52]OFD Sender: No OFD packet to send [19:06:57]OFD Sender: No OFD packet to send [19:07:02]OFD Sender: No OFD packet to send [19:07:07]OFD Sender: No OFD packet to send [19:07:12]OFD Sender: No OFD packet to send [19:07:17]OFD Sender: No OFD packet to send [19:07:22]OFD Sender: No OFD packet to send [19:07:27]OFD Sender: No OFD packet to send [19:07:32]OFD Sender: No OFD packet to send [19:07:37]OFD Sender: No OFD packet to send [19:07:42]OFD Sender: No OFD packet to send [19:07:47]OFD Sender: No OFD packet to send [19:07:52]OFD Sender: No OFD packet to send [19:07:57]OFD Sender: No OFD packet to send [19:08:02]OFD Sender: No OFD packet to send [19:08:07]OFD Sender: No OFD packet to send [19:08:12]OFD Sender: No OFD packet to send [19:08:17]OFD Sender: No OFD packet to send [19:08:22]OFD Sender: No OFD packet to send [19:08:27]OFD Sender: No OFD packet to send [19:08:32]OFD Sender: No OFD packet to send [19:08:37]OFD Sender: No OFD packet to send [19:08:42]OFD Sender: No OFD packet to send [19:08:47]OFD Sender: No OFD packet to send [19:08:52]OFD Sender: No OFD packet to send [19:08:57]OFD Sender: No OFD packet to send [19:09:02]OFD Sender: No OFD packet to send [19:09:07]OFD Sender: No OFD packet to send [19:09:12]OFD Sender: No OFD packet to send [19:09:17]OFD Sender: No OFD packet to send [19:09:22]OFD Sender: No OFD packet to send [19:09:27]OFD Sender: No OFD packet to send [19:09:32]OFD Sender: No OFD packet to send [19:09:37]OFD Sender: No OFD packet to send [19:09:42]OFD Sender: No OFD packet to send [19:09:47]OFD Sender: No OFD packet to send [19:09:52]OFD Sender: No OFD packet to send [19:09:57]OFD Sender: No OFD packet to send [19:10:02]OFD Sender: No OFD packet to send [19:10:07]OFD Sender: No OFD packet to send [19:10:12]OFD Sender: No OFD packet to send [19:10:17]OFD Sender: No OFD packet to send [19:10:22]OFD Sender: No OFD packet to send [19:10:27]OFD Sender: No OFD packet to send [19:10:32]OFD Sender: No OFD packet to send [19:10:37]OFD Sender: No OFD packet to send [19:10:42]OFD Sender: No OFD packet to send [19:10:47]OFD Sender: No OFD packet to send [19:10:52]OFD Sender: No OFD packet to send [19:10:57]OFD Sender: No OFD packet to send [19:11:02]OFD Sender: No OFD packet to send [19:11:07]OFD Sender: No OFD packet to send [19:11:12]OFD Sender: No OFD packet to send [19:11:17]OFD Sender: No OFD packet to send [19:11:22]OFD Sender: No OFD packet to send [19:11:27]OFD Sender: No OFD packet to send [19:11:32]OFD Sender: No OFD packet to send [19:11:37]OFD Sender: No OFD packet to send [19:11:42]OFD Sender: No OFD packet to send [19:11:47]OFD Sender: No OFD packet to send [19:11:52]OFD Sender: No OFD packet to send [19:11:57]OFD Sender: No OFD packet to send [19:12:02]OFD Sender: No OFD packet to send [19:12:07]OFD Sender: No OFD packet to send [19:12:12]OFD Sender: No OFD packet to send [19:12:17]OFD Sender: No OFD packet to send [19:12:22]OFD Sender: No OFD packet to send [19:12:27]OFD Sender: No OFD packet to send [19:12:32]OFD Sender: No OFD packet to send [19:12:37]OFD Sender: No OFD packet to send [19:12:42]OFD Sender: No OFD packet to send [19:12:47]OFD Sender: No OFD packet to send [19:12:52]OFD Sender: No OFD packet to send [19:12:57]OFD Sender: No OFD packet to send [19:13:02]OFD Sender: No OFD packet to send [19:13:07]OFD Sender: No OFD packet to send [19:13:12]OFD Sender: No OFD packet to send [19:13:17]OFD Sender: No OFD packet to send [19:13:22]OFD Sender: No OFD packet to send [19:13:27]OFD Sender: No OFD packet to send [19:13:32]OFD Sender: No OFD packet to send [19:13:37]OFD Sender: No OFD packet to send [19:13:42]OFD Sender: No OFD packet to send [19:13:47]OFD Sender: No OFD packet to send [19:13:52]OFD Sender: No OFD packet to send [19:13:57]OFD Sender: No OFD packet to send [19:14:02]OFD Sender: No OFD packet to send [19:14:07]OFD Sender: No OFD packet to send [19:14:12]OFD Sender: No OFD packet to send [19:14:17]OFD Sender: No OFD packet to send [19:14:22]OFD Sender: No OFD packet to send [19:14:27]OFD Sender: No OFD packet to send [19:14:32]OFD Sender: No OFD packet to send [19:14:37]OFD Sender: No OFD packet to send [19:14:42]OFD Sender: No OFD packet to send [19:14:47]OFD Sender: No OFD packet to send [19:14:52]OFD Sender: No OFD packet to send [19:14:57]OFD Sender: No OFD packet to send [19:15:02]OFD Sender: No OFD packet to send [19:15:07]OFD Sender: No OFD packet to send [19:15:12]OFD Sender: No OFD packet to send [19:15:17]OFD Sender: No OFD packet to send [19:15:22]OFD Sender: No OFD packet to send [19:15:27]OFD Sender: No OFD packet to send [19:15:32]OFD Sender: No OFD packet to send [19:15:37]OFD Sender: No OFD packet to send [19:15:42]OFD Sender: No OFD packet to send [19:15:47]OFD Sender: No OFD packet to send [19:15:52]OFD Sender: No OFD packet to send [19:15:57]OFD Sender: No OFD packet to send [19:16:02]OFD Sender: No OFD packet to send [19:16:07]OFD Sender: No OFD packet to send [19:16:12]OFD Sender: No OFD packet to send [19:16:17]OFD Sender: No OFD packet to send [19:16:22]OFD Sender: No OFD packet to send [19:16:27]OFD Sender: No OFD packet to send [19:16:32]OFD Sender: No OFD packet to send [19:16:37]OFD Sender: No OFD packet to send [19:16:42]OFD Sender: No OFD packet to send [19:16:47]OFD Sender: No OFD packet to send [19:16:52]OFD Sender: No OFD packet to send [19:16:57]OFD Sender: No OFD packet to send [19:17:02]OFD Sender: No OFD packet to send [19:17:07]OFD Sender: No OFD packet to send [19:17:12]OFD Sender: No OFD packet to send [19:17:17]OFD Sender: No OFD packet to send [19:17:22]OFD Sender: No OFD packet to send [19:17:27]OFD Sender: No OFD packet to send [19:17:32]OFD Sender: No OFD packet to send [19:17:37]OFD Sender: No OFD packet to send [19:17:42]OFD Sender: No OFD packet to send [19:17:47]OFD Sender: No OFD packet to send [19:17:52]OFD Sender: No OFD packet to send [19:17:57]OFD Sender: No OFD packet to send [19:18:02]OFD Sender: No OFD packet to send [19:18:07]OFD Sender: No OFD packet to send [19:18:12]OFD Sender: No OFD packet to send [19:18:17]OFD Sender: No OFD packet to send [19:18:22]OFD Sender: No OFD packet to send [19:18:27]OFD Sender: No OFD packet to send [19:18:32]OFD Sender: No OFD packet to send [19:18:37]OFD Sender: No OFD packet to send [19:18:42]OFD Sender: No OFD packet to send [19:18:47]OFD Sender: No OFD packet to send [19:18:52]OFD Sender: No OFD packet to send [19:18:57]OFD Sender: No OFD packet to send [19:19:02]OFD Sender: No OFD packet to send [19:19:07]OFD Sender: No OFD packet to send [19:19:12]OFD Sender: No OFD packet to send [19:19:17]OFD Sender: No OFD packet to send [19:19:22]OFD Sender: No OFD packet to send [19:19:27]OFD Sender: No OFD packet to send [19:19:32]OFD Sender: No OFD packet to send [19:19:37]OFD Sender: No OFD packet to send [19:19:42]OFD Sender: No OFD packet to send [19:19:47]OFD Sender: No OFD packet to send [19:19:52]OFD Sender: No OFD packet to send [19:19:57]OFD Sender: No OFD packet to send [19:20:02]OFD Sender: No OFD packet to send [19:20:07]OFD Sender: No OFD packet to send [19:20:12]OFD Sender: No OFD packet to send [19:20:17]OFD Sender: No OFD packet to send [19:20:22]OFD Sender: No OFD packet to send [19:20:27]OFD Sender: No OFD packet to send [19:20:32]OFD Sender: No OFD packet to send [19:20:37]OFD Sender: No OFD packet to send [19:20:42]OFD Sender: No OFD packet to send [19:20:47]OFD Sender: No OFD packet to send [19:20:52]OFD Sender: No OFD packet to send [19:20:57]OFD Sender: No OFD packet to send [19:21:02]OFD Sender: No OFD packet to send [19:21:07]OFD Sender: No OFD packet to send [19:21:12]OFD Sender: No OFD packet to send [19:21:17]OFD Sender: No OFD packet to send [19:21:22]OFD Sender: No OFD packet to send [19:21:27]OFD Sender: No OFD packet to send [19:21:32]OFD Sender: No OFD packet to send [19:21:37]OFD Sender: No OFD packet to send [19:21:42]OFD Sender: No OFD packet to send [19:21:47]OFD Sender: No OFD packet to send [19:21:52]OFD Sender: No OFD packet to send [19:21:57]OFD Sender: No OFD packet to send [19:22:03]OFD Sender: No OFD packet to send [19:22:08]OFD Sender: No OFD packet to send [19:22:13]OFD Sender: No OFD packet to send [19:22:18]OFD Sender: No OFD packet to send [19:22:23]OFD Sender: No OFD packet to send [19:22:28]OFD Sender: No OFD packet to send [19:22:33]OFD Sender: No OFD packet to send [19:22:38]OFD Sender: No OFD packet to send [19:22:43]OFD Sender: No OFD packet to send [19:22:48]OFD Sender: No OFD packet to send [19:22:53]OFD Sender: No OFD packet to send [19:22:58]OFD Sender: No OFD packet to send [19:23:03]OFD Sender: No OFD packet to send [19:23:08]OFD Sender: No OFD packet to send [19:23:13]OFD Sender: No OFD packet to send [19:23:18]OFD Sender: No OFD packet to send [19:23:23]OFD Sender: No OFD packet to send [19:23:28]OFD Sender: No OFD packet to send [19:23:33]OFD Sender: No OFD packet to send [19:23:38]OFD Sender: No OFD packet to send [19:23:43]OFD Sender: No OFD packet to send [19:23:48]OFD Sender: No OFD packet to send [19:23:53]OFD Sender: No OFD packet to send [19:23:58]OFD Sender: No OFD packet to send [19:24:03]OFD Sender: No OFD packet to send [19:24:08]OFD Sender: No OFD packet to send [19:24:13]OFD Sender: No OFD packet to send [19:24:18]OFD Sender: No OFD packet to send [19:24:23]OFD Sender: No OFD packet to send [19:24:28]OFD Sender: No OFD packet to send [19:24:33]OFD Sender: No OFD packet to send [19:24:38]OFD Sender: No OFD packet to send [19:24:43]OFD Sender: No OFD packet to send [19:24:48]OFD Sender: No OFD packet to send [19:24:53]OFD Sender: No OFD packet to send [19:24:58]OFD Sender: No OFD packet to send [19:25:03]OFD Sender: No OFD packet to send [19:25:08]OFD Sender: No OFD packet to send [19:25:13]OFD Sender: No OFD packet to send [19:25:18]OFD Sender: No OFD packet to send [19:25:23]OFD Sender: No OFD packet to send [19:25:28]OFD Sender: No OFD packet to send [19:25:33]OFD Sender: No OFD packet to send [19:25:38]OFD Sender: No OFD packet to send [19:25:43]OFD Sender: No OFD packet to send [19:25:48]OFD Sender: No OFD packet to send [19:25:53]OFD Sender: No OFD packet to send [19:25:58]OFD Sender: No OFD packet to send [19:26:03]OFD Sender: No OFD packet to send [19:26:08]OFD Sender: No OFD packet to send [19:26:13]OFD Sender: No OFD packet to send [19:26:18]OFD Sender: No OFD packet to send [19:26:23]OFD Sender: No OFD packet to send [19:26:28]OFD Sender: No OFD packet to send [19:26:33]OFD Sender: No OFD packet to send [19:26:38]OFD Sender: No OFD packet to send [19:26:43]OFD Sender: No OFD packet to send [19:26:48]OFD Sender: No OFD packet to send [19:26:53]OFD Sender: No OFD packet to send [19:26:58]OFD Sender: No OFD packet to send [19:27:03]OFD Sender: No OFD packet to send [19:27:08]OFD Sender: No OFD packet to send [19:27:13]OFD Sender: No OFD packet to send [19:27:18]OFD Sender: No OFD packet to send [19:27:23]OFD Sender: No OFD packet to send [19:27:28]OFD Sender: No OFD packet to send [19:27:33]OFD Sender: No OFD packet to send [19:27:38]OFD Sender: No OFD packet to send [19:27:43]OFD Sender: No OFD packet to send [19:27:48]OFD Sender: No OFD packet to send [19:27:51]accept exits with 9 [19:27:51]New connection [19:27:51]New thread 3066629476 created [19:27:51]Thread 3066772836 joined [19:27:51]Waiting for new connection... [19:27:51] Sock 9.Parse request [19:27:51]Sock 9.Check first char [19:27:51]Sock 9.First char is OK [19:27:51]request: POST /json_proto HTTP/1.0 [19:27:51]Method: POST [19:27:51]URL: /json_proto [19:27:51]Method is POST - this is cgi request [19:27:51]url: /json_proto [19:27:51]query_string will be loaded in cgi processing [19:27:51]execute_cgi json_proto POST (null) [19:27:51]execute_cgi path=json_proto method=POST [19:27:51]POST find Content-Length [19:27:51]Host: 172.17.56.68:8080 [19:27:51]Content-Length: 670 [19:27:51]Content-Type: application/json [19:27:51] [19:27:51]POST finish read [19:27:51]Found Content-Length = 670 [19:27:51]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4459", "tax_sys" : 0, "items" : [ { "code": "46214621", "name": "\u0420/\u0436 mentos \u0442\u0443\u0442\u0442\u0438-\u0444\u0440\u0443\u0442\u0442\u0438 \u0440\u043E\u043B\u043B 16\u0433", "price" : 49.00, "quantity" : 1.000, "sum" : 49.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 49.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:27:51]execute_script... [19:27: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)4459", "tax_sys" : 0, "items" : [ { "code": "46214621", "name": "\u0420/\u0436 mentos \u0442\u0443\u0442\u0442\u0438-\u0444\u0440\u0443\u0442\u0442\u0438 \u0440\u043E\u043B\u043B 16\u0433", "price" : 49.00, "quantity" : 1.000, "sum" : 49.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 49.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:27:51]POST & json_proto [19:27:51]process_json_proto [19:27:51]json parsed OK: [19:27:51]protocol is kg_v1.0 [19:27:51]action value=close_receipt [19:27:51]process_action close_receipt [19:27:51]cmd_close_receipt [19:27:51]MH_GetDate [19:27:51]Write to MH i2c: F0 00 00 55 03 47 [19:27:51]Write i2c OK [19:27:51]MH_I2C_Read... [19:27:51]Read from MH i2c: F0 [19:27:51]MH_I2C_Read... [19:27:51]Read from MH i2c: F0 09 00 [19:27:51]MH_I2C_Read... [19:27:51]Read from MH i2c: F0 09 00 55 03 00 38 BC 60 66 3A 8F 60 66 99 [19:27:51]GetLastDocTimeStamp 1717613770 [19:27:51]current date 1717615672 [19:27:51]FM_GetShiftState [19:27:51]SAM_PROTO_GetShiftState [19:27:51]wFMCommunicate request_size=4 [19:27:51]MH_SAM_APDU [19:27:51]CAPDU: 80 13 01 00 [19:27:51]Write to MH i2c: E2 08 00 56 03 80 13 01 00 00 00 00 00 D6 [19:27:51]Write i2c OK [19:27:51]MH_I2C_Read... [19:27:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:27:51]Read from MH i2c: E2 [19:27:51]MH_I2C_Read... [19:27:51]Read from MH i2c: E2 0E 00 [19:27:51]MH_I2C_Read... [19:27:51]Read from MH i2c: E2 0E 00 56 03 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 77 [19:27:51]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [19:27:51]wFMCommunicate OK [19:27:51]SAM_PROTO_GetShiftState done [19:27:51]FM_GetShiftState done [19:27:51]opened in 1717545765 [19:27:51]opened+sec_in_day 1717632165 [19:27:51]quantity*price = 4900 [19:27:51]sum+1 = 4901 [19:27:51]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 49.00 НСП 1% : 0.43 НДС 12% : 5.20 Наличными: 49.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 64 05.06.2024 19:27 Смена: 84 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4206 ФПД: 37996064397349 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T192752&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4206&fm=37996064397349&tin=02508201610067®Number=0000000000145775&sum=4900 0 [19:27:52]StoreToDocumentArchive [19:27:52]shift 84 fd 4206 [19:27:52]save to /storage/0084/doc_00004206 [19:27:52]save last doc name /storage/0084/doc_00004206 to /storage/kkm_last_doc_name [19:27:52]save OK [19:27:52]Clear old archive folders... [19:27:52]ProcessDocumentItem done err = 0, tmpTLVsize=287 [19:27:52]tlvbuf is 019A4AC0 [19:27:52]SAM_PROTO_ClearQueue [19:27:52]wFMCommunicate request_size=4 [19:27:52]MH_SAM_APDU [19:27:52]CAPDU: 80 09 00 00 [19:27:52]Write to MH i2c: E2 08 00 63 03 80 09 00 00 00 00 00 00 D8 [19:27:52]Write i2c OK [19:27:52]MH_I2C_Read... [19:27:52]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:27:52]Read from MH i2c: E2 [19:27:52]MH_I2C_Read... [19:27:52]Read from MH i2c: E2 03 00 [19:27:52]MH_I2C_Read... [19:27:52]Read from MH i2c: E2 03 00 63 03 00 90 00 DA [19:27:52]RAPDU: 90 00 [19:27:52]wFMCommunicate OK [19:27:52]SAM_PROTO_ClearQueue done [19:27:52]KKMCreateOFDPacket [19:27:52]OFDProtocolAddRootSTLVToBuf [19:27:52]FM_MakeSignedData [19:27:52]FM_MakeSignedData [19:27:52]SAM_PROTO_SignData [19:27:52]wFMCommunicate request_size=4 [19:27:52]MH_SAM_APDU [19:27:52]CAPDU: 80 0D 01 02 [19:27:52]Write to MH i2c: E2 08 00 64 03 80 0D 01 02 00 00 00 00 E0 [19:27:52]Write i2c OK [19:27:52]MH_I2C_Read... [19:27:52]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:27:52]Read from MH i2c: E2 [19:27:52]MH_I2C_Read... [19:27:52]Read from MH i2c: E2 03 00 [19:27:52]MH_I2C_Read... [19:27:52]Read from MH i2c: E2 03 00 64 03 00 90 00 DB [19:27:52]RAPDU: 90 00 [19:27:52]wFMCommunicate OK [19:27:52]wFMCommunicate request_size=255 [19:27:52]MH_SAM_APDU [19:27:52]CAPDU: 80 0D 02 02 FA 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 08 00 34 36 32 31 34 36 32 31 06 04 32 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 D1 82 D1 83 D1 82 D1 82 D0 B8 2D D1 84 D1 80 D1 83 D1 82 D1 82 D0 B8 20 D1 80 D0 BE D0 BB D0 BB 20 31 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 40 00 00 00 F4 03 04 00 38 BC 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 [19:27:52]Write to MH i2c: E2 02 01 65 03 80 0D 02 02 FA 00 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 08 00 34 36 32 31 34 36 32 31 06 04 32 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 D1 82 D1 83 D1 82 D1 82 D0 B8 2D D1 84 D1 80 D1 83 D1 82 D1 82 D0 B8 20 D1 80 D0 BE D0 BB D0 BB 20 31 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 40 00 00 00 F4 03 04 00 38 BC 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 00 00 D6 [19:27:52]Write i2c OK [19:27:52]MH_I2C_Read... [19:27:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:27:52]Read from MH i2c: E2 [19:27:52]MH_I2C_Read... [19:27:52]Read from MH i2c: E2 03 00 [19:27:52]MH_I2C_Read... [19:27:52]Read from MH i2c: E2 03 00 65 03 00 90 00 DC [19:27:52]RAPDU: 90 00 [19:27:52]wFMCommunicate OK [19:27:52]wFMCommunicate request_size=46 [19:27:52]MH_SAM_APDU [19:27:52]CAPDU: 80 0D 02 02 29 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 6E 10 00 00 35 04 06 00 22 8E A5 EB D8 25 [19:27:52]Write to MH i2c: E2 31 00 66 03 80 0D 02 02 29 00 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 6E 10 00 00 35 04 06 00 22 8E A5 EB D8 25 00 00 2F [19:27:52]Write i2c OK [19:27:52]MH_I2C_Read... [19:27:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:27:53]Read from MH i2c: E2 [19:27:53]MH_I2C_Read... [19:27:53]Read from MH i2c: E2 03 00 [19:27:53]MH_I2C_Read... [19:27:53]Read from MH i2c: E2 03 00 66 03 00 90 00 DD [19:27:53]RAPDU: 90 00 [19:27:53]wFMCommunicate OK [19:27:53]wFMCommunicate request_size=4 [19:27:53]MH_SAM_APDU [19:27:53]CAPDU: 80 0D 03 02 [19:27:53]Write to MH i2c: E2 08 00 67 03 80 0D 03 02 00 00 00 00 E5 [19:27:53]Write i2c OK [19:27:53]MH_I2C_Read... [19:27:53]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:27:53]Read from MH i2c: E2 [19:27:53]MH_I2C_Read... [19:27:53]Read from MH i2c: E2 0B 00 [19:27:53]MH_I2C_Read... [19:27:53]Read from MH i2c: E2 0B 00 67 03 00 89 6A AB 34 8B 21 B6 34 90 00 4E [19:27:53]RAPDU: 89 6A AB 34 8B 21 B6 34 90 00 [19:27:53]wFMCommunicate OK [19:27:53]SAM_PROTO_SignData done [19:27:53]FM_MakeSignedData done [19:27:53]CreateOFDProtocolMessage [19:27:53]wFMCommunicate request_size=4 [19:27:53]MH_SAM_APDU [19:27:53]CAPDU: 80 11 00 00 [19:27:53]Write to MH i2c: E2 08 00 68 03 80 11 00 00 00 00 00 00 E5 [19:27:53]Write i2c OK [19:27:53]MH_I2C_Read... [19:27:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:27:53]Read from MH i2c: E2 [19:27:53]MH_I2C_Read... [19:27:53]Read from MH i2c: E2 17 00 [19:27:53]MH_I2C_Read... [19:27:53]Read from MH i2c: E2 17 00 68 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 38 [19:27:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [19:27:53]wFMCommunicate OK [19:27:53]CreateOFDProtocolMessage done [19:27:53]OFDSenderStorePacket 4206 [19:27:53]StoreOFDPacket docnum=4206 [19:27:53]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 33 01 00 00 5C 63 2B 01 A6 CA 5A 03 01 00 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 08 00 34 36 32 31 34 36 32 31 06 04 32 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 D1 82 D1 83 D1 82 D1 82 D0 B8 2D D1 84 D1 80 D1 83 D1 82 D1 82 D0 B8 20 D1 80 D0 BE D0 BB D0 BB 20 31 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 40 00 00 00 F4 03 04 00 38 BC 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 6E 10 00 00 35 04 06 00 22 8E A5 EB D8 25 89 6A AB 34 8B 21 B6 34 [19:27:53]CheckFolder [19:27:53]dirname=/storage/ofd_packets [19:27:53]CheckFolder done [19:27:53]ProducePacketName [19:27:53]name=ofd_packets/00004206 [19:27:53]NVStorageSaveData ofd_packets/00004206 [19:27:53]File name is /storage/ofd_packets/00004206 [19:27:53]Write 337 bytes [19:27:53]NVStorageSaveData done [19:27:53]OFDSenderStorePacket done [19:27:53]KKMCreateOFDPacket done [19:27:53]NVStorageSaveData kkm_last_timestamp [19:27:53]File name is /storage/kkm_last_timestamp [19:27:53]Write 4 bytes [19:27:53]NVStorageSaveData done [19:27:53]ExternCall_PrintAddStr [19:27:53]wPrintStart [19:27:53]Write to MH i2c: 01 00 00 69 03 6C [19:27:53]Write i2c OK [19:27:53]MH_I2C_Read... [19:27:53]Read from MH i2c: 01 [19:27:53]MH_I2C_Read... [19:27:53]Read from MH i2c: 01 07 00 [19:27:53]MH_I2C_Read... [19:27:53]Read from MH i2c: 01 07 00 69 03 00 00 00 00 00 FF 0F 81 [19:27:53]RasterBufferAndPrint [19:27:53]line Счет N : (3)4459 [19:27:53]line ИНН: 02508201610067 [19:27:53]line Контрольно-Кассовый Чек [19:27:53]line ПРОДАЖА [19:27:53]line Товар: 46214621 [19:27:53]line Р/ж mentos тутти-фрутти ролл 16г [19:27:53]line 1.000 * 49.00 [19:27:53]line = 49.00 [19:27:53]line НДС 12% НСП 1% [19:27:53]line > о реализуемом товаре [19:27:53]line ИТОГО: 49.00 [19:27:53]line НСП 1% : 0.43 [19:27:53]line НДС 12% : 5.20 [19:27:53]line Наличными: 49.00 [19:27:53]line Безнал.: 0.00 [19:27:53]line Место: АЗС № 116 "Партнер Нефть" [19:27:53]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [19:27:53]line СНО: Общий режим [19:27:53]line Чек 64 05.06.2024 19:27 [19:27:53]line Смена: 84 ФФД: 1.0 [19:27:53]line ЗНМ: 0300000233 [19:27:53]line РНМ: 0000000000145775 [19:27:53]line Версия ККМ: v1.0 [19:27:53]line ФМ: 0000000000959360 [19:27:53]line ФД: 4206 [19:27:53]line ФПД: 37996064397349 [19:27:53]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T192752&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4206&fm=37996064397349&tin=02508201610067®Number=0000000000145775&sum=4900 [19:27:53]line 0 [19:27:53]written 0, free lines is 4095 [19:27:53]OFD Sender: Processing packet 4206 [packets to send 2, broken 1] [19:27:53]ProducePacketName [19:27:53]name=ofd_packets/00004206 [19:27:53]OFD Sender: To server: pG, [19:27:53]CommunicateWithHost lk.salyk.kg:30040 [19:27:53]ConnectInit lk.salyk.kg [19:27:53]Connected sock=10 [19:27:53]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 33 01 00 00 5C 63 2B 01 A6 CA 5A 03 01 00 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 08 00 34 36 32 31 34 36 32 31 06 04 32 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 D1 82 D1 83 D1 82 D1 82 D0 B8 2D D1 84 D1 80 D1 83 D1 82 D1 82 D0 B8 20 D1 80 D0 BE D0 BB D0 BB 20 31 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 40 00 00 00 F4 03 04 00 38 BC 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 6E 10 00 00 35 04 06 00 22 8E A5 EB D8 25 89 6A AB 34 8B 21 B6 34 [19:27:53]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 1E 18 47 00 B2 8A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 6E 10 00 00 F4 03 04 00 3A 68 60 66 B6 04 01 00 00 17 28 E5 3B FC 4B EE 3C [19:27:53]CommunicateWithHost err = 0 [19:27:53]CheckOFDResponse [19:27:53]1017 (14) - 77093643461234 [19:27:53]1041 (16) - 0000000000959360 [19:27:53]1040 (4) - 4206 [19:27:53]1012 (4) - 05.06.2024 13:29 [19:27:53]1206 (1) - 0 [19:27:53]OFD Sender: Remove packet 4206 [19:27:53]ProducePacketName [19:27:53]name=ofd_packets/00004206 [19:27:53]NVStorageDeleteData [19:27:53]Write to MH i2c: 01 00 00 92 03 95 [19:27:53]Write i2c OK [19:27:53]MH_I2C_Read... [19:27:53]Read from MH i2c: 01 [19:27:53]MH_I2C_Read... [19:27:53]Read from MH i2c: 01 07 00 [19:27:53]MH_I2C_Read... [19:27:53]Read from MH i2c: 01 07 00 92 03 00 00 00 00 00 AE 0C 56 [19:27:53]RasterBufferAndPrint [19:27:53]line [19:27:53]line [19:27:53]line [19:27:53]line [19:27:53]line [19:27:53]written 0, free lines is 3249 [19:27:53]MH_Cut [19:27:53]Write to MH i2c: D1 01 00 99 03 01 6E [19:27:53]Write i2c OK [19:27:53]MH_I2C_Read... [19:27:53]Read from MH i2c: D1 [19:27:53]MH_I2C_Read... [19:27:53]Read from MH i2c: D1 01 00 [19:27:53]MH_I2C_Read... [19:27:53]Read from MH i2c: D1 01 00 99 03 00 6D [19:27:53]Write to MH i2c: 01 00 00 9A 03 9D [19:27:53]Write i2c OK [19:27:53]MH_I2C_Read... [19:27:53]OFD Sender: No OFD packet to send [19:27:54]*** Cut start [19:27:54]*** Partial cut [19:27:54]*** CUTSNS_PIN = 1 [19:27:54]*** CUTSNS_PIN = 0 [19:27:54]*** Brake cut motor [19:27:55]Read from MH i2c: 01 [19:27:55]MH_I2C_Read... [19:27:55]*** Stop cut motor [19:27:55]*** Cut end [19:27:55]Read from MH i2c: 01 07 00 [19:27:55]MH_I2C_Read... [19:27:55]Read from MH i2c: 01 07 00 9A 03 00 00 00 00 00 FF 0F B2 [19:27:55]process_action close_receipt done [19:27:55]requested_data is exist [19:27:55]produce_requested_data [19:27:55]requested_item fm.sn is exist - process it [19:27:55]wFMCommunicate request_size=4 [19:27:55]MH_SAM_APDU [19:27:55]CAPDU: 80 11 00 00 [19:27:55]Write to MH i2c: E2 08 00 9B 03 80 11 00 00 00 00 00 00 18 [19:27:55]Write i2c OK [19:27:55]MH_I2C_Read... [19:27:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:27:55]Read from MH i2c: E2 [19:27:55]MH_I2C_Read... [19:27:55]Read from MH i2c: E2 17 00 [19:27:55]MH_I2C_Read... [19:27:55]Read from MH i2c: E2 17 00 9B 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 6B [19:27:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [19:27:55]wFMCommunicate OK [19:27:55]requested_item fd.num is exist - process it [19:27:55]SAM_PROTO_GetFieldsCounters [19:27:55]wFMCommunicate request_size=4 [19:27:55]MH_SAM_APDU [19:27:55]CAPDU: 80 13 00 00 [19:27:55]Write to MH i2c: E2 08 00 9C 03 80 13 00 00 00 00 00 00 1B [19:27:55]Write i2c OK [19:27:55]MH_I2C_Read... [19:27:55]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:27:55]Read from MH i2c: E2 [19:27:55]MH_I2C_Read... [19:27:55]Read from MH i2c: E2 62 00 [19:27:55]MH_I2C_Read... [19:27:55]Read from MH i2c: E2 62 00 9C 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 6E 10 00 00 0E 04 04 00 54 00 00 00 12 04 04 00 40 00 00 00 5E 04 04 00 40 00 00 00 57 04 04 00 41 00 00 00 19 04 04 00 00 00 00 00 90 00 D2 [19:27:55]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 6E 10 00 00 0E 04 04 00 54 00 00 00 12 04 04 00 40 00 00 00 5E 04 04 00 40 00 00 00 57 04 04 00 41 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:27:55]wFMCommunicate OK [19:27:55]SAM_PROTO_GetFieldsCounters done [19:27:55]requested_item shift.num is exist - process it [19:27:55]requested_item shift.opened is exist - process it [19:27:55]req_shift_opened [19:27:55]FM_GetShiftState [19:27:55]SAM_PROTO_GetShiftState [19:27:55]wFMCommunicate request_size=4 [19:27:55]MH_SAM_APDU [19:27:55]CAPDU: 80 13 01 00 [19:27:55]Write to MH i2c: E2 08 00 9D 03 80 13 01 00 00 00 00 00 1D [19:27:55]Write i2c OK [19:27:55]MH_I2C_Read... [19:27:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:27:55]Read from MH i2c: E2 [19:27:55]MH_I2C_Read... [19:27:55]Read from MH i2c: E2 0E 00 [19:27:55]MH_I2C_Read... [19:27:55]Read from MH i2c: E2 0E 00 9D 03 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 BE [19:27:55]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [19:27:55]wFMCommunicate OK [19:27:55]SAM_PROTO_GetShiftState done [19:27:55]FM_GetShiftState done [19:27:55]req_shift_opened done [19:27:55]requested_item shift.open_date is exist - process it [19:27:55]req_shift_open_date [19:27:55]req_shift_open_date done [19:27:55]produce_requested_data done [19:27:55]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4206,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765} [19:27:55]process_action_free close_receipt [19:27:55]json_value_free [19:27:55]json_value_free done [19:27:55]process_json_proto returns [19:27:55]Send response to host [19:27:55]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4206,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765}}} [19:27:55]free response buf [19:27:55]execute_script done [19:27:55]execute_script returns [19:27:55]free content buf [19:27:55]Sock 9.Close socket [19:27:55]Sock 9.Thread stoped [19:27:58]OFD Sender: No OFD packet to send [19:28:03]OFD Sender: No OFD packet to send [19:28:08]OFD Sender: No OFD packet to send [19:28:13]OFD Sender: No OFD packet to send [19:28:19]OFD Sender: No OFD packet to send [19:28:24]OFD Sender: No OFD packet to send [19:28:29]OFD Sender: No OFD packet to send [19:28:34]OFD Sender: No OFD packet to send [19:28:39]OFD Sender: No OFD packet to send [19:28:44]OFD Sender: No OFD packet to send [19:28:49]OFD Sender: No OFD packet to send [19:28:54]OFD Sender: No OFD packet to send [19:28:59]OFD Sender: No OFD packet to send [19:29:04]OFD Sender: No OFD packet to send [19:29:09]OFD Sender: No OFD packet to send [19:29:14]OFD Sender: No OFD packet to send [19:29:19]OFD Sender: No OFD packet to send [19:29:24]OFD Sender: No OFD packet to send [19:29:29]OFD Sender: No OFD packet to send [19:29:34]OFD Sender: No OFD packet to send [19:29:39]OFD Sender: No OFD packet to send [19:29:44]OFD Sender: No OFD packet to send [19:29:49]OFD Sender: No OFD packet to send [19:29:54]OFD Sender: No OFD packet to send [19:29:59]OFD Sender: No OFD packet to send [19:30:04]OFD Sender: No OFD packet to send [19:30:09]OFD Sender: No OFD packet to send [19:30:14]OFD Sender: No OFD packet to send [19:30:19]OFD Sender: No OFD packet to send [19:30:24]OFD Sender: No OFD packet to send [19:30:29]OFD Sender: No OFD packet to send [19:30:34]OFD Sender: No OFD packet to send [19:30:39]OFD Sender: No OFD packet to send [19:30:44]OFD Sender: No OFD packet to send [19:30:49]OFD Sender: No OFD packet to send [19:30:54]OFD Sender: No OFD packet to send [19:30:59]OFD Sender: No OFD packet to send [19:31:04]OFD Sender: No OFD packet to send [19:31:09]OFD Sender: No OFD packet to send [19:31:14]OFD Sender: No OFD packet to send [19:31:19]OFD Sender: No OFD packet to send [19:31:24]OFD Sender: No OFD packet to send [19:31:29]OFD Sender: No OFD packet to send [19:31:34]OFD Sender: No OFD packet to send [19:31:39]OFD Sender: No OFD packet to send [19:31:44]OFD Sender: No OFD packet to send [19:31:49]OFD Sender: No OFD packet to send [19:31:54]OFD Sender: No OFD packet to send [19:31:59]OFD Sender: No OFD packet to send [19:32:04]OFD Sender: No OFD packet to send [19:32:09]OFD Sender: No OFD packet to send [19:32:14]OFD Sender: No OFD packet to send [19:32:19]OFD Sender: No OFD packet to send [19:32:24]OFD Sender: No OFD packet to send [19:32:29]OFD Sender: No OFD packet to send [19:32:34]OFD Sender: No OFD packet to send [19:32:39]OFD Sender: No OFD packet to send [19:32:44]OFD Sender: No OFD packet to send [19:32:49]OFD Sender: No OFD packet to send [19:32:54]OFD Sender: No OFD packet to send [19:32:59]OFD Sender: No OFD packet to send [19:33:04]OFD Sender: No OFD packet to send [19:33:09]OFD Sender: No OFD packet to send [19:33:14]OFD Sender: No OFD packet to send [19:33:19]OFD Sender: No OFD packet to send [19:33:24]OFD Sender: No OFD packet to send [19:33:29]OFD Sender: No OFD packet to send [19:33:34]OFD Sender: No OFD packet to send [19:33:39]OFD Sender: No OFD packet to send [19:33:44]OFD Sender: No OFD packet to send [19:33:49]OFD Sender: No OFD packet to send [19:33:54]OFD Sender: No OFD packet to send [19:33:59]OFD Sender: No OFD packet to send [19:34:04]OFD Sender: No OFD packet to send [19:34:09]OFD Sender: No OFD packet to send [19:34:14]OFD Sender: No OFD packet to send [19:34:19]OFD Sender: No OFD packet to send [19:34:24]OFD Sender: No OFD packet to send [19:34:29]OFD Sender: No OFD packet to send [19:34:34]OFD Sender: No OFD packet to send [19:34:39]OFD Sender: No OFD packet to send [19:34:44]OFD Sender: No OFD packet to send [19:34:49]OFD Sender: No OFD packet to send [19:34:54]OFD Sender: No OFD packet to send [19:34:59]OFD Sender: No OFD packet to send [19:35:04]OFD Sender: No OFD packet to send [19:35:09]OFD Sender: No OFD packet to send [19:35:14]OFD Sender: No OFD packet to send [19:35:19]OFD Sender: No OFD packet to send [19:35:24]OFD Sender: No OFD packet to send [19:35:29]OFD Sender: No OFD packet to send [19:35:34]OFD Sender: No OFD packet to send [19:35:39]OFD Sender: No OFD packet to send [19:35:44]OFD Sender: No OFD packet to send [19:35:49]OFD Sender: No OFD packet to send [19:35:54]OFD Sender: No OFD packet to send [19:35:59]OFD Sender: No OFD packet to send [19:36:04]OFD Sender: No OFD packet to send [19:36:09]OFD Sender: No OFD packet to send [19:36:14]OFD Sender: No OFD packet to send [19:36:19]OFD Sender: No OFD packet to send [19:36:24]OFD Sender: No OFD packet to send [19:36:29]OFD Sender: No OFD packet to send [19:36:34]OFD Sender: No OFD packet to send [19:36:39]OFD Sender: No OFD packet to send [19:36:44]OFD Sender: No OFD packet to send [19:36:49]OFD Sender: No OFD packet to send [19:36:54]OFD Sender: No OFD packet to send [19:36:59]OFD Sender: No OFD packet to send [19:37:04]OFD Sender: No OFD packet to send [19:37:09]OFD Sender: No OFD packet to send [19:37:14]OFD Sender: No OFD packet to send [19:37:17]accept exits with 8 [19:37:17]New connection [19:37:17]New thread 3066772836 created [19:37:17]Thread 3066629476 joined [19:37:17]Waiting for new connection... [19:37:17] Sock 8.Parse request [19:37:17]Sock 8.Check first char [19:37:17]Sock 8.First char is OK [19:37:17]request: POST /json_proto HTTP/1.0 [19:37:17]Method: POST [19:37:17]URL: /json_proto [19:37:17]Method is POST - this is cgi request [19:37:17]url: /json_proto [19:37:17]query_string will be loaded in cgi processing [19:37:17]execute_cgi json_proto POST (null) [19:37:17]execute_cgi path=json_proto method=POST [19:37:17]POST find Content-Length [19:37:17]Host: 172.17.56.68:8080 [19:37:17]Content-Length: 1054 [19:37:17]Content-Type: application/json [19:37:17] [19:37:17]POST finish read [19:37:17]Found Content-Length = 1054 [19:37:17]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4460", "tax_sys" : 0, "items" : [ { "code": "2000036230011", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 XL(GABB TRADE)", "price" : 130.00, "quantity" : 2.000, "sum" : 260.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: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 385.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:37:17]execute_script... [19:37: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)4460", "tax_sys" : 0, "items" : [ { "code": "2000036230011", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 XL(GABB TRADE)", "price" : 130.00, "quantity" : 2.000, "sum" : 260.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: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 385.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:37:17]POST & json_proto [19:37:17]process_json_proto [19:37:17]json parsed OK: [19:37:17]protocol is kg_v1.0 [19:37:17]action value=close_receipt [19:37:17]process_action close_receipt [19:37:17]cmd_close_receipt [19:37:17]MH_GetDate [19:37:17]Write to MH i2c: F0 00 00 9E 03 90 [19:37:17]Write i2c OK [19:37:17]MH_I2C_Read... [19:37:17]Read from MH i2c: F0 [19:37:17]MH_I2C_Read... [19:37:17]Read from MH i2c: F0 09 00 [19:37:17]MH_I2C_Read... [19:37:17]Read from MH i2c: F0 09 00 9E 03 00 6F BE 60 66 3A 8F 60 66 1B [19:37:17]GetLastDocTimeStamp 1717615672 [19:37:17]current date 1717616239 [19:37:17]FM_GetShiftState [19:37:17]SAM_PROTO_GetShiftState [19:37:17]wFMCommunicate request_size=4 [19:37:17]MH_SAM_APDU [19:37:17]CAPDU: 80 13 01 00 [19:37:17]Write to MH i2c: E2 08 00 9F 03 80 13 01 00 00 00 00 00 1F [19:37:17]Write i2c OK [19:37:17]MH_I2C_Read... [19:37:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:37:17]Read from MH i2c: E2 [19:37:17]MH_I2C_Read... [19:37:17]Read from MH i2c: E2 0E 00 [19:37:17]MH_I2C_Read... [19:37:17]Read from MH i2c: E2 0E 00 9F 03 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 C0 [19:37:17]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [19:37:17]wFMCommunicate OK [19:37:17]SAM_PROTO_GetShiftState done [19:37:17]FM_GetShiftState done [19:37:17]opened in 1717545765 [19:37:17]opened+sec_in_day 1717632165 [19:37:17]quantity*price = 26000 [19:37:17]sum+1 = 26001 [19:37:17]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 2000036220012 Кофе Капучино XL(GABB TRADE) 1.000 * 125.00 = 125.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 385.00 НСП 1% : 3.41 НДС 12% : 40.88 Наличными: 0.00 Безнал.: 385.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 65 05.06.2024 19:37 Смена: 84 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 Платежная система: О! деньги ФМ: 0000000000959360 ФД: 4207 ФПД: 262757250567209 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T193719&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4207&fm=262757250567209&tin=02508201610067®Number=0000000000145775&sum=38500 0 [19:37:18]StoreToDocumentArchive [19:37:18]shift 84 fd 4207 [19:37:18]save to /storage/0084/doc_00004207 [19:37:18]save last doc name /storage/0084/doc_00004207 to /storage/kkm_last_doc_name [19:37:18]save OK [19:37:18]Clear old archive folders... [19:37:18]ProcessDocumentItem done err = 0, tmpTLVsize=388 [19:37:18]tlvbuf is 019AE890 [19:37:18]SAM_PROTO_ClearQueue [19:37:18]wFMCommunicate request_size=4 [19:37:18]MH_SAM_APDU [19:37:18]CAPDU: 80 09 00 00 [19:37:18]Write to MH i2c: E2 08 00 AC 03 80 09 00 00 00 00 00 00 21 [19:37:18]Write i2c OK [19:37:18]MH_I2C_Read... [19:37:18]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:37:18]Read from MH i2c: E2 [19:37:18]MH_I2C_Read... [19:37:18]Read from MH i2c: E2 03 00 [19:37:18]MH_I2C_Read... [19:37:18]Read from MH i2c: E2 03 00 AC 03 00 90 00 23 [19:37:18]RAPDU: 90 00 [19:37:18]wFMCommunicate OK [19:37:18]SAM_PROTO_ClearQueue done [19:37:18]KKMCreateOFDPacket [19:37:18]OFDProtocolAddRootSTLVToBuf [19:37:18]FM_MakeSignedData [19:37:18]FM_MakeSignedData [19:37:18]SAM_PROTO_SignData [19:37:18]wFMCommunicate request_size=4 [19:37:18]MH_SAM_APDU [19:37:18]CAPDU: 80 0D 01 02 [19:37:18]Write to MH i2c: E2 08 00 AD 03 80 0D 01 02 00 00 00 00 29 [19:37:18]Write i2c OK [19:37:18]MH_I2C_Read... [19:37:18]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:37:18]Read from MH i2c: E2 [19:37:18]MH_I2C_Read... [19:37:18]Read from MH i2c: E2 03 00 [19:37:18]MH_I2C_Read... [19:37:18]Read from MH i2c: E2 03 00 AD 03 00 90 00 24 [19:37:18]RAPDU: 90 00 [19:37:18]wFMCommunicate OK [19:37:18]wFMCommunicate request_size=255 [19:37:18]MH_SAM_APDU [19:37:18]CAPDU: 80 0D 02 02 FA 03 00 84 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 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 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 64 96 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 [19:37:18]Write to MH i2c: E2 02 01 AE 03 80 0D 02 02 FA 00 03 00 84 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 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 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 64 96 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 00 00 AE [19:37:18]Write i2c OK [19:37:18]MH_I2C_Read... [19:37:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:37:19]Read from MH i2c: E2 [19:37:19]MH_I2C_Read... [19:37:19]Read from MH i2c: E2 03 00 [19:37:19]MH_I2C_Read... [19:37:19]Read from MH i2c: E2 03 00 AE 03 00 90 00 25 [19:37:19]RAPDU: 90 00 [19:37:19]wFMCommunicate OK [19:37:19]wFMCommunicate request_size=147 [19:37:19]MH_SAM_APDU [19:37:19]CAPDU: 80 0D 02 02 8E F7 03 06 00 55 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F8 0F 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 64 96 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 41 00 00 00 F4 03 04 00 6F BE 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 6F 10 00 00 35 04 06 00 EE F9 F0 95 0C 29 [19:37:19]Write to MH i2c: E2 96 00 AF 03 80 0D 02 02 8E 00 F7 03 06 00 55 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F8 0F 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 64 96 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 41 00 00 00 F4 03 04 00 6F BE 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 6F 10 00 00 35 04 06 00 EE F9 F0 95 0C 29 00 00 78 [19:37:19]Write i2c OK [19:37:19]MH_I2C_Read... [19:37:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:37:19]Read from MH i2c: E2 [19:37:19]MH_I2C_Read... [19:37:19]Read from MH i2c: E2 03 00 [19:37:19]MH_I2C_Read... [19:37:19]Read from MH i2c: E2 03 00 AF 03 00 90 00 26 [19:37:19]RAPDU: 90 00 [19:37:19]wFMCommunicate OK [19:37:19]wFMCommunicate request_size=4 [19:37:19]MH_SAM_APDU [19:37:19]CAPDU: 80 0D 03 02 [19:37:19]Write to MH i2c: E2 08 00 B0 03 80 0D 03 02 00 00 00 00 2E [19:37:19]Write i2c OK [19:37:19]MH_I2C_Read... [19:37:19]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:37:19]Read from MH i2c: E2 [19:37:19]MH_I2C_Read... [19:37:19]Read from MH i2c: E2 0B 00 [19:37:19]MH_I2C_Read... [19:37:19]Read from MH i2c: E2 0B 00 B0 03 00 44 29 B1 EF 74 FC 69 FD 90 00 12 [19:37:19]RAPDU: 44 29 B1 EF 74 FC 69 FD 90 00 [19:37:19]wFMCommunicate OK [19:37:19]SAM_PROTO_SignData done [19:37:19]FM_MakeSignedData done [19:37:19]CreateOFDProtocolMessage [19:37:19]wFMCommunicate request_size=4 [19:37:19]MH_SAM_APDU [19:37:19]CAPDU: 80 11 00 00 [19:37:19]Write to MH i2c: E2 08 00 B1 03 80 11 00 00 00 00 00 00 2E [19:37:19]Write i2c OK [19:37:19]MH_I2C_Read... [19:37:19]OFD Sender: No OFD packet to send [19:37:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:37:19]Read from MH i2c: E2 [19:37:19]MH_I2C_Read... [19:37:19]Read from MH i2c: E2 17 00 [19:37:19]MH_I2C_Read... [19:37:19]Read from MH i2c: E2 17 00 B1 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 81 [19:37:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [19:37:19]wFMCommunicate OK [19:37:19]CreateOFDProtocolMessage done [19:37:19]OFDSenderStorePacket 4207 [19:37:19]StoreOFDPacket docnum=4207 [19:37:19]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 98 01 00 00 D1 8C 90 01 5E CF 5A 03 01 00 03 00 84 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 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 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 64 96 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 55 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F8 0F 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 64 96 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 41 00 00 00 F4 03 04 00 6F BE 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 6F 10 00 00 35 04 06 00 EE F9 F0 95 0C 29 44 29 B1 EF 74 FC 69 FD [19:37:19]CheckFolder [19:37:19]dirname=/storage/ofd_packets [19:37:19]CheckFolder done [19:37:19]ProducePacketName [19:37:19]name=ofd_packets/00004207 [19:37:19]NVStorageSaveData ofd_packets/00004207 [19:37:19]File name is /storage/ofd_packets/00004207 [19:37:19]Write 438 bytes [19:37:19]NVStorageSaveData done [19:37:19]OFDSenderStorePacket done [19:37:19]KKMCreateOFDPacket done [19:37:19]NVStorageSaveData kkm_last_timestamp [19:37:19]File name is /storage/kkm_last_timestamp [19:37:19]Write 4 bytes [19:37:19]NVStorageSaveData done [19:37:19]ExternCall_PrintAddStr [19:37:19]wPrintStart [19:37:19]Write to MH i2c: 01 00 00 B2 03 B5 [19:37:19]OFD Sender: Processing packet 4207 [packets to send 2, broken 1] [19:37:19]ProducePacketName [19:37:19]name=ofd_packets/00004207 [19:37:19]OFD Sender: To server: pG, [19:37:19]CommunicateWithHost lk.salyk.kg:30040 [19:37:19]ConnectInit lk.salyk.kg [19:37:19]Write i2c OK [19:37:19]MH_I2C_Read... [19:37:19]Read from MH i2c: 01 [19:37:19]MH_I2C_Read... [19:37:19]Read from MH i2c: 01 07 00 [19:37:19]MH_I2C_Read... [19:37:19]Read from MH i2c: 01 07 00 B2 03 00 00 00 00 00 FF 0F CA [19:37:19]RasterBufferAndPrint [19:37:19]line Счет N : (3)4460 [19:37:19]line ИНН: 02508201610067 [19:37:19]line Контрольно-Кассовый Чек [19:37:19]line ПРОДАЖА [19:37:19]line Товар: 2000036230011 [19:37:19]line Кофе Латте XL(GABB TRADE) [19:37:19]line 2.000 * 130.00 [19:37:19]line = 260.00 [19:37:19]line НДС 12% НСП 1% [19:37:19]line > о реализуемом товаре [19:37:19]line Товар: 2000036220012 [19:37:19]line Кофе Капучино XL(GABB TRADE) [19:37:19]line 1.000 * 125.00 [19:37:19]line = 125.00 [19:37:19]line НДС 12% НСП 1% [19:37:19]line > о реализуемом товаре [19:37:19]line ИТОГО: 385.00 [19:37:19]line НСП 1% : 3.41 [19:37:19]line НДС 12% : 40.88 [19:37:19]line Наличными: 0.00 [19:37:19]line Безнал.: 385.00 [19:37:19]line Место: АЗС № 116 "Партнер Нефть" [19:37:19]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [19:37:19]line СНО: Общий режим [19:37:19]line Чек 65 05.06.2024 19:37 [19:37:19]line Смена: 84 ФФД: 1.0 [19:37:19]line ЗНМ: 0300000233 [19:37:19]line РНМ: 0000000000145775 [19:37:19]line Версия ККМ: v1.0 [19:37:19]line Платежная система: О! деньги [19:37:19]line ФМ: 0000000000959360 [19:37:19]line ФД: 4207 [19:37:19]line ФПД: 262757250567209 [19:37:19]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T193719&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4207&fm=262757250567209&tin=02508201610067®Number=0000000000145775&sum=38500 [19:37:19]line 0 [19:37:19]written 0, free lines is 4095 [19:37:19]Connected sock=10 [19:37:19]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 98 01 00 00 D1 8C 90 01 5E CF 5A 03 01 00 03 00 84 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 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 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 64 96 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 55 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F8 0F 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 64 96 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 41 00 00 00 F4 03 04 00 6F BE 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 6F 10 00 00 35 04 06 00 EE F9 F0 95 0C 29 44 29 B1 EF 74 FC 69 FD [19:37:20]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 41 CF 47 00 4B 93 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 6F 10 00 00 F4 03 04 00 70 6A 60 66 B6 04 01 00 00 C1 CE D4 73 5E 4F E8 9B [19:37:20]CommunicateWithHost err = 0 [19:37:20]CheckOFDResponse [19:37:20]1017 (14) - 77093643461234 [19:37:20]1041 (16) - 0000000000959360 [19:37:20]1040 (4) - 4207 [19:37:20]1012 (4) - 05.06.2024 13:38 [19:37:20]1206 (1) - 0 [19:37:20]OFD Sender: Remove packet 4207 [19:37:20]ProducePacketName [19:37:20]name=ofd_packets/00004207 [19:37:20]NVStorageDeleteData [19:37:20]Write to MH i2c: 01 00 00 E3 03 E6 [19:37:20]Write i2c OK [19:37:20]MH_I2C_Read... [19:37:20]Read from MH i2c: 01 [19:37:20]MH_I2C_Read... [19:37:20]Read from MH i2c: 01 07 00 [19:37:20]MH_I2C_Read... [19:37:20]Read from MH i2c: 01 07 00 E3 03 00 00 00 00 00 38 0C 31 [19:37:20]RasterBufferAndPrint [19:37:20]line [19:37:20]line [19:37:20]line [19:37:20]line [19:37:20]line [19:37:20]written 0, free lines is 3133 [19:37:20]MH_Cut [19:37:20]Write to MH i2c: D1 01 00 EA 03 01 BF [19:37:20]Write i2c OK [19:37:20]MH_I2C_Read... [19:37:20]Read from MH i2c: D1 [19:37:20]MH_I2C_Read... [19:37:20]Read from MH i2c: D1 01 00 [19:37:20]MH_I2C_Read... [19:37:20]Read from MH i2c: D1 01 00 EA 03 00 BE [19:37:20]Write to MH i2c: 01 00 00 EB 03 EE [19:37:20]Write i2c OK [19:37:20]MH_I2C_Read... [19:37:20]OFD Sender: No OFD packet to send [19:37:21]*** Cut start [19:37:21]*** Partial cut [19:37:21]*** CUTSNS_PIN = 1 [19:37:21]*** CUTSNS_PIN = 0 [19:37:21]*** Brake cut motor [19:37:22]Read from MH i2c: 01 [19:37:22]MH_I2C_Read... [19:37:22]*** Stop cut motor [19:37:22]*** Cut end [19:37:22]Read from MH i2c: 01 07 00 [19:37:22]MH_I2C_Read... [19:37:22]Read from MH i2c: 01 07 00 EB 03 00 00 00 00 00 FF 0F 03 [19:37:22]process_action close_receipt done [19:37:22]requested_data is exist [19:37:22]produce_requested_data [19:37:22]requested_item fm.sn is exist - process it [19:37:22]wFMCommunicate request_size=4 [19:37:22]MH_SAM_APDU [19:37:22]CAPDU: 80 11 00 00 [19:37:22]Write to MH i2c: E2 08 00 EC 03 80 11 00 00 00 00 00 00 69 [19:37:22]Write i2c OK [19:37:22]MH_I2C_Read... [19:37:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:37:22]Read from MH i2c: E2 [19:37:22]MH_I2C_Read... [19:37:22]Read from MH i2c: E2 17 00 [19:37:22]MH_I2C_Read... [19:37:22]Read from MH i2c: E2 17 00 EC 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 BC [19:37:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [19:37:22]wFMCommunicate OK [19:37:22]requested_item fd.num is exist - process it [19:37:22]SAM_PROTO_GetFieldsCounters [19:37:22]wFMCommunicate request_size=4 [19:37:22]MH_SAM_APDU [19:37:22]CAPDU: 80 13 00 00 [19:37:22]Write to MH i2c: E2 08 00 ED 03 80 13 00 00 00 00 00 00 6C [19:37:22]Write i2c OK [19:37:22]MH_I2C_Read... [19:37:22]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:37:22]Read from MH i2c: E2 [19:37:22]MH_I2C_Read... [19:37:22]Read from MH i2c: E2 62 00 [19:37:22]MH_I2C_Read... [19:37:22]Read from MH i2c: E2 62 00 ED 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 6F 10 00 00 0E 04 04 00 54 00 00 00 12 04 04 00 41 00 00 00 5E 04 04 00 41 00 00 00 57 04 04 00 42 00 00 00 19 04 04 00 00 00 00 00 90 00 27 [19:37:22]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 6F 10 00 00 0E 04 04 00 54 00 00 00 12 04 04 00 41 00 00 00 5E 04 04 00 41 00 00 00 57 04 04 00 42 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:37:22]wFMCommunicate OK [19:37:22]SAM_PROTO_GetFieldsCounters done [19:37:22]requested_item shift.num is exist - process it [19:37:22]requested_item shift.opened is exist - process it [19:37:22]req_shift_opened [19:37:22]FM_GetShiftState [19:37:22]SAM_PROTO_GetShiftState [19:37:22]wFMCommunicate request_size=4 [19:37:22]MH_SAM_APDU [19:37:22]CAPDU: 80 13 01 00 [19:37:22]Write to MH i2c: E2 08 00 EE 03 80 13 01 00 00 00 00 00 6E [19:37:22]Write i2c OK [19:37:22]MH_I2C_Read... [19:37:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:37:22]Read from MH i2c: E2 [19:37:22]MH_I2C_Read... [19:37:22]Read from MH i2c: E2 0E 00 [19:37:22]MH_I2C_Read... [19:37:22]Read from MH i2c: E2 0E 00 EE 03 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 0F [19:37:22]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [19:37:22]wFMCommunicate OK [19:37:22]SAM_PROTO_GetShiftState done [19:37:22]FM_GetShiftState done [19:37:22]req_shift_opened done [19:37:22]requested_item shift.open_date is exist - process it [19:37:22]req_shift_open_date [19:37:22]req_shift_open_date done [19:37:22]produce_requested_data done [19:37:22]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4207,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765} [19:37:22]process_action_free close_receipt [19:37:22]json_value_free [19:37:22]json_value_free done [19:37:22]process_json_proto returns [19:37:22]Send response to host [19:37:22]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4207,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765}}} [19:37:22]free response buf [19:37:22]execute_script done [19:37:22]execute_script returns [19:37:22]free content buf [19:37:22]Sock 8.Close socket [19:37:22]Sock 8.Thread stoped [19:37:25]OFD Sender: No OFD packet to send [19:37:30]OFD Sender: No OFD packet to send [19:37:35]OFD Sender: No OFD packet to send [19:37:40]OFD Sender: No OFD packet to send [19:37:45]OFD Sender: No OFD packet to send [19:37:48]accept exits with 9 [19:37:48]New connection [19:37:48]New thread 3066629476 created [19:37:48]Thread 3066772836 joined [19:37:48]Waiting for new connection... [19:37:48] Sock 9.Parse request [19:37:48]Sock 9.Check first char [19:37:48]Sock 9.First char is OK [19:37:48]request: POST /json_proto HTTP/1.0 [19:37:48]Method: POST [19:37:48]URL: /json_proto [19:37:48]Method is POST - this is cgi request [19:37:48]url: /json_proto [19:37:48]query_string will be loaded in cgi processing [19:37:48]execute_cgi json_proto POST (null) [19:37:48]execute_cgi path=json_proto method=POST [19:37:48]POST find Content-Length [19:37:48]Host: 172.17.56.68:8080 [19:37:48]Content-Length: 932 [19:37:48]Content-Type: application/json [19:37:48] [19:37:48]POST finish read [19:37:48]Found Content-Length = 932 [19:37:48]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4461", "tax_sys" : 0, "items" : [ { "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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 }]} ], "payments": [ { "type": 0, "sum" : 220.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:37:48]execute_script... [19:37: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)4461", "tax_sys" : 0, "items" : [ { "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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 }]} ], "payments": [ { "type": 0, "sum" : 220.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:37:48]POST & json_proto [19:37:48]process_json_proto [19:37:48]json parsed OK: [19:37:48]protocol is kg_v1.0 [19:37:48]action value=close_receipt [19:37:48]process_action close_receipt [19:37:48]cmd_close_receipt [19:37:48]MH_GetDate [19:37:48]Write to MH i2c: F0 00 00 EF 03 E1 [19:37:48]Write i2c OK [19:37:48]MH_I2C_Read... [19:37:48]Read from MH i2c: F0 [19:37:48]MH_I2C_Read... [19:37:48]Read from MH i2c: F0 09 00 [19:37:48]MH_I2C_Read... [19:37:48]Read from MH i2c: F0 09 00 EF 03 00 8D BE 60 66 3A 8F 60 66 8A [19:37:48]GetLastDocTimeStamp 1717616239 [19:37:48]current date 1717616269 [19:37:48]FM_GetShiftState [19:37:48]SAM_PROTO_GetShiftState [19:37:48]wFMCommunicate request_size=4 [19:37:48]MH_SAM_APDU [19:37:48]CAPDU: 80 13 01 00 [19:37:48]Write to MH i2c: E2 08 00 F0 03 80 13 01 00 00 00 00 00 70 [19:37:48]Write i2c OK [19:37:48]MH_I2C_Read... [19:37:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:37:48]Read from MH i2c: E2 [19:37:48]MH_I2C_Read... [19:37:48]Read from MH i2c: E2 0E 00 [19:37:48]MH_I2C_Read... [19:37:48]Read from MH i2c: E2 0E 00 F0 03 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 11 [19:37:48]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [19:37:48]wFMCommunicate OK [19:37:48]SAM_PROTO_GetShiftState done [19:37:48]FM_GetShiftState done [19:37:48]opened in 1717545765 [19:37:48]opened+sec_in_day 1717632165 [19:37:48]quantity*price = 9500 [19:37:48]sum+1 = 9501 [19:37:48]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 5449000133328 Напиток Кока-Кола Zero 1л 1.000 * 125.00 = 125.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 220.00 НСП 1% : 1.95 НДС 12% : 23.36 Наличными: 220.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 66 05.06.2024 19:37 Смена: 84 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4208 ФПД: 138447689842708 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T193750&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4208&fm=138447689842708&tin=02508201610067®Number=0000000000145775&sum=22000 0 [19:37:49]StoreToDocumentArchive [19:37:49]shift 84 fd 4208 [19:37:49]save to /storage/0084/doc_00004208 [19:37:49]save last doc name /storage/0084/doc_00004208 to /storage/kkm_last_doc_name [19:37:49]save OK [19:37:49]Clear old archive folders... [19:37:49]ProcessDocumentItem done err = 0, tmpTLVsize=406 [19:37:49]tlvbuf is 019A0300 [19:37:49]SAM_PROTO_ClearQueue [19:37:49]wFMCommunicate request_size=4 [19:37:49]MH_SAM_APDU [19:37:49]CAPDU: 80 09 00 00 [19:37:49]Write to MH i2c: E2 08 00 FD 03 80 09 00 00 00 00 00 00 72 [19:37:49]Write i2c OK [19:37:49]MH_I2C_Read... [19:37:49]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:37:49]Read from MH i2c: E2 [19:37:49]MH_I2C_Read... [19:37:49]Read from MH i2c: E2 03 00 [19:37:49]MH_I2C_Read... [19:37:49]Read from MH i2c: E2 03 00 FD 03 00 90 00 74 [19:37:49]RAPDU: 90 00 [19:37:49]wFMCommunicate OK [19:37:49]SAM_PROTO_ClearQueue done [19:37:49]KKMCreateOFDPacket [19:37:49]OFDProtocolAddRootSTLVToBuf [19:37:49]FM_MakeSignedData [19:37:49]FM_MakeSignedData [19:37:49]SAM_PROTO_SignData [19:37:49]wFMCommunicate request_size=4 [19:37:49]MH_SAM_APDU [19:37:49]CAPDU: 80 0D 01 02 [19:37:49]Write to MH i2c: E2 08 00 FE 03 80 0D 01 02 00 00 00 00 7A [19:37:49]Write i2c OK [19:37:49]MH_I2C_Read... [19:37:49]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:37:49]Read from MH i2c: E2 [19:37:49]MH_I2C_Read... [19:37:49]Read from MH i2c: E2 03 00 [19:37:49]MH_I2C_Read... [19:37:49]Read from MH i2c: E2 03 00 FE 03 00 90 00 75 [19:37:49]RAPDU: 90 00 [19:37:49]wFMCommunicate OK [19:37:49]wFMCommunicate request_size=255 [19:37:49]MH_SAM_APDU [19:37:49]CAPDU: 80 0D 02 02 FA 03 00 96 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 FC 03 06 00 F0 [19:37:49]Write to MH i2c: E2 02 01 FF 03 80 0D 02 02 FA 00 03 00 96 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 FC 03 06 00 F0 00 00 44 [19:37:49]Write i2c OK [19:37:49]MH_I2C_Read... [19:37:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:37:50]Read from MH i2c: E2 [19:37:50]MH_I2C_Read... [19:37:50]Read from MH i2c: E2 03 00 [19:37:50]MH_I2C_Read... [19:37:50]Read from MH i2c: E2 03 00 FF 03 00 90 00 76 [19:37:50]RAPDU: 90 00 [19:37:50]wFMCommunicate OK [19:37:50]wFMCommunicate request_size=165 [19:37:50]MH_SAM_APDU [19:37:50]CAPDU: 80 0D 02 02 A0 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 42 00 00 00 F4 03 04 00 8E BE 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 70 10 00 00 35 04 06 00 7D EA DD 5F 80 14 [19:37:50]Write to MH i2c: E2 A8 00 00 04 80 0D 02 02 A0 00 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 42 00 00 00 F4 03 04 00 8E BE 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 70 10 00 00 35 04 06 00 7D EA DD 5F 80 14 00 00 E4 [19:37:50]Write i2c OK [19:37:50]MH_I2C_Read... [19:37:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:37:50]Read from MH i2c: E2 [19:37:50]MH_I2C_Read... [19:37:50]Read from MH i2c: E2 03 00 [19:37:50]MH_I2C_Read... [19:37:50]Read from MH i2c: E2 03 00 00 04 00 90 00 78 [19:37:50]RAPDU: 90 00 [19:37:50]wFMCommunicate OK [19:37:50]wFMCommunicate request_size=4 [19:37:50]MH_SAM_APDU [19:37:50]CAPDU: 80 0D 03 02 [19:37:50]Write to MH i2c: E2 08 00 01 04 80 0D 03 02 00 00 00 00 80 [19:37:50]Write i2c OK [19:37:50]MH_I2C_Read... [19:37:50]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:37:50]Read from MH i2c: E2 [19:37:50]MH_I2C_Read... [19:37:50]Read from MH i2c: E2 0B 00 [19:37:50]MH_I2C_Read... [19:37:50]Read from MH i2c: E2 0B 00 01 04 00 7A 16 BF FE B3 A7 9F 2D 90 00 F4 [19:37:50]RAPDU: 7A 16 BF FE B3 A7 9F 2D 90 00 [19:37:50]wFMCommunicate OK [19:37:50]SAM_PROTO_SignData done [19:37:50]FM_MakeSignedData done [19:37:50]CreateOFDProtocolMessage [19:37:50]wFMCommunicate request_size=4 [19:37:50]MH_SAM_APDU [19:37:50]CAPDU: 80 11 00 00 [19:37:50]Write to MH i2c: E2 08 00 02 04 80 11 00 00 00 00 00 00 80 [19:37:50]Write i2c OK [19:37:50]MH_I2C_Read... [19:37:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:37:50]Read from MH i2c: E2 [19:37:50]MH_I2C_Read... [19:37:50]Read from MH i2c: E2 17 00 [19:37:50]MH_I2C_Read... [19:37:50]Read from MH i2c: E2 17 00 02 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 D3 [19:37:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [19:37:50]wFMCommunicate OK [19:37:50]CreateOFDProtocolMessage done [19:37:50]OFDSenderStorePacket 4208 [19:37:50]StoreOFDPacket docnum=4208 [19:37:50]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 AA 01 00 00 52 B9 A2 01 06 A1 5A 03 01 00 03 00 96 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 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 42 00 00 00 F4 03 04 00 8E BE 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 70 10 00 00 35 04 06 00 7D EA DD 5F 80 14 7A 16 BF FE B3 A7 9F 2D [19:37:50]CheckFolder [19:37:50]dirname=/storage/ofd_packets [19:37:50]CheckFolder done [19:37:50]ProducePacketName [19:37:50]name=ofd_packets/00004208 [19:37:50]NVStorageSaveData ofd_packets/00004208 [19:37:50]File name is /storage/ofd_packets/00004208 [19:37:50]Write 456 bytes [19:37:50]NVStorageSaveData done [19:37:50]OFDSenderStorePacket done [19:37:50]KKMCreateOFDPacket done [19:37:50]NVStorageSaveData kkm_last_timestamp [19:37:50]File name is /storage/kkm_last_timestamp [19:37:50]Write 4 bytes [19:37:50]NVStorageSaveData done [19:37:50]ExternCall_PrintAddStr [19:37:50]wPrintStart [19:37:50]Write to MH i2c: 01 00 00 03 04 07 [19:37:50]Write i2c OK [19:37:50]MH_I2C_Read... [19:37:50]Read from MH i2c: 01 [19:37:50]MH_I2C_Read... [19:37:50]Read from MH i2c: 01 07 00 [19:37:50]MH_I2C_Read... [19:37:50]OFD Sender: Processing packet 4208 [packets to send 2, broken 1] [19:37:50]ProducePacketName [19:37:50]name=ofd_packets/00004208 [19:37:50]Read from MH i2c: OFD Sender: To server: pG, [19:37:50]01 CommunicateWithHost lk.salyk.kg:30040 [19:37:50]07 ConnectInit lk.salyk.kg [19:37:50]00 03 04 00 00 00 00 00 FF 0F 1C [19:37:50]RasterBufferAndPrint [19:37:50]line Счет N : (3)4461 [19:37:50]line ИНН: 02508201610067 [19:37:50]line Контрольно-Кассовый Чек [19:37:50]line ПРОДАЖА [19:37:50]line Товар: 4700000480050 [19:37:50]line Напиток Nitro Energy эн green ж/б 0,45л [19:37:50]line 1.000 * 95.00 [19:37:50]line = 95.00 [19:37:50]line НДС 12% НСП 1% [19:37:50]line > о реализуемом товаре [19:37:50]line Товар: 5449000133328 [19:37:50]line Напиток Кока-Кола Zero 1л [19:37:50]line 1.000 * 125.00 [19:37:50]line = 125.00 [19:37:50]line НДС 12% НСП 1% [19:37:50]line > о реализуемом товаре [19:37:50]line ИТОГО: 220.00 [19:37:50]line НСП 1% : 1.95 [19:37:50]line НДС 12% : 23.36 [19:37:50]line Наличными: 220.00 [19:37:50]line Безнал.: 0.00 [19:37:50]line Место: АЗС № 116 "Партнер Нефть" [19:37:50]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [19:37:50]line СНО: Общий режим [19:37:50]line Чек 66 05.06.2024 19:37 [19:37:50]line Смена: 84 ФФД: 1.0 [19:37:50]line ЗНМ: 0300000233 [19:37:50]line РНМ: 0000000000145775 [19:37:50]line Версия ККМ: v1.0 [19:37:50]line ФМ: 0000000000959360 [19:37:50]line ФД: 4208 [19:37:50]line ФПД: 138447689842708 [19:37:50]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T193750&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4208&fm=138447689842708&tin=02508201610067®Number=0000000000145775&sum=22000 [19:37:50]line 0 [19:37:50]written 0, free lines is 4095 [19:37:50]Connected sock=10 [19:37:50]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 AA 01 00 00 52 B9 A2 01 06 A1 5A 03 01 00 03 00 96 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 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 42 00 00 00 F4 03 04 00 8E BE 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 70 10 00 00 35 04 06 00 7D EA DD 5F 80 14 7A 16 BF FE B3 A7 9F 2D [19:37:50]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 CC 3F 47 00 29 7F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 70 10 00 00 F4 03 04 00 8F 6A 60 66 B6 04 01 00 00 D1 44 3C CE BB 6C E5 13 [19:37:50]CommunicateWithHost err = 0 [19:37:50]CheckOFDResponse [19:37:50]1017 (14) - 77093643461234 [19:37:50]1041 (16) - 0000000000959360 [19:37:50]1040 (4) - 4208 [19:37:50]1012 (4) - 05.06.2024 13:39 [19:37:50]1206 (1) - 0 [19:37:50]OFD Sender: Remove packet 4208 [19:37:50]ProducePacketName [19:37:50]name=ofd_packets/00004208 [19:37:50]NVStorageDeleteData [19:37:51]Write to MH i2c: 01 00 00 32 04 36 [19:37:51]Write i2c OK [19:37:51]MH_I2C_Read... [19:37:51]Read from MH i2c: 01 [19:37:51]MH_I2C_Read... [19:37:51]Read from MH i2c: 01 07 00 [19:37:51]MH_I2C_Read... [19:37:51]Read from MH i2c: 01 07 00 32 04 00 00 00 00 00 4D 0C 96 [19:37:51]RasterBufferAndPrint [19:37:51]line [19:37:51]line [19:37:51]line [19:37:51]line [19:37:51]line [19:37:51]written 0, free lines is 3152 [19:37:51]MH_Cut [19:37:51]Write to MH i2c: D1 01 00 39 04 01 0F [19:37:51]Write i2c OK [19:37:51]MH_I2C_Read... [19:37:51]Read from MH i2c: D1 [19:37:51]MH_I2C_Read... [19:37:51]Read from MH i2c: D1 01 00 [19:37:51]MH_I2C_Read... [19:37:51]Read from MH i2c: D1 01 00 39 04 00 0E [19:37:51]Write to MH i2c: 01 00 00 3A 04 3E [19:37:51]Write i2c OK [19:37:51]MH_I2C_Read... [19:37:51]OFD Sender: No OFD packet to send [19:37:52]*** Cut start [19:37:52]*** Partial cut [19:37:52]*** CUTSNS_PIN = 1 [19:37:52]*** CUTSNS_PIN = 0 [19:37:52]*** Brake cut motor [19:37:52]Read from MH i2c: 01 [19:37:52]MH_I2C_Read... [19:37:52]*** Stop cut motor [19:37:52]*** Cut end [19:37:52]Read from MH i2c: 01 07 00 [19:37:52]MH_I2C_Read... [19:37:52]Read from MH i2c: 01 07 00 3A 04 00 00 00 00 00 FF 0F 53 [19:37:52]process_action close_receipt done [19:37:52]requested_data is exist [19:37:52]produce_requested_data [19:37:52]requested_item fm.sn is exist - process it [19:37:52]wFMCommunicate request_size=4 [19:37:52]MH_SAM_APDU [19:37:52]CAPDU: 80 11 00 00 [19:37:52]Write to MH i2c: E2 08 00 3B 04 80 11 00 00 00 00 00 00 B9 [19:37:52]Write i2c OK [19:37:52]MH_I2C_Read... [19:37:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:37:52]Read from MH i2c: E2 [19:37:52]MH_I2C_Read... [19:37:52]Read from MH i2c: E2 17 00 [19:37:52]MH_I2C_Read... [19:37:52]Read from MH i2c: E2 17 00 3B 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 0C [19:37:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [19:37:52]wFMCommunicate OK [19:37:52]requested_item fd.num is exist - process it [19:37:52]SAM_PROTO_GetFieldsCounters [19:37:52]wFMCommunicate request_size=4 [19:37:52]MH_SAM_APDU [19:37:52]CAPDU: 80 13 00 00 [19:37:52]Write to MH i2c: E2 08 00 3C 04 80 13 00 00 00 00 00 00 BC [19:37:52]Write i2c OK [19:37:52]MH_I2C_Read... [19:37:53]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:37:53]Read from MH i2c: E2 [19:37:53]MH_I2C_Read... [19:37:53]Read from MH i2c: E2 62 00 [19:37:53]MH_I2C_Read... [19:37:53]Read from MH i2c: E2 62 00 3C 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 70 10 00 00 0E 04 04 00 54 00 00 00 12 04 04 00 42 00 00 00 5E 04 04 00 42 00 00 00 57 04 04 00 43 00 00 00 19 04 04 00 00 00 00 00 90 00 7B [19:37:53]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 70 10 00 00 0E 04 04 00 54 00 00 00 12 04 04 00 42 00 00 00 5E 04 04 00 42 00 00 00 57 04 04 00 43 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:37:53]wFMCommunicate OK [19:37:53]SAM_PROTO_GetFieldsCounters done [19:37:53]requested_item shift.num is exist - process it [19:37:53]requested_item shift.opened is exist - process it [19:37:53]req_shift_opened [19:37:53]FM_GetShiftState [19:37:53]SAM_PROTO_GetShiftState [19:37:53]wFMCommunicate request_size=4 [19:37:53]MH_SAM_APDU [19:37:53]CAPDU: 80 13 01 00 [19:37:53]Write to MH i2c: E2 08 00 3D 04 80 13 01 00 00 00 00 00 BE [19:37:53]Write i2c OK [19:37:53]MH_I2C_Read... [19:37:53]Read from MH i2c: E2 [19:37:53]MH_I2C_Read... [19:37:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:37:53]Read from MH i2c: E2 0E 00 [19:37:53]MH_I2C_Read... [19:37:53]Read from MH i2c: E2 0E 00 3D 04 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 5F [19:37:53]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [19:37:53]wFMCommunicate OK [19:37:53]SAM_PROTO_GetShiftState done [19:37:53]FM_GetShiftState done [19:37:53]req_shift_opened done [19:37:53]requested_item shift.open_date is exist - process it [19:37:53]req_shift_open_date [19:37:53]req_shift_open_date done [19:37:53]produce_requested_data done [19:37:53]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4208,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765} [19:37:53]process_action_free close_receipt [19:37:53]json_value_free [19:37:53]json_value_free done [19:37:53]process_json_proto returns [19:37:53]Send response to host [19:37:53]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4208,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765}}} [19:37:53]free response buf [19:37:53]execute_script done [19:37:53]execute_script returns [19:37:53]free content buf [19:37:53]Sock 9.Close socket [19:37:53]Sock 9.Thread stoped [19:37:56]OFD Sender: No OFD packet to send [19:38:01]OFD Sender: No OFD packet to send [19:38:06]OFD Sender: No OFD packet to send [19:38:11]OFD Sender: No OFD packet to send [19:38:16]OFD Sender: No OFD packet to send [19:38:21]OFD Sender: No OFD packet to send [19:38:26]OFD Sender: No OFD packet to send [19:38:31]OFD Sender: No OFD packet to send [19:38:36]OFD Sender: No OFD packet to send [19:38:41]OFD Sender: No OFD packet to send [19:38:46]OFD Sender: No OFD packet to send [19:38:51]OFD Sender: No OFD packet to send [19:38:56]OFD Sender: No OFD packet to send [19:39:01]OFD Sender: No OFD packet to send [19:39:06]OFD Sender: No OFD packet to send [19:39:11]OFD Sender: No OFD packet to send [19:39:16]OFD Sender: No OFD packet to send [19:39:21]OFD Sender: No OFD packet to send [19:39:26]OFD Sender: No OFD packet to send [19:39:31]OFD Sender: No OFD packet to send [19:39:36]OFD Sender: No OFD packet to send [19:39:41]OFD Sender: No OFD packet to send [19:39:46]OFD Sender: No OFD packet to send [19:39:51]OFD Sender: No OFD packet to send [19:39:56]OFD Sender: No OFD packet to send [19:40:01]OFD Sender: No OFD packet to send [19:40:06]OFD Sender: No OFD packet to send [19:40:11]OFD Sender: No OFD packet to send [19:40:16]OFD Sender: No OFD packet to send [19:40:21]OFD Sender: No OFD packet to send [19:40:26]OFD Sender: No OFD packet to send [19:40:31]OFD Sender: No OFD packet to send [19:40:36]OFD Sender: No OFD packet to send [19:40:41]OFD Sender: No OFD packet to send [19:40:46]OFD Sender: No OFD packet to send [19:40:51]OFD Sender: No OFD packet to send [19:40:56]OFD Sender: No OFD packet to send [19:41:01]OFD Sender: No OFD packet to send [19:41:06]OFD Sender: No OFD packet to send [19:41:11]OFD Sender: No OFD packet to send [19:41:16]OFD Sender: No OFD packet to send [19:41:21]OFD Sender: No OFD packet to send [19:41:26]OFD Sender: No OFD packet to send [19:41:31]OFD Sender: No OFD packet to send [19:41:36]OFD Sender: No OFD packet to send [19:41:41]OFD Sender: No OFD packet to send [19:41:46]OFD Sender: No OFD packet to send [19:41:51]OFD Sender: No OFD packet to send [19:41:56]OFD Sender: No OFD packet to send [19:42:01]OFD Sender: No OFD packet to send [19:42:06]OFD Sender: No OFD packet to send [19:42:11]OFD Sender: No OFD packet to send [19:42:16]OFD Sender: No OFD packet to send [19:42:21]OFD Sender: No OFD packet to send [19:42:26]OFD Sender: No OFD packet to send [19:42:31]OFD Sender: No OFD packet to send [19:42:36]OFD Sender: No OFD packet to send [19:42:41]OFD Sender: No OFD packet to send [19:42:46]OFD Sender: No OFD packet to send [19:42:51]OFD Sender: No OFD packet to send [19:42:56]OFD Sender: No OFD packet to send [19:43:01]OFD Sender: No OFD packet to send [19:43:06]OFD Sender: No OFD packet to send [19:43:11]OFD Sender: No OFD packet to send [19:43:16]OFD Sender: No OFD packet to send [19:43:21]OFD Sender: No OFD packet to send [19:43:26]OFD Sender: No OFD packet to send [19:43:31]OFD Sender: No OFD packet to send [19:43:36]OFD Sender: No OFD packet to send [19:43:41]OFD Sender: No OFD packet to send [19:43:46]OFD Sender: No OFD packet to send [19:43:51]OFD Sender: No OFD packet to send [19:43:56]OFD Sender: No OFD packet to send [19:44:01]OFD Sender: No OFD packet to send [19:44:06]OFD Sender: No OFD packet to send [19:44:11]OFD Sender: No OFD packet to send [19:44:16]OFD Sender: No OFD packet to send [19:44:21]OFD Sender: No OFD packet to send [19:44:26]OFD Sender: No OFD packet to send [19:44:31]OFD Sender: No OFD packet to send [19:44:36]OFD Sender: No OFD packet to send [19:44:41]OFD Sender: No OFD packet to send [19:44:46]OFD Sender: No OFD packet to send [19:44:51]OFD Sender: No OFD packet to send [19:44:56]OFD Sender: No OFD packet to send [19:45:01]OFD Sender: No OFD packet to send [19:45:06]OFD Sender: No OFD packet to send [19:45:11]OFD Sender: No OFD packet to send [19:45:16]OFD Sender: No OFD packet to send [19:45:21]OFD Sender: No OFD packet to send [19:45:26]OFD Sender: No OFD packet to send [19:45:31]OFD Sender: No OFD packet to send [19:45:36]OFD Sender: No OFD packet to send [19:45:41]OFD Sender: No OFD packet to send [19:45:46]OFD Sender: No OFD packet to send [19:45:51]OFD Sender: No OFD packet to send [19:45:56]OFD Sender: No OFD packet to send [19:46:01]OFD Sender: No OFD packet to send [19:46:06]OFD Sender: No OFD packet to send [19:46:11]OFD Sender: No OFD packet to send [19:46:16]OFD Sender: No OFD packet to send [19:46:21]OFD Sender: No OFD packet to send [19:46:26]OFD Sender: No OFD packet to send [19:46:31]OFD Sender: No OFD packet to send [19:46:36]OFD Sender: No OFD packet to send [19:46:41]OFD Sender: No OFD packet to send [19:46:46]OFD Sender: No OFD packet to send [19:46:51]OFD Sender: No OFD packet to send [19:46:56]OFD Sender: No OFD packet to send [19:47:01]OFD Sender: No OFD packet to send [19:47:06]OFD Sender: No OFD packet to send [19:47:11]OFD Sender: No OFD packet to send [19:47:16]OFD Sender: No OFD packet to send [19:47:21]OFD Sender: No OFD packet to send [19:47:26]OFD Sender: No OFD packet to send [19:47:31]OFD Sender: No OFD packet to send [19:47:36]OFD Sender: No OFD packet to send [19:47:41]OFD Sender: No OFD packet to send [19:47:46]OFD Sender: No OFD packet to send [19:47:51]OFD Sender: No OFD packet to send [19:47:56]OFD Sender: No OFD packet to send [19:48:01]OFD Sender: No OFD packet to send [19:48:06]OFD Sender: No OFD packet to send [19:48:11]OFD Sender: No OFD packet to send [19:48:16]OFD Sender: No OFD packet to send [19:48:21]OFD Sender: No OFD packet to send [19:48:26]OFD Sender: No OFD packet to send [19:48:31]OFD Sender: No OFD packet to send [19:48:36]OFD Sender: No OFD packet to send [19:48:42]OFD Sender: No OFD packet to send [19:48:47]OFD Sender: No OFD packet to send [19:48:52]OFD Sender: No OFD packet to send [19:48:57]OFD Sender: No OFD packet to send [19:49:02]OFD Sender: No OFD packet to send [19:49:07]OFD Sender: No OFD packet to send [19:49:12]OFD Sender: No OFD packet to send [19:49:17]OFD Sender: No OFD packet to send [19:49:22]OFD Sender: No OFD packet to send [19:49:27]OFD Sender: No OFD packet to send [19:49:32]OFD Sender: No OFD packet to send [19:49:37]OFD Sender: No OFD packet to send [19:49:42]OFD Sender: No OFD packet to send [19:49:47]OFD Sender: No OFD packet to send [19:49:52]OFD Sender: No OFD packet to send [19:49:57]OFD Sender: No OFD packet to send [19:50:02]OFD Sender: No OFD packet to send [19:50:07]OFD Sender: No OFD packet to send [19:50:12]OFD Sender: No OFD packet to send [19:50:17]OFD Sender: No OFD packet to send [19:50:22]OFD Sender: No OFD packet to send [19:50:27]OFD Sender: No OFD packet to send [19:50:32]OFD Sender: No OFD packet to send [19:50:37]OFD Sender: No OFD packet to send [19:50:42]OFD Sender: No OFD packet to send [19:50:47]OFD Sender: No OFD packet to send [19:50:52]OFD Sender: No OFD packet to send [19:50:57]OFD Sender: No OFD packet to send [19:51:02]OFD Sender: No OFD packet to send [19:51:07]OFD Sender: No OFD packet to send [19:51:12]OFD Sender: No OFD packet to send [19:51:17]OFD Sender: No OFD packet to send [19:51:22]OFD Sender: No OFD packet to send [19:51:27]OFD Sender: No OFD packet to send [19:51:32]OFD Sender: No OFD packet to send [19:51:37]OFD Sender: No OFD packet to send [19:51:42]OFD Sender: No OFD packet to send [19:51:47]OFD Sender: No OFD packet to send [19:51:52]OFD Sender: No OFD packet to send [19:51:57]OFD Sender: No OFD packet to send [19:52:02]OFD Sender: No OFD packet to send [19:52:07]OFD Sender: No OFD packet to send [19:52:12]OFD Sender: No OFD packet to send [19:52:17]OFD Sender: No OFD packet to send [19:52:22]OFD Sender: No OFD packet to send [19:52:27]OFD Sender: No OFD packet to send [19:52:32]OFD Sender: No OFD packet to send [19:52:37]OFD Sender: No OFD packet to send [19:52:42]OFD Sender: No OFD packet to send [19:52:47]OFD Sender: No OFD packet to send [19:52:52]OFD Sender: No OFD packet to send [19:52:57]OFD Sender: No OFD packet to send [19:53:02]OFD Sender: No OFD packet to send [19:53:07]OFD Sender: No OFD packet to send [19:53:12]OFD Sender: No OFD packet to send [19:53:17]OFD Sender: No OFD packet to send [19:53:22]OFD Sender: No OFD packet to send [19:53:27]OFD Sender: No OFD packet to send [19:53:32]OFD Sender: No OFD packet to send [19:53:37]OFD Sender: No OFD packet to send [19:53:42]OFD Sender: No OFD packet to send [19:53:47]OFD Sender: No OFD packet to send [19:53:52]OFD Sender: No OFD packet to send [19:53:57]OFD Sender: No OFD packet to send [19:54:02]OFD Sender: No OFD packet to send [19:54:07]OFD Sender: No OFD packet to send [19:54:12]OFD Sender: No OFD packet to send [19:54:17]OFD Sender: No OFD packet to send [19:54:22]OFD Sender: No OFD packet to send [19:54:27]OFD Sender: No OFD packet to send [19:54:32]OFD Sender: No OFD packet to send [19:54:37]OFD Sender: No OFD packet to send [19:54:42]OFD Sender: No OFD packet to send [19:54:47]OFD Sender: No OFD packet to send [19:54:52]OFD Sender: No OFD packet to send [19:54:57]OFD Sender: No OFD packet to send [19:55:02]OFD Sender: No OFD packet to send [19:55:07]OFD Sender: No OFD packet to send [19:55:12]OFD Sender: No OFD packet to send [19:55:17]OFD Sender: No OFD packet to send [19:55:22]OFD Sender: No OFD packet to send [19:55:27]OFD Sender: No OFD packet to send [19:55:32]OFD Sender: No OFD packet to send [19:55:37]OFD Sender: No OFD packet to send [19:55:42]OFD Sender: No OFD packet to send [19:55:47]OFD Sender: No OFD packet to send [19:55:52]OFD Sender: No OFD packet to send [19:55:57]OFD Sender: No OFD packet to send [19:56:02]OFD Sender: No OFD packet to send [19:56:07]OFD Sender: No OFD packet to send [19:56:12]OFD Sender: No OFD packet to send [19:56:17]OFD Sender: No OFD packet to send [19:56:22]OFD Sender: No OFD packet to send [19:56:27]OFD Sender: No OFD packet to send [19:56:32]OFD Sender: No OFD packet to send [19:56:37]OFD Sender: No OFD packet to send [19:56:42]OFD Sender: No OFD packet to send [19:56:47]OFD Sender: No OFD packet to send [19:56:52]OFD Sender: No OFD packet to send [19:56:57]OFD Sender: No OFD packet to send [19:57:02]OFD Sender: No OFD packet to send [19:57:07]OFD Sender: No OFD packet to send [19:57:12]OFD Sender: No OFD packet to send [19:57:17]OFD Sender: No OFD packet to send [19:57:22]OFD Sender: No OFD packet to send [19:57:27]OFD Sender: No OFD packet to send [19:57:32]OFD Sender: No OFD packet to send [19:57:37]OFD Sender: No OFD packet to send [19:57:42]OFD Sender: No OFD packet to send [19:57:47]OFD Sender: No OFD packet to send [19:57:52]OFD Sender: No OFD packet to send [19:57:57]OFD Sender: No OFD packet to send [19:58:02]OFD Sender: No OFD packet to send [19:58:07]OFD Sender: No OFD packet to send [19:58:12]OFD Sender: No OFD packet to send [19:58:17]OFD Sender: No OFD packet to send [19:58:22]OFD Sender: No OFD packet to send [19:58:27]OFD Sender: No OFD packet to send [19:58:32]OFD Sender: No OFD packet to send [19:58:37]OFD Sender: No OFD packet to send [19:58:42]OFD Sender: No OFD packet to send [19:58:47]OFD Sender: No OFD packet to send [19:58:52]OFD Sender: No OFD packet to send [19:58:57]OFD Sender: No OFD packet to send [19:59:02]OFD Sender: No OFD packet to send [19:59:07]OFD Sender: No OFD packet to send [19:59:12]OFD Sender: No OFD packet to send [19:59:17]OFD Sender: No OFD packet to send [19:59:22]OFD Sender: No OFD packet to send [19:59:27]OFD Sender: No OFD packet to send [19:59:32]OFD Sender: No OFD packet to send [19:59:37]OFD Sender: No OFD packet to send [19:59:42]OFD Sender: No OFD packet to send [19:59:47]OFD Sender: No OFD packet to send [19:59:52]OFD Sender: No OFD packet to send [19:59:57]OFD Sender: No OFD packet to send [20:00:02]OFD Sender: No OFD packet to send [20:00:07]OFD Sender: No OFD packet to send [20:00:12]OFD Sender: No OFD packet to send [20:00:17]OFD Sender: No OFD packet to send [20:00:22]OFD Sender: No OFD packet to send [20:00:27]OFD Sender: No OFD packet to send [20:00:32]OFD Sender: No OFD packet to send [20:00:37]OFD Sender: No OFD packet to send [20:00:42]OFD Sender: No OFD packet to send [20:00:47]OFD Sender: No OFD packet to send [20:00:52]OFD Sender: No OFD packet to send [20:00:57]OFD Sender: No OFD packet to send [20:01:02]OFD Sender: No OFD packet to send [20:01:07]OFD Sender: No OFD packet to send [20:01:12]OFD Sender: No OFD packet to send [20:01:17]OFD Sender: No OFD packet to send [20:01:22]OFD Sender: No OFD packet to send [20:01:27]OFD Sender: No OFD packet to send [20:01:32]OFD Sender: No OFD packet to send [20:01:37]OFD Sender: No OFD packet to send [20:01:42]OFD Sender: No OFD packet to send [20:01:47]OFD Sender: No OFD packet to send [20:01:52]OFD Sender: No OFD packet to send [20:01:57]OFD Sender: No OFD packet to send [20:02:02]OFD Sender: No OFD packet to send [20:02:07]OFD Sender: No OFD packet to send [20:02:12]OFD Sender: No OFD packet to send [20:02:17]OFD Sender: No OFD packet to send [20:02:22]OFD Sender: No OFD packet to send [20:02:27]OFD Sender: No OFD packet to send [20:02:32]OFD Sender: No OFD packet to send [20:02:37]OFD Sender: No OFD packet to send [20:02:42]OFD Sender: No OFD packet to send [20:02:47]OFD Sender: No OFD packet to send [20:02:52]OFD Sender: No OFD packet to send [20:02:57]OFD Sender: No OFD packet to send [20:03:02]OFD Sender: No OFD packet to send [20:03:07]OFD Sender: No OFD packet to send [20:03:12]OFD Sender: No OFD packet to send [20:03:17]OFD Sender: No OFD packet to send [20:03:22]OFD Sender: No OFD packet to send [20:03:27]OFD Sender: No OFD packet to send [20:03:32]OFD Sender: No OFD packet to send [20:03:37]OFD Sender: No OFD packet to send [20:03:42]OFD Sender: No OFD packet to send [20:03:47]OFD Sender: No OFD packet to send [20:03:52]OFD Sender: No OFD packet to send [20:03:57]OFD Sender: No OFD packet to send [20:04:02]OFD Sender: No OFD packet to send [20:04:07]OFD Sender: No OFD packet to send [20:04:12]OFD Sender: No OFD packet to send [20:04:17]OFD Sender: No OFD packet to send [20:04:22]OFD Sender: No OFD packet to send [20:04:27]OFD Sender: No OFD packet to send [20:04:32]OFD Sender: No OFD packet to send [20:04:37]OFD Sender: No OFD packet to send [20:04:42]OFD Sender: No OFD packet to send [20:04:47]OFD Sender: No OFD packet to send [20:04:52]OFD Sender: No OFD packet to send [20:04:57]OFD Sender: No OFD packet to send [20:05:02]OFD Sender: No OFD packet to send [20:05:07]OFD Sender: No OFD packet to send [20:05:12]OFD Sender: No OFD packet to send [20:05:17]OFD Sender: No OFD packet to send [20:05:22]OFD Sender: No OFD packet to send [20:05:27]OFD Sender: No OFD packet to send [20:05:32]OFD Sender: No OFD packet to send [20:05:37]OFD Sender: No OFD packet to send [20:05:42]OFD Sender: No OFD packet to send [20:05:47]OFD Sender: No OFD packet to send [20:05:52]OFD Sender: No OFD packet to send [20:05:57]OFD Sender: No OFD packet to send [20:06:02]OFD Sender: No OFD packet to send [20:06:07]OFD Sender: No OFD packet to send [20:06:12]OFD Sender: No OFD packet to send [20:06:17]OFD Sender: No OFD packet to send [20:06:22]OFD Sender: No OFD packet to send [20:06:27]OFD Sender: No OFD packet to send [20:06:32]OFD Sender: No OFD packet to send [20:06:37]OFD Sender: No OFD packet to send [20:06:42]OFD Sender: No OFD packet to send [20:06:47]OFD Sender: No OFD packet to send [20:06:52]OFD Sender: No OFD packet to send [20:06:57]OFD Sender: No OFD packet to send [20:07:02]OFD Sender: No OFD packet to send [20:07:07]OFD Sender: No OFD packet to send [20:07:12]OFD Sender: No OFD packet to send [20:07:17]OFD Sender: No OFD packet to send [20:07:22]OFD Sender: No OFD packet to send [20:07:27]OFD Sender: No OFD packet to send [20:07:32]OFD Sender: No OFD packet to send [20:07:37]OFD Sender: No OFD packet to send [20:07:42]OFD Sender: No OFD packet to send [20:07:47]OFD Sender: No OFD packet to send [20:07:52]OFD Sender: No OFD packet to send [20:07:57]OFD Sender: No OFD packet to send [20:08:02]OFD Sender: No OFD packet to send [20:08:07]OFD Sender: No OFD packet to send [20:08:12]OFD Sender: No OFD packet to send [20:08:17]OFD Sender: No OFD packet to send [20:08:22]OFD Sender: No OFD packet to send [20:08:27]OFD Sender: No OFD packet to send [20:08:32]OFD Sender: No OFD packet to send [20:08:37]OFD Sender: No OFD packet to send [20:08:42]OFD Sender: No OFD packet to send [20:08:47]OFD Sender: No OFD packet to send [20:08:52]OFD Sender: No OFD packet to send [20:08:57]OFD Sender: No OFD packet to send [20:09:02]OFD Sender: No OFD packet to send [20:09:07]OFD Sender: No OFD packet to send [20:09:12]OFD Sender: No OFD packet to send [20:09:17]OFD Sender: No OFD packet to send [20:09:22]OFD Sender: No OFD packet to send [20:09:27]OFD Sender: No OFD packet to send [20:09:32]OFD Sender: No OFD packet to send [20:09:37]OFD Sender: No OFD packet to send [20:09:42]OFD Sender: No OFD packet to send [20:09:47]OFD Sender: No OFD packet to send [20:09:52]OFD Sender: No OFD packet to send [20:09:57]OFD Sender: No OFD packet to send [20:10:02]OFD Sender: No OFD packet to send [20:10:07]OFD Sender: No OFD packet to send [20:10:12]OFD Sender: No OFD packet to send [20:10:17]OFD Sender: No OFD packet to send [20:10:22]OFD Sender: No OFD packet to send [20:10:28]OFD Sender: No OFD packet to send [20:10:33]OFD Sender: No OFD packet to send [20:10:38]OFD Sender: No OFD packet to send [20:10:43]OFD Sender: No OFD packet to send [20:10:48]OFD Sender: No OFD packet to send [20:10:53]OFD Sender: No OFD packet to send [20:10:58]OFD Sender: No OFD packet to send [20:11:03]OFD Sender: No OFD packet to send [20:11:08]OFD Sender: No OFD packet to send [20:11:13]OFD Sender: No OFD packet to send [20:11:18]OFD Sender: No OFD packet to send [20:11:23]OFD Sender: No OFD packet to send [20:11:28]OFD Sender: No OFD packet to send [20:11:33]OFD Sender: No OFD packet to send [20:11:38]OFD Sender: No OFD packet to send [20:11:43]OFD Sender: No OFD packet to send [20:11:48]OFD Sender: No OFD packet to send [20:11:53]OFD Sender: No OFD packet to send [20:11:58]OFD Sender: No OFD packet to send [20:12:03]OFD Sender: No OFD packet to send [20:12:08]OFD Sender: No OFD packet to send [20:12:13]OFD Sender: No OFD packet to send [20:12:18]OFD Sender: No OFD packet to send [20:12:23]OFD Sender: No OFD packet to send [20:12:28]OFD Sender: No OFD packet to send [20:12:33]OFD Sender: No OFD packet to send [20:12:38]OFD Sender: No OFD packet to send [20:12:43]OFD Sender: No OFD packet to send [20:12:48]OFD Sender: No OFD packet to send [20:12:53]OFD Sender: No OFD packet to send [20:12:58]OFD Sender: No OFD packet to send [20:13:03]OFD Sender: No OFD packet to send [20:13:08]OFD Sender: No OFD packet to send [20:13:13]OFD Sender: No OFD packet to send [20:13:18]OFD Sender: No OFD packet to send [20:13:23]OFD Sender: No OFD packet to send [20:13:28]OFD Sender: No OFD packet to send [20:13:33]OFD Sender: No OFD packet to send [20:13:38]OFD Sender: No OFD packet to send [20:13:43]OFD Sender: No OFD packet to send [20:13:48]OFD Sender: No OFD packet to send [20:13:53]OFD Sender: No OFD packet to send [20:13:58]OFD Sender: No OFD packet to send [20:14:03]OFD Sender: No OFD packet to send [20:14:08]OFD Sender: No OFD packet to send [20:14:13]OFD Sender: No OFD packet to send [20:14:18]OFD Sender: No OFD packet to send [20:14:23]OFD Sender: No OFD packet to send [20:14:28]OFD Sender: No OFD packet to send [20:14:33]OFD Sender: No OFD packet to send [20:14:38]OFD Sender: No OFD packet to send [20:14:43]OFD Sender: No OFD packet to send [20:14:48]OFD Sender: No OFD packet to send [20:14:53]OFD Sender: No OFD packet to send [20:14:58]OFD Sender: No OFD packet to send [20:15:03]OFD Sender: No OFD packet to send [20:15:08]OFD Sender: No OFD packet to send [20:15:13]OFD Sender: No OFD packet to send [20:15:18]OFD Sender: No OFD packet to send [20:15:23]OFD Sender: No OFD packet to send [20:15:28]OFD Sender: No OFD packet to send [20:15:33]OFD Sender: No OFD packet to send [20:15:38]OFD Sender: No OFD packet to send [20:15:43]OFD Sender: No OFD packet to send [20:15:48]OFD Sender: No OFD packet to send [20:15:53]OFD Sender: No OFD packet to send [20:15:58]OFD Sender: No OFD packet to send [20:16:03]OFD Sender: No OFD packet to send [20:16:08]OFD Sender: No OFD packet to send [20:16:13]OFD Sender: No OFD packet to send [20:16:18]OFD Sender: No OFD packet to send [20:16:23]OFD Sender: No OFD packet to send [20:16:28]OFD Sender: No OFD packet to send [20:16:33]OFD Sender: No OFD packet to send [20:16:38]OFD Sender: No OFD packet to send [20:16:43]OFD Sender: No OFD packet to send [20:16:48]OFD Sender: No OFD packet to send [20:16:53]OFD Sender: No OFD packet to send [20:16:58]OFD Sender: No OFD packet to send [20:17:03]OFD Sender: No OFD packet to send [20:17:08]OFD Sender: No OFD packet to send [20:17:13]OFD Sender: No OFD packet to send [20:17:18]OFD Sender: No OFD packet to send [20:17:23]OFD Sender: No OFD packet to send [20:17:28]OFD Sender: No OFD packet to send [20:17:33]OFD Sender: No OFD packet to send [20:17:38]OFD Sender: No OFD packet to send [20:17:43]OFD Sender: No OFD packet to send [20:17:48]OFD Sender: No OFD packet to send [20:17:53]OFD Sender: No OFD packet to send [20:17:58]OFD Sender: No OFD packet to send [20:18:03]OFD Sender: No OFD packet to send [20:18:08]OFD Sender: No OFD packet to send [20:18:13]OFD Sender: No OFD packet to send [20:18:18]OFD Sender: No OFD packet to send [20:18:23]OFD Sender: No OFD packet to send [20:18:28]OFD Sender: No OFD packet to send [20:18:33]OFD Sender: No OFD packet to send [20:18:38]OFD Sender: No OFD packet to send [20:18:43]OFD Sender: No OFD packet to send [20:18:48]OFD Sender: No OFD packet to send [20:18:53]OFD Sender: No OFD packet to send [20:18:58]OFD Sender: No OFD packet to send [20:19:03]OFD Sender: No OFD packet to send [20:19:08]OFD Sender: No OFD packet to send [20:19:13]OFD Sender: No OFD packet to send [20:19:18]OFD Sender: No OFD packet to send [20:19:23]OFD Sender: No OFD packet to send [20:19:28]OFD Sender: No OFD packet to send [20:19:33]OFD Sender: No OFD packet to send [20:19:38]OFD Sender: No OFD packet to send [20:19:43]OFD Sender: No OFD packet to send [20:19:48]OFD Sender: No OFD packet to send [20:19:53]OFD Sender: No OFD packet to send [20:19:58]OFD Sender: No OFD packet to send [20:20:03]OFD Sender: No OFD packet to send [20:20:08]OFD Sender: No OFD packet to send [20:20:13]OFD Sender: No OFD packet to send [20:20:18]OFD Sender: No OFD packet to send [20:20:23]OFD Sender: No OFD packet to send [20:20:28]OFD Sender: No OFD packet to send [20:20:33]OFD Sender: No OFD packet to send [20:20:38]OFD Sender: No OFD packet to send [20:20:43]OFD Sender: No OFD packet to send [20:20:48]OFD Sender: No OFD packet to send [20:20:53]OFD Sender: No OFD packet to send [20:20:58]OFD Sender: No OFD packet to send [20:21:03]OFD Sender: No OFD packet to send [20:21:08]OFD Sender: No OFD packet to send [20:21:13]OFD Sender: No OFD packet to send [20:21:18]OFD Sender: No OFD packet to send [20:21:23]OFD Sender: No OFD packet to send [20:21:28]OFD Sender: No OFD packet to send [20:21:33]OFD Sender: No OFD packet to send [20:21:38]OFD Sender: No OFD packet to send [20:21:43]OFD Sender: No OFD packet to send [20:21:48]OFD Sender: No OFD packet to send [20:21:53]OFD Sender: No OFD packet to send [20:21:58]OFD Sender: No OFD packet to send [20:22:03]OFD Sender: No OFD packet to send [20:22:08]OFD Sender: No OFD packet to send [20:22:13]OFD Sender: No OFD packet to send [20:22:18]OFD Sender: No OFD packet to send [20:22:23]OFD Sender: No OFD packet to send [20:22:28]OFD Sender: No OFD packet to send [20:22:33]OFD Sender: No OFD packet to send [20:22:38]OFD Sender: No OFD packet to send [20:22:43]OFD Sender: No OFD packet to send [20:22:48]OFD Sender: No OFD packet to send [20:22:53]OFD Sender: No OFD packet to send [20:22:58]OFD Sender: No OFD packet to send [20:23:03]OFD Sender: No OFD packet to send [20:23:08]OFD Sender: No OFD packet to send [20:23:13]OFD Sender: No OFD packet to send [20:23:18]OFD Sender: No OFD packet to send [20:23:23]OFD Sender: No OFD packet to send [20:23:28]OFD Sender: No OFD packet to send [20:23:33]OFD Sender: No OFD packet to send [20:23:38]OFD Sender: No OFD packet to send [20:23:43]OFD Sender: No OFD packet to send [20:23:48]OFD Sender: No OFD packet to send [20:23:53]OFD Sender: No OFD packet to send [20:23:58]OFD Sender: No OFD packet to send [20:24:03]OFD Sender: No OFD packet to send [20:24:08]OFD Sender: No OFD packet to send [20:24:13]OFD Sender: No OFD packet to send [20:24:18]OFD Sender: No OFD packet to send [20:24:23]OFD Sender: No OFD packet to send [20:24:28]OFD Sender: No OFD packet to send [20:24:33]OFD Sender: No OFD packet to send [20:24:38]OFD Sender: No OFD packet to send [20:24:43]OFD Sender: No OFD packet to send [20:24:48]OFD Sender: No OFD packet to send [20:24:53]OFD Sender: No OFD packet to send [20:24:58]OFD Sender: No OFD packet to send [20:25:03]OFD Sender: No OFD packet to send [20:25:08]OFD Sender: No OFD packet to send [20:25:13]OFD Sender: No OFD packet to send [20:25:18]OFD Sender: No OFD packet to send [20:25:23]OFD Sender: No OFD packet to send [20:25:28]OFD Sender: No OFD packet to send [20:25:33]OFD Sender: No OFD packet to send [20:25:38]OFD Sender: No OFD packet to send [20:25:43]OFD Sender: No OFD packet to send [20:25:48]OFD Sender: No OFD packet to send [20:25:53]OFD Sender: No OFD packet to send [20:25:58]OFD Sender: No OFD packet to send [20:26:03]OFD Sender: No OFD packet to send [20:26:08]OFD Sender: No OFD packet to send [20:26:13]OFD Sender: No OFD packet to send [20:26:18]OFD Sender: No OFD packet to send [20:26:23]OFD Sender: No OFD packet to send [20:26:28]OFD Sender: No OFD packet to send [20:26:33]OFD Sender: No OFD packet to send [20:26:38]OFD Sender: No OFD packet to send [20:26:43]OFD Sender: No OFD packet to send [20:26:48]OFD Sender: No OFD packet to send [20:26:53]OFD Sender: No OFD packet to send [20:26:58]OFD Sender: No OFD packet to send [20:27:03]OFD Sender: No OFD packet to send [20:27:08]OFD Sender: No OFD packet to send [20:27:13]OFD Sender: No OFD packet to send [20:27:18]OFD Sender: No OFD packet to send [20:27:23]OFD Sender: No OFD packet to send [20:27:28]OFD Sender: No OFD packet to send [20:27:33]OFD Sender: No OFD packet to send [20:27:38]OFD Sender: No OFD packet to send [20:27:43]OFD Sender: No OFD packet to send [20:27:48]OFD Sender: No OFD packet to send [20:27:53]OFD Sender: No OFD packet to send [20:27:58]OFD Sender: No OFD packet to send [20:28:03]OFD Sender: No OFD packet to send [20:28:08]OFD Sender: No OFD packet to send [20:28:13]OFD Sender: No OFD packet to send [20:28:18]OFD Sender: No OFD packet to send [20:28:23]OFD Sender: No OFD packet to send [20:28:28]OFD Sender: No OFD packet to send [20:28:33]OFD Sender: No OFD packet to send [20:28:38]OFD Sender: No OFD packet to send [20:28:43]OFD Sender: No OFD packet to send [20:28:48]OFD Sender: No OFD packet to send [20:28:53]OFD Sender: No OFD packet to send [20:28:58]OFD Sender: No OFD packet to send [20:29:03]OFD Sender: No OFD packet to send [20:29:08]OFD Sender: No OFD packet to send [20:29:13]OFD Sender: No OFD packet to send [20:29:18]OFD Sender: No OFD packet to send [20:29:23]OFD Sender: No OFD packet to send [20:29:28]OFD Sender: No OFD packet to send [20:29:33]OFD Sender: No OFD packet to send [20:29:38]OFD Sender: No OFD packet to send [20:29:43]OFD Sender: No OFD packet to send [20:29:48]OFD Sender: No OFD packet to send [20:29:53]OFD Sender: No OFD packet to send [20:29:58]OFD Sender: No OFD packet to send [20:30:03]OFD Sender: No OFD packet to send [20:30:08]OFD Sender: No OFD packet to send [20:30:13]OFD Sender: No OFD packet to send [20:30:18]OFD Sender: No OFD packet to send [20:30:23]OFD Sender: No OFD packet to send [20:30:28]OFD Sender: No OFD packet to send [20:30:33]OFD Sender: No OFD packet to send [20:30:38]OFD Sender: No OFD packet to send [20:30:43]OFD Sender: No OFD packet to send [20:30:48]OFD Sender: No OFD packet to send [20:30:53]OFD Sender: No OFD packet to send [20:30:58]OFD Sender: No OFD packet to send [20:31:03]OFD Sender: No OFD packet to send [20:31:08]OFD Sender: No OFD packet to send [20:31:13]OFD Sender: No OFD packet to send [20:31:18]OFD Sender: No OFD packet to send [20:31:23]OFD Sender: No OFD packet to send [20:31:28]OFD Sender: No OFD packet to send [20:31:33]OFD Sender: No OFD packet to send [20:31:38]OFD Sender: No OFD packet to send [20:31:43]OFD Sender: No OFD packet to send [20:31:48]OFD Sender: No OFD packet to send [20:31:53]OFD Sender: No OFD packet to send [20:31:58]OFD Sender: No OFD packet to send [20:32:04]OFD Sender: No OFD packet to send [20:32:09]OFD Sender: No OFD packet to send [20:32:14]OFD Sender: No OFD packet to send [20:32:19]OFD Sender: No OFD packet to send [20:32:24]OFD Sender: No OFD packet to send [20:32:29]OFD Sender: No OFD packet to send [20:32:34]OFD Sender: No OFD packet to send [20:32:39]OFD Sender: No OFD packet to send [20:32:44]OFD Sender: No OFD packet to send [20:32:49]OFD Sender: No OFD packet to send [20:32:54]OFD Sender: No OFD packet to send [20:32:59]OFD Sender: No OFD packet to send [20:33:04]OFD Sender: No OFD packet to send [20:33:09]OFD Sender: No OFD packet to send [20:33:14]OFD Sender: No OFD packet to send [20:33:19]OFD Sender: No OFD packet to send [20:33:24]OFD Sender: No OFD packet to send [20:33:29]OFD Sender: No OFD packet to send [20:33:34]OFD Sender: No OFD packet to send [20:33:39]OFD Sender: No OFD packet to send [20:33:44]OFD Sender: No OFD packet to send [20:33:49]OFD Sender: No OFD packet to send [20:33:54]OFD Sender: No OFD packet to send [20:33:59]OFD Sender: No OFD packet to send [20:34:04]OFD Sender: No OFD packet to send [20:34:09]OFD Sender: No OFD packet to send [20:34:14]OFD Sender: No OFD packet to send [20:34:19]OFD Sender: No OFD packet to send [20:34:24]OFD Sender: No OFD packet to send [20:34:29]OFD Sender: No OFD packet to send [20:34:34]OFD Sender: No OFD packet to send [20:34:39]OFD Sender: No OFD packet to send [20:34:44]OFD Sender: No OFD packet to send [20:34:49]OFD Sender: No OFD packet to send [20:34:54]OFD Sender: No OFD packet to send [20:34:59]OFD Sender: No OFD packet to send [20:35:04]OFD Sender: No OFD packet to send [20:35:09]OFD Sender: No OFD packet to send [20:35:14]OFD Sender: No OFD packet to send [20:35:19]OFD Sender: No OFD packet to send [20:35:24]OFD Sender: No OFD packet to send [20:35:29]OFD Sender: No OFD packet to send [20:35:34]OFD Sender: No OFD packet to send [20:35:39]OFD Sender: No OFD packet to send [20:35:44]OFD Sender: No OFD packet to send [20:35:49]OFD Sender: No OFD packet to send [20:35:54]OFD Sender: No OFD packet to send [20:35:59]OFD Sender: No OFD packet to send [20:36:04]OFD Sender: No OFD packet to send [20:36:09]OFD Sender: No OFD packet to send [20:36:14]OFD Sender: No OFD packet to send [20:36:19]OFD Sender: No OFD packet to send [20:36:24]OFD Sender: No OFD packet to send [20:36:29]OFD Sender: No OFD packet to send [20:36:34]OFD Sender: No OFD packet to send [20:36:39]OFD Sender: No OFD packet to send [20:36:44]OFD Sender: No OFD packet to send [20:36:49]OFD Sender: No OFD packet to send [20:36:54]OFD Sender: No OFD packet to send [20:36:59]OFD Sender: No OFD packet to send [20:37:04]OFD Sender: No OFD packet to send [20:37:09]OFD Sender: No OFD packet to send [20:37:14]OFD Sender: No OFD packet to send [20:37:19]OFD Sender: No OFD packet to send [20:37:24]OFD Sender: No OFD packet to send [20:37:29]OFD Sender: No OFD packet to send [20:37:34]OFD Sender: No OFD packet to send [20:37:39]OFD Sender: No OFD packet to send [20:37:44]OFD Sender: No OFD packet to send [20:37:49]OFD Sender: No OFD packet to send [20:37:54]OFD Sender: No OFD packet to send [20:37:59]OFD Sender: No OFD packet to send [20:38:04]OFD Sender: No OFD packet to send [20:38:09]OFD Sender: No OFD packet to send [20:38:14]OFD Sender: No OFD packet to send [20:38:19]OFD Sender: No OFD packet to send [20:38:24]OFD Sender: No OFD packet to send [20:38:29]OFD Sender: No OFD packet to send [20:38:34]OFD Sender: No OFD packet to send [20:38:39]OFD Sender: No OFD packet to send [20:38:44]OFD Sender: No OFD packet to send [20:38:49]OFD Sender: No OFD packet to send [20:38:54]OFD Sender: No OFD packet to send [20:38:59]OFD Sender: No OFD packet to send [20:39:04]OFD Sender: No OFD packet to send [20:39:09]OFD Sender: No OFD packet to send [20:39:14]OFD Sender: No OFD packet to send [20:39:19]OFD Sender: No OFD packet to send [20:39:24]OFD Sender: No OFD packet to send [20:39:29]OFD Sender: No OFD packet to send [20:39:34]OFD Sender: No OFD packet to send [20:39:39]OFD Sender: No OFD packet to send [20:39:44]OFD Sender: No OFD packet to send [20:39:49]OFD Sender: No OFD packet to send [20:39:54]OFD Sender: No OFD packet to send [20:39:59]OFD Sender: No OFD packet to send [20:40:04]OFD Sender: No OFD packet to send [20:40:09]OFD Sender: No OFD packet to send [20:40:14]OFD Sender: No OFD packet to send [20:40:19]OFD Sender: No OFD packet to send [20:40:24]OFD Sender: No OFD packet to send [20:40:29]OFD Sender: No OFD packet to send [20:40:34]OFD Sender: No OFD packet to send [20:40:39]OFD Sender: No OFD packet to send [20:40:44]OFD Sender: No OFD packet to send [20:40:49]OFD Sender: No OFD packet to send [20:40:54]OFD Sender: No OFD packet to send [20:40:59]OFD Sender: No OFD packet to send [20:41:04]OFD Sender: No OFD packet to send [20:41:09]OFD Sender: No OFD packet to send [20:41:14]OFD Sender: No OFD packet to send [20:41:19]OFD Sender: No OFD packet to send [20:41:24]OFD Sender: No OFD packet to send [20:41:29]OFD Sender: No OFD packet to send [20:41:34]OFD Sender: No OFD packet to send [20:41:39]OFD Sender: No OFD packet to send [20:41:44]OFD Sender: No OFD packet to send [20:41:49]OFD Sender: No OFD packet to send [20:41:54]OFD Sender: No OFD packet to send [20:41:59]OFD Sender: No OFD packet to send [20:42:04]OFD Sender: No OFD packet to send [20:42:09]OFD Sender: No OFD packet to send [20:42:14]OFD Sender: No OFD packet to send [20:42:19]OFD Sender: No OFD packet to send [20:42:24]OFD Sender: No OFD packet to send [20:42:29]OFD Sender: No OFD packet to send [20:42:34]OFD Sender: No OFD packet to send [20:42:39]OFD Sender: No OFD packet to send [20:42:44]OFD Sender: No OFD packet to send [20:42:49]OFD Sender: No OFD packet to send [20:42:54]OFD Sender: No OFD packet to send [20:42:59]OFD Sender: No OFD packet to send [20:43:04]OFD Sender: No OFD packet to send [20:43:09]OFD Sender: No OFD packet to send [20:43:14]OFD Sender: No OFD packet to send [20:43:19]OFD Sender: No OFD packet to send [20:43:24]OFD Sender: No OFD packet to send [20:43:29]OFD Sender: No OFD packet to send [20:43:34]OFD Sender: No OFD packet to send [20:43:39]OFD Sender: No OFD packet to send [20:43:44]OFD Sender: No OFD packet to send [20:43:49]OFD Sender: No OFD packet to send [20:43:54]OFD Sender: No OFD packet to send [20:43:59]OFD Sender: No OFD packet to send [20:44:04]OFD Sender: No OFD packet to send [20:44:09]OFD Sender: No OFD packet to send [20:44:14]OFD Sender: No OFD packet to send [20:44:19]OFD Sender: No OFD packet to send [20:44:24]OFD Sender: No OFD packet to send [20:44:29]OFD Sender: No OFD packet to send [20:44:34]OFD Sender: No OFD packet to send [20:44:39]OFD Sender: No OFD packet to send [20:44:44]OFD Sender: No OFD packet to send [20:44:49]OFD Sender: No OFD packet to send [20:44:54]OFD Sender: No OFD packet to send [20:44:59]OFD Sender: No OFD packet to send [20:45:04]OFD Sender: No OFD packet to send [20:45:09]OFD Sender: No OFD packet to send [20:45:14]OFD Sender: No OFD packet to send [20:45:19]OFD Sender: No OFD packet to send [20:45:24]OFD Sender: No OFD packet to send [20:45:29]OFD Sender: No OFD packet to send [20:45:34]OFD Sender: No OFD packet to send [20:45:39]OFD Sender: No OFD packet to send [20:45:44]OFD Sender: No OFD packet to send [20:45:49]OFD Sender: No OFD packet to send [20:45:54]OFD Sender: No OFD packet to send [20:45:56]accept exits with 8 [20:45:56]New connection [20:45:56]New thread 3066772836 created [20:45:56]Thread 3066629476 joined [20:45:56]Waiting for new connection... [20:45:56] Sock 8.Parse request [20:45:56]Sock 8.Check first char [20:45:56]Sock 8.First char is OK [20:45:56]request: POST /json_proto HTTP/1.0 [20:45:56]Method: POST [20:45:56]URL: /json_proto [20:45:56]Method is POST - this is cgi request [20:45:56]url: /json_proto [20:45:56]query_string will be loaded in cgi processing [20:45:56]execute_cgi json_proto POST (null) [20:45:56]execute_cgi path=json_proto method=POST [20:45:56]POST find Content-Length [20:45:56]Host: 172.17.56.68:8080 [20:45:56]Content-Length: 895 [20:45:56]Content-Type: application/json [20:45:56] [20:45:56]POST finish read [20:45:56]Found Content-Length = 895 [20:45:56]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4462", "tax_sys" : 0, "items" : [ { "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 138.00, "quantity" : 1.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000481453", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro Max 0,45 \u0436/\u0431", "price" : 85.00, "quantity" : 2.000, "sum" : 170.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 308.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:45:56]execute_script... [20:45: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)4462", "tax_sys" : 0, "items" : [ { "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 138.00, "quantity" : 1.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000481453", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro Max 0,45 \u0436/\u0431", "price" : 85.00, "quantity" : 2.000, "sum" : 170.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 308.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:45:56]POST & json_proto [20:45:56]process_json_proto [20:45:56]json parsed OK: [20:45:56]protocol is kg_v1.0 [20:45:56]action value=close_receipt [20:45:56]process_action close_receipt [20:45:56]cmd_close_receipt [20:45:56]MH_GetDate [20:45:56]Write to MH i2c: F0 00 00 3E 04 31 [20:45:56]Write i2c OK [20:45:56]MH_I2C_Read... [20:45:56]Read from MH i2c: F0 [20:45:56]MH_I2C_Read... [20:45:56]Read from MH i2c: F0 09 00 [20:45:56]MH_I2C_Read... [20:45:56]Read from MH i2c: F0 09 00 3E 04 00 85 CE 60 66 3A 8F 60 66 E2 [20:45:56]GetLastDocTimeStamp 1717616270 [20:45:56]current date 1717620357 [20:45:56]FM_GetShiftState [20:45:56]SAM_PROTO_GetShiftState [20:45:56]wFMCommunicate request_size=4 [20:45:56]MH_SAM_APDU [20:45:56]CAPDU: 80 13 01 00 [20:45:56]Write to MH i2c: E2 08 00 3F 04 80 13 01 00 00 00 00 00 C0 [20:45:56]Write i2c OK [20:45:56]MH_I2C_Read... [20:45:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:45:56]Read from MH i2c: E2 [20:45:56]MH_I2C_Read... [20:45:56]Read from MH i2c: E2 0E 00 [20:45:56]MH_I2C_Read... [20:45:56]Read from MH i2c: E2 0E 00 3F 04 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 61 [20:45:56]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [20:45:56]wFMCommunicate OK [20:45:56]SAM_PROTO_GetShiftState done [20:45:56]FM_GetShiftState done [20:45:56]opened in 1717545765 [20:45:56]opened+sec_in_day 1717632165 [20:45:56]quantity*price = 13800 [20:45:56]sum+1 = 13801 [20:45:56]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000481453 Напиток энерг Nitro Max 0,45 ж/б 2.000 * 85.00 = 170.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 308.00 НСП 1% : 2.72 НДС 12% : 32.70 Наличными: 308.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 67 05.06.2024 20:45 Смена: 84 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4209 ФПД: 501114126244 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T204557&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4209&fm=501114126244&tin=02508201610067®Number=0000000000145775&sum=30800 0 [20:45:57]StoreToDocumentArchive [20:45:57]shift 84 fd 4209 [20:45:57]save to /storage/0084/doc_00004209 [20:45:57]save last doc name /storage/0084/doc_00004209 to /storage/kkm_last_doc_name [20:45:57]save OK [20:45:57]Clear old archive folders... [20:45:57]ProcessDocumentItem done err = 0, tmpTLVsize=392 [20:45:57]tlvbuf is 019A6710 [20:45:57]SAM_PROTO_ClearQueue [20:45:57]wFMCommunicate request_size=4 [20:45:57]MH_SAM_APDU [20:45:57]CAPDU: 80 09 00 00 [20:45:57]Write to MH i2c: E2 08 00 4C 04 80 09 00 00 00 00 00 00 C2 [20:45:57]Write i2c OK [20:45:57]MH_I2C_Read... [20:45:57]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:45:57]Read from MH i2c: E2 [20:45:57]MH_I2C_Read... [20:45:57]Read from MH i2c: E2 03 00 [20:45:57]MH_I2C_Read... [20:45:57]Read from MH i2c: E2 03 00 4C 04 00 90 00 C4 [20:45:57]RAPDU: 90 00 [20:45:57]wFMCommunicate OK [20:45:57]SAM_PROTO_ClearQueue done [20:45:57]KKMCreateOFDPacket [20:45:57]OFDProtocolAddRootSTLVToBuf [20:45:57]FM_MakeSignedData [20:45:57]FM_MakeSignedData [20:45:57]SAM_PROTO_SignData [20:45:57]wFMCommunicate request_size=4 [20:45:57]MH_SAM_APDU [20:45:57]CAPDU: 80 0D 01 02 [20:45:57]Write to MH i2c: E2 08 00 4D 04 80 0D 01 02 00 00 00 00 CA [20:45:57]Write i2c OK [20:45:57]MH_I2C_Read... [20:45:57]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:45:57]Read from MH i2c: E2 [20:45:57]MH_I2C_Read... [20:45:57]Read from MH i2c: E2 03 00 [20:45:57]MH_I2C_Read... [20:45:57]Read from MH i2c: E2 03 00 4D 04 00 90 00 C5 [20:45:57]RAPDU: 90 00 [20:45:57]wFMCommunicate OK [20:45:57]wFMCommunicate request_size=255 [20:45:57]MH_SAM_APDU [20:45:57]CAPDU: 80 0D 02 02 FA 03 00 88 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 72 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 34 35 33 06 04 2E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 4D 61 78 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 78 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 [20:45:57]Write to MH i2c: E2 02 01 4E 04 80 0D 02 02 FA 00 03 00 88 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 72 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 34 35 33 06 04 2E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 4D 61 78 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 78 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 00 00 6D [20:45:57]Write i2c OK [20:45:57]MH_I2C_Read... [20:45:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:45:57]Read from MH i2c: E2 [20:45:57]MH_I2C_Read... [20:45:57]Read from MH i2c: E2 03 00 [20:45:57]MH_I2C_Read... [20:45:57]Read from MH i2c: E2 03 00 4E 04 00 90 00 C6 [20:45:57]RAPDU: 90 00 [20:45:57]wFMCommunicate OK [20:45:57]wFMCommunicate request_size=151 [20:45:57]MH_SAM_APDU [20:45:57]CAPDU: 80 0D 02 02 92 03 01 00 01 F7 03 06 00 10 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C6 0C 00 00 00 00 07 04 06 00 50 78 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 43 00 00 00 F4 03 04 00 85 CE 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 71 10 00 00 35 04 06 00 00 74 AC BA BF A4 [20:45:57]Write to MH i2c: E2 9A 00 4F 04 80 0D 02 02 92 00 03 01 00 01 F7 03 06 00 10 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C6 0C 00 00 00 00 07 04 06 00 50 78 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 43 00 00 00 F4 03 04 00 85 CE 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 71 10 00 00 35 04 06 00 00 74 AC BA BF A4 00 00 40 [20:45:57]Write i2c OK [20:45:57]MH_I2C_Read... [20:45:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:45:57]Read from MH i2c: E2 [20:45:57]MH_I2C_Read... [20:45:57]Read from MH i2c: E2 03 00 [20:45:57]MH_I2C_Read... [20:45:57]Read from MH i2c: E2 03 00 4F 04 00 90 00 C7 [20:45:57]RAPDU: 90 00 [20:45:57]wFMCommunicate OK [20:45:57]wFMCommunicate request_size=4 [20:45:57]MH_SAM_APDU [20:45:57]CAPDU: 80 0D 03 02 [20:45:57]Write to MH i2c: E2 08 00 50 04 80 0D 03 02 00 00 00 00 CF [20:45:57]Write i2c OK [20:45:57]MH_I2C_Read... [20:45:58]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:45:58]Read from MH i2c: E2 [20:45:58]MH_I2C_Read... [20:45:58]Read from MH i2c: E2 0B 00 [20:45:58]MH_I2C_Read... [20:45:58]Read from MH i2c: E2 0B 00 50 04 00 51 26 1E 5D 7F 53 F2 96 90 00 1C [20:45:58]RAPDU: 51 26 1E 5D 7F 53 F2 96 90 00 [20:45:58]wFMCommunicate OK [20:45:58]SAM_PROTO_SignData done [20:45:58]FM_MakeSignedData done [20:45:58]CreateOFDProtocolMessage [20:45:58]wFMCommunicate request_size=4 [20:45:58]MH_SAM_APDU [20:45:58]CAPDU: 80 11 00 00 [20:45:58]Write to MH i2c: E2 08 00 51 04 80 11 00 00 00 00 00 00 CF [20:45:58]Write i2c OK [20:45:58]MH_I2C_Read... [20:45:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:45:58]Read from MH i2c: E2 [20:45:58]MH_I2C_Read... [20:45:58]Read from MH i2c: E2 17 00 [20:45:58]MH_I2C_Read... [20:45:58]Read from MH i2c: E2 17 00 51 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 22 [20:45:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [20:45:58]wFMCommunicate OK [20:45:58]CreateOFDProtocolMessage done [20:45:58]OFDSenderStorePacket 4209 [20:45:58]StoreOFDPacket docnum=4209 [20:45:58]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 9C 01 00 00 36 63 94 01 AC DC 5A 03 01 00 03 00 88 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 72 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 34 35 33 06 04 2E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 4D 61 78 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 78 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 10 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C6 0C 00 00 00 00 07 04 06 00 50 78 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 43 00 00 00 F4 03 04 00 85 CE 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 71 10 00 00 35 04 06 00 00 74 AC BA BF A4 51 26 1E 5D 7F 53 F2 96 [20:45:58]CheckFolder [20:45:58]dirname=/storage/ofd_packets [20:45:58]CheckFolder done [20:45:58]ProducePacketName [20:45:58]name=ofd_packets/00004209 [20:45:58]NVStorageSaveData ofd_packets/00004209 [20:45:58]File name is /storage/ofd_packets/00004209 [20:45:58]Write 442 bytes [20:45:58]NVStorageSaveData done [20:45:58]OFDSenderStorePacket done [20:45:58]KKMCreateOFDPacket done [20:45:58]NVStorageSaveData kkm_last_timestamp [20:45:58]File name is /storage/kkm_last_timestamp [20:45:58]Write 4 bytes [20:45:58]NVStorageSaveData done [20:45:58]ExternCall_PrintAddStr [20:45:58]wPrintStart [20:45:58]Write to MH i2c: 01 00 00 52 04 56 [20:45:58]Write i2c OK [20:45:58]MH_I2C_Read... [20:45:58]Read from MH i2c: 01 [20:45:58]MH_I2C_Read... [20:45:58]Read from MH i2c: 01 07 00 [20:45:58]MH_I2C_Read... [20:45:58]Read from MH i2c: 01 07 00 52 04 00 00 00 00 00 FF 0F 6B [20:45:58]RasterBufferAndPrint [20:45:58]line Счет N : (3)4462 [20:45:58]line ИНН: 02508201610067 [20:45:58]line Контрольно-Кассовый Чек [20:45:58]line ПРОДАЖА [20:45:58]line Товар: 4640030091645 [20:45:58]line Сигареты ESSE Exchange M [20:45:58]line 1.000 * 138.00 [20:45:58]line = 138.00 [20:45:58]line НДС 12% НСП 1% [20:45:58]line > о реализуемом товаре [20:45:58]line Товар: 4700000481453 [20:45:58]line Напиток энерг Nitro Max 0,45 ж/б [20:45:58]line 2.000 * 85.00 [20:45:58]line = 170.00 [20:45:58]line НДС 12% НСП 1% [20:45:58]line > о реализуемом товаре [20:45:58]line ИТОГО: 308.00 [20:45:58]line НСП 1% : 2.72 [20:45:58]line НДС 12% : 32.70 [20:45:58]line Наличными: 308.00 [20:45:58]line Безнал.: 0.00 [20:45:58]line Место: АЗС № 116 "Партнер Нефть" [20:45:58]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [20:45:58]line СНО: Общий режим [20:45:58]line Чек 67 05.06.2024 20:45 [20:45:58]line Смена: 84 ФФД: 1.0 [20:45:58]line ЗНМ: 0300000233 [20:45:58]line РНМ: 0000000000145775 [20:45:58]line Версия ККМ: v1.0 [20:45:58]line ФМ: 0000000000959360 [20:45:58]line ФД: 4209 [20:45:58]line ФПД: 501114126244 [20:45:58]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T204557&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4209&fm=501114126244&tin=02508201610067®Number=0000000000145775&sum=30800 [20:45:58]line 0 [20:45:58]OFD Sender: Processing packet 4209 [packets to send 2, broken 1] [20:45:58]ProducePacketName [20:45:58]name=ofd_packets/00004209 [20:45:58]OFD Sender: To server: pG, [20:45:58]CommunicateWithHost lk.salyk.kg:30040 [20:45:58]ConnectInit lk.salyk.kg [20:45:58]written 0, free lines is 4095 [20:45:58]Connected sock=10 [20:45:58]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 9C 01 00 00 36 63 94 01 AC DC 5A 03 01 00 03 00 88 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 72 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 34 35 33 06 04 2E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 4D 61 78 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 78 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 10 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C6 0C 00 00 00 00 07 04 06 00 50 78 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 43 00 00 00 F4 03 04 00 85 CE 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 71 10 00 00 35 04 06 00 00 74 AC BA BF A4 51 26 1E 5D 7F 53 F2 96 [20:45:58]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 84 30 47 00 EF 7C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 71 10 00 00 F4 03 04 00 87 7A 60 66 B6 04 01 00 00 51 E2 A8 1D AD F0 8A 17 [20:45:58]CommunicateWithHost err = 0 [20:45:58]CheckOFDResponse [20:45:58]1017 (14) - 77093643461234 [20:45:58]1041 (16) - 0000000000959360 [20:45:58]1040 (4) - 4209 [20:45:58]1012 (4) - 05.06.2024 14:47 [20:45:58]1206 (1) - 0 [20:45:58]OFD Sender: Remove packet 4209 [20:45:58]ProducePacketName [20:45:58]name=ofd_packets/00004209 [20:45:58]NVStorageDeleteData [20:45:58]Write to MH i2c: 01 00 00 81 04 85 [20:45:58]Write i2c OK [20:45:58]MH_I2C_Read... [20:45:58]Read from MH i2c: 01 [20:45:58]MH_I2C_Read... [20:45:58]Read from MH i2c: 01 07 00 [20:45:58]MH_I2C_Read... [20:45:58]Read from MH i2c: 01 07 00 81 04 00 00 00 00 00 41 0C D9 [20:45:58]RasterBufferAndPrint [20:45:58]line [20:45:58]line [20:45:58]line [20:45:58]line [20:45:58]line [20:45:58]written 0, free lines is 3140 [20:45:58]MH_Cut [20:45:58]Write to MH i2c: D1 01 00 88 04 01 5E [20:45:58]Write i2c OK [20:45:58]MH_I2C_Read... [20:45:58]Read from MH i2c: D1 [20:45:58]MH_I2C_Read... [20:45:58]Read from MH i2c: D1 01 00 [20:45:58]MH_I2C_Read... [20:45:58]Read from MH i2c: D1 01 00 88 04 00 5D [20:45:58]Write to MH i2c: 01 00 00 89 04 8D [20:45:58]Write i2c OK [20:45:58]MH_I2C_Read... [20:45:59]OFD Sender: No OFD packet to send [20:45:59]*** Cut start [20:45:59]*** Partial cut [20:45:59]*** CUTSNS_PIN = 1 [20:46:00]*** CUTSNS_PIN = 0 [20:46:00]*** Brake cut motor [20:46:00]Read from MH i2c: 01 [20:46:00]MH_I2C_Read... [20:46:00]*** Stop cut motor [20:46:00]*** Cut end [20:46:00]Read from MH i2c: 01 07 00 [20:46:00]MH_I2C_Read... [20:46:00]Read from MH i2c: 01 07 00 89 04 00 00 00 00 00 FF 0F A2 [20:46:00]process_action close_receipt done [20:46:00]requested_data is exist [20:46:00]produce_requested_data [20:46:00]requested_item fm.sn is exist - process it [20:46:00]wFMCommunicate request_size=4 [20:46:00]MH_SAM_APDU [20:46:00]CAPDU: 80 11 00 00 [20:46:00]Write to MH i2c: E2 08 00 8A 04 80 11 00 00 00 00 00 00 08 [20:46:00]Write i2c OK [20:46:00]MH_I2C_Read... [20:46:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:46:00]Read from MH i2c: E2 [20:46:00]MH_I2C_Read... [20:46:00]Read from MH i2c: E2 17 00 [20:46:00]MH_I2C_Read... [20:46:00]Read from MH i2c: E2 17 00 8A 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 5B [20:46:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [20:46:00]wFMCommunicate OK [20:46:00]requested_item fd.num is exist - process it [20:46:00]SAM_PROTO_GetFieldsCounters [20:46:00]wFMCommunicate request_size=4 [20:46:00]MH_SAM_APDU [20:46:00]CAPDU: 80 13 00 00 [20:46:00]Write to MH i2c: E2 08 00 8B 04 80 13 00 00 00 00 00 00 0B [20:46:00]Write i2c OK [20:46:00]MH_I2C_Read... [20:46:00]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:46:00]Read from MH i2c: E2 [20:46:00]MH_I2C_Read... [20:46:00]Read from MH i2c: E2 62 00 [20:46:00]MH_I2C_Read... [20:46:00]Read from MH i2c: E2 62 00 8B 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 71 10 00 00 0E 04 04 00 54 00 00 00 12 04 04 00 43 00 00 00 5E 04 04 00 43 00 00 00 57 04 04 00 44 00 00 00 19 04 04 00 00 00 00 00 90 00 CE [20:46:00]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 71 10 00 00 0E 04 04 00 54 00 00 00 12 04 04 00 43 00 00 00 5E 04 04 00 43 00 00 00 57 04 04 00 44 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:46:00]wFMCommunicate OK [20:46:00]SAM_PROTO_GetFieldsCounters done [20:46:00]requested_item shift.num is exist - process it [20:46:00]requested_item shift.opened is exist - process it [20:46:00]req_shift_opened [20:46:00]FM_GetShiftState [20:46:00]SAM_PROTO_GetShiftState [20:46:00]wFMCommunicate request_size=4 [20:46:00]MH_SAM_APDU [20:46:00]CAPDU: 80 13 01 00 [20:46:00]Write to MH i2c: E2 08 00 8C 04 80 13 01 00 00 00 00 00 0D [20:46:00]Write i2c OK [20:46:00]MH_I2C_Read... [20:46:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:46:00]Read from MH i2c: E2 [20:46:00]MH_I2C_Read... [20:46:00]Read from MH i2c: E2 0E 00 [20:46:00]MH_I2C_Read... [20:46:00]Read from MH i2c: E2 0E 00 8C 04 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 AE [20:46:00]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [20:46:00]wFMCommunicate OK [20:46:00]SAM_PROTO_GetShiftState done [20:46:00]FM_GetShiftState done [20:46:00]req_shift_opened done [20:46:00]requested_item shift.open_date is exist - process it [20:46:00]req_shift_open_date [20:46:00]req_shift_open_date done [20:46:00]produce_requested_data done [20:46:00]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4209,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765} [20:46:00]process_action_free close_receipt [20:46:00]json_value_free [20:46:00]json_value_free done [20:46:00]process_json_proto returns [20:46:00]Send response to host [20:46:00]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4209,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765}}} [20:46:00]free response buf [20:46:00]execute_script done [20:46:00]execute_script returns [20:46:00]free content buf [20:46:00]Sock 8.Close socket [20:46:00]Sock 8.Thread stoped [20:46:04]OFD Sender: No OFD packet to send [20:46:09]OFD Sender: No OFD packet to send [20:46:14]OFD Sender: No OFD packet to send [20:46:19]OFD Sender: No OFD packet to send [20:46:24]OFD Sender: No OFD packet to send [20:46:29]OFD Sender: No OFD packet to send [20:46:34]OFD Sender: No OFD packet to send [20:46:39]OFD Sender: No OFD packet to send [20:46:44]OFD Sender: No OFD packet to send [20:46:49]OFD Sender: No OFD packet to send [20:46:54]OFD Sender: No OFD packet to send [20:46:59]OFD Sender: No OFD packet to send [20:47:04]OFD Sender: No OFD packet to send [20:47:09]OFD Sender: No OFD packet to send [20:47:14]OFD Sender: No OFD packet to send [20:47:19]OFD Sender: No OFD packet to send [20:47:24]OFD Sender: No OFD packet to send [20:47:29]OFD Sender: No OFD packet to send [20:47:34]OFD Sender: No OFD packet to send [20:47:39]OFD Sender: No OFD packet to send [20:47:44]OFD Sender: No OFD packet to send [20:47:49]OFD Sender: No OFD packet to send [20:47:54]OFD Sender: No OFD packet to send [20:47:59]OFD Sender: No OFD packet to send [20:48:04]OFD Sender: No OFD packet to send [20:48:09]OFD Sender: No OFD packet to send [20:48:14]OFD Sender: No OFD packet to send [20:48:19]OFD Sender: No OFD packet to send [20:48:24]OFD Sender: No OFD packet to send [20:48:29]OFD Sender: No OFD packet to send [20:48:34]OFD Sender: No OFD packet to send [20:48:39]OFD Sender: No OFD packet to send [20:48:44]OFD Sender: No OFD packet to send [20:48:49]OFD Sender: No OFD packet to send [20:48:54]OFD Sender: No OFD packet to send [20:48:59]OFD Sender: No OFD packet to send [20:49:04]OFD Sender: No OFD packet to send [20:49:09]OFD Sender: No OFD packet to send [20:49:14]OFD Sender: No OFD packet to send [20:49:19]OFD Sender: No OFD packet to send [20:49:24]OFD Sender: No OFD packet to send [20:49:29]OFD Sender: No OFD packet to send [20:49:34]OFD Sender: No OFD packet to send [20:49:39]OFD Sender: No OFD packet to send [20:49:44]OFD Sender: No OFD packet to send [20:49:49]OFD Sender: No OFD packet to send [20:49:54]OFD Sender: No OFD packet to send [20:49:59]OFD Sender: No OFD packet to send [20:50:04]OFD Sender: No OFD packet to send [20:50:09]OFD Sender: No OFD packet to send [20:50:14]OFD Sender: No OFD packet to send [20:50:19]OFD Sender: No OFD packet to send [20:50:24]OFD Sender: No OFD packet to send [20:50:29]OFD Sender: No OFD packet to send [20:50:34]OFD Sender: No OFD packet to send [20:50:39]OFD Sender: No OFD packet to send [20:50:44]OFD Sender: No OFD packet to send [20:50:49]OFD Sender: No OFD packet to send [20:50:54]OFD Sender: No OFD packet to send [20:50:59]OFD Sender: No OFD packet to send [20:51:04]OFD Sender: No OFD packet to send [20:51:09]OFD Sender: No OFD packet to send [20:51:14]OFD Sender: No OFD packet to send [20:51:19]OFD Sender: No OFD packet to send [20:51:24]OFD Sender: No OFD packet to send [20:51:29]OFD Sender: No OFD packet to send [20:51:34]OFD Sender: No OFD packet to send [20:51:39]OFD Sender: No OFD packet to send [20:51:44]OFD Sender: No OFD packet to send [20:51:49]OFD Sender: No OFD packet to send [20:51:54]OFD Sender: No OFD packet to send [20:51:59]OFD Sender: No OFD packet to send [20:52:04]OFD Sender: No OFD packet to send [20:52:09]OFD Sender: No OFD packet to send [20:52:14]OFD Sender: No OFD packet to send [20:52:19]OFD Sender: No OFD packet to send [20:52:24]OFD Sender: No OFD packet to send [20:52:29]OFD Sender: No OFD packet to send [20:52:34]OFD Sender: No OFD packet to send [20:52:39]OFD Sender: No OFD packet to send [20:52:44]OFD Sender: No OFD packet to send [20:52:49]OFD Sender: No OFD packet to send [20:52:54]OFD Sender: No OFD packet to send [20:52:57]accept exits with 9 [20:52:57]New connection [20:52:57]New thread 3066629476 created [20:52:57]Thread 3066772836 joined [20:52:57]Waiting for new connection... [20:52:57] Sock 9.Parse request [20:52:57]Sock 9.Check first char [20:52:57]Sock 9.First char is OK [20:52:57]request: POST /json_proto HTTP/1.0 [20:52:57]Method: POST [20:52:57]URL: /json_proto [20:52:57]Method is POST - this is cgi request [20:52:57]url: /json_proto [20:52:57]query_string will be loaded in cgi processing [20:52:57]execute_cgi json_proto POST (null) [20:52:57]execute_cgi path=json_proto method=POST [20:52:57]POST find Content-Length [20:52:57]Host: 172.17.56.68:8080 [20:52:57]Content-Length: 638 [20:52:57]Content-Type: application/json [20:52:57] [20:52:57]POST finish read [20:52:57]Found Content-Length = 638 [20:52:57]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4463", "tax_sys" : 0, "items" : [ { "code": "4700000480517", "name": "\u041F\u0438\u0432\u043E \u0416\u0438\u0432\u043E\u0435 1\u043B \u041F\u042D\u0422", "price" : 162.00, "quantity" : 1.000, "sum" : 162.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 162.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:52:57]execute_script... [20:52: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)4463", "tax_sys" : 0, "items" : [ { "code": "4700000480517", "name": "\u041F\u0438\u0432\u043E \u0416\u0438\u0432\u043E\u0435 1\u043B \u041F\u042D\u0422", "price" : 162.00, "quantity" : 1.000, "sum" : 162.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 162.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:52:57]POST & json_proto [20:52:57]process_json_proto [20:52:57]json parsed OK: [20:52:57]protocol is kg_v1.0 [20:52:57]action value=close_receipt [20:52:57]process_action close_receipt [20:52:57]cmd_close_receipt [20:52:57]MH_GetDate [20:52:57]Write to MH i2c: F0 00 00 8D 04 80 [20:52:57]Write i2c OK [20:52:57]MH_I2C_Read... [20:52:57]Read from MH i2c: F0 [20:52:57]MH_I2C_Read... [20:52:57]Read from MH i2c: F0 09 00 [20:52:57]MH_I2C_Read... [20:52:57]Read from MH i2c: F0 09 00 8D 04 00 2A D0 60 66 3A 8F 60 66 D8 [20:52:57]GetLastDocTimeStamp 1717620357 [20:52:57]current date 1717620778 [20:52:57]FM_GetShiftState [20:52:57]SAM_PROTO_GetShiftState [20:52:57]wFMCommunicate request_size=4 [20:52:57]MH_SAM_APDU [20:52:57]CAPDU: 80 13 01 00 [20:52:57]Write to MH i2c: E2 08 00 8E 04 80 13 01 00 00 00 00 00 0F [20:52:57]Write i2c OK [20:52:57]MH_I2C_Read... [20:52:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:52:57]Read from MH i2c: E2 [20:52:57]MH_I2C_Read... [20:52:57]Read from MH i2c: E2 0E 00 [20:52:57]MH_I2C_Read... [20:52:57]Read from MH i2c: E2 0E 00 8E 04 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 B0 [20:52:57]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [20:52:57]wFMCommunicate OK [20:52:57]SAM_PROTO_GetShiftState done [20:52:57]FM_GetShiftState done [20:52:57]opened in 1717545765 [20:52:57]opened+sec_in_day 1717632165 [20:52:57]quantity*price = 16200 [20:52:57]sum+1 = 16201 [20:52:57]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 162.00 НСП 1% : 1.43 НДС 12% : 17.20 Наличными: 162.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 68 05.06.2024 20:52 Смена: 84 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4210 ФПД: 235518330147783 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T205258&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4210&fm=235518330147783&tin=02508201610067®Number=0000000000145775&sum=16200 0 [20:52:58]StoreToDocumentArchive [20:52:58]shift 84 fd 4210 [20:52:58]save to /storage/0084/doc_00004210 [20:52:58]save last doc name /storage/0084/doc_00004210 to /storage/kkm_last_doc_name [20:52:58]save OK [20:52:58]Clear old archive folders... [20:52:58]ProcessDocumentItem done err = 0, tmpTLVsize=272 [20:52:58]tlvbuf is 019A14B0 [20:52:58]SAM_PROTO_ClearQueue [20:52:58]wFMCommunicate request_size=4 [20:52:58]MH_SAM_APDU [20:52:58]CAPDU: 80 09 00 00 [20:52:58]Write to MH i2c: E2 08 00 9B 04 80 09 00 00 00 00 00 00 11 [20:52:58]Write i2c OK [20:52:58]MH_I2C_Read... [20:52:58]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:52:58]Read from MH i2c: E2 [20:52:58]MH_I2C_Read... [20:52:58]Read from MH i2c: E2 03 00 [20:52:58]MH_I2C_Read... [20:52:58]Read from MH i2c: E2 03 00 9B 04 00 90 00 13 [20:52:58]RAPDU: 90 00 [20:52:58]wFMCommunicate OK [20:52:58]SAM_PROTO_ClearQueue done [20:52:58]KKMCreateOFDPacket [20:52:58]OFDProtocolAddRootSTLVToBuf [20:52:58]FM_MakeSignedData [20:52:58]FM_MakeSignedData [20:52:58]SAM_PROTO_SignData [20:52:58]wFMCommunicate request_size=4 [20:52:58]MH_SAM_APDU [20:52:58]CAPDU: 80 0D 01 02 [20:52:58]Write to MH i2c: E2 08 00 9C 04 80 0D 01 02 00 00 00 00 19 [20:52:58]Write i2c OK [20:52:58]MH_I2C_Read... [20:52:58]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:52:58]Read from MH i2c: E2 [20:52:58]MH_I2C_Read... [20:52:58]Read from MH i2c: E2 03 00 [20:52:58]MH_I2C_Read... [20:52:58]Read from MH i2c: E2 03 00 9C 04 00 90 00 14 [20:52:58]RAPDU: 90 00 [20:52:58]wFMCommunicate OK [20:52:58]wFMCommunicate request_size=255 [20:52:58]MH_SAM_APDU [20:52:58]CAPDU: 80 0D 02 02 FA 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 35 31 37 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B8 D0 B2 D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 48 3F 00 00 00 00 13 04 06 00 48 3F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 48 3F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B8 06 00 00 00 00 07 04 06 00 48 3F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 2A D0 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 [20:52:58]Write to MH i2c: E2 02 01 9D 04 80 0D 02 02 FA 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 35 31 37 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B8 D0 B2 D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 48 3F 00 00 00 00 13 04 06 00 48 3F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 48 3F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B8 06 00 00 00 00 07 04 06 00 48 3F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 2A D0 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 00 00 46 [20:52:58]Write i2c OK [20:52:58]MH_I2C_Read... [20:52:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:52:58]Read from MH i2c: E2 [20:52:58]MH_I2C_Read... [20:52:58]Read from MH i2c: E2 03 00 [20:52:58]MH_I2C_Read... [20:52:58]Read from MH i2c: E2 03 00 9D 04 00 90 00 15 [20:52:58]RAPDU: 90 00 [20:52:58]wFMCommunicate OK [20:52:58]wFMCommunicate request_size=31 [20:52:58]MH_SAM_APDU [20:52:58]CAPDU: 80 0D 02 02 1A 30 30 39 35 39 33 36 30 10 04 04 00 72 10 00 00 35 04 06 00 D6 33 E2 68 13 C7 [20:52:58]Write to MH i2c: E2 22 00 9E 04 80 0D 02 02 1A 00 30 30 39 35 39 33 36 30 10 04 04 00 72 10 00 00 35 04 06 00 D6 33 E2 68 13 C7 00 00 F6 [20:52:58]Write i2c OK [20:52:58]MH_I2C_Read... [20:52:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:52:58]Read from MH i2c: E2 [20:52:58]MH_I2C_Read... [20:52:58]Read from MH i2c: E2 03 00 [20:52:58]MH_I2C_Read... [20:52:58]Read from MH i2c: E2 03 00 9E 04 00 90 00 16 [20:52:58]RAPDU: 90 00 [20:52:58]wFMCommunicate OK [20:52:58]wFMCommunicate request_size=4 [20:52:58]MH_SAM_APDU [20:52:58]CAPDU: 80 0D 03 02 [20:52:58]Write to MH i2c: E2 08 00 9F 04 80 0D 03 02 00 00 00 00 1E [20:52:58]Write i2c OK [20:52:58]MH_I2C_Read... [20:52:58]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:52:58]Read from MH i2c: E2 [20:52:58]MH_I2C_Read... [20:52:58]Read from MH i2c: E2 0B 00 [20:52:58]MH_I2C_Read... [20:52:58]Read from MH i2c: E2 0B 00 9F 04 00 E2 84 9B 91 66 2A 66 6F 90 00 16 [20:52:58]RAPDU: E2 84 9B 91 66 2A 66 6F 90 00 [20:52:58]wFMCommunicate OK [20:52:58]SAM_PROTO_SignData done [20:52:58]FM_MakeSignedData done [20:52:58]CreateOFDProtocolMessage [20:52:58]wFMCommunicate request_size=4 [20:52:58]MH_SAM_APDU [20:52:58]CAPDU: 80 11 00 00 [20:52:58]Write to MH i2c: E2 08 00 A0 04 80 11 00 00 00 00 00 00 1E [20:52:58]Write i2c OK [20:52:58]MH_I2C_Read... [20:52:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:52:58]Read from MH i2c: E2 [20:52:58]MH_I2C_Read... [20:52:58]Read from MH i2c: E2 17 00 [20:52:58]MH_I2C_Read... [20:52:58]Read from MH i2c: E2 17 00 A0 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 71 [20:52:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [20:52:58]wFMCommunicate OK [20:52:58]CreateOFDProtocolMessage done [20:52:58]OFDSenderStorePacket 4210 [20:52:58]StoreOFDPacket docnum=4210 [20:52:58]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 24 01 00 00 41 3F 1C 01 FA 18 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 35 31 37 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B8 D0 B2 D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 48 3F 00 00 00 00 13 04 06 00 48 3F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 48 3F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B8 06 00 00 00 00 07 04 06 00 48 3F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 2A D0 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 72 10 00 00 35 04 06 00 D6 33 E2 68 13 C7 E2 84 9B 91 66 2A 66 6F [20:52:58]CheckFolder [20:52:58]dirname=/storage/ofd_packets [20:52:58]CheckFolder done [20:52:58]ProducePacketName [20:52:58]name=ofd_packets/00004210 [20:52:58]NVStorageSaveData ofd_packets/00004210 [20:52:58]File name is /storage/ofd_packets/00004210 [20:52:58]Write 322 bytes [20:52:58]NVStorageSaveData done [20:52:58]OFDSenderStorePacket done [20:52:58]KKMCreateOFDPacket done [20:52:58]NVStorageSaveData kkm_last_timestamp [20:52:58]File name is /storage/kkm_last_timestamp [20:52:58]Write 4 bytes [20:52:58]NVStorageSaveData done [20:52:58]ExternCall_PrintAddStr [20:52:58]wPrintStart [20:52:58]Write to MH i2c: 01 00 00 A1 04 A5 [20:52:58]Write i2c OK [20:52:58]MH_I2C_Read... [20:52:58]Read from MH i2c: 01 [20:52:58]MH_I2C_Read... [20:52:58]Read from MH i2c: 01 07 00 [20:52:58]MH_I2C_Read... [20:52:58]Read from MH i2c: 01 07 00 A1 04 00 00 00 00 00 FF 0F BA [20:52:58]RasterBufferAndPrint [20:52:58]line Счет N : (3)4463 [20:52:58]line ИНН: 02508201610067 [20:52:58]line Контрольно-Кассовый Чек [20:52:58]line ПРОДАЖА [20:52:58]line Товар: 4700000480517 [20:52:58]line Пиво Живое 1л ПЭТ [20:52:58]line 1.000 * 162.00 [20:52:58]line = 162.00 [20:52:58]line НДС 12% НСП 1% [20:52:58]line > о реализуемом товаре [20:52:58]line ИТОГО: 162.00 [20:52:58]line НСП 1% : 1.43 [20:52:58]line НДС 12% : 17.20 [20:52:58]line Наличными: 162.00 [20:52:58]line Безнал.: 0.00 [20:52:58]line Место: АЗС № 116 "Партнер Нефть" [20:52:58]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [20:52:58]line СНО: Общий режим [20:52:58]line Чек 68 05.06.2024 20:52 [20:52:58]line Смена: 84 ФФД: 1.0 [20:52:58]line ЗНМ: 0300000233 [20:52:58]line РНМ: 0000000000145775 [20:52:58]line Версия ККМ: v1.0 [20:52:58]line ФМ: 0000000000959360 [20:52:58]line ФД: 4210 [20:52:58]line ФПД: 235518330147783 [20:52:59]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T205258&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4210&fm=235518330147783&tin=02508201610067®Number=0000000000145775&sum=16200 [20:52:59]line 0 [20:52:59]OFD Sender: Processing packet 4210 [packets to send 2, broken 1] [20:52:59]ProducePacketName [20:52:59]name=ofd_packets/00004210 [20:52:59]OFD Sender: To server: pG, [20:52:59]CommunicateWithHost lk.salyk.kg:30040 [20:52:59]ConnectInit lk.salyk.kg [20:52:59]written 0, free lines is 4095 [20:52:59]Connected sock=10 [20:52:59]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 24 01 00 00 41 3F 1C 01 FA 18 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 35 31 37 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B8 D0 B2 D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 48 3F 00 00 00 00 13 04 06 00 48 3F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 48 3F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B8 06 00 00 00 00 07 04 06 00 48 3F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 2A D0 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 72 10 00 00 35 04 06 00 D6 33 E2 68 13 C7 E2 84 9B 91 66 2A 66 6F [20:52:59]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 A8 8F 47 00 57 B7 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 72 10 00 00 F4 03 04 00 2C 7C 60 66 B6 04 01 00 00 9D 32 B4 A9 05 CD 75 D1 [20:52:59]CommunicateWithHost err = 0 [20:52:59]CheckOFDResponse [20:52:59]1017 (14) - 77093643461234 [20:52:59]1041 (16) - 0000000000959360 [20:52:59]1040 (4) - 4210 [20:52:59]1012 (4) - 05.06.2024 14:54 [20:52:59]1206 (1) - 0 [20:52:59]OFD Sender: Remove packet 4210 [20:52:59]ProducePacketName [20:52:59]name=ofd_packets/00004210 [20:52:59]NVStorageDeleteData [20:52:59]Write to MH i2c: 01 00 00 C9 04 CD [20:52:59]Write i2c OK [20:52:59]MH_I2C_Read... [20:52:59]Read from MH i2c: 01 [20:52:59]MH_I2C_Read... [20:52:59]Read from MH i2c: 01 07 00 [20:52:59]MH_I2C_Read... [20:52:59]Read from MH i2c: 01 07 00 C9 04 00 00 00 00 00 C4 0C A4 [20:52:59]RasterBufferAndPrint [20:52:59]line [20:52:59]line [20:52:59]line [20:52:59]line [20:52:59]line [20:52:59]written 0, free lines is 3272 [20:52:59]MH_Cut [20:52:59]Write to MH i2c: D1 01 00 D0 04 01 A6 [20:52:59]Write i2c OK [20:52:59]MH_I2C_Read... [20:52:59]Read from MH i2c: D1 [20:52:59]MH_I2C_Read... [20:52:59]Read from MH i2c: D1 01 00 [20:52:59]MH_I2C_Read... [20:52:59]Read from MH i2c: D1 01 00 D0 04 00 A5 [20:52:59]Write to MH i2c: 01 00 00 D1 04 D5 [20:52:59]Write i2c OK [20:52:59]MH_I2C_Read... [20:52:59]OFD Sender: No OFD packet to send [20:53:00]*** Cut start [20:53:00]*** Partial cut [20:53:00]*** CUTSNS_PIN = 1 [20:53:00]*** CUTSNS_PIN = 0 [20:53:00]*** Brake cut motor [20:53:01]Read from MH i2c: 01 [20:53:01]MH_I2C_Read... [20:53:01]*** Stop cut motor [20:53:01]*** Cut end [20:53:01]Read from MH i2c: 01 07 00 [20:53:01]MH_I2C_Read... [20:53:01]Read from MH i2c: 01 07 00 D1 04 00 00 00 00 00 FF 0F EA [20:53:01]process_action close_receipt done [20:53:01]requested_data is exist [20:53:01]produce_requested_data [20:53:01]requested_item fm.sn is exist - process it [20:53:01]wFMCommunicate request_size=4 [20:53:01]MH_SAM_APDU [20:53:01]CAPDU: 80 11 00 00 [20:53:01]Write to MH i2c: E2 08 00 D2 04 80 11 00 00 00 00 00 00 50 [20:53:01]Write i2c OK [20:53:01]MH_I2C_Read... [20:53:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:53:01]Read from MH i2c: E2 [20:53:01]MH_I2C_Read... [20:53:01]Read from MH i2c: E2 17 00 [20:53:01]MH_I2C_Read... [20:53:01]Read from MH i2c: E2 17 00 D2 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 A3 [20:53:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [20:53:01]wFMCommunicate OK [20:53:01]requested_item fd.num is exist - process it [20:53:01]SAM_PROTO_GetFieldsCounters [20:53:01]wFMCommunicate request_size=4 [20:53:01]MH_SAM_APDU [20:53:01]CAPDU: 80 13 00 00 [20:53:01]Write to MH i2c: E2 08 00 D3 04 80 13 00 00 00 00 00 00 53 [20:53:01]Write i2c OK [20:53:01]MH_I2C_Read... [20:53:01]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:53:01]Read from MH i2c: E2 [20:53:01]MH_I2C_Read... [20:53:01]Read from MH i2c: E2 62 00 [20:53:01]MH_I2C_Read... [20:53:01]Read from MH i2c: E2 62 00 D3 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 72 10 00 00 0E 04 04 00 54 00 00 00 12 04 04 00 44 00 00 00 5E 04 04 00 44 00 00 00 57 04 04 00 45 00 00 00 19 04 04 00 00 00 00 00 90 00 1A [20:53:01]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 72 10 00 00 0E 04 04 00 54 00 00 00 12 04 04 00 44 00 00 00 5E 04 04 00 44 00 00 00 57 04 04 00 45 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:53:01]wFMCommunicate OK [20:53:01]SAM_PROTO_GetFieldsCounters done [20:53:01]requested_item shift.num is exist - process it [20:53:01]requested_item shift.opened is exist - process it [20:53:01]req_shift_opened [20:53:01]FM_GetShiftState [20:53:01]SAM_PROTO_GetShiftState [20:53:01]wFMCommunicate request_size=4 [20:53:01]MH_SAM_APDU [20:53:01]CAPDU: 80 13 01 00 [20:53:01]Write to MH i2c: E2 08 00 D4 04 80 13 01 00 00 00 00 00 55 [20:53:01]Write i2c OK [20:53:01]MH_I2C_Read... [20:53:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:53:01]Read from MH i2c: E2 [20:53:01]MH_I2C_Read... [20:53:01]Read from MH i2c: E2 0E 00 [20:53:01]MH_I2C_Read... [20:53:01]Read from MH i2c: E2 0E 00 D4 04 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 F6 [20:53:01]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [20:53:01]wFMCommunicate OK [20:53:01]SAM_PROTO_GetShiftState done [20:53:01]FM_GetShiftState done [20:53:01]req_shift_opened done [20:53:01]requested_item shift.open_date is exist - process it [20:53:01]req_shift_open_date [20:53:01]req_shift_open_date done [20:53:01]produce_requested_data done [20:53:01]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4210,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765} [20:53:01]process_action_free close_receipt [20:53:01]json_value_free [20:53:01]json_value_free done [20:53:01]process_json_proto returns [20:53:01]Send response to host [20:53:01]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4210,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765}}} [20:53:01]free response buf [20:53:01]execute_script done [20:53:01]execute_script returns [20:53:01]free content buf [20:53:01]Sock 9.Close socket [20:53:01]Sock 9.Thread stoped [20:53:04]OFD Sender: No OFD packet to send [20:53:09]OFD Sender: No OFD packet to send [20:53:14]OFD Sender: No OFD packet to send [20:53:19]OFD Sender: No OFD packet to send [20:53:24]OFD Sender: No OFD packet to send [20:53:29]OFD Sender: No OFD packet to send [20:53:34]OFD Sender: No OFD packet to send [20:53:39]OFD Sender: No OFD packet to send [20:53:44]OFD Sender: No OFD packet to send [20:53:49]OFD Sender: No OFD packet to send [20:53:54]OFD Sender: No OFD packet to send [20:53:59]OFD Sender: No OFD packet to send [20:54:02]accept exits with 8 [20:54:02]New connection [20:54:02]New thread 3066772836 created [20:54:02]Thread 3066629476 joined [20:54:02]Waiting for new connection... [20:54:02] Sock 8.Parse request [20:54:02]Sock 8.Check first char [20:54:02]Sock 8.First char is OK [20:54:02]request: POST /json_proto HTTP/1.0 [20:54:02]Method: POST [20:54:02]URL: /json_proto [20:54:02]Method is POST - this is cgi request [20:54:02]url: /json_proto [20:54:02]query_string will be loaded in cgi processing [20:54:02]execute_cgi json_proto POST (null) [20:54:02]execute_cgi path=json_proto method=POST [20:54:02]POST find Content-Length [20:54:02]Host: 172.17.56.68:8080 [20:54:02]Content-Length: 606 [20:54:02]Content-Type: application/json [20:54:02] [20:54:02]POST finish read [20:54:02]Found Content-Length = 606 [20:54:02]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4464", "tax_sys" : 0, "items" : [ { "code": "46231529", "name": "Mentos \u041F\u0424 \u0410\u0440\u0431\u0443\u0437 6*100*2", "price" : 10.00, "quantity" : 1.000, "sum" : 10.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 10.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:54:02]execute_script... [20:54:02]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)4464", "tax_sys" : 0, "items" : [ { "code": "46231529", "name": "Mentos \u041F\u0424 \u0410\u0440\u0431\u0443\u0437 6*100*2", "price" : 10.00, "quantity" : 1.000, "sum" : 10.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 10.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:54:02]POST & json_proto [20:54:02]process_json_proto [20:54:02]json parsed OK: [20:54:02]protocol is kg_v1.0 [20:54:02]action value=close_receipt [20:54:02]process_action close_receipt [20:54:02]cmd_close_receipt [20:54:02]MH_GetDate [20:54:02]Write to MH i2c: F0 00 00 D5 04 C8 [20:54:02]Write i2c OK [20:54:02]MH_I2C_Read... [20:54:02]Read from MH i2c: F0 [20:54:02]MH_I2C_Read... [20:54:02]Read from MH i2c: F0 09 00 [20:54:02]MH_I2C_Read... [20:54:02]Read from MH i2c: F0 09 00 D5 04 00 6B D0 60 66 3A 8F 60 66 61 [20:54:02]GetLastDocTimeStamp 1717620778 [20:54:02]current date 1717620843 [20:54:02]FM_GetShiftState [20:54:02]SAM_PROTO_GetShiftState [20:54:02]wFMCommunicate request_size=4 [20:54:02]MH_SAM_APDU [20:54:02]CAPDU: 80 13 01 00 [20:54:02]Write to MH i2c: E2 08 00 D6 04 80 13 01 00 00 00 00 00 57 [20:54:02]Write i2c OK [20:54:02]MH_I2C_Read... [20:54:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:54:02]Read from MH i2c: E2 [20:54:02]MH_I2C_Read... [20:54:02]Read from MH i2c: E2 0E 00 [20:54:02]MH_I2C_Read... [20:54:02]Read from MH i2c: E2 0E 00 D6 04 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 F8 [20:54:02]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [20:54:02]wFMCommunicate OK [20:54:02]SAM_PROTO_GetShiftState done [20:54:02]FM_GetShiftState done [20:54:02]opened in 1717545765 [20:54:02]opened+sec_in_day 1717632165 [20:54:02]quantity*price = 1000 [20:54:02]sum+1 = 1001 [20:54:02]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 10.00 НСП 1% : 0.09 НДС 12% : 1.06 Наличными: 10.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 69 05.06.2024 20:54 Смена: 84 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4211 ФПД: 221730273990906 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T205403&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4211&fm=221730273990906&tin=02508201610067®Number=0000000000145775&sum=1000 0 [20:54:03]StoreToDocumentArchive [20:54:03]shift 84 fd 4211 [20:54:03]save to /storage/0084/doc_00004211 [20:54:03]save last doc name /storage/0084/doc_00004211 to /storage/kkm_last_doc_name [20:54:03]save OK [20:54:03]Clear old archive folders... [20:54:03]ProcessDocumentItem done err = 0, tmpTLVsize=267 [20:54:03]tlvbuf is 01968D80 [20:54:03]SAM_PROTO_ClearQueue [20:54:03]wFMCommunicate request_size=4 [20:54:03]MH_SAM_APDU [20:54:03]CAPDU: 80 09 00 00 [20:54:03]Write to MH i2c: E2 08 00 E3 04 80 09 00 00 00 00 00 00 59 [20:54:03]Write i2c OK [20:54:03]MH_I2C_Read... [20:54:03]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:54:03]Read from MH i2c: E2 [20:54:03]MH_I2C_Read... [20:54:03]Read from MH i2c: E2 03 00 [20:54:03]MH_I2C_Read... [20:54:03]Read from MH i2c: E2 03 00 E3 04 00 90 00 5B [20:54:03]RAPDU: 90 00 [20:54:03]wFMCommunicate OK [20:54:03]SAM_PROTO_ClearQueue done [20:54:03]KKMCreateOFDPacket [20:54:03]OFDProtocolAddRootSTLVToBuf [20:54:03]FM_MakeSignedData [20:54:03]FM_MakeSignedData [20:54:03]SAM_PROTO_SignData [20:54:03]wFMCommunicate request_size=4 [20:54:03]MH_SAM_APDU [20:54:03]CAPDU: 80 0D 01 02 [20:54:03]Write to MH i2c: E2 08 00 E4 04 80 0D 01 02 00 00 00 00 61 [20:54:03]Write i2c OK [20:54:03]MH_I2C_Read... [20:54:03]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:54:03]Read from MH i2c: E2 [20:54:03]MH_I2C_Read... [20:54:03]Read from MH i2c: E2 03 00 [20:54:03]MH_I2C_Read... [20:54:03]Read from MH i2c: E2 03 00 E4 04 00 90 00 5C [20:54:03]RAPDU: 90 00 [20:54:03]wFMCommunicate OK [20:54:03]wFMCommunicate request_size=255 [20:54:03]MH_SAM_APDU [20:54:03]CAPDU: 80 0D 02 02 FA 03 00 0B 01 1E 04 01 00 01 23 04 5D 00 8A 04 08 00 34 36 32 33 31 35 32 39 06 04 1E 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 90 D1 80 D0 B1 D1 83 D0 B7 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 03 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6A 00 00 00 00 00 07 04 06 00 E8 03 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 45 00 00 00 F4 03 04 00 6B D0 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 [20:54:03]Write to MH i2c: E2 02 01 E5 04 80 0D 02 02 FA 00 03 00 0B 01 1E 04 01 00 01 23 04 5D 00 8A 04 08 00 34 36 32 33 31 35 32 39 06 04 1E 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 90 D1 80 D0 B1 D1 83 D0 B7 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 03 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6A 00 00 00 00 00 07 04 06 00 E8 03 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 45 00 00 00 F4 03 04 00 6B D0 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 00 00 99 [20:54:03]Write i2c OK [20:54:03]MH_I2C_Read... [20:54:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:54:03]Read from MH i2c: E2 [20:54:03]MH_I2C_Read... [20:54:03]Read from MH i2c: E2 03 00 [20:54:03]MH_I2C_Read... [20:54:03]Read from MH i2c: E2 03 00 E5 04 00 90 00 5D [20:54:03]RAPDU: 90 00 [20:54:03]wFMCommunicate OK [20:54:03]wFMCommunicate request_size=26 [20:54:03]MH_SAM_APDU [20:54:03]CAPDU: 80 0D 02 02 15 33 36 30 10 04 04 00 73 10 00 00 35 04 06 00 C9 A9 9A 37 98 FA [20:54:03]Write to MH i2c: E2 1D 00 E6 04 80 0D 02 02 15 00 33 36 30 10 04 04 00 73 10 00 00 35 04 06 00 C9 A9 9A 37 98 FA 00 00 D6 [20:54:03]Write i2c OK [20:54:03]MH_I2C_Read... [20:54:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:54:03]Read from MH i2c: E2 [20:54:03]MH_I2C_Read... [20:54:03]Read from MH i2c: E2 03 00 [20:54:03]MH_I2C_Read... [20:54:03]Read from MH i2c: E2 03 00 E6 04 00 90 00 5E [20:54:03]RAPDU: 90 00 [20:54:03]wFMCommunicate OK [20:54:03]wFMCommunicate request_size=4 [20:54:03]MH_SAM_APDU [20:54:03]CAPDU: 80 0D 03 02 [20:54:03]Write to MH i2c: E2 08 00 E7 04 80 0D 03 02 00 00 00 00 66 [20:54:03]Write i2c OK [20:54:03]MH_I2C_Read... [20:54:03]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:54:03]Read from MH i2c: E2 [20:54:03]MH_I2C_Read... [20:54:03]Read from MH i2c: E2 0B 00 [20:54:03]MH_I2C_Read... [20:54:03]Read from MH i2c: E2 0B 00 E7 04 00 B0 AB 59 4E 13 05 3E 01 90 00 C0 [20:54:03]RAPDU: B0 AB 59 4E 13 05 3E 01 90 00 [20:54:03]wFMCommunicate OK [20:54:03]SAM_PROTO_SignData done [20:54:03]FM_MakeSignedData done [20:54:03]CreateOFDProtocolMessage [20:54:03]wFMCommunicate request_size=4 [20:54:03]MH_SAM_APDU [20:54:03]CAPDU: 80 11 00 00 [20:54:03]Write to MH i2c: E2 08 00 E8 04 80 11 00 00 00 00 00 00 66 [20:54:03]Write i2c OK [20:54:03]MH_I2C_Read... [20:54:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:54:03]Read from MH i2c: E2 [20:54:03]MH_I2C_Read... [20:54:03]Read from MH i2c: E2 17 00 [20:54:03]MH_I2C_Read... [20:54:03]Read from MH i2c: E2 17 00 E8 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 B9 [20:54:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [20:54:03]wFMCommunicate OK [20:54:03]CreateOFDProtocolMessage done [20:54:03]OFDSenderStorePacket 4211 [20:54:03]StoreOFDPacket docnum=4211 [20:54:03]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 1F 01 00 00 AD CF 17 01 E2 89 5A 03 01 00 03 00 0B 01 1E 04 01 00 01 23 04 5D 00 8A 04 08 00 34 36 32 33 31 35 32 39 06 04 1E 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 90 D1 80 D0 B1 D1 83 D0 B7 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 03 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6A 00 00 00 00 00 07 04 06 00 E8 03 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 45 00 00 00 F4 03 04 00 6B D0 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 73 10 00 00 35 04 06 00 C9 A9 9A 37 98 FA B0 AB 59 4E 13 05 3E 01 [20:54:03]CheckFolder [20:54:03]dirname=/storage/ofd_packets [20:54:03]CheckFolder done [20:54:03]ProducePacketName [20:54:03]name=ofd_packets/00004211 [20:54:03]NVStorageSaveData ofd_packets/00004211 [20:54:03]File name is /storage/ofd_packets/00004211 [20:54:03]Write 317 bytes [20:54:03]NVStorageSaveData done [20:54:03]OFDSenderStorePacket done [20:54:03]KKMCreateOFDPacket done [20:54:03]NVStorageSaveData kkm_last_timestamp [20:54:03]File name is /storage/kkm_last_timestamp [20:54:03]Write 4 bytes [20:54:03]NVStorageSaveData done [20:54:03]ExternCall_PrintAddStr [20:54:03]wPrintStart [20:54:03]Write to MH i2c: 01 00 00 E9 04 ED [20:54:03]Write i2c OK [20:54:03]MH_I2C_Read... [20:54:03]Read from MH i2c: 01 [20:54:03]MH_I2C_Read... [20:54:03]Read from MH i2c: 01 07 00 [20:54:03]MH_I2C_Read... [20:54:03]Read from MH i2c: 01 07 00 E9 04 00 00 00 00 00 FF 0F 02 [20:54:03]RasterBufferAndPrint [20:54:03]line Счет N : (3)4464 [20:54:03]line ИНН: 02508201610067 [20:54:03]line Контрольно-Кассовый Чек [20:54:03]line ПРОДАЖА [20:54:03]line Товар: 46231529 [20:54:03]line Mentos ПФ Арбуз 6*100*2 [20:54:03]line 1.000 * 10.00 [20:54:03]line = 10.00 [20:54:03]line НДС 12% НСП 1% [20:54:03]line > о реализуемом товаре [20:54:03]line ИТОГО: 10.00 [20:54:03]line НСП 1% : 0.09 [20:54:03]line НДС 12% : 1.06 [20:54:03]line Наличными: 10.00 [20:54:03]line Безнал.: 0.00 [20:54:03]line Место: АЗС № 116 "Партнер Нефть" [20:54:03]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [20:54:03]line СНО: Общий режим [20:54:04]line Чек 69 05.06.2024 20:54 [20:54:04]line Смена: 84 ФФД: 1.0 [20:54:04]line ЗНМ: 0300000233 [20:54:04]line РНМ: 0000000000145775 [20:54:04]line Версия ККМ: v1.0 [20:54:04]line ФМ: 0000000000959360 [20:54:04]line ФД: 4211 [20:54:04]line ФПД: 221730273990906 [20:54:04]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T205403&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4211&fm=221730273990906&tin=02508201610067®Number=0000000000145775&sum=1000 [20:54:04]line 0 [20:54:04]OFD Sender: Processing packet 4211 [packets to send 2, broken 1] [20:54:04]ProducePacketName [20:54:04]name=ofd_packets/00004211 [20:54:04]OFD Sender: To server: pG, [20:54:04]CommunicateWithHost lk.salyk.kg:30040 [20:54:04]ConnectInit lk.salyk.kg [20:54:04]written 0, free lines is 4095 [20:54:04]Connected sock=10 [20:54:04]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 1F 01 00 00 AD CF 17 01 E2 89 5A 03 01 00 03 00 0B 01 1E 04 01 00 01 23 04 5D 00 8A 04 08 00 34 36 32 33 31 35 32 39 06 04 1E 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 90 D1 80 D0 B1 D1 83 D0 B7 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 03 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6A 00 00 00 00 00 07 04 06 00 E8 03 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 45 00 00 00 F4 03 04 00 6B D0 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 73 10 00 00 35 04 06 00 C9 A9 9A 37 98 FA B0 AB 59 4E 13 05 3E 01 [20:54:04]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 25 73 47 00 2E 4B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 73 10 00 00 F4 03 04 00 6D 7C 60 66 B6 04 01 00 00 C7 80 CC 63 C7 F1 26 51 [20:54:04]CommunicateWithHost err = 0 [20:54:04]CheckOFDResponse [20:54:04]1017 (14) - 77093643461234 [20:54:04]1041 (16) - 0000000000959360 [20:54:04]1040 (4) - 4211 [20:54:04]1012 (4) - 05.06.2024 14:55 [20:54:04]1206 (1) - 0 [20:54:04]OFD Sender: Remove packet 4211 [20:54:04]ProducePacketName [20:54:04]name=ofd_packets/00004211 [20:54:04]NVStorageDeleteData [20:54:04]Write to MH i2c: 01 00 00 11 05 16 [20:54:04]Write i2c OK [20:54:04]MH_I2C_Read... [20:54:04]Read from MH i2c: 01 [20:54:04]MH_I2C_Read... [20:54:04]Read from MH i2c: 01 07 00 [20:54:04]MH_I2C_Read... [20:54:04]Read from MH i2c: 01 07 00 11 05 00 00 00 00 00 C1 0C EA [20:54:04]RasterBufferAndPrint [20:54:04]line [20:54:04]line [20:54:04]line [20:54:04]line [20:54:04]line [20:54:04]written 0, free lines is 3270 [20:54:04]MH_Cut [20:54:04]Write to MH i2c: D1 01 00 18 05 01 EF [20:54:04]Write i2c OK [20:54:04]MH_I2C_Read... [20:54:04]Read from MH i2c: D1 [20:54:04]MH_I2C_Read... [20:54:04]Read from MH i2c: D1 01 00 [20:54:04]MH_I2C_Read... [20:54:04]Read from MH i2c: D1 01 00 18 05 00 EE [20:54:04]Write to MH i2c: 01 00 00 19 05 1E [20:54:04]Write i2c OK [20:54:04]MH_I2C_Read... [20:54:04]OFD Sender: No OFD packet to send [20:54:05]*** Cut start [20:54:05]*** Partial cut [20:54:05]*** CUTSNS_PIN = 1 [20:54:05]*** CUTSNS_PIN = 0 [20:54:05]*** Brake cut motor [20:54:06]Read from MH i2c: 01 [20:54:06]MH_I2C_Read... [20:54:06]*** Stop cut motor [20:54:06]*** Cut end [20:54:06]Read from MH i2c: 01 07 00 [20:54:06]MH_I2C_Read... [20:54:06]Read from MH i2c: 01 07 00 19 05 00 00 00 00 00 FF 0F 33 [20:54:06]process_action close_receipt done [20:54:06]requested_data is exist [20:54:06]produce_requested_data [20:54:06]requested_item fm.sn is exist - process it [20:54:06]wFMCommunicate request_size=4 [20:54:06]MH_SAM_APDU [20:54:06]CAPDU: 80 11 00 00 [20:54:06]Write to MH i2c: E2 08 00 1A 05 80 11 00 00 00 00 00 00 99 [20:54:06]Write i2c OK [20:54:06]MH_I2C_Read... [20:54:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:54:06]Read from MH i2c: E2 [20:54:06]MH_I2C_Read... [20:54:06]Read from MH i2c: E2 17 00 [20:54:06]MH_I2C_Read... [20:54:06]Read from MH i2c: E2 17 00 1A 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 EC [20:54:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [20:54:06]wFMCommunicate OK [20:54:06]requested_item fd.num is exist - process it [20:54:06]SAM_PROTO_GetFieldsCounters [20:54:06]wFMCommunicate request_size=4 [20:54:06]MH_SAM_APDU [20:54:06]CAPDU: 80 13 00 00 [20:54:06]Write to MH i2c: E2 08 00 1B 05 80 13 00 00 00 00 00 00 9C [20:54:06]Write i2c OK [20:54:06]MH_I2C_Read... [20:54:06]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:54:06]Read from MH i2c: E2 [20:54:06]MH_I2C_Read... [20:54:06]Read from MH i2c: E2 62 00 [20:54:06]MH_I2C_Read... [20:54:06]Read from MH i2c: E2 62 00 1B 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 73 10 00 00 0E 04 04 00 54 00 00 00 12 04 04 00 45 00 00 00 5E 04 04 00 45 00 00 00 57 04 04 00 46 00 00 00 19 04 04 00 00 00 00 00 90 00 67 [20:54:06]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 73 10 00 00 0E 04 04 00 54 00 00 00 12 04 04 00 45 00 00 00 5E 04 04 00 45 00 00 00 57 04 04 00 46 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:54:06]wFMCommunicate OK [20:54:06]SAM_PROTO_GetFieldsCounters done [20:54:06]requested_item shift.num is exist - process it [20:54:06]requested_item shift.opened is exist - process it [20:54:06]req_shift_opened [20:54:06]FM_GetShiftState [20:54:06]SAM_PROTO_GetShiftState [20:54:06]wFMCommunicate request_size=4 [20:54:06]MH_SAM_APDU [20:54:06]CAPDU: 80 13 01 00 [20:54:06]Write to MH i2c: E2 08 00 1C 05 80 13 01 00 00 00 00 00 9E [20:54:06]Write i2c OK [20:54:06]MH_I2C_Read... [20:54:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:54:06]Read from MH i2c: E2 [20:54:06]MH_I2C_Read... [20:54:06]Read from MH i2c: E2 0E 00 [20:54:06]MH_I2C_Read... [20:54:06]Read from MH i2c: E2 0E 00 1C 05 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 3F [20:54:06]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [20:54:06]wFMCommunicate OK [20:54:06]SAM_PROTO_GetShiftState done [20:54:06]FM_GetShiftState done [20:54:06]req_shift_opened done [20:54:06]requested_item shift.open_date is exist - process it [20:54:06]req_shift_open_date [20:54:06]req_shift_open_date done [20:54:06]produce_requested_data done [20:54:06]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4211,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765} [20:54:06]process_action_free close_receipt [20:54:06]json_value_free [20:54:06]json_value_free done [20:54:06]process_json_proto returns [20:54:06]Send response to host [20:54:06]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4211,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765}}} [20:54:06]free response buf [20:54:06]execute_script done [20:54:06]execute_script returns [20:54:06]free content buf [20:54:06]Sock 8.Close socket [20:54:06]Sock 8.Thread stoped [20:54:09]OFD Sender: No OFD packet to send [20:54:14]OFD Sender: No OFD packet to send [20:54:19]OFD Sender: No OFD packet to send [20:54:24]OFD Sender: No OFD packet to send [20:54:29]OFD Sender: No OFD packet to send [20:54:34]OFD Sender: No OFD packet to send [20:54:39]OFD Sender: No OFD packet to send [20:54:44]OFD Sender: No OFD packet to send [20:54:49]OFD Sender: No OFD packet to send [20:54:54]OFD Sender: No OFD packet to send [20:54:59]OFD Sender: No OFD packet to send [20:55:04]OFD Sender: No OFD packet to send [20:55:09]OFD Sender: No OFD packet to send [20:55:15]OFD Sender: No OFD packet to send [20:55:20]OFD Sender: No OFD packet to send [20:55:25]OFD Sender: No OFD packet to send [20:55:30]OFD Sender: No OFD packet to send [20:55:35]OFD Sender: No OFD packet to send [20:55:40]OFD Sender: No OFD packet to send [20:55:45]OFD Sender: No OFD packet to send [20:55:50]OFD Sender: No OFD packet to send [20:55:55]OFD Sender: No OFD packet to send [20:56:00]OFD Sender: No OFD packet to send [20:56:05]OFD Sender: No OFD packet to send [20:56:10]OFD Sender: No OFD packet to send [20:56:15]OFD Sender: No OFD packet to send [20:56:20]OFD Sender: No OFD packet to send [20:56:25]OFD Sender: No OFD packet to send [20:56:30]OFD Sender: No OFD packet to send [20:56:35]OFD Sender: No OFD packet to send [20:56:40]OFD Sender: No OFD packet to send [20:56:45]OFD Sender: No OFD packet to send [20:56:50]OFD Sender: No OFD packet to send [20:56:55]OFD Sender: No OFD packet to send [20:57:00]OFD Sender: No OFD packet to send [20:57:05]OFD Sender: No OFD packet to send [20:57:10]OFD Sender: No OFD packet to send [20:57:15]OFD Sender: No OFD packet to send [20:57:20]OFD Sender: No OFD packet to send [20:57:25]OFD Sender: No OFD packet to send [20:57:30]OFD Sender: No OFD packet to send [20:57:35]OFD Sender: No OFD packet to send [20:57:40]OFD Sender: No OFD packet to send [20:57:45]OFD Sender: No OFD packet to send [20:57:50]OFD Sender: No OFD packet to send [20:57:55]OFD Sender: No OFD packet to send [20:58:00]OFD Sender: No OFD packet to send [20:58:05]OFD Sender: No OFD packet to send [20:58:10]OFD Sender: No OFD packet to send [20:58:15]OFD Sender: No OFD packet to send [20:58:20]OFD Sender: No OFD packet to send [20:58:25]OFD Sender: No OFD packet to send [20:58:30]OFD Sender: No OFD packet to send [20:58:35]OFD Sender: No OFD packet to send [20:58:40]OFD Sender: No OFD packet to send [20:58:45]OFD Sender: No OFD packet to send [20:58:50]OFD Sender: No OFD packet to send [20:58:55]OFD Sender: No OFD packet to send [20:59:00]OFD Sender: No OFD packet to send [20:59:05]OFD Sender: No OFD packet to send [20:59:10]OFD Sender: No OFD packet to send [20:59:15]OFD Sender: No OFD packet to send [20:59:20]OFD Sender: No OFD packet to send [20:59:25]OFD Sender: No OFD packet to send [20:59:28]accept exits with 9 [20:59:28]New connection [20:59:28]New thread 3066629476 created [20:59:28]Thread 3066772836 joined [20:59:28]Waiting for new connection... [20:59:28] Sock 9.Parse request [20:59:28]Sock 9.Check first char [20:59:28]Sock 9.First char is OK [20:59:28]request: POST /json_proto HTTP/1.0 [20:59:28]Method: POST [20:59:28]URL: /json_proto [20:59:28]Method is POST - this is cgi request [20:59:28]url: /json_proto [20:59:28]query_string will be loaded in cgi processing [20:59:28]execute_cgi json_proto POST (null) [20:59:28]execute_cgi path=json_proto method=POST [20:59:28]POST find Content-Length [20:59:28]Host: 172.17.56.68:8080 [20:59:28]Content-Length: 673 [20:59:28]Content-Type: application/json [20:59:28] [20:59:28]POST finish read [20:59:28]Found Content-Length = 673 [20:59:28]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4465", "tax_sys" : 0, "items" : [ { "code": "4600682034315", "name": "\u041F\u0438\u0432\u043E \u0411\u0430\u043B\u0442\u0438\u043A\u0430 7 \u044D\u043A\u0441\u043F 0,5\u043B \u0441\u0442", "price" : 120.00, "quantity" : 1.000, "sum" : 120.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" ] } } [20:59:28]execute_script... [20:59: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)4465", "tax_sys" : 0, "items" : [ { "code": "4600682034315", "name": "\u041F\u0438\u0432\u043E \u0411\u0430\u043B\u0442\u0438\u043A\u0430 7 \u044D\u043A\u0441\u043F 0,5\u043B \u0441\u0442", "price" : 120.00, "quantity" : 1.000, "sum" : 120.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" ] } } [20:59:28]POST & json_proto [20:59:28]process_json_proto [20:59:28]json parsed OK: [20:59:28]protocol is kg_v1.0 [20:59:28]action value=close_receipt [20:59:28]process_action close_receipt [20:59:28]cmd_close_receipt [20:59:28]MH_GetDate [20:59:28]Write to MH i2c: F0 00 00 1D 05 11 [20:59:28]Write i2c OK [20:59:28]MH_I2C_Read... [20:59:28]Read from MH i2c: F0 [20:59:28]MH_I2C_Read... [20:59:28]Read from MH i2c: F0 09 00 [20:59:28]MH_I2C_Read... [20:59:28]Read from MH i2c: F0 09 00 1D 05 00 B1 D1 60 66 3A 8F 60 66 F1 [20:59:28]GetLastDocTimeStamp 1717620843 [20:59:28]current date 1717621169 [20:59:28]FM_GetShiftState [20:59:28]SAM_PROTO_GetShiftState [20:59:28]wFMCommunicate request_size=4 [20:59:28]MH_SAM_APDU [20:59:28]CAPDU: 80 13 01 00 [20:59:28]Write to MH i2c: E2 08 00 1E 05 80 13 01 00 00 00 00 00 A0 [20:59:28]Write i2c OK [20:59:28]MH_I2C_Read... [20:59:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:59:28]Read from MH i2c: E2 [20:59:28]MH_I2C_Read... [20:59:28]Read from MH i2c: E2 0E 00 [20:59:28]MH_I2C_Read... [20:59:28]Read from MH i2c: E2 0E 00 1E 05 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 41 [20:59:28]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [20:59:28]wFMCommunicate OK [20:59:28]SAM_PROTO_GetShiftState done [20:59:28]FM_GetShiftState done [20:59:28]opened in 1717545765 [20:59:28]opened+sec_in_day 1717632165 [20:59:28]quantity*price = 12000 [20:59:28]sum+1 = 12001 [20:59:28]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 120.00 НСП 1% : 1.06 НДС 12% : 12.74 Наличными: 120.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 70 05.06.2024 20:59 Смена: 84 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4212 ФПД: 275145859695681 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T205929&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4212&fm=275145859695681&tin=02508201610067®Number=0000000000145775&sum=12000 0 [20:59:29]StoreToDocumentArchive [20:59:29]shift 84 fd 4212 [20:59:29]save to /storage/0084/doc_00004212 [20:59:29]save last doc name /storage/0084/doc_00004212 to /storage/kkm_last_doc_name [20:59:29]save OK [20:59:29]Clear old archive folders... [20:59:29]ProcessDocumentItem done err = 0, tmpTLVsize=287 [20:59:29]tlvbuf is 0196F210 [20:59:29]SAM_PROTO_ClearQueue [20:59:29]wFMCommunicate request_size=4 [20:59:29]MH_SAM_APDU [20:59:29]CAPDU: 80 09 00 00 [20:59:29]Write to MH i2c: E2 08 00 2B 05 80 09 00 00 00 00 00 00 A2 [20:59:29]Write i2c OK [20:59:29]MH_I2C_Read... [20:59:29]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:59:29]Read from MH i2c: E2 [20:59:29]MH_I2C_Read... [20:59:29]Read from MH i2c: E2 03 00 [20:59:29]MH_I2C_Read... [20:59:29]Read from MH i2c: E2 03 00 2B 05 00 90 00 A4 [20:59:29]RAPDU: 90 00 [20:59:29]wFMCommunicate OK [20:59:29]SAM_PROTO_ClearQueue done [20:59:29]KKMCreateOFDPacket [20:59:29]OFDProtocolAddRootSTLVToBuf [20:59:29]FM_MakeSignedData [20:59:29]FM_MakeSignedData [20:59:29]SAM_PROTO_SignData [20:59:29]wFMCommunicate request_size=4 [20:59:29]MH_SAM_APDU [20:59:29]CAPDU: 80 0D 01 02 [20:59:29]Write to MH i2c: E2 08 00 2C 05 80 0D 01 02 00 00 00 00 AA [20:59:29]Write i2c OK [20:59:29]MH_I2C_Read... [20:59:29]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:59:29]Read from MH i2c: E2 [20:59:29]MH_I2C_Read... [20:59:29]Read from MH i2c: E2 03 00 [20:59:29]MH_I2C_Read... [20:59:29]Read from MH i2c: E2 03 00 2C 05 00 90 00 A5 [20:59:29]RAPDU: 90 00 [20:59:29]wFMCommunicate OK [20:59:29]wFMCommunicate request_size=255 [20:59:29]MH_SAM_APDU [20:59:29]CAPDU: 80 0D 02 02 FA 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 34 36 30 30 36 38 32 30 33 34 33 31 35 06 04 2D 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 91 D0 B0 D0 BB D1 82 D0 B8 D0 BA D0 B0 20 37 20 D1 8D D0 BA D1 81 D0 BF 20 30 2C 35 D0 BB 20 D1 81 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 FA 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 46 00 00 00 F4 03 04 00 B1 D1 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 [20:59:29]Write to MH i2c: E2 02 01 2D 05 80 0D 02 02 FA 00 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 34 36 30 30 36 38 32 30 33 34 33 31 35 06 04 2D 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 91 D0 B0 D0 BB D1 82 D0 B8 D0 BA D0 B0 20 37 20 D1 8D D0 BA D1 81 D0 BF 20 30 2C 35 D0 BB 20 D1 81 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 FA 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 46 00 00 00 F4 03 04 00 B1 D1 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 00 00 38 [20:59:29]Write i2c OK [20:59:29]MH_I2C_Read... [20:59:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:59:29]Read from MH i2c: E2 [20:59:29]MH_I2C_Read... [20:59:29]Read from MH i2c: E2 03 00 [20:59:29]MH_I2C_Read... [20:59:29]Read from MH i2c: E2 03 00 2D 05 00 90 00 A6 [20:59:29]RAPDU: 90 00 [20:59:29]wFMCommunicate OK [20:59:29]wFMCommunicate request_size=46 [20:59:29]MH_SAM_APDU [20:59:29]CAPDU: 80 0D 02 02 29 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 74 10 00 00 35 04 06 00 FA 3E 63 3A 84 41 [20:59:29]Write to MH i2c: E2 31 00 2E 05 80 0D 02 02 29 00 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 74 10 00 00 35 04 06 00 FA 3E 63 3A 84 41 00 00 5C [20:59:29]Write i2c OK [20:59:29]MH_I2C_Read... [20:59:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:59:29]Read from MH i2c: E2 [20:59:29]MH_I2C_Read... [20:59:29]Read from MH i2c: E2 03 00 [20:59:29]MH_I2C_Read... [20:59:29]Read from MH i2c: E2 03 00 2E 05 00 90 00 A7 [20:59:29]RAPDU: 90 00 [20:59:29]wFMCommunicate OK [20:59:29]wFMCommunicate request_size=4 [20:59:29]MH_SAM_APDU [20:59:29]CAPDU: 80 0D 03 02 [20:59:29]Write to MH i2c: E2 08 00 2F 05 80 0D 03 02 00 00 00 00 AF [20:59:29]Write i2c OK [20:59:29]MH_I2C_Read... [20:59:29]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:59:29]Read from MH i2c: E2 [20:59:29]MH_I2C_Read... [20:59:29]Read from MH i2c: E2 0B 00 [20:59:29]MH_I2C_Read... [20:59:29]Read from MH i2c: E2 0B 00 2F 05 00 EB B0 3A C7 62 39 14 8D 90 00 88 [20:59:29]RAPDU: EB B0 3A C7 62 39 14 8D 90 00 [20:59:29]wFMCommunicate OK [20:59:29]SAM_PROTO_SignData done [20:59:29]FM_MakeSignedData done [20:59:29]CreateOFDProtocolMessage [20:59:29]wFMCommunicate request_size=4 [20:59:29]MH_SAM_APDU [20:59:29]CAPDU: 80 11 00 00 [20:59:29]Write to MH i2c: E2 08 00 30 05 80 11 00 00 00 00 00 00 AF [20:59:29]Write i2c OK [20:59:29]MH_I2C_Read... [20:59:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:59:29]Read from MH i2c: E2 [20:59:29]MH_I2C_Read... [20:59:29]Read from MH i2c: E2 17 00 [20:59:29]MH_I2C_Read... [20:59:29]Read from MH i2c: E2 17 00 30 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 02 [20:59:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [20:59:29]wFMCommunicate OK [20:59:29]CreateOFDProtocolMessage done [20:59:29]OFDSenderStorePacket 4212 [20:59:29]StoreOFDPacket docnum=4212 [20:59:29]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 33 01 00 00 8B 4B 2B 01 5B BD 5A 03 01 00 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 34 36 30 30 36 38 32 30 33 34 33 31 35 06 04 2D 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 91 D0 B0 D0 BB D1 82 D0 B8 D0 BA D0 B0 20 37 20 D1 8D D0 BA D1 81 D0 BF 20 30 2C 35 D0 BB 20 D1 81 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 FA 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 46 00 00 00 F4 03 04 00 B1 D1 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 74 10 00 00 35 04 06 00 FA 3E 63 3A 84 41 EB B0 3A C7 62 39 14 8D [20:59:29]CheckFolder [20:59:29]dirname=/storage/ofd_packets [20:59:29]CheckFolder done [20:59:29]ProducePacketName [20:59:29]name=ofd_packets/00004212 [20:59:29]NVStorageSaveData ofd_packets/00004212 [20:59:29]File name is /storage/ofd_packets/00004212 [20:59:29]Write 337 bytes [20:59:29]NVStorageSaveData done [20:59:29]OFDSenderStorePacket done [20:59:29]KKMCreateOFDPacket done [20:59:29]NVStorageSaveData kkm_last_timestamp [20:59:29]File name is /storage/kkm_last_timestamp [20:59:29]Write 4 bytes [20:59:29]NVStorageSaveData done [20:59:29]ExternCall_PrintAddStr [20:59:29]wPrintStart [20:59:29]Write to MH i2c: 01 00 00 31 05 36 [20:59:29]Write i2c OK [20:59:29]MH_I2C_Read... [20:59:29]Read from MH i2c: 01 [20:59:29]MH_I2C_Read... [20:59:29]Read from MH i2c: 01 07 00 [20:59:29]MH_I2C_Read... [20:59:29]Read from MH i2c: 01 07 00 31 05 00 00 00 00 00 FF 0F 4B [20:59:29]RasterBufferAndPrint [20:59:29]line Счет N : (3)4465 [20:59:29]line ИНН: 02508201610067 [20:59:29]line Контрольно-Кассовый Чек [20:59:29]line ПРОДАЖА [20:59:29]line Товар: 4600682034315 [20:59:29]line Пиво Балтика 7 эксп 0,5л ст [20:59:29]line 1.000 * 120.00 [20:59:29]line = 120.00 [20:59:29]line НДС 12% НСП 1% [20:59:29]line > о реализуемом товаре [20:59:29]line ИТОГО: 120.00 [20:59:29]line НСП 1% : 1.06 [20:59:29]line НДС 12% : 12.74 [20:59:29]line Наличными: 120.00 [20:59:29]line Безнал.: 0.00 [20:59:29]line Место: АЗС № 116 "Партнер Нефть" [20:59:29]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [20:59:29]line СНО: Общий режим [20:59:29]line Чек 70 05.06.2024 20:59 [20:59:29]line Смена: 84 ФФД: 1.0 [20:59:29]line ЗНМ: 0300000233 [20:59:29]line РНМ: 0000000000145775 [20:59:29]line Версия ККМ: v1.0 [20:59:30]line ФМ: 0000000000959360 [20:59:30]line ФД: 4212 [20:59:30]line ФПД: 275145859695681 [20:59:30]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T205929&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4212&fm=275145859695681&tin=02508201610067®Number=0000000000145775&sum=12000 [20:59:30]line 0 [20:59:30]OFD Sender: Processing packet 4212 [packets to send 2, broken 1] [20:59:30]ProducePacketName [20:59:30]name=ofd_packets/00004212 [20:59:30]OFD Sender: To server: pG, [20:59:30]CommunicateWithHost lk.salyk.kg:30040 [20:59:30]ConnectInit lk.salyk.kg [20:59:30]written 0, free lines is 4095 [20:59:30]Connected sock=10 [20:59:30]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 33 01 00 00 8B 4B 2B 01 5B BD 5A 03 01 00 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 34 36 30 30 36 38 32 30 33 34 33 31 35 06 04 2D 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 91 D0 B0 D0 BB D1 82 D0 B8 D0 BA D0 B0 20 37 20 D1 8D D0 BA D1 81 D0 BF 20 30 2C 35 D0 BB 20 D1 81 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 FA 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 46 00 00 00 F4 03 04 00 B1 D1 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 74 10 00 00 35 04 06 00 FA 3E 63 3A 84 41 EB B0 3A C7 62 39 14 8D [20:59:30]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 57 DC 47 00 62 57 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 74 10 00 00 F4 03 04 00 B3 7D 60 66 B6 04 01 00 00 A3 DD 47 43 FA 37 36 50 [20:59:30]CommunicateWithHost err = 0 [20:59:30]CheckOFDResponse [20:59:30]1017 (14) - 77093643461234 [20:59:30]1041 (16) - 0000000000959360 [20:59:30]1040 (4) - 4212 [20:59:30]1012 (4) - 05.06.2024 15:01 [20:59:30]1206 (1) - 0 [20:59:30]OFD Sender: Remove packet 4212 [20:59:30]ProducePacketName [20:59:30]name=ofd_packets/00004212 [20:59:30]NVStorageDeleteData [20:59:30]Write to MH i2c: 01 00 00 59 05 5E [20:59:30]Write i2c OK [20:59:30]MH_I2C_Read... [20:59:30]Read from MH i2c: 01 [20:59:30]MH_I2C_Read... [20:59:30]Read from MH i2c: 01 07 00 [20:59:30]MH_I2C_Read... [20:59:30]Read from MH i2c: 01 07 00 59 05 00 00 00 00 00 BB 0C 2C [20:59:30]RasterBufferAndPrint [20:59:30]line [20:59:30]line [20:59:30]line [20:59:30]line [20:59:30]line [20:59:30]written 0, free lines is 3263 [20:59:30]MH_Cut [20:59:30]Write to MH i2c: D1 01 00 60 05 01 37 [20:59:30]Write i2c OK [20:59:30]MH_I2C_Read... [20:59:30]Read from MH i2c: D1 [20:59:30]MH_I2C_Read... [20:59:30]Read from MH i2c: D1 01 00 [20:59:30]MH_I2C_Read... [20:59:30]Read from MH i2c: D1 01 00 60 05 00 36 [20:59:30]Write to MH i2c: 01 00 00 61 05 66 [20:59:30]Write i2c OK [20:59:30]MH_I2C_Read... [20:59:30]OFD Sender: No OFD packet to send [20:59:31]*** Cut start [20:59:31]*** Partial cut [20:59:31]*** CUTSNS_PIN = 1 [20:59:31]*** CUTSNS_PIN = 0 [20:59:31]*** Brake cut motor [20:59:32]Read from MH i2c: 01 [20:59:32]MH_I2C_Read... [20:59:32]*** Stop cut motor [20:59:32]*** Cut end [20:59:32]Read from MH i2c: 01 07 00 [20:59:32]MH_I2C_Read... [20:59:32]Read from MH i2c: 01 07 00 61 05 00 00 00 00 00 FF 0F 7B [20:59:32]process_action close_receipt done [20:59:32]requested_data is exist [20:59:32]produce_requested_data [20:59:32]requested_item fm.sn is exist - process it [20:59:32]wFMCommunicate request_size=4 [20:59:32]MH_SAM_APDU [20:59:32]CAPDU: 80 11 00 00 [20:59:32]Write to MH i2c: E2 08 00 62 05 80 11 00 00 00 00 00 00 E1 [20:59:32]Write i2c OK [20:59:32]MH_I2C_Read... [20:59:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:59:32]Read from MH i2c: E2 [20:59:32]MH_I2C_Read... [20:59:32]Read from MH i2c: E2 17 00 [20:59:32]MH_I2C_Read... [20:59:32]Read from MH i2c: E2 17 00 62 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 34 [20:59:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [20:59:32]wFMCommunicate OK [20:59:32]requested_item fd.num is exist - process it [20:59:32]SAM_PROTO_GetFieldsCounters [20:59:32]wFMCommunicate request_size=4 [20:59:32]MH_SAM_APDU [20:59:32]CAPDU: 80 13 00 00 [20:59:32]Write to MH i2c: E2 08 00 63 05 80 13 00 00 00 00 00 00 E4 [20:59:32]Write i2c OK [20:59:32]MH_I2C_Read... [20:59:32]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:59:32]Read from MH i2c: E2 [20:59:32]MH_I2C_Read... [20:59:32]Read from MH i2c: E2 62 00 [20:59:32]MH_I2C_Read... [20:59:32]Read from MH i2c: E2 62 00 63 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 74 10 00 00 0E 04 04 00 54 00 00 00 12 04 04 00 46 00 00 00 5E 04 04 00 46 00 00 00 57 04 04 00 47 00 00 00 19 04 04 00 00 00 00 00 90 00 B3 [20:59:32]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 74 10 00 00 0E 04 04 00 54 00 00 00 12 04 04 00 46 00 00 00 5E 04 04 00 46 00 00 00 57 04 04 00 47 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:59:32]wFMCommunicate OK [20:59:32]SAM_PROTO_GetFieldsCounters done [20:59:32]requested_item shift.num is exist - process it [20:59:32]requested_item shift.opened is exist - process it [20:59:32]req_shift_opened [20:59:32]FM_GetShiftState [20:59:32]SAM_PROTO_GetShiftState [20:59:32]wFMCommunicate request_size=4 [20:59:32]MH_SAM_APDU [20:59:32]CAPDU: 80 13 01 00 [20:59:32]Write to MH i2c: E2 08 00 64 05 80 13 01 00 00 00 00 00 E6 [20:59:32]Write i2c OK [20:59:32]MH_I2C_Read... [20:59:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:59:32]Read from MH i2c: E2 [20:59:32]MH_I2C_Read... [20:59:32]Read from MH i2c: E2 0E 00 [20:59:32]MH_I2C_Read... [20:59:32]Read from MH i2c: E2 0E 00 64 05 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 87 [20:59:32]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [20:59:32]wFMCommunicate OK [20:59:32]SAM_PROTO_GetShiftState done [20:59:32]FM_GetShiftState done [20:59:32]req_shift_opened done [20:59:32]requested_item shift.open_date is exist - process it [20:59:32]req_shift_open_date [20:59:32]req_shift_open_date done [20:59:32]produce_requested_data done [20:59:32]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4212,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765} [20:59:32]process_action_free close_receipt [20:59:32]json_value_free [20:59:32]json_value_free done [20:59:32]process_json_proto returns [20:59:32]Send response to host [20:59:32]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4212,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765}}} [20:59:32]free response buf [20:59:32]execute_script done [20:59:32]execute_script returns [20:59:32]free content buf [20:59:32]Sock 9.Close socket [20:59:32]Sock 9.Thread stoped [20:59:35]OFD Sender: No OFD packet to send [20:59:40]OFD Sender: No OFD packet to send [20:59:45]OFD Sender: No OFD packet to send [20:59:50]OFD Sender: No OFD packet to send [20:59:55]OFD Sender: No OFD packet to send [21:00:00]OFD Sender: No OFD packet to send [21:00:05]OFD Sender: No OFD packet to send [21:00:10]OFD Sender: No OFD packet to send [21:00:15]OFD Sender: No OFD packet to send [21:00:20]OFD Sender: No OFD packet to send [21:00:25]OFD Sender: No OFD packet to send [21:00:30]OFD Sender: No OFD packet to send [21:00:35]OFD Sender: No OFD packet to send [21:00:40]OFD Sender: No OFD packet to send [21:00:45]OFD Sender: No OFD packet to send [21:00:50]OFD Sender: No OFD packet to send [21:00:55]OFD Sender: No OFD packet to send [21:01:00]OFD Sender: No OFD packet to send [21:01:05]OFD Sender: No OFD packet to send [21:01:10]OFD Sender: No OFD packet to send [21:01:15]OFD Sender: No OFD packet to send [21:01:20]OFD Sender: No OFD packet to send [21:01:25]OFD Sender: No OFD packet to send [21:01:30]OFD Sender: No OFD packet to send [21:01:35]OFD Sender: No OFD packet to send [21:01:40]OFD Sender: No OFD packet to send [21:01:45]OFD Sender: No OFD packet to send [21:01:50]OFD Sender: No OFD packet to send [21:01:55]OFD Sender: No OFD packet to send [21:02:00]OFD Sender: No OFD packet to send [21:02:05]OFD Sender: No OFD packet to send [21:02:10]OFD Sender: No OFD packet to send [21:02:15]OFD Sender: No OFD packet to send [21:02:20]OFD Sender: No OFD packet to send [21:02:25]OFD Sender: No OFD packet to send [21:02:30]OFD Sender: No OFD packet to send [21:02:35]OFD Sender: No OFD packet to send [21:02:40]OFD Sender: No OFD packet to send [21:02:45]OFD Sender: No OFD packet to send [21:02:50]OFD Sender: No OFD packet to send [21:02:55]OFD Sender: No OFD packet to send [21:03:00]OFD Sender: No OFD packet to send [21:03:05]OFD Sender: No OFD packet to send [21:03:10]OFD Sender: No OFD packet to send [21:03:15]OFD Sender: No OFD packet to send [21:03:20]OFD Sender: No OFD packet to send [21:03:25]OFD Sender: No OFD packet to send [21:03:30]OFD Sender: No OFD packet to send [21:03:35]OFD Sender: No OFD packet to send [21:03:41]OFD Sender: No OFD packet to send [21:03:46]OFD Sender: No OFD packet to send [21:03:51]OFD Sender: No OFD packet to send [21:03:56]OFD Sender: No OFD packet to send [21:04:01]OFD Sender: No OFD packet to send [21:04:06]OFD Sender: No OFD packet to send [21:04:11]OFD Sender: No OFD packet to send [21:04:16]OFD Sender: No OFD packet to send [21:04:21]OFD Sender: No OFD packet to send [21:04:26]OFD Sender: No OFD packet to send [21:04:31]OFD Sender: No OFD packet to send [21:04:36]OFD Sender: No OFD packet to send [21:04:41]OFD Sender: No OFD packet to send [21:04:46]OFD Sender: No OFD packet to send [21:04:51]OFD Sender: No OFD packet to send [21:04:56]OFD Sender: No OFD packet to send [21:05:01]OFD Sender: No OFD packet to send [21:05:06]OFD Sender: No OFD packet to send [21:05:11]OFD Sender: No OFD packet to send [21:05:16]OFD Sender: No OFD packet to send [21:05:21]OFD Sender: No OFD packet to send [21:05:26]OFD Sender: No OFD packet to send [21:05:31]OFD Sender: No OFD packet to send [21:05:36]OFD Sender: No OFD packet to send [21:05:41]OFD Sender: No OFD packet to send [21:05:46]OFD Sender: No OFD packet to send [21:05:51]OFD Sender: No OFD packet to send [21:05:56]OFD Sender: No OFD packet to send [21:06:01]OFD Sender: No OFD packet to send [21:06:06]OFD Sender: No OFD packet to send [21:06:11]OFD Sender: No OFD packet to send [21:06:16]OFD Sender: No OFD packet to send [21:06:21]OFD Sender: No OFD packet to send [21:06:26]OFD Sender: No OFD packet to send [21:06:31]OFD Sender: No OFD packet to send [21:06:36]OFD Sender: No OFD packet to send [21:06:41]OFD Sender: No OFD packet to send [21:06:46]OFD Sender: No OFD packet to send [21:06:51]OFD Sender: No OFD packet to send [21:06:56]OFD Sender: No OFD packet to send [21:07:01]OFD Sender: No OFD packet to send [21:07:06]OFD Sender: No OFD packet to send [21:07:11]OFD Sender: No OFD packet to send [21:07:16]OFD Sender: No OFD packet to send [21:07:21]OFD Sender: No OFD packet to send [21:07:26]OFD Sender: No OFD packet to send [21:07:31]OFD Sender: No OFD packet to send [21:07:36]OFD Sender: No OFD packet to send [21:07:41]OFD Sender: No OFD packet to send [21:07:46]OFD Sender: No OFD packet to send [21:07:51]OFD Sender: No OFD packet to send [21:07:56]OFD Sender: No OFD packet to send [21:08:01]OFD Sender: No OFD packet to send [21:08:06]OFD Sender: No OFD packet to send [21:08:11]OFD Sender: No OFD packet to send [21:08:16]OFD Sender: No OFD packet to send [21:08:21]OFD Sender: No OFD packet to send [21:08:26]OFD Sender: No OFD packet to send [21:08:31]OFD Sender: No OFD packet to send [21:08:36]OFD Sender: No OFD packet to send [21:08:41]OFD Sender: No OFD packet to send [21:08:46]OFD Sender: No OFD packet to send [21:08:51]OFD Sender: No OFD packet to send [21:08:56]OFD Sender: No OFD packet to send [21:09:01]OFD Sender: No OFD packet to send [21:09:06]OFD Sender: No OFD packet to send [21:09:11]OFD Sender: No OFD packet to send [21:09:16]OFD Sender: No OFD packet to send [21:09:21]OFD Sender: No OFD packet to send [21:09:26]OFD Sender: No OFD packet to send [21:09:31]OFD Sender: No OFD packet to send [21:09:36]OFD Sender: No OFD packet to send [21:09:40]accept exits with 8 [21:09:40]New connection [21:09:40]New thread 3066772836 created [21:09:40]Thread 3066629476 joined [21:09:40]Waiting for new connection... [21:09:40] Sock 8.Parse request [21:09:40]Sock 8.Check first char [21:09:40]Sock 8.First char is OK [21:09:40]request: POST /json_proto HTTP/1.0 [21:09:40]Method: POST [21:09:40]URL: /json_proto [21:09:40]Method is POST - this is cgi request [21:09:40]url: /json_proto [21:09:40]query_string will be loaded in cgi processing [21:09:40]execute_cgi json_proto POST (null) [21:09:40]execute_cgi path=json_proto method=POST [21:09:40]POST find Content-Length [21:09:40]Host: 172.17.56.68:8080 [21:09:40]Content-Length: 657 [21:09:40]Content-Type: application/json [21:09:40] [21:09:40]POST finish read [21:09:40]Found Content-Length = 657 [21:09:40]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4466", "tax_sys" : 0, "items" : [ { "code": "4700041420152", "name": "\u0421\u0430\u043B\u0444\u0435\u0442\u043A\u0438 \u0432\u043B\u0430\u0436\u043D BEST GOLD 20\u0448\u0442", "price" : 51.00, "quantity" : 1.000, "sum" : 51.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 51.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:09:40]execute_script... [21:09:40]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4466", "tax_sys" : 0, "items" : [ { "code": "4700041420152", "name": "\u0421\u0430\u043B\u0444\u0435\u0442\u043A\u0438 \u0432\u043B\u0430\u0436\u043D BEST GOLD 20\u0448\u0442", "price" : 51.00, "quantity" : 1.000, "sum" : 51.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 51.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:09:40]POST & json_proto [21:09:40]process_json_proto [21:09:40]json parsed OK: [21:09:40]protocol is kg_v1.0 [21:09:40]action value=close_receipt [21:09:40]process_action close_receipt [21:09:40]cmd_close_receipt [21:09:40]MH_GetDate [21:09:40]Write to MH i2c: F0 00 00 65 05 59 [21:09:40]Write i2c OK [21:09:40]MH_I2C_Read... [21:09:40]Read from MH i2c: F0 [21:09:40]MH_I2C_Read... [21:09:40]Read from MH i2c: F0 09 00 [21:09:40]MH_I2C_Read... [21:09:40]Read from MH i2c: F0 09 00 65 05 00 16 D4 60 66 3A 8F 60 66 A1 [21:09:40]GetLastDocTimeStamp 1717621169 [21:09:40]current date 1717621782 [21:09:40]FM_GetShiftState [21:09:40]SAM_PROTO_GetShiftState [21:09:40]wFMCommunicate request_size=4 [21:09:40]MH_SAM_APDU [21:09:40]CAPDU: 80 13 01 00 [21:09:40]Write to MH i2c: E2 08 00 66 05 80 13 01 00 00 00 00 00 E8 [21:09:40]Write i2c OK [21:09:40]MH_I2C_Read... [21:09:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:09:40]Read from MH i2c: E2 [21:09:40]MH_I2C_Read... [21:09:40]Read from MH i2c: E2 0E 00 [21:09:40]MH_I2C_Read... [21:09:40]Read from MH i2c: E2 0E 00 66 05 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 89 [21:09:40]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [21:09:40]wFMCommunicate OK [21:09:40]SAM_PROTO_GetShiftState done [21:09:40]FM_GetShiftState done [21:09:40]opened in 1717545765 [21:09:40]opened+sec_in_day 1717632165 [21:09:40]quantity*price = 5100 [21:09:40]sum+1 = 5101 [21:09:40]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 51.00 НСП 1% : 0.45 НДС 12% : 5.42 Наличными: 51.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 71 05.06.2024 21:09 Смена: 84 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4213 ФПД: 232635498612575 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T210942&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4213&fm=232635498612575&tin=02508201610067®Number=0000000000145775&sum=5100 0 [21:09:42]StoreToDocumentArchive [21:09:42]shift 84 fd 4213 [21:09:42]save to /storage/0084/doc_00004213 [21:09:42]save last doc name /storage/0084/doc_00004213 to /storage/kkm_last_doc_name [21:09:42]save OK [21:09:42]Clear old archive folders... [21:09:42]ProcessDocumentItem done err = 0, tmpTLVsize=286 [21:09:42]tlvbuf is 019B5350 [21:09:42]SAM_PROTO_ClearQueue [21:09:42]wFMCommunicate request_size=4 [21:09:42]MH_SAM_APDU [21:09:42]CAPDU: 80 09 00 00 [21:09:42]Write to MH i2c: E2 08 00 73 05 80 09 00 00 00 00 00 00 EA [21:09:42]Write i2c OK [21:09:42]MH_I2C_Read... [21:09:42]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:09:42]Read from MH i2c: E2 [21:09:42]MH_I2C_Read... [21:09:42]Read from MH i2c: E2 03 00 [21:09:42]MH_I2C_Read... [21:09:42]Read from MH i2c: E2 03 00 73 05 00 90 00 EC [21:09:42]RAPDU: 90 00 [21:09:42]wFMCommunicate OK [21:09:42]SAM_PROTO_ClearQueue done [21:09:42]KKMCreateOFDPacket [21:09:42]OFDProtocolAddRootSTLVToBuf [21:09:42]FM_MakeSignedData [21:09:42]FM_MakeSignedData [21:09:42]SAM_PROTO_SignData [21:09:42]wFMCommunicate request_size=4 [21:09:42]MH_SAM_APDU [21:09:42]CAPDU: 80 0D 01 02 [21:09:42]Write to MH i2c: E2 08 00 74 05 80 0D 01 02 00 00 00 00 F2 [21:09:42]Write i2c OK [21:09:42]MH_I2C_Read... [21:09:42]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:09:42]Read from MH i2c: E2 [21:09:42]MH_I2C_Read... [21:09:42]Read from MH i2c: E2 03 00 [21:09:42]MH_I2C_Read... [21:09:42]Read from MH i2c: E2 03 00 74 05 00 90 00 ED [21:09:42]RAPDU: 90 00 [21:09:42]wFMCommunicate OK [21:09:42]wFMCommunicate request_size=255 [21:09:42]MH_SAM_APDU [21:09:42]CAPDU: 80 0D 02 02 FA 03 00 1E 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 34 37 30 30 30 34 31 34 32 30 31 35 32 06 04 2C 00 D0 A1 D0 B0 D0 BB D1 84 D0 B5 D1 82 D0 BA D0 B8 20 D0 B2 D0 BB D0 B0 D0 B6 D0 BD 20 42 45 53 54 20 47 4F 4C 44 20 32 30 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 13 00 00 00 00 13 04 06 00 EC 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1E 02 00 00 00 00 07 04 06 00 EC 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 47 00 00 00 F4 03 04 00 16 D4 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 [21:09:42]Write to MH i2c: E2 02 01 75 05 80 0D 02 02 FA 00 03 00 1E 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 34 37 30 30 30 34 31 34 32 30 31 35 32 06 04 2C 00 D0 A1 D0 B0 D0 BB D1 84 D0 B5 D1 82 D0 BA D0 B8 20 D0 B2 D0 BB D0 B0 D0 B6 D0 BD 20 42 45 53 54 20 47 4F 4C 44 20 32 30 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 13 00 00 00 00 13 04 06 00 EC 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1E 02 00 00 00 00 07 04 06 00 EC 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 47 00 00 00 F4 03 04 00 16 D4 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 00 00 3E [21:09:42]Write i2c OK [21:09:42]MH_I2C_Read... [21:09:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:09:42]Read from MH i2c: E2 [21:09:42]MH_I2C_Read... [21:09:42]Read from MH i2c: E2 03 00 [21:09:42]MH_I2C_Read... [21:09:42]Read from MH i2c: E2 03 00 75 05 00 90 00 EE [21:09:42]RAPDU: 90 00 [21:09:42]wFMCommunicate OK [21:09:42]wFMCommunicate request_size=45 [21:09:42]MH_SAM_APDU [21:09:42]CAPDU: 80 0D 02 02 28 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 75 10 00 00 35 04 06 00 D3 94 AC 41 C7 5F [21:09:42]Write to MH i2c: E2 30 00 76 05 80 0D 02 02 28 00 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 75 10 00 00 35 04 06 00 D3 94 AC 41 C7 5F 00 00 4C [21:09:42]Write i2c OK [21:09:42]MH_I2C_Read... [21:09:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:09:42]Read from MH i2c: E2 [21:09:42]MH_I2C_Read... [21:09:42]Read from MH i2c: E2 03 00 [21:09:42]MH_I2C_Read... [21:09:42]Read from MH i2c: E2 03 00 76 05 00 90 00 EF [21:09:42]RAPDU: 90 00 [21:09:42]wFMCommunicate OK [21:09:42]wFMCommunicate request_size=4 [21:09:42]MH_SAM_APDU [21:09:42]CAPDU: 80 0D 03 02 [21:09:42]Write to MH i2c: E2 08 00 77 05 80 0D 03 02 00 00 00 00 F7 [21:09:42]Write i2c OK [21:09:42]MH_I2C_Read... [21:09:42]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:09:42]Read from MH i2c: E2 [21:09:42]MH_I2C_Read... [21:09:42]Read from MH i2c: E2 0B 00 [21:09:42]MH_I2C_Read... [21:09:42]Read from MH i2c: E2 0B 00 77 05 00 3A 02 67 01 20 BC 99 D2 90 00 E3 [21:09:42]RAPDU: 3A 02 67 01 20 BC 99 D2 90 00 [21:09:42]wFMCommunicate OK [21:09:42]SAM_PROTO_SignData done [21:09:42]FM_MakeSignedData done [21:09:42]CreateOFDProtocolMessage [21:09:42]wFMCommunicate request_size=4 [21:09:42]MH_SAM_APDU [21:09:42]CAPDU: 80 11 00 00 [21:09:42]Write to MH i2c: E2 08 00 78 05 80 11 00 00 00 00 00 00 F7 [21:09:42]Write i2c OK [21:09:42]MH_I2C_Read... [21:09:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:09:42]Read from MH i2c: E2 [21:09:42]MH_I2C_Read... [21:09:42]Read from MH i2c: E2 17 00 [21:09:42]MH_I2C_Read... [21:09:42]Read from MH i2c: E2 17 00 78 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 4A [21:09:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [21:09:42]wFMCommunicate OK [21:09:42]CreateOFDProtocolMessage done [21:09:42]OFDSenderStorePacket 4213 [21:09:42]StoreOFDPacket docnum=4213 [21:09:42]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 32 01 00 00 F2 A9 2A 01 DA 8D 5A 03 01 00 03 00 1E 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 34 37 30 30 30 34 31 34 32 30 31 35 32 06 04 2C 00 D0 A1 D0 B0 D0 BB D1 84 D0 B5 D1 82 D0 BA D0 B8 20 D0 B2 D0 BB D0 B0 D0 B6 D0 BD 20 42 45 53 54 20 47 4F 4C 44 20 32 30 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 13 00 00 00 00 13 04 06 00 EC 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1E 02 00 00 00 00 07 04 06 00 EC 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 47 00 00 00 F4 03 04 00 16 D4 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 75 10 00 00 35 04 06 00 D3 94 AC 41 C7 5F 3A 02 67 01 20 BC 99 D2 [21:09:42]CheckFolder [21:09:42]dirname=/storage/ofd_packets [21:09:42]CheckFolder done [21:09:42]ProducePacketName [21:09:42]name=ofd_packets/00004213 [21:09:42]NVStorageSaveData ofd_packets/00004213 [21:09:42]File name is /storage/ofd_packets/00004213 [21:09:42]Write 336 bytes [21:09:42]NVStorageSaveData done [21:09:42]OFDSenderStorePacket done [21:09:42]KKMCreateOFDPacket done [21:09:42]NVStorageSaveData kkm_last_timestamp [21:09:42]File name is /storage/kkm_last_timestamp [21:09:42]Write 4 bytes [21:09:42]NVStorageSaveData done [21:09:42]ExternCall_PrintAddStr [21:09:42]wPrintStart [21:09:42]Write to MH i2c: 01 00 00 79 05 7E [21:09:42]Write i2c OK [21:09:42]MH_I2C_Read... [21:09:42]Read from MH i2c: 01 [21:09:42]MH_I2C_Read... [21:09:42]Read from MH i2c: 01 07 00 [21:09:42]MH_I2C_Read... [21:09:42]Read from MH i2c: 01 07 00 79 05 00 00 00 00 00 FF 0F 93 [21:09:42]RasterBufferAndPrint [21:09:42]line Счет N : (3)4466 [21:09:42]line ИНН: 02508201610067 [21:09:42]line Контрольно-Кассовый Чек [21:09:42]line ПРОДАЖА [21:09:42]line Товар: 4700041420152 [21:09:42]line Салфетки влажн BEST GOLD 20шт [21:09:42]line 1.000 * 51.00 [21:09:42]line = 51.00 [21:09:42]line НДС 12% НСП 1% [21:09:42]line > о реализуемом товаре [21:09:42]line ИТОГО: 51.00 [21:09:42]line НСП 1% : 0.45 [21:09:42]line НДС 12% : 5.42 [21:09:42]line Наличными: 51.00 [21:09:42]line Безнал.: 0.00 [21:09:42]line Место: АЗС № 116 "Партнер Нефть" [21:09:42]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [21:09:42]line СНО: Общий режим [21:09:42]line Чек 71 05.06.2024 21:09 [21:09:42]line Смена: 84 ФФД: 1.0 [21:09:42]line ЗНМ: 0300000233 [21:09:42]line РНМ: 0000000000145775 [21:09:42]line Версия ККМ: v1.0 [21:09:42]line ФМ: 0000000000959360 [21:09:42]line ФД: 4213 [21:09:42]line ФПД: 232635498612575 [21:09:42]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T210942&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4213&fm=232635498612575&tin=02508201610067®Number=0000000000145775&sum=5100 [21:09:42]line 0 [21:09:42]OFD Sender: Processing packet 4213 [packets to send 2, broken 1] [21:09:42]ProducePacketName [21:09:42]name=ofd_packets/00004213 [21:09:42]OFD Sender: To server: pG, [21:09:42]CommunicateWithHost lk.salyk.kg:30040 [21:09:42]ConnectInit lk.salyk.kg [21:09:42]written 0, free lines is 4095 [21:09:43]Connected sock=10 [21:09:43]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 32 01 00 00 F2 A9 2A 01 DA 8D 5A 03 01 00 03 00 1E 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 34 37 30 30 30 34 31 34 32 30 31 35 32 06 04 2C 00 D0 A1 D0 B0 D0 BB D1 84 D0 B5 D1 82 D0 BA D0 B8 20 D0 B2 D0 BB D0 B0 D0 B6 D0 BD 20 42 45 53 54 20 47 4F 4C 44 20 32 30 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 13 00 00 00 00 13 04 06 00 EC 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1E 02 00 00 00 00 07 04 06 00 EC 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 47 00 00 00 F4 03 04 00 16 D4 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 75 10 00 00 35 04 06 00 D3 94 AC 41 C7 5F 3A 02 67 01 20 BC 99 D2 [21:09:43]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 41 65 47 00 96 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 39 35 39 33 36 30 10 04 04 00 75 10 00 00 F4 03 04 00 18 80 60 66 B6 04 01 00 00 A5 8F A2 35 60 AF C5 CA [21:09:43]CommunicateWithHost err = 0 [21:09:43]CheckOFDResponse [21:09:43]1017 (14) - 77093643461234 [21:09:43]1041 (16) - 0000000000959360 [21:09:43]1040 (4) - 4213 [21:09:43]1012 (4) - 05.06.2024 15:11 [21:09:43]1206 (1) - 0 [21:09:43]OFD Sender: Remove packet 4213 [21:09:43]ProducePacketName [21:09:43]name=ofd_packets/00004213 [21:09:43]NVStorageDeleteData [21:09:43]Write to MH i2c: 01 00 00 A2 05 A7 [21:09:43]Write i2c OK [21:09:43]MH_I2C_Read... [21:09:43]Read from MH i2c: 01 [21:09:43]MH_I2C_Read... [21:09:43]Read from MH i2c: 01 07 00 [21:09:43]MH_I2C_Read... [21:09:43]Read from MH i2c: 01 07 00 A2 05 00 00 00 00 00 AE 0C 68 [21:09:43]RasterBufferAndPrint [21:09:43]line [21:09:43]line [21:09:43]line [21:09:43]line [21:09:43]line [21:09:43]written 0, free lines is 3250 [21:09:43]MH_Cut [21:09:43]Write to MH i2c: D1 01 00 A9 05 01 80 [21:09:43]Write i2c OK [21:09:43]MH_I2C_Read... [21:09:43]Read from MH i2c: D1 [21:09:43]MH_I2C_Read... [21:09:43]Read from MH i2c: D1 01 00 [21:09:43]MH_I2C_Read... [21:09:43]Read from MH i2c: D1 01 00 A9 05 00 7F [21:09:43]Write to MH i2c: 01 00 00 AA 05 AF [21:09:43]Write i2c OK [21:09:43]MH_I2C_Read... [21:09:43]OFD Sender: No OFD packet to send [21:09:44]*** Cut start [21:09:44]*** Partial cut [21:09:44]*** CUTSNS_PIN = 1 [21:09:44]*** CUTSNS_PIN = 0 [21:09:44]*** Brake cut motor [21:09:44]Read from MH i2c: 01 [21:09:44]MH_I2C_Read... [21:09:44]*** Stop cut motor [21:09:44]*** Cut end [21:09:44]Read from MH i2c: 01 07 00 [21:09:44]MH_I2C_Read... [21:09:44]Read from MH i2c: 01 07 00 AA 05 00 00 00 00 00 FF 0F C4 [21:09:44]process_action close_receipt done [21:09:44]requested_data is exist [21:09:44]produce_requested_data [21:09:44]requested_item fm.sn is exist - process it [21:09:44]wFMCommunicate request_size=4 [21:09:44]MH_SAM_APDU [21:09:44]CAPDU: 80 11 00 00 [21:09:44]Write to MH i2c: E2 08 00 AB 05 80 11 00 00 00 00 00 00 2A [21:09:44]Write i2c OK [21:09:44]MH_I2C_Read... [21:09:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:09:45]Read from MH i2c: E2 [21:09:45]MH_I2C_Read... [21:09:45]Read from MH i2c: E2 17 00 [21:09:45]MH_I2C_Read... [21:09:45]Read from MH i2c: E2 17 00 AB 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 7D [21:09:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [21:09:45]wFMCommunicate OK [21:09:45]requested_item fd.num is exist - process it [21:09:45]SAM_PROTO_GetFieldsCounters [21:09:45]wFMCommunicate request_size=4 [21:09:45]MH_SAM_APDU [21:09:45]CAPDU: 80 13 00 00 [21:09:45]Write to MH i2c: E2 08 00 AC 05 80 13 00 00 00 00 00 00 2D [21:09:45]Write i2c OK [21:09:45]MH_I2C_Read... [21:09:45]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:09:45]Read from MH i2c: E2 [21:09:45]MH_I2C_Read... [21:09:45]Read from MH i2c: E2 62 00 [21:09:45]MH_I2C_Read... [21:09:45]Read from MH i2c: E2 62 00 AC 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 75 10 00 00 0E 04 04 00 54 00 00 00 12 04 04 00 47 00 00 00 5E 04 04 00 47 00 00 00 57 04 04 00 48 00 00 00 19 04 04 00 00 00 00 00 90 00 00 [21:09:45]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 75 10 00 00 0E 04 04 00 54 00 00 00 12 04 04 00 47 00 00 00 5E 04 04 00 47 00 00 00 57 04 04 00 48 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:09:45]wFMCommunicate OK [21:09:45]SAM_PROTO_GetFieldsCounters done [21:09:45]requested_item shift.num is exist - process it [21:09:45]requested_item shift.opened is exist - process it [21:09:45]req_shift_opened [21:09:45]FM_GetShiftState [21:09:45]SAM_PROTO_GetShiftState [21:09:45]wFMCommunicate request_size=4 [21:09:45]MH_SAM_APDU [21:09:45]CAPDU: 80 13 01 00 [21:09:45]Write to MH i2c: E2 08 00 AD 05 80 13 01 00 00 00 00 00 2F [21:09:45]Write i2c OK [21:09:45]MH_I2C_Read... [21:09:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:09:45]Read from MH i2c: E2 [21:09:45]MH_I2C_Read... [21:09:45]Read from MH i2c: E2 0E 00 [21:09:45]MH_I2C_Read... [21:09:45]Read from MH i2c: E2 0E 00 AD 05 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 D0 [21:09:45]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [21:09:45]wFMCommunicate OK [21:09:45]SAM_PROTO_GetShiftState done [21:09:45]FM_GetShiftState done [21:09:45]req_shift_opened done [21:09:45]requested_item shift.open_date is exist - process it [21:09:45]req_shift_open_date [21:09:45]req_shift_open_date done [21:09:45]produce_requested_data done [21:09:45]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4213,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765} [21:09:45]process_action_free close_receipt [21:09:45]json_value_free [21:09:45]json_value_free done [21:09:45]process_json_proto returns [21:09:45]Send response to host [21:09:45]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4213,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765}}} [21:09:45]free response buf [21:09:45]execute_script done [21:09:45]execute_script returns [21:09:45]free content buf [21:09:45]Sock 8.Close socket [21:09:45]Sock 8.Thread stoped [21:09:48]OFD Sender: No OFD packet to send [21:09:53]OFD Sender: No OFD packet to send [21:09:58]OFD Sender: No OFD packet to send [21:10:03]OFD Sender: No OFD packet to send [21:10:08]OFD Sender: No OFD packet to send [21:10:13]OFD Sender: No OFD packet to send [21:10:18]OFD Sender: No OFD packet to send [21:10:23]OFD Sender: No OFD packet to send [21:10:28]OFD Sender: No OFD packet to send [21:10:33]OFD Sender: No OFD packet to send [21:10:38]OFD Sender: No OFD packet to send [21:10:43]OFD Sender: No OFD packet to send [21:10:48]OFD Sender: No OFD packet to send [21:10:53]OFD Sender: No OFD packet to send [21:10:58]OFD Sender: No OFD packet to send [21:11:03]OFD Sender: No OFD packet to send [21:11:08]OFD Sender: No OFD packet to send [21:11:13]OFD Sender: No OFD packet to send [21:11:18]OFD Sender: No OFD packet to send [21:11:23]OFD Sender: No OFD packet to send [21:11:28]OFD Sender: No OFD packet to send [21:11:33]OFD Sender: No OFD packet to send [21:11:38]OFD Sender: No OFD packet to send [21:11:43]OFD Sender: No OFD packet to send [21:11:48]OFD Sender: No OFD packet to send [21:11:53]OFD Sender: No OFD packet to send [21:11:58]OFD Sender: No OFD packet to send [21:12:03]OFD Sender: No OFD packet to send [21:12:08]OFD Sender: No OFD packet to send [21:12:13]OFD Sender: No OFD packet to send [21:12:18]OFD Sender: No OFD packet to send [21:12:23]OFD Sender: No OFD packet to send [21:12:28]OFD Sender: No OFD packet to send [21:12:33]OFD Sender: No OFD packet to send [21:12:38]OFD Sender: No OFD packet to send [21:12:43]OFD Sender: No OFD packet to send [21:12:48]OFD Sender: No OFD packet to send [21:12:53]OFD Sender: No OFD packet to send [21:12:58]OFD Sender: No OFD packet to send [21:13:03]OFD Sender: No OFD packet to send [21:13:08]OFD Sender: No OFD packet to send [21:13:13]OFD Sender: No OFD packet to send [21:13:18]OFD Sender: No OFD packet to send [21:13:23]OFD Sender: No OFD packet to send [21:13:28]OFD Sender: No OFD packet to send [21:13:33]OFD Sender: No OFD packet to send [21:13:38]OFD Sender: No OFD packet to send [21:13:43]OFD Sender: No OFD packet to send [21:13:48]OFD Sender: No OFD packet to send [21:13:53]OFD Sender: No OFD packet to send [21:13:58]OFD Sender: No OFD packet to send [21:14:03]OFD Sender: No OFD packet to send [21:14:08]OFD Sender: No OFD packet to send [21:14:13]OFD Sender: No OFD packet to send [21:14:18]OFD Sender: No OFD packet to send [21:14:23]OFD Sender: No OFD packet to send [21:14:28]OFD Sender: No OFD packet to send [21:14:33]OFD Sender: No OFD packet to send [21:14:38]OFD Sender: No OFD packet to send [21:14:43]OFD Sender: No OFD packet to send [21:14:48]OFD Sender: No OFD packet to send [21:14:53]OFD Sender: No OFD packet to send [21:14:58]OFD Sender: No OFD packet to send [21:15:03]OFD Sender: No OFD packet to send [21:15:09]OFD Sender: No OFD packet to send [21:15:14]OFD Sender: No OFD packet to send [21:15:19]OFD Sender: No OFD packet to send [21:15:24]OFD Sender: No OFD packet to send [21:15:29]OFD Sender: No OFD packet to send [21:15:34]OFD Sender: No OFD packet to send [21:15:39]OFD Sender: No OFD packet to send [21:15:44]OFD Sender: No OFD packet to send [21:15:49]OFD Sender: No OFD packet to send [21:15:54]OFD Sender: No OFD packet to send [21:15:59]OFD Sender: No OFD packet to send [21:16:04]OFD Sender: No OFD packet to send [21:16:09]OFD Sender: No OFD packet to send [21:16:14]OFD Sender: No OFD packet to send [21:16:19]OFD Sender: No OFD packet to send [21:16:24]OFD Sender: No OFD packet to send [21:16:29]OFD Sender: No OFD packet to send [21:16:34]OFD Sender: No OFD packet to send [21:16:39]OFD Sender: No OFD packet to send [21:16:44]OFD Sender: No OFD packet to send [21:16:49]OFD Sender: No OFD packet to send [21:16:54]OFD Sender: No OFD packet to send [21:16:59]OFD Sender: No OFD packet to send [21:17:04]OFD Sender: No OFD packet to send [21:17:09]OFD Sender: No OFD packet to send [21:17:14]OFD Sender: No OFD packet to send [21:17:19]OFD Sender: No OFD packet to send [21:17:24]OFD Sender: No OFD packet to send [21:17:29]OFD Sender: No OFD packet to send [21:17:34]OFD Sender: No OFD packet to send [21:17:39]OFD Sender: No OFD packet to send [21:17:44]OFD Sender: No OFD packet to send [21:17:49]OFD Sender: No OFD packet to send [21:17:54]OFD Sender: No OFD packet to send [21:17:59]OFD Sender: No OFD packet to send [21:18:04]OFD Sender: No OFD packet to send [21:18:09]OFD Sender: No OFD packet to send [21:18:14]OFD Sender: No OFD packet to send [21:18:19]OFD Sender: No OFD packet to send [21:18:24]OFD Sender: No OFD packet to send [21:18:29]OFD Sender: No OFD packet to send [21:18:34]OFD Sender: No OFD packet to send [21:18:39]OFD Sender: No OFD packet to send [21:18:44]OFD Sender: No OFD packet to send [21:18:49]OFD Sender: No OFD packet to send [21:18:54]OFD Sender: No OFD packet to send [21:18:59]OFD Sender: No OFD packet to send [21:19:04]OFD Sender: No OFD packet to send [21:19:09]OFD Sender: No OFD packet to send [21:19:14]OFD Sender: No OFD packet to send [21:19:19]OFD Sender: No OFD packet to send [21:19:24]OFD Sender: No OFD packet to send [21:19:29]OFD Sender: No OFD packet to send [21:19:34]OFD Sender: No OFD packet to send [21:19:39]OFD Sender: No OFD packet to send [21:19:44]OFD Sender: No OFD packet to send [21:19:49]OFD Sender: No OFD packet to send [21:19:54]OFD Sender: No OFD packet to send [21:19:59]OFD Sender: No OFD packet to send [21:20:04]OFD Sender: No OFD packet to send [21:20:09]OFD Sender: No OFD packet to send [21:20:14]OFD Sender: No OFD packet to send [21:20:19]OFD Sender: No OFD packet to send [21:20:24]OFD Sender: No OFD packet to send [21:20:29]OFD Sender: No OFD packet to send [21:20:34]OFD Sender: No OFD packet to send [21:20:39]OFD Sender: No OFD packet to send [21:20:44]OFD Sender: No OFD packet to send [21:20:49]OFD Sender: No OFD packet to send [21:20:54]OFD Sender: No OFD packet to send [21:20:59]OFD Sender: No OFD packet to send [21:21:04]OFD Sender: No OFD packet to send [21:21:09]OFD Sender: No OFD packet to send [21:21:14]OFD Sender: No OFD packet to send [21:21:19]OFD Sender: No OFD packet to send [21:21:24]OFD Sender: No OFD packet to send [21:21:29]OFD Sender: No OFD packet to send [21:21:34]OFD Sender: No OFD packet to send [21:21:39]OFD Sender: No OFD packet to send [21:21:44]OFD Sender: No OFD packet to send [21:21:49]OFD Sender: No OFD packet to send [21:21:54]OFD Sender: No OFD packet to send [21:21:59]OFD Sender: No OFD packet to send [21:22:04]OFD Sender: No OFD packet to send [21:22:09]OFD Sender: No OFD packet to send [21:22:14]OFD Sender: No OFD packet to send [21:22:19]OFD Sender: No OFD packet to send [21:22:24]OFD Sender: No OFD packet to send [21:22:29]OFD Sender: No OFD packet to send [21:22:34]OFD Sender: No OFD packet to send [21:22:39]OFD Sender: No OFD packet to send [21:22:44]OFD Sender: No OFD packet to send [21:22:49]OFD Sender: No OFD packet to send [21:22:54]OFD Sender: No OFD packet to send [21:22:59]OFD Sender: No OFD packet to send [21:23:04]OFD Sender: No OFD packet to send [21:23:09]OFD Sender: No OFD packet to send [21:23:14]OFD Sender: No OFD packet to send [21:23:19]OFD Sender: No OFD packet to send [21:23:24]OFD Sender: No OFD packet to send [21:23:29]OFD Sender: No OFD packet to send [21:23:34]OFD Sender: No OFD packet to send [21:23:39]OFD Sender: No OFD packet to send [21:23:44]OFD Sender: No OFD packet to send [21:23:49]OFD Sender: No OFD packet to send [21:23:54]OFD Sender: No OFD packet to send [21:23:59]OFD Sender: No OFD packet to send [21:24:04]OFD Sender: No OFD packet to send [21:24:09]OFD Sender: No OFD packet to send [21:24:14]OFD Sender: No OFD packet to send [21:24:19]OFD Sender: No OFD packet to send [21:24:24]OFD Sender: No OFD packet to send [21:24:29]OFD Sender: No OFD packet to send [21:24:34]OFD Sender: No OFD packet to send [21:24:39]OFD Sender: No OFD packet to send [21:24:44]OFD Sender: No OFD packet to send [21:24:49]OFD Sender: No OFD packet to send [21:24:54]OFD Sender: No OFD packet to send [21:24:59]OFD Sender: No OFD packet to send [21:25:04]OFD Sender: No OFD packet to send [21:25:09]OFD Sender: No OFD packet to send [21:25:14]OFD Sender: No OFD packet to send [21:25:19]OFD Sender: No OFD packet to send [21:25:24]OFD Sender: No OFD packet to send [21:25:29]OFD Sender: No OFD packet to send [21:25:34]OFD Sender: No OFD packet to send [21:25:39]OFD Sender: No OFD packet to send [21:25:44]OFD Sender: No OFD packet to send [21:25:49]OFD Sender: No OFD packet to send [21:25:54]OFD Sender: No OFD packet to send [21:25:59]OFD Sender: No OFD packet to send [21:26:04]OFD Sender: No OFD packet to send [21:26:09]OFD Sender: No OFD packet to send [21:26:14]OFD Sender: No OFD packet to send [21:26:19]OFD Sender: No OFD packet to send [21:26:24]OFD Sender: No OFD packet to send [21:26:29]OFD Sender: No OFD packet to send [21:26:34]OFD Sender: No OFD packet to send [21:26:39]OFD Sender: No OFD packet to send [21:26:44]OFD Sender: No OFD packet to send [21:26:49]OFD Sender: No OFD packet to send [21:26:54]OFD Sender: No OFD packet to send [21:26:59]OFD Sender: No OFD packet to send [21:27:04]OFD Sender: No OFD packet to send [21:27:09]OFD Sender: No OFD packet to send [21:27:14]OFD Sender: No OFD packet to send [21:27:19]OFD Sender: No OFD packet to send [21:27:24]OFD Sender: No OFD packet to send [21:27:29]OFD Sender: No OFD packet to send [21:27:34]OFD Sender: No OFD packet to send [21:27:39]OFD Sender: No OFD packet to send [21:27:44]OFD Sender: No OFD packet to send [21:27:49]OFD Sender: No OFD packet to send [21:27:54]OFD Sender: No OFD packet to send [21:27:59]OFD Sender: No OFD packet to send [21:28:04]OFD Sender: No OFD packet to send [21:28:09]OFD Sender: No OFD packet to send [21:28:14]OFD Sender: No OFD packet to send [21:28:19]OFD Sender: No OFD packet to send [21:28:24]OFD Sender: No OFD packet to send [21:28:29]OFD Sender: No OFD packet to send [21:28:34]OFD Sender: No OFD packet to send [21:28:39]OFD Sender: No OFD packet to send [21:28:44]OFD Sender: No OFD packet to send [21:28:49]OFD Sender: No OFD packet to send [21:28:54]OFD Sender: No OFD packet to send [21:28:59]OFD Sender: No OFD packet to send [21:29:04]OFD Sender: No OFD packet to send [21:29:09]OFD Sender: No OFD packet to send [21:29:14]OFD Sender: No OFD packet to send [21:29:19]OFD Sender: No OFD packet to send [21:29:24]OFD Sender: No OFD packet to send [21:29:29]OFD Sender: No OFD packet to send [21:29:34]OFD Sender: No OFD packet to send [21:29:39]OFD Sender: No OFD packet to send [21:29:44]OFD Sender: No OFD packet to send [21:29:49]OFD Sender: No OFD packet to send [21:29:54]OFD Sender: No OFD packet to send [21:29:59]OFD Sender: No OFD packet to send [21:30:04]OFD Sender: No OFD packet to send [21:30:09]OFD Sender: No OFD packet to send [21:30:14]OFD Sender: No OFD packet to send [21:30:19]OFD Sender: No OFD packet to send [21:30:24]OFD Sender: No OFD packet to send [21:30:29]OFD Sender: No OFD packet to send [21:30:34]OFD Sender: No OFD packet to send [21:30:39]OFD Sender: No OFD packet to send [21:30:44]OFD Sender: No OFD packet to send [21:30:49]OFD Sender: No OFD packet to send [21:30:54]OFD Sender: No OFD packet to send [21:30:59]OFD Sender: No OFD packet to send [21:31:04]OFD Sender: No OFD packet to send [21:31:09]OFD Sender: No OFD packet to send [21:31:14]OFD Sender: No OFD packet to send [21:31:19]OFD Sender: No OFD packet to send [21:31:24]OFD Sender: No OFD packet to send [21:31:29]OFD Sender: No OFD packet to send [21:31:34]OFD Sender: No OFD packet to send [21:31:39]OFD Sender: No OFD packet to send [21:31:44]OFD Sender: No OFD packet to send [21:31:49]OFD Sender: No OFD packet to send [21:31:54]OFD Sender: No OFD packet to send [21:31:59]OFD Sender: No OFD packet to send [21:32:04]OFD Sender: No OFD packet to send [21:32:09]OFD Sender: No OFD packet to send [21:32:14]OFD Sender: No OFD packet to send [21:32:19]OFD Sender: No OFD packet to send [21:32:24]OFD Sender: No OFD packet to send [21:32:29]OFD Sender: No OFD packet to send [21:32:34]OFD Sender: No OFD packet to send [21:32:39]OFD Sender: No OFD packet to send [21:32:44]OFD Sender: No OFD packet to send [21:32:49]OFD Sender: No OFD packet to send [21:32:54]OFD Sender: No OFD packet to send [21:32:59]OFD Sender: No OFD packet to send [21:33:04]OFD Sender: No OFD packet to send [21:33:09]OFD Sender: No OFD packet to send [21:33:14]OFD Sender: No OFD packet to send [21:33:19]OFD Sender: No OFD packet to send [21:33:24]OFD Sender: No OFD packet to send [21:33:29]OFD Sender: No OFD packet to send [21:33:34]OFD Sender: No OFD packet to send [21:33:39]OFD Sender: No OFD packet to send [21:33:44]OFD Sender: No OFD packet to send [21:33:49]OFD Sender: No OFD packet to send [21:33:54]OFD Sender: No OFD packet to send [21:33:59]OFD Sender: No OFD packet to send [21:34:04]OFD Sender: No OFD packet to send [21:34:09]OFD Sender: No OFD packet to send [21:34:14]OFD Sender: No OFD packet to send [21:34:19]OFD Sender: No OFD packet to send [21:34:24]OFD Sender: No OFD packet to send [21:34:29]OFD Sender: No OFD packet to send [21:34:34]OFD Sender: No OFD packet to send [21:34:39]OFD Sender: No OFD packet to send [21:34:44]OFD Sender: No OFD packet to send [21:34:49]OFD Sender: No OFD packet to send [21:34:54]OFD Sender: No OFD packet to send [21:34:59]OFD Sender: No OFD packet to send [21:35:04]OFD Sender: No OFD packet to send [21:35:09]OFD Sender: No OFD packet to send [21:35:14]OFD Sender: No OFD packet to send [21:35:19]OFD Sender: No OFD packet to send [21:35:24]OFD Sender: No OFD packet to send [21:35:29]OFD Sender: No OFD packet to send [21:35:34]OFD Sender: No OFD packet to send [21:35:39]OFD Sender: No OFD packet to send [21:35:44]OFD Sender: No OFD packet to send [21:35:49]OFD Sender: No OFD packet to send [21:35:54]OFD Sender: No OFD packet to send [21:35:59]OFD Sender: No OFD packet to send [21:36:04]OFD Sender: No OFD packet to send [21:36:09]OFD Sender: No OFD packet to send [21:36:14]OFD Sender: No OFD packet to send [21:36:19]OFD Sender: No OFD packet to send [21:36:24]OFD Sender: No OFD packet to send [21:36:29]OFD Sender: No OFD packet to send [21:36:34]OFD Sender: No OFD packet to send [21:36:39]OFD Sender: No OFD packet to send [21:36:44]OFD Sender: No OFD packet to send [21:36:49]OFD Sender: No OFD packet to send [21:36:54]OFD Sender: No OFD packet to send [21:36:59]OFD Sender: No OFD packet to send [21:37:04]OFD Sender: No OFD packet to send [21:37:09]OFD Sender: No OFD packet to send [21:37:15]OFD Sender: No OFD packet to send [21:37:20]OFD Sender: No OFD packet to send [21:37:25]OFD Sender: No OFD packet to send [21:37:30]OFD Sender: No OFD packet to send [21:37:35]OFD Sender: No OFD packet to send [21:37:40]OFD Sender: No OFD packet to send [21:37:45]OFD Sender: No OFD packet to send [21:37:50]OFD Sender: No OFD packet to send [21:37:55]OFD Sender: No OFD packet to send [21:38:00]OFD Sender: No OFD packet to send [21:38:05]OFD Sender: No OFD packet to send [21:38:10]OFD Sender: No OFD packet to send [21:38:15]OFD Sender: No OFD packet to send [21:38:20]OFD Sender: No OFD packet to send [21:38:25]OFD Sender: No OFD packet to send [21:38:30]OFD Sender: No OFD packet to send [21:38:35]OFD Sender: No OFD packet to send [21:38:40]OFD Sender: No OFD packet to send [21:38:45]OFD Sender: No OFD packet to send [21:38:50]OFD Sender: No OFD packet to send [21:38:55]OFD Sender: No OFD packet to send [21:39:00]OFD Sender: No OFD packet to send [21:39:05]OFD Sender: No OFD packet to send [21:39:10]OFD Sender: No OFD packet to send [21:39:15]OFD Sender: No OFD packet to send [21:39:20]OFD Sender: No OFD packet to send [21:39:25]OFD Sender: No OFD packet to send [21:39:30]OFD Sender: No OFD packet to send [21:39:35]OFD Sender: No OFD packet to send [21:39:40]OFD Sender: No OFD packet to send [21:39:45]OFD Sender: No OFD packet to send [21:39:50]OFD Sender: No OFD packet to send [21:39:55]OFD Sender: No OFD packet to send [21:40:00]OFD Sender: No OFD packet to send [21:40:05]OFD Sender: No OFD packet to send [21:40:10]OFD Sender: No OFD packet to send [21:40:15]OFD Sender: No OFD packet to send [21:40:20]OFD Sender: No OFD packet to send [21:40:25]OFD Sender: No OFD packet to send [21:40:30]OFD Sender: No OFD packet to send [21:40:35]OFD Sender: No OFD packet to send [21:40:40]OFD Sender: No OFD packet to send [21:40:45]OFD Sender: No OFD packet to send [21:40:50]OFD Sender: No OFD packet to send [21:40:55]OFD Sender: No OFD packet to send [21:41:00]OFD Sender: No OFD packet to send [21:41:05]OFD Sender: No OFD packet to send [21:41:10]OFD Sender: No OFD packet to send [21:41:15]OFD Sender: No OFD packet to send [21:41:20]OFD Sender: No OFD packet to send [21:41:25]OFD Sender: No OFD packet to send [21:41:30]OFD Sender: No OFD packet to send [21:41:35]OFD Sender: No OFD packet to send [21:41:40]OFD Sender: No OFD packet to send [21:41:45]OFD Sender: No OFD packet to send [21:41:50]OFD Sender: No OFD packet to send [21:41:55]OFD Sender: No OFD packet to send [21:42:00]OFD Sender: No OFD packet to send [21:42:05]OFD Sender: No OFD packet to send [21:42:10]OFD Sender: No OFD packet to send [21:42:15]OFD Sender: No OFD packet to send [21:42:20]OFD Sender: No OFD packet to send [21:42:25]OFD Sender: No OFD packet to send [21:42:30]OFD Sender: No OFD packet to send [21:42:35]OFD Sender: No OFD packet to send [21:42:40]OFD Sender: No OFD packet to send [21:42:45]OFD Sender: No OFD packet to send [21:42:50]OFD Sender: No OFD packet to send [21:42:55]OFD Sender: No OFD packet to send [21:43:00]OFD Sender: No OFD packet to send [21:43:05]OFD Sender: No OFD packet to send [21:43:10]OFD Sender: No OFD packet to send [21:43:15]OFD Sender: No OFD packet to send [21:43:20]OFD Sender: No OFD packet to send [21:43:25]OFD Sender: No OFD packet to send [21:43:30]OFD Sender: No OFD packet to send [21:43:35]OFD Sender: No OFD packet to send [21:43:40]OFD Sender: No OFD packet to send [21:43:45]OFD Sender: No OFD packet to send [21:43:50]OFD Sender: No OFD packet to send [21:43:55]OFD Sender: No OFD packet to send [21:44:00]OFD Sender: No OFD packet to send [21:44:05]OFD Sender: No OFD packet to send [21:44:10]OFD Sender: No OFD packet to send [21:44:15]OFD Sender: No OFD packet to send [21:44:20]OFD Sender: No OFD packet to send [21:44:25]OFD Sender: No OFD packet to send [21:44:30]OFD Sender: No OFD packet to send [21:44:35]OFD Sender: No OFD packet to send [21:44:40]OFD Sender: No OFD packet to send [21:44:45]OFD Sender: No OFD packet to send [21:44:50]OFD Sender: No OFD packet to send [21:44:55]OFD Sender: No OFD packet to send [21:45:00]OFD Sender: No OFD packet to send [21:45:05]OFD Sender: No OFD packet to send [21:45:10]OFD Sender: No OFD packet to send [21:45:15]OFD Sender: No OFD packet to send [21:45:20]OFD Sender: No OFD packet to send [21:45:25]OFD Sender: No OFD packet to send [21:45:30]OFD Sender: No OFD packet to send [21:45:35]OFD Sender: No OFD packet to send [21:45:40]OFD Sender: No OFD packet to send [21:45:45]OFD Sender: No OFD packet to send [21:45:50]OFD Sender: No OFD packet to send [21:45:55]OFD Sender: No OFD packet to send [21:46:00]OFD Sender: No OFD packet to send [21:46:05]OFD Sender: No OFD packet to send [21:46:10]OFD Sender: No OFD packet to send [21:46:15]OFD Sender: No OFD packet to send [21:46:20]OFD Sender: No OFD packet to send [21:46:25]OFD Sender: No OFD packet to send [21:46:30]OFD Sender: No OFD packet to send [21:46:35]OFD Sender: No OFD packet to send [21:46:40]OFD Sender: No OFD packet to send [21:46:45]OFD Sender: No OFD packet to send [21:46:50]OFD Sender: No OFD packet to send [21:46:55]OFD Sender: No OFD packet to send [21:47:00]OFD Sender: No OFD packet to send [21:47:05]OFD Sender: No OFD packet to send [21:47:10]OFD Sender: No OFD packet to send [21:47:15]OFD Sender: No OFD packet to send [21:47:20]OFD Sender: No OFD packet to send [21:47:25]OFD Sender: No OFD packet to send [21:47:30]OFD Sender: No OFD packet to send [21:47:35]OFD Sender: No OFD packet to send [21:47:40]OFD Sender: No OFD packet to send [21:47:45]OFD Sender: No OFD packet to send [21:47:50]OFD Sender: No OFD packet to send [21:47:55]OFD Sender: No OFD packet to send [21:48:00]OFD Sender: No OFD packet to send [21:48:05]OFD Sender: No OFD packet to send [21:48:10]OFD Sender: No OFD packet to send [21:48:15]OFD Sender: No OFD packet to send [21:48:20]OFD Sender: No OFD packet to send [21:48:25]OFD Sender: No OFD packet to send [21:48:30]OFD Sender: No OFD packet to send [21:48:35]OFD Sender: No OFD packet to send [21:48:40]OFD Sender: No OFD packet to send [21:48:45]OFD Sender: No OFD packet to send [21:48:50]OFD Sender: No OFD packet to send [21:48:55]OFD Sender: No OFD packet to send [21:49:00]OFD Sender: No OFD packet to send [21:49:05]OFD Sender: No OFD packet to send [21:49:10]OFD Sender: No OFD packet to send [21:49:15]OFD Sender: No OFD packet to send [21:49:20]OFD Sender: No OFD packet to send [21:49:25]OFD Sender: No OFD packet to send [21:49:30]OFD Sender: No OFD packet to send [21:49:35]OFD Sender: No OFD packet to send [21:49:40]OFD Sender: No OFD packet to send [21:49:45]OFD Sender: No OFD packet to send [21:49:50]OFD Sender: No OFD packet to send [21:49:55]OFD Sender: No OFD packet to send [21:50:00]OFD Sender: No OFD packet to send [21:50:05]OFD Sender: No OFD packet to send [21:50:10]OFD Sender: No OFD packet to send [21:50:15]OFD Sender: No OFD packet to send [21:50:20]OFD Sender: No OFD packet to send [21:50:25]OFD Sender: No OFD packet to send [21:50:30]OFD Sender: No OFD packet to send [21:50:35]OFD Sender: No OFD packet to send [21:50:40]OFD Sender: No OFD packet to send [21:50:45]OFD Sender: No OFD packet to send [21:50:50]OFD Sender: No OFD packet to send [21:50:55]OFD Sender: No OFD packet to send [21:51:00]OFD Sender: No OFD packet to send [21:51:05]OFD Sender: No OFD packet to send [21:51:10]OFD Sender: No OFD packet to send [21:51:15]OFD Sender: No OFD packet to send [21:51:20]OFD Sender: No OFD packet to send [21:51:25]OFD Sender: No OFD packet to send [21:51:30]OFD Sender: No OFD packet to send [21:51:35]OFD Sender: No OFD packet to send [21:51:40]OFD Sender: No OFD packet to send [21:51:45]OFD Sender: No OFD packet to send [21:51:50]OFD Sender: No OFD packet to send [21:51:55]OFD Sender: No OFD packet to send [21:52:00]OFD Sender: No OFD packet to send [21:52:05]OFD Sender: No OFD packet to send [21:52:10]OFD Sender: No OFD packet to send [21:52:15]OFD Sender: No OFD packet to send [21:52:20]OFD Sender: No OFD packet to send [21:52:25]OFD Sender: No OFD packet to send [21:52:30]OFD Sender: No OFD packet to send [21:52:35]OFD Sender: No OFD packet to send [21:52:40]OFD Sender: No OFD packet to send [21:52:45]OFD Sender: No OFD packet to send [21:52:50]OFD Sender: No OFD packet to send [21:52:55]OFD Sender: No OFD packet to send [21:53:00]OFD Sender: No OFD packet to send [21:53:05]OFD Sender: No OFD packet to send [21:53:10]OFD Sender: No OFD packet to send [21:53:15]OFD Sender: No OFD packet to send [21:53:20]OFD Sender: No OFD packet to send [21:53:25]OFD Sender: No OFD packet to send [21:53:30]OFD Sender: No OFD packet to send [21:53:35]OFD Sender: No OFD packet to send [21:53:38]accept exits with 9 [21:53:38]New connection [21:53:38]New thread 3066629476 created [21:53:38]Thread 3066772836 joined [21:53:38]Waiting for new connection... [21:53:38] Sock 9.Parse request [21:53:38]Sock 9.Check first char [21:53:38]Sock 9.First char is OK [21:53:38]request: POST /json_proto HTTP/1.0 [21:53:38]Method: POST [21:53:38]URL: /json_proto [21:53:38]Method is POST - this is cgi request [21:53:38]url: /json_proto [21:53:38]query_string will be loaded in cgi processing [21:53:38]execute_cgi json_proto POST (null) [21:53:38]execute_cgi path=json_proto method=POST [21:53:38]POST find Content-Length [21:53:38]Host: 172.17.56.68:8080 [21:53:38]Content-Length: 653 [21:53:38]Content-Type: application/json [21:53:38] [21:53:38]POST finish read [21:53:38]Found Content-Length = 653 [21:53:38]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4467", "tax_sys" : 0, "items" : [ { "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 }]} ], "payments": [ { "type": 0, "sum" : 72.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:53:38]execute_script... [21:53: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)4467", "tax_sys" : 0, "items" : [ { "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 }]} ], "payments": [ { "type": 0, "sum" : 72.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:53:38]POST & json_proto [21:53:38]process_json_proto [21:53:38]json parsed OK: [21:53:38]protocol is kg_v1.0 [21:53:38]action value=close_receipt [21:53:38]process_action close_receipt [21:53:38]cmd_close_receipt [21:53:38]MH_GetDate [21:53:38]Write to MH i2c: F0 00 00 AE 05 A2 [21:53:38]Write i2c OK [21:53:38]MH_I2C_Read... [21:53:38]Read from MH i2c: F0 [21:53:38]MH_I2C_Read... [21:53:38]Read from MH i2c: F0 09 00 [21:53:38]MH_I2C_Read... [21:53:38]Read from MH i2c: F0 09 00 AE 05 00 64 DE 60 66 3A 8F 60 66 42 [21:53:38]GetLastDocTimeStamp 1717621782 [21:53:38]current date 1717624420 [21:53:38]FM_GetShiftState [21:53:38]SAM_PROTO_GetShiftState [21:53:38]wFMCommunicate request_size=4 [21:53:38]MH_SAM_APDU [21:53:38]CAPDU: 80 13 01 00 [21:53:38]Write to MH i2c: E2 08 00 AF 05 80 13 01 00 00 00 00 00 31 [21:53:38]Write i2c OK [21:53:38]MH_I2C_Read... [21:53:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:53:38]Read from MH i2c: E2 [21:53:38]MH_I2C_Read... [21:53:38]Read from MH i2c: E2 0E 00 [21:53:38]MH_I2C_Read... [21:53:38]Read from MH i2c: E2 0E 00 AF 05 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 D2 [21:53:38]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [21:53:38]wFMCommunicate OK [21:53:38]SAM_PROTO_GetShiftState done [21:53:38]FM_GetShiftState done [21:53:38]opened in 1717545765 [21:53:38]opened+sec_in_day 1717632165 [21:53:38]quantity*price = 7200 [21:53:38]sum+1 = 7201 [21:53:38]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 72.00 НСП 1% : 0.64 НДС 12% : 7.65 Наличными: 72.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 72 05.06.2024 21:53 Смена: 84 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4214 ФПД: 121514799824938 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T215340&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4214&fm=121514799824938&tin=02508201610067®Number=0000000000145775&sum=7200 0 [21:53:39]StoreToDocumentArchive [21:53:39]shift 84 fd 4214 [21:53:39]save to /storage/0084/doc_00004214 [21:53:39]save last doc name /storage/0084/doc_00004214 to /storage/kkm_last_doc_name [21:53:39]save OK [21:53:39]Clear old archive folders... [21:53:39]ProcessDocumentItem done err = 0, tmpTLVsize=294 [21:53:39]tlvbuf is 0196A470 [21:53:39]SAM_PROTO_ClearQueue [21:53:39]wFMCommunicate request_size=4 [21:53:39]MH_SAM_APDU [21:53:39]CAPDU: 80 09 00 00 [21:53:39]Write to MH i2c: E2 08 00 BC 05 80 09 00 00 00 00 00 00 33 [21:53:39]Write i2c OK [21:53:39]MH_I2C_Read... [21:53:39]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:53:39]Read from MH i2c: E2 [21:53:39]MH_I2C_Read... [21:53:39]Read from MH i2c: E2 03 00 [21:53:39]MH_I2C_Read... [21:53:39]Read from MH i2c: E2 03 00 BC 05 00 90 00 35 [21:53:39]RAPDU: 90 00 [21:53:39]wFMCommunicate OK [21:53:39]SAM_PROTO_ClearQueue done [21:53:39]KKMCreateOFDPacket [21:53:39]OFDProtocolAddRootSTLVToBuf [21:53:39]FM_MakeSignedData [21:53:39]FM_MakeSignedData [21:53:39]SAM_PROTO_SignData [21:53:39]wFMCommunicate request_size=4 [21:53:39]MH_SAM_APDU [21:53:39]CAPDU: 80 0D 01 02 [21:53:39]Write to MH i2c: E2 08 00 BD 05 80 0D 01 02 00 00 00 00 3B [21:53:39]Write i2c OK [21:53:39]MH_I2C_Read... [21:53:40]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:53:40]Read from MH i2c: E2 [21:53:40]MH_I2C_Read... [21:53:40]Read from MH i2c: E2 03 00 [21:53:40]MH_I2C_Read... [21:53:40]Read from MH i2c: E2 03 00 BD 05 00 90 00 36 [21:53:40]RAPDU: 90 00 [21:53:40]wFMCommunicate OK [21:53:40]wFMCommunicate request_size=255 [21:53:40]MH_SAM_APDU [21:53:40]CAPDU: 80 0D 02 02 FA 03 00 26 01 1E 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 FC 03 06 00 20 1C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 40 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FD 02 00 00 00 00 07 04 06 00 20 1C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 48 00 00 00 F4 03 04 00 64 DE 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 [21:53:40]Write to MH i2c: E2 02 01 BE 05 80 0D 02 02 FA 00 03 00 26 01 1E 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 FC 03 06 00 20 1C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 40 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FD 02 00 00 00 00 07 04 06 00 20 1C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 48 00 00 00 F4 03 04 00 64 DE 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 00 00 C9 [21:53:40]Write i2c OK [21:53:40]MH_I2C_Read... [21:53:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:53:40]Read from MH i2c: E2 [21:53:40]MH_I2C_Read... [21:53:40]Read from MH i2c: E2 03 00 [21:53:40]MH_I2C_Read... [21:53:40]Read from MH i2c: E2 03 00 BE 05 00 90 00 37 [21:53:40]RAPDU: 90 00 [21:53:40]wFMCommunicate OK [21:53:40]wFMCommunicate request_size=53 [21:53:40]MH_SAM_APDU [21:53:40]CAPDU: 80 0D 02 02 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 76 10 00 00 35 04 06 00 6E 84 5E 7A 80 2A [21:53:40]Write to MH i2c: E2 38 00 BF 05 80 0D 02 02 30 00 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 76 10 00 00 35 04 06 00 6E 84 5E 7A 80 2A 00 00 31 [21:53:40]Write i2c OK [21:53:40]MH_I2C_Read... [21:53:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:53:40]Read from MH i2c: E2 [21:53:40]MH_I2C_Read... [21:53:40]Read from MH i2c: E2 03 00 [21:53:40]MH_I2C_Read... [21:53:40]Read from MH i2c: E2 03 00 BF 05 00 90 00 38 [21:53:40]RAPDU: 90 00 [21:53:40]wFMCommunicate OK [21:53:40]wFMCommunicate request_size=4 [21:53:40]MH_SAM_APDU [21:53:40]CAPDU: 80 0D 03 02 [21:53:40]Write to MH i2c: E2 08 00 C0 05 80 0D 03 02 00 00 00 00 40 [21:53:40]Write i2c OK [21:53:40]MH_I2C_Read... [21:53:40]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:53:40]Read from MH i2c: E2 [21:53:40]MH_I2C_Read... [21:53:40]Read from MH i2c: E2 0B 00 [21:53:40]MH_I2C_Read... [21:53:40]Read from MH i2c: E2 0B 00 C0 05 00 39 4E 9E 72 9D DC 01 31 90 00 83 [21:53:40]RAPDU: 39 4E 9E 72 9D DC 01 31 90 00 [21:53:40]wFMCommunicate OK [21:53:40]SAM_PROTO_SignData done [21:53:40]FM_MakeSignedData done [21:53:40]CreateOFDProtocolMessage [21:53:40]wFMCommunicate request_size=4 [21:53:40]MH_SAM_APDU [21:53:40]CAPDU: 80 11 00 00 [21:53:40]Write to MH i2c: E2 08 00 C1 05 80 11 00 00 00 00 00 00 40 [21:53:40]Write i2c OK [21:53:40]MH_I2C_Read... [21:53:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:53:40]Read from MH i2c: E2 [21:53:40]MH_I2C_Read... [21:53:40]Read from MH i2c: E2 17 00 [21:53:40]MH_I2C_Read... [21:53:40]Read from MH i2c: E2 17 00 C1 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 93 [21:53:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [21:53:40]wFMCommunicate OK [21:53:40]CreateOFDProtocolMessage done [21:53:40]OFDSenderStorePacket 4214 [21:53:40]StoreOFDPacket docnum=4214 [21:53:40]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 3A 01 00 00 E6 4C 32 01 19 AD 5A 03 01 00 03 00 26 01 1E 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 FC 03 06 00 20 1C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 40 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FD 02 00 00 00 00 07 04 06 00 20 1C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 48 00 00 00 F4 03 04 00 64 DE 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 76 10 00 00 35 04 06 00 6E 84 5E 7A 80 2A 39 4E 9E 72 9D DC 01 31 [21:53:40]CheckFolder [21:53:40]dirname=/storage/ofd_packets [21:53:40]CheckFolder done [21:53:40]ProducePacketName [21:53:40]name=ofd_packets/00004214 [21:53:40]NVStorageSaveData ofd_packets/00004214 [21:53:40]File name is /storage/ofd_packets/00004214 [21:53:40]Write 344 bytes [21:53:40]NVStorageSaveData done [21:53:40]OFDSenderStorePacket done [21:53:40]KKMCreateOFDPacket done [21:53:40]NVStorageSaveData kkm_last_timestamp [21:53:40]File name is /storage/kkm_last_timestamp [21:53:40]Write 4 bytes [21:53:40]NVStorageSaveData done [21:53:40]ExternCall_PrintAddStr [21:53:40]wPrintStart [21:53:40]Write to MH i2c: 01 00 00 C2 05 C7 [21:53:40]Write i2c OK [21:53:40]MH_I2C_Read... [21:53:40]Read from MH i2c: 01 [21:53:40]MH_I2C_Read... [21:53:40]Read from MH i2c: 01 07 00 [21:53:40]MH_I2C_Read... [21:53:40]Read from MH i2c: 01 07 00 C2 05 00 00 00 00 00 FF 0F DC [21:53:40]RasterBufferAndPrint [21:53:40]line Счет N : (3)4467 [21:53:40]line ИНН: 02508201610067 [21:53:40]line Контрольно-Кассовый Чек [21:53:40]line ПРОДАЖА [21:53:40]line Товар: 4600682557456 [21:53:40]line Напиток FLash up energy эн ж/б 0,5/0,45л [21:53:40]line 1.000 * 72.00 [21:53:40]line = 72.00 [21:53:40]line НДС 12% НСП 1% [21:53:40]line > о реализуемом товаре [21:53:40]line ИТОГО: 72.00 [21:53:40]line НСП 1% : 0.64 [21:53:40]line НДС 12% : 7.65 [21:53:40]line Наличными: 72.00 [21:53:40]line Безнал.: 0.00 [21:53:40]line Место: АЗС № 116 "Партнер Нефть" [21:53:40]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [21:53:40]line СНО: Общий режим [21:53:40]line Чек 72 05.06.2024 21:53 [21:53:40]line Смена: 84 ФФД: 1.0 [21:53:40]line ЗНМ: 0300000233 [21:53:40]line РНМ: 0000000000145775 [21:53:40]line Версия ККМ: v1.0 [21:53:40]line ФМ: 0000000000959360 [21:53:40]line ФД: 4214 [21:53:40]line ФПД: 121514799824938 [21:53:40]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T215340&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4214&fm=121514799824938&tin=02508201610067®Number=0000000000145775&sum=7200 [21:53:40]line 0 [21:53:40]OFD Sender: Processing packet 4214 [packets to send 2, broken 1] [21:53:40]ProducePacketName [21:53:40]name=ofd_packets/00004214 [21:53:40]OFD Sender: To server: pG, [21:53:40]CommunicateWithHost lk.salyk.kg:30040 [21:53:40]ConnectInit lk.salyk.kg [21:53:40]written 0, free lines is 4095 [21:53:40]Connected sock=11 [21:53:40]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 3A 01 00 00 E6 4C 32 01 19 AD 5A 03 01 00 03 00 26 01 1E 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 FC 03 06 00 20 1C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 40 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FD 02 00 00 00 00 07 04 06 00 20 1C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 48 00 00 00 F4 03 04 00 64 DE 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 76 10 00 00 35 04 06 00 6E 84 5E 7A 80 2A 39 4E 9E 72 9D DC 01 31 [21:53:41]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 E3 16 47 00 9F 75 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 76 10 00 00 F4 03 04 00 66 8A 60 66 B6 04 01 00 00 66 11 97 E7 9E 6F EA 5B [21:53:41]CommunicateWithHost err = 0 [21:53:41]CheckOFDResponse [21:53:41]1017 (14) - 77093643461234 [21:53:41]1041 (16) - 0000000000959360 [21:53:41]1040 (4) - 4214 [21:53:41]1012 (4) - 05.06.2024 15:55 [21:53:41]1206 (1) - 0 [21:53:41]OFD Sender: Remove packet 4214 [21:53:41]ProducePacketName [21:53:41]name=ofd_packets/00004214 [21:53:41]NVStorageDeleteData [21:53:41]Write to MH i2c: 01 00 00 EB 05 F0 [21:53:41]Write i2c OK [21:53:41]MH_I2C_Read... [21:53:41]Read from MH i2c: 01 [21:53:41]MH_I2C_Read... [21:53:41]Read from MH i2c: 01 07 00 [21:53:41]MH_I2C_Read... [21:53:41]Read from MH i2c: 01 07 00 EB 05 00 00 00 00 00 B7 0C BA [21:53:41]RasterBufferAndPrint [21:53:41]line [21:53:41]line [21:53:41]line [21:53:41]line [21:53:41]line [21:53:41]written 0, free lines is 3258 [21:53:41]MH_Cut [21:53:41]Write to MH i2c: D1 01 00 F2 05 01 C9 [21:53:41]Write i2c OK [21:53:41]MH_I2C_Read... [21:53:41]Read from MH i2c: D1 [21:53:41]MH_I2C_Read... [21:53:41]Read from MH i2c: D1 01 00 [21:53:41]MH_I2C_Read... [21:53:41]Read from MH i2c: D1 01 00 F2 05 00 C8 [21:53:41]Write to MH i2c: 01 00 00 F3 05 F8 [21:53:41]Write i2c OK [21:53:41]MH_I2C_Read... [21:53:41]OFD Sender: No OFD packet to send [21:53:42]*** Cut start [21:53:42]*** Partial cut [21:53:42]*** CUTSNS_PIN = 1 [21:53:42]*** CUTSNS_PIN = 0 [21:53:42]*** Brake cut motor [21:53:42]Read from MH i2c: 01 [21:53:42]MH_I2C_Read... [21:53:42]*** Stop cut motor [21:53:42]*** Cut end [21:53:42]Read from MH i2c: 01 07 00 [21:53:42]MH_I2C_Read... [21:53:42]Read from MH i2c: 01 07 00 F3 05 00 00 00 00 00 FF 0F 0D [21:53:42]process_action close_receipt done [21:53:42]requested_data is exist [21:53:42]produce_requested_data [21:53:42]requested_item fm.sn is exist - process it [21:53:42]wFMCommunicate request_size=4 [21:53:42]MH_SAM_APDU [21:53:42]CAPDU: 80 11 00 00 [21:53:42]Write to MH i2c: E2 08 00 F4 05 80 11 00 00 00 00 00 00 73 [21:53:42]Write i2c OK [21:53:42]MH_I2C_Read... [21:53:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:53:42]Read from MH i2c: E2 [21:53:42]MH_I2C_Read... [21:53:42]Read from MH i2c: E2 17 00 [21:53:42]MH_I2C_Read... [21:53:42]Read from MH i2c: E2 17 00 F4 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 C6 [21:53:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [21:53:42]wFMCommunicate OK [21:53:42]requested_item fd.num is exist - process it [21:53:42]SAM_PROTO_GetFieldsCounters [21:53:42]wFMCommunicate request_size=4 [21:53:42]MH_SAM_APDU [21:53:42]CAPDU: 80 13 00 00 [21:53:42]Write to MH i2c: E2 08 00 F5 05 80 13 00 00 00 00 00 00 76 [21:53:42]Write i2c OK [21:53:42]MH_I2C_Read... [21:53:43]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:53:43]Read from MH i2c: E2 [21:53:43]MH_I2C_Read... [21:53:43]Read from MH i2c: E2 62 00 [21:53:43]MH_I2C_Read... [21:53:43]Read from MH i2c: E2 62 00 F5 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 76 10 00 00 0E 04 04 00 54 00 00 00 12 04 04 00 48 00 00 00 5E 04 04 00 48 00 00 00 57 04 04 00 49 00 00 00 19 04 04 00 00 00 00 00 90 00 4D [21:53:43]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 76 10 00 00 0E 04 04 00 54 00 00 00 12 04 04 00 48 00 00 00 5E 04 04 00 48 00 00 00 57 04 04 00 49 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:53:43]wFMCommunicate OK [21:53:43]SAM_PROTO_GetFieldsCounters done [21:53:43]requested_item shift.num is exist - process it [21:53:43]requested_item shift.opened is exist - process it [21:53:43]req_shift_opened [21:53:43]FM_GetShiftState [21:53:43]SAM_PROTO_GetShiftState [21:53:43]wFMCommunicate request_size=4 [21:53:43]MH_SAM_APDU [21:53:43]CAPDU: 80 13 01 00 [21:53:43]Write to MH i2c: E2 08 00 F6 05 80 13 01 00 00 00 00 00 78 [21:53:43]Write i2c OK [21:53:43]MH_I2C_Read... [21:53:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:53:43]Read from MH i2c: E2 [21:53:43]MH_I2C_Read... [21:53:43]Read from MH i2c: E2 0E 00 [21:53:43]MH_I2C_Read... [21:53:43]Read from MH i2c: E2 0E 00 F6 05 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 19 [21:53:43]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [21:53:43]wFMCommunicate OK [21:53:43]SAM_PROTO_GetShiftState done [21:53:43]FM_GetShiftState done [21:53:43]req_shift_opened done [21:53:43]requested_item shift.open_date is exist - process it [21:53:43]req_shift_open_date [21:53:43]req_shift_open_date done [21:53:43]produce_requested_data done [21:53:43]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4214,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765} [21:53:43]process_action_free close_receipt [21:53:43]json_value_free [21:53:43]json_value_free done [21:53:43]process_json_proto returns [21:53:43]Send response to host [21:53:43]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4214,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765}}} [21:53:43]free response buf [21:53:43]execute_script done [21:53:43]execute_script returns [21:53:43]free content buf [21:53:43]Sock 9.Close socket [21:53:43]Sock 9.Thread stoped [21:53:46]OFD Sender: No OFD packet to send [21:53:51]OFD Sender: No OFD packet to send [21:53:56]OFD Sender: No OFD packet to send [21:54:01]OFD Sender: No OFD packet to send [21:54:06]OFD Sender: No OFD packet to send [21:54:11]OFD Sender: No OFD packet to send [21:54:16]OFD Sender: No OFD packet to send [21:54:16]accept exits with 8 [21:54:16]New connection [21:54:16]New thread 3066772836 created [21:54:16]Thread 3066629476 joined [21:54:16]Waiting for new connection... [21:54:16] Sock 8.Parse request [21:54:16]Sock 8.Check first char [21:54:16]Sock 8.First char is OK [21:54:16]request: POST /json_proto HTTP/1.0 [21:54:16]Method: POST [21:54:16]URL: /json_proto [21:54:16]Method is POST - this is cgi request [21:54:16]url: /json_proto [21:54:16]query_string will be loaded in cgi processing [21:54:16]execute_cgi json_proto POST (null) [21:54:16]execute_cgi path=json_proto method=POST [21:54:16]POST find Content-Length [21:54:16]Host: 172.17.56.68:8080 [21:54:16]Content-Length: 658 [21:54:16]Content-Type: application/json [21:54:16] [21:54:16]POST finish read [21:54:16]Found Content-Length = 658 [21:54:16]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4468", "tax_sys" : 0, "items" : [ { "code": "4700002083266", "name": "\u0412\u043E\u0434\u043A\u0430 \u0410\u0442\u0438\u043B\u043B\u0430 \u0413\u0443\u043D\u043D 0,5\u043B", "price" : 450.00, "quantity" : 1.000, "sum" : 450.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 450.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:54:16]execute_script... [21:54:16]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4468", "tax_sys" : 0, "items" : [ { "code": "4700002083266", "name": "\u0412\u043E\u0434\u043A\u0430 \u0410\u0442\u0438\u043B\u043B\u0430 \u0413\u0443\u043D\u043D 0,5\u043B", "price" : 450.00, "quantity" : 1.000, "sum" : 450.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 450.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:54:16]POST & json_proto [21:54:16]process_json_proto [21:54:16]json parsed OK: [21:54:16]protocol is kg_v1.0 [21:54:16]action value=close_receipt [21:54:16]process_action close_receipt [21:54:16]cmd_close_receipt [21:54:16]MH_GetDate [21:54:16]Write to MH i2c: F0 00 00 F7 05 EB [21:54:16]Write i2c OK [21:54:16]MH_I2C_Read... [21:54:16]Read from MH i2c: F0 [21:54:16]MH_I2C_Read... [21:54:16]Read from MH i2c: F0 09 00 [21:54:16]MH_I2C_Read... [21:54:16]Read from MH i2c: F0 09 00 F7 05 00 8A DE 60 66 3A 8F 60 66 B1 [21:54:16]GetLastDocTimeStamp 1717624420 [21:54:16]current date 1717624458 [21:54:16]FM_GetShiftState [21:54:16]SAM_PROTO_GetShiftState [21:54:16]wFMCommunicate request_size=4 [21:54:16]MH_SAM_APDU [21:54:16]CAPDU: 80 13 01 00 [21:54:16]Write to MH i2c: E2 08 00 F8 05 80 13 01 00 00 00 00 00 7A [21:54:16]Write i2c OK [21:54:16]MH_I2C_Read... [21:54:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:54:16]Read from MH i2c: E2 [21:54:16]MH_I2C_Read... [21:54:16]Read from MH i2c: E2 0E 00 [21:54:16]MH_I2C_Read... [21:54:16]Read from MH i2c: E2 0E 00 F8 05 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 1B [21:54:16]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [21:54:16]wFMCommunicate OK [21:54:16]SAM_PROTO_GetShiftState done [21:54:16]FM_GetShiftState done [21:54:16]opened in 1717545765 [21:54:16]opened+sec_in_day 1717632165 [21:54:16]quantity*price = 45000 [21:54:16]sum+1 = 45001 [21:54:16]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 450.00 НСП 1% : 3.98 НДС 12% : 47.79 Наличными: 450.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 73 05.06.2024 21:54 Смена: 84 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4215 ФПД: 103181600738796 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T215418&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4215&fm=103181600738796&tin=02508201610067®Number=0000000000145775&sum=45000 0 [21:54:17]StoreToDocumentArchive [21:54:17]shift 84 fd 4215 [21:54:17]save to /storage/0084/doc_00004215 [21:54:17]save last doc name /storage/0084/doc_00004215 to /storage/kkm_last_doc_name [21:54:17]save OK [21:54:17]Clear old archive folders... [21:54:17]ProcessDocumentItem done err = 0, tmpTLVsize=280 [21:54:17]tlvbuf is 01969A70 [21:54:17]SAM_PROTO_ClearQueue [21:54:17]wFMCommunicate request_size=4 [21:54:17]MH_SAM_APDU [21:54:17]CAPDU: 80 09 00 00 [21:54:17]Write to MH i2c: E2 08 00 05 06 80 09 00 00 00 00 00 00 7D [21:54:17]Write i2c OK [21:54:17]MH_I2C_Read... [21:54:17]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:54:17]Read from MH i2c: E2 [21:54:17]MH_I2C_Read... [21:54:17]Read from MH i2c: E2 03 00 [21:54:17]MH_I2C_Read... [21:54:17]Read from MH i2c: E2 03 00 05 06 00 90 00 7F [21:54:17]RAPDU: 90 00 [21:54:17]wFMCommunicate OK [21:54:17]SAM_PROTO_ClearQueue done [21:54:17]KKMCreateOFDPacket [21:54:17]OFDProtocolAddRootSTLVToBuf [21:54:17]FM_MakeSignedData [21:54:17]FM_MakeSignedData [21:54:17]SAM_PROTO_SignData [21:54:17]wFMCommunicate request_size=4 [21:54:17]MH_SAM_APDU [21:54:17]CAPDU: 80 0D 01 02 [21:54:17]Write to MH i2c: E2 08 00 06 06 80 0D 01 02 00 00 00 00 85 [21:54:17]Write i2c OK [21:54:17]MH_I2C_Read... [21:54:17]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:54:18]Read from MH i2c: E2 [21:54:18]MH_I2C_Read... [21:54:18]Read from MH i2c: E2 03 00 [21:54:18]MH_I2C_Read... [21:54:18]Read from MH i2c: E2 03 00 06 06 00 90 00 80 [21:54:18]RAPDU: 90 00 [21:54:18]wFMCommunicate OK [21:54:18]wFMCommunicate request_size=255 [21:54:18]MH_SAM_APDU [21:54:18]CAPDU: 80 0D 02 02 FA 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 33 32 36 36 06 04 26 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 90 D1 82 D0 B8 D0 BB D0 BB D0 B0 20 D0 93 D1 83 D0 BD D0 BD 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 AF 00 00 00 00 13 04 06 00 C8 AF 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 49 00 00 00 F4 03 04 00 8A DE 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 [21:54:18]Write to MH i2c: E2 02 01 07 06 80 0D 02 02 FA 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 33 32 36 36 06 04 26 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 90 D1 82 D0 B8 D0 BB D0 BB D0 B0 20 D0 93 D1 83 D0 BD D0 BD 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 AF 00 00 00 00 13 04 06 00 C8 AF 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 49 00 00 00 F4 03 04 00 8A DE 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 00 00 16 [21:54:18]Write i2c OK [21:54:18]MH_I2C_Read... [21:54:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:54:18]Read from MH i2c: E2 [21:54:18]MH_I2C_Read... [21:54:18]Read from MH i2c: E2 03 00 [21:54:18]MH_I2C_Read... [21:54:18]Read from MH i2c: E2 03 00 07 06 00 90 00 81 [21:54:18]RAPDU: 90 00 [21:54:18]wFMCommunicate OK [21:54:18]wFMCommunicate request_size=39 [21:54:18]MH_SAM_APDU [21:54:18]CAPDU: 80 0D 02 02 22 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 77 10 00 00 35 04 06 00 5D D7 D6 A8 CD EC [21:54:18]Write to MH i2c: E2 2A 00 08 06 80 0D 02 02 22 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 77 10 00 00 35 04 06 00 5D D7 D6 A8 CD EC 00 00 35 [21:54:18]Write i2c OK [21:54:18]MH_I2C_Read... [21:54:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:54:18]Read from MH i2c: E2 [21:54:18]MH_I2C_Read... [21:54:18]Read from MH i2c: E2 03 00 [21:54:18]MH_I2C_Read... [21:54:18]Read from MH i2c: E2 03 00 08 06 00 90 00 82 [21:54:18]RAPDU: 90 00 [21:54:18]wFMCommunicate OK [21:54:18]wFMCommunicate request_size=4 [21:54:18]MH_SAM_APDU [21:54:18]CAPDU: 80 0D 03 02 [21:54:18]Write to MH i2c: E2 08 00 09 06 80 0D 03 02 00 00 00 00 8A [21:54:18]Write i2c OK [21:54:18]MH_I2C_Read... [21:54:18]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:54:18]Read from MH i2c: E2 [21:54:18]MH_I2C_Read... [21:54:18]Read from MH i2c: E2 0B 00 [21:54:18]MH_I2C_Read... [21:54:18]Read from MH i2c: E2 0B 00 09 06 00 16 5D 08 A0 E1 A8 22 E9 90 00 3A [21:54:18]RAPDU: 16 5D 08 A0 E1 A8 22 E9 90 00 [21:54:18]wFMCommunicate OK [21:54:18]SAM_PROTO_SignData done [21:54:18]FM_MakeSignedData done [21:54:18]CreateOFDProtocolMessage [21:54:18]wFMCommunicate request_size=4 [21:54:18]MH_SAM_APDU [21:54:18]CAPDU: 80 11 00 00 [21:54:18]Write to MH i2c: E2 08 00 0A 06 80 11 00 00 00 00 00 00 8A [21:54:18]Write i2c OK [21:54:18]MH_I2C_Read... [21:54:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:54:18]Read from MH i2c: E2 [21:54:18]MH_I2C_Read... [21:54:18]Read from MH i2c: E2 17 00 [21:54:18]MH_I2C_Read... [21:54:18]Read from MH i2c: E2 17 00 0A 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 DD [21:54:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [21:54:18]wFMCommunicate OK [21:54:18]CreateOFDProtocolMessage done [21:54:18]OFDSenderStorePacket 4215 [21:54:18]StoreOFDPacket docnum=4215 [21:54:18]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 2C 01 00 00 36 F4 24 01 F6 11 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 33 32 36 36 06 04 26 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 90 D1 82 D0 B8 D0 BB D0 BB D0 B0 20 D0 93 D1 83 D0 BD D0 BD 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 AF 00 00 00 00 13 04 06 00 C8 AF 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 49 00 00 00 F4 03 04 00 8A DE 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 77 10 00 00 35 04 06 00 5D D7 D6 A8 CD EC 16 5D 08 A0 E1 A8 22 E9 [21:54:18]CheckFolder [21:54:18]dirname=/storage/ofd_packets [21:54:18]CheckFolder done [21:54:18]ProducePacketName [21:54:18]name=ofd_packets/00004215 [21:54:18]NVStorageSaveData ofd_packets/00004215 [21:54:18]File name is /storage/ofd_packets/00004215 [21:54:18]Write 330 bytes [21:54:18]NVStorageSaveData done [21:54:18]OFDSenderStorePacket done [21:54:18]KKMCreateOFDPacket done [21:54:18]NVStorageSaveData kkm_last_timestamp [21:54:18]File name is /storage/kkm_last_timestamp [21:54:18]Write 4 bytes [21:54:18]NVStorageSaveData done [21:54:18]ExternCall_PrintAddStr [21:54:18]wPrintStart [21:54:18]Write to MH i2c: 01 00 00 0B 06 11 [21:54:18]Write i2c OK [21:54:18]MH_I2C_Read... [21:54:18]Read from MH i2c: 01 [21:54:18]MH_I2C_Read... [21:54:18]Read from MH i2c: 01 07 00 [21:54:18]MH_I2C_Read... [21:54:18]Read from MH i2c: 01 07 00 0B 06 00 00 00 00 00 FF 0F 26 [21:54:18]RasterBufferAndPrint [21:54:18]line Счет N : (3)4468 [21:54:18]line ИНН: 02508201610067 [21:54:18]line Контрольно-Кассовый Чек [21:54:18]line ПРОДАЖА [21:54:18]line Товар: 4700002083266 [21:54:18]line Водка Атилла Гунн 0,5л [21:54:18]line 1.000 * 450.00 [21:54:18]line = 450.00 [21:54:18]line НДС 12% НСП 1% [21:54:18]line > о реализуемом товаре [21:54:18]line ИТОГО: 450.00 [21:54:18]line НСП 1% : 3.98 [21:54:18]line НДС 12% : 47.79 [21:54:18]line Наличными: 450.00 [21:54:18]line Безнал.: 0.00 [21:54:18]line Место: АЗС № 116 "Партнер Нефть" [21:54:18]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [21:54:18]line СНО: Общий режим [21:54:18]line Чек 73 05.06.2024 21:54 [21:54:18]line Смена: 84 ФФД: 1.0 [21:54:18]line ЗНМ: 0300000233 [21:54:18]line РНМ: 0000000000145775 [21:54:18]line Версия ККМ: v1.0 [21:54:18]line ФМ: 0000000000959360 [21:54:18]line ФД: 4215 [21:54:18]line ФПД: 103181600738796 [21:54:18]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T215418&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4215&fm=103181600738796&tin=02508201610067®Number=0000000000145775&sum=45000 [21:54:18]line 0 [21:54:18]OFD Sender: Processing packet 4215 [packets to send 2, broken 1] [21:54:18]ProducePacketName [21:54:18]name=ofd_packets/00004215 [21:54:18]OFD Sender: To server: pG, [21:54:18]CommunicateWithHost lk.salyk.kg:30040 [21:54:18]ConnectInit lk.salyk.kg [21:54:18]written 0, free lines is 4095 [21:54:18]Connected sock=10 [21:54:18]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 2C 01 00 00 36 F4 24 01 F6 11 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 33 32 36 36 06 04 26 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 90 D1 82 D0 B8 D0 BB D0 BB D0 B0 20 D0 93 D1 83 D0 BD D0 BD 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 AF 00 00 00 00 13 04 06 00 C8 AF 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 49 00 00 00 F4 03 04 00 8A DE 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 77 10 00 00 35 04 06 00 5D D7 D6 A8 CD EC 16 5D 08 A0 E1 A8 22 E9 [21:54:19]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 FE 70 47 00 AA 0C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 77 10 00 00 F4 03 04 00 8B 8A 60 66 B6 04 01 00 00 74 F5 3C C5 26 F2 DA C2 [21:54:19]CommunicateWithHost err = 0 [21:54:19]CheckOFDResponse [21:54:19]1017 (14) - 77093643461234 [21:54:19]1041 (16) - 0000000000959360 [21:54:19]1040 (4) - 4215 [21:54:19]1012 (4) - 05.06.2024 15:55 [21:54:19]1206 (1) - 0 [21:54:19]OFD Sender: Remove packet 4215 [21:54:19]ProducePacketName [21:54:19]name=ofd_packets/00004215 [21:54:19]NVStorageDeleteData [21:54:19]Write to MH i2c: 01 00 00 33 06 39 [21:54:19]Write i2c OK [21:54:19]MH_I2C_Read... [21:54:19]Read from MH i2c: 01 [21:54:19]MH_I2C_Read... [21:54:19]Read from MH i2c: 01 07 00 [21:54:19]MH_I2C_Read... [21:54:19]Read from MH i2c: 01 07 00 33 06 00 00 00 00 00 C0 0C 0C [21:54:19]RasterBufferAndPrint [21:54:19]line [21:54:19]line [21:54:19]line [21:54:19]line [21:54:19]line [21:54:19]written 0, free lines is 3268 [21:54:19]MH_Cut [21:54:19]Write to MH i2c: D1 01 00 3A 06 01 12 [21:54:19]Write i2c OK [21:54:19]MH_I2C_Read... [21:54:19]Read from MH i2c: D1 [21:54:19]MH_I2C_Read... [21:54:19]Read from MH i2c: D1 01 00 [21:54:19]MH_I2C_Read... [21:54:19]Read from MH i2c: D1 01 00 3A 06 00 11 [21:54:19]Write to MH i2c: 01 00 00 3B 06 41 [21:54:19]Write i2c OK [21:54:19]MH_I2C_Read... [21:54:19]OFD Sender: No OFD packet to send [21:54:20]*** Cut start [21:54:20]*** Partial cut [21:54:20]*** CUTSNS_PIN = 1 [21:54:20]*** CUTSNS_PIN = 0 [21:54:20]*** Brake cut motor [21:54:20]Read from MH i2c: 01 [21:54:20]MH_I2C_Read... [21:54:20]*** Stop cut motor [21:54:20]*** Cut end [21:54:20]Read from MH i2c: 01 07 00 [21:54:20]MH_I2C_Read... [21:54:20]Read from MH i2c: 01 07 00 3B 06 00 00 00 00 00 FF 0F 56 [21:54:20]process_action close_receipt done [21:54:20]requested_data is exist [21:54:20]produce_requested_data [21:54:20]requested_item fm.sn is exist - process it [21:54:20]wFMCommunicate request_size=4 [21:54:20]MH_SAM_APDU [21:54:20]CAPDU: 80 11 00 00 [21:54:20]Write to MH i2c: E2 08 00 3C 06 80 11 00 00 00 00 00 00 BC [21:54:20]Write i2c OK [21:54:20]MH_I2C_Read... [21:54:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:54:20]Read from MH i2c: E2 [21:54:20]MH_I2C_Read... [21:54:20]Read from MH i2c: E2 17 00 [21:54:20]MH_I2C_Read... [21:54:20]Read from MH i2c: E2 17 00 3C 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 0F [21:54:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [21:54:20]wFMCommunicate OK [21:54:20]requested_item fd.num is exist - process it [21:54:20]SAM_PROTO_GetFieldsCounters [21:54:20]wFMCommunicate request_size=4 [21:54:20]MH_SAM_APDU [21:54:20]CAPDU: 80 13 00 00 [21:54:20]Write to MH i2c: E2 08 00 3D 06 80 13 00 00 00 00 00 00 BF [21:54:20]Write i2c OK [21:54:20]MH_I2C_Read... [21:54:20]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:54:20]Read from MH i2c: E2 [21:54:20]MH_I2C_Read... [21:54:20]Read from MH i2c: E2 62 00 [21:54:20]MH_I2C_Read... [21:54:20]Read from MH i2c: E2 62 00 3D 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 77 10 00 00 0E 04 04 00 54 00 00 00 12 04 04 00 49 00 00 00 5E 04 04 00 49 00 00 00 57 04 04 00 4A 00 00 00 19 04 04 00 00 00 00 00 90 00 9A [21:54:20]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 77 10 00 00 0E 04 04 00 54 00 00 00 12 04 04 00 49 00 00 00 5E 04 04 00 49 00 00 00 57 04 04 00 4A 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:54:20]wFMCommunicate OK [21:54:20]SAM_PROTO_GetFieldsCounters done [21:54:20]requested_item shift.num is exist - process it [21:54:20]requested_item shift.opened is exist - process it [21:54:20]req_shift_opened [21:54:20]FM_GetShiftState [21:54:20]SAM_PROTO_GetShiftState [21:54:20]wFMCommunicate request_size=4 [21:54:20]MH_SAM_APDU [21:54:20]CAPDU: 80 13 01 00 [21:54:20]Write to MH i2c: E2 08 00 3E 06 80 13 01 00 00 00 00 00 C1 [21:54:20]Write i2c OK [21:54:20]MH_I2C_Read... [21:54:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:54:20]Read from MH i2c: E2 [21:54:20]MH_I2C_Read... [21:54:20]Read from MH i2c: E2 0E 00 [21:54:20]MH_I2C_Read... [21:54:20]Read from MH i2c: E2 0E 00 3E 06 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 62 [21:54:20]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [21:54:20]wFMCommunicate OK [21:54:20]SAM_PROTO_GetShiftState done [21:54:20]FM_GetShiftState done [21:54:20]req_shift_opened done [21:54:20]requested_item shift.open_date is exist - process it [21:54:20]req_shift_open_date [21:54:20]req_shift_open_date done [21:54:20]produce_requested_data done [21:54:20]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4215,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765} [21:54:20]process_action_free close_receipt [21:54:20]json_value_free [21:54:20]json_value_free done [21:54:20]process_json_proto returns [21:54:20]Send response to host [21:54:20]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4215,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765}}} [21:54:20]free response buf [21:54:20]execute_script done [21:54:20]execute_script returns [21:54:20]free content buf [21:54:20]Sock 8.Close socket [21:54:20]Sock 8.Thread stoped [21:54:24]OFD Sender: No OFD packet to send [21:54:29]OFD Sender: No OFD packet to send [21:54:34]OFD Sender: No OFD packet to send [21:54:39]OFD Sender: No OFD packet to send [21:54:44]OFD Sender: No OFD packet to send [21:54:45]accept exits with 9 [21:54:45]New connection [21:54:45]New thread 3066629476 created [21:54:45]Thread 3066772836 joined [21:54:45]Waiting for new connection... [21:54:45] Sock 9.Parse request [21:54:45]Sock 9.Check first char [21:54:45]Sock 9.First char is OK [21:54:45]request: POST /json_proto HTTP/1.0 [21:54:45]Method: POST [21:54:45]URL: /json_proto [21:54:45]Method is POST - this is cgi request [21:54:45]url: /json_proto [21:54:45]query_string will be loaded in cgi processing [21:54:45]execute_cgi json_proto POST (null) [21:54:45]execute_cgi path=json_proto method=POST [21:54:45]POST find Content-Length [21:54:45]Host: 172.17.56.68:8080 [21:54:45]Content-Length: 844 [21:54:45]Content-Type: application/json [21:54:45] [21:54:45]POST finish read [21:54:45]Found Content-Length = 844 [21:54:45]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4469", "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 }]} ,{ "code": "46231529", "name": "Mentos \u041F\u0424 \u0410\u0440\u0431\u0443\u0437 6*100*2", "price" : 10.00, "quantity" : 1.000, "sum" : 10.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 150.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:54:45]execute_script... [21:54:45]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4469", "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 }]} ,{ "code": "46231529", "name": "Mentos \u041F\u0424 \u0410\u0440\u0431\u0443\u0437 6*100*2", "price" : 10.00, "quantity" : 1.000, "sum" : 10.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 150.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:54:45]POST & json_proto [21:54:45]process_json_proto [21:54:45]json parsed OK: [21:54:45]protocol is kg_v1.0 [21:54:45]action value=close_receipt [21:54:45]process_action close_receipt [21:54:45]cmd_close_receipt [21:54:45]MH_GetDate [21:54:45]Write to MH i2c: F0 00 00 3F 06 34 [21:54:45]Write i2c OK [21:54:45]MH_I2C_Read... [21:54:45]Read from MH i2c: F0 [21:54:45]MH_I2C_Read... [21:54:45]Read from MH i2c: F0 09 00 [21:54:45]MH_I2C_Read... [21:54:45]Read from MH i2c: F0 09 00 3F 06 00 A7 DE 60 66 3A 8F 60 66 17 [21:54:45]GetLastDocTimeStamp 1717624458 [21:54:45]current date 1717624487 [21:54:45]FM_GetShiftState [21:54:45]SAM_PROTO_GetShiftState [21:54:45]wFMCommunicate request_size=4 [21:54:45]MH_SAM_APDU [21:54:45]CAPDU: 80 13 01 00 [21:54:45]Write to MH i2c: E2 08 00 40 06 80 13 01 00 00 00 00 00 C3 [21:54:45]Write i2c OK [21:54:45]MH_I2C_Read... [21:54:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:54:46]Read from MH i2c: E2 [21:54:46]MH_I2C_Read... [21:54:46]Read from MH i2c: E2 0E 00 [21:54:46]MH_I2C_Read... [21:54:46]Read from MH i2c: E2 0E 00 40 06 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 64 [21:54:46]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [21:54:46]wFMCommunicate OK [21:54:46]SAM_PROTO_GetShiftState done [21:54:46]FM_GetShiftState done [21:54:46]opened in 1717545765 [21:54:46]opened+sec_in_day 1717632165 [21:54:46]quantity*price = 14000 [21:54:46]sum+1 = 14001 [21:54:46]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 46231529 Mentos ПФ Арбуз 6*100*2 1.000 * 10.00 = 10.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 150.00 НСП 1% : 1.33 НДС 12% : 15.93 Наличными: 150.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 74 05.06.2024 21:54 Смена: 84 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4216 ФПД: 106950923338483 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T215447&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4216&fm=106950923338483&tin=02508201610067®Number=0000000000145775&sum=15000 0 [21:54:47]StoreToDocumentArchive [21:54:47]shift 84 fd 4216 [21:54:47]save to /storage/0084/doc_00004216 [21:54:47]save last doc name /storage/0084/doc_00004216 to /storage/kkm_last_doc_name [21:54:47]save OK [21:54:47]Clear old archive folders... [21:54:47]ProcessDocumentItem done err = 0, tmpTLVsize=370 [21:54:47]tlvbuf is 01969660 [21:54:47]SAM_PROTO_ClearQueue [21:54:47]wFMCommunicate request_size=4 [21:54:47]MH_SAM_APDU [21:54:47]CAPDU: 80 09 00 00 [21:54:47]Write to MH i2c: E2 08 00 4D 06 80 09 00 00 00 00 00 00 C5 [21:54:47]Write i2c OK [21:54:47]MH_I2C_Read... [21:54:47]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:54:47]Read from MH i2c: E2 [21:54:47]MH_I2C_Read... [21:54:47]Read from MH i2c: E2 03 00 [21:54:47]MH_I2C_Read... [21:54:47]Read from MH i2c: E2 03 00 4D 06 00 90 00 C7 [21:54:47]RAPDU: 90 00 [21:54:47]wFMCommunicate OK [21:54:47]SAM_PROTO_ClearQueue done [21:54:47]KKMCreateOFDPacket [21:54:47]OFDProtocolAddRootSTLVToBuf [21:54:47]FM_MakeSignedData [21:54:47]FM_MakeSignedData [21:54:47]SAM_PROTO_SignData [21:54:47]wFMCommunicate request_size=4 [21:54:47]MH_SAM_APDU [21:54:47]CAPDU: 80 0D 01 02 [21:54:47]Write to MH i2c: E2 08 00 4E 06 80 0D 01 02 00 00 00 00 CD [21:54:47]Write i2c OK [21:54:47]MH_I2C_Read... [21:54:47]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:54:47]Read from MH i2c: E2 [21:54:47]MH_I2C_Read... [21:54:47]Read from MH i2c: E2 03 00 [21:54:47]MH_I2C_Read... [21:54:47]Read from MH i2c: E2 03 00 4E 06 00 90 00 C8 [21:54:47]RAPDU: 90 00 [21:54:47]wFMCommunicate OK [21:54:47]wFMCommunicate request_size=255 [21:54:47]MH_SAM_APDU [21:54:47]CAPDU: 80 0D 02 02 FA 03 00 72 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 23 04 5D 00 8A 04 08 00 34 36 32 33 31 35 32 39 06 04 1E 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 90 D1 80 D0 B1 D1 83 D0 B7 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 [21:54:47]Write to MH i2c: E2 02 01 4F 06 80 0D 02 02 FA 00 03 00 72 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 23 04 5D 00 8A 04 08 00 34 36 32 33 31 35 32 39 06 04 1E 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 90 D1 80 D0 B1 D1 83 D0 B7 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 00 00 0F [21:54:47]Write i2c OK [21:54:47]MH_I2C_Read... [21:54:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:54:47]Read from MH i2c: E2 [21:54:47]MH_I2C_Read... [21:54:47]Read from MH i2c: E2 03 00 [21:54:47]MH_I2C_Read... [21:54:47]Read from MH i2c: E2 03 00 4F 06 00 90 00 C9 [21:54:47]RAPDU: 90 00 [21:54:47]wFMCommunicate OK [21:54:47]wFMCommunicate request_size=129 [21:54:47]MH_SAM_APDU [21:54:47]CAPDU: 80 0D 02 02 7C 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4A 00 00 00 F4 03 04 00 A7 DE 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 78 10 00 00 35 04 06 00 61 45 73 CB 42 F3 [21:54:47]Write to MH i2c: E2 84 00 50 06 80 0D 02 02 7C 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4A 00 00 00 F4 03 04 00 A7 DE 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 78 10 00 00 35 04 06 00 61 45 73 CB 42 F3 00 00 9E [21:54:47]Write i2c OK [21:54:47]MH_I2C_Read... [21:54:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:54:47]Read from MH i2c: E2 [21:54:47]MH_I2C_Read... [21:54:47]Read from MH i2c: E2 03 00 [21:54:47]MH_I2C_Read... [21:54:47]Read from MH i2c: E2 03 00 50 06 00 90 00 CA [21:54:47]RAPDU: 90 00 [21:54:47]wFMCommunicate OK [21:54:47]wFMCommunicate request_size=4 [21:54:47]MH_SAM_APDU [21:54:47]CAPDU: 80 0D 03 02 [21:54:47]Write to MH i2c: E2 08 00 51 06 80 0D 03 02 00 00 00 00 D2 [21:54:47]Write i2c OK [21:54:47]MH_I2C_Read... [21:54:47]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:54:47]Read from MH i2c: E2 [21:54:47]MH_I2C_Read... [21:54:47]Read from MH i2c: E2 0B 00 [21:54:47]MH_I2C_Read... [21:54:47]Read from MH i2c: E2 0B 00 51 06 00 5A CE 4D BB AD 3E BF 91 90 00 3E [21:54:47]RAPDU: 5A CE 4D BB AD 3E BF 91 90 00 [21:54:47]wFMCommunicate OK [21:54:47]SAM_PROTO_SignData done [21:54:47]FM_MakeSignedData done [21:54:47]CreateOFDProtocolMessage [21:54:47]wFMCommunicate request_size=4 [21:54:47]MH_SAM_APDU [21:54:47]CAPDU: 80 11 00 00 [21:54:47]Write to MH i2c: E2 08 00 52 06 80 11 00 00 00 00 00 00 D2 [21:54:47]Write i2c OK [21:54:47]MH_I2C_Read... [21:54:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:54:47]Read from MH i2c: E2 [21:54:47]MH_I2C_Read... [21:54:47]Read from MH i2c: E2 17 00 [21:54:47]MH_I2C_Read... [21:54:47]Read from MH i2c: E2 17 00 52 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 25 [21:54:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [21:54:47]wFMCommunicate OK [21:54:47]CreateOFDProtocolMessage done [21:54:47]OFDSenderStorePacket 4216 [21:54:47]StoreOFDPacket docnum=4216 [21:54:47]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 86 01 00 00 C8 90 7E 01 4E FF 5A 03 01 00 03 00 72 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 23 04 5D 00 8A 04 08 00 34 36 32 33 31 35 32 39 06 04 1E 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 90 D1 80 D0 B1 D1 83 D0 B7 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4A 00 00 00 F4 03 04 00 A7 DE 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 78 10 00 00 35 04 06 00 61 45 73 CB 42 F3 5A CE 4D BB AD 3E BF 91 [21:54:47]CheckFolder [21:54:47]dirname=/storage/ofd_packets [21:54:47]CheckFolder done [21:54:47]ProducePacketName [21:54:47]name=ofd_packets/00004216 [21:54:47]NVStorageSaveData ofd_packets/00004216 [21:54:47]File name is /storage/ofd_packets/00004216 [21:54:47]Write 420 bytes [21:54:47]NVStorageSaveData done [21:54:47]OFDSenderStorePacket done [21:54:47]KKMCreateOFDPacket done [21:54:47]NVStorageSaveData kkm_last_timestamp [21:54:47]File name is /storage/kkm_last_timestamp [21:54:47]Write 4 bytes [21:54:47]NVStorageSaveData done [21:54:47]ExternCall_PrintAddStr [21:54:47]wPrintStart [21:54:47]Write to MH i2c: 01 00 00 53 06 59 [21:54:47]Write i2c OK [21:54:47]MH_I2C_Read... [21:54:47]Read from MH i2c: 01 [21:54:47]MH_I2C_Read... [21:54:47]Read from MH i2c: 01 07 00 [21:54:47]MH_I2C_Read... [21:54:47]Read from MH i2c: 01 07 00 53 06 00 00 00 00 00 FF 0F 6E [21:54:47]RasterBufferAndPrint [21:54:47]line Счет N : (3)4469 [21:54:47]line ИНН: 02508201610067 [21:54:47]line Контрольно-Кассовый Чек [21:54:47]line ПРОДАЖА [21:54:47]line Товар: 48747059 [21:54:47]line Сигареты Winston Legend Blue [21:54:47]line 1.000 * 140.00 [21:54:47]line = 140.00 [21:54:47]line НДС 12% НСП 1% [21:54:48]line > о реализуемом товаре [21:54:48]line Товар: 46231529 [21:54:48]line Mentos ПФ Арбуз 6*100*2 [21:54:48]line 1.000 * 10.00 [21:54:48]line = 10.00 [21:54:48]line НДС 12% НСП 1% [21:54:48]line > о реализуемом товаре [21:54:48]line ИТОГО: 150.00 [21:54:48]line НСП 1% : 1.33 [21:54:48]line НДС 12% : 15.93 [21:54:48]line Наличными: 150.00 [21:54:48]line Безнал.: 0.00 [21:54:48]line Место: АЗС № 116 "Партнер Нефть" [21:54:48]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [21:54:48]line СНО: Общий режим [21:54:48]line Чек 74 05.06.2024 21:54 [21:54:48]line Смена: 84 ФФД: 1.0 [21:54:48]line ЗНМ: 0300000233 [21:54:48]line РНМ: 0000000000145775 [21:54:48]line Версия ККМ: v1.0 [21:54:48]line ФМ: 0000000000959360 [21:54:48]line ФД: 4216 [21:54:48]line ФПД: 106950923338483 [21:54:48]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T215447&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4216&fm=106950923338483&tin=02508201610067®Number=0000000000145775&sum=15000 [21:54:48]line 0 [21:54:48]OFD Sender: Processing packet 4216 [packets to send 2, broken 1] [21:54:48]ProducePacketName [21:54:48]name=ofd_packets/00004216 [21:54:48]OFD Sender: To server: pG, [21:54:48]CommunicateWithHost lk.salyk.kg:30040 [21:54:48]ConnectInit lk.salyk.kg [21:54:48]written 0, free lines is 4095 [21:54:48]Connected sock=10 [21:54:48]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 86 01 00 00 C8 90 7E 01 4E FF 5A 03 01 00 03 00 72 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 23 04 5D 00 8A 04 08 00 34 36 32 33 31 35 32 39 06 04 1E 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 90 D1 80 D0 B1 D1 83 D0 B7 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4A 00 00 00 F4 03 04 00 A7 DE 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 78 10 00 00 35 04 06 00 61 45 73 CB 42 F3 5A CE 4D BB AD 3E BF 91 [21:54:48]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 EC 85 47 00 1C 26 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 78 10 00 00 F4 03 04 00 A9 8A 60 66 B6 04 01 00 00 34 09 65 43 BC 37 5E 1F [21:54:48]CommunicateWithHost err = 0 [21:54:48]CheckOFDResponse [21:54:48]1017 (14) - 77093643461234 [21:54:48]1041 (16) - 0000000000959360 [21:54:48]1040 (4) - 4216 [21:54:48]1012 (4) - 05.06.2024 15:56 [21:54:48]1206 (1) - 0 [21:54:48]OFD Sender: Remove packet 4216 [21:54:48]ProducePacketName [21:54:48]name=ofd_packets/00004216 [21:54:48]NVStorageDeleteData [21:54:48]Write to MH i2c: 01 00 00 82 06 88 [21:54:48]Write i2c OK [21:54:48]MH_I2C_Read... [21:54:48]Read from MH i2c: 01 [21:54:48]MH_I2C_Read... [21:54:48]Read from MH i2c: 01 07 00 [21:54:48]MH_I2C_Read... [21:54:48]Read from MH i2c: 01 07 00 82 06 00 00 00 00 00 41 0C DC [21:54:48]RasterBufferAndPrint [21:54:48]line [21:54:48]line [21:54:48]line [21:54:48]line [21:54:48]line [21:54:48]written 0, free lines is 3142 [21:54:48]MH_Cut [21:54:48]Write to MH i2c: D1 01 00 89 06 01 61 [21:54:48]Write i2c OK [21:54:48]MH_I2C_Read... [21:54:48]Read from MH i2c: D1 [21:54:48]MH_I2C_Read... [21:54:48]Read from MH i2c: D1 01 00 [21:54:48]MH_I2C_Read... [21:54:48]Read from MH i2c: D1 01 00 89 06 00 60 [21:54:48]Write to MH i2c: 01 00 00 8A 06 90 [21:54:48]Write i2c OK [21:54:48]MH_I2C_Read... [21:54:48]OFD Sender: No OFD packet to send [21:54:49]*** Cut start [21:54:49]*** Partial cut [21:54:49]*** CUTSNS_PIN = 1 [21:54:49]*** CUTSNS_PIN = 0 [21:54:49]*** Brake cut motor [21:54:50]Read from MH i2c: 01 [21:54:50]MH_I2C_Read... [21:54:50]*** Stop cut motor [21:54:50]*** Cut end [21:54:50]Read from MH i2c: 01 07 00 [21:54:50]MH_I2C_Read... [21:54:50]Read from MH i2c: 01 07 00 8A 06 00 00 00 00 00 FF 0F A5 [21:54:50]process_action close_receipt done [21:54:50]requested_data is exist [21:54:50]produce_requested_data [21:54:50]requested_item fm.sn is exist - process it [21:54:50]wFMCommunicate request_size=4 [21:54:50]MH_SAM_APDU [21:54:50]CAPDU: 80 11 00 00 [21:54:50]Write to MH i2c: E2 08 00 8B 06 80 11 00 00 00 00 00 00 0B [21:54:50]Write i2c OK [21:54:50]MH_I2C_Read... [21:54:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:54:50]Read from MH i2c: E2 [21:54:50]MH_I2C_Read... [21:54:50]Read from MH i2c: E2 17 00 [21:54:50]MH_I2C_Read... [21:54:50]Read from MH i2c: E2 17 00 8B 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 5E [21:54:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [21:54:50]wFMCommunicate OK [21:54:50]requested_item fd.num is exist - process it [21:54:50]SAM_PROTO_GetFieldsCounters [21:54:50]wFMCommunicate request_size=4 [21:54:50]MH_SAM_APDU [21:54:50]CAPDU: 80 13 00 00 [21:54:50]Write to MH i2c: E2 08 00 8C 06 80 13 00 00 00 00 00 00 0E [21:54:50]Write i2c OK [21:54:50]MH_I2C_Read... [21:54:50]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:54:50]Read from MH i2c: E2 [21:54:50]MH_I2C_Read... [21:54:50]Read from MH i2c: E2 62 00 [21:54:50]MH_I2C_Read... [21:54:50]Read from MH i2c: E2 62 00 8C 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 78 10 00 00 0E 04 04 00 54 00 00 00 12 04 04 00 4A 00 00 00 5E 04 04 00 4A 00 00 00 57 04 04 00 4B 00 00 00 19 04 04 00 00 00 00 00 90 00 ED [21:54:50]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 78 10 00 00 0E 04 04 00 54 00 00 00 12 04 04 00 4A 00 00 00 5E 04 04 00 4A 00 00 00 57 04 04 00 4B 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:54:50]wFMCommunicate OK [21:54:50]SAM_PROTO_GetFieldsCounters done [21:54:50]requested_item shift.num is exist - process it [21:54:50]requested_item shift.opened is exist - process it [21:54:50]req_shift_opened [21:54:50]FM_GetShiftState [21:54:50]SAM_PROTO_GetShiftState [21:54:50]wFMCommunicate request_size=4 [21:54:50]MH_SAM_APDU [21:54:50]CAPDU: 80 13 01 00 [21:54:50]Write to MH i2c: E2 08 00 8D 06 80 13 01 00 00 00 00 00 10 [21:54:50]Write i2c OK [21:54:50]MH_I2C_Read... [21:54:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:54:50]Read from MH i2c: E2 [21:54:50]MH_I2C_Read... [21:54:50]Read from MH i2c: E2 0E 00 [21:54:50]MH_I2C_Read... [21:54:50]Read from MH i2c: E2 0E 00 8D 06 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 B1 [21:54:50]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [21:54:50]wFMCommunicate OK [21:54:50]SAM_PROTO_GetShiftState done [21:54:50]FM_GetShiftState done [21:54:50]req_shift_opened done [21:54:50]requested_item shift.open_date is exist - process it [21:54:50]req_shift_open_date [21:54:50]req_shift_open_date done [21:54:50]produce_requested_data done [21:54:50]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4216,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765} [21:54:50]process_action_free close_receipt [21:54:50]json_value_free [21:54:50]json_value_free done [21:54:50]process_json_proto returns [21:54:50]Send response to host [21:54:50]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4216,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765}}} [21:54:50]free response buf [21:54:50]execute_script done [21:54:50]execute_script returns [21:54:50]free content buf [21:54:50]Sock 9.Close socket [21:54:50]Sock 9.Thread stoped [21:54:53]OFD Sender: No OFD packet to send [21:54:58]OFD Sender: No OFD packet to send [21:55:03]OFD Sender: No OFD packet to send [21:55:08]OFD Sender: No OFD packet to send [21:55:13]OFD Sender: No OFD packet to send [21:55:18]OFD Sender: No OFD packet to send [21:55:23]OFD Sender: No OFD packet to send [21:55:28]OFD Sender: No OFD packet to send [21:55:33]OFD Sender: No OFD packet to send [21:55:34]accept exits with 8 [21:55:34]New connection [21:55:34]New thread 3066772836 created [21:55:34]Thread 3066629476 joined [21:55:34]Waiting for new connection... [21:55:34] Sock 8.Parse request [21:55:34]Sock 8.Check first char [21:55:34]Sock 8.First char is OK [21:55:34]request: POST /json_proto HTTP/1.0 [21:55:34]Method: POST [21:55:34]URL: /json_proto [21:55:34]Method is POST - this is cgi request [21:55:34]url: /json_proto [21:55:34]query_string will be loaded in cgi processing [21:55:34]execute_cgi json_proto POST (null) [21:55:34]execute_cgi path=json_proto method=POST [21:55:34]POST find Content-Length [21:55:34]Host: 172.17.56.68:8080 [21:55:34]Content-Length: 685 [21:55:34]Content-Type: application/json [21:55:34] [21:55:34]POST finish read [21:55:34]Found Content-Length = 685 [21:55:34]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4470", "tax_sys" : 0, "items" : [ { "code": "4700003010032", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B Let`s Go! \u0447\u0435\u0440 \u043F\u0435\u0440\u0441\u0438\u043A \u041F\u042D\u0422 0,5\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 50.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:55:34]execute_script... [21:55: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)4470", "tax_sys" : 0, "items" : [ { "code": "4700003010032", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B Let`s Go! \u0447\u0435\u0440 \u043F\u0435\u0440\u0441\u0438\u043A \u041F\u042D\u0422 0,5\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 50.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:55:34]POST & json_proto [21:55:34]process_json_proto [21:55:34]json parsed OK: [21:55:34]protocol is kg_v1.0 [21:55:34]action value=close_receipt [21:55:34]process_action close_receipt [21:55:34]cmd_close_receipt [21:55:34]MH_GetDate [21:55:34]Write to MH i2c: F0 00 00 8E 06 83 [21:55:34]Write i2c OK [21:55:34]MH_I2C_Read... [21:55:34]Read from MH i2c: F0 [21:55:34]MH_I2C_Read... [21:55:34]Read from MH i2c: F0 09 00 [21:55:34]MH_I2C_Read... [21:55:34]Read from MH i2c: F0 09 00 8E 06 00 D8 DE 60 66 3A 8F 60 66 97 [21:55:34]GetLastDocTimeStamp 1717624487 [21:55:34]current date 1717624536 [21:55:34]FM_GetShiftState [21:55:34]SAM_PROTO_GetShiftState [21:55:34]wFMCommunicate request_size=4 [21:55:34]MH_SAM_APDU [21:55:34]CAPDU: 80 13 01 00 [21:55:34]Write to MH i2c: E2 08 00 8F 06 80 13 01 00 00 00 00 00 12 [21:55:34]Write i2c OK [21:55:34]MH_I2C_Read... [21:55:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:55:34]Read from MH i2c: E2 [21:55:34]MH_I2C_Read... [21:55:34]Read from MH i2c: E2 0E 00 [21:55:34]MH_I2C_Read... [21:55:34]Read from MH i2c: E2 0E 00 8F 06 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 B3 [21:55:34]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [21:55:34]wFMCommunicate OK [21:55:34]SAM_PROTO_GetShiftState done [21:55:34]FM_GetShiftState done [21:55:34]opened in 1717545765 [21:55:34]opened+sec_in_day 1717632165 [21:55:34]quantity*price = 5000 [21:55:34]sum+1 = 5001 [21:55:34]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 50.00 НСП 1% : 0.44 НДС 12% : 5.31 Наличными: 50.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 75 05.06.2024 21:55 Смена: 84 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4217 ФПД: 20828826455096 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T215536&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4217&fm=20828826455096&tin=02508201610067®Number=0000000000145775&sum=5000 0 [21:55:36]StoreToDocumentArchive [21:55:36]shift 84 fd 4217 [21:55:36]save to /storage/0084/doc_00004217 [21:55:36]save last doc name /storage/0084/doc_00004217 to /storage/kkm_last_doc_name [21:55:36]save OK [21:55:36]Clear old archive folders... [21:55:36]ProcessDocumentItem done err = 0, tmpTLVsize=298 [21:55:36]tlvbuf is 019B4510 [21:55:36]SAM_PROTO_ClearQueue [21:55:36]wFMCommunicate request_size=4 [21:55:36]MH_SAM_APDU [21:55:36]CAPDU: 80 09 00 00 [21:55:36]Write to MH i2c: E2 08 00 9C 06 80 09 00 00 00 00 00 00 14 [21:55:36]Write i2c OK [21:55:36]MH_I2C_Read... [21:55:36]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:55:36]Read from MH i2c: E2 [21:55:36]MH_I2C_Read... [21:55:36]Read from MH i2c: E2 03 00 [21:55:36]MH_I2C_Read... [21:55:36]Read from MH i2c: E2 03 00 9C 06 00 90 00 16 [21:55:36]RAPDU: 90 00 [21:55:36]wFMCommunicate OK [21:55:36]SAM_PROTO_ClearQueue done [21:55:36]KKMCreateOFDPacket [21:55:36]OFDProtocolAddRootSTLVToBuf [21:55:36]FM_MakeSignedData [21:55:36]FM_MakeSignedData [21:55:36]SAM_PROTO_SignData [21:55:36]wFMCommunicate request_size=4 [21:55:36]MH_SAM_APDU [21:55:36]CAPDU: 80 0D 01 02 [21:55:36]Write to MH i2c: E2 08 00 9D 06 80 0D 01 02 00 00 00 00 1C [21:55:36]Write i2c OK [21:55:36]MH_I2C_Read... [21:55:36]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:55:36]Read from MH i2c: E2 [21:55:36]MH_I2C_Read... [21:55:36]Read from MH i2c: E2 03 00 [21:55:36]MH_I2C_Read... [21:55:36]Read from MH i2c: E2 03 00 9D 06 00 90 00 17 [21:55:36]RAPDU: 90 00 [21:55:36]wFMCommunicate OK [21:55:36]wFMCommunicate request_size=255 [21:55:36]MH_SAM_APDU [21:55:36]CAPDU: 80 0D 02 02 FA 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 33 32 06 04 38 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4B 00 00 00 F4 03 04 00 D8 DE 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 [21:55:36]Write to MH i2c: E2 02 01 9E 06 80 0D 02 02 FA 00 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 33 32 06 04 38 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4B 00 00 00 F4 03 04 00 D8 DE 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 00 00 37 [21:55:36]Write i2c OK [21:55:36]MH_I2C_Read... [21:55:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:55:36]Read from MH i2c: E2 [21:55:36]MH_I2C_Read... [21:55:36]Read from MH i2c: E2 03 00 [21:55:36]MH_I2C_Read... [21:55:36]Read from MH i2c: E2 03 00 9E 06 00 90 00 18 [21:55:36]RAPDU: 90 00 [21:55:36]wFMCommunicate OK [21:55:36]wFMCommunicate request_size=57 [21:55:36]MH_SAM_APDU [21:55:36]CAPDU: 80 0D 02 02 34 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 79 10 00 00 35 04 06 00 12 F1 96 CD 4C 38 [21:55:36]Write to MH i2c: E2 3C 00 9F 06 80 0D 02 02 34 00 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 79 10 00 00 35 04 06 00 12 F1 96 CD 4C 38 00 00 53 [21:55:36]Write i2c OK [21:55:36]MH_I2C_Read... [21:55:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:55:36]Read from MH i2c: E2 [21:55:36]MH_I2C_Read... [21:55:36]Read from MH i2c: E2 03 00 [21:55:36]MH_I2C_Read... [21:55:36]Read from MH i2c: E2 03 00 9F 06 00 90 00 19 [21:55:36]RAPDU: 90 00 [21:55:36]wFMCommunicate OK [21:55:36]wFMCommunicate request_size=4 [21:55:36]MH_SAM_APDU [21:55:36]CAPDU: 80 0D 03 02 [21:55:36]Write to MH i2c: E2 08 00 A0 06 80 0D 03 02 00 00 00 00 21 [21:55:36]Write i2c OK [21:55:36]MH_I2C_Read... [21:55:36]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:55:36]Read from MH i2c: E2 [21:55:36]MH_I2C_Read... [21:55:36]Read from MH i2c: E2 0B 00 [21:55:36]MH_I2C_Read... [21:55:36]Read from MH i2c: E2 0B 00 A0 06 00 09 2B 40 0E 8F 17 1B AF 90 00 14 [21:55:36]RAPDU: 09 2B 40 0E 8F 17 1B AF 90 00 [21:55:36]wFMCommunicate OK [21:55:36]SAM_PROTO_SignData done [21:55:36]FM_MakeSignedData done [21:55:36]CreateOFDProtocolMessage [21:55:36]wFMCommunicate request_size=4 [21:55:36]MH_SAM_APDU [21:55:36]CAPDU: 80 11 00 00 [21:55:36]Write to MH i2c: E2 08 00 A1 06 80 11 00 00 00 00 00 00 21 [21:55:36]Write i2c OK [21:55:36]MH_I2C_Read... [21:55:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:55:36]Read from MH i2c: E2 [21:55:36]MH_I2C_Read... [21:55:36]Read from MH i2c: E2 17 00 [21:55:36]MH_I2C_Read... [21:55:36]Read from MH i2c: E2 17 00 A1 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 74 [21:55:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [21:55:36]wFMCommunicate OK [21:55:36]CreateOFDProtocolMessage done [21:55:36]OFDSenderStorePacket 4217 [21:55:36]StoreOFDPacket docnum=4217 [21:55:36]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 3E 01 00 00 01 E2 36 01 F5 31 5A 03 01 00 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 33 32 06 04 38 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4B 00 00 00 F4 03 04 00 D8 DE 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 79 10 00 00 35 04 06 00 12 F1 96 CD 4C 38 09 2B 40 0E 8F 17 1B AF [21:55:36]CheckFolder [21:55:36]dirname=/storage/ofd_packets [21:55:36]CheckFolder done [21:55:36]ProducePacketName [21:55:36]name=ofd_packets/00004217 [21:55:36]NVStorageSaveData ofd_packets/00004217 [21:55:36]File name is /storage/ofd_packets/00004217 [21:55:36]Write 348 bytes [21:55:36]NVStorageSaveData done [21:55:36]OFDSenderStorePacket done [21:55:36]KKMCreateOFDPacket done [21:55:36]NVStorageSaveData kkm_last_timestamp [21:55:36]File name is /storage/kkm_last_timestamp [21:55:36]Write 4 bytes [21:55:36]NVStorageSaveData done [21:55:36]ExternCall_PrintAddStr [21:55:36]wPrintStart [21:55:36]Write to MH i2c: 01 00 00 A2 06 A8 [21:55:36]Write i2c OK [21:55:36]MH_I2C_Read... [21:55:36]Read from MH i2c: 01 [21:55:36]MH_I2C_Read... [21:55:36]Read from MH i2c: 01 07 00 [21:55:36]MH_I2C_Read... [21:55:36]Read from MH i2c: 01 07 00 A2 06 00 00 00 00 00 FF 0F BD [21:55:36]RasterBufferAndPrint [21:55:36]line Счет N : (3)4470 [21:55:36]line ИНН: 02508201610067 [21:55:36]line Контрольно-Кассовый Чек [21:55:36]line ПРОДАЖА [21:55:36]line Товар: 4700003010032 [21:55:36]line Чай хол Let`s Go! чер персик ПЭТ 0,5л [21:55:36]line 1.000 * 50.00 [21:55:36]line = 50.00 [21:55:36]line НДС 12% НСП 1% [21:55:36]line > о реализуемом товаре [21:55:36]line ИТОГО: 50.00 [21:55:36]line НСП 1% : 0.44 [21:55:36]line НДС 12% : 5.31 [21:55:36]line Наличными: 50.00 [21:55:36]line Безнал.: 0.00 [21:55:36]line Место: АЗС № 116 "Партнер Нефть" [21:55:36]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [21:55:36]line СНО: Общий режим [21:55:36]line Чек 75 05.06.2024 21:55 [21:55:36]line Смена: 84 ФФД: 1.0 [21:55:36]line ЗНМ: 0300000233 [21:55:36]line РНМ: 0000000000145775 [21:55:36]line Версия ККМ: v1.0 [21:55:36]line ФМ: 0000000000959360 [21:55:36]line ФД: 4217 [21:55:36]line ФПД: 20828826455096 [21:55:36]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T215536&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4217&fm=20828826455096&tin=02508201610067®Number=0000000000145775&sum=5000 [21:55:36]line 0 [21:55:36]OFD Sender: Processing packet 4217 [packets to send 2, broken 1] [21:55:36]ProducePacketName [21:55:36]name=ofd_packets/00004217 [21:55:36]OFD Sender: To server: pG, [21:55:36]CommunicateWithHost lk.salyk.kg:30040 [21:55:36]ConnectInit lk.salyk.kg [21:55:36]written 0, free lines is 4095 [21:55:37]Connected sock=10 [21:55:37]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 3E 01 00 00 01 E2 36 01 F5 31 5A 03 01 00 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 33 32 06 04 38 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4B 00 00 00 F4 03 04 00 D8 DE 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 79 10 00 00 35 04 06 00 12 F1 96 CD 4C 38 09 2B 40 0E 8F 17 1B AF [21:55:37]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 71 30 47 00 43 F8 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 79 10 00 00 F4 03 04 00 DA 8A 60 66 B6 04 01 00 00 6A 7E 09 55 46 5E 55 42 [21:55:37]CommunicateWithHost err = 0 [21:55:37]CheckOFDResponse [21:55:37]1017 (14) - 77093643461234 [21:55:37]1041 (16) - 0000000000959360 [21:55:37]1040 (4) - 4217 [21:55:37]1012 (4) - 05.06.2024 15:57 [21:55:37]1206 (1) - 0 [21:55:37]OFD Sender: Remove packet 4217 [21:55:37]ProducePacketName [21:55:37]name=ofd_packets/00004217 [21:55:37]NVStorageDeleteData [21:55:37]Write to MH i2c: 01 00 00 CB 06 D1 [21:55:37]Write i2c OK [21:55:37]MH_I2C_Read... [21:55:37]Read from MH i2c: 01 [21:55:37]MH_I2C_Read... [21:55:37]Read from MH i2c: 01 07 00 [21:55:37]MH_I2C_Read... [21:55:37]Read from MH i2c: 01 07 00 CB 06 00 00 00 00 00 B3 0C 97 [21:55:37]RasterBufferAndPrint [21:55:37]line [21:55:37]line [21:55:37]line [21:55:37]line [21:55:37]line [21:55:37]written 0, free lines is 3254 [21:55:37]MH_Cut [21:55:37]Write to MH i2c: D1 01 00 D2 06 01 AA [21:55:37]Write i2c OK [21:55:37]MH_I2C_Read... [21:55:37]Read from MH i2c: D1 [21:55:37]MH_I2C_Read... [21:55:37]Read from MH i2c: D1 01 00 [21:55:37]MH_I2C_Read... [21:55:37]Read from MH i2c: D1 01 00 D2 06 00 A9 [21:55:37]Write to MH i2c: 01 00 00 D3 06 D9 [21:55:37]Write i2c OK [21:55:37]MH_I2C_Read... [21:55:37]OFD Sender: No OFD packet to send [21:55:38]*** Cut start [21:55:38]*** Partial cut [21:55:38]*** CUTSNS_PIN = 1 [21:55:38]*** CUTSNS_PIN = 0 [21:55:38]*** Brake cut motor [21:55:38]Read from MH i2c: 01 [21:55:38]MH_I2C_Read... [21:55:38]*** Stop cut motor [21:55:38]*** Cut end [21:55:38]Read from MH i2c: 01 07 00 [21:55:38]MH_I2C_Read... [21:55:38]Read from MH i2c: 01 07 00 D3 06 00 00 00 00 00 FF 0F EE [21:55:38]process_action close_receipt done [21:55:38]requested_data is exist [21:55:38]produce_requested_data [21:55:38]requested_item fm.sn is exist - process it [21:55:38]wFMCommunicate request_size=4 [21:55:38]MH_SAM_APDU [21:55:38]CAPDU: 80 11 00 00 [21:55:38]Write to MH i2c: E2 08 00 D4 06 80 11 00 00 00 00 00 00 54 [21:55:38]Write i2c OK [21:55:38]MH_I2C_Read... [21:55:38]Read from MH i2c: E2 [21:55:38]MH_I2C_Read... [21:55:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:55:38]Read from MH i2c: E2 17 00 [21:55:38]MH_I2C_Read... [21:55:38]Read from MH i2c: E2 17 00 D4 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 A7 [21:55:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [21:55:38]wFMCommunicate OK [21:55:38]requested_item fd.num is exist - process it [21:55:38]SAM_PROTO_GetFieldsCounters [21:55:38]wFMCommunicate request_size=4 [21:55:38]MH_SAM_APDU [21:55:38]CAPDU: 80 13 00 00 [21:55:38]Write to MH i2c: E2 08 00 D5 06 80 13 00 00 00 00 00 00 57 [21:55:38]Write i2c OK [21:55:38]MH_I2C_Read... [21:55:39]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:55:39]Read from MH i2c: E2 [21:55:39]MH_I2C_Read... [21:55:39]Read from MH i2c: E2 62 00 [21:55:39]MH_I2C_Read... [21:55:39]Read from MH i2c: E2 62 00 D5 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 79 10 00 00 0E 04 04 00 54 00 00 00 12 04 04 00 4B 00 00 00 5E 04 04 00 4B 00 00 00 57 04 04 00 4C 00 00 00 19 04 04 00 00 00 00 00 90 00 3A [21:55:39]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 79 10 00 00 0E 04 04 00 54 00 00 00 12 04 04 00 4B 00 00 00 5E 04 04 00 4B 00 00 00 57 04 04 00 4C 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:55:39]wFMCommunicate OK [21:55:39]SAM_PROTO_GetFieldsCounters done [21:55:39]requested_item shift.num is exist - process it [21:55:39]requested_item shift.opened is exist - process it [21:55:39]req_shift_opened [21:55:39]FM_GetShiftState [21:55:39]SAM_PROTO_GetShiftState [21:55:39]wFMCommunicate request_size=4 [21:55:39]MH_SAM_APDU [21:55:39]CAPDU: 80 13 01 00 [21:55:39]Write to MH i2c: E2 08 00 D6 06 80 13 01 00 00 00 00 00 59 [21:55:39]Write i2c OK [21:55:39]MH_I2C_Read... [21:55:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:55:39]Read from MH i2c: E2 [21:55:39]MH_I2C_Read... [21:55:39]Read from MH i2c: E2 0E 00 [21:55:39]MH_I2C_Read... [21:55:39]Read from MH i2c: E2 0E 00 D6 06 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 FA [21:55:39]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [21:55:39]wFMCommunicate OK [21:55:39]SAM_PROTO_GetShiftState done [21:55:39]FM_GetShiftState done [21:55:39]req_shift_opened done [21:55:39]requested_item shift.open_date is exist - process it [21:55:39]req_shift_open_date [21:55:39]req_shift_open_date done [21:55:39]produce_requested_data done [21:55:39]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4217,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765} [21:55:39]process_action_free close_receipt [21:55:39]json_value_free [21:55:39]json_value_free done [21:55:39]process_json_proto returns [21:55:39]Send response to host [21:55:39]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4217,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765}}} [21:55:39]free response buf [21:55:39]execute_script done [21:55:39]execute_script returns [21:55:39]free content buf [21:55:39]Sock 8.Close socket [21:55:39]Sock 8.Thread stoped [21:55:42]OFD Sender: No OFD packet to send [21:55:47]OFD Sender: No OFD packet to send [21:55:52]OFD Sender: No OFD packet to send [21:55:57]OFD Sender: No OFD packet to send [21:56:02]OFD Sender: No OFD packet to send [21:56:07]OFD Sender: No OFD packet to send [21:56:12]OFD Sender: No OFD packet to send [21:56:17]OFD Sender: No OFD packet to send [21:56:22]OFD Sender: No OFD packet to send [21:56:27]OFD Sender: No OFD packet to send [21:56:32]OFD Sender: No OFD packet to send [21:56:37]OFD Sender: No OFD packet to send [21:56:42]OFD Sender: No OFD packet to send [21:56:47]OFD Sender: No OFD packet to send [21:56:52]OFD Sender: No OFD packet to send [21:56:57]OFD Sender: No OFD packet to send [21:57:02]OFD Sender: No OFD packet to send [21:57:07]OFD Sender: No OFD packet to send [21:57:12]OFD Sender: No OFD packet to send [21:57:17]OFD Sender: No OFD packet to send [21:57:22]OFD Sender: No OFD packet to send [21:57:27]OFD Sender: No OFD packet to send [21:57:32]OFD Sender: No OFD packet to send [21:57:37]OFD Sender: No OFD packet to send [21:57:42]OFD Sender: No OFD packet to send [21:57:47]OFD Sender: No OFD packet to send [21:57:52]OFD Sender: No OFD packet to send [21:57:57]OFD Sender: No OFD packet to send [21:58:02]OFD Sender: No OFD packet to send [21:58:07]OFD Sender: No OFD packet to send [21:58:12]OFD Sender: No OFD packet to send [21:58:17]OFD Sender: No OFD packet to send [21:58:22]OFD Sender: No OFD packet to send [21:58:27]OFD Sender: No OFD packet to send [21:58:32]OFD Sender: No OFD packet to send [21:58:37]OFD Sender: No OFD packet to send [21:58:42]OFD Sender: No OFD packet to send [21:58:47]OFD Sender: No OFD packet to send [21:58:52]OFD Sender: No OFD packet to send [21:58:57]OFD Sender: No OFD packet to send [21:59:02]OFD Sender: No OFD packet to send [21:59:07]OFD Sender: No OFD packet to send [21:59:12]OFD Sender: No OFD packet to send [21:59:17]OFD Sender: No OFD packet to send [21:59:22]OFD Sender: No OFD packet to send [21:59:27]OFD Sender: No OFD packet to send [21:59:32]OFD Sender: No OFD packet to send [21:59:37]OFD Sender: No OFD packet to send [21:59:42]OFD Sender: No OFD packet to send [21:59:47]OFD Sender: No OFD packet to send [21:59:52]OFD Sender: No OFD packet to send [21:59:57]OFD Sender: No OFD packet to send [22:00:02]OFD Sender: No OFD packet to send [22:00:07]OFD Sender: No OFD packet to send [22:00:12]OFD Sender: No OFD packet to send [22:00:17]OFD Sender: No OFD packet to send [22:00:22]OFD Sender: No OFD packet to send [22:00:27]OFD Sender: No OFD packet to send [22:00:32]OFD Sender: No OFD packet to send [22:00:37]OFD Sender: No OFD packet to send [22:00:42]OFD Sender: No OFD packet to send [22:00:47]OFD Sender: No OFD packet to send [22:00:52]OFD Sender: No OFD packet to send [22:00:57]OFD Sender: No OFD packet to send [22:01:02]OFD Sender: No OFD packet to send [22:01:07]OFD Sender: No OFD packet to send [22:01:12]OFD Sender: No OFD packet to send [22:01:17]OFD Sender: No OFD packet to send [22:01:22]OFD Sender: No OFD packet to send [22:01:27]OFD Sender: No OFD packet to send [22:01:32]OFD Sender: No OFD packet to send [22:01:37]OFD Sender: No OFD packet to send [22:01:42]OFD Sender: No OFD packet to send [22:01:47]OFD Sender: No OFD packet to send [22:01:52]OFD Sender: No OFD packet to send [22:01:57]OFD Sender: No OFD packet to send [22:02:02]OFD Sender: No OFD packet to send [22:02:07]OFD Sender: No OFD packet to send [22:02:13]OFD Sender: No OFD packet to send [22:02:18]OFD Sender: No OFD packet to send [22:02:23]OFD Sender: No OFD packet to send [22:02:28]OFD Sender: No OFD packet to send [22:02:33]OFD Sender: No OFD packet to send [22:02:38]OFD Sender: No OFD packet to send [22:02:43]OFD Sender: No OFD packet to send [22:02:48]OFD Sender: No OFD packet to send [22:02:53]OFD Sender: No OFD packet to send [22:02:58]OFD Sender: No OFD packet to send [22:03:03]OFD Sender: No OFD packet to send [22:03:08]OFD Sender: No OFD packet to send [22:03:13]OFD Sender: No OFD packet to send [22:03:18]OFD Sender: No OFD packet to send [22:03:23]OFD Sender: No OFD packet to send [22:03:28]OFD Sender: No OFD packet to send [22:03:33]OFD Sender: No OFD packet to send [22:03:38]OFD Sender: No OFD packet to send [22:03:43]OFD Sender: No OFD packet to send [22:03:48]OFD Sender: No OFD packet to send [22:03:53]OFD Sender: No OFD packet to send [22:03:58]OFD Sender: No OFD packet to send [22:04:03]OFD Sender: No OFD packet to send [22:04:08]OFD Sender: No OFD packet to send [22:04:13]OFD Sender: No OFD packet to send [22:04:18]OFD Sender: No OFD packet to send [22:04:23]OFD Sender: No OFD packet to send [22:04:28]OFD Sender: No OFD packet to send [22:04:33]OFD Sender: No OFD packet to send [22:04:38]OFD Sender: No OFD packet to send [22:04:43]OFD Sender: No OFD packet to send [22:04:48]OFD Sender: No OFD packet to send [22:04:53]OFD Sender: No OFD packet to send [22:04:58]OFD Sender: No OFD packet to send [22:05:03]OFD Sender: No OFD packet to send [22:05:08]OFD Sender: No OFD packet to send [22:05:13]OFD Sender: No OFD packet to send [22:05:18]OFD Sender: No OFD packet to send [22:05:23]OFD Sender: No OFD packet to send [22:05:28]OFD Sender: No OFD packet to send [22:05:33]OFD Sender: No OFD packet to send [22:05:38]OFD Sender: No OFD packet to send [22:05:43]OFD Sender: No OFD packet to send [22:05:48]OFD Sender: No OFD packet to send [22:05:53]OFD Sender: No OFD packet to send [22:05:58]OFD Sender: No OFD packet to send [22:06:03]OFD Sender: No OFD packet to send [22:06:08]OFD Sender: No OFD packet to send [22:06:13]OFD Sender: No OFD packet to send [22:06:18]OFD Sender: No OFD packet to send [22:06:23]OFD Sender: No OFD packet to send [22:06:28]OFD Sender: No OFD packet to send [22:06:33]OFD Sender: No OFD packet to send [22:06:38]OFD Sender: No OFD packet to send [22:06:43]OFD Sender: No OFD packet to send [22:06:45]accept exits with 9 [22:06:45]New connection [22:06:45]New thread 3066629476 created [22:06:45]Thread 3066772836 joined [22:06:45]Waiting for new connection... [22:06:45] Sock 9.Parse request [22:06:45]Sock 9.Check first char [22:06:45]Sock 9.First char is OK [22:06:45]request: POST /json_proto HTTP/1.0 [22:06:45]Method: POST [22:06:45]URL: /json_proto [22:06:45]Method is POST - this is cgi request [22:06:45]url: /json_proto [22:06:45]query_string will be loaded in cgi processing [22:06:45]execute_cgi json_proto POST (null) [22:06:45]execute_cgi path=json_proto method=POST [22:06:45]POST find Content-Length [22:06:45]Host: 172.17.56.68:8080 [22:06:45]Content-Length: 1005 [22:06:45]Content-Type: application/json [22:06:45] [22:06:45]POST finish read [22:06:45]Found Content-Length = 1005 [22:06:45]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4471", "tax_sys" : 0, "items" : [ { "code": "4870002329425", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041F\u0438\u0430\u043B\u0430 Ice Tea \u043F\u0435\u0440\u0441,\u0434\u044B\u043D\u044F,\u0433\u0443\u0430\u04400,5\u043B", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4603290004879", "name": "\u041F\u0435\u0447.\u0441\u0430\u0445.FORSITE \u0421\u044D\u043D\u0434.\u043A\u043E\u043A\u043E\u0441.\u0432\u043A", "price" : 93.00, "quantity" : 1.000, "sum" : 93.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 153.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:06:45]execute_script... [22:06:45]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4471", "tax_sys" : 0, "items" : [ { "code": "4870002329425", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041F\u0438\u0430\u043B\u0430 Ice Tea \u043F\u0435\u0440\u0441,\u0434\u044B\u043D\u044F,\u0433\u0443\u0430\u04400,5\u043B", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4603290004879", "name": "\u041F\u0435\u0447.\u0441\u0430\u0445.FORSITE \u0421\u044D\u043D\u0434.\u043A\u043E\u043A\u043E\u0441.\u0432\u043A", "price" : 93.00, "quantity" : 1.000, "sum" : 93.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 153.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:06:45]POST & json_proto [22:06:45]process_json_proto [22:06:45]json parsed OK: [22:06:45]protocol is kg_v1.0 [22:06:45]action value=close_receipt [22:06:45]process_action close_receipt [22:06:45]cmd_close_receipt [22:06:45]MH_GetDate [22:06:45]Write to MH i2c: F0 00 00 D7 06 CC [22:06:45]Write i2c OK [22:06:45]MH_I2C_Read... [22:06:45]Read from MH i2c: F0 [22:06:45]MH_I2C_Read... [22:06:45]Read from MH i2c: F0 09 00 [22:06:45]MH_I2C_Read... [22:06:45]Read from MH i2c: F0 09 00 D7 06 00 77 E1 60 66 3A 8F 60 66 82 [22:06:45]GetLastDocTimeStamp 1717624536 [22:06:45]current date 1717625207 [22:06:45]FM_GetShiftState [22:06:45]SAM_PROTO_GetShiftState [22:06:45]wFMCommunicate request_size=4 [22:06:45]MH_SAM_APDU [22:06:45]CAPDU: 80 13 01 00 [22:06:45]Write to MH i2c: E2 08 00 D8 06 80 13 01 00 00 00 00 00 5B [22:06:45]Write i2c OK [22:06:45]MH_I2C_Read... [22:06:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:06:45]Read from MH i2c: E2 [22:06:45]MH_I2C_Read... [22:06:45]Read from MH i2c: E2 0E 00 [22:06:45]MH_I2C_Read... [22:06:45]Read from MH i2c: E2 0E 00 D8 06 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 FC [22:06:45]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [22:06:45]wFMCommunicate OK [22:06:45]SAM_PROTO_GetShiftState done [22:06:45]FM_GetShiftState done [22:06:45]opened in 1717545765 [22:06:45]opened+sec_in_day 1717632165 [22:06:45]quantity*price = 6000 [22:06:45]sum+1 = 6001 [22:06:45]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4603290004879 Печ.сах.FORSITE Сэнд.кокос.вк 1.000 * 93.00 = 93.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 153.00 НСП 1% : 1.35 НДС 12% : 16.25 Наличными: 153.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 76 05.06.2024 22:06 Смена: 84 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4218 ФПД: 45040119983430 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T220647&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4218&fm=45040119983430&tin=02508201610067®Number=0000000000145775&sum=15300 0 [22:06:47]StoreToDocumentArchive [22:06:47]shift 84 fd 4218 [22:06:47]save to /storage/0084/doc_00004218 [22:06:47]save last doc name /storage/0084/doc_00004218 to /storage/kkm_last_doc_name [22:06:47]save OK [22:06:47]Clear old archive folders... [22:06:47]ProcessDocumentItem done err = 0, tmpTLVsize=425 [22:06:47]tlvbuf is 019B5660 [22:06:47]SAM_PROTO_ClearQueue [22:06:47]wFMCommunicate request_size=4 [22:06:47]MH_SAM_APDU [22:06:47]CAPDU: 80 09 00 00 [22:06:47]Write to MH i2c: E2 08 00 E5 06 80 09 00 00 00 00 00 00 5D [22:06:47]Write i2c OK [22:06:47]MH_I2C_Read... [22:06:47]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:06:47]Read from MH i2c: E2 [22:06:47]MH_I2C_Read... [22:06:47]Read from MH i2c: E2 03 00 [22:06:47]MH_I2C_Read... [22:06:47]Read from MH i2c: E2 03 00 E5 06 00 90 00 5F [22:06:47]RAPDU: 90 00 [22:06:47]wFMCommunicate OK [22:06:47]SAM_PROTO_ClearQueue done [22:06:47]KKMCreateOFDPacket [22:06:47]OFDProtocolAddRootSTLVToBuf [22:06:47]FM_MakeSignedData [22:06:47]FM_MakeSignedData [22:06:47]SAM_PROTO_SignData [22:06:47]wFMCommunicate request_size=4 [22:06:47]MH_SAM_APDU [22:06:47]CAPDU: 80 0D 01 02 [22:06:47]Write to MH i2c: E2 08 00 E6 06 80 0D 01 02 00 00 00 00 65 [22:06:47]Write i2c OK [22:06:47]MH_I2C_Read... [22:06:47]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:06:47]Read from MH i2c: E2 [22:06:47]MH_I2C_Read... [22:06:47]Read from MH i2c: E2 03 00 [22:06:47]MH_I2C_Read... [22:06:47]Read from MH i2c: E2 03 00 E6 06 00 90 00 60 [22:06:47]RAPDU: 90 00 [22:06:47]wFMCommunicate OK [22:06:47]wFMCommunicate request_size=255 [22:06:47]MH_SAM_APDU [22:06:47]CAPDU: 80 0D 02 02 FA 03 00 A9 01 1E 04 01 00 01 23 04 85 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 34 32 35 06 04 41 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9F D0 B8 D0 B0 D0 BB D0 B0 20 49 63 65 20 54 65 61 20 D0 BF D0 B5 D1 80 D1 81 2C D0 B4 D1 8B D0 BD D1 8F 2C D0 B3 D1 83 D0 B0 D1 80 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 72 00 8A 04 0D 00 34 36 30 33 32 39 30 30 30 34 38 37 39 06 04 2E 00 D0 9F D0 B5 D1 87 2E D1 81 D0 B0 D1 85 2E 46 4F 52 53 49 54 45 20 D0 A1 D1 8D D0 BD D0 B4 2E D0 BA D0 BE D0 BA D0 BE D1 81 2E D0 B2 D0 BA FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 54 24 00 00 00 00 13 04 06 00 54 24 00 00 00 00 F2 [22:06:47]Write to MH i2c: E2 02 01 E7 06 80 0D 02 02 FA 00 03 00 A9 01 1E 04 01 00 01 23 04 85 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 34 32 35 06 04 41 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9F D0 B8 D0 B0 D0 BB D0 B0 20 49 63 65 20 54 65 61 20 D0 BF D0 B5 D1 80 D1 81 2C D0 B4 D1 8B D0 BD D1 8F 2C D0 B3 D1 83 D0 B0 D1 80 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 72 00 8A 04 0D 00 34 36 30 33 32 39 30 30 30 34 38 37 39 06 04 2E 00 D0 9F D0 B5 D1 87 2E D1 81 D0 B0 D1 85 2E 46 4F 52 53 49 54 45 20 D0 A1 D1 8D D0 BD D0 B4 2E D0 BA D0 BE D0 BA D0 BE D1 81 2E D0 B2 D0 BA FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 54 24 00 00 00 00 13 04 06 00 54 24 00 00 00 00 F2 00 00 CF [22:06:47]Write i2c OK [22:06:47]MH_I2C_Read... [22:06:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:06:47]Read from MH i2c: E2 [22:06:47]MH_I2C_Read... [22:06:47]Read from MH i2c: E2 03 00 [22:06:47]MH_I2C_Read... [22:06:47]Read from MH i2c: E2 03 00 E7 06 00 90 00 61 [22:06:47]RAPDU: 90 00 [22:06:47]wFMCommunicate OK [22:06:47]wFMCommunicate request_size=184 [22:06:47]MH_SAM_APDU [22:06:47]CAPDU: 80 0D 02 02 B3 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C4 3B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 87 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 59 06 00 00 00 00 07 04 06 00 C4 3B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4C 00 00 00 F4 03 04 00 77 E1 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 7A 10 00 00 35 04 06 00 28 F6 B8 5A 2D 46 [22:06:47]Write to MH i2c: E2 BB 00 E8 06 80 0D 02 02 B3 00 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C4 3B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 87 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 59 06 00 00 00 00 07 04 06 00 C4 3B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4C 00 00 00 F4 03 04 00 77 E1 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 7A 10 00 00 35 04 06 00 28 F6 B8 5A 2D 46 00 00 A5 [22:06:47]Write i2c OK [22:06:47]MH_I2C_Read... [22:06:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:06:47]Read from MH i2c: E2 [22:06:47]MH_I2C_Read... [22:06:47]Read from MH i2c: E2 03 00 [22:06:47]MH_I2C_Read... [22:06:47]Read from MH i2c: E2 03 00 E8 06 00 90 00 62 [22:06:47]RAPDU: 90 00 [22:06:47]wFMCommunicate OK [22:06:47]wFMCommunicate request_size=4 [22:06:47]MH_SAM_APDU [22:06:47]CAPDU: 80 0D 03 02 [22:06:47]Write to MH i2c: E2 08 00 E9 06 80 0D 03 02 00 00 00 00 6A [22:06:47]Write i2c OK [22:06:47]MH_I2C_Read... [22:06:47]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:06:47]Read from MH i2c: E2 [22:06:47]MH_I2C_Read... [22:06:47]Read from MH i2c: E2 0B 00 [22:06:47]MH_I2C_Read... [22:06:47]Read from MH i2c: E2 0B 00 E9 06 00 36 61 A9 A3 73 9F 95 42 90 00 37 [22:06:47]RAPDU: 36 61 A9 A3 73 9F 95 42 90 00 [22:06:47]wFMCommunicate OK [22:06:47]SAM_PROTO_SignData done [22:06:47]FM_MakeSignedData done [22:06:47]CreateOFDProtocolMessage [22:06:47]wFMCommunicate request_size=4 [22:06:47]MH_SAM_APDU [22:06:47]CAPDU: 80 11 00 00 [22:06:47]Write to MH i2c: E2 08 00 EA 06 80 11 00 00 00 00 00 00 6A [22:06:47]Write i2c OK [22:06:47]MH_I2C_Read... [22:06:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:06:47]Read from MH i2c: E2 [22:06:47]MH_I2C_Read... [22:06:47]Read from MH i2c: E2 17 00 [22:06:47]MH_I2C_Read... [22:06:47]Read from MH i2c: E2 17 00 EA 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 BD [22:06:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [22:06:47]wFMCommunicate OK [22:06:47]CreateOFDProtocolMessage done [22:06:47]OFDSenderStorePacket 4218 [22:06:47]StoreOFDPacket docnum=4218 [22:06:47]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 BD 01 00 00 AF 03 B5 01 C6 B2 5A 03 01 00 03 00 A9 01 1E 04 01 00 01 23 04 85 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 34 32 35 06 04 41 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9F D0 B8 D0 B0 D0 BB D0 B0 20 49 63 65 20 54 65 61 20 D0 BF D0 B5 D1 80 D1 81 2C D0 B4 D1 8B D0 BD D1 8F 2C D0 B3 D1 83 D0 B0 D1 80 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 72 00 8A 04 0D 00 34 36 30 33 32 39 30 30 30 34 38 37 39 06 04 2E 00 D0 9F D0 B5 D1 87 2E D1 81 D0 B0 D1 85 2E 46 4F 52 53 49 54 45 20 D0 A1 D1 8D D0 BD D0 B4 2E D0 BA D0 BE D0 BA D0 BE D1 81 2E D0 B2 D0 BA FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 54 24 00 00 00 00 13 04 06 00 54 24 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C4 3B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 87 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 59 06 00 00 00 00 07 04 06 00 C4 3B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4C 00 00 00 F4 03 04 00 77 E1 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 7A 10 00 00 35 04 06 00 28 F6 B8 5A 2D 46 36 61 A9 A3 73 9F 95 42 [22:06:47]CheckFolder [22:06:47]dirname=/storage/ofd_packets [22:06:47]CheckFolder done [22:06:47]ProducePacketName [22:06:47]name=ofd_packets/00004218 [22:06:47]NVStorageSaveData ofd_packets/00004218 [22:06:47]File name is /storage/ofd_packets/00004218 [22:06:47]Write 475 bytes [22:06:47]NVStorageSaveData done [22:06:47]OFDSenderStorePacket done [22:06:47]KKMCreateOFDPacket done [22:06:47]NVStorageSaveData kkm_last_timestamp [22:06:47]File name is /storage/kkm_last_timestamp [22:06:47]Write 4 bytes [22:06:48]NVStorageSaveData done [22:06:48]ExternCall_PrintAddStr [22:06:48]wPrintStart [22:06:48]Write to MH i2c: 01 00 00 EB 06 F1 [22:06:48]OFD Sender: Processing packet 4218 [packets to send 2, broken 1] [22:06:48]ProducePacketName [22:06:48]name=ofd_packets/00004218 [22:06:48]OFD Sender: To server: pG, [22:06:48]CommunicateWithHost lk.salyk.kg:30040 [22:06:48]Write i2c OK [22:06:48]ConnectInit lk.salyk.kg [22:06:48]MH_I2C_Read... [22:06:48]Read from MH i2c: 01 [22:06:48]MH_I2C_Read... [22:06:48]Read from MH i2c: 01 07 00 [22:06:48]MH_I2C_Read... [22:06:48]Read from MH i2c: 01 07 00 EB 06 00 00 00 00 00 FF 0F 06 [22:06:48]RasterBufferAndPrint [22:06:48]line Счет N : (3)4471 [22:06:48]line ИНН: 02508201610067 [22:06:48]line Контрольно-Кассовый Чек [22:06:48]line ПРОДАЖА [22:06:48]line Товар: 4870002329425 [22:06:48]line Напиток Пиала Ice Tea перс,дыня,гуар0,5л [22:06:48]line 1.000 * 60.00 [22:06:48]line = 60.00 [22:06:48]line НДС 12% НСП 1% [22:06:48]line > о реализуемом товаре [22:06:48]line Товар: 4603290004879 [22:06:48]line Печ.сах.FORSITE Сэнд.кокос.вк [22:06:48]line 1.000 * 93.00 [22:06:48]line = 93.00 [22:06:48]line НДС 12% НСП 1% [22:06:48]line > о реализуемом товаре [22:06:48]line ИТОГО: 153.00 [22:06:48]line НСП 1% : 1.35 [22:06:48]line НДС 12% : 16.25 [22:06:48]line Наличными: 153.00 [22:06:48]line Безнал.: 0.00 [22:06:48]line Место: АЗС № 116 "Партнер Нефть" [22:06:48]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [22:06:48]line СНО: Общий режим [22:06:48]line Чек 76 05.06.2024 22:06 [22:06:48]line Смена: 84 ФФД: 1.0 [22:06:48]line ЗНМ: 0300000233 [22:06:48]line РНМ: 0000000000145775 [22:06:48]line Версия ККМ: v1.0 [22:06:48]line ФМ: 0000000000959360 [22:06:48]line ФД: 4218 [22:06:48]line ФПД: 45040119983430 [22:06:48]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T220647&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4218&fm=45040119983430&tin=02508201610067®Number=0000000000145775&sum=15300 [22:06:48]line 0 [22:06:48]written 0, free lines is 4095 [22:06:48]Connected sock=10 [22:06:48]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 BD 01 00 00 AF 03 B5 01 C6 B2 5A 03 01 00 03 00 A9 01 1E 04 01 00 01 23 04 85 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 34 32 35 06 04 41 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9F D0 B8 D0 B0 D0 BB D0 B0 20 49 63 65 20 54 65 61 20 D0 BF D0 B5 D1 80 D1 81 2C D0 B4 D1 8B D0 BD D1 8F 2C D0 B3 D1 83 D0 B0 D1 80 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 72 00 8A 04 0D 00 34 36 30 33 32 39 30 30 30 34 38 37 39 06 04 2E 00 D0 9F D0 B5 D1 87 2E D1 81 D0 B0 D1 85 2E 46 4F 52 53 49 54 45 20 D0 A1 D1 8D D0 BD D0 B4 2E D0 BA D0 BE D0 BA D0 BE D1 81 2E D0 B2 D0 BA FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 54 24 00 00 00 00 13 04 06 00 54 24 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C4 3B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 87 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 59 06 00 00 00 00 07 04 06 00 C4 3B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4C 00 00 00 F4 03 04 00 77 E1 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 7A 10 00 00 35 04 06 00 28 F6 B8 5A 2D 46 36 61 A9 A3 73 9F 95 42 [22:06:48]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 CE 98 47 00 1E 70 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 7A 10 00 00 F4 03 04 00 79 8D 60 66 B6 04 01 00 00 0C 3F EC 6C 9D E8 09 77 [22:06:48]CommunicateWithHost err = 0 [22:06:48]CheckOFDResponse [22:06:48]1017 (14) - 77093643461234 [22:06:48]1041 (16) - 0000000000959360 [22:06:48]1040 (4) - 4218 [22:06:48]1012 (4) - 05.06.2024 16:08 [22:06:48]1206 (1) - 0 [22:06:48]OFD Sender: Remove packet 4218 [22:06:48]ProducePacketName [22:06:48]name=ofd_packets/00004218 [22:06:48]NVStorageDeleteData [22:06:48]Write to MH i2c: 01 00 00 1A 07 21 [22:06:48]Write i2c OK [22:06:48]MH_I2C_Read... [22:06:48]Read from MH i2c: 01 [22:06:48]MH_I2C_Read... [22:06:48]Read from MH i2c: 01 07 00 [22:06:48]MH_I2C_Read... [22:06:48]Read from MH i2c: 01 07 00 1A 07 00 00 00 00 00 4B 0C 7F [22:06:48]RasterBufferAndPrint [22:06:48]line [22:06:48]line [22:06:48]line [22:06:48]line [22:06:48]line [22:06:48]written 0, free lines is 3151 [22:06:48]MH_Cut [22:06:48]Write to MH i2c: D1 01 00 21 07 01 FA [22:06:48]Write i2c OK [22:06:48]MH_I2C_Read... [22:06:48]Read from MH i2c: D1 [22:06:48]MH_I2C_Read... [22:06:48]Read from MH i2c: D1 01 00 [22:06:48]MH_I2C_Read... [22:06:48]Read from MH i2c: D1 01 00 21 07 00 F9 [22:06:48]Write to MH i2c: 01 00 00 22 07 29 [22:06:48]Write i2c OK [22:06:48]MH_I2C_Read... [22:06:48]OFD Sender: No OFD packet to send [22:06:49]*** Cut start [22:06:49]*** Partial cut [22:06:49]*** CUTSNS_PIN = 1 [22:06:49]*** CUTSNS_PIN = 0 [22:06:49]*** Brake cut motor [22:06:50]Read from MH i2c: 01 [22:06:50]MH_I2C_Read... [22:06:50]*** Stop cut motor [22:06:50]*** Cut end [22:06:50]Read from MH i2c: 01 07 00 [22:06:50]MH_I2C_Read... [22:06:50]Read from MH i2c: 01 07 00 22 07 00 00 00 00 00 FF 0F 3E [22:06:50]process_action close_receipt done [22:06:50]requested_data is exist [22:06:50]produce_requested_data [22:06:50]requested_item fm.sn is exist - process it [22:06:50]wFMCommunicate request_size=4 [22:06:50]MH_SAM_APDU [22:06:50]CAPDU: 80 11 00 00 [22:06:50]Write to MH i2c: E2 08 00 23 07 80 11 00 00 00 00 00 00 A4 [22:06:50]Write i2c OK [22:06:50]MH_I2C_Read... [22:06:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:06:50]Read from MH i2c: E2 [22:06:50]MH_I2C_Read... [22:06:50]Read from MH i2c: E2 17 00 [22:06:50]MH_I2C_Read... [22:06:50]Read from MH i2c: E2 17 00 23 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 F7 [22:06:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [22:06:50]wFMCommunicate OK [22:06:50]requested_item fd.num is exist - process it [22:06:50]SAM_PROTO_GetFieldsCounters [22:06:50]wFMCommunicate request_size=4 [22:06:50]MH_SAM_APDU [22:06:50]CAPDU: 80 13 00 00 [22:06:50]Write to MH i2c: E2 08 00 24 07 80 13 00 00 00 00 00 00 A7 [22:06:50]Write i2c OK [22:06:50]MH_I2C_Read... [22:06:50]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:06:50]Read from MH i2c: E2 [22:06:50]MH_I2C_Read... [22:06:50]Read from MH i2c: E2 62 00 [22:06:50]MH_I2C_Read... [22:06:50]Read from MH i2c: E2 62 00 24 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 7A 10 00 00 0E 04 04 00 54 00 00 00 12 04 04 00 4C 00 00 00 5E 04 04 00 4C 00 00 00 57 04 04 00 4D 00 00 00 19 04 04 00 00 00 00 00 90 00 8E [22:06:50]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 7A 10 00 00 0E 04 04 00 54 00 00 00 12 04 04 00 4C 00 00 00 5E 04 04 00 4C 00 00 00 57 04 04 00 4D 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:06:50]wFMCommunicate OK [22:06:50]SAM_PROTO_GetFieldsCounters done [22:06:50]requested_item shift.num is exist - process it [22:06:50]requested_item shift.opened is exist - process it [22:06:50]req_shift_opened [22:06:50]FM_GetShiftState [22:06:50]SAM_PROTO_GetShiftState [22:06:50]wFMCommunicate request_size=4 [22:06:50]MH_SAM_APDU [22:06:50]CAPDU: 80 13 01 00 [22:06:50]Write to MH i2c: E2 08 00 25 07 80 13 01 00 00 00 00 00 A9 [22:06:50]Write i2c OK [22:06:50]MH_I2C_Read... [22:06:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:06:50]Read from MH i2c: E2 [22:06:50]MH_I2C_Read... [22:06:50]Read from MH i2c: E2 0E 00 [22:06:50]MH_I2C_Read... [22:06:50]Read from MH i2c: E2 0E 00 25 07 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 4A [22:06:50]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [22:06:50]wFMCommunicate OK [22:06:50]SAM_PROTO_GetShiftState done [22:06:50]FM_GetShiftState done [22:06:50]req_shift_opened done [22:06:50]requested_item shift.open_date is exist - process it [22:06:50]req_shift_open_date [22:06:50]req_shift_open_date done [22:06:50]produce_requested_data done [22:06:50]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4218,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765} [22:06:50]process_action_free close_receipt [22:06:50]json_value_free [22:06:50]json_value_free done [22:06:50]process_json_proto returns [22:06:50]Send response to host [22:06:50]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4218,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765}}} [22:06:50]free response buf [22:06:50]execute_script done [22:06:50]execute_script returns [22:06:50]free content buf [22:06:50]Sock 9.Close socket [22:06:50]Sock 9.Thread stoped [22:06:53]OFD Sender: No OFD packet to send [22:06:58]OFD Sender: No OFD packet to send [22:07:03]OFD Sender: No OFD packet to send [22:07:08]OFD Sender: No OFD packet to send [22:07:13]OFD Sender: No OFD packet to send [22:07:18]OFD Sender: No OFD packet to send [22:07:23]OFD Sender: No OFD packet to send [22:07:28]OFD Sender: No OFD packet to send [22:07:33]OFD Sender: No OFD packet to send [22:07:38]OFD Sender: No OFD packet to send [22:07:43]OFD Sender: No OFD packet to send [22:07:48]OFD Sender: No OFD packet to send [22:07:53]OFD Sender: No OFD packet to send [22:07:58]OFD Sender: No OFD packet to send [22:08:03]OFD Sender: No OFD packet to send [22:08:08]OFD Sender: No OFD packet to send [22:08:13]OFD Sender: No OFD packet to send [22:08:18]OFD Sender: No OFD packet to send [22:08:23]OFD Sender: No OFD packet to send [22:08:28]OFD Sender: No OFD packet to send [22:08:33]OFD Sender: No OFD packet to send [22:08:38]OFD Sender: No OFD packet to send [22:08:43]OFD Sender: No OFD packet to send [22:08:48]OFD Sender: No OFD packet to send [22:08:53]OFD Sender: No OFD packet to send [22:08:58]OFD Sender: No OFD packet to send [22:09:03]OFD Sender: No OFD packet to send [22:09:08]OFD Sender: No OFD packet to send [22:09:13]OFD Sender: No OFD packet to send [22:09:18]OFD Sender: No OFD packet to send [22:09:23]OFD Sender: No OFD packet to send [22:09:28]OFD Sender: No OFD packet to send [22:09:33]OFD Sender: No OFD packet to send [22:09:38]OFD Sender: No OFD packet to send [22:09:43]OFD Sender: No OFD packet to send [22:09:48]OFD Sender: No OFD packet to send [22:09:53]OFD Sender: No OFD packet to send [22:09:58]OFD Sender: No OFD packet to send [22:10:03]OFD Sender: No OFD packet to send [22:10:08]OFD Sender: No OFD packet to send [22:10:13]OFD Sender: No OFD packet to send [22:10:18]OFD Sender: No OFD packet to send [22:10:23]OFD Sender: No OFD packet to send [22:10:28]OFD Sender: No OFD packet to send [22:10:33]OFD Sender: No OFD packet to send [22:10:38]OFD Sender: No OFD packet to send [22:10:43]OFD Sender: No OFD packet to send [22:10:49]OFD Sender: No OFD packet to send [22:10:54]OFD Sender: No OFD packet to send [22:10:59]OFD Sender: No OFD packet to send [22:11:04]OFD Sender: No OFD packet to send [22:11:09]OFD Sender: No OFD packet to send [22:11:14]OFD Sender: No OFD packet to send [22:11:19]OFD Sender: No OFD packet to send [22:11:24]OFD Sender: No OFD packet to send [22:11:29]OFD Sender: No OFD packet to send [22:11:34]OFD Sender: No OFD packet to send [22:11:39]OFD Sender: No OFD packet to send [22:11:44]OFD Sender: No OFD packet to send [22:11:49]OFD Sender: No OFD packet to send [22:11:54]OFD Sender: No OFD packet to send [22:11:59]OFD Sender: No OFD packet to send [22:12:04]OFD Sender: No OFD packet to send [22:12:09]OFD Sender: No OFD packet to send [22:12:14]OFD Sender: No OFD packet to send [22:12:19]OFD Sender: No OFD packet to send [22:12:24]OFD Sender: No OFD packet to send [22:12:29]OFD Sender: No OFD packet to send [22:12:34]OFD Sender: No OFD packet to send [22:12:39]OFD Sender: No OFD packet to send [22:12:44]OFD Sender: No OFD packet to send [22:12:49]OFD Sender: No OFD packet to send [22:12:54]OFD Sender: No OFD packet to send [22:12:59]OFD Sender: No OFD packet to send [22:13:04]OFD Sender: No OFD packet to send [22:13:09]OFD Sender: No OFD packet to send [22:13:14]OFD Sender: No OFD packet to send [22:13:19]OFD Sender: No OFD packet to send [22:13:24]OFD Sender: No OFD packet to send [22:13:29]OFD Sender: No OFD packet to send [22:13:34]OFD Sender: No OFD packet to send [22:13:39]OFD Sender: No OFD packet to send [22:13:44]OFD Sender: No OFD packet to send [22:13:49]OFD Sender: No OFD packet to send [22:13:54]OFD Sender: No OFD packet to send [22:13:59]OFD Sender: No OFD packet to send [22:14:04]OFD Sender: No OFD packet to send [22:14:09]OFD Sender: No OFD packet to send [22:14:14]OFD Sender: No OFD packet to send [22:14:19]OFD Sender: No OFD packet to send [22:14:24]OFD Sender: No OFD packet to send [22:14:29]OFD Sender: No OFD packet to send [22:14:34]OFD Sender: No OFD packet to send [22:14:39]OFD Sender: No OFD packet to send [22:14:44]OFD Sender: No OFD packet to send [22:14:49]OFD Sender: No OFD packet to send [22:14:54]OFD Sender: No OFD packet to send [22:14:59]OFD Sender: No OFD packet to send [22:15:04]OFD Sender: No OFD packet to send [22:15:09]OFD Sender: No OFD packet to send [22:15:14]OFD Sender: No OFD packet to send [22:15:19]OFD Sender: No OFD packet to send [22:15:24]OFD Sender: No OFD packet to send [22:15:29]OFD Sender: No OFD packet to send [22:15:34]OFD Sender: No OFD packet to send [22:15:39]OFD Sender: No OFD packet to send [22:15:44]OFD Sender: No OFD packet to send [22:15:49]OFD Sender: No OFD packet to send [22:15:54]OFD Sender: No OFD packet to send [22:15:59]OFD Sender: No OFD packet to send [22:16:04]OFD Sender: No OFD packet to send [22:16:09]OFD Sender: No OFD packet to send [22:16:14]OFD Sender: No OFD packet to send [22:16:19]OFD Sender: No OFD packet to send [22:16:24]OFD Sender: No OFD packet to send [22:16:29]OFD Sender: No OFD packet to send [22:16:34]OFD Sender: No OFD packet to send [22:16:39]OFD Sender: No OFD packet to send [22:16:44]OFD Sender: No OFD packet to send [22:16:49]OFD Sender: No OFD packet to send [22:16:54]OFD Sender: No OFD packet to send [22:16:59]OFD Sender: No OFD packet to send [22:17:04]OFD Sender: No OFD packet to send [22:17:09]OFD Sender: No OFD packet to send [22:17:14]OFD Sender: No OFD packet to send [22:17:19]OFD Sender: No OFD packet to send [22:17:24]OFD Sender: No OFD packet to send [22:17:29]OFD Sender: No OFD packet to send [22:17:34]OFD Sender: No OFD packet to send [22:17:39]OFD Sender: No OFD packet to send [22:17:44]OFD Sender: No OFD packet to send [22:17:49]OFD Sender: No OFD packet to send [22:17:54]OFD Sender: No OFD packet to send [22:17:59]OFD Sender: No OFD packet to send [22:18:04]OFD Sender: No OFD packet to send [22:18:09]OFD Sender: No OFD packet to send [22:18:14]OFD Sender: No OFD packet to send [22:18:19]OFD Sender: No OFD packet to send [22:18:24]OFD Sender: No OFD packet to send [22:18:29]OFD Sender: No OFD packet to send [22:18:34]OFD Sender: No OFD packet to send [22:18:39]OFD Sender: No OFD packet to send [22:18:44]OFD Sender: No OFD packet to send [22:18:49]OFD Sender: No OFD packet to send [22:18:54]OFD Sender: No OFD packet to send [22:18:59]OFD Sender: No OFD packet to send [22:19:04]OFD Sender: No OFD packet to send [22:19:09]OFD Sender: No OFD packet to send [22:19:14]OFD Sender: No OFD packet to send [22:19:19]OFD Sender: No OFD packet to send [22:19:24]OFD Sender: No OFD packet to send [22:19:29]OFD Sender: No OFD packet to send [22:19:34]OFD Sender: No OFD packet to send [22:19:39]OFD Sender: No OFD packet to send [22:19:44]OFD Sender: No OFD packet to send [22:19:49]OFD Sender: No OFD packet to send [22:19:54]OFD Sender: No OFD packet to send [22:19:59]OFD Sender: No OFD packet to send [22:20:04]OFD Sender: No OFD packet to send [22:20:09]OFD Sender: No OFD packet to send [22:20:14]OFD Sender: No OFD packet to send [22:20:19]OFD Sender: No OFD packet to send [22:20:24]OFD Sender: No OFD packet to send [22:20:29]OFD Sender: No OFD packet to send [22:20:34]OFD Sender: No OFD packet to send [22:20:39]OFD Sender: No OFD packet to send [22:20:44]OFD Sender: No OFD packet to send [22:20:49]OFD Sender: No OFD packet to send [22:20:54]OFD Sender: No OFD packet to send [22:20:59]OFD Sender: No OFD packet to send [22:21:04]OFD Sender: No OFD packet to send [22:21:09]OFD Sender: No OFD packet to send [22:21:14]OFD Sender: No OFD packet to send [22:21:19]OFD Sender: No OFD packet to send [22:21:24]OFD Sender: No OFD packet to send [22:21:29]OFD Sender: No OFD packet to send [22:21:34]OFD Sender: No OFD packet to send [22:21:39]OFD Sender: No OFD packet to send [22:21:44]OFD Sender: No OFD packet to send [22:21:49]OFD Sender: No OFD packet to send [22:21:54]OFD Sender: No OFD packet to send [22:21:59]OFD Sender: No OFD packet to send [22:22:04]OFD Sender: No OFD packet to send [22:22:09]OFD Sender: No OFD packet to send [22:22:14]OFD Sender: No OFD packet to send [22:22:19]OFD Sender: No OFD packet to send [22:22:24]OFD Sender: No OFD packet to send [22:22:29]OFD Sender: No OFD packet to send [22:22:34]OFD Sender: No OFD packet to send [22:22:39]OFD Sender: No OFD packet to send [22:22:44]OFD Sender: No OFD packet to send [22:22:49]OFD Sender: No OFD packet to send [22:22:54]OFD Sender: No OFD packet to send [22:22:59]OFD Sender: No OFD packet to send [22:23:04]OFD Sender: No OFD packet to send [22:23:09]OFD Sender: No OFD packet to send [22:23:14]OFD Sender: No OFD packet to send [22:23:19]OFD Sender: No OFD packet to send [22:23:24]OFD Sender: No OFD packet to send [22:23:29]OFD Sender: No OFD packet to send [22:23:34]OFD Sender: No OFD packet to send [22:23:39]OFD Sender: No OFD packet to send [22:23:44]OFD Sender: No OFD packet to send [22:23:49]OFD Sender: No OFD packet to send [22:23:54]OFD Sender: No OFD packet to send [22:23:59]OFD Sender: No OFD packet to send [22:24:04]OFD Sender: No OFD packet to send [22:24:09]OFD Sender: No OFD packet to send [22:24:14]OFD Sender: No OFD packet to send [22:24:19]OFD Sender: No OFD packet to send [22:24:24]OFD Sender: No OFD packet to send [22:24:29]OFD Sender: No OFD packet to send [22:24:34]OFD Sender: No OFD packet to send [22:24:39]OFD Sender: No OFD packet to send [22:24:44]OFD Sender: No OFD packet to send [22:24:49]OFD Sender: No OFD packet to send [22:24:54]OFD Sender: No OFD packet to send [22:24:59]OFD Sender: No OFD packet to send [22:25:04]OFD Sender: No OFD packet to send [22:25:09]OFD Sender: No OFD packet to send [22:25:14]OFD Sender: No OFD packet to send [22:25:19]OFD Sender: No OFD packet to send [22:25:24]OFD Sender: No OFD packet to send [22:25:29]OFD Sender: No OFD packet to send [22:25:34]OFD Sender: No OFD packet to send [22:25:39]OFD Sender: No OFD packet to send [22:25:44]OFD Sender: No OFD packet to send [22:25:49]OFD Sender: No OFD packet to send [22:25:54]OFD Sender: No OFD packet to send [22:25:59]OFD Sender: No OFD packet to send [22:26:04]OFD Sender: No OFD packet to send [22:26:09]OFD Sender: No OFD packet to send [22:26:14]OFD Sender: No OFD packet to send [22:26:19]OFD Sender: No OFD packet to send [22:26:24]OFD Sender: No OFD packet to send [22:26:29]OFD Sender: No OFD packet to send [22:26:34]OFD Sender: No OFD packet to send [22:26:39]OFD Sender: No OFD packet to send [22:26:44]OFD Sender: No OFD packet to send [22:26:49]OFD Sender: No OFD packet to send [22:26:54]OFD Sender: No OFD packet to send [22:26:59]OFD Sender: No OFD packet to send [22:27:04]OFD Sender: No OFD packet to send [22:27:04]accept exits with 8 [22:27:04]New connection [22:27:04]New thread 3066772836 created [22:27:04]Thread 3066629476 joined [22:27:04]Waiting for new connection... [22:27:04] Sock 8.Parse request [22:27:04]Sock 8.Check first char [22:27:04]Sock 8.First char is OK [22:27:04]request: POST /json_proto HTTP/1.0 [22:27:04]Method: POST [22:27:04]URL: /json_proto [22:27:04]Method is POST - this is cgi request [22:27:04]url: /json_proto [22:27:04]query_string will be loaded in cgi processing [22:27:04]execute_cgi json_proto POST (null) [22:27:04]execute_cgi path=json_proto method=POST [22:27:04]POST find Content-Length [22:27:04]Host: 172.17.56.68:8080 [22:27:04]Content-Length: 873 [22:27:04]Content-Type: application/json [22:27:04] [22:27:04]POST finish read [22:27:04]Found Content-Length = 873 [22:27:04]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4472", "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 }]} ,{ "code": "4700000160051", "name": "\u0412\u043E\u0434\u0430 \u042B\u0441\u0441\u044B\u043A \u0410\u0442\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 190.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:27:04]execute_script... [22:27:04]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4472", "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 }]} ,{ "code": "4700000160051", "name": "\u0412\u043E\u0434\u0430 \u042B\u0441\u0441\u044B\u043A \u0410\u0442\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 190.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:27:04]POST & json_proto [22:27:04]process_json_proto [22:27:04]json parsed OK: [22:27:04]protocol is kg_v1.0 [22:27:04]action value=close_receipt [22:27:04]process_action close_receipt [22:27:04]cmd_close_receipt [22:27:04]MH_GetDate [22:27:04]Write to MH i2c: F0 00 00 26 07 1C [22:27:04]Write i2c OK [22:27:04]MH_I2C_Read... [22:27:04]Read from MH i2c: F0 [22:27:04]MH_I2C_Read... [22:27:04]Read from MH i2c: F0 09 00 [22:27:04]MH_I2C_Read... [22:27:04]Read from MH i2c: F0 09 00 26 07 00 3A E6 60 66 3A 8F 60 66 9A [22:27:04]GetLastDocTimeStamp 1717625207 [22:27:04]current date 1717626426 [22:27:04]FM_GetShiftState [22:27:04]SAM_PROTO_GetShiftState [22:27:04]wFMCommunicate request_size=4 [22:27:04]MH_SAM_APDU [22:27:04]CAPDU: 80 13 01 00 [22:27:04]Write to MH i2c: E2 08 00 27 07 80 13 01 00 00 00 00 00 AB [22:27:04]Write i2c OK [22:27:04]MH_I2C_Read... [22:27:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:27:04]Read from MH i2c: E2 [22:27:04]MH_I2C_Read... [22:27:04]Read from MH i2c: E2 0E 00 [22:27:04]MH_I2C_Read... [22:27:04]Read from MH i2c: E2 0E 00 27 07 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 4C [22:27:04]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [22:27:04]wFMCommunicate OK [22:27:04]SAM_PROTO_GetShiftState done [22:27:04]FM_GetShiftState done [22:27:04]opened in 1717545765 [22:27:04]opened+sec_in_day 1717632165 [22:27:04]quantity*price = 14000 [22:27:04]sum+1 = 14001 [22:27:04]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000160051 Вода Ыссык Ата 1л 1.000 * 50.00 = 50.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 190.00 НСП 1% : 1.68 НДС 12% : 20.18 Наличными: 190.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 77 05.06.2024 22:27 Смена: 84 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4219 ФПД: 225813957499521 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T222706&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4219&fm=225813957499521&tin=02508201610067®Number=0000000000145775&sum=19000 0 [22:27:05]StoreToDocumentArchive [22:27:05]shift 84 fd 4219 [22:27:05]save to /storage/0084/doc_00004219 [22:27:05]save last doc name /storage/0084/doc_00004219 to /storage/kkm_last_doc_name [22:27:05]save OK [22:27:05]Clear old archive folders... [22:27:05]ProcessDocumentItem done err = 0, tmpTLVsize=375 [22:27:05]tlvbuf is 01969520 [22:27:05]SAM_PROTO_ClearQueue [22:27:05]wFMCommunicate request_size=4 [22:27:05]MH_SAM_APDU [22:27:05]CAPDU: 80 09 00 00 [22:27:05]Write to MH i2c: E2 08 00 34 07 80 09 00 00 00 00 00 00 AD [22:27:05]Write i2c OK [22:27:05]MH_I2C_Read... [22:27:06]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:27:06]Read from MH i2c: E2 [22:27:06]MH_I2C_Read... [22:27:06]Read from MH i2c: E2 03 00 [22:27:06]MH_I2C_Read... [22:27:06]Read from MH i2c: E2 03 00 34 07 00 90 00 AF [22:27:06]RAPDU: 90 00 [22:27:06]wFMCommunicate OK [22:27:06]SAM_PROTO_ClearQueue done [22:27:06]KKMCreateOFDPacket [22:27:06]OFDProtocolAddRootSTLVToBuf [22:27:06]FM_MakeSignedData [22:27:06]FM_MakeSignedData [22:27:06]SAM_PROTO_SignData [22:27:06]wFMCommunicate request_size=4 [22:27:06]MH_SAM_APDU [22:27:06]CAPDU: 80 0D 01 02 [22:27:06]Write to MH i2c: E2 08 00 35 07 80 0D 01 02 00 00 00 00 B5 [22:27:06]Write i2c OK [22:27:06]MH_I2C_Read... [22:27:06]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:27:06]Read from MH i2c: E2 [22:27:06]MH_I2C_Read... [22:27:06]Read from MH i2c: E2 03 00 [22:27:06]MH_I2C_Read... [22:27:06]Read from MH i2c: E2 03 00 35 07 00 90 00 B0 [22:27:06]RAPDU: 90 00 [22:27:06]wFMCommunicate OK [22:27:06]wFMCommunicate request_size=255 [22:27:06]MH_SAM_APDU [22:27:06]CAPDU: 80 0D 02 02 FA 03 00 77 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 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 35 31 06 04 1E 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 AB D1 81 D1 81 D1 8B D0 BA 20 D0 90 D1 82 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 4A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A8 00 00 00 00 00 EE 03 0F [22:27:06]Write to MH i2c: E2 02 01 36 07 80 0D 02 02 FA 00 03 00 77 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 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 35 31 06 04 1E 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 AB D1 81 D1 81 D1 8B D0 BA 20 D0 90 D1 82 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 4A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A8 00 00 00 00 00 EE 03 0F 00 00 60 [22:27:06]Write i2c OK [22:27:06]MH_I2C_Read... [22:27:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:27:06]Read from MH i2c: E2 [22:27:06]MH_I2C_Read... [22:27:06]Read from MH i2c: E2 03 00 [22:27:06]MH_I2C_Read... [22:27:06]Read from MH i2c: E2 03 00 36 07 00 90 00 B1 [22:27:06]RAPDU: 90 00 [22:27:06]wFMCommunicate OK [22:27:06]wFMCommunicate request_size=134 [22:27:06]MH_SAM_APDU [22:27:06]CAPDU: 80 0D 02 02 81 00 F2 03 01 00 01 F3 03 06 00 E2 07 00 00 00 00 07 04 06 00 38 4A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4D 00 00 00 F4 03 04 00 3A E6 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 7B 10 00 00 35 04 06 00 CD 60 68 B8 DA 81 [22:27:06]Write to MH i2c: E2 89 00 37 07 80 0D 02 02 81 00 00 F2 03 01 00 01 F3 03 06 00 E2 07 00 00 00 00 07 04 06 00 38 4A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4D 00 00 00 F4 03 04 00 3A E6 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 7B 10 00 00 35 04 06 00 CD 60 68 B8 DA 81 00 00 10 [22:27:06]Write i2c OK [22:27:06]MH_I2C_Read... [22:27:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:27:06]Read from MH i2c: E2 [22:27:06]MH_I2C_Read... [22:27:06]Read from MH i2c: E2 03 00 [22:27:06]MH_I2C_Read... [22:27:06]Read from MH i2c: E2 03 00 37 07 00 90 00 B2 [22:27:06]RAPDU: 90 00 [22:27:06]wFMCommunicate OK [22:27:06]wFMCommunicate request_size=4 [22:27:06]MH_SAM_APDU [22:27:06]CAPDU: 80 0D 03 02 [22:27:06]Write to MH i2c: E2 08 00 38 07 80 0D 03 02 00 00 00 00 BA [22:27:06]Write i2c OK [22:27:06]MH_I2C_Read... [22:27:06]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:27:06]Read from MH i2c: E2 [22:27:06]MH_I2C_Read... [22:27:06]Read from MH i2c: E2 0B 00 [22:27:06]MH_I2C_Read... [22:27:06]Read from MH i2c: E2 0B 00 38 07 00 9B 0F 0D 9D 5A 78 F1 61 90 00 33 [22:27:06]RAPDU: 9B 0F 0D 9D 5A 78 F1 61 90 00 [22:27:06]wFMCommunicate OK [22:27:06]SAM_PROTO_SignData done [22:27:06]FM_MakeSignedData done [22:27:06]CreateOFDProtocolMessage [22:27:06]wFMCommunicate request_size=4 [22:27:06]MH_SAM_APDU [22:27:06]CAPDU: 80 11 00 00 [22:27:06]Write to MH i2c: E2 08 00 39 07 80 11 00 00 00 00 00 00 BA [22:27:06]Write i2c OK [22:27:06]MH_I2C_Read... [22:27:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:27:06]Read from MH i2c: E2 [22:27:06]MH_I2C_Read... [22:27:06]Read from MH i2c: E2 17 00 [22:27:06]MH_I2C_Read... [22:27:06]Read from MH i2c: E2 17 00 39 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 0D [22:27:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [22:27:06]wFMCommunicate OK [22:27:06]CreateOFDProtocolMessage done [22:27:06]OFDSenderStorePacket 4219 [22:27:06]StoreOFDPacket docnum=4219 [22:27:06]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 8B 01 00 00 EE E2 83 01 1D 8F 5A 03 01 00 03 00 77 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 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 35 31 06 04 1E 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 AB D1 81 D1 81 D1 8B D0 BA 20 D0 90 D1 82 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 4A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E2 07 00 00 00 00 07 04 06 00 38 4A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4D 00 00 00 F4 03 04 00 3A E6 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 7B 10 00 00 35 04 06 00 CD 60 68 B8 DA 81 9B 0F 0D 9D 5A 78 F1 61 [22:27:06]CheckFolder [22:27:06]dirname=/storage/ofd_packets [22:27:06]CheckFolder done [22:27:06]ProducePacketName [22:27:06]name=ofd_packets/00004219 [22:27:06]NVStorageSaveData ofd_packets/00004219 [22:27:06]File name is /storage/ofd_packets/00004219 [22:27:06]Write 425 bytes [22:27:06]NVStorageSaveData done [22:27:06]OFDSenderStorePacket done [22:27:06]KKMCreateOFDPacket done [22:27:06]NVStorageSaveData kkm_last_timestamp [22:27:06]File name is /storage/kkm_last_timestamp [22:27:06]Write 4 bytes [22:27:06]NVStorageSaveData done [22:27:06]ExternCall_PrintAddStr [22:27:06]wPrintStart [22:27:06]Write to MH i2c: 01 00 00 3A 07 41 [22:27:06]Write i2c OK [22:27:06]MH_I2C_Read... [22:27:06]Read from MH i2c: 01 [22:27:06]MH_I2C_Read... [22:27:06]Read from MH i2c: 01 07 00 [22:27:06]MH_I2C_Read... [22:27:06]Read from MH i2c: 01 07 00 3A 07 00 00 00 00 00 FF 0F 56 [22:27:06]RasterBufferAndPrint [22:27:06]line Счет N : (3)4472 [22:27:06]line ИНН: 02508201610067 [22:27:06]line Контрольно-Кассовый Чек [22:27:06]line ПРОДАЖА [22:27:06]line Товар: 48747059 [22:27:06]line Сигареты Winston Legend Blue [22:27:06]line 1.000 * 140.00 [22:27:06]line = 140.00 [22:27:06]line НДС 12% НСП 1% [22:27:06]line > о реализуемом товаре [22:27:06]line Товар: 4700000160051 [22:27:06]line Вода Ыссык Ата 1л [22:27:06]line 1.000 * 50.00 [22:27:06]line = 50.00 [22:27:06]line НДС 12% НСП 1% [22:27:06]line > о реализуемом товаре [22:27:06]line ИТОГО: 190.00 [22:27:06]line НСП 1% : 1.68 [22:27:06]line НДС 12% : 20.18 [22:27:06]line Наличными: 190.00 [22:27:06]line Безнал.: 0.00 [22:27:06]line Место: АЗС № 116 "Партнер Нефть" [22:27:06]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [22:27:06]line СНО: Общий режим [22:27:06]line Чек 77 05.06.2024 22:27 [22:27:06]line Смена: 84 ФФД: 1.0 [22:27:06]line ЗНМ: 0300000233 [22:27:06]line РНМ: 0000000000145775 [22:27:06]line Версия ККМ: v1.0 [22:27:06]line ФМ: 0000000000959360 [22:27:06]line ФД: 4219 [22:27:06]line ФПД: 225813957499521 [22:27:06]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T222706&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4219&fm=225813957499521&tin=02508201610067®Number=0000000000145775&sum=19000 [22:27:06]line 0 [22:27:06]OFD Sender: Processing packet 4219 [packets to send 2, broken 1] [22:27:06]ProducePacketName [22:27:06]name=ofd_packets/00004219 [22:27:06]OFD Sender: To server: pG, [22:27:06]CommunicateWithHost lk.salyk.kg:30040 [22:27:06]ConnectInit lk.salyk.kg [22:27:06]written 0, free lines is 4095 [22:27:07]Connected sock=9 [22:27:07]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 8B 01 00 00 EE E2 83 01 1D 8F 5A 03 01 00 03 00 77 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 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 35 31 06 04 1E 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 AB D1 81 D1 81 D1 8B D0 BA 20 D0 90 D1 82 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 4A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E2 07 00 00 00 00 07 04 06 00 38 4A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4D 00 00 00 F4 03 04 00 3A E6 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 7B 10 00 00 35 04 06 00 CD 60 68 B8 DA 81 9B 0F 0D 9D 5A 78 F1 61 [22:27:07]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 AD 67 47 00 51 1A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 7B 10 00 00 F4 03 04 00 3C 92 60 66 B6 04 01 00 00 FD DB D2 E8 ED 82 8D 73 [22:27:07]CommunicateWithHost err = 0 [22:27:07]CheckOFDResponse [22:27:07]1017 (14) - 77093643461234 [22:27:07]1041 (16) - 0000000000959360 [22:27:07]1040 (4) - 4219 [22:27:07]1012 (4) - 05.06.2024 16:28 [22:27:07]1206 (1) - 0 [22:27:07]OFD Sender: Remove packet 4219 [22:27:07]ProducePacketName [22:27:07]name=ofd_packets/00004219 [22:27:07]NVStorageDeleteData [22:27:07]Write to MH i2c: 01 00 00 69 07 70 [22:27:07]Write i2c OK [22:27:07]MH_I2C_Read... [22:27:07]Read from MH i2c: 01 [22:27:07]MH_I2C_Read... [22:27:07]Read from MH i2c: 01 07 00 [22:27:07]MH_I2C_Read... [22:27:07]Read from MH i2c: 01 07 00 69 07 00 00 00 00 00 35 0C B8 [22:27:07]RasterBufferAndPrint [22:27:07]line [22:27:07]line [22:27:07]line [22:27:07]line [22:27:07]line [22:27:07]written 0, free lines is 3130 [22:27:07]MH_Cut [22:27:07]Write to MH i2c: D1 01 00 70 07 01 49 [22:27:07]Write i2c OK [22:27:07]MH_I2C_Read... [22:27:07]Read from MH i2c: D1 [22:27:07]MH_I2C_Read... [22:27:07]Read from MH i2c: D1 01 00 [22:27:07]MH_I2C_Read... [22:27:07]Read from MH i2c: D1 01 00 70 07 00 48 [22:27:07]Write to MH i2c: 01 00 00 71 07 78 [22:27:07]Write i2c OK [22:27:07]MH_I2C_Read... [22:27:07]OFD Sender: No OFD packet to send [22:27:08]*** Cut start [22:27:08]*** Partial cut [22:27:08]*** CUTSNS_PIN = 1 [22:27:08]*** CUTSNS_PIN = 0 [22:27:08]*** Brake cut motor [22:27:09]Read from MH i2c: 01 [22:27:09]MH_I2C_Read... [22:27:09]*** Stop cut motor [22:27:09]*** Cut end [22:27:09]Read from MH i2c: 01 07 00 [22:27:09]MH_I2C_Read... [22:27:09]Read from MH i2c: 01 07 00 71 07 00 00 00 00 00 FF 0F 8D [22:27:09]process_action close_receipt done [22:27:09]requested_data is exist [22:27:09]produce_requested_data [22:27:09]requested_item fm.sn is exist - process it [22:27:09]wFMCommunicate request_size=4 [22:27:09]MH_SAM_APDU [22:27:09]CAPDU: 80 11 00 00 [22:27:09]Write to MH i2c: E2 08 00 72 07 80 11 00 00 00 00 00 00 F3 [22:27:09]Write i2c OK [22:27:09]MH_I2C_Read... [22:27:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:27:09]Read from MH i2c: E2 [22:27:09]MH_I2C_Read... [22:27:09]Read from MH i2c: E2 17 00 [22:27:09]MH_I2C_Read... [22:27:09]Read from MH i2c: E2 17 00 72 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 46 [22:27:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [22:27:09]wFMCommunicate OK [22:27:09]requested_item fd.num is exist - process it [22:27:09]SAM_PROTO_GetFieldsCounters [22:27:09]wFMCommunicate request_size=4 [22:27:09]MH_SAM_APDU [22:27:09]CAPDU: 80 13 00 00 [22:27:09]Write to MH i2c: E2 08 00 73 07 80 13 00 00 00 00 00 00 F6 [22:27:09]Write i2c OK [22:27:09]MH_I2C_Read... [22:27:09]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:27:09]Read from MH i2c: E2 [22:27:09]MH_I2C_Read... [22:27:09]Read from MH i2c: E2 62 00 [22:27:09]MH_I2C_Read... [22:27:09]Read from MH i2c: E2 62 00 73 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 7B 10 00 00 0E 04 04 00 54 00 00 00 12 04 04 00 4D 00 00 00 5E 04 04 00 4D 00 00 00 57 04 04 00 4E 00 00 00 19 04 04 00 00 00 00 00 90 00 E1 [22:27:09]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 7B 10 00 00 0E 04 04 00 54 00 00 00 12 04 04 00 4D 00 00 00 5E 04 04 00 4D 00 00 00 57 04 04 00 4E 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:27:09]wFMCommunicate OK [22:27:09]SAM_PROTO_GetFieldsCounters done [22:27:09]requested_item shift.num is exist - process it [22:27:09]requested_item shift.opened is exist - process it [22:27:09]req_shift_opened [22:27:09]FM_GetShiftState [22:27:09]SAM_PROTO_GetShiftState [22:27:09]wFMCommunicate request_size=4 [22:27:09]MH_SAM_APDU [22:27:09]CAPDU: 80 13 01 00 [22:27:09]Write to MH i2c: E2 08 00 74 07 80 13 01 00 00 00 00 00 F8 [22:27:09]Write i2c OK [22:27:09]MH_I2C_Read... [22:27:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:27:09]Read from MH i2c: E2 [22:27:09]MH_I2C_Read... [22:27:09]Read from MH i2c: E2 0E 00 [22:27:09]MH_I2C_Read... [22:27:09]Read from MH i2c: E2 0E 00 74 07 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 99 [22:27:09]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [22:27:09]wFMCommunicate OK [22:27:09]SAM_PROTO_GetShiftState done [22:27:09]FM_GetShiftState done [22:27:09]req_shift_opened done [22:27:09]requested_item shift.open_date is exist - process it [22:27:09]req_shift_open_date [22:27:09]req_shift_open_date done [22:27:09]produce_requested_data done [22:27:09]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4219,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765} [22:27:09]process_action_free close_receipt [22:27:09]json_value_free [22:27:09]json_value_free done [22:27:09]process_json_proto returns [22:27:09]Send response to host [22:27:09]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4219,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765}}} [22:27:09]free response buf [22:27:09]execute_script done [22:27:09]execute_script returns [22:27:09]free content buf [22:27:09]Sock 8.Close socket [22:27:09]Sock 8.Thread stoped [22:27:12]OFD Sender: No OFD packet to send [22:27:17]OFD Sender: No OFD packet to send [22:27:22]OFD Sender: No OFD packet to send [22:27:27]OFD Sender: No OFD packet to send [22:27:32]OFD Sender: No OFD packet to send [22:27:37]OFD Sender: No OFD packet to send [22:27:42]OFD Sender: No OFD packet to send [22:27:47]OFD Sender: No OFD packet to send [22:27:52]OFD Sender: No OFD packet to send [22:27:57]OFD Sender: No OFD packet to send [22:28:02]OFD Sender: No OFD packet to send [22:28:07]OFD Sender: No OFD packet to send [22:28:12]OFD Sender: No OFD packet to send [22:28:17]OFD Sender: No OFD packet to send [22:28:22]OFD Sender: No OFD packet to send [22:28:27]OFD Sender: No OFD packet to send [22:28:32]OFD Sender: No OFD packet to send [22:28:37]OFD Sender: No OFD packet to send [22:28:42]OFD Sender: No OFD packet to send [22:28:47]OFD Sender: No OFD packet to send [22:28:52]OFD Sender: No OFD packet to send [22:28:57]OFD Sender: No OFD packet to send [22:29:02]OFD Sender: No OFD packet to send [22:29:07]OFD Sender: No OFD packet to send [22:29:12]OFD Sender: No OFD packet to send [22:29:17]OFD Sender: No OFD packet to send [22:29:22]OFD Sender: No OFD packet to send [22:29:27]OFD Sender: No OFD packet to send [22:29:32]OFD Sender: No OFD packet to send [22:29:37]OFD Sender: No OFD packet to send [22:29:42]OFD Sender: No OFD packet to send [22:29:47]OFD Sender: No OFD packet to send [22:29:52]OFD Sender: No OFD packet to send [22:29:57]OFD Sender: No OFD packet to send [22:30:02]OFD Sender: No OFD packet to send [22:30:07]OFD Sender: No OFD packet to send [22:30:12]OFD Sender: No OFD packet to send [22:30:17]OFD Sender: No OFD packet to send [22:30:22]OFD Sender: No OFD packet to send [22:30:27]OFD Sender: No OFD packet to send [22:30:32]OFD Sender: No OFD packet to send [22:30:37]OFD Sender: No OFD packet to send [22:30:42]OFD Sender: No OFD packet to send [22:30:47]OFD Sender: No OFD packet to send [22:30:52]OFD Sender: No OFD packet to send [22:30:57]OFD Sender: No OFD packet to send [22:31:02]OFD Sender: No OFD packet to send [22:31:07]OFD Sender: No OFD packet to send [22:31:12]OFD Sender: No OFD packet to send [22:31:17]OFD Sender: No OFD packet to send [22:31:22]OFD Sender: No OFD packet to send [22:31:27]OFD Sender: No OFD packet to send [22:31:32]OFD Sender: No OFD packet to send [22:31:37]OFD Sender: No OFD packet to send [22:31:42]OFD Sender: No OFD packet to send [22:31:47]OFD Sender: No OFD packet to send [22:31:52]OFD Sender: No OFD packet to send [22:31:57]OFD Sender: No OFD packet to send [22:32:02]OFD Sender: No OFD packet to send [22:32:07]OFD Sender: No OFD packet to send [22:32:12]OFD Sender: No OFD packet to send [22:32:17]OFD Sender: No OFD packet to send [22:32:22]OFD Sender: No OFD packet to send [22:32:27]OFD Sender: No OFD packet to send [22:32:32]OFD Sender: No OFD packet to send [22:32:37]OFD Sender: No OFD packet to send [22:32:42]OFD Sender: No OFD packet to send [22:32:47]OFD Sender: No OFD packet to send [22:32:53]OFD Sender: No OFD packet to send [22:32:58]OFD Sender: No OFD packet to send [22:33:03]OFD Sender: No OFD packet to send [22:33:08]OFD Sender: No OFD packet to send [22:33:13]OFD Sender: No OFD packet to send [22:33:18]OFD Sender: No OFD packet to send [22:33:23]OFD Sender: No OFD packet to send [22:33:28]OFD Sender: No OFD packet to send [22:33:33]OFD Sender: No OFD packet to send [22:33:38]OFD Sender: No OFD packet to send [22:33:43]OFD Sender: No OFD packet to send [22:33:48]OFD Sender: No OFD packet to send [22:33:53]OFD Sender: No OFD packet to send [22:33:58]OFD Sender: No OFD packet to send [22:34:03]OFD Sender: No OFD packet to send [22:34:08]OFD Sender: No OFD packet to send [22:34:13]OFD Sender: No OFD packet to send [22:34:18]OFD Sender: No OFD packet to send [22:34:23]OFD Sender: No OFD packet to send [22:34:28]OFD Sender: No OFD packet to send [22:34:33]OFD Sender: No OFD packet to send [22:34:38]OFD Sender: No OFD packet to send [22:34:43]OFD Sender: No OFD packet to send [22:34:48]OFD Sender: No OFD packet to send [22:34:53]OFD Sender: No OFD packet to send [22:34:58]OFD Sender: No OFD packet to send [22:35:03]OFD Sender: No OFD packet to send [22:35:08]OFD Sender: No OFD packet to send [22:35:13]OFD Sender: No OFD packet to send [22:35:18]OFD Sender: No OFD packet to send [22:35:23]OFD Sender: No OFD packet to send [22:35:28]OFD Sender: No OFD packet to send [22:35:33]OFD Sender: No OFD packet to send [22:35:38]OFD Sender: No OFD packet to send [22:35:43]OFD Sender: No OFD packet to send [22:35:48]OFD Sender: No OFD packet to send [22:35:53]OFD Sender: No OFD packet to send [22:35:58]OFD Sender: No OFD packet to send [22:36:03]OFD Sender: No OFD packet to send [22:36:08]OFD Sender: No OFD packet to send [22:36:13]OFD Sender: No OFD packet to send [22:36:18]OFD Sender: No OFD packet to send [22:36:23]OFD Sender: No OFD packet to send [22:36:28]OFD Sender: No OFD packet to send [22:36:33]OFD Sender: No OFD packet to send [22:36:38]OFD Sender: No OFD packet to send [22:36:43]OFD Sender: No OFD packet to send [22:36:48]OFD Sender: No OFD packet to send [22:36:53]OFD Sender: No OFD packet to send [22:36:58]OFD Sender: No OFD packet to send [22:37:03]OFD Sender: No OFD packet to send [22:37:08]OFD Sender: No OFD packet to send [22:37:13]OFD Sender: No OFD packet to send [22:37:18]OFD Sender: No OFD packet to send [22:37:23]OFD Sender: No OFD packet to send [22:37:28]OFD Sender: No OFD packet to send [22:37:33]OFD Sender: No OFD packet to send [22:37:38]OFD Sender: No OFD packet to send [22:37:43]OFD Sender: No OFD packet to send [22:37:48]OFD Sender: No OFD packet to send [22:37:53]OFD Sender: No OFD packet to send [22:37:58]OFD Sender: No OFD packet to send [22:38:03]OFD Sender: No OFD packet to send [22:38:08]OFD Sender: No OFD packet to send [22:38:13]OFD Sender: No OFD packet to send [22:38:18]OFD Sender: No OFD packet to send [22:38:23]OFD Sender: No OFD packet to send [22:38:28]OFD Sender: No OFD packet to send [22:38:33]OFD Sender: No OFD packet to send [22:38:38]OFD Sender: No OFD packet to send [22:38:43]OFD Sender: No OFD packet to send [22:38:48]OFD Sender: No OFD packet to send [22:38:53]OFD Sender: No OFD packet to send [22:38:58]OFD Sender: No OFD packet to send [22:39:03]OFD Sender: No OFD packet to send [22:39:08]OFD Sender: No OFD packet to send [22:39:13]OFD Sender: No OFD packet to send [22:39:18]OFD Sender: No OFD packet to send [22:39:23]OFD Sender: No OFD packet to send [22:39:28]OFD Sender: No OFD packet to send [22:39:33]OFD Sender: No OFD packet to send [22:39:38]OFD Sender: No OFD packet to send [22:39:43]OFD Sender: No OFD packet to send [22:39:48]OFD Sender: No OFD packet to send [22:39:53]OFD Sender: No OFD packet to send [22:39:58]OFD Sender: No OFD packet to send [22:40:03]OFD Sender: No OFD packet to send [22:40:08]OFD Sender: No OFD packet to send [22:40:13]OFD Sender: No OFD packet to send [22:40:18]OFD Sender: No OFD packet to send [22:40:23]OFD Sender: No OFD packet to send [22:40:28]OFD Sender: No OFD packet to send [22:40:33]OFD Sender: No OFD packet to send [22:40:38]OFD Sender: No OFD packet to send [22:40:43]OFD Sender: No OFD packet to send [22:40:48]OFD Sender: No OFD packet to send [22:40:53]OFD Sender: No OFD packet to send [22:40:58]OFD Sender: No OFD packet to send [22:41:03]OFD Sender: No OFD packet to send [22:41:08]OFD Sender: No OFD packet to send [22:41:13]OFD Sender: No OFD packet to send [22:41:18]OFD Sender: No OFD packet to send [22:41:23]OFD Sender: No OFD packet to send [22:41:28]OFD Sender: No OFD packet to send [22:41:33]OFD Sender: No OFD packet to send [22:41:38]OFD Sender: No OFD packet to send [22:41:43]OFD Sender: No OFD packet to send [22:41:48]OFD Sender: No OFD packet to send [22:41:53]OFD Sender: No OFD packet to send [22:41:58]OFD Sender: No OFD packet to send [22:42:03]OFD Sender: No OFD packet to send [22:42:08]OFD Sender: No OFD packet to send [22:42:13]OFD Sender: No OFD packet to send [22:42:18]OFD Sender: No OFD packet to send [22:42:23]OFD Sender: No OFD packet to send [22:42:28]OFD Sender: No OFD packet to send [22:42:33]OFD Sender: No OFD packet to send [22:42:38]OFD Sender: No OFD packet to send [22:42:43]OFD Sender: No OFD packet to send [22:42:48]OFD Sender: No OFD packet to send [22:42:53]OFD Sender: No OFD packet to send [22:42:58]OFD Sender: No OFD packet to send [22:43:03]OFD Sender: No OFD packet to send [22:43:08]OFD Sender: No OFD packet to send [22:43:13]OFD Sender: No OFD packet to send [22:43:18]OFD Sender: No OFD packet to send [22:43:23]OFD Sender: No OFD packet to send [22:43:28]OFD Sender: No OFD packet to send [22:43:33]OFD Sender: No OFD packet to send [22:43:38]OFD Sender: No OFD packet to send [22:43:43]OFD Sender: No OFD packet to send [22:43:48]OFD Sender: No OFD packet to send [22:43:53]OFD Sender: No OFD packet to send [22:43:58]OFD Sender: No OFD packet to send [22:44:03]OFD Sender: No OFD packet to send [22:44:08]OFD Sender: No OFD packet to send [22:44:13]OFD Sender: No OFD packet to send [22:44:18]OFD Sender: No OFD packet to send [22:44:23]OFD Sender: No OFD packet to send [22:44:28]OFD Sender: No OFD packet to send [22:44:33]OFD Sender: No OFD packet to send [22:44:38]OFD Sender: No OFD packet to send [22:44:43]OFD Sender: No OFD packet to send [22:44:48]OFD Sender: No OFD packet to send [22:44:53]OFD Sender: No OFD packet to send [22:44:58]OFD Sender: No OFD packet to send [22:45:03]OFD Sender: No OFD packet to send [22:45:08]OFD Sender: No OFD packet to send [22:45:13]OFD Sender: No OFD packet to send [22:45:18]OFD Sender: No OFD packet to send [22:45:23]OFD Sender: No OFD packet to send [22:45:28]OFD Sender: No OFD packet to send [22:45:33]OFD Sender: No OFD packet to send [22:45:38]OFD Sender: No OFD packet to send [22:45:43]OFD Sender: No OFD packet to send [22:45:48]OFD Sender: No OFD packet to send [22:45:53]OFD Sender: No OFD packet to send [22:45:58]OFD Sender: No OFD packet to send [22:46:03]OFD Sender: No OFD packet to send [22:46:08]OFD Sender: No OFD packet to send [22:46:13]OFD Sender: No OFD packet to send [22:46:18]OFD Sender: No OFD packet to send [22:46:23]OFD Sender: No OFD packet to send [22:46:28]OFD Sender: No OFD packet to send [22:46:33]OFD Sender: No OFD packet to send [22:46:38]OFD Sender: No OFD packet to send [22:46:43]OFD Sender: No OFD packet to send [22:46:48]OFD Sender: No OFD packet to send [22:46:53]OFD Sender: No OFD packet to send [22:46:58]OFD Sender: No OFD packet to send [22:47:03]OFD Sender: No OFD packet to send [22:47:08]OFD Sender: No OFD packet to send [22:47:13]OFD Sender: No OFD packet to send [22:47:18]OFD Sender: No OFD packet to send [22:47:23]OFD Sender: No OFD packet to send [22:47:28]OFD Sender: No OFD packet to send [22:47:33]OFD Sender: No OFD packet to send [22:47:38]OFD Sender: No OFD packet to send [22:47:43]OFD Sender: No OFD packet to send [22:47:48]OFD Sender: No OFD packet to send [22:47:53]OFD Sender: No OFD packet to send [22:47:58]OFD Sender: No OFD packet to send [22:48:03]OFD Sender: No OFD packet to send [22:48:08]OFD Sender: No OFD packet to send [22:48:13]OFD Sender: No OFD packet to send [22:48:18]OFD Sender: No OFD packet to send [22:48:23]OFD Sender: No OFD packet to send [22:48:28]OFD Sender: No OFD packet to send [22:48:33]OFD Sender: No OFD packet to send [22:48:38]OFD Sender: No OFD packet to send [22:48:43]OFD Sender: No OFD packet to send [22:48:48]OFD Sender: No OFD packet to send [22:48:53]OFD Sender: No OFD packet to send [22:48:58]OFD Sender: No OFD packet to send [22:49:03]OFD Sender: No OFD packet to send [22:49:08]OFD Sender: No OFD packet to send [22:49:13]OFD Sender: No OFD packet to send [22:49:18]OFD Sender: No OFD packet to send [22:49:23]OFD Sender: No OFD packet to send [22:49:28]OFD Sender: No OFD packet to send [22:49:33]OFD Sender: No OFD packet to send [22:49:38]OFD Sender: No OFD packet to send [22:49:43]OFD Sender: No OFD packet to send [22:49:48]OFD Sender: No OFD packet to send [22:49:53]OFD Sender: No OFD packet to send [22:49:58]OFD Sender: No OFD packet to send [22:50:03]OFD Sender: No OFD packet to send [22:50:08]OFD Sender: No OFD packet to send [22:50:13]OFD Sender: No OFD packet to send [22:50:18]OFD Sender: No OFD packet to send [22:50:23]OFD Sender: No OFD packet to send [22:50:28]OFD Sender: No OFD packet to send [22:50:33]OFD Sender: No OFD packet to send [22:50:38]OFD Sender: No OFD packet to send [22:50:43]OFD Sender: No OFD packet to send [22:50:48]OFD Sender: No OFD packet to send [22:50:53]OFD Sender: No OFD packet to send [22:50:58]OFD Sender: No OFD packet to send [22:51:03]OFD Sender: No OFD packet to send [22:51:08]OFD Sender: No OFD packet to send [22:51:10]accept exits with 10 [22:51:10]New connection [22:51:10]New thread 3066629476 created [22:51:10]Thread 3066772836 joined [22:51:10]Waiting for new connection... [22:51:10] Sock 10.Parse request [22:51:10]Sock 10.Check first char [22:51:10]Sock 10.First char is OK [22:51:10]request: POST /json_proto HTTP/1.0 [22:51:10]Method: POST [22:51:10]URL: /json_proto [22:51:10]Method is POST - this is cgi request [22:51:10]url: /json_proto [22:51:10]query_string will be loaded in cgi processing [22:51:10]execute_cgi json_proto POST (null) [22:51:10]execute_cgi path=json_proto method=POST [22:51:10]POST find Content-Length [22:51:10]Host: 172.17.56.68:8080 [22:51:10]Content-Length: 1510 [22:51:10]Content-Type: application/json [22:51:10] [22:51:10]POST finish read [22:51:10]Found Content-Length = 1510 [22:51:10]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4473", "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 }]} ,{ "code": "4660085515163", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0421\u043D\u0438\u043A\u0435\u0440\u0441 \u0441\u0443\u043F\u0435\u0440 95/80\u0433", "price" : 90.00, "quantity" : 2.000, "sum" : 180.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 }]} ,{ "code": "4700003010476", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Let`s Go! \u0441/\u0441 \u044F\u0431\u043B\u043E\u043A\u043E \u041F\u042D\u0422 1\u043B", "price" : 80.00, "quantity" : 2.000, "sum" : 160.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 605.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:51:10]execute_script... [22:51:10]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4473", "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 }]} ,{ "code": "4660085515163", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0421\u043D\u0438\u043A\u0435\u0440\u0441 \u0441\u0443\u043F\u0435\u0440 95/80\u0433", "price" : 90.00, "quantity" : 2.000, "sum" : 180.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 }]} ,{ "code": "4700003010476", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Let`s Go! \u0441/\u0441 \u044F\u0431\u043B\u043E\u043A\u043E \u041F\u042D\u0422 1\u043B", "price" : 80.00, "quantity" : 2.000, "sum" : 160.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 605.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:51:10]POST & json_proto [22:51:10]process_json_proto [22:51:10]json parsed OK: [22:51:10]protocol is kg_v1.0 [22:51:10]action value=close_receipt [22:51:10]process_action close_receipt [22:51:10]cmd_close_receipt [22:51:10]MH_GetDate [22:51:10]Write to MH i2c: F0 00 00 75 07 6B [22:51:10]Write i2c OK [22:51:10]MH_I2C_Read... [22:51:10]Read from MH i2c: F0 [22:51:10]MH_I2C_Read... [22:51:10]Read from MH i2c: F0 09 00 [22:51:10]MH_I2C_Read... [22:51:10]Read from MH i2c: F0 09 00 75 07 00 E0 EB 60 66 3A 8F 60 66 94 [22:51:10]GetLastDocTimeStamp 1717626426 [22:51:10]current date 1717627872 [22:51:10]FM_GetShiftState [22:51:10]SAM_PROTO_GetShiftState [22:51:10]wFMCommunicate request_size=4 [22:51:10]MH_SAM_APDU [22:51:10]CAPDU: 80 13 01 00 [22:51:10]Write to MH i2c: E2 08 00 76 07 80 13 01 00 00 00 00 00 FA [22:51:10]Write i2c OK [22:51:10]MH_I2C_Read... [22:51:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:51:10]Read from MH i2c: E2 [22:51:10]MH_I2C_Read... [22:51:10]Read from MH i2c: E2 0E 00 [22:51:10]MH_I2C_Read... [22:51:10]Read from MH i2c: E2 0E 00 76 07 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 9B [22:51:10]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [22:51:10]wFMCommunicate OK [22:51:10]SAM_PROTO_GetShiftState done [22:51:10]FM_GetShiftState done [22:51:10]opened in 1717545765 [22:51:10]opened+sec_in_day 1717632165 [22:51:10]quantity*price = 14000 [22:51:10]sum+1 = 14001 [22:51:10]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4660085515163 Шок Батончик Сникерс супер 95/80г 2.000 * 90.00 = 180.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 2000036220012 Кофе Капучино XL(GABB TRADE) 1.000 * 125.00 = 125.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700003010476 Напиток Let`s Go! с/с яблоко ПЭТ 1л 2.000 * 80.00 = 160.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 605.00 НСП 1% : 5.36 НДС 12% : 64.24 Наличными: 605.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 78 05.06.2024 22:51 Смена: 84 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4220 ФПД: 56903834838050 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T225112&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4220&fm=56903834838050&tin=02508201610067®Number=0000000000145775&sum=60500 0 [22:51:11]StoreToDocumentArchive [22:51:11]shift 84 fd 4220 [22:51:11]save to /storage/0084/doc_00004220 [22:51:11]save last doc name /storage/0084/doc_00004220 to /storage/kkm_last_doc_name [22:51:11]save OK [22:51:11]Clear old archive folders... [22:51:11]ProcessDocumentItem done err = 0, tmpTLVsize=640 [22:51:11]tlvbuf is 019B3E60 [22:51:11]SAM_PROTO_ClearQueue [22:51:11]wFMCommunicate request_size=4 [22:51:11]MH_SAM_APDU [22:51:11]CAPDU: 80 09 00 00 [22:51:11]Write to MH i2c: E2 08 00 83 07 80 09 00 00 00 00 00 00 FC [22:51:11]Write i2c OK [22:51:11]MH_I2C_Read... [22:51:11]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:51:11]Read from MH i2c: E2 [22:51:11]MH_I2C_Read... [22:51:11]Read from MH i2c: E2 03 00 [22:51:11]MH_I2C_Read... [22:51:11]Read from MH i2c: E2 03 00 83 07 00 90 00 FE [22:51:11]RAPDU: 90 00 [22:51:11]wFMCommunicate OK [22:51:11]SAM_PROTO_ClearQueue done [22:51:11]KKMCreateOFDPacket [22:51:11]OFDProtocolAddRootSTLVToBuf [22:51:11]FM_MakeSignedData [22:51:11]FM_MakeSignedData [22:51:11]SAM_PROTO_SignData [22:51:11]wFMCommunicate request_size=4 [22:51:11]MH_SAM_APDU [22:51:11]CAPDU: 80 0D 01 02 [22:51:11]Write to MH i2c: E2 08 00 84 07 80 0D 01 02 00 00 00 00 04 [22:51:11]Write i2c OK [22:51:11]MH_I2C_Read... [22:51:11]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:51:11]Read from MH i2c: E2 [22:51:11]MH_I2C_Read... [22:51:11]Read from MH i2c: E2 03 00 [22:51:11]MH_I2C_Read... [22:51:11]Read from MH i2c: E2 03 00 84 07 00 90 00 FF [22:51:11]RAPDU: 90 00 [22:51:11]wFMCommunicate OK [22:51:11]wFMCommunicate request_size=255 [22:51:11]MH_SAM_APDU [22:51:11]CAPDU: 80 0D 02 02 FA 03 00 80 02 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 36 36 30 30 38 35 35 31 35 31 36 33 06 04 39 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A1 D0 BD D0 B8 D0 BA D0 B5 D1 80 D1 81 20 D1 81 D1 83 D0 BF D0 B5 D1 80 20 39 35 2F 38 30 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 [22:51:11]Write to MH i2c: E2 02 01 85 07 80 0D 02 02 FA 00 03 00 80 02 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 36 36 30 30 38 35 35 31 35 31 36 33 06 04 39 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A1 D0 BD D0 B8 D0 BA D0 B5 D1 80 D1 81 20 D1 81 D1 83 D0 BF D0 B5 D1 80 20 39 35 2F 38 30 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 00 00 21 [22:51:11]Write i2c OK [22:51:11]MH_I2C_Read... [22:51:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:51:12]Read from MH i2c: E2 [22:51:12]MH_I2C_Read... [22:51:12]Read from MH i2c: E2 03 00 [22:51:12]MH_I2C_Read... [22:51:12]Read from MH i2c: E2 03 00 85 07 00 90 00 00 [22:51:12]RAPDU: 90 00 [22:51:12]wFMCommunicate OK [22:51:12]wFMCommunicate request_size=255 [22:51:12]MH_SAM_APDU [22:51:12]CAPDU: 80 0D 02 02 FA 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 7A 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 34 37 36 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 65 74 60 73 20 47 6F 21 20 D1 81 2F D1 81 20 D1 8F D0 B1 D0 BB D0 BE D0 BA D0 BE 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 80 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 54 EC 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 [22:51:12]Write to MH i2c: E2 02 01 86 07 80 0D 02 02 FA 00 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 7A 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 34 37 36 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 65 74 60 73 20 47 6F 21 20 D1 81 2F D1 81 20 D1 8F D0 B1 D0 BB D0 BE D0 BA D0 BE 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 80 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 54 EC 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 00 6B [22:51:12]Write i2c OK [22:51:12]MH_I2C_Read... [22:51:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:51:12]Read from MH i2c: E2 [22:51:12]MH_I2C_Read... [22:51:12]Read from MH i2c: E2 03 00 [22:51:12]MH_I2C_Read... [22:51:12]Read from MH i2c: E2 03 00 86 07 00 90 00 01 [22:51:12]RAPDU: 90 00 [22:51:12]wFMCommunicate OK [22:51:12]wFMCommunicate request_size=149 [22:51:12]MH_SAM_APDU [22:51:12]CAPDU: 80 0D 02 02 90 00 01 F7 03 06 00 18 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 18 19 00 00 00 00 07 04 06 00 54 EC 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4E 00 00 00 F4 03 04 00 E0 EB 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 7C 10 00 00 35 04 06 00 33 C0 F4 DC A4 22 [22:51:12]Write to MH i2c: E2 98 00 87 07 80 0D 02 02 90 00 00 01 F7 03 06 00 18 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 18 19 00 00 00 00 07 04 06 00 54 EC 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4E 00 00 00 F4 03 04 00 E0 EB 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 7C 10 00 00 35 04 06 00 33 C0 F4 DC A4 22 00 00 2D [22:51:12]Write i2c OK [22:51:12]MH_I2C_Read... [22:51:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:51:12]Read from MH i2c: E2 [22:51:12]MH_I2C_Read... [22:51:12]Read from MH i2c: E2 03 00 [22:51:12]MH_I2C_Read... [22:51:12]Read from MH i2c: E2 03 00 87 07 00 90 00 02 [22:51:12]RAPDU: 90 00 [22:51:12]wFMCommunicate OK [22:51:12]wFMCommunicate request_size=4 [22:51:12]MH_SAM_APDU [22:51:12]CAPDU: 80 0D 03 02 [22:51:12]Write to MH i2c: E2 08 00 88 07 80 0D 03 02 00 00 00 00 0A [22:51:12]Write i2c OK [22:51:12]MH_I2C_Read... [22:51:12]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:51:12]Read from MH i2c: E2 [22:51:12]MH_I2C_Read... [22:51:12]Read from MH i2c: E2 0B 00 [22:51:12]MH_I2C_Read... [22:51:12]Read from MH i2c: E2 0B 00 88 07 00 4C DC AC 22 8B D5 7B CF 90 00 AB [22:51:12]RAPDU: 4C DC AC 22 8B D5 7B CF 90 00 [22:51:12]wFMCommunicate OK [22:51:12]SAM_PROTO_SignData done [22:51:12]FM_MakeSignedData done [22:51:12]CreateOFDProtocolMessage [22:51:12]wFMCommunicate request_size=4 [22:51:12]MH_SAM_APDU [22:51:12]CAPDU: 80 11 00 00 [22:51:12]Write to MH i2c: E2 08 00 89 07 80 11 00 00 00 00 00 00 0A [22:51:12]Write i2c OK [22:51:12]MH_I2C_Read... [22:51:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:51:12]Read from MH i2c: E2 [22:51:12]MH_I2C_Read... [22:51:12]Read from MH i2c: E2 17 00 [22:51:12]MH_I2C_Read... [22:51:12]Read from MH i2c: E2 17 00 89 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 5D [22:51:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [22:51:12]wFMCommunicate OK [22:51:12]CreateOFDProtocolMessage done [22:51:12]OFDSenderStorePacket 4220 [22:51:12]StoreOFDPacket docnum=4220 [22:51:12]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 94 02 00 00 23 36 8C 02 D5 05 5A 03 01 00 03 00 80 02 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 36 36 30 30 38 35 35 31 35 31 36 33 06 04 39 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A1 D0 BD D0 B8 D0 BA D0 B5 D1 80 D1 81 20 D1 81 D1 83 D0 BF D0 B5 D1 80 20 39 35 2F 38 30 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 7A 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 34 37 36 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 65 74 60 73 20 47 6F 21 20 D1 81 2F D1 81 20 D1 8F D0 B1 D0 BB D0 BE D0 BA D0 BE 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 80 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 54 EC 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 18 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 18 19 00 00 00 00 07 04 06 00 54 EC 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4E 00 00 00 F4 03 04 00 E0 EB 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 7C 10 00 00 35 04 06 00 33 C0 F4 DC A4 22 4C DC AC 22 8B D5 7B CF [22:51:12]CheckFolder [22:51:12]dirname=/storage/ofd_packets [22:51:12]CheckFolder done [22:51:12]ProducePacketName [22:51:12]name=ofd_packets/00004220 [22:51:12]NVStorageSaveData ofd_packets/00004220 [22:51:12]File name is /storage/ofd_packets/00004220 [22:51:12]Write 690 bytes [22:51:12]NVStorageSaveData done [22:51:12]OFDSenderStorePacket done [22:51:12]KKMCreateOFDPacket done [22:51:12]NVStorageSaveData kkm_last_timestamp [22:51:12]File name is /storage/kkm_last_timestamp [22:51:12]Write 4 bytes [22:51:12]NVStorageSaveData done [22:51:12]ExternCall_PrintAddStr [22:51:12]wPrintStart [22:51:12]Write to MH i2c: 01 00 00 8A 07 91 [22:51:12]Write i2c OK [22:51:12]MH_I2C_Read... [22:51:12]Read from MH i2c: 01 [22:51:12]MH_I2C_Read... [22:51:12]Read from MH i2c: 01 07 00 [22:51:12]MH_I2C_Read... [22:51:12]Read from MH i2c: 01 07 00 8A 07 00 00 00 00 00 FF 0F A6 [22:51:12]RasterBufferAndPrint [22:51:12]line Счет N : (3)4473 [22:51:12]line ИНН: 02508201610067 [22:51:12]line Контрольно-Кассовый Чек [22:51:12]line ПРОДАЖА [22:51:12]line Товар: 48743570 [22:51:13]line Сигареты Winston XStyle Blue [22:51:13]line 1.000 * 140.00 [22:51:13]line = 140.00 [22:51:13]line НДС 12% НСП 1% [22:51:13]line > о реализуемом товаре [22:51:13]line Товар: 4660085515163 [22:51:13]line Шок Батончик Сникерс супер 95/80г [22:51:13]line 2.000 * 90.00 [22:51:13]line = 180.00 [22:51:13]line НДС 12% НСП 1% [22:51:13]line > о реализуемом товаре [22:51:13]line Товар: 2000036220012 [22:51:13]line Кофе Капучино XL(GABB TRADE) [22:51:13]line 1.000 * 125.00 [22:51:13]line = 125.00 [22:51:13]line НДС 12% НСП 1% [22:51:13]line > о реализуемом товаре [22:51:13]line Товар: 4700003010476 [22:51:13]line Напиток Let`s Go! с/с яблоко ПЭТ 1л [22:51:13]line 2.000 * 80.00 [22:51:13]line = 160.00 [22:51:13]line НДС 12% НСП 1% [22:51:13]line > о реализуемом товаре [22:51:13]line ИТОГО: 605.00 [22:51:13]line НСП 1% : 5.36 [22:51:13]line НДС 12% : 64.24 [22:51:13]line Наличными: 605.00 [22:51:13]line Безнал.: 0.00 [22:51:13]line Место: АЗС № 116 "Партнер Нефть" [22:51:13]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [22:51:13]line СНО: Общий режим [22:51:13]line Чек 78 05.06.2024 22:51 [22:51:13]line Смена: 84 ФФД: 1.0 [22:51:13]line ЗНМ: 0300000233 [22:51:13]line РНМ: 0000000000145775 [22:51:13]line Версия ККМ: v1.0 [22:51:13]line ФМ: 0000000000959360 [22:51:13]line ФД: 4220 [22:51:13]line ФПД: 56903834838050 [22:51:13]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T225112&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4220&fm=56903834838050&tin=02508201610067®Number=0000000000145775&sum=60500 [22:51:13]OFD Sender: Processing packet 4220 [packets to send 2, broken 1] [22:51:13]ProducePacketName [22:51:13]name=ofd_packets/00004220 [22:51:13]OFD Sender: To server: pG, [22:51:13]CommunicateWithHost lk.salyk.kg:30040 [22:51:13]ConnectInit lk.salyk.kg [22:51:13]line 0 [22:51:13]written 0, free lines is 4095 [22:51:13]Connected sock=9 [22:51:13]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 94 02 00 00 23 36 8C 02 D5 05 5A 03 01 00 03 00 80 02 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 36 36 30 30 38 35 35 31 35 31 36 33 06 04 39 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A1 D0 BD D0 B8 D0 BA D0 B5 D1 80 D1 81 20 D1 81 D1 83 D0 BF D0 B5 D1 80 20 39 35 2F 38 30 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 7A 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 34 37 36 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 65 74 60 73 20 47 6F 21 20 D1 81 2F D1 81 20 D1 8F D0 B1 D0 BB D0 BE D0 BA D0 BE 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 80 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 54 EC 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 18 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 18 19 00 00 00 00 07 04 06 00 54 EC 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4E 00 00 00 F4 03 04 00 E0 EB 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 7C 10 00 00 35 04 06 00 33 C0 F4 DC A4 22 4C DC AC 22 8B D5 7B CF [22:51:13]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 19 E5 47 00 4B 5F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 7C 10 00 00 F4 03 04 00 E2 97 60 66 B6 04 01 00 00 67 AC B0 D7 3A 64 B3 20 [22:51:13]CommunicateWithHost err = 0 [22:51:13]CheckOFDResponse [22:51:13]1017 (14) - 77093643461234 [22:51:13]1041 (16) - 0000000000959360 [22:51:13]1040 (4) - 4220 [22:51:13]1012 (4) - 05.06.2024 16:52 [22:51:13]1206 (1) - 0 [22:51:13]OFD Sender: Remove packet 4220 [22:51:13]ProducePacketName [22:51:13]name=ofd_packets/00004220 [22:51:13]NVStorageDeleteData [22:51:13]Write to MH i2c: 01 00 00 C7 07 CE [22:51:13]Write i2c OK [22:51:13]MH_I2C_Read... [22:51:13]Read from MH i2c: 01 [22:51:13]MH_I2C_Read... [22:51:13]Read from MH i2c: 01 07 00 [22:51:13]MH_I2C_Read... [22:51:13]Read from MH i2c: 01 07 00 C7 07 00 00 00 00 00 59 0B 39 [22:51:13]RasterBufferAndPrint [22:51:13]line [22:51:13]line [22:51:13]line [22:51:13]line [22:51:13]line [22:51:13]written 0, free lines is 2911 [22:51:13]MH_Cut [22:51:13]Write to MH i2c: D1 01 00 CE 07 01 A7 [22:51:13]Write i2c OK [22:51:13]MH_I2C_Read... [22:51:13]Read from MH i2c: D1 [22:51:13]MH_I2C_Read... [22:51:13]Read from MH i2c: D1 01 00 [22:51:13]MH_I2C_Read... [22:51:13]Read from MH i2c: D1 01 00 CE 07 00 A6 [22:51:13]Write to MH i2c: 01 00 00 CF 07 D6 [22:51:13]Write i2c OK [22:51:13]MH_I2C_Read... [22:51:13]OFD Sender: No OFD packet to send [22:51:14]*** Cut start [22:51:14]*** Partial cut [22:51:14]*** CUTSNS_PIN = 1 [22:51:14]*** CUTSNS_PIN = 0 [22:51:15]*** Brake cut motor [22:51:15]Read from MH i2c: 01 [22:51:15]MH_I2C_Read... [22:51:15]*** Stop cut motor [22:51:15]*** Cut end [22:51:15]Read from MH i2c: 01 07 00 [22:51:15]MH_I2C_Read... [22:51:15]Read from MH i2c: 01 07 00 CF 07 00 00 00 00 00 FF 0F EB [22:51:15]process_action close_receipt done [22:51:15]requested_data is exist [22:51:15]produce_requested_data [22:51:15]requested_item fm.sn is exist - process it [22:51:15]wFMCommunicate request_size=4 [22:51:15]MH_SAM_APDU [22:51:15]CAPDU: 80 11 00 00 [22:51:15]Write to MH i2c: E2 08 00 D0 07 80 11 00 00 00 00 00 00 51 [22:51:15]Write i2c OK [22:51:15]MH_I2C_Read... [22:51:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:51:15]Read from MH i2c: E2 [22:51:15]MH_I2C_Read... [22:51:15]Read from MH i2c: E2 17 00 [22:51:15]MH_I2C_Read... [22:51:15]Read from MH i2c: E2 17 00 D0 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 A4 [22:51:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [22:51:15]wFMCommunicate OK [22:51:15]requested_item fd.num is exist - process it [22:51:15]SAM_PROTO_GetFieldsCounters [22:51:15]wFMCommunicate request_size=4 [22:51:15]MH_SAM_APDU [22:51:15]CAPDU: 80 13 00 00 [22:51:15]Write to MH i2c: E2 08 00 D1 07 80 13 00 00 00 00 00 00 54 [22:51:15]Write i2c OK [22:51:15]MH_I2C_Read... [22:51:15]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:51:15]Read from MH i2c: E2 [22:51:15]MH_I2C_Read... [22:51:15]Read from MH i2c: E2 62 00 [22:51:15]MH_I2C_Read... [22:51:15]Read from MH i2c: E2 62 00 D1 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 7C 10 00 00 0E 04 04 00 54 00 00 00 12 04 04 00 4E 00 00 00 5E 04 04 00 4E 00 00 00 57 04 04 00 4F 00 00 00 19 04 04 00 00 00 00 00 90 00 43 [22:51:15]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 7C 10 00 00 0E 04 04 00 54 00 00 00 12 04 04 00 4E 00 00 00 5E 04 04 00 4E 00 00 00 57 04 04 00 4F 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:51:15]wFMCommunicate OK [22:51:15]SAM_PROTO_GetFieldsCounters done [22:51:15]requested_item shift.num is exist - process it [22:51:15]requested_item shift.opened is exist - process it [22:51:15]req_shift_opened [22:51:15]FM_GetShiftState [22:51:15]SAM_PROTO_GetShiftState [22:51:15]wFMCommunicate request_size=4 [22:51:15]MH_SAM_APDU [22:51:15]CAPDU: 80 13 01 00 [22:51:15]Write to MH i2c: E2 08 00 D2 07 80 13 01 00 00 00 00 00 56 [22:51:15]Write i2c OK [22:51:15]MH_I2C_Read... [22:51:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:51:15]Read from MH i2c: E2 [22:51:15]MH_I2C_Read... [22:51:15]Read from MH i2c: E2 0E 00 [22:51:15]MH_I2C_Read... [22:51:15]Read from MH i2c: E2 0E 00 D2 07 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 F7 [22:51:15]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [22:51:15]wFMCommunicate OK [22:51:15]SAM_PROTO_GetShiftState done [22:51:15]FM_GetShiftState done [22:51:15]req_shift_opened done [22:51:15]requested_item shift.open_date is exist - process it [22:51:15]req_shift_open_date [22:51:15]req_shift_open_date done [22:51:15]produce_requested_data done [22:51:15]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4220,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765} [22:51:15]process_action_free close_receipt [22:51:15]json_value_free [22:51:15]json_value_free done [22:51:15]process_json_proto returns [22:51:15]Send response to host [22:51:15]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4220,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765}}} [22:51:15]free response buf [22:51:15]execute_script done [22:51:15]execute_script returns [22:51:15]free content buf [22:51:15]Sock 10.Close socket [22:51:15]Sock 10.Thread stoped [22:51:18]OFD Sender: No OFD packet to send [22:51:23]OFD Sender: No OFD packet to send [22:51:28]OFD Sender: No OFD packet to send [22:51:33]OFD Sender: No OFD packet to send [22:51:38]OFD Sender: No OFD packet to send [22:51:43]OFD Sender: No OFD packet to send [22:51:48]OFD Sender: No OFD packet to send [22:51:53]OFD Sender: No OFD packet to send [22:51:58]OFD Sender: No OFD packet to send [22:52:03]OFD Sender: No OFD packet to send [22:52:08]OFD Sender: No OFD packet to send [22:52:13]OFD Sender: No OFD packet to send [22:52:18]OFD Sender: No OFD packet to send [22:52:23]OFD Sender: No OFD packet to send [22:52:28]OFD Sender: No OFD packet to send [22:52:33]OFD Sender: No OFD packet to send [22:52:38]OFD Sender: No OFD packet to send [22:52:43]OFD Sender: No OFD packet to send [22:52:48]OFD Sender: No OFD packet to send [22:52:53]OFD Sender: No OFD packet to send [22:52:58]OFD Sender: No OFD packet to send [22:53:03]OFD Sender: No OFD packet to send [22:53:08]OFD Sender: No OFD packet to send [22:53:13]OFD Sender: No OFD packet to send [22:53:18]OFD Sender: No OFD packet to send [22:53:23]OFD Sender: No OFD packet to send [22:53:28]OFD Sender: No OFD packet to send [22:53:33]OFD Sender: No OFD packet to send [22:53:38]OFD Sender: No OFD packet to send [22:53:43]OFD Sender: No OFD packet to send [22:53:48]OFD Sender: No OFD packet to send [22:53:53]OFD Sender: No OFD packet to send [22:53:58]OFD Sender: No OFD packet to send [22:54:03]OFD Sender: No OFD packet to send [22:54:08]OFD Sender: No OFD packet to send [22:54:13]OFD Sender: No OFD packet to send [22:54:18]OFD Sender: No OFD packet to send [22:54:23]OFD Sender: No OFD packet to send [22:54:28]OFD Sender: No OFD packet to send [22:54:33]OFD Sender: No OFD packet to send [22:54:38]OFD Sender: No OFD packet to send [22:54:43]OFD Sender: No OFD packet to send [22:54:48]OFD Sender: No OFD packet to send [22:54:53]OFD Sender: No OFD packet to send [22:54:58]OFD Sender: No OFD packet to send [22:55:03]OFD Sender: No OFD packet to send [22:55:08]OFD Sender: No OFD packet to send [22:55:14]OFD Sender: No OFD packet to send [22:55:19]OFD Sender: No OFD packet to send [22:55:24]OFD Sender: No OFD packet to send [22:55:29]OFD Sender: No OFD packet to send [22:55:34]OFD Sender: No OFD packet to send [22:55:39]OFD Sender: No OFD packet to send [22:55:44]OFD Sender: No OFD packet to send [22:55:49]OFD Sender: No OFD packet to send [22:55:54]OFD Sender: No OFD packet to send [22:55:59]OFD Sender: No OFD packet to send [22:56:04]OFD Sender: No OFD packet to send [22:56:09]OFD Sender: No OFD packet to send [22:56:14]OFD Sender: No OFD packet to send [22:56:19]OFD Sender: No OFD packet to send [22:56:24]OFD Sender: No OFD packet to send [22:56:29]OFD Sender: No OFD packet to send [22:56:34]OFD Sender: No OFD packet to send [22:56:39]OFD Sender: No OFD packet to send [22:56:44]OFD Sender: No OFD packet to send [22:56:49]OFD Sender: No OFD packet to send [22:56:54]OFD Sender: No OFD packet to send [22:56:59]OFD Sender: No OFD packet to send [22:57:04]OFD Sender: No OFD packet to send [22:57:09]OFD Sender: No OFD packet to send [22:57:14]OFD Sender: No OFD packet to send [22:57:19]OFD Sender: No OFD packet to send [22:57:24]OFD Sender: No OFD packet to send [22:57:29]OFD Sender: No OFD packet to send [22:57:34]OFD Sender: No OFD packet to send [22:57:39]OFD Sender: No OFD packet to send [22:57:44]OFD Sender: No OFD packet to send [22:57:49]OFD Sender: No OFD packet to send [22:57:54]OFD Sender: No OFD packet to send [22:57:59]OFD Sender: No OFD packet to send [22:58:04]OFD Sender: No OFD packet to send [22:58:09]OFD Sender: No OFD packet to send [22:58:14]OFD Sender: No OFD packet to send [22:58:19]OFD Sender: No OFD packet to send [22:58:24]OFD Sender: No OFD packet to send [22:58:29]OFD Sender: No OFD packet to send [22:58:34]OFD Sender: No OFD packet to send [22:58:39]OFD Sender: No OFD packet to send [22:58:44]OFD Sender: No OFD packet to send [22:58:49]OFD Sender: No OFD packet to send [22:58:54]OFD Sender: No OFD packet to send [22:58:59]OFD Sender: No OFD packet to send [22:59:04]OFD Sender: No OFD packet to send [22:59:09]OFD Sender: No OFD packet to send [22:59:14]OFD Sender: No OFD packet to send [22:59:19]OFD Sender: No OFD packet to send [22:59:24]OFD Sender: No OFD packet to send [22:59:29]OFD Sender: No OFD packet to send [22:59:34]OFD Sender: No OFD packet to send [22:59:39]OFD Sender: No OFD packet to send [22:59:44]OFD Sender: No OFD packet to send [22:59:49]OFD Sender: No OFD packet to send [22:59:54]OFD Sender: No OFD packet to send [22:59:59]OFD Sender: No OFD packet to send [23:00:04]OFD Sender: No OFD packet to send [23:00:09]OFD Sender: No OFD packet to send [23:00:14]OFD Sender: No OFD packet to send [23:00:19]OFD Sender: No OFD packet to send [23:00:24]OFD Sender: No OFD packet to send [23:00:29]OFD Sender: No OFD packet to send [23:00:34]OFD Sender: No OFD packet to send [23:00:39]OFD Sender: No OFD packet to send [23:00:44]OFD Sender: No OFD packet to send [23:00:49]OFD Sender: No OFD packet to send [23:00:54]OFD Sender: No OFD packet to send [23:00:59]OFD Sender: No OFD packet to send [23:01:04]OFD Sender: No OFD packet to send [23:01:09]OFD Sender: No OFD packet to send [23:01:14]OFD Sender: No OFD packet to send [23:01:19]OFD Sender: No OFD packet to send [23:01:24]OFD Sender: No OFD packet to send [23:01:29]OFD Sender: No OFD packet to send [23:01:34]OFD Sender: No OFD packet to send [23:01:39]OFD Sender: No OFD packet to send [23:01:44]OFD Sender: No OFD packet to send [23:01:49]OFD Sender: No OFD packet to send [23:01:54]OFD Sender: No OFD packet to send [23:01:59]OFD Sender: No OFD packet to send [23:02:04]OFD Sender: No OFD packet to send [23:02:09]OFD Sender: No OFD packet to send [23:02:14]OFD Sender: No OFD packet to send [23:02:19]OFD Sender: No OFD packet to send [23:02:24]OFD Sender: No OFD packet to send [23:02:29]OFD Sender: No OFD packet to send [23:02:34]OFD Sender: No OFD packet to send [23:02:39]OFD Sender: No OFD packet to send [23:02:44]OFD Sender: No OFD packet to send [23:02:49]OFD Sender: No OFD packet to send [23:02:54]OFD Sender: No OFD packet to send [23:02:59]OFD Sender: No OFD packet to send [23:03:04]OFD Sender: No OFD packet to send [23:03:09]OFD Sender: No OFD packet to send [23:03:14]OFD Sender: No OFD packet to send [23:03:19]OFD Sender: No OFD packet to send [23:03:24]OFD Sender: No OFD packet to send [23:03:29]OFD Sender: No OFD packet to send [23:03:34]OFD Sender: No OFD packet to send [23:03:39]OFD Sender: No OFD packet to send [23:03:44]OFD Sender: No OFD packet to send [23:03:49]OFD Sender: No OFD packet to send [23:03:54]OFD Sender: No OFD packet to send [23:03:59]OFD Sender: No OFD packet to send [23:04:04]OFD Sender: No OFD packet to send [23:04:09]OFD Sender: No OFD packet to send [23:04:14]OFD Sender: No OFD packet to send [23:04:19]OFD Sender: No OFD packet to send [23:04:24]OFD Sender: No OFD packet to send [23:04:29]OFD Sender: No OFD packet to send [23:04:34]OFD Sender: No OFD packet to send [23:04:39]OFD Sender: No OFD packet to send [23:04:44]OFD Sender: No OFD packet to send [23:04:49]OFD Sender: No OFD packet to send [23:04:54]OFD Sender: No OFD packet to send [23:04:59]OFD Sender: No OFD packet to send [23:05:04]OFD Sender: No OFD packet to send [23:05:09]OFD Sender: No OFD packet to send [23:05:14]OFD Sender: No OFD packet to send [23:05:19]OFD Sender: No OFD packet to send [23:05:24]OFD Sender: No OFD packet to send [23:05:29]OFD Sender: No OFD packet to send [23:05:34]OFD Sender: No OFD packet to send [23:05:39]OFD Sender: No OFD packet to send [23:05:44]OFD Sender: No OFD packet to send [23:05:49]OFD Sender: No OFD packet to send [23:05:54]OFD Sender: No OFD packet to send [23:05:59]OFD Sender: No OFD packet to send [23:06:04]OFD Sender: No OFD packet to send [23:06:09]OFD Sender: No OFD packet to send [23:06:14]OFD Sender: No OFD packet to send [23:06:19]OFD Sender: No OFD packet to send [23:06:24]OFD Sender: No OFD packet to send [23:06:29]OFD Sender: No OFD packet to send [23:06:34]OFD Sender: No OFD packet to send [23:06:39]OFD Sender: No OFD packet to send [23:06:44]OFD Sender: No OFD packet to send [23:06:49]OFD Sender: No OFD packet to send [23:06:54]OFD Sender: No OFD packet to send [23:06:59]OFD Sender: No OFD packet to send [23:07:04]OFD Sender: No OFD packet to send [23:07:09]OFD Sender: No OFD packet to send [23:07:14]OFD Sender: No OFD packet to send [23:07:19]OFD Sender: No OFD packet to send [23:07:24]OFD Sender: No OFD packet to send [23:07:29]OFD Sender: No OFD packet to send [23:07:34]OFD Sender: No OFD packet to send [23:07:39]OFD Sender: No OFD packet to send [23:07:44]OFD Sender: No OFD packet to send [23:07:49]OFD Sender: No OFD packet to send [23:07:54]OFD Sender: No OFD packet to send [23:07:59]OFD Sender: No OFD packet to send [23:08:04]OFD Sender: No OFD packet to send [23:08:09]OFD Sender: No OFD packet to send [23:08:14]OFD Sender: No OFD packet to send [23:08:19]OFD Sender: No OFD packet to send [23:08:24]OFD Sender: No OFD packet to send [23:08:29]OFD Sender: No OFD packet to send [23:08:34]OFD Sender: No OFD packet to send [23:08:39]OFD Sender: No OFD packet to send [23:08:44]OFD Sender: No OFD packet to send [23:08:49]OFD Sender: No OFD packet to send [23:08:54]OFD Sender: No OFD packet to send [23:08:59]OFD Sender: No OFD packet to send [23:09:04]OFD Sender: No OFD packet to send [23:09:09]OFD Sender: No OFD packet to send [23:09:14]OFD Sender: No OFD packet to send [23:09:19]OFD Sender: No OFD packet to send [23:09:24]OFD Sender: No OFD packet to send [23:09:29]OFD Sender: No OFD packet to send [23:09:34]OFD Sender: No OFD packet to send [23:09:39]OFD Sender: No OFD packet to send [23:09:44]OFD Sender: No OFD packet to send [23:09:49]OFD Sender: No OFD packet to send [23:09:54]OFD Sender: No OFD packet to send [23:09:59]OFD Sender: No OFD packet to send [23:10:04]OFD Sender: No OFD packet to send [23:10:09]OFD Sender: No OFD packet to send [23:10:14]OFD Sender: No OFD packet to send [23:10:19]OFD Sender: No OFD packet to send [23:10:24]OFD Sender: No OFD packet to send [23:10:29]OFD Sender: No OFD packet to send [23:10:34]OFD Sender: No OFD packet to send [23:10:39]OFD Sender: No OFD packet to send [23:10:44]OFD Sender: No OFD packet to send [23:10:49]OFD Sender: No OFD packet to send [23:10:54]OFD Sender: No OFD packet to send [23:10:59]OFD Sender: No OFD packet to send [23:11:04]OFD Sender: No OFD packet to send [23:11:09]OFD Sender: No OFD packet to send [23:11:14]OFD Sender: No OFD packet to send [23:11:19]OFD Sender: No OFD packet to send [23:11:24]OFD Sender: No OFD packet to send [23:11:29]OFD Sender: No OFD packet to send [23:11:34]OFD Sender: No OFD packet to send [23:11:39]OFD Sender: No OFD packet to send [23:11:44]OFD Sender: No OFD packet to send [23:11:49]OFD Sender: No OFD packet to send [23:11:54]OFD Sender: No OFD packet to send [23:11:59]OFD Sender: No OFD packet to send [23:12:04]OFD Sender: No OFD packet to send [23:12:09]OFD Sender: No OFD packet to send [23:12:14]OFD Sender: No OFD packet to send [23:12:19]OFD Sender: No OFD packet to send [23:12:24]OFD Sender: No OFD packet to send [23:12:29]OFD Sender: No OFD packet to send [23:12:34]OFD Sender: No OFD packet to send [23:12:39]OFD Sender: No OFD packet to send [23:12:44]OFD Sender: No OFD packet to send [23:12:49]OFD Sender: No OFD packet to send [23:12:54]OFD Sender: No OFD packet to send [23:12:59]OFD Sender: No OFD packet to send [23:13:04]OFD Sender: No OFD packet to send [23:13:09]OFD Sender: No OFD packet to send [23:13:14]OFD Sender: No OFD packet to send [23:13:19]OFD Sender: No OFD packet to send [23:13:24]OFD Sender: No OFD packet to send [23:13:29]OFD Sender: No OFD packet to send [23:13:34]OFD Sender: No OFD packet to send [23:13:39]OFD Sender: No OFD packet to send [23:13:44]OFD Sender: No OFD packet to send [23:13:49]OFD Sender: No OFD packet to send [23:13:54]OFD Sender: No OFD packet to send [23:13:59]OFD Sender: No OFD packet to send [23:14:04]OFD Sender: No OFD packet to send [23:14:09]OFD Sender: No OFD packet to send [23:14:14]OFD Sender: No OFD packet to send [23:14:19]OFD Sender: No OFD packet to send [23:14:24]OFD Sender: No OFD packet to send [23:14:29]OFD Sender: No OFD packet to send [23:14:34]OFD Sender: No OFD packet to send [23:14:39]OFD Sender: No OFD packet to send [23:14:44]OFD Sender: No OFD packet to send [23:14:49]OFD Sender: No OFD packet to send [23:14:54]OFD Sender: No OFD packet to send [23:14:59]OFD Sender: No OFD packet to send [23:15:04]OFD Sender: No OFD packet to send [23:15:09]OFD Sender: No OFD packet to send [23:15:14]OFD Sender: No OFD packet to send [23:15:19]OFD Sender: No OFD packet to send [23:15:24]OFD Sender: No OFD packet to send [23:15:29]OFD Sender: No OFD packet to send [23:15:34]OFD Sender: No OFD packet to send [23:15:39]OFD Sender: No OFD packet to send [23:15:44]OFD Sender: No OFD packet to send [23:15:49]OFD Sender: No OFD packet to send [23:15:54]OFD Sender: No OFD packet to send [23:15:59]OFD Sender: No OFD packet to send [23:16:04]OFD Sender: No OFD packet to send [23:16:09]OFD Sender: No OFD packet to send [23:16:14]OFD Sender: No OFD packet to send [23:16:19]OFD Sender: No OFD packet to send [23:16:24]OFD Sender: No OFD packet to send [23:16:29]OFD Sender: No OFD packet to send [23:16:34]OFD Sender: No OFD packet to send [23:16:39]OFD Sender: No OFD packet to send [23:16:44]OFD Sender: No OFD packet to send [23:16:49]OFD Sender: No OFD packet to send [23:16:54]OFD Sender: No OFD packet to send [23:16:59]OFD Sender: No OFD packet to send [23:17:04]OFD Sender: No OFD packet to send [23:17:09]OFD Sender: No OFD packet to send [23:17:14]OFD Sender: No OFD packet to send [23:17:20]OFD Sender: No OFD packet to send [23:17:25]OFD Sender: No OFD packet to send [23:17:30]OFD Sender: No OFD packet to send [23:17:35]OFD Sender: No OFD packet to send [23:17:40]OFD Sender: No OFD packet to send [23:17:45]OFD Sender: No OFD packet to send [23:17:50]OFD Sender: No OFD packet to send [23:17:55]OFD Sender: No OFD packet to send [23:18:00]OFD Sender: No OFD packet to send [23:18:05]OFD Sender: No OFD packet to send [23:18:10]OFD Sender: No OFD packet to send [23:18:15]OFD Sender: No OFD packet to send [23:18:20]OFD Sender: No OFD packet to send [23:18:25]OFD Sender: No OFD packet to send [23:18:30]OFD Sender: No OFD packet to send [23:18:35]OFD Sender: No OFD packet to send [23:18:40]OFD Sender: No OFD packet to send [23:18:45]OFD Sender: No OFD packet to send [23:18:50]OFD Sender: No OFD packet to send [23:18:55]OFD Sender: No OFD packet to send [23:19:00]OFD Sender: No OFD packet to send [23:19:05]OFD Sender: No OFD packet to send [23:19:10]OFD Sender: No OFD packet to send [23:19:15]OFD Sender: No OFD packet to send [23:19:20]OFD Sender: No OFD packet to send [23:19:25]OFD Sender: No OFD packet to send [23:19:30]OFD Sender: No OFD packet to send [23:19:35]OFD Sender: No OFD packet to send [23:19:40]OFD Sender: No OFD packet to send [23:19:45]OFD Sender: No OFD packet to send [23:19:50]OFD Sender: No OFD packet to send [23:19:55]OFD Sender: No OFD packet to send [23:20:00]OFD Sender: No OFD packet to send [23:20:05]OFD Sender: No OFD packet to send [23:20:10]OFD Sender: No OFD packet to send [23:20:15]OFD Sender: No OFD packet to send [23:20:20]OFD Sender: No OFD packet to send [23:20:25]OFD Sender: No OFD packet to send [23:20:30]OFD Sender: No OFD packet to send [23:20:35]OFD Sender: No OFD packet to send [23:20:40]OFD Sender: No OFD packet to send [23:20:45]OFD Sender: No OFD packet to send [23:20:50]OFD Sender: No OFD packet to send [23:20:55]OFD Sender: No OFD packet to send [23:21:00]OFD Sender: No OFD packet to send [23:21:05]OFD Sender: No OFD packet to send [23:21:10]OFD Sender: No OFD packet to send [23:21:15]OFD Sender: No OFD packet to send [23:21:20]OFD Sender: No OFD packet to send [23:21:25]OFD Sender: No OFD packet to send [23:21:30]OFD Sender: No OFD packet to send [23:21:35]OFD Sender: No OFD packet to send [23:21:40]OFD Sender: No OFD packet to send [23:21:45]OFD Sender: No OFD packet to send [23:21:50]OFD Sender: No OFD packet to send [23:21:55]OFD Sender: No OFD packet to send [23:22:00]OFD Sender: No OFD packet to send [23:22:05]OFD Sender: No OFD packet to send [23:22:10]OFD Sender: No OFD packet to send [23:22:15]OFD Sender: No OFD packet to send [23:22:20]OFD Sender: No OFD packet to send [23:22:25]OFD Sender: No OFD packet to send [23:22:30]OFD Sender: No OFD packet to send [23:22:35]OFD Sender: No OFD packet to send [23:22:40]OFD Sender: No OFD packet to send [23:22:45]OFD Sender: No OFD packet to send [23:22:50]OFD Sender: No OFD packet to send [23:22:55]OFD Sender: No OFD packet to send [23:23:00]OFD Sender: No OFD packet to send [23:23:05]OFD Sender: No OFD packet to send [23:23:10]OFD Sender: No OFD packet to send [23:23:15]OFD Sender: No OFD packet to send [23:23:20]OFD Sender: No OFD packet to send [23:23:25]OFD Sender: No OFD packet to send [23:23:30]OFD Sender: No OFD packet to send [23:23:35]OFD Sender: No OFD packet to send [23:23:40]OFD Sender: No OFD packet to send [23:23:45]OFD Sender: No OFD packet to send [23:23:50]OFD Sender: No OFD packet to send [23:23:55]OFD Sender: No OFD packet to send [23:24:00]OFD Sender: No OFD packet to send [23:24:05]OFD Sender: No OFD packet to send [23:24:10]OFD Sender: No OFD packet to send [23:24:15]OFD Sender: No OFD packet to send [23:24:20]OFD Sender: No OFD packet to send [23:24:25]OFD Sender: No OFD packet to send [23:24:30]OFD Sender: No OFD packet to send [23:24:35]OFD Sender: No OFD packet to send [23:24:40]OFD Sender: No OFD packet to send [23:24:45]OFD Sender: No OFD packet to send [23:24:50]OFD Sender: No OFD packet to send [23:24:55]OFD Sender: No OFD packet to send [23:25:00]OFD Sender: No OFD packet to send [23:25:05]OFD Sender: No OFD packet to send [23:25:10]OFD Sender: No OFD packet to send [23:25:15]OFD Sender: No OFD packet to send [23:25:20]OFD Sender: No OFD packet to send [23:25:25]OFD Sender: No OFD packet to send [23:25:30]OFD Sender: No OFD packet to send [23:25:35]OFD Sender: No OFD packet to send [23:25:40]OFD Sender: No OFD packet to send [23:25:45]OFD Sender: No OFD packet to send [23:25:50]OFD Sender: No OFD packet to send [23:25:55]OFD Sender: No OFD packet to send [23:26:00]OFD Sender: No OFD packet to send [23:26:05]OFD Sender: No OFD packet to send [23:26:10]OFD Sender: No OFD packet to send [23:26:15]OFD Sender: No OFD packet to send [23:26:20]OFD Sender: No OFD packet to send [23:26:25]OFD Sender: No OFD packet to send [23:26:30]OFD Sender: No OFD packet to send [23:26:35]OFD Sender: No OFD packet to send [23:26:40]OFD Sender: No OFD packet to send [23:26:45]OFD Sender: No OFD packet to send [23:26:50]OFD Sender: No OFD packet to send [23:26:55]OFD Sender: No OFD packet to send [23:27:00]OFD Sender: No OFD packet to send [23:27:05]OFD Sender: No OFD packet to send [23:27:10]OFD Sender: No OFD packet to send [23:27:15]OFD Sender: No OFD packet to send [23:27:20]OFD Sender: No OFD packet to send [23:27:25]OFD Sender: No OFD packet to send [23:27:30]OFD Sender: No OFD packet to send [23:27:35]OFD Sender: No OFD packet to send [23:27:40]OFD Sender: No OFD packet to send [23:27:45]OFD Sender: No OFD packet to send [23:27:50]OFD Sender: No OFD packet to send [23:27:55]OFD Sender: No OFD packet to send [23:28:00]OFD Sender: No OFD packet to send [23:28:05]OFD Sender: No OFD packet to send [23:28:10]OFD Sender: No OFD packet to send [23:28:15]OFD Sender: No OFD packet to send [23:28:20]OFD Sender: No OFD packet to send [23:28:25]OFD Sender: No OFD packet to send [23:28:30]OFD Sender: No OFD packet to send [23:28:35]OFD Sender: No OFD packet to send [23:28:40]OFD Sender: No OFD packet to send [23:28:45]OFD Sender: No OFD packet to send [23:28:50]OFD Sender: No OFD packet to send [23:28:55]OFD Sender: No OFD packet to send [23:29:00]OFD Sender: No OFD packet to send [23:29:05]OFD Sender: No OFD packet to send [23:29:10]OFD Sender: No OFD packet to send [23:29:15]OFD Sender: No OFD packet to send [23:29:20]OFD Sender: No OFD packet to send [23:29:25]OFD Sender: No OFD packet to send [23:29:30]OFD Sender: No OFD packet to send [23:29:35]OFD Sender: No OFD packet to send [23:29:40]OFD Sender: No OFD packet to send [23:29:45]OFD Sender: No OFD packet to send [23:29:50]OFD Sender: No OFD packet to send [23:29:55]OFD Sender: No OFD packet to send [23:30:00]OFD Sender: No OFD packet to send [23:30:05]OFD Sender: No OFD packet to send [23:30:10]OFD Sender: No OFD packet to send [23:30:15]OFD Sender: No OFD packet to send [23:30:20]OFD Sender: No OFD packet to send [23:30:25]OFD Sender: No OFD packet to send [23:30:30]OFD Sender: No OFD packet to send [23:30:35]OFD Sender: No OFD packet to send [23:30:40]OFD Sender: No OFD packet to send [23:30:45]OFD Sender: No OFD packet to send [23:30:50]OFD Sender: No OFD packet to send [23:30:55]OFD Sender: No OFD packet to send [23:31:00]OFD Sender: No OFD packet to send [23:31:05]OFD Sender: No OFD packet to send [23:31:10]OFD Sender: No OFD packet to send [23:31:15]OFD Sender: No OFD packet to send [23:31:20]OFD Sender: No OFD packet to send [23:31:25]OFD Sender: No OFD packet to send [23:31:30]OFD Sender: No OFD packet to send [23:31:35]OFD Sender: No OFD packet to send [23:31:40]OFD Sender: No OFD packet to send [23:31:45]OFD Sender: No OFD packet to send [23:31:50]OFD Sender: No OFD packet to send [23:31:55]OFD Sender: No OFD packet to send [23:32:00]OFD Sender: No OFD packet to send [23:32:05]OFD Sender: No OFD packet to send [23:32:10]OFD Sender: No OFD packet to send [23:32:15]OFD Sender: No OFD packet to send [23:32:20]OFD Sender: No OFD packet to send [23:32:25]OFD Sender: No OFD packet to send [23:32:30]OFD Sender: No OFD packet to send [23:32:35]OFD Sender: No OFD packet to send [23:32:40]OFD Sender: No OFD packet to send [23:32:45]OFD Sender: No OFD packet to send [23:32:50]OFD Sender: No OFD packet to send [23:32:55]OFD Sender: No OFD packet to send [23:33:00]OFD Sender: No OFD packet to send [23:33:05]OFD Sender: No OFD packet to send [23:33:10]OFD Sender: No OFD packet to send [23:33:15]OFD Sender: No OFD packet to send [23:33:20]OFD Sender: No OFD packet to send [23:33:25]OFD Sender: No OFD packet to send [23:33:30]OFD Sender: No OFD packet to send [23:33:35]OFD Sender: No OFD packet to send [23:33:40]OFD Sender: No OFD packet to send [23:33:45]OFD Sender: No OFD packet to send [23:33:50]OFD Sender: No OFD packet to send [23:33:55]OFD Sender: No OFD packet to send [23:34:00]OFD Sender: No OFD packet to send [23:34:05]OFD Sender: No OFD packet to send [23:34:10]OFD Sender: No OFD packet to send [23:34:15]OFD Sender: No OFD packet to send [23:34:20]OFD Sender: No OFD packet to send [23:34:25]OFD Sender: No OFD packet to send [23:34:30]OFD Sender: No OFD packet to send [23:34:35]OFD Sender: No OFD packet to send [23:34:40]OFD Sender: No OFD packet to send [23:34:45]OFD Sender: No OFD packet to send [23:34:50]OFD Sender: No OFD packet to send [23:34:55]OFD Sender: No OFD packet to send [23:35:00]OFD Sender: No OFD packet to send [23:35:05]OFD Sender: No OFD packet to send [23:35:10]OFD Sender: No OFD packet to send [23:35:15]OFD Sender: No OFD packet to send [23:35:20]OFD Sender: No OFD packet to send [23:35:25]OFD Sender: No OFD packet to send [23:35:30]OFD Sender: No OFD packet to send [23:35:35]OFD Sender: No OFD packet to send [23:35:40]OFD Sender: No OFD packet to send [23:35:45]OFD Sender: No OFD packet to send [23:35:50]OFD Sender: No OFD packet to send [23:35:55]OFD Sender: No OFD packet to send [23:36:00]OFD Sender: No OFD packet to send [23:36:05]OFD Sender: No OFD packet to send [23:36:10]OFD Sender: No OFD packet to send [23:36:15]OFD Sender: No OFD packet to send [23:36:20]OFD Sender: No OFD packet to send [23:36:25]OFD Sender: No OFD packet to send [23:36:30]OFD Sender: No OFD packet to send [23:36:35]OFD Sender: No OFD packet to send [23:36:40]OFD Sender: No OFD packet to send [23:36:45]OFD Sender: No OFD packet to send [23:36:50]OFD Sender: No OFD packet to send [23:36:55]OFD Sender: No OFD packet to send [23:37:00]OFD Sender: No OFD packet to send [23:37:05]OFD Sender: No OFD packet to send [23:37:10]OFD Sender: No OFD packet to send [23:37:15]OFD Sender: No OFD packet to send [23:37:20]OFD Sender: No OFD packet to send [23:37:25]OFD Sender: No OFD packet to send [23:37:30]OFD Sender: No OFD packet to send [23:37:35]OFD Sender: No OFD packet to send [23:37:40]OFD Sender: No OFD packet to send [23:37:45]OFD Sender: No OFD packet to send [23:37:50]OFD Sender: No OFD packet to send [23:37:55]OFD Sender: No OFD packet to send [23:38:00]OFD Sender: No OFD packet to send [23:38:05]OFD Sender: No OFD packet to send [23:38:10]OFD Sender: No OFD packet to send [23:38:15]OFD Sender: No OFD packet to send [23:38:20]OFD Sender: No OFD packet to send [23:38:25]OFD Sender: No OFD packet to send [23:38:30]OFD Sender: No OFD packet to send [23:38:35]OFD Sender: No OFD packet to send [23:38:40]OFD Sender: No OFD packet to send [23:38:45]OFD Sender: No OFD packet to send [23:38:50]OFD Sender: No OFD packet to send [23:38:55]OFD Sender: No OFD packet to send [23:39:00]OFD Sender: No OFD packet to send [23:39:05]OFD Sender: No OFD packet to send [23:39:10]OFD Sender: No OFD packet to send [23:39:15]OFD Sender: No OFD packet to send [23:39:20]OFD Sender: No OFD packet to send [23:39:26]OFD Sender: No OFD packet to send [23:39:31]OFD Sender: No OFD packet to send [23:39:36]OFD Sender: No OFD packet to send [23:39:41]OFD Sender: No OFD packet to send [23:39:46]OFD Sender: No OFD packet to send [23:39:51]OFD Sender: No OFD packet to send [23:39:56]OFD Sender: No OFD packet to send [23:40:01]OFD Sender: No OFD packet to send [23:40:06]OFD Sender: No OFD packet to send [23:40:11]OFD Sender: No OFD packet to send [23:40:13]accept exits with 8 [23:40:13]New connection [23:40:13]New thread 3066772836 created [23:40:13]Thread 3066629476 joined [23:40:13]Waiting for new connection... [23:40:13] Sock 8.Parse request [23:40:13]Sock 8.Check first char [23:40:13]Sock 8.First char is OK [23:40:13]request: POST /json_proto HTTP/1.0 [23:40:13]Method: POST [23:40:13]URL: /json_proto [23:40:13]Method is POST - this is cgi request [23:40:13]url: /json_proto [23:40:13]query_string will be loaded in cgi processing [23:40:13]execute_cgi json_proto POST (null) [23:40:13]execute_cgi path=json_proto method=POST [23:40:13]POST find Content-Length [23:40:13]Host: 172.17.56.68:8080 [23:40:13]Content-Length: 910 [23:40:13]Content-Type: application/json [23:40:13] [23:40:13]POST finish read [23:40:13]Found Content-Length = 910 [23:40:13]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4474", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 125.00, "quantity" : 2.000, "sum" : 250.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036190018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E XL(GABB TRADE)", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 345.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:40:13]execute_script... [23:40:13]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4474", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 125.00, "quantity" : 2.000, "sum" : 250.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036190018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E XL(GABB TRADE)", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 345.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:40:13]POST & json_proto [23:40:13]process_json_proto [23:40:13]json parsed OK: [23:40:13]protocol is kg_v1.0 [23:40:13]action value=close_receipt [23:40:13]process_action close_receipt [23:40:13]cmd_close_receipt [23:40:13]MH_GetDate [23:40:13]Write to MH i2c: F0 00 00 D3 07 C9 [23:40:13]Write i2c OK [23:40:13]MH_I2C_Read... [23:40:13]Read from MH i2c: F0 [23:40:13]MH_I2C_Read... [23:40:13]Read from MH i2c: F0 09 00 [23:40:13]MH_I2C_Read... [23:40:13]Read from MH i2c: F0 09 00 D3 07 00 5F F7 60 66 3A 8F 60 66 7D [23:40:13]GetLastDocTimeStamp 1717627872 [23:40:13]current date 1717630815 [23:40:13]FM_GetShiftState [23:40:13]SAM_PROTO_GetShiftState [23:40:13]wFMCommunicate request_size=4 [23:40:13]MH_SAM_APDU [23:40:13]CAPDU: 80 13 01 00 [23:40:13]Write to MH i2c: E2 08 00 D4 07 80 13 01 00 00 00 00 00 58 [23:40:13]Write i2c OK [23:40:13]MH_I2C_Read... [23:40:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:40:13]Read from MH i2c: E2 [23:40:13]MH_I2C_Read... [23:40:13]Read from MH i2c: E2 0E 00 [23:40:13]MH_I2C_Read... [23:40:13]Read from MH i2c: E2 0E 00 D4 07 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 F9 [23:40:13]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [23:40:13]wFMCommunicate OK [23:40:13]SAM_PROTO_GetShiftState done [23:40:13]FM_GetShiftState done [23:40:13]opened in 1717545765 [23:40:13]opened+sec_in_day 1717632165 [23:40:13]quantity*price = 25000 [23:40:13]sum+1 = 25001 [23:40:13]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 2000036190018 Кофе Американо XL(GABB TRADE) 1.000 * 95.00 = 95.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 345.00 НСП 1% : 3.05 НДС 12% : 36.64 Наличными: 345.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 79 05.06.2024 23:40 Смена: 84 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4221 ФПД: 62844370187388 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T234015&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4221&fm=62844370187388&tin=02508201610067®Number=0000000000145775&sum=34500 0 [23:40:14]StoreToDocumentArchive [23:40:14]shift 84 fd 4221 [23:40:14]save to /storage/0084/doc_00004221 [23:40:14]save last doc name /storage/0084/doc_00004221 to /storage/kkm_last_doc_name [23:40:14]save OK [23:40:14]Clear old archive folders... [23:40:14]ProcessDocumentItem done err = 0, tmpTLVsize=396 [23:40:14]tlvbuf is 01988960 [23:40:14]SAM_PROTO_ClearQueue [23:40:14]wFMCommunicate request_size=4 [23:40:14]MH_SAM_APDU [23:40:14]CAPDU: 80 09 00 00 [23:40:14]Write to MH i2c: E2 08 00 E1 07 80 09 00 00 00 00 00 00 5A [23:40:14]Write i2c OK [23:40:14]MH_I2C_Read... [23:40:14]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:40:14]Read from MH i2c: E2 [23:40:14]MH_I2C_Read... [23:40:14]Read from MH i2c: E2 03 00 [23:40:14]MH_I2C_Read... [23:40:14]Read from MH i2c: E2 03 00 E1 07 00 90 00 5C [23:40:14]RAPDU: 90 00 [23:40:14]wFMCommunicate OK [23:40:14]SAM_PROTO_ClearQueue done [23:40:14]KKMCreateOFDPacket [23:40:14]OFDProtocolAddRootSTLVToBuf [23:40:14]FM_MakeSignedData [23:40:14]FM_MakeSignedData [23:40:14]SAM_PROTO_SignData [23:40:14]wFMCommunicate request_size=4 [23:40:14]MH_SAM_APDU [23:40:14]CAPDU: 80 0D 01 02 [23:40:14]Write to MH i2c: E2 08 00 E2 07 80 0D 01 02 00 00 00 00 62 [23:40:14]Write i2c OK [23:40:14]MH_I2C_Read... [23:40:14]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:40:14]Read from MH i2c: E2 [23:40:14]MH_I2C_Read... [23:40:14]Read from MH i2c: E2 03 00 [23:40:14]MH_I2C_Read... [23:40:14]Read from MH i2c: E2 03 00 E2 07 00 90 00 5D [23:40:14]RAPDU: 90 00 [23:40:14]wFMCommunicate OK [23:40:14]wFMCommunicate request_size=255 [23:40:14]MH_SAM_APDU [23:40:14]CAPDU: 80 0D 02 02 FA 03 00 8C 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 A8 61 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 C4 86 00 00 00 00 EB 03 26 00 EF [23:40:14]Write to MH i2c: E2 02 01 E3 07 80 0D 02 02 FA 00 03 00 8C 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 A8 61 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 C4 86 00 00 00 00 EB 03 26 00 EF 00 00 3F [23:40:14]Write i2c OK [23:40:14]MH_I2C_Read... [23:40:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:40:15]Read from MH i2c: E2 [23:40:15]MH_I2C_Read... [23:40:15]Read from MH i2c: E2 03 00 [23:40:15]MH_I2C_Read... [23:40:15]Read from MH i2c: E2 03 00 E3 07 00 90 00 5E [23:40:15]RAPDU: 90 00 [23:40:15]wFMCommunicate OK [23:40:15]wFMCommunicate request_size=155 [23:40:15]MH_SAM_APDU [23:40:15]CAPDU: 80 0D 02 02 96 03 0F 00 F6 03 01 00 01 F7 03 06 00 31 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 50 0E 00 00 00 00 07 04 06 00 C4 86 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4F 00 00 00 F4 03 04 00 5F F7 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 7D 10 00 00 35 04 06 00 39 28 18 5C 74 7C [23:40:15]Write to MH i2c: E2 9E 00 E4 07 80 0D 02 02 96 00 03 0F 00 F6 03 01 00 01 F7 03 06 00 31 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 50 0E 00 00 00 00 07 04 06 00 C4 86 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4F 00 00 00 F4 03 04 00 5F F7 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 7D 10 00 00 35 04 06 00 39 28 18 5C 74 7C 00 00 BA [23:40:15]Write i2c OK [23:40:15]MH_I2C_Read... [23:40:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:40:15]Read from MH i2c: E2 [23:40:15]MH_I2C_Read... [23:40:15]Read from MH i2c: E2 03 00 [23:40:15]MH_I2C_Read... [23:40:15]Read from MH i2c: E2 03 00 E4 07 00 90 00 5F [23:40:15]RAPDU: 90 00 [23:40:15]wFMCommunicate OK [23:40:15]wFMCommunicate request_size=4 [23:40:15]MH_SAM_APDU [23:40:15]CAPDU: 80 0D 03 02 [23:40:15]Write to MH i2c: E2 08 00 E5 07 80 0D 03 02 00 00 00 00 67 [23:40:15]Write i2c OK [23:40:15]MH_I2C_Read... [23:40:15]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:40:15]Read from MH i2c: E2 [23:40:15]MH_I2C_Read... [23:40:15]Read from MH i2c: E2 0B 00 [23:40:15]MH_I2C_Read... [23:40:15]Read from MH i2c: E2 0B 00 E5 07 00 99 DB 72 A6 21 36 37 E2 90 00 64 [23:40:15]RAPDU: 99 DB 72 A6 21 36 37 E2 90 00 [23:40:15]wFMCommunicate OK [23:40:15]SAM_PROTO_SignData done [23:40:15]FM_MakeSignedData done [23:40:15]CreateOFDProtocolMessage [23:40:15]wFMCommunicate request_size=4 [23:40:15]MH_SAM_APDU [23:40:15]CAPDU: 80 11 00 00 [23:40:15]Write to MH i2c: E2 08 00 E6 07 80 11 00 00 00 00 00 00 67 [23:40:15]Write i2c OK [23:40:15]MH_I2C_Read... [23:40:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:40:15]Read from MH i2c: E2 [23:40:15]MH_I2C_Read... [23:40:15]Read from MH i2c: E2 17 00 [23:40:15]MH_I2C_Read... [23:40:15]Read from MH i2c: E2 17 00 E6 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 BA [23:40:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [23:40:15]wFMCommunicate OK [23:40:15]CreateOFDProtocolMessage done [23:40:15]OFDSenderStorePacket 4221 [23:40:15]StoreOFDPacket docnum=4221 [23:40:15]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 A0 01 00 00 6E 38 98 01 69 D5 5A 03 01 00 03 00 8C 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 A8 61 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 C4 86 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 31 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 50 0E 00 00 00 00 07 04 06 00 C4 86 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4F 00 00 00 F4 03 04 00 5F F7 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 7D 10 00 00 35 04 06 00 39 28 18 5C 74 7C 99 DB 72 A6 21 36 37 E2 [23:40:15]CheckFolder [23:40:15]dirname=/storage/ofd_packets [23:40:15]CheckFolder done [23:40:15]ProducePacketName [23:40:15]name=ofd_packets/00004221 [23:40:15]NVStorageSaveData ofd_packets/00004221 [23:40:15]File name is /storage/ofd_packets/00004221 [23:40:15]Write 446 bytes [23:40:15]NVStorageSaveData done [23:40:15]OFDSenderStorePacket done [23:40:15]KKMCreateOFDPacket done [23:40:15]NVStorageSaveData kkm_last_timestamp [23:40:15]File name is /storage/kkm_last_timestamp [23:40:15]Write 4 bytes [23:40:15]NVStorageSaveData done [23:40:15]ExternCall_PrintAddStr [23:40:15]wPrintStart [23:40:15]Write to MH i2c: 01 00 00 E7 07 EE [23:40:15]Write i2c OK [23:40:15]MH_I2C_Read... [23:40:15]Read from MH i2c: 01 [23:40:15]MH_I2C_Read... [23:40:15]Read from MH i2c: 01 07 00 [23:40:15]MH_I2C_Read... [23:40:15]OFD Sender: Processing packet 4221 [packets to send 2, broken 1] [23:40:15]ProducePacketName [23:40:15]name=ofd_packets/00004221 [23:40:15]Read from MH i2c: OFD Sender: To server: pG, [23:40:15]01 CommunicateWithHost lk.salyk.kg:30040 [23:40:15]07 ConnectInit lk.salyk.kg [23:40:15]00 E7 07 00 00 00 00 00 FF 0F 03 [23:40:15]RasterBufferAndPrint [23:40:15]line Счет N : (3)4474 [23:40:15]line ИНН: 02508201610067 [23:40:15]line Контрольно-Кассовый Чек [23:40:15]line ПРОДАЖА [23:40:15]line Товар: 2000036220012 [23:40:15]line Кофе Капучино XL(GABB TRADE) [23:40:15]line 2.000 * 125.00 [23:40:15]line = 250.00 [23:40:15]line НДС 12% НСП 1% [23:40:15]line > о реализуемом товаре [23:40:15]line Товар: 2000036190018 [23:40:15]line Кофе Американо XL(GABB TRADE) [23:40:15]line 1.000 * 95.00 [23:40:15]line = 95.00 [23:40:15]line НДС 12% НСП 1% [23:40:15]line > о реализуемом товаре [23:40:15]line ИТОГО: 345.00 [23:40:15]line НСП 1% : 3.05 [23:40:15]line НДС 12% : 36.64 [23:40:15]line Наличными: 345.00 [23:40:15]line Безнал.: 0.00 [23:40:15]line Место: АЗС № 116 "Партнер Нефть" [23:40:15]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [23:40:15]line СНО: Общий режим [23:40:15]line Чек 79 05.06.2024 23:40 [23:40:15]line Смена: 84 ФФД: 1.0 [23:40:15]line ЗНМ: 0300000233 [23:40:15]line РНМ: 0000000000145775 [23:40:15]line Версия ККМ: v1.0 [23:40:15]line ФМ: 0000000000959360 [23:40:15]line ФД: 4221 [23:40:15]line ФПД: 62844370187388 [23:40:15]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T234015&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4221&fm=62844370187388&tin=02508201610067®Number=0000000000145775&sum=34500 [23:40:15]line 0 [23:40:15]written 0, free lines is 4095 [23:40:15]Connected sock=10 [23:40:15]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 A0 01 00 00 6E 38 98 01 69 D5 5A 03 01 00 03 00 8C 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 A8 61 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 C4 86 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 31 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 50 0E 00 00 00 00 07 04 06 00 C4 86 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4F 00 00 00 F4 03 04 00 5F F7 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 7D 10 00 00 35 04 06 00 39 28 18 5C 74 7C 99 DB 72 A6 21 36 37 E2 [23:40:16]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 A3 30 47 00 6D DD A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 7D 10 00 00 F4 03 04 00 61 A3 60 66 B6 04 01 00 00 1A 5D 5F 99 23 EF AB F6 [23:40:16]CommunicateWithHost err = 0 [23:40:16]CheckOFDResponse [23:40:16]1017 (14) - 77093643461234 [23:40:16]1041 (16) - 0000000000959360 [23:40:16]1040 (4) - 4221 [23:40:16]1012 (4) - 05.06.2024 17:41 [23:40:16]1206 (1) - 0 [23:40:16]OFD Sender: Remove packet 4221 [23:40:16]ProducePacketName [23:40:16]name=ofd_packets/00004221 [23:40:16]NVStorageDeleteData [23:40:16]Write to MH i2c: 01 00 00 17 08 1F [23:40:16]Write i2c OK [23:40:16]MH_I2C_Read... [23:40:16]Read from MH i2c: 01 [23:40:16]MH_I2C_Read... [23:40:16]Read from MH i2c: 01 07 00 [23:40:16]MH_I2C_Read... [23:40:16]Read from MH i2c: 01 07 00 17 08 00 00 00 00 00 40 0C 72 [23:40:16]RasterBufferAndPrint [23:40:16]line [23:40:16]line [23:40:16]line [23:40:16]line [23:40:16]line [23:40:16]written 0, free lines is 3142 [23:40:16]MH_Cut [23:40:16]Write to MH i2c: D1 01 00 1E 08 01 F8 [23:40:16]Write i2c OK [23:40:16]MH_I2C_Read... [23:40:16]Read from MH i2c: D1 [23:40:16]MH_I2C_Read... [23:40:16]Read from MH i2c: D1 01 00 [23:40:16]MH_I2C_Read... [23:40:16]Read from MH i2c: D1 01 00 1E 08 00 F7 [23:40:16]Write to MH i2c: 01 00 00 1F 08 27 [23:40:16]Write i2c OK [23:40:16]MH_I2C_Read... [23:40:16]OFD Sender: No OFD packet to send [23:40:17]*** Cut start [23:40:17]*** Partial cut [23:40:17]*** CUTSNS_PIN = 1 [23:40:17]*** CUTSNS_PIN = 0 [23:40:17]*** Brake cut motor [23:40:17]Read from MH i2c: 01 [23:40:17]MH_I2C_Read... [23:40:17]*** Stop cut motor [23:40:17]*** Cut end [23:40:17]Read from MH i2c: 01 07 00 [23:40:17]MH_I2C_Read... [23:40:17]Read from MH i2c: 01 07 00 1F 08 00 00 00 00 00 FF 0F 3C [23:40:17]process_action close_receipt done [23:40:17]requested_data is exist [23:40:17]produce_requested_data [23:40:17]requested_item fm.sn is exist - process it [23:40:17]wFMCommunicate request_size=4 [23:40:17]MH_SAM_APDU [23:40:17]CAPDU: 80 11 00 00 [23:40:17]Write to MH i2c: E2 08 00 20 08 80 11 00 00 00 00 00 00 A2 [23:40:17]Write i2c OK [23:40:17]MH_I2C_Read... [23:40:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:40:17]Read from MH i2c: E2 [23:40:17]MH_I2C_Read... [23:40:17]Read from MH i2c: E2 17 00 [23:40:17]MH_I2C_Read... [23:40:17]Read from MH i2c: E2 17 00 20 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 F5 [23:40:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [23:40:17]wFMCommunicate OK [23:40:17]requested_item fd.num is exist - process it [23:40:17]SAM_PROTO_GetFieldsCounters [23:40:17]wFMCommunicate request_size=4 [23:40:17]MH_SAM_APDU [23:40:17]CAPDU: 80 13 00 00 [23:40:17]Write to MH i2c: E2 08 00 21 08 80 13 00 00 00 00 00 00 A5 [23:40:17]Write i2c OK [23:40:17]MH_I2C_Read... [23:40:18]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:40:18]Read from MH i2c: E2 [23:40:18]MH_I2C_Read... [23:40:18]Read from MH i2c: E2 62 00 [23:40:18]MH_I2C_Read... [23:40:18]Read from MH i2c: E2 62 00 21 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 7D 10 00 00 0E 04 04 00 54 00 00 00 12 04 04 00 4F 00 00 00 5E 04 04 00 4F 00 00 00 57 04 04 00 50 00 00 00 19 04 04 00 00 00 00 00 90 00 98 [23:40:18]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 7D 10 00 00 0E 04 04 00 54 00 00 00 12 04 04 00 4F 00 00 00 5E 04 04 00 4F 00 00 00 57 04 04 00 50 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:40:18]wFMCommunicate OK [23:40:18]SAM_PROTO_GetFieldsCounters done [23:40:18]requested_item shift.num is exist - process it [23:40:18]requested_item shift.opened is exist - process it [23:40:18]req_shift_opened [23:40:18]FM_GetShiftState [23:40:18]SAM_PROTO_GetShiftState [23:40:18]wFMCommunicate request_size=4 [23:40:18]MH_SAM_APDU [23:40:18]CAPDU: 80 13 01 00 [23:40:18]Write to MH i2c: E2 08 00 22 08 80 13 01 00 00 00 00 00 A7 [23:40:18]Write i2c OK [23:40:18]MH_I2C_Read... [23:40:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:40:18]Read from MH i2c: E2 [23:40:18]MH_I2C_Read... [23:40:18]Read from MH i2c: E2 0E 00 [23:40:18]MH_I2C_Read... [23:40:18]Read from MH i2c: E2 0E 00 22 08 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 48 [23:40:18]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [23:40:18]wFMCommunicate OK [23:40:18]SAM_PROTO_GetShiftState done [23:40:18]FM_GetShiftState done [23:40:18]req_shift_opened done [23:40:18]requested_item shift.open_date is exist - process it [23:40:18]req_shift_open_date [23:40:18]req_shift_open_date done [23:40:18]produce_requested_data done [23:40:18]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4221,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765} [23:40:18]process_action_free close_receipt [23:40:18]json_value_free [23:40:18]json_value_free done [23:40:18]process_json_proto returns [23:40:18]Send response to host [23:40:18]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4221,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765}}} [23:40:18]free response buf [23:40:18]execute_script done [23:40:18]execute_script returns [23:40:18]free content buf [23:40:18]Sock 8.Close socket [23:40:18]Sock 8.Thread stoped [23:40:21]OFD Sender: No OFD packet to send [23:40:26]OFD Sender: No OFD packet to send [23:40:31]OFD Sender: No OFD packet to send [23:40:36]OFD Sender: No OFD packet to send [23:40:41]OFD Sender: No OFD packet to send [23:40:46]OFD Sender: No OFD packet to send [23:40:51]OFD Sender: No OFD packet to send [23:40:56]OFD Sender: No OFD packet to send [23:41:01]OFD Sender: No OFD packet to send [23:41:06]OFD Sender: No OFD packet to send [23:41:11]OFD Sender: No OFD packet to send [23:41:16]OFD Sender: No OFD packet to send [23:41:21]OFD Sender: No OFD packet to send [23:41:26]OFD Sender: No OFD packet to send [23:41:31]OFD Sender: No OFD packet to send [23:41:36]OFD Sender: No OFD packet to send [23:41:41]OFD Sender: No OFD packet to send [23:41:46]OFD Sender: No OFD packet to send [23:41:51]OFD Sender: No OFD packet to send [23:41:56]OFD Sender: No OFD packet to send [23:42:01]OFD Sender: No OFD packet to send [23:42:06]OFD Sender: No OFD packet to send [23:42:11]OFD Sender: No OFD packet to send [23:42:16]OFD Sender: No OFD packet to send [23:42:21]OFD Sender: No OFD packet to send [23:42:26]OFD Sender: No OFD packet to send [23:42:31]OFD Sender: No OFD packet to send [23:42:36]OFD Sender: No OFD packet to send [23:42:41]OFD Sender: No OFD packet to send [23:42:46]OFD Sender: No OFD packet to send [23:42:51]OFD Sender: No OFD packet to send [23:42:56]OFD Sender: No OFD packet to send [23:43:01]OFD Sender: No OFD packet to send [23:43:06]OFD Sender: No OFD packet to send [23:43:11]OFD Sender: No OFD packet to send [23:43:16]OFD Sender: No OFD packet to send [23:43:21]OFD Sender: No OFD packet to send [23:43:26]OFD Sender: No OFD packet to send [23:43:31]OFD Sender: No OFD packet to send [23:43:36]OFD Sender: No OFD packet to send [23:43:41]OFD Sender: No OFD packet to send [23:43:46]OFD Sender: No OFD packet to send [23:43:51]OFD Sender: No OFD packet to send [23:43:56]OFD Sender: No OFD packet to send [23:44:01]OFD Sender: No OFD packet to send [23:44:06]OFD Sender: No OFD packet to send [23:44:11]OFD Sender: No OFD packet to send [23:44:16]OFD Sender: No OFD packet to send [23:44:21]OFD Sender: No OFD packet to send [23:44:26]OFD Sender: No OFD packet to send [23:44:31]OFD Sender: No OFD packet to send [23:44:36]OFD Sender: No OFD packet to send [23:44:41]OFD Sender: No OFD packet to send [23:44:46]OFD Sender: No OFD packet to send [23:44:51]OFD Sender: No OFD packet to send [23:44:56]OFD Sender: No OFD packet to send [23:45:01]OFD Sender: No OFD packet to send [23:45:06]OFD Sender: No OFD packet to send [23:45:11]OFD Sender: No OFD packet to send [23:45:16]OFD Sender: No OFD packet to send [23:45:21]OFD Sender: No OFD packet to send [23:45:26]OFD Sender: No OFD packet to send [23:45:31]OFD Sender: No OFD packet to send [23:45:36]OFD Sender: No OFD packet to send [23:45:41]OFD Sender: No OFD packet to send [23:45:46]OFD Sender: No OFD packet to send [23:45:51]OFD Sender: No OFD packet to send [23:45:56]OFD Sender: No OFD packet to send [23:46:01]OFD Sender: No OFD packet to send [23:46:06]OFD Sender: No OFD packet to send [23:46:11]OFD Sender: No OFD packet to send [23:46:16]OFD Sender: No OFD packet to send [23:46:21]OFD Sender: No OFD packet to send [23:46:26]OFD Sender: No OFD packet to send [23:46:31]OFD Sender: No OFD packet to send [23:46:36]OFD Sender: No OFD packet to send [23:46:41]OFD Sender: No OFD packet to send [23:46:46]OFD Sender: No OFD packet to send [23:46:51]OFD Sender: No OFD packet to send [23:46:56]OFD Sender: No OFD packet to send [23:47:01]OFD Sender: No OFD packet to send [23:47:06]OFD Sender: No OFD packet to send [23:47:11]OFD Sender: No OFD packet to send [23:47:16]OFD Sender: No OFD packet to send [23:47:21]OFD Sender: No OFD packet to send [23:47:26]OFD Sender: No OFD packet to send [23:47:31]OFD Sender: No OFD packet to send [23:47:36]OFD Sender: No OFD packet to send [23:47:41]OFD Sender: No OFD packet to send [23:47:46]OFD Sender: No OFD packet to send [23:47:51]OFD Sender: No OFD packet to send [23:47:56]OFD Sender: No OFD packet to send [23:48:01]OFD Sender: No OFD packet to send [23:48:06]OFD Sender: No OFD packet to send [23:48:11]OFD Sender: No OFD packet to send [23:48:16]OFD Sender: No OFD packet to send [23:48:21]OFD Sender: No OFD packet to send [23:48:26]OFD Sender: No OFD packet to send [23:48:31]OFD Sender: No OFD packet to send [23:48:36]OFD Sender: No OFD packet to send [23:48:41]OFD Sender: No OFD packet to send [23:48:45]accept exits with 9 [23:48:45]New connection [23:48:45]New thread 3066629476 created [23:48:45]Thread 3066772836 joined [23:48:45]Waiting for new connection... [23:48:45] Sock 9.Parse request [23:48:45]Sock 9.Check first char [23:48:45]Sock 9.First char is OK [23:48:45]request: POST /json_proto HTTP/1.0 [23:48:45]Method: POST [23:48:45]URL: /json_proto [23:48:45]Method is POST - this is cgi request [23:48:45]url: /json_proto [23:48:45]query_string will be loaded in cgi processing [23:48:45]execute_cgi json_proto POST (null) [23:48:45]execute_cgi path=json_proto method=POST [23:48:45]POST find Content-Length [23:48:45]Host: 172.17.56.68:8080 [23:48:45]Content-Length: 696 [23:48:45]Content-Type: application/json [23:48:45] [23:48:45]POST finish read [23:48:45]Found Content-Length = 696 [23:48:45]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4475", "tax_sys" : 0, "items" : [ { "code": "4700000480364", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u044D\u043A\u0437\u043E\u0442\u0438\u043A 0.45 \u0436/\u0431", "price" : 85.00, "quantity" : 2.000, "sum" : 170.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" ] } } [23:48:45]execute_script... [23:48:45]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4475", "tax_sys" : 0, "items" : [ { "code": "4700000480364", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u044D\u043A\u0437\u043E\u0442\u0438\u043A 0.45 \u0436/\u0431", "price" : 85.00, "quantity" : 2.000, "sum" : 170.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" ] } } [23:48:45]POST & json_proto [23:48:45]process_json_proto [23:48:45]json parsed OK: [23:48:45]protocol is kg_v1.0 [23:48:45]action value=close_receipt [23:48:45]process_action close_receipt [23:48:45]cmd_close_receipt [23:48:45]MH_GetDate [23:48:45]Write to MH i2c: F0 00 00 23 08 1A [23:48:45]Write i2c OK [23:48:45]MH_I2C_Read... [23:48:45]Read from MH i2c: F0 [23:48:45]MH_I2C_Read... [23:48:45]Read from MH i2c: F0 09 00 [23:48:45]MH_I2C_Read... [23:48:45]Read from MH i2c: F0 09 00 23 08 00 5F F9 60 66 3A 8F 60 66 D0 [23:48:45]GetLastDocTimeStamp 1717630815 [23:48:45]current date 1717631327 [23:48:45]FM_GetShiftState [23:48:45]SAM_PROTO_GetShiftState [23:48:45]wFMCommunicate request_size=4 [23:48:45]MH_SAM_APDU [23:48:45]CAPDU: 80 13 01 00 [23:48:45]Write to MH i2c: E2 08 00 24 08 80 13 01 00 00 00 00 00 A9 [23:48:45]Write i2c OK [23:48:45]MH_I2C_Read... [23:48:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:48:45]Read from MH i2c: E2 [23:48:45]MH_I2C_Read... [23:48:45]Read from MH i2c: E2 0E 00 [23:48:45]MH_I2C_Read... [23:48:45]Read from MH i2c: E2 0E 00 24 08 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 4A [23:48:45]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [23:48:45]wFMCommunicate OK [23:48:45]SAM_PROTO_GetShiftState done [23:48:45]FM_GetShiftState done [23:48:45]opened in 1717545765 [23:48:45]opened+sec_in_day 1717632165 [23:48:45]quantity*price = 17000 [23:48:45]sum+1 = 17001 [23:48:45]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 170.00 НСП 1% : 1.50 НДС 12% : 18.05 Наличными: 170.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 80 05.06.2024 23:48 Смена: 84 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4222 ФПД: 268221121190863 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T234847&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4222&fm=268221121190863&tin=02508201610067®Number=0000000000145775&sum=17000 0 [23:48:46]StoreToDocumentArchive [23:48:46]shift 84 fd 4222 [23:48:46]save to /storage/0084/doc_00004222 [23:48:46]save last doc name /storage/0084/doc_00004222 to /storage/kkm_last_doc_name [23:48:46]save OK [23:48:46]Clear old archive folders... [23:48:46]ProcessDocumentItem done err = 0, tmpTLVsize=299 [23:48:46]tlvbuf is 019697D0 [23:48:46]SAM_PROTO_ClearQueue [23:48:46]wFMCommunicate request_size=4 [23:48:46]MH_SAM_APDU [23:48:46]CAPDU: 80 09 00 00 [23:48:46]Write to MH i2c: E2 08 00 31 08 80 09 00 00 00 00 00 00 AB [23:48:46]Write i2c OK [23:48:46]MH_I2C_Read... [23:48:46]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:48:46]Read from MH i2c: E2 [23:48:46]MH_I2C_Read... [23:48:46]Read from MH i2c: E2 03 00 [23:48:46]MH_I2C_Read... [23:48:46]Read from MH i2c: E2 03 00 31 08 00 90 00 AD [23:48:46]RAPDU: 90 00 [23:48:46]wFMCommunicate OK [23:48:46]SAM_PROTO_ClearQueue done [23:48:46]KKMCreateOFDPacket [23:48:46]OFDProtocolAddRootSTLVToBuf [23:48:46]FM_MakeSignedData [23:48:46]FM_MakeSignedData [23:48:46]SAM_PROTO_SignData [23:48:46]wFMCommunicate request_size=4 [23:48:46]MH_SAM_APDU [23:48:46]CAPDU: 80 0D 01 02 [23:48:46]Write to MH i2c: E2 08 00 32 08 80 0D 01 02 00 00 00 00 B3 [23:48:46]Write i2c OK [23:48:46]MH_I2C_Read... [23:48:46]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:48:46]Read from MH i2c: E2 [23:48:46]MH_I2C_Read... [23:48:46]Read from MH i2c: E2 03 00 [23:48:46]MH_I2C_Read... [23:48:46]Read from MH i2c: E2 03 00 32 08 00 90 00 AE [23:48:46]RAPDU: 90 00 [23:48:46]wFMCommunicate OK [23:48:46]wFMCommunicate request_size=255 [23:48:46]MH_SAM_APDU [23:48:46]CAPDU: 80 0D 02 02 FA 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 36 34 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D1 8D D0 BA D0 B7 D0 BE D1 82 D0 B8 D0 BA 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 68 42 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 96 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 50 00 00 00 F4 03 04 00 5F F9 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 [23:48:46]Write to MH i2c: E2 02 01 33 08 80 0D 02 02 FA 00 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 36 34 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D1 8D D0 BA D0 B7 D0 BE D1 82 D0 B8 D0 BA 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 68 42 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 96 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 50 00 00 00 F4 03 04 00 5F F9 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 00 00 43 [23:48:46]Write i2c OK [23:48:46]MH_I2C_Read... [23:48:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:48:46]Read from MH i2c: E2 [23:48:46]MH_I2C_Read... [23:48:46]Read from MH i2c: E2 03 00 [23:48:46]MH_I2C_Read... [23:48:46]Read from MH i2c: E2 03 00 33 08 00 90 00 AF [23:48:46]RAPDU: 90 00 [23:48:46]wFMCommunicate OK [23:48:46]wFMCommunicate request_size=58 [23:48:46]MH_SAM_APDU [23:48:46]CAPDU: 80 0D 02 02 35 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 7E 10 00 00 35 04 06 00 F3 F2 18 A6 5B CF [23:48:46]Write to MH i2c: E2 3D 00 34 08 80 0D 02 02 35 00 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 7E 10 00 00 35 04 06 00 F3 F2 18 A6 5B CF 00 00 04 [23:48:46]Write i2c OK [23:48:46]MH_I2C_Read... [23:48:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:48:46]Read from MH i2c: E2 [23:48:46]MH_I2C_Read... [23:48:46]Read from MH i2c: E2 03 00 [23:48:46]MH_I2C_Read... [23:48:46]Read from MH i2c: E2 03 00 34 08 00 90 00 B0 [23:48:46]RAPDU: 90 00 [23:48:46]wFMCommunicate OK [23:48:46]wFMCommunicate request_size=4 [23:48:46]MH_SAM_APDU [23:48:46]CAPDU: 80 0D 03 02 [23:48:46]Write to MH i2c: E2 08 00 35 08 80 0D 03 02 00 00 00 00 B8 [23:48:46]Write i2c OK [23:48:46]MH_I2C_Read... [23:48:46]OFD Sender: No OFD packet to send [23:48:46]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:48:46]Read from MH i2c: E2 [23:48:46]MH_I2C_Read... [23:48:46]Read from MH i2c: E2 0B 00 [23:48:46]MH_I2C_Read... [23:48:46]Read from MH i2c: E2 0B 00 35 08 00 C6 76 D6 BD E5 A5 E7 CD 90 00 C6 [23:48:46]RAPDU: C6 76 D6 BD E5 A5 E7 CD 90 00 [23:48:47]wFMCommunicate OK [23:48:47]SAM_PROTO_SignData done [23:48:47]FM_MakeSignedData done [23:48:47]CreateOFDProtocolMessage [23:48:47]wFMCommunicate request_size=4 [23:48:47]MH_SAM_APDU [23:48:47]CAPDU: 80 11 00 00 [23:48:47]Write to MH i2c: E2 08 00 36 08 80 11 00 00 00 00 00 00 B8 [23:48:47]Write i2c OK [23:48:47]MH_I2C_Read... [23:48:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:48:47]Read from MH i2c: E2 [23:48:47]MH_I2C_Read... [23:48:47]Read from MH i2c: E2 17 00 [23:48:47]MH_I2C_Read... [23:48:47]Read from MH i2c: E2 17 00 36 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 0B [23:48:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [23:48:47]wFMCommunicate OK [23:48:47]CreateOFDProtocolMessage done [23:48:47]OFDSenderStorePacket 4222 [23:48:47]StoreOFDPacket docnum=4222 [23:48:47]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 3F 01 00 00 18 B2 37 01 2D 39 5A 03 01 00 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 36 34 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D1 8D D0 BA D0 B7 D0 BE D1 82 D0 B8 D0 BA 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 68 42 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 96 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 50 00 00 00 F4 03 04 00 5F F9 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 7E 10 00 00 35 04 06 00 F3 F2 18 A6 5B CF C6 76 D6 BD E5 A5 E7 CD [23:48:47]CheckFolder [23:48:47]dirname=/storage/ofd_packets [23:48:47]CheckFolder done [23:48:47]ProducePacketName [23:48:47]name=ofd_packets/00004222 [23:48:47]NVStorageSaveData ofd_packets/00004222 [23:48:47]File name is /storage/ofd_packets/00004222 [23:48:47]Write 349 bytes [23:48:47]NVStorageSaveData done [23:48:47]OFDSenderStorePacket done [23:48:47]KKMCreateOFDPacket done [23:48:47]NVStorageSaveData kkm_last_timestamp [23:48:47]File name is /storage/kkm_last_timestamp [23:48:47]Write 4 bytes [23:48:47]NVStorageSaveData done [23:48:47]ExternCall_PrintAddStr [23:48:47]wPrintStart [23:48:47]Write to MH i2c: 01 00 00 37 08 3F [23:48:47]Write i2c OK [23:48:47]MH_I2C_Read... [23:48:47]Read from MH i2c: 01 [23:48:47]MH_I2C_Read... [23:48:47]Read from MH i2c: 01 07 00 [23:48:47]MH_I2C_Read... [23:48:47]Read from MH i2c: 01 07 00 37 08 00 00 00 00 00 FF 0F 54 [23:48:47]RasterBufferAndPrint [23:48:47]line Счет N : (3)4475 [23:48:47]line ИНН: 02508201610067 [23:48:47]line Контрольно-Кассовый Чек [23:48:47]line ПРОДАЖА [23:48:47]line Товар: 4700000480364 [23:48:47]line Напиток энерг Nitro экзотик 0.45 ж/б [23:48:47]line 2.000 * 85.00 [23:48:47]line = 170.00 [23:48:47]line НДС 12% НСП 1% [23:48:47]line > о реализуемом товаре [23:48:47]line ИТОГО: 170.00 [23:48:47]line НСП 1% : 1.50 [23:48:47]line НДС 12% : 18.05 [23:48:47]line Наличными: 170.00 [23:48:47]line Безнал.: 0.00 [23:48:47]line Место: АЗС № 116 "Партнер Нефть" [23:48:47]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [23:48:47]line СНО: Общий режим [23:48:47]line Чек 80 05.06.2024 23:48 [23:48:47]line Смена: 84 ФФД: 1.0 [23:48:47]line ЗНМ: 0300000233 [23:48:47]line РНМ: 0000000000145775 [23:48:47]line Версия ККМ: v1.0 [23:48:47]line ФМ: 0000000000959360 [23:48:47]line ФД: 4222 [23:48:47]line ФПД: 268221121190863 [23:48:47]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T234847&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4222&fm=268221121190863&tin=02508201610067®Number=0000000000145775&sum=17000 [23:48:47]OFD Sender: Processing packet 4222 [packets to send 2, broken 1] [23:48:47]ProducePacketName [23:48:47]name=ofd_packets/00004222 [23:48:47]OFD Sender: To server: pG, [23:48:47]CommunicateWithHost lk.salyk.kg:30040 [23:48:47]ConnectInit lk.salyk.kg [23:48:47]line 0 [23:48:47]written 0, free lines is 4095 [23:48:47]Connected sock=10 [23:48:47]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 3F 01 00 00 18 B2 37 01 2D 39 5A 03 01 00 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 36 34 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D1 8D D0 BA D0 B7 D0 BE D1 82 D0 B8 D0 BA 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 68 42 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 96 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 50 00 00 00 F4 03 04 00 5F F9 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 7E 10 00 00 35 04 06 00 F3 F2 18 A6 5B CF C6 76 D6 BD E5 A5 E7 CD [23:48:47]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 01 B6 47 00 E2 4B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 7E 10 00 00 F4 03 04 00 60 A5 60 66 B6 04 01 00 00 A7 97 0E BD 0F 79 93 2C [23:48:47]CommunicateWithHost err = 0 [23:48:47]CheckOFDResponse [23:48:47]1017 (14) - 77093643461234 [23:48:47]1041 (16) - 0000000000959360 [23:48:47]1040 (4) - 4222 [23:48:47]1012 (4) - 05.06.2024 17:50 [23:48:47]1206 (1) - 0 [23:48:47]OFD Sender: Remove packet 4222 [23:48:47]ProducePacketName [23:48:47]name=ofd_packets/00004222 [23:48:47]NVStorageDeleteData [23:48:47]Write to MH i2c: 01 00 00 60 08 68 [23:48:47]Write i2c OK [23:48:47]MH_I2C_Read... [23:48:47]Read from MH i2c: 01 [23:48:47]MH_I2C_Read... [23:48:47]Read from MH i2c: 01 07 00 [23:48:47]MH_I2C_Read... [23:48:47]Read from MH i2c: 01 07 00 60 08 00 00 00 00 00 B4 0C 2F [23:48:47]RasterBufferAndPrint [23:48:47]line [23:48:47]line [23:48:47]line [23:48:47]line [23:48:47]line [23:48:47]written 0, free lines is 3256 [23:48:47]MH_Cut [23:48:47]Write to MH i2c: D1 01 00 67 08 01 41 [23:48:47]Write i2c OK [23:48:47]MH_I2C_Read... [23:48:47]Read from MH i2c: D1 [23:48:47]MH_I2C_Read... [23:48:47]Read from MH i2c: D1 01 00 [23:48:47]MH_I2C_Read... [23:48:47]Read from MH i2c: D1 01 00 67 08 00 40 [23:48:47]Write to MH i2c: 01 00 00 68 08 70 [23:48:47]Write i2c OK [23:48:47]MH_I2C_Read... [23:48:48]OFD Sender: No OFD packet to send [23:48:48]*** Cut start [23:48:48]*** Partial cut [23:48:48]*** CUTSNS_PIN = 1 [23:48:48]*** CUTSNS_PIN = 0 [23:48:49]*** Brake cut motor [23:48:49]Read from MH i2c: 01 [23:48:49]MH_I2C_Read... [23:48:49]*** Stop cut motor [23:48:49]*** Cut end [23:48:49]Read from MH i2c: 01 07 00 [23:48:49]MH_I2C_Read... [23:48:49]Read from MH i2c: 01 07 00 68 08 00 00 00 00 00 FF 0F 85 [23:48:49]process_action close_receipt done [23:48:49]requested_data is exist [23:48:49]produce_requested_data [23:48:49]requested_item fm.sn is exist - process it [23:48:49]wFMCommunicate request_size=4 [23:48:49]MH_SAM_APDU [23:48:49]CAPDU: 80 11 00 00 [23:48:49]Write to MH i2c: E2 08 00 69 08 80 11 00 00 00 00 00 00 EB [23:48:49]Write i2c OK [23:48:49]MH_I2C_Read... [23:48:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:48:49]Read from MH i2c: E2 [23:48:49]MH_I2C_Read... [23:48:49]Read from MH i2c: E2 17 00 [23:48:49]MH_I2C_Read... [23:48:49]Read from MH i2c: E2 17 00 69 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 3E [23:48:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [23:48:49]wFMCommunicate OK [23:48:49]requested_item fd.num is exist - process it [23:48:49]SAM_PROTO_GetFieldsCounters [23:48:49]wFMCommunicate request_size=4 [23:48:49]MH_SAM_APDU [23:48:49]CAPDU: 80 13 00 00 [23:48:49]Write to MH i2c: E2 08 00 6A 08 80 13 00 00 00 00 00 00 EE [23:48:49]Write i2c OK [23:48:49]MH_I2C_Read... [23:48:49]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:48:49]Read from MH i2c: E2 [23:48:49]MH_I2C_Read... [23:48:49]Read from MH i2c: E2 62 00 [23:48:49]MH_I2C_Read... [23:48:49]Read from MH i2c: E2 62 00 6A 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 7E 10 00 00 0E 04 04 00 54 00 00 00 12 04 04 00 50 00 00 00 5E 04 04 00 50 00 00 00 57 04 04 00 51 00 00 00 19 04 04 00 00 00 00 00 90 00 E5 [23:48:49]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 7E 10 00 00 0E 04 04 00 54 00 00 00 12 04 04 00 50 00 00 00 5E 04 04 00 50 00 00 00 57 04 04 00 51 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:48:49]wFMCommunicate OK [23:48:49]SAM_PROTO_GetFieldsCounters done [23:48:49]requested_item shift.num is exist - process it [23:48:49]requested_item shift.opened is exist - process it [23:48:49]req_shift_opened [23:48:49]FM_GetShiftState [23:48:49]SAM_PROTO_GetShiftState [23:48:49]wFMCommunicate request_size=4 [23:48:49]MH_SAM_APDU [23:48:49]CAPDU: 80 13 01 00 [23:48:49]Write to MH i2c: E2 08 00 6B 08 80 13 01 00 00 00 00 00 F0 [23:48:49]Write i2c OK [23:48:49]MH_I2C_Read... [23:48:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:48:49]Read from MH i2c: E2 [23:48:49]MH_I2C_Read... [23:48:49]Read from MH i2c: E2 0E 00 [23:48:49]MH_I2C_Read... [23:48:49]Read from MH i2c: E2 0E 00 6B 08 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 91 [23:48:49]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [23:48:49]wFMCommunicate OK [23:48:49]SAM_PROTO_GetShiftState done [23:48:49]FM_GetShiftState done [23:48:49]req_shift_opened done [23:48:49]requested_item shift.open_date is exist - process it [23:48:49]req_shift_open_date [23:48:49]req_shift_open_date done [23:48:49]produce_requested_data done [23:48:49]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4222,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765} [23:48:49]process_action_free close_receipt [23:48:49]json_value_free [23:48:49]json_value_free done [23:48:49]process_json_proto returns [23:48:49]Send response to host [23:48:49]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4222,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765}}} [23:48:49]free response buf [23:48:49]execute_script done [23:48:49]execute_script returns [23:48:49]free content buf [23:48:49]Sock 9.Close socket [23:48:49]Sock 9.Thread stoped [23:48:53]OFD Sender: No OFD packet to send [23:48:58]OFD Sender: No OFD packet to send [23:49:03]OFD Sender: No OFD packet to send [23:49:08]OFD Sender: No OFD packet to send [23:49:13]OFD Sender: No OFD packet to send [23:49:14]accept exits with 8 [23:49:14]New connection [23:49:14]New thread 3066772836 created [23:49:14]Thread 3066629476 joined [23:49:14]Waiting for new connection... [23:49:14] Sock 8.Parse request [23:49:14]Sock 8.Check first char [23:49:14]Sock 8.First char is OK [23:49:14]request: POST /json_proto HTTP/1.0 [23:49:14]Method: POST [23:49:14]URL: /json_proto [23:49:14]Method is POST - this is cgi request [23:49:14]url: /json_proto [23:49:14]query_string will be loaded in cgi processing [23:49:14]execute_cgi json_proto POST (null) [23:49:14]execute_cgi path=json_proto method=POST [23:49:14]POST find Content-Length [23:49:14]Host: 172.17.56.68:8080 [23:49:14]Content-Length: 1034 [23:49:14]Content-Type: application/json [23:49:14] [23:49:14]POST finish read [23:49:14]Found Content-Length = 1034 [23:49:14]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4476", "tax_sys" : 0, "items" : [ { "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 245.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:49:14]execute_script... [23:49: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)4476", "tax_sys" : 0, "items" : [ { "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 245.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:49:14]POST & json_proto [23:49:14]process_json_proto [23:49:14]json parsed OK: [23:49:14]protocol is kg_v1.0 [23:49:14]action value=close_receipt [23:49:14]process_action close_receipt [23:49:14]cmd_close_receipt [23:49:14]MH_GetDate [23:49:14]Write to MH i2c: F0 00 00 6C 08 63 [23:49:14]Write i2c OK [23:49:14]MH_I2C_Read... [23:49:14]Read from MH i2c: F0 [23:49:14]MH_I2C_Read... [23:49:14]Read from MH i2c: F0 09 00 [23:49:14]MH_I2C_Read... [23:49:14]Read from MH i2c: F0 09 00 6C 08 00 7C F9 60 66 3A 8F 60 66 36 [23:49:14]GetLastDocTimeStamp 1717631327 [23:49:14]current date 1717631356 [23:49:14]FM_GetShiftState [23:49:14]SAM_PROTO_GetShiftState [23:49:14]wFMCommunicate request_size=4 [23:49:14]MH_SAM_APDU [23:49:14]CAPDU: 80 13 01 00 [23:49:14]Write to MH i2c: E2 08 00 6D 08 80 13 01 00 00 00 00 00 F2 [23:49:14]Write i2c OK [23:49:14]MH_I2C_Read... [23:49:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:49:14]Read from MH i2c: E2 [23:49:14]MH_I2C_Read... [23:49:14]Read from MH i2c: E2 0E 00 [23:49:14]MH_I2C_Read... [23:49:14]Read from MH i2c: E2 0E 00 6D 08 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 93 [23:49:14]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [23:49:14]wFMCommunicate OK [23:49:14]SAM_PROTO_GetShiftState done [23:49:14]FM_GetShiftState done [23:49:14]opened in 1717545765 [23:49:14]opened+sec_in_day 1717632165 [23:49:14]quantity*price = 11500 [23:49:14]sum+1 = 11501 [23:49:14]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 2000036230011 Кофе Латте XL(GABB TRADE) 1.000 * 130.00 = 130.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 245.00 НСП 1% : 2.17 НДС 12% : 26.01 Наличными: 0.00 Безнал.: 245.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 81 05.06.2024 23:49 Смена: 84 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 Платежная система: О! деньги ФМ: 0000000000959360 ФД: 4223 ФПД: 186165958017046 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T234916&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4223&fm=186165958017046&tin=02508201610067®Number=0000000000145775&sum=24500 0 [23:49:15]StoreToDocumentArchive [23:49:15]shift 84 fd 4223 [23:49:15]save to /storage/0084/doc_00004223 [23:49:15]save last doc name /storage/0084/doc_00004223 to /storage/kkm_last_doc_name [23:49:15]save OK [23:49:15]Clear old archive folders... [23:49:15]ProcessDocumentItem done err = 0, tmpTLVsize=380 [23:49:15]tlvbuf is 0197B140 [23:49:15]SAM_PROTO_ClearQueue [23:49:15]wFMCommunicate request_size=4 [23:49:15]MH_SAM_APDU [23:49:15]CAPDU: 80 09 00 00 [23:49:15]Write to MH i2c: E2 08 00 7A 08 80 09 00 00 00 00 00 00 F4 [23:49:15]Write i2c OK [23:49:15]MH_I2C_Read... [23:49:15]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:49:15]Read from MH i2c: E2 [23:49:15]MH_I2C_Read... [23:49:15]Read from MH i2c: E2 03 00 [23:49:15]MH_I2C_Read... [23:49:15]Read from MH i2c: E2 03 00 7A 08 00 90 00 F6 [23:49:15]RAPDU: 90 00 [23:49:15]wFMCommunicate OK [23:49:15]SAM_PROTO_ClearQueue done [23:49:15]KKMCreateOFDPacket [23:49:15]OFDProtocolAddRootSTLVToBuf [23:49:15]FM_MakeSignedData [23:49:15]FM_MakeSignedData [23:49:15]SAM_PROTO_SignData [23:49:15]wFMCommunicate request_size=4 [23:49:15]MH_SAM_APDU [23:49:15]CAPDU: 80 0D 01 02 [23:49:15]Write to MH i2c: E2 08 00 7B 08 80 0D 01 02 00 00 00 00 FC [23:49:15]Write i2c OK [23:49:15]MH_I2C_Read... [23:49:15]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:49:15]Read from MH i2c: E2 [23:49:15]MH_I2C_Read... [23:49:15]Read from MH i2c: E2 03 00 [23:49:15]MH_I2C_Read... [23:49:15]Read from MH i2c: E2 03 00 7B 08 00 90 00 F7 [23:49:15]RAPDU: 90 00 [23:49:15]wFMCommunicate OK [23:49:15]wFMCommunicate request_size=255 [23:49:15]MH_SAM_APDU [23:49:15]CAPDU: 80 0D 02 02 FA 03 00 7C 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 B4 5F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D9 00 00 00 [23:49:15]Write to MH i2c: E2 02 01 7C 08 80 0D 02 02 FA 00 03 00 7C 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 B4 5F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D9 00 00 00 00 00 46 [23:49:15]Write i2c OK [23:49:15]MH_I2C_Read... [23:49:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:49:16]Read from MH i2c: E2 [23:49:16]MH_I2C_Read... [23:49:16]Read from MH i2c: E2 03 00 [23:49:16]MH_I2C_Read... [23:49:16]Read from MH i2c: E2 03 00 7C 08 00 90 00 F8 [23:49:16]RAPDU: 90 00 [23:49:16]wFMCommunicate OK [23:49:16]wFMCommunicate request_size=139 [23:49:16]MH_SAM_APDU [23:49:16]CAPDU: 80 0D 02 02 86 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 29 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B4 5F 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 51 00 00 00 F4 03 04 00 7C F9 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 7F 10 00 00 35 04 06 00 A9 51 23 CC 00 16 [23:49:16]Write to MH i2c: E2 8E 00 7D 08 80 0D 02 02 86 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 29 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B4 5F 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 51 00 00 00 F4 03 04 00 7C F9 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 7F 10 00 00 35 04 06 00 A9 51 23 CC 00 16 00 00 F0 [23:49:16]Write i2c OK [23:49:16]MH_I2C_Read... [23:49:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:49:16]Read from MH i2c: E2 [23:49:16]MH_I2C_Read... [23:49:16]Read from MH i2c: E2 03 00 [23:49:16]MH_I2C_Read... [23:49:16]Read from MH i2c: E2 03 00 7D 08 00 90 00 F9 [23:49:16]RAPDU: 90 00 [23:49:16]wFMCommunicate OK [23:49:16]wFMCommunicate request_size=4 [23:49:16]MH_SAM_APDU [23:49:16]CAPDU: 80 0D 03 02 [23:49:16]Write to MH i2c: E2 08 00 7E 08 80 0D 03 02 00 00 00 00 01 [23:49:16]Write i2c OK [23:49:16]MH_I2C_Read... [23:49:16]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:49:16]Read from MH i2c: E2 [23:49:16]MH_I2C_Read... [23:49:16]Read from MH i2c: E2 0B 00 [23:49:16]MH_I2C_Read... [23:49:16]Read from MH i2c: E2 0B 00 7E 08 00 32 B6 3F 39 74 79 2C A0 90 00 1B [23:49:16]RAPDU: 32 B6 3F 39 74 79 2C A0 90 00 [23:49:16]wFMCommunicate OK [23:49:16]SAM_PROTO_SignData done [23:49:16]FM_MakeSignedData done [23:49:16]CreateOFDProtocolMessage [23:49:16]wFMCommunicate request_size=4 [23:49:16]MH_SAM_APDU [23:49:16]CAPDU: 80 11 00 00 [23:49:16]Write to MH i2c: E2 08 00 7F 08 80 11 00 00 00 00 00 00 01 [23:49:16]Write i2c OK [23:49:16]MH_I2C_Read... [23:49:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:49:16]Read from MH i2c: E2 [23:49:16]MH_I2C_Read... [23:49:16]Read from MH i2c: E2 17 00 [23:49:16]MH_I2C_Read... [23:49:16]Read from MH i2c: E2 17 00 7F 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 54 [23:49:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [23:49:16]wFMCommunicate OK [23:49:16]CreateOFDProtocolMessage done [23:49:16]OFDSenderStorePacket 4223 [23:49:16]StoreOFDPacket docnum=4223 [23:49:16]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 01 00 00 BD 9C 88 01 73 86 5A 03 01 00 03 00 7C 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 B4 5F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D9 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 29 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B4 5F 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 51 00 00 00 F4 03 04 00 7C F9 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 7F 10 00 00 35 04 06 00 A9 51 23 CC 00 16 32 B6 3F 39 74 79 2C A0 [23:49:16]CheckFolder [23:49:16]dirname=/storage/ofd_packets [23:49:16]CheckFolder done [23:49:16]ProducePacketName [23:49:16]name=ofd_packets/00004223 [23:49:16]NVStorageSaveData ofd_packets/00004223 [23:49:16]File name is /storage/ofd_packets/00004223 [23:49:16]Write 430 bytes [23:49:16]NVStorageSaveData done [23:49:16]OFDSenderStorePacket done [23:49:16]KKMCreateOFDPacket done [23:49:16]NVStorageSaveData kkm_last_timestamp [23:49:16]File name is /storage/kkm_last_timestamp [23:49:16]Write 4 bytes [23:49:16]NVStorageSaveData done [23:49:16]ExternCall_PrintAddStr [23:49:16]wPrintStart [23:49:16]Write to MH i2c: 01 00 00 80 08 88 [23:49:16]OFD Sender: Processing packet 4223 [packets to send 2, broken 1] [23:49:16]ProducePacketName [23:49:16]name=ofd_packets/00004223 [23:49:16]OFD Sender: To server: pG, [23:49:16]CommunicateWithHost lk.salyk.kg:30040 [23:49:16]ConnectInit lk.salyk.kg [23:49:16]Write i2c OK [23:49:16]MH_I2C_Read... [23:49:16]Read from MH i2c: 01 [23:49:16]MH_I2C_Read... [23:49:16]Read from MH i2c: 01 07 00 [23:49:16]MH_I2C_Read... [23:49:16]Read from MH i2c: 01 07 00 80 08 00 00 00 00 00 FF 0F 9D [23:49:16]RasterBufferAndPrint [23:49:16]line Счет N : (3)4476 [23:49:16]line ИНН: 02508201610067 [23:49:16]line Контрольно-Кассовый Чек [23:49:16]line ПРОДАЖА [23:49:16]line Товар: 2000036240010 [23:49:16]line Кофе Латте (GABB TRADE) [23:49:16]line 1.000 * 115.00 [23:49:16]line = 115.00 [23:49:16]line НДС 12% НСП 1% [23:49:16]line > о реализуемом товаре [23:49:16]line Товар: 2000036230011 [23:49:16]line Кофе Латте XL(GABB TRADE) [23:49:16]line 1.000 * 130.00 [23:49:16]line = 130.00 [23:49:16]line НДС 12% НСП 1% [23:49:16]line > о реализуемом товаре [23:49:16]line ИТОГО: 245.00 [23:49:16]line НСП 1% : 2.17 [23:49:16]line НДС 12% : 26.01 [23:49:16]line Наличными: 0.00 [23:49:16]line Безнал.: 245.00 [23:49:16]line Место: АЗС № 116 "Партнер Нефть" [23:49:16]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [23:49:16]line СНО: Общий режим [23:49:16]line Чек 81 05.06.2024 23:49 [23:49:16]line Смена: 84 ФФД: 1.0 [23:49:16]line ЗНМ: 0300000233 [23:49:16]line РНМ: 0000000000145775 [23:49:16]line Версия ККМ: v1.0 [23:49:16]line Платежная система: О! деньги [23:49:16]line ФМ: 0000000000959360 [23:49:16]line ФД: 4223 [23:49:16]line ФПД: 186165958017046 [23:49:16]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240605T234916&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4223&fm=186165958017046&tin=02508201610067®Number=0000000000145775&sum=24500 [23:49:16]line 0 [23:49:16]written 0, free lines is 4095 [23:49:16]Connected sock=10 [23:49:16]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 01 00 00 BD 9C 88 01 73 86 5A 03 01 00 03 00 7C 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 B4 5F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D9 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 29 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B4 5F 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 51 00 00 00 F4 03 04 00 7C F9 60 66 0E 04 04 00 54 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 7F 10 00 00 35 04 06 00 A9 51 23 CC 00 16 32 B6 3F 39 74 79 2C A0 [23:49:16]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 B4 21 47 00 C6 4A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 7F 10 00 00 F4 03 04 00 7D A5 60 66 B6 04 01 00 00 D9 01 B7 A9 99 2F 6B 0D [23:49:16]CommunicateWithHost err = 0 [23:49:16]CheckOFDResponse [23:49:16]1017 (14) - 77093643461234 [23:49:16]1041 (16) - 0000000000959360 [23:49:16]1040 (4) - 4223 [23:49:16]1012 (4) - 05.06.2024 17:50 [23:49:16]1206 (1) - 0 [23:49:16]OFD Sender: Remove packet 4223 [23:49:16]ProducePacketName [23:49:16]name=ofd_packets/00004223 [23:49:16]NVStorageDeleteData [23:49:17]Write to MH i2c: 01 00 00 B0 08 B8 [23:49:17]Write i2c OK [23:49:17]MH_I2C_Read... [23:49:17]Read from MH i2c: 01 [23:49:17]MH_I2C_Read... [23:49:17]Read from MH i2c: 01 07 00 [23:49:17]MH_I2C_Read... [23:49:17]Read from MH i2c: 01 07 00 B0 08 00 00 00 00 00 50 0C 1B [23:49:17]RasterBufferAndPrint [23:49:17]line [23:49:17]line [23:49:17]line [23:49:17]line [23:49:17]line [23:49:17]written 0, free lines is 3157 [23:49:17]MH_Cut [23:49:17]Write to MH i2c: D1 01 00 B7 08 01 91 [23:49:17]Write i2c OK [23:49:17]MH_I2C_Read... [23:49:17]Read from MH i2c: D1 [23:49:17]MH_I2C_Read... [23:49:17]Read from MH i2c: D1 01 00 [23:49:17]MH_I2C_Read... [23:49:17]Read from MH i2c: D1 01 00 B7 08 00 90 [23:49:17]Write to MH i2c: 01 00 00 B8 08 C0 [23:49:17]Write i2c OK [23:49:17]MH_I2C_Read... [23:49:17]OFD Sender: No OFD packet to send [23:49:18]*** Cut start [23:49:18]*** Partial cut [23:49:18]*** CUTSNS_PIN = 1 [23:49:18]*** CUTSNS_PIN = 0 [23:49:18]*** Brake cut motor [23:49:18]Read from MH i2c: 01 [23:49:18]MH_I2C_Read... [23:49:18]*** Stop cut motor [23:49:18]*** Cut end [23:49:18]Read from MH i2c: 01 07 00 [23:49:18]MH_I2C_Read... [23:49:18]Read from MH i2c: 01 07 00 B8 08 00 00 00 00 00 FF 0F D5 [23:49:18]process_action close_receipt done [23:49:18]requested_data is exist [23:49:18]produce_requested_data [23:49:18]requested_item fm.sn is exist - process it [23:49:18]wFMCommunicate request_size=4 [23:49:18]MH_SAM_APDU [23:49:18]CAPDU: 80 11 00 00 [23:49:18]Write to MH i2c: E2 08 00 B9 08 80 11 00 00 00 00 00 00 3B [23:49:18]Write i2c OK [23:49:18]MH_I2C_Read... [23:49:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:49:18]Read from MH i2c: E2 [23:49:18]MH_I2C_Read... [23:49:18]Read from MH i2c: E2 17 00 [23:49:18]MH_I2C_Read... [23:49:18]Read from MH i2c: E2 17 00 B9 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 8E [23:49:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [23:49:18]wFMCommunicate OK [23:49:18]requested_item fd.num is exist - process it [23:49:18]SAM_PROTO_GetFieldsCounters [23:49:18]wFMCommunicate request_size=4 [23:49:18]MH_SAM_APDU [23:49:18]CAPDU: 80 13 00 00 [23:49:18]Write to MH i2c: E2 08 00 BA 08 80 13 00 00 00 00 00 00 3E [23:49:18]Write i2c OK [23:49:18]MH_I2C_Read... [23:49:18]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:49:19]Read from MH i2c: E2 [23:49:19]MH_I2C_Read... [23:49:19]Read from MH i2c: E2 62 00 [23:49:19]MH_I2C_Read... [23:49:19]Read from MH i2c: E2 62 00 BA 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 7F 10 00 00 0E 04 04 00 54 00 00 00 12 04 04 00 51 00 00 00 5E 04 04 00 51 00 00 00 57 04 04 00 52 00 00 00 19 04 04 00 00 00 00 00 90 00 39 [23:49:19]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 7F 10 00 00 0E 04 04 00 54 00 00 00 12 04 04 00 51 00 00 00 5E 04 04 00 51 00 00 00 57 04 04 00 52 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:49:19]wFMCommunicate OK [23:49:19]SAM_PROTO_GetFieldsCounters done [23:49:19]requested_item shift.num is exist - process it [23:49:19]requested_item shift.opened is exist - process it [23:49:19]req_shift_opened [23:49:19]FM_GetShiftState [23:49:19]SAM_PROTO_GetShiftState [23:49:19]wFMCommunicate request_size=4 [23:49:19]MH_SAM_APDU [23:49:19]CAPDU: 80 13 01 00 [23:49:19]Write to MH i2c: E2 08 00 BB 08 80 13 01 00 00 00 00 00 40 [23:49:19]Write i2c OK [23:49:19]MH_I2C_Read... [23:49:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:49:19]Read from MH i2c: E2 [23:49:19]MH_I2C_Read... [23:49:19]Read from MH i2c: E2 0E 00 [23:49:19]MH_I2C_Read... [23:49:19]Read from MH i2c: E2 0E 00 BB 08 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 E1 [23:49:19]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [23:49:19]wFMCommunicate OK [23:49:19]SAM_PROTO_GetShiftState done [23:49:19]FM_GetShiftState done [23:49:19]req_shift_opened done [23:49:19]requested_item shift.open_date is exist - process it [23:49:19]req_shift_open_date [23:49:19]req_shift_open_date done [23:49:19]produce_requested_data done [23:49:19]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4223,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765} [23:49:19]process_action_free close_receipt [23:49:19]json_value_free [23:49:19]json_value_free done [23:49:19]process_json_proto returns [23:49:19]Send response to host [23:49:19]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4223,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765}}} [23:49:19]free response buf [23:49:19]execute_script done [23:49:19]execute_script returns [23:49:19]free content buf [23:49:19]Sock 8.Close socket [23:49:19]Sock 8.Thread stoped [23:49:22]OFD Sender: No OFD packet to send [23:49:27]OFD Sender: No OFD packet to send [23:49:32]OFD Sender: No OFD packet to send [23:49:37]OFD Sender: No OFD packet to send [23:49:42]OFD Sender: No OFD packet to send [23:49:47]OFD Sender: No OFD packet to send [23:49:52]OFD Sender: No OFD packet to send [23:49:57]OFD Sender: No OFD packet to send [23:50:02]OFD Sender: No OFD packet to send [23:50:07]OFD Sender: No OFD packet to send [23:50:12]OFD Sender: No OFD packet to send [23:50:17]OFD Sender: No OFD packet to send [23:50:22]OFD Sender: No OFD packet to send [23:50:27]OFD Sender: No OFD packet to send [23:50:32]OFD Sender: No OFD packet to send [23:50:37]OFD Sender: No OFD packet to send [23:50:42]OFD Sender: No OFD packet to send [23:50:47]OFD Sender: No OFD packet to send [23:50:52]OFD Sender: No OFD packet to send [23:50:57]OFD Sender: No OFD packet to send [23:51:02]OFD Sender: No OFD packet to send [23:51:07]OFD Sender: No OFD packet to send [23:51:12]OFD Sender: No OFD packet to send [23:51:17]OFD Sender: No OFD packet to send [23:51:22]OFD Sender: No OFD packet to send [23:51:27]OFD Sender: No OFD packet to send [23:51:32]OFD Sender: No OFD packet to send [23:51:37]OFD Sender: No OFD packet to send [23:51:42]OFD Sender: No OFD packet to send [23:51:47]OFD Sender: No OFD packet to send [23:51:52]OFD Sender: No OFD packet to send [23:51:57]OFD Sender: No OFD packet to send [23:52:02]OFD Sender: No OFD packet to send [23:52:07]OFD Sender: No OFD packet to send [23:52:12]OFD Sender: No OFD packet to send [23:52:17]OFD Sender: No OFD packet to send [23:52:22]OFD Sender: No OFD packet to send [23:52:27]OFD Sender: No OFD packet to send [23:52:32]OFD Sender: No OFD packet to send [23:52:37]OFD Sender: No OFD packet to send [23:52:42]OFD Sender: No OFD packet to send [23:52:47]OFD Sender: No OFD packet to send [23:52:52]OFD Sender: No OFD packet to send [23:52:57]OFD Sender: No OFD packet to send [23:53:02]OFD Sender: No OFD packet to send [23:53:07]OFD Sender: No OFD packet to send [23:53:12]OFD Sender: No OFD packet to send [23:53:17]OFD Sender: No OFD packet to send [23:53:22]OFD Sender: No OFD packet to send [23:53:27]OFD Sender: No OFD packet to send [23:53:32]OFD Sender: No OFD packet to send [23:53:37]OFD Sender: No OFD packet to send [23:53:42]OFD Sender: No OFD packet to send [23:53:47]OFD Sender: No OFD packet to send [23:53:52]OFD Sender: No OFD packet to send [23:53:57]OFD Sender: No OFD packet to send [23:54:02]OFD Sender: No OFD packet to send [23:54:07]OFD Sender: No OFD packet to send [23:54:12]OFD Sender: No OFD packet to send [23:54:17]OFD Sender: No OFD packet to send [23:54:22]OFD Sender: No OFD packet to send [23:54:27]OFD Sender: No OFD packet to send [23:54:32]OFD Sender: No OFD packet to send [23:54:37]OFD Sender: No OFD packet to send [23:54:42]OFD Sender: No OFD packet to send [23:54:47]OFD Sender: No OFD packet to send [23:54:52]OFD Sender: No OFD packet to send [23:54:57]OFD Sender: No OFD packet to send [23:55:02]OFD Sender: No OFD packet to send [23:55:07]OFD Sender: No OFD packet to send [23:55:12]OFD Sender: No OFD packet to send [23:55:17]OFD Sender: No OFD packet to send [23:55:22]OFD Sender: No OFD packet to send [23:55:27]OFD Sender: No OFD packet to send [23:55:32]OFD Sender: No OFD packet to send [23:55:37]OFD Sender: No OFD packet to send [23:55:42]OFD Sender: No OFD packet to send [23:55:45]accept exits with 9 [23:55:45]New connection [23:55:45]New thread 3066629476 created [23:55:45]Thread 3066772836 joined [23:55:45]Waiting for new connection... [23:55:45] Sock 9.Parse request [23:55:45]Sock 9.Check first char [23:55:45]Sock 9.First char is OK [23:55:45]request: POST /json_proto HTTP/1.0 [23:55:45]Method: POST [23:55:45]URL: /json_proto [23:55:45]Method is POST - this is cgi request [23:55:45]url: /json_proto [23:55:45]query_string will be loaded in cgi processing [23:55:45]execute_cgi json_proto POST (null) [23:55:45]execute_cgi path=json_proto method=POST [23:55:45]POST find Content-Length [23:55:45]Host: 172.17.56.68:8080 [23:55:45]Content-Length: 215 [23:55:45]Content-Type: application/json [23:55:45] [23:55:45]POST finish read [23:55:45]Found Content-Length = 215 [23:55:45]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:55:45]execute_script... [23:55:45]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:55:45]POST & json_proto [23:55:45]process_json_proto [23:55:45]json parsed OK: [23:55:45]protocol is kg_v1.0 [23:55:45]action value=get_value [23:55:45]process_action get_value [23:55:45]cmd_get_value [23:55:45]process_action get_value done [23:55:45]requested_data is exist [23:55:45]produce_requested_data [23:55:45]requested_item kkm.sn is exist - process it [23:55:45]requested_item kkm.ver is exist - process it [23:55:45]requested_item fm.sn is exist - process it [23:55:45]wFMCommunicate request_size=4 [23:55:45]MH_SAM_APDU [23:55:45]CAPDU: 80 11 00 00 [23:55:45]Write to MH i2c: E2 08 00 BC 08 80 11 00 00 00 00 00 00 3E [23:55:45]Write i2c OK [23:55:45]MH_I2C_Read... [23:55:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:55:45]Read from MH i2c: E2 [23:55:45]MH_I2C_Read... [23:55:45]Read from MH i2c: E2 17 00 [23:55:45]MH_I2C_Read... [23:55:45]Read from MH i2c: E2 17 00 BC 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 91 [23:55:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [23:55:45]wFMCommunicate OK [23:55:45]requested_item fd.num is exist - process it [23:55:45]SAM_PROTO_GetFieldsCounters [23:55:45]wFMCommunicate request_size=4 [23:55:45]MH_SAM_APDU [23:55:45]CAPDU: 80 13 00 00 [23:55:45]Write to MH i2c: E2 08 00 BD 08 80 13 00 00 00 00 00 00 41 [23:55:45]Write i2c OK [23:55:45]MH_I2C_Read... [23:55:45]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:55:45]Read from MH i2c: E2 [23:55:45]MH_I2C_Read... [23:55:45]Read from MH i2c: E2 62 00 [23:55:45]MH_I2C_Read... [23:55:45]Read from MH i2c: E2 62 00 BD 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 7F 10 00 00 0E 04 04 00 54 00 00 00 12 04 04 00 51 00 00 00 5E 04 04 00 51 00 00 00 57 04 04 00 52 00 00 00 19 04 04 00 00 00 00 00 90 00 3C [23:55:45]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 7F 10 00 00 0E 04 04 00 54 00 00 00 12 04 04 00 51 00 00 00 5E 04 04 00 51 00 00 00 57 04 04 00 52 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:55:45]wFMCommunicate OK [23:55:45]SAM_PROTO_GetFieldsCounters done [23:55:45]requested_item shift.num is exist - process it [23:55:45]requested_item shift.opened is exist - process it [23:55:45]req_shift_opened [23:55:45]FM_GetShiftState [23:55:45]SAM_PROTO_GetShiftState [23:55:45]wFMCommunicate request_size=4 [23:55:45]MH_SAM_APDU [23:55:45]CAPDU: 80 13 01 00 [23:55:45]Write to MH i2c: E2 08 00 BE 08 80 13 01 00 00 00 00 00 43 [23:55:45]Write i2c OK [23:55:45]MH_I2C_Read... [23:55:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:55:45]Read from MH i2c: E2 [23:55:45]MH_I2C_Read... [23:55:45]Read from MH i2c: E2 0E 00 [23:55:45]MH_I2C_Read... [23:55:45]Read from MH i2c: E2 0E 00 BE 08 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 E4 [23:55:45]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [23:55:45]wFMCommunicate OK [23:55:45]SAM_PROTO_GetShiftState done [23:55:45]FM_GetShiftState done [23:55:45]req_shift_opened done [23:55:45]requested_item shift.open_date is exist - process it [23:55:45]req_shift_open_date [23:55:45]req_shift_open_date done [23:55:45]produce_requested_data done [23:55:45]produce_requested_data return {"kkm.sn":"0300000233","kkm.ver":"v1.0","fm.sn":"0000000000959360","fd.num":4223,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765} [23:55:45]process_action_free get_value [23:55:45]json_value_free [23:55:45]json_value_free done [23:55:45]process_json_proto returns [23:55:45]Send response to host [23:55:45]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000233","kkm.ver":"v1.0","fm.sn":"0000000000959360","fd.num":4223,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765}}} [23:55:45]free response buf [23:55:45]execute_script done [23:55:45]execute_script returns [23:55:45]free content buf [23:55:45]Sock 9.Close socket [23:55:45]Sock 9.Thread stoped [23:55:45]accept exits with 8 [23:55:45]New connection [23:55:45]New thread 3066772836 created [23:55:45]Thread 3066629476 joined [23:55:45]Waiting for new connection... [23:55:45] Sock 8.Parse request [23:55:45]Sock 8.Check first char [23:55:45]Sock 8.First char is OK [23:55:45]request: POST /json_proto HTTP/1.0 [23:55:45]Method: POST [23:55:45]URL: /json_proto [23:55:45]Method is POST - this is cgi request [23:55:45]url: /json_proto [23:55:45]query_string will be loaded in cgi processing [23:55:45]execute_cgi json_proto POST (null) [23:55:45]execute_cgi path=json_proto method=POST [23:55:45]POST find Content-Length [23:55:45]Host: 172.17.56.68:8080 [23:55:45]Content-Length: 331 [23:55:45]Content-Type: application/json [23:55:45] [23:55:45]POST finish read [23:55:45]Found Content-Length = 331 [23:55:45]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:55:45]execute_script... [23:55:46]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:55:46]POST & json_proto [23:55:46]process_json_proto [23:55:46]json parsed OK: [23:55:46]protocol is kg_v1.0 [23:55:46]action value=get_value [23:55:46]process_action get_value [23:55:46]cmd_get_value [23:55:46]process_action get_value done [23:55:46]requested_data is exist [23:55:46]produce_requested_data [23:55:46]requested_item fm.sale.total is exist - process it [23:55:46]SAM_PROTO_GetFMData [23:55:46]wFMCommunicate request_size=4 [23:55:46]MH_SAM_APDU [23:55:46]CAPDU: 80 13 03 00 [23:55:46]Write to MH i2c: E2 08 00 BF 08 80 13 03 00 00 00 00 00 46 [23:55:46]Write i2c OK [23:55:46]MH_I2C_Read... [23:55:46]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:55:46]Read from MH i2c: E2 [23:55:46]MH_I2C_Read... [23:55:46]Read from MH i2c: E2 FD 00 [23:55:46]MH_I2C_Read... [23:55:46]Read from MH i2c: E2 FD 00 BF 08 00 BB 04 85 04 B7 04 6E 04 04 00 D7 0F 00 00 69 04 9E 00 6F 04 04 00 CE 0F 00 00 B1 04 04 00 B7 FE 9A 05 70 04 04 00 A4 56 AB 04 72 04 03 00 13 A8 EF 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 95 62 98 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 FA B0 0C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 97 00 6F 04 04 00 09 00 00 00 B1 04 03 00 10 B1 02 70 04 03 00 10 B1 02 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 2C 49 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 E1 [23:55:46]RAPDU: BB 04 85 04 B7 04 6E 04 04 00 D7 0F 00 00 69 04 9E 00 6F 04 04 00 CE 0F 00 00 B1 04 04 00 B7 FE 9A 05 70 04 04 00 A4 56 AB 04 72 04 03 00 13 A8 EF 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 95 62 98 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 FA B0 0C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 97 00 6F 04 04 00 09 00 00 00 B1 04 03 00 10 B1 02 70 04 03 00 10 B1 02 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 2C 49 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [23:55:46]wFMCommunicate OK [23:55:46]wFMCommunicate request_size=4 [23:55:46]MH_SAM_APDU [23:55:46]CAPDU: 80 17 00 00 [23:55:46]Write to MH i2c: E2 08 00 C0 08 80 17 00 00 00 00 00 00 48 [23:55:46]Write i2c OK [23:55:46]MH_I2C_Read... [23:55:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:55:46]Read from MH i2c: E2 [23:55:46]MH_I2C_Read... [23:55:46]Read from MH i2c: E2 FD 00 [23:55:46]MH_I2C_Read... [23:55:46]Read from MH i2c: E2 FD 00 C0 08 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 18 06 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 10 [23:55:46]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 18 06 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:55:46]wFMCommunicate OK [23:55:46]wFMCommunicate request_size=4 [23:55:46]MH_SAM_APDU [23:55:46]CAPDU: 80 17 00 00 [23:55:46]Write to MH i2c: E2 08 00 C1 08 80 17 00 00 00 00 00 00 49 [23:55:46]Write i2c OK [23:55:46]MH_I2C_Read... [23:55:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:55:47]Read from MH i2c: E2 [23:55:47]MH_I2C_Read... [23:55:47]Read from MH i2c: E2 FD 00 [23:55:47]MH_I2C_Read... [23:55:47]Read from MH i2c: E2 FD 00 C1 08 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 75 [23:55:47]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:55:47]wFMCommunicate OK [23:55:47]wFMCommunicate request_size=4 [23:55:47]MH_SAM_APDU [23:55:47]CAPDU: 80 17 00 00 [23:55:47]Write to MH i2c: E2 08 00 C2 08 80 17 00 00 00 00 00 00 4A [23:55:47]Write i2c OK [23:55:47]MH_I2C_Read... [23:55:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:55:47]Read from MH i2c: E2 [23:55:47]MH_I2C_Read... [23:55:47]Read from MH i2c: E2 FD 00 [23:55:47]MH_I2C_Read... [23:55:47]Read from MH i2c: E2 FD 00 C2 08 00 00 00 EF 03 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 90 00 BF [23:55:47]RAPDU: 00 00 EF 03 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 90 00 [23:55:47]wFMCommunicate OK [23:55:47]wFMCommunicate request_size=4 [23:55:47]MH_SAM_APDU [23:55:47]CAPDU: 80 17 00 00 [23:55:47]Write to MH i2c: E2 08 00 C3 08 80 17 00 00 00 00 00 00 4B [23:55:47]Write i2c OK [23:55:47]MH_I2C_Read... [23:55:47]Read from MH i2c: E2 [23:55:47]MH_I2C_Read... [23:55:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [23:55:47]Read from MH i2c: E2 D8 00 [23:55:47]MH_I2C_Read... [23:55:47]Read from MH i2c: E2 D8 00 C3 08 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 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 32 [23:55:47]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 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:55:47]wFMCommunicate OK [23:55:47]SAM_PROTO_GetFMData done [23:55:47]requested_item fm.sale_refund.total is exist - process it [23:55:47]requested_item fm.buy.total is exist - process it [23:55:47]requested_item shift.sale.total is exist - process it [23:55:47]SAM_PROTO_GetShiftData [23:55:47]wFMCommunicate request_size=4 [23:55:47]MH_SAM_APDU [23:55:47]CAPDU: 80 13 02 00 [23:55:47]Write to MH i2c: E2 08 00 C4 08 80 13 02 00 00 00 00 00 4A [23:55:47]Write i2c OK [23:55:47]MH_I2C_Read... [23:55:47]OFD Sender: No OFD packet to send [23:55:48]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:55:48]Read from MH i2c: E2 [23:55:48]MH_I2C_Read... [23:55:48]Read from MH i2c: E2 FD 00 [23:55:48]MH_I2C_Read... [23:55:48]Read from MH i2c: E2 FD 00 C4 08 00 AE 04 AA 04 AA 04 6E 04 04 00 51 00 00 00 69 04 9B 00 6F 04 04 00 51 00 00 00 B1 04 03 00 BC 0E 17 70 04 03 00 58 E7 10 72 04 03 00 64 27 06 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 D0 72 02 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 34 34 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 1A [23:55:48]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 51 00 00 00 69 04 9B 00 6F 04 04 00 51 00 00 00 B1 04 03 00 BC 0E 17 70 04 03 00 58 E7 10 72 04 03 00 64 27 06 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 D0 72 02 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 34 34 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [23:55:48]wFMCommunicate OK [23:55:48]wFMCommunicate request_size=4 [23:55:48]MH_SAM_APDU [23:55:48]CAPDU: 80 17 00 00 [23:55:48]Write to MH i2c: E2 08 00 C5 08 80 17 00 00 00 00 00 00 4D [23:55:48]Write i2c OK [23:55:48]MH_I2C_Read... [23:55:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:55:48]Read from MH i2c: E2 [23:55:48]MH_I2C_Read... [23:55:48]Read from MH i2c: E2 FD 00 [23:55:48]MH_I2C_Read... [23:55:48]Read from MH i2c: E2 FD 00 C5 08 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 6F [23:55:48]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [23:55:48]wFMCommunicate OK [23:55:48]wFMCommunicate request_size=4 [23:55:48]MH_SAM_APDU [23:55:48]CAPDU: 80 17 00 00 [23:55:48]Write to MH i2c: E2 08 00 C6 08 80 17 00 00 00 00 00 00 4E [23:55:48]Write i2c OK [23:55:48]MH_I2C_Read... [23:55:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:55:48]Read from MH i2c: E2 [23:55:48]MH_I2C_Read... [23:55:48]Read from MH i2c: E2 FD 00 [23:55:48]MH_I2C_Read... [23:55:48]Read from MH i2c: E2 FD 00 C6 08 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 05 [23:55:48]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [23:55:48]wFMCommunicate OK [23:55:48]wFMCommunicate request_size=4 [23:55:48]MH_SAM_APDU [23:55:48]CAPDU: 80 17 00 00 [23:55:48]Write to MH i2c: E2 08 00 C7 08 80 17 00 00 00 00 00 00 4F [23:55:48]Write i2c OK [23:55:48]MH_I2C_Read... [23:55:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:55:49]Read from MH i2c: E2 [23:55:49]MH_I2C_Read... [23:55:49]Read from MH i2c: E2 FD 00 [23:55:49]MH_I2C_Read... [23:55:49]Read from MH i2c: E2 FD 00 C7 08 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 C1 [23:55:49]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [23:55:49]wFMCommunicate OK [23:55:49]wFMCommunicate request_size=4 [23:55:49]MH_SAM_APDU [23:55:49]CAPDU: 80 17 00 00 [23:55:49]Write to MH i2c: E2 08 00 C8 08 80 17 00 00 00 00 00 00 50 [23:55:49]Write i2c OK [23:55:49]MH_I2C_Read... [23:55:49]Read from MH i2c: E2 [23:55:49]MH_I2C_Read... [23:55:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [23:55:49]Read from MH i2c: E2 CB 00 [23:55:49]MH_I2C_Read... [23:55:49]Read from MH i2c: E2 CB 00 C8 08 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 39 [23:55:49]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:55:49]wFMCommunicate OK [23:55:49]SAM_PROTO_GetShiftData done [23:55:49]requested_item shift.sale.total_cash is exist - process it [23:55:49]requested_item shift.sale_refund.total is exist - process it [23:55:49]requested_item shift.sale_refund.total_cash is exist - process it [23:55:49]requested_item shift.buy.total is exist - process it [23:55:49]requested_item shift.buy.total_cash is exist - process it [23:55:49]produce_requested_data done [23:55:49]produce_requested_data return {"fm.sale.total":940438.31,"fm.sale_refund.total":1764.00,"fm.buy.total":0.00,"shift.sale.total":15111.00,"shift.sale.total_cash":11078.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [23:55:49]process_action_free get_value [23:55:49]json_value_free [23:55:49]json_value_free done [23:55:49]process_json_proto returns [23:55:49]Send response to host [23:55:49]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":940438.31,"fm.sale_refund.total":1764.00,"fm.buy.total":0.00,"shift.sale.total":15111.00,"shift.sale.total_cash":11078.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [23:55:49]free response buf [23:55:49]execute_script done [23:55:49]execute_script returns [23:55:49]free content buf [23:55:49]Sock 8.Close socket [23:55:49]Sock 8.Thread stoped [23:55:49]accept exits with 9 [23:55:49]New connection [23:55:49]New thread 3066629476 created [23:55:49]Thread 3066772836 joined [23:55:49]Waiting for new connection... [23:55:49] Sock 9.Parse request [23:55:49]Sock 9.Check first char [23:55:49]Sock 9.First char is OK [23:55:49]request: POST /json_proto HTTP/1.0 [23:55:49]Method: POST [23:55:49]URL: /json_proto [23:55:49]Method is POST - this is cgi request [23:55:49]url: /json_proto [23:55:49]query_string will be loaded in cgi processing [23:55:49]execute_cgi json_proto POST (null) [23:55:49]execute_cgi path=json_proto method=POST [23:55:49]POST find Content-Length [23:55:49]Host: 172.17.56.68:8080 [23:55:49]Content-Length: 331 [23:55:49]Content-Type: application/json [23:55:49] [23:55:49]POST finish read [23:55:49]Found Content-Length = 331 [23:55:49]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:55:49]execute_script... [23:55:49]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:55:49]POST & json_proto [23:55:49]process_json_proto [23:55:49]json parsed OK: [23:55:49]protocol is kg_v1.0 [23:55:49]action value=get_value [23:55:49]process_action get_value [23:55:49]cmd_get_value [23:55:49]process_action get_value done [23:55:49]requested_data is exist [23:55:49]produce_requested_data [23:55:49]requested_item fm.sale.total is exist - process it [23:55:49]SAM_PROTO_GetFMData [23:55:49]wFMCommunicate request_size=4 [23:55:49]MH_SAM_APDU [23:55:49]CAPDU: 80 13 03 00 [23:55:49]Write to MH i2c: E2 08 00 C9 08 80 13 03 00 00 00 00 00 50 [23:55:49]Write i2c OK [23:55:49]MH_I2C_Read... [23:55:49]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:55:49]Read from MH i2c: E2 [23:55:49]MH_I2C_Read... [23:55:49]Read from MH i2c: E2 FD 00 [23:55:49]MH_I2C_Read... [23:55:49]Read from MH i2c: E2 FD 00 C9 08 00 BB 04 85 04 B7 04 6E 04 04 00 D7 0F 00 00 69 04 9E 00 6F 04 04 00 CE 0F 00 00 B1 04 04 00 B7 FE 9A 05 70 04 04 00 A4 56 AB 04 72 04 03 00 13 A8 EF 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 95 62 98 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 FA B0 0C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 97 00 6F 04 04 00 09 00 00 00 B1 04 03 00 10 B1 02 70 04 03 00 10 B1 02 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 2C 49 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 EB [23:55:49]RAPDU: BB 04 85 04 B7 04 6E 04 04 00 D7 0F 00 00 69 04 9E 00 6F 04 04 00 CE 0F 00 00 B1 04 04 00 B7 FE 9A 05 70 04 04 00 A4 56 AB 04 72 04 03 00 13 A8 EF 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 95 62 98 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 FA B0 0C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 97 00 6F 04 04 00 09 00 00 00 B1 04 03 00 10 B1 02 70 04 03 00 10 B1 02 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 2C 49 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [23:55:49]wFMCommunicate OK [23:55:49]wFMCommunicate request_size=4 [23:55:49]MH_SAM_APDU [23:55:49]CAPDU: 80 17 00 00 [23:55:49]Write to MH i2c: E2 08 00 CA 08 80 17 00 00 00 00 00 00 52 [23:55:49]Write i2c OK [23:55:49]MH_I2C_Read... [23:55:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:55:50]Read from MH i2c: E2 [23:55:50]MH_I2C_Read... [23:55:50]Read from MH i2c: E2 FD 00 [23:55:50]MH_I2C_Read... [23:55:50]Read from MH i2c: E2 FD 00 CA 08 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 18 06 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 1A [23:55:50]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 18 06 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:55:50]wFMCommunicate OK [23:55:50]wFMCommunicate request_size=4 [23:55:50]MH_SAM_APDU [23:55:50]CAPDU: 80 17 00 00 [23:55:50]Write to MH i2c: E2 08 00 CB 08 80 17 00 00 00 00 00 00 53 [23:55:50]Write i2c OK [23:55:50]MH_I2C_Read... [23:55:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:55:50]Read from MH i2c: E2 [23:55:50]MH_I2C_Read... [23:55:50]Read from MH i2c: E2 FD 00 [23:55:50]MH_I2C_Read... [23:55:50]Read from MH i2c: E2 FD 00 CB 08 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 7F [23:55:50]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:55:50]wFMCommunicate OK [23:55:50]wFMCommunicate request_size=4 [23:55:50]MH_SAM_APDU [23:55:50]CAPDU: 80 17 00 00 [23:55:50]Write to MH i2c: E2 08 00 CC 08 80 17 00 00 00 00 00 00 54 [23:55:50]Write i2c OK [23:55:50]MH_I2C_Read... [23:55:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:55:51]Read from MH i2c: E2 [23:55:51]MH_I2C_Read... [23:55:51]Read from MH i2c: E2 FD 00 [23:55:51]MH_I2C_Read... [23:55:51]Read from MH i2c: E2 FD 00 CC 08 00 00 00 EF 03 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 90 00 C9 [23:55:51]RAPDU: 00 00 EF 03 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 90 00 [23:55:51]wFMCommunicate OK [23:55:51]wFMCommunicate request_size=4 [23:55:51]MH_SAM_APDU [23:55:51]CAPDU: 80 17 00 00 [23:55:51]Write to MH i2c: E2 08 00 CD 08 80 17 00 00 00 00 00 00 55 [23:55:51]Write i2c OK [23:55:51]MH_I2C_Read... [23:55:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [23:55:51]Read from MH i2c: E2 [23:55:51]MH_I2C_Read... [23:55:51]Read from MH i2c: E2 D8 00 [23:55:51]MH_I2C_Read... [23:55:51]Read from MH i2c: E2 D8 00 CD 08 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 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 3C [23:55:51]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 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:55:51]wFMCommunicate OK [23:55:51]SAM_PROTO_GetFMData done [23:55:51]requested_item fm.sale_refund.total is exist - process it [23:55:51]requested_item fm.buy.total is exist - process it [23:55:51]requested_item shift.sale.total is exist - process it [23:55:51]SAM_PROTO_GetShiftData [23:55:51]wFMCommunicate request_size=4 [23:55:51]MH_SAM_APDU [23:55:51]CAPDU: 80 13 02 00 [23:55:51]Write to MH i2c: E2 08 00 CE 08 80 13 02 00 00 00 00 00 54 [23:55:51]Write i2c OK [23:55:51]MH_I2C_Read... [23:55:51]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:55:51]Read from MH i2c: E2 [23:55:51]MH_I2C_Read... [23:55:51]Read from MH i2c: E2 FD 00 [23:55:51]MH_I2C_Read... [23:55:51]Read from MH i2c: E2 FD 00 CE 08 00 AE 04 AA 04 AA 04 6E 04 04 00 51 00 00 00 69 04 9B 00 6F 04 04 00 51 00 00 00 B1 04 03 00 BC 0E 17 70 04 03 00 58 E7 10 72 04 03 00 64 27 06 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 D0 72 02 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 34 34 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 24 [23:55:51]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 51 00 00 00 69 04 9B 00 6F 04 04 00 51 00 00 00 B1 04 03 00 BC 0E 17 70 04 03 00 58 E7 10 72 04 03 00 64 27 06 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 D0 72 02 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 34 34 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [23:55:52]wFMCommunicate OK [23:55:52]wFMCommunicate request_size=4 [23:55:52]MH_SAM_APDU [23:55:52]CAPDU: 80 17 00 00 [23:55:52]Write to MH i2c: E2 08 00 CF 08 80 17 00 00 00 00 00 00 57 [23:55:52]Write i2c OK [23:55:52]MH_I2C_Read... [23:55:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:55:52]Read from MH i2c: E2 [23:55:52]MH_I2C_Read... [23:55:52]Read from MH i2c: E2 FD 00 [23:55:52]MH_I2C_Read... [23:55:52]Read from MH i2c: E2 FD 00 CF 08 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 79 [23:55:52]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [23:55:52]wFMCommunicate OK [23:55:52]wFMCommunicate request_size=4 [23:55:52]MH_SAM_APDU [23:55:52]CAPDU: 80 17 00 00 [23:55:52]Write to MH i2c: E2 08 00 D0 08 80 17 00 00 00 00 00 00 58 [23:55:52]Write i2c OK [23:55:52]MH_I2C_Read... [23:55:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:55:52]Read from MH i2c: E2 [23:55:52]MH_I2C_Read... [23:55:52]Read from MH i2c: E2 FD 00 [23:55:52]MH_I2C_Read... [23:55:52]Read from MH i2c: E2 FD 00 D0 08 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 0F [23:55:52]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [23:55:52]wFMCommunicate OK [23:55:52]wFMCommunicate request_size=4 [23:55:52]MH_SAM_APDU [23:55:52]CAPDU: 80 17 00 00 [23:55:52]Write to MH i2c: E2 08 00 D1 08 80 17 00 00 00 00 00 00 59 [23:55:52]OFD Sender: No OFD packet to send [23:55:52]Write i2c OK [23:55:52]MH_I2C_Read... [23:55:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:55:53]Read from MH i2c: E2 [23:55:53]MH_I2C_Read... [23:55:53]Read from MH i2c: E2 FD 00 [23:55:53]MH_I2C_Read... [23:55:53]Read from MH i2c: E2 FD 00 D1 08 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 CB [23:55:53]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [23:55:53]wFMCommunicate OK [23:55:53]wFMCommunicate request_size=4 [23:55:53]MH_SAM_APDU [23:55:53]CAPDU: 80 17 00 00 [23:55:53]Write to MH i2c: E2 08 00 D2 08 80 17 00 00 00 00 00 00 5A [23:55:53]Write i2c OK [23:55:53]MH_I2C_Read... [23:55:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [23:55:53]Read from MH i2c: E2 [23:55:53]MH_I2C_Read... [23:55:53]Read from MH i2c: E2 CB 00 [23:55:53]MH_I2C_Read... [23:55:53]Read from MH i2c: E2 CB 00 D2 08 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 43 [23:55:53]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:55:53]wFMCommunicate OK [23:55:53]SAM_PROTO_GetShiftData done [23:55:53]requested_item shift.sale.total_cash is exist - process it [23:55:53]requested_item shift.sale_refund.total is exist - process it [23:55:53]requested_item shift.sale_refund.total_cash is exist - process it [23:55:53]requested_item shift.buy.total is exist - process it [23:55:53]requested_item shift.buy.total_cash is exist - process it [23:55:53]produce_requested_data done [23:55:53]produce_requested_data return {"fm.sale.total":940438.31,"fm.sale_refund.total":1764.00,"fm.buy.total":0.00,"shift.sale.total":15111.00,"shift.sale.total_cash":11078.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [23:55:53]process_action_free get_value [23:55:53]json_value_free [23:55:53]json_value_free done [23:55:53]process_json_proto returns [23:55:53]Send response to host [23:55:53]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":940438.31,"fm.sale_refund.total":1764.00,"fm.buy.total":0.00,"shift.sale.total":15111.00,"shift.sale.total_cash":11078.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [23:55:53]free response buf [23:55:53]execute_script done [23:55:53]execute_script returns [23:55:53]free content buf [23:55:53]Sock 9.Close socket [23:55:53]Sock 9.Thread stoped [23:55:53]accept exits with 8 [23:55:53]New connection [23:55:53]New thread 3066772836 created [23:55:53]Thread 3066629476 joined [23:55:53]Waiting for new connection... [23:55:53] Sock 8.Parse request [23:55:53]Sock 8.Check first char [23:55:53]Sock 8.First char is OK [23:55:53]request: POST /json_proto HTTP/1.0 [23:55:53]Method: POST [23:55:53]URL: /json_proto [23:55:53]Method is POST - this is cgi request [23:55:53]url: /json_proto [23:55:53]query_string will be loaded in cgi processing [23:55:53]execute_cgi json_proto POST (null) [23:55:53]execute_cgi path=json_proto method=POST [23:55:53]POST find Content-Length [23:55:53]Host: 172.17.56.68:8080 [23:55:53]Content-Length: 257 [23:55:53]Content-Type: application/json [23:55:53] [23:55:53]POST finish read [23:55:53]Found Content-Length = 257 [23:55:53]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u0421\u0443\u043B\u0442\u0430\u043D\u043E\u0432 \u0411. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:55:53]execute_script... [23:55:53]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u0421\u0443\u043B\u0442\u0430\u043D\u043E\u0432 \u0411. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:55:53]POST & json_proto [23:55:53]process_json_proto [23:55:53]json parsed OK: [23:55:53]protocol is kg_v1.0 [23:55:53]action value=x_report [23:55:53]process_action x_report [23:55:53]cmd_x_report [23:55:53]MH_GetDate [23:55:53]Write to MH i2c: F0 00 00 D3 08 CA [23:55:53]Write i2c OK [23:55:53]MH_I2C_Read... [23:55:53]Read from MH i2c: F0 [23:55:53]MH_I2C_Read... [23:55:53]Read from MH i2c: F0 09 00 [23:55:53]MH_I2C_Read... [23:55:53]Read from MH i2c: F0 09 00 D3 08 00 0C FB 60 66 3A 8F 60 66 2F [23:55:53]GetLastDocTimeStamp 1717631356 [23:55:53]current date 1717631756 [23:55:53]FM_GetShiftState [23:55:53]SAM_PROTO_GetShiftState [23:55:53]wFMCommunicate request_size=4 [23:55:53]MH_SAM_APDU [23:55:53]CAPDU: 80 13 01 00 [23:55:53]Write to MH i2c: E2 08 00 D4 08 80 13 01 00 00 00 00 00 59 [23:55:53]Write i2c OK [23:55:53]MH_I2C_Read... [23:55:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:55:53]Read from MH i2c: E2 [23:55:53]MH_I2C_Read... [23:55:53]Read from MH i2c: E2 0E 00 [23:55:53]MH_I2C_Read... [23:55:53]Read from MH i2c: E2 0E 00 D4 08 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 FA [23:55:53]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [23:55:53]wFMCommunicate OK [23:55:53]SAM_PROTO_GetShiftState done [23:55:53]FM_GetShiftState done [23:55:53]KKMCreateXReportDocument [23:55:53]Load OK [23:55:53]Malloc new data [23:55:53]MH_GetDate [23:55:53]Write to MH i2c: F0 00 00 D5 08 CC [23:55:53]Write i2c OK [23:55:53]MH_I2C_Read... [23:55:53]Read from MH i2c: F0 [23:55:53]MH_I2C_Read... [23:55:53]Read from MH i2c: F0 09 00 [23:55:53]MH_I2C_Read... [23:55:53]Read from MH i2c: F0 09 00 D5 08 00 0C FB 60 66 3A 8F 60 66 31 [23:55:53]Malloc new data [23:55:53]Malloc new data [23:55:53]wFMCommunicate request_size=4 [23:55:53]MH_SAM_APDU [23:55:53]CAPDU: 80 11 00 00 [23:55:53]Write to MH i2c: E2 08 00 D6 08 80 11 00 00 00 00 00 00 58 [23:55:53]Write i2c OK [23:55:53]MH_I2C_Read... [23:55:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:55:53]Read from MH i2c: E2 [23:55:53]MH_I2C_Read... [23:55:53]Read from MH i2c: E2 17 00 [23:55:53]MH_I2C_Read... [23:55:53]Read from MH i2c: E2 17 00 D6 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 AB [23:55:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [23:55:54]wFMCommunicate OK [23:55:54]SAM_PROTO_GetFieldsCounters [23:55:54]wFMCommunicate request_size=4 [23:55:54]MH_SAM_APDU [23:55:54]CAPDU: 80 13 00 00 [23:55:54]Write to MH i2c: E2 08 00 D7 08 80 13 00 00 00 00 00 00 5B [23:55:54]Write i2c OK [23:55:54]MH_I2C_Read... [23:55:54]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:55:54]Read from MH i2c: E2 [23:55:54]MH_I2C_Read... [23:55:54]Read from MH i2c: E2 62 00 [23:55:54]MH_I2C_Read... [23:55:54]Read from MH i2c: E2 62 00 D7 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 7F 10 00 00 0E 04 04 00 54 00 00 00 12 04 04 00 51 00 00 00 5E 04 04 00 51 00 00 00 57 04 04 00 52 00 00 00 19 04 04 00 00 00 00 00 90 00 56 [23:55:54]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 7F 10 00 00 0E 04 04 00 54 00 00 00 12 04 04 00 51 00 00 00 5E 04 04 00 51 00 00 00 57 04 04 00 52 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:55:54]wFMCommunicate OK [23:55:54]SAM_PROTO_GetFieldsCounters done [23:55:54]Malloc new data [23:55:54]Malloc new data [23:55:54]Malloc new data [23:55:54]KKMCreateXReportDocument OK [23:55:54]KKMSetXReportData OK [23:55:54]KKMPrepareXReportFMData [23:55:54]SAM_PROTO_GetShiftData [23:55:54]wFMCommunicate request_size=4 [23:55:54]MH_SAM_APDU [23:55:54]CAPDU: 80 13 02 00 [23:55:54]Write to MH i2c: E2 08 00 D8 08 80 13 02 00 00 00 00 00 5E [23:55:54]Write i2c OK [23:55:54]MH_I2C_Read... [23:55:54]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:55:54]Read from MH i2c: E2 [23:55:54]MH_I2C_Read... [23:55:54]Read from MH i2c: E2 FD 00 [23:55:54]MH_I2C_Read... [23:55:54]Read from MH i2c: E2 FD 00 D8 08 00 AE 04 AA 04 AA 04 6E 04 04 00 51 00 00 00 69 04 9B 00 6F 04 04 00 51 00 00 00 B1 04 03 00 BC 0E 17 70 04 03 00 58 E7 10 72 04 03 00 64 27 06 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 D0 72 02 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 34 34 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 2E [23:55:54]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 51 00 00 00 69 04 9B 00 6F 04 04 00 51 00 00 00 B1 04 03 00 BC 0E 17 70 04 03 00 58 E7 10 72 04 03 00 64 27 06 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 D0 72 02 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 34 34 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [23:55:54]wFMCommunicate OK [23:55:54]wFMCommunicate request_size=4 [23:55:54]MH_SAM_APDU [23:55:54]CAPDU: 80 17 00 00 [23:55:54]Write to MH i2c: E2 08 00 D9 08 80 17 00 00 00 00 00 00 61 [23:55:54]Write i2c OK [23:55:54]MH_I2C_Read... [23:55:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:55:55]Read from MH i2c: E2 [23:55:55]MH_I2C_Read... [23:55:55]Read from MH i2c: E2 FD 00 [23:55:55]MH_I2C_Read... [23:55:55]Read from MH i2c: E2 FD 00 D9 08 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 83 [23:55:55]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [23:55:55]wFMCommunicate OK [23:55:55]wFMCommunicate request_size=4 [23:55:55]MH_SAM_APDU [23:55:55]CAPDU: 80 17 00 00 [23:55:55]Write to MH i2c: E2 08 00 DA 08 80 17 00 00 00 00 00 00 62 [23:55:55]Write i2c OK [23:55:55]MH_I2C_Read... [23:55:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:55:55]Read from MH i2c: E2 [23:55:55]MH_I2C_Read... [23:55:55]Read from MH i2c: E2 FD 00 [23:55:55]MH_I2C_Read... [23:55:55]Read from MH i2c: E2 FD 00 DA 08 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 19 [23:55:55]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [23:55:55]wFMCommunicate OK [23:55:55]wFMCommunicate request_size=4 [23:55:55]MH_SAM_APDU [23:55:55]CAPDU: 80 17 00 00 [23:55:55]Write to MH i2c: E2 08 00 DB 08 80 17 00 00 00 00 00 00 63 [23:55:55]Write i2c OK [23:55:55]MH_I2C_Read... [23:55:56]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:55:56]Read from MH i2c: E2 [23:55:56]MH_I2C_Read... [23:55:56]Read from MH i2c: E2 FD 00 [23:55:56]MH_I2C_Read... [23:55:56]Read from MH i2c: E2 FD 00 DB 08 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 D5 [23:55:56]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [23:55:56]wFMCommunicate OK [23:55:56]wFMCommunicate request_size=4 [23:55:56]MH_SAM_APDU [23:55:56]CAPDU: 80 17 00 00 [23:55:56]Write to MH i2c: E2 08 00 DC 08 80 17 00 00 00 00 00 00 64 [23:55:56]Write i2c OK [23:55:56]MH_I2C_Read... [23:55:56]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [23:55:56]Read from MH i2c: E2 [23:55:56]MH_I2C_Read... [23:55:56]Read from MH i2c: E2 CB 00 [23:55:56]MH_I2C_Read... [23:55:56]Read from MH i2c: E2 CB 00 DC 08 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 4D [23:55:56]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:55:56]wFMCommunicate OK [23:55:56]SAM_PROTO_GetShiftData done [23:55:56]1194 (1194) - счетчики итогов смены [23:55:56] 1134 (4) - 81 - количество чеков со всеми признаками расчетов [23:55:56] 1129 (155) - счетчики операций «приход» [23:55:56] 1135 (4) - 81 - количество чеков по признаку расчетов [23:55:56] 1201 (3) - 15111.00 - общая итоговая сумма в чеках [23:55:56] 1136 (3) - 11078.00 - итоговая сумма в чеках наличными [23:55:56] 1138 (3) - 4033.00 - итоговая сумма в чеках безналичными [23:55:56] 1024 (122) - суммы налогов [23:55:56] 1006 (9) - суммы НДС [23:55:56] 1010 (1) - 0% - код ставки НДС [23:55:56] 1011 (0) - 0.00 - сумма НДС по ставке [23:55:56] 1006 (12) - суммы НДС [23:55:56] 1010 (1) - 12% - код ставки НДС [23:55:56] 1011 (3) - 1604.64 - сумма НДС по ставке [23:55:56] 1007 (9) - суммы НСП [23:55:56] 1014 (1) - 0% - код ставки НСП [23:55:56] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:56] 1007 (11) - суммы НСП [23:55:56] 1014 (1) - 1% - код ставки НСП [23:55:56] 1015 (2) - 133.64 - сумма НСП по ставке [23:55:56] 1007 (9) - суммы НСП [23:55:56] 1014 (1) - 2% - код ставки НСП [23:55:56] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:56] 1007 (9) - суммы НСП [23:55:56] 1014 (1) - 3% - код ставки НСП [23:55:56] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:56] 1007 (9) - суммы НСП [23:55:56] 1014 (1) - 5% - код ставки НСП [23:55:56] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:56] 1007 (9) - суммы НСП [23:55:56] 1014 (1) - 0,50% - код ставки НСП [23:55:56] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:56] 1007 (9) - суммы НСП [23:55:56] 1014 (1) - 1,50% - код ставки НСП [23:55:56] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:56] 1130 (141) - счетчики операций «возврат прихода» [23:55:56] 1135 (4) - 0 - количество чеков по признаку расчетов [23:55:56] 1201 (0) - 0.00 - общая итоговая сумма в чеках [23:55:56] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [23:55:56] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:55:56] 1024 (117) - суммы налогов [23:55:56] 1006 (9) - суммы НДС [23:55:56] 1010 (1) - 0% - код ставки НДС [23:55:56] 1011 (0) - 0.00 - сумма НДС по ставке [23:55:56] 1006 (9) - суммы НДС [23:55:56] 1010 (1) - 12% - код ставки НДС [23:55:56] 1011 (0) - 0.00 - сумма НДС по ставке [23:55:56] 1007 (9) - суммы НСП [23:55:56] 1014 (1) - 0% - код ставки НСП [23:55:56] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:56] 1007 (9) - суммы НСП [23:55:56] 1014 (1) - 1% - код ставки НСП [23:55:56] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:56] 1007 (9) - суммы НСП [23:55:56] 1014 (1) - 2% - код ставки НСП [23:55:56] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:56] 1007 (9) - суммы НСП [23:55:56] 1014 (1) - 3% - код ставки НСП [23:55:56] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:56] 1007 (9) - суммы НСП [23:55:56] 1014 (1) - 5% - код ставки НСП [23:55:56] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:56] 1007 (9) - суммы НСП [23:55:56] 1014 (1) - 0,50% - код ставки НСП [23:55:56] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:56] 1007 (9) - суммы НСП [23:55:56] 1014 (1) - 1,50% - код ставки НСП [23:55:56] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:56] 1131 (141) - счетчики операций «расход» [23:55:56] 1135 (4) - 0 - количество чеков по признаку расчетов [23:55:56] 1201 (0) - 0.00 - общая итоговая сумма в чеках [23:55:56] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [23:55:56] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:55:56] 1024 (117) - суммы налогов [23:55:56] 1006 (9) - суммы НДС [23:55:56] 1010 (1) - 0% - код ставки НДС [23:55:56] 1011 (0) - 0.00 - сумма НДС по ставке [23:55:56] 1006 (9) - суммы НДС [23:55:56] 1010 (1) - 12% - код ставки НДС [23:55:56] 1011 (0) - 0.00 - сумма НДС по ставке [23:55:56] 1007 (9) - суммы НСП [23:55:56] 1014 (1) - 0% - код ставки НСП [23:55:56] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:56] 1007 (9) - суммы НСП [23:55:56] 1014 (1) - 1% - код ставки НСП [23:55:56] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:56] 1007 (9) - суммы НСП [23:55:56] 1014 (1) - 2% - код ставки НСП [23:55:56] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:56] 1007 (9) - суммы НСП [23:55:56] 1014 (1) - 3% - код ставки НСП [23:55:56] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:56] 1007 (9) - суммы НСП [23:55:56] 1014 (1) - 5% - код ставки НСП [23:55:56] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:56] 1007 (9) - суммы НСП [23:55:56] 1014 (1) - 0,50% - код ставки НСП [23:55:56] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:56] 1007 (9) - суммы НСП [23:55:56] 1014 (1) - 1,50% - код ставки НСП [23:55:56] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:56] 1132 (141) - счетчики операций «возврат расхода» [23:55:56] 1135 (4) - 0 - количество чеков по признаку расчетов [23:55:56] 1201 (0) - 0.00 - общая итоговая сумма в чеках [23:55:56] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [23:55:56] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:55:56] 1024 (117) - суммы налогов [23:55:56] 1006 (9) - суммы НДС [23:55:56] 1010 (1) - 0% - код ставки НДС [23:55:56] 1011 (0) - 0.00 - сумма НДС по ставке [23:55:56] 1006 (9) - суммы НДС [23:55:56] 1010 (1) - 12% - код ставки НДС [23:55:56] 1011 (0) - 0.00 - сумма НДС по ставке [23:55:56] 1007 (9) - суммы НСП [23:55:56] 1014 (1) - 0% - код ставки НСП [23:55:56] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:56] 1007 (9) - суммы НСП [23:55:56] 1014 (1) - 1% - код ставки НСП [23:55:56] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:56] 1007 (9) - суммы НСП [23:55:56] 1014 (1) - 2% - код ставки НСП [23:55:56] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:56] 1007 (9) - суммы НСП [23:55:56] 1014 (1) - 3% - код ставки НСП [23:55:56] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:56] 1007 (9) - суммы НСП [23:55:56] 1014 (1) - 5% - код ставки НСП [23:55:56] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:56] 1007 (9) - суммы НСП [23:55:56] 1014 (1) - 0,50% - код ставки НСП [23:55:57] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:57] 1007 (9) - суммы НСП [23:55:57] 1014 (1) - 1,50% - код ставки НСП [23:55:57] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:57] 1133 (588) - - счетчики коррекции - не используются [23:55:57]SetTLVBufToDocument [23:55:57]Processing tag 1194 (04AA) [23:55:57]Load OK [23:55:57]SetTLVBufToDocument [23:55:57]Processing tag 1134 (046E) [23:55:57]Malloc new data [23:55:57]Processing tag 1129 (0469) [23:55:57]Load OK [23:55:57]SetTLVBufToDocument [23:55:57]Processing tag 1135 (046F) [23:55:57]Malloc new data [23:55:57]Processing tag 1201 (04B1) [23:55:57]Malloc new data [23:55:57]Processing tag 1136 (0470) [23:55:57]Malloc new data [23:55:57]Processing tag 1138 (0472) [23:55:57]Malloc new data [23:55:57]Processing tag 1024 (0400) [23:55:57]Load OK [23:55:57]SetTLVBufToDocument [23:55:57]Processing tag 1006 (03EE) [23:55:57]Load OK [23:55:57]SetTLVBufToDocument [23:55:57]Processing tag 1010 (03F2) [23:55:57]Malloc new data [23:55:57]Processing tag 1011 (03F3) [23:55:57]Malloc new data [23:55:57]SetTLVBufToDocument err=0 [23:55:57]Processing tag 1006 (03EE) [23:55:57]Load OK [23:55:57]SetTLVBufToDocument [23:55:57]Processing tag 1010 (03F2) [23:55:57]Malloc new data [23:55:57]Processing tag 1011 (03F3) [23:55:57]Malloc new data [23:55:57]SetTLVBufToDocument err=0 [23:55:57]Processing tag 1007 (03EF) [23:55:57]Load OK [23:55:57]SetTLVBufToDocument [23:55:57]Processing tag 1014 (03F6) [23:55:57]Malloc new data [23:55:57]Processing tag 1015 (03F7) [23:55:57]Malloc new data [23:55:57]SetTLVBufToDocument err=0 [23:55:57]Processing tag 1007 (03EF) [23:55:57]Load OK [23:55:57]SetTLVBufToDocument [23:55:57]Processing tag 1014 (03F6) [23:55:57]Malloc new data [23:55:57]Processing tag 1015 (03F7) [23:55:57]Malloc new data [23:55:57]SetTLVBufToDocument err=0 [23:55:57]Processing tag 1007 (03EF) [23:55:57]Load OK [23:55:57]SetTLVBufToDocument [23:55:57]Processing tag 1014 (03F6) [23:55:57]Malloc new data [23:55:57]Processing tag 1015 (03F7) [23:55:57]Malloc new data [23:55:57]SetTLVBufToDocument err=0 [23:55:57]Processing tag 1007 (03EF) [23:55:57]Load OK [23:55:57]SetTLVBufToDocument [23:55:57]Processing tag 1014 (03F6) [23:55:57]Malloc new data [23:55:57]Processing tag 1015 (03F7) [23:55:57]Malloc new data [23:55:57]SetTLVBufToDocument err=0 [23:55:57]Processing tag 1007 (03EF) [23:55:57]Load OK [23:55:57]SetTLVBufToDocument [23:55:57]Processing tag 1014 (03F6) [23:55:57]Malloc new data [23:55:57]Processing tag 1015 (03F7) [23:55:57]Malloc new data [23:55:57]SetTLVBufToDocument err=0 [23:55:57]Processing tag 1007 (03EF) [23:55:57]Load OK [23:55:57]SetTLVBufToDocument [23:55:57]Processing tag 1014 (03F6) [23:55:57]Malloc new data [23:55:57]Processing tag 1015 (03F7) [23:55:57]Malloc new data [23:55:57]SetTLVBufToDocument err=0 [23:55:57]Processing tag 1007 (03EF) [23:55:57]Load OK [23:55:57]SetTLVBufToDocument [23:55:57]Processing tag 1014 (03F6) [23:55:57]Malloc new data [23:55:57]Processing tag 1015 (03F7) [23:55:57]Malloc new data [23:55:57]SetTLVBufToDocument err=0 [23:55:57]SetTLVBufToDocument err=0 [23:55:57]SetTLVBufToDocument err=0 [23:55:57]Processing tag 1130 (046A) [23:55:57]Load OK [23:55:57]SetTLVBufToDocument [23:55:57]Processing tag 1135 (046F) [23:55:57]Malloc new data [23:55:57]Processing tag 1201 (04B1) [23:55:57]Malloc new data [23:55:57]Processing tag 1136 (0470) [23:55:57]Malloc new data [23:55:57]Processing tag 1138 (0472) [23:55:57]Malloc new data [23:55:57]Processing tag 1024 (0400) [23:55:57]Load OK [23:55:57]SetTLVBufToDocument [23:55:57]Processing tag 1006 (03EE) [23:55:57]Load OK [23:55:57]SetTLVBufToDocument [23:55:57]Processing tag 1010 (03F2) [23:55:57]Malloc new data [23:55:57]Processing tag 1011 (03F3) [23:55:57]Malloc new data [23:55:57]SetTLVBufToDocument err=0 [23:55:57]Processing tag 1006 (03EE) [23:55:57]Load OK [23:55:57]SetTLVBufToDocument [23:55:57]Processing tag 1010 (03F2) [23:55:57]Malloc new data [23:55:57]Processing tag 1011 (03F3) [23:55:57]Malloc new data [23:55:57]SetTLVBufToDocument err=0 [23:55:57]Processing tag 1007 (03EF) [23:55:57]Load OK [23:55:57]SetTLVBufToDocument [23:55:57]Processing tag 1014 (03F6) [23:55:57]Malloc new data [23:55:57]Processing tag 1015 (03F7) [23:55:57]Malloc new data [23:55:57]SetTLVBufToDocument err=0 [23:55:57]Processing tag 1007 (03EF) [23:55:57]Load OK [23:55:57]SetTLVBufToDocument [23:55:57]Processing tag 1014 (03F6) [23:55:57]Malloc new data [23:55:57]Processing tag 1015 (03F7) [23:55:57]Malloc new data [23:55:57]SetTLVBufToDocument err=0 [23:55:57]Processing tag 1007 (03EF) [23:55:57]Load OK [23:55:57]SetTLVBufToDocument [23:55:57]Processing tag 1014 (03F6) [23:55:57]Malloc new data [23:55:57]Processing tag 1015 (03F7) [23:55:57]Malloc new data [23:55:57]SetTLVBufToDocument err=0 [23:55:57]Processing tag 1007 (03EF) [23:55:57]Load OK [23:55:57]SetTLVBufToDocument [23:55:57]Processing tag 1014 (03F6) [23:55:57]Malloc new data [23:55:57]Processing tag 1015 (03F7) [23:55:57]Malloc new data [23:55:57]SetTLVBufToDocument err=0 [23:55:57]Processing tag 1007 (03EF) [23:55:57]Load OK [23:55:57]SetTLVBufToDocument [23:55:57]Processing tag 1014 (03F6) [23:55:57]Malloc new data [23:55:57]Processing tag 1015 (03F7) [23:55:57]Malloc new data [23:55:57]SetTLVBufToDocument err=0 [23:55:57]Processing tag 1007 (03EF) [23:55:57]Load OK [23:55:57]SetTLVBufToDocument [23:55:57]Processing tag 1014 (03F6) [23:55:57]Malloc new data [23:55:57]Processing tag 1015 (03F7) [23:55:57]Malloc new data [23:55:57]SetTLVBufToDocument err=0 [23:55:57]Processing tag 1007 (03EF) [23:55:57]Load OK [23:55:57]SetTLVBufToDocument [23:55:57]Processing tag 1014 (03F6) [23:55:57]Malloc new data [23:55:57]Processing tag 1015 (03F7) [23:55:57]Malloc new data [23:55:57]SetTLVBufToDocument err=0 [23:55:57]SetTLVBufToDocument err=0 [23:55:57]SetTLVBufToDocument err=0 [23:55:57]Processing tag 1131 (046B) [23:55:57]Load OK [23:55:57]SetTLVBufToDocument [23:55:57]Processing tag 1135 (046F) [23:55:57]Malloc new data [23:55:57]Processing tag 1201 (04B1) [23:55:57]Malloc new data [23:55:57]Processing tag 1136 (0470) [23:55:57]Malloc new data [23:55:57]Processing tag 1138 (0472) [23:55:57]Malloc new data [23:55:57]Processing tag 1024 (0400) [23:55:57]Load OK [23:55:57]SetTLVBufToDocument [23:55:57]Processing tag 1006 (03EE) [23:55:57]Load OK [23:55:57]SetTLVBufToDocument [23:55:57]Processing tag 1010 (03F2) [23:55:57]Malloc new data [23:55:57]Processing tag 1011 (03F3) [23:55:57]Malloc new data [23:55:57]SetTLVBufToDocument err=0 [23:55:57]Processing tag 1006 (03EE) [23:55:57]Load OK [23:55:57]SetTLVBufToDocument [23:55:57]Processing tag 1010 (03F2) [23:55:57]Malloc new data [23:55:57]Processing tag 1011 (03F3) [23:55:57]Malloc new data [23:55:57]SetTLVBufToDocument err=0 [23:55:57]Processing tag 1007 (03EF) [23:55:57]Load OK [23:55:57]SetTLVBufToDocument [23:55:57]Processing tag 1014 (03F6) [23:55:57]Malloc new data [23:55:57]Processing tag 1015 (03F7) [23:55:57]Malloc new data [23:55:57]SetTLVBufToDocument err=0 [23:55:57]Processing tag 1007 (03EF) [23:55:57]Load OK [23:55:57]SetTLVBufToDocument [23:55:57]Processing tag 1014 (03F6) [23:55:57]Malloc new data [23:55:57]Processing tag 1015 (03F7) [23:55:57]Malloc new data [23:55:57]SetTLVBufToDocument err=0 [23:55:57]Processing tag 1007 (03EF) [23:55:57]Load OK [23:55:57]SetTLVBufToDocument [23:55:57]Processing tag 1014 (03F6) [23:55:57]Malloc new data [23:55:57]Processing tag 1015 (03F7) [23:55:57]Malloc new data [23:55:57]SetTLVBufToDocument err=0 [23:55:57]Processing tag 1007 (03EF) [23:55:57]Load OK [23:55:57]SetTLVBufToDocument [23:55:57]Processing tag 1014 (03F6) [23:55:57]Malloc new data [23:55:57]Processing tag 1015 (03F7) [23:55:57]Malloc new data [23:55:57]SetTLVBufToDocument err=0 [23:55:57]Processing tag 1007 (03EF) [23:55:57]Load OK [23:55:57]SetTLVBufToDocument [23:55:57]Processing tag 1014 (03F6) [23:55:57]Malloc new data [23:55:57]Processing tag 1015 (03F7) [23:55:57]Malloc new data [23:55:57]SetTLVBufToDocument err=0 [23:55:57]Processing tag 1007 (03EF) [23:55:57]Load OK [23:55:57]SetTLVBufToDocument [23:55:57]Processing tag 1014 (03F6) [23:55:57]Malloc new data [23:55:57]Processing tag 1015 (03F7) [23:55:57]Malloc new data [23:55:57]SetTLVBufToDocument err=0 [23:55:57]Processing tag 1007 (03EF) [23:55:57]Load OK [23:55:57]SetTLVBufToDocument [23:55:57]Processing tag 1014 (03F6) [23:55:57]Malloc new data [23:55:57]Processing tag 1015 (03F7) [23:55:57]Malloc new data [23:55:57]SetTLVBufToDocument err=0 [23:55:57]SetTLVBufToDocument err=0 [23:55:57]SetTLVBufToDocument err=0 [23:55:57]Processing tag 1132 (046C) [23:55:57]Load OK [23:55:57]SetTLVBufToDocument [23:55:57]Processing tag 1135 (046F) [23:55:57]Malloc new data [23:55:57]Processing tag 1201 (04B1) [23:55:57]Malloc new data [23:55:57]Processing tag 1136 (0470) [23:55:57]Malloc new data [23:55:57]Processing tag 1138 (0472) [23:55:57]Malloc new data [23:55:57]Processing tag 1024 (0400) [23:55:57]Load OK [23:55:57]SetTLVBufToDocument [23:55:57]Processing tag 1006 (03EE) [23:55:57]Load OK [23:55:57]SetTLVBufToDocument [23:55:57]Processing tag 1010 (03F2) [23:55:57]Malloc new data [23:55:57]Processing tag 1011 (03F3) [23:55:57]Malloc new data [23:55:57]SetTLVBufToDocument err=0 [23:55:57]Processing tag 1006 (03EE) [23:55:57]Load OK [23:55:57]SetTLVBufToDocument [23:55:57]Processing tag 1010 (03F2) [23:55:57]Malloc new data [23:55:57]Processing tag 1011 (03F3) [23:55:57]Malloc new data [23:55:57]SetTLVBufToDocument err=0 [23:55:57]Processing tag 1007 (03EF) [23:55:57]Load OK [23:55:57]SetTLVBufToDocument [23:55:57]Processing tag 1014 (03F6) [23:55:57]Malloc new data [23:55:57]Processing tag 1015 (03F7) [23:55:57]Malloc new data [23:55:57]SetTLVBufToDocument err=0 [23:55:57]Processing tag 1007 (03EF) [23:55:57]Load OK [23:55:57]SetTLVBufToDocument [23:55:57]Processing tag 1014 (03F6) [23:55:57]Malloc new data [23:55:57]Processing tag 1015 (03F7) [23:55:57]Malloc new data [23:55:57]SetTLVBufToDocument err=0 [23:55:57]Processing tag 1007 (03EF) [23:55:57]Load OK [23:55:57]SetTLVBufToDocument [23:55:57]Processing tag 1014 (03F6) [23:55:57]Malloc new data [23:55:57]Processing tag 1015 (03F7) [23:55:57]Malloc new data [23:55:57]SetTLVBufToDocument err=0 [23:55:57]Processing tag 1007 (03EF) [23:55:57]Load OK [23:55:57]SetTLVBufToDocument [23:55:57]Processing tag 1014 (03F6) [23:55:57]Malloc new data [23:55:57]Processing tag 1015 (03F7) [23:55:57]Malloc new data [23:55:57]SetTLVBufToDocument err=0 [23:55:57]Processing tag 1007 (03EF) [23:55:57]Load OK [23:55:57]SetTLVBufToDocument [23:55:57]Processing tag 1014 (03F6) [23:55:57]Malloc new data [23:55:57]Processing tag 1015 (03F7) [23:55:57]Malloc new data [23:55:57]SetTLVBufToDocument err=0 [23:55:57]Processing tag 1007 (03EF) [23:55:57]Load OK [23:55:57]SetTLVBufToDocument [23:55:57]Processing tag 1014 (03F6) [23:55:57]Malloc new data [23:55:57]Processing tag 1015 (03F7) [23:55:57]Malloc new data [23:55:57]SetTLVBufToDocument err=0 [23:55:57]Processing tag 1007 (03EF) [23:55:57]Load OK [23:55:57]SetTLVBufToDocument [23:55:57]Processing tag 1014 (03F6) [23:55:57]Malloc new data [23:55:57]Processing tag 1015 (03F7) [23:55:57]Malloc new data [23:55:57]SetTLVBufToDocument err=0 [23:55:57]SetTLVBufToDocument err=0 [23:55:57]SetTLVBufToDocument err=0 [23:55:57]Processing tag 1133 (046D) [23:55:57]Malloc new data [23:55:57]SetTLVBufToDocument err=0 [23:55:57]SetTLVBufToDocument err=0 [23:55:57]Malloc new data [23:55:57]SAM_PROTO_GetFMData [23:55:57]wFMCommunicate request_size=4 [23:55:57]MH_SAM_APDU [23:55:57]CAPDU: 80 13 03 00 [23:55:57]Write to MH i2c: E2 08 00 DD 08 80 13 03 00 00 00 00 00 64 [23:55:57]Write i2c OK [23:55:57]MH_I2C_Read... [23:55:58]OFD Sender: No OFD packet to send [23:55:58]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:55:58]Read from MH i2c: E2 [23:55:58]MH_I2C_Read... [23:55:58]Read from MH i2c: E2 FD 00 [23:55:58]MH_I2C_Read... [23:55:58]Read from MH i2c: E2 FD 00 DD 08 00 BB 04 85 04 B7 04 6E 04 04 00 D7 0F 00 00 69 04 9E 00 6F 04 04 00 CE 0F 00 00 B1 04 04 00 B7 FE 9A 05 70 04 04 00 A4 56 AB 04 72 04 03 00 13 A8 EF 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 95 62 98 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 FA B0 0C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 97 00 6F 04 04 00 09 00 00 00 B1 04 03 00 10 B1 02 70 04 03 00 10 B1 02 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 2C 49 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 FF [23:55:58]RAPDU: BB 04 85 04 B7 04 6E 04 04 00 D7 0F 00 00 69 04 9E 00 6F 04 04 00 CE 0F 00 00 B1 04 04 00 B7 FE 9A 05 70 04 04 00 A4 56 AB 04 72 04 03 00 13 A8 EF 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 95 62 98 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 FA B0 0C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 97 00 6F 04 04 00 09 00 00 00 B1 04 03 00 10 B1 02 70 04 03 00 10 B1 02 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 2C 49 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [23:55:58]wFMCommunicate OK [23:55:58]wFMCommunicate request_size=4 [23:55:58]MH_SAM_APDU [23:55:58]CAPDU: 80 17 00 00 [23:55:58]Write to MH i2c: E2 08 00 DE 08 80 17 00 00 00 00 00 00 66 [23:55:58]Write i2c OK [23:55:58]MH_I2C_Read... [23:55:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:55:58]Read from MH i2c: E2 [23:55:58]MH_I2C_Read... [23:55:58]Read from MH i2c: E2 FD 00 [23:55:58]MH_I2C_Read... [23:55:58]Read from MH i2c: E2 FD 00 DE 08 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 18 06 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 2E [23:55:58]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 18 06 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:55:59]wFMCommunicate OK [23:55:59]wFMCommunicate request_size=4 [23:55:59]MH_SAM_APDU [23:55:59]CAPDU: 80 17 00 00 [23:55:59]Write to MH i2c: E2 08 00 DF 08 80 17 00 00 00 00 00 00 67 [23:55:59]Write i2c OK [23:55:59]MH_I2C_Read... [23:55:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:55:59]Read from MH i2c: E2 [23:55:59]MH_I2C_Read... [23:55:59]Read from MH i2c: E2 FD 00 [23:55:59]MH_I2C_Read... [23:55:59]Read from MH i2c: E2 FD 00 DF 08 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 93 [23:55:59]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:55:59]wFMCommunicate OK [23:55:59]wFMCommunicate request_size=4 [23:55:59]MH_SAM_APDU [23:55:59]CAPDU: 80 17 00 00 [23:55:59]Write to MH i2c: E2 08 00 E0 08 80 17 00 00 00 00 00 00 68 [23:55:59]Write i2c OK [23:55:59]MH_I2C_Read... [23:55:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:55:59]Read from MH i2c: E2 [23:55:59]MH_I2C_Read... [23:55:59]Read from MH i2c: E2 FD 00 [23:55:59]MH_I2C_Read... [23:55:59]Read from MH i2c: E2 FD 00 E0 08 00 00 00 EF 03 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 90 00 DD [23:56:00]RAPDU: 00 00 EF 03 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 90 00 [23:56:00]wFMCommunicate OK [23:56:00]wFMCommunicate request_size=4 [23:56:00]MH_SAM_APDU [23:56:00]CAPDU: 80 17 00 00 [23:56:00]Write to MH i2c: E2 08 00 E1 08 80 17 00 00 00 00 00 00 69 [23:56:00]Write i2c OK [23:56:00]MH_I2C_Read... [23:56:00]Read from MH i2c: E2 [23:56:00]MH_I2C_Read... [23:56:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [23:56:00]Read from MH i2c: E2 D8 00 [23:56:00]MH_I2C_Read... [23:56:00]Read from MH i2c: E2 D8 00 E1 08 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 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 50 [23:56:00]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 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:56:00]wFMCommunicate OK [23:56:00]SAM_PROTO_GetFMData done [23:56:00]FM_GetFMData:85 04 B7 04 6E 04 04 00 D7 0F 00 00 69 04 9E 00 6F 04 04 00 CE 0F 00 00 B1 04 04 00 B7 FE 9A 05 70 04 04 00 A4 56 AB 04 72 04 03 00 13 A8 EF 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 95 62 98 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 FA B0 0C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 97 00 6F 04 04 00 09 00 00 00 B1 04 03 00 10 B1 02 70 04 03 00 10 B1 02 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 2C 49 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 18 06 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [23:56:01]oper:6F 04 04 00 CE 0F 00 00 B1 04 04 00 B7 FE 9A 05 70 04 04 00 A4 56 AB 04 72 04 03 00 13 A8 EF 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 95 62 98 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 FA B0 0C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [23:56:01]total:B7 FE 9A 05 [23:56:01]Malloc new data [23:56:01]oper:6F 04 04 00 09 00 00 00 B1 04 03 00 10 B1 02 70 04 03 00 10 B1 02 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 2C 49 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 18 06 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [23:56:01]total:10 B1 02 [23:56:01]Malloc new data [23:56:01]oper:6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [23:56:01]total: [23:56:01]Malloc new data [23:56:01]oper:6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [23:56:01]total: [23:56:01]Malloc new data [23:56:01]KKMPrepareXReportFMData err=0 [23:56:01]Х отчет ИНН: 02508201610067 Кассир: Султанов Б. 05.06.2024 23:55 Смена: 10 РНМ: 0000000000145775 ЗНМ: 0300000233 СНО: Общий режим Всего чеков: 81 ИТОГИ ПРИХОД Чеков: 81 Общий итог: 15111.00 Итого наличными: 11078.00 Итого безнал.: 4033.00 НДС 0% : 0.00 НДС 12% : 1604.64 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 133.64 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 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 Нал. в кассе: 11078.00 НС Приход: 940438.31 НС Возвр.Прихода: 1764.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФМ: 0000000000959360 [23:56:01]StoreToDocumentArchive [23:56:01]MH_GetDate [23:56:01]Write to MH i2c: F0 00 00 E2 08 D9 [23:56:01]Write i2c OK [23:56:01]MH_I2C_Read... [23:56:01]Read from MH i2c: F0 [23:56:01]MH_I2C_Read... [23:56:01]Read from MH i2c: F0 09 00 [23:56:01]MH_I2C_Read... [23:56:01]Read from MH i2c: F0 09 00 E2 08 00 14 FB 60 66 3A 8F 60 66 46 [23:56:01]shift 10 fd 1717631764 [23:56:01]Create dir for shift 0010 [23:56:01]save to /storage/0010/doc_1717631764 [23:56:01]save last doc name /storage/0010/doc_1717631764 to /storage/kkm_last_doc_name [23:56:01]save OK [23:56:01]Clear old archive folders... [23:56:01]NVStorageSaveData kkm_last_timestamp [23:56:01]File name is /storage/kkm_last_timestamp [23:56:01]Write 4 bytes [23:56:01]NVStorageSaveData done [23:56:01]ExternCall_PrintAddStr [23:56:01]wPrintStart [23:56:01]Write to MH i2c: 01 00 00 E3 08 EB [23:56:01]Write i2c OK [23:56:01]MH_I2C_Read... [23:56:01]Read from MH i2c: 01 [23:56:01]MH_I2C_Read... [23:56:01]Read from MH i2c: 01 07 00 [23:56:01]MH_I2C_Read... [23:56:01]Read from MH i2c: 01 07 00 E3 08 00 00 00 00 00 FF 0F 00 [23:56:01]RasterBufferAndPrint [23:56:01]line Х отчет [23:56:01]line ИНН: 02508201610067 [23:56:01]line Кассир: Султанов Б. [23:56:01]line 05.06.2024 23:55 [23:56:01]line Смена: 10 [23:56:01]line РНМ: 0000000000145775 [23:56:01]line ЗНМ: 0300000233 [23:56:01]line СНО: Общий режим [23:56:01]line Всего чеков: 81 [23:56:01]line ИТОГИ ПРИХОД [23:56:01]line Чеков: 81 [23:56:01]line Общий итог: 15111.00 [23:56:01]line Итого наличными: 11078.00 [23:56:01]line Итого безнал.: 4033.00 [23:56:01]line НДС 0% : 0.00 [23:56:01]line НДС 12% : 1604.64 [23:56:01]line НСП 0% : 0.00 [23:56:01]line НСП 1,50% : 0.00 [23:56:01]line НСП 0,50% : 0.00 [23:56:01]line НСП 5% : 0.00 [23:56:01]line НСП 3% : 0.00 [23:56:01]line НСП 2% : 0.00 [23:56:01]line НСП 1% : 133.64 [23:56:01]line ИТОГИ ВОЗВРАТ ПРИХОДА [23:56:01]line Чеков: 0 [23:56:01]line Общий итог: 0.00 [23:56:01]line Итого наличными: 0.00 [23:56:01]line Итого безнал.: 0.00 [23:56:01]line НДС 0% : 0.00 [23:56:01]line НДС 12% : 0.00 [23:56:01]line НСП 0% : 0.00 [23:56:01]line НСП 1,50% : 0.00 [23:56:01]line НСП 0,50% : 0.00 [23:56:01]line НСП 5% : 0.00 [23:56:01]line НСП 3% : 0.00 [23:56:01]line НСП 2% : 0.00 [23:56:01]line НСП 1% : 0.00 [23:56:01]line ИТОГИ РАСХОД [23:56:01]line Чеков: 0 [23:56:01]line Общий итог: 0.00 [23:56:01]line Итого наличными: 0.00 [23:56:01]line Итого безнал.: 0.00 [23:56:01]line НДС 0% : 0.00 [23:56:01]line НДС 12% : 0.00 [23:56:01]line НСП 0% : 0.00 [23:56:01]line НСП 1,50% : 0.00 [23:56:01]line НСП 0,50% : 0.00 [23:56:01]line НСП 5% : 0.00 [23:56:01]line НСП 3% : 0.00 [23:56:01]line НСП 2% : 0.00 [23:56:01]line НСП 1% : 0.00 [23:56:01]line ИТОГИ ВОЗВРАТ РАСХОДА [23:56:01]line Чеков: 0 [23:56:01]line Общий итог: 0.00 [23:56:01]line Итого наличными: 0.00 [23:56:01]line Итого безнал.: 0.00 [23:56:01]line НДС 0% : 0.00 [23:56:01]line НДС 12% : 0.00 [23:56:01]line НСП 0% : 0.00 [23:56:01]line НСП 1,50% : 0.00 [23:56:01]line НСП 0,50% : 0.00 [23:56:01]line НСП 5% : 0.00 [23:56:01]line НСП 3% : 0.00 [23:56:01]line НСП 2% : 0.00 [23:56:01]line НСП 1% : 0.00 [23:56:01]line Сумма внесений: 0.00 [23:56:01]line Сумма выплат: 0.00 [23:56:01]line Нал. в кассе: 11078.00 [23:56:01]line НС Приход: 940438.31 [23:56:01]line НС Возвр.Прихода: 1764.00 [23:56:01]line НС Расход: 0.00 [23:56:01]line НС Возвр.Расхода: 0.00 [23:56:01]line ФМ: 0000000000959360 [23:56:01]written 0, free lines is 4095 [23:56:02]Write to MH i2c: 01 00 00 2E 09 37 [23:56:02]Write i2c OK [23:56:02]MH_I2C_Read... [23:56:02]Read from MH i2c: 01 [23:56:02]MH_I2C_Read... [23:56:02]Read from MH i2c: 01 07 00 [23:56:02]MH_I2C_Read... [23:56:02]Read from MH i2c: 01 07 00 2E 09 00 00 00 00 00 25 0A 6D [23:56:02]RasterBufferAndPrint [23:56:02]line [23:56:02]line [23:56:02]line [23:56:02]line [23:56:02]line [23:56:02]written 0, free lines is 2620 [23:56:02]MH_Cut [23:56:02]Write to MH i2c: D1 01 00 35 09 01 10 [23:56:02]Write i2c OK [23:56:02]MH_I2C_Read... [23:56:02]Read from MH i2c: D1 [23:56:02]MH_I2C_Read... [23:56:02]Read from MH i2c: D1 01 00 [23:56:02]MH_I2C_Read... [23:56:02]Read from MH i2c: D1 01 00 35 09 00 0F [23:56:02]Write to MH i2c: 01 00 00 36 09 3F [23:56:02]Write i2c OK [23:56:02]MH_I2C_Read... [23:56:03]OFD Sender: No OFD packet to send [23:56:03]*** Cut start [23:56:03]*** Partial cut [23:56:03]*** CUTSNS_PIN = 1 [23:56:03]*** CUTSNS_PIN = 0 [23:56:04]*** Brake cut motor [23:56:04]Read from MH i2c: 01 [23:56:04]MH_I2C_Read... [23:56:04]*** Stop cut motor [23:56:04]*** Cut end [23:56:04]Read from MH i2c: 01 07 00 [23:56:04]MH_I2C_Read... [23:56:04]Read from MH i2c: 01 07 00 36 09 00 00 00 00 00 FF 0F 54 [23:56:04]process_action x_report done [23:56:04]requested_data is exist [23:56:04]produce_requested_data [23:56:04]requested_item fd.num is exist - process it [23:56:04]SAM_PROTO_GetFieldsCounters [23:56:04]wFMCommunicate request_size=4 [23:56:04]MH_SAM_APDU [23:56:04]CAPDU: 80 13 00 00 [23:56:04]Write to MH i2c: E2 08 00 37 09 80 13 00 00 00 00 00 00 BC [23:56:04]Write i2c OK [23:56:04]MH_I2C_Read... [23:56:04]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:56:04]Read from MH i2c: E2 [23:56:04]MH_I2C_Read... [23:56:04]Read from MH i2c: E2 62 00 [23:56:04]MH_I2C_Read... [23:56:04]Read from MH i2c: E2 62 00 37 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 7F 10 00 00 0E 04 04 00 54 00 00 00 12 04 04 00 51 00 00 00 5E 04 04 00 51 00 00 00 57 04 04 00 52 00 00 00 19 04 04 00 00 00 00 00 90 00 B7 [23:56:04]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 7F 10 00 00 0E 04 04 00 54 00 00 00 12 04 04 00 51 00 00 00 5E 04 04 00 51 00 00 00 57 04 04 00 52 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:56:04]wFMCommunicate OK [23:56:04]SAM_PROTO_GetFieldsCounters done [23:56:04]requested_item shift.num is exist - process it [23:56:04]requested_item shift.opened is exist - process it [23:56:04]req_shift_opened [23:56:04]FM_GetShiftState [23:56:04]SAM_PROTO_GetShiftState [23:56:04]wFMCommunicate request_size=4 [23:56:04]MH_SAM_APDU [23:56:04]CAPDU: 80 13 01 00 [23:56:04]Write to MH i2c: E2 08 00 38 09 80 13 01 00 00 00 00 00 BE [23:56:04]Write i2c OK [23:56:04]MH_I2C_Read... [23:56:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:56:04]Read from MH i2c: E2 [23:56:04]MH_I2C_Read... [23:56:04]Read from MH i2c: E2 0E 00 [23:56:04]MH_I2C_Read... [23:56:04]Read from MH i2c: E2 0E 00 38 09 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 5F [23:56:04]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [23:56:04]wFMCommunicate OK [23:56:04]SAM_PROTO_GetShiftState done [23:56:04]FM_GetShiftState done [23:56:04]req_shift_opened done [23:56:04]requested_item shift.open_date is exist - process it [23:56:04]req_shift_open_date [23:56:04]req_shift_open_date done [23:56:04]produce_requested_data done [23:56:04]produce_requested_data return {"fd.num":4223,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765} [23:56:04]process_action_free x_report [23:56:04]json_value_free [23:56:04]json_value_free done [23:56:04]process_json_proto returns [23:56:04]Send response to host [23:56:04]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":4223,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765}}} [23:56:04]free response buf [23:56:04]execute_script done [23:56:04]execute_script returns [23:56:04]free content buf [23:56:04]Sock 8.Close socket [23:56:04]Sock 8.Thread stoped [23:56:08]OFD Sender: No OFD packet to send [23:56:13]OFD Sender: No OFD packet to send [23:56:18]OFD Sender: No OFD packet to send [23:56:23]OFD Sender: No OFD packet to send [23:56:28]OFD Sender: No OFD packet to send [23:56:33]OFD Sender: No OFD packet to send [23:56:36]accept exits with 9 [23:56:36]New connection [23:56:36]New thread 3066629476 created [23:56:36]Thread 3066772836 joined [23:56:36]Waiting for new connection... [23:56:36] Sock 9.Parse request [23:56:36]Sock 9.Check first char [23:56:36]Sock 9.First char is OK [23:56:36]request: POST /json_proto HTTP/1.0 [23:56:36]Method: POST [23:56:36]URL: /json_proto [23:56:36]Method is POST - this is cgi request [23:56:36]url: /json_proto [23:56:36]query_string will be loaded in cgi processing [23:56:36]execute_cgi json_proto POST (null) [23:56:36]execute_cgi path=json_proto method=POST [23:56:36]POST find Content-Length [23:56:36]Host: 172.17.56.68:8080 [23:56:36]Content-Length: 215 [23:56:36]Content-Type: application/json [23:56:36] [23:56:36]POST finish read [23:56:36]Found Content-Length = 215 [23:56:36]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:56:36]execute_script... [23:56:36]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:56:36]POST & json_proto [23:56:36]process_json_proto [23:56:36]json parsed OK: [23:56:36]protocol is kg_v1.0 [23:56:36]action value=get_value [23:56:36]process_action get_value [23:56:36]cmd_get_value [23:56:36]process_action get_value done [23:56:36]requested_data is exist [23:56:36]produce_requested_data [23:56:36]requested_item kkm.sn is exist - process it [23:56:36]requested_item kkm.ver is exist - process it [23:56:36]requested_item fm.sn is exist - process it [23:56:36]wFMCommunicate request_size=4 [23:56:36]MH_SAM_APDU [23:56:36]CAPDU: 80 11 00 00 [23:56:36]Write to MH i2c: E2 08 00 39 09 80 11 00 00 00 00 00 00 BC [23:56:36]Write i2c OK [23:56:36]MH_I2C_Read... [23:56:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:56:36]Read from MH i2c: E2 [23:56:36]MH_I2C_Read... [23:56:36]Read from MH i2c: E2 17 00 [23:56:36]MH_I2C_Read... [23:56:36]Read from MH i2c: E2 17 00 39 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 0F [23:56:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [23:56:36]wFMCommunicate OK [23:56:36]requested_item fd.num is exist - process it [23:56:36]SAM_PROTO_GetFieldsCounters [23:56:36]wFMCommunicate request_size=4 [23:56:36]MH_SAM_APDU [23:56:36]CAPDU: 80 13 00 00 [23:56:36]Write to MH i2c: E2 08 00 3A 09 80 13 00 00 00 00 00 00 BF [23:56:36]Write i2c OK [23:56:36]MH_I2C_Read... [23:56:36]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:56:36]Read from MH i2c: E2 [23:56:36]MH_I2C_Read... [23:56:36]Read from MH i2c: E2 62 00 [23:56:36]MH_I2C_Read... [23:56:36]Read from MH i2c: E2 62 00 3A 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 7F 10 00 00 0E 04 04 00 54 00 00 00 12 04 04 00 51 00 00 00 5E 04 04 00 51 00 00 00 57 04 04 00 52 00 00 00 19 04 04 00 00 00 00 00 90 00 BA [23:56:36]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 7F 10 00 00 0E 04 04 00 54 00 00 00 12 04 04 00 51 00 00 00 5E 04 04 00 51 00 00 00 57 04 04 00 52 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:56:36]wFMCommunicate OK [23:56:36]SAM_PROTO_GetFieldsCounters done [23:56:36]requested_item shift.num is exist - process it [23:56:36]requested_item shift.opened is exist - process it [23:56:36]req_shift_opened [23:56:36]FM_GetShiftState [23:56:36]SAM_PROTO_GetShiftState [23:56:36]wFMCommunicate request_size=4 [23:56:36]MH_SAM_APDU [23:56:36]CAPDU: 80 13 01 00 [23:56:36]Write to MH i2c: E2 08 00 3B 09 80 13 01 00 00 00 00 00 C1 [23:56:36]Write i2c OK [23:56:36]MH_I2C_Read... [23:56:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:56:36]Read from MH i2c: E2 [23:56:36]MH_I2C_Read... [23:56:36]Read from MH i2c: E2 0E 00 [23:56:36]MH_I2C_Read... [23:56:36]Read from MH i2c: E2 0E 00 3B 09 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 62 [23:56:36]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [23:56:36]wFMCommunicate OK [23:56:36]SAM_PROTO_GetShiftState done [23:56:36]FM_GetShiftState done [23:56:36]req_shift_opened done [23:56:36]requested_item shift.open_date is exist - process it [23:56:36]req_shift_open_date [23:56:36]req_shift_open_date done [23:56:36]produce_requested_data done [23:56:36]produce_requested_data return {"kkm.sn":"0300000233","kkm.ver":"v1.0","fm.sn":"0000000000959360","fd.num":4223,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765} [23:56:36]process_action_free get_value [23:56:36]json_value_free [23:56:36]json_value_free done [23:56:36]process_json_proto returns [23:56:36]Send response to host [23:56:36]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000233","kkm.ver":"v1.0","fm.sn":"0000000000959360","fd.num":4223,"shift.num":84,"shift.opened":1,"shift.open_date":1717545765}}} [23:56:36]free response buf [23:56:36]execute_script done [23:56:36]execute_script returns [23:56:36]free content buf [23:56:36]Sock 9.Close socket [23:56:36]Sock 9.Thread stoped [23:56:36]accept exits with 8 [23:56:36]New connection [23:56:36]New thread 3066772836 created [23:56:36]Thread 3066629476 joined [23:56:36]Waiting for new connection... [23:56:36] Sock 8.Parse request [23:56:36]Sock 8.Check first char [23:56:36]Sock 8.First char is OK [23:56:36]request: POST /json_proto HTTP/1.0 [23:56:36]Method: POST [23:56:36]URL: /json_proto [23:56:36]Method is POST - this is cgi request [23:56:36]url: /json_proto [23:56:36]query_string will be loaded in cgi processing [23:56:36]execute_cgi json_proto POST (null) [23:56:36]execute_cgi path=json_proto method=POST [23:56:36]POST find Content-Length [23:56:36]Host: 172.17.56.68:8080 [23:56:36]Content-Length: 331 [23:56:36]Content-Type: application/json [23:56:36] [23:56:36]POST finish read [23:56:36]Found Content-Length = 331 [23:56:36]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:56:36]execute_script... [23:56:36]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:56:36]POST & json_proto [23:56:36]process_json_proto [23:56:36]json parsed OK: [23:56:36]protocol is kg_v1.0 [23:56:36]action value=get_value [23:56:36]process_action get_value [23:56:36]cmd_get_value [23:56:36]process_action get_value done [23:56:36]requested_data is exist [23:56:36]produce_requested_data [23:56:36]requested_item fm.sale.total is exist - process it [23:56:36]SAM_PROTO_GetFMData [23:56:36]wFMCommunicate request_size=4 [23:56:36]MH_SAM_APDU [23:56:36]CAPDU: 80 13 03 00 [23:56:36]Write to MH i2c: E2 08 00 3C 09 80 13 03 00 00 00 00 00 C4 [23:56:36]Write i2c OK [23:56:36]MH_I2C_Read... [23:56:36]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:56:36]Read from MH i2c: E2 [23:56:36]MH_I2C_Read... [23:56:36]Read from MH i2c: E2 FD 00 [23:56:36]MH_I2C_Read... [23:56:36]Read from MH i2c: E2 FD 00 3C 09 00 BB 04 85 04 B7 04 6E 04 04 00 D7 0F 00 00 69 04 9E 00 6F 04 04 00 CE 0F 00 00 B1 04 04 00 B7 FE 9A 05 70 04 04 00 A4 56 AB 04 72 04 03 00 13 A8 EF 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 95 62 98 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 FA B0 0C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 97 00 6F 04 04 00 09 00 00 00 B1 04 03 00 10 B1 02 70 04 03 00 10 B1 02 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 2C 49 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 5F [23:56:37]RAPDU: BB 04 85 04 B7 04 6E 04 04 00 D7 0F 00 00 69 04 9E 00 6F 04 04 00 CE 0F 00 00 B1 04 04 00 B7 FE 9A 05 70 04 04 00 A4 56 AB 04 72 04 03 00 13 A8 EF 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 95 62 98 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 FA B0 0C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 97 00 6F 04 04 00 09 00 00 00 B1 04 03 00 10 B1 02 70 04 03 00 10 B1 02 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 2C 49 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [23:56:37]wFMCommunicate OK [23:56:37]wFMCommunicate request_size=4 [23:56:37]MH_SAM_APDU [23:56:37]CAPDU: 80 17 00 00 [23:56:37]Write to MH i2c: E2 08 00 3D 09 80 17 00 00 00 00 00 00 C6 [23:56:37]Write i2c OK [23:56:37]MH_I2C_Read... [23:56:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:56:37]Read from MH i2c: E2 [23:56:37]MH_I2C_Read... [23:56:37]Read from MH i2c: E2 FD 00 [23:56:37]MH_I2C_Read... [23:56:37]Read from MH i2c: E2 FD 00 3D 09 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 18 06 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 8E [23:56:37]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 18 06 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:56:37]wFMCommunicate OK [23:56:37]wFMCommunicate request_size=4 [23:56:37]MH_SAM_APDU [23:56:37]CAPDU: 80 17 00 00 [23:56:37]Write to MH i2c: E2 08 00 3E 09 80 17 00 00 00 00 00 00 C7 [23:56:37]Write i2c OK [23:56:37]MH_I2C_Read... [23:56:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:56:37]Read from MH i2c: E2 [23:56:37]MH_I2C_Read... [23:56:37]Read from MH i2c: E2 FD 00 [23:56:37]MH_I2C_Read... [23:56:37]Read from MH i2c: E2 FD 00 3E 09 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 F3 [23:56:37]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:56:37]wFMCommunicate OK [23:56:37]wFMCommunicate request_size=4 [23:56:37]MH_SAM_APDU [23:56:37]CAPDU: 80 17 00 00 [23:56:37]Write to MH i2c: E2 08 00 3F 09 80 17 00 00 00 00 00 00 C8 [23:56:37]Write i2c OK [23:56:37]MH_I2C_Read... [23:56:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:56:37]Read from MH i2c: E2 [23:56:37]MH_I2C_Read... [23:56:37]Read from MH i2c: E2 FD 00 [23:56:38]MH_I2C_Read... [23:56:38]Read from MH i2c: E2 FD 00 3F 09 00 00 00 EF 03 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 90 00 3D [23:56:38]RAPDU: 00 00 EF 03 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 90 00 [23:56:38]wFMCommunicate OK [23:56:38]wFMCommunicate request_size=4 [23:56:38]MH_SAM_APDU [23:56:38]CAPDU: 80 17 00 00 [23:56:38]Write to MH i2c: E2 08 00 40 09 80 17 00 00 00 00 00 00 C9 [23:56:38]OFD Sender: No OFD packet to send [23:56:38]Write i2c OK [23:56:38]MH_I2C_Read... [23:56:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [23:56:38]Read from MH i2c: E2 [23:56:38]MH_I2C_Read... [23:56:38]Read from MH i2c: E2 D8 00 [23:56:38]MH_I2C_Read... [23:56:38]Read from MH i2c: E2 D8 00 40 09 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 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 B0 [23:56:38]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:56:38]wFMCommunicate OK [23:56:38]SAM_PROTO_GetFMData done [23:56:38]requested_item fm.sale_refund.total is exist - process it [23:56:38]requested_item fm.buy.total is exist - process it [23:56:38]requested_item shift.sale.total is exist - process it [23:56:38]SAM_PROTO_GetShiftData [23:56:38]wFMCommunicate request_size=4 [23:56:38]MH_SAM_APDU [23:56:38]CAPDU: 80 13 02 00 [23:56:38]Write to MH i2c: E2 08 00 41 09 80 13 02 00 00 00 00 00 C8 [23:56:38]Write i2c OK [23:56:38]MH_I2C_Read... [23:56:38]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:56:38]Read from MH i2c: E2 [23:56:38]MH_I2C_Read... [23:56:38]Read from MH i2c: E2 FD 00 [23:56:38]MH_I2C_Read... [23:56:38]Read from MH i2c: E2 FD 00 41 09 00 AE 04 AA 04 AA 04 6E 04 04 00 51 00 00 00 69 04 9B 00 6F 04 04 00 51 00 00 00 B1 04 03 00 BC 0E 17 70 04 03 00 58 E7 10 72 04 03 00 64 27 06 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 D0 72 02 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 34 34 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 98 [23:56:38]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 51 00 00 00 69 04 9B 00 6F 04 04 00 51 00 00 00 B1 04 03 00 BC 0E 17 70 04 03 00 58 E7 10 72 04 03 00 64 27 06 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 D0 72 02 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 34 34 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [23:56:38]wFMCommunicate OK [23:56:38]wFMCommunicate request_size=4 [23:56:38]MH_SAM_APDU [23:56:38]CAPDU: 80 17 00 00 [23:56:38]Write to MH i2c: E2 08 00 42 09 80 17 00 00 00 00 00 00 CB [23:56:38]Write i2c OK [23:56:38]MH_I2C_Read... [23:56:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:56:39]Read from MH i2c: E2 [23:56:39]MH_I2C_Read... [23:56:39]Read from MH i2c: E2 FD 00 [23:56:39]MH_I2C_Read... [23:56:39]Read from MH i2c: E2 FD 00 42 09 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 ED [23:56:39]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [23:56:39]wFMCommunicate OK [23:56:39]wFMCommunicate request_size=4 [23:56:39]MH_SAM_APDU [23:56:39]CAPDU: 80 17 00 00 [23:56:39]Write to MH i2c: E2 08 00 43 09 80 17 00 00 00 00 00 00 CC [23:56:39]Write i2c OK [23:56:39]MH_I2C_Read... [23:56:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:56:39]Read from MH i2c: E2 [23:56:39]MH_I2C_Read... [23:56:39]Read from MH i2c: E2 FD 00 [23:56:39]MH_I2C_Read... [23:56:39]Read from MH i2c: E2 FD 00 43 09 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 83 [23:56:39]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [23:56:39]wFMCommunicate OK [23:56:39]wFMCommunicate request_size=4 [23:56:39]MH_SAM_APDU [23:56:39]CAPDU: 80 17 00 00 [23:56:39]Write to MH i2c: E2 08 00 44 09 80 17 00 00 00 00 00 00 CD [23:56:39]Write i2c OK [23:56:39]MH_I2C_Read... [23:56:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:56:39]Read from MH i2c: E2 [23:56:39]MH_I2C_Read... [23:56:39]Read from MH i2c: E2 FD 00 [23:56:39]MH_I2C_Read... [23:56:39]Read from MH i2c: E2 FD 00 44 09 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 3F [23:56:39]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [23:56:40]wFMCommunicate OK [23:56:40]wFMCommunicate request_size=4 [23:56:40]MH_SAM_APDU [23:56:40]CAPDU: 80 17 00 00 [23:56:40]Write to MH i2c: E2 08 00 45 09 80 17 00 00 00 00 00 00 CE [23:56:40]Write i2c OK [23:56:40]MH_I2C_Read... [23:56:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [23:56:40]Read from MH i2c: E2 [23:56:40]MH_I2C_Read... [23:56:40]Read from MH i2c: E2 CB 00 [23:56:40]MH_I2C_Read... [23:56:40]Read from MH i2c: E2 CB 00 45 09 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 B7 [23:56:40]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:56:40]wFMCommunicate OK [23:56:40]SAM_PROTO_GetShiftData done [23:56:40]requested_item shift.sale.total_cash is exist - process it [23:56:40]requested_item shift.sale_refund.total is exist - process it [23:56:40]requested_item shift.sale_refund.total_cash is exist - process it [23:56:40]requested_item shift.buy.total is exist - process it [23:56:40]requested_item shift.buy.total_cash is exist - process it [23:56:40]produce_requested_data done [23:56:40]produce_requested_data return {"fm.sale.total":940438.31,"fm.sale_refund.total":1764.00,"fm.buy.total":0.00,"shift.sale.total":15111.00,"shift.sale.total_cash":11078.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [23:56:40]process_action_free get_value [23:56:40]json_value_free [23:56:40]json_value_free done [23:56:40]process_json_proto returns [23:56:40]Send response to host [23:56:40]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":940438.31,"fm.sale_refund.total":1764.00,"fm.buy.total":0.00,"shift.sale.total":15111.00,"shift.sale.total_cash":11078.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [23:56:40]free response buf [23:56:40]execute_script done [23:56:40]execute_script returns [23:56:40]free content buf [23:56:40]Sock 8.Close socket [23:56:40]Sock 8.Thread stoped [23:56:40]accept exits with 9 [23:56:40]New connection [23:56:40]New thread 3066629476 created [23:56:40]Thread 3066772836 joined [23:56:40]Waiting for new connection... [23:56:40] Sock 9.Parse request [23:56:40]Sock 9.Check first char [23:56:40]Sock 9.First char is OK [23:56:40]request: POST /json_proto HTTP/1.0 [23:56:40]Method: POST [23:56:40]URL: /json_proto [23:56:40]Method is POST - this is cgi request [23:56:40]url: /json_proto [23:56:40]query_string will be loaded in cgi processing [23:56:40]execute_cgi json_proto POST (null) [23:56:40]execute_cgi path=json_proto method=POST [23:56:40]POST find Content-Length [23:56:40]Host: 172.17.56.68:8080 [23:56:40]Content-Length: 331 [23:56:40]Content-Type: application/json [23:56:40] [23:56:40]POST finish read [23:56:40]Found Content-Length = 331 [23:56:40]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:56:40]execute_script... [23:56:40]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:56:40]POST & json_proto [23:56:40]process_json_proto [23:56:40]json parsed OK: [23:56:40]protocol is kg_v1.0 [23:56:40]action value=get_value [23:56:40]process_action get_value [23:56:40]cmd_get_value [23:56:40]process_action get_value done [23:56:40]requested_data is exist [23:56:40]produce_requested_data [23:56:40]requested_item fm.sale.total is exist - process it [23:56:40]SAM_PROTO_GetFMData [23:56:40]wFMCommunicate request_size=4 [23:56:40]MH_SAM_APDU [23:56:40]CAPDU: 80 13 03 00 [23:56:40]Write to MH i2c: E2 08 00 46 09 80 13 03 00 00 00 00 00 CE [23:56:40]Write i2c OK [23:56:40]MH_I2C_Read... [23:56:40]Read from MH i2c: E2 [23:56:40]MH_I2C_Read... [23:56:40]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:56:40]Read from MH i2c: E2 FD 00 [23:56:40]MH_I2C_Read... [23:56:40]Read from MH i2c: E2 FD 00 46 09 00 BB 04 85 04 B7 04 6E 04 04 00 D7 0F 00 00 69 04 9E 00 6F 04 04 00 CE 0F 00 00 B1 04 04 00 B7 FE 9A 05 70 04 04 00 A4 56 AB 04 72 04 03 00 13 A8 EF 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 95 62 98 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 FA B0 0C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 97 00 6F 04 04 00 09 00 00 00 B1 04 03 00 10 B1 02 70 04 03 00 10 B1 02 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 2C 49 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 69 [23:56:41]RAPDU: BB 04 85 04 B7 04 6E 04 04 00 D7 0F 00 00 69 04 9E 00 6F 04 04 00 CE 0F 00 00 B1 04 04 00 B7 FE 9A 05 70 04 04 00 A4 56 AB 04 72 04 03 00 13 A8 EF 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 95 62 98 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 FA B0 0C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 97 00 6F 04 04 00 09 00 00 00 B1 04 03 00 10 B1 02 70 04 03 00 10 B1 02 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 2C 49 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [23:56:41]wFMCommunicate OK [23:56:41]wFMCommunicate request_size=4 [23:56:41]MH_SAM_APDU [23:56:41]CAPDU: 80 17 00 00 [23:56:41]Write to MH i2c: E2 08 00 47 09 80 17 00 00 00 00 00 00 D0 [23:56:41]Write i2c OK [23:56:41]MH_I2C_Read... [23:56:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:56:41]Read from MH i2c: E2 [23:56:41]MH_I2C_Read... [23:56:41]Read from MH i2c: E2 FD 00 [23:56:41]MH_I2C_Read... [23:56:41]Read from MH i2c: E2 FD 00 47 09 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 18 06 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 98 [23:56:41]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 18 06 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:56:41]wFMCommunicate OK [23:56:41]wFMCommunicate request_size=4 [23:56:41]MH_SAM_APDU [23:56:41]CAPDU: 80 17 00 00 [23:56:41]Write to MH i2c: E2 08 00 48 09 80 17 00 00 00 00 00 00 D1 [23:56:41]Write i2c OK [23:56:41]MH_I2C_Read... [23:56:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:56:41]Read from MH i2c: E2 [23:56:41]MH_I2C_Read... [23:56:41]Read from MH i2c: E2 FD 00 [23:56:41]MH_I2C_Read... [23:56:41]Read from MH i2c: E2 FD 00 48 09 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 FD [23:56:41]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:56:41]wFMCommunicate OK [23:56:41]wFMCommunicate request_size=4 [23:56:41]MH_SAM_APDU [23:56:41]CAPDU: 80 17 00 00 [23:56:41]Write to MH i2c: E2 08 00 49 09 80 17 00 00 00 00 00 00 D2 [23:56:41]Write i2c OK [23:56:41]MH_I2C_Read... [23:56:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:56:42]Read from MH i2c: E2 [23:56:42]MH_I2C_Read... [23:56:42]Read from MH i2c: E2 FD 00 [23:56:42]MH_I2C_Read... [23:56:42]Read from MH i2c: E2 FD 00 49 09 00 00 00 EF 03 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 90 00 47 [23:56:42]RAPDU: 00 00 EF 03 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 90 00 [23:56:42]wFMCommunicate OK [23:56:42]wFMCommunicate request_size=4 [23:56:42]MH_SAM_APDU [23:56:42]CAPDU: 80 17 00 00 [23:56:42]Write to MH i2c: E2 08 00 4A 09 80 17 00 00 00 00 00 00 D3 [23:56:42]Write i2c OK [23:56:42]MH_I2C_Read... [23:56:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [23:56:42]Read from MH i2c: E2 [23:56:42]MH_I2C_Read... [23:56:42]Read from MH i2c: E2 D8 00 [23:56:42]MH_I2C_Read... [23:56:42]Read from MH i2c: E2 D8 00 4A 09 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 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 BA [23:56:42]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 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:56:42]wFMCommunicate OK [23:56:42]SAM_PROTO_GetFMData done [23:56:42]requested_item fm.sale_refund.total is exist - process it [23:56:42]requested_item fm.buy.total is exist - process it [23:56:42]requested_item shift.sale.total is exist - process it [23:56:42]SAM_PROTO_GetShiftData [23:56:42]wFMCommunicate request_size=4 [23:56:42]MH_SAM_APDU [23:56:42]CAPDU: 80 13 02 00 [23:56:42]Write to MH i2c: E2 08 00 4B 09 80 13 02 00 00 00 00 00 D2 [23:56:42]Write i2c OK [23:56:42]MH_I2C_Read... [23:56:43]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:56:43]Read from MH i2c: E2 [23:56:43]MH_I2C_Read... [23:56:43]Read from MH i2c: E2 FD 00 [23:56:43]MH_I2C_Read... [23:56:43]Read from MH i2c: E2 FD 00 4B 09 00 AE 04 AA 04 AA 04 6E 04 04 00 51 00 00 00 69 04 9B 00 6F 04 04 00 51 00 00 00 B1 04 03 00 BC 0E 17 70 04 03 00 58 E7 10 72 04 03 00 64 27 06 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 D0 72 02 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 34 34 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 A2 [23:56:43]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 51 00 00 00 69 04 9B 00 6F 04 04 00 51 00 00 00 B1 04 03 00 BC 0E 17 70 04 03 00 58 E7 10 72 04 03 00 64 27 06 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 D0 72 02 EF 03 09 00 F6 03 01 00 00 OFD Sender: No OFD packet to send [23:56:43]F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 34 34 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [23:56:43]wFMCommunicate OK [23:56:43]wFMCommunicate request_size=4 [23:56:43]MH_SAM_APDU [23:56:43]CAPDU: 80 17 00 00 [23:56:43]Write to MH i2c: E2 08 00 4C 09 80 17 00 00 00 00 00 00 D5 [23:56:43]Write i2c OK [23:56:43]MH_I2C_Read... [23:56:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:56:43]Read from MH i2c: E2 [23:56:43]MH_I2C_Read... [23:56:43]Read from MH i2c: E2 FD 00 [23:56:43]MH_I2C_Read... [23:56:43]Read from MH i2c: E2 FD 00 4C 09 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 F7 [23:56:43]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [23:56:44]wFMCommunicate OK [23:56:44]wFMCommunicate request_size=4 [23:56:44]MH_SAM_APDU [23:56:44]CAPDU: 80 17 00 00 [23:56:44]Write to MH i2c: E2 08 00 4D 09 80 17 00 00 00 00 00 00 D6 [23:56:44]Write i2c OK [23:56:44]MH_I2C_Read... [23:56:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:56:44]Read from MH i2c: E2 [23:56:44]MH_I2C_Read... [23:56:44]Read from MH i2c: E2 FD 00 [23:56:44]MH_I2C_Read... [23:56:44]Read from MH i2c: E2 FD 00 4D 09 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 8D [23:56:44]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [23:56:44]wFMCommunicate OK [23:56:44]wFMCommunicate request_size=4 [23:56:44]MH_SAM_APDU [23:56:44]CAPDU: 80 17 00 00 [23:56:44]Write to MH i2c: E2 08 00 4E 09 80 17 00 00 00 00 00 00 D7 [23:56:44]Write i2c OK [23:56:44]MH_I2C_Read... [23:56:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:56:44]Read from MH i2c: E2 [23:56:44]MH_I2C_Read... [23:56:44]Read from MH i2c: E2 FD 00 [23:56:44]MH_I2C_Read... [23:56:44]Read from MH i2c: E2 FD 00 4E 09 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 49 [23:56:44]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [23:56:45]wFMCommunicate OK [23:56:45]wFMCommunicate request_size=4 [23:56:45]MH_SAM_APDU [23:56:45]CAPDU: 80 17 00 00 [23:56:45]Write to MH i2c: E2 08 00 4F 09 80 17 00 00 00 00 00 00 D8 [23:56:45]Write i2c OK [23:56:45]MH_I2C_Read... [23:56:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [23:56:45]Read from MH i2c: E2 [23:56:45]MH_I2C_Read... [23:56:45]Read from MH i2c: E2 CB 00 [23:56:45]MH_I2C_Read... [23:56:45]Read from MH i2c: E2 CB 00 4F 09 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 C1 [23:56:45]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:56:45]wFMCommunicate OK [23:56:45]SAM_PROTO_GetShiftData done [23:56:45]requested_item shift.sale.total_cash is exist - process it [23:56:45]requested_item shift.sale_refund.total is exist - process it [23:56:45]requested_item shift.sale_refund.total_cash is exist - process it [23:56:45]requested_item shift.buy.total is exist - process it [23:56:45]requested_item shift.buy.total_cash is exist - process it [23:56:45]produce_requested_data done [23:56:45]produce_requested_data return {"fm.sale.total":940438.31,"fm.sale_refund.total":1764.00,"fm.buy.total":0.00,"shift.sale.total":15111.00,"shift.sale.total_cash":11078.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [23:56:45]process_action_free get_value [23:56:45]json_value_free [23:56:45]json_value_free done [23:56:45]process_json_proto returns [23:56:45]Send response to host [23:56:45]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":940438.31,"fm.sale_refund.total":1764.00,"fm.buy.total":0.00,"shift.sale.total":15111.00,"shift.sale.total_cash":11078.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [23:56:45]free response buf [23:56:45]execute_script done [23:56:45]execute_script returns [23:56:45]free content buf [23:56:45]Sock 9.Close socket [23:56:45]Sock 9.Thread stoped [23:56:45]accept exits with 8 [23:56:45]New connection [23:56:45]New thread 3066772836 created [23:56:45]Thread 3066629476 joined [23:56:45]Waiting for new connection... [23:56:45] Sock 8.Parse request [23:56:45]Sock 8.Check first char [23:56:45]Sock 8.First char is OK [23:56:45]request: POST /json_proto HTTP/1.0 [23:56:45]Method: POST [23:56:45]URL: /json_proto [23:56:45]Method is POST - this is cgi request [23:56:45]url: /json_proto [23:56:45]query_string will be loaded in cgi processing [23:56:45]execute_cgi json_proto POST (null) [23:56:45]execute_cgi path=json_proto method=POST [23:56:45]POST find Content-Length [23:56:45]Host: 172.17.56.68:8080 [23:56:45]Content-Length: 260 [23:56:45]Content-Type: application/json [23:56:45] [23:56:45]POST finish read [23:56:45]Found Content-Length = 260 [23:56:45]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u0421\u0443\u043B\u0442\u0430\u043D\u043E\u0432 \u0411. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:56:45]execute_script... [23:56:45]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u0421\u0443\u043B\u0442\u0430\u043D\u043E\u0432 \u0411. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:56:45]POST & json_proto [23:56:45]process_json_proto [23:56:45]json parsed OK: [23:56:45]protocol is kg_v1.0 [23:56:45]action value=close_shift [23:56:45]process_action close_shift [23:56:45]cmd_close_shift [23:56:45]MH_GetDate [23:56:45]Write to MH i2c: F0 00 00 50 09 48 [23:56:45]Write i2c OK [23:56:45]MH_I2C_Read... [23:56:45]Read from MH i2c: F0 [23:56:45]MH_I2C_Read... [23:56:45]Read from MH i2c: F0 09 00 [23:56:45]MH_I2C_Read... [23:56:45]Read from MH i2c: F0 09 00 50 09 00 3F FB 60 66 3A 8F 60 66 E0 [23:56:45]GetLastDocTimeStamp 1717631756 [23:56:45]current date 1717631807 [23:56:45]FM_GetShiftState [23:56:45]SAM_PROTO_GetShiftState [23:56:45]wFMCommunicate request_size=4 [23:56:45]MH_SAM_APDU [23:56:45]CAPDU: 80 13 01 00 [23:56:45]Write to MH i2c: E2 08 00 51 09 80 13 01 00 00 00 00 00 D7 [23:56:45]Write i2c OK [23:56:45]MH_I2C_Read... [23:56:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:56:45]Read from MH i2c: E2 [23:56:45]MH_I2C_Read... [23:56:45]Read from MH i2c: E2 0E 00 [23:56:45]MH_I2C_Read... [23:56:45]Read from MH i2c: E2 0E 00 51 09 00 09 00 01 25 AB 5F 66 00 00 00 00 90 00 78 [23:56:45]RAPDU: 09 00 01 25 AB 5F 66 00 00 00 00 90 00 [23:56:45]wFMCommunicate OK [23:56:45]SAM_PROTO_GetShiftState done [23:56:45]FM_GetShiftState done [23:56:45]KKMCreateCloseShiftDocument [23:56:45]Load OK [23:56:45]Malloc new data [23:56:45]MH_GetDate [23:56:45]Write to MH i2c: F0 00 00 52 09 4A [23:56:45]Write i2c OK [23:56:45]MH_I2C_Read... [23:56:45]Read from MH i2c: F0 [23:56:45]MH_I2C_Read... [23:56:45]Read from MH i2c: F0 09 00 [23:56:45]MH_I2C_Read... [23:56:45]Read from MH i2c: F0 09 00 52 09 00 3F FB 60 66 3A 8F 60 66 E2 [23:56:45]Malloc new data [23:56:45]Malloc new data [23:56:45]Malloc new data [23:56:45]Malloc new data [23:56:45]KKMCreateCloseShiftDocument OK [23:56:45]KKMSetCloseShiftData OK [23:56:45]ProcessDocumentItem done err = 0, tmpTLVsize=71 [23:56:45]tlvbuf is 01A52180 [23:56:45]KKMLoadAndSignCloseShiftData [23:56:45]SAM_PROTO_ProcessDocument [23:56:45]wFMCommunicate request_size=9 [23:56:45]MH_SAM_APDU [23:56:45]CAPDU: 80 15 01 00 04 05 00 47 00 [23:56:45]Write to MH i2c: E2 0C 00 53 09 80 15 01 00 04 00 05 00 47 00 00 00 2F [23:56:45]Write i2c OK [23:56:45]MH_I2C_Read... [23:56:45]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [23:56:45]Read from MH i2c: E2 [23:56:45]MH_I2C_Read... [23:56:45]Read from MH i2c: E2 03 00 [23:56:45]MH_I2C_Read... [23:56:45]Read from MH i2c: E2 03 00 53 09 00 90 00 D0 [23:56:45]RAPDU: 90 00 [23:56:45]wFMCommunicate OK [23:56:45]wFMCommunicate request_size=23 [23:56:45]MH_SAM_APDU [23:56:45]CAPDU: 80 15 02 00 12 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 [23:56:45]Write to MH i2c: E2 1A 00 54 09 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 D2 [23:56:45]Write i2c OK [23:56:45]MH_I2C_Read... [23:56:45]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [23:56:45]Read from MH i2c: E2 [23:56:45]MH_I2C_Read... [23:56:45]Read from MH i2c: E2 03 00 [23:56:45]MH_I2C_Read... [23:56:45]Read from MH i2c: E2 03 00 54 09 00 90 00 D1 [23:56:45]RAPDU: 90 00 [23:56:45]wFMCommunicate OK [23:56:45]wFMCommunicate request_size=30 [23:56:45]MH_SAM_APDU [23:56:45]CAPDU: 80 15 02 00 19 FD 03 15 00 D0 A1 D1 83 D0 BB D1 82 D0 B0 D0 BD D0 BE D0 B2 20 D0 91 2E 20 [23:56:45]Write to MH i2c: E2 21 00 55 09 80 15 02 00 19 00 FD 03 15 00 D0 A1 D1 83 D0 BB D1 82 D0 B0 D0 BD D0 BE D0 B2 20 D0 91 2E 20 00 00 B4 [23:56:45]Write i2c OK [23:56:45]MH_I2C_Read... [23:56:45]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [23:56:45]Read from MH i2c: E2 [23:56:45]MH_I2C_Read... [23:56:45]Read from MH i2c: E2 03 00 [23:56:45]MH_I2C_Read... [23:56:45]Read from MH i2c: E2 03 00 55 09 00 90 00 D2 [23:56:45]RAPDU: 90 00 [23:56:45]wFMCommunicate OK [23:56:45]wFMCommunicate request_size=13 [23:56:45]MH_SAM_APDU [23:56:45]CAPDU: 80 15 02 00 08 F4 03 04 00 3F FB 60 66 [23:56:45]Write to MH i2c: E2 10 00 56 09 80 15 02 00 08 00 F4 03 04 00 3F FB 60 66 00 00 EA [23:56:45]Write i2c OK [23:56:45]MH_I2C_Read... [23:56:45]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [23:56:45]Read from MH i2c: E2 [23:56:45]MH_I2C_Read... [23:56:45]Read from MH i2c: E2 03 00 [23:56:45]MH_I2C_Read... [23:56:45]Read from MH i2c: E2 03 00 56 09 00 90 00 D3 [23:56:45]RAPDU: 90 00 [23:56:45]wFMCommunicate OK [23:56:45]wFMCommunicate request_size=25 [23:56:45]MH_SAM_APDU [23:56:45]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 [23:56:45]Write to MH i2c: E2 1C 00 57 09 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 00 00 46 [23:56:46]Write i2c OK [23:56:46]MH_I2C_Read... [23:56:46]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [23:56:46]Read from MH i2c: E2 [23:56:46]MH_I2C_Read... [23:56:46]Read from MH i2c: E2 03 00 [23:56:46]MH_I2C_Read... [23:56:46]Read from MH i2c: E2 03 00 57 09 00 90 00 D4 [23:56:46]RAPDU: 90 00 [23:56:46]wFMCommunicate OK [23:56:46]wFMCommunicate request_size=4 [23:56:46]MH_SAM_APDU [23:56:46]CAPDU: 80 15 03 00 [23:56:46]Write to MH i2c: E2 08 00 58 09 80 15 03 00 00 00 00 00 E2 [23:56:46]Write i2c OK [23:56:46]MH_I2C_Read... [23:56:46]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 250! [23:56:46]Read from MH i2c: E2 [23:56:46]MH_I2C_Read... [23:56:46]Read from MH i2c: E2 FD 00 [23:56:46]MH_I2C_Read... [23:56:46]Read from MH i2c: E2 FD 00 58 09 00 F1 04 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 80 10 00 00 0E 04 04 00 54 00 00 00 5E 04 04 00 51 00 00 00 57 04 04 00 53 00 00 00 AA 04 AA 04 6E 04 04 00 51 00 00 00 69 04 9B 00 6F 04 04 00 51 00 00 00 B1 04 03 00 BC 0E 17 70 04 03 00 58 E7 10 72 04 03 00 64 27 06 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 D0 72 02 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 34 34 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 D9 [23:56:46]RAPDU: F1 04 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 80 10 00 00 0E 04 04 00 54 00 00 00 5E 04 04 00 51 00 00 00 57 04 04 00 53 00 00 00 AA 04 AA 04 6E 04 04 00 51 00 00 00 69 04 9B 00 6F 04 04 00 51 00 00 00 B1 04 03 00 BC 0E 17 70 04 03 00 58 E7 10 72 04 03 00 64 27 06 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 D0 72 02 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 34 34 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [23:56:46]wFMCommunicate OK [23:56:46]SAM_PROTO_ProcessDocument answer len = 1265 [23:56:46]SAM_PROTO_ProcessDocument remain to read = 1017 [23:56:46]wFMCommunicate request_size=4 [23:56:46]MH_SAM_APDU [23:56:46]CAPDU: 80 17 00 00 [23:56:46]Write to MH i2c: E2 08 00 59 09 80 17 00 00 00 00 00 00 E2 [23:56:46]Write i2c OK [23:56:46]MH_I2C_Read... [23:56:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:56:47]Read from MH i2c: E2 [23:56:47]MH_I2C_Read... [23:56:47]Read from MH i2c: E2 FD 00 [23:56:47]MH_I2C_Read... [23:56:47]Read from MH i2c: E2 FD 00 59 09 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 2B [23:56:47]RAPDU: 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 90 00 [23:56:47]wFMCommunicate OK [23:56:47]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [23:56:47]SAM_PROTO_ProcessDocument remain to read = 767 [23:56:47]wFMCommunicate request_size=4 [23:56:47]MH_SAM_APDU [23:56:47]CAPDU: 80 17 00 00 [23:56:47]Write to MH i2c: E2 08 00 5A 09 80 17 00 00 00 00 00 00 E3 [23:56:47]Write i2c OK [23:56:47]MH_I2C_Read... [23:56:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:56:47]Read from MH i2c: E2 [23:56:47]MH_I2C_Read... [23:56:47]Read from MH i2c: E2 FD 00 [23:56:47]MH_I2C_Read... [23:56:47]Read from MH i2c: E2 FD 00 5A 09 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 45 [23:56:47]RAPDU: 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 [23:56:47]wFMCommunicate OK [23:56:47]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [23:56:47]SAM_PROTO_ProcessDocument remain to read = 517 [23:56:47]wFMCommunicate request_size=4 [23:56:47]MH_SAM_APDU [23:56:47]CAPDU: 80 17 00 00 [23:56:47]Write to MH i2c: E2 08 00 5B 09 80 17 00 00 00 00 00 00 E4 [23:56:47]Write i2c OK [23:56:47]MH_I2C_Read... [23:56:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:56:48]Read from MH i2c: E2 [23:56:48]MH_I2C_Read... [23:56:48]Read from MH i2c: E2 FD 00 [23:56:48]MH_I2C_Read... [23:56:48]Read from MH i2c: E2 FD 00 5B 09 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 6E [23:56:48]RAPDU: 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 90 00 [23:56:48]wFMCommunicate OK [23:56:48]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [23:56:48]SAM_PROTO_ProcessDocument remain to read = 267 [23:56:48]wFMCommunicate request_size=4 [23:56:48]MH_SAM_APDU [23:56:48]CAPDU: 80 17 00 00 [23:56:48]Write to MH i2c: E2 08 00 5C 09 80 17 00 00 00 00 00 00 E5 [23:56:48]Write i2c OK [23:56:48]MH_I2C_Read... [23:56:48]OFD Sender: No OFD packet to send [23:56:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:56:48]Read from MH i2c: E2 [23:56:48]MH_I2C_Read... [23:56:48]Read from MH i2c: E2 FD 00 [23:56:48]MH_I2C_Read... [23:56:48]Read from MH i2c: E2 FD 00 5C 09 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 AD [23:56:48]RAPDU: 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 90 00 [23:56:49]wFMCommunicate OK [23:56:49]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [23:56:49]SAM_PROTO_ProcessDocument remain to read = 17 [23:56:49]wFMCommunicate request_size=4 [23:56:49]MH_SAM_APDU [23:56:49]CAPDU: 80 17 00 00 [23:56:49]Write to MH i2c: E2 08 00 5D 09 80 17 00 00 00 00 00 00 E6 [23:56:49]Write i2c OK [23:56:49]MH_I2C_Read... [23:56:49]Read from MH i2c: E2 [23:56:49]MH_I2C_Read... [23:56:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 17! [23:56:49]Read from MH i2c: E2 14 00 [23:56:49]MH_I2C_Read... [23:56:49]Read from MH i2c: E2 14 00 5D 09 00 01 00 06 F7 03 00 00 35 04 06 00 5F 8A 9D FC 5A 71 90 00 78 [23:56:49]RAPDU: 01 00 06 F7 03 00 00 35 04 06 00 5F 8A 9D FC 5A 71 90 00 [23:56:49]wFMCommunicate OK [23:56:49]SAM_PROTO_ProcessDocument received (without SW) 17 bytes [23:56:49]SAM_PROTO_ProcessDocument done [23:56:49]1209 (1) - 1.0 - номер версии ФФД [23:56:49]1041 (16) - 0000000000959360 - номер ФМ [23:56:49]1040 (4) - 4224 - номер ФД [23:56:49]1038 (4) - 84 - номер смены [23:56:49]1118 (4) - 81 - количество кассовых чеков за смену [23:56:49]1111 (4) - 83 - общее количество ФД за смену [23:56:49]1194 (1194) - счетчики итогов смены [23:56:49] 1134 (4) - 81 - количество чеков со всеми признаками расчетов [23:56:49] 1129 (155) - счетчики операций «приход» [23:56:49] 1135 (4) - 81 - количество чеков по признаку расчетов [23:56:49] 1201 (3) - 15111.00 - общая итоговая сумма в чеках [23:56:49] 1136 (3) - 11078.00 - итоговая сумма в чеках наличными [23:56:49] 1138 (3) - 4033.00 - итоговая сумма в чеках безналичными [23:56:49] 1024 (122) - суммы налогов [23:56:49] 1006 (9) - суммы НДС [23:56:49] 1010 (1) - 0% - код ставки НДС [23:56:49] 1011 (0) - 0.00 - сумма НДС по ставке [23:56:49] 1006 (12) - суммы НДС [23:56:49] 1010 (1) - 12% - код ставки НДС [23:56:49] 1011 (3) - 1604.64 - сумма НДС по ставке [23:56:49] 1007 (9) - суммы НСП [23:56:49] 1014 (1) - 0% - код ставки НСП [23:56:49] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:49] 1007 (11) - суммы НСП [23:56:49] 1014 (1) - 1% - код ставки НСП [23:56:49] 1015 (2) - 133.64 - сумма НСП по ставке [23:56:49] 1007 (9) - суммы НСП [23:56:49] 1014 (1) - 2% - код ставки НСП [23:56:49] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:49] 1007 (9) - суммы НСП [23:56:49] 1014 (1) - 3% - код ставки НСП [23:56:49] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:49] 1007 (9) - суммы НСП [23:56:49] 1014 (1) - 5% - код ставки НСП [23:56:49] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:49] 1007 (9) - суммы НСП [23:56:49] 1014 (1) - 0,50% - код ставки НСП [23:56:49] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:49] 1007 (9) - суммы НСП [23:56:49] 1014 (1) - 1,50% - код ставки НСП [23:56:49] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:49] 1130 (141) - счетчики операций «возврат прихода» [23:56:49] 1135 (4) - 0 - количество чеков по признаку расчетов [23:56:49] 1201 (0) - 0.00 - общая итоговая сумма в чеках [23:56:49] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [23:56:49] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:56:49] 1024 (117) - суммы налогов [23:56:49] 1006 (9) - суммы НДС [23:56:49] 1010 (1) - 0% - код ставки НДС [23:56:49] 1011 (0) - 0.00 - сумма НДС по ставке [23:56:49] 1006 (9) - суммы НДС [23:56:49] 1010 (1) - 12% - код ставки НДС [23:56:49] 1011 (0) - 0.00 - сумма НДС по ставке [23:56:49] 1007 (9) - суммы НСП [23:56:49] 1014 (1) - 0% - код ставки НСП [23:56:49] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:49] 1007 (9) - суммы НСП [23:56:49] 1014 (1) - 1% - код ставки НСП [23:56:49] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:49] 1007 (9) - суммы НСП [23:56:49] 1014 (1) - 2% - код ставки НСП [23:56:49] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:49] 1007 (9) - суммы НСП [23:56:49] 1014 (1) - 3% - код ставки НСП [23:56:49] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:49] 1007 (9) - суммы НСП [23:56:49] 1014 (1) - 5% - код ставки НСП [23:56:49] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:49] 1007 (9) - суммы НСП [23:56:49] 1014 (1) - 0,50% - код ставки НСП [23:56:49] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:49] 1007 (9) - суммы НСП [23:56:49] 1014 (1) - 1,50% - код ставки НСП [23:56:49] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:49] 1131 (141) - счетчики операций «расход» [23:56:49] 1135 (4) - 0 - количество чеков по признаку расчетов [23:56:49] 1201 (0) - 0.00 - общая итоговая сумма в чеках [23:56:49] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [23:56:49] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:56:49] 1024 (117) - суммы налогов [23:56:49] 1006 (9) - суммы НДС [23:56:49] 1010 (1) - 0% - код ставки НДС [23:56:49] 1011 (0) - 0.00 - сумма НДС по ставке [23:56:49] 1006 (9) - суммы НДС [23:56:49] 1010 (1) - 12% - код ставки НДС [23:56:49] 1011 (0) - 0.00 - сумма НДС по ставке [23:56:49] 1007 (9) - суммы НСП [23:56:49] 1014 (1) - 0% - код ставки НСП [23:56:49] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:49] 1007 (9) - суммы НСП [23:56:49] 1014 (1) - 1% - код ставки НСП [23:56:49] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:49] 1007 (9) - суммы НСП [23:56:49] 1014 (1) - 2% - код ставки НСП [23:56:49] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:49] 1007 (9) - суммы НСП [23:56:49] 1014 (1) - 3% - код ставки НСП [23:56:49] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:49] 1007 (9) - суммы НСП [23:56:49] 1014 (1) - 5% - код ставки НСП [23:56:49] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:49] 1007 (9) - суммы НСП [23:56:49] 1014 (1) - 0,50% - код ставки НСП [23:56:49] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:49] 1007 (9) - суммы НСП [23:56:49] 1014 (1) - 1,50% - код ставки НСП [23:56:49] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:49] 1132 (141) - счетчики операций «возврат расхода» [23:56:49] 1135 (4) - 0 - количество чеков по признаку расчетов [23:56:49] 1201 (0) - 0.00 - общая итоговая сумма в чеках [23:56:49] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [23:56:49] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:56:49] 1024 (117) - суммы налогов [23:56:49] 1006 (9) - суммы НДС [23:56:49] 1010 (1) - 0% - код ставки НДС [23:56:49] 1011 (0) - 0.00 - сумма НДС по ставке [23:56:49] 1006 (9) - суммы НДС [23:56:49] 1010 (1) - 12% - код ставки НДС [23:56:49] 1011 (0) - 0.00 - сумма НДС по ставке [23:56:49] 1007 (9) - суммы НСП [23:56:49] 1014 (1) - 0% - код ставки НСП [23:56:49] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:49] 1007 (9) - суммы НСП [23:56:49] 1014 (1) - 1% - код ставки НСП [23:56:49] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:49] 1007 (9) - суммы НСП [23:56:49] 1014 (1) - 2% - код ставки НСП [23:56:49] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:49] 1007 (9) - суммы НСП [23:56:49] 1014 (1) - 3% - код ставки НСП [23:56:49] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:49] 1007 (9) - суммы НСП [23:56:49] 1014 (1) - 5% - код ставки НСП [23:56:49] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:49] 1007 (9) - суммы НСП [23:56:49] 1014 (1) - 0,50% - код ставки НСП [23:56:49] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:49] 1007 (9) - суммы НСП [23:56:49] 1014 (1) - 1,50% - код ставки НСП [23:56:49] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:49] 1133 (588) - - счетчики коррекции - не используются [23:56:49]1077 (6) - 105048960686705 - ФПД [23:56:49]SetTLVBufToDocument [23:56:49]Processing tag 1209 (04B9) [23:56:49]Malloc new data [23:56:49]Processing tag 1041 (0411) [23:56:49]Processing tag 1040 (0410) [23:56:49]Malloc new data [23:56:49]Processing tag 1038 (040E) [23:56:49]Malloc new data [23:56:49]Processing tag 1118 (045E) [23:56:49]Malloc new data [23:56:49]Processing tag 1111 (0457) [23:56:49]Malloc new data [23:56:49]Processing tag 1194 (04AA) [23:56:49]Load OK [23:56:49]SetTLVBufToDocument [23:56:49]Processing tag 1134 (046E) [23:56:49]Malloc new data [23:56:49]Processing tag 1129 (0469) [23:56:49]Load OK [23:56:49]SetTLVBufToDocument [23:56:49]Processing tag 1135 (046F) [23:56:49]Malloc new data [23:56:49]Processing tag 1201 (04B1) [23:56:49]Malloc new data [23:56:49]Processing tag 1136 (0470) [23:56:49]Malloc new data [23:56:49]Processing tag 1138 (0472) [23:56:49]Malloc new data [23:56:49]Processing tag 1024 (0400) [23:56:49]Load OK [23:56:49]SetTLVBufToDocument [23:56:49]Processing tag 1006 (03EE) [23:56:49]Load OK [23:56:49]SetTLVBufToDocument [23:56:49]Processing tag 1010 (03F2) [23:56:49]Malloc new data [23:56:49]Processing tag 1011 (03F3) [23:56:49]Malloc new data [23:56:49]SetTLVBufToDocument err=0 [23:56:49]Processing tag 1006 (03EE) [23:56:49]Load OK [23:56:49]SetTLVBufToDocument [23:56:49]Processing tag 1010 (03F2) [23:56:49]Malloc new data [23:56:49]Processing tag 1011 (03F3) [23:56:49]Malloc new data [23:56:49]SetTLVBufToDocument err=0 [23:56:49]Processing tag 1007 (03EF) [23:56:49]Load OK [23:56:49]SetTLVBufToDocument [23:56:49]Processing tag 1014 (03F6) [23:56:49]Malloc new data [23:56:49]Processing tag 1015 (03F7) [23:56:49]Malloc new data [23:56:49]SetTLVBufToDocument err=0 [23:56:49]Processing tag 1007 (03EF) [23:56:49]Load OK [23:56:49]SetTLVBufToDocument [23:56:49]Processing tag 1014 (03F6) [23:56:49]Malloc new data [23:56:49]Processing tag 1015 (03F7) [23:56:49]Malloc new data [23:56:49]SetTLVBufToDocument err=0 [23:56:49]Processing tag 1007 (03EF) [23:56:49]Load OK [23:56:49]SetTLVBufToDocument [23:56:49]Processing tag 1014 (03F6) [23:56:49]Malloc new data [23:56:49]Processing tag 1015 (03F7) [23:56:49]Malloc new data [23:56:49]SetTLVBufToDocument err=0 [23:56:49]Processing tag 1007 (03EF) [23:56:49]Load OK [23:56:49]SetTLVBufToDocument [23:56:49]Processing tag 1014 (03F6) [23:56:49]Malloc new data [23:56:49]Processing tag 1015 (03F7) [23:56:49]Malloc new data [23:56:49]SetTLVBufToDocument err=0 [23:56:49]Processing tag 1007 (03EF) [23:56:49]Load OK [23:56:49]SetTLVBufToDocument [23:56:49]Processing tag 1014 (03F6) [23:56:49]Malloc new data [23:56:49]Processing tag 1015 (03F7) [23:56:49]Malloc new data [23:56:49]SetTLVBufToDocument err=0 [23:56:49]Processing tag 1007 (03EF) [23:56:49]Load OK [23:56:49]SetTLVBufToDocument [23:56:49]Processing tag 1014 (03F6) [23:56:49]Malloc new data [23:56:49]Processing tag 1015 (03F7) [23:56:49]Malloc new data [23:56:49]SetTLVBufToDocument err=0 [23:56:49]Processing tag 1007 (03EF) [23:56:49]Load OK [23:56:49]SetTLVBufToDocument [23:56:49]Processing tag 1014 (03F6) [23:56:49]Malloc new data [23:56:49]Processing tag 1015 (03F7) [23:56:49]Malloc new data [23:56:49]SetTLVBufToDocument err=0 [23:56:49]SetTLVBufToDocument err=0 [23:56:50]SetTLVBufToDocument err=0 [23:56:50]Processing tag 1130 (046A) [23:56:50]Load OK [23:56:50]SetTLVBufToDocument [23:56:50]Processing tag 1135 (046F) [23:56:50]Malloc new data [23:56:50]Processing tag 1201 (04B1) [23:56:50]Malloc new data [23:56:50]Processing tag 1136 (0470) [23:56:50]Malloc new data [23:56:50]Processing tag 1138 (0472) [23:56:50]Malloc new data [23:56:50]Processing tag 1024 (0400) [23:56:50]Load OK [23:56:50]SetTLVBufToDocument [23:56:50]Processing tag 1006 (03EE) [23:56:50]Load OK [23:56:50]SetTLVBufToDocument [23:56:50]Processing tag 1010 (03F2) [23:56:50]Malloc new data [23:56:50]Processing tag 1011 (03F3) [23:56:50]Malloc new data [23:56:50]SetTLVBufToDocument err=0 [23:56:50]Processing tag 1006 (03EE) [23:56:50]Load OK [23:56:50]SetTLVBufToDocument [23:56:50]Processing tag 1010 (03F2) [23:56:50]Malloc new data [23:56:50]Processing tag 1011 (03F3) [23:56:50]Malloc new data [23:56:50]SetTLVBufToDocument err=0 [23:56:50]Processing tag 1007 (03EF) [23:56:50]Load OK [23:56:50]SetTLVBufToDocument [23:56:50]Processing tag 1014 (03F6) [23:56:50]Malloc new data [23:56:50]Processing tag 1015 (03F7) [23:56:50]Malloc new data [23:56:50]SetTLVBufToDocument err=0 [23:56:50]Processing tag 1007 (03EF) [23:56:50]Load OK [23:56:50]SetTLVBufToDocument [23:56:50]Processing tag 1014 (03F6) [23:56:50]Malloc new data [23:56:50]Processing tag 1015 (03F7) [23:56:50]Malloc new data [23:56:50]SetTLVBufToDocument err=0 [23:56:50]Processing tag 1007 (03EF) [23:56:50]Load OK [23:56:50]SetTLVBufToDocument [23:56:50]Processing tag 1014 (03F6) [23:56:50]Malloc new data [23:56:50]Processing tag 1015 (03F7) [23:56:50]Malloc new data [23:56:50]SetTLVBufToDocument err=0 [23:56:50]Processing tag 1007 (03EF) [23:56:50]Load OK [23:56:50]SetTLVBufToDocument [23:56:50]Processing tag 1014 (03F6) [23:56:50]Malloc new data [23:56:50]Processing tag 1015 (03F7) [23:56:50]Malloc new data [23:56:50]SetTLVBufToDocument err=0 [23:56:50]Processing tag 1007 (03EF) [23:56:50]Load OK [23:56:50]SetTLVBufToDocument [23:56:50]Processing tag 1014 (03F6) [23:56:50]Malloc new data [23:56:50]Processing tag 1015 (03F7) [23:56:50]Malloc new data [23:56:50]SetTLVBufToDocument err=0 [23:56:50]Processing tag 1007 (03EF) [23:56:50]Load OK [23:56:50]SetTLVBufToDocument [23:56:50]Processing tag 1014 (03F6) [23:56:50]Malloc new data [23:56:50]Processing tag 1015 (03F7) [23:56:50]Malloc new data [23:56:50]SetTLVBufToDocument err=0 [23:56:50]Processing tag 1007 (03EF) [23:56:50]Load OK [23:56:50]SetTLVBufToDocument [23:56:50]Processing tag 1014 (03F6) [23:56:50]Malloc new data [23:56:50]Processing tag 1015 (03F7) [23:56:50]Malloc new data [23:56:50]SetTLVBufToDocument err=0 [23:56:50]SetTLVBufToDocument err=0 [23:56:50]SetTLVBufToDocument err=0 [23:56:50]Processing tag 1131 (046B) [23:56:50]Load OK [23:56:50]SetTLVBufToDocument [23:56:50]Processing tag 1135 (046F) [23:56:50]Malloc new data [23:56:50]Processing tag 1201 (04B1) [23:56:50]Malloc new data [23:56:50]Processing tag 1136 (0470) [23:56:50]Malloc new data [23:56:50]Processing tag 1138 (0472) [23:56:50]Malloc new data [23:56:50]Processing tag 1024 (0400) [23:56:50]Load OK [23:56:50]SetTLVBufToDocument [23:56:50]Processing tag 1006 (03EE) [23:56:50]Load OK [23:56:50]SetTLVBufToDocument [23:56:50]Processing tag 1010 (03F2) [23:56:50]Malloc new data [23:56:50]Processing tag 1011 (03F3) [23:56:50]Malloc new data [23:56:50]SetTLVBufToDocument err=0 [23:56:50]Processing tag 1006 (03EE) [23:56:50]Load OK [23:56:50]SetTLVBufToDocument [23:56:50]Processing tag 1010 (03F2) [23:56:50]Malloc new data [23:56:50]Processing tag 1011 (03F3) [23:56:50]Malloc new data [23:56:50]SetTLVBufToDocument err=0 [23:56:50]Processing tag 1007 (03EF) [23:56:50]Load OK [23:56:50]SetTLVBufToDocument [23:56:50]Processing tag 1014 (03F6) [23:56:50]Malloc new data [23:56:50]Processing tag 1015 (03F7) [23:56:50]Malloc new data [23:56:50]SetTLVBufToDocument err=0 [23:56:50]Processing tag 1007 (03EF) [23:56:50]Load OK [23:56:50]SetTLVBufToDocument [23:56:50]Processing tag 1014 (03F6) [23:56:50]Malloc new data [23:56:50]Processing tag 1015 (03F7) [23:56:50]Malloc new data [23:56:50]SetTLVBufToDocument err=0 [23:56:50]Processing tag 1007 (03EF) [23:56:50]Load OK [23:56:50]SetTLVBufToDocument [23:56:50]Processing tag 1014 (03F6) [23:56:50]Malloc new data [23:56:50]Processing tag 1015 (03F7) [23:56:50]Malloc new data [23:56:50]SetTLVBufToDocument err=0 [23:56:50]Processing tag 1007 (03EF) [23:56:50]Load OK [23:56:50]SetTLVBufToDocument [23:56:50]Processing tag 1014 (03F6) [23:56:50]Malloc new data [23:56:50]Processing tag 1015 (03F7) [23:56:50]Malloc new data [23:56:50]SetTLVBufToDocument err=0 [23:56:50]Processing tag 1007 (03EF) [23:56:50]Load OK [23:56:50]SetTLVBufToDocument [23:56:50]Processing tag 1014 (03F6) [23:56:50]Malloc new data [23:56:50]Processing tag 1015 (03F7) [23:56:50]Malloc new data [23:56:50]SetTLVBufToDocument err=0 [23:56:50]Processing tag 1007 (03EF) [23:56:50]Load OK [23:56:50]SetTLVBufToDocument [23:56:50]Processing tag 1014 (03F6) [23:56:50]Malloc new data [23:56:50]Processing tag 1015 (03F7) [23:56:50]Malloc new data [23:56:50]SetTLVBufToDocument err=0 [23:56:50]Processing tag 1007 (03EF) [23:56:50]Load OK [23:56:50]SetTLVBufToDocument [23:56:50]Processing tag 1014 (03F6) [23:56:50]Malloc new data [23:56:50]Processing tag 1015 (03F7) [23:56:50]Malloc new data [23:56:50]SetTLVBufToDocument err=0 [23:56:50]SetTLVBufToDocument err=0 [23:56:50]SetTLVBufToDocument err=0 [23:56:50]Processing tag 1132 (046C) [23:56:50]Load OK [23:56:50]SetTLVBufToDocument [23:56:50]Processing tag 1135 (046F) [23:56:50]Malloc new data [23:56:50]Processing tag 1201 (04B1) [23:56:50]Malloc new data [23:56:50]Processing tag 1136 (0470) [23:56:50]Malloc new data [23:56:50]Processing tag 1138 (0472) [23:56:50]Malloc new data [23:56:50]Processing tag 1024 (0400) [23:56:50]Load OK [23:56:50]SetTLVBufToDocument [23:56:50]Processing tag 1006 (03EE) [23:56:50]Load OK [23:56:50]SetTLVBufToDocument [23:56:50]Processing tag 1010 (03F2) [23:56:50]Malloc new data [23:56:50]Processing tag 1011 (03F3) [23:56:50]Malloc new data [23:56:50]SetTLVBufToDocument err=0 [23:56:50]Processing tag 1006 (03EE) [23:56:50]Load OK [23:56:50]SetTLVBufToDocument [23:56:50]Processing tag 1010 (03F2) [23:56:50]Malloc new data [23:56:50]Processing tag 1011 (03F3) [23:56:50]Malloc new data [23:56:50]SetTLVBufToDocument err=0 [23:56:50]Processing tag 1007 (03EF) [23:56:50]Load OK [23:56:50]SetTLVBufToDocument [23:56:50]Processing tag 1014 (03F6) [23:56:50]Malloc new data [23:56:50]Processing tag 1015 (03F7) [23:56:50]Malloc new data [23:56:50]SetTLVBufToDocument err=0 [23:56:50]Processing tag 1007 (03EF) [23:56:50]Load OK [23:56:50]SetTLVBufToDocument [23:56:50]Processing tag 1014 (03F6) [23:56:50]Malloc new data [23:56:50]Processing tag 1015 (03F7) [23:56:50]Malloc new data [23:56:50]SetTLVBufToDocument err=0 [23:56:50]Processing tag 1007 (03EF) [23:56:50]Load OK [23:56:50]SetTLVBufToDocument [23:56:50]Processing tag 1014 (03F6) [23:56:50]Malloc new data [23:56:50]Processing tag 1015 (03F7) [23:56:50]Malloc new data [23:56:50]SetTLVBufToDocument err=0 [23:56:50]Processing tag 1007 (03EF) [23:56:50]Load OK [23:56:50]SetTLVBufToDocument [23:56:50]Processing tag 1014 (03F6) [23:56:50]Malloc new data [23:56:50]Processing tag 1015 (03F7) [23:56:50]Malloc new data [23:56:50]SetTLVBufToDocument err=0 [23:56:50]Processing tag 1007 (03EF) [23:56:50]Load OK [23:56:50]SetTLVBufToDocument [23:56:50]Processing tag 1014 (03F6) [23:56:50]Malloc new data [23:56:50]Processing tag 1015 (03F7) [23:56:50]Malloc new data [23:56:50]SetTLVBufToDocument err=0 [23:56:50]Processing tag 1007 (03EF) [23:56:50]Load OK [23:56:50]SetTLVBufToDocument [23:56:50]Processing tag 1014 (03F6) [23:56:50]Malloc new data [23:56:50]Processing tag 1015 (03F7) [23:56:50]Malloc new data [23:56:50]SetTLVBufToDocument err=0 [23:56:50]Processing tag 1007 (03EF) [23:56:50]Load OK [23:56:50]SetTLVBufToDocument [23:56:50]Processing tag 1014 (03F6) [23:56:50]Malloc new data [23:56:50]Processing tag 1015 (03F7) [23:56:50]Malloc new data [23:56:50]SetTLVBufToDocument err=0 [23:56:50]SetTLVBufToDocument err=0 [23:56:50]SetTLVBufToDocument err=0 [23:56:50]Processing tag 1133 (046D) [23:56:50]Malloc new data [23:56:50]SetTLVBufToDocument err=0 [23:56:50]Processing tag 1077 (0435) [23:56:50]Malloc new data [23:56:50]SetTLVBufToDocument err=0 [23:56:50]Malloc new data [23:56:50]SAM_PROTO_GetFMData [23:56:50]wFMCommunicate request_size=4 [23:56:50]MH_SAM_APDU [23:56:50]CAPDU: 80 13 03 00 [23:56:50]Write to MH i2c: E2 08 00 5E 09 80 13 03 00 00 00 00 00 E6 [23:56:50]Write i2c OK [23:56:50]MH_I2C_Read... [23:56:50]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:56:50]Read from MH i2c: E2 [23:56:50]MH_I2C_Read... [23:56:50]Read from MH i2c: E2 FD 00 [23:56:50]MH_I2C_Read... [23:56:50]Read from MH i2c: E2 FD 00 5E 09 00 BB 04 85 04 B7 04 6E 04 04 00 D7 0F 00 00 69 04 9E 00 6F 04 04 00 CE 0F 00 00 B1 04 04 00 B7 FE 9A 05 70 04 04 00 A4 56 AB 04 72 04 03 00 13 A8 EF 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 95 62 98 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 FA B0 0C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 97 00 6F 04 04 00 09 00 00 00 B1 04 03 00 10 B1 02 70 04 03 00 10 B1 02 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 2C 49 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 81 [23:56:50]RAPDU: BB 04 85 04 B7 04 6E 04 04 00 D7 0F 00 00 69 04 9E 00 6F 04 04 00 CE 0F 00 00 B1 04 04 00 B7 FE 9A 05 70 04 04 00 A4 56 AB 04 72 04 03 00 13 A8 EF 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 95 62 98 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 FA B0 0C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 97 00 6F 04 04 00 09 00 00 00 B1 04 03 00 10 B1 02 70 04 03 00 10 B1 02 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 2C 49 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [23:56:50]wFMCommunicate OK [23:56:50]wFMCommunicate request_size=4 [23:56:50]MH_SAM_APDU [23:56:50]CAPDU: 80 17 00 00 [23:56:50]Write to MH i2c: E2 08 00 5F 09 80 17 00 00 00 00 00 00 E8 [23:56:50]Write i2c OK [23:56:50]MH_I2C_Read... [23:56:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:56:51]Read from MH i2c: E2 [23:56:51]MH_I2C_Read... [23:56:51]Read from MH i2c: E2 FD 00 [23:56:51]MH_I2C_Read... [23:56:51]Read from MH i2c: E2 FD 00 5F 09 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 18 06 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 B0 [23:56:51]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 18 06 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:56:51]wFMCommunicate OK [23:56:51]wFMCommunicate request_size=4 [23:56:51]MH_SAM_APDU [23:56:51]CAPDU: 80 17 00 00 [23:56:51]Write to MH i2c: E2 08 00 60 09 80 17 00 00 00 00 00 00 E9 [23:56:51]Write i2c OK [23:56:51]MH_I2C_Read... [23:56:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:56:51]Read from MH i2c: E2 [23:56:51]MH_I2C_Read... [23:56:51]Read from MH i2c: E2 FD 00 [23:56:51]MH_I2C_Read... [23:56:51]Read from MH i2c: E2 FD 00 60 09 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 15 [23:56:52]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:56:52]wFMCommunicate OK [23:56:52]wFMCommunicate request_size=4 [23:56:52]MH_SAM_APDU [23:56:52]CAPDU: 80 17 00 00 [23:56:52]Write to MH i2c: E2 08 00 61 09 80 17 00 00 00 00 00 00 EA [23:56:52]Write i2c OK [23:56:52]MH_I2C_Read... [23:56:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:56:52]Read from MH i2c: E2 [23:56:52]MH_I2C_Read... [23:56:52]Read from MH i2c: E2 FD 00 [23:56:52]MH_I2C_Read... [23:56:52]Read from MH i2c: E2 FD 00 61 09 00 00 00 EF 03 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 90 00 5F [23:56:52]RAPDU: 00 00 EF 03 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 90 00 [23:56:52]wFMCommunicate OK [23:56:52]wFMCommunicate request_size=4 [23:56:52]MH_SAM_APDU [23:56:52]CAPDU: 80 17 00 00 [23:56:52]Write to MH i2c: E2 08 00 62 09 80 17 00 00 00 00 00 00 EB [23:56:52]Write i2c OK [23:56:52]MH_I2C_Read... [23:56:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [23:56:53]Read from MH i2c: E2 [23:56:53]MH_I2C_Read... [23:56:53]Read from MH i2c: E2 D8 00 [23:56:53]MH_I2C_Read... [23:56:53]Read from MH i2c: E2 D8 00 62 09 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 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 D2 [23:56:53]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 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:56:53]wFMCommunicate OK [23:56:53]SAM_PROTO_GetFMData done [23:56:53]Malloc new data [23:56:53]Malloc new data [23:56:53]Malloc new data [23:56:53]Malloc new data [23:56:53]KKMLoadAndSignCloseShiftData err=0 [23:56:53]Отчет о закрытии смены ФФД: 1.0 ИНН: 02508201610067 Кассир: Султанов Б. 05.06.2024 23:56 Смена: 84 РНМ: 0000000000145775 ЗНМ: 0300000233 СНО: Общий режим Чеков за смену: 81 ФД за смену: 83 Всего чеков: 81 ИТОГИ ПРИХОД Чеков: 81 Общий итог: 15111.00 Итого наличными: 11078.00 Итого безнал.: 4033.00 НДС 0% : 0.00 НДС 12% : 1604.64 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 133.64 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 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 Нал. в кассе: 11078.00 НС Приход: 940438.31 НС Возвр.Прихода: 1764.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФД: 4224 ФМ: 0000000000959360 ФПД: 105048960686705 [23:56:53]StoreToDocumentArchive [23:56:53]shift 84 fd 4224 [23:56:53]save to /storage/0084/doc_00004224 [23:56:53]save last doc name /storage/0084/doc_00004224 to /storage/kkm_last_doc_name [23:56:53]save OK [23:56:53]Clear old archive folders... [23:56:53]Remove dir /storage/0010 [23:56:53]opendir ok [23:56:53]file . [23:56:53]file .. [23:56:53]file doc_1717631764 [23:56:53]remove file /storage/0010/doc_1717631764 [23:56:53]remove dir /storage/0010 [23:56:53]NVStorageSaveData kkm_registers [23:56:53]File name is /storage/kkm_registers [23:56:53]Write 24 bytes [23:56:53]NVStorageSaveData done [23:56:53]NVStorageSaveData kkm_registers [23:56:53]File name is /storage/kkm_registers [23:56:53]Write 24 bytes [23:56:53]NVStorageSaveData done [23:56:53]ProcessDocumentItem done err = 0, tmpTLVsize=1379 [23:56:53]tlvbuf is 01AACD90 [23:56:53]SAM_PROTO_ClearQueue [23:56:53]wFMCommunicate request_size=4 [23:56:53]MH_SAM_APDU [23:56:53]CAPDU: 80 09 00 00 [23:56:53]Write to MH i2c: E2 08 00 63 09 80 09 00 00 00 00 00 00 DE [23:56:53]Write i2c OK [23:56:53]MH_I2C_Read... [23:56:53]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:56:53]Read from MH i2c: E2 [23:56:53]MH_I2C_Read... [23:56:53]Read from MH i2c: E2 03 00 [23:56:53]MH_I2C_Read... [23:56:53]Read from MH i2c: E2 03 00 63 09 00 90 00 E0 [23:56:53]RAPDU: 90 00 [23:56:53]wFMCommunicate OK [23:56:53]SAM_PROTO_ClearQueue done [23:56:53]KKMCreateOFDPacket [23:56:53]OFDProtocolAddRootSTLVToBuf [23:56:53]FM_MakeSignedData [23:56:53]FM_MakeSignedData [23:56:53]SAM_PROTO_SignData [23:56:53]wFMCommunicate request_size=4 [23:56:53]MH_SAM_APDU [23:56:53]CAPDU: 80 0D 01 02 [23:56:53]Write to MH i2c: E2 08 00 64 09 80 0D 01 02 00 00 00 00 E6 [23:56:53]Write i2c OK [23:56:53]MH_I2C_Read... [23:56:53]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:56:53]Read from MH i2c: E2 [23:56:53]MH_I2C_Read... [23:56:53]Read from MH i2c: E2 03 00 [23:56:53]MH_I2C_Read... [23:56:53]Read from MH i2c: E2 03 00 64 09 00 90 00 E1 [23:56:53]RAPDU: 90 00 [23:56:53]wFMCommunicate OK [23:56:53]wFMCommunicate request_size=255 [23:56:53]MH_SAM_APDU [23:56:53]CAPDU: 80 0D 02 02 FA 05 00 63 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 15 00 D0 A1 D1 83 D0 BB D1 82 D0 B0 D0 BD D0 BE D0 B2 20 D0 91 2E 20 F4 03 04 00 3F FB 60 66 0E 04 04 00 54 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 5E 04 04 00 51 00 00 00 57 04 04 00 53 00 00 00 AA 04 D5 04 6E 04 04 00 51 00 00 00 69 04 A2 00 6F 04 04 00 51 00 00 00 B1 04 03 OFD Sender: No OFD packet to send [23:56:53]00 BC 0E 17 70 04 03 00 58 E7 10 72 04 03 00 64 27 06 00 04 81 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 D0 72 02 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 [23:56:53]Write to MH i2c: E2 02 01 65 09 80 0D 02 02 FA 00 05 00 63 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 15 00 D0 A1 D1 83 D0 BB D1 82 D0 B0 D0 BD D0 BE D0 B2 20 D0 91 2E 20 F4 03 04 00 3F FB 60 66 0E 04 04 00 54 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 5E 04 04 00 51 00 00 00 57 04 04 00 53 00 00 00 AA 04 D5 04 6E 04 04 00 51 00 00 00 69 04 A2 00 6F 04 04 00 51 00 00 00 B1 04 03 00 BC 0E 17 70 04 03 00 58 E7 10 72 04 03 00 64 27 06 00 04 81 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 D0 72 02 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 00 00 7C [23:56:54]Write i2c OK [23:56:54]MH_I2C_Read... [23:56:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:56:54]Read from MH i2c: E2 [23:56:54]MH_I2C_Read... [23:56:54]Read from MH i2c: E2 03 00 [23:56:54]MH_I2C_Read... [23:56:54]Read from MH i2c: E2 03 00 65 09 00 90 00 E2 [23:56:54]RAPDU: 90 00 [23:56:54]wFMCommunicate OK [23:56:54]wFMCommunicate request_size=255 [23:56:54]MH_SAM_APDU [23:56:54]CAPDU: 80 0D 02 02 FA 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 34 34 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 [23:56:54]Write to MH i2c: E2 02 01 66 09 80 0D 02 02 FA 00 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 34 34 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 00 00 B3 [23:56:54]Write i2c OK [23:56:54]MH_I2C_Read... [23:56:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:56:54]Read from MH i2c: E2 [23:56:54]MH_I2C_Read... [23:56:54]Read from MH i2c: E2 03 00 [23:56:54]MH_I2C_Read... [23:56:54]Read from MH i2c: E2 03 00 66 09 00 90 00 E3 [23:56:54]RAPDU: 90 00 [23:56:54]wFMCommunicate OK [23:56:54]wFMCommunicate request_size=255 [23:56:54]MH_SAM_APDU [23:56:54]CAPDU: 80 0D 02 02 FA 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 [23:56:55]Write to MH i2c: E2 02 01 67 09 80 0D 02 02 FA 00 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 00 00 B9 [23:56:55]Write i2c OK [23:56:55]MH_I2C_Read... [23:56:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:56:55]Read from MH i2c: E2 [23:56:55]MH_I2C_Read... [23:56:55]Read from MH i2c: E2 03 00 [23:56:55]MH_I2C_Read... [23:56:55]Read from MH i2c: E2 03 00 67 09 00 90 00 E4 [23:56:55]RAPDU: 90 00 [23:56:55]wFMCommunicate OK [23:56:55]wFMCommunicate request_size=255 [23:56:55]MH_SAM_APDU [23:56:55]CAPDU: 80 0D 02 02 FA 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 [23:56:55]Write to MH i2c: E2 02 01 68 09 80 0D 02 02 FA 00 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 00 00 AE [23:56:55]Write i2c OK [23:56:55]MH_I2C_Read... [23:56:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:56:56]Read from MH i2c: E2 [23:56:56]MH_I2C_Read... [23:56:56]Read from MH i2c: E2 03 00 [23:56:56]MH_I2C_Read... [23:56:56]Read from MH i2c: E2 03 00 68 09 00 90 00 E5 [23:56:56]RAPDU: 90 00 [23:56:56]wFMCommunicate OK [23:56:56]wFMCommunicate request_size=255 [23:56:56]MH_SAM_APDU [23:56:56]CAPDU: 80 0D 02 02 FA 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [23:56:56]Write to MH i2c: E2 02 01 69 09 80 0D 02 02 FA 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 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 00 00 7F [23:56:56]Write i2c OK [23:56:56]MH_I2C_Read... [23:56:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:56:56]Read from MH i2c: E2 [23:56:56]MH_I2C_Read... [23:56:56]Read from MH i2c: E2 03 00 [23:56:56]MH_I2C_Read... [23:56:56]Read from MH i2c: E2 03 00 69 09 00 90 00 E6 [23:56:56]RAPDU: 90 00 [23:56:56]wFMCommunicate OK [23:56:56]wFMCommunicate request_size=138 [23:56:56]MH_SAM_APDU [23:56:56]CAPDU: 80 0D 02 02 85 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 80 10 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 35 04 06 00 5F 8A 9D FC 5A 71 [23:56:56]Write to MH i2c: E2 8D 00 6A 09 80 0D 02 02 85 00 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 80 10 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 35 04 06 00 5F 8A 9D FC 5A 71 00 00 04 [23:56:57]Write i2c OK [23:56:57]MH_I2C_Read... [23:56:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:56:57]Read from MH i2c: E2 [23:56:57]MH_I2C_Read... [23:56:57]Read from MH i2c: E2 03 00 [23:56:57]MH_I2C_Read... [23:56:57]Read from MH i2c: E2 03 00 6A 09 00 90 00 E7 [23:56:57]RAPDU: 90 00 [23:56:57]wFMCommunicate OK [23:56:57]wFMCommunicate request_size=4 [23:56:57]MH_SAM_APDU [23:56:57]CAPDU: 80 0D 03 02 [23:56:57]Write to MH i2c: E2 08 00 6B 09 80 0D 03 02 00 00 00 00 EF [23:56:57]Write i2c OK [23:56:57]MH_I2C_Read... [23:56:57]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:56:57]Read from MH i2c: E2 [23:56:57]MH_I2C_Read... [23:56:57]Read from MH i2c: E2 0B 00 [23:56:57]MH_I2C_Read... [23:56:57]Read from MH i2c: E2 0B 00 6B 09 00 21 81 91 FA 98 F1 F2 EE 90 00 86 [23:56:57]RAPDU: 21 81 91 FA 98 F1 F2 EE 90 00 [23:56:57]wFMCommunicate OK [23:56:57]SAM_PROTO_SignData done [23:56:57]FM_MakeSignedData done [23:56:57]CreateOFDProtocolMessage [23:56:57]wFMCommunicate request_size=4 [23:56:57]MH_SAM_APDU [23:56:57]CAPDU: 80 11 00 00 [23:56:57]Write to MH i2c: E2 08 00 6C 09 80 11 00 00 00 00 00 00 EF [23:56:57]Write i2c OK [23:56:57]MH_I2C_Read... [23:56:57]Read from MH i2c: E2 [23:56:57]MH_I2C_Read... [23:56:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:56:57]Read from MH i2c: E2 17 00 [23:56:57]MH_I2C_Read... [23:56:57]Read from MH i2c: E2 17 00 6C 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 42 [23:56:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [23:56:57]wFMCommunicate OK [23:56:57]CreateOFDProtocolMessage done [23:56:57]OFDSenderStorePacket 4224 [23:56:57]StoreOFDPacket docnum=4224 [23:56:57]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 77 05 00 00 2C E7 6F 05 82 A1 5A 05 01 00 05 00 63 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 15 00 D0 A1 D1 83 D0 BB D1 82 D0 B0 D0 BD D0 BE D0 B2 20 D0 91 2E 20 F4 03 04 00 3F FB 60 66 0E 04 04 00 54 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 5E 04 04 00 51 00 00 00 57 04 04 00 53 00 00 00 AA 04 D5 04 6E 04 04 00 51 00 00 00 69 04 A2 00 6F 04 04 00 51 00 00 00 B1 04 03 00 BC 0E 17 70 04 03 00 58 E7 10 72 04 03 00 64 27 06 00 04 81 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 D0 72 02 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 34 34 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 80 10 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 35 04 06 00 5F 8A 9D FC 5A 71 21 81 91 FA 98 F1 F2 EE [23:56:57]CheckFolder [23:56:57]dirname=/storage/ofd_packets [23:56:57]CheckFolder done [23:56:57]ProducePacketName [23:56:57]name=ofd_packets/00004224 [23:56:57]NVStorageSaveData ofd_packets/00004224 [23:56:57]File name is /storage/ofd_packets/00004224 [23:56:57]Write 1429 bytes [23:56:57]NVStorageSaveData done [23:56:57]OFDSenderStorePacket done [23:56:57]KKMCreateOFDPacket done [23:56:57]NVStorageSaveData kkm_last_timestamp [23:56:57]File name is /storage/kkm_last_timestamp [23:56:57]Write 4 bytes [23:56:57]OFD Sender: Processing packet 4224 [packets to send 2, broken 1] [23:56:57]ProducePacketName [23:56:57]name=ofd_packets/00004224 [23:56:57]OFD Sender: To server: pG, [23:56:57]CommunicateWithHost lk.salyk.kg:30040 [23:56:57]ConnectInit lk.salyk.kg [23:56:57]NVStorageSaveData done [23:56:57]ExternCall_PrintAddStr [23:56:57]wPrintStart [23:56:57]Write to MH i2c: 01 00 00 6D 09 76 [23:56:57]Write i2c OK [23:56:57]MH_I2C_Read... [23:56:57]Read from MH i2c: 01 [23:56:57]MH_I2C_Read... [23:56:57]Read from MH i2c: 01 07 00 [23:56:57]MH_I2C_Read... [23:56:57]Read from MH i2c: 01 07 00 6D 09 00 00 00 00 00 FF 0F 8B [23:56:57]RasterBufferAndPrint [23:56:57]line Отчет о закрытии смены [23:56:57]line ФФД: 1.0 [23:56:57]line ИНН: 02508201610067 [23:56:57]line Кассир: Султанов Б. [23:56:57]line 05.06.2024 23:56 [23:56:57]line Смена: 84 [23:56:57]line РНМ: 0000000000145775 [23:56:57]line ЗНМ: 0300000233 [23:56:57]line СНО: Общий режим [23:56:57]line Чеков за смену: 81 [23:56:57]line ФД за смену: 83 [23:56:57]line Всего чеков: 81 [23:56:57]line ИТОГИ ПРИХОД [23:56:57]line Чеков: 81 [23:56:57]line Общий итог: 15111.00 [23:56:57]line Итого наличными: 11078.00 [23:56:57]line Итого безнал.: 4033.00 [23:56:57]line НДС 0% : 0.00 [23:56:57]line НДС 12% : 1604.64 [23:56:57]line НСП 0% : 0.00 [23:56:57]line НСП 1,50% : 0.00 [23:56:57]line НСП 0,50% : 0.00 [23:56:57]line НСП 5% : 0.00 [23:56:57]line НСП 3% : 0.00 [23:56:57]line НСП 2% : 0.00 [23:56:57]line НСП 1% : 133.64 [23:56:57]line ИТОГИ ВОЗВРАТ ПРИХОДА [23:56:57]line Чеков: 0 [23:56:57]line Общий итог: 0.00 [23:56:57]line Итого наличными: 0.00 [23:56:57]line Итого безнал.: 0.00 [23:56:57]line НДС 0% : 0.00 [23:56:57]line НДС 12% : 0.00 [23:56:57]line НСП 0% : 0.00 [23:56:57]line НСП 1,50% : 0.00 [23:56:57]line НСП 0,50% : 0.00 [23:56:57]line НСП 5% : 0.00 [23:56:57]line НСП 3% : 0.00 [23:56:57]line НСП 2% : 0.00 [23:56:57]line НСП 1% : 0.00 [23:56:57]line ИТОГИ РАСХОД [23:56:57]line Чеков: 0 [23:56:57]line Общий итог: 0.00 [23:56:57]line Итого наличными: 0.00 [23:56:57]line Итого безнал.: 0.00 [23:56:57]Connected sock=11 [23:56:57]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 77 05 00 00 2C E7 6F 05 82 A1 5A 05 01 00 05 00 63 05 B9 04 01 00 01 FA 03 0E 00 30 32 35 line НДС 0% : 0.00 [23:56:57]30 line НДС 12% : 0.00 [23:56:57]38 line НСП 0% : 0.00 [23:56:57]32 line НСП 1,50% : 0.00 [23:56:57]30 line НСП 0,50% : 0.00 [23:56:57]31 line НСП 5% : 0.00 [23:56:57]36 line НСП 3% : 0.00 [23:56:57]31 line НСП 2% : 0.00 [23:56:57]30 line НСП 1% : 0.00 [23:56:57]30 line ИТОГИ ВОЗВРАТ РАСХОДА [23:56:57]36 line Чеков: 0 [23:56:57]37 line Общий итог: 0.00 [23:56:57]FD line Итого наличными: 0.00 [23:56:57]03 15 00 D0 A1 D1 83 D0 BB D1 82 D0 B0 D0 line Итого безнал.: 0.00 [23:56:57]BD line НДС 0% : 0.00 [23:56:57]D0 line НДС 12% : 0.00 [23:56:57]BE line НСП 0% : 0.00 [23:56:57]D0 line НСП 1,50% : 0.00 [23:56:57]B2 line НСП 0,50% : 0.00 [23:56:57]20 line НСП 5% : 0.00 [23:56:57]D0 line НСП 3% : 0.00 [23:56:57]91 line НСП 2% : 0.00 [23:56:57]2E line НСП 1% : 0.00 [23:56:57]20 line Сумма внесений: 0.00 [23:56:57]F4 line Сумма выплат: 0.00 [23:56:57]03 line Нал. в кассе: 11078.00 [23:56:57]04 line НС Приход: 940438.31 [23:56:57]00 line НС Возвр.Прихода: 1764.00 [23:56:57]3F line НС Расход: 0.00 [23:56:57]FB line НС Возвр.Расхода: 0.00 [23:56:57]60 line ФД: 4224 [23:56:57]66 line ФМ: 0000000000959360 [23:56:57]0E line ФПД: 105048960686705 [23:56:57]04 04 00 54 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 5E 04 04 00 51 00 00 00 57 04 04 00 53 00 00 00 AA 04 D5 04 6E 04 04 00 51 00 00 00 69 04 A2 00 6F 04 04 00 51 00 00 00 B1 04 03 00 BC 0E 17 70 04 03 00 58 E7 10 72 04 03 00 64 27 06 00 04 81 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 D0 72 02 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 written 0, free lines is 4095 [23:56:58]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 34 34 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 Write to MH i2c: 70 01 04 00 00 00 00 BD 72 09 04 C6 00 [23:56:59]00 00 Write i2c OK [23:56:59]04 MH_I2C_Read... [23:56:59]75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE Read from MH i2c: 03 01 09 [23:56:59]00 MH_I2C_Read... [23:56:59]F2 Read from MH i2c: 03 01 01 07 00 00 01 [23:56:59]F3 MH_I2C_Read... [23:56:59]03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF Read from MH i2c: 03 01 09 07 00 00 F6 BD 03 09 01 00 00 00 01 00 F7 00 03 00 00 FE 00 09 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 D4 EF [23:56:59]03 RasterBufferAndPrint [23:56:59]09 line [23:56:59]00 line [23:56:59]F6 line [23:56:59]03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 line [23:56:59]01 line [23:56:59]00 04 written 0, free lines is 2685 [23:56:59]F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 MH_Cut [23:56:59]EF Write to MH i2c: 03 D1 09 01 00 00 F6 C4 03 09 01 00 06 F7 03 00 00 10 04 04 00 80 10 01 00 9F 00 [23:56:59]11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 35 Write i2c OK [23:56:59]04 MH_I2C_Read... [23:56:59]06 Read from MH i2c: 00 D1 5F [23:56:59]8A MH_I2C_Read... [23:56:59]9D FC 5A 71 21 81 91 FA 98 F1 F2 EE Read from MH i2c: [23:56:59]D1 01 00 [23:56:59]MH_I2C_Read... [23:56:59]Read from MH i2c: D1 01 00 C4 09 00 9E [23:56:59]Write to MH i2c: 01 00 00 C5 09 CE [23:56:59]Write i2c OK [23:56:59]MH_I2C_Read... [23:56:59]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 16 45 47 00 73 91 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 80 10 00 00 F4 03 04 00 4C A7 60 66 B6 04 01 00 00 F7 C0 45 6B BE BE 68 DD [23:56:59]CommunicateWithHost err = 0 [23:56:59]CheckOFDResponse [23:56:59]1017 (14) - 77093643461234 [23:56:59]1041 (16) - 0000000000959360 [23:56:59]1040 (4) - 4224 [23:56:59]1012 (4) - 05.06.2024 17:58 [23:56:59]1206 (1) - 0 [23:56:59]OFD Sender: Remove packet 4224 [23:56:59]ProducePacketName [23:56:59]name=ofd_packets/00004224 [23:56:59]NVStorageDeleteData [23:56:59]OFD Sender: No OFD packet to send [23:57:00]*** Cut start [23:57:00]*** Partial cut [23:57:00]*** CUTSNS_PIN = 1 [23:57:00]*** CUTSNS_PIN = 0 [23:57:00]*** Brake cut motor [23:57:00]Read from MH i2c: 01 [23:57:00]MH_I2C_Read... [23:57:00]*** Stop cut motor [23:57:00]*** Cut end [23:57:00]Read from MH i2c: 01 07 00 [23:57:00]MH_I2C_Read... [23:57:00]Read from MH i2c: 01 07 00 C5 09 00 00 00 00 00 FF 0F E3 [23:57:00]process_action close_shift done [23:57:00]requested_data is exist [23:57:00]produce_requested_data [23:57:00]requested_item fd.num is exist - process it [23:57:00]SAM_PROTO_GetFieldsCounters [23:57:00]wFMCommunicate request_size=4 [23:57:00]MH_SAM_APDU [23:57:00]CAPDU: 80 13 00 00 [23:57:00]Write to MH i2c: E2 08 00 C6 09 80 13 00 00 00 00 00 00 4B [23:57:00]Write i2c OK [23:57:00]MH_I2C_Read... [23:57:01]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:57:01]Read from MH i2c: E2 [23:57:01]MH_I2C_Read... [23:57:01]Read from MH i2c: E2 62 00 [23:57:01]MH_I2C_Read... [23:57:01]Read from MH i2c: E2 62 00 C6 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 80 10 00 00 0E 04 04 00 54 00 00 00 12 04 04 00 51 00 00 00 5E 04 04 00 51 00 00 00 57 04 04 00 53 00 00 00 19 04 04 00 00 00 00 00 90 00 48 [23:57:01]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 80 10 00 00 0E 04 04 00 54 00 00 00 12 04 04 00 51 00 00 00 5E 04 04 00 51 00 00 00 57 04 04 00 53 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:57:01]wFMCommunicate OK [23:57:01]SAM_PROTO_GetFieldsCounters done [23:57:01]requested_item shift.num is exist - process it [23:57:01]requested_item shift.opened is exist - process it [23:57:01]req_shift_opened [23:57:01]FM_GetShiftState [23:57:01]SAM_PROTO_GetShiftState [23:57:01]wFMCommunicate request_size=4 [23:57:01]MH_SAM_APDU [23:57:01]CAPDU: 80 13 01 00 [23:57:01]Write to MH i2c: E2 08 00 C7 09 80 13 01 00 00 00 00 00 4D [23:57:01]Write i2c OK [23:57:01]MH_I2C_Read... [23:57:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:57:01]Read from MH i2c: E2 [23:57:01]MH_I2C_Read... [23:57:01]Read from MH i2c: E2 0E 00 [23:57:01]MH_I2C_Read... [23:57:01]Read from MH i2c: E2 0E 00 C7 09 00 09 00 00 00 00 00 00 00 00 00 00 90 00 58 [23:57:01]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [23:57:01]wFMCommunicate OK [23:57:01]SAM_PROTO_GetShiftState done [23:57:01]FM_GetShiftState done [23:57:01]req_shift_opened done [23:57:01]requested_item shift.open_date is exist - process it [23:57:01]req_shift_open_date [23:57:01]FM_GetShiftState [23:57:01]SAM_PROTO_GetShiftState [23:57:01]wFMCommunicate request_size=4 [23:57:01]MH_SAM_APDU [23:57:01]CAPDU: 80 13 01 00 [23:57:01]Write to MH i2c: E2 08 00 C8 09 80 13 01 00 00 00 00 00 4E [23:57:01]Write i2c OK [23:57:01]MH_I2C_Read... [23:57:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:57:01]Read from MH i2c: E2 [23:57:01]MH_I2C_Read... [23:57:01]Read from MH i2c: E2 0E 00 [23:57:01]MH_I2C_Read... [23:57:01]Read from MH i2c: E2 0E 00 C8 09 00 09 00 00 00 00 00 00 00 00 00 00 90 00 59 [23:57:01]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [23:57:01]wFMCommunicate OK [23:57:01]SAM_PROTO_GetShiftState done [23:57:01]FM_GetShiftState done [23:57:01]req_shift_open_date done [23:57:01]produce_requested_data done [23:57:01]produce_requested_data return {"fd.num":4224,"shift.num":84,"shift.opened":0,"shift.open_date":0} [23:57:01]process_action_free close_shift [23:57:01]json_value_free [23:57:01]json_value_free done [23:57:01]process_json_proto returns [23:57:01]Send response to host [23:57:01]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":4224,"shift.num":84,"shift.opened":0,"shift.open_date":0}}} [23:57:01]free response buf [23:57:01]execute_script done [23:57:01]execute_script returns [23:57:01]free content buf [23:57:01]Sock 8.Close socket [23:57:01]Sock 8.Thread stoped [23:57:04]OFD Sender: No OFD packet to send [23:57:09]OFD Sender: No OFD packet to send [23:57:14]OFD Sender: No OFD packet to send [23:57:19]OFD Sender: No OFD packet to send [23:57:25]OFD Sender: No OFD packet to send [23:57:30]OFD Sender: No OFD packet to send [23:57:35]OFD Sender: No OFD packet to send [23:57:40]OFD Sender: No OFD packet to send [23:57:45]OFD Sender: No OFD packet to send [23:57:50]OFD Sender: No OFD packet to send [23:57:55]OFD Sender: No OFD packet to send [23:58:00]OFD Sender: No OFD packet to send [23:58:05]OFD Sender: No OFD packet to send [23:58:10]OFD Sender: No OFD packet to send [23:58:15]OFD Sender: No OFD packet to send [23:58:20]OFD Sender: No OFD packet to send [23:58:25]OFD Sender: No OFD packet to send [23:58:30]OFD Sender: No OFD packet to send [23:58:35]OFD Sender: No OFD packet to send [23:58:40]OFD Sender: No OFD packet to send [23:58:45]OFD Sender: No OFD packet to send [23:58:50]OFD Sender: No OFD packet to send [23:58:55]OFD Sender: No OFD packet to send [23:59:00]OFD Sender: No OFD packet to send [23:59:05]OFD Sender: No OFD packet to send [23:59:10]OFD Sender: No OFD packet to send [23:59:15]OFD Sender: No OFD packet to send [23:59:20]OFD Sender: No OFD packet to send [23:59:25]OFD Sender: No OFD packet to send [23:59:30]OFD Sender: No OFD packet to send [23:59:35]OFD Sender: No OFD packet to send [23:59:40]OFD Sender: No OFD packet to send [23:59:45]OFD Sender: No OFD packet to send [23:59:50]OFD Sender: No OFD packet to send [23:59:55]OFD Sender: No OFD packet to send [00:00:00]OFD Sender: No OFD packet to send [00:00:05]OFD Sender: No OFD packet to send [00:00:10]OFD Sender: No OFD packet to send [00:00:15]OFD Sender: No OFD packet to send [00:00:20]OFD Sender: No OFD packet to send [00:00:25]OFD Sender: No OFD packet to send [00:00:30]OFD Sender: No OFD packet to send [00:00:35]OFD Sender: No OFD packet to send [00:00:40]OFD Sender: No OFD packet to send [00:00:45]OFD Sender: No OFD packet to send [00:00:50]OFD Sender: No OFD packet to send [00:00:55]OFD Sender: No OFD packet to send [00:01:00]OFD Sender: No OFD packet to send [00:01:05]OFD Sender: No OFD packet to send [00:01:10]OFD Sender: No OFD packet to send [00:01:15]OFD Sender: No OFD packet to send [00:01:20]OFD Sender: No OFD packet to send [00:01:25]OFD Sender: No OFD packet to send [00:01:30]OFD Sender: No OFD packet to send [00:01:35]OFD Sender: No OFD packet to send [00:01:40]OFD Sender: No OFD packet to send [00:01:45]OFD Sender: No OFD packet to send [00:01:50]OFD Sender: No OFD packet to send [00:01:55]OFD Sender: No OFD packet to send [00:02:00]OFD Sender: No OFD packet to send [00:02:05]OFD Sender: No OFD packet to send [00:02:10]OFD Sender: No OFD packet to send [00:02:15]OFD Sender: No OFD packet to send [00:02:20]OFD Sender: No OFD packet to send [00:02:25]OFD Sender: No OFD packet to send [00:02:30]OFD Sender: No OFD packet to send [00:02:35]OFD Sender: No OFD packet to send [00:02:40]OFD Sender: No OFD packet to send [00:02:45]OFD Sender: No OFD packet to send [00:02:50]OFD Sender: No OFD packet to send [00:02:55]OFD Sender: No OFD packet to send [00:03:00]OFD Sender: No OFD packet to send [00:03:05]OFD Sender: No OFD packet to send [00:03:10]OFD Sender: No OFD packet to send [00:03:15]OFD Sender: No OFD packet to send [00:03:20]OFD Sender: No OFD packet to send [00:03:25]OFD Sender: No OFD packet to send [00:03:30]OFD Sender: No OFD packet to send [00:03:35]OFD Sender: No OFD packet to send [00:03:40]OFD Sender: No OFD packet to send [00:03:45]OFD Sender: No OFD packet to send [00:03:50]OFD Sender: No OFD packet to send [00:03:55]OFD Sender: No OFD packet to send [00:04:00]OFD Sender: No OFD packet to send [00:04:05]OFD Sender: No OFD packet to send [00:04:10]OFD Sender: No OFD packet to send [00:04:15]OFD Sender: No OFD packet to send [00:04:20]OFD Sender: No OFD packet to send [00:04:25]OFD Sender: No OFD packet to send [00:04:30]OFD Sender: No OFD packet to send [00:04:35]OFD Sender: No OFD packet to send [00:04:40]OFD Sender: No OFD packet to send [00:04:45]OFD Sender: No OFD packet to send [00:04:50]OFD Sender: No OFD packet to send [00:04:55]OFD Sender: No OFD packet to send [00:05:00]OFD Sender: No OFD packet to send [00:05:05]OFD Sender: No OFD packet to send [00:05:10]OFD Sender: No OFD packet to send [00:05:15]OFD Sender: No OFD packet to send [00:05:20]OFD Sender: No OFD packet to send [00:05:25]OFD Sender: No OFD packet to send [00:05:30]OFD Sender: No OFD packet to send [00:05:35]OFD Sender: No OFD packet to send [00:05:40]OFD Sender: No OFD packet to send [00:05:45]OFD Sender: No OFD packet to send [00:05:50]OFD Sender: No OFD packet to send [00:05:55]OFD Sender: No OFD packet to send [00:06:00]OFD Sender: No OFD packet to send [00:06:05]OFD Sender: No OFD packet to send [00:06:10]OFD Sender: No OFD packet to send [00:06:15]OFD Sender: No OFD packet to send [00:06:20]OFD Sender: No OFD packet to send [00:06:25]OFD Sender: No OFD packet to send [00:06:30]OFD Sender: No OFD packet to send [00:06:35]OFD Sender: No OFD packet to send [00:06:40]OFD Sender: No OFD packet to send [00:06:45]OFD Sender: No OFD packet to send [00:06:50]OFD Sender: No OFD packet to send [00:06:55]OFD Sender: No OFD packet to send [00:07:00]OFD Sender: No OFD packet to send [00:07:05]OFD Sender: No OFD packet to send [00:07:10]OFD Sender: No OFD packet to send [00:07:15]OFD Sender: No OFD packet to send [00:07:20]OFD Sender: No OFD packet to send [00:07:25]OFD Sender: No OFD packet to send [00:07:30]OFD Sender: No OFD packet to send [00:07:35]OFD Sender: No OFD packet to send [00:07:40]OFD Sender: No OFD packet to send [00:07:45]OFD Sender: No OFD packet to send [00:07:50]OFD Sender: No OFD packet to send [00:07:55]OFD Sender: No OFD packet to send [00:08:00]OFD Sender: No OFD packet to send [00:08:05]OFD Sender: No OFD packet to send [00:08:10]OFD Sender: No OFD packet to send [00:08:15]OFD Sender: No OFD packet to send [00:08:20]OFD Sender: No OFD packet to send [00:08:25]OFD Sender: No OFD packet to send [00:08:30]OFD Sender: No OFD packet to send [00:08:35]OFD Sender: No OFD packet to send [00:08:40]OFD Sender: No OFD packet to send [00:08:45]OFD Sender: No OFD packet to send [00:08:50]OFD Sender: No OFD packet to send [00:08:55]OFD Sender: No OFD packet to send [00:09:00]OFD Sender: No OFD packet to send [00:09:05]OFD Sender: No OFD packet to send [00:09:10]OFD Sender: No OFD packet to send [00:09:15]OFD Sender: No OFD packet to send [00:09:20]OFD Sender: No OFD packet to send [00:09:25]OFD Sender: No OFD packet to send [00:09:30]OFD Sender: No OFD packet to send [00:09:35]OFD Sender: No OFD packet to send [00:09:40]OFD Sender: No OFD packet to send [00:09:45]OFD Sender: No OFD packet to send [00:09:50]OFD Sender: No OFD packet to send [00:09:55]OFD Sender: No OFD packet to send [00:10:00]OFD Sender: No OFD packet to send [00:10:05]OFD Sender: No OFD packet to send [00:10:10]OFD Sender: No OFD packet to send [00:10:15]OFD Sender: No OFD packet to send [00:10:20]OFD Sender: No OFD packet to send [00:10:25]OFD Sender: No OFD packet to send [00:10:30]OFD Sender: No OFD packet to send [00:10:35]OFD Sender: No OFD packet to send [00:10:40]OFD Sender: No OFD packet to send [00:10:45]OFD Sender: No OFD packet to send [00:10:50]OFD Sender: No OFD packet to send [00:10:55]OFD Sender: No OFD packet to send [00:11:00]OFD Sender: No OFD packet to send [00:11:05]OFD Sender: No OFD packet to send [00:11:10]OFD Sender: No OFD packet to send [00:11:15]OFD Sender: No OFD packet to send [00:11:20]OFD Sender: No OFD packet to send [00:11:25]OFD Sender: No OFD packet to send [00:11:30]OFD Sender: No OFD packet to send [00:11:35]OFD Sender: No OFD packet to send [00:11:40]OFD Sender: No OFD packet to send [00:11:45]OFD Sender: No OFD packet to send [00:11:50]OFD Sender: No OFD packet to send [00:11:55]OFD Sender: No OFD packet to send [00:12:00]OFD Sender: No OFD packet to send [00:12:05]OFD Sender: No OFD packet to send [00:12:10]OFD Sender: No OFD packet to send [00:12:15]OFD Sender: No OFD packet to send [00:12:19]accept exits with 9 [00:12:19]New connection [00:12:19]New thread 3066629476 created [00:12:19]Thread 3066772836 joined [00:12:19]Waiting for new connection... [00:12:19] Sock 9.Parse request [00:12:19]Sock 9.Check first char [00:12:19]Sock 9.First char is OK [00:12:19]request: POST /json_proto HTTP/1.0 [00:12:19]Method: POST [00:12:19]URL: /json_proto [00:12:19]Method is POST - this is cgi request [00:12:19]url: /json_proto [00:12:19]query_string will be loaded in cgi processing [00:12:19]execute_cgi json_proto POST (null) [00:12:19]execute_cgi path=json_proto method=POST [00:12:19]POST find Content-Length [00:12:19]Host: 172.17.56.68:8080 [00:12:19]Content-Length: 215 [00:12:19]Content-Type: application/json [00:12:19] [00:12:19]POST finish read [00:12:19]Found Content-Length = 215 [00:12:19]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:12:19]execute_script... [00:12:19]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:12:19]POST & json_proto [00:12:19]process_json_proto [00:12:19]json parsed OK: [00:12:19]protocol is kg_v1.0 [00:12:19]action value=get_value [00:12:19]process_action get_value [00:12:19]cmd_get_value [00:12:19]process_action get_value done [00:12:19]requested_data is exist [00:12:19]produce_requested_data [00:12:19]requested_item kkm.sn is exist - process it [00:12:19]requested_item kkm.ver is exist - process it [00:12:19]requested_item fm.sn is exist - process it [00:12:19]wFMCommunicate request_size=4 [00:12:19]MH_SAM_APDU [00:12:19]CAPDU: 80 11 00 00 [00:12:19]Write to MH i2c: E2 08 00 C9 09 80 11 00 00 00 00 00 00 4C [00:12:19]Write i2c OK [00:12:19]MH_I2C_Read... [00:12:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:12:19]Read from MH i2c: E2 [00:12:19]MH_I2C_Read... [00:12:19]Read from MH i2c: E2 17 00 [00:12:19]MH_I2C_Read... [00:12:19]Read from MH i2c: E2 17 00 C9 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 9F [00:12:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [00:12:19]wFMCommunicate OK [00:12:19]requested_item fd.num is exist - process it [00:12:19]SAM_PROTO_GetFieldsCounters [00:12:19]wFMCommunicate request_size=4 [00:12:19]MH_SAM_APDU [00:12:19]CAPDU: 80 13 00 00 [00:12:19]Write to MH i2c: E2 08 00 CA 09 80 13 00 00 00 00 00 00 4F [00:12:19]Write i2c OK [00:12:19]MH_I2C_Read... [00:12:19]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:12:19]Read from MH i2c: E2 [00:12:19]MH_I2C_Read... [00:12:19]Read from MH i2c: E2 62 00 [00:12:19]MH_I2C_Read... [00:12:19]Read from MH i2c: E2 62 00 CA 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 80 10 00 00 0E 04 04 00 54 00 00 00 12 04 04 00 51 00 00 00 5E 04 04 00 51 00 00 00 57 04 04 00 53 00 00 00 19 04 04 00 00 00 00 00 90 00 4C [00:12:19]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 80 10 00 00 0E 04 04 00 54 00 00 00 12 04 04 00 51 00 00 00 5E 04 04 00 51 00 00 00 57 04 04 00 53 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:12:19]wFMCommunicate OK [00:12:19]SAM_PROTO_GetFieldsCounters done [00:12:19]requested_item shift.num is exist - process it [00:12:19]requested_item shift.opened is exist - process it [00:12:19]req_shift_opened [00:12:19]FM_GetShiftState [00:12:19]SAM_PROTO_GetShiftState [00:12:19]wFMCommunicate request_size=4 [00:12:19]MH_SAM_APDU [00:12:19]CAPDU: 80 13 01 00 [00:12:19]Write to MH i2c: E2 08 00 CB 09 80 13 01 00 00 00 00 00 51 [00:12:19]Write i2c OK [00:12:19]MH_I2C_Read... [00:12:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:12:19]Read from MH i2c: E2 [00:12:19]MH_I2C_Read... [00:12:19]Read from MH i2c: E2 0E 00 [00:12:19]MH_I2C_Read... [00:12:19]Read from MH i2c: E2 0E 00 CB 09 00 09 00 00 00 00 00 00 00 00 00 00 90 00 5C [00:12:19]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:12:19]wFMCommunicate OK [00:12:19]SAM_PROTO_GetShiftState done [00:12:19]FM_GetShiftState done [00:12:19]req_shift_opened done [00:12:19]requested_item shift.open_date is exist - process it [00:12:19]req_shift_open_date [00:12:19]FM_GetShiftState [00:12:19]SAM_PROTO_GetShiftState [00:12:19]wFMCommunicate request_size=4 [00:12:19]MH_SAM_APDU [00:12:19]CAPDU: 80 13 01 00 [00:12:19]Write to MH i2c: E2 08 00 CC 09 80 13 01 00 00 00 00 00 52 [00:12:19]Write i2c OK [00:12:19]MH_I2C_Read... [00:12:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:12:19]Read from MH i2c: E2 [00:12:19]MH_I2C_Read... [00:12:19]Read from MH i2c: E2 0E 00 [00:12:19]MH_I2C_Read... [00:12:19]Read from MH i2c: E2 0E 00 CC 09 00 09 00 00 00 00 00 00 00 00 00 00 90 00 5D [00:12:19]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:12:19]wFMCommunicate OK [00:12:19]SAM_PROTO_GetShiftState done [00:12:19]FM_GetShiftState done [00:12:19]req_shift_open_date done [00:12:19]produce_requested_data done [00:12:19]produce_requested_data return {"kkm.sn":"0300000233","kkm.ver":"v1.0","fm.sn":"0000000000959360","fd.num":4224,"shift.num":84,"shift.opened":0,"shift.open_date":0} [00:12:19]process_action_free get_value [00:12:19]json_value_free [00:12:19]json_value_free done [00:12:19]process_json_proto returns [00:12:19]Send response to host [00:12:19]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000233","kkm.ver":"v1.0","fm.sn":"0000000000959360","fd.num":4224,"shift.num":84,"shift.opened":0,"shift.open_date":0}}} [00:12:19]free response buf [00:12:19]execute_script done [00:12:19]execute_script returns [00:12:19]free content buf [00:12:19]Sock 9.Close socket [00:12:19]Sock 9.Thread stoped [00:12:19]accept exits with 8 [00:12:19]New connection [00:12:19]New thread 3066772836 created [00:12:19]Thread 3066629476 joined [00:12:19]Waiting for new connection... [00:12:19] Sock 8.Parse request [00:12:19]Sock 8.Check first char [00:12:19]Sock 8.First char is OK [00:12:19]request: POST /json_proto HTTP/1.0 [00:12:19]Method: POST [00:12:19]URL: /json_proto [00:12:19]Method is POST - this is cgi request [00:12:19]url: /json_proto [00:12:19]query_string will be loaded in cgi processing [00:12:19]execute_cgi json_proto POST (null) [00:12:19]execute_cgi path=json_proto method=POST [00:12:19]POST find Content-Length [00:12:19]Host: 172.17.56.68:8080 [00:12:19]Content-Length: 331 [00:12:19]Content-Type: application/json [00:12:19] [00:12:19]POST finish read [00:12:19]Found Content-Length = 331 [00:12:19]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:12:19]execute_script... [00:12:20]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:12:20]POST & json_proto [00:12:20]process_json_proto [00:12:20]json parsed OK: [00:12:20]protocol is kg_v1.0 [00:12:20]action value=get_value [00:12:20]process_action get_value [00:12:20]cmd_get_value [00:12:20]process_action get_value done [00:12:20]requested_data is exist [00:12:20]produce_requested_data [00:12:20]requested_item fm.sale.total is exist - process it [00:12:20]SAM_PROTO_GetFMData [00:12:20]wFMCommunicate request_size=4 [00:12:20]MH_SAM_APDU [00:12:20]CAPDU: 80 13 03 00 [00:12:20]Write to MH i2c: E2 08 00 CD 09 80 13 03 00 00 00 00 00 55 [00:12:20]Write i2c OK [00:12:20]MH_I2C_Read... [00:12:20]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:12:20]Read from MH i2c: E2 [00:12:20]MH_I2C_Read... [00:12:20]Read from MH i2c: E2 FD 00 [00:12:20]MH_I2C_Read... [00:12:20]Read from MH i2c: E2 FD 00 CD 09 00 BB 04 85 04 B7 04 6E 04 04 00 D7 0F 00 00 69 04 9E 00 6F 04 04 00 CE 0F 00 00 B1 04 04 00 B7 FE 9A 05 70 04 04 00 A4 56 AB 04 72 04 03 00 13 A8 EF 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 95 62 98 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 FA B0 0C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 97 00 6F 04 04 00 09 00 00 00 B1 04 03 00 10 B1 02 70 04 03 00 10 B1 02 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 2C 49 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 F0 [00:12:20]RAPDU: BB 04 85 04 B7 04 6E 04 04 00 D7 0F 00 00 69 04 9E 00 6F 04 04 00 CE 0F 00 00 B1 04 04 00 B7 FE 9A 05 70 04 04 00 A4 56 AB 04 72 04 03 00 13 A8 EF 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 95 62 98 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 FA B0 0C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 97 00 6F 04 04 00 09 00 00 00 B1 04 03 00 10 B1 02 70 04 03 00 10 B1 02 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 2C 49 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [00:12:20]wFMCommunicate OK [00:12:20]wFMCommunicate request_size=4 [00:12:20]MH_SAM_APDU [00:12:20]CAPDU: 80 17 00 00 [00:12:20]Write to MH i2c: E2 08 00 CE 09 80 17 00 00 00 00 00 00 57 [00:12:20]Write i2c OK [00:12:20]MH_I2C_Read... [00:12:20]OFD Sender: No OFD packet to send [00:12:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:12:20]Read from MH i2c: E2 [00:12:20]MH_I2C_Read... [00:12:20]Read from MH i2c: E2 FD 00 [00:12:20]MH_I2C_Read... [00:12:20]Read from MH i2c: E2 FD 00 CE 09 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 18 06 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 1F [00:12:20]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 18 06 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:12:20]wFMCommunicate OK [00:12:20]wFMCommunicate request_size=4 [00:12:20]MH_SAM_APDU [00:12:20]CAPDU: 80 17 00 00 [00:12:20]Write to MH i2c: E2 08 00 CF 09 80 17 00 00 00 00 00 00 58 [00:12:20]Write i2c OK [00:12:20]MH_I2C_Read... [00:12:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:12:21]Read from MH i2c: E2 [00:12:21]MH_I2C_Read... [00:12:21]Read from MH i2c: E2 FD 00 [00:12:21]MH_I2C_Read... [00:12:21]Read from MH i2c: E2 FD 00 CF 09 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 84 [00:12:21]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:12:21]wFMCommunicate OK [00:12:21]wFMCommunicate request_size=4 [00:12:21]MH_SAM_APDU [00:12:21]CAPDU: 80 17 00 00 [00:12:21]Write to MH i2c: E2 08 00 D0 09 80 17 00 00 00 00 00 00 59 [00:12:21]Write i2c OK [00:12:21]MH_I2C_Read... [00:12:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:12:21]Read from MH i2c: E2 [00:12:21]MH_I2C_Read... [00:12:21]Read from MH i2c: E2 FD 00 [00:12:21]MH_I2C_Read... [00:12:21]Read from MH i2c: E2 FD 00 D0 09 00 00 00 EF 03 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 90 00 CE [00:12:21]RAPDU: 00 00 EF 03 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 90 00 [00:12:21]wFMCommunicate OK [00:12:21]wFMCommunicate request_size=4 [00:12:21]MH_SAM_APDU [00:12:21]CAPDU: 80 17 00 00 [00:12:21]Write to MH i2c: E2 08 00 D1 09 80 17 00 00 00 00 00 00 5A [00:12:21]Write i2c OK [00:12:21]MH_I2C_Read... [00:12:21]Read from MH i2c: E2 [00:12:21]MH_I2C_Read... [00:12:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [00:12:21]Read from MH i2c: E2 D8 00 [00:12:21]MH_I2C_Read... [00:12:21]Read from MH i2c: E2 D8 00 D1 09 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 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 41 [00:12:21]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 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:12:21]wFMCommunicate OK [00:12:21]SAM_PROTO_GetFMData done [00:12:21]requested_item fm.sale_refund.total is exist - process it [00:12:21]requested_item fm.buy.total is exist - process it [00:12:21]requested_item shift.sale.total is exist - process it [00:12:21]SAM_PROTO_GetShiftData [00:12:21]wFMCommunicate request_size=4 [00:12:21]MH_SAM_APDU [00:12:21]CAPDU: 80 13 02 00 [00:12:21]Write to MH i2c: E2 08 00 D2 09 80 13 02 00 00 00 00 00 59 [00:12:21]Write i2c OK [00:12:21]MH_I2C_Read... [00:12:22]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:12:22]Read from MH i2c: E2 [00:12:22]MH_I2C_Read... [00:12:22]Read from MH i2c: E2 FD 00 [00:12:22]MH_I2C_Read... [00:12:22]Read from MH i2c: E2 FD 00 D2 09 00 AE 04 AA 04 AA 04 6E 04 04 00 51 00 00 00 69 04 9B 00 6F 04 04 00 51 00 00 00 B1 04 03 00 BC 0E 17 70 04 03 00 58 E7 10 72 04 03 00 64 27 06 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 D0 72 02 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 34 34 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 29 [00:12:22]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 51 00 00 00 69 04 9B 00 6F 04 04 00 51 00 00 00 B1 04 03 00 BC 0E 17 70 04 03 00 58 E7 10 72 04 03 00 64 27 06 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 D0 72 02 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 34 34 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [00:12:22]wFMCommunicate OK [00:12:22]wFMCommunicate request_size=4 [00:12:22]MH_SAM_APDU [00:12:22]CAPDU: 80 17 00 00 [00:12:22]Write to MH i2c: E2 08 00 D3 09 80 17 00 00 00 00 00 00 5C [00:12:22]Write i2c OK [00:12:22]MH_I2C_Read... [00:12:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:12:22]Read from MH i2c: E2 [00:12:22]MH_I2C_Read... [00:12:22]Read from MH i2c: E2 FD 00 [00:12:22]MH_I2C_Read... [00:12:22]Read from MH i2c: E2 FD 00 D3 09 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 7E [00:12:22]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [00:12:22]wFMCommunicate OK [00:12:22]wFMCommunicate request_size=4 [00:12:22]MH_SAM_APDU [00:12:22]CAPDU: 80 17 00 00 [00:12:22]Write to MH i2c: E2 08 00 D4 09 80 17 00 00 00 00 00 00 5D [00:12:22]Write i2c OK [00:12:22]MH_I2C_Read... [00:12:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:12:22]Read from MH i2c: E2 [00:12:22]MH_I2C_Read... [00:12:22]Read from MH i2c: E2 FD 00 [00:12:22]MH_I2C_Read... [00:12:22]Read from MH i2c: E2 FD 00 D4 09 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 14 [00:12:22]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [00:12:22]wFMCommunicate OK [00:12:22]wFMCommunicate request_size=4 [00:12:22]MH_SAM_APDU [00:12:22]CAPDU: 80 17 00 00 [00:12:22]Write to MH i2c: E2 08 00 D5 09 80 17 00 00 00 00 00 00 5E [00:12:22]Write i2c OK [00:12:22]MH_I2C_Read... [00:12:23]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:12:23]Read from MH i2c: E2 [00:12:23]MH_I2C_Read... [00:12:23]Read from MH i2c: E2 FD 00 [00:12:23]MH_I2C_Read... [00:12:23]Read from MH i2c: E2 FD 00 D5 09 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 D0 [00:12:23]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [00:12:23]wFMCommunicate OK [00:12:23]wFMCommunicate request_size=4 [00:12:23]MH_SAM_APDU [00:12:23]CAPDU: 80 17 00 00 [00:12:23]Write to MH i2c: E2 08 00 D6 09 80 17 00 00 00 00 00 00 5F [00:12:23]Write i2c OK [00:12:23]MH_I2C_Read... [00:12:23]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:12:23]Read from MH i2c: E2 [00:12:23]MH_I2C_Read... [00:12:23]Read from MH i2c: E2 CB 00 [00:12:23]MH_I2C_Read... [00:12:23]Read from MH i2c: E2 CB 00 D6 09 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 48 [00:12:23]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:12:23]wFMCommunicate OK [00:12:23]SAM_PROTO_GetShiftData done [00:12:23]requested_item shift.sale.total_cash is exist - process it [00:12:23]requested_item shift.sale_refund.total is exist - process it [00:12:23]requested_item shift.sale_refund.total_cash is exist - process it [00:12:23]requested_item shift.buy.total is exist - process it [00:12:23]requested_item shift.buy.total_cash is exist - process it [00:12:23]produce_requested_data done [00:12:23]produce_requested_data return {"fm.sale.total":940438.31,"fm.sale_refund.total":1764.00,"fm.buy.total":0.00,"shift.sale.total":15111.00,"shift.sale.total_cash":11078.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:12:23]process_action_free get_value [00:12:23]json_value_free [00:12:23]json_value_free done [00:12:23]process_json_proto returns [00:12:23]Send response to host [00:12:23]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":940438.31,"fm.sale_refund.total":1764.00,"fm.buy.total":0.00,"shift.sale.total":15111.00,"shift.sale.total_cash":11078.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:12:23]free response buf [00:12:23]execute_script done [00:12:23]execute_script returns [00:12:23]free content buf [00:12:23]Sock 8.Close socket [00:12:23]Sock 8.Thread stoped [00:12:23]accept exits with 9 [00:12:23]New connection [00:12:23]New thread 3066629476 created [00:12:23]Thread 3066772836 joined [00:12:23]Waiting for new connection... [00:12:23] Sock 9.Parse request [00:12:23]Sock 9.Check first char [00:12:23]Sock 9.First char is OK [00:12:23]request: POST /json_proto HTTP/1.0 [00:12:23]Method: POST [00:12:23]URL: /json_proto [00:12:23]Method is POST - this is cgi request [00:12:23]url: /json_proto [00:12:23]query_string will be loaded in cgi processing [00:12:23]execute_cgi json_proto POST (null) [00:12:23]execute_cgi path=json_proto method=POST [00:12:23]POST find Content-Length [00:12:23]Host: 172.17.56.68:8080 [00:12:23]Content-Length: 283 [00:12:23]Content-Type: application/json [00:12:23] [00:12:23]POST finish read [00:12:23]Found Content-Length = 283 [00:12:23]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "open_shift", "params" : { "operator" : "\u0411\u0430\u0440\u044B\u043A\u0442\u0430\u0431\u0430\u0441\u043E\u0432 \u0422. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:12:23]execute_script... [00:12:23]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "open_shift", "params" : { "operator" : "\u0411\u0430\u0440\u044B\u043A\u0442\u0430\u0431\u0430\u0441\u043E\u0432 \u0422. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:12:23]POST & json_proto [00:12:23]process_json_proto [00:12:23]json parsed OK: [00:12:23]protocol is kg_v1.0 [00:12:23]action value=open_shift [00:12:23]process_action open_shift [00:12:23]cmd_open_shift [00:12:23]MH_GetDate [00:12:23]Write to MH i2c: F0 00 00 D7 09 CF [00:12:23]Write i2c OK [00:12:23]MH_I2C_Read... [00:12:23]Read from MH i2c: F0 [00:12:23]MH_I2C_Read... [00:12:23]Read from MH i2c: F0 09 00 [00:12:23]MH_I2C_Read... [00:12:23]Read from MH i2c: F0 09 00 D7 09 00 E9 FE 60 66 3A 8F 60 66 14 [00:12:23]GetLastDocTimeStamp 1717631807 [00:12:23]current date 1717632745 [00:12:23]FM_GetShiftState [00:12:23]SAM_PROTO_GetShiftState [00:12:23]wFMCommunicate request_size=4 [00:12:23]MH_SAM_APDU [00:12:23]CAPDU: 80 13 01 00 [00:12:23]Write to MH i2c: E2 08 00 D8 09 80 13 01 00 00 00 00 00 5E [00:12:23]Write i2c OK [00:12:23]MH_I2C_Read... [00:12:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:12:23]Read from MH i2c: E2 [00:12:23]MH_I2C_Read... [00:12:23]Read from MH i2c: E2 0E 00 [00:12:23]MH_I2C_Read... [00:12:23]Read from MH i2c: E2 0E 00 D8 09 00 09 00 00 00 00 00 00 00 00 00 00 90 00 69 [00:12:23]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:12:23]wFMCommunicate OK [00:12:23]SAM_PROTO_GetShiftState done [00:12:23]FM_GetShiftState done [00:12:23]KKMCreateOpenShiftDocument [00:12:23]Load OK [00:12:23]Malloc new data [00:12:23]MH_GetDate [00:12:23]Write to MH i2c: F0 00 00 D9 09 D1 [00:12:23]Write i2c OK [00:12:23]MH_I2C_Read... [00:12:23]Read from MH i2c: F0 [00:12:23]MH_I2C_Read... [00:12:23]Read from MH i2c: F0 09 00 [00:12:23]MH_I2C_Read... [00:12:23]Read from MH i2c: F0 09 00 D9 09 00 E9 FE 60 66 3A 8F 60 66 16 [00:12:23]Malloc new data [00:12:23]KKMCreateOpenShiftDocument OK [00:12:23]KKMSetOpenShiftData OK [00:12:23]ProcessDocumentItem done err = 0, tmpTLVsize=233 [00:12:23]tlvbuf is 01A5AFB0 [00:12:23]KKMLoadAndSignOpenShiftData [00:12:23]SAM_PROTO_ProcessDocument [00:12:23]wFMCommunicate request_size=9 [00:12:23]MH_SAM_APDU [00:12:23]CAPDU: 80 15 01 00 04 02 00 E9 00 [00:12:23]Write to MH i2c: E2 0C 00 DA 09 80 15 01 00 04 00 02 00 E9 00 00 00 55 [00:12:23]Write i2c OK [00:12:23]MH_I2C_Read... [00:12:23]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [00:12:23]Read from MH i2c: E2 [00:12:23]MH_I2C_Read... [00:12:23]Read from MH i2c: E2 03 00 [00:12:23]MH_I2C_Read... [00:12:23]Read from MH i2c: E2 03 00 DA 09 00 90 00 57 [00:12:23]RAPDU: 90 00 [00:12:23]wFMCommunicate OK [00:12:23]wFMCommunicate request_size=23 [00:12:23]MH_SAM_APDU [00:12:23]CAPDU: 80 15 02 00 12 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 [00:12:23]Write to MH i2c: E2 1A 00 DB 09 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 59 [00:12:23]Write i2c OK [00:12:23]MH_I2C_Read... [00:12:23]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:12:23]Read from MH i2c: E2 [00:12:23]MH_I2C_Read... [00:12:23]Read from MH i2c: E2 03 00 [00:12:23]MH_I2C_Read... [00:12:23]Read from MH i2c: E2 03 00 DB 09 00 90 00 58 [00:12:23]RAPDU: 90 00 [00:12:23]wFMCommunicate OK [00:12:23]wFMCommunicate request_size=38 [00:12:23]MH_SAM_APDU [00:12:23]CAPDU: 80 15 02 00 21 FD 03 1D 00 D0 91 D0 B0 D1 80 D1 8B D0 BA D1 82 D0 B0 D0 B1 D0 B0 D1 81 D0 BE D0 B2 20 D0 A2 2E 20 [00:12:23]Write to MH i2c: E2 29 00 DC 09 80 15 02 00 21 00 FD 03 1D 00 D0 91 D0 B0 D1 80 D1 8B D0 BA D1 82 D0 B0 D0 B1 D0 B0 D1 81 D0 BE D0 B2 20 D0 A2 2E 20 00 00 F2 [00:12:23]Write i2c OK [00:12:23]MH_I2C_Read... [00:12:23]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:12:23]Read from MH i2c: E2 [00:12:23]MH_I2C_Read... [00:12:23]Read from MH i2c: E2 03 00 [00:12:23]MH_I2C_Read... [00:12:23]Read from MH i2c: E2 03 00 DC 09 00 90 00 59 [00:12:23]RAPDU: 90 00 [00:12:23]wFMCommunicate OK [00:12:23]wFMCommunicate request_size=113 [00:12:23]MH_SAM_APDU [00:12:23]CAPDU: 80 15 02 00 6C F1 03 68 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 91 D0 B0 D1 80 D1 81 D0 BA D0 BE D0 BE D0 BD 2C 20 D0 BA D0 BE D0 BD D1 82 D1 83 D1 80 20 39 38 2C 20 D0 96 D0 B5 D1 82 D0 B8 20 D0 9E D0 B3 D1 83 D0 B7 D1 81 D0 BA D0 B8 D0 B9 20 D1 80 D0 B0 D0 B9 D0 BE D0 BD 2C 20 34 32 2E 31 38 31 36 36 31 2C 37 37 2E 35 37 30 37 39 34 [00:12:23]Write to MH i2c: E2 74 00 DD 09 80 15 02 00 6C 00 F1 03 68 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 91 D0 B0 D1 80 D1 81 D0 BA D0 BE D0 BE D0 BD 2C 20 D0 BA D0 BE D0 BD D1 82 D1 83 D1 80 20 39 38 2C 20 D0 96 D0 B5 D1 82 D0 B8 20 D0 9E D0 B3 D1 83 D0 B7 D1 81 D0 BA D0 B8 D0 B9 20 D1 80 D0 B0 D0 B9 D0 BE D0 BD 2C 20 34 32 2E 31 38 31 36 36 31 2C 37 37 2E 35 37 30 37 39 34 00 00 80 [00:12:23]Write i2c OK [00:12:23]MH_I2C_Read... [00:12:23]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:12:23]Read from MH i2c: E2 [00:12:23]MH_I2C_Read... [00:12:23]Read from MH i2c: E2 03 00 [00:12:23]MH_I2C_Read... [00:12:23]Read from MH i2c: E2 03 00 DD 09 00 90 00 5A [00:12:23]RAPDU: 90 00 [00:12:23]wFMCommunicate OK [00:12:23]wFMCommunicate request_size=51 [00:12:23]MH_SAM_APDU [00:12:23]CAPDU: 80 15 02 00 2E A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 31 36 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 [00:12:23]Write to MH i2c: E2 36 00 DE 09 80 15 02 00 2E 00 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 31 36 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 00 00 11 [00:12:23]Write i2c OK [00:12:23]MH_I2C_Read... [00:12:24]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:12:24]Read from MH i2c: E2 [00:12:24]MH_I2C_Read... [00:12:24]Read from MH i2c: E2 03 00 [00:12:24]MH_I2C_Read... [00:12:24]Read from MH i2c: E2 03 00 DE 09 00 90 00 5B [00:12:24]RAPDU: 90 00 [00:12:24]wFMCommunicate OK [00:12:24]wFMCommunicate request_size=13 [00:12:24]MH_SAM_APDU [00:12:24]CAPDU: 80 15 02 00 08 F4 03 04 00 E9 FE 60 66 [00:12:24]Write to MH i2c: E2 10 00 DF 09 80 15 02 00 08 00 F4 03 04 00 E9 FE 60 66 00 00 20 [00:12:24]Write i2c OK [00:12:24]MH_I2C_Read... [00:12:24]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:12:24]Read from MH i2c: E2 [00:12:24]MH_I2C_Read... [00:12:24]Read from MH i2c: E2 03 00 [00:12:24]MH_I2C_Read... [00:12:24]Read from MH i2c: E2 03 00 DF 09 00 90 00 5C [00:12:24]RAPDU: 90 00 [00:12:24]wFMCommunicate OK [00:12:24]wFMCommunicate request_size=25 [00:12:24]MH_SAM_APDU [00:12:24]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 [00:12:24]Write to MH i2c: E2 1C 00 E0 09 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 00 00 CF [00:12:24]Write i2c OK [00:12:24]MH_I2C_Read... [00:12:24]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:12:24]Read from MH i2c: E2 [00:12:24]MH_I2C_Read... [00:12:24]Read from MH i2c: E2 03 00 [00:12:24]MH_I2C_Read... [00:12:24]Read from MH i2c: E2 03 00 E0 09 00 90 00 5D [00:12:24]RAPDU: 90 00 [00:12:24]wFMCommunicate OK [00:12:24]wFMCommunicate request_size=4 [00:12:24]MH_SAM_APDU [00:12:24]CAPDU: 80 15 03 00 [00:12:24]Write to MH i2c: E2 08 00 E1 09 80 15 03 00 00 00 00 00 6B [00:12:24]Write i2c OK [00:12:24]MH_I2C_Read... [00:12:24]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 53! [00:12:24]Read from MH i2c: E2 [00:12:24]MH_I2C_Read... [00:12:24]Read from MH i2c: E2 38 00 [00:12:24]MH_I2C_Read... [00:12:24]Read from MH i2c: E2 38 00 E1 09 00 33 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 81 10 00 00 0E 04 04 00 55 00 00 00 35 04 06 00 25 1D 7B B5 87 3B 90 00 51 [00:12:24]RAPDU: 33 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 81 10 00 00 0E 04 04 00 55 00 00 00 35 04 06 00 25 1D 7B B5 87 3B 90 00 [00:12:24]wFMCommunicate OK [00:12:24]SAM_PROTO_ProcessDocument answer len = 51 [00:12:24]SAM_PROTO_ProcessDocument done [00:12:24]SetTLVBufToDocument [00:12:24]Processing tag 1209 (04B9) [00:12:24]Malloc new data [00:12:24]Processing tag 1041 (0411) [00:12:24]Processing tag 1040 (0410) [00:12:24]Malloc new data [00:12:24]Processing tag 1038 (040E) [00:12:24]Malloc new data [00:12:24]Processing tag 1077 (0435) [00:12:24]Malloc new data [00:12:24]SetTLVBufToDocument err=0 [00:12:24]KKMLoadAndSignOpenShiftData store KKM data [00:12:24]KKMLoadAndSignOpenShiftData err=0 [00:12:24]Отчет об открытии смены ФФД: 1.0 ИНН: 02508201610067 Кассир: Барыктабасов Т. Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 Место: АЗС № 116 "Партнер Нефть" 06.06.2024 00:12 Смена: 85 РНМ: 0000000000145775 ЗНМ: 0300000233 ФД: 4225 ФМ: 0000000000959360 ФПД: 40808559773499 [00:12:24]StoreToDocumentArchive [00:12:24]shift 85 fd 4225 [00:12:24]Create dir for shift 0085 [00:12:24]save to /storage/0085/doc_00004225 [00:12:24]save last doc name /storage/0085/doc_00004225 to /storage/kkm_last_doc_name [00:12:24]save OK [00:12:24]Clear old archive folders... [00:12:24]Remove dir /storage/0084 [00:12:24]opendir ok [00:12:24]file . [00:12:24]file .. [00:12:24]file doc_00004142 [00:12:24]remove file /storage/0084/doc_00004142 [00:12:24]file doc_00004143 [00:12:24]remove file /storage/0084/doc_00004143 [00:12:24]file doc_00004144 [00:12:24]remove file /storage/0084/doc_00004144 [00:12:24]file doc_00004145 [00:12:24]remove file /storage/0084/doc_00004145 [00:12:24]file doc_00004146 [00:12:24]remove file /storage/0084/doc_00004146 [00:12:24]file doc_00004147 [00:12:24]remove file /storage/0084/doc_00004147 [00:12:24]file doc_00004148 [00:12:24]remove file /storage/0084/doc_00004148 [00:12:24]file doc_00004149 [00:12:24]remove file /storage/0084/doc_00004149 [00:12:24]file doc_00004150 [00:12:24]remove file /storage/0084/doc_00004150 [00:12:24]file doc_00004151 [00:12:24]remove file /storage/0084/doc_00004151 [00:12:24]file doc_00004152 [00:12:24]remove file /storage/0084/doc_00004152 [00:12:24]file doc_00004153 [00:12:24]remove file /storage/0084/doc_00004153 [00:12:24]file doc_00004154 [00:12:24]remove file /storage/0084/doc_00004154 [00:12:24]file doc_00004155 [00:12:24]remove file /storage/0084/doc_00004155 [00:12:24]file doc_00004156 [00:12:24]remove file /storage/0084/doc_00004156 [00:12:24]file doc_00004157 [00:12:24]remove file /storage/0084/doc_00004157 [00:12:24]file doc_00004158 [00:12:24]remove file /storage/0084/doc_00004158 [00:12:24]file doc_00004159 [00:12:24]remove file /storage/0084/doc_00004159 [00:12:24]file doc_00004160 [00:12:24]remove file /storage/0084/doc_00004160 [00:12:24]file doc_00004161 [00:12:24]remove file /storage/0084/doc_00004161 [00:12:24]file doc_00004162 [00:12:24]remove file /storage/0084/doc_00004162 [00:12:24]file doc_00004163 [00:12:24]remove file /storage/0084/doc_00004163 [00:12:24]file doc_00004164 [00:12:24]remove file /storage/0084/doc_00004164 [00:12:24]file doc_00004165 [00:12:24]remove file /storage/0084/doc_00004165 [00:12:24]file doc_00004166 [00:12:24]remove file /storage/0084/doc_00004166 [00:12:24]file doc_00004167 [00:12:24]remove file /storage/0084/doc_00004167 [00:12:24]file doc_00004168 [00:12:24]remove file /storage/0084/doc_00004168 [00:12:24]file doc_00004169 [00:12:24]remove file /storage/0084/doc_00004169 [00:12:24]file doc_00004170 [00:12:24]remove file /storage/0084/doc_00004170 [00:12:24]file doc_00004171 [00:12:24]remove file /storage/0084/doc_00004171 [00:12:24]file doc_00004172 [00:12:24]remove file /storage/0084/doc_00004172 [00:12:24]file doc_00004173 [00:12:24]remove file /storage/0084/doc_00004173 [00:12:24]file doc_00004174 [00:12:24]remove file /storage/0084/doc_00004174 [00:12:24]file doc_00004175 [00:12:24]remove file /storage/0084/doc_00004175 [00:12:24]file doc_00004176 [00:12:24]remove file /storage/0084/doc_00004176 [00:12:24]file doc_00004177 [00:12:24]remove file /storage/0084/doc_00004177 [00:12:24]file doc_00004178 [00:12:24]remove file /storage/0084/doc_00004178 [00:12:24]file doc_00004179 [00:12:24]remove file /storage/0084/doc_00004179 [00:12:24]file doc_00004180 [00:12:24]remove file /storage/0084/doc_00004180 [00:12:24]file doc_00004181 [00:12:24]remove file /storage/0084/doc_00004181 [00:12:24]file doc_00004182 [00:12:24]remove file /storage/0084/doc_00004182 [00:12:24]file doc_00004183 [00:12:24]remove file /storage/0084/doc_00004183 [00:12:24]file doc_00004184 [00:12:24]remove file /storage/0084/doc_00004184 [00:12:24]file doc_00004185 [00:12:24]remove file /storage/0084/doc_00004185 [00:12:24]file doc_00004186 [00:12:24]remove file /storage/0084/doc_00004186 [00:12:24]file doc_00004187 [00:12:24]remove file /storage/0084/doc_00004187 [00:12:24]file doc_00004188 [00:12:24]remove file /storage/0084/doc_00004188 [00:12:24]file doc_00004189 [00:12:24]remove file /storage/0084/doc_00004189 [00:12:24]file doc_00004190 [00:12:24]remove file /storage/0084/doc_00004190 [00:12:24]file doc_00004191 [00:12:24]remove file /storage/0084/doc_00004191 [00:12:24]file doc_00004192 [00:12:24]remove file /storage/0084/doc_00004192 [00:12:24]file doc_00004193 [00:12:24]remove file /storage/0084/doc_00004193 [00:12:24]file doc_00004194 [00:12:24]remove file /storage/0084/doc_00004194 [00:12:24]file doc_00004195 [00:12:24]remove file /storage/0084/doc_00004195 [00:12:24]file doc_00004196 [00:12:24]remove file /storage/0084/doc_00004196 [00:12:24]file doc_00004197 [00:12:24]remove file /storage/0084/doc_00004197 [00:12:24]file doc_00004198 [00:12:24]remove file /storage/0084/doc_00004198 [00:12:24]file doc_00004199 [00:12:24]remove file /storage/0084/doc_00004199 [00:12:24]file doc_00004200 [00:12:24]remove file /storage/0084/doc_00004200 [00:12:24]file doc_00004201 [00:12:24]remove file /storage/0084/doc_00004201 [00:12:24]file doc_00004202 [00:12:24]remove file /storage/0084/doc_00004202 [00:12:24]file doc_00004203 [00:12:24]remove file /storage/0084/doc_00004203 [00:12:24]file doc_00004204 [00:12:24]remove file /storage/0084/doc_00004204 [00:12:24]file doc_00004205 [00:12:24]remove file /storage/0084/doc_00004205 [00:12:24]file doc_00004206 [00:12:24]remove file /storage/0084/doc_00004206 [00:12:24]file doc_00004207 [00:12:24]remove file /storage/0084/doc_00004207 [00:12:24]file doc_00004208 [00:12:24]remove file /storage/0084/doc_00004208 [00:12:24]file doc_00004209 [00:12:24]remove file /storage/0084/doc_00004209 [00:12:24]file doc_00004210 [00:12:24]remove file /storage/0084/doc_00004210 [00:12:24]file doc_00004211 [00:12:24]remove file /storage/0084/doc_00004211 [00:12:24]file doc_00004212 [00:12:24]remove file /storage/0084/doc_00004212 [00:12:24]file doc_00004213 [00:12:24]remove file /storage/0084/doc_00004213 [00:12:24]file doc_00004214 [00:12:24]remove file /storage/0084/doc_00004214 [00:12:24]file doc_00004215 [00:12:24]remove file /storage/0084/doc_00004215 [00:12:24]file doc_00004216 [00:12:24]remove file /storage/0084/doc_00004216 [00:12:24]file doc_00004217 [00:12:24]remove file /storage/0084/doc_00004217 [00:12:24]file doc_00004218 [00:12:24]remove file /storage/0084/doc_00004218 [00:12:24]file doc_00004219 [00:12:24]remove file /storage/0084/doc_00004219 [00:12:24]file doc_00004220 [00:12:24]remove file /storage/0084/doc_00004220 [00:12:25]file doc_00004221 [00:12:25]remove file /storage/0084/doc_00004221 [00:12:25]file doc_00004222 [00:12:25]remove file /storage/0084/doc_00004222 [00:12:25]file doc_00004223 [00:12:25]remove file /storage/0084/doc_00004223 [00:12:25]file doc_00004224 [00:12:25]remove file /storage/0084/doc_00004224 [00:12:25]remove dir /storage/0084 [00:12:25]ProcessDocumentItem done err = 0, tmpTLVsize=284 [00:12:25]tlvbuf is 01AC1E50 [00:12:25]SAM_PROTO_ClearQueue [00:12:25]wFMCommunicate request_size=4 [00:12:25]MH_SAM_APDU [00:12:25]CAPDU: 80 09 00 00 [00:12:25]Write to MH i2c: E2 08 00 E2 09 80 09 00 00 00 00 00 00 5D [00:12:25]Write i2c OK [00:12:25]MH_I2C_Read... [00:12:25]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:12:25]Read from MH i2c: E2 [00:12:25]MH_I2C_Read... [00:12:25]Read from MH i2c: E2 03 00 [00:12:25]MH_I2C_Read... [00:12:25]Read from MH i2c: E2 03 00 E2 09 00 90 00 5F [00:12:25]RAPDU: 90 00 [00:12:25]wFMCommunicate OK [00:12:25]SAM_PROTO_ClearQueue done [00:12:25]KKMCreateOFDPacket [00:12:25]OFDProtocolAddRootSTLVToBuf [00:12:25]FM_MakeSignedData [00:12:25]FM_MakeSignedData [00:12:25]SAM_PROTO_SignData [00:12:25]wFMCommunicate request_size=4 [00:12:25]MH_SAM_APDU [00:12:25]CAPDU: 80 0D 01 02 [00:12:25]Write to MH i2c: E2 08 00 E3 09 80 0D 01 02 00 00 00 00 65 [00:12:25]Write i2c OK [00:12:25]MH_I2C_Read... [00:12:25]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:12:25]Read from MH i2c: E2 [00:12:25]MH_I2C_Read... [00:12:25]Read from MH i2c: E2 03 00 [00:12:25]MH_I2C_Read... [00:12:25]Read from MH i2c: E2 03 00 E3 09 00 90 00 60 [00:12:25]RAPDU: 90 00 [00:12:25]wFMCommunicate OK [00:12:25]wFMCommunicate request_size=255 [00:12:25]MH_SAM_APDU [00:12:25]CAPDU: 80 0D 02 02 FA 02 00 1C 01 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 1D 00 D0 91 D0 B0 D1 80 D1 8B D0 BA D1 82 D0 B0 D0 B1 D0 B0 D1 81 D0 BE D0 B2 20 D0 A2 2E 20 F1 03 68 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 91 D0 B0 D1 80 D1 81 D0 BA D0 BE D0 BE D0 BD 2C 20 D0 BA D0 BE D0 BD D1 82 D1 83 D1 80 20 39 38 2C 20 D0 96 D0 B5 D1 82 D0 B8 20 D0 9E D0 B3 D1 83 D0 B7 D1 81 D0 BA D0 B8 D0 B9 20 D1 80 D0 B0 D0 B9 D0 BE D0 BD 2C 20 34 32 2E 31 38 31 36 36 31 2C 37 37 2E 35 37 30 37 39 34 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 31 36 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 F4 03 04 00 E9 FE 60 66 0E 04 04 00 55 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 [00:12:25]Write to MH i2c: E2 02 01 E4 09 80 0D 02 02 FA 00 02 00 1C 01 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 1D 00 D0 91 D0 B0 D1 80 D1 8B D0 BA D1 82 D0 B0 D0 B1 D0 B0 D1 81 D0 BE D0 B2 20 D0 A2 2E 20 F1 03 68 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 91 D0 B0 D1 80 D1 81 D0 BA D0 BE D0 BE D0 BD 2C 20 D0 BA D0 BE D0 BD D1 82 D1 83 D1 80 20 39 38 2C 20 D0 96 D0 B5 D1 82 D0 B8 20 D0 9E D0 B3 D1 83 D0 B7 D1 81 D0 BA D0 B8 D0 B9 20 D1 80 D0 B0 D0 B9 D0 BE D0 BD 2C 20 34 32 2E 31 38 31 36 36 31 2C 37 37 2E 35 37 30 37 39 34 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 31 36 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 F4 03 04 00 E9 FE 60 66 0E 04 04 00 55 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 00 00 37 [00:12:25]Write i2c OK [00:12:25]MH_I2C_Read... [00:12:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:12:25]Read from MH i2c: E2 [00:12:25]MH_I2C_Read... [00:12:25]Read from MH i2c: E2 03 00 [00:12:25]MH_I2C_Read... [00:12:25]Read from MH i2c: E2 03 00 E4 09 00 90 00 61 [00:12:25]RAPDU: 90 00 [00:12:25]wFMCommunicate OK [00:12:25]wFMCommunicate request_size=43 [00:12:25]MH_SAM_APDU [00:12:25]CAPDU: 80 0D 02 02 26 10 04 04 00 81 10 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 35 04 06 00 25 1D 7B B5 87 3B [00:12:25]Write to MH i2c: E2 2E 00 E5 09 80 0D 02 02 26 00 10 04 04 00 81 10 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 35 04 06 00 25 1D 7B B5 87 3B 00 00 15 [00:12:25]Write i2c OK [00:12:25]MH_I2C_Read... [00:12:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:12:25]Read from MH i2c: E2 [00:12:25]MH_I2C_Read... [00:12:25]Read from MH i2c: E2 03 00 [00:12:25]MH_I2C_Read... [00:12:25]Read from MH i2c: E2 03 00 E5 09 00 90 00 62 [00:12:25]RAPDU: 90 00 [00:12:25]wFMCommunicate OK [00:12:25]wFMCommunicate request_size=4 [00:12:25]MH_SAM_APDU [00:12:25]CAPDU: 80 0D 03 02 [00:12:25]Write to MH i2c: E2 08 00 E6 09 80 0D 03 02 00 00 00 00 6A [00:12:25]Write i2c OK [00:12:25]MH_I2C_Read... [00:12:25]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:12:25]Read from MH i2c: E2 [00:12:25]MH_I2C_Read... [00:12:25]Read from MH i2c: E2 0B 00 [00:12:25]MH_I2C_Read... [00:12:25]Read from MH i2c: E2 0B 00 E6 09 00 F9 A4 07 53 9B FA 27 F9 90 00 17 [00:12:25]RAPDU: F9 A4 07 53 9B FA 27 F9 90 00 [00:12:25]wFMCommunicate OK [00:12:25]SAM_PROTO_SignData done [00:12:25]FM_MakeSignedData done [00:12:25]CreateOFDProtocolMessage [00:12:25]wFMCommunicate request_size=4 [00:12:25]MH_SAM_APDU [00:12:25]CAPDU: 80 11 00 00 [00:12:25]Write to MH i2c: E2 08 00 E7 09 80 11 00 00 00 00 00 00 6A [00:12:25]Write i2c OK [00:12:25]MH_I2C_Read... [00:12:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:12:25]Read from MH i2c: E2 [00:12:25]MH_I2C_Read... [00:12:25]Read from MH i2c: E2 17 00 [00:12:25]MH_I2C_Read... [00:12:25]Read from MH i2c: E2 17 00 E7 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 BD [00:12:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [00:12:25]wFMCommunicate OK [00:12:25]CreateOFDProtocolMessage done [00:12:25]OFDSenderStorePacket 4225 [00:12:25]StoreOFDPacket docnum=4225 [00:12:25]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 30 01 00 00 DB B8 28 01 5B 8D 5A 02 01 00 02 00 1C 01 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 1D 00 D0 91 D0 B0 D1 80 D1 8B D0 BA D1 82 D0 B0 D0 B1 D0 B0 D1 81 D0 BE D0 B2 20 D0 A2 2E 20 F1 03 68 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 91 D0 B0 D1 80 D1 81 D0 BA D0 BE D0 BE D0 BD 2C 20 D0 BA D0 BE D0 BD D1 82 D1 83 D1 80 20 39 38 2C 20 D0 96 D0 B5 D1 82 D0 B8 20 D0 9E D0 B3 D1 83 D0 B7 D1 81 D0 BA D0 B8 D0 B9 20 D1 80 D0 B0 D0 B9 D0 BE D0 BD 2C 20 34 32 2E 31 38 31 36 36 31 2C 37 37 2E 35 37 30 37 39 34 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 31 36 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 F4 03 04 00 E9 FE 60 66 0E 04 04 00 55 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 81 10 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 35 04 06 00 25 1D 7B B5 87 3B F9 A4 07 53 9B FA 27 F9 [00:12:25]CheckFolder [00:12:25]dirname=/storage/ofd_packets [00:12:25]CheckFolder done [00:12:25]ProducePacketName [00:12:25]name=ofd_packets/00004225 [00:12:25]NVStorageSaveData ofd_packets/00004225 [00:12:25]File name is /storage/ofd_packets/00004225 [00:12:25]Write 334 bytes [00:12:25]NVStorageSaveData done [00:12:25]OFDSenderStorePacket done [00:12:25]KKMCreateOFDPacket done [00:12:25]NVStorageSaveData kkm_last_timestamp [00:12:25]File name is /storage/kkm_last_timestamp [00:12:25]Write 4 bytes [00:12:25]NVStorageSaveData done [00:12:25]ExternCall_PrintAddStr [00:12:25]wPrintStart [00:12:25]Write to MH i2c: 01 00 00 E8 09 F1 [00:12:25]Write i2c OK [00:12:25]MH_I2C_Read... [00:12:25]Read from MH i2c: 01 [00:12:25]MH_I2C_Read... [00:12:25]Read from MH i2c: 01 07 00 [00:12:25]MH_I2C_Read... [00:12:25]Read from MH i2c: 01 07 00 E8 09 00 00 00 00 00 FF 0F 06 [00:12:25]RasterBufferAndPrint [00:12:25]line Отчет об открытии смены [00:12:25]line ФФД: 1.0 [00:12:25]line ИНН: 02508201610067 [00:12:25]line Кассир: Барыктабасов Т. [00:12:25]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [00:12:25]line Место: АЗС № 116 "Партнер Нефть" [00:12:25]line 06.06.2024 00:12 [00:12:25]line Смена: 85 [00:12:25]line РНМ: 0000000000145775 [00:12:25]line ЗНМ: 0300000233 [00:12:25]line ФД: 4225 [00:12:25]line ФМ: 0000000000959360 [00:12:25]line ФПД: 40808559773499 [00:12:25]written 0, free lines is 4095 [00:12:25]OFD Sender: Processing packet 4225 [packets to send 2, broken 1] [00:12:25]ProducePacketName [00:12:25]name=ofd_packets/00004225 [00:12:25]OFD Sender: To server: pG, [00:12:25]CommunicateWithHost lk.salyk.kg:30040 [00:12:25]ConnectInit lk.salyk.kg [00:12:25]Connected sock=10 [00:12:25]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 30 01 00 00 DB B8 28 01 5B 8D 5A 02 01 00 02 00 1C 01 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 1D 00 D0 91 D0 B0 D1 80 D1 8B D0 BA D1 82 D0 B0 D0 B1 D0 B0 D1 81 D0 BE D0 B2 20 D0 A2 2E 20 F1 03 68 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 91 D0 B0 D1 80 D1 81 D0 BA D0 BE D0 BE D0 BD 2C 20 D0 BA D0 BE D0 BD D1 82 D1 83 D1 80 20 39 38 2C 20 D0 96 D0 B5 D1 82 D0 B8 20 D0 9E D0 B3 D1 83 D0 B7 D1 81 D0 BA D0 B8 D0 B9 20 D1 80 D0 B0 D0 B9 D0 BE D0 BD 2C 20 34 32 2E 31 38 31 36 36 31 2C 37 37 2E 35 37 30 37 39 34 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 31 36 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 F4 03 04 00 E9 FE 60 66 0E 04 04 00 55 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 81 10 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 35 04 06 00 25 1D 7B B5 87 3B F9 A4 07 53 9B FA 27 F9 [00:12:26]Write to MH i2c: 01 00 00 FA 09 03 [00:12:26]Write i2c OK [00:12:26]MH_I2C_Read... [00:12:26]Read from MH i2c: 01 [00:12:26]MH_I2C_Read... [00:12:26]Read from MH i2c: 01 07 00 [00:12:26]MH_I2C_Read... [00:12:26]Read from MH i2c: 01 07 00 FA 09 00 00 00 00 00 80 0E 98 [00:12:26]RasterBufferAndPrint [00:12:26]line [00:12:26]line [00:12:26]line [00:12:26]line [00:12:26]line [00:12:26]written 0, free lines is 3730 [00:12:26]MH_Cut [00:12:26]Write to MH i2c: D1 01 00 01 0A 01 DD [00:12:26]Write i2c OK [00:12:26]MH_I2C_Read... [00:12:26]Read from MH i2c: D1 [00:12:26]MH_I2C_Read... [00:12:26]Read from MH i2c: D1 01 00 [00:12:26]MH_I2C_Read... [00:12:26]Read from MH i2c: D1 01 00 01 0A 00 DC [00:12:26]Write to MH i2c: 01 00 00 02 0A 0C [00:12:26]Write i2c OK [00:12:26]MH_I2C_Read... [00:12:26]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 0B C1 47 00 7C A5 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 81 10 00 00 F4 03 04 00 EB AA 60 66 B6 04 01 00 00 8F BC E1 46 B4 5B 5F A5 [00:12:26]CommunicateWithHost err = 0 [00:12:26]CheckOFDResponse [00:12:26]1017 (14) - 77093643461234 [00:12:26]1041 (16) - 0000000000959360 [00:12:26]1040 (4) - 4225 [00:12:26]1012 (4) - 05.06.2024 18:14 [00:12:26]1206 (1) - 0 [00:12:26]OFD Sender: Remove packet 4225 [00:12:26]ProducePacketName [00:12:26]name=ofd_packets/00004225 [00:12:26]NVStorageDeleteData [00:12:26]*** Cut start [00:12:26]*** Partial cut [00:12:26]*** CUTSNS_PIN = 1 [00:12:26]*** CUTSNS_PIN = 0 [00:12:26]OFD Sender: No OFD packet to send [00:12:26]*** Brake cut motor [00:12:27]Read from MH i2c: 01 [00:12:27]MH_I2C_Read... [00:12:27]*** Stop cut motor [00:12:27]*** Cut end [00:12:27]Read from MH i2c: 01 07 00 [00:12:27]MH_I2C_Read... [00:12:27]Read from MH i2c: 01 07 00 02 0A 00 00 00 00 00 FF 0F 21 [00:12:27]process_action open_shift done [00:12:27]requested_data is exist [00:12:27]produce_requested_data [00:12:27]requested_item fd.num is exist - process it [00:12:27]SAM_PROTO_GetFieldsCounters [00:12:27]wFMCommunicate request_size=4 [00:12:27]MH_SAM_APDU [00:12:27]CAPDU: 80 13 00 00 [00:12:27]Write to MH i2c: E2 08 00 03 0A 80 13 00 00 00 00 00 00 89 [00:12:27]Write i2c OK [00:12:27]MH_I2C_Read... [00:12:27]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:12:27]Read from MH i2c: E2 [00:12:27]MH_I2C_Read... [00:12:27]Read from MH i2c: E2 62 00 [00:12:27]MH_I2C_Read... [00:12:27]Read from MH i2c: E2 62 00 03 0A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 81 10 00 00 0E 04 04 00 55 00 00 00 12 04 04 00 00 00 00 00 5E 04 04 00 00 00 00 00 57 04 04 00 01 00 00 00 19 04 04 00 00 00 00 00 90 00 94 [00:12:27]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 81 10 00 00 0E 04 04 00 55 00 00 00 12 04 04 00 00 00 00 00 5E 04 04 00 00 00 00 00 57 04 04 00 01 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:12:27]wFMCommunicate OK [00:12:27]SAM_PROTO_GetFieldsCounters done [00:12:27]requested_item shift.num is exist - process it [00:12:27]requested_item shift.opened is exist - process it [00:12:27]req_shift_opened [00:12:27]FM_GetShiftState [00:12:27]SAM_PROTO_GetShiftState [00:12:27]wFMCommunicate request_size=4 [00:12:27]MH_SAM_APDU [00:12:27]CAPDU: 80 13 01 00 [00:12:27]Write to MH i2c: E2 08 00 04 0A 80 13 01 00 00 00 00 00 8B [00:12:27]Write i2c OK [00:12:27]MH_I2C_Read... [00:12:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:12:27]Read from MH i2c: E2 [00:12:27]MH_I2C_Read... [00:12:27]Read from MH i2c: E2 0E 00 [00:12:27]MH_I2C_Read... [00:12:27]Read from MH i2c: E2 0E 00 04 0A 00 09 00 01 E9 FE 60 66 00 00 00 00 90 00 44 [00:12:27]RAPDU: 09 00 01 E9 FE 60 66 00 00 00 00 90 00 [00:12:27]wFMCommunicate OK [00:12:27]SAM_PROTO_GetShiftState done [00:12:27]FM_GetShiftState done [00:12:27]req_shift_opened done [00:12:27]requested_item shift.open_date is exist - process it [00:12:27]req_shift_open_date [00:12:27]req_shift_open_date done [00:12:27]produce_requested_data done [00:12:27]produce_requested_data return {"fd.num":4225,"shift.num":85,"shift.opened":1,"shift.open_date":1717632745} [00:12:27]process_action_free open_shift [00:12:27]json_value_free [00:12:27]json_value_free done [00:12:27]process_json_proto returns [00:12:27]Send response to host [00:12:27]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":4225,"shift.num":85,"shift.opened":1,"shift.open_date":1717632745}}} [00:12:27]free response buf [00:12:27]execute_script done [00:12:27]execute_script returns [00:12:27]free content buf [00:12:27]Sock 9.Close socket [00:12:27]Sock 9.Thread stoped [00:12:27]accept exits with 8 [00:12:27]New connection [00:12:27]New thread 3066772836 created [00:12:27]Thread 3066629476 joined [00:12:27]Waiting for new connection... [00:12:27] Sock 8.Parse request [00:12:27]Sock 8.Check first char [00:12:27]Sock 8.First char is OK [00:12:27]request: POST /json_proto HTTP/1.0 [00:12:27]Method: POST [00:12:27]URL: /json_proto [00:12:27]Method is POST - this is cgi request [00:12:27]url: /json_proto [00:12:27]query_string will be loaded in cgi processing [00:12:27]execute_cgi json_proto POST (null) [00:12:27]execute_cgi path=json_proto method=POST [00:12:27]POST find Content-Length [00:12:27]Host: 172.17.56.68:8080 [00:12:27]Content-Length: 331 [00:12:27]Content-Type: application/json [00:12:27] [00:12:27]POST finish read [00:12:27]Found Content-Length = 331 [00:12:27]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:12:27]execute_script... [00:12:27]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:12:27]POST & json_proto [00:12:27]process_json_proto [00:12:27]json parsed OK: [00:12:27]protocol is kg_v1.0 [00:12:27]action value=get_value [00:12:27]process_action get_value [00:12:27]cmd_get_value [00:12:27]process_action get_value done [00:12:27]requested_data is exist [00:12:27]produce_requested_data [00:12:27]requested_item fm.sale.total is exist - process it [00:12:27]SAM_PROTO_GetFMData [00:12:27]wFMCommunicate request_size=4 [00:12:27]MH_SAM_APDU [00:12:27]CAPDU: 80 13 03 00 [00:12:27]Write to MH i2c: E2 08 00 05 0A 80 13 03 00 00 00 00 00 8E [00:12:27]Write i2c OK [00:12:27]MH_I2C_Read... [00:12:27]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:12:27]Read from MH i2c: E2 [00:12:27]MH_I2C_Read... [00:12:27]Read from MH i2c: E2 FD 00 [00:12:27]MH_I2C_Read... [00:12:27]Read from MH i2c: E2 FD 00 05 0A 00 BB 04 85 04 B7 04 6E 04 04 00 D7 0F 00 00 69 04 9E 00 6F 04 04 00 CE 0F 00 00 B1 04 04 00 B7 FE 9A 05 70 04 04 00 A4 56 AB 04 72 04 03 00 13 A8 EF 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 95 62 98 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 FA B0 0C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 97 00 6F 04 04 00 09 00 00 00 B1 04 03 00 10 B1 02 70 04 03 00 10 B1 02 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 2C 49 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 29 [00:12:28]RAPDU: BB 04 85 04 B7 04 6E 04 04 00 D7 0F 00 00 69 04 9E 00 6F 04 04 00 CE 0F 00 00 B1 04 04 00 B7 FE 9A 05 70 04 04 00 A4 56 AB 04 72 04 03 00 13 A8 EF 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 95 62 98 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 FA B0 0C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 97 00 6F 04 04 00 09 00 00 00 B1 04 03 00 10 B1 02 70 04 03 00 10 B1 02 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 2C 49 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [00:12:28]wFMCommunicate OK [00:12:28]wFMCommunicate request_size=4 [00:12:28]MH_SAM_APDU [00:12:28]CAPDU: 80 17 00 00 [00:12:28]Write to MH i2c: E2 08 00 06 0A 80 17 00 00 00 00 00 00 90 [00:12:28]Write i2c OK [00:12:28]MH_I2C_Read... [00:12:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:12:28]Read from MH i2c: E2 [00:12:28]MH_I2C_Read... [00:12:28]Read from MH i2c: E2 FD 00 [00:12:28]MH_I2C_Read... [00:12:28]Read from MH i2c: E2 FD 00 06 0A 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 18 06 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 58 [00:12:28]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 18 06 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:12:28]wFMCommunicate OK [00:12:28]wFMCommunicate request_size=4 [00:12:28]MH_SAM_APDU [00:12:28]CAPDU: 80 17 00 00 [00:12:28]Write to MH i2c: E2 08 00 07 0A 80 17 00 00 00 00 00 00 91 [00:12:28]Write i2c OK [00:12:28]MH_I2C_Read... [00:12:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:12:28]Read from MH i2c: E2 [00:12:28]MH_I2C_Read... [00:12:28]Read from MH i2c: E2 FD 00 [00:12:28]MH_I2C_Read... [00:12:28]Read from MH i2c: E2 FD 00 07 0A 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 BD [00:12:28]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:12:28]wFMCommunicate OK [00:12:28]wFMCommunicate request_size=4 [00:12:28]MH_SAM_APDU [00:12:28]CAPDU: 80 17 00 00 [00:12:28]Write to MH i2c: E2 08 00 08 0A 80 17 00 00 00 00 00 00 92 [00:12:29]Write i2c OK [00:12:29]MH_I2C_Read... [00:12:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:12:29]Read from MH i2c: E2 [00:12:29]MH_I2C_Read... [00:12:29]Read from MH i2c: E2 FD 00 [00:12:29]MH_I2C_Read... [00:12:29]Read from MH i2c: E2 FD 00 08 0A 00 00 00 EF 03 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 90 00 07 [00:12:29]RAPDU: 00 00 EF 03 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 90 00 [00:12:29]wFMCommunicate OK [00:12:29]wFMCommunicate request_size=4 [00:12:29]MH_SAM_APDU [00:12:29]CAPDU: 80 17 00 00 [00:12:29]Write to MH i2c: E2 08 00 09 0A 80 17 00 00 00 00 00 00 93 [00:12:29]Write i2c OK [00:12:29]MH_I2C_Read... [00:12:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [00:12:29]Read from MH i2c: E2 [00:12:29]MH_I2C_Read... [00:12:29]Read from MH i2c: E2 D8 00 [00:12:29]MH_I2C_Read... [00:12:29]Read from MH i2c: E2 D8 00 09 0A 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 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 7A [00:12:29]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 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:12:29]wFMCommunicate OK [00:12:29]SAM_PROTO_GetFMData done [00:12:29]requested_item fm.sale_refund.total is exist - process it [00:12:29]requested_item fm.buy.total is exist - process it [00:12:29]requested_item shift.sale.total is exist - process it [00:12:29]SAM_PROTO_GetShiftData [00:12:29]wFMCommunicate request_size=4 [00:12:29]MH_SAM_APDU [00:12:29]CAPDU: 80 13 02 00 [00:12:29]Write to MH i2c: E2 08 00 0A 0A 80 13 02 00 00 00 00 00 92 [00:12:29]Write i2c OK [00:12:29]MH_I2C_Read... [00:12:30]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:12:30]Read from MH i2c: E2 [00:12:30]MH_I2C_Read... [00:12:30]Read from MH i2c: E2 FD 00 [00:12:30]MH_I2C_Read... [00:12:30]Read from MH i2c: E2 FD 00 0A 0A 00 A0 04 AA 04 9C 04 6E 04 04 00 00 00 00 00 69 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 05 [00:12:30]RAPDU: A0 04 AA 04 9C 04 6E 04 04 00 00 00 00 00 69 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 [00:12:30]wFMCommunicate OK [00:12:30]wFMCommunicate request_size=4 [00:12:30]MH_SAM_APDU [00:12:30]CAPDU: 80 17 00 00 [00:12:30]Write to MH i2c: E2 08 00 0B 0A 80 17 00 00 00 00 00 00 95 [00:12:30]Write i2c OK [00:12:30]MH_I2C_Read... [00:12:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:12:30]Read from MH i2c: E2 [00:12:30]MH_I2C_Read... [00:12:30]Read from MH i2c: E2 FD 00 [00:12:30]MH_I2C_Read... [00:12:30]Read from MH i2c: E2 FD 00 0B 0A 00 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 90 00 9D [00:12:30]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 90 00 [00:12:30]wFMCommunicate OK [00:12:30]wFMCommunicate request_size=4 [00:12:30]MH_SAM_APDU [00:12:30]CAPDU: 80 17 00 00 [00:12:30]Write to MH i2c: E2 08 00 0C 0A 80 17 00 00 00 00 00 00 96 [00:12:30]Write i2c OK [00:12:30]MH_I2C_Read... [00:12:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:12:31]Read from MH i2c: E2 [00:12:31]MH_I2C_Read... [00:12:31]Read from MH i2c: E2 FD 00 [00:12:31]MH_I2C_Read... [00:12:31]Read from MH i2c: E2 FD 00 0C 0A 00 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 90 00 68 [00:12:31]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 90 00 [00:12:31]wFMCommunicate OK [00:12:31]wFMCommunicate request_size=4 [00:12:31]MH_SAM_APDU [00:12:31]CAPDU: 80 17 00 00 [00:12:31]Write to MH i2c: E2 08 00 0D 0A 80 17 00 00 00 00 00 00 97 [00:12:31]Write i2c OK [00:12:31]MH_I2C_Read... [00:12:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:12:31]Read from MH i2c: E2 [00:12:31]MH_I2C_Read... [00:12:31]Read from MH i2c: E2 FD 00 [00:12:31]MH_I2C_Read... [00:12:31]Read from MH i2c: E2 FD 00 0D 0A 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 90 00 09 [00:12:31]RAPDU: 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 90 00 [00:12:31]wFMCommunicate OK [00:12:31]wFMCommunicate request_size=4 [00:12:31]MH_SAM_APDU [00:12:31]CAPDU: 80 17 00 00 [00:12:31]Write to MH i2c: E2 08 00 0E 0A 80 17 00 00 00 00 00 00 98 [00:12:31]OFD Sender: No OFD packet to send [00:12:31]Write i2c OK [00:12:31]MH_I2C_Read... [00:12:32]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 186! [00:12:32]Read from MH i2c: E2 [00:12:32]MH_I2C_Read... [00:12:32]Read from MH i2c: E2 BD 00 [00:12:32]MH_I2C_Read... [00:12:32]Read from MH i2c: E2 BD 00 0E 0A 00 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 7E [00:12:32]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:12:32]wFMCommunicate OK [00:12:32]SAM_PROTO_GetShiftData done [00:12:32]requested_item shift.sale.total_cash is exist - process it [00:12:32]requested_item shift.sale_refund.total is exist - process it [00:12:32]requested_item shift.sale_refund.total_cash is exist - process it [00:12:32]requested_item shift.buy.total is exist - process it [00:12:32]requested_item shift.buy.total_cash is exist - process it [00:12:32]produce_requested_data done [00:12:32]produce_requested_data return {"fm.sale.total":940438.31,"fm.sale_refund.total":1764.00,"fm.buy.total":0.00,"shift.sale.total":0.00,"shift.sale.total_cash":0.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:12:32]process_action_free get_value [00:12:32]json_value_free [00:12:32]json_value_free done [00:12:32]process_json_proto returns [00:12:32]Send response to host [00:12:32]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":940438.31,"fm.sale_refund.total":1764.00,"fm.buy.total":0.00,"shift.sale.total":0.00,"shift.sale.total_cash":0.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:12:32]free response buf [00:12:32]execute_script done [00:12:32]execute_script returns [00:12:32]free content buf [00:12:32]Sock 8.Close socket [00:12:32]Sock 8.Thread stoped [00:12:36]OFD Sender: No OFD packet to send [00:12:41]OFD Sender: No OFD packet to send [00:12:46]OFD Sender: No OFD packet to send [00:12:51]OFD Sender: No OFD packet to send [00:12:56]OFD Sender: No OFD packet to send [00:13:01]OFD Sender: No OFD packet to send [00:13:06]OFD Sender: No OFD packet to send [00:13:11]OFD Sender: No OFD packet to send [00:13:16]OFD Sender: No OFD packet to send [00:13:21]OFD Sender: No OFD packet to send [00:13:26]OFD Sender: No OFD packet to send [00:13:32]OFD Sender: No OFD packet to send [00:13:37]OFD Sender: No OFD packet to send [00:13:42]OFD Sender: No OFD packet to send [00:13:47]OFD Sender: No OFD packet to send [00:13:52]OFD Sender: No OFD packet to send [00:13:57]OFD Sender: No OFD packet to send [00:14:02]OFD Sender: No OFD packet to send [00:14:07]OFD Sender: No OFD packet to send [00:14:12]OFD Sender: No OFD packet to send [00:14:17]OFD Sender: No OFD packet to send [00:14:22]OFD Sender: No OFD packet to send [00:14:27]OFD Sender: No OFD packet to send [00:14:32]OFD Sender: No OFD packet to send [00:14:37]OFD Sender: No OFD packet to send [00:14:42]OFD Sender: No OFD packet to send [00:14:47]OFD Sender: No OFD packet to send [00:14:52]OFD Sender: No OFD packet to send [00:14:57]OFD Sender: No OFD packet to send [00:15:02]OFD Sender: No OFD packet to send [00:15:07]OFD Sender: No OFD packet to send [00:15:12]OFD Sender: No OFD packet to send [00:15:17]OFD Sender: No OFD packet to send [00:15:22]OFD Sender: No OFD packet to send [00:15:27]OFD Sender: No OFD packet to send [00:15:32]OFD Sender: No OFD packet to send [00:15:37]OFD Sender: No OFD packet to send [00:15:42]OFD Sender: No OFD packet to send [00:15:47]OFD Sender: No OFD packet to send [00:15:52]OFD Sender: No OFD packet to send [00:15:57]OFD Sender: No OFD packet to send [00:16:02]OFD Sender: No OFD packet to send [00:16:07]OFD Sender: No OFD packet to send [00:16:12]OFD Sender: No OFD packet to send [00:16:17]OFD Sender: No OFD packet to send [00:16:22]OFD Sender: No OFD packet to send [00:16:27]OFD Sender: No OFD packet to send [00:16:32]OFD Sender: No OFD packet to send [00:16:37]OFD Sender: No OFD packet to send [00:16:42]OFD Sender: No OFD packet to send [00:16:47]OFD Sender: No OFD packet to send [00:16:52]OFD Sender: No OFD packet to send [00:16:57]OFD Sender: No OFD packet to send [00:17:02]OFD Sender: No OFD packet to send [00:17:07]OFD Sender: No OFD packet to send [00:17:12]OFD Sender: No OFD packet to send [00:17:17]OFD Sender: No OFD packet to send [00:17:22]OFD Sender: No OFD packet to send [00:17:27]OFD Sender: No OFD packet to send [00:17:32]OFD Sender: No OFD packet to send [00:17:37]OFD Sender: No OFD packet to send [00:17:42]OFD Sender: No OFD packet to send [00:17:47]OFD Sender: No OFD packet to send [00:17:52]OFD Sender: No OFD packet to send [00:17:57]OFD Sender: No OFD packet to send [00:18:02]OFD Sender: No OFD packet to send [00:18:07]OFD Sender: No OFD packet to send [00:18:12]OFD Sender: No OFD packet to send [00:18:17]OFD Sender: No OFD packet to send [00:18:22]OFD Sender: No OFD packet to send [00:18:27]OFD Sender: No OFD packet to send [00:18:32]OFD Sender: No OFD packet to send [00:18:37]OFD Sender: No OFD packet to send [00:18:42]OFD Sender: No OFD packet to send [00:18:47]OFD Sender: No OFD packet to send [00:18:52]OFD Sender: No OFD packet to send [00:18:57]OFD Sender: No OFD packet to send [00:19:02]OFD Sender: No OFD packet to send [00:19:07]OFD Sender: No OFD packet to send [00:19:12]OFD Sender: No OFD packet to send [00:19:17]OFD Sender: No OFD packet to send [00:19:22]OFD Sender: No OFD packet to send [00:19:27]OFD Sender: No OFD packet to send [00:19:32]OFD Sender: No OFD packet to send [00:19:37]OFD Sender: No OFD packet to send [00:19:42]OFD Sender: No OFD packet to send [00:19:47]OFD Sender: No OFD packet to send [00:19:52]OFD Sender: No OFD packet to send [00:19:57]OFD Sender: No OFD packet to send [00:20:02]OFD Sender: No OFD packet to send [00:20:07]OFD Sender: No OFD packet to send [00:20:12]OFD Sender: No OFD packet to send [00:20:17]OFD Sender: No OFD packet to send [00:20:22]OFD Sender: No OFD packet to send [00:20:27]OFD Sender: No OFD packet to send [00:20:32]OFD Sender: No OFD packet to send [00:20:37]OFD Sender: No OFD packet to send [00:20:42]OFD Sender: No OFD packet to send [00:20:47]OFD Sender: No OFD packet to send [00:20:52]OFD Sender: No OFD packet to send [00:20:57]OFD Sender: No OFD packet to send [00:21:02]OFD Sender: No OFD packet to send [00:21:07]OFD Sender: No OFD packet to send [00:21:12]OFD Sender: No OFD packet to send [00:21:17]OFD Sender: No OFD packet to send [00:21:22]OFD Sender: No OFD packet to send [00:21:27]OFD Sender: No OFD packet to send [00:21:32]OFD Sender: No OFD packet to send [00:21:37]OFD Sender: No OFD packet to send [00:21:42]OFD Sender: No OFD packet to send [00:21:47]OFD Sender: No OFD packet to send [00:21:52]OFD Sender: No OFD packet to send [00:21:57]OFD Sender: No OFD packet to send [00:22:02]OFD Sender: No OFD packet to send [00:22:07]OFD Sender: No OFD packet to send [00:22:12]OFD Sender: No OFD packet to send [00:22:17]OFD Sender: No OFD packet to send [00:22:22]OFD Sender: No OFD packet to send [00:22:27]OFD Sender: No OFD packet to send [00:22:32]OFD Sender: No OFD packet to send [00:22:37]OFD Sender: No OFD packet to send [00:22:42]OFD Sender: No OFD packet to send [00:22:47]OFD Sender: No OFD packet to send [00:22:52]OFD Sender: No OFD packet to send [00:22:57]OFD Sender: No OFD packet to send [00:23:02]OFD Sender: No OFD packet to send [00:23:07]OFD Sender: No OFD packet to send [00:23:12]OFD Sender: No OFD packet to send [00:23:17]OFD Sender: No OFD packet to send [00:23:22]OFD Sender: No OFD packet to send [00:23:27]OFD Sender: No OFD packet to send [00:23:32]OFD Sender: No OFD packet to send [00:23:37]OFD Sender: No OFD packet to send [00:23:42]OFD Sender: No OFD packet to send [00:23:47]OFD Sender: No OFD packet to send [00:23:52]OFD Sender: No OFD packet to send [00:23:57]OFD Sender: No OFD packet to send [00:24:02]OFD Sender: No OFD packet to send [00:24:07]OFD Sender: No OFD packet to send [00:24:12]OFD Sender: No OFD packet to send [00:24:17]OFD Sender: No OFD packet to send [00:24:22]OFD Sender: No OFD packet to send [00:24:27]OFD Sender: No OFD packet to send [00:24:32]OFD Sender: No OFD packet to send [00:24:37]OFD Sender: No OFD packet to send [00:24:42]OFD Sender: No OFD packet to send [00:24:47]OFD Sender: No OFD packet to send [00:24:52]OFD Sender: No OFD packet to send [00:24:57]OFD Sender: No OFD packet to send [00:25:02]OFD Sender: No OFD packet to send [00:25:07]OFD Sender: No OFD packet to send [00:25:12]OFD Sender: No OFD packet to send [00:25:17]OFD Sender: No OFD packet to send [00:25:22]OFD Sender: No OFD packet to send [00:25:27]OFD Sender: No OFD packet to send [00:25:32]OFD Sender: No OFD packet to send [00:25:37]OFD Sender: No OFD packet to send [00:25:42]OFD Sender: No OFD packet to send [00:25:47]OFD Sender: No OFD packet to send [00:25:52]OFD Sender: No OFD packet to send [00:25:57]OFD Sender: No OFD packet to send [00:26:02]OFD Sender: No OFD packet to send [00:26:07]OFD Sender: No OFD packet to send [00:26:12]OFD Sender: No OFD packet to send [00:26:17]OFD Sender: No OFD packet to send [00:26:22]OFD Sender: No OFD packet to send [00:26:27]OFD Sender: No OFD packet to send [00:26:32]OFD Sender: No OFD packet to send [00:26:37]OFD Sender: No OFD packet to send [00:26:42]OFD Sender: No OFD packet to send [00:26:47]OFD Sender: No OFD packet to send [00:26:52]OFD Sender: No OFD packet to send [00:26:57]OFD Sender: No OFD packet to send [00:27:02]OFD Sender: No OFD packet to send [00:27:07]OFD Sender: No OFD packet to send [00:27:12]OFD Sender: No OFD packet to send [00:27:17]OFD Sender: No OFD packet to send [00:27:22]OFD Sender: No OFD packet to send [00:27:27]OFD Sender: No OFD packet to send [00:27:32]OFD Sender: No OFD packet to send [00:27:37]OFD Sender: No OFD packet to send [00:27:42]OFD Sender: No OFD packet to send [00:27:47]OFD Sender: No OFD packet to send [00:27:52]OFD Sender: No OFD packet to send [00:27:57]OFD Sender: No OFD packet to send [00:28:02]OFD Sender: No OFD packet to send [00:28:07]OFD Sender: No OFD packet to send [00:28:12]OFD Sender: No OFD packet to send [00:28:17]OFD Sender: No OFD packet to send [00:28:22]OFD Sender: No OFD packet to send [00:28:27]OFD Sender: No OFD packet to send [00:28:32]OFD Sender: No OFD packet to send [00:28:37]OFD Sender: No OFD packet to send [00:28:42]OFD Sender: No OFD packet to send [00:28:47]OFD Sender: No OFD packet to send [00:28:52]OFD Sender: No OFD packet to send [00:28:57]OFD Sender: No OFD packet to send [00:29:02]OFD Sender: No OFD packet to send [00:29:07]OFD Sender: No OFD packet to send [00:29:12]OFD Sender: No OFD packet to send [00:29:17]OFD Sender: No OFD packet to send [00:29:22]OFD Sender: No OFD packet to send [00:29:27]OFD Sender: No OFD packet to send [00:29:32]OFD Sender: No OFD packet to send [00:29:37]OFD Sender: No OFD packet to send [00:29:42]OFD Sender: No OFD packet to send [00:29:47]OFD Sender: No OFD packet to send [00:29:52]OFD Sender: No OFD packet to send [00:29:57]OFD Sender: No OFD packet to send [00:30:02]OFD Sender: No OFD packet to send [00:30:07]OFD Sender: No OFD packet to send [00:30:12]OFD Sender: No OFD packet to send [00:30:17]OFD Sender: No OFD packet to send [00:30:22]OFD Sender: No OFD packet to send [00:30:27]OFD Sender: No OFD packet to send [00:30:32]OFD Sender: No OFD packet to send [00:30:37]OFD Sender: No OFD packet to send [00:30:42]OFD Sender: No OFD packet to send [00:30:47]OFD Sender: No OFD packet to send [00:30:52]OFD Sender: No OFD packet to send [00:30:57]OFD Sender: No OFD packet to send [00:31:02]OFD Sender: No OFD packet to send [00:31:07]OFD Sender: No OFD packet to send [00:31:12]OFD Sender: No OFD packet to send [00:31:17]OFD Sender: No OFD packet to send [00:31:22]OFD Sender: No OFD packet to send [00:31:27]OFD Sender: No OFD packet to send [00:31:32]OFD Sender: No OFD packet to send [00:31:37]OFD Sender: No OFD packet to send [00:31:42]OFD Sender: No OFD packet to send [00:31:47]OFD Sender: No OFD packet to send [00:31:52]OFD Sender: No OFD packet to send [00:31:57]OFD Sender: No OFD packet to send [00:32:02]OFD Sender: No OFD packet to send [00:32:07]OFD Sender: No OFD packet to send [00:32:12]OFD Sender: No OFD packet to send [00:32:17]OFD Sender: No OFD packet to send [00:32:22]OFD Sender: No OFD packet to send [00:32:27]OFD Sender: No OFD packet to send [00:32:32]OFD Sender: No OFD packet to send [00:32:37]OFD Sender: No OFD packet to send [00:32:42]OFD Sender: No OFD packet to send [00:32:47]OFD Sender: No OFD packet to send [00:32:52]OFD Sender: No OFD packet to send [00:32:57]OFD Sender: No OFD packet to send [00:33:02]OFD Sender: No OFD packet to send [00:33:07]OFD Sender: No OFD packet to send [00:33:12]OFD Sender: No OFD packet to send [00:33:17]OFD Sender: No OFD packet to send [00:33:22]OFD Sender: No OFD packet to send [00:33:27]OFD Sender: No OFD packet to send [00:33:32]OFD Sender: No OFD packet to send [00:33:37]OFD Sender: No OFD packet to send [00:33:42]OFD Sender: No OFD packet to send [00:33:47]OFD Sender: No OFD packet to send [00:33:52]OFD Sender: No OFD packet to send [00:33:57]OFD Sender: No OFD packet to send [00:34:02]OFD Sender: No OFD packet to send [00:34:07]OFD Sender: No OFD packet to send [00:34:12]OFD Sender: No OFD packet to send [00:34:17]OFD Sender: No OFD packet to send [00:34:22]OFD Sender: No OFD packet to send [00:34:27]OFD Sender: No OFD packet to send [00:34:32]OFD Sender: No OFD packet to send [00:34:37]OFD Sender: No OFD packet to send [00:34:42]OFD Sender: No OFD packet to send [00:34:47]OFD Sender: No OFD packet to send [00:34:52]OFD Sender: No OFD packet to send [00:34:57]OFD Sender: No OFD packet to send [00:35:02]OFD Sender: No OFD packet to send [00:35:07]OFD Sender: No OFD packet to send [00:35:12]OFD Sender: No OFD packet to send [00:35:17]OFD Sender: No OFD packet to send [00:35:23]OFD Sender: No OFD packet to send [00:35:28]OFD Sender: No OFD packet to send [00:35:33]OFD Sender: No OFD packet to send [00:35:38]OFD Sender: No OFD packet to send [00:35:43]OFD Sender: No OFD packet to send [00:35:48]OFD Sender: No OFD packet to send [00:35:53]OFD Sender: No OFD packet to send [00:35:58]OFD Sender: No OFD packet to send [00:36:03]OFD Sender: No OFD packet to send [00:36:08]OFD Sender: No OFD packet to send [00:36:13]OFD Sender: No OFD packet to send [00:36:18]OFD Sender: No OFD packet to send [00:36:23]OFD Sender: No OFD packet to send [00:36:28]OFD Sender: No OFD packet to send [00:36:33]OFD Sender: No OFD packet to send [00:36:38]OFD Sender: No OFD packet to send [00:36:43]OFD Sender: No OFD packet to send [00:36:48]OFD Sender: No OFD packet to send [00:36:53]OFD Sender: No OFD packet to send [00:36:58]OFD Sender: No OFD packet to send [00:37:03]OFD Sender: No OFD packet to send [00:37:08]OFD Sender: No OFD packet to send [00:37:13]OFD Sender: No OFD packet to send [00:37:18]OFD Sender: No OFD packet to send [00:37:23]OFD Sender: No OFD packet to send [00:37:28]OFD Sender: No OFD packet to send [00:37:33]OFD Sender: No OFD packet to send [00:37:38]OFD Sender: No OFD packet to send [00:37:43]OFD Sender: No OFD packet to send [00:37:48]OFD Sender: No OFD packet to send [00:37:53]OFD Sender: No OFD packet to send [00:37:58]OFD Sender: No OFD packet to send [00:38:03]OFD Sender: No OFD packet to send [00:38:08]OFD Sender: No OFD packet to send [00:38:13]OFD Sender: No OFD packet to send [00:38:18]OFD Sender: No OFD packet to send [00:38:23]OFD Sender: No OFD packet to send [00:38:28]OFD Sender: No OFD packet to send [00:38:33]OFD Sender: No OFD packet to send [00:38:38]OFD Sender: No OFD packet to send [00:38:43]OFD Sender: No OFD packet to send [00:38:48]OFD Sender: No OFD packet to send [00:38:53]OFD Sender: No OFD packet to send [00:38:58]OFD Sender: No OFD packet to send [00:39:03]OFD Sender: No OFD packet to send [00:39:08]OFD Sender: No OFD packet to send [00:39:13]OFD Sender: No OFD packet to send [00:39:18]OFD Sender: No OFD packet to send [00:39:23]OFD Sender: No OFD packet to send [00:39:28]OFD Sender: No OFD packet to send [00:39:33]OFD Sender: No OFD packet to send [00:39:38]OFD Sender: No OFD packet to send [00:39:43]OFD Sender: No OFD packet to send [00:39:48]OFD Sender: No OFD packet to send [00:39:53]OFD Sender: No OFD packet to send [00:39:58]OFD Sender: No OFD packet to send [00:40:03]OFD Sender: No OFD packet to send [00:40:08]OFD Sender: No OFD packet to send [00:40:13]OFD Sender: No OFD packet to send [00:40:18]OFD Sender: No OFD packet to send [00:40:23]OFD Sender: No OFD packet to send [00:40:28]OFD Sender: No OFD packet to send [00:40:33]OFD Sender: No OFD packet to send [00:40:38]OFD Sender: No OFD packet to send [00:40:43]OFD Sender: No OFD packet to send [00:40:48]OFD Sender: No OFD packet to send [00:40:53]OFD Sender: No OFD packet to send [00:40:58]OFD Sender: No OFD packet to send [00:41:03]OFD Sender: No OFD packet to send [00:41:08]OFD Sender: No OFD packet to send [00:41:13]OFD Sender: No OFD packet to send [00:41:18]OFD Sender: No OFD packet to send [00:41:23]OFD Sender: No OFD packet to send [00:41:28]OFD Sender: No OFD packet to send [00:41:33]OFD Sender: No OFD packet to send [00:41:38]OFD Sender: No OFD packet to send [00:41:43]OFD Sender: No OFD packet to send [00:41:48]OFD Sender: No OFD packet to send [00:41:53]OFD Sender: No OFD packet to send [00:41:58]OFD Sender: No OFD packet to send [00:42:03]OFD Sender: No OFD packet to send [00:42:08]OFD Sender: No OFD packet to send [00:42:13]OFD Sender: No OFD packet to send [00:42:18]OFD Sender: No OFD packet to send [00:42:23]OFD Sender: No OFD packet to send [00:42:28]OFD Sender: No OFD packet to send [00:42:33]OFD Sender: No OFD packet to send [00:42:38]OFD Sender: No OFD packet to send [00:42:43]OFD Sender: No OFD packet to send [00:42:48]OFD Sender: No OFD packet to send [00:42:53]OFD Sender: No OFD packet to send [00:42:58]OFD Sender: No OFD packet to send [00:43:03]OFD Sender: No OFD packet to send [00:43:08]OFD Sender: No OFD packet to send [00:43:13]OFD Sender: No OFD packet to send [00:43:18]OFD Sender: No OFD packet to send [00:43:23]OFD Sender: No OFD packet to send [00:43:28]OFD Sender: No OFD packet to send [00:43:33]OFD Sender: No OFD packet to send [00:43:38]OFD Sender: No OFD packet to send [00:43:43]OFD Sender: No OFD packet to send [00:43:48]OFD Sender: No OFD packet to send [00:43:53]OFD Sender: No OFD packet to send [00:43:58]OFD Sender: No OFD packet to send [00:44:03]OFD Sender: No OFD packet to send [00:44:08]OFD Sender: No OFD packet to send [00:44:13]OFD Sender: No OFD packet to send [00:44:18]OFD Sender: No OFD packet to send [00:44:23]OFD Sender: No OFD packet to send [00:44:28]OFD Sender: No OFD packet to send [00:44:33]OFD Sender: No OFD packet to send [00:44:38]OFD Sender: No OFD packet to send [00:44:43]OFD Sender: No OFD packet to send [00:44:48]OFD Sender: No OFD packet to send [00:44:53]OFD Sender: No OFD packet to send [00:44:58]OFD Sender: No OFD packet to send [00:45:03]OFD Sender: No OFD packet to send [00:45:08]OFD Sender: No OFD packet to send [00:45:13]OFD Sender: No OFD packet to send [00:45:18]OFD Sender: No OFD packet to send [00:45:23]OFD Sender: No OFD packet to send [00:45:28]OFD Sender: No OFD packet to send [00:45:33]OFD Sender: No OFD packet to send [00:45:38]OFD Sender: No OFD packet to send [00:45:43]OFD Sender: No OFD packet to send [00:45:48]OFD Sender: No OFD packet to send [00:45:53]OFD Sender: No OFD packet to send [00:45:58]OFD Sender: No OFD packet to send [00:46:03]OFD Sender: No OFD packet to send [00:46:08]OFD Sender: No OFD packet to send [00:46:13]OFD Sender: No OFD packet to send [00:46:18]OFD Sender: No OFD packet to send [00:46:23]OFD Sender: No OFD packet to send [00:46:28]OFD Sender: No OFD packet to send [00:46:33]OFD Sender: No OFD packet to send [00:46:38]OFD Sender: No OFD packet to send [00:46:43]OFD Sender: No OFD packet to send [00:46:48]OFD Sender: No OFD packet to send [00:46:53]OFD Sender: No OFD packet to send [00:46:58]OFD Sender: No OFD packet to send [00:47:03]OFD Sender: No OFD packet to send [00:47:08]OFD Sender: No OFD packet to send [00:47:13]OFD Sender: No OFD packet to send [00:47:18]OFD Sender: No OFD packet to send [00:47:23]OFD Sender: No OFD packet to send [00:47:28]OFD Sender: No OFD packet to send [00:47:33]OFD Sender: No OFD packet to send [00:47:38]OFD Sender: No OFD packet to send [00:47:43]OFD Sender: No OFD packet to send [00:47:48]OFD Sender: No OFD packet to send [00:47:53]OFD Sender: No OFD packet to send [00:47:58]OFD Sender: No OFD packet to send [00:48:03]OFD Sender: No OFD packet to send [00:48:08]OFD Sender: No OFD packet to send [00:48:13]OFD Sender: No OFD packet to send [00:48:18]OFD Sender: No OFD packet to send [00:48:23]OFD Sender: No OFD packet to send [00:48:28]OFD Sender: No OFD packet to send [00:48:33]OFD Sender: No OFD packet to send [00:48:38]OFD Sender: No OFD packet to send [00:48:43]OFD Sender: No OFD packet to send [00:48:48]OFD Sender: No OFD packet to send [00:48:53]OFD Sender: No OFD packet to send [00:48:58]OFD Sender: No OFD packet to send [00:49:03]OFD Sender: No OFD packet to send [00:49:08]OFD Sender: No OFD packet to send [00:49:13]OFD Sender: No OFD packet to send [00:49:18]OFD Sender: No OFD packet to send [00:49:23]OFD Sender: No OFD packet to send [00:49:28]OFD Sender: No OFD packet to send [00:49:33]OFD Sender: No OFD packet to send [00:49:38]OFD Sender: No OFD packet to send [00:49:43]OFD Sender: No OFD packet to send [00:49:48]OFD Sender: No OFD packet to send [00:49:53]OFD Sender: No OFD packet to send [00:49:58]OFD Sender: No OFD packet to send [00:50:03]OFD Sender: No OFD packet to send [00:50:08]OFD Sender: No OFD packet to send [00:50:13]OFD Sender: No OFD packet to send [00:50:18]OFD Sender: No OFD packet to send [00:50:23]OFD Sender: No OFD packet to send [00:50:28]OFD Sender: No OFD packet to send [00:50:33]OFD Sender: No OFD packet to send [00:50:38]OFD Sender: No OFD packet to send [00:50:43]OFD Sender: No OFD packet to send [00:50:48]OFD Sender: No OFD packet to send [00:50:53]OFD Sender: No OFD packet to send [00:50:58]OFD Sender: No OFD packet to send [00:51:03]OFD Sender: No OFD packet to send [00:51:08]OFD Sender: No OFD packet to send [00:51:13]OFD Sender: No OFD packet to send [00:51:18]OFD Sender: No OFD packet to send [00:51:23]OFD Sender: No OFD packet to send [00:51:28]OFD Sender: No OFD packet to send [00:51:33]OFD Sender: No OFD packet to send [00:51:38]OFD Sender: No OFD packet to send [00:51:43]OFD Sender: No OFD packet to send [00:51:48]OFD Sender: No OFD packet to send [00:51:53]OFD Sender: No OFD packet to send [00:51:58]OFD Sender: No OFD packet to send [00:52:03]OFD Sender: No OFD packet to send [00:52:08]OFD Sender: No OFD packet to send [00:52:13]OFD Sender: No OFD packet to send [00:52:18]OFD Sender: No OFD packet to send [00:52:23]OFD Sender: No OFD packet to send [00:52:28]OFD Sender: No OFD packet to send [00:52:33]OFD Sender: No OFD packet to send [00:52:38]OFD Sender: No OFD packet to send [00:52:43]OFD Sender: No OFD packet to send [00:52:48]OFD Sender: No OFD packet to send [00:52:53]OFD Sender: No OFD packet to send [00:52:58]OFD Sender: No OFD packet to send [00:53:03]OFD Sender: No OFD packet to send [00:53:08]OFD Sender: No OFD packet to send [00:53:13]OFD Sender: No OFD packet to send [00:53:18]OFD Sender: No OFD packet to send [00:53:23]OFD Sender: No OFD packet to send [00:53:28]OFD Sender: No OFD packet to send [00:53:33]OFD Sender: No OFD packet to send [00:53:38]OFD Sender: No OFD packet to send [00:53:43]OFD Sender: No OFD packet to send [00:53:48]OFD Sender: No OFD packet to send [00:53:53]OFD Sender: No OFD packet to send [00:53:58]OFD Sender: No OFD packet to send [00:54:03]OFD Sender: No OFD packet to send [00:54:08]OFD Sender: No OFD packet to send [00:54:13]OFD Sender: No OFD packet to send [00:54:18]OFD Sender: No OFD packet to send [00:54:23]OFD Sender: No OFD packet to send [00:54:28]OFD Sender: No OFD packet to send [00:54:33]OFD Sender: No OFD packet to send [00:54:38]OFD Sender: No OFD packet to send [00:54:43]OFD Sender: No OFD packet to send [00:54:48]OFD Sender: No OFD packet to send [00:54:53]OFD Sender: No OFD packet to send [00:54:58]OFD Sender: No OFD packet to send [00:55:03]OFD Sender: No OFD packet to send [00:55:08]OFD Sender: No OFD packet to send [00:55:13]OFD Sender: No OFD packet to send [00:55:18]OFD Sender: No OFD packet to send [00:55:23]OFD Sender: No OFD packet to send [00:55:28]OFD Sender: No OFD packet to send [00:55:33]OFD Sender: No OFD packet to send [00:55:38]OFD Sender: No OFD packet to send [00:55:43]OFD Sender: No OFD packet to send [00:55:48]OFD Sender: No OFD packet to send [00:55:53]OFD Sender: No OFD packet to send [00:55:58]OFD Sender: No OFD packet to send [00:56:03]OFD Sender: No OFD packet to send [00:56:08]OFD Sender: No OFD packet to send [00:56:13]OFD Sender: No OFD packet to send [00:56:18]OFD Sender: No OFD packet to send [00:56:23]OFD Sender: No OFD packet to send [00:56:28]OFD Sender: No OFD packet to send [00:56:33]OFD Sender: No OFD packet to send [00:56:38]OFD Sender: No OFD packet to send [00:56:43]OFD Sender: No OFD packet to send [00:56:48]OFD Sender: No OFD packet to send [00:56:53]OFD Sender: No OFD packet to send [00:56:58]OFD Sender: No OFD packet to send [00:57:03]OFD Sender: No OFD packet to send [00:57:08]OFD Sender: No OFD packet to send [00:57:13]OFD Sender: No OFD packet to send [00:57:18]OFD Sender: No OFD packet to send [00:57:24]OFD Sender: No OFD packet to send [00:57:29]OFD Sender: No OFD packet to send [00:57:34]OFD Sender: No OFD packet to send [00:57:39]OFD Sender: No OFD packet to send [00:57:44]OFD Sender: No OFD packet to send [00:57:49]OFD Sender: No OFD packet to send [00:57:54]OFD Sender: No OFD packet to send [00:57:59]OFD Sender: No OFD packet to send [00:58:04]OFD Sender: No OFD packet to send [00:58:09]OFD Sender: No OFD packet to send [00:58:14]OFD Sender: No OFD packet to send [00:58:19]OFD Sender: No OFD packet to send [00:58:24]OFD Sender: No OFD packet to send [00:58:29]OFD Sender: No OFD packet to send [00:58:34]OFD Sender: No OFD packet to send [00:58:39]OFD Sender: No OFD packet to send [00:58:44]OFD Sender: No OFD packet to send [00:58:49]OFD Sender: No OFD packet to send [00:58:54]OFD Sender: No OFD packet to send [00:58:59]OFD Sender: No OFD packet to send [00:59:04]OFD Sender: No OFD packet to send [00:59:09]OFD Sender: No OFD packet to send [00:59:14]OFD Sender: No OFD packet to send [00:59:19]OFD Sender: No OFD packet to send [00:59:24]OFD Sender: No OFD packet to send [00:59:29]OFD Sender: No OFD packet to send [00:59:34]OFD Sender: No OFD packet to send [00:59:39]OFD Sender: No OFD packet to send [00:59:44]OFD Sender: No OFD packet to send [00:59:49]OFD Sender: No OFD packet to send [00:59:54]OFD Sender: No OFD packet to send [00:59:59]OFD Sender: No OFD packet to send [01:00:04]OFD Sender: No OFD packet to send [01:00:09]OFD Sender: No OFD packet to send [01:00:14]OFD Sender: No OFD packet to send [01:00:19]OFD Sender: No OFD packet to send [01:00:24]OFD Sender: No OFD packet to send [01:00:29]OFD Sender: No OFD packet to send [01:00:34]OFD Sender: No OFD packet to send [01:00:39]OFD Sender: No OFD packet to send [01:00:44]OFD Sender: No OFD packet to send [01:00:49]OFD Sender: No OFD packet to send [01:00:54]OFD Sender: No OFD packet to send [01:00:59]OFD Sender: No OFD packet to send [01:01:04]OFD Sender: No OFD packet to send [01:01:09]OFD Sender: No OFD packet to send [01:01:14]OFD Sender: No OFD packet to send [01:01:19]OFD Sender: No OFD packet to send [01:01:24]OFD Sender: No OFD packet to send [01:01:29]OFD Sender: No OFD packet to send [01:01:34]OFD Sender: No OFD packet to send [01:01:39]OFD Sender: No OFD packet to send [01:01:44]OFD Sender: No OFD packet to send [01:01:49]OFD Sender: No OFD packet to send [01:01:54]OFD Sender: No OFD packet to send [01:01:59]OFD Sender: No OFD packet to send [01:02:04]OFD Sender: No OFD packet to send [01:02:09]OFD Sender: No OFD packet to send [01:02:14]OFD Sender: No OFD packet to send [01:02:19]OFD Sender: No OFD packet to send [01:02:24]OFD Sender: No OFD packet to send [01:02:29]OFD Sender: No OFD packet to send [01:02:34]OFD Sender: No OFD packet to send [01:02:39]OFD Sender: No OFD packet to send [01:02:44]OFD Sender: No OFD packet to send [01:02:49]OFD Sender: No OFD packet to send [01:02:54]OFD Sender: No OFD packet to send [01:02:59]OFD Sender: No OFD packet to send [01:03:04]OFD Sender: No OFD packet to send [01:03:09]OFD Sender: No OFD packet to send [01:03:14]OFD Sender: No OFD packet to send [01:03:19]OFD Sender: No OFD packet to send [01:03:24]OFD Sender: No OFD packet to send [01:03:29]OFD Sender: No OFD packet to send [01:03:34]OFD Sender: No OFD packet to send [01:03:39]OFD Sender: No OFD packet to send [01:03:44]OFD Sender: No OFD packet to send [01:03:49]OFD Sender: No OFD packet to send [01:03:54]OFD Sender: No OFD packet to send [01:03:59]OFD Sender: No OFD packet to send [01:04:04]OFD Sender: No OFD packet to send [01:04:09]OFD Sender: No OFD packet to send [01:04:14]OFD Sender: No OFD packet to send [01:04:19]OFD Sender: No OFD packet to send [01:04:24]OFD Sender: No OFD packet to send [01:04:29]OFD Sender: No OFD packet to send [01:04:34]OFD Sender: No OFD packet to send [01:04:39]OFD Sender: No OFD packet to send [01:04:44]OFD Sender: No OFD packet to send [01:04:49]OFD Sender: No OFD packet to send [01:04:54]OFD Sender: No OFD packet to send [01:04:59]OFD Sender: No OFD packet to send [01:05:04]OFD Sender: No OFD packet to send [01:05:09]OFD Sender: No OFD packet to send [01:05:14]OFD Sender: No OFD packet to send [01:05:19]OFD Sender: No OFD packet to send [01:05:24]OFD Sender: No OFD packet to send [01:05:29]OFD Sender: No OFD packet to send [01:05:34]OFD Sender: No OFD packet to send [01:05:39]OFD Sender: No OFD packet to send [01:05:44]OFD Sender: No OFD packet to send [01:05:49]OFD Sender: No OFD packet to send [01:05:54]OFD Sender: No OFD packet to send [01:05:59]OFD Sender: No OFD packet to send [01:06:04]OFD Sender: No OFD packet to send [01:06:09]OFD Sender: No OFD packet to send [01:06:14]OFD Sender: No OFD packet to send [01:06:19]OFD Sender: No OFD packet to send [01:06:24]OFD Sender: No OFD packet to send [01:06:29]OFD Sender: No OFD packet to send [01:06:34]OFD Sender: No OFD packet to send [01:06:39]OFD Sender: No OFD packet to send [01:06:44]OFD Sender: No OFD packet to send [01:06:49]OFD Sender: No OFD packet to send [01:06:54]OFD Sender: No OFD packet to send [01:06:59]OFD Sender: No OFD packet to send [01:07:04]OFD Sender: No OFD packet to send [01:07:09]OFD Sender: No OFD packet to send [01:07:14]OFD Sender: No OFD packet to send [01:07:19]OFD Sender: No OFD packet to send [01:07:24]OFD Sender: No OFD packet to send [01:07:29]OFD Sender: No OFD packet to send [01:07:34]OFD Sender: No OFD packet to send [01:07:39]OFD Sender: No OFD packet to send [01:07:44]OFD Sender: No OFD packet to send [01:07:49]OFD Sender: No OFD packet to send [01:07:54]OFD Sender: No OFD packet to send [01:07:59]OFD Sender: No OFD packet to send [01:08:04]OFD Sender: No OFD packet to send [01:08:09]OFD Sender: No OFD packet to send [01:08:14]OFD Sender: No OFD packet to send [01:08:19]OFD Sender: No OFD packet to send [01:08:24]OFD Sender: No OFD packet to send [01:08:29]OFD Sender: No OFD packet to send [01:08:34]OFD Sender: No OFD packet to send [01:08:39]OFD Sender: No OFD packet to send [01:08:44]OFD Sender: No OFD packet to send [01:08:49]OFD Sender: No OFD packet to send [01:08:54]OFD Sender: No OFD packet to send [01:08:59]OFD Sender: No OFD packet to send [01:09:04]OFD Sender: No OFD packet to send [01:09:09]OFD Sender: No OFD packet to send [01:09:14]OFD Sender: No OFD packet to send [01:09:19]OFD Sender: No OFD packet to send [01:09:24]OFD Sender: No OFD packet to send [01:09:29]OFD Sender: No OFD packet to send [01:09:34]OFD Sender: No OFD packet to send [01:09:39]OFD Sender: No OFD packet to send [01:09:44]OFD Sender: No OFD packet to send [01:09:49]OFD Sender: No OFD packet to send [01:09:54]OFD Sender: No OFD packet to send [01:09:59]OFD Sender: No OFD packet to send [01:10:04]OFD Sender: No OFD packet to send [01:10:09]OFD Sender: No OFD packet to send [01:10:14]OFD Sender: No OFD packet to send [01:10:19]OFD Sender: No OFD packet to send [01:10:24]OFD Sender: No OFD packet to send [01:10:29]OFD Sender: No OFD packet to send [01:10:34]OFD Sender: No OFD packet to send [01:10:39]OFD Sender: No OFD packet to send [01:10:44]OFD Sender: No OFD packet to send [01:10:49]OFD Sender: No OFD packet to send [01:10:54]OFD Sender: No OFD packet to send [01:10:59]OFD Sender: No OFD packet to send [01:11:04]OFD Sender: No OFD packet to send [01:11:09]OFD Sender: No OFD packet to send [01:11:14]OFD Sender: No OFD packet to send [01:11:19]OFD Sender: No OFD packet to send [01:11:24]OFD Sender: No OFD packet to send [01:11:29]OFD Sender: No OFD packet to send [01:11:34]OFD Sender: No OFD packet to send [01:11:39]OFD Sender: No OFD packet to send [01:11:44]OFD Sender: No OFD packet to send [01:11:49]OFD Sender: No OFD packet to send [01:11:54]OFD Sender: No OFD packet to send [01:11:59]OFD Sender: No OFD packet to send [01:12:04]OFD Sender: No OFD packet to send [01:12:09]OFD Sender: No OFD packet to send [01:12:14]OFD Sender: No OFD packet to send [01:12:19]OFD Sender: No OFD packet to send [01:12:24]OFD Sender: No OFD packet to send [01:12:29]OFD Sender: No OFD packet to send [01:12:34]OFD Sender: No OFD packet to send [01:12:39]OFD Sender: No OFD packet to send [01:12:44]OFD Sender: No OFD packet to send [01:12:49]OFD Sender: No OFD packet to send [01:12:54]OFD Sender: No OFD packet to send [01:12:59]OFD Sender: No OFD packet to send [01:13:04]OFD Sender: No OFD packet to send [01:13:09]OFD Sender: No OFD packet to send [01:13:14]OFD Sender: No OFD packet to send [01:13:19]OFD Sender: No OFD packet to send [01:13:24]OFD Sender: No OFD packet to send [01:13:29]OFD Sender: No OFD packet to send [01:13:34]OFD Sender: No OFD packet to send [01:13:39]OFD Sender: No OFD packet to send [01:13:44]OFD Sender: No OFD packet to send [01:13:49]OFD Sender: No OFD packet to send [01:13:54]OFD Sender: No OFD packet to send [01:13:59]OFD Sender: No OFD packet to send [01:14:04]OFD Sender: No OFD packet to send [01:14:09]OFD Sender: No OFD packet to send [01:14:14]OFD Sender: No OFD packet to send [01:14:19]OFD Sender: No OFD packet to send [01:14:24]OFD Sender: No OFD packet to send [01:14:29]OFD Sender: No OFD packet to send [01:14:34]OFD Sender: No OFD packet to send [01:14:39]OFD Sender: No OFD packet to send [01:14:44]OFD Sender: No OFD packet to send [01:14:49]OFD Sender: No OFD packet to send [01:14:54]OFD Sender: No OFD packet to send [01:14:59]OFD Sender: No OFD packet to send [01:15:04]OFD Sender: No OFD packet to send [01:15:09]OFD Sender: No OFD packet to send [01:15:14]OFD Sender: No OFD packet to send [01:15:19]OFD Sender: No OFD packet to send [01:15:24]OFD Sender: No OFD packet to send [01:15:29]OFD Sender: No OFD packet to send [01:15:34]OFD Sender: No OFD packet to send [01:15:39]OFD Sender: No OFD packet to send [01:15:44]OFD Sender: No OFD packet to send [01:15:49]OFD Sender: No OFD packet to send [01:15:54]OFD Sender: No OFD packet to send [01:15:59]OFD Sender: No OFD packet to send [01:16:04]OFD Sender: No OFD packet to send [01:16:09]OFD Sender: No OFD packet to send [01:16:14]OFD Sender: No OFD packet to send [01:16:19]OFD Sender: No OFD packet to send [01:16:24]OFD Sender: No OFD packet to send [01:16:29]OFD Sender: No OFD packet to send [01:16:34]OFD Sender: No OFD packet to send [01:16:39]OFD Sender: No OFD packet to send [01:16:44]OFD Sender: No OFD packet to send [01:16:49]OFD Sender: No OFD packet to send [01:16:54]OFD Sender: No OFD packet to send [01:16:59]OFD Sender: No OFD packet to send [01:17:04]OFD Sender: No OFD packet to send [01:17:09]OFD Sender: No OFD packet to send [01:17:14]OFD Sender: No OFD packet to send [01:17:19]OFD Sender: No OFD packet to send [01:17:24]OFD Sender: No OFD packet to send [01:17:29]OFD Sender: No OFD packet to send [01:17:34]OFD Sender: No OFD packet to send [01:17:39]OFD Sender: No OFD packet to send [01:17:44]OFD Sender: No OFD packet to send [01:17:49]OFD Sender: No OFD packet to send [01:17:54]OFD Sender: No OFD packet to send [01:17:59]OFD Sender: No OFD packet to send [01:18:04]OFD Sender: No OFD packet to send [01:18:09]OFD Sender: No OFD packet to send [01:18:14]OFD Sender: No OFD packet to send [01:18:19]OFD Sender: No OFD packet to send [01:18:24]OFD Sender: No OFD packet to send [01:18:29]OFD Sender: No OFD packet to send [01:18:34]OFD Sender: No OFD packet to send [01:18:39]OFD Sender: No OFD packet to send [01:18:44]OFD Sender: No OFD packet to send [01:18:49]OFD Sender: No OFD packet to send [01:18:54]OFD Sender: No OFD packet to send [01:18:59]OFD Sender: No OFD packet to send [01:19:04]OFD Sender: No OFD packet to send [01:19:10]OFD Sender: No OFD packet to send [01:19:15]OFD Sender: No OFD packet to send [01:19:20]OFD Sender: No OFD packet to send [01:19:25]OFD Sender: No OFD packet to send [01:19:30]OFD Sender: No OFD packet to send [01:19:35]OFD Sender: No OFD packet to send [01:19:40]OFD Sender: No OFD packet to send [01:19:45]OFD Sender: No OFD packet to send [01:19:50]OFD Sender: No OFD packet to send [01:19:55]OFD Sender: No OFD packet to send [01:20:00]OFD Sender: No OFD packet to send [01:20:05]OFD Sender: No OFD packet to send [01:20:10]OFD Sender: No OFD packet to send [01:20:15]OFD Sender: No OFD packet to send [01:20:20]OFD Sender: No OFD packet to send [01:20:25]OFD Sender: No OFD packet to send [01:20:30]OFD Sender: No OFD packet to send [01:20:35]OFD Sender: No OFD packet to send [01:20:40]OFD Sender: No OFD packet to send [01:20:45]OFD Sender: No OFD packet to send [01:20:50]OFD Sender: No OFD packet to send [01:20:55]OFD Sender: No OFD packet to send [01:21:00]OFD Sender: No OFD packet to send [01:21:05]OFD Sender: No OFD packet to send [01:21:10]OFD Sender: No OFD packet to send [01:21:15]OFD Sender: No OFD packet to send [01:21:20]OFD Sender: No OFD packet to send [01:21:25]OFD Sender: No OFD packet to send [01:21:30]OFD Sender: No OFD packet to send [01:21:35]OFD Sender: No OFD packet to send [01:21:40]OFD Sender: No OFD packet to send [01:21:45]OFD Sender: No OFD packet to send [01:21:50]OFD Sender: No OFD packet to send [01:21:55]OFD Sender: No OFD packet to send [01:22:00]OFD Sender: No OFD packet to send [01:22:05]OFD Sender: No OFD packet to send [01:22:10]OFD Sender: No OFD packet to send [01:22:15]OFD Sender: No OFD packet to send [01:22:20]OFD Sender: No OFD packet to send [01:22:20]accept exits with 9 [01:22:20]New connection [01:22:20]New thread 3066629476 created [01:22:20]Thread 3066772836 joined [01:22:20]Waiting for new connection... [01:22:20] Sock 9.Parse request [01:22:20]Sock 9.Check first char [01:22:20]Sock 9.First char is OK [01:22:20]request: POST /json_proto HTTP/1.0 [01:22:20]Method: POST [01:22:20]URL: /json_proto [01:22:20]Method is POST - this is cgi request [01:22:20]url: /json_proto [01:22:20]query_string will be loaded in cgi processing [01:22:20]execute_cgi json_proto POST (null) [01:22:20]execute_cgi path=json_proto method=POST [01:22:20]POST find Content-Length [01:22:20]Host: 172.17.56.68:8080 [01:22:20]Content-Length: 666 [01:22:20]Content-Type: application/json [01:22:20] [01:22:20]POST finish read [01:22:20]Found Content-Length = 666 [01:22:20]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)4478", "tax_sys" : 0, "items" : [ { "code": "4690329000476", "name": "\u0421\u0443\u0445 \u041A\u0438\u0440\u0438\u0435\u0448\u043A\u0438 \u0448\u0430\u0448\u043B\u044B\u043A 40\u0433", "price" : 21.00, "quantity" : 1.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" ] } } [01:22:20]execute_script... [01:22: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)4478", "tax_sys" : 0, "items" : [ { "code": "4690329000476", "name": "\u0421\u0443\u0445 \u041A\u0438\u0440\u0438\u0435\u0448\u043A\u0438 \u0448\u0430\u0448\u043B\u044B\u043A 40\u0433", "price" : 21.00, "quantity" : 1.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" ] } } [01:22:20]POST & json_proto [01:22:20]process_json_proto [01:22:20]json parsed OK: [01:22:20]protocol is kg_v1.0 [01:22:20]action value=close_receipt [01:22:20]process_action close_receipt [01:22:20]cmd_close_receipt [01:22:20]MH_GetDate [01:22:20]Write to MH i2c: F0 00 00 0F 0A 08 [01:22:20]Write i2c OK [01:22:20]MH_I2C_Read... [01:22:20]Read from MH i2c: F0 [01:22:20]MH_I2C_Read... [01:22:20]Read from MH i2c: F0 09 00 [01:22:20]MH_I2C_Read... [01:22:20]Read from MH i2c: F0 09 00 0F 0A 00 4F 0F 61 66 3A 8F 60 66 C5 [01:22:20]GetLastDocTimeStamp 1717632745 [01:22:20]current date 1717636943 [01:22:20]FM_GetShiftState [01:22:20]SAM_PROTO_GetShiftState [01:22:20]wFMCommunicate request_size=4 [01:22:20]MH_SAM_APDU [01:22:20]CAPDU: 80 13 01 00 [01:22:20]Write to MH i2c: E2 08 00 10 0A 80 13 01 00 00 00 00 00 97 [01:22:20]Write i2c OK [01:22:20]MH_I2C_Read... [01:22:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:22:20]Read from MH i2c: E2 [01:22:20]MH_I2C_Read... [01:22:20]Read from MH i2c: E2 0E 00 [01:22:20]MH_I2C_Read... [01:22:20]Read from MH i2c: E2 0E 00 10 0A 00 09 00 01 E9 FE 60 66 00 00 00 00 90 00 50 [01:22:20]RAPDU: 09 00 01 E9 FE 60 66 00 00 00 00 90 00 [01:22:20]wFMCommunicate OK [01:22:20]SAM_PROTO_GetShiftState done [01:22:20]FM_GetShiftState done [01:22:20]opened in 1717632745 [01:22:20]opened+sec_in_day 1717719145 [01:22:20]quantity*price = 2100 [01:22:20]sum+1 = 2101 [01:22:20]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 21.00 НСП 1% : 0.19 НДС 12% : 2.23 Наличными: 21.00 Безнал.: 0.00 Место: АЗС № 116 "Партнер Нефть" Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 СНО: Общий режим Чек 1 06.06.2024 01:22 Смена: 85 ФФД: 1.0 ЗНМ: 0300000233 РНМ: 0000000000145775 Версия ККМ: v1.0 ФМ: 0000000000959360 ФД: 4226 ФПД: 218839478395002 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240606T012223&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4226&fm=218839478395002&tin=02508201610067®Number=0000000000145775&sum=2100 0 [01:22:22]StoreToDocumentArchive [01:22:22]shift 85 fd 4226 [01:22:22]save to /storage/0085/doc_00004226 [01:22:22]save last doc name /storage/0085/doc_00004226 to /storage/kkm_last_doc_name [01:22:22]save OK [01:22:22]Clear old archive folders... [01:22:22]ProcessDocumentItem done err = 0, tmpTLVsize=283 [01:22:22]tlvbuf is 019A1160 [01:22:22]SAM_PROTO_ClearQueue [01:22:22]wFMCommunicate request_size=4 [01:22:22]MH_SAM_APDU [01:22:22]CAPDU: 80 09 00 00 [01:22:22]Write to MH i2c: E2 08 00 1D 0A 80 09 00 00 00 00 00 00 99 [01:22:22]Write i2c OK [01:22:22]MH_I2C_Read... [01:22:22]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [01:22:22]Read from MH i2c: E2 [01:22:22]MH_I2C_Read... [01:22:22]Read from MH i2c: E2 03 00 [01:22:22]MH_I2C_Read... [01:22:22]Read from MH i2c: E2 03 00 1D 0A 00 90 00 9B [01:22:22]RAPDU: 90 00 [01:22:22]wFMCommunicate OK [01:22:22]SAM_PROTO_ClearQueue done [01:22:22]KKMCreateOFDPacket [01:22:22]OFDProtocolAddRootSTLVToBuf [01:22:22]FM_MakeSignedData [01:22:22]FM_MakeSignedData [01:22:22]SAM_PROTO_SignData [01:22:22]wFMCommunicate request_size=4 [01:22:22]MH_SAM_APDU [01:22:22]CAPDU: 80 0D 01 02 [01:22:22]Write to MH i2c: E2 08 00 1E 0A 80 0D 01 02 00 00 00 00 A1 [01:22:22]Write i2c OK [01:22:22]MH_I2C_Read... [01:22:22]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [01:22:22]Read from MH i2c: E2 [01:22:22]MH_I2C_Read... [01:22:22]Read from MH i2c: E2 03 00 [01:22:22]MH_I2C_Read... [01:22:22]Read from MH i2c: E2 03 00 1E 0A 00 90 00 9C [01:22:22]RAPDU: 90 00 [01:22:22]wFMCommunicate OK [01:22:22]wFMCommunicate request_size=255 [01:22:22]MH_SAM_APDU [01:22:22]CAPDU: 80 0D 02 02 FA 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 36 39 30 33 32 39 30 30 30 34 37 36 06 04 29 00 D0 A1 D1 83 D1 85 20 D0 9A D0 B8 D1 80 D0 B8 D0 B5 D1 88 D0 BA D0 B8 20 D1 88 D0 B0 D1 88 D0 BB D1 8B D0 BA 20 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 08 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 01 00 00 00 F4 03 04 00 4F 0F 61 66 0E 04 04 00 55 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 [01:22:22]Write to MH i2c: E2 02 01 1F 0A 80 0D 02 02 FA 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 36 39 30 33 32 39 30 30 30 34 37 36 06 04 29 00 D0 A1 D1 83 D1 85 20 D0 9A D0 B8 D1 80 D0 B8 D0 B5 D1 88 D0 BA D0 B8 20 D1 88 D0 B0 D1 88 D0 BB D1 8B D0 BA 20 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 08 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 01 00 00 00 F4 03 04 00 4F 0F 61 66 0E 04 04 00 55 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 00 00 C1 [01:22:22]Write i2c OK [01:22:22]MH_I2C_Read... [01:22:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:22:22]Read from MH i2c: E2 [01:22:22]MH_I2C_Read... [01:22:22]Read from MH i2c: E2 03 00 [01:22:22]MH_I2C_Read... [01:22:22]Read from MH i2c: E2 03 00 1F 0A 00 90 00 9D [01:22:22]RAPDU: 90 00 [01:22:22]wFMCommunicate OK [01:22:22]wFMCommunicate request_size=42 [01:22:22]MH_SAM_APDU [01:22:22]CAPDU: 80 0D 02 02 25 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 82 10 00 00 35 04 06 00 C7 08 89 5F 60 7A [01:22:22]Write to MH i2c: E2 2D 00 20 0A 80 0D 02 02 25 00 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 82 10 00 00 35 04 06 00 C7 08 89 5F 60 7A 00 00 9C [01:22:22]Write i2c OK [01:22:22]MH_I2C_Read... [01:22:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:22:22]Read from MH i2c: E2 [01:22:22]MH_I2C_Read... [01:22:22]Read from MH i2c: E2 03 00 [01:22:22]MH_I2C_Read... [01:22:22]Read from MH i2c: E2 03 00 20 0A 00 90 00 9E [01:22:22]RAPDU: 90 00 [01:22:22]wFMCommunicate OK [01:22:22]wFMCommunicate request_size=4 [01:22:22]MH_SAM_APDU [01:22:22]CAPDU: 80 0D 03 02 [01:22:22]Write to MH i2c: E2 08 00 21 0A 80 0D 03 02 00 00 00 00 A6 [01:22:22]Write i2c OK [01:22:22]MH_I2C_Read... [01:22:22]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [01:22:22]Read from MH i2c: E2 [01:22:22]MH_I2C_Read... [01:22:22]Read from MH i2c: E2 0B 00 [01:22:22]MH_I2C_Read... [01:22:22]Read from MH i2c: E2 0B 00 21 0A 00 37 B0 8C D7 E7 1E 7B 08 90 00 79 [01:22:22]RAPDU: 37 B0 8C D7 E7 1E 7B 08 90 00 [01:22:22]wFMCommunicate OK [01:22:22]SAM_PROTO_SignData done [01:22:22]FM_MakeSignedData done [01:22:22]CreateOFDProtocolMessage [01:22:22]wFMCommunicate request_size=4 [01:22:22]MH_SAM_APDU [01:22:22]CAPDU: 80 11 00 00 [01:22:22]Write to MH i2c: E2 08 00 22 0A 80 11 00 00 00 00 00 00 A6 [01:22:22]Write i2c OK [01:22:22]MH_I2C_Read... [01:22:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:22:22]Read from MH i2c: E2 [01:22:22]MH_I2C_Read... [01:22:22]Read from MH i2c: E2 17 00 [01:22:22]MH_I2C_Read... [01:22:22]Read from MH i2c: E2 17 00 22 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 F9 [01:22:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [01:22:22]wFMCommunicate OK [01:22:22]CreateOFDProtocolMessage done [01:22:22]OFDSenderStorePacket 4226 [01:22:22]StoreOFDPacket docnum=4226 [01:22:22]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 2F 01 00 00 C2 FA 27 01 B6 95 5A 03 01 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 36 39 30 33 32 39 30 30 30 34 37 36 06 04 29 00 D0 A1 D1 83 D1 85 20 D0 9A D0 B8 D1 80 D0 B8 D0 B5 D1 88 D0 BA D0 B8 20 D1 88 D0 B0 D1 88 D0 BB D1 8B D0 BA 20 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 08 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 01 00 00 00 F4 03 04 00 4F 0F 61 66 0E 04 04 00 55 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 82 10 00 00 35 04 06 00 C7 08 89 5F 60 7A 37 B0 8C D7 E7 1E 7B 08 [01:22:22]CheckFolder [01:22:22]dirname=/storage/ofd_packets [01:22:22]CheckFolder done [01:22:22]ProducePacketName [01:22:22]name=ofd_packets/00004226 [01:22:22]NVStorageSaveData ofd_packets/00004226 [01:22:22]File name is /storage/ofd_packets/00004226 [01:22:22]Write 333 bytes [01:22:22]NVStorageSaveData done [01:22:22]OFDSenderStorePacket done [01:22:22]KKMCreateOFDPacket done [01:22:22]NVStorageSaveData kkm_last_timestamp [01:22:22]File name is /storage/kkm_last_timestamp [01:22:22]Write 4 bytes [01:22:22]NVStorageSaveData done [01:22:22]ExternCall_PrintAddStr [01:22:22]wPrintStart [01:22:22]Write to MH i2c: 01 00 00 23 0A 2D [01:22:22]Write i2c OK [01:22:22]MH_I2C_Read... [01:22:22]Read from MH i2c: 01 [01:22:22]MH_I2C_Read... [01:22:22]Read from MH i2c: 01 07 00 [01:22:22]MH_I2C_Read... [01:22:22]Read from MH i2c: 01 07 00 23 0A 00 00 00 00 00 FF 0F 42 [01:22:22]RasterBufferAndPrint [01:22:22]line Счет N : (3)4478 [01:22:22]line ИНН: 02508201610067 [01:22:22]line Контрольно-Кассовый Чек [01:22:22]line ПРОДАЖА [01:22:22]line Товар: 4690329000476 [01:22:22]line Сух Кириешки шашлык 40г [01:22:22]line 1.000 * 21.00 [01:22:22]line = 21.00 [01:22:22]line НДС 12% НСП 1% [01:22:22]line > о реализуемом товаре [01:22:22]line ИТОГО: 21.00 [01:22:22]line НСП 1% : 0.19 [01:22:22]line НДС 12% : 2.23 [01:22:22]line Наличными: 21.00 [01:22:22]line Безнал.: 0.00 [01:22:22]line Место: АЗС № 116 "Партнер Нефть" [01:22:22]line Адрес: 720001, с. Барскоон, контур 98, Жети Огузский район, 42.181661,77.570794 [01:22:22]line СНО: Общий режим [01:22:22]line Чек 1 06.06.2024 01:22 [01:22:22]line Смена: 85 ФФД: 1.0 [01:22:22]line ЗНМ: 0300000233 [01:22:22]line РНМ: 0000000000145775 [01:22:22]line Версия ККМ: v1.0 [01:22:22]line ФМ: 0000000000959360 [01:22:22]line ФД: 4226 [01:22:22]line ФПД: 218839478395002 [01:22:22]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240606T012223&type=1&operation_type=1&fn_number=0000000000959360&fd_number=4226&fm=218839478395002&tin=02508201610067®Number=0000000000145775&sum=2100 [01:22:23]OFD Sender: Processing packet 4226 [packets to send 2, broken 1] [01:22:23]ProducePacketName [01:22:23]name=ofd_packets/00004226 [01:22:23]OFD Sender: To server: pG, [01:22:23]CommunicateWithHost lk.salyk.kg:30040 [01:22:23]ConnectInit lk.salyk.kg [01:22:23]line 0 [01:22:23]written 0, free lines is 4095 [01:22:23]Connected sock=10 [01:22:23]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 2F 01 00 00 C2 FA 27 01 B6 95 5A 03 01 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 36 39 30 33 32 39 30 30 30 34 37 36 06 04 29 00 D0 A1 D1 83 D1 85 20 D0 9A D0 B8 D1 80 D0 B8 D0 B5 D1 88 D0 BA D0 B8 20 D1 88 D0 B0 D1 88 D0 BB D1 8B D0 BA 20 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 08 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 01 00 00 00 F4 03 04 00 4F 0F 61 66 0E 04 04 00 55 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 82 10 00 00 35 04 06 00 C7 08 89 5F 60 7A 37 B0 8C D7 E7 1E 7B 08 [01:22:23]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 4F 00 00 00 A4 D6 47 00 75 F5 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 10 04 04 00 82 10 00 00 F4 03 04 00 50 BB 60 66 B6 04 01 00 00 4E FB 2E 6A E9 1E 14 F6 [01:22:23]CommunicateWithHost err = 0 [01:22:23]CheckOFDResponse [01:22:23]1017 (14) - 77093643461234 [01:22:23]1041 (16) - 0000000000959360 [01:22:23]1040 (4) - 4226 [01:22:23]1012 (4) - 05.06.2024 19:24 [01:22:23]1206 (1) - 0 [01:22:23]OFD Sender: Remove packet 4226 [01:22:23]ProducePacketName [01:22:23]name=ofd_packets/00004226 [01:22:23]NVStorageDeleteData [01:22:23]Write to MH i2c: 01 00 00 4B 0A 55 [01:22:23]Write i2c OK [01:22:23]MH_I2C_Read... [01:22:23]Read from MH i2c: 01 [01:22:23]MH_I2C_Read... [01:22:23]Read from MH i2c: 01 07 00 [01:22:23]MH_I2C_Read... [01:22:23]Read from MH i2c: 01 07 00 4B 0A 00 00 00 00 00 BC 0C 24 [01:22:23]RasterBufferAndPrint [01:22:23]line [01:22:23]line [01:22:23]line [01:22:23]line [01:22:23]line [01:22:23]written 0, free lines is 3265 [01:22:23]MH_Cut [01:22:23]Write to MH i2c: D1 01 00 52 0A 01 2E [01:22:23]Write i2c OK [01:22:23]MH_I2C_Read... [01:22:23]Read from MH i2c: D1 [01:22:23]MH_I2C_Read... [01:22:23]Read from MH i2c: D1 01 00 [01:22:23]MH_I2C_Read... [01:22:23]Read from MH i2c: D1 01 00 52 0A 00 2D [01:22:23]Write to MH i2c: 01 00 00 53 0A 5D [01:22:23]Write i2c OK [01:22:23]MH_I2C_Read... [01:22:23]OFD Sender: No OFD packet to send [01:22:24]*** Cut start [01:22:24]*** Partial cut [01:22:24]*** CUTSNS_PIN = 1 [01:22:24]*** CUTSNS_PIN = 0 [01:22:24]*** Brake cut motor [01:22:24]Read from MH i2c: 01 [01:22:24]MH_I2C_Read... [01:22:24]*** Stop cut motor [01:22:25]*** Cut end [01:22:25]Read from MH i2c: 01 07 00 [01:22:25]MH_I2C_Read... [01:22:25]Read from MH i2c: 01 07 00 53 0A 00 00 00 00 00 FF 0F 72 [01:22:25]process_action close_receipt done [01:22:25]requested_data is exist [01:22:25]produce_requested_data [01:22:25]requested_item fm.sn is exist - process it [01:22:25]wFMCommunicate request_size=4 [01:22:25]MH_SAM_APDU [01:22:25]CAPDU: 80 11 00 00 [01:22:25]Write to MH i2c: E2 08 00 54 0A 80 11 00 00 00 00 00 00 D8 [01:22:25]Write i2c OK [01:22:25]MH_I2C_Read... [01:22:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:22:25]Read from MH i2c: E2 [01:22:25]MH_I2C_Read... [01:22:25]Read from MH i2c: E2 17 00 [01:22:25]MH_I2C_Read... [01:22:25]Read from MH i2c: E2 17 00 54 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 2B [01:22:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 90 00 [01:22:25]wFMCommunicate OK [01:22:25]requested_item fd.num is exist - process it [01:22:25]SAM_PROTO_GetFieldsCounters [01:22:25]wFMCommunicate request_size=4 [01:22:25]MH_SAM_APDU [01:22:25]CAPDU: 80 13 00 00 [01:22:25]Write to MH i2c: E2 08 00 55 0A 80 13 00 00 00 00 00 00 DB [01:22:25]Write i2c OK [01:22:25]MH_I2C_Read... [01:22:25]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:22:25]Read from MH i2c: E2 [01:22:25]MH_I2C_Read... [01:22:25]Read from MH i2c: E2 62 00 [01:22:25]MH_I2C_Read... [01:22:25]Read from MH i2c: E2 62 00 55 0A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 82 10 00 00 0E 04 04 00 55 00 00 00 12 04 04 00 01 00 00 00 5E 04 04 00 01 00 00 00 57 04 04 00 02 00 00 00 19 04 04 00 00 00 00 00 90 00 EA [01:22:25]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 36 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 35 37 37 35 10 04 04 00 82 10 00 00 0E 04 04 00 55 00 00 00 12 04 04 00 01 00 00 00 5E 04 04 00 01 00 00 00 57 04 04 00 02 00 00 00 19 04 04 00 00 00 00 00 90 00 [01:22:25]wFMCommunicate OK [01:22:25]SAM_PROTO_GetFieldsCounters done [01:22:25]requested_item shift.num is exist - process it [01:22:25]requested_item shift.opened is exist - process it [01:22:25]req_shift_opened [01:22:25]FM_GetShiftState [01:22:25]SAM_PROTO_GetShiftState [01:22:25]wFMCommunicate request_size=4 [01:22:25]MH_SAM_APDU [01:22:25]CAPDU: 80 13 01 00 [01:22:25]Write to MH i2c: E2 08 00 56 0A 80 13 01 00 00 00 00 00 DD [01:22:25]Write i2c OK [01:22:25]MH_I2C_Read... [01:22:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:22:25]Read from MH i2c: E2 [01:22:25]MH_I2C_Read... [01:22:25]Read from MH i2c: E2 0E 00 [01:22:25]MH_I2C_Read... [01:22:25]Read from MH i2c: E2 0E 00 56 0A 00 09 00 01 E9 FE 60 66 00 00 00 00 90 00 96 [01:22:25]RAPDU: 09 00 01 E9 FE 60 66 00 00 00 00 90 00 [01:22:25]wFMCommunicate OK [01:22:25]SAM_PROTO_GetShiftState done [01:22:25]FM_GetShiftState done [01:22:25]req_shift_opened done [01:22:25]requested_item shift.open_date is exist - process it [01:22:25]req_shift_open_date [01:22:25]req_shift_open_date done [01:22:25]produce_requested_data done [01:22:25]produce_requested_data return {"fm.sn":"0000000000959360","fd.num":4226,"shift.num":85,"shift.opened":1,"shift.open_date":1717632745} [01:22:25]process_action_free close_receipt [01:22:25]json_value_free [01:22:25]json_value_free done [01:22:25]process_json_proto returns [01:22:25]Send response to host [01:22:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959360","fd.num":4226,"shift.num":85,"shift.opened":1,"shift.open_date":1717632745}}} [01:22:25]free response buf [01:22:25]execute_script done [01:22:25]execute_script returns [01:22:25]free content buf [01:22:25]Sock 9.Close socket [01:22:25]Sock 9.Thread stoped [01:22:28]OFD Sender: No OFD packet to send [01:22:33]OFD Sender: No OFD packet to send [01:22:38]OFD Sender: No OFD packet to send [01:22:43]OFD Sender: No OFD packet to send [01:22:48]OFD Sender: No OFD packet to send [01:22:53]OFD Sender: No OFD packet to send [01:22:58]OFD Sender: No OFD packet to send [01:23:03]OFD Sender: No OFD packet to send [01:23:08]OFD Sender: No OFD packet to send [01:23:13]OFD Sender: No OFD packet to send [01:23:18]OFD Sender: No OFD packet to send [01:23:23]OFD Sender: No OFD packet to send [01:23:28]OFD Sender: No OFD packet to send [01:23:33]OFD Sender: No OFD packet to send [01:23:38]OFD Sender: No OFD packet to send [01:23:43]OFD Sender: No OFD packet to send [01:23:48]OFD Sender: No OFD packet to send [01:23:53]OFD Sender: No OFD packet to send [01:23:58]OFD Sender: No OFD packet to send [01:24:03]OFD Sender: No OFD packet to send [01:24:08]OFD Sender: No OFD packet to send [01:24:13]OFD Sender: No OFD packet to send [01:24:18]OFD Sender: No OFD packet to send [01:24:23]OFD Sender: No OFD packet to send [01:24:28]OFD Sender: No OFD packet to send [01:24:33]OFD Sender: No OFD packet to send [01:24:38]OFD Sender: No OFD packet to send [01:24:43]OFD Sender: No OFD packet to send [01:24:48]OFD Sender: No OFD packet to send [01:24:53]OFD Sender: No OFD packet to send [01:24:58]OFD Sender: No OFD packet to send [01:25:03]OFD Sender: No OFD packet to send [01:25:08]OFD Sender: No OFD packet to send [01:25:13]OFD Sender: No OFD packet to send [01:25:18]OFD Sender: No OFD packet to send [01:25:23]OFD Sender: No OFD packet to send [01:25:28]OFD Sender: No OFD packet to send [01:25:33]OFD Sender: No OFD packet to send [01:25:38]OFD Sender: No OFD packet to send [01:25:43]OFD Sender: No OFD packet to send [01:25:48]OFD Sender: No OFD packet to send [01:25:53]OFD Sender: No OFD packet to send [01:25:58]OFD Sender: No OFD packet to send [01:26:03]OFD Sender: No OFD packet to send [01:26:08]OFD Sender: No OFD packet to send [01:26:13]OFD Sender: No OFD packet to send [01:26:18]OFD Sender: No OFD packet to send [01:26:23]OFD Sender: No OFD packet to send [01:26:28]OFD Sender: No OFD packet to send [01:26:33]OFD Sender: No OFD packet to send [01:26:38]OFD Sender: No OFD packet to send [01:26:44]OFD Sender: No OFD packet to send [01:26:49]OFD Sender: No OFD packet to send [01:26:54]OFD Sender: No OFD packet to send [01:26:59]OFD Sender: No OFD packet to send [01:27:04]OFD Sender: No OFD packet to send [01:27:09]OFD Sender: No OFD packet to send [01:27:14]OFD Sender: No OFD packet to send [01:27:19]OFD Sender: No OFD packet to send [01:27:24]OFD Sender: No OFD packet to send [01:27:29]OFD Sender: No OFD packet to send [01:27:34]OFD Sender: No OFD packet to send [01:27:39]OFD Sender: No OFD packet to send [01:27:44]OFD Sender: No OFD packet to send [01:27:49]OFD Sender: No OFD packet to send [01:27:54]OFD Sender: No OFD packet to send [01:27:59]OFD Sender: No OFD packet to send [01:28:04]OFD Sender: No OFD packet to send [01:28:09]OFD Sender: No OFD packet to send [01:28:14]OFD Sender: No OFD packet to send [01:28:19]OFD Sender: No OFD packet to send [01:28:24]OFD Sender: No OFD packet to send [01:28:29]OFD Sender: No OFD packet to send [01:28:34]OFD Sender: No OFD packet to send [01:28:39]OFD Sender: No OFD packet to send [01:28:44]OFD Sender: No OFD packet to send [01:28:49]OFD Sender: No OFD packet to send [01:28:54]OFD Sender: No OFD packet to send [01:28:59]OFD Sender: No OFD packet to send [01:29:04]OFD Sender: No OFD packet to send [01:29:09]OFD Sender: No OFD packet to send [01:29:14]OFD Sender: No OFD packet to send [01:29:19]OFD Sender: No OFD packet to send [01:29:24]OFD Sender: No OFD packet to send [01:29:29]OFD Sender: No OFD packet to send [01:29:34]OFD Sender: No OFD packet to send [01:29:39]OFD Sender: No OFD packet to send [01:29:44]OFD Sender: No OFD packet to send [01:29:49]OFD Sender: No OFD packet to send [01:29:54]OFD Sender: No OFD packet to send [01:29:59]OFD Sender: No OFD packet to send [01:30:04]OFD Sender: No OFD packet to send [01:30:09]OFD Sender: No OFD packet to send [01:30:14]OFD Sender: No OFD packet to send [01:30:19]OFD Sender: No OFD packet to send [01:30:24]OFD Sender: No OFD packet to send [01:30:29]OFD Sender: No OFD packet to send [01:30:34]OFD Sender: No OFD packet to send [01:30:39]OFD Sender: No OFD packet to send [01:30:44]OFD Sender: No OFD packet to send [01:30:49]OFD Sender: No OFD packet to send [01:30:54]OFD Sender: No OFD packet to send [01:30:59]OFD Sender: No OFD packet to send [01:31:04]OFD Sender: No OFD packet to send [01:31:09]OFD Sender: No OFD packet to send [01:31:14]OFD Sender: No OFD packet to send [01:31:19]OFD Sender: No OFD packet to send [01:31:24]OFD Sender: No OFD packet to send [01:31:29]OFD Sender: No OFD packet to send [01:31:34]OFD Sender: No OFD packet to send [01:31:39]OFD Sender: No OFD packet to send [01:31:44]OFD Sender: No OFD packet to send [01:31:49]OFD Sender: No OFD packet to send [01:31:54]OFD Sender: No OFD packet to send [01:31:59]OFD Sender: No OFD packet to send [01:32:04]OFD Sender: No OFD packet to send [01:32:09]OFD Sender: No OFD packet to send [01:32:14]OFD Sender: No OFD packet to send [01:32:19]OFD Sender: No OFD packet to send [01:32:24]OFD Sender: No OFD packet to send [01:32:29]OFD Sender: No OFD packet to send [01:32:34]OFD Sender: No OFD packet to send [01:32:39]OFD Sender: No OFD packet to send [01:32:44]OFD Sender: No OFD packet to send [01:32:49]OFD Sender: No OFD packet to send [01:32:54]OFD Sender: No OFD packet to send [01:32:59]OFD Sender: No OFD packet to send [01:33:04]OFD Sender: No OFD packet to send [01:33:09]OFD Sender: No OFD packet to send [01:33:14]OFD Sender: No OFD packet to send [01:33:19]OFD Sender: No OFD packet to send [01:33:24]OFD Sender: No OFD packet to send [01:33:29]OFD Sender: No OFD packet to send [01:33:34]OFD Sender: No OFD packet to send [01:33:39]OFD Sender: No OFD packet to send [01:33:44]OFD Sender: No OFD packet to send [01:33:49]OFD Sender: No OFD packet to send [01:33:54]OFD Sender: No OFD packet to send [01:33:59]OFD Sender: No OFD packet to send [01:34:04]OFD Sender: No OFD packet to send [01:34:09]OFD Sender: No OFD packet to send [01:34:14]OFD Sender: No OFD packet to send [01:34:19]OFD Sender: No OFD packet to send [01:34:24]OFD Sender: No OFD packet to send [01:34:29]OFD Sender: No OFD packet to send [01:34:34]OFD Sender: No OFD packet to send [01:34:39]OFD Sender: No OFD packet to send [01:34:44]OFD Sender: No OFD packet to send [01:34:49]OFD Sender: No OFD packet to send [01:34:54]OFD Sender: No OFD packet to send [01:34:59]OFD Sender: No OFD packet to send [01:35:04]OFD Sender: No OFD packet to send [01:35:09]OFD Sender: No OFD packet to send [01:35:14]OFD Sender: No OFD packet to send [01:35:19]OFD Sender: No OFD packet to send [01:35:24]OFD Sender: No OFD packet to send [01:35:29]OFD Sender: No OFD packet to send [01:35:34]OFD Sender: No OFD packet to send [01:35:39]OFD Sender: No OFD packet to send [01:35:44]OFD Sender: No OFD packet to send [01:35:49]OFD Sender: No OFD packet to send [01:35:54]OFD Sender: No OFD packet to send [01:35:59]OFD Sender: No OFD packet to send [01:36:04]OFD Sender: No OFD packet to send [01:36:09]OFD Sender: No OFD packet to send [01:36:14]OFD Sender: No OFD packet to send [01:36:19]OFD Sender: No OFD packet to send [01:36:24]OFD Sender: No OFD packet to send [01:36:29]OFD Sender: No OFD packet to send [01:36:34]OFD Sender: No OFD packet to send [01:36:39]OFD Sender: No OFD packet to send [01:36:44]OFD Sender: No OFD packet to send [01:36:49]OFD Sender: No OFD packet to send [01:36:54]OFD Sender: No OFD packet to send [01:36:59]OFD Sender: No OFD packet to send [01:37:04]OFD Sender: No OFD packet to send [01:37:09]OFD Sender: No OFD packet to send [01:37:14]OFD Sender: No OFD packet to send [01:37:19]OFD Sender: No OFD packet to send [01:37:24]OFD Sender: No OFD packet to send [01:37:29]OFD Sender: No OFD packet to send [01:37:34]OFD Sender: No OFD packet to send [01:37:39]OFD Sender: No OFD packet to send [01:37:44]OFD Sender: No OFD packet to send [01:37:49]OFD Sender: No OFD packet to send [01:37:54]OFD Sender: No OFD packet to send [01:37:59]OFD Sender: No OFD packet to send [01:38:04]OFD Sender: No OFD packet to send [01:38:09]OFD Sender: No OFD packet to send [01:38:14]OFD Sender: No OFD packet to send [01:38:19]OFD Sender: No OFD packet to send [01:38:24]OFD Sender: No OFD packet to send [01:38:29]OFD Sender: No OFD packet to send [01:38:34]OFD Sender: No OFD packet to send [01:38:39]OFD Sender: No OFD packet to send [01:38:44]OFD Sender: No OFD packet to send [01:38:49]OFD Sender: No OFD packet to send [01:38:54]OFD Sender: No OFD packet to send [01:38:59]OFD Sender: No OFD packet to send [01:39:04]OFD Sender: No OFD packet to send [01:39:09]OFD Sender: No OFD packet to send [01:39:14]OFD Sender: No OFD packet to send [01:39:19]OFD Sender: No OFD packet to send [01:39:24]OFD Sender: No OFD packet to send [01:39:29]OFD Sender: No OFD packet to send [01:39:34]OFD Sender: No OFD packet to send [01:39:39]OFD Sender: No OFD packet to send [01:39:44]OFD Sender: No OFD packet to send [01:39:49]OFD Sender: No OFD packet to send [01:39:54]OFD Sender: No OFD packet to send [01:39:59]OFD Sender: No OFD packet to send [01:40:04]OFD Sender: No OFD packet to send [01:40:09]OFD Sender: No OFD packet to send [01:40:14]OFD Sender: No OFD packet to send [01:40:19]OFD Sender: No OFD packet to send [01:40:24]OFD Sender: No OFD packet to send [01:40:29]OFD Sender: No OFD packet to send [01:40:34]OFD Sender: No OFD packet to send [01:40:39]OFD Sender: No OFD packet to send [01:40:44]OFD Sender: No OFD packet to send [01:40:49]OFD Sender: No OFD packet to send [01:40:54]OFD Sender: No OFD packet to send [01:40:59]OFD Sender: No OFD packet to send [01:41:04]OFD Sender: No OFD packet to send [01:41:09]OFD Sender: No OFD packet to send [01:41:14]OFD Sender: No OFD packet to send [01:41:19]OFD Sender: No OFD packet to send [01:41:24]OFD Sender: No OFD packet to send [01:41:29]OFD Sender: No OFD packet to send [01:41:34]OFD Sender: No OFD packet to send [01:41:39]OFD Sender: No OFD packet to send [01:41:44]OFD Sender: No OFD packet to send [01:41:49]OFD Sender: No OFD packet to send [01:41:54]OFD Sender: No OFD packet to send [01:41:59]OFD Sender: No OFD packet to send [01:42:04]OFD Sender: No OFD packet to send [01:42:09]OFD Sender: No OFD packet to send [01:42:14]OFD Sender: No OFD packet to send [01:42:19]OFD Sender: No OFD packet to send [01:42:24]OFD Sender: No OFD packet to send [01:42:29]OFD Sender: No OFD packet to send [01:42:34]OFD Sender: No OFD packet to send [01:42:39]OFD Sender: No OFD packet to send [01:42:44]OFD Sender: No OFD packet to send [01:42:49]OFD Sender: No OFD packet to send [01:42:54]OFD Sender: No OFD packet to send [01:42:59]OFD Sender: No OFD packet to send [01:43:04]OFD Sender: No OFD packet to send [01:43:09]OFD Sender: No OFD packet to send [01:43:14]OFD Sender: No OFD packet to send [01:43:19]OFD Sender: No OFD packet to send [01:43:24]OFD Sender: No OFD packet to send [01:43:29]OFD Sender: No OFD packet to send [01:43:34]OFD Sender: No OFD packet to send [01:43:39]OFD Sender: No OFD packet to send [01:43:44]OFD Sender: No OFD packet to send [01:43:49]OFD Sender: No OFD packet to send [01:43:54]OFD Sender: No OFD packet to send [01:43:59]OFD Sender: No OFD packet to send [01:44:04]OFD Sender: No OFD packet to send [01:44:09]OFD Sender: No OFD packet to send [01:44:14]OFD Sender: No OFD packet to send [01:44:19]OFD Sender: No OFD packet to send [01:44:24]OFD Sender: No OFD packet to send [01:44:29]OFD Sender: No OFD packet to send [01:44:34]OFD Sender: No OFD packet to send [01:44:39]OFD Sender: No OFD packet to send [01:44:44]OFD Sender: No OFD packet to send [01:44:49]OFD Sender: No OFD packet to send [01:44:54]OFD Sender: No OFD packet to send [01:44:59]OFD Sender: No OFD packet to send [01:45:04]OFD Sender: No OFD packet to send [01:45:09]OFD Sender: No OFD packet to send [01:45:14]OFD Sender: No OFD packet to send [01:45:19]OFD Sender: No OFD packet to send [01:45:24]OFD Sender: No OFD packet to send [01:45:29]OFD Sender: No OFD packet to send [01:45:34]OFD Sender: No OFD packet to send [01:45:39]OFD Sender: No OFD packet to send [01:45:44]OFD Sender: No OFD packet to send [01:45:49]OFD Sender: No OFD packet to send [01:45:54]OFD Sender: No OFD packet to send [01:45:59]OFD Sender: No OFD packet to send [01:46:04]OFD Sender: No OFD packet to send [01:46:09]OFD Sender: No OFD packet to send [01:46:14]OFD Sender: No OFD packet to send [01:46:19]OFD Sender: No OFD packet to send [01:46:24]OFD Sender: No OFD packet to send [01:46:29]OFD Sender: No OFD packet to send [01:46:34]OFD Sender: No OFD packet to send [01:46:39]OFD Sender: No OFD packet to send [01:46:44]OFD Sender: No OFD packet to send [01:46:49]OFD Sender: No OFD packet to send [01:46:54]OFD Sender: No OFD packet to send [01:46:59]OFD Sender: No OFD packet to send [01:47:04]OFD Sender: No OFD packet to send [01:47:09]OFD Sender: No OFD packet to send [01:47:14]OFD Sender: No OFD packet to send [01:47:19]OFD Sender: No OFD packet to send [01:47:24]OFD Sender: No OFD packet to send [01:47:29]OFD Sender: No OFD packet to send [01:47:34]OFD Sender: No OFD packet to send [01:47:39]OFD Sender: No OFD packet to send [01:47:44]OFD Sender: No OFD packet to send [01:47:49]OFD Sender: No OFD packet to send [01:47:54]OFD Sender: No OFD packet to send [01:47:59]OFD Sender: No OFD packet to send [01:48:04]OFD Sender: No OFD packet to send [01:48:09]OFD Sender: No OFD packet to send [01:48:14]OFD Sender: No OFD packet to send [01:48:19]OFD Sender: No OFD packet to send [01:48:24]OFD Sender: No OFD packet to send [01:48:29]OFD Sender: No OFD packet to send [01:48:34]OFD Sender: No OFD packet to send [01:48:39]OFD Sender: No OFD packet to send [01:48:45]OFD Sender: No OFD packet to send [01:48:50]OFD Sender: No OFD packet to send [01:48:55]OFD Sender: No OFD packet to send [01:49:00]OFD Sender: No OFD packet to send [01:49:05]OFD Sender: No OFD packet to send [01:49:10]OFD Sender: No OFD packet to send [01:49:15]OFD Sender: No OFD packet to send [01:49:20]OFD Sender: No OFD packet to send [01:49:25]OFD Sender: No OFD packet to send [01:49:30]OFD Sender: No OFD packet to send [01:49:35]OFD Sender: No OFD packet to send [01:49:40]OFD Sender: No OFD packet to send [01:49:45]OFD Sender: No OFD packet to send [01:49:50]OFD Sender: No OFD packet to send [01:49:55]OFD Sender: No OFD packet to send [01:50:00]OFD Sender: No OFD packet to send [01:50:05]OFD Sender: No OFD packet to send [01:50:10]OFD Sender: No OFD packet to send [01:50:15]OFD Sender: No OFD packet to send [01:50:20]OFD Sender: No OFD packet to send [01:50:25]OFD Sender: No OFD packet to send [01:50:30]OFD Sender: No OFD packet to send [01:50:35]OFD Sender: No OFD packet to send [01:50:40]OFD Sender: No OFD packet to send [01:50:45]OFD Sender: No OFD packet to send [01:50:50]OFD Sender: No OFD packet to send [01:50:55]OFD Sender: No OFD packet to send [01:51:00]OFD Sender: No OFD packet to send [01:51:05]OFD Sender: No OFD packet to send [01:51:10]OFD Sender: No OFD packet to send [01:51:15]OFD Sender: No OFD packet to send [01:51:20]OFD Sender: No OFD packet to send [01:51:25]OFD Sender: No OFD packet to send [01:51:30]OFD Sender: No OFD packet to send [01:51:35]OFD Sender: No OFD packet to send [01:51:40]OFD Sender: No OFD packet to send [01:51:45]OFD Sender: No OFD packet to send [01:51:50]OFD Sender: No OFD packet to send [01:51:55]OFD Sender: No OFD packet to send [01:52:00]OFD Sender: No OFD packet to send [01:52:05]OFD Sender: No OFD packet to send [01:52:10]OFD Sender: No OFD packet to send [01:52:15]OFD Sender: No OFD packet to send [01:52:20]OFD Sender: No OFD packet to send [01:52:25]OFD Sender: No OFD packet to send [01:52:30]OFD Sender: No OFD packet to send [01:52:35]OFD Sender: No OFD packet to send [01:52:40]OFD Sender: No OFD packet to send [01:52:45]OFD Sender: No OFD packet to send [01:52:50]OFD Sender: No OFD packet to send [01:52:55]OFD Sender: No OFD packet to send [01:53:00]OFD Sender: No OFD packet to send [01:53:05]OFD Sender: No OFD packet to send [01:53:10]OFD Sender: No OFD packet to send [01:53:15]OFD Sender: No OFD packet to send [01:53:20]OFD Sender: No OFD packet to send [01:53:25]OFD Sender: No OFD packet to send [01:53:30]OFD Sender: No OFD packet to send [01:53:35]OFD Sender: No OFD packet to send [01:53:40]OFD Sender: No OFD packet to send [01:53:45]OFD Sender: No OFD packet to send [01:53:50]OFD Sender: No OFD packet to send [01:53:55]OFD Sender: No OFD packet to send [01:54:00]OFD Sender: No OFD packet to send [01:54:05]OFD Sender: No OFD packet to send [01:54:10]OFD Sender: No OFD packet to send [01:54:15]OFD Sender: No OFD packet to send [01:54:20]OFD Sender: No OFD packet to send [01:54:25]OFD Sender: No OFD packet to send [01:54:30]OFD Sender: No OFD packet to send [01:54:35]OFD Sender: No OFD packet to send [01:54:40]OFD Sender: No OFD packet to send [01:54:45]OFD Sender: No OFD packet to send [01:54:50]OFD Sender: No OFD packet to send [01:54:55]OFD Sender: No OFD packet to send [01:55:00]OFD Sender: No OFD packet to send [01:55:05]OFD Sender: No OFD packet to send [01:55:10]OFD Sender: No OFD packet to send [01:55:15]OFD Sender: No OFD packet to send [01:55:20]OFD Sender: No OFD packet to send [01:55:25]OFD Sender: No OFD packet to send [01:55:30]OFD Sender: No OFD packet to send [01:55:35]OFD Sender: No OFD packet to send [01:55:40]OFD Sender: No OFD packet to send [01:55:45]OFD Sender: No OFD packet to send [01:55:50]OFD Sender: No OFD packet to send [01:55:55]OFD Sender: No OFD packet to send [01:56:00]OFD Sender: No OFD packet to send [01:56:05]OFD Sender: No OFD packet to send [01:56:10]OFD Sender: No OFD packet to send [01:56:15]OFD Sender: No OFD packet to send [01:56:20]OFD Sender: No OFD packet to send [01:56:25]OFD Sender: No OFD packet to send [01:56:30]OFD Sender: No OFD packet to send [01:56:35]OFD Sender: No OFD packet to send [01:56:40]OFD Sender: No OFD packet to send [01:56:45]OFD Sender: No OFD packet to send [01:56:50]OFD Sender: No OFD packet to send [01:56:55]OFD Sender: No OFD packet to send [01:57:00]OFD Sender: No OFD packet to send [01:57:05]OFD Sender: No OFD packet to send [01:57:10]OFD Sender: No OFD packet to send [01:57:15]OFD Sender: No OFD packet to send [01:57:20]OFD Sender: No OFD packet to send [01:57:25]OFD Sender: No OFD packet to send [01:57:30]OFD Sender: No OFD packet to send [01:57:35]OFD Sender: No OFD packet to send [01:57:40]OFD Sender: No OFD packet to send [01:57:45]OFD Sender: No OFD packet to send [01:57:50]OFD Sender: No OFD packet to send [01:57:55]OFD Sender: No OFD packet to send [01:58:00]OFD Sender: No OFD packet to send [01:58:05]OFD Sender: No OFD packet to send [01:58:10]OFD Sender: No OFD packet to send [01:58:15]OFD Sender: No OFD packet to send [01:58:20]OFD Sender: No OFD packet to send [01:58:25]OFD Sender: No OFD packet to send [01:58:30]OFD Sender: No OFD packet to send [01:58:35]OFD Sender: No OFD packet to send [01:58:40]OFD Sender: No OFD packet to send [01:58:45]OFD Sender: No OFD packet to send [01:58:50]OFD Sender: No OFD packet to send [01:58:55]OFD Sender: No OFD packet to send [01:59:00]OFD Sender: No OFD packet to send [01:59:05]OFD Sender: No OFD packet to send [01:59:10]OFD Sender: No OFD packet to send [01:59:15]OFD Sender: No OFD packet to send [01:59:20]OFD Sender: No OFD packet to send [01:59:25]OFD Sender: No OFD packet to send [01:59:30]OFD Sender: No OFD packet to send [01:59:35]OFD Sender: No OFD packet to send [01:59:40]OFD Sender: No OFD packet to send [01:59:45]OFD Sender: No OFD packet to send [01:59:50]OFD Sender: No OFD packet to send [01:59:55]OFD Sender: No OFD packet to send [02:00:00]OFD Sender: No OFD packet to send [02:00:05]OFD Sender: No OFD packet to send [02:00:10]OFD Sender: No OFD packet to send [02:00:15]OFD Sender: No OFD packet to send [02:00:20]OFD Sender: No OFD packet to send [02:00:25]OFD Sender: No OFD packet to send [02:00:30]OFD Sender: No OFD packet to send [02:00:35]OFD Sender: No OFD packet to send [02:00:40]OFD Sender: No OFD packet to send [02:00:45]OFD Sender: No OFD packet to send [02:00:50]OFD Sender: No OFD packet to send [02:00:55]OFD Sender: No OFD packet to send [02:01:00]OFD Sender: No OFD packet to send [02:01:05]OFD Sender: No OFD packet to send [02:01:10]OFD Sender: No OFD packet to send [02:01:15]OFD Sender: No OFD packet to send [02:01:20]OFD Sender: No OFD packet to send [02:01:25]OFD Sender: No OFD packet to send [02:01:30]OFD Sender: No OFD packet to send [02:01:35]OFD Sender: No OFD packet to send [02:01:40]OFD Sender: No OFD packet to send [02:01:45]OFD Sender: No OFD packet to send [02:01:50]OFD Sender: No OFD packet to send [02:01:55]OFD Sender: No OFD packet to send [02:02:00]OFD Sender: No OFD packet to send [02:02:05]OFD Sender: No OFD packet to send [02:02:10]OFD Sender: No OFD packet to send [02:02:15]OFD Sender: No OFD packet to send [02:02:20]OFD Sender: No OFD packet to send [02:02:25]OFD Sender: No OFD packet to send [02:02:30]OFD Sender: No OFD packet to send [02:02:35]OFD Sender: No OFD packet to send [02:02:40]OFD Sender: No OFD packet to send [02:02:45]OFD Sender: No OFD packet to send [02:02:50]OFD Sender: No OFD packet to send [02:02:55]OFD Sender: No OFD packet to send [02:03:00]OFD Sender: No OFD packet to send [02:03:05]OFD Sender: No OFD packet to send [02:03:10]OFD Sender: No OFD packet to send [02:03:15]OFD Sender: No OFD packet to send [02:03:20]OFD Sender: No OFD packet to send [02:03:25]OFD Sender: No OFD packet to send [02:03:30]OFD Sender: No OFD packet to send [02:03:35]OFD Sender: No OFD packet to send [02:03:40]OFD Sender: No OFD packet to send [02:03:45]OFD Sender: No OFD packet to send [02:03:50]OFD Sender: No OFD packet to send [02:03:55]OFD Sender: No OFD packet to send [02:04:00]OFD Sender: No OFD packet to send [02:04:05]OFD Sender: No OFD packet to send [02:04:10]OFD Sender: No OFD packet to send [02:04:15]OFD Sender: No OFD packet to send [02:04:20]OFD Sender: No OFD packet to send [02:04:25]OFD Sender: No OFD packet to send [02:04:30]OFD Sender: No OFD packet to send [02:04:35]OFD Sender: No OFD packet to send [02:04:40]OFD Sender: No OFD packet to send [02:04:45]OFD Sender: No OFD packet to send [02:04:50]OFD Sender: No OFD packet to send [02:04:55]OFD Sender: No OFD packet to send [02:05:00]OFD Sender: No OFD packet to send [02:05:05]OFD Sender: No OFD packet to send [02:05:10]OFD Sender: No OFD packet to send [02:05:15]OFD Sender: No OFD packet to send [02:05:20]OFD Sender: No OFD packet to send [02:05:25]OFD Sender: No OFD packet to send [02:05:30]OFD Sender: No OFD packet to send [02:05:35]OFD Sender: No OFD packet to send [02:05:40]OFD Sender: No OFD packet to send [02:05:45]OFD Sender: No OFD packet to send [02:05:50]OFD Sender: No OFD packet to send [02:05:55]OFD Sender: No OFD packet to send [02:06:00]OFD Sender: No OFD packet to send [02:06:05]OFD Sender: No OFD packet to send [02:06:10]OFD Sender: No OFD packet to send [02:06:15]OFD Sender: No OFD packet to send [02:06:20]OFD Sender: No OFD packet to send [02:06:25]OFD Sender: No OFD packet to send [02:06:30]OFD Sender: No OFD packet to send [02:06:35]OFD Sender: No OFD packet to send [02:06:40]OFD Sender: No OFD packet to send [02:06:45]OFD Sender: No OFD packet to send [02:06:50]OFD Sender: No OFD packet to send [02:06:55]OFD Sender: No OFD packet to send [02:07:00]OFD Sender: No OFD packet to send [02:07:05]OFD Sender: No OFD packet to send [02:07:10]OFD Sender: No OFD packet to send [02:07:15]OFD Sender: No OFD packet to send [02:07:20]OFD Sender: No OFD packet to send [02:07:25]OFD Sender: No OFD packet to send [02:07:30]OFD Sender: No OFD packet to send [02:07:35]OFD Sender: No OFD packet to send [02:07:40]OFD Sender: No OFD packet to send [02:07:45]OFD Sender: No OFD packet to send [02:07:50]OFD Sender: No OFD packet to send [02:07:55]OFD Sender: No OFD packet to send [02:08:00]OFD Sender: No OFD packet to send [02:08:05]OFD Sender: No OFD packet to send [02:08:10]OFD Sender: No OFD packet to send [02:08:15]OFD Sender: No OFD packet to send [02:08:20]OFD Sender: No OFD packet to send [02:08:25]OFD Sender: No OFD packet to send [02:08:30]OFD Sender: No OFD packet to send [02:08:35]OFD Sender: No OFD packet to send [02:08:40]OFD Sender: No OFD packet to send [02:08:45]OFD Sender: No OFD packet to send [02:08:50]OFD Sender: No OFD packet to send [02:08:55]OFD Sender: No OFD packet to send [02:09:00]OFD Sender: No OFD packet to send [02:09:05]OFD Sender: No OFD packet to send [02:09:10]OFD Sender: No OFD packet to send [02:09:15]OFD Sender: No OFD packet to send [02:09:20]OFD Sender: No OFD packet to send [02:09:25]OFD Sender: No OFD packet to send [02:09:30]OFD Sender: No OFD packet to send [02:09:35]OFD Sender: No OFD packet to send [02:09:40]OFD Sender: No OFD packet to send [02:09:45]OFD Sender: No OFD packet to send [02:09:50]OFD Sender: No OFD packet to send [02:09:55]OFD Sender: No OFD packet to send [02:10:00]OFD Sender: No OFD packet to send [02:10:05]OFD Sender: No OFD packet to send [02:10:10]OFD Sender: No OFD packet to send [02:10:15]OFD Sender: No OFD packet to send [02:10:20]OFD Sender: No OFD packet to send [02:10:25]OFD Sender: No OFD packet to send [02:10:30]OFD Sender: No OFD packet to send [02:10:35]OFD Sender: No OFD packet to send [02:10:40]OFD Sender: No OFD packet to send [02:10:46]OFD Sender: No OFD packet to send [02:10:51]OFD Sender: No OFD packet to send [02:10:56]OFD Sender: No OFD packet to send [02:11:01]OFD Sender: No OFD packet to send [02:11:06]OFD Sender: No OFD packet to send [02:11:11]OFD Sender: No OFD packet to send [02:11:16]OFD Sender: No OFD packet to send [02:11:21]OFD Sender: No OFD packet to send [02:11:26]OFD Sender: No OFD packet to send [02:11:31]OFD Sender: No OFD packet to send [02:11:36]OFD Sender: No OFD packet to send [02:11:41]OFD Sender: No OFD packet to send [02:11:46]OFD Sender: No OFD packet to send [02:11:51]OFD Sender: No OFD packet to send [02:11:56]OFD Sender: No OFD packet to send [02:12:01]OFD Sender: No OFD packet to send [02:12:06]OFD Sender: No OFD packet to send [02:12:11]OFD Sender: No OFD packet to send [02:12:16]OFD Sender: No OFD packet to send [02:12:21]OFD Sender: No OFD packet to send [02:12:26]OFD Sender: No OFD packet to send [02:12:31]OFD Sender: No OFD packet to send [02:12:36]OFD Sender: No OFD packet to send [02:12:41]OFD Sender: No OFD packet to send [02:12:46]OFD Sender: No OFD packet to send [02:12:51]OFD Sender: No OFD packet to send [02:12:56]OFD Sender: No OFD packet to send [02:13:01]OFD Sender: No OFD packet to send [02:13:06]OFD Sender: No OFD packet to send [02:13:11]OFD Sender: No OFD packet to send [02:13:16]OFD Sender: No OFD packet to send [02:13:21]OFD Sender: No OFD packet to send [02:13:26]OFD Sender: No OFD packet to send [02:13:31]OFD Sender: No OFD packet to send [02:13:36]OFD Sender: No OFD packet to send [02:13:41]OFD Sender: No OFD packet to send [02:13:46]OFD Sender: No OFD packet to send [02:13:51]OFD Sender: No OFD packet to send [02:13:56]OFD Sender: No OFD packet to send [02:14:01]OFD Sender: No OFD packet to send [02:14:06]OFD Sender: No OFD packet to send [02:14:11]OFD Sender: No OFD packet to send [02:14:16]OFD Sender: No OFD packet to send [02:14:21]OFD Sender: No OFD packet to send [02:14:26]OFD Sender: No OFD packet to send [02:14:31]OFD Sender: No OFD packet to send [02:14:36]OFD Sender: No OFD packet to send [02:14:41]OFD Sender: No OFD packet to send [02:14:46]OFD Sender: No OFD packet to send [02:14:51]OFD Sender: No OFD packet to send [02:14:56]OFD Sender: No OFD packet to send [02:15:01]OFD Sender: No OFD packet to send [02:15:06]OFD Sender: No OFD packet to send [02:15:11]OFD Sender: No OFD packet to send [02:15:16]OFD Sender: No OFD packet to send [02:15:21]OFD Sender: No OFD packet to send [02:15:26]OFD Sender: No OFD packet to send [02:15:31]OFD Sender: No OFD packet to send [02:15:36]OFD Sender: No OFD packet to send [02:15:41]OFD Sender: No OFD packet to send [02:15:46]OFD Sender: No OFD packet to send [02:15:51]OFD Sender: No OFD packet to send [02:15:56]OFD Sender: No OFD packet to send [02:16:01]OFD Sender: No OFD packet to send [02:16:06]OFD Sender: No OFD packet to send [02:16:11]OFD Sender: No OFD packet to send [02:16:16]OFD Sender: No OFD packet to send [02:16:21]OFD Sender: No OFD packet to send [02:16:26]OFD Sender: No OFD packet to send [02:16:31]OFD Sender: No OFD packet to send [02:16:36]OFD Sender: No OFD packet to send [02:16:41]OFD Sender: No OFD packet to send [02:16:46]OFD Sender: No OFD packet to send [02:16:51]OFD Sender: No OFD packet to send [02:16:56]OFD Sender: No OFD packet to send [02:17:01]OFD Sender: No OFD packet to send [02:17:06]OFD Sender: No OFD packet to send [02:17:11]OFD Sender: No OFD packet to send [02:17:16]OFD Sender: No OFD packet to send [02:17:21]OFD Sender: No OFD packet to send [02:17:26]OFD Sender: No OFD packet to send [02:17:31]OFD Sender: No OFD packet to send [02:17:36]OFD Sender: No OFD packet to send [02:17:41]OFD Sender: No OFD packet to send [02:17:46]OFD Sender: No OFD packet to send [02:17:51]OFD Sender: No OFD packet to send [02:17:56]OFD Sender: No OFD packet to send [02:18:01]OFD Sender: No OFD packet to send [02:18:06]OFD Sender: No OFD packet to send [02:18:11]OFD Sender: No OFD packet to send [02:18:16]OFD Sender: No OFD packet to send [02:18:21]OFD Sender: No OFD packet to send [02:18:26]OFD Sender: No OFD packet to send [02:18:31]OFD Sender: No OFD packet to send [02:18:36]OFD Sender: No OFD packet to send [02:18:41]OFD Sender: No OFD packet to send [02:18:46]OFD Sender: No OFD packet to send [02:18:51]OFD Sender: No OFD packet to send [02:18:56]OFD Sender: No OFD packet to send [02:19:01]OFD Sender: No OFD packet to send [02:19:06]OFD Sender: No OFD packet to send [02:19:11]OFD Sender: No OFD packet to send [02:19:16]OFD Sender: No OFD packet to send [02:19:21]OFD Sender: No OFD packet to send [02:19:26]OFD Sender: No OFD packet to send [02:19:31]OFD Sender: No OFD packet to send [02:19:36]OFD Sender: No OFD packet to send [02:19:41]OFD Sender: No OFD packet to send [02:19:46]OFD Sender: No OFD packet to send [02:19:51]OFD Sender: No OFD packet to send [02:19:56]OFD Sender: No OFD packet to send [02:20:01]OFD Sender: No OFD packet to send [02:20:06]OFD Sender: No OFD packet to send [02:20:11]OFD Sender: No OFD packet to send [02:20:16]OFD Sender: No OFD packet to send [02:20:21]OFD Sender: No OFD packet to send [02:20:26]OFD Sender: No OFD packet to send [02:20:31]OFD Sender: No OFD packet to send [02:20:36]OFD Sender: No OFD packet to send [02:20:41]OFD Sender: No OFD packet to send [02:20:46]OFD Sender: No OFD packet to send [02:20:51]OFD Sender: No OFD packet to send [02:20:56]OFD Sender: No OFD packet to send [02:21:01]OFD Sender: No OFD packet to send [02:21:06]OFD Sender: No OFD packet to send [02:21:11]OFD Sender: No OFD packet to send [02:21:16]OFD Sender: No OFD packet to send [02:21:21]OFD Sender: No OFD packet to send [02:21:26]OFD Sender: No OFD packet to send [02:21:31]OFD Sender: No OFD packet to send [02:21:36]OFD Sender: No OFD packet to send [02:21:41]OFD Sender: No OFD packet to send [02:21:46]OFD Sender: No OFD packet to send [02:21:51]OFD Sender: No OFD packet to send [02:21:56]OFD Sender: No OFD packet to send [02:22:01]OFD Sender: No OFD packet to send [02:22:06]OFD Sender: No OFD packet to send [02:22:11]OFD Sender: No OFD packet to send [02:22:16]OFD Sender: No OFD packet to send [02:22:21]OFD Sender: No OFD packet to send [02:22:26]OFD Sender: No OFD packet to send [02:22:31]OFD Sender: No OFD packet to send [02:22:36]OFD Sender: No OFD packet to send [02:22:41]OFD Sender: No OFD packet to send [02:22:46]OFD Sender: No OFD packet to send [02:22:51]OFD Sender: No OFD packet to send [02:22:56]OFD Sender: No OFD packet to send [02:23:01]OFD Sender: No OFD packet to send [02:23:06]OFD Sender: No OFD packet to send [02:23:11]OFD Sender: No OFD packet to send [02:23:16]OFD Sender: No OFD packet to send [02:23:21]OFD Sender: No OFD packet to send [02:23:26]OFD Sender: No OFD packet to send [02:23:31]OFD Sender: No OFD packet to send [02:23:36]OFD Sender: No OFD packet to send [02:23:41]OFD Sender: No OFD packet to send [02:23:46]OFD Sender: No OFD packet to send [02:23:51]OFD Sender: No OFD packet to send [02:23:56]OFD Sender: No OFD packet to send [02:24:01]OFD Sender: No OFD packet to send [02:24:06]OFD Sender: No OFD packet to send [02:24:11]OFD Sender: No OFD packet to send [02:24:16]OFD Sender: No OFD packet to send [02:24:21]OFD Sender: No OFD packet to send [02:24:26]OFD Sender: No OFD packet to send [02:24:31]OFD Sender: No OFD packet to send [02:24:36]OFD Sender: No OFD packet to send [02:24:41]OFD Sender: No OFD packet to send [02:24:46]OFD Sender: No OFD packet to send [02:24:51]OFD Sender: No OFD packet to send [02:24:56]OFD Sender: No OFD packet to send [02:25:01]OFD Sender: No OFD packet to send [02:25:06]OFD Sender: No OFD packet to send [02:25:11]OFD Sender: No OFD packet to send [02:25:16]OFD Sender: No OFD packet to send [02:25:21]OFD Sender: No OFD packet to send [02:25:26]OFD Sender: No OFD packet to send [02:25:31]OFD Sender: No OFD packet to send [02:25:36]OFD Sender: No OFD packet to send [02:25:41]OFD Sender: No OFD packet to send [02:25:46]OFD Sender: No OFD packet to send [02:25:51]OFD Sender: No OFD packet to send [02:25:56]OFD Sender: No OFD packet to send [02:26:01]OFD Sender: No OFD packet to send [02:26:06]OFD Sender: No OFD packet to send [02:26:11]OFD Sender: No OFD packet to send [02:26:16]OFD Sender: No OFD packet to send [02:26:21]OFD Sender: No OFD packet to send [02:26:26]OFD Sender: No OFD packet to send [02:26:31]OFD Sender: No OFD packet to send [02:26:36]OFD Sender: No OFD packet to send [02:26:41]OFD Sender: No OFD packet to send [02:26:46]OFD Sender: No OFD packet to send [02:26:51]OFD Sender: No OFD packet to send [02:26:56]OFD Sender: No OFD packet to send [02:27:01]OFD Sender: No OFD packet to send [02:27:06]OFD Sender: No OFD packet to send [02:27:11]OFD Sender: No OFD packet to send [02:27:16]OFD Sender: No OFD packet to send [02:27:21]OFD Sender: No OFD packet to send [02:27:26]OFD Sender: No OFD packet to send [02:27:31]OFD Sender: No OFD packet to send [02:27:36]OFD Sender: No OFD packet to send [02:27:41]OFD Sender: No OFD packet to send [02:27:46]OFD Sender: No OFD packet to send [02:27:51]OFD Sender: No OFD packet to send [02:27:56]OFD Sender: No OFD packet to send [02:28:01]OFD Sender: No OFD packet to send [02:28:06]OFD Sender: No OFD packet to send [02:28:11]OFD Sender: No OFD packet to send [02:28:16]OFD Sender: No OFD packet to send [02:28:21]OFD Sender: No OFD packet to send [02:28:26]OFD Sender: No OFD packet to send [02:28:31]OFD Sender: No OFD packet to send [02:28:36]OFD Sender: No OFD packet to send [02:28:41]OFD Sender: No OFD packet to send [02:28:46]OFD Sender: No OFD packet to send [02:28:51]OFD Sender: No OFD packet to send [02:28:56]OFD Sender: No OFD packet to send [02:29:01]OFD Sender: No OFD packet to send [02:29:06]OFD Sender: No OFD packet to send [02:29:11]OFD Sender: No OFD packet to send [02:29:16]OFD Sender: No OFD packet to send [02:29:21]OFD Sender: No OFD packet to send [02:29:26]OFD Sender: No OFD packet to send [02:29:31]OFD Sender: No OFD packet to send [02:29:36]OFD Sender: No OFD packet to send [02:29:41]OFD Sender: No OFD packet to send [02:29:46]OFD Sender: No OFD packet to send [02:29:51]OFD Sender: No OFD packet to send [02:29:56]OFD Sender: No OFD packet to send [02:30:01]OFD Sender: No OFD packet to send [02:30:06]OFD Sender: No OFD packet to send [02:30:11]OFD Sender: No OFD packet to send [02:30:16]OFD Sender: No OFD packet to send [02:30:21]OFD Sender: No OFD packet to send [02:30:26]OFD Sender: No OFD packet to send [02:30:31]OFD Sender: No OFD packet to send [02:30:36]OFD Sender: No OFD packet to send [02:30:41]OFD Sender: No OFD packet to send [02:30:46]OFD Sender: No OFD packet to send [02:30:51]OFD Sender: No OFD packet to send [02:30:56]OFD Sender: No OFD packet to send [02:31:01]OFD Sender: No OFD packet to send [02:31:06]OFD Sender: No OFD packet to send [02:31:11]OFD Sender: No OFD packet to send [02:31:16]OFD Sender: No OFD packet to send [02:31:21]OFD Sender: No OFD packet to send [02:31:26]OFD Sender: No OFD packet to send [02:31:31]OFD Sender: No OFD packet to send [02:31:36]OFD Sender: No OFD packet to send [02:31:41]OFD Sender: No OFD packet to send [02:31:46]OFD Sender: No OFD packet to send [02:31:51]OFD Sender: No OFD packet to send [02:31:56]OFD Sender: No OFD packet to send [02:32:01]OFD Sender: No OFD packet to send [02:32:06]OFD Sender: No OFD packet to send [02:32:11]OFD Sender: No OFD packet to send [02:32:16]OFD Sender: No OFD packet to send [02:32:21]OFD Sender: No OFD packet to send [02:32:26]OFD Sender: No OFD packet to send [02:32:31]OFD Sender: No OFD packet to send [02:32:36]OFD Sender: No OFD packet to send [02:32:42]OFD Sender: No OFD packet to send [02:32:47]OFD Sender: No OFD packet to send [02:32:52]OFD Sender: No OFD packet to send [02:32:57]OFD Sender: No OFD packet to send [02:33:02]OFD Sender: No OFD packet to send [02:33:07]OFD Sender: No OFD packet to send [02:33:12]OFD Sender: No OFD packet to send [02:33:17]OFD Sender: No OFD packet to send [02:33:22]OFD Sender: No OFD packet to send [02:33:27]OFD Sender: No OFD packet to send [02:33:32]OFD Sender: No OFD packet to send [02:33:37]OFD Sender: No OFD packet to send [02:33:42]OFD Sender: No OFD packet to send [02:33:47]OFD Sender: No OFD packet to send [02:33:52]OFD Sender: No OFD packet to send [02:33:57]OFD Sender: No OFD packet to send [02:34:02]OFD Sender: No OFD packet to send [02:34:07]OFD Sender: No OFD packet to send [02:34:12]OFD Sender: No OFD packet to send [02:34:17]OFD Sender: No OFD packet to send [02:34:22]OFD Sender: No OFD packet to send [02:34:27]OFD Sender: No OFD packet to send [02:34:32]OFD Sender: No OFD packet to send [02:34:37]OFD Sender: No OFD packet to send [02:34:42]OFD Sender: No OFD packet to send [02:34:47]OFD Sender: No OFD packet to send [02:34:52]OFD Sender: No OFD packet to send [02:34:57]OFD Sender: No OFD packet to send [02:35:02]OFD Sender: No OFD packet to send [02:35:07]OFD Sender: No OFD packet to send [02:35:12]OFD Sender: No OFD packet to send [02:35:17]OFD Sender: No OFD packet to send [02:35:22]OFD Sender: No OFD packet to send [02:35:27]OFD Sender: No OFD packet to send [02:35:32]OFD Sender: No OFD packet to send [02:35:37]OFD Sender: No OFD packet to send [02:35:42]OFD Sender: No OFD packet to send [02:35:47]OFD Sender: No OFD packet to send [02:35:52]OFD Sender: No OFD packet to send [02:35:57]OFD Sender: No OFD packet to send [02:36:02]OFD Sender: No OFD packet to send [02:36:07]OFD Sender: No OFD packet to send [02:36:12]OFD Sender: No OFD packet to send [02:36:17]OFD Sender: No OFD packet to send [02:36:22]OFD Sender: No OFD packet to send [02:36:27]OFD Sender: No OFD packet to send [02:36:32]OFD Sender: No OFD packet to send [02:36:37]OFD Sender: No OFD packet to send [02:36:42]OFD Sender: No OFD packet to send [02:36:47]OFD Sender: No OFD packet to send [02:36:52]OFD Sender: No OFD packet to send [02:36:57]OFD Sender: No OFD packet to send [02:37:02]OFD Sender: No OFD packet to send [02:37:07]OFD Sender: No OFD packet to send [02:37:12]OFD Sender: No OFD packet to send [02:37:17]OFD Sender: No OFD packet to send [02:37:22]OFD Sender: No OFD packet to send [02:37:27]OFD Sender: No OFD packet to send [02:37:32]OFD Sender: No OFD packet to send [02:37:37]OFD Sender: No OFD packet to send [02:37:42]OFD Sender: No OFD packet to send [02:37:47]OFD Sender: No OFD packet to send [02:37:52]OFD Sender: No OFD packet to send [02:37:57]OFD Sender: No OFD packet to send [02:38:02]OFD Sender: No OFD packet to send [02:38:07]OFD Sender: No OFD packet to send [02:38:12]OFD Sender: No OFD packet to send [02:38:17]OFD Sender: No OFD packet to send [02:38:22]OFD Sender: No OFD packet to send [02:38:27]OFD Sender: No OFD packet to send [02:38:32]OFD Sender: No OFD packet to send [02:38:37]OFD Sender: No OFD packet to send [02:38:42]OFD Sender: No OFD packet to send [02:38:47]OFD Sender: No OFD packet to send [02:38:52]OFD Sender: No OFD packet to send [02:38:57]OFD Sender: No OFD packet to send [02:39:02]OFD Sender: No OFD packet to send [02:39:07]OFD Sender: No OFD packet to send [02:39:12]OFD Sender: No OFD packet to send [02:39:17]OFD Sender: No OFD packet to send [02:39:22]OFD Sender: No OFD packet to send [02:39:27]OFD Sender: No OFD packet to send [02:39:32]OFD Sender: No OFD packet to send [02:39:37]OFD Sender: No OFD packet to send [02:39:42]OFD Sender: No OFD packet to send [02:39:47]OFD Sender: No OFD packet to send [02:39:52]OFD Sender: No OFD packet to send [02:39:57]OFD Sender: No OFD packet to send [02:40:02]OFD Sender: No OFD packet to send [02:40:07]OFD Sender: No OFD packet to send [02:40:12]OFD Sender: No OFD packet to send [02:40:17]OFD Sender: No OFD packet to send [02:40:22]OFD Sender: No OFD packet to send [02:40:27]OFD Sender: No OFD packet to send [02:40:32]OFD Sender: No OFD packet to send [02:40:37]OFD Sender: No OFD packet to send [02:40:42]OFD Sender: No OFD packet to send [02:40:47]OFD Sender: No OFD packet to send [02:40:52]OFD Sender: No OFD packet to send [02:40:57]OFD Sender: No OFD packet to send [02:41:02]OFD Sender: No OFD packet to send [02:41:07]OFD Sender: No OFD packet to send [02:41:12]OFD Sender: No OFD packet to send [02:41:17]OFD Sender: No OFD packet to send [02:41:22]OFD Sender: No OFD packet to send [02:41:27]OFD Sender: No OFD packet to send [02:41:32]OFD Sender: No OFD packet to send [02:41:37]OFD Sender: No OFD packet to send [02:41:42]OFD Sender: No OFD packet to send [02:41:47]OFD Sender: No OFD packet to send [02:41:52]OFD Sender: No OFD packet to send [02:41:57]OFD Sender: No OFD packet to send [02:42:02]OFD Sender: No OFD packet to send [02:42:07]OFD Sender: No OFD packet to send [02:42:12]OFD Sender: No OFD packet to send [02:42:17]OFD Sender: No OFD packet to send [02:42:22]OFD Sender: No OFD packet to send [02:42:27]OFD Sender: No OFD packet to send [02:42:32]OFD Sender: No OFD packet to send [02:42:37]OFD Sender: No OFD packet to send [02:42:42]OFD Sender: No OFD packet to send [02:42:47]OFD Sender: No OFD packet to send [02:42:52]OFD Sender: No OFD packet to send [02:42:57]OFD Sender: No OFD packet to send [02:43:02]OFD Sender: No OFD packet to send [02:43:07]OFD Sender: No OFD packet to send [02:43:12]OFD Sender: No OFD packet to send [02:43:17]OFD Sender: No OFD packet to send [02:43:22]OFD Sender: No OFD packet to send [02:43:27]OFD Sender: No OFD packet to send [02:43:32]OFD Sender: No OFD packet to send [02:43:37]OFD Sender: No OFD packet to send [02:43:42]OFD Sender: No OFD packet to send [02:43:47]OFD Sender: No OFD packet to send [02:43:52]OFD Sender: No OFD packet to send [02:43:57]OFD Sender: No OFD packet to send [02:44:02]OFD Sender: No OFD packet to send [02:44:07]OFD Sender: No OFD packet to send [02:44:12]OFD Sender: No OFD packet to send [02:44:17]OFD Sender: No OFD packet to send [02:44:22]OFD Sender: No OFD packet to send [02:44:27]OFD Sender: No OFD packet to send [02:44:32]OFD Sender: No OFD packet to send [02:44:37]OFD Sender: No OFD packet to send [02:44:42]OFD Sender: No OFD packet to send [02:44:47]OFD Sender: No OFD packet to send [02:44:52]OFD Sender: No OFD packet to send [02:44:57]OFD Sender: No OFD packet to send [02:45:02]OFD Sender: No OFD packet to send [02:45:07]OFD Sender: No OFD packet to send [02:45:12]OFD Sender: No OFD packet to send [02:45:17]OFD Sender: No OFD packet to send [02:45:22]OFD Sender: No OFD packet to send [02:45:27]OFD Sender: No OFD packet to send [02:45:32]OFD Sender: No OFD packet to send [02:45:37]OFD Sender: No OFD packet to send [02:45:42]OFD Sender: No OFD packet to send [02:45:47]OFD Sender: No OFD packet to send [02:45:52]OFD Sender: No OFD packet to send [02:45:57]OFD Sender: No OFD packet to send [02:46:02]OFD Sender: No OFD packet to send [02:46:07]OFD Sender: No OFD packet to send [02:46:12]OFD Sender: No OFD packet to send [02:46:17]OFD Sender: No OFD packet to send [02:46:22]OFD Sender: No OFD packet to send [02:46:27]OFD Sender: No OFD packet to send [02:46:32]OFD Sender: No OFD packet to send [02:46:37]OFD Sender: No OFD packet to send [02:46:42]OFD Sender: No OFD packet to send [02:46:47]OFD Sender: No OFD packet to send [02:46:52]OFD Sender: No OFD packet to send [02:46:57]OFD Sender: No OFD packet to send [02:47:02]OFD Sender: No OFD packet to send [02:47:07]OFD Sender: No OFD packet to send [02:47:12]OFD Sender: No OFD packet to send [02:47:17]OFD Sender: No OFD packet to send [02:47:22]OFD Sender: No OFD packet to send [02:47:27]OFD Sender: No OFD packet to send [02:47:32]OFD Sender: No OFD packet to send [02:47:37]OFD Sender: No OFD packet to send [02:47:42]OFD Sender: No OFD packet to send [02:47:47]OFD Sender: No OFD packet to send [02:47:52]OFD Sender: No OFD packet to send [02:47:57]OFD Sender: No OFD packet to send [02:48:02]OFD Sender: No OFD packet to send [02:48:07]OFD Sender: No OFD packet to send [02:48:12]OFD Sender: No OFD packet to send [02:48:17]OFD Sender: No OFD packet to send [02:48:22]OFD Sender: No OFD packet to send [02:48:27]OFD Sender: No OFD packet to send [02:48:32]OFD Sender: No OFD packet to send [02:48:37]OFD Sender: No OFD packet to send [02:48:42]OFD Sender: No OFD packet to send [02:48:47]OFD Sender: No OFD packet to send [02:48:52]OFD Sender: No OFD packet to send [02:48:57]OFD Sender: No OFD packet to send [02:49:02]OFD Sender: No OFD packet to send [02:49:07]OFD Sender: No OFD packet to send [02:49:12]OFD Sender: No OFD packet to send [02:49:17]OFD Sender: No OFD packet to send [02:49:22]OFD Sender: No OFD packet to send [02:49:27]OFD Sender: No OFD packet to send [02:49:32]OFD Sender: No OFD packet to send [02:49:37]OFD Sender: No OFD packet to send [02:49:42]OFD Sender: No OFD packet to send [02:49:47]OFD Sender: No OFD packet to send [02:49:52]OFD Sender: No OFD packet to send [02:49:57]OFD Sender: No OFD packet to send [02:50:02]OFD Sender: No OFD packet to send [02:50:07]OFD Sender: No OFD packet to send [02:50:12]OFD Sender: No OFD packet to send [02:50:17]OFD Sender: No OFD packet to send [02:50:22]OFD Sender: No OFD packet to send [02:50:27]OFD Sender: No OFD packet to send [02:50:32]OFD Sender: No OFD packet to send [02:50:37]OFD Sender: No OFD packet to send [02:50:42]OFD Sender: No OFD packet to send [02:50:47]OFD Sender: No OFD packet to send [02:50:52]OFD Sender: No OFD packet to send [02:50:57]OFD Sender: No OFD packet to send [02:51:02]OFD Sender: No OFD packet to send [02:51:07]OFD Sender: No OFD packet to send [02:51:12]OFD Sender: No OFD packet to send [02:51:17]OFD Sender: No OFD packet to send [02:51:22]OFD Sender: No OFD packet to send [02:51:27]OFD Sender: No OFD packet to send [02:51:32]OFD Sender: No OFD packet to send [02:51:37]OFD Sender: No OFD packet to send [02:51:42]OFD Sender: No OFD packet to send [02:51:47]OFD Sender: No OFD packet to send [02:51:52]OFD Sender: No OFD packet to send [02:51:57]OFD Sender: No OFD packet to send [02:52:02]OFD Sender: No OFD packet to send [02:52:07]OFD Sender: No OFD packet to send [02:52:12]OFD Sender: No OFD packet to send [02:52:17]OFD Sender: No OFD packet to send [02:52:22]OFD Sender: No OFD packet to send [02:52:27]OFD Sender: No OFD packet to send [02:52:32]OFD Sender: No OFD packet to send [02:52:37]OFD Sender: No OFD packet to send [02:52:42]OFD Sender: No OFD packet to send [02:52:47]OFD Sender: No OFD packet to send [02:52:52]OFD Sender: No OFD packet to send [02:52:57]OFD Sender: No OFD packet to send [02:53:02]OFD Sender: No OFD packet to send [02:53:07]OFD Sender: No OFD packet to send [02:53:12]OFD Sender: No OFD packet to send [02:53:17]OFD Sender: No OFD packet to send [02:53:22]OFD Sender: No OFD packet to send [02:53:27]OFD Sender: No OFD packet to send [02:53:32]OFD Sender: No OFD packet to send [02:53:37]OFD Sender: No OFD packet to send [02:53:42]OFD Sender: No OFD packet to send [02:53:47]OFD Sender: No OFD packet to send [02:53:52]OFD Sender: No OFD packet to send [02:53:57]OFD Sender: No OFD packet to send [02:54:02]OFD Sender: No OFD packet to send [02:54:07]OFD Sender: No OFD packet to send [02:54:12]OFD Sender: No OFD packet to send [02:54:17]OFD Sender: No OFD packet to send [02:54:22]OFD Sender: No OFD packet to send [02:54:27]OFD Sender: No OFD packet to send [02:54:33]OFD Sender: No OFD packet to send [02:54:38]OFD Sender: No OFD packet to send [02:54:43]OFD Sender: No OFD packet to send [02:54:48]OFD Sender: No OFD packet to send [02:54:53]OFD Sender: No OFD packet to send [02:54:58]OFD Sender: No OFD packet to send [02:55:03]OFD Sender: No OFD packet to send [02:55:08]OFD Sender: No OFD packet to send [02:55:13]OFD Sender: No OFD packet to send [02:55:18]OFD Sender: No OFD packet to send [02:55:23]OFD Sender: No OFD packet to send [02:55:28]OFD Sender: No OFD packet to send [02:55:33]OFD Sender: No OFD packet to send [02:55:38]OFD Sender: No OFD packet to send [02:55:43]OFD Sender: No OFD packet to send [02:55:48]OFD Sender: No OFD packet to send [02:55:53]OFD Sender: No OFD packet to send [02:55:58]OFD Sender: No OFD packet to send [02:56:03]OFD Sender: No OFD packet to send [02:56:08]OFD Sender: No OFD packet to send [02:56:13]OFD Sender: No OFD packet to send [02:56:18]OFD Sender: No OFD packet to send [02:56:23]OFD Sender: No OFD packet to send [02:56:28]OFD Sender: No OFD packet to send [02:56:33]OFD Sender: No OFD packet to send [02:56:38]OFD Sender: No OFD packet to send [02:56:43]OFD Sender: No OFD packet to send [02:56:48]OFD Sender: No OFD packet to send [02:56:53]OFD Sender: No OFD packet to send [02:56:58]OFD Sender: No OFD packet to send [02:57:03]OFD Sender: No OFD packet to send [02:57:08]OFD Sender: No OFD packet to send [02:57:13]OFD Sender: No OFD packet to send [02:57:18]OFD Sender: No OFD packet to send [02:57:23]OFD Sender: No OFD packet to send [02:57:28]OFD Sender: No OFD packet to send [02:57:33]OFD Sender: No OFD packet to send [02:57:38]OFD Sender: No OFD packet to send [02:57:43]OFD Sender: No OFD packet to send [02:57:48]OFD Sender: No OFD packet to send [02:57:53]OFD Sender: No OFD packet to send [02:57:58]OFD Sender: No OFD packet to send [02:58:03]OFD Sender: No OFD packet to send [02:58:08]OFD Sender: No OFD packet to send [02:58:13]OFD Sender: No OFD packet to send [02:58:18]OFD Sender: No OFD packet to send